:root{font-family:'DM Sans',system-ui,-apple-system,Segoe UI,sans-serif;color:#173343;background:#f3f8f6;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}body{margin:0;min-width:320px;background:radial-gradient(circle at 14% 0%,#fff4e1 0,transparent 34%),radial-gradient(circle at 93% 36%,#dff1ee 0,transparent 37%),#f3f8f6}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:default}a{color:inherit}h1,h2,p{margin-top:0}h1,h2{font-family:Outfit,'DM Sans',sans-serif;letter-spacing:-.035em}h1{font-size:clamp(2.8rem,5vw,5.1rem);line-height:1.04}h2{line-height:1.2}.app-shell{min-height:100svh;display:flex;flex-direction:column}.site-header,.site-footer{width:min(1240px,calc(100% - 48px));margin:auto;display:flex;align-items:center;justify-content:space-between;gap:16px}.site-header{height:78px}.brand{display:inline-flex;align-items:center;gap:9px;text-decoration:none;font-family:Outfit,sans-serif;font-weight:800;font-size:1.35rem;letter-spacing:-.04em;white-space:nowrap}.brand-mark{display:grid;place-items:center;width:35px;height:35px;border-radius:11px;background:#0e756f;color:white;font-size:1.18rem;box-shadow:0 6px 14px #0e756f35}.brand-dot{color:#f2a83d}.header-tag{color:#3b6d70;font-weight:700;font-size:.88rem;background:#e8f5f1;padding:9px 14px;border-radius:999px}.site-footer{padding:22px 0 28px;color:#5c737a;font-size:.76rem}.site-footer strong{color:#2e6767}main{width:100%;flex:1}.eyebrow,.question-kicker{display:inline-block;color:#0b7c70;text-transform:uppercase;font-size:.74rem;font-weight:800;letter-spacing:.11em}.button{border:0;border-radius:16px;padding:14px 22px;font-weight:800;min-height:50px;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:transform .2s,box-shadow .2s,background .2s}.button:not(:disabled):hover{transform:translateY(-2px)}.button:focus-visible,.text-button:focus-visible,.answer:focus-visible,.board-tabs button:focus-visible,input:focus-visible{outline:3px solid #ec9c3f;outline-offset:3px}.button-primary{background:#0e756f;color:#fff;box-shadow:0 10px 22px #0e756f30}.button-primary:hover{background:#095d58;box-shadow:0 14px 24px #0e756f40}.button-quiet{background:#fff;color:#164850;box-shadow:0 5px 18px #1b536010}.button-quiet:hover{background:#e7f3f1}.button-next{background:#123c48;color:white;margin-left:auto;white-space:nowrap}.text-button{border:0;background:transparent;color:#286366;font-weight:800;padding:8px 4px}.micro{font-size:.78rem;line-height:1.6;color:#667e82}.notice{padding:13px 16px;border-radius:12px;margin:14px 0;font-weight:700}.notice-error{background:#ffe7e2;color:#9c3e35}.notice-success{background:#dcf6e9;color:#246344}

.home-layout{width:min(1240px,calc(100% - 48px));min-height:calc(100svh - 155px);margin:auto;display:grid;grid-template-columns:1.04fr .96fr;align-items:center;gap:0;padding:18px 0 34px}.hero-art{height:min(680px,calc(100svh - 180px));min-height:470px;border-radius:34px;position:relative;overflow:hidden;box-shadow:0 22px 70px #2e566d25;background:#aad6df}.hero-art img{width:100%;height:100%;object-fit:cover;object-position:60% center;display:block}.hero-art-shine{position:absolute;inset:0;background:linear-gradient(135deg,#ffefb820,transparent 40%,#0e756f12);pointer-events:none}.home-panel{position:relative;z-index:1;margin-left:-54px;background:#fffcf7;padding:clamp(28px,4vw,60px);border-radius:30px;box-shadow:0 20px 70px #264b5330;border:1px solid #fff}.home-panel h1{margin:13px 0 18px}.home-panel h1 em{font-style:normal;color:#0e756f}.lead{font-size:clamp(1.04rem,1.35vw,1.2rem);line-height:1.7;color:#425d63}.lead strong{color:#153c45}.rule-card{display:flex;align-items:flex-start;gap:17px;margin:30px 0;padding:18px 19px;background:#e6f5f0;border-radius:18px;border:1px solid #cfebe1}.rule-icon{font-size:1.75rem;line-height:1}.rule-card p{margin:0;line-height:1.6}.rule-card span:not(.rule-icon){color:#45666b;font-size:.92rem}.rule-card b{color:#0c6864}.home-actions{display:flex;gap:10px;flex-wrap:wrap}.home-panel .micro{margin:20px 0 0}

.game-page,.result-page,.board-page{width:min(940px,calc(100% - 40px));margin:20px auto 50px}.game-topbar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:20px}.round-pill,.score-pill{padding:10px 16px;border-radius:999px;font-size:.85rem;font-weight:800}.round-pill{background:#dff3e8;color:#12695e}.score-pill{background:#fff1d9;color:#83562a;min-width:100px;text-align:center}.progress-wrap{margin-bottom:24px}.progress-copy{display:flex;justify-content:space-between;font-size:.79rem;font-weight:800;color:#55747a;margin-bottom:9px}.progress-track{height:9px;background:#dce8e8;border-radius:999px;overflow:hidden}.progress-fill{height:100%;background:linear-gradient(90deg,#0c8276,#f0bb65);border-radius:999px;transition:width .35s}.question-card{display:grid;grid-template-columns:.62fr 1fr;min-height:505px;background:#fff;border-radius:28px;box-shadow:0 18px 45px #2858651b;overflow:hidden;border:1px solid #e0ebea}.question-scene{position:relative;display:grid;place-items:center;min-height:300px;overflow:hidden;background:radial-gradient(circle at 25% 20%,#fff9de 0,transparent 35%),linear-gradient(145deg,#addbd9,#4aa5a3)}.question-scene[data-round="2"]{background:radial-gradient(circle at 25% 20%,#fff6d7 0,transparent 37%),linear-gradient(145deg,#ffc88b,#e98c78)}.question-scene[data-round="3"]{background:radial-gradient(circle at 25% 20%,#fff4fa 0,transparent 37%),linear-gradient(145deg,#cfbce9,#8f91d5)}.question-scene:before,.question-scene:after{content:'';position:absolute;border:2px solid #ffffff65;border-radius:50%;width:310px;height:310px;transform:translate(30%,50%)}.question-scene:after{width:220px;height:220px;transform:translate(-80%,-90%)}.scene-icon{font-size:clamp(5rem,9vw,8.5rem);filter:drop-shadow(0 20px 18px #134a5040);transform:rotate(-7deg);animation:floatIn .55s both}.scene-spark{position:absolute;top:20%;right:15%;font-size:2.5rem;color:#fff;animation:twinkle 3s ease-in-out infinite}.question-body{padding:clamp(28px,4vw,54px);display:flex;flex-direction:column}.story{font-size:.98rem;line-height:1.65;color:#60757a;margin:18px 0 14px}.question-body h2{font-size:clamp(1.65rem,2.6vw,2.5rem);margin:0 0 28px;line-height:1.23}.answers{display:grid;gap:12px;margin-top:auto}.answer{text-align:left;min-height:64px;border:2px solid #dce9e8;background:#f9fcfb;color:#173943;border-radius:16px;padding:13px 18px;font-size:clamp(1rem,1.35vw,1.18rem);font-weight:800;transition:background .17s,border-color .17s,transform .17s}.answer:not(:disabled):hover{background:#eaf6f2;border-color:#50b3a1;transform:translateX(4px)}.answer-correct{background:#e0f6e8;border-color:#50b783;color:#125b41}.answer-wrong{background:#ffe9e4;border-color:#df8877;color:#823c32}.feedback-slot{margin-top:18px}.feedback{display:flex;align-items:center;gap:13px;padding:15px;border-radius:17px}.feedback-good{background:#e0f6e8;color:#195a42}.feedback-try{background:#fff1e4;color:#714c37}.feedback-icon{width:34px;height:34px;flex:0 0 auto;border-radius:50%;display:grid;place-items:center;background:#fff;font-weight:900}.feedback p{font-size:.85rem;line-height:1.5;margin:4px 0 0}.feedback strong{font-size:.96rem}.feedback .button{min-height:40px;padding:10px 16px;font-size:.82rem}.review-intro{text-align:center;margin-bottom:24px}.review-intro h1{font-size:clamp(2rem,4vw,3.2rem);margin:8px 0}.review-intro p{color:#5e7479}.review-intro+.question-card{min-height:420px}

.result-page,.board-page{text-align:center}.result-medal{display:grid;place-items:center;width:92px;height:92px;border-radius:28px;margin:16px auto 21px;background:#fff1d2;font-size:3rem;box-shadow:0 15px 30px #daae6c30}.result-page h1,.board-heading h1{margin:10px 0 14px;font-size:clamp(2.5rem,5vw,4.5rem)}.result-lead,.board-heading p{color:#5b747a;line-height:1.6;font-size:1.05rem;max-width:600px;margin:0 auto 25px}.result-lead strong{color:#193b44}.result-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;max-width:640px;margin:0 auto 30px}.result-stats div{background:#fff;border-radius:18px;padding:18px;box-shadow:0 5px 16px #164c5710}.result-stats strong{display:block;font-family:Outfit,sans-serif;font-size:1.8rem;color:#0e756f}.result-stats span{font-size:.82rem;color:#667c80}.save-box{max-width:650px;margin:auto;background:#fff;padding:28px;border-radius:24px;text-align:left;box-shadow:0 15px 40px #1b596216}.save-box h2{margin-bottom:8px;font-size:1.6rem}.save-box>p{color:#5b747a;line-height:1.6}.save-box form{display:flex;flex-direction:column;gap:12px}.save-box label{font-weight:800;font-size:.88rem}.save-box input[type=text]{min-height:52px;border:2px solid #d7e8e5;border-radius:13px;padding:11px 14px;max-width:100%;font-size:1rem}.consent-row{display:flex;gap:10px;align-items:flex-start;line-height:1.5;font-weight:500!important;font-size:.84rem!important}.consent-row input{accent-color:#0e756f;width:19px;height:19px;flex:0 0 19px;margin:2px 0}.save-box .button{align-self:flex-start}.result-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:22px auto}.board-back{display:block;margin:6px 0 24px}.board-heading{margin-bottom:25px}.board-tabs{display:flex;justify-content:center;background:#e5f1ee;border-radius:15px;padding:4px;max-width:400px;margin:0 auto 21px}.board-tabs button{flex:1;border:0;border-radius:12px;background:transparent;padding:11px;color:#557176;font-weight:800}.board-tabs button[aria-selected=true]{background:white;color:#0e756f;box-shadow:0 4px 12px #19596419}.board-list{list-style:none;padding:0;margin:0 auto;max-width:650px;display:grid;gap:10px}.board-row{display:flex;align-items:center;text-align:left;gap:14px;padding:14px 18px;background:#fff;border-radius:15px;box-shadow:0 4px 14px #164c5710}.board-me{outline:2px solid #e9b558}.rank{width:32px;flex:0 0 32px;font-weight:800;color:#39716e;text-align:center}.board-name{font-weight:800;min-width:0;overflow-wrap:anywhere}.board-name small{display:block;font-weight:500;color:#6c8286;margin-top:2px}.board-points{margin-left:auto;white-space:nowrap;color:#0e756f}.board-empty{background:#fff;padding:36px 20px;border-radius:20px;max-width:650px;margin:auto;color:#557176}

@keyframes floatIn{from{opacity:0;transform:translateY(28px) rotate(-14deg) scale(.82)}to{opacity:1;transform:translateY(0) rotate(-7deg) scale(1)}}@keyframes twinkle{50%{opacity:.35;transform:scale(.7)}}
@media(max-width:900px){.home-layout{grid-template-columns:1fr;gap:0;padding-top:0}.hero-art{min-height:unset;height:350px;border-radius:24px 24px 0 0}.hero-art img{object-position:center 38%}.home-panel{margin:-32px 16px 0;padding:32px;border-radius:24px}.question-card{grid-template-columns:1fr}.question-scene{min-height:190px}.scene-icon{font-size:5rem}.question-body{padding:30px}.answers{margin-top:0}.feedback{flex-wrap:wrap}.feedback .button{margin-left:47px}}
@media(max-width:600px){.site-header,.site-footer{width:calc(100% - 32px)}.site-header{height:64px}.brand{font-size:1.08rem}.brand-mark{width:30px;height:30px;font-size:1rem;border-radius:9px}.header-tag{font-size:.68rem;padding:7px 9px}.site-footer{align-items:flex-start;flex-direction:column;gap:6px;font-size:.69rem;padding:20px 0}.home-layout{width:100%;min-height:unset;padding:0 0 16px}.hero-art{height:245px;border-radius:0}.hero-art img{object-position:58% 38%}.home-panel{margin:-25px 16px 0;padding:25px 23px 24px}.home-panel h1{font-size:3rem}.lead{font-size:1rem;line-height:1.6}.rule-card{margin:20px 0;padding:14px}.home-actions{display:grid}.home-actions .button{width:100%}.game-page,.result-page,.board-page{width:calc(100% - 28px);margin:10px auto 26px}.game-topbar{margin-bottom:16px}.game-topbar .back{font-size:.78rem}.round-pill,.score-pill{font-size:.72rem;padding:8px 9px;min-width:unset}.question-card{border-radius:20px;min-height:unset}.question-scene{min-height:140px}.scene-icon{font-size:4.5rem}.question-body{padding:22px}.story{font-size:.91rem;margin:13px 0 9px}.question-body h2{font-size:1.62rem;margin-bottom:21px}.answers{gap:9px}.answer{min-height:59px;font-size:1rem;padding:11px 14px}.feedback{padding:13px;gap:10px}.feedback .button{width:100%;margin-left:0}.feedback p{font-size:.8rem}.review-intro{margin:25px 10px 15px}.review-intro h1{font-size:2rem}.result-stats{gap:6px}.result-stats div{padding:13px 6px}.result-stats strong{font-size:1.4rem}.result-stats span{font-size:.7rem}.save-box{padding:20px}.save-box .button{width:100%}.board-row{gap:9px;padding:13px}.board-name{font-size:.86rem}.board-name small{font-size:.72rem}.board-points{font-size:.82rem}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
