/* Neon Bulletin — matches the channel art: night sky, pink grid, cyan rule, Futura-style caps. */
:root {
  --bg: #07041a;
  --bg-2: #0e0828;
  --panel: #140c34;
  --panel-2: #1b1144;
  --line: #2c1f5e;
  --text: #ece8ff;
  --muted: #a49cc8;
  --pink: #ff2ec4;
  --cyan: #3ce0ff;
  --violet: #8246ff;
  --sun: #ffb84d;
  --radius: 14px;
  --wrap: 1180px;
  --head: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg) linear-gradient(180deg, #0c0622 0, var(--bg) 420px) no-repeat;
  color: var(--text);
  font: 17px/1.6 var(--body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }
h1, h2, h3 { font-family: var(--head); font-weight: 800; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

/* --- header ---------------------------------------------------------------- */
.site-head {
  position: sticky; top: 0; z-index: 20;
  background: rgba(7, 4, 26, .86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(60, 224, 255, .25);
}
.site-head .wrap { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand img { width: 38px; height: 38px; }
.brand span {
  font: 800 1.35rem/1 var(--head); letter-spacing: .04em; text-transform: uppercase;
  text-shadow: 0 0 10px rgba(255, 46, 196, .85), 0 0 22px rgba(255, 46, 196, .45);
}
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a {
  color: var(--text); text-decoration: none; padding: 8px 12px; border-radius: 8px;
  font: 600 .95rem/1 var(--head); text-transform: uppercase; letter-spacing: .06em;
}
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: var(--panel-2); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--pink); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 8px; padding: 8px 10px; font: inherit; }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; align-items: stretch;
         background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
}

/* --- buttons + chips --------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 999px;
  font: 700 .95rem/1 var(--head); text-transform: uppercase; letter-spacing: .06em; text-decoration: none;
  border: 1px solid var(--pink); color: #fff; background: linear-gradient(180deg, #ff4fd0, #d01499);
  box-shadow: 0 0 18px rgba(255, 46, 196, .45); cursor: pointer;
}
.btn:hover { color: #fff; box-shadow: 0 0 28px rgba(255, 46, 196, .7); }
.btn.ghost { background: transparent; border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 14px rgba(60, 224, 255, .25); }
.btn.ghost:hover { color: #fff; background: rgba(60, 224, 255, .12); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-block; padding: 4px 10px; border-radius: 999px; font: 700 .72rem/1.2 var(--head);
  letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); border: 1px solid rgba(60, 224, 255, .5);
  background: rgba(60, 224, 255, .08);
}
.chip.pink { color: #ff8ee0; border-color: rgba(255, 46, 196, .55); background: rgba(255, 46, 196, .1); }
.chip.sun { color: var(--sun); border-color: rgba(255, 184, 77, .55); background: rgba(255, 184, 77, .1); }
.chip.red { color: #fff; border-color: #ff3b5c; background: #d4163b; }

/* --- hero (latest episode) ---------------------------------------------------- */
.hero { position: relative; padding: 36px 0 56px; overflow: hidden; }
.hero::after {      /* the synthwave grid floor */
  content: ""; position: absolute; left: -10%; right: -10%; bottom: 0; height: 220px; z-index: -1;
  background:
    linear-gradient(to bottom, var(--bg) 0, transparent 60%),
    repeating-linear-gradient(90deg, rgba(255, 46, 196, .35) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(0deg, rgba(255, 46, 196, .35) 0 1px, transparent 1px 34px);
  transform: perspective(300px) rotateX(55deg); transform-origin: bottom;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.eyebrow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.hero h1 { margin-top: 14px; }

/* --- video facade ------------------------------------------------------------- */
.player {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000;
  border: 1px solid rgba(60, 224, 255, .45); box-shadow: 0 0 0 1px rgba(255, 46, 196, .25), 0 0 42px rgba(130, 70, 255, .35);
}
.player img, .player iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.player button { position: absolute; inset: 0; width: 100%; border: 0; padding: 0; background: none; cursor: pointer; }
.player .play {
  position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%;
  background: rgba(7, 4, 26, .75); border: 2px solid var(--pink); box-shadow: 0 0 26px rgba(255, 46, 196, .8);
  transition: transform .15s ease;
}
.player .play::after {
  content: ""; position: absolute; left: 33px; top: 25px; border-style: solid; border-width: 17px 0 17px 28px;
  border-color: transparent transparent transparent #fff;
}
.player button:hover .play { transform: scale(1.08); }
.player .soon { position: absolute; left: 12px; bottom: 12px; }

/* --- rundown list (sidebar) ---------------------------------------------------- */
.rundown { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 8px; }
.rundown h2 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: .1em; color: var(--pink); }
.rundown ol { list-style: none; margin: 0; padding: 0; counter-reset: r; }
.rundown li { font-size: .95rem; line-height: 1.45; counter-increment: r; display: grid; grid-template-columns: 30px 1fr; gap: 8px; padding: 10px 0; border-top: 1px solid var(--line); }
.rundown li:first-child { border-top: 0; }
.rundown li::before { content: counter(r, decimal-leading-zero); font: 800 .95rem/1.5 var(--head); color: var(--cyan); }
.rundown a { color: var(--text); text-decoration: none; }
.rundown a:hover { color: #fff; text-decoration: underline; }
.rundown .k { display: block; font: 700 .7rem/1.3 var(--head); letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }

/* --- sections + cards ------------------------------------------------------------ */
.section { padding: 44px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.section-head h2 { margin: 0; }
.rule { height: 1px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); opacity: .6; border: 0; margin: 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; text-decoration: none; color: var(--text); transition: border-color .15s, transform .15s;
}
.card:hover { border-color: var(--pink); transform: translateY(-2px); color: var(--text); }
.card .thumb { aspect-ratio: 16 / 9; background: var(--bg-2); position: relative; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card .thumb .dur { position: absolute; right: 8px; bottom: 8px; background: rgba(0, 0, 0, .8); padding: 2px 6px; border-radius: 4px; font-size: .78rem; }
.card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.card h3 { font-size: 1.05rem; margin: 0; }
.card .meta { font-size: .85rem; color: var(--muted); }

/* --- schedule strip ---------------------------------------------------------------- */
.schedule { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 760px) { .schedule { grid-template-columns: 1fr; } }
.slot { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: linear-gradient(180deg, var(--panel), var(--bg-2)); }
.slot .time { font: 800 1.6rem/1.1 var(--head); color: #fff; text-shadow: 0 0 12px rgba(60, 224, 255, .6); }
.slot h3 { color: var(--pink); text-transform: uppercase; letter-spacing: .08em; font-size: .95rem; margin: 0 0 6px; }

/* --- episode page --------------------------------------------------------------------- */
.ep-head { padding: 30px 0 10px; }
.ep-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: .95rem; margin: 10px 0 18px; }
.ep-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
@media (max-width: 960px) { .ep-layout { grid-template-columns: minmax(0, 1fr); } }
.ep-side { position: sticky; top: 84px; display: grid; gap: 16px; }
@media (max-width: 960px) { .ep-side { position: static; } }
.box { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.box h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; color: var(--pink); }
.box ul { margin: 0; padding-left: 18px; }

.story { padding: 28px 0; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.story:first-of-type { border-top: 0; }
.story h3 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin: 10px 0 14px; }
.story figure { margin: 0 0 16px; }
.story figure img { border-radius: 10px; border: 1px solid var(--line); width: 100%; max-height: 460px; object-fit: cover; object-position: center 30%; }
.story figcaption { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.ws { display: grid; grid-template-columns: 90px 1fr; gap: 6px 14px; margin: 0 0 16px; }
.ws dt { font: 800 .8rem/1.9 var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.ws dd { margin: 0; }
@media (max-width: 520px) { .ws { grid-template-columns: 1fr; gap: 0; } .ws dd { margin-bottom: 8px; } }
.sources { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.sources li { font-size: .92rem; padding-left: 16px; position: relative; }
.sources li::before { content: "›"; position: absolute; left: 0; color: var(--pink); font-weight: 800; }
.sources .outlet { font-weight: 700; color: var(--text); }
.section-title { margin-top: 32px; padding-bottom: 8px; border-bottom: 2px solid var(--pink); display: inline-block;
                 text-transform: uppercase; letter-spacing: .08em; font-size: 1.2rem; }
.radar-note { border-left: 3px solid var(--sun); padding: 8px 14px; background: rgba(255, 184, 77, .07); margin: 14px 0; font-size: .95rem; }
.pager { display: flex; justify-content: space-between; gap: 16px; margin: 40px 0 10px; flex-wrap: wrap; }

/* --- prose pages --------------------------------------------------------------------- */
.page-head { padding: 40px 0 16px; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; font-size: 1.35rem; color: #fff; }
.standards { display: grid; gap: 16px; max-width: 860px; }
.standards article { background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--pink); border-radius: 10px; padding: 18px 20px; }
.standards h2 { font-size: 1.15rem; margin-bottom: 6px; }
.standards p { margin: 0; color: #d6d0f2; }

/* --- anchors ---------------------------------------------------------------------- */
.anchors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .anchors { grid-template-columns: repeat(2, 1fr); } }
.anchor {
  position: relative; border-radius: var(--radius); overflow: hidden; text-align: center; padding: 18px 12px 16px;
  background: radial-gradient(circle at 50% 75%, rgba(255, 184, 77, .35), transparent 45%),
              linear-gradient(180deg, #120a30, #05030f);
  border: 1px solid var(--line);
}
.anchor img { height: 300px; width: auto; margin: 0 auto; filter: drop-shadow(0 0 14px rgba(60, 224, 255, .55)); }
.anchor h2 { font-size: 1.2rem; margin: 12px 0 2px; text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 520px) { .anchor img { height: 210px; } }

/* --- forms ------------------------------------------------------------------------ */
.form { max-width: 680px; display: grid; gap: 16px; }
.form label { display: block; font-weight: 600; margin-bottom: 6px; }
.form input[type=text], .form input[type=url], .form input[type=email], .form textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-2);
  color: var(--text); font: inherit;
}
.form input:focus, .form textarea:focus { border-color: var(--cyan); outline: none; box-shadow: 0 0 0 3px rgba(60, 224, 255, .2); }
.form .hp { position: absolute; left: -9999px; }
.errors { color: #ff9db5; font-size: .92rem; margin: 6px 0 0; padding: 0; list-style: none; }
.alert { border: 1px solid #ff3b5c; background: rgba(212, 22, 59, .15); border-radius: 10px; padding: 12px 14px; }

/* --- footer ----------------------------------------------------------------------- */
.site-foot { border-top: 1px solid var(--line); margin-top: 40px; padding: 30px 0 40px; background: var(--bg-2); font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-foot a { color: var(--muted); text-decoration: none; }
.site-foot a:hover { color: #fff; }
.disclosure { color: var(--muted); max-width: 520px; }

.pagination { display: flex; gap: 10px; align-items: center; justify-content: center; margin-top: 30px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters a { text-decoration: none; }
.empty { text-align: center; padding: 60px 16px; }
