@import "https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap";:root{color:#24352e;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;font-optical-sizing:auto;--ink:#24352e;--green:#277a58;--lime:#d8ee9d;--muted:#89968e;--line:#e4e9e1;background:#f3f6ef;font-family:DM Sans,sans-serif;font-weight:400}*{box-sizing:border-box}body{background:radial-gradient(at 50% 4%,#fbfcf7 0,#f3f6ef 60%);min-width:320px;min-height:100vh;margin:0;overflow-x:hidden}button{font:inherit;cursor:pointer}button:focus-visible{outline-offset:3px;outline:3px solid #a6cf6a}.app-shell{max-width:1440px;margin:0 auto;padding:0 66px}.topbar{border-bottom:1px solid #e8ece6;justify-content:space-between;align-items:center;height:78px;display:flex}@media (width<=560px){.topbar{flex-wrap:wrap;gap:9px;height:auto;min-height:64px;padding:12px 0}}.brand{color:var(--ink);letter-spacing:.08em;align-items:center;gap:10px;font:700 13px Space Grotesk,sans-serif;text-decoration:none;display:flex}.brand-mark{width:32px;height:32px;image-rendering:pixelated;background:0 0;border-radius:0;flex-shrink:0;display:block}.brand-light{color:#75847b;margin-left:2px;font-weight:400}.sound-toggle{letter-spacing:.1em;color:#68786e;background:#fbfcf8;border:1px solid #e2e8e0;border-radius:8px;padding:10px 13px;font:500 10px DM Mono,monospace}.sound-toggle span{color:var(--green);vertical-align:-1px;margin-right:4px;font-size:14px}@media (width<=800px){.app-shell{padding:0 22px}}@media (width<=560px){.app-shell{padding:0 12px}.sound-toggle{padding:8px;font-size:8px}}.sound-controls{align-items:center;gap:8px;display:flex}.sound-controls>label{color:#87948a;font-size:11px}.sound-controls select{color:#50614f;background:#fafcf7;border:1px solid #dce4d8;border-radius:7px;max-width:125px;padding:9px 8px;font:11px DM Sans,sans-serif}@media (width<=800px){.sound-controls>label{display:none}}@media (width<=560px){.brand{font-size:11px}.sound-controls{gap:5px;margin-left:auto}.sound-controls select{max-width:110px;padding:7px 5px;font-size:10px}}.sr-only{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.account-navigation{flex-wrap:wrap;align-items:center;gap:6px;margin:14px 0;display:flex}.account-navigation a{color:#59695d;border-radius:7px;align-items:center;gap:7px;padding:9px 14px;font-size:13px;text-decoration:none;display:inline-flex}.account-navigation a:hover,.account-navigation a[aria-current=page]{color:#293e32;background:#e8eedf}.account-navigation .pixel-trophy{width:19px;height:19px}@media (width<=560px){.account-navigation a{padding:8px 10px}}.brand-and-tagline{align-items:center;gap:22px;min-width:0;display:flex}.brand-tagline{letter-spacing:-.02em;color:#687c5d;white-space:nowrap;font:500 15px Space Grotesk,sans-serif}.header-controls:empty{display:none}.nav-icon{width:20px;height:20px;image-rendering:pixelated;flex-shrink:0;align-items:center;display:inline-flex}.nav-icon svg{width:20px;height:16px}.component-loading{color:#74846b;background:#fafcf8;border:1px solid #e2e9d9;border-radius:10px;margin:28px 0;padding:24px}@media (width<=800px){.brand-and-tagline{gap:12px}.brand-tagline{font-size:12px}}@media (width<=560px){.brand-and-tagline{flex:100%;justify-content:space-between}.header-controls{margin-left:auto}}.live-dot{vertical-align:middle;background:#8ebf60;border-radius:50%;width:6px;height:6px;margin-right:8px;display:inline-block}.keycap{color:#4c5c51;background:#fafbf7;border:1px solid #dce4d8;border-radius:6px;padding:9px 12px;font:500 9px DM Mono,monospace;box-shadow:0 2px #e0e7dc}.game-card{background:#fff;border:1px solid #e7ebe4;border-radius:13px;position:relative;overflow:hidden;box-shadow:0 17px 55px #344c3810,0 3px 10px #344c3806}.game-heading{color:#849188;letter-spacing:.1em;border-bottom:1px solid #eef1eb;justify-content:space-between;align-items:center;gap:12px;height:auto;min-height:76px;padding:12px 24px;font:500 9px DM Mono,monospace;display:flex}@media (width<=800px){.game-heading{padding-inline:16px}}@media (width<=560px){.game-heading{padding:12px;font-size:8px}}.game-heading .live-dot{background:#8bbd5b;box-shadow:0 0 0 3px #edf5e7}.bpm{color:#415248;letter-spacing:0;align-items:center;gap:7px;display:flex}.bpm strong{font:600 12px Space Grotesk,sans-serif}.bpm small{color:#98a39b;font:9px DM Mono,monospace}.bpm .divider{background:#e6ebe4;width:1px;height:17px;margin:0 6px}.runner-lane{-webkit-user-select:none;user-select:none;touch-action:auto;cursor:default;background:linear-gradient(#fbfcf8 0%,#f7faf4 69%,#f2f7ed 100%);height:280px;position:relative;overflow:hidden}@media (width<=560px){.runner-lane{height:260px}}.lane-topline{background:#eef1eb;height:1px;position:absolute;top:0;left:0;right:0}.ground-line{background:#bfcdb9;height:2px;position:absolute;bottom:38px;left:0;right:0}.stumble{animation:.32s both stumble}.play-footer{border-top:1px solid #edf0ea;grid-template-columns:1fr;justify-content:space-between;align-items:center;gap:10px;height:auto;min-height:130px;padding:14px 20px;display:grid}@media (width<=560px){.play-footer{padding:12px}}@keyframes stumble{0%{transform:rotate(0)}35%{transform:rotate(-13deg)translateY(5px)}70%{transform:rotate(8deg)}to{transform:rotate(0)}}@media (width<=560px){.ground-line{bottom:31px}}.cheese-track{will-change:transform;pointer-events:none;z-index:1;height:0;position:absolute;bottom:38px;left:25%}.rhythm-cheese{color:#71876b;width:28px;height:24px;position:absolute;bottom:12px;transform:translate(-50%)}.cheese-piece{width:28px;height:24px;position:absolute;inset:0}.rhythm-cheese.perfect .cheese-piece,.rhythm-cheese.good .cheese-piece{visibility:hidden}.rhythm-cheese.miss{filter:grayscale(.75);opacity:.6}.rat{z-index:2;width:64px;height:40px;animation:.2s steps(2,end) infinite rat-scurry;position:absolute;bottom:38px;left:calc(25% - 64px)}.rat svg{width:100%;height:100%;image-rendering:pixelated;overflow:visible}.rat-foot{animation:.16s steps(2,end) infinite alternate rat-feet}.rat-foot-front{animation-delay:-.16s}.rat.eating{animation:.22s steps(2,end) both rat-bite}.rat.stumble{animation:.32s both stumble}.cheese-crumbs{position:absolute;top:22px;right:0}.cheese-crumbs i{background:#edbc49;width:4px;height:4px;animation:.22s ease-out both crumb-pop;position:absolute}.cheese-crumbs i:nth-child(2){--crumb-x:12px;--crumb-y:6px;background:#f8d773}.cheese-crumbs i:nth-child(3){--crumb-x:-6px;--crumb-y:12px;width:3px;height:3px}@keyframes rat-scurry{to{transform:translateY(-1px)}}@keyframes rat-feet{to{transform:translate(1px)}}@keyframes rat-bite{35%{transform:translate(3px)}70%{transform:translate(1px)}}@keyframes rat-chew{to{transform:translateY(1px)}}@keyframes crumb-pop{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(var(--crumb-x,8px),var(--crumb-y,-12px))}}@media (width<=560px){.cheese-track{bottom:31px;left:26%}.rat{bottom:31px;left:calc(26% - 64px)}}.cheese-notation{pointer-events:none;height:76px;position:absolute;bottom:-2px;left:-160px}.cheese-notation svg{display:block;overflow:visible}.game-status{align-items:center;gap:8px;display:flex}.game-status .live-dot{margin-right:0}.time-signature{letter-spacing:0;color:#415248;border-right:1px solid #e6ebe4;margin-right:4px;padding-right:14px;font:600 17px Space Grotesk,sans-serif}@media (width<=560px){.time-signature{margin-right:0;padding-right:9px;font-size:15px}.game-status{gap:6px}.bpm{gap:5px}.bpm small{font-size:8px}}.level-progress-row{z-index:1;pointer-events:none;position:absolute;top:16px;left:24px;right:24px}.level-progress-track{height:28px;position:relative}.level-progress-fill{transform-origin:0;will-change:transform;background:#a6bd8f;width:100%;height:2px;position:absolute;bottom:0;left:0}@media (width<=560px){.level-progress-row{top:12px;left:12px;right:12px}}.progress-journey{height:26px;position:absolute;bottom:1px;left:14px;right:14px}.progress-path{background:#dfe7d8;height:2px;position:absolute;bottom:0;left:0;right:0}.progress-rat{color:#7b8e70;will-change:left;width:28px;height:16px;position:absolute;bottom:0;transform:translate(-50%)}.progress-home{width:22px;height:24px;position:absolute;bottom:0;right:-11px}.attempt-indicator{color:#8c9990;letter-spacing:.08em;white-space:nowrap;font:8px DM Mono,monospace}.cheese-strip{height:12px;image-rendering:pixelated;background:repeating-linear-gradient(90deg,#f1c85d 0 14px,#e4b34b 14px 17px);border-top:3px solid #f8dc8e;border-bottom:3px solid #cb9635;position:absolute;top:6px;left:14px}.rhythm-cheese.perfect .cheese-strip,.rhythm-cheese.good .cheese-strip,.rhythm-cheese.being-eaten .cheese-piece{visibility:hidden}.rat.holding .cheese-crumbs i{animation-iteration-count:infinite}.admin-toolbar{background:#f9fbf5;border:1px dashed #d5dfcf;border-radius:8px;align-items:center;gap:12px;margin-top:16px;padding:10px 12px;display:flex}.admin-toolbar label{letter-spacing:.08em;color:#829078;font:8px DM Mono,monospace}.admin-toolbar select{color:#415248;background:#fff;border:1px solid #dbe4d5;border-radius:5px;max-width:65%;padding:6px 24px 6px 9px;font:11px DM Sans,sans-serif}.admin-toolbar select:focus-visible{outline-offset:2px;outline:2px solid #91bc69}.admin-toolbar .note-type-filters{flex-wrap:wrap;flex:100%;align-items:center;gap:12px;display:flex}.admin-toolbar .note-type-filters>span,.admin-toolbar .note-type-filters small{letter-spacing:.06em;color:#829078;font:8px DM Mono,monospace}.admin-toolbar .note-type-filters>label{color:#415248;letter-spacing:0;cursor:pointer;align-items:center;gap:5px;font:11px DM Sans,sans-serif;display:inline-flex}.admin-toolbar .note-type-filters input{accent-color:#587b53}.admin-toolbar .note-type-filters small{margin-left:auto}.cheese-head{z-index:2;width:18px;height:14px;position:absolute;bottom:17px;transform:translate(-50%)}.cheese-head .cheese-piece{width:18px;height:14px}.cheese-head.perfect,.cheese-head.good,.cheese-head.being-eaten{visibility:hidden}.cheese-head.miss{filter:grayscale(.75);opacity:.6}.cheese-board{background:#faf8ef;border:1px solid #e3e6d6;border-radius:12px;margin-top:20px;padding:20px 24px 22px}.cheese-board-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:15px;display:flex}.cheese-board h2{letter-spacing:-.03em;color:#56664d;margin:0;font:600 18px Space Grotesk,sans-serif}.cheese-board-heading>span{letter-spacing:.1em;color:#9a9d86;font:8px DM Mono,monospace}.cheese-key{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 24px;margin:0;display:grid}.cheese-key>div{flex-direction:column;justify-content:center;min-height:56px;padding-left:48px;display:flex;position:relative}.cheese-key dt{color:#4c5b44;font-size:11px;font-weight:600;line-height:1.6}.cheese-key dt span{color:#87907c;font-size:10px;font-weight:400}.cheese-key dd{color:#8a907e;margin:3px 0 0;font-size:10px;line-height:1.5}.board-note{color:#61705a;width:40px;height:56px;position:absolute;top:0;left:0}.board-note>svg{width:40px;height:56px;position:absolute;inset:0}.board-note>svg:last-child{width:24px;height:18px;inset:auto auto 3px 3px}.board-rest{color:#4d82a6;font:38px/1.2 serif;position:absolute;top:5px;left:9px}.board-tie{align-items:center;width:40px;height:16px;display:flex;position:absolute;top:21px;left:0}.board-tie svg{z-index:1;flex-shrink:0;width:16px;height:14px}.board-tie i{background:#edc65e;border-top:1px solid #f8dc8e;border-bottom:1px solid #cb9635;height:5px;position:absolute;left:8px;right:8px}.board-tie svg:last-child{margin-left:8px}@media (width<=800px){.cheese-key{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.cheese-board{padding:18px}}@media (width<=420px){.cheese-board-heading{flex-direction:column;align-items:flex-start;gap:5px}.cheese-key{gap:15px 10px}.cheese-key>div{padding-left:39px}.cheese-key dt span{display:block}.cheese-key dt{font-size:10px}.board-note{left:-4px}}svg.board-rest{width:28px;height:42px;top:7px;left:4px}.touch-hint{display:none}.ready-cue{color:#75856d;touch-action:manipulation;background:0 0;border:0;min-height:44px;padding:0;font:12px DM Sans,sans-serif;position:absolute;bottom:112px;left:25%;transform:translate(-50%)}.run-notice{color:#64795b;white-space:nowrap;z-index:4;pointer-events:none;font:600 20px Space Grotesk,sans-serif;animation:2.2s both run-notice;position:absolute;bottom:155px;left:25%;transform:translate(-50%)}@keyframes run-notice{0%{opacity:0;translate:0 8px}12%,70%{opacity:1;translate:0}to{opacity:0;translate:0 -10px}}.note-feedback{white-space:nowrap;pointer-events:none;z-index:5;color:#9c9f95;font:600 14px Space Grotesk,sans-serif;animation:1s ease-out both note-feedback;position:absolute;bottom:83px;transform:translate(-50%)}.note-feedback.perfect{color:#b79338;text-shadow:0 1px 8px #e6ca7b38}.note-feedback.early,.note-feedback.late{color:#ac9178}.note-feedback.miss{color:#c57568}@keyframes note-feedback{0%{opacity:0;translate:0 5px}12%,40%{opacity:1;translate:0}to{opacity:0;translate:0 -14px}}.cheese-head.early,.cheese-head.late,.rhythm-cheese.early .cheese-strip,.rhythm-cheese.late .cheese-strip{visibility:hidden}.finish-hole{z-index:1;pointer-events:none;width:88px;height:88px;position:absolute;bottom:-1px;transform:translate(-14px)}.finish-hole>svg{width:100%;height:100%;overflow:visible}.level-won .rat{animation:.85s ease-in forwards rat-enter}@keyframes rat-enter{0%{opacity:1;transform:translate(0)}65%{opacity:1}to{opacity:0;transform:translate(60px)scale(.65)}}.celebrating .party-guests{transform-origin:50%;animation:.32s steps(2,end) infinite alternate party-bounce}.celebrating .party-disco,.celebrating .party-lights{animation:.7s steps(2,end) infinite alternate party-glint}.celebrating .party-confetti{animation:.5s steps(2,end) infinite alternate party-bounce}@keyframes party-bounce{to{transform:translateY(-4px)}}@keyframes party-glint{to{opacity:.45}}@media (pointer:coarse){.desktop-hint{display:none}.touch-hint{display:inline}}@media (width<=560px){.ready-cue{font-size:11px;left:26%}.run-notice{font-size:18px;left:50%}.note-feedback{font-size:12px}.cheese-board{margin-bottom:20px}}.run-notice{left:50%}.ready-cue{white-space:nowrap;align-items:center;gap:8px;display:flex}.ready-cue .keycap{padding:9px 11px;font-size:10px;display:inline-block}@media (width<=560px){.ready-cue{gap:7px}.ready-cue .keycap{padding:9px 11px;font-size:10px}}.world-scenery{pointer-events:none;z-index:0;position:absolute;inset:0;overflow:hidden}.scenery-layer{will-change:transform;width:3840px;display:flex;position:absolute;left:0}.scenery-tile{flex:0 0 960px;width:960px;height:100%}.scenery-tile>svg{width:100%;height:100%;display:block}.scenery-skyline{color:#c3cfbd;opacity:.22;height:180px;bottom:39px}.scenery-street{color:#a3b197;opacity:.22;height:150px;bottom:39px}.streetlamp-light{fill:#e7cc85;animation:13s linear infinite paused streetlamp-flicker}.streetlamp-halo{opacity:.12}.lamp-1{animation-duration:19s;animation-delay:-7s}.is-running .streetlamp-light{animation-play-state:running}.scenery-cat{color:#85947e;opacity:.72}.ready-cue{z-index:1}@keyframes streetlamp-flicker{0%,40%,42%,44%,to{opacity:.85}40.5%,43%{opacity:.48}41%,43.5%{opacity:.7}}@media (width<=560px){.scenery-skyline,.scenery-street{bottom:32px}.scenery-skyline{height:140px}}@media (prefers-reduced-motion:reduce){.world-scenery .scenery-layer{will-change:auto;transform:none!important}.streetlamp-light{opacity:.85;animation:none}}.cheese-head .cheese-piece{filter:saturate(1.12)contrast(1.08)drop-shadow(0 1px #77603b26)}.rat{--chomp-reach:3px;--chomp-tilt:-3deg;--crumb-spread:1;pointer-events:none}.rat.bite-variant-1{--chomp-reach:4px;--chomp-tilt:2deg;--crumb-spread:1.2}.rat.bite-variant-2{--chomp-reach:2px;--chomp-tilt:-5deg;--crumb-spread:.85}.rat.eating{transform-origin:75% 85%;animation:.26s ease-out both rat-chomp}.rat-mouth,.rat-tooth{opacity:0;transform-box:fill-box;transform-origin:top}.eating .rat-mouth,.eating .rat-tooth{animation:.26s steps(2,end) both mouth-open}.eating .rat-jaw{animation:.26s ease-out both jaw-chomp}.bite-morsel{transform-origin:0;width:18px;height:14px;animation:.26s ease-out both morsel-chomp;position:absolute;top:23px;left:57px}.rat .bite-morsel svg{width:18px;height:14px}.cheese-crumbs{top:28px;right:1px}.cheese-crumbs i{opacity:0;animation:.2s ease-out 55ms both chomp-crumb}.cheese-crumbs i:nth-child(4){--crumb-x:17px;--crumb-y:-7px;background:#ffe8a3;width:3px;height:3px}.cheese-crumbs i:nth-child(5){--crumb-x:-9px;--crumb-y:-17px;background:#d59a32;width:2px;height:2px}.rat.holding{animation:.16s ease-out infinite rat-chomp}.rat.holding .rat-mouth,.rat.holding .rat-tooth{animation:.16s steps(2,end) infinite mouth-open}.rat.holding .rat-jaw{animation:.16s ease-out infinite jaw-chomp}.rat.holding .bite-morsel{animation:.16s ease-out infinite morsel-chomp}@keyframes rat-chomp{0%{transform:translate(0)}20%{transform:translateX(1px) rotate(var(--chomp-tilt)) scale(.98,1.04)}42%{transform:translateX(var(--chomp-reach)) scale(1.06,.93)}72%{transform:translate(1px)scale(.99,1.02)}to{transform:none}}@keyframes mouth-open{0%,80%,to{opacity:0;transform:scaleY(.2)}15%,32%{opacity:1;transform:scaleY(1.5)}46%,65%{opacity:1;transform:scaleY(.35)}}@keyframes jaw-chomp{0%,to{transform:translateY(0)}20%{transform:translateY(3px)}43%{transform:translateY(-1px)}65%{transform:translateY(1px)}}@keyframes morsel-chomp{0%{opacity:1;transform:translate(3px)scale(1)}24%{opacity:1;transform:translate(0)scale(.9,1.12)}43%{opacity:1;transform:translate(-3px)scale(1.15,.5)}72%,to{opacity:0;transform:translate(-9px)scale(.15,.3)}}@keyframes chomp-crumb{0%{opacity:0;transform:translate(0)}12%{opacity:1}to{opacity:0;transform:translate(calc(var(--crumb-x,8px) * var(--crumb-spread)),var(--crumb-y,-12px)) rotate(110deg)}}@media (prefers-reduced-motion:reduce){.rat.eating,.rat.holding{animation:none}.eating .rat-mouth,.eating .rat-tooth{opacity:1;animation:none}.eating .rat-jaw{animation:none}.rat .bite-morsel{opacity:0;animation:none}.cheese-crumbs{display:none}}.cheese-barline{opacity:.2;pointer-events:none;color:#a6b799;background:0 0;width:56px;height:150px;margin-left:-28px;position:absolute;bottom:0}.bar-streetlamp{width:56px;height:150px;display:block}.cheese-barline.upcoming{opacity:.6}.cheese-barline.passed{opacity:.25}.instrument-hud{z-index:3;pointer-events:none;gap:8px;display:flex;position:absolute;top:56px;left:24px}.instrument-life{width:28px;height:32px;animation:.24s steps(4,end) both instrument-collect;display:block}.instrument-life svg{width:100%;height:100%;display:block}@keyframes instrument-collect{0%{opacity:0;transform:translateY(-8px)scale(.75)}to{opacity:1;transform:translateY(0)scale(1)}}@media (width<=560px){.instrument-hud{gap:6px;top:52px;left:12px}.instrument-life{width:25px;height:29px}}@media (prefers-reduced-motion:reduce){.instrument-life{animation:none}}.rhythm-count{color:#84947e;pointer-events:none;font:10px/14px DM Mono,monospace;position:absolute;top:12px;transform:translate(-50%)}.rhythm-count-beat{color:#4e664b;font-weight:700}@media (width<=560px){.rhythm-count{top:8px}}.cheese-barline .streetlamp-light{opacity:0;animation:none}.cheese-barline.is-lit .streetlamp-light{opacity:1}.cheese-barline.is-lit{color:#869b78;opacity:.65}.cheese-barline.is-lit .streetlamp-halo{opacity:.25}.level-won .rat{transform-origin:80% 80%;animation:.85s ease-in forwards rat-disco-dive}@keyframes rat-disco-dive{0%{opacity:1;transform:none}35%{transform:translate(12px,-22px)rotate(-15deg)}75%{opacity:1}to{opacity:0;transform:translate(64px,7px)rotate(24deg)scale(.2)}}.party-interior{opacity:.12}.celebrating .party-interior{animation:.45s .8s both disco-reveal}.celebrating .party-rim{animation:1.8s ease-in-out 1s infinite alternate disco-rim}.celebrating .party-ball{transform-box:fill-box;transform-origin:50%;animation:1.5s linear .85s infinite disco-spin}.celebrating .party-beams{transform-origin:48px 28px;animation:2.3s ease-in-out .85s infinite alternate disco-sweep}.celebrating .party-dancer{animation:disco-dance var(--dance-speed) calc(.9s + var(--dance-delay)) ease-in-out infinite alternate;transform-box:fill-box;transform-origin:bottom}.party-caption{white-space:nowrap;letter-spacing:.12em;color:#695479;font:600 11px DM Mono,monospace;animation:.4s 1s both disco-caption;position:absolute;bottom:112px;left:44px;transform:translate(-50%)}.party-burst{position:absolute;bottom:52px;left:44px}.party-burst i{opacity:0;width:4px;height:7px;animation:disco-confetti 2.4s calc(1s + var(--delay)) ease-out both;position:absolute}.perfect-party .party-burst i{animation-iteration-count:3}.perfect-party .party-caption{color:#91701f}.party-crown{animation:.5s 1.2s both disco-caption}@keyframes disco-reveal{0%{opacity:.12}to{opacity:1}}@keyframes disco-rim{0%{filter:drop-shadow(0 0 3px var(--party-a))}to{filter:drop-shadow(0 0 10px var(--party-b))}}@keyframes disco-spin{0%{transform:scaleX(1)}50%{filter:brightness(1.4);transform:scaleX(.4)}to{transform:scaleX(1)}}@keyframes disco-sweep{0%{transform:rotate(-22deg)}to{transform:rotate(22deg)}}@keyframes disco-dance{0%{transform:translateY(0)rotate(-9deg)}to{transform:translateY(-6px)rotate(9deg)}}@keyframes disco-caption{0%{opacity:0;translate:0 8px}to{opacity:1;translate:0}}@keyframes disco-confetti{0%{opacity:0;transform:translate(0)}10%{opacity:1}50%{opacity:1;transform:translate(var(--x),var(--y)) rotate(var(--turn))}to{opacity:0;transform:translate(var(--x),45px) rotate(var(--turn))}}@media (prefers-reduced-motion:reduce){.level-won .rat{opacity:0;animation:none}.celebrating .party-interior{opacity:1;animation:none}.celebrating .party-rim,.celebrating .party-ball,.celebrating .party-beams,.celebrating .party-dancer,.party-caption,.party-crown{animation:none}.party-burst{display:none}}.disco-cutaway{transform-origin:32px bottom;filter:drop-shadow(0 0 12px #c7a4b855);width:min(680px,68vw);height:clamp(130px,20vw,210px);animation:.85s cubic-bezier(.2,.75,.25,1) .85s both club-unfold;position:absolute;bottom:0;left:0;overflow:hidden}.disco-cutaway>svg{width:100%;height:100%;display:block}.celebrating>svg{z-index:1;position:relative}.celebrating .party-caption{z-index:2}.club-mirror-ball{transform-box:fill-box;transform-origin:50%;animation:1.7s linear infinite disco-spin}.club-beams{transform-origin:290px 45px;animation:3s ease-in-out infinite alternate disco-sweep}.club-guest{animation:.4s ease-in-out infinite alternate club-bop}.club-arriving-rat{animation:.8s 1.6s both club-arrive}.club-surprise{animation:.5s 2s both disco-caption}.surprise-arrival{animation:5s 2.1s both surprise-delivery}.surprise-conga{animation:1.2s ease-in-out infinite alternate surprise-conga}.surprise-spin{animation:1.7s linear infinite surprise-spin}.surprise-snooze{animation:2s ease-in-out infinite surprise-snooze}.surprise-slide{animation:3s ease-in-out 2s infinite surprise-slide}.surprise-cat{animation:6s 2s both surprise-peek}.surprise-curtain{transform-box:fill-box;transform-origin:100%;animation:6s 2s both surprise-curtain}.surprise-float{animation:2.5s ease-in-out infinite alternate surprise-float}.surprise-band{animation:.3s ease-in-out infinite alternate club-bop}.surprise-spark{animation:1.3s ease-out infinite surprise-snooze}.surprise-toast{animation:1.6s ease-in-out infinite alternate surprise-toast}@keyframes club-unfold{0%{opacity:0;clip-path:circle(34px at 32px 100%)}to{opacity:1;clip-path:circle(1100px at 32px 100%)}}@keyframes club-bop{to{transform:translateY(-7px)rotate(-4deg)}}@keyframes club-arrive{0%{opacity:0;transform:translate(-42px)}to{opacity:1;transform:translate(0)}}@keyframes surprise-delivery{0%{transform:translate(140px)}to{transform:translate(0)}}@keyframes surprise-conga{to{transform:translate(12px,-6px)}}@keyframes surprise-spin{to{transform:rotate(360deg)}}@keyframes surprise-snooze{0%{opacity:0;translate:0 7px}40%{opacity:1}to{opacity:0;translate:0 -12px}}@keyframes surprise-slide{0%,20%{translate:0}75%,to{translate:102px 76px}}@keyframes surprise-peek{0%,15%{opacity:0}30%,to{opacity:1}}@keyframes surprise-curtain{0%,10%{transform:scaleX(1)}30%,60%{transform:scaleX(.05)}75%,to{transform:scaleX(1)}}@keyframes surprise-float{to{translate:0 -17px;rotate:3deg}}@keyframes surprise-toast{to{translate:0 -8px}}@media (width<=560px){.disco-cutaway{width:70vw;height:125px}}@media (prefers-reduced-motion:reduce){.disco-cutaway,.disco-cutaway *{animation:none!important}.disco-cutaway{clip-path:none;opacity:1}.surprise-cat{opacity:0}.surprise-curtain{transform:scaleX(1)}}.surprise-limbo{transform-box:fill-box;transform-origin:bottom;animation:1.5s ease-in-out infinite alternate surprise-limbo}.surprise-juggle{animation:1.2s ease-in-out infinite surprise-juggle}.surprise-skate{animation:2.8s ease-in-out infinite alternate surprise-skate}.surprise-bubble{animation:2.7s ease-out infinite surprise-bubble}.surprise-flash{opacity:0;animation:4s infinite surprise-flash}.surprise-hammock{transform-origin:75px 62px;animation:2s ease-in-out infinite alternate surprise-hammock}.surprise-tap{animation:.25s steps(2,end) infinite alternate surprise-tap}.surprise-popcorn{animation:1.4s ease-in-out infinite surprise-popcorn}.surprise-plane{animation:3.5s ease-in-out infinite surprise-plane}.surprise-rave{transform-box:fill-box;transform-origin:bottom;filter:drop-shadow(0 0 4px #c8f2ca88);animation:.5s ease-in-out infinite alternate surprise-rave}@keyframes surprise-limbo{0%{transform:translate(-18px)rotate(-25deg)}to{transform:translate(18px)rotate(-40deg)}}@keyframes surprise-juggle{0%,to{translate:0 10px;rotate:-20deg}50%{translate:0 -28px;rotate:25deg}}@keyframes surprise-skate{0%{translate:-28px;rotate:-5deg}to{translate:28px;rotate:5deg}}@keyframes surprise-bubble{0%{opacity:0;translate:0 20px}20%,70%{opacity:.9}to{opacity:0;translate:12px -40px}}@keyframes surprise-flash{0%,72%,80%,to{opacity:0}75%,77%{opacity:.85}}@keyframes surprise-hammock{0%{rotate:-7deg}to{rotate:7deg}}@keyframes surprise-tap{to{translate:0 -6px;rotate:4deg}}@keyframes surprise-popcorn{0%,to{translate:0}50%{translate:0 -32px;rotate:12deg}}@keyframes surprise-plane{0%{opacity:0;translate:-65px 30px}20%,75%{opacity:1}to{opacity:0;translate:75px -32px}}@keyframes surprise-rave{0%{rotate:-12deg}to{rotate:12deg}}.runner-lane:before{content:"";z-index:0;pointer-events:none;opacity:0;background:radial-gradient(at 55% 75%,#343047 0%,#191e30 65%,#141a29 100%);transition:opacity 1.2s;position:absolute;inset:0}.runner-lane.level-won:before{opacity:1;transition-delay:.65s}.runner-lane .scenery-layer,.runner-lane .ground-line,.runner-lane .rhythm-count{transition:color 1.2s,background-color 1.2s,opacity 1.2s}.level-won .scenery-skyline{color:#66728b;opacity:.18}.level-won .scenery-street{color:#91a4a5;opacity:.2}.level-won .ground-line{background:#718879}.level-won .lane-topline{background:#30394d}.level-won .rhythm-count{color:#b7c4bb}.level-won .rhythm-count-beat{color:#f2e7c7}.level-won .run-notice{color:#e0dfca}.level-won .party-caption{color:#ecdaf9}.level-won .perfect-party .party-caption{color:#ffe49a}.level-won .level-progress-track{filter:drop-shadow(0 0 3px #b6d39555)}.level-won .instrument-life{filter:drop-shadow(0 1px 2px #090d19)}@media (prefers-reduced-motion:reduce){.runner-lane:before,.runner-lane .scenery-layer,.runner-lane .ground-line,.runner-lane .rhythm-count{transition:none}}.bpm .time-signature{margin-right:3px;padding-right:10px;font-size:15px}.lamp-bar-number{fill:#34432f;letter-spacing:0;font:700 10px DM Mono,monospace}@media (width<=560px){.bpm .time-signature{margin-right:0;padding-right:7px;font-size:12px}}.loss-overlay{z-index:10;color:#fff0df;background:radial-gradient(at 50% 40%,#813e49,#351e2c 85%);place-items:center;padding:20px;display:grid;position:absolute;inset:0}.loss-card{text-align:center;width:min(360px,100%)}.loss-eyebrow{color:#f1a5a7;letter-spacing:.18em;font:10px DM Mono,monospace}.loss-trap{width:192px;max-width:90%;height:auto;image-rendering:pixelated;margin:12px auto 8px;display:block}.loss-card h2{color:#fff0df;letter-spacing:-.04em;margin:0 0 8px;font:600 42px/1 Space Grotesk,sans-serif}.loss-card p{color:#ebbbc0;max-width:270px;margin:0 auto 18px;font:14px/1.5 DM Sans,sans-serif}.loss-next{gap:5px;margin-bottom:18px;display:grid}.loss-next span{color:#e3a0aa;letter-spacing:.14em;font:9px DM Mono,monospace}.loss-next strong{color:#fff0df;font:500 16px Space Grotesk,sans-serif}.loss-button{color:#452332;letter-spacing:.08em;background:#f3c99a;border:2px solid #ffd2ad;border-radius:4px;min-height:46px;padding:13px 24px;font:600 11px DM Mono,monospace;box-shadow:4px 4px #261723}.loss-button span{margin-left:18px}.loss-button:hover{background:#ffe2bc}.loss-button:focus-visible{outline-offset:5px;outline:3px solid #fff0df}@media (width<=560px){.loss-overlay{padding:16px}.loss-trap{width:160px;margin-top:10px}.loss-card h2{font-size:36px}.loss-card p{margin-bottom:12px;font-size:13px}.loss-next{margin-bottom:14px}}.world-scenery{--scenery-wall:#b5c4a8;--scenery-roof:#a3a88d;--scenery-glass:#f7f2d4;--scenery-timber:#a7987c;--scenery-leaf:#a6bd91;--scenery-leaf-light:#c4d3ad;--scenery-shop:#bda98e}.scenery-town{--scenery-wall:#b7c5bf;--scenery-roof:#8faaa2;--scenery-glass:#f8efd0;--scenery-shop:#bca19c}.scenery-city{--scenery-wall:#aebdca;--scenery-roof:#889ead;--scenery-glass:#f6edd2;--scenery-shop:#b7a4bd}.scenery-building{fill:var(--scenery-wall)}.scenery-roof{fill:var(--scenery-roof)}.scenery-window{fill:var(--scenery-glass)}.scenery-wood{fill:var(--scenery-timber)}.scenery-leaves{fill:var(--scenery-leaf)}.scenery-leaves-light{fill:var(--scenery-leaf-light)}.scenery-awning{fill:var(--scenery-shop)}.scenery-hill{fill:#d7e2c9}.level-won .world-scenery .scenery-layer{--scenery-wall:#69768b;--scenery-roof:#8691a4;--scenery-glass:#e8c887;--scenery-timber:#82848b;--scenery-leaf:#6c877d;--scenery-leaf-light:#819f8c;--scenery-shop:#b38f9e}.level-won .scenery-hill{fill:#536571}.tap-zone{color:#344e36;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;background:#eff6e7;border:2px solid #a8c68c;border-radius:9px;place-content:center;gap:6px;width:100%;min-height:80px;padding:12px;display:grid;box-shadow:0 3px #cbdcbd}.tap-zone strong{font:600 18px Space Grotesk,sans-serif}.tap-zone span{font:12px DM Sans,sans-serif}.tap-zone:active{background:#deedcf}.tap-zone.is-idle{touch-action:manipulation}.tap-zone.is-cleared{background:#fcf7e5;border-color:#d7c78a}.tap-zone:disabled{opacity:.5}.count-in-preview{z-index:4;pointer-events:none;background:#fafcf8f2;border:1px solid #e2e9d9;border-radius:8px;align-items:center;gap:14px;padding:9px 12px;display:flex;position:absolute;top:16px;left:24px;right:24px}.count-in-beat{text-align:center;color:#45683e;min-width:50px;display:grid}.count-in-beat strong{font:600 40px/1 Space Grotesk,sans-serif}.count-in-beat span,.count-in-heading{letter-spacing:.12em;color:#74846b;font:8px DM Mono,monospace}.count-in-guide ul{flex-wrap:wrap;gap:7px 18px;margin:5px 0 0;padding:0;list-style:none;display:flex}.count-in-guide li{align-items:center;gap:6px;display:flex}.count-in-guide li strong{text-transform:capitalize;color:#40573d;font:500 11px DM Sans,sans-serif;display:block}.count-in-guide li small{color:#76836e;font:9px DM Sans,sans-serif;display:block}.preview-note-icon{color:#40573d;flex:0 0 28px;width:28px;height:34px;display:inline-block;position:relative}.preview-note-icon>svg:first-child{width:100%;height:100%}.preview-note-icon>svg+svg{width:18px;height:14px;position:absolute;bottom:1px;left:3px}.preview-rest{color:#4d82a6}.preview-tie{align-items:end;width:36px;height:30px;display:inline-flex;position:relative}.preview-tie svg{width:18px;height:16px}.preview-tie i{border-top:2px solid #566e42;border-radius:50%;width:22px;height:11px;position:absolute;top:5px;left:8px}.rat-approach{z-index:2;pointer-events:none;position:absolute;inset:0}.entrance-hole{opacity:0;pointer-events:none;width:44px;height:54px;position:absolute;bottom:38px;left:-4px}.entrance-hole.is-open{opacity:1}.silent-mode-reminder{color:#746031;background:#fff8e7;border:1px solid #edddb0;border-radius:8px;align-items:center;gap:12px;margin:14px 0;padding:12px 14px;display:flex}.silent-mode-reminder>svg{flex-shrink:0;width:28px;height:28px}.silent-mode-reminder .reminder-mobile-icon{display:none}.silent-mode-reminder p{flex:1;margin:0;font:12px/1.5 DM Sans,sans-serif}.silent-mode-reminder strong,.silent-mode-reminder span{display:block}.silent-mode-reminder .reminder-mobile{display:none}.silent-mode-reminder button{color:#66552b;background:#f7edce;border:1px solid #d6c597;border-radius:5px;min-width:48px;min-height:44px;padding:8px}@media (width<=560px){.silent-mode-reminder .reminder-desktop{display:none}.silent-mode-reminder .reminder-mobile,.silent-mode-reminder .reminder-mobile-icon{display:block}.count-in-preview{gap:8px;padding:8px;top:12px;left:12px;right:12px}.count-in-beat{min-width:35px}.count-in-beat strong{font-size:30px}.count-in-guide ul{gap:4px 8px}.count-in-guide li{gap:3px}.count-in-guide li strong{font-size:9px}.count-in-guide li small{font-size:8px}.preview-note-icon{flex-basis:22px;width:22px;height:28px}.entrance-hole{bottom:31px}}@media (prefers-reduced-motion:reduce){.rat-approach{opacity:1!important;transform:none!important}.rat,.rat-foot{animation:none!important}}.game-heading-info{gap:6px;min-width:0;display:grid}.page-content>.game-card{margin-top:20px}.game-rating-status{letter-spacing:0;color:#7b8876;flex-wrap:wrap;align-items:center;gap:5px 12px;font:11px/1.4 DM Sans,sans-serif;display:flex}.game-rating-status a{color:#5d7350;white-space:nowrap;text-decoration:none}.game-rating-status a:hover{text-decoration:underline}.game-rating-status strong{font-weight:600}.game-rating-status .rating-gain{color:#4b792f}.game-rating-status .rating-loss{color:#a3644e}.rating-save-error{color:#9c4e43;flex-basis:100%}.rating-save-error button{color:inherit;background:0 0;border:0;padding:0 3px;text-decoration:underline}.loss-card .game-rating-status{color:#ecc2c3;justify-content:center;margin:0 0 18px}.loss-card .game-rating-status a,.loss-card .rating-loss,.loss-card .rating-gain{color:#ffe0b5}.login-progress-prompt{color:#687c60;justify-content:space-between;align-items:center;gap:14px;padding:10px 0 0;font-size:13px;display:flex}.login-dialog{top:calc(var(--login-viewport-top,0px) + var(--login-viewport-height,100dvh) / 2);width:min(28rem,100% - 24px);max-height:calc(var(--login-viewport-height,100dvh) - 24px);overscroll-behavior:contain;color:#293c30;background:#f3f6ef;border:2px solid #657666;border-radius:12px;margin-block:0;padding:clamp(1rem,4vw,1.5rem);bottom:auto;overflow-y:auto;transform:translateY(-50%)}.login-dialog::backdrop{background:#16251dcc}.login-dialog h2{margin:0}.login-dialog>p{overflow-wrap:anywhere;margin:.5rem 0 1rem}.login-dialog form,.login-dialog label{gap:.5rem;display:grid}.login-dialog form{gap:.75rem}.login-dialog input{width:100%;min-width:0;color:inherit;font:inherit;background:#fff;border:1px solid #bacab3;border-radius:6px;padding:.65rem;font-size:max(16px,1em)}.login-dialog input:focus{outline-offset:1px;outline:2px solid #527b54}.login-code{border:0;min-inline-size:0;margin:0;padding:0}.login-code legend{margin-bottom:.5rem;padding:0}.login-code-digits{grid-template-columns:repeat(4,minmax(0,1fr));gap:.5rem;display:grid}.login-code-digits input{text-align:center;padding-inline:0;font-size:1.375rem}.login-dialog .login-submit{color:#fff7de;background:#344d39;border-color:#344d39;min-height:44px}.login-dialog .login-submit:not(:disabled):hover{background:#293e32}.login-actions{flex-wrap:wrap;gap:.5rem;display:flex}.login-actions .account-button{flex:1 0 auto;min-height:44px;padding:.5rem;font-size:.875rem}.login-error{color:#9c4e43;margin:0}.pixel-trophy{width:28px;height:28px;image-rendering:pixelated;flex:none;display:inline-block}.account-page{padding-bottom:50px}.account-hero{padding:30px 4px}.account-hero h1{color:#293e32;letter-spacing:-.04em;margin:7px 0 12px;font:600 clamp(32px,5vw,48px) Space Grotesk,sans-serif}.account-hero p{color:#657666;line-height:1.6}.account-eyebrow{color:#728565;letter-spacing:.14em;margin:0 0 8px;font:10px DM Mono,monospace}.profile-card{background:#fffdf8;border:1px solid #e0e7d9;border-radius:12px;margin-bottom:22px;padding:26px}.profile-card h2{color:#293e32;overflow-wrap:anywhere;margin:0 0 10px;font-size:23px}.profile-card p{line-height:1.65}.profile-identity{grid-template-columns:1fr 1fr;align-items:center;gap:30px;display:grid}.profile-identity form{gap:8px;min-width:0;display:grid}.profile-identity label{font-weight:600}.profile-identity small,.account-note{color:#728075;font-size:12px;line-height:1.7}.username-controls{gap:10px;display:flex}.username-controls input{width:100%;min-width:0;font:inherit;color:#293e32;background:#fff;border:1px solid #bacab3;border-radius:6px;padding:11px 12px}.account-button{color:#344a3c;font:inherit;cursor:pointer;white-space:nowrap;background:#edf3e5;border:1px solid #b7c5a8;border-radius:6px;padding:10px 18px}.account-button:hover{background:#e0ebd3}.account-button:disabled{opacity:.45;cursor:default}.account-page a{color:#4a6c37}.text-button{color:#59695d;font:inherit;cursor:pointer;background:0 0;border:0;padding:4px 0;text-decoration:underline}.profile-stats{grid-template-columns:repeat(5,1fr);gap:16px;margin:0 0 22px;display:grid}.profile-stats div{background:#eaf0e2;border-radius:10px;flex-direction:column-reverse;gap:6px;padding:20px;display:flex}.profile-stats dt{color:#687c60;font-size:12px}.profile-stats dd{color:#344a3c;margin:0;font:600 30px Space Grotesk,sans-serif}.section-heading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:10px;display:flex}.section-heading span{color:#728075;font-size:12px}.rating-graph svg{width:100%;height:auto;overflow:visible}.rating-graph svg text{fill:#728075;font:12px DM Mono,monospace}.graph-grid{stroke:#e0e7d9;stroke-dasharray:4 5}.graph-line{fill:none;stroke:#71974e;stroke-width:3px;stroke-linejoin:round}.graph-point{fill:#71974e;stroke:#fffdf8;stroke-width:2px;cursor:crosshair}.graph-point:focus{fill:#d6a634;stroke:#293e32;outline:none}.graph-selection{align-items:baseline;gap:12px;min-height:32px;display:flex}.graph-selection strong{color:#344a3c;font-size:26px}.graph-selection span{color:#728075;font-size:12px}.leaderboard-hero{align-items:center;gap:26px;display:flex}.hero-trophy{filter:drop-shadow(0 5px #344a3c12);width:80px;height:80px}.leaderboard-table-wrap{overflow-x:auto}.leaderboard-table{border-collapse:collapse;text-align:left;width:100%}.leaderboard-table th,.leaderboard-table td{border-bottom:1px solid #e8ecdf;padding:18px 14px}.leaderboard-table thead th{color:#728075;text-transform:uppercase;letter-spacing:.06em;font:10px DM Mono,monospace}.leaderboard-table th[scope=row]{overflow-wrap:anywhere;font-weight:500}.leaderboard-table td:last-child,.leaderboard-table th:last-child{text-align:right}.podium-row{background:#f6f4e6}.rank-cell{align-items:center;gap:12px;min-height:28px;display:flex}.leaderboard-rating{color:#344a3c;font:600 23px Space Grotesk,sans-serif}.leaderboard-pagination{color:#728075;justify-content:space-between;align-items:center;gap:14px;margin:22px 0;font-size:12px;display:flex}.leaderboard-empty{text-align:center;padding:35px 0}.leaderboard-empty .pixel-trophy{width:64px;height:64px;margin-bottom:16px}@media (width<=560px){.profile-card{padding:18px 14px}.profile-identity{grid-template-columns:1fr;gap:18px}.profile-stats{grid-template-columns:repeat(2,1fr);gap:10px}.profile-stats div{padding:16px}.leaderboard-hero{gap:16px}.hero-trophy{width:60px;height:60px}.leaderboard-table th,.leaderboard-table td{padding:14px 8px}.rank-cell{gap:6px}.leaderboard-pagination{gap:8px}}.outcome-badge{white-space:nowrap;border-radius:5px;padding:4px 8px;font-size:11px;display:inline-block}.outcome-win{color:#476b33;background:#e9f1e1}.outcome-draw{color:#806b3a;background:#f4efd9}.outcome-loss{color:#985d50;background:#f7e9e3}.results-table time{color:#7b8876;white-space:nowrap;font-size:11px}.puzzle-preview-trigger{color:inherit;font:inherit;text-align:left;background:0 0;border:0;padding:5px 0}.puzzle-preview-trigger span{color:#98a885;margin-left:7px}.puzzle-preview-trigger:hover,.puzzle-preview-trigger:focus-visible{color:#4a7038;text-decoration:underline}.score-preview{color:#34483a;background:#fffefa;border:1px solid #d7dfce;border-radius:12px;width:min(940px,100vw - 24px);max-height:calc(100vh - 24px);padding:18px;overflow:auto;box-shadow:0 16px 70px #23392630}.score-preview-tooltip{z-index:100;pointer-events:none;position:fixed}.score-preview-dialog{max-width:940px;max-height:88vh;margin:auto}.score-preview-dialog::backdrop{background:#24362c65}.score-preview-heading{justify-content:space-between;align-items:flex-start;gap:15px;display:flex}.score-preview-heading h2{color:#34483a;margin:0;font:600 18px Space Grotesk,sans-serif}.score-preview-heading p{color:#809073;margin:6px 0 0;font-size:11px}.puzzle-score{width:100%;min-height:120px}
