.page-news{
  --news-pad: clamp(16px, 4.6vw, 44px);
  --news-time: 96px;
  --news-replay: 132px;
  --news-rule: rgba(201,194,182,.15);
  --news-cell: #0d1421;
  --news-glow: rgba(43,240,208,.42);
  background: var(--sky);
  color: var(--ink);
  font-family: var(--font-body);
}

/* ---------- 首屏 ---------- */
.page-news .news-hero{
  padding: calc(var(--topbar-h) + 26px) 0 44px;
  background:
    radial-gradient(115% 78% at 82% -4%, rgba(43,240,208,.11), transparent 62%),
    radial-gradient(95% 70% at 6% 8%, rgba(124,92,255,.12), transparent 64%);
}

.page-news .news-hero__grid{
  display: grid;
  gap: 30px;
  margin-top: 22px;
}

.page-news .news-hero h1{
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 8.4vw, 60px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.01em;
  max-width: 15em;
}

.page-news .news-hero__lead{
  margin: 18px 0 0;
  max-width: 40em;
  font-size: 16px;
  line-height: 1.82;
  color: var(--ink-dim);
}

.page-news .news-hero__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-news .news-board{
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin: 0;
  background: var(--news-rule);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-news .news-board__cell{
  background: var(--news-cell);
  padding: 16px 16px 18px;
}

.page-news .news-board__k{
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .09em;
  color: var(--ink-mute);
}

.page-news .news-board__v{
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin: 10px 0 0;
}

.page-news .news-board__num{
  font-family: var(--font-mono);
  font-size: clamp(28px, 7vw, 38px);
  font-weight: 700;
  line-height: 1;
  color: var(--cyan);
}

.page-news .news-board__unit{
  font-size: 12px;
  color: var(--ink-mute);
}

/* ---------- 通用节间距 ---------- */
.page-news .section{
  padding: 52px 0;
}

.page-news .news-link{
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid var(--news-glow);
  padding-bottom: 1px;
  transition: border-color .2s var(--ease);
}

.page-news .news-link:hover,
.page-news .news-link:focus-visible{
  border-bottom-color: var(--cyan);
}

/* ---------- 最新战报 ---------- */
.page-news .news-feed__head{
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.page-news .news-feed__note{
  margin: 0;
  font-size: 14px;
  color: var(--ink-mute);
}

.page-news .news-feed__media{
  margin: 24px 0 20px;
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--carbon);
  aspect-ratio: 16 / 6;
}

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

.page-news .news-filter{
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 14px;
  border-bottom: 1px solid var(--news-rule);
  scrollbar-width: thin;
  scrollbar-color: var(--stone) transparent;
}

.page-news .news-filter::-webkit-scrollbar{ height: 4px; }
.page-news .news-filter::-webkit-scrollbar-thumb{
  background: var(--stone);
  border-radius: 2px;
}

.page-news .news-filter .filter-btn{
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .04em;
}

.page-news .news-filter .filter-btn[aria-pressed="true"]{
  background: rgba(43,240,208,.10);
  border-color: var(--news-glow);
  color: var(--cyan);
}

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

.page-news .news-item{
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "time replay"
    "body body";
  gap: 10px 14px;
  padding: 16px 2px;
  border-bottom: 1px solid var(--news-rule);
  transition: background .2s var(--ease);
}

.page-news .news-item::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .26s var(--ease);
}

.page-news .news-item:hover::after,
.page-news .news-item:focus-within::after{
  transform: scaleX(1);
}

.page-news .news-item__time{
  grid-area: time;
  align-self: center;
  margin: 0;
  font-size: 13px;
  letter-spacing: .02em;
  color: var(--ink-mute);
}

.page-news .news-item__body{
  grid-area: body;
  min-width: 0;
}

.page-news .news-item__replay{
  grid-area: replay;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--hair-strong);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}

.page-news .news-item__replay:hover,
.page-news .news-item__replay:focus-visible{
  border-color: var(--cyan);
  background: rgba(43,240,208,.07);
}

.page-news .news-item__dur{
  font-size: 12px;
  color: var(--cyan);
}

.page-news .news-item__tags{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 7px;
}

.page-news .news-item__stage{
  font-size: 12px;
  color: var(--ink-mute);
}

.page-news .news-item__line{
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.66;
  color: var(--ink);
}

/* ---------- 联赛分栏 ---------- */
.page-news .news-leagues__head{
  margin-bottom: 24px;
}

.page-news .news-league-list{
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(144px, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  background: var(--news-rule);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-news .news-league{
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 14px 16px 22px;
  background: var(--news-cell);
}

.page-news .news-league__bar{
  position: absolute;
  left: 9px;
  top: 16px;
  bottom: 16px;
  width: 3px;
  border-radius: 2px;
  background: var(--stone);
}

.page-news .news-league[data-group="ball"] .news-league__bar{ background: var(--indigo); }
.page-news .news-league[data-group="solo"] .news-league__bar{ background: var(--lime); }
.page-news .news-league[data-group="speed"] .news-league__bar{ background: var(--coral); }

.page-news .news-league__name{
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: .01em;
  line-height: 1.3;
}

.page-news .news-league__count{
  font-size: 12px;
  color: var(--ink-dim);
}

.page-news .news-league__when{
  font-size: 12px;
  color: var(--ink-mute);
}

.page-news .news-leagues__note{
  margin: 20px 0 0;
  max-width: 44em;
  font-size: 14px;
  line-height: 1.82;
  color: var(--ink-mute);
}

/* ---------- 伤停动态 ---------- */
.page-news .news-injury__grid{
  display: grid;
  gap: 32px;
}

.page-news .news-injury__list{
  margin-top: 24px;
  border-top: 1px solid var(--news-rule);
}

.page-news .news-injury__list .accordion__item{
  border-bottom: 1px solid var(--news-rule);
  border-left: 3px solid var(--stone);
  padding-left: 14px;
  transition: border-left-color .22s var(--ease);
}

.page-news .news-injury__list .accordion__item:hover,
.page-news .news-injury__list .accordion__item:focus-within{
  border-left-color: var(--clay);
}

.page-news .news-injury__q{
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.page-news .news-injury__list .accordion__trigger{
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 60px;
  padding: 14px 0;
  background: none;
  border: 0;
  color: var(--ink);
  font-family: inherit;
  font-size: 16px;
  text-align: left;
  cursor: pointer;
}

.page-news .news-injury__team{
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .01em;
}

.page-news .news-injury__list .accordion__icon{
  margin-left: auto;
}

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

.page-news .news-injury__panel-list li{
  position: relative;
  padding-left: 15px;
  font-size: 15px;
  line-height: 1.76;
  color: var(--ink-dim);
}

.page-news .news-injury__panel-list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: .78em;
  width: 6px;
  height: 1px;
  background: var(--stone);
}

.page-news .news-injury__role{
  display: inline-block;
  margin-right: 7px;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--ink-mute);
}

.page-news .news-injury__media{
  margin: 0;
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--carbon);
  aspect-ratio: 3 / 2;
}

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

/* ---------- 赛季专题 ---------- */
.page-news .news-features__rail{
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px var(--news-pad) 22px;
  scrollbar-width: thin;
  scrollbar-color: var(--stone) transparent;
  -webkit-overflow-scrolling: touch;
}

.page-news .news-features__rail::-webkit-scrollbar{ height: 5px; }
.page-news .news-features__rail::-webkit-scrollbar-thumb{
  background: var(--stone);
  border-radius: 3px;
}

.page-news .news-features__rail:focus-visible{
  outline: 1px solid var(--cyan);
  outline-offset: 4px;
}

.page-news .news-feature{
  flex: 0 0 min(78vw, 336px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: var(--news-cell);
  border: 1px solid var(--news-rule);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .22s var(--ease), border-color .22s var(--ease);
}

.page-news .news-feature:hover{
  transform: translateY(-2px);
  border-color: var(--news-glow);
}

.page-news .news-feature__cover{
  margin: 0;
  aspect-ratio: 14 / 9;
  overflow: hidden;
  background: var(--carbon);
}

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

.page-news .news-feature__chart{
  display: grid;
  place-items: center;
  aspect-ratio: 14 / 9;
  padding: 20px;
  background: linear-gradient(155deg, rgba(43,240,208,.12), rgba(11,18,32,.72) 70%);
}

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

.page-news .news-spark polyline{
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-news .news-feature__body{
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 16px 16px 22px;
}

.page-news .news-feature__meta{
  margin: 0;
  font-size: 12px;
  letter-spacing: .07em;
  color: var(--cyan);
}

.page-news .news-feature__title{
  margin: 0;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.42;
  letter-spacing: .01em;
}

.page-news .news-feature__text{
  margin: 0;
  font-size: 14px;
  line-height: 1.74;
  color: var(--ink-dim);
}

.page-news .news-features__note{
  margin: 6px 0 0;
  max-width: 44em;
  font-size: 14px;
  line-height: 1.82;
  color: var(--ink-mute);
}

/* ---------- 回看互跳 ---------- */
.page-news .news-replay__grid{
  display: grid;
  gap: 32px;
  align-items: center;
}

.page-news .news-replay__lead{
  margin: 16px 0 0;
  max-width: 40em;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-dim);
}

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

.page-news .news-replay__steps li{
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--news-rule);
  font-size: 15px;
  line-height: 1.78;
  color: var(--ink-dim);
}

.page-news .news-replay__steps li:last-child{
  border-bottom: 0;
  padding-bottom: 0;
}

.page-news .news-replay__steps .mono{
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--cyan);
}

.page-news .news-replay__media{
  margin: 0;
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--carbon);
  aspect-ratio: 3 / 2;
}

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

/* ---------- 订阅 ---------- */
.page-news .news-subscribe__panel{
  border: 1px solid var(--news-rule);
  border-radius: var(--radius);
  padding: 28px 20px 30px;
  background:
    radial-gradient(96% 130% at 100% 0%, rgba(43,240,208,.12), transparent 58%),
    var(--surface-2);
}

.page-news .news-subscribe__lead{
  margin: 14px 0 0;
  max-width: 44em;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-dim);
}

.page-news .news-subscribe__types{
  list-style: none;
  display: grid;
  gap: 1px;
  margin: 28px 0 0;
  padding: 0;
  background: var(--news-rule);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-news .news-subscribe__type{
  background: var(--news-cell);
  padding: 20px 18px;
}

.page-news .news-subscribe__type-name{
  margin: 0 0 9px;
  font-size: 13px;
  letter-spacing: .09em;
  color: var(--cyan);
}

.page-news .news-subscribe__type-text{
  margin: 0;
  font-size: 14px;
  line-height: 1.76;
  color: var(--ink-dim);
}

.page-news .news-subscribe__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* ---------- 响应式 ---------- */
@media (min-width: 600px){
  .page-news .news-board{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

  .page-news .news-subscribe__panel{
    padding: 36px 30px 38px;
  }
}

@media (min-width: 820px){
  .page-news .news-item{
    grid-template-columns: var(--news-time) minmax(0, 1fr) var(--news-replay);
    grid-template-areas: "time .page-news replay";
    align-items: center;
    gap: 24px;
    padding: 15px 8px;
  }

  .page-news .news-item__time{
    font-size: 14px;
  }

  .page-news .news-feed__media{
    aspect-ratio: 16 / 5.4;
  }
}

@media (min-width: 900px){
  .page-news .news-hero{
    padding-top: calc(var(--topbar-h) + 46px);
    padding-bottom: 60px;
  }

  .page-news .news-hero__grid{
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 56px;
    align-items: end;
    margin-top: 30px;
  }

  .page-news .section{
    padding: 74px 0;
  }

  .page-news .news-injury__grid{
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 52px;
    align-items: start;
  }

  .page-news .news-replay__grid{
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 56px;
  }

  .page-news .news-feature{
    flex: 0 0 340px;
  }

  .page-news .news-subscribe__panel{
    padding: 44px 42px 46px;
  }
}

@media (prefers-reduced-motion: reduce){
  .page-news .news-item::after,
  .page-news .news-feature,
  .page-news .news-injury__list .accordion__item{
    transition: none;
  }

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