/* ===== page-news 作用域 ===== */
.page-news {
  --news-home: #FF6A1A;
  --news-away: #1B6E9C;
  --news-home-soft: rgba(255, 106, 26, .14);
  --news-away-soft: rgba(27, 110, 156, .12);
  --news-hair: rgba(198, 204, 212, .18);
  --news-hair-ink: rgba(30, 38, 48, .12);
  background: var(--c-night);
}

.page-news .phx-section__head {
  max-width: 720px;
}

/* ---- 首屏 ---- */
.page-news .news-hero {
  padding-top: clamp(24px, 5vw, 44px);
  padding-bottom: clamp(40px, 7vw, 80px);
}

.page-news .news-hero__head {
  margin-top: clamp(20px, 4vw, 44px);
  max-width: 880px;
}

.page-news .news-hero__title {
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 6.4vw, 62px);
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--c-paper);
}

.page-news .news-hero__lede {
  margin: 20px 0 0;
  max-width: 42ch;
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: var(--lh-body);
  color: rgba(198, 204, 212, .88);
}

.page-news .news-overview {
  margin-top: clamp(32px, 6vw, 60px);
  display: grid;
  gap: 22px;
}

@media (min-width: 920px) {
  .page-news .news-overview {
    grid-template-columns: 1.1fr .9fr;
    align-items: stretch;
    gap: 30px;
  }
}

.page-news .news-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--news-hair);
  border: 1px solid var(--news-hair);
  border-radius: var(--r-md);
  overflow: hidden;
}

.page-news .news-stat {
  background: var(--c-deep);
  padding: 20px 16px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 118px;
}

.page-news .news-stat__num {
  font-family: var(--font-mono);
  font-size: clamp(28px, 5.4vw, 42px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: .01em;
  color: var(--c-ember);
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.page-news .news-stat__unit {
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--c-gold);
}

.page-news .news-stat__label {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: .04em;
  color: var(--c-mist);
}

.page-news .news-hero__figure {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.page-news .news-hero__figure .phx-figure__frame {
  border-radius: var(--r-organic);
  overflow: hidden;
  background: linear-gradient(150deg, var(--c-deep), var(--c-night) 58%, var(--c-flame));
  flex: 1;
}

.page-news .news-hero__figure .phx-figure__img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.page-news .news-hero__figure .phx-figure__caption {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.65;
  color: rgba(198, 204, 212, .72);
}

/* ---- 页内小节索引 ---- */
.page-news .news-index {
  margin-top: clamp(32px, 5vw, 52px);
  padding-top: 18px;
  border-top: 1px solid var(--news-hair);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.page-news .news-index__link {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .08em;
  color: var(--c-mist);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-news .news-index__link:hover,
.page-news .news-index__link:focus-visible {
  color: var(--c-ember);
  border-bottom-color: var(--c-ember);
}

/* ---- 对照明细 ---- */
.page-news .news-table {
  padding-top: clamp(40px, 6vw, 76px);
  padding-bottom: clamp(40px, 6vw, 76px);
}

.page-news .news-filters {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.page-news .news-filters__group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-news .news-table__grid {
  margin-top: 20px;
  display: grid;
  gap: 22px;
}

@media (min-width: 980px) {
  .page-news .news-table__grid {
    grid-template-columns: minmax(0, 1fr) 268px;
    align-items: start;
    gap: 28px;
  }
}

.page-news .news-table__scroll {
  overflow: auto;
  max-height: 540px;
  border: 1px solid var(--news-hair-ink);
  border-radius: var(--r-md);
  background: #FFFDF9;
  -webkit-overflow-scrolling: touch;
}

.page-news .news-table__caption {
  padding: 12px 14px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--c-ink);
  opacity: .68;
  background: var(--c-paper);
  border-bottom: 1px solid var(--news-hair-ink);
}

.page-news .news-table__el {
  min-width: 640px;
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.page-news .news-table__el thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--c-flame);
  color: var(--c-paper);
  font-weight: 600;
  letter-spacing: .05em;
  font-size: 13px;
  padding: 11px 14px;
  text-align: left;
  white-space: nowrap;
}

.page-news .news-table__el tbody th,
.page-news .news-table__el tbody td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--news-hair-ink);
  color: var(--c-ink);
}

.page-news .news-table__el tbody th {
  font-weight: 600;
  white-space: nowrap;
}

.page-news .news-table__el tbody tr:nth-child(even) {
  background: rgba(30, 38, 48, .035);
}

.page-news .news-table__el tbody tr:hover {
  background: rgba(224, 179, 84, .14);
}

.page-news .news-table__el .phx-num {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .08em;
  color: rgba(30, 38, 48, .72);
  white-space: nowrap;
}

.page-news .news-role {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  white-space: nowrap;
}

.page-news .news-role--home {
  background: var(--news-home-soft);
  border: 1px solid rgba(255, 106, 26, .42);
  color: #9C2018;
}

.page-news .news-role--away {
  background: var(--news-away-soft);
  border: 1px solid rgba(27, 110, 156, .38);
  color: var(--c-lake);
}

/* ---- 更新窗口窄栏 ---- */
.page-news .news-rail {
  padding: 20px 18px 22px;
  border-radius: var(--r-organic);
  background: linear-gradient(165deg, var(--c-deep), #10161F 70%);
  border: 1px solid var(--news-hair);
  color: var(--c-paper);
}

.page-news .news-rail__kicker {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  color: var(--c-gold);
}

.page-news .news-rail__time {
  margin: 10px 0 0;
  font-family: var(--font-mono);
  font-size: clamp(17px, 2.4vw, 21px);
  letter-spacing: .04em;
  color: var(--c-ember);
  line-height: 1.35;
}

.page-news .news-rail__list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--news-hair);
  padding-top: 16px;
}

.page-news .news-rail__list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.page-news .news-rail__key {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--c-mist);
  min-width: 40px;
}

.page-news .news-rail__val {
  font-size: 13.5px;
  color: rgba(245, 241, 234, .9);
}

.page-news .news-rail__note {
  margin: 16px 0 18px;
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(198, 204, 212, .78);
}

/* ---- 更新节奏 ---- */
.page-news .news-window {
  padding-top: clamp(40px, 6vw, 76px);
  padding-bottom: clamp(40px, 6vw, 76px);
  background:
    radial-gradient(120% 90% at 88% 4%, rgba(255, 106, 26, .16), transparent 58%),
    var(--c-deep);
}

.page-news .news-week {
  list-style: none;
  margin: clamp(30px, 5vw, 48px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.page-news .news-day {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.page-news .news-day__name {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: rgba(198, 204, 212, .7);
  text-align: center;
}

.page-news .news-day__bar {
  position: relative;
  display: block;
  height: clamp(52px, 9vw, 76px);
  border-radius: var(--r-sm);
  border: 1px solid var(--news-hair);
  background: rgba(198, 204, 212, .06);
  overflow: hidden;
}

.page-news .news-day--on .news-day__bar {
  border-color: rgba(255, 106, 26, .55);
  background: linear-gradient(180deg, rgba(255, 106, 26, .32), rgba(179, 39, 30, .24));
}

.page-news .news-day--on .news-day__bar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 46%;
  height: 2px;
  background: var(--c-gold);
  opacity: .85;
}

.page-news .news-day__win {
  position: absolute;
  top: 7px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .04em;
  color: var(--c-paper);
}

.page-news .news-window__grid {
  margin-top: clamp(30px, 5vw, 52px);
  display: grid;
  gap: 28px;
}

@media (min-width: 900px) {
  .page-news .news-window__grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr);
    align-items: start;
    gap: 36px;
  }
}

.page-news .news-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

@media (min-width: 620px) {
  .page-news .news-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 26px;
  }
}

.page-news .news-step {
  border-top: 2px solid rgba(198, 204, 212, .22);
  padding-top: 13px;
}

.page-news .news-step__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--c-gold);
}

.page-news .news-step__title {
  display: block;
  margin-top: 5px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--c-paper);
}

.page-news .news-step__text {
  margin: 7px 0 0;
  font-size: 13.5px;
  line-height: 1.72;
  color: rgba(198, 204, 212, .8);
}

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

.page-news .news-window__figure .phx-figure__frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(150deg, var(--c-night), var(--c-deep));
}

.page-news .news-window__figure .phx-figure__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-news .news-window__figure .phx-figure__caption {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.65;
  color: rgba(198, 204, 212, .72);
}

/* ---- 赛季专题条带 ---- */
.page-news .news-topics {
  padding-top: clamp(40px, 6vw, 76px);
  padding-bottom: clamp(40px, 6vw, 76px);
}

.page-news .news-strip {
  margin-top: clamp(26px, 4vw, 40px);
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px clamp(18px, 4vw, 40px) 22px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.page-news .news-strip::-webkit-scrollbar {
  height: 6px;
}

.page-news .news-strip::-webkit-scrollbar-thumb {
  background: rgba(30, 38, 48, .22);
  border-radius: 999px;
}

.page-news .news-topic {
  flex: 0 0 min(80vw, 316px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-organic);
  overflow: hidden;
  background: var(--c-deep);
  border: 1px solid rgba(30, 38, 48, .1);
  box-shadow: var(--shadow-lift);
  transition: transform var(--dur) var(--ease);
}

.page-news .news-topic:hover {
  transform: translateY(-4px);
}

.page-news .news-topic__frame {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: linear-gradient(150deg, var(--c-night), var(--c-flame));
}

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

.page-news .news-topic__body {
  padding: 18px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-news .news-topic__body--tall {
  min-height: 224px;
  justify-content: flex-start;
  padding-top: 24px;
}

.page-news .news-topic__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: -.01em;
  color: var(--c-paper);
}

.page-news .news-topic__text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.72;
  color: rgba(198, 204, 212, .82);
}

.page-news .news-topic .phx-tag {
  align-self: flex-start;
}

/* ---- 订阅提醒 ---- */
.page-news .news-alert {
  padding-top: clamp(40px, 6vw, 76px);
  padding-bottom: clamp(44px, 7vw, 84px);
  background:
    linear-gradient(120deg, rgba(179, 39, 30, .26), transparent 52%),
    var(--c-night);
}

.page-news .news-alert__grid {
  display: grid;
  gap: 26px;
}

@media (min-width: 940px) {
  .page-news .news-alert__grid {
    grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
    gap: 44px;
    align-items: start;
  }
}

.page-news .news-alert__head {
  max-width: 460px;
}

.page-news .news-alert__head .phx-title {
  margin-top: 14px;
}

.page-news .news-alert__body {
  max-width: 640px;
}

.page-news .news-alert__body .phx-prose {
  color: rgba(198, 204, 212, .88);
}

.page-news .news-alert__list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-news .news-alert__list li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(245, 241, 234, .9);
}

.page-news .news-alert__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c-ember);
  box-shadow: 0 0 0 4px rgba(255, 106, 26, .16);
}

.page-news .news-details {
  margin-top: 26px;
  border: 1px solid var(--news-hair);
  border-radius: var(--r-md);
  background: rgba(22, 32, 46, .7);
  overflow: hidden;
}

.page-news .news-details__sum {
  cursor: pointer;
  list-style: none;
  padding: 15px 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--c-gold);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.page-news .news-details__sum::-webkit-details-marker {
  display: none;
}

.page-news .news-details__sum::after {
  content: "+";
  font-size: 17px;
  line-height: 1;
  color: var(--c-ember);
}

.page-news .news-details[open] .news-details__sum::after {
  content: "–";
}

.page-news .news-details__body {
  padding: 0 18px 18px;
  border-top: 1px solid var(--news-hair);
}

.page-news .news-details__steps {
  margin: 16px 0 12px;
  padding-left: 20px;
  display: grid;
  gap: 9px;
}

.page-news .news-details__steps li {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(198, 204, 212, .88);
}

.page-news .news-details__body .phx-note {
  color: rgba(198, 204, 212, .68);
}

.page-news .news-alert .phx-callout {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
}

.page-news .news-alert .phx-callout__text {
  flex: 1 1 240px;
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(245, 241, 234, .94);
}

.page-news .news-alert__links {
  margin: 20px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-size: 13.5px;
}

.page-news .news-alert__links a {
  color: var(--c-lake);
  text-decoration: none;
  border-bottom: 1px solid rgba(27, 110, 156, .45);
  padding-bottom: 2px;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-news .news-alert__links a:hover,
.page-news .news-alert__links a:focus-visible {
  color: var(--c-gold);
  border-bottom-color: var(--c-gold);
}

/* ---- 窄屏细节 ---- */
@media (max-width: 619px) {
  .page-news .news-stats {
    grid-template-columns: 1fr;
  }

  .page-news .news-stat {
    min-height: 0;
    padding: 16px 15px 18px;
  }

  .page-news .news-week {
    gap: 4px;
  }

  .page-news .news-day__name {
    font-size: 10px;
  }

  .page-news .news-day__win {
    font-size: 9.5px;
  }

  .page-news .news-strip {
    flex: 1 1 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .news-topic {
    transition: none;
  }

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