/* ===================================================
   /news/ · 赛场资讯
   =================================================== */

.page-news {
  --news-rule: rgba(154, 169, 186, 0.18);
  --news-cut: 14px;
  background: var(--ink);
  color: var(--cloud);
  font-family: var(--sans);
  overflow-x: hidden;
}

.page-news .wrap {
  box-sizing: border-box;
}

/* ---------- 首屏 ---------- */
.page-news .news-masthead {
  position: relative;
  padding: calc(var(--head-h) + 44px) 0 0;
  background:
    radial-gradient(88% 72% at 94% -6%, rgba(27, 33, 64, 0.95) 0%, rgba(8, 13, 20, 0) 62%),
    radial-gradient(72% 58% at 4% 6%, rgba(58, 18, 32, 0.62) 0%, rgba(8, 13, 20, 0) 60%),
    var(--ink);
}

.page-news .news-masthead__inner {
  position: relative;
  z-index: 1;
}

.page-news .news-crumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--mist);
}

.page-news .news-crumb a {
  color: var(--mist);
  text-decoration: none;
  transition: color var(--ease);
}

.page-news .news-crumb a:hover {
  color: var(--neon);
}

.page-news .news-crumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(154, 169, 186, 0.45);
}

.page-news .news-crumb [aria-current] {
  color: var(--amber);
}

.page-news .news-masthead .kicker {
  display: block;
  margin: 0 0 14px;
}

.page-news .news-masthead h1 {
  margin: 0 0 22px;
  font-family: var(--display);
  font-size: clamp(2.5rem, 11vw, 5.2rem);
  line-height: 0.94;
  letter-spacing: -0.03em;
  color: var(--cloud);
  overflow-wrap: break-word;
}

.page-news .news-masthead__lede {
  max-width: 60ch;
  margin: 0;
  font-size: clamp(0.98rem, 1.7vw, 1.1rem);
  line-height: 1.88;
  color: rgba(242, 246, 250, 0.86);
}

.page-news .news-masthead__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 0;
  margin: 30px 0 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--mist);
}

.page-news .news-masthead__meta span {
  padding-left: 12px;
  border-left: 2px solid var(--line-neon);
}

.page-news .news-masthead__meta span + span {
  margin-left: 22px;
}

.page-news .news-masthead__figure {
  margin-top: 44px;
}

/* ---------- 通用裁角图 ---------- */
.page-news .news-shot {
  position: relative;
  display: block;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - var(--news-cut)) 0, 100% var(--news-cut), 100% 100%, var(--news-cut) 100%, 0 calc(100% - var(--news-cut)));
  background: var(--ink-2);
}

.page-news .news-shot img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.06);
}

.page-news .news-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 13, 20, 0) 46%, rgba(8, 13, 20, 0.78) 100%);
}

.page-news .news-shot--streak::before {
  content: "";
  position: absolute;
  inset: -25% -30%;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: screen;
  background: linear-gradient(78deg,
    rgba(56, 245, 138, 0) 42%,
    rgba(56, 245, 138, 0.16) 50%,
    rgba(53, 196, 255, 0.18) 56%,
    rgba(56, 245, 138, 0) 64%);
}

/* ---------- 更新索引 ---------- */
.page-news .news-index {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-news .news-index__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 28px;
  margin-bottom: 30px;
}

.page-news .news-index__head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.5rem, 5vw, 2.35rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.page-news .news-index__note {
  margin: 0;
  max-width: 40ch;
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist);
}

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

.page-news .news-index__col h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 8px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--mist);
}

.page-news .news-dot {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--neon);
}

.page-news .news-index__col--bul .news-dot {
  background: var(--volt);
}

.page-news .news-index__col--sea .news-dot {
  background: var(--amber);
}

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

.page-news .news-index__list a {
  display: flex;
  align-items: baseline;
  gap: 11px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--cloud);
  font-size: 14px;
  line-height: 1.55;
  text-decoration: none;
  transition: color var(--ease), border-color var(--ease);
}

.page-news .news-index__list a .num {
  flex: none;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--mist);
  transition: color var(--ease);
}

.page-news .news-index__list a:hover,
.page-news .news-index__list a:focus-visible {
  color: var(--neon);
  border-color: var(--line-neon);
}

.page-news .news-index__list a:hover .num,
.page-news .news-index__list a:focus-visible .num {
  color: var(--amber);
}

/* ---------- 条目流 ---------- */
.page-news .news-feed {
  background: var(--ink);
}

.page-news .news-feed__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

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

.page-news .chip {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
  color: var(--mist);
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  line-height: 1.4;
  cursor: pointer;
  transition: color var(--ease), border-color var(--ease), background var(--ease);
}

.page-news .chip:hover {
  color: var(--cloud);
  border-color: var(--line-neon);
}

.page-news .chip[aria-pressed="true"] {
  background: var(--volt);
  border-color: var(--volt);
  color: #04131C;
  font-weight: 600;
}

.page-news .chip-status {
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.page-news .news-feed__list {
  display: block;
}

.page-news .news-group {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 52px 0 4px;
  font-family: var(--display);
  font-size: clamp(1.2rem, 4.4vw, 1.9rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--cloud);
}

.page-news .news-group::before {
  content: "";
  flex: none;
  width: 6px;
  align-self: stretch;
  min-height: 26px;
  border-radius: 1px;
  background: var(--neon);
}

.page-news .news-group::after {
  content: "";
  flex: 1 1 auto;
  min-width: 24px;
  height: 1px;
  background: linear-gradient(90deg, rgba(56, 245, 138, 0.5), rgba(56, 245, 138, 0));
}

.page-news .news-group--bul::before {
  background: var(--volt);
}

.page-news .news-group--bul::after {
  background: linear-gradient(90deg, rgba(53, 196, 255, 0.5), rgba(53, 196, 255, 0));
}

.page-news .news-group--sea::before {
  background: var(--amber);
}

.page-news .news-group--sea::after {
  background: linear-gradient(90deg, rgba(255, 194, 75, 0.55), rgba(255, 194, 75, 0));
}

/* 条目 */
.page-news .news-item {
  display: grid;
  grid-template-columns: 3px minmax(0, 1fr);
  column-gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.page-news .news-item__bar {
  position: relative;
  display: block;
}

.page-news .news-item__bar::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  width: 3px;
  height: 30px;
  border-radius: 1px;
  background: var(--neon);
  transition: height 200ms cubic-bezier(0.22, 0.61, 0.36, 1), background var(--ease);
}

.page-news .news-item[data-tags~="CN中心更新公告"] .news-item__bar::before {
  background: var(--volt);
}

.page-news .news-item[data-tags~="赛季前瞻"] .news-item__bar::before,
.page-news .news-item[data-tags~="排名速览"] .news-item__bar::before {
  background: var(--amber);
}

.page-news .news-item:hover .news-item__bar::before,
.page-news .news-item:focus-within .news-item__bar::before {
  height: 100%;
}

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

.page-news .news-item__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 0 0 10px;
}

.page-news .news-tag {
  display: inline-block;
  padding: 3px 9px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  line-height: 1.5;
  white-space: nowrap;
}

.page-news .news-tag--chg {
  background: rgba(56, 245, 138, 0.12);
  border-color: rgba(56, 245, 138, 0.34);
  color: var(--neon);
}

.page-news .news-tag--bul {
  background: rgba(53, 196, 255, 0.12);
  border-color: rgba(53, 196, 255, 0.34);
  color: var(--volt);
}

.page-news .news-tag--sea {
  background: rgba(255, 194, 75, 0.12);
  border-color: rgba(255, 194, 75, 0.34);
  color: var(--amber);
}

.page-news .news-item__scope {
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--mist);
}

.page-news .news-item__title {
  margin: 0 0 8px;
  font-family: var(--sans);
  font-size: clamp(1rem, 3.6vw, 1.14rem);
  font-weight: 600;
  line-height: 1.5;
  color: var(--cloud);
  overflow-wrap: break-word;
  transition: color var(--ease);
}

.page-news .news-item__sum {
  margin: 0;
  max-width: 66ch;
  font-size: 14.5px;
  line-height: 1.82;
  color: var(--mist);
}

/* 赛季观察条目更宽松 */
.page-news .news-item--loose {
  padding: 34px 0;
  column-gap: 20px;
}

.page-news .news-item--loose .news-item__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.16rem, 4.4vw, 1.5rem);
  line-height: 1.42;
  margin-bottom: 12px;
}

.page-news .news-item--loose .news-item__sum {
  font-size: 15.5px;
  line-height: 1.92;
  color: rgba(242, 246, 250, 0.76);
}

.page-news .news-item--loose .news-item__bar::before {
  top: 4px;
  height: 38px;
}

/* 组内配图 */
.page-news .news-figure {
  margin: 34px 0 2px;
}

.page-news .news-shot--panel img {
  max-height: 320px;
}

/* ---------- 检索与订阅 ---------- */
.page-news .news-entry {
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(58, 18, 32, 0.9) 0%, rgba(8, 13, 20, 0) 70%),
    var(--ink);
}

.page-news .news-entry__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: start;
}

.page-news .news-entry__main .kicker {
  display: block;
  margin: 0 0 14px;
}

.page-news .news-entry__main h2 {
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: clamp(1.7rem, 6vw, 2.9rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--cloud);
}

.page-news .news-entry__lede {
  margin: 0 0 24px;
  max-width: 58ch;
  font-size: 15px;
  line-height: 1.9;
  color: rgba(242, 246, 250, 0.8);
}

.page-news .news-entry__prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 28px;
}

.page-news .news-prompt {
  display: inline-block;
  padding: 7px 15px;
  border: 1px dashed rgba(154, 169, 186, 0.34);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--mist);
  cursor: default;
  transition: color var(--ease), border-color var(--ease), background var(--ease);
}

.page-news .news-prompt:hover {
  color: var(--cloud);
  border-color: rgba(56, 245, 138, 0.55);
  background: rgba(56, 245, 138, 0.08);
}

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

.page-news .news-entry__card {
  padding: 26px 22px 24px;
}

.page-news .news-entry__card h3 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--cloud);
}

.page-news .news-entry__card p {
  margin: 0 0 18px;
  font-size: 14.5px;
  line-height: 1.85;
  color: rgba(242, 246, 250, 0.78);
}

.page-news .news-entry__list {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.page-news .news-entry__list li {
  position: relative;
  padding: 9px 0 9px 18px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--mist);
}

.page-news .news-entry__list li::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--neon);
}

.page-news .news-entry__card .btn {
  width: 100%;
  text-align: center;
}

/* ---------- 响应式 ---------- */
@media (min-width: 720px) {
  .page-news .news-masthead__figure {
    margin-top: 52px;
  }

  .page-news .news-item {
    column-gap: 24px;
    padding: 24px 0;
  }

  .page-news .news-item--loose {
    padding: 38px 0;
    column-gap: 30px;
  }

  .page-news .news-shot--panel img {
    max-height: 400px;
  }

  .page-news .news-entry__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 44px;
  }

  .page-news .news-entry__card .btn {
    width: auto;
  }
}

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

  .page-news .news-index__col + .news-index__col {
    padding-left: 30px;
    border-left: 1px solid var(--line);
  }

  .page-news .news-group {
    margin-top: 64px;
  }

  .page-news .news-figure--wide {
    max-width: 880px;
  }
}

@media (min-width: 1080px) {
  .page-news .news-masthead {
    padding-top: calc(var(--head-h) + 62px);
  }

  .page-news .news-item__sum {
    font-size: 15px;
  }

  .page-news .news-shot--panel img {
    max-height: 460px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news *,
  .page-news *::before,
  .page-news *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
