:root{--ink:#533b62;--muted:#6b4b7e;--blue:#6d4d81;--blue-deep:#684a7b;--leaf:#725187;--line:#e9e0ef;--paper:#ffffff;--page:#fbf9fc;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%,#efe8f3 0,transparent 37%),radial-gradient(ellipse at 5% 78%,#ebe2f0 0,transparent 38%),#fbfafc;}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 #916da7;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,#bba5c9,#684a7a);color:#ffffff;font-size:34px;border-radius:17px;box-shadow:0 5px 0 #e7dced;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:#7d5894;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 #e0d2e8;border-radius:13px;padding:8px 12px;background:#ffffffc9;color:#583f68;font-weight:800;font-size:12px}.icon-button>span:first-child{font-size:21px;line-height:1}.icon-button:hover{background:#f4f0f7}.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:#6b4b7e;letter-spacing:1.8px;font-size:10px;font-weight:900;line-height:1.5}.eyebrow>span{color:#9070a3;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:#6d4d81}.welcome-description{max-width:500px;font-size:18px;line-height:1.7;color:#654877;margin:0 0 28px}.primary-button{border:0;border-radius:18px;padding:17px 24px;min-height:57px;background:linear-gradient(140deg,#9470aa,#654877);color:#ffffff;box-shadow:0 6px 0 #684a7b,0 12px 24px #6245742b;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 #684a7b,0 16px 25px #6245742b}.primary-button:active{transform:translateY(4px);box-shadow:0 2px 0 #684a7b}.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:#ffffff;border:1px solid #ece4f1;border-radius:24px;padding:8px 11px;font-size:11px;font-weight:800;color:#634674}.welcome-note{font-size:12px;color:#79568f;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,#faf8fc,#efe8f3);box-shadow:inset 0 0 0 10px #ffffff9c,0 25px 70px #64467622;overflow:hidden}.hero-portrait>img{width:91%;height:91%;object-fit:contain;filter:drop-shadow(0 16px 11px #50395e24)}.hero-orbit{position:absolute;border-radius:50%;z-index:-1;border:2px dashed #d6c4e1}.orbit-one{inset:12px -7px 35px 0;transform:rotate(14deg)}.orbit-two{width:70%;height:70%;top:17%;left:-8%;border-color:#d2c0dd}.hero-star{position:absolute;right:2%;top:0;font-size:64px;color:#a587b7;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 #62457426;font-size:12px;font-weight:900;color:#634873}.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 #ffffff;background:#efe8f3;box-shadow:0 10px 28px #6b55791c;border-radius:20px;text-align:center;transform:rotate(3deg)}.petal-note strong,.petal-note span{display:block}.petal-note strong{font-size:16px;color:#664c76}.petal-note span{font-size:11px;color:#7b6489;margin-top:5px}.site-footer{min-height:65px;padding:20px 0;text-align:center;font-size:11px;color:#745289}.site-footer a{color:#5c416d;text-underline-offset:3px;font-weight:800}.site-footer>span{color:#8f6aa5;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:#f4eef8;border:1px solid #d4c1df;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:#7a5690;grid-row:1/3}.star-counter strong{font-size:24px;letter-spacing:-1px;color:#4e385c}.star-counter small{font-size:9px;font-weight:800;color:#705084}.progress-track{height:10px;border-radius:20px;background:#ebe2f0;overflow:hidden;margin:20px 0 25px}.progress-track>div{width:0;height:100%;background:linear-gradient(90deg,#a48bb4,#725187);border-radius:20px;transition:width .35s}.question-card{position:relative;background:#ffffffed;border:1px solid #ebe3f0;box-shadow:0 18px 60px #63467414;border-radius:30px;padding:29px 30px 25px;text-align:center}.question-tag{display:inline-block;padding:7px 13px;background:#efe9f3;border-radius:20px;font-size:9px;letter-spacing:1.5px;font-weight:900;color:#6f5082}.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:#6d4d81}.hear-button{background:#f7f3f9;border:1px solid #e7dded;border-radius:22px;padding:8px 15px;color:#5e426f;font-size:12px;font-weight:800}.hear-button span{font-size:18px;margin-right:6px}.hear-button:hover{background:#efe8f3}.question-help{font-size:13px;color:#735188;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 #e9e0ef;border-radius:23px;padding:18px 9px 12px;background:radial-gradient(ellipse at 50% 70%,#f5f0f8 0,transparent 65%),#fdfcfe;box-shadow:0 5px 0 #ede6f2;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%,#efe8f3 0,transparent 65%),#fcfafd}.answer-card:nth-child(3){background:radial-gradient(ellipse at 50% 70%,#f0eaf4 0,transparent 65%),#fdfcfe}.answer-card:nth-child(4){background:radial-gradient(ellipse at 50% 70%,#f2edf5 0,transparent 65%),#fcfdfd}.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 #61457220)}.answer-card:hover:not(:disabled){transform:translateY(-5px);border-color:#c3b0cf;box-shadow:0 10px 0 #ebe3f0}.choice-number{position:absolute;top:10px;left:11px;width:24px;height:24px;display:grid;place-items:center;background:#ffffff;border:1px solid #e7dced;border-radius:50%;font-size:10px;font-weight:800;color:#78558d}.answer-card.wrong{animation:gentle-shake .35s ease;border-color:#c1acce}.answer-card.correct{background:#f2edf5!important;border-color:#a181b4;box-shadow:0 5px 0 #d0bcdc}.answer-card.correct:after{content:'✓';position:absolute;top:9px;right:10px;width:27px;height:27px;display:grid;place-items:center;background:#76538b;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:#644775;margin-top:3px}.feedback-area{min-height:73px;margin-top:20px}.feedback-message{font-size:15px;font-weight:900;color:#654777;margin:0 0 5px}.feedback-message.is-correct{color:#6d4d80}.feedback-message.is-retry{color:#6b4b7e}.flower-fact{font-size:13px;line-height:1.5;color:#674979;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:#7e5995;margin:17px 0 0}.complete-screen{max-width:750px;margin:30px auto 60px;padding:40px 35px;border-radius:35px;background:linear-gradient(145deg,#ffffff,#f7f4f9);border:5px solid #ffffff;box-shadow:0 20px 60px #63467426;text-align:center}.complete-badge{display:grid;place-items:center;width:85px;height:85px;border-radius:27px;background:linear-gradient(135deg,#d0bcdc,#79568e);color:#ffffff;font-size:62px;margin:0 auto 22px;box-shadow:0 7px 0 #e5daec;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:#674979;line-height:1.6;font-size:15px;max-width:540px;margin:0 auto}.complete-stars{color:#8a63a2;font-size:35px;letter-spacing:7px;line-height:1.4;margin:24px 0;text-shadow:0 3px #dccde5}.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 #e0d3e8;border-radius:17px;padding:15px 20px;background:#ffffff;color:#593f69;font-size:13px;font-weight:900}.secondary-button:hover{background:#f5f1f8}.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:#583e68;color:white;font-size:12px;line-height:1.5;box-shadow:0 8px 26px #583e6840;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:#faf8fcf2;border-radius:22px;color:#6f4f83;font-size:15px;text-align:center;font-weight:800}.local-image-loader button{padding:10px 17px;background:#6d4d81;color:#ffffff;border:0;border-radius:12px;font-weight:800}.hear-button:disabled{opacity:.5;cursor:default}

/* Aster: warm cream, golden centers and sage leaves. */
:root{--ink:#4c2f5e;--muted:#675870;--ink-soft:#675870;--blue:#5f3977;--blue-deep:#391f49;--leaf:#5f3977;--violet:#5f3977;--violet-deep:#391f49;--purple:#5f3977;--purple-dark:#391f49;--purple-bright:#a384b6;--lavender:#f4eef8;--lilac:#e8dcef;--hairline:#cbb8d6;--line:#cbb8d6;--stroke:#cbb8d6;--page:#fdfbfe;--paper:#ffffff;}

body{background:radial-gradient(ellipse at 90% 8%,#dacae4 0,transparent 37%),radial-gradient(ellipse at 5% 78%,#e6dbec 0,transparent 38%),#fdfbfe;}.brand-mark{background:linear-gradient(145deg,#e5d7ee,#cdb5db);color:#391f49;}.primary-button{background:linear-gradient(135deg,#e5d7ee,#cdb5db);color:#391f49;box-shadow:0 6px 0 #9479a5,0 12px 24px #5f397728;}.primary-button:hover{box-shadow:0 8px 0 #9479a5,0 16px 25px #5f397728;}.primary-button:active{box-shadow:0 2px 0 #9479a5;}
h1 em,h2 em,.question-card h2 span{color:#5f3977;}.hero-portrait{background:linear-gradient(145deg,#faf8fb,#d5c3e0);}.hero-label,.petal-note{background:#ebe3f0;color:#5f3977;}.question-tag{background:#e9e0ef;color:#5f3977;}.progress-fill{background:#825c99;}.answer-card.correct{background:#f4eef8!important;border-color:#9572aa;}.answer-card.correct:after{background:#5f3977;}.feedback-message.is-correct,.answer-card .flower-name{color:#5f3977;}.toast{background:#391f49;color:#ffffff;}.local-image-loader{background:#fdfbfef2;color:#4c2f5e;}.local-image-loader button{background:#5f3977;color:#ffffff;}
.hear-button,.icon-button{color:#4c2f5e;background:#f4eef8;border-color:#cbb8d6;}.hear-button:hover,.icon-button:hover{background:#e6daee;}.star-counter{background:#e6dbed;color:#4c2f5e;}#progress-fill{background:#825c99;}.complete-stars{color:#725186;}.complete-badge{background:linear-gradient(135deg,#e5d7ee,#cdb5db);color:#391f49;}

/* Aster: white petals, autumn mint and evergreen text. */
:root{--ink:#4c2f5e;--muted:#675870;--ink-soft:#675870;--blue:#5f3977;--blue-deep:#391f49;--leaf:#5f3977;--violet:#5f3977;--violet-deep:#391f49;--purple:#5f3977;--purple-dark:#391f49;--purple-bright:#c2a3d5;--gold:#dbc7e8;--lavender:#f4eef8;--lilac:#e8dcef;--hairline:#cbb8d6;--line:#cbb8d6;--stroke:#cbb8d6;--page:#fdfbfe;--paper:#fff;}
.primary-button,.start-button,.save-button,.brand-icon,.brand-mark{background:linear-gradient(135deg,#e5d7ee,#cdb5db)!important;color:#391f49!important;}.primary-button,.start-button,.save-button{box-shadow:0 6px 0 #9479a5,0 12px 25px #5f397728!important;}.primary-button:hover:not(:disabled),.start-button:hover,.save-button:hover:not(:disabled){background:linear-gradient(135deg,#eee3f4,#dbc7e8)!important;}.primary-button:active:not(:disabled){box-shadow:0 2px 0 #9479a5,0 4px 13px #5f397728!important;}
.toast{background:#391f49;color:#fff;border-color:#cbb8d6;}.dialog-backdrop,.confirm-overlay{background:#31203bbc;}.dialog-card,.victory-card,.confirm-card{background:linear-gradient(145deg,#fff,#f4eef8);border-color:#e8dcef;color:#4c2f5e;}.dialog-card h2,.confirm-card h2{color:#391f49;}.dialog-card p,.confirm-card p{color:#675870;}.victory-card h2 em,.victory-eyebrow{color:#5f3977;}.victory-stats span{background:#f4eef8;color:#5f3977;border-color:#cfbfd9;}
.board-overline,.board-footer-tip span{color:#5f3977;}.board-footer-tip,.tray-heading p,.tray-bottom,.tray-page-hint{color:#675870;}.zoom-controls>span,.zoom-controls strong{color:#4c2f5e;}.zoom-controls button,.tray-navigation button{background:#f4eef8;color:#4c2f5e;border-color:#cbb8d6;}.tray-viewport{background:linear-gradient(120deg,#f4eef8,#fff);border-color:#cbb8d6;}.tray-tile.is-selected{border-color:#906fa5;background:#dbc7e855;box-shadow:0 0 0 3px #906fa538,0 5px 14px #5f397729;}
.progress-card{background:linear-gradient(145deg,#7f5a96,#5f3977);color:#fff;}.progress-card .side-eyebrow,.progress-card p,.progress-below,.progress-number span:last-child,.progress-divider{color:#fff;}.progress-fill{background:linear-gradient(90deg,#dbc7e8,#f4eef8);}#progress-fill{background:#906fa5;}.current-color-preview,.brush-demo-dot{background:#5f3977;}.complete-stars{color:#5f3977;}
