:root{--ink:#31436c;--muted:#687b9e;--blue:#5268b9;--blue-deep:#344a91;--leaf:#4b8d5c;--line:#dce5f3;--paper:#fff;--page:#f6f9ff;font-family:'Trebuchet MS','Segoe UI',system-ui,sans-serif;color:var(--ink);background:var(--page);font-synthesis:none;}
*{box-sizing:border-box}html,body{margin:0;min-width:300px;min-height:100%}body{background:radial-gradient(ellipse at 90% 8%,#dce8ff 0,transparent 37%),radial-gradient(ellipse at 5% 78%,#e7f3df 0,transparent 38%),#f7faff;}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:disabled{cursor:default}button:focus-visible,a:focus-visible{outline:3px solid #dbac39;outline-offset:4px}[hidden]{display:none!important}.app-shell{max-width:1300px;margin:auto;padding:0 34px;overflow:hidden}.site-header{height:96px;display:flex;justify-content:space-between;align-items:center;gap:20px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink)}.brand-mark{width:48px;height:48px;display:grid;place-items:center;background:linear-gradient(145deg,#8ba3e3,#4e65b3);color:#fff;font-size:34px;border-radius:17px;box-shadow:0 5px 0 #d3dff6;transform:rotate(-7deg)}.brand strong{font-size:20px;display:block;letter-spacing:-.6px}.brand small{display:block;font-size:8px;font-weight:800;letter-spacing:1.6px;color:#7d8eac;margin-top:4px}.header-actions{display:flex;gap:9px;align-items:center}.icon-button{min-height:42px;display:flex;gap:7px;align-items:center;border:1px solid #c9d8f1;border-radius:13px;padding:8px 12px;background:#ffffffc9;color:#4b6399;font-weight:800;font-size:12px}.icon-button>span:first-child{font-size:21px;line-height:1}.icon-button:hover{background:#e8efff}.welcome-screen{display:grid;grid-template-columns:1.04fr .96fr;align-items:center;gap:45px;min-height:640px;padding:36px 5px 62px}.eyebrow{margin:0;color:#5c76aa;letter-spacing:1.8px;font-size:10px;font-weight:900;line-height:1.5}.eyebrow>span{color:#70a37c;font-size:18px;vertical-align:-1px}h1{font-size:clamp(52px,6.3vw,85px);letter-spacing:-4px;line-height:1.06;margin:24px 0}h1 em,h2 em{font-style:normal;color:#5268b9}.welcome-description{max-width:500px;font-size:18px;line-height:1.7;color:#63779a;margin:0 0 28px}.primary-button{border:0;border-radius:18px;padding:17px 24px;min-height:57px;background:linear-gradient(140deg,#7e98da,#4b63b1);color:#fff;box-shadow:0 6px 0 #344a91,0 12px 24px #536da32b;font-weight:900;font-size:16px;transition:transform .15s,box-shadow .15s;display:inline-flex;align-items:center;justify-content:center;gap:15px}.primary-button:hover{transform:translateY(-2px);box-shadow:0 8px 0 #344a91,0 16px 25px #536da32b}.primary-button:active{transform:translateY(4px);box-shadow:0 2px 0 #344a91}.play-button{min-width:225px}.play-button>span:last-child{margin-left:auto}.feature-pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:29px}.feature-pills span{background:#fff;border:1px solid #e2e9f3;border-radius:24px;padding:8px 11px;font-size:11px;font-weight:800;color:#5e7599}.welcome-note{font-size:12px;color:#788caa;margin-top:22px}.hero-garden{position:relative;isolation:isolate;min-width:0;padding:16px 5px 55px}.hero-portrait{aspect-ratio:1;position:relative;display:grid;place-items:center;border-radius:46% 54% 44% 56%;background:linear-gradient(145deg,#f5fbff,#dce8ff);box-shadow:inset 0 0 0 10px #ffffff9c,0 25px 70px #556da522;overflow:hidden}.hero-portrait>img{width:91%;height:91%;object-fit:contain;filter:drop-shadow(0 16px 11px #45623524)}.hero-orbit{position:absolute;border-radius:50%;z-index:-1;border:2px dashed #bccde9}.orbit-one{inset:12px -7px 35px 0;transform:rotate(14deg)}.orbit-two{width:70%;height:70%;top:17%;left:-8%;border-color:#c9ddc0}.hero-star{position:absolute;right:2%;top:0;font-size:64px;color:#ebbe53;z-index:2;transform:rotate(14deg);text-shadow:3px 3px white}.hero-label{position:absolute;top:3%;left:0;transform:rotate(-8deg);padding:11px 18px;border-radius:16px;background:white;box-shadow:0 6px 22px #536da326;font-size:12px;font-weight:900;color:#547348}.hero-label span{font-size:22px;vertical-align:-2px;margin-right:6px}.petal-note{position:absolute;bottom:20px;left:9%;right:9%;padding:15px 20px;border:4px solid #fff;background:#edf6e5;box-shadow:0 10px 28px #5f79551c;border-radius:20px;text-align:center;transform:rotate(3deg)}.petal-note strong,.petal-note span{display:block}.petal-note strong{font-size:16px;color:#4f764c}.petal-note span{font-size:11px;color:#6b8964;margin-top:5px}.site-footer{min-height:65px;padding:20px 0;text-align:center;font-size:11px;color:#7285a6}.site-footer a{color:#4c659f;text-underline-offset:3px;font-weight:800}.site-footer>span{color:#6aa572;margin:0 5px}.game-screen{max-width:1050px;margin:auto;padding:15px 0 30px}.game-topline{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:0 7px}.round-label{display:block;font-size:17px;font-weight:900;margin-top:5px}.star-counter{background:#fff7d9;border:1px solid #f0ddb0;display:grid;grid-template-columns:auto auto;align-items:center;gap:1px 10px;padding:10px 18px;border-radius:18px}.star-counter>span{font-size:36px;color:#c59421;grid-row:1/3}.star-counter strong{font-size:24px;letter-spacing:-1px;color:#746020}.star-counter small{font-size:9px;font-weight:800;color:#8c7948}.progress-track{height:10px;border-radius:20px;background:#dde6f5;overflow:hidden;margin:20px 0 25px}.progress-track>div{width:0;height:100%;background:linear-gradient(90deg,#8bb493,#4b8d5c);border-radius:20px;transition:width .35s}.question-card{position:relative;background:#ffffffed;border:1px solid #dfe7f4;box-shadow:0 18px 60px #526da514;border-radius:30px;padding:29px 30px 25px;text-align:center}.question-tag{display:inline-block;padding:7px 13px;background:#edf5e7;border-radius:20px;font-size:9px;letter-spacing:1.5px;font-weight:900;color:#5a8250}.question-card h2{font-size:clamp(25px,3vw,38px);line-height:1.2;margin:16px 0 12px;font-weight:900;letter-spacing:-1px}.question-card h2 span{color:#5268b9}.hear-button{background:#edf2ff;border:1px solid #d3dff7;border-radius:22px;padding:8px 15px;color:#4d64a1;font-size:12px;font-weight:800}.hear-button span{font-size:18px;margin-right:6px}.hear-button:hover{background:#dce7ff}.question-help{font-size:13px;color:#7485a2;margin:15px 0 18px}.choices-grid{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;min-height:240px;align-items:stretch;}.choices-grid[data-count="4"]{grid-template-columns:repeat(4,minmax(0,1fr))}.answer-card{position:relative;min-width:0;min-height:230px;aspect-ratio:1/1.08;border:2px solid #dce5f3;border-radius:23px;padding:18px 9px 12px;background:radial-gradient(ellipse at 50% 70%,#e9f1ff 0,transparent 65%),#fbfdff;box-shadow:0 5px 0 #e3eaf5;transition:transform .15s,border-color .15s,box-shadow .15s;display:flex;align-items:center;justify-content:center;flex-direction:column}.answer-card:nth-child(2){background:radial-gradient(ellipse at 50% 70%,#edf5e6 0,transparent 65%),#fbfdfa}.answer-card:nth-child(3){background:radial-gradient(ellipse at 50% 70%,#fff2df 0,transparent 65%),#fffdfb}.answer-card:nth-child(4){background:radial-gradient(ellipse at 50% 70%,#f9e9f2 0,transparent 65%),#fffafd}.answer-card img{display:block;max-width:100%;width:100%;height:calc(100% - 10px);min-height:0;object-fit:contain;pointer-events:none;filter:drop-shadow(0 8px 7px #4e5d6920)}.answer-card:hover:not(:disabled){transform:translateY(-5px);border-color:#9db5e2;box-shadow:0 10px 0 #dce6f7}.choice-number{position:absolute;top:10px;left:11px;width:24px;height:24px;display:grid;place-items:center;background:#fff;border:1px solid #d9e2f0;border-radius:50%;font-size:10px;font-weight:800;color:#788ba8}.answer-card.wrong{animation:gentle-shake .35s ease;border-color:#edbf8d}.answer-card.correct{background:#edf8ea!important;border-color:#7eb780;box-shadow:0 5px 0 #bee0b8}.answer-card.correct:after{content:'✓';position:absolute;top:9px;right:10px;width:27px;height:27px;display:grid;place-items:center;background:#508e59;color:white;border-radius:50%;font-size:18px}.answer-card.revealed-other{opacity:.55}.answer-card .flower-name{font-size:13px;font-weight:900;line-height:1.2;color:#477548;margin-top:3px}.feedback-area{min-height:73px;margin-top:20px}.feedback-message{font-size:15px;font-weight:900;color:#5a79a1;margin:0 0 5px}.feedback-message.is-correct{color:#4c8050}.feedback-message.is-retry{color:#976632}.flower-fact{font-size:13px;line-height:1.5;color:#687b98;margin:0 auto;max-width:650px}.next-button{min-height:48px;padding:13px 23px;font-size:14px;margin:4px 0 7px}.keyboard-note{text-align:center;font-size:10px;color:#8190aa;margin:17px 0 0}.complete-screen{max-width:750px;margin:30px auto 60px;padding:40px 35px;border-radius:35px;background:linear-gradient(145deg,#fff,#eef5ff);border:5px solid #fff;box-shadow:0 20px 60px #526da526;text-align:center}.complete-badge{display:grid;place-items:center;width:85px;height:85px;border-radius:27px;background:linear-gradient(135deg,#a9bdef,#637cbe);color:#fff;font-size:62px;margin:0 auto 22px;box-shadow:0 7px 0 #d1def5;transform:rotate(-9deg)}.complete-screen h2{font-size:clamp(34px,5vw,57px);line-height:1.12;letter-spacing:-2px;margin:16px 0 20px}.complete-screen>p:not(.eyebrow){color:#687b98;line-height:1.6;font-size:15px;max-width:540px;margin:0 auto}.complete-stars{color:#d6a32f;font-size:35px;letter-spacing:7px;line-height:1.4;margin:24px 0;text-shadow:0 3px #ffefb3}.complete-screen .complete-note{font-size:13px!important}.completion-actions{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;margin-top:30px}.secondary-button{border:1px solid #cad8f1;border-radius:17px;padding:15px 20px;background:#fff;color:#4a629b;font-size:13px;font-weight:900}.secondary-button:hover{background:#eaf0ff}.toast{position:fixed;z-index:100;bottom:20px;left:50%;transform:translate(-50%,25px);opacity:0;pointer-events:none;max-width:calc(100vw - 30px);padding:12px 18px;border-radius:13px;background:#344a72;color:white;font-size:12px;line-height:1.5;box-shadow:0 8px 26px #344a7240;transition:opacity .2s,transform .2s}.toast.show{opacity:1;transform:translate(-50%,0)}
@keyframes gentle-shake{25%{transform:translateX(-6px)}75%{transform:translateX(6px)}}
body.quiz-immersive{height:100dvh;overflow:auto}.quiz-immersive .app-shell{max-width:1280px;padding-inline:24px}.quiz-immersive .site-header{height:65px}.quiz-immersive .site-footer{display:none}.quiz-immersive .game-screen{padding-top:8px}.quiz-immersive .question-card{padding-top:20px}.quiz-immersive .game-screen .progress-track{margin:12px 0 16px}.quiz-immersive .answer-card{min-height:180px;max-height:34vh;aspect-ratio:auto}.quiz-immersive .choices-grid{min-height:180px}.quiz-immersive .feedback-area{margin-top:14px;min-height:61px}
@media(max-width:900px){.app-shell{padding-inline:24px}.welcome-screen{gap:20px;min-height:560px}.welcome-description{font-size:16px}.question-card{padding:24px 20px}.choices-grid{gap:12px}.answer-card{min-height:185px}.choices-grid[data-count="4"]{grid-template-columns:repeat(2,minmax(0,1fr));max-width:620px;margin:auto}.choices-grid[data-count="4"] .answer-card{aspect-ratio:1.3;min-height:160px;max-height:230px}.complete-screen{margin-top:25px;}}
@media(max-width:650px){.app-shell{padding-inline:14px}.site-header{height:77px;gap:10px}.brand{gap:8px}.brand-mark{width:37px;height:37px;font-size:28px;border-radius:13px}.brand strong{font-size:15px}.brand small{font-size:6px;letter-spacing:.9px}.header-actions{gap:5px}.icon-button{padding:7px 9px;min-height:36px;border-radius:11px}.icon-button .control-label{display:none}.welcome-screen{display:flex;flex-direction:column;text-align:center;padding:21px 5px 25px;gap:20px}.welcome-copy h1{font-size:53px;letter-spacing:-2.5px;margin:17px 0}.welcome-description{font-size:15px;line-height:1.6;max-width:480px}.welcome-copy .eyebrow{font-size:9px;letter-spacing:1.2px}.play-button{min-height:54px}.feature-pills{justify-content:center;margin-top:23px}.hero-garden{width:min(390px,90%);padding-bottom:35px}.hero-star{font-size:45px}.hero-label{font-size:10px;padding:8px 12px}.petal-note{bottom:4px;padding:10px 12px}.petal-note strong{font-size:14px}.petal-note span{font-size:10px}.welcome-note{margin-bottom:0}.game-screen{padding-top:8px}.round-label{font-size:14px}.game-topline .eyebrow{font-size:8px;letter-spacing:1px}.star-counter{gap:0 7px;padding:7px 11px;border-radius:14px}.star-counter>span{font-size:27px}.star-counter strong{font-size:21px}.star-counter small{font-size:8px}.progress-track{margin:15px 0 18px;height:8px}.question-card{border-radius:24px;padding:20px 13px 20px}.question-card h2{font-size:26px;letter-spacing:-.8px;margin:13px 0 11px}.question-help{font-size:11px}.hear-button{font-size:11px;padding:7px 12px}.choices-grid,.choices-grid[data-count="4"]{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.choices-grid[data-count="3"] .answer-card:last-child{grid-column:1/-1;width:calc(50% - 6px);justify-self:center}.answer-card,.choices-grid[data-count="4"] .answer-card{min-height:155px;max-height:210px;aspect-ratio:1.04;padding:13px 7px 9px;border-radius:19px}.choice-number{width:21px;height:21px;top:7px;left:7px;font-size:9px}.answer-card.correct:after{top:7px;right:7px;width:23px;height:23px;font-size:15px}.answer-card .flower-name{font-size:11px}.feedback-area{margin-top:18px;min-height:76px}.feedback-message{font-size:13px}.flower-fact{font-size:12px;line-height:1.5}.next-button{min-height:43px;font-size:12px;padding:11px 18px}.keyboard-note{display:none}.complete-screen{padding:29px 16px;margin-bottom:25px;border-radius:28px}.complete-screen h2{font-size:38px;letter-spacing:-1.5px}.complete-screen>p:not(.eyebrow){font-size:14px}.complete-stars{font-size:28px;letter-spacing:5px}.completion-actions{gap:10px}.completion-actions .primary-button{font-size:13px;min-height:49px;padding:13px 19px}.secondary-button{padding:13px 17px;font-size:12px}.site-footer{font-size:10px;line-height:1.7}.quiz-immersive .app-shell{padding-inline:11px}.quiz-immersive .site-header{height:55px}.quiz-immersive .question-card{padding-top:16px}.quiz-immersive .answer-card{min-height:135px;max-height:25vh}.quiz-immersive .choices-grid{min-height:135px}.quiz-immersive .feedback-area{min-height:69px}}
@media(orientation:landscape) and (max-height:650px){.quiz-immersive .game-screen{max-width:1100px}.quiz-immersive .question-card{padding-top:12px;padding-bottom:12px}.quiz-immersive .game-topline{display:none}.quiz-immersive .progress-track{margin:3px 0 10px}.quiz-immersive .question-tag,.quiz-immersive .question-help,.quiz-immersive .keyboard-note{display:none}.quiz-immersive .question-card h2{display:inline-block;font-size:23px;margin:2px 15px 12px 0}.quiz-immersive .hear-button{vertical-align:4px}.quiz-immersive .choices-grid,.quiz-immersive .choices-grid[data-count="4"]{grid-template-columns:repeat(4,minmax(0,1fr));max-width:100%;gap:12px}.quiz-immersive .choices-grid[data-count="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}.quiz-immersive .choices-grid[data-count="3"] .answer-card:last-child{grid-column:auto;width:auto}.quiz-immersive .answer-card,.quiz-immersive .choices-grid[data-count="4"] .answer-card{min-height:100px;height:35vh;max-height:210px;aspect-ratio:auto}.quiz-immersive .feedback-area{margin-top:10px;min-height:42px}.quiz-immersive .feedback-message{font-size:12px;margin-bottom:2px}.quiz-immersive .flower-fact{font-size:11px}.quiz-immersive .next-button{margin-top:3px;min-height:35px;padding:8px 15px}.quiz-immersive .site-header{height:45px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.local-image-loader{position:absolute;z-index:20;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px;padding:24px;background:#f5f9fff2;border-radius:22px;color:#3d5b95;font-size:15px;text-align:center;font-weight:800}.local-image-loader button{padding:10px 17px;background:#5268b9;color:#fff;border:0;border-radius:12px;font-weight:800}.hear-button:disabled{opacity:.5;cursor:default}
