:root{color-scheme:dark;font-family:Arial,Helvetica,sans-serif;background:#0a1219;color:#edf4f5;font-synthesis:none;--surface: #101b24;--line: #25343e;--muted: #a3b4bd;--ice: #adcfdd;--amber: #f3c67e;--mono: ui-monospace, "SFMono-Regular", Consolas, monospace}*,*:before,*:after{box-sizing:border-box}body{margin:0;min-width:280px}body[data-mode=menu],body[data-mode=loading]{background:radial-gradient(ellipse at 55% 0%,#172834,#0a1219 66%);min-height:100svh}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:2px solid #eccc91;outline-offset:4px}button:disabled{cursor:wait;opacity:.75}[hidden]{display:none!important}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.symbols{position:absolute;width:0;height:0;overflow:hidden}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.shell{width:min(100% - 96px,1320px);margin:0 auto;padding-bottom:26px}.masthead{height:78px;display:flex;justify-content:space-between;align-items:center}.identity{display:inline-flex;align-items:center;gap:13px;color:#eaf2f4;text-decoration:none;font-size:13px;font-weight:800;letter-spacing:.21em}.brand-mark{display:grid;place-items:center;color:var(--amber)}.brand-mark svg{width:31px;height:31px;stroke-width:1.15}.header-actions,.hud-actions{display:flex;align-items:center;gap:8px}.icon-button{display:grid;place-items:center;width:41px;height:41px;padding:0;background:#111d27;color:#d4e4eb;border:1px solid #31424e;border-radius:8px}.icon-button:hover,.button-secondary:hover{background:#203241;border-color:#607985}.stage{position:relative;isolation:isolate;height:clamp(505px,calc(100svh - 185px),760px);overflow:hidden;border:1px solid #344953;border-radius:16px;background:#101c26}.art,.game-view,.landing,.overlay{position:absolute;inset:0}.art{background:radial-gradient(ellipse at 74% 42%,#5a5344,#1a303a 44%,#0e1a23 85%);background-image:url(./causeway-B6Z-3LEN.webp),radial-gradient(ellipse at 74% 42%,#5a5344,#1a303a 44%,#0e1a23 85%);background-position:68% 56%;background-size:cover}.landing{display:flex;align-items:center;background:linear-gradient(90deg,rgba(9,18,26,.97) 0%,rgba(10,20,29,.87) 24%,rgba(12,22,30,.51) 43%,transparent 68%),linear-gradient(0deg,rgba(7,14,20,.67),transparent 27%)}.landing-content{margin-left:clamp(28px,5.4vw,80px);max-width:min(560px,calc(100% - 54px))}.eyebrow{display:flex;align-items:center;gap:11px;color:var(--amber);margin:0 0 23px;font:700 11px/1.45 var(--mono);letter-spacing:.21em}.eyebrow>span:first-child,.art-caption span{width:7px;height:7px;display:inline-block;border:1px solid currentColor;transform:rotate(45deg);flex:0 0 auto}h1{display:grid;margin:0 0 26px;color:#f3f7f6;font:900 clamp(76px,8.8vw,143px)/.79 "Arial Black","Arial Bold",Arial,sans-serif;letter-spacing:-.078em;text-shadow:0 5px 26px #08151c7f}h1 span+span{color:#b6d5e1}.intro{max-width:330px;margin:0 0 28px;color:#c4d2d8;font-size:15px;line-height:1.65}.launch{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.button{display:inline-flex;min-height:48px;align-items:center;justify-content:center;gap:12px;padding:0 17px;border-radius:8px;font-size:14px;font-weight:800;white-space:nowrap}.button-primary{background:#f3c67e;border:1px solid #ffda9b;color:#211a13;box-shadow:0 5px 22px #d19b4a29}.button-primary:hover{background:#ffda9d}.button-primary svg:first-child{width:17px;height:17px;fill:currentColor}.launch .button{min-width:180px;justify-content:flex-start;min-height:53px}.launch-arrow{margin-left:auto;width:17px;height:17px}.shortcut{color:#aebec7;font-size:12px}kbd{display:inline-grid;min-width:26px;min-height:25px;padding:0 6px;place-items:center;background:#172630;color:#e1ebef;border:1px solid #374955;border-bottom-width:2px;border-radius:5px;font:600 11px/1 var(--mono)}.shortcut kbd{min-height:22px;margin-left:4px}.art-caption{position:absolute;right:24px;bottom:21px;display:flex;align-items:center;gap:10px;color:#e1e7e7;font:600 10px/1.4 var(--mono);letter-spacing:.14em;text-shadow:0 2px 8px #000}.art-caption span{color:var(--amber)}.load-error{color:#ffcfac;max-width:330px;line-height:1.5;margin:12px 0 0;font-size:13px}.guide{display:flex;gap:12px;margin-top:12px}.guide-controls,.guide-best{min-height:68px;border:1px solid var(--line);border-radius:10px;background:var(--surface);display:flex;align-items:center}.guide-controls{flex:1;padding:0 21px;gap:clamp(20px,3.7vw,57px)}.guide-title{display:flex;align-items:center;gap:8px;white-space:nowrap;color:var(--ice)}.guide-title svg{width:17px;height:17px}.guide-title h2{margin:0;font:700 10px/1.4 var(--mono);letter-spacing:.14em;text-transform:uppercase}.control{display:flex;align-items:center;gap:9px;white-space:nowrap;font-size:12px;color:#d0dde3}.keyset{display:flex;gap:3px}.swipe-label{display:none;font:600 10px/1 var(--mono);white-space:nowrap;color:var(--ice)}.guide-best{padding:0 17px;gap:11px;min-width:200px}.trophy{display:grid;place-items:center;width:36px;height:36px;background:#302b23;color:var(--amber);border:1px solid #524633;border-radius:7px}.trophy svg{width:17px;height:17px}.guide-best div{display:grid;gap:3px}.guide-best div>span{color:var(--muted);font:700 9px/1 var(--mono);letter-spacing:.12em;white-space:nowrap}.guide-best strong{font:700 19px/1 var(--mono)}.guide-best small{color:var(--muted);font-size:11px}.game-view{visibility:hidden;touch-action:none;-webkit-user-select:none;user-select:none}.game-view canvas{display:block;width:100%;height:100%;touch-action:none}body:is([data-mode=running],[data-mode=paused],[data-mode=ended]){overflow:hidden}body:is([data-mode=running],[data-mode=paused],[data-mode=ended]) .game-view{visibility:visible}body:is([data-mode=running],[data-mode=paused],[data-mode=ended]) .shell{width:100%;padding:0}body:is([data-mode=running],[data-mode=paused],[data-mode=ended]) :is(.masthead,.guide,.art){display:none}body:is([data-mode=running],[data-mode=paused],[data-mode=ended]) .stage{position:fixed;inset:0;border:0;border-radius:0;height:auto}.hud{position:absolute;z-index:2;inset:max(19px,env(safe-area-inset-top)) max(22px,env(safe-area-inset-right)) auto max(22px,env(safe-area-inset-left));display:flex;justify-content:space-between;align-items:flex-start;pointer-events:none}.hud-actions{pointer-events:auto}.hud .icon-button,.hud-distance,.hud-relics{background:#0a1926e8;border:1px solid #a1c5d370}.hud-stats{display:flex;gap:7px;align-items:flex-start}.hud-distance{display:grid;gap:3px;min-width:102px;padding:8px 13px;border-radius:8px}.hud-distance>span,.result>div>span{font:700 9px/1.15 var(--mono);letter-spacing:.14em;color:var(--ice)}.hud-distance strong{font:700 24px/1 var(--mono)}.hud-distance small{color:var(--ice);font-size:12px}.hud-relics{min-height:41px;display:flex;align-items:center;gap:6px;border-radius:8px;padding:0 9px;color:var(--amber);font:700 15px/1 var(--mono)}.hud-relics svg{width:17px;height:17px}.run-hint{position:absolute;left:50%;bottom:max(37px,env(safe-area-inset-bottom));transform:translate(-50%);padding:10px 15px;border-radius:8px;background:#0a1926e8;border:1px solid #a1c5d370;margin:0;color:#f1f7f8;font-size:13px;text-align:center;white-space:nowrap;pointer-events:none}.touch-controls{position:absolute;inset:auto max(10px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));justify-content:space-between;display:none;pointer-events:none}.touch-controls>div{display:flex;gap:5px}.touch-controls button{display:grid;place-items:center;width:43px;height:43px;padding:0;color:#f4f9fb;border:1px solid #bddee7a0;border-radius:8px;background:#0a1926a3;pointer-events:auto;touch-action:manipulation}.touch-controls button:active{background:#335466}.overlay{z-index:3;display:grid;place-items:center;overflow:auto;background:#070f18b0;padding:16px}.overlay-card{width:min(100%,410px);background:#101c25;border:1px solid #415865;border-radius:15px;padding:28px;box-shadow:0 18px 58px #0007}.overlay-card .eyebrow{margin-bottom:11px}.overlay h2{font-size:clamp(32px,5vw,48px);letter-spacing:-.055em;margin:0 0 9px;line-height:.98}.overlay p:not(.eyebrow){color:#c0ced6;line-height:1.45;margin:0 0 16px;font-size:14px}.result{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid #354855;border-radius:8px;margin:0 0 18px}.result>div{padding:10px;display:grid;gap:6px}.result>div+div{border-left:1px solid #354855}.result strong{color:var(--amber);font:700 17px/1.2 var(--mono)}.overlay-actions{display:flex;gap:8px;flex-wrap:wrap}.button-secondary{border:1px solid #405463;background:#172733;color:#e3edf1}@media(max-width:920px){.shell{width:calc(100% - 48px)}.guide-controls{gap:20px}}@media(pointer:coarse){.touch-controls{display:flex}.run-hint{bottom:calc(max(12px,env(safe-area-inset-bottom)) + 57px)}.shortcut,.guide .keyset{display:none}.swipe-label{display:inline}}@media(max-width:640px){.shell{width:calc(100% - 28px);padding-bottom:max(14px,env(safe-area-inset-bottom))}.masthead{height:58px}.identity{font-size:11px;gap:8px}.brand-mark svg{width:26px;height:26px}.icon-button{width:40px;height:40px}.stage{height:clamp(455px,calc(100svh - 160px),710px);border-radius:13px}.art{background-position:82% 42%}.landing{align-items:flex-end;background:linear-gradient(0deg,#0a141dfc 0%,#0b1721e8 23%,#0c1721a8 49%,#0c172140 72%,transparent 92%),linear-gradient(90deg,#08131b59,transparent 80%)}.landing-content{margin:0 21px 29px;max-width:calc(100% - 42px)}.eyebrow{margin-bottom:16px;font-size:10px}h1{font-size:clamp(56px,17.1vw,101px);margin-bottom:18px}.intro{font-size:13px;margin-bottom:17px;max-width:275px}.launch .button{min-height:46px;min-width:159px}.art-caption{display:none}.guide{margin-top:8px;gap:7px}.guide-controls{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:8px;justify-items:center}.guide-title{grid-column:1 / -1}.guide-title svg{width:13px;height:13px}.control{flex-direction:column;gap:4px;font-size:10px}.space-key{display:none}.guide-best{padding:7px;min-width:84px;flex-direction:column;justify-content:center;gap:4px;text-align:center}.guide-best div>span{font-size:7px}.guide-best strong{font-size:15px}.trophy{width:24px;height:24px;border-radius:5px}.trophy svg{width:13px;height:13px}.hud{inset:max(10px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) auto max(10px,env(safe-area-inset-left))}.overlay-card{padding:21px}}@media(max-height:500px)and (orientation:landscape){.shell{padding-bottom:12px}.masthead{height:51px}.stage{height:max(325px,calc(100svh - 61px))}h1{font-size:clamp(60px,8vw,100px);margin-bottom:14px}.landing .eyebrow,.intro{margin-bottom:13px}.launch .button{min-height:42px}.overlay-card{padding:15px 20px}}
