.interface-rail{display:none!important}.owned-dice{flex-direction:column;align-items:center;gap:7px;padding:7px;border-top:5px solid #d3b576;min-width:82px}.owned-dice:before{content:'';position:absolute;width:16px;height:13px;top:-18px;left:calc(50% - 8px);background:repeating-linear-gradient(90deg,#c9ae70 0 3px,transparent 3px 5px)}.owned-dice header{font:11px monospace;color:#f1d59c;width:100%}.housing-dice{display:flex;gap:6px}.owned-dice>small{font:9px monospace;color:#eee5c7;max-width:160px;text-align:center}.breach-study.dock-study .player-console .dice-row{align-items:stretch;gap:12px}.breach-study.dock-study .player-console{padding-top:19px}
#upgrade{width:540px;max-width:calc(100% - 24px);max-height:calc(100dvh - 24px);overflow:auto;background:#eee8d1;color:#203e33;border:3px solid #779376;border-radius:12px;padding:20px;font:14px monospace}#upgrade::backdrop{background:#102e29bb}#upgrade h2{font-size:24px;margin:12px 0}#upgrade p{line-height:1.5}.face-comparison{display:grid;gap:12px}.face-comparison h3{font-size:12px}.six-faces{display:grid;grid-template-columns:repeat(6,1fr);gap:6px}.six-faces>span{position:relative;height:56px;background:#faf3db;border:2px solid #9caa88;border-radius:6px;display:grid;place-items:center}.six-faces .changed-side{border:3px solid #bd8034;background:#f6db9c}.six-faces svg{width:30px;height:30px;stroke:currentColor;fill:none;stroke-width:4}.six-faces .face-symbol{width:30px;height:30px}.six-faces small{position:absolute;bottom:1px;left:3px;font-size:8px}.upgrade-options{display:flex;gap:10px;margin-top:20px}#upgrade button{padding:12px;border:2px solid #476d53;border-radius:5px;background:#e4e8ce;color:#193b30;font:700 13px monospace}#upgrade button[aria-pressed=true]{background:#eac477}#upgrade #install-upgrade{width:100%;background:#254b3d;color:#fff4d2}#upgrade button:disabled{opacity:.45}
@media(max-width:580px){.breach-study.dock-study .player-console{grid-template-areas:'dice dice dice' 'reroll rig exec';grid-template-columns:44px minmax(0,1fr) 72px}.breach-study.dock-study .player-console .dice-row{justify-content:center;gap:10px}.owned-dice{padding:6px;gap:6px;min-width:76px}.housing-dice{gap:5px}.owned-dice header{font-size:10px}.owned-dice>small{font-size:8px}.owned-dice.chosen>small{max-width:78px}.breach-study.dock-study .player-console .rig{grid-area:rig!important;grid-column:auto!important}.breach-study.dock-study .player-console .player-core{display:none}.breach-study.dock-study .player-console .attack-lane{display:none}.breach-study.dock-study[data-phase=scout] .player-console .reroll{grid-area:exec}.six-faces>span{height:42px}.six-faces{gap:3px}#upgrade{padding:14px}}
@media(max-width:359px){.owned-dice{padding:5px;min-width:64px}.housing-dice{gap:3px}.owned-dice.chosen>small{max-width:68px}}
/* Feedback is decorative and must never intercept the next allocation. */
.hit-bubble,.component-burst{pointer-events:none}
