.er-page{color:#fff4de;padding:16px 16px 32px;font-family:system-ui,sans-serif}.er-shell{max-width:880px;margin:auto}.er-nav{letter-spacing:1.5px;justify-content:space-between;align-items:center;height:54px;font-size:11px;display:flex}.er-nav a{color:#eee0c7;letter-spacing:0;font-weight:700;text-decoration:none}.er-nav b{color:#fc893d}.er-nav button{color:#e3dfcc;background:#223432;border:1px solid #52625b;border-radius:30px;min-height:42px;padding:10px 14px}.er-stage{isolation:isolate;touch-action:none;-webkit-user-select:none;user-select:none;background:#183d38;border:1px solid #446153;border-radius:22px;height:min(760px,100svh - 170px);min-height:480px;position:relative;overflow:hidden}.er-stage canvas{z-index:-2;width:100%;height:100%;display:block;position:absolute;inset:0}.er-grain{pointer-events:none;z-index:-1;position:absolute;inset:0;box-shadow:inset 0 0 110px #05181565}.er-home{background:linear-gradient(90deg,#071d2080,#0000 70%);flex-direction:column;justify-content:space-between;padding:34px;display:flex;position:absolute;inset:0}.er-home-top{pointer-events:none}.er-tag{letter-spacing:2px;color:#ffe3b0;border:1px solid #e5b67665;border-radius:30px;padding:7px 10px;font-size:10px;display:inline-block}.er-home h1{letter-spacing:-5px;text-shadow:0 3px #0b251c;margin:16px 0 12px;font-size:clamp(54px,10vw,88px);font-weight:1000;line-height:1.05}.er-home h1 span{color:#ff9347}.er-home h1 i{letter-spacing:5px;color:#f9cb8b;margin:12px 0 0;font-size:12px;font-style:normal;display:block}.er-home-top p{color:#efdfc1;letter-spacing:1px;font-size:14px;line-height:1.9}.er-start-box{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);text-align:center;background:#0e2023e8;border:1px solid #f0d4a12b;border-radius:20px;align-self:center;width:100%;max-width:410px;padding:18px 22px}.er-record{color:#c3c7b9;justify-content:space-between;align-items:center;margin:0 0 12px;font-size:11px;display:flex}.er-record b{color:#ffe7b7;font-variant-numeric:tabular-nums;font-size:20px}.er-record small{margin-left:5px;font-size:10px}.er-primary{color:#172423;cursor:pointer;background:#ff9147;border:0;border-radius:12px;width:100%;min-height:56px;font-size:18px;font-weight:900;box-shadow:0 5px #a24b23}.er-primary:active{transform:translateY(3px);box-shadow:0 2px #a24b23}.er-primary:disabled{opacity:.65;cursor:wait}.er-instructions{color:#f6dfaf;justify-content:space-between;margin:19px 0 0;font-size:12px;display:flex}.er-start-box>p{color:#97b0a7;margin:9px 0 0;font-size:10px}.er-hud{pointer-events:none;text-shadow:0 2px 10px #061615;align-items:center;gap:28px;display:flex;position:absolute;top:20px;left:22px;right:22px}.er-hud small{letter-spacing:2px;color:#d9dbbd;font-size:9px;display:block}.er-hud strong{font-variant-numeric:tabular-nums;font-size:32px;font-weight:900;line-height:1.2}.er-hud em{margin-left:5px;font-size:13px;font-style:normal}.er-coins strong{color:#ffe492;font-size:24px}.er-pause{pointer-events:auto;color:#fff;background:#172a28b3;border:1px solid #f6e1bb66;border-radius:12px;width:46px;height:46px;margin-left:auto;font-size:20px}.er-state{letter-spacing:2px;color:#f6db98;justify-content:space-between;font-size:10px;display:flex;position:absolute;top:90px;left:22px;right:22px}.er-state b{color:#9ff2d0;letter-spacing:0}.er-hint{text-align:center;color:#ffeac1;letter-spacing:2px;text-shadow:0 2px 4px #000;font-size:11px;position:absolute;bottom:18px;left:0;right:0}.er-overlay{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#081c2780;place-items:center;padding:24px;display:grid;position:absolute;inset:0}.er-dialog{text-align:center;background:#122b2bf2;border:1px solid #a5bc8b70;border-radius:23px;width:min(100%,350px);padding:30px 25px;box-shadow:0 22px 70px #0005}.er-dialog>small{letter-spacing:4px;color:#ffb76d;font-size:10px}.er-dialog h2{letter-spacing:-1px;margin:12px 0;font-size:26px}.er-dialog>p{color:#b3c7b6;font-size:12px}.er-result{padding:20px 0}.er-result>span{letter-spacing:3px;color:#b8c5b3;font-size:10px;display:block}.er-result strong{font-variant-numeric:tabular-nums;letter-spacing:-2px;font-size:60px;line-height:1.15;display:block}.er-result em{margin-left:6px;font-size:14px;font-style:normal}.er-result p{color:#b8c5b3;margin:8px 0 0;font-size:11px}.er-new{color:#ffe597;letter-spacing:3px;margin-bottom:16px;font-size:11px}.er-secondary{color:#c5d9c6;cursor:pointer;background:0 0;border:0;min-height:44px;margin-top:12px}.er-controls{grid-template-columns:repeat(4,1fr);gap:8px;margin:12px 0;display:grid}.er-controls button{touch-action:manipulation;-webkit-user-select:none;user-select:none;color:#ffce8d;cursor:pointer;background:#1d302f;border:1px solid #42574e;border-radius:12px;height:58px;font-size:23px}.er-controls button small{color:#b9c9bf;font-size:10px;display:block}.er-controls button:active{background:#405544}.er-controls button:disabled{opacity:.45;cursor:default}.er-guide{color:#aabeb0;border-bottom:1px solid #294139;padding:10px 0;font-size:12px;line-height:1.8}.er-guide summary{cursor:pointer;color:#d5d9bc;min-height:35px}.er-guide img{border-radius:10px;width:180px;max-width:100%}.er-footer{letter-spacing:3px;color:#6c8f7c;justify-content:space-between;padding:20px 2px 0;font-size:9px;display:flex}.er-footer span{color:#f99447}.er-error{z-index:10;color:#fff;background:#162d2b;border:1px solid #f99447;border-radius:15px;padding:25px;font-size:14px;position:absolute;inset:30% 20px auto}.er-error button{color:#172423;background:#ff9147;border:0;border-radius:8px;margin-top:14px;padding:10px;display:block}:is(.er-page button:focus-visible,.er-page a:focus-visible){outline-offset:3px;outline:3px solid #fff2bb}body:has(.er-page) .game-top-nav{display:none}@media (max-width:540px){.er-page{padding:0 10px 18px}.er-nav>span{letter-spacing:1px;font-size:8px}.er-nav{height:54px}.er-stage{border-radius:16px;height:calc(100svh - 150px);min-height:440px}.er-home{padding:25px 22px}.er-home h1{font-size:62px}.er-home-top p{font-size:12px}.er-start-box{padding:15px 17px}.er-hud{gap:20px;left:16px;right:16px}.er-controls{gap:6px}.er-controls button{height:55px}.er-instructions{font-size:11px}}@media (max-height:650px) and (min-width:600px){.er-stage{min-height:440px}.er-home h1{font-size:54px}.er-home-top p{display:none}.er-start-box{align-self:flex-end;width:320px}}body:has(.er-page){background:#061817}.er-page{background:radial-gradient(at 50% 30%,#23463e66,#0000 60%);padding:0 12px 22px}.er-shell{max-width:560px}.er-nav{letter-spacing:1.2px;height:49px;font-size:10px}.er-nav>span{color:#8ca99c;font-size:8px}.er-nav button{background:#15312dbb;min-height:34px;padding:7px 12px}.er-stage{background:#1a3d36 url(/runner/jungle.webp) 50%/cover;border-color:#8d966145;border-radius:18px;height:min(780px,100svh - 145px);min-height:470px;box-shadow:0 28px 100px #0008}.er-grain{box-shadow:inset 0 0 80px #03161066}.er-home{isolation:isolate;background:linear-gradient(#061b1d88 0%,#061b1d00 32% 60%,#061b1dc9 100%);padding:23px 24px 20px}.er-home-top{z-index:2;text-align:center;position:relative}.er-tag{letter-spacing:3px;color:#fff3c8;text-shadow:0 2px 9px #000;border:0;border-radius:0;padding:0;font-size:9px}.er-home h1{letter-spacing:-6px;color:#fff7dd;text-shadow:0 2px #c4ab71,0 5px #173526,0 9px 15px #041714bf;margin:10px 0 3px;font-size:clamp(62px,16vw,83px);font-weight:1000;line-height:1.05;transform:skew(-7deg)}.er-home h1 span{color:#ffae4d;text-shadow:0 3px #a54819,0 6px #173526,0 9px 15px #041714bf}.er-home h1 i{letter-spacing:4px;color:#fff0c3;text-shadow:0 2px 5px #000;margin:10px 0 0;font-size:10px;font-weight:800;transform:skew(7deg)}.er-home-top p{color:#fff8e3;letter-spacing:1px;text-shadow:0 2px 5px #061917;margin:12px 0;font-size:11px;line-height:1.6}.er-hero{object-fit:contain;z-index:1;filter:drop-shadow(0 18px 22px #041511a0);pointer-events:none;width:88%;height:59%;animation:3s ease-in-out infinite er-float;position:absolute;top:22%;left:8%}.er-start-box{z-index:3;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border:0;border-radius:0;width:100%;max-width:390px;padding:0;position:relative}.er-record{color:#e7e5c9;text-shadow:0 1px 5px #000;justify-content:center;gap:15px;margin-bottom:10px}.er-record b{font-size:17px}.er-primary{letter-spacing:2px;color:#432719;background:linear-gradient(#ffd16c,#f28a32);border:1px solid #ffe29e;border-bottom-color:#b95a21;border-radius:11px;min-height:56px;font-size:18px;box-shadow:0 4px #994515,0 9px 22px #051e1ab0}.er-instructions{color:#fff0d4;text-shadow:0 1px 6px #000;margin-top:17px;font-size:11px}.er-start-box>p{color:#d6ddc1;text-shadow:0 1px 6px #000;font-size:9px}.er-hud{background:linear-gradient(110deg,#092c2be8,#092c2b75);border:1px solid #d4d2a73b;border-radius:13px;gap:20px;padding:10px 13px;top:17px;left:17px;right:17px;box-shadow:0 5px 22px #071f2333}.er-hud strong{font-size:29px}.er-hud small{letter-spacing:2px;font-size:8px}.er-coins strong{font-size:23px}.er-pause{background:#092924aa;border-color:#c5ca9b4f;width:38px;height:38px}.er-state{text-shadow:0 2px 5px #001a14;color:#fff0c2;top:104px}.er-hint{letter-spacing:1px;text-shadow:0 2px 3px #000,0 0 7px #000;background:linear-gradient(90deg,#0000,#07281bb0,#0000);padding:7px;font-size:10px;bottom:14px}.er-controls{gap:7px;margin:9px 0}.er-controls button{background:linear-gradient(#24483e,#122e2a);border-color:#5c705649;border-radius:9px;height:49px;font-size:20px}.er-controls button small{font-size:9px}.er-dialog{background:linear-gradient(155deg,#173d36f5,#092b28fa);border-color:#a4ac7866;box-shadow:0 20px 80px #02110ba0}.er-dialog h2{color:#ffedc7}.er-overlay{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#061c2266}.er-guide{font-size:11px}.er-footer{padding-top:12px}.gd-image-runner{object-position:50% 35%;background:radial-gradient(#375b42,#102824)}@keyframes er-float{0%,to{transform:translateY(0)rotate(-2deg)}50%{transform:translateY(-7px)rotate(0)}}@media (max-width:540px){.er-page{padding:0 7px 16px}.er-stage{border-radius:13px;height:calc(100svh - 132px);min-height:450px}.er-home{padding:20px 22px 17px}.er-home h1{font-size:68px}.er-home-top p{font-size:10px}.er-hero{height:54%;top:25%;left:8%}.er-controls button{height:49px}.er-nav{height:45px}.er-start-box{padding:0}.er-hud{gap:16px}.er-tag{letter-spacing:2px;font-size:8px}}@media (max-height:700px){.er-home-top p{display:none}.er-home h1{font-size:58px}.er-hero{height:53%;top:23%}.er-start-box>p{display:none}.er-home{padding-top:17px}.er-start-box{align-self:center;width:100%}.er-instructions{margin-top:13px}}@media (prefers-reduced-motion:reduce){.er-hero{animation:none}}.er-page{max-width:none;margin:0 auto}.er-nav{border-bottom:0;padding:0}.er-home-top>p{display:none}.er-controls button{padding:4px 6px;line-height:1.1}.er-controls button small{margin-top:3px;line-height:1.2}.er-pause{place-items:center;padding:0;display:grid}.er-stage,.er-controls,.er-controls button{touch-action:none;-webkit-user-select:none;overscroll-behavior:none}.er-controls button{-webkit-touch-callout:none}.er-home{background:0 0}.er-home:after{content:"";z-index:1;pointer-events:none;background:linear-gradient(#031714c9 0%,#03171428 27%,#0000 50%,#031714cc 75%,#031714f5 100%);position:absolute;inset:0}.er-hero{object-fit:cover;object-position:59% center;filter:none;z-index:0;width:100%;height:100%;animation:none;inset:0}.er-home h1{font-size:clamp(58px,16vw,78px)}.er-home h1 i{letter-spacing:3px}.er-tag{letter-spacing:5px;font-size:9px}.er-turn-cue{color:#fff0c0;text-align:left;touch-action:manipulation;z-index:4;cursor:pointer;background:#102f2def;border:1px solid #f8d98b70;border-radius:13px;align-items:center;gap:13px;width:max-content;max-width:calc(100% - 34px);min-height:76px;padding:10px 18px;display:flex;position:absolute;top:140px;left:50%;transform:translate(-50%);box-shadow:0 8px 28px #001a1880}.er-turn-cue>b{color:#ffce69;font-family:system-ui,sans-serif;font-size:48px;line-height:1}.er-turn-cue>span{flex-direction:column;gap:6px;display:flex}.er-turn-cue strong{font-size:17px;line-height:1.2}.er-turn-cue small{white-space:nowrap;color:#e4d5b3;font-size:10px;line-height:1.4}.er-turn-cue:disabled{cursor:default;opacity:.92}.er-turn-cue.is-active{background:#713b16ed;border:2px solid #ffd277;box-shadow:0 0 28px #ffc55b40}.er-turn-cue.is-queued{background:#11553de8;border-color:#a1ecb6}.er-turn-cue.is-queued>b{color:#b8ffcf}.er-turn-cue.is-wrong{background:#712e25f0;border-color:#ff9f83}.er-turn-cue:active{filter:brightness(1.15)}@media (max-width:540px){.er-turn-cue{gap:10px;min-height:69px;padding:9px 13px;top:131px}.er-turn-cue>b{font-size:42px}.er-turn-cue strong{font-size:16px}.er-home{padding-top:22px}.er-hero{width:100%;height:100%;top:0;left:0}}@media (max-height:650px){.er-turn-cue{min-height:60px;padding:7px 12px;top:120px}.er-turn-cue>b{font-size:34px}.er-home h1{font-size:52px}}.er-fork{z-index:4;text-align:center;background:#092523ed;border:1px solid #dfd9ac66;border-radius:16px;padding:12px;position:absolute;top:130px;left:14px;right:14px;box-shadow:0 12px 32px #0005}.er-fork-title{margin-bottom:9px;font-size:13px;font-weight:800}.er-fork-options{grid-template-columns:1fr 1fr;gap:10px;display:grid}.er-fork-options button{color:#c8ffdd;touch-action:manipulation;background:#154332;border:1px solid #81bd9a66;border-radius:10px;grid-template-columns:30px 1fr;align-items:center;gap:4px;min-height:70px;padding:12px 9px;display:grid;position:relative}.er-fork-options b{grid-row:span 2;font-size:32px}.er-fork-options strong{font-size:14px}.er-fork-options small{font-size:10px}.er-fork-options .er-risk{color:#ffe0a0;background:#593611;border-color:#d2a15088}.er-fork-options button:disabled{opacity:.65}.er-fork-options .is-selected{outline-offset:1px;outline:3px solid #fff4c7}.er-fork>p{color:#c2d1bd;margin:9px 0 0;font-size:10px;line-height:1.4}.er-rush-meter{pointer-events:none;background:#092d26e6;border:1px solid #a4d4aa55;border-radius:12px;max-width:420px;margin:auto;padding:10px 13px;position:absolute;bottom:48px;left:20px;right:20px}.er-rush-meter>div{justify-content:space-between;align-items:center;gap:8px;font-size:11px;display:flex}.er-rush-meter b{color:#caffd8}.er-rush-meter span{color:#e5eecf;font-size:10px}.er-rush-meter>i{background:#ffffff20;border-radius:10px;height:5px;margin-top:7px;display:block;overflow:hidden}.er-rush-meter em{background:linear-gradient(90deg,#5ee2a3,#ecffb1);height:100%;transition:width .1s linear;display:block}.er-rush-meter.is-rushing{background:#0c5239ee;border-color:#c0ffd4;box-shadow:0 0 20px #60ffae44}.er-zone{pointer-events:none;background:linear-gradient(90deg,#102c2eed,#102c2e99);border-left:3px solid #e9c67e;border-radius:4px 12px 12px 4px;gap:4px;max-width:410px;margin:auto;padding:12px 16px;display:grid;position:absolute;top:133px;left:18px;right:18px}.er-zone small{letter-spacing:2px;color:#e9c67e;font-size:9px}.er-zone strong{font-size:19px}.er-zone span{color:#e2e8d3;font-size:11px;line-height:1.6}.er-zone-treasure{border-color:#ffdc65}.er-zone-boulder{border-color:#ff9a68}.er-state{letter-spacing:.5px;gap:8px;font-size:11px}.er-hint{letter-spacing:.5px}.er-stage:has(.er-fork) .er-hint{visibility:hidden}@media (max-width:380px){.er-fork-options strong{font-size:12px}.er-fork-options button{grid-template-columns:24px 1fr;padding:9px 5px}.er-fork-options b{font-size:27px}.er-rush-meter{left:12px;right:12px}.er-state{font-size:10px;left:16px;right:16px}}@media (max-height:650px){.er-fork,.er-zone{top:117px}.er-fork{padding:9px}.er-fork-options button{min-height:56px;padding:7px}.er-rush-meter{padding:7px 10px;bottom:32px}.er-hint{bottom:12px}}@media (prefers-reduced-motion:reduce){.er-rush-meter em{transition:none}}.er-live{color:#f4ecd0;background:#18382e;border:1px solid #567f69;border-radius:12px;flex-wrap:wrap;align-items:center;gap:12px;margin:16px 0;padding:16px;display:flex}.er-live label{align-items:center;gap:8px;display:flex}.er-live input{accent-color:#e8c176;width:20px;height:20px}.er-live p{flex-basis:100%;margin:0}.er-live a{color:#ebca86}.er-stage[data-phase=home]{touch-action:pan-y;overscroll-behavior:auto;-webkit-user-select:auto;user-select:auto;height:auto;min-height:0}.er-stage[data-phase=home] .er-home{padding:20px;display:block;position:relative;inset:auto}.er-stage[data-phase=home] .er-home-top{min-height:250px}.er-stage[data-phase=home] .er-start-box{text-align:left;background:#0c2928f5;border:1px solid #8aa690;border-radius:16px;width:auto;max-width:none;padding:20px}.er-stage[data-phase=home] .er-start-box>p{font-size:calc(16px * var(--text-scale,1));color:#f5f0dc;text-shadow:none;margin-top:14px;line-height:1.7;display:block}.er-instructions{font-size:calc(16px * var(--text-scale,1));text-shadow:none;justify-content:start;gap:8px;line-height:1.6;display:grid}.er-record{font-size:calc(15px * var(--text-scale,1));flex-wrap:wrap;line-height:1.6}.er-record small{font-size:calc(14px * var(--text-scale,1))}.er-guide{font-size:calc(16px * var(--text-scale,1));color:#d4e1d6;line-height:1.8}.er-guide summary{align-items:center;min-height:48px;font-weight:700;display:flex}.er-nav{height:auto;min-height:60px;font-size:calc(15px * var(--text-scale,1));flex-wrap:wrap;gap:8px;padding-block:8px}.er-nav>span{display:none}.er-nav button,.er-nav a{align-items:center;min-height:44px;display:inline-flex}.er-controls button small{font-size:calc(13px * var(--text-scale,1));line-height:1.3}.er-stage[data-phase=home]+.er-controls{display:none}.er-stage[data-phase=paused],.er-stage[data-phase=over]{touch-action:pan-y}.er-live{font-size:calc(16px * var(--text-scale,1));line-height:1.7}.er-live label,.er-live a{min-height:44px}.er-live input{flex-shrink:0}@media (max-width:380px){.er-stage[data-phase=home] .er-home{padding:14px}.er-stage[data-phase=home] .er-start-box{padding:16px}.er-stage[data-phase=home] .er-home-top{min-height:210px}}.er-page[data-phase=running]{box-sizing:border-box;height:100dvh;padding-top:0;padding-bottom:max(8px,env(safe-area-inset-bottom,0px))}.er-page[data-phase=running] .er-shell{flex-direction:column;height:100%;display:flex}.er-page[data-phase=running] .er-nav,.er-page[data-phase=running] .er-controls{flex-shrink:0}.er-page[data-phase=running] .er-stage{flex:1 1 0;height:auto;min-height:0}.er-page[data-phase=running] .er-live,.er-page[data-phase=running] .er-guide,.er-page[data-phase=running] .er-footer{display:none}.er-overlay{touch-action:pan-y pinch-zoom;align-items:safe center;overflow-y:auto}.er-dialog{flex-shrink:0}.er-stage[role=img],.er-stage[role=img] canvas{touch-action:auto;overscroll-behavior:auto}@media (max-height:500px){.er-stage[data-phase=running] .er-hud{padding:4px 10px;top:6px;left:8px;right:8px}.er-stage[data-phase=running] .er-hud strong{font-size:21px}.er-stage[data-phase=running] .er-state{top:64px}.er-stage[data-phase=running] .er-turn-cue,.er-stage[data-phase=running] .er-fork,.er-stage[data-phase=running] .er-zone{top:87px}.er-stage[data-phase=running] .er-rush-meter{padding:5px 8px;bottom:5px;left:8px;right:8px}.er-stage[data-phase=running] .er-hint{display:none}}
