:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #172033;
  background: #f3f5f8;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
.demo-header {
  display: flex; justify-content: space-between; gap: 24px; align-items: flex-start;
  padding: 24px 30px; background: #fff; border-bottom: 1px solid #e2e6ee;
}
.eyebrow { margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .16em; }
h1 { margin: 0; font-size: 30px; }
.subtitle { margin: 8px 0 0; color: #606a7b; }
.header-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.button {
  border: 0; border-radius: 10px; padding: 10px 14px; font-weight: 750; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
}
.button.primary { background: #172033; color: #fff; }
.button.secondary { background: #edf0f5; color: #172033; }
.button:disabled { opacity: .5; cursor: default; }
.demo-shell {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; padding: 24px 30px 32px;
}
.player-card, .scene-list {
  background: #fff; border: 1px solid #e0e5ed; border-radius: 16px; box-shadow: 0 12px 32px rgba(24,32,51,.06);
}
.player-card { overflow: hidden; }
.screen-stage { position: relative; aspect-ratio: 16/9; background: #101621; overflow: hidden; }
#demo-frame { width: 100%; height: 100%; border: 0; background: #fff; }
.presenter-box {
  position: absolute; right: 20px; bottom: 78px; width: min(36%, 390px); height: 72%;
  padding: 8px; border-radius: 16px; background: rgba(255,255,255,.96); box-shadow: 0 16px 44px rgba(0,0,0,.26);
  display: flex; flex-direction: column;
}
.presenter-box video {
  display: block; width: 100%; flex: 1 1 auto; min-height: 0;
  object-fit: contain; object-position: center bottom;
  border-radius: 12px; background: #111;
}
.presenter-tag { display: grid; gap: 2px; padding: 8px 5px 2px; font-size: 12px; }
.presenter-tag span { color: #687184; }
.caption-bar {
  position: absolute; left: 6%; right: 6%; bottom: 18px;
  padding: 12px 16px; border-radius: 10px; background: rgba(9,13,20,.9); color: #fff;
  font-size: clamp(14px,1.45vw,20px); line-height: 1.35; text-align: center;
}
.brand-badge {
  position: absolute; left: 18px; top: 16px; background: rgba(255,255,255,.96); border-radius: 10px; padding: 7px 10px;
}
.brand-badge img { width: 124px; display: block; }
.controls { display: flex; align-items: center; gap: 10px; padding: 15px 18px 10px; flex-wrap: wrap; }
.time { margin-left: auto; font-variant-numeric: tabular-nums; font-weight: 750; color: #535e70; }
.progress { height: 7px; margin: 0 18px; border-radius: 999px; overflow: hidden; background: #e8ecf2; }
#progress-bar { height: 100%; width: 0; background: #172033; }
.now-showing { display: flex; justify-content: space-between; gap: 20px; padding: 14px 18px 18px; align-items: center; }
.now-showing > div { display: grid; gap: 3px; }
.label { color: #70798a; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.now-showing a { color: #172033; font-weight: 700; }
.scene-list { padding: 18px; }
.scene-list h2 { margin: 0 0 14px; font-size: 19px; }
.scene-list ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.scene-row { border: 1px solid #e2e6ed; border-radius: 11px; padding: 10px; display: grid; gap: 3px; }
.scene-row.active { border-color: #172033; box-shadow: inset 4px 0 0 #172033; }
.scene-row strong { font-size: 13px; }
.scene-row span { font-size: 12px; color: #6d7687; }
.production-note { margin: 16px 0 0; padding: 12px; background: #f5f7fa; border-radius: 10px; color: #626c7d; font-size: 12px; line-height: 1.5; }
@media (max-width: 900px) {
  .demo-header { flex-direction: column; }
  .demo-shell { grid-template-columns: 1fr; padding: 18px; }
  .presenter-box { right: 10px; bottom: 72px; width: 38%; height: 70%; }
}

.hidden { display: none !important; }
