:root{color-scheme:dark;--bg:#101311;--panel:#181d19;--line:#2a312a;--text:#e9eee5;--muted:#8b9689;--accent:#bfdc95;--ink:#20251e;--radius:20px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;min-height:100svh;background:radial-gradient(ellipse at 51% 39%,#202a203b,transparent 49%),var(--bg);color:var(--text);-webkit-font-smoothing:antialiased}button,a,input{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button{border:0;background:none}button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--accent);outline-offset:5px}button:disabled{opacity:.4;cursor:default}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}a{color:inherit}.icon-definitions{position:absolute;width:0;height:0;overflow:hidden}.site-header{max-width:1440px;margin:auto;padding:28px 48px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:14px;text-decoration:none}.brand strong{font-size:18px;letter-spacing:3px;font-weight:850}.brand-mark{position:relative;width:25px;height:25px;color:var(--accent)}.brand-mark i{position:absolute;display:block;width:7px;height:7px;background:currentColor}.brand-mark i:nth-child(1){top:0;left:16px}.brand-mark i:nth-child(2){top:0;left:8px}.brand-mark i:nth-child(3){top:8px;left:8px}.brand-mark i:nth-child(4){top:16px;left:8px}.brand-mark i:nth-child(5){top:16px;left:0}.edition{font-family:monospace;font-size:10px;letter-spacing:1.5px;color:var(--muted);border-left:1px solid #394235;padding-left:14px;line-height:18px}.header-actions{display:flex;align-items:center;gap:10px}.icon-button{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;transition:background .15s,color .15s;color:#a5afa0}.icon-button:hover{background:#262e24;color:#e5eddc}.engine-badge{display:flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid #35412e;border-radius:5px;margin-right:10px;color:var(--accent);font-size:10px;letter-spacing:.3px}.engine-badge span{width:5px;height:5px;border-radius:50%;background:var(--accent)}.engine-badge b{font-weight:500}.layout{max-width:1240px;min-height:calc(100svh - 182px);margin:0 auto;display:grid;grid-template-columns:1fr 360px 1fr;align-items:center;column-gap:64px;padding:18px 44px 36px}.intro{padding-bottom:12px}.eyebrow{font-size:9px;letter-spacing:1.8px;font-weight:600;color:var(--accent);display:flex;align-items:center;gap:8px}.tiny-square{width:4px;height:4px;background:currentColor}.intro h1{font-size:clamp(32px,3.2vw,44px);letter-spacing:-1.9px;font-weight:520;line-height:1.15;margin:25px 0}.intro h1 em{font-style:normal;color:var(--accent)}.intro-copy{font-size:12px;color:var(--muted);line-height:1.9;margin-bottom:28px}.start-button{width:188px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-radius:9px;padding:15px 17px;background:var(--accent);color:var(--ink);font-size:12px;font-weight:650;box-shadow:0 3px 0 #6b804e;transition:transform .15s,background .15s}.start-button:hover{background:#cfe9a8;transform:translateY(-1px)}.start-button:active{transform:translateY(2px);box-shadow:none}.start-button svg{width:17px;height:17px}.intro-meta{display:flex;align-items:center;gap:8px;font-size:7px;letter-spacing:.65px;margin-top:17px;color:#737e6c;white-space:nowrap}.intro-meta i{height:2px;width:2px;background:#69745f;border-radius:50%}.specimen{margin-top:64px;color:#6a7665}.specimen>span:first-child{font-size:28px;letter-spacing:-1px;color:#89977e;font-weight:300}.specimen p{margin:5px 0 20px;font-size:11px}.specimen-line{height:1px;width:136px;background:linear-gradient(90deg,#394333,transparent);margin-bottom:14px}.specimen-small{font:7px monospace;letter-spacing:.5px}.game-column{display:flex;flex-direction:column;align-items:center;min-width:0}.phone{width:340px;isolation:isolate;position:relative;padding:26px 24px 24px;border-radius:69px 69px 78px 78px / 88px 88px 57px 57px;background:linear-gradient(103deg,#111a25 0%,#34414e 9%,#26323e 22%,#26333f 73%,#182331 94%,#0c121b 100%);border:2px solid #4b5660;box-shadow:inset 0 2px 1px #64717a,inset 3px 0 3px #0007,inset -3px 0 3px #000c,0 26px 48px #0008,0 5px 7px #0009}.phone::before{content:"";position:absolute;inset:7px;z-index:-1;border-radius:inherit;border:1px solid #7e8a9520;pointer-events:none}.phone::after{content:"";width:55px;height:5px;position:absolute;top:-5px;left:calc(50% - 27px);background:#1b242c;border-radius:5px 5px 0 0;border:1px solid #586168;z-index:-1}.phone-top{height:64px;display:flex;align-items:center;flex-direction:column}.speaker{display:flex;gap:3px;width:66px;flex-direction:column;align-items:center;margin-bottom:16px}.speaker i{display:block;background:#0c131b;width:54px;height:3px;border-radius:6px;box-shadow:0 1px 0 #59616c}.speaker i:nth-child(2){width:62px}.phone-wordmark{font-family:Arial,sans-serif;font-weight:900;letter-spacing:2.4px;font-size:23px;line-height:23px;color:#dce0de;text-shadow:0 -1px #090d14}.screen-bezel{background:linear-gradient(145deg,#111b21,#37424a 64%,#232e37);padding:12px 10px 0;border-radius:14px 14px 29px 29px;border:1px solid #0b121a;box-shadow:0 1px 0 #63707b66,inset 0 1px 4px #0008;margin-top:13px}.screen-wrap{position:relative;touch-action:none;aspect-ratio:84/48;overflow:hidden;background:#a7bd75;border:2px solid #101612;box-shadow:0 0 0 1px #556344,0 1px 3px #070b10,inset 0 4px 12px #243716;border-radius:3px;cursor:pointer;user-select:none;-webkit-user-select:none}.screen-wrap::after{content:"";position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 2px 7px #17221170;background:linear-gradient(150deg,#ffffff06,transparent 50%)}#lcd{width:100%;height:100%;display:block;image-rendering:pixelated}.bezel-caption{font:7px monospace;letter-spacing:2px;display:flex;justify-content:space-between;color:#84939166;padding:6px 8px 7px}.phone-navigation{height:66px;display:flex;justify-content:center;align-items:center;gap:19px}.nav-back,.nav-select,.nav-scroll{background:linear-gradient(#e3e7e3,#b8c0bd 60%,#95a19e);box-shadow:inset 0 1px 2px #fff,0 3px 0 #0c1720,0 4px 3px #0007;color:#2f3b3e}.nav-back{border-radius:55% 40% 45% 40%;width:54px;height:29px;transform:rotate(-13deg);font-size:17px;font-weight:600}.nav-select{border-radius:45% 45% 45% 45% / 65% 65% 45% 45%;height:45px;width:106px;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;padding:0}.select-stripe{background:#487d71;border-radius:10px;width:54px;height:4px;box-shadow:0 1px #eaf2ec}.nav-select span:last-child{font-size:10px;line-height:12px;color:#435657;font-weight:650}.nav-scroll{border-radius:45% 40% 45% 40%;height:32px;display:flex;transform:rotate(13deg);overflow:hidden;width:64px}.nav-scroll button{width:32px;position:relative;font-size:23px;line-height:30px;color:#364649;padding:0}.nav-scroll button:first-child{border-right:1px solid #84928f}.nav-scroll button span{display:inline-block;transform:rotate(-13deg)}.keypad{padding:0 3px;display:grid;grid-template-columns:repeat(3,1fr);gap:10px 11px}.keypad button{position:relative;min-height:43px;border-radius:44% 44% 42% 42% / 38% 38% 52% 52%;background:linear-gradient(160deg,#d4dbd9,#acb8b7 60%,#879995);box-shadow:inset 0 1px 1px #fff9,inset 0 -1px 2px #4e6663,0 3px 0 #091420,0 4px 3px #0b141a;display:flex;align-items:baseline;justify-content:center;gap:4px;padding:8px 6px 9px;touch-action:none;user-select:none;-webkit-user-select:none;color:#273d41;transition:filter .08s,translate .08s}.keypad button:nth-child(3n+1){transform:rotate(7deg)}.keypad button:nth-child(3n){transform:rotate(-7deg)}.keypad strong{font-size:22px;font-weight:450;line-height:24px;text-shadow:0 1px #edf1ed88}.keypad span{font-size:9px;font-weight:650;letter-spacing:-.3px;align-self:center}.keypad button:nth-child(n+10) span{font-size:7px;letter-spacing:0}.keypad i{font-style:normal;font-size:6px;color:#396258;position:absolute;bottom:4px;left:0;right:0;text-align:center}.keypad .boost-key i{font-size:12px;bottom:0;line-height:10px}.keypad button:hover{filter:brightness(1.09)}.keypad button:active,.keypad button.pressed,.nav-select:active,.nav-select.pressed,.thumbpad button:active,.thumbpad button.pressed{translate:0 2px;box-shadow:inset 0 1px 3px #34463d40,0 1px 0 #0b1820;filter:brightness(.93)}.phone-chin{height:17px;display:flex;align-items:flex-end;justify-content:center}.phone-chin i{height:3px;width:15px;border-radius:3px;background:#09131a;box-shadow:0 1px #66727777}.below-phone{width:330px;margin-top:24px;display:flex;align-items:center;justify-content:space-between;font-size:9px;color:#87977c;gap:10px}.below-phone>span{display:flex;align-items:center;gap:6px}.below-phone i{display:block;width:4px;height:4px;background:#9dbc7c;border-radius:50%}.below-phone button{color:#9ea990;font-size:9px;padding:6px 0}.below-phone button span{margin-left:4px}.swipe-hint{display:none}.thumbpad{display:none;grid-template:repeat(3,55px)/repeat(3,62px);gap:5px;justify-content:center;margin-top:8px}.thumbpad button{background:linear-gradient(#cfdbcf,#99ad9e);color:#314734;border-radius:13px;box-shadow:0 3px 0 #0c1b18;touch-action:none;user-select:none;-webkit-user-select:none;font-size:17px;display:flex;align-items:center;justify-content:center}.thumbpad .pad-up{grid-area:1/2}.thumbpad .pad-left{grid-area:2/1}.thumbpad .pad-center{grid-area:2/2;background:linear-gradient(#71846d,#526a50);color:#dce8d1}.thumbpad .pad-right{grid-area:2/3}.thumbpad .pad-down{grid-area:3/2}.thumb-mode .keypad{display:none}.thumb-mode .thumbpad{display:grid}.thumb-mode .phone-chin{height:30px}.focus-actions{display:none}.sidebar{max-width:220px;justify-self:end;width:100%;padding-top:4px}.section-label{font-size:8px;letter-spacing:1.15px;color:#84947a;display:flex;align-items:center;gap:8px;font-weight:500}.section-label svg{width:14px;height:14px}.score-card{padding:19px 19px 12px;border:1px solid #354030;border-radius:12px;background:linear-gradient(125deg,#27332144,transparent)}.best-score{font-family:"Courier New",monospace;font-size:45px;color:var(--accent);letter-spacing:2px;line-height:1;margin:16px 0 8px}.score-bottom{display:flex;align-items:center;justify-content:space-between;gap:5px;font-size:9px;color:#768570;line-height:1.4}.score-bottom button{font-size:17px;padding:5px 0 5px 8px;color:var(--accent)}.control-guide{margin:37px 0 29px;padding-bottom:24px;border-bottom:1px solid #30382c}.arrow-keys{display:grid;grid-template-columns:repeat(3,31px);grid-template-rows:repeat(2,28px);gap:4px;margin:18px 0 13px}.arrow-keys .up{grid-column:2}.arrow-keys kbd:nth-child(2){grid-row:2;grid-column:1}.arrow-keys kbd:nth-child(3){grid-row:2;grid-column:2}.arrow-keys kbd:nth-child(4){grid-row:2;grid-column:3}kbd{font:10px monospace;border:1px solid #3a4534;border-bottom:2px solid #45523d;border-radius:4px;padding:3px 6px;color:#a6b899;background:#1d251b;white-space:nowrap}.arrow-keys kbd{font:16px sans-serif;display:flex;align-items:center;justify-content:center}.control-guide p{font-size:10px;line-height:1.8;color:var(--muted);margin:10px 0 20px}.control-guide p b{font-weight:450;color:#b6c2aa}.shortcut-row{display:flex;align-items:center;justify-content:space-between;margin-top:12px;font-size:9px;color:#839078}.run-card .section-label{margin-bottom:19px}.run-card>div:not(:first-child){display:flex;justify-content:space-between;margin:12px 0;font-size:10px;color:#87947b}.run-card b{font-weight:500;color:#c1ccb5}.run-card>button{display:flex;align-items:center;gap:8px;color:#acbe98;font-size:9px;padding:8px 0}.run-card>button svg{width:14px;height:14px}.site-footer{max-width:1344px;margin:auto;padding:23px 0 26px;border-top:1px solid #282f26;display:flex;align-items:center;justify-content:space-between;color:#65705f;font-size:9px;gap:24px}.site-footer i{font-style:normal;margin:0 7px}.site-footer button{font-size:9px;color:#91a17f;padding:6px 0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.toast{position:fixed;bottom:max(26px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);background:#d5e9b8;color:#26381f;box-shadow:0 10px 40px #0008;z-index:20;border-radius:9px;padding:13px 20px;font-size:12px;max-width:90vw;text-align:center}.toast[hidden]{display:none}
dialog{color:var(--text);background:#191f19;border:1px solid #3a4932;border-radius:23px;padding:0;width:min(480px,calc(100vw - 24px));max-height:90svh;box-shadow:0 30px 100px #000c;overflow:hidden}dialog[open]{display:flex;flex-direction:column}dialog::backdrop{background:#060a07b8;backdrop-filter:blur(8px)}.dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:27px 27px 19px;border-bottom:1px solid #303b2a;flex-shrink:0}.dialog-header h2{font-size:23px;font-weight:500;letter-spacing:-.7px;margin:9px 0 0}.dialog-header .icon-button{margin:-5px -8px 0 0;flex-shrink:0}.dialog-body{padding:23px 27px;overflow-y:auto;overscroll-behavior:contain}.setting-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;margin-bottom:15px}.setting-heading:not(:first-child){margin-top:25px}.setting-heading output{font:12px monospace;color:var(--accent)}.setting-heading small{font-size:9px;color:var(--muted)}input[type=range]{accent-color:var(--accent);width:100%;height:20px;cursor:pointer;margin:0}.range-captions{display:flex;justify-content:space-between;color:#839477;font-size:9px;margin-top:8px}.maze-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.maze-option{background:#222b1f;padding:10px;border:1px solid #38452f;border-radius:9px;color:#91a77e;font-size:10px}.maze-option[aria-pressed=true]{border-color:var(--accent);color:var(--accent);background:#2f3e26;box-shadow:0 0 0 1px #bfdc9522}.maze-option svg{display:block;width:100%;height:37px;stroke:none;fill:currentColor;margin-bottom:7px}.segmented{display:flex;gap:4px;padding:4px;background:#10170f;border:1px solid #2e3928;border-radius:10px}.segmented button{flex:1;padding:10px 3px;font-size:11px;color:#8c9c81;border-radius:7px}.segmented button[aria-pressed=true]{background:#34452a;color:var(--accent);box-shadow:0 2px 4px #0003}.toggle-row{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #2b3526;padding:16px 0}.toggle-row label{font-size:12px;cursor:pointer}.toggle-row p{font-size:10px;line-height:1.5;color:#809175;margin:5px 0 0}input[type=checkbox]{appearance:none;-webkit-appearance:none;width:36px;height:21px;border-radius:30px;background:#3a4434;position:relative;flex-shrink:0;cursor:pointer;transition:background .15s}input[type=checkbox]:after{content:"";position:absolute;width:15px;height:15px;top:3px;left:3px;background:#b4bea8;border-radius:50%;transition:transform .15s}input[type=checkbox]:checked{background:#9eba7c}input[type=checkbox]:checked:after{background:#1e3019;transform:translateX(15px)}.renderer-info{font:9px/1.8 monospace;color:#7d926e;border-radius:7px;background:#131b11;margin-top:23px;padding:10px 12px;overflow-wrap:anywhere}.dialog-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid #303b2a;padding:17px 27px;flex-shrink:0}.dialog-footer>span{font-size:10px;color:#839577}.small-primary{border-radius:8px;padding:11px 17px;font-size:11px;font-weight:600;background:var(--accent);color:#25361c}.text-button{padding:9px 0;font-size:11px;color:#b5cc9e}.dialog-copy{font-size:12px;line-height:1.8;color:#a0ae94;margin:0 0 20px}.score-entry{display:grid;grid-template-columns:22px 1fr auto;gap:14px;align-items:center;border-top:1px solid #324029;padding:15px 0}.score-rank{font:12px monospace;color:#728963}.score-value{font:23px monospace;color:var(--accent)}.score-details{font-size:9px;line-height:1.8;color:#839775;text-align:right}.score-empty{text-align:center;padding:25px 0 40px;color:#92a580;line-height:2;font-size:13px}.about-copy h3{font-size:13px;font-weight:600;margin:3px 0 7px;color:var(--accent)}.about-copy p{font-size:12px;line-height:1.9;color:#a2b297;margin:0 0 23px}.about-copy .fine-print{font-size:10px;color:#798e6b;margin-bottom:0}.noscript{position:fixed;inset:0;background:var(--bg);display:grid;place-items:center;padding:30px;text-align:center}
body.focus-mode .intro,body.focus-mode .sidebar,body.focus-mode .site-footer,body.focus-mode .phone-top,body.focus-mode .keypad,body.focus-mode .phone-navigation,body.focus-mode .phone-chin,body.focus-mode .bezel-caption,body.focus-mode .below-phone{display:none}body.focus-mode .layout{display:flex;justify-content:center;min-height:calc(100svh - 96px);padding:0 20px 25px}body.focus-mode .game-column{width:min(760px,100%)}body.focus-mode .phone{width:100%;padding:0;background:none;border:none;box-shadow:none;border-radius:0}body.focus-mode .phone:before,body.focus-mode .phone:after{display:none}body.focus-mode .screen-bezel{padding:12px;border:1px solid #344a2b;border-radius:13px;background:#192215;margin:0;box-shadow:0 12px 60px #0004}body.focus-mode .thumbpad{display:grid;grid-template:repeat(3,57px)/repeat(3,68px);margin:20px auto 0;gap:6px}body.focus-mode .focus-actions{display:flex;justify-content:center;gap:24px;width:100%;margin-top:24px}body.focus-mode .focus-actions button{font-size:11px;min-height:42px;border:1px solid #3d4d32;border-radius:8px;padding:10px 16px;color:#b4c59f;touch-action:none}body.focus-mode .swipe-hint{display:block;font-size:10px;color:#7c906a}
@media(min-width:1600px){.layout{column-gap:88px;max-width:1370px;grid-template-columns:1fr 400px 1fr}.phone{width:366px;padding:31px 27px 29px}.keypad button{min-height:48px}.keypad{gap:12px}.phone-navigation{height:73px}.sidebar{max-width:238px}}
@media(max-width:1200px){.layout{column-gap:35px;grid-template-columns:1fr 340px 1fr;padding:18px 35px 35px}.site-footer{margin:0 35px}.site-header{padding:24px 35px}.intro h1{font-size:35px}.sidebar{max-width:200px}.intro-meta{gap:5px;font-size:6px}.intro-copy{font-size:11px}}
@media(max-width:980px){.layout{grid-template-columns:1fr 350px;max-width:800px;column-gap:45px}.sidebar{display:none}.intro h1{font-size:42px}.intro-meta{font-size:7px;gap:8px}.site-footer{font-size:8px}.site-footer>span:first-child{display:none}}
@media(max-width:640px){.site-header{padding:13px 17px 14px;gap:7px}.brand{gap:9px}.brand strong{font-size:15px;letter-spacing:2px}.brand-mark{transform:scale(.8);width:21px}.edition{font-size:7px;padding-left:9px;letter-spacing:.7px}.header-actions{gap:1px}.icon-button{width:34px;height:34px}.icon-button svg{width:18px;height:18px}.engine-badge{display:none}.layout{display:flex;flex-direction:column;padding:18px 12px 22px;min-height:0;gap:24px}.intro{display:none}.game-column{width:100%}.phone{width:min(340px,calc(100vw - 42px))}.below-phone{width:min(326px,calc(100vw - 54px));margin-top:19px;font-size:9px}.below-phone button{font-size:9px}.swipe-hint{display:block;font-size:9px;margin:9px 0 0;color:#617655}.site-footer{margin:0 22px;padding:17px 0 calc(17px + env(safe-area-inset-bottom));font-size:8px;justify-content:center;text-align:center;gap:12px;flex-wrap:wrap}.site-footer button{font-size:8px}.site-footer>span{font-size:8px}.dialog-header{padding:23px 22px 17px}.dialog-header h2{font-size:22px}.dialog-body{padding:20px 22px}.dialog-footer{padding:17px 22px}.dialog-header .eyebrow{font-size:8px}.setting-heading{font-size:12px}.toggle-row p{font-size:9px}body.focus-mode .layout{min-height:calc(100svh - 62px);justify-content:flex-start;padding:20px 12px 15px}body.focus-mode .phone{width:100%}body.focus-mode .game-column{margin:auto 0}body.focus-mode .thumbpad{grid-template:repeat(3,63px)/repeat(3,75px);margin-top:25px}body.focus-mode .focus-actions{gap:12px;margin-top:22px}body.focus-mode .focus-actions button{font-size:10px;padding:10px 13px}body.focus-mode .swipe-hint{margin-top:13px}}
@media(max-width:380px){.edition{display:none}.phone{padding:23px 21px 20px}.phone-top{height:60px}.keypad{gap:9px 10px}.keypad button{min-height:41px}.phone-navigation{height:62px;gap:15px}.phone-wordmark{font-size:21px}.screen-bezel{padding:10px 9px 0}}
@media(max-width:640px) and (max-height:740px){.layout{padding-top:7px}.phone{width:min(315px,calc(100vw - 42px));padding-top:22px;padding-bottom:20px}.phone-top{height:54px}.speaker{margin-bottom:11px}.keypad button{min-height:40px}.keypad{gap:9px 10px}.phone-navigation{height:62px}.below-phone{margin-top:13px}.swipe-hint{margin-top:6px}}
@media(orientation:landscape) and (max-height:560px){.layout{padding-top:4px}.site-header{padding-top:9px;padding-bottom:9px}body.focus-mode .game-column{width:100%;display:grid;grid-template-columns:minmax(250px,1fr) 120px;gap:15px;align-items:center}body.focus-mode .phone{display:grid;grid-template-columns:minmax(220px,1fr) 180px;align-items:center;gap:24px}body.focus-mode .thumbpad{grid-template:repeat(3,44px)/repeat(3,51px);margin:0}body.focus-mode .focus-actions{flex-direction:column;gap:10px;margin:0}body.focus-mode .swipe-hint{grid-column:1/3;text-align:center}body.focus-mode .layout{min-height:calc(100svh - 55px);padding:4px 24px 10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;scroll-behavior:auto!important}}
