.guild-tabs {grid-template-columns:repeat(4,minmax(0,1fr))}
#metallurgy-panel {min-width:0;scrollbar-gutter:stable;background:#332e31;color:var(--chalk)}
.metal-heading {background:#493a37;border-color:#29262b;box-shadow:inset 0 2px #786256}
.metal-heading small {color:#decbb9}.metal-heading canvas {border-color:#886a5b}
.metal-chapters button {background:#433b3a;color:#dfd3c3;border-color:#6a5953}
.metal-chapters button[aria-pressed=true] {background:#67503f;color:#ffdcad;border-color:#bd8d62;box-shadow:inset 0 2px #a88365}
.metal-chapters button[aria-pressed=true] small {color:#ebd8bd}
#metal-entry {
  margin:0 12px 14px;padding:13px 18px 16px;min-width:0;color:#ede1d1;
  border:3px solid #826a59;border-left:6px solid #a77c55;background:#433a38;
  box-shadow:inset 1px 2px #5a4c45;
}
#metal-entry header {padding-bottom:7px;margin-bottom:8px;border-bottom:2px solid #776255}
#metal-entry header small {font-size:16px;color:#d1b79b}
#metal-entry h3 {font-size:clamp(20px,2vw,29px);line-height:1.16;color:#ffe0a9}
#metal-entry h4 {margin:0;font:20px/1.15 var(--text);color:#ffdaa8}
#metal-entry p {margin:6px 0;font:18px/1.21 var(--text);max-width:68ch}
#metal-entry .metal-note {color:#d2c1b2;font-size:16px}
#metal-entry .work-jump {color:#ffce99;margin:5px 10px 3px 0}
.metal-choices {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-block:9px}
.metal-mode {min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:3px;padding:8px 10px;border:2px solid #7b675c;background:#373337}
.metal-mode[data-mode=recovery] {border-color:#6b7b70}
.metal-mode h4 {display:flex;align-items:center;gap:6px}
.metal-mode h4 canvas {width:21px;height:21px}
#metal-entry .metal-mode p {font-size:16px;margin:1px 0}
.metal-costs {margin:5px 0}.metal-costs .work-cost {color:#e3d5c4}.metal-costs .ready b {color:#c6e4ae}.metal-costs .short b {color:#ffb691}
.metal-action {margin:6px 6px 0 0;min-height:33px;padding:4px 9px;font:18px/1.15 var(--text);color:#fff1d6;background:#785139;border:2px solid #49352e;box-shadow:inset 1px 2px #ad8057}
.metal-action:hover:enabled {background:#8b603e}.metal-action:disabled {color:#c7b9ac;background:#494341;border-color:#655852;box-shadow:none}
.metal-mode .metal-action {margin-top:auto}.metal-stamp {color:#c6e2b1;font-size:16px}
.metal-meter {margin:9px 0;padding:7px 10px;max-width:550px;border:2px solid #806854;background:#373235}
.metal-meter>div {display:flex;align-items:baseline;justify-content:space-between;gap:8px;color:#e6d7c5;font-size:17px}
.metal-meter b {font-weight:normal;white-space:nowrap;color:#ffd193}
.metal-meter progress {display:block;width:100%;height:7px;margin-top:5px;appearance:none;border:0;background:#25242a}
.metal-meter progress::-webkit-progress-bar {background:#25242a}
.metal-meter progress::-webkit-progress-value {background:#d08a52;box-shadow:inset 0 2px #edb571}
.metal-meter progress::-moz-progress-bar {background:#d08a52}
.metal-meter[data-cool] progress::-webkit-progress-value {background:#91ab92;box-shadow:inset 0 2px #bad1ae}
.metal-meter[data-cool] progress::-moz-progress-bar {background:#91ab92}
@media(max-width:650px) {
  #metal-entry {margin:0 5px 8px;padding:8px;border-left-width:4px}
  #metal-entry p {font-size:17px}.metal-chapters button {min-width:0}.metal-choices {gap:5px}
}
@media(max-width:540px) {
  .guild-tabs {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:410px) {
  .metal-choices {grid-template-columns:1fr}.metal-mode {padding:6px 8px}
}
