:root{color-scheme:dark;--cream:#fff5df;--mint:#9becc9;--red:#ff6d7b;--muted:#adc1d0;--line:#d5e9ee26;font-family:'Avenir Next',Avenir,'Trebuchet MS',Arial,sans-serif;font-synthesis:none}*{box-sizing:border-box}body{margin:0;overflow:hidden;background:#10283f;color:var(--cream)}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation}button:focus-visible{outline:3px solid var(--mint);outline-offset:5px}[hidden]{display:none!important}#game{height:100vh;height:100dvh;min-height:320px;position:relative;overflow:hidden;isolation:isolate}#scene{width:100%;height:100%;display:block;touch-action:none}.vignette{position:absolute;inset:0;pointer-events:none;z-index:1;background:linear-gradient(180deg,#0312264d,transparent 22%,transparent 78%,#06182b36)}header{position:absolute;z-index:3;top:0;left:0;width:100%;display:flex;align-items:center;justify-content:space-between;padding:28px 40px;gap:20px}.brand{display:flex;gap:10px;align-items:center;font-size:26px;font-weight:800;letter-spacing:-1.4px;line-height:.9}.brand svg{fill:none;stroke:var(--cream);stroke-width:3.4;stroke-linejoin:round;width:36px;height:36px}.brand-dot{color:var(--red)}.brand small{display:block;font-size:9px;letter-spacing:5.6px;margin-top:9px;margin-left:2px;font-weight:600}.tools{display:flex;gap:10px}.icon-button{height:44px;width:44px;border:1px solid var(--line);border-radius:50%;background:#122b4666;backdrop-filter:blur(12px);display:grid;place-items:center}.icon-button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round}.icon-button:hover{background:#9becc922}.muted{opacity:.5}.muted:after{content:'';position:absolute;width:24px;height:1px;background:var(--cream);transform:rotate(-45deg)}.home{position:absolute;z-index:2;top:25%;left:8%;width:50%;pointer-events:none}.home:before{content:'';position:absolute;inset:-40% -10% -30% -30%;z-index:-1;background:radial-gradient(ellipse,#112b43cf 0%,#112b4399 35%,transparent 71%)}.eyebrow{font-size:11px;font-weight:700;letter-spacing:2.6px;color:var(--mint);display:flex;align-items:center;gap:9px}.eyebrow>span{color:var(--red);font-size:17px}h1{font-size:clamp(80px,8.8vw,140px);letter-spacing:-5px;line-height:.86;font-weight:900;transform:skew(-5deg);transform-origin:left;margin:26px 0 25px}h1>span{display:block;color:var(--mint)}.dot{color:var(--red)}.home p{font-size:17px;line-height:1.8;letter-spacing:.1px;color:#c1d0d8;margin:26px 0 30px}.home-actions{display:flex;gap:15px;pointer-events:auto}.primary{display:inline-flex;align-items:center;justify-content:center;gap:22px;border:0;border-radius:7px;background:var(--red);color:#272a3f;box-shadow:0 5px 0 #ac3e54,0 10px 35px #ff6d7b22;padding:19px 26px;font-size:14px;letter-spacing:.9px;font-weight:900;transition:transform .15s,background .15s}.primary:hover{background:#ff91a0;transform:translateY(-2px)}.primary:active{transform:translateY(3px);box-shadow:0 2px 0 #ac3e54}.primary svg{width:17px;height:17px;fill:currentColor}.secondary{padding:19px 23px;font-size:14px;font-weight:600;border:1px solid #c6e4ec3b;border-radius:7px;background:#132c4744;backdrop-filter:blur(10px)}.secondary:hover{background:#9becc91a}.features{display:flex;align-items:center;gap:13px;font-size:9px;letter-spacing:1.3px;color:#a4bdcb;margin-top:30px}.features i{width:3px;height:3px;background:var(--red);border-radius:50%}#best-home{font-size:11px;letter-spacing:1px;color:var(--mint);margin-top:24px}.hero-note{position:absolute;z-index:2;top:76%;left:70%;font-size:10px;font-weight:700;letter-spacing:1.5px;text-align:center;color:#d8e2e5}.hero-note small{display:block;font-size:8px;letter-spacing:1.4px;color:#9fb8cb;margin-top:7px}footer{position:absolute;bottom:28px;left:40px;right:40px;display:flex;justify-content:space-between;align-items:center;gap:20px;z-index:2;pointer-events:none}.controls,.desktop-controls{display:flex;align-items:center;gap:7px;font-size:11px;color:#c0cfd8}.controls b{width:3px;height:3px;border-radius:50%;background:#b9cbd2;margin:0 6px}kbd{display:inline-block;min-width:25px;text-align:center;font:11px Arial,sans-serif;padding:7px 6px;border:1px solid #c6dce53b;border-radius:4px;box-shadow:0 2px 0 #c6dce519;color:var(--cream);background:#14304c3b}.location{text-align:right;font-size:9px;font-weight:700;letter-spacing:2px}.location small{display:block;color:#b2c5d2;font-size:7px;letter-spacing:1.4px;margin-top:7px;font-weight:500}.touch-controls{display:none}.hud{display:flex;gap:38px;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:12px;background:#0b223b88;backdrop-filter:blur(12px);padding:12px 28px}.stat>span{display:block;font-size:8px;color:#adc2d0;font-weight:600;letter-spacing:1.8px;margin-bottom:8px}.stat strong{font-size:22px;font-variant-numeric:tabular-nums;line-height:20px;letter-spacing:1px}.score-stat strong{color:var(--mint)}#hearts{display:flex;gap:6px;height:20px;align-items:center}.heart{width:18px;height:18px;background:var(--red);clip-path:polygon(50% 100%,0 50%,0 15%,25% 0,50% 20%,75% 0,100% 15%,100% 50%)}.heart.empty{background:#496071}.announcement{position:absolute;left:50%;top:23%;transform:translate(-50%,-10px);z-index:3;text-align:center;font-size:24px;font-weight:900;color:var(--mint);letter-spacing:1.6px;opacity:0;transition:opacity .2s,transform .2s;pointer-events:none;width:92%;text-shadow:0 4px 15px #0c2035}.announcement.show{opacity:1;transform:translate(-50%,0)}.announcement small{display:block;color:var(--cream);font-size:11px;font-weight:500;letter-spacing:1.3px;margin-top:9px}.overlay{position:absolute;inset:0;z-index:10;background:#071629bb;backdrop-filter:blur(12px);display:grid;place-items:center;padding:20px;overflow:auto}.dialog{background:linear-gradient(140deg,#203f54f5,#10283ff5);width:min(510px,100%);border:1px solid var(--line);border-radius:20px;padding:32px 36px;text-align:center;box-shadow:0 20px 100px #020c1d55}#dialog-icon{font-size:36px;color:var(--red);font-weight:900;margin-bottom:20px}.dialog .eyebrow{justify-content:center;font-size:9px;letter-spacing:2px}.dialog h2{font-size:36px;letter-spacing:-1.3px;line-height:1.08;margin:17px 0}.dialog>p{color:#bbced6;font-size:15px;line-height:1.7;margin:0 0 22px}.dialog .primary{width:100%;margin-top:12px}.text-button{border:0;background:none;color:#bbced6;font-size:13px;margin-top:22px}#instructions{margin:25px 0;text-align:left}#instructions>div{display:flex;gap:16px;margin:18px 0;align-items:flex-start}#instructions>div>span{color:var(--mint);font-size:23px;width:26px;flex-shrink:0}#instructions p{font-size:13px;line-height:1.6;color:#bbced6;margin:0}#instructions strong{display:block;color:var(--cream);font-size:14px;margin-bottom:3px}#results{display:flex;justify-content:space-around;padding:22px 0;border-block:1px solid var(--line);margin:25px 0}#results span{display:block;font-size:9px;color:#acc3d0;letter-spacing:1px}#results strong{display:block;color:var(--mint);font-size:28px;margin-top:8px}@media(pointer:coarse){.desktop-controls{display:none}.touch-controls{display:block}}@media(max-width:1000px){header{padding:24px}.home{left:6%;top:24%;width:61%}.home h1{font-size:92px}.hero-note{left:72%;font-size:8px}.hero-note small{font-size:7px}.hud{gap:24px}.location{display:none}footer{left:24px;right:24px}}@media(max-width:600px){header{padding:20px}.brand{font-size:22px;gap:6px}.brand svg{width:28px;height:28px}.brand small{font-size:7px;letter-spacing:4.8px;margin-top:7px}.tools{gap:7px}.icon-button{width:38px;height:38px}.home{top:18%;left:7%;width:86%}.home h1{font-size:77px;letter-spacing:-4px;margin:20px 0}.eyebrow{font-size:8px;letter-spacing:1.9px}.eyebrow>span{font-size:13px}.home p{font-size:14px;line-height:1.6;margin:21px 0 24px}.home-actions{gap:12px}.primary{padding:16px 21px;font-size:11px;gap:16px}.secondary{padding:16px 20px;font-size:11px}.features{font-size:7px;gap:9px;letter-spacing:.8px;margin-top:24px}#best-home{font-size:10px;margin-top:17px}.hero-note{top:auto;bottom:15%;left:auto;right:6%;font-size:7px}.hero-note small{font-size:6px}.controls{font-size:9px;gap:4px}footer{bottom:max(22px,env(safe-area-inset-bottom));left:20px;right:20px}.hud{position:absolute;top:82px;left:20px;right:20px;justify-content:space-around;padding:12px 15px;gap:10px}.stat>span{font-size:7px;letter-spacing:1px;margin-bottom:6px}.stat strong{font-size:20px}.heart{width:16px;height:16px}.announcement{top:26%;font-size:19px}.dialog{padding:27px 25px}.dialog h2{font-size:30px}#instructions p{font-size:12px}#instructions strong{font-size:13px}.playing .controls{width:100%;justify-content:center}.playing .controls>span:last-child{display:none}.playing .controls>b{display:none}}@media(max-height:550px) and (min-width:601px){header{padding:15px 24px}.brand{font-size:22px}.home{top:22%;left:7%}.home h1{font-size:64px;margin:14px 0}.eyebrow{font-size:8px}.home p{font-size:12px;line-height:1.5;margin:14px 0}.home-actions button{padding:12px 20px;font-size:11px}.features{font-size:7px;margin-top:17px}#best-home{display:none}footer{bottom:16px}.hud{padding:8px 20px}.stat>span{margin-bottom:5px}.stat strong{font-size:18px}.hero-note{top:78%}.dialog{padding:20px;max-width:600px}#dialog-icon{display:none}.dialog h2{font-size:28px}.dialog>p{margin-bottom:10px}#instructions{display:grid;grid-template-columns:1fr 1fr;gap:0 20px;margin:10px 0}#instructions>div{margin:8px 0}#instructions p{font-size:11px}#instructions strong{font-size:12px}.dialog .primary{padding:12px}.text-button{margin-top:14px}}@media(prefers-reduced-motion:reduce){button,.announcement{transition:none}}

/* Keep the controls readable against the snowbank. */
.controls,.desktop-controls{color:#29465b}kbd{background:#244a6018;color:#213b50;border-color:#294e6645;box-shadow:0 2px 0 #294e661a}.controls b{background:#446179}.location{color:#26465a}.location small{color:#456376}.hero-note{top:86%}.features{color:#c2d5de}@media(max-width:600px){.hero-note{display:none}}
