:root{font-family:Arial,Helvetica,sans-serif;color:#26342c;background:#e7e8e1;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible,canvas:focus-visible,textarea:focus-visible{outline:3px solid #857340;outline-offset:4px}button:disabled{opacity:.55;cursor:wait}[hidden]{display:none!important}#app{width:min(100%,480px);margin:auto;background:#f4f1e9;min-height:100svh;display:flex;flex-direction:column;padding:env(safe-area-inset-top) 28px env(safe-area-inset-bottom);overflow:hidden}header{height:90px;display:flex;align-items:center;gap:13px;flex-shrink:0}#logo{width:75px;height:31px}.game-name{font-size:11px;letter-spacing:.22em;border-left:1px solid #c9cdc2;padding-left:14px}.quiet{background:transparent;border:0;color:#3e493e;min-height:44px;padding:10px;font-size:12px}#mute{margin-left:auto;padding-right:0}.screen{flex:1}.eyebrow{font-size:10px;letter-spacing:.16em;font-weight:600;line-height:1.5}h1{font-size:49px;line-height:1.03;letter-spacing:-2.6px;font-weight:400;margin:18px 0}h2{font-size:27px;font-weight:400;line-height:1.15;letter-spacing:-.7px;margin:12px 0}.welcome{position:relative}.welcome .eyebrow{margin-top:15px}.hero{height:235px;position:relative;margin-top:-5px}.hero canvas{position:absolute;height:260px;width:166px;left:calc(50% - 70px);top:-9px;transform:rotate(14deg);z-index:1}.orbit{position:absolute;border:1px solid #d5d8cc;border-radius:50%;width:195px;height:195px;left:calc(50% - 97px);top:12px}.orbit.two{width:153px;height:153px;left:calc(50% - 76px);top:33px}.hero-note{position:absolute;left:0;bottom:24px;font-size:11px;transform:rotate(-90deg);transform-origin:left top;color:#6a7263}.intro{font-size:14px;line-height:1.6;margin:12px 0 22px;color:#5c6559}.primary,.secondary{width:100%;min-height:54px;border-radius:4px;padding:15px 20px;font-size:15px;text-align:center}.primary{background:#364b3c;color:#fff;border:1px solid #364b3c;display:flex;justify-content:center;gap:14px;align-items:center}.primary:hover{background:#293d30}.secondary{background:transparent;border:1px solid #b8c1b3;margin-top:10px;color:#344638}.small{font-size:10px;line-height:1.5;color:#626c5e}.welcome>.small{text-align:center;margin:12px 0}footer{display:flex;justify-content:space-between;gap:15px;font-size:10px;padding:24px 0 20px;color:#66705f;flex-shrink:0}.footer-note{color:#70796b}.hud{display:flex;align-items:center;justify-content:space-between;height:65px}.hud strong{display:block;font-size:29px;font-weight:400;font-variant-numeric:tabular-nums}.hud .eyebrow{font-size:9px}.time{text-align:right}#streak{font-size:11px;color:#6b755e}#streak.bonus{color:#3b592e;font-weight:bold}.time-track{height:2px;background:#dedfd4;margin-top:8px}#time-bar{height:2px;background:#637450;width:100%}#game{display:flex;flex-direction:column;touch-action:none;user-select:none;-webkit-user-select:none}#arena{position:relative;flex:1;min-height:300px}#field{width:100%;height:100%;display:block;touch-action:none;outline-offset:-3px}.overlay{position:absolute;top:18px;left:0;width:100%;text-align:center;z-index:2}.overlay p:not(.eyebrow):not(.small){font-size:12px;color:#69715e;line-height:1.6}.overlay .primary{width:190px;margin:16px auto 6px}.overlay .small{font-size:9px}.pause{top:0;height:100%;background:#f4f1e9f2;display:flex;flex-direction:column;align-items:center;justify-content:center}.controls{height:70px;border-top:1px solid #d9ddd0;display:flex;align-items:center;justify-content:space-between;touch-action:none}.controls>span{font-size:10px;letter-spacing:.15em;color:#6a765f}.results{text-align:center;padding-top:25px}.results h1{font-size:42px}.score-disc{border:1px solid #cbd2c1;border-radius:50%;width:190px;height:190px;margin:30px auto 22px;display:flex;flex-direction:column;justify-content:center}.score-disc strong{font-size:66px;letter-spacing:-3px;font-weight:400}.score-disc span{font-size:9px;letter-spacing:.22em}.result-detail{font-size:12px;color:#68715f;line-height:1.7}.result-detail strong{color:#364b3c}.result-detail span{padding:0 9px}.record{font-size:12px;min-height:16px;margin-bottom:28px;color:#637450}.discover{display:flex;color:#344638;justify-content:center;gap:14px;padding:23px;text-decoration:none;font-size:13px}.discover:hover{text-decoration:underline}textarea{width:100%;font:12px Arial;resize:none;border:1px solid #b8c1b3;background:#faf8f2;padding:10px;border-radius:4px;color:#344638;margin-top:8px}#share-fallback{margin-top:18px}body.playing{overflow:hidden;overscroll-behavior:none}body.playing #app{height:100dvh;min-height:0}body.playing header{height:70px}body.playing footer{display:none}@media(min-width:600px){body{padding:24px}#app{min-height:min(820px,calc(100svh - 48px));border-radius:18px;box-shadow:0 18px 70px #39463212;padding-left:36px;padding-right:36px}body.playing #app{height:calc(100dvh - 48px);max-height:860px}.hero{height:255px}}@media(max-height:720px){header{height:65px}h1{font-size:43px}.welcome .eyebrow{margin-top:5px}.hero{height:180px}.hero canvas{height:205px;width:131px;left:calc(50% - 55px)}.orbit{height:160px;width:160px;left:calc(50% - 80px)}.orbit.two{height:120px;width:120px;left:calc(50% - 60px)}.intro{margin:8px 0 16px}footer{padding:15px 0}.results{padding-top:5px}.score-disc{width:140px;height:140px;margin:18px auto}.score-disc strong{font-size:52px}.record{margin-bottom:18px}.overlay{top:5px}.overlay h2{font-size:23px}#arena{min-height:240px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}

#field{position:absolute;inset:0}#game{min-height:0}

/* Reward copy and results only; gameplay layout is unchanged. */
.welcome h1{font-size:38px;line-height:1.08;letter-spacing:-1.8px}.reward{margin:16px 0}.reward img{display:block;width:150px;height:auto;margin:0 auto 16px;border-radius:8px}.reward>p:not(.small){font-size:16px;line-height:1.4}.reward .primary{text-decoration:none}.reward .small{max-width:320px;margin:12px auto}.results .score-disc{width:130px;height:130px;margin:20px auto 16px}.results .score-disc strong{font-size:48px}.results .record{margin-bottom:14px}#demo .small{max-width:310px;margin:8px auto;line-height:1.6}#demo .small strong{display:inline-block;margin-top:5px;color:#364b3c}
#share.secondary{border:2px solid #364b3c;font-weight:600}
/* Draw arrows rather than relying on platform-dependent emoji glyphs. */
.arrow{display:inline-block;position:relative;width:16px;height:16px;flex:none;color:inherit;vertical-align:middle}
.arrow::before{content:"";position:absolute;left:1px;top:7px;width:13px;border-top:1.5px solid currentColor}
.arrow::after{content:"";position:absolute;right:2px;top:4px;width:6px;height:6px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;transform:rotate(45deg)}
.arrow-up{transform:rotate(-45deg)}.arrow-left{transform:rotate(180deg)}
#again{display:flex;align-items:center;justify-content:center;gap:10px}.discover{align-items:center}.drag-hint{display:flex;align-items:center;gap:12px}
#play:not(:disabled)::after{content:"";display:block;width:12px;height:12px;background:currentColor;clip-path:polygon(0 0,100% 0,100% 100%,86% 100%,86% 24%,10% 100%,0 90%,76% 14%,0 14%)}
#demo .small{font-size:11px;line-height:1.5;max-width:340px}

#streak.penalty{color:#a1533c;font-weight:600}.hazard-rule{display:flex;align-items:center;justify-content:center;gap:8px;text-align:left;font-size:11px;line-height:1.4}.hazard-icon{width:34px;height:34px;flex:none}#demo{max-height:100%;overflow:auto;background:#f4f1e9f5;padding-bottom:8px}#demo .primary{margin-top:12px}

.hazard-icon{width:8px;height:55px;margin:0 10px}.hazard-rule{min-height:55px}
.hazard-icon{filter:drop-shadow(0 0 1px #554d4260)}

/* Keep the instruction demo compact; the animation uses the space below it. */
#demo{top:4px;padding-bottom:0;background:transparent}#demo h2{margin:8px 0 10px}#demo p{margin:7px auto}#demo .small{margin:6px auto}#demo .small strong{margin-top:0}#demo .primary{margin:10px auto 0}#demo .hazard-rule{min-height:42px}#demo .hazard-icon{height:42px;width:6px}

/* Homepage composition only — original game assets and controls retained. */
#welcome{isolation:isolate}#welcome .eyebrow{position:relative;z-index:3;margin-top:8px}#welcome h1{position:relative;z-index:3;font-size:38px;line-height:1.08;letter-spacing:-1.8px;width:88%;margin:17px 0 0;pointer-events:none}#welcome .head-shower{position:absolute;inset:0;pointer-events:none;z-index:0;overflow:hidden}#welcome .falling-head{position:absolute;width:17px;height:auto;overflow:visible;filter:drop-shadow(3px 8px 5px #76604220)}#welcome .head-a{right:14px;top:14px;width:22px;transform:rotate(18deg)}#welcome .head-b{right:2px;top:125px;width:18px;transform:rotate(-16deg);filter:blur(.6px)}#welcome .head-c{right:73px;top:-23px;width:14px;transform:rotate(-18deg);opacity:.65}#welcome .hero{height:285px;margin-top:0;position:relative}#welcome .hero::before{content:'';position:absolute;inset:0 -28px -15px;background:radial-gradient(ellipse at 70% 78%,#ded5bf65,transparent 62%);z-index:-1}#welcome .catch-visual{position:absolute;inset:0;pointer-events:none}#welcome .hero canvas{width:192px;height:300px;left:calc(48% - 96px);top:-5px;transform:rotate(24deg);z-index:2}#welcome .orbit{width:120px;height:120px;left:calc(61% - 60px);top:21px;border-color:#b8c1a5;z-index:0}#welcome .orbit.two{width:90px;height:90px;left:calc(61% - 45px);top:36px}#welcome .catch-points{position:absolute;left:calc(61% - 14px);top:0;color:#476347;font-size:20px;font-style:italic;z-index:3}#welcome .head-d{right:15px;top:12px;width:17px;transform:rotate(23deg)}#welcome .head-e{left:10px;top:227px;width:12px;transform:rotate(-22deg);opacity:.35;filter:blur(1px)}#welcome .hero-prize{position:absolute;width:160px;height:auto;right:-13px;bottom:15px;transform:rotate(-9deg);mix-blend-mode:multiply;z-index:3}#welcome .concept-list{position:absolute;left:0;top:51px;list-style:none;margin:0;padding:0;display:grid;gap:15px;z-index:4}#welcome .concept-list li{display:flex;align-items:center;gap:10px;font-size:12px;line-height:1.25}#welcome .concept-list svg{width:23px;height:23px;flex:none}#welcome #play{position:relative;z-index:5}#welcome>.small{font-size:10px;margin:12px -5px}#welcome .falling-head::before{content:none}
@media(max-height:720px){#welcome h1{font-size:34px}#welcome .hero{height:245px}#welcome .hero canvas{height:260px;width:166px;left:calc(48% - 83px);top:-9px}#welcome .concept-list{top:42px;gap:12px}#welcome .hero-prize{width:145px;bottom:5px}#welcome .head-e{top:200px}}
@media(max-width:360px){#welcome h1{font-size:33px}#welcome .concept-list li{font-size:11px;gap:6px}#welcome .hero-prize{width:135px}}
#welcome{isolation:auto}#welcome .hero::before{z-index:0}#welcome .catch-visual{z-index:1}#welcome .head-shower{z-index:1}
@media(min-height:721px){#welcome .hero{height:clamp(285px,calc(100svh - 480px),375px)}#welcome .hero canvas{height:calc(100% + 15px);width:auto;aspect-ratio:300/470;left:48%;transform:translateX(-50%) rotate(24deg)}#welcome .hero-prize{width:175px;bottom:24px}#welcome .concept-list{top:68px;gap:18px}}
