/* live.us23.com — one stylesheet for every page.
   Tokens and rules are lifted verbatim from the original single-file draft
   (see ../_original/index.html); additions are marked "added:". */

:root {
  --bg: #0F1320;          /* page background        */
  --surface: #171C2C;     /* lifted panel           */
  --stage-frame: #05070D; /* video letterbox        */
  --text: #ECEEF4;        /* primary text / button  */
  --muted: #939AAD;       /* secondary text         */
  --standby: #F2A93B;     /* amber "waiting" signal  */
  --live: #FF3A46;        /* on-air red (held in reserve) */
  --hairline: rgba(255,255,255,0.09);
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

/* radial glow so the dark field isn't flat */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(120% 80% at 50% -10%, rgba(60,74,120,0.35), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  padding: 1.4rem clamp(1.2rem, 5vw, 3rem);
}
.wordmark {
  font-family: "Anton", sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
}
/* added: the wordmark is a link home on secondary pages; keep it unstyled */
.wordmark a { color: inherit; text-decoration: none; }
.wordmark a:focus-visible { outline: 3px solid var(--standby); outline-offset: 3px; }
.host {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.01em;
}

main {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem clamp(1.2rem, 5vw, 3rem) 3rem;
  width: 100%;
}

/* ---------- standby view ---------- */
.standby { max-width: 34rem; }

.signal {
  width: 15px;
  height: 15px;
  margin: 0 auto 1.6rem;
  border-radius: 50%;
  background: var(--standby);
  box-shadow: 0 0 0 0 rgba(242,169,59,0.55);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(242,169,59,0.5); }
  70%  { box-shadow: 0 0 0 16px rgba(242,169,59,0); }
  100% { box-shadow: 0 0 0 0 rgba(242,169,59,0); }
}

.status {
  font-family: "Anton", sans-serif;
  font-size: clamp(3.4rem, 17vw, 8.5rem);
  line-height: 0.92;
  letter-spacing: 0.01em;
  margin: 0;
}
.blurb {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.55;
  max-width: 30rem;
  margin: 1.3rem auto 2.2rem;
}

.watch {
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  color: var(--bg);
  background: var(--text);
  border: 0;
  border-radius: 10px;
  padding: 0.95rem 1.8rem;
  cursor: pointer;
  transition: transform 0.12s ease, filter 0.12s ease;
}
.watch:hover { transform: translateY(-1px); filter: brightness(1.06); }
.watch:active { transform: translateY(0); }
.watch:focus-visible { outline: 3px solid var(--standby); outline-offset: 3px; }
/* added: the same pill rendered as a link (no-JS fallback, 404 page) */
a.watch { display: inline-block; text-decoration: none; line-height: normal; }


/* ---------- stage view ---------- */
.stage-wrap {
  width: 100%;
  max-width: 1040px;
  display: none;
}
.stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--stage-frame);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  overflow: hidden;
}
.stage iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.undernote {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 1.1rem;
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.reload {
  font: inherit;
  font-size: 0.9rem;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 0.4rem 0.9rem;
  cursor: pointer;
  transition: border-color 0.12s ease;
}
.reload:hover { border-color: var(--muted); }
/* added: the same ghost button as a link (Watch on YouTube) */
a.reload { display: inline-block; text-decoration: none; line-height: normal; }
.reload:focus-visible { outline: 3px solid var(--standby); outline-offset: 2px; }

/* when watching, swap the views */
body.watching .standby { display: none; }
body.watching .stage-wrap { display: block; }

footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1.6rem;
  color: var(--muted);
  font-size: 0.8rem;
  border-top: 1px solid var(--hairline);
}
/* added: footer links (Privacy) in the same muted tone */
footer a { color: var(--muted); text-decoration: underline; text-underline-offset: 0.15em; }
footer a:hover { color: var(--text); }
footer a:focus-visible { outline: 3px solid var(--standby); outline-offset: 2px; }
.footer-sep { margin: 0 0.5rem; }

/* ---------- added: prose pages (privacy) ---------- */
.prose {
  max-width: 40rem;
  width: 100%;
  text-align: left;
  line-height: 1.6;
}
.prose h1 {
  font-family: "Anton", sans-serif;
  font-size: clamp(2.2rem, 8vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0.01em;
  margin: 0 0 0.4rem;
}
.prose h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 2rem 0 0.5rem;
}
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--text); text-underline-offset: 0.15em; }
.prose a:focus-visible { outline: 3px solid var(--standby); outline-offset: 2px; }
.prose .updated { font-size: 0.85rem; margin-top: 0; }
.prose ul { padding-left: 1.2rem; }

@media (prefers-reduced-motion: reduce) {
  .signal { animation: none; }
  .watch { transition: none; }
}
