:root{color-scheme:dark;--bg:#171714;--card:#23231e;--yellow:#ffcd38;--cream:#f8f3e3;--muted:#aaa99c;--red:#ff7167;--line:#3d3d32;font-family:Arial,Helvetica,sans-serif;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:#10110f;color:var(--cream);overscroll-behavior:none}button,input{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible{outline:3px solid #fff;outline-offset:3px}button:disabled{opacity:.55;cursor:wait}button{color:inherit}button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.hidden{display:none!important}.game-shell{width:100%;max-width:440px;margin:auto;background:var(--bg);min-height:100svh;position:relative;isolation:isolate}.topbar{height:74px;padding:8px 22px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);position:relative;z-index:3}.brand{display:flex;align-items:center;gap:10px;padding:0;border:0;background:none;text-align:left}.brand img{width:59px;height:59px;object-fit:contain}.brand span{font-size:8px;line-height:1.65;letter-spacing:1.3px;color:var(--muted)}.brand b{color:var(--cream)}.top-actions{display:flex;gap:8px}.icon-button{width:42px;height:42px;border:1px solid var(--line);border-radius:50%;background:#24251f;display:grid;place-items:center}.screen{padding:20px 24px 18px}.eyebrow{font-size:9px;letter-spacing:2px;font-weight:800;color:var(--muted);margin:0 0 12px}.eyebrow i{display:inline-block;width:6px;height:6px;background:var(--yellow);border-radius:50%;margin-right:6px}.title-wrap{position:relative;z-index:2}h1,h2{font-family:Impact,'Arial Narrow',Arial,sans-serif;font-stretch:condensed;font-weight:900;letter-spacing:-2px;line-height:.84;margin:0;font-size:clamp(65px,20vw,88px);font-style:italic}h1 em,h2 em{color:var(--yellow);font-style:inherit}h2{font-size:64px}.start-screen{text-align:center;padding-top:23px}.hero-scene{height:230px;position:relative;margin-top:-11px}.hero-orbit{position:absolute;width:240px;height:205px;left:50%;top:14px;transform:translateX(-50%) rotate(-12deg);border-radius:50%;background:radial-gradient(ellipse,#78601d 0%,#3a3320 45%,#1d1e1800 72%);border:1px dashed #a1843b55}.hero-burger{width:234px;height:234px;position:absolute;left:50%;top:0;transform:translateX(-50%) rotate(-7deg);filter:drop-shadow(0 20px 12px #0008);animation:float 4s ease-in-out infinite}.hero-side{width:117px;position:absolute;top:86px;filter:drop-shadow(0 9px 9px #0007)}.hero-fries{left:-8px;transform:rotate(-19deg)}.hero-cake{right:-8px;transform:rotate(16deg)}.round-stamp{position:absolute;right:-5px;top:8px;border-radius:50%;width:81px;height:81px;background:var(--yellow);color:#191a13;border:2px solid #171714;outline:1px solid var(--yellow);display:flex;flex-direction:column;justify-content:center;transform:rotate(13deg)}.round-stamp b{font:italic 33px/1 Impact,'Arial Narrow',sans-serif}.round-stamp span{font-size:7px;line-height:1.25;font-weight:900}.hero-tag{position:absolute;bottom:0;left:50%;transform:translateX(-50%) rotate(-4deg);white-space:nowrap;color:var(--bg);background:var(--cream);padding:7px 14px;font-size:10px;font-weight:900;letter-spacing:1px;box-shadow:3px 3px 0 #000}.hero-star{position:absolute;font-size:28px;color:var(--yellow)}.star-one{left:22px;top:24px}.star-two{right:5px;bottom:31px;font-size:19px}.instruction{font-size:13px;font-weight:700;margin:19px 0 3px}.quick-guide{display:flex;justify-content:center;gap:21px;height:55px;align-items:center}.quick-guide>span{display:flex;align-items:center;gap:4px;font-size:12px}.quick-guide img{height:38px;width:38px;object-fit:contain}.quick-guide b{color:var(--yellow)}.quick-guide .bad b{color:var(--red)}.primary-button{width:100%;min-height:55px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px;border:0;border-bottom:4px solid #bc8c13;background:var(--yellow);color:#181a14;border-radius:10px;font-size:16px;font-weight:900;letter-spacing:.3px;box-shadow:0 5px 0 #0005;transition:transform .1s,background .1s}.primary-button:active{transform:translateY(2px)}.primary-button:hover{background:#ffda62}.primary-button>span:last-child:not(:first-child){font-size:26px;line-height:1}.leaderboard-button{display:flex;align-items:center;gap:13px;justify-content:space-between;width:100%;min-height:62px;margin-top:12px;background:#24251f;border:1px solid #56513b;border-radius:10px;padding:10px 16px;text-align:left;font-weight:900;font-size:13px}.leaderboard-button small{display:block;margin-top:5px;font-size:7px;color:var(--muted);letter-spacing:1px}.trophy{font-size:27px;color:var(--yellow)}.leaderboard-button>span:nth-child(2){flex:1}.start-meta{display:flex;align-items:center;justify-content:space-between;margin-top:9px}.start-meta>span{font-size:7px;letter-spacing:1px;color:var(--muted)}.text-button{background:none;border:0;color:var(--muted);min-height:44px;padding:9px 0;font-size:12px;text-decoration:underline;text-underline-offset:3px}.status{font-size:12px;line-height:1.5;color:var(--muted);margin:10px 0;overflow-wrap:anywhere}.status:empty{display:none}.outline-button{width:100%;min-height:48px;border:1px solid var(--line);background:var(--card);border-radius:9px;font-size:12px;font-weight:800;margin-top:12px;padding:10px}.desktop-note,.desktop-footer{display:none}
/* The game uses the available phone height; only the board is scaled, equally on both axes. */
.game-shell.playing{height:100svh;height:100dvh;min-height:0;overflow:hidden;display:flex;flex-direction:column}.playing .topbar{flex-shrink:0;height:62px}.playing .brand img{height:48px;width:48px}.play-screen{padding:0 12px max(6px,env(safe-area-inset-bottom));display:flex;flex:1;flex-direction:column;min-height:0}.scoreboard{height:71px;display:flex;justify-content:space-between;align-items:center;padding:8px 12px;gap:8px;flex-shrink:0}.label{display:block;font-size:8px;letter-spacing:1.7px;color:var(--muted);font-weight:bold}.scoreboard strong{display:block;font:36px/1 Impact,'Arial Narrow',sans-serif;letter-spacing:1px;margin-top:3px}.combo{text-align:center;font-size:8px;letter-spacing:.6px;color:var(--muted)}.combo-dots{display:flex;justify-content:center;gap:4px;margin-bottom:8px}.combo-dots i{width:11px;height:6px;border-radius:3px;background:#44443a}.combo-dots i.on{background:var(--yellow);box-shadow:0 0 6px #ffcd3833}.clock{display:flex;align-items:baseline;gap:3px}.clock .label{align-self:flex-start;margin-top:4px}.clock strong{color:var(--yellow);font-size:43px;min-width:44px}.clock .unit{font-size:12px;color:var(--muted)}.time-track{height:4px;background:#3a3a2f;border-radius:3px;overflow:hidden;margin:0 10px 9px;flex-shrink:0}.time-track>div{height:100%;width:100%;background:var(--yellow)}.time-track.urgent>div{background:var(--red)}.stage{position:relative;flex:1;min-height:0;overflow:hidden;border-radius:12px;border:1px solid #383a2e;background:radial-gradient(ellipse at center,#2c2c203d,#191b1600),repeating-linear-gradient(0deg,transparent 0 39px,#dadba205 39px 40px),repeating-linear-gradient(90deg,transparent 0 39px,#dadba205 39px 40px),#1d1f18;touch-action:none;user-select:none;-webkit-user-select:none}.stage.slow{box-shadow:inset 0 0 40px #ffcd3819;border-color:#998241}.stage-mark{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) rotate(-12deg);font:italic 73px/.87 Impact,sans-serif;color:#494b3033;pointer-events:none}.stage-mark b{color:#77704420}#game-world{width:390px;height:530px;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) scale(var(--board-scale,1));transform-origin:center;touch-action:none;overflow:hidden}.target{position:absolute;left:0;top:0;width:112px;height:112px;margin:0;padding:3px;border:0;background:none;touch-action:none;user-select:none;will-change:transform}.target img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;-webkit-user-drag:none;filter:drop-shadow(0 6px 4px #0006)}.target[data-type=gold] img{filter:drop-shadow(0 0 10px #ffbf00aa)}.target[data-type=logo]{background:radial-gradient(ellipse,#eed85e50,transparent 70%)}.target-badge{position:absolute;bottom:0;left:50%;transform:translateX(-50%);font-size:12px;font-weight:900;padding:3px 8px;border-radius:5px;background:var(--yellow);color:var(--bg);white-space:nowrap;pointer-events:none;border:1px solid #1b1b15}.target[data-type=poison] .target-badge{background:#dcf3ae}.target[data-type=pan] .target-badge{background:#ddd6c4}.bonus-label{position:absolute;top:11px;left:50%;transform:translateX(-50%);background:var(--yellow);color:#171714;padding:7px 10px;border-radius:6px;font-size:9px;font-weight:900;white-space:nowrap;pointer-events:none}.bonus-label b{margin-left:5px}.stage-hint{position:absolute;bottom:26px;left:50%;transform:translateX(-50%);font-size:10px;letter-spacing:1px;font-weight:900;color:var(--muted);pointer-events:none}.stage-hint span{display:block;text-align:center;font-size:22px;margin-top:4px}.round-mode{position:absolute;bottom:7px;left:50%;transform:translateX(-50%);font-size:8px;color:var(--yellow);background:#171714dd;padding:5px 9px;white-space:nowrap;pointer-events:none}.commentator{display:flex;align-items:center;gap:10px;min-height:44px;flex-shrink:0;padding:5px 10px}.commentator>span{color:var(--yellow);font-size:25px}.commentator p{font-size:11px;font-weight:700;line-height:1.4;margin:0}.smoke-cover{position:absolute;z-index:3;background:radial-gradient(ellipse,#b4b3aafa 20%,#64675df5 55%,#555a50cc 70%,transparent 75%);border-radius:45%;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#161811;pointer-events:none;text-align:center}.smoke-cover b{font-size:18px;transform:rotate(-4deg)}.smoke-cover span{font-size:12px;margin-top:8px}.float-text{position:absolute;z-index:5;pointer-events:none;transform:translateX(-50%);font:900 27px/1 Impact,sans-serif;letter-spacing:1px;color:var(--yellow);text-shadow:2px 2px 0 #000;animation:float-point .7s ease-out forwards;white-space:nowrap}.float-text.bad{color:#fff0da;font-size:20px}.tap-ring{position:absolute;width:70px;height:70px;border:3px solid var(--yellow);border-radius:50%;pointer-events:none;animation:ring .3s ease-out forwards}
.result-screen,.standings-screen{text-align:center;padding-top:26px}.result-screen h2{font-size:66px}.result-ticket{position:relative;background:#f4edda;color:#22251c;border-radius:12px;margin-top:22px;padding:19px 12px 15px;box-shadow:0 5px 0 #090a0755}.result-ticket>img{position:absolute;width:72px;height:72px;top:-29px;right:5px;transform:rotate(12deg)}.result-ticket>.label{color:#74725f;font-weight:900}.result-ticket>strong{display:block;font:72px/1.2 Impact,sans-serif;letter-spacing:1px}.rank-stamp{font-size:10px;letter-spacing:1px;font-weight:900;background:var(--yellow);padding:6px 10px;display:inline-block;transform:rotate(-2deg)}.result-stats{display:flex;justify-content:space-around;gap:5px;margin-top:22px;padding-top:12px;border-top:1px dashed #b8b49f;font-size:7px;font-weight:800}.result-stats b{display:block;font-size:19px;margin-bottom:5px}.final-quote{font-size:13px;font-weight:700;margin:18px 0}.score-form{text-align:left;margin:19px 0}.score-form>label{font-size:9px;letter-spacing:1px;font-weight:800}.input-row{display:flex;gap:7px;margin-top:8px}.input-row input{width:0;min-width:0;flex:1;background:#272921;border:1px solid #595b4b;color:var(--cream);font-size:16px;padding:12px;border-radius:7px;min-height:48px}.save-button{background:var(--yellow);color:#1b1b14;border:0;border-radius:7px;font-size:10px;font-weight:900;padding:10px 12px}.public-note,.weekly-rule{font-size:10px;line-height:1.6;color:var(--muted)}.claim-card{border:1px dashed var(--yellow);border-radius:10px;padding:13px;margin:18px 0;background:#ffcd380a}.claim-card>span{font-size:8px;letter-spacing:1px;color:var(--yellow);font-weight:800}.claim-card strong{display:block;font-family:monospace;font-size:21px;letter-spacing:1px;margin:10px 0}.claim-card p{font-size:10px;line-height:1.5;color:var(--muted);margin:0}.back-button{display:block;margin-top:-20px}.week-label{display:inline-block;border:1px solid #5e593d;color:var(--yellow);font-size:10px;letter-spacing:1px;padding:8px 12px;border-radius:30px;margin:20px 0}.leaderboard-list{list-style:none;margin:8px 0 0;padding:0}.leaderboard-entry{display:flex;align-items:center;gap:13px;text-align:left;border:1px solid var(--line);border-radius:10px;padding:17px 14px;margin:9px 0;background:var(--card);min-height:80px}.leaderboard-entry:first-child{border-color:#b99b3e;background:linear-gradient(135deg,#54451d,#282820)}.entry-place{font:34px/1 Impact,sans-serif;color:var(--yellow);width:30px}.leaderboard-person{flex:1;min-width:0}.entry-name{font-size:14px;overflow-wrap:anywhere}.podium-label{display:block;font-size:8px;letter-spacing:1px;color:var(--muted);margin-top:7px}.entry-score{font:27px/1 Impact,sans-serif;color:var(--yellow);letter-spacing:.5px}.entry-score small{display:block;font:7px Arial;text-align:right;color:var(--muted);margin-top:5px}.own-rank{background:#303023;border-radius:8px;padding:12px;font-size:12px}.prize-note{margin:16px 0 12px;border-top:1px solid var(--line);padding-top:24px}.prize-note>b{font:italic 25px/1.1 Impact,sans-serif;letter-spacing:.3px;color:var(--yellow)}.prize-note p{font-size:11px;line-height:1.6;color:var(--muted)}.weekly-rule{margin:15px 0 20px}.full-overlay{position:absolute;inset:0;z-index:10;background:#181a15f7;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:28px;text-align:center;min-height:100%;backdrop-filter:blur(10px)}.full-overlay>span{font-size:11px;letter-spacing:2px;color:var(--yellow);font-weight:900}.full-overlay>strong{font:italic 160px/1.3 Impact,sans-serif;color:var(--yellow)}.full-overlay>p{font-size:12px;line-height:1.8;color:var(--muted);margin:20px 0 26px}.full-overlay .primary-button{justify-content:center}.full-overlay .eyebrow{margin-bottom:18px}dialog{color:var(--cream);border:1px solid #57563f;background:var(--bg);border-radius:17px;width:calc(100% - 24px);max-width:410px;max-height:90svh;padding:25px;overscroll-behavior:contain}dialog::backdrop{background:#090a07c9;backdrop-filter:blur(5px)}dialog h2{font-size:47px}.close-rules{position:absolute;top:14px;right:14px;font-size:27px}.rules-grid{margin-top:20px}.rules-grid>div{display:flex;align-items:center;gap:14px;margin:8px 0}.rules-grid img{width:55px;height:55px;object-fit:contain}.rules-grid p{margin:0;font-size:12px}.rules-grid p>span{display:block;color:var(--muted);font-size:11px;margin-top:5px}.rule-combo{font-size:12px;line-height:1.5;background:#ffcd3810;padding:12px;border-radius:8px;color:var(--yellow)}dialog .primary-button{font-size:12px;margin-top:15px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@keyframes float{0%,100%{transform:translateX(-50%) rotate(-7deg) translateY(0)}50%{transform:translateX(-50%) rotate(-4deg) translateY(-7px)}}@keyframes float-point{to{opacity:0;transform:translate(-50%,-55px) scale(1.08)}}@keyframes ring{from{transform:translate(-50%,-50%) scale(.3);opacity:1}to{transform:translate(-50%,-50%) scale(1.25);opacity:0}}
@media(max-height:760px){.topbar{height:63px}.brand img{width:49px;height:49px}.start-screen{padding-top:16px}.start-screen h1{font-size:65px}.start-screen .eyebrow{font-size:8px;margin-bottom:9px}.hero-scene{height:187px;margin-top:-4px}.hero-burger{width:192px;height:192px}.hero-side{width:95px;top:71px}.hero-orbit{width:212px;height:167px}.round-stamp{width:68px;height:68px;right:7px;top:3px}.round-stamp b{font-size:28px}.round-stamp span{font-size:6px}.instruction{margin-top:14px;font-size:12px}.quick-guide{height:47px}.primary-button{min-height:51px;padding-top:11px;padding-bottom:11px}.leaderboard-button{min-height:56px;margin-top:10px}.start-meta{margin-top:3px}.start-screen{padding-bottom:8px}}
@media(max-width:350px){.screen{padding-left:17px;padding-right:17px}.brand span{font-size:7px}.topbar{padding-left:16px;padding-right:16px}.hero-side{width:83px}.hero-fries{left:-8px}.hero-cake{right:-8px}.round-stamp{right:-4px}.start-meta>span{font-size:6px}.quick-guide{gap:12px}.play-screen{padding-left:7px;padding-right:7px}}
@media(min-width:720px){body{background:radial-gradient(ellipse at 16% 40%,#42402a36,transparent 40%),repeating-linear-gradient(135deg,#ffffff02 0 1px,transparent 1px 13px),#10110f;padding:18px 0}.game-shell{border:1px solid #434437;border-radius:24px;overflow:hidden;box-shadow:0 20px 80px #0008;min-height:0;width:420px}.game-shell.playing{height:calc(100dvh - 65px)}.start-screen{padding-top:16px;padding-bottom:10px}.hero-scene{height:195px}.hero-burger{width:203px;height:203px}.hero-side{width:98px;top:77px}.start-screen h1{font-size:68px}.desktop-footer{display:flex;justify-content:space-between;max-width:420px;margin:12px auto 0;font-size:7px;letter-spacing:1.1px;color:#777967}.desktop-note{display:block;position:fixed;left:max(24px,calc(50% - 530px));top:38%;transform:rotate(-6deg)}.desktop-note>span{font:italic 50px/.95 Impact,sans-serif;letter-spacing:-1px;color:#767969}.desktop-note b{color:#d6b64d}.desktop-note p{font-size:8px;letter-spacing:2px;color:#626453;margin-top:24px}.screen{padding-left:26px;padding-right:26px}.play-screen{padding-left:12px;padding-right:12px}}
@media(min-width:720px) and (max-width:1100px){.desktop-note{display:none}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}.float-text{opacity:1}.hero-burger{transform:translateX(-50%) rotate(-7deg)}}
@media(max-width:719px) and (max-height:640px){.topbar{height:56px}.brand img{width:43px;height:43px}.start-screen{padding-top:11px}.start-screen h1{font-size:55px}.start-screen .eyebrow{margin-bottom:8px}.hero-scene{height:150px}.hero-burger{width:157px;height:157px}.hero-side{width:78px;top:60px}.hero-orbit{height:137px;width:180px}.round-stamp{height:59px;width:59px}.round-stamp b{font-size:23px}.round-stamp span{font-size:5px}.hero-tag{font-size:8px;padding:6px 10px}.instruction{margin-top:11px}.quick-guide{height:42px}.quick-guide img{width:31px;height:31px}.leaderboard-button{min-height:52px;margin-top:8px}.start-meta .text-button{min-height:37px}.start-screen .primary-button{min-height:48px}.playing .topbar{height:54px}.scoreboard{height:65px}.commentator{min-height:38px}}
