/**
 * Development work by David Lane
 */
:root {
  --wt-bg: #07060a;
  --wt-bg-2: #100c08;
  --wt-ink: #f6eed8;
  --wt-muted: #c4b48a;
  --wt-dim: #8a7a58;
  --wt-line: rgba(232, 200, 114, 0.28);
  --wt-card: #14110c;
  --wt-card-border: rgba(232, 200, 114, 0.32);
  --wt-accent: #d4a017;
  --wt-accent-soft: rgba(212, 160, 23, 0.22);
  --wt-gold: #e8c872;
  --wt-gold-deep: #8a6410;
  --wt-burgundy: #4a1220;
  --wt-font: "Inter", "Segoe UI", system-ui, sans-serif;
  --wt-display: "Cinzel", "Times New Roman", serif;
  --wt-ornament: "Cinzel Decorative", "Cinzel", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--wt-bg);
  color: var(--wt-ink);
  font-family: var(--wt-font);
}

body.wt-body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.wt-scanlines,
.wt-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.wt-glow {
  background:
    radial-gradient(ellipse 70% 55% at 50% -10%, rgba(212, 160, 23, 0.22), transparent 58%),
    radial-gradient(circle at 50% 120%, rgba(74, 18, 32, 0.55), transparent 48%),
    repeating-conic-gradient(from 0deg at 50% 0%, rgba(232, 200, 114, 0.07) 0deg 8deg, transparent 8deg 16deg);
}

.wt-scanlines {
  opacity: 0.45;
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent 0 11px,
      rgba(232, 200, 114, 0.03) 11px 12px
    ),
    repeating-linear-gradient(
      to bottom,
      transparent 0 4px,
      rgba(232, 200, 114, 0.035) 4px 5px
    );
}

.wt-page {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 5.5rem) clamp(1.25rem, 5vw, 3.5rem) 3rem;
}

.wt-hero-row {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) auto minmax(220px, 0.7fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

.wt-kicker {
  margin: 0 0 1.1rem;
  color: var(--wt-gold);
  font-family: var(--wt-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.wt-title {
  margin: 0 0 1.35rem;
  font-family: var(--wt-ornament);
  font-size: clamp(3.1rem, 7.6vw, 5.8rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 0.95;
  text-transform: uppercase;
}

.wt-title .together {
  color: var(--wt-gold);
  text-shadow:
    0 0 18px rgba(232, 200, 114, 0.45),
    0 0 48px rgba(212, 160, 23, 0.28);
}

.wt-lede {
  margin: 0 0 2rem;
  max-width: 34rem;
  color: var(--wt-muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.wt-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem 1.4rem;
}

.wt-enter {
  appearance: none;
  border: 1px solid var(--wt-gold);
  border-radius: 2px;
  padding: 0.85rem 1.35rem;
  background: linear-gradient(180deg, #f0d78a, var(--wt-accent) 55%, var(--wt-gold-deep));
  color: #1a1208;
  font-family: var(--wt-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow:
    0 0 0 1px rgba(26, 18, 8, 0.55),
    0 8px 22px rgba(212, 160, 23, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.wt-enter:hover,
.wt-enter:focus-visible {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(26, 18, 8, 0.7),
    0 12px 28px rgba(212, 160, 23, 0.38);
  outline: none;
}

.wt-ghost:focus-visible {
  outline: 2px solid rgba(212, 160, 23, 0.7);
  outline-offset: 2px;
  border-color: var(--wt-gold);
}

.wt-private {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--wt-dim);
  font-size: 0.92rem;
}

.wt-private svg {
  flex: 0 0 auto;
  opacity: 0.8;
}

.wt-rule {
  width: 1px;
  align-self: stretch;
  background: var(--wt-line);
  margin: 0.35rem 0;
}

.wt-specs {
  display: flex;
  flex-direction: column;
  gap: 1.55rem;
  padding-top: 0.35rem;
}

.wt-spec dt {
  margin: 0 0 0.35rem;
  color: var(--wt-dim);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.wt-spec dd {
  margin: 0;
  color: var(--wt-ink);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.wt-sync {
  margin-top: clamp(3.5rem, 9vw, 6.5rem);
}

.wt-timeline {
  position: relative;
  height: 18px;
  margin: 0 0 1.6rem;
}

.wt-timeline-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, rgba(212, 160, 23, 0.15), var(--wt-accent) 78%, rgba(212, 160, 23, 0.25));
}

.wt-playhead {
  position: absolute;
  top: 50%;
  left: 78%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--wt-accent);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 4px rgba(212, 160, 23, 0.18), 0 0 16px rgba(212, 160, 23, 0.7);
  animation: wt-playhead 9s ease-in-out infinite;
}

@keyframes wt-playhead {
  0%, 100% { left: 72%; }
  50% { left: 84%; }
}

.wt-reel-running .wt-playhead {
  animation-duration: 4.5s;
}

.wt-reel-running .wt-bar > span {
  animation: wt-bar 4.5s ease-in-out infinite;
}

@keyframes wt-bar {
  0%, 100% { width: 72%; }
  50% { width: 84%; }
}

.wt-couches {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(0.55rem, 1.6vw, 1.1rem);
}

.wt-couch {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.wt-screen {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--wt-card-border);
  border-radius: 3px;
  background:
    linear-gradient(180deg, rgba(24, 28, 38, 0.92), rgba(10, 12, 16, 0.96));
  overflow: hidden;
}

.wt-play {
  width: 34px;
  height: 34px;
  color: var(--wt-accent);
  filter: drop-shadow(0 0 10px rgba(212, 160, 23, 0.45));
}

.wt-bar {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  height: 5px;
  border-radius: 2px;
  background: rgba(212, 160, 23, 0.18);
  overflow: hidden;
}

.wt-bar > span {
  display: block;
  width: 78%;
  height: 100%;
  border-radius: inherit;
  background: var(--wt-accent);
  box-shadow: 0 0 10px rgba(212, 160, 23, 0.55);
}

.wt-name {
  margin: 0;
  color: var(--wt-muted);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.18em;
}

.wt-caption {
  margin: 2.1rem 0 0;
  text-align: center;
  color: var(--wt-dim);
  font-size: 0.98rem;
}

.wt-home-links {
  position: absolute;
  top: 1.1rem;
  right: 1.2rem;
  z-index: 2;
  display: flex;
  gap: 0.9rem;
}

.wt-home-link {
  color: var(--wt-gold);
  font-family: var(--wt-display);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
}

.wt-home-link:hover {
  color: var(--wt-muted);
}

/* Gate */
.wt-gate {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(5, 6, 8, 0.72);
  backdrop-filter: blur(10px);
}

.wt-gate[hidden] {
  display: none;
}

.wt-gate-card {
  width: min(100%, 420px);
  padding: 1.6rem 1.5rem 1.4rem;
  border: 1px solid var(--wt-gold);
  border-radius: 3px;
  background: #14110c;
  box-shadow:
    0 0 0 6px #100c08,
    0 24px 80px rgba(0, 0, 0, 0.45);
}

.wt-gate-card h2 {
  margin: 0 0 0.4rem;
  font-family: var(--wt-ornament);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wt-gate-card p {
  margin: 0 0 1.15rem;
  color: var(--wt-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.wt-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.wt-field label {
  color: var(--wt-dim);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wt-field input {
  width: 100%;
  border: 1px solid var(--wt-card-border);
  border-radius: 2px;
  padding: 0.7rem 0.8rem;
  background: #0b0c10;
  color: var(--wt-ink);
  font: inherit;
}

.wt-field input:focus {
  outline: 2px solid rgba(212, 160, 23, 0.45);
  border-color: transparent;
}

.wt-gate-error {
  min-height: 1.2rem;
  margin: 0 0 0.75rem;
  color: var(--wt-accent);
  font-size: 0.88rem;
}

.wt-gate-actions {
  display: flex;
  gap: 0.7rem;
}

.wt-ghost {
  appearance: none;
  border: 1px solid var(--wt-card-border);
  border-radius: 2px;
  padding: 0.75rem 1rem;
  background: transparent;
  color: var(--wt-muted);
  font-family: var(--wt-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.wt-controls .wt-ghost[aria-pressed="true"],
.wt-booth .wt-ghost[aria-pressed="true"],
.wt-booth .wt-enter[aria-pressed="true"] {
  border-color: var(--wt-gold);
  color: #1a1208;
  background: linear-gradient(180deg, #f0d78a, var(--wt-accent) 55%, var(--wt-gold-deep));
  box-shadow: 0 0 16px rgba(212, 160, 23, 0.35);
}

.wt-booth {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.55rem;
  padding: 0.55rem 0.15rem 0;
}

.wt-booth[hidden] {
  display: none !important;
}

.wt-booth #wtChatMic {
  min-width: 5.2rem;
  padding: 0.55rem 0.95rem;
}

.wt-vol-yours {
  padding: 0.12rem 0.4rem;
  font-size: 0.58rem;
}

/* Theater */
.wt-theater {
  max-width: 1440px;
  margin: 0 auto;
  padding: 1.1rem clamp(0.9rem, 3vw, 1.6rem) 1.25rem;
}

body.wt-cinema-on {
  overflow: hidden;
}

.wt-theater.is-cinema {
  max-width: none;
  height: 100vh;
  height: 100dvh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: 0.7rem 0.9rem 0.8rem;
}

.wt-theater.is-cinema .wt-theater-top {
  margin-bottom: 0.45rem;
}

.wt-theater.is-cinema .wt-ticket {
  margin-bottom: 0.45rem;
}

.wt-theater.has-reel:not(.is-ticket-open) .wt-ticket {
  display: none;
}

.wt-theater.is-cinema .wt-stage-grid {
  flex: 1 1 auto;
  min-height: 0;
  grid-template-columns: minmax(240px, 22rem) minmax(0, 1fr);
}

.wt-theater.is-cinema .wt-side {
  order: -1;
}

.wt-theater.is-cinema .wt-stage-main {
  min-height: 0;
  height: 100%;
}

.wt-theater.is-cinema .wt-player-shell {
  flex: 1 1 auto;
  aspect-ratio: auto;
  min-height: 0;
  height: auto;
}

.wt-theater.is-cinema .wt-map-panel {
  display: none;
}

.wt-theater.is-cinema .wt-faces {
  max-height: 12rem;
  overflow: auto;
}

.wt-theater.is-cinema .wt-chat {
  flex: 1 1 auto;
  min-height: 0;
}

.wt-theater-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 1rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--wt-line);
  background-image:
    linear-gradient(90deg, transparent, var(--wt-gold) 18%, transparent 18% 82%, var(--wt-gold)),
    repeating-linear-gradient(90deg, var(--wt-gold) 0 6px, transparent 6px 12px);
  background-size: 100% 1px, 100% 3px;
  background-position: left bottom, left calc(100% - 4px);
  background-repeat: no-repeat;
}

.wt-marquee {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.wt-marquee-bulbs {
  display: flex;
  gap: 0.32rem;
  margin-top: 0.2rem;
}

.wt-marquee-bulbs span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--wt-gold);
  box-shadow: 0 0 8px rgba(232, 200, 114, 0.85);
  animation: wt-bulb 1.5s ease-in-out infinite;
}

.wt-marquee-bulbs span:nth-child(2) { animation-delay: 0.15s; }
.wt-marquee-bulbs span:nth-child(3) { animation-delay: 0.3s; }
.wt-marquee-bulbs span:nth-child(4) { animation-delay: 0.45s; }
.wt-marquee-bulbs span:nth-child(5) { animation-delay: 0.6s; }
.wt-marquee-bulbs span:nth-child(6) { animation-delay: 0.75s; }

@keyframes wt-bulb {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

.wt-lk-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.7rem;
  min-width: 0;
}

.wt-lk-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--wt-gold);
  border-radius: 2px;
  padding: 0.18rem 0.55rem;
  color: var(--wt-gold);
  font-family: var(--wt-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.wt-lk-chip[data-state="unset"] {
  opacity: 0.55;
  border-color: var(--wt-card-border);
  color: var(--wt-dim);
}

.wt-lk-chip[data-state="ready"] {
  color: var(--wt-gold);
}

.wt-lk-chip[data-state="joining"],
.wt-lk-chip[data-state="reconnecting"] {
  color: #1a1208;
  background: var(--wt-gold);
  animation: wt-bulb 1.1s ease-in-out infinite;
}

.wt-lk-chip[data-state="live"] {
  color: #1a1208;
  background: linear-gradient(180deg, #f0d78a, var(--wt-accent));
  box-shadow: 0 0 14px rgba(232, 200, 114, 0.45);
}

.wt-lk-chip[data-state="down"] {
  border-color: #8a2030;
  color: #f6eed8;
  background: var(--wt-burgundy);
}

.wt-hear-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--wt-gold);
  border-radius: 2px;
  padding: 0.18rem 0.55rem;
  color: var(--wt-gold);
  font-family: var(--wt-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wt-hear-chip[hidden] {
  display: none !important;
}

.wt-hear-chip[data-state="hear"] {
  color: #1a1208;
  background: linear-gradient(180deg, #f0d78a, var(--wt-accent));
  box-shadow: 0 0 14px rgba(232, 200, 114, 0.45);
}

.wt-hear-chip[data-state="muted"],
.wt-hear-chip[data-state="typed"],
.wt-hear-chip[data-state="joining"] {
  opacity: 0.85;
  border-color: var(--wt-card-border);
  color: var(--wt-muted);
}

.wt-hear-chip[data-state="down"] {
  border-color: #8a2030;
  color: #f6eed8;
  background: var(--wt-burgundy);
}

.wt-marquee .wt-kicker {
  margin: 0;
  font-size: 0.58rem;
}

.wt-brand {
  margin: 0;
  font-family: var(--wt-ornament);
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wt-brand span {
  color: var(--wt-gold);
  text-shadow: 0 0 18px rgba(232, 200, 114, 0.45);
}

.wt-viewers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.wt-chip {
  border: 1px solid var(--wt-card-border);
  border-radius: 2px;
  padding: 0.2rem 0.65rem;
  color: var(--wt-muted);
  font-family: var(--wt-display);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.wt-chip-count {
  color: var(--wt-ink);
  border-color: rgba(212, 160, 23, 0.45);
}

.wt-load {
  display: flex;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
}

.wt-ticket .wt-load {
  margin-bottom: 0;
}

.wt-ticket {
  margin-bottom: 0.9rem;
}

.wt-kbd-hint {
  margin: 0;
  color: var(--wt-dim);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.wt-load input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--wt-card-border);
  border-radius: 2px;
  padding: 0.75rem 0.9rem;
  background: #100c08;
  color: var(--wt-ink);
  font: inherit;
}

.wt-picker {
  margin: -0.35rem 0 0.85rem;
  padding: 0.7rem;
  border: 1px solid var(--wt-card-border);
  border-radius: 3px;
  background: #100c08;
}

.wt-ticket .wt-picker {
  margin: 0.55rem 0 0;
}

.wt-picker-row {
  display: flex;
  gap: 0.5rem;
}

.wt-picker-row input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--wt-card-border);
  border-radius: 2px;
  padding: 0.65rem 0.8rem;
  background: #0b0c10;
  color: var(--wt-ink);
  font: inherit;
}

.wt-picker-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.55rem;
}

.wt-picker-chips button {
  appearance: none;
  border: 1px solid var(--wt-card-border);
  border-radius: 2px;
  padding: 0.25rem 0.7rem;
  background: transparent;
  color: var(--wt-muted);
  font-family: var(--wt-display);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.wt-picker-chips button:hover,
.wt-picker-chips button[aria-pressed="true"] {
  border-color: var(--wt-accent);
  color: var(--wt-ink);
}

.wt-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.55rem;
  margin-top: 0.7rem;
}

.wt-pick-artist {
  margin: 0.65rem 0 0;
  color: var(--wt-gold);
  font-family: var(--wt-display);
  font-size: 0.82rem;
  line-height: 1.35;
}

.wt-pick-artist a {
  color: var(--wt-accent);
}

.wt-pick-card {
  appearance: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  border: 1px solid var(--wt-card-border);
  border-radius: 3px;
  overflow: hidden;
  background: #0b0c10;
  color: inherit;
  text-align: left;
  font: inherit;
}

.wt-pick-play {
  appearance: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.wt-pick-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #050608;
}

.wt-pick-card span {
  display: block;
  padding: 0 0.5rem 0.35rem;
  color: var(--wt-ink);
  font-size: 0.75rem;
  line-height: 1.35;
}

.wt-pick-yt {
  display: block;
  padding: 0 0.55rem 0.5rem;
  color: var(--wt-accent);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.wt-pick-yt:hover {
  text-decoration: underline;
}

.wt-pick-empty {
  margin: 0.55rem 0 0;
  color: var(--wt-dim);
  font-size: 0.82rem;
}

.wt-stage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 34%);
  gap: 0.9rem;
  align-items: stretch;
  min-height: calc(100vh - 7.5rem);
}

.wt-stage-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.wt-player-shell {
  position: relative;
  border: 2px solid var(--wt-gold);
  border-radius: 3px;
  overflow: hidden;
  background: #050308;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  box-shadow:
    0 0 0 5px #120e08,
    0 0 0 7px rgba(232, 200, 114, 0.55),
    0 0 0 14px #1a0c12,
    0 18px 40px rgba(0, 0, 0, 0.45);
}

.wt-proscenium .wt-valance {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  height: 8px;
  pointer-events: none;
  background: linear-gradient(180deg, #f0d78a, var(--wt-accent) 55%, var(--wt-burgundy));
  box-shadow: 0 4px 12px rgba(74, 18, 32, 0.45);
}

.wt-chevron {
  position: absolute;
  z-index: 4;
  pointer-events: none;
  width: 3.2rem;
  height: 3.2rem;
  background:
    linear-gradient(135deg, var(--wt-gold) 0 2px, transparent 2px 8px, var(--wt-gold) 8px 10px, transparent 10px);
  opacity: 0.85;
}

.wt-chevron--tl {
  top: 0.45rem;
  left: 0.35rem;
}

.wt-chevron--tr {
  top: 0.45rem;
  right: 0.35rem;
  transform: scaleX(-1);
}

.wt-chevron--bl {
  bottom: 0.35rem;
  left: 0.35rem;
  transform: scaleY(-1);
}

.wt-chevron--br {
  right: 0.35rem;
  bottom: 0.35rem;
  transform: rotate(180deg);
}

.wt-proscenium::before,
.wt-proscenium::after {
  display: none;
}

.wt-poster {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.wt-player-shell .yt,
.wt-player-shell video {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  background: #000;
}

#wtYt {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.wt-empty {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  color: var(--wt-dim);
  padding: 2rem;
  text-align: center;
  pointer-events: none;
}

.wt-empty[hidden],
.wt-tap[hidden],
.wt-player-shell .yt[hidden],
.wt-player-shell video[hidden],
[hidden] {
  display: none !important;
}

.wt-stage-main:fullscreen,
.wt-stage-main:-webkit-full-screen {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 0.85rem 1rem 1rem;
  background: #050608;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.wt-stage-main:fullscreen .wt-player-shell,
.wt-stage-main:-webkit-full-screen .wt-player-shell {
  flex: 1 1 auto;
  aspect-ratio: auto;
  width: 100%;
  height: auto;
  min-height: 0;
  border-radius: 3px;
}

.wt-stage-main:fullscreen .wt-controls,
.wt-stage-main:-webkit-full-screen .wt-controls {
  flex: 0 0 auto;
}

#wtYt iframe,
#wtYtPlayer {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  border: 0;
}

.wt-side {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
  min-height: 0;
}

.wt-faces {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  gap: 0.45rem;
  flex: 0 0 auto;
}

.wt-faces-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--wt-card-border);
  border-radius: 3px;
  background: #100c08;
  color: var(--wt-dim);
  font-family: var(--wt-display);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  line-height: 1.45;
}

.wt-faces:not(:has(.wt-face)) .wt-faces-empty {
  display: block;
}

.wt-faces:has(.wt-face) .wt-faces-empty {
  display: none;
}

.wt-face {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 3px;
  overflow: hidden;
  background: #0b0c10;
  border: 2px solid var(--wt-gold);
  box-shadow:
    0 0 0 3px #120e08,
    0 0 0 4px rgba(232, 200, 114, 0.45);
}

.wt-face.is-speaking {
  box-shadow:
    0 0 0 3px #120e08,
    0 0 0 4px var(--wt-gold),
    0 0 18px rgba(232, 200, 114, 0.55);
}

.wt-face video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wt-face span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.28rem 0.4rem;
  color: var(--wt-gold);
  font-family: var(--wt-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(180deg, transparent, rgba(16, 12, 8, 0.92));
  text-shadow: 0 1px 4px #000;
}

.wt-map-panel {
  margin-top: 0;
  border: 1px solid var(--wt-card-border);
  border-radius: 3px;
  overflow: hidden;
  background: #101218;
  flex: 0 0 auto;
}

.wt-map-head {
  padding: 0.7rem 0.85rem 0.35rem;
}

.wt-map-head h2 {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wt-dim);
}

.wt-map-head p {
  margin: 0.3rem 0 0;
  color: var(--wt-muted);
  font-size: 0.82rem;
}

.wt-map {
  height: 168px;
  min-height: 148px;
  width: 100%;
  background: #0b0c10;
}

.wt-map-status {
  margin: 0;
  padding: 0.65rem 0.95rem 0.85rem;
  color: var(--wt-dim);
  font-size: 0.88rem;
}

.wt-remote-audio {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 1;
  width: 8px;
  height: 8px;
  opacity: 0.01;
  pointer-events: none;
  overflow: hidden;
}

.wt-remote-audio audio {
  width: 8px;
  height: 8px;
}

.wt-draw {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  pointer-events: none;
  touch-action: none;
}

.wt-draw.is-on {
  pointer-events: auto;
  cursor: crosshair;
}

.wt-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.8rem;
  padding: 0.75rem 0.15rem 0;
}

.wt-icon-btn {
  appearance: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--wt-card-border);
  border-radius: 2px;
  background: #100c08;
  color: var(--wt-gold);
  cursor: pointer;
}

.wt-icon-btn[aria-pressed="true"] {
  border-color: var(--wt-accent);
  color: var(--wt-accent);
  box-shadow: 0 0 16px rgba(212, 160, 23, 0.25);
}

.wt-seek {
  flex: 1;
  min-width: 140px;
}

.wt-volume {
  width: 110px;
}

input[type="range"] {
  accent-color: var(--wt-accent);
  width: 100%;
}

.wt-chat {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 160px;
  max-height: none;
  border: 1px solid var(--wt-card-border);
  border-radius: 3px;
  background: linear-gradient(180deg, #18120c, #100c08);
  overflow: hidden;
}

.wt-chat h2 {
  margin: 0;
  font-family: var(--wt-display);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wt-gold);
}

.wt-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.55rem 0.7rem 0.1rem 0.9rem;
}

.wt-chat-head h2 {
  padding: 0.25rem 0 0;
}

.wt-chat-hint {
  margin: 0;
  padding: 0 0.9rem 0.45rem;
  color: var(--wt-dim);
  font-size: 0.78rem;
}

.wt-log {
  flex: 1;
  overflow: auto;
  padding: 0.2rem 0.9rem 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.wt-msg strong {
  display: block;
  color: var(--wt-muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wt-msg span {
  color: var(--wt-ink);
  font-size: 0.92rem;
}

.wt-chat form {
  display: flex;
  gap: 0.4rem;
  padding: 0.7rem;
  border-top: 1px solid var(--wt-card-border);
}

.wt-chat input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--wt-card-border);
  border-radius: 2px;
  padding: 0.6rem 0.7rem;
  background: #0b0c10;
  color: var(--wt-ink);
  font: inherit;
}

.wt-tap {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  background: rgba(8, 9, 12, 0.55);
}

.wt-tap[hidden] {
  display: none;
}

.wt-status {
  color: var(--wt-dim);
  font-size: 0.82rem;
}

.wt-cut {
  border-color: rgba(212, 160, 23, 0.35);
  color: var(--wt-ink);
}

.wt-narrate {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--wt-dim);
  font-size: 0.82rem;
}

.wt-intro {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1.1rem;
  background: rgba(8, 9, 12, 0.92);
  text-align: center;
  transition: opacity 0.4s ease;
}

.wt-intro.is-gone {
  opacity: 0;
  pointer-events: none;
}

.wt-intro-title {
  margin: 0;
  font-family: var(--wt-ornament);
  font-size: clamp(2.6rem, 7.5vw, 5rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 0.95;
  text-transform: uppercase;
}

.wt-story-overlay {
  position: fixed;
  left: 1.2rem;
  bottom: 1.2rem;
  z-index: 20;
  max-width: min(28rem, calc(100vw - 2.4rem));
  padding: 1rem 1.1rem 0.9rem;
  border: 1px solid var(--wt-card-border);
  border-radius: 3px;
  background: rgba(10, 12, 16, 0.88);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

.wt-story-overlay[hidden] {
  display: none;
}

.wt-story-kicker {
  margin: 0 0 0.35rem;
  color: var(--wt-accent);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.wt-story-title {
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.wt-story-copy,
.wt-story-progress {
  margin: 0;
  color: var(--wt-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.wt-story-progress {
  margin-top: 0.45rem;
  color: var(--wt-dim);
  font-size: 0.75rem;
}

.wt-spotlight {
  outline: 1px solid rgba(212, 160, 23, 0.45);
  box-shadow: 0 0 0 6px rgba(212, 160, 23, 0.12), 0 0 40px rgba(212, 160, 23, 0.18);
  border-radius: 3px;
}

@media (max-width: 860px) {
  .wt-hero-row {
    grid-template-columns: 1fr;
  }

  .wt-rule {
    width: 100%;
    height: 1px;
  }

  .wt-couches {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wt-stage-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .wt-chat {
    min-height: 220px;
    max-height: 280px;
  }

  .wt-theater.is-cinema .wt-stage-grid {
    grid-template-columns: 1fr;
  }

  .wt-theater.is-cinema .wt-side {
    order: 0;
    max-height: 42vh;
  }

  .wt-theater.is-cinema .wt-chat {
    min-height: 140px;
    max-height: none;
  }

  .wt-map {
    height: 200px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wt-enter,
  .wt-intro {
    transition: none;
  }

  .wt-playhead,
  .wt-reel-running .wt-bar > span,
  .wt-marquee-bulbs span,
  .wt-lk-chip[data-state="joining"],
  .wt-lk-chip[data-state="reconnecting"] {
    animation: none;
  }
}
