.live-header-status strong { color: var(--green); }
.live-room-page { padding-bottom: 80px; }
.live-room-card { border: 1px solid rgba(var(--accent-rgb),.16); border-radius: 17px; background: var(--surface); box-shadow: var(--shadow),0 0 70px rgba(var(--accent-rgb),.035); overflow: hidden; }
.live-room-stage { width: 100%; position: relative; isolation: isolate; aspect-ratio: 16/8.4; overflow: hidden; background: #111; }
.live-room-stage > img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; filter: saturate(.82) contrast(1.05); }
.live-room-shade { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(0,0,0,.9),rgba(var(--theme-secondary-rgb),.08) 62%,rgba(0,0,0,.5)),linear-gradient(0deg,rgba(0,0,0,.9),transparent 45%); }
.live-room-badge { position: absolute; right: 24px; top: 22px; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid rgba(255,255,255,.18); border-radius: 9px; background: rgba(0,0,0,.5); backdrop-filter: blur(8px); font-size: 10px; font-weight: 800; }
.live-room-badge span { width: 8px; height: 8px; border-radius: 50%; background: #4df08c; box-shadow: 0 0 14px rgba(77,240,140,.8); }
.live-room-badge.professor span { background: var(--gold); box-shadow: 0 0 14px rgba(var(--accent-rgb),.8); }
.live-room-copy { position: absolute; left: 38px; bottom: 48px; width: min(620px,62%); }
.live-room-copy h1 { margin: 9px 0 9px; font-size: clamp(28px,3.4vw,48px); line-height: 1.05; letter-spacing: -.04em; }
.live-room-copy p { margin: 0; color: #d2d2cc; font-size: 13px; line-height: 1.6; }
.block-timer { width: min(330px,100%); margin-top: 18px; padding: 14px 16px; border: 1px solid rgba(245,185,66,.28); border-radius: 12px; background: rgba(0,0,0,.5); backdrop-filter: blur(8px); }
.block-timer span { display: block; color: var(--gold); font-size: 8px; font-weight: 800; letter-spacing: .16em; }
.block-timer strong { display: block; margin: 4px 0 4px; font: 800 38px/1 Manrope, sans-serif; letter-spacing: 0; }
.block-timer small { display: block; color: #d2d2cc; font-size: 10px; line-height: 1.45; }
.block-timer.interval { border-color: rgba(85,174,240,.35); }
.block-timer.interval span { color: #55aef0; }
.block-timer.done { border-color: rgba(77,240,140,.3); }
.block-timer.done span { color: var(--green); }
.professor-timer { border-color: rgba(77,240,140,.24); }
.professor-timer span { color: var(--green); }
.live-room-play { position: absolute; right: 38px; bottom: 48px; min-height: 54px; padding: 0 22px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--gold); border-radius: 10px; color: var(--accent-ink); background: var(--gold); font-size: 12px; font-weight: 800; cursor: pointer; box-shadow: 0 12px 35px rgba(0,0,0,.35),0 0 35px rgba(var(--accent-rgb),.15); }
.live-room-play:hover { filter: brightness(1.06); transform: translateY(-1px); }
.live-room-play.disabled, .disabled-link { opacity: .52; pointer-events: none; filter: saturate(.6); }
.live-room-play.disabled:hover { transform: none; filter: saturate(.6); }
.call-frame { position: absolute; inset: 0; z-index: 8; background: #080a09; }
.call-frame iframe { width: 100%; height: 100%; border: 0; background: #080a09; }
.zoom-sdk-root { width: 100%; height: 100%; min-height: 520px; background: #080a09; }
.zoom-sdk-root > div { width: 100% !important; height: 100% !important; }
.live-room-stage.has-live-call { aspect-ratio: 16/9; min-height: 560px; }
.live-room-stage.has-live-call > img,
.live-room-stage.has-live-call .live-room-shade,
.live-room-stage.has-live-call .live-room-badge,
.live-room-stage.has-live-call .live-room-copy,
.live-room-stage.has-live-call .live-room-play { display: none; }
.live-room-toolbar { min-height: 102px; padding: 22px 27px; display: flex; align-items: center; gap: 20px; }
.live-room-toolbar h2 { margin: 5px 0 4px; font-size: 18px; }
.live-room-toolbar p { margin: 0; color: var(--muted); font-size: 10px; }
.live-room-toolbar p i { margin: 0 7px; }
.live-room-back { text-decoration: none; }
.teacher-actions { flex-wrap: wrap; justify-content: flex-end; }
.teacher-actions .complete-button { text-decoration: none; }
.host-button { border-color: rgba(var(--accent-rgb),.42); color: var(--accent-ink); background: var(--gold); }
.host-button span { border-color: rgba(0,0,0,.18); color: var(--accent-ink); background: rgba(255,255,255,.18); }
.live-room-details { margin-top: 22px; display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 16px; }
.live-room-details article, .live-room-note { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.live-room-details article { min-height: 130px; padding: 20px; }
.live-room-details strong { display: block; margin: 7px 0 7px; font: 800 20px Manrope, sans-serif; }
.live-room-details p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.live-room-note { margin-top: 16px; padding: 22px; display: flex; gap: 16px; align-items: flex-start; }
.live-room-note .material-icon { flex: 0 0 auto; margin: 0; }
.live-room-note h2 { margin: 7px 0 6px; font-size: 18px; }
.live-room-note p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.teacher-date-panel { grid-template-columns: 1.2fr 1.1fr 1fr 1fr; }
.teacher-date-options { margin-top: 12px; display: grid; gap: 9px; }
.teacher-date-options .date-option { width: 100%; min-height: 58px; padding: 11px 13px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border: 1px solid var(--line); border-radius: 9px; color: inherit; background: var(--surface-2); text-align: left; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.teacher-date-options .date-option:hover { border-color: rgba(var(--accent-rgb),.32); transform: translateY(-1px); }
.teacher-date-options .date-option.active { border-color: var(--gold); background: rgba(var(--accent-rgb),.1); box-shadow: 0 0 0 3px rgba(var(--accent-rgb),.06); }
.teacher-date-options .date-option strong { font-size: 12px; }
.teacher-date-options .date-option span { color: var(--muted); font-size: 10px; white-space: nowrap; }
.zoom-link-card { display: grid; gap: 10px; }
.zoom-link-card label { display: grid; gap: 6px; color: #ddd9cf; font-size: 10px; font-weight: 800; }
.zoom-link-card input { width: 100%; height: 38px; border: 1px solid var(--line); border-radius: 8px; outline: 0; padding: 0 10px; color: var(--text); background: #0b0f0d; font: 11px "DM Sans", sans-serif; }
.zoom-link-card input:focus { border-color: rgba(var(--accent-rgb),.55); box-shadow: 0 0 0 3px rgba(var(--accent-rgb),.08); }
.zoom-link-card .complete-button { width: 100%; justify-content: center; }
.zoom-connect-button { text-decoration: none; border-color: rgba(77,240,140,.32); color: var(--text); background: rgba(77,240,140,.08); }
.zoom-connect-button span { border-color: rgba(77,240,140,.22); color: var(--green); background: rgba(77,240,140,.08); }
.zoom-oauth-status { margin: -2px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.zoom-oauth-status.connected { color: var(--green); }

@media(max-width:900px){
  .live-room-details, .teacher-date-panel { grid-template-columns: 1fr; }
  .live-room-play { right: 28px; }
}
@media(max-width:620px){
  .live-room-card { border-inline: 0; border-radius: 0; box-shadow: none; }
  .live-room-stage { aspect-ratio: 4/5; min-height: 510px; }
  .live-room-badge { right: 14px; top: 14px; }
  .live-room-copy { left: 20px; right: 20px; bottom: 128px; width: auto; }
  .live-room-copy h1 { font-size: 30px; }
  .block-timer strong { font-size: 32px; }
  .live-room-play { left: 20px; right: 20px; bottom: 38px; justify-content: center; }
  .live-room-toolbar { padding: 18px 16px; align-items: flex-start; flex-direction: column; }
  .live-room-toolbar .toolbar-actions { width: 100%; margin: 0; }
  .live-room-back, .teacher-actions .complete-button { width: 100%; justify-content: center; }
  .live-room-details, .live-room-note { width: auto; margin-inline: 16px; }
  .live-room-note { flex-direction: column; }
  .teacher-date-options .date-option { align-items: flex-start; flex-direction: column; gap: 4px; }
  .teacher-date-options .date-option span { white-space: normal; }
}
