:root{--paper:#f5f0e4;--ink:#282720;--orange:#ed512f;--muted:#8b897b;--line:#d7d1c1;--lime:#dfe69c;--mono:'Courier New',monospace;--display:Impact,'Arial Narrow',sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--mono);font-size:13px}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #427e85;outline-offset:4px}button{color:inherit}a{color:inherit;text-decoration:none}.ticker{height:29px;background:var(--orange);border-bottom:2px solid var(--ink);overflow:hidden;white-space:nowrap;font-size:10px;letter-spacing:2px;font-weight:bold;line-height:27px}.ticker span{display:block;width:max-content;margin:auto}.ticker b{margin:0 24px;font-size:13px}.page{max-width:1440px;padding:0 54px;margin:auto}.masthead{height:107px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:12px;font-family:var(--display);font-size:32px;letter-spacing:-.5px;line-height:1}.brand-icon{width:64px;height:70px;flex-shrink:0}.brand small{display:block;font-family:var(--mono);font-size:8px;letter-spacing:2.2px;margin-top:9px;font-weight:bold}.header-actions{display:flex;gap:30px;align-items:center}.open-sign{font-size:10px;letter-spacing:1px;white-space:nowrap}.open-sign i,.live-dot,.board-footer i{display:inline-block;width:6px;height:6px;background:var(--orange);border-radius:50%;margin-right:7px}.text-button{background:none;border:0;padding:8px 0;font-size:11px;font-weight:bold}.text-button span{padding-left:8px}.sound-button{display:flex;align-items:center;gap:9px;background:transparent;border:1px solid var(--ink);padding:10px 12px;font-size:9px;font-weight:bold;letter-spacing:.5px}.sound-button:hover{background:var(--lime)}.intro{display:flex;align-items:end;justify-content:space-between;padding:31px 0 28px;gap:25px}.eyebrow{font-size:9px;letter-spacing:1.4px;font-weight:bold}.tiny-star{color:var(--orange);font-size:16px;vertical-align:-1px;padding-right:5px}h1{font-size:55px;letter-spacing:-2.2px;line-height:1;margin:10px 0 0;font-family:var(--display);font-weight:normal}h1 em{font-family:Georgia,serif;color:var(--orange);font-weight:bold}p{line-height:1.7}.intro>p{font-size:11px;margin:0 0 2px;line-height:1.9}.arcade-layout{display:grid;grid-template-columns:minmax(0,1fr) 284px;gap:24px;align-items:start}.cabinet{touch-action:none;border:3px solid var(--ink);border-radius:5px;background:var(--ink);box-shadow:5px 6px 0 #d8d1bf;overflow:hidden}.cabinet-top{height:35px;display:flex;justify-content:space-between;align-items:center;padding:0 16px;color:var(--paper);font-size:9px;letter-spacing:1px}.cabinet-top>span:first-child{font-weight:bold}.cabinet-top b{color:var(--lime);margin-left:7px}.live-dot{background:var(--lime);width:5px;height:5px}.cabinet-top>span:nth-child(2){font-size:8px;color:#b9b7aa}.cabinet-top button{background:none;border:0;color:var(--paper);font-size:16px;padding:0 2px}.cabinet-top button:disabled{opacity:.3}.hud{display:flex;justify-content:space-between;align-items:center;padding:16px 25px 14px;background:#eeeadc;border-top:1px solid #545345;gap:10px}.hud-label{display:block;font-size:8px;letter-spacing:1.5px;margin-bottom:6px;color:#727064;font-weight:bold}.hud strong{font-size:29px;letter-spacing:2px;line-height:1;font-weight:bold}.hud-middle{text-align:center}.hud-control{display:flex;justify-content:flex-end}.hud-lives{text-align:right}.bottom-control{display:none;align-items:center}.hud-lives strong{font-size:23px;color:var(--orange);letter-spacing:3px}.screen{position:relative;aspect-ratio:960/600;overflow:hidden;background:#2d3634;isolation:isolate;touch-action:none}.screen canvas{touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;display:block;width:100%;height:100%;image-rendering:pixelated}.scanlines{position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(0deg,transparent,transparent 3px,#0000000d 3px,#0000000d 4px);z-index:5;mix-blend-mode:multiply;opacity:.7}.game-overlay{position:absolute;inset:0;display:grid;place-items:center;background:#18201b30;z-index:6;backdrop-filter:blur(.4px)}.title-card{position:relative;width:330px;max-width:78%;text-align:center;background:#f8edcfeF;border:3px solid var(--ink);box-shadow:7px 7px 0 #1c292b9c;transform:rotate(-2deg);padding:24px 26px 17px}.title-card:before,.title-card:after{content:'✳';position:absolute;color:var(--orange);font-size:23px;top:46%;left:15px}.title-card:after{left:auto;right:15px}.edition{font-size:9px;letter-spacing:1.1px;font-weight:bold}.title-card h2{font-family:var(--display);font-size:73px;letter-spacing:-1px;line-height:.83;font-weight:normal;margin:22px 0 16px;filter:drop-shadow(3px 3px 0 #d2c4a6)}.title-card h2 span{color:var(--orange)}.title-card p{font-size:11px;line-height:1.7;margin:15px 0}.primary-button{display:flex;align-items:center;justify-content:space-between;width:100%;background:var(--orange);border:2px solid var(--ink);box-shadow:3px 3px 0 var(--ink);font-size:12px;font-weight:bold;letter-spacing:.5px;padding:14px 16px;transition:transform .13s,box-shadow .13s}.primary-button:hover{background:#ff714c;transform:translate(-1px,-1px);box-shadow:4px 4px 0 var(--ink)}.primary-button:active{transform:translate(3px,3px);box-shadow:none}.primary-button:disabled{opacity:.6}.primary-button span{font-size:19px;line-height:12px}.card-foot{font-size:7px;letter-spacing:.4px;margin-top:16px;font-weight:bold}.hidden{display:none!important}.cabinet-bottom{height:45px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;color:#dbd7c8;gap:10px}.controls-legend{display:flex;align-items:center;gap:15px;font-size:8px;letter-spacing:.5px}.controls-legend span{display:flex;align-items:center;gap:5px}kbd{font-family:var(--mono);display:inline-block;min-width:18px;padding:3px 4px;border:1px solid #858679;font-size:9px;line-height:1;text-align:center;border-radius:2px;box-shadow:0 1px 0 #858679}.dash-status{font-size:8px;letter-spacing:1px;display:flex;align-items:center;gap:8px}.dash-status i{display:block;width:24px;height:4px;background:var(--lime)}.touch-dash{user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;display:none;background:var(--lime);border:0;font-weight:bold;padding:8px 15px;color:var(--ink)}.leaderboard{border:1px solid var(--ink);background:#f9f5ea}.board-heading{padding:23px 21px 19px}.board-heading .eyebrow{font-size:7px;letter-spacing:1.2px}.board-heading h2{font-family:Georgia,serif;font-size:28px;font-weight:normal;letter-spacing:-1.3px;margin:10px 0 6px;display:flex;justify-content:space-between;align-items:center}.board-heading h2 span{color:var(--orange);font-family:var(--mono);font-size:31px}.board-heading p{font-size:10px;margin:0;color:#777568}.board-tabs{margin:0 20px;display:flex;border:1px solid var(--ink)}.board-tabs button{flex:1;border:0;background:transparent;font-size:9px;font-weight:bold;letter-spacing:.6px;padding:10px 0}.board-tabs button.active{background:var(--ink);color:var(--paper)}.board-tabs button span{font-size:7px;opacity:.6}.board-columns{font-size:8px;letter-spacing:1px;color:#8c897b;display:flex;justify-content:space-between;padding:21px 21px 10px}.scores{list-style:none;padding:0 20px;margin:0;height:227px;overflow:auto;scrollbar-width:thin;scrollbar-color:#c7bfae transparent}.score-row{display:flex;align-items:center;gap:11px;height:39px;border-top:1px solid #e0dacb;font-size:11px}.score-rank{color:#979283;font-size:10px;width:20px}.score-row:first-child .score-rank{color:var(--orange);font-weight:bold}.score-name{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;flex:1;font-weight:bold}.score-value{font-weight:bold;font-size:12px}.score-row.is-you{background:var(--lime)}.empty-board{font-size:11px;line-height:1.8;text-align:center;padding:37px 5px;color:#827e6e}.empty-board strong{display:block;color:var(--ink);margin:10px 0 5px;font-family:Georgia,serif;font-size:22px;font-weight:normal}.empty-board .empty-pizza{display:block;font-size:34px;color:var(--orange);line-height:1}.board-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding:10px 20px;color:#777568;font-size:7px;letter-spacing:.4px}.board-footer i{background:#7f9860;width:5px;height:5px;margin-right:5px}.board-footer button{background:none;border:0;font-size:20px;padding:0}.special-note{background:var(--lime);margin-top:19px;padding:18px 21px 15px;position:relative;transform:rotate(1deg);box-shadow:2px 2px 0 #cdcfaa}.special-note:before{content:'';position:absolute;top:0;right:0;border-top:17px solid var(--paper);border-left:17px solid #c0c783}.note-top{font-size:8px;font-weight:bold;letter-spacing:1px;display:flex;justify-content:space-between;align-items:center}.note-top span{font-size:21px;margin-right:4px}.special-note h3{font-family:Georgia,serif;font-size:25px;font-weight:normal;font-style:italic;line-height:1.04;letter-spacing:-.5px;margin:9px 0 12px}.special-note p{font-size:10px;line-height:1.75;margin:0}.note-bottom{font-size:7px;letter-spacing:.6px;font-weight:bold;display:block;border-top:1px solid #b5bb83;margin-top:14px;padding-top:11px}.ingredient-strip{display:flex;align-items:center;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:30px;padding:18px 0;gap:30px}.strip-title{font-size:9px;line-height:1.8;letter-spacing:1px;white-space:nowrap}.strip-title strong{font-size:11px}.ingredients{display:flex;justify-content:space-around;align-items:center;flex:1;gap:15px}.ingredient{display:flex;gap:9px;align-items:center}.ingredient canvas{width:34px;height:34px;image-rendering:pixelated}.ingredient span{font-size:9px;display:block;line-height:1.7}.ingredient b{display:block;font-size:9px;color:#8d8472;font-weight:normal}.strip-warning{display:flex;align-items:center;gap:10px;border-left:1px solid var(--line);padding-left:28px}.strip-warning p{font-size:9px;line-height:1.7;margin:0;white-space:nowrap}.burnt-icon{display:inline-grid;place-items:center;background:var(--ink);color:var(--paper);width:28px;height:28px;border-radius:50%}footer{display:flex;justify-content:space-between;align-items:center;padding:24px 0 29px;font-size:8px;letter-spacing:.6px;color:#8a8476;gap:15px}footer>span:nth-child(2){letter-spacing:0;font-size:10px}.footer-pizza{color:var(--orange);font-size:16px;margin-left:5px}.combo{position:absolute;left:22px;bottom:18px;color:var(--lime);text-shadow:3px 3px #222d2a}.combo strong{font-family:var(--display);font-size:48px;line-height:1;display:block}.combo span{font-size:9px;letter-spacing:2px;font-weight:bold}.frenzy-banner{position:absolute;top:16px;left:50%;transform:translateX(-50%) rotate(-2deg);background:var(--lime);color:#25352c;padding:11px 17px;font-size:12px;font-weight:bold;white-space:nowrap;box-shadow:4px 4px 0 #171b2299;z-index:4}.game-message,.combo,.frenzy-banner{pointer-events:none}.game-message{position:absolute;bottom:24px;left:50%;transform:translateX(-50%);text-align:center;background:#282720e8;color:var(--paper);font-size:10px;padding:0;z-index:8;width:max-content;max-width:90%}.game-message:not(:empty){padding:10px 14px}.results{padding:16px 24px;width:350px;transform:rotate(0);max-height:97%;overflow:auto}.results:before,.results:after{display:none}.results h2{font-size:47px;margin:13px 0 5px;line-height:.9}.result-score{font-size:36px;font-weight:bold;margin:8px 0 0;letter-spacing:1px}.results .result-stats{margin:0 0 12px;font-size:9px}.results form label{font-size:8px;letter-spacing:.8px;display:block;margin-bottom:8px;font-weight:bold}.name-row{display:flex;border:2px solid var(--ink)}.name-row input{width:100%;min-width:0;border:0;background:#fff9e8;color:var(--ink);padding:11px 9px;font-size:12px;border-radius:0}.name-row button{width:42px;border:0;background:var(--lime);border-left:2px solid var(--ink);font-size:23px}.results .save-status{font-size:9px;margin:9px 0;line-height:1.5;min-height:14px}.results .primary-button{padding:11px 13px;font-size:10px}.compact h2{font-size:65px}dialog{border:3px solid var(--ink);padding:34px;max-width:520px;width:calc(100% - 30px);background:var(--paper);box-shadow:8px 8px 0 var(--orange);color:var(--ink)}dialog::backdrop{background:#18231ad4;backdrop-filter:blur(4px)}dialog h2{font-family:Georgia,serif;font-size:37px;letter-spacing:-1px;line-height:1.1;margin:20px 0}dialog h2 em{color:var(--orange)}dialog p{font-size:12px}.dialog-close{position:absolute;right:15px;top:14px;background:none;border:0;font-size:20px}.help-controls{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:18px 0}.help-controls b{font-size:11px}.help-controls kbd{border-color:#b7af9e;box-shadow:0 1px #b7af9e}.dialog-done{margin-top:23px}.screen.is-playing{cursor:ew-resize}.screen.frenzy{box-shadow:inset 0 0 0 5px var(--lime)}.screen.frenzy canvas{filter:saturate(1.3)}@media(min-width:1500px){.page{max-width:1510px}.arcade-layout{grid-template-columns:minmax(0,1fr) 310px}.scores{height:258px}.special-note{padding:23px}.board-heading{padding-top:26px}}@media(max-width:1150px){.page{padding:0 30px}.arcade-layout{grid-template-columns:minmax(0,1fr) 250px;gap:18px}.intro>p{font-size:10px}.header-actions{gap:20px}.open-sign{display:none}.hud{padding:13px 18px}.board-heading{padding:18px}.scores{height:180px}.special-note{padding:15px 18px}.special-note h3{font-size:22px}.special-note p{font-size:9px}.title-card{width:290px;padding:20px 25px 15px}.title-card h2{font-size:60px;margin:16px 0 12px}.title-card p{margin:12px 0}.ingredient-strip{gap:22px}.ingredient{flex-direction:column;gap:2px;text-align:center}.strip-warning{padding-left:20px}.results{padding:12px 22px}.results h2{font-size:38px;margin:11px 0 4px}.result-score{font-size:29px}.results .result-stats{font-size:8px;margin-bottom:8px}.results .save-status{margin:5px 0}.name-row input{padding:8px}.results .primary-button{padding:9px 10px}.cabinet-top>span:nth-child(2){font-size:7px;letter-spacing:.6px}footer>span:nth-child(2){font-size:9px}}@media(max-width:850px){.page{padding:0 23px}.masthead{height:91px}.brand{font-size:27px}.brand-icon{width:52px;height:57px}.brand small{font-size:7px;letter-spacing:1.5px}.header-actions{gap:18px}.sound-button span{display:none}.sound-button{padding:8px}.intro{padding:25px 0}.intro>p{max-width:220px;line-height:1.7}.intro>p br{display:none}h1{font-size:44px;letter-spacing:-1.8px}.arcade-layout{grid-template-columns:minmax(0,1fr)}.sidebar{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;margin-top:6px}.special-note{margin:0;align-self:start;padding:24px;transform:rotate(1deg)}.special-note h3{font-size:34px}.special-note p{font-size:11px}.note-top{font-size:9px}.note-bottom{font-size:8px}.scores{height:170px}.board-heading{padding-bottom:14px}.board-heading h2{font-size:28px}.board-columns{padding-top:16px}.ingredients{gap:12px}.ingredient-strip{margin-top:25px}.strip-warning{display:none}.title-card{width:330px;padding:24px 26px 18px}.title-card h2{font-size:74px}.title-card p{margin:15px 0}.results{width:350px;padding:18px 24px}.results h2{font-size:54px}.result-score{font-size:36px}.results .result-stats{font-size:10px}.results .save-status{font-size:10px;margin:9px 0}.name-row input{padding:11px}.results .primary-button{padding:12px 14px}.cabinet-top>span:nth-child(2){font-size:8px}footer>span:first-child{display:none}}@media(max-width:520px){.page{padding:0 14px}.ticker{height:24px;font-size:8px;line-height:22px;letter-spacing:1px}.masthead{height:80px}.brand{font-size:23px;gap:7px}.brand-icon{width:43px;height:48px}.brand small{font-size:6px;letter-spacing:1.25px;margin-top:7px}.header-actions{gap:12px}.text-button{font-size:10px}.text-button span{display:none}.sound-button{border:0;padding:5px}.intro{display:block;padding:25px 0 21px}.intro .eyebrow{font-size:8px}h1{font-size:43px;letter-spacing:-1.5px}.intro>p{max-width:none;font-size:10px;margin:12px 0 0;line-height:1.7}.intro>p br{display:block}.arcade-layout{gap:18px}.cabinet{border-width:2px;box-shadow:3px 4px 0 #d8d1bf}.cabinet-top{height:30px;padding:0 11px;font-size:8px;letter-spacing:.5px}.cabinet-top>span:nth-child(2){display:none}.hud{padding:12px 13px}.hud-label{font-size:6px;letter-spacing:.7px;margin-bottom:5px}.hud strong{font-size:23px;letter-spacing:1px}.hud-lives strong{font-size:17px;letter-spacing:1px}.screen{aspect-ratio:4/3}.screen canvas{object-fit:fill}.title-card{width:240px;padding:15px 22px 12px;max-width:82%;border-width:2px;box-shadow:5px 5px 0 #1c292b9c}.edition{font-size:6px;letter-spacing:.8px}.title-card h2{font-size:54px;margin:12px 0 9px}.title-card p{font-size:9px;line-height:1.4;margin:10px 0}.title-card:before,.title-card:after{font-size:17px;left:8px}.title-card:after{left:auto;right:8px}.primary-button{font-size:10px;padding:11px 12px}.card-foot{font-size:5px;letter-spacing:.4px;margin-top:10px}.cabinet-bottom{height:46px;padding:0 10px}.controls-legend{gap:9px}.controls-legend span{display:none}.controls-legend:after{content:'DRAG TO MOVE';font-size:8px;letter-spacing:.7px}.dash-status{display:none}.hud-control{min-width:82px}.touch-dash{display:block;min-width:82px;min-height:44px;touch-action:none;border:2px solid var(--ink);box-shadow:2px 2px 0 #b8bea0;font-size:11px}.touch-dash:disabled{opacity:.45}.touch-dash.is-dashing{background:var(--orange);color:var(--paper)}.bottom-control{display:flex}.bottom-control .hud-lives{display:flex;align-items:center;gap:8px}.bottom-control .hud-label{margin:0;color:#b9b7aa}.bottom-control .hud-lives strong{font-size:19px;white-space:nowrap}.sidebar{grid-template-columns:1fr;gap:18px}.board-heading{padding:23px 20px 18px}.board-heading .eyebrow{font-size:8px}.board-heading h2{font-size:32px}.scores{height:206px}.special-note{padding:22px 24px;transform:rotate(-1deg)}.special-note h3 br{display:none}.special-note h3{font-size:30px;margin:10px 0}.special-note p{font-size:11px;max-width:300px}.ingredients{justify-content:space-between;gap:5px}.ingredient-strip{gap:12px;padding:15px 0}.strip-title{font-size:6px;letter-spacing:.6px}.strip-title strong{font-size:8px}.ingredient canvas{width:26px;height:26px}.ingredient span{font-size:6px}.ingredient b{font-size:7px}.results{width:260px;padding:11px 18px;max-width:90%}.results h2{font-size:32px;line-height:.84;margin:9px 0 4px}.result-score{font-size:25px;margin-top:5px}.results .result-stats{font-size:7px;margin:2px 0 7px}.results form label{font-size:6px;margin-bottom:5px}.name-row input{padding:8px;font-size:10px}.name-row button{font-size:19px}.results .save-status{font-size:8px;margin:5px 0;min-height:10px}.results .primary-button{padding:8px 10px;font-size:8px}.combo{left:12px;bottom:12px}.combo strong{font-size:32px}.combo span{font-size:6px}.frenzy-banner{font-size:8px;padding:8px 10px;top:10px}.game-message{font-size:8px;bottom:10px}footer{font-size:6px;padding:22px 0;gap:10px}footer>span:nth-child(2){font-size:8px;max-width:220px;line-height:1.7}footer>span:last-child{white-space:nowrap}dialog{padding:25px}dialog h2{font-size:31px}dialog p{font-size:11px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* The cabinet keeps its own controls and aspect ratio in native or expanded play. */
.cabinet-tools{display:flex;align-items:center;gap:12px}.cabinet-tools #fullscreen-button{border:1px solid #777769;padding:5px 7px;font-size:8px;letter-spacing:.6px;min-height:28px}.cabinet-tools #fullscreen-button:hover{color:var(--lime);border-color:var(--lime)}.cabinet-tools #pause-button{min-width:28px;min-height:28px}.fullscreen-tip{display:none}
body.game-expanded{overflow:hidden;overscroll-behavior:none;background:var(--ink)}
.cabinet.is-expanded{position:fixed;inset:0;z-index:50;width:100%;height:100vh;height:100dvh;display:flex;flex-direction:column;border:0;border-radius:0;box-shadow:none;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}
.is-expanded .cabinet-top,.is-expanded .hud,.is-expanded .cabinet-bottom{flex-shrink:0}.is-expanded .cabinet-top{height:44px}.is-expanded .cabinet-tools button{min-height:36px}.is-expanded .cabinet-tools #fullscreen-button{font-size:9px;padding:5px 10px}.is-expanded .screen{flex:1;min-height:0;aspect-ratio:auto;display:flex;align-items:center;justify-content:center;background:#182b27}.is-expanded canvas{flex:none}.is-expanded .hud{padding:10px 16px}.is-expanded .hud strong{font-size:24px}.is-expanded .hud-control{min-width:82px}.is-expanded .touch-dash{display:block;min-width:82px;min-height:44px;border:2px solid var(--ink);box-shadow:2px 2px 0 #b8bea0;font-size:11px}.is-expanded .touch-dash:disabled{opacity:.45}.is-expanded .touch-dash.is-dashing{background:var(--orange);color:var(--paper)}.is-expanded .dash-status{display:none}.is-expanded .bottom-control{display:flex}.is-expanded .bottom-control .hud-lives{display:flex;align-items:center;gap:8px}.is-expanded .bottom-control .hud-label{margin:0;color:#b9b7aa}.is-expanded .bottom-control .hud-lives strong{font-size:19px;white-space:nowrap}.is-expanded .cabinet-bottom{height:36px}.is-expanded .title-card{width:270px;max-height:96%;overflow:auto;padding:12px 22px}.is-expanded .title-card h2{font-size:49px;margin:12px 0 9px}.is-expanded .title-card p{font-size:10px;line-height:1.5;margin:10px 0}.is-expanded .edition{font-size:7px}.is-expanded .primary-button{font-size:10px;padding:10px 12px}.is-expanded .card-foot{font-size:6px;margin-top:10px}.is-expanded .results h2{font-size:32px;margin:8px 0 4px}.is-expanded .result-score{font-size:25px;margin-top:4px}.is-expanded .results .result-stats{font-size:7px;margin:2px 0 7px}.is-expanded .results form label{font-size:7px}.is-expanded .results .save-status{font-size:8px;margin:5px 0}.is-expanded .name-row input{font-size:16px;padding:7px 9px}
@media(orientation:portrait){.is-expanded .fullscreen-tip{display:block;position:absolute;bottom:65px;left:0;right:0;text-align:center;color:#99aa8e;font-size:8px;font-weight:bold;letter-spacing:1.3px;line-height:1.8;pointer-events:none}.is-expanded .cabinet-top>span:nth-child(2){display:none}}
@media(orientation:landscape){.is-expanded .cabinet-top{position:absolute;top:env(safe-area-inset-top);right:calc(env(safe-area-inset-right) + 8px);z-index:10;height:64px;padding:0}.is-expanded .cabinet-top>span{display:none}.is-expanded .cabinet-tools{gap:5px}.is-expanded .cabinet-tools #fullscreen-button{font-size:9px}.is-expanded .title-card{padding:10px 20px}.is-expanded .title-card h2{font-size:44px}.is-expanded .title-card p{margin:8px 0}.is-expanded .game-message{bottom:8px}.is-expanded .game-message:not(:empty){padding:6px 10px}.is-expanded .frenzy-banner{top:6px;font-size:8px;padding:6px 10px}}
@media(max-width:520px){.cabinet-tools{gap:6px}.cabinet-tools #fullscreen-button{font-size:7px;letter-spacing:.3px;padding:4px 6px}.cabinet-tools #pause-button{min-width:22px}}

/* Results and pause cards can scroll when the on-screen keyboard takes space. */
.cabinet:has(.game-overlay:not(.hidden)),.screen:has(.game-overlay:not(.hidden)){touch-action:pan-y}
.is-expanded .cabinet-tools #fullscreen-button,.is-expanded .cabinet-tools #pause-button{min-height:44px;min-width:36px}


@media(orientation:landscape){
 .is-expanded .screen{width:calc(100% - 220px);margin-left:110px}
 .is-expanded .hud{position:absolute;top:env(safe-area-inset-top);bottom:env(safe-area-inset-bottom);left:env(safe-area-inset-left);width:110px;min-height:0;flex-direction:column;justify-content:center;gap:30px;padding:12px 6px;background:var(--ink);border:0;color:var(--paper)}
 .is-expanded .hud>div{text-align:center}.is-expanded .hud .hud-label{color:#b9b7aa;letter-spacing:.7px}.is-expanded .hud strong{font-size:23px;letter-spacing:1px}
 .is-expanded .hud-control{position:fixed;top:calc(env(safe-area-inset-top) + 78px);right:calc(env(safe-area-inset-right) + 14px);width:82px}
 .is-expanded .cabinet-tools button{color:var(--paper)}.is-expanded .cabinet-tools #fullscreen-button{border-color:#777769}.is-expanded .cabinet-tools #fullscreen-button:hover{background:var(--lime);color:var(--ink)}
 .is-expanded .cabinet-bottom{position:absolute;bottom:env(safe-area-inset-bottom);right:env(safe-area-inset-right);width:110px;height:65px;justify-content:center;padding:8px 4px}.is-expanded .controls-legend{display:none}
 .is-expanded .bottom-control .hud-lives{flex-direction:column;gap:5px}.is-expanded .bottom-control .hud-label{font-size:6px;letter-spacing:.5px}
}
@media(pointer:coarse){.is-expanded .controls-legend span{display:none}.is-expanded .controls-legend:after{content:'DRAG TO MOVE';font-size:8px;letter-spacing:.7px}}

@media(pointer:coarse){.hud-control{min-width:82px}.touch-dash{display:block;min-width:82px;min-height:44px;border:2px solid var(--ink);box-shadow:2px 2px 0 #b8bea0;font-size:11px}.touch-dash:disabled{opacity:.45}.touch-dash.is-dashing{background:var(--orange);color:var(--paper)}.dash-status{display:none}.bottom-control{display:flex}.bottom-control .hud-lives{display:flex;align-items:center;gap:8px}.bottom-control .hud-label{margin:0;color:#b9b7aa}.bottom-control .hud-lives strong{font-size:19px;white-space:nowrap}.controls-legend span{display:none}.controls-legend:after{content:'DRAG TO MOVE';font-size:8px;letter-spacing:.7px}}

/* The visible Dash panel is the whole touch target, not just its label. */
.dash-area-hint{display:none}
.is-expanded.has-dash-zone .hud-control{display:contents}
.is-expanded .touch-dash.dash-zone{position:fixed;z-index:8;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;min-width:0;min-height:0;padding:14px 8px;margin:0;border:1px solid #74805266;border-radius:0;background:#29372a;color:var(--lime);box-shadow:inset 0 0 0 5px #dfe69c08;touch-action:none}
.dash-zone #dash-label{display:block;background:var(--lime);color:var(--ink);border:2px solid var(--ink);box-shadow:3px 3px 0 #121e19;padding:12px 14px;font-size:13px;font-weight:bold;white-space:nowrap}
.dash-zone .dash-area-hint{display:block;font-size:7px;letter-spacing:.5px;line-height:1.7;text-align:center;max-width:100%}
.is-expanded .touch-dash.dash-zone:active{border-color:var(--lime);background:#3b4b2d}
.is-expanded .touch-dash.dash-zone.is-dashing{border-color:var(--orange);background:#653b28}
.dash-zone.is-dashing #dash-label{background:var(--orange);color:var(--paper)}
/* Overlays keep the entire stage clear for starting, resuming and score entry. */
.is-expanded:has(.game-overlay:not(.hidden)) .touch-dash.dash-zone{visibility:hidden}
@media(orientation:portrait){.is-expanded .touch-dash.dash-zone{justify-content:flex-end;padding-bottom:18px;gap:10px}}
@media(orientation:landscape){.is-expanded.has-dash-zone .cabinet-bottom{z-index:9;pointer-events:none}.is-expanded .dash-zone .dash-area-hint{font-size:6px;letter-spacing:0}.is-expanded .dash-zone #dash-label{padding:12px 10px}}
