:root {
  color-scheme: dark;
  --night: #0b1017;
  --night-raised: #101720;
  --studio: #141d27;
  --equipment: #1a2632;
  --steel: #293744;
  --fog: #edf1ef;
  --silver: #bac4c8;
  --quiet: #84919a;
  --signal: #d8ff62;
  --signal-ink: #11170a;
  --live: #ff5b58;
  --info: #8eb9d8;
  --line: rgba(237, 241, 239, 0.1);
  --line-strong: rgba(237, 241, 239, 0.18);
  --focus: #d8ff62;
  --font-display: "Arial Narrow", "Aptos Display", "Segoe UI Variable Display", sans-serif;
  --font-body: "Aptos", "Segoe UI Variable Text", "Helvetica Neue", sans-serif;
  --font-utility: "Bahnschrift", "Arial Narrow", sans-serif;
  --radius-small: 6px;
  --radius-medium: 10px;
  --radius-large: 16px;
  --header-height: 68px;
  --page-max: 1720px;
  --player-ratio: 16 / 9;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--night);
  color: var(--fog);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  transform: translateY(-140%);
  background: var(--signal);
  color: var(--signal-ink);
  padding: 12px 16px;
  border-radius: var(--radius-small);
  font-weight: 700;
  transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1);
}

.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  height: var(--header-height);
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
  align-items: center;
  padding: 0 32px;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 16, 23, 0.96);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 10px;
  color: var(--fog);
  text-decoration: none;
  font-family: var(--font-utility);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.brand-mark { width: 29px; height: 29px; stroke: none; fill: var(--fog); }
.brand-mark .brand-signal { fill: var(--signal); }
.brand b { color: var(--signal); font-weight: 700; }
.brand-logo-image { width: 30px; height: 30px; object-fit: contain; }

.desktop-nav { display: flex; align-items: stretch; align-self: stretch; gap: 32px; }
.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  color: var(--quiet);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 160ms cubic-bezier(0.23, 1, 0.32, 1);
}
.nav-link:hover { color: var(--fog); }
.nav-link.active { color: var(--fog); }
.nav-link.active::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--signal);
  content: "";
}

.header-actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.icon-button, .avatar-button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--radius-small);
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 160ms cubic-bezier(0.23, 1, 0.32, 1), transform 120ms cubic-bezier(0.23, 1, 0.32, 1);
}
.icon-button:hover { background: var(--studio); }
.icon-button:active, .avatar-button:active, .button:active { transform: scale(0.97); }
.icon-button svg { width: 20px; height: 20px; }
.avatar-button {
  margin-left: 4px;
  border-radius: 50%;
  background: var(--equipment);
  color: var(--silver);
  font-family: var(--font-utility);
  font-size: 12px;
  font-weight: 700;
}
.avatar-button.authenticated { background: var(--signal); color: var(--signal-ink); }
.language-control { position: relative; }
.language-control > button { min-width: 132px; min-height: 40px; display: grid; grid-template-columns: 22px 1fr 12px; align-items: center; gap: 8px; border: 1px solid var(--line-strong); border-radius: var(--radius-small); padding: 0 10px; background: var(--night); color: var(--silver); cursor: pointer; font-size: 11px; font-weight: 700; text-align: left; }
.language-control > button:hover { border-color: rgba(237,241,239,.3); color: var(--fog); }
.language-control > button[aria-expanded="true"] { border-color: var(--signal); }
.language-chevron { color: var(--quiet); font-size: 14px; line-height: 1; text-align: right; }
.language-menu { position: absolute; z-index: 90; top: calc(100% + 7px); right: 0; width: 184px; overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--radius-small); padding: 5px; background: var(--equipment); box-shadow: 0 18px 44px rgba(0,0,0,.38); transform-origin: top right; animation: language-menu-in 150ms cubic-bezier(.23,1,.32,1); }
.language-menu[hidden] { display: none; }
.language-menu button { width: 100%; min-height: 40px; display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 9px; border: 0; border-radius: 4px; padding: 0 9px; background: transparent; color: var(--silver); cursor: pointer; font-size: 12px; text-align: left; }
.language-menu button:hover, .language-menu button:focus-visible { outline: 0; background: var(--studio); color: var(--fog); }
.language-menu button.selected { color: var(--signal); }
.language-menu small { color: var(--quiet); font-family: var(--font-utility); font-size: 8px; letter-spacing: .08em; }
.country-flag { position: relative; width: 22px; height: 14px; display: inline-block; overflow: hidden; border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), 0 1px 2px rgba(0,0,0,.25); }
.flag-en { background: linear-gradient(90deg,transparent 42%,#fff 42% 58%,transparent 58%),linear-gradient(transparent 34%,#fff 34% 66%,transparent 66%),linear-gradient(90deg,transparent 47%,#c8102e 47% 53%,transparent 53%),linear-gradient(transparent 43%,#c8102e 43% 57%,transparent 57%),linear-gradient(32deg,transparent 44%,#fff 44% 50%,#c8102e 50% 54%,#fff 54% 60%,transparent 60%),linear-gradient(-32deg,transparent 44%,#fff 44% 50%,#c8102e 50% 54%,#fff 54% 60%,transparent 60%),#012169; }
.flag-fr { background: linear-gradient(90deg,#002395 0 33.33%,#fff 33.33% 66.66%,#ed2939 66.66%); }
.flag-de { background: linear-gradient(#171717 0 33.33%,#dd0000 33.33% 66.66%,#ffce00 66.66%); }
.flag-es { background: linear-gradient(#aa151b 0 25%,#f1bf00 25% 75%,#aa151b 75%); }
.flag-it { background: linear-gradient(90deg,#009246 0 33.33%,#fff 33.33% 66.66%,#ce2b37 66.66%); }
.flag-zh { background: #de2910; }
.flag-zh::after { position: absolute; top: -1px; left: 3px; color: #ffde00; content: "★"; font-size: 8px; line-height: 10px; }
@keyframes language-menu-in { from { opacity: 0; transform: scale(.97) translateY(-4px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-banners {
  position: relative;
  z-index: 12;
  min-height: 52px;
  display: grid;
  grid-template-columns: 5px minmax(0,1fr) auto auto 44px;
  align-items: center;
  gap: 16px;
  padding: 0 18px 0 0;
  border-bottom: 1px solid var(--line);
  background: var(--night-raised);
}
.site-banners[hidden] { display: none; }
.banner-signal { align-self: stretch; background: var(--signal); }
.banner-content { min-width: 0; display: flex; align-items: baseline; gap: 10px; }
.banner-content p { margin: 0; color: var(--fog); font-size: 13px; font-weight: 700; }
.banner-content span { overflow: hidden; color: var(--quiet); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.banner-link { color: var(--signal); font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.banner-link:hover { text-decoration: underline; }
.banner-controls { display: flex; align-items: center; gap: 4px; color: var(--quiet); font-family: var(--font-utility); font-size: 10px; }
.banner-controls[hidden] { display: none; }
.banner-controls button, .banner-dismiss { width: 36px; height: 36px; border: 0; border-radius: var(--radius-small); background: transparent; color: var(--quiet); cursor: pointer; }
.banner-controls button:hover, .banner-dismiss:hover { background: var(--equipment); color: var(--fog); }
.banner-dismiss { font-size: 22px; }

.button {
  min-height: 44px;
  border-radius: var(--radius-small);
  border: 1px solid transparent;
  padding: 0 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 700;
  transition: background 160ms cubic-bezier(0.23, 1, 0.32, 1), border-color 160ms cubic-bezier(0.23, 1, 0.32, 1), color 160ms cubic-bezier(0.23, 1, 0.32, 1), transform 120ms cubic-bezier(0.23, 1, 0.32, 1);
}
.button-secondary { border-color: var(--line-strong); background: transparent; }
.button-secondary:hover { border-color: var(--silver); background: var(--studio); }
.button-primary { background: var(--fog); color: var(--night); }
.button-primary:hover { background: #ffffff; }
.button-primary.following { background: var(--studio); color: var(--fog); border-color: var(--line-strong); }
.button-signal { background: var(--signal); color: var(--signal-ink); }
.button-signal:hover { background: #e3ff8c; }
.signal-dot { width: 7px; height: 7px; background: var(--live); border-radius: 50%; }

.page-shell {
  width: min(var(--page-max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-areas: "main chat";
  grid-template-columns: minmax(0, 1fr) 368px;
  min-height: calc(100vh - var(--header-height));
}
body.has-left-rail .page-shell {
  width: min(var(--page-max), 100%);
  grid-template-columns: 220px minmax(0, 1fr) 368px;
}

.room-switcher {
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 8px max(18px, calc((100vw - 1500px) / 2 + 30px));
  border-bottom: 1px solid var(--line);
  background: #0e141c;
}
.room-switcher > span { color: var(--quiet); font-family: var(--font-utility); font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.room-switcher > div { display: flex; gap: 7px; overflow-x: auto; scrollbar-width: thin; }
.room-switcher button { min-height: 32px; border: 1px solid var(--line-strong); border-radius: 999px; padding: 0 13px; background: transparent; color: var(--silver); cursor: pointer; white-space: nowrap; font-size: 12px; font-weight: 700; }
.room-switcher button:hover, .room-switcher button.active { border-color: var(--signal); background: rgba(216,255,98,.08); color: var(--fog); }
.room-switcher button i { display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--quiet); }
.room-switcher button.live i { background: var(--live); }
.room-switcher button svg { width: 11px; margin-left: 5px; }

.left-rail {
  grid-area: left;
  min-width: 0;
  margin: 28px 0 80px 20px;
  align-self: start;
  position: sticky;
  top: calc(var(--header-height) + 22px);
  display: grid;
  gap: 14px;
  max-height: calc(100vh - var(--header-height) - 44px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--steel) transparent;
}
.rail-ad-card {
  border: 1px solid var(--line);
  background: var(--night-raised);
}
.rail-ad-card[hidden] { display: none; }
.rail-ad { min-height: 360px; display: flex; flex-direction: column; }
.rail-ad-image { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-bottom: 1px solid var(--line); }
.rail-ad-copy { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 20px; }
.rail-ad-copy small { margin-bottom: 18px; color: var(--signal); font-family: var(--font-utility); font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.rail-ad-copy h2 { margin: 0; font-family: var(--font-display); font-size: 26px; line-height: 1; }
.rail-ad-copy p { margin: 12px 0 22px; color: var(--quiet); font-size: 13px; line-height: 1.5; }
.rail-ad-copy a { margin-top: auto; color: var(--fog); font-size: 12px; font-weight: 700; }
.ad-rail-controls { min-height: 42px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); color: var(--quiet); font-family: var(--font-utility); font-size: 10px; }
.ad-rail-controls[hidden] { display: none; }
.ad-rail-controls button { width: 42px; height: 42px; border: 0; background: transparent; color: var(--fog); cursor: pointer; }
.ad-rail-controls button:hover { background: var(--equipment); }

.broadcast-column { grid-area: main; min-width: 0; padding: 28px 32px 80px; }
.live-rail {
  grid-area: chat;
  position: sticky;
  top: var(--header-height);
  height: calc(100vh - var(--header-height));
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line);
  background: var(--night);
}
body[data-chat-rail="left"] .live-rail { border-right: 1px solid var(--line); border-left: 0; }
[data-main-block][hidden], [data-left-block][hidden], .audience-group[hidden], .live-rail[hidden], .left-rail[hidden], .market-disclaimer[hidden] { display: none !important; }
.rail-panel[hidden] { display: none !important; }

.player-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: var(--player-ratio);
  background: #080b0f;
  border-radius: var(--radius-medium);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
}
.player-shell iframe { width: 100%; height: 100%; border: 0; background: #080b0f; }
.preview-gate { position:absolute; z-index:7; inset:0; display:grid; place-content:center; justify-items:center; padding:32px; background:rgba(8,12,17,.94); text-align:center; }
.preview-gate[hidden],.preview-countdown[hidden] { display:none; }
.preview-gate h2 { margin:8px 0 10px; font-family:var(--font-display); font-size:clamp(28px,4vw,52px); letter-spacing:-.04em; }
.preview-gate p:not(.eyebrow) { max-width:460px; margin:0 0 22px; color:var(--silver); line-height:1.55; }
.preview-gate .button { text-decoration:none; }
.preview-countdown { position:absolute; z-index:6; left:18px; bottom:17px; display:flex; align-items:center; gap:8px; padding:7px 9px; border:1px solid var(--line-strong); border-radius:4px; background:rgba(11,16,23,.86); font-family:var(--font-utility); font-size:9px; letter-spacing:.1em; }
.preview-countdown span { color:var(--signal); }
.preview-countdown strong { font-variant-numeric:tabular-nums; }
.autoplay-notice { position: absolute; z-index: 7; right: 18px; bottom: 56px; max-width: 380px; display: flex; align-items: center; gap: 14px; padding: 12px 12px 12px 15px; border: 1px solid var(--line-strong); border-radius: var(--radius-small); background: rgba(16,24,33,.96); box-shadow: 0 16px 42px rgba(0,0,0,.28); }
.autoplay-notice[hidden] { display: none; }
.autoplay-notice div { display: grid; gap: 2px; }
.autoplay-notice strong { font-size: 12px; }
.autoplay-notice span { color: var(--quiet); font-size: 10px; }
.autoplay-notice button { min-height: 36px; border: 0; border-radius: 4px; padding: 0 12px; background: var(--signal); color: var(--signal-ink); cursor: pointer; font-weight: 800; white-space: nowrap; }
.stage-poster {
  position: absolute;
  inset: 0;
  overflow: hidden;
  display: grid;
  place-items: center;
  background-color: #101821;
}
.stage-poster::before {
  position: absolute;
  inset: 0 0 auto 0;
  height: 7px;
  background: var(--signal);
  content: "";
}
.stage-poster::after {
  position: absolute;
  top: 0;
  right: 19%;
  bottom: 0;
  width: 1px;
  background: rgba(216,255,98,.28);
  content: "";
}
.frequency-rings { position: absolute; right: 4%; bottom: -42%; width: 58%; aspect-ratio: 1; }
.frequency-rings span { position: absolute; inset: 0; border: 1px solid rgba(216,255,98,.2); border-radius: 50%; }
.frequency-rings span:nth-child(2) { inset: 15%; border-color: rgba(216,255,98,.32); }
.frequency-rings span:nth-child(3) { inset: 31%; border-color: var(--signal); background: #17211c; }

.stage-copy { position: absolute; left: 8%; top: 13%; z-index: 2; }
.stage-copy p { margin: 0; }
.stage-kicker, .stage-meta {
  font-family: var(--font-utility);
  font-size: clamp(9px, .9vw, 13px);
  font-weight: 600;
  letter-spacing: .18em;
}
.stage-kicker { color: var(--signal); }
.stage-city { margin-top: 5% !important; color: var(--silver); font-family: var(--font-utility); font-size: clamp(12px, 1.2vw, 18px); letter-spacing: .28em; }
.stage-rule { width: 52px; height: 3px; margin: 7% 0 7%; background: var(--signal); }
.stage-artist {
  font-family: var(--font-display);
  font-stretch: condensed;
  font-size: clamp(54px, 8vw, 136px);
  font-weight: 900;
  line-height: .72;
  letter-spacing: -.065em;
}
.stage-artist.stage-artist-cjk { max-width: none; font-size: clamp(40px,5.2vw,82px); line-height: .9; letter-spacing: -.04em; white-space: nowrap; }
.stage-artist.stage-artist-cjk.stage-artist-long { max-width: 72%; font-size: clamp(34px,4.2vw,68px); line-height: .98; white-space: normal; text-wrap: balance; }
.stage-meta { margin-top: 8% !important; color: var(--silver); }
.waveform { position: absolute; z-index: 2; right: 4%; bottom: 8%; width: min(42%, 520px); height: auto; color: var(--signal); opacity: .68; stroke-width: 1.2; }
.waveform path { stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw-wave 3.6s cubic-bezier(.23,1,.32,1) forwards; }
@keyframes draw-wave { to { stroke-dashoffset: 0; } }

.play-live-button {
  position: absolute;
  z-index: 4;
  right: 6%;
  top: 11%;
  min-height: 44px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius-small);
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(11,16,23,.78);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}
.play-live-button:hover { background: var(--night); border-color: var(--signal); }
.play-live-button:disabled { cursor: wait; border-color: var(--line); color: var(--quiet); background: rgba(11,16,23,.72); }
.play-live-button svg { width: 18px; height: 18px; }
.player-topbar { position: absolute; z-index: 5; top: 22px; left: 22px; display: flex; align-items: center; gap: 8px; pointer-events: none; }
.live-badge, .player-location {
  height: 27px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 4px;
  padding: 0 9px;
  background: rgba(11,16,23,.82);
  font-family: var(--font-utility);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
}
.live-badge { color: var(--fog); }
.live-badge b { font: inherit; }
.live-badge span { width: 6px; height: 6px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 3px rgba(255,91,88,.18); }
.live-badge.waiting { color: var(--silver); }
.live-badge.waiting span { background: var(--signal); box-shadow: 0 0 0 3px rgba(216,255,98,.14); }
.live-badge.offline { color: var(--quiet); }
.live-badge.offline span { background: var(--quiet); box-shadow: none; }
.player-location { color: var(--silver); }
.player-stats {
  position: absolute;
  z-index: 5;
  right: 18px;
  bottom: 17px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: 4px;
  padding: 8px 10px;
  background: rgba(11,16,23,.8);
  color: var(--silver);
  font-family: var(--font-utility);
  font-size: 11px;
  pointer-events: none;
}
.player-stats strong { color: var(--fog); font-variant-numeric: tabular-nums; }
.quality-label { border-left: 1px solid var(--line-strong); padding-left: 14px; color: var(--signal); }

.broadcast-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; padding: 28px 2px 24px; }
.market-disclaimer { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 10px 12px; border-left: 3px solid var(--signal); background: var(--night-raised); color: var(--quiet); font-size: 12px; line-height: 1.4; }
.market-disclaimer strong { flex: 0 0 auto; color: var(--fog); }
.room-tool-strip { min-height: 54px; display: flex; align-items: stretch; margin-top: 10px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.room-tool-label { flex: 1 1 auto; display: flex; align-items: center; color: var(--quiet); font-family: var(--font-utility); font-size: 9px; font-weight: 700; letter-spacing: .16em; }
.room-tool-strip button,.room-tool-strip a { min-width: 94px; min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-left: 1px solid var(--line); padding: 0 12px; background: transparent; color: var(--silver); cursor: pointer; text-decoration: none; font-size: 11px; font-weight: 700; transition: background 150ms cubic-bezier(.23,1,.32,1),color 150ms cubic-bezier(.23,1,.32,1); }
.room-tool-strip button:hover,.room-tool-strip a:hover { background: var(--night-raised); color: var(--fog); }
.room-tool-strip button:active,.room-tool-strip a:active { background: var(--studio); }
.room-tool-strip button:disabled { cursor: not-allowed; color: var(--quiet); opacity: .48; }
.room-tool-strip svg { width: 17px; height: 17px; color: var(--signal); }
.room-tool-strip button:disabled svg { color: currentColor; }
.eyebrow { margin: 0 0 8px; color: var(--quiet); font-family: var(--font-utility); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.signal-text { color: var(--signal); }
h1, h2, p { text-wrap: pretty; }
h1 { margin: 0; font-family: var(--font-display); font-size: clamp(36px, 4vw, 58px); line-height: .98; letter-spacing: -.045em; }
.broadcast-deck { max-width: 680px; margin: 14px 0 0; color: var(--silver); font-size: 16px; line-height: 1.5; }
.broadcast-actions { display: flex; gap: 8px; flex: 0 0 auto; }
.action-icon { border: 1px solid var(--line-strong); }

.host-strip { display: flex; align-items: center; gap: 14px; padding: 18px 2px 28px; border-bottom: 1px solid var(--line); }
.main-modules { display: contents; }
.host-avatar { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--equipment); color: var(--signal); font-family: var(--font-utility); font-weight: 800; }
.host-copy { min-width: 180px; }
.host-name-row { display: flex; align-items: center; gap: 6px; }
.lecturer-league { padding: 30px 0 36px; border-bottom: 1px solid var(--line); }
.lecturer-league .section-heading { margin-bottom: 18px; }
.lecturer-league-note { max-width: 260px; margin: 0; color: var(--quiet); font-size: 11px; line-height: 1.5; text-align: right; }
.lecturer-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.lecturer-card { position: relative; min-width: 0; padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(20,29,39,.42); }
.lecturer-card.leading { background: rgba(216,255,98,.035); }
.lecturer-rank { position: absolute; top: 12px; right: 14px; color: var(--steel); font-family: var(--font-utility); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.lecturer-card.leading .lecturer-rank { color: var(--signal); }
.lecturer-identity { display: grid; grid-template-columns: 42px minmax(0,1fr); gap: 12px; align-items: start; }
.lecturer-identity>i { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--equipment); color: var(--signal); font-family: var(--font-utility); font-size: 11px; font-style: normal; font-weight: 800; }
.lecturer-identity>div { min-width: 0; display: grid; gap: 3px; }
.lecturer-identity strong { padding-right: 28px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.lecturer-identity span { color: var(--quiet); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.lecturer-identity p { min-height: 34px; margin: 6px 0 0; color: var(--silver); font-size: 11px; line-height: 1.55; }
.lecturer-score { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 1px 6px; margin-top: 18px; }
.lecturer-score>strong { font-family: var(--font-display); font-size: 30px; line-height: 1; letter-spacing: -.04em; }
.lecturer-score>span { align-self: center; color: var(--quiet); font-size: 10px; text-transform: uppercase; }
.lecturer-vote-meter { grid-column: 1/-1; height: 3px; margin: 9px 0 13px; overflow: hidden; background: var(--equipment); }
.lecturer-vote-meter i { display: block; height: 100%; background: var(--signal); transition: width .3s ease; }
.lecturer-vote-button { grid-column: 1/-1; height: 38px; border: 1px solid var(--line-strong); border-radius: 4px; background: transparent; color: var(--fog); cursor: pointer; font-size: 11px; font-weight: 800; }
.lecturer-vote-button:hover:not(:disabled) { border-color: var(--signal); color: var(--signal); }
.lecturer-vote-button:disabled { cursor: default; color: var(--quiet); opacity: .72; }
.programme-lecturer { color: var(--signal)!important; font-size: 10px!important; font-weight: 700; letter-spacing: .02em; }
.host-name-row h2 { margin: 0; font-size: 15px; }
.verified-icon { width: 17px; height: 17px; fill: var(--signal); stroke: none; }
.verified-icon .verified-check { fill: none; stroke: var(--signal-ink); stroke-width: 2; }
.host-copy p { margin: 4px 0 0; color: var(--quiet); font-size: 13px; }
.host-stat { display: grid; gap: 2px; margin-left: 22px; }
.host-stat strong { font-size: 15px; font-variant-numeric: tabular-nums; }
.host-stat span { color: var(--quiet); font-size: 12px; }

.giveaway-banner { position: relative; overflow: hidden; margin: 30px 0 48px; min-height: 174px; display: grid; grid-template-columns: 100px minmax(240px,1fr) 180px auto; align-items: center; gap: 24px; padding: 28px 28px; background: var(--studio); border-radius: var(--radius-medium); box-shadow: inset 0 0 0 1px var(--line); }
.giveaway-banner::before { position: absolute; top: 0; bottom: 0; left: 0; width: 5px; background: var(--signal); content: ""; }
.giveaway-number, .dialog-number { color: var(--signal); font-family: var(--font-display); font-size: 78px; font-weight: 900; line-height: 1; letter-spacing: -.08em; }
.giveaway-copy h2 { margin: 0; font-family: var(--font-display); font-size: 27px; letter-spacing: -.025em; }
.giveaway-copy p:last-child { max-width: 480px; margin: 8px 0 0; color: var(--silver); font-size: 14px; line-height: 1.5; }
.giveaway-meter { display: grid; gap: 10px; }
.giveaway-meter > div:first-child { display: flex; align-items: baseline; gap: 7px; }
.giveaway-meter strong { font-family: var(--font-utility); font-size: 22px; font-variant-numeric: tabular-nums; }
.giveaway-meter span { color: var(--quiet); font-size: 12px; }
.meter-track { overflow: hidden; height: 3px; background: var(--steel); }
.meter-track span { display: block; width: 72%; height: 100%; background: var(--signal); transition: transform 250ms cubic-bezier(.23,1,.32,1); transform-origin: left; }

.programme { scroll-margin-top: 100px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 18px; }
.section-heading h2 { margin: 0; font-family: var(--font-display); font-size: 28px; letter-spacing: -.03em; }
.section-heading a { color: var(--silver); font-size: 13px; text-decoration: none; }
.section-heading a:hover { color: var(--signal); }
.programme-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.programme-list li { min-height: 82px; display: grid; grid-template-columns: 72px minmax(0,1fr) auto; align-items: center; gap: 16px; border-bottom: 1px solid var(--line); }
body[data-density="compact"] .broadcast-column { padding-top: 20px; }
body[data-density="compact"] .broadcast-header { padding-block: 20px 16px; }
body[data-density="compact"] .host-strip { padding-block: 12px 18px; }
body[data-density="compact"] .giveaway-banner { min-height: 142px; margin-block: 22px 34px; padding-block: 20px; }
body[data-density="compact"] .programme-list li { min-height: 66px; }
body[data-density="spacious"] .broadcast-column { padding-top: 40px; }
body[data-density="spacious"] .broadcast-header { padding-block: 38px 32px; }
body[data-density="spacious"] .host-strip { padding-block: 26px 36px; }
body[data-density="spacious"] .giveaway-banner { margin-block: 42px 60px; padding-block: 36px; }
body[data-density="spacious"] .programme-list li { min-height: 96px; }
.programme-list li.on-air { background: rgba(216,255,98,.035); }
.programme-time { display: grid; gap: 4px; color: var(--quiet); font-family: var(--font-utility); font-size: 13px; font-variant-numeric: tabular-nums; }
.programme-time .programme-day { color: var(--signal); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.programme-time b { color: var(--fog); font-size: 13px; font-weight: 600; }
.programme-list li > div { display: grid; gap: 5px; }
.programme-list strong { font-size: 14px; }
.programme-list li > div span { color: var(--quiet); font-size: 13px; }
.programme-status { color: var(--signal); font-family: var(--font-utility); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.text-button { min-height: 44px; border: 0; padding: 0 4px; background: transparent; color: var(--silver); cursor: pointer; font-size: 13px; font-weight: 700; }
.text-button:hover { color: var(--signal); }
.text-button[aria-pressed="true"] { color: var(--signal); }

.rail-tabs { height: 60px; display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.rail-tabs button { position: relative; border: 0; background: transparent; color: var(--quiet); cursor: pointer; font-size: 13px; font-weight: 700; }
.rail-tabs button[aria-selected="true"] { color: var(--fog); }
.rail-tabs button[aria-selected="true"]::after { position: absolute; right: 24px; bottom: -1px; left: 24px; height: 2px; background: var(--signal); content: ""; }
.rail-panel { min-height: 0; flex: 1; }
.chat-panel { display: flex; flex-direction: column; }
.community-note { margin: 16px 18px 6px; display: flex; align-items: center; gap: 10px; padding: 11px 12px; background: var(--night-raised); color: var(--quiet); border-radius: var(--radius-small); font-size: 12px; }
.community-note svg { width: 18px; height: 18px; color: var(--signal); flex: 0 0 auto; }
.chat-messages { min-height: 0; flex: 1; overflow-y: auto; padding: 10px 18px 18px; scrollbar-width: thin; scrollbar-color: var(--steel) transparent; }
.chat-message { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 10px; padding: 11px 0; }
.chat-avatar { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: var(--night); font-family: var(--font-utility); font-size: 10px; font-weight: 800; }
.avatar-blue { background: #8eb9d8; }.avatar-ochre { background: #d8b46c; }.avatar-signal { background: var(--signal); }.avatar-rose { background: #d99ca3; }.avatar-slate { background: #a9b0b9; }
.chat-message > div:last-child { min-width: 0; }
.chat-message p { margin: 0; font-size: 13px; line-height: 1.45; }
.chat-message p:first-child { display: flex; align-items: center; gap: 7px; margin-bottom: 3px; }
.chat-message strong { font-size: 12px; }
.chat-message p:first-child span { color: var(--quiet); font-size: 10px; font-variant-numeric: tabular-nums; }
.chat-message em { border-radius: 3px; padding: 2px 4px; background: var(--signal); color: var(--signal-ink); font-family: var(--font-utility); font-size: 8px; font-style: normal; font-weight: 800; }
.chat-message em.member-badge { border: 1px solid var(--line-strong); background: transparent; color: var(--quiet); }
.chat-message p:last-child { color: var(--silver); }
.reaction-row { display: flex; gap: 7px; padding: 10px 18px 0; border-top: 1px solid var(--line); }
.reaction-row button { height: 34px; min-width: 62px; border: 1px solid var(--line); border-radius: 18px; background: var(--night-raised); cursor: pointer; color: var(--silver); font-size: 13px; transition: border-color 160ms, transform 120ms; }
.reaction-row button:hover { border-color: var(--signal); }
.reaction-row button[aria-pressed="true"] { border-color: var(--signal); background: rgba(216,255,98,.08); color: var(--signal); }
.reaction-row button:active { transform: scale(.97); }
.reaction-row span { color: var(--quiet); font-size: 11px; font-variant-numeric: tabular-nums; }
.chat-composer { padding: 12px 18px 18px; }
.chat-composer label { display: block; margin-bottom: 7px; color: var(--quiet); font-size: 11px; font-weight: 700; }
.chat-composer > div:first-of-type { display: grid; grid-template-columns: 40px 1fr 44px; background: var(--night-raised); border: 1px solid var(--line-strong); border-radius: var(--radius-small); transition: border-color 160ms; }
.chat-composer > div:first-of-type:focus-within { border-color: var(--signal); }
.chat-composer input { min-width: 0; height: 44px; border: 0; padding: 0 12px; outline: 0; background: transparent; color: var(--fog); font-size: 13px; }
.chat-composer input::placeholder { color: var(--quiet); }
.emoji-trigger { border: 0; border-right: 1px solid var(--line); background: transparent; color: var(--quiet); cursor: pointer; font-size: 19px; }
.emoji-trigger:hover, .emoji-trigger[aria-expanded="true"] { color: var(--signal); }
.chat-composer .emoji-picker { display: grid; grid-template-columns: repeat(8, 1fr); gap: 3px; margin-top: 7px; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius-small); background: var(--studio); }
.chat-composer .emoji-picker[hidden] { display: none; }
.emoji-picker button { min-width: 0; height: 32px; border: 0; border-radius: 4px; background: transparent; cursor: pointer; font-size: 17px; }
.emoji-picker button:hover { background: var(--equipment); }
.assistant-persona { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.assistant-persona label, .community-disclosure { color: var(--quiet); font-size: 11px; }
.assistant-persona select { min-width: 0; height: 34px; border: 1px solid var(--line); border-radius: 4px; background: var(--studio); color: var(--paper); padding: 0 8px; }
.community-disclosure { margin: 8px 0 0; line-height: 1.45; }

.audience-group { margin: 0 18px 18px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-small); background: var(--night-raised); }
.audience-group-left { margin: 0; }
.audience-group-fallback { display: none; }
.audience-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.audience-group h2 { margin: 0; font-size: 15px; }
.audience-total { flex: 0 0 auto; display: grid; justify-items: end; gap: 1px; }
.audience-total strong { color: var(--signal); font-family: var(--font-utility); font-size: 24px; line-height: 1; font-variant-numeric: tabular-nums; }
.audience-total span { color: var(--quiet); font-size: 9px; }
.audience-privacy { margin: 6px 0 14px; color: var(--quiet); font-size: 10px; line-height: 1.4; }
.audience-list { display: grid; gap: 7px; }
.audience-person { width: 100%; display: inline-flex; align-items: center; gap: 8px; min-height: 35px; padding: 0 9px 0 6px; border: 1px solid var(--line); border-radius: var(--radius-small); color: var(--silver); font-size: 11px; }
.audience-person i { width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; background: var(--equipment); color: var(--signal); font-style: normal; font-size: 9px; font-weight: 800; }
.audience-person.self { border-color: var(--signal); color: var(--fog); }
.audience-person em { margin-left: auto; color: var(--signal); font-style: normal; font-size: 8px; font-weight: 800; }
.password-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 22px; }
.password-dialog input { width: 100%; }
.send-button { width: 44px; height: 44px; border: 0; background: transparent; color: var(--signal); cursor: pointer; }
.send-button svg { width: 19px; height: 19px; }
.composer-note { display: block; margin-top: 7px; color: var(--quiet); font-size: 10px; }

.info-panel { overflow-y: auto; padding: 28px 24px; }
.info-block h2 { margin: 0 0 10px; font-family: var(--font-display); font-size: 28px; letter-spacing: -.03em; }
.info-block > p:last-child { margin: 0; color: var(--silver); font-size: 14px; line-height: 1.55; }
.room-facts { margin: 28px 0 0; }
.room-facts div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.room-facts dt { color: var(--quiet); }
.room-facts dd { margin: 0; font-weight: 600; }
.privacy-card { display: grid; grid-template-columns: 24px 1fr; gap: 12px; margin-top: 28px; padding: 16px; border-radius: var(--radius-small); background: var(--night-raised); }
.privacy-card svg { width: 22px; height: 22px; color: var(--signal); }
.privacy-card strong { font-size: 13px; }
.privacy-card p { margin: 5px 0 0; color: var(--quiet); font-size: 12px; line-height: 1.45; }

.mobile-nav { display: none; }

.dialog {
  width: min(92vw, 520px);
  max-height: min(86vh, 760px);
  overflow-y: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-large);
  padding: 32px;
  background: var(--studio);
  color: var(--fog);
  box-shadow: 0 24px 70px rgba(0,0,0,.5);
}
.dialog::backdrop { background: rgba(4,7,10,.78); backdrop-filter: blur(4px); }
.dialog[open] { animation: dialog-in 220ms cubic-bezier(.23,1,.32,1); }
@keyframes dialog-in { from { opacity: 0; transform: scale(.97) translateY(8px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.dialog-close-form { position: absolute; top: 18px; right: 18px; }
.dialog-close { width: 44px; height: 44px; border: 0; border-radius: var(--radius-small); background: transparent; color: var(--quiet); cursor: pointer; font-size: 28px; line-height: 1; }
.dialog-close:hover { background: var(--equipment); color: var(--fog); }
.dialog-number { margin-bottom: 26px; }
.dialog h2 { max-width: 390px; margin: 0; font-family: var(--font-display); font-size: 38px; line-height: 1; letter-spacing: -.04em; text-wrap: balance; }
.dialog-intro { margin: 14px 0 26px; color: var(--silver); font-size: 14px; line-height: 1.55; }
.giveaway-form { display: grid; }
.giveaway-form > label:not(.checkbox-row), .search-dialog label { margin: 15px 0 7px; color: var(--silver); font-size: 12px; font-weight: 700; }
.giveaway-form input:not([type="checkbox"]), .giveaway-form select, .search-dialog input {
  width: 100%;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-small);
  padding: 0 12px;
  outline: 0;
  background: var(--night-raised);
  color: var(--fog);
}
.giveaway-form input:focus, .giveaway-form select:focus, .search-dialog input:focus { border-color: var(--signal); }
.giveaway-form input::placeholder, .search-dialog input::placeholder { color: var(--quiet); }
.checkbox-row { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; margin-top: 16px; color: var(--silver); font-size: 12px; line-height: 1.45; }
.checkbox-row input { width: 18px; height: 18px; margin: 0; accent-color: var(--signal); }
.checkbox-row a { color: var(--signal); }
.dialog-submit { width: 100%; margin-top: 24px; }
.form-status { min-height: 18px; margin: 10px 0 0; color: var(--signal); font-size: 12px; text-align: center; }
.setup-steps { list-style: none; margin: 0; padding: 0; }
.setup-steps li { min-height: 64px; display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 12px; border-top: 1px solid var(--line); }
.setup-steps li > span { color: var(--signal); font-family: var(--font-utility); font-size: 12px; }
.setup-steps p { margin: 0 0 3px; color: var(--quiet); font-size: 11px; }
.setup-steps strong, .setup-steps code { color: var(--fog); font-size: 13px; }
.setup-steps code { font-family: "Cascadia Mono", Consolas, monospace; }
.copy-button { min-width: 56px; height: 36px; border: 1px solid var(--line-strong); border-radius: var(--radius-small); background: transparent; color: var(--silver); cursor: pointer; font-size: 11px; font-weight: 700; }
.copy-button:hover { border-color: var(--signal); color: var(--signal); }
.obs-note { display: grid; grid-template-columns: 24px 1fr; gap: 11px; margin-top: 22px; padding: 14px; border-radius: var(--radius-small); background: var(--night-raised); }
.obs-note svg { width: 22px; height: 22px; color: var(--signal); }
.obs-note p { display: grid; gap: 3px; margin: 0; color: var(--quiet); font-size: 12px; line-height: 1.4; }
.obs-note strong { color: var(--fog); font-size: 12px; }
.analytics-card { margin-top: 14px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-medium); background: var(--night-raised); }
.analytics-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.analytics-heading .eyebrow { margin-bottom: 4px; }
.analytics-heading h3 { margin: 0; font-family: var(--font-display); font-size: 18px; letter-spacing: -.02em; }
.analytics-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; margin-top: 16px; background: var(--line); }
.analytics-grid > div { display: grid; gap: 4px; padding: 12px 10px; background: var(--studio); }
.analytics-grid strong { color: var(--fog); font-family: var(--font-utility); font-size: 22px; font-variant-numeric: tabular-nums; }
.analytics-grid span { color: var(--quiet); font-size: 10px; }
.analytics-privacy { margin: 13px 0 0; color: var(--quiet); font-size: 10px; line-height: 1.45; }
.dialog-primary { width: 100%; margin-top: 18px; }
.obs-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.giveaway-dialog {
  width: min(94vw, 940px);
  max-height: min(92dvh, 780px);
  overflow: hidden;
  padding: 0;
  background: var(--studio);
}
.giveaway-dialog .dialog-close-form { z-index: 8; top: 20px; right: 22px; }
.giveaway-dialog .dialog-close { border: 1px solid transparent; background: rgba(11,16,23,.38); }
.giveaway-dialog .dialog-close:hover { border-color: var(--line-strong); }
.giveaway-dialog-shell { min-height: 0; }
.giveaway-dialog-header {
  position: relative;
  padding: 34px 84px 24px 40px;
  border-bottom: 1px solid var(--line);
  background: var(--night-raised);
}
.giveaway-dialog-header::after {
  position: absolute;
  right: 40px;
  bottom: -1px;
  left: 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--signal) 0 16%, transparent 16%);
  content: "";
}
.giveaway-dialog-header .eyebrow { margin-bottom: 9px; }
.giveaway-dialog-header h2 { max-width: 620px; font-size: clamp(34px,4vw,48px); line-height: .98; }
.giveaway-dialog-header .dialog-intro { max-width: 650px; margin: 12px 0 0; }
.giveaway-dialog-body {
  display: grid;
  grid-template-columns: minmax(360px,1.08fr) minmax(300px,.92fr);
  gap: 34px;
  align-items: center;
  padding: 30px 40px 36px;
}
.giveaway-wheel-panel { min-width: 0; }
.wheel-stage {
  position: relative;
  width: min(100%, 410px);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
}
.wheel-stage::before {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: repeating-conic-gradient(from -1deg, rgba(237,241,239,.24) 0deg 1deg, transparent 1deg 10deg);
  -webkit-mask: radial-gradient(circle, transparent 0 48%, #000 48.5% 51%, transparent 51.5%);
  mask: radial-gradient(circle, transparent 0 48%, #000 48.5% 51%, transparent 51.5%);
  pointer-events: none;
  content: "";
}
.prize-wheel {
  position: absolute;
  inset: 24px;
  overflow: hidden;
  border: 10px solid var(--night-raised);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line-strong), 0 22px 55px rgba(0,0,0,.38);
  transition: transform 4.8s cubic-bezier(.12,.72,.1,1);
}
.prize-wheel::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, transparent 0 28%, rgba(8,12,16,.08) 58%, rgba(8,12,16,.34) 100%);
  pointer-events: none;
  content: "";
}
.wheel-pointer {
  position: absolute;
  z-index: 6;
  top: 7px;
  left: 50%;
  width: 38px;
  height: 48px;
  transform: translateX(-50%);
  filter: drop-shadow(0 5px 5px rgba(0,0,0,.45));
}
.wheel-pointer::before {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--fog);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  content: "";
}
.wheel-pointer span { position: absolute; top: 5px; left: 50%; width: 7px; height: 7px; transform: translateX(-50%); border-radius: 50%; background: var(--night); }
#wheelLabels { position: absolute; z-index: 2; inset: 0; }
.wheel-label {
  position: absolute;
  display: grid;
  place-items: center;
  width: 34px;
  height: 24px;
  transform: translate(-50%,-50%);
  border: 1px solid rgba(11,16,23,.24);
  border-radius: 999px;
  background: rgba(237,241,239,.78);
  color: #0b1017;
  font-family: var(--font-utility);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .05em;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.wheel-hub {
  position: absolute;
  z-index: 4;
  inset: 38%;
  display: grid;
  place-items: center;
  border: 7px solid var(--studio);
  border-radius: 50%;
  background: var(--signal);
  color: var(--signal-ink);
  box-shadow: 0 0 0 1px var(--line-strong), 0 8px 18px rgba(0,0,0,.28);
}
.wheel-hub span { font-family: var(--font-utility); font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.giveaway-integrity {
  max-width: 420px;
  margin: 17px auto 0;
  color: var(--quiet);
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
}
.giveaway-console-panel { min-width: 0; }
.giveaway-prize-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-bottom: 18px; }
.giveaway-prize-card {
  min-height: 78px;
  display: grid;
  grid-template-columns: 26px minmax(0,1fr);
  align-content: center;
  gap: 2px 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  padding: 12px;
  background: var(--night-raised);
}
.giveaway-prize-card i { width: 9px; height: 9px; align-self: center; justify-self: center; border-radius: 50%; background: var(--prize-color,var(--signal)); box-shadow: 0 0 0 4px color-mix(in srgb,var(--prize-color,var(--signal)) 18%,transparent); }
.giveaway-prize-card strong { min-width: 0; overflow: hidden; color: var(--fog); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.giveaway-prize-card span { grid-column: 2; overflow: hidden; color: var(--quiet); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.wheel-result {
  min-height: 84px;
  display: grid;
  align-content: center;
  gap: 4px;
  margin: 0;
  border-left: 3px solid var(--signal);
  padding: 16px 18px;
  background: var(--night-raised);
  color: var(--silver);
  font-size: 13px;
  line-height: 1.35;
}
.wheel-result strong { display: block; color: var(--signal); font-family: var(--font-display); font-size: 26px; line-height: 1; }
.giveaway-actions { margin-top: 12px; }
.giveaway-actions .button { width: 100%; min-height: 52px; }
.giveaway-limit { margin: 10px 0 0; color: var(--silver); font-family: var(--font-utility); font-size: 11px; text-align: center; }
.giveaway-rules { margin-top: 15px; border-top: 1px solid var(--line); color: var(--quiet); font-size: 11px; line-height: 1.5; }
.giveaway-rules summary { min-height: 42px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; color: var(--silver); font-weight: 700; list-style: none; }
.giveaway-rules summary::-webkit-details-marker { display: none; }
.giveaway-rules summary::after { color: var(--signal); content: "+"; font-family: var(--font-utility); font-size: 18px; }
.giveaway-rules[open] summary::after { content: "−"; }
.giveaway-rules p { margin: 0 0 4px; }
.giveaway-dialog [hidden] { display:none !important; }
.draw-count { display: flex; align-items: baseline; gap: 10px; margin: 22px 0 12px; }
.draw-count strong { font-family: var(--font-utility); font-size: 28px; color: var(--signal); font-variant-numeric: tabular-nums; }
.draw-count span { color: var(--quiet); font-size: 12px; }
.winner-card { min-height: 118px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius-medium); background: var(--night-raised); color: var(--quiet); text-align: center; }
.winner-card strong { display: block; color: var(--fog); font-family: var(--font-display); font-size: 28px; letter-spacing: -.02em; }
.winner-card small { display: block; margin-top: 6px; color: var(--signal); font-family: var(--font-utility); font-size: 10px; letter-spacing: .12em; }
.search-dialog { width: min(92vw, 600px); }
.search-dialog input { margin-top: 8px; }
.search-empty { margin-top: 18px; padding: 32px 18px; border: 1px dashed var(--line-strong); border-radius: var(--radius-small); color: var(--quiet); font-size: 13px; text-align: center; }
.search-results { display: grid; gap: 7px; margin-top: 18px; max-height: min(46vh, 420px); overflow-y: auto; }
.search-results .search-empty { margin-top: 0; }
.search-result { width: 100%; min-height: 64px; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 16px; border: 1px solid var(--line); border-radius: var(--radius-small); padding: 11px 13px; background: var(--night-raised); color: var(--fog); cursor: pointer; text-align: left; }
.search-result:hover, .search-result:focus-visible { border-color: var(--signal); outline: 0; }
.search-result div { min-width: 0; display: grid; gap: 4px; }
.search-result strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.search-result span { overflow: hidden; color: var(--quiet); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.search-result em { color: var(--signal); font-family: var(--font-utility); font-size: 9px; font-style: normal; letter-spacing: .08em; white-space: nowrap; }
.account-identity { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding: 16px; border-radius: var(--radius-medium); background: var(--night-raised); }
.account-avatar { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--signal); color: var(--signal-ink); font-family: var(--font-utility); font-weight: 800; }
.account-identity > div:last-child { display: grid; gap: 4px; }
.account-identity strong { font-size: 15px; }
.account-identity span { color: var(--quiet); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.account-admin-link { width: 100%; text-decoration: none; }

.toast-region { position: fixed; z-index: 80; right: 20px; bottom: 20px; display: grid; gap: 8px; }
.toast { min-width: 260px; max-width: 360px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius-small); background: var(--equipment); color: var(--fog); box-shadow: 0 14px 36px rgba(0,0,0,.3); animation: toast-in 180ms cubic-bezier(.23,1,.32,1); font-size: 13px; }
.toast button { width: 30px; height: 30px; border: 0; background: transparent; color: var(--quiet); cursor: pointer; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1360px) {
  .page-shell, body.has-left-rail .page-shell { grid-template-areas: "main chat" !important; grid-template-columns: minmax(0,1fr) 330px !important; }
  body.layout-chat-hidden .page-shell, body.layout-chat-hidden.has-left-rail .page-shell { grid-template-areas: "main" !important; grid-template-columns: minmax(0,1fr) !important; }
  .left-rail { display: none; }
  .audience-group-fallback { display: block; }
  .broadcast-column { padding-inline: 24px; }
  .giveaway-banner { grid-template-columns: 76px 1fr auto; }
  .giveaway-meter { display: none; }
}

@media (max-width: 820px) {
  :root { --header-height: 60px; }
  .site-header { grid-template-columns: 1fr auto; padding: 0 16px; }
  .desktop-nav, .obs-trigger { display: none; }
  .page-shell { display: block; }
  body.has-left-rail .page-shell { display: block; }
  .broadcast-column { padding: 16px 16px 96px; }
  .live-rail { position: static; height: 640px; border: 1px solid var(--line); border-radius: var(--radius-medium); margin: 0 16px 96px; overflow: hidden; }
  .player-shell { border-radius: var(--radius-small); }
  .giveaway-banner { grid-template-columns: 70px 1fr auto; }
  .mobile-nav { position: fixed; z-index: 30; right: 0; bottom: 0; left: 0; height: 72px; display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); background: rgba(11,16,23,.96); backdrop-filter: blur(18px); }
  .mobile-nav a, .mobile-nav button { position: relative; border: 0; background: transparent; color: var(--quiet); text-decoration: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 10px; }
  .mobile-nav svg { width: 21px; height: 21px; }
  .mobile-nav .active { color: var(--fog); }
  .mobile-nav .active::before { position: absolute; top: 0; width: 32px; height: 2px; background: var(--signal); content: ""; }
  .toast-region { bottom: 88px; }
  .site-banners { grid-template-columns: 4px minmax(0,1fr) auto 40px; gap: 10px; padding-right: 8px; }
  .room-switcher { padding-inline: 16px; }
  .banner-content { display: grid; gap: 2px; }
  .banner-content span { max-width: 58vw; }
  .banner-link { display: none; }
}

@media (max-width: 600px) {
  .header-actions .icon-button { display: none; }
  .header-actions .icon-button, .header-actions .avatar-button { width: 40px; height: 40px; }
  .broadcast-column { padding-inline: 12px; }
  .player-shell { aspect-ratio: 4 / 3; }
  .autoplay-notice { left: 10px; right: 10px; bottom: 46px; }
  .autoplay-notice span { display: none; }
  .room-switcher > span { display: none; }
  .room-switcher { padding-inline: 12px; }
  .language-control > button { min-width: 94px; grid-template-columns: 22px 1fr; }
  .language-control .language-chevron { display: none; }
  .chat-composer .emoji-picker { grid-template-columns: repeat(6, 1fr); }
  .stage-poster::after { right: 16%; }
  .stage-copy { left: 8%; top: 18%; }
  .stage-city { margin-top: 3% !important; font-size: 10px; }
  .stage-rule { width: 38px; height: 2px; margin: 5% 0; }
  .stage-artist { font-size: clamp(42px, 14.5vw, 62px); line-height: .75; }
  .stage-artist.stage-artist-cjk { font-size: clamp(36px,10.5vw,52px); line-height: .92; }
  .stage-meta { max-width: 210px; margin-top: 5% !important; font-size: 8px; line-height: 1.35; }
  .waveform { right: 3%; bottom: 9%; width: 48%; }
  .frequency-rings { right: -16%; bottom: -22%; width: 80%; }
  .play-live-button { right: 4%; top: 12%; padding: 0 12px; font-size: 11px; }
  .player-topbar { top: 14px; left: 14px; }
  .player-location { display: none; }
  .player-stats { right: 10px; bottom: 10px; }
  .broadcast-header { display: block; padding-top: 22px; }
  h1 { font-size: 39px; }
  .broadcast-deck { font-size: 14px; }
  .broadcast-actions { margin-top: 20px; }
  .broadcast-actions .button { flex: 1; }
  .host-strip { flex-wrap: wrap; gap: 10px; }
  .host-copy { flex: 1; min-width: 160px; }
  .host-stat { margin: 8px 20px 0 0; }
  .giveaway-banner { min-height: 0; grid-template-columns: 52px 1fr; gap: 18px; padding: 22px 18px; margin: 24px 0 42px; }
  .giveaway-number { font-size: 54px; }
  .giveaway-copy h2 { font-size: 23px; }
  .giveaway-banner .button { grid-column: 1 / -1; width: 100%; }
  .programme-list li { min-height: 96px; grid-template-columns: 50px 1fr; gap: 10px; }
  .programme-list li > :last-child { grid-column: 2; justify-self: start; }
  .live-rail { height: 620px; margin: 0 12px 92px; }
  .dialog { padding: 28px 20px 24px; }
  .dialog h2 { font-size: 32px; }
  .dialog-number { font-size: 58px; }
  .setup-steps li { grid-template-columns: 24px minmax(0,1fr) auto; }
  .setup-steps code { font-size: 11px; overflow-wrap: anywhere; }
  .toast-region { right: 12px; left: 12px; }
  .toast { min-width: 0; width: 100%; }
  .market-disclaimer { align-items: flex-start; flex-direction: column; gap: 3px; }
  .room-tool-strip { overflow-x: auto; scrollbar-width: none; }
  .room-tool-strip::-webkit-scrollbar { display: none; }
  .room-tool-label { display: none; }
  .room-tool-strip button,.room-tool-strip a { min-width: 92px; flex: 0 0 auto; }
  .obs-actions { grid-template-columns: 1fr; }
  .analytics-grid strong { font-size: 18px; }
  .preview-gate { padding:22px; }
  .preview-gate h2 { font-size:30px; }
  .preview-gate p:not(.eyebrow) { font-size:12px; }
  .preview-countdown { left:10px; bottom:10px; }
}

@media (max-width: 720px) {
  .giveaway-dialog { width: min(94vw,560px); max-height: 92dvh; overflow-y: auto; }
  .giveaway-dialog-header { padding: 28px 62px 20px 24px; }
  .giveaway-dialog-header::after { right: 24px; left: 24px; }
  .giveaway-dialog-header h2 { font-size: clamp(31px,9vw,40px); }
  .giveaway-dialog-body { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
  .wheel-stage { width: min(100%,340px); }
  .prize-wheel { inset: 20px; border-width: 8px; }
  .giveaway-integrity { max-width: 360px; }
  .giveaway-prize-list { margin-bottom: 14px; }
}

@media (max-width: 420px) {
  .giveaway-dialog-header { padding: 24px 58px 18px 20px; }
  .giveaway-dialog-header .dialog-intro { font-size: 12px; }
  .giveaway-dialog-body { gap: 20px; padding: 20px; }
  .wheel-stage { width: min(100%,300px); }
  .prize-wheel { inset: 17px; }
  .giveaway-prize-card { min-height: 70px; padding: 10px; }
  .wheel-result { min-height: 74px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* Viewing workspace: keep the player dominant, with quiet surrounding controls. */
.player-shell { container-type: inline-size; }
.stage-copy { top: 23%; width: 80%; }
.stage-kicker { font-size: clamp(9px, 1.4cqw, 12px); letter-spacing: .12em; }
.stage-city { margin-top: 3% !important; font-size: clamp(10px, 1.8cqw, 16px); letter-spacing: .2em; }
.stage-rule { width: 36px; height: 2px; margin: 4% 0; }
.stage-artist { font-size: clamp(30px, 7cqw, 76px); line-height: .94; letter-spacing: -.04em; overflow-wrap: anywhere; }
.stage-artist.stage-artist-cjk, .stage-artist.stage-artist-cjk.stage-artist-long { max-width: 100%; font-size: clamp(24px, 5.8cqw, 60px); line-height: 1.15; white-space: normal; text-wrap: balance; }
.stage-meta { margin-top: 4% !important; font-size: clamp(8px, 1.2cqw, 11px); line-height: 1.5; letter-spacing: .08em; max-width: 75%; }
.frequency-rings { opacity: .5; }
.waveform { opacity: .35; }
.broadcast-header { gap: 20px; padding-block: 22px 18px; }
.broadcast-header h1 { font-size: clamp(26px, 2.6vw, 40px); line-height: 1.18; letter-spacing: -.025em; }
.broadcast-deck { font-size: 14px; line-height: 1.65; }
.room-tool-strip { flex-wrap: wrap; }
.room-tool-label { flex: 1 1 60px; }
.room-tool-strip button, .room-tool-strip a { min-width: 86px; min-height: 46px; font-size: 12px; }
#jumpChatButton { display: none; }
#focusViewButton[aria-pressed="true"] { color: var(--signal); background: var(--studio); }
.live-rail { height: min(820px, calc(100dvh - var(--header-height) - 64px)); scroll-margin-top: calc(var(--header-height) + 12px); }
.community-disclosure { margin: 8px 18px; line-height: 1.6; }
.chat-messages { overflow-anchor: none; overscroll-behavior: contain; }
.chat-message p { overflow-wrap: anywhere; line-height: 1.6; }
.chat-message p:first-child { flex-wrap: wrap; }
.chat-message time { color: var(--quiet); font-size: 10px; font-variant-numeric: tabular-nums; }
.chat-latest { align-self: center; min-height: 44px; max-width: calc(100% - 36px); margin: 0 18px 8px; padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--equipment); color: var(--fog); cursor: pointer; font-size: 12px; }
.chat-latest:hover { border-color: var(--signal); }
.chat-connection { display: flex; align-items: center; gap: 8px; margin: 8px 18px; font-size: 12px; color: var(--silver); }
.chat-connection button { min-height: 44px; flex-shrink: 0; padding: 8px; border: 1px solid var(--line); background: var(--studio); border-radius: 4px; cursor: pointer; }
.reaction-row button { min-height: 44px; }
.emoji-picker button { height: 44px; }
.avatar-button:not(.authenticated) { font-size: 11px; letter-spacing: 0; }
body.focus-view .site-banners, body.focus-view .left-rail, body.focus-view .broadcast-header, body.focus-view #mainModules { display: none !important; }
body.focus-view .audience-group-fallback { display: none !important; }
body.focus-view .page-shell { max-width: 1920px; grid-template-areas: "main chat" !important; grid-template-columns: minmax(0,1fr) 350px !important; }
body.focus-view[data-chat-rail="left"] .page-shell { grid-template-areas: "chat main" !important; grid-template-columns: 350px minmax(0,1fr) !important; }
body.focus-view.layout-chat-hidden .page-shell { grid-template-areas: "main" !important; grid-template-columns: minmax(0,1fr) !important; }
@media (max-width: 900px) {
  .room-tool-label { display: none; }
}
@media (max-width: 800px) {
  #jumpChatButton { display: inline-flex; }
  body.layout-chat-hidden #jumpChatButton { display: none; }
  .live-rail { height: 640px; }
  .room-tool-strip { flex-wrap: nowrap; overflow-x: auto; }
  .room-tool-strip button, .room-tool-strip a { flex-shrink: 0; }
  .stage-meta { max-width: 85%; }
  .broadcast-header h1 { font-size: 28px; }
  .market-disclaimer { font-size: 11px; line-height: 1.6; }
  .chat-composer input { font-size: 16px; }
  .site-header .avatar-button { min-width: 44px; min-height: 44px; }
  body.focus-view .broadcast-column { padding-bottom: 18px; }
}
@media (max-width: 380px) {
  .site-header { padding-inline: 12px; gap: 6px; grid-template-columns: minmax(0,1fr) auto; }
  .brand { gap: 6px; font-size: 10px; letter-spacing: .09em; }
  .brand-mark { width: 24px; height: 24px; }
  .header-actions { gap: 6px; }
  .language-control > button { min-width: 82px; padding-inline: 8px; font-size: 10px; }
}

/* Member draw: finance campaign treatment inspired by clear broker reward flows. */
.giveaway-dialog {
  width: min(92vw, 880px);
  max-width: calc(100vw - 24px);
  max-height: min(90dvh, 720px);
  border-color: rgba(237,241,239,.14);
  border-radius: 10px;
  background: #11171d;
  box-shadow: 0 28px 90px rgba(0,0,0,.62);
}

/* 2026-09 prize wheel refresh: one campaign surface, one focal action. */
.giveaway-dialog {
  width: min(92vw, 860px);
  max-height: min(92dvh, 820px);
  overflow-y: auto;
  border: 1px solid rgba(216,255,98,.28);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 25%, rgba(216,255,98,.11), transparent 32%),
    radial-gradient(circle at 12% 78%, rgba(88,191,208,.08), transparent 28%),
    linear-gradient(155deg, #0d1b26 0%, #08131d 54%, #071018 100%);
  box-shadow: 0 34px 110px rgba(0,0,0,.72), inset 0 1px rgba(255,255,255,.04);
}
.giveaway-dialog::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  opacity: .28;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 32px 32px;
  content: "";
}
.giveaway-dialog .dialog-close-form { z-index: 12; top: 20px; right: 22px; }
.giveaway-dialog .dialog-close {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  background: rgba(7,16,24,.52);
  color: #c7d0d5;
}
.giveaway-dialog .dialog-close:hover { border: 1px solid rgba(216,255,98,.42); background: rgba(216,255,98,.08); color: #fff; }
.giveaway-dialog-shell { position: relative; z-index: 1; }
.giveaway-dialog-header {
  padding: 30px 78px 12px;
  border: 0;
  text-align: center;
}
.giveaway-dialog-header .eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin: 0 0 12px;
  border: 1px solid rgba(216,255,98,.28);
  border-radius: 999px;
  padding: 0 13px;
  background: rgba(216,255,98,.08);
  color: #d8ff62;
  font-size: 10px;
  letter-spacing: .14em;
}
.giveaway-dialog-header h2 {
  max-width: none;
  color: #f5f7f5;
  font-size: clamp(34px,4vw,46px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.045em;
}
.giveaway-dialog-header .dialog-intro {
  max-width: 560px;
  margin: 12px auto 0;
  color: #9aabb5;
  font-size: 13px;
  line-height: 1.65;
}
.giveaway-dialog-body {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: 18px;
  padding: 18px 42px 30px;
}
.giveaway-wheel-panel { display: grid; justify-items: center; padding: 0; }
.wheel-stage { width: min(100%, 404px); filter: drop-shadow(0 24px 34px rgba(0,0,0,.34)); }
.wheel-stage::before {
  inset: 5px;
  border-radius: 50%;
  background: repeating-conic-gradient(from -1deg, rgba(255,255,255,.68) 0deg .7deg, transparent .7deg 7.5deg);
  -webkit-mask: radial-gradient(circle, transparent 0 48.1%, #000 48.4% 49.1%, transparent 49.4%);
  mask: radial-gradient(circle, transparent 0 48.1%, #000 48.4% 49.1%, transparent 49.4%);
}
.prize-wheel {
  inset: 25px;
  border: 10px solid #172734;
  background-clip: padding-box;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.18),
    0 0 0 8px rgba(5,14,21,.78),
    0 0 0 9px rgba(216,255,98,.18),
    inset 0 0 34px rgba(3,9,14,.18);
}
.prize-wheel::before {
  background: radial-gradient(circle at 50% 47%, rgba(255,255,255,.12), transparent 48%, rgba(0,0,0,.16) 100%);
}
.wheel-pointer { z-index: 9; top: 4px; width: 34px; height: 48px; }
.wheel-pointer::before {
  clip-path: polygon(50% 100%, 6% 6%, 94% 6%);
  border-radius: 4px;
  background: #f7faf7;
  filter: drop-shadow(0 5px 5px rgba(0,0,0,.42));
}
.wheel-pointer span { top: 8px; width: 8px; height: 8px; background: #d8ff62; }
.wheel-label {
  display: grid;
  place-items: center;
  width: 92px;
  min-height: 48px;
  padding: 4px 7px;
  border: 0;
  border-radius: 8px;
  background: rgba(6,14,20,.82);
  color: #fff;
  font-size: 10px;
  line-height: 1.15;
  letter-spacing: 0;
  text-align: center;
  box-shadow: 0 6px 14px rgba(0,0,0,.15);
  text-shadow: none;
}
.wheel-label small { display: block; margin-bottom: 2px; color: #d8ff62; font-family: var(--font-utility); font-size: 8px; letter-spacing: .12em; }
.wheel-label b {
  display: -webkit-box;
  overflow: hidden;
  max-width: 78px;
  font-size: 10px;
  font-weight: 650;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.wheel-hub {
  z-index: 10;
  inset: calc(50% - 48px);
  border: 2px solid rgba(255,255,255,.72);
  background: linear-gradient(145deg, #d8ff62, #bcec32);
  color: #0a151c;
  box-shadow: 0 0 0 9px #0c1a24, 0 0 0 11px rgba(255,255,255,.18), 0 10px 24px rgba(0,0,0,.34);
}
.wheel-hub span { font-size: 11px; font-weight: 800; letter-spacing: .13em; }
.giveaway-integrity { max-width: 520px; margin: 10px 0 0; color: #748792; font-size: 10px; text-align: center; }
.giveaway-console-panel { display: flex; flex-direction: column; align-items: center; padding: 0; }
.giveaway-prize-list {
  display: grid;
  grid-auto-columns: minmax(128px,1fr);
  grid-auto-flow: column;
  width: 100%;
  gap: 8px;
  margin: 0;
  overflow-x: auto;
  scrollbar-width: thin;
}
.giveaway-prize-card {
  min-height: 64px;
  display: grid;
  grid-template-columns: 8px minmax(0,1fr);
  gap: 2px 9px;
  align-content: center;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(255,255,255,.035);
}
.giveaway-prize-card:first-child { border-top: 1px solid rgba(255,255,255,.1); }
.giveaway-prize-card::before { display: none; }
.giveaway-prize-card i { grid-column: 1; grid-row: 1 / 3; align-self: center; width: 6px; height: 24px; border-radius: 999px; background: var(--prize-color); }
.giveaway-prize-card strong { grid-column: 2; color: #eef3f2; font-size: 11px; font-weight: 650; }
.giveaway-prize-card span {
  grid-column: 2;
  overflow: hidden;
  color: #788b96;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wheel-result {
  min-height: 48px;
  width: min(100%, 520px);
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 14px 0 0;
  border: 0;
  padding: 10px 16px;
  background: transparent;
  color: #9babb4;
  font-size: 12px;
  text-align: center;
}
.wheel-result strong { color: #f5f8f4; font-size: 18px; }
.giveaway-actions { width: min(100%, 340px); margin: 0; }
.giveaway-actions .button { min-height: 52px; border-radius: 999px; font-weight: 800; }
.giveaway-actions .button-signal {
  border-color: #d8ff62;
  background: #d8ff62;
  color: #08131b;
  box-shadow: 0 12px 30px rgba(184,236,50,.16);
}
.giveaway-actions .button-signal:hover { border-color: #e5ff93; background: #e5ff93; }
.giveaway-limit { margin: 9px 0 0; color: #90a1ab; font-size: 10px; text-align: center; }
.giveaway-rules { width: min(100%, 560px); margin: 12px 0 0; border-top-color: rgba(255,255,255,.08); }
.giveaway-rules summary { min-height: 38px; color: #82949f; font-size: 10px; justify-content: center; }
.giveaway-rules summary::after { color: #82949f; }

@media (max-width: 720px) {
  .giveaway-dialog { width: calc(100vw - 18px); max-width: calc(100vw - 18px); max-height: calc(100dvh - 18px); border-radius: 18px; }
  .giveaway-dialog-header { padding: 26px 54px 8px; }
  .giveaway-dialog-header h2 { font-size: 31px; }
  .giveaway-dialog-header .dialog-intro { font-size: 11px; }
  .giveaway-dialog-body { gap: 14px; padding: 14px 18px 24px; }
  .wheel-stage { width: min(100%, 340px); }
  .wheel-label { width: 76px; min-height: 42px; padding: 3px 5px; }
  .wheel-label b { max-width: 66px; font-size: 9px; }
  .giveaway-prize-list { grid-auto-columns: minmax(128px,42vw); }
}

@media (max-width: 380px) {
  .giveaway-dialog-header { padding: 22px 48px 6px; }
  .giveaway-dialog-header .eyebrow { margin-bottom: 9px; }
  .giveaway-dialog-header h2 { font-size: 27px; }
  .giveaway-dialog-body { padding: 12px 14px 20px; }
  .wheel-stage { width: min(100%, 294px); }
  .prize-wheel { inset: 21px; border-width: 8px; }
  .wheel-hub { inset: calc(50% - 40px); }
  .wheel-label { width: 68px; min-height: 38px; }
  .wheel-label b { max-width: 58px; font-size: 8px; }
}
.giveaway-dialog::backdrop { background: rgba(3,5,7,.84); backdrop-filter: blur(8px); }
.giveaway-dialog .dialog-close-form { top: 16px; right: 18px; }
.giveaway-dialog .dialog-close { border: 0; border-radius: 2px; background: transparent; color: #8e989f; }
.giveaway-dialog .dialog-close:hover { border: 0; background: transparent; color: var(--fog); }
.giveaway-dialog-header {
  padding: 28px 72px 22px 32px;
  border-bottom: 1px solid rgba(237,241,239,.08);
  background: transparent;
}
.giveaway-dialog-header::after { display: none; }
.giveaway-dialog-header .eyebrow { display: none; }
.giveaway-dialog-header h2 { max-width: none; font-size: 32px; font-weight: 620; line-height: 1.08; letter-spacing: -.035em; }
.giveaway-dialog-header .dialog-intro { max-width: 580px; margin-top: 8px; color: #929da4; font-size: 13px; }
.giveaway-dialog-body {
  grid-template-columns: minmax(340px, 1.08fr) minmax(290px, .92fr);
  gap: 44px;
  align-items: start;
  padding: 28px 32px 32px;
}
.giveaway-wheel-panel { padding-top: 2px; }
.wheel-stage { width: min(100%, 380px); }
.wheel-stage::before {
  background: repeating-conic-gradient(from -1deg, rgba(237,241,239,.28) 0deg .7deg, transparent .7deg 7.5deg);
  -webkit-mask: radial-gradient(circle, transparent 0 48.6%, #000 49% 50%, transparent 50.4%);
  mask: radial-gradient(circle, transparent 0 48.6%, #000 49% 50%, transparent 50.4%);
}
.prize-wheel {
  inset: 28px;
  border: 12px solid #151c22;
  box-shadow: 0 0 0 1px rgba(237,241,239,.14), 0 16px 36px rgba(0,0,0,.28);
}
.prize-wheel::before { background: radial-gradient(circle at 50% 48%, transparent 0 48%, rgba(4,7,9,.18) 100%); }
.wheel-pointer { top: 10px; width: 24px; height: 34px; filter: drop-shadow(0 4px 4px rgba(0,0,0,.42)); }
.wheel-pointer::before { background: #f0eee8; clip-path: polygon(50% 100%, 18% 0, 82% 0); }
.wheel-pointer span { top: 4px; width: 5px; height: 5px; background: #11171d; }
.wheel-label {
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 12px;
  letter-spacing: .08em;
  box-shadow: none;
  text-shadow: 0 1px 1px rgba(0,0,0,.08);
}
.wheel-label.light { color: #101419; }
.wheel-label.dark { color: #ebe9e3; }
.wheel-hub {
  z-index: 5;
  inset: calc(50% - 45px);
  border: 1px solid rgba(237,241,239,.28);
  background: #11171d;
  color: #f0eee8;
  box-shadow: 0 0 0 9px rgba(17,23,29,.92), 0 0 0 10px rgba(237,241,239,.12);
}
.wheel-hub span { font-size: 10px; font-weight: 650; letter-spacing: .16em; }
.giveaway-integrity { max-width: 360px; margin-top: 12px; color: #737f87; font-size: 10px; }
.giveaway-console-panel { padding-top: 2px; }
.giveaway-prize-list { grid-template-columns: 1fr; gap: 0; margin: 0 0 20px; counter-reset: giveaway-prize; }
.giveaway-prize-card {
  min-height: 58px;
  grid-template-columns: 30px 10px minmax(0,1fr);
  gap: 2px 10px;
  border: 0;
  border-bottom: 1px solid rgba(237,241,239,.08);
  border-radius: 0;
  padding: 9px 0;
  background: transparent;
  counter-increment: giveaway-prize;
}
.giveaway-prize-card:first-child { border-top: 1px solid rgba(237,241,239,.08); }
.giveaway-prize-card::before {
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: center;
  color: #6f7b83;
  font-family: var(--font-utility);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  content: counter(giveaway-prize, decimal-leading-zero);
}
.giveaway-prize-card i { grid-column: 2; grid-row: 1 / 3; width: 6px; height: 6px; box-shadow: none; }
.giveaway-prize-card strong { grid-column: 3; font-size: 13px; font-weight: 600; }
.giveaway-prize-card span { grid-column: 3; color: #758189; font-size: 10px; }
.wheel-result {
  min-height: 72px;
  gap: 3px;
  border: 0;
  border-top: 1px solid rgba(237,241,239,.12);
  border-bottom: 1px solid rgba(237,241,239,.12);
  padding: 14px 0;
  background: transparent;
  color: #a8b1b6;
  text-align: left;
}
.wheel-result strong { color: var(--fog); font-size: 23px; font-weight: 620; }
.giveaway-actions { margin-top: 16px; }
.giveaway-actions .button { min-height: 48px; border-radius: 4px; }
.giveaway-actions .button-signal { border-color: #f0eee8; background: #f0eee8; color: #11171d; }
.giveaway-actions .button-signal:hover { border-color: #fff; background: #fff; }
.giveaway-actions .button:active { transform: scale(.98); }
.giveaway-limit { margin-top: 9px; color: #7d888f; font-size: 10px; }
.giveaway-rules { margin-top: 14px; border-top-color: rgba(237,241,239,.08); }
.giveaway-rules summary { min-height: 40px; color: #8d989f; font-size: 11px; font-weight: 500; }
.giveaway-rules summary::after { color: #8d989f; font-size: 15px; }

@media (max-width: 720px) {
  .giveaway-dialog { width: calc(100vw - 24px); max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); }
  .giveaway-dialog-header { padding: 24px 56px 18px 20px; }
  .giveaway-dialog-header h2 { font-size: 28px; }
  .giveaway-dialog-body { grid-template-columns: minmax(0,1fr); gap: 22px; padding: 20px; }
  .wheel-stage { width: min(100%, 330px); }
  .giveaway-integrity { max-width: 320px; }
}

@media (max-width: 380px) {
  .giveaway-dialog-header { padding: 21px 52px 16px 16px; }
  .giveaway-dialog-header h2 { font-size: 25px; }
  .giveaway-dialog-header .dialog-intro { font-size: 11px; }
  .giveaway-dialog-body { gap: 18px; padding: 16px; }
  .wheel-stage { width: min(100%, 270px); }
  .prize-wheel { inset: 22px; border-width: 10px; }
  .wheel-hub { inset: calc(50% - 37px); }
  .giveaway-prize-card { min-height: 52px; }
}
