.page-news {
  --rail-w: 208px;
  --news-hair: rgba(216, 168, 78, .26);
  --news-hair-soft: rgba(142, 127, 163, .26);
  --news-body: rgba(247, 232, 200, .8);
  background: var(--night);
  color: var(--cream);
  font-family: var(--font-body);
  overflow-x: clip;
}

.page-news img {
  max-width: 100%;
  height: auto;
}

.page-news h1,
.page-news h2,
.page-news h3,
.page-news h4 {
  overflow-wrap: break-word;
}

.page-news .section-head {
  margin-bottom: clamp(1.2rem, 3vw, 2rem);
}

.page-news .copy-chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  max-width: 100%;
  padding: .35rem .6rem;
  border: 1px solid var(--news-hair);
  border-radius: 999px;
  background: rgba(22, 13, 34, .6);
  color: var(--cream);
  font: inherit;
  cursor: pointer;
  transition: border-color .16s var(--ease), background .16s var(--ease);
}

.page-news .copy-chip:hover,
.page-news .copy-chip:focus-visible {
  border-color: var(--gold);
  background: rgba(216, 168, 78, .12);
}

.page-news .copy-chip__value {
  font-size: .72rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-news .copy-chip__flag {
  font-size: .68rem;
  color: var(--amber);
  white-space: nowrap;
}

.page-news .copy-chip[data-copied] .copy-chip__flag {
  color: var(--jade);
}

.news-hero {
  position: relative;
  padding: clamp(2.2rem, 6vw, 4.4rem) 0 clamp(2.4rem, 6vw, 4.6rem);
  border-bottom: 1px solid var(--news-hair);
  background:
    radial-gradient(120% 90% at 88% 0%, rgba(216, 168, 78, .16), transparent 60%),
    radial-gradient(90% 80% at 0% 100%, rgba(63, 181, 154, .08), transparent 62%),
    repeating-linear-gradient(0deg, rgba(247, 232, 200, .028) 0 1px, transparent 1px 4px),
    var(--night);
}

.news-hero__grid {
  display: grid;
  gap: clamp(1.6rem, 4vw, 3rem);
}

.news-hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 7.2vw, 4.2rem);
  line-height: 1.06;
  letter-spacing: -.02em;
  margin: .55rem 0 1rem;
}

.news-hero__lede {
  max-width: 54ch;
  margin: 0;
  font-size: clamp(1rem, 2.1vw, 1.1rem);
  line-height: 1.85;
  color: var(--news-body);
}

.news-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1.5rem;
}

.news-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 1.8rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--news-hair);
}

.news-stat {
  display: flex;
  flex-direction: column;
  gap: .3rem;
}

.news-stat__num {
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
}

.news-stat__label {
  font-size: .8rem;
  line-height: 1.55;
  color: var(--mauve);
}

.news-hero__aside {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.news-figure {
  position: relative;
  margin: 0;
  border: 1px solid var(--news-hair);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel-2);
}

.news-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.news-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .45;
  background: repeating-linear-gradient(0deg, rgba(22, 13, 34, .28) 0 1px, transparent 1px 4px);
}

.news-figure .img-frame__caption {
  position: relative;
  z-index: 1;
  display: block;
  padding: .55rem .8rem;
  border-top: 1px solid var(--news-hair);
  background: rgba(22, 13, 34, .92);
  font-size: .68rem;
  letter-spacing: .1em;
  color: var(--gold);
}

.dispatch {
  padding: 1rem 1.05rem;
  border: 1px solid var(--news-hair-soft);
  border-left: 2px solid var(--amber);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 138, 61, .1), rgba(36, 20, 50, .7));
}

.dispatch__title {
  margin: 0 0 .35rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}

.dispatch__text {
  margin: 0 0 .85rem;
  font-size: .86rem;
  line-height: 1.7;
  color: var(--news-body);
}

.news-stream {
  padding: clamp(2.2rem, 5vw, 3.6rem) 0;
}

.section-lede {
  max-width: 62ch;
  margin: .55rem 0 0;
  font-size: .95rem;
  line-height: 1.78;
  color: var(--news-body);
}

.stream-grid {
  display: grid;
  gap: 1.6rem;
}

.stream-grid > * {
  min-width: 0;
}

.rail {
  min-width: 0;
  padding: .9rem;
  border: 1px solid var(--news-hair-soft);
  border-radius: var(--radius);
  background: rgba(28, 16, 41, .72);
}

.rail__caption {
  margin: 0 0 .6rem;
  font-size: .66rem;
  letter-spacing: .16em;
  color: var(--mauve);
}

.rail__list {
  display: flex;
  gap: .45rem;
  margin: 0;
  padding: 0 0 .2rem;
  list-style: none;
  overflow-x: auto;
}

.rail__link {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .65rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--cream);
  text-decoration: none;
  white-space: nowrap;
  font-size: .82rem;
  transition: background .16s var(--ease), border-color .16s var(--ease);
}

.rail__link:hover,
.rail__link:focus-visible {
  background: rgba(216, 168, 78, .1);
  border-color: var(--news-hair);
}

.rail__ver {
  font-size: .74rem;
  color: var(--gold);
}

.rail__label {
  color: var(--news-body);
}

.rail__foot {
  display: none;
}

.feed {
  display: grid;
  gap: clamp(1.4rem, 3vw, 2.2rem);
  min-width: 0;
}

.feed__group,
.interlude,
.archive,
.guide,
.more {
  scroll-margin-top: 96px;
}

.feed__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .5rem;
  padding-bottom: .6rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--news-hair);
}

.feed__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 3vw, 1.6rem);
}

.entry-list {
  display: grid;
  gap: .8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.entry {
  position: relative;
  padding: .95rem 1rem 1rem 1.2rem;
  border: 1px solid var(--news-hair-soft);
  border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(36, 20, 50, .94), rgba(28, 16, 41, .94));
  transition: transform .16s var(--ease), border-color .16s var(--ease);
}

.entry::before {
  content: "";
  position: absolute;
  left: 0;
  top: .9rem;
  bottom: .9rem;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--gold), rgba(216, 168, 78, 0));
}

.entry:hover {
  transform: translateY(-2px);
  border-color: var(--news-hair);
}

.entry__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem .55rem;
}

.entry__ver {
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--gold);
}

.entry__time {
  font-size: .74rem;
  color: var(--mauve);
}

.entry__title {
  margin: .5rem 0 .35rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  line-height: 1.42;
}

.entry__body {
  margin: 0;
  font-size: .9rem;
  line-height: 1.72;
  color: var(--news-body);
}

.entry__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1rem;
  margin: .75rem 0 0;
  padding-top: .6rem;
  border-top: 1px dashed var(--news-hair-soft);
  list-style: none;
  font-size: .76rem;
  line-height: 1.6;
  color: var(--news-body);
}

.entry__meta-k {
  margin-right: .3rem;
  color: var(--mauve);
}

.interlude {
  display: grid;
  gap: 1rem;
  padding: .9rem;
  border: 1px solid var(--news-hair);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(216, 168, 78, .12), transparent 58%),
    rgba(28, 16, 41, .86);
}

.interlude__body {
  min-width: 0;
}

.interlude__title {
  margin: 0 0 .7rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
}

.interlude__text {
  margin: 0 0 .9rem;
  font-size: .86rem;
  line-height: 1.72;
  color: var(--news-body);
}

.channel-list {
  display: grid;
  gap: .55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.channel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .2rem .55rem;
  align-items: center;
  font-size: .82rem;
}

.channel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.channel__dot--jade {
  background: var(--jade);
}

.channel__dot--gold {
  background: var(--gold);
}

.channel__dot--amber {
  background: var(--amber);
}

.channel__dot--alert {
  background: var(--alert);
}

.channel__name {
  font-weight: 600;
  color: var(--cream);
}

.channel__desc {
  grid-column: 2;
  font-size: .76rem;
  line-height: 1.55;
  color: var(--mauve);
}

.archive {
  padding: clamp(2.2rem, 5vw, 4rem) 0;
  background:
    repeating-linear-gradient(0deg, rgba(42, 27, 18, .035) 0 1px, transparent 1px 5px),
    var(--paper);
  color: var(--brown);
}

.archive__grid {
  display: grid;
  gap: 1.6rem;
}

.archive__main {
  min-width: 0;
}

.page-news .eyebrow--dark {
  color: var(--alert);
}

.page-news .eyebrow--dark::before {
  background: var(--alert);
}

.archive__title {
  margin: .4rem 0 0;
  color: var(--brown);
}

.archive__lede {
  max-width: 56ch;
  margin: .7rem 0 1.2rem;
  font-size: .95rem;
  line-height: 1.78;
  color: rgba(42, 27, 18, .82);
}

.archive-list {
  display: grid;
  gap: .55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.archive-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem .7rem;
  padding: .7rem .85rem;
  border: 1px solid rgba(42, 27, 18, .16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .55);
  color: var(--brown);
  text-decoration: none;
  transition: background .16s var(--ease), border-color .16s var(--ease), transform .16s var(--ease);
}

.archive-item:hover,
.archive-item:focus-visible {
  background: #fff;
  border-color: rgba(42, 27, 18, .42);
  transform: translateX(2px);
}

.archive-item__ver {
  font-size: .9rem;
  font-weight: 700;
}

.archive-item__desc {
  font-size: .82rem;
  color: rgba(42, 27, 18, .7);
}

.state {
  margin-left: auto;
  padding: .15rem .5rem;
  border: 1px solid;
  border-radius: 999px;
  font-size: .72rem;
  white-space: nowrap;
}

.state--ok {
  color: #1F6B59;
  border-color: rgba(63, 181, 154, .7);
  background: rgba(63, 181, 154, .14);
}

.state--warn {
  color: #8A5A12;
  border-color: rgba(216, 168, 78, .8);
  background: rgba(216, 168, 78, .2);
}

.state--alert {
  color: #8E2530;
  border-color: rgba(163, 58, 68, .55);
  background: rgba(163, 58, 68, .12);
}

.archive__note {
  margin: 1rem 0 0;
  font-size: .78rem;
  line-height: 1.68;
  color: rgba(42, 27, 18, .62);
}

.archive__figure {
  border-color: rgba(42, 27, 18, .25);
}

.guide {
  padding: clamp(2.2rem, 5vw, 3.8rem) 0;
}

.guide__grid {
  display: grid;
  gap: 1.4rem;
}

.steps {
  display: grid;
  gap: .2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  min-width: 0;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .9rem;
  padding: 1rem 0;
  border-top: 1px solid var(--news-hair);
}

.step:first-child {
  padding-top: 0;
  border-top: 0;
}

.step__num {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--amber);
}

.step__title {
  margin: 0 0 .25rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
}

.step__text {
  margin: 0;
  font-size: .88rem;
  line-height: 1.75;
  color: var(--news-body);
}

.guide__note {
  padding: 1.1rem;
  border: 1px solid var(--news-hair);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(63, 181, 154, .12), rgba(28, 16, 41, .8));
}

.guide__note-title {
  margin: 0 0 .65rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
}

.guide__list {
  display: grid;
  gap: .45rem;
  margin: 0 0 .8rem;
  padding-left: 1.1rem;
  font-size: .85rem;
  line-height: 1.68;
  color: var(--news-body);
}

.guide__note-tail {
  margin: 0 0 1rem;
  font-size: .82rem;
  line-height: 1.7;
  color: var(--mauve);
}

.more {
  padding: 0 0 clamp(2.6rem, 6vw, 4rem);
}

.next-grid {
  display: grid;
  gap: .75rem;
}

.next-card {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: 1rem 1.05rem;
  border: 1px solid var(--news-hair-soft);
  border-radius: var(--radius);
  background: rgba(36, 20, 50, .78);
  color: var(--cream);
  text-decoration: none;
  transition: border-color .16s var(--ease), transform .16s var(--ease), background .16s var(--ease);
}

.next-card:hover,
.next-card:focus-visible {
  border-color: var(--news-hair);
  background: rgba(36, 20, 50, .96);
  transform: translateY(-3px);
}

.next-card__k {
  font-size: .66rem;
  letter-spacing: .14em;
  color: var(--amber);
}

.next-card__t {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
}

.next-card__d {
  font-size: .83rem;
  line-height: 1.65;
  color: var(--news-body);
}

@media (min-width: 520px) {
  .channel-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 760px) {
  .interlude {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: 1.2rem;
    padding: 1rem;
  }

  .interlude--slim {
    grid-template-columns: 200px minmax(0, 1fr);
  }
}

@media (min-width: 720px) {
  .next-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 880px) {
  .guide__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    align-items: start;
    gap: clamp(1.4rem, 3vw, 2.6rem);
  }
}

@media (min-width: 900px) {
  .archive__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: start;
    gap: clamp(1.6rem, 3vw, 2.8rem);
  }
}

@media (min-width: 960px) {
  .news-hero__grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    align-items: start;
  }

  .stream-grid {
    grid-template-columns: var(--rail-w) minmax(0, 1fr);
    align-items: start;
    gap: clamp(1.4rem, 3vw, 2.6rem);
  }

  .rail {
    position: sticky;
    top: 92px;
  }

  .rail__list {
    display: block;
    overflow: visible;
    padding-bottom: 0;
  }

  .rail__item + .rail__item {
    margin-top: .3rem;
  }

  .rail__link {
    white-space: normal;
  }

  .rail__foot {
    display: block;
    margin: .85rem 0 0;
    padding-top: .7rem;
    border-top: 1px solid var(--news-hair-soft);
    font-size: .76rem;
    line-height: 1.65;
    color: var(--mauve);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .entry,
  .page-news .archive-item,
  .page-news .next-card,
  .page-news .copy-chip {
    transition: none;
  }

  .page-news .entry:hover,
  .page-news .archive-item:hover,
  .page-news .next-card:hover {
    transform: none;
  }
}
