/* ================= 内容笔记 / notes ================= */
.page-news{
  position: relative;
  color: var(--ivory);
  background-image:
    radial-gradient(900px 480px at 92% 0%, rgba(46,125,154,.14), transparent 62%),
    radial-gradient(760px 440px at 0% 34%, rgba(107,74,47,.22), transparent 60%),
    radial-gradient(680px 420px at 74% 96%, rgba(31,60,122,.18), transparent 64%);
  padding-block: 10px 76px;
}

.page-news .news-shell{
  padding-top: 20px;
}

.page-news .breadcrumb{
  margin-bottom: 20px;
}

/* ---------- 首屏框景 ---------- */
.page-news .news-hero{
  margin-bottom: 56px;
}

.page-news .hero-frame{
  position: relative;
  padding: 42px 20px 28px;
  border: 1px solid rgba(169,128,90,.42);
  background: linear-gradient(158deg, rgba(107,74,47,.44), rgba(8,37,31,.78) 60%);
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 30px 100%, 0 calc(100% - 30px));
}

.page-news .hero-frame::before{
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  top: 15px;
  height: 7px;
  background-image: repeating-linear-gradient(90deg, rgba(217,164,65,.6) 0 1px, transparent 1px 16px);
  pointer-events: none;
}

.page-news .hero-annotation{
  display: none;
}

.page-news .news-hero h1{
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(29px, 7.4vw, 54px);
  line-height: 1.16;
  letter-spacing: .01em;
  color: var(--ivory);
  max-width: 20ch;
}

.page-news .news-hero .lede{
  margin: 18px 0 0;
  max-width: 58ch;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.9;
  color: var(--sand);
}

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

/* ---------- 通用分栏 ---------- */
.page-news .split{
  display: grid;
  gap: 26px;
}

@media (min-width: 900px){
  .page-news .split{
    grid-template-columns: 1.02fr .98fr;
    gap: 44px;
    align-items: start;
  }
  .page-news .split--flip > *:first-child{ order: 2; }
  .page-news .split--flip > *:last-child{ order: 1; }
}

.page-news .news-section{
  margin-bottom: 66px;
}

.page-news .media-frame__img{
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  border: 1px solid rgba(169,128,90,.35);
  border-radius: 3px;
}

/* ---------- 本期专题 ---------- */
.page-news .lead-copy > * + *{
  margin-top: 16px;
}

.page-news .lead-link{
  display: inline-block;
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: 14.5px;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(217,164,65,.5);
  padding-bottom: 3px;
}

.page-news .lead-link:hover{
  color: var(--ivory);
  border-bottom-color: var(--ivory);
}

.page-news .lead-figure{
  margin: 0;
}

/* ---------- 手记流 ---------- */
.page-news .stream-note{
  margin: 0 0 16px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.85;
  color: var(--mist);
}

.page-news .note-stream{
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-news .note-item{
  position: relative;
  padding-left: 26px;
}

.page-news .note-item::before{
  content: "";
  position: absolute;
  left: 5px;
  top: 24px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid var(--replay-blue);
  background: var(--table-green);
  transition: border-color 140ms var(--ease), box-shadow 140ms var(--ease);
  z-index: 2;
}

.page-news .note-item::after{
  content: "";
  position: absolute;
  left: 10px;
  top: 38px;
  bottom: -16px;
  width: 1px;
  background: linear-gradient(180deg, var(--replay-blue), var(--archive-indigo));
  opacity: .5;
  transition: opacity 120ms var(--ease);
}

.page-news .note-item:last-child::after{
  display: none;
}

.page-news .note-item:hover::before{
  border-color: var(--gold);
  box-shadow: 0 0 0 5px rgba(217,164,65,.15);
}

.page-news .note-item:hover::after{
  opacity: 1;
}

.page-news .note-card{
  border: 1px solid rgba(169,128,90,.3);
  background: linear-gradient(150deg, rgba(107,74,47,.4), rgba(8,37,31,.7));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
  transition: border-color 220ms var(--ease);
}

.page-news .note-card:hover{
  border-color: rgba(217,164,65,.52);
}

.page-news .note-head{
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 18px 52px 18px 18px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.page-news .note-head:focus-visible{
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.page-news .note-meta{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.page-news .note-cat{
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .1em;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid currentColor;
  line-height: 1.5;
}

.page-news .note-cat--chess{ color: #79c2dc; }
.page-news .note-cat--duel{ color: #9db9ee; }
.page-news .note-cat--arcade{ color: #cfa27a; }
.page-news .note-cat--family{ color: #b6d3ca; }
.page-news .note-cat--event{ color: var(--gold); }
.page-news .note-cat--skill{ color: #e0d3bb; }

.page-news .note-no{
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--mist);
  letter-spacing: .06em;
}

.page-news .note-when{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--mist);
  opacity: .85;
}

.page-news .note-title{
  display: block;
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(17px, 4.4vw, 20px);
  line-height: 1.45;
  color: var(--ivory);
}

.page-news .note-sum{
  display: block;
  margin-top: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.8;
  color: var(--sand);
}

.page-news .note-more{
  position: absolute;
  right: 16px;
  top: 24px;
  width: 24px;
  height: 24px;
  line-height: 21px;
  text-align: center;
  font-size: 15px;
  color: var(--gold);
  border: 1px solid rgba(217,164,65,.45);
  border-radius: 50%;
  transition: transform 180ms var(--ease), background 180ms var(--ease);
}

.page-news .note-head[aria-expanded="true"] .note-more{
  transform: rotate(45deg);
  background: rgba(217,164,65,.16);
}

.page-news .note-body{
  padding: 16px 18px 20px;
  border-top: 1px dashed rgba(169,128,90,.28);
}

.page-news .note-body p{
  margin: 0;
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--sand);
}

.has-js .page-news .note-head[aria-expanded="false"] + .note-body{
  display: none;
}

/* ---------- 分隔注释 ---------- */
.page-news .note-break{
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 6px 0 6px 26px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .2em;
  color: var(--mist);
}

.page-news .note-break__line{
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(46,125,154,.55), rgba(31,60,122,0));
}

.page-news .note-break__line:last-child{
  background: linear-gradient(270deg, rgba(46,125,154,.55), rgba(31,60,122,0));
}

.page-news .stream-foot{
  margin-top: 28px;
  padding-left: 26px;
}

.page-news .to-top{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(217,164,65,.5);
  padding-bottom: 3px;
}

.page-news .to-top:hover{
  color: var(--ivory);
  border-bottom-color: var(--ivory);
}

/* ---------- 回放归档 ---------- */
.page-news .archive-points{
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-news .archive-points li{
  position: relative;
  padding-left: 18px;
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--sand);
}

.page-news .archive-points li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  background: var(--replay-blue);
  transform: rotate(45deg);
}

.page-news .archive-figure{
  margin: 0;
}

/* ---------- 目录调整 ---------- */
.page-news .news-catalog .text-body{
  max-width: 76ch;
}

.page-news .catalog-cols{
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

@media (min-width: 720px){
  .page-news .catalog-cols{
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

.page-news .catalog-col{
  padding: 18px;
  border: 1px solid rgba(169,128,90,.28);
  border-left: 3px solid var(--replay-blue);
  background: rgba(8,37,31,.5);
}

.page-news .catalog-col--new{
  border-left-color: var(--gold);
}

.page-news .catalog-col h3{
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  color: var(--ivory);
}

.page-news .catalog-col ul{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}

.page-news .catalog-col li{
  position: relative;
  padding-left: 15px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.78;
  color: var(--sand);
}

.page-news .catalog-col li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mist);
}

.page-news .catalog-figure{
  margin: 26px 0 0;
}

/* ---------- 编辑推荐 ---------- */
.page-news .picks{
  display: grid;
  gap: 14px;
}

@media (min-width: 720px){
  .page-news .picks{
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

.page-news .pick{
  display: block;
  padding: 18px 18px 16px;
  border: 1px solid rgba(169,128,90,.3);
  background: linear-gradient(150deg, rgba(107,74,47,.32), rgba(8,37,31,.62));
  border-radius: 3px;
  text-decoration: none;
  color: inherit;
  transition: border-color 220ms var(--ease), transform 220ms var(--ease);
}

.page-news .pick:hover{
  border-color: rgba(217,164,65,.55);
  transform: translateY(-3px);
}

.page-news .pick:focus-visible{
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.page-news .pick__tag{
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  color: var(--mist);
}

.page-news .pick__title{
  display: block;
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  line-height: 1.45;
  color: var(--ivory);
}

.page-news .pick__desc{
  display: block;
  margin-top: 8px;
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--sand);
}

.page-news .picks-foot{
  margin-top: 30px;
}

.page-news .picks-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.page-news .picks-figure{
  margin: 0;
}

/* ---------- 宽屏首屏 ---------- */
@media (min-width: 900px){
  .page-news .hero-frame{
    padding: 52px 64px 44px 46px;
  }
  .page-news .hero-annotation{
    display: block;
    position: absolute;
    right: 16px;
    top: 62px;
    writing-mode: vertical-rl;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: .18em;
    color: var(--gold);
    opacity: .82;
  }
  .page-news .news-hero .lede{
    font-size: 17.5px;
  }
}

@media (min-width: 1200px){
  .page-news .split{
    gap: 56px;
  }
  .page-news .note-head{
    padding: 20px 56px 20px 22px;
  }
  .page-news .note-body{
    padding: 18px 22px 22px;
  }
}

/* ---------- 无障碍与动效降级 ---------- */
@media (prefers-reduced-motion: reduce){
  .page-news .note-item::before,
  .page-news .note-item::after,
  .page-news .note-card,
  .page-news .note-more,
  .page-news .pick{
    transition-duration: 120ms;
    transition-property: opacity;
  }
  .page-news .pick:hover{
    transform: none;
  }
}
