@font-face{font-family:DM Sans;src:url('/fonts/dm-sans.woff2') format('woff2');font-weight:100 1000;font-display:swap}
@font-face{font-family:Space Grotesk;src:url('/fonts/space-grotesk.woff2') format('woff2');font-weight:300 700;font-display:swap}
:root{--bg:#17231c;--panel:#1c2921;--text:#f3f0de;--muted:#9baba0;--orange:#fba34b;--line:rgba(220,235,203,.12);font-family:'DM Sans',sans-serif;color:var(--text);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;min-width:340px;overflow:hidden;height:100dvh}button,input,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button{color:inherit}button:focus-visible,a:focus-visible{outline:2px solid var(--orange);outline-offset:5px}button:disabled{cursor:wait;opacity:.65}button:active:not(:disabled){transform:translateY(1px)}[hidden]{display:none!important}::selection{background:#fba34b;color:#17231c}
#arena{position:fixed;inset:0;width:100%;height:100%;touch-action:none}.vignette{position:fixed;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(23,35,28,.95) 0%,rgba(23,35,28,.87) 28%,rgba(23,35,28,.1) 62%),linear-gradient(0deg,#17231c 0%,transparent 22%,transparent 80%,#17231c 100%);transition:opacity .8s}.playing .vignette{opacity:.25;background:radial-gradient(ellipse,transparent 50%,#101b15)}
.topbar{position:relative;height:96px;padding:0 48px;display:flex;align-items:center;gap:36px;border-bottom:1px solid var(--line);z-index:5;background:linear-gradient(#17231cf5,#17231c8c)}.brand{display:flex;align-items:center;text-decoration:none;color:var(--text);font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:29px;letter-spacing:-1.8px}.brand img{width:39px;height:39px;margin-right:10px}.brand>span:not(.brand-dot){font-weight:400}.brand .brand-dot{font-family:Arial,sans-serif;font-size:10px;align-self:flex-start;margin-top:9px;margin-left:4px;letter-spacing:0}.garden-status{display:flex;align-items:center;gap:9px;font-size:11px;color:var(--muted);background:#ffffff04;border:1px solid var(--line);border-radius:30px;padding:8px 12px}.live-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#b9d783;box-shadow:0 0 8px #b9d78330;flex-shrink:0}.header-actions{margin-left:auto;display:flex;align-items:center;gap:22px}.text-button{border:0;background:none;padding:8px 0;font-size:12px;display:flex;align-items:center;gap:9px;color:#d5ddcf}.key-icon{border:1px solid #83927f;border-radius:50%;width:16px;height:16px;font-size:10px;display:grid;place-items:center}.header-divider{height:20px;width:1px;background:var(--line)}.icon-button{border:0;background:none;padding:2px;color:#b7c1b3;display:grid;place-items:center}.icon-button:hover,.text-button:hover{color:var(--orange)}.icon-button svg{width:19px;height:19px}
.lobby{position:relative;max-width:1600px;height:calc(100dvh - 170px);margin:auto;pointer-events:none;display:flex;align-items:center;padding:25px 6.2% 45px}.welcome{pointer-events:auto;position:relative;width:445px}.eyebrow{font-size:10px;font-weight:600;letter-spacing:2px;color:#b8c7ad;display:flex;align-items:center;gap:9px}.eyebrow>span{width:16px;height:1px;background:#b8c7ad}.welcome h1{font-family:'Space Grotesk',sans-serif;font-size:clamp(50px,4.6vw,72px);font-weight:500;letter-spacing:-4px;line-height:1.07;margin:25px 0 20px;position:relative;white-space:nowrap}.welcome h1>span{color:var(--orange)}.title-spark{width:30px;height:38px;position:absolute;top:0;right:24px;color:var(--orange);transform:rotate(13deg)}.intro{color:#a7b4a6;font-size:14px;line-height:1.8;letter-spacing:.1px;margin:0 0 29px}.join-card{width:380px;padding:23px;background:linear-gradient(125deg,#253229eb,#202c24f2);border:1px solid #82977830;border-radius:15px;box-shadow:0 16px 40px #09100a20}.form-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.form-heading label{font-size:11px;font-weight:500}.form-heading>span{font-size:7px;letter-spacing:1.1px;color:#849780}.name-input-wrap{position:relative;display:flex;align-items:center}.name-input-wrap input{width:100%;height:48px;background:#152219a3;color:var(--text);border:1px solid #82977835;border-radius:7px;padding:0 34px;font-size:12px;outline:none;transition:border-color .2s}.name-input-wrap input:focus{border-color:var(--orange)}.name-input-wrap input::placeholder{color:#788a77}.name-dot{position:absolute;left:14px;width:7px;height:7px;border-radius:50%;background:var(--orange);z-index:1}.input-spark{position:absolute;right:13px;font-size:16px;color:#758571}.skin-row{display:flex;justify-content:space-between;align-items:center;margin:19px 0 23px}.skin-row>span{font-size:10px;color:#a9b6a5}.skin-options{display:flex;gap:8px}.skin-option{border:0;background:var(--skin);border-radius:50%;width:20px;height:20px;padding:0;position:relative;box-shadow:inset 0 -3px 0 #0002;transition:transform .2s}.skin-option:before,.skin-option:after{content:'';position:absolute;width:2px;height:3px;background:#263125;top:7px;border-radius:2px}.skin-option:before{left:6px}.skin-option:after{right:6px}.skin-option.selected{outline:1px solid var(--skin);outline-offset:4px}.skin-option:hover{transform:translateY(-3px)}.play-button{width:100%;display:flex;align-items:center;justify-content:space-between;border:1px solid #ffc58273;border-radius:7px;height:49px;background:var(--orange);color:#263023;padding:0 17px;font-size:14px;font-weight:700;box-shadow:0 3px 0 #c57a2a;transition:background .2s,box-shadow .2s}.play-button svg{width:20px;height:20px}.play-button:hover{background:#ffb66b;box-shadow:0 4px 18px #fba34b25}.join-footnote{display:flex;justify-content:center;align-items:center;gap:7px;margin-top:17px;font-size:9px;color:#8fa187}.join-footnote .live-dot{width:4px;height:4px}.welcome-details{display:flex;align-items:center;gap:14px;margin:24px 0 0;font-size:9px;color:#7f927c}.welcome-details>span{display:flex;align-items:center;gap:6px}.welcome-details svg{height:14px;width:14px}.welcome-details i,.controls-hint i{height:3px;width:3px;border-radius:50%;background:#5b6e56}.arena-caption{position:absolute;left:58%;top:20%;color:#a2b48e;font-family:'Space Grotesk',sans-serif;font-size:11px;transform:rotate(-9deg);display:flex;flex-direction:column;align-items:center;gap:7px}.caption-line{width:30px;height:42px;border:1px solid #a2b48e75;border-top:0;border-left:0;border-radius:0 0 30px 0;transform:rotate(40deg);order:2;margin-left:28px}.floating-note{position:absolute;bottom:18%;left:56%;color:#8da27e;font-size:10px;transform:rotate(-6deg)}.floating-note>span{font-family:'Space Grotesk',sans-serif;color:var(--orange);font-size:25px;display:block;text-align:center;margin-bottom:7px}
.leaderboard{position:fixed;right:35px;top:125px;width:244px;z-index:4;background:linear-gradient(135deg,#233026eb,#1a271eef);border:1px solid #c2d8a91c;border-radius:12px;box-shadow:0 12px 40px #0b130c17;overflow:hidden;backdrop-filter:blur(12px)}.leader-heading{display:flex;align-items:center;gap:9px;padding:19px 17px 15px}.leader-heading h2{font-size:11px;font-weight:600;margin:0;letter-spacing:.1px}.trophy{color:var(--orange);font-size:21px;line-height:1}.tiny-dot{margin-left:auto;background:#b8d875;width:4px;height:4px;border-radius:50%}.leader-tabs{display:flex;gap:22px;padding:0 17px;border-bottom:1px solid var(--line)}.leader-tabs>button{border:0;border-bottom:2px solid transparent;color:#83967e;background:none;padding:0 0 12px;font-size:10px}.leader-tabs>button.active{color:#dce4cb;border-bottom-color:var(--orange)}.leader-list{padding:9px 11px;min-height:130px}.leader-row{display:flex;align-items:center;height:35px;font-size:10px;gap:8px;padding:0 7px;border-radius:5px}.leader-row.me{background:#b9d78313}.leader-rank{color:#6d8169;font-size:9px;min-width:12px;font-variant-numeric:tabular-nums}.leader-row:first-child .leader-rank{color:var(--orange)}.leader-avatar{width:14px;height:14px;border-radius:50%;background:var(--skin);position:relative;box-shadow:inset 0 -3px 0 #0002}.leader-avatar:after{content:'··';font-weight:900;color:#243222;position:absolute;top:-1px;left:4px;line-height:11px;letter-spacing:0px}.leader-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:94px;color:#c5d0b9}.bot-tag{font-size:6px;color:#708467;letter-spacing:.5px;border:1px solid #80927530;padding:1px 2px;border-radius:2px}.leader-score{margin-left:auto;font-variant-numeric:tabular-nums;color:#d9e0c8;font-size:10px}.leader-footer{border-top:1px solid var(--line);padding:13px 12px;text-align:center;font-size:8px;color:#829478;letter-spacing:.2px}.leader-empty{font-size:11px;line-height:1.8;text-align:center;color:#93a386;padding:28px 15px}
.bottom-bar{position:fixed;bottom:0;left:0;right:0;height:67px;display:flex;align-items:center;justify-content:space-between;padding:0 48px;z-index:3;border-top:1px solid #d8e8c50c;background:#17231c88;gap:20px}.footer-brand{display:flex;align-items:center;gap:8px;font-size:10px;color:#8fa184}.footer-brand>span{font-size:22px;color:#b8d875}.snack-legend{display:flex;gap:23px;font-size:9px;color:#96a78c}.snack-legend>span{display:flex;align-items:center;gap:7px}.legend-dot{width:5px;height:5px;border-radius:50%}.fruit-dot{background:#fba34b}.power-dot{background:#c3a0ec;transform:rotate(45deg);border-radius:1px}.snake-dot{background:#b8d875}.version{color:#677e61;font-size:7px;letter-spacing:1.1px;white-space:nowrap}
.game-hud{position:fixed;top:125px;left:35px;z-index:4;pointer-events:none}.score-card{width:180px;background:#1e2e24e8;border:1px solid var(--line);border-radius:12px;padding:20px;backdrop-filter:blur(12px)}.score-card .eyebrow{font-size:9px;color:#9cad8c;letter-spacing:1.7px}.score-card>strong{font-family:'Space Grotesk',sans-serif;display:block;color:var(--orange);font-size:47px;letter-spacing:-2px;font-weight:500;margin:4px 0}.score-card>div{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#b3c3a5}.score-card>div>span:first-child{max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.score-card>div>span:last-child{color:#b8d875}.power-list{display:flex;flex-direction:column;gap:9px;margin-top:12px}.active-power{width:180px;background:#1d2c22e8;border:1px solid var(--line);border-radius:7px;padding:11px;display:grid;grid-template-columns:25px 1fr;align-items:center;font-size:10px;gap:0 7px}.active-power>span{font-size:20px;grid-row:span 2;text-align:center}.active-power b{font-size:10px;font-weight:500;display:flex;justify-content:space-between;gap:4px}.power-track{height:3px;background:#ffffff10;margin-top:7px;border-radius:2px;overflow:hidden}.power-track i{height:100%;display:block;background:var(--power);border-radius:2px}.leave-button{margin-top:15px;padding:8px 0;pointer-events:auto;background:none;color:#9db18d;border:0;font-size:10px}.controls-hint{position:fixed;bottom:93px;left:50%;transform:translateX(-50%);z-index:3;display:flex;align-items:center;gap:18px;background:#19291fd9;border:1px solid var(--line);border-radius:30px;padding:14px 20px;color:#acbea0;font-size:10px;white-space:nowrap;pointer-events:none}.controls-hint>span{display:flex;align-items:center;gap:8px}.controls-hint small{font-size:8px;color:#7f9474}.mouse-icon{width:12px;height:18px;border:1px solid #acbea0;border-radius:7px;position:relative}.mouse-icon:before{content:'';position:absolute;left:5px;height:5px;width:1px;background:#acbea0;top:2px}kbd{font-family:inherit;font-size:8px;border:1px solid #8c9e7d7a;border-bottom-width:2px;border-radius:3px;padding:3px 5px}.minimap-wrap{position:fixed;bottom:92px;right:35px;border:1px solid var(--line);border-radius:8px;padding:8px;background:#18281ed9;z-index:3;text-align:center}.minimap-wrap canvas{display:block;width:130px;height:105px}.minimap-wrap>span{font-size:7px;letter-spacing:2px;color:#778e6c}.playing .snack-legend{opacity:.5}.playing .footer-brand{opacity:.7}
.toast{position:fixed;left:50%;top:115px;transform:translate(-50%,-20px);background:#2e3c2d;color:#ebefd7;border:1px solid #b8d87550;border-radius:30px;padding:12px 24px;font-size:12px;z-index:20;opacity:0;transition:opacity .3s,transform .3s;pointer-events:none;max-width:90vw;text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}.modal{border:1px solid #71856a55;border-radius:19px;padding:38px;max-width:min(500px,calc(100vw - 30px));color:var(--text);background:#203026;box-shadow:0 25px 100px #0006}.modal::backdrop{background:#0b160ed1;backdrop-filter:blur(8px)}.modal-close{position:absolute;top:15px;right:19px;color:#9baf90;font-size:24px;background:none;border:0}.modal h2{font-family:'Space Grotesk',sans-serif;font-size:32px;font-weight:500;letter-spacing:-1.4px;line-height:1.1;margin:19px 0 25px}.help-step{display:flex;gap:15px;margin:19px 0}.help-step>span{font-family:'Space Grotesk',sans-serif;color:var(--orange);font-size:11px;margin-top:2px}.help-step h3{font-size:12px;font-weight:600;margin:0 0 5px}.help-step p{font-size:11px;line-height:1.7;color:#9fb093;margin:0}.power-guide{border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;gap:17px;padding:20px 0;margin:20px 0}.power-guide>div{display:grid;grid-template-columns:27px 1fr;gap:2px 6px;align-items:center}.power-guide>div>span{grid-row:span 2;font-family:'Space Grotesk',sans-serif;color:#c3a0ec;font-size:24px}.power-guide b{font-size:10px;font-weight:500}.power-guide small{font-size:9px;color:#9fb093}.help-note{font-size:9px;line-height:1.7;color:#879e7c;margin:0 0 24px}.death-modal{text-align:center;width:460px}.death-illustration{font-size:60px;line-height:1.1;color:#b8d875;margin-bottom:18px}.death-modal .eyebrow{justify-content:center}.death-modal h2{margin-bottom:12px}.death-modal>p{font-size:11px;line-height:1.8;color:#9fb093}.run-score{margin:25px 0;display:flex;flex-direction:column;gap:5px}.run-score>span{font-size:9px;letter-spacing:2px;color:#97ae89}.run-score>strong{font-size:65px;font-weight:500;color:var(--orange);font-family:'Space Grotesk',sans-serif;line-height:1;letter-spacing:-3px}.run-stats{display:flex;justify-content:space-between;margin:25px 0 30px}.run-stats>div{display:flex;flex-direction:column;gap:6px}.run-stats strong{font-size:18px;font-family:'Space Grotesk',sans-serif;font-weight:500}.run-stats span{font-size:9px;color:#98aa8d}.back-button{justify-content:center;margin:15px auto 0;font-size:10px;color:#9aaf8b}.mobile-boost{display:none}
@media(min-width:1600px){.lobby{padding-left:80px}.welcome{width:500px}.welcome h1{font-size:80px}.join-card{width:400px}.title-spark{right:35px}.intro{font-size:15px}}
@media(max-height:790px) and (min-width:901px){.topbar{height:78px}.lobby{height:calc(100dvh - 132px);padding-top:15px;padding-bottom:15px}.welcome h1{font-size:58px;margin:17px 0 13px}.intro{margin-bottom:18px;font-size:12px}.join-card{padding:18px 21px}.skin-row{margin:16px 0 18px}.welcome-details{margin-top:18px}.bottom-bar{height:54px}.leaderboard,.game-hud{top:105px}.floating-note{bottom:12%}.controls-hint{bottom:77px}.minimap-wrap{bottom:77px}}
@media(max-width:1150px){.topbar{padding:0 28px;gap:20px}.garden-status{font-size:9px}.lobby{padding-left:5%}.welcome h1{font-size:60px}.welcome{width:400px}.title-spark{right:25px}.leaderboard{right:24px;width:220px}.leader-heading{padding:17px 12px 13px;gap:6px}.leader-heading h2{font-size:10px}.leader-name{max-width:75px}.bottom-bar{padding:0 28px}.version{display:none}.arena-caption{left:55%}.floating-note{left:54%}}
@media(max-width:900px){.topbar{height:78px;padding:0 24px}.brand{font-size:26px}.brand img{width:34px;height:34px}.header-actions{gap:17px}.garden-status{margin-left:auto}.header-actions{margin-left:0}.header-actions .text-button{font-size:0;gap:0}.key-icon{font-size:10px}.header-divider{display:none}.leaderboard{top:104px;width:205px}.leader-heading h2{font-size:9px}.leader-row{font-size:9px;gap:5px;padding:0 4px}.leader-score{font-size:9px}.leader-name{max-width:72px}.lobby{height:calc(100dvh - 135px);padding-left:6%;}.welcome{width:360px}.welcome h1{font-size:56px;letter-spacing:-3px}.title-spark{right:10px}.join-card{width:340px;padding:20px}.form-heading>span{font-size:6px}.intro{font-size:12px}.eyebrow{font-size:8px}.arena-caption,.floating-note{display:none}.bottom-bar{height:57px;padding:0 24px}.snack-legend{gap:15px;font-size:8px}.footer-brand{font-size:9px}.game-hud{top:104px;left:24px}.score-card{width:150px;padding:16px}.score-card>strong{font-size:40px}.active-power{width:150px}.controls-hint{bottom:80px;font-size:9px}.minimap-wrap{right:24px;bottom:80px}}
@media(max-width:620px){body{min-width:340px}.topbar{height:70px;padding:0 18px;gap:8px}.brand{font-size:23px}.brand img{width:30px;height:30px;margin-right:7px}.brand .brand-dot{font-size:8px}.garden-status{font-size:8px;padding:7px 9px;gap:5px}.garden-status .live-dot{width:4px;height:4px}.header-actions{gap:13px;margin-left:9px}.header-actions .text-button{display:none}.icon-button svg{width:16px;height:16px}.lobby{height:calc(100dvh - 115px);padding:25px 24px 20px;align-items:center}.welcome{width:100%;max-width:380px;margin:auto}.welcome h1{font-size:59px;line-height:1.02;margin:17px 0 14px}.title-spark{width:25px;height:30px;right:20px}.intro{font-size:12px;line-height:1.75;margin-bottom:23px}.join-card{width:100%;padding:21px}.form-heading label{font-size:11px}.form-heading>span{font-size:6.5px}.name-input-wrap input{font-size:12px;height:48px}.skin-options{gap:10px}.skin-row{margin:21px 0 24px}.skin-option{width:21px;height:21px}.play-button{height:49px}.join-footnote{font-size:9px}.welcome-details{margin-top:20px;font-size:8px;gap:14px}.leaderboard{display:none}.vignette{background:linear-gradient(90deg,#17231cf2,#17231cbd),linear-gradient(0deg,#17231c,transparent)}.bottom-bar{height:45px;padding:0 20px;justify-content:center}.footer-brand{font-size:9px;gap:7px}.footer-brand>span{font-size:18px}.snack-legend{display:none}.game-hud{top:88px;left:16px}.score-card{width:130px;padding:14px}.score-card>strong{font-size:34px}.score-card .eyebrow{font-size:7px}.score-card>div{font-size:9px}.score-card>div>span:first-child{max-width:80px}.playing .leaderboard{display:block;width:162px;right:16px;top:88px}.playing .leader-heading{padding:12px 10px}.playing .leader-heading h2{font-size:8px}.playing .trophy{font-size:17px}.playing .tiny-dot{display:none}.playing .leader-tabs{padding:0 10px;gap:17px}.playing .leader-tabs>button{font-size:8px;padding-bottom:9px}.playing .leader-row{height:28px;font-size:8px;gap:4px;padding:0}.playing .leader-list{padding:7px;min-height:100px}.playing .leader-name{max-width:54px}.playing .leader-score{font-size:8px}.playing .leader-avatar{width:10px;height:10px}.playing .leader-avatar:after{left:2px;top:-3px}.playing .leader-footer{font-size:7px;padding:8px 5px}.playing .bot-tag{font-size:5px}.playing .leader-rank{font-size:7px;min-width:9px}.playing .leader-row:nth-child(n+6){display:none}.active-power{width:130px;font-size:9px;padding:8px;grid-template-columns:20px 1fr}.active-power b{font-size:8px}.controls-hint{bottom:65px;padding:11px 16px;font-size:9px;max-width:90vw;gap:10px}.controls-hint small{display:none}.minimap-wrap{right:16px;bottom:125px;padding:5px}.minimap-wrap canvas{width:90px;height:74px}.minimap-wrap>span{font-size:6px}.mobile-boost{display:flex;position:fixed;right:22px;bottom:61px;border:1px solid #fba34b70;background:#fba34b22;width:53px;height:53px;border-radius:50%;flex-direction:column;align-items:center;justify-content:center;color:var(--orange);font-size:24px;z-index:5;touch-action:none;user-select:none}.mobile-boost small{font-size:6px;letter-spacing:1px;margin-top:-3px}.mobile-boost:active{background:#fba34b55}.modal{padding:29px 25px;max-height:90dvh;overflow-y:auto}.modal h2{font-size:30px}.help-step{margin:14px 0}.help-step p{font-size:10px}.help-note{font-size:8px}.toast{top:82px;font-size:10px;width:max-content}.playing .controls-hint{left:17px;transform:none;bottom:74px;padding:10px;font-size:8px;max-width:calc(100vw - 102px)}.playing .controls-hint>span{gap:6px}.playing .controls-hint kbd{font-size:6px}.playing .controls-hint .mouse-icon{width:10px;height:15px}.playing .controls-hint .mouse-icon:before{left:4px}}
@media(max-width:620px) and (max-height:730px){.lobby{padding-top:15px;padding-bottom:10px}.welcome h1{font-size:48px;margin:13px 0}.intro{font-size:11px;margin-bottom:16px}.join-card{padding:17px 20px}.skin-row{margin:17px 0 20px}.welcome-details{margin-top:16px}.join-footnote{margin-top:14px}.eyebrow{font-size:7px}.title-spark{right:55px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important}}
@media(max-width:620px){.header-actions .text-button{display:flex}.header-actions #fullscreen-button{display:none}}
@media(max-height:520px){body:not(.playing){overflow-y:auto}.lobby{height:auto;min-height:calc(100dvh - 115px);padding-top:35px;padding-bottom:100px}}
