.page-news {
  --news-line: rgba(11, 13, 16, 0.12);
  --news-soft: #3a3f45;
  --news-rail-w: 15rem;
  background: var(--paper);
  color: var(--ink);
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
}

.page-news .breadcrumb {
  padding-top: clamp(1.1rem, 2.6vw, 1.75rem);
  font-size: 0.8125rem;
}

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

.news-hero {
  display: grid;
  gap: 0;
  margin-top: clamp(1rem, 3vw, 1.75rem);
}

.news-hero__copy {
  padding: clamp(1.5rem, 5vw, 3.25rem) 0 clamp(1.75rem, 5vw, 3.25rem);
}

.news-hero__lede {
  max-width: 44ch;
  margin-top: 1.1rem;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink);
}

.news-hero__meter {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--news-line);
}

.news-hero__meter-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--stone);
  margin-bottom: 0.45rem;
}

.news-hero__meter-text {
  max-width: 42ch;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--news-soft);
}

.news-search {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.6rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--news-line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  background: var(--paper-2);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.32s var(--ease), border-left-color 0.32s var(--ease);
}

.news-search:hover {
  transform: translateY(-2px);
  border-left-color: var(--ember);
}

.news-search__icon {
  flex: none;
  position: relative;
  width: 0.95rem;
  height: 0.95rem;
  border: 2px solid var(--jade);
  border-radius: 50%;
}

.news-search__icon::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -4px;
  width: 8px;
  height: 2px;
  background: var(--jade);
  transform: rotate(45deg);
}

.news-search__text {
  font-size: 0.9375rem;
}

.news-search__hint {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--jade);
  white-space: nowrap;
}

.news-hero__visual {
  position: relative;
  margin: 0;
  min-height: 15rem;
  background: var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
}

.news-hero__visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  opacity: 0.55;
  filter: saturate(0.85) contrast(1.05);
}

.news-hero__visual::before {
  content: "";
  position: absolute;
  inset: -25% 45% -25% -15%;
  border: 2px solid rgba(217, 166, 46, 0.45);
  border-radius: 50%;
  pointer-events: none;
}

.news-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

/* ---------- 主体布局 ---------- */

.news-layout {
  display: grid;
  gap: clamp(1.75rem, 5vw, 2.5rem);
  margin-top: clamp(2.25rem, 6vw, 3.75rem);
}

.news-rail {
  display: grid;
  gap: 1.35rem;
  align-content: start;
}

.news-rail__title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--stone);
  margin-bottom: 0.6rem;
}

.news-rail__index ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.1rem;
}

.news-rail__index a {
  display: block;
  padding: 0.45rem 0.6rem;
  border-left: 2px solid var(--news-line);
  color: var(--ink);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: border-left-color 0.28s var(--ease), background 0.28s var(--ease), padding-left 0.28s var(--ease);
}

.news-rail__index a:hover {
  border-left-color: var(--gold);
  background: rgba(217, 166, 46, 0.12);
  padding-left: 0.95rem;
}

.news-rail__chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.news-rail__zones-text {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.9;
  color: var(--news-soft);
}

.news-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 6vw, 4rem);
}

/* ---------- 条目流 ---------- */

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

.entry {
  border-bottom: 1px solid var(--news-line);
}

.entry__head {
  position: relative;
  display: block;
  padding: 1.15rem 3rem 1.2rem 0;
  cursor: pointer;
  list-style: none;
}

.entry__head::-webkit-details-marker {
  display: none;
}

.entry__head::after {
  content: "＋";
  position: absolute;
  top: 1.15rem;
  right: 0;
  width: 1.85rem;
  height: 1.85rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--news-line);
  border-radius: 50%;
  color: var(--jade);
  font-size: 0.9rem;
  line-height: 1;
  transition: transform 0.32s var(--ease), background 0.32s var(--ease), color 0.32s var(--ease), border-color 0.32s var(--ease);
}

.page-news details[open] .entry__head::after {
  content: "－";
  transform: rotate(180deg);
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.entry__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.55rem;
}

.entry__title {
  margin: 0;
  font-size: clamp(1.05rem, 2.6vw, 1.3rem);
  line-height: 1.45;
  font-weight: 700;
}

.entry__excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--stone);
}

.page-news details[open] .entry__excerpt {
  -webkit-line-clamp: unset;
  overflow: visible;
}

.entry__body {
  padding: 0.25rem 0 1.4rem;
  animation: newsRise 0.4s var(--ease);
}

.entry__body p {
  max-width: 46ch;
  font-size: 0.9688rem;
  line-height: 1.75;
  color: var(--news-soft);
}

.entry__body p + p {
  margin-top: 0.7rem;
}

.entry__body a {
  color: var(--jade);
}

@keyframes newsRise {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 深色小结 ---------- */

.news-list__pause {
  padding: 1.5rem 0;
}

.news-pause {
  padding: clamp(1.25rem, 3.5vw, 1.85rem);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
}

.news-pause__title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

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

.news-pause__list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--cloud);
}

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

.news-pause__k {
  font-size: 0.9375rem;
  color: rgba(244, 239, 228, 0.78);
}

.news-pause__v {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--gold);
}

.news-pause--cue {
  border-left-color: var(--ember);
}

.news-pause--cue .news-pause__title {
  color: var(--ember);
}

.news-pause__text {
  max-width: 48ch;
  font-size: 0.9688rem;
  line-height: 1.75;
  color: rgba(244, 239, 228, 0.88);
}

.news-pause__actions {
  margin-top: 1.1rem;
}

.news-pause__figure {
  margin: 1.25rem 0 0;
}

.news-pause__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 10 / 7;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ---------- 球员与球队速查 ---------- */

.news-lookup__grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

.news-lookup__figure {
  margin: 0;
}

.news-lookup__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
}

.news-lookup__lede {
  max-width: 44ch;
  margin-top: 0.9rem;
  font-size: 0.9688rem;
  line-height: 1.75;
  color: var(--news-soft);
}

.news-lookup__list {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.news-lookup__list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.9688rem;
  line-height: 1.7;
  color: var(--ink);
}

.news-lookup__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--moss);
}

.news-lookup__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

/* ---------- 赛季回顾专题 ---------- */

.news-season__cover {
  margin: 0 0 1.75rem;
}

.news-season__cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: var(--radius);
}

.news-season__body {
  border-top: 3px solid var(--gold);
  padding-top: 1.35rem;
}

.news-season__axis {
  list-style: none;
  position: relative;
  margin: 1.6rem 0 0;
  padding: 0 0 0 1.7rem;
}

.news-season__axis::before {
  content: "";
  position: absolute;
  left: 0.34rem;
  top: 0.45rem;
  bottom: 0.45rem;
  width: 2px;
  background: linear-gradient(var(--gold), var(--jade));
}

.news-season__axis li {
  position: relative;
  padding-bottom: 1.15rem;
}

.news-season__axis li:last-child {
  padding-bottom: 0;
}

.news-season__axis li::before {
  content: "";
  position: absolute;
  left: -1.7rem;
  top: 0.42rem;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(217, 166, 46, 0.22);
}

.news-season__axis b {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  color: var(--jade);
  margin-bottom: 0.2rem;
}

.news-season__axis p {
  max-width: 46ch;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--news-soft);
}

/* ---------- 纠错与合作 ---------- */

.news-fix__grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.news-fix__card {
  padding: 1.25rem 1.35rem 1.35rem;
  background: var(--paper-2);
  border: 1px solid var(--news-line);
  border-top: 3px solid var(--clay);
  border-radius: var(--radius);
}

.news-fix__card:nth-child(2) {
  border-top-color: var(--jade);
}

.news-fix__card h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.55rem;
}

.news-fix__card p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--news-soft);
}

.news-fix__line {
  margin-top: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--ink);
  word-break: break-word;
}

.news-fix__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

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

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

@media (min-width: 900px) {
  .news-hero {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
    align-items: stretch;
  }

  .news-hero__copy {
    padding-right: clamp(1.5rem, 3vw, 2.75rem);
  }

  .news-hero__visual {
    border-radius: 0 var(--radius) var(--radius) 0;
    clip-path: polygon(7% 0, 100% 0, 100% 100%, 0 100%, 0 11%);
  }

  .news-lookup__grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
  }
}

@media (min-width: 1000px) {
  .news-layout {
    grid-template-columns: var(--news-rail-w) minmax(0, 1fr);
    gap: clamp(2rem, 4vw, 3.5rem);
  }

  .news-rail {
    position: sticky;
    top: 6.5rem;
  }

  .news-season__body {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 1.5rem 2.5rem;
    align-items: start;
  }

  .news-season__axis {
    margin-top: 0;
  }
}

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

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