:root{--paper:#f5f3ea;--ink:#163d35;--muted:#68776c;--line:#dcded3;--green:#194c3e;--yellow:#e7cb83}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:25px}body{margin:0;background:var(--paper);color:var(--ink);font-family:system-ui,-apple-system,'PingFang SC','Microsoft YaHei',sans-serif}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button,select{cursor:pointer}button,input,textarea,select{font:inherit}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #c78e36;outline-offset:4px}header{max-width:1280px;margin:auto;padding:26px 40px;display:flex;align-items:center;gap:40px;border-bottom:1px solid var(--line)}.brand{font-size:23px;font-weight:800;letter-spacing:1px}.mark{display:inline-flex;background:var(--green);color:white;width:35px;height:35px;align-items:center;justify-content:center;border-radius:7px}nav{display:flex;gap:30px;margin-left:auto;font-size:14px}small,.private{font-size:11px;color:var(--muted)}small{margin-left:5px}.private{border-left:1px solid var(--line);padding-left:25px}main{max-width:1280px;margin:auto;padding:0 40px}.intro{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:70px;padding:65px 0}.eyebrow{font-size:12px;letter-spacing:2px;color:var(--muted);margin:0 0 14px}h1{font-size:52px;line-height:1.35;letter-spacing:-1.5px;margin:0}h1 em{font-style:normal;color:#51705b}.lede{line-height:1.9;color:var(--muted);font-size:15px;margin:20px 0 25px}.primary{display:inline-block;background:var(--green);color:white;border:0;border-radius:7px;padding:14px 22px;font-size:14px;font-weight:600}.quiet{font-size:11px;color:var(--muted);display:block;margin-top:15px}.sketch{background:#1f4339;box-shadow:inset 0 0 45px #122d2644,0 15px 30px #183c3510;transform:rotate(1.4deg);padding:32px 25px 20px;border:7px solid #a2997d;border-bottom:13px solid #a2997d;position:relative;color:#e4e6ca}.sketch p{font-family:KaiTi,STKaiti,serif;font-size:23px;margin:0 0 10px;text-align:center}.sketch svg{display:block;width:100%}.chalk{position:absolute;bottom:-8px;right:40px;width:38px;height:6px;background:#eee9d8;transform:rotate(-3deg)}.watch{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:28px;border-top:1px solid var(--line);padding:32px 0 45px}.screen{background:#112f27;border-radius:10px;overflow:hidden;aspect-ratio:16/9}video{width:100%;height:100%;display:block}.now{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:23px}h2{font-size:25px;margin:0;letter-spacing:-.6px}.now p:last-child{font-size:13px;color:var(--muted);line-height:1.7;margin-bottom:0}.now .eyebrow{margin-bottom:8px}.now button,.tools button{border:1px solid var(--line);border-radius:6px;background:transparent;padding:9px 13px;color:var(--ink);white-space:nowrap;font-size:12px}.tools{display:flex;align-items:center;gap:17px;flex-wrap:wrap;margin-top:24px;border-top:1px solid var(--line);padding-top:16px;font-size:12px;color:var(--muted)}select{border:1px solid var(--line);border-radius:5px;padding:7px;background:transparent;color:var(--ink)}.tools span{font-size:11px;margin-left:auto}aside{border:1px solid var(--line);border-radius:10px;overflow:hidden;align-self:start;background:#faf9f2}.aside-heading{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid var(--line)}h3{font-size:15px;margin:0}.aside-heading span{font-size:11px;color:var(--muted)}.lesson-row{display:flex;width:100%;text-align:left;gap:12px;padding:16px 17px;background:none;border:0;border-bottom:1px solid #e6e7dc;color:var(--ink)}.lesson-row.active{background:#e7ece1}.num{color:#7f8b7b;font-size:12px;padding-top:3px}.row-copy{flex:1}.row-copy strong{display:block;font-size:13px;font-weight:500;line-height:1.7}.row-copy small{font-size:11px}.aside-note{text-align:center;font-size:11px;color:var(--muted);padding:5px 0}#courses{padding:28px 0 60px;border-top:1px solid var(--line)}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.search{display:flex;gap:8px;align-items:center;border:1px solid var(--line);padding:10px 14px;border-radius:7px}.search input{border:0;background:none;width:180px;outline:none;font-size:12px;color:var(--ink)}.filters{display:flex;gap:8px;margin:25px 0}.filters button{border:0;background:none;color:var(--muted);padding:9px 15px;border-radius:5px;font-size:12px}.filters button.selected{background:var(--green);color:white}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}.course{display:block;text-align:left;background:none;border:0;color:inherit;padding:0}.thumb{aspect-ratio:16/9;position:relative;overflow:hidden;border-radius:8px;background:var(--green)}.thumb img{width:100%;height:100%;object-fit:cover;transition:transform .25s}.course:hover img{transform:scale(1.035)}.duration{position:absolute;bottom:8px;right:8px;background:#082319c9;color:white;padding:3px 6px;font-size:10px;border-radius:3px}.course h3{margin:13px 0 7px;font-size:15px}.course p{font-size:11px;line-height:1.7;color:var(--muted);margin:0}.progress{height:3px;background:#d2d9cc}.progress i{display:block;height:100%;background:#d5b972}.future{display:grid;grid-template-columns:1fr 1fr;gap:70px;border-top:1px solid var(--line);padding:50px 0 65px}.future p{font-size:14px;color:var(--muted);line-height:1.9}.future h2{font-size:28px}.badge{display:inline-block;background:#e7e7db;color:#727966;border-radius:4px;padding:7px 10px;font-size:11px;margin-top:12px}form{display:grid;grid-template-columns:1fr;gap:10px}form label{font-size:12px}form select{width:130px}textarea{resize:vertical;min-height:85px;padding:12px;border:1px solid #d4dacb;border-radius:6px;background:#fbfaf5;color:var(--ink);font-size:13px}form .primary{justify-self:start}form p{font-size:11px!important;margin:0}#wishes{padding-left:18px;margin:0;font-size:12px;color:var(--muted)}#wishes button{border:0;background:none;color:#8b604a;font-size:11px;margin-left:8px}footer{max-width:1200px;margin:auto;border-top:1px solid var(--line);padding:25px 0 35px;display:flex;justify-content:space-between;font-size:12px;color:var(--muted)}.error{color:#a54b33;font-size:13px}button:disabled{opacity:.5;cursor:default}[hidden]{display:none!important}@media(max-width:950px){.watch{grid-template-columns:minmax(0,1fr) 260px;gap:20px}.intro{gap:35px}h1{font-size:42px}.quiet{font-size:10px}.tools span{margin-left:0}.future{gap:35px}}@media(max-width:700px){header{padding:19px 20px;gap:15px}.brand{font-size:19px}.mark{width:29px;height:29px}nav{font-size:12px;gap:17px}nav small,.private{display:none}main{padding:0 20px}.intro{padding:36px 0 30px;gap:25px;grid-template-columns:1fr}.intro h1{font-size:38px}.intro br.desktop{display:none}.lede{font-size:14px}.sketch{display:none}.watch{display:flex;flex-direction:column;padding-top:20px;gap:28px}.screen{border-radius:6px}.now{align-items:start}.now h2{font-size:22px}.now button{padding:8px;font-size:11px}.tools{gap:10px}.tools span{flex-basis:100%}aside{width:100%}.lesson-row{padding:13px 17px}.section-heading{display:block}.search{margin-top:20px}.search input{width:100%}.filters{gap:0;justify-content:space-between}.filters button{padding:9px 10px}.grid{grid-template-columns:1fr 1fr;gap:23px 14px}.course h3{font-size:13px;line-height:1.6}.course p{font-size:10px}.future{grid-template-columns:1fr;gap:25px;padding-top:35px}.future h2{font-size:25px}footer{margin:0 20px}h2{font-size:23px}}

/* Focused, mobile-first watch experience */
:root{--paper:#f7f8fa;--ink:#202b34;--muted:#7a858d;--line:#e8ebee;--green:#287466}header{padding-top:18px;padding-bottom:18px;background:#fff}.watch-heading{display:flex;align-items:center;justify-content:space-between;padding:27px 0 19px}.watch-heading p{margin:0}.watch-heading span{font-size:12px;color:var(--muted)}.watch{border:0;padding-top:0;gap:24px}aside{background:#fff;border-radius:12px}.lesson-row.active{background:#edf6f3;color:#226c5c}.lesson-row{min-height:70px}.screen{position:relative;background:#101418;isolation:isolate;border-radius:12px}.screen video{object-fit:contain;filter:brightness(var(--video-brightness,1))}.player-shade{pointer-events:none;position:absolute;inset:50% 0 0;background:linear-gradient(transparent,#000b)}#player-controls{position:absolute;bottom:0;left:0;right:0;color:white;padding:6px 16px 10px}#player-controls button,#unlock{background:transparent;color:white;border:0;border-radius:6px;min-height:40px;padding:8px;font-size:13px}#player-controls button:hover{background:#ffffff24}#seek{width:100%;accent-color:#67cfb2;height:18px;cursor:pointer}.control-row{display:flex;align-items:center;gap:4px}.control-spacer{flex:1}#clock{font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}#player-settings{position:absolute;right:14px;bottom:75px;width:min(300px,90%);background:#18242af5;padding:16px;border:1px solid #ffffff30;border-radius:10px;box-shadow:0 12px 35px #0004}#player-settings label{display:flex;align-items:center;justify-content:space-between;font-size:13px;gap:10px;margin-bottom:10px}#player-settings input{width:150px;accent-color:#67cfb2}#player-settings p{font-size:11px;line-height:1.6;color:#c4ced0;margin:5px 0 0}#unlock{position:absolute;right:18px;top:18px;z-index:5;background:#162a34dd;min-width:90px}#player-status{position:absolute;top:14px;left:14px;max-width:80%;background:#18242ae6;color:#fff;border-radius:6px;font-size:12px;padding:8px;pointer-events:none}#player-status:empty{display:none}.screen.locked .player-shade{display:none}.screen:fullscreen,.screen.fallback-fullscreen{width:100%;height:100%;border-radius:0;aspect-ratio:auto;background:#000}.screen.fallback-fullscreen{position:fixed;inset:0;z-index:10000;height:100dvh}.screen:fullscreen #player-controls,.screen.fallback-fullscreen #player-controls{padding-bottom:max(14px,env(safe-area-inset-bottom))}.now{margin-top:19px}.tools{margin-top:16px}.tools label{display:flex;align-items:center;gap:8px}.tools button,select{min-height:40px}.now button{min-height:40px;background:white}.section-heading h2{font-size:22px}.future{background:#f0f5f3;padding:32px;border-radius:14px;border:0}.lesson-row:focus-visible{outline-offset:-3px}@media(max-width:700px){header{padding:14px 16px}main{padding:0 16px}.watch-heading{padding:18px 0 12px}.watch-heading span{display:none}.watch{padding-top:0;gap:22px}.screen{margin:0 -16px;width:calc(100% + 32px);border-radius:0}.screen:fullscreen,.screen.fallback-fullscreen{margin:0;width:100%}.now{margin-top:18px}.now h2{font-size:21px}.tools{gap:8px}.tools span{font-size:11px}#player-controls{padding:0 8px 4px}#player-controls button{font-size:12px;padding:6px;min-width:36px}#clock{font-size:10px}.control-row{gap:1px}.future{padding:24px 18px}.watch aside{max-height:390px;overflow:auto}.aside-heading{position:sticky;top:0;background:#fff;z-index:1}#courses{padding-bottom:35px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

#player-controls select{color:#fff;background:#18242a;border:0;font-size:12px;min-height:38px;padding:5px}#player-controls option{color:white;background:#18242a}@media(max-width:420px){#back{display:none}}
/* Keep teaching captions unobstructed: normal controls have their own rail. */
.screen{aspect-ratio:auto;padding-bottom:66px}.screen video{aspect-ratio:16/9;height:auto}.player-shade{display:none}.screen.locked{padding-bottom:0}.screen:fullscreen,.screen.fallback-fullscreen{padding-bottom:0}.screen:fullscreen video,.screen.fallback-fullscreen video{height:100%;aspect-ratio:auto}.screen:fullscreen .player-shade,.screen.fallback-fullscreen .player-shade{display:block}.screen:fullscreen.controls-idle #player-controls,.screen.fallback-fullscreen.controls-idle #player-controls,.screen.controls-idle .player-shade{opacity:0;pointer-events:none}#player-controls{transition:opacity .2s}

.playlist-group{font-size:12px;color:#64786e;margin:16px 12px 7px;font-weight:600}.playlist-group:first-child{margin-top:2px}

/* Quiet paper-toned controls. Reserve a separate rail even while locked. */
.screen{background:#f1f4f3;box-shadow:0 0 0 1px #e5eae7}.screen video{background:#fff}#player-controls{background:#f1f4f3;color:#36564c;border-top:1px solid #e1e8e3}#player-controls button,#player-controls select,#player-controls option{color:#36564c;background:transparent}#player-controls select{background:#e8eeea;border-radius:7px}#player-controls button:hover{background:#e1eae4}#player-controls button svg{display:block;margin:auto}#seek,#player-settings input{accent-color:#5e9480}#player-settings{background:#f8faf8f7;color:#36564c;border:1px solid #dce5de;box-shadow:0 8px 25px #183c3517}#player-settings p{color:#6c7e72}#unlock{top:auto;right:auto;left:12px;bottom:2px;min-width:40px;width:40px;height:40px;min-height:40px;padding:10px;background:#e7eee9;color:#3b6353;border-radius:50%;box-shadow:none}#unlock svg{display:block}#unlock:hover{background:#d8e5dc}.screen.locked{padding-bottom:44px}.screen:fullscreen,.screen.fallback-fullscreen{background:#edf1ed}.screen:fullscreen video,.screen.fallback-fullscreen video{height:calc(100% - 70px)}.screen:fullscreen.locked video,.screen.fallback-fullscreen.locked video{height:calc(100% - 44px)}.screen:fullscreen.locked,.screen.fallback-fullscreen.locked{padding-bottom:0}.screen:fullscreen .player-shade,.screen.fallback-fullscreen .player-shade{display:none}#player-status{background:#f2f6f2ee;color:#36564c;box-shadow:0 2px 10px #163d3510}@media(max-width:700px){#unlock{left:8px}.screen:fullscreen video,.screen.fallback-fullscreen video{height:calc(100% - 70px - env(safe-area-inset-bottom))}}

/* Keep long course lists from dictating the desktop watch-row height. */
.watch{align-items:start}.watch>aside{max-height:560px;display:flex;flex-direction:column;overflow:hidden}.watch .aside-heading{flex:none}.watch #playlist{overflow-y:auto;overscroll-behavior:contain;min-height:0}.watch .aside-note{flex:none;margin:0;padding:13px 8px;border-top:1px solid var(--line)}@media(max-width:700px){.watch>aside{max-height:390px}.watch #playlist{max-height:300px}}

/* Direct controls: no nested settings menu. */
.inline-adjust{display:flex;align-items:center;gap:2px;flex:none}.inline-adjust input{width:60px;accent-color:#5e9480;cursor:pointer}.brightness-adjust{padding-left:7px}.brightness-adjust svg{width:18px;flex:none}#mute.muted{opacity:.55;background:#dae3de}#catalog-toggle{font-size:12px}#full-catalog{position:absolute;right:10px;bottom:76px;top:12px;width:min(310px,calc(100% - 20px));background:#f7faf7f5;z-index:10;border:1px solid #d7e2da;border-radius:10px;box-shadow:0 8px 28px #223d3524;display:flex;flex-direction:column;overflow:hidden}.catalog-heading{display:flex;align-items:center;justify-content:space-between;padding:8px 14px;border-bottom:1px solid var(--line);font-size:14px}.catalog-heading button{border:0;background:transparent;font-size:24px;color:#36564c;min-width:40px;min-height:40px}#full-playlist{overflow:auto;overscroll-behavior:contain;min-height:0;flex:1}#full-playlist .lesson-row{min-height:58px;padding:10px 14px}#full-playlist .playlist-group{margin-top:10px}.control-row{gap:3px}#player-controls #rate{font-size:12px;padding:5px;min-width:49px}@media(max-width:950px) and (min-width:701px){.inline-adjust input{width:38px}#back{display:none}#player-controls{padding-left:8px;padding-right:8px}.control-row{gap:0}}@media(max-width:700px){.screen{padding-bottom:104px}.control-row{display:flex;flex-wrap:wrap;gap:0 5px}.control-spacer{display:none}#clock{margin-right:auto;font-size:11px}.inline-adjust{order:2}.inline-adjust input{width:110px}.brightness-adjust{margin-left:auto}.control-row>label:has(#rate){margin-left:auto}#player-controls #rate{min-height:40px}#player-controls #catalog-toggle{min-width:40px}.inline-adjust{height:32px}#full-catalog{bottom:112px;top:8px}.screen:fullscreen video,.screen.fallback-fullscreen video{height:calc(100% - 108px - env(safe-area-inset-bottom))}.screen.locked{padding-bottom:44px}.screen:fullscreen.locked,.screen.fallback-fullscreen.locked{padding-bottom:0}.screen:fullscreen.locked video,.screen.fallback-fullscreen.locked video{height:calc(100% - 44px)}}

/* Minimal overlay player: the teaching surface is the default. */
.watch{display:block;max-width:1000px;margin:auto}.watch>aside{display:none}.screen,.screen.locked{padding:0;aspect-ratio:16/9}.screen video{height:100%;aspect-ratio:16/9}.screen:fullscreen,.screen.fallback-fullscreen{aspect-ratio:auto;padding:0}.screen:fullscreen video,.screen.fallback-fullscreen video,.screen:fullscreen.locked video,.screen.fallback-fullscreen.locked video{height:100%}#player-controls{bottom:10px;left:10px;right:10px;padding:4px 10px 6px;border:1px solid #d8e5db80;border-radius:10px;background:#f1f6f1e8;box-shadow:0 2px 12px #163d3512;backdrop-filter:blur(10px)}.control-row{display:flex;flex-wrap:nowrap;gap:5px}.control-spacer{display:block;flex:1}#clock{margin-right:0}#player-controls button{min-width:36px;height:36px;min-height:36px}#player-controls #rate-toggle{min-width:48px;font-variant-numeric:tabular-nums}.player-catalog-trigger{position:absolute;top:12px;right:12px;z-index:4;background:#f1f6f1e8;border:1px solid #d8e5db80;color:#36564c;border-radius:8px;min-height:38px;padding:6px 14px;font-size:12px;backdrop-filter:blur(8px)}.screen.controls-idle #player-controls,.screen.controls-idle .player-catalog-trigger{opacity:0;pointer-events:none}.screen.locked .player-catalog-trigger{display:none}#unlock{left:10px;top:50%;bottom:auto;transform:translateY(-50%);background:#f1f6f1ce;width:38px;min-width:38px;height:38px;min-height:38px;padding:9px}.player-popover{position:absolute;right:18px;bottom:91px;z-index:12;border:1px solid #d5e3d8;background:#edf4efef;backdrop-filter:blur(14px);box-shadow:0 6px 25px #183c3522;border-radius:12px;padding:8px;min-width:110px;max-width:calc(100% - 36px);color:#36564c}.player-popover button{display:block;width:100%;border:0;border-radius:7px;background:transparent;color:inherit;padding:9px 16px;font:inherit;font-size:13px;min-height:38px}.player-popover button:hover,.player-popover button[aria-pressed=true]{background:#d6e6db;color:#205943}.adjust-popover{width:230px;padding:14px}.adjust-popover label{display:flex;align-items:center;gap:10px;font-size:12px}.adjust-popover input{min-width:0;flex:1;accent-color:#5e9480}.adjust-popover small{display:block;font-size:10px;margin-top:8px;color:#708578}#full-catalog{top:58px;bottom:90px;max-height:calc(100% - 148px)}#rate-panel{display:grid;grid-template-columns:1fr;max-height:calc(100% - 105px);overflow-y:auto}#volume-toggle,#brightness-toggle{flex:none}@media(max-width:700px){.screen,.screen.locked{padding:0}.screen video{height:100%}#player-controls{bottom:5px;left:5px;right:5px;padding:0 5px 3px;border-radius:8px}.control-row{gap:0}.control-spacer{display:block}#clock{font-size:10px}#player-controls button{min-width:32px;padding:5px}#player-controls #rate-toggle{min-width:39px;font-size:11px}#full-catalog{top:46px;bottom:72px;right:6px;width:min(280px,calc(100% - 12px));max-height:calc(100% - 118px)}.player-catalog-trigger{top:7px;right:7px;min-height:32px;padding:4px 10px}.player-popover{bottom:75px;right:8px}.player-popover button{min-height:30px;padding:5px 12px}#rate-panel{grid-template-columns:repeat(3,1fr);max-height:calc(100% - 85px)}.screen:fullscreen video,.screen.fallback-fullscreen video,.screen:fullscreen.locked video,.screen.fallback-fullscreen.locked video{height:100%}}

/* Repair: reserve space for menus; never crop a panel to the video viewport. */
.screen,.screen.locked{aspect-ratio:auto;overflow:visible;display:flex;flex-direction:column;background:#f4f7f4;padding:0}.player-topbar{min-height:42px;display:flex;align-items:center;gap:10px;padding:5px 10px;color:#657c6b;font-size:11px;border-bottom:1px solid #e1e8e2}.player-topbar>span:first-child{margin-right:auto}.player-topbar #catalog-toggle{position:static;opacity:1;pointer-events:auto;transform:none;min-height:30px;padding:3px 12px}.player-topbar #loading-state:empty{display:none}#loading-state{font-size:11px;color:#57796a}#video-stage{position:relative;width:100%;aspect-ratio:16/9;min-height:0;background:#fff;overflow:hidden}.screen #video{width:100%;height:100%;aspect-ratio:auto;object-fit:contain}#full-catalog,.player-popover,#rate-panel{position:relative;inset:auto;right:auto;bottom:auto;top:auto;margin:0;width:100%;max-width:none;max-height:none;transform:none;border-radius:0 0 10px 10px;box-shadow:none;border:0;border-top:1px solid #dbe6de;background:#eef5ef;flex:none}#full-catalog{height:290px;max-height:40vh}#full-playlist{flex:1;overflow:auto}#rate-panel{display:flex;flex-wrap:wrap;gap:5px;padding:12px}.player-popover button{width:auto;min-height:38px}#rate-panel button{flex:1 1 55px}.adjust-popover{padding:14px;min-height:85px}.adjust-popover label{max-width:380px;margin:auto}.adjust-popover small{text-align:center}.adjust-popover #mute{margin:6px auto 0}.screen:fullscreen,.screen.fallback-fullscreen{display:flex;height:100dvh;overflow:hidden;aspect-ratio:auto} .screen:fullscreen #video-stage,.screen.fallback-fullscreen #video-stage{flex:1;aspect-ratio:auto;width:100%;min-height:0}.screen:fullscreen .player-topbar,.screen.fallback-fullscreen .player-topbar{flex:none}.screen:fullscreen #full-catalog,.screen.fallback-fullscreen #full-catalog{height:32vh;max-height:32vh}.screen.locked .player-topbar #catalog-toggle{display:none}#unlock{z-index:7}#player-status{max-width:80%;font-size:11px}#player-controls{z-index:5}.screen.controls-idle #player-controls{opacity:0;pointer-events:none}.screen:fullscreen .player-popover,.screen.fallback-fullscreen .player-popover{max-height:30vh;overflow:auto}@media(min-width:850px){.screen:fullscreen.has-catalog,.screen.fallback-fullscreen.has-catalog{display:grid;grid-template-columns:minmax(0,1fr) 290px;grid-template-rows:42px minmax(0,1fr)}.screen:fullscreen.has-catalog .player-topbar,.screen.fallback-fullscreen.has-catalog .player-topbar{grid-column:1/-1}.screen:fullscreen.has-catalog #full-catalog,.screen.fallback-fullscreen.has-catalog #full-catalog{height:100%;max-height:none;grid-column:2;grid-row:2}.screen:fullscreen.has-catalog #video-stage,.screen.fallback-fullscreen.has-catalog #video-stage{height:100%;grid-column:1;grid-row:2}}@media(max-width:700px){.screen{margin:0 -16px}.player-topbar{min-height:40px;padding:4px 8px}#rate-panel{padding:8px}.screen #rate-panel button{padding:6px 10px;font-size:12px}#full-catalog{height:260px;max-height:45vh}#full-playlist .lesson-row{min-height:56px}.screen .player-popover{bottom:auto;right:auto}.screen #player-controls{bottom:5px}.screen #video{height:100%}.player-topbar #catalog-toggle{font-size:12px}.player-topbar #loading-state{max-width:45%;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}}

#cancel-seek{border:1px solid #cfded3;border-radius:6px;background:#eef5ef;color:#36564c;font:inherit;min-height:30px;padding:3px 8px;white-space:nowrap}.player-topbar{flex-wrap:wrap}

/* Header directory: in-flow expansion leaves the lesson completely unobscured. */
header{flex-wrap:wrap;position:relative;column-gap:30px;row-gap:0}header nav{align-items:center}#catalog-anchor{display:flex;align-items:center}#catalog-toggle{position:static;opacity:1;pointer-events:auto;background:transparent;border:0;box-shadow:none;backdrop-filter:none;color:var(--ink);font:inherit;min-height:36px;padding:5px 0}#catalog-toggle::after{content:'⌄';margin-left:6px;color:var(--muted)}#catalog-toggle[aria-expanded=true]::after{content:'⌃'}#catalog-home{flex-basis:100%;min-width:0}#catalog-home:has(#full-catalog:not([hidden])){padding-top:16px}#catalog-home #full-catalog{height:320px;max-height:48dvh;border:1px solid var(--line);border-radius:10px;background:#f4f7f4}#full-playlist .playlist-group{position:sticky;top:0;background:#eef5ef;padding:10px 14px;margin:0;z-index:1}.player-topbar{min-height:0;padding:0;border:0}.player-topbar:has(#loading-state:not(:empty)),.player-topbar:has(#cancel-seek:not([hidden])){padding:5px 10px}.player-topbar>span:first-child{margin-right:0}.player-topbar:has(#catalog-toggle){padding:5px 12px}.player-topbar #full-catalog{flex-basis:100%;height:220px;max-height:35dvh}.screen:fullscreen.has-catalog,.screen.fallback-fullscreen.has-catalog{display:flex}.screen:fullscreen.has-catalog #video-stage,.screen.fallback-fullscreen.has-catalog #video-stage{height:auto}.screen:fullscreen.has-catalog #full-catalog,.screen.fallback-fullscreen.has-catalog #full-catalog{height:220px;max-height:35dvh}header nav{gap:22px}@media(max-width:700px){header{padding:14px 20px;gap:8px 12px}.brand{font-size:17px}header nav{gap:13px;font-size:12px}#catalog-home #full-catalog{height:285px;max-height:43dvh}header .mark{display:none}}@media(max-width:360px){header nav{width:100%;justify-content:flex-end}}

/* Completion state belongs to the course, not the player controls. */
.preview-status{display:inline-block;max-width:100%;padding:2px 7px;border:1px solid #e3d8bb;border-radius:4px;background:#f7f2e7;color:#79623c;font-size:11px;font-weight:500;line-height:1.6;vertical-align:middle;white-space:normal}.row-copy .preview-status{display:table;margin:3px 0 2px}.course .preview-status{margin:0 0 6px}.now .preview-status{margin-top:8px}.filters{flex-wrap:wrap;justify-content:flex-start;row-gap:5px}@media(max-width:700px){.preview-status{font-size:10px}.filters{justify-content:flex-start;gap:4px}.filters button{padding:8px 10px}}
