.game-body{--game-ink:#163f38;--game-cream:#f5f3e9;--game-gold:#f4d180;color:var(--game-ink);background:#f5f3e9;min-height:100svh;font-family:ui-rounded,Trebuchet MS,system-ui,sans-serif}.game-body button,.game-body a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}.game-body button{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;min-width:48px;min-height:48px}.game-body button:disabled{cursor:default;opacity:.6}.game-body :focus-visible{outline-offset:4px;outline:3px solid #936018}.game-brand{letter-spacing:.15em;align-items:center;gap:18px;min-height:48px;font-size:11px;font-weight:800;display:inline-flex}.game-brand-dot{color:#8c9b6c;font-size:23px}.game-shell{max-width:1280px;margin:auto;padding:16px 38px 20px}.game-topbar{border-bottom:1px solid #163f381a;justify-content:space-between;align-items:center;gap:12px;padding-bottom:8px;display:flex}.game-topbar-actions{align-items:center;gap:20px;font-size:12px;font-weight:600;display:flex}.game-topbar-actions a{align-items:center;gap:8px;min-height:48px;display:flex}.game-mission-heading{justify-content:space-between;align-items:center;gap:20px;padding:25px 0 22px;display:flex}.game-eyebrow{letter-spacing:.18em;color:#637363;font-size:9px;font-weight:800;display:block}.game-mission-heading h1{letter-spacing:-.03em;margin:8px 0 0;font-family:Georgia,serif;font-size:clamp(24px,3vw,36px);font-weight:400;line-height:1.2}.game-mission-heading h1 em{color:#6f8056;font-weight:400}.game-progress{color:#65755f;text-align:right;white-space:nowrap;font-size:10px}.game-progress>div{justify-content:flex-end;gap:5px;margin-top:10px;display:flex}.game-progress i{background:#d9dfce;border-radius:5px;width:23px;height:7px;transition:background .3s}.game-progress i.is-clean{background:#497e61}.game-board{background:#cde0c4;border:5px solid #fffdf6;border-radius:22px;position:relative;overflow:hidden;box-shadow:0 10px 35px #234d3420}.game-board canvas{touch-action:none;cursor:none;aspect-ratio:1000/620;width:100%;height:auto;display:block}.game-scene-label{z-index:1;color:#405c43;pointer-events:none;background:#fffef5ba;border:1px solid #fff8;border-radius:30px;align-items:center;gap:7px;padding:8px 12px;font-size:9px;font-weight:700;display:flex;position:absolute;top:16px;left:20px}.game-status-dot{background:#588463;border-radius:50%;width:5px;height:5px}.game-sparky{color:#566b4f;pointer-events:none;background:#fffdf2d9;border-radius:25px;align-items:center;gap:6px;padding:4px 10px 4px 4px;font-size:9px;display:flex;position:absolute;bottom:12px;right:14px}.game-sparky img{-o-object-fit:contain;object-fit:contain;border-radius:20px;width:28px;height:34px}.game-gap-picker{z-index:1;white-space:nowrap;gap:6px;display:flex;position:absolute;bottom:10px;left:50%;transform:translate(-50%)}.game-gap-picker button{background:#fffdf1db;border:1px solid #94aa87;border-radius:24px;min-height:48px;padding:8px 18px;font-size:11px}.game-gap-picker button[aria-pressed=true]{color:#fff;background:#365e48}.game-command-deck{align-items:center;gap:24px;padding:19px 0 8px;display:flex}.game-captain{flex:1;align-items:center;gap:14px;min-width:0;display:flex}.game-captain>img{-o-object-fit:cover;object-fit:cover;background:#fffdf6;border:3px solid #fffdf7;border-radius:50%;flex-shrink:0;width:68px;height:68px;box-shadow:0 3px 12px #17382a10}.game-captain h2{margin:5px 0;font-size:16px;font-weight:700}.game-captain p{color:#617163;max-width:490px;min-height:38px;margin:0;font-size:12px;line-height:1.6}.game-team{flex-shrink:0;gap:8px;display:flex}.game-hero{text-align:left;border-radius:15px;align-items:center;min-width:170px;transition:background .15s,border-color .15s,box-shadow .15s;display:flex;background:#fffdf6!important;border:1px solid #d9dece!important;gap:7px!important;padding:8px 10px 8px 6px!important}.game-hero.is-selected{box-shadow:0 0 0 1px #6d8c5e;background:#e5ecd9!important;border-color:#6d8c5e!important}.game-hero img{-o-object-fit:contain;object-fit:contain;border-radius:10px;width:48px;height:56px}.game-hero strong{font-size:13px;display:block}.game-hero small{color:#617163;white-space:nowrap;margin-top:4px;font-size:9px;display:block}.game-hero-check{color:#536a47;border:1px solid #9da98f;border-radius:50%;place-items:center;width:18px;height:18px;margin-left:auto;font-size:11px;display:grid}.game-hero.is-selected .game-hero-check{color:#fff;background:#557448;border-color:#557448}.game-bottom{color:#78816d;justify-content:space-between;align-items:center;gap:10px;font-size:10px;display:flex}.game-bottom>div{gap:18px;display:flex}.game-bottom button{min-height:48px;font-size:10px}.game-overlay{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);z-index:2;background:#143d363b;place-items:center;padding:22px;display:grid;position:absolute;inset:0}.game-overlay-card{text-align:center;background:#f9f6ebf5;border:1px solid #fff8;border-radius:24px;width:min(440px,100%);padding:35px;box-shadow:0 15px 50px #163f3822}.game-overlay-card h2{letter-spacing:-.03em;color:#204e40;margin:14px 0;font:32px/1.1 Georgia,serif}.game-overlay-card p{color:#5d6e5e;margin:10px 0 20px;font-size:13px;line-height:1.7}.game-primary{border-radius:30px;transition:transform .15s;box-shadow:0 4px #c6ad7228;background:#eed091!important;border:1px solid #d9b86c!important;min-height:52px!important;padding:13px 26px!important;font-size:13px!important;font-weight:700!important}.game-primary:hover{transform:translateY(-2px)}.game-back-link{padding:18px 0 0;font-size:11px;text-decoration:underline;display:block}.game-win-stars{letter-spacing:.3em;color:#b58c39;font-size:26px}.game-overlay-card .game-grownup{font-size:11px}.game-assistance{background:#fffdf6;border:1px solid #d9dece;border-radius:16px;margin-top:6px;padding:18px;font-size:12px}.game-assistance p{margin:0 0 12px}.game-assistance>div{flex-wrap:wrap;gap:8px;display:flex}.game-assistance button{background:#edf0e5;border:1px solid #94a587;border-radius:10px;min-height:48px;padding:8px 14px}.game-welcome{background:radial-gradient(at 50% 48%,#e5ecd8 0%,#f5f3e9 67%);flex-direction:column;min-height:100svh;padding:20px 6vw;display:flex}.game-welcome .game-brand{align-self:flex-start}.game-welcome-copy{text-align:center;margin:auto;padding:35px 0}.game-welcome h1{letter-spacing:-.045em;color:#244d3e;margin:22px 0;font:clamp(42px,7vw,76px)/1.05 Georgia,serif}.game-welcome h1 em{color:#7e8c5c;font-weight:400}.game-welcome-copy>p{color:#67735d;font-size:15px;line-height:1.8}.game-welcome .game-start{min-width:240px;margin-top:15px}.game-start span{margin-left:20px}.game-welcome .game-welcome-note{margin-top:19px;font-size:10px}.game-welcome footer{text-align:center;color:#7a816c;padding:15px;font-size:10px}.game-welcome-teeth{justify-content:center;align-items:center;gap:9px;height:90px;margin:40px 0 0;display:flex}.game-welcome-teeth i{background:linear-gradient(120deg,#fffef2,#e0e8d5);border-radius:20px 22px 15px 17px;width:56px;height:72px;display:block;position:relative;transform:rotate(-8deg);box-shadow:2px 5px #52794718,inset 2px 2px #fff}.game-welcome-teeth i:after{content:"◡";color:#738e71;font:25px Georgia,serif;position:absolute;bottom:16px;left:18px}.game-welcome-teeth i:nth-of-type(2){height:85px;transform:translateY(-8px)}.game-welcome-teeth i:nth-of-type(3){transform:rotate(9deg)}.game-welcome-teeth>span{color:#b69a50;padding:0 13px;font-size:24px}.game-loading{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:18px;min-height:100svh;padding:30px;font-size:16px;display:flex}.game-loader-dot{border:3px solid #d4dec4;border-top-color:#64845a;border-radius:50%;width:30px;height:30px;animation:1s linear infinite game-spin}@keyframes game-spin{to{transform:rotate(360deg)}}@media (min-width:1000px) and (max-height:900px){.game-shell{max-width:1080px;padding-top:8px}.game-mission-heading{padding:16px 0}.game-board{max-width:960px;margin:auto}.game-board canvas{max-height:55svh}.game-command-deck{padding-top:15px}.game-captain p{font-size:11px}}@media (max-width:850px){.game-shell{padding:10px 20px 16px}.game-command-deck{flex-wrap:wrap;gap:14px}.game-captain{flex-basis:100%}.game-team{width:100%}.game-hero{flex:1;min-width:0}.game-mission-heading h1{font-size:27px}.game-progress>span{display:none}.game-progress i{width:13px}.game-captain p{max-width:none;min-height:0}.game-board{border-width:4px}.game-topbar-actions{gap:12px}}@media (max-width:540px){.game-shell{padding:8px 12px 14px}.game-brand{letter-spacing:.1em;gap:8px;font-size:8px}.game-brand-dot{display:none}.game-topbar-actions{gap:10px;font-size:10px}.game-topbar-actions button{font-size:10px}.game-mission-heading{align-items:end;gap:8px;padding:18px 0 15px}.game-mission-heading h1{max-width:230px;font-size:26px}.game-mission-heading h1 em{display:block}.game-eyebrow{font-size:8px}.game-progress>div{gap:3px;margin-bottom:5px}.game-progress i{width:7px;height:18px}.game-board{border-radius:16px}.game-board canvas{aspect-ratio:1;-o-object-fit:fill;object-fit:fill}.game-scene-label{padding:6px 9px;font-size:7px;top:10px;left:10px}.game-command-deck{gap:15px;padding-top:16px}.game-captain{align-items:flex-start;gap:10px}.game-captain>img{width:55px;height:55px}.game-captain h2{font-size:15px}.game-captain p{font-size:11px;line-height:1.6}.game-hero{padding:7px!important}.game-hero img{width:42px;height:50px}.game-hero strong{font-size:12px}.game-hero small{font-size:8px}.game-hero-check{width:15px;height:15px;font-size:9px}.game-bottom{align-items:center;font-size:8px}.game-bottom>div{gap:10px}.game-bottom button{font-size:9px}.game-bottom>span{max-width:100px;line-height:1.6}.game-overlay{padding:12px}.game-overlay-card{border-radius:18px;padding:22px 16px}.game-overlay-card h2{font-size:26px}.game-overlay-card p{margin-bottom:10px;font-size:11px}.game-win-stars{font-size:18px}.game-overlay-card .game-grownup{font-size:10px}.game-back-link{padding-top:12px}}@media (max-height:540px) and (orientation:landscape){.game-shell{max-width:1100px;padding:4px 20px}.game-topbar{padding:0}.game-topbar-actions button,.game-brand{min-height:40px}.game-mission-heading{padding:7px 0}.game-mission-heading h1{margin:3px 0;font-size:20px}.game-board{max-width:650px;margin:auto}.game-board canvas{aspect-ratio:auto;height:48svh}.game-command-deck{flex-wrap:nowrap;gap:12px;padding-top:8px}.game-captain{flex-basis:auto}.game-captain>img{width:42px;height:42px}.game-captain .game-eyebrow{display:none}.game-captain h2{margin:0;font-size:12px}.game-captain p{font-size:10px}.game-team{width:auto}.game-hero{min-width:130px;padding:3px 6px!important}.game-hero img{width:34px;height:40px}.game-bottom>span{display:none}.game-bottom{justify-content:flex-end}.game-bottom button{min-height:40px}.game-overlay-card{padding:16px}.game-overlay-card h2{margin:8px 0;font-size:23px}.game-overlay-card p{margin:6px 0}.game-overlay-card .game-primary{min-height:44px!important;padding:8px 20px!important}.game-back-link{padding-top:8px}.game-win-stars{font-size:16px}}@media (prefers-reduced-motion:reduce){.game-body *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
