:root{--font-body: "Chakra Petch", "Segoe UI", system-ui, sans-serif;--ink: #0b0d12;--bg: #1b1c22;--bg-deep: #10131b;--panel: #222a3a;--panel-deep: #1c2331;--board: #1b2130;--board-head: #151a26;--raise: #2c3549;--raise-hi: #36415a;--line: #0b0d12;--rim: #3a4660;--shadow: rgba(0, 0, 0, .45);--text: #e9eef4;--muted: #9aa6b8;--accent: #ffd23f;--accent-hi: #ffe27a;--accent-lo: #b8901a;--coin: #ffd23f;--blue: #3fa9ff;--cyan: #8fe3ff;--red: #ff3348}*{box-sizing:border-box}body{margin:0;min-height:100vh;display:flex;flex-direction:column;align-items:center;background-color:var(--bg);color:var(--text);font-family:var(--font-body)}#loader{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:flex;flex-direction:column;align-items:center;justify-content:center;background:var(--bg)}#loader>*{opacity:0;animation:loader-in .2s ease .5s forwards}@keyframes loader-in{to{opacity:1}}#loader-runner{width:80px;height:80px;background:none;border:none;border-radius:0;box-shadow:none;image-rendering:pixelated}.loader-ground{width:140px;border-radius:0}#loader p{margin:16px 0 0;font-size:14px;color:var(--muted)}#loader.leaving{opacity:0;pointer-events:none;transition:opacity .45s ease}#loader.leaving #loader-runner{transform:translate(60vw);transition:transform .45s cubic-bezier(.5,0,.9,.4)}#top{width:100%}#top .brand{margin:0}.top-left{display:flex;flex-direction:column;align-items:flex-start;gap:8px}#back-to-game{font-size:13px;padding:4px 12px;color:var(--text);text-decoration:none}#back-to-game[hidden]{display:none}.top-right{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px 16px;align-self:flex-start}#top button{white-space:nowrap}#top .short{display:none}#day .number{color:#fff;font-variant-numeric:tabular-nums}#day .dot{display:inline-block;width:6px;height:6px;margin:0 8px;vertical-align:middle}#try-tomorrow[hidden],#play-archive[hidden]{display:none}.archive-list{list-style:none;margin:0;padding:0;max-height:50vh;overflow-y:auto}.archive-list a{display:flex;justify-content:space-between;gap:12px;padding:8px 12px;color:var(--text);text-decoration:none}.archive-list li:nth-child(odd) a{background:var(--raise)}.archive-list a:hover{outline:1px solid var(--accent)}.archive-list .archive-day{color:var(--muted);font-variant-numeric:tabular-nums}#hud{display:flex;flex-direction:column;align-items:center;gap:4px;font-variant-numeric:tabular-nums}#timer{font-size:56px;line-height:1;color:#fff}.hud-sub{display:flex;gap:16px;min-height:20px;font-size:14px}.hud-sub span:empty{display:none}#streak{color:#ff8a1f}#attempts{color:var(--muted)}#coins{color:var(--coin)}#best,#message{color:var(--muted)}canvas{background:#111827;border:2px solid var(--line);border-radius:0;box-shadow:0 0 0 2px var(--rim),6px 6px 0 2px var(--shadow);image-rendering:pixelated}#hint p{margin:2px 0}#level-notes{color:var(--coin)}#hint{contain:inline-size;margin-top:10px;padding:0 8px;font-size:13px;color:var(--muted);text-align:center;line-height:1.9}#hint:has(#level-notes:empty){display:none}kbd{display:inline-block;min-width:20px;padding:0 4px;margin:0 1px;border-bottom-width:2px;color:var(--text);font:12px/18px ui-monospace,Consolas,monospace}#links{font-size:13px;margin-bottom:16px}#top button,#panel button,.side-foot>button{font:inherit;font-size:13px;padding:4px 12px;border-radius:0;color:var(--text);cursor:pointer}#top button.link{padding:4px}#top button.muted{color:var(--muted)}#top button#discord{display:inline-flex;align-items:center;padding-block:4px;color:#fff;background:#5865f2}#top button#discord svg{width:1.3em;height:1.3em}#top button#discord:hover{border-color:var(--accent)}#top button#discord[hidden]{display:none}#account{display:flex;gap:4px}#top button.name-color{align-self:center;width:14px;height:14px;padding:0;margin:0 8px 0 -2px;border:2px solid var(--line);background:conic-gradient(#ff6b6b,#ffd43b,#51cf66,#4dabf7,#b197fc,#ff6b6b)}#top button.name-color:hover{border-color:var(--accent)}#account[hidden],.side-foot[hidden],#panel[hidden]{display:none}#panel{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10;display:flex;align-items:center;justify-content:center;padding:16px}#panel .card{position:relative;width:min(400px,100%);max-height:90vh;overflow:auto;padding:24px 24px 20px;background:var(--panel)}#panel h2{margin:0 0 8px}#panel p{margin:0 0 12px;color:var(--muted);font-size:14px;line-height:1.5}#panel .close{position:absolute;top:10px;right:10px;border:none;color:var(--muted);font-size:16px}#panel .stack{display:flex;flex-direction:column;gap:12px}#panel input{font:inherit;padding:8px 12px;color:var(--text)}#panel input:focus{outline-offset:0}#panel button.primary{padding:8px 16px}#panel button.primary:disabled{opacity:.6;cursor:default}#panel button.google{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;padding:12px 16px;color:#1f1f1f;font-weight:600}#panel button.google:disabled{opacity:.7;cursor:default}#panel .or{display:flex;align-items:center;gap:12px;margin:16px 0 12px;font-size:12px;color:var(--muted)}#panel .or:before,#panel .or:after{content:"";flex:1;border-top:2px solid var(--line)}#panel .contact-address{margin:4px 0 16px;font-size:18px;font-weight:600;color:#fff;text-align:center;-webkit-user-select:all;user-select:all}#panel .contact-actions{display:flex;flex-wrap:wrap;gap:8px}#panel .contact-actions>*{flex:1;text-align:center;text-decoration:none;white-space:nowrap}#panel a.button{padding:8px 16px;color:var(--text);font-size:13px}#panel input.code-input{font-size:22px;letter-spacing:6px;text-align:center;font-variant-numeric:tabular-nums}#panel button.link{align-self:center;border:none;color:var(--accent);font-size:13px;padding:2px}#panel .note{margin:0;font-size:13px}#panel .perks{margin-bottom:12px}#panel .note.premium-once{text-align:center;margin-bottom:16px}#panel .junk-reminder,#panel .name-warning{padding:8px 12px;border:1px solid #6b5420;background:#2a2312;color:#e9d8a6;font-size:13px}#panel .junk-reminder strong,#panel .name-warning strong{color:#ffd84a}#panel .skip{margin-top:20px;text-align:center}#panel .skip .note{margin-top:2px;font-size:12px}#panel .error{color:#ff6b7a}#panel .hint{margin:12px 0 0;text-align:center;font-size:12px}.result-time{font-size:44px;text-align:center}.result-time span{font-size:22px;color:var(--muted);margin-left:2px}.result-note{min-height:20px;margin-bottom:16px;text-align:center;color:var(--cyan)}#panel .card>button.primary{width:100%;margin-bottom:16px}#panel .card.keybinds{width:min(480px,100%)}#panel .keybind-rows{display:grid;grid-template-columns:1fr repeat(3,98px);gap:8px 8px;align-items:center;margin-bottom:16px}#panel .keybind-label{font-size:14px;color:var(--text)}#panel button.keybind{padding:4px;white-space:nowrap;font:13px/18px ui-monospace,Consolas,monospace;border-bottom-width:2px}#panel button.keybind.empty{color:#5d6b7e}#panel button.keybind.listening{border-color:var(--accent);color:var(--cyan);font-family:inherit}#panel .keybind-actions{display:flex;justify-content:space-between;gap:8px}#panel .name-color-preview{margin:4px 0 16px;font-size:18px;font-weight:600;color:var(--text);text-align:center}#panel .name-color-swatches{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin-bottom:12px}#panel button.swatch{aspect-ratio:1;padding:0;border:2px solid transparent}#panel button.swatch.default{background:linear-gradient(135deg,transparent 46%,var(--muted) 46%,var(--muted) 54%,transparent 54%),var(--text)}#panel button.swatch.rainbow-swatch{background:conic-gradient(#ff5f6d,#ffc371,#fff36b,#5ef38c,var(--accent),#a77bff,#ff5f6d)}#panel button.swatch:hover{border-color:var(--accent)}#panel button.swatch.chosen{border-color:#fff;box-shadow:0 0 0 2px var(--accent)}#panel .name-color-swatches+.note{min-height:18px;margin-bottom:12px}#streak,#reward-next{cursor:pointer}#streak:hover,#reward-next:hover{text-decoration:underline}#reward-next{color:#c9a6ff}#panel .streak-stats{color:var(--text)}#panel .streak-stats strong{color:#ffb347}.reward-list{display:flex;flex-direction:column;gap:12px;margin:4px 0 16px}.reward{display:flex;align-items:center;gap:16px;padding:12px;border:2px solid var(--line);background:var(--panel-deep)}.reward.unlocked{border-color:var(--accent)}.reward-preview{flex:none;width:64px;height:64px;padding:8px;box-sizing:content-box;background:#283848;image-rendering:pixelated}#panel .card.cosmetics{width:min(920px,100%);padding:24px 24px 16px}.cosmetics-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-right:28px}#panel .cosmetics-intro h2{font-size:26px}.cosmetics-intro p{margin:8px 0 0}.cosmetics-look{flex:none;display:flex;align-items:center;gap:12px;padding:8px 8px 8px 16px;border:2px solid var(--line);border-radius:0;background:var(--panel-deep)}.cosmetics-scene{width:144px;height:72px;image-rendering:pixelated}.cosmetics-look-text{display:flex;flex-direction:column;align-items:flex-end;gap:2px;text-align:right;font-size:13px;color:var(--muted);white-space:nowrap}.cosmetics-look-text strong{color:var(--text);font-size:14px}.cosmetics-label{font-size:12px;color:var(--cyan)}#panel h3.cosmetics-section{margin:20px 0 12px;font-size:15px}.cosmetics-grid{display:grid;grid-auto-flow:column;grid-auto-columns:max(150px,calc((100% - 40px)/5));gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:8px}.cosmetics-grid::-webkit-scrollbar{height:12px}.cosmetics-grid::-webkit-scrollbar-track{border-radius:0;background:var(--bg-deep)}.cosmetics-grid::-webkit-scrollbar-thumb{border-radius:0;background:var(--rim)}.cosmetics-grid::-webkit-scrollbar-thumb:hover{background:var(--muted)}@supports not selector(::-webkit-scrollbar){.cosmetics-grid{scrollbar-color:var(--rim) var(--bg-deep)}}.cosmetics-grid>*{scroll-snap-align:start}.cosmetics-grid.themes{grid-auto-columns:max(160px,calc((100% - 40px)/5))}#panel .cosmetic .cosmetic-buttons button{margin-top:4px;padding:4px 8px;font-size:12px}#panel .cosmetic .cosmetic-buttons .cosmetic-status{font-size:12px}.cosmetic{display:flex;flex-direction:column;align-items:center;gap:4px;padding:12px;border:2px solid var(--line);border-radius:0;background:var(--panel-deep);text-align:center}.cosmetic.owned{border-color:#2f5b8e}.cosmetic.equipped{border-color:var(--accent);background:#132238;box-shadow:0 0 0 1px var(--accent) inset}.cosmetic-preview{margin-bottom:8px;background:#283848;image-rendering:pixelated}.cosmetic-preview.runner{width:64px;height:64px;padding:4px;box-sizing:content-box}.cosmetic-preview.scene{width:144px;height:72px}.cosmetic:not(.owned) .cosmetic-preview{opacity:.6}.cosmetic-name{font-weight:700;color:var(--text)}.cosmetic-source{flex:1;font-size:12px;line-height:1.35;color:var(--muted)}.cosmetic-status{margin-top:4px;white-space:nowrap;font-size:13px;font-weight:600;color:var(--cyan)}.cosmetic-status.locked{font-weight:400;color:var(--muted)}#panel .cosmetic button{margin-top:4px;padding:4px 20px}.cosmetic-buttons{display:flex;align-items:center;justify-content:center;gap:8px}#panel .cosmetic .cosmetic-buttons .cosmetic-status{margin-top:4px}.preview-head{margin-right:28px}.preview-head p{margin:4px 0 12px}.theme-shot{display:block;width:100%;max-height:62vh;object-fit:contain;border:2px solid var(--line);image-rendering:pixelated}.preview-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px}.cosmetics-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;margin-top:16px;padding-top:12px;border-top:2px solid var(--line)}.cosmetics-note{flex:1;font-size:12px;color:var(--muted)}@media (max-height: 780px){#panel .card.cosmetics{max-height:96vh;padding:16px 20px 12px}.cosmetics-intro p{font-size:13px}.cosmetics-scene{width:120px;height:60px}#panel h3.cosmetics-section{margin:12px 0 8px}.cosmetic{padding:8px;gap:2px}.cosmetic-preview.runner{width:48px;height:48px}.cosmetic-preview.scene{width:120px;height:60px}.cosmetics-foot{margin-top:12px;padding-top:12px}}@media (max-width: 640px){.cosmetics-head{flex-direction:column;align-items:stretch;margin-right:0}}.reward:not(.unlocked) .reward-preview{opacity:.75}.reward-info{flex:1;display:flex;flex-direction:column;gap:8px;min-width:0}.reward-name{font-weight:700;color:var(--text)}.reward-blurb,.reward-status{font-size:13px;color:var(--muted)}.reward.unlocked .reward-status{color:var(--cyan);font-weight:600}.reward-bar{height:8px;background:#1d2a3f;overflow:hidden}.reward-fill{height:100%;background:var(--accent)}#panel .reward-info button{align-self:flex-start}.unlock{text-align:center}.unlock-kicker{margin-bottom:4px;font-size:12px;font-weight:700;color:var(--coin)}.unlock-preview{display:block;width:96px;height:96px;margin:12px auto 16px}.reward-preview.theme{padding:0}#panel .card>button.share{width:100%;margin-bottom:4px;padding:8px 16px;color:var(--cyan)}ol.board{list-style:none;margin:0;padding:0;font-variant-numeric:tabular-nums}ol.board li{display:grid;grid-template-columns:34px 1fr auto;align-items:center;padding:8px 12px}ol.board li[hidden],.perks li[hidden]{display:none}.perks:not(:has(li:not([hidden]))){display:none}ol.board .watch-mine{justify-self:start;margin:0 8px;padding:0 8px;border:2px solid var(--line);background:var(--raise);color:var(--cyan);font:inherit;font-size:10px;line-height:18px;cursor:pointer}ol.board .watch-mine:hover{border-color:var(--accent);color:#e0faff}ol.board .rank{color:var(--muted)}ol.board .name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rainbow{background:linear-gradient(90deg,#ff5f6d,#ffc371,#fff36b,#5ef38c,#3fa9ff,#a77bff,#ff5f6d);background-size:200% auto;-webkit-background-clip:text;background-clip:text;color:transparent;font-weight:700;animation:rainbow 4s linear infinite}@keyframes rainbow{to{background-position:200% center}}@media (prefers-reduced-motion: reduce){.rainbow{animation:none}}ol.board .time{font-weight:600}ol.board .time span{display:inline-block;width:.6em;text-align:center}#stage{--side-width: 260px;--scroll-below: 0;display:flex;align-items:flex-start;justify-content:center;gap:24px;width:100%}#canvas-wrap{position:relative;flex:none;display:flex;flex-direction:column}#game-bar{contain:inline-size;margin-top:4px;display:grid;grid-template-columns:142px minmax(0,1fr) 142px;align-items:start}#ghost-toggle{margin-top:8px;white-space:nowrap}#ghost-toggle{grid-column:3;justify-self:end;display:inline-flex;align-items:center;gap:8px;padding:4px 12px;font:inherit;font-size:13px;color:var(--text);cursor:pointer}#ghost-toggle[hidden]{display:none}#ghost-toggle .switch{position:relative;width:30px;height:16px;transition:background .15s,border-color .15s}#ghost-toggle .switch:after{content:"";position:absolute;width:10px;height:10px;background:var(--muted);transition:transform .15s,background .15s}#ghost-toggle[aria-checked=true] .switch:after{transform:translate(14px)}.side-col{flex:none;display:flex;flex-direction:column;gap:16px;width:var(--side-width);height:var(--game-height, auto)}.side-col[hidden]{display:none}.board-panel{min-height:0;overflow-y:auto;scrollbar-width:none;padding:16px}.side-col>.board-panel:last-child{flex:1 1 auto}#today-board{flex:1 1 auto}#yesterday-board{flex:0 0 auto}.side-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:12px}.side-head h2{margin:0;font-size:15px}.side-count{font-size:12px;color:var(--muted);white-space:nowrap}.board-panel ol.board li{padding:4px 8px;font-size:14px}.board-panel ol.board .rank{font-size:13px}ol.board li.gap,ol.board li.empty{display:block;background:none;color:var(--muted);text-align:center}ol.board li.gap{padding:0;letter-spacing:3px;line-height:1.2}ol.board li.empty{font-size:13px}.side-foot{margin-top:12px;padding-top:12px;font-size:13px;color:var(--muted);text-align:center}.side-foot ol.board.mine{text-align:left;color:var(--text)}.side-foot .standing{color:var(--cyan);font-weight:600}.side-foot>button{width:100%}#today-board{display:flex;flex-direction:column}#watch-winner,.side-button{font:inherit;font-size:13px;margin-top:12px;padding:8px 12px;width:100%;color:var(--cyan);cursor:pointer}#share-today[hidden],#bookmark-site[hidden],#free-skin[hidden],#watch-winner[hidden]{display:none}.free-skin-row{display:flex;gap:8px}.free-skin-link{flex:1;min-width:0;font:inherit}#shop{display:flex;flex-direction:column;flex:1 1 auto}.shop-body{display:flex;flex:1 1 auto;flex-direction:column;justify-content:space-between;gap:8px;min-height:0}.shop-runners{flex:1.2 1 0;min-height:78px;max-height:92px;display:grid;grid-template-columns:1fr 1fr;grid-auto-rows:1fr;gap:8px}.shop-runners.two-rows{flex-grow:2.4;min-height:164px;max-height:192px}.shop-runner[hidden]{display:none}.shop-runner{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:0;gap:2px;padding:4px;border:2px solid var(--line);border-radius:0;background:var(--raise);text-align:center}canvas.shop-runner-preview{flex:1 1 0;min-height:26px;max-height:44px;width:auto;height:auto;aspect-ratio:1;border:none;border-radius:0;box-shadow:none;background:#283848;image-rendering:auto}.shop-theme{position:relative;flex:1 1 0;min-height:clamp(64px,calc(13vh - 60px),128px);max-height:clamp(88px,calc(13vh - 36px),152px);overflow:hidden;border:2px solid var(--line);border-radius:0;background:var(--raise)}.shop-runner.equipped,.shop-theme.equipped{border-color:var(--accent)}.shop-theme[hidden]{display:none}canvas.shop-theme-scene{position:absolute;top:0;right:0;bottom:0;left:0;display:block;width:100%;height:100%;border:none;border-radius:0;box-shadow:none;image-rendering:pixelated}.shop-theme-bar{position:absolute;left:0;right:0;bottom:0;display:flex;align-items:center;gap:8px;padding:12px 8px 4px;background:linear-gradient(#0b0f1800,#0b0f18e0 55%)}.shop-pick-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600;color:var(--text)}.shop-theme-name{position:absolute;top:4px;left:8px;right:8px;text-shadow:1px 1px 0 var(--ink),0 0 4px var(--ink);pointer-events:none}.shop-theme-bar{justify-content:flex-end}#shop .shop-all{flex:none}.shop-runner.clickable,.shop-theme.clickable{cursor:pointer}.shop-runner.clickable:hover,.shop-theme.clickable:hover{border-color:var(--accent)}.shop-theme-buttons{display:flex;flex:none;align-items:center;gap:4px}.shop-preview-button{flex:none;padding:2px 8px;border:2px solid var(--ink);background:var(--raise);box-shadow:inset 0 2px #ffffff14,inset 0 -2px #0000004d;color:var(--cyan);font:inherit;font-size:12px;font-weight:500;cursor:pointer}.shop-preview-button:hover{background:var(--raise-hi);color:var(--accent-hi)}.shop-pick-button{flex:none;padding:2px 8px;border:2px solid var(--ink);background:var(--accent);box-shadow:inset 0 2px #ffffff73,inset 0 -2px 0 var(--accent-lo);color:var(--ink);font:inherit;font-size:12px;font-weight:700;cursor:pointer}.shop-pick-button:hover{background:var(--accent-hi)}.shop-preview-button:active,.shop-pick-button:active{transform:translateY(1px)}.shop-pick-status{flex:none;font-size:12px;font-weight:600;color:var(--cyan)}#cabinet{display:flex;flex-direction:column;flex:none}#cabinet .tally-icon{font-size:16px}#cabinet .cabinet-body{gap:8px}.shop-body .side-button,.cabinet-body .side-button{margin-top:0}#panel .medal-runs{max-height:55vh;margin-top:16px}.side-col>#top-cabinets{flex:none}#top-cabinets ol.board li{grid-template-columns:1fr auto}.side-head .side-link{padding:2px 8px;border:2px solid var(--ink);background:var(--raise);box-shadow:inset 0 2px #ffffff14,inset 0 -2px #0000004d;font:inherit;font-size:12px;font-weight:500;cursor:pointer}.side-head .side-link:hover{background:var(--raise-hi);color:var(--accent-hi)}.side-head .side-link[hidden]{display:none}#top-cabinets .medal-counts,.cabinets-board .medal-counts{display:flex;gap:12px;font-size:13px;font-variant-numeric:tabular-nums;color:#c5cfdb}#top-cabinets .medal-counts>span,.cabinets-board .medal-counts>span{display:inline-flex;flex:none;white-space:nowrap}#top-cabinets .medal-counts>span:nth-child(4){display:none}#top-cabinets .medal-counts .n,.cabinets-board .medal-counts .n{display:inline-block;width:16px}.cabinet-body{display:flex;flex-direction:column;gap:12px;font-size:14px;color:#c5cfdb}.cabinet-body p{margin:0;line-height:1.5}.cabinet-note{font-size:12px;color:var(--muted);text-align:center}.perks{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.perks li{display:flex;gap:12px;align-items:flex-start;padding:8px 12px;background:var(--raise)}.perk-icon{flex:none;margin-top:8px}.cabinet-body button.primary{width:100%;padding:8px 16px;font:inherit;border:1px solid var(--accent);cursor:pointer}.shelf{display:flex;justify-content:center;gap:16px;padding:12px 0 4px}.slot{width:44px;height:44px;border-radius:50%;border:2px dashed;opacity:.5}.slot.diamond{border-color:#7fe6ff}.slot.gold{border-color:var(--coin)}.slot.silver{border-color:#c5cfdb}.slot.bronze{border-color:#d08a4a}.px-icon{display:inline-flex;vertical-align:middle;line-height:0}.px-fire{margin:-2px 4px 0 0}.px-gift{position:relative;top:-2px}.px-icon svg{image-rendering:pixelated}#top-cabinets .medal-counts>span,.cabinets-board .medal-counts>span{align-items:center;gap:4px}.tally{display:flex;justify-content:center;gap:20px;font-variant-numeric:tabular-nums}.tally>span{display:flex;align-items:center;gap:4px;font-size:16px;font-weight:700;color:var(--text)}.tally>span.none{opacity:.35}.tally-icon{font-size:20px;display:flex;align-items:center}.medal-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;min-height:0;overflow-y:auto}.medal-list li{display:grid;grid-template-columns:26px minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px;background:var(--raise);border-radius:0}.medal-list li.pending{opacity:.6}.medal-icon{font-size:18px;display:flex;align-items:center;gap:2px}.medal-info,.medal-right{display:flex;flex-direction:column;min-width:0}.medal-right{align-items:flex-end}.medal-day{font-size:12px;color:var(--text)}.medal-level{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:var(--muted)}.medal-time{font-weight:600;font-variant-numeric:tabular-nums}.medal-time-row{display:flex;align-items:center;gap:8px}.medal-play{font:inherit;font-size:10px;line-height:1;padding:4px 8px;border:2px solid var(--line);background:var(--raise);color:var(--cyan);cursor:pointer}.medal-play:hover{border-color:var(--accent)}.medal-pending{font-size:10px;color:var(--coin)}[data-cabinet]{cursor:pointer}ol.board li[data-cabinet]:hover{outline:2px solid var(--line)}.cabinet-card{position:fixed;z-index:5;display:flex;flex-direction:column;gap:12px;width:250px;padding:12px;background:var(--panel);border:1px solid var(--accent);box-shadow:0 0 0 2px var(--rim),6px 6px 0 2px var(--shadow)}.cabinet-card[hidden]{display:none}.card-head{display:flex;justify-content:space-between;align-items:center;gap:8px}.card-who{display:flex;align-items:baseline;gap:8px;min-width:0}.card-streak{flex:none;color:#ff8a1f;font-size:12px;font-weight:600}.card-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700}.card-badge{padding:1px 8px;background:var(--coin);color:#1a1400;font-size:11px;font-weight:700}.card-note{margin:0;font-size:12px;color:var(--muted);text-align:center}.cabinet-card .shelf{padding:4px 0 0}@media (max-width: 1800px){#top .long{display:none}#top .short{display:inline}}@media (max-width: 1600px){.top-right{gap:8px}}@media (max-width: 1480px){.top-right{gap:4px}}@media (min-width: 1181px){.top-left{flex:none}.top-right{flex:1 1 0;min-width:0}}@media (max-width: 1500px){#stage{--side-width: 240px}.board-panel{padding:12px}.side-head h2{font-size:14px}}@media (max-width: 1180px){#stage{--scroll-below: 1;flex-wrap:wrap;justify-content:center;gap:16px}#left-col{order:3;flex-direction:row;align-items:flex-start;width:100%;max-width:900px;height:auto}#left-col>.board-panel{flex:1 1 0;min-width:0}#archive-runs-col{--board-rows: 10;order:3;width:100%;max-width:900px;height:auto}}@media (max-width: 900px){#stage{--board-rows: 10;flex-direction:column;flex-wrap:nowrap;align-items:center}.side-col,#left-col{flex-direction:row;align-items:flex-start;width:100%;max-width:900px;height:auto}.side-col>.board-panel{flex:1 1 0;min-width:0}#right-col,#archive-col,#archive-runs-col{order:1}#left-col{order:2}.top-left{align-items:center}.top-right{justify-content:center}}@media (max-width: 600px){.side-col,#left-col{flex-direction:column;align-items:stretch}.side-col>.board-panel,#left-col>.board-panel{flex:none}#game-bar{grid-template-columns:1fr 1fr}#ghost-toggle{grid-column:2}#timer{font-size:44px}#links{padding:0 16px;text-align:center;line-height:1.8}}@media (max-height: 820px){#timer{font-size:44px}.side-col{gap:12px}.board-panel{padding:12px}.side-head{margin-bottom:8px}.board-panel ol.board li{padding:4px 8px;font-size:13px}.side-foot{margin-top:8px;padding-top:8px}.side-foot>button,#watch-winner,.side-button{margin-top:8px;padding:4px 12px}.side-foot>button{margin-top:0}.cabinet-body{gap:8px;font-size:13px}.perks li{padding:8px}.cabinet-body button.primary{padding:8px 12px}}@media (max-height: 640px){#timer{font-size:34px}.hud-sub{font-size:13px}}#today-board>#view-board{margin-top:auto}#today-board>.side-foot{margin-bottom:12px}#archive-board{display:flex;flex-direction:column}#archive-board>#view-archive-board{margin-top:auto}#archive-runs-board{flex:1 1 auto;display:flex;flex-direction:column}#archive-runs-board>#view-archive-runs{margin-top:auto}#watch-archive-runs-winner[hidden],#watch-archive-winner[hidden],#view-board[hidden]{display:none}#panel .card.full-board-card{display:flex;flex-direction:column;width:min(440px,100%)}ol.board.full-board{flex:1 1 auto;min-height:0;max-height:min(60vh,560px);overflow-y:auto;margin-top:8px;padding-right:4px}#panel .card.howto{width:min(760px,100%)}#panel .howto-columns{display:grid;grid-template-columns:1.3fr 1fr;gap:4px 24px}@media (max-width: 640px){#panel .howto-columns{grid-template-columns:1fr}}#panel .howto-clip{margin:4px 0 12px;overflow:hidden;line-height:0;background:var(--bg-deep)}#panel .howto-clip canvas{display:block}#panel h3{margin:0 0 8px;font-size:15px}#panel .howto-rules,#panel .howto-controls{margin:0 0 12px;padding-left:20px;color:#c3ccd8;font-size:14px;line-height:1.6}#panel .howto-controls{padding-left:0;list-style:none}#panel .howto-guide{margin-top:4px;padding-top:12px;border-top:1px solid var(--rim)}#panel .howto-guide-list{display:grid;grid-template-columns:1fr 1fr;gap:10px 24px;margin:0 0 10px;padding:0;list-style:none}@media (max-width: 640px){#panel .howto-guide-list{grid-template-columns:1fr}}#panel .howto-guide-list li{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.45;color:#c3ccd8}#panel .howto-guide-list strong{display:block;font-size:14px;color:var(--text)}#panel .guide-icon{flex:none;width:64px;height:64px;image-rendering:pixelated;background:#1b2232;border-radius:var(--radius-sm)}#panel .howto-guide .note{margin:0}#panel .card.howto button.primary{width:100%;margin-top:12px}#panel .howto-columns .note{margin:0}#top .brand,#panel h2,#panel h3,.side-head h2{font-weight:700;letter-spacing:.5px}#top .brand{font-size:19px}#day{color:var(--blue)}#day .dot{border-radius:0;background:var(--coin)}#timer,.result-time{font-weight:700;font-variant-numeric:tabular-nums;text-shadow:3px 3px 0 var(--ink)}#timer span{display:inline-block;text-align:center}#top button,#panel button,.side-foot>button,#ghost-toggle,#watch-winner,.side-button,#back-to-game,#panel a.button{border:2px solid var(--ink);background:var(--raise);box-shadow:inset 0 2px #ffffff14,inset 0 -3px #0000004d;font-weight:500;transition:none}#top button:hover,#panel button:hover,.side-foot>button:hover,#ghost-toggle:hover,#watch-winner:hover,.side-button:hover,#back-to-game:hover,#panel a.button:hover{border-color:var(--ink);background:var(--raise-hi);color:var(--accent-hi)}#top button:active,#panel button:active,.side-foot>button:active,#ghost-toggle:active,#watch-winner:active,.side-button:active,#back-to-game:active{box-shadow:inset 0 3px #0000004d;transform:translateY(1px)}#top button.link,#panel button.link,#panel .close,#top button.name-color,#panel button.swatch{box-shadow:none}#top button.link,#panel button.link,#panel .close{border-color:transparent;background:none}#panel .close:hover{color:var(--accent)}#top button.name-color,#panel button.swatch{border-radius:0}#panel button.primary,.side-button.premium,.cabinet-body button.primary{border-color:var(--ink);background:var(--accent);color:var(--ink);font-weight:600;box-shadow:inset 0 2px #ffffff73,inset 0 -3px 0 var(--accent-lo)}#panel button.primary:hover,.side-button.premium:hover,.cabinet-body button.primary:hover{background:var(--accent-hi);color:var(--ink)}#panel button.google{border-color:var(--ink);background:#fff;box-shadow:inset 0 -3px #c9d1dc}#panel button.google:hover{background:#f1f4f8;color:#1f1f1f}.board-panel,#panel .card{border:2px solid var(--ink);box-shadow:0 0 0 2px var(--rim),6px 6px 0 2px var(--shadow)}.side-col{padding:2px 2px 0}ol.board.full-board{background:var(--board)}.board-panel{background:var(--board-head)}.board-panel{overflow-x:hidden}.side-head{margin:-16px -16px 12px;padding:8px 16px;background:var(--panel);border-bottom:2px solid var(--ink)}.side-head h2:before{content:"";display:inline-block;vertical-align:middle}#panel h2{font-size:21px}#panel input{border:2px solid var(--ink);background:var(--bg-deep);box-shadow:inset 0 2px #00000059}#panel input:focus{outline:2px solid var(--accent)}#panel{background:#080a0fb3}ol.board li:nth-child(odd){background:#ffffff0a}ol.board li.me{outline:none;box-shadow:inset 3px 0 0 var(--accent);background:#ffd23f1a}.side-foot{border-top:2px dashed var(--rim)}kbd{border:2px solid var(--ink);background:var(--raise);box-shadow:inset 0 -2px #00000059;font-family:var(--font-body);font-size:12px;font-weight:600;line-height:16px}#ghost-toggle .switch{border:2px solid var(--ink);background:var(--bg-deep)}#ghost-toggle .switch:after{top:1px;left:1px}#ghost-toggle[aria-checked=true] .switch{background:var(--accent-lo);border-color:var(--ink)}#ghost-toggle[aria-checked=true] .switch:after{background:var(--accent)}#links a,.legal-note a,#level-notes a{color:var(--blue)}.loader-ground{height:4px;background:var(--raise);box-shadow:0 2px 0 var(--ink)}:root{--font-timer: "Rubik", var(--font-body)}#timer,.result-time{font-family:var(--font-timer);letter-spacing:2px}#timer span{width:.7em}.side-head h2:before,.perk-icon{width:10px;height:14px;margin:0 8px 2px 0;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5 7' shape-rendering='crispEdges'%3E%3Cpath fill='%230b0d12' d='M1 0h3v1H1zM0 1h1v5H0zM4 1h1v5H4zM1 6h3v1H1z'/%3E%3Cpath fill='%23ffd23f' d='M1 1h3v5H1z'/%3E%3Cpath fill='%23fff3a8' d='M1 1h1v4H1z'/%3E%3Cpath fill='%23b8901a' d='M3 2h1v4H3zM2 5h1v1H2z'/%3E%3C/svg%3E") center / 10px 14px no-repeat;box-shadow:none;image-rendering:pixelated}.perk-icon{margin:2px 0 0}:root{--radius: 6px;--radius-sm: 4px;--radius-xs: 2px}#game,.board-panel,#panel .card,.cabinet-card{border-radius:var(--radius)}#top button,#panel button:not(.swatch),#panel a.button,#panel input,.side-foot>button,#ghost-toggle,#watch-winner,.side-button,#back-to-game,.side-head .side-link,.shop-pick-button,.shop-preview-button,.cabinet-body button.primary,.medal-play,.archive-list a,#panel .junk-reminder,#panel .name-warning,#panel .howto-clip,.perks li,.reward,.reward-preview,.cosmetics-scene,.cosmetic-preview,.theme-shot,#ghost-toggle .switch,kbd{border-radius:var(--radius-sm)}ol.board li,ol.board .watch-mine,.reward-bar,.reward-fill,.card-badge,#ghost-toggle .switch:after{border-radius:var(--radius-xs)}.side-head{border-radius:var(--radius) var(--radius) 0 0}#panel h2:before{content:"";display:inline-block;width:10px;height:14px;margin:0 12px 4px 0;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5 7' shape-rendering='crispEdges'%3E%3Cpath fill='%230b0d12' d='M1 0h3v1H1zM0 1h1v5H0zM4 1h1v5H4zM1 6h3v1H1z'/%3E%3Cpath fill='%23ffd23f' d='M1 1h3v5H1z'/%3E%3Cpath fill='%23fff3a8' d='M1 1h1v4H1z'/%3E%3Cpath fill='%23b8901a' d='M3 2h1v4H3zM2 5h1v1H2z'/%3E%3C/svg%3E") center / 10px 14px no-repeat;image-rendering:pixelated;vertical-align:middle}ol.board .rank{display:flex;align-items:center;margin-left:-12px}.board-panel ol.board .rank{margin-left:-8px}ol.board .rank-num{flex:0 0 30px;text-align:center}ol.board:not(.cabinets-board) li{grid-template-columns:50px minmax(0,1fr) auto}ol.board li.watchable{grid-template-columns:50px minmax(0,max-content) 1fr auto}ol.board.no-medals li{grid-template-columns:26px minmax(0,1fr) auto}ol.board.no-medals li.watchable{grid-template-columns:26px minmax(0,max-content) 1fr auto}ol.board.full-board:not(.cabinets-board) li{grid-template-columns:60px minmax(0,1fr) auto}ol.board.full-board.cabinets-board li{grid-template-columns:34px minmax(0,1fr) auto;gap:8px}ol.board.full-board.cabinets-board .rank-num{flex-basis:34px}ol.board.full-board .rank-num{flex-basis:44px}.side-count{display:inline-flex;align-items:center;gap:8px}.side-count:has(.medal-key){flex:1 1 auto;justify-content:space-between}.medal-key{margin-left:auto;display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:700;white-space:nowrap}.medal-key-item{display:inline-flex;align-items:center;gap:2px}.medal-key-item.metal-1{color:#ffd23f}.medal-key-item.metal-2{color:#c9d1dc}.medal-key-item.metal-3{color:#d9894a}#panel .medal-key{display:flex;justify-content:flex-start;margin:10px 0 8px;font-size:12px}body.game-fill{overflow:hidden}body.game-fill:before{content:"";position:fixed;top:0;right:0;bottom:0;left:0;z-index:8;background:var(--bg)}body.game-fill #hud{position:fixed;z-index:9;top:var(--fill-top, 0px);left:0;right:0;margin:0;padding:8px 0 6px}body.game-fill #canvas-wrap{position:fixed;z-index:9;top:calc(var(--fill-top, 0px) + var(--hud-height, 0px));left:calc(50% - var(--game-width, 0px) / 2);width:var(--game-width)}body.game-fill #canvas-wrap #game-bar,body.game-fill #canvas-wrap #hint{display:none}@media (max-height: 520px){body.game-fill #timer{font-size:28px}body.game-fill .hud-sub{font-size:12px;min-height:0}body.game-fill #hud{padding:4px 0 2px;gap:2px}}.touch-only,#touch-controls,body.touch-mode .keys-only,body.touch-device #bookmark-site{display:none}body.touch-mode .touch-only,body.touch-device #play-fullscreen{display:block}body.touch-device{-webkit-tap-highlight-color:transparent}body.touch-device #canvas-wrap,body.touch-device #hud,body.touch-device #hud *,body.touch-device.game-fill{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}body.touch-device #panel{-webkit-user-select:text;user-select:text}body.touch-device.game-fill{touch-action:manipulation}body.touch-device #game-bar{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:8px}body.touch-device #ghost-toggle{margin-top:0}#play-fullscreen{padding:8px 12px;font:inherit;font-size:13px;font-weight:600;color:var(--cyan);background:none;border:1px dashed var(--rim);border-radius:var(--radius-sm);cursor:pointer}body.touch-mode.game-landscape #touch-controls{--touch-base: clamp(52px, calc(var(--screen-short, 400px) * .15), 92px);position:fixed;z-index:9;left:0;right:0;bottom:0;display:flex;justify-content:space-between;align-items:flex-end;padding:0 max(14px,env(safe-area-inset-right)) 14px max(14px,env(safe-area-inset-left));pointer-events:none;touch-action:none}#rotate-note{display:none}@media (orientation: portrait){body.touch-device.game-fill #rotate-note{display:flex;flex-direction:column;align-items:center;gap:6px;margin-top:20px;padding:18px 14px;text-align:center;color:var(--muted);font-size:14px;background:var(--panel);border-radius:var(--radius)}body.touch-device.game-fill #rotate-note strong{font-size:18px;color:var(--text)}}.touch-stick,.touch-button{--touch-size: calc(var(--touch-base, 60px) * var(--s, 1))}.touch-stick{position:relative;display:flex;align-items:center;justify-content:center;width:calc(var(--touch-size) * 1.9);height:calc(var(--touch-size) * 1.9);pointer-events:auto;touch-action:none;border-radius:50%;background:#10141e73;border:2px solid rgba(255,255,255,.16)}.touch-stick .knob{width:calc(var(--touch-size) * .85);height:calc(var(--touch-size) * .85);border-radius:50%;background:#36415ad9;border:2px solid rgba(255,255,255,.35);pointer-events:none;transition:transform .08s ease-out}.touch-stick.down .knob{background:#506082f2;transition:none}.stick-arrow{position:absolute;top:50%;width:0;height:0;margin-top:-7px;border-top:7px solid transparent;border-bottom:7px solid transparent;pointer-events:none}.stick-arrow.left{left:10px;border-right:9px solid rgba(255,255,255,.45)}.stick-arrow.right{right:10px;border-left:9px solid rgba(255,255,255,.45)}.stick-arrow.down,body.stick-slide .touch-button[data-action=slide]{display:none}body.stick-slide .touch-acts{grid-template-areas:". grapple" "restart jump"}body.stick-slide .stick-arrow.down{display:block}.stick-arrow.down{top:auto;bottom:10px;left:50%;margin:0 0 0 -7px;border:7px solid transparent;border-bottom:0;border-top:9px solid rgba(255,255,255,.45)}.touch-acts{display:grid;grid-template-areas:"restart grapple" "slide jump";justify-items:end;align-items:end;gap:10px}.touch-button{display:flex;align-items:center;justify-content:center;width:var(--touch-size);height:var(--touch-size);pointer-events:auto;background:#10141e8c;border:2px solid rgba(255,255,255,.18);border-radius:var(--radius);color:var(--text);font-family:var(--font-body);font-size:calc(14px * var(--s, 1));font-weight:700;letter-spacing:.5px;touch-action:none;cursor:pointer}.touch-button svg{width:42%;height:42%}.touch-button[data-action=slide]{grid-area:slide;width:calc(var(--touch-size) * 1.12);height:calc(var(--touch-size) * 1.12)}.touch-button.jump{grid-area:jump;width:calc(var(--touch-size) * 1.3);height:calc(var(--touch-size) * 1.3);background:#ffd23f80;color:var(--ink);font-size:calc(13px * var(--s, 1));line-height:1.15;text-align:center}.touch-button.grapple{grid-area:grapple;width:calc(var(--touch-size) * 1.12);height:calc(var(--touch-size) * .9);font-size:calc(13px * var(--s, 1));background:#5ac8e666}.touch-button.grapple.down{background:#78d7f0b3}.touch-button.small{grid-area:restart;width:auto;height:calc(32px * var(--s, 1));padding:0 calc(14px * var(--s, 1));font-size:calc(12px * var(--s, 1));color:var(--muted)}.touch-button.down{background:#36415acc;transform:translate(2px,2px)}.touch-button.jump.down{background:#ffe27abf}#panel .again .go-again{width:100%;margin-top:12px}@media (max-width: 600px){.top-right{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:100%;align-self:stretch}.top-right>button,#account>button{width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;justify-content:center;text-align:center}#account{display:flex;min-width:0}#account[hidden]{display:none}}@media (max-width: 600px),(max-height: 520px){#panel{padding:8px}#panel .card{max-height:calc(100dvh - 16px);padding:18px 16px 16px}#panel h2{font-size:18px;padding-right:28px}}@media (min-width: 601px){body.touch-device #top button{font-size:14px}body.touch-device #top button{padding:8px 12px}}body.touch-device .board-panel ol.board li{padding:8px 10px;font-size:16px}body.touch-device .board-panel ol.board .rank{font-size:14px}body.touch-device .side-head h2{font-size:17px}body.touch-device .side-button,body.touch-device #watch-winner,body.touch-device #ghost-toggle,body.touch-device #play-fullscreen{padding:10px 14px;font-size:14px}#more-sign-out{display:none}@media (max-width: 900px){body.touch-device .top-right{display:grid;gap:6px;width:100%;align-self:stretch}body.touch-device .top-right>button,body.touch-device #account>button{width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;justify-content:center;text-align:center}body.touch-device #account{display:flex;min-width:0}body.touch-device #account[hidden]{display:none}body.touch-device #how-to-play{order:1}body.touch-device #discord{order:2}body.touch-device #account{order:4}body.touch-device .top-right>*:not(#how-to-play):not(#discord):not(#account):not(#more-buttons){order:10}body.touch-device:not(.top-open) #free-skin,body.touch-device:not(.top-open) #streak-rewards,body.touch-device:not(.top-open) #cosmetics,body.touch-device:not(.top-open) #play-archive,body.touch-device:not(.top-open) #try-tomorrow,body.touch-device:not(.top-open) #share-today{display:none}}@media (min-width: 901px) and (max-width: 1366px) and (orientation: landscape){body.touch-device #stage{--reserve: 32px;--scroll-below: 1;--under-scrolls: 1;--board-rows: 10;gap:16px;padding:0 16px;flex-direction:column;flex-wrap:nowrap;align-items:center}body.touch-device .side-col,body.touch-device #left-col{flex-direction:row;align-items:flex-start;width:100%;max-width:1000px;height:auto}body.touch-device .side-col>.board-panel{flex:1 1 0;min-width:0}body.touch-device #right-col,body.touch-device #archive-col,body.touch-device #archive-runs-col{order:1}body.touch-device #left-col{order:2}}body.touch-device:not(.game-fill) #ghost-toggle{display:none}body.touch-device:not(.game-fill) #game-bar{justify-content:center}body.touch-device.game-fill #canvas-wrap #game-bar{display:flex;align-items:center;gap:8px;contain:none;width:auto;position:fixed;z-index:2;top:max(8px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right));margin:0}body.touch-device.game-fill #play-fullscreen{display:none}body.touch-device.game-fill #ghost-toggle{margin:0;padding:6px 10px;font-size:12px}body.touch-device #hud{flex-direction:row;justify-content:center;gap:14px}body.touch-device .hud-sub{display:contents}body.touch-device #streak,body.touch-device #reward-next,body.touch-device #coins,body.touch-device #message{display:none}body.touch-device #timer{order:1;font-size:40px}body.touch-device #attempts,body.touch-device #best{display:block;flex:1 1 0;min-width:0;font-size:14px;white-space:nowrap}body.touch-device #attempts{order:0}body.touch-device #best{order:2;color:var(--muted)}@media (max-height: 520px){body.touch-device.game-fill #timer{font-size:28px}body.touch-device.game-fill #attempts,body.touch-device.game-fill #best{font-size:13px}}body.touch-device:not(.game-fill) #game-bar{margin-top:14px}body.touch-device #play-fullscreen{flex:1 1 auto;width:100%;padding:12px;font-size:15px}.name-streak{display:none}body.touch-device #account .name-streak:not([hidden]){display:inline-flex;align-items:center;gap:3px;flex:none;margin:0 6px 0 4px;color:#ff8a1f;font-weight:700;font-size:14px}@media (max-width: 900px){body.touch-device #account .muted{display:none}body.touch-device:not(.top-open) #more-sign-out{display:none}body.touch-device #more-sign-out{order:50;color:var(--muted)}body.touch-device #account{align-items:center;justify-content:center}body.touch-device #account>button.link:first-child{width:auto;flex:0 1 auto}body.touch-device #account>button.name-color{width:14px;height:14px;padding:0;flex:none}body.touch-device .top-right{grid-template-columns:repeat(8,minmax(0,1fr))}body.touch-device #how-to-play,body.touch-device .top-right>*:not(#how-to-play):not(#discord):not(#account):not(#more-buttons):not(#countdown){grid-column:span 2}body.touch-device #account{grid-column:span 3}}@media (max-width: 600px){body.touch-device .top-right>*:not(#how-to-play):not(#discord):not(#account):not(#more-buttons):not(#countdown){grid-column:span 4}}body.touch-device #hud{align-self:center;align-items:flex-end;width:var(--game-width, 100%);max-width:100%;margin-bottom:-2px}body.touch-device #attempts,body.touch-device #best{padding:0 10px 4px}body.touch-device #attempts{text-align:left}body.touch-device #best{text-align:right}body.touch-device.game-fill #hud{right:auto}@media (max-width: 900px){body.touch-device #account>button.link:first-child{order:0;padding-right:4px}body.touch-device #account>button.name-color{order:1;margin:0 2px 0 -5px}body.touch-device #account .name-streak:not([hidden]){order:2;gap:1px;margin:0 0 0 6px}}#exit-fullscreen{display:none}body.touch-device.game-fill #exit-fullscreen{position:fixed;z-index:2;top:max(8px,env(safe-area-inset-top));left:max(12px,env(safe-area-inset-left));display:flex;align-items:center;gap:6px;padding:6px 10px;font:inherit;font-size:12px;font-weight:600;color:var(--text);background:var(--raise);border:2px solid var(--line);border-radius:var(--radius-sm);box-shadow:0 0 0 2px var(--rim);cursor:pointer}body{padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}body.touch-device:not(.game-fill) #game-bar{flex-direction:column;align-items:stretch;gap:8px}#panel .home-steps ol{margin:12px 0 4px;padding-left:22px;line-height:1.7;color:#c3ccd8}#panel .home-steps b{color:var(--text)}#panel .home-steps button.primary{width:100%;margin-top:12px}body.touch-device:not(.game-fill) #game{cursor:pointer}@media (max-width: 600px){body:not(.touch-device) .hud-sub{flex-wrap:wrap;justify-content:center;gap:2px 12px;padding:0 12px}body:not(.touch-device) .hud-sub span{white-space:nowrap}}body.touch-device #bookmark-site{display:none}@media (min-width: 701px){body.touch-device #top{flex-wrap:nowrap;align-items:flex-start}body.touch-device .top-left{flex:none;padding-top:6px}body.touch-device .top-right{display:flex;justify-content:flex-end;align-items:center;gap:6px;width:auto;max-width:min(560px,62vw);align-self:flex-start}body.touch-device .top-right>button,body.touch-device #account>button{width:auto}body.touch-device .top-right:before{order:5;flex-basis:100%;height:0}body.touch-device #how-to-play{order:1}body.touch-device #discord{order:2}body.touch-device #account{order:4;display:flex;align-items:center}body.touch-device #account[hidden],body.touch-device #top .long{display:none}body.touch-device #top .short{display:inline}body.touch-device #account .muted{display:none}body.touch-device #more-sign-out{order:50;color:var(--muted)}body.touch-device:not(.top-open) #free-skin,body.touch-device:not(.top-open) #streak-rewards,body.touch-device:not(.top-open) #cosmetics,body.touch-device:not(.top-open) #play-archive,body.touch-device:not(.top-open) #try-tomorrow,body.touch-device:not(.top-open) #share-today,body.touch-device:not(.top-open) #more-sign-out{display:none}}@media (min-width: 701px){body.touch-device #free-skin,body.touch-device #streak-rewards,body.touch-device #cosmetics,body.touch-device #play-archive,body.touch-device #try-tomorrow,body.touch-device #share-today{order:10}}@media (min-width: 701px){body.touch-device #top{justify-content:space-between}body.touch-device .top-left{align-items:flex-start}body.touch-device #top .brand{text-align:left}body.touch-device .top-right{position:relative;flex-wrap:nowrap}body.touch-device .top-right:before{content:none}}#show-board{display:none}@media (orientation: landscape) and (min-height: 521px){body.touch-device.game-fill:has(#right-col:not([hidden])) #show-board{order:-1;font:inherit;cursor:pointer}body.touch-device.game-fill #canvas-wrap #game-bar{flex-direction:row}body.touch-device.game-fill.board-open{--fill-side: 300px}body.touch-device.game-fill.board-open #right-col:not([hidden]){position:fixed;z-index:9;right:max(12px,env(safe-area-inset-right));display:flex;flex-direction:column;gap:12px;width:280px;max-width:none;overflow:hidden}body.touch-device.game-fill.board-open #right-col>.board-panel{flex:none}body.touch-device.game-fill.board-open #canvas-wrap,body.touch-device.game-fill.board-open #hud{left:calc((100% - var(--fill-side)) / 2 - var(--game-width, 0px) / 2)}}@media (min-width: 601px) and (max-width: 1180px) and (orientation: portrait){body.touch-device #stage{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);align-items:start;gap:16px}body.touch-device #stage>*{grid-column:1 / -1}body.touch-device #canvas-wrap{justify-self:center}body.touch-device #right-col:not([hidden]),body.touch-device #left-col:not([hidden]){display:contents}body.touch-device #today-board{grid-column:1;grid-row:span 3}body.touch-device #yesterday-board,body.touch-device #cabinet,body.touch-device #top-cabinets{grid-column:2}body.touch-device #shop{--shop-wide: 1;grid-column:1 / -1}body.touch-device #shop .shop-body{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px}body.touch-device #shop .shop-runners,body.touch-device #shop .shop-all{grid-column:1 / -1}body.touch-device #shop .shop-runners{grid-template-columns:repeat(auto-fit,minmax(110px,1fr));min-height:84px;max-height:none}body.touch-device #shop .shop-theme{min-height:120px;max-height:none}}@media (min-width: 601px) and (max-width: 1180px) and (orientation: portrait){body.touch-device #canvas-wrap{order:1}body.touch-device #today-board{order:2}body.touch-device #yesterday-board{order:3}body.touch-device #cabinet{order:4}body.touch-device #top-cabinets{order:5}body.touch-device #shop{order:6}}#top{display:flex!important;flex-wrap:nowrap!important;justify-content:space-between!important;align-items:center!important;gap:12px!important}#top .top-left{flex:0 1 auto!important;min-width:0;align-items:flex-start!important;padding-top:0!important}#top .brand{text-align:left!important}#top .top-right{display:flex!important;flex:none!important;flex-wrap:nowrap!important;justify-content:flex-end!important;align-items:center!important;gap:10px!important;width:auto!important;max-width:none!important;align-self:center!important}#top .top-right:before,#top .top-right:after{content:none!important}#top .top-right>:is(#free-skin,#streak-rewards,#cosmetics,#play-archive,#try-tomorrow,#share-today,#bookmark-site,#more-buttons,#more-sign-out){display:none!important}#top .top-right>button,#top #account>button{width:auto!important}#top #discord[hidden]{display:none!important}#top #settings-button{display:inline-flex;align-items:center;justify-content:center;padding-block:4px;color:var(--text)}#top #settings-button:hover{border-color:var(--ink);background:var(--raise-hi);color:var(--accent-hi)}#top #account{display:flex!important;align-items:center;width:auto!important}#top #account[hidden]{display:none!important}#top #account>.muted{display:none!important}@media (max-width: 600px){#top .top-right{flex-wrap:wrap!important;row-gap:4px!important}}#panel .menu-card{width:min(420px,100%)}#panel .menu-list{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}#panel .menu-list .menu-item{width:100%;margin:0;padding:10px 12px;font-size:14px}#panel .menu-list .menu-muted{color:var(--muted)}@media (max-width: 380px){#panel .menu-list{grid-template-columns:1fr}}@media (min-width: 1700px){#stage{--side-width: 300px}}#top #how-to-play{order:0!important}#top #how-to-play[hidden]{display:none!important}#top #settings-button{order:1!important}#top #discord{order:2!important}#top #account{order:4!important}#top #account>button.name-color{width:16px!important;height:16px!important;min-width:16px;flex:none!important}#top h1.brand{font-size:20px}@media (max-width: 600px){#top{display:grid!important;align-items:center!important;row-gap:8px!important;column-gap:8px!important}#top .top-left{grid-area:title}#top .top-right{display:contents!important}#top #how-to-play{grid-area:how}#top #settings-button{grid-area:cog}#top #discord{grid-area:discord}#top #account{grid-area:name}#top h1.brand{font-size:17px}}@media (max-width: 600px){#top .top-right>#settings-button{grid-area:cog!important}}#top #account>button.name-color{margin:0 2px 0 0!important}#cabinet .side-head{display:flex;justify-content:space-between;align-items:center}@media (min-width: 1181px){.side-col{flex:1 1 var(--side-width);min-width:var(--side-width)}}body:not(.touch-device) #canvas-wrap #game-bar{position:absolute;z-index:2;top:calc(var(--game-height, 0px) - 32px - 6px);right:44px;display:block;contain:none;width:auto;margin:0}body:not(.touch-device) #ghost-toggle{height:32px;margin:0}#top{padding-top:8px!important}#top #ghost-toggle{order:-1!important;height:auto;margin:0}#top #ghost-toggle[hidden]{display:none!important}#cabinet .tally{gap:20px;padding:4px 0}#cabinet .tally>span{gap:6px;font-size:18px}#cabinet .tally-icon svg{width:21px;height:auto}.side-head .side-link{color:var(--text)}@media (min-width: 1181px){.side-col{max-width:300px}#shop .shop-theme{flex:none;aspect-ratio:16 / 5;min-height:0;max-height:none}}#links{margin-top:auto}body{gap:0}#top button,#top #ghost-toggle{font-size:14px!important}#top button,#top #ghost-toggle{padding:5px 12px!important}#top #discord,#top #settings-button{padding:5px 9px!important}#top #discord svg,#top #settings-button svg{width:18px!important;height:18px!important}#top #account>button.link{padding-left:0!important;padding-right:2px!important}#top #account>button.name-color{padding:0!important}#top{padding:12px 24px 0!important}#stage{padding:0 24px;--reserve: 616px}@media (max-width: 1500px){#stage{--reserve: 576px}}@media (min-width: 1700px){#stage{--reserve: 696px}}@media (min-width: 1181px){#stage{--reserve: 696px;padding:0 64px}}@media (min-width: 1181px) and (max-width: 1500px){#stage{--reserve: 656px}}@media (min-width: 1700px){#stage{--reserve: 776px}}@media (max-width: 1180px){#stage{--reserve: 304px;padding:0 24px}}@media (max-width: 900px){#stage{--reserve: 48px}}@media (max-width: 600px){#top{padding:12px 14px 0!important}}#hud{padding-bottom:10px}#links{padding-top:28px}#hud{margin-top:-4px}@media (max-width: 600px){#hud{margin-top:0}}#panel .menu-list .menu-item{min-height:44px;white-space:nowrap}#panel .menu-list .menu-wide{grid-column:1 / -1}body:not(.hud-tucked) #hud{margin-top:calc(6px + var(--centre-gap, 0px))}body.hud-tucked:not(.game-fill) #hud{margin-top:calc(-18px + var(--centre-gap, 0px))}@media (max-width: 600px){#top .top-right>#how-to-play{justify-content:center;text-align:center}body:not(.hud-tucked) #hud{margin-top:12px}}@media (min-width: 601px) and (max-width: 1180px) and (orientation: portrait){body.touch-device:not(.hud-tucked) #hud{margin-top:calc(14px + var(--centre-gap, 0px))}}@media (orientation: landscape) and (min-height: 521px){body.touch-device.game-fill.board-open #right-col>#today-board{flex:1 1 0;min-height:0}body.touch-mode.game-fill.board-open #right-col>#yesterday-board{display:none}}@media (orientation: landscape) and (min-height: 521px){body.touch-device.game-fill.board-open #right-col>#yesterday-board{display:none}body.touch-device.game-fill.board-open #right-col:not([hidden]){top:calc(var(--fill-top, 0px) + var(--hud-height, 0px));bottom:auto;height:var(--game-height, auto)}body.touch-mode.game-fill.board-open #right-col:not([hidden]){bottom:auto;height:min(var(--game-height, 100vh),calc(100vh - var(--fill-top, 0px) - var(--hud-height, 0px) - clamp(52px,calc(var(--screen-short, 400px) * .15),92px) * 2.3 - 36px))}}body.touch-device.game-fill #hud{padding-bottom:12px}body.touch-device.game-fill #attempts,body.touch-device.game-fill #best{padding-left:14px;padding-right:14px}@media (max-height: 520px){body.touch-device.game-fill #hud{padding-top:6px;padding-bottom:8px}}@media (orientation: landscape) and (min-height: 521px){body.touch-device.game-fill.board-open #right-col>#today-board{--board-scroll: 1;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch}body.touch-device.game-fill:has(#right-col:not([hidden])) #show-board,body.touch-device.game-fill #canvas-wrap #game-bar #ghost-toggle{box-sizing:border-box;display:inline-flex;align-items:center;height:30px;margin:0;padding:0 10px;font-size:12px;font-weight:500;line-height:1;border:2px solid var(--line);border-radius:0;box-shadow:none}body.touch-device.game-fill:has(#right-col:not([hidden])) #show-board{color:var(--text);background:var(--raise)}}@media (orientation: landscape) and (min-height: 521px){body.touch-device.game-fill.board-open #right-col>#today-board{display:flex;flex-direction:column;overflow:hidden}body.touch-device.game-fill.board-open #right-col>#today-board>*{flex:none}body.touch-device.game-fill.board-open #right-col>#today-board>ol.board{flex:1 1 0;min-height:0;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch}}body.touch-device.game-fill.board-open #right-col>#today-board>ol.board{scrollbar-width:none}body.touch-device.game-fill.board-open #right-col>#today-board>ol.board::-webkit-scrollbar{display:none}@media (max-width: 600px){#top{grid-template-columns:auto auto auto minmax(0,1fr)!important;grid-template-areas:"title title title title" "how cog discord name"!important}#top #account{justify-self:end;min-width:0}}@media (max-width: 600px){#top #account{max-width:100%;overflow:hidden}#top #account>button.link{min-width:0;flex:0 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#top #account>button.link>span{overflow:hidden;text-overflow:ellipsis}}@media (min-width: 1000px){#panel .card.howto{width:min(1180px,94vw);max-height:94vh;scrollbar-width:none}#panel .card.howto::-webkit-scrollbar{display:none}#panel .howto-guide-list{grid-template-columns:repeat(4,1fr)}}@media (max-width: 600px){body.touch-device:not(.game-fill) #game-bar{padding:0}}@media (min-width: 1000px){#panel .card.howto{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);column-gap:28px;align-items:start}#panel .card.howto>*{grid-column:1 / -1}#panel .card.howto>.howto-clip{grid-column:1;margin-bottom:8px}#panel .card.howto>.howto-columns{grid-column:2;grid-template-columns:1fr}}@media (max-width: 600px){#stage{--reserve: 20px;padding:0 10px}#stage>.side-col{padding:0}}#upright-note{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:24px;text-align:center;color:var(--muted);font-size:14px;background:var(--bg)}#upright-note[hidden]{display:none}#upright-note strong{font-size:20px;color:var(--text)}#upright-note button{margin-top:8px;padding:10px 18px;font:inherit;font-size:15px;font-weight:600;color:var(--text);background:var(--raise);border:2px solid var(--line);border-radius:var(--radius-sm);box-shadow:0 0 0 2px var(--rim);cursor:pointer}html:has(#upright-note:not([hidden])),body:has(#upright-note:not([hidden])){overflow:hidden}@media (min-width: 601px) and (max-width: 1180px) and (orientation: portrait){body.touch-device #stage{--reserve: 48px;--scroll-below: 1;--board-rows: 10}}body.touch-device.game-fill{--hud-w: min(var(--game-width, 100%), calc(100vw - 300px) )}body.touch-device.game-fill #hud{width:var(--hud-w);left:calc(50% - var(--hud-w) / 2)}@media (orientation: landscape) and (min-height: 521px){body.touch-device.game-fill.board-open #hud{left:calc((100% - var(--fill-side)) / 2 - var(--hud-w) / 2)}}body.touch-device:not(.touch-mode) #play-fullscreen{display:none!important}body.touch-device:not(.touch-mode):not(.game-fill) #game-bar{display:none}@media (min-width: 601px) and (max-width: 1180px) and (orientation: portrait),(min-width: 901px) and (max-width: 1366px) and (orientation: landscape){body.touch-device:not(.game-fill) #stage{display:grid;grid-template-columns:calc((var(--game-width, 800px) - 16px) * 3 / 5) calc((var(--game-width, 800px) - 16px) * 2 / 5);justify-content:center;align-items:start;gap:16px;max-width:none}body.touch-device:not(.game-fill) #stage>*{grid-column:1 / -1}body.touch-device:not(.game-fill) #canvas-wrap{justify-self:center;order:1}body.touch-device:not(.game-fill) #right-col:not([hidden]),body.touch-device:not(.game-fill) #left-col:not([hidden]){display:contents}body.touch-device:not(.game-fill) #today-board{grid-column:1;grid-row:span 3;order:2}body.touch-device:not(.game-fill) #yesterday-board{grid-column:2;order:3}body.touch-device:not(.game-fill) #cabinet{grid-column:2;order:4}body.touch-device:not(.game-fill) #top-cabinets{grid-column:2;order:5}body.touch-device:not(.game-fill) #shop{--shop-wide: 1;grid-column:1 / -1;order:6}body.touch-device:not(.game-fill) #shop .shop-body{grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}body.touch-device:not(.game-fill) #shop .shop-runners,body.touch-device:not(.game-fill) #shop .shop-all{grid-column:1 / -1}body.touch-device:not(.game-fill) #shop .shop-runners{grid-template-columns:repeat(auto-fit,minmax(110px,1fr));min-height:84px;max-height:none}body.touch-device:not(.game-fill) #shop .shop-theme{aspect-ratio:auto;min-height:120px;max-height:none}}@media (min-width: 601px) and (max-width: 1180px) and (orientation: portrait),(min-width: 901px) and (max-width: 1366px) and (orientation: landscape){body.touch-device:not(.game-fill) #shop .shop-body{display:flex;flex-wrap:wrap;gap:10px}body.touch-device:not(.game-fill) #shop .shop-runners,body.touch-device:not(.game-fill) #shop .shop-all{flex:0 0 100%}body.touch-device:not(.game-fill) #shop .shop-theme{flex:1 1 120px}}@media (min-width: 601px) and (max-width: 1180px) and (orientation: portrait),(min-width: 901px) and (max-width: 1366px) and (orientation: landscape){body.touch-device:not(.game-fill) #shop .shop-body{flex-direction:row;justify-content:flex-start;align-items:stretch}body.touch-device:not(.game-fill) #shop .shop-runners{height:auto;flex-grow:0}}@media (min-width: 601px) and (max-width: 1180px) and (orientation: portrait),(min-width: 901px) and (max-width: 1366px) and (orientation: landscape){body.touch-device:not(.game-fill) #today-board{--board-rows: 50;align-self:stretch;contain:size;overflow:hidden}}@media (min-width: 901px) and (max-width: 1366px) and (orientation: landscape){body.touch-device:not(.game-fill) #stage{--reserve: 48px;--width-only: 1;padding:0 24px}}#today-board>ol.board,#archive-board>ol.board{flex:1 0 auto;display:flex;flex-direction:column}#today-board>ol.board>li:not([hidden]),#archive-board>ol.board>li:not([hidden]){flex:1 0 auto;max-height:32px}body.touch-mode #today-board>ol.board>li:not([hidden]),body.touch-mode #archive-board>ol.board>li:not([hidden]){max-height:46px}#keybinds-button{display:none!important}body.touch-device.game-fill{--hud-w: min(var(--game-width, 100%), max( calc(100vw - 300px) , 340px))}#add-to-home{display:none;padding:8px 12px;font:inherit;font-size:13px;font-weight:600;color:#e0faff;background:#1f4f8a;border:1px solid var(--blue);border-radius:var(--radius-sm);cursor:pointer}body.touch-mode:not(.game-fill) #game-bar #add-to-home:not([hidden]){display:block}@media (min-width: 601px){#top .top-left,#top .top-right{align-self:flex-start!important}#top h1.brand{line-height:32px}}@media (min-width: 701px){#top .top-left{position:relative}#top #back-to-game{position:absolute;top:calc(100% + 8px);left:0;z-index:2;white-space:nowrap}}@media (max-width: 600px){#top .top-left{display:contents!important}#top h1.brand{grid-area:title}#top #back-to-game{grid-row:3;grid-column:1 / -1;justify-self:start}}#touch-controls.custom .touch-stick,#touch-controls.custom .touch-button{position:fixed;margin:0;translate:-50% -50%}#edit-controls{position:fixed;top:max(8px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right));box-sizing:border-box;height:30px;padding:0 10px;pointer-events:auto;font:inherit;font-size:12px;font-weight:500;line-height:1;color:var(--text);background:var(--raise);border:2px solid var(--line);border-radius:0;cursor:pointer}#touch-controls.editing #edit-controls,.edit-shade,.edit-bar{display:none}#touch-controls.editing .edit-shade{display:block;position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:auto;touch-action:none;background:#080a108c}#touch-controls.editing .touch-stick,#touch-controls.editing .touch-button{outline:2px dashed rgba(255,210,63,.75);outline-offset:3px;cursor:grab}#touch-controls.editing .selected{outline:3px solid var(--cyan)}#touch-controls.editing .edit-bar{position:fixed;top:max(8px,env(safe-area-inset-top));left:50%;translate:-50% 0;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 12px;width:max-content;max-width:calc(100vw - 24px);box-sizing:border-box;padding:8px 12px;pointer-events:auto;color:var(--text);font-size:12px;background:var(--panel);border:2px solid var(--line);border-radius:var(--radius-sm)}.edit-head{display:flex;flex-direction:column;gap:2px}.edit-head strong{font-size:14px}.edit-head span{color:var(--muted)}.edit-size{display:flex;align-items:center;gap:8px}.edit-name{min-width:92px;text-align:right;font-weight:600}.edit-size input{width:130px;accent-color:var(--cyan)}.edit-pct{min-width:36px;color:var(--muted)}.edit-bar button{box-sizing:border-box;height:30px;padding:0 12px;font:inherit;font-size:12px;font-weight:600;color:var(--text);background:var(--raise);border:2px solid var(--line);border-radius:var(--radius-xs);cursor:pointer}.edit-slide{display:flex;align-items:center;gap:6px;font-weight:600}.edit-bar .edit-slide button[aria-pressed=true]{color:var(--ink);background:var(--accent, #ffd23f)}.edit-bar .edit-done{color:var(--ink);background:var(--cyan)}
