:root{color:#254966;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--ink:#254966;--ink-soft:#506b80;--cream:#f1f9ff;--sun:#f5b642;--sun-deep:#dc6f39;--sea:#6daed5;--sea-deep:#23658f;--sky:#347ba9;--leaf:#6aa85f;--berry:#d85d65;--paper:#fffffff5;--line:#42729433;--shadow:0 18px 42px #2f61861a;background:#f1f9ff;font-family:Inter,Avenir Next,Segoe UI,system-ui,sans-serif}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{min-width:320px;color:var(--ink)}button,input{font:inherit}button{cursor:pointer;border:0}img{max-width:100%;display:block}h1,h2,h3,p{margin:0}.loading-shell,.kid-shell{justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex}.loading-card{width:min(100%,720px);box-shadow:var(--shadow);background:#ffffffd6;border-radius:8px;padding:40px}.panel-kicker,.parent-kicker,.gate-kicker,.parent-panel-kicker{letter-spacing:.08em;text-transform:uppercase;color:var(--sea-deep);font-size:.94rem}.kid-shell{overflow:hidden}.lobby-stage,.quiz-stage,.reward-stage{border:1px solid var(--line);width:min(100%,1180px);min-height:calc(100vh - 48px);box-shadow:var(--shadow);background:linear-gradient(90deg,#2f75b50f 0 1px,#0000 1px 100%) 0 0/18px 18px,linear-gradient(#2f75b50f 0 1px,#0000 1px 100%) 0 0/18px 18px,#fffdf6eb;border-radius:8px;padding:28px;position:relative;overflow:hidden}.reward-burst{opacity:.92;animation:9s ease-in-out infinite floaty;position:absolute}.hero-panel,.question-panel,.reward-panel,.kid-panel,.parent-panel,.stat-card,.gate-modal{border:1px solid var(--line);background:var(--paper);border-radius:8px;position:relative;box-shadow:0 14px 30px #1c2b331a}.hero-panel{box-shadow:none;background:0 0;border:0;grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);gap:28px;padding:6px 6px 24px;display:grid}.hero-copy{flex-direction:column;gap:16px;display:flex}.hero-copy h1,.quiz-header h1,.reward-panel h1{letter-spacing:0;font-size:clamp(2.8rem,5vw,5rem);line-height:.92}.hero-copy p,.reward-panel p,.question-copy h2,.parent-panel>p,.stat-card p,.gate-copy{color:var(--ink-soft);font-size:clamp(1.1rem,1.45vw,1.45rem);line-height:1.45}.hero-pills,.reward-chips{flex-wrap:wrap;gap:10px;display:flex}.hero-visual{align-content:stretch;gap:10px;min-height:310px;display:grid}.hero-visual-card{background:linear-gradient(135deg,#2f75b51f,#0000 42%),linear-gradient(225deg,#d85d6521,#0000 48%),#fffefa;border:1px solid #1c2b331f;border-radius:8px;place-items:center;min-height:254px;display:grid;overflow:hidden}.hero-visual-card img{filter:drop-shadow(0 18px 28px #2f61861a);width:min(88%,420px)}.hero-visual-strip{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.hero-visual-strip span{color:#fff;text-transform:uppercase;letter-spacing:.08em;background:#275b7d;border-radius:8px;place-items:center;min-height:44px;font-weight:900;display:grid}.hero-score-label{font-size:1.05rem;font-weight:700}.info-pill{border-radius:8px;justify-content:center;align-items:center;padding:10px 16px;font-size:.96rem;font-weight:800;display:inline-flex}.info-pill-sun{color:#7a4f0c;background:#ffc4603d}.info-pill-sea{color:#136764;background:#40b7ac29}.info-pill-ink{color:#325f7e;background:#17484e17}.star-visualizer{gap:10px;display:flex}.star-token{color:#ffb8384d;text-shadow:0 10px 18px #ffb8382e;font-size:clamp(2rem,2.4vw,2.8rem)}.star-token-filled{color:var(--sun)}.lobby-grid,.parent-grid{grid-template-columns:1.2fr .8fr;gap:18px;margin-top:20px;display:grid}.parent-grid-wide{grid-template-columns:1fr}.kid-panel,.parent-panel,.stat-card{flex-direction:column;gap:18px;padding:24px;display:flex}.summary-pair{border-bottom:1px dashed #1f545c24;justify-content:space-between;gap:16px;padding:16px 0;display:flex}.summary-pair strong{font-size:2rem}.massive-button{border-radius:8px;min-height:88px;padding:18px 28px;font-size:clamp(1.35rem,1.9vw,1.85rem);font-weight:900;transition:transform .12s,box-shadow .12s,opacity .12s}.massive-button:hover{transform:translateY(-2px)}.massive-button:disabled{opacity:.45;cursor:not-allowed}.massive-button-sunrise{color:#fff;background:#23658f;box-shadow:0 16px 26px #2f75b540}.massive-button-seafoam{color:#fff;background:#23658f;box-shadow:0 16px 26px #236d7138}.massive-button-paper{color:var(--ink);border:1px solid var(--line);background:#fff}.massive-button-compact{width:100%;min-height:56px;padding:12px 20px;font-size:1.2rem}.parent-button{min-height:44px;color:var(--ink);background:#ffffffe0;border:1px solid #1f545c24;border-radius:8px;padding:0 14px;font-size:.95rem;font-weight:800;transition:transform .12s,box-shadow .12s,opacity .12s}.parent-button:hover{transform:translateY(-1px);box-shadow:0 10px 20px #17484e14}.parent-button:disabled{opacity:.48;cursor:not-allowed;box-shadow:none;transform:none}.parent-button-primary{color:#fff;background:#23658f;border-color:#0000}.parent-button-secondary{color:#325f7e;background:#ffffffeb}.parent-button-danger{color:#8d2435;background:#7e202d14;border-color:#8d24352e}.pack-list-actions{justify-items:end;gap:10px;margin-top:auto;padding-top:16px;display:grid}.pack-actions-note{color:var(--ink-soft);text-align:right;margin:0}.pack-section{gap:14px;margin-top:28px;display:grid}.pack-library-hero{grid-template-columns:minmax(0,1fr) auto;align-items:start;display:grid}.pack-library-status,.pack-section-count{color:#fff;text-align:center;background:#275b7d;border-radius:8px;place-items:center;display:grid}.pack-library-status{min-width:116px;min-height:78px}.pack-library-status strong{font-size:2rem;line-height:1}.pack-library-status span,.pack-section-count{letter-spacing:.08em;text-transform:uppercase;font-size:.8rem;font-weight:900}.pack-summary-strip{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.pack-summary-strip div{background:linear-gradient(#fff,#f1f8fe);border:1px solid #1f545c1f;border-radius:8px;align-content:center;gap:6px;min-height:92px;padding:16px;display:grid}.pack-summary-strip span{color:var(--sea-deep);letter-spacing:.08em;text-transform:uppercase;font-size:.82rem;font-weight:900}.pack-summary-strip strong{font-size:2rem}.pack-section-header{justify-content:space-between;align-items:end;gap:16px;display:flex}.pack-section-header h4{margin:0}.pack-section-count{min-width:42px;min-height:42px}.parent-hotzone{z-index:4;background:0 0;border-radius:8px;width:72px;height:72px;position:absolute;inset:12px 12px auto auto}.parent-hotzone-pressing{box-shadow:inset 0 0 0 4px #40b7ac4d}.quiz-stage{gap:20px;display:grid}.quiz-header{gap:18px;display:grid}.progress-rail{background:#1c2b3314;border-radius:8px;height:18px;overflow:hidden}.progress-fill{border-radius:inherit;background:linear-gradient(90deg, var(--sky) 0%, var(--leaf) 52%, var(--sun) 100%);height:100%;transition:width .22s;display:block}.question-panel{border-left:10px solid var(--sky);grid-template-columns:minmax(260px,360px) 1fr;align-items:center;gap:20px;padding:24px;display:grid}.question-art{background-color:#fffefa;background-image:linear-gradient(90deg,#2f75b514 1px,#0000 1px),linear-gradient(#2f75b514 1px,#0000 1px),none;background-position:0 0,0 0,0 0;background-repeat:repeat,repeat,repeat;background-size:16px 16px;background-attachment:scroll,scroll,scroll;background-origin:padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box;border-radius:8px;place-items:center;min-height:260px;padding:18px;display:grid}.question-art img{object-fit:contain;max-height:240px}.question-copy{flex-direction:column;gap:16px;display:flex}.question-copy h2{color:var(--ink);font-size:clamp(2.2rem,3vw,3.5rem);line-height:1.02}.question-emoji{font-size:2.4rem}.feedback-ribbon{background:#ffffffd1;border:1px solid #1f545c1f;border-radius:8px;justify-content:space-between;align-items:center;gap:16px;min-height:72px;padding:16px 20px;display:flex;box-shadow:0 10px 22px #17484e0f}.feedback-ribbon strong{font-size:clamp(1.25rem,2vw,1.65rem)}.feedback-ribbon span{color:var(--ink-soft);text-align:right;font-size:clamp(1rem,1.35vw,1.25rem);font-weight:700}.feedback-ribbon-correct{background:linear-gradient(135deg,#eaf9e5fa,#ffffffe0);border-color:#6aa85f61}.feedback-ribbon-wrong{background:linear-gradient(135deg,#ffebecfa,#ffffffe0);border-color:#d85d6552}.answers-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.answer-card{text-align:left;background:#ffffffdb;border:2px solid #0000;border-radius:8px;align-items:center;gap:18px;min-height:124px;padding:18px 20px;transition:transform .1s,background .14s,border-color .14s;display:flex;box-shadow:0 10px 24px #17484e14}.answer-card:hover{transform:translateY(-2px)scale(1.01)}.answer-card:disabled{cursor:default}.answer-card-marker{background:#1c2b3314;border-radius:8px;flex:0 0 52px;place-items:center;width:52px;height:52px;font-size:1.15rem;font-weight:900;display:grid}.answer-card-label{font-size:clamp(1.3rem,1.7vw,1.8rem);font-weight:800}.answer-card-correct{background:#eaf9e5f5;border-color:#6aa85fb8;box-shadow:0 16px 30px #4a8b4529}.answer-card-wrong{background:#ffebecf5;border-color:#d85d659e}.reward-stage{place-items:center;display:grid}.reward-burst-left{clip-path:polygon(50% 0,60% 34%,96% 34%,66% 54%,78% 90%,50% 68%,22% 90%,34% 54%,4% 34%,40% 34%);background:#2f75b533;width:180px;height:180px;top:80px;left:90px}.reward-burst-right{clip-path:polygon(12% 20%,88% 20%,100% 50%,88% 80%,12% 80%,0 50%);background:#f5b64247;width:220px;height:220px;animation-delay:-2s;bottom:70px;right:70px}.reward-panel{text-align:center;justify-items:center;gap:18px;width:min(100%,700px);padding:40px;animation:.32s pop-in;display:grid}.reward-chips span{background:#40b7ac24;border-radius:8px;padding:10px 16px;font-weight:800}.reward-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:min(100%,440px);display:grid}.reward-stats div{background:#ffffffc7;border:1px solid #1f545c1f;border-radius:8px;align-content:center;gap:4px;min-height:96px;padding:16px;display:grid}.reward-stats span{color:var(--sea-deep);letter-spacing:.08em;text-transform:uppercase;font-size:.85rem;font-weight:900}.reward-stats strong{font-size:2rem}.reward-detail{font-size:1rem}.gate-backdrop{z-index:20;background:#0e242961;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.gate-modal{gap:16px;width:min(100%,480px);padding:28px;display:grid}.gate-input{border:1px solid var(--line);border-radius:8px;min-height:64px;padding:12px 16px;font-size:1.5rem}.gate-error{color:#bd5217;font-weight:700}.gate-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.parent-shell{background:linear-gradient(145deg,#f1f9ff 0%,#f8fcff 65%,#fdf6fa 100%);grid-template-columns:260px 1fr;min-height:100vh;display:grid}.parent-sidebar{border-right:1px solid var(--line);color:var(--ink);background:#fffffff0;flex-direction:column;gap:20px;padding:28px 20px;display:flex}.parent-sidebar h1{font-size:2rem;line-height:1}.parent-sidebar-header{gap:10px;display:grid}.parent-sidebar-header p:last-child{color:var(--ink-soft);line-height:1.35}.sidebar-nav{gap:8px;display:grid}.sidebar-link,.sidebar-exit{min-height:58px;color:inherit;text-align:left;background:#ffffff9e;border:1px solid #1f545c1f;border-radius:8px;padding:10px 14px;font-weight:700;transition:background .12s,transform .12s}.sidebar-link{align-content:center;gap:2px;display:grid}.sidebar-link span{color:var(--sea-deep);letter-spacing:.08em;text-transform:uppercase;font-size:.72rem;font-weight:900;display:block}.sidebar-link strong{font-size:1.02rem;display:block}.sidebar-link:hover,.sidebar-exit:hover{background:#ffffffeb;transform:translateY(-1px)}.sidebar-link-active{color:#fff;background:#275b7d;box-shadow:0 12px 24px #1c2b3321}.sidebar-link-active:hover{background:#275b7d}.sidebar-link-active span{color:#d7eeff}.sidebar-spacer{flex-grow:1}.sidebar-reset{color:#8d2435;margin-top:auto;margin-bottom:8px}.sidebar-exit{margin-top:auto}.sidebar-exit-grouped{margin-top:0}.parent-main{padding:28px;overflow:auto}.parent-header{justify-content:space-between;align-items:center;gap:18px;min-height:88px;margin-bottom:18px;display:flex}.parent-header h2{letter-spacing:0;font-size:2.6rem;line-height:1}.stat-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;display:grid}.stat-grid-spaced{margin-bottom:20px}.parent-overview-strip{border:1px solid var(--line);background:linear-gradient(135deg,#2f75b51a,#0000 42%),#fffffff5;border-radius:8px;grid-template-columns:minmax(0,1fr) minmax(260px,.8fr);align-items:center;gap:18px;margin-bottom:20px;padding:22px 24px;display:grid;box-shadow:0 14px 30px #1c2b3314}.parent-overview-strip h3{margin:4px 0 0;font-size:clamp(1.5rem,2.2vw,2rem)}.parent-overview-strip>p{color:var(--ink-soft);font-size:1.05rem;line-height:1.4}.parent-panel header{gap:4px;display:grid}.parent-panel h3{letter-spacing:-.02em;font-size:1.6rem}.stat-card strong{font-size:2.4rem}.stat-card-label{color:var(--sea-deep);text-transform:uppercase;letter-spacing:.08em;font-size:.92rem}.trend-list,.review-list,.pack-list,.content-list,.review-queue-list,.question-list,.attempt-list{gap:12px;display:grid}.probe-refresh{justify-self:start}.probe-refresh:disabled{opacity:.55;cursor:wait}.probe-error{color:#bd5217;font-weight:700}.dev-fixture-note{z-index:30;background:#fffaf0f5;border:1px solid #1f545c24;border-radius:8px;width:min(100% - 32px,420px);padding:12px 14px;font-size:.95rem;line-height:1.45;position:fixed;bottom:16px;right:16px;box-shadow:0 16px 32px #17484e24}.trend-row{border-bottom:1px solid #1f545c14;gap:8px;padding:14px 0;display:grid}.trend-row-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.trend-date{font-size:.95rem;font-weight:700}.trend-values{color:var(--ink-soft);font-size:.88rem}.trend-values strong{color:var(--ink);font-size:.92rem}.trend-bar-pair{gap:4px;display:grid}.trend-bar{background:#1c2b330f;border-radius:3px;height:6px;overflow:hidden}.trend-bar-fill{border-radius:inherit;height:100%;transition:width .4s;display:block}.trend-bar-completion{background:linear-gradient(90deg, var(--sky) 0%, var(--sea) 100%)}.trend-bar-accuracy{background:linear-gradient(90deg, var(--leaf) 0%, var(--sea) 100%)}.review-row{border-bottom:1px dashed #1f545c24;gap:4px;padding:14px 0;display:grid}.pack-row{background:#ffffff9e;border:1px solid #1f545c1a;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:16px;padding:16px;display:grid}.pack-row-main,.pack-row-title,.pack-row-actions,.pack-meta,.detail-header-actions,.question-meta,.review-card-meta{flex-wrap:wrap;gap:8px;display:flex}.pack-row-main,.detail-header-copy,.question-card-copy,.attempt-row-main{gap:8px;display:grid}.pack-row-title{align-items:center}.pack-description{color:var(--ink-soft);font-size:.98rem}.pack-row-actions{justify-content:flex-end}.pack-meta,.review-card-meta,.question-meta,.attempt-meta,.attempt-selection{color:var(--ink-soft);font-size:.92rem}.pack-meta span{background:#17484e0f;border-radius:8px;padding:4px 8px}.pack-status-badge,.queue-source-badge,.info-chip,.parent-inline-note{border-radius:8px;justify-content:center;align-items:center;min-height:28px;padding:0 10px;font-size:.82rem;font-weight:800;display:inline-flex}.pack-status-badge{color:#325f7e;background:#1f545c14}.pack-status-installed,.queue-source-missed{color:#136764;background:#40b7ac24}.pack-status-installable{color:#8a5a08;background:#ffb8382e}.pack-status-update-available,.queue-source-wrong{color:#9a4f18;background:#f1842b29}.pack-status-local-only,.info-chip-muted,.parent-inline-note{color:#4f696c;background:#17484e14}.detail-header{justify-content:space-between;gap:16px;display:flex}.detail-screen-header{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:18px;display:grid}.detail-header-meter{color:#fff;text-align:center;background:#275b7d;border-radius:8px;place-items:center;min-width:118px;min-height:78px;padding:12px;display:grid}.detail-header-meter strong{font-size:2rem;line-height:1}.detail-header-meter span{letter-spacing:.08em;text-transform:uppercase;font-size:.78rem;font-weight:900}.detail-header-copy{max-width:760px}.detail-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.detail-summary-compact{margin:4px 0 10px}.detail-stat,.review-card,.question-card,.attempt-row{background:#ffffffb8;border:1px solid #1f545c1a;border-radius:8px}.detail-stat,.review-card,.question-card{padding:18px}.detail-stat{gap:6px;display:grid}.detail-stat strong{font-size:1.8rem}.detail-stat-positive{border-left:3px solid var(--sea);padding-left:15px}.detail-stat-caution{border-left:3px solid var(--sun-deep);padding-left:15px}.detail-stat-label{letter-spacing:.08em;text-transform:uppercase;color:var(--sea-deep);font-size:.82rem;font-weight:800}.stat-bar{background:#1c2b3314;border-radius:3px;height:6px;overflow:hidden}.stat-bar-fill{border-radius:inherit;height:100%;transition:width .32s;display:block}.stat-bar-correct{background:linear-gradient(90deg, var(--sea) 0%, var(--leaf) 100%)}.stat-bar-wrong{background:linear-gradient(90deg, var(--sun-deep) 0%, var(--berry) 100%)}.detail-warning{color:#8e4e19;background:#f1842b1f;border-radius:8px;padding:14px 16px;font-weight:700}.question-card{gap:14px;transition:box-shadow .12s;display:grid}.question-card:hover{box-shadow:0 10px 24px #17484e14}.question-card-excluded{opacity:.55}.question-card-prompt{font-size:1.08rem}.info-chip-warn{color:#9a4f18;background:#f1842b24}.info-chip-default{color:var(--ink-soft);background:#17484e0f}.question-card-header,.review-card-top,.attempt-row{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:14px;display:grid}.question-actions{justify-content:flex-end;align-items:flex-start;display:flex}.question-issues{color:#8d2435;gap:6px;margin:0;padding-left:18px;display:grid}.question-choice-strip{flex-wrap:wrap;gap:8px;display:flex}.question-choice-chip{min-height:32px;color:var(--ink-soft);background:#17484e0f;border-radius:8px;align-items:center;gap:6px;padding:7px 10px;font-size:.9rem;font-weight:700;display:inline-flex}.question-choice-key{opacity:.6;font-size:.82rem;font-weight:900}.question-choice-chip-correct{color:#136764;background:#40b7ac29;border:1px solid #40b7ac47}.question-choice-chip-correct .question-choice-key{opacity:1}.question-history-details{border-top:1px solid #1f545c14;padding-top:10px}.question-history-toggle{cursor:pointer;color:var(--sea-deep);padding:4px 0;font-size:.88rem;font-weight:800}.question-history-content{margin-top:10px}.attempt-row{align-items:center;padding:14px 16px;transition:box-shadow .12s}.attempt-row:hover{box-shadow:0 6px 16px #17484e0f}.attempt-row-correct{border-left:3px solid var(--sea)}.attempt-row-wrong{border-left:3px solid var(--sun-deep)}.attempt-row-missed{border-left:3px solid #1c2b332e}.attempt-row-top{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.attempt-row-bottom{gap:2px;display:grid}.attempt-pack-chip{color:var(--ink-soft);background:#17484e0f;border-radius:6px;padding:2px 8px;font-size:.78rem;font-weight:800}.attempt-list-compact .attempt-row{padding:12px 14px}.attempt-selection{font-weight:600}.attempt-outcome{text-align:center;border-radius:8px;justify-content:center;align-items:center;gap:5px;min-width:86px;padding:10px 12px;font-size:.82rem;font-weight:900;display:flex}.attempt-outcome-icon{font-size:1rem;line-height:1}.attempt-outcome-correct{color:#136764;background:#40b7ac29}.attempt-outcome-wrong{color:#9a4f18;background:#f1842b29}.attempt-outcome-missed{color:#4f696c;background:#17484e14}.review-card{gap:10px;transition:border-color .12s,box-shadow .12s;display:grid}.review-card:hover{box-shadow:0 12px 28px #17484e1a}.review-card-low{border-left:4px solid var(--sea)}.review-card-mid{border-left:4px solid var(--sun)}.review-card-high{border-left:4px solid var(--berry)}.review-card-copy{gap:4px;display:grid}.review-card-prompt{font-size:1.08rem}.review-card-pack{color:var(--ink-soft);font-size:.92rem}.review-card-badges{flex-wrap:wrap;align-items:flex-start;gap:6px;display:flex}.repeat-badge{border-radius:8px;align-items:center;min-height:26px;padding:0 10px;font-size:.78rem;font-weight:900;display:inline-flex}.repeat-badge-low{color:#136764;background:#40b7ac24}.repeat-badge-mid{color:#8a5a08;background:#ffb8382e}.repeat-badge-high{color:#8d2435;background:#d85d6529}.review-card-meta-chip{background:#17484e0f;border-radius:6px;padding:3px 8px;font-weight:700}.parent-empty-state{color:var(--ink-soft)}.parent-empty-state-card{text-align:center;background:#ffffff80;border:1px dashed #1f545c2e;border-radius:8px;justify-items:center;gap:6px;padding:28px;display:grid}.parent-empty-state-card strong{font-size:1.1rem}.parent-empty-state-card p{color:var(--ink-soft);font-size:.95rem}.parent-empty-state-card-inline{text-align:left;justify-items:start;padding:16px}.parent-inline-action{margin-bottom:16px}.parent-details{border-top:1px solid #1f545c1f;margin-top:28px;padding-top:18px}.parent-details summary{cursor:pointer;color:var(--sea-deep);font-weight:800}.parent-details-summary{color:var(--ink-soft);margin-left:10px;font-weight:600}.parent-details-content{margin-top:14px}.parent-panel>p.parent-empty-state,.parent-panel>p.parent-inline-note,.parent-panel>p.probe-error{font-size:.98rem}.mastery-list{gap:10px;display:grid}.mastery-row{background:#ffffffb8;border:1px solid #1f545c1a;border-radius:8px;gap:8px;padding:14px 16px;transition:box-shadow .12s;display:grid}.mastery-row:hover{box-shadow:0 8px 20px #17484e14}.mastery-row-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.mastery-row-header strong{font-size:1.02rem}.mastery-pct{font-size:1.1rem;font-weight:900}.mastery-pct-strong{color:#136764}.mastery-pct-mid{color:#8a5a08}.mastery-pct-weak{color:#8d2435}.mastery-bar{background:#1c2b330f;border-radius:4px;height:8px;overflow:hidden}.mastery-bar-fill{border-radius:inherit;height:100%;transition:width .4s;display:block}.mastery-bar-strong{background:linear-gradient(90deg, var(--sea) 0%, var(--leaf) 100%)}.mastery-bar-mid{background:linear-gradient(90deg, var(--sun) 0%, var(--sun-deep) 100%)}.mastery-bar-weak{background:linear-gradient(90deg, var(--berry) 0%, var(--sun-deep) 100%)}.mastery-detail{color:var(--ink-soft);font-size:.85rem}.data-grid{overflow-x:auto}.data-grid table{border-collapse:collapse;width:100%}.data-grid th,.data-grid td{text-align:left;border-bottom:1px solid #1f545c14;padding:14px 12px}.data-grid th{color:var(--sea-deep);letter-spacing:.08em;text-transform:uppercase;font-size:.82rem;font-weight:900}.data-grid tbody tr{transition:background .1s}.data-grid tbody tr:hover{background:#fff9}.data-grid td:last-child{font-weight:700}@keyframes floaty{0%,to{transform:translate(0,0)}50%{transform:translateY(-14px)}}@keyframes pop-in{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@media (width<=980px){.hero-panel,.question-panel,.lobby-grid,.parent-grid,.parent-shell,.parent-overview-strip,.pack-summary-strip,.answers-grid,.stat-grid,.reward-stats{grid-template-columns:1fr}.parent-shell{display:block}.parent-sidebar{border-bottom-right-radius:8px;border-bottom-left-radius:8px}.sidebar-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar-link{min-width:0}.detail-summary,.detail-screen-header,.pack-row,.question-card-header,.review-card-top,.attempt-row{grid-template-columns:1fr}.detail-header-meter{width:100%}.pack-row-actions,.detail-header-actions,.question-actions{justify-content:flex-start}}@media (width<=680px){.lobby-stage,.quiz-stage,.reward-stage,.parent-main{padding:18px}.hero-panel,.question-panel,.reward-panel,.kid-panel,.parent-panel,.gate-modal{padding:20px}.hero-visual{min-height:220px}.hero-visual-card{min-height:180px}.parent-header{flex-direction:column;align-items:flex-start}.pack-library-hero{grid-template-columns:1fr}.pack-library-status{width:100%}.gate-actions{grid-template-columns:1fr}.feedback-ribbon{flex-direction:column;align-items:flex-start}.feedback-ribbon span{text-align:left}.detail-header{flex-direction:column}.detail-summary{grid-template-columns:1fr}}.parent-panel,.stat-card,.gate-modal,.parent-overview-strip{border-radius:18px}.sidebar-link,.sidebar-exit,.parent-button{border-radius:12px}.parent-button:focus-visible,.sidebar-link:focus-visible,.sidebar-exit:focus-visible,.gate-input:focus-visible{outline-offset:3px;outline:3px solid #174a70}.kid-shell{--kid-ink:#254966;--kid-soft:#506b80;--kid-blue:#23658f;--kid-bg:#f1f9ff;--kid-sky:#e4f3fc;min-height:100svh;padding:max(24px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(32px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));background:var(--kid-bg);color:var(--kid-ink);-webkit-tap-highlight-color:transparent;font-family:Avenir Next,Apple SD Gothic Neo,Malgun Gothic,system-ui,sans-serif;line-height:1.5;display:block;overflow:visible}.kid-shell h1{letter-spacing:-.035em;overflow-wrap:anywhere;word-break:keep-all;font-size:clamp(2rem,4.7vw,2.75rem);font-weight:750;line-height:1.35}.kid-shell button{touch-action:manipulation}.kid-shell button:focus-visible{outline-offset:5px;outline:3px solid #174a70}.kid-shell .massive-button{background:var(--kid-blue);color:#fff;border-radius:22px;min-height:72px;padding:16px 26px;font-size:1.4rem;font-weight:750;transition:background .12s;box-shadow:0 4px #184d73}.kid-shell .massive-button:hover{background:#1c5479;transform:none}.kid-shell .massive-button:disabled{color:#526a7b;opacity:1;box-shadow:none;cursor:default;background:#dfebf3}.kid-topbar{justify-content:space-between;align-items:center;gap:12px;display:flex}.kid-wordmark{color:var(--kid-soft);align-items:center;gap:8px;font-size:1rem;font-weight:700;display:inline-flex}.kid-cloud-accent{flex:none;width:32px;height:26px}.kid-parent-entry{min-height:56px;color:var(--kid-soft);-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;background:0 0;border:1px solid #bed9ea;border-radius:16px;justify-content:center;align-items:center;gap:8px;padding:8px 14px;font-size:.9rem;font-weight:600;display:flex}.kid-parent-entry small{font-size:.8rem;font-weight:500}.kid-parent-entry-pressing{background:var(--kid-sky);box-shadow:inset 0 0 0 2px var(--kid-blue)}.kid-home{width:min(100%,1000px);margin:0 auto}.kid-home-content{text-align:center;flex-direction:column;align-items:center;width:min(100%,680px);margin:clamp(20px,6vh,70px) auto 24px;display:flex}.kid-story-art{flex:none;width:min(100%,360px);height:auto;display:block}.kid-eyebrow{color:var(--kid-soft);font-size:1rem;font-weight:650}.kid-home-content .kid-eyebrow{margin:18px 0 10px}.kid-home-description{color:var(--kid-soft);text-wrap:pretty;word-break:keep-all;margin-top:16px;font-size:clamp(1.15rem,2.6vw,1.35rem)}.kid-daily-note{color:#325f7e;background:var(--kid-sky);border-radius:14px;align-items:center;gap:10px;margin:28px 0 20px;padding:10px 18px;font-size:1rem;font-weight:650;display:flex}.kid-daily-note-complete{color:#705722;background:#fff1c9}.kid-home-content .massive-button,.kid-reward .massive-button{width:min(100%,360px)}.kid-gentle-note{color:var(--kid-soft);margin-top:22px;font-size:1rem}.kid-quiz{width:min(100%,1080px);margin:0 auto}.kid-quiz-header{grid-template-columns:1fr auto;align-items:center;gap:12px;width:100%;margin-bottom:30px;display:grid}.kid-position{color:var(--kid-soft);font-variant-numeric:tabular-nums;font-size:1.05rem}.kid-position strong{color:var(--kid-ink);font-size:1.4rem}.kid-progress{grid-column:1/-1;gap:8px;margin:0;padding:0;list-style:none;display:flex}.kid-progress li{background:#e3eef6;border:1px solid #c4dbe9;border-radius:7px;flex:1;place-items:center;height:18px;font-size:.7rem;font-weight:800;line-height:1;display:grid}.kid-progress .kid-step-current{border:2px solid var(--kid-blue);background:#f1f9ff}.kid-progress .kid-step-done{border-color:var(--kid-blue);background:var(--kid-blue);color:#fff}.kid-quiz-board{align-items:start;gap:28px;display:grid}.kid-question{text-align:center;background:#fff;border:1px solid #c8deed;border-radius:28px;flex-direction:column;justify-content:center;align-items:center;gap:20px;min-width:0;min-height:190px;padding:28px;display:flex}.kid-question h1{letter-spacing:-.02em;font-size:clamp(1.85rem,4vw,2.5rem);line-height:1.4}.kid-question h1:focus{outline:none}.kid-question-art{place-items:center;width:100%;display:grid}.kid-question-art img{object-fit:contain;border-radius:16px;max-width:100%;max-height:260px}.kid-question-emoji{white-space:pre-wrap;font-size:3rem;line-height:1.2}.kid-answer-area{gap:18px;min-width:0;display:grid}.kid-answers{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.kid-answers-3{grid-template-columns:repeat(3,minmax(0,1fr))}.kid-answers-long{grid-template-columns:1fr}.kid-shell .answer-card{min-width:0;min-height:96px;color:var(--kid-ink);background:#fff;border:2px solid #7594aa;border-radius:22px;gap:14px;padding:16px 20px;transition:background .12s,border-color .12s;box-shadow:0 3px #d3e4f1}.kid-shell .answer-card:hover{background:#edf7fe;transform:none}.kid-shell .answer-card:disabled{opacity:1}.kid-shell .answer-card:disabled:hover{background:#fff}.kid-shell .answer-card-marker{color:#456981;background:#e9f4fc;border-radius:50%;flex:0 0 36px;width:36px;height:36px;font-size:1rem;font-weight:700}.kid-shell .answer-card-label{overflow-wrap:anywhere;font-size:clamp(1.25rem,2.9vw,1.6rem);font-weight:650;line-height:1.45}.kid-shell .answer-card-correct,.kid-shell .answer-card-correct:disabled:hover{border-color:var(--kid-blue);background:#e2f2fb;box-shadow:0 3px #b6d8ee}.kid-shell .answer-card-correct .answer-card-marker{background:var(--kid-blue);color:#fff}.kid-shell .answer-card-wrong,.kid-shell .answer-card-wrong:disabled:hover{box-shadow:none;background:#fff0f5;border:2px dashed #9b647b}.kid-shell .answer-card-wrong .answer-card-marker{color:#734256;background:#f6dce7}.kid-feedback{min-height:108px;color:var(--kid-soft);background:#eaf3f9;border-radius:18px;padding:18px 20px}.kid-feedback-title{align-items:baseline;gap:8px;font-size:1.05rem;font-weight:650;display:flex}.kid-feedback-title>span{flex:0 0 20px}.kid-feedback-answer{overflow-wrap:anywhere;margin-top:6px;padding-left:28px;font-size:1.05rem}.kid-feedback-answer strong{color:var(--kid-ink);font-size:1.1rem}.kid-feedback-answer-hidden{visibility:hidden}.kid-feedback-correct{color:#225878;background:#e2f2fb}.kid-feedback-wrong{color:#734256;background:#fff0f5}.kid-next{width:100%}.kid-save-error{color:#734256;font-size:1rem}.kid-reward,.kid-state-panel{text-align:center;flex-direction:column;align-items:center;gap:20px;width:min(100%,720px);margin:clamp(30px,9vh,100px) auto 32px;display:flex}.kid-reward>p:not(.kid-eyebrow),.kid-state-panel>p:not(.kid-eyebrow){color:var(--kid-soft);word-break:keep-all;font-size:1.2rem;line-height:1.7}.kid-reward .massive-button{margin-top:10px}.kid-completion-badge{color:#705722;background:#fff1c9;border-radius:14px;padding:8px 16px;font-size:1rem;font-weight:700}.kid-completion-badge span{margin-right:6px}@media (width>=1000px) and (orientation:landscape){.kid-quiz-board{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px}.kid-question{min-height:320px}.kid-question-picture{min-height:420px}.kid-answers-3{grid-template-columns:1fr}.kid-home-content{margin-top:12px}.kid-home-content .kid-story-art{width:310px}.kid-reward{margin-top:20px}}@media (width<=600px){.kid-shell{padding:max(16px, env(safe-area-inset-top)) 16px max(28px, env(safe-area-inset-bottom))}.kid-parent-entry{padding:8px 10px}.kid-parent-entry small{display:none}.kid-home-content{margin-top:24px}.kid-story-art{width:280px}.kid-home-description{margin-top:12px}.kid-quiz-header{margin-bottom:22px}.kid-quiz-board{gap:20px}.kid-question{border-radius:22px;gap:18px;min-height:170px;padding:22px 18px}.kid-question-art img{max-height:220px}.kid-answers{gap:12px}.kid-answers-3{grid-template-columns:1fr}.kid-shell .answer-card{border-radius:18px;gap:10px;min-height:88px;padding:14px 12px}.kid-shell .answer-card-marker{flex-basis:28px;width:28px;height:28px;font-size:.85rem}.kid-feedback{min-height:110px;padding:16px 14px}.kid-feedback-title{font-size:1rem}.kid-shell .massive-button{min-height:68px;font-size:1.25rem}.kid-reward{gap:18px;margin-top:30px}}@media (prefers-reduced-motion:reduce){.kid-shell *,.kid-shell :before,.kid-shell :after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}@media (width<=360px){.kid-feedback-title{min-height:3em}}.pack-studio{color:#254966;overflow-wrap:anywhere;gap:20px;width:100%;max-width:1060px;display:grid}.pack-studio p{margin:0;line-height:1.65}.pack-studio h4{margin:0;font-size:1.3rem;line-height:1.5}.pack-studio .studio-header{justify-content:space-between;align-items:start;gap:20px;display:flex}.studio-header h3{line-height:1.5}.studio-steps{flex-wrap:wrap;gap:10px;margin:0;padding:0;list-style:none;display:flex}.studio-steps li{background:#e4f3fc;border-radius:16px;padding:10px 14px;font-size:.93rem}.studio-file-box{background:#f0f8fe;border:1px solid #bed9ea;border-radius:20px;gap:12px;padding:24px;display:grid}.studio-download-link{color:#23658f;text-underline-offset:4px;align-items:center;min-height:44px;font-weight:700;display:inline-flex}.studio-editor,.studio-preview{gap:20px;min-width:0;display:grid}.studio-section-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.studio-field{color:#325f7e;gap:8px;min-width:0;font-weight:650;display:grid}.studio-field input,.studio-field textarea,.studio-field select{box-sizing:border-box;width:100%;min-width:0;font:inherit;color:#254966;background:#fff;border:1px solid #7594aa;border-radius:12px;min-height:48px;padding:12px;font-size:1rem;font-weight:400}.studio-field textarea{resize:vertical}.studio-field input[type=file]{background:#fff;font-size:.93rem}.studio-field input[type=file]::file-selector-button{color:#254966;background:#dceefb;border:0;border-radius:8px;margin-right:10px;padding:10px}.studio-field input:focus-visible,.studio-field textarea:focus-visible,.studio-field select:focus-visible,.pack-studio button:focus-visible,.pack-studio a:focus-visible{outline-offset:3px;outline:3px solid #174a70}.studio-questions{gap:24px;display:grid}.studio-question-editor{background:#f5faff;border:1px solid #c8deed;border-radius:20px;gap:18px;min-width:0;margin:0;padding:24px;display:grid}.studio-question-editor legend{padding:0 8px;font-size:1.1rem;font-weight:800}.studio-two-col,.studio-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.studio-actions{flex-wrap:wrap;gap:12px;display:flex}.pack-studio .parent-button{white-space:normal;border-radius:14px;min-height:48px;padding:12px 18px;line-height:1.5}.pack-studio .parent-button-primary{color:#fff;background:#23658f;border-color:#23658f}.pack-studio .parent-button:disabled{opacity:.5;cursor:not-allowed}.studio-hint{color:#506b80;font-size:.93rem}.studio-notice:empty{display:none}.studio-notice{color:#225878;background:#e2f2fb;border-radius:12px;padding:16px;line-height:1.6}.studio-notice[role=alert],.studio-errors{color:#734256;background:#fff0f5}.studio-check-pass{color:#225878;font-weight:700}.studio-check-fail{color:#734256;font-weight:700}.studio-errors{border-radius:12px;padding:18px 18px 18px 36px;line-height:1.7}.studio-question-previews{gap:20px;margin:0;padding:0;list-style-position:inside;display:grid}.studio-question-previews>li{background:#fff;border:1px solid #c8deed;border-radius:18px;padding:24px}.studio-question-previews h5{margin:12px 0;font-size:1.2rem;line-height:1.5}.studio-question-previews ul{gap:8px;margin:12px 0;padding:0;list-style:none;display:grid}.studio-question-previews ul li{border:1px solid #c8deed;border-radius:10px;padding:12px}.studio-question-meta{color:#506b80;font-size:.9rem;display:inline}.studio-correct-choice{color:#225878;background:#e2f2fb;font-weight:650}.studio-review-check{background:#f0f8fe;border:1px solid #93b9d0;border-radius:14px;align-items:start;gap:14px;padding:20px;line-height:1.7;display:flex}.studio-review-check input{accent-color:#23658f;flex:0 0 24px;width:24px;height:24px;margin-top:2px}.studio-guide{border-top:1px solid #c8deed;padding-top:20px;line-height:1.7}.studio-guide summary{cursor:pointer;padding:12px 0;font-weight:700}.studio-guide li,.studio-guide p{margin-bottom:12px}@media (width<=680px){.pack-studio .studio-header,.studio-section-heading{flex-direction:column;align-items:stretch}.studio-two-col,.studio-choices{grid-template-columns:minmax(0,1fr)}.studio-file-box,.studio-question-editor,.studio-question-previews>li{padding:16px}.studio-actions>button{flex:160px}.studio-review-check{padding:14px}}
