@layer overrides{.main-menu .main-menu__search .search-bar{width:100%;max-width:100%;margin:0 auto;box-sizing:border-box}.main-menu .main-menu__search .search-bar .search-bar__input{width:100%;box-sizing:border-box}}@layer overrides{.main-menu>.main-menu__search{width:100%;max-width:280px;margin-left:auto;margin-right:auto;box-sizing:border-box;display:flex;justify-content:center}.main-menu>.main-menu__search>.search-bar{width:100%;max-width:100%;margin:0;box-sizing:border-box;flex-shrink:0}@media(max-width:379px){.main-menu>.main-menu__search{max-width:220px}}@media(min-width:380px)and (max-width:639px){.main-menu>.main-menu__search{max-width:280px}}@media(min-width:640px)and (max-width:879px){.main-menu>.main-menu__search{max-width:360px}}@media(min-width:880px){.main-menu>.main-menu__search{max-width:420px}}.main-menu .main-menu__search .search-bar .search-bar__input{width:100%;box-sizing:border-box}}:root{--text-xs: .75rem;--text-sm: .875rem;--text-base: 1rem;--shadow-subtle: 0 1px 3px rgba(0, 0, 0, .04), 0 4px 12px rgba(0, 0, 0, .02);--shadow-medium: 0 2px 8px rgba(0, 0, 0, .1);--shadow-strong: 0 4px 16px rgba(0, 0, 0, .15);--shadow-interactive: 0 2px 4px rgba(0, 0, 0, .1);--shadow-card-default: 0 1px 3px rgba(0, 0, 0, .04), 0 4px 12px rgba(0, 0, 0, .02);--shadow-card-hover: 0 4px 8px rgba(0, 0, 0, .08), 0 12px 24px rgba(0, 0, 0, .04);--shadow-card-active: 0 2px 4px rgba(0, 0, 0, .06), 0 6px 12px rgba(0, 0, 0, .03);--shadow-flashcard: 0 2px 8px rgba(0, 0, 0, .06), 0 8px 20px rgba(0, 0, 0, .04), 0 16px 32px rgba(0, 0, 0, .02);--shadow-button-default: 0 2px 4px rgba(0, 0, 0, .08);--shadow-button-hover: 0 4px 12px rgba(0, 0, 0, .12);--shadow-button-active: 0 1px 2px rgba(0, 0, 0, .06);--transition-fast: .15s;--transition-normal: .2s;--ease-smooth: cubic-bezier(.4, 0, .2, 1);--transition-interactive: all var(--transition-normal) var(--ease-smooth);--transition-shadow: box-shadow var(--transition-normal) var(--ease-smooth);--transition-transform: transform var(--transition-normal) var(--ease-smooth);--glass-border-dark: rgba(255, 255, 255, .1);--animation-fast: .2s;--animation-normal: .3s;--radius-sm: .25rem;--radius-md: .5rem;--radius-lg: 1rem;--padding-xs: .25rem;--padding-sm: .375rem;--padding-md: .5rem;--padding-lg: .75rem;--padding-xl: 1rem;--font-medium: 500;--font-semibold: 600;--leading-normal: 1.5;--tracking-wide: .025em}@media(max-width:640px){:root{--text-xs: .875rem;--text-sm: 1rem;--text-base: 1.125rem}}@media(min-width:641px)and (max-width:1024px){:root{--text-xs: .8125rem;--text-sm: .9375rem;--text-base: 1.0625rem}}@keyframes pulse-success{0%,to{transform:scale(1);opacity:1}50%{transform:scale(1.05);opacity:.9}}@keyframes ripple{0%{transform:scale(0);opacity:.6}to{transform:scale(2);opacity:0}}@media(prefers-reduced-motion:reduce){:root{--transition-fast: .01ms;--transition-normal: .01ms}*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}html.dark{--shadow-card-default: 0 1px 3px rgba(0, 0, 0, .3), 0 4px 12px rgba(0, 0, 0, .2);--shadow-card-hover: 0 4px 8px rgba(0, 0, 0, .4), 0 12px 24px rgba(0, 0, 0, .3);--shadow-flashcard: 0 2px 8px rgba(0, 0, 0, .4), 0 8px 20px rgba(0, 0, 0, .3), 0 16px 32px rgba(0, 0, 0, .2);--shadow-button-default: 0 2px 4px rgba(0, 0, 0, .4);--shadow-button-hover: 0 4px 12px rgba(0, 0, 0, .5)}.app-router{min-height:calc(100dvh - 64px);height:100%}@media(max-width:639px){.layout-main>.completion-component__container,.layout-main>.quiz-component__container,.layout-main>.flashcard-component__container,.layout-main>.sorting-component,.layout-main>.matching-component,.layout-main>.reading-component__container{margin:0;border-radius:0;border-left:none;border-right:none;border-bottom:none;max-width:100%}.layout-main>.completion-component__container,.layout-main>.quiz-component__container,.layout-main>.flashcard-component__container,.layout-main>.sorting-component,.layout-main>.matching-component,.layout-main>.reading-component__container{display:flex;flex-direction:column}}.app-router__loader:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at center,var(--theme-primary-blue-light, #dbeafe) 0%,transparent 70%);opacity:.05;animation:pulse 2s ease-in-out infinite}@keyframes pulse{0%,to{opacity:.05}50%{opacity:.1}}.app-router__error{max-width:36rem;margin:2rem auto;padding:2rem;text-align:center}.app-router__error-container{background-color:var(--bg-error-subtle, #fef2f2);border:2px solid var(--border-error, #fecaca);border-radius:var(--radius-lg, .5rem);padding:2rem;box-shadow:0 4px 12px #ef44441a}.app-router__error-actions{display:flex;gap:1rem;justify-content:center}.app-router__error-btn{padding:var(--padding-md, 1rem) var(--padding-xl, 2rem);border-radius:var(--radius-md, .375rem);font-weight:500;cursor:pointer;transition:all .2s ease;border:none;min-height:48px;min-width:48px}.app-router__error-btn--primary{background-color:var(--error, #ef4444);color:var(--text-on-colored, #ffffff)}.app-router__error-btn--primary:hover{background-color:var(--error-dark, #b91c1c)}.app-router__error-btn--secondary{background-color:var(--bg-subtle, #f9fafb);color:var(--theme-text-primary, #374151)}.app-router__error-btn--secondary:hover{background-color:var(--bg-soft, #f3f4f6)}.app-router__no-module{max-width:32rem;margin:0 auto;padding:1.5rem;text-align:center}.app-router__no-module-text{color:var(--theme-text-secondary, #6b7280);margin-bottom:1rem}.app-router__no-module-btn{padding:var(--padding-md, 1rem) var(--padding-xl, 2rem);background-color:var(--primary-blue, #3b82f6);color:#fff;border-radius:var(--radius-md, .375rem);border:none;cursor:pointer;transition:background-color .2s ease;min-height:48px;min-width:48px}.app-router__no-module-btn:hover{background-color:var(--primary-blue-dark, #2563eb)}@media(max-width:639px){.app-router__error-actions{display:none}}@media(min-width:640px){.app-router__error>.game-controls{display:none}}@media(max-width:767px){.app-router__error,.app-router__no-module,.app-router__unknown-view{padding:1rem;margin:1rem}.app-router__error-container{padding:1.5rem}.app-router__error-btn,.app-router__no-module-btn{width:100%;min-height:48px}}.app-router__unknown-view{max-width:32rem;margin:0 auto;padding:1.5rem;text-align:center}.app-router__unknown-view-text{color:var(--theme-text-secondary, #6b7280)}.app-router__loader,.app-router__error-container{will-change:transform,opacity;transform:translateZ(0)}.app-router__error-btn,.app-router__no-module-btn{will-change:transform;backface-visibility:hidden}.app-router__error,.app-router__no-module,.app-router__unknown-view{animation:fadeInUp .3s ease-out}@keyframes fadeInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.app-router__error,.app-router__no-module,.app-router__unknown-view{animation:none}}.app-router__error-btn:focus-visible,.app-router__no-module-btn:focus-visible{outline:3px solid var(--theme-primary-blue, #3b82f6);outline-offset:2px}.app-router__loader{background:radial-gradient(circle at center,var(--theme-bg-subtle, #fafafa) 0%,var(--theme-bg-primary, #f9fafb) 100%)}.app-router__error-icon{font-size:3rem;margin-bottom:1.5rem;filter:drop-shadow(0 2px 4px rgba(0,0,0,.1))}.app-router__error-title{font-size:1.25rem;font-weight:600;color:var(--error-dark, #991b1b);margin-bottom:1rem;line-height:1.4}.app-router__error-message{color:var(--error, #ef4444);margin-bottom:2rem;line-height:1.5;max-width:28rem;margin-left:auto;margin-right:auto}.progression-dashboard{background:linear-gradient(180deg,#f0f2f5,#e8eaef);min-height:0;display:flex;flex-direction:column;width:100%;padding:.1875rem;box-sizing:border-box;align-self:stretch}.progression-dashboard__search-results{background:#3b82f61a;border:1px solid rgba(59,130,246,.2);border-radius:.5rem;padding:.3rem .75rem;margin-bottom:.75rem;display:flex;align-items:center;gap:.3rem}.progression-dashboard__search-text{color:#1e40af;font-size:.75rem;font-weight:500;margin:0}.progression-dashboard__clear-filters-btn{display:inline-flex;align-items:center;gap:.25rem;margin-left:auto;padding:.1875rem .5rem;font-size:.75rem;font-weight:500;color:#1e40af;background:transparent;border:1px solid rgba(59,130,246,.4);border-radius:.25rem;cursor:pointer;white-space:nowrap;flex-shrink:0;transition:background .15s,color .15s}.progression-dashboard__clear-filters-btn:hover{background:var(--theme-primary-blue, #3b82f6);color:#fff}.progression-dashboard__clear-filters-btn:focus-visible{outline:2px solid var(--theme-primary-blue, #3b82f6);outline-offset:2px}.progression-dashboard__no-results{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem 1rem;text-align:center}.progression-dashboard__no-results-text{font-size:1.125rem;font-weight:600;color:#374151;margin:0 0 .5rem}.progression-dashboard__no-results-hint{font-size:.875rem;color:#6b7280;margin:0}.progression-dashboard__hero{background:linear-gradient(135deg,#1e40af,#3b82f6,#2563eb);border-radius:.75rem;padding:0;margin-bottom:.1875rem;color:#fff;box-shadow:0 4px 16px #1e40af40,0 1px 3px #00000014,inset 0 1px #ffffff1a}.progression-dashboard__next-module{background:#ffffff1f;border:1px solid rgba(255,255,255,.2);border-radius:.5rem;padding:.125rem .4375rem;display:flex;align-items:center;justify-content:space-between;gap:.5rem;backdrop-filter:blur(12px);box-shadow:inset 0 1px #ffffff26}.progression-dashboard__next-info{flex:1;text-align:left}.progression-dashboard__next-name{font-size:1.125rem;font-weight:700;margin:0 0 .0625rem;padding:0;color:#fff;line-height:1.2;text-shadow:0 1px 2px rgba(0,0,0,.15);overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;line-clamp:1;-webkit-box-orient:vertical}.progression-dashboard__next-desc{color:#fffffff2;margin:0 0 .125rem;line-height:1.3;font-size:.875rem;font-weight:400;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1;line-clamp:1;-webkit-box-orient:vertical}.progression-dashboard__next-meta{display:flex;gap:.5rem;align-items:center}.progression-dashboard__level-badge{padding:.0625rem .375rem;border-radius:.5rem;font-size:.75rem;font-weight:600;color:#fff;text-transform:uppercase;background-color:var(--level-color, var(--theme-accent-primary, #3b82f6))}.progression-dashboard__time{font-size:.875rem;color:#ffffffe6}.progression-dashboard__continue-btn{background:#fffffff2;color:#1e40af;border:2px solid rgba(255,255,255,.6);padding:.375rem .75rem;border-radius:.5rem;font-weight:700;font-size:1rem;display:flex;align-items:center;gap:.375rem;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 12px #00000026;text-shadow:none;letter-spacing:.025em;line-height:1;backdrop-filter:blur(8px);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;white-space:nowrap;flex-shrink:0;margin-top:.125rem}.progression-dashboard__continue-btn:hover{background:#fff;color:#1e40af;transform:translateY(-2px);box-shadow:0 8px 25px #00000040}.progression-dashboard__continue-icon{width:1.25rem;height:1.25rem}.progression-dashboard__units{width:100%;max-width:100%;margin:0 auto;display:flex;flex-direction:column;gap:.1875rem;max-height:70vh;overflow-y:auto;padding-right:.25rem;scrollbar-width:thin;scrollbar-color:rgba(59,130,246,.3) transparent}.progression-dashboard__units::-webkit-scrollbar{width:6px}.progression-dashboard__units::-webkit-scrollbar-track{background:#0000000a;border-radius:3px}.progression-dashboard__units::-webkit-scrollbar-thumb{background:#3b82f666;border-radius:3px;transition:background .2s ease}.progression-dashboard__units::-webkit-scrollbar-thumb:hover{background:#3b82f699}.progression-dashboard__unit{background:linear-gradient(135deg,#fff,#f7f8fa);border-radius:var(--radius-md, .375rem);padding:.125rem;border:1px solid #d0d4db;box-shadow:0 1px 3px #0000000f,0 1px 2px #0000000a,inset 0 1px #fffc;width:100%;min-width:0;box-sizing:border-box;transition:all .2s ease}.progression-dashboard__unit:hover{border-color:#b8bec8;box-shadow:0 4px 8px #00000014,0 2px 4px #0000000a,inset 0 1px #fffc}.progression-dashboard__unit-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.25rem;gap:.25rem;min-width:0;height:34px}.progression-dashboard__unit-header--clickable{cursor:pointer;transition:all .2s ease;border-radius:var(--radius-sm, .25rem);padding:.125rem;margin:-.125rem}.progression-dashboard__unit-header--clickable:hover{background:#3b82f60f}.progression-dashboard__unit-info{display:flex;align-items:center;gap:.375rem;flex:1;min-width:0}.progression-dashboard__unit-expand{display:flex;align-items:center;justify-content:center;width:1rem;height:1rem;border-radius:50%;background:linear-gradient(135deg,#eceef1,#e2e5ea);transition:all .2s ease}.progression-dashboard__expand-icon{width:.75rem;height:.75rem;color:var(--theme-text-secondary);transition:transform .2s ease}.progression-dashboard__unit-next-indicator{background:var(--theme-accent-primary, #3b82f6);color:#fff;padding:.0625rem .375rem;border-radius:.625rem;font-size:var(--text-xs, .75rem);font-weight:600;text-transform:uppercase;letter-spacing:.025em}.progression-dashboard__unit-next-label{line-height:1}.progression-dashboard__unit-header--completed{background:#10b9810d}.progression-dashboard__unit-expand--completed{background:#10b981}.progression-dashboard__expand-icon--completed{color:#fff}.progression-dashboard__unit-title{font-size:var(--text-base, 1rem);font-weight:600;color:var(--theme-text-primary, #374151);white-space:nowrap}.progression-dashboard__unit-progress{display:flex;align-items:center;justify-content:flex-end;gap:.5rem;flex-shrink:0;min-width:8rem}.progression-dashboard__unit-stats{font-size:.75rem;font-weight:600;color:#374151;background:linear-gradient(135deg,#fff,#f5f6f8);border:1px solid #d0d4db;border-radius:.375rem;padding:.25rem .5rem;box-shadow:0 1px 2px #0000000d,inset 0 1px #fffc;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;width:3.25rem;min-width:3.25rem;letter-spacing:.025em;transition:all .2s ease;order:2;margin-left:auto}.progression-dashboard__progress-bar{flex:1;height:.375rem;background:#dde0e6;border-radius:.1875rem;overflow:hidden;order:1;box-shadow:inset 0 1px 2px #00000014}.progression-dashboard__progress-fill{height:100%;background:linear-gradient(90deg,#3b82f6,#6366f1);border-radius:.1875rem;transition:width .3s ease;width:var(--progress-width, 0%)}.progression-dashboard__modules{display:grid;grid-template-columns:repeat(2,1fr);gap:.25rem;animation:slideDown .3s ease-out;overflow:hidden}@keyframes slideDown{0%{opacity:0;max-height:0;transform:translateY(-10px)}to{opacity:1;max-height:1000px;transform:translateY(0)}}.progression-dashboard__module{background:linear-gradient(135deg,#fff,#f5f6f8);border:1px solid #c5cad3;content-visibility:auto;contain-intrinsic-size:auto 70px;border-radius:var(--radius-sm, .25rem);padding:.1875rem;margin:0;display:flex;align-items:center;gap:.1875rem;transition:all .2s ease;position:relative;height:56px;min-height:56px;max-height:56px;overflow:hidden;box-shadow:0 1px 2px #0000000d,inset 0 1px #ffffffb3}.progression-dashboard__module--unlocked{cursor:pointer;background:linear-gradient(135deg,#fff,#f5f6f8);border-color:#c5cad3;opacity:1}.progression-dashboard__module--unlocked:hover{transform:translateY(-2px);box-shadow:0 6px 16px #3b82f61f,0 2px 4px #0000000f,inset 0 1px #fffc;border-color:var(--theme-accent-primary, #3b82f6);background:linear-gradient(135deg,#fafbff,#f0f3fa)}.progression-dashboard__module--locked{cursor:not-allowed;background:linear-gradient(135deg,#f0f1f3,#e8eaed);border:1px solid #d5d8de;filter:grayscale(.3);opacity:.65;pointer-events:none;box-shadow:none}.progression-dashboard__module--locked .progression-dashboard__module-name{color:#6b7280}.progression-dashboard__module--locked .progression-dashboard__module-desc,.progression-dashboard__module--locked .progression-dashboard__module-type,.progression-dashboard__module--locked .progression-dashboard__module-time{color:#9ca3af}.progression-dashboard__module--next{border-color:#3b82f680;background:linear-gradient(135deg,#e8f0fe,#d4e4fc);box-shadow:0 2px 8px #3b82f61f,inset 0 1px #fff9}.progression-dashboard__module-icon{width:.875rem;height:.875rem;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;background:linear-gradient(135deg,#f5f6f8,#eceef1);border:1px solid #d0d4db;transition:all .2s ease}.progression-dashboard__icon{width:.4375rem;height:.4375rem}.progression-dashboard__icon--completed{color:#10b981;background:#10b9811a}.progression-dashboard__icon--locked{color:#9ca3af;background:#9ca3af1a}.progression-dashboard__icon--available{color:var(--theme-accent-primary, #3b82f6);background:#3b82f61a}.progression-dashboard__module-content{flex:1;min-width:0;overflow:hidden;display:flex;flex-direction:column;justify-content:center}.progression-dashboard__module-name{font-size:var(--text-sm, .875rem);font-weight:600;color:var(--theme-text-primary, #374151);margin:0 0 .0625rem;line-height:1.2;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;white-space:normal}.progression-dashboard__module-desc{font-size:var(--text-xs, .75rem);color:var(--theme-text-secondary, #6b7280);margin:0 0 .0625rem;line-height:1.2;overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;line-clamp:1;-webkit-box-orient:vertical;text-overflow:ellipsis}.progression-dashboard__module-meta{display:flex;gap:.25rem;align-items:center;flex-wrap:nowrap;overflow:hidden;margin:0}.progression-dashboard__module-type{font-size:var(--text-xs, .75rem);color:var(--theme-text-tertiary, #9ca3af);text-transform:capitalize}.progression-dashboard__module-type--hero{color:#ffffffe6;font-size:.875rem}.progression-dashboard__module-time{font-size:var(--text-xs, .75rem);color:var(--theme-text-tertiary, #9ca3af)}.progression-dashboard__next-indicator{position:absolute;top:-1px;right:-1px;background:var(--theme-accent-primary, #3b82f6);color:#fff;padding:.125rem .375rem;border-radius:0 var(--radius-sm, .25rem) 0 .375rem;font-size:var(--text-xs, .75rem);font-weight:600;pointer-events:none}.progression-dashboard__module--next .progression-dashboard__module-content{padding-right:2.5rem}.progression-dashboard__next-label{text-transform:uppercase}@media(min-width:1024px){.progression-dashboard__modules{grid-template-columns:repeat(4,1fr)}.progression-dashboard__module{height:76px;min-height:76px;max-height:76px}}@media(min-width:768px)and (max-width:1023px){.progression-dashboard__modules{grid-template-columns:repeat(3,1fr)}.progression-dashboard__module{height:70px;min-height:70px;max-height:70px}}@media(max-height:900px)and (min-width:768px){.progression-dashboard__units{max-height:55vh}.progression-dashboard__unit{padding:.0625rem}}@media(max-width:767px){.progression-dashboard__hero{padding:.125rem}.progression-dashboard__next-module{padding:.1875rem .4375rem;min-height:auto;height:auto}.progression-dashboard__units{flex:1;max-height:none;padding-right:.1875rem}.progression-dashboard__modules{grid-template-columns:repeat(2,1fr);gap:.03125rem}.progression-dashboard__module{height:54px;min-height:54px;max-height:54px}.progression-dashboard__module-name{font-size:.75rem;line-height:1.15}.progression-dashboard__module-desc{display:none}.progression-dashboard__module-type,.progression-dashboard__module-time{font-size:.6875rem}.progression-dashboard__unit{padding:.0625rem}.progression-dashboard__unit-header{gap:.25rem;margin-bottom:.25rem}.progression-dashboard__unit-info{gap:.25rem}.progression-dashboard__unit-expand{width:1.125rem;height:1.125rem}.progression-dashboard__unit-title{font-size:.875rem}.progression-dashboard__module-icon{width:.875rem;height:.875rem}.progression-dashboard__icon{width:.4375rem;height:.4375rem}}html.dark .progression-dashboard{background:var(--theme-bg-primary, #1f2937);color:var(--theme-text-primary, #ffffff)}html.dark .progression-dashboard__unit{background:var(--theme-bg-elevated, #1f2937);border-color:var(--theme-border-soft, #4b5563);box-shadow:0 1px 3px #0003}html.dark .progression-dashboard__unit:hover{border-color:var(--theme-border-medium, #6b7280);box-shadow:0 4px 8px #00000040}html.dark .progression-dashboard__module{background:var(--theme-bg-elevated, #1f2937);border-color:var(--theme-border-soft, #4b5563);box-shadow:0 1px 3px #0000004d}html.dark .progression-dashboard__module-icon{background:var(--theme-bg-soft, #374151);border-color:var(--theme-border-medium, #6b7280)}html.dark .progression-dashboard__unit-expand{background:var(--theme-bg-soft, #374151)}html.dark .progression-dashboard__expand-icon{color:var(--theme-text-secondary, #d1d5db)}html.dark .progression-dashboard__unit-stats{color:var(--theme-text-primary, #ffffff);background:var(--theme-bg-elevated, #374151);border-color:var(--theme-border-soft, #4b5563);box-shadow:var(--shadow-subtle, 0 1px 3px rgba(0, 0, 0, .2))}html.dark .progression-dashboard__module--next{background:linear-gradient(135deg,#1e2a3e,#1a2744);border-color:#60a5fa99;box-shadow:0 2px 8px #60a5fa1a}html.dark .progression-dashboard__module--locked{background:#1a2332;border:1px solid #2d3a4a;box-shadow:none;opacity:.6}html.dark .progression-dashboard__module--unlocked{background-color:#1e293b;border:1px solid #475569;opacity:1;box-shadow:0 1px 3px #0000004d}html.dark .progression-dashboard__module--locked .progression-dashboard__module-name{color:#9ca3af}html.dark .progression-dashboard__module--locked .progression-dashboard__module-desc,html.dark .progression-dashboard__module--locked .progression-dashboard__icon--locked{color:#6b7280}html.dark .progression-dashboard__module--locked .progression-dashboard__level-badge{opacity:.5}@media(max-width:400px){.progression-dashboard{flex:1;min-height:0;overflow:hidden;position:relative;display:flex;flex-direction:column;margin:0;padding:.25rem;touch-action:pan-y;overscroll-behavior:contain}.progression-dashboard__module-desc{display:none}.progression-dashboard__module-time{display:none!important}.progression-dashboard__hero{margin-bottom:.03125rem;min-height:auto;flex-shrink:0}.progression-dashboard__next-module{padding:.1875rem .4375rem;gap:.375rem;min-height:auto;height:auto}.progression-dashboard__next-name{font-size:1rem;margin:0 0 .0625rem;padding:0}.progression-dashboard__next-desc{font-size:.8125rem;margin:0 0 .125rem;padding:0}.progression-dashboard__units{flex:1 1 auto;min-height:0;max-height:none;height:auto;overflow-y:auto;overflow-x:hidden;gap:.05rem;padding:.1rem;margin:.05rem 0;-webkit-overflow-scrolling:touch;transform:translateZ(0);will-change:scroll-position;touch-action:pan-y;overscroll-behavior:contain}.progression-dashboard__unit{padding:.03rem;margin-bottom:.03rem}.progression-dashboard__unit-header{gap:.15rem;margin-bottom:.1rem;height:auto;min-height:26px;max-height:26px;padding:.05rem}.progression-dashboard__unit-title{font-size:.75rem;line-height:1.2}.progression-dashboard__unit-progress{min-width:6rem;gap:.3rem}.progression-dashboard__unit-stats{font-size:.625rem;padding:.15rem .3rem;width:2.5rem;min-width:2.5rem}.progression-dashboard__progress-bar{height:.3rem}.progression-dashboard__modules{grid-template-columns:repeat(2,1fr);gap:.02rem;margin-top:.05rem;margin-bottom:.05rem}.progression-dashboard__module{padding:.15rem .2rem;margin-bottom:.02rem;height:52px;min-height:52px;max-height:52px}.progression-dashboard__module-name{font-size:.6875rem;line-height:1.15}.progression-dashboard__module-type,.progression-dashboard__module-time{font-size:.625rem}.progression-dashboard__units::-webkit-scrollbar{width:4px}.progression-dashboard__units::-webkit-scrollbar-track{background:#00000008;border-radius:2px}}.progression-dashboard--dark-theme .progression-dashboard__unit-title,.progression-dashboard--dark-theme .progression-dashboard__unit-stats,.progression-dashboard--dark-theme .progression-dashboard__module-name,.progression-dashboard--dark-theme .progression-dashboard__next-name,.progression-dashboard--dark-theme .progression-dashboard__unit-next-label,.progression-dashboard--dark-theme .progression-dashboard__next-label{color:var(--theme-text-primary, #ffffff)}.progression-dashboard--dark-theme .progression-dashboard__module-desc,.progression-dashboard--dark-theme .progression-dashboard__next-desc{color:var(--theme-text-primary, #ffffff);opacity:.9}.progression-dashboard--dark-theme .progression-dashboard__module-type,.progression-dashboard--dark-theme .progression-dashboard__module-time,.progression-dashboard--dark-theme .progression-dashboard__time{color:var(--theme-text-primary, #ffffff);opacity:.7}.progression-dashboard--dark-theme .progression-dashboard__search-results{background:#3b82f626;border-color:#3b82f64d}.progression-dashboard--dark-theme .progression-dashboard__search-text,.progression-dashboard--dark-theme .progression-dashboard__clear-filters-btn{color:#60a5fa}.progression-dashboard--dark-theme .progression-dashboard__clear-filters-btn{border-color:#60a5fa66}.progression-dashboard--dark-theme .progression-dashboard__clear-filters-btn:hover{background:var(--theme-primary-blue, #3b82f6);color:#fff}.progression-dashboard--dark-theme .progression-dashboard__no-results-text{color:var(--theme-text-primary, #ffffff)}.progression-dashboard--dark-theme .progression-dashboard__no-results-hint{color:var(--theme-text-secondary, #9ca3af)}.progression-dashboard--dark-theme .progression-dashboard__unit-expand{background:var(--theme-bg-soft, #374151)}.progression-dashboard--dark-theme .progression-dashboard__expand-icon{color:var(--theme-text-secondary, #d1d5db)}.progression-dashboard--dark-theme .progression-dashboard__unit,.progression-dashboard--dark-theme .progression-dashboard__module{background-color:var(--theme-bg-elevated, #1f2937);border-color:var(--theme-border-soft, #4b5563)}.progression-dashboard--dark-theme .progression-dashboard__module:hover{background-color:var(--theme-bg-soft, #374151);border-color:var(--theme-primary-blue, #3b82f6)}.progression-dashboard--dark-theme .progression-dashboard__module--next{background:linear-gradient(135deg,#1e2a3e,#1a2744);border-color:#60a5fa99}.progression-dashboard--dark-theme .progression-dashboard__next-indicator,.progression-dashboard--dark-theme .progression-dashboard__unit-next-indicator{background:#60a5fa40;color:#93c5fd}.progression-dashboard--dark-theme .progression-dashboard__module-icon{background-color:var(--theme-bg-soft, #374151);border-color:var(--theme-border-medium, #6b7280)}.progression-dashboard--dark-theme .progression-dashboard__hero{background:linear-gradient(135deg,#3b82f6,#1d4ed8);color:var(--theme-text-primary, #ffffff)}.progression-dashboard--dark-theme .progression-dashboard__next-module{background:#ffffff1a;border:1px solid rgba(255,255,255,.2);color:var(--theme-text-primary, #ffffff)}.progression-dashboard--dark-theme .progression-dashboard__continue-btn{background-color:var(--theme-primary-blue, #1e40af);color:var(--theme-text-primary, #ffffff);border:2px solid var(--theme-primary-blue, #3b82f6)}.progression-dashboard--dark-theme .progression-dashboard__continue-btn:hover{background-color:var(--theme-primary-blue-hover, #3b82f6);border-color:var(--theme-primary-blue-hover, #60a5fa)}.progression-dashboard--dark-theme .progression-dashboard__module--unlocked{background-color:#1e293b;border:1px solid #475569;box-shadow:0 1px 3px #0000004d}.progression-dashboard--dark-theme .progression-dashboard__module--unlocked:hover{background-color:#263347;border-color:var(--theme-primary-blue, #3b82f6);box-shadow:0 4px 12px #3b82f633}.progression-dashboard--dark-theme .progression-dashboard__module--locked{background-color:#1a2332;border:1px solid #2d3a4a;opacity:.8}.progression-dashboard--dark-theme .progression-dashboard__module--locked .progression-dashboard__module-name{color:#9ca3af}.progression-dashboard--dark-theme .progression-dashboard__module--locked .progression-dashboard__module-desc,.progression-dashboard--dark-theme .progression-dashboard__module--locked .progression-dashboard__module-type,.progression-dashboard--dark-theme .progression-dashboard__module--locked .progression-dashboard__module-time,.progression-dashboard--dark-theme .progression-dashboard__module--locked .progression-dashboard__icon--locked{color:#6b7280}.progression-dashboard--dark-theme .progression-dashboard__module--locked .progression-dashboard__module-icon{background-color:#1f2937;border-color:#374151}.progression-dashboard--dark-theme .progression-dashboard__module--locked .progression-dashboard__level-badge{opacity:.5}.progression-dashboard--dark-theme .progression-dashboard__progress-bar{background:#4b5563;box-shadow:inset 0 1px 2px #0000004d}.progression-dashboard--dark-theme .progression-dashboard__progress-fill{background:linear-gradient(90deg,#60a5fa,#818cf8)}@media(max-width:767px){.progression-dashboard--dark-theme .progression-dashboard__module{padding:.875rem;min-height:44px}.progression-dashboard--dark-theme .progression-dashboard__continue-btn{min-height:48px;min-width:48px;padding:.75rem 1.5rem;font-size:1rem}}.modal__close-btn{width:2.75rem;height:2.75rem;padding:var(--padding-sm, .5rem);color:var(--theme-text-tertiary, #9ca3af);background-color:transparent;border:none;border-radius:50%;cursor:pointer;transition:var(--transition-interactive);display:flex;align-items:center;justify-content:center;flex-shrink:0;position:relative;z-index:1}.modal__close-btn:hover{color:var(--theme-text-primary, #374151);background-color:var(--theme-bg-subtle, #f9fafb);transform:translateY(-1px)}.modal__close-btn:active{transform:translateY(0) scale(.98)}.modal__close-btn:focus-visible{outline:2px solid var(--theme-primary-blue, #3b82f6);outline-offset:2px}.modal__close-icon{width:.75rem;height:.75rem}.modal__btn{padding:var(--padding-sm, .5rem) var(--padding-lg, 1.5rem);border-radius:10px;font-weight:500;font-size:.75rem;border:none;cursor:pointer;transition:var(--transition-shadow),var(--transition-transform);display:flex;align-items:center;justify-content:center;gap:.25rem;min-height:2rem;box-shadow:var(--shadow-button-default);position:relative;overflow:hidden}.modal__btn:after{content:"";position:absolute;top:50%;left:50%;width:0;height:0;border-radius:50%;background-color:#fff9;transform:translate(-50%,-50%);opacity:0;pointer-events:none}.modal__btn--primary:active:after{animation:ripple var(--animation-fast) var(--ease-smooth)}.modal__btn--primary{background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff}.modal__btn--primary:hover{background:linear-gradient(135deg,#2563eb,#1d4ed8);box-shadow:var(--shadow-button-hover);transform:translateY(-1px)}.modal__btn--primary:active{transform:translateY(0) scale(.98);box-shadow:var(--shadow-button-active)}.modal__btn--primary:focus-visible{outline:2px solid var(--theme-primary-blue, #3b82f6);outline-offset:2px}.modal__btn-icon{width:1rem;height:1rem}.modal__actions{display:flex;justify-content:center;align-items:center;gap:.375rem;padding:.375rem .5rem;border-top:1px solid var(--theme-border-soft, #e5e7eb);background-color:var(--theme-bg-elevated, #ffffff);flex-shrink:0;border-radius:0 0 16px 16px}.modal__actions--single{justify-content:center}html.dark .modal__close-btn{color:var(--theme-text-tertiary, #d1d5db)}html.dark .modal__close-btn:hover{color:var(--theme-text-primary, #ffffff);background-color:var(--theme-bg-subtle, #374151)}html.dark .modal__actions{background-color:var(--theme-bg-elevated, #1f2937);border-color:var(--theme-border-soft, #4b5563)}@media(max-width:640px){.modal__actions{flex-direction:column;gap:.5rem}.modal__btn{width:100%}}.error-fallback{min-height:100vh;display:flex;align-items:center;justify-content:center;background-color:var(--gray-50, #f9fafb);padding:var(--padding-xl, 2rem)}.error-fallback__card{max-width:28rem;width:100%;background-color:var(--theme-bg-elevated, #ffffff);border-radius:var(--radius-md, .375rem);box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d;padding:1.5rem;text-align:center}.error-fallback__icon{color:var(--error, #ef4444);font-size:3.75rem;line-height:1;margin-bottom:1rem}.error-fallback__title{font-size:1.25rem;font-weight:600;color:var(--theme-text-primary, #374151);margin-bottom:.5rem}.error-fallback__message{color:var(--theme-text-secondary, #6b7280);margin-bottom:1rem;line-height:1.5}.error-fallback__details{text-align:left;background-color:var(--gray-100, #f3f4f6);padding:var(--padding-lg, 1.5rem);border-radius:var(--radius-md, .375rem);margin-bottom:1rem}.error-fallback__details-summary{cursor:pointer;font-weight:500;color:var(--theme-text-primary, #374151)}.error-fallback__details-content{font-size:.875rem;margin-top:.5rem;overflow:auto;font-family:ui-monospace,SFMono-Regular,SF Mono,Consolas,Liberation Mono,Menlo,monospace;white-space:pre-wrap;color:var(--theme-text-secondary, #6b7280)}.error-fallback__actions{display:flex;flex-direction:column;gap:.75rem}.error-fallback__button{width:100%;padding:var(--padding-md, 1rem) var(--padding-xl, 2rem);border-radius:var(--radius-md, .375rem);font-weight:500;border:none;cursor:pointer;transition:var(--transition-shadow),var(--transition-transform);box-shadow:var(--shadow-button-default);position:relative;overflow:hidden}.error-fallback__button:after{content:"";position:absolute;top:50%;left:50%;width:0;height:0;border-radius:50%;background-color:#fff9;transform:translate(-50%,-50%);opacity:0;pointer-events:none}.error-fallback__button--primary:active:after{animation:ripple var(--animation-fast) var(--ease-smooth)}.error-fallback__button--primary{background-color:var(--primary-blue, #3b82f6);color:#fff}.error-fallback__button--primary:hover{background-color:var(--primary-blue-hover, #2563eb);transform:translateY(-1px);box-shadow:var(--shadow-button-hover)}.error-fallback__button--primary:active{transform:translateY(0) scale(.98);box-shadow:var(--shadow-button-active)}.error-fallback__button--primary:focus-visible{outline:2px solid var(--primary-blue, #3b82f6);outline-offset:2px}.error-fallback__button--secondary{background-color:var(--gray-200, #e5e7eb);color:var(--gray-800, #1f2937)}.error-fallback__button--secondary:hover{background-color:var(--gray-300, #d1d5db);transform:translateY(-1px);box-shadow:var(--shadow-button-hover)}.error-fallback__button--secondary:active{transform:translateY(0) scale(.98);box-shadow:var(--shadow-button-active)}.error-fallback__button--secondary:focus-visible{outline:2px solid var(--gray-800, #1f2937);outline-offset:2px}.dark .error-fallback{background-color:var(--gray-900, #111827)}.dark .error-fallback__card{background-color:var(--gray-800, #1f2937);box-shadow:0 10px 15px -3px #0000004d,0 4px 6px -2px #0003}.dark .error-fallback__details{background-color:var(--gray-700, #374151)}.dark .error-fallback__button--secondary{background-color:var(--gray-600, #4b5563);color:var(--gray-100, #f3f4f6)}.dark .error-fallback__button--secondary:hover{background-color:var(--gray-500, #6b7280)}@media(max-width:768px){.error-fallback{padding:var(--padding-lg, 1.5rem)}.error-fallback__card{padding:1.25rem}.error-fallback__icon{font-size:3rem}.error-fallback__title{font-size:1.125rem}}@media(prefers-reduced-motion:reduce){.error-fallback__button{transition:none}}@media(prefers-contrast:high){.error-fallback__card{border:2px solid var(--theme-text-primary, #374151)}.error-fallback__button{border:2px solid currentColor}}.fluent-flow-logo{display:inline-block}.fluent-flow-logo--sm{width:1.5rem;height:1.5rem;min-width:1.5rem;min-height:1.5rem}.fluent-flow-logo--md{width:2rem;height:2rem;min-width:2rem;min-height:2rem}.fluent-flow-logo--lg{width:3rem;height:3rem;min-width:3rem;min-height:3rem}@media(max-width:767px){.fluent-flow-logo--sm{width:1.5rem;height:1.5rem;min-width:1.5rem;min-height:1.5rem}.fluent-flow-logo--md{width:2.5rem;height:2.5rem;min-width:2.5rem;min-height:2.5rem}.fluent-flow-logo--lg{width:3.5rem;height:3.5rem;min-width:3.5rem;min-height:3.5rem}}.fluent-flow-logo__gradient-start{stop-color:var(--theme-primary-blue, #3b82f6)}.fluent-flow-logo__gradient-end{stop-color:var(--theme-primary-blue-hover)}.fluent-flow-logo__background{filter:drop-shadow(0 1px 2px rgba(0,0,0,.1))}.fluent-flow-logo__text{user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;fill:#fff}.fluent-flow-logo path{stroke:#fff}.dark .fluent-flow-logo__text{fill:#fff;filter:drop-shadow(0 1px 2px rgba(0,0,0,.8))}.dark .fluent-flow-logo path{stroke:#fff;filter:drop-shadow(0 1px 1px rgba(0,0,0,.6))}.dark .fluent-flow-logo__gradient-start{stop-color:#60a5fa}.dark .fluent-flow-logo__gradient-end{stop-color:#3b82f6}.dark .fluent-flow-logo__background{filter:drop-shadow(0 2px 4px rgba(0,0,0,.3))}@media(prefers-reduced-motion:reduce){.fluent-flow-logo__background,.dark .fluent-flow-logo__background{filter:none}}:root{--header-bg: #ffffff;--header-border: #e5e7eb;--header-text-primary: #111827;--header-text-secondary: #6b7280;--header-button-hover-bg: #f3f4f6;--header-button-active-bg: #e5e7eb;--header-focus-ring: #3b82f6;--menu-bg: #ffffff;--menu-border: #e5e7eb;--menu-item-hover: #f3f4f6;--menu-item-active: #e5e7eb;--header-height-mobile: 46px;--header-height-tablet: 48px;--header-height-desktop: 50px;--header-spacing-xs: 6px;--header-spacing-sm: 10px;--header-spacing-md: 14px;--header-spacing-lg: 18px;--header-spacing-xl: 24px;--button-size-mobile: 40px;--button-size-desktop: 40px;--icon-size-mobile: 20px;--icon-size-desktop: 20px;--theme-bg-elevated: #ffffff;--theme-bg-subtle: #f9fafb;--theme-bg-soft: #f3f4f6;--theme-border-soft: #e5e7eb;--theme-border-medium: #d1d5db;--theme-text-primary: #111827;--theme-text-secondary: #6b7280;--theme-primary-blue: #3b82f6;--theme-primary-blue-hover: #2563eb}html.dark{--header-bg: #1f2937;--header-border: #4b5563;--header-text-primary: #ffffff;--header-text-secondary: #e5e7eb;--header-button-hover-bg: #374151;--header-button-active-bg: #4b5563;--header-focus-ring: #60a5fa;--menu-bg: #1f2937;--menu-border: #4b5563;--menu-item-hover: #374151;--menu-item-active: #4b5563;--theme-bg-elevated: #1f2937;--theme-bg-subtle: #374151;--theme-bg-soft: #4b5563;--theme-border-soft: #4b5563;--theme-border-medium: #6b7280;--theme-text-primary: #ffffff;--theme-text-secondary: #e5e7eb;--theme-primary-blue: #3b82f6;--theme-primary-blue-hover: #2563eb}.header-redesigned{background-color:var(--header-bg);border-bottom:1px solid var(--header-border);box-shadow:0 1px 3px #0000001a;height:var(--header-height-mobile);min-height:var(--header-height-mobile);transition:all .2s ease-in-out;position:relative;z-index:10;display:flex;align-items:center}.dark .header-redesigned{box-shadow:0 2px 4px #0000004d}.header-redesigned__container{display:grid;grid-template-columns:auto 1fr auto;grid-template-areas:"left center right";align-items:center;gap:var(--header-spacing-xs);width:100%;max-width:1440px;margin:0 auto;padding:0 8px;height:100%}.header-redesigned__left{grid-area:left;display:flex;align-items:center;gap:var(--header-spacing-sm);z-index:10}.header-redesigned__center{grid-area:center;display:flex;align-items:center;justify-content:center;min-width:0;z-index:1}.header-redesigned__right{grid-area:right;display:flex;align-items:center;gap:var(--header-spacing-sm);z-index:10}@media(min-width:768px){.header-redesigned{height:var(--header-height-tablet);min-height:var(--header-height-tablet)}.header-redesigned__container{gap:var(--header-spacing-md);padding:0 var(--header-spacing-lg)}.header-redesigned__menu-btn,.header-redesigned__user-btn,.header-redesigned__login-btn{padding:var(--header-spacing-sm)}.header-redesigned__left,.header-redesigned__right{gap:var(--header-spacing-md)}}@media(min-width:1024px){.header-redesigned{height:var(--header-height-desktop);min-height:var(--header-height-desktop)}.header-redesigned__container{gap:var(--header-spacing-lg);padding:0 var(--header-spacing-xl)}.header-redesigned__left,.header-redesigned__right{gap:var(--header-spacing-md)}}.header-redesigned__menu-btn,.header-redesigned__user-btn,.header-redesigned__login-btn{display:flex;align-items:center;justify-content:center;gap:var(--header-spacing-xs);min-width:var(--button-size-mobile);min-height:var(--button-size-mobile);padding:6px;border-radius:8px;border:none;background-color:transparent;color:var(--header-text-secondary);cursor:pointer;transition:all .2s ease-in-out;position:relative}.header-redesigned__menu-btn--primary,.header-redesigned__user-btn--primary,.header-redesigned__login-btn--primary{background:linear-gradient(135deg,#f9fafb,#f3f4f6);border:1px solid var(--header-border);box-shadow:0 1px 3px #0000001a;color:var(--header-text-primary);font-weight:600}.header-redesigned__menu-btn:hover,.header-redesigned__user-btn:hover,.header-redesigned__login-btn:hover{background-color:var(--header-button-hover-bg);color:var(--header-text-primary);transform:translateY(-1px)}.header-redesigned__menu-btn--primary:hover,.header-redesigned__user-btn--primary:hover,.header-redesigned__login-btn--primary:hover{background:linear-gradient(135deg,#f3f4f6,#e5e7eb);border-color:#9ca3af;box-shadow:0 2px 8px #00000026;transform:translateY(-1px)}.header-redesigned__menu-btn:active,.header-redesigned__user-btn:active,.header-redesigned__login-btn:active{background-color:var(--header-button-active-bg);transform:translateY(0)}.header-redesigned__menu-btn:focus-visible,.header-redesigned__user-btn:focus-visible,.header-redesigned__login-btn:focus-visible{outline:3px solid var(--header-focus-ring);outline-offset:2px;box-shadow:0 0 0 4px #3b82f61a}@media(min-width:1024px){.header-redesigned__menu-btn,.header-redesigned__user-btn,.header-redesigned__login-btn{min-width:var(--button-size-desktop);min-height:var(--button-size-desktop)}}.header-redesigned__menu-icon,.header-redesigned__user-icon{width:var(--icon-size-mobile);height:var(--icon-size-mobile);flex-shrink:0;color:currentColor;stroke:currentColor}@media(min-width:1024px){.header-redesigned__menu-icon,.header-redesigned__user-icon{width:var(--icon-size-desktop);height:var(--icon-size-desktop)}}.header-redesigned__brand{display:flex;align-items:center;gap:var(--header-spacing-sm);cursor:pointer;transition:all .2s ease-in-out}.header-redesigned__logo{width:28px;height:28px;flex-shrink:0;background:transparent;display:flex;align-items:center;justify-content:center}.header-redesigned__title{font-size:18px;font-weight:700;color:var(--header-text-primary);letter-spacing:-.02em;margin:0;padding:0;white-space:nowrap;line-height:1}@media(max-width:767px){.header-redesigned__title{display:none}.header-redesigned__logo{width:40px;height:40px}}@media(max-width:519px){.header-redesigned__logo{width:38px;height:38px}.header-redesigned__brand{gap:0}.header-redesigned__left{gap:var(--header-spacing-xs)}.header-redesigned__menu-btn,.header-redesigned__user-btn,.header-redesigned__login-btn{min-width:40px;min-height:40px;padding:var(--header-spacing-xs)}}.header-redesigned__user-section{display:flex;align-items:center}.header-redesigned__user-info{display:none}@media(min-width:768px){.header-redesigned__user-info{display:block}}.header-redesigned__username{font-size:14px;font-weight:500;color:var(--header-text-primary);transition:color .2s ease-in-out}.header-redesigned__login-text{font-size:14px;font-weight:500;color:var(--header-text-primary)}@media(max-width:767px){.header-redesigned__login-text{display:none}}.header-redesigned__dev-indicator{display:flex;align-items:center;gap:var(--header-spacing-xs);padding:4px 10px;height:28px;background:linear-gradient(135deg,#dc2626,#b91c1c);color:#fff;border-radius:6px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;box-shadow:0 1px 2px #dc26264d;animation:devPulse 2s infinite;border:1px solid rgba(255,255,255,.2);margin-left:var(--header-spacing-sm)}.dark .header-redesigned__dev-indicator{background:linear-gradient(135deg,#f87171,#ef4444);color:#1f2937;box-shadow:0 1px 2px #f8717166}.header-redesigned__dev-icon{font-size:11px;line-height:1}.header-redesigned__dev-text{font-size:11px;font-weight:700;line-height:1}@keyframes devPulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.85;transform:scale(1.01)}}@media(max-width:767px){.header-redesigned__dev-indicator{display:none}}.header-side-menu{position:fixed;left:0;top:0;height:100vh;width:280px;z-index:50;background-color:var(--menu-bg);border-right:1px solid var(--menu-border);box-shadow:4px 0 25px #00000026;transition:transform .3s cubic-bezier(.4,0,.2,1);backdrop-filter:blur(8px);border-radius:0 16px 16px 0;display:flex;flex-direction:column}@media(max-width:767px){.header-side-menu{width:min(85vw,320px)}}.header-side-menu__header{padding:16px 18px;background:linear-gradient(135deg,#4f46e5,#7c3aed,#a78bfa);border-radius:0 16px 0 0;flex-shrink:0}.header-side-menu__header-row{display:flex;align-items:flex-start;justify-content:space-between}.header-side-menu__identity{display:flex;align-items:center;gap:12px;background:none;border:none;padding:0;cursor:pointer;text-align:left;border-radius:8px;transition:opacity .15s ease;color:#fff}.header-side-menu__identity:hover{opacity:.85}.header-side-menu__avatar{width:40px;height:40px;border-radius:50%;background:#fff3;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:700;color:#fff;flex-shrink:0;border:2px solid rgba(255,255,255,.3)}.header-side-menu__close{background:#ffffff26;border:none;border-radius:50%;width:32px;height:32px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#ffffffe6;transition:all .2s ease;flex-shrink:0}.header-side-menu__close:hover{background:#ffffff40;color:#fff}.header-side-menu__close svg{width:18px;height:18px}.header-side-menu__title{font-size:18px;font-weight:700;color:#fff;letter-spacing:-.025em;margin:0 0 2px}.header-side-menu__subtitle{font-size:12px;font-weight:400;color:#ffffffb3;margin:0}.header-side-menu__content{padding:12px;flex:1;overflow-y:auto;display:flex;flex-direction:column}.header-side-menu__content>*+*{margin-top:2px}.header-side-menu__spacer{flex:1;min-height:12px}.header-side-menu__item{width:100%;text-align:left;padding:10px 12px;border-radius:10px;display:flex;align-items:center;gap:10px;transition:all .15s ease;color:var(--header-text-secondary);background-color:transparent;border:none;cursor:pointer;font-weight:500;min-height:40px}.header-side-menu__item:hover{background-color:var(--menu-item-hover);color:var(--header-text-primary);box-shadow:0 1px 3px #00000014}.header-side-menu__item:active{background-color:var(--menu-item-active);transform:scale(.98)}.header-side-menu__item:focus-visible{outline:2px solid var(--header-focus-ring);outline-offset:2px}.header-side-menu__item--logout{border-top:1px solid var(--theme-border-soft);margin-top:8px;padding-top:12px;color:#ef4444}.header-side-menu__item--logout:hover{background-color:#ef44441a;color:#ef4444}.header-side-menu__item--login{border-top:1px solid var(--theme-border-soft);margin-top:8px;padding-top:12px;color:var(--theme-primary-blue);font-weight:500}.header-side-menu__item--login:hover{background-color:#3b82f61a;color:var(--theme-primary-blue-hover)}.header-side-menu__text{font-weight:500;font-size:14px;color:inherit;transition:color .2s ease-in-out}.header-side-menu__icon{width:20px;height:20px;color:currentColor;stroke:currentColor;flex-shrink:0}.header-side-menu-overlay{position:fixed;inset:0;background-color:#00000080;z-index:40;backdrop-filter:blur(4px);transition:opacity .3s ease-in-out}.dark .header-redesigned__menu-btn--primary,.dark .header-redesigned__user-btn--primary,.dark .header-redesigned__login-btn--primary{background:linear-gradient(135deg,#4b556399,#37415166);border:1px solid var(--header-border);backdrop-filter:blur(8px);box-shadow:0 1px 3px #0003,inset 0 1px #ffffff1a}.dark .header-redesigned__menu-btn--primary:hover,.dark .header-redesigned__user-btn--primary:hover,.dark .header-redesigned__login-btn--primary:hover{background:linear-gradient(135deg,#6b7280b3,#4b556380);border-color:#6b7280;box-shadow:0 4px 12px #0000004d,inset 0 1px #ffffff26}.dark .header-side-menu{box-shadow:4px 0 25px #00000080,inset -1px 0 #ffffff0d}.dark .header-side-menu__header{background:linear-gradient(135deg,#312e81,#4c1d95,#6d28d9)}.dark .header-side-menu__item{border:1px solid transparent}.dark .header-side-menu__item:hover{background:linear-gradient(90deg,#4b556380,#6b72804d);border-color:#ffffff14;box-shadow:0 1px 4px #0003}.dark .header-side-menu-overlay{background-color:#0009;backdrop-filter:blur(8px)}.dark .header-redesigned__logo{background:none;box-shadow:none;border:none;border-radius:0;padding:0}.dark .header-redesigned__title{text-shadow:0 1px 2px rgba(0,0,0,.5)}.dark .header-redesigned__username{text-shadow:0 1px 2px rgba(0,0,0,.3)}@media(prefers-contrast:high){:root{--header-text-primary: #000000;--header-text-secondary: #333333}.dark{--header-text-primary: #ffffff;--header-text-secondary: #e5e5e5}}@media(prefers-reduced-motion:reduce){.header-redesigned *,.header-side-menu *{transition:none;transform:none;animation:none}}@media(max-width:500px){.header-redesigned__container{margin-left:max(0px,env(safe-area-inset-left));margin-right:max(0px,env(safe-area-inset-right))}.header-redesigned{padding-top:max(0px,env(safe-area-inset-top))}}@media(max-width:400px){.header-side-menu{width:min(88vw,320px)}.header-side-menu__header{padding:14px 16px}.header-side-menu__content{padding:10px}.header-side-menu__item{padding:10px 12px;gap:10px;min-height:40px}.header-side-menu__icon{width:18px;height:18px}.header-side-menu__title{font-size:16px}.header-side-menu__subtitle{font-size:11px}.header-side-menu__text{font-size:13px}}.header__offline-badge{display:flex;align-items:center;gap:.25rem;padding:.125rem .375rem;font-size:.625rem;font-weight:600;color:#f59e0b;background-color:#f59e0b1a;border:1px solid rgba(245,158,11,.2);border-radius:var(--radius-sm, .25rem);opacity:1;transition:opacity .3s ease;margin-left:var(--header-spacing-sm);white-space:nowrap}.header__offline-badge--hidden{opacity:0;pointer-events:none}.dark .header__offline-badge{color:#fbbf24;background-color:#fbbf2426;border-color:#fbbf2440}@media(max-width:400px){.header__offline-badge span{display:none}}.header-redesigned__container--learning{padding:0 var(--header-spacing-md)}@media(min-width:768px){.header-redesigned__container--learning{padding:0 var(--header-spacing-lg)}}@media(min-width:1024px){.header-redesigned__container--learning{padding:0 var(--header-spacing-xl)}}@media(max-width:767px){.header-redesigned--learning-mode{display:none}}:root{--card-border-radius: var(--radius-lg, .5rem);--card-shadow: var(--shadow-card-default);--card-shadow-hover: var(--shadow-card-hover);--card-shadow-active: var(--shadow-card-active);--card-width-mobile: 120px;--card-height-mobile: 85px;--card-width-tablet: 150px;--card-height-tablet: 95px;--card-width-desktop: 145px;--card-height-desktop: 105px}.module-card{position:relative;border-radius:var(--card-border-radius);box-shadow:var(--card-shadow);transition:var(--transition-shadow),var(--transition-transform);cursor:pointer;border:none;width:var(--card-width-mobile);height:var(--card-height-mobile);display:flex;flex-direction:column;overflow:hidden;contain:layout style;content-visibility:auto;contain-intrinsic-size:var(--card-width-mobile) var(--card-height-mobile);touch-action:manipulation}.module-card:hover{box-shadow:inset 0 0 0 2px #fff3,var(--card-shadow-hover);transform:scale(1.02);will-change:transform,box-shadow}.module-card:not(:hover){will-change:auto}.module-card:active{transform:scale(.98);box-shadow:var(--card-shadow-active)}.module-card:focus{outline:none;box-shadow:var(--card-shadow-hover),0 0 0 3px #3b82f64d}.module-card__content{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;padding:.375rem;text-align:center;gap:.25rem;box-sizing:border-box;position:relative}.module-card__icon{display:flex;align-items:center;justify-content:center;margin-bottom:0;flex-shrink:0}.module-card__icon svg{width:.75rem;height:.75rem;color:#fffffff2;stroke:#fffffff2;fill:none;stroke-width:2;transition:all .2s ease-in-out}.module-card:hover .module-card__icon svg{color:#fff;stroke:#fff;transform:scale(1.1)}.module-card__title{font-size:var(--text-sm, .875rem);font-weight:600;line-height:1;color:#fffffffa;margin-bottom:0;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;max-width:100%;flex-shrink:1;transition:color .2s ease-in-out;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.3);height:auto;min-height:1rem}.module-card__type{font-size:.75rem;font-weight:500;line-height:1;color:#ffffffbf;text-transform:uppercase;letter-spacing:var(--tracking-wide, .025em);margin-bottom:0;flex-shrink:0;transition:color .2s ease-in-out;text-shadow:0 1px 2px rgba(0,0,0,.2)}.module-card__level{font-size:var(--text-xs, .75rem);font-weight:600;line-height:1;color:#ffffffe6;background-color:#ffffff26;padding:.0625rem .1875rem;border-radius:var(--radius-sm, .25rem);flex-shrink:0;transition:all .2s ease-in-out;text-shadow:0 1px 2px rgba(0,0,0,.2);position:absolute;bottom:.5rem;left:50%;transform:translate(-50%);z-index:1}.module-card__time{display:none}.module-card:hover .module-card__title{color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.4)}.module-card:hover .module-card__type{color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.3)}.module-card:hover .module-card__level{color:#fff;background-color:#ffffff4d;text-shadow:0 1px 3px rgba(0,0,0,.3)}.module-card--flashcard{background:linear-gradient(135deg,#ffffff1a,#fff0),linear-gradient(135deg,#3b82f6,#2563eb);color:#fff}.module-card--quiz{background:linear-gradient(135deg,#ffffff1a,#fff0),linear-gradient(135deg,#10b981,#059669);color:#fff}.module-card--completion{background:linear-gradient(135deg,#ffffff1a,#fff0),linear-gradient(135deg,#8b5cf6,#7c3aed);color:#fff}.module-card--sorting{background:linear-gradient(135deg,#ffffff1a,#fff0),linear-gradient(135deg,#f59e0b,#d97706);color:#fff}.module-card--matching{background:linear-gradient(135deg,#ffffff1a,#fff0),linear-gradient(135deg,#ec4899,#db2777);color:#fff}.module-card--reading{background:linear-gradient(135deg,#ffffff1a,#fff0),linear-gradient(135deg,#6b7280,#4b5563);color:#fff}.module-card--transformation{background:linear-gradient(135deg,#ffffff1a,#fff0),linear-gradient(135deg,#14b8a6,#0d9488);color:#fff}.module-card--word-formation{background:linear-gradient(135deg,#ffffff1a,#fff0),linear-gradient(135deg,#6366f1,#4f46e5);color:#fff}.module-card--error-correction{background:linear-gradient(135deg,#ffffff1a,#fff0),linear-gradient(135deg,#f43f5e,#e11d48);color:#fff}.module-card--flashcard:hover{background:linear-gradient(135deg,#ffffff26,#fff0),linear-gradient(135deg,#2563eb,#1d4ed8)}.module-card--quiz:hover{background:linear-gradient(135deg,#ffffff26,#fff0),linear-gradient(135deg,#059669,#047857)}.module-card--completion:hover{background:linear-gradient(135deg,#ffffff26,#fff0),linear-gradient(135deg,#7c3aed,#6d28d9)}.module-card--sorting:hover{background:linear-gradient(135deg,#ffffff26,#fff0),linear-gradient(135deg,#d97706,#b45309)}.module-card--matching:hover{background:linear-gradient(135deg,#ffffff26,#fff0),linear-gradient(135deg,#db2777,#be185d)}.module-card--reading:hover{background:linear-gradient(135deg,#ffffff26,#fff0),linear-gradient(135deg,#4b5563,#374151)}.module-card--transformation:hover{background:linear-gradient(135deg,#ffffff26,#fff0),linear-gradient(135deg,#0d9488,#0f766e)}.module-card--word-formation:hover{background:linear-gradient(135deg,#ffffff26,#fff0),linear-gradient(135deg,#4f46e5,#4338ca)}.module-card--error-correction:hover{background:linear-gradient(135deg,#ffffff26,#fff0),linear-gradient(135deg,#e11d48,#be123c)}.module-card[class*=module-card--] .module-card__title,.module-card[class*=module-card--] .module-card__type,.module-card[class*=module-card--] .module-card__level,.module-card[class*=module-card--] .module-card__time{color:var(--theme-text-on-colored, #ffffff)}.module-card[class*=module-card--] svg{color:var(--theme-text-on-colored, #ffffff)!important;stroke:var(--theme-text-on-colored, #ffffff)!important;fill:none!important;opacity:1!important}.module-card[class*=module-card--] .module-card__icon svg{color:#fffffff2!important;stroke:#fffffff2!important;fill:none!important;opacity:1!important;visibility:visible!important}.module-card--completed{position:relative;box-shadow:inset 0 0 0 2px #10b98199,var(--card-shadow)}.module-card--completed:hover{box-shadow:inset 0 0 0 2px #10b981cc,var(--card-shadow-hover)}.module-card--unlocked{box-shadow:inset 0 0 0 2px #3b82f666,var(--card-shadow)}.module-card--unlocked:hover{box-shadow:inset 0 0 0 2px #3b82f699,var(--card-shadow-hover)}.module-card--unlocked .module-card__icon{opacity:1;visibility:visible}.module-card--unlocked .module-card__icon svg{opacity:1!important;visibility:visible!important;display:block!important}.module-card--locked{opacity:.65;cursor:not-allowed;filter:grayscale(.6) brightness(.95);box-shadow:inset 0 0 0 2px #9ca3af66,var(--card-shadow);position:relative;pointer-events:none}.module-card--locked:hover{transform:none;box-shadow:inset 0 0 0 2px #9ca3af80,var(--card-shadow);opacity:.7;will-change:auto}.module-card--locked:before{content:"";position:absolute;inset:0;background:#fff3;border-radius:inherit;pointer-events:none}.module-card--locked .module-card__content{position:relative}.module-card--loading{opacity:.5;cursor:wait}.module-card__header{display:flex;align-items:center;justify-content:center;position:relative;width:100%;margin-bottom:0}.module-card__status-indicator{position:absolute;top:.25rem;right:.25rem;width:1.25rem;height:1.25rem;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 4px #0000001a;transition:all .2s ease-in-out;z-index:2}.module-card__status-indicator--completed{background-color:#10b981f2;border:2px solid rgba(255,255,255,.9)}.module-card__status-indicator--unlocked{background-color:#3b82f6f2;border:2px solid rgba(255,255,255,.9);display:flex}.module-card__status-indicator--locked{background-color:#0009;border:2px solid rgba(255,255,255,.3);color:#ffffffe6}.module-card__status-indicator svg{width:.75rem;height:.75rem}.module-card__status-indicator--completed svg{color:var(--theme-text-on-colored, #ffffff)}.module-card__status-indicator--unlocked svg{color:var(--theme-text-on-colored, #ffffff)}.module-card__status-indicator--locked svg{color:var(--theme-text-on-colored, rgba(255, 255, 255, .9))}.module-card__dependency-warning{position:absolute;top:.25rem;left:.25rem;width:1.25rem;height:1.25rem;border-radius:50%;display:flex;align-items:center;justify-content:center;background-color:#f59e0bf2;border:2px solid rgba(255,255,255,.9);box-shadow:0 2px 4px #0000001a;z-index:2;cursor:help}.module-card__dependency-warning svg{width:.75rem;height:.75rem;color:#fff}.module-card__status-icon svg{width:.75rem;height:.75rem;color:var(--theme-text-on-colored, #ffffff)}.module-card__status{position:absolute;top:.25rem;right:.25rem;display:flex;align-items:center;justify-content:center;width:1.25rem;height:1.25rem;background-color:#0009;border:2px solid rgba(255,255,255,.3);border-radius:50%;color:#ffffffe6;box-shadow:var(--shadow-subtle, 0 1px 3px rgba(0, 0, 0, .1));z-index:2}@media(max-width:719px){.module-card__time,.module-card__level{display:none!important}}@media(min-width:321px)and (max-width:719px){.module-card__icon svg{width:.75rem!important;height:.75rem!important}.module-card__title{font-size:var(--text-sm, .875rem);font-weight:var(--font-semibold, 600);line-height:1;height:auto;min-height:1rem;margin-bottom:0;margin-top:0!important}.module-card__type{font-size:.75rem;font-weight:var(--font-medium, 500);margin-bottom:.125rem}.module-card__level{font-size:var(--text-xs, .75rem);font-weight:var(--font-semibold, 600);padding:.0625rem .1875rem}}@media(min-width:750px)and (max-width:950px){.module-card__content{gap:0}.module-card__header{margin-bottom:0!important}.module-card__icon svg{width:.75rem!important;height:.75rem!important}.module-card__title{margin-top:0!important;margin-bottom:0!important}}@media(min-width:720px){.module-card{width:var(--card-width-tablet);height:var(--card-height-tablet)}.module-card__content{padding:.1875rem;gap:0}.module-card__icon svg{width:.875rem;height:.875rem}.module-card__title{font-size:var(--text-sm, .875rem);line-height:1;font-weight:var(--font-semibold, 600);height:auto;min-height:1rem;margin-bottom:0;margin-top:0rem}.module-card__type{font-size:.75rem;font-weight:var(--font-medium, 500)}.module-card__level{font-size:var(--text-xs, .75rem);padding:.0625rem .1875rem;font-weight:var(--font-semibold, 600)}}@media(min-width:900px){.module-card{width:var(--card-width-desktop);height:var(--card-height-desktop)}.module-card__content{padding:.25rem;gap:0}.module-card__icon svg{width:1rem;height:1rem}.module-card__title{font-size:var(--text-base, 1rem);line-height:1;font-weight:var(--font-semibold, 600);height:auto;min-height:1.125rem;margin-bottom:0}.module-card__type{font-size:.75rem;font-weight:var(--font-medium, 500)}.module-card__level{font-size:var(--text-xs, .75rem);padding:.0625rem .25rem;font-weight:var(--font-semibold, 600)}}.module-card:focus-visible{outline:2px solid #60a5fa;outline-offset:2px}@media(prefers-contrast:high){.module-card{border-width:3px}.module-card__title{font-weight:700}.module-card__type{font-weight:600}.module-card__level{font-weight:700;background-color:#ffffff4d}}@media(prefers-reduced-motion:reduce){.module-card,.module-card__icon svg,.module-card__title,.module-card__type,.module-card__level{transition:none}.module-card:hover{transform:none;will-change:auto}.module-card:active{transform:none}.module-card:hover .module-card__icon svg{transform:none}}.dark .module-card{box-shadow:0 4px 6px -1px #0000004d,0 2px 4px -1px #0003}.dark .module-card:hover{box-shadow:0 10px 15px -3px #0000004d,0 4px 6px -2px #0003}@supports (-webkit-appearance: none){html body .module-card{-webkit-appearance:none;appearance:none}}.text-white{color:#fff}.module-card__status-icon{color:var(--theme-text-tertiary, #9ca3af)}html.dark .module-card:not(.module-card--flashcard):not(.module-card--quiz):not(.module-card--completion):not(.module-card--sorting):not(.module-card--matching):not(.module-card--reading):not(.module-card--transformation):not(.module-card--word-formation):not(.module-card--error-correction){background:var(--theme-bg-elevated, #1f2937);border-color:var(--theme-border-soft, #4b5563);color:var(--theme-text-primary, #ffffff)}html.dark .module-card:not(.module-card--flashcard):not(.module-card--quiz):not(.module-card--completion):not(.module-card--sorting):not(.module-card--matching):not(.module-card--reading):not(.module-card--transformation):not(.module-card--word-formation):not(.module-card--error-correction):hover{background:var(--theme-bg-soft, #374151);border-color:var(--theme-primary-blue, #3b82f6)}html.dark .module-card:not(.module-card--flashcard):not(.module-card--quiz):not(.module-card--completion):not(.module-card--sorting):not(.module-card--matching):not(.module-card--reading):not(.module-card--transformation):not(.module-card--word-formation):not(.module-card--error-correction) .module-card__title{color:var(--theme-text-primary, #ffffff)}html.dark .module-card:not(.module-card--flashcard):not(.module-card--quiz):not(.module-card--completion):not(.module-card--sorting):not(.module-card--matching):not(.module-card--reading):not(.module-card--transformation):not(.module-card--word-formation):not(.module-card--error-correction) .module-card__type,html.dark .module-card:not(.module-card--flashcard):not(.module-card--quiz):not(.module-card--completion):not(.module-card--sorting):not(.module-card--matching):not(.module-card--reading):not(.module-card--transformation):not(.module-card--word-formation):not(.module-card--error-correction) .module-card__level{color:var(--theme-text-tertiary, #d1d5db)}html.dark .module-card--locked{opacity:.75;filter:grayscale(.5) brightness(1)}html.dark .module-card--locked .module-card__title{color:var(--theme-text-secondary, #d1d5db)}.module-card--reading .module-card__icon svg{color:#fffffff2!important;stroke:#fffffff2!important;fill:none!important;opacity:1!important;visibility:visible!important;stroke-width:2!important}.module-card__progress{position:absolute;bottom:0;left:0;right:0;height:3px;background:#0003;border-radius:0 0 var(--card-border-radius) var(--card-border-radius);overflow:hidden}.module-card__progress-bar{height:100%;background:linear-gradient(90deg,#10b981e6,#059669e6);transition:width .3s ease-in-out;box-shadow:0 0 4px #10b98180;width:var(--progress-width, 0%)}.module-card--completed .module-card__progress-bar{background:linear-gradient(90deg,#10b981,#059669)}@keyframes next-module-pulse{0%,to{box-shadow:0 0 #3b82f666,var(--card-shadow)}50%{box-shadow:0 0 0 8px #3b82f600,var(--card-shadow-hover)}}@keyframes next-module-pulse-dark{0%,to{box-shadow:0 0 #60a5fa33,var(--card-shadow)}50%{box-shadow:0 0 0 6px #60a5fa00,var(--card-shadow)}}.module-card--current{border:3px solid rgba(37,99,235,1);background:linear-gradient(135deg,#3b82f626,#3b82f614),linear-gradient(135deg,#f0f7ff,#e0edff);box-shadow:0 0 0 3px #3b82f64d,0 0 16px #3b82f640,0 0 32px #3b82f61a}.module-card--current:hover{border:3px solid rgba(37,99,235,1);background:linear-gradient(135deg,#3b82f633,#3b82f61a),linear-gradient(135deg,#e8f1ff,#d6e6ff);box-shadow:0 0 0 3px #3b82f659,0 0 20px #3b82f64d,0 0 36px #3b82f61f}html.dark .module-card--current{border:3px solid #60a5fa;background:linear-gradient(135deg,#60a5fa33,#3b82f61f),linear-gradient(135deg,#1e2a3e,#1a2744);box-shadow:0 0 0 3px #60a5fa59,0 0 16px #60a5fa4d,0 0 32px #60a5fa1f}html.dark .module-card--current:hover{border:3px solid #60a5fa;background:linear-gradient(135deg,#60a5fa40,#3b82f626),linear-gradient(135deg,#1e2e48,#1c2d4e);box-shadow:0 0 0 3px #60a5fa66,0 0 20px #60a5fa59,0 0 36px #60a5fa26}.module-card--next-recommended{animation:next-module-pulse 2s ease-in-out;border-color:#3b82f6b3;box-shadow:0 0 0 3px #3b82f633,var(--card-shadow-hover)}.dark .module-card--next-recommended{animation-name:next-module-pulse-dark;border-color:#60a5fa59;box-shadow:0 0 0 2px #60a5fa1a,var(--card-shadow)}@media(prefers-reduced-motion:reduce){.module-card--next-recommended{animation:none;border-color:#3b82f6cc}.dark .module-card--next-recommended{border-color:#60a5fa66}}:root{--grid-gap-mobile: .5rem;--grid-gap-tablet: .625rem;--grid-gap-desktop: .75rem;--grid-padding-mobile: 2px;--grid-padding-tablet: 2px;--grid-padding-desktop: 2px;--grid-padding-large-desktop: 2px;--grid-height-mobile: calc((var(--card-height-mobile) * 4 + .5rem * 3 + .5rem) * .8);--grid-height-tablet: calc((var(--card-height-tablet) * 4 + .625rem * 3 + .625rem) * .8);--grid-height-desktop: calc((var(--card-height-desktop) * 4 + .75rem * 3 + .75rem) * .8);--menu-content-height-mobile: var(--grid-height-mobile);--menu-content-height-tablet: var(--grid-height-tablet);--menu-content-height-desktop: var(--grid-height-desktop)}.main-menu svg{color:currentColor;stroke:currentColor;fill:none}.dark .main-menu svg{color:#fff;stroke:#fff}.main-menu *,.main-menu *:before,.main-menu *:after{box-sizing:border-box}.main-menu{max-width:43.5rem;width:100%;margin:.3125rem auto;padding:0;display:flex;flex-direction:column;box-sizing:border-box;background:linear-gradient(135deg,var(--theme-bg-elevated, #ffffff) 0%,var(--theme-bg-subtle, #f9fafb) 50%,var(--theme-bg-soft, #f3f4f6) 100%);border:1px solid #d1d5db;border-radius:.75rem;transition:background var(--transition-normal, .2s) var(--ease-smooth, cubic-bezier(.4, 0, .2, 1)),border-color var(--transition-normal, .2s) var(--ease-smooth, cubic-bezier(.4, 0, .2, 1))}@media(max-width:460px){.main-menu{padding-left:max(.25rem,env(safe-area-inset-left));padding-right:max(.25rem,env(safe-area-inset-right));padding-bottom:max(.25rem,env(safe-area-inset-bottom))}.main-menu__header{padding:.375rem;margin-bottom:.125rem;height:3.5625rem;min-height:3.5625rem;flex-shrink:0}.main-menu__grid{padding:.25rem}}.main-menu__search-row{display:flex;align-items:center;gap:.375rem;flex:1;min-width:0}.main-menu__search-close{display:none}@media(max-width:639px){.main-menu__search-row{position:relative}.main-menu__search-row>.unified-filter{flex-shrink:0;transition:opacity .2s ease,width .2s ease,margin .2s ease;overflow:hidden}.main-menu__search-row--search-expanded>.unified-filter{width:0;opacity:0;margin:0;pointer-events:none}.main-menu__search-row--search-expanded .main-menu__search{flex:1;max-width:100%}.main-menu__search-row--search-expanded .search-bar__clear{display:none}.main-menu__search-close{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:2rem;height:2rem;padding:0;background:none;border:1.5px solid var(--theme-border-medium, #e5e7eb);border-radius:.5rem;color:var(--theme-text-secondary, #6b7280);cursor:pointer;transition:all .15s ease}.main-menu__search-close:hover{color:var(--theme-text-primary, #374151);border-color:var(--theme-text-secondary, #6b7280)}.main-menu__search-close:focus-visible{outline:2px solid var(--theme-primary-blue, #3b82f6);outline-offset:2px}}.main-menu__header{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.375rem .5rem;height:3.5625rem;min-height:3.5625rem;flex-shrink:0;background:var(--theme-bg-secondary, #f9fafb);border-radius:.75rem;margin-bottom:.125rem;border:1px solid var(--theme-border-soft, #e5e7eb);transition:background var(--transition-normal, .2s) var(--ease-smooth, cubic-bezier(.4, 0, .2, 1)),border-color var(--transition-normal, .2s) var(--ease-smooth, cubic-bezier(.4, 0, .2, 1));box-sizing:border-box;width:100%;max-width:100%;min-width:0;overflow:visible}.main-menu__view-btn{display:flex;align-items:center;justify-content:center;gap:.375rem;padding:0 .75rem;margin:0;border:none;background:transparent;color:#6b7280;font-size:.875rem;font-weight:500;line-height:1;height:2.3125rem;cursor:pointer;transition:all .15s ease-in-out;white-space:nowrap;font-family:inherit;border-radius:.625rem;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex:1;will-change:auto;touch-action:manipulation}.main-menu__view-btn:not(.main-menu__view-btn--active):hover{background:#fffc;color:#374151}.main-menu__view-btn--active{background:#2563eb;color:#fff;font-weight:700;box-shadow:0 1px 3px #00000026}.main-menu__view-btn--active:hover{background:#1d4ed8}.main-menu__view-icon{width:1rem;height:1rem;opacity:.8;transition:opacity .15s ease-in-out;flex-shrink:0;display:flex;align-items:center;justify-content:center;pointer-events:none}.main-menu>*{width:100%;max-width:100%}.main-menu__grid-container{display:grid;place-items:center;place-content:center;gap:var(--grid-gap-mobile);grid-template-columns:repeat(auto-fit,minmax(120px,1fr));width:100%;max-width:100%;min-width:0;margin:0;padding:0 10px 0 0;align-content:center;justify-content:center;overflow:hidden;box-sizing:border-box}@media(max-width:170px){.main-menu__grid-container{grid-template-columns:repeat(1,1fr);gap:var(--grid-gap-mobile)}}@media(min-width:171px)and (max-width:479px){.main-menu__grid-container{grid-template-columns:repeat(2,1fr);gap:var(--grid-gap-mobile)}}@media(min-width:480px)and (max-width:719px){.main-menu__grid-container{grid-template-columns:repeat(3,1fr);gap:var(--grid-gap-tablet)}}@media(min-width:720px){.main-menu__grid-container{grid-template-columns:repeat(4,1fr);gap:var(--grid-gap-desktop)}}@media(min-width:520px)and (max-width:759px){.main-menu__grid{padding:var(--grid-padding-tablet);max-height:var(--menu-content-height-tablet);height:var(--menu-content-height-tablet);overflow-y:auto;scrollbar-gutter:stable}.main-menu .progression-dashboard{height:var(--menu-content-height-tablet);max-height:var(--menu-content-height-tablet);overflow:hidden;box-sizing:border-box}.main-menu .progression-dashboard__units{max-height:calc(var(--menu-content-height-tablet) - 4rem);overflow-y:auto}}@media(min-width:760px){.main-menu__grid{padding:var(--grid-padding-desktop);max-height:var(--menu-content-height-desktop);height:var(--menu-content-height-desktop);overflow-y:auto;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:var(--theme-border-medium, #e5e7eb) transparent}.main-menu .progression-dashboard{height:var(--menu-content-height-desktop);max-height:var(--menu-content-height-desktop);overflow:hidden;box-sizing:border-box}.main-menu .progression-dashboard__units{max-height:calc(var(--menu-content-height-desktop) - 4rem);overflow-y:auto}}@media(min-width:880px){.main-menu__grid::-webkit-scrollbar{width:4px}.main-menu__grid::-webkit-scrollbar-track{background:transparent}.main-menu__grid::-webkit-scrollbar-thumb{background-color:var(--theme-border-medium, #e5e7eb);border-radius:2px}.main-menu__grid::-webkit-scrollbar-thumb:hover{background-color:var(--theme-border-soft, #f3f4f6)}}@media(min-width:1140px){.main-menu__grid{max-height:var(--menu-content-height-desktop);height:var(--menu-content-height-desktop);padding:var(--grid-padding-large-desktop)}}.main-menu__no-results{text-align:center;padding:3rem 2rem;background-color:var(--theme-bg-subtle, #fafafa);border:2px dashed var(--theme-border-medium, #e5e7eb);border-radius:var(--radius-lg, .5rem);margin:1rem 0}.main-menu__no-results-icon{display:block;margin-inline:auto;width:2.5rem;height:2.5rem;color:var(--theme-text-tertiary, #9ca3af);margin-bottom:.75rem}.main-menu__no-results-text{color:var(--theme-text-primary, #374151);font-size:1.125rem;font-weight:500;margin-bottom:.5rem}.main-menu__no-results-hint{font-size:.875rem;color:var(--theme-text-secondary, #6b7280);margin-top:.5rem;line-height:1.5}.main-menu__results-header{display:flex;align-items:center;gap:.4rem;padding:.375rem .75rem;margin:.5rem 0;font-size:.75rem;font-weight:500;color:var(--theme-text-secondary, #6b7280);background:var(--theme-bg-subtle, #fafafa);border-radius:var(--radius-md, .375rem);border:1px solid var(--theme-border-soft, #f3f4f6)}.main-menu__results-header-icon{width:.875rem;height:.875rem;color:var(--theme-primary-blue, #3b82f6);flex-shrink:0}.main-menu__results-header-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.main-menu__clear-filters-btn{display:inline-flex;align-items:center;gap:.25rem;margin-left:auto;padding:.1875rem .5rem;font-size:.75rem;font-weight:500;color:var(--theme-primary-blue, #3b82f6);background:transparent;border:1px solid var(--theme-primary-blue, #3b82f6);border-radius:var(--radius-sm, .25rem);cursor:pointer;white-space:nowrap;flex-shrink:0;transition:background .15s,color .15s}.main-menu__clear-filters-btn:hover{background:var(--theme-primary-blue, #3b82f6);color:#fff}.main-menu__clear-filters-btn:focus-visible{outline:2px solid var(--theme-primary-blue, #3b82f6);outline-offset:2px}html.dark .main-menu__results-header,html.dark .main-menu__header,html.dark .main-menu__search{background:var(--theme-bg-elevated, #1f2937);border-color:var(--theme-border-soft, #4b5563)}html.dark .main-menu__no-results-icon{color:var(--theme-text-tertiary, #6b7280)}.main-menu__error{text-align:center;padding:3rem 2rem;background-color:var(--bg-error-subtle, #fef2f2);border:2px solid var(--border-error, #fecaca);border-radius:var(--radius-lg, .5rem);margin:1rem 0}.main-menu__error-text{color:var(--error, #ef4444);margin-bottom:1.5rem;font-size:1.125rem;font-weight:500}.main-menu__error-btn{background:linear-gradient(135deg,var(--primary-blue, #3b82f6),var(--primary-blue-dark, #2563eb));color:var(--text-on-colored, #ffffff);padding:.75rem 1.5rem;border-radius:var(--radius-md, .375rem);border:none;cursor:pointer;transition:all .2s ease;font-weight:500;box-shadow:var(--shadow-interactive, 0 2px 4px rgba(0, 0, 0, .1))}.main-menu__error-btn:hover{background-color:var(--theme-accent-secondary, #8b5cf6)}.main-menu__error-btn:active{transform:translateY(0)}@media(max-width:639px){.main-menu{margin:0;padding:0;border-radius:0;border:none;background:var(--theme-bg-primary, #f9fafb);box-shadow:none;width:100%;max-width:100%;min-width:0;overflow-x:hidden;box-sizing:border-box;flex:1;min-height:0;display:flex;flex-direction:column}.main-menu__header{width:100%;max-width:100%;overflow:visible;flex-direction:row;gap:.375rem;padding:.375rem;flex-wrap:nowrap;height:3.5625rem;min-height:3.5625rem;flex-shrink:0;align-items:center}.main-menu__header .main-menu__search,.main-menu__header .main-menu__search-row{flex:1;min-width:0;max-width:100%}.main-menu__search{margin-bottom:.25rem;max-width:100%;width:100%;overflow-x:hidden}.main-menu__grid{padding:var(--grid-padding-mobile);max-height:var(--menu-content-height-mobile);overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable;width:100%;max-width:100%;scrollbar-width:thin;scrollbar-color:var(--theme-border-medium, #e5e7eb) transparent;border:1px solid var(--theme-border-soft, #e5e7eb);border-radius:.75rem;background:var(--theme-bg-elevated, #ffffff)}.main-menu .progression-dashboard{max-height:var(--menu-content-height-mobile);height:var(--menu-content-height-mobile);overflow:hidden;box-sizing:border-box;flex:none;border:1px solid var(--theme-border-soft, #e5e7eb);border-radius:.75rem;background:var(--theme-bg-elevated, #ffffff)}.main-menu .progression-dashboard__units{flex:1;max-height:none;overflow-y:auto}.main-menu__grid-container{width:100%;max-width:100%;overflow-x:hidden}.main-menu__grid-container>*{min-height:44px;min-width:44px;max-width:100%;box-sizing:border-box}.main-menu__view-btn{font-size:.75rem;padding:0 .5rem;height:2.3125rem;flex-shrink:0}.main-menu__view-toggle{height:2.8125rem;flex-shrink:0}.main-menu__view-icon{width:1rem;height:1rem}.main-menu .search-bar,.main-menu .search-bar *{max-width:100%;box-sizing:border-box}.main-menu .module-card{box-sizing:border-box}}@media(max-width:374px){.main-menu{padding:.125rem}.main-menu__search{margin-bottom:.125rem}.main-menu__grid{padding:.25rem;max-height:var(--menu-content-height-mobile)}.main-menu .progression-dashboard{max-height:var(--menu-content-height-mobile);height:var(--menu-content-height-mobile);overflow:hidden;box-sizing:border-box;flex:none}.main-menu .progression-dashboard__units{flex:1;max-height:none;overflow-y:auto}}.main-menu__grid-container>*:focus-visible{outline:3px solid var(--theme-primary-blue, #3b82f6);outline-offset:2px;border-radius:var(--radius-md, .375rem)}@media(prefers-contrast:high){.main-menu{border:2px solid var(--theme-text-primary, #374151)}.main-menu__grid{border:3px solid var(--theme-border-medium, #e5e7eb)}.main-menu__no-results,.main-menu__error{border:3px solid var(--theme-text-primary, #374151)}}@media(prefers-reduced-motion:reduce){.main-menu,.main-menu__grid,.main-menu__search:before,.main-menu__error-btn{transition:none;animation:none}.app-router__loader:before{animation:none}}html.dark .main-menu{background:linear-gradient(135deg,var(--theme-bg-primary, #111827) 0%,var(--theme-bg-elevated, #1f2937) 50%,var(--theme-bg-subtle, #374151) 100%);border-color:#4b5563}html.dark .main-menu__grid{background:linear-gradient(145deg,var(--theme-bg-primary, #111827) 0%,var(--theme-bg-elevated, #1f2937) 50%,var(--theme-bg-subtle, #374151) 100%);border-color:var(--theme-border-soft, #4b5563);box-shadow:var( --shadow-card-default, 0 1px 3px rgba(0, 0, 0, .3), 0 4px 12px rgba(0, 0, 0, .2) )}html.dark .main-menu__grid::-webkit-scrollbar-thumb{background-color:var(--theme-border-soft, #f3f4f6)}html.dark .main-menu__grid::-webkit-scrollbar-thumb:hover{background-color:var(--theme-border-medium, #e5e7eb)}@media print{.main-menu__search,.main-menu__error-btn{display:none}.main-menu{box-shadow:none;border:1px solid #000}}.main-menu__search,.main-menu__view-toggle,.main-menu__grid,.main-menu__no-results,.main-menu__error,.main-menu__results-header{margin-left:auto;margin-right:auto;box-sizing:border-box}.main-menu__search{max-width:100%}.main-menu__view-toggle{max-width:280px;display:flex;background:#e5e7eb;border-radius:.75rem;padding:.25rem;gap:.125rem;height:2.8125rem;align-items:center}.main-menu__grid{max-width:100%}.main-menu__no-results,.main-menu__error{max-width:100%;margin-left:auto;margin-right:auto}@media(max-width:379px){.main-menu__grid{margin-left:0;margin-right:0;width:100%}}@media(min-width:880px){.main-menu__search{max-width:420px}}@layer overrides{.main-menu>.main-menu__search{width:100%;max-width:280px;margin-left:auto;margin-right:auto;box-sizing:border-box;display:flex;justify-content:center}.main-menu>.main-menu__search>.search-bar{width:100%;max-width:100%;margin:0;box-sizing:border-box;flex-shrink:0}@media(max-width:379px){.main-menu>.main-menu__search{max-width:220px}}@media(min-width:380px)and (max-width:639px){.main-menu>.main-menu__search{max-width:280px}}@media(min-width:640px)and (max-width:879px){.main-menu>.main-menu__search{max-width:360px}}@media(min-width:880px){.main-menu>.main-menu__search{max-width:420px}}.main-menu .main-menu__search .search-bar .search-bar__input{width:100%;box-sizing:border-box}}@media(min-width:640px){.main-menu{padding:.75rem}}.dark .main-menu__view-btn{color:#9ca3af}.dark .main-menu__view-btn:not(.main-menu__view-btn--active):hover{background:#4b5563;color:#f9fafb}.dark .main-menu__view-btn--active:hover{background:#2563eb;color:#fff}.dark .main-menu__view-btn--active{background:#3b82f6;color:#fff}.main-menu__view-btn:focus-visible{outline:2px solid #3b82f6;outline-offset:-2px}.dark .main-menu__view-btn:focus-visible{outline-color:#60a5fa}.main-menu__view-btn:hover .main-menu__view-icon,.main-menu__view-btn--active .main-menu__view-icon{opacity:1}.dark .main-menu__view-toggle{background:#374151}:root:not(.dark) .main-menu__view-toggle{background:#e5e7eb}.main-menu__header .main-menu__search-row{flex:1;min-width:0;max-width:100%;overflow:visible}.main-menu__header .main-menu__search{flex:1;min-width:0;max-width:100%;overflow:hidden;margin-bottom:0}.main-menu__header .search-bar,.main-menu__header .search-bar__input{width:100%;max-width:100%;min-width:0;box-sizing:border-box}.main-menu,.main-menu *,.module-card,.module-card *{z-index:auto}.main-menu__header,.main-menu__view-toggle,.main-menu__view-btn{z-index:1}.module-card__status-indicator,.module-card__status-icon,.module-card__status{z-index:2}.search-bar,.search-bar *{z-index:3}html.dark .main-menu__no-results{background-color:var(--theme-bg-elevated, #1f2937);border-color:var(--theme-border-soft, #4b5563);color:var(--theme-text-primary, #ffffff)}html.dark .main-menu__no-results-text{color:var(--theme-text-primary, #ffffff)}html.dark .main-menu__no-results-hint{color:var(--theme-text-secondary, #e5e7eb)}html.dark .main-menu__error{background-color:var(--theme-bg-elevated, #1f2937);border-color:var(--theme-border-soft, #4b5563)}html.dark .main-menu__error-text{color:var(--theme-error, #f87171)}@media(min-width:1920px){.main-menu{max-width:min(43.5rem,90vw)!important}}.score-display-compact{display:flex;align-items:center;justify-content:center}.score-display-compact__container{height:40px;display:flex;align-items:center;justify-content:center;padding:0 .75rem;background-color:var(--theme-bg-elevated, #ffffff);border:1px solid var(--theme-border-soft, #f3f4f6);border-radius:var(--radius-md, .375rem);font-size:var(--score-font-size, .8125rem);font-weight:500;box-shadow:var(--shadow-subtle, 0 1px 3px rgba(0, 0, 0, .1))}.score-display-compact__container--in-game{min-width:160px}.score-display-compact__container--full{min-width:200px}.score-display-compact__session,.score-display-compact__global,.score-display-compact__main{display:flex;align-items:center;gap:.5rem}.score-display-compact__icon{font-size:1.25rem;line-height:1;display:flex;align-items:center}.score-display-compact__values{display:flex;align-items:center;gap:.25rem;line-height:1}.score-display-compact__correct{font-weight:600;color:var(--success, #10b981);line-height:1}.score-display-compact__incorrect{font-weight:600;color:var(--error, #ef4444);line-height:1}.score-display-compact__separator{color:var(--theme-text-tertiary, #9ca3af);font-weight:400;line-height:1}.score-display-compact__divider{width:1px;height:24px;background-color:var(--theme-border-soft, #f3f4f6);margin:0 .5rem}.score-display-compact__accuracy{font-weight:600;color:var(--theme-text-secondary, #6b7280);font-size:inherit;line-height:1}.score-display-compact__total-score{font-weight:700;color:var(--theme-text-primary, #e5e7eb);font-size:inherit;line-height:1}.score-display-compact__icon--trophy{color:var(--warning, #f59e0b);display:flex;align-items:center}.score-display-compact__progress{display:flex;align-items:center;gap:.375rem;line-height:1}.score-display-compact__progress-label{font-weight:600;color:var(--theme-text-secondary, #6b7280);font-size:inherit;line-height:1;white-space:nowrap}.score-display-compact__progress-bar{width:50px;height:5px;background-color:var(--theme-border-soft, #f3f4f6);border-radius:3px;overflow:hidden}.score-display-compact__progress-fill{height:100%;width:var(--progress-width, 0%);background-color:var(--success, #10b981);border-radius:3px;transition:width .3s ease-in-out}@media(min-width:600px){.score-display-compact__container--in-game{min-width:160px}.score-display-compact__container--full{min-width:200px}}@media(min-width:520px)and (max-width:599px){.score-display-compact__container{height:38px;--score-font-size: .8125rem}.score-display-compact__container--in-game{min-width:140px}.score-display-compact__container--full{min-width:170px}.score-display-compact__accuracy{min-width:35px}.score-display-compact__progress-bar{width:40px}}@media(max-width:519px){.score-display-compact__container{padding:0 .375rem;height:28px;justify-content:center;white-space:nowrap;--score-font-size: .6875rem}.score-display-compact__container--in-game{min-width:100px}.score-display-compact__container--full{min-width:130px}.score-display-compact__icon{font-size:.875rem}.score-display-compact__values{gap:.125rem;justify-content:center;white-space:nowrap}.score-display-compact__accuracy{min-width:28px;text-align:center}.score-display-compact__divider{height:16px;margin:0 .25rem}.score-display-compact__progress{gap:.25rem}.score-display-compact__progress-bar{width:28px;height:3px}.score-display-compact__session,.score-display-compact__global,.score-display-compact__main{gap:.375rem}}@media(max-width:360px){.score-display-compact__progress,.score-display-compact__divider{display:none}.score-display-compact__container--full{min-width:90px}}@media(max-width:310px){.score-display-compact__container{padding:0 .125rem;height:20px;--score-font-size: .5625rem}.score-display-compact__container--in-game{min-width:60px}.score-display-compact__container--full{min-width:70px}.score-display-compact__icon{display:none}.score-display-compact__accuracy{min-width:14px}}@media(prefers-reduced-motion:reduce){.score-display-compact__progress-fill{transition:none}}@media(prefers-contrast:high){.score-display-compact__container{border-width:2px;border-color:var(--theme-text-primary, #374151)}.score-display-compact__progress-fill{background-color:var(--theme-text-primary, #374151)}}.search-bar{position:relative;width:100%;max-width:100%;margin:0 auto;background:linear-gradient(145deg,var(--theme-bg-elevated, #ffffff) 0%,var(--theme-bg-subtle, #fafafa) 100%);border-radius:var(--radius-lg, .5rem);border:1.5px solid var(--theme-border-medium, #e5e7eb);box-shadow:inset 0 1px #ffffff1a,0 1px 3px #00000005;transition:all .3s cubic-bezier(.25,.46,.45,.94);overflow:hidden}.search-bar:hover{background:linear-gradient(145deg,var(--theme-bg-subtle, #fafafa) 0%,var(--theme-bg-elevated, #ffffff) 100%);border-color:#3b82f626;box-shadow:inset 0 1px #ffffff26,0 2px 6px #0000000a;transform:translateY(-.5px)}.search-bar:focus-within{background:linear-gradient(145deg,var(--theme-bg-elevated, #ffffff) 0%,var(--theme-bg-primary, #f9fafb) 100%);border:2px solid rgba(59,130,246,.4);box-shadow:inset 0 1px #fff3,inset 0 0 12px #3b82f61a,0 2px 8px #3b82f626;transform:translateY(-1px);transition:all .2s cubic-bezier(.25,.46,.45,.94)}.search-bar__icon{position:absolute;top:50%;left:.875rem;transform:translateY(-50%);pointer-events:none;z-index:2;line-height:0}.search-bar__icon-svg{width:1.25rem;height:1.25rem;color:var(--theme-text-secondary, #6b7280);stroke:var(--theme-text-secondary, #6b7280);fill:none;transition:color .2s ease}.search-bar:focus-within .search-bar__icon-svg{color:var(--theme-primary-blue, #3b82f6);stroke:var(--theme-primary-blue, #3b82f6)}.search-bar__input{width:100%;padding:.75rem 3.5rem .75rem 3rem;background-color:transparent;border:none;outline:none;font-size:.875rem;font-weight:400;line-height:1.3;color:var(--theme-text-primary, #374151);transition:all .2s ease;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-height:2.5rem}.search-bar__input::placeholder{color:var(--theme-text-tertiary, #9ca3af);font-weight:400;font-size:.75rem}.search-bar__input:focus::placeholder{color:var(--theme-text-secondary, #6b7280);font-size:.75rem}.search-bar__input:empty:before{content:attr(data-placeholder);color:var(--theme-text-tertiary, #9ca3af);font-weight:400;font-size:.75rem;pointer-events:none}.search-bar__input:focus:empty:before{color:var(--theme-text-secondary, #6b7280)}.search-bar__input:disabled{opacity:.6;cursor:not-allowed}.search-bar__clear{position:absolute;top:50%;right:.875rem;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;width:1.5rem;height:1.5rem;background-color:#0000000d;border:none;border-radius:50%;cursor:pointer;transition:all .2s ease;z-index:2;touch-action:manipulation}.search-bar__clear:hover{background-color:#0000001a;transform:translateY(-50%) scale(1.05)}.search-bar__clear:active{transform:translateY(-50%) scale(.95)}.search-bar__clear-icon{width:.75rem;height:.75rem;color:var(--theme-text-secondary, #6b7280);stroke:var(--theme-text-secondary, #6b7280);fill:none;stroke-width:2;transition:color .2s ease}.search-bar__clear:hover .search-bar__clear-icon{color:var(--theme-text-primary, #374151);stroke:var(--theme-text-primary, #374151)}@media(max-width:639px){.search-bar{max-width:100%;border-radius:var(--radius-md, .375rem);height:2.8125rem;min-height:2.8125rem}.search-bar:focus-within .search-bar__icon,.search-bar--has-query .search-bar__icon{display:none}.search-bar:focus-within .search-bar__input,.search-bar--has-query .search-bar__input{padding-left:.75rem}.search-bar__input{font-size:1rem;padding:.625rem 3rem .625rem 2.75rem;height:100%}.search-bar__input::placeholder{font-size:0}.search-bar__input:focus::placeholder{font-size:0}.search-bar__input:empty:before{font-size:0}.search-bar__icon{left:.75rem}.search-bar__icon-svg{width:1.125rem;height:1.125rem}.search-bar__clear{right:.25rem;width:2.75rem;height:2.75rem}.search-bar__clear-icon{width:.875rem;height:.875rem}}@media(min-width:768px){.search-bar{max-width:100%}.search-bar__input{padding:.75rem 3.5rem .75rem 3rem;font-size:1rem}.search-bar__input::placeholder{font-size:.75rem}.search-bar__input:focus::placeholder{font-size:.75rem}.search-bar__icon{left:.875rem}.search-bar__icon-svg{width:1.375rem;height:1.375rem}.search-bar__clear{right:.875rem;width:1.625rem;height:1.625rem}.search-bar__clear-icon{width:1.125rem;height:1.125rem}}.search-bar__input:focus-visible{outline:3px solid var(--theme-primary-blue, #3b82f6);outline-offset:2px}.search-bar__clear:focus-visible{outline:2px solid var(--theme-primary-blue, #3b82f6);outline-offset:2px;border-radius:var(--radius-sm, .25rem)}@media(prefers-contrast:high){.search-bar{border-width:3px;border-color:var(--theme-text-primary, #374151)}.search-bar__icon-svg,.search-bar__clear-icon{color:var(--theme-text-primary, #374151);stroke:var(--theme-text-primary, #374151);stroke-width:2}.search-bar__input{color:var(--theme-text-primary, #374151)}.search-bar__input::placeholder{color:var(--theme-text-secondary, #6b7280)}}@media(prefers-reduced-motion:reduce){.search-bar,.search-bar__input,.search-bar__icon-svg,.search-bar__clear,.search-bar__clear-icon{transition:none}.search-bar__clear:active{transform:translateY(-50%)}}html.dark .search-bar{box-shadow:0 2px 8px #0000004d}html.dark .search-bar:hover{box-shadow:0 4px 12px #0006}html.dark .search-bar:focus-within{border:2px solid rgba(96,165,250,.5);box-shadow:inset 0 1px #ffffff1a,inset 0 0 12px #60a5fa26,0 2px 8px #60a5fa33}@media print{.search-bar{border:1px solid #000;box-shadow:none}.search-bar__clear{display:none}}.main-menu__search .search-bar{margin:0 auto;width:100%;max-width:100%}html.dark .main-menu__search .search-bar{border:1.5px solid var(--theme-border-soft, #f3f4f6);box-shadow:inset 0 1px #ffffff0d,0 1px 3px #0000004d}@media(min-width:900px){.main-menu__search .search-bar{border-radius:1rem}}@layer overrides{.main-menu .main-menu__search .search-bar{width:100%;max-width:100%;margin:0 auto;box-sizing:border-box}.main-menu .main-menu__search .search-bar .search-bar__input{width:100%;box-sizing:border-box}}.game-controls{display:flex;align-items:center;justify-content:center;gap:.75rem;padding:.5rem;background-color:var(--theme-bg-elevated, #ffffff);border-radius:var(--radius-lg, .5rem);box-shadow:var(--shadow-medium, 0 4px 6px rgba(0, 0, 0, .1));border:1px solid var(--theme-border-soft, #f3f4f6);margin-top:.5rem;flex-wrap:wrap;flex-shrink:0}.game-controls__nav-btn,.game-controls__icon-btn,.game-controls__home-btn{display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;background-color:var(--theme-bg-subtle, #f9fafb);border:1px solid var(--theme-border-soft, #f3f4f6);border-radius:50%;cursor:pointer;transition:var(--transition-shadow),var(--transition-transform);color:var(--theme-text-secondary, #6b7280);flex-shrink:0;box-shadow:var(--shadow-button-default);touch-action:manipulation}.game-controls__nav-btn:hover:not(:disabled),.game-controls__icon-btn:hover:not(:disabled){background-color:var(--theme-primary-blue, #3b82f6);color:#fff;transform:translateY(-1px);box-shadow:var(--shadow-button-hover)}.game-controls__nav-btn:active:not(:disabled),.game-controls__icon-btn:active:not(:disabled),.game-controls__home-btn:active:not(:disabled){transform:translateY(0) scale(.98);box-shadow:var(--shadow-button-active)}.game-controls__nav-btn:focus-visible,.game-controls__icon-btn:focus-visible{outline:2px solid var(--theme-primary-blue, #3b82f6);outline-offset:2px}.game-controls__nav-btn:disabled,.game-controls__icon-btn:disabled{opacity:.5;cursor:not-allowed}.game-controls__nav-icon,.game-controls__action-icon{width:1rem;height:1rem}.game-controls__home-btn:hover:not(:disabled){background-color:var(--theme-text-secondary, #6b7280);color:#fff;transform:translateY(-1px);box-shadow:var(--shadow-button-hover)}.game-controls__home-btn:focus-visible{outline:2px solid var(--theme-text-secondary, #6b7280);outline-offset:2px}.game-controls__home-icon{width:1.125rem;height:1.125rem}@media(max-width:768px){.game-controls{position:sticky;bottom:0;z-index:10}.game-controls__nav-icon,.game-controls__action-icon,.game-controls__primary-icon{width:1.125rem;height:1.125rem}.game-controls__primary-btn{font-weight:700}}.game-controls__primary-btn{display:flex;align-items:center;justify-content:center;gap:.375rem;padding:.5rem 1rem;min-width:8rem;height:2.5rem;border:none;border-radius:9999px;cursor:pointer;font-weight:600;font-size:.875rem;transition:var(--transition-shadow),var(--transition-transform);flex-shrink:0;box-shadow:var(--shadow-button-default);position:relative;overflow:hidden;touch-action:manipulation}.game-controls__primary-btn:after{content:"";position:absolute;top:50%;left:50%;width:0;height:0;border-radius:50%;background-color:#fff9;transform:translate(-50%,-50%);opacity:0;pointer-events:none}.game-controls__primary-btn:active:after{animation:ripple var(--animation-fast) var(--ease-smooth)}.game-controls__primary-btn--blue{background:linear-gradient(135deg,var(--theme-primary-blue, #3b82f6) 0%,var(--theme-primary-purple, #8b5cf6) 100%);color:#fff}.game-controls__primary-btn--green{background:linear-gradient(135deg,var(--theme-success, #10b981) 0%,var(--theme-primary-blue, #3b82f6) 100%);color:#fff}.game-controls__primary-btn--purple{background:linear-gradient(135deg,var(--theme-primary-purple, #8b5cf6) 0%,var(--theme-primary-blue, #3b82f6) 100%);color:#fff}.game-controls__primary-btn--orange{background:linear-gradient(135deg,#ea580c,#f97316);color:#fff}.game-controls__primary-btn--blue:hover:not(:disabled),.game-controls__primary-btn--green:hover:not(:disabled),.game-controls__primary-btn--purple:hover:not(:disabled),.game-controls__primary-btn--orange:hover:not(:disabled){transform:translateY(-1px);box-shadow:var(--shadow-button-hover)}.game-controls__primary-btn--blue:active:not(:disabled),.game-controls__primary-btn--green:active:not(:disabled),.game-controls__primary-btn--purple:active:not(:disabled),.game-controls__primary-btn--orange:active:not(:disabled){transform:translateY(0) scale(.98);box-shadow:var(--shadow-button-active)}.game-controls__primary-btn--green:active:not(:disabled){animation:pulse-success var(--animation-normal) var(--ease-smooth)}.game-controls__primary-btn--blue:focus-visible{outline:2px solid var(--theme-primary-blue, #3b82f6);outline-offset:2px}.game-controls__primary-btn--green:focus-visible{outline:2px solid var(--theme-success, #10b981);outline-offset:2px}.game-controls__primary-btn--purple:focus-visible{outline:2px solid var(--theme-primary-purple, #8b5cf6);outline-offset:2px}.game-controls__primary-btn--orange:focus-visible{outline:2px solid #ea580c;outline-offset:2px}.game-controls__primary-btn:disabled{opacity:.5;cursor:not-allowed;transform:none}.game-controls__primary-icon{width:1rem;height:1rem}@media(min-width:769px){.game-controls{gap:.625rem;padding:.625rem;margin:.5rem 0}.game-controls__primary-btn{min-width:6rem;font-size:.75rem;padding:.5rem .75rem}.game-controls__nav-btn,.game-controls__icon-btn,.game-controls__home-btn{width:2rem;height:2rem}}@media(max-width:768px)and (min-width:641px){.game-controls{gap:.375rem;padding:.375rem;margin:.25rem 0;flex-wrap:wrap}.game-controls__primary-btn{min-width:4rem;font-size:.75rem;padding:.25rem .5rem;height:2.5rem}.game-controls__nav-btn,.game-controls__icon-btn,.game-controls__home-btn{width:2.5rem;height:2.5rem}}@media(max-width:640px){.game-controls{gap:.375rem;padding:.375rem;flex-wrap:wrap;margin:.25rem 0}.game-controls__primary-btn{min-width:5rem;font-size:.6875rem;padding:.25rem .5rem;height:2.75rem}.game-controls__nav-btn,.game-controls__icon-btn,.game-controls__home-btn{width:2.75rem;height:2.75rem}}@media(max-width:400px){.game-controls{gap:.375rem;padding:.375rem;margin:.25rem 0}.game-controls__primary-btn{min-width:5.5rem;width:5.5rem;font-size:.625rem;padding:.3125rem .5rem;height:2.75rem;text-align:center}.game-controls__nav-btn,.game-controls__icon-btn,.game-controls__home-btn{width:2.75rem;height:2.75rem}}@media(max-width:320px){.game-controls{gap:.25rem;padding:.25rem}.game-controls__primary-btn{min-width:4.5rem;width:4.5rem;font-size:.6875rem;padding:.25rem .375rem;height:2.75rem}.game-controls__nav-btn,.game-controls__icon-btn,.game-controls__home-btn{width:2.75rem;height:2.75rem}}@media(max-height:700px){.game-controls{padding:.25rem;margin-top:.25rem;gap:.5rem}}html.dark .game-controls{background-color:var(--theme-bg-elevated, #1f2937);border-color:var(--theme-border-soft, #4b5563)}html.dark .game-controls__nav-btn,html.dark .game-controls__icon-btn,html.dark .game-controls__home-btn{background-color:var(--theme-bg-subtle, #374151);border-color:var(--theme-border-soft, #4b5563);color:var(--theme-text-secondary, #d1d5db)}html.dark .game-controls__home-btn:hover:not(:disabled){background-color:var(--theme-text-secondary, #d1d5db);color:var(--theme-bg-elevated, #1f2937)}.toast-card{position:relative;overflow:hidden;border-radius:6px;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;border:1px solid #e5e7eb;pointer-events:auto;transition:all .3s ease-out;background-color:#fff;width:calc(100vw - 32px);max-width:320px;min-height:44px;margin:0 16px 8px;z-index:99999}.dark .toast-card{background-color:#1f2937;border-color:#374151;box-shadow:0 4px 6px -1px #0000004d,0 2px 4px -1px #0003}.toast-card__container{width:100%;height:100%}.toast-card__content{display:flex;align-items:flex-start;padding:12px;gap:8px}.toast-card__icon{flex-shrink:0;margin-top:2px;width:16px;height:16px}.toast-card__icon-svg{width:16px;height:16px}.toast-card__text{flex:1;min-width:0}.toast-card__title{font-size:14px;font-weight:600;color:#111827;line-height:1.2;margin:0}.dark .toast-card__title{color:#f9fafb}.toast-card__message{font-size:12px;color:#4b5563;margin-top:2px;line-height:1.3;margin-bottom:0}.dark .toast-card__message{color:#d1d5db}.toast-card__action{flex-shrink:0;padding:4px 8px;border-radius:4px;font-size:12px;font-weight:500;background-color:#3b82f6;color:#fff;border:none;cursor:pointer;min-height:32px;transition:background-color .2s}.toast-card__action:hover{background-color:#2563eb}.toast-card__action:focus{outline:2px solid #3b82f6;outline-offset:2px}.toast-card__close{flex-shrink:0;min-width:48px;min-height:48px;display:flex;align-items:center;justify-content:center;margin-left:8px;padding:6px;border-radius:6px;color:#9ca3af;background-color:transparent;border:none;cursor:pointer;transition:colors .2s}.toast-card__close:hover{color:#6b7280;background-color:#f3f4f6}.dark .toast-card__close:hover{color:#d1d5db;background-color:#374151}.toast-card__close:focus{outline:2px solid #3b82f6;outline-offset:2px}.toast-card__close-icon{width:1.25rem;height:1.25rem}.toast-card--success{border-left:4px solid #10b981}.toast-card--success .toast-card__icon-svg{color:#10b981}.toast-card--error{border-left:4px solid #ef4444}.toast-card--error .toast-card__icon-svg{color:#ef4444}.toast-card--warning{border-left:4px solid #f59e0b}.toast-card--warning .toast-card__icon-svg{color:#f59e0b}.toast-card--info{border-left:4px solid #3b82f6}.toast-card--info .toast-card__icon-svg{color:#3b82f6}.toast-card--entering{transform:translate(100%);opacity:0}.toast-card--visible{transform:translate(0);opacity:1}.toast-card--exiting{transform:translate(100%);opacity:0}.toast-card--compact{padding:8px}.toast-card--compact .toast-card__content{padding:8px;gap:6px}.toast-card--compact .toast-card__title{font-size:13px}.toast-card--compact .toast-card__message{font-size:11px}.toast-card--minimal{min-height:36px}.toast-card--minimal .toast-card__content{padding:8px 12px}.toast-card--minimal .toast-card__close{min-width:48px;min-height:48px}@media(max-width:767px){.toast-container{top:.75rem;right:50%;left:auto;transform:translate(50%);max-width:none;width:auto}.toast-card{width:auto;max-width:calc(100vw - 2rem);min-width:0;margin:0 0 6px;border-radius:999px;border-left-width:1px;min-height:0}.toast-card__content{padding:8px 14px;gap:6px;align-items:center}.toast-card__icon{width:16px;height:16px;margin-top:0}.toast-card__icon-svg{width:16px;height:16px}.toast-card__title{font-size:13px;font-weight:600;white-space:nowrap}.toast-card__message,.toast-card__close{display:none}.toast-card__action{min-height:32px;padding:4px 10px;font-size:12px;border-radius:999px}.toast-card--entering{transform:translateY(-120%);opacity:0}.toast-card--visible{transform:translateY(0);opacity:1}.toast-card--exiting{transform:translateY(-120%);opacity:0}}@media(min-width:640px){.toast-card{width:320px;margin:0 0 8px}}@media(min-width:1024px){.toast-card{max-width:380px}.toast-card__title{font-size:15px}.toast-card__message{font-size:13px}}@media(max-width:639px)and (orientation:landscape){.toast-card{padding:8px 12px}.toast-card__content{padding:8px}}@media(prefers-reduced-motion:reduce){.toast-card{transition:none}.toast-card--entering,.toast-card--visible,.toast-card--exiting{transform:none;transition:opacity .2s ease}}@media(prefers-contrast:high){.toast-card{border-width:2px;box-shadow:0 2px 4px #0000004d}.toast-card__title{font-weight:700}.toast-card--success,.toast-card--error,.toast-card--warning,.toast-card--info{border-left-width:6px}}.toast-container{position:fixed;top:1rem;right:1rem;z-index:50;pointer-events:none;max-width:420px}.toast-container>*+*{margin-top:.5rem}.toast{position:relative;overflow:hidden;border-radius:var(--radius-md, .375rem);box-shadow:0 10px 15px -3px #0000001a;border:1px solid var(--theme-border-soft, #f3f4f6);pointer-events:auto;transform:translate(100%);opacity:0;transition:all .3s ease-out;background-color:var(--theme-bg-elevated, #ffffff);min-width:320px}@media(max-width:640px){.toast-container{top:.75rem;right:50%;left:auto;transform:translate(50%);max-width:none;width:auto}}@media(prefers-contrast:high){.toast{border-width:2px}}@media(prefers-reduced-motion:reduce){.toast{transition:none;transform:translate(0);opacity:1}}.download-manager *,.download-manager *:before,.download-manager *:after{box-sizing:border-box}.download-manager{position:fixed;inset:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;padding:1rem;z-index:60;min-height:100vh;min-height:100dvh;overflow:hidden;animation:fadeIn .2s ease-out}.download-manager__container{background-color:var(--theme-bg-elevated, #ffffff);border:1px solid var(--theme-border-modal, rgba(0, 0, 0, .1));border-radius:var(--radius-lg, .5rem);box-shadow:var(--shadow-strong, 0 10px 15px rgba(0, 0, 0, .1));max-width:20rem;width:100%;max-height:90vh;display:flex;flex-direction:column;overflow:hidden;position:relative}.download-manager__header{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.5rem;min-height:3rem;background:linear-gradient(135deg,#3b82f6,#8b5cf6);border-radius:var(--radius-lg, .5rem) var(--radius-lg, .5rem) 0 0;flex-shrink:0;position:relative;z-index:100}.download-manager__title{font-size:.875rem;font-weight:700;color:#fffffff2;text-shadow:0 1px 2px rgba(0,0,0,.1);margin:0;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.download-manager__header .modal__close-btn{color:#ffffffe6;background-color:#ffffff26;border:1px solid rgba(255,255,255,.25);border-radius:50%;width:2.75rem;height:2.75rem}.download-manager__header .modal__close-btn:hover{color:#fff;background-color:#fff3;border-color:#fff6}.download-manager__content{padding:.75rem;flex:1 1 auto;overflow-y:auto;overflow-x:hidden;display:flex;flex-direction:column;gap:.75rem;background-color:var(--theme-bg-subtle, #fafafa);border-radius:0 0 var(--radius-lg, .5rem) var(--radius-lg, .5rem);min-height:0}.download-manager__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.375rem}.download-manager__item{display:flex;align-items:center;gap:.5rem;padding:.5rem .625rem;background-color:var(--theme-bg-elevated, #ffffff);border:1px solid var(--theme-border-soft, #e5e7eb);border-radius:var(--radius-md, .375rem);transition:border-color .15s ease}.download-manager__item:hover{border-color:var(--theme-primary-blue, #3b82f6)}.download-manager__item-name{font-size:.8125rem;font-weight:700;color:var(--theme-primary-blue, #3b82f6);min-width:1.75rem}.download-manager__item-info{flex:1;font-size:.6875rem;color:var(--theme-text-secondary, #6b7280)}.download-manager__item-delete{display:flex;align-items:center;justify-content:center;width:1.75rem;height:1.75rem;padding:0;background:transparent;border:1px solid transparent;border-radius:var(--radius-sm, .25rem);color:var(--theme-text-secondary, #6b7280);cursor:pointer;transition:all .15s ease}.download-manager__item-delete:hover{color:#ef4444;background-color:#ef444414;border-color:#ef444433}.download-manager__total{font-size:.75rem;font-weight:600;color:var(--theme-text-secondary, #6b7280);padding:.375rem 0;border-top:1px solid var(--theme-border-soft, #e5e7eb);text-align:right}.download-manager__empty{display:flex;align-items:center;justify-content:center;padding:1.5rem 1rem;text-align:center}.download-manager__empty p{font-size:.75rem;color:var(--theme-text-secondary, #6b7280);margin:0;line-height:1.5}.download-manager__delete-all{background:linear-gradient(135deg,#ef4444,#dc2626)}.download-manager__delete-all:hover{background:linear-gradient(135deg,#dc2626,#b91c1c)}@media(max-width:400px){.download-manager{padding:.5rem;align-items:flex-start;padding-top:20px}.download-manager__container{max-width:92vw;max-height:85vh}.download-manager__title{font-size:.8125rem}.download-manager__content{padding:.5rem}}@media(min-width:401px){.download-manager{align-items:flex-start;padding-top:8vh}}html.dark .download-manager__container{background-color:var(--theme-bg-elevated, #1f2937);border-color:var(--theme-border-modal-dark, rgba(255, 255, 255, .2))}html.dark .download-manager__content{background-color:var(--theme-bg-primary, #111827)}html.dark .download-manager__item{background-color:var(--theme-bg-elevated, #1f2937);border-color:#ffffff26}html.dark .download-manager__item:hover{border-color:var(--theme-accent-primary, #60a5fa)}html.dark .download-manager__item-name{color:var(--theme-accent-primary, #60a5fa)}html.dark .download-manager__item-info,html.dark .download-manager__item-delete{color:var(--theme-text-secondary, #9ca3af)}html.dark .download-manager__item-delete:hover{color:#f87171;background-color:#f871711a;border-color:#f8717133}html.dark .download-manager__total{color:var(--theme-text-secondary, #9ca3af);border-top-color:#ffffff1a}html.dark .download-manager__empty p{color:var(--theme-text-secondary, #9ca3af)}html.dark .download-manager__header .modal__close-btn{color:#fffffff2;background-color:#ffffff26;border-color:#ffffff40}html.dark .download-manager__header .modal__close-btn:hover{color:#fff;background-color:#ffffff40;border-color:#ffffff80}.confirm-modal{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;background-color:#00000080;backdrop-filter:blur(4px);animation:confirm-modal-fade-in var(--animation-fast, .15s) var(--ease-smooth, ease-out)}@keyframes confirm-modal-fade-in{0%{opacity:0}to{opacity:1}}@keyframes confirm-modal-slide-up{0%{opacity:0;transform:translateY(12px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}.confirm-modal__container{background-color:var(--theme-bg-elevated, #ffffff);border-radius:16px;box-shadow:var(--shadow-modal, 0 20px 60px rgba(0, 0, 0, .3));width:min(90vw,400px);max-height:90vh;overflow:hidden;animation:confirm-modal-slide-up var(--animation-normal, .25s) var(--ease-smooth, ease-out)}.confirm-modal__header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1rem .75rem;gap:.5rem}.confirm-modal__title-section{display:flex;align-items:center;gap:.5rem}.confirm-modal__icon{width:1.25rem;height:1.25rem;flex-shrink:0}.confirm-modal__icon--danger{color:#ef4444}.confirm-modal__icon--warning{color:#f59e0b}.confirm-modal__title{font-size:1rem;font-weight:600;color:var(--theme-text-primary, #1f2937);margin:0}.confirm-modal__body{padding:0 1rem 1rem}.confirm-modal__message{font-size:.875rem;color:var(--theme-text-secondary, #6b7280);line-height:1.5;margin:0}.confirm-modal__actions{display:flex;justify-content:flex-end;gap:.5rem;padding:.75rem 1rem;border-top:1px solid var(--theme-border-soft, #e5e7eb);background-color:var(--theme-bg-subtle, #f9fafb);border-radius:0 0 16px 16px}.confirm-modal__btn{padding:.5rem 1.25rem;border-radius:10px;font-weight:500;font-size:.8125rem;border:none;cursor:pointer;transition:var(--transition-interactive, all .15s ease);min-height:2.25rem}.confirm-modal__btn--cancel{background-color:var(--theme-bg-elevated, #ffffff);color:var(--theme-text-secondary, #6b7280);border:1px solid var(--theme-border-soft, #e5e7eb)}.confirm-modal__btn--cancel:hover{background-color:var(--theme-bg-subtle, #f3f4f6);color:var(--theme-text-primary, #374151)}.confirm-modal__btn--danger{background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff;box-shadow:0 1px 3px #ef44444d}.confirm-modal__btn--danger:hover{background:linear-gradient(135deg,#dc2626,#b91c1c);box-shadow:0 2px 6px #ef444466;transform:translateY(-1px)}.confirm-modal__btn--danger:active{transform:translateY(0) scale(.98)}.confirm-modal__btn--warning{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;box-shadow:0 1px 3px #f59e0b4d}.confirm-modal__btn--warning:hover{background:linear-gradient(135deg,#d97706,#b45309);box-shadow:0 2px 6px #f59e0b66;transform:translateY(-1px)}.confirm-modal__btn--warning:active{transform:translateY(0) scale(.98)}html.dark .confirm-modal__container{background-color:var(--theme-bg-elevated, #1f2937)}html.dark .confirm-modal__title{color:var(--theme-text-primary, #f9fafb)}html.dark .confirm-modal__message{color:var(--theme-text-secondary, #d1d5db)}html.dark .confirm-modal__actions{background-color:var(--theme-bg-subtle, #111827);border-color:var(--theme-border-soft, #374151)}html.dark .confirm-modal__btn--cancel{background-color:var(--theme-bg-elevated, #1f2937);color:var(--theme-text-secondary, #d1d5db);border-color:var(--theme-border-soft, #374151)}html.dark .confirm-modal__btn--cancel:hover{background-color:var(--theme-bg-subtle, #374151);color:var(--theme-text-primary, #f9fafb)}@media(max-width:640px){.confirm-modal__actions{flex-direction:column-reverse}.confirm-modal__btn{width:100%}}.offline-modal{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:calc(100dvh - 64px);padding:1.5rem;animation:offline-modal-fade-in var(--animation-fast, .15s) var(--ease-smooth, ease-out)}@keyframes offline-modal-fade-in{0%{opacity:0}to{opacity:1}}@keyframes offline-modal-slide-up{0%{opacity:0;transform:translateY(10px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}.offline-modal__container{background-color:var(--theme-bg-elevated, #ffffff);border-radius:14px;box-shadow:var(--shadow-card, 0 4px 16px rgba(0, 0, 0, .08));max-width:18rem;width:100%;overflow:hidden;animation:offline-modal-slide-up var(--animation-normal, .25s) var(--ease-smooth, ease-out)}.offline-modal__header{display:flex;align-items:center;justify-content:center;padding:1.25rem 1rem 0}.offline-modal__icon{font-size:2rem;line-height:1}.offline-modal__body{padding:.625rem 1rem 1rem;text-align:center}.offline-modal__title{font-size:.9375rem;font-weight:600;color:var(--theme-text-primary, #1f2937);margin:0 0 .25rem}.offline-modal__message{font-size:.8125rem;color:var(--theme-text-secondary, #6b7280);margin:0;line-height:1.45}.offline-modal__actions{display:flex;flex-direction:column;gap:.375rem;padding:0 1rem 1rem}.offline-modal__btn{width:100%;padding:.5rem .75rem;border-radius:var(--radius-md, .5rem);font-size:.8125rem;font-weight:500;cursor:pointer;border:none;transition:background-color .15s ease,transform .1s ease;min-height:40px}.offline-modal__btn:active{transform:scale(.98)}.offline-modal__btn--primary{background-color:var(--primary-blue, #3b82f6);color:#fff}.offline-modal__btn--primary:hover{background-color:var(--primary-blue-dark, #2563eb)}.offline-modal__btn--secondary{background-color:var(--theme-bg-subtle, #f3f4f6);color:var(--theme-text-secondary, #6b7280)}.offline-modal__btn--secondary:hover{background-color:var(--theme-bg-soft, #e5e7eb)}.offline-modal__btn:focus-visible{outline:3px solid var(--theme-primary-blue, #3b82f6);outline-offset:2px}@media(max-width:639px){.offline-modal__actions{display:none}.offline-modal{min-height:calc(100dvh - 64px - 4rem);padding:1rem}}@media(min-width:640px){.offline-modal>.game-controls{display:none}}@media(prefers-reduced-motion:reduce){.offline-modal,.offline-modal__container{animation:none}}.unified-filter{flex-shrink:0;position:relative}.unified-filter__toggle-btn{display:flex;align-items:center;justify-content:center;width:2.8125rem;height:2.8125rem;padding:0;background:var(--theme-bg-elevated, #ffffff);border:1.5px solid var(--theme-border-medium, #e5e7eb);border-radius:.75rem;color:var(--theme-text-secondary, #6b7280);cursor:pointer;transition:all .2s ease;touch-action:manipulation;-webkit-user-select:none;user-select:none;position:relative;font-family:inherit}.unified-filter__toggle-btn svg{width:1.125rem;height:1.125rem}.unified-filter__toggle-btn:hover{color:var(--theme-primary-blue, #3b82f6);border-color:#3b82f64d;background:#3b82f60a}.unified-filter__toggle-btn:active{transform:scale(.97)}.unified-filter__toggle-btn:focus-visible{outline:2px solid var(--theme-primary-blue, #3b82f6);outline-offset:2px}.unified-filter__toggle-btn--active{color:var(--theme-primary-blue, #3b82f6);border-color:#3b82f64d;background:#3b82f60f}.unified-filter__badge{position:absolute;top:-.3rem;right:-.3rem;min-width:1.125rem;height:.875rem;padding:0 .25rem;background:#3b82f6;color:#fff;font-size:.5rem;font-weight:700;line-height:.875rem;text-align:center;border-radius:9999px;pointer-events:none;letter-spacing:.02em}.unified-filter__panel{position:absolute;top:calc(100% + .375rem);right:0;z-index:50;background:var(--theme-bg-elevated, #ffffff);border:1px solid var(--theme-border-medium, #e5e7eb);border-radius:.75rem;box-shadow:0 8px 24px #0000001f,0 2px 8px #0000000f;width:fit-content;min-width:20rem;max-width:calc(100vw - 1.5rem);animation:unified-filter-in .15s ease-out}@keyframes unified-filter-in{0%{opacity:0;transform:scale(.95) translateY(-4px)}to{opacity:1;transform:scale(1) translateY(0)}}.unified-filter__header{display:flex;align-items:center;border-bottom:1px solid var(--theme-border-soft, #f3f4f6);padding:.25rem .25rem 0;overflow:hidden}.unified-filter__tabs{display:flex;flex:1;min-width:0;gap:0}.unified-filter__tab{display:flex;align-items:center;gap:.3rem;padding:.5rem;background:none;border:none;border-bottom:2px solid transparent;color:var(--theme-text-secondary, #6b7280);font-family:inherit;font-size:.6875rem;font-weight:500;cursor:pointer;transition:all .15s ease;white-space:nowrap;min-width:0;overflow:hidden}.unified-filter__tab:hover{color:var(--theme-text-primary, #374151)}.unified-filter__tab--active{color:var(--theme-primary-blue, #3b82f6);border-bottom-color:var(--theme-primary-blue, #3b82f6);font-weight:600}.unified-filter__tab svg{flex-shrink:0}.unified-filter__tab-label{line-height:1;overflow:hidden;text-overflow:ellipsis}.unified-filter__tab-count{min-width:1rem;height:.875rem;padding:0 .25rem;background:var(--theme-primary-blue, #3b82f6);color:#fff;font-size:.5rem;font-weight:700;line-height:.875rem;text-align:center;border-radius:9999px;flex-shrink:0}.unified-filter__close{display:flex;align-items:center;justify-content:center;width:1.75rem;height:1.75rem;padding:0;background:none;border:none;border-radius:50%;color:var(--theme-text-secondary, #6b7280);cursor:pointer;transition:all .15s ease;flex-shrink:0}.unified-filter__close:hover{background:#00000014;color:var(--theme-text-primary, #374151)}.unified-filter__close:focus-visible{outline:2px solid var(--theme-primary-blue, #3b82f6);outline-offset:1px}.unified-filter__content{padding:.625rem}.unified-filter__chips{display:flex;flex-wrap:wrap;gap:.375rem}.unified-filter__chip{display:flex;align-items:center;gap:.25rem;padding:.3125rem .625rem;background:var(--theme-bg-elevated, #ffffff);border:1.5px solid var(--theme-border-medium, #e5e7eb);border-radius:9999px;cursor:pointer;font-family:inherit;font-size:.6875rem;font-weight:500;color:var(--theme-text-secondary, #6b7280);transition:all .2s ease;touch-action:manipulation;-webkit-user-select:none;user-select:none;line-height:1}.unified-filter__chip:hover{border-color:#3b82f64d;background:#3b82f60a;color:var(--theme-text-primary, #374151)}.unified-filter__chip:active{transform:scale(.95)}.unified-filter__chip:focus-visible{outline:2px solid var(--theme-primary-blue, #3b82f6);outline-offset:2px}.unified-filter__chip--active{background:linear-gradient(135deg,#3b82f6,#2563eb);border-color:#3b82f6;color:#fff;font-weight:600;box-shadow:0 1px 3px #3b82f64d}.unified-filter__chip--active:hover{background:linear-gradient(135deg,#2563eb,#1d4ed8);border-color:#2563eb;color:#fff}.unified-filter__chip--level.unified-filter__chip--active{background:var(--level-color, #3b82f6);border-color:var(--level-color, #3b82f6);box-shadow:0 1px 3px #0003}.unified-filter__chip--level.unified-filter__chip--active:hover{filter:brightness(.9);background:var(--level-color, #3b82f6);border-color:var(--level-color, #3b82f6);color:#fff}.unified-filter__chip-emoji{font-size:.8125rem;line-height:1;flex-shrink:0}.unified-filter__chip-icon{display:flex;align-items:center;line-height:1;flex-shrink:0}.unified-filter__chip-label{white-space:nowrap;line-height:1}@media(max-width:639px){.unified-filter__panel{position:fixed;inset:auto 0 0;max-width:100%;border-radius:1rem 1rem 0 0;animation:unified-filter-slide-up .2s ease-out}@keyframes unified-filter-slide-up{0%{opacity:0;transform:translateY(100%)}to{opacity:1;transform:translateY(0)}}.unified-filter__tab{flex:1;justify-content:center;padding:.625rem .375rem}.unified-filter__content{padding:.75rem;padding-bottom:calc(.75rem + env(safe-area-inset-bottom,0px))}.unified-filter__chip{font-size:.75rem;padding:.375rem .75rem}}@media(min-width:640px){.unified-filter__chip{font-size:.75rem;padding:.3125rem .75rem}.unified-filter__chip-emoji{font-size:.875rem}}html.dark .unified-filter__toggle-btn{background:var(--theme-bg-elevated, #1f2937);border-color:var(--theme-border-soft, #4b5563);color:var(--theme-text-secondary, #9ca3af)}html.dark .unified-filter__toggle-btn:hover{color:var(--theme-accent-primary, #60a5fa);border-color:#60a5fa4d;background:#60a5fa14}html.dark .unified-filter__toggle-btn--active{color:var(--theme-accent-primary, #60a5fa);border-color:#60a5fa4d;background:#60a5fa1a}html.dark .unified-filter__badge{background:#60a5fa}html.dark .unified-filter__panel{background:var(--theme-bg-elevated, #1f2937);border-color:var(--theme-border-soft, #4b5563);box-shadow:0 8px 24px #0006}html.dark .unified-filter__header{border-bottom-color:var(--theme-border-soft, #4b5563)}html.dark .unified-filter__tab{color:var(--theme-text-secondary, #9ca3af)}html.dark .unified-filter__tab:hover{color:var(--theme-text-primary, #f9fafb)}html.dark .unified-filter__tab--active{color:var(--theme-accent-primary, #60a5fa);border-bottom-color:var(--theme-accent-primary, #60a5fa)}html.dark .unified-filter__tab-count{background:#60a5fa}html.dark .unified-filter__close{color:var(--theme-text-secondary, #9ca3af)}html.dark .unified-filter__close:hover{background:#ffffff1a;color:var(--theme-text-primary, #f9fafb)}html.dark .unified-filter__chip{background:var(--theme-bg-elevated, #1f2937);border-color:var(--theme-border-soft, #4b5563);color:var(--theme-text-secondary, #9ca3af)}html.dark .unified-filter__chip:hover{border-color:#60a5fa4d;background:#60a5fa14;color:var(--theme-text-primary, #f9fafb)}html.dark .unified-filter__chip--active{background:linear-gradient(135deg,#60a5fa,#3b82f6);border-color:#60a5fa;color:#fff}html.dark .unified-filter__chip--active:hover{background:linear-gradient(135deg,#3b82f6,#2563eb);border-color:#3b82f6;color:#fff}html.dark .unified-filter__chip--level.unified-filter__chip--active{background:var(--level-color, #3b82f6);border-color:var(--level-color, #3b82f6);box-shadow:0 1px 3px #0006}html.dark .unified-filter__chip--level.unified-filter__chip--active:hover{background:var(--level-color, #3b82f6);border-color:var(--level-color, #3b82f6);filter:brightness(.85);color:#fff}@media(prefers-contrast:high){.unified-filter__toggle-btn{border-width:2px;border-color:var(--theme-text-primary, #374151)}.unified-filter__chip{border-width:2px}.unified-filter__tab--active{border-bottom-width:3px}}@media(prefers-reduced-motion:reduce){.unified-filter__panel{animation:none}.unified-filter__toggle-btn,.unified-filter__chip,.unified-filter__tab{transition:none}.unified-filter__toggle-btn:active,.unified-filter__chip:active{transform:none}}.browser-safari-mobile{.main-menu__view-btn--active{background:#3b82f6;color:#fff;border:none}.main-menu__view-btn:not(.main-menu__view-btn--active){background:#fff;color:#374151;border:none}input[type=text],input[type=search]{-webkit-appearance:none;appearance:none}.search-bar input{padding-left:2.5rem}.progression-dashboard__continue-btn{background:#fff;color:#1e40af;border:2px solid #1e40af}.module-card{overflow:hidden}.module-card__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;width:100%}.module-card__content{overflow:hidden;width:100%}.main-menu__view-btn{font-size:.75rem!important;padding:.375rem .5rem!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;flex:1;box-sizing:border-box}.main-menu__view-toggle{overflow:hidden;box-sizing:border-box;flex-shrink:0}.modal__btn,.nav-btn{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:.5rem .75rem;font-size:.75rem;line-height:1.2;min-width:0;max-width:100%;box-sizing:border-box}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(prefers-reduced-motion:reduce){html *,html body *{animation-duration:.01ms;animation-iteration-count:1;transition-duration:.01ms}}@media(prefers-contrast:high){*{border-width:2px}}.layout-container{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;width:100%;max-width:100%;overflow-x:hidden}.layout-main{flex:1;width:100%;max-width:100%;overflow-x:hidden;display:flex;flex-direction:column;min-height:0}@media(max-width:639px){.layout-container[data-view=menu]{height:100dvh;max-height:100dvh;overflow:hidden}.layout-container[data-view=menu] .layout-main{overflow:hidden}.layout-container:not([data-view=menu]){height:100dvh;max-height:100dvh;overflow-y:auto;overflow-x:hidden}.layout-container:not([data-view=menu]) .layout-main{flex:1;overflow:visible}}@media(max-width:639px){.layout-container[data-view=menu],.layout-container[data-view=menu] .layout-main{background-color:transparent}}.orientation-lock{display:none;position:fixed;inset:0;z-index:9999;background-color:var(--theme-bg-primary, #f9fafb);justify-content:center;align-items:center;padding:2rem;opacity:0;animation:orientationLockFadeIn .3s ease-out forwards}.dark .orientation-lock{background-color:var(--theme-bg-primary, #111827)}.orientation-lock__container{display:flex;flex-direction:column;align-items:center;text-align:center;max-width:400px;width:100%;background-color:var(--theme-bg-elevated, #ffffff);border-radius:1rem;padding:3rem 2rem;box-shadow:0 10px 25px #0000001a,0 4px 10px #0000000d;border:1px solid var(--theme-border-soft, #f3f4f6)}.dark .orientation-lock__container{background-color:var(--theme-bg-elevated, #1f2937);border:1px solid var(--theme-border-soft, #4b5563);box-shadow:0 10px 25px #0006,0 4px 10px #0000004d,0 0 0 1px #ffffff0d}.orientation-lock__icon-wrapper{margin-bottom:2rem;width:88px;height:88px;min-width:88px;min-height:88px;border-radius:50%;background-color:var(--theme-primary-blue, #3b82f6);display:flex;align-items:center;justify-content:center;animation:orientationIconPulse 2s ease-in-out infinite}.dark .orientation-lock__icon-wrapper{background-color:var(--theme-primary-blue, #60a5fa);animation:orientationIconPulseDark 2s ease-in-out infinite}.orientation-lock__icon{color:var(--theme-text-on-colored, #ffffff);animation:orientationIconRotate 3s linear infinite;transition:transform .3s ease}.orientation-lock__content{display:flex;flex-direction:column;gap:1rem}.orientation-lock__title{font-size:1.5rem;font-weight:600;line-height:1.3;margin:0;color:var(--theme-text-primary, #374151);animation:orientationTextSlideUp .6s ease-out .2s both}.orientation-lock__subtitle{font-size:1.125rem;font-weight:500;line-height:1.4;margin:0;color:var(--theme-primary-blue, #3b82f6);animation:orientationTextSlideUp .6s ease-out .4s both}.orientation-lock__explanation{font-size:.875rem;line-height:1.5;margin:0;color:var(--theme-text-secondary, #6b7280);animation:orientationTextSlideUp .6s ease-out .6s both}@media screen and (orientation:landscape)and (max-height:500px){.layout-container{display:none!important}.orientation-lock{display:flex}}@keyframes orientationLockFadeIn{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes orientationIconPulse{0%,to{transform:scale(1);box-shadow:0 0 #3b82f666}50%{transform:scale(1.05);box-shadow:0 0 0 10px #3b82f600}}@keyframes orientationIconPulseDark{0%,to{transform:scale(1);box-shadow:0 0 #60a5fa99}50%{transform:scale(1.05);box-shadow:0 0 0 10px #60a5fa00}}@keyframes orientationIconRotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes orientationTextSlideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.dark .orientation-lock__title{color:var(--theme-text-primary, #ffffff)}.dark .orientation-lock__subtitle{color:var(--theme-primary-blue, #60a5fa)}.dark .orientation-lock__explanation{color:var(--theme-text-secondary, #e5e7eb)}@media(prefers-contrast:high){.dark .orientation-lock__container{border:2px solid var(--theme-text-primary, #ffffff);background-color:var(--theme-bg-elevated, #000000)}.dark .orientation-lock__icon-wrapper{border:2px solid var(--theme-text-on-colored, #ffffff)}}@media(prefers-reduced-motion:reduce){.orientation-lock,.orientation-lock__icon-wrapper,.orientation-lock__icon,.orientation-lock__title,.orientation-lock__subtitle,.orientation-lock__explanation{animation:none}.orientation-lock,.orientation-lock__title,.orientation-lock__subtitle,.orientation-lock__explanation{opacity:1;transform:none}}@media(prefers-contrast:high){.orientation-lock__container{border:2px solid var(--theme-text-primary, #374151)}.orientation-lock__icon-wrapper{border:2px solid var(--theme-text-on-colored, #ffffff)}}@media screen and (orientation:landscape)and (max-height:400px){.orientation-lock__container{padding:2rem 1.5rem;max-width:350px}.orientation-lock__icon-wrapper{width:60px;height:60px;margin-bottom:1.5rem}.orientation-lock__icon{width:36px;height:36px}.orientation-lock__title{font-size:1.25rem}.orientation-lock__subtitle{font-size:1rem}}@media screen and (orientation:landscape)and (min-height:401px)and (max-height:500px){.orientation-lock__container{padding:3.5rem 2.5rem}.orientation-lock__icon-wrapper{width:90px;height:90px}}*,*:before,*:after{box-sizing:border-box}html{overflow-x:hidden;width:100%}body{overflow-x:hidden;width:100%;background-color:#f3f4f6;font-family:var( --font-primary, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif );margin:0;padding:0;line-height:var(--leading-normal, 1.5);font-size:var(--text-base, 1rem);color:var(--theme-text-primary, #111827)}@media(max-width:639px){body:has(.layout-container[data-view=menu]){background-color:#fff}html:has(.layout-container[data-view=menu]){background-color:#fff}html.dark body:has(.layout-container[data-view=menu]){background-color:#111827}html.dark:has(.layout-container[data-view=menu]){background-color:#111827}}.dark body{background-color:#111827;color:#fff}.dark .header{background-color:#1f2937;border-color:#374151}.dark .menu{background-color:#1f2937}.dark .menu__title{color:#fff}.dark .btn{border-color:#4b5563}.dark .btn--primary{background-color:#2563eb;color:#fff}.dark .btn--primary:hover{background-color:#1d4ed8}body:has(.compact-profile),body:has(.compact-settings),body:has(.compact-about),body:has(.my-progress){overflow:hidden}.nav-btn{display:flex;align-items:center;gap:.5rem;padding:.625rem 1rem;border-radius:var(--radius-md, .375rem);transition:all .2s ease;font-size:.875rem;font-weight:500;box-shadow:0 1px 2px #0000000d;background-color:#fff;border:2px solid #e5e7eb;color:#374151;cursor:pointer;text-decoration:none}.nav-btn:hover{background-color:#f9fafb;border-color:#d1d5db;box-shadow:0 4px 6px #00000012}.nav-btn:active{transform:scale(.95)}.dark .nav-btn{background-color:#1f2937;border-color:#4b5563;color:#f3f4f6}.dark .nav-btn:hover{background-color:#374151;border-color:#6b7280}
