:root{--ink:#623b47;--muted:#7e4b5a;--blue:#814d5d;--blue-deep:#7b4a59;--leaf:#875161;--line:#f4eedb;--paper:#ffffff;--page:#fdfcf8;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%,#f7f3e4 0,transparent 37%),radial-gradient(ellipse at 5% 78%,#f5f0dd 0,transparent 38%),#fdfcf9;}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 #a76d7e;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,#da94a9,#7a4a58);color:#ffffff;font-size:34px;border-radius:17px;box-shadow:0 5px 0 #f3edd6;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:#94586a;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 #f0e7ca;border-radius:13px;padding:8px 12px;background:#ffffffc9;color:#683f4b;font-weight:800;font-size:12px}.icon-button>span:first-child{font-size:21px;line-height:1}.icon-button:hover{background:#faf7ed}.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:#7e4b5a;letter-spacing:1.8px;font-size:10px;font-weight:900;line-height:1.5}.eyebrow>span{color:#a3707f;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:#814d5d}.welcome-description{max-width:500px;font-size:18px;line-height:1.7;color:#774856;margin:0 0 28px}.primary-button{border:0;border-radius:18px;padding:17px 24px;min-height:57px;background:linear-gradient(140deg,#aa7081,#774856);color:#ffffff;box-shadow:0 6px 0 #7b4a59,0 12px 24px #7445532b;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 #7b4a59,0 16px 25px #7445532b}.primary-button:active{transform:translateY(4px);box-shadow:0 2px 0 #7b4a59}.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 #f6f1df;border-radius:24px;padding:8px 11px;font-size:11px;font-weight:800;color:#744654}.welcome-note{font-size:12px;color:#8f5667;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,#fdfcf7,#f7f3e4);box-shadow:inset 0 0 0 10px #ffffff9c,0 25px 70px #76465422;overflow:hidden}.hero-portrait>img{width:91%;height:91%;object-fit:contain;filter:drop-shadow(0 16px 11px #5e394424)}.hero-orbit{position:absolute;border-radius:50%;z-index:-1;border:2px dashed #e8bdca}.orbit-one{inset:12px -7px 35px 0;transform:rotate(14deg)}.orbit-two{width:70%;height:70%;top:17%;left:-8%;border-color:#e6b7c5}.hero-star{position:absolute;right:2%;top:0;font-size:64px;color:#b78795;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 #74455326;font-size:12px;font-weight:900;color:#734855}.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:#f7f3e4;box-shadow:0 10px 28px #7955601c;border-radius:20px;text-align:center;transform:rotate(3deg)}.petal-note strong,.petal-note span{display:block}.petal-note strong{font-size:16px;color:#764c59}.petal-note span{font-size:11px;color:#89646f;margin-top:5px}.site-footer{min-height:65px;padding:20px 0;text-align:center;font-size:11px;color:#895262}.site-footer a{color:#6d414e;text-underline-offset:3px;font-weight:800}.site-footer>span{color:#a56a7c;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:#faf7ec;border:1px solid #e7b9c7;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:#905667;grid-row:1/3}.star-counter strong{font-size:24px;letter-spacing:-1px;color:#5c3843}.star-counter small{font-size:9px;font-weight:800;color:#845060}.progress-track{height:10px;border-radius:20px;background:#f5f0dd;overflow:hidden;margin:20px 0 25px}.progress-track>div{width:0;height:100%;background:linear-gradient(90deg,#b48b97,#875161);border-radius:20px;transition:width .35s}.question-card{position:relative;background:#ffffffed;border:1px solid #f5f0de;box-shadow:0 18px 60px #74465414;border-radius:30px;padding:29px 30px 25px;text-align:center}.question-tag{display:inline-block;padding:7px 13px;background:#f7f3e5;border-radius:20px;font-size:9px;letter-spacing:1.5px;font-weight:900;color:#82505f}.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:#814d5d}.hear-button{background:#fbf9f1;border:1px solid #f3edd7;border-radius:22px;padding:8px 15px;color:#6f424f;font-size:12px;font-weight:800}.hear-button span{font-size:18px;margin-right:6px}.hear-button:hover{background:#f7f3e4}.question-help{font-size:13px;color:#885161;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 #f4eedb;border-radius:23px;padding:18px 9px 12px;background:radial-gradient(ellipse at 50% 70%,#faf7ee 0,transparent 65%),#fefefc;box-shadow:0 5px 0 #f6f2e2;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%,#f7f3e4 0,transparent 65%),#fdfcfa}.answer-card:nth-child(3){background:radial-gradient(ellipse at 50% 70%,#f8f4e6 0,transparent 65%),#fefefc}.answer-card:nth-child(4){background:radial-gradient(ellipse at 50% 70%,#f9f5e9 0,transparent 65%),#fefdfb}.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 #72455220)}.answer-card:hover:not(:disabled){transform:translateY(-5px);border-color:#dea1b3;box-shadow:0 10px 0 #f5f0de}.choice-number{position:absolute;top:10px;left:11px;width:24px;height:24px;display:grid;place-items:center;background:#ffffff;border:1px solid #f3edd6;border-radius:50%;font-size:10px;font-weight:800;color:#8d5566}.answer-card.wrong{animation:gentle-shake .35s ease;border-color:#dd9db0}.answer-card.correct{background:#f9f5e9!important;border-color:#b48190;box-shadow:0 5px 0 #e4b4c2}.answer-card.correct:after{content:'✓';position:absolute;top:9px;right:10px;width:27px;height:27px;display:grid;place-items:center;background:#8b5364;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:#754755;margin-top:3px}.feedback-area{min-height:73px;margin-top:20px}.feedback-message{font-size:15px;font-weight:900;color:#774755;margin:0 0 5px}.feedback-message.is-correct{color:#804d5c}.feedback-message.is-retry{color:#7e4b5a}.flower-fact{font-size:13px;line-height:1.5;color:#794957;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:#95596b;margin:17px 0 0}.complete-screen{max-width:750px;margin:30px auto 60px;padding:40px 35px;border-radius:35px;background:linear-gradient(145deg,#ffffff,#fbf9f2);border:5px solid #ffffff;box-shadow:0 20px 60px #74465426;text-align:center}.complete-badge{display:grid;place-items:center;width:85px;height:85px;border-radius:27px;background:linear-gradient(135deg,#e4b4c2,#8e5667);color:#ffffff;font-size:62px;margin:0 auto 22px;box-shadow:0 7px 0 #f2ebd4;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:#794957;line-height:1.6;font-size:15px;max-width:540px;margin:0 auto}.complete-stars{color:#a26376;font-size:35px;letter-spacing:7px;line-height:1.4;margin:24px 0;text-shadow:0 3px #ebc7d2}.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 #f0e8cb;border-radius:17px;padding:15px 20px;background:#ffffff;color:#693f4c;font-size:13px;font-weight:900}.secondary-button:hover{background:#faf8ef}.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:#683e4b;color:white;font-size:12px;line-height:1.5;box-shadow:0 8px 26px #683e4b40;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:#fdfcf7f2;border-radius:22px;color:#834f5f;font-size:15px;text-align:center;font-weight:800}.local-image-loader button{padding:10px 17px;background:#814d5d;color:#ffffff;border:0;border-radius:12px;font-weight:800}.hear-button:disabled{opacity:.5;cursor:default}

/* Rose: warm cream, golden centers and sage leaves. */
:root{--ink:#5e2f3d;--muted:#70585f;--ink-soft:#70585f;--blue:#77394c;--blue-deep:#491f2c;--leaf:#77394c;--violet:#77394c;--violet-deep:#491f2c;--purple:#77394c;--purple-dark:#491f2c;--purple-bright:#b68493;--lavender:#faf7ec;--lilac:#f4edd7;--hairline:#e2acbc;--line:#e2acbc;--stroke:#e2acbc;--page:#fefdfb;--paper:#ffffff;}

body{background:radial-gradient(ellipse at 90% 8%,#eac4cf 0,transparent 37%),radial-gradient(ellipse at 5% 78%,#f3ecd4 0,transparent 38%),#fefdfb;}.brand-mark{background:linear-gradient(145deg,#f2ebd3,#e2aebd);color:#491f2c;}.primary-button{background:linear-gradient(135deg,#f2ebd3,#e2aebd);color:#491f2c;box-shadow:0 6px 0 #a57986,0 12px 24px #77394c28;}.primary-button:hover{box-shadow:0 8px 0 #a57986,0 16px 25px #77394c28;}.primary-button:active{box-shadow:0 2px 0 #a57986;}
h1 em,h2 em,.question-card h2 span{color:#77394c;}.hero-portrait{background:linear-gradient(145deg,#fdfbf6,#e7bcc9);}.hero-label,.petal-note{background:#f5f0de;color:#77394c;}.question-tag{background:#f4eedb;color:#77394c;}.progress-fill{background:#995c6e;}.answer-card.correct{background:#faf7ec!important;border-color:#aa7283;}.answer-card.correct:after{background:#77394c;}.feedback-message.is-correct,.answer-card .flower-name{color:#77394c;}.toast{background:#491f2c;color:#ffffff;}.local-image-loader{background:#fefdfbf2;color:#5e2f3d;}.local-image-loader button{background:#77394c;color:#ffffff;}
.hear-button,.icon-button{color:#5e2f3d;background:#faf7ec;border-color:#e2acbc;}.hear-button:hover,.icon-button:hover{background:#f3ecd5;}.star-counter{background:#f3ecd5;color:#5e2f3d;}#progress-fill{background:#995c6e;}.complete-stars{color:#865161;}.complete-badge{background:linear-gradient(135deg,#f2ebd3,#e2aebd);color:#491f2c;}

/* Rose: rose-pink blossoms, cream backgrounds and dark berry text. */
:root{--ink:#5e2f3d;--muted:#70585f;--ink-soft:#70585f;--blue:#77394c;--blue-deep:#491f2c;--leaf:#77394c;--violet:#77394c;--violet-deep:#491f2c;--purple:#77394c;--purple-dark:#491f2c;--purple-bright:#dc9caf;--gold:#eac5d0;--lavender:#faf7ec;--lilac:#f4edd7;--hairline:#e2acbc;--line:#e2acbc;--stroke:#e2acbc;--page:#fefdfb;--paper:#fff;}
.primary-button,.start-button,.save-button,.brand-icon,.brand-mark{background:linear-gradient(135deg,#f2ebd3,#e2aebd)!important;color:#491f2c!important;}.primary-button,.start-button,.save-button{box-shadow:0 6px 0 #a57986,0 12px 25px #77394c28!important;}.primary-button:hover:not(:disabled),.start-button:hover,.save-button:hover:not(:disabled){background:linear-gradient(135deg,#f6f1e1,#eac5d0)!important;}.primary-button:active:not(:disabled){box-shadow:0 2px 0 #a57986,0 4px 13px #77394c28!important;}
.toast{background:#491f2c;color:#fff;border-color:#e2acbc;}.dialog-backdrop,.confirm-overlay{background:#3b2028bc;}.dialog-card,.victory-card,.confirm-card{background:linear-gradient(145deg,#fff,#faf7ec);border-color:#f4edd7;color:#5e2f3d;}.dialog-card h2,.confirm-card h2{color:#491f2c;}.dialog-card p,.confirm-card p{color:#70585f;}.victory-card h2 em,.victory-eyebrow{color:#77394c;}.victory-stats span{background:#faf7ec;color:#77394c;border-color:#e4b4c2;}
.board-overline,.board-footer-tip span{color:#77394c;}.board-footer-tip,.tray-heading p,.tray-bottom,.tray-page-hint{color:#70585f;}.zoom-controls>span,.zoom-controls strong{color:#5e2f3d;}.zoom-controls button,.tray-navigation button{background:#faf7ec;color:#5e2f3d;border-color:#e2acbc;}.tray-viewport{background:linear-gradient(120deg,#faf7ec,#fff);border-color:#e2acbc;}.tray-tile.is-selected{border-color:#a56f7f;background:#eac5d055;box-shadow:0 0 0 3px #a56f7f38,0 5px 14px #77394c29;}
.progress-card{background:linear-gradient(145deg,#965a6c,#77394c);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,#eac5d0,#faf7ec);}#progress-fill{background:#a56f7f;}.current-color-preview,.brush-demo-dot{background:#77394c;}.complete-stars{color:#77394c;}
