.page-home {
  --home-grad: linear-gradient(135deg, var(--ink-900) 0%, var(--ink-700) 45%, rgba(212, 160, 23, .18) 100%);
  --home-cut: 16px;
  display: block;
}

/* ============ 首屏 ============ */
.page-home .home-hero {
  position: relative;
  padding: 32px 0 20px;
  overflow: hidden;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -10%;
  width: 70%;
  height: 560px;
  background:
    radial-gradient(520px 380px at 42% 34%, rgba(212, 160, 23, .16), transparent 70%),
    radial-gradient(460px 320px at 82% 68%, rgba(31, 163, 122, .09), transparent 72%);
  pointer-events: none;
}

.page-home .home-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
}

.page-home .home-hero__narr {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page-home .home-hero__narr .h-xl {
  margin: 0;
  letter-spacing: -.01em;
}

.page-home .hero-accent {
  color: var(--gold-hi);
  padding-bottom: 4px;
  background-image: linear-gradient(90deg, var(--gold) 0%, rgba(212, 160, 23, 0) 92%);
  background-repeat: no-repeat;
  background-size: 100% 2px;
  background-position: 0 100%;
}

.page-home .home-hero__narr .lede {
  margin: 0;
  max-width: 620px;
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* 四入口索引 */
.page-home .entry-index {
  list-style: none;
  margin: 4px 0 0;
  padding: 16px 0 0;
  display: grid;
  gap: 9px;
  border-top: 1px solid var(--line-soft);
}

.page-home .entry-index__item {
  display: block;
}

.page-home .entry-index__link {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 4px 12px;
  min-height: 44px;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--white);
  background: linear-gradient(120deg, rgba(16, 31, 51, .92), rgba(11, 26, 42, .62));
  box-shadow: inset 0 0 0 1px var(--line-soft);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}

.page-home .entry-index__link:hover,
.page-home .entry-index__link:focus-visible {
  transform: translateX(4px);
  box-shadow: inset 0 0 0 1px var(--gold);
  background: linear-gradient(120deg, rgba(22, 40, 63, .95), rgba(11, 26, 42, .7));
}

.page-home .entry-index__idx {
  grid-row: span 1;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--gold);
}

.page-home .entry-index__label {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .02em;
}

.page-home .entry-index__meta {
  grid-column: 2;
  font-size: 12px;
  color: var(--mist);
  line-height: 1.6;
}

/* 右侧视觉 */
.page-home .home-hero__visual {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  background: var(--home-grad);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%);
}

.page-home .home-hero__visual > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: 100%;
  opacity: .8;
}

.page-home .hero-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(11, 26, 42, .12) 0%, rgba(11, 26, 42, .5) 60%, rgba(11, 26, 42, .92) 100%),
    radial-gradient(420px 300px at 76% 20%, rgba(212, 160, 23, .2), transparent 70%);
  box-shadow: inset 0 0 0 1px rgba(138, 101, 18, .42);
}

.page-home .hero-slash {
  position: absolute;
  left: -10%;
  width: 120%;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, var(--gold-dim) 14%, var(--gold-hi) 48%, var(--gold) 62%, transparent 100%);
}

.page-home .hero-slash--a {
  top: 26%;
  height: 2px;
  transform: rotate(-6deg);
  box-shadow: 0 0 22px rgba(212, 160, 23, .55);
}

.page-home .hero-slash--b {
  top: 58%;
  transform: rotate(-6deg);
  opacity: .5;
}

.page-home .hero-readout {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  gap: 2px 8px;
  padding: 12px 16px;
  background: rgba(11, 26, 42, .8);
  backdrop-filter: blur(6px);
  box-shadow: inset 0 0 0 1px rgba(212, 160, 23, .42);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.page-home .hero-readout__k {
  grid-column: 1 / -1;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--mist);
}

.page-home .hero-readout__v {
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  color: var(--gold-hi);
  font-variant-numeric: tabular-nums;
}

.page-home .hero-readout__u {
  font-size: 12px;
  color: var(--mist);
}

/* ============ 区块标题 ============ */
.page-home .block-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 26px;
}

.page-home .block-head .h-lg {
  margin: 0;
  letter-spacing: -.01em;
}

.page-home .block-head__desc {
  margin: 0;
  max-width: 640px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--mist);
}

/* ============ 当周开服 ============ */
.page-home .day-switch {
  display: block;
}

.page-home .day-switch__tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
  padding-bottom: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.page-home .day-switch__tabs::-webkit-scrollbar {
  display: none;
}

.page-home .day-tab {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--mist);
  background: var(--ink-800);
  cursor: pointer;
  transition: color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.page-home .day-tab input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.page-home .day-tab:has(input:checked) {
  color: var(--ink-900);
  font-weight: 500;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold));
}

.page-home .day-tab:has(input:focus-visible) {
  outline: 2px solid var(--gold-hi);
  outline-offset: 2px;
}

.page-home .day-panel {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 9px;
}

.page-home .day-switch:has(#openday-1:checked) .day-panel[data-day="1"],
.page-home .day-switch:has(#openday-2:checked) .day-panel[data-day="2"],
.page-home .day-switch:has(#openday-3:checked) .day-panel[data-day="3"],
.page-home .day-switch:has(#openday-4:checked) .day-panel[data-day="4"],
.page-home .day-switch:has(#openday-5:checked) .day-panel[data-day="5"],
.page-home .day-switch:has(#openday-6:checked) .day-panel[data-day="6"],
.page-home .day-switch:has(#openday-7:checked) .day-panel[data-day="7"] {
  display: grid;
}

.page-home .open-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 12px;
  padding: 12px 14px;
  background: var(--ink-800);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  border-left: 2px solid var(--gold);
  transition: background .2s var(--ease), box-shadow .2s var(--ease);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.page-home .open-item:hover {
  background: var(--ink-700);
  box-shadow: inset 0 0 0 1px rgba(212, 160, 23, .4);
}

.page-home .open-item__name {
  grid-column: 1;
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
}

.page-home .open-item .pill {
  font-size: 11px;
  padding: 3px 9px;
  letter-spacing: .04em;
}

.page-home .open-item__tag {
  grid-column: 2;
  justify-self: end;
}

.page-home .open-item__pkg {
  grid-column: 1;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--mist);
  font-variant-numeric: tabular-nums;
}

.page-home .open-item__state {
  grid-column: 2;
  justify-self: end;
}

.page-home .week-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 20px 0 0;
}

.page-home .week-foot__note {
  font-size: 13px;
  color: var(--mist);
  line-height: 1.7;
}

/* ============ 概况数据带 ============ */
.page-home .home-trust {
  margin: 8px 0;
  padding: 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(90deg, rgba(16, 31, 51, .92) 0%, rgba(11, 26, 42, .55) 58%, rgba(212, 160, 23, .1) 100%);
}

.page-home .home-trust__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  background: var(--line-soft);
}

.page-home .trust-cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 18px;
  background: var(--ink-900);
}

.page-home .trust-cell__v {
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  color: var(--gold-hi);
  font-variant-numeric: tabular-nums;
}

.page-home .trust-cell__u {
  margin-left: 4px;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--mist);
}

.page-home .trust-cell__k {
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist);
}

/* ============ 体积与适配 ============ */
.page-home .spec-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

.page-home .spec-visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--ink-800);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}

.page-home .spec-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  max-width: 100%;
  opacity: .7;
}

.page-home .spec-visual .media__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 14px 12px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--mist);
  background: linear-gradient(180deg, rgba(11, 26, 42, 0) 0%, rgba(11, 26, 42, .94) 70%);
}

.page-home .spec-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-home .spec-scroll {
  overflow-x: auto;
  background: linear-gradient(180deg, rgba(16, 31, 51, .92), rgba(11, 26, 42, .72));
  box-shadow: inset 0 0 0 1px var(--line-soft);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}

.page-home .spec-table {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
  font-size: 13px;
}

.page-home .spec-table caption {
  padding: 16px 16px 10px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--gold);
}

.page-home .spec-table th,
.page-home .spec-table td {
  padding: 12px 16px;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid var(--line-soft);
}

.page-home .spec-table thead th {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .14em;
  color: var(--mist);
  background: rgba(22, 40, 63, .55);
}

.page-home .spec-table tbody th {
  font-weight: 500;
  color: var(--white);
}

.page-home .spec-table td.mono {
  font-family: var(--font-mono);
  color: var(--mist);
  font-variant-numeric: tabular-nums;
}

.page-home .spec-table tbody tr:hover {
  background: rgba(212, 160, 23, .06);
}

.page-home .spec-table tbody tr:last-child th,
.page-home .spec-table tbody tr:last-child td {
  border-bottom: 0;
}

.page-home .spec-table .pill {
  font-size: 11px;
  padding: 3px 9px;
}

.page-home .spec-note {
  margin: 0;
  max-width: 68ch;
  font-size: 13px;
  line-height: 1.95;
  color: var(--mist);
}

.page-home .inline-link {
  color: var(--gold-hi);
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 160, 23, .5);
  padding-bottom: 1px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

.page-home .inline-link:hover,
.page-home .inline-link:focus-visible {
  color: var(--white);
  border-color: var(--gold-hi);
}

/* ============ 变更轨迹 ============ */
.page-home .log-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

.page-home .log-intro {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-home .log-intro .h-lg {
  margin: 0;
  letter-spacing: -.01em;
}

.page-home .log-intro p {
  margin: 0;
  max-width: 560px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--mist);
}

.page-home .log-visual {
  margin: 6px 0 0;
}

.page-home .log-visual img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
}

.page-home .timeline {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0 0 0 26px;
}

.page-home .timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-dim) 42%, rgba(138, 101, 18, 0) 100%);
}

.page-home .timeline__item {
  position: relative;
  padding: 0 0 20px;
}

.page-home .timeline__item:last-child {
  padding-bottom: 0;
}

.page-home .timeline__item::before {
  content: "";
  position: absolute;
  left: -31px;
  top: 6px;
  width: 10px;
  height: 10px;
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(212, 160, 23, .55);
}

.page-home .timeline__time {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--gold);
}

.page-home .timeline__text {
  font-size: 14px;
  line-height: 1.85;
  color: var(--white);
}

/* ============ 服务与联络 ============ */
.page-home .service-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  padding: 28px 22px;
  background: linear-gradient(120deg, rgba(22, 40, 63, .96) 0%, rgba(11, 26, 42, .92) 52%, rgba(212, 160, 23, .14) 100%);
  box-shadow: inset 0 0 0 1px rgba(138, 101, 18, .38);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}

.page-home .service-band__text {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-home .service-band__text .h-md {
  margin: 0;
}

.page-home .service-band__text p {
  margin: 0;
  max-width: 580px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--mist);
}

.page-home .service-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: end;
}

/* ============ 响应式 ============ */
@media (min-width: 640px) {
  .page-home .home-trust__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .page-home .entry-index__link {
    grid-template-columns: 38px minmax(0, 1fr) auto;
  }

  .page-home .entry-index__meta {
    grid-column: 3;
    text-align: right;
  }
}

@media (min-width: 900px) {
  .page-home .service-band {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 32px;
    padding: 36px 32px;
  }
}

@media (min-width: 960px) {
  .page-home .home-hero {
    padding: 44px 0 26px;
  }

  .page-home .home-hero__grid {
    grid-template-columns: 42fr 58fr;
    gap: 36px;
    align-items: stretch;
  }

  .page-home .home-hero__visual {
    min-height: 520px;
  }
}

@media (min-width: 1024px) {
  .page-home .home-trust__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-home .spec-layout {
    grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
  }

  .page-home .log-grid {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 44px;
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .entry-index__link,
  .page-home .open-item,
  .page-home .day-tab,
  .page-home .inline-link {
    transition: none;
  }

  .page-home .entry-index__link:hover,
  .page-home .entry-index__link:focus-visible {
    transform: none;
  }
}
