/* Legible shot instructions stay beside the playfield on every screen. */
.backbox{height:132px;grid-template-rows:66px 0 40px 22px;background:linear-gradient(115deg,#332c23,#101719 55%,#3a352a)}
.scoreboard.dmd-enabled{position:relative;display:block;height:64px;margin:2px 5px 0;padding:0;background:#140c05;border:1px solid #98734b;box-shadow:inset 0 0 12px #000;overflow:hidden}
.dmd-enabled>div{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#dot-display{display:block;width:100%;height:100%;object-fit:contain;image-rendering:pixelated}
.backbox-message{height:0;min-height:0;border:0;margin:0;padding:0;overflow:hidden}
.next-shot{min-width:0;display:flex;flex-direction:column;justify-content:center;gap:2px;padding:3px 9px;background:#132c31;border-top:1px solid #66827e;border-bottom:1px solid #66827e}
.next-shot strong{font:1000 12px/1.15 var(--body);letter-spacing:.2px;color:#fff0be;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.next-shot>span{font-size:8px;line-height:1.15;color:#c2d9d9;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal;overflow:hidden}
.backbox-chin{height:22px;gap:5px;padding:2px 7px}.backbox-chin>span,.backbox-chin>strong{font-size:6px;letter-spacing:0}
.fryer-progress{display:flex;align-items:center;gap:3px;white-space:nowrap}.fryer-progress>span{font-size:6px;letter-spacing:.2px;color:#e9cca1}.fryer-progress b{display:grid;place-items:center;width:14px;height:14px;border-radius:50%;border:1px solid #6d716a;background:#11191b;color:#7e8f90;font-size:8px}.fryer-progress b.locked{background:#cb8a25;color:#110c06;border-color:#ffd382;box-shadow:0 0 4px #e2ad4540}.fryer-progress b.armed{color:#ffe3a2;border-color:#f1c258}
.chips-lights{gap:2px}.chips-lights b{width:12px;height:13px}.fryer-progress:not([hidden])~#mission{display:none}
.machine{--chrome:240px}.table-overlay .overlay-card>small{font-size:8px;line-height:1.4}
.table-summary .best-summary{font:900 10px/1.4 var(--body);letter-spacing:.7px;color:#9acac5}.best-summary strong{margin-left:8px;color:#ffe1a4;font-size:14px;font-variant-numeric:tabular-nums}
@media(max-width:640px){
 .backbox{height:132px;grid-template-rows:66px 0 40px 22px}
 .scoreboard.dmd-enabled{height:64px;margin:1px 4px 0}
 .machine,.inspect-table .machine{width:min(100%,max(180px,calc((100svh - 298px - env(safe-area-inset-bottom)) * .6)));min-width:0}
 .next-shot{padding:3px 7px;gap:2px}.next-shot strong{font-size:clamp(9px,3vw,13px);letter-spacing:0}.next-shot>span{font-size:9px}
 .backbox-chin{padding-inline:5px}.backbox-chin>strong{font-size:7px}.backbox-chin>span{font-size:6px}.rush-progress b{font-size:6px;padding:1px 3px}
 .controls{position:sticky;bottom:0;z-index:8;background:#111b20f5;box-shadow:0 -3px 12px #06121855}
 .table-summary:before{content:'PLAYABILITY PREVIEW · 27 OCT';display:block;color:#ffdca3;font:900 10px/1.4 var(--body);letter-spacing:1px;margin-bottom:8px}
}
@media(min-width:641px){.next-shot strong{font-size:13px}.next-shot>span{font-size:9px}.machine{width:min(410px,calc((100vh - 230px) * .6));min-width:290px}}
@media(max-width:950px) and (max-height:500px) and (orientation:landscape){.machine,.inspect-table .machine{width:min(42vw,300px);min-width:0}}
@media(prefers-reduced-motion:reduce){.fryer-progress b{box-shadow:none}}
