/* Same PRISM cabinet, with compact mobile controls and prediction overlay. */
.final-answer-panel{margin:18px 0 8px;padding:18px;border:1px solid #555061;border-radius:10px;background:#20232d}.final-answer-heading h2{font-size:18px;margin:7px 0}.final-answer-panel>p{font-size:11px;line-height:1.8;color:#aeb4c4}.final-answer-panel .setting-choices{margin:14px 0 10px;gap:7px}.final-answer-panel .setting-choices button{padding:7px;min-height:48px}.final-answer-panel .setting-choices b{font-size:24px}.final-answer-panel .setting-choices small{font-size:8px}.final-answer-panel .answer-button{font-size:12px;min-height:44px;padding:12px;margin:0}.prediction-intervals{margin:22px 0 14px;border-top:1px solid #464657;padding-top:15px}.prediction-intervals>summary,.reference-set>summary{font-size:12px;cursor:pointer;color:#c9bce3}.reference-set{margin:14px 0;padding:10px 0;border-top:1px solid #434553}.reference-set>p{font-size:11px;line-height:1.8}.reference-set>a{display:block;font-size:11px;margin-top:10px}#prediction-reference-choice{margin:12px 0}
.game-layout{display:block}.play-panel{max-width:620px;margin-inline:auto}
.control-deck{display:grid;grid-template-columns:minmax(50px,1fr) auto minmax(82px,1fr);justify-items:center;gap:12px;padding-inline:20px}
.deck-label{width:auto;justify-self:start}.control-deck .batch-controls{padding:0;display:flex;flex-direction:column;gap:8px;width:100%;max-width:115px;justify-self:end}
.control-deck .batch-controls button{flex:auto;width:100%;min-height:42px;padding:8px 10px;font-size:14px;touch-action:manipulation}
.cabinet-balance{display:flex;align-items:center;gap:10px;min-height:52px;padding:10px 9px;border-top:1px solid #ffffff18;color:#9fa7b7}
.cabinet-balance>span{font-size:10px;white-space:nowrap}.cabinet-balance>strong{font:500 23px var(--mono);font-variant-numeric:tabular-nums;color:#d6dce8;flex:1;white-space:nowrap}
.cabinet-balance [data-sign=negative]{color:#e5a3ad}.cabinet-balance [data-sign=positive]{color:#c5dc9f}
.cabinet-balance button{font-size:10px;border:1px solid #61636f;border-radius:5px;padding:10px 7px;min-height:40px;background:#2b2d3a;color:#d9d2ea;white-space:nowrap}
.hit-type{font-size:10px;line-height:1.4;white-space:normal}.hit-card{min-height:108px}.record-type{white-space:normal}
body:has(dialog[open]){overflow:hidden}
dialog{overscroll-behavior:contain}
dialog.prediction-dialog{padding:0;width:min(730px,calc(100% - 16px));max-height:94dvh;border-color:#757684;background:#1b1e28;overflow-y:auto;scrollbar-width:thin;animation:prediction-arrive .2s ease-out}
.prediction-dialog::backdrop{background:#070912bd;backdrop-filter:blur(4px)}
.prediction-toolbar{display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:5;padding:8px 14px;background:#242733f5;border-bottom:1px solid #434755}
.prediction-toolbar>span{font:600 9px var(--mono);letter-spacing:.14em;color:#b1afc5}.prediction-toolbar>button{font-size:23px;line-height:1;width:38px;height:36px;border-radius:5px;background:#333643;color:#e1e2e9}
.prediction-dialog .guess-panel{padding:16px 22px 0;border:0;background:transparent;box-shadow:none}.prediction-dialog .panel-topline{margin-bottom:10px}.prediction-dialog h2{margin-bottom:6px}.prediction-dialog .guess-footer{padding:14px 0}
.prediction-nav{display:flex;gap:6px;position:sticky;top:53px;background:#1b1e28;z-index:3;padding:8px 0;margin:8px 0 0}
.prediction-nav button{flex:1;min-height:40px;border:1px solid #444856;border-radius:6px;color:#aeb6c9;background:#252936;font-size:12px}
.prediction-nav button[aria-selected=true]{background:#49445d;border-color:#9184af;color:#ede4ff}
.prediction-actions{position:sticky;bottom:0;z-index:4;background:#20232df7;border-top:1px solid #454754;padding:10px 0 8px;box-shadow:0 -8px 18px #11131b44}
.prediction-actions .setting-choices{gap:7px;margin:0 0 8px}.prediction-actions .setting-choices button{padding:5px;min-height:46px}.prediction-actions .setting-choices b{font-size:22px}.prediction-actions .setting-choices small{font-size:8px}
.prediction-actions .answer-button{margin:0;min-height:42px;padding:10px 14px;font-size:12px}.prediction-actions .guess-hint{font-size:9px;margin:5px 0 0}
.prediction-dialog[data-pending=true] .prediction-actions .answer-button{min-height:28px;padding:5px 10px;background:transparent;color:#aeb0c5;box-shadow:none;font-size:10px;margin-top:2px}
.prediction-actions .checkpoint-save{margin-bottom:0;min-height:42px;font-size:12px;font-weight:600;background:#363e2d;color:#dbe9c8}
.subtype-reference{margin:18px 0;padding-top:4px;border-top:1px solid #414152}.subtype-reference>h3{font-size:13px;margin:10px 0 7px}.subtype-reference>p{font-size:10px;line-height:1.8;color:#adafc1}
.subtype-table{border-collapse:collapse;width:100%;table-layout:fixed;font-variant-numeric:tabular-nums}
.subtype-table th,.subtype-table td{border-bottom:1px solid #383d4d;text-align:center;padding:9px 2px;font:500 11px var(--mono);white-space:nowrap}
.subtype-table th{background:#252836;color:#bcb5d1;font-family:inherit;font-size:10px;line-height:1.5}.subtype-table th:first-child{width:33px}.subtype-table th small{display:block;font-size:10px}.subtype-table td:first-child{color:#dcccf5}
.subtype-table .actual-row td{background:#2e3440;color:#e5edc9;border-bottom:2px solid #677653}.subtype-table [data-reference-setting].is-selected td{background:#393449}
.subtype-observation-table{margin:10px 0}.subtype-observation-table td:first-child{text-align:left}.subtype-observation-table th{font-size:9px}.prediction-source{font-size:10px;margin:8px 0 12px;line-height:1.9;color:#aeb5c7}.prediction-source summary{cursor:pointer}.prediction-source a{display:block;color:#c6b6e6;margin-top:6px}
.prediction-history-table{width:100%;table-layout:fixed}.prediction-history-table th:first-child{width:23%}.prediction-history-table th:nth-child(2){width:25%}.prediction-history-table th:last-child{width:52%}.prediction-history-table td{white-space:normal;font-size:11px;overflow-wrap:anywhere}.prediction-history-table td:last-child{font-family:inherit;font-size:11px}
.prediction-dialog .guess-reference-heading{padding-top:8px}.prediction-dialog .guess-reference-note{margin-bottom:8px}.prediction-dialog .checkpoint-panel{padding:10px;margin:12px 0}.prediction-dialog .checkpoint-panel p{font-size:10px}.prediction-dialog .checkpoint-table th,.prediction-dialog .checkpoint-table td{padding-block:7px}.prediction-dialog .checkpoint-saved:empty{display:none}
@keyframes prediction-arrive{from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){dialog.prediction-dialog{animation:none}}
body.effects-reduced dialog.prediction-dialog{animation:none}
@media(max-width:760px){
 .cabinet{padding:9px 14px 0;border-radius:16px 16px 12px 12px}
 .machine-marquee{height:61px;padding:5px 12px}.marquee-center>strong{font-size:37px}.marquee-caption{font-size:6px}.marquee-sub{font-size:5px}.speaker{height:39px;width:25px}
 .machine-glass{padding:8px 12px}.console-top{font-size:7px}.console-top b{width:17px;height:17px;font-size:12px}
 .meter-row{padding:5px 0 6px;gap:8px}.since-meter strong{font-size:33px}.since-meter>span{font-size:8px}.prism-annunciator{height:78px;flex-basis:130px}.beacon-crystal{height:39px;width:41px;top:5px}.beacon-orbit{height:39px;top:8px}.beacon-type{bottom:6px}.beacon-type>span{font-size:6px}.beacon-type>b{font-size:10px}
 .reel{height:108px}.reel-housing{padding:5px 3px;gap:4px}.reels{gap:5px}.symbol.seven{font-size:60px}.symbol.bar{font-size:24px;flex-basis:42px;margin:10px 0}.symbol.prism{font-size:42px}.symbol.star{font-size:50px}.symbol.ghost{font-size:28px;flex-basis:42px}.symbol{flex-basis:64px}
 .hit-indicator{font-size:9px;min-height:28px;padding:4px 0}.bonus-hold-note{font-size:8px;margin:0 0 4px;line-height:1.4}
 .mini-stats{padding-top:7px;gap:6px}.mini-stats>div{display:flex;padding-inline:3px;gap:4px}.mini-stats strong{font-size:18px}.mini-stats span{font-size:7px}
 .probability-row{padding:10px 0 8px;gap:4px}.probability-row span{font-size:8px}.probability-row b{font-size:15px;margin-top:3px}
 .machine-glass .fruit-panel{padding:5px 0 0}.machine-glass .fruit-heading{margin-bottom:5px}.fruit-heading .section-label,.fruit-heading .text-button{font-size:8px}.machine-glass .fruit-card{padding:6px;border-radius:6px}.fruit-name{font-size:9px}.fruit-name>small,.fruit-earned{display:none}.fruit-numbers{margin-top:5px;gap:4px;flex-wrap:nowrap;align-items:center}.fruit-count>strong{font-size:21px}.fruit-rate>b{font-size:12px}.fruit-rate>small{font-size:6px}.fruit-count>small{font-size:7px}
 .control-deck{height:104px;margin-top:5px;padding:8px 11px;gap:8px;grid-template-columns:minmax(30px,1fr) auto 76px}.deck-label>b{font-size:11px}.deck-label>small{font-size:5px}.deck-dot{width:4px;height:4px}.spin-button{width:105px;height:88px;padding:7px}.button-face>b{font-size:23px}.button-face>span{font-size:8px}.control-deck .batch-controls{gap:6px;max-width:76px}.control-deck .batch-controls button{min-height:40px;padding:5px;font-size:12px}
 .cabinet-balance{min-height:48px;padding:6px 3px;gap:6px}.cabinet-balance>span{font-size:9px}.cabinet-balance>strong{font-size:20px}.cabinet-balance button{font-size:9px;padding:7px 6px;min-height:36px}.cabinet-plinth{height:21px;font-size:5px;padding-inline:3px}
 .fruit-observation-note{font-size:9px;line-height:1.7;margin:9px 0}.goal-block{margin-top:14px}
 .prediction-dialog .guess-panel{padding:12px 14px 0}.prediction-dialog h2{font-size:20px}.prediction-dialog .guess-spec-table{min-width:0}.prediction-dialog .guess-spec-table th:first-child{width:28px}.prediction-dialog .guess-spec-table td{font-size:9px;padding:10px 1px}.prediction-dialog .guess-spec-table th{font-size:8px;padding:7px 1px}.prediction-dialog .guess-model-name{font-size:11px}.prediction-nav button{font-size:11px}
 .subtype-table td{font-size:10px;padding-block:10px}.subtype-table th{font-size:9px}.subtype-table th small{font-size:9px}.prediction-dialog .checkpoint-table{font-size:10px}.prediction-dialog .checkpoint-table td{padding-inline:3px}.prediction-dialog .guess-footer p{font-size:9px}
}
@media(max-width:360px){
 .cabinet{padding-inline:12px}.machine-glass{padding:7px 8px}.machine-marquee{height:55px}.marquee-center>strong{font-size:32px}.meter-row{gap:5px}.prism-annunciator{height:72px;flex-basis:112px}.since-meter strong{font-size:30px}.reel{height:98px}
 .mini-stats strong{font-size:16px}.mini-stats>div{display:grid;text-align:center;gap:2px}.probability-row b{font-size:13px}.fruit-count>strong{font-size:19px}.fruit-rate>b{font-size:11px}.control-deck{grid-template-columns:minmax(24px,1fr) auto 66px;padding-inline:8px;gap:6px;height:98px}.deck-label>b{font-size:9px}.deck-label>small{display:none}.spin-button{width:94px;height:82px}.control-deck .batch-controls button{font-size:11px;min-height:40px}.cabinet-balance>strong{font-size:18px}.cabinet-balance button{font-size:8px}
 .prediction-dialog .guess-panel{padding-inline:10px}.prediction-dialog .guess-spec-table td{font-size:8px}.prediction-dialog .guess-spec-table th{font-size:7px}.subtype-table td{font-size:9px}.prediction-actions .setting-choices{gap:5px}.prediction-actions .setting-choices button{min-height:42px}.prediction-actions .setting-choices b{font-size:20px}
}
@media(max-width:760px) and (max-height:700px){
 .cabinet{padding-top:6px}.machine-marquee{height:46px}.marquee-center>strong{font-size:29px}.marquee-caption{font-size:5px}.marquee-sub{font-size:4px}.speaker{height:29px}
 .machine-glass{padding-block:5px}.meter-row{padding-block:3px}.prism-annunciator{height:58px;flex-basis:110px}.beacon-crystal{height:31px;width:33px;top:3px}.beacon-orbit{height:31px;top:5px}.beacon-type{bottom:3px}.beacon-type>span{font-size:5px}.beacon-type>b{font-size:8px}.since-meter strong{font-size:27px}
 .reel{height:82px}.symbol{flex-basis:55px}.symbol.seven{font-size:48px}.symbol.prism{font-size:34px}.symbol.star{font-size:40px}.symbol.bar{font-size:21px;flex-basis:34px;margin-block:8px}.symbol.ghost{font-size:22px;flex-basis:31px}
 .hit-indicator{min-height:23px;padding-block:2px;font-size:8px}.mini-stats{padding-top:5px}.mini-stats>div{display:flex;justify-content:space-between;gap:3px}.mini-stats strong{font-size:14px}.probability-row{padding-block:6px}.probability-row b{font-size:12px}.probability-row span{font-size:7px}
 .fruit-count>strong{font-size:18px}.fruit-rate>b{font-size:11px}.control-deck{height:94px}.cabinet-balance{min-height:44px}.cabinet-plinth{height:18px}
}
@media(max-width:760px) and (max-height:600px){.machine-glass .fruit-heading,.cabinet-plinth{display:none}.machine-glass .fruit-card{padding:5px}.fruit-numbers{margin-top:3px}}
.machine-chart-marquee{height:136px;padding:6px 10px;display:block}.machine-chart-heading{display:flex;align-items:center;gap:10px;height:18px;font:600 10px var(--mono);color:#b2b4c5}.machine-chart-heading>span:first-child{font-weight:900;font-style:italic;letter-spacing:.15em;color:#d7e6c1}.machine-chart-heading>span:nth-child(2){font:400 9px sans-serif}.machine-chart-heading>strong{margin-left:auto;font-weight:500;color:#d7ddce}.cabinet-balance-chart{height:calc(100% - 18px)}.cabinet-balance-chart svg{width:100%;height:100%;display:block}
.full-balance-chart{margin:12px 0;border:1px solid #414757;border-radius:7px;padding:7px;background:#141921;min-height:90px}.full-balance-chart svg{display:block;width:100%;height:auto}.record-balance-number{display:block;font:500 27px var(--mono);color:#c8d8ae;font-variant-numeric:tabular-nums;margin:10px 0}.graph-coverage-note{font-size:10px;line-height:1.8;color:#a1aabb;margin:10px 0}.balance-record-row{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;border-top:1px solid #3b3e4b;padding:16px 5px;font-size:12px}.balance-record-row>strong{font:500 15px var(--mono);color:#c8d8ae}.balance-record-row>small{color:#939fb2;font-size:10px}.balance-record-row>button{font-size:10px;padding:8px 10px;min-height:40px}.round-record-dialog .prediction-history-table td{font-size:10px}.round-record-dialog .record-balance-number{font-size:28px}
@media(max-width:760px){.machine-chart-marquee{height:108px;padding:5px 6px}.machine-chart-heading{font-size:8px;height:15px}.machine-chart-heading>span:nth-child(2){font-size:7px}.cabinet-balance-chart{height:calc(100% - 15px)}.prediction-nav{gap:4px}.prediction-nav button{font-size:10px;padding-inline:2px}.full-balance-chart{padding:4px}.record-balance-number{font-size:23px}}
@media(max-width:760px) and (max-height:700px){.machine-chart-marquee{height:88px}.machine-chart-heading{height:13px;font-size:7px}.machine-chart-heading>span:nth-child(2){font-size:6px}.cabinet-balance-chart{height:calc(100% - 13px)}}
@media(max-width:760px) and (max-height:600px){.machine-chart-marquee{height:78px}.control-deck{height:90px}.machine-glass{padding-block:4px}.reel{height:74px}.prism-annunciator{height:52px}.meter-row{padding-block:2px}.hit-indicator{min-height:21px}.probability-row{padding-block:5px}}

.subtype-table th{white-space:normal;overflow-wrap:anywhere}.prediction-intervals .interval-card{margin-block:12px}.prediction-intervals .interval-stats{grid-template-columns:repeat(3,minmax(0,1fr))}

.guess-reference>.subtype-reference{margin:0;padding:0;border-top:1px solid #494355}.guess-reference>.subtype-reference>p{margin:8px 12px;font-size:10px}.guess-reference>.subtype-reference .subtype-table th:first-child{width:34px}.combined-reference-details{margin:10px 12px 12px}.combined-reference-details>summary{min-height:32px;padding:6px 0}.combined-reference-details .fruit-basis-note,.combined-reference-details .guess-reference-note{padding:8px 0;background:transparent}.combined-reference-details .field-label{margin-top:10px}.combined-reference-details #prediction-reference-set{margin-bottom:10px;max-width:100%}
@media(max-width:760px){.guess-reference>.subtype-reference .subtype-table th:first-child{width:28px}}
.checkpoint-interval-table th:first-child,.checkpoint-interval-table td:first-child{text-align:left}.checkpoint-interval-table td:nth-child(2){text-align:right}

@media(max-width:360px){.final-answer-panel .setting-choices{grid-template-columns:repeat(3,minmax(0,1fr))}}

.spin-blocked-notice{border:1px solid #9b8d57;border-radius:8px;background:#363222;padding:12px 14px;margin:12px 0;color:#ede3bd}.spin-blocked-notice p{font-size:12px;line-height:1.8;margin:0 0 8px}.spin-blocked-notice button{font-size:12px;min-height:42px;width:100%}.prediction-required{border:1px solid #8e8859;border-radius:8px;background:#373425;color:#eee7c9;margin:10px 0 12px;padding:12px;font-size:12px;line-height:1.8}.prediction-required strong{font-size:12px}.prediction-required p{margin:5px 0 0;font-size:11px}.prediction-required:focus{outline:2px solid #c3cc9d;outline-offset:2px}#prediction-lock{font:500 9px sans-serif;color:#e5dba7;letter-spacing:0}.prediction-new{display:block;margin:7px auto 0;font-size:10px;line-height:1.6;min-height:30px;padding:5px 8px;color:#b7b6c7}.resume-dialog h2{font-size:23px}.resume-dialog>p{line-height:1.9}.resume-dialog #resume-summary{font-size:12px;color:#c4d7a5;font-variant-numeric:tabular-nums}.resume-actions{display:grid;gap:10px;margin:20px 0}.resume-actions button{width:100%;margin:0;min-height:48px;font-size:13px}.resume-dialog .dialog-note{font-size:11px}.prediction-dialog[data-pending=true] .prediction-actions{padding-top:8px}.prediction-dialog[data-pending=true] .guess-hint{display:none}

/* Two result lines always occupy the same space, including long bonus causes. */
@media(max-width:760px){.hit-indicator{height:32px;min-height:32px;max-height:32px}.symbol.replay{font-size:52px}}
@media(max-width:760px) and (max-height:700px){.hit-indicator{height:25px;min-height:25px;max-height:25px}.symbol.replay{font-size:42px}}
@media(max-width:760px) and (max-height:600px){.symbol.replay{font-size:38px}}
