.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.mini-game-stage:focus{outline:none}.mini-game-stage:focus-visible{outline:2px solid #9f7c50;outline-offset:4px}html[data-theme="dark"] .mini-game-stage:focus-visible{outline-color:#d0ab78}
.play-hub-copy{text-align:center;max-width:650px;margin:0 auto 32px}.play-hub-copy p{color:var(--muted);font-size:17px;margin:0 auto}.play-hub-copy h2{font-size:clamp(38px,5vw,54px);margin:0 0 12px}
.mini-games{max-width:900px;margin:0 auto}.game-picker{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.game-choice{min-width:0;border:1px solid var(--line);border-radius:20px;background:rgba(255,250,244,.78);padding:14px 9px 12px;color:var(--ink);font:inherit;font-weight:750;font-size:12px;line-height:1.25;cursor:pointer;touch-action:manipulation;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}.game-choice img{display:block;width:64px;height:64px;object-fit:contain;margin:0 auto 8px;filter:drop-shadow(0 7px 12px rgba(70,55,42,.08));transition:transform .18s ease}.game-choice span{display:block}.game-choice:active{transform:scale(.98)}
.mini-game-stage{position:relative;max-width:760px;min-height:390px;margin:0 auto;padding:22px;border:1px solid #d8c8b4;border-radius:26px;background:linear-gradient(180deg,rgba(255,251,244,.97),rgba(248,240,229,.95));box-shadow:inset 0 0 0 4px rgba(255,255,255,.3),0 18px 46px rgba(70,55,42,.07)}.mini-game-stage[hidden],.game-picker[hidden]{display:none!important}.mini-game-head{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;margin-bottom:18px}.mini-game-back,.mini-game-action{border:0;background:transparent;color:var(--ink);font:inherit;font-weight:750;cursor:pointer;min-height:44px;padding:8px 6px;touch-action:manipulation}.mini-game-back{justify-self:start}.mini-game-action{justify-self:end}.mini-game-title{margin:0;text-align:center;font-family:Georgia,"Times New Roman",serif;font-size:clamp(24px,4vw,34px);line-height:1.05}.mini-game-desc{text-align:center;color:var(--muted);margin:-4px auto 18px;max-width:560px;font-size:14px}.mini-game-status{display:block;text-align:center;color:var(--muted);font-size:13px;min-height:21px;margin-top:14px}.mini-game-center{text-align:center}
html[data-theme="dark"] .game-choice,html[data-theme="dark"] .mini-game-stage{background:rgba(43,37,33,.92);border-color:#594c43;box-shadow:inset 0 0 0 1px rgba(255,247,236,.035),0 18px 46px rgba(0,0,0,.14)}html[data-theme="dark"] .game-choice img{filter:drop-shadow(0 7px 12px rgba(0,0,0,.2))}
.firefly-field,.lantern-game-field{position:relative;height:260px;border:1px solid var(--line);border-radius:20px;overflow:hidden;background:radial-gradient(circle at 50% 45%,rgba(213,167,94,.09),transparent 34%),linear-gradient(180deg,rgba(101,112,94,.08),rgba(111,90,73,.035))}.mini-firefly{position:absolute;width:48px;height:48px;border:0;background:transparent;padding:0;cursor:pointer;touch-action:manipulation;transform:translate(-50%,-50%)}.mini-firefly span{position:absolute;left:21px;top:21px;width:6px;height:6px;border-radius:50%;background:#aa7f45;box-shadow:0 0 6px #e7c37f,0 0 16px rgba(214,170,98,.78);transition:opacity .2s ease,transform .2s ease}.mini-firefly:focus-visible{outline:2px solid #d0ab78;outline-offset:2px;animation-play-state:paused}.mini-firefly.caught{pointer-events:none}.mini-firefly.caught span{opacity:0;transform:scale(.2)}.catch-field .mini-firefly:not(.caught){animation:miniFireflyRoam var(--dur,7s) ease-in-out var(--delay,0s) infinite}.catch-field .mini-firefly:not(.caught) span{animation:miniFireflyGlow 2.8s ease-in-out var(--delay,0s) infinite}.count-field .count-dot{position:absolute;width:7px;height:7px;border-radius:50%;background:#aa7f45;box-shadow:0 0 7px #e7c37f,0 0 17px rgba(214,170,98,.78);transform:translate(-50%,-50%)}@keyframes miniFireflyRoam{0%,100%{translate:0 0}28%{translate:var(--x1,8px) var(--y1,-7px)}56%{translate:var(--x2,-7px) var(--y2,6px)}78%{translate:var(--x3,5px) var(--y3,9px)}}@keyframes miniFireflyGlow{0%,100%{opacity:.62}48%{opacity:1}76%{opacity:.78}}
.count-answers{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:14px}.count-answer{width:48px;height:44px;border:1px solid var(--line);border-radius:14px;background:var(--paper);color:var(--ink);font:inherit;font-weight:800;cursor:pointer}.count-answer:disabled{opacity:.5}.count-answer.correct{border-color:#809173;background:rgba(128,145,115,.12);color:var(--ink);opacity:1!important;box-shadow:0 0 0 2px rgba(128,145,115,.1)}.count-answer.wrong{border-color:#b49778;background:rgba(180,151,120,.08);opacity:1!important}.count-field.is-hidden .count-dot{opacity:0}
.lantern-game-field .mini-firefly{z-index:4;touch-action:none;cursor:grab;transition:left .22s ease,top .22s ease}.lantern-game-field .mini-firefly.dragging{z-index:6;cursor:grabbing;transition:none}.lantern-game-field .mini-firefly.settled{z-index:3;cursor:default}.lantern-game-field .mini-firefly.settled span{box-shadow:0 0 8px #efd39a,0 0 20px rgba(222,177,97,.9)}.lantern-game-lamp{position:absolute;left:50%;top:50%;width:138px;height:138px;transform:translate(-50%,-50%);display:grid;place-items:center;pointer-events:none}.lantern-game-lamp::after{content:"";position:absolute;inset:3px;border:1px dashed rgba(189,148,93,.38);border-radius:50%;opacity:0;transform:scale(.92);transition:opacity .18s ease,transform .18s ease}.lantern-game-field.drag-active .lantern-game-lamp::after{opacity:1;transform:scale(1)}.lantern-game-lamp img{position:relative;z-index:2;width:122px;height:122px;object-fit:contain;filter:none;transition:filter .28s ease}.lantern-game-glow{position:absolute;z-index:1;width:108px;height:108px;border-radius:50%;background:radial-gradient(circle,rgba(239,197,119,.82),rgba(213,167,94,.22) 45%,transparent 72%);opacity:0;transform:scale(.85);transition:opacity .28s ease,transform .28s ease}.lantern-game-field.complete .lantern-game-glow{opacity:.88!important;transform:scale(1.15)!important;box-shadow:0 0 38px rgba(213,167,94,.3)}.lantern-game-field.complete .lantern-game-lamp img{filter:drop-shadow(0 0 10px rgba(213,167,94,.32))}
.follow-board{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;max-width:520px;margin:0 auto}.follow-board[data-count="4"]{grid-template-columns:repeat(4,1fr);max-width:640px}.follow-board[data-count="5"]{grid-template-columns:repeat(5,1fr);max-width:720px}.follow-board.shuffling{pointer-events:none}.follow-board.shuffling .moth-cover{cursor:default}.moth-cover{position:relative;min-height:160px;border:1px solid var(--line);border-radius:20px;background:rgba(101,112,94,.055);cursor:pointer;overflow:hidden;touch-action:manipulation}.moth-cover>img.cover-plant{position:absolute;width:88px;height:88px;object-fit:contain;left:50%;bottom:18px;transform:translateX(-50%);z-index:2}.moth-cover>img.peek-moth{position:absolute;width:96px;height:96px;object-fit:contain;left:50%;top:8px;transform:translateX(-50%) scale(.76);opacity:0;transition:opacity .2s ease,transform .2s ease}.moth-cover.peek>img.peek-moth{opacity:.96;transform:translateX(-50%) scale(1)}.moth-cover.correct{border-color:#809173;box-shadow:0 0 0 3px rgba(128,145,115,.13)}.moth-cover.wrong{border-color:#b49778}.follow-controls,.forage-controls{display:flex;justify-content:center;margin-top:14px}
.forage-grid{display:grid;grid-template-columns:repeat(var(--forage-cols,3),1fr);gap:10px;max-width:620px;margin:0 auto}.forage-patch{position:relative;aspect-ratio:1.3;border:1px solid var(--line);border-radius:18px;background:rgba(101,112,94,.055);overflow:hidden;cursor:pointer;touch-action:manipulation}.forage-patch .forage-cover,.forage-patch .forage-find{position:absolute;inset:50% auto auto 50%;width:68%;height:68%;object-fit:contain;transform:translate(-50%,-50%);transition:opacity .2s ease,transform .2s ease}.forage-patch .forage-find{width:62%;height:62%;opacity:0;transform:translate(-50%,-50%) scale(.72)}.forage-patch.found .forage-cover{opacity:.18}.forage-patch.found .forage-find{opacity:1;transform:translate(-50%,-50%) scale(1)}.forage-patch.empty .forage-cover{opacity:.45;transform:translate(-50%,-50%) scale(.94)}.forage-patch:disabled{cursor:default}
.mini-game-stage .game-wrap{padding:18px}.mini-game-stage .game-grid{max-width:520px;margin:0 auto}.mini-game-stage .game-meta{max-width:520px;margin:16px auto 0;justify-content:center;text-align:center}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){.game-choice:hover{transform:translateY(-3px);border-color:#c7ad88;box-shadow:0 10px 22px rgba(70,55,42,.08)}.game-choice:hover img{transform:translateY(-2px) rotate(-2deg)}.mini-game-back:hover,.mini-game-action:hover{text-decoration:underline;text-underline-offset:4px}.count-answer:not(:disabled):hover,.moth-cover:not(:disabled):hover,.forage-patch:not(:disabled):hover{border-color:#c7ad88}}
@media(max-width:780px){.play-hub-copy{margin-bottom:26px}.game-picker{grid-template-columns:repeat(3,1fr);gap:10px}.game-choice{padding:12px 7px 10px}.game-choice img{width:58px;height:58px}.mini-game-stage{padding:16px;min-height:370px}.mini-game-head{grid-template-columns:auto 1fr}.mini-game-action{grid-column:1/-1;justify-self:center;margin-top:-6px}.firefly-field,.lantern-game-field{height:245px}.follow-board{gap:8px}.moth-cover{min-height:145px}}
@media(max-width:480px){.forage-grid[data-patches="12"]{grid-template-columns:repeat(3,1fr)!important}.follow-board[data-count="4"] .moth-cover>img.cover-plant{max-width:82%;max-height:82%}.follow-board[data-count="4"] .moth-cover>img.peek-moth{max-width:88%;max-height:88%}.follow-board[data-count="5"] .moth-cover>img.cover-plant{max-width:78%;max-height:78%}.follow-board[data-count="5"] .moth-cover>img.peek-moth{max-width:84%;max-height:84%}.follow-board[data-count="4"] .moth-cover{min-height:118px}.follow-board[data-count="5"] .moth-cover{min-height:108px}.follow-board[data-count="4"] .moth-cover>img.cover-plant{width:60px;height:60px}.follow-board[data-count="4"] .moth-cover>img.peek-moth{width:70px;height:70px;top:10px}.follow-board[data-count="5"] .moth-cover>img.cover-plant{width:48px;height:48px;bottom:14px}.follow-board[data-count="5"] .moth-cover>img.peek-moth{width:58px;height:58px;top:12px}.game-picker{grid-template-columns:repeat(3,1fr);gap:8px}.game-choice{border-radius:17px;font-size:12px;padding:10px 5px 9px;min-height:92px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start}.game-choice img{width:50px;height:50px;margin-bottom:6px;flex:0 0 auto}.game-choice span{min-height:30px;display:flex;align-items:center;justify-content:center}.mini-game-stage{padding:13px;border-radius:22px}.mini-game-head{grid-template-columns:1fr 1fr;gap:2px 10px;margin-bottom:14px}.mini-game-back{grid-column:1;grid-row:1;justify-self:start}.mini-game-action{grid-column:2;grid-row:1;justify-self:end}.mini-game-title{grid-column:1/-1;grid-row:2;font-size:24px;margin-top:3px}.firefly-field,.lantern-game-field{height:230px}.moth-cover{min-height:128px}.moth-cover>img.cover-plant{width:70px;height:70px}.moth-cover>img.peek-moth{width:88px;height:88px;top:9px}.forage-grid{gap:7px}.forage-patch{border-radius:15px}}
@media(max-width:360px){.follow-board[data-count="4"] .moth-cover>img.cover-plant{width:52px;height:52px}.follow-board[data-count="4"] .moth-cover>img.peek-moth{width:60px;height:60px}.follow-board[data-count="5"] .moth-cover>img.cover-plant{width:40px;height:40px}.follow-board[data-count="5"] .moth-cover>img.peek-moth{width:46px;height:46px}}
@media(prefers-reduced-motion:reduce){.game-choice,.game-choice img,.mini-firefly,.mini-firefly span,.lantern-game-glow,.lantern-game-lamp::after,.moth-cover>img.peek-moth,.forage-patch .forage-cover,.forage-patch .forage-find{transition:none!important;animation:none!important}.catch-field .mini-firefly{translate:0 0!important}}
