/* ==========================================================================
   Classroom — Global IT Services
   Single stylesheet.

   Brand palette sampled directly from public/imgs/global.webp:
     crimson  #F20827   (34% of the artwork)
     graphite #6C6E6F   (28% of the artwork)

   The interface is light: a white page with graphite text and crimson
   accents, matching the artwork, which was drawn for a white background.

   Two surfaces deliberately stay dark because they carry video: the
   presenter's stage frame and the student's player. A white slide needs a
   contrasting backdrop to read as a slide, and overlay text must stay legible
   over whatever is being shared.

   Every colour is a token. Nothing below hardcodes a shade, so retheming is
   a change in :root alone.
   ========================================================================== */

:root {
  /* -- brand --------------------------------------------------------- */
  --brand-red: #f20827;
  --brand-red-hover: #d4051f;
  --brand-red-press: #b3041a;
  /* Darker shade for text and solid fills, so white-on-red clears 4.5:1. */
  --brand-red-ink: #c40420;
  --brand-grey: #6c6e6f;
  --brand-grey-light: #a9adb2;

  /* -- surfaces ------------------------------------------------------ */
  --bg: #ffffff;
  --bg-raised: #ffffff;
  --bg-sunken: #f4f4f6;
  --bg-soft: #fafafa;
  --line: #e2e2e6;
  --line-soft: #ededf0;

  /* -- text ---------------------------------------------------------- */
  --text: #17171b;
  --text-dim: #55555d;
  --text-faint: #6b6b74;

  /* -- accents ------------------------------------------------------- */
  --accent: var(--brand-red);
  --accent-soft: rgba(242, 8, 39, 0.08);
  --accent-ring: rgba(242, 8, 39, 0.18);

  /* -- status -------------------------------------------------------- */
  --ok: #15803d;
  --ok-soft: #e7f6ed;
  --ok-line: #bfe4cd;
  --warn: #92620a;
  --warn-soft: #fdf4e3;
  --warn-line: #ecd9a8;
  --danger: var(--brand-red-ink);
  --danger-soft: #fdeaec;
  --danger-line: #f2c2c8;
  --info-soft: #f4f4f6;
  --info-line: var(--line);

  /* -- video surfaces (intentionally dark) --------------------------- */
  --stage: #e9eaee;
  --stage-border: #d5d6db;
  --video-black: #000000;
  --overlay-scrim: rgba(0, 0, 0, 0.72);

  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(16, 16, 20, 0.05);
  --shadow: 0 6px 24px rgba(16, 16, 20, 0.09);
  --shadow-lg: 0 18px 50px rgba(16, 16, 20, 0.16);
  --font: "Segoe UI", Inter, Roboto, system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0; }
code { font-family: var(--mono); font-size: 0.86em; }

.muted { color: var(--text-dim); font-weight: 400; }
.tiny { font-size: 0.78rem; }
.offscreen { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; left: -9999px; }

/* ── Buttons & inputs ──────────────────────────────────────────────────── */

.btn {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--bg-raised);
  color: var(--text);
  font: inherit;
  font-weight: 600;
  padding: 0.62rem 1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.06s, box-shadow 0.15s;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}
.btn:hover { background: var(--bg-sunken); border-color: var(--brand-grey-light); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; box-shadow: none; }
.btn--primary { background: var(--brand-red-ink); border-color: var(--brand-red-ink); color: #fff; }
.btn--primary:hover { background: var(--brand-red-press); border-color: var(--brand-red-press); }
.btn--ghost { background: transparent; box-shadow: none; }
.btn--ghost:hover { background: var(--bg-sunken); }
.btn--tiny { padding: 0.34rem 0.7rem; font-size: 0.82rem; font-weight: 600; }
.btn--full { width: 100%; }
.btn--danger { border-color: var(--danger-line); color: var(--danger); background: var(--danger-soft); }
.btn--danger:hover { background: #fbdde0; border-color: #e9aab2; }

input[type="text"], input[type="email"], input[type="password"], input[type="number"], select {
  width: 100%;
  padding: 0.62rem 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg-raised);
  color: var(--text);
  font: inherit;
}
input:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }
input::placeholder { color: var(--text-faint); }

.input--code {
  font-family: var(--mono);
  font-size: 1.25rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
}

.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--text-dim); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.stack { display: flex; flex-direction: column; gap: 0.9rem; }

.check { display: flex; align-items: center; gap: 0.55rem; font-size: 0.88rem; color: var(--text-dim); cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: var(--accent); }
.check input:disabled { cursor: not-allowed; }

.select { width: auto; padding: 0.4rem 0.6rem; font-size: 0.84rem; }

/* ── Cards & layout ────────────────────────────────────────────────────── */

.page { display: flex; min-height: 100vh; background: var(--bg); }
.page--landing { align-items: center; justify-content: center; padding: 2.5rem 1.25rem; }

.shell { width: min(1080px, 100%); }
.shell__header { text-align: center; margin-bottom: 2rem; }
.shell__note { color: var(--text-dim); font-size: 0.86rem; margin-top: 0.9rem; }
.shell__footer { text-align: center; margin-top: 1.6rem; font-size: 0.8rem; display: grid; gap: 0.35rem; justify-items: center; }

.row-end { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1rem; }

.banner {
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--info-line);
  background: var(--info-soft);
  color: var(--text);
  font-size: 0.85rem;
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.banner--warn { background: var(--warn-soft); border-color: var(--warn-line); color: var(--warn); }

/* ── Resumable lecture list ─────────────────────────────────────────────── */

.session-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.session-item {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line-soft); border-radius: var(--radius-sm);
  background: var(--bg-soft);
}
.session-item__main { flex: 1; min-width: 0; }
.session-item__title { font-size: 0.9rem; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.session-item__sub { font-size: 0.74rem; color: var(--text-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.brand { display: flex; align-items: center; gap: 0.9rem; justify-content: center; }
.brand__text { text-align: left; }

/*
  The supplied artwork already carries the brand colours on a transparent
  background, so no filter is applied - an invert here would flatten the
  crimson and the graphite to plain white, and on a white page they would
  disappear entirely.
*/
.brand__logo {
  height: 62px;
  width: auto;
  flex: none;
  object-fit: contain;
}
.brand__logo--sm { height: 34px; }
.brand__logo--lg { height: 84px; }

/* Fallback tile, used only if the artwork fails to load. */
.brand__mark {
  width: 42px; height: 42px; border-radius: 11px;
  background: linear-gradient(140deg, var(--brand-red), var(--brand-grey));
  box-shadow: 0 6px 20px rgba(242, 8, 39, 0.22);
  flex: none;
}
.brand__mark--sm { width: 26px; height: 26px; border-radius: 7px; }
.brand__name { font-size: 1.6rem; }
.brand__owner {
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--text);
  letter-spacing: 0.01em;
}
.brand__tag { color: var(--text-dim); font-size: 0.82rem; }

.owner-line {
  display: inline-flex; align-items: center; gap: 0.45rem;
  color: var(--text-dim); font-size: 0.8rem;
}
.owner-line--gate { margin-top: 1.1rem; justify-content: center; }
.owner-line__logo { height: 20px; width: auto; opacity: 0.9; }

.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 860px) { .grid { grid-template-columns: 1fr; } .field-row { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.card__title { font-size: 1.12rem; margin-bottom: 0.9rem; }
.card__lead { color: var(--text-dim); font-size: 0.88rem; margin-bottom: 1.1rem; }

.disclosure { margin-top: 1.1rem; border-top: 1px solid var(--line-soft); padding-top: 0.9rem; }
.disclosure summary { cursor: pointer; font-size: 0.88rem; font-weight: 600; color: var(--text-dim); }
.disclosure summary:hover { color: var(--text); }

.points { margin: 1rem 0 0; padding-left: 1.1rem; color: var(--text-dim); font-size: 0.84rem; display: grid; gap: 0.45rem; }

.flash { font-size: 0.84rem; padding: 0.6rem 0.75rem; border-radius: var(--radius-sm); border: 1px solid var(--info-line); background: var(--info-soft); }
.flash--error { background: var(--danger-soft); border-color: var(--danger-line); color: var(--danger); }
.flash--success { background: var(--ok-soft); border-color: var(--ok-line); color: var(--ok); }

/* ── Toast ─────────────────────────────────────────────────────────────── */

.toast {
  position: fixed;
  left: 50%; bottom: 1.6rem;
  transform: translateX(-50%);
  background: var(--text);
  border: 1px solid var(--text);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-size: 0.86rem;
  z-index: 90;
  box-shadow: var(--shadow-lg);
}

/* ── Confirmation dialog ───────────────────────────────────────────────── */

.modal-backdrop {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(23, 23, 27, 0.42);
  backdrop-filter: blur(2px);
  display: grid; place-items: center;
  padding: 1.25rem;
}
.modal {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: min(440px, 100%);
  padding: 1.5rem;
  display: grid; gap: 0.7rem;
}
.modal__title { font-size: 1.05rem; font-weight: 650; }
.modal__body { font-size: 0.88rem; color: var(--text-dim); }
.modal__body strong { color: var(--text); }
.modal__actions { display: flex; gap: 0.6rem; justify-content: flex-end; margin-top: 0.4rem; }
.modal__actions .btn--danger-solid {
  background: var(--brand-red-ink); border-color: var(--brand-red-ink); color: #fff;
}
.modal__actions .btn--danger-solid:hover { background: var(--brand-red-press); border-color: var(--brand-red-press); }

/* ── Studio ────────────────────────────────────────────────────────────── */

.page--studio { flex-direction: column; height: 100vh; overflow: hidden; background: var(--bg); }

.topbar {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg-raised);
  flex: none;
  z-index: 5;
}
.topbar__left { display: flex; align-items: center; gap: 0.7rem; min-width: 0; }
.topbar__title { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.topbar__title strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 26ch; }
.topbar__center { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; }
.topbar__right { display: flex; align-items: center; gap: 0.45rem; }

.linkbox {
  display: flex; flex-direction: column; line-height: 1.15;
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-sunken);
}
.linkbox__label { font-size: 0.63rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-faint); }
.linkbox code { max-width: 30ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.linkbox--code code { letter-spacing: 0.1em; font-weight: 700; }

.pill {
  font-size: 0.76rem; font-weight: 650;
  padding: 0.28rem 0.6rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg-sunken); color: var(--text-dim);
  white-space: nowrap;
}
.pill--ok { color: var(--ok); border-color: var(--ok-line); background: var(--ok-soft); }
.pill--warn { color: var(--warn); border-color: var(--warn-line); background: var(--warn-soft); }
.pill--live { color: #fff; border-color: var(--brand-red-ink); background: var(--brand-red-ink); }
.pill--muted { color: var(--text-faint); }

.studio { flex: 1; display: grid; grid-template-columns: 1fr 320px; min-height: 0; }
@media (max-width: 980px) { .studio { grid-template-columns: 1fr; } .sidebar { display: none; } }

.stage { display: flex; flex-direction: column; min-width: 0; padding: 1rem; gap: 0.9rem; background: var(--bg); }
.stage__frame {
  position: relative; flex: 1; min-height: 0;
  background: var(--stage);
  border: 1px solid var(--stage-border);
  border-radius: var(--radius);
  overflow: hidden; display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 1px 3px rgba(16, 16, 20, 0.05);
}
.stage__canvas { max-width: 100%; max-height: 100%; display: block; }

.stage__overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 3rem 1.5rem 1.5rem; text-align: center;
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.92) 55%, #fff);
  pointer-events: none; transition: opacity 0.25s;
}
.stage__overlay[hidden] { display: block; opacity: 0; }
.stage__overlay-title { font-weight: 650; color: var(--text); }
.stage__overlay-sub { color: var(--text-dim); font-size: 0.86rem; margin-top: 0.15rem; }

.stage__badge {
  position: absolute; top: 0.7rem; left: 0.7rem;
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.74rem; font-weight: 650; color: var(--text-dim);
  background: rgba(255, 255, 255, 0.92); border: 1px solid var(--line);
  padding: 0.25rem 0.6rem; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.stage__badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }

.controls {
  display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
  padding: 0.65rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-raised); box-shadow: var(--shadow-sm);
}
.ctl {
  display: inline-flex; align-items: center; gap: 0.45rem;
  border: 1px solid var(--line); background: var(--bg-raised); color: var(--text);
  font: inherit; font-weight: 600; font-size: 0.85rem;
  padding: 0.5rem 0.85rem; border-radius: var(--radius-sm); cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.ctl:hover { border-color: var(--brand-grey-light); background: var(--bg-sunken); }
.ctl.is-on { background: var(--accent-soft); border-color: var(--accent); color: var(--brand-red-ink); }
.ctl--primary.is-on { background: var(--ok-soft); border-color: var(--ok-line); color: var(--ok); }
.ctl--danger { margin-left: auto; color: var(--danger); border-color: var(--danger-line); background: var(--danger-soft); }
.ctl--danger:hover { background: #fbdde0; border-color: #e9aab2; }
.ctl-group { display: flex; flex-direction: column; gap: 0.1rem; }
.ctl-group__label { font-size: 0.63rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-faint); }

.notice { font-size: 0.82rem; color: var(--warn); padding: 0.4rem 0.2rem; }

/* ── Sidebar ───────────────────────────────────────────────────────────── */

.sidebar {
  border-left: 1px solid var(--line);
  background: var(--bg-raised);
  display: flex; flex-direction: column; min-height: 0;
}
.tabs { display: flex; border-bottom: 1px solid var(--line); flex: none; }
.tab {
  flex: 1; appearance: none; border: none; background: transparent;
  color: var(--text-dim); font: inherit; font-size: 0.82rem; font-weight: 650;
  padding: 0.7rem 0.4rem; cursor: pointer; border-bottom: 2px solid transparent;
}
.tab:hover { color: var(--text); }
.tab.is-active { color: var(--text); border-bottom-color: var(--accent); }
.tab__count {
  display: inline-block; min-width: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--bg-sunken); border: 1px solid var(--line);
  font-size: 0.72rem; text-align: center; color: var(--text-dim);
}
.tab__count--warn[data-nonzero="true"] { background: var(--warn-soft); border-color: var(--warn-line); color: var(--warn); }

.panel { display: none; overflow-y: auto; padding: 0.6rem; flex: 1; min-height: 0; }
.panel.is-active { display: block; }

.roster { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.roster__item {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.5rem 0.6rem; border: 1px solid var(--line-soft); border-radius: var(--radius-sm);
  background: var(--bg-soft);
}
.roster__avatar {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-size: 0.76rem; font-weight: 700;
  background: var(--accent-soft); color: var(--brand-red-ink);
  border: 1px solid var(--danger-line);
}
.roster__main { min-width: 0; flex: 1; }
.roster__name { font-size: 0.86rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.roster__sub { font-size: 0.72rem; color: var(--text-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tag {
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 0.1rem 0.4rem; border-radius: 4px;
  border: 1px solid var(--line); background: var(--bg-sunken); color: var(--text-dim);
}
.tag--personal { color: var(--ok); border-color: var(--ok-line); background: var(--ok-soft); }
.tag--shared { color: var(--text-dim); }
.tag--live { color: #fff; border-color: var(--brand-red-ink); background: var(--brand-red-ink); }

.roster__avatar--live { background: var(--ok-soft); color: var(--ok); border-color: var(--ok-line); }

.empty { color: var(--text-faint); font-size: 0.82rem; text-align: center; padding: 1.6rem 0.8rem; }

.log { list-style: none; margin: 0; padding: 0; font-family: var(--mono); font-size: 0.72rem; display: grid; gap: 0.3rem; }
.log__row { padding: 0.35rem 0.45rem; border-left: 2px solid var(--line); color: var(--text-dim); }
.log__row b { color: var(--text); font-weight: 600; }

.sidebar__foot { border-top: 1px solid var(--line); padding: 0.7rem; display: grid; gap: 0.5rem; }

/* ── Viewer ────────────────────────────────────────────────────────────── */

.page--viewer { flex-direction: column; height: 100vh; overflow: hidden; background: var(--bg); }

.gate { flex: 1; display: grid; place-items: center; padding: 2rem 1.25rem; background: var(--bg); }
.card--gate { width: min(460px, 100%); }
.gate__brand { display: flex; justify-content: center; margin-bottom: 1rem; }

.spinner {
  width: 34px; height: 34px; margin: 0 auto 1.1rem;
  border: 3px solid var(--line); border-top-color: var(--accent);
  border-radius: 50%; animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* The video surface stays black so the shared screen is the brightest thing. */
.player { position: relative; flex: 1; background: var(--video-black); display: flex; }
.player__video { width: 100%; height: 100%; object-fit: contain; background: var(--video-black); display: block; }

/* Hidden feeds: one per additional presenter, so switching is instant. */
.player__feed {
  position: absolute;
  width: 2px; height: 2px;
  opacity: 0; pointer-events: none;
  left: -10px; top: -10px;
}

.player__identity {
  position: absolute; left: 0; right: 0; top: 0;
  padding: 0.55rem 0.9rem;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.82);
  background: linear-gradient(var(--overlay-scrim), transparent);
  pointer-events: none; display: flex; gap: 0.9rem; flex-wrap: wrap;
}
.player__identity b { color: #fff; }

/* ── Presenter switcher ────────────────────────────────────────────────── */

.player__tiles {
  position: absolute; right: 0.85rem; bottom: 3.6rem;
  display: flex; flex-direction: column; gap: 0.5rem;
  max-height: 55%; overflow-y: auto;
  padding: 0.3rem;
}
.tile {
  position: relative;
  width: 176px; aspect-ratio: 16 / 9;
  padding: 0; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: var(--radius-sm);
  background: var(--video-black); overflow: hidden; cursor: pointer;
  display: block; box-shadow: var(--shadow-lg);
}
.tile:hover { border-color: var(--accent); }
.tile:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tile__video { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile__name {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0.3rem 0.45rem;
  font-size: 0.72rem; font-weight: 650; color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

@media (max-width: 720px) {
  .player__tiles { flex-direction: row; right: auto; left: 0.85rem; bottom: 3.6rem; max-height: none; max-width: 70%; }
  .tile { width: 128px; }
}

.player__banner {
  position: absolute; left: 50%; top: 4.2rem; transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95); border: 1px solid var(--line); color: var(--text);
  padding: 0.55rem 1rem; border-radius: 999px; font-size: 0.84rem;
  max-width: 90%; text-align: center; box-shadow: var(--shadow-lg);
}

.player__bar {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.8rem 1rem 0.8rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
  color: #fff;
}
.player__meta { display: flex; flex-direction: column; line-height: 1.25; font-size: 0.86rem; }
.player__meta .muted { color: rgba(255, 255, 255, 0.72); font-size: 0.76rem; font-family: var(--mono); }
.player__actions { display: flex; gap: 0.5rem; }
.player__actions .btn {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  backdrop-filter: blur(4px);
}
.player__actions .btn:hover { background: rgba(255, 255, 255, 0.24); border-color: rgba(255, 255, 255, 0.5); }

/* Users who turn on "reduce motion" get a static stage rather than motion. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}