@import"https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap";:root{--font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--font-size-xs: 12px;--font-size-sm: 14px;--font-size-md: 16px;--font-size-lg: 20px;--font-size-xl: 24px;--font-size-2xl: 32px;--space-1: 4px;--space-2: 8px;--space-3: 12px;--space-4: 16px;--space-5: 20px;--space-6: 24px;--space-8: 32px;--space-10: 40px;--space-12: 48px;--radius-xs: 6px;--radius-sm: 10px;--radius-md: 16px;--radius-lg: 24px;--radius-xl: 32px;--radius-full: 9999px;--app-header-height: 74px;--color-primary: #7C3AED;--color-primary-hover: #6D28D9;--color-primary-dark: #5B21B6;--color-primary-light: #F5F3FF;--color-primary-border: #DDD6FE;--color-primary-contrast: #FFFFFF;--color-success: #10B981;--color-success-hover: #059669;--color-success-dark: #047857;--color-success-light: #ECFDF5;--color-success-border: #A7F3D0;--color-success-text: #064E3B;--color-error: #F43F5E;--color-error-hover: #E11D48;--color-error-dark: #BE123C;--color-error-light: #FFF1F2;--color-error-border: #FECDD3;--color-error-text: #881337;--color-danger: var(--color-error);--color-danger-light: var(--color-error-light);--color-xp: #F59E0B;--color-xp-hover: #D97706;--color-xp-dark: #B45309;--color-xp-light: #FEF3C7;--color-xp-border: #FDE68A;--color-xp-text: #78350F;--color-accent: var(--color-xp);--color-accent-light: var(--color-xp-light);--color-streak: #F97316;--color-streak-hover: #EA580C;--color-streak-dark: #C2410C;--color-streak-light: #FFEDD5;--color-streak-border: #FED7AA;--color-streak-text: #7C2D12;--color-info: #0284C7;--color-info-hover: #0369A1;--color-info-dark: #075985;--color-info-light: #F0F9FF;--color-info-border: #BAE6FD;--color-info-text: #0C4A6E;--color-secondary: var(--color-info);--color-secondary-light: var(--color-info-light);--color-bg: #F8FAFC;--color-surface: #FFFFFF;--color-surface-soft: #F1F5F9;--color-surface-hover: #F8FAFC;--color-text: #0F172A;--color-text-muted: #64748B;--color-text-inverse: #FFFFFF;--color-border: #E2E8F0;--color-border-subtle: #F1F5F9;--color-border-strong: #CBD5E1;--shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, .06);--shadow-md: 0 4px 14px -2px rgba(15, 23, 42, .08);--shadow-lg: 0 12px 28px -4px rgba(15, 23, 42, .12)}@media(prefers-color-scheme:dark){:root{--color-primary: #8B5CF6;--color-primary-hover: #7C3AED;--color-primary-dark: #6D28D9;--color-primary-light: #2E1065;--color-primary-border: #4C1D95;--color-primary-contrast: #FFFFFF;--color-success: #34D399;--color-success-hover: #10B981;--color-success-dark: #059669;--color-success-light: #064E3B;--color-success-border: #047857;--color-success-text: #ECFDF5;--color-error: #FB7185;--color-error-hover: #F43F5E;--color-error-dark: #E11D48;--color-error-light: #4C0519;--color-error-border: #881337;--color-error-text: #FFF1F2;--color-xp: #FBBF24;--color-xp-hover: #F59E0B;--color-xp-dark: #D97706;--color-xp-light: #451A03;--color-xp-border: #78350F;--color-xp-text: #FEF3C7;--color-streak: #FB923C;--color-streak-hover: #F97316;--color-streak-dark: #EA580C;--color-streak-light: #431407;--color-streak-border: #7C2D12;--color-streak-text: #FFEDD5;--color-info: #38BDF8;--color-info-hover: #0EA5E9;--color-info-dark: #0284C7;--color-info-light: #082F49;--color-info-border: #075985;--color-info-text: #F0F9FF;--color-bg: #0F172A;--color-surface: #1E293B;--color-surface-soft: #334155;--color-surface-hover: #334155;--color-text: #F8FAFC;--color-text-muted: #94A3B8;--color-text-inverse: #0F172A;--color-border: #334155;--color-border-subtle: #1E293B;--color-border-strong: #475569;--shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, .4);--shadow-md: 0 4px 14px -2px rgba(0, 0, 0, .5);--shadow-lg: 0 12px 28px -4px rgba(0, 0, 0, .6)}}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html{height:100%;height:100dvh}body{font-family:var(--font-family);background-color:var(--color-bg);color:var(--color-text);line-height:1.5;-webkit-font-smoothing:antialiased;min-height:100vh;min-height:100dvh}*:focus-visible{outline:3px solid var(--color-primary);outline-offset:2px}.sr-only,.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.app-container{display:flex;flex-direction:column;min-height:100vh}.app-header{background:var(--color-surface);border-bottom:1.5px solid var(--color-border-subtle);position:sticky;top:0;z-index:50;padding:.75rem 1.5rem;display:flex;align-items:center;justify-content:space-between;gap:1rem}.brand-badge{display:flex;align-items:center;gap:.75rem;text-decoration:none;color:var(--color-primary)}.brand-wordmark{font-family:var(--font-family-base);font-weight:800;font-size:var(--font-size-2xl);color:var(--color-primary);letter-spacing:-.03em;display:inline-flex;align-items:center;user-select:none;transition:transform .15s ease,opacity .15s ease}.brand-badge:hover .brand-wordmark{opacity:.9;transform:translateY(-1px)}.brand-badge img{height:38px;width:auto}.header-stats{display:flex;align-items:center;gap:.65rem;flex-shrink:0;white-space:nowrap}.stat-pill{display:inline-flex;align-items:center;gap:.4rem;background:var(--color-bg);border:1px solid var(--color-border-subtle);padding:.35rem .65rem;border-radius:var(--radius-full);font-size:.88rem;font-weight:700;color:var(--color-text);white-space:nowrap;flex-shrink:0}#stat-xp{white-space:nowrap;display:inline-block}.main-layout{display:grid;grid-template-columns:240px minmax(0,1fr);flex:1;max-width:1280px;width:100%;margin:0 auto;padding:1.5rem;gap:1.5rem;min-width:0;box-sizing:border-box}#app-main-content{min-width:0;max-width:100%;width:100%;box-sizing:border-box}.app-sidebar{display:flex;flex-direction:column;gap:.5rem;position:sticky;top:5rem;align-self:start}.mobile-bottom-nav{display:none}@media(max-width:768px){.app-sidebar{display:none!important}.main-layout{grid-template-columns:minmax(0,1fr);padding:1rem 1rem calc(88px + env(safe-area-inset-bottom,24px)) 1rem;min-width:0;max-width:100%;box-sizing:border-box}.mobile-bottom-nav{position:fixed;bottom:0;left:0;right:0;height:calc(62px + env(safe-area-inset-bottom,0px));padding-bottom:env(safe-area-inset-bottom,0px);background:var(--color-surface);border-top:1.5px solid var(--color-border);display:flex;justify-content:space-around;align-items:center;z-index:100;box-shadow:0 -2px 12px var(--shadow-sm)}.mobile-nav-btn{flex:1;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;background:transparent;border:none;color:var(--color-text-muted);cursor:pointer;font-family:var(--font-family);font-size:var(--font-size-xs);font-weight:700;transition:color .15s ease,transform .1s ease;padding:6px 0;text-decoration:none;-webkit-tap-highlight-color:transparent}.mobile-nav-btn .mobile-nav-icon{font-size:1.35rem;line-height:1;transition:transform .15s ease}.mobile-nav-btn:hover{color:var(--color-primary)}.mobile-nav-btn.active{color:var(--color-primary);font-weight:900}.mobile-nav-btn.active .mobile-nav-icon{transform:scale(1.15)}}.nav-link{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;border-radius:var(--radius-md);font-weight:600;color:var(--color-text-muted);text-decoration:none;background:transparent;border:none;width:100%;text-align:left;cursor:pointer;transition:all .15s ease;font-size:.95rem}.nav-link:hover{background:var(--color-primary-light);color:var(--color-primary)}.nav-link.active{background:var(--color-primary);color:var(--color-primary-contrast)}.card{background:var(--color-surface);border-radius:var(--radius-lg);border:1.5px solid var(--color-border-subtle);box-shadow:var(--shadow-sm);padding:1.5rem;margin-bottom:1.5rem;min-width:0;max-width:100%;box-sizing:border-box}.otto-img{object-fit:contain;background:transparent;display:inline-block;vertical-align:middle;max-width:100%;height:auto;transition:transform .25s cubic-bezier(.16,1,.3,1),filter .25s ease}.otto-img.otto-avatar{border-radius:var(--radius-full);background:var(--color-primary-light);border:2px solid var(--color-primary-border);box-shadow:var(--shadow-sm);aspect-ratio:1 / 1}.otto-img.otto-medio,.otto-img.otto-completo{border:none;background:transparent;box-shadow:none}.otto-img:hover{transform:translateY(-2px) scale(1.02)}button,.btn,.chip-btn,.option-chip-btn,.remove-chip-btn,.add-chip-btn,.mobile-nav-btn,.subnav-btn,.match-pair-btn,[role=button]{word-break:normal;hyphens:none;touch-action:manipulation}input,input[type=text],input[type=search],input[type=number],input[type=email],textarea,select,.input-box{font-size:16px!important}.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.65rem 1.25rem;font-family:var(--font-family);font-size:var(--font-size-md);font-weight:800;border-radius:var(--radius-md);border:none;cursor:pointer;transform:translateY(0);transition:transform .08s ease,border-bottom .08s ease,background .15s ease,box-shadow .15s ease;user-select:none;text-decoration:none;min-height:44px;box-sizing:border-box;max-width:100%;overflow-wrap:break-word;white-space:normal;text-align:center;line-height:1.3}.btn-primary{background:#7c3aed;color:#fff;border-bottom:4px solid #5B21B6}.btn-primary:hover{background:var(--color-primary-hover)}.btn-primary:active{transform:translateY(2px);border-bottom-width:2px}@media(prefers-color-scheme:dark){.btn-primary{background:#7c3aed;color:#fff;border-bottom-color:#5b21b6}}[data-theme=dark] .btn-primary,html.dark .btn-primary{background:#7c3aed;color:#fff;border-bottom-color:#5b21b6}.btn-secondary{background:#0369a1;color:#fff;border-bottom:4px solid #075985}.btn-secondary:hover{background:#0284c7}.btn-secondary:active{transform:translateY(2px);border-bottom-width:2px}@media(prefers-color-scheme:dark){.btn-secondary{background:#0369a1;color:#fff;border-bottom-color:#075985}}[data-theme=dark] .btn-secondary,html.dark .btn-secondary{background:#0369a1;color:#fff;border-bottom-color:#075985}.btn-success{background:#15803d;color:#fff;border-bottom:4px solid #14532D}.btn-success:hover{background:var(--color-success-hover)}.btn-success:active{transform:translateY(2px);border-bottom-width:2px}.btn-coral,.btn-danger{background:#e11d48;color:#fff;border-bottom:4px solid #9F1239}.btn-coral:hover,.btn-danger:hover{background:#be123c}.btn-coral:active,.btn-danger:active{transform:translateY(2px);border-bottom-width:2px}@media(prefers-color-scheme:dark){.btn-coral,.btn-danger{background:#fb7185;color:#450a0a;border-bottom-color:#be123c}}[data-theme=dark] .btn-coral,[data-theme=dark] .btn-danger,html.dark .btn-coral,html.dark .btn-danger{background:#fb7185;color:#450a0a;border-bottom-color:#be123c}.btn-outline{background:var(--color-surface);border:1.5px solid var(--color-border);border-bottom:4px solid var(--color-border-strong);color:var(--color-text)}.btn-outline:hover{background:var(--color-surface-soft);border-color:var(--color-primary);color:var(--color-primary)}.btn-outline:active{transform:translateY(2px);border-bottom-width:2px}@media(prefers-color-scheme:dark){.btn-outline{background:#1e293b;border-color:#475569;border-bottom-color:#334155;color:#f8fafc}}[data-theme=dark] .btn-outline,html.dark .btn-outline{background:#1e293b;border-color:#475569;border-bottom-color:#334155;color:#f8fafc}.btn-sm{padding:.35rem .75rem;font-size:var(--font-size-sm);border-bottom-width:3px}.btn-sm:active{transform:translateY(1.5px);border-bottom-width:1.5px}.btn-lg{padding:.85rem 1.75rem;font-size:var(--font-size-lg);border-bottom-width:5px}.btn-lg:active{transform:translateY(3px);border-bottom-width:2px}.progress-container{display:flex;align-items:center;gap:1rem;margin-bottom:1.25rem}.progress-track,.game-progress-track{flex:1;height:12px;background:#e2e8f0;border:1.5px solid #475569;border-radius:var(--radius-full);overflow:hidden}@media(prefers-color-scheme:dark){.progress-track,.game-progress-track{background:#334155;border:1.5px solid #94A3B8}}[data-theme=dark] .progress-track,[data-theme=dark] .game-progress-track,html.dark .progress-track,html.dark .game-progress-track{background:#334155;border:1.5px solid #94A3B8}.progress-fill{height:100%;background:linear-gradient(90deg,var(--color-primary),var(--color-info));border-radius:var(--radius-full);transition:width .3s ease}.stage-badge{display:inline-flex;align-items:center;gap:.35rem;background:var(--color-primary-light);color:var(--color-primary);font-size:.8rem;font-weight:800;padding:.25rem .65rem;border-radius:var(--radius-full);text-transform:uppercase;letter-spacing:.05em;margin-bottom:.75rem}.chips-grid{display:flex;flex-wrap:wrap;gap:.65rem;margin:1.25rem 0}.chip-btn{background:var(--color-surface);border:2px solid var(--color-border);color:var(--color-text);padding:.75rem 1.25rem;font-size:1.1rem;font-weight:700;border-radius:var(--radius-md);cursor:pointer;box-shadow:0 2px 0 var(--color-border);transition:all .1s ease}.chip-btn:hover{border-color:var(--color-primary);transform:translateY(-2px);box-shadow:0 4px 0 var(--color-primary)}.chip-btn.selected,.option-chip-btn.selected{background:#f5f3ff;border-color:#7c3aed;color:#5b21b6}@media(prefers-color-scheme:dark){.chip-btn{background:#1e293b;border-color:#475569;color:#f8fafc;box-shadow:0 2px #334155}.chip-btn.selected,.option-chip-btn.selected{background:#2e1065;border-color:#a78bfa;color:#f5f3ff}}[data-theme=dark] .chip-btn,html.dark .chip-btn{background:#1e293b;border-color:#475569;color:#f8fafc;box-shadow:0 2px #334155}[data-theme=dark] .chip-btn.selected,[data-theme=dark] .option-chip-btn.selected,html.dark .chip-btn.selected,html.dark .option-chip-btn.selected{background:#2e1065;border-color:#a78bfa;color:#f5f3ff}.chip-btn.disabled{opacity:.4;pointer-events:none}.input-box{width:100%;padding:.85rem 1.25rem;font-size:1.2rem;border:2px solid var(--color-border);border-radius:var(--radius-md);margin:1rem 0;outline:none;font-weight:600}.input-box:focus{border-color:var(--color-primary);box-shadow:0 0 0 3px var(--color-primary-light)}.feedback-banner{border-radius:var(--radius-md);padding:1rem 1.25rem;margin:1.25rem 0;display:flex;flex-direction:column;gap:.5rem;box-sizing:border-box;max-width:100%}.feedback-banner:has(.feedback-icon){flex-direction:row;align-items:flex-start;gap:1rem}.feedback-banner.success{background:var(--color-success-light);border:1.5px solid var(--color-success);color:var(--color-success-text)}.feedback-banner.remediation{background:var(--color-error-light);border:1.5px solid var(--color-error);color:var(--color-error-text)}.feedback-banner.hint{background:var(--color-accent-light);border:1.5px solid var(--color-accent);color:var(--color-xp-text)}.audio-ctrl-group{display:flex;align-items:center;gap:.5rem;margin:.75rem 0}.mastery-meter{margin:.75rem 0}.mastery-header{display:flex;justify-content:space-between;font-size:.88rem;font-weight:700;margin-bottom:.3rem}.mastery-track{height:8px;background:var(--color-border-subtle);border-radius:var(--radius-full);overflow:hidden}.mastery-fill{height:100%;border-radius:var(--radius-full);transition:width .3s ease}.subnav-pills{display:flex;gap:.5rem;margin-bottom:1.5rem;overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:.25rem;scrollbar-width:none;min-width:0;max-width:100%;width:100%;box-sizing:border-box}.subnav-pills::-webkit-scrollbar{display:none}.subnav-btn{background:var(--color-surface);border:1.5px solid var(--color-border);border-radius:var(--radius-full);padding:.5rem 1rem;font-weight:700;font-size:.9rem;cursor:pointer;color:var(--color-text-muted);transition:all .2s ease;white-space:nowrap;flex-shrink:0}.subnav-btn:hover{border-color:var(--color-primary);color:var(--color-primary)}.subnav-btn.active{background:var(--color-primary);border-color:var(--color-primary);color:var(--color-primary-contrast);box-shadow:0 2px 4px var(--color-primary-border)}.profile-subnav{display:flex;gap:.5rem;width:100%;margin-bottom:1.25rem;overflow-x:hidden;box-sizing:border-box}.profile-subnav .subnav-btn{flex:1;text-align:center;padding:.55rem .35rem;font-size:clamp(.75rem,3.2vw,.9rem);white-space:nowrap;min-width:0;display:flex;align-items:center;justify-content:center;gap:.25rem}.minigames-catalog-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.75rem;margin-bottom:1.5rem;width:100%;box-sizing:border-box}@media(min-width:768px){.minigames-catalog-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem}}.minigame-card{background:var(--color-surface);border:1.5px solid var(--color-border);border-radius:var(--radius-md);padding:.85rem;display:flex;flex-direction:column;justify-content:space-between;align-items:center;text-align:center;transition:all .2s ease;position:relative;box-sizing:border-box}.minigame-card:hover{border-color:var(--color-primary);transform:translateY(-2px);box-shadow:0 4px 12px var(--shadow-sm)}.minigame-card.active{border-color:var(--color-primary);background:var(--color-surface-soft);box-shadow:0 0 0 2px var(--color-primary-light)}.minigame-card-icon{font-size:1.75rem;margin-bottom:.35rem;line-height:1}.minigame-card-title{font-size:.88rem;font-weight:800;color:var(--color-text);margin-bottom:.25rem;line-height:1.2}.minigame-card-desc{font-size:.75rem;color:var(--color-text-muted);line-height:1.3;margin-bottom:.75rem;flex:1}.minigame-card-action{width:100%}.practice-hub-container{display:flex;flex-direction:column;gap:1.5rem;max-width:900px;margin:0 auto;box-sizing:border-box}.practice-daily-review-card{border:2px solid var(--color-primary);background:var(--color-surface);padding:1.5rem;border-radius:var(--radius-lg);box-shadow:0 4px 16px #0000000f;position:relative;overflow:hidden}.practice-mistakes-card{border:1.5px solid var(--color-border);background:var(--color-surface);padding:1.5rem;border-radius:var(--radius-lg)}.minigame-card-words{font-size:.75rem;color:var(--color-primary);background:var(--color-primary-light);border:1px solid var(--color-primary-border);padding:.35rem .5rem;border-radius:var(--radius-sm);margin-bottom:.75rem;width:100%;box-sizing:border-box;text-align:left;line-height:1.35}[data-theme=dark] .practice-daily-review-card{background:var(--color-surface);border-color:var(--color-primary);box-shadow:0 4px 20px #0006}[data-theme=dark] .practice-mistakes-card{background:var(--color-surface);border-color:var(--color-border)}[data-theme=dark] .minigame-card-words{background:#2563eb26;border-color:#2563eb4d;color:#93c5fd}.ws-layout{display:grid;grid-template-columns:1fr auto;gap:1.5rem;align-items:start}@media(max-width:768px){.ws-layout{grid-template-columns:1fr}}.ws-grid-wrapper{background:var(--color-surface);padding:.5rem;border-radius:var(--radius-lg);border:2px solid var(--color-border);box-shadow:var(--shadow-sm);display:flex;justify-content:center;max-width:100%;overflow-x:hidden;user-select:none;box-sizing:border-box}.ws-grid{display:grid;gap:3px;width:100%;max-width:320px;margin:0 auto}.ws-cell{width:100%;min-width:0;aspect-ratio:1;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:clamp(.75rem,3.5vw,1.1rem);background:var(--color-surface-soft);color:var(--color-text);border:1px solid var(--color-border);border-radius:var(--radius-sm);cursor:pointer;transition:background .15s,transform .1s,border-color .15s,color .15s;box-sizing:border-box;padding:0}@media(max-width:480px){.ws-grid-wrapper{padding:.35rem}.ws-grid{gap:2px;max-width:290px}.ws-cell{font-size:.85rem}}.ws-cell:hover{background:var(--color-primary-light);border-color:var(--color-primary)}.ws-cell.selected{background:var(--color-primary);color:var(--color-primary-contrast);border-color:var(--color-primary);transform:scale(1.05)}.ws-cell.found{background:var(--color-success-light);color:var(--color-success-text);border-color:var(--color-success)}.ws-sidebar{min-width:200px}.ws-word-chip{display:flex;align-items:center;justify-content:space-between;padding:.5rem .85rem;background:var(--color-surface);border:1.5px solid var(--color-border);border-radius:var(--radius-md);margin-bottom:.5rem;font-weight:700;font-size:.95rem;transition:all .2s ease}.ws-word-chip.found{background:var(--color-success-light);border-color:var(--color-success);color:var(--color-success-text);text-decoration:line-through;opacity:.85}.memory-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.85rem;margin:1.5rem 0;min-width:0;max-width:100%;box-sizing:border-box}@media(max-width:600px){.memory-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem}}.memory-card-slot{display:flex;flex-direction:column;align-items:center;gap:.35rem;width:100%;min-width:0;box-sizing:border-box}.memory-card-slot .btn-replay-audio{width:100%;padding:.25rem .5rem;font-size:.78rem;font-weight:700;border-radius:var(--radius-sm);background:var(--color-surface);border:1.5px solid var(--color-primary);color:var(--color-primary);cursor:pointer;transition:background .15s,color .15s}.memory-card-slot .btn-replay-audio:hover,.memory-card-slot .btn-replay-audio:focus-visible{background:var(--color-primary-light);outline:2px solid var(--color-primary);outline-offset:2px}.memory-card{width:100%;max-width:100%;min-width:0;aspect-ratio:1 / 1.1;min-height:85px;background:var(--color-surface);border:2px solid var(--color-border);border-radius:var(--radius-md);box-shadow:0 4px 0 var(--color-border);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:.5rem;cursor:pointer;text-align:center;transition:transform .2s,box-shadow .2s,border-color .2s;user-select:none;box-sizing:border-box}.memory-card:hover:not(.matched){border-color:var(--color-primary);transform:translateY(-2px);box-shadow:0 6px 0 var(--color-primary)}.memory-card.flipped{background:var(--color-surface);border-color:var(--color-primary)}.memory-card.matched{background:var(--color-success-light);border-color:var(--color-success);box-shadow:0 2px 0 var(--color-success);cursor:default;transform:none}.memory-card .card-back{font-size:1.8rem;color:var(--color-primary)}.memory-card .card-term{font-weight:800;font-size:1rem;color:var(--color-text)}.memory-card .card-ipa{font-size:.75rem;color:var(--color-text-muted)}.wordbank-drop-zone{min-height:54px;padding:.75rem 1rem;border:2px dashed var(--color-primary);border-radius:var(--radius-md);display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;background:var(--color-surface-soft);margin-bottom:1rem}.wordbank-drop-zone-empty-text{color:#475569;font-size:.95rem;font-weight:600}.remove-chip-btn{background:#6d28d9!important;color:#fff!important;border:none!important;border-bottom:3px solid #4C1D95!important;font-weight:700;padding:.5rem .9rem;border-radius:var(--radius-md);cursor:pointer;transition:all .15s ease}.remove-chip-btn:hover{background:#5b21b6!important}.add-chip-btn{background:var(--color-surface);color:var(--color-text);border:2px solid var(--color-border);border-bottom:3px solid var(--color-border-strong);font-weight:700}@media(prefers-color-scheme:dark){.wordbank-drop-zone{background:#0f172a;border-color:#a78bfa}.wordbank-drop-zone-empty-text{color:#94a3b8}.remove-chip-btn{background:#7c3aed!important;color:#fff!important;border-bottom:3px solid #5B21B6!important}.remove-chip-btn:hover{background:#6d28d9!important}.add-chip-btn{background:#1e293b;color:#f8fafc;border-color:#475569;border-bottom-color:#334155}}[data-theme=dark] .wordbank-drop-zone,html.dark .wordbank-drop-zone{background:#0f172a;border-color:#a78bfa}[data-theme=dark] .wordbank-drop-zone-empty-text,html.dark .wordbank-drop-zone-empty-text{color:#94a3b8}[data-theme=dark] .remove-chip-btn,html.dark .remove-chip-btn{background:#7c3aed!important;color:#fff!important;border-bottom:3px solid #5B21B6!important}[data-theme=dark] .remove-chip-btn:hover,html.dark .remove-chip-btn:hover{background:#6d28d9!important}[data-theme=dark] .add-chip-btn,html.dark .add-chip-btn{background:#1e293b;color:#f8fafc;border-color:#475569;border-bottom-color:#334155}.sentence-drop-zone{min-height:75px;background:var(--color-surface-soft);border:2.5px dashed var(--color-border);border-radius:var(--radius-lg);padding:1rem;display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;margin:1.25rem 0;transition:border-color .2s}.sentence-drop-zone.active{border-color:var(--color-primary);background:var(--color-surface)}.sentence-token-chip{background:var(--color-surface);border:2px solid var(--color-border);border-radius:var(--radius-md);padding:.5rem .9rem;font-weight:700;font-size:1rem;cursor:pointer;box-shadow:0 3px 0 var(--color-border);transition:all .15s ease;user-select:none}.sentence-token-chip:hover{border-color:var(--color-primary);transform:translateY(-2px);box-shadow:0 5px 0 var(--color-primary)}.sentence-token-chip.placed{background:var(--color-primary-light);border-color:var(--color-primary);color:var(--color-primary-dark)}.sentence-token-chip.disabled{opacity:.35;pointer-events:none}.reader-container{max-width:760px;margin:0 auto}.reader-header{display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid var(--color-border-subtle);padding-bottom:1rem;margin-bottom:1.5rem;flex-wrap:wrap;gap:1rem}.reader-paragraph{padding:1.25rem;margin-bottom:1rem;border-radius:var(--radius-md);border:1.5px solid transparent;background:var(--color-surface);box-shadow:var(--shadow-sm);line-height:1.8;font-size:1.15rem;transition:all .2s ease}.reader-paragraph.active-narration{border-color:var(--color-primary);background:var(--color-primary-light)}.paragraph-translation-details{margin-top:.75rem;border-top:1px dashed var(--color-border-subtle);padding-top:.5rem}.paragraph-translation-details summary{display:inline-flex;align-items:center;gap:.4rem;cursor:pointer;font-size:.82rem;font-weight:700;color:var(--color-text-muted);user-select:none;padding:.25rem .65rem;border-radius:var(--radius-sm);background:var(--color-surface-soft);border:1px solid var(--color-border-subtle);transition:all .15s ease;list-style:none}.paragraph-translation-details summary::-webkit-details-marker{display:none}.paragraph-translation-details summary:hover{color:var(--color-primary);border-color:var(--color-primary);background:var(--color-primary-light)}.paragraph-translation-details summary .label-hide{display:none}.paragraph-translation-details[open] summary{color:var(--color-primary);margin-bottom:.5rem;border-color:var(--color-primary)}.paragraph-translation-details[open] summary .label-show{display:none}.paragraph-translation-details[open] summary .label-hide{display:inline}.paragraph-translation-content{font-size:.92rem;color:var(--color-text-muted);font-style:italic;line-height:1.5;padding:.65rem .85rem;background:var(--color-surface-soft);border-left:3px solid var(--color-primary);border-radius:0 var(--radius-sm) var(--radius-sm) 0;animation:fadeIn .2s ease-in-out}.vocab-highlight-chip{background:var(--color-xp-light);color:var(--color-xp-text);padding:.1rem .35rem;border-radius:var(--radius-sm);font-weight:700;cursor:pointer;border-bottom:1.5px dotted var(--color-xp-dark)}.vocab-highlight-chip:hover{background:var(--color-xp-border)}.audio-wave-bars{display:inline-flex;align-items:center;gap:3px;height:16px}.audio-wave-bars span{width:3px;height:100%;background:var(--color-primary);border-radius:2px;animation:wavePulse .8s infinite ease-in-out alternate}.audio-wave-bars span:nth-child(2){animation-delay:.2s}.audio-wave-bars span:nth-child(3){animation-delay:.4s}@keyframes wavePulse{0%{transform:scaleY(.2)}to{transform:scaleY(1)}}@media(prefers-reduced-motion:reduce){.audio-wave-bars span{animation:none;transform:scaleY(.7)}}html.high-contrast,body.high-contrast{--color-border: #111827;--color-border-subtle: #374151;--color-text: #000000;--color-text-muted: #1F2937;--color-surface: #FFFFFF;--color-surface-soft: #F3F4F6;filter:contrast(1.15)}@media(prefers-color-scheme:dark){html.high-contrast,body.high-contrast{--color-border: #FFFFFF;--color-border-subtle: #D1D5DB;--color-text: #FFFFFF;--color-text-muted: #E5E7EB;--color-surface: #0B0E14;--color-surface-soft: #1F293D;filter:contrast(1.15)}}html.reduced-motion *,body.reduced-motion *{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}.audio-status-row{min-height:1.1rem;margin-top:.25rem;max-width:100%;overflow:hidden}#audio-status-indicator{font-size:.8rem;color:var(--color-text-muted);display:inline-block;max-width:100%;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;box-sizing:border-box}.btn.audio-play-btn,.btn-speak-term,.btn-play-paragraph{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.glossary-backdrop{position:fixed;inset:0;background:#00000073;z-index:999;backdrop-filter:blur(2px);animation:fadeIn .2s ease}.glossary-card{position:fixed;bottom:0;left:0;right:0;width:100%;max-width:100vw;box-sizing:border-box;background:var(--color-surface);border-top:3px solid var(--color-primary);border-left:none;border-right:none;border-bottom:none;border-radius:var(--radius-lg) var(--radius-lg) 0 0;padding:1rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom,16px));box-shadow:0 -8px 30px #00000040;z-index:1000;animation:slideUpBottomSheet .25s cubic-bezier(.16,1,.3,1)}.glossary-sheet-handle{width:40px;height:4px;background:var(--color-border);border-radius:2px;margin:0 auto .85rem}@keyframes slideUpBottomSheet{0%{transform:translateY(15px);opacity:.5}to{transform:translateY(0);opacity:1}}@keyframes fadeIn{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.roadmap-lesson-card{transition:transform .15s ease,box-shadow .15s ease}.roadmap-lesson-card:not(.path-node-row):hover{transform:translateY(-2px);box-shadow:var(--shadow-md)}.roadmap-lesson-card.locked{opacity:.65;background:var(--color-surface-soft);border-color:var(--color-border-subtle)}.capstone-container,.assessment-container{max-width:860px;margin:0 auto}.visitor-id-card,.identity-card,.workspace-card,.family-card,.routine-card,.interview-card{box-shadow:var(--shadow-sm);background:var(--color-surface-soft)!important;border-color:var(--color-border)!important;color:var(--color-text)!important}.decision-choice-btn{text-align:left;padding:.85rem 1.15rem;border:1.5px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);cursor:pointer;transition:all .15s ease}.decision-choice-btn:hover{border-color:var(--color-primary);background:var(--color-primary-light);transform:translateY(-2px)}.dialogue-chat-container{display:flex;flex-direction:column;gap:.65rem;margin:1.25rem 0}.chat-bubble{max-width:90%;word-break:break-word}.assessment-option-label{user-select:none}.assessment-option-label:hover{border-color:var(--color-primary);background:var(--color-primary-light)}.card{margin-bottom:2rem}@media(max-width:380px){.main-layout{padding:.5rem .5rem calc(88px + env(safe-area-inset-bottom,24px)) .5rem;gap:.75rem}.card{padding:.85rem}.app-header{padding:.5rem .75rem}.brand-wordmark{font-size:var(--font-size-xl)}.brand-badge img{height:30px}.stat-pill{padding:.25rem .5rem;font-size:.78rem}.chip-btn{padding:.5rem .85rem;font-size:.95rem}.ws-cell{width:28px;height:28px;font-size:.85rem}}.home-welcome-card{display:flex;align-items:center;gap:1.5rem;background:linear-gradient(135deg,var(--color-surface) 0%,var(--color-primary-light) 100%);width:100%;max-width:100%;box-sizing:border-box;min-width:0;overflow:hidden}.home-welcome-avatar{flex-shrink:0;display:flex;align-items:center;justify-content:center}.home-welcome-content{flex:1;min-width:0;max-width:100%;box-sizing:border-box}.home-welcome-title{font-size:clamp(1.2rem,5vw,1.6rem);font-weight:800;color:var(--color-text);margin-bottom:.25rem;word-break:break-word}.home-welcome-desc{color:var(--color-text-muted);margin:.4rem 0 1rem;font-size:.95rem;line-height:1.45;word-break:break-word}.home-hero-btn{white-space:normal!important;text-align:center;word-break:normal;line-height:1.35;padding:.85rem 1.25rem;max-width:100%}@media(max-width:640px){.home-welcome-card{flex-direction:column;text-align:center;gap:1rem;padding:1.25rem 1rem}.home-welcome-avatar{width:100%;margin:0 auto}.home-hero-btn{width:100%}}.roadmap-lesson-card{border:1.5px solid var(--color-border);border-radius:var(--radius-md);padding:1.25rem;display:flex;justify-content:space-between;align-items:center;background:var(--color-surface);gap:1rem;flex-wrap:wrap;width:100%;max-width:100%;box-sizing:border-box;min-width:0;overflow:hidden}.roadmap-lesson-info{flex:1 1 200px;min-width:0;max-width:100%}.roadmap-lesson-action{text-align:right;min-width:120px;flex-shrink:0}@media(max-width:540px){.roadmap-lesson-card{flex-direction:column;align-items:stretch;padding:1rem .85rem}.roadmap-lesson-action{text-align:left;display:flex;justify-content:space-between;align-items:center;width:100%;margin-top:.5rem}.roadmap-lesson-action .btn{width:auto}}.settings-section{padding:1.25rem;border:1px solid var(--color-border-subtle);border-radius:var(--radius-md);background:var(--color-surface);width:100%;max-width:100%;min-width:0;box-sizing:border-box;overflow:hidden}.voice-selector-row{display:flex;gap:.75rem;flex-wrap:wrap;align-items:center;width:100%;max-width:100%;box-sizing:border-box}.voice-selector-row select{flex:1 1 180px;min-width:0;max-width:100%;box-sizing:border-box}.voice-selector-row button{white-space:normal;max-width:100%;box-sizing:border-box}.settings-backup-buttons{display:flex;gap:.75rem;flex-wrap:wrap;align-items:center;width:100%;max-width:100%;box-sizing:border-box}.settings-backup-buttons .btn{white-space:normal;text-align:center;max-width:100%;box-sizing:border-box}@media(max-width:480px){.settings-section{padding:1rem .75rem}.voice-selector-row select{width:100%;flex:1 1 100%}.voice-selector-row button,.settings-backup-buttons .btn,.settings-backup-buttons label.btn{width:100%;justify-content:center}#btn-reset-progress{width:100%;white-space:normal;text-align:center}}.capstone-dialogue-row{display:flex;gap:1.25rem;align-items:flex-start;margin-bottom:1.5rem;width:100%;max-width:100%;box-sizing:border-box;min-width:0}.capstone-dialogue-bubble{background:var(--color-surface-soft);border-left:4px solid var(--color-secondary);padding:1rem 1.25rem;border-radius:0 var(--radius-md) var(--radius-md) 0;margin-bottom:.75rem;width:100%;max-width:100%;box-sizing:border-box;overflow:hidden}.capstone-dialogue-header{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.5rem;width:100%;max-width:100%;box-sizing:border-box}.capstone-dialogue-header .btn{white-space:normal;max-width:100%;text-align:center;box-sizing:border-box;font-size:.85rem}@media(max-width:600px){.capstone-dialogue-row{flex-direction:column;align-items:center;gap:.75rem;text-align:center}.capstone-dialogue-bubble{padding:.85rem .75rem;border-left:none;border-top:4px solid var(--color-secondary);border-radius:0 0 var(--radius-md) var(--radius-md)}.capstone-dialogue-header{justify-content:center}.capstone-dialogue-header .btn{width:100%;justify-content:center}}.sentence-controls-row{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.75rem;width:100%;max-width:100%;box-sizing:border-box}.sentence-btn-group{display:flex;gap:.5rem;flex-wrap:wrap;align-items:center;max-width:100%}.sentence-controls-row .btn{white-space:normal;max-width:100%;text-align:center;box-sizing:border-box}@media(max-width:480px){.sentence-controls-row{flex-direction:column;align-items:stretch}.sentence-btn-group{width:100%}.sentence-btn-group .btn{flex:1 1 auto;justify-content:center}#btn-verify-sentence{width:100%;justify-content:center}}body.lesson-fullscreen-mode{position:fixed!important;inset:0!important;width:100%!important;height:100%!important;height:100vh!important;height:-webkit-fill-available!important;height:100dvh!important;max-height:100dvh!important;overflow:hidden!important;overscroll-behavior:none!important;padding:0!important;margin:0!important}body.lesson-fullscreen-mode .app-header,body.lesson-fullscreen-mode .app-sidebar,body.lesson-fullscreen-mode .mobile-bottom-nav{display:none!important}body.lesson-fullscreen-mode .app-container{height:100%!important;height:100vh!important;height:-webkit-fill-available!important;height:100dvh!important;max-height:100dvh!important;min-height:0!important;overflow:hidden!important}body.lesson-fullscreen-mode .main-layout{display:block!important;max-width:100%!important;width:100%!important;margin:0!important;padding:0!important;height:100%!important;height:100vh!important;height:-webkit-fill-available!important;height:100dvh!important;max-height:100dvh!important;overflow:hidden!important;overscroll-behavior:none!important}body.lesson-fullscreen-mode #app-main-content{max-width:100%!important;width:100%!important;margin:0!important;padding:0!important;height:100%!important;height:100vh!important;height:-webkit-fill-available!important;height:100dvh!important;max-height:100dvh!important;overflow:hidden!important;overscroll-behavior:none!important}.lesson-player-container{display:flex;flex-direction:column;position:absolute;inset:0;width:100%;height:100%;height:100vh;height:-webkit-fill-available;height:100dvh;max-height:100dvh;overflow:hidden;overscroll-behavior:none;background-color:var(--color-bg);color:var(--color-text);box-sizing:border-box}.fullscreen-game-container{display:flex;flex-direction:column;height:100vh;height:100dvh;max-height:100dvh;overflow:hidden;overscroll-behavior:none;width:100%}.fullscreen-game-container .minigames-catalog-grid,.fullscreen-game-container .card>div:first-child:not(.celebration-card *){display:none!important}.fullscreen-game-container .card{border:none!important;box-shadow:none!important;background:transparent!important;padding:0!important}.fullscreen-game-container .celebration-card{border:1.5px solid var(--color-border)!important;background:var(--color-surface)!important;border-radius:var(--radius-md)!important;box-shadow:var(--shadow-sm)!important;padding:2.5rem 1.5rem!important}.lesson-top-bar{flex:0 0 auto;display:flex;align-items:center;gap:1rem;padding:.75rem 1.25rem;background:var(--color-surface);border-bottom:1.5px solid var(--color-border-subtle);position:relative;z-index:40;max-width:760px;width:100%;margin:0 auto;box-sizing:border-box}.lesson-btn-close{background:transparent;border:none;font-size:1.35rem;font-weight:800;color:var(--color-text-muted);cursor:pointer;padding:.35rem .6rem;border-radius:var(--radius-sm);display:inline-flex;align-items:center;justify-content:center;transition:background .15s ease,color .15s ease;line-height:1}.lesson-btn-close:hover{background:var(--color-surface-soft);color:var(--color-text)}.lesson-progress-container{flex:1;min-width:0}.progress-track.streak-glow{box-shadow:0 0 8px #f59e0b,0 0 16px #f59e0b66;border-color:#f59e0b;animation:streakGlowPulse 1.5s ease-in-out infinite alternate}.progress-track.streak-glow .progress-fill{background:linear-gradient(90deg,#f59e0b,#fbbf24)!important}.lesson-streak-badge{display:inline-flex;align-items:center;gap:.25rem;font-size:.78rem;font-weight:800;color:#d97706;animation:streakBadgeBounce .5s ease}@keyframes streakGlowPulse{0%{box-shadow:0 0 6px #f59e0b66,0 0 12px #f59e0b33}to{box-shadow:0 0 14px #f59e0bcc,0 0 22px #f59e0b66}}@keyframes streakBadgeBounce{0%{transform:scale(.85);opacity:0}60%{transform:scale(1.08);opacity:1}to{transform:scale(1);opacity:1}}@media(prefers-reduced-motion:reduce){.progress-track.streak-glow,.lesson-streak-badge{animation:none!important;transition:none!important}}html.reduced-motion .progress-track.streak-glow,html.reduced-motion .lesson-streak-badge{animation:none!important;transition:none!important}.lesson-final-screen{text-align:center;padding:1.5rem 1rem;max-width:560px;width:100%;margin:0 auto;box-sizing:border-box}.lesson-final-badge{font-size:.85rem;font-weight:800;color:var(--color-primary);display:inline-block;margin-bottom:.5rem}.lesson-final-stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem;margin-top:1.5rem;margin-bottom:2rem;width:100%;box-sizing:border-box}.lesson-final-stat-card{background:var(--color-surface);border:1.5px solid var(--color-border);border-radius:var(--radius-md);padding:.85rem .5rem;text-align:center;box-sizing:border-box}@media(max-width:360px){.lesson-final-stats-grid{grid-template-columns:1fr;gap:.5rem}}.match-pairs-container{max-width:540px;margin:1.25rem auto}.match-pair-btn{transition:all .2s ease;user-select:none}.match-pair-btn.pair-selected{border-color:#7c3aed!important;background:#f5f3ff!important;color:#5b21b6!important;box-shadow:0 0 0 2px #7c3aed}.match-pair-btn.pair-matched{border-color:#10b981!important;background:#ecfdf5!important;color:#064e3b!important;opacity:.85;cursor:default;pointer-events:none}.match-pair-btn.pair-error{border-color:#e11d48!important;background:#fff1f2!important;color:#9f1239!important;animation:shakeError .4s ease}@media(prefers-color-scheme:dark){.match-pair-btn.pair-selected{border-color:#a78bfa!important;background:#2e1065!important;color:#f5f3ff!important;box-shadow:0 0 0 2px #a78bfa}.match-pair-btn.pair-matched{border-color:#34d399!important;background:#064e3b!important;color:#ecfdf5!important}.match-pair-btn.pair-error{border-color:#fb7185!important;background:#4c0519!important;color:#fff1f2!important}}[data-theme=dark] .match-pair-btn.pair-selected,html.dark .match-pair-btn.pair-selected{border-color:#a78bfa!important;background:#2e1065!important;color:#f5f3ff!important;box-shadow:0 0 0 2px #a78bfa}[data-theme=dark] .match-pair-btn.pair-matched,html.dark .match-pair-btn.pair-matched{border-color:#34d399!important;background:#064e3b!important;color:#ecfdf5!important}[data-theme=dark] .match-pair-btn.pair-error,html.dark .match-pair-btn.pair-error{border-color:#fb7185!important;background:#4c0519!important;color:#fff1f2!important}@keyframes shakeError{0%,to{transform:translate(0)}25%{transform:translate(-4px)}75%{transform:translate(4px)}}@media(prefers-reduced-motion:reduce){.match-pair-btn.pair-error{animation:none!important}}html.reduced-motion .match-pair-btn.pair-error{animation:none!important}.lesson-stat-hearts{display:flex;align-items:center;gap:.35rem;font-weight:800;font-size:1.05rem;color:#e53935;flex-shrink:0;user-select:none}.lesson-center-area{flex:1;width:100%;max-width:680px;margin:0 auto;padding:1.5rem 1.25rem 7.5rem;box-sizing:border-box}.lesson-instruction-row{display:flex;align-items:center;gap:.85rem;margin-bottom:1.25rem}.lesson-otto-mini-avatar{width:52px;height:52px;flex-shrink:0;display:flex;align-items:center;justify-content:center}.lesson-otto-mini-avatar img{width:52px;height:52px;object-fit:contain}.lesson-instruction-content{flex:1;min-width:0}.lesson-step-title{font-size:1.2rem;font-weight:800;color:var(--color-text);margin:0;line-height:1.3}.lesson-instruction-text{font-size:.95rem;color:var(--color-text-muted);margin:.25rem 0 0}.lesson-center-area{flex:1 1 auto;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding:1rem 1.25rem 1.5rem;max-width:680px;width:100%;margin:0 auto;box-sizing:border-box}.lesson-footer-bar{flex:0 0 auto;position:relative;width:100%;background:var(--color-surface);border-top:2px solid var(--color-border-subtle);padding:.75rem 1.25rem calc(.75rem + env(safe-area-inset-bottom,0px)) 1.25rem;display:flex;justify-content:center;align-items:center;z-index:50;box-shadow:0 -4px 16px #0000000f;box-sizing:border-box}.lesson-footer-inner{width:100%;max-width:680px;display:flex;justify-content:flex-end}.lesson-footer-inner .btn{width:100%;max-width:480px}.lesson-feedback-sheet{flex:0 0 auto;position:relative;width:100%;z-index:60;padding:1rem 1.25rem calc(1rem + env(safe-area-inset-bottom,0px)) 1.25rem;border-top:3px solid transparent;box-shadow:0 -8px 24px #00000026;animation:slideUpSheet .25s cubic-bezier(.16,1,.3,1);box-sizing:border-box}@keyframes slideUpSheet{0%{transform:translateY(20px);opacity:.9}to{transform:translateY(0);opacity:1}}@media(prefers-reduced-motion:reduce){.lesson-feedback-sheet{animation:none!important}}.lesson-feedback-sheet.sheet-success{background:#dcfce7;border-top-color:#16a34a}.lesson-feedback-sheet.sheet-error{background:#fee2e2;border-top-color:#dc2626}.feedback-sheet-inner{max-width:680px;margin:0 auto;display:flex;flex-direction:column;gap:.75rem}.feedback-sheet-header{display:flex;align-items:center;gap:.6rem}.feedback-sheet-header .sheet-title{font-size:1.25rem;font-weight:800}.feedback-icon{font-size:1.5rem;font-weight:800;line-height:1}.sheet-success .sheet-title{color:#14532d}.sheet-success .feedback-icon{color:#16a34a}.sheet-success .feedback-explanation{font-size:.95rem;color:#166534;margin:0;line-height:1.4;font-weight:600}.sheet-success .btn-continue-step{background:#15803d!important;color:#fff!important;border-bottom:4px solid #14532D!important;font-weight:800}.sheet-error .sheet-title{color:#991b1b}.sheet-error .feedback-icon{color:#dc2626}.sheet-error .feedback-correct-answer{font-size:1rem;color:#7f1d1d;margin:0 0 .25rem;font-weight:700}.sheet-error .feedback-correct-answer strong{color:#000;font-weight:900}.sheet-error .feedback-detail{font-size:.9rem;color:#991b1b;margin:0;line-height:1.4;font-weight:600}.sheet-error .btn-continue-step{background:#e11d48!important;color:#fff!important;border-bottom:4px solid #9F1239!important;font-weight:800}@media(prefers-color-scheme:dark){.lesson-feedback-sheet.sheet-success{background:#052e16;border-top-color:#22c55e}.lesson-feedback-sheet.sheet-error{background:#450a0a;border-top-color:#f43f5e}.sheet-success .sheet-title{color:#86efac}.sheet-success .feedback-icon{color:#4ade80}.sheet-success .feedback-explanation{color:#bbf7d0}.sheet-success .btn-continue-step{background:#22c55e!important;color:#052e16!important;border-bottom:4px solid #15803D!important}.sheet-error .sheet-title{color:#fca5a5}.sheet-error .feedback-icon{color:#fb7185}.sheet-error .feedback-correct-answer{color:#fef2f2}.sheet-error .feedback-correct-answer strong{color:#fff}.sheet-error .feedback-detail{color:#fecdd3}.sheet-error .btn-continue-step{background:#fb7185!important;color:#450a0a!important;border-bottom:4px solid #BE123C!important}}[data-theme=dark] .lesson-feedback-sheet.sheet-success,html.dark .lesson-feedback-sheet.sheet-success{background:#052e16;border-top-color:#22c55e}[data-theme=dark] .lesson-feedback-sheet.sheet-error,html.dark .lesson-feedback-sheet.sheet-error{background:#450a0a;border-top-color:#f43f5e}[data-theme=dark] .sheet-success .sheet-title,html.dark .sheet-success .sheet-title{color:#86efac}[data-theme=dark] .sheet-success .feedback-icon,html.dark .sheet-success .feedback-icon{color:#4ade80}[data-theme=dark] .sheet-success .feedback-explanation,html.dark .sheet-success .feedback-explanation{color:#bbf7d0}[data-theme=dark] .sheet-success .btn-continue-step,html.dark .sheet-success .btn-continue-step{background:#22c55e!important;color:#052e16!important;border-bottom:4px solid #15803D!important}[data-theme=dark] .sheet-error .sheet-title,html.dark .sheet-error .sheet-title{color:#fca5a5}[data-theme=dark] .sheet-error .feedback-icon,html.dark .sheet-error .feedback-icon{color:#fb7185}[data-theme=dark] .sheet-error .feedback-correct-answer,html.dark .sheet-error .feedback-correct-answer{color:#fef2f2}[data-theme=dark] .sheet-error .feedback-correct-answer strong,html.dark .sheet-error .feedback-correct-answer strong{color:#fff}[data-theme=dark] .sheet-error .feedback-detail,html.dark .sheet-error .feedback-detail{color:#fecdd3}[data-theme=dark] .sheet-error .btn-continue-step,html.dark .sheet-error .btn-continue-step{background:#fb7185!important;color:#450a0a!important;border-bottom:4px solid #BE123C!important}.lesson-exit-modal-backdrop{position:fixed;inset:0;background:#00000080;backdrop-filter:blur(2px);display:flex;align-items:center;justify-content:center;z-index:100;padding:1rem}.lesson-exit-modal-card{background:var(--color-surface);border:1.5px solid var(--color-border);border-radius:var(--radius-lg);padding:1.5rem;max-width:400px;width:100%;box-shadow:0 12px 32px #0003}.learning-path-wrapper{max-width:600px;width:100%;margin:0 auto;padding:1rem .5rem 5rem;box-sizing:border-box;overflow-x:clip}.learning-path-header-nav.module-selector-tabs{position:fixed!important;top:0!important;left:0!important;width:1px!important;height:1px!important;opacity:0!important;overflow:hidden!important;pointer-events:auto!important;z-index:-1!important;margin:0!important;padding:0!important;border:none!important;scrollbar-width:none}.learning-path-header-nav::-webkit-scrollbar{display:none}.unit-section{margin-bottom:3.5rem;position:relative;max-width:100%;overflow-x:clip}.unit-banner{border-radius:var(--radius-lg);padding:.85rem 1.25rem;margin-bottom:2rem;box-shadow:0 4px 12px #0000001f;position:sticky;top:var(--app-header-height, 74px);z-index:20;backdrop-filter:blur(8px)}@media(max-width:540px){:root{--app-header-height: 64px}.unit-banner{top:var(--app-header-height, 64px);padding:.75rem 1rem;margin-bottom:1.5rem}}.unit-banner-content{position:relative;z-index:2}.unit-banner-badge{display:inline-block;font-size:.75rem;font-weight:800;text-transform:uppercase;letter-spacing:.05em;padding:.2rem .6rem;border-radius:999px;margin-bottom:.4rem}.unit-banner-title{font-size:1.15rem;font-weight:800;margin:0;line-height:1.25}.unit-banner-desc{font-size:.88rem;opacity:.92;margin:0;line-height:1.4}.path-stream{display:flex;flex-direction:column;align-items:center;position:relative;gap:1.75rem;padding:1rem 0}.path-connector-svg{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:1}.path-node-row{display:flex;align-items:center;justify-content:center;position:relative;z-index:2;width:100%;transition:transform .3s ease;background:transparent!important;border:none!important;box-shadow:none!important;padding:.6rem 0!important}.path-node-row.roadmap-lesson-card{background:transparent!important;border:none!important;box-shadow:none!important;padding:.6rem 0!important;width:100%!important;opacity:1!important;justify-content:center!important}.path-node-row.roadmap-lesson-card:hover{box-shadow:none!important}.path-node-row.roadmap-lesson-card.locked{background:transparent!important;border:none!important;opacity:1!important}.path-node-btn{width:66px;height:66px;border-radius:50%;border:4px solid var(--color-border);background:var(--color-surface);display:flex;align-items:center;justify-content:center;font-size:1.75rem;cursor:pointer;position:relative;outline:none;transition:transform .15s ease,box-shadow .15s ease;user-select:none;-webkit-tap-highlight-color:transparent}.path-node-btn:focus-visible{outline:3px solid var(--color-primary);outline-offset:4px}.path-node-btn:active:not(:disabled){transform:translateY(4px);box-shadow:0 0 0 transparent!important}.path-node-btn.node-special{width:76px;height:76px;font-size:2rem}.path-node-btn.node-completed{color:#fff}.path-node-btn .node-check-badge{position:absolute;bottom:-4px;right:-4px;width:22px;height:22px;background:#10b981;color:#fff;border-radius:50%;font-size:.75rem;font-weight:900;display:flex;align-items:center;justify-content:center;border:2px solid var(--color-surface);box-shadow:0 2px 4px #00000026}.path-node-btn.node-available{color:#fff}@keyframes pathAvailablePulse{0%{box-shadow:0 0 #4f46e580}70%{box-shadow:0 0 0 14px #4f46e500}to{box-shadow:0 0 #4f46e500}}.path-node-btn.node-available.pulse-animation{animation:pathAvailablePulse 2s infinite}.path-node-row.locked{cursor:pointer}.path-node-btn.node-locked{background:#e2e8f0;border-color:#cbd5e1;color:#94a3b8;cursor:pointer;box-shadow:0 4px #94a3b8;pointer-events:none}[data-theme=dark] .path-node-btn.node-locked,html.dark .path-node-btn.node-locked{background:#334155;border-color:#475569;color:#64748b;box-shadow:0 4px #1e293b}.path-node-btn.node-locked .node-lock-badge{position:absolute;bottom:-2px;right:-2px;font-size:.8rem}.otto-start-here-callout{position:absolute;top:50%;transform:translateY(-50%);display:flex;align-items:center;gap:.5rem;z-index:5;pointer-events:none;white-space:nowrap}.otto-start-here-callout.callout-right{left:calc(50% + 44px)}.otto-start-here-callout.callout-left{right:calc(50% + 44px);flex-direction:row-reverse}.otto-start-speech-bubble{background:var(--color-surface);color:var(--color-text);border:2px solid var(--color-border);padding:.35rem .65rem;border-radius:var(--radius-md);font-size:.82rem;font-weight:800;box-shadow:0 4px 12px #0000001a;position:relative}.path-node-card-popover{position:fixed;inset:0;z-index:200;display:flex;align-items:flex-end;justify-content:center;padding:1rem;padding-bottom:calc(84px + env(safe-area-inset-bottom,0px));background:#00000073;backdrop-filter:blur(2px);animation:slideUpModal .2s ease-out;box-sizing:border-box}@media(min-width:769px){.path-node-card-popover{align-items:center;padding-bottom:1rem}}@keyframes slideUpModal{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.path-card-inner{background:var(--color-surface);border:2px solid var(--color-border);border-radius:var(--radius-lg);padding:1.5rem;max-width:440px;width:100%;box-shadow:0 12px 36px #00000040;position:relative}.path-card-close-btn{position:absolute;top:1rem;right:1rem;background:transparent;border:none;font-size:1.25rem;cursor:pointer;color:var(--color-text-muted);width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:50%}.path-card-close-btn:hover{background:var(--color-surface-soft);color:var(--color-text)}.path-card-badge{display:inline-block;font-size:.75rem;font-weight:800;text-transform:uppercase;color:var(--color-primary);margin-bottom:.35rem}.path-card-title{font-size:1.25rem;font-weight:800;margin:0 0 .4rem;color:var(--color-text);padding-right:2rem}.path-card-xp{font-size:.9rem;font-weight:700;color:#d97706;margin-bottom:1rem}.path-card-locked-text{font-size:.95rem;font-weight:700;color:var(--color-text-muted);display:flex;align-items:center;gap:.5rem;padding:.75rem;background:var(--color-surface-soft);border-radius:var(--radius-md);margin-bottom:1rem}@keyframes circleFillCheck{0%{transform:scale(.85)}50%{transform:scale(1.15)}to{transform:scale(1)}}.node-just-completed{animation:circleFillCheck .5s cubic-bezier(.175,.885,.32,1.275)}@keyframes nodeUnlockAnim{0%{opacity:.5;transform:scale(.9)}to{opacity:1;transform:scale(1)}}.node-just-unlocked{animation:nodeUnlockAnim .6s ease-out}@media(prefers-reduced-motion:reduce){.pulse-animation,.node-just-completed,.node-just-unlocked,.path-node-card-popover{animation:none!important;transition:none!important}}.reduced-motion .pulse-animation,.reduced-motion .node-just-completed,.reduced-motion .node-just-unlocked,.reduced-motion .path-node-card-popover{animation:none!important;transition:none!important}@keyframes confetti-fall{0%{transform:translateY(-20px) rotate(0);opacity:1}to{transform:translateY(400px) rotate(720deg);opacity:0}}.confetti-container{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;overflow:hidden;z-index:10}.confetti-piece{position:absolute;top:0;left:var(--l, 50%);width:10px;height:14px;background-color:var(--c, #3b82f6);border-radius:2px;animation:confetti-fall 2.5s cubic-bezier(.25,1,.5,1) forwards;animation-delay:var(--d, 0s)}@keyframes popBadge{0%{transform:scale(.6);opacity:0}50%{transform:scale(1.15);opacity:1}to{transform:scale(1);opacity:1}}.animated-xp-badge{animation:popBadge .35s cubic-bezier(.175,.885,.32,1.275) forwards}@media(prefers-reduced-motion:reduce){.confetti-piece{animation:none!important;display:none!important}.animated-xp-badge{animation:none!important}}.reduced-motion .confetti-piece{animation:none!important;display:none!important}.reduced-motion .animated-xp-badge{animation:none!important}
