:root {
  --ink: #18162a;
  --muted: #57536a;
  --accent: #3a2b8e;
  --accent-dark: #271969;
  --paper: #faf9f6;
  --line: #e2dee8;
  --tint: #eeebf9;
  font: 16px/1.55 system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--accent); }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #6955c2; outline-offset: 4px; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  z-index: 5;
  left: 1rem;
  top: -8rem;
  padding: .65rem 1rem;
  background: white;
}
.skip-link:focus { top: 1rem; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner {
  width: min(calc(100% - 2rem), 72rem);
  margin: auto;
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}
.brand, .header-nav, .hero-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.brand {
  gap: .65rem;
  flex-wrap: nowrap;
  font-weight: 780;
  letter-spacing: -.04em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.brand-mark {
  display: inline-block;
  flex: 0 0 auto;
  width: 1.28rem;
  height: 1.28rem;
  border: 2px solid var(--accent);
  border-radius: 50% 50% 50% 10%;
  box-shadow: inset 0 0 0 3px var(--paper), inset 0 0 0 5px var(--accent);
  transform: rotate(-12deg);
}
.header-nav { gap: .6rem 1.35rem; }
.header-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 650;
}
.header-nav a:hover { color: var(--accent); text-decoration: underline; }
.page { width: min(calc(100% - 2rem), 72rem); margin: 1.75rem auto 4.25rem; }
.show-nav { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: .85rem; }
.show-nav a {
  padding: .32rem .68rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  font-size: .86rem;
  font-weight: 690;
  text-decoration: none;
}
.show-nav a:hover { text-decoration: underline; }
.show-nav a[aria-current] { background: var(--tint); border-color: var(--tint); }
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 1.4rem;
  padding: clamp(1.7rem, 6vw, 5.15rem);
  color: #fbf8ff;
  background: radial-gradient(ellipse at 88% 18%, #3f3274, #251d4e 56%, #1b1535 100%);
}
.hero-content { position: relative; max-width: 39rem; }
.series {
  margin: 0 0 .42rem;
  font-size: .8rem;
  font-weight: 750;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #dad1ff;
}
.hero h1, .content-section h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 500;
  letter-spacing: -.065em;
  line-height: .98;
}
.hero h1 { margin: 0; font-size: clamp(3rem, 9vw, 7rem); text-wrap: balance; }
.episode-number { margin: .95rem 0 .6rem; color: #ddd6f3; font-size: .87rem; }
.episode-number span { margin: 0 .28rem; }
.hero-description { max-width: 35rem; margin: .5rem 0; color: #f0eaf9; }
.hero-links { gap: .75rem; margin-top: 1.55rem; }
.hero-art {
  position: absolute;
  z-index: -1;
  right: -6%;
  top: -85%;
  width: min(55rem, 78%);
  height: 144%;
  transform: rotate(-17deg);
  opacity: .64;
  pointer-events: none;
}
.hero-art span {
  position: absolute;
  inset: 1%;
  border-radius: 49%;
  border: 1px solid #b8adf5;
  box-shadow: 0 0 0 20px #b8adf525, 0 0 0 39px #b8adf53b, 0 0 0 60px #b8adf51e, 0 0 0 80px #b8adf541, 0 0 0 101px #b8adf515, 0 0 0 120px #b8adf52b;
}
.hero-art span:nth-child(2) { inset: 25% 7% 5%; transform: rotate(21deg); }
.hero-art span:nth-child(3) { inset: 7% 20% 5%; transform: rotate(-12deg); opacity: .6; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: start;
  min-height: 2.55rem;
  gap: .4rem;
  padding: .55rem .96rem;
  border: 1px solid transparent;
  border-radius: .55rem;
  background: var(--accent);
  color: white;
  font-size: .88rem;
  font-weight: 690;
  text-decoration: none;
}
.button:hover { background: var(--accent-dark); }
.button-light { background: #f0ebff; color: #251955; }
.button-light:hover { background: #fff; }
.button-secondary { border-color: #9387bb; background: #1b15356b; color: #fff; }
.button-secondary:hover { background: #180f35; }
.hero a:focus-visible { outline-color: #f7e5a0; }

.page-columns {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(13rem, 1fr);
  gap: clamp(1.3rem, 5vw, 4.35rem);
  margin-top: 2.5rem;
}
.main-column, .utilities { min-width: 0; }
.content-section { margin-bottom: 3rem; }
.content-section h2 { margin: 0 0 1.1rem; font-size: clamp(1.88rem, 5vw, 2.6rem); }
.source-group { margin-bottom: 1.45rem; }
.source-group h3 { margin: 0 0 .42rem; font-size: .83rem; color: var(--muted); }
.source-list, .episode-list, .reply-list, .review-list { padding: 0; margin: 0; list-style: none; }
.source-list { border: 1px solid var(--line); border-radius: .7rem; background: #fff; }
.source-item + .source-item { border-top: 1px solid var(--line); }
.source-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  padding: .97rem 1rem;
  color: var(--ink);
  text-decoration: none;
}
.source-item:first-child .source-link { border-radius: .7rem .7rem 0 0; }
.source-item:last-child .source-link { border-radius: 0 0 .7rem .7rem; }
.source-item:only-child .source-link { border-radius: .7rem; }
.source-link:hover { background: #f5f2fc; }
.source-link:hover .source-title { text-decoration: underline; }
.source-content { display: grid; gap: .16rem; min-width: 0; }
.source-name { color: var(--accent); font-size: .73rem; font-weight: 750; letter-spacing: .03em; }
.source-title { font-weight: 720; overflow-wrap: anywhere; }
.source-policy, .panel-note { color: var(--muted); font-size: .88rem; }
.panel-note { margin: .45rem 0 1rem; }
.outbound {
  display: grid;
  flex: 0 0 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  background: var(--tint);
  color: var(--accent);
}

.utilities { display: grid; align-content: start; gap: .85rem; }
.utility {
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: .78rem;
  background: #f7f5fa;
}
.utility h2 { margin: 0 0 .57rem; font-size: 1rem; letter-spacing: -.025em; }
.utility p { margin: .35rem 0; font-size: .88rem; color: var(--muted); }
.share-url { display: block; overflow-wrap: anywhere; font-size: .82rem; }
.copy-button {
  margin-top: .65rem;
  padding: .13rem 0;
  color: var(--accent);
  background: transparent;
  border: none;
  font-size: .88rem;
  font-weight: 680;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.copy-status:empty { display: none; }
.episode-list a { display: block; padding: .35rem 0; font-size: .9rem; }
.viewer { overflow-wrap: anywhere; }
.compact-form { display: grid; gap: .52rem; margin-top: .8rem; }
.compact-form label { font-size: .85rem; font-weight: 700; }
.compact-form input:not([type='hidden']), .compact-form textarea {
  width: 100%;
  padding: .56rem .63rem;
  border: 1px solid #aea6bd;
  border-radius: .5rem;
  background: #fff;
  color: var(--ink);
}
.compact-form button { justify-self: start; }
.compact-form textarea { resize: vertical; }
.feedback {
  padding: .7rem 1rem;
  border: 1px solid #c1b5e7;
  border-radius: .55rem;
  margin: 1rem 0 0;
  background: var(--tint);
}
.feedback-error { border-color: #dbaba8; background: #fff2f2; }
.disclosure { margin-top: 1rem; }
.disclosure summary, .text-action { color: var(--accent); cursor: pointer; font-weight: 700; font-size: .91rem; }
.review-item { margin-top: .85rem; }
.review-item fieldset { min-inline-size: 0; border: 1px solid var(--line); border-radius: .55rem; padding: .7rem; }
.review-item legend { color: var(--muted); font-size: .84rem; }
.review-source { display: block; overflow-wrap: anywhere; font-size: .88rem; }
.review-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .65rem; }
.button-quiet { border-color: var(--line); background: white; color: var(--accent); }
.button-quiet:hover { background: var(--tint); }
.reply { padding: .8rem 0; border-bottom: 1px solid var(--line); }
.reply header { display: flex; flex-wrap: wrap; gap: .3rem .65rem; align-items: baseline; }
.reply header span { font-weight: 730; overflow-wrap: anywhere; }
.reply time { font-size: .78rem; color: var(--muted); }
.reply p { margin: .34rem 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.reply-form { margin-top: 1rem; }

@media (max-width: 45rem) {
  .page { margin-top: 1rem; }
  .header-inner { min-height: 4rem; }
  .header-nav { gap: .45rem .78rem; }
  .header-nav a { font-size: .83rem; }
  .hero-art { width: 87%; opacity: .35; }
  .page-columns { grid-template-columns: 1fr; margin-top: 1.85rem; }
  .content-section { margin-bottom: 2.05rem; }
  .utilities { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
}

@media (max-width: 29rem) {
  .header-inner { flex-wrap: wrap; padding: .7rem 0; gap: .45rem; }
  .header-nav { width: 100%; }
  .hero { border-radius: .9rem; }
}
