:root{font-family:Arial,Hiragino Kaku Gothic ProN,sans-serif;color:#233340}*{box-sizing:border-box}body{margin:0;overflow:hidden;background:#cbdbe5}button,select{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,select:focus-visible{outline:2px solid #233340;outline-offset:4px}[hidden]{display:none!important}#game{position:fixed;inset:0;width:100%;height:100%;image-rendering:pixelated}#vignette{display:none}header{position:absolute;left:24px;right:24px;top:20px;display:flex;justify-content:space-between;align-items:start}.wordmark{color:inherit;text-decoration:none;font-size:15px}.top-right{display:flex;gap:18px;font-size:11px}.top-right button{background:none;border:0;color:inherit;padding:3px}#intro{position:absolute;left:50%;bottom:10%;transform:translate(-50%);text-align:center}#intro p{font-size:12px;line-height:2;color:#233340;margin:0 0 15px;text-shadow:0 1px 5px #fff}#start,#restart,#resume{background:#253e50;color:#fff;padding:12px 38px;border:0;border-radius:2px;font-size:13px;min-width:150px}#hud{position:absolute;inset:0;pointer-events:none}#hud button{pointer-events:auto}.speed{position:absolute;bottom:30px;right:30px;text-align:right;text-shadow:0 1px 5px #fff8;font-variant-numeric:tabular-nums}.speed strong{font-size:46px;font-weight:500;letter-spacing:-2px}.speed span{font-size:12px;margin-left:7px}.distance{position:absolute;left:28px;bottom:30px;font-size:12px;text-shadow:0 1px 5px #fff8;font-variant-numeric:tabular-nums}.distance strong{font-size:22px;font-weight:400}.distance small{display:block;font-size:10px;margin-top:5px;opacity:.7}.hud-bottom{position:absolute;right:25px;top:62px;display:flex;gap:16px}.hud-bottom button{background:none;border:0;font-size:20px;color:inherit}#auto[aria-pressed=true]{color:#ffb35c}.overlay{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:280px;background:#e8eef0ed;padding:30px;text-align:center;border-radius:2px}h2{font-size:20px;font-weight:500;margin:0 0 25px}.result-stats{display:flex;justify-content:center;gap:30px;margin:0 0 18px}.result-stats strong{font-size:28px;font-weight:400;margin-right:5px}.result-stats span{font-size:11px}.plain{display:block;margin:12px auto 0;background:none;border:0;padding:6px;font-size:11px;color:inherit}.overlay p{font-size:11px;margin-bottom:22px}#message{position:absolute;top:25%;width:100%;text-align:center;font-size:13px;color:#233340;text-shadow:0 1px 4px #fff}#settings-panel{position:absolute;right:24px;top:56px;width:250px;background:#e8eef0f5;padding:20px;font-size:11px;z-index:5}.setting-title{display:flex;justify-content:space-between;align-items:center;font-size:13px;margin-bottom:20px}.setting-title button{background:none;border:0;font-size:22px}aside label{display:flex;justify-content:space-between;align-items:center;margin:18px 0}select{font-size:11px;padding:4px;background:transparent;border:1px solid #23334040}input{accent-color:#253e50}#touch{position:absolute;bottom:90px;left:6%;right:6%;display:flex;justify-content:space-between;pointer-events:none}#touch button{pointer-events:auto;width:56px;height:56px;color:#233340;background:#edf3ef88;border:1px solid #23334040;border-radius:50%;font-size:22px;touch-action:none}body.playing .wordmark{visibility:hidden}@media(max-width:600px){header{left:18px;right:18px}.speed{bottom:24px;right:20px}.speed strong{font-size:36px}.distance{left:20px;bottom:24px}#intro{bottom:18%;width:100%}}@font-face{font-family:Dot;src:url(/assets/dot-gothic.ttf) format("truetype");font-display:swap}body,button,select{font-family:Dot,monospace;font-weight:400}header{top:20px;left:24px;right:24px}.wordmark{display:none}.top-right{margin-left:auto;font-size:12px}.top-right button{color:#fff7d8;text-shadow:2px 2px #233449,-1px -1px #233449,1px -1px #233449,-1px 1px #233449}#intro p{color:#fff7d8;text-shadow:2px 2px #233449,-1px -1px #233449,1px -1px #233449,-1px 1px #233449;font-size:14px;line-height:2}#start,#restart,#resume{font-family:Dot,monospace;border-radius:0;color:#fff7d8;background:#25384d;border:2px solid #fff7d8;box-shadow:3px 3px #25384d;padding:9px 30px;font-size:16px}#start:before,#restart:before,#resume:before{content:"▶ ";font-size:11px}#start:hover,#restart:hover,#resume:hover{background:#3e5871}.speed,.distance{top:22px;bottom:auto;font-family:Dot,monospace;color:#fff7d8;text-shadow:2px 2px #233449,-1px -1px #233449,1px -1px #233449,-1px 1px #233449;line-height:1.2;font-variant-numeric:tabular-nums}.speed{right:26px;top:68px;text-align:right}.speed:before{content:"SPEED";display:block;font-size:13px;letter-spacing:2px;margin-bottom:5px}.speed strong{font:400 36px/1 Dot,monospace;letter-spacing:2px}.speed span{font:400 14px Dot,monospace;margin-left:7px}.distance{left:26px;top:24px}.distance:before{content:"DISTANCE";display:block;font-size:13px;letter-spacing:2px;margin-bottom:6px}.distance strong{font:400 30px/1 Dot,monospace;letter-spacing:1px}.distance span{font-size:14px}.distance small{font:12px Dot,monospace;opacity:1;margin-top:12px}.hud-bottom{right:22px;top:auto;bottom:22px;display:flex;gap:16px}.hud-bottom button{color:#fff7d8;font:20px Dot,monospace;text-shadow:2px 2px #233449}.overlay{background:#25384df2;color:#fff7d8;border:3px double #fff7d8;border-radius:0;box-shadow:5px 5px #1b293a88;min-width:300px;padding:32px 20px}h2{font:24px Dot,monospace;letter-spacing:4px}.overlay p{font:12px Dot,monospace}.plain{font:13px Dot,monospace;color:#fff7d8}.result-stats strong{font:30px Dot,monospace}.result-stats span{font:12px Dot,monospace}#settings-panel{background:#25384df5;color:#fff7d8;border:3px double #fff7d8;box-shadow:4px 4px #1b293a66}#settings-panel button,select{color:inherit}select option{background:#25384d}input{accent-color:#fff7d8}#message{color:#fff7d8;font:16px Dot,monospace;text-shadow:2px 2px #233449}#touch button{border-radius:0;border:2px solid #fff7d8;background:#25384d88;color:#fff7d8;font-family:Dot,monospace}@media(max-width:600px){.distance{left:16px;top:18px}.distance strong{font-size:24px}.speed{right:16px;top:65px}.speed strong{font-size:30px}.top-right{gap:13px;font-size:11px}}#hud.tucking .speed{color:#ffe278}#touch #tuck{font-size:14px}.speed:after{content:"SHIFT";display:block;font-size:11px;letter-spacing:1px;margin-top:7px;opacity:.5}#hud.tucking .speed:after{content:"▶ TUCK";opacity:1}#hud.gliding .speed{color:#a9edeb}#hud.gliding .speed:after{content:"GLIDE";opacity:1}#route{position:absolute;left:50%;top:26px;transform:translate(-50%);color:#fff7d8;font:14px Dot,monospace;text-shadow:2px 2px #233449,-1px -1px #233449,1px -1px #233449,-1px 1px #233449;letter-spacing:1px}#lives{position:absolute;left:26px;top:106px;color:#f47c62;font:23px Dot,monospace;letter-spacing:5px;text-shadow:2px 2px #233449,-1px -1px #233449,1px -1px #233449,-1px 1px #233449}@media(max-width:600px){#lives{left:16px;top:94px;font-size:19px;letter-spacing:4px}}.auto-speed-setting{flex-wrap:wrap;gap:8px}.auto-speed-setting input[type=range]{width:100%;accent-color:#dfbd56}.auto-speed-setting output{font-variant-numeric:tabular-nums}#walk-help{position:absolute;bottom:90px;left:50%;transform:translate(-50%);font-size:12px;white-space:nowrap;text-shadow:0 1px 3px #243b49}#walk-mode{font-size:18px;color:#f2f5ed;align-self:center;text-shadow:0 1px 3px #101e36}#walk-help{color:#f2f5ed}#leaderboard{color:var(--ink, #243b49);background:#eaf0f1;border:1px solid #9aafb8;border-radius:12px;padding:24px;width:min(480px,calc(100vw - 32px));max-height:85dvh;overflow:auto;box-sizing:border-box}#leaderboard::backdrop{background:#142c3a99}.ranking-heading,.ranking-account{display:flex;align-items:center;justify-content:space-between;gap:12px}.ranking-heading h2{margin:0}.ranking-heading button{font-size:24px;padding:4px 12px}#leaderboard{width:min(900px,calc(100vw - 24px));border-radius:4px;border-top:4px solid #dc692d}#leaderboard p{line-height:1.6}#leaderboard small{display:block;margin-top:12px;line-height:1.5}.ranking-scroll{overflow-x:auto}.ranking-table{border-collapse:collapse;width:100%;text-align:right;font-variant-numeric:tabular-nums;font-size:14px}.ranking-table th{font-size:11px;letter-spacing:.06em;color:#5e7684;border-bottom:2px solid #8da3ad;padding:12px 10px;white-space:nowrap}.ranking-table td{padding:12px 10px;border-bottom:1px solid #c7d3d8;white-space:nowrap}.ranking-table td:nth-child(3){font-weight:800;color:#9e431b}.ranking-table th:nth-child(2),.ranking-table td:nth-child(2){text-align:left}.ranking-player{display:flex;gap:10px;align-items:center}.ranking-player img{border-radius:50%;object-fit:cover;background:#cad8e4}.ranking-player span{max-width:200px;overflow:hidden;text-overflow:ellipsis}#ranking-result{max-width:360px;font-size:13px;line-height:1.6}.score-display{position:absolute;top:108px;left:28px;display:flex;align-items:baseline;gap:7px;font-variant-numeric:tabular-nums}.score-display strong{font-size:32px}.score-display small{font-size:14px;color:#c75020}@media(max-width:600px){.score-display{top:94px;left:20px}.score-display strong{font-size:24px}#ranking-open{font-size:11px;padding:8px}.ranking-table td{padding:9px 6px}.ranking-player span{max-width:120px}}.score-display{font-family:Dot,monospace;color:#fff7d8;text-shadow:2px 2px #233449,-1px -1px #233449;line-height:1.2}.score-display small{color:#ffb259}.score-display{top:24px;left:26px;display:block}.score-display:before{content:"SCORE";display:block;font-size:13px;letter-spacing:2px;margin-bottom:6px}.score-display strong{font-size:40px}.score-display span{font-size:13px;margin-left:8px}.score-display small{margin-left:12px}.distance{top:108px}.distance strong{font-size:22px}#lives{top:190px}#leaderboard button{background:#25384d;color:#fff7d8;border:1px solid #25384d;padding:8px 12px}#leaderboard button.plain{background:transparent;color:#25384d}#leaderboard button:disabled{opacity:.45;cursor:default}@media(max-width:600px){.score-display{top:18px;left:16px}.score-display strong{font-size:30px}.distance{top:90px}#lives{top:166px}}#intro h1{margin:0 0 20px;font:400 clamp(40px,8vw,76px)/1 SkinityPixel,monospace;letter-spacing:3px;color:#fff7d8;text-shadow:3px 3px #233449,-2px -2px #233449,2px -2px #233449,-2px 2px #233449}@font-face{font-family:SkinityPixel;src:url(/assets/pixelify-sans.ttf) format("truetype");font-weight:400;font-display:swap}.skinity-name{font-family:SkinityPixel,monospace}#discord-identity{display:flex;align-items:center;gap:12px;min-width:0}#discord-account{overflow-wrap:anywhere}.ranking-player img,#discord-avatar{image-rendering:crisp-edges;image-rendering:pixelated;object-fit:cover;border-radius:0;width:48px;height:48px;flex-shrink:0;background:#cad8e4}.ranking-account{flex-wrap:wrap}#intro{inset:50% 0 auto;width:100%;max-height:calc(var(--app-height, 100dvh) - 110px);padding:30px 32px;transform:translateY(-50%);display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:32px;overflow-y:auto}.title-actions{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:20px 0}.title-actions>button{margin:5px 0}.title-actions #start{margin:9px 0}#intro h1{font-family:SkinityPixel,monospace;font-weight:400;letter-spacing:1px;margin-bottom:24px;font-size:clamp(48px,7vw,90px)}#title-ranking{width:100%;max-width:560px;justify-self:center;max-height:65dvh;overflow-y:auto;text-align:left;background:#eaf0f1f2;color:#25384d;border:1px solid #9aafb8;border-top:3px solid #dc692d;box-shadow:7px 7px #23344966;padding:22px;scrollbar-width:thin}.title-ranking-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.title-ranking-heading h2{margin:0;font-size:20px}.title-ranking-heading>span{font-size:11px;color:#6c7e86;letter-spacing:1px}#intro #title-ranking p{color:#607784;text-shadow:none;font-size:12px;line-height:1.7;margin:12px 0}#title-ranking .ranking-table{font-size:11px}#title-ranking .ranking-table th{font-size:10px;padding:9px 4px}#title-ranking .ranking-table td{padding:9px 4px}#title-ranking .ranking-player{gap:7px}#title-ranking .ranking-player img{width:32px;height:32px}#title-ranking .ranking-player span{max-width:115px}#title-ranking-more{display:block;margin:15px auto 0;border:1px solid #8197a3;background:transparent;color:#25384d;padding:7px 12px;font:12px Dot,monospace}#title-identity{display:flex;align-items:center;gap:9px;margin-top:15px;font-size:12px}#title-avatar{width:32px;height:32px;image-rendering:pixelated;flex-shrink:0}#title-account{overflow-wrap:anywhere}@media(max-width:760px){#intro{top:70px;bottom:20px;max-height:none;transform:none;grid-template-columns:1fr;padding:16px 22px;gap:25px;align-content:start}.title-actions{padding:12px 0}#intro h1{font-size:58px;margin-bottom:14px}#title-ranking{max-height:48dvh;padding:16px}#intro .title-actions p{font-size:12px;line-height:1.7}.title-actions>button{margin:3px 0}}.ranking-player img,#discord-avatar,#title-avatar{border-radius:50%;overflow:hidden}body.paused #pause-screen{left:25%;width:min(360px,calc(50vw - 48px));padding:32px 24px}body.paused #settings-panel{position:absolute;left:75%;right:auto;top:50%;transform:translate(-50%,-50%);width:min(420px,calc(50vw - 48px));max-height:calc(var(--app-height, 100dvh) - 100px);overflow-y:auto}#settings-panel .volume-setting{flex-wrap:wrap;gap:8px}#volume{width:100%;accent-color:#e46b32}#result{width:min(640px,calc(100vw - 36px));max-height:calc(var(--app-height, 100dvh) - 70px);overflow-y:auto}.result-stats{gap:22px;flex-wrap:wrap}.result-stats>div{min-width:115px}.result-stats strong{font-size:clamp(22px,4vw,34px);overflow-wrap:anywhere}#ranking-result{margin-left:auto;margin-right:auto}#message img{width:32px;height:32px;object-fit:cover;image-rendering:pixelated;border-radius:50%;vertical-align:middle;margin-right:9px}#message span{vertical-align:middle}@media(max-width:760px){body.paused #pause-screen{left:50%;top:80px;transform:translate(-50%);width:calc(100vw - 44px);padding:18px}body.paused #settings-panel{left:50%;top:300px;transform:translate(-50%);width:calc(100vw - 44px);max-height:calc(var(--app-height, 100dvh) - 320px)}body.paused #pause-screen h2{margin-bottom:12px}}#discord-invite{position:relative;width:min(460px,calc(100vw - 32px));max-height:calc(var(--app-height, 100dvh) - 40px);overflow:auto;box-sizing:border-box;padding:32px;background:#eaf0f1;color:#25384d;border:1px solid #9aafb8;border-top:4px solid #dc692d;border-radius:4px;box-shadow:8px 8px #142c3a55}#discord-invite::backdrop{background:#142c3a99}#discord-invite-close{position:absolute;top:12px;right:14px;border:0;background:transparent;color:#4d6471;font-size:24px;padding:2px 8px;line-height:1}.invite-brand{display:flex;align-items:center;gap:10px;margin-bottom:24px}.invite-brand img{border-radius:50%;image-rendering:pixelated}.invite-brand span{font-size:25px}#discord-invite h2{font-size:30px;line-height:1.45;margin:0 0 16px;font-weight:400;letter-spacing:.02em}#discord-invite p{font-size:14px;line-height:1.8;margin:0 0 15px}#discord-invite .invite-note{font-size:11px;color:#5c7481;line-height:1.8;margin-bottom:22px}#discord-invite-status:empty{display:none}#discord-invite #discord-invite-status{font-size:12px}#discord-invite-login{display:block;width:100%;padding:13px 10px;border:1px solid #4351c5;background:#5865f2;color:#fff;font:14px Dot,monospace;box-shadow:3px 3px #25384d33}#discord-invite-login:disabled{opacity:.6;cursor:wait}#discord-invite-later{display:block;width:100%;padding:10px;margin-top:10px;border:0;background:transparent;color:#526b78;font:12px Dot,monospace}@media(max-width:480px){#discord-invite{padding:26px 22px}#discord-invite h2{font-size:27px}.invite-brand{margin-bottom:20px}}#result-ranking{color:#25384d;margin:18px auto 22px;padding:12px 14px;max-width:530px;background:#dce6e9;border:1px solid #a8bdc5;border-radius:3px;text-align:left}.result-ranking-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:8px}#result-ranking h3{font-size:13px;font-weight:400;margin:0}#result-ranking-note{font-size:10px;color:#526b78}#result-ranking-status{font-size:12px;line-height:1.6;margin:8px 0}#result-ranking-status:empty{display:none}.result-ranking-scroll{overflow-x:auto}#result-ranking table{width:100%;border-collapse:collapse;font-size:11px;white-space:nowrap}#result-ranking th{font-size:10px;font-weight:400;color:#526b78;padding:5px 6px;border-bottom:1px solid #a8bdc5;text-align:right}#result-ranking th:nth-child(2){text-align:left}#result-ranking td{padding:6px;text-align:right;border-bottom:1px solid #bdcdd3}#result-ranking tr:last-child td{border-bottom:0}#result-ranking td:nth-child(2){text-align:left}#result-ranking .ranking-player{gap:6px;min-width:100px}#result-ranking .ranking-player img{width:24px;height:24px;flex-shrink:0}#result-ranking .ranking-player>span{max-width:135px;overflow:hidden;text-overflow:ellipsis}#result-ranking .ranking-self{background:#fff1ca;color:#25384d;box-shadow:inset 3px 0 #dc692d}#result-ranking .ranking-you{font:9px Dot,monospace;color:#a3461a}@media(max-width:480px){#result-ranking{padding:10px 6px}.result-ranking-heading{flex-direction:column;gap:4px}#result-ranking td,#result-ranking th{padding:5px 4px}#result-ranking .ranking-player>span{max-width:80px}}html,body{overscroll-behavior:none}body,button,canvas,#hud,#touch{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}button,a,select{touch-action:manipulation;-webkit-tap-highlight-color:transparent}img{-webkit-user-drag:none}input,textarea{-webkit-user-select:text;user-select:text}input[type=range],#game,#touch button{touch-action:none}#intro,#settings-panel,.overlay,dialog,.ranking-scroll{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.touch-help,#touch-view,.touch-device .desktop-help{display:none}.touch-device .touch-help{display:block}body.walking #touch-view{display:flex;position:absolute;right:0;bottom:82px;gap:8px}#touch #touch-view button{width:64px;height:44px;font-size:12px}#touch button:active,#vehicle-jet:active{background:#52677c;color:#ffe278;transform:translateY(2px)}@media(max-width:760px),(any-pointer:coarse),(max-height:500px)and (orientation:landscape){header{position:fixed;top:calc(env(safe-area-inset-top,0px) + 8px);left:calc(env(safe-area-inset-left,0px) + 12px);right:calc(env(safe-area-inset-right,0px) + 12px);z-index:5}.top-right{gap:8px;align-items:center}.top-right button{min-height:44px;padding:8px 10px;font-size:12px;background:#25384dbb;border:1px solid #fff7d855;border-radius:4px}#intro{top:calc(env(safe-area-inset-top,0px) + 64px);bottom:calc(env(safe-area-inset-bottom,0px) + 12px);max-height:none;padding:10px 16px 20px;gap:18px}.title-actions{padding:8px 0}#intro h1{font-size:52px;margin:0 0 12px}#intro .title-actions p{font-size:11px;line-height:1.8;margin-bottom:12px}.title-actions>button{min-height:44px;width:min(100%,280px)}#title-ranking{max-height:none;padding:14px;box-shadow:3px 3px #23344966}#title-ranking .ranking-scroll{max-height:230px;overflow:auto}#title-ranking-more{min-height:44px;width:100%;margin-bottom:0}#hud .score-display{left:16px;top:calc(env(safe-area-inset-top,0px) + 65px)}#hud .score-display strong{font-size:27px}#hud .distance{left:16px;top:calc(env(safe-area-inset-top,0px) + 130px);bottom:auto;font-size:11px}#hud .distance strong{font-size:20px}#hud .distance small{font-size:9px}#hud .speed{top:calc(env(safe-area-inset-top,0px) + 117px);right:16px;bottom:auto}#hud .speed strong{font-size:29px}#hud .speed:after{content:""}#hud .hud-bottom{top:calc(env(safe-area-inset-top,0px) + 62px);bottom:auto;align-items:flex-start;right:12px;gap:6px;max-width:65%;justify-content:flex-end;flex-wrap:wrap}#hud .hud-bottom button{min-width:44px;min-height:44px;padding:8px;font-size:13px;background:#25384dcc;border:1px solid #fff7d877;border-radius:4px}#walk-mode,#walk-help{display:none}#hud #lives{top:calc(env(safe-area-inset-top,0px) + 177px);left:16px;font-size:19px}#route{top:calc(env(safe-area-inset-top,0px) + 190px);font-size:12px}#message{top:29%;padding:0 16px;font-size:13px;line-height:1.7}#message img{width:24px;height:24px}#touch{position:fixed;bottom:calc(env(safe-area-inset-bottom,0px) + 16px);left:calc(env(safe-area-inset-left,0px) + 12px);right:calc(env(safe-area-inset-right,0px) + 12px);gap:10px;justify-content:flex-start;z-index:6}#touch button{flex-shrink:0;width:64px;height:64px;border-radius:8px;background:#25384dd9;border:2px solid #fff7d8b3;box-shadow:0 3px #152a3b80;font-size:25px}#touch #left{order:0}#touch #right{order:1}#touch #tuck{order:2;margin-left:auto;font-size:13px}#touch #jump{order:3}body.walking #touch #jump{font-size:13px;white-space:nowrap}#result{top:calc(env(safe-area-inset-top,0px) + 64px);transform:translate(-50%);width:calc(100vw - 24px);min-width:0;max-height:calc(var(--app-height, 100dvh) - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 80px);padding:20px 12px}#result h2{font-size:21px;margin-bottom:16px}.result-stats{gap:12px;margin-bottom:12px}.result-stats>div{min-width:75px}.result-stats strong{font-size:24px}#result button{min-height:44px}body.paused #hud{visibility:hidden}body.paused #pause-screen{position:fixed;top:calc(env(safe-area-inset-top,0px) + 62px);left:12px;transform:none;width:calc(100vw - 24px);min-width:0;padding:14px 10px}body.paused #pause-screen h2{font-size:19px;margin-bottom:12px}body.paused #pause-screen button{display:inline-block;margin:0 3px;min-width:0;min-height:44px;padding:8px 14px;font-size:12px}body.paused #settings-panel{position:fixed;top:calc(env(safe-area-inset-top,0px) + 196px);bottom:calc(env(safe-area-inset-bottom,0px) + 12px);left:12px;right:12px;width:auto;transform:none;max-height:none;overflow-y:auto;padding:16px}#settings-panel:not([hidden]){max-width:calc(100vw - 24px)}#settings-panel label{min-height:44px}#settings-panel input[type=range]{height:32px}#settings-panel select{font-size:16px;min-height:40px}#close-settings{min-width:44px;min-height:44px}#leaderboard,#discord-invite{max-height:calc(var(--app-height, 100dvh) - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 24px);padding:20px 16px}#leaderboard button,#discord-invite button{min-height:44px}.ranking-heading h2{font-size:20px;letter-spacing:1px}}@media(max-width:359px){#touch{gap:7px}#touch button{width:58px;height:60px}#intro h1{font-size:46px}}@media(max-height:500px)and (orientation:landscape){#intro{grid-template-columns:1fr 1fr;gap:16px;align-items:start}#intro h1{font-size:40px}#title-ranking .ranking-scroll{max-height:160px}#hud #lives{top:calc(env(safe-area-inset-top,0px) + 130px)}#hud .distance{top:auto;bottom:calc(env(safe-area-inset-bottom,0px) + 94px)}#hud .distance small{display:none}#hud .speed{top:auto;bottom:calc(env(safe-area-inset-bottom,0px) + 94px)}#route{top:65px}#message{top:40%}body.paused #pause-screen{width:calc(40vw - 18px);bottom:12px;overflow:auto}body.paused #pause-screen button{display:block;width:100%;margin:6px 0}body.paused #settings-panel{top:calc(env(safe-area-inset-top,0px) + 62px);left:40%;right:12px}}:root.touch-device header{position:fixed;top:calc(env(safe-area-inset-top,0px) + 8px);left:calc(env(safe-area-inset-left,0px) + 12px);right:calc(env(safe-area-inset-right,0px) + 12px);z-index:5}:root.touch-device .top-right{gap:8px;align-items:center}:root.touch-device .top-right button{min-height:44px;padding:8px 10px;font-size:12px;background:#25384dbb;border:1px solid #fff7d855;border-radius:4px}:root.touch-device #intro{top:calc(env(safe-area-inset-top,0px) + 64px);bottom:calc(env(safe-area-inset-bottom,0px) + 12px);max-height:none;padding:10px 16px 20px;gap:18px}:root.touch-device .title-actions{padding:8px 0}:root.touch-device #intro h1{font-size:52px;margin:0 0 12px}:root.touch-device #intro .title-actions p{font-size:11px;line-height:1.8;margin-bottom:12px}:root.touch-device .title-actions>button{min-height:44px;width:min(100%,280px)}:root.touch-device #title-ranking{max-height:none;padding:14px;box-shadow:3px 3px #23344966}:root.touch-device #title-ranking .ranking-scroll{max-height:230px;overflow:auto}:root.touch-device #title-ranking-more{min-height:44px;width:100%;margin-bottom:0}:root.touch-device #hud .score-display{left:16px;top:calc(env(safe-area-inset-top,0px) + 65px)}:root.touch-device #hud .score-display strong{font-size:27px}:root.touch-device #hud .distance{left:16px;top:calc(env(safe-area-inset-top,0px) + 130px);bottom:auto;font-size:11px}:root.touch-device #hud .distance strong{font-size:20px}:root.touch-device #hud .distance small{font-size:9px}:root.touch-device #hud .speed{top:calc(env(safe-area-inset-top,0px) + 117px);right:16px;bottom:auto}:root.touch-device #hud .speed strong{font-size:29px}:root.touch-device #hud .speed:after{content:""}:root.touch-device #hud .hud-bottom{top:calc(env(safe-area-inset-top,0px) + 62px);bottom:auto;align-items:flex-start;right:12px;gap:6px;max-width:65%;justify-content:flex-end;flex-wrap:wrap}:root.touch-device #hud .hud-bottom button{min-width:44px;min-height:44px;padding:8px;font-size:13px;background:#25384dcc;border:1px solid #fff7d877;border-radius:4px}:root.touch-device #walk-mode{display:none}:root.touch-device #walk-help{display:none}:root.touch-device #hud #lives{top:calc(env(safe-area-inset-top,0px) + 177px);left:16px;font-size:19px}:root.touch-device #route{top:calc(env(safe-area-inset-top,0px) + 190px);font-size:12px}:root.touch-device #message{top:29%;padding:0 16px;font-size:13px;line-height:1.7}:root.touch-device #message img{width:24px;height:24px}:root.touch-device #touch{position:fixed;bottom:calc(env(safe-area-inset-bottom,0px) + 16px);left:calc(env(safe-area-inset-left,0px) + 12px);right:calc(env(safe-area-inset-right,0px) + 12px);gap:10px;justify-content:flex-start;z-index:6}:root.touch-device #touch button{flex-shrink:0;width:64px;height:64px;border-radius:8px;background:#25384dd9;border:2px solid #fff7d8b3;box-shadow:0 3px #152a3b80;font-size:25px}:root.touch-device #touch #left{order:0}:root.touch-device #touch #right{order:1}:root.touch-device #touch #tuck{order:2;margin-left:auto;font-size:13px}:root.touch-device #touch #jump{order:3}:root.touch-device body.walking #touch #jump{font-size:13px;white-space:nowrap}:root.touch-device #result{top:calc(env(safe-area-inset-top,0px) + 64px);transform:translate(-50%);width:calc(100vw - 24px);min-width:0;max-height:calc(var(--app-height, 100dvh) - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 80px);padding:20px 12px}:root.touch-device #result h2{font-size:21px;margin-bottom:16px}:root.touch-device .result-stats{gap:12px;margin-bottom:12px}:root.touch-device .result-stats>div{min-width:75px}:root.touch-device .result-stats strong{font-size:24px}:root.touch-device #result button{min-height:44px}:root.touch-device body.paused #hud{visibility:hidden}:root.touch-device body.paused #pause-screen{position:fixed;top:calc(env(safe-area-inset-top,0px) + 62px);left:12px;transform:none;width:calc(100vw - 24px);min-width:0;padding:14px 10px}:root.touch-device body.paused #pause-screen h2{font-size:19px;margin-bottom:12px}:root.touch-device body.paused #pause-screen button{display:inline-block;margin:0 3px;min-width:0;min-height:44px;padding:8px 14px;font-size:12px}:root.touch-device body.paused #settings-panel{position:fixed;top:calc(env(safe-area-inset-top,0px) + 196px);bottom:calc(env(safe-area-inset-bottom,0px) + 12px);left:12px;right:12px;width:auto;transform:none;max-height:none;overflow-y:auto;padding:16px}:root.touch-device #settings-panel:not([hidden]){max-width:calc(100vw - 24px)}:root.touch-device #settings-panel label{min-height:44px}:root.touch-device #settings-panel input[type=range]{height:32px}:root.touch-device #settings-panel select{font-size:16px;min-height:40px}:root.touch-device #close-settings{min-width:44px;min-height:44px}:root.touch-device #leaderboard,:root.touch-device #discord-invite{max-height:calc(var(--app-height, 100dvh) - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 24px);padding:20px 16px}:root.touch-device #leaderboard button,:root.touch-device #discord-invite button{min-height:44px}:root.touch-device .ranking-heading h2{font-size:20px;letter-spacing:1px}html{height:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%}body{position:fixed;inset:0;width:100%;height:var(--app-height, 100dvh)}body[data-game-mode=playing],body[data-game-mode=crashing]{touch-action:none}#intro,#settings-panel,.overlay,dialog,.ranking-scroll{touch-action:pan-x pan-y}:root.touch-device #intro{transform:none;grid-template-columns:minmax(0,1fr);align-content:start;align-items:start}:root.touch-device .title-actions,:root.touch-device #title-ranking{min-width:0}@media(min-width:761px)and (min-height:501px){:root.touch-device #intro{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:center;align-content:center;padding:20px 24px}:root.touch-device #title-ranking{max-height:calc(var(--app-height, 100dvh) - 110px);overflow:auto}:root.touch-device #intro h1{font-size:clamp(48px,7vw,84px)}:root.touch-device body.paused #pause-screen{left:16px;top:calc(env(safe-area-inset-top,0px) + 64px);bottom:calc(env(safe-area-inset-bottom,0px) + 16px);width:calc(38vw - 24px);overflow:auto;display:flex;flex-direction:column;justify-content:center;gap:12px}:root.touch-device body.paused #pause-screen button{display:block;width:100%;margin:0;min-height:48px}:root.touch-device body.paused #settings-panel{left:38%;right:16px;top:calc(env(safe-area-inset-top,0px) + 64px);bottom:calc(env(safe-area-inset-bottom,0px) + 16px);width:auto;max-height:none;transform:none}:root.touch-device #touch{left:max(24px,env(safe-area-inset-left,0px));right:max(24px,env(safe-area-inset-right,0px));bottom:calc(env(safe-area-inset-bottom,0px) + 24px);gap:16px}:root.touch-device #touch button{width:76px;height:76px}:root.touch-device #touch #touch-view{bottom:94px}}@media(max-height:500px)and (orientation:landscape){:root.touch-device #intro{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-content:start}:root.touch-device #hud .distance{top:auto;bottom:calc(env(safe-area-inset-bottom,0px) + 94px)}:root.touch-device #hud .speed{top:auto;bottom:calc(env(safe-area-inset-bottom,0px) + 94px)}:root.touch-device #hud #lives{top:calc(env(safe-area-inset-top,0px) + 130px)}:root.touch-device body.paused #pause-screen{width:calc(38vw - 24px);bottom:12px;overflow:auto}:root.touch-device body.paused #pause-screen button{display:block;width:100%;margin:6px 0}:root.touch-device body.paused #settings-panel{top:calc(env(safe-area-inset-top,0px) + 62px);left:38%;right:12px}}:root.touch-device #hud .run-summary{position:absolute;left:16px;top:calc(env(safe-area-inset-top,0px) + 130px);display:flex;flex-direction:column;align-items:flex-start;gap:10px;max-width:55vw}:root.touch-device #hud .run-summary .distance,:root.touch-device #hud .run-summary #lives{position:static;inset:auto;margin:0;transform:none}:root.touch-device #hud .run-summary .distance small{display:block;line-height:1.7;overflow-wrap:anywhere}:root.touch-device #hud .run-summary #lives{line-height:1.25}@media(max-width:760px){#hud .run-summary{position:absolute;left:16px;top:calc(env(safe-area-inset-top,0px) + 130px);display:flex;flex-direction:column;gap:10px}#hud .run-summary .distance,#hud .run-summary #lives{position:static;inset:auto;margin:0}#hud .run-summary .distance small{line-height:1.7}}@media(max-height:500px)and (orientation:landscape){:root.touch-device #hud .run-summary{top:calc(env(safe-area-inset-top,0px) + 125px);gap:8px}:root.touch-device #hud .run-summary .distance small{display:block}}#guest-invite{position:relative;color:#25384d;background:#eaf0f1;border:1px solid #9aafb8;border-top:4px solid #dc692d;border-radius:4px;padding:28px;width:min(460px,calc(100vw - 24px));max-height:calc(var(--app-height, 100dvh) - 32px);overflow:auto;box-shadow:6px 6px #142c3a55}#guest-invite::backdrop{background:#142c3a99}#guest-invite h2{font-size:23px;line-height:1.55;letter-spacing:0;margin:0 0 14px}#guest-invite p{font-size:13px;line-height:1.8}#guest-form{display:flex;flex-direction:column;gap:8px}#guest-form label{font-size:12px;margin-top:8px}#guest-form input{width:100%;font:16px Dot,monospace;padding:11px 12px;border:1px solid #8ba0ac;background:#fff;color:#25384d;border-radius:3px;min-height:44px;user-select:text;-webkit-user-select:text}#guest-invite .guest-help{font-size:11px;color:#58717d;margin:4px 0}#guest-invite button{min-height:44px;font:13px Dot,monospace}#guest-submit{margin-top:8px;background:#25384d;color:#fff7d8;padding:12px;border:1px solid #25384d}#guest-submit:disabled{opacity:.6}#guest-status:empty{display:none}#guest-status{color:#9f3b20;margin:0}.guest-close{position:absolute;right:10px;top:8px;min-width:44px;border:0;background:transparent;color:#526b78}#collision-warning{position:absolute;left:50%;top:34%;transform:translate(-50%);width:min(880px,100%);padding:14px 48px;text-align:center;pointer-events:none;background:linear-gradient(90deg,transparent 0%,#3c2919c9 18%,#3c2919ed 50%,#3c2919c9 82%,transparent 100%);color:#fff0c7;text-shadow:0 1px 2px #182230;font:15px Dot,monospace;line-height:1.7}.warning-kicker{display:block;font-size:10px;letter-spacing:3px;color:#ffc27e;margin-bottom:3px}#collision-warning.imminent{color:#ffe2d8;background:linear-gradient(90deg,transparent 0%,#69362bdd 20%,#69362bf2 50%,#69362bdd 80%,transparent 100%)}#crash-cause{color:#ffd39c;margin:0 0 18px!important;font-size:13px}@media(max-width:760px){#collision-warning{top:36%;padding:12px 28px;font-size:12px}.warning-kicker{font-size:9px}}img[src="/favicon.svg"],img[src="/skinity-logo.png"],.invite-brand img{image-rendering:auto;border-radius:50%;object-fit:cover}@media(max-height:500px)and (orientation:landscape){#collision-warning{top:36%;width:calc(100% - 280px);min-width:250px;padding:10px 20px;font-size:12px}}#intro .title-emblem{display:block;width:clamp(128px,16vw,210px);height:clamp(80px,10vw,130px);object-fit:contain;margin:0 auto 14px;image-rendering:auto;pointer-events:none;filter:drop-shadow(0 3px 8px #12273560)}@media(max-width:760px){#intro .title-emblem{width:130px;height:80px;margin-bottom:9px}}@media(max-height:560px)and (orientation:landscape){#intro .title-emblem{width:88px;height:54px;margin-bottom:5px}}:root[data-resort-time=day] #intro .title-emblem{filter:drop-shadow(0 2px 3px #18374635)}:root[data-resort-time=night] #intro .title-emblem{filter:drop-shadow(0 3px 8px #07132690)}:root[data-resort-time=day] :is(.top-right button,#intro .title-actions p,.speed,.distance,#route){text-shadow:2px 2px #233449,-1px -1px #233449,1px -1px #233449,-1px 1px #233449,0 2px 6px #18374635}:root[data-resort-time=day] #intro h1{text-shadow:3px 3px #233449,-2px -2px #233449,2px -2px #233449,-2px 2px #233449,0 3px 8px #18374635}:root[data-resort-time=day] :is(.score-display,.hud-bottom button){text-shadow:2px 2px #233449,-1px -1px #233449,0 2px 6px #18374635}:root[data-resort-time=day] #intro .title-actions>button.plain{text-shadow:0 1px 3px #18374665}:root[data-resort-time=day] :is(#start,#restart,#resume){box-shadow:3px 3px #25384d,0 3px 8px #18374635}:root[data-resort-time=day] #title-ranking{box-shadow:7px 7px #23344966,0 3px 12px #18374628}:root[data-resort-time=day] .overlay{box-shadow:5px 5px #1b293a88,0 3px 12px #18374628}#collision-warning{display:flex;align-items:center;justify-content:center;gap:16px;width:min(760px,100%);padding:14px 56px;background:linear-gradient(90deg,transparent,#ffd84de8 20%,#ffe36af5 50%,#ffd84de8 80%,transparent);color:#202e3b;text-shadow:none;font:20px/1.25 Dot,monospace}.warning-symbol{width:44px;height:44px;flex:none;filter:drop-shadow(2px 2px 0 #fff4)}.warning-copy{text-align:left;min-width:0}.warning-heading{display:flex;align-items:baseline;gap:12px;white-space:nowrap}.warning-kicker{display:inline;font-size:18px;letter-spacing:0;color:inherit;margin:0}#collision-warning-time{font:400 36px/1 Dot,monospace;font-variant-numeric:tabular-nums}#collision-warning-text{display:block;font-size:18px;margin-top:5px;overflow-wrap:anywhere}#collision-warning.imminent{color:#fff7d8;background:linear-gradient(90deg,transparent,#f05228ee 20%,#f05228fa 50%,#f05228ee 80%,transparent);text-shadow:1px 1px 0 #923518}@media(max-width:760px){#collision-warning{gap:10px;padding:12px 25px;top:36%}.warning-symbol{width:34px;height:34px}.warning-kicker{font-size:16px}#collision-warning-time{font-size:30px}#collision-warning-text{font-size:16px}}@media(max-height:500px)and (orientation:landscape){#collision-warning{top:36%;width:calc(100% - 280px);min-width:250px;padding:9px 18px;gap:8px}.warning-symbol{width:30px;height:30px}.warning-kicker{font-size:14px}#collision-warning-time{font-size:26px}#collision-warning-text{font-size:14px;margin-top:2px}}#collision-warning{animation:warning-enter .2s cubic-bezier(.16,1,.3,1) both;will-change:transform,opacity}#collision-warning.warning-exit{animation:warning-exit .18s ease-in both}@keyframes warning-enter{0%{opacity:0;transform:translate(-50%,-12px) scale(.97)}to{opacity:1;transform:translate(-50%) scale(1)}}@keyframes warning-exit{0%{opacity:1;transform:translate(-50%)}to{opacity:0;transform:translate(-50%,-7px)}}@media(prefers-reduced-motion:reduce){#collision-warning,#collision-warning.warning-exit{animation-duration:1ms;will-change:auto}}@media(max-width:760px),(pointer:coarse){#collision-warning{box-sizing:border-box;width:min(560px,100%);min-width:0;top:clamp(240px,36%,340px);gap:12px;padding:12px 28px;background:linear-gradient(90deg,transparent 0%,#ffdc55 7%,#ffdc55 93%,transparent 100%);color:#172b3b;line-height:1.3}#collision-warning .warning-symbol{width:38px;height:38px;color:#172b3b;filter:none}#collision-warning .warning-copy{width:min(290px,calc(100% - 50px))}#collision-warning .warning-heading{justify-content:space-between;gap:10px}#collision-warning .warning-kicker{font-size:18px}#collision-warning #collision-warning-time{font-family:Dot,monospace;font-size:32px;white-space:nowrap}#collision-warning #collision-warning-text{font-size:17px;line-height:1.35;margin-top:4px;text-shadow:none}#collision-warning.imminent{background:linear-gradient(90deg,transparent 0%,#ff7043 7%,#ff7043 93%,transparent 100%);color:#172b3b;text-shadow:none}}@media(max-width:359px){#collision-warning{padding:10px 20px;gap:9px}#collision-warning .warning-symbol{width:30px;height:30px}#collision-warning .warning-kicker{font-size:16px}#collision-warning #collision-warning-time{font-size:28px}#collision-warning #collision-warning-text{font-size:16px}}@media(max-height:560px)and (orientation:landscape){#collision-warning{top:calc(env(safe-area-inset-top,0px) + 68px);width:min(460px,calc(100% - 220px));min-width:0;padding:9px 24px;gap:10px}#collision-warning .warning-symbol{width:32px;height:32px}#collision-warning .warning-kicker{font-size:16px}#collision-warning #collision-warning-time{font-size:28px}#collision-warning #collision-warning-text{font-size:16px;margin-top:2px}}#intro .title-actions #offline-status{font-size:11px;line-height:1.6;margin:12px 0 0;max-width:290px}#offline-status:empty{display:none}@media(max-width:760px),(pointer:coarse){#collision-warning{width:min(330px,calc(100% - 24px));gap:8px;padding:8px 18px;animation:warning-mobile-enter .14s ease-out both;will-change:opacity}#collision-warning.warning-exit{animation:warning-mobile-exit .18s ease-in both}#collision-warning .warning-symbol{width:24px;height:24px}#collision-warning .warning-copy{width:min(250px,calc(100% - 32px))}#collision-warning .warning-heading{gap:8px}#collision-warning .warning-kicker{font-size:13px}#collision-warning #collision-warning-time{font-size:22px;min-width:4.3em;text-align:right}#collision-warning #collision-warning-text{font-size:13px;line-height:1.25;margin-top:1px}}@keyframes warning-mobile-enter{0%{opacity:0}to{opacity:1}}@keyframes warning-mobile-exit{0%{opacity:1}to{opacity:0}}@media(prefers-reduced-motion:reduce){#collision-warning,#collision-warning.warning-exit{animation-duration:1ms}}#collision-warning{background:linear-gradient(90deg,transparent,#ffdc55b8 20%,#ffdc55b8 80%,transparent)}#collision-warning.imminent{background:linear-gradient(90deg,transparent,#ff7043b8 20%,#ff7043b8 80%,transparent)}@media(max-width:760px),(pointer:coarse){#collision-warning{background:linear-gradient(90deg,transparent,#ffdc5599 7%,#ffdc5599 93%,transparent)}#collision-warning.imminent{background:linear-gradient(90deg,transparent,#ff704399 7%,#ff704399 93%,transparent)}}#collision-warning .warning-copy{text-shadow:0 1px 2px #fff8}#auto-playback{white-space:nowrap;font-size:15px;min-width:52px}#auto-playback[aria-pressed=true]{color:#ffcf65}#dopa-effects{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:2}#hud{z-index:3}#intro,.overlay,#settings-panel,header{z-index:4}.dopa-setting{color:#ffe077!important}.dopa-description{display:block;font-size:10px;line-height:1.5;opacity:.8;margin:-2px 0 12px}body.dopa-mode .score-display{color:#fff0a6;text-shadow:2px 2px #233449,-1px -1px #233449,0 0 14px #ffc34e90}body.dopa-mode .score-display small{color:#aaffba}body.dopa-mode .score-display{transform:scale(calc(1 + var(--dopa-punch,0)*.12));transform-origin:top left;will-change:transform}body.dopa-mode #speed{display:inline-block;transform:scale(calc(1 + var(--dopa-punch,0)*.14));transform-origin:right center;will-change:transform}@media(prefers-reduced-motion:reduce){body.dopa-mode .score-display,body.dopa-mode #speed{transform:none;will-change:auto}}
