.game-page--puffbao .game-hero{padding-bottom:46px}.interactive-hero{overflow:visible;background:radial-gradient(ellipse at 50% 30%,#fff5c8,#ffe09a);box-shadow:none;transform:rotate(2deg)}.bao-touch{appearance:none;display:block;border:0;background:transparent;padding:0;touch-action:manipulation;position:relative;width:100%;color:inherit}.interactive-hero .bao-touch{height:100%;display:grid;place-items:center}.bao-touch img{transition:transform .28s cubic-bezier(.2,.9,.3,1.5);transform-origin:center 85%;user-select:none;-webkit-user-drag:none;pointer-events:none}.bao-touch:hover img{transform:translateY(-5px) rotate(-2deg)}.bao-touch.is-squished img,.bao-touch:active img{transform:scale(1.14,.79) rotate(2deg)}.interactive-hero figcaption{left:50%;bottom:12px;transform:translateX(-50%) rotate(-2deg);white-space:nowrap}.hero-bubble{position:absolute;right:-10px;top:22px;z-index:2;padding:12px 20px;border-radius:20px 20px 20px 0;background:var(--ink);color:#fff8e9;font-weight:750;transform:rotate(7deg)}.touch-pop{position:absolute;top:35%;left:50%;pointer-events:none;opacity:0;transform:translate(-50%,20px) rotate(-8deg);font-weight:900;font-size:2.2rem;color:#fff;text-shadow:0 2px 0 #b91c73;transition:opacity .15s,transform .3s}.is-touched .touch-pop{opacity:1;transform:translate(-50%,-20px) rotate(-8deg)}
.halloween-section{background:#2e1c48;color:#fff4df;border-radius:34px;padding:44px;margin:10px 0 70px;scroll-margin-top:25px;overflow:hidden}.season-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;margin-bottom:32px}.season-heading .eyebrow{color:#ffca8f;margin-bottom:15px}.season-heading h2{font-size:clamp(2.5rem,5vw,4.3rem);letter-spacing:-.055em}.season-heading>p{max-width:360px;color:#e0cfe9;font-size:1rem;line-height:1.7}.halloween-layout{display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:center}.resident-stage{position:relative;display:flex;flex-direction:column;justify-content:flex-end;aspect-ratio:4/5;background:#503378 url('../assets/opening-garden-v1.webp') center/cover;border-radius:24px;overflow:hidden}.resident-stage:after{content:'';position:absolute;inset:55% 0 0;background:linear-gradient(transparent,rgba(25,13,40,.95));pointer-events:none}.seasonal-touch{position:absolute;z-index:1;inset:auto 10% 12%;width:80%}.seasonal-touch img{width:100%;aspect-ratio:1;object-fit:contain;filter:drop-shadow(0 16px 12px #26142c88)}.resident-stage figcaption{position:relative;z-index:2;padding:24px;text-align:center;pointer-events:none}.resident-stage h3{font-size:1.65rem;color:#ffdfad}.resident-stage figcaption p{font-size:.8rem;color:#f8e8f2;margin-top:6px}.season-sticker{position:absolute;top:20px;left:20px;padding:12px 16px;border-radius:50%;background:#ffcc85;color:#362341;text-align:center;font-size:.75rem;line-height:1.25;font-weight:850;transform:rotate(-12deg);z-index:2}.resident-stage .touch-pop{z-index:3}.season-date{display:inline-block;padding:7px 12px;border:1px solid #9d75b6;border-radius:99px;font-size:.7rem;font-weight:750;color:#ffd59b}.season-copy>h3{font-size:clamp(2rem,3.5vw,3rem);margin:20px 0;letter-spacing:-.04em}.season-copy>p{font-size:.88rem;color:#e0cfe9;line-height:1.75;margin-top:14px}.season-copy .resident-hint{font-size:.75rem;color:#ffcf91;margin-top:22px}.resident-picker{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0 22px}.resident-choice{border:1px solid #76518f;border-radius:14px;background:#ffffff09;color:#fceee1;padding:7px 4px;transition:background .2s,border-color .2s,transform .2s}.resident-choice:hover{transform:translateY(-3px);background:#ffffff15}.resident-choice[aria-pressed=true]{border-color:#ffbf79;background:#8a526f66}.resident-choice img{width:65px;height:65px;object-fit:contain;margin:auto}.resident-choice span{display:block;font-size:.59rem;line-height:1.3;font-weight:700;padding:4px 0}.season-link{display:inline-flex;align-items:center;gap:16px;color:#ffd196;font-size:.88rem;font-weight:750;text-decoration:underline;text-underline-offset:5px}.halloween-section :focus-visible{outline-color:#ffcf91}
.memory-section{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:60px;margin-bottom:70px;padding:0 20px}.memory-copy .eyebrow{color:var(--action);margin-bottom:14px}.memory-copy h2{font-size:clamp(2rem,3.7vw,3.2rem)}.memory-copy>p{color:var(--muted);font-size:.9rem;line-height:1.8;margin-top:16px;max-width:390px}.memory-copy .demo-note{font-size:.73rem}.memory-score{font-weight:800;color:var(--action);margin:22px 0 14px;font-size:.88rem}.memory-board{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;max-width:480px;width:100%;justify-self:center}.memory-card{aspect-ratio:4/5;display:grid;place-items:center;border:2px solid #ffe3af;border-radius:18px;background:linear-gradient(145deg,#50346f,#332248);color:#ffcf91;position:relative;overflow:hidden;transition:transform .2s,background .2s}@media(hover:hover) and (pointer:fine){.memory-card:hover{transform:translateY(-3px)}}.memory-card img{position:absolute;inset:8%;width:84%;height:84%;object-fit:contain;visibility:hidden}.memory-card .card-back{font-size:2.4rem;font-weight:850}.memory-card.is-open,.memory-card.is-matched{background:#ffedcf;border-color:#d4ad6e}.memory-card.is-open img,.memory-card.is-matched img{visibility:visible}.memory-card.is-open .card-back,.memory-card.is-matched .card-back{visibility:hidden}.memory-card.is-matched{border-color:#6c9566;background:#eaf0dc}.collection-hint{font-size:.8rem;color:var(--action);margin-bottom:15px}.game-character .bao-touch{width:92px}.game-fact .fact-number{font-size:2.1rem}.game-character .bao-touch img{border-radius:50%}
@media(max-width:950px){.halloween-section{padding:30px}.halloween-layout{gap:24px}.season-heading>p{max-width:300px}.season-copy>p{font-size:.8rem}.seasonal-touch{bottom:16%}.memory-section{gap:30px;padding:0}.resident-choice span{font-size:.55rem}}
@media(max-width:700px){.game-page .page-nav{gap:14px}.hero-bubble{right:4px;top:16px;font-size:.8rem}.interactive-hero{max-height:none;aspect-ratio:1.08;transform:rotate(1deg);margin:0 4px}.interactive-hero figcaption{font-size:.68rem;padding:8px 12px}.halloween-section{padding:24px 18px;border-radius:24px;margin:8px 0 42px}.season-heading{display:block;margin-bottom:23px}.season-heading h2{font-size:2.65rem}.season-heading>p{margin-top:18px;font-size:.88rem;max-width:none}.halloween-layout{grid-template-columns:1fr;gap:26px}.resident-stage{aspect-ratio:1/1.12;max-width:470px;width:100%;margin:auto}.seasonal-touch{width:72%;left:14%;bottom:12%}.resident-stage figcaption{padding:20px 12px}.resident-stage h3{font-size:1.55rem}.season-copy>h3{font-size:2.25rem}.season-copy>p{font-size:.86rem}.resident-choice img{width:70px;height:70px}.resident-choice span{font-size:.64rem}.season-copy .resident-hint{font-size:.76rem}.season-link{font-size:.82rem}.memory-section{grid-template-columns:1fr;gap:25px;margin-bottom:40px}.memory-copy>p{max-width:none}.memory-copy h2{font-size:2.3rem}.memory-card{border-radius:13px}.memory-board{gap:10px;max-width:400px}.game-character .bao-touch{width:68px}.game-fact .fact-number{font-size:1.65rem}.game-fact{grid-template-columns:80px 1fr}.season-date{font-size:.66rem}.game-page .page-nav{font-size:.66rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.bao-touch img,.touch-pop,.resident-choice,.memory-card{transition:none}.bao-touch:hover img{transform:none}}

.memory-card{appearance:none;-webkit-appearance:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none}.memory-card>*{pointer-events:none}.memory-card img{inset:5% 8% 20%;height:75%}.memory-card-name{position:absolute;bottom:8%;left:5%;right:5%;text-align:center;color:#352246;font-size:clamp(.6rem,1.2vw,.85rem);font-weight:750;line-height:1.2;visibility:hidden}.memory-card.is-open .memory-card-name,.memory-card.is-matched .memory-card-name{visibility:visible}
