.stage { max-width: 720px; }
.bar { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.seg { display: flex; gap: 4px; }
.info { display: flex; gap: 14px; color: var(--muted); font-size: .82rem; }
.info b { font-family: var(--mono); font-weight: 400; color: var(--gold-l); }
.msg { text-align: center; color: var(--gold-l); font-size: .85rem; min-height: 1.5em; margin: 0 0 8px; }
.sboard { padding: 12px; }
#board { direction: ltr; display: grid; grid-template-columns: repeat(7, var(--cw, 64px)); column-gap: var(--gap, 8px); row-gap: calc(var(--gap, 8px) * 2 + 14px); justify-content: center; align-items: start; align-content: start; min-height: 420px; }
#board .stock { cursor: pointer; }
#board .stock .pc { position: absolute; inset: -1.5px; }
#board .stock .cnt { position: absolute; bottom: -1.4em; left: 0; right: 0; text-align: center; font-family: var(--mono); font-size: .7rem; color: var(--faint); }
#board .waste { position: relative; height: calc(var(--cw) * 1.4); }
#board .waste .pc { position: absolute; top: 0; }
#board .found .pc { position: absolute; inset: -1.5px; }
#board .found.red { color: rgba(224,112,92,.5); }
#board .col { position: relative; }
#board .col > .pc { position: absolute; left: 0; }
#board .col .empty { position: absolute; top: 0; }
#board .pc[data-k] { cursor: grab; touch-action: none; }
#board .pc.lift { opacity: 0; }
.sol-ghost { position: fixed; z-index: 60; pointer-events: none; }
.sol-ghost .pc { position: absolute; box-shadow: 0 12px 26px rgba(0,0,0,.6); }
#auto { animation: glow 1.2s ease-in-out infinite; }
@keyframes glow { 50% { box-shadow: 0 0 0 4px rgba(201,168,106,.35); } }
@media (max-width: 640px) { .sboard { padding: 6px; } #board { min-height: 360px; } .info { font-size: .74rem; gap: 10px; } }
#board .pc-slot.hint { box-shadow: 0 0 0 3px var(--gold-l), 0 0 18px rgba(243,226,179,.7); }
