.page-news {
  padding-top: clamp(16px, 3vw, 32px);
  padding-bottom: clamp(48px, 8vw, 96px);
}

.page-news .breadcrumbs {
  margin-bottom: clamp(20px, 3vw, 32px);
}

/* ---------- 首屏拼贴 ---------- */
.page-news .log-hero {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  padding-bottom: clamp(28px, 5vw, 56px);
  border-bottom: 1px solid rgba(217, 164, 65, 0.28);
}

.page-news .log-hero__main {
  max-width: 720px;
}

.page-news .log-hero h1 {
  margin: 12px 0 20px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.2vw, 3.6rem);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -0.02em;
  color: var(--snow);
}

.page-news .log-hero__lead {
  margin: 0 0 28px;
  font-size: clamp(0.98rem, 1.4vw, 1.1rem);
  line-height: 1.85;
  color: rgba(245, 241, 230, 0.78);
}

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

.page-news .log-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(207, 201, 186, 0.16);
  border: 1px solid rgba(245, 241, 230, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.page-news .log-hero__stats .stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(16px, 2.6vw, 26px);
  background: var(--ink-card);
}

.page-news .log-hero__stats .stat__value {
  font-family: var(--font-mono);
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.01em;
}

.page-news .log-hero__stats .stat__label {
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(245, 241, 230, 0.6);
}

/* ---------- 工作台：索引 + 时间轴 ---------- */
.page-news .log {
  position: relative;
  display: grid;
  gap: clamp(28px, 4vw, 52px);
  padding-top: clamp(32px, 5vw, 60px);
}

.page-news .log__radio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.page-news .log__index {
  display: grid;
  gap: 20px;
  align-content: start;
}

.page-news .log__index-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--snow);
}

.page-news .log__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px;
  border-radius: 999px;
  transition: outline-color 0.2s var(--ease);
}

.page-news .log__pill {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(207, 201, 186, 0.28);
  border-radius: 999px;
  font-size: 0.85rem;
  color: rgba(245, 241, 230, 0.75);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.page-news .log__pill:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  color: var(--gold-hi);
}

.page-news .log__radio:focus-visible ~ .log__index .log__filters {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.page-news #f-all:checked ~ .log__index .log__pill--all,
.page-news #f-page:checked ~ .log__index .log__pill--page,
.page-news #f-pack:checked ~ .log__index .log__pill--pack,
.page-news #f-maint:checked ~ .log__index .log__pill--maint {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink-deep);
  font-weight: 600;
}

.page-news .log__legend {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  font-size: 0.82rem;
  line-height: 1.7;
  color: rgba(245, 241, 230, 0.62);
}

.page-news .log__legend li {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.page-news .log__dot {
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 50%;
  display: block;
}

.page-news .log__dot--page {
  background: var(--blue);
}
.page-news .log__dot--pack {
  background: var(--gold);
}
.page-news .log__dot--maint {
  background: var(--red);
}

.page-news .log__index-note {
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid rgba(207, 201, 186, 0.18);
  font-size: 0.82rem;
  line-height: 1.75;
  color: rgba(245, 241, 230, 0.6);
}

.page-news .log__index-link {
  justify-self: start;
}

/* ---------- 图片容器 ---------- */
.page-news .log-figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(245, 241, 230, 0.1);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--ink-card), var(--ink-soft));
}

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

.page-news .log-figure--hero {
  aspect-ratio: 2 / 1;
  margin-bottom: clamp(20px, 3vw, 32px);
}

.page-news .log-figure--side {
  aspect-ratio: 4 / 3;
}

.page-news .log-figure--rhythm {
  aspect-ratio: 3 / 2;
}

/* ---------- 时间轴 ---------- */
.page-news .log__timeline {
  position: relative;
  padding-left: 28px;
  scroll-margin-top: 120px;
}

.page-news .log__timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(
    180deg,
    rgba(217, 164, 65, 0.55),
    rgba(207, 201, 186, 0.16) 55%,
    rgba(207, 201, 186, 0.05)
  );
}

.page-news .log__timeline-title {
  margin: 0 0 clamp(18px, 3vw, 26px);
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  font-weight: 700;
  color: var(--snow);
}

.page-news .log-entry {
  position: relative;
  margin-bottom: 14px;
  border: 1px solid rgba(207, 201, 186, 0.16);
  border-radius: var(--radius-md);
  background: var(--ink-card);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease),
    background-color 0.2s var(--ease);
}

.page-news .log-entry::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 22px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--fog);
  box-shadow: 0 0 0 4px var(--ink);
}

.page-news .log-entry--page::before {
  background: var(--blue);
}
.page-news .log-entry--pack::before {
  background: var(--gold);
}
.page-news .log-entry--maint::before {
  background: var(--red);
}

.page-news .log-entry:hover {
  transform: translateY(-2px);
  border-color: rgba(217, 164, 65, 0.6);
}

.page-news .log-entry[open] {
  border-color: rgba(217, 164, 65, 0.42);
  background: linear-gradient(160deg, var(--ink-card), rgba(35, 42, 49, 0.55));
}

.page-news .log-entry__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  align-items: baseline;
  padding: clamp(14px, 2vw, 20px) clamp(16px, 2.4vw, 24px);
  cursor: pointer;
  list-style: none;
}

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

.page-news .log-entry__head::marker {
  content: "";
}

.page-news .log-entry__when {
  grid-column: 1 / -1;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.page-news .log-entry__title {
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  font-weight: 600;
  line-height: 1.6;
  color: var(--snow);
}

.page-news .log-entry__head .tag {
  justify-self: end;
  white-space: nowrap;
}

.page-news .log-entry__scope {
  grid-column: 1 / -1;
  margin-top: 2px;
  font-size: 0.76rem;
  line-height: 1.6;
  color: rgba(207, 201, 186, 0.55);
  transition: color 0.2s var(--ease);
}

.page-news .log-entry:hover .log-entry__scope {
  color: rgba(217, 164, 65, 0.9);
}

.page-news .log-entry__body {
  padding: 0 clamp(16px, 2.4vw, 24px) clamp(16px, 2.4vw, 22px);
  font-size: 0.9rem;
  line-height: 1.85;
  color: rgba(245, 241, 230, 0.74);
}

.page-news .log-entry__body p {
  margin: 0;
  padding-top: 12px;
  border-top: 1px dashed rgba(207, 201, 186, 0.2);
}

.page-news .log-entry__body .tag {
  margin-left: 6px;
  vertical-align: middle;
}

/* 筛选逻辑 */
.page-news #f-page:checked ~ .log__timeline .log-entry:not(.log-entry--page),
.page-news #f-pack:checked ~ .log__timeline .log-entry:not(.log-entry--pack),
.page-news #f-maint:checked ~ .log__timeline .log-entry:not(.log-entry--maint) {
  display: none;
}

/* ---------- 节奏说明 ---------- */
.page-news .log-rhythm {
  margin-top: clamp(40px, 7vw, 80px);
}

.page-news .log-rhythm__grid {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.page-news .log-rhythm h2 {
  margin: 12px 0 18px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.35;
  color: var(--snow);
}

.page-news .log-rhythm__text > p {
  margin: 0 0 24px;
  max-width: 720px;
  font-size: 0.95rem;
  line-height: 1.85;
  color: rgba(245, 241, 230, 0.72);
}

.page-news .log-rhythm__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 18px;
}

.page-news .log-rhythm__list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(207, 201, 186, 0.18);
}

.page-news .log-rhythm__num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.06em;
}

.page-news .log-rhythm__list h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--snow);
}

.page-news .log-rhythm__list p {
  margin: 0;
  font-size: 0.87rem;
  line-height: 1.8;
  color: rgba(245, 241, 230, 0.66);
}

/* ---------- 订阅提醒 ---------- */
.page-news .log-notify {
  margin-top: clamp(36px, 6vw, 72px);
}

.page-news .log-notify__inner {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid rgba(217, 164, 65, 0.32);
  border-radius: var(--radius-lg);
  background: linear-gradient(
    145deg,
    rgba(217, 164, 65, 0.1),
    rgba(35, 42, 49, 0.9) 45%,
    var(--ink-soft)
  );
}

.page-news .log-notify h2 {
  margin: 12px 0 16px;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 800;
  line-height: 1.35;
  color: var(--snow);
}

.page-news .log-notify__copy p {
  margin: 0 0 14px;
  max-width: 640px;
  font-size: 0.92rem;
  line-height: 1.85;
  color: rgba(245, 241, 230, 0.74);
}

.page-news .log-notify__note {
  font-size: 0.82rem;
  color: rgba(207, 201, 186, 0.68);
}

.page-news .log-notify__panel {
  display: grid;
  gap: 6px;
  align-content: start;
  padding: clamp(18px, 3vw, 26px);
  border-radius: var(--radius-md);
  background: rgba(21, 24, 28, 0.6);
  border: 1px solid rgba(207, 201, 186, 0.16);
}

.page-news .log-notify__label {
  margin: 8px 0 0;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: rgba(207, 201, 186, 0.62);
}

.page-news .log-notify__mail {
  font-family: var(--font-mono);
  font-size: clamp(0.85rem, 1.6vw, 0.98rem);
  color: var(--gold-hi);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
  word-break: break-all;
}

.page-news .log-notify__mail:hover {
  border-bottom-color: var(--gold);
}

.page-news .log-notify__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

/* ---------- 响应式 ---------- */
@media (min-width: 768px) {
  .page-news .log-rhythm__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .page-news .log-notify__inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    align-items: start;
  }
}

@media (min-width: 900px) {
  .page-news .log-hero {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    justify-content: space-between;
  }
}

@media (min-width: 1080px) {
  .page-news .log {
    grid-template-columns: 288px minmax(0, 1fr);
    gap: clamp(36px, 4vw, 64px);
  }

  .page-news .log__index {
    position: sticky;
    top: 112px;
  }

  .page-news .log__timeline {
    padding-left: 34px;
  }

  .page-news .log-entry::before {
    left: -32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .log__pill,
  .page-news .log-entry,
  .page-news .log-entry__scope,
  .page-news .log-notify__mail {
    transition: none;
  }

  .page-news .log__pill:hover,
  .page-news .log-entry:hover {
    transform: none;
  }
}
