:root{
  --ink:#173c35;--ink-deep:#0d2924;--ink-soft:#31564e;--cream:#f4f0e7;--paper:#fffdf8;--paper-2:#faf7f0;
  --gold:#c68a43;--gold-deep:#a96b29;--gold-soft:#ecd4ae;--line:rgba(23,60,53,.12);
  --muted:#7d837e;--danger:#c85749;--success:#2d8b68;--shadow:0 24px 70px rgba(27,49,43,.13);
  --radius-xl:30px;--radius-lg:22px;--radius-md:16px;--radius-sm:12px;
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
[hidden]{display:none!important}
html{min-height:100%;scroll-behavior:smooth}
body{margin:0;min-height:100vh;background:var(--cream);color:#20352f;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;overflow-x:hidden}
button,input{font:inherit}
button{cursor:pointer}
a{color:inherit;text-decoration:none}
svg{width:1em;height:1em;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ambient{position:fixed;inset:auto;border-radius:50%;filter:blur(2px);pointer-events:none;z-index:0}
.ambient-a{width:520px;height:520px;left:-180px;top:-220px;background:radial-gradient(circle,rgba(198,138,67,.19),transparent 70%)}
.ambient-b{width:620px;height:620px;right:-260px;top:90px;background:radial-gradient(circle,rgba(23,60,53,.13),transparent 70%)}
.entry-page{position:relative;z-index:1;min-height:100dvh;display:flex;flex-direction:column;padding:0 clamp(22px,5vw,76px)}
.site-nav{width:min(1450px,100%);margin:0 auto;height:92px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(23,60,53,.08)}
.brand,.room-brand{display:flex;align-items:center;gap:12px}
.brand-mark{width:45px;height:45px;border-radius:15px;display:grid;place-items:center;background:var(--ink);color:#f3d39b;box-shadow:0 12px 30px rgba(23,60,53,.2);flex:0 0 auto}
.brand-mark svg{width:26px;height:26px}
.brand-mark svg path:first-child{fill:currentColor;stroke:none;opacity:.14}
.brand>span:last-child,.room-brand>div{display:flex;flex-direction:column;gap:2px}
.brand b,.room-brand b{font-size:18.2px;letter-spacing:3px;color:var(--ink)}
.brand small,.room-brand small{font-size:9.1px;letter-spacing:2.6px;color:#a08054;font-weight:800}
.nav-status{display:flex;align-items:center;gap:8px;color:#5f6d66;font-size:13.7px;font-weight:650;background:rgba(255,253,248,.68);border:1px solid rgba(23,60,53,.09);padding:9px 14px;border-radius:999px}
.nav-status i{width:7px;height:7px;border-radius:50%;background:#e0473c;box-shadow:0 0 0 5px rgba(224,71,60,.1);animation:livePulse 1.8s infinite}
.nav-status span{color:var(--ink);font-weight:900}
@keyframes livePulse{50%{box-shadow:0 0 0 9px rgba(224,71,60,0)}}
.entry-main{width:min(1450px,100%);margin:0 auto;flex:1;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(390px,.72fr);gap:clamp(44px,7vw,112px);align-items:center;padding:clamp(48px,7vh,92px) 0}
.entry-hero{max-width:830px}
.eyebrow{display:flex;align-items:center;gap:15px;color:#9b7748;font-size:11.4px;font-weight:900;letter-spacing:2.4px;text-transform:uppercase;margin-bottom:20px}
.eyebrow i{width:36px;height:1px;background:rgba(155,119,72,.45)}
.entry-hero h1{font-size:clamp(52px,6.5vw,100px);line-height:.98;letter-spacing:-5px;color:var(--ink);margin:0 0 24px;font-weight:900}
.entry-hero h1 em{font-style:normal;color:var(--gold-deep);position:relative}
.entry-hero h1 em:after{content:"";position:absolute;left:3px;right:2px;bottom:4px;height:8px;background:rgba(198,138,67,.19);border-radius:4px;z-index:-1}
.hero-copy{max-width:610px;color:#69726d;line-height:1.85;font-size:clamp(14px,1.2vw,17px);margin:0 0 31px}
.course-visual{width:min(100%,760px);height:clamp(250px,34vh,370px);position:relative;border-radius:var(--radius-xl);overflow:hidden;background:var(--ink);box-shadow:0 34px 90px rgba(20,50,43,.22);isolation:isolate}
.course-visual img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transform:scale(1.015)}
.visual-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,31,27,.93) 0%,rgba(8,31,27,.58) 50%,rgba(8,31,27,.16) 100%),linear-gradient(0deg,rgba(8,31,27,.8),transparent 60%)}
.visual-top{position:absolute;top:22px;left:24px;right:24px;display:flex;justify-content:space-between;align-items:center}
.live-pill{display:inline-flex;align-items:center;gap:7px;background:#e14b42;color:white;font-size:11.4px;font-weight:900;letter-spacing:1.4px;padding:7px 10px;border-radius:7px;box-shadow:0 6px 18px rgba(225,75,66,.28)}
.live-pill i{width:6px;height:6px;background:#fff;border-radius:50%;animation:livePulseWhite 1.7s infinite}
@keyframes livePulseWhite{50%{opacity:.45}}
.lesson-pill{background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.2);backdrop-filter:blur(10px);color:#fff7e8;font-size:11.4px;font-weight:750;padding:7px 11px;border-radius:999px}
.visual-bottom{position:absolute;left:clamp(24px,4vw,46px);right:34px;bottom:clamp(24px,4vw,42px);color:#fff}
.visual-kicker{font-size:11.4px;letter-spacing:2.2px;color:#edcb94;font-weight:800}
.visual-bottom h2{font-size:clamp(21px,2.2vw,33px);line-height:1.35;max-width:670px;margin:9px 0 16px;letter-spacing:-.8px}
.visual-meta{display:flex;gap:22px;color:rgba(255,255,255,.7);font-size:12.5px}
.visual-meta span{display:flex;align-items:center;gap:6px}.visual-meta svg{width:15px;height:15px}.visual-meta b{color:#fff;font-weight:750}
.hero-points{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin-top:27px;border-top:1px solid rgba(23,60,53,.09);padding-top:22px}
.hero-points>div{display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:9px;padding-right:16px}
.hero-points>div+div{border-left:1px solid rgba(23,60,53,.09);padding-left:20px}
.hero-points span{grid-row:1/3;color:#b18a59;font:800 10px ui-monospace,Consolas,monospace;padding-top:3px}
.hero-points b{font-size:14.8px;color:var(--ink)}
.hero-points small{font-size:11.4px;color:#95978f;margin-top:4px}
.join-card{position:relative;background:rgba(255,253,248,.94);border:1px solid rgba(23,60,53,.11);border-radius:32px;padding:clamp(26px,3vw,38px);box-shadow:var(--shadow);backdrop-filter:blur(16px)}
.join-card:before{content:"";position:absolute;inset:8px;border:1px solid rgba(198,138,67,.11);border-radius:25px;pointer-events:none}
.join-card-head{position:relative;margin-bottom:23px}
.join-icon{width:45px;height:45px;border-radius:14px;background:#efe4d1;color:var(--gold-deep);display:grid;place-items:center;margin-bottom:14px}
.join-icon svg{width:23px;height:23px}
.join-step{font-size:10.3px;letter-spacing:2px;color:#a27c4c;font-weight:900}
.join-card h2{font-size:clamp(25px,2.1vw,33px);margin:7px 0 8px;letter-spacing:-1px;color:var(--ink)}
.join-card-head p{font-size:12.5px;line-height:1.7;color:#8b8d87;margin:0;max-width:345px}
.join-form{position:relative}
.field{display:block;margin-bottom:14px}
.field>span{display:flex;justify-content:space-between;align-items:center;font-size:11.4px;font-weight:850;color:#40554e;margin:0 3px 7px}
.field>span i{font-style:normal;font-size:10.3px;color:#b4b1a9;font-weight:500}
.input-wrap{position:relative;display:flex;align-items:center}
.input-wrap svg{position:absolute;left:14px;width:17px;height:17px;color:#9b9e98;pointer-events:none}
.input-wrap input{width:100%;height:48px;border:1px solid rgba(23,60,53,.14);background:#fff;border-radius:13px;padding:0 14px 0 42px;outline:none;color:var(--ink);font-size:14.8px;transition:.2s ease;box-shadow:0 2px 8px rgba(35,51,45,.02)}
.input-wrap input::placeholder{color:#b8b8b2}
.input-wrap input:focus{border-color:var(--ink-soft);box-shadow:0 0 0 4px rgba(23,60,53,.07);background:#fffefa}
.demo-codes{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:-2px 0 17px}
.demo-codes>span{font-size:10.3px;color:#a5a49e;margin-right:2px}
.demo-codes button{border:1px solid rgba(23,60,53,.1);background:#f7f3eb;color:#65736d;border-radius:7px;padding:5px 8px;font-size:10.3px;transition:.18s}
.demo-codes button:hover{border-color:#be985f;color:var(--gold-deep);background:#fbf5e9}
.join-submit{width:100%;height:52px;border:0;border-radius:14px;background:var(--ink);color:#fff9ea;display:flex;align-items:center;justify-content:center;gap:10px;font-size:14.8px;font-weight:900;letter-spacing:.4px;box-shadow:0 14px 30px rgba(23,60,53,.18);transition:transform .2s,background .2s,box-shadow .2s}
.join-submit:hover{background:var(--ink-deep);transform:translateY(-1px);box-shadow:0 18px 36px rgba(23,60,53,.24)}
.join-submit:disabled{opacity:.65;cursor:wait;transform:none}
.join-submit svg{width:17px;height:17px}
.form-message{min-height:18px;color:var(--danger);font-size:11.4px;line-height:1.6;text-align:center;margin-top:7px}
.privacy-note{position:relative;display:flex; gap:8px;align-items:flex-start;border-top:1px solid rgba(23,60,53,.08);padding-top:14px;margin-top:2px;color:#9a9b95;font-size:10.3px;line-height:1.55}
.privacy-note svg{width:17px;height:17px;flex:0 0 auto;color:#82918a}
.console-link{display:flex;justify-content:center;align-items:center;gap:6px;margin-top:14px;font-size:10.3px;color:#aca99f;transition:color .2s}
.console-link:hover{color:var(--gold-deep)}.console-link span{font-size:12.5px}
.entry-footer{width:min(1450px,100%);margin:0 auto;border-top:1px solid rgba(23,60,53,.08);padding:17px 0 21px;display:flex;justify-content:space-between;gap:20px;color:#aaa9a2;font-size:10.3px;letter-spacing:.2px}

.room-page{position:relative;z-index:1;height:100dvh;min-height:680px;display:flex;flex-direction:column;background:linear-gradient(120deg,#f7f4ed,#efeae0)}
.room-header{height:76px;flex:0 0 auto;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:24px;padding:0 clamp(18px,3vw,42px);background:rgba(255,253,248,.93);border-bottom:1px solid rgba(23,60,53,.08);backdrop-filter:blur(18px);z-index:10}
.brand-mark.small{width:38px;height:38px;border-radius:12px}.brand-mark.small svg{width:22px;height:22px}
.room-brand b{font-size:16px}.room-brand small{font-size:8px}
.room-course-meta{display:flex;align-items:center;gap:12px;min-width:0;font-size:12.5px;color:#707973}
.room-course-meta b{color:var(--ink);font-size:13.7px;white-space:nowrap}.room-course-meta>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.live-state{display:inline-flex;align-items:center;gap:6px;background:#fcece9;color:#c74439;border-radius:999px;padding:6px 9px;font-size:10.3px;font-weight:900;white-space:nowrap}
.live-state i{width:6px;height:6px;border-radius:50%;background:#d54339;animation:livePulse 1.8s infinite}
.live-state.ended{background:#ececea;color:#777}.live-state.ended i{background:#8b8b87;animation:none}
.room-divider{width:1px;height:16px;background:rgba(23,60,53,.12)}
.room-actions{display:flex;align-items:center;gap:12px}
.room-clock{text-align:right;display:flex;flex-direction:column;gap:1px;padding-right:2px}.room-clock span{font-size:9.1px;color:#9c9c96}.room-clock b{font:800 12px ui-monospace,SFMono-Regular,Consolas,monospace;color:#41554e;letter-spacing:.7px}
.icon-action{width:35px;height:35px;border-radius:50%;border:1px solid rgba(23,60,53,.12);background:#fff;display:grid;place-items:center;color:#60706a;transition:.2s}.icon-action:hover{color:var(--ink);border-color:rgba(23,60,53,.25);transform:translateY(-1px)}.icon-action svg{width:16px;height:16px}
.my-teacher{display:flex;align-items:center;gap:8px;padding-left:10px;border-left:1px solid rgba(23,60,53,.1)}
.my-teacher>span{width:32px;height:32px;border-radius:50%;background:linear-gradient(135deg,#d5af77,#9f6d31);display:grid;place-items:center;color:white;font-size:12.5px;font-weight:850;box-shadow:inset 0 0 0 2px rgba(255,255,255,.35)}
.my-teacher div{display:flex;flex-direction:column;gap:1px}.my-teacher small{font-size:9.1px;color:#aaa69f}.my-teacher b{font-size:11.4px;color:var(--ink)}
.room-layout{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 382px;gap:18px;padding:18px clamp(18px,3vw,42px) 22px;max-width:1780px;width:100%;margin:0 auto}
.stage-column{min-width:0;min-height:0;display:flex;flex-direction:column;gap:14px;overflow:auto;padding-right:1px}
.stage-card{background:var(--paper);border:1px solid rgba(23,60,53,.1);border-radius:22px;overflow:hidden;box-shadow:0 18px 55px rgba(28,47,41,.11)}
.video-shell{position:relative;aspect-ratio:16/8.7;max-height:calc(100dvh - 245px);min-height:340px;overflow:hidden;background:#0b211d;isolation:isolate}
.stage-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:saturate(.86)}
.stage-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(6,28,24,.94),rgba(6,28,24,.54) 53%,rgba(6,28,24,.15)),linear-gradient(0deg,rgba(6,28,24,.85),transparent 40%)}
.stage-topbar{position:absolute;top:18px;left:20px;right:20px;display:flex;justify-content:space-between;align-items:center;z-index:3}
.viewer-pill{display:inline-flex;align-items:center;gap:5px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.15);backdrop-filter:blur(10px);color:rgba(255,255,255,.7);font-size:10.3px;border-radius:8px;padding:6px 9px}
.viewer-pill svg{width:14px;height:14px}.viewer-pill b{color:#fff;font-size:12.5px}
.stage-main-copy{position:absolute;z-index:2;left:clamp(32px,5vw,70px);top:50%;transform:translateY(-48%);color:#fff;max-width:620px}
.stage-main-copy>span{font-size:10.3px;letter-spacing:2.7px;color:#e4c28c;font-weight:850}
.stage-main-copy h1{font-size:clamp(32px,4vw,59px);line-height:1.12;letter-spacing:-2.6px;margin:13px 0 12px;text-shadow:0 10px 34px rgba(0,0,0,.2)}
.stage-main-copy p{font-size:13.7px;color:rgba(255,255,255,.63);margin:0 0 23px}
.stage-enter{display:flex;align-items:center;gap:12px;border:0;background:rgba(255,255,255,.11);backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.18);border-radius:14px;padding:9px 14px 9px 9px;color:#fff;text-align:left;transition:.22s}
.stage-enter:hover{background:rgba(255,255,255,.17);transform:translateY(-2px)}
.play-icon{width:38px;height:38px;border-radius:11px;background:#f7e7cb;color:var(--ink);display:grid;place-items:center}.play-icon svg{width:18px;height:18px;fill:currentColor;stroke:none}
.stage-enter>span:last-child{display:flex;flex-direction:column;gap:2px}.stage-enter b{font-size:11.4px}.stage-enter small{font-size:9.1px;color:rgba(255,255,255,.55)}
.stage-video{position:absolute;inset:0;z-index:4;background:#000;display:flex;align-items:center;justify-content:center}
.stage-video video{width:100%;height:100%;object-fit:contain;background:#000}
.stage-video iframe{width:100%;height:100%;border:0}
.stage-video-close{position:absolute;z-index:5;top:16px;right:16px;width:34px;height:34px;border-radius:50%;border:1px solid rgba(255,255,255,.25);background:rgba(0,0,0,.45);color:#fff;display:grid;place-items:center;backdrop-filter:blur(10px)}
.stage-video-close svg{width:16px;height:16px}
.stage-bottom-copy{position:absolute;left:clamp(24px,4vw,48px);right:24px;bottom:19px;display:flex;justify-content:space-between;align-items:flex-end;z-index:2;color:#fff}
.stage-bottom-copy div{display:flex;align-items:center;gap:8px}.stage-bottom-copy div span{font-size:9.1px;background:rgba(225,75,66,.9);padding:4px 7px;border-radius:4px;font-weight:850}.stage-bottom-copy b{font-size:12.5px}.stage-bottom-copy small{font-size:9.1px;color:rgba(255,255,255,.5)}
.stage-ended{position:absolute;inset:0;z-index:6;background:radial-gradient(circle at 50% 40%,rgba(27,75,63,.94),rgba(7,30,25,.98));display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#fff;padding:30px}
.stage-ended span{font-size:10.3px;letter-spacing:2px;color:#e5c28c}.stage-ended h2{font-size:36.5px;margin:10px 0}.stage-ended p{font-size:13.7px;color:rgba(255,255,255,.6)}
.stage-caption{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:14px 18px;background:#fffdf8}
.caption-left{display:flex;align-items:center;gap:12px;min-width:0}.lesson-chip{font-size:10.3px;background:#f2e7d4;color:#a06e31;border-radius:6px;padding:5px 7px;white-space:nowrap;font-weight:800}
.caption-left div{display:flex;flex-direction:column;gap:3px;min-width:0}.caption-left b{font-size:12.5px;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.caption-left small{font-size:9.1px;color:#a1a29c}
.caption-right{display:flex;align-items:center;gap:5px;color:#7d8c85;font-size:9.1px;white-space:nowrap}.status-dot{width:6px;height:6px;border-radius:50%;background:#38a277}.status-dot.offline{background:#d09955}
.study-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.study-card{display:flex;align-items:center;gap:11px;background:rgba(255,253,248,.82);border:1px solid rgba(23,60,53,.09);border-radius:15px;padding:13px;min-width:0}
.card-icon{width:34px;height:34px;flex:0 0 auto;display:grid;place-items:center;border-radius:10px;background:#eaf0ed;color:#54766c}.card-icon.gold{background:#f2e6d3;color:#ad7938}.card-icon svg{width:17px;height:17px}
.study-card>div:last-child{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:7px;min-width:0;align-items:center}
.study-card small{grid-row:1;grid-column:1;color:#a5a59f;font-size:9.1px}.study-card b{grid-row:2;grid-column:1;font-size:11.4px;color:var(--ink);white-space:nowrap}.study-card span{grid-row:1/3;grid-column:2;font-size:9.1px;color:#a0a29c;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.chat-panel{min-height:0;display:flex;flex-direction:column;background:rgba(255,253,248,.96);border:1px solid rgba(23,60,53,.1);border-radius:22px;overflow:hidden;box-shadow:0 18px 55px rgba(28,47,41,.1)}
.chat-head{height:56px;flex:0 0 auto;padding:0 16px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(23,60,53,.08);background:#fffdf9}
.chat-title{display:flex;align-items:baseline;gap:8px}.chat-title b{font-size:14.8px;color:var(--ink)}.chat-title span{font-size:9.1px;color:#aaa9a2}
.online-stack{display:flex;align-items:center;flex-direction:row-reverse;padding-left:6px}.avatar-mini{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:9.1px;font-weight:850;border:2px solid #fffdf9;margin-left:-6px;background:#7b968c;box-shadow:0 2px 5px rgba(0,0,0,.08)}.avatar-mini.more{background:#e8e4dc;color:#77766f;font-size:8px}
.pin-message{flex:0 0 auto;display:flex;gap:8px;align-items:flex-start;margin:10px 12px 0;background:#f7f0e3;border:1px solid #eddfc8;border-radius:10px;padding:8px 10px;color:#806a4e;font-size:9.1px;line-height:1.5}.pin-message svg{width:14px;height:14px;color:#aa7a3b;flex:0 0 auto;margin-top:1px}.pin-message span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.chat-tabs{height:43px;flex:0 0 auto;display:flex;align-items:stretch;gap:18px;padding:0 16px;border-bottom:1px solid rgba(23,60,53,.08)}
.chat-tabs button{position:relative;border:0;background:transparent;padding:0;color:#9b9c96;font-size:10.3px;font-weight:700}.chat-tabs button.active{color:var(--ink)}.chat-tabs button.active:after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--gold);border-radius:2px}.chat-tabs button span{display:inline-flex;min-width:15px;height:15px;padding:0 4px;border-radius:999px;background:#eeeae2;color:#8d8b84;font-size:8px;align-items:center;justify-content:center;margin-left:3px}
.chat-body{flex:1;min-height:0;position:relative}.tab-pane{display:none;height:100%;overflow:auto;padding:10px 14px}.tab-pane.active{display:block}.tab-pane::-webkit-scrollbar,.stage-column::-webkit-scrollbar{width:5px}.tab-pane::-webkit-scrollbar-thumb,.stage-column::-webkit-scrollbar-thumb{background:rgba(23,60,53,.12);border-radius:5px}
.message-list{display:flex;flex-direction:column;gap:11px;padding-bottom:8px}
.message{display:grid;grid-template-columns:28px minmax(0,1fr);gap:8px;animation:messageIn .25s ease-out}
@keyframes messageIn{from{opacity:0;transform:translateY(5px)}}
.message-avatar{width:28px;height:28px;border-radius:9px;display:grid;place-items:center;color:#fff;font-size:10.3px;font-weight:850;background:#78958a}.message-avatar.teacher{background:linear-gradient(135deg,#d3aa70,#9c682f)}.message-avatar.system{background:#e9e5dd;color:#7e7d77}
.message-content{min-width:0}.message-meta{display:flex;align-items:center;gap:5px;margin-bottom:4px}.message-meta b{font-size:10.3px;color:#52665e}.message-meta span{font-size:8px;color:#b1afa9}.message-meta i{font-style:normal;font-size:8px;color:#a7783a;background:#f4ead9;border-radius:4px;padding:2px 4px}.message-bubble{display:inline-block;max-width:100%;background:#f4f1ea;border-radius:3px 9px 9px 9px;padding:7px 9px;font-size:10.3px;line-height:1.6;color:#4d5b55;word-break:break-word}.message.teacher .message-bubble{background:#f4e8d5;color:#715834}.message.system .message-bubble{background:transparent;padding:2px 0;color:#a5a29a;font-size:9.1px;font-style:italic}
.notice-card,.help-card{background:#faf7f0;border:1px solid rgba(23,60,53,.08);border-radius:13px;padding:14px;margin-bottom:10px}.notice-card.soft{background:#eef2ee}.notice-label{font-size:8px;color:#a47334;font-weight:850;letter-spacing:1px}.notice-card h3{font-size:13.7px;margin:6px 0 8px;color:var(--ink)}.notice-card p{font-size:10.3px;line-height:1.75;color:#707872;margin:0}.notice-time{font-size:8px;color:#b1ada5;margin-top:11px}.notice-card ul{margin:7px 0 0;padding-left:15px;color:#6f7972;font-size:10.3px;line-height:2}.help-card b{font-size:12.5px;color:var(--ink)}.help-card p{font-size:10.3px;line-height:1.7;color:#7b7f79;margin:6px 0 0}.help-card strong{color:#9e6d30}
.quick-reactions{flex:0 0 auto;display:grid;grid-template-columns:repeat(4,1fr);gap:5px;padding:7px 11px 5px;border-top:1px solid rgba(23,60,53,.07)}.quick-reactions button{border:1px solid rgba(23,60,53,.08);background:#f8f5ee;border-radius:8px;padding:6px 3px;color:#7b817c;font-size:8px;display:flex;align-items:center;justify-content:center;gap:2px;transition:.18s}.quick-reactions button:hover{background:#f2e8d8;color:#8f652e;transform:translateY(-1px)}.quick-reactions button span{font-size:11.4px}
.chat-composer{flex:0 0 auto;display:flex;gap:7px;padding:5px 11px 7px}.composer-input{position:relative;flex:1}.composer-input input{width:100%;height:39px;border:1px solid rgba(23,60,53,.12);border-radius:10px;background:#fff;padding:0 42px 0 11px;font-size:10.3px;outline:none;color:var(--ink)}.composer-input input::placeholder{color:#b2b0aa}.composer-input input:focus{border-color:#7b968c;box-shadow:0 0 0 3px rgba(23,60,53,.05)}.composer-input span{position:absolute;right:8px;top:50%;transform:translateY(-50%);font-size:8px;color:#bdbab3}.chat-composer>button{width:39px;height:39px;border:0;border-radius:10px;background:var(--ink);color:#fff;display:grid;place-items:center}.chat-composer>button svg{width:16px;height:16px}.chat-composer>button:disabled{opacity:.45}.chat-foot{flex:0 0 auto;text-align:center;font-size:8px;color:#b5b2ab;padding:0 0 7px}
.reaction-layer{position:fixed;inset:0;pointer-events:none;z-index:50;overflow:hidden}.float-reaction{position:absolute;bottom:110px;right:min(22vw,360px);font-size:27.4px;animation:floatUp 2.2s ease-out forwards;filter:drop-shadow(0 4px 8px rgba(0,0,0,.15))}@keyframes floatUp{0%{opacity:0;transform:translateY(20px) scale(.6)}15%{opacity:1;transform:translateY(0) scale(1)}100%{opacity:0;transform:translate(50px,-260px) scale(1.15) rotate(12deg)}}
.toast{position:fixed;left:50%;bottom:34px;transform:translate(-50%,20px);background:rgba(13,41,36,.93);color:#fff9ec;border-radius:999px;padding:10px 17px;font-size:11.4px;box-shadow:0 12px 30px rgba(0,0,0,.2);opacity:0;pointer-events:none;transition:.25s;z-index:100}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:1180px){.room-layout{grid-template-columns:minmax(0,1fr) 340px}.video-shell{aspect-ratio:16/9}.stage-main-copy h1{font-size:clamp(30px,3.5vw,49px)}.study-card span{display:none}.study-card>div:last-child{grid-template-columns:1fr}.study-card b{grid-row:2;grid-column:1}}
@media(max-width:980px){.entry-main{grid-template-columns:1fr;gap:44px;padding:40px 0 55px}.entry-hero{max-width:none}.entry-hero h1{font-size:clamp(50px,9vw,78px)}.course-visual{width:100%;height:360px}.join-card{max-width:620px;width:100%;justify-self:center}.room-page{height:auto;min-height:100dvh}.room-layout{display:flex;flex-direction:column;padding-bottom:28px}.stage-column{overflow:visible}.chat-panel{height:650px}.room-course-meta>span:last-child{display:none}.room-header{gap:12px}.room-actions{gap:7px}.room-clock{display:none}.stage-video{position:fixed;inset:76px 0 0;z-index:80}.stage-video video{object-fit:contain}.stage-video-close{top:14px;right:14px}}
@media(max-width:700px){.entry-page{padding:0 16px}.site-nav{height:74px}.nav-status{font-size:10.3px;padding:7px 10px}.nav-status span{display:none}.brand b{font-size:16px}.brand small{font-size:8px}.brand-mark{width:39px;height:39px;border-radius:12px}.entry-main{padding-top:30px}.eyebrow{gap:9px;font-size:9.1px;letter-spacing:1.6px}.eyebrow i{width:20px}.entry-hero h1{font-size:53.6px;letter-spacing:-3.5px;margin-bottom:18px}.hero-copy{font-size:14.8px;line-height:1.75;margin-bottom:24px}.course-visual{height:290px;border-radius:22px}.visual-top{top:16px;left:16px;right:16px}.visual-bottom{left:20px;right:18px;bottom:21px}.visual-bottom h2{font-size:25.1px}.visual-meta{gap:12px}.hero-points{display:none}.join-card{padding:25px 20px;border-radius:24px}.join-card:before{inset:6px;border-radius:19px}.join-card h2{font-size:30.8px}.entry-footer{flex-direction:column;gap:5px;text-align:center;padding:14px 0 18px}.room-header{position:sticky;top:0;height:62px;padding:0 13px;grid-template-columns:auto minmax(0,1fr) auto}.room-brand b{font-size:13.7px;letter-spacing:2px}.room-brand small{display:none}.room-brand .brand-mark{width:34px;height:34px}.room-course-meta{gap:6px}.room-course-meta b{font-size:11.4px}.room-course-meta .room-divider{display:none}.room-course-meta>span:last-child{display:none}.my-teacher div{display:none}.my-teacher{padding-left:5px}.my-teacher>span{width:29px;height:29px}.room-actions .icon-action{width:31px;height:31px}.room-layout{padding:10px 10px 20px;gap:10px}.stage-card{border-radius:16px}.video-shell{aspect-ratio:4/3.6;min-height:315px;max-height:none}.stage-main-copy{left:24px;right:20px;top:48%;transform:translateY(-42%)}.stage-main-copy h1{font-size:35.3px;letter-spacing:-1.8px}.stage-main-copy p{font-size:11.4px}.stage-topbar{top:13px;left:13px;right:13px}.stage-bottom-copy{left:16px;right:16px;bottom:14px}.stage-bottom-copy small{display:none}.stage-caption{padding:11px 12px}.caption-right{display:none}.caption-left b{font-size:11.4px}.study-strip{grid-template-columns:1fr;gap:7px}.study-card{padding:10px 12px}.study-card span{display:block}.study-card>div:last-child{grid-template-columns:auto 1fr}.study-card b{font-size:11.4px}.chat-panel{height:620px;border-radius:16px}.quick-reactions{grid-template-columns:repeat(4,1fr)}.toast{bottom:18px}.stage-video{inset:62px 0 0}}
@media(max-width:380px){.entry-hero h1{font-size:47.9px}.course-visual{height:255px}.visual-bottom h2{font-size:21.7px}.join-card{padding:22px 16px}}
.broadcast-placeholder{position:absolute;inset:0;background:#0b211d;overflow:hidden}.broadcast-placeholder img{width:100%;height:100%;object-fit:cover;filter:saturate(.8)}.broadcast-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,24,20,.92),rgba(5,24,20,.42)),linear-gradient(0deg,rgba(5,24,20,.75),transparent 55%)}.broadcast-copy{position:absolute;left:clamp(26px,6vw,82px);top:50%;transform:translateY(-50%);color:#fff;max-width:620px}.broadcast-copy>span{font-size:10.3px;letter-spacing:3px;color:#e4c28c;font-weight:900}.broadcast-copy h2{font-size:clamp(29px,4.2vw,58px);letter-spacing:-2px;margin:13px 0 9px}.broadcast-copy p{font-size:12.5px;color:rgba(255,255,255,.55);margin:0 0 24px}.audio-waves{display:flex;align-items:center;gap:5px;height:28px}.audio-waves i{display:block;width:4px;border-radius:4px;background:#e4c28c;animation:wave 1.1s ease-in-out infinite alternate}.audio-waves i:nth-child(1){height:8px;animation-delay:-.1s}.audio-waves i:nth-child(2){height:18px;animation-delay:-.4s}.audio-waves i:nth-child(3){height:12px;animation-delay:-.2s}.audio-waves i:nth-child(4){height:26px;animation-delay:-.7s}.audio-waves i:nth-child(5){height:15px;animation-delay:-.3s}.audio-waves i:nth-child(6){height:22px;animation-delay:-.8s}.audio-waves i:nth-child(7){height:9px;animation-delay:-.5s}@keyframes wave{to{transform:scaleY(.35);opacity:.55}}
/* Readability pass for live-room copy and interaction panel. */
.chat-title b{font-size:16px}.chat-title span{font-size:10.3px}.chat-tabs button{font-size:12.5px}.chat-tabs button span{font-size:9.1px}.pin-message{font-size:10.3px}.message-meta b{font-size:11.4px}.message-meta span{font-size:9.1px}.message-meta i{font-size:9.1px}.message-bubble{font-size:12.5px;line-height:1.65;padding:8px 10px}.message.system .message-bubble{font-size:10.3px}.notice-card p,.notice-card ul,.help-card p{font-size:11.4px}.notice-card h3,.help-card b{font-size:13.7px}.quick-reactions button{font-size:9.1px}.composer-input input{font-size:11.4px}.chat-foot{font-size:9.1px}.stage-main-copy p{font-size:14.8px}.stage-enter b{font-size:12.5px}.stage-enter small{font-size:10.3px}.stage-bottom-copy b{font-size:13.7px}.stage-bottom-copy small{font-size:10.3px}.caption-left b{font-size:13.7px}.caption-left small,.caption-right{font-size:10.3px}.study-card small{font-size:10.3px}.study-card b{font-size:12.5px}.study-card span{font-size:10.3px}
.stage-waiting{position:absolute;inset:0;z-index:6;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#fff;padding:28px;background:radial-gradient(circle at 50% 42%,rgba(26,73,61,.9),rgba(6,28,24,.98))}.stage-waiting>span{font-size:10.3px;letter-spacing:2.4px;color:#e4c28c;font-weight:900}.stage-waiting h2{font-size:31.9px;margin:9px 0 5px}.stage-waiting strong{font:900 clamp(28px,4vw,48px) ui-monospace,Consolas,monospace;letter-spacing:2px;color:#f0d09c;margin:6px 0}.stage-waiting p{font-size:11.4px;color:rgba(255,255,255,.55);margin:3px 0 0}@media(max-width:700px){.stage-waiting h2{font-size:26.2px}.stage-waiting strong{font-size:36.5px}}
.form-message:empty{display:none}
.course-entry-btn{height:35px;border:1px solid rgba(23,60,53,.12);background:#fff;border-radius:999px;padding:0 11px;display:flex;align-items:center;gap:5px;color:#52675f;font-size:10.3px;font-weight:750}.course-entry-btn:hover{border-color:rgba(23,60,53,.25);color:var(--ink)}.course-entry-btn svg{width:14px;height:14px}.courses-backdrop{position:fixed;inset:0;z-index:110;background:rgba(5,24,20,.42);backdrop-filter:blur(5px)}.my-courses-modal{position:fixed;z-index:111;left:50%;top:50%;transform:translate(-50%,-50%);width:min(860px,calc(100vw - 28px));max-height:calc(100dvh - 30px);background:#fffdf9;border:1px solid rgba(23,60,53,.1);border-radius:20px;box-shadow:0 35px 100px rgba(5,24,20,.27);display:flex;flex-direction:column;overflow:hidden}.courses-head{height:72px;flex:0 0 auto;display:flex;justify-content:space-between;align-items:center;padding:0 21px;border-bottom:1px solid rgba(23,60,53,.08)}.courses-head span{font-size:6.8px;letter-spacing:1.8px;color:#aa7b40;font-weight:900}.courses-head h2{font-size:21.7px;margin:3px 0 0;color:var(--ink)}.courses-head>button{width:31px;height:31px;border-radius:50%;border:1px solid rgba(23,60,53,.1);background:#fff;color:#7c8983;font-size:22.8px}.courses-list-view{min-height:0;overflow:auto}.courses-list{padding:16px;display:grid;grid-template-columns:1fr 1fr;gap:12px}.course-replay-card{background:#faf7f1;border:1px solid rgba(23,60,53,.08);border-radius:13px;overflow:hidden;display:flex;flex-direction:column}.course-replay-cover{height:120px;background:#163b33;position:relative;overflow:hidden}.course-replay-cover img{width:100%;height:100%;object-fit:cover}.course-replay-cover:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,rgba(4,25,20,.68),transparent 65%)}.course-replay-cover span{position:absolute;z-index:2;left:10px;bottom:9px;font-size:8px;color:rgba(255,255,255,.72)}.course-replay-body{padding:12px;display:flex;flex-direction:column;gap:7px;flex:1}.course-replay-body h3{font-size:13.7px;line-height:1.5;color:var(--ink);margin:0}.course-replay-meta{display:flex;justify-content:space-between;gap:8px;color:#999b95;font-size:8px}.course-replay-body button{margin-top:auto;height:32px;border:0;border-radius:7px;background:var(--ink);color:#fff8e8;font-size:9.1px;font-weight:750}.courses-empty{grid-column:1/-1;padding:55px 20px;text-align:center;color:#9d9e98;font-size:11.4px}.courses-empty b{display:block;font-size:16px;color:#50655c;margin-bottom:7px}.replay-player-view{padding:15px;display:flex;flex-direction:column;min-height:0}.replay-player-head{display:flex;align-items:center;gap:13px;padding:0 0 12px}.replay-player-head button{border:0;background:transparent;color:#a3753b;font-size:10.3px;padding:0}.replay-player-head div{display:flex;flex-direction:column;gap:3px;min-width:0}.replay-player-head b{font-size:13.7px;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.replay-player-head small{font-size:8px;color:#a3a39c}.replay-video-wrap{background:#000;border-radius:12px;overflow:hidden;aspect-ratio:16/9;display:grid;place-items:center}.replay-video-wrap video{width:100%;height:100%;object-fit:contain;background:#000}@media(max-width:700px){.course-entry-btn span{display:none}.course-entry-btn{width:31px;height:31px;padding:0;justify-content:center}.courses-list{grid-template-columns:1fr;padding:11px}.my-courses-modal{top:auto;bottom:0;transform:translateX(-50%);width:100%;max-height:88dvh;border-radius:18px 18px 0 0}.replay-player-view{padding:10px}.course-replay-cover{height:140px}}
video::-internal-media-controls-download-button{display:none!important}video::-webkit-media-controls-enclosure{overflow:hidden}video{user-select:none;-webkit-user-select:none}
.enable-sound-btn{position:absolute;z-index:8;left:50%;bottom:54px;transform:translateX(-50%);height:38px;padding:0 14px;border:1px solid rgba(255,255,255,.22);border-radius:999px;background:rgba(7,31,26,.86);backdrop-filter:blur(12px);color:#fff7e7;display:flex;align-items:center;gap:7px;font-size:11.4px;font-weight:800;box-shadow:0 10px 30px rgba(0,0,0,.22)}.enable-sound-btn svg{width:17px;height:17px}.enable-sound-btn:hover{background:rgba(15,50,42,.95)}@media(max-width:700px){.enable-sound-btn{bottom:42px;height:34px;font-size:10.3px}}
.brand-mark img{width:100%;height:100%;object-fit:cover;border-radius:inherit;display:block}
/* Mobile live-room experience: full-screen vertical video with floating live chat. */
@media (max-width: 700px) {
  body { background: #000; overflow: hidden; }
  .room-page { height: 100dvh; min-height: 0; overflow: hidden; background: #000; }
  .room-header {
    position: absolute; inset: 0 0 auto 0; height: calc(64px + env(safe-area-inset-top));
    padding: env(safe-area-inset-top) 12px 0; z-index: 30;
    background: linear-gradient(180deg, rgba(0,0,0,.72), rgba(0,0,0,0));
    border: 0; backdrop-filter: none; grid-template-columns: auto minmax(0,1fr) auto;
  }
  .room-brand .brand-mark { width: 34px; height: 34px; background: rgba(255,255,255,.14); color: #fff; box-shadow: none; }
  .room-brand b { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.45); }
  .room-brand small { color: rgba(255,255,255,.56); }
  .room-course-meta { color: rgba(255,255,255,.64); }
  .room-course-meta b { color: #fff; }
  .live-state { background: rgba(215, 64, 54, .9); color: #fff; }
  .room-actions { gap: 6px; }
  .course-entry-btn, .icon-action { border-color: rgba(255,255,255,.18); background: rgba(0,0,0,.26); color: #fff; backdrop-filter: blur(10px); }
  .my-teacher { border-left-color: rgba(255,255,255,.16); }
  .my-teacher > span { box-shadow: inset 0 0 0 2px rgba(255,255,255,.3); }
  .room-layout { display: block; height: 100dvh; min-height: 0; padding: 0; max-width: none; }
  .stage-column { display: block; height: 100dvh; min-height: 0; overflow: hidden; padding: 0; }
  .stage-card { height: 100dvh; border: 0; border-radius: 0; box-shadow: none; background: #000; }
  .video-shell { height: 100dvh; min-height: 0; max-height: none; aspect-ratio: auto; border-radius: 0; background: #000; }
  .stage-cover { object-fit: cover; opacity: .78; }
  .stage-overlay { background: linear-gradient(180deg, rgba(0,0,0,.38), rgba(0,0,0,.08) 34%, rgba(0,0,0,.82)); }
  .stage-topbar { top: calc(74px + env(safe-area-inset-top)); left: 13px; right: 13px; }
  .stage-main-copy { top: 38%; transform: translateY(-50%); left: 20px; right: 74px; }
  .stage-main-copy h1 { font-size:35.3px; line-height: 1.16; letter-spacing: -1.5px; }
  .stage-main-copy p { font-size:12.5px; }
  .stage-enter { background: rgba(255,255,255,.15); }
  .stage-video video { object-fit: contain; background: #000; }
  .stage-video-close { top: calc(74px + env(safe-area-inset-top)); right: 12px; }
  .stage-caption, .study-strip, .stage-bottom-copy { display: none; }
  .chat-panel {
    position: fixed; left: 0; right: 0; bottom: 0; height: 45dvh; z-index: 20;
    display: flex; border: 0; border-radius: 0; box-shadow: none; pointer-events: none;
    background: linear-gradient(0deg, rgba(4,18,15,.95) 0%, rgba(4,18,15,.64) 48%, rgba(4,18,15,0) 100%);
  }
  .chat-head, .pin-message, .chat-tabs, .chat-foot { display: none; }
  .chat-body { position: absolute; inset: 0 0 68px; min-height: 0; background: transparent; pointer-events: none; }
  .tab-pane { height: 100%; padding: 6px 12px 0; background: transparent; overflow: hidden; }
  #chatPane { display: block !important; }
  #noticePane, #helpPane { display: none !important; }
  .message-list { min-height: 100%; justify-content: flex-end; gap: 4px; padding: 0; }
  .message { grid-template-columns: 24px minmax(0,1fr); gap: 6px; pointer-events: none; }
  .message:nth-last-child(n+7) { display: none; }
  .message-avatar { width: 24px; height: 24px; border-radius: 50%; opacity: .88; }
  .message-meta { margin-bottom: 1px; }
  .message-meta b { color: #fff; font-size:11.4px; text-shadow: 0 1px 5px rgba(0,0,0,.55); }
  .message-meta span { color: rgba(255,255,255,.46); font-size:8px; }
  .message-meta i { display: none; }
  .message-bubble { background: rgba(0,0,0,.28); backdrop-filter: blur(7px); color: #fff; border-radius: 12px; padding: 5px 9px; font-size:13.7px; line-height: 1.55; text-shadow: 0 1px 5px rgba(0,0,0,.45); }
  .message.system { display: none; }
  .chat-composer { position: absolute; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: flex; padding: 0; gap: 8px; pointer-events: auto; z-index: 2; }
  .composer-input input { height: 42px; border-radius: 999px; border-color: rgba(255,255,255,.2); background: rgba(0,0,0,.38); color: #fff; padding: 0 14px; font-size:12.5px; backdrop-filter: blur(12px); }
  .composer-input input::placeholder { color: rgba(255,255,255,.62); }
  .composer-input span { display: none; }
  .chat-composer > button { width: 42px; height: 42px; border-radius: 50%; background: #df574d; flex: 0 0 auto; }
  .quick-reactions { position: fixed; right: 10px; bottom: calc(72px + env(safe-area-inset-bottom)); z-index: 24; display: flex; flex-direction: column; gap: 9px; width: auto; padding: 0; border: 0; pointer-events: auto; }
  .quick-reactions button { width: 47px; height: 47px; padding: 3px; border-radius: 50%; border-color: rgba(255,255,255,.16); background: rgba(0,0,0,.3); color: #fff; backdrop-filter: blur(10px); display: flex; flex-direction: column; gap: 1px; font-size:8px; }
  .quick-reactions button span { font-size:20.5px; }
  .enable-sound-btn { position: fixed; z-index: 25; left: 50%; bottom: calc(45dvh + 14px); }
  .stage-waiting h2 { font-size:27.4px; }
  .stage-ended h2 { font-size:28.5px; }
}
/* Portrait: landscape course on top, discussion below. Landscape: course fullscreen. */
@media (max-width: 900px) and (orientation: portrait) {
  body { background: var(--cream); overflow: hidden; }
  .room-page { height: 100dvh; min-height: 0; display: flex; flex-direction: column; overflow: hidden; background: var(--cream); }
  .room-header {
    position: relative; inset: auto; height: 60px; min-height: 60px; flex: 0 0 60px; padding: 0 12px;
    grid-template-columns: auto minmax(0,1fr) auto; background: rgba(255,253,248,.97); border-bottom: 1px solid rgba(23,60,53,.08);
    backdrop-filter: blur(14px); color: var(--ink);
  }
  .room-brand .brand-mark { width: 34px; height: 34px; background: var(--ink); color: #f4d6a4; box-shadow: none; }
  .room-brand b { color: var(--ink); text-shadow: none; }
  .room-brand small { color: #a27d49; }
  .room-course-meta { color: #707973; }
  .room-course-meta b { color: var(--ink); }
  .course-entry-btn, .icon-action { background: #fff; border-color: rgba(23,60,53,.12); color: #586b63; }
  .room-layout { flex: 1 1 auto; min-height: 0; height: auto; display: flex; flex-direction: column; padding: 0; max-width: none; }
  .stage-column { flex: 0 0 auto; min-height: 0; height: auto; display: block; overflow: hidden; padding: 0; }
  .stage-card { height: auto; border: 0; border-radius: 0; box-shadow: none; background: #000; }
  .video-shell { height: auto; min-height: 0; max-height: 42dvh; aspect-ratio: 16 / 9; border-radius: 0; background: #000; }
  .stage-cover { object-fit: cover; opacity: .76; }
  .stage-overlay { background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.04) 45%, rgba(0,0,0,.72)); }
  .stage-topbar { top: 12px; left: 13px; right: 13px; }
  .stage-main-copy { top: 43%; transform: translateY(-50%); left: 20px; right: 70px; }
  .stage-main-copy h1 { font-size:28.5px; line-height: 1.14; letter-spacing: -1.2px; }
  .stage-main-copy p { font-size:10.3px; margin-bottom: 12px; }
  .stage-enter { padding: 7px 10px 7px 7px; }
  .stage-enter .play-icon { width: 32px; height: 32px; }
  .stage-video video { object-fit: contain; background: #000; }
  .stage-video-close { top: 12px; right: 12px; }
  .stage-caption, .study-strip, .stage-bottom-copy { display: none; }
  .chat-panel {
    position: relative; left: auto; right: auto; bottom: auto; flex: 1 1 auto; height: auto; min-height: 0; z-index: 10;
    display: flex; border: 0; border-top: 1px solid rgba(23,60,53,.08); border-radius: 0; box-shadow: none;
    background: #fffdf9; pointer-events: auto;
  }
  .chat-head { display: flex; height: 43px; min-height: 43px; background: #fffdf9; }
  .pin-message { display: flex; margin: 7px 12px 0; }
  .chat-tabs { display: flex; height: 38px; min-height: 38px; background: #fffdf9; }
  .chat-body { position: relative; inset: auto; flex: 1 1 auto; min-height: 0; background: #fffdf9; pointer-events: auto; }
  .tab-pane { height: 100%; overflow: auto; padding: 9px 13px; background: #fffdf9; }
  #chatPane.active { display: block !important; }
  #noticePane.active, #helpPane.active { display: block !important; }
  #chatPane:not(.active), #noticePane:not(.active), #helpPane:not(.active) { display: none !important; }
  .message-list { min-height: 0; justify-content: flex-start; gap: 9px; padding: 0; }
  .message:nth-last-child(n+7) { display: grid; }
  .message { grid-template-columns: 28px minmax(0,1fr); gap: 7px; pointer-events: auto; }
  .message-avatar { width: 28px; height: 28px; border-radius: 9px; opacity: 1; }
  .message-meta b { color: #52665e; font-size:10.3px; text-shadow: none; }
  .message-meta span { color: #b1afa9; font-size:8px; }
  .message-meta i { display: inline-block; }
  .message-bubble { background: #f4f1ea; color: #4d5b55; border-radius: 3px 9px 9px 9px; padding: 7px 9px; font-size:11.4px; line-height: 1.6; text-shadow: none; backdrop-filter: none; }
  .message.system { display: grid; }
  .message.system .message-bubble { background: transparent; color: #a5a29a; font-size:9.1px; }
  .quick-reactions { position: static; right: auto; bottom: auto; z-index: auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 5px; width: auto; padding: 7px 11px 4px; border-top: 1px solid rgba(23,60,53,.06); background: #fffdf9; pointer-events: auto; }
  .quick-reactions button { width: auto; height: 29px; border-radius: 7px; display: flex; flex-direction: row; gap: 2px; background: #f7f4ed; border-color: rgba(23,60,53,.08); color: #777f79; font-size:8px; backdrop-filter: none; }
  .quick-reactions button span { font-size:12.5px; }
  .chat-composer { position: relative; left: auto; right: auto; bottom: auto; display: flex; padding: 4px 11px 6px; gap: 7px; background: #fffdf9; pointer-events: auto; z-index: 2; }
  .composer-input input { height: 38px; border-radius: 10px; border-color: rgba(23,60,53,.12); background: #fff; color: var(--ink); backdrop-filter: none; font-size:11.4px; }
  .composer-input input::placeholder { color: #b2b0aa; }
  .composer-input span { display: block; }
  .chat-composer > button { width: 38px; height: 38px; border-radius: 10px; background: var(--ink); }
  .chat-foot { display: block; }
  .enable-sound-btn { position: absolute; z-index: 25; left: 50%; bottom: 43px; }
}
@media (max-width: 1000px) and (orientation: landscape) {
  body { background: #000; overflow: hidden; }
  .room-page { height: 100dvh; min-height: 0; overflow: hidden; background: #000; }
  .room-header { position: absolute; inset: 0 0 auto 0; height: 54px; padding: 0 13px; z-index: 30; background: linear-gradient(180deg, rgba(0,0,0,.72), transparent); border: 0; backdrop-filter: none; }
  .room-brand .brand-mark { width: 32px; height: 32px; background: rgba(255,255,255,.14); color: #fff; box-shadow: none; }
  .room-brand b, .room-course-meta b { color: #fff; text-shadow: 0 1px 7px rgba(0,0,0,.5); }
  .room-brand small, .room-course-meta { color: rgba(255,255,255,.55); }
  .course-entry-btn, .icon-action { background: rgba(0,0,0,.25); border-color: rgba(255,255,255,.18); color: #fff; }
  .room-layout { display: block; height: 100dvh; min-height: 0; padding: 0; max-width: none; }
  .stage-column { height: 100dvh; display: block; overflow: hidden; padding: 0; }
  .stage-card { height: 100dvh; border: 0; border-radius: 0; box-shadow: none; background: #000; }
  .video-shell { height: 100dvh; min-height: 0; max-height: none; aspect-ratio: auto; border-radius: 0; background: #000; }
  .stage-video video { object-fit: contain; background: #000; }
  .stage-main-copy { left: 36px; top: 45%; transform: translateY(-50%); right: 80px; }
  .stage-main-copy h1 { font-size:38.8px; }
  .stage-topbar { top: 62px; left: 14px; right: 14px; }
  .stage-video-close { top: 62px; right: 14px; }
  .stage-caption, .study-strip, .stage-bottom-copy, .chat-panel { display: none !important; }
  .enable-sound-btn { position: fixed; z-index: 25; left: 50%; bottom: 18px; }
}
.entry-main-simple{display:flex;align-items:center;justify-content:center;max-width:1100px}.entry-main-simple .entry-login-card{width:min(470px,100%);max-width:470px;margin:0 auto}.entry-live-summary{display:flex;align-items:center;gap:11px;padding:11px 12px;margin-bottom:22px;border:1px solid rgba(23,60,53,.08);background:#f7f3eb;border-radius:12px}.entry-live-summary>div{display:flex;flex-direction:column;gap:3px;min-width:0}.entry-live-summary small{font-size:9.1px;color:#9c9a93}.entry-live-summary b{font-size:14.8px;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.entry-live-summary .live-pill{flex:0 0 auto}.entry-login-card .join-card-head{margin-bottom:20px}.entry-login-card .join-card-head p{max-width:none}@media(max-width:700px){.entry-page{padding:0 14px}.entry-main-simple{padding:26px 0 30px;align-items:center}.entry-main-simple .entry-login-card{max-width:480px}.entry-footer{padding-top:10px}.entry-live-summary{margin-bottom:18px}.entry-live-summary b{font-size:13.7px}}
.video-loading{position:absolute;z-index:5;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;background:rgba(3,18,15,.48);color:#fff;pointer-events:none}.video-loading span{width:24px;height:24px;border:2px solid rgba(255,255,255,.25);border-top-color:#f0d09c;border-radius:50%;animation:videoSpin .8s linear infinite}.video-loading b{font-size:11.4px;font-weight:600;color:rgba(255,255,255,.78)}@keyframes videoSpin{to{transform:rotate(360deg)}}

.video-loading{background:#0b211d!important;overflow:hidden}.video-loading-cover,.video-loading-shade{position:absolute;inset:0;width:100%;height:100%}.video-loading-cover{object-fit:cover}.video-loading-shade{background:linear-gradient(180deg,rgba(4,20,17,.25),rgba(4,20,17,.55))}.video-loading-copy{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;gap:9px;color:#fff}.video-loading-copy span{width:24px;height:24px;border:2px solid rgba(255,255,255,.25);border-top-color:#f0d09c;border-radius:50%;animation:videoSpin .8s linear infinite}.video-loading-copy b{font-size:11.4px;font-weight:600;color:rgba(255,255,255,.82)}

/* Locked live-room viewport: stable 16:9 stage and non-zooming discussion area. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
html.room-active,html.room-active body{width:100%;height:100%;overflow:hidden!important;overscroll-behavior:none}
body{overscroll-behavior:none}
.room-page{overscroll-behavior:none;touch-action:pan-y}
.chat-panel,.chat-body,.tab-pane,.message-list{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y}
.chat-composer input,.composer-input input{-webkit-user-select:text;user-select:text;touch-action:manipulation}
.stage-fullscreen-btn{position:absolute;z-index:9;top:14px;right:14px;height:32px;padding:0 10px;border:1px solid rgba(255,255,255,.24);border-radius:9px;background:rgba(4,18,15,.64);backdrop-filter:blur(12px);color:#fff;display:flex;align-items:center;gap:5px;font-size:10.3px;font-weight:750;box-shadow:0 7px 20px rgba(0,0,0,.2)}
.stage-fullscreen-btn svg{width:15px;height:15px}.stage-fullscreen-btn:hover{background:rgba(4,18,15,.86)}
.stage-video{background:transparent}.stage-video video{background:transparent}
.stage-video-close{display:none!important}
.video-shell:fullscreen,.video-shell:-webkit-full-screen{width:100vw!important;height:100vh!important;max-height:none!important;aspect-ratio:auto!important;border-radius:0!important;background:#000!important}
.video-shell:fullscreen::backdrop{background:#000}
.video-shell:fullscreen .stage-video,.video-shell:-webkit-full-screen .stage-video{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;z-index:4!important}
.video-shell:fullscreen .stage-video video,.video-shell:-webkit-full-screen .stage-video video{width:100%!important;height:100%!important;object-fit:contain!important}
.video-shell:fullscreen .stage-fullscreen-btn,.video-shell:-webkit-full-screen .stage-fullscreen-btn{top:calc(14px + env(safe-area-inset-top));right:calc(14px + env(safe-area-inset-right))}
@media(max-width:980px){
  .stage-video{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;z-index:4!important;overflow:hidden!important}
  .stage-video video{width:100%!important;height:100%!important;object-fit:contain!important}
  .stage-topbar{right:66px}
}
@media(max-width:900px) and (orientation:portrait){
  .video-shell{width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:16/9!important;flex:0 0 auto}
  .stage-fullscreen-btn{top:10px;right:10px;height:29px;padding:0 8px;font-size:9.1px}
  .stage-fullscreen-btn svg{width:14px;height:14px}
  .stage-topbar{right:59px}
  .chat-panel{min-height:0;overflow:hidden;touch-action:pan-y}
  .chat-body{overflow:hidden}
  .tab-pane{overflow-y:auto;overflow-x:hidden}
}
@media(max-width:1000px) and (orientation:landscape){
  .stage-video{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;z-index:4!important;overflow:hidden!important}
  .stage-video video{width:100%!important;height:100%!important;object-fit:contain!important}
  .stage-fullscreen-btn{top:calc(14px + env(safe-area-inset-top));right:calc(14px + env(safe-area-inset-right))}
}
.video-buffering{position:absolute;z-index:7;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;gap:7px;padding:7px 11px;border-radius:999px;background:rgba(4,18,15,.72);backdrop-filter:blur(10px);color:#fff;font-size:10.3px;pointer-events:none}.video-buffering[hidden]{display:none!important}.video-buffering i{width:12px;height:12px;border:2px solid rgba(255,255,255,.25);border-top-color:#f0d09c;border-radius:50%;animation:videoSpin .8s linear infinite}

/* Mobile course entry and full-screen replay */
.stage-topbar-actions{display:flex;align-items:center;gap:8px}.stage-courses-btn{display:none;height:31px;padding:0 11px;border:1px solid rgba(255,255,255,.24);border-radius:9px;background:linear-gradient(135deg,#e1a74f,#bd7a27);color:#fffaf0;align-items:center;gap:6px;font-size:10.3px;font-weight:850;box-shadow:0 7px 18px rgba(0,0,0,.24)}.stage-courses-btn svg{width:14px;height:14px}.stage-courses-btn:active{transform:scale(.97)}@media(max-width:1000px){.stage-courses-btn{display:flex}.stage-topbar{z-index:9}.room-actions .course-entry-btn{display:none!important}}
@media(max-width:700px){.my-courses-modal.replay-mode{top:0;bottom:0;height:100dvh;max-height:none;border-radius:0;background:#000;transform:translateX(-50%)}.my-courses-modal.replay-mode .courses-head{display:none}.my-courses-modal.replay-mode .replay-player-view{height:100dvh;padding:0;background:#000}.my-courses-modal.replay-mode .replay-player-head{position:absolute;z-index:8;top:0;left:0;right:0;min-height:58px;padding:calc(12px + env(safe-area-inset-top)) 14px 10px;background:linear-gradient(180deg,rgba(0,0,0,.78),transparent);color:#fff}.my-courses-modal.replay-mode .replay-player-head button{color:#f2cd95;font-size:11.4px}.my-courses-modal.replay-mode .replay-player-head b{color:#fff}.my-courses-modal.replay-mode .replay-player-head small{color:rgba(255,255,255,.6)}.my-courses-modal.replay-mode .replay-video-wrap{width:100%;height:100dvh;aspect-ratio:auto;border-radius:0;background:#000}.my-courses-modal.replay-mode .replay-video-wrap video{width:100%;height:100%;object-fit:contain}}
.my-courses-modal:fullscreen{left:0;top:0;transform:none;width:100vw;height:100dvh;max-height:none;border-radius:0;background:#000}.my-courses-modal:fullscreen .courses-head{display:none}.my-courses-modal:fullscreen .replay-player-view{height:100dvh;padding:0;background:#000}.my-courses-modal:fullscreen .replay-player-head{position:absolute;z-index:8;top:0;left:0;right:0;min-height:58px;padding:14px 16px 10px;background:linear-gradient(180deg,rgba(0,0,0,.78),transparent);color:#fff}.my-courses-modal:fullscreen .replay-player-head button{color:#f2cd95}.my-courses-modal:fullscreen .replay-player-head b{color:#fff}.my-courses-modal:fullscreen .replay-player-head small{color:rgba(255,255,255,.6)}.my-courses-modal:fullscreen .replay-video-wrap{width:100%;height:100dvh;aspect-ratio:auto;border-radius:0;background:#000}.my-courses-modal:fullscreen .replay-video-wrap video{width:100%;height:100%;object-fit:contain}

.course-replay-desc{font-size:9.1px;line-height:1.55;color:#858b85;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.course-progress-line{display:flex;align-items:center;gap:7px;font-size:8px;color:#9a713e}.course-progress-line i{flex:1;height:4px;border-radius:999px;background:#ece8df;overflow:hidden}.course-progress-line b{display:block;height:100%;background:linear-gradient(90deg,#d8a45b,#b77a2d);border-radius:999px}
/* FONT SCALE 1.14 APPLIED */

#stageVideo video::-webkit-media-controls,#stageVideo video::-webkit-media-controls-enclosure,#stageVideo video::-webkit-media-controls-panel{display:none!important;appearance:none!important}

.video-shell.web-faux-fullscreen{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;z-index:9999!important;border-radius:0!important;background:#000!important}html.audience-faux-fullscreen,html.audience-faux-fullscreen body{overflow:hidden!important}html.audience-faux-fullscreen .chat-panel{display:none!important}
.video-shell.web-faux-fullscreen .stage-video,.video-shell:fullscreen .stage-video,.video-shell:-webkit-full-screen .stage-video{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;z-index:4!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#000!important;transform:none!important}
.video-shell.web-faux-fullscreen .stage-video video,.video-shell:fullscreen .stage-video video,.video-shell:-webkit-full-screen .stage-video video{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:contain!important;object-position:center center!important;background:#000!important;transform:none!important}#stageVideo video{pointer-events:none!important}

.live-danmaku{position:absolute;z-index:9;left:max(14px,env(safe-area-inset-left));bottom:max(86px,calc(64px + env(safe-area-inset-bottom)));width:min(46vw,330px);max-height:210px;pointer-events:none;overflow:hidden;display:none;flex-direction:column;justify-content:flex-end;gap:6px}.video-shell:fullscreen .live-danmaku,.video-shell:-webkit-full-screen .live-danmaku,.video-shell.web-faux-fullscreen .live-danmaku{display:flex}.video-shell.danmaku-hidden .live-danmaku{display:none!important}.danmaku-item{position:relative;right:auto;align-self:flex-start;max-width:100%;display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:10px;background:rgba(5,20,17,.72);border:1px solid rgba(255,255,255,.16);backdrop-filter:blur(8px);color:#fff;font-size:11px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-shadow:0 1px 2px rgba(0,0,0,.35);animation:danmakuIn .22s ease both}.danmaku-item>b{flex:0 0 auto}.danmaku-item>span{min-width:0;overflow:hidden;text-overflow:ellipsis}.danmaku-item b{color:#f2d69c;font-size:8px}.danmaku-item.teacher{border-color:rgba(240,208,156,.55);background:rgba(71,50,22,.78)}@keyframes danmakuIn{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@media(max-width:600px){.live-danmaku{left:max(10px,env(safe-area-inset-left));bottom:max(72px,calc(54px + env(safe-area-inset-bottom)));width:min(76vw,300px);max-height:150px;gap:5px}.danmaku-item{font-size:10px;padding:5px 8px}.danmaku-item b{font-size:7px}}
.stage-quality-btn{height:31px;padding:0 10px;border:1px solid rgba(255,255,255,.22);border-radius:999px;background:rgba(5,22,18,.55);backdrop-filter:blur(10px);color:#fff;font-size:10px;font-weight:700}.stage-quality-btn[hidden]{display:none!important}.video-loading-copy,.video-buffering{display:none!important}

.video-shell:fullscreen .stage-main-copy,.video-shell:fullscreen .stage-bottom-copy,.video-shell:fullscreen .stage-topbar .live-pill,.video-shell:fullscreen .stage-topbar .viewer-pill,.video-shell:fullscreen .stage-topbar .stage-courses-btn,.video-shell.web-faux-fullscreen .stage-main-copy,.video-shell.web-faux-fullscreen .stage-bottom-copy,.video-shell.web-faux-fullscreen .stage-topbar .live-pill,.video-shell.web-faux-fullscreen .stage-topbar .viewer-pill,.video-shell.web-faux-fullscreen .stage-topbar .stage-courses-btn{display:none!important}
.stage-danmaku-toggle{position:absolute;z-index:10;top:54px;right:14px;height:30px;padding:0 10px;border:1px solid rgba(255,255,255,.24);border-radius:9px;background:rgba(4,18,15,.68);backdrop-filter:blur(12px);color:#fff;font-size:9.5px;font-weight:750;box-shadow:0 7px 20px rgba(0,0,0,.2)}.stage-danmaku-toggle[hidden]{display:none!important}.stage-danmaku-toggle:hover{background:rgba(4,18,15,.9)}@media(max-width:900px){.stage-danmaku-toggle{top:calc(48px + env(safe-area-inset-top));right:calc(10px + env(safe-area-inset-right));height:29px;padding:0 8px;font-size:8.5px}}

html.session-checking .entry-page,html.session-checking .room-page{visibility:hidden!important}.session-checking-note{display:none}html.session-checking .session-checking-note{display:flex;position:fixed;inset:0;z-index:999;align-items:center;justify-content:center;background:#0b211d;color:#f4ead9;font-size:14px;font-weight:700;letter-spacing:1px}
.course-series-card{grid-column:1/-1}.series-replay-lessons{display:flex;flex-direction:column;gap:6px}.series-replay-lesson{display:grid;grid-template-columns:26px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:42px;margin:0!important;padding:7px 9px!important;border:1px solid rgba(23,60,53,.09)!important;border-radius:9px!important;background:#fff!important;color:var(--ink)!important;text-align:left}.series-replay-lesson .series-lesson-no{width:23px;height:23px;border-radius:7px;background:#efe6d7;color:#966a31;display:grid;place-items:center;font-size:8px;font-weight:850}.series-lesson-copy{display:flex;flex-direction:column;gap:2px;min-width:0}.series-lesson-copy b{font-size:9.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.series-lesson-copy small{font-size:7px;color:#949990}.series-replay-lesson>i{font-style:normal;font-size:8px;color:#a17338;font-weight:800}@media(max-width:700px){.course-series-card{grid-column:auto}}
