/* V3 课堂导航和投影屏适配。 */
:root { color-scheme: dark; }
[hidden] { display: none !important; }
button:disabled { opacity: .4; cursor: default; }
.step-dots button { width: 18px; height: 15px; padding: 5px 0; border: 0; border-radius: 0; background: transparent; position: relative; }
.step-dots button::after { content: ''; display: block; height: 3px; width: 100%; background: rgba(255,255,255,.25); border-radius: 2px; }
.step-dots button.on::after { background: var(--gold); }
.step-dots button.done::after { background: rgba(220,183,114,.6); }
.step-dots button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.path .node span { white-space: nowrap; font-size: 11px; }
body.iv3-active #stationTitle, body.iv3-active #caption, body.iv3-active #fg, body.iv3-active #kneel { opacity: 0 !important; pointer-events: none; }
body.iv3-active .brand { opacity: 0; pointer-events: none; }
.panel { overscroll-behavior: contain; scrollbar-color: #867b60 transparent; scrollbar-width: thin; }
.panel.wide, .panel.wide:has(.lv3) { max-height: calc(100vh - var(--u) * 4.4 - 85px); }
.panel h2 { text-wrap: pretty; }
body.panel-on .station-title { opacity: 0; }
body.panel-on .brand-sub { opacity: .7; }
.gw-field option { background: #142024; color: #f3ede2; }
@media (max-width: 1280px) {
 .dock { grid-template-columns: minmax(130px,.7fr) minmax(0,2.1fr) auto; gap: 8px; }
 .where b { font-size: 13px; }
 .where span { font-size: 9px; }
 .node span { font-size: 10px; }
 .dock-right { gap: 5px; }
 .dbtn { min-width: 31px; }
 .panel.wide, .panel.wide:has(.lv3) { top: 65px; max-height: calc(100vh - 145px); }
}
@media (max-width: 860px) { .dock { grid-template-columns: 1fr auto; } #path { display: none; } }
/* V4 人物在左，题名在右；独立封面先于WebGL脚本显示。 */
body #start.start {background-image:linear-gradient(90deg,rgba(4,13,17,.05) 30%,rgba(4,13,17,.35) 55%,rgba(4,13,17,.78) 100%),var(--cover,url('assets/v4/images/character.png'));background-size:cover;background-position:center;}
body #start .start-inner {margin-left:auto;width:43vw;max-width:660px;}
body.fv4-active #stationTitle, body.fv4-active #caption, body.panel-on #stationTitle {opacity:0 !important;transition:none;}
