/* Paper surfaces and dark HUD surfaces have separate text palettes. */
.panel,.item-card,.action-card,.fx-card,.welcome{--ink:#35271d;--muted:#624b36;--gold:#754518;--green:#175436;--red:#92271f;color:var(--ink);color-scheme:light}
.panel button,.item-card button,.action-card button,.welcome button,.option-switch button,.option-switch button[aria-pressed=true]{color:#493021;text-shadow:none}
.panel button small,.panel button b,.panel button strong,.item-card button small,.action-card button small{color:inherit}
.panel button.active,.panel button[aria-pressed=true],.panel button[aria-selected=true]{color:#742b22;font-weight:800;outline:2px solid #975835;outline-offset:-3px}
.panel button:disabled,.item-card button:disabled,.action-card button:disabled{opacity:1;color:#695947;filter:grayscale(.6);cursor:not-allowed}
.panel .option-switch{gap:16px;text-align:left;font-size:16px;align-items:center}
.panel .option-switch button{min-width:100px;min-height:48px;font-weight:700;font-size:15px;flex-shrink:0}
.panel .tip,.item-card .tip{color:#624b36!important;font-size:14px!important}
.panel .world-meta,.panel .equipped-tag,.panel .material-detail-qty,.panel .forge-stock,.panel .version-note{color:#57432f}
.panel .detail .description,.panel .key-list{color:#57432f}
.panel .story-journal,.panel .story-prologue{--ink:#fff1d6;--muted:#d4e6df;--gold:#ffe0a1;color:#fff1d6}
.panel .story-journal button,.panel .story-prologue button,.npc-dialogue-panel button{color:#493021}
.inv-tile .tile-plus,.inv-tile .tile-lock,.inv-tile .tile-quantity{color:#fff7dc!important;background:#493124}
.top-actions .coin{color:#fff1ce;background:#281f1aeb;border:1px solid #b99a65;padding:3px 8px;border-radius:4px}
.hero-info,.location{filter:drop-shadow(0 1px 2px #17130d)}
.hero-name,.hero-name span,.xp-row span,.location>span{color:#fff1db;text-shadow:0 1px 3px #15110b,0 0 4px #15110b}
.xp-row span{background:#281f1ae8;padding:1px 4px;border-radius:3px;font-size:12px}
.joystick>span{color:#fff1db;text-shadow:0 1px 3px #15110b;background:#281f1adb;border-radius:3px}
.top-actions .icon-button{color:#493021}
.frontline-choice{display:grid;gap:10px;margin-top:16px}
.frontline-choice article{padding:14px;border:1px solid #a57a44;background:#fff0d1;color:#35271d}
.frontline-choice article p{color:#57432f;margin:6px 0 12px}
.frontline-choice button{width:100%}
