/* ===== 主场日志 /journal/ 页面专属样式 ===== */

.page-news {
  --jrn-gutter: 20px;
  --jrn-gap: 16px;
  --jrn-tint: rgba(18, 58, 50, 0.72);
  background: var(--c-deep);
  color: var(--c-white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}

.page-news *,
.page-news *::before,
.page-news *::after {
  box-sizing: border-box;
}

.page-news a:focus-visible,
.page-news button:focus-visible {
  outline: 2px solid var(--c-orange);
  outline-offset: 3px;
}

.page-news .num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* ---------- 报头 ---------- */

.page-news .jrn-masthead {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--c-line);
  background:
    radial-gradient(140% 92% at 50% 0%, rgba(31, 122, 77, 0.4) 0%, rgba(31, 122, 77, 0.08) 46%, rgba(11, 43, 38, 0) 72%),
    var(--c-deep);
}

.page-news .jrn-masthead::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.3;
  background-image:
    repeating-linear-gradient(90deg, rgba(46, 87, 75, 0.55) 0 1px, transparent 1px 88px),
    repeating-linear-gradient(0deg, rgba(46, 87, 75, 0.55) 0 1px, transparent 1px 88px);
}

.page-news .jrn-masthead > .wrap {
  position: relative;
  z-index: 1;
}

.page-news .jrn-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 22px;
  font-size: 13px;
  color: var(--c-mist);
  letter-spacing: 0.04em;
}

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

.page-news .jrn-crumb a:hover {
  color: var(--c-orange);
}

.page-news .jrn-crumb [aria-current="page"] {
  color: var(--c-warm);
}

.page-news .jrn-masthead__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  padding: 26px 0 42px;
}

.page-news .jrn-masthead__text {
  min-width: 0;
}

.page-news .jrn-kicker {
  margin: 0;
  font-size: 12.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-pitch);
}

.page-news .jrn-h1 {
  margin: 10px 0 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 10vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.page-news .jrn-lede {
  margin: 0;
  max-width: 56ch;
  font-size: 16px;
  color: var(--c-warm);
}

.page-news .jrn-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--c-line);
}

.page-news .jrn-toc a {
  color: var(--c-warm);
  text-decoration: none;
  font-size: 14px;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-news .jrn-toc a:hover {
  color: var(--c-orange);
  border-bottom-color: var(--c-orange);
}

.page-news .jrn-toc__n {
  margin-right: 5px;
  font-size: 12px;
  color: var(--c-pitch);
  letter-spacing: 0.06em;
}

.page-news .jrn-cover {
  margin: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 16 / 9;
  background: var(--c-night);
}

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

/* ---------- 区块骨架 ---------- */

.page-news .jrn-section {
  padding: 46px 0;
  border-bottom: 1px solid var(--c-line);
}

.page-news .jrn-section-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 6px;
  align-items: baseline;
  margin-bottom: 26px;
}

.page-news .jrn-section-num {
  grid-row: 1;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  color: var(--c-orange);
}

.page-news .jrn-section-title {
  grid-row: 1;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 4.4vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.012em;
}

.page-news .jrn-section-note {
  grid-column: 2;
  margin: 0;
  max-width: 62ch;
  font-size: 15px;
  color: var(--c-mist);
}

/* ---------- 01 本期看点 ---------- */

.page-news .jrn-focus {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--jrn-gap);
}

.page-news .jrn-focus-card {
  position: relative;
  padding: 22px 20px 26px;
  background: var(--c-night);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.page-news .jrn-focus-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--c-pitch);
  transform: scaleX(0.26);
  transform-origin: left center;
  transition: transform 0.35s var(--ease);
}

.page-news .jrn-focus-card:hover::after {
  transform: scaleX(1);
}

.page-news .jrn-focus-card__tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 2px 10px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--c-mist);
  border: 1px solid var(--c-line);
  border-radius: 999px;
}

.page-news .jrn-focus-card__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.4;
}

.page-news .jrn-focus-card p {
  margin: 0;
  font-size: 15px;
  color: var(--c-mist);
}

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

.page-news .jrn-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--c-line);
}

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

.page-news .jrn-chip {
  appearance: none;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.2;
  padding: 7px 15px;
  color: var(--c-mist);
  background: transparent;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-news .jrn-chip:hover {
  color: var(--c-white);
  border-color: var(--c-pitch);
}

.page-news .jrn-chip[aria-pressed="true"] {
  color: var(--c-deep);
  background: var(--c-orange);
  border-color: var(--c-orange);
  font-weight: 600;
}

.page-news .jrn-filter__count {
  margin: 0 0 0 auto;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  color: var(--c-mist);
}

.page-news .jrn-feed {
  margin-top: 4px;
}

.page-news .jrn-entry {
  position: relative;
  display: block;
  padding: 20px 0 20px 18px;
  border-bottom: 1px solid var(--c-line);
  transition: background-color 0.2s var(--ease);
}

.page-news .jrn-entry::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 3px;
  background: var(--c-line);
  transition: background-color 0.2s var(--ease), top 0.2s var(--ease), bottom 0.2s var(--ease);
}

.page-news .jrn-entry[data-filter-group="venue"]::before { background: var(--c-pitch); }
.page-news .jrn-entry[data-filter-group="squad"]::before { background: var(--c-orange); }
.page-news .jrn-entry[data-filter-group="feature"]::before { background: var(--c-yellow); }
.page-news .jrn-entry[data-filter-group="app"]::before { background: var(--c-mist); }

.page-news .jrn-entry:hover {
  background: rgba(18, 58, 50, 0.55);
}

.page-news .jrn-entry:hover::before {
  top: 12px;
  bottom: 12px;
}

.page-news .jrn-entry[hidden] {
  display: none;
}

.page-news .jrn-entry__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  margin-bottom: 8px;
}

.page-news .jrn-entry__tag {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--c-pitch);
}

.page-news .jrn-entry__when {
  font-size: 12px;
  color: var(--c-mist);
  padding-left: 12px;
  border-left: 1px solid var(--c-line);
}

.page-news .jrn-entry__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(19px, 3.2vw, 24px);
  line-height: 1.36;
}

.page-news .jrn-entry__title a {
  color: var(--c-white);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.page-news .jrn-entry__title a:hover {
  color: var(--c-orange);
}

.page-news .jrn-entry__excerpt {
  margin: 0;
  max-width: 74ch;
  font-size: 15px;
  color: var(--c-mist);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-news .jrn-strip {
  margin: 30px 0 0;
  overflow: hidden;
  background: var(--c-night);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}

.page-news .jrn-strip img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.page-news .jrn-strip figcaption {
  padding: 14px 18px;
  font-size: 13.5px;
  color: var(--c-mist);
  border-top: 1px solid var(--c-line);
}

/* ---------- 03 赛季阶段 ---------- */

.page-news .jrn-timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 28px;
  position: relative;
}

.page-news .jrn-timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--c-pitch) 0%, var(--c-line) 58%, rgba(46, 87, 75, 0) 100%);
}

.page-news .jrn-stage {
  position: relative;
  padding: 0 0 30px;
}

.page-news .jrn-stage:last-child {
  padding-bottom: 0;
}

.page-news .jrn-stage__dot {
  position: absolute;
  left: -25px;
  top: 7px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--c-deep);
  border: 2px solid var(--c-pitch);
}

.page-news .jrn-stage__idx {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--c-orange);
}

.page-news .jrn-stage__title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.38;
}

.page-news .jrn-stage p {
  margin: 0;
  max-width: 62ch;
  font-size: 15px;
  color: var(--c-mist);
}

/* ---------- 04 专题归档 ---------- */

.page-news .jrn-section--topics {
  position: relative;
  overflow: hidden;
}

.page-news .jrn-topics__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-news .jrn-topics__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.24;
}

.page-news .jrn-section--topics::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 43, 38, 0.74) 0%, rgba(11, 43, 38, 0.95) 100%);
}

.page-news .jrn-topics__inner {
  position: relative;
  z-index: 2;
}

.page-news .jrn-tabs__bar {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--c-line);
  margin-bottom: 22px;
  overflow-x: auto;
  scrollbar-width: none;
}

.page-news .jrn-tabs__bar::-webkit-scrollbar {
  display: none;
}

.page-news .jrn-tab {
  appearance: none;
  flex: 0 0 auto;
  padding: 10px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--c-mist);
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-news .jrn-tab:hover {
  color: var(--c-white);
}

.page-news .jrn-tab[aria-selected="true"] {
  color: var(--c-orange);
  border-bottom-color: var(--c-orange);
}

.page-news .jrn-tab-panel {
  padding-top: 2px;
}

.page-news .jrn-tab-panel[hidden] {
  display: none;
}

.page-news .jrn-tab-lede {
  margin: 0 0 20px;
  max-width: 74ch;
  font-size: 15px;
  color: var(--c-warm);
}

.page-news .jrn-archive {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.page-news .jrn-archive__card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 12px;
  background: var(--jrn-tint);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.page-news .jrn-archive__card:hover {
  border-color: var(--c-pitch);
  background: rgba(31, 122, 77, 0.2);
}

.page-news .jrn-archive__season {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--c-yellow);
}

.page-news .jrn-archive__unit {
  font-size: 12px;
  color: var(--c-mist);
}

.page-news .jrn-archive__meta {
  margin-top: 8px;
  padding-top: 8px;
  font-size: 12px;
  color: var(--c-mist);
  border-top: 1px solid var(--c-line);
}

.page-news .jrn-tab-foot {
  margin: 22px 0 0;
}

.page-news .jrn-tab-foot a {
  display: inline-block;
  padding-bottom: 2px;
  font-size: 15px;
  color: var(--c-orange);
  text-decoration: none;
  border-bottom: 1px solid var(--c-orange-dark);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-news .jrn-tab-foot a:hover {
  color: var(--c-yellow);
  border-bottom-color: var(--c-yellow);
}

/* ---------- 05 投稿与纠错 ---------- */

.page-news .jrn-submit {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.page-news .jrn-submit__main {
  min-width: 0;
}

.page-news .jrn-submit__main p {
  margin: 0 0 14px;
  max-width: 68ch;
  font-size: 15.5px;
}

.page-news .jrn-submit__note {
  padding-left: 16px;
  border-left: 2px solid var(--c-pitch);
  color: var(--c-mist);
  font-size: 14.5px;
}

.page-news .jrn-submit__mail {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-top: 20px;
  padding: 14px 16px;
  background: var(--c-night);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--c-yellow);
  word-break: break-all;
}

.page-news .jrn-submit__key {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--c-mist);
}

.page-news .jrn-submit__side {
  min-width: 0;
}

.page-news .jrn-submit__side-title {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--c-pitch);
}

.page-news .jrn-links {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
}

.page-news .jrn-links li {
  border-top: 1px solid var(--c-line);
}

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

.page-news .jrn-links a {
  display: block;
  padding: 13px 2px;
  font-size: 15px;
  color: var(--c-warm);
  text-decoration: none;
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.page-news .jrn-links a:hover {
  color: var(--c-orange);
  padding-left: 9px;
}

/* ---------- 页脚收束图 ---------- */

.page-news .jrn-foot-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-top: 1px solid var(--c-line);
  background: var(--c-deep);
}

.page-news .jrn-foot-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: cover;
}

.page-news .jrn-foot-media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60%;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 43, 38, 0) 0%, rgba(11, 43, 38, 0.94) 100%);
}

.page-news .jrn-foot-media figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 18px 20px 22px;
  font-size: 14px;
  color: var(--c-warm);
}

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

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

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

@media (min-width: 880px) {
  .page-news .jrn-submit {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: 52px;
  }
}

@media (min-width: 960px) {
  .page-news .jrn-masthead__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 44px;
    align-items: end;
    padding: 40px 0 60px;
  }

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

  .page-news .jrn-section-head {
    margin-bottom: 34px;
  }

  .page-news .jrn-section-num {
    font-size: 30px;
  }

  .page-news .jrn-entry {
    padding-right: 28px;
  }

  .page-news .jrn-stage {
    padding-bottom: 34px;
  }
}

@media (min-width: 1080px) {
  .page-news .jrn-archive {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  .page-news .jrn-foot-media figcaption {
    padding-left: calc((100% - var(--wrap)) / 2 + 20px);
    padding-right: calc((100% - var(--wrap)) / 2 + 20px);
  }
}

@media (max-width: 460px) {
  .page-news .jrn-filter__count {
    margin-left: 0;
    width: 100%;
  }

  .page-news .jrn-entry {
    padding-left: 14px;
  }

  .page-news .jrn-entry::before {
    width: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .jrn-focus-card::after,
  .page-news .jrn-entry::before,
  .page-news .jrn-links a {
    transition: none;
  }

  .page-news .jrn-focus-card:hover::after {
    transform: scaleX(0.26);
  }
}
