body[data-arena-game="scale"] .scale-stage#scale-stage {display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:var(--chalna-space-small);height:var(--scale-height,300px);min-height:0;width:min(100%,550px);margin:0 auto;border:1px solid var(--line);background:var(--board);color:var(--board-ink);}
body[data-arena-game="scale"] .scale-scales {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);gap:var(--chalna-space-small);min-height:0;}
body[data-arena-game="scale"] .scale-card {display:grid;place-items:center;min-height:0;min-width:0;background:var(--board);border:1px solid var(--line);border-radius:var(--chalna-radius-medium);overflow:hidden;}
body[data-arena-game="scale"] .scale-card.is-reason {outline:2px solid var(--green);outline-offset:-2px;}
body[data-arena-game="scale"] .scale-diagram {width:100%;height:100%;max-height:260px;min-height:0;display:block;}
body[data-arena-game="scale"] .scale-options {display:grid;grid-template-columns:repeat(var(--scale-count),minmax(0,1fr));gap:var(--chalna-space-small);min-width:0;}
body[data-arena-game="scale"] .scale-token {width:24px;height:24px;flex-shrink:0;display:block;}
body[data-arena-game="scale"] .scale-note {font-size:var(--chalna-text-small);}

@media(max-width:600px){body[data-arena-game="scale"] .scale-scales[data-count="2"] {grid-template-columns:minmax(0,1fr);}}

@media(min-width:600px) and (max-height:500px){
 body[data-arena-game="scale"] .scale-stage#scale-stage {width:100%;max-width:none;padding:var(--chalna-space-small);gap:var(--chalna-space-small);overflow:hidden;grid-template-columns:200px minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;}
 body[data-arena-game="scale"] .scale-hud {grid-column:1;grid-row:1;align-self:center;}
 body[data-arena-game="scale"] .scale-scales {grid-column:2;grid-row:1;grid-template-columns:repeat(var(--scale-balances),minmax(0,1fr));}
 body[data-arena-game="scale"] .scale-options {grid-column:1 / -1;grid-row:2;}
}

/* Explicit user approval 2026-11-12: only this game's existing guide band
   reuses the Lights Out alignment and exact legacy ink; common files stay intact. */
body[data-arena-game="scale"] .scale-guide {display:grid;place-items:center;text-align:center;}
body[data-arena-game="scale"] .scale-guide-text {color:#fffdf1;}
