*{box-sizing:border-box;margin:0;padding:0}[role=button],a,button,input,select,textarea{touch-action:manipulation}:root{--primary:#2563eb;--primary-hover:#1d4ed8;--success:#16a34a;--success-hover:#15803d;--bg:#ffffff;--bg-secondary:#f8fafc;--bg-tertiary:#f1f5f9;--bg-expanded:#fafbfc;--text:#0f172a;--text-secondary:#475569;--text-muted:#94a3b8;--text-shimmer:#1e293b;--border:#e2e8f0;--border-dark:#cbd5e1;--accent-blue-light:#eff6ff;--accent-blue:#3b82f6;--phy-pro-gradient:linear-gradient(135deg, #3b82f6, #8b5cf6);--shadow-sm:rgba(0, 0, 0, 0.15);--shadow-md:rgba(0, 0, 0, 0.18);--shadow-lg:rgba(0, 0, 0, 0.22);--border-subtle:rgba(0, 0, 0, 0.15);--shadow-elevated:inset 0 0 0 1px var(--border-subtle),0 4px 12px rgba(0, 0, 0, 0.08),0 1px 3px rgba(0, 0, 0, 0.05);--shadow-popup:inset 0 0 0 1px var(--border-subtle),0 8px 32px rgba(0, 0, 0, 0.12),0 2px 8px rgba(0, 0, 0, 0.06);--shadow-card:0 2px 4px rgba(0, 0, 0, 0.2),0 7px 13px -3px rgba(0, 0, 0, 0.15),inset 0 -3px 0 rgba(0, 0, 0, 0.1)}[data-theme=dark]{--primary:#3b82f6;--primary-hover:#2563eb;--success:#22c55e;--success-hover:#16a34a;--bg:#1e293b;--bg-secondary:#0f172a;--bg-tertiary:#334155;--bg-expanded:#1a2332;--text:#f1f5f9;--text-secondary:#cbd5e1;--text-muted:#94a3b8;--text-shimmer:#ffffff;--border:#3d4a5c;--border-dark:#4d5a6c;--accent-blue-light:#1e3a5f;--accent-blue:#3b82f6;--shadow-sm:rgba(0, 0, 0, 0.6);--shadow-md:rgba(0, 0, 0, 0.7);--shadow-lg:rgba(0, 0, 0, 0.8);--border-subtle:rgba(255, 255, 255, 0.06);--shadow-elevated:inset 0 0 0 1px var(--border-subtle),0 4px 16px rgba(0, 0, 0, 0.4),0 2px 6px rgba(0, 0, 0, 0.3);--shadow-popup:inset 0 0 0 1px var(--border-subtle),0 8px 32px rgba(0, 0, 0, 0.5),0 2px 8px rgba(0, 0, 0, 0.4);--shadow-card:0 1px 2px rgba(0, 0, 0, 0.5),0 3px 5px -1px rgba(0, 0, 0, 0.4),inset 0 -2px 0 rgba(0, 0, 0, 0.25)}body{font-family:'Google Sans Flex',-apple-system,BlinkMacSystemFont,'Segoe UI','Helvetica Neue',Arial,sans-serif;background:var(--bg-secondary);color:var(--text);line-height:1.5;min-height:100vh;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.container{max-width:1200px;margin:0 auto;padding:0 24px 40px}.top-header{background:rgba(255,255,255,.05);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);padding:12px 0;position:fixed;top:0;left:0;right:0;z-index:100}[data-theme=dark] .top-header{background:rgba(30,41,59,.75)}.top-header-inner{max-width:1200px;margin:0 auto;padding:0 24px;display:flex;justify-content:space-between;align-items:center}.header-brand{display:flex;align-items:center;gap:12px;text-decoration:none;transition:opacity .2s ease}.header-brand:hover{opacity:.8}.brand-icon{width:32px;height:32px;border-radius:6px}.brand-text{font-size:1.125rem;font-weight:700;color:var(--text);letter-spacing:-.015em}.header-actions{display:flex;align-items:center;gap:12px}.header-login-btn{padding:11px 16px;background:var(--surface);color:var(--text-secondary);border:none;border-radius:20px;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s ease;box-shadow:0 2px 3px -1px rgba(0,0,0,.1),0 1px 0 0 rgba(25,28,33,.02),0 0 0 1px rgba(25,28,33,.08)}[data-theme=dark] .header-login-btn{box-shadow:0 2px 4px -1px rgba(0,0,0,.5),0 1px 2px 0 rgba(0,0,0,.3),0 0 0 1px rgba(255,255,255,.12)}.header-login-btn:hover{background:linear-gradient(135deg,#edf2fb 0,#d6e2f9 100%);color:#2661d8}[data-theme=dark] .header-login-btn:hover{background:linear-gradient(135deg,#162c59 0,#0e1f43 100%);color:#7ca0e8}.header-pdf-mode-btn,.header-profile-btn,.header-share-btn,.header-theme-btn{width:40px;height:40px;border-radius:50%;border:none;background:var(--surface);box-shadow:0 2px 3px -1px rgba(0,0,0,.1),0 1px 0 0 rgba(25,28,33,.02),0 0 0 1px rgba(25,28,33,.08);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease;padding:0;position:relative}[data-theme=dark] .header-pdf-mode-btn,[data-theme=dark] .header-profile-btn,[data-theme=dark] .header-share-btn,[data-theme=dark] .header-theme-btn{box-shadow:0 2px 4px -1px rgba(0,0,0,.5),0 1px 2px 0 rgba(0,0,0,.3),0 0 0 1px rgba(255,255,255,.12)}.header-pdf-mode-btn svg path,.header-pdf-mode-btn svg rect{stroke:url(#pdf-grad)}.header-pdf-mode-btn .direct-view-icon path{stroke:url(#pdf-direct-grad)}[data-theme=dark] .header-pdf-mode-btn svg path,[data-theme=dark] .header-pdf-mode-btn svg rect{stroke:url(#pdf-grad-dark)}[data-theme=dark] .header-pdf-mode-btn .direct-view-icon path{stroke:url(#pdf-direct-grad-dark)}.header-pdf-mode-btn:hover{background:linear-gradient(135deg,#f4edfb 0,#e8d6f9 100%)}[data-theme=dark] .header-pdf-mode-btn:hover{background:linear-gradient(135deg,#381659 0,#280e43 100%)}.header-share-btn svg circle,.header-share-btn svg line{stroke:url(#share-grad)}[data-theme=dark] .header-share-btn svg circle,[data-theme=dark] .header-share-btn svg line{stroke:url(#share-grad-dark)}.header-share-btn:hover{background:linear-gradient(135deg,#edf2fb 0,#d6e2f9 100%)}[data-theme=dark] .header-share-btn:hover{background:linear-gradient(135deg,#162c59 0,#0e1f43 100%)}.header-profile-btn svg circle,.header-profile-btn svg path{stroke:url(#profile-grad)}[data-theme=dark] .header-profile-btn svg circle,[data-theme=dark] .header-profile-btn svg path{stroke:url(#profile-grad-dark)}.header-profile-btn:hover{background:linear-gradient(135deg,#e4faf3 0,#c9f7e8 100%)}[data-theme=dark] .header-profile-btn:hover{background:linear-gradient(135deg,#14513d 0,#0c3a2b 100%)}.header-theme-btn .sun-icon circle,.header-theme-btn .sun-icon path{stroke:url(#sun-grad)}.header-theme-btn .moon-icon path{stroke:url(#moon-grad)}[data-theme=dark] .header-theme-btn .sun-icon circle,[data-theme=dark] .header-theme-btn .sun-icon path{stroke:url(#sun-grad-dark)}[data-theme=dark] .header-theme-btn .moon-icon path{stroke:url(#moon-grad-dark)}.header-theme-btn:hover{background:linear-gradient(135deg,#fcf3e8 0,#fae6cb 100%)}[data-theme=dark] .header-theme-btn:hover{background:linear-gradient(135deg,#593d16 0,#432d0e 100%)}.header-pdf-mode-btn:active,.header-profile-btn:active,.header-share-btn:active,.header-theme-btn:active{transform:translateY(0)}.header-pdf-mode-btn svg,.header-profile-btn svg,.header-share-btn svg,.header-theme-btn .theme-icon{width:18px;height:18px;color:var(--text-secondary);stroke-width:2.5;transition:all .2s ease}@media (max-width:480px){.header-pdf-mode-btn,.header-profile-btn,.header-share-btn,.header-theme-btn{width:36px;height:36px}.header-pdf-mode-btn svg,.header-profile-btn svg,.header-share-btn svg,.header-theme-btn .theme-icon{width:16px;height:16px}.header-login-btn{padding:8px 12px;font-size:.8125rem}.header-actions{gap:8px}}.header-pdf-mode-btn .modal-view-icon{display:block}.header-pdf-mode-btn .direct-view-icon{display:none}.header-pdf-mode-btn.direct-mode .modal-view-icon{display:none}.header-pdf-mode-btn.direct-mode .direct-view-icon{display:block}.pdf-mode-toast{position:absolute;top:calc(100% + 8px);left:50%;transform:translateX(-50%) translateY(-4px);background:var(--text);color:var(--bg);padding:8px 14px;border-radius:8px;font-size:.8125rem;font-weight:500;white-space:nowrap;opacity:0;pointer-events:none;z-index:1000;box-shadow:0 4px 12px rgba(0,0,0,.15);transition:opacity .2s ease,transform .2s ease}.pdf-mode-toast::before{content:'';position:absolute;bottom:100%;left:50%;transform:translateX(-50%);border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid var(--text)}.pdf-mode-toast.show{opacity:1;transform:translateX(-50%) translateY(0)}.header-theme-btn .theme-icon.hidden{display:none}[data-theme=dark] .header-theme-btn .sun-icon{display:block!important}[data-theme=dark] .header-theme-btn .moon-icon{display:none!important}[data-theme=light] .header-theme-btn .sun-icon{display:none!important}[data-theme=light] .header-theme-btn .moon-icon{display:block!important}header{background:var(--bg);padding:35px;padding-top:100px;margin-bottom:30px}.header-content{display:flex;align-items:center;justify-content:center;gap:20px}.header-mascot{width:169px;height:169px;object-fit:contain;flex-shrink:0;animation:float 3s ease-in-out infinite;animation-play-state:running;margin-bottom:-27px}body.modal-open .header-mascot{animation-play-state:paused}@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}.header-text{display:flex;flex-direction:column;gap:4px}header h1{font-size:clamp(2.25rem, 5vw, 4rem);font-weight:700;margin:0;color:var(--text);letter-spacing:-.025em}header p{color:var(--text-secondary);font-size:1.125rem;margin:0}.header-subtitle{font-size:1rem;margin-top:4px;color:var(--text-muted)}.coming-soon{color:var(--primary);font-weight:600}.disclaimer{background:var(--bg-secondary);border-top:1px solid var(--border);padding:16px 24px;text-align:center;margin-top:40px}.disclaimer p{color:var(--text-muted);font-size:.75rem;margin:0;line-height:1.5}.filters-container{margin-bottom:30px}.filters-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;flex-wrap:wrap;gap:16px}.filters-header-left{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.how-to-btn{background:var(--surface);border:none;border-radius:20px;padding:8px 14px;cursor:pointer;display:inline-flex;align-items:center;gap:6px;transition:all .15s ease;box-shadow:0 2px 3px -1px rgba(0,0,0,.1),0 1px 0 0 rgba(25,28,33,.02),0 0 0 1px rgba(25,28,33,.08)}[data-theme=dark] .how-to-btn{box-shadow:0 2px 4px -1px rgba(0,0,0,.5),0 1px 2px 0 rgba(0,0,0,.3),0 0 0 1px rgba(255,255,255,.12)}.how-to-btn:hover{background:var(--surface-hover)}.how-to-btn svg{width:16px;height:16px;color:var(--text-secondary)}.how-to-text{font-size:.875rem;font-weight:600;color:var(--text);line-height:normal}@media (max-width:640px){.how-to-text{display:none}.how-to-btn{padding:8px 10px}}.filters-toggle{background:var(--surface);border:none;border-radius:20px;padding:8px 14px;cursor:pointer;display:inline-flex;align-items:center;gap:6px;transition:all .15s ease;box-shadow:0 2px 3px -1px rgba(0,0,0,.1),0 1px 0 0 rgba(25,28,33,.02),0 0 0 1px rgba(25,28,33,.08)}[data-theme=dark] .filters-toggle{box-shadow:0 2px 4px -1px rgba(0,0,0,.5),0 1px 2px 0 rgba(0,0,0,.3),0 0 0 1px rgba(255,255,255,.12)}.filters-toggle:hover{background:var(--surface-hover)}.filters-toggle-content{display:flex;align-items:center;gap:8px}.filters-toggle-icon{width:16px;height:16px;color:var(--text-secondary)}.filters-toggle-text{font-size:.875rem;font-weight:600;color:var(--text);line-height:normal}.filters-toggle-chevron{width:16px;height:16px;color:var(--text-muted);transition:transform .2s ease}.filters-toggle.active .filters-toggle-chevron{transform:rotate(180deg)}.filters{background:var(--bg-secondary);padding:20px;border-radius:12px;display:none;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px;animation:slideDown .2s ease-out;box-shadow:0 2px 3px -1px rgba(0,0,0,.1),0 1px 0 0 rgba(25,28,33,.02),0 0 0 1px rgba(25,28,33,.08)}[data-theme=dark] .filters{box-shadow:0 2px 4px -1px rgba(0,0,0,.5),0 1px 2px 0 rgba(0,0,0,.3),0 0 0 1px rgba(255,255,255,.12)}.filters.show{display:grid}@keyframes slideDown{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.filter-group{display:flex;flex-direction:column;overflow:hidden}.filter-group label{font-size:.8125rem;font-weight:600;margin-bottom:6px;color:var(--text);text-transform:uppercase;letter-spacing:.025em}.filter-group input,.filter-group select{padding:11px 14px;border:1px solid var(--border);border-radius:8px;font-size:.9375rem;background:var(--bg);color:var(--text);transition:all .15s ease;font-family:inherit;box-shadow:0 1px 2px rgba(0,0,0,.02)}.filter-group select{appearance:none;-webkit-appearance:none;-moz-appearance:none;padding-right:40px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2.5' stroke='%23475569'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:18px;cursor:pointer}[data-theme=dark] .filter-group select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2.5' stroke='%23cbd5e1'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E")}.filter-group input:hover,.filter-group select:hover{border-color:var(--border-dark);box-shadow:0 2px 4px rgba(0,0,0,.04)}.filter-group input:focus,.filter-group select:focus{outline:0;border-color:var(--primary);box-shadow:0 0 0 3px rgba(37,99,235,.08),0 1px 2px rgba(0,0,0,.02)}.year-range-wrapper{background:var(--bg);border:1px solid var(--border);border-radius:8px;padding:11px 22px;box-shadow:0 1px 2px rgba(0,0,0,.02);transition:all .15s ease}.year-range-wrapper:hover{border-color:var(--border-dark);box-shadow:0 2px 4px rgba(0,0,0,.04)}.year-range-wrapper:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px rgba(37,99,235,.08),0 1px 2px rgba(0,0,0,.02)}.slider-container{position:relative;height:20px;display:flex;align-items:center}.slider-track{position:absolute;width:100%;height:6px;background:var(--bg-tertiary);border-radius:100px;left:0;top:50%;transform:translateY(-50%);pointer-events:none}.slider-range{position:absolute;height:6px;background:linear-gradient(90deg,var(--primary),var(--accent-blue));border-radius:100px;transition:left .15s cubic-bezier(.4, 0, .2, 1),right .15s cubic-bezier(.4, 0, .2, 1);pointer-events:none;top:50%;transform:translateY(-50%)}.slider-container input[type=range]{position:absolute;width:100%;height:20px;background:0 0;pointer-events:none;-webkit-appearance:none;appearance:none;left:0;top:0;margin:0;padding:0;border:none;border-radius:0;box-shadow:none}.slider-container input[type=range]:focus,.slider-container input[type=range]:hover{border:none;box-shadow:none}.slider-container input[type=range]#year-min{z-index:2}.slider-container input[type=range]#year-max{z-index:1}.slider-container input[type=range]::-webkit-slider-track{width:100%;height:20px;background:0 0;border:none}.slider-container input[type=range]::-moz-range-track{width:100%;height:20px;background:0 0;border:none}.slider-container input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:22px;height:22px;border-radius:50%;background:var(--primary);cursor:grab;pointer-events:all;border:3px solid var(--bg);box-shadow:0 2px 8px rgba(37,99,235,.3),0 1px 3px rgba(0,0,0,.1);transition:all .2s cubic-bezier(.4, 0, .2, 1);position:relative}.slider-container input[type=range]::-moz-range-thumb{width:22px;height:22px;border-radius:50%;background:var(--primary);cursor:grab;pointer-events:all;border:3px solid var(--bg);box-shadow:0 2px 8px rgba(37,99,235,.3),0 1px 3px rgba(0,0,0,.1);transition:all .2s cubic-bezier(.4, 0, .2, 1)}.slider-container input[type=range]:active::-webkit-slider-thumb{cursor:grabbing;transform:scale(1.15);box-shadow:0 4px 16px rgba(37,99,235,.4),0 2px 6px rgba(0,0,0,.15)}.slider-container input[type=range]:active::-moz-range-thumb{cursor:grabbing;transform:scale(1.15);box-shadow:0 4px 16px rgba(37,99,235,.4),0 2px 6px rgba(0,0,0,.15)}.slider-container input[type=range]:hover::-webkit-slider-thumb{transform:scale(1.1);box-shadow:0 3px 12px rgba(37,99,235,.35),0 2px 4px rgba(0,0,0,.12)}.slider-container input[type=range]:hover::-moz-range-thumb{transform:scale(1.1);box-shadow:0 3px 12px rgba(37,99,235,.35),0 2px 4px rgba(0,0,0,.12)}.slider-container input[type=range]:focus{outline:0}.slider-container input[type=range]:focus::-webkit-slider-thumb{box-shadow:0 0 0 4px rgba(37,99,235,.15),0 3px 12px rgba(37,99,235,.35),0 2px 4px rgba(0,0,0,.1)}.slider-container input[type=range]:focus::-moz-range-thumb{box-shadow:0 0 0 4px rgba(37,99,235,.15),0 3px 12px rgba(37,99,235,.35),0 2px 4px rgba(0,0,0,.1)}.results-info{color:var(--text-secondary);font-size:1rem;font-weight:600}.shimmer-text{background:linear-gradient(110deg,var(--text-secondary) 0,var(--text-secondary) 25%,var(--text-shimmer) 50%,var(--text-secondary) 75%,var(--text-secondary) 100%);background-size:200% 100%;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;animation:shimmer 8s ease-in-out infinite;animation-play-state:running;will-change:background-position;backface-visibility:hidden;-webkit-backface-visibility:hidden}body.modal-open .shimmer-text{animation-play-state:paused}@media (max-width:768px){.shimmer-text{animation:none;background:0 0;-webkit-text-fill-color:var(--text-secondary)}}@keyframes shimmer{0%{background-position:200% center}100%{background-position:-200% center}}#results{display:flex;flex-wrap:wrap;gap:16px;transition:all .45s cubic-bezier(.4, 0, .2, 1)}.subject-card{border-radius:23px;overflow:visible;position:relative;display:flex;flex-direction:column;flex:1 1 280px;min-width:280px;max-width:100%;background:linear-gradient(135deg,hsl(var(--card-hue),var(--card-sat),96%) 0,hsl(var(--card-hue),calc(var(--card-sat) * 1.1),91%) 50%,hsl(var(--card-hue),var(--card-sat),93%) 100%);border:1px solid rgba(0,0,0,.3);transition:flex-basis .45s cubic-bezier(.4, 0, .2, 1),min-width .45s cubic-bezier(.4, 0, .2, 1),max-width .45s cubic-bezier(.4, 0, .2, 1),box-shadow .25s ease,transform .25s ease,border-color .25s ease;scroll-margin-top:80px}.subject-card::before{content:'';position:absolute;top:-6px;left:-6px;right:6px;bottom:6px;background:hsl(var(--card-hue),calc(var(--card-sat) * .7),78%);border-radius:25px;z-index:-1;border:1px solid hsl(var(--card-hue),calc(var(--card-sat) * .6),70%);transition:transform .45s cubic-bezier(.4, 0, .2, 1),opacity .45s cubic-bezier(.4, 0, .2, 1);pointer-events:none}[data-theme=dark] .subject-card::before{background:hsl(var(--card-hue),calc(var(--card-sat) * .8),12%);border-color:hsl(var(--card-hue),calc(var(--card-sat) * .7),20%)}[data-theme=dark] .subject-card{background:linear-gradient(135deg,hsl(var(--card-hue),calc(var(--card-sat) * .9),22%) 0,hsl(var(--card-hue),calc(var(--card-sat) * 1.1),16%) 40%,hsl(calc(var(--card-hue) + 10),calc(var(--card-sat) * .85),14%) 100%);border-color:#646464}.subject-card>.subject-header{position:relative;z-index:1;background:0 0;flex:1;display:flex;flex-direction:column}[data-theme=dark] .subject-card>.subject-header{background:0 0}.subject-card>.subject-body{position:relative;z-index:1;flex-shrink:0}.subject-card:hover{box-shadow:0 2px 6px var(--shadow-sm)}.subject-card:hover::before{transform:translate(6px,6px)}.subject-card.expanded{flex:1 1 100%;min-width:100%;margin:16px 0;border:none;box-shadow:0 1px 0 0 var(--border-dark),0 0 0 1px var(--border-dark),0 8px 20px var(--shadow-lg)}.subject-card.expanded::before{transform:translate(6px,6px);opacity:0}[data-theme=dark] .subject-card.expanded{box-shadow:0 1px 0 0 var(--border-dark),0 0 0 1px var(--border-dark),0 12px 32px var(--shadow-lg),0 0 30px hsl(var(--card-hue),calc(var(--card-sat) * .5),12%)}.subject-header{padding:20px;cursor:pointer;user-select:none;transition:all .15s ease;flex:1}.subject-header>div{display:flex;flex-direction:column;gap:10px}.subject-header h3{font-size:1.0625rem;font-weight:600;color:var(--text);line-height:1.4;transition:all .3s ease}.subject-card.expanded .subject-header h3{background:linear-gradient(110deg,var(--text-secondary) 0,var(--text-secondary) 25%,var(--text-shimmer) 50%,var(--text-secondary) 75%,var(--text-secondary) 100%);background-size:200% 100%;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;animation:shimmer 8s ease-in-out infinite;animation-play-state:running}body.modal-open .subject-card.expanded .subject-header h3{animation-play-state:paused}.subject-badges{display:flex;gap:8px;flex-wrap:wrap}.category-badge{display:inline-flex;align-items:center;padding:5px 12px;border-radius:6px;font-size:.75rem;font-weight:600;background:linear-gradient(135deg,#f1f5f9 0,#e2e8f0 100%);color:#475569;border:1px solid #cbd5e1}[data-theme=dark] .category-badge{background:linear-gradient(135deg,rgba(255,255,255,.08) 0,rgba(255,255,255,.04) 100%);color:#94a3b8;border:1px solid rgba(255,255,255,.1)}.category-badge.category-color{background:linear-gradient(135deg,hsl(var(--card-hue),calc(var(--card-sat) * .9),88%) 0,hsl(var(--card-hue),calc(var(--card-sat) * 1.1),82%) 100%);color:hsl(var(--card-hue),calc(var(--card-sat) * 1.3),28%);border:1px solid hsl(var(--card-hue),calc(var(--card-sat) * .8),78%)}[data-theme=dark] .category-badge.category-color{background:linear-gradient(135deg,hsl(var(--card-hue),calc(var(--card-sat) * 1.1),30%) 0,hsl(var(--card-hue),calc(var(--card-sat) * 1.2),24%) 100%);color:hsl(var(--card-hue),calc(var(--card-sat) * 1.1),85%);border:1px solid hsl(var(--card-hue),calc(var(--card-sat) * .9),38%);box-shadow:0 0 8px hsl(var(--card-hue),calc(var(--card-sat) * .8),20%)}.subject-body{max-height:0;opacity:0;overflow:hidden;padding:0;background:0 0;border-top:0 solid rgba(255,255,255,.2);user-select:none;-webkit-user-select:none;transition:max-height .5s cubic-bezier(.4, 0, .2, 1),opacity .35s ease .1s,padding .5s cubic-bezier(.4, 0, .2, 1),border-top-width .3s ease}.subject-body.show{max-height:5000px;opacity:1;padding:24px;border-top-width:1px}.years-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px;grid-auto-flow:dense}.year-item{background:rgba(255,255,255,.85);border-radius:20px;padding:18px;transition:all .2s ease;box-shadow:var(--shadow-card)}[data-theme=dark] .year-item{background:rgba(0,0,0,.25)}.year-item h4{color:var(--text);margin-bottom:14px;font-size:1rem;font-weight:700;display:flex;align-items:center;gap:10px}.year-item:not(.promo-frq-card) h4::before{content:'';width:4px;height:22px;background:linear-gradient(180deg,hsl(var(--card-hue),calc(var(--card-sat) * 1.2),55%) 0,hsl(var(--card-hue),calc(var(--card-sat) * 1),45%) 100%);border-radius:2px;flex-shrink:0}[data-theme=dark] .year-item:not(.promo-frq-card) h4::before{background:linear-gradient(180deg,hsl(var(--card-hue),calc(var(--card-sat) * 1.3),60%) 0,hsl(var(--card-hue),calc(var(--card-sat) * 1.1),50%) 100%);box-shadow:0 0 8px hsl(var(--card-hue),calc(var(--card-sat) * .8),40%)}.link-row{display:flex;gap:8px;flex-wrap:wrap}.pdf-link{display:inline-flex;align-items:center;gap:7px;height:36px;padding:0 10px;background:rgba(37,99,235,.7);color:var(--text);text-decoration:none;border-radius:10px;border:1px solid var(--primary);font-size:.875rem;font-weight:600;line-height:1}[data-theme=dark] .pdf-link{background:rgba(59,130,246,.7)}.pdf-link.scoring{background:rgba(22,163,74,.7);color:var(--text);border-color:var(--success)}[data-theme=dark] .pdf-link.scoring{background:rgba(34,197,94,.7)}.pdf-link svg{width:15px;height:15px}.no-results{text-align:center;padding:80px 20px;color:var(--text-muted);background:var(--bg);border-radius:8px;border:1px solid var(--border)}.no-results h3{margin-bottom:8px;font-size:1.25rem;color:var(--text);font-weight:600}.no-results p{font-size:.9375rem;color:var(--text-secondary)}@media (max-width:1024px){.subject-card{flex:1 1 260px;min-width:260px}}@media (max-width:768px){header{padding:32px 20px;padding-top:80px}.header-mascot{width:120px;height:120px;margin-bottom:-18px}header h1{font-size:2.125rem}header p{font-size:1rem}.stats{gap:32px}.stat-number{font-size:2rem}.filters{grid-template-columns:1fr;padding:20px}.container{padding:0 16px 32px}.years-grid{grid-template-columns:1fr}.subject-card{flex:1 1 100%;min-width:100%}}@media (max-width:480px){.header-mascot{width:100px;height:100px;margin-bottom:-16px}.subject-header h3{font-size:.9375rem}.category-badge{font-size:.6875rem;padding:3px 8px}}.pdf-modal{display:none;position:fixed;inset:0;background:rgba(0,0,0,.7);backdrop-filter:blur(4px);z-index:10000;animation:fadeIn .2s ease-out;overflow:hidden;overscroll-behavior:contain}.pdf-modal.show{display:flex;align-items:center;justify-content:center}@keyframes fadeIn{from{opacity:0}to{opacity:1}}.pdf-modal-content{width:90%;height:90%;max-width:1400px;background:var(--bg);border-radius:12px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 20px 60px rgba(0,0,0,.3);animation:slideUp .3s ease-out}@keyframes slideUp{from{transform:translateY(30px);opacity:0}to{transform:translateY(0);opacity:1}}.pdf-modal-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;background:var(--bg-secondary);border-bottom:1px solid var(--border)}.pdf-modal-header h3{font-size:1.125rem;font-weight:600;color:var(--text);margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;margin-right:16px}.pdf-modal-actions{display:flex;gap:8px;align-items:center}.pdf-action-btn,.pdf-modal-close{width:36px;height:36px;border-radius:50%;border:1px solid var(--border);background:var(--bg);color:var(--text-secondary);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease;position:relative}.pdf-action-btn:hover,.pdf-modal-close:hover{background:var(--bg-tertiary);color:var(--text);border-color:var(--border-dark)}.pdf-action-btn svg,.pdf-modal-close svg{width:18px;height:18px}.pdf-close-tooltip{position:absolute;top:calc(100% + 8px);right:0;background:var(--text);color:var(--bg);padding:6px 8px 4px;border-radius:4px;font-size:.75rem;font-weight:600;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .2s ease}.pdf-close-tooltip::after{content:'';position:absolute;top:-2px;right:12px;border-left:4px solid transparent;border-right:4px solid transparent;border-bottom:4px solid var(--text)}.pdf-modal-close:hover .pdf-close-tooltip{opacity:1}.pdf-modal-body{flex:1;min-height:0;position:relative;background:var(--bg-tertiary);overflow:hidden}#pdf-iframe{width:100%;height:100%;border:none;background:#fff}.pdf-loading{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:16px;pointer-events:none}.pdf-modal-body.loading #pdf-iframe{opacity:0}.pdf-modal-body:not(.loading) .pdf-loading{display:none}.pdf-loading-spinner{width:48px;height:48px;border:4px solid var(--border);border-top-color:var(--primary);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.pdf-loading p{color:var(--text-secondary);font-size:.9375rem;font-weight:500}@media (max-width:768px){.pdf-modal.show{display:block}.pdf-modal-content{position:absolute;inset:0;width:100%;height:100%;max-width:100%;border-radius:0}.pdf-modal-header{padding:12px 16px;padding-top:max(12px,env(safe-area-inset-top));flex-shrink:0}.pdf-modal-body{position:absolute;top:56px;left:0;right:0;bottom:0;overflow:hidden;padding-bottom:env(safe-area-inset-bottom);background:var(--bg)}#pdf-iframe{width:100%;height:100%}.pdf-modal-header h3{font-size:1rem}}.split-view-modal .pdf-modal-content{max-width:1900px}.split-view-body{display:flex;gap:0;padding:0;width:100%;height:100%}.split-view-pane{flex:0 0 calc(50% - 1px);width:calc(50% - 1px);max-width:calc(50% - 1px);display:flex;flex-direction:column;position:relative;min-width:0;overflow:hidden}.split-view-pane-header{background:var(--bg-secondary);padding:12px 16px;border-bottom:1px solid var(--border);font-size:.875rem;font-weight:600;color:var(--text);text-align:center}.split-view-pane iframe{flex:1;width:100%;height:100%;border:none;background:#fff}.split-view-pane .pdf-loading{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.split-view-divider{width:2px;background:var(--border);flex-shrink:0}@media (max-width:900px){.split-view-modal{display:none!important}}.login-modal,.login-modal *,.popup-container,.popup-container *{font-family:'Google Sans Flex',-apple-system,BlinkMacSystemFont,'Segoe UI','Helvetica Neue',Arial,sans-serif!important}.login-disclaimer,.login-disclaimer a,.login-disclaimer p,.login-subtitle,.login-title-section .app-name-pill,.login-title-section .brand-name,.login-title-section h3,.or-divider{font-family:'Google Sans Flex',-apple-system,BlinkMacSystemFont,'Segoe UI','Helvetica Neue',Arial,sans-serif!important}.overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,0);backdrop-filter:blur(0px);-webkit-backdrop-filter:blur(0px);transition:all .3s ease-in-out;z-index:20000!important}.popup-container{display:flex;flex-direction:column;gap:.5rem;max-width:80vw;max-height:80vh;height:fit-content;padding:2rem;border-radius:.75rem;position:fixed;left:0;right:0;top:0;bottom:0;margin:auto;opacity:0;font-size:1rem;box-shadow:0 20px 60px rgba(0,0,0,.3);transform:translateY(-25px);transition:opacity .3s ease-in-out,transform .3s ease-in-out;pointer-events:none;z-index:20001!important;overflow-y:auto;background:var(--bg);flex-shrink:0}.popup-container.boxed{width:fit-content;height:fit-content;max-width:350px;min-width:275px;max-height:85vh}.popup-container.active{opacity:1;pointer-events:all;transform:translateY(0)}.popup-container svg{stroke-width:2.4}@media (max-width:600px){.popup-container{font-size:.95rem;padding:1.5rem;max-width:85vw!important;min-width:69vw}}@media (max-width:400px){.popup-container{font-size:.875rem!important;padding:.8rem!important;max-width:80vw!important;min-width:80vw!important}}.popup-container .close-button{position:absolute;top:16px;right:16px;z-index:1}.popup-header{display:flex;align-items:center;gap:8px}.popup-header h3{margin:0!important;font-size:1rem!important;font-weight:500;color:var(--text)!important}.popup-header svg{stroke:var(--text)}.popup-content p{margin-block-start:0;margin-block-end:1rem;color:var(--text-muted);line-height:1.6rem;font-size:.95rem}.popup-buttons{display:flex;justify-content:flex-end;gap:10px}.popup-buttons:has(.bttn:only-child){justify-content:stretch}.popup-buttons .bttn:only-child{flex:1;justify-content:center}#theChampGoogleButton{background:0 0!important;border:solid 1px var(--border)!important}.theChampLogin{border-radius:8px!important}.or-divider{display:flex;align-items:center;text-align:center;color:var(--text-muted)!important;font-size:1rem!important;margin:8px 0}.or-divider::after,.or-divider::before{border-bottom-width:.5px;content:''!important;flex:1!important;border-bottom:1px solid var(--border)!important}.or-divider::before{margin-right:1em}.or-divider::after{margin-left:1em}[data-theme=dark] .login-modal{background:radial-gradient(circle 180px at 0 0,var(--bg-secondary),var(--bg))!important}.login-title-section h3{color:var(--text)!important;letter-spacing:-.02em!important}.login-modal{background:var(--bg)!important;z-index:20001!important}.login-card{color:var(--text)!important}.login-title-section .brand-name{color:var(--primary)!important}.login-title-section .app-name-pill{font-size:.95rem!important;letter-spacing:.1em!important}.login-subtitle{font-size:1.05rem!important;color:var(--text-muted)!important}.login-disclaimer p{color:var(--text-muted)!important;opacity:.8!important}.bttn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 20px;border-radius:8px;font-size:.9375rem;font-weight:600;font-family:inherit;cursor:pointer;transition:all .2s ease;border:none;background:var(--primary);color:#fff}.bttn:hover{background:var(--primary-hover);transform:translateY(-1px)}.bttn:active{transform:translateY(0)}.bttn:disabled{opacity:.6;cursor:not-allowed}.bttn-icon{width:44px;height:44px;padding:0;border-radius:12px}.bttn-icon svg{width:22px;height:22px}.bttn-outline,.bttn.outline{background:0 0;border:1.5px solid var(--border);color:var(--text)}.bttn-outline:hover,.bttn.outline:hover{background:var(--bg-tertiary);border-color:var(--border-dark);transform:translateY(-1px)}.copy-link{padding:12px 24px}.copy-link i[data-lucide]{display:none}.bttn-icon i[data-lucide=message-square-dot]{display:none}.soical-share-options button:last-child{display:none}.share-card h3{font-family:'Google Sans Flex',-apple-system,BlinkMacSystemFont,'Segoe UI','Helvetica Neue',Arial,sans-serif!important;font-size:1.69rem!important;background:linear-gradient(110deg in oklab,#f59e0b 0,#ef4444 25%,#8b5cf6 50%,#3b82f6 75%,#10b981 100%)!important;background-size:200% 100%!important;background-clip:text!important;-webkit-background-clip:text!important;color:transparent!important;font-weight:700!important}.share-modal{background:rgba(255,255,255,.05)!important;backdrop-filter:blur(20px)!important;-webkit-backdrop-filter:blur(20px)!important}[data-theme=dark] .share-modal{background:rgba(0,0,0,.3)!important}.error-report-btn{position:fixed;bottom:20px;right:20px;width:40px;height:40px;border-radius:12px;background:var(--bg);border:1px solid var(--border);box-shadow:0 2px 8px rgba(0,0,0,.08);cursor:pointer;display:flex!important;align-items:center;justify-content:center;transition:all .2s ease;opacity:1!important;visibility:visible!important;z-index:100}.error-report-btn:hover{background:var(--bg-tertiary);border-color:var(--border-dark);transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.12)}.error-report-btn:active{transform:translateY(0)}.error-report-btn svg{width:18px;height:18px;color:var(--text-secondary)}@media (max-width:768px){.error-report-btn{bottom:16px;right:16px;width:38px;height:38px}.error-report-btn svg{width:17px;height:17px}}.error-report-modal{background:0 0;backdrop-filter:none;-webkit-backdrop-filter:none}.error-report-modal.show{display:block!important;align-items:unset!important;justify-content:unset!important}.error-report-content{position:fixed;bottom:76px;right:20px;width:340px;max-width:calc(100vw - 40px);height:auto!important;max-height:none!important;animation:slideUpFade .2s ease-out;display:block!important;flex-direction:unset!important;overflow:visible!important}@keyframes slideUpFade{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.error-report-body{padding:16px;overflow:visible}.error-report-body .form-group{margin-bottom:12px}.error-report-body label{display:block;font-size:.75rem;font-weight:600;color:var(--text);margin-bottom:6px;text-transform:uppercase;letter-spacing:.025em}.error-report-body input[type=text],.error-report-body input[type=url],.error-report-body select,.error-report-body textarea{width:100%;padding:11px 14px;border:1px solid var(--border);border-radius:8px;font-size:.9375rem;background-color:var(--bg);color:var(--text);font-family:inherit;transition:border-color .15s ease,box-shadow .15s ease}.error-report-body input:focus,.error-report-body select:focus,.error-report-body textarea:focus{outline:0;border-color:var(--primary);box-shadow:0 0 0 3px rgba(37,99,235,.08)}.error-report-body input.invalid,.error-report-body select.invalid,.error-report-body textarea.invalid{border-color:#ef4444;background-color:rgba(239,68,68,.05)}.error-report-body input.invalid:focus,.error-report-body select.invalid:focus,.error-report-body textarea.invalid:focus{border-color:#ef4444;box-shadow:0 0 0 3px rgba(239,68,68,.1)}.error-report-body select{appearance:none;-webkit-appearance:none;-moz-appearance:none;padding-right:40px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2.5' stroke='%23475569'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:18px;cursor:pointer}[data-theme=dark] .error-report-body select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2.5' stroke='%23cbd5e1'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:18px}.error-report-body textarea{resize:vertical;min-height:80px}.suggestions-dropdown{position:absolute;top:100%;left:0;right:0;background:var(--bg);border:1px solid var(--border);border-top:none;border-radius:0 0 8px 8px;max-height:200px;overflow-y:auto;z-index:10;display:none;box-shadow:0 4px 12px rgba(0,0,0,.1)}.suggestion-item{padding:12px 14px;cursor:pointer;transition:background .15s ease;color:var(--text);font-size:.9375rem}.suggestion-item:hover{background:var(--bg-tertiary)}.suggestion-item:first-child{margin-top:4px}.suggestion-item:last-child{margin-bottom:4px;border-radius:0 0 8px 8px}.form-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:16px}.form-actions .bttn{width:100%;padding:12px 16px;font-size:.9375rem}.submit-with-progress{display:flex;align-items:center;justify-content:center;gap:10px;position:relative;transition:all .3s ease}.submit-with-progress:disabled{opacity:.5;cursor:not-allowed}.submit-with-progress:not(:disabled){opacity:1;cursor:pointer}.progress-ring{flex-shrink:0;transition:transform .3s ease,opacity .3s ease}.progress-ring-fill{transform:rotate(-90deg);transform-origin:50% 50%;transition:stroke-dashoffset .4s ease}.submit-arrow-wrapper{display:none;flex-shrink:0}.progress-ring-wrapper{display:flex;flex-shrink:0}.submit-text{flex-shrink:0}.submit-with-progress.complete .progress-ring-wrapper{display:none}.submit-with-progress.complete .submit-arrow-wrapper{display:flex;animation:arrowSlide .4s cubic-bezier(.34,1.56,.64,1)}@keyframes arrowSlide{from{transform:translateX(-15px) scale(.8);opacity:0}to{transform:translateX(0) scale(1);opacity:1}}.required-indicator{color:#ef4444;font-weight:700}.optional-indicator{color:var(--text-muted);font-weight:400;font-size:.85em}.form-group{position:relative}@media (max-width:480px){.error-report-content{bottom:68px;right:16px;left:16px;width:auto;max-width:none;height:auto!important;max-height:none!important;display:block!important}.error-report-body{padding:16px;overflow:visible}}.profile-modal{position:fixed;top:0;left:0;right:0;bottom:0;z-index:10000;display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transition:opacity .2s ease,visibility .2s ease}.profile-modal.show{opacity:1;visibility:visible}.profile-modal-backdrop{position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.6);backdrop-filter:blur(4px)}.profile-modal-content{position:relative;width:90%;max-width:480px;max-height:85vh;background:var(--bg);border-radius:16px;box-shadow:var(--shadow-popup);overflow-y:auto;overflow-x:hidden;transform:scale(.95) translateY(20px);transition:transform .25s ease}.profile-modal-content::before{content:'';position:absolute;top:0;left:-60px;right:-60px;height:320px;background:radial-gradient(ellipse 120% 80% at 50% -20%,rgba(59,130,246,.35) 0,rgba(139,92,246,.2) 40%,transparent 70%);pointer-events:none;z-index:0}.profile-modal.show .profile-modal-content{transform:scale(1) translateY(0)}.profile-modal-close{position:absolute;top:16px;right:16px;width:32px;height:32px;border:none;background:var(--bg-secondary);border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--text-secondary);transition:background .15s ease,color .15s ease;z-index:10}.profile-modal-close:hover{background:var(--bg-tertiary);color:var(--text)}.profile-modal-close svg{width:18px;height:18px}.profile-header{position:relative;z-index:1;display:flex;align-items:center;gap:16px;padding:28px 24px 20px;border-bottom:1px solid var(--border)}.profile-avatar{width:56px;height:56px;border-radius:50%;background:var(--primary);color:#fff;font-size:20px;font-weight:600;display:flex;align-items:center;justify-content:center;flex-shrink:0}.profile-info{flex:1;min-width:0}.profile-name{font-size:1.25rem;font-weight:600;color:var(--text);margin:0 0 4px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-badges-row{display:flex;align-items:center;gap:8px}.profile-badge{display:inline-flex;align-items:center;padding:5px 10px;border-radius:12px;font-size:.7rem;font-weight:700;letter-spacing:.5px;text-transform:uppercase;line-height:normal}.profile-badge.pro{background:var(--phy-pro-gradient);color:#fff}.profile-badge.free{background:var(--bg-secondary);color:var(--text-secondary)}.profile-badge.hidden{display:none}.pro-thank-you{margin:8px 0 0 0;font-size:.75rem;line-height:1.4;color:var(--text-muted)}.pro-thank-you.hidden{display:none}.membership-message{position:relative;z-index:1;padding:16px 24px;background:var(--bg-secondary);border-bottom:1px solid var(--border);animation:slideDown .2s ease}.membership-message.hidden{display:none}.membership-message p{margin:0;font-size:.85rem;line-height:1.5;color:var(--text-secondary)}.membership-message.free{background:var(--bg-secondary)}.membership-upgrade-btn{display:inline-flex;align-items:center;gap:6px;margin-top:12px;padding:8px 16px;background:var(--phy-pro-gradient);color:#fff;border:none;border-radius:8px;font-size:.8rem;font-weight:600;cursor:pointer;transition:opacity .15s ease,transform .15s ease}.membership-upgrade-btn:hover{opacity:.9}.membership-upgrade-btn:active{transform:scale(.98) translateY(0)}.membership-upgrade-btn svg{width:14px;height:14px}@keyframes slideDown{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.profile-streak{display:inline-flex;align-items:center;gap:4px;padding:3px 10px;border-radius:12px;font-size:.7rem;font-weight:700;background:linear-gradient(135deg in oklab,#ef4444,#f97316);color:#fff}.profile-streak svg{width:14px;height:14px}.profile-streak.hidden{display:none}.profile-stats{position:relative;z-index:1;display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:20px 24px;border-bottom:1px solid var(--border)}.profile-stat{text-align:center}.stat-value{display:block;font-size:1.5rem;font-weight:700;color:var(--text);line-height:1.2}.stat-label{display:block;font-size:.7rem;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.5px;margin-top:4px}.profile-section{position:relative;z-index:1;padding:20px 24px;border-bottom:1px solid var(--border)}.profile-section:last-child{border-bottom:none}.profile-section-title{font-size:.85rem;font-weight:600;color:var(--text);margin:0 0 12px 0;display:flex;align-items:center;justify-content:space-between}.section-hint{font-size:.7rem;font-weight:400;color:var(--text-muted)}.subject-breakdown{display:flex;flex-direction:column;gap:8px}.subject-row{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;background:var(--bg-secondary);border-radius:10px;transition:background .15s ease}.subject-row:hover{background:var(--bg-tertiary)}.subject-row.favorited{background:linear-gradient(135deg,rgba(251,191,36,.1),rgba(251,191,36,.05));border:1px solid rgba(251,191,36,.3)}.subject-info{display:flex;flex-direction:column;gap:2px;min-width:0}.subject-name{font-size:.9rem;font-weight:500;color:var(--text)}.subject-meta{font-size:.75rem;color:var(--text-secondary)}.subject-score{display:flex;align-items:center;gap:8px}.score-value{font-size:.9rem;font-weight:600;color:var(--primary)}.favorite-btn{width:28px;height:28px;border:none;background:0 0;cursor:pointer;color:var(--text-muted);border-radius:50%;display:flex;align-items:center;justify-content:center;transition:color .15s ease,background .15s ease}.favorite-btn:hover{background:var(--bg-secondary);color:#fbbf24}.favorite-btn.active{color:#fbbf24}.favorite-btn svg{width:18px;height:18px}.favorites-list{display:flex;flex-wrap:wrap;gap:8px}.favorite-tag{display:inline-flex;align-items:center;gap:6px;padding:6px 10px 6px 12px;background:linear-gradient(135deg,rgba(251,191,36,.15),rgba(251,191,36,.1));border:1px solid rgba(251,191,36,.3);border-radius:16px;font-size:.8rem;font-weight:500;color:var(--text);line-height:normal}.remove-favorite-btn{width:16px;height:16px;border:none;background:0 0;cursor:pointer;color:var(--text-muted);padding:0;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all .15s ease}.remove-favorite-btn:hover{background:rgba(0,0,0,.1);color:var(--text)}.remove-favorite-btn svg{width:12px;height:12px}.no-favorites{font-size:.85rem;color:var(--text-muted);font-style:italic}.add-favorite-btn{width:24px;height:24px;border:none;background:var(--bg-secondary);border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--text-secondary);transition:all .15s ease}.add-favorite-btn:hover{background:var(--primary);color:#fff}.add-favorite-btn svg{width:14px;height:14px}.favorite-selector{margin-top:12px;position:relative}.favorite-selector.hidden{display:none}.favorite-selector input{width:100%;padding:10px 14px;border:1px solid var(--border);border-radius:10px;background:var(--bg);color:var(--text);font-size:.9rem;outline:0;transition:border-color .15s ease}.favorite-selector input:focus{border-color:var(--primary)}.favorite-suggestions{position:absolute;top:100%;left:0;right:0;margin-top:4px;background:var(--bg);border:1px solid var(--border);border-radius:10px;box-shadow:0 4px 12px var(--shadow-md);overflow:hidden;z-index:10}.favorite-suggestions:empty{display:none}.favorite-suggestion{padding:10px 14px;cursor:pointer;font-size:.9rem;color:var(--text);transition:background .1s ease}.favorite-suggestion:hover{background:var(--bg-secondary)}.no-suggestions{padding:10px 14px;font-size:.85rem;color:var(--text-muted);font-style:italic}.activity-list{display:flex;flex-direction:column;gap:8px}.activity-item{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;background:var(--bg-secondary);border-radius:10px}.activity-info{display:flex;flex-direction:column;gap:2px}.activity-subject{font-size:.85rem;font-weight:500;color:var(--text)}.activity-date{font-size:.75rem;color:var(--text-secondary)}.activity-score{font-size:.9rem;font-weight:600;color:var(--primary)}.loading-placeholder{padding:20px;text-align:center;color:var(--text-muted);font-size:.85rem}.empty-state{padding:20px;text-align:center;color:var(--text-muted);font-size:.85rem}.error-state{padding:20px;text-align:center;color:var(--error);font-size:.85rem}.login-prompt{grid-column:1/-1;text-align:center;padding:20px}.login-prompt p{margin:0 0 16px 0;color:var(--text-secondary);font-size:.9rem}.login-btn{display:inline-block;padding:10px 24px;background:var(--primary);color:#fff;border:none;border-radius:8px;font-size:.9rem;font-weight:500;text-decoration:none;cursor:pointer;transition:opacity .15s ease}.login-btn:hover{opacity:.9}@media (max-width:480px){.profile-modal-content{width:95%;max-height:90vh;border-radius:16px}.profile-stats{grid-template-columns:repeat(2,1fr);gap:16px}.profile-header{padding:20px}.profile-section{padding:16px 20px}}.frq-stats{display:inline-flex;align-items:center;font-weight:400}.frq-stats-separator{color:var(--text-muted);margin:0 5px;opacity:.4}.frq-stats-separator:first-child{margin-left:3px}.frq-stats-tries{color:var(--text-muted);font-size:.85rem;font-weight:400}.frq-stats-score{display:inline-flex;align-items:center;gap:4px;color:#f59e0b;font-size:.85rem;font-weight:600}.frq-stats-icon{width:16px;height:16px}.favorite-star{position:absolute;top:12px;right:12px;width:16px;height:16px;color:#fbbf24;filter:drop-shadow(0 1px 2px rgba(251, 191, 36, .3));pointer-events:none}.favorite-star svg{width:100%;height:100%}.motivation-banner{grid-column:1/-1;display:flex;align-items:center;gap:10px;padding:12px 16px;background:rgba(0,0,0,.05);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border:1px solid rgba(0,0,0,.06);border-radius:10px;margin-bottom:4px}[data-theme=dark] .motivation-banner{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.1)}.motivation-icon{flex-shrink:0;width:16px;height:16px;color:var(--text-muted)}.motivation-icon svg{width:100%;height:100%}.motivation-text{flex:1;margin:0;font-size:.875rem;line-height:1.5;color:var(--text-secondary)}@media (max-width:600px){.motivation-banner{padding:10px 14px;gap:8px}.motivation-icon{width:14px;height:14px}.motivation-text{font-size:.75rem}.favorite-star{width:14px;height:14px;top:10px;right:10px}.frq-stats-score,.frq-stats-tries{font-size:.75rem}.frq-stats-icon{width:10px;height:10px}}.welcome-modal{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transition:opacity .3s ease,visibility .3s ease}.welcome-modal.active{opacity:1;visibility:visible}.welcome-modal__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.85);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}.welcome-modal__container{position:relative;width:95%;max-width:800px;max-height:90vh;background:var(--bg,#fff);border-radius:20px;overflow:hidden;transform:scale(.95) translateY(10px);transition:transform .3s cubic-bezier(.4, 0, .2, 1);box-shadow:0 25px 50px -12px rgba(0,0,0,.25),0 0 0 1px rgba(255,255,255,.1)}.welcome-modal.active .welcome-modal__container{transform:scale(1) translateY(0)}.welcome-modal__header{padding:2rem 2rem 1.25rem;text-align:center}.welcome-modal__title{font-size:1.75rem;font-weight:700;color:var(--text,#18181b);margin:0 0 .5rem;letter-spacing:-.02em}.welcome-modal__subtitle{font-size:1rem;color:var(--text-muted,#71717a);margin:0}.welcome-modal__close{position:absolute;top:1rem;right:1rem;width:36px;height:36px;border:none;background:var(--bg-elevated,#f4f4f5);border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s ease,transform .2s ease;z-index:10}.welcome-modal__close:hover{background:var(--bg-hover,#e4e4e7);transform:scale(1.05)}.welcome-modal__close svg{width:18px;height:18px;color:var(--text-muted,#71717a)}.welcome-modal__carousel{position:relative;padding:0 2.5rem 1.5rem;overflow:hidden}.welcome-modal__track{display:flex;gap:1rem;transition:transform .4s cubic-bezier(.4, 0, .2, 1);cursor:grab;padding:1rem 0;align-items:center}.welcome-modal__track:active{cursor:grabbing}.welcome-modal__nav{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border:none;background:var(--bg,#fff);border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease;z-index:20;box-shadow:0 2px 8px rgba(0,0,0,.15),0 0 0 1px rgba(0,0,0,.05)}.welcome-modal__nav:hover{background:var(--bg-elevated,#f4f4f5);transform:translateY(-50%) scale(1.08);box-shadow:0 4px 12px rgba(0,0,0,.2),0 0 0 1px rgba(0,0,0,.08)}.welcome-modal__nav:active{transform:translateY(-50%) scale(.95)}.welcome-modal__nav svg{width:20px;height:20px;color:var(--text,#18181b)}.welcome-modal__nav--prev{left:.25rem}.welcome-modal__nav--next{right:.25rem}.welcome-modal__nav.hidden{opacity:0;pointer-events:none}.welcome-modal__card{flex:0 0 82%;background:var(--bg-elevated,#f9fafb);border-radius:16px;overflow:hidden;transition:transform .4s ease,opacity .4s ease,box-shadow .4s ease;opacity:.35;transform:scale(.88);box-shadow:0 2px 8px rgba(0,0,0,.08)}.welcome-modal__card.active{opacity:1;transform:scale(1);box-shadow:0 12px 40px rgba(0,0,0,.18),inset 0 0 0 1px rgba(0,0,0,.06)}.welcome-modal__card--video{display:flex;flex-direction:column}.welcome-modal__card--cta{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2.5rem 2rem;text-align:center;min-height:320px}.welcome-modal__video-wrap{position:relative;aspect-ratio:16/9;overflow:hidden}.welcome-modal__video{width:100%;height:100%;object-fit:cover;display:block;padding:0}.welcome-modal__card-content{padding:1.25rem 1.5rem;display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.welcome-modal__card-info{display:flex;align-items:flex-start;gap:.75rem;flex:1}.welcome-modal__step-num{width:32px;height:32px;min-width:32px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#3b82f6 0,#6366f1 50%,#8b5cf6 100%);color:#fff;font-size:.9rem;font-weight:700;border-radius:50%}.welcome-modal__card-text{display:flex;flex-direction:column;gap:.25rem}.welcome-modal__card-title{font-size:1.1rem;font-weight:600;color:var(--text,#18181b);margin:0}.welcome-modal__card-desc{font-size:.9rem;color:var(--text-muted,#71717a);margin:0;line-height:1.4}.welcome-modal__countdown{position:relative;width:44px;height:44px;flex-shrink:0;transition:opacity .3s ease}.welcome-modal__countdown.hidden{opacity:0}.welcome-modal__countdown-ring{transform:rotate(-90deg)}.welcome-modal__countdown-bg{fill:none;stroke:var(--bg-hover,#e4e4e7);stroke-width:3}.welcome-modal__countdown-progress{fill:none;stroke:url(#countdownGradient);stroke-width:3;stroke-linecap:round;stroke-dasharray:113;stroke-dashoffset:0;transition:stroke-dashoffset .1s linear}.welcome-modal__countdown-text{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:.8rem;font-weight:600;color:var(--text-muted,#71717a)}.welcome-modal__progress{display:flex;justify-content:center;gap:.5rem;padding:1rem 0 1.5rem}.welcome-modal__dot{width:8px;height:8px;border-radius:50%;background:var(--bg-hover,#e4e4e7);transition:background .3s ease,transform .3s ease,width .3s ease;cursor:pointer}.welcome-modal__dot.active{background:linear-gradient(135deg,#3b82f6 0,#8b5cf6 100%);width:24px;border-radius:4px}.welcome-modal__dot:hover:not(.active){background:var(--text-muted,#a1a1aa);transform:scale(1.2)}.welcome-modal__cta-icon{width:72px;height:72px;margin-bottom:1.5rem;background:linear-gradient(135deg,rgba(59,130,246,.15) 0,rgba(139,92,246,.15) 100%);border-radius:20px;display:flex;align-items:center;justify-content:center}.welcome-modal__cta-icon svg{width:36px;height:36px;color:#3b82f6}.welcome-modal__cta-title{font-size:1.6rem;font-weight:700;color:var(--text,#18181b);margin:0 0 .5rem}.welcome-modal__cta-subtitle{font-size:1.05rem;color:var(--text-muted,#71717a);margin:0 0 2rem}.welcome-modal__cta-buttons{display:flex;flex-direction:column;gap:.75rem;width:100%;max-width:300px}.welcome-modal__btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:1rem 1.75rem;font-size:1rem;font-weight:600;text-decoration:none;border-radius:12px;border:none;cursor:pointer;transition:all .2s ease}.welcome-modal__btn--primary{color:#fff;background:linear-gradient(135deg,#3b82f6 0,#6366f1 50%,#8b5cf6 100%);box-shadow:0 2px 12px rgba(59,130,246,.35)}.welcome-modal__btn--primary:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(59,130,246,.45)}.welcome-modal__btn--secondary{color:var(--text-muted,#71717a);background:0 0}.welcome-modal__btn--secondary:hover{color:var(--text,#18181b);background:var(--bg-elevated,#f4f4f5)}.welcome-modal__btn svg{width:18px;height:18px}.welcome-modal__footer{padding:0 2rem 1.5rem;display:flex;justify-content:center}.welcome-modal__checkbox-label{display:flex;align-items:center;gap:.625rem;font-size:.85rem;color:var(--text-muted,#71717a);cursor:pointer;user-select:none}.welcome-modal__checkbox-label input{position:absolute;opacity:0;width:0;height:0}.welcome-modal__checkbox{position:relative;width:18px;height:18px;border:2px solid var(--text-muted,#a1a1aa);border-radius:50%;transition:all .2s ease;flex-shrink:0}.welcome-modal__checkbox::after{content:'';position:absolute;top:50%;left:50%;width:4px;height:7px;border:solid #fff;border-width:0 1.5px 1.5px 0;transform:translate(-50%,-60%) rotate(45deg) scale(0);transition:transform .2s ease}.welcome-modal__checkbox-label:hover .welcome-modal__checkbox{border-color:#3b82f6}.welcome-modal__checkbox-label input:checked+.welcome-modal__checkbox{background:linear-gradient(135deg,#3b82f6 0,#6366f1 50%,#8b5cf6 100%);border-color:transparent}.welcome-modal__checkbox-label input:checked+.welcome-modal__checkbox::after{transform:translate(-50%,-60%) rotate(45deg) scale(1)}.welcome-modal__checkbox-label input:focus-visible+.welcome-modal__checkbox{outline:2px solid #3b82f6;outline-offset:2px}[data-theme=dark] .welcome-modal__container{background:#18181b}[data-theme=dark] .welcome-modal__card{background:#27272a}[data-theme=dark] .welcome-modal__card.active{box-shadow:0 12px 40px rgba(0,0,0,.4),inset 0 0 0 1px rgba(255,255,255,.08)}[data-theme=dark] .welcome-modal__close,[data-theme=dark] .welcome-modal__nav{background:#27272a}[data-theme=dark] .welcome-modal__close:hover,[data-theme=dark] .welcome-modal__nav:hover{background:#3f3f46}[data-theme=dark] .welcome-modal__nav svg{color:#f4f4f5}[data-theme=dark] .welcome-modal__countdown-bg{stroke:#3f3f46}[data-theme=dark] .welcome-modal__dot{background:#3f3f46}[data-theme=dark] .welcome-modal__btn--secondary:hover{background:#27272a}[data-theme=dark] .welcome-modal__checkbox{border-color:#52525b}[data-theme=dark] .welcome-modal__checkbox-label:hover .welcome-modal__checkbox{border-color:#6366f1}@media (max-width:640px){.welcome-modal__container{width:92%;max-height:85vh;border-radius:16px}.welcome-modal__header{padding:1.25rem 1.25rem .75rem}.welcome-modal__title{font-size:1.25rem}.welcome-modal__subtitle{font-size:.85rem}.welcome-modal__carousel{padding:0 1.5rem 1rem}.welcome-modal__track{gap:.75rem;padding:.75rem 0}.welcome-modal__card{flex:0 0 90%}.welcome-modal__card-info{flex-direction:column;align-items:flex-start;gap:.5rem}.welcome-modal__card-content{padding:.875rem 1rem;gap:.75rem}.welcome-modal__step-num{width:28px;height:28px;min-width:28px;font-size:.8rem}.welcome-modal__card-title{font-size:1rem}.welcome-modal__card-desc{font-size:.8rem}.welcome-modal__countdown{width:38px;height:38px}.welcome-modal__countdown-ring{width:38px;height:38px}.welcome-modal__countdown-text{font-size:.7rem}.welcome-modal__card--cta{min-height:240px;padding:1.5rem 1.25rem}.welcome-modal__cta-icon{width:56px;height:56px;margin-bottom:1rem;border-radius:14px}.welcome-modal__cta-icon svg{width:28px;height:28px}.welcome-modal__cta-title{font-size:1.3rem}.welcome-modal__cta-subtitle{font-size:.9rem;margin-bottom:1.25rem}.welcome-modal__btn{padding:.875rem 1.5rem;font-size:.9rem}.welcome-modal__nav{width:36px;height:36px}.welcome-modal__nav svg{width:16px;height:16px}.welcome-modal__progress{padding:.75rem 0 1rem}.welcome-modal__footer{padding:0 1.25rem 1.25rem}.welcome-modal__close{width:32px;height:32px;top:.75rem;right:.75rem}.welcome-modal__close svg{width:16px;height:16px}}