:root {
  /* Provisional launch palette, pending Abraham's review. */
  --midnight: #050806;
  --navy: #0d120f;
  --navy-2: #1d2921;
  --ice: #f7f3e8;
  --ice-blue: #d8ff52;
  --steel: #c3cec8;
  --ink: #f7f3e8;
  --electric: #d8ff52;
  --electric-dark: #007a4d;
  --green: #00b874;
  --green-hover: #25d88c;
  --green-deep: #007a4d;
  --silver: #d4ddd8;
  --surface: #151e18;
  --surface-raised: #1d2921;
  --line: rgba(212, 221, 216, 0.45);
  --white-line: rgba(212, 221, 216, 0.42);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --radius: 1.35rem;
  --shell: min(1180px, calc(100vw - 2.5rem));
  --reading: min(760px, calc(100vw - 2.5rem));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--navy);
  font-family: Inter, Aptos, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img,
svg,
iframe {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

button,
input,
textarea,
select {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.75rem 1rem;
  color: var(--midnight);
  background: var(--electric);
  border-radius: 0.5rem;
  font-weight: 800;
  transform: translateY(-160%);
}

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

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.shell--reading {
  width: var(--reading);
}

.site-header {
  position: relative;
  z-index: 10;
  color: var(--ice);
  background: var(--midnight);
  border-bottom: 1px solid var(--white-line);
}

.header-inner {
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 2.35rem;
  aspect-ratio: 1;
  place-items: center;
  color: var(--midnight);
  background: var(--electric);
  border-radius: 50%;
  font-size: 0.72rem;
  letter-spacing: -0.03em;
}

.site-header nav {
  display: flex;
  gap: clamp(1rem, 3vw, 2rem);
  font-size: 0.85rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.site-header nav a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  text-decoration: none;
}

.site-header nav a:hover,
.site-header nav a[aria-current="page"] {
  color: var(--green);
}

.site-header nav a[aria-current="page"] {
  box-shadow: inset 0 -2px var(--green);
}

.eyebrow {
  margin: 0 0 0.55rem;
  color: var(--steel);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow--electric {
  color: var(--electric);
}

.scoreboard {
  color: var(--ice);
  background: var(--midnight);
  border-bottom: 1px solid var(--white-line);
}

.scoreboard-inner {
  display: grid;
  grid-template-columns: minmax(180px, 0.28fr) 1fr;
  align-items: center;
  gap: 1.25rem;
  min-height: 7.25rem;
  padding-block: 0.85rem;
}

.scoreboard-label strong {
  display: block;
  font-size: 0.9rem;
  line-height: 1.35;
}

.score-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.85rem;
  margin-top: 0.35rem;
  color: var(--silver);
  font-size: 0.68rem;
}

.score-meta a {
  color: var(--electric);
  font-weight: 800;
}

.score-list {
  display: grid;
  grid-auto-columns: minmax(150px, 1fr);
  grid-auto-flow: column;
  gap: 0.65rem;
  margin: 0;
  padding: 0 0 0.2rem;
  overflow-x: auto;
  list-style: none;
  scrollbar-color: var(--navy-2) transparent;
}

.score-card {
  min-width: 9.5rem;
  padding: 0.65rem 0.8rem;
  background: var(--surface-raised);
  border: 1px solid var(--white-line);
  border-radius: 0.7rem;
}

.score-card div {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.78rem;
  line-height: 1.55;
}

.score-card small {
  display: block;
  margin-top: 0.25rem;
  color: var(--silver);
  font-size: 0.65rem;
}

.score-empty {
  margin: 0;
  color: var(--silver);
  font-size: 0.85rem;
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--ice);
  background:
    radial-gradient(circle at 80% 20%, rgba(216, 255, 82, 0.25), transparent 31rem),
    linear-gradient(145deg, var(--midnight), var(--navy) 62%, #073e2a);
}

.hero::after {
  content: "";
  position: absolute;
  right: -10rem;
  bottom: -14rem;
  width: 36rem;
  aspect-ratio: 1;
  border: 1px solid rgba(212, 221, 216, 0.36);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: 38rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
  padding-block: clamp(4rem, 8vw, 7rem);
}

.hero h1,
.page-intro h1,
.article-header h1 {
  margin: 0;
  font-size: clamp(3.25rem, 8.4vw, 7.6rem);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 0.84;
  text-wrap: balance;
}

.hero h1 {
  color: var(--green);
  text-shadow: 0 0 34px rgba(216, 255, 82, 0.2);
}

.hero h1 em {
  color: inherit;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.hero-lede {
  max-width: 43rem;
  margin: 1.8rem 0 0;
  color: var(--silver);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2.15rem;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}

.button--primary {
  color: var(--midnight);
  background: var(--green);
}

.button--primary:hover {
  background: var(--green-hover);
}

.text-link {
  color: var(--electric);
  font-weight: 800;
  text-decoration: none;
}

.text-link--light,
.hero .text-link {
  color: var(--electric);
}

.text-link:hover {
  text-decoration: underline;
}

.hero-emblem {
  display: block;
  width: min(100%, 34rem);
  justify-self: end;
  margin: 0;
}

.hero-emblem img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.section {
  padding-block: clamp(4.5rem, 8vw, 7.5rem);
  background: var(--navy);
}

.section--feature {
  background: var(--surface-raised);
}

.section--dark {
  color: var(--ice);
  background: var(--midnight);
}

.section--dark .section-heading h2,
.page-intro--dark h1 {
  color: var(--electric);
}

#broadcasts-heading {
  color: var(--green);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.25rem;
}

.section-heading h2,
.about h2,
.article-sources h2,
.episode-notes h2,
.related h2,
.honest-empty h2 {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 4.15rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.97;
}

.heading-rule {
  flex: 1;
  height: 1px;
  margin-bottom: 0.6rem;
  background: var(--line);
}

.story-grid,
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.25rem);
}

.story-card {
  min-width: 0;
}

.story-card:not(.story-card--featured),
.episode-card {
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.2);
}

.story-media,
.episode-art {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  margin-bottom: 1.15rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(0, 184, 116, 0.16), transparent 68%),
    #07110e;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.26);
}

.story-picture {
  display: block;
  width: 100%;
  height: 100%;
}

.story-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: filter 250ms ease;
}

.story-card:hover .story-media img {
  filter: brightness(1.07);
}

.card-rink {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 24%, rgba(216, 255, 82, 0.32) 24% 25%, transparent 25% 75%, rgba(216, 255, 82, 0.32) 75% 76%, transparent 76%),
    linear-gradient(rgba(212, 221, 216, 0.16), rgba(212, 221, 216, 0));
}

.card-rink::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5rem;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(212, 221, 216, 0.65);
  border-radius: 50%;
}

.card-rink::after {
  content: "HE";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--electric);
  font-weight: 900;
}

.story-card h3,
.episode-card h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2.3vw, 1.75rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.story-card h3 a,
.episode-card h3 a {
  text-decoration: none;
}

.story-card h3 a:hover,
.episode-card h3 a:hover {
  text-decoration: underline;
}

.story-card p:not(.eyebrow, .byline),
.episode-card p:not(.eyebrow, .byline) {
  margin: 0.75rem 0 0;
  color: var(--silver);
}

.section--dark .episode-card p:not(.eyebrow, .byline) {
  color: var(--silver);
}

.section--dark .episode-card h3 a {
  color: var(--electric);
}

.byline,
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  margin: 0.9rem 0 0;
  color: var(--steel);
  font-size: 0.78rem;
  font-weight: 700;
}

.story-card--featured {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(17rem, 0.75fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.story-card--featured .story-media {
  aspect-ratio: 16 / 10;
  margin: 0;
  box-shadow: var(--shadow);
}

.story-card--featured h3 {
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 0.98;
}

.middle-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.15fr) minmax(17rem, 0.85fr);
  align-items: start;
  gap: clamp(1.25rem, 3vw, 2.25rem);
}

.middle-feature {
  min-width: 0;
}

.middle-grid .story-card--featured {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.middle-grid .story-card--featured h3 {
  font-size: clamp(2rem, 3.5vw, 3.35rem);
}

.middle-rail {
  display: grid;
  gap: 1rem;
}

.middle-panel {
  min-width: 0;
  padding: 1.15rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--green);
  border-radius: 1rem;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.2);
}

.middle-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.middle-panel h3 {
  margin: 0;
  color: var(--ice);
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.panel-dot {
  width: 0.7rem;
  height: 0.7rem;
  flex: 0 0 auto;
  background: var(--electric);
  border-radius: 50%;
  box-shadow: 0 0 0 0.28rem rgba(216, 255, 82, 0.12), 0 0 18px rgba(216, 255, 82, 0.38);
}

.stars-games {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.stars-record {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 1rem 0 0;
  padding-bottom: 0.75rem;
  color: var(--silver);
  border-bottom: 1px solid var(--white-line);
  font-size: 0.72rem;
}

.stars-record strong {
  color: var(--electric);
  font-size: 1.25rem;
  letter-spacing: -0.035em;
}

.stars-games li {
  padding: 0.75rem;
  background: var(--surface-raised);
  border: 1px solid var(--white-line);
  border-radius: 0.7rem;
}

.stars-games div {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.82rem;
  line-height: 1.55;
}

.stars-games small,
.panel-note {
  display: block;
  margin-top: 0.35rem;
  color: var(--silver);
  font-size: 0.68rem;
}

.panel-source-link {
  display: inline-flex;
  margin-top: 0.55rem;
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 850;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

.panel-empty {
  margin: 0.9rem 0 0;
  color: var(--silver);
  font-size: 0.86rem;
  line-height: 1.55;
}

.league-briefs {
  display: grid;
  gap: 0;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--white-line);
}

.league-briefs li {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--white-line);
}

.league-briefs a {
  color: var(--ice);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.35;
  text-decoration-color: var(--green);
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.22em;
}

.league-briefs a:hover {
  color: var(--electric);
}

.league-briefs p {
  margin: 0.35rem 0 0;
  color: var(--silver);
  font-size: 0.68rem;
}

.episode-art {
  background:
    radial-gradient(circle at 70% 28%, rgba(216, 255, 82, 0.4), transparent 38%),
    linear-gradient(145deg, var(--green-deep), var(--midnight));
  border: 1px solid rgba(216, 255, 82, 0.78);
  box-shadow: 0 0 34px rgba(216, 255, 82, 0.2);
}

.play-mark {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 4rem;
  aspect-ratio: 1;
  place-items: center;
  transform: translate(-50%, -50%);
  color: var(--midnight);
  background: var(--electric);
  border-radius: 50%;
  font-size: 1rem;
  text-indent: 0.15em;
}

.episode-lines,
.episode-lines::before,
.episode-lines::after {
  position: absolute;
  inset: 20% 0 auto;
  content: "";
  border-top: 1px solid rgba(212, 221, 216, 0.42);
}

.episode-lines::before {
  inset: 5rem 0 auto;
}

.episode-lines::after {
  inset: 10rem 0 auto;
}

.about {
  padding-block: clamp(5rem, 10vw, 9rem);
  color: var(--ice);
  background: var(--green-deep);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  align-items: center;
  gap: clamp(2.5rem, 8vw, 8rem);
}

.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(15rem, 21.875rem);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.about-portrait {
  display: block;
  background: var(--midnight);
}

.about-portrait--home {
  width: min(100%, 15rem);
  justify-self: center;
}

.about-portrait--hero {
  width: min(100%, 21.875rem);
  justify-self: end;
}

.about-portrait img {
  width: 100%;
  height: auto;
  border: 1px solid var(--silver);
  border-radius: 1rem;
  box-shadow: var(--shadow);
}

.about .eyebrow {
  color: var(--electric);
}

.about-lede {
  margin: 1.7rem 0 0;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 650;
}

.honest-empty {
  grid-column: 1 / -1;
  padding: clamp(1.75rem, 4vw, 3rem);
  color: var(--steel);
  background: rgba(212, 221, 216, 0.06);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

.section--dark .honest-empty {
  color: var(--silver);
  background: rgba(212, 221, 216, 0.06);
  border-color: var(--white-line);
}

.honest-empty--feature {
  color: var(--ink);
  background: var(--surface);
  border-style: solid;
  box-shadow: var(--shadow);
}

.honest-empty p:last-child {
  max-width: 50rem;
  margin-bottom: 0;
}

.page-intro {
  padding-block: clamp(4.5rem, 9vw, 8rem);
  background: var(--surface-raised);
}

.page-intro--dark {
  color: var(--ice);
  background:
    radial-gradient(circle at 80% 10%, rgba(216, 255, 82, 0.22), transparent 28rem),
    var(--midnight);
}

.page-intro h1 {
  max-width: 56rem;
  font-size: clamp(3rem, 8vw, 7rem);
}

.page-intro p:not(.eyebrow, .article-meta) {
  max-width: 43rem;
  margin: 1.4rem 0 0;
  color: var(--steel);
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
}

.page-intro--dark p:not(.eyebrow, .article-meta) {
  color: var(--silver);
}

.article-detail {
  padding-block: clamp(4rem, 8vw, 7rem);
  background: var(--surface);
}

.article-header {
  text-align: center;
}

.article-header h1 {
  font-size: clamp(2.75rem, 7.5vw, 6rem);
  line-height: 0.95;
}

.article-dek {
  margin: 1.6rem auto 0;
  color: var(--silver);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2.8vw, 1.65rem);
  line-height: 1.5;
}

.article-header .article-meta {
  justify-content: center;
}

.article-cover {
  width: min(1080px, calc(100vw - 2.5rem));
  margin: clamp(2.5rem, 6vw, 5rem) auto 0;
}

.article-cover-picture {
  display: flex;
  justify-content: center;
  width: 100%;
}

.article-cover img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(78vh, 52rem);
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.article-cover figcaption {
  margin-top: 0.55rem;
  color: var(--steel);
  font-size: 0.75rem;
  text-align: center;
}

.article-layout {
  margin-top: clamp(3rem, 7vw, 5.5rem);
}

.prose {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.08rem, 2vw, 1.22rem);
  line-height: 1.82;
}

.prose > *:first-child {
  margin-top: 0;
}

.prose p,
.prose ul,
.prose ol,
.prose blockquote,
.prose pre {
  margin-block: 1.4em;
}

.prose h2,
.prose h3,
.prose h4 {
  margin: 2em 0 0.6em;
  font-family: Inter, Aptos, "Segoe UI", sans-serif;
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.prose h2 { font-size: clamp(1.8rem, 4vw, 2.75rem); }
.prose h3 { font-size: clamp(1.45rem, 3vw, 2rem); }
.prose h4 { font-size: 1.3rem; }

.prose blockquote {
  margin-inline: 0;
  padding: 0.25rem 0 0.25rem 1.5rem;
  color: var(--silver);
  border-left: 4px solid var(--electric-dark);
  font-size: 1.1em;
  font-style: italic;
}

.prose pre {
  overflow-x: auto;
  padding: 1rem;
  color: var(--ice);
  background: var(--midnight);
  border-radius: 0.75rem;
  font-size: 0.8em;
}

.prose code {
  padding: 0.12em 0.3em;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: 0.25em;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.88em;
}

.prose pre code {
  padding: 0;
  color: inherit;
  background: none;
}

.article-sources,
.episode-notes {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.article-sources h2,
.episode-notes h2 {
  font-size: 1.6rem;
}

.article-sources li + li {
  margin-top: 0.55rem;
}

.prose a,
.article-sources a,
.episode-notes a {
  color: var(--electric);
}

.related {
  padding-block: clamp(4rem, 8vw, 7rem);
  background: var(--surface-raised);
}

.related h2 {
  margin-bottom: 2rem;
}

.preview-banner {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 0.7rem 1rem;
  color: var(--midnight);
  background: var(--electric);
  font-size: 0.8rem;
  text-align: center;
}

.episode-body {
  padding-block: clamp(3rem, 7vw, 6rem);
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--midnight);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.youtube-link {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 750;
  text-align: right;
}

.note-empty {
  margin-top: 3rem;
  color: var(--steel);
}

.site-footer {
  color: var(--silver);
  background: var(--midnight);
  border-top: 1px solid var(--white-line);
}

.footer-inner {
  min-height: 12rem;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 2rem;
  font-size: 0.82rem;
}

.footer-inner strong {
  color: var(--ice);
  font-size: 1rem;
}

.footer-inner a {
  color: var(--electric);
}

.admin-gate {
  min-height: 100vh;
  background: var(--midnight);
}

.admin-gate .site-header,
.admin-gate .site-footer {
  display: none;
}

.admin-gate-panel {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  color: var(--ice);
  background:
    radial-gradient(circle at 80% 15%, rgba(216, 255, 82, 0.24), transparent 32rem),
    var(--midnight);
}

.admin-gate-panel > div {
  width: min(34rem, 100%);
  padding: clamp(2rem, 6vw, 4rem);
  background: var(--surface-raised);
  border: 1px solid var(--white-line);
  border-radius: var(--radius);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.25);
}

.admin-gate-panel h1 {
  margin: 0;
  font-size: clamp(2.4rem, 8vw, 4rem);
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.admin-gate-panel p {
  color: var(--silver);
}

.dev-login {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--white-line);
}

.dev-login label {
  font-size: 0.8rem;
  font-weight: 800;
}

.dev-login input {
  min-height: 3rem;
  padding: 0.7rem 0.85rem;
  color: var(--ice);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.6rem;
}

.dev-login .button {
  justify-self: start;
}

.dev-login p {
  margin: 0;
  font-size: 0.72rem;
}

@media (max-width: 960px) {
  .middle-grid {
    grid-template-columns: 1fr;
  }

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

}

@media (max-width: 840px) {
  :root {
    --shell: min(100% - 1.5rem, 1180px);
    --reading: min(100% - 1.5rem, 760px);
  }

  .header-inner {
    min-height: 4.4rem;
  }

  .brand > span:last-child {
    display: none;
  }

  .site-header nav {
    gap: 1rem;
    font-size: 0.7rem;
  }

  .scoreboard-inner {
    grid-template-columns: 1fr;
    gap: 0.6rem;
    padding-block: 0.8rem;
  }

  .scoreboard-label strong {
    max-width: 28rem;
  }

  .score-list {
    width: calc(100% + 0.75rem);
    margin-right: -0.75rem;
  }

  .hero-grid,
  .about-grid,
  .about-hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
  }

  .hero-emblem {
    width: min(88vw, 30rem);
    justify-self: center;
  }

  .story-card--featured,
  .middle-grid .story-card--featured {
    grid-template-columns: 1fr;
  }

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

  .about-portrait--hero {
    width: min(82vw, 21.875rem);
    justify-self: center;
  }

  .footer-inner {
    min-height: auto;
    grid-template-columns: 1fr 1fr;
    padding-block: 3rem;
  }

  .footer-inner a {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .site-header nav a:nth-child(3) {
    display: none;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 16vw, 5.3rem);
  }

  .hero-actions,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .story-grid,
  .episode-grid {
    grid-template-columns: 1fr;
  }

  .middle-rail {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 0.75rem;
  }

  .preview-banner {
    align-items: center;
    flex-direction: column;
    gap: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-inner a {
    grid-column: auto;
  }
}

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