/* ===== 战报与动态 / page-news ===== */

.page-news {
  --pn-hair: rgba(233, 238, 245, .13);
  --pn-hair-soft: rgba(233, 238, 245, .06);
  --pn-glass: rgba(28, 43, 69, .5);
  --pn-green-soft: rgba(63, 163, 114, .08);
  display: block;
}

/* ---------- 首屏 ---------- */

.page-news .hero {
  position: relative;
  padding: clamp(40px, 8vw, 88px) 0 clamp(32px, 5vw, 56px);
  background:
    radial-gradient(90% 70% at 84% 6%, rgba(63, 163, 114, .16), transparent 62%),
    radial-gradient(80% 70% at 4% 96%, rgba(28, 43, 69, .85), transparent 72%);
  overflow: hidden;
}

.page-news .hero-grid {
  display: grid;
  gap: clamp(26px, 4vw, 48px);
  align-items: center;
}

.page-news .hero-copy > .eyebrow {
  display: inline-flex;
  margin-top: 18px;
}

.page-news .hero-copy h1 {
  margin: 12px 0 0;
  font-size: clamp(32px, 6.8vw, 64px);
  line-height: 1.08;
  letter-spacing: -.02em;
  font-weight: 900;
}

.page-news .hero-copy .lede {
  margin: 18px 0 0;
  color: var(--index);
}

.page-news .hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 28px;
}

.page-news .hero-frame {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-card);
  border: 1px solid var(--pn-hair);
  overflow: hidden;
  background: linear-gradient(150deg, rgba(63, 163, 114, .3), rgba(11, 18, 32, .95) 64%);
}

.page-news .hero-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-news .hero-frame figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 46px 16px 14px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--index);
  background: linear-gradient(180deg, rgba(11, 18, 32, 0), rgba(11, 18, 32, .92));
}

/* ---------- 通用小节头 ---------- */

.page-news .section {
  padding-top: clamp(44px, 7vw, 88px);
  padding-bottom: clamp(44px, 7vw, 88px);
}

.page-news .section-head {
  max-width: 700px;
  margin-bottom: clamp(22px, 3vw, 34px);
}

.page-news .section-head .h2 {
  margin: 10px 0 0;
}

.page-news .section-head .lede {
  margin: 12px 0 0;
  color: var(--index);
}

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

/* ---------- 标签筛选带 ---------- */

.page-news .tagfilter {
  position: relative;
}

.page-news .tf-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.page-news .tag-rail {
  display: flex;
  gap: 8px;
  padding: 2px 0 18px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.page-news .tag-rail::-webkit-scrollbar {
  display: none;
}

.page-news .tag-pill {
  flex: 0 0 auto;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--pn-hair);
  background: var(--pn-glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--text);
  font-size: 13.5px;
  line-height: 1.5;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.page-news .tag-pill:hover {
  border-color: var(--grass-lite);
}

.page-news #tf-all:checked ~ .tag-rail label[for="tf-all"],
.page-news #tf-transfer:checked ~ .tag-rail label[for="tf-transfer"],
.page-news #tf-result:checked ~ .tag-rail label[for="tf-result"],
.page-news #tf-season:checked ~ .tag-rail label[for="tf-season"],
.page-news #tf-notice:checked ~ .tag-rail label[for="tf-notice"] {
  background: var(--grass);
  border-color: var(--grass);
  color: #05160e;
  font-weight: 700;
}

.page-news #tf-all:focus-visible ~ .tag-rail label[for="tf-all"],
.page-news #tf-transfer:focus-visible ~ .tag-rail label[for="tf-transfer"],
.page-news #tf-result:focus-visible ~ .tag-rail label[for="tf-result"],
.page-news #tf-season:focus-visible ~ .tag-rail label[for="tf-season"],
.page-news #tf-notice:focus-visible ~ .tag-rail label[for="tf-notice"] {
  outline: 2px solid var(--grass-lite);
  outline-offset: 2px;
}

.page-news #tf-transfer:checked ~ .entry-list > .entry:not([data-tag="transfer"]),
.page-news #tf-result:checked ~ .entry-list > .entry:not([data-tag="result"]),
.page-news #tf-season:checked ~ .entry-list > .entry:not([data-tag="season"]),
.page-news #tf-notice:checked ~ .entry-list > .entry:not([data-tag="notice"]) {
  display: none;
}

/* ---------- 条目列表 ---------- */

.page-news .entry-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--pn-hair);
}

.page-news .entry {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 0 14px;
  padding: 18px 12px 18px 14px;
  border-bottom: 1px solid var(--pn-hair-soft);
  border-left: 3px solid transparent;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.page-news .entry:hover,
.page-news .entry:focus-within {
  border-left-color: var(--grass);
  background: var(--pn-green-soft);
}

.page-news .entry-no {
  font-size: 12px;
  line-height: 2;
  color: var(--index);
  letter-spacing: .05em;
}

.page-news .entry-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}

.page-news .entry-time {
  font-size: 11.5px;
  letter-spacing: .02em;
  color: var(--index);
}

.page-news .entry-title {
  margin: 8px 0 0;
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: -.005em;
  color: var(--text);
}

/* ---------- 四个标签说明 ---------- */

.page-news .tagmap-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-news .tagcard {
  position: relative;
  padding: 22px 18px 20px;
  border-radius: var(--r-card);
  border: 1px solid var(--pn-hair);
  background: linear-gradient(180deg, rgba(28, 43, 69, .72), rgba(16, 27, 46, .9));
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.page-news .tagcard::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--tagcard-accent, var(--grass));
}

.page-news .tagcard:hover {
  border-color: rgba(111, 216, 166, .5);
  transform: translateY(-2px);
}

.page-news .tagcard--transfer { --tagcard-accent: var(--grass); }
.page-news .tagcard--result { --tagcard-accent: var(--grass-lite); }
.page-news .tagcard--season { --tagcard-accent: var(--gold); }
.page-news .tagcard--notice { --tagcard-accent: rgba(147, 163, 184, .95); }

.page-news .tagcard h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.page-news .tagcard p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--index);
}

.page-news .tagcard-freq {
  display: block;
  margin-top: 16px;
  font-size: 11.5px;
  letter-spacing: .05em;
  color: var(--index);
}

/* ---------- 赛季轴 ---------- */

.page-news .season-wrap {
  display: grid;
  gap: clamp(26px, 4vw, 40px);
}

.page-news .season-track {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-news .season-track::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--grass) 0%, rgba(63, 163, 114, .28) 55%, rgba(63, 163, 114, .05) 100%);
}

.page-news .season-node {
  position: relative;
  padding: 0 0 22px 40px;
}

.page-news .season-node:last-child {
  padding-bottom: 0;
}

.page-news .season-node::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 14px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--night);
  border: 2px solid var(--grass);
  box-shadow: 0 0 0 5px rgba(63, 163, 114, .12);
}

.page-news .season-card {
  padding: 18px 20px 20px;
  border-radius: var(--r-card);
  border: 1px solid var(--pn-hair);
  background: linear-gradient(160deg, rgba(28, 43, 69, .92), rgba(16, 27, 46, .96));
  transition: border-color var(--dur) var(--ease);
}

.page-news .season-card:hover {
  border-color: rgba(111, 216, 166, .45);
}

.page-news .season-mark {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(245, 200, 107, .42);
  color: var(--gold);
  font-size: 11.5px;
  letter-spacing: .06em;
}

.page-news .season-card .h3 {
  margin: 12px 0 0;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.page-news .season-card p {
  margin: 10px 0 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--index);
}

.page-news .season-card details {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--pn-hair);
}

.page-news .season-card summary {
  cursor: pointer;
  list-style: none;
  font-size: 13px;
  letter-spacing: .02em;
  color: var(--grass-lite);
}

.page-news .season-card summary::-webkit-details-marker {
  display: none;
}

.page-news .season-card summary::before {
  content: "+";
  display: inline-block;
  width: 14px;
  font-family: var(--f-mono);
}

.page-news .season-card details[open] summary::before {
  content: "–";
}

.page-news .season-card details p {
  margin: 10px 0 0;
  font-size: 13.5px;
  line-height: 1.75;
}

.page-news .season-figure,
.page-news .rhythm-figure,
.page-news .sub-figure {
  margin: 0;
  border-radius: var(--r-card);
  border: 1px solid var(--pn-hair);
  overflow: hidden;
  background: linear-gradient(150deg, rgba(28, 43, 69, .9), rgba(11, 18, 32, .96));
}

.page-news .season-figure img,
.page-news .rhythm-figure img,
.page-news .sub-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-news .season-figure img,
.page-news .rhythm-figure img {
  aspect-ratio: 3 / 2;
}

.page-news .sub-figure img {
  aspect-ratio: 3 / 4;
}

/* ---------- 更新安排 ---------- */

.page-news .rhythm-grid {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
}

.page-news .rhythm-copy .prose {
  margin: 0;
  color: var(--index);
}

.page-news .rhythm-copy .prose + .prose {
  margin-top: 18px;
}

.page-news .rhythm-steps {
  list-style: none;
  margin: 22px 0;
  padding: 0 0 0 20px;
  border-left: 2px solid rgba(63, 163, 114, .3);
}

.page-news .rhythm-steps li {
  position: relative;
  padding: 0 0 16px;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--text);
}

.page-news .rhythm-steps li::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--grass);
}

.page-news .rhythm-steps li:last-child {
  padding-bottom: 0;
}

.page-news .rhythm-steps .mono {
  display: inline-block;
  min-width: 56px;
  margin-right: 10px;
  font-size: 13px;
  color: var(--grass-lite);
  letter-spacing: .02em;
}

/* ---------- 订阅 ---------- */

.page-news .subscribe {
  border-top: 1px solid var(--pn-hair);
  background: linear-gradient(180deg, rgba(28, 43, 69, .4), rgba(11, 18, 32, 0));
}

.page-news .sub-grid {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
}

.page-news .sub-copy .prose {
  margin: 14px 0 0;
  color: var(--index);
}

.page-news .sub-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 26px;
}

/* ---------- 响应式 ---------- */

@media (min-width: 640px) {
  .page-news .tagmap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .page-news .entry {
    padding: 20px 16px 20px 18px;
  }
}

@media (min-width: 960px) {
  .page-news .hero-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  }

  .page-news .rhythm-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  }

  .page-news .sub-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
}

@media (min-width: 1000px) {
  .page-news .tagmap-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1040px) {
  .page-news .season-wrap {
    grid-template-columns: minmax(0, 1fr) 290px;
    align-items: start;
    gap: 44px;
  }

  .page-news .season-track::before {
    left: 50%;
    margin-left: -1px;
  }

  .page-news .season-node {
    width: 50%;
    padding: 0 34px 26px 0;
  }

  .page-news .season-node:nth-child(even) {
    margin-left: 50%;
    padding: 0 0 26px 34px;
  }

  .page-news .season-node::before {
    left: auto;
    right: -9px;
  }

  .page-news .season-node:nth-child(even)::before {
    left: -9px;
    right: auto;
  }

  .page-news .season-node:last-child {
    padding-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .tag-pill,
  .page-news .entry,
  .page-news .tagcard,
  .page-news .season-card {
    transition: none;
  }

  .page-news .tagcard:hover {
    transform: none;
  }
}
