.grid-word{color:#53baf5}.poker-word{color:#fff}.brand-dot{color:#53baf5}.phone-help{display:none}.top-actions button{min-width:44px;min-height:44px}.cabinet button{touch-action:manipulation}.paused-panel,.results{z-index:5;overflow-y:auto}.showdown{overflow-y:auto}.speed-track{overflow:hidden}.start-panel h1{line-height:.96}.start-panel .grid-word{text-shadow:2px 3px 0 #083b63,0 0 24px #08395780}
@media(max-width:850px) and (orientation:portrait){
body{overscroll-behavior-y:none}.arcade{padding:max(6px,env(safe-area-inset-top)) 8px max(12px,env(safe-area-inset-bottom));max-width:700px}.topbar{height:48px;margin-bottom:6px}.brand{font-size:21px}.edition,.top-actions span{display:none}.top-actions{gap:5px}.top-actions button{padding:6px 10px}.cabinet{height:calc(100svh - 112px - env(safe-area-inset-top) - env(safe-area-inset-bottom));min-height:480px;max-height:1000px;aspect-ratio:auto;border-radius:18px;background:#102b3c;box-shadow:0 12px 35px #0005}.cabinet.playing canvas{height:calc(100% - 230px)}.cabinet.playing .vignette{bottom:230px}.cabinet.playing{background:linear-gradient(180deg,#175168,#102534)}
.hud{top:12px;left:12px;right:12px;gap:8px;align-items:flex-start}.position>span{font-size:43px}.position small{font-size:10px;letter-spacing:.5px;margin-top:5px}.course{font-size:11px;letter-spacing:.6px;max-width:160px;padding:8px 6px;background:#074568b5}.course small{font-size:10px;letter-spacing:0;line-height:1.35}.race-clock{font-size:21px;min-width:74px}.race-clock small{font-size:10px;letter-spacing:.2px}.race-clock button{display:block;margin:6px 0 0 auto;min-height:44px;min-width:44px;font-size:20px}
.start-panel{top:23%;left:7%;right:7%;text-shadow:0 2px 12px #08334b}.start-panel h1,.cabinet:fullscreen .start-panel h1{font-size:clamp(48px,13.5vw,88px);letter-spacing:-1.5px;margin:16px 0 18px;white-space:nowrap}.start-panel h1 em{font-size:1.3em;line-height:1}.start-panel .eyebrow{font-size:12px;letter-spacing:1.1px;color:#fff}.start-panel p{font-size:17px;line-height:1.4;margin-bottom:20px}.start-panel .primary{min-height:56px;width:min(280px,100%)}.start-help{font-size:12px;line-height:1.5;letter-spacing:0;display:flex;flex-wrap:wrap;gap:4px 15px;max-width:300px;color:white}.desktop-help{display:none}.phone-help{display:inline}.corner-caption{bottom:20px;left:20px}.corner-caption span{font-size:12px}.corner-caption i{font-size:10px}
.race-bottom,.hand{display:contents}.race-bottom[hidden]{display:none!important}.hand-heading{position:absolute;bottom:204px;left:50%;transform:translateX(-50%);width:calc(100% - 28px);max-width:360px;justify-content:space-between;font-size:11px;letter-spacing:.3px;gap:5px;margin:0;line-height:1.2}.hand-heading strong{font-size:12px}.hand>.cards{position:absolute;bottom:133px;left:50%;transform:translateX(-50%);gap:7px}.hand>.cards .card{width:45px;height:60px;font-size:26px}.hand>.cards .card span{font-size:22px}.hand>small{display:none}.speed{position:absolute;left:14px;top:88px;width:56px;padding:0}.speed strong{font-size:28px}.speed>small{font-size:10px}.speed-track{margin-top:3px;height:3px}
.touch-controls{left:12px;right:auto;bottom:15px;width:calc(48% - 16px);height:106px;display:grid;grid-template-columns:1fr 1fr;gap:7px;z-index:2}.touch-controls button{width:100%;height:106px;min-width:44px;border-radius:16px;background:#23516bcc;font-size:24px;border-color:#81bce877;box-shadow:0 4px 0 #061c2a;touch-action:none;-webkit-user-select:none}.touch-controls button:active{background:#3f96b9;transform:translateY(2px)}.boost{position:absolute;bottom:73px;right:12px;width:calc(52% - 16px);height:48px;min-height:48px;margin:0;display:flex;flex-direction:row;justify-content:center;align-items:center;gap:10px;padding:8px;background:#cfeeff;color:#0e3147;border-color:#b5e2ff;border-radius:12px;z-index:2}.boost>span{display:block;font-size:23px}.boost strong{font-size:14px}.boost b{display:inline-block;font-size:15px;padding:3px 6px;margin:0 0 0 5px;background:#244e63;color:#fff}.boost small{display:none}.burn{position:absolute;bottom:15px;right:12px;width:calc(52% - 16px);min-height:49px;margin:0;padding:7px 4px;gap:3px;font-size:12px;border-radius:12px;z-index:2}.burn small{font-size:10px;letter-spacing:0}.keyboard-hint{display:none}
.toast{top:124px;font-size:13px;line-height:1.3;padding:9px 12px;max-width:92%;white-space:normal;width:max-content;z-index:3}.river-choice{top:157px;padding:10px 12px;font-size:12px;gap:6px 12px;pointer-events:none;z-index:3}.river-choice strong{font-size:12px;letter-spacing:1px}.track-progress{height:5px}
.showdown{padding:20px 12px;justify-content:safe center}.showdown h2{font-size:32px;margin:12px 0 16px}.showdown .eyebrow{font-size:12px;letter-spacing:1px}#reveal-rivals{display:flex;flex-direction:column;width:100%;gap:10px}.reveal-rival{display:grid;grid-template-columns:1fr auto;align-items:center;text-align:left;gap:4px 8px;padding:7px 10px;background:#061e2d66;border-radius:8px}.reveal-rival b{font-size:12px}.reveal-rival small{font-size:11px;grid-column:1;grid-row:2}.reveal-rival .cards{grid-column:2;grid-row:1 / span 2;gap:4px;margin:0}.reveal-rival .card{width:25px;height:36px;font-size:15px}.reveal-rival .card span{font-size:14px}.poker-table{border-radius:32px;margin:17px 0 9px;width:100%;padding:10px;border-width:5px}.poker-table .card{width:39px;height:51px;font-size:23px}.poker-table .card span{font-size:20px}.poker-table p{font-size:12px;line-height:1.4;margin-top:10px}#skip-reveal{min-height:44px;font-size:13px}.results{padding:18px 14px;justify-content:safe center}.results h2{font-size:38px;text-align:center}.results .eyebrow{font-size:12px}.results>p{font-size:14px;line-height:1.4}.results .card{width:43px;height:58px;font-size:23px}.standing{padding:10px 7px;gap:6px;font-size:12px}.standing>span:last-child{text-align:right}.standing small{display:block;font-size:12px;margin-top:3px}.best-score{line-height:1.4}.results .primary{min-height:54px;font-size:15px}.paused-panel{padding:20px}.paused-panel h2{font-size:40px;text-align:center}
footer{padding:8px 2px;min-height:42px;gap:6px;font-size:12px}.daily-badge{font-size:10px}footer button{font-size:12px;min-height:36px;padding:5px}footer button span{margin-left:4px}.footnote{display:none}.rules{padding:16px}.rules b{font-size:13px}.cabinet:fullscreen{height:100dvh;max-height:none;min-height:0;border-radius:0;padding-bottom:env(safe-area-inset-bottom)}
}
@media(max-width:360px) and (orientation:portrait){.course{max-width:125px;font-size:10px}.course small{font-size:9px}.position small{font-size:9px}.race-clock{min-width:62px;font-size:18px}.hand-heading{font-size:10px}.hand-heading strong{font-size:11px}.hand>.cards{gap:5px}.hand>.cards .card{width:41px}.burn{font-size:11px}.boost{gap:4px}.reveal-rival .card{width:22px}.reveal-rival .cards{gap:3px}.reveal-rival b{font-size:11px}.start-panel h1{font-size:13vw}}
@media(max-height:520px) and (orientation:landscape){.arcade{padding:4px max(8px,env(safe-area-inset-right)) 4px max(8px,env(safe-area-inset-left))}.topbar{height:44px;margin-bottom:4px}.edition{display:none}.cabinet{height:calc(100svh - 56px);min-height:270px;max-height:none;aspect-ratio:auto;border-radius:12px}footer,.footnote{display:none}.start-panel{top:20%;left:9%}.start-panel h1,.cabinet:fullscreen .start-panel h1{font-size:43px;margin:8px 0}.start-panel p{font-size:14px;margin:8px 0}.start-panel .eyebrow{font-size:10px}.start-panel .primary{min-width:180px;padding:11px 16px;font-size:14px}.start-help{display:none}.corner-caption{display:none}.hud{top:10px;left:14px;right:14px}.position>span{font-size:35px}.course{font-size:11px;padding:6px 10px}.course small{font-size:10px}.race-clock button{min-height:44px;min-width:44px}.touch-controls{left:14px;right:auto;bottom:14px;gap:10px;width:144px}.touch-controls button{width:66px;height:66px}.race-bottom{left:175px;right:18px;bottom:15px}.speed{display:none}.hand{margin:auto}.hand>.cards .card{width:30px;height:40px;font-size:19px}.hand>.cards .card span{font-size:16px}.hand>small{display:none}.hand-heading{font-size:10px;margin-bottom:6px}.burn{position:absolute;right:0;bottom:0;width:160px;height:45px;font-size:11px;margin:0}.burn small{font-size:9px}.boost{position:absolute;right:0;bottom:54px;min-width:160px;min-height:44px;justify-content:center}.hand{padding-right:150px}.toast{top:80px;font-size:12px}.river-choice{top:105px;font-size:11px;padding:6px}.results,.showdown{justify-content:flex-start;overflow-y:auto;padding:15px}.results h2,.showdown h2{font-size:30px}.poker-table{margin:12px 0}.keyboard-hint{display:none}.cabinet:fullscreen{height:100dvh}}
@media(prefers-reduced-motion:reduce){.cabinet *{scroll-behavior:auto}}

@media(max-width:850px) and (orientation:portrait){.position>b{font-size:8px;letter-spacing:.3px;margin-top:4px;padding:3px 5px}.equity{font-size:8px;margin-left:3px;padding:2px 4px}.river-choice span{padding:6px 8px}}

/* Keep draw advice visible above the cards on phones. */
@media(max-width:850px) and (orientation:portrait){.hand>small{display:block;position:absolute;bottom:219px;left:14px;right:14px;margin:0;text-align:center;font-size:11px;line-height:1.25;letter-spacing:0;color:#efffb8}.cabinet.playing canvas{height:calc(100% - 246px)}.cabinet.playing .vignette{bottom:246px}.hand-heading{font-size:10px;letter-spacing:0}.position>b{font-size:10px}.equity{font-size:10px}}
@media(max-height:520px) and (orientation:landscape){.hand>small{display:block;font-size:10px;letter-spacing:0;max-width:260px}}

#pickup-effects,.cabinet.playing #pickup-effects{height:100%;max-height:none}
@media(max-width:850px) and (orientation:portrait){
.cabinet.playing #game{height:calc(100% - 266px)}.cabinet.playing .vignette{bottom:266px}
.hand #pickup-note{position:absolute;bottom:242px;left:14px;right:14px;margin:0;text-align:center;font-size:12px;line-height:16px}
.effects-settings{top:96px;right:10px}
}
