.page-news{
  --nf-focus: var(--coral);
  --nf-cut: 18px;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
}

/* ---------- 首屏 ---------- */
.page-news .news-hero{
  position: relative;
  overflow: hidden;
  padding: clamp(20px, 5vw, 34px) 0 clamp(38px, 7vw, 76px);
  color: var(--cream);
  background:
    radial-gradient(120% 130% at 88% -20%, rgba(47, 184, 166, 0.26), transparent 58%),
    radial-gradient(90% 110% at 2% 0%, rgba(255, 107, 74, 0.22), transparent 55%),
    linear-gradient(180deg, var(--deep-blue) 0%, var(--midnight) 100%);
}
.page-news .news-hero::after{
  content: "";
  position: absolute;
  inset: auto -12% -46% 34%;
  height: 72%;
  background: repeating-linear-gradient(105deg, rgba(247, 243, 234, 0.08) 0 1px, transparent 1px 20px);
  transform: rotate(-5deg);
  pointer-events: none;
}

.page-news .breadcrumb{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: var(--s2);
  color: rgba(247, 243, 234, 0.72);
  position: relative;
  z-index: 1;
}
.page-news .breadcrumb a{
  color: var(--sun);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.page-news .breadcrumb a:hover,
.page-news .breadcrumb a:focus-visible{
  border-bottom-color: var(--sun);
}

.page-news .hero-grid{
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(22px, 4vw, 40px);
  margin-top: clamp(22px, 4vw, 40px);
}
.page-news .hero-main .eyebrow{
  color: var(--sun);
  font-family: var(--font-mono);
  letter-spacing: 0.16em;
}
.page-news .hero-main h1{
  margin: 12px 0 18px;
  font-size: clamp(30px, 6.4vw, 58px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  font-weight: 900;
  max-width: 18em;
  color: var(--cream);
}
.page-news .hero-lead{
  margin: 0;
  max-width: 36em;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.75;
  color: rgba(247, 243, 234, 0.86);
}
.page-news .hero-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(20px, 3vw, 28px);
}

.page-news .hero-plate{
  position: relative;
  padding: 18px 20px 20px;
  background: rgba(6, 26, 46, 0.62);
  border: 1px solid var(--line-dark);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
}
.page-news .hero-plate .plate-num{
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(56px, 15vw, 96px);
  line-height: 0.88;
  color: var(--sun);
  letter-spacing: -0.04em;
}
.page-news .hero-meta{
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: var(--s3);
  color: rgba(247, 243, 234, 0.8);
}
.page-news .hero-meta li{
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  padding-top: 10px;
  border-top: 1px dashed rgba(247, 243, 234, 0.2);
}
.page-news .hero-meta .mono{
  color: var(--teal);
  font-size: var(--s2);
  letter-spacing: 0.06em;
}

/* ---------- 通用段落 ---------- */
.page-news .section{
  padding: clamp(38px, 7vw, 76px) 0;
}
.page-news .section--tight{
  padding-top: clamp(34px, 6vw, 60px);
}
.page-news .section-head{
  max-width: 42em;
  margin-bottom: clamp(20px, 3.4vw, 32px);
}
.page-news .section-head .eyebrow{
  font-family: var(--font-mono);
  letter-spacing: 0.14em;
  color: var(--clay);
}
.page-news .section-head h2{
  margin: 10px 0 12px;
  font-size: clamp(24px, 4.4vw, 40px);
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--deep-blue);
}
.page-news .section-head p{
  margin: 0;
  font-size: var(--s3);
  line-height: 1.75;
  color: var(--ink-soft);
}

/* ---------- 本周更新带 ---------- */
.page-news .weekly-band{
  display: grid;
  gap: 14px;
}
.page-news .wk-card{
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  background: var(--paper-lift);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - var(--nf-cut)) 0, 100% var(--nf-cut), 100% 100%, 0 100%);
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease), border-color 0.24s var(--ease);
}
.page-news .wk-card:hover,
.page-news .wk-card:focus-within{
  transform: translateY(-3px);
  box-shadow: var(--shadow-1);
  border-color: var(--line-strong);
}
.page-news .wk-card--lead{
  background: linear-gradient(160deg, #FFFCF4 0%, #FBF3E4 100%);
  border-color: rgba(255, 107, 74, 0.36);
}
.page-news .wk-fig{
  margin: 0;
  aspect-ratio: 16 / 10;
}
.page-news .wk-body h3{
  margin: 8px 0 8px;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.32;
  font-weight: 800;
  color: var(--deep-blue);
}
.page-news .wk-body p{
  margin: 0;
  font-size: var(--s3);
  line-height: 1.72;
  color: var(--ink-soft);
}
.page-news .wk-meta{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: var(--s1);
  color: var(--ink-mute);
}
.page-news .wk-meta .mono{
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}
.page-news .wk-link{
  display: inline-block;
  margin-top: 14px;
  font-size: var(--s2);
  font-weight: 700;
  color: var(--clay);
  text-decoration: none;
  border-bottom: 2px solid var(--sun);
  padding-bottom: 2px;
}
.page-news .wk-link:hover,
.page-news .wk-link:focus-visible{
  color: var(--deep-blue);
  border-bottom-color: var(--coral);
}

/* ---------- 分类标签 ---------- */
.page-news .ni-tag{
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: var(--s1);
  font-weight: 700;
  letter-spacing: 0.02em;
  background: rgba(11, 46, 79, 0.08);
  color: var(--deep-blue);
}
.page-news .ni-tag--site{ background: rgba(255, 107, 74, 0.16); color: #B23E22; }
.page-news .ni-tag--apps{ background: rgba(47, 184, 166, 0.18); color: #10695E; }
.page-news .ni-tag--biz{ background: rgba(201, 111, 74, 0.18); color: #8A4326; }
.page-news .ni-tag--guide{ background: rgba(255, 209, 102, 0.34); color: #7A5300; }
.page-news .ni-tag--rules{ background: rgba(91, 113, 133, 0.2); color: #34485C; }
.page-news .ni-tag--coop{ background: rgba(111, 127, 90, 0.22); color: #47512F; }

/* ---------- 筛选 ---------- */
.page-news .nf-bar{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 clamp(18px, 3vw, 26px);
}
.page-news .nf-pill{
  position: relative;
  display: inline-flex;
  cursor: pointer;
}
.page-news .nf{
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  margin: 0;
  pointer-events: none;
}
.page-news .nf-pill-txt{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--paper-lift);
  color: var(--ink);
  font-size: var(--s2);
  font-weight: 700;
  line-height: 1.2;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.page-news .nf-pill-txt i{
  font-family: var(--font-mono);
  font-style: normal;
  font-size: var(--s1);
  color: var(--ink-mute);
}
.page-news .nf-pill:hover .nf-pill-txt{
  border-color: var(--deep-blue);
}
.page-news .nf:checked ~ .nf-pill-txt{
  background: var(--sun);
  border-color: var(--sun);
  color: var(--midnight);
}
.page-news .nf:checked ~ .nf-pill-txt i{
  color: var(--midnight);
  opacity: 0.68;
}
.page-news .nf:focus-visible ~ .nf-pill-txt{
  outline: 2px solid var(--nf-focus);
  outline-offset: 2px;
}

.page-news .news-filter:has(.nf[value="site"]:checked) .news-item:not([data-cat~="site"]),
.page-news .news-filter:has(.nf[value="apps"]:checked) .news-item:not([data-cat~="apps"]),
.page-news .news-filter:has(.nf[value="biz"]:checked) .news-item:not([data-cat~="biz"]),
.page-news .news-filter:has(.nf[value="guide"]:checked) .news-item:not([data-cat~="guide"]),
.page-news .news-filter:has(.nf[value="rules"]:checked) .news-item:not([data-cat~="rules"]),
.page-news .news-filter:has(.nf[value="coop"]:checked) .news-item:not([data-cat~="coop"]){
  display: none;
}

/* ---------- 更新列表 ---------- */
.page-news .news-list{
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
}
.page-news .news-item{
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 10px 14px;
  padding: 20px 0 20px 12px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s var(--ease);
}
.page-news .news-item::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--teal);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.26s var(--ease);
}
.page-news .news-item:hover,
.page-news .news-item:focus-within{
  background: rgba(255, 252, 244, 0.9);
}
.page-news .news-item:hover::before,
.page-news .news-item:focus-within::before{
  transform: scaleY(1);
}
.page-news .news-item[data-cat~="site"]::before{ background: var(--coral); }
.page-news .news-item[data-cat~="apps"]::before{ background: var(--teal); }
.page-news .news-item[data-cat~="biz"]::before{ background: var(--clay); }
.page-news .news-item[data-cat~="guide"]::before{ background: var(--sun); }
.page-news .news-item[data-cat~="rules"]::before{ background: var(--blue-grey); }
.page-news .news-item[data-cat~="coop"]::before{ background: var(--moss); }

.page-news .ni-num{
  font-size: var(--s5);
  line-height: 1;
  color: var(--rock);
  letter-spacing: -0.03em;
  transition: color 0.2s var(--ease);
}
.page-news .news-item:hover .ni-num,
.page-news .news-item:focus-within .ni-num{
  color: var(--deep-blue);
}
.page-news .ni-meta{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  font-size: var(--s1);
}
.page-news .ni-time{
  color: var(--ink-mute);
  letter-spacing: 0.04em;
  font-size: var(--s1);
  padding-left: 10px;
  border-left: 1px solid var(--line-strong);
}
.page-news .ni-title{
  margin: 0 0 8px;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.36;
  font-weight: 800;
  color: var(--deep-blue);
}
.page-news .ni-sum{
  margin: 0;
  max-width: 34em;
  font-size: var(--s3);
  line-height: 1.72;
  color: var(--ink-soft);
}
.page-news .ni-fig{
  margin: 6px 0 0;
  grid-column: 2;
}
.page-news .ni-fig img,
.page-news .wk-fig img,
.page-news .cb-fig img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-news .ni-more{
  margin-top: 12px;
}
.page-news .ni-more summary{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  font-size: var(--s2);
  font-weight: 700;
  color: var(--blue-grey);
  cursor: pointer;
  list-style: none;
}
.page-news .ni-more summary::-webkit-details-marker{
  display: none;
}
.page-news .ni-more summary::after{
  content: "＋";
  font-family: var(--font-mono);
  color: var(--clay);
}
.page-news .ni-more[open] summary::after{
  content: "－";
}
.page-news .ni-more summary:hover{
  color: var(--deep-blue);
}
.page-news .ni-more summary:focus-visible{
  outline: 2px solid var(--nf-focus);
  outline-offset: 2px;
}
.page-news .ni-more ul{
  margin: 8px 0 0;
  padding-left: 18px;
  max-width: 34em;
  font-size: var(--s3);
  line-height: 1.75;
  color: var(--ink-soft);
}
.page-news .ni-more li + li{
  margin-top: 4px;
}

/* ---------- 更新节奏 ---------- */
.page-news #rhythm{
  background: linear-gradient(180deg, var(--paper) 0%, #F1EBDE 100%);
}
.page-news .rhythm-grid{
  display: grid;
  gap: 14px;
}
.page-news .rhythm-card{
  position: relative;
  padding: 22px 20px 20px;
  background: var(--paper-lift);
  border: 1px solid var(--line);
  border-top: 5px solid var(--coral);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}
.page-news .rhythm-card--month{ border-top-color: var(--teal); }
.page-news .rhythm-card--quarter{ border-top-color: var(--clay); }
.page-news .rhythm-num{
  display: block;
  font-size: var(--s6);
  line-height: 1;
  color: rgba(11, 46, 79, 0.16);
  letter-spacing: -0.04em;
}
.page-news .rhythm-card h3{
  margin: 10px 0 10px;
  font-size: var(--s5);
  font-weight: 900;
  color: var(--deep-blue);
}
.page-news .rhythm-card p{
  margin: 0;
  font-size: var(--s3);
  line-height: 1.72;
  color: var(--ink-soft);
}
.page-news .rhythm-card .rhythm-note{
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--line-strong);
  font-size: var(--s2);
  color: var(--blue-grey);
}

/* ---------- 联系带 ---------- */
.page-news .contact-band{
  margin-top: clamp(24px, 4vw, 40px);
  display: grid;
  overflow: hidden;
  border-radius: 16px;
  background: var(--midnight);
  color: var(--cream);
  box-shadow: var(--shadow-2);
}
.page-news .cb-text{
  padding: clamp(22px, 4vw, 38px);
}
.page-news .cb-text .eyebrow{
  color: var(--sun);
  font-family: var(--font-mono);
  letter-spacing: 0.14em;
  margin: 0;
}
.page-news .cb-text h3{
  margin: 10px 0 14px;
  font-size: clamp(20px, 3.4vw, 30px);
  line-height: 1.28;
  font-weight: 900;
  color: var(--cream);
}
.page-news .cb-text p{
  margin: 0 0 14px;
  max-width: 34em;
  font-size: var(--s3);
  line-height: 1.75;
  color: rgba(247, 243, 234, 0.84);
}
.page-news .cb-contact{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: var(--s2);
  color: rgba(247, 243, 234, 0.7);
}
.page-news .cb-contact a{
  color: var(--sun);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 209, 102, 0.45);
  word-break: break-all;
}
.page-news .cb-contact a:hover,
.page-news .cb-contact a:focus-visible{
  border-bottom-color: var(--sun);
}
.page-news .cb-links{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0;
}
.page-news .cb-fig{
  margin: 0;
  position: relative;
  min-height: 190px;
}
.page-news .cb-fig img{
  position: absolute;
  inset: 0;
}
.page-news .cb-fig::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 26, 46, 0.55) 0%, rgba(6, 26, 46, 0.1) 60%);
}

/* ---------- 渐显 ---------- */
.page-news [data-reveal]{
  opacity: 1;
}
.js .page-news [data-reveal]{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.js .page-news [data-reveal].is-visible{
  opacity: 1;
  transform: none;
}

/* ---------- 断点 ---------- */
@media (min-width: 760px){
  .page-news .weekly-band{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .page-news .wk-card--lead{
    grid-column: span 2;
    flex-direction: row;
    align-items: stretch;
    gap: 22px;
  }
  .page-news .wk-card--lead .wk-fig{
    flex: 0 0 42%;
    aspect-ratio: auto;
    min-height: 220px;
  }
  .page-news .wk-card--lead .wk-body{
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .page-news .wk-card--wide{
    grid-column: span 2;
  }
  .page-news .rhythm-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .page-news .contact-band{
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  }
  .page-news .cb-fig{
    min-height: 100%;
  }
}

@media (min-width: 900px){
  .page-news .hero-grid{
    grid-template-columns: minmax(0, 1.65fr) minmax(220px, 0.75fr);
    align-items: end;
  }
  .page-news .news-item{
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px 22px;
    padding: 24px 8px 24px 15px;
  }
  .page-news .ni-num{
    font-size: var(--s6);
  }
  .page-news .news-item--feature{
    grid-template-columns: 52px minmax(0, 1fr) 220px;
    align-items: start;
  }
  .page-news .news-item--feature .ni-fig{
    grid-column: 3;
    margin-top: 2px;
    aspect-ratio: 4 / 3;
  }
}

@media (min-width: 1100px){
  .page-news .news-item--feature{
    grid-template-columns: 52px minmax(0, 1fr) 260px;
  }
}

@media (prefers-reduced-motion: reduce){
  .js .page-news [data-reveal]{
    opacity: 1;
    transform: none;
    transition: none;
  }
  .page-news .wk-card,
  .page-news .news-item,
  .page-news .news-item::before,
  .page-news .nf-pill-txt{
    transition: none;
  }
  .page-news .wk-card:hover,
  .page-news .wk-card:focus-within{
    transform: none;
  }
}
