:root{--bg:#f2f3f8;--panel:#fff;--text:#27242d;--muted:#7b827a;--line:#e2e2eb;--accent:#aab0ec;--forest:#322549;--soft:#e4e5f4;--shadow:0 10px 35px #29224010;--radius:18px;font-family:'DM Sans',system-ui,sans-serif;color:var(--text);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button{color:inherit}button:disabled{cursor:wait;opacity:.55}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #414abb;outline-offset:4px}input:focus{outline:2px solid #6970cc;outline-offset:2px}svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle;flex-shrink:0}[data-icon]{display:inline-flex;align-items:center;justify-content:center}[hidden]{display:none!important}.skip-link{position:fixed;left:20px;top:-60px;z-index:100;background:var(--accent);padding:14px}.skip-link:focus{top:12px}
.sidebar{position:fixed;inset:0 auto 0 0;width:232px;padding:34px 21px 20px;background:var(--panel);border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:30}.brand{display:flex;align-items:center;font-size:25px;letter-spacing:-1.2px;font-weight:800;gap:9px;padding:0 6px}.brand-mark{width:35px;height:35px;background:var(--accent);border-radius:11px;transform:rotate(-5deg)}.brand-mark svg{width:23px;height:23px}.brand-dot{color:#2a2fa5;margin-left:-8px}.workspace-label{font-size:10px;letter-spacing:1.8px;font-weight:650;color:#93919f;margin:51px 14px 16px}.nav-item{display:flex;align-items:center;gap:12px;padding:13px 14px;border-radius:10px;font-size:12px;font-weight:550;color:var(--muted);margin:5px 0;min-height:46px}.nav-item svg{width:18px;height:18px}.nav-item:hover{background:var(--bg);color:var(--text)}.nav-item.active{background:var(--soft);color:var(--forest);font-weight:700}.nav-arrow{margin-left:auto;font-size:17px}.nav-item:not(.active) .nav-arrow{display:none}.nav-count{font-size:10px;padding:3px 7px;border-radius:5px;background:var(--bg);margin-left:auto;color:var(--muted)}.sidebar-note{margin-top:auto;padding:24px 17px 18px;border-radius:14px;background:#edeef7;position:relative;overflow:hidden}.sidebar-note:before{content:'';width:80px;height:80px;border:1px solid #ced1eb;position:absolute;right:-35px;top:-24px;border-radius:50%}.note-art{color:#4a51ad;margin-bottom:18px}.note-art svg{width:26px;height:26px}.sidebar-note strong{font-size:15px;line-height:1.5;font-weight:650}.sidebar-note p{color:#808196;font-size:11px;line-height:1.7}.text-button{border:0;background:none;padding:7px 0;display:flex;justify-content:space-between;width:100%;font-size:11px;font-weight:700}.text-button span{font-size:17px}.sidebar-bottom{display:flex;gap:10px;align-items:center;border-top:1px solid var(--line);padding:24px 2px 0;margin-top:24px}.local-dot,.status-dot{height:6px;width:6px;display:inline-block;background:#484baa;border-radius:50%;flex-shrink:0}.sidebar-bottom strong{display:block;font-size:11px;font-weight:600}.sidebar-bottom small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.sidebar-bottom>span:last-child{margin-left:auto;color:#9091a9}.sidebar-bottom svg{width:17px}
.app-shell{margin-left:232px}.topbar{height:84px;background:var(--panel);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;gap:14px}.topbar-path{display:flex;align-items:center;gap:13px;font-size:11px;color:var(--muted)}.topbar-path strong{font-weight:550;color:var(--text);max-width:270px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.path-divider{color:#bbbcca}.topbar-actions{display:flex;align-items:center;gap:19px}.source-chip{border:1px solid var(--line);background:var(--panel);border-radius:7px;display:flex;align-items:center;gap:8px;font-size:10px;font-weight:550;padding:9px 10px;white-space:nowrap}.source-chip svg{height:12px;width:12px;transform:rotate(90deg);color:var(--muted)}.icon-button{border:0;background:transparent;border-radius:9px;width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.icon-button:hover{background:var(--soft)}.icon-button svg{width:18px;height:18px}.avatar{height:30px;width:30px;border-radius:50%;background:#efe9dd;color:#6f6d57;display:grid;place-items:center;font-size:11px;font-weight:700}.mobile-menu{display:none}main{padding:37px 38px 40px;min-height:calc(100vh - 144px);max-width:1600px;margin:auto}main:focus{outline:none}.eyebrow{font-size:9px;font-weight:700;letter-spacing:1.7px;color:#4e4e8e;text-transform:uppercase}.page-title{font-size:30px;font-weight:650;letter-spacing:-1.2px;line-height:1.2;margin:10px 0 10px}.page-description{font-size:12px;color:var(--muted);line-height:1.7;margin:0}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:28px}.small{font-size:11px;line-height:1.7}.muted{color:var(--muted)}
.hero{background:#2d2241;min-height:185px;border-radius:17px;color:#fff;position:relative;overflow:hidden;display:flex;align-items:center;padding:30px 32px;margin-bottom:32px}.hero-copy{position:relative;z-index:1;max-width:65%}.hero-label{display:inline-flex;gap:6px;align-items:center;color:#bfc0eb;font-size:8px;letter-spacing:1.7px;font-weight:650;margin-bottom:11px}.hero-label svg{width:12px;height:12px}.hero h2{font-size:27px;font-weight:500;line-height:1.28;letter-spacing:-.8px;margin:0 0 11px}.hero h2 em{color:#aab0ec;font-style:normal}.hero p{color:#b2b0c7;font-size:10px;line-height:1.7;margin:0}.hero-art{position:absolute;right:12px;top:2px;width:300px;height:185px;opacity:.95}.hero-art svg{width:100%;height:100%;stroke:none}.hero-trailer{display:flex;align-items:center;gap:10px;margin-top:17px;color:#d0cfec;font-size:9px}.hero-trailer .short-line{height:1px;background:#535487;width:25px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:24px 0 17px}.section-head h2{font-size:17px;letter-spacing:-.4px;font-weight:650;margin:0}.section-count{font-size:10px;color:var(--muted)}.search-box{position:relative;display:flex;align-items:center;border:1px solid var(--line);background:var(--panel);border-radius:9px;width:280px}.search-box>span{margin:0 10px 0 13px;color:#91909f}.search-box svg{width:15px;height:15px}.search-box input{background:transparent;border:0;min-width:0;width:100%;padding:11px 8px 11px 0;color:var(--text);font-size:11px}.search-box input:focus{outline:none}.search-box:focus-within{border-color:#6f73c2}.search-box kbd{color:#9d9daf;border:1px solid var(--line);border-radius:4px;font-size:9px;padding:2px 5px;margin-right:10px}.category-bar{display:flex;gap:7px;margin:0 0 23px;overflow-x:auto;scrollbar-width:none;padding:3px 0}.category-bar button{border:1px solid var(--line);background:var(--panel);border-radius:7px;padding:8px 13px;font-size:10px;white-space:nowrap;color:#7e7e8e}.category-bar button.active{background:var(--text);border-color:var(--text);color:var(--panel)}.category-bar button:hover{border-color:#797baa}.category-count{margin-left:6px;opacity:.65;font-size:9px}.batch-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.batch-card{border-radius:14px;border:1px solid var(--line);background:var(--panel);overflow:hidden;transition:transform .18s,box-shadow .18s;display:flex;flex-direction:column}.batch-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.batch-cover{position:relative;aspect-ratio:1.94;background:#dadaf0;overflow:hidden;display:block;width:100%;padding:0;border:0;text-align:left}.batch-cover img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}.batch-card:hover .batch-cover img{transform:scale(1.025)}.cover-fallback{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:30px;font-weight:700;letter-spacing:-1px;color:#434268;background:radial-gradient(ellipse at top right,#d8d7bd,transparent 60%),linear-gradient(150deg,#d9dcf3,#a9acd9)}.batch-category{position:absolute;left:11px;bottom:10px;background:#ffffffed;border-radius:5px;font-size:8px;font-weight:700;padding:5px 7px;color:#333146;letter-spacing:.3px}.batch-body{padding:16px 17px 14px;display:flex;flex-direction:column;flex:1;position:relative}.batch-heading{display:flex;gap:7px;align-items:flex-start}.batch-title{font-size:13px;font-weight:650;line-height:1.5;margin:0;flex:1;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:39px}.save-button{width:27px;height:27px;color:#8e8fa4;margin:-3px -5px 0 0;flex-shrink:0}.save-button svg{width:16px;height:16px}.save-button.saved{color:#373a8e}.save-button.saved svg{fill:#aab0ec}.batch-meta{display:flex;align-items:center;gap:11px;color:#8a8a9a;font-size:9px;margin:12px 0 15px}.batch-meta span{display:flex;align-items:center;gap:4px}.batch-meta svg{width:12px;height:12px}.batch-bottom{border-top:1px solid var(--line);padding-top:12px;display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto}.batch-format{display:flex;gap:5px;align-items:center;font-size:8px;color:#747599}.batch-format i{width:4px;height:4px;background:#6567ad;border-radius:50%}.explore-link{border:0;background:transparent;padding:3px 0;font-size:10px;font-weight:650;display:flex;align-items:center;gap:7px}.explore-link svg{width:13px;height:13px}.pagination{display:flex;justify-content:center;align-items:center;gap:20px;margin:30px 0 5px}.pagination span{font-size:11px;color:var(--muted)}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 15px;border:1px solid var(--line);border-radius:8px;background:var(--panel);font-size:11px;font-weight:600;min-height:38px}.button svg{width:15px;height:15px}.button-primary{background:var(--accent);color:#272247;border-color:var(--accent)}.button-primary:hover{background:#8e96e6}.button-dark{background:var(--text);color:var(--panel);border-color:var(--text)}.button-quiet{background:transparent}.button:hover{filter:brightness(.97)}.full-width{width:100%}.app-footer{border-top:1px solid var(--line);margin:0 38px;padding:20px 0;display:flex;justify-content:space-between;color:#9495aa;font-size:9px;max-width:1524px}.tiny-star{color:#5459a8;font-size:12px;margin-left:5px}
.breadcrumb{display:flex;align-items:center;gap:9px;flex-wrap:wrap;color:var(--muted);font-size:10px;margin-bottom:25px}.breadcrumb a:hover{text-decoration:underline}.breadcrumb svg{width:11px;height:11px}.breadcrumb strong{color:var(--text);font-weight:550}.batch-intro{display:flex;gap:19px;align-items:center;padding:23px;background:var(--panel);border:1px solid var(--line);border-radius:15px;margin-bottom:27px}.batch-intro img{width:110px;height:65px;object-fit:cover;border-radius:7px}.batch-intro h1{font-size:24px;line-height:1.35;letter-spacing:-.7px;margin:8px 0}.intro-actions{margin-left:auto;flex-shrink:0;display:flex;gap:8px}.subject-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.subject-card{background:var(--panel);border:1px solid var(--line);border-radius:13px;padding:21px;display:flex;align-items:center;gap:15px;width:100%;text-align:left;transition:transform .15s,border-color .15s}.subject-card:hover{border-color:#989ace;transform:translateY(-2px)}.subject-symbol{width:48px;height:48px;border-radius:12px;background:#e3e5f4;color:#4c4d91;display:grid;place-items:center;flex-shrink:0}.subject-symbol svg{width:24px;height:24px}.subject-symbol.hue-1{background:#f2ede1;color:#af965a}.subject-symbol.hue-2{background:#e8edf6;color:#7a91b5}.subject-symbol.hue-3{background:#f0e7ee;color:#a87f9c}.subject-copy{min-width:0;flex:1}.subject-copy h3{font-size:13px;line-height:1.5;font-weight:650;margin:0 0 6px}.subject-copy p{font-size:10px;color:var(--muted);margin:0;line-height:1.5}.tile-arrow{color:#7d7ea1}.tile-arrow svg{width:16px}.chapter-list,.lesson-list{display:flex;flex-direction:column;gap:10px}.chapter-card{background:var(--panel);border:1px solid var(--line);border-radius:11px;padding:18px 20px;text-align:left;display:flex;align-items:center;gap:17px;width:100%}.chapter-card:hover,.lesson-card:hover{border-color:#a5a6d1;box-shadow:0 4px 12px #221d3b05}.chapter-number{color:#7e80a5;font-size:13px;font-weight:550;background:var(--soft);border-radius:8px;width:37px;height:39px;display:grid;place-items:center;flex-shrink:0}.chapter-card h3{font-size:12px;font-weight:600;margin:0 0 6px;line-height:1.5}.chapter-card p{font-size:9px;margin:0;color:var(--muted)}.chapter-card .tile-arrow{margin-left:auto}.resource-tabs{display:flex;gap:7px;margin:25px 0 20px}.resource-tabs button{border:1px solid var(--line);background:var(--panel);padding:10px 16px;border-radius:8px;font-size:11px}.resource-tabs button.active{background:var(--forest);color:#fff;border-color:var(--forest)}.lesson-card{border:1px solid var(--line);background:var(--panel);border-radius:12px;padding:16px 19px;display:flex;gap:17px;align-items:center}.lesson-play{width:40px;height:40px;display:grid;place-items:center;background:var(--soft);border:0;border-radius:50%;color:#3e408c;flex-shrink:0}.lesson-play svg{width:17px;height:17px}.lesson-copy{flex:1;min-width:0}.lesson-copy h3{margin:0 0 8px;font-size:12px;font-weight:600;line-height:1.5}.lesson-copy p{margin:0;color:var(--muted);font-size:9px;display:flex;gap:12px;align-items:center}.lesson-badge{background:var(--soft);border-radius:4px;color:#6a6c98;font-size:8px;padding:4px 7px;white-space:nowrap}.resource-links{display:flex;flex-wrap:wrap;gap:7px;margin-top:9px}.resource-links .button{font-size:9px;min-height:30px;padding:6px 9px}.empty-state{text-align:center;padding:65px 20px;background:var(--panel);border:1px dashed var(--line);border-radius:16px;grid-column:1/-1}.empty-state>span{background:var(--soft);border-radius:50%;padding:17px;color:#6e70a5}.empty-state h2{font-size:18px;letter-spacing:-.4px;margin-top:22px}.empty-state p{color:var(--muted);font-size:12px;line-height:1.8;max-width:440px;margin:10px auto 22px}.error-state{border-style:solid}.skeleton{background:var(--panel);border-radius:14px;border:1px solid var(--line);height:264px;overflow:hidden}.skeleton:before{content:'';display:block;height:145px;background:linear-gradient(110deg,var(--soft) 20%,var(--bg) 40%,var(--soft) 60%);background-size:200% 100%;animation:shimmer 1.8s infinite}.skeleton:after{content:'';display:block;margin:20px;height:40px;background:var(--soft);border-radius:4px}@keyframes shimmer{to{background-position:-200% 0}}.inline-loading{padding:40px;text-align:center;font-size:12px;color:var(--muted)}.loading-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#5054a6;margin-right:8px;animation:pulse 1s alternate infinite}@keyframes pulse{to{opacity:.25}}.page-fade{animation:page-in .2s ease}@keyframes page-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
.direct-layout{display:grid;grid-template-columns:1.15fr 1fr;gap:25px;align-items:start;margin-top:35px}.direct-card{padding:30px;border:1px solid var(--line);border-radius:17px;background:var(--panel)}.direct-card h2{font-size:19px;font-weight:600;letter-spacing:-.5px;margin:16px 0 12px}.direct-card label,.verification-dialog label{display:block;font-size:11px;font-weight:550;margin:20px 0 9px}.direct-card input,.verification-dialog input{width:100%;border:1px solid var(--line);border-radius:8px;padding:13px 12px;font-size:11px;color:var(--text);background:var(--bg)}.direct-card .button{margin-top:15px}.direct-art{border-radius:17px;background:#dcdef3;min-height:320px;padding:35px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.direct-art .giant-play{width:88px;height:88px;background:#a3aaef;border:1px solid #8f97dd;border-radius:50%;display:grid;place-items:center;color:#302f6b;margin-bottom:15px;box-shadow:0 0 0 20px #cccff0,0 0 0 40px #d8daf0}.giant-play svg{width:33px;height:33px}.direct-art h3{font-size:19px;font-weight:500;margin:40px 0 7px;color:#363459;letter-spacing:-.5px}.direct-art p{font-size:11px;color:#686a97;line-height:1.8}.file-picker{display:inline-flex!important;cursor:pointer}.or-divider{position:relative;text-align:center;margin:25px 0;color:var(--muted);font-size:8px;letter-spacing:1.2px}.or-divider:before{content:'';position:absolute;left:0;right:0;top:50%;height:1px;background:var(--line)}.or-divider span{position:relative;padding:0 12px;background:var(--panel)}.direct-card .or-divider{margin:28px 0 6px}
dialog{border:1px solid var(--line);border-radius:19px;background:var(--panel);color:var(--text);box-shadow:0 25px 100px #0004;padding:0}dialog::backdrop{background:#160f1db0;backdrop-filter:blur(5px)}body:has(dialog[open]){overflow:hidden}.player-dialog{width:min(1300px,95vw);max-width:95vw;max-height:94vh}.player-top{display:flex;align-items:center;gap:20px;justify-content:space-between;padding:14px 21px;border-bottom:1px solid var(--line)}.player-wordmark{display:flex;align-items:center;font-weight:700;font-size:18px;letter-spacing:-.7px;gap:7px}.player-wordmark>span:last-child{color:#5e60c4;margin-left:-6px}.player-wordmark svg{width:18px;height:18px}.player-top-label{font-size:8px;letter-spacing:2px;color:var(--muted);margin-left:auto}.player-layout{display:grid;grid-template-columns:minmax(0,1fr) 275px}.player-primary{min-width:0}.video-wrap{background:#121019;aspect-ratio:16/9;position:relative;display:flex;align-items:center;justify-content:center}.video-wrap video{width:100%;height:100%;max-height:65vh;background:#121019;display:block}.media-error{position:absolute;inset:0;padding:35px;display:grid;place-items:center;text-align:center;color:#dddfee;background:#1a1322f0;font-size:13px;line-height:1.8;pointer-events:none}.player-details{padding:22px}.player-details h2{font-size:17px;font-weight:550;line-height:1.5;margin:9px 0 20px;letter-spacing:-.3px}.player-controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.player-controls .button{padding:8px 11px;font-size:10px;min-height:34px}.speed-label{font-size:10px;color:var(--muted);margin-left:8px;display:flex;gap:8px;align-items:center}.speed-label select{padding:7px;border:1px solid var(--line);border-radius:7px;background:var(--panel);color:var(--text);font-size:10px}#next-lecture{margin-left:auto}.playlist{border-left:1px solid var(--line);min-width:0;max-height:calc(94vh - 64px);overflow:auto}.playlist-heading{display:flex;justify-content:space-between;align-items:center;padding:22px 17px;border-bottom:1px solid var(--line)}.playlist-heading strong{font-size:11px;font-weight:600}.playlist-heading>span{color:var(--muted);font-size:9px}.playlist-item{display:flex;align-items:center;gap:12px;width:100%;padding:17px 15px;border:0;background:transparent;border-bottom:1px solid var(--line);text-align:left}.playlist-item:hover,.playlist-item.active{background:var(--soft)}.playlist-index{font-size:9px;color:var(--muted);width:16px;flex-shrink:0}.playlist-item h3{font-size:10px;font-weight:550;line-height:1.7;margin:0 0 6px}.playlist-item p{font-size:9px;color:var(--muted);margin:0}.verification-dialog{width:420px;max-width:92vw;padding:32px}.modal-close{position:absolute;right:13px;top:13px}.modal-symbol{width:48px;height:48px;background:var(--soft);color:#5254a7;border-radius:14px;display:grid;place-items:center;margin-bottom:25px}.modal-symbol svg{width:25px;height:25px}.verification-dialog h2{font-size:25px;letter-spacing:-.8px;font-weight:600;margin:10px 0}.verification-dialog>p{font-size:12px;line-height:1.8;margin-bottom:22px}.verification-dialog form .button{margin-top:13px}.generated-link{display:block;font-size:11px;color:#3a3e97;text-decoration:underline;margin:14px 0}.verification-dialog .small{font-size:10px}.verification-dialog label{margin-top:0}#toast{position:fixed;bottom:25px;left:calc(50% + 116px);transform:translateX(-50%);z-index:100;background:#2c233e;color:#e4e5f6;box-shadow:0 5px 25px #18102c30;border:1px solid #413d69;border-radius:10px;padding:13px 19px;font-size:12px;max-width:min(480px,90vw);line-height:1.7}.recent-progress{height:3px;background:var(--line);border-radius:5px;margin-top:12px;overflow:hidden}.recent-progress>span{display:block;background:#5a61bc;height:100%}
html[data-theme="dark"]{--bg:#1b1820;--panel:#24212b;--text:#dbdbec;--muted:#9292ab;--line:#333140;--forest:#9499e3;--soft:#2a283f;--shadow:0 10px 35px #0002}html[data-theme="dark"] .sidebar-note{background:#262537}html[data-theme="dark"] .direct-art{background:#2a283f}html[data-theme="dark"] .direct-art h3{color:#c4c5e9}html[data-theme="dark"] .resource-tabs button.active{background:#9499e3;color:#28223f}html[data-theme="dark"] .subject-symbol{background:#2c2a49;color:#a0a3e0}html[data-theme="dark"] .button-primary{color:#272247}html[data-theme="dark"] .hero{border:1px solid #333050}html[data-theme="dark"] .brand-mark{color:#28223f}
@media(min-width:1600px){.batch-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.app-footer{margin:auto;padding-left:38px;padding-right:38px}}@media(max-width:1150px){.sidebar{width:205px;padding-left:16px;padding-right:16px}.brand{font-size:23px}.app-shell{margin-left:205px}.topbar{padding:0 27px}main{padding:30px 27px}.batch-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-art{right:-22px;width:250px}.hero-copy{max-width:70%}.batch-intro{flex-wrap:wrap}.intro-actions{margin-left:0}.playlist{max-width:240px}.player-layout{grid-template-columns:minmax(0,1fr) 240px}#toast{left:calc(50% + 102px)}}
@media(max-width:800px){.sidebar{transform:translateX(-100%);width:232px;transition:transform .2s}.sidebar.open{transform:none}.app-shell{margin-left:0}.mobile-menu{display:inline-flex}.topbar{height:69px;padding:0 20px;gap:10px}.topbar-path{margin-right:auto}.topbar-actions{gap:10px}.source-chip{font-size:9px;padding:8px}.avatar{display:none}.topbar-path>span:first-child,.path-divider{display:none}.topbar-path strong{max-width:190px;font-size:11px}.hero{padding:26px;min-height:174px}.hero h2{font-size:24px}.hero-art{right:-40px;opacity:.7}.hero-copy{max-width:75%}main{padding:29px 22px}.page-title{font-size:27px}.app-footer{margin:0 22px}#mobile-shade:not([hidden]){position:fixed;inset:0;z-index:25;background:#18122380;backdrop-filter:blur(3px)}#toast{left:50%}.player-layout{grid-template-columns:1fr}.playlist{max-width:none;border-left:0;border-top:1px solid var(--line);max-height:230px}.playlist-heading{padding:15px}.playlist-item{padding:12px 17px}.player-dialog{width:96vw;max-width:96vw}.player-top-label{display:none}.direct-layout{grid-template-columns:1fr}.direct-art{min-height:260px}.subject-grid{grid-template-columns:1fr}}
@media(max-width:520px){.topbar{padding:0 13px}.topbar-actions{gap:3px}.source-chip{gap:6px}.source-chip>span:last-child{display:none}.topbar-path strong{max-width:110px}.theme-button{display:none}main{padding:25px 17px}.page-heading{margin-bottom:23px;align-items:flex-start}.page-title{font-size:25px}.page-description{font-size:11px}.hero{padding:24px 22px;margin-bottom:25px;min-height:180px}.hero h2{font-size:23px}.hero-copy{max-width:87%}.hero-art{right:-99px;width:240px;top:12px;opacity:.35}.hero p{max-width:220px;font-size:10px}.hero-trailer{font-size:8px;margin-top:15px}.section-head{flex-wrap:wrap;gap:15px}.section-head h2{font-size:17px}.search-box{width:100%;order:2}.search-box input{padding-top:13px;padding-bottom:13px;font-size:12px}.section-count{margin-left:auto}.batch-grid{grid-template-columns:1fr;gap:17px}.batch-cover{aspect-ratio:2.05}.batch-body{padding:18px}.batch-title{font-size:14px;min-height:0}.batch-meta{font-size:10px}.batch-format{font-size:9px}.explore-link{font-size:11px}.category-bar{margin-bottom:18px}.category-bar button{font-size:10px;padding:9px 12px}.batch-intro{padding:17px;gap:12px}.batch-intro img{width:82px;height:48px}.batch-intro h1{font-size:18px}.batch-intro>div:nth-child(2){flex:1}.intro-actions .button{font-size:10px;padding:8px 11px}.subject-card{padding:17px}.chapter-card{padding:15px;gap:12px}.chapter-card h3{font-size:11px}.lesson-card{padding:15px 12px;gap:11px}.lesson-copy h3{font-size:11px}.lesson-badge{display:none}.lesson-card>.button{font-size:10px;padding:8px;min-height:33px}.resource-tabs{gap:5px}.resource-tabs button{padding:9px 12px;font-size:10px}.player-top{padding:10px 15px}.player-details{padding:18px}.player-details h2{font-size:14px}.player-controls{gap:6px}.player-controls .button{font-size:9px;padding:7px 9px}.speed-label{margin-left:0;font-size:9px}#next-lecture{margin-left:0}.player-wordmark{font-size:16px}.verification-dialog{padding:28px 23px}.direct-card{padding:23px}.direct-art{display:none}.app-footer{margin:0 17px;font-size:8px}.breadcrumb{font-size:9px;gap:6px;line-height:1.7}.eyebrow{font-size:8px}.section-head>.button{font-size:10px}.hero-label{font-size:7px}.skeleton{height:300px}.skeleton:before{height:170px}}
.player-loading{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;background:#1a1322f2;color:#dddfee;padding:30px;text-align:center;pointer-events:none}.player-loading p{font-size:13px;line-height:1.8;margin:0}.player-spinner{width:30px;height:30px;border:3px solid #48456d;border-top-color:#aab0ec;border-radius:50%;animation:player-spin .8s linear infinite}.player-recovery{display:flex;gap:8px;flex-wrap:wrap}.player-recovery:has(.button:not([hidden])){margin:14px 0 4px}#player-message{overflow-wrap:anywhere;line-height:1.8}@keyframes player-spin{to{transform:rotate(360deg)}}
/* Lecture player */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.player-dialog{width:min(1440px,96vw);max-width:96vw;max-height:96dvh;border-radius:16px}.player-top{position:sticky;top:0;z-index:8;background:var(--panel);padding:12px 19px}.player-top-label{letter-spacing:2px}.player-layout{grid-template-columns:minmax(0,1fr) 265px}.video-wrap{background:#0a070e;max-height:calc(94dvh - 210px);min-height:180px;overflow:hidden;outline:none}.video-wrap video{max-height:none;object-fit:contain;background:#0a070e}.player-details{padding:16px 20px}.player-details h2{font-size:15px;margin:7px 0 12px}.player-details .eyebrow{font-size:8px}.player-shortcuts{font-size:9px;color:var(--text);line-height:1.8}.player-shortcuts span{color:var(--muted)}.player-controls #loop-lecture{margin-left:auto}.player-controls #next-lecture{margin-left:0}.player-controls [aria-pressed="true"]{background:var(--soft);color:var(--forest);border-color:#7175c7}
.video-controls{position:absolute;z-index:5;left:0;right:0;bottom:0;padding:48px 20px 13px;background:linear-gradient(transparent,#050209c7 45%,#050209f0);color:#ededf6;transition:opacity .2s;opacity:0;pointer-events:none}.video-wrap.controls-visible .video-controls,.video-wrap.is-paused .video-controls,.video-controls:focus-within,.video-controls:hover{opacity:1;pointer-events:auto}.video-wrap:not(.controls-visible):not(.is-paused){cursor:none}.video-wrap:focus-visible{box-shadow:inset 0 0 0 2px #aab0ec}
.vc-controls-row,.vc-left,.vc-right,.vc-volume{display:flex;align-items:center;gap:8px;min-width:0}.vc-controls-row{justify-content:space-between;gap:12px}.vc-left{gap:6px}.vc-right{gap:5px}.vc-button{display:inline-flex;align-items:center;justify-content:center;position:relative;flex-shrink:0;min-width:34px;height:34px;border:0;border-radius:7px;background:transparent;color:#ededf6;padding:7px;cursor:pointer}.vc-button svg{width:19px;height:19px;stroke-width:1.9}.vc-button:hover,.vc-button:focus-visible,.vc-button[aria-pressed="true"]{background:#ffffff20}.vc-button:focus-visible,.vc-select select:focus-visible{outline:2px solid #aab0ec;outline-offset:1px}.vc-button:disabled{opacity:.35;cursor:default}.vc-skip svg{width:20px}.vc-skip small{position:absolute;bottom:0;left:0;right:0;text-align:center;font-size:7px;font-weight:750;line-height:9px;color:#dadbf2}.vc-volume{gap:0}.vc-volume input{width:58px;accent-color:#aab0ec;height:4px;cursor:pointer}.video-clock{font-size:11px;font-variant-numeric:tabular-nums;white-space:nowrap;margin-left:7px;letter-spacing:.15px}.clock-divider,#video-total{color:#bebcc6}.vc-select select{border:1px solid #ffffff24;border-radius:6px;background:#ffffff0b;color:#fff;padding:6px 5px;font-size:11px;font-weight:650;max-width:86px;cursor:pointer;height:30px;color-scheme:dark}.vc-select select:disabled{opacity:.65;cursor:default}.vc-select option{background:#1a1523;color:#fff}.vc-select:has(#playback-speed){margin-right:4px}.vc-select #playback-speed{color:#b4b9f4;min-width:57px}
.video-timeline{height:19px;display:flex;align-items:center;margin-bottom:5px}.video-timeline input{appearance:none;-webkit-appearance:none;width:100%;height:4px;border-radius:5px;margin:0;cursor:pointer;background:linear-gradient(to right,#aab0ec 0 var(--played,0%),#a4a0af var(--played,0%) var(--buffered,0%),#ffffff35 var(--buffered,0%) 100%);transition:height .12s}.video-timeline:hover input,.video-timeline:focus-within input{height:6px}.video-timeline input::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:12px;height:12px;border-radius:50%;background:#c4c7f5;box-shadow:0 0 0 3px #aab0ec15}.video-timeline input::-moz-range-thumb{width:12px;height:12px;border:0;border-radius:50%;background:#c4c7f5}.video-timeline input:disabled{opacity:.3;cursor:default}.video-timeline input:focus-visible{outline:2px solid #aab0ec;outline-offset:5px}
.video-play-large{position:absolute;z-index:1;left:50%;top:50%;transform:translate(-50%,-50%);height:66px;width:66px;border-radius:50%;border:1px solid #ffffff40;background:#150d23bb;color:#bfc3f4;display:grid;place-items:center;backdrop-filter:blur(6px);cursor:pointer;transition:background .15s}.video-play-large:hover{background:#2b2146e8}.video-play-large svg{width:27px;height:27px;fill:currentColor}.video-feedback{position:absolute;z-index:7;left:50%;top:32%;transform:translateX(-50%);color:#e1e2f8;background:#150f1ed9;backdrop-filter:blur(8px);border:1px solid #ffffff20;border-radius:10px;padding:11px 19px;font-size:14px;font-weight:600;pointer-events:none;white-space:nowrap}.player-loading{z-index:2}.media-error{z-index:3}.player-dialog.theater{width:min(1700px,98vw);max-width:98vw}.player-dialog.theater .player-layout{grid-template-columns:minmax(0,1fr)}.player-dialog.theater .playlist{display:none}.player-dialog.theater .video-wrap{max-height:calc(94dvh - 200px)}.video-wrap:fullscreen{width:100vw;height:100dvh;max-height:none;min-height:0;aspect-ratio:auto;background:#040207}.video-wrap:fullscreen video{height:100%;width:100%;max-height:none}.video-wrap:fullscreen .video-controls{padding:65px max(26px,env(safe-area-inset-right)) max(19px,env(safe-area-inset-bottom)) max(26px,env(safe-area-inset-left))}.video-wrap:fullscreen .vc-button{width:42px;height:42px}.video-wrap:fullscreen .video-clock{font-size:13px}.video-wrap:fullscreen .vc-select select{height:35px;font-size:13px}
@media(max-width:1100px){.vc-volume input{width:42px}.vc-controls-row{gap:6px}.vc-left{gap:2px}.vc-right{gap:2px}.video-controls{padding-left:13px;padding-right:13px}.vc-button{min-width:30px;padding:6px}.video-clock{font-size:10px;margin-left:4px}.vc-quality{display:none}}
@media(max-width:800px){.player-layout{grid-template-columns:1fr}.player-dialog{width:97vw;max-width:97vw}.playlist{max-width:none}.player-shortcuts{display:none}.player-controls #loop-lecture{margin-left:0}.player-controls #next-lecture{margin-left:auto}.vc-quality{display:block}.vc-volume input{width:55px}.video-wrap{max-height:calc(94dvh - 190px)}}
@media(max-width:520px){.video-controls{padding:37px 11px 9px}.vc-controls-row{flex-wrap:wrap;gap:3px}.vc-left{flex:1;gap:3px}.vc-right{margin-left:auto;gap:4px}.vc-volume input{width:40px}.vc-button{height:30px;min-width:30px;padding:6px}.vc-button svg{width:17px;height:17px}.vc-theater{display:none}.vc-select select{font-size:10px;height:28px}.video-clock{font-size:10px;margin-left:4px}.video-timeline{margin-bottom:2px}.video-play-large{width:49px;height:49px;top:38%}.video-play-large svg{width:22px;height:22px}.player-details{padding:14px 15px}.player-details h2{font-size:13px}.video-feedback{font-size:11px;top:17%;padding:8px 13px}.video-wrap:fullscreen .vc-controls-row{flex-wrap:nowrap}.video-wrap:fullscreen .vc-theater{display:inline-flex}.video-wrap:fullscreen .vc-volume input{width:40px}}
@media(max-width:520px){.vc-controls-row,.video-wrap:fullscreen .vc-controls-row{flex-wrap:wrap}.vc-left{flex:1 0 100%}.vc-right{width:100%;justify-content:flex-end}.video-wrap:fullscreen .vc-button{width:32px;height:32px}.video-wrap:fullscreen .video-clock{font-size:11px}.video-wrap:fullscreen .vc-select select{height:30px;font-size:11px}}
.batch-cover .cover-fallback{z-index:0}.batch-cover img{position:relative;z-index:1}.batch-cover .batch-category{z-index:2}
.pw-public-note{line-height:1.9;margin:25px 0 18px;max-width:760px}.subject-copy .pw-public-action{margin-top:12px;color:var(--forest);font-weight:650}#pw-results .subject-copy h3{margin-top:8px}#pw-results .subject-card{align-items:flex-start}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* ---------- UI polish layer ---------- */
/* Brand + identity */
.brand-mark{background:linear-gradient(135deg,#b2b9ef,#7e88e0);box-shadow:0 6px 16px -6px #424acc55}
.avatar{background:linear-gradient(140deg,#34284f,#4b3978);color:#dbddfa;font-weight:650;box-shadow:0 4px 12px -4px #2e254955}
.topbar{backdrop-filter:saturate(1.05)}

/* Hero depth */
.hero{background:linear-gradient(135deg,#241a36,#34274d 58%,#40325e);box-shadow:0 24px 55px -28px #231a35cc}
.hero-art{opacity:1}

/* Batch cards — smoother lift + softer depth */
.batch-card{border-radius:16px;box-shadow:0 1px 2px #17173f0a;transition:transform .24s cubic-bezier(.2,.7,.3,1),box-shadow .24s,border-color .24s}
.batch-card:hover{transform:translateY(-4px);border-color:#b5b8e2;box-shadow:0 20px 42px -16px #17173f33,0 4px 12px -6px #17173f14}
.batch-cover{aspect-ratio:1.9}
.batch-cover img{opacity:0;transition:opacity .35s ease,transform .3s}
.batch-cover img.is-loaded{opacity:1}
.batch-cover:not(:has(img)) .batch-category{display:none}
.batch-category{background:#ffffffd4;backdrop-filter:blur(6px);box-shadow:0 2px 8px #0000000f;letter-spacing:.4px}

/* Cover fallback — intentional branded placeholder */
.batch-cover .cover-fallback{position:absolute;inset:0;z-index:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:11px;background:none;font-size:inherit;letter-spacing:0;color:#373757}
.cover-fallback .cover-mark{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:#ffffff7a;box-shadow:0 6px 16px -6px #19194226}
.cover-fallback .cover-mark svg{width:24px;height:24px;stroke-width:1.55}
.cover-fallback b{font-size:16px;font-weight:700;letter-spacing:.2px}
/* Per-exam tints */
.batch-cover[data-cat="IIT-JEE"]{background:linear-gradient(140deg,#e5eef8,#bcd2e6)}
.batch-cover[data-cat="NEET"]{background:linear-gradient(140deg,#e5e0f2,#bdacdc)}
.batch-cover[data-cat="BOARDS"]{background:linear-gradient(140deg,#f3ecd8,#e0cda4)}
.batch-cover[data-cat="UPSC"]{background:linear-gradient(140deg,#ece4f3,#cdbee2)}
.batch-cover[data-cat="GATE"]{background:linear-gradient(140deg,#e7eaf0,#c3ccda)}
.batch-cover[data-cat="BANKING"]{background:linear-gradient(140deg,#f4ecd3,#e2d1a2)}
.batch-cover[data-cat="DEFENCE"]{background:linear-gradient(140deg,#d7daef,#9fa5d7)}
.batch-cover[data-cat="SKILLS"]{background:linear-gradient(140deg,#f4e4ee,#e3bdd4)}
.batch-cover[data-cat="OTHERS"]{background:linear-gradient(140deg,#dfe2f5,#a8afe3)}

/* Buttons — tactile primary */
.button{border-radius:10px;transition:transform .12s,filter .15s,box-shadow .18s}
.button:active{transform:translateY(1px)}
.button-primary{background:linear-gradient(135deg,#acb3ee,#8991e3);border-color:#8991e3;box-shadow:0 5px 15px -6px #4d57d666}
.button-primary:hover{filter:brightness(1.02);box-shadow:0 7px 20px -6px #4d57d680}

/* Nav active accent */
.nav-item{transition:background .15s,color .15s,box-shadow .15s}
.nav-item.active{box-shadow:inset 3px 0 0 #5358c4}

/* Category pills + search focus ring */
.category-bar button{transition:border-color .15s,background .15s,color .15s}
.category-bar button.active{background:linear-gradient(135deg,#322948,#41365e);border-color:#322948}
.search-box{border-radius:11px;transition:border-color .15s,box-shadow .15s}
.search-box:focus-within{box-shadow:0 0 0 3px #6970cc33}

/* Tiles */
.subject-card,.chapter-card,.lesson-card{transition:transform .16s,border-color .16s,box-shadow .16s}
.subject-card:hover,.chapter-card:hover,.lesson-card:hover{box-shadow:0 12px 26px -16px #17173f2e}

/* Dark mode for the polish layer */
html[data-theme="dark"] .avatar{background:linear-gradient(140deg,#40335f,#564582);color:#d8daf8}
html[data-theme="dark"] .hero{background:linear-gradient(135deg,#20182e,#2a213c 60%,#332948)}
html[data-theme="dark"] .batch-card:hover{border-color:#292b5a}
html[data-theme="dark"] .batch-cover[data-cat]{background:linear-gradient(140deg,#292739,#25212e)}
html[data-theme="dark"] .cover-fallback{color:#afb2db}
html[data-theme="dark"] .cover-fallback .cover-mark{background:#ffffff12;box-shadow:none}
html[data-theme="dark"] .batch-category{background:#1d1a24cc;color:#afb2e7}
html[data-theme="dark"] .button-primary{background:linear-gradient(135deg,#949df2,#757ee9)}

/* ---------- Mobile ---------- */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
.tabbar{display:none}
@media(max-width:800px){
  /* Sticky, translucent app bar */
  .topbar{position:sticky;top:0;z-index:20;padding-top:env(safe-area-inset-top);height:calc(64px + env(safe-area-inset-top));background:color-mix(in srgb,var(--panel) 88%,transparent);backdrop-filter:blur(12px) saturate(1.1);-webkit-backdrop-filter:blur(12px) saturate(1.1)}
  .icon-button{width:44px;height:44px;border-radius:12px}
  /* Thumb-reachable bottom navigation */
  .tabbar{position:fixed;left:0;right:0;bottom:0;z-index:22;display:grid;grid-template-columns:repeat(4,1fr);gap:2px;padding:6px max(6px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-left));background:var(--panel);background:color-mix(in srgb,var(--panel) 92%,transparent);backdrop-filter:blur(14px) saturate(1.1);-webkit-backdrop-filter:blur(14px) saturate(1.1);border-top:1px solid var(--line);box-shadow:0 -8px 24px -14px #231a3530}
  .tab-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:52px;border-radius:12px;font-size:10.5px;font-weight:600;color:var(--muted);transition:color .15s,background .15s}
  .tab-item svg{width:21px;height:21px}
  .tab-item.active{color:var(--forest);background:var(--soft)}
  .tab-item.active svg{stroke-width:2}
  main{padding-bottom:calc(96px + env(safe-area-inset-bottom))}
  .app-footer{display:none}
  #toast{bottom:calc(82px + env(safe-area-inset-bottom));left:50%;width:max-content;max-width:calc(100vw - 32px)}
  /* 16px inputs stop iOS from zooming on focus */
  .search-box input,.direct-card input{font-size:16px}
  .search-box kbd{display:none}
  .hero p br{display:none}
  /* Touch-sized controls */
  .button{min-height:44px}
  .category-bar{margin:0 -22px 20px;padding:3px 22px;scroll-padding:0 22px;-webkit-overflow-scrolling:touch}
  .category-bar button{min-height:40px;padding:0 15px;font-size:12px;border-radius:999px}
  .save-button{width:40px;height:40px;margin:-8px -10px 0 0}
  .explore-link{padding:10px 0;font-size:12px}
  .pagination{gap:12px}
  .pagination .button{padding:0 18px}
  .resource-tabs{overflow-x:auto;scrollbar-width:none;margin:22px -22px 18px;padding:0 22px}
  .resource-tabs button{min-height:40px;white-space:nowrap}
  .subject-card,.chapter-card{min-height:64px}
  /* Player becomes a full-screen sheet */
  .player-dialog,.player-dialog.theater{width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0;overflow-y:auto;overscroll-behavior:contain}
  .player-top{padding:max(6px,env(safe-area-inset-top)) 8px 6px 16px}
  .video-wrap{max-height:none;aspect-ratio:16/9;min-height:0}
  .playlist{max-height:none;overflow:visible;padding-bottom:env(safe-area-inset-bottom)}
  .vc-button{min-width:40px;height:40px}
  .video-timeline{height:26px}
  .video-timeline input::-webkit-slider-thumb{width:16px;height:16px}
  .video-timeline input::-moz-range-thumb{width:16px;height:16px}
}
@media(max-width:520px){
  .category-bar{margin-left:-17px;margin-right:-17px;padding-left:17px;padding-right:17px}
  .resource-tabs{margin-left:-17px;margin-right:-17px;padding-left:17px;padding-right:17px}
  .batch-title{font-size:15px}
  .batch-meta{font-size:11px}
  .batch-format{font-size:10px}
  .lesson-card{padding:14px}
  .lesson-copy h3{font-size:13px}
  .lesson-copy p{font-size:11px}
  .lesson-card>.button{min-height:40px;padding:0 12px}
  .chapter-card h3,.subject-copy h3{font-size:13px}
  .chapter-card p,.subject-copy p{font-size:11px}
  .breadcrumb{font-size:11px}
  .player-details h2{font-size:15px}
  .playlist-item h3{font-size:12px}
}
