:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--font-sans:"Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;--font-serif:"Songti SC", "Noto Serif CJK SC", "STSong", Georgia, serif;--font-serif-cn:"Kaiti SC", "STKaiti", "KaiTi", "Songti SC", "Noto Serif CJK SC", serif;--font-kai:"Kaiti SC", "STKaiti", "KaiTi", "楷体", "Songti SC", serif;--font-mono:ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace;--canvas:#f8f8f5;--surface:#fff;--surface-raised:#fff;--surface-soft:#f2f1ec;--surface-subtle:#f4f3ee;--surface-hover:#eae8e1;--surface-glass:#ffffffd6;--surface-glass-strong:#ffffffed;--text:#14171f;--text-secondary:#4e5666;--text-tertiary:#7a8293;--muted:#7a8293;--border:#14171f18;--border-subtle:#14171f0e;--border-strong:#14171f2b;--blue:#1f4fd6;--blue-hover:#173eb0;--action:#1f4fd6;--accent:#1f4fd6;--accent-soft:#eef3ff;--light-blue:#eef3ff;--selected-surface:#edf2ff;--focus-ring:#1f4fd647;--danger-bg:#fef2f2;--danger-border:#f8d4d4;--danger-text:#b4232c;--success-bg:#eefaf4;--success-border:#c5ebd7;--success-text:#1b7447;--warning-bg:#fef8e7;--warning-border:#f3dfb0;--warning-text:#8c6115;--subject-cn:#b8432e;--subject-cn-soft:#fbf0ed;--subject-math:#2354b5;--subject-math-soft:#edf3fc;--subject-en:#1c6a50;--subject-en-soft:#ebf6f1;--chinese-ink:var(--subject-cn);--chinese-surface:var(--subject-cn-soft);--chinese-border:#ecd2cb;--math-ink:var(--subject-math);--math-surface:var(--subject-math-soft);--math-border:#cdddf4;--english-ink:var(--subject-en);--english-surface:var(--subject-en-soft);--english-border:#c6e0d4;--subject-ink:var(--blue);--subject-surface:var(--light-blue);--subject-border:var(--border);--frame-max:1344px;--frame-edge:clamp(16px, 3vw, 40px);--header-height:64px;--top-offset:88px;--radius-xs:6px;--radius-sm:10px;--radius:10px;--radius-md:14px;--radius-lg:20px;--radius-pill:999px;--r-xs:6px;--r-sm:10px;--r-md:12px;--r-lg:16px;--r-xl:20px;--r-pill:999px;--shadow-xs:0 1px 2px #1016240a;--shadow-sm:0 1px 2px #1016240a, 0 6px 20px -6px #1016240f;--shadow-md:0 2px 6px #1016240d, 0 14px 36px -10px #1016241a;--shadow-lg:0 12px 36px -12px #10162424, 0 2px 6px #1016240d;--shadow-float:0 8px 32px -4px #1016241f, 0 1px 3px #1016240f;--shadow-dialog:0 24px 72px -12px #0a0f1c3d, 0 2px 8px #0a0f1c14;--backdrop:#0f14206b;--ease-out:cubic-bezier(.22, 1, .36, 1);--ease-spring:cubic-bezier(.34, 1.4, .64, 1);--dur-fast:.15s;--dur-base:.24s;--dur-slow:.4s;--select-chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7385' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");font-family:var(--font-sans);color:var(--text);background:var(--canvas);font-synthesis:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizelegibility;font-size:16px;line-height:1.55}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--canvas:#0e1116;--surface:#151921;--surface-raised:#1a1f29;--surface-soft:#1d232e;--surface-subtle:#1a202b;--surface-hover:#252c3a;--surface-glass:#151921d6;--surface-glass-strong:#151921f0;--text:#eef1f6;--text-secondary:#a7b0c2;--text-tertiary:#7e889d;--muted:#7e889d;--border:#ffffff18;--border-subtle:#ffffff0e;--border-strong:#ffffff2b;--blue:#7ea6ff;--blue-hover:#4774eb;--action:#3563e0;--accent:#7ea6ff;--accent-soft:#7ea6ff24;--light-blue:#7ea6ff21;--selected-surface:#7ea6ff24;--focus-ring:#7ea6ff5c;--danger-bg:#f8717121;--danger-border:#f8717147;--danger-text:#fca5a5;--success-bg:#34d3991f;--success-border:#34d39942;--success-text:#6ee7b7;--warning-bg:#fbbf241f;--warning-border:#fbbf2442;--warning-text:#fcd34d;--subject-cn:#e48370;--subject-cn-soft:#e4837021;--subject-math:#8ab2ff;--subject-math-soft:#8ab2ff21;--subject-en:#72cfa9;--subject-en-soft:#72cfa921;--chinese-ink:var(--subject-cn);--chinese-surface:var(--subject-cn-soft);--chinese-border:#e4837047;--math-ink:var(--subject-math);--math-surface:var(--subject-math-soft);--math-border:#8ab2ff47;--english-ink:var(--subject-en);--english-surface:var(--subject-en-soft);--english-border:#72cfa947;--shadow-xs:0 1px 2px #00000047;--shadow-sm:0 2px 12px -2px #0000005c;--shadow-md:0 10px 32px -8px #00000080;--shadow-lg:0 16px 44px -10px #00000094;--shadow-float:0 14px 40px -6px #00000094, 0 0 0 1px #ffffff0a;--shadow-dialog:0 28px 80px -12px #000000b8;--backdrop:#04060cb3;--select-chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2399a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")}[data-subject=语文]{--subject-ink:var(--chinese-ink);--subject-surface:var(--chinese-surface);--subject-border:var(--chinese-border)}[data-subject=数学]{--subject-ink:var(--math-ink);--subject-surface:var(--math-surface);--subject-border:var(--math-border)}[data-subject=英语]{--subject-ink:var(--english-ink);--subject-surface:var(--english-surface);--subject-border:var(--english-border)}*,:before,:after{box-sizing:border-box}body{background:var(--canvas);color:var(--text);margin:0}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button,a,input,select,textarea{outline-offset:2px}:is(button,a,input,select,textarea,[tabindex]):focus-visible{outline:2px solid var(--blue);outline-offset:2px}a{color:var(--blue);text-decoration:none}h1,h2,h3,h4,p{margin-top:0}svg{vertical-align:middle;flex-shrink:0}input::placeholder,textarea::placeholder{color:var(--muted);opacity:1}@keyframes ui-fade-up{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes fade-slide-up{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes ui-scale-in{0%{opacity:0;transform:scale(.965)translateY(6px)}to{opacity:1;transform:scale(1)translateY(0)}}@keyframes ui-fade-in{0%{opacity:0}to{opacity:1}}@keyframes ui-spin{to{transform:rotate(360deg)}}@keyframes ui-shimmer{to{background-position:-200% 0}}@keyframes ui-theme-pop{0%{opacity:0;transform:rotate(-28deg)scale(.75)}to{opacity:1;transform:rotate(0)scale(1)}}@keyframes eq-bounce{0%,to{transform:scaleY(.32)}50%{transform:scaleY(1)}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}select{appearance:none;background-color:var(--surface);background-image:var(--select-chevron);border:1px solid var(--border);border-radius:var(--radius-sm);height:40px;min-height:40px;color:var(--text);cursor:pointer;max-width:100%;transition:border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background-color var(--dur-fast);background-position:right 12px center;background-repeat:no-repeat;background-size:16px;padding:0 36px 0 13px;font-size:.875rem;font-weight:500;line-height:1.5}select:hover:not(:disabled){border-color:var(--border-strong);background-color:var(--surface-raised)}select:focus-visible{border-color:var(--blue);box-shadow:0 0 0 3px var(--focus-ring);outline:none}select:disabled{cursor:not-allowed;opacity:.45}select option{background:var(--surface);color:var(--text)}:where(input:not([type=checkbox]):not([type=range]),textarea){border:1px solid var(--border);border-radius:var(--radius-sm);max-width:100%;min-height:42px;color:var(--text);background:var(--surface);transition:border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);padding:10px 13px;font-size:.9375rem}:where(input:not([type=checkbox]):not([type=range]),textarea):hover:not(:disabled){border-color:var(--border-strong)}:where(input:not([type=checkbox]):not([type=range]),textarea):focus-visible{border-color:var(--blue);box-shadow:0 0 0 3px var(--focus-ring);outline:none}input[type=checkbox]{accent-color:var(--action);cursor:pointer;width:17px;height:17px}input[type=range]{accent-color:var(--blue);cursor:pointer;width:100%;min-height:24px;margin:0}textarea{resize:vertical}h1{letter-spacing:-.025em;margin-bottom:0;font-size:clamp(1.5rem,2.6vw,2rem);font-weight:680;line-height:1.25}h2{letter-spacing:-.02em;margin-bottom:0;font-size:clamp(1.15rem,1.8vw,1.4rem);font-weight:650;line-height:1.35}h3{letter-spacing:-.01em;font-size:1.0625rem;font-weight:620;line-height:1.4}.container{width:min(var(--frame-max), calc(100% - 2 * var(--frame-edge)));margin:0 auto;padding:28px 0 40px}.button{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);min-height:40px;color:var(--text);white-space:nowrap;box-shadow:var(--shadow-xs);transition:background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);justify-content:center;align-items:center;gap:7px;padding:8px 15px;font-size:.875rem;font-weight:540;line-height:1.4;display:inline-flex}.button:hover:not(:disabled){background:var(--surface-soft);border-color:var(--border-strong)}.button:active:not(:disabled){transform:scale(.98)}.button.primary{background:var(--action);color:#fff;border-color:#0000;box-shadow:0 1px 2px #10204829,inset 0 1px #ffffff24}.button.primary:hover:not(:disabled){background:var(--blue-hover);border-color:#0000;box-shadow:0 4px 12px -2px #1f4fd657}.button.secondary{color:var(--blue);background:var(--surface);border-color:color-mix(in srgb, var(--blue) 28%, var(--border))}.button.secondary:hover:not(:disabled){background:var(--light-blue);border-color:color-mix(in srgb, var(--blue) 45%, var(--border))}.button.danger{color:var(--danger-text);border-color:var(--danger-border);background:var(--danger-bg)}.button.danger:hover:not(:disabled){border-color:color-mix(in srgb, var(--danger-text) 45%, transparent)}.button.selected{color:var(--blue);background:var(--selected-surface);border-color:color-mix(in srgb, var(--blue) 35%, var(--border))}.icon-button{border-radius:var(--radius-sm);min-width:36px;min-height:36px;color:var(--text-secondary);transition:background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);background:0 0;border:0;justify-content:center;align-items:center;padding:8px;display:inline-flex}.icon-button:hover:not(:disabled){background:var(--surface-soft);color:var(--text)}.icon-button:active:not(:disabled){transform:scale(.94)}.text-button{color:var(--blue);border-radius:var(--radius-xs);transition:background var(--dur-fast) var(--ease-out), color var(--dur-fast);background:0 0;border:0;padding:6px 8px;font-size:.875rem;font-weight:580}.text-button:hover:not(:disabled){background:var(--light-blue)}.muted{color:var(--muted);font-size:.875rem}.field{color:var(--text-secondary);flex-direction:column;gap:6px;font-size:.875rem;font-weight:500;display:flex}.badge{border-radius:var(--radius-pill);background:var(--light-blue);color:var(--blue);align-items:center;padding:2px 9px;font-size:.75rem;font-weight:560;display:inline-flex}.empty{text-align:center;color:var(--muted);padding:56px 20px}.empty>svg{color:var(--muted);opacity:.7;margin-bottom:14px}.empty h2,.empty h3{color:var(--text);margin-bottom:8px;font-size:1.125rem}.empty p{color:var(--text-secondary);margin-bottom:8px;font-size:.9375rem}.empty-library{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-xs);margin-top:20px}.error-banner{border:1px solid var(--danger-border);border-radius:var(--radius-md);color:var(--danger-text);background:var(--danger-bg);animation:ui-fade-up var(--dur-base) var(--ease-out);justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;padding:12px 16px;font-size:.875rem;display:flex}.error-banner .text-button{color:var(--danger-text);flex-shrink:0}.error-banner .text-button:hover{background:#b4232c1a}.spinner{border:2.5px solid var(--border-strong);border-top-color:var(--blue);border-radius:50%;width:22px;height:22px;animation:.85s linear infinite ui-spin;display:inline-block}.skip-link{z-index:120;background:var(--action);color:#fff;border-radius:var(--radius-sm);box-shadow:var(--shadow-md);padding:10px 16px;font-size:.875rem;font-weight:600;position:fixed;top:-80px;left:16px}.skip-link:focus{top:12px}main#main{scroll-margin-top:calc(var(--header-height) + 8px)}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.app-shell{flex-direction:column;min-height:100dvh;display:flex}.site-header{z-index:40;height:var(--header-height);background:var(--surface-glass);-webkit-backdrop-filter:saturate(180%)blur(16px);border-bottom:1px solid var(--border);transition:background var(--dur-base), border-color var(--dur-base);position:sticky;top:0}.header-inner{width:min(var(--frame-max), calc(100% - 2 * var(--frame-edge)));align-items:center;gap:16px;height:100%;margin:0 auto;display:flex}.brand{color:var(--text);white-space:nowrap;min-width:0;transition:opacity var(--dur-fast);align-items:center;gap:10px;display:inline-flex}.brand:hover{opacity:.82}.brand-mark{width:34px;height:34px;transition:transform var(--dur-base) var(--ease-spring);flex-shrink:0;display:block}.brand:hover .brand-mark{transform:scale(1.04)rotate(-2deg)}.brand-name{letter-spacing:-.02em;color:var(--text);font-size:1.0625rem;font-weight:680}.main-nav{border-radius:var(--radius-pill);background:var(--surface-soft);border:1px solid var(--border-subtle);align-items:center;gap:4px;margin-left:auto;padding:4px;display:flex}.nav-item{border-radius:var(--radius-pill);min-height:34px;color:var(--text-secondary);white-space:nowrap;transition:color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast);background:0 0;border:0;justify-content:center;align-items:center;gap:6px;padding:5px 14px;font-size:.875rem;font-weight:540;display:inline-flex;position:relative}.nav-item:hover{color:var(--text)}.nav-item.active{color:var(--text);background:var(--surface);box-shadow:var(--shadow-xs);font-weight:620}.header-action{border-radius:var(--radius-pill);min-height:36px;padding:6px 12px;font-size:.8125rem}.theme-control{border:1px solid var(--border);border-radius:var(--radius-pill);background:var(--surface);width:38px;height:38px;color:var(--text-secondary);box-shadow:var(--shadow-xs);transition:background var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast), transform var(--dur-fast);flex-shrink:0;place-items:center;display:grid}.theme-control:hover{background:var(--surface-soft);border-color:var(--border-strong);color:var(--text)}.theme-control:active{transform:scale(.93)}.theme-control-icon{animation:ui-theme-pop .26s var(--ease-spring);place-items:center;display:grid}.search-field{border:1px solid var(--border);border-radius:var(--radius-pill);background:var(--surface);min-height:40px;color:var(--muted);box-shadow:var(--shadow-xs);transition:border-color var(--dur-fast), box-shadow var(--dur-fast), background var(--dur-fast);align-items:center;gap:8px;padding:0 10px 0 13px;display:flex}.search-field:hover{border-color:var(--border-strong)}.search-field:focus-within{border-color:var(--blue);box-shadow:0 0 0 3px var(--focus-ring)}.search-field input:not([type=checkbox]):not([type=range]){min-width:0;min-height:38px;box-shadow:none;background:0 0;border:0;border-radius:0;flex:1;padding:6px 0;font-size:.875rem}.search-field input:focus-visible{box-shadow:none;outline:none}.search-field .icon-button{border-radius:50%;width:28px;min-width:28px;height:28px;min-height:28px;padding:0}.search-kbd{border:1px solid var(--border);background:var(--surface-soft);min-width:22px;height:22px;color:var(--muted);font-family:var(--font-mono);border-radius:6px;place-items:center;padding:0 5px;font-size:11px;line-height:1;display:inline-grid}.library-page{padding-top:16px;padding-bottom:calc(var(--player-height,64px) + 40px);animation:ui-fade-in var(--dur-base) var(--ease-out);flex:1}.library-page :is(.cn-main,.resource-panel,.resource-heading,.cn-lesson-section){scroll-margin-top:calc(var(--header-height) + 18px)}.library-top-bar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 16px;margin-bottom:12px;display:flex}.page-title{align-items:center;gap:12px;min-width:0;display:flex}.page-title h1{font-size:clamp(1.25rem,2vw,1.5rem)}.library-back-link{border-radius:var(--radius-pill);border:1px solid var(--border);background:var(--surface);min-height:34px;color:var(--text-secondary);white-space:nowrap;box-shadow:var(--shadow-xs);transition:color var(--dur-fast), border-color var(--dur-fast), background var(--dur-fast), transform var(--dur-fast);align-items:center;gap:6px;padding:4px 12px 4px 9px;font-size:.8125rem;font-weight:540;display:inline-flex}.library-back-link:hover{color:var(--text);border-color:var(--border-strong);background:var(--surface-soft)}.library-back-link svg{transition:transform var(--dur-fast) var(--ease-out)}.library-back-link:hover svg{transform:translate(-2px)}.library-toolbar{flex:1;justify-content:flex-end;align-items:center;gap:10px;min-width:min(100%,240px);display:flex}.library-toolbar>.search-field{width:min(100%,340px)}.book-header{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);box-shadow:var(--shadow-xs);align-items:center;gap:14px;padding:12px 16px;display:flex;position:relative;overflow:hidden}.book-cover{border-radius:var(--radius-xs);background:var(--subject-surface);border:1px solid var(--subject-border);width:40px;min-height:54px;color:var(--subject-ink);text-align:center;flex-direction:column;flex-shrink:0;justify-content:center;align-items:center;gap:2px;padding:4px 3px;display:flex}.book-cover strong{font-family:var(--font-serif);font-size:.9rem;font-weight:680;line-height:1.2}.book-cover span{opacity:.85;font-size:.56rem;line-height:1.25}.book-cover svg{display:none}.book-cover.has-image{min-height:0;box-shadow:2px 2px 0 -1px var(--surface), 3px 3px 0 -1px var(--border-strong), 0 5px 12px -4px #10162433;background:0 0;border:0;border-radius:3px 6px 6px 3px;padding:0;position:relative;overflow:hidden}.book-cover.has-image:after{content:"";pointer-events:none;background:linear-gradient(90deg,#00000024 0%,#fff3 6%,#0000000f 11%,#0000 26%);position:absolute;inset:0}.book-cover.has-image img{object-fit:cover;border-radius:3px 6px 6px 3px;width:40px;height:auto;max-height:56px;display:block}.book-details{flex:1;min-width:0}.book-title-line{flex-wrap:wrap;align-items:center;gap:7px;margin-bottom:3px;display:flex}.book-subject-chip{border-radius:var(--radius-pill);background:var(--subject-surface);color:var(--subject-ink);align-items:center;padding:2px 8px;font-size:.7rem;font-weight:640;display:inline-flex}.book-mode-chip{border-radius:var(--radius-pill);background:var(--surface-soft);color:var(--text-secondary);align-items:center;padding:2px 8px;font-size:.68rem;font-weight:540;display:inline-flex}.book-details h2{color:var(--text);overflow-wrap:anywhere;margin:0;font-size:clamp(1rem,1.5vw,1.1875rem)}.book-meta-line{color:var(--text-secondary);flex-wrap:wrap;align-items:center;gap:5px;margin:0;font-size:.78rem;line-height:1.5;display:flex}.book-meta-line svg{width:13px;height:13px;color:var(--subject-ink);opacity:.85}.book-meta-sep{color:var(--border-strong)}.book-meta-desc{color:var(--muted)}.edition{color:var(--muted);font-size:.78rem}.share-book{border-radius:var(--radius-pill);flex-shrink:0;min-height:36px;padding:6px 13px;font-size:.8125rem}.resource-layout{grid-template-columns:232px minmax(0,1fr);align-items:start;gap:20px;margin-top:20px;display:grid}.unit-sidebar{top:calc(var(--header-height) + 18px);max-height:max(180px, calc(100dvh - var(--header-height) - 36px - var(--player-height,64px)));border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-xs);overscroll-behavior-y:contain;scrollbar-width:thin;scrollbar-color:var(--border-strong) transparent;padding:10px;position:sticky;overflow-y:auto}.unit-link{text-align:left;border-radius:var(--radius-sm);width:100%;min-height:42px;color:var(--text-secondary);transition:background var(--dur-fast), color var(--dur-fast);background:0 0;border:0;align-items:center;gap:9px;padding:10px 12px;font-size:.875rem;font-weight:500;display:flex}.unit-link+.unit-link{margin-top:2px}.unit-link>svg{opacity:.72}.unit-link>span:last-child:not(.unit-name){border-radius:var(--radius-pill);background:var(--surface-soft);color:var(--muted);font-variant-numeric:tabular-nums;margin-left:auto;padding:1px 7px;font-size:.75rem}.unit-link:hover{background:var(--surface-soft);color:var(--text)}.unit-link.active{color:var(--blue);background:var(--selected-surface);font-weight:600}.unit-link.active>svg{opacity:1}.unit-link.active>span:last-child:not(.unit-name){background:color-mix(in srgb, var(--blue) 14%, transparent);color:var(--blue)}.unit-name{overflow-wrap:anywhere;min-width:0}.resource-panel{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);min-width:0;box-shadow:var(--shadow-sm);padding:22px 26px}.favorites-layout{grid-template-columns:1fr}.resource-heading{border-bottom:1px solid var(--border-subtle);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;padding-bottom:16px;display:flex}.resource-heading h2{align-items:center;gap:10px;font-size:1.125rem;display:flex}.count-label{border-radius:var(--radius-pill);background:var(--surface-soft);color:var(--text-secondary);font-variant-numeric:tabular-nums;white-space:nowrap;padding:2px 9px;font-size:.75rem;font-weight:520}.play-unit{border-radius:var(--radius-pill);min-height:36px;padding:6px 14px;font-size:.8125rem}.resource-list{flex-direction:column;gap:4px;display:flex}.resource-row{border-radius:var(--radius-md);content-visibility:auto;contain-intrinsic-size:62px;min-height:60px;transition:background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);background:0 0;border:1px solid #0000;align-items:center;display:flex}.resource-row+.resource-row{position:relative}.resource-row:hover{background:var(--surface-soft)}.resource-row.active{background:var(--selected-surface);border-color:color-mix(in srgb, var(--blue) 26%, transparent)}.eq-bars{align-items:flex-end;gap:2.5px;height:14px;display:inline-flex}.eq-bars i{background:var(--blue);transform-origin:bottom;border-radius:2px;width:2.5px;height:100%;animation:.85s ease-in-out infinite eq-bounce;display:block}.eq-bars i:nth-child(2){animation-delay:.18s}.eq-bars i:nth-child(3){animation-delay:.36s}.eq-bars.is-player{flex-shrink:0;height:12px}.resource-kind-dot{vertical-align:middle;background:var(--subject-en);border-radius:50%;width:6px;height:6px;margin-right:6px;display:inline-block}.resource-row[data-kind=pdf] .resource-kind-dot{background:var(--subject-cn)}.resource-row[data-kind=video] .resource-kind-dot{background:var(--subject-math)}.resource-row[data-kind=image] .resource-kind-dot{background:var(--warning-text)}.resource-open{text-align:left;color:inherit;border-radius:var(--radius-md);background:0 0;border:0;flex:1;align-self:stretch;align-items:center;gap:14px;min-width:0;padding:10px 12px;display:flex}.page-badge{border-radius:var(--radius-xs);font-variant-numeric:tabular-nums;background:var(--surface-soft);min-width:40px;height:30px;color:var(--text-secondary);transition:background var(--dur-fast), color var(--dur-fast);flex-shrink:0;place-items:center;padding:0 6px;font-size:.75rem;font-weight:600;display:grid}.resource-row:hover .page-badge{background:var(--surface)}.resource-row.active .page-badge{background:color-mix(in srgb, var(--blue) 16%, var(--surface));color:var(--blue)}.resource-title{min-width:0;color:var(--text);overflow-wrap:anywhere;flex-direction:column;gap:2px;font-size:.9375rem;font-weight:500;display:flex}.resource-row.active .resource-title>span{color:var(--blue);font-weight:600}.resource-title small{color:var(--muted);font-size:.75rem;font-weight:400}.resource-actions{align-items:center;gap:4px;padding-right:10px;display:flex}.track-play{border:1px solid var(--border-strong);background:var(--surface);color:var(--blue);width:32px;min-width:32px;height:32px;min-height:32px;transition:background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast), transform var(--dur-fast) var(--ease-spring);border-radius:50%;margin-right:4px;padding:0}.track-play:hover:not(:disabled){background:var(--light-blue);border-color:var(--blue);transform:scale(1.06)}.track-play.playing{background:var(--action);border-color:var(--action);color:#fff;box-shadow:0 3px 10px #1f4fd652}.track-play.playing:hover:not(:disabled){background:var(--blue-hover);border-color:var(--blue-hover)}.bookmark-button{color:var(--muted)}.bookmark-button:hover{color:var(--text)}.bookmark-button.bookmarked{color:var(--blue)}.share-track{color:var(--muted)}.resource-skeleton{flex-direction:column;gap:8px;display:flex}.resource-skeleton div{border-radius:var(--radius-md);background:linear-gradient(90deg, var(--surface-soft) 25%, var(--surface-hover) 50%, var(--surface-soft) 75%);background-size:200% 100%;height:58px;animation:1.6s linear infinite ui-shimmer}.pagination{border-top:1px solid var(--border-subtle);color:var(--text-secondary);font-variant-numeric:tabular-nums;justify-content:flex-end;align-items:center;gap:10px;margin-top:12px;padding-top:18px;font-size:.8125rem;display:flex}.pagination>.muted{margin-right:auto;font-size:.8125rem}.pagination .button{min-height:34px;padding:5px 11px;font-size:.8125rem}.linked-resource{background:var(--warning-bg);border:1px solid var(--warning-border);border-radius:var(--radius-md);justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;padding:10px 14px;font-size:.8125rem;display:flex}.linked-resource>span{color:var(--warning-text);font-weight:560}.player,.player-placeholder{z-index:30;background:var(--surface-glass-strong);-webkit-backdrop-filter:saturate(180%)blur(20px);border-top:1px solid var(--border);box-shadow:var(--shadow-float);padding-bottom:env(safe-area-inset-bottom);animation:ui-fade-up var(--dur-base) var(--ease-out);position:fixed;bottom:0;left:0;right:0}.player-inner{width:min(var(--frame-max), 100%);align-items:center;gap:16px;min-height:76px;margin:0 auto;padding:12px 24px;display:flex}.play-main{background:var(--action);color:#fff;width:46px;height:46px;transition:background var(--dur-fast), transform var(--dur-fast) var(--ease-spring), box-shadow var(--dur-fast);border:0;border-radius:50%;flex-shrink:0;place-items:center;display:grid;box-shadow:0 4px 14px -2px #1f4fd66b}.play-main:hover{background:var(--blue-hover);transform:scale(1.04)}.play-main:active{transform:scale(.95)}.play-main svg{width:21px;height:21px}.player-title{flex-direction:column;flex:.9;gap:2px;min-width:120px;max-width:240px;display:flex}.player-title-row{align-items:center;gap:7px;min-width:0;display:flex}.player-title strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:.875rem;font-weight:620;overflow:hidden}.player-title span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;overflow:hidden}.player-progress{flex-direction:column;flex:1.5;gap:2px;min-width:110px;display:flex}.player-progress input[type=range]{appearance:none;background:0 0;height:20px}.player-progress input[type=range]::-webkit-slider-runnable-track{border-radius:var(--radius-pill);background:linear-gradient(to right, var(--blue) 0%, var(--blue) var(--progress,0%), var(--border-strong) var(--progress,0%), var(--border-strong) 100%);height:4px}.player-progress input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;background:var(--blue);border:2px solid var(--surface);width:13px;height:13px;transition:transform var(--dur-fast) var(--ease-spring);border-radius:50%;margin-top:-4.5px;box-shadow:0 1px 4px #10162440}.player-progress input[type=range]:hover::-webkit-slider-thumb{transform:scale(1.2)}.player-progress input[type=range]::-moz-range-track{border-radius:var(--radius-pill);background:var(--border-strong);height:4px}.player-progress input[type=range]::-moz-range-progress{border-radius:var(--radius-pill);background:var(--blue);height:4px}.player-progress input[type=range]::-moz-range-thumb{background:var(--blue);border:2px solid var(--surface);border-radius:50%;width:13px;height:13px}.time-labels{min-height:16px;color:var(--muted);font-variant-numeric:tabular-nums;justify-content:space-between;align-items:center;gap:8px;font-size:.7rem;display:flex}.time-labels>span:not(.player-buffering){flex-shrink:0}.player-buffering{min-width:0;color:var(--blue);justify-content:center;align-items:center;gap:5px;font-size:.7rem;display:flex}.player-buffering>span:last-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.player-buffering-dot{background:currentColor;border-radius:50%;flex-shrink:0;width:5px;height:5px;animation:1.2s ease-in-out infinite player-buffer-pulse}@keyframes player-buffer-pulse{50%{opacity:.25}}.player-skip{align-items:center;gap:2px;display:flex}.player-skip svg{width:18px;height:18px}.player-options{align-items:center;gap:6px;display:flex}.repeat-button{border-radius:var(--radius-pill);min-height:34px;box-shadow:none;background:var(--surface-soft);color:var(--text-secondary);border-color:#0000;padding:5px 11px;font-size:.78rem}.repeat-button:hover:not(:disabled){background:var(--surface-hover);color:var(--text);border-color:#0000}.repeat-button.selected{background:var(--selected-surface);color:var(--blue);border-color:color-mix(in srgb, var(--blue) 28%, transparent)}.close-player{color:var(--muted)}.player-placeholder{color:var(--muted);z-index:25;justify-content:center;align-items:center;gap:9px;min-height:54px;font-size:.875rem;display:flex}.player-placeholder svg{color:var(--blue);opacity:.85}.player-error{max-width:calc(var(--frame-max) - 48px);background:var(--danger-bg);border:1px solid var(--danger-border);color:var(--danger-text);border-radius:var(--radius-sm);justify-content:space-between;align-items:center;gap:10px;margin:10px auto 0;padding:6px 14px;font-size:.8125rem;display:flex}.lyrics{max-width:var(--frame-max);border-bottom:1px solid var(--border);color:var(--text);margin:0 auto;padding:0 24px}.lyrics-heading{min-height:44px;color:var(--text-secondary);justify-content:space-between;align-items:center;gap:12px;font-size:.78rem;display:flex}.lyrics-heading-title,.lyrics-tools{align-items:center;gap:8px;min-width:0;display:flex}.lyrics-step-group{border-radius:var(--radius-pill);background:var(--surface-soft);border:1px solid var(--border-subtle);align-items:center;gap:2px;padding:2px;display:inline-flex}.lyrics-step-group .icon-button{border-radius:var(--radius-pill);width:26px;min-width:26px;height:26px;min-height:26px;padding:0}.lyrics-step-group .icon-button:hover:not(:disabled){background:var(--surface);color:var(--blue)}.lyrics[data-caption-mode=en] .lyrics-text [lang=zh-CN]{display:none}.lyrics[data-caption-mode=blind] .lyrics-text{filter:blur(7px);opacity:.42;transition:filter var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out)}.lyrics[data-caption-mode=blind] .lyrics-row:hover .lyrics-text,.lyrics[data-caption-mode=blind] .lyrics-row:focus-within .lyrics-text{filter:none;opacity:1}.lyrics-heading .text-button{border-radius:var(--radius-pill);white-space:nowrap;align-items:center;gap:5px;min-height:32px;padding:4px 9px;font-size:.78rem;display:inline-flex}.lyrics-toggle{color:var(--text);font-weight:600}.lyrics-toggle:hover{background:var(--surface-soft)}.lyrics-counter{color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums;font-size:.75rem}.lyrics-panel{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--border-strong) transparent;height:min(260px,30dvh);padding:10px 2px;scroll-padding-top:12px;position:relative;overflow-y:auto}.lyrics.is-expanded .lyrics-panel{height:min(420px,50dvh)}.lyrics-panel.is-empty{height:auto;min-height:54px}.lyrics-tail{height:var(--lyrics-tail-height,0px);pointer-events:none}.lyrics-row{border-radius:var(--radius-md);color:var(--text);transition:background var(--dur-fast) var(--ease-out), border-color var(--dur-fast);border:1px solid #0000;align-items:center;gap:8px;margin-bottom:4px;display:flex;position:relative;overflow:hidden}.lyrics-row:last-child{margin-bottom:0}.lyrics-row.active{background:var(--selected-surface);border-color:color-mix(in srgb, var(--blue) 22%, transparent)}.lyrics-row.active.is-resting{background:var(--surface-soft);border-color:#0000}.lyrics-seek{color:inherit;text-align:left;border-radius:var(--radius-sm);background:0 0;border:0;flex:1;align-items:flex-start;gap:16px;min-width:0;padding:10px 12px;display:flex}.lyrics-time{color:var(--muted);font-variant-numeric:tabular-nums;flex-shrink:0;min-width:34px;padding-top:4px;font-size:.75rem}.lyrics-text{overflow-wrap:anywhere;flex-direction:column;gap:3px;font-size:1rem;line-height:1.5;display:flex}.lyrics-text [lang=en]{transition:color var(--dur-fast);font-weight:560}.lyrics-text [lang=zh-CN]{color:var(--text-secondary);transition:color var(--dur-fast);font-size:.875rem;line-height:1.55}.lyrics-row.active .lyrics-text [lang=en]{color:var(--blue);font-weight:640}.lyrics-row.active .lyrics-text [lang=zh-CN],.lyrics-row.active.is-resting .lyrics-text [lang=en]{color:var(--text)}.lyrics-row.active.is-resting .lyrics-text [lang=zh-CN]{color:var(--text-secondary)}.lyrics-repeat{flex-shrink:0;min-width:36px;min-height:36px;margin-right:8px}.lyrics .icon-button.lyrics-repeat:not(.selected),.lyrics .icon-button.lyrics-repeat:not(.selected):hover{color:var(--muted);background:0 0}.lyrics .icon-button.lyrics-repeat.selected,.lyrics .icon-button.lyrics-repeat.selected:hover{color:var(--blue);background:color-mix(in srgb, var(--blue) 14%, transparent)}.lyrics-status,.lyrics-draft{color:var(--muted);margin:0;padding:10px 4px;font-size:.8125rem}.lyrics-draft{color:var(--warning-text);padding:0 4px 8px;font-size:.75rem}.lyrics-loop-banner{border-radius:var(--radius-sm);background:var(--selected-surface);color:var(--blue);justify-content:space-between;align-items:center;gap:12px;margin-bottom:6px;padding:5px 12px;font-size:.78rem;display:flex}.lyrics-loop-banner>span{align-items:center;gap:6px;font-weight:560;display:flex}.lyrics-loop-banner .text-button{min-height:28px;font-size:.78rem}.lyrics-heading .lyrics-tool-btn{border:1px solid var(--border-subtle);background:var(--surface-soft);min-height:30px;color:var(--text-secondary);padding:4px 10px;font-size:.76rem;font-weight:540}.lyrics-heading .lyrics-tool-btn:hover{color:var(--text);background:var(--surface-hover);border-color:var(--border)}.lyrics-heading .lyrics-tool-btn.selected{background:var(--selected-surface);border-color:color-mix(in srgb, var(--blue) 30%, transparent);color:var(--blue);font-weight:600}.lyrics-shadow-banner{border-radius:var(--radius-sm);background:var(--surface-soft);border:1px solid color-mix(in srgb, var(--blue) 24%, var(--border));color:var(--text);justify-content:space-between;align-items:center;gap:12px;margin-bottom:6px;padding:6px 12px;font-size:.78rem;display:flex}.lyrics-shadow-banner>span{color:var(--blue);align-items:center;gap:6px;font-weight:560;display:flex}.lyrics-shadow-banner .text-button{min-height:28px;color:var(--blue);font-size:.78rem}.player-dialog{display:contents}.player-dialog:modal{background:var(--canvas);width:100%;max-width:none;height:100%;max-height:none;color:inherit;border:0;margin:0;padding:0;display:block;position:fixed;inset:0;overflow:hidden}.player.is-immersive{z-index:80;background:var(--canvas);-webkit-backdrop-filter:none;backdrop-filter:none;max-width:none;height:100dvh;max-height:none;box-shadow:none;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom);border:0;border-radius:0;flex-direction:column;margin:0;display:flex;position:fixed;inset:0;overflow:hidden}.player.is-immersive .player-error{width:min(780px,100% - 32px);margin:8px auto 0}.player.is-immersive .player-directory-slot{display:none}.player.is-immersive .player-inner{border-top:1px solid var(--border);background:var(--surface);flex-shrink:0;width:100%;max-width:none;margin:0;padding:12px max(24px,50vw - 440px)}.lyrics.is-immersive{border-bottom:0;flex-direction:column;flex:1;width:100%;max-width:none;min-height:0;margin:0;padding:0;display:flex}.lyrics-immersive-bar{background:var(--surface);border-bottom:1px solid var(--border);flex-shrink:0;justify-content:space-between;align-items:center;gap:16px;padding:12px max(24px,50vw - 390px);display:flex}.lyrics-immersive-meta{align-items:center;gap:12px;min-width:0;display:flex}.lyrics-immersive-badge{border-radius:var(--radius-pill);background:var(--selected-surface);color:var(--blue);white-space:nowrap;flex-shrink:0;align-items:center;gap:5px;padding:4px 10px;font-size:.72rem;font-weight:640;display:inline-flex}.lyrics-immersive-titles{flex-direction:column;min-width:0;display:flex}.lyrics-immersive-title{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:.96rem;font-weight:650;overflow:hidden}.lyrics-immersive-sub{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.74rem;overflow:hidden}.lyrics-immersive-exit{border-radius:var(--radius-pill);border:1px solid var(--border);background:var(--surface-soft);min-height:34px;color:var(--text-secondary);white-space:nowrap;flex-shrink:0;align-items:center;gap:5px;padding:5px 12px;font-size:.78rem;font-weight:560;display:inline-flex}.lyrics-immersive-exit:hover{color:var(--text);background:var(--surface-hover)}.lyrics.is-immersive .lyrics-heading{background:color-mix(in srgb, var(--surface) 75%, var(--canvas));border-bottom:1px solid var(--border-subtle);flex-shrink:0;width:100%;padding:8px max(24px,50vw - 390px)}.lyrics-immersive-hint{color:var(--muted);white-space:nowrap;font-size:.75rem}.lyrics.is-immersive .lyrics-shadow-banner,.lyrics.is-immersive .lyrics-loop-banner{flex-shrink:0;width:min(780px,100% - 32px);margin:10px auto 0}.lyrics.is-immersive .lyrics-layout{flex-direction:column;flex:1;min-height:0;display:flex}.lyrics.is-immersive .lyrics-panel{flex:1;height:auto;max-height:none;padding:20px max(20px,50vw - 390px) 48px;scroll-padding-top:28px}.lyrics.is-immersive .lyrics-row{background:var(--surface);border:1px solid var(--border-subtle);border-radius:var(--radius-md);transition:background var(--dur-fast) var(--ease-out), border-color var(--dur-fast), box-shadow var(--dur-fast);margin-bottom:10px;padding:2px 6px 2px 2px}.lyrics.is-immersive .lyrics-row:hover{border-color:var(--border-strong)}.lyrics.is-immersive .lyrics-row.active{background:var(--selected-surface);border-color:color-mix(in srgb, var(--blue) 32%, transparent);box-shadow:var(--shadow-sm)}.lyrics.is-immersive .lyrics-row.active.is-resting{background:var(--surface);border-color:var(--border);box-shadow:none}.lyrics.is-immersive .lyrics-seek{gap:18px;padding:16px 18px}.lyrics.is-immersive .lyrics-time{border-radius:var(--radius-pill);background:var(--surface-soft);text-align:center;min-width:42px;margin-top:4px;padding:3px 7px;font-size:.72rem}.lyrics.is-immersive .lyrics-row.active .lyrics-time{background:color-mix(in srgb, var(--blue) 12%, var(--surface));color:var(--blue);font-weight:600}.lyrics.is-immersive .lyrics-text{letter-spacing:-.01em;gap:6px;font-size:clamp(1.15rem,1.8vw,1.44rem);line-height:1.48}.lyrics.is-immersive .lyrics-text [lang=zh-CN]{font-size:clamp(.9rem,1.15vw,1rem);line-height:1.55}.lyrics.is-immersive .lyrics-repeat{min-width:40px;min-height:40px;margin-right:10px}.lyrics-timeline-time{display:none}.toast{bottom:calc(var(--player-height,64px) + 20px);z-index:60;background:var(--text);width:max-content;max-width:calc(100% - 32px);color:var(--surface);box-shadow:var(--shadow-float);border-radius:var(--radius-pill);animation:ui-fade-up var(--dur-base) var(--ease-spring);align-items:center;gap:8px;margin-inline:auto;padding:11px 18px;font-size:.875rem;font-weight:520;display:flex;position:fixed;inset-inline:0}.preview-dialog{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);color:var(--text);width:880px;max-width:min(1040px,100vw - 32px);max-height:90dvh;box-shadow:var(--shadow-dialog);padding:24px}.preview-dialog[open]{animation:ui-scale-in var(--dur-base) var(--ease-out)}.preview-dialog::backdrop{background:var(--backdrop);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);animation:ui-fade-in var(--dur-fast)}.preview-heading{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px;display:flex}.preview-heading h2{margin-bottom:4px;font-size:1.1875rem}.image-preview{object-fit:contain;border-radius:var(--radius-sm);max-width:100%;max-height:65dvh;margin:0 auto 18px;display:block}.video-preview{border-radius:var(--radius-sm);background:#0c0e14;width:100%;max-height:65dvh;margin-bottom:18px;display:block}.site-credit{color:var(--muted);letter-spacing:.02em;justify-content:center;align-items:center;gap:10px;padding:36px 0 12px;font-size:.75rem;display:flex}.site-credit:before,.site-credit:after{content:"";background:linear-gradient(to right, transparent, var(--border-strong));width:40px;height:1px}.site-credit:after{transform:rotate(180deg)}.site-credit-mark{border:1px solid var(--border);background:var(--surface);width:24px;height:24px;color:var(--text-secondary);border-radius:7px;justify-content:center;align-items:center;display:inline-flex}.site-credit-text{white-space:nowrap}.site-credit strong{color:var(--text);margin-left:2px;font-weight:640}@media (min-width:1024px){.player,.player-placeholder{bottom:14px;left:var(--frame-edge);right:var(--frame-edge);max-width:var(--frame-max);border:1px solid var(--border);border-radius:var(--radius-lg);margin:0 auto;padding-bottom:0}.player-inner{min-height:72px;padding:12px 22px}.toast{bottom:calc(var(--player-height,64px) + 30px)}}@media (min-width:1024px) and (min-height:600px){.lyrics.is-wide{max-width:none;padding:0 22px}.is-wide .lyrics-layout{grid-template-columns:minmax(0,1.9fr) minmax(0,1fr);gap:20px;padding-bottom:10px;display:grid}.is-wide .lyrics-layout.is-empty{display:block}.is-wide .lyrics-panel{min-width:0;height:min(260px,30dvh)}.lyrics.is-wide.is-expanded .lyrics-panel{height:min(420px,46dvh)}.is-wide .lyrics-panel.is-empty{height:auto}.lyrics-timeline{touch-action:pan-x;scrollbar-width:none;padding:0;scroll-padding:0;overflow:auto hidden;-webkit-mask-image:linear-gradient(90deg,#0000,#000 10% 90%,#0000);mask-image:linear-gradient(90deg,#0000,#000 10% 90%,#0000)}.lyrics-timeline::-webkit-scrollbar{display:none}.lyrics-timeline.is-empty{-webkit-mask-image:none;mask-image:none}.lyrics-timeline .lyrics-list{width:max-content;height:100%;padding:0 var(--lyrics-side-space,0px);align-items:stretch;gap:28px;display:flex}.lyrics-timeline .lyrics-row{width:clamp(240px, calc(var(--lyrics-viewport-width,800px) * .5), 540px);opacity:.34;height:100%;min-height:100%;transition:opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);-webkit-user-select:none;user-select:none;background:0 0;border:0;border-radius:0;flex:none;margin:0;display:block;position:relative;overflow:visible;transform:scale(.95)}.lyrics-timeline .lyrics-row.active,.lyrics-timeline .lyrics-row:focus-within{opacity:1;background:0 0;border:0;transform:scale(1)}.lyrics-timeline .lyrics-row.active .lyrics-seek{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-sm)}.lyrics-timeline .lyrics-row:before{content:"";background:var(--border);pointer-events:none;height:1px;position:absolute;top:32px;left:-14px;right:-14px}.lyrics-timeline .lyrics-row:after{content:"";background:var(--border-strong);width:7px;height:7px;transition:background var(--dur-base), transform var(--dur-base);pointer-events:none;border-radius:50%;position:absolute;top:29px;left:calc(50% - 3.5px)}.lyrics-timeline .lyrics-row.active:after{background:var(--blue);transform:scale(1.25)}.lyrics-timeline .lyrics-seek{text-align:center;scrollbar-width:thin;justify-content:center;align-items:center;width:100%;padding:6px 12px;display:flex;position:absolute;top:46px;bottom:42px;overflow-y:auto}.lyrics-timeline .lyrics-time{display:none}.lyrics-timeline .lyrics-timeline-time{text-align:center;color:var(--muted);font-variant-numeric:tabular-nums;font-size:.72rem;display:block;position:absolute;top:6px;left:0;right:0}.lyrics-timeline .lyrics-text{gap:8px;margin:auto 0;font-size:clamp(1.4rem,1.9vw,1.95rem);line-height:1.38}.lyrics-timeline .lyrics-text [lang=zh-CN]{font-size:clamp(.95rem,1.2vw,1.15rem);font-weight:400;line-height:1.5}.lyrics-timeline .lyrics-repeat{margin:0;position:absolute;bottom:0;left:calc(50% - 18px)}.lyrics-timeline .lyrics-tail{display:none}.lyrics-reference{border-left:1px solid var(--border);padding-left:16px}.lyrics-reference .lyrics-row{content-visibility:auto;contain-intrinsic-size:54px;gap:2px;margin-bottom:3px}.lyrics-reference .lyrics-seek{gap:10px;padding:8px}.lyrics-reference .lyrics-time{padding-top:3px;font-size:.7rem}.lyrics-reference .lyrics-text{gap:2px;font-size:.875rem}.lyrics-reference .lyrics-text [lang=zh-CN]{font-size:.78rem}.lyrics-reference .lyrics-repeat{min-width:30px;min-height:32px;margin-right:4px;padding:5px}}@media (max-width:1050px){.resource-layout{grid-template-columns:196px minmax(0,1fr);gap:16px}.resource-panel{padding:18px 20px}.player-inner{flex-wrap:wrap;gap:12px;padding:12px 18px}.player-title{max-width:200px}.share-track{display:none}}@media (max-width:700px){:root{--header-height:102px}.site-header{height:auto}.header-inner{flex-wrap:wrap;gap:8px 10px;padding:10px 0 8px}.brand{flex:1;gap:8px}.brand-mark{width:30px;height:30px}.brand-name{font-size:1rem}.header-action span{display:none}.header-action{min-width:36px;padding:7px}.theme-control{width:34px;height:34px}.main-nav{order:3;justify-content:space-between;gap:2px;width:100%;padding:3px}.nav-item{flex:1;min-height:34px;padding:6px 8px;font-size:.8125rem}.library-page{padding-top:10px}.library-top-bar{flex-direction:row;align-items:center;gap:8px;margin-bottom:10px}.library-top-bar.is-compact-book .page-title{flex:none}.library-top-bar.is-compact-book .library-toolbar{flex:1;gap:6px;min-width:0}.library-top-bar:not(.is-compact-book){flex-direction:column;align-items:stretch}.page-title{justify-content:space-between}.library-toolbar{min-width:0}.library-toolbar>.search-field{width:100%;min-height:36px;padding:0 8px 0 11px}.library-toolbar>.search-field input:not([type=checkbox]):not([type=range]){min-height:34px;font-size:.8125rem}.search-kbd{display:none}.book-header{border-radius:var(--radius-md);gap:10px;padding:10px 12px}.book-cover,.book-cover.has-image img{width:34px;min-height:46px;max-height:48px}.book-details h2{font-size:.96rem}.book-mode-chip,.book-meta-sep,.book-meta-desc{display:none}.book-meta-line{font-size:.72rem}.share-book{min-width:36px;min-height:36px;padding:6px}.share-book span{display:none}.resource-layout{flex-direction:column;gap:12px;margin-top:14px;display:flex}.unit-sidebar{display:none}.resource-panel{border-radius:var(--radius-md);width:100%;padding:14px}.resource-heading h2{font-size:1.0625rem}.resource-row{min-height:60px}.resource-open{gap:10px;padding:10px 8px}.page-badge{min-width:34px;height:26px;font-size:.72rem}.resource-title{font-size:.9375rem}.resource-actions{gap:2px;padding-right:4px}.player{max-height:calc(100dvh - var(--header-height) - 8px);overscroll-behavior-y:contain;overflow-y:auto}.player-inner{grid-template-columns:minmax(0,1fr) auto auto auto;grid-template-areas:"title prev play next""progress progress progress progress""options options options close";gap:6px 8px;min-height:0;padding:10px 14px;display:grid}.player-title{grid-area:title;min-width:0;max-width:none}.play-main{grid-area:play;width:42px;height:42px}.play-main svg{width:19px;height:19px}.player-skip{display:contents}.player-skip>.icon-button:first-child{grid-area:prev}.player-skip>.icon-button:last-child{grid-area:next}.player-progress{grid-area:progress}.player-options{scrollbar-width:none;grid-area:options;justify-content:flex-start;gap:4px;overflow-x:auto}.player-options .repeat-button{min-height:30px;padding:4px 8px;font-size:.72rem}.close-player{grid-area:close;justify-self:end;min-width:32px;min-height:32px;padding:5px}.lyrics{padding:0 12px}.lyrics-heading{flex-wrap:wrap;gap:6px;min-height:40px;padding:4px 0}.lyrics-tools{flex-wrap:wrap;gap:6px}.lyrics-heading .lyrics-tool-btn{min-height:28px;padding:3px 8px;font-size:.72rem}.lyrics-size span{display:none}.lyrics-panel{height:min(230px,30dvh)}.lyrics.is-expanded .lyrics-panel{height:min(520px,60dvh)}.lyrics-seek{gap:10px;padding:9px 8px}.lyrics-text{font-size:.9375rem}.lyrics-text [lang=zh-CN]{font-size:.8125rem}.player.is-immersive{max-height:none;overflow:hidden}.player.is-immersive .player-inner{padding:10px 14px}.lyrics.is-immersive{padding:0}.lyrics-immersive-bar{gap:10px;padding:10px 14px}.lyrics-immersive-badge{display:none}.lyrics-immersive-title{font-size:.9rem}.lyrics-immersive-exit{min-height:32px;padding:4px 10px;font-size:.75rem}.lyrics.is-immersive .lyrics-heading{scrollbar-width:none;flex-wrap:nowrap;padding:6px 12px;overflow-x:auto}.lyrics.is-immersive .lyrics-heading::-webkit-scrollbar{display:none}.lyrics.is-immersive .lyrics-tools{flex-wrap:nowrap;flex-shrink:0}.lyrics-immersive-hint{display:none}.lyrics.is-immersive .lyrics-shadow-banner,.lyrics.is-immersive .lyrics-loop-banner{width:calc(100% - 24px);margin:8px auto 0}.lyrics.is-immersive .lyrics-panel{padding:12px 12px 28px}.lyrics.is-immersive .lyrics-row{margin-bottom:8px;padding:0 2px 0 0}.lyrics.is-immersive .lyrics-seek{gap:10px;padding:13px 12px}.lyrics.is-immersive .lyrics-time{min-width:36px;padding:2px 5px;font-size:.68rem}.lyrics.is-immersive .lyrics-text{gap:4px;font-size:1.0625rem;line-height:1.48}.lyrics.is-immersive .lyrics-text [lang=zh-CN]{font-size:.875rem}.lyrics.is-immersive .lyrics-repeat{min-width:36px;min-height:36px;margin-right:6px}.preview-dialog{max-width:calc(100vw - 20px);padding:18px}.site-credit:before,.site-credit:after{width:22px}}@media (max-width:360px){.brand-name{font-size:.9375rem}.lyrics-counter{display:none}}.home-page{flex-direction:column;justify-content:center;min-height:calc(100svh - 148px);padding:clamp(32px,6vw,72px) 0 clamp(44px,7vw,84px);display:flex}.home-section-inner{width:min(1160px,100% - 40px);margin:0 auto}.home-hero{max-width:680px;animation:fade-slide-up .55s var(--ease-out) both;margin-bottom:clamp(32px,4.8vw,52px)}.home-hero-kicker{border-radius:var(--r-pill);border:1px solid var(--border);background:var(--surface);color:var(--text-secondary);letter-spacing:.08em;align-items:center;gap:8px;margin-bottom:14px;padding:5px 12px;font-size:12px;font-weight:600;display:inline-flex}.home-hero-kicker:before{content:"";background:var(--accent);border-radius:50%;width:6px;height:6px}.home-hero h1{letter-spacing:-.032em;color:var(--text);margin:0;font-size:clamp(34px,4.8vw,54px);font-weight:700;line-height:1.1}.home-section-description{color:var(--text-secondary);margin:14px 0 0;font-size:clamp(15px,1.5vw,17px);line-height:1.75}.home-subject-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;display:grid}.home-subject{--card-accent:var(--accent);--card-soft:var(--accent-soft);border:1px solid var(--border);border-radius:var(--r-xl);background:var(--surface);min-width:0;color:var(--text);box-shadow:var(--shadow-xs);transition:transform var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);animation:fade-slide-up .6s var(--ease-out) calc(var(--stagger,0) * 80ms + 70ms) both;flex-direction:column;text-decoration:none;display:flex;position:relative;overflow:hidden}.home-subject[data-subject=语文]{--card-accent:var(--subject-cn);--card-soft:var(--subject-cn-soft)}.home-subject[data-subject=数学]{--card-accent:var(--subject-math);--card-soft:var(--subject-math-soft)}.home-subject[data-subject=英语]{--card-accent:var(--subject-en);--card-soft:var(--subject-en-soft)}.home-subject:hover{border-color:color-mix(in srgb, var(--card-accent) 44%, var(--border));box-shadow:var(--shadow-lg);transform:translateY(-6px)}.home-subject:active{transform:translateY(-2px)}.home-subject-visual{border-bottom:1px solid var(--border-subtle);background:linear-gradient(180deg, color-mix(in srgb, var(--card-accent) 7%, var(--surface-subtle)) 0%, var(--surface-subtle) 100%);place-items:center;height:186px;padding:20px;display:grid;position:relative;overflow:hidden}.home-subject[data-subject=数学] .home-subject-visual{background-image:radial-gradient(color-mix(in srgb, var(--card-accent) 22%, transparent) 1px, transparent 1px), linear-gradient(180deg, color-mix(in srgb, var(--card-accent) 7%, var(--surface-subtle)) 0%, var(--surface-subtle) 100%);background-size:16px 16px,100% 100%}.home-art{transition:transform var(--dur-slow) var(--ease-out);flex-direction:column;align-items:center;gap:10px;display:flex}.home-subject:hover .home-art{transform:translateY(-3px)scale(1.02)}.home-mizige{border:1.5px solid color-mix(in srgb, var(--subject-cn) 52%, var(--border));background:var(--surface);width:92px;height:92px;box-shadow:0 8px 20px -10px color-mix(in srgb, var(--subject-cn) 36%, transparent), inset 0 0 0 3px var(--surface), inset 0 0 0 4px color-mix(in srgb, var(--subject-cn) 18%, transparent);border-radius:10px;place-items:center;display:grid;position:relative}.home-mizige:before,.home-mizige:after{content:"";pointer-events:none;position:absolute;inset:0}.home-mizige:before{background:linear-gradient(90deg, transparent calc(50% - .5px), color-mix(in srgb, var(--subject-cn) 28%, transparent) 50%, transparent calc(50% + .5px)), linear-gradient(0deg, transparent calc(50% - .5px), color-mix(in srgb, var(--subject-cn) 28%, transparent) 50%, transparent calc(50% + .5px))}.home-mizige:after{background:linear-gradient(45deg, transparent calc(50% - .5px), color-mix(in srgb, var(--subject-cn) 16%, transparent) 50%, transparent calc(50% + .5px)), linear-gradient(-45deg, transparent calc(50% - .5px), color-mix(in srgb, var(--subject-cn) 16%, transparent) 50%, transparent calc(50% + .5px))}.home-mizige-glyph{z-index:1;font-family:var(--font-serif-cn);color:var(--text);font-size:52px;font-weight:500;line-height:1;position:relative}.home-math-diagram{border:1px solid color-mix(in srgb, var(--subject-math) 24%, var(--border));background:var(--surface);box-shadow:var(--shadow-sm);border-radius:14px;flex-direction:column;align-items:center;gap:14px;padding:16px 22px;display:flex}.home-math-dots{align-items:center;gap:8px;display:flex}.home-math-dots span{background:radial-gradient(circle at 32% 28%, color-mix(in srgb, var(--subject-math) 45%, #fff), var(--subject-math));width:18px;height:18px;box-shadow:0 3px 6px -2px color-mix(in srgb, var(--subject-math) 45%, transparent);border-radius:50%}.home-math-dots span.is-warm{background:radial-gradient(circle at 32% 28%,#f6d4a4,#d48335);box-shadow:0 3px 6px -2px #d4833573}.home-math-eq{font-variant-numeric:tabular-nums;color:var(--subject-math);align-items:baseline;gap:8px;font-size:24px;font-weight:600;line-height:1;display:flex}.home-math-eq .is-warm{color:#c8762a}[data-theme=dark] .home-math-eq .is-warm{color:#e8a85e}.home-math-eq em{color:var(--text-tertiary);font-size:18px;font-style:normal;font-weight:400}.home-math-eq strong{background:var(--subject-math-soft);color:var(--subject-math);border-radius:7px;padding:2px 9px;font-weight:700}.home-en-studio{border:1px solid color-mix(in srgb, var(--subject-en) 26%, var(--border));background:var(--surface);box-shadow:var(--shadow-sm);border-radius:14px;align-items:center;gap:16px;padding:14px 20px;display:flex}.home-en-glyph{letter-spacing:-.04em;color:var(--subject-en);font-size:34px;font-weight:700;line-height:1}.home-en-bars{align-items:center;gap:4px;height:32px;display:flex}.home-en-bars i{background:var(--subject-en);opacity:.72;width:3.5px;transition:transform var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out);border-radius:3px;display:block}.home-en-bars i:first-child{height:12px}.home-en-bars i:nth-child(2){height:22px}.home-en-bars i:nth-child(3){opacity:1;height:30px}.home-en-bars i:nth-child(4){height:18px}.home-en-bars i:nth-child(5){opacity:.9;height:26px}.home-en-bars i:nth-child(6){height:14px}.home-en-bars i:nth-child(7){height:20px}.home-subject:hover .home-en-bars i:nth-child(odd){opacity:1;transform:scaleY(1.18)}.home-subject:hover .home-en-bars i:nth-child(2n){transform:scaleY(.84)}.home-art-caption{color:var(--text-tertiary);letter-spacing:.02em;align-items:center;gap:8px;font-size:12px;display:flex}.home-art-caption span:first-child{color:var(--card-accent);font-weight:600}.home-subject-copy{flex-direction:column;flex:1;padding:22px 24px;display:flex}.home-subject-meta{justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px;display:flex}.home-subject-eyebrow{color:var(--card-accent);letter-spacing:.02em;font-size:12px;font-weight:600}.home-subject-edition{color:var(--text-tertiary);border-radius:var(--r-pill);background:var(--surface-subtle);border:1px solid var(--border-subtle);padding:2px 8px;font-size:11px;font-weight:600}.home-subject-copy h2{letter-spacing:-.025em;margin:0;font-size:26px;font-weight:700;line-height:1.2}.home-subject-copy p{color:var(--text-secondary);margin:10px 0 0;font-size:14px;line-height:1.72}.home-subject-footer{justify-content:space-between;align-items:center;gap:12px;margin-top:auto;padding-top:18px;display:flex}.home-subject-tags{flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;display:flex}.home-subject-tags li{border-radius:var(--r-pill);background:var(--card-soft);color:var(--card-accent);padding:3px 9px;font-size:12px;font-weight:600}.home-subject-open{border:1px solid var(--border);background:var(--surface-subtle);width:36px;height:36px;color:var(--text-secondary);transition:background var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);border-radius:50%;flex:none;place-items:center;display:grid}.home-subject:hover .home-subject-open{background:var(--card-accent);border-color:var(--card-accent);color:#fff;transform:translate(2px,-2px)}.overview-credit{width:min(1160px,100% - 40px);margin:0 auto;padding-bottom:12px}@media (max-width:960px){.home-subject-list{grid-template-columns:1fr;gap:16px}.home-subject{grid-template-columns:220px minmax(0,1fr);display:grid}.home-subject-visual{border-bottom:0;border-right:1px solid var(--border-subtle);height:auto;min-height:180px}}@media (max-width:640px){.home-page{justify-content:flex-start;min-height:auto;padding:24px 0 36px}.home-section-inner,.overview-credit{width:calc(100% - 28px)}.home-subject{flex-direction:column;display:flex}.home-subject-visual{border-right:0;border-bottom:1px solid var(--border-subtle);height:158px;min-height:0}.home-subject-copy{padding:18px}.home-subject-copy h2{font-size:22px}}@media (prefers-reduced-motion:reduce){.home-hero,.home-subject{animation:none}}
