/* Shared personal-site typography and tokens; the alpine game keeps its own palette. */
@font-face{font-family:Manrope;src:url('./assets/manrope-latin.woff2') format('woff2');font-style:normal;font-weight:200 800;font-display:swap}
@font-face{font-family:Newsreader;src:url('./assets/newsreader-latin.woff2') format('woff2');font-style:normal;font-weight:400 600;font-display:swap}
@font-face{font-family:Newsreader;src:url('./assets/newsreader-italic-latin.woff2') format('woff2');font-style:italic;font-weight:400 600;font-display:swap}
@font-face{font-family:'Manrope Fallback';src:local('Arial');font-style:normal;font-weight:200 500;size-adjust:103.19755%;ascent-override:103.68463%;descent-override:29.07046%;line-gap-override:0%}
@font-face{font-family:'Manrope Fallback';src:local('Arial Bold');font-style:normal;font-weight:600 800;size-adjust:103.19755%;ascent-override:103.68463%;descent-override:29.07046%;line-gap-override:0%}
@font-face{font-family:'Newsreader Fallback';src:local('Georgia');font-style:normal;font-weight:400 600;size-adjust:98.17341%;ascent-override:75.37682%;descent-override:27.50235%;line-gap-override:0%}
@font-face{font-family:'Newsreader Fallback';src:local('Georgia Italic');font-style:italic;font-weight:400 600;size-adjust:98.17341%;ascent-override:75.37682%;descent-override:27.50235%;line-gap-override:0%}
:root{--paper:#f5f2ed;--surface:#faf8f4;--plate:#f0ece8;--ink:#2d2933;--muted:#6c656c;--purple:#51365f;--soft-purple:#ebe5ed;--dark-purple:#2d2334;--signature:#ff5a1f;--line:#d8d0d7;--line-strong:#b7a6c0;--button-ink:#fdf9ff;--button-fill:#51365f;--button-hover:#684877;--selected:#e1d4e9;--cream:var(--paper);--orange:var(--signature);--gold:#f6c453;--font:Manrope,'Manrope Fallback',Arial,sans-serif;--serif:Newsreader,'Newsreader Fallback',Georgia,serif;--ease:cubic-bezier(.2,.7,.3,1)}
html[data-theme=light]{color-scheme:light}
html[data-theme=dark]{color-scheme:dark;--paper:#211c25;--surface:#2b2431;--plate:#312a37;--ink:#f0e9f3;--muted:#beb2c5;--purple:#d3b4e5;--soft-purple:#3c2e47;--dark-purple:#28212e;--line:#53445e;--line-strong:#80698e;--button-ink:#261b2d;--button-fill:#d3b4e5;--button-hover:#e3caf0;--selected:#4c385b}
.arcade{--ink:#193e3e;--cream:#faf5e9;--orange:#d64a29;--gold:#f6c453;color:var(--ink)}
*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font-family:var(--font);font-size:17px;line-height:1.6}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}a{color:inherit;text-underline-offset:5px}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:3px solid #d64a29;outline-offset:5px}[hidden]{display:none!important}.page{max-width:1160px;padding:0 42px;margin:auto}.site-header{height:93px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line)}.icon-button{border:0;background:none;display:flex;align-items:center;gap:8px;font-size:13px;padding:12px 0 12px 10px}.icon-button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7}.sound-wave{display:none}[data-sound=on] .sound-wave{display:block}[data-sound=on] .sound-off{display:none}.game-topline{display:flex;justify-content:space-between;align-items:center;padding:27px 0 20px}.game-name{display:inline-flex;align-items:center;gap:10px;font-size:20px;font-weight:800;letter-spacing:-.04em;text-decoration:none}.game-name svg{height:27px;width:27px;fill:none;stroke:var(--ink);stroke-width:1.7;stroke-linejoin:round}.game-name svg path+path{fill:var(--ink);stroke:none}.best{display:flex;align-items:baseline;gap:10px;font-size:13px;color:#536b62}.best strong{font-size:19px;color:var(--ink);font-variant-numeric:tabular-nums}.arcade{position:relative;isolation:isolate;height:560px;overflow:hidden;border:2px solid var(--ink);border-radius:18px;background:#f8dfc5;box-shadow:0 7px 0 #193e3e12;touch-action:pan-y}#game{display:block;width:100%;height:100%;outline-offset:-7px!important;touch-action:manipulation}body[data-state=running] .arcade{touch-action:none}body[data-state=running] #game{touch-action:none}.screen{position:absolute;inset:0;z-index:3}.intro-screen{padding:38px 44px;pointer-events:none}.intro-content{max-width:440px;pointer-events:auto}.intro-content h1{font-size:clamp(72px,7.8vw,106px);font-weight:900;letter-spacing:-.085em;line-height:.88;margin:0 0 22px}.intro-content h1 span{color:var(--orange)}.intro-copy{font-size:18px;line-height:1.5;font-weight:500;margin:0 0 22px;max-width:310px}.primary-button{display:inline-flex;align-items:center;justify-content:space-between;gap:40px;min-height:54px;border:2px solid var(--ink);border-radius:8px;background:var(--ink);color:var(--cream);font-size:18px;font-weight:700;padding:12px 22px;box-shadow:0 4px 0 #102c2d;transition:transform .15s,background .15s}.primary-button:hover{background:#2e5550;transform:translateY(-1px)}.primary-button:active{transform:translateY(3px);box-shadow:none}.primary-button span{font-size:24px;font-weight:400;line-height:1}.intro-instructions{margin:19px 0 0;font-size:13px;line-height:1.8;color:#3a5953}kbd{font:inherit;border:1px solid #59756b66;border-bottom-width:2px;border-radius:4px;padding:1px 6px;background:#fff8e650}.trail-tag{position:absolute;right:25px;bottom:23px;font-size:10px;letter-spacing:.08em;line-height:1.7;color:#fff6dfc9;text-align:right}.challenge-note{font-size:14px;max-width:300px;margin:0 0 14px;font-weight:700;color:#8f341e}.hud{position:absolute;inset:23px 25px auto;display:flex;align-items:flex-start;justify-content:space-between;z-index:2;pointer-events:none}.run-stats{display:flex;gap:24px;align-items:center;color:var(--ink);text-shadow:0 1px 0 #ffe9cf}.stat-label{display:block;font-size:11px;line-height:1.2;margin-bottom:4px}.run-stats strong{font-size:28px;line-height:1.2;font-weight:800;letter-spacing:-.03em;font-variant-numeric:tabular-nums}.bell-stat{display:flex;gap:8px;align-items:center;padding-top:14px}.bell-stat svg{width:20px;height:25px;fill:var(--gold);stroke:var(--ink);stroke-width:1.5;stroke-linejoin:round;stroke-linecap:round}.bell-stat strong{font-size:20px}.pause-button{pointer-events:auto;width:43px;height:43px;border:1px solid #193e3e77;border-radius:50%;background:#fff3d9b3;display:grid;place-items:center;font-weight:900;font-size:23px;line-height:1}.pause-button:hover{background:var(--cream)}.centered-screen{background:#183f403b;backdrop-filter:blur(5px);display:flex;justify-content:center;align-items:center;padding:24px}.dialog-card{text-align:center;max-width:400px;width:100%;padding:32px 26px 25px;background:var(--cream);border:2px solid var(--ink);border-radius:14px;box-shadow:7px 7px 0 #193e3e35}.dialog-card h2{font-size:34px;letter-spacing:-.055em;line-height:1.15;margin:12px 0}.dialog-card p{margin:0 0 23px;font-size:16px}.dialog-card .primary-button{width:100%;gap:15px;text-align:left}.pause-illustration{display:inline-flex;justify-content:center;align-items:center;width:47px;height:47px;background:#e7b77b;border-radius:50%;font-size:26px;font-weight:700}.dialog-card .small-note{margin:20px 0 0;font-size:12px;color:#617568}.result-card{padding-top:25px}.result-card .result-eyebrow{font-size:15px;font-weight:600;margin:0}.result-card h2{font-size:78px;line-height:1;letter-spacing:-.07em;margin:12px 0 9px;font-variant-numeric:tabular-nums}.distance-unit{font-size:31px;letter-spacing:-.03em;margin-left:5px}.result-card .result-detail{font-size:14px;margin:0 0 23px}.new-best{display:inline-block;color:var(--orange);font-weight:700;margin-left:9px}.result-actions{display:flex;justify-content:center;gap:25px;margin-top:18px}.result-actions button,.how-button{border:0;border-bottom:1px solid currentColor;padding:5px 0;background:none;font-size:13px}.result-card .challenge-result{color:#9a3a23;font-size:14px;font-weight:600;margin:0 0 18px}.trail-feedback{pointer-events:none;position:absolute;top:24%;left:0;right:0;text-align:center;font-size:26px;font-weight:900;letter-spacing:-.04em;color:var(--ink);opacity:0;transition:opacity .25s,transform .25s;transform:translateY(7px);z-index:2}.trail-feedback.is-visible{opacity:1;transform:translateY(0)}.jump-hint{position:absolute;left:0;right:0;bottom:20px;text-align:center;pointer-events:none;font-size:13px;color:#fff4d9;z-index:2}.touch-hint{display:none}.below-game{display:flex;justify-content:space-between;align-items:flex-start;gap:36px;padding:27px 0 24px}.below-game p{font-size:14px;line-height:1.8;max-width:720px;margin:0;color:#536b62}.below-game strong{color:var(--ink)}.how-button{white-space:nowrap;padding-top:2px;display:inline-flex;align-items:center;gap:18px;font-size:13px}.how-button span{font-size:20px;line-height:1}.game-help{padding:23px 0 30px;border-top:1px solid var(--line);max-width:750px}.game-help h2{font-size:23px;letter-spacing:-.03em;margin:0 0 14px}.game-help ul{padding-left:22px;margin:0 0 16px}.game-help li{font-size:15px;margin:9px 0}.game-help p{font-size:14px;color:#536b62}footer{display:flex;justify-content:space-between;gap:20px;padding:21px 0 27px;border-top:1px solid var(--line);font-size:12px;color:#536b62}footer a{text-decoration:none;font-weight:600}.skip-link{position:fixed;top:10px;left:20px;z-index:20;background:var(--cream);padding:10px 18px;transform:translateY(-200%)}.skip-link:focus{transform:none}.announcer{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;margin:0}.toast{position:fixed;left:50%;bottom:25px;transform:translateX(-50%);padding:12px 22px;border-radius:9px;background:var(--ink);color:var(--cream);font-size:14px;max-width:calc(100vw - 32px);z-index:20;box-shadow:0 4px 20px #0003}
@media(pointer:coarse){.desktop-hint{display:none}.touch-hint{display:inline}.intro-instructions kbd{border:0;padding:0}.intro-instructions kbd:before{content:"Tap / "}}
@media(max-width:700px){.page{padding:0 18px}.site-header{height:72px}.game-topline{padding:22px 1px 15px}.game-name{font-size:18px}.game-name svg{width:24px}.best strong{font-size:16px}.arcade{height:510px;height:clamp(430px,67svh,560px);border-radius:13px}.intro-screen{padding:29px 25px}.intro-content h1{font-size:76px;letter-spacing:-.08em;margin-bottom:17px}.intro-copy{font-size:16px;line-height:1.5;margin-bottom:19px;max-width:270px}.intro-instructions{font-size:12px;margin-top:16px}.primary-button{min-height:50px;font-size:16px;padding:11px 18px;gap:32px}.trail-tag{display:none}.hud{inset:18px 17px auto}.run-stats{gap:18px}.run-stats strong{font-size:26px}.bell-stat strong{font-size:18px}.pause-button{height:44px;width:44px}.below-game{display:block;padding:22px 1px}.below-game p{font-size:14px;line-height:1.75}.how-button{font-size:14px;min-height:44px;margin-top:10px;gap:14px}.dialog-card{padding:26px 21px 23px}.dialog-card h2{font-size:30px}.result-card h2{font-size:69px}.result-actions{gap:20px}.result-actions button{font-size:13px;min-height:43px}.result-card .small-note{margin-top:12px}.jump-hint{font-size:12px;bottom:18px}.challenge-note{font-size:13px;line-height:1.5}.intro-content:has(.challenge-note:not([hidden])) h1{font-size:65px}.icon-button{min-height:44px}.game-help li{font-size:15px}footer{font-size:12px}}
.intro-screen:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#f7ddc2fa 0%,#f7ddc2ed 28%,#f7ddc200 65%);z-index:-1}.intro-instructions{color:#284d47;font-size:14px}.intro-instructions kbd{background:#fff5df}
@media(max-width:700px){.intro-screen:before{background:linear-gradient(180deg,#f7ddc2ff 0%,#f7ddc2ee 40%,#f7ddc200 77%)}.desktop-hint{display:none}.touch-hint{display:inline}.intro-instructions{font-size:13px}.intro-instructions kbd:before{content:none}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}.trail-feedback{transition:none}}

/* The same lowercase wordmark, orange cursor and theme control as deepmdesai.com. */
body{-webkit-font-smoothing:antialiased}
.site-header{height:89px;gap:24px;background:var(--paper)}
.wordmark{display:flex;align-items:baseline;gap:4px;color:var(--purple);font-size:21px;line-height:1.2;font-weight:800;letter-spacing:-1px;text-decoration:none;white-space:nowrap}
.brand-cursor{display:inline-block;flex:none;width:max(2px,.055em);height:.78em;background:var(--signature);vertical-align:-.08em}
.wordmark .brand-cursor{margin-left:3px;transform:translateY(.08em)}
.header-actions{display:flex;align-items:center;gap:18px;flex-shrink:0}
.icon-button{min-width:44px;min-height:44px;padding:9px 0;font-size:13px;line-height:1.4;color:var(--purple)}
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:44px;min-height:44px;padding:9px 11px;border:1px solid var(--line-strong);border-radius:3px;background:var(--surface);color:var(--purple);font-size:13px;line-height:1.4;white-space:nowrap}
.theme-toggle svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.theme-sun{display:none}html[data-theme=dark] .theme-moon{display:none}html[data-theme=dark] .theme-sun{display:block}
.game-name{color:var(--purple);font:500 30px/1.2 var(--serif);letter-spacing:-.7px}
.game-name svg{stroke:var(--purple)}.game-name svg path+path{fill:var(--purple)}
.best,.below-game p,.game-help p,footer{color:var(--muted)}
.game-help h2{font:500 29px/1.2 var(--serif);color:var(--purple);letter-spacing:-.5px}
.below-game p,.game-help p{font-size:15px}.game-help li{font-size:16px}
button:focus-visible,a:focus-visible{outline-color:var(--purple)}
.arcade button:focus-visible,.arcade a:focus-visible{outline-color:#193e3e}
.toast{background:var(--button-fill);color:var(--button-ink)}
::selection{background:var(--selected);color:var(--ink)}
@media(hover:hover){.theme-toggle:hover{background:var(--selected);border-color:var(--purple)}.icon-button:hover{color:var(--ink)}}
@media(max-width:700px){.site-header{height:69px;gap:12px}.header-actions{gap:8px}.theme-label,#sound-label{display:none}.icon-button{padding:9px}.game-name{font-size:27px}.game-help h2{font-size:27px}}
