html[data-theme]{background:var(--background);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--tile-hover:color-mix(in srgb, var(--brand-soft) 65%, var(--surface))}html[data-theme] body{background:var(--background);color:var(--foreground);isolation:isolate;position:relative}html[data-theme] .adult-app{background:0 0}html[data-theme] .cg-standard{background:var(--background);isolation:isolate}.theme-decoration{z-index:-1;pointer-events:none;position:fixed;inset:0;overflow:hidden}.theme-decoration i{background:var(--brand-soft);opacity:.45;border-radius:var(--decoration-radius);width:clamp(280px,58vw,580px);height:clamp(310px,62vw,620px);display:block;position:absolute;transform:rotate(24deg)}.theme-decoration i:first-child{top:18%;right:clamp(-330px,-32vw,-165px)}.theme-decoration i:nth-child(2){bottom:-18%;left:clamp(-350px,-36vw,-170px)}html[data-theme=rose] .theme-decoration i{opacity:.8}html[data-theme=rose] .theme-decoration i:first-child{border-radius:58% 42% 48% 52%/40% 54% 46% 60%}html[data-theme=rose] .theme-decoration i:nth-child(2){border-radius:40% 60% 55% 45%/55% 39% 61% 45%;transform:rotate(-18deg)}.theme-falling-leaves{pointer-events:none;position:absolute;inset:0}.falling-leaf{width:26px;height:34px;color:color-mix(in srgb, var(--brand-accent) 85%, var(--brand) 15%);opacity:0;--leaf-drift:14px;animation:28s linear infinite both autumn-leaf-fall;position:absolute;top:-44px}.falling-leaf svg{width:100%;height:100%;display:block}.falling-leaf-right{--leaf-drift:-14px;animation-delay:14s;right:clamp(4px,25vw - 295px,72px)}.falling-leaf-left{animation-delay:1s;left:clamp(2px,25vw - 295px,72px)}@keyframes autumn-leaf-fall{0%{opacity:0;transform:translate(0,0)rotate(-25deg)}8%{opacity:.45;transform:translate3d(var(--leaf-drift), 14dvh, 0) rotate(10deg)}24%{opacity:.45;transform:translateY(43dvh)rotate(-35deg)}40%{opacity:.4;transform:translate3d(var(--leaf-drift), 73dvh, 0) rotate(20deg)}58%,to{opacity:0;transform:translateY(calc(100dvh + 88px))rotate(55deg)}}html[data-background-motion=off] .theme-falling-leaves{display:none}@media (max-width:800px){.falling-leaf{width:20px;height:26px}}@media (prefers-reduced-motion:reduce){.theme-falling-leaves{display:none}.falling-leaf{animation:none}}.theme-filter-defs{pointer-events:none;position:absolute}html[data-theme] [data-tile-pressed]:not(.correct):not(.wrong):not(.selected-error):not(.selected-wrong):not(:has(input:checked)){background:var(--tile-hover);border-color:var(--brand-accent)}html[data-theme=rose] .brand-logo img{filter:url(#school-logo-rose)}html[data-theme=sand] .brand-logo img{filter:url(#school-logo-sand)}html[data-theme] :is(button,[data-slot=button],a[role=button]){min-width:44px;min-height:44px;box-shadow:none;font-weight:600}html[data-theme] :is(button,[role=button],[data-slot=button],.appearance-option,.teacher-course-option){-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}html[data-theme] :is(input,textarea,[contenteditable=true]){-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}html[data-theme] :is(button,input,select,textarea,[data-slot=button]){border-radius:var(--control-radius)}html[data-theme] :is(button,[data-slot=button]):focus-visible{outline:3px solid var(--brand-heading);outline-offset:3px}html[data-theme] :is(input,select,textarea):focus-visible{outline:2px solid var(--brand-heading);outline-offset:2px}html[data-theme] :is(input,select,textarea){color:var(--foreground);border-color:var(--border);background:var(--surface);accent-color:var(--brand)}html[data-theme] input[type=checkbox],html[data-theme] input[type=radio]{accent-color:var(--brand)}html[data-theme] :is(button,[data-slot=button]):disabled{cursor:default}html[data-theme] [data-slot=button]{height:auto;min-height:44px;box-shadow:none;background:var(--brand);color:#fff;border-width:1px;font-size:14px;line-height:1.35}html[data-theme] [data-slot=button]:is([data-variant=outline],[data-variant=ghost],[data-variant=link]){background:var(--surface);color:var(--brand);border-color:var(--border)}html[data-theme] [data-slot=button][data-variant=secondary]{background:var(--brand-soft);color:var(--brand)}html[data-theme] [data-slot=button][data-variant=destructive]{background:var(--error-bg);color:var(--error-ink);border-color:var(--error-border)}html[data-theme] [data-slot=button]:hover:not(:disabled){filter:brightness(.96)}html[data-theme] :is(.game-card,.lesson-list>button,.lesson-choice-card,.token-bank button,.correction-word-grid button):is(:hover,:active){box-shadow:none;transform:none}html[data-theme] :is(h1,h2,h3){font-weight:500}html[data-theme] :is(strong,b){font-weight:600}html[data-theme] :is(.section-title span,.admin-heading>div>span,.simple-page-header span,.game-label,.result-page>span,.access-kicker,.question-form-head>div>span,.lesson-choice-card small,.notification-card>div>small){color:var(--brand-heading);letter-spacing:.08em;font-weight:600}html[data-theme] :is(.section-title>p,.admin-heading p,.question-panel>p,.result-page>p,.game-copy small,.lesson-main>small,.lesson-task-count,.lesson-meta,.result-stats small,.question-list p,.student-list small,.teacher-list small,.course-admin-open small,.cg-muted,.cg-center p,.cg-setup p,.access-card>p,.lesson-choice-card p){color:var(--muted-foreground)}html[data-theme] :is(.lesson-main strong,.game-copy strong,.option-list>button strong,.lesson-choice-card strong,.hero-action strong,.course-badge strong){font-weight:600}html[data-theme] :is(.lesson-main strong,.course-admin-open strong,.course-admin-open small,.hero-action strong,.course-badge strong,.signed-profile strong,.teacher-profile strong){white-space:normal;text-overflow:clip;overflow-wrap:anywhere;max-width:100%}html[data-theme] :is(.adult-hero,.game-card,.lesson-list>button,.quick-practice,.result-stats>div,.question-form,.question-library,.content-selectors,.progress-cards article,.weekly-card,.lesson-choice-card,.lesson-publication,.teacher-report,.access-card,.pdf-import,.pdf-import-preview article,.qr-access-panel,.student-list article,.course-admin-open,.teacher-course-option,.cg-setup,.cg-invitation,.cg-players,.cg-dialog,.cg-join-page .cg-center,.cg-team-scores>div,.cg-ranking li,.correction-entry,.translation-entry){border:1px solid var(--border);border-radius:var(--card-radius);background:var(--surface);color:var(--foreground);box-shadow:none}html[data-theme] :is(.round-button,.option-list>button,.token-bank button,.sentence-dropzone button,.correction-word-grid button,.cg-letter-keys button,.cg-tiles>button,.admin-tabs button,.admin-main-tabs button,.student-qr-button,.notification-disable,.lesson-choice-card>i,.listen-button,.match-column button){background:var(--surface);border:1px solid var(--border);color:var(--foreground);box-shadow:none}html[data-theme] :is(.game-card.active,.cg-library .cg-game-cards .game-card.active,.option-list>button.selected,.admin-tabs button.active,.admin-main-tabs button.active,.cg-team-scores>div.active,.course-admin-open:hover,.correction-word-grid button.selected-error,.sentence-dropzone button){background:var(--brand-soft);border-color:var(--brand-accent);color:var(--brand);box-shadow:none}html[data-theme] :is(.game-icon,.question-icon,.lesson-step,.lesson-choice-icon,.lesson-overview-icon,.notification-icon,.option-list>button>span,.course-admin-open>span,.game-copy b,.student-switch>span,.signed-profile>span,.access-mark,.listen-button>svg,.medal-icon){color:var(--brand);background:var(--brand-soft);border-radius:var(--control-radius);box-shadow:none}html[data-theme] :is(.game-card:hover,.lesson-list>button:hover:not(:disabled),.option-list>button:hover:not(:disabled),.cg-tiles>button:hover:not(:disabled)){border-color:var(--brand-accent)}@media (hover:hover){html[data-theme] :is(.game-card,.lesson-list>button,.lesson-choice-card,.course-admin-open,.cg-tiles>button,.option-list>button,.token-bank button,.sentence-dropzone button,.correction-word-grid button,.match-column button,.round-button,.adult-nav button:not(.active)):enabled:not(.correct):not(.wrong):not(.selected-error):not(.selected-wrong):hover{background:var(--tile-hover);border-color:var(--brand-accent)}html[data-theme] :is(.appearance-option,.teacher-course-option):has(input:enabled):not(:has(input:checked)):hover{background:var(--tile-hover);border-color:var(--brand-accent)}}html[data-theme] :is(.game-card,.lesson-list>button,.lesson-choice-card,.course-admin-open,.cg-tiles>button,.option-list>button,.token-bank button,.sentence-dropzone button,.correction-word-grid button,.match-column button,.round-button,.adult-nav button:not(.active)):enabled:not(.correct):not(.wrong):not(.selected-error):not(.selected-wrong):active{background:var(--tile-hover);border-color:var(--brand-accent)}html[data-theme] :is(.appearance-option,.teacher-course-option):has(input:enabled):not(:has(input:checked)):active{background:var(--tile-hover);border-color:var(--brand-accent)}html[data-theme] .lesson-list>button.locked{opacity:1;color:var(--muted-foreground);background:var(--surface)}html[data-theme] .lesson-list>button.locked :is(.lesson-step,.lesson-meta){background:var(--muted);color:var(--muted-foreground)}html[data-theme] :is(.lesson-list>button.done .lesson-step){color:var(--success-ink);background:var(--success-bg)}html[data-theme] .learning-reviews .lesson-step,html[data-theme] .learning-reviews>button:disabled .lesson-step{background:var(--brand-soft);color:var(--brand)}html[data-theme] .lesson-main>small{font-weight:400}html[data-theme] :is(.lesson-main>small,.lesson-task-count){font-size:12px}html[data-theme] .option-list>button strong{font-size:16px;line-height:1.4}html[data-theme] :is(.hero-action small,.course-badge small){font-size:10px;font-weight:600}html[data-theme] .course-badge strong{font-size:14px}html[data-theme] .adult-nav button{font-size:12px}html[data-theme] :is(.streak,.signed-profile,.student-switch){border-color:var(--border);background:var(--surface);color:var(--brand)}html[data-theme] .main-header .header-actions{--header-control-height:46px}html[data-theme] .main-header :is(.streak,.student-switch),html[data-theme] .main-header .header-actions>.profile-settings-trigger{height:var(--header-control-height);min-height:var(--header-control-height)}html[data-theme] .main-header .header-actions>.profile-settings-trigger{width:var(--header-control-height)}html[data-theme] .main-header .signed-profile{min-height:var(--header-control-height);padding-block:0}html[data-theme] .student-switch{min-width:0;padding-block:0}html[data-theme] .student-switch>span{flex:none}html[data-theme] .student-switch select{background:0 0;min-width:0;padding:6px 2px;line-height:1.3}html[data-theme] .student-switch select:focus-visible{outline:none}html[data-theme] .student-switch:has(select:focus-visible){outline:2px solid var(--brand-heading);outline-offset:2px}html[data-theme] .signed-profile>button{background:var(--brand-soft);color:var(--brand)}html[data-theme] .main-header .signed-profile>:is(.profile-avatar,.profile-logout-trigger){background:0 0;border:0;flex:0 0 44px;place-items:center;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;display:grid}html[data-theme] .signed-profile :is(.profile-avatar,.profile-logout-trigger)>span{border-radius:var(--control-radius);width:32px;height:32px;color:var(--brand);background:var(--brand-soft);pointer-events:none;place-items:center;display:grid}html[data-theme] .signed-profile .profile-logout-trigger svg{width:16px;height:16px;display:block}@media (hover:hover) and (pointer:fine){html[data-theme] .profile-logout-trigger:hover>span{background:var(--tile-hover)}}html[data-theme] .profile-logout-trigger:active>span{background:var(--tile-hover)}html[data-theme] :is(.hero-action,.course-badge,.course-summary,.daily-panel,.lesson-overview,.progress-hero){background:var(--brand);color:#fff;border:1px solid var(--brand);border-radius:var(--card-radius);box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}html[data-theme] :is(.hero-action small,.course-badge small,.course-summary p,.course-summary small,.daily-panel p,.lesson-overview p,.lesson-overview>div>small,.lesson-overview-meta b,.progress-hero p){color:#f7eef1}html[data-theme] :is(.hero-action,.course-summary,.daily-panel,.lesson-overview,.progress-hero) [data-slot=button],html[data-theme] :is(.course-badge>span,.course-summary>span,.daily-head b,.big-xp){background:var(--brand-soft);color:var(--brand);border-radius:var(--control-radius);box-shadow:none}html[data-theme] .hero-action strong{line-height:1.3}html[data-theme] :is(.adult-progress,.course-progress) [data-slot=progress-track]{background:var(--brand-soft)}html[data-theme] .adult-progress [data-slot=progress-indicator]{background:var(--brand)}html[data-theme] .course-progress [data-slot=progress-track]{background:#865c69}html[data-theme] .course-progress [data-slot=progress-indicator]{background:var(--brand-accent)}html[data-theme] :is(.notification-card,.notification-card.enabled){background:var(--brand-soft);border:1px solid var(--border);border-radius:var(--card-radius);box-shadow:none}html[data-theme] .notification-card :is(p,em){color:var(--muted-foreground)}html[data-theme] .notification-card>div>strong{color:var(--foreground);font-size:14px;font-weight:600}html[data-theme] .notification-card .notification-icon{background:var(--brand);color:var(--brand-accent)}html[data-theme] .notification-card p{font-size:12px}html[data-theme] .adult-nav{background:var(--surface);border-color:var(--border);box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;height:auto;padding:8px 12px calc(8px + env(safe-area-inset-bottom));grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;gap:8px;display:grid}html[data-theme] .adult-nav button{color:var(--muted-foreground);border-radius:var(--control-radius);text-align:center;min-width:0;min-height:56px;padding:8px 12px;font-weight:500;line-height:1.2}html[data-theme] .adult-nav button>span{overflow-wrap:anywhere;max-width:100%}html[data-theme] .adult-nav button>svg{flex:none;width:22px;height:22px}html[data-theme] .adult-nav button.active{color:var(--brand);background:var(--brand-soft);font-weight:600}html[data-theme] .app-page:has(>.adult-nav){padding-bottom:max(108px, calc(100px + env(safe-area-inset-bottom)))}html[data-theme] .lesson-list>button{scroll-margin-bottom:calc(88px + env(safe-area-inset-bottom))}@media (max-width:899px){html[data-theme] .adult-nav{min-height:0;padding:6px 12px max(4px, env(safe-area-inset-bottom))}html[data-theme] .app-page:has(>.adult-nav){padding-bottom:max(90px, calc(84px + env(safe-area-inset-bottom)))}}@media (min-width:900px){html[data-theme] .adult-nav{grid-auto-columns:minmax(100px,1fr);width:max-content;max-width:calc(100% - 32px)}}html[data-theme] :is(.question-form input,.question-form select,.question-form textarea,.content-selectors select,.pdf-import input,.pdf-import select,.pdf-import textarea,.correction-entry input,.translation-entry textarea,.report-controls select){border-color:var(--border);color:var(--foreground);background:var(--surface)}html[data-theme] :is(.question-form label,.pdf-import label,.correction-entry>label,.report-controls label){color:var(--foreground);font-weight:600}html[data-theme] :is(.question-form-head .form-icon,.publication-badge,.qr-note,.correction-task-note,.pdf-import-game,.pdf-import-area){color:var(--brand);background:var(--brand-soft)}html[data-theme] :is(.question-list article,.teacher-report td,.teacher-report th,.report-detail article,.report-controls select){border-color:var(--border)}html[data-theme] :is(.teacher-report th,.report-detail small,.pdf-import>p,.pdf-import small){color:var(--muted-foreground)}html[data-theme] :is(.report-controls>button,.cg-button,.question-wheel-spin){background:var(--brand);color:#fff;border-color:var(--brand);box-shadow:none}html[data-theme] :is(.report-detail span,.teacher-report td button,.cg-invitation a,.cg-round-meta strong,.cg-wheel-zone small){color:var(--brand)}html[data-theme] :is(.cg-round-meta strong,.correction-steps b,.correction-steps>span.active b){background:var(--brand-soft);color:var(--brand)}html[data-theme] .cg-wheel-disc{border-color:var(--brand);box-shadow:none}html[data-theme] .cg-wheel-pointer{border-top-color:var(--brand)}html[data-theme] .cg-tiles>button:disabled{background:var(--brand-soft)}html[data-theme] :is(.sentence-dropzone,.correction-word-grid,.token-bank){border-color:var(--border)}html[data-theme] :is(.sentence-dropzone,.correction-word-grid){background:var(--surface);border-width:1px}html[data-theme] .qr-scanner-backdrop{background:var(--background)}.qr-gallery-button{white-space:normal;width:100%;margin-bottom:16px;padding:12px 16px}.qr-gallery-button svg{flex-shrink:0}.qr-image-status{color:var(--muted-foreground);margin-bottom:16px;font-size:14px;display:block}html[data-theme] .qr-scanner-dialog{color:var(--foreground);background:var(--background)}html[data-theme] .qr-scanner-dialog :is(h2,p,small){color:var(--foreground)}html[data-theme] .qr-scanner-dialog button{background:var(--surface);color:var(--brand);border-color:var(--border)}html[data-theme] .qr-camera-view{background:#302527}html[data-theme] .qr-camera-view :is(p,button){color:#fff;background:#302527}html[data-theme] .qr-privacy-note{color:var(--muted-foreground)}html[data-theme] .cg-dialog::backdrop,.appearance-dialog::backdrop{background:#30252780}html[data-theme] :is(.option-list>button.correct,.answer-feedback.correct,.four-status.correct,.cg-board-reveal,.correction-word-grid button.correct,.lesson-complete-mark,.publication-badge.live){background:var(--success-bg);color:var(--success-ink);border-color:var(--success-border);box-shadow:none}html[data-theme] :is(.option-list>button.wrong,.answer-feedback.wrong,.four-status.wrong,.correction-word-grid button.selected-wrong,.access-error,.cg-error,.pdf-import-error){background:var(--error-bg);color:var(--error-ink);border-color:var(--error-border);box-shadow:none}html[data-theme] .answer-feedback.correct .feedback-symbol{background:var(--success-ink);color:#fff}html[data-theme] .answer-feedback.wrong .feedback-symbol{background:var(--error-ink);color:#fff}html[data-theme] :is(.delete-course-button,.delete-lesson-button,.delete-student-button){background:var(--error-bg);color:var(--error-ink);border-color:var(--error-border)}html[data-theme] :is(.option-list>button.correct,.option-list>button.wrong)>span{background:var(--surface);color:inherit}html[data-theme] :is(.four-board,.boss-player-hud,.boss-nameplate,.boss-question-badge){background:var(--brand);border-color:var(--brand);box-shadow:none}html[data-theme] .four-cell.player,html[data-theme] .four-legend i.player{background:var(--brand-heading)}html[data-theme] .four-cell.computer,html[data-theme] .four-legend i.computer{background:var(--brand-accent)}html[data-theme] :is(.boss-arena,.boss-question-panel){background:var(--surface);color:var(--foreground);border-color:var(--border);box-shadow:none}html[data-theme] .cg-millionaire{background:var(--brand);color:#fff}html[data-theme] .million-backdrop{background:0 0}html[data-theme] :is(.million-hint-dialog,.million-answers .cg-answer){background:var(--surface);border-color:var(--border);color:var(--foreground)}html[data-theme] :is(.million-top strong,.million-result h1,.million-result>svg,.million-hint){color:var(--brand-accent)}html[data-theme] :is(.million-lifelines>button,.cg-millionaire .cg-button,.million-answers .cg-answer.selected){background:var(--brand-soft);color:var(--brand);border-color:var(--brand-accent);box-shadow:none}html[data-theme] .million-answers .cg-answer b{color:var(--brand)}html[data-theme] .million-answers .cg-answer.correct{background:var(--success-bg);color:var(--success-ink);border-color:var(--success-border)}html[data-theme] .million-steps span{background:#865c69}html[data-theme] .million-steps span.current{background:var(--brand-accent)}html[data-theme] .million-steps span.passed{background:var(--success-border)}html[data-theme] .cg-millionaire .cg-icon{color:#fff;border-color:var(--brand-accent)}html[data-theme] :is(.qr-card,.qr-card-missing,.student-avatar,.qr-empty-state,.qr-issue-button,.qr-generate-button,.student-qr-button){background:var(--brand-soft);color:var(--brand);border-color:var(--border);box-shadow:none}html[data-theme] :is(.qr-card>div>small,.qr-card h3,.qr-card p,.qr-note,.library-count,.question-count,.form-title p,.library-head p,.content-heading p,.form-message){color:var(--muted-foreground)}html[data-theme] .form-message.success{background:var(--success-bg);color:var(--success-ink)}html[data-theme] .form-message.error{background:var(--error-bg);color:var(--error-ink)}html[data-theme] .progress-cards svg,html[data-theme] .quick-practice svg{color:var(--brand)}html[data-theme] .quick-practice>span{color:var(--brand-heading)}html[data-theme] .quick-practice>button{color:var(--foreground)}html[data-theme] .quick-practice>button:hover:not(:disabled),html[data-theme] .quick-practice small{background:var(--brand-soft);color:var(--brand)}html[data-theme] .lesson-list>button.locked{filter:none}html[data-theme] .weekly-card i{background:var(--brand-soft)}html[data-theme] .weekly-card .active i{background:var(--brand)}html[data-theme] .question-list article{background:var(--surface);color:var(--foreground)}html[data-theme] :is(.translation-answer,.teacher-list article,.pdf-import-word){background:var(--surface);color:var(--foreground);border:1px solid var(--border);border-radius:var(--card-radius);box-shadow:none}html[data-theme] :is(.translation-answer>label,.content-selectors label){color:var(--foreground)}html[data-theme] :is(.translation-answer>textarea,.correction-entry input):focus{border-color:var(--brand);box-shadow:none}html[data-theme] :is(.translation-actions>small,.access-card>small,.pdf-import-heading p,.pdf-import-note,.pdf-import-preview-heading>span,.progress-cards small,.progress-cards p,.weekly-card p,.teacher-list small){color:var(--muted-foreground)}html[data-theme] :is(.ai-task-note,.pdf-import-warning,.learning-sync,.teacher-list .teacher-inactive){color:var(--brand);background:var(--brand-soft);border-color:var(--border);box-shadow:none}html[data-theme] :is(.ai-task-note svg,.correction-task-note svg,.translation-actions>small svg,.correction-steps>span.active,.qr-scanner-dialog>header span){color:var(--brand)}html[data-theme] .correction-steps{color:var(--muted-foreground)}html[data-theme] .correction-steps>i{background:var(--border)}html[data-theme] .correction-steps>span.done{color:var(--success-ink)}html[data-theme] .correction-steps>span.done b,html[data-theme] :is(.pdf-import-notice,.four-status.correct){color:var(--success-ink);background:var(--success-bg)}html[data-theme] :is(.translation-error,.qr-scanner-message,.four-status.wrong){color:var(--error-ink);background:var(--error-bg)}html[data-theme] .four-status.correct .feedback-symbol{background:var(--success-ink)}html[data-theme] .four-status.wrong .feedback-symbol{background:var(--error-ink)}html[data-theme] .access-scan-trigger:is(:hover,:active){box-shadow:none;transform:none}html[data-theme] .access-scan-trigger>small{background:var(--brand);color:#fff;box-shadow:none}html[data-theme] .qr-scan-frame i{border-color:var(--brand-accent)}html[data-theme] .qr-scanner-dialog{box-shadow:none;border-color:var(--border)}html[data-theme] .qr-camera-view:after{background:0 0}html[data-theme] .qr-image-fallback{background:var(--brand-soft);color:var(--brand);box-shadow:none}html[data-theme] :is(.qr-generate-button:hover,.qr-card-actions .qr-generate-button:hover){background:var(--brand-soft);color:var(--brand)}html[data-theme] .cg-tiles>button:enabled:hover{background:var(--brand-soft)}html[data-theme] .cg-button.secondary{background:var(--surface);color:var(--brand);border-color:var(--border)}html[data-theme] .cg-screen:not(.cg-millionaire){background:var(--background);color:var(--foreground)}html[data-theme] .million-answers .cg-answer{border-width:1px}html[data-theme] .million-hint-dialog .cg-button{background:var(--brand);color:#fff}html[data-theme] .million-action>strong{color:var(--success-bg)}html[data-theme] .cg-millionaire .cg-answer.correct{animation:.4s ease-out cg-reveal}@media (max-height:680px){html[data-theme] .million-answers .cg-answer{gap:6px;padding:6px 8px}}@media (max-width:360px){html[data-theme] .cg-letter-keys{grid-template-columns:repeat(6,minmax(0,1fr));gap:4px}}html[data-theme] :is(.cg-player,.cg-dialog,.translation-entry,.correction-entry){border-color:var(--border);box-shadow:none}html[data-theme] .cg-player .classroom-action{color:var(--error-ink)}html[data-theme] .profile-settings-trigger{color:var(--brand);background:var(--surface);border:1px solid var(--border);cursor:pointer;flex:none;justify-content:center;align-items:center;padding:10px;display:inline-flex}html[data-theme] .profile-name-trigger,html[data-theme] .signed-profile>.profile-name-trigger{width:auto;min-width:0;height:auto;color:inherit;text-align:left;background:0 0;border:0;flex:1;padding:4px 6px}html[data-theme] .profile-name-trigger strong{font-size:13px;line-height:1.3}html[data-theme] .profile-settings-trigger svg{width:20px;height:20px}.appearance-dialog:not([open]){display:none}html[data-theme] .appearance-dialog{width:min(480px,100% - 32px);max-height:calc(100dvh - 32px);color:var(--foreground);background:var(--surface);border:1px solid var(--border);border-radius:var(--card-radius);text-align:left;margin:auto;padding:24px;position:fixed;inset:0}.appearance-dialog header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:22px;display:flex}.appearance-dialog h2{outline:none;margin:0;font-size:22px}html[data-theme] .appearance-close{width:44px;height:44px;color:var(--brand);border:1px solid var(--border);background:var(--surface);place-items:center;display:grid}.appearance-dialog fieldset{border:0;min-width:0;margin:0;padding:0}.appearance-dialog legend{color:var(--brand-heading);margin-bottom:12px;font-weight:600}.appearance-options{gap:10px;display:grid}html[data-theme] .appearance-option{border:1px solid var(--border);border-radius:var(--control-radius);background:var(--surface);color:var(--foreground);cursor:pointer;align-items:center;gap:12px;padding:14px;font-size:16px;display:flex}html[data-theme] .appearance-option:has(input:checked){border-color:var(--brand);background:var(--brand-soft)}.appearance-option input{opacity:0;width:1px;height:1px;position:absolute}html[data-theme] .appearance-motion-option{min-height:44px;color:var(--foreground);cursor:pointer;align-items:center;gap:12px;margin-top:12px;padding:10px 2px;font-size:14px;display:flex}.appearance-motion-option input{flex:none;width:18px;height:18px}.appearance-option:has(input:focus-visible){outline:3px solid var(--brand);outline-offset:3px}.appearance-option strong{flex:1;font-size:16px;font-weight:600}.appearance-option>svg{width:20px;height:20px;color:var(--brand)}.appearance-swatch{border:1px solid var(--border);border-radius:8px;width:66px;height:30px;display:flex;overflow:hidden}.appearance-swatch i{flex:1}.appearance-dialog>.appearance-note{color:var(--muted-foreground);margin:16px 0 0;font-size:12px;display:block}html[data-theme] .progress-hero>div>span{color:var(--brand-soft)}html[data-theme] .progress-cards article>div>span{color:var(--muted-foreground)}html[data-theme] :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select){min-height:44px}@media (max-width:700px) and (max-height:700px){html[data-theme] .cg-standard .option-list>button strong{font-size:14px;line-height:1.3}}@media (max-width:640px){html[data-theme] .main-header{gap:12px;height:auto;min-height:58px}html[data-theme] .header-actions{gap:6px;min-width:0}html[data-theme] .signed-profile{min-width:0}html[data-theme] .hero-action{align-items:center}html[data-theme] .course-badge{max-width:calc(100% - 32px)}html[data-theme] .appearance-dialog{padding:18px}}@media print{.theme-decoration,.theme-filter-defs,.appearance-dialog{display:none!important}}
