:root {
  color-scheme: dark;
  font-family: system-ui, sans-serif;
  background: #131313;
  color: #f8f0e7;
  --muted: #c2b9b1;
  --accent: #f6c478;
  --line: #4e4542;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(ellipse at top left, #301c1c, #131313 64%); }
.masthead { display: flex; align-items: center; gap: .7rem; padding: 1.3rem max(1.25rem, calc((100vw - 65rem) / 2)); border-bottom: 1px solid var(--line); font-weight: 650; }
.mark { width: .7rem; height: .7rem; background: var(--accent); border-radius: 50%; }
.divider { height: 1rem; border-left: 1px solid var(--line); }
main { width: min(65rem, calc(100% - 2.5rem)); margin: 3rem auto; }
.eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: .13em; font-size: .78rem; font-weight: 700; }
h1 { font-family: Georgia, serif; font-size: clamp(2.5rem, 7vw, 5rem); font-weight: 400; margin: .25rem 0; line-height: 1.02; }
#status, .note { color: var(--muted); line-height: 1.5; }
#status { margin-bottom: 1.5rem; }
.panel { border: 1px solid var(--line); border-radius: .85rem; padding: 1rem; background: #211d1d; }
.panel + #screen { margin-top: 1.25rem; }
.row { display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; }
label { display: block; margin-bottom: .45rem; font-weight: 600; }
button, select, input { font: inherit; min-height: 44px; border-radius: .5rem; }
button { background: var(--accent); color: #231a12; border: 1px solid var(--accent); padding: .6rem .85rem; font-weight: 700; cursor: pointer; }
button.secondary { background: transparent; color: #f8f0e7; border-color: var(--line); }
button:disabled { opacity: .55; cursor: default; }
input:not([type=range]), select { background: #151414; color: inherit; border: 1px solid var(--line); padding: .55rem .7rem; }
input[type=range] { accent-color: var(--accent); width: 100%; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.invitation input { flex: 1 1 18rem; min-width: 0; }
video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #090909; border: 1px solid var(--line); border-radius: .8rem; }
#join, .transport { margin-top: .85rem; }
.transport select { width: 100%; margin-bottom: 1rem; }
#timestamp { float: right; font-variant-numeric: tabular-nums; color: var(--muted); }
.note { margin: .65rem 0 0; font-size: .9rem; }
[hidden] { display: none !important; }
#series-picker { margin-bottom: 1rem; }
