.fs{--lime:#c7f36b;--paper:#f3f4e7;color:var(--paper);background:#101a16;min-height:calc(100svh - 48px);padding:0 4vw 20px;font-family:inherit}.fs *{box-sizing:border-box}.fs button,.fs a{-webkit-tap-highlight-color:transparent}.fs button{font:inherit;cursor:pointer;color:inherit;border:0;background:none;min-height:44px}.fs button:focus-visible,.fs a:focus-visible,.fs canvas:focus-visible{outline:2px solid var(--lime);outline-offset:4px}.fs a{color:inherit;text-decoration:none}.fs-top{height:66px;display:flex;align-items:center;justify-content:space-between;font-size:12px}.fs-top>span,.fs-footer>span:last-child{font-size:10px;letter-spacing:.15em;color:#b4c5b8}.fs-top button{border:1px solid #415247;border-radius:24px;padding:0 18px}.arena{position:relative;height:min(720px,calc(100svh - 170px));min-height:560px;overflow:hidden;border-radius:18px;background:#142c24;box-shadow:0 24px 60px #0004;isolation:isolate}.fs canvas{display:block;width:100%;height:100%;touch-action:none}.screen{position:absolute;inset:0;z-index:3}.screen[hidden],.hud[hidden]{display:none}.home-copy{width:49%;padding:32px 0 20px 6%;position:relative}.fruit-mark{display:block;width:49px;height:49px;margin-bottom:10px}.fs h1{font-size:clamp(64px,7vw,105px);line-height:.88;letter-spacing:-.04em;margin:0 0 24px;font-weight:800}.fs h1 span{display:block;color:var(--lime)}.fs p{color:#c1d1c5;font-size:15px;line-height:1.7;margin:0 0 20px}.mode-select{display:flex;gap:6px;margin:22px 0 18px}.mode-select button{text-align:left;padding:10px 13px;border-radius:8px;border:1px solid #587364;flex:1;font-size:13px;transition:background .2s}.mode-select button[aria-pressed=true]{color:#172a1f;background:var(--lime);border-color:var(--lime)}.mode-select small{display:block;font-size:10px;margin-top:4px;white-space:nowrap}.fs .primary{display:flex;align-items:center;justify-content:space-between;background:var(--lime);color:#16291e;border-radius:9px;padding:14px 24px;font-size:17px;font-weight:750;width:100%;min-height:54px}.fs .primary:hover{background:#d9ff8a}.home-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:12px;gap:8px}.home-bottom button{font-size:12px;text-decoration:underline;text-underline-offset:4px}.home-bottom>span{font-size:9px;letter-spacing:.08em;color:#c1d1c5}.home-bottom b{color:var(--lime);font-size:20px;margin-left:8px}.art-caption{position:absolute;right:7%;bottom:17%;font-size:10px;letter-spacing:.22em;color:#bdcbb0}.arena-foot{position:absolute;bottom:0;left:0;right:0;display:flex;justify-content:space-between;padding:18px 25px;font-size:9px;letter-spacing:.13em;color:#b9cabe;pointer-events:none;z-index:4}.fs-footer{display:flex;justify-content:space-between;padding:20px 0 0;font-size:12px;color:#c1d1c5}.hud{position:absolute;top:0;left:0;right:0;padding:24px 30px;display:flex;gap:45px;pointer-events:none;z-index:2;background:linear-gradient(#101a16b0,transparent)}.hud small{display:block;color:#d3dfd0;font-size:9px;letter-spacing:.16em}.hud strong{display:block;font-variant-numeric:tabular-nums;font-size:32px;color:var(--lime);text-shadow:0 3px 18px #b7ff6340}.hud-actions{margin-left:auto;display:flex;gap:9px;pointer-events:auto}.hud button{font-size:12px;padding:0 12px;border:1px solid #61786a;border-radius:8px;height:44px}.centered{display:flex;align-items:center;justify-content:center;background:#0d201ae8;backdrop-filter:blur(8px);padding:24px}.panel{width:min(460px,100%);text-align:center}.fs h2{font-size:36px;line-height:1.1;letter-spacing:-.03em;margin:0 0 18px}.panel .primary{justify-content:center}.fs .secondary{display:block;margin:8px auto}.panel>a{display:inline-block;font-size:13px;padding:10px;text-decoration:underline}.final-score{font-size:80px;font-weight:800;line-height:1.2;color:var(--lime);font-variant-numeric:tabular-nums}.results{display:flex;justify-content:space-around;margin:20px 0;font-size:12px;color:#c1d1c5}.results strong{display:block;font-size:24px;color:var(--paper);padding-top:6px}.combo{position:absolute;top:24%;width:100%;text-align:center;pointer-events:none;color:var(--lime);font-size:32px;font-weight:800;z-index:2}#save-status{font-size:12px;min-height:20px}
@media(min-width:1500px){.home-copy{padding-top:55px}}@media(max-width:760px){.fs{padding:0 12px 16px}.fs-top{height:54px}.fs-top>span,.fs-footer>span:last-child{display:none}.arena{height:calc(100svh - 150px);min-height:650px}.home-copy{width:100%;padding:170px 24px 35px}.fruit-mark{display:none}.fs h1{font-size:66px;line-height:.9}.fs h1 span{display:inline}.fs p{font-size:13px;margin-bottom:15px}.mode-select{margin-top:18px}.mode-select button{padding:10px 8px}.mode-select small{font-size:9px}.art-caption{display:none}.arena-foot{padding:15px;font-size:8px}.hud{gap:22px;padding:18px 16px}.hud strong{font-size:26px}.hud-actions{gap:4px;flex-direction:column}.hud button{font-size:10px;min-height:32px;height:32px;padding:0 8px}.fs h2{font-size:30px}.fs-footer{font-size:11px}.panel p{font-size:13px}.home-bottom>span{font-size:8px}}@media(prefers-reduced-motion:reduce){.fs *{transition:none!important}}

/* The shell owns 48px; the game fills the remaining visible viewport. */
.fs{position:fixed;inset:48px 0 0;height:calc(100dvh - 48px);min-height:0;display:grid;grid-template-rows:54px minmax(0,1fr) 34px;padding:0 clamp(12px,3vw,48px);overflow:hidden}
.fs-top{height:auto;min-height:0}
.arena{height:100%;min-height:0;container-type:size}
.fs-footer{padding:8px 0 0;font-size:10px;min-height:0}
.centered{padding:20px 24px 40px;overflow:auto;overscroll-behavior:contain}
.panel{display:flex;flex-direction:column;gap:clamp(4px,1.5cqh,12px);max-height:100%;margin:auto}
.panel h2{font-size:clamp(24px,6cqh,36px);margin:0}
.panel p{margin:0;font-size:clamp(12px,2.4cqh,15px);line-height:1.5}
.final-score{font-size:clamp(44px,13cqh,80px);line-height:1.05}
.results{margin:4px 0;font-size:12px;flex-shrink:0}
.results strong{font-size:clamp(20px,4cqh,24px);padding-top:2px}
.panel .primary{min-height:44px;padding:10px 20px;flex-shrink:0}
.panel .secondary{min-height:32px;margin:0;font-size:13px;flex-shrink:0}
.panel>a{min-height:28px;padding:3px 10px;font-size:12px;flex-shrink:0}
#save-status{min-height:18px;font-size:12px}
.home-copy{padding-top:clamp(16px,5cqh,40px)}
.fruit-mark{width:clamp(28px,7cqh,49px);height:clamp(28px,7cqh,49px);margin-bottom:8px}
.fs h1{font-size:clamp(44px,16cqh,105px);margin-bottom:clamp(12px,3cqh,24px)}
.home-copy p{font-size:clamp(12px,2.5cqh,15px);margin-bottom:12px}
.mode-select{margin:clamp(10px,3cqh,22px) 0 12px}
.home-bottom{margin-top:6px}
@container (max-height:520px){
  .panel{gap:5px}
  #over-label{display:none}
  .panel h2{font-size:26px}
  .final-score{font-size:48px}
  .panel p{font-size:12px}
  .results{font-size:11px}
  .results strong{font-size:20px}
  .fruit-mark{display:none}
  .home-copy{padding-top:16px}
  .fs h1{font-size:clamp(40px,15cqh,72px);margin-bottom:12px}
  .home-copy p{margin-bottom:8px}
  .mode-select{margin:10px 0}
  .home-copy .primary{min-height:44px;padding:10px 20px}
  .arena-foot{padding:10px 16px;font-size:8px}
}
@media(max-width:760px){
  .fs{grid-template-rows:48px minmax(0,1fr) 26px;padding:0 12px}
  .fs-footer{padding-top:5px}
  .home-copy{padding:clamp(90px,27cqh,170px) 20px 30px;width:100%}
  .fs h1{font-size:clamp(36px,10cqh,66px)}
  .mode-select button{padding:8px 6px;font-size:12px}
  .mode-select small{font-size:8px}
  .centered{padding:16px 18px 32px}
}
@media(max-height:520px) and (min-width:600px){
  .fs{grid-template-rows:44px minmax(0,1fr);padding-bottom:8px}
  .fs-footer{display:none}
  .home-copy{width:58%;padding:8px 0 24px 4%}
  .fs h1{font-size:40px;line-height:1;margin-bottom:6px}
  .fs h1 span{display:inline}
  .home-copy p{font-size:11px;line-height:1.35;margin-bottom:4px}
  .mode-select{margin:6px 0}
  .mode-select button{padding:5px 8px}
  .home-bottom{margin-top:0}
  .home-bottom button{min-height:30px}
  .centered{padding:8px 20px 24px}
  .panel{gap:3px}
  .panel h2{font-size:22px}
  .final-score{font-size:40px}
  .results{margin:0}
  .panel .primary{min-height:36px;padding:6px 16px}
  .panel .secondary,.panel>a{min-height:24px}
}
