:root{color:#1e293b;font-synthesis:none;text-rendering:optimizelegibility;background:#f3f6fc;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}*{box-sizing:border-box}body{min-width:0;margin:0}#root{min-height:100dvh}button{font:inherit;color:#1e293b;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:8px 12px}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline-offset:2px;outline:3px solid #a5b4fc}.ai-tutor-dialog{color:#1e293b;white-space:normal;overflow-wrap:break-word;background:#fff;border:1px solid #94a3b8;border-radius:16px;width:min(520px,100% - 32px);max-height:85dvh;padding:20px}.ai-tutor-dialog[open]{flex-direction:column;display:flex}.ai-tutor-dialog::backdrop{background:#0f172aa6}.ai-tutor-quota{white-space:nowrap;margin-inline-start:auto;font-size:.78rem}.ai-tutor-context{flex:none;margin:8px 0}.ai-tutor-context>p{margin:0 0 6px}.ai-tutor-target{font-size:1.15rem}.ai-tutor-privacy{flex:none;margin:6px 0 8px;font-size:.78rem;line-height:1.45}.ai-tutor-status{text-align:center;flex:none;margin:4px 0 6px;font-size:.84rem}.ai-tutor-timer{font-variant-numeric:tabular-nums;color:#e11d48}[data-theme=dark] .ai-tutor-timer{color:#fb7185}.ai-tutor-messages:empty{display:none}.ai-tutor-messages{overscroll-behavior:contain;flex-direction:column;flex:auto;gap:8px;min-height:0;margin-block:8px 12px;padding-inline-end:2px;display:flex;overflow-y:auto}.ai-tutor-messages p{white-space:pre-wrap;overflow-wrap:anywhere;border:1px solid #cbd5e1;border-radius:12px;margin:0;padding:10px 12px}.ai-tutor-user{background:#eef2ff;border-color:#c7d2fe;align-self:flex-end;max-width:90%}.ai-tutor-composer{background:#f8fafc;border:1.5px solid #cbd5e1;border-radius:999px;flex:none;align-items:center;gap:6px;padding:6px 8px 6px 16px;display:flex}.ai-tutor-input{min-width:0;color:inherit;font:inherit;resize:none;background:0 0;border:0;outline:none;flex:auto;padding:6px 0;font-size:.95rem;line-height:1.4}.ai-tutor-composer-actions{flex:none;align-items:center;gap:6px;display:flex}.ai-tutor-waveform{flex:auto;justify-content:center;align-items:center;gap:4px;min-width:0;height:32px;padding-inline:6px;display:flex}.ai-tutor-wave-bar{background:#3b82f6;border-radius:999px;width:3px;min-height:4px;max-height:28px;transition:height 90ms ease-out}[data-theme=dark] .ai-tutor-wave-bar{background:#60a5fa}.ai-tutor-waveform.connecting .ai-tutor-wave-bar{background:#94a3b8;animation:1.1s ease-in-out infinite ai-wave-pulse}.ai-tutor-waveform.connecting .ai-tutor-wave-bar:nth-child(2n){animation-delay:.18s}.ai-tutor-waveform.connecting .ai-tutor-wave-bar:nth-child(3n){animation-delay:.36s}@keyframes ai-wave-pulse{0%,to{opacity:.55;height:18%}50%{opacity:1;height:68%}}@media (prefers-reduced-motion:reduce){.ai-tutor-wave-bar{transition:none}.ai-tutor-waveform.connecting .ai-tutor-wave-bar{animation:none}}.ai-tutor-send-btn,.ai-tutor-voice-btn{cursor:pointer;border:0;border-radius:50%;place-items:center;width:34px;height:34px;padding:0;display:inline-grid}.ai-tutor-send-btn{color:#475569;background:0 0}.ai-tutor-send-btn:hover:not(:disabled){color:#0f172a;background:#e2e8f0}.ai-tutor-send-btn:disabled{opacity:.35;cursor:default}.ai-tutor-send-btn svg{width:18px;height:18px}.ai-tutor-voice-btn{color:#fff;background:#3b82f6}.ai-tutor-voice-btn:hover:not(:disabled){background:#2563eb}.ai-tutor-voice-btn.recording{color:#e11d48;background:#fff1f2;border:1.5px solid #fb7185;box-shadow:0 0 0 3px #f43f5e2e}.ai-tutor-voice-btn svg{width:18px;height:18px}[data-theme=dark] .ai-tutor-dialog{color:#f1f5f9;background:#1e293b;border-color:#334155}[data-theme=dark] .ai-tutor-messages p{border-color:#334155}[data-theme=dark] .ai-tutor-user{background:#252b50;border-color:#4f46e5}[data-theme=dark] .ai-tutor-composer{background:#0f172a;border-color:#334155}[data-theme=dark] .ai-tutor-send-btn{color:#cbd5e1}[data-theme=dark] .ai-tutor-send-btn:hover:not(:disabled){color:#fff;background:#1e293b}[data-theme=dark] .ai-tutor-voice-btn.recording{color:#fb7185;background:#2b1c24;border-color:#fb7185}.container{background:#fff;border-radius:16px;width:100%;max-width:600px;padding:30px;box-shadow:0 4px 20px #0000000d}.header{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;gap:12px;margin-bottom:24px;padding-bottom:15px;display:flex}.title{color:#4f46e5;margin:0;font-size:1.2rem;font-weight:700}.progress{color:#64748b;white-space:nowrap;font-size:.95rem;font-weight:600}.quiz-box{margin-bottom:24px}.word-display{text-align:center;letter-spacing:-.5px;overflow-wrap:anywhere;margin-bottom:20px;font-size:2.2rem;font-weight:800}.options-grid{gap:8px;display:grid}.option-btn{color:#1e293b;text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent;background:#fff;border:2px solid #e2e8f0;border-radius:12px;min-height:44px;padding:10px 20px;font-size:1.05rem;font-weight:500;transition:background .2s,border-color .2s}@media (hover:hover) and (pointer:fine){.option-btn:hover:not(:disabled){background:#eef2ff;border-color:#4f46e5}}.option-btn.correct{color:#065f46;background:#d1fae5;border-color:#10b981}.option-btn.incorrect{color:#991b1b;background:#fee2e2;border-color:#ef4444}.option-btn-gloss{opacity:.85;font-size:.92em;font-weight:400}.option-btn:disabled{cursor:default}.feedback-box{background:#f1f5f9;border-radius:10px;margin-top:20px;padding:16px}.feedback-title{margin-bottom:6px;font-weight:700}.feedback-title.success{color:#10b981}.feedback-title.error{color:#ef4444}.feedback-desc{color:#64748b;margin:0;font-size:.95rem;line-height:1.4}.restart-btn{color:#fff;cursor:pointer;background:#4f46e5;border:0;border-radius:12px;padding:16px 30px;font-size:1.1rem;font-weight:600;transition:background .2s}.restart-btn:hover{background:#4338ca}.result-container{text-align:center}.quiz-result-actions{flex-wrap:wrap;justify-content:center;align-items:stretch;gap:8px;display:flex}.quiz-result-actions>button{box-sizing:border-box;min-height:40px}.quiz-result-actions>.ai-tutor-button{margin:0}.today-follow-up-actions{justify-content:flex-start}.today-plan-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.today-words-icon{white-space:nowrap;flex-shrink:0;align-items:center;gap:6px;min-height:36px;padding:6px 12px;font-size:.82rem;font-weight:600;display:inline-flex}.today-words-icon .action-icon{width:16px;height:16px}.session-result-extra{margin-top:8px}.extra-study-form{text-align:left;max-width:360px;margin:16px auto 0}.extra-study-form .actions{justify-content:center}.result-title{margin:0 0 10px;font-size:1.8rem;font-weight:800}.result-desc{color:#64748b;margin:0 0 30px;font-size:1.1rem}@media (width<=480px){.container{padding:24px 20px}.header{flex-direction:column;align-items:flex-start}}.section{border-top:1px solid #e2e8f0;margin-top:24px;padding-top:12px}.section h2{font-size:1.1rem}.section p,.word-card p{line-height:1.5}.section-heading,.word-heading,.actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.section-heading{justify-content:space-between}.actions{margin:12px 0}.actions button,.section>button,.text-button{cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:8px 12px}.text-button{color:#4338ca}button.button-with-icon{justify-content:center;align-items:center;gap:7px;display:inline-flex}.action-icon{flex:none;width:18px;height:18px}button.action-edit,.actions button.action-edit{color:#4338ca;background:#eef2ff;border-color:#c7d2fe}button.action-edit:hover:not(:disabled),.actions button.action-edit:hover:not(:disabled){background:#e0e7ff;border-color:#818cf8}button.action-danger,.actions button.action-danger{color:#b91c1c;background:#fff7f7;border-color:#fecaca}button.action-danger:hover:not(:disabled),.actions button.action-danger:hover:not(:disabled){background:#fee2e2;border-color:#f87171}.speech-icon-button{vertical-align:middle;color:#4f46e5;cursor:pointer;background:0 0;border:1px solid;border-radius:8px;justify-content:center;align-items:center;width:36px;height:36px;display:inline-flex}.speech-icon-button svg{width:19px;height:19px}:is(.word-example,.learn-word-title,.word-heading) .speech-icon-button{border-radius:6px;width:26px;height:26px;padding:0}:is(.word-example,.learn-word-title,.word-heading) .speech-icon-button svg{width:11px;height:11px}:is(.learn-word-example-text,.better-sentence-line,.situation-prompt-box) .speech-icon-button{border-radius:6px;width:24px;height:24px;padding:0}:is(.learn-word-example-text,.better-sentence-line,.situation-prompt-box) .speech-icon-button svg{width:15px;height:15px}.learn-word-title .speech-icon-button{position:relative;inset-block-start:2px}[data-theme=dark] .speech-icon-button{color:#a5b4fc}button.primary{color:#fff;cursor:pointer;background:#4f46e5;border:0;border-radius:8px;padding:10px 16px;font-weight:600}button:disabled{opacity:.6;cursor:not-allowed}.notice{overflow-wrap:anywhere;background:#f1f5f9;border-radius:8px;padding:12px}.notice p{margin:4px 0}.word-card{overflow-wrap:anywhere;border:1px solid #e2e8f0;border-radius:10px;margin:14px 0;padding:14px}.word-card p{margin:8px 0}.book-word-filters{grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));gap:12px;display:grid}.book-word-list{gap:6px;margin:16px 0;padding:0;list-style:none;display:grid}.book-word-summary{text-align:start;overflow-wrap:anywhere;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr) auto;align-items:center;gap:8px;width:100%;display:grid}.book-word-summary.has-memory-score.memory-style-gauge,.memory-preview-row.has-memory-score.memory-style-gauge{border-inline-start:3px solid oklch(.62 var(--memory-ok-cs) var(--memory-ok-h));background:linear-gradient(90deg, oklch(.76 var(--memory-ok-cs) var(--memory-ok-h) / .34) 0%, oklch(.82 var(--memory-ok-c) var(--memory-ok-h) / .2) var(--memory-pct), #fff var(--memory-pct))}.book-word-summary.has-memory-score.memory-style-gauge:hover:not(:disabled){background:linear-gradient(90deg, oklch(.74 var(--memory-ok-cs) var(--memory-ok-h) / .42) 0%, oklch(.8 var(--memory-ok-c) var(--memory-ok-h) / .26) var(--memory-pct), #f8fafc var(--memory-pct))}[data-theme=dark] button.book-word-summary.has-memory-score.memory-style-gauge,[data-theme=dark] .memory-preview-row.has-memory-score.memory-style-gauge{border-inline-start:3px solid oklch(.7 var(--memory-ok-cs) var(--memory-ok-h));background:linear-gradient(90deg, oklch(.6 var(--memory-ok-cs) var(--memory-ok-h) / .34) 0%, oklch(.6 var(--memory-ok-c) var(--memory-ok-h) / .16) var(--memory-pct), #111d33 var(--memory-pct))}[data-theme=dark] button.book-word-summary.has-memory-score.memory-style-gauge:hover:not(:disabled){background:linear-gradient(90deg, oklch(.6 var(--memory-ok-c) var(--memory-ok-h) / .36) 0%, oklch(.6 var(--memory-ok-c) var(--memory-ok-h) / .18) var(--memory-pct), #17243b var(--memory-pct))}.book-word-summary.has-memory-score.memory-style-bar,.memory-preview-row.has-memory-score.memory-style-bar{border-inline-start:4px solid oklch(.6 var(--memory-ok-cs) var(--memory-ok-h))}[data-theme=dark] button.book-word-summary.has-memory-score.memory-style-bar,[data-theme=dark] .memory-preview-row.has-memory-score.memory-style-bar{border-inline-start:4px solid oklch(.7 var(--memory-ok-cs) var(--memory-ok-h))}.word-memory-summary{background:oklch(.92 var(--memory-ok-c) var(--memory-ok-h) / .42);border-radius:8px;flex-wrap:wrap;align-items:center;gap:6px 12px;margin:8px 0 12px;padding:8px 12px;font-size:.85rem;display:flex}.word-memory-summary>.study-levels{margin-inline-start:auto}.word-memory-summary-score{color:oklch(.4 var(--memory-ok-cs) var(--memory-ok-h))}[data-theme=dark] .word-memory-summary{background:oklch(.55 var(--memory-ok-c) var(--memory-ok-h) / .24)}[data-theme=dark] .word-memory-summary-score{color:oklch(.84 var(--memory-ok-c) var(--memory-ok-h))}.memory-score-legend{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;margin-top:12px;padding:8px 12px;font-size:.85rem}.memory-score-legend summary{cursor:pointer;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 14px;display:flex}.memory-score-legend-title{font-weight:600}.memory-score-scale{color:#475569;align-items:center;gap:8px;font-size:.8rem;display:inline-flex}.memory-score-gradient{background:linear-gradient(90deg,oklch(62% .21 25) 0%,oklch(70% .18 52) 28%,oklch(80% .16 88) 52%,oklch(68% .17 152) 76%,oklch(62% .18 245) 100%);border-radius:999px;width:120px;height:8px}.memory-score-gradient-wide{width:100%;height:8px}.memory-score-criteria{margin:8px 0 0;font-size:.82rem;line-height:1.5}[data-theme=dark] .memory-score-legend{background:#0f1b2e;border-color:#263650}[data-theme=dark] .memory-score-scale{color:#cbd5e1}.memory-style-selector{border:0;margin:0;padding:0}.settings-toolbar-tip{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;flex-direction:column;gap:10px;margin-top:14px;padding:12px 14px;display:flex}.settings-toolbar-tip p{margin:0;font-size:.84rem;line-height:1.5}.settings-toolbar-mockup{pointer-events:none;-webkit-user-select:none;user-select:none;background:#fff;border:1px dashed #cbd5e1;border-radius:10px;flex-direction:column;gap:8px;max-width:360px;padding:10px 12px;display:flex;box-shadow:0 2px 8px #0f172a0d}.settings-mockup-caption{letter-spacing:.04em;color:#64748b;background:#f1f5f9;border-radius:999px;align-self:flex-start;padding:1px 6px;font-size:.68rem;font-weight:700}.settings-mockup-bar{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;gap:10px;padding-bottom:8px;display:flex}.settings-mockup-title-bar{background:#e2e8f0;border-radius:999px;width:68px;height:10px}.settings-mockup-body{flex-direction:column;gap:6px;padding:4px 2px 2px;display:flex}.settings-mockup-line{background:#f1f5f9;border-radius:999px;height:8px}.settings-mockup-line.wide{width:72%}.settings-mockup-line.short{width:46%}.settings-toolbar-icons{flex-wrap:nowrap;align-items:center;gap:6px;display:flex}.settings-mini-advance{color:#4338ca;white-space:nowrap;background:#eef2ff;border:1px solid #c7d2fe;border-radius:999px;align-items:center;gap:5px;padding:4px 9px;font-size:.74rem;font-weight:700;display:inline-flex}.settings-mini-advance .advance-toggle-light{background:#4f46e5;border-radius:50%;width:7px;height:7px}.settings-mini-icon{color:#4f46e5;background:#fff;border:1px solid #cbd5e1;border-radius:50%;place-items:center;width:28px;height:28px;display:inline-grid}.settings-mini-icon svg{width:15px;height:15px}.settings-sub-options{margin-top:8px;border-inline-start:2px solid #e2e8f0;flex-direction:column;gap:4px;margin-inline-start:12px;padding-inline-start:16px;display:flex}.settings-sub-options.is-disabled{opacity:.5;color:#94a3b8}.settings-sub-options.is-disabled label{cursor:not-allowed}[data-theme=dark] .settings-toolbar-tip{background:#0f1b2e;border-color:#263650}[data-theme=dark] .settings-toolbar-mockup{background:#0b1424;border-color:#33465f}[data-theme=dark] .settings-mockup-caption{color:#94a3b8;background:#17243b}[data-theme=dark] .settings-mockup-bar{border-bottom-color:#263650}[data-theme=dark] .settings-mockup-title-bar,[data-theme=dark] .settings-mockup-line{background:#1e293b}[data-theme=dark] .settings-mini-advance{color:#e0e7ff;background:#343253;border-color:#6366f1}[data-theme=dark] .settings-mini-advance .advance-toggle-light{background:#a5b4fc}[data-theme=dark] .settings-mini-icon{color:#c7d2fe;background:#17243b;border-color:#475569}[data-theme=dark] .settings-sub-options{border-inline-start-color:#263650}.memory-style-options{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:12px;display:grid}.memory-style-card{cursor:pointer;background:#fff;border:1.5px solid #cbd5e1;border-radius:12px;flex-direction:column;gap:8px;padding:14px;transition:border-color .15s,box-shadow .15s;display:flex}.memory-style-card:hover{border-color:#818cf8}.memory-style-card.selected{border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e524}.memory-style-card-head{align-items:center;gap:8px;display:flex}.memory-style-card-head input[type=radio]{width:auto;margin:0}.memory-style-card-desc{margin:0;font-size:.82rem;line-height:1.45}.memory-style-preview{background:#f8fafc;border:1px solid #e2e8f0;border-radius:9px;gap:5px;margin-top:2px;padding:10px;display:grid}.memory-preview-row{background:#fff;border:1px solid #cbd5e1;border-radius:7px;justify-content:space-between;align-items:center;gap:8px;padding:6px 10px;font-size:.8rem;display:flex}.memory-preview-row span{color:#64748b;font-size:.75rem}.memory-style-scale-guide{margin-top:12px}.memory-style-scale-labels{color:#64748b;justify-content:space-between;margin-top:4px;font-size:.76rem;display:flex}[data-theme=dark] .memory-style-card{background:#111d33;border-color:#263650}[data-theme=dark] .memory-style-card.selected{border-color:#818cf8;box-shadow:0 0 0 3px #818cf833}[data-theme=dark] .memory-style-preview{background:#0b1424;border-color:#263650}[data-theme=dark] .memory-preview-row{background:#111d33;border-color:#2c405e}[data-theme=dark] .memory-preview-row span,[data-theme=dark] .memory-style-scale-labels{color:#94a3b8}.book-word-summary[aria-expanded=true]{border-color:#818cf8;border-end-end-radius:0;border-end-start-radius:0}.book-word-summary[aria-expanded=true]+.word-card{border-color:#818cf8;border-block-start:0;border-start-start-radius:0;border-start-end-radius:0;margin:0}.word-heading{flex-wrap:nowrap;gap:6px}.word-heading>strong{min-width:0}.word-heading>.speech-icon-button{flex:none}.book-word-tutor{margin-inline-start:auto;display:flex}.book-word-tutor>.ai-tutor-button{margin:0}.book-word-pagination{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;display:flex}.word-heading strong{font-size:1.2rem}.edit-form label{margin:10px 0;display:block}input:not([type=file]),textarea{width:100%;font:inherit;border:1px solid #cbd5e1;border-radius:6px;margin-top:4px;padding:8px;display:block}textarea{resize:vertical;min-height:70px}.sources{color:#475569;font-size:.85rem;line-height:1.6}.pronunciation{text-align:center;margin:-8px 0 20px}.success{color:#047857}.error{color:#b91c1c}.app-shell{grid-template-columns:252px minmax(0,1fr);min-height:100dvh;display:grid}.sidebar{background:#fff;border-right:1px solid #e8ecf3;flex-direction:column;height:100dvh;padding:32px 18px 22px;display:flex;position:sticky;top:0;overflow-y:auto}.brand{letter-spacing:-.04em;align-items:center;gap:10px;font-size:1.35rem;display:flex}.brand-logo{object-fit:contain;background:#fff;border-radius:11px;flex-shrink:0;width:38px;height:38px;padding:3px;box-shadow:0 2px 8px #0f172a1f,inset 0 0 0 1px #0f172a14}.brand-logo.mobile{border-radius:7px;width:26px;height:26px;padding:2px}.mobile-brand{align-items:center;gap:7px;display:inline-flex}.brand-mark{color:#fff;background:#4f46e5;border-radius:12px;place-items:center;width:38px;height:38px;font-weight:800;display:grid}.sidebar-nav{margin-top:24px}.sidebar-label{color:#94a3b8;margin:18px 12px 4px;font-size:.75rem;font-weight:700}.nav{gap:6px;display:grid}.nav-item{color:#64748b;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;align-items:center;gap:12px;width:100%;padding:12px;font-weight:600;display:flex}.nav-item:hover{background:#f8fafc}.nav-item.active{color:#4338ca;background:#eef2ff}.nav-icon{flex:0 0 20px;width:20px;height:20px}.ui-language-selector,.theme-selector{color:#64748b;font-size:.9rem;font-weight:600}.ui-language-selector{gap:6px;max-width:320px;display:grid}.theme-selector{border:0;min-width:0;margin:20px 0 0;padding:0}.theme-selector legend{margin-bottom:10px;padding:0}.theme-options{gap:16px;display:flex}.theme-option{cursor:pointer;justify-items:center;gap:6px;font-size:.8rem;display:grid;position:relative}.theme-option input:not([type=file]){opacity:0;cursor:pointer;width:44px;height:44px;margin:0;padding:0;position:absolute;top:0;left:0}.theme-icon{border:1px solid;border-radius:14px;place-items:center;width:44px;height:44px;display:grid}.theme-icon svg{width:20px;height:20px}.theme-icon-light{color:#f59e0b;background:#fff;border-color:#cbd5e1}.theme-icon-dark{color:#e2e8f0;background:#0f172a;border-color:#334155}.theme-option input:checked+.theme-icon{outline-offset:3px;outline:3px solid #818cf8}.theme-option input:focus-visible+.theme-icon{outline-offset:3px;outline:3px solid #4f46e5}.sidebar-footer{color:inherit;text-align:left;background:0 0;border:0;border-top:1px solid #e8ecf3;border-radius:10px;align-items:center;gap:10px;width:100%;margin-top:auto;padding:14px 8px 6px;display:flex}.sidebar-footer-btn{cursor:pointer;transition:background .15s}.sidebar-footer-btn:hover,.sidebar-footer-btn.active{background:#6366f11f}.profile-name-form{max-width:420px;margin:14px 0 16px}.profile-membership-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.sidebar-footer strong,.sidebar-footer small{overflow-wrap:anywhere;display:block}.sidebar-footer small{color:#94a3b8;margin-top:3px}.sidebar-account{flex:1;min-width:0}.sidebar-account-heading{align-items:flex-start;gap:6px;display:flex}.sidebar-account-heading strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.membership-badge{border:1px solid;border-radius:999px;flex:none;align-items:center;gap:3px;padding:2px 6px;font-size:.62rem;font-weight:700;line-height:1.2;display:inline-flex}.membership-badge-free{color:#475569;background:#f1f5f9;border-color:#cbd5e1}.membership-badge-premium{color:#92400e;background:#fffbeb;border-color:#f5c46b}.membership-badge svg{width:12px;height:12px}[data-theme=dark] .membership-badge-free{color:#cbd5e1;background:#17243b;border-color:#52647e}[data-theme=dark] .membership-badge-premium{color:#fcd88b;background:#382917;border-color:#9a6b27}.avatar{color:#4338ca;background:#e0e7ff;border-radius:50%;flex:none;place-items:center;width:38px;height:38px;font-weight:700;display:grid}.avatar.large{width:60px;height:60px;font-size:1.4rem}.main-content{width:100%;min-width:0;padding:32px 30px 60px}.content-card{background:#fff;border-radius:16px;width:100%;max-width:920px;margin:0 auto;padding:30px;box-shadow:0 4px 20px #0000000d}.content-card.quiz-card{max-width:600px}.content-card:has(.review-quiz){max-width:600px}.content-card:has(.study-session){max-width:1100px}.mobile-toolbar,.sidebar-close,.sidebar-backdrop{display:none}.page-heading{margin-bottom:20px}.page-heading h1{letter-spacing:-.02em;margin:2px 0 6px;font-size:1.35rem}.app-shell .page-heading h1{color:#6366f1}.page-heading p:not(.eyebrow){color:#64748b;margin:0}.page-heading.progress-page-heading{justify-items:start;gap:16px;margin-bottom:16px;display:grid}.page-back-button{place-items:center;width:44px;height:44px;margin-bottom:12px;padding:0;display:grid}.page-back-button svg{width:22px;height:22px}.eyebrow{color:#6366f1;letter-spacing:.12em;text-transform:uppercase;font-size:.72rem;font-weight:800}.muted{color:#64748b;font-size:.9rem}.dashboard-grid,.book-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px;display:grid}.book-bento-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,270px),1fr));gap:16px}.book-bento-legend{color:#64748b;justify-content:flex-end;align-items:center;gap:14px;margin-bottom:10px;font-size:.78rem;display:flex}.book-bento-legend span{align-items:center;gap:5px;display:inline-flex}.bento-dot-study,.bento-dot-master{border-radius:50%;flex:none;width:7px;height:7px;display:inline-block}.bento-dot-study{background:#4f46e5}.bento-dot-master{background:#10b981}.book-tile.book-bento-card{text-align:start;border-radius:18px;flex-direction:column;justify-content:space-between;gap:16px;padding:18px 20px 16px;transition:transform .16s,box-shadow .16s,border-color .16s;display:flex}.book-tile.book-bento-card:hover:not(:disabled){border-color:#c7d2fe;transform:translateY(-2px);box-shadow:0 10px 24px #0f172a14}.book-bento-top{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 10px;width:100%;display:flex}.book-bento-lang{white-space:nowrap;color:#64748b;letter-spacing:.03em;background:#f8fafc;border:1px solid #e2e8f0;border-radius:999px;flex-shrink:0;align-items:center;gap:4px;padding:3px 9px;font-size:.72rem;font-weight:700;display:inline-flex}.book-bento-rings{flex:none;align-items:center;gap:8px;display:inline-flex}.book-bento-ring-svg{width:46px;height:46px;display:block;transform:rotate(-90deg)}.bento-ring-track{fill:none;stroke:#e8edf5;stroke-width:3.8px}.bento-ring-study{fill:none;stroke:#4f46e5;stroke-width:3.8px;stroke-linecap:round}.bento-ring-master{fill:none;stroke:#10b981;stroke-width:3.8px;stroke-linecap:round}.book-bento-ring-nums{flex-direction:column;gap:2px;display:flex}.bento-ring-stat{font-variant-numeric:tabular-nums;color:#334155;align-items:center;gap:4px;font-size:.73rem;font-weight:700;line-height:1.2;display:inline-flex}.book-bento-title{letter-spacing:-.02em;overflow-wrap:anywhere;font-size:1.06rem;font-weight:800;line-height:1.35}.book-bento-foot{border-top:1px solid #eef2f7;justify-content:space-between;align-items:center;gap:8px;width:100%;padding-top:12px;display:flex}.book-bento-metrics{align-items:center;gap:10px;display:inline-flex}.book-bento-metric{white-space:nowrap;font-variant-numeric:tabular-nums;color:#475569;flex-shrink:0;align-items:center;gap:4px;font-size:.8rem;font-weight:700;display:inline-flex}.book-bento-metric svg{color:#94a3b8;flex:none;width:14px;height:14px}.book-bento-today{font-variant-numeric:tabular-nums;border-radius:999px;padding:2px 8px;font-size:.72rem;font-weight:700}.book-bento-today.due{color:#4338ca;background:#eef2ff}.book-bento-today.done{color:#047857;background:#ecfdf5}.plan-card.today-bento-card{border-radius:18px;flex-direction:column;gap:14px;padding:18px 20px;display:flex}.today-bento-top-left{align-items:center;gap:8px;display:inline-flex}.today-bento-title{margin:0}.today-bento-progress{background:#f8fafc;border:1px solid #eef2f7;border-radius:12px;flex-direction:column;gap:8px;padding:11px 12px;display:flex}.plan-card.today-bento-card.is-completed .today-bento-progress{background:#ecfdf5;border-color:#a7f3d0}.today-bento-bar-row{align-items:center;gap:10px;display:flex}.today-bento-bar-track{background:#e2e8f0;border-radius:999px;flex:auto;height:7px;overflow:hidden}.today-bento-bar-fill{background:linear-gradient(90deg,#4f46e5,#6366f1);border-radius:999px;height:100%;transition:width .25s}.plan-card.today-bento-card.is-completed .today-bento-bar-fill{background:#10b981}.today-bento-ratio{font-variant-numeric:tabular-nums;color:#334155;white-space:nowrap;font-size:.78rem;font-weight:800}.plan-card.today-bento-card.is-completed .today-bento-ratio{color:#047857}.today-bento-chips{flex-wrap:wrap;align-items:center;gap:6px 10px;display:flex}.today-bento-chip{color:#64748b;font-variant-numeric:tabular-nums;align-items:center;gap:5px;font-size:.76rem;display:inline-flex}.today-bento-chip strong{color:#1e293b;font-weight:700}.today-bento-chip.extra{color:#4338ca;background:#eef2ff;border-radius:999px;padding:1px 6px;font-weight:700}.today-chip-dot{border-radius:50%;flex:none;width:7px;height:7px}.today-chip-dot.new{background:#6366f1}.today-chip-dot.review{background:#0ea5e9}[data-theme=dark] .today-bento-progress{background:#0f1b2e;border-color:#23334d}[data-theme=dark] .plan-card.today-bento-card.is-completed .today-bento-progress{background:#10b98124;border-color:#34d39966}[data-theme=dark] .today-bento-bar-track{background:#23334d}[data-theme=dark] .today-bento-ratio{color:#e2e8f0}[data-theme=dark] .plan-card.today-bento-card.is-completed .today-bento-ratio{color:#6ee7b7}[data-theme=dark] .today-bento-chip{color:#94a3b8}[data-theme=dark] .today-bento-chip strong{color:#f1f5f9}[data-theme=dark] .today-bento-chip.extra{color:#c7d2fe;background:#818cf833}[data-theme=dark] .book-bento-legend{color:#94a3b8}[data-theme=dark] .bento-dot-study{background:#818cf8}[data-theme=dark] .bento-dot-master{background:#34d399}[data-theme=dark] .book-tile.book-bento-card:hover:not(:disabled){border-color:#6366f1;box-shadow:0 12px 28px #00000061}[data-theme=dark] .book-bento-lang{color:#94a3b8;background:#0f1b2e;border-color:#263650}[data-theme=dark] .bento-ring-track{stroke:#25344d}[data-theme=dark] .bento-ring-study{stroke:#818cf8}[data-theme=dark] .bento-ring-master{stroke:#34d399}[data-theme=dark] .bento-ring-stat{color:#e2e8f0}[data-theme=dark] .book-bento-foot{border-top-color:#263650}[data-theme=dark] .book-bento-metric{color:#cbd5e1}[data-theme=dark] .book-bento-metric svg{color:#64748b}[data-theme=dark] .book-bento-today.due{color:#c7d2fe;background:#818cf833}[data-theme=dark] .book-bento-today.done{color:#6ee7b7;background:#34d3992e}.metric-card,.plan-card,.welcome-panel,.profile-card,.book-tile{background:#fff;border:1px solid #e8ecf3;border-radius:16px;box-shadow:0 4px 18px #1e293b09}.metric-card{border:1.5px solid var(--metric-accent);box-shadow:none;text-align:left;background:0 0;padding:22px}.metric-card:not(:disabled):hover{transform:translateY(-2px);box-shadow:0 4px 14px #1e293b26}.metric-card-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.metric-card-heading svg{width:25px;height:25px;color:var(--metric-accent);flex:none}.metric-card span,.metric-card strong{display:block}.metric-card span{color:#64748b}.metric-card strong{margin:12px 0 0;font-size:2rem}.metric-card small{color:#64748b;margin-top:8px;font-size:.85rem;display:block}.home-feature-card{background:#f8f9ff}.home-feature-card strong{font-size:1.65rem}.home-today-counts{gap:6px;margin-top:12px;display:grid}.home-today-counts strong{margin:0;font-size:1.15rem}.metric-card .home-today-celebration{color:#14532d;background:#e7f7ec;border-radius:12px;align-items:baseline;gap:6px;margin-top:12px;padding:6px 10px;font-weight:700;display:inline-flex}[data-theme=dark] .metric-card .home-today-celebration{color:#bbf7d0;background:#123523}.home-secondary-grid{margin-top:16px}.home-calendar-card{width:100%;margin-top:16px;display:block}.study-statistics{margin:20px 0}.study-statistics .plan-card span,.study-statistics .plan-card strong{display:block}.study-statistics .plan-card span{color:#64748b}.study-statistics .plan-card strong{margin-top:8px;font-size:1.45rem}.study-stage-summary{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px;margin:20px 0;display:grid}.study-stage-summary h3{margin:0 0 10px;font-size:1rem}.study-stage-counts{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;display:grid}.study-stage-counts>div{text-align:center;background:#eef2ff;border-radius:9px;padding:10px 4px}.study-stage-counts span,.study-stage-counts strong{display:block}.study-stage-counts span{color:#475569;font-size:.75rem}.study-stage-counts strong{color:#4338ca;margin-top:4px}.calendar-navigation{justify-content:center;align-items:center;gap:22px;margin:20px 0;display:flex}.calendar-navigation h2{text-align:center;min-width:150px;margin:0;font-size:1.15rem}.calendar-navigation button{cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:4px 13px;font-size:1.2rem}.calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;display:grid}.calendar-weekday{color:#64748b;text-align:center;padding:6px 0;font-size:.8rem;font-weight:600}.calendar-day{color:#1e293b;text-align:left;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:9px;min-width:0;min-height:76px;padding:8px}.calendar-day strong,.calendar-day span{display:block}.calendar-day span{color:#047857;overflow-wrap:anywhere;margin-top:4px;font-size:.72rem}.calendar-day span.calendar-estimate{color:#4f46e5}.calendar-day span.calendar-estimate-detail{margin-top:1px;padding-left:3px}.calendar-day.calendar-today{border-color:#818cf8}.calendar-day[aria-pressed=true]{outline-offset:-2px;background:#eef2ff;outline:2px solid #4f46e5}.calendar-details{background:#f8fafc;border-radius:12px;margin-top:20px;padding:18px}.calendar-details h3{margin:0 0 12px}.calendar-details h4{margin:16px 0 6px}.calendar-details p{margin:6px 0}@media (width<=600px){.calendar-grid{gap:3px}.calendar-day{min-height:64px;padding:4px}.calendar-day span{font-size:.62rem}}[data-theme=dark] .metric-card small,[data-theme=dark] .study-statistics .plan-card span{color:#bfc5d2}[data-theme=dark] .study-stage-counts>div{background:#252b50}[data-theme=dark] .study-stage-counts span{color:#cbd5e1}[data-theme=dark] .study-stage-counts strong{color:#c7d2fe}[data-theme=dark] .calendar-details{background:#111d33}[data-theme=dark] .calendar-day[aria-pressed=true]{background:#343253;outline-color:#a5b4fc}[data-theme=dark] .calendar-day span{color:#a7f3d0}[data-theme=dark] .calendar-day span.calendar-estimate{color:#c7d2fe}.welcome-panel{background:#f1f5f9;margin-top:24px;padding:26px}.welcome-panel h2,.plan-card h2,.profile-card h2{margin:0 0 8px;font-size:1.1rem}.welcome-panel p,.plan-card p,.profile-card p{color:#64748b}.book-tile{cursor:pointer;color:#1e293b;text-align:left;padding:22px}.book-tile:hover,.book-tile.selected{background:#f5f6ff;border-color:#818cf8}.book-tile strong,.book-tile span{display:block}.book-tile span{color:#64748b;margin-top:12px;font-size:.9rem}.book-tile-generating{background:#6366f10d;border-style:dashed;border-color:#6366f1}[data-theme=dark] .book-tile-generating{background:#818cf81a;border-color:#818cf8}.book-tile-generating-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.book-tile-status-badge{background:#6366f124;border-radius:999px;padding:2px 8px;font-weight:700;display:inline-block;color:#4338ca!important;margin-top:0!important;font-size:.78rem!important}[data-theme=dark] .book-tile-status-badge{background:#818cf838;color:#c7d2fe!important}.book-tile-generating-progress{flex-direction:column;gap:6px;margin-top:12px;display:flex}.book-tile-generating-progress progress{width:100%;height:6px}.book-tile-progress-row{justify-content:space-between;align-items:center;font-size:.82rem;display:flex}.book-tile-progress-row span{margin-top:0!important;font-size:.82rem!important}.book-create-footer{flex-direction:column;align-items:flex-start;gap:10px;margin-top:16px;display:flex}.new-book-button{margin-top:16px}.book-create-form{gap:12px;max-width:520px;display:grid}.book-create-form label{font-size:.9rem;font-weight:600}.book-create-form p{margin:0}.book-create-panel .book-generation-heading{margin-top:24px}.book-create-panel,.book-manage-panel{border:1px solid;border-radius:16px;margin-top:24px;padding:24px}.book-create-panel{background:#f3f4ff;border-color:#c7d2fe}.book-generation-jobs{gap:12px;padding-inline-start:20px;display:grid}.book-generation-progress{gap:8px;max-width:360px;margin-block:8px;display:grid}.book-generation-progress label{flex-wrap:wrap;justify-content:space-between;gap:4px 12px;display:flex}.book-generation-progress progress{width:100%;display:block}.book-generation-progress label:first-child progress{accent-color:#2563eb}.book-generation-progress label:last-child progress{accent-color:#16a34a}.book-generation-jobs button{margin-inline-start:8px}.book-manage-panel{background:#297aa014;border-color:#297aa061}.book-manage-panel>.panel-section:first-child{border-top:0;margin-top:0;padding-top:0}.book-detail-view{flex-direction:column;gap:16px;display:flex}.book-detail-topbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.book-detail-hero{border-bottom:1px solid #e2e8f0;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px 16px;padding-bottom:14px;display:flex}[data-theme=dark] .book-detail-hero{border-color:#263650}.book-detail-title{min-width:0}.book-detail-title h1{margin:0;font-size:1.45rem}.book-detail-meta{margin:4px 0 0;font-size:.88rem}.book-detail-view .book-manage-panel,.book-words-section{margin-top:0}.plan-card{margin:12px 0;padding:20px}.dashboard-grid .plan-card{margin:0}.heatmap-plan-selector{max-width:420px;margin:16px 0;font-size:.9rem;font-weight:600;display:block}.heatmap-scroll{overflow-x:auto}.progress-heatmap{table-layout:fixed;border-spacing:6px;text-align:center;width:100%;min-width:340px}.progress-heatmap caption{text-align:left;margin-bottom:8px;font-size:.9rem;font-weight:600}.progress-heatmap th{color:#64748b;font-size:.8rem}.heatmap-axis-column{width:30px}.heatmap-stage-column{width:60px}.progress-heatmap .heatmap-axis-title{color:#4f46e5;font-size:.95rem}.progress-heatmap .heatmap-vertical-axis{color:#078570;font-size:.95rem}.heatmap-vertical-label{writing-mode:vertical-rl;display:inline-block}.heatmap-vertical-axis>span:last-child{display:block}.heatmap-stage{justify-content:center;align-items:center;gap:4px;display:flex}thead .heatmap-stage{flex-direction:column;min-height:58px}.heatmap-stage img{object-fit:contain;background:#fff;border-radius:6px;width:40px;max-width:100%;height:36px}tbody .heatmap-stage img{width:36px}.progress-heatmap td{padding:0}.heatmap-cell{border:1px solid #0000;border-radius:9px;flex-direction:column;justify-content:center;align-items:center;gap:4px;width:100%;min-width:0;height:74px;padding:5px;display:flex}.heatmap-cell strong{font-size:1.15rem;line-height:1}.heatmap-cell[aria-pressed=true]{outline-offset:1px;outline:3px solid #4f46e5}.heatmap-cell.heatmap-intensity-0{color:#64748b;background:#f1f5f9}.heatmap-cell.heatmap-intensity-1{color:#312e81;background:#e0e7ff}.heatmap-cell.heatmap-intensity-2{color:#312e81;background:#c7d2fe}.heatmap-cell.heatmap-intensity-3{color:#1e1b4b;background:#818cf8}.heatmap-cell.heatmap-intensity-4{color:#fff;background:#4338ca}.heatmap-details{background:#f8fafc;border-radius:12px;margin:18px 0;padding:16px}.heatmap-details h3{margin:0 0 4px}.heatmap-details p{color:#64748b;margin:6px 0}.heatmap-words{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px;margin:14px 0;padding:0;list-style:none;display:grid}.heatmap-words li{overflow-wrap:anywhere;background:#fff;border:1px solid #e2e8f0;border-radius:8px;min-width:0;padding:8px 10px}.heatmap-words strong,.heatmap-words span{display:block}.heatmap-words span{color:#64748b;margin-top:3px;font-size:.85rem}.profile-card{align-items:center;gap:18px;padding:24px;display:flex}.profile-card p{margin:0}.settings-check,.settings-duration{flex-wrap:wrap;align-items:center;gap:8px;margin-block:10px;display:flex}.settings-check input[type=checkbox]{accent-color:#4f46e5;width:auto;margin:0}.settings-duration select{width:auto;min-width:5rem}.advance-selector{border:0;min-width:0;margin:0;padding:0}.advance-selector legend{margin-bottom:10px;font-size:.9rem;font-weight:600}.advance-selector label{cursor:pointer;align-items:center;gap:8px;margin:10px 0;display:flex}.advance-selector input:not([type=file]){accent-color:#4f46e5;width:auto;margin:0}.panel-section{border-top:1px solid #e2e8f0;margin-top:30px;padding-top:24px}.panel-section h2,.panel-section h3{margin:0 0 12px}.inline-form{align-items:end;gap:10px;margin:20px 0;display:flex}.inline-form label{flex:1}.generation-count{flex:1;min-width:0}.book-create-panel .inline-form{grid-template-columns:minmax(0,1fr) 120px;max-width:520px;display:grid}.book-create-panel .inline-form>button{grid-column:1/-1;justify-self:start}.generation-count-control{align-items:stretch;margin-top:4px;display:flex}.generation-count-control input:not([type=file]){appearance:textfield;border-radius:6px 0 0 6px;min-width:0;margin:0}.generation-count-control input::-webkit-inner-spin-button{appearance:none;margin:0}.generation-count-control input::-webkit-outer-spin-button{appearance:none;margin:0}.generation-count-buttons{flex-direction:column;display:flex}.generation-count-buttons button{border-radius:0 6px 0 0;flex:1;min-width:36px;min-height:22px;padding:0 8px;line-height:1}.generation-count-buttons button+button{border-top:0;border-radius:0 0 6px}.plan-form{gap:12px;max-width:520px;padding:16px 0;display:grid}.plan-form label,.edit-form label{font-size:.9rem;font-weight:600}.plan-form p{margin:0}.study-time-picker{background:#f8fafc;border:1px solid #cbd5e1;border-radius:12px;flex-direction:column;gap:10px;padding:14px;display:flex}.study-intensity-preview{align-items:center;gap:14px;display:flex}.study-intensity-icon{object-fit:cover;border-radius:14px;flex-shrink:0;width:64px;height:64px;box-shadow:0 2px 10px #0f172a14}.study-intensity-preview p{margin:4px 0 0;font-size:.85rem}.study-time-steps{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;display:grid}.study-time-step{color:inherit;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:8px 6px;font-size:.9rem;font-weight:600;transition:border-color .15s,background .15s,color .15s}.study-time-step.active{color:#c2410c;background:#fff7ed;border-color:#ea580c;box-shadow:0 0 0 1px #ea580c}.plan-mode-single-chart{background:#fff;border:1px solid #cbd5e1;border-radius:10px;padding:10px}[data-theme=dark] .study-time-picker{background:#111d33;border-color:#334155}[data-theme=dark] .study-time-step{background:#0f172a;border-color:#475569}[data-theme=dark] .study-time-step.active{color:#fdba74;background:#2d1b12;border-color:#fb923c;box-shadow:0 0 0 1px #fb923c}[data-theme=dark] .plan-mode-single-chart{background:#0f172a;border-color:#334155}@media (width<=540px){.study-time-steps{grid-template-columns:repeat(3,minmax(0,1fr))}}.plan-mode{border:0;min-width:0;margin:0;padding:0}.plan-mode legend{font-size:.9rem;font-weight:600}.plan-mode-legend{color:#64748b;flex-wrap:wrap;gap:14px;margin:10px 0;font-size:.8rem;display:flex}.plan-mode-legend span{align-items:center;gap:5px;display:flex}.plan-mode-legend i{border-radius:2px;width:10px;height:10px}.legend-new{background:#e97721}.legend-review{background:#2383b8}.plan-mode-legend .legend-goal{border-top:2px dashed #64748b;border-radius:0;width:15px;height:0}.plan-mode-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.plan-form .plan-mode-option{text-align:left;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:8px;flex-direction:column;gap:10px;padding:8px;font-weight:400;display:flex}.plan-form .plan-mode-option.selected{background:#f5f6ff;border:2px solid #6366f1;padding:7px}.plan-mode-option:focus-within{outline-offset:2px;outline:3px solid #818cf8}.plan-mode-option input:not([type=file]){accent-color:#4f46e5;align-self:flex-end;width:16px;height:16px;margin:0}.plan-mode-visual{background:#fff;border:1px solid #1e293b;border-radius:9px;width:100%;padding:6px;display:block}.plan-mode-symbol{color:#2383b8;text-align:right;height:32px;font-size:32px;font-weight:700;line-height:1;display:block}.plan-mode-visual img{width:45%;margin-left:auto;display:block}.plan-mode-chart{color:#64748b;width:100%;font-size:11px;display:block;overflow:visible}.plan-mode-chart text{fill:currentColor}.chart-grid{stroke:#cbd5e1;stroke-width:1px}.chart-new{fill:#e97721;stroke:#1e293b;stroke-width:.8px}.chart-review{fill:#2383b8;stroke:#1e293b;stroke-width:.8px}.chart-goal{stroke:#64748b;stroke-width:1.5px;stroke-dasharray:4 3}.plan-mode-option strong,.plan-mode-description>span{display:block}.plan-mode-option strong{font-size:.9rem}.plan-mode-description>span{color:#64748b;margin-top:5px;font-size:.8rem;line-height:1.4}.plan-mode-completion{background:#eef2ff;border-radius:8px;margin-top:14px;padding:10px 12px;font-size:.9rem}.plan-mode-time{color:#475569;margin-top:4px;font-size:.86rem}.plan-mode-recommended{color:#4f46e5;font-weight:700}[data-theme=dark] .plan-mode-time{color:#cbd5e1}[data-theme=dark] .plan-mode-recommended{color:#a5b4fc}.plan-form .plan-mode-note{margin:10px 0;font-size:.8rem;line-height:1.4}select{width:100%;font:inherit;background:#fff;border:1px solid #cbd5e1;border-radius:6px;margin-top:4px;padding:8px;display:block}summary{cursor:pointer;color:#4338ca;font-weight:600}progress{accent-color:#4f46e5;width:100%;height:10px}.plan-mastery-progress{gap:4px;display:grid}.plan-mastery-progress>span{text-align:end;font-size:.75rem}.study-session{margin:0 auto}.study-plan-title,.mobile-study-plan{color:#0f766e}.study-image{text-align:center;margin:16px auto}.study-image img{border-radius:12px;width:min(100%,320px);height:auto;margin:0 auto;display:block}.quiz-body{isolation:isolate;display:flow-root;position:relative}.quiz-image-popup{z-index:1;visibility:hidden;pointer-events:none;grid-template:minmax(0,1fr)/minmax(0,1fr);place-items:start center;display:grid;position:absolute;inset:0}.quiz-image-popup.visible{visibility:visible}.quiz-image-popup img{opacity:.8;border-radius:12px;width:auto;max-width:min(100%,360px);height:auto;max-height:min(100%,360px)}.study-session .progress{white-space:normal;text-align:right}.study-header-progress{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px;display:flex}.study-progress-actions{white-space:nowrap;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;margin-inline-start:auto;display:flex}.study-question-actions{grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:4px;width:100%;margin:0;padding-inline:8px;display:grid}.study-progress-actions:has(>:is(.learn-word-actions,.study-question-actions)){grid-template-columns:minmax(0,1fr);width:100%;display:grid}.study-progress-actions>.learn-word-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:0;padding-inline:8px;display:grid}.study-progress-actions>.learn-word-actions>button:first-child,.study-question-actions>.quiz-prev-button{grid-column:1;justify-self:start}.study-progress-actions>.learn-word-actions>.ai-tutor-button,.study-question-actions>.ai-tutor-button{grid-column:2;justify-self:center}.study-question-actions>.quiz-action:has(.ai-tutor-button){grid-column:2;justify-self:center}.study-progress-actions>.learn-word-actions>button.primary,.study-question-actions>button.primary{grid-column:3;justify-self:end}.study-question-actions>.quiz-action:has(button.primary){grid-column:3;justify-self:end}.study-progress-actions:has(>:is(.learn-word-actions,.study-question-actions))>.study-inline-progress{grid-row:1;justify-self:end}.study-session .study-progress-actions>.progress{white-space:nowrap}.study-controls{flex-wrap:wrap;flex:1;justify-content:flex-end;align-items:center;gap:7px;display:flex}.study-toolbar{border-bottom:1px solid #e2e8f0;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:6px;margin-bottom:24px;padding-bottom:15px;display:grid}.study-toolbar:has(+.study-header-progress){margin-bottom:12px}.study-toolbar:has(+.arcade-hud-bar){margin-bottom:15px}.study-toolbar>.header{border:0;margin:0;padding:0}.study-toolbar>.header[hidden]{display:none}.study-toolbar:has(>.header[hidden]){border:0;margin-bottom:8px;padding-bottom:0}.study-toolbar-toggle{color:#4f46e5;background:#fff;border:1px solid #cbd5e1;border-radius:50%;grid-column:2;place-items:center;width:32px;height:32px;padding:0;display:inline-grid}.study-toolbar-toggle:hover{border-color:#818cf8}.study-toolbar-toggle svg{width:16px;height:16px}.study-toolbar-toggle[aria-expanded=false]{width:28px;height:28px}[data-theme=dark] button.study-toolbar-toggle{color:#c7d2fe;background:#17243b;border-color:#475569}.study-toolbar .study-plan-title{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.study-wrong-count{color:#dc2626;margin-inline-start:5px;font-weight:700}[data-theme=dark] .study-wrong-count{color:#f87171}.study-controls :is(.advance-toggle,.study-list-toggle){font-size:calc(.78rem - 2pt)}.study-controls .advance-toggle{white-space:nowrap;color:#475569;background:#fff;border-color:#cbd5e1;border-radius:999px;flex-shrink:0;align-items:center;gap:6px;padding-inline:11px;font-weight:700;display:inline-flex}.advance-toggle-light{background:#94a3b8;border-radius:50%;flex:0 0 8px;height:8px}.study-controls .advance-toggle[aria-pressed=true]{color:#4338ca;background:#eef2ff;border-color:#c7d2fe}.advance-toggle[aria-pressed=true] .advance-toggle-light{background:#4f46e5;box-shadow:0 0 5px #4f46e573}.study-controls .advance-toggle.advance-toggle-disabled{color:#6b7280;cursor:not-allowed;background:#e5e7eb;border-color:#d1d5db}.study-controls .advance-toggle.advance-toggle-disabled .advance-toggle-light{box-shadow:none;background:#9ca3af}.review-quiz .study-toolbar{margin-bottom:12px;padding-bottom:10px}.review-quiz .study-toolbar>.header{flex-flow:wrap;align-items:center;gap:6px}.review-quiz .study-controls{margin-inline-start:auto}.quiz-round{color:#fff;white-space:nowrap;background:#4f46e5;border-radius:999px;padding:5px 9px;font-size:.72rem;font-weight:800}.quiz-subheading{color:#64748b;justify-content:space-between;align-items:center;gap:10px;margin:-4px 0 12px;font-size:.85rem;display:flex}.quiz-subheading>span{overflow-wrap:anywhere;min-width:0}.quiz-score{background:#f5f7ff;border:1px solid #dfe5fb;border-radius:12px;margin-bottom:12px;padding:10px 12px;font-size:.85rem;font-weight:600}.quiz-score-line{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.quiz-score-line>span{white-space:nowrap}.quiz-score-line strong{font-weight:800}.quiz-score-line>span:first-child strong{color:#4f46e5}.quiz-percent{color:#64748b;margin-left:auto}.quiz-score progress{appearance:none;color:#6659ef;background:#dce4f2;border:0;border-radius:999px;height:8px;margin-top:10px;display:block}.quiz-score progress::-webkit-progress-bar{background:#dce4f2;border-radius:999px}.quiz-score progress::-webkit-progress-value{background:#6659ef;border-radius:999px}.quiz-score progress::-moz-progress-bar{background:#6659ef;border-radius:999px}.study-session .word-display,.review-quiz .word-display{background:#f5f7ff;border:1px solid #dfe5fb;border-radius:16px;padding:16px 18px}.study-levels{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.study-controls>.study-levels{flex-wrap:nowrap;flex:none;gap:6px;margin-inline-end:auto}.study-level{color:#4338ca;cursor:pointer;background:#eef2ff;border:0;border-radius:50%;flex:0 0 32px;place-items:center;width:32px;height:32px;padding:0;font-size:.72rem;font-weight:700;display:inline-grid;position:relative}.study-level-active{color:#047857;background:#ecfdf5}.study-level-ring{width:32px;height:32px;display:block}.study-level-seg{stroke:#cbd5e1}[data-theme=dark] .study-level-seg{stroke:#334155}.study-level-seg.filled,[data-theme=dark] .study-level-seg.filled{stroke:currentColor}.study-level-popup{z-index:20;background:inherit;white-space:nowrap;pointer-events:none;border-radius:6px;place-items:center;min-height:20px;padding:2px 6px;display:grid;position:absolute;top:calc(100% + 4px);left:50%;transform:translate(-50%);box-shadow:0 1px 5px #0f172a40}.study-level:first-child .study-level-popup,.study-level-memory .study-level-popup{left:0;transform:none}.today-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:8px;display:flex}.today-heading h1{margin:0}button.sound-toggle{color:#64748b;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:50%;flex:0 0 44px;place-items:center;width:44px;height:44px;padding:0;display:inline-grid}button.sound-toggle svg{width:21px;height:21px}button.sound-toggle[aria-pressed=true]{color:#4f46e5;background:#eef2ff;border-color:#c7d2fe}button.sound-toggle:hover{border-color:#818cf8}button.sound-toggle:focus-visible{outline-offset:3px;outline:3px solid #818cf8}.app-shell:has(.learn-word-card,.quiz-scroll-body){height:100dvh;overflow:hidden}.main-content:has(.learn-word-card,.quiz-scroll-body){flex-direction:column;min-height:0;padding-bottom:32px;display:flex;overflow:hidden}.content-card:has(.learn-word-card,.quiz-scroll-body){flex-direction:column;flex:0 auto;min-height:0;max-height:100%;padding:0;display:flex;overflow:hidden}.content-card:has(.learn-word-card,.quiz-scroll-body)>:not(.study-session):not(.review-quiz){flex:none}:is(.study-session:has(>.quiz-scroll-body),.review-quiz:has(>.quiz-scroll-body)){max-height:calc(100dvh - var(--learn-card-offset,124px));flex-direction:column;display:flex;overflow:hidden}.app-shell:has(.learn-word-card,.quiz-scroll-body) :is(.study-session:has(>.quiz-scroll-body),.review-quiz:has(>.quiz-scroll-body),.study-session:has(>.learn-word-card)){flex-direction:column;flex:0 auto;width:100%;min-height:0;max-height:100%;display:flex;overflow:hidden}.app-shell:has(.learn-word-card,.quiz-scroll-body) .learn-word-card{flex:0 auto;min-height:0;max-height:100%}:is(.study-session:has(>.quiz-scroll-body)>:not(.quiz-scroll-body),.review-quiz:has(>.quiz-scroll-body)>:not(.quiz-scroll-body)){flex:none}.quiz-scroll-body{overscroll-behavior:contain;flex:auto;min-height:0;padding-inline-end:2px;overflow-y:auto}.quiz-scroll-body .question-prompt{margin:4px 0 10px}.quiz-scroll-body .word-display{margin-bottom:12px}.learn-word-card{max-height:calc(100dvh - var(--learn-card-offset,124px));overflow-wrap:anywhere;flex-direction:column;padding:0;display:flex;overflow:hidden;container-type:inline-size}.learn-word-content{min-width:0}.learn-word-body{overscroll-behavior:contain;flex:auto;min-height:0;padding-inline-end:2px;overflow-y:auto}.learn-word-reveal{animation:.45s ease-out learn-word-reveal}.learn-word-reveal-button,.learn-word-more-toggle{margin-top:6px}@keyframes learn-word-reveal{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.learn-word-reveal{animation:none}}@container (width>=600px){.learn-word-body:has(.study-image){grid-template-columns:minmax(0,1fr) minmax(200px,320px);align-items:start;gap:24px;display:grid}.learn-word-body .study-image{width:100%}}.learn-word-header{flex:none;padding-block-end:10px}.learn-word-title{background:#e9edf2;border-radius:8px;flex-wrap:wrap;align-items:center;gap:8px;padding:0 10px 6px;display:flex}.learn-word-title>h2{min-width:0;margin:0;font-size:clamp(2rem,5vw,3rem);line-height:1.15}.word-phonetic{color:var(--muted,#5c6880);margin-inline-start:6px;font-size:.95rem;font-weight:500}.learn-word-title .word-phonetic{margin-inline-start:2px;font-size:1.05rem}.learn-word-body p{white-space:pre-wrap;line-height:1.6}.learn-word-pronunciation{color:#4f46e5;font-size:1.05rem}.learn-word-meaning{font-size:1.25rem;font-weight:700}.part-of-speech-badge{color:#3730a3;background:#e0e7ff;border-radius:5px;padding:1px 5px;font-size:.72em;font-weight:700;line-height:1.4;text-decoration:none;display:inline-block}.quiz-word-parts{vertical-align:middle;letter-spacing:normal;gap:4px;margin-inline-start:8px;font-size:1rem;display:inline-flex}.quiz-answer-details{margin-top:8px}:is(.word-example-details,.quiz-answer-details)>summary{color:#4f46e5;cursor:pointer;font-size:.9rem}[data-theme=dark] .part-of-speech-badge{color:#e0e7ff;background:#312e81}[data-theme=dark] :is(.word-example-details,.quiz-answer-details)>summary{color:#a5b4fc}.learn-word-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px;margin:4px 0 8px;display:flex}.study-word-list,.study-word-list-detail{max-height:min(45vh,480px);margin:16px 0;padding:4px;overflow-y:auto}.learn-word-header>.study-word-list{max-height:min(30vh,300px)}.study-word-list:focus-visible{outline:3px solid #818cf8}.study-word-list ul{gap:8px;margin:0;padding:0;list-style:none;display:grid}.study-list-start-quiz{margin:16px auto 0;display:block}.study-word-list li>button{text-align:left;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;width:100%;display:flex}.study-word-list li>button:disabled{opacity:1;cursor:default}.study-word-list-text{overflow-wrap:anywhere;min-width:0;display:grid}.study-word-list-text>span{font-size:.9rem}.study-word-list-levels{flex-wrap:wrap;flex-shrink:0;justify-content:flex-end;gap:4px;display:flex}.study-word-stage{color:#fff;white-space:nowrap;border-radius:6px;padding:3px 6px;font-size:.75rem;font-weight:700}.stage-0{background:#475569}.stage-1{background:#92400e}.stage-2{background:#9f1239}.stage-3{background:#1d4ed8}.stage-4{background:#047857}.stage-5{background:#0f766e}.review-quiz .study-question-actions{margin:0 0 12px}.study-session form>button{margin-top:12px}.question-prompt{color:#64748b;text-align:center}.sentence{background:#fff;border-radius:8px;padding:14px;line-height:1.5}.sentence-order-slots{white-space:pre-wrap;overflow-wrap:anywhere}.sentence-order-slot{min-width:3.2rem;color:inherit;font:inherit;line-height:inherit;text-align:center;vertical-align:baseline;background:0 0;border:0;border-bottom:1.5px solid;border-radius:0;padding:0 4px;display:inline-block}.sentence-order-slot.filled{cursor:pointer;color:var(--accent,#2563eb);font-weight:700;transition:opacity .15s}.sentence-order-slot.filled:hover:not(:disabled){opacity:.72;text-decoration:line-through}.sentence-order-bank,.sentence-order-actions{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.sentence-order-bank button{min-height:40px}.login-shell{place-items:center;min-height:100vh;padding:24px;display:grid}.login-card{background:#fff;border:1px solid #e8ecf3;border-radius:20px;width:min(100%,480px);padding:42px}.login-card .eyebrow{margin-top:46px}.login-card h1{letter-spacing:-.04em;font-size:2.2rem;line-height:1.25}.login-card>p:not(.eyebrow){color:#64748b;line-height:1.6}.login-card .brand{margin-bottom:20px}.schedule-create{margin-top:16px}.schedule-create>label{max-width:520px;margin-top:12px;display:block}.schedule-plan-management{flex:none;gap:8px;margin-inline-start:auto;display:flex}.schedule-plan-management>button,[data-theme=dark] .schedule-plan-management>button{background:0 0;border:0;border-radius:8px;place-items:center;width:32px;height:32px;padding:0;display:inline-grid}.schedule-plan-management>button:hover:not(:disabled),[data-theme=dark] .schedule-plan-management>button:hover:not(:disabled){filter:brightness(.92);background:0 0}.schedule-plan-management .action-icon{border-radius:8px;width:30px;height:30px;padding:5px}.schedule-plan-management .action-edit .action-icon{color:#0f766e;background:#ccfbf1}.schedule-plan-management .action-danger .action-icon{color:#b91c1c;background:#fee2e2}.schedule-plan-mastery{text-align:end;margin-top:12px;font-size:.85rem}.plan-card h3{margin:5px 0 0;font-size:1.05rem}.schedule-summary{background:#f8f9ff;border-radius:10px;margin:14px 0;padding:10px 14px}.schedule-summary p{margin:4px 0}.schedule-summary.schedule-summary-completed{color:#14532d;background:#e7f7ec}.schedule-forecast,.today-new-words{margin-top:20px}.schedule-forecast h4{margin:0}.schedule-forecast p{line-height:1.5}.schedule-table-wrap{max-height:460px;margin:16px 0;overflow:auto}.schedule-table{border-collapse:separate;border-spacing:0;text-align:right;width:100%;min-width:520px}.schedule-table th,.schedule-table td{white-space:nowrap;border-bottom:1px solid #e2e8f0;padding:8px}.schedule-table th:first-child,.schedule-table td:first-child{text-align:left}.schedule-table thead th{z-index:2;background:#f8fafc;font-size:.85rem;position:sticky;top:0;box-shadow:inset 0 -1px #cbd5e1}[data-theme=dark] .schedule-table thead th{background:#17243b;box-shadow:inset 0 -1px #3a4b66}.schedule-more-btn{margin-top:8px}.guide-list section{border-top:1px solid #e2e8f0;padding:20px 0}.guide-list h2{margin:0;font-size:1.05rem}.guide-list p{color:#64748b;line-height:1.6}.about-video{background:#0f172a;border-radius:14px;width:100%;max-width:720px;height:auto;margin:0 auto;display:block}.about-section{margin-top:32px}.about-section h2{margin:0 0 8px;font-size:1.15rem}.about-section>p{color:#64748b;line-height:1.6}.about-features{grid-template-columns:repeat(2,minmax(0,1fr))}.about-stage-grid{flex-direction:column;gap:10px;margin:16px 0 0;padding:0;list-style:none;display:flex}.about-stage-card{background:#f8f9ff;border:1px solid #e8ecf3;border-radius:14px;align-items:center;gap:14px;min-width:0;padding:12px 16px;display:flex}.about-stage-card img{object-fit:contain;background:#fff;border:1px solid #e2e8f0;border-radius:14px;flex:0 0 64px;width:64px;height:64px;padding:4px;display:block}.about-stage-body{flex:1;min-width:0}.about-stage-number{color:#4f46e5;font-size:.78rem;font-weight:700;display:block}.about-stage-card h3{overflow-wrap:anywhere;margin:2px 0 4px;font-size:.95rem}.about-stage-card p{color:#64748b;overflow-wrap:anywhere;margin:0;font-size:.84rem;line-height:1.5}@media (width<=760px){.app-shell{display:block}.mobile-toolbar{z-index:3;background:#fff;border-bottom:1px solid #e2e8f0;align-items:center;gap:8px;padding:10px 12px;display:flex;position:sticky;top:0}.mobile-toolbar>.menu-toggle,.mobile-toolbar>strong{flex:none}.mobile-study-plan{text-overflow:ellipsis;white-space:nowrap;flex:1 1 0;min-width:0;margin:0;font-size:.9rem;overflow:hidden}.mobile-study-progress{white-space:nowrap;flex:none;margin-inline-start:auto}.mobile-study-toggle{flex:none;margin-inline-start:auto}.mobile-study-progress+.mobile-study-toggle{margin-inline-start:0}.mobile-study-toggle:empty{display:none}.mobile-study-toggle>.study-toolbar-toggle{height:28px}.study-toolbar-mobile-toggle{grid-template-columns:minmax(0,1fr)}.study-toolbar-mobile-toggle>.study-toolbar-toggle{display:none}.study-toolbar-mobile-toggle:has(>.header[hidden]){display:none}.app-shell .study-inline-progress,.app-shell .study-plan-title{display:none}.app-shell .study-session .study-controls{margin-inline-start:auto}.menu-toggle{color:#4f46e5;border:0;padding:6px;font-size:1.3rem;line-height:1}.sidebar{z-index:5;visibility:hidden;width:min(252px,85vw);height:100dvh;padding:32px 18px 22px;transition:transform .2s,visibility .2s;position:fixed;top:0;left:0;transform:translate(-100%)}.sidebar.sidebar-open{visibility:visible;transform:translate(0)}.sidebar-close{border:0;font-size:1.5rem;line-height:1;display:block;position:absolute;top:30px;right:14px}.sidebar-backdrop{z-index:4;background:#0f172a66;border:0;border-radius:0;width:100%;height:100%;padding:0;display:block;position:fixed;inset:0}.main-content{padding:20px 16px 48px}.content-card{padding:24px 20px}.app-shell .main-content:has(.study-session,.review-quiz){padding-top:6px}.app-shell .content-card:has(.study-session,.review-quiz){padding-top:9px}.main-content:has(.study-session,.book-manager-page){padding-inline:8px}.content-card:has(.study-session,.book-manager-page){padding-inline:12px}.book-manage-panel{padding-inline:12px}.app-shell:has(.learn-word-card,.quiz-scroll-body){flex-direction:column;display:flex}.app-shell:has(.learn-word-card,.quiz-scroll-body)>.mobile-toolbar{flex:none}.app-shell .main-content:has(.learn-word-card,.quiz-scroll-body){flex:auto;min-height:0;padding-bottom:12px}.app-shell .content-card:has(.learn-word-card,.quiz-scroll-body){padding:0}.page-heading h1{font-size:1.2rem}.inline-form{flex-direction:column;align-items:stretch}.book-create-panel .inline-form{grid-template-columns:minmax(0,1fr)}.book-create-panel .generation-count{width:min(100%,120px)}.login-card{padding:28px}.about-stage-card{align-items:flex-start}}@media (width<=480px){.about-features,.plan-mode-options{grid-template-columns:1fr}.progress-heatmap{border-spacing:4px;min-width:290px}.heatmap-axis-column{width:23px}.heatmap-stage-column{width:42px}.heatmap-stage img{width:32px;height:30px}tbody .heatmap-stage img{width:27px}.heatmap-cell{height:64px}.study-session .header{flex-flow:wrap;align-items:center}}@media (prefers-reduced-motion:reduce){.sidebar{transition:none}}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:#e8eaf0;background:#101116}[data-theme=dark] .schedule-summary{background:#292c37}[data-theme=dark] .schedule-table th,[data-theme=dark] .schedule-table td{border-color:#3a3d4a}[data-theme=dark] .container,[data-theme=dark] .sidebar,[data-theme=dark] .mobile-toolbar,[data-theme=dark] .content-card,[data-theme=dark] .login-card,[data-theme=dark] .metric-card,[data-theme=dark] .plan-card,[data-theme=dark] .profile-card,[data-theme=dark] .book-tile{color:#e8eaf0;background:#1b1d25;border-color:#3a3d4a}[data-theme=dark] .header,[data-theme=dark] .section,[data-theme=dark] .panel-section,[data-theme=dark] .guide-list section,[data-theme=dark] .word-card,[data-theme=dark] .sidebar-footer{background:0 0;border-color:#263650}[data-theme=dark] .sidebar-footer-btn:hover,[data-theme=dark] .sidebar-footer-btn.active{background:#6366f129}[data-theme=dark] button,[data-theme=dark] .actions button,[data-theme=dark] .section>button,[data-theme=dark] .text-button,[data-theme=dark] .option-btn{color:#f0f1f5;background:#17243b;border-color:#64748b}.ai-tutor-modes button[aria-pressed=true]{color:#fff;background:#4f46e5;border-color:#4f46e5}[data-theme=dark] .ai-tutor-modes button[aria-pressed=true]{color:#fff;background:#4f46e5;border-color:#a5b4fc}button.ai-action-button,[data-theme=dark] button.ai-action-button{--ai-button-surface:#f0f3ff;--ai-star-cyan:#087c99;--ai-star-violet:#6554cf;--ai-star-pink:#ab2d92;vertical-align:middle;box-sizing:border-box;background:linear-gradient(var(--ai-button-surface), var(--ai-button-surface)) padding-box, linear-gradient(135deg, #4bd7cb, #62c7f5 36%, #a28af4 68%, #ec69d1) border-box;color:#6554cf;cursor:pointer;border:2px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:7px;max-width:100%;min-height:40px;padding:5px 12px;font-weight:700;display:inline-flex}[data-theme=dark] button.ai-action-button{--ai-button-surface:#17243b;--ai-star-cyan:#9af9f4;--ai-star-violet:#c5cbff;--ai-star-pink:#f5aaf1;color:#c5cbff}button.ai-action-button:disabled{cursor:not-allowed}button.ai-action-button:hover:not(:disabled){box-shadow:-2px -1px 9px #62c7f566,2px 2px 9px #ec69d166}button.ai-action-button:focus-visible{outline-offset:3px;outline:2px solid #818cf8}.ai-action-sparkles{flex:none;width:24px;height:24px}.quiz-result-actions>:is(button.ai-action-button.ai-tutor-button,button.study-extra-button){border-width:2px;justify-content:center;align-self:center;align-items:center;gap:6px;padding:5px 12px;font-weight:700;line-height:1.2;display:inline-flex}.quiz-result-actions>:is(.ai-tutor-button,.study-extra-button)>svg{width:18px;height:18px}.study-controls>button,:is(.learn-word-actions,.study-question-actions,.quiz-action,.book-word-tutor)>button,button.ai-action-button.new-book-button,button.learn-word-more-toggle,button.hint-toggle{min-height:32px;padding:4px 8px;font-size:calc(1em - 2pt);line-height:1.2}:is(.study-controls,.today-heading)>button.sound-toggle{border-radius:50%;flex-basis:32px;width:32px;height:32px;padding:0}:is(.study-controls,.today-heading)>button.sound-toggle[aria-pressed=true]{color:#4f46e5;background:#fff;border-color:#cbd5e1}[data-theme=dark] :is(.study-controls,.today-heading)>button.sound-toggle[aria-pressed=true]{color:#c7d2fe;background:#17243b;border-color:#475569}:is(.study-controls,.today-heading)>.sound-toggle svg{width:17px;height:17px}:is(.learn-word-actions,.quiz-action)>.ai-tutor-button{margin:0}:is(.learn-word-actions,.quiz-action,.book-word-tutor)>button.ai-action-button.ai-tutor-button,button.ai-action-button.new-book-button{gap:5px;min-height:32px;padding:4px 8px}:is(.learn-word-actions,.quiz-action,.book-word-tutor)>.ai-tutor-button .ai-action-sparkles,.new-book-button .ai-action-sparkles{width:17px;height:17px}.quiz-action{display:inline-flex;position:relative}button:is(.primary,.ai-action-button).quiz-action-waiting{color:#4b5563;background:#e5e7eb;border-color:#d1d5db}button.ai-action-button.quiz-action-waiting:hover:not(:disabled){box-shadow:none}.quiz-action-waiting .ai-action-sparkles path{fill:currentColor}.quiz-action-hint:not(:empty){z-index:2;top:calc(100% + 4px);color:#fff;white-space:nowrap;pointer-events:none;background:#334155;border-radius:6px;padding:5px 8px;font-size:.75rem;position:absolute;inset-inline-end:0}.ai-tutor-button{margin-inline-end:8px}@media (forced-colors:active){button.ai-action-button,[data-theme=dark] button.ai-action-button{border-color:buttontext}.ai-action-sparkles path{fill:buttontext}}[data-theme=dark] input:not([type=file]),[data-theme=dark] textarea,[data-theme=dark] select{color:#f0f1f5;background:#0b1424;border-color:#64748b}[data-theme=dark] input::placeholder,[data-theme=dark] textarea::placeholder{color:#94a3b8;opacity:1}[data-theme=dark] button.primary,[data-theme=dark] .restart-btn{color:#fff;background:#6366f1}[data-theme=dark] button:is(.primary,.ai-action-button).quiz-action-waiting{color:#e5e7eb;background:#374151;border-color:#6b7280}[data-theme=dark] button.action-edit,[data-theme=dark] .actions button.action-edit{color:#e0e7ff;background:#252b50;border-color:#626baa}[data-theme=dark] button.action-edit:hover:not(:disabled),[data-theme=dark] .actions button.action-edit:hover:not(:disabled){background:#343c6d;border-color:#a5b4fc}.schedule-plan-actions>button[aria-expanded=true],.schedule-plan-actions>button[aria-expanded=true]:hover:not(:disabled),.schedule-create>button[aria-expanded=true]{color:#fff;background:#4338ca;border-color:#4338ca}[data-theme=dark] .schedule-plan-actions>button[aria-expanded=true],[data-theme=dark] .schedule-create>button[aria-expanded=true]{color:#1e1b4b;background:#a5b4fc;border-color:#c7d2fe}.schedule-plan-actions.actions>button[aria-expanded=true]:hover:not(:disabled),.schedule-create>button[aria-expanded=true]:hover:not(:disabled){filter:brightness(.92)}[data-theme=dark] .schedule-plan-actions>button[aria-expanded=true]:hover:not(:disabled){color:#1e1b4b;background:#a5b4fc;border-color:#c7d2fe}[data-theme=dark] button.action-danger,[data-theme=dark] .actions button.action-danger{color:#fecaca;background:#442229;border-color:#a75560}[data-theme=dark] button.action-danger:hover:not(:disabled),[data-theme=dark] .actions button.action-danger:hover:not(:disabled){background:#603039;border-color:#fca5a5}[data-theme=dark] .nav-item{color:#c4c9d4;background:0 0;border-color:#0000}[data-theme=dark] .nav-item:hover,[data-theme=dark] .nav-item.active,[data-theme=dark] .book-tile:hover,[data-theme=dark] .book-tile.selected{color:#e4e6ff;background:#343253;border-color:#a5b4fc}[data-theme=dark] .plan-form .plan-mode-option{background:#111d33;border-color:#64748b}[data-theme=dark] .plan-form .plan-mode-option.selected{background:#1d2c49;border-color:#a5b4fc}[data-theme=dark] .plan-mode-completion{background:#1d2c49}[data-theme=dark] .progress-heatmap th,[data-theme=dark] .heatmap-axes,[data-theme=dark] .heatmap-details p,[data-theme=dark] .heatmap-words span{color:#bfc5d2}[data-theme=dark] .heatmap-cell.heatmap-intensity-0{color:#c4c9d4;background:#343744}[data-theme=dark] .heatmap-cell.heatmap-intensity-1{color:#312e81;background:#e0e7ff}[data-theme=dark] .heatmap-cell.heatmap-intensity-2{color:#312e81;background:#c7d2fe}[data-theme=dark] .heatmap-cell.heatmap-intensity-3{color:#1e1b4b;background:#818cf8}[data-theme=dark] .heatmap-cell.heatmap-intensity-4{color:#fff;background:#4338ca}[data-theme=dark] .heatmap-cell[aria-pressed=true]{outline-color:#c7d2fe}[data-theme=dark] .heatmap-details{background:#111d33}[data-theme=dark] .heatmap-words li{background:#0b1424;border-color:#33465f}[data-theme=dark] .plan-mode-legend .legend-goal{border-color:#bfc5d2}[data-theme=dark] .book-create-panel{background:#111d33;border-color:#33465f}[data-theme=dark] .book-manage-panel{background:#297aa024;border-color:#297aa08c}[data-theme=dark] .about-stage-card{background:#111d33;border-color:#33465f}[data-theme=dark] .learn-word-title{background:#0b1424}[data-theme=dark] .learn-word-pronunciation{color:#b4bcff}[data-theme=dark] button.sound-toggle{color:#c4c9d4;background:#17243b;border-color:#64748b}[data-theme=dark] button.sound-toggle[aria-pressed=true]{color:#e4e6ff;background:#343253;border-color:#a5b4fc}[data-theme=dark] .about-stage-number{color:#b4bcff}[data-theme=dark] .study-level-memory{color:#c7d2fe;background:#343253}[data-theme=dark] .study-level-active{color:#a7f3d0;background:#1d3530}[data-theme=dark] .study-level-memory .study-level-icon{background:#555b97}[data-theme=dark] .study-level-active .study-level-icon{background:#316557}[data-theme=dark] .about-section>p,[data-theme=dark] .about-stage-card p,[data-theme=dark] .plan-mode-legend,[data-theme=dark] .plan-mode-description>span{color:#bfc5d2}[data-theme=dark] .notice,[data-theme=dark] .feedback-box,[data-theme=dark] .welcome-panel,[data-theme=dark] .sentence{background:#292c37}[data-theme=dark] .muted,[data-theme=dark] .sources,[data-theme=dark] .progress,[data-theme=dark] .result-desc,[data-theme=dark] .page-heading p:not(.eyebrow),[data-theme=dark] .metric-card span,[data-theme=dark] .welcome-panel p,[data-theme=dark] .plan-card p,[data-theme=dark] .profile-card p,[data-theme=dark] .book-tile span,[data-theme=dark] .question-prompt,[data-theme=dark] .login-card>p:not(.eyebrow),[data-theme=dark] .guide-list p,[data-theme=dark] .ui-language-selector,[data-theme=dark] .theme-selector{color:#bfc5d2}[data-theme=dark] .title,[data-theme=dark] .eyebrow,[data-theme=dark] .app-shell .page-heading h1,[data-theme=dark] .menu-toggle,[data-theme=dark] summary,[data-theme=dark] a{color:#b4bcff}[data-theme=dark] .study-plan-title,[data-theme=dark] .mobile-study-plan{color:#5eead4}[data-theme=dark] .option-btn.correct{color:#e3fff1;background:#14523d;border-color:#6ee7b7}[data-theme=dark] .option-btn.incorrect{color:#fff1f2;background:#702d35;border-color:#fca5a5}@media (hover:hover) and (pointer:fine){[data-theme=dark] .option-btn:hover:not(:disabled){background:#343253;border-color:#a5b4fc}}[data-theme=dark] .success{color:#6ee7b7}[data-theme=dark] .error,[data-theme=dark] .login-card>p.error{color:#fca5a5}:root[data-theme=dark]{background:#060b1b}[data-theme=dark] .sidebar,[data-theme=dark] .mobile-toolbar{background:#0a1122;border-color:#1e2b43}[data-theme=dark] .content-card,[data-theme=dark] .login-card{border-color:#202e45}[data-theme=dark] .content-card{background:#020617}[data-theme=dark] .login-card{background:#0d1629}[data-theme=dark] .metric-card,[data-theme=dark] .plan-card,[data-theme=dark] .profile-card,[data-theme=dark] .book-tile{background:#111d33;border-color:#263650}[data-theme=dark] .welcome-panel,[data-theme=dark] .notice,[data-theme=dark] .feedback-box,[data-theme=dark] .sentence,[data-theme=dark] .schedule-summary{background:#142139}[data-theme=dark] .schedule-summary.schedule-summary-completed{color:#bbf7d0;background:#123523}[data-theme=dark] .study-session .word-display,[data-theme=dark] .review-quiz .word-display{background:#111d33;border-color:#263650}[data-theme=dark] .quiz-subheading,[data-theme=dark] .quiz-percent{color:#bfc5d2}[data-theme=dark] .quiz-score{background:#111d33;border-color:#263650}[data-theme=dark] .quiz-score progress{background:#263650}[data-theme=dark] .quiz-score progress::-webkit-progress-bar{background:#263650}[data-theme=dark] .quiz-score-line>span:first-child strong{color:#b4bcff}[data-theme=dark] .option-btn{background:#111d33;border-color:#263650}[data-theme=dark] .study-controls .advance-toggle{color:#e0e7ff;background:#17243b;border-color:#273951}[data-theme=dark] .study-toolbar{border-color:#273951}[data-theme=dark] .study-controls .advance-toggle[aria-pressed=true]{color:#e0e7ff;background:#343253;border-color:#6366f1}[data-theme=dark] .advance-toggle[aria-pressed=true] .advance-toggle-light{background:#a5b4fc}[data-theme=dark] .study-controls .advance-toggle.advance-toggle-disabled{color:#9ca3af;background:#374151;border-color:#4b5563}[data-theme=dark] .study-controls .advance-toggle.advance-toggle-disabled .advance-toggle-light{box-shadow:none;background:#6b7280}[data-theme=dark] .progress-heatmap .heatmap-axis-title{color:#b4bcff}[data-theme=dark] .progress-heatmap .heatmap-vertical-axis{color:#6ee7b7}.metric-card:nth-child(3n+1){--metric-accent:#6959d7}.metric-card:nth-child(3n+2){--metric-accent:#087e8b}.metric-card:nth-child(3n+3){--metric-accent:#b85c16}[data-theme=dark] .metric-card{border-color:var(--metric-accent);background:0 0}[data-theme=dark] .metric-card:nth-child(3n+1){--metric-accent:#a5b4fc}[data-theme=dark] .metric-card:nth-child(3n+2){--metric-accent:#50c4ce}[data-theme=dark] .metric-card:nth-child(3n+3){--metric-accent:#f5ad72}.brand-mark{background:linear-gradient(135deg,#6354ed,#358ed7)}.nav-item.active{background:linear-gradient(110deg,#eeecff,#e8f6fc)}[data-theme=dark] .nav-item.active{background:linear-gradient(110deg,#302a58,#17354c)}.welcome-panel{background:linear-gradient(120deg,#f1f0ff,#eaf8fb)}[data-theme=dark] .welcome-panel{background:linear-gradient(120deg,#20204a,#123043)}.learn-word-anchor{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;margin-bottom:12px;padding:12px 16px}.learn-word-anchor>p:first-child{margin-top:0}.learn-word-anchor>.learn-word-meaning{color:inherit;flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:0;font-size:1rem;font-weight:700;display:flex}[data-theme=dark] .learn-word-anchor{background:#162238;border-color:#263650}[data-theme=dark] .learn-word-anchor>.learn-word-meaning{color:#f1f5f9}.learn-word-main-example{border-top:1px solid #e2e8f0;margin-top:8px;padding-top:8px}[data-theme=dark] .learn-word-main-example{border-top-color:#263650}.learn-word-example-text{color:#0f172a;margin:0 0 5px;font-size:1.02rem;line-height:1.55}.learn-word-example-ko{color:#64748b;margin:0;font-size:.9rem;line-height:1.5}.learn-word-highlight{color:#3730a3;background:#e0e7ff;border-radius:4px;padding:1px 4px;font-weight:700}[data-theme=dark] .learn-word-example-text{color:#f1f5f9}[data-theme=dark] .learn-word-example-ko{color:#94a3b8}[data-theme=dark] .learn-word-highlight{color:#e0e7ff;background:#312e81}.learn-word-extra-senses{gap:10px;margin-bottom:12px;display:grid}.learn-word-extra-sense{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:12px 16px}.learn-word-extra-meaning{border-bottom:1px solid #e2e8f0;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 8px;padding-bottom:8px;font-size:1rem;display:flex}[data-theme=dark] .learn-word-extra-sense{background:#162238;border-color:#263650}[data-theme=dark] .learn-word-extra-meaning{border-bottom-color:#263650}.learn-word-detail-toggles{flex-wrap:wrap;align-items:center;gap:12px;margin-top:4px;display:flex}.learn-word-etymology-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;margin-top:10px;padding:12px 14px;font-size:.92rem}.learn-word-etymology-box>p{margin:0}.learn-word-etymology-box>p+p{margin-top:6px}.learn-word-etymology-desc{color:#475569}[data-theme=dark] .learn-word-etymology-box{background:#162238;border-color:#263650}[data-theme=dark] .learn-word-etymology-desc{color:#cbd5e1}.learn-word-speak-bar{flex-direction:column;align-items:center;gap:6px;margin-top:16px;display:flex}.learn-word-speak-status{text-align:center;margin:0;font-size:.88rem}.study-image-actions{justify-content:flex-end;margin-top:8px}.study-image-hide{margin-inline-start:auto;padding:4px 10px;font-size:.82rem}.study-image-collapsed{justify-content:flex-end;margin:8px 0;display:flex}.learn-word-micro-speak{border-top:1px dashed #cbd5e1;flex-wrap:wrap;align-items:center;gap:10px;margin-top:16px;padding-top:14px;display:flex}[data-theme=dark] .learn-word-micro-speak{border-color:#33465f}.stt-recorder{gap:10px;margin:14px 0;display:grid}.stt-recorder-actions{flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;display:flex}.stt-mic-button{color:#3730a3;cursor:pointer;background:#eef2ff;border:1.5px solid #818cf8;border-radius:999px;justify-content:center;align-items:center;gap:7px;min-height:36px;padding:6px 14px;font-size:.88rem;font-weight:700;display:inline-flex}.mic-icon{flex:none;justify-content:center;align-items:center;width:16px;height:16px;display:inline-flex;position:relative}.mic-icon svg{width:16px;height:16px}.mic-icon.recording{color:#e11d48}.mic-icon.recording svg{filter:drop-shadow(0 0 4px #e11d4859)}.mic-live-dot{background:#ef4444;border-radius:50%;width:6px;height:6px;animation:1.2s ease-in-out infinite mic-pulse;position:absolute;top:-2px;right:-3px;box-shadow:0 0 6px #ef4444bf}@keyframes mic-pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.4;transform:scale(.75)}}@media (prefers-reduced-motion:reduce){.mic-live-dot{animation:none}}button.primary.stt-mic-button{color:#fff;background:#4f46e5;border-color:#4f46e5}.stt-mic-button.recording,button.primary.stt-mic-button.recording{color:#be123c;background:#fff1f2;border-color:#fb7185;box-shadow:0 0 0 3px #f43f5e24}[data-theme=dark] .stt-mic-button{color:#e0e7ff;background:#252b50;border-color:#818cf8}[data-theme=dark] .stt-mic-button.recording,[data-theme=dark] button.primary.stt-mic-button.recording{color:#fecdd3;background:#2b1c24;border-color:#fb7185;box-shadow:0 0 0 3px #fb718529}[data-theme=dark] .mic-icon.recording{color:#fb7185}.stt-unmatched{text-align:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:12px}[data-theme=dark] .stt-unmatched{background:#111d33;border-color:#263650}.stt-unmatched .actions{justify-content:center;margin-bottom:0}.stt-error{text-align:center;margin:0;font-size:.9rem}.stage-hint-area{margin:10px 0}.hint-toggle{font-weight:600}.stage-direct-input:focus::placeholder{color:#0000}.speak-sentence-question{gap:12px;margin-top:8px;display:grid}.situation-target-word{text-align:center;font-size:1.1rem}.situation-prompt-box{border:1px solid #dfe5fb;margin:0;font-size:1.05rem;font-weight:600}.speak-sentence-question .stage-hint-area{margin:-4px 0 0}.speak-sentence-question .stage-hint-area .sentence{margin:8px 0 0}[data-theme=dark] .situation-prompt-box{border-color:#263650}.speak-sentence-form{gap:10px;display:grid}.speak-sentence-form>button{justify-self:start}.better-sentence-box{background:#fff;border:1px solid #cbd5e1;border-radius:8px;gap:8px;margin:10px 0;padding:12px;display:grid}[data-theme=dark] .better-sentence-box{background:#0f172a;border-color:#33465f}.better-sentence-line{margin:0;line-height:1.5}.better-sentence-shadow{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.on-demand-actions{gap:8px;margin:10px 0 4px}.on-demand-actions>button{padding:6px 12px;font-size:.86rem}.stage-example-card{background:#f8fafc;border:1px solid #dfe5fb;border-radius:12px;margin:0 0 12px;padding:14px 16px}.stage-example-text{margin:0;font-size:1.05rem;line-height:1.6}.stage-example-translation{color:#475569;border-top:1px solid #e2e8f0;margin:10px 0 0;padding-top:10px;font-size:.95rem;line-height:1.5}[data-theme=dark] .stage-example-card{background:#142139;border-color:#263650}[data-theme=dark] .stage-example-translation{color:#cbd5e1;border-top-color:#263650}.stage-example-card .quiz-word-parts{vertical-align:baseline;margin-inline-start:4px;font-size:.85em}.stage3-composer-wrap{gap:10px;margin:12px 0 4px;display:grid}.stage3-dont-know-row{justify-content:center;margin-top:2px;display:flex}.stage3-dont-know-btn{color:#64748b;padding:6px 18px;font-size:.88rem}[data-theme=dark] .stage3-dont-know-btn{color:#cbd5e1}.stage3-blank-hint{color:#3730a3;letter-spacing:.02em;background:#eef2ff;border-radius:6px;padding:1px 6px;font-weight:700;display:inline-block}[data-theme=dark] .stage3-blank-hint{color:#c7d2fe;background:#252b50}.stage3-blank-correct{color:#047857;background:#d1fae5;border-radius:6px;padding:1px 6px;font-weight:700}[data-theme=dark] .stage3-blank-correct{color:#6ee7b7;background:#14523d}.stage3-blank-answer{font-weight:700}.sentence .quiz-word-parts{vertical-align:baseline;margin-inline-start:4px;font-size:.85em}.ai-tutor-composer textarea.ai-tutor-input,.ai-tutor-composer input.ai-tutor-input,[data-theme=dark] .ai-tutor-composer textarea.ai-tutor-input,[data-theme=dark] .ai-tutor-composer input.ai-tutor-input{height:auto;min-height:0;box-shadow:none;resize:none;background:0 0;border:0;border-radius:0;outline:none;margin:0;padding:6px 0}.ai-tutor-composer textarea.ai-tutor-input:focus,.ai-tutor-composer textarea.ai-tutor-input:focus-visible,.ai-tutor-composer input.ai-tutor-input:focus,.ai-tutor-composer input.ai-tutor-input:focus-visible,[data-theme=dark] .ai-tutor-composer textarea.ai-tutor-input:focus,[data-theme=dark] .ai-tutor-composer textarea.ai-tutor-input:focus-visible,[data-theme=dark] .ai-tutor-composer input.ai-tutor-input:focus,[data-theme=dark] .ai-tutor-composer input.ai-tutor-input:focus-visible{box-shadow:none;border:0;outline:none}.ai-tutor-composer:focus-within{border-color:#6366f1;box-shadow:0 0 0 3px #6366f138}[data-theme=dark] .ai-tutor-composer:focus-within{border-color:#818cf8;box-shadow:0 0 0 3px #818cf847}.ai-tutor-composer button.ai-tutor-send-btn,[data-theme=dark] .ai-tutor-composer button.ai-tutor-send-btn{background:0 0;border:0}.ai-tutor-composer button.ai-tutor-send-btn:hover:not(:disabled){background:#e2e8f0}[data-theme=dark] .ai-tutor-composer button.ai-tutor-send-btn:hover:not(:disabled){background:#1e293b}.ai-tutor-composer button.ai-tutor-voice-btn,[data-theme=dark] .ai-tutor-composer button.ai-tutor-voice-btn{color:#fff;background:#3b82f6;border:0}.ai-tutor-composer button.ai-tutor-voice-btn:hover:not(:disabled),[data-theme=dark] .ai-tutor-composer button.ai-tutor-voice-btn:hover:not(:disabled){background:#2563eb}.ai-tutor-composer button.ai-tutor-voice-btn.recording,[data-theme=dark] .ai-tutor-composer button.ai-tutor-voice-btn.recording{color:#e11d48;background:#fff1f2;border:1.5px solid #fb7185;box-shadow:0 0 0 3px #f43f5e2e}[data-theme=dark] .ai-tutor-composer button.ai-tutor-voice-btn.recording{color:#fb7185;background:#2b1c24}.home-arena-card{background:linear-gradient(135deg,#f8faff 0%,#eef2ff 55%,#fff7ed 100%);border-color:#c7d2fe;width:100%;margin-top:16px;display:block}.home-arena-card:hover:not(:disabled){border-color:#818cf8;box-shadow:0 8px 20px #4f46e51f}[data-theme=dark] .home-arena-card{background:linear-gradient(135deg,#172038 0%,#1e1b4b 60%,#2a1c1b 100%);border-color:#4338ca}.study-session{transition:box-shadow .25s,border-color .25s;position:relative}.study-session.fever-active{border:2px solid var(--fever-accent,#f97316);box-shadow:0 0 28px var(--fever-glow,#f9731647);border-radius:18px;padding:12px}@keyframes combo-shake{0%,to{transform:translate(0,0)}20%{transform:translate(-3px,1px)}40%{transform:translate(3px,-1px)}60%{transform:translate(-2px,-1px)}80%{transform:translate(2px,1px)}}.study-session.combo-shake{animation:.26s ease-out combo-shake}.game-toast-stack{z-index:60;pointer-events:none;flex-direction:column;gap:8px;max-width:min(360px,100vw - 32px);display:flex;position:fixed;top:16px;right:16px}@keyframes toast-slide-in{0%{opacity:0;transform:translateY(-10px)scale(.96)}to{opacity:1;transform:translateY(0)scale(1)}}.game-toast{color:#fff;background:#1e293b;border-radius:12px;padding:10px 14px;font-size:.88rem;font-weight:700;animation:.24s ease-out toast-slide-in;box-shadow:0 10px 24px #0f172a47}.game-toast-achievement{background:linear-gradient(135deg,#4f46e5,#7c3aed)}.game-toast-chest{background:linear-gradient(135deg,#d97706,#ea580c)}.game-toast-fever{background:linear-gradient(135deg,#ea580c,#e11d48)}.game-toast-shield{background:linear-gradient(135deg,#0284c7,#2563eb)}.arcade-hud-bar{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 8px;padding:6px 10px;display:flex}[data-theme=dark] .arcade-hud-bar{background:#0f172a;border-color:#334155}.quiz-hud-correct{color:#0f766e}.quiz-hud-wrong{color:#be4b5a}[data-theme=dark] .quiz-hud-correct{color:#5eead4}[data-theme=dark] .quiz-hud-wrong{color:#fda4af}@keyframes combo-pop{0%{transform:scale(.8)}60%{transform:scale(1.12)}to{transform:scale(1)}}.arcade-combo-badge{letter-spacing:.02em;color:#b45309;background:#fef3c7;border:1px solid #fcd34d;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:1px;padding:4px 12px;font-size:.82rem;font-weight:800;line-height:1.15;animation:.24s ease-out combo-pop;display:inline-flex}.arcade-combo-reason{letter-spacing:.04em;opacity:.88;font-size:.66rem;font-weight:700}.arcade-combo-count{font-size:.86rem;font-weight:900}.arcade-combo-badge.mega{color:#fff;background:linear-gradient(135deg,#f97316,#e11d48);border-color:#0000}.arcade-fever-meter{color:var(--fever-accent,#ea580c);flex-direction:column;flex:180px;gap:3px;font-size:.78rem;font-weight:800;display:flex}.arcade-fever-label-row{align-items:center;gap:6px;display:flex}.arcade-fever-refill{color:#9a3412;background:#fef08a;border-radius:999px;padding:1px 6px;font-size:.72rem;font-style:normal;font-weight:900;animation:.25s ease-out combo-pop}.fast-combo-line{align-items:center;gap:8px;height:16px;margin:0 0 10px;transition:opacity .25s;display:flex}.fast-combo-line.state-expired{opacity:.34}.fast-combo-track{background:#e2e8f0;border-radius:999px;flex:auto;height:4px;overflow:hidden}[data-theme=dark] .fast-combo-track{background:#1e293b}.fast-combo-fill{background:linear-gradient(90deg,#10b981,#38bdf8);border-radius:999px;height:100%;transition:width 50ms linear,background .2s}.fast-combo-line.state-warn .fast-combo-fill{background:linear-gradient(90deg,#f59e0b,#fbbf24)}.fast-combo-line.state-urgent .fast-combo-fill{background:linear-gradient(90deg,#ef4444,#f97316)}.fast-combo-time{text-align:right;font-variant-numeric:tabular-nums;color:#0ea5e9;flex:0 0 46px;font-size:.72rem;font-weight:800}.fast-combo-line.state-warn .fast-combo-time{color:#d97706}.fast-combo-line.state-urgent .fast-combo-time{color:#ef4444}.fast-combo-line.state-expired .fast-combo-time{color:#94a3b8}.arcade-fever-track{background:#e2e8f0;border-radius:999px;height:6px;overflow:hidden}[data-theme=dark] .arcade-fever-track{background:#1e293b}.arcade-fever-fill{background:var(--fever-accent,#f97316);border-radius:999px;height:100%;transition:width .1s linear}.arcade-xp-pop{color:#059669;background:#d1fae5;border-radius:999px;padding:2px 8px;font-size:.82rem;font-weight:800}[data-theme=dark] .arcade-xp-pop{color:#6ee7b7;background:#064e3b}.arcade-ticket-btn{color:#854d0e;cursor:pointer;background:#fef9c3;border:1px solid #fde047;border-radius:999px;margin-inline-start:auto;padding:4px 10px;font-size:.78rem;font-weight:700}.arcade-ticket-btn:disabled{opacity:.45;cursor:not-allowed}[data-theme=dark] .arcade-ticket-btn{color:#fef08a;background:#3f3212;border-color:#ca8a04}.ticket-hint-reveal{background:#fefce8;border:1px dashed #eab308;border-radius:12px;margin:0 0 12px;padding:10px 14px}[data-theme=dark] .ticket-hint-reveal{background:#231f10;border-color:#ca8a04}.ticket-hint-text{margin-bottom:6px;font-size:.92rem}.ticket-hint-text code{background:#eab30833;border-radius:6px;padding:2px 6px;font-weight:700}.main-content:has(.arena-page){padding-inline:clamp(8px,2vw,20px)}.content-card:has(.arena-page){max-width:1200px;padding-inline:clamp(10px,2vw,20px)}.arena-page{flex-direction:column;gap:18px;display:flex}.arena-hero{color:#fff;background:linear-gradient(135deg,#1e1b4b 0%,#312e81 55%,#4c1d95 100%);border-radius:18px;padding:20px;box-shadow:0 12px 28px #1e1b4b38}.arena-hero-main{align-items:center;gap:18px;display:flex}.arena-level-orb{aspect-ratio:1;color:#1e1b4b;background:radial-gradient(circle at 30% 25%,#fde047,#f59e0b 65%,#b45309 100%);border-radius:50%;flex-direction:column;flex:none;justify-content:center;align-items:center;width:74px;min-width:74px;height:74px;min-height:74px;display:flex;box-shadow:0 0 20px #fbbf2473}.arena-level-orb span{letter-spacing:.08em;font-size:.68rem;font-weight:800}.arena-level-orb strong{font-size:1.65rem;font-weight:900;line-height:1}.arena-xp-block{flex:auto;min-width:0}.arena-xp-row{justify-content:space-between;align-items:baseline;gap:8px;font-size:.9rem;display:flex}.arena-xp-row strong{font-size:1.2rem}.arena-xp-row span{color:#c7d2fe;font-size:.82rem}.arena-xp-bar{background:#ffffff2e;border-radius:999px;height:10px;margin:8px 0 12px;overflow:hidden}.arena-xp-bar>div{background:linear-gradient(90deg,#38bdf8,#a855f7,#f59e0b);border-radius:999px;height:100%;transition:width .35s}.arena-stat-chips{flex-wrap:wrap;gap:6px;display:flex}.arena-stat-chips>span{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#ffffff24;border-radius:999px;padding:4px 10px;font-size:.78rem;font-weight:700}.arena-notice{color:#312e81;background:#eef2ff;border-color:#818cf8;font-weight:600}[data-theme=dark] .arena-notice{color:#e0e7ff;background:#1e1b4b}.arena-tabs{flex-wrap:wrap;gap:8px;display:flex}.arena-game-tabs{background:#f1f5f9;border:1px solid #e2e8f0;border-radius:12px;flex-wrap:wrap;gap:6px;padding:6px;display:flex}.arena-game-tabs>button{color:#475569;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:9px;padding:7px 12px;font-size:.84rem;font-weight:600}.arena-game-tabs>button:hover{color:#1e293b;background:#6366f114}.arena-game-tabs>button.active{color:#4338ca;background:#fff;border-color:#c7d2fe;box-shadow:0 1px 3px #0f172a14}[data-theme=dark] .arena-game-tabs{background:#0b1424;border-color:#263650}[data-theme=dark] .arena-game-tabs>button{color:#94a3b8;background:0 0;border-color:#0000}[data-theme=dark] .arena-game-tabs>button:hover{color:#e2e8f0;background:#818cf824}[data-theme=dark] .arena-game-tabs>button.active{color:#e0e7ff;background:#1e293b;border-color:#6366f1}.continent-plan-picker{justify-content:flex-end;margin-bottom:10px;display:flex}.continent-plan-picker select{width:auto;max-width:260px}.arena-tabs>button{color:#334155;cursor:pointer;background:#f8fafc;border:1px solid #cbd5e1;border-radius:12px;padding:9px 14px;font-size:.88rem;font-weight:700;position:relative}.arena-tabs>button.active{color:#fff;background:#4f46e5;border-color:#4f46e5}[data-theme=dark] .arena-tabs>button{color:#cbd5e1;background:#0f172a;border-color:#334155}[data-theme=dark] .arena-tabs>button.active{color:#fff;background:#6366f1;border-color:#6366f1}.arena-tab-pill{color:#fff;background:#ef4444;border-radius:999px;justify-content:center;align-items:center;min-width:20px;height:20px;margin-inline-start:6px;padding:0 6px;font-size:.72rem;font-style:normal;font-weight:800;display:inline-flex}.arena-section-stack{flex-direction:column;gap:18px;display:flex}.arena-boss-card{background:linear-gradient(135deg,#fff1f2 0%,#fff 65%);border:1px solid #fecdd3;border-radius:18px;grid-template-columns:140px minmax(0,1fr);align-items:center;gap:18px;padding:20px;display:grid}[data-theme=dark] .arena-boss-card{background:linear-gradient(135deg,#2a121d 0%,#111827 70%);border-color:#881337}.arena-boss-art{object-fit:cover;border-radius:16px;width:140px;height:140px;transition:filter .3s,transform .2s;box-shadow:0 8px 20px #0f172a33}.arena-boss-art.defeated{filter:grayscale(.85)opacity(.65)}@keyframes boss-hit-anim{0%,to{transform:translate(0)scale(1)}25%{filter:brightness(1.6);transform:translate(-8px)scale(.95)}50%{transform:translate(8px)scale(1.04)}75%{transform:translate(-4px)}}.arena-boss-art.boss-hit-shake{animation:.36s boss-hit-anim}.arena-boss-title-row{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:6px;display:flex}.arena-boss-title-row h3{margin:0;font-size:1.2rem}.arena-tag-danger{color:#fff;letter-spacing:.04em;background:#e11d48;border-radius:6px;padding:3px 8px;font-size:.7rem;font-weight:800}.boss-hp-wrap{margin:12px 0;position:relative}.boss-hp-label{color:#be123c;justify-content:space-between;margin-bottom:4px;font-size:.82rem;font-weight:800;display:flex}[data-theme=dark] .boss-hp-label{color:#fda4af}.boss-hp-bar{background:#ffe4e6;border-radius:999px;height:12px;overflow:hidden}[data-theme=dark] .boss-hp-bar{background:#3f1d2b}.boss-hp-bar>div{background:linear-gradient(90deg,#e11d48,#f97316);border-radius:999px;height:100%;transition:width .3s}.boss-dmg-float{color:#b91c1c;background:#fee2e2;border-radius:999px;margin-top:6px;padding:2px 8px;font-size:.82rem;font-weight:900;display:inline-block}.boss-dmg-float.crit{color:#9a3412;background:#fef08a}.boss-attack-btn{color:#fff;background:#e11d48;border-color:#e11d48;font-weight:700}.boss-attack-btn:hover:not(:disabled){background:#be123c}.boss-defeated-badge{color:#166534;background:#dcfce7;border-radius:999px;padding:6px 12px;font-size:.84rem;font-weight:700;display:inline-block}[data-theme=dark] .boss-defeated-badge{color:#bbf7d0;background:#14532d}.boss-battle-arena{background:#fff;border:2px solid #fb7185;border-radius:16px;padding:18px}[data-theme=dark] .boss-battle-arena{background:#0f172a;border-color:#be123c}.boss-battle-head{justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px;display:flex}.boss-feedback-banner{color:#9f1239;background:#fff1f2;border-radius:10px;padding:8px 12px;font-weight:700}[data-theme=dark] .boss-feedback-banner{color:#fecdd3;background:#3f1d2b}.boss-target-word{margin:8px 0 14px;font-size:1.7rem;font-weight:900}.boss-choices{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:8px;display:grid}.boss-choices>button{text-align:left;padding:12px 14px;font-weight:600}.arena-territory-bundle{background:linear-gradient(#f1f5f9b8 0%,#ecfdf585 100%);border:1px solid #cbd5e1;border-radius:22px;flex-direction:column;gap:14px;padding:clamp(8px,1.5vw,14px);display:flex}[data-theme=dark] .arena-territory-bundle{background:linear-gradient(#0f172ab8 0%,#06292273 100%);border-color:#334155}.arena-conquest-card{background:#f8fafc;border:1px solid #cbd5e1;border-radius:18px;padding:clamp(10px,2vw,20px)}[data-theme=dark] .arena-conquest-card{background:#0f172a;border-color:#334155}.conquest-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.conquest-controls{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.conquest-controls select{width:auto;min-width:150px;margin:0}.conquest-header-left{align-items:center;gap:12px;display:flex}.conquest-header-left h3{margin:0 0 4px}.conquest-header-left p{margin:0;font-size:.86rem}.conquest-header-art{object-fit:cover;border-radius:14px;flex:none;width:64px;height:64px}.conquest-summary-bar{background:#fff;border:1px solid #e2e8f0;border-radius:12px;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:14px;padding:10px 14px;font-size:.88rem;font-weight:700;display:flex}[data-theme=dark] .conquest-summary-bar{background:#1e293b;border-color:#334155}.conquest-alert-badge{color:#dc2626}[data-theme=dark] .conquest-alert-badge{color:#f87171}.conquest-ok-badge{color:#059669}[data-theme=dark] .conquest-ok-badge{color:#34d399}.conquest-invading-badge{color:#ea580c}[data-theme=dark] .conquest-invading-badge{color:#fb923c}.tactical-map-frame{flex-direction:column;gap:10px;margin-bottom:14px;display:flex}.tactical-map-legend{color:#475569;flex-wrap:wrap;gap:10px;font-size:.78rem;font-weight:700;display:flex}[data-theme=dark] .tactical-map-legend{color:#cbd5e1}.legend-chip{align-items:center;gap:6px;display:inline-flex}.legend-chip>i{border-radius:4px;width:12px;height:12px;display:inline-block}.legend-chip.state-conquered>i{background:#10b981}.legend-chip.state-invading>i{background:#f97316}.legend-chip.state-fallen>i{background:#dc2626}.legend-chip.state-unexplored>i{background:#64748b}.tactical-map-stage{width:100%;position:relative}.tactical-map-title-banner{background:linear-gradient(#f8efd8e6 0%,#e6d5aedb 100%);border:1.5px solid #1e160ea6;border-radius:4px;outline:2px solid #f8efd873;grid-template-columns:auto minmax(0,1fr) auto;align-self:center;align-items:center;gap:10px;width:fit-content;min-width:0;max-width:100%;padding:5px 14px 6px;display:grid;box-shadow:0 4px 14px #0f172a57,inset 0 1px #fffcf0b3}.tactical-map-title-text{text-align:center;text-overflow:ellipsis;white-space:nowrap;letter-spacing:.09em;color:#111;text-shadow:0 1px #fff8e6bf;min-width:0;font-family:Cinzel,Song Myung,Palatino Linotype,Book Antiqua,Batang,Georgia,serif;font-size:clamp(.75rem,3vw,1.15rem);font-weight:900;line-height:1.2;overflow:hidden}.tactical-map-title-ornament{color:#1a140d;opacity:.82;font-size:.78rem}.tactical-map-svg{border:2.5px solid #334155;border-radius:16px;width:100%;height:auto;max-height:540px;display:block;box-shadow:0 14px 32px #0f172a61}.mmorpg-hit-poly{cursor:pointer;outline:none;transition:fill .16s}.mmorpg-hit-poly:hover,.mmorpg-hit-poly:focus-visible{fill:#fef9c324}.mmorpg-invading-layer{animation:3.2s ease-in-out infinite invading-pulse}@keyframes shield-wave-sweep{0%{opacity:0;transform:translate(-20%)}12%{opacity:.95}78%{opacity:.95}to{opacity:0;transform:translate(220%)}}@keyframes shield-mesh-breathe{0%,to{opacity:.55}50%{opacity:.95}}.mmorpg-shield-mesh{animation:5.4s ease-in-out infinite shield-mesh-breathe}.mmorpg-shield-wave{animation:6.8s ease-in-out infinite shield-wave-sweep}@keyframes invading-embers-drift{0%{opacity:.52;transform:translate(0)}50%{opacity:.82}to{opacity:.52;transform:translate(35px,-48px)}}@keyframes invading-wave-sweep{0%{opacity:0;transform:translate(-25%)}20%{opacity:.85}80%{opacity:.85}to{opacity:0;transform:translate(215%)}}.mmorpg-invading-embers{animation:6.2s ease-in-out infinite alternate invading-embers-drift}.mmorpg-invading-wave{animation:5.6s ease-in-out infinite invading-wave-sweep}@keyframes fallen-mist-drift{0%{opacity:.58;transform:translate(0)}50%{opacity:.84}to{opacity:.58;transform:translate(-28px,-26px)}}@keyframes fallen-veil-breathe{0%,to{opacity:.72}50%{opacity:1}}.mmorpg-fallen-mist{animation:8.5s ease-in-out infinite alternate fallen-mist-drift}.mmorpg-fallen-veil{animation:5.8s ease-in-out infinite fallen-veil-breathe}.tactical-sector-poly{stroke:#0f172a;stroke-width:2.4px;stroke-linejoin:round;cursor:pointer;outline:none;transition:filter .16s,stroke-width .16s}.tactical-sector-poly:hover,.tactical-sector-poly:focus-visible{filter:brightness(1.14)}@keyframes invading-pulse{0%,to{filter:brightness()}50%{filter:brightness(1.16)}}.tactical-sector-poly.state-invading{animation:2.1s ease-in-out infinite invading-pulse}@keyframes arrow-volley{0%{opacity:.25;transform:translate(-4px,-4px)}55%{opacity:1;transform:translate(0)}to{opacity:.35;transform:translate(1px,1px)}}.tactical-arrows-anim,.tactical-volley-anim{animation:1.3s ease-in-out infinite arrow-volley}@keyframes paratroop-drift{0%,to{transform:translateY(-3px)}50%{transform:translateY(3px)}}.tactical-drop-anim{animation:2s ease-in-out infinite paratroop-drift}@keyframes plane-fly{0%,to{transform:translate(-5px,-24px)}50%{transform:translate(5px,-25px)}}.tactical-plane-anim{animation:2.4s ease-in-out infinite plane-fly}@keyframes smoke-rise{0%,to{opacity:.72;transform:translateY(0)}50%{opacity:.42;transform:translateY(-4px)}}.tactical-smoke-anim{animation:2.6s ease-in-out infinite smoke-rise}.tactical-inspector{background:#fff;border:2px solid #cbd5e1;border-radius:16px;padding:16px 18px}[data-theme=dark] .tactical-inspector{background:#1e293b;border-color:#334155}.tactical-inspector.state-conquered{border-color:#10b981}.tactical-inspector.state-invading{border-color:#f97316}.tactical-inspector.state-fallen{border-color:#dc2626}.tactical-inspector-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:8px;display:flex}.tactical-inspector-head h4{margin:4px 0 0;font-size:1.12rem}.tactical-day-pill{color:#334155;background:#e2e8f0;border-radius:6px;padding:2px 8px;font-size:.74rem;font-weight:800;display:inline-block}[data-theme=dark] .tactical-day-pill{color:#cbd5e1;background:#0f172a}.tactical-status-pill{color:#334155;background:#f1f5f9;border-radius:999px;padding:4px 10px;font-size:.8rem;font-weight:800}.tactical-status-pill.state-conquered{color:#065f46;background:#d1fae5}.tactical-status-pill.state-invading{color:#9a3412;background:#ffedd5}.tactical-status-pill.state-fallen{color:#991b1b;background:#fee2e2}[data-theme=dark] .tactical-status-pill.state-conquered{color:#a7f3d0;background:#064e3b}[data-theme=dark] .tactical-status-pill.state-invading{color:#fed7aa;background:#7c2d12}[data-theme=dark] .tactical-status-pill.state-fallen{color:#fecaca;background:#7f1d1d}[data-theme=dark] .tactical-status-pill.state-unexplored{color:#94a3b8;background:#0f172a}.tactical-inspector-desc{color:#475569;margin:0 0 10px;font-size:.86rem;line-height:1.45}[data-theme=dark] .tactical-inspector-desc{color:#cbd5e1}.tactical-ratio-wrap{margin-bottom:12px}.tactical-ratio-bar{background:#e2e8f0;border-radius:999px;width:100%;height:9px;margin-bottom:6px;display:flex;overflow:hidden}[data-theme=dark] .tactical-ratio-bar{background:#0f172a}.tactical-ratio-bar>span{height:100%;transition:width .25s}.tactical-ratio-bar .seg-secured{background:#10b981}.tactical-ratio-bar .seg-fading{background:#f97316}.tactical-ratio-bar .seg-lost{background:#dc2626}.tactical-ratio-bar .seg-unexplored{opacity:.45;background:#94a3b8}.tactical-ratio-legend{flex-wrap:wrap;gap:8px 14px;font-size:.76rem;font-weight:700;display:flex}.tactical-ratio-legend .leg-secured{color:#059669}.tactical-ratio-legend .leg-fading{color:#ea580c}.tactical-ratio-legend .leg-lost{color:#dc2626}.tactical-ratio-legend .leg-unexplored{color:#64748b}[data-theme=dark] .tactical-ratio-legend .leg-secured{color:#34d399}[data-theme=dark] .tactical-ratio-legend .leg-fading{color:#fb923c}[data-theme=dark] .tactical-ratio-legend .leg-lost{color:#f87171}[data-theme=dark] .tactical-ratio-legend .leg-unexplored{color:#94a3b8}.tactical-inspector-stats{flex-wrap:wrap;gap:14px;margin-bottom:12px;font-size:.82rem;font-weight:700;display:flex}.tactical-inspector-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.tactical-wordlist-toggle{align-items:center;gap:6px;font-weight:700;display:inline-flex}.tactical-word-drawer{border-top:1px solid #e2e8f0;max-height:290px;margin-top:12px;padding-top:12px;overflow-y:auto}[data-theme=dark] .tactical-word-drawer{border-top-color:#334155}.tactical-word-chips{flex-wrap:wrap;gap:7px;display:flex}.tactical-word-chip{background:#f8fafc;border:1px solid #cbd5e1;border-radius:9px;justify-content:space-between;align-items:center;gap:8px;padding:5px 10px;font-size:.8rem;display:inline-flex}[data-theme=dark] .tactical-word-chip{background:#0f172a;border-color:#334155}.tactical-word-main{align-items:baseline;gap:5px;display:inline-flex}.tactical-word-chip.status-secured{background:#ecfdf5;border-color:#6ee7b7}[data-theme=dark] .tactical-word-chip.status-secured{background:#064e3b;border-color:#059669}.tactical-word-chip.status-fading{background:#fff7ed;border-color:#fdba74}[data-theme=dark] .tactical-word-chip.status-fading{background:#431407;border-color:#ea580c}.tactical-word-chip.status-lost{background:#fef2f2;border-color:#fca5a5}[data-theme=dark] .tactical-word-chip.status-lost{background:#450a0a;border-color:#dc2626}.tactical-word-chip small{opacity:.82;font-size:.74rem}.tactical-word-tag{color:#475569;white-space:nowrap;background:#64748b24;border-radius:999px;padding:1px 6px;font-size:.68rem;font-style:normal;font-weight:800}[data-theme=dark] .tactical-word-tag{color:#cbd5e1;background:#94a3b82e}.tactical-word-tag.status-secured{color:#065f46;background:#d1fae5}.tactical-word-tag.status-fading{color:#9a3412;background:#ffedd5}.tactical-word-tag.status-lost{color:#991b1b;background:#fee2e2}[data-theme=dark] .tactical-word-tag.status-secured{color:#a7f3d0;background:#065f46}[data-theme=dark] .tactical-word-tag.status-fading{color:#fed7aa;background:#7c2d12}[data-theme=dark] .tactical-word-tag.status-lost{color:#fecaca;background:#7f1d1d}@media (prefers-reduced-motion:reduce){.tactical-sector-poly.state-invading,.mmorpg-invading-layer,.mmorpg-shield-mesh,.mmorpg-shield-wave,.mmorpg-invading-embers,.mmorpg-invading-wave,.mmorpg-fallen-mist,.mmorpg-fallen-veil,.tactical-arrows-anim,.tactical-volley-anim,.tactical-drop-anim,.tactical-plane-anim,.tactical-smoke-anim{animation:none}}.conquest-grid{grid-template-columns:repeat(auto-fill,minmax(175px,1fr));gap:10px;display:grid}.conquest-sector{background:#fff;border:1.5px solid #cbd5e1;border-radius:14px;padding:12px;transition:transform .15s,box-shadow .15s}[data-theme=dark] .conquest-sector{background:#1e293b;border-color:#334155}.conquest-sector.conquered{background:linear-gradient(145deg,#ecfdf5 0%,#fff 80%);border-color:#10b981}[data-theme=dark] .conquest-sector.conquered{background:linear-gradient(145deg,#064e3b 0%,#1e293b 85%);border-color:#059669}.conquest-sector.under-attack{background:linear-gradient(145deg,#fff1f2 0%,#fff 80%);border-color:#f43f5e}[data-theme=dark] .conquest-sector.under-attack{background:linear-gradient(145deg,#3f1d2b 0%,#1e293b 85%);border-color:#e11d48}.conquest-sector.fog{opacity:.72;border-style:dashed}.conquest-sector-top{justify-content:space-between;align-items:center;gap:6px;margin-bottom:8px;font-size:.8rem;font-weight:800;display:flex}.conquest-sector-bar{background:#e2e8f0;border-radius:999px;height:7px;margin-bottom:6px;overflow:hidden}[data-theme=dark] .conquest-sector-bar{background:#0f172a}.conquest-sector-bar>div{background:#6366f1;border-radius:999px;height:100%}.conquest-sector.conquered .conquest-sector-bar>div{background:#10b981}.conquest-sector.under-attack .conquest-sector-bar>div{background:#f43f5e}.conquest-sector-meta{color:#64748b;justify-content:space-between;font-size:.75rem;display:flex}[data-theme=dark] .conquest-sector-meta{color:#94a3b8}.conquest-invasion-tag{color:#e11d48;margin-top:6px;font-size:.72rem;font-weight:700}[data-theme=dark] .conquest-invasion-tag{color:#fda4af}.arena-loot-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px;display:grid}.arena-chest-box,.arena-missions-box,.arena-inventory-card,.arena-skins-card{background:#f8fafc;border:1px solid #cbd5e1;border-radius:18px;padding:20px}[data-theme=dark] .arena-chest-box,[data-theme=dark] .arena-missions-box,[data-theme=dark] .arena-inventory-card,[data-theme=dark] .arena-skins-card{background:#0f172a;border-color:#334155}.inventory-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;margin-top:12px;display:grid}.inventory-item{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:14px}[data-theme=dark] .inventory-item{background:#1e293b;border-color:#334155}.inventory-item-head{justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px;display:flex}.inventory-qty{color:#4338ca;background:#eef2ff;border-radius:999px;padding:2px 9px;font-size:.8rem;font-weight:800}[data-theme=dark] .inventory-qty{color:#e0e7ff;background:#312e81}.inventory-item p{margin:0 0 8px;font-size:.84rem;line-height:1.45}.arena-chest-box{text-align:center;flex-direction:column;align-items:center;display:flex}.arena-chest-art{object-fit:cover;border-radius:18px;width:136px;height:136px;margin-bottom:12px;box-shadow:0 10px 24px #d9770638}@keyframes chest-shake{0%,to{transform:rotate(0)scale(1)}20%{transform:rotate(-7deg)scale(1.05)}40%{transform:rotate(7deg)scale(1.08)}60%{transform:rotate(-5deg)scale(1.05)}80%{transform:rotate(5deg)scale(1.03)}}.arena-chest-art.chest-shaking{animation:.45s infinite chest-shake}.chest-open-btn{color:#fff;background:linear-gradient(135deg,#d97706,#ea580c);border:0;margin-top:8px;padding:10px 20px;font-weight:800}.chest-reward-banner{color:#92400e;background:#fef3c7;border:1px solid #f59e0b;border-radius:12px;margin-top:12px;padding:10px 14px;font-weight:800}[data-theme=dark] .chest-reward-banner{color:#fde68a;background:#3f2d12}.daily-mission-list{flex-direction:column;gap:10px;margin:12px 0 0;padding:0;list-style:none;display:flex}.daily-mission-item{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:12px}[data-theme=dark] .daily-mission-item{background:#1e293b;border-color:#334155}.daily-mission-item.done{border-color:#10b981}.daily-mission-head,.daily-mission-top{justify-content:space-between;align-items:center;gap:10px;font-size:.9rem;display:flex}.daily-mission-reward,.mission-reward-tag{white-space:nowrap;color:#6366f1;flex:none;font-size:.78rem;font-weight:700}[data-theme=dark] .daily-mission-reward,[data-theme=dark] .mission-reward-tag{color:#a5b4fc}.daily-mission-bar{background:#e2e8f0;border-radius:999px;height:7px;margin:8px 0;overflow:hidden}[data-theme=dark] .daily-mission-bar{background:#0f172a}.daily-mission-bar>div{background:#10b981;border-radius:999px;height:100%}.daily-mission-foot,.daily-mission-bottom{color:#64748b;justify-content:space-between;align-items:center;gap:14px;margin-top:6px;font-size:.82rem;display:flex}[data-theme=dark] .daily-mission-foot,[data-theme=dark] .daily-mission-bottom{color:#94a3b8}.daily-mission-bottom>button{border-radius:8px;min-height:0;padding:5px 12px;font-size:.76rem;line-height:1.25}.skin-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;margin-top:12px;display:grid}.skin-tile{cursor:pointer;background:#fff;border:1.5px solid #cbd5e1;border-radius:14px;flex-direction:column;align-items:center;gap:6px;padding:12px;display:flex}[data-theme=dark] .skin-tile{background:#1e293b;border-color:#334155}.skin-tile.equipped{border-color:#6366f1;box-shadow:0 0 0 2px #6366f140}.skin-tile.previewing{border-color:var(--skin-color,#6366f1);box-shadow:0 0 0 3px color-mix(in srgb, var(--skin-color,#6366f1) 35%, transparent)}.skin-tile.locked{opacity:.72;cursor:pointer}.skin-tile.locked:hover{opacity:.92}.fever-skin-overlay{z-index:60;pointer-events:none;position:fixed;inset:0;overflow:hidden}.fever-skin-overlay.is-preview{animation:2s ease-out forwards fever-preview-lifecycle}.fever-skin-vignette{box-shadow:inset 0 0 80px 14px var(--skin-glow,#f59e0b3d);opacity:.85;position:absolute;inset:0}.fever-preview-toast{color:#fff;border:1px solid color-mix(in srgb, var(--skin-accent,#f59e0b) 70%, #fff);white-space:nowrap;background:#0f172adb;border-radius:999px;padding:9px 18px;font-size:.86rem;font-weight:700;position:fixed;bottom:24px;left:50%;transform:translate(-50%);box-shadow:0 10px 28px #0f172a59}.fever-particle{left:var(--p-left);will-change:transform, opacity;position:absolute}.fever-particle-sakura{opacity:0;filter:drop-shadow(0 2px 5px #ec489959);animation:fever-sakura-fall var(--p-duration) ease-in-out var(--p-delay) infinite;top:-36px}@keyframes fever-sakura-fall{0%{transform:translate3d(0, -10vh, 0) rotate(var(--p-rot)) scale(var(--p-size));opacity:0}12%{opacity:var(--p-opacity)}50%{transform:translate3d(calc(var(--p-drift) * .65), 48vh, 0) rotate(calc(var(--p-rot) + 180deg)) scale(var(--p-size));opacity:var(--p-opacity)}88%{opacity:var(--p-opacity)}to{transform:translate3d(var(--p-drift), 108vh, 0) rotate(calc(var(--p-rot) + 390deg)) scale(var(--p-size));opacity:0}}.fever-particle-default{width:calc(9px * var(--p-size));height:calc(9px * var(--p-size));opacity:0;animation:fever-solar-rise var(--p-duration) ease-out var(--p-delay) infinite;background:radial-gradient(circle,#fef08a 0%,#f59e0b 55%,#ea580c 100%);border-radius:999px;bottom:-24px;box-shadow:0 0 12px 3px #f59e0bb3}@keyframes fever-solar-rise{0%{opacity:0;transform:translateY(6vh)scale(.5)}18%{opacity:var(--p-opacity)}75%{opacity:var(--p-opacity)}to{transform:translate3d(var(--p-drift), -108vh, 0) scale(1.15);opacity:0}}.fever-particle-neon{width:2.5px;height:calc(70px * var(--p-size));opacity:0;animation:fever-neon-streak calc(var(--p-duration) * .65) linear var(--p-delay) infinite;background:linear-gradient(#0000 0%,#22d3ee 55%,#e879f9 100%);border-radius:999px;top:-120px;box-shadow:0 0 10px #06b6d4d9}@keyframes fever-neon-streak{0%{opacity:0;transform:translateY(-15vh)skew(-16deg)}15%{opacity:var(--p-opacity)}85%{opacity:var(--p-opacity)}to{opacity:0;transform:translate(-120px,115vh)skew(-16deg)}}.fever-particle-royal{top:var(--p-top);color:#facc15;filter:drop-shadow(0 0 8px #8b5cf6bf);opacity:0;animation:fever-royal-twinkle var(--p-duration) ease-in-out var(--p-delay) infinite}@keyframes fever-royal-twinkle{0%{opacity:0;transform:translateY(14px)scale(.2)rotate(0)}45%{transform:translate3d(calc(var(--p-drift) * .25), -18px, 0) scale(var(--p-size)) rotate(90deg);opacity:var(--p-opacity)}to{transform:translate3d(calc(var(--p-drift) * .5), -44px, 0) scale(.15) rotate(180deg);opacity:0}}.fever-particle-emerald{color:#34d399;filter:drop-shadow(0 0 8px #10b981a6);opacity:0;animation:fever-emerald-drift var(--p-duration) ease-in-out var(--p-delay) infinite;top:-32px}@keyframes fever-emerald-drift{0%{transform:translate3d(0, -10vh, 0) rotate(var(--p-rot)) scale(var(--p-size));opacity:0}16%{opacity:var(--p-opacity)}55%{transform:translate3d(calc(var(--p-drift) * -.7), 52vh, 0) rotate(calc(var(--p-rot) + 120deg)) scale(var(--p-size));opacity:var(--p-opacity)}to{transform:translate3d(calc(var(--p-drift) * .6), 108vh, 0) rotate(calc(var(--p-rot) + 260deg)) scale(var(--p-size));opacity:0}}@keyframes fever-preview-lifecycle{0%{opacity:0}10%{opacity:1}82%{opacity:1}to{opacity:0}}@media (prefers-reduced-motion:reduce){.fever-particle{opacity:0;animation:none}}.home-command-center{flex-direction:column;gap:16px;display:flex}.home-greeting{margin-bottom:4px}.home-hero-card{background:linear-gradient(135deg,#4f46e51a 0%,#0ea5e90f 100%);border:1px solid #6366f140;border-radius:18px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:22px 24px;display:grid}.home-hero-card.is-done{background:linear-gradient(135deg,#10b9811f 0%,#0ea5e90d 100%);border-color:#10b98159}.home-hero-body h2{letter-spacing:-.02em;margin:0 0 6px;font-size:1.16rem}.home-hero-sub{color:#64748b;margin:0 0 12px;font-size:.86rem}.home-hero-bar{align-items:center;gap:12px;max-width:420px;display:flex}.home-bar-track{background:#dce4f2;border-radius:999px;flex:auto;height:8px;overflow:hidden}.home-bar-fill{background:linear-gradient(90deg,#4f46e5,#6366f1);border-radius:999px;height:100%;transition:width .25s}.home-bar-fill.is-done{background:#10b981}.home-hero-ratio{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:.84rem;font-weight:800}button.home-hero-cta{color:#fff;white-space:nowrap;background:#4f46e5;border:0;border-radius:12px;padding:11px 20px;font-size:.9rem;font-weight:700}button.home-hero-cta:hover:not(:disabled){background:#4338ca}button.home-hero-cta.is-done{background:#10b981}button.home-hero-cta.is-done:hover:not(:disabled){background:#059669}.home-2d-icon{flex:none;display:block}.mini-article-archive-title{align-items:center;gap:8px;display:inline-flex}.mini-article-meta-item{align-items:center;gap:5px;display:inline-flex}:is(.epop-main-tabs,.arena-tabs,.arena-game-tabs,.mini-article-top-tabs,.mini-article-mode-tabs)>button,.mini-article-topic-chip,.mini-article-tts-btn{justify-content:center;align-items:center;gap:6px;display:inline-flex}.home-kpi-strip{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}button.home-kpi-card{text-align:start;background:#f8fafc;border:1px solid #e2e8f0;border-radius:15px;align-items:center;gap:12px;padding:14px 16px;transition:transform .15s,border-color .15s,box-shadow .15s;display:flex}button.home-kpi-card:hover:not(:disabled){border-color:#c7d2fe;transform:translateY(-2px);box-shadow:0 8px 20px #0f172a0f}.home-kpi-text{min-width:0}.home-kpi-text small{color:#64748b;font-size:.74rem;display:block}.home-kpi-text strong{font-variant-numeric:tabular-nums;font-size:1rem;font-weight:800}.home-bento-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}button.home-bento-card{text-align:start;background:#fff;border:1px solid #e2e8f0;border-radius:16px;flex-direction:column;justify-content:space-between;gap:12px;padding:16px 18px;transition:transform .15s,border-color .15s,box-shadow .15s;display:flex}button.home-bento-card:hover:not(:disabled){border-color:#c7d2fe;transform:translateY(-2px);box-shadow:0 10px 24px #0f172a12}.home-bento-head{justify-content:space-between;align-items:center;gap:8px;width:100%;display:flex}.home-bento-label{align-items:center;gap:8px;min-width:0;display:inline-flex}.home-bento-label strong{font-size:.94rem}.home-bento-badge{color:#4338ca;white-space:nowrap;background:#eef2ff;border-radius:999px;padding:2px 8px;font-size:.72rem;font-weight:700}.home-bento-desc{color:#64748b;overflow-wrap:anywhere;margin:0;font-size:.82rem;line-height:1.45}.home-week-dots{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.home-day-dot{color:#64748b;flex-direction:column;align-items:center;gap:4px;font-size:.7rem;font-weight:600;display:flex}.home-day-dot i{color:#0000;background:#e2e8f0;border-radius:50%;place-items:center;width:24px;height:24px;font-size:.72rem;font-style:normal;display:grid}.home-day-dot.hit i{color:#fff;background:#10b981}.home-day-dot.today i{color:#4338ca;background:#eef2ff;border:2px solid #4f46e5}.home-day-dot.today.hit i{color:#fff;background:#4f46e5}[data-theme=dark] .home-hero-card{background:linear-gradient(135deg,#4f46e53d 0%,#0ea5e91f 100%);border-color:#818cf859}[data-theme=dark] .home-hero-card.is-done{background:linear-gradient(135deg,#10b98133 0%,#0ea5e91a 100%);border-color:#34d3996b}[data-theme=dark] .home-hero-sub,[data-theme=dark] .home-kpi-text small,[data-theme=dark] .home-bento-desc,[data-theme=dark] .home-day-dot{color:#94a3b8}[data-theme=dark] .home-bar-track,[data-theme=dark] .home-day-dot i{background:#23334d}[data-theme=dark] button.home-hero-cta{color:#fff;background:#6366f1}[data-theme=dark] button.home-hero-cta.is-done{color:#fff;background:#10b981}[data-theme=dark] button.home-kpi-card{color:#f1f5f9;background:#0f1b2e;border-color:#23334d}[data-theme=dark] button.home-bento-card{color:#f1f5f9;background:#111d33;border-color:#23334d}[data-theme=dark] button.home-kpi-card:hover:not(:disabled),[data-theme=dark] button.home-bento-card:hover:not(:disabled){border-color:#6366f1}[data-theme=dark] .home-bento-badge{color:#c7d2fe;background:#818cf833}[data-theme=dark] .home-day-dot.today i{color:#c7d2fe;background:#818cf833;border-color:#818cf8}[data-theme=dark] .home-day-dot.today.hit i{color:#fff;background:#6366f1}@media (width<=720px){.home-hero-card,.home-kpi-strip,.home-bento-grid{grid-template-columns:1fr}}.user-avatar{border:1.5px solid #6366f140;border-radius:50%;flex:none;place-items:center;display:inline-grid;position:relative;overflow:hidden;box-shadow:0 2px 8px #0f172a1a}.user-avatar-sm{width:38px;height:38px}.user-avatar-md{width:58px;height:58px}.user-avatar-lg{border-width:2px;border-radius:26px;width:148px;height:148px}.user-avatar-svg{width:100%;height:100%;display:block}.avatar-subgroup-stack{flex-direction:column;gap:12px;display:flex}.avatar-subgroup-label{color:var(--muted,#64748b);margin:4px 0 0;font-size:.82rem;font-weight:700}.user-avatar-layer{object-fit:cover;pointer-events:none;width:100%;height:100%;display:block;position:absolute;inset:0}.user-avatar-layer-bg{z-index:1}.user-avatar-layer-hair-back{z-index:2}.user-avatar-layer-skin{z-index:3}.user-avatar-layer-eyes{z-index:4}.user-avatar-layer-outfit{z-index:5}.user-avatar-layer-hair{z-index:6}.user-avatar-layer-acc{z-index:7}.user-avatar-bokeh{z-index:1;pointer-events:none;background-image:radial-gradient(circle at 18% 24%,#ffffffa6 0 3px,#0000 5px),radial-gradient(circle at 82% 22%,#fef08ab3 0 2.5px,#0000 5px),radial-gradient(circle at 22% 78%,#a5f3fca6 0 3.5px,#0000 6px),radial-gradient(circle at 84% 72%,#fbcfe8b3 0 3px,#0000 6px);position:absolute;inset:0}.avatar-editor-section{margin-top:20px}.avatar-editor-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:16px;display:flex}.avatar-editor-header h2{margin:0 0 4px}.avatar-editor-header p{margin:0;font-size:.86rem}.avatar-editor-layout{grid-template-columns:180px minmax(0,1fr);align-items:start;gap:20px;display:grid}.avatar-editor-preview-col{background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;flex-direction:column;align-items:center;gap:10px;padding:16px;display:flex}.avatar-lock-hint{color:#b45309;text-align:center;margin:0;font-size:.76rem;line-height:1.4}.avatar-save-btn{width:100%}.avatar-save-notice{color:#059669;margin:0;font-size:.8rem;font-weight:700}.avatar-editor-tabs{flex-wrap:wrap;gap:6px;margin-bottom:12px;display:flex}.avatar-editor-tabs>button{color:#475569;background:#fff;border:1px solid #cbd5e1;border-radius:999px;padding:7px 12px;font-size:.82rem;font-weight:700}.avatar-editor-tabs>button.active{color:#fff;background:#4f46e5;border-color:#4f46e5}.avatar-preset-grid,.avatar-bg-grid,.avatar-acc-grid{grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:10px;display:grid}button.avatar-choice-tile{color:inherit;cursor:pointer;background:#fff;border:1.5px solid #e2e8f0;border-radius:12px;flex-direction:column;align-items:center;gap:6px;padding:8px 6px;transition:transform .12s,border-color .14s;display:flex}button.avatar-choice-tile:hover{border-color:#818cf8;transform:translateY(-1px)}button.avatar-choice-tile.selected{border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e526}button.avatar-choice-tile.locked{opacity:.76}button.avatar-choice-tile small{text-align:center;font-size:.72rem;font-weight:600;line-height:1.25}.avatar-choice-thumb{background:#f1f5f9;border-radius:14px;place-items:center;width:60px;height:60px;display:grid;position:relative;overflow:hidden}.avatar-choice-thumb img{object-fit:cover;width:100%;height:100%;display:block}.avatar-bg-swatch{border:1px solid #0f172a1f;border-radius:50%;place-items:center;width:52px;height:52px;display:grid;position:relative;overflow:hidden}.avatar-bg-swatch img{object-fit:cover;width:100%;height:100%;display:block}.avatar-skin-swatch{border:2px solid #0f172a24;border-radius:50%;width:48px;height:48px;box-shadow:inset 0 -3px 6px #0f172a1f}.avatar-acc-preview{place-items:center;display:inline-grid;position:relative}.avatar-lock-pill{color:#fff;background:#0f172ac7;border-radius:999px;padding:2px 3px;font-size:.72rem;line-height:1;position:absolute;bottom:2px;right:2px}[data-theme=dark] .avatar-editor-preview-col{background:#0f1b2e;border-color:#23334d}[data-theme=dark] .avatar-lock-hint{color:#fbbf24}[data-theme=dark] .avatar-editor-tabs>button{color:#cbd5e1;background:#111d33;border-color:#33465f}[data-theme=dark] .avatar-editor-tabs>button.active{color:#fff;background:#6366f1;border-color:#6366f1}[data-theme=dark] button.avatar-choice-tile{color:#e2e8f0;background:#111d33;border-color:#263650}[data-theme=dark] button.avatar-choice-tile.selected{border-color:#818cf8;box-shadow:0 0 0 3px #818cf838}[data-theme=dark] .avatar-choice-thumb{background:#1e293b}@media (width<=680px){.avatar-editor-layout{grid-template-columns:1fr}}.skin-swatch{border-radius:50%;width:34px;height:34px}.skin-badge{color:#64748b;font-size:.75rem}.ach-header-card{background:#f8fafc;border:1px solid #cbd5e1;border-radius:18px;align-items:center;gap:16px;padding:18px;display:flex}[data-theme=dark] .ach-header-card{background:#0f172a;border-color:#334155}.ach-trophy-art{object-fit:cover;border-radius:16px;flex:none;width:72px;height:72px}.ach-header-card h3{margin:0 0 4px}.ach-header-card p{margin:0;font-size:.88rem}.ach-filter-bar{flex-wrap:wrap;gap:8px;display:flex}.ach-filter-bar>button{border-radius:999px;align-items:center;gap:7px;padding:6px 13px 6px 8px;font-size:.84rem;font-weight:700;display:inline-flex}.ach-cat-icon{flex:0 0 22px;width:22px;height:22px;display:block}.ach-filter-bar>button.active{color:#fff;background:#4f46e5;border-color:#6366f1;box-shadow:0 0 14px #6366f159}.ach-grid{grid-template-columns:repeat(auto-fill,minmax(275px,1fr));gap:12px;display:grid}.ach-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;align-items:flex-start;gap:12px;padding:14px;display:flex}[data-theme=dark] .ach-card{background:#1e293b;border-color:#334155}.ach-card.unlocked{background:linear-gradient(145deg,#f8faff 0%,#fff 85%);border-color:#a5b4fc}[data-theme=dark] .ach-card.unlocked{background:linear-gradient(145deg,#1e1b4b 0%,#1e293b 85%);border-color:#4f46e5}.ach-card.locked{opacity:.78}.badge-medallion{background:#0f172a;border:2px solid #475569;border-radius:14px;flex:0 0 64px;width:64px;height:64px;padding:2px;position:relative;overflow:hidden;box-shadow:0 4px 12px #0f172a47}.badge-medallion.unlocked.badge-tier-bronze{border-color:#d97706;box-shadow:0 0 14px #d9770659}.badge-medallion.unlocked.badge-tier-silver{border-color:#94a3b8;box-shadow:0 0 14px #94a3b866}.badge-medallion.unlocked.badge-tier-gold{border-color:#facc15;box-shadow:0 0 16px #facc1573}.badge-medallion.unlocked.badge-tier-diamond{border-color:#22d3ee;box-shadow:0 0 18px #22d3ee7a}.badge-medallion.unlocked.badge-tier-mythic{border-color:#f472b6;box-shadow:0 0 20px #f472b68c}.badge-medallion.locked{box-shadow:none;border-color:#334155}.badge-medallion.secret{border-color:#7c3aed;box-shadow:0 0 12px #7c3aed59}.badge-art{object-fit:cover;border-radius:11px;width:100%;height:100%;display:block}.badge-medallion.locked:not(.secret) .badge-art{filter:grayscale(.95)brightness(.45)contrast(1.05)}.ach-body,.ach-card-body{flex:auto;min-width:0}.ach-title-row{justify-content:space-between;align-items:center;gap:8px;margin-bottom:4px;display:flex}.ach-title-row strong{min-width:0;font-size:.94rem}.ach-tier-pill{white-space:nowrap;color:#475569;background:#f1f5f9;border-radius:6px;flex:none;padding:2px 7px;font-size:.7rem;font-weight:800}[data-theme=dark] .ach-tier-pill{color:#cbd5e1;background:#0f172a}.ach-desc,.ach-card-body p{color:#64748b;margin:0 0 8px;font-size:.82rem;line-height:1.4}[data-theme=dark] .ach-desc,[data-theme=dark] .ach-card-body p{color:#94a3b8}.ach-progress-wrap{color:#475569;align-items:center;gap:8px;font-size:.74rem;font-weight:700;display:flex}[data-theme=dark] .ach-progress-wrap{color:#cbd5e1}.ach-progress-bar{background:#e2e8f0;border-radius:999px;flex:auto;height:6px;overflow:hidden}[data-theme=dark] .ach-progress-bar{background:#0f172a}.ach-progress-bar>div{background:linear-gradient(90deg,#6366f1,#10b981);border-radius:999px;height:100%}.lb-controls-card,.lb-table-card{background:#f8fafc;border:1px solid #cbd5e1;border-radius:18px;padding:18px}[data-theme=dark] .lb-controls-card,[data-theme=dark] .lb-table-card{background:#0f172a;border-color:#334155}.lb-scope-tabs{flex-wrap:wrap;gap:6px;margin-bottom:12px;display:flex}.lb-scope-tabs>button.active,.lb-metric-toggle>button.active{color:#fff;background:#4f46e5;border-color:#4f46e5}.lb-sub-controls{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.lb-metric-toggle{gap:6px;display:flex}.lb-country-select{align-items:center;gap:8px;font-size:.86rem;font-weight:600;display:inline-flex}.lb-friends-bar{border-top:1px solid #e2e8f0;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-top:12px;padding-top:12px;display:flex}[data-theme=dark] .lb-friends-bar{border-top-color:#334155}.lb-my-code{align-items:center;gap:8px;font-size:.88rem;display:flex}.lb-friend-form{gap:6px;display:flex}.lb-friend-form input{width:150px;margin:0}.lb-table-head{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.lb-table-head h3{margin:0}.lb-my-rank-pill{color:#4338ca;background:#eef2ff;border-radius:999px;padding:4px 10px;font-size:.82rem;font-weight:800}[data-theme=dark] .lb-my-rank-pill{color:#e0e7ff;background:#312e81}.lb-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.lb-row{background:#fff;border:1px solid #e2e8f0;border-radius:12px;align-items:center;gap:12px;padding:10px 14px;display:flex}[data-theme=dark] .lb-row{background:#1e293b;border-color:#334155}.lb-row.is-me{background:#eef2ff;border-color:#6366f1}[data-theme=dark] .lb-row.is-me{background:#1e1b4b;border-color:#818cf8}.lb-rank{text-align:center;width:36px;font-size:1rem;font-weight:900}.lb-user{flex-wrap:wrap;flex:auto;align-items:center;gap:6px;min-width:0;display:flex}.lb-lv{color:#334155;background:#e2e8f0;border-radius:6px;padding:2px 6px;font-size:.74rem;font-weight:800}[data-theme=dark] .lb-lv{color:#cbd5e1;background:#0f172a}.lb-streak{color:#ea580c;font-size:.78rem;font-weight:700}.lb-xp{color:#4f46e5;white-space:nowrap;font-weight:900}[data-theme=dark] .lb-xp{color:#a5b4fc}@media (width<=640px){.arena-hero-main{flex-direction:column;align-items:flex-start}.arena-boss-card{text-align:center;grid-template-columns:1fr}.arena-boss-art{margin:0 auto}.arena-boss-title-row{justify-content:center}}@media (prefers-reduced-motion:reduce){.study-session.combo-shake,.arcade-combo-badge,.arena-boss-art.boss-hit-shake,.arena-chest-art.chest-shaking,.game-toast{animation:none}}.boss-card-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.continent-boss-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px;display:flex}.continent-boss-head h3{margin:4px 0 0;font-size:1.12rem}.continent-progress-pill{color:#065f46;background:#d1fae5;border-radius:999px;padding:5px 12px;font-size:.82rem;font-weight:800}[data-theme=dark] .continent-progress-pill{color:#a7f3d0;background:#064e3b}.continent-boss-grid{grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:12px;display:grid}.continent-boss-tile{background:#fff;border:1.5px solid #e2e8f0;border-radius:14px;flex-direction:column;gap:6px;padding:14px;display:flex}[data-theme=dark] .continent-boss-tile{background:#1e293b;border-color:#334155}.continent-boss-tile.unlocked{border-color:#6366f1}.continent-boss-tile.cleared{background:linear-gradient(155deg,#ecfdf5 0%,#fff 80%);border-color:#10b981}[data-theme=dark] .continent-boss-tile.cleared{background:linear-gradient(155deg,#064e3b 0%,#1e293b 85%);border-color:#059669}.continent-boss-tile.locked{opacity:.82}.continent-boss-tile-top{justify-content:space-between;align-items:center;gap:6px;display:flex}.tier-badge{color:#fff;border-radius:999px;padding:2px 8px;font-size:.72rem;font-weight:900}.cleared-mark{color:#059669;font-size:.74rem;font-weight:800}[data-theme=dark] .cleared-mark{color:#34d399}.locked-mark{color:#64748b;font-size:.74rem;font-weight:700}.continent-boss-tile button{width:100%;margin-top:auto}.continent-cleared-pill{color:#047857;background:#10b98124;border:1px solid #10b98159;border-radius:10px;justify-content:center;align-items:center;width:100%;margin-top:auto;padding:8px 10px;font-size:.85rem;font-weight:700;display:inline-flex}[data-theme=dark] .continent-cleared-pill{color:#6ee7b7;background:#10b9812e;border-color:#34d39961}.arena-arcade-grid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px;display:grid}.arena-arcade-card{background:#fff;border:1.5px solid #cbd5e1;border-radius:16px;flex-direction:column;gap:8px;padding:18px;display:flex}[data-theme=dark] .arena-arcade-card{background:#1e293b;border-color:#334155}.arena-arcade-card.mode-time{border-color:#f59e0b}.arena-arcade-card.mode-mastery{border-color:#8b5cf6}.arena-arcade-card.mode-sky{border-color:#0ea5e9}.arcade-card-top{justify-content:space-between;align-items:center;gap:8px;font-size:.78rem;font-weight:700;display:flex}.arcade-badge{color:#3730a3;background:#eef2ff;border-radius:999px;padding:3px 9px;font-weight:800}[data-theme=dark] .arcade-badge{color:#e0e7ff;background:#312e81}.arena-arcade-card h4{margin:0;font-size:1.05rem}.arena-arcade-card p{margin:0 0 6px;font-size:.84rem;line-height:1.45}.arena-arcade-card button{margin-top:auto}.fs-battle-overlay{z-index:2000;color:#f8fafc;background:radial-gradient(circle at 50% 18%,#1e1b4b 0%,#0b1024 62%,#050814 100%);flex-direction:column;display:flex;position:fixed;inset:0;overflow-y:auto}.fs-battle-overlay.enraged{background:radial-gradient(circle at 50% 18%,#450a0a 0%,#1c0814 62%,#08040a 100%)}.fs-battle-hud{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0f172ad1;border-bottom:1px solid #94a3b838;grid-template-columns:minmax(0,1fr) minmax(180px,1.2fr) auto;align-items:center;gap:14px;padding:14px 22px;display:grid}.fs-hud-left h2{margin:2px 0 0;font-size:1.18rem}.fs-phase-tag{letter-spacing:.04em;color:#fda4af;background:#f43f5e3d;border-radius:6px;padding:2px 8px;font-size:.72rem;font-weight:800;display:inline-block}.fs-boss-hp-block{width:100%;max-width:420px;margin:0 auto}.fs-boss-hp-meta{justify-content:space-between;align-items:center;margin-bottom:5px;font-size:.84rem;font-weight:800;display:flex}.fs-shield-pips{gap:4px;display:inline-flex}.fs-shield-pips i{font-style:normal}.fs-shield-pips i.broken{opacity:.22;filter:grayscale()}.fs-boss-hp-bar{background:#ffffff24;border:1px solid #fff3;border-radius:999px;height:14px;overflow:hidden}.fs-boss-hp-bar>div{background:linear-gradient(90deg,#e11d48,#f97316,#facc15);border-radius:999px;height:100%;transition:width .25s}.fs-timer-pill{background:#ffffff1a;border-radius:999px;align-items:center;gap:8px;margin:0 auto;padding:7px 16px;font-size:.96rem;font-weight:800;display:inline-flex}.fs-combo-inline{color:#fb923c}.fs-hud-right{align-items:center;gap:10px;display:flex}.fs-hearts{gap:3px;font-size:1.08rem;display:inline-flex}.fs-hearts .lost{opacity:.22;filter:grayscale()}.fs-combo-pill{background:linear-gradient(135deg,#f97316,#ef4444);border-radius:999px;padding:4px 10px;font-size:.84rem;font-weight:900}.fs-exit-btn{color:#f8fafc;cursor:pointer;background:#ffffff14;border:1px solid #ffffff47;border-radius:10px;padding:7px 14px;font-weight:700}.fs-exit-btn:hover{background:#ffffff2e}.fs-battle-stage{flex-direction:column;flex:auto;justify-content:center;align-items:center;gap:16px;width:100%;max-width:820px;margin:0 auto;padding:20px;display:flex}.fs-boss-visual{justify-content:center;align-items:center;display:flex;position:relative}.fs-boss-portrait-wrap{border-radius:24px;width:176px;height:176px;position:relative}.fs-boss-portrait-wrap.shake,.fs-mob-avatar.shake{animation:.36s boss-hit-anim}.fs-boss-portrait{object-fit:cover;border-radius:24px;width:100%;height:100%;box-shadow:0 16px 40px #0000008c}.fs-arcane-shield-ring{pointer-events:none;border:3px solid #a855f7d1;border-radius:30px;position:absolute;inset:-8px;box-shadow:0 0 24px #a855f78c,inset 0 0 18px #c084fc59}.fs-mob-avatar{background:#1e293be0;border:3px solid #a855f7;border-radius:24px;flex-direction:column;justify-content:center;align-items:center;gap:10px;width:148px;height:148px;display:flex}.fs-mob-emoji{font-size:4rem;line-height:1}.fs-mob-hp-dots{gap:6px;display:flex}.fs-mob-hp-dots i{background:#22c55e;border-radius:999px;width:12px;height:12px;display:inline-block}.fs-mob-hp-dots i.off{background:#fff3}.fs-dmg-pop{color:#b91c1c;background:#fee2e2;border-radius:999px;padding:5px 12px;font-size:.96rem;font-weight:900;position:absolute;top:-12px;right:-40px;box-shadow:0 6px 18px #00000059}.fs-dmg-pop.kind-crit{color:#9a3412;background:#fef08a}.fs-dmg-pop.kind-break{color:#581c87;background:#e9d5ff}.fs-dmg-pop.kind-counter{color:#fecaca;background:#7f1d1d}.fs-enrage-bar-wrap{text-align:center;color:#fca5a5;width:100%;max-width:520px;font-size:.84rem;font-weight:800}.fs-enrage-bar{background:#ffffff24;border-radius:999px;height:8px;margin-top:6px;overflow:hidden}.fs-enrage-bar>div{background:linear-gradient(90deg,#ef4444,#f97316);height:100%;transition:width .1s linear}.fs-feedback-line{background:#ffffff1a;border-radius:999px;margin:0;padding:6px 14px;font-size:.9rem;font-weight:700}.fs-question-panel{background:#0f172adb;border:1px solid #94a3b842;border-radius:20px;width:100%;max-width:680px;padding:22px}.fs-question-prompt{text-align:center;margin-bottom:18px}.fs-question-prompt small{color:#94a3b8;margin-bottom:6px;font-size:.84rem;display:block}.fs-target-word{color:#fef08a;letter-spacing:.02em;font-size:clamp(1.7rem,4vw,2.5rem);font-weight:900}.fs-target-word.meaning{color:#e0f2fe;font-size:clamp(1.3rem,3vw,1.85rem)}.fs-target-example{color:#f8fafc;font-size:1.15rem;font-weight:700;line-height:1.5}.fs-target-example-ko{color:#cbd5e1;margin:6px 0 0;font-size:.92rem}.fs-hint-mask{color:#fde047;letter-spacing:.08em;margin:8px 0 0;font-family:ui-monospace,monospace;font-size:1rem}.fs-choices-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.fs-choice-btn{color:#f8fafc;cursor:pointer;background:#1e293beb;border:1.5px solid #94a3b859;border-radius:14px;padding:15px 16px;font-size:1rem;font-weight:700;transition:transform .1s,border-color .15s,background .15s}.fs-choice-btn:hover:not(:disabled){background:#334155f5;border-color:#fde047;transform:translateY(-1px)}.fs-type-form{gap:10px;display:flex}.fs-type-form input{color:#fff;background:#0f172a;border:1.5px solid #475569;border-radius:12px;flex:auto;margin:0;padding:12px 14px;font-size:1.05rem}.fs-result-card{text-align:center;background:#0f172af0;border:2px solid #10b981;border-radius:22px;width:100%;max-width:460px;padding:28px 24px}.fs-result-card.lost{border-color:#ef4444}.fs-result-card h3{margin:0 0 8px;font-size:1.55rem}.fs-result-card p{color:#cbd5e1;margin:0 0 16px}.fs-result-stats{flex-wrap:wrap;justify-content:center;gap:10px;margin-bottom:18px;font-weight:800;display:flex}.fs-result-stats .xp{color:#38bdf8}.fs-result-stats .chest{color:#fbbf24}.sky-stage-wrap{flex-direction:column;flex:auto;justify-content:space-between;align-items:center;gap:12px;width:100%;max-width:980px;margin:0 auto;padding:12px 18px 18px;display:flex;position:relative}.sky-canvas-svg{border:2px solid #38bdf861;border-radius:18px;flex:auto;width:100%;max-height:56vh;box-shadow:0 16px 36px #0000008c}.sky-controls-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:100%;display:grid}.sky-controls-grid.overheat{opacity:.55}.sky-target-btn{color:#f8fafc;text-align:left;cursor:pointer;background:#0f172aeb;border:1.5px solid #38bdf86b;border-radius:13px;align-items:center;gap:10px;padding:13px 14px;font-size:.96rem;font-weight:700;transition:border-color .12s,transform .1s,background .12s;display:flex}.sky-target-btn:hover:not(:disabled){background:#1e293bfa;border-color:#fde047;transform:translateY(-1px)}.sky-target-btn kbd{color:#7dd3fc;background:#38bdf838;border-radius:6px;flex:0 0 24px;justify-content:center;align-items:center;height:24px;font-size:.8rem;font-weight:900;display:inline-flex}.sky-gameover-overlay{background:#050814b8;justify-content:center;align-items:center;padding:18px;display:flex;position:absolute;inset:0}@media (width<=640px){.fs-battle-hud{grid-template-columns:1fr;gap:8px;padding:10px 14px}.fs-hud-right{justify-content:space-between}.fs-choices-grid{grid-template-columns:1fr}.sky-controls-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.godot-fullscreen-shell{z-index:2200;background:#070a18;flex-direction:column;display:flex;position:fixed;inset:0}.godot-fullscreen-iframe{background:#070a18;border:0;width:100%;height:100%;display:block}.braino-quiz-overlay{z-index:2210;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0508148f;justify-content:center;align-items:center;padding:18px;display:flex;position:fixed;inset:0}.braino-quiz-overlay.kind-time_attack{-webkit-backdrop-filter:none;backdrop-filter:none;pointer-events:none;background:0 0;height:auto;padding:12px 18px 18px;inset:auto 0 0}.braino-quiz-overlay.kind-time_attack .braino-quiz-card{pointer-events:auto}.braino-quiz-card{background:var(--surface,#fff);width:100%;max-width:720px;color:var(--text,#0f172a);border:2px solid #cbd5e1;border-radius:20px;padding:20px 24px 22px;box-shadow:0 24px 60px #00000085}[data-theme=dark] .braino-quiz-card{color:#f8fafc;background:#0f172a;border-color:#334155}.braino-quiz-head{justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;display:flex}.braino-quiz-badges{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.braino-card-tag{color:#92400e;background:#fef3c7;border-radius:999px;padding:3px 10px;font-size:.78rem;font-weight:800}[data-theme=dark] .braino-card-tag{color:#fde68a;background:#451a03}.braino-slowmo-tag{color:#0369a1;background:#e0f2fe;border-radius:999px;padding:3px 10px;font-size:.76rem;font-weight:800}[data-theme=dark] .braino-slowmo-tag{color:#7dd3fc;background:#0c4a6e}.braino-quiz-timer-row{align-items:center;gap:10px;min-height:24px;margin-bottom:14px;display:flex}.braino-quiz-timer-track{background:#e2e8f0;border-radius:999px;flex:auto;height:7px;position:relative;overflow:visible}[data-theme=dark] .braino-quiz-timer-track{background:#1e293b}.braino-quiz-timer-fill{background:linear-gradient(90deg,#0ea5e9,#38bdf8);border-radius:999px;height:100%;transition:width 50ms linear}.braino-quiz-timer-fill.fast{background:linear-gradient(90deg,#f59e0b,#fde047)}.braino-quiz-timer-fill.urgent{background:linear-gradient(90deg,#dc2626,#f97316)}.braino-quiz-fast-mark{background:#f59e0b;border-radius:2px;width:3px;height:13px;position:absolute;top:-3px;box-shadow:0 0 6px #f59e0bcc}.braino-quiz-time-text{white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums;color:#64748b;flex:0 0 82px;font-size:.84rem;font-weight:800;line-height:1.2}.braino-quiz-time-text.fast{color:#d97706}[data-theme=dark] .braino-quiz-time-text.fast{color:#fde047}.braino-overlay-quiz-body{margin:0;padding:0}.braino-opt-kbd{color:#4f46e5;background:#6366f124;border-radius:6px;justify-content:center;align-items:center;min-width:22px;height:22px;margin-inline-end:8px;font-size:.78rem;font-weight:800;display:inline-flex}[data-theme=dark] .braino-opt-kbd{color:#c7d2fe;background:#818cf838}.braino-overlay-type-form{align-items:center;gap:8px;margin-top:12px;display:flex}.braino-overlay-type-form input{flex:auto;min-width:0;margin:0;padding:9px 12px;font-size:.96rem}.braino-overlay-type-form button[type=submit]{white-space:nowrap;flex:none;min-height:40px;padding:9px 14px;font-size:.86rem;font-weight:700}.braino-sky-dock{z-index:2210;background:#fffffff0;border:2px solid #cbd5e1;border-radius:16px;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:min(96vw,980px);padding:10px;display:grid;position:fixed;bottom:10px;left:50%;transform:translate(-50%);box-shadow:0 18px 42px #00000073}[data-theme=dark] .braino-sky-dock{background:#0f172af0;border-color:#334155}.braino-sky-dock.overheat{opacity:.55}.braino-sky-slot-btn{text-align:left;align-items:center;gap:7px;min-height:44px;padding:7px 10px;font-size:.88rem;line-height:1.24;display:flex}.braino-sky-slot-btn.refreshed{animation:.22s ease-out combo-pop}.braino-result-modal{text-align:center;background:var(--surface,#fff);width:100%;max-width:440px;color:var(--text,#0f172a);border:2px solid #10b981;border-radius:22px;padding:28px 24px;box-shadow:0 24px 60px #0000008c}[data-theme=dark] .braino-result-modal{color:#f8fafc;background:#0f172a}.braino-result-modal.lost{border-color:#ef4444}.braino-result-modal h3{margin:0 0 8px;font-size:1.55rem}.braino-result-rewards{justify-content:center;gap:12px;margin:14px 0 18px;font-size:1.05rem;font-weight:900;display:flex}.braino-result-rewards .xp{color:#0284c7}.braino-result-rewards .chest{color:#d97706}[data-theme=dark] .braino-result-rewards .xp{color:#38bdf8}[data-theme=dark] .braino-result-rewards .chest{color:#fbbf24}.braino-victory-showcase{color:#f8fafc;background:linear-gradient(140deg,#0a1224f5 0%,#10242cf5 100%);border:2px solid #facc15ad;border-radius:26px;grid-template-columns:minmax(220px,310px) 1fr;align-items:center;gap:24px;width:min(94vw,820px);padding:24px 30px 24px 18px;display:grid;overflow:hidden;box-shadow:0 28px 72px #000000b8,0 0 42px #10b98140}.braino-victory-portrait-wrap{justify-content:center;align-items:flex-end;min-height:360px;display:flex;position:relative}.braino-victory-aura{filter:blur(12px);background:radial-gradient(circle,#34d3996b 0%,#38bdf829 52%,#0000 74%);border-radius:50%;animation:3.2s ease-in-out infinite victory-aura-pulse;position:absolute;inset:14% 8% 6%}.braino-victory-portrait{z-index:1;object-fit:contain;filter:drop-shadow(0 14px 24px #000000a6);width:auto;max-height:410px;animation:3.4s ease-in-out infinite victory-hero-breathe;position:relative}@keyframes victory-hero-breathe{0%,to{transform:translateY(0)scale(1)}50%{transform:translateY(-6px)scale(1.016)}}@keyframes victory-aura-pulse{0%,to{opacity:.78;transform:scale(.96)}50%{opacity:1;transform:scale(1.06)}}.braino-victory-content{text-align:left;flex-direction:column;align-items:flex-start;gap:10px;display:flex}.braino-victory-badge{letter-spacing:.04em;color:#fde047;background:#facc152e;border:1px solid #facc1573;border-radius:999px;align-items:center;padding:5px 12px;font-size:.78rem;font-weight:800;display:inline-flex}.braino-victory-content h3{color:#fff;margin:2px 0;font-size:1.65rem}.braino-victory-quote{background:#ffffff12;border-left:4px solid #34d399;border-radius:16px;margin:4px 0;padding:14px 18px}.braino-victory-quote p{color:#ecfdf5;margin:0 0 6px;font-size:1.02rem;font-weight:600;line-height:1.6}.braino-victory-quote footer{color:#6ee7b7;font-size:.84rem;font-weight:700}.braino-victory-stats{color:#cbd5e1;margin:2px 0;font-size:.9rem}.braino-victory-showcase .braino-result-rewards{justify-content:flex-start;margin:4px 0 8px}.braino-victory-showcase .braino-result-rewards .xp{color:#38bdf8}.braino-victory-showcase .braino-result-rewards .chest{color:#fde047}.braino-victory-btn{min-width:210px;padding:12px 22px;font-size:1rem}.braino-screen-flash{z-index:2290;pointer-events:none;position:fixed;inset:0}.braino-screen-flash.correct{animation:.52s ease-out forwards braino-rim-correct;box-shadow:inset 0 0 0 6px #e2e8f0eb,inset 0 0 38px 10px #10b981c7,inset 0 0 90px #34d39959}.braino-screen-flash.wrong{animation:.74s ease-out forwards braino-rim-wrong;box-shadow:inset 0 0 0 7px #f87171f2,inset 0 0 46px 12px #dc2626c7,inset 0 0 100px #ef444461}@keyframes braino-rim-correct{0%{opacity:.95}45%{opacity:1}to{opacity:0}}@keyframes braino-rim-wrong{0%{opacity:1}15%{opacity:.75}30%{opacity:1}to{opacity:0}}@keyframes braino-wrong-shake{0%,to{transform:translate(0)}15%{transform:translate(-12px)}30%{transform:translate(11px)}45%{transform:translate(-9px)}60%{transform:translate(7px)}75%{transform:translate(-4px)}}@keyframes braino-correct-pop{0%{transform:scale(1)}35%{transform:scale(1.025)}to{transform:scale(1)}}.braino-quiz-card.feedback-correct{animation:.34s ease-out braino-correct-pop;background:linear-gradient(160deg,#ecfdf5 0%,#d1fae5 100%)!important;border-color:#10b981!important;box-shadow:0 0 0 4px #10b98161,0 24px 60px #10b98159!important}[data-theme=dark] .braino-quiz-card.feedback-correct{background:linear-gradient(160deg,#064e3b 0%,#065f46 100%)!important}.braino-quiz-card.feedback-wrong{animation:.44s ease-in-out braino-wrong-shake;background:linear-gradient(160deg,#fef2f2 0%,#fee2e2 100%)!important;border-color:#ef4444!important;box-shadow:0 0 0 4px #ef44446b,0 24px 60px #dc262666!important}[data-theme=dark] .braino-quiz-card.feedback-wrong{background:linear-gradient(160deg,#450a0a 0%,#7f1d1d 100%)!important}.braino-feedback-banner{text-align:center;letter-spacing:.01em;border-radius:12px;margin:-4px 0 12px;padding:9px 14px;font-size:.98rem;font-weight:900}.braino-feedback-banner.correct{color:#fff;background:#10b981;box-shadow:0 4px 14px #10b98173}.braino-feedback-banner.wrong{color:#fff;background:#dc2626;box-shadow:0 4px 14px #dc262673}.option-btn.fb-correct{font-weight:800;color:#fff!important;background:#10b981!important;border-color:#10b981!important}.option-btn.fb-wrong{font-weight:800;color:#fff!important;background:#dc2626!important;border-color:#ef4444!important}.option-btn.fb-muted{opacity:.48}.option-btn .fb-mark{margin-inline-start:auto;font-size:1.05rem;font-weight:900}@media (width<=680px){.braino-victory-showcase{text-align:center;grid-template-columns:1fr;padding:20px}.braino-victory-portrait-wrap{min-height:220px}.braino-victory-portrait{max-height:240px}.braino-victory-content{text-align:center;align-items:center}.braino-victory-showcase .braino-result-rewards{justify-content:center}}@media (width<=640px){.braino-sky-dock{border-radius:14px;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:8px;bottom:8px}.braino-sky-slot-btn{gap:6px;min-height:38px;padding:5px 8px;font-size:.8rem;line-height:1.2}.braino-sky-slot-btn .braino-opt-kbd{min-width:20px;height:20px;font-size:.7rem}}.job-plan-setup{border:1px solid var(--border,#e2e8f0);background:var(--surface-subtle,#6366f10a);border-radius:12px;margin-top:12px;padding:14px}.job-plan-setup h3{margin:0 0 10px;font-size:1rem}.job-plan-saved{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.job-plan-saved p{margin:0}.book-tile-plan{color:var(--accent,#2563eb);font-size:.78rem;font-weight:700}.about-tutorial-btn{margin-top:10px}.onboarding-overlay{z-index:3200;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#060a18c7;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.onboarding-card{color:#0f172a;border:2px solid color-mix(in srgb, var(--guide-accent,#6366f1) 45%, #cbd5e1);background:#fff;border-radius:24px;flex-direction:column;gap:18px;width:min(100%,760px);max-height:92dvh;padding:22px 24px 20px;display:flex;overflow-y:auto;box-shadow:0 28px 70px #0000007a}[data-theme=dark] .onboarding-card{color:#f8fafc;border-color:color-mix(in srgb, var(--guide-accent,#6366f1) 55%, #334155);background:#0f172a}.onboarding-topbar{justify-content:space-between;align-items:center;gap:12px;display:flex}.onboarding-step-badge{letter-spacing:.04em;color:#fff;background:var(--guide-accent,#6366f1);border-radius:999px;align-items:center;padding:5px 12px;font-size:.78rem;font-weight:800;display:inline-flex}.onboarding-skip-btn{opacity:.8;font-size:.86rem}.onboarding-header-copy{flex-direction:column;gap:6px;display:flex}.onboarding-greeting{color:var(--guide-accent,#6366f1);margin:0;font-size:.88rem;font-weight:700}.onboarding-header-copy h2{margin:0;font-size:1.32rem;line-height:1.32}.onboarding-body{opacity:.86;margin:0;font-size:.94rem;line-height:1.55}.onboarding-preview-frame{border:1px solid color-mix(in srgb, var(--guide-accent,#6366f1) 30%, #cbd5e1);background:linear-gradient(145deg,#6366f114,#0ea5e90f);border-radius:18px;padding:14px}[data-theme=dark] .onboarding-preview-frame{border-color:color-mix(in srgb, var(--guide-accent,#6366f1) 42%, #334155);background:linear-gradient(145deg,#0f172aeb,#1e293be0)}.tut-mock-window{flex-direction:column;gap:10px;display:flex}.tut-mock-bar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.tut-mock-nav-pill{color:var(--guide-accent,#4f46e5);background:#6366f124;border-radius:999px;padding:4px 10px;font-size:.78rem;font-weight:800}[data-theme=dark] .tut-mock-nav-pill{color:#c7d2fe;background:#6366f138}.tut-mock-meta{opacity:.8;font-size:.78rem;font-weight:700}.tut-mock-form-row{grid-template-columns:1fr 90px;gap:8px;display:grid}.tut-mock-field{background:#fff;border:1px solid #e2e8f0;border-radius:10px;flex-direction:column;gap:2px;padding:8px 11px;display:flex}[data-theme=dark] .tut-mock-field{background:#111c33;border-color:#263650}.tut-mock-field small{opacity:.68;font-size:.7rem}.tut-mock-field strong{font-size:.88rem}.tut-mock-progress-box{background:#6366f114;border-radius:12px;flex-direction:column;gap:6px;padding:10px 12px;display:flex}.tut-mock-progress-row{justify-content:space-between;font-size:.78rem;font-weight:700;display:flex}.tut-mock-track{background:#94a3b840;border-radius:999px;height:7px;overflow:hidden}.tut-mock-fill{background:linear-gradient(90deg,#6366f1,#38bdf8);border-radius:999px;height:100%}.tut-mock-mode-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.tut-mock-mode{background:#fff;border:1.5px solid #e2e8f0;border-radius:12px;flex-direction:column;gap:6px;padding:10px;display:flex}[data-theme=dark] .tut-mock-mode{background:#111c33;border-color:#263650}.tut-mock-mode.selected{border-color:#0ea5e9;box-shadow:0 0 0 2px #0ea5e933}.tut-mock-mode-head{justify-content:space-between;align-items:center;gap:4px;font-size:.8rem;display:flex}.tut-mock-rec{color:#fff;background:#0ea5e9;border-radius:999px;padding:1px 6px;font-size:.66rem;font-weight:800}.tut-mock-bars{align-items:flex-end;gap:5px;height:54px;padding-top:6px;display:flex}.tut-mock-col{flex-direction:column;flex:1;justify-content:flex-end;gap:2px;height:100%;display:flex}.tut-mock-col .bar-rev{background:#38bdf8;border-radius:3px 3px 0 0}.tut-mock-col .bar-new{background:#6366f1;border-radius:0 0 3px 3px}.tut-mock-mode small{opacity:.75;font-size:.72rem}.tut-mock-forecast{background:#0ea5e91f;border-radius:10px;justify-content:space-between;align-items:center;padding:8px 12px;font-size:.82rem;display:flex}.tut-mock-stage-dots{flex-wrap:wrap;gap:6px;display:flex}.tut-dot-pill{border-radius:8px;padding:3px 8px;font-size:.72rem;font-weight:800}.tut-dot-pill.mem{color:#818cf8;background:#6366f12e}.tut-dot-pill.act{color:#10b981;background:#10b9812e}.tut-mock-ladder{flex-wrap:wrap;gap:5px;display:flex}.tut-ladder-step{color:inherit;opacity:.72;background:#94a3b824;border-radius:8px;padding:4px 8px;font-size:.72rem;font-weight:700}.tut-ladder-step.done{color:#10b981;opacity:1;background:#10b98124}.tut-ladder-step.current{color:#fff;opacity:1;background:#10b981}.tut-mock-quiz-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:12px 14px}[data-theme=dark] .tut-mock-quiz-card{background:#111c33;border-color:#263650}.tut-mock-sentence{margin:0 0 6px;font-size:.92rem;font-weight:600}.tut-mock-blank{color:#818cf8;background:#6366f12e;border-radius:6px;padding:1px 8px;font-weight:800;display:inline-block}.tut-mock-ko{opacity:.78;margin:0;font-size:.82rem}.tut-mock-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.tut-choice{text-align:center;background:#fff;border:1.5px solid #cbd5e1;border-radius:10px;padding:8px 10px;font-size:.84rem;font-weight:700}[data-theme=dark] .tut-choice{background:#17243b;border-color:#334155}.tut-choice.correct{color:#10b981;background:#10b9812e;border-color:#10b981}.tut-mock-stage-bars{background:#94a3b814;border-radius:10px;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;padding:10px 8px 6px;display:grid}.tut-stage-bar-col{color:var(--muted,#64748b);flex-direction:column;align-items:center;gap:4px;font-size:.72rem;display:flex}.tut-stage-bar-col small{font-size:.7rem;font-weight:700}.tut-stage-bar-track{background:#94a3b82e;border-radius:6px;align-items:flex-end;width:100%;max-width:24px;height:52px;display:flex;overflow:hidden}.tut-stage-bar-fill{background:linear-gradient(#6366f1,#4f46e5);border-radius:6px 6px 0 0;width:100%}.tut-stage-bar-fill.done{background:linear-gradient(#a855f7,#7c3aed)}.tut-fill-mastered{background:linear-gradient(90deg,#7c3aed,#a855f7)!important}.tut-mock-heatmap{background:#fff;border:1px solid #e2e8f0;border-radius:12px;grid-template-columns:repeat(12,minmax(0,1fr));gap:5px;padding:10px;display:grid}[data-theme=dark] .tut-mock-heatmap{background:#111c33;border-color:#263650}.tut-heat-cell{aspect-ratio:1;background:#cbd5e1;border-radius:4px}[data-theme=dark] .tut-heat-cell{background:#1e293b}.tut-heat-cell.lv-1{background:#93c5fd}.tut-heat-cell.lv-2{background:#60a5fa}.tut-heat-cell.lv-3{background:#3b82f6}.tut-heat-cell.lv-4{background:#34d399}.tut-heat-cell.lv-5{background:#10b981}.tut-mock-calendar-strip{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;display:grid}.tut-cal-day{text-align:center;background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:8px 6px}[data-theme=dark] .tut-cal-day{background:#111c33;border-color:#263650}.tut-cal-day.done{border-color:#10b981}.tut-cal-day.today{border-color:#f59e0b;box-shadow:0 0 0 2px #f59e0b38}.tut-cal-day small{opacity:.7;font-size:.7rem;display:block}.tut-cal-day strong{font-size:.9rem}.tut-mock-arena-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.tut-arena-tile{background:#fff;border:1.5px solid #e2e8f0;border-radius:12px;flex-direction:column;gap:4px;padding:10px;display:flex}[data-theme=dark] .tut-arena-tile{background:#111c33;border-color:#263650}.tut-arena-tile.t1{border-color:#8b5cf6}.tut-arena-tile.t2{border-color:#f59e0b}.tut-arena-tile.t3{border-color:#38bdf8}.tut-arena-tile strong{font-size:.82rem}.tut-arena-tile small{opacity:.78;font-size:.72rem}.tut-mock-territory{flex-wrap:wrap;gap:8px;font-size:.76rem;font-weight:700;display:flex}.tut-mock-territory span{background:#94a3b824;border-radius:999px;padding:4px 9px}.onboarding-footer{border-top:1px solid #94a3b840;justify-content:space-between;align-items:center;gap:12px;padding-top:10px;display:flex}.onboarding-dots{align-items:center;gap:8px;display:flex}.onboarding-dot{cursor:pointer;background:#cbd5e1;border:0;border-radius:999px;width:10px;height:10px;min-height:0;padding:0;transition:width .2s,background .2s}[data-theme=dark] .onboarding-dot{background:#334155}.onboarding-dot.active{background:var(--guide-accent,#6366f1);width:26px}.onboarding-actions{align-items:center;gap:8px;display:flex}.new-book-action-wrap{flex-direction:column;align-items:flex-start;gap:12px;margin-top:8px;display:flex}.coachmark-target{animation:1.5s ease-in-out infinite coachmark-pulse;box-shadow:0 0 0 4px #6366f152,0 0 22px #6366f173}@keyframes coachmark-pulse{0%,to{box-shadow:0 0 0 3px #6366f159,0 0 18px #6366f166}50%{box-shadow:0 0 0 7px #6366f129,0 0 26px #6366f1a6}}.coachmark-pointer{color:#fff;background:linear-gradient(135deg,#4f46e5,#7c3aed);border-radius:16px;align-items:center;gap:8px;padding:9px 15px;font-size:.88rem;font-weight:800;display:inline-flex;box-shadow:0 10px 24px #4f46e561}.coachmark-hand{font-size:1.3rem;line-height:1;animation:.85s ease-in-out infinite coachmark-bounce-up;display:inline-block}@keyframes coachmark-bounce-up{0%,to{transform:translateY(0)}50%{transform:translateY(-6px)}}@media (width<=640px){.onboarding-card{padding:18px 14px 16px}.tut-mock-mode-grid,.tut-mock-arena-grid{grid-template-columns:1fr}.onboarding-footer{flex-direction:column;align-items:stretch}.onboarding-dots{justify-content:center}.onboarding-actions{justify-content:flex-end}}.arena-continent-boss-card{background:linear-gradient(135deg,#ecfdf5 0%,#fff 65%);border:1px solid #a7f3d0;border-radius:18px;padding:20px}[data-theme=dark] .arena-continent-boss-card{background:linear-gradient(135deg,#0b2922 0%,#111827 72%);border-color:#065f46}.continent-boss-banner{grid-template-columns:140px minmax(0,1fr);align-items:center;gap:18px;margin-bottom:16px;display:grid}.continent-art{object-fit:contain;background:radial-gradient(circle,#10b98147 0%,#0f172ad9 75%);padding:8px}.arena-arcade-banners{flex-direction:column;gap:14px;display:flex}.arena-arcade-banner{border-radius:18px;grid-template-columns:140px minmax(0,1fr);align-items:center;gap:18px;padding:20px;display:grid}.arena-arcade-banner.mode-time{background:linear-gradient(135deg,#fffbeb 0%,#fff 65%);border:1px solid #fde68a}[data-theme=dark] .arena-arcade-banner.mode-time{background:linear-gradient(135deg,#2b1d0c 0%,#111827 72%);border-color:#92400e}.arena-arcade-banner.mode-sky{background:linear-gradient(135deg,#f0f9ff 0%,#fff 65%);border:1px solid #bae6fd}[data-theme=dark] .arena-arcade-banner.mode-sky{background:linear-gradient(135deg,#0c1f38 0%,#111827 72%);border-color:#075985}.arcade-art-time{object-fit:contain;background:radial-gradient(circle,#f59e0b4d 0%,#0f172adb 76%);padding:10px}.arcade-art-sky{object-fit:cover;background:#0c1f38;padding:0}.arena-tag-continent,.arena-tag-time,.arena-tag-sky{letter-spacing:.04em;color:#fff;border-radius:999px;align-items:center;padding:3px 10px;font-size:.72rem;font-weight:800;display:inline-flex}.arena-tag-continent{background:#059669}.arena-tag-time{background:#d97706}.arena-tag-sky{background:#0284c7}.arcade-best-pill{color:#b45309;background:#facc152e;border:1px solid #facc1573;border-radius:999px;align-items:center;padding:3px 10px;font-size:.76rem;font-weight:800;display:inline-flex}[data-theme=dark] .arcade-best-pill{color:#fde047}.arena-arcade-banner h3,.continent-boss-banner h3{margin:4px 0 6px;font-size:1.18rem}@media (width<=640px){.continent-boss-banner,.arena-arcade-banner{text-align:center;grid-template-columns:1fr}.continent-boss-banner .boss-card-actions,.arena-arcade-banner .boss-card-actions{justify-content:center}}.main-content:has(.mini-article-page){padding-inline:clamp(6px,1.5vw,16px)}.content-card:has(.mini-article-page){max-width:1120px;padding-inline:clamp(10px,2vw,20px)}.mini-article-page{flex-direction:column;gap:14px;display:flex}.mini-article-page>.panel-section{margin-top:0;padding-top:16px}.mini-article-top-tabs{background:#94a3b824;border-radius:12px;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:4px;display:grid}.mini-article-top-tabs>button{cursor:pointer;white-space:nowrap;text-overflow:ellipsis;background:0 0;border:none;border-radius:9px;padding:8px 6px;font-size:.88rem;font-weight:700;overflow:hidden}.mini-article-top-tabs>button.active{color:#fff;background:#4f46e5;box-shadow:0 2px 6px #4f46e540}.mini-article-top-tabs>button:disabled{opacity:.42;cursor:not-allowed}.mini-article-empty-saved{flex-direction:column;align-items:flex-start;gap:10px;display:flex}.mini-article-controls{flex-direction:column;gap:14px;display:flex}.mini-article-control-row{grid-template-columns:minmax(220px,1.2fr) minmax(220px,1fr);align-items:end;gap:16px;display:grid}.mini-article-field{flex-direction:column;gap:6px;display:flex}.mini-article-field label{color:var(--muted,#64748b);align-items:center;gap:8px;font-size:.84rem;font-weight:700;display:flex}.mini-article-auto-pill{color:#4f46e5;background:#6366f124;border-radius:999px;padding:2px 8px;font-size:.72rem;font-weight:700}[data-theme=dark] .mini-article-auto-pill{color:#c7d2fe;background:#818cf838}.mini-article-single-book{border:1px solid var(--border,#cbd5e1);background:var(--surface,#f8fafc);border-radius:12px;justify-content:space-between;align-items:center;padding:10px 14px;display:flex}.mini-article-single-book span{color:var(--muted,#64748b);font-size:.84rem}.mini-article-seg{grid-template-columns:repeat(3,1fr);gap:6px;display:grid}.mini-article-seg>button{border:1px solid var(--border,#cbd5e1);cursor:pointer;background:0 0;border-radius:10px;padding:8px 10px;font-size:.82rem;font-weight:600}.mini-article-seg>button.active{color:#fff;background:#4f46e5;border-color:#4f46e5}.mini-article-topics{flex-wrap:wrap;gap:8px;display:flex}.mini-article-topic-chip{border:1px solid var(--border,#cbd5e1);cursor:pointer;background:0 0;border-radius:999px;padding:6px 12px;font-size:.82rem;font-weight:600;transition:background .15s,border-color .15s,color .15s}.mini-article-topic-chip.active{color:#4338ca;background:#4f46e524;border-color:#6366f1}[data-theme=dark] .mini-article-topic-chip.active{color:#e0e7ff;background:#818cf838;border-color:#818cf8}.mini-article-gen-row{flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;display:flex}.mini-article-gen-btn{padding:10px 20px;font-weight:700}.mini-article-loading{align-items:center;gap:16px;padding:24px;display:flex}.mini-article-spinner{border:3px solid #6366f138;border-top-color:#4f46e5;border-radius:50%;flex:none;width:28px;height:28px;animation:.8s linear infinite miniArticleSpin}@keyframes miniArticleSpin{to{transform:rotate(360deg)}}.mini-article-reader{flex-direction:column;gap:20px;display:flex}.mini-article-header{border-bottom:1px solid var(--border,#e2e8f0);flex-direction:column;gap:10px;padding-bottom:16px;display:flex}.mini-article-meta{color:var(--muted,#64748b);flex-wrap:wrap;align-items:center;gap:10px;font-size:.82rem;display:flex}.mini-article-badge{color:#fff;letter-spacing:.02em;background:linear-gradient(135deg,#4f46e5,#0ea5e9);border-radius:999px;padding:3px 10px;font-size:.76rem;font-weight:800}.mini-article-title{letter-spacing:-.015em;margin:0;font-size:1.5rem;line-height:1.3}.mini-article-title-ko{color:var(--muted,#64748b);margin:0;font-size:.98rem;font-weight:600}.mini-article-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-top:6px;display:flex}.mini-article-mode-tabs{background:#94a3b824;border-radius:12px;gap:4px;padding:4px;display:inline-flex}.mini-article-mode-tabs>button{cursor:pointer;color:inherit;background:0 0;border:none;border-radius:9px;padding:8px 16px;font-size:.88rem;font-weight:700}.mini-article-mode-tabs>button.active{color:#fff;background:#4f46e5;box-shadow:0 2px 8px #4f46e54d}.mini-article-tts-btn{border:1px solid var(--border,#cbd5e1);cursor:pointer;background:0 0;border-radius:10px;padding:8px 14px;font-size:.85rem;font-weight:700}.mini-article-tts-btn.speaking{color:#dc2626;background:#ef44441a;border-color:#ef4444}.mini-article-read-view{flex-direction:column;gap:18px;display:flex}.mini-article-read-tip{margin:0;font-size:.86rem}.mini-article-prose{letter-spacing:.005em;border:1px solid var(--border,#e2e8f0);background:#f8fafcb8;border-radius:16px;padding:20px 22px;font-size:1.16rem;line-height:1.95}[data-theme=dark] .mini-article-prose{background:#0f172aa6;border-color:#334155}.mini-article-hl{color:#3730a3;min-height:0;font:inherit;vertical-align:baseline;cursor:pointer;background:#6366f121;border:none;border-bottom:2px solid #6366f1;border-radius:5px;margin:0 1px;padding:0 5px;font-weight:700;line-height:1.3;transition:background .15s,transform .1s;display:inline-block}.mini-article-hl:hover,.mini-article-hl.active{color:#fff;background:#4f46e5;border-bottom-color:#312e81}[data-theme=dark] .mini-article-hl{color:#c7d2fe;background:#818cf838;border-bottom-color:#818cf8}[data-theme=dark] .mini-article-hl:hover,[data-theme=dark] .mini-article-hl.active{color:#fff;background:#6366f1}.mini-article-word-peek{background:#6366f114;border:1px solid #6366f1;border-radius:14px;flex-direction:column;gap:6px;padding:14px 16px;display:flex}.mini-article-word-peek-head{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.mini-article-word-peek-head>button{margin-left:auto}.mini-article-peek-meaning{font-size:.98rem;font-weight:700}.mini-article-word-peek p{margin:0;font-size:.86rem}.mini-article-word-tray{flex-direction:column;gap:8px;display:flex}.mini-article-tray-label{text-transform:uppercase;letter-spacing:.04em;color:var(--muted,#64748b);font-size:.8rem;font-weight:800}.mini-article-tray-chips{flex-wrap:wrap;gap:8px;display:flex}.mini-article-target-chip{border:1px solid var(--border,#cbd5e1);cursor:pointer;background:0 0;border-radius:999px;align-items:center;gap:5px;padding:5px 11px;font-size:.84rem;font-weight:600;display:inline-flex}.mini-article-target-chip.studied{background:#6366f11a;border-color:#6366f159}[data-theme=dark] .mini-article-target-chip.studied{background:#818cf829;border-color:#818cf866}.mini-article-target-chip.active,[data-theme=dark] .mini-article-target-chip.active{color:#fff;background:#4f46e5;border-color:#4f46e5}.mini-article-next-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;padding-top:6px;display:flex}.mini-article-translate-view{flex-direction:column;gap:16px;display:flex}.mini-article-summary-box{background:#0ea5e91a;border:1px solid #0ea5e94d;border-radius:14px;padding:14px 16px}.mini-article-summary-box strong{color:#0284c7;margin-bottom:4px;font-size:.84rem;display:block}[data-theme=dark] .mini-article-summary-box strong{color:#38bdf8}.mini-article-summary-box p{margin:0;font-size:.94rem;line-height:1.5}.mini-article-line-list,.mini-article-analysis-list{flex-direction:column;gap:14px;display:flex}.mini-article-line-card,.mini-article-analysis-card{border:1px solid var(--border,#e2e8f0);background:#f8fafca6;border-radius:14px;flex-direction:column;gap:8px;padding:12px 14px;display:flex}[data-theme=dark] .mini-article-line-card,[data-theme=dark] .mini-article-analysis-card{background:#0f172aa6;border-color:#334155}.mini-article-line-top{align-items:center;gap:6px;display:flex}.mini-article-line-num{color:#4f46e5;background:#6366f129;border-radius:6px;flex:none;padding:2px 7px;font-size:.72rem;font-weight:800;line-height:1.2}[data-theme=dark] .mini-article-line-num{color:#c7d2fe;background:#818cf83d}.mini-article-line-en{margin:0;font-size:1.03rem;font-weight:500;line-height:1.65}.mini-article-inline-tts{vertical-align:-.22em;border:1px solid var(--border,#cbd5e1);width:1.35em;min-width:0;height:1.35em;min-height:0;color:var(--muted,#475569);cursor:pointer;background:0 0;border-radius:6px;justify-content:center;align-items:center;margin-inline-start:4px;padding:0;display:inline-flex}.mini-article-inline-tts svg{width:.82em;height:.82em}.mini-article-inline-tts.speaking{color:#ef4444;background:#ef44441f;border-color:#ef4444}.mini-article-mini-tts{border:1px solid var(--border,#cbd5e1);width:26px;min-width:0;height:26px;min-height:0;color:var(--muted,#475569);cursor:pointer;background:0 0;border-radius:7px;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.mini-article-mini-tts svg{width:14px;height:14px}.mini-article-mini-tts.speaking{color:#ef4444;background:#ef44441f;border-color:#ef4444}.mini-article-slash-strip{background:#94a3b814;border-radius:12px;flex-wrap:wrap;gap:8px;padding:10px 12px;display:flex}.mini-article-slash-item{background:var(--bg,#fff);border-left:3px solid #64748b;border-radius:9px;flex-direction:column;gap:2px;padding:5px 10px;font-size:.84rem;display:inline-flex}[data-theme=dark] .mini-article-slash-item{background:#1e293bd9}.mini-article-slash-role{letter-spacing:.04em;opacity:.85;font-size:.68rem;font-style:normal;font-weight:800}.mini-article-slash-text{font-weight:600}.mini-article-slash-gloss{color:var(--muted,#64748b);font-size:.76rem}.mini-article-line-ko{color:var(--text,#1e293b);margin:0;padding-left:4px;font-size:.96rem;line-height:1.6}[data-theme=dark] .mini-article-line-ko{color:#e2e8f0}.mini-article-analyze-view{flex-direction:column;gap:16px;display:flex}.mini-article-legend{border:1px solid var(--border,#e2e8f0);background:#94a3b814;border-radius:14px;flex-wrap:wrap;align-items:center;gap:10px;padding:12px 16px;display:flex}.mini-article-legend-title{color:var(--muted,#64748b);font-size:.8rem;font-weight:800}.mini-article-legend-items{flex-wrap:wrap;gap:6px;display:flex}.mini-article-role-pill{border-radius:999px;padding:3px 9px;font-size:.74rem;font-weight:800}.role-s{--role-c:#2563eb;--role-bg:#2563eb1f}.role-v{--role-c:#e11d48;--role-bg:#e11d481f}.role-o{--role-c:#059669;--role-bg:#0596691f}.role-c{--role-c:#7c3aed;--role-bg:#7c3aed1f}.role-m{--role-c:#d97706;--role-bg:#d9770621}.role-conn{--role-c:#0891b2;--role-bg:#0891b221}[data-theme=dark] .role-s{--role-c:#60a5fa;--role-bg:#3b82f638}[data-theme=dark] .role-v{--role-c:#fb7185;--role-bg:#f43f5e38}[data-theme=dark] .role-o{--role-c:#34d399;--role-bg:#10b98138}[data-theme=dark] .role-c{--role-c:#c084fc;--role-bg:#a855f738}[data-theme=dark] .role-m{--role-c:#fbbf24;--role-bg:#f59e0b38}[data-theme=dark] .role-conn{--role-c:#22d3ee;--role-bg:#06b6d438}.mini-article-role-pill,.mini-article-chunk-role{background:var(--role-bg);color:var(--role-c)}.mini-article-slash-item{border-left-color:var(--role-c)}.mini-article-slash-item .mini-article-slash-role{color:var(--role-c)}.mini-article-analysis-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.mini-article-analysis-badges{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.mini-article-pattern-badge{background:#0f172a12;border-radius:8px;padding:3px 9px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.78rem;font-weight:700}[data-theme=dark] .mini-article-pattern-badge{background:#ffffff1a}.mini-article-grammar-badge{color:#6d28d9;background:#7c3aed1f;border-radius:999px;padding:3px 10px;font-size:.78rem;font-weight:700}[data-theme=dark] .mini-article-grammar-badge{color:#ddd6fe;background:#a78bfa33}.mini-article-syntax-flow{flex-wrap:wrap;align-items:stretch;gap:10px;display:flex}.mini-article-chunk-node{border:1.5px solid var(--role-c);background:var(--bg,#fff);border-radius:12px;flex-direction:column;flex:auto;gap:4px;min-width:110px;padding:10px 13px;display:flex}[data-theme=dark] .mini-article-chunk-node{background:#0f172ae6}.mini-article-chunk-role{border-radius:6px;align-self:flex-start;padding:2px 7px;font-size:.7rem;font-weight:800}.mini-article-chunk-en{font-size:.98rem;line-height:1.4}.mini-article-chunk-ko{color:var(--muted,#64748b);font-size:.8rem}.mini-article-grammar-box{background:#94a3b814;border-radius:12px;flex-direction:column;gap:6px;padding:12px 14px;font-size:.9rem;line-height:1.55;display:flex}.mini-article-grammar-box p{margin:0}.mini-article-vocab-grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px;display:grid}.mini-article-vocab-card{border:1px solid var(--border,#e2e8f0);background:var(--bg,#fff);border-radius:12px;flex-direction:column;gap:5px;padding:12px 14px;display:flex}[data-theme=dark] .mini-article-vocab-card{background:#1e293ba6;border-color:#334155}.mini-article-vocab-card.is-target{background:#6366f10f;border-color:#6366f1}[data-theme=dark] .mini-article-vocab-card.is-target{background:#6366f124;border-color:#818cf8}.mini-article-vocab-top{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.mini-article-vocab-base{color:var(--muted,#64748b);font-size:.8rem}.mini-article-pos-pill{color:var(--muted,#475569);background:#94a3b82e;border-radius:6px;padding:2px 7px;font-size:.72rem;font-weight:700}[data-theme=dark] .mini-article-pos-pill{color:#cbd5e1}.mini-article-target-tag{color:#b45309;background:#f59e0b2e;border-radius:999px;margin-left:auto;padding:2px 7px;font-size:.72rem;font-weight:800}[data-theme=dark] .mini-article-target-tag{color:#fde047}.mini-article-vocab-meaning{margin:0;font-size:.9rem;font-weight:700}.mini-article-vocab-nuance{color:var(--muted,#64748b);margin:0;font-size:.8rem;line-height:1.45}@media (width<=720px){.main-content:has(.mini-article-page){padding-inline:4px}.content-card:has(.mini-article-page){padding-inline:8px}.mini-article-control-row{grid-template-columns:1fr}.mini-article-prose{padding:12px 10px;font-size:1.02rem}.mini-article-line-card,.mini-article-analysis-card{padding:10px}.mini-article-toolbar{flex-direction:column;align-items:stretch}.mini-article-mode-tabs{grid-template-columns:repeat(3,1fr);display:grid}.mini-article-mode-tabs>button{padding:8px 6px;font-size:.82rem}.mini-article-top-tabs>button{padding:8px 4px;font-size:.82rem}}.compact-heatmap-section{padding:16px 18px}.compact-heatmap-header{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:10px;display:flex}.compact-heatmap-header h2{margin:0;font-size:1rem}.compact-heatmap-hint{font-size:.76rem}.compact-heatmap-wrap{justify-content:flex-start;display:flex;overflow-x:auto}.compact-heatmap{border-collapse:separate;border-spacing:4px;margin:0;width:auto!important}.compact-heatmap caption{clip:rect(0, 0, 0, 0);width:1px;height:1px;position:absolute;overflow:hidden}.compact-corner-cell{color:var(--muted,#64748b);text-align:center;white-space:nowrap;padding:2px 6px;font-size:.68rem;font-weight:700}.compact-stage-th{color:var(--muted,#64748b);text-align:center;font-weight:800;padding:2px 4px!important;font-size:.72rem!important}.compact-heatmap td{padding:0!important}.compact-heatmap-cell{justify-content:center;align-items:center;display:inline-flex;border-radius:7px!important;width:40px!important;min-width:40px!important;height:30px!important;padding:0!important;font-size:.76rem!important}.compact-heatmap-cell strong{font-weight:800;font-size:.76rem!important}.compact-heatmap-details{border:1px solid var(--border,#e2e8f0);border-radius:12px;margin-top:12px;padding:12px 14px}.compact-heatmap-details-head{justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;display:flex}.compact-heatmap-details-head h3{margin:0;font-size:.9rem}.epop-calendar-page{flex-direction:column;gap:18px;display:flex}.epop-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.epop-kpi-card{border:1px solid var(--border,#e2e8f0);background:var(--surface,#f8fafc);border-radius:16px;flex-direction:column;gap:4px;padding:14px 16px;display:flex}[data-theme=dark] .epop-kpi-card{background:#0f172ab8;border-color:#334155}.epop-kpi-label{color:var(--muted,#64748b);font-size:.78rem;font-weight:700}.epop-kpi-value{letter-spacing:-.02em;font-size:1.32rem;font-weight:800}.epop-kpi-value.accent-purple{color:#7c3aed}[data-theme=dark] .epop-kpi-value.accent-purple{color:#a78bfa}.epop-annual-section,.epop-chart-section{flex-direction:column;gap:14px;display:flex}.epop-section-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.epop-year-nav{align-items:center;gap:10px;display:inline-flex}.epop-year-nav h2{margin:0;font-size:1.08rem}.epop-year-nav>button,.epop-chart-period-nav>button{border:1px solid var(--border,#cbd5e1);cursor:pointer;background:0 0;border-radius:999px;justify-content:center;align-items:center;width:30px;height:30px;font-size:1.05rem;display:inline-flex}.epop-dot-legend{color:var(--muted,#64748b);align-items:center;gap:12px;font-size:.78rem;font-weight:600;display:inline-flex}.epop-dot-legend>span{align-items:center;gap:5px;display:inline-flex}.epop-dot{background:#cbd5e1;border-radius:50%;width:10px;height:10px;display:inline-block}[data-theme=dark] .epop-dot{background:#334155}.epop-dot.studied{background:#7c3aed}.epop-tap-hint{margin:-6px 0 0;font-size:.8rem}.epop-year-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.epop-month-card{border:1px solid var(--border,#e2e8f0);background:var(--bg,#fff);border-radius:14px;flex-direction:column;gap:8px;padding:10px 11px;display:flex}[data-theme=dark] .epop-month-card{background:#0f172abf;border-color:#334155}.epop-month-head{justify-content:space-between;align-items:baseline;font-size:.8rem;display:flex}.epop-month-head span{color:#7c3aed;font-size:.72rem;font-weight:700}[data-theme=dark] .epop-month-head span{color:#a78bfa}.epop-month-dots{grid-template-columns:repeat(7,1fr);justify-items:center;gap:5px;display:grid}.epop-dot-spacer{width:11px;height:11px}.epop-day-dot{cursor:pointer;background:#d1d5db;border:none;border-radius:50%;width:11px;height:11px;padding:0;transition:transform .12s,box-shadow .12s}[data-theme=dark] .epop-day-dot{background:#334155}.epop-day-dot.studied{background:#7c3aed;box-shadow:0 0 0 1px #7c3aed40}[data-theme=dark] .epop-day-dot.studied{background:#8b5cf6;box-shadow:0 0 6px #8b5cf673}.epop-day-dot.is-today{outline-offset:1px;outline:2px solid #0ea5e9}.epop-day-dot.is-selected,.epop-day-dot:hover{transform:scale(1.35);box-shadow:0 0 0 2px #7c3aed73}.epop-day-detail{background:#7c3aed0f;border:1.5px solid #7c3aed;border-radius:14px;flex-direction:column;gap:10px;padding:14px 16px;display:flex}[data-theme=dark] .epop-day-detail{background:#7c3aed24;border-color:#8b5cf6}.epop-day-detail-head{justify-content:space-between;align-items:center;display:flex}.epop-day-detail-head h3{margin:0;font-size:.96rem}.epop-day-detail-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.epop-day-detail-metrics>div{flex-direction:column;gap:2px;display:flex}.epop-day-detail-metrics span{color:var(--muted,#64748b);font-size:.74rem}.epop-day-detail-metrics strong{font-size:.98rem}.epop-day-books{border-top:1px solid var(--border,#cbd5e1);flex-direction:column;gap:6px;padding-top:8px;display:flex}.epop-day-book-row{flex-wrap:wrap;justify-content:space-between;gap:6px;font-size:.82rem;display:flex}.epop-chart-top{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.epop-chart-top h2{margin:0 0 4px;font-size:1.05rem}.epop-chart-summary{margin:0;font-size:.92rem}.epop-range-tabs{background:#94a3b829;border-radius:10px;flex-wrap:wrap;gap:3px;max-width:100%;padding:3px;display:inline-flex}.epop-range-tabs>button{overflow-wrap:anywhere;cursor:pointer;min-width:0;color:inherit;background:0 0;border:none;border-radius:8px;padding:6px 14px;font-size:.82rem;font-weight:700}.epop-range-tabs>button.active{color:#fff;background:#7c3aed}.epop-chart-period-nav{justify-content:center;align-items:center;gap:14px;font-size:.9rem;display:flex}.epop-bar-chart{border:1px solid var(--border,#e2e8f0);background:#94a3b80f;border-radius:14px;align-items:end;gap:6px;height:185px;padding:12px 8px 4px;display:grid}.epop-bar-chart.range-week{grid-template-columns:repeat(7,minmax(0,1fr));gap:10px}.epop-bar-chart.range-month{grid-template-columns:repeat(31,minmax(0,1fr));gap:3px}.epop-bar-chart.range-year{grid-template-columns:repeat(12,minmax(0,1fr));gap:8px}.epop-bar-col{cursor:pointer;background:0 0;border:none;flex-direction:column;justify-content:flex-end;align-items:center;gap:4px;min-width:0;height:100%;padding:0;display:flex}.epop-bar-val{color:#7c3aed;white-space:nowrap;height:14px;font-size:.68rem;font-weight:700;line-height:14px}[data-theme=dark] .epop-bar-val{color:#c4b5fd}.epop-bar-track{background:#94a3b81f;border-radius:8px;flex:auto;justify-content:center;align-items:flex-end;width:100%;max-width:28px;display:flex;overflow:hidden}.epop-bar-chart.range-month .epop-bar-track{border-radius:4px;max-width:10px}.epop-bar-fill{background:linear-gradient(#8b5cf6 0%,#6d28d9 100%);border-radius:6px 6px 2px 2px;width:100%;transition:height .25s}.epop-bar-col.is-current .epop-bar-fill,.epop-bar-col.is-selected .epop-bar-fill{background:linear-gradient(#a855f7 0%,#ec4899 100%)}.epop-bar-label{color:var(--muted,#64748b);white-space:nowrap;height:16px;font-size:.72rem;font-weight:600;line-height:16px}.epop-bar-col.is-current .epop-bar-label{color:#7c3aed;font-weight:800}@media (width<=900px){.epop-year-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=640px){.epop-kpi-grid{grid-template-columns:1fr}.epop-year-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.epop-day-detail-metrics{grid-template-columns:1fr}.compact-heatmap-cell{width:34px!important;min-width:34px!important;height:26px!important}}.epop-month-card-btn{text-align:left;cursor:pointer;color:inherit;transition:border-color .15s,transform .12s,box-shadow .15s}.epop-month-card-btn:hover{border-color:#7c3aed;transform:translateY(-2px);box-shadow:0 6px 16px #7c3aed1f}.epop-back-year-btn{margin-right:4px;font-weight:700;border-radius:999px!important;width:auto!important;height:30px!important;padding:0 10px!important;font-size:.78rem!important}.epop-month-detail-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;display:grid}.epop-month-weekday{text-align:center;color:var(--muted,#64748b);padding-bottom:4px;font-size:.76rem;font-weight:700}.epop-month-day-cell{border:1px solid var(--border,#e2e8f0);background:var(--bg,#fff);cursor:pointer;min-height:54px;color:inherit;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:6px 4px;transition:border-color .12s,background .12s;display:flex}[data-theme=dark] .epop-month-day-cell{background:#0f172ac7;border-color:#334155}.epop-month-day-cell.studied{background:#7c3aed14;border-color:#7c3aed59}[data-theme=dark] .epop-month-day-cell.studied{background:#7c3aed2e;border-color:#8b5cf673}.epop-month-day-cell.is-today{outline-offset:-1px;outline:2px solid #0ea5e9}.epop-month-day-cell.is-selected,.epop-month-day-cell:hover{border-color:#7c3aed;box-shadow:0 0 0 2px #7c3aed47}.epop-month-day-num{font-size:.84rem;font-weight:700}.epop-month-day-meta{color:#7c3aed;font-size:.68rem;font-weight:700}[data-theme=dark] .epop-month-day-meta{color:#c4b5fd}.epop-chart-header-fixed{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;min-width:0;display:flex}.epop-chart-header-fixed h2{overflow-wrap:anywhere;min-width:0;margin:0;font-size:1.05rem}.epop-chart-header-fixed .epop-range-tabs{flex:0 auto}.epop-chart-summary-row{margin:-4px 0 0;font-size:.92rem}.epop-year-nav>button:disabled,.epop-chart-period-nav>button:disabled{opacity:.32;cursor:not-allowed}.epop-progress-page,.epop-progress-stack{flex-direction:column;gap:18px;display:flex}.epop-progress-controls{flex-direction:column;gap:12px;display:flex}.epop-book-select-wrap{color:var(--muted,#64748b);align-items:center;gap:10px;font-size:.86rem;font-weight:700;display:flex}.epop-book-select-wrap select{flex:auto;max-width:360px}.epop-main-tabs{background:#94a3b829;border-radius:14px;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:4px;display:grid}.epop-main-tabs>button{cursor:pointer;color:inherit;background:0 0;border:none;border-radius:10px;padding:10px 14px;font-size:.92rem;font-weight:700;transition:background .15s,color .15s}.epop-main-tabs>button.active{color:#fff;background:#7c3aed;box-shadow:0 3px 10px #7c3aed4d}.epop-kpi-value.accent-emerald{color:#059669}[data-theme=dark] .epop-kpi-value.accent-emerald{color:#34d399}.epop-bar-chart.range-stage{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.epop-stage-word-list{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px;margin:0;padding:0;list-style:none;display:grid}.epop-stage-word-item{border:1px solid var(--border,#e2e8f0);background:var(--bg,#fff);border-radius:10px;justify-content:space-between;align-items:center;gap:8px;padding:8px 11px;font-size:.84rem;display:flex}[data-theme=dark] .epop-stage-word-item{background:#0f172ad9;border-color:#334155}.epop-stage-word-main{flex-direction:column;gap:2px;min-width:0;display:flex}.epop-stage-word-main span{color:var(--muted,#64748b);text-overflow:ellipsis;white-space:nowrap;font-size:.78rem;overflow:hidden}.epop-stage-word-badge{color:#7c3aed;background:#7c3aed24;border-radius:6px;flex:none;padding:2px 7px;font-size:.7rem;font-weight:800}[data-theme=dark] .epop-stage-word-badge{color:#c4b5fd;background:#8b5cf63d}.epop-book-cards{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px;display:grid}.epop-book-card{border:1px solid var(--border,#e2e8f0);background:var(--surface,#f8fafc);border-radius:16px;flex-direction:column;gap:10px;padding:16px 18px;display:flex}[data-theme=dark] .epop-book-card{background:#0f172ab8;border-color:#334155}.epop-book-card-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.epop-book-card-head h3{margin:0;font-size:1rem}.epop-acc-pill{color:#7c3aed;background:#7c3aed24;border-radius:999px;flex:none;padding:3px 9px;font-size:.74rem;font-weight:800}[data-theme=dark] .epop-acc-pill{color:#c4b5fd;background:#8b5cf63d}.epop-book-progress-row{justify-content:space-between;align-items:baseline;font-size:.84rem;display:flex}.epop-book-progress-row strong{color:#7c3aed}[data-theme=dark] .epop-book-progress-row strong{color:#a78bfa}.epop-book-progress-track{background:#94a3b838;border-radius:999px;width:100%;height:8px;overflow:hidden}.epop-books-header{border-bottom:1px solid #e2e8f0;margin-bottom:14px;padding-bottom:12px}.epop-books-header h2{margin:0;font-size:1.05rem}[data-theme=dark] .epop-books-header{border-color:#273951}.epop-book-progress-fill{background:linear-gradient(90deg,#7c3aed,#a855f7);border-radius:999px;height:100%}.epop-book-progress-fill.is-studied{background:linear-gradient(90deg,#4f46e5,#6366f1)}.epop-book-stats-row{color:var(--muted,#64748b);flex-wrap:wrap;gap:6px 12px;font-size:.78rem;display:flex}.epop-book-card-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;padding-top:2px;display:flex}.epop-book-card-completion{color:var(--muted,#475569);font-size:.82rem;font-weight:600}[data-theme=dark] .epop-book-card-completion{color:#cbd5e1}.mini-article-page-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.mini-article-archive-btn.active{color:#fff;background:#4f46e5;border-color:#4f46e5}.mini-article-archive-panel{flex-direction:column;gap:12px;display:flex}.mini-article-archive-head{justify-content:space-between;align-items:center;display:flex}.mini-article-archive-head h2{margin:0;font-size:1rem}.mini-article-archive-list{flex-direction:column;gap:8px;max-height:320px;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}.mini-article-archive-item{border:1px solid var(--border,#e2e8f0);background:var(--bg,#fff);border-radius:12px;align-items:center;gap:8px;padding:10px 12px;display:flex}[data-theme=dark] .mini-article-archive-item{background:#0f172ac7;border-color:#334155}.mini-article-archive-item.active{background:#6366f114;border-color:#6366f1}.mini-article-archive-load{text-align:left;cursor:pointer;min-width:0;color:inherit;background:0 0;border:none;flex-direction:column;flex:auto;gap:4px;padding:0;display:flex}.mini-article-archive-meta{color:var(--muted,#64748b);flex-wrap:wrap;align-items:center;gap:6px;font-size:.76rem;display:flex}.mini-article-archive-del{flex:none;font-size:.95rem}.mini-article-quota-bar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.mini-article-quota-pill,.mini-article-ticket-pill{background:#94a3b824;border-radius:999px;padding:4px 10px;font-size:.8rem;font-weight:700}.mini-article-ticket-pill.has-ticket{color:#7c3aed;background:#7c3aed29}[data-theme=dark] .mini-article-ticket-pill.has-ticket{color:#ddd6fe;background:#8b5cf642}.main-content:has(.video-learning-page){padding-inline:12px}.content-card:has(.video-learning-page){max-width:1440px;padding:16px 18px}@media (width<=768px){.main-content:has(.video-learning-page){padding:6px 4px 16px}.content-card:has(.video-learning-page){border-radius:12px;padding:10px 8px}}.video-learning-page{flex-direction:column;gap:18px;display:flex}.video-page-header{flex-direction:column;gap:8px;display:flex}.video-page-title-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.video-page-title-row h1{margin:0 0 4px;font-size:1.55rem}.video-page-title-row p{margin:0;font-size:.9rem}.video-back-btn{color:#1e293b;cursor:pointer;background:#f8fafc;border:1px solid #cbd5e1;border-radius:999px;align-items:center;gap:6px;padding:8px 14px;font-size:.88rem;font-weight:600;display:inline-flex}.video-back-btn:hover{color:#4338ca;background:#eef2ff;border-color:#818cf8}[data-theme=dark] .video-back-btn{color:#f1f5f9;background:#1e293b;border-color:#334155}.video-book-picker{align-items:center;gap:8px;display:flex}.video-book-select-label{color:#475569;align-items:center;gap:8px;font-size:.84rem;font-weight:600;display:inline-flex}[data-theme=dark] .video-book-select-label{color:#cbd5e1}.video-book-select-label select{color:#0f172a;background:#fff;border:1px solid #cbd5e1;border-radius:10px;padding:7px 12px;font-size:.86rem;font-weight:600}[data-theme=dark] .video-book-select-label select{color:#f8fafc;background:#0f172a;border-color:#334155}.video-discovery{flex-direction:column;gap:16px;display:flex}.video-search-bar{justify-content:center;width:100%;display:flex}.video-lang-bar{flex-shrink:0;align-items:center;gap:8px;display:flex}.video-topbar-lang{margin-left:auto}.video-lang-field{white-space:nowrap;color:#64748b;background:linear-gradient(#fff,#f8fafc);border:1px solid #cbd5e1;border-radius:999px;flex-flow:row;align-items:center;gap:6px;width:auto;padding:5px 11px;font-size:.78rem;font-weight:600;line-height:1.2;display:inline-flex;box-shadow:0 1px 3px #0f172a0f}.video-lang-field span{white-space:nowrap;flex-shrink:0}.video-lang-field select{field-sizing:content;color:#4f46e5;width:auto;min-width:0;font:inherit;cursor:pointer;background:0 0;border:none;outline:none;margin:0;padding:0 2px;font-weight:700}[data-theme=dark] .video-lang-field{color:#94a3b8;background:linear-gradient(#1e293b,#172033);border-color:#334155;box-shadow:0 1px 4px #00000047}[data-theme=dark] .video-lang-field select{color:#a5b4fc}[data-theme=dark] .video-lang-field select option{color:#f8fafc;background:#0f172a}@media (width<=860px){.video-desktop-lang{display:none}}.video-yt-search-group{background:#fff;border:1px solid #cbd5e1;border-radius:999px;align-items:stretch;width:100%;max-width:640px;height:42px;transition:border-color .15s,box-shadow .15s;display:flex;overflow:hidden;box-shadow:inset 0 1px 2px #0f172a0f}.video-yt-search-group:focus-within{border-color:#1c62b9;box-shadow:inset 0 1px 2px #0f172a14,0 0 0 1px #1c62b9}[data-theme=dark] .video-yt-search-group{box-shadow:none;background:#121212;border-color:#303030}[data-theme=dark] .video-yt-search-group:focus-within{border-color:#3ea6ff;box-shadow:0 0 0 1px #3ea6ff}.video-yt-search-group input[type=search],[data-theme=dark] .video-yt-search-group input[type=search]{color:#0f172a;min-width:0;box-shadow:none;background:0 0;border:none;border-radius:0;outline:none;flex:auto;margin-top:0;padding:0 16px 0 18px;font-size:.95rem}[data-theme=dark] .video-yt-search-group input[type=search]{color:#f1f5f9}.video-yt-search-group input[type=search]::-webkit-search-cancel-button{appearance:none}.video-yt-clear-btn{color:#64748b;cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;width:36px;padding:0;display:inline-flex}.video-yt-clear-btn:hover{color:#0f172a}[data-theme=dark] .video-yt-clear-btn{color:#94a3b8}[data-theme=dark] .video-yt-clear-btn:hover{color:#f8fafc}.video-yt-clear-btn svg{width:18px;height:18px}.video-yt-search-btn{color:#0f172a;cursor:pointer;background:#f8fafc;border:none;border-left:1px solid #cbd5e1;flex-shrink:0;justify-content:center;align-items:center;width:64px;padding:0;transition:background .15s;display:inline-flex}.video-yt-search-btn:hover:not(:disabled){background:#f1f5f9}.video-yt-search-btn:disabled{opacity:.6;cursor:wait}.video-yt-search-btn svg{width:20px;height:20px}[data-theme=dark] .video-yt-search-btn{color:#f1f5f9;background:#222;border-left-color:#303030}[data-theme=dark] .video-yt-search-btn:hover:not(:disabled){background:#2c2c2c}.video-filter-pills{flex-wrap:wrap;gap:8px;display:flex}.video-filter-badge{color:#475569;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:999px;align-items:center;gap:4px;padding:4px 10px;font-size:.76rem;font-weight:600;display:inline-flex}.video-filter-badge.premium-tip{color:#b91c1c;background:#fef2f2;border-color:#fecaca}[data-theme=dark] .video-filter-badge{color:#cbd5e1;background:#1e293bd9;border-color:#334155}[data-theme=dark] .video-filter-badge.premium-tip{color:#fca5a5;background:#ef444424;border-color:#f8717159}.video-category-slider{align-items:center;gap:8px;width:100%;display:flex}.video-cat-scroll-btn{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:30px;height:30px;font-size:1.05rem;font-weight:700;line-height:1;transition:background .15s,border-color .15s;display:inline-flex}.video-cat-scroll-btn:hover{background:#f1f5f9;border-color:#94a3b8}[data-theme=dark] .video-cat-scroll-btn{color:#e2e8f0;background:#1e293b;border-color:#334155}[data-theme=dark] .video-cat-scroll-btn:hover{background:#334155}.video-category-chips{scrollbar-width:none;scroll-behavior:smooth;flex-wrap:nowrap;flex:auto;align-items:center;gap:8px;min-width:0;padding:2px 0;display:flex;overflow-x:auto}.video-category-chips::-webkit-scrollbar{display:none}.video-cat-chip{white-space:nowrap;color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:999px;flex:none;align-items:center;gap:6px;padding:7px 14px;font-size:.85rem;font-weight:600;transition:all .15s;display:inline-flex}.video-cat-chip:hover{color:#4338ca;border-color:#818cf8}.video-cat-chip.active{color:#fff;background:#4f46e5;border-color:#4f46e5}[data-theme=dark] .video-cat-chip{color:#e2e8f0;background:#1e293b;border-color:#334155}[data-theme=dark] .video-cat-chip.active{color:#fff;background:#6366f1;border-color:#6366f1}.video-section-block{flex-direction:column;gap:12px;display:flex}.video-section-head h2{margin:0;font-size:1.08rem}.video-history-strip{scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;flex-wrap:nowrap;gap:10px;padding-bottom:6px;display:flex;overflow-x:auto}.video-history-strip>.video-card{scroll-snap-align:start;border-radius:10px;flex:0 0 185px;width:185px;min-width:185px}.video-history-strip>.video-card .video-card-body{gap:3px;padding:7px 9px}.video-history-strip>.video-card .video-card-body strong{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:.78rem;line-height:1.3;display:-webkit-box;overflow:hidden}.video-history-strip>.video-card .video-card-body small{font-size:.7rem}.video-history-strip>.video-card .video-duration-pill{padding:1px 5px;font-size:.66rem;bottom:5px;right:5px}.video-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px;display:grid}.video-card{text-align:left;color:inherit;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:14px;flex-direction:column;padding:0;transition:transform .16s,box-shadow .16s,border-color .16s;display:flex;overflow:hidden}.video-card:hover{border-color:#818cf8;transform:translateY(-2px);box-shadow:0 10px 24px #0f172a14}[data-theme=dark] .video-card{background:#0f172a;border-color:#1e293b}[data-theme=dark] .video-card:hover{border-color:#6366f1;box-shadow:0 10px 24px #00000059}.video-thumb-wrap{aspect-ratio:16/9;background:#0f172a;width:100%;position:relative;overflow:hidden}.video-thumb-wrap img{object-fit:cover;width:100%;height:100%;display:block}.video-cc-pill{color:#e0e7ff;letter-spacing:.03em;background:#0f172ad6;border-radius:6px;padding:2px 7px;font-size:.7rem;font-weight:800;position:absolute;top:8px;left:8px}.video-duration-pill{font-variant-numeric:tabular-nums;color:#fff;background:#0f172adb;border-radius:6px;padding:2px 7px;font-size:.74rem;font-weight:700;position:absolute;bottom:8px;right:8px}.video-resume-bar{background:#ffffff47;height:4px;position:absolute;bottom:0;left:0;right:0}.video-resume-bar>div{background:#ef4444;height:100%}.video-card-body{flex-direction:column;gap:5px;padding:12px 13px;display:flex}.video-card-body strong{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:.92rem;line-height:1.4;display:-webkit-box;overflow:hidden}.video-card-body small{color:#64748b;font-size:.78rem}[data-theme=dark] .video-card-body small{color:#94a3b8}.video-loading-box{color:#64748b;justify-content:center;align-items:center;gap:10px;padding:36px 16px;display:flex}.video-spinner{border:2.4px solid #6366f140;border-top-color:#6366f1;border-radius:50%;flex:none;width:18px;height:18px;animation:.75s linear infinite video-spin}@keyframes video-spin{to{transform:rotate(360deg)}}.video-classroom-layout{grid-template-columns:minmax(0,1.55fr) minmax(320px,1fr);align-items:start;gap:18px;display:grid}@media (width<=1024px){.video-classroom-layout{grid-template-columns:1fr}}.video-cinema-stage{color:#f8fafc;background:#0b1120;border:1px solid #cbd5e1;border-radius:16px;flex-direction:column;display:flex;overflow:hidden;box-shadow:0 12px 30px #0f172a24}[data-theme=dark] .video-cinema-stage{border-color:#334155}:is(.video-cinema-stage:fullscreen,.video-cinema-stage.is-fullscreen){background:#050811;border:0;border-radius:0;flex-direction:column;justify-content:space-between;width:100vw;height:100vh;max-height:100vh;display:flex;overflow-y:auto}.video-cinema-stage:fullscreen .video-viewport{aspect-ratio:auto;flex:auto;min-height:0}.video-viewport{aspect-ratio:16/9;background:#000;width:100%;position:relative;overflow:hidden}.video-yt-host,.video-yt-host iframe{border:0;width:100%;height:100%;display:block}.video-iframe-shield{z-index:3;cursor:pointer;-webkit-user-select:none;user-select:none;background:0 0;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.video-iframe-shield.is-paused{background:#02061747}.video-yt-host{position:absolute;inset:0;overflow:hidden}.video-yt-host iframe{position:absolute;top:-120px;left:0;width:100%!important;height:calc(100% + 240px)!important}.video-hud-badges{pointer-events:none;flex-wrap:wrap;gap:6px;display:flex;position:absolute;top:12px;left:12px}.video-hud-chip{color:#e2e8f0;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#0f172ac7;border-radius:999px;padding:4px 10px;font-size:.75rem;font-weight:700}.video-hud-chip.active{color:#fff;background:#4f46e5e0}.video-error-overlay{z-index:5;text-align:center;background:#0f172aeb;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:20px;display:flex;position:absolute;inset:0}.video-custom-controls{background:linear-gradient(#14171f,#0d0f15);border-top:1px solid #ffffff14;border-bottom:1px solid #ffffff0f;flex-direction:column;gap:10px;padding:12px 16px;display:flex}.video-timeline-row{align-items:center;gap:12px;display:flex}.video-time-label{font-variant-numeric:tabular-nums;letter-spacing:.02em;color:#ffffff9e;min-width:38px;font-size:.75rem;font-weight:500}input[type=range].video-scrubber,[data-theme=dark] input[type=range].video-scrubber{appearance:none;width:100%;height:14px;box-shadow:none;cursor:pointer;background:0 0;border:0;border-radius:0;outline:none;flex:auto;margin:0;padding:0}input[type=range].video-scrubber:focus,input[type=range].video-scrubber:focus-visible,[data-theme=dark] input[type=range].video-scrubber:focus,[data-theme=dark] input[type=range].video-scrubber:focus-visible{box-shadow:none;border:0;outline:none}.video-scrubber::-webkit-slider-runnable-track{background:linear-gradient(to right, #fff var(--scrub-pct,0%), #ffffff3d var(--scrub-pct,0%));border-radius:999px;height:2px;transition:height .12s}.video-scrubber:hover::-webkit-slider-runnable-track{height:3px}.video-scrubber::-webkit-slider-thumb{appearance:none;background:#fff;border:none;border-radius:50%;width:10px;height:10px;margin-top:-4px;transition:transform .12s;box-shadow:0 1px 4px #00000073}.video-scrubber:hover::-webkit-slider-thumb{margin-top:-3.5px;transform:scale(1.18)}.video-scrubber::-moz-range-track{background:#ffffff3d;border-radius:999px;height:2px}.video-scrubber::-moz-range-progress{background:#fff;border-radius:999px;height:2px}.video-scrubber::-moz-range-thumb{background:#fff;border:none;border-radius:50%;width:10px;height:10px}.video-autopause-notice{color:#fde68a;text-align:center;background:#f59e0b2e;border:1px solid #f59e0b61;border-radius:8px;margin-top:6px;padding:4px 10px;font-size:.76rem;font-weight:600}.video-controls-bar{grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;display:grid}.video-controls-group{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.video-controls-group.left{justify-self:start}.video-controls-group.center{justify-self:center;gap:26px}.video-controls-group.right{justify-self:end}.video-ctrl-btn,[data-theme=dark] .video-ctrl-btn{color:#ffffffe6;letter-spacing:-.01em;cursor:pointer;background:#17243b;border:1px solid #334155;border-radius:999px;justify-content:center;align-items:center;gap:5px;height:32px;padding:0 11px;font-size:.78rem;font-weight:500;transition:background 60ms,border-color 60ms,transform 60ms;display:inline-flex}.video-ctrl-btn svg{flex-shrink:0;width:15px;height:15px}.video-ctrl-btn:hover:not(:disabled),[data-theme=dark] .video-ctrl-btn:hover:not(:disabled){color:#fff;background:#17243b;border-color:#64748b}.video-ctrl-btn:focus:not(:focus-visible),.video-ctrl-pill:focus:not(:focus-visible){outline:none}.video-ctrl-btn:active:not(:disabled){transform:scale(.95)}.video-ctrl-btn:disabled{opacity:.34;cursor:not-allowed}.video-ctrl-btn.primary-play,[data-theme=dark] .video-ctrl-btn.primary-play{color:#0f172a;background:#fffffff2;border-color:#0000;border-radius:50%;width:38px;height:38px;padding:0;box-shadow:0 2px 10px #0000004d}.video-ctrl-btn.primary-play svg{width:16px;height:16px}.video-ctrl-btn.primary-play:hover:not(:disabled),[data-theme=dark] .video-ctrl-btn.primary-play:hover:not(:disabled){color:#0f172a;background:#fff;border-color:#0000;transform:scale(1.05)}.video-ctrl-btn.icon-only{width:32px;padding:0}.video-ctrl-btn.is-muted,[data-theme=dark] .video-ctrl-btn.is-muted,.mobile-video-actions .video-ctrl-btn.is-muted,[data-theme=dark] .mobile-video-actions .video-ctrl-btn.is-muted{border-width:1.5px;border-color:#ef4444;box-shadow:0 0 0 1px #ef444459}.video-ctrl-btn.is-muted:hover:not(:disabled),[data-theme=dark] .video-ctrl-btn.is-muted:hover:not(:disabled),.mobile-video-actions .video-ctrl-btn.is-muted:hover:not(:disabled),[data-theme=dark] .mobile-video-actions .video-ctrl-btn.is-muted:hover:not(:disabled){border-color:#dc2626;box-shadow:0 0 0 1.5px #dc262673}.video-ctrl-pill,[data-theme=dark] .video-ctrl-pill{color:#ffffffe0;letter-spacing:-.01em;cursor:pointer;background:#17243b;border:1px solid #334155;border-radius:999px;align-items:center;gap:5px;height:32px;padding:0 12px;font-size:.78rem;font-weight:500;transition:background 60ms,border-color 60ms,color 60ms,transform 60ms;display:inline-flex}.video-ctrl-pill svg{flex-shrink:0;width:14px;height:14px}.video-ctrl-pill:hover,[data-theme=dark] .video-ctrl-pill:hover{color:#fff;background:#17243b;border-color:#64748b}.video-ctrl-pill:active{transform:scale(.95)}.video-ctrl-btn.active,.video-ctrl-pill.active,[data-theme=dark] .video-ctrl-btn.active,[data-theme=dark] .video-ctrl-pill.active{color:#fff;background:#3b82f6;border-color:#60a5fa;font-weight:600;box-shadow:0 0 0 1px #60a5fa66,0 2px 10px #3b82f66b}.video-ctrl-btn.active:hover,.video-ctrl-pill.active:hover,[data-theme=dark] .video-ctrl-btn.active:hover,[data-theme=dark] .video-ctrl-pill.active:hover{color:#fff;background:#2563eb;border-color:#93c5fd}.video-ctrl-select,[data-theme=dark] .video-ctrl-select{color:#ffffffeb;cursor:pointer;background:#17243b;border:1px solid #334155;border-radius:999px;height:32px;padding:0 10px;font-size:.78rem;font-weight:500;transition:background 60ms,border-color 60ms}.video-ctrl-select:hover,[data-theme=dark] .video-ctrl-select:hover{background:#1e3152;border-color:#475569}.video-ctrl-select:focus,.video-ctrl-select:focus-visible,[data-theme=dark] .video-ctrl-select:focus,[data-theme=dark] .video-ctrl-select:focus-visible{background:#17243b;border-color:#60a5fa;outline:none}.video-ctrl-select option{color:#f8fafc;background:#14171f}.mobile-video-actions{flex:none;align-items:center;margin-left:auto;display:inline-flex}.swipe-hint-pill{color:#4338ca;background:#4f46e51f;border:1px solid #6366f152;border-radius:999px;align-items:center;gap:8px;width:fit-content;margin:0 auto 10px;padding:5px 13px;font-size:.78rem;font-weight:600;animation:2.8s forwards swipe-hint-pop;display:inline-flex}[data-theme=dark] .swipe-hint-pill{color:#c7d2fe;background:#6366f133;border-color:#818cf86b}.swipe-hint-arrow{font-size:.95rem;line-height:1;animation:1.1s ease-in-out infinite alternate swipe-arrow-nudge}@keyframes swipe-hint-pop{0%{opacity:0;transform:translateY(4px)}12%{opacity:1;transform:translateY(0)}82%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-2px)}}@keyframes swipe-arrow-nudge{0%{transform:translate(0)}to{transform:translate(3px)}}.mobile-video-actions .video-ctrl-btn{color:#334155;background:#f1f5f9;border-color:#cbd5e1}[data-theme=dark] .mobile-video-actions .video-ctrl-btn{color:#ffffffe6;background:#17243b;border-color:#334155}@media (width<=960px){.video-desktop-mute-wrap{display:none}}.video-segment-counter{font-variant-numeric:tabular-nums;color:#ffffffb8;white-space:nowrap;padding-left:8px;font-size:.76rem;font-weight:600}@media (width<=820px){.video-controls-bar{flex-wrap:wrap;justify-content:space-between;display:flex}.video-controls-group.center{order:-1;justify-content:center;gap:22px;width:100%;position:relative}.video-segment-counter{position:absolute;left:6px}.video-replay-edge-btn{position:absolute;right:0}.video-controls-group.right{flex:auto;justify-content:flex-end}}@media (width<=640px){.video-ctrl-btn .ctrl-txt{display:none}.video-custom-controls{padding:10px 12px}.video-controls-group.right{justify-content:space-between;width:100%}.video-ctrl-select{flex:1 1 0;min-width:0}}.video-word-book-row{color:#cbd5e1;align-items:center;gap:8px;font-size:.8rem;display:flex}.video-word-book-row select{color:#f8fafc;background:#0f172a;border:1px solid #475569;border-radius:8px;flex:auto;min-width:0;padding:6px 10px;font-size:.82rem}.video-shortcut-bar{color:#cbd5e1;background:#0f172ae6;border:1px solid #6366f14d;border-radius:8px;flex-wrap:wrap;gap:10px 14px;padding:8px 10px;font-size:.75rem;display:flex}.video-shortcut-bar kbd{color:#fff;background:#1e293b;border:1px solid #475569;border-radius:5px;padding:1px 6px;font-family:inherit;font-size:.72rem;display:inline-block}.video-subtitle-stage{background:linear-gradient(#111827 0%,#0f172a 100%);flex-direction:column;justify-content:center;gap:8px;min-height:124px;padding:16px 18px 14px;display:flex;position:relative}.video-sub-placeholder{color:#94a3b8;text-align:center;justify-content:center;align-items:center;gap:10px;padding:14px 8px;font-size:.9rem;display:flex}.video-sub-placeholder.is-error{color:#fca5a5}.video-sub-meta-row{justify-content:space-between;align-items:center;gap:8px;display:flex}.video-sub-counter{font-variant-numeric:tabular-nums;color:#94a3b8;font-size:.75rem;font-weight:700}.video-sub-meta-actions{align-items:center;gap:6px;display:flex}.video-sub-mini-btn{color:#cbd5e1;cursor:pointer;background:#1e293bd9;border:1px solid #94a3b84d;border-radius:999px;padding:3px 9px;font-size:.74rem;font-weight:600}.video-sub-mini-btn:hover{color:#fff;border-color:#818cf8}.video-sub-target-line{color:#f8fafc;text-align:center;font-size:1.22rem;font-weight:700;line-height:1.55;transition:filter .2s}.video-sub-target-line.is-blurred,.video-sub-native-line.is-blurred,.video-script-native.is-blurred{filter:blur(6px);cursor:pointer}.video-sub-target-line.is-blurred:hover,.video-sub-native-line.is-blurred:hover,.video-script-native.is-blurred:hover{filter:blur()}.video-word-token{appearance:none;color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:6px;margin:0;padding:1px 3px;transition:background .12s,color .12s}.video-word-token:hover{color:#e0e7ff;background:#6366f152}.video-word-token.in-wordbook{color:#fcd34d;text-underline-offset:4px;-webkit-text-decoration:underline #fbbf24a6;text-decoration:underline #fbbf24a6}.video-word-token.selected{color:#fff;background:#4f46e5}.video-sub-native-line{color:#cbd5e1;text-align:center;font-size:.98rem;line-height:1.5;transition:filter .2s}.video-sub-click-hint{color:#64748b;text-align:center;margin:2px 0 0;font-size:.74rem}.video-word-popover{background:#1e293b;border:1.5px solid #6366f1;border-radius:14px;flex-direction:column;gap:10px;margin-top:8px;padding:14px 16px;display:flex;box-shadow:0 12px 28px #0000006b}.video-word-popover-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.video-word-title-group{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.video-word-title-group strong{color:#fff;font-size:1.18rem}.video-word-ipa{color:#94a3b8;font-size:.85rem}.video-word-pos{color:#c7d2fe;background:#6366f140;border-radius:999px;padding:2px 8px;font-size:.73rem;font-weight:700}.video-word-tts-btn,.video-word-close{color:#e2e8f0;cursor:pointer;background:#0f172aa6;border:1px solid #94a3b84d;border-radius:8px;padding:4px 8px}.video-word-tts-btn{padding:2px 6px;font-size:.74rem;line-height:1}.video-word-form-toggle{color:#cbd5e1;flex-wrap:wrap;align-items:center;gap:6px;font-size:.78rem;display:flex}.video-word-form-toggle button{color:#cbd5e1;cursor:pointer;background:#0f172a;border:1px solid #475569;border-radius:999px;padding:3px 9px;font-size:.75rem}.video-word-form-toggle button.active{color:#fff;background:#4f46e5;border-color:#6366f1}.video-word-loading{color:#cbd5e1;align-items:center;gap:8px;font-size:.85rem;display:flex}.video-word-insight-body{flex-direction:column;gap:6px;display:flex}.video-word-context-row{color:#f8fafc;align-items:center;gap:8px;font-size:.95rem;display:flex}.badge-context{color:#6ee7b7;background:#10b98133;border-radius:6px;padding:2px 8px;font-size:.72rem;font-weight:700}.video-word-nuance{color:#cbd5e1;margin:0;font-size:.83rem;line-height:1.45}.video-word-save-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.video-word-save-row input[type=text]{color:#fff;background:#0f172a;border:1px solid #475569;border-radius:9px;flex:180px;min-width:0;margin-top:0;padding:6px 10px;font-size:.85rem}.video-word-actions-bar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-top:2px;padding-right:8px;display:flex}.video-word-save-trigger{margin-left:auto}.video-word-save-trigger button.primary.is-saved{background:#059669;border-color:#10b981}.video-word-book-picker{background:#0f172ab8;border:1px solid #94a3b840;border-radius:10px;flex-direction:column;gap:6px;padding:8px 10px;display:flex}.video-word-book-picker-label{color:#cbd5e1;font-size:.75rem;font-weight:600}.video-word-book-picker-list{flex-wrap:wrap;gap:6px;display:flex}.video-word-book-picker-btn,[data-theme=dark] .video-word-book-picker-btn{color:#e2e8f0;cursor:pointer;background:#1e293b;border:1px solid #475569;border-radius:8px;padding:4px 10px;font-size:.76rem;font-weight:600}.video-word-book-picker-btn:hover:not(:disabled),[data-theme=dark] .video-word-book-picker-btn:hover:not(:disabled){color:#fff;background:#312e81;border-color:#818cf8}.video-meta-footer{color:#0f172a;background:#fff;border-top:1px solid #e2e8f0;flex-direction:column;gap:2px;padding:12px 16px;display:flex}[data-theme=dark] .video-meta-footer{color:#f8fafc;background:#0f172a;border-top-color:#1e293b}.video-meta-footer h2{margin:0;font-size:1rem;line-height:1.4}.video-cinema-stage:fullscreen .video-meta-footer{display:none}.video-study-sidebar{background:#fff;border:1px solid #e2e8f0;border-radius:16px;flex-direction:column;max-height:740px;display:flex;overflow:hidden}[data-theme=dark] .video-study-sidebar{background:#0f172a;border-color:#1e293b}.video-study-tabs{background:#f8fafc;border-bottom:1px solid #e2e8f0;grid-template-columns:repeat(4,1fr);display:grid}[data-theme=dark] .video-study-tabs{background:#1e293b;border-bottom-color:#334155}.video-study-tabs button{color:#64748b;cursor:pointer;white-space:nowrap;background:0 0;border:0;border-bottom:2.5px solid #0000;padding:11px 6px;font-size:.82rem;font-weight:700}.video-study-tabs button.active{color:#4f46e5;background:#fff;border-bottom-color:#4f46e5}[data-theme=dark] .video-study-tabs button{color:#94a3b8}[data-theme=dark] .video-study-tabs button.active{color:#a5b4fc;background:#0f172a;border-bottom-color:#818cf8}.video-tab-panel{flex-direction:column;flex:auto;min-height:0;display:flex}.video-panel-empty{text-align:center;margin:0;padding:28px 16px}.video-script-toolbar{border-bottom:1px solid #e2e8f0;gap:8px;padding:10px 12px;display:flex}[data-theme=dark] .video-script-toolbar{border-bottom-color:#1e293b}.video-script-toolbar input{min-width:0;color:inherit;background:#f8fafc;border:1px solid #cbd5e1;border-radius:9px;flex:auto;padding:7px 11px;font-size:.84rem}[data-theme=dark] .video-script-toolbar input{background:#1e293b;border-color:#334155}.video-autoscroll-btn{color:#475569;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:9px;padding:6px 10px;font-size:.75rem;font-weight:700}.video-autoscroll-btn.active{color:#4338ca;background:#eef2ff;border-color:#818cf8}[data-theme=dark] .video-autoscroll-btn{color:#cbd5e1;background:#1e293b;border-color:#334155}[data-theme=dark] .video-autoscroll-btn.active{color:#c7d2fe;background:#6366f138;border-color:#6366f1}.video-script-list{flex-direction:column;gap:6px;max-height:620px;padding:8px;display:flex;overflow-y:auto}.video-script-item{cursor:pointer;border:none;border-radius:11px;padding:10px 12px}.video-script-item:hover{background:#f8fafc}.video-script-item.active{background:#eef2ff}[data-theme=dark] .video-script-item:hover{background:#1e293ba6}[data-theme=dark] .video-script-item.active{background:#4f46e538}.video-script-item-head{justify-content:space-between;align-items:center;margin-bottom:4px;display:flex}.video-script-time{font-variant-numeric:tabular-nums;color:#6366f1;font-size:.74rem;font-weight:700}.video-script-clip-btn{color:#475569;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:999px;padding:2px 8px;font-size:.72rem;font-weight:700}[data-theme=dark] .video-script-clip-btn{color:#cbd5e1;background:#1e293b;border-color:#334155}.video-script-target{font-size:.93rem;font-weight:600;line-height:1.5}.video-script-word{border-radius:4px;padding:0 1px}.video-script-word:hover{color:#4f46e5;background:#6366f12e}[data-theme=dark] .video-script-word:hover{color:#c7d2fe}.video-script-word.in-wordbook{text-underline-offset:3px;-webkit-text-decoration:underline #f59e0b;text-decoration:underline #f59e0b}.video-script-target .is-spoken,.video-script-word.is-spoken,.video-shadow-sentence .is-spoken,.video-dictation-sentence .is-spoken{color:#4f46e5}[data-theme=dark] .video-script-target .is-spoken,[data-theme=dark] .video-script-word.is-spoken,[data-theme=dark] .video-shadow-sentence .is-spoken,[data-theme=dark] .video-dictation-sentence .is-spoken{color:#a5b4fc}.video-script-native{color:#64748b;margin-top:3px;font-size:.83rem;line-height:1.45}[data-theme=dark] .video-script-native{color:#94a3b8}.practice-panel{gap:12px;padding:14px}.video-practice-nav{justify-content:space-between;align-items:center;gap:8px;font-size:.82rem;font-weight:700;display:flex}.video-practice-nav>button{color:inherit;cursor:pointer;background:#f8fafc;border:1px solid #cbd5e1;border-radius:8px;padding:6px 11px;font-size:.8rem;font-weight:600}[data-theme=dark] .video-practice-nav>button{background:#1e293b;border-color:#334155}.video-shadow-card,.video-dictation-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;flex-direction:column;gap:12px;padding:16px;display:flex}[data-theme=dark] .video-shadow-card,[data-theme=dark] .video-dictation-card{background:#1e293b;border-color:#334155}.video-shadow-sentence,.video-dictation-sentence{font-size:1.06rem;font-weight:700;line-height:1.75}.video-shadow-word.is-hit{color:#059669;background:#10b98124;border-radius:5px;padding:1px 3px}.video-shadow-word.is-miss{color:#dc2626;-webkit-text-decoration:underline wavy #ef444499;text-decoration:underline wavy #ef444499}[data-theme=dark] .video-shadow-word.is-hit{color:#34d399}[data-theme=dark] .video-shadow-word.is-miss{color:#f87171}.video-shadow-native{color:#64748b;margin:0;font-size:.88rem}[data-theme=dark] .video-shadow-native{color:#94a3b8}.video-shadow-actions,.video-dictation-top-actions,.video-dictation-footer{flex-wrap:wrap;align-items:center;gap:8px;display:flex}button.video-compact-btn,.video-shadow-actions>button.video-compact-btn,.video-dictation-top-actions>button.video-compact-btn,.video-dictation-footer>button.video-compact-btn{box-sizing:border-box;border-radius:8px;justify-content:center;align-items:center;gap:4px;height:28px;min-height:28px;padding:0 10px;font-size:.76rem;font-weight:600;line-height:1;display:inline-flex}.video-shadow-actions button.is-listening{background:#dc2626;border-color:#ef4444}.video-shadow-result{background:#fff;border:1px solid #e2e8f0;border-radius:10px;flex-direction:column;gap:4px;padding:10px 12px;display:flex}[data-theme=dark] .video-shadow-result{background:#0f172a;border-color:#334155}.video-shadow-score-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px;display:flex}.score-pill{color:#d97706;font-size:.76rem;font-weight:700}.score-pill.great{color:#059669}.video-dictation-mode-switch{background:#e2e8f0;border-radius:8px;padding:2px;display:inline-flex}[data-theme=dark] .video-dictation-mode-switch{background:#0f172a}.video-dictation-mode-switch button{color:inherit;cursor:pointer;background:0 0;border:0;border-radius:6px;padding:4px 9px;font-size:.75rem;font-weight:700}.video-dictation-mode-switch button.active{color:#fff;background:#4f46e5}.video-dictation-slot{color:#4f46e5;cursor:pointer;background:#fff;border:1.5px dashed #6366f1;border-radius:7px;justify-content:center;align-items:center;min-width:44px;margin:2px 3px;padding:2px 7px;font-size:.95rem;font-weight:700;line-height:1.35;display:inline-flex}[data-theme=dark] .video-dictation-slot{color:#a5b4fc;background:#0f172a}.video-dictation-slot.filled{background:#eef2ff;border-style:solid}[data-theme=dark] .video-dictation-slot.filled{background:#4f46e540}input[type=text].video-dictation-input,[data-theme=dark] input[type=text].video-dictation-input{width:auto;min-width:44px;max-width:100%;color:inherit;text-align:center;vertical-align:baseline;background:#fff;border:1.5px solid #94a3b8;border-radius:7px;margin:2px 3px;padding:2px 7px;font-size:.95rem;font-weight:700;line-height:1.35;display:inline-block}[data-theme=dark] input[type=text].video-dictation-input{background:#0f172a;border-color:#475569}.video-dictation-slot.correct,.video-dictation-input.correct{color:#059669;background:#10b98126;border-color:#10b981}.video-dictation-slot.wrong,.video-dictation-input.wrong{color:#dc2626;background:#ef444424;border-color:#ef4444}.video-dictation-bank{flex-wrap:wrap;gap:7px;display:flex}.video-bank-chip{color:#3730a3;cursor:pointer;background:#fff;border:1px solid #c7d2fe;border-radius:999px;padding:6px 12px;font-size:.86rem;font-weight:700}.video-bank-chip:disabled{opacity:.35;cursor:default}[data-theme=dark] .video-bank-chip{color:#c7d2fe;background:#0f172a;border-color:#4f46e5}.video-dictation-feedback{margin:0;font-size:.86rem;font-weight:700}.video-dictation-feedback.ok{color:#059669}.video-dictation-feedback.retry{color:#d97706}.video-vocab-list{flex-direction:column;gap:8px;max-height:620px;padding:12px;display:flex;overflow-y:auto}.video-vocab-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;flex-direction:column;gap:4px;padding:11px 13px;display:flex}[data-theme=dark] .video-vocab-card{background:#1e293b;border-color:#334155}.video-vocab-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.video-vocab-meaning{color:#475569;margin:0;font-size:.86rem}[data-theme=dark] .video-vocab-meaning{color:#cbd5e1}.main-content{padding:20px 24px 48px}.content-card,[data-theme=dark] .content-card{max-width:1160px;box-shadow:none;background:0 0;border:0;border-radius:0;padding:0}.content-card:has(.video-learning-page){max-width:1440px}[data-theme=dark] .content-card:has(.video-learning-page){max-width:1440px}.content-card .page-heading,.content-card .video-page-header{padding-inline:10px}@media (width<=768px){.main-content{padding:12px 12px 36px}.main-content:has(.video-learning-page){padding:8px 6px 24px}.content-card,[data-theme=dark] .content-card{padding:0}.content-card .page-heading,.content-card .video-page-header{padding-inline:8px}}.video-cinema-stage>.video-viewport{order:0}.video-cinema-stage>.video-subtitle-stage{order:1}.video-cinema-stage>.video-custom-controls{border-top:1px solid #94a3b829;border-bottom:0;order:2}.video-cinema-stage>.video-meta-footer{order:3}.video-script-list{overscroll-behavior:contain;scroll-padding-top:8px}@media (width<=1024px){.video-study-sidebar{max-height:none}.video-script-list,.video-vocab-list{max-height:420px}}.toolbar-back-btn{color:#4f46e5;cursor:pointer;background:0 0;border:0;border-radius:10px;place-items:center;width:34px;height:34px;padding:0;display:inline-grid}.toolbar-back-btn svg{width:22px;height:22px}.toolbar-back-btn:hover{background:#6366f11a}[data-theme=dark] .toolbar-back-btn{color:#a5b4fc}.sidebar-back-btn{margin-inline-end:-4px}.about-header-actions{flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px;display:flex}.about-header-actions .about-tutorial-btn{margin-top:0}.about-top-tabs{flex-wrap:wrap;align-items:center;gap:8px;margin-top:14px;display:flex}.about-legal-toolbar{flex-wrap:wrap;gap:12px;margin-bottom:16px;display:flex}.about-legal-select-field{color:#475569;flex-direction:column;gap:4px;min-width:180px;font-size:.85rem;font-weight:600;display:flex}.about-legal-select-field select{color:#0f172a;background:#fff;border:1px solid #cbd5e1;border-radius:10px;padding:8px 12px;font-size:.9rem}.about-legal-card{flex-direction:column;gap:12px;padding:20px;display:flex}.about-legal-head{border-bottom:1px solid #e2e8f0;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px;padding-bottom:10px;display:flex}.about-legal-head h2{margin:0;font-size:1.2rem}.about-legal-block h3{color:#1e293b;margin:10px 0 6px;font-size:1rem}.about-legal-block p{color:#334155;margin:4px 0;line-height:1.65}.about-license-inline-link{color:#4f46e5;align-items:center;gap:6px;margin-top:4px;font-weight:600;text-decoration:underline;display:inline-flex}[data-theme=dark] .about-legal-select-field{color:#cbd5e1}[data-theme=dark] .about-legal-select-field select{color:#f8fafc;background:#17243b;border-color:#334155}[data-theme=dark] .about-legal-head{border-color:#334155}[data-theme=dark] .about-legal-block h3{color:#e2e8f0}[data-theme=dark] .about-legal-block p{color:#cbd5e1}[data-theme=dark] .about-license-inline-link{color:#a5b4fc}.about-licenses-back{margin-bottom:12px}.about-license-list{flex-direction:column;gap:10px;display:flex}.about-license-card{flex-direction:column;gap:6px;display:flex}.about-license-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.about-license-head h3{margin:0;font-size:.98rem}.about-license-head a{color:inherit;text-decoration:none}.about-license-head a:hover{text-decoration:underline}.about-license-badge{background:#eef2ff;border:1px solid #c7d2fe;border-radius:999px;align-items:center;padding:3px 9px;font-size:.74rem;font-weight:700;display:inline-flex;color:#4338ca!important}[data-theme=dark] .about-license-badge{background:#6366f133;border-color:#4f46e5;color:#c7d2fe!important}.video-word-source-bar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding-top:2px;display:flex}.video-word-attribution{color:#94a3b8;font-size:.74rem}.video-word-attribution a{color:#a5b4fc;text-underline-offset:2px;text-decoration:underline}button.ai-action-button.video-ai-translate-btn,[data-theme=dark] button.ai-action-button.video-ai-translate-btn{--ai-button-surface:#14171f;--ai-star-cyan:#9af9f4;--ai-star-violet:#c5cbff;--ai-star-pink:#f5aaf1;color:#e0e7ff;border-radius:999px;gap:5px;min-height:28px;padding:3px 10px;font-size:.75rem}button.ai-action-button.video-ai-insight-btn{border-radius:999px;gap:6px;min-height:30px;padding:4px 11px;font-size:.78rem}button.ai-action-button.video-ai-translate-btn .ai-action-sparkles,button.ai-action-button.video-ai-insight-btn .ai-action-sparkles{width:16px;height:16px}button.ai-action-button.video-ai-translate-btn.is-ai-active,[data-theme=dark] button.ai-action-button.video-ai-translate-btn.is-ai-active{--ai-button-surface:#1e294b;color:#e0e7ff}.video-sub-mini-btn.is-ai-active{color:#e0e7ff;background:#4f46e547;border-color:#818cf8}.video-sub-mini-btn:disabled{opacity:.55;cursor:not-allowed}.video-ai-tr-error{text-align:center;margin:4px 0 0;font-size:.78rem}.admin-ai-limit-list{flex-direction:column;gap:10px;margin-top:12px;display:flex}.admin-ai-limit-row{background:#fff;border:1px solid #e2e8f0;border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}[data-theme=dark] .admin-ai-limit-row{background:#0f172a;border-color:#1e293b}.admin-ai-limit-info{flex-direction:column;flex:240px;gap:3px;display:flex}.admin-ai-limit-controls{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.admin-ai-toggle{cursor:pointer;align-items:center;gap:5px;font-size:.82rem;font-weight:700;display:inline-flex}.admin-ai-count-label{align-items:center;gap:5px;font-size:.84rem;font-weight:600;display:inline-flex}.admin-ai-count-label input[type=number]{text-align:center;border:1px solid #cbd5e1;border-radius:8px;width:68px;padding:6px 8px;font-weight:700}[data-theme=dark] .admin-ai-count-label input[type=number]{color:#f8fafc;background:#1e293b;border-color:#334155}.app-shell:has(.video-theater-locked){height:100dvh;max-height:100dvh;overflow:hidden}.main-content:has(.video-theater-locked){flex-direction:column;height:100%;min-height:0;padding:10px 14px;display:flex;overflow:hidden}.content-card:has(.video-theater-locked){flex-direction:column;flex:auto;width:100%;max-width:1080px;min-height:0;margin:0 auto;padding:0;display:flex;overflow:hidden}[data-theme=dark] .content-card:has(.video-theater-locked){flex-direction:column;flex:auto;width:100%;max-width:1080px;min-height:0;margin:0 auto;padding:0;display:flex;overflow:hidden}.video-learning-page:has(.video-theater-locked){flex-direction:column;flex:auto;gap:0;min-height:0;display:flex;overflow:hidden}.video-theater-locked{background:#fff;border:1px solid #cbd5e1;border-radius:14px;flex-direction:column;flex:auto;min-height:0;display:flex;overflow:hidden;box-shadow:0 10px 28px #0f172a1a}[data-theme=dark] .video-theater-locked{background:#0f172a;border-color:#1e293b}:is(.video-theater-locked:fullscreen,.video-theater-locked.is-fullscreen){border:0;border-radius:0;width:100vw;height:100dvh;max-height:100dvh}.video-theater-locked>.video-viewport{flex:none;order:0;max-height:44dvh}.video-theater-locked>.video-mode-strip{background:#f8fafc;border-bottom:1px solid #e2e8f0;flex:none;order:1;justify-content:space-between;align-items:center;gap:8px;padding:0 8px 0 0;display:flex}[data-theme=dark] .video-theater-locked>.video-mode-strip{background:#1e293b;border-bottom-color:#334155}.video-mode-strip .video-study-tabs{background:0 0;border-bottom:0;flex:auto}.video-mode-actions{flex:none;align-items:center;gap:6px;display:flex}.video-theater-locked>.video-middle-pane{flex-direction:column;flex:auto;order:2;min-height:0;display:flex;position:relative;overflow:hidden}.video-theater-locked>.video-custom-controls{border-top:1px solid #94a3b833;border-bottom:0;flex:none;order:3}.video-theater-locked .video-tab-panel{flex-direction:column;flex:auto;min-height:0;display:flex;overflow:hidden}.video-theater-locked .video-script-list,.video-theater-locked .practice-panel,.video-theater-locked .video-vocab-list{overscroll-behavior:contain;flex:auto;min-height:0;max-height:none;overflow-y:auto}.video-script-target.is-blurred{filter:blur(6px);cursor:pointer}.video-script-target.is-blurred:hover{filter:blur()}.video-word-drawer{z-index:12;max-height:85%;position:absolute;bottom:8px;left:8px;right:8px;overflow-y:auto}.video-word-drawer .video-word-popover{margin-top:0}@media (width<=768px){.app-shell:has(.video-theater-locked){flex-direction:column;display:flex}.app-shell:has(.video-theater-locked)>.mobile-toolbar{flex:none}.main-content:has(.video-theater-locked){flex:auto;padding:0}.video-theater-locked{box-shadow:none;border:0;border-radius:0}.video-theater-locked>.video-viewport{max-height:36dvh}.video-theater-locked>.video-custom-controls{gap:5px;padding:6px 8px}}.book-generation-guide{margin:4px 0 10px;font-size:.88rem;line-height:1.5}.book-level-picker{flex-wrap:wrap;gap:8px;margin-bottom:12px;display:flex}.book-level-chip{color:#334155;cursor:pointer;background:#fff;border:1.5px solid #cbd5e1;border-radius:999px;align-items:center;gap:6px;padding:7px 14px;font-size:.86rem;font-weight:700;transition:all .15s;display:inline-flex}.book-level-chip:hover:not(:disabled){color:#4338ca;border-color:#818cf8}.book-level-chip.active{color:#fff;background:#4f46e5;border-color:#4f46e5}[data-theme=dark] .book-level-chip{color:#e2e8f0;background:#0f172a;border-color:#334155}[data-theme=dark] .book-level-chip.active{color:#fff;background:#6366f1;border-color:#6366f1}.landing-shell{color:#f8fafc;background:#070b14;min-height:100dvh;font-family:inherit;overflow-x:hidden}.landing-nav{z-index:40;-webkit-backdrop-filter:blur(16px);background:#070b14c7;border-bottom:1px solid #ffffff14;position:sticky;top:0}.landing-nav-inner{justify-content:space-between;align-items:center;gap:16px;max-width:1160px;margin:0 auto;padding:12px 24px;display:flex}.landing-brand{color:#fff;align-items:center;gap:10px;font-size:1.1rem;text-decoration:none;display:inline-flex}.landing-brand img{object-fit:cover;border-radius:8px;width:30px;height:30px}.landing-nav-links{align-items:center;gap:22px;display:flex}.landing-nav-links button{color:#f8fafcb8;cursor:pointer;background:0 0;border:0;padding:4px 0;font-size:.9rem;font-weight:500;transition:color .15s}.landing-nav-links button:hover{color:#fff}.landing-nav-actions{align-items:center;gap:10px;display:flex}.landing-lang-pill{color:#e2e8f0;cursor:pointer;background:#ffffff0f;border:1px solid #ffffff29;border-radius:999px;padding:6px 12px;font-size:.8rem;font-weight:600}.landing-cta-sm{color:#fff;cursor:pointer;background:#6366f1;border:0;border-radius:999px;padding:8px 16px;font-size:.86rem;font-weight:600;transition:transform .15s,background .15s}.landing-cta-sm:hover{background:#4f46e5;transform:translateY(-1px)}.landing-progress-dots{z-index:30;flex-direction:column;gap:10px;display:flex;position:fixed;top:50%;right:20px;transform:translateY(-50%)}.landing-dot{background:#ffffff38;border-radius:999px;width:6px;height:6px;transition:transform .3s,background .3s,height .3s}.landing-dot.active{background:#818cf8;height:20px}.landing-hero{text-align:center;max-width:1160px;margin:0 auto;padding:84px 24px 64px;position:relative}.landing-hero-glow{pointer-events:none;background:radial-gradient(#6366f142,#0000 68%);height:360px;position:absolute;inset:-40px 10% auto}.landing-hero-copy{max-width:780px;margin:0 auto;position:relative}.landing-eyebrow{color:#c7d2fe;letter-spacing:.06em;background:#6366f11f;border:1px solid #818cf859;border-radius:999px;padding:6px 14px;font-size:.76rem;font-weight:700;display:inline-block}.landing-hero h1{letter-spacing:-.03em;color:#fff;margin:22px 0 18px;font-size:clamp(2.2rem,5.4vw,4.1rem);line-height:1.12}.landing-hero h1 span{background:linear-gradient(120deg,#a5b4fc,#38bdf8);color:#0000;-webkit-background-clip:text;background-clip:text}.landing-hero-sub{color:#e2e8f0c7;max-width:620px;margin:0 auto 30px;font-size:1.08rem;line-height:1.65}.landing-hero-cta-row{flex-wrap:wrap;justify-content:center;gap:12px;display:flex}.landing-cta-primary{color:#fff;cursor:pointer;background:linear-gradient(135deg,#6366f1,#4f46e5);border:0;border-radius:999px;padding:13px 26px;font-size:.98rem;font-weight:600;transition:transform .2s,box-shadow .2s;box-shadow:0 12px 30px #4f46e559}.landing-cta-primary:hover{transform:translateY(-2px);box-shadow:0 16px 36px #6366f17a}.landing-cta-ghost{color:#f8fafc;cursor:pointer;background:#ffffff0d;border:1px solid #ffffff2e;border-radius:999px;padding:13px 24px;font-size:.98rem;font-weight:600}.landing-hero-stage{background:linear-gradient(#1e293bb3,#0f172ae6);border:1px solid #ffffff1f;border-radius:22px;max-width:980px;margin:52px auto 0;padding:18px;box-shadow:0 30px 90px #0000008c}.landing-media-asset{object-fit:cover;border-radius:14px;width:100%;display:block}.landing-mock-stage{text-align:left;background:#0b1220;border:1px solid #ffffff14;border-radius:14px;padding:20px}.landing-mock-bar{gap:7px;margin-bottom:18px;display:flex}.landing-mock-bar span{background:#ffffff2e;border-radius:50%;width:10px;height:10px}.landing-mock-grid{grid-template-columns:1.4fr 1fr 1fr;gap:14px;display:grid}.landing-mock-card{background:#ffffff08;border:1px solid #ffffff17;border-radius:14px;flex-direction:column;gap:10px;padding:18px;display:flex}.landing-mock-card.accent{background:linear-gradient(145deg,#4f46e538,#0f172ae6);border-color:#818cf859}.landing-mock-card small{letter-spacing:.08em;color:#a5b4fc;font-size:.72rem;font-weight:700}.landing-mock-progress{background:#ffffff1f;border-radius:999px;height:5px;overflow:hidden}.landing-mock-progress span{background:linear-gradient(90deg,#818cf8,#38bdf8);height:100%;display:block}.landing-section{border-top:1px solid #ffffff12;max-width:1160px;margin:0 auto;padding:88px 24px}[data-reveal]{opacity:0;transition:opacity .75s cubic-bezier(.22,1,.36,1),transform .85s cubic-bezier(.22,1,.36,1);transform:translateY(34px)scale(.985)}[data-reveal].is-revealed{opacity:1;transform:translate(0,0)scale(1)}.landing-section-grid{grid-template-columns:1fr 1.05fr;align-items:center;gap:48px;display:grid}.landing-section-grid.reverse .landing-section-copy{order:2}.landing-step-tag{letter-spacing:.08em;color:#818cf8;margin-bottom:12px;font-size:.76rem;font-weight:700;display:inline-block}.landing-section-copy h2{letter-spacing:-.02em;color:#fff;margin:0 0 16px;font-size:clamp(1.6rem,3vw,2.35rem);line-height:1.22}.landing-section-copy p{color:#e2e8f0c2;margin:0 0 18px;font-size:1.02rem;line-height:1.7}.landing-bullet-list{color:#cbd5e1;margin:0;padding-left:18px;line-height:1.8}.landing-visual-frame{background:#0f172abf;border:1px solid #ffffff1a;border-radius:20px;justify-content:center;align-items:center;min-height:240px;padding:18px;display:flex}.landing-fallback-visual{text-align:center;width:100%;padding:28px 16px}.landing-pill-row{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.landing-pill-row span{color:#e2e8f0;background:#ffffff0d;border:1px solid #ffffff24;border-radius:999px;padding:8px 14px;font-size:.86rem;font-weight:600}.landing-pill-row span.hi{color:#fff;background:#4f46e5;border-color:#818cf8}.landing-karaoke-demo{color:#fff6;font-size:1.25rem;font-weight:700}.landing-karaoke-demo .spoken{color:#818cf8}.landing-bottom-cta{text-align:center;background:radial-gradient(circle at top,#6366f133,#0f172ae6);border:1px solid #818cf840;border-radius:24px;max-width:820px;margin:20px auto 80px;padding:56px 24px}.landing-bottom-cta h2{color:#fff;margin:0 0 12px;font-size:clamp(1.6rem,3.2vw,2.3rem)}.landing-bottom-cta p{color:#e2e8f0c7;margin:0 0 24px}.landing-footer{color:#e2e8f0a6;border-top:1px solid #ffffff14;padding:26px 24px;font-size:.86rem}.landing-footer-inner{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;max-width:1160px;margin:0 auto;display:flex}.landing-footer-links{flex-wrap:wrap;align-items:center;gap:18px;display:flex}.landing-footer-links a,.landing-footer-links button{color:#e2e8f0bf;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;text-decoration:none}.landing-footer-links a:hover,.landing-footer-links button:hover{color:#fff;text-decoration:underline}.landing-login-backdrop{z-index:60;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#020617b8;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.landing-login-modal{color:#f8fafc;text-align:center;background:#0f172a;border:1px solid #ffffff24;border-radius:20px;width:100%;max-width:400px;padding:28px 24px;position:relative;box-shadow:0 24px 64px #0000008c}.landing-login-modal h2{color:#fff;margin:0 0 8px}.landing-login-close{color:#f8fafcb3;cursor:pointer;background:0 0;border:0;font-size:1.5rem;line-height:1;position:absolute;top:12px;right:14px}.admin-overview-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;display:grid}.admin-lang-chips{flex-wrap:wrap;gap:8px;display:flex}.admin-recent-books{flex-direction:column;gap:8px;display:flex}@media (width<=860px){.landing-nav-links,.landing-progress-dots{display:none}.landing-mock-grid,.landing-section-grid{grid-template-columns:1fr}.landing-section-grid.reverse .landing-section-copy{order:0}}
