/* ===== 赛事笔记 / page-news ===== */

.page-news {
  --news-pulse-text: #F2909C;
  background: var(--deep);
  color: var(--text);
  overflow-x: clip;
}

/* ---------- 通用标题 ---------- */

.page-news .news-h2 {
  font-family: var(--f-head);
  font-weight: 900;
  font-size: clamp(24px, 4.4vw, 40px);
  line-height: 1.06;
  letter-spacing: -.02em;
  color: var(--ice);
  margin: 0 0 14px;
}

.page-news .eyebrow {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--cyan);
  border-left: 2px solid var(--cyan);
  padding-left: 9px;
  margin: 0 0 12px;
  text-transform: none;
}

.page-news .crumb {
  margin-bottom: 22px;
}

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

.page-news .news-hero {
  position: relative;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(120% 95% at 88% -10%, rgba(56, 225, 214, .16), transparent 62%),
    linear-gradient(180deg, rgba(12, 27, 42, .92), rgba(6, 18, 31, .35));
}

.page-news .news-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(115deg,
      rgba(31, 111, 92, .13) 0 2px,
      transparent 2px 28px);
}

.page-news .news-hero > .shell {
  position: relative;
  z-index: 1;
}

.page-news .news-hero h1 {
  position: relative;
  font-family: var(--f-head);
  font-weight: 900;
  font-size: clamp(36px, 9vw, 82px);
  line-height: .97;
  letter-spacing: -.03em;
  color: var(--ice);
  margin: 0 0 20px;
  max-width: 14ch;
  transform: skewX(-6deg);
  transform-origin: left bottom;
}

.page-news .news-hero h1::after {
  content: "";
  position: absolute;
  left: 2px;
  bottom: -10px;
  width: clamp(48px, 14vw, 120px);
  height: 5px;
  background: linear-gradient(90deg, var(--cyan), rgba(56, 225, 214, 0));
  transform: skewX(-26deg);
}

.page-news .news-hero .lede {
  max-width: 60ch;
  margin: 26px 0 0;
  font-size: clamp(15px, 2.1vw, 17.5px);
  line-height: 1.78;
  color: var(--text);
}

.page-news .news-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 30px;
  background: var(--line);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}

.page-news .news-stats__item {
  background: var(--ink);
  padding: 14px 16px 16px;
}

.page-news .news-stats__num {
  display: block;
  font-family: var(--f-mono);
  font-size: clamp(22px, 4.6vw, 34px);
  line-height: 1;
  color: var(--cyan);
  letter-spacing: -.02em;
}

.page-news .news-stats__label {
  display: block;
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--frost);
}

/* ---------- 标签区 ---------- */

.page-news .news-tags__grid {
  display: grid;
  gap: 28px;
}

.page-news .news-tags__intro {
  max-width: 62ch;
  margin: 0 0 20px;
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--text);
}

.page-news .news-tags .seg {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  background: var(--line);
}

.page-news .news-tags .seg__btn {
  flex: 1 1 auto;
  min-width: 96px;
  padding: 11px 12px;
  border: 0;
  background: var(--ink);
  color: var(--frost);
  font-family: var(--f-body);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  transition: color .18s var(--ease), background .18s var(--ease);
}

.page-news .news-tags .seg__btn[aria-selected="true"] {
  background: rgba(56, 225, 214, .10);
  color: var(--cyan);
  box-shadow: inset 0 -2px 0 0 var(--cyan);
}

.page-news .news-tags .seg__btn:hover,
.page-news .news-tags .seg__btn:focus-visible {
  color: var(--ice);
}

.page-news .news-tags .seg__btn:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: -3px;
}

.page-news .seg-panel {
  display: none;
}

.page-news .seg-panel.is-in {
  display: block;
}

.page-news .seg-panel:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.page-news .seg-panel {
  border-left: 2px solid var(--cyan);
  padding: 2px 0 2px 18px;
  animation: news-panel-in .22s var(--ease) both;
}

@keyframes news-panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.page-news .news-tagpanel__what {
  margin: 0 0 12px;
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--text);
  max-width: 58ch;
}

.page-news .news-tagpanel__who {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--frost);
}

.page-news .news-tagpanel__sample {
  margin: 0;
  font-family: var(--f-mono);
  font-size: 12.5px;
  line-height: 1.7;
  letter-spacing: .01em;
  color: var(--gold);
}

.page-news .news-tags__hint {
  margin: 22px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.7;
  color: var(--frost);
}

.page-news .news-tags__hint a,
.page-news .news-craft__more a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(56, 225, 214, .45);
}

.page-news .news-tags__hint a:hover,
.page-news .news-craft__more a:hover {
  border-bottom-color: var(--cyan);
}

.page-news .news-tags__figure {
  margin: 0;
  max-width: 100%;
}

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

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

.page-news .news-list__head {
  margin-bottom: 22px;
}

.page-news .news-list__note {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--frost);
}

.page-news .news-list__focus {
  margin: 0 0 28px;
}

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

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

.page-news .news-entry {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "tag"
    "title"
    "sum"
    "time";
  gap: 8px;
  padding: 18px 0 18px 16px;
  border-bottom: 1px solid var(--line);
  transition: background .2s var(--ease);
}

.page-news .news-entry::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  background: linear-gradient(180deg, var(--cyan), rgba(56, 225, 214, .1));
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform .22s var(--ease);
}

.page-news .news-entry:hover,
.page-news .news-entry:focus-within {
  background: rgba(56, 225, 214, .035);
}

.page-news .news-entry:hover::before,
.page-news .news-entry:focus-within::before {
  transform: scaleY(1);
}

.page-news .news-entry__tag {
  grid-area: tag;
  justify-self: start;
  align-self: start;
  display: inline-block;
  padding: 4px 10px 4px 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.4;
  white-space: nowrap;
  color: var(--cyan);
  background: var(--cyan-wash);
  border-left: 3px solid var(--cyan);
}

.page-news .news-entry__tag--gold {
  color: var(--gold);
  background: rgba(255, 178, 63, .12);
  border-left-color: var(--gold);
}

.page-news .news-entry__tag--pulse {
  color: var(--news-pulse-text);
  background: rgba(192, 48, 62, .18);
  border-left-color: var(--pulse);
}

.page-news .news-entry__title {
  grid-area: title;
  margin: 0;
  font-family: var(--f-head);
  font-weight: 800;
  font-size: clamp(17px, 2.6vw, 22px);
  line-height: 1.3;
  letter-spacing: -.01em;
  color: var(--ice);
}

.page-news .news-entry__sum {
  grid-area: sum;
  margin: 0;
  max-width: 64ch;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--frost);
}

.page-news .news-entry__time {
  grid-area: time;
  justify-self: start;
  font-family: var(--f-mono);
  font-size: 12.5px;
  line-height: 1.5;
  letter-spacing: .02em;
  color: var(--frost);
  white-space: nowrap;
}

/* ---------- 区域专题带 ---------- */

.page-news .news-regions__intro {
  max-width: 64ch;
  margin: 0 0 24px;
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--text);
}

.page-news .news-regions__split {
  position: relative;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-news .news-region {
  padding: 22px 20px 24px;
  background-color: var(--ink);
}

.page-news .news-region--sh {
  background-image: linear-gradient(97deg, rgba(56, 225, 214, .09) 0%, rgba(12, 27, 42, 0) 58%);
}

.page-news .news-region--gz {
  background-image: linear-gradient(83deg, rgba(192, 48, 62, .13) 0%, rgba(12, 27, 42, 0) 58%);
}

.page-news .news-region__index {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: .16em;
  color: var(--frost);
  margin-bottom: 10px;
}

.page-news .news-region--sh .news-region__index {
  color: var(--cyan);
}

.page-news .news-region--gz .news-region__index {
  color: var(--news-pulse-text);
}

.page-news .news-region__title {
  margin: 0 0 14px;
  font-family: var(--f-head);
  font-weight: 900;
  font-size: clamp(18px, 3vw, 26px);
  line-height: 1.18;
  letter-spacing: -.01em;
  color: var(--ice);
}

.page-news .news-region__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-news .news-region__list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--text);
}

.page-news .news-region__list li:last-child {
  margin-bottom: 0;
}

.page-news .news-region__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 1px;
  background: var(--cyan);
}

.page-news .news-region--gz .news-region__list li::before {
  background: var(--pulse);
}

.page-news .news-regions__figure {
  margin: 24px 0 0;
}

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

/* ---------- 复盘流程 ---------- */

.page-news .news-craft__grid {
  display: grid;
  gap: 30px;
}

.page-news .news-craft__lede {
  max-width: 58ch;
  margin: 0 0 22px;
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--text);
}

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

.page-news .news-step {
  position: relative;
  padding: 16px 0 16px 58px;
  border-bottom: 1px solid var(--line);
}

.page-news .news-step__num {
  position: absolute;
  left: 0;
  top: 17px;
  padding-left: 9px;
  border-left: 2px solid var(--cyan);
  font-family: var(--f-mono);
  font-size: 13px;
  line-height: 1.4;
  color: var(--cyan);
}

.page-news .news-step h3 {
  margin: 0 0 7px;
  font-family: var(--f-body);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ice);
}

.page-news .news-step p {
  margin: 0;
  max-width: 60ch;
  font-size: 14.5px;
  line-height: 1.74;
  color: var(--frost);
}

.page-news .news-craft__more {
  margin: 22px 0 0;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--frost);
}

.page-news .news-craft__figure {
  margin: 0;
}

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

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

.page-news .news-sub__panel {
  padding: 26px 20px 28px;
}

.page-news .news-sub__lede {
  max-width: 62ch;
  margin: 0 0 20px;
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--text);
}

.page-news .news-sub__list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
}

.page-news .news-sub__list li {
  position: relative;
  padding: 11px 0 11px 24px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--text);
}

.page-news .news-sub__list li:last-child {
  border-bottom: 1px solid var(--line);
}

.page-news .news-sub__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 19px;
  width: 9px;
  height: 9px;
  border-left: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(-45deg) skewX(-8deg);
}

.page-news .news-sub__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

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

  .page-news .news-tags .seg__btn {
    min-width: 0;
  }
}

@media (min-width: 760px) {
  .page-news .news-entry {
    grid-template-columns: 132px minmax(0, 1fr) 150px;
    grid-template-areas:
      "tag title time"
      "tag sum time";
    column-gap: 26px;
    row-gap: 8px;
    align-items: start;
    padding: 20px 0 20px 18px;
  }

  .page-news .news-entry::before {
    top: 20px;
    bottom: 20px;
  }

  .page-news .news-entry__time {
    justify-self: end;
    text-align: right;
    padding-top: 3px;
  }

  .page-news .news-entry__tag {
    margin-top: 2px;
  }

  .page-news .news-sub__panel {
    padding: 36px 38px 40px;
  }
}

@media (min-width: 900px) {
  .page-news .news-tags__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
    column-gap: 46px;
    align-items: start;
  }

  .page-news .news-tags__figure {
    margin-top: 6px;
  }

  .page-news .news-craft__grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    column-gap: 48px;
    align-items: start;
  }

  .page-news .news-craft__figure {
    margin-top: 8px;
  }
}

@media (min-width: 820px) {
  .page-news .news-regions__split {
    grid-template-columns: 1fr 1fr;
  }

  .page-news .news-regions__split::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    pointer-events: none;
    background: repeating-linear-gradient(180deg,
        var(--line-2) 0 6px,
        transparent 6px 13px);
  }

  .page-news .news-region {
    padding: 28px 30px 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .seg-panel {
    animation: none;
  }

  .page-news .news-entry,
  .page-news .news-entry::before,
  .page-news .news-tags .seg__btn {
    transition: none;
  }

  .page-news .news-entry:hover,
  .page-news .news-entry:focus-within {
    background: transparent;
  }

  .page-news .news-entry:hover::before,
  .page-news .news-entry:focus-within::before {
    transform: scaleY(1);
  }
}
