.page-home {
  --home-glow-cyan: rgba(41, 231, 255, 0.18);
  --home-glow-magenta: rgba(255, 61, 154, 0.12);
  --home-paper-line: rgba(11, 18, 38, 0.16);
}

.page-home img {
  max-width: 100%;
  height: auto;
}

.page-home .breadcrumb {
  padding-top: 18px;
  padding-bottom: 0;
}

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

.page-home .hero::before {
  content: "";
  position: absolute;
  top: -280px;
  right: -160px;
  width: 680px;
  height: 680px;
  background: radial-gradient(circle at 50% 50%, var(--home-glow-cyan), var(--home-glow-magenta) 48%, transparent 72%);
  pointer-events: none;
}

.page-home .hero-inner {
  position: relative;
  display: grid;
  gap: 30px;
}

.page-home .hero-copy {
  position: relative;
}

.page-home .hero-stamp {
  display: inline-block;
  margin: 0 0 18px;
  padding: 5px 12px;
  font-family: var(--font-hand);
  font-size: 14px;
  color: var(--ink);
  background: var(--orange);
  border-radius: 3px;
  transform: rotate(-1.6deg);
  box-shadow: 3px 3px 0 rgba(5, 8, 18, 0.55);
}

.page-home .hero h1 {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(38px, 8.4vw, 68px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--paper);
}

.page-home .hero h1 em {
  font-style: normal;
  color: var(--cyan);
}

.page-home .hero-lede {
  max-width: 44ch;
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--mist);
}

.page-home .hero-actions {
  margin-bottom: 8px;
}

.page-home .hero-vert {
  display: none;
}

/* 配置卡 */
.page-home .hero-card {
  position: relative;
  background: linear-gradient(180deg, var(--panel), #0d1730 82%);
  border: var(--edge);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 12px 12px 0 -3px rgba(30, 45, 90, 0.5), 0 22px 56px rgba(5, 8, 18, 0.55);
}

.page-home .hero-card-media img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}

.page-home .hero-card-body {
  padding: 18px 18px 20px;
}

.page-home .hero-version {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
}

.page-home .hero-version-label {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.page-home .hero-version-num {
  font-size: 26px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: -0.02em;
}

.page-home .hero-version-note {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist);
}

.page-home .tier-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.page-home .tier-switch {
  display: flex;
  gap: 6px;
  margin: 16px 0 12px;
}

.page-home .tier-label {
  flex: 1;
  padding: 8px 4px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--mist);
  background: rgba(11, 18, 38, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.page-home .tier-label:hover {
  color: var(--paper);
  border-color: var(--cyan);
}

.page-home #tier-entry:checked ~ .tier-switch .tier-label:nth-of-type(1),
.page-home #tier-balance:checked ~ .tier-switch .tier-label:nth-of-type(2),
.page-home #tier-fps:checked ~ .tier-switch .tier-label:nth-of-type(3) {
  color: var(--ink);
  background: var(--cyan);
  border-color: var(--cyan);
}

.page-home #tier-entry:focus-visible ~ .tier-switch .tier-label:nth-of-type(1),
.page-home #tier-balance:focus-visible ~ .tier-switch .tier-label:nth-of-type(2),
.page-home #tier-fps:focus-visible ~ .tier-switch .tier-label:nth-of-type(3) {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.page-home .tier-panel {
  display: none;
  margin: 0;
  gap: 0;
}

.page-home #tier-entry:checked ~ .tier-panels .tier-panel--entry,
.page-home #tier-balance:checked ~ .tier-panels .tier-panel--balance,
.page-home #tier-fps:checked ~ .tier-panels .tier-panel--fps {
  display: grid;
}

.page-home .tier-panel > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(30, 45, 90, 0.75);
}

.page-home .tier-panel dt {
  font-size: 13px;
  color: var(--mist);
}

.page-home .tier-panel dd {
  margin: 0;
  font-size: 14px;
  color: var(--paper);
}

.page-home .sticker {
  display: block;
  position: relative;
  margin: 16px 0 10px;
  padding: 9px 12px 9px 30px;
  font-family: var(--font-hand);
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 3px;
  transform: rotate(-0.7deg);
  box-shadow: 3px 3px 0 rgba(5, 8, 18, 0.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-home .sticker::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  background: var(--orange);
  border-radius: 1px;
}

.page-home .hero-card:has(.btn--download:hover) .sticker {
  transform: rotate(-0.7deg) translateY(-3px);
  box-shadow: 3px 6px 0 rgba(5, 8, 18, 0.6);
}

.page-home .hero-card .btn--download {
  width: 100%;
  text-align: center;
}

/* ---------- 章节通用 ---------- */
.page-home .home-sec {
  position: relative;
  padding-top: 48px;
  padding-bottom: 12px;
}

.page-home .section-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 14px;
  align-items: start;
  margin-bottom: 26px;
}

.page-home .section-num {
  grid-row: span 2;
  font-family: var(--font-display);
  font-size: clamp(38px, 8vw, 56px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: rgba(169, 180, 208, 0.18);
  -webkit-text-stroke: 1.2px var(--line);
}

.page-home .section-title {
  grid-column: 2;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(21px, 3.4vw, 30px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.page-home .section-kicker {
  grid-column: 2;
  margin: 0;
  font-family: var(--font-hand);
  font-size: 14px;
  color: var(--mist);
}

/* ---------- 收藏带 ---------- */
.page-home .fav-band {
  padding: 24px 18px 26px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid rgba(11, 18, 38, 0.2);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 40px rgba(5, 8, 18, 0.45);
}

.page-home .fav-band .section-title {
  color: var(--ink);
}

.page-home .fav-band .section-kicker {
  color: rgba(11, 18, 38, 0.6);
}

.page-home .fav-band .section-num {
  color: rgba(11, 18, 38, 0.1);
  -webkit-text-stroke: 1.2px rgba(11, 18, 38, 0.32);
}

.page-home .fav-grid {
  display: grid;
  gap: 18px;
  margin-bottom: 22px;
}

.page-home .fav-copy p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(11, 18, 38, 0.82);
}

.page-home .fav-hand {
  color: var(--magenta);
  font-size: 14px;
}

.page-home .fav-media {
  border-color: var(--home-paper-line);
  background: #fff;
}

.page-home .fav-media .img-caption {
  color: rgba(11, 18, 38, 0.55);
  border-top: 1px solid var(--home-paper-line);
}

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

.page-home .fav-item {
  position: relative;
}

.page-home .fav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px;
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--home-paper-line);
  border-radius: var(--radius-sm);
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.page-home .fav-link:hover,
.page-home .fav-link:focus-visible {
  border-color: var(--orange);
  background: #fff6ea;
  transform: translateY(-1px);
  outline: none;
}

.page-home .fav-item.is-saved .fav-link {
  border-left: 3px solid var(--orange);
}

.page-home .fav-name {
  font-weight: 600;
}

.page-home .fav-num {
  font-size: 12px;
  color: rgba(11, 18, 38, 0.42);
}

.page-home .fav-flag {
  position: absolute;
  top: -7px;
  right: 8px;
  z-index: 2;
  padding: 1px 6px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink);
  background: var(--lime);
  border-radius: 2px;
}

/* ---------- Bento 大厅 ---------- */
.page-home .bento {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.page-home .bento-cell {
  position: relative;
  display: block;
  padding: 20px 18px 22px;
  color: var(--paper);
  text-decoration: none;
  background: var(--panel);
  border: var(--edge);
  border-radius: var(--radius-md);
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.page-home .bento-cell:hover,
.page-home .bento-cell:focus-visible {
  border-color: var(--cyan);
  background: #16234a;
  transform: translateY(-2px);
  outline: none;
}

.page-home .bento-cell:focus-visible {
  box-shadow: 0 0 0 2px rgba(41, 231, 255, 0.35);
}

.page-home .bento-cell .cell-label {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--mist);
}

.page-home .bento-cell .cell-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.page-home .bento-cell .cell-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--mist);
}

.page-home .hall-cell--open {
  background: linear-gradient(150deg, #10224a, var(--panel) 62%);
  border-color: rgba(41, 231, 255, 0.45);
}

.page-home .hall-cell--open .cell-title {
  font-size: 23px;
}

.page-home .hall-cell--ver {
  border-color: rgba(255, 61, 154, 0.42);
}

.page-home .hall-cell--pkg {
  border-color: rgba(255, 158, 61, 0.55);
}

.page-home .hall-arrow {
  position: absolute;
  right: 16px;
  bottom: 14px;
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--cyan);
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.page-home .bento-cell:hover .hall-arrow,
.page-home .bento-cell:focus-visible .hall-arrow {
  opacity: 1;
  transform: translateX(3px);
}

.page-home .hall-hint {
  display: inline-block;
  margin: 12px 0 0;
  padding: 3px 8px;
  font-family: var(--font-hand);
  font-size: 12px;
  color: var(--ink);
  background: var(--orange);
  border-radius: 2px;
}

.page-home .hall-visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--shadow);
  border: var(--edge);
  border-radius: var(--radius-md);
}

.page-home .hall-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 180px;
  max-height: 260px;
  object-fit: cover;
  opacity: 0.88;
}

.page-home .hall-visual-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 14px 10px;
  font-family: var(--font-hand);
  font-size: 13px;
  color: var(--paper);
  background: linear-gradient(180deg, transparent, rgba(5, 8, 18, 0.92));
}

/* ---------- 版本与攻略速览 ---------- */
.page-home .brief-grid {
  display: grid;
  gap: 24px;
}

.page-home .timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 4px;
  border-left: 1px solid var(--line);
}

.page-home .timeline li {
  position: relative;
  padding: 0 0 24px 22px;
}

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

.page-home .timeline li::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 7px;
  width: 9px;
  height: 9px;
  background: var(--ink);
  border: 1px solid var(--cyan);
  border-radius: 50%;
}

.page-home .timeline li:first-child::before {
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(41, 231, 255, 0.16);
}

.page-home .tl-num {
  display: inline-block;
  margin-bottom: 4px;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--orange);
}

.page-home .tl-title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--paper);
}

.page-home .tl-text {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--mist);
}

.page-home .tl-when {
  font-size: 13px;
  color: var(--cyan);
}

.page-home .img-frame {
  margin: 0;
  overflow: hidden;
  background: var(--panel);
  border: var(--edge);
  border-radius: var(--radius-md);
}

.page-home .img-frame img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.page-home .img-caption {
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--mist);
  border-top: var(--edge);
}

.page-home .brief-guide {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
  padding: 18px 18px;
  background: linear-gradient(100deg, rgba(41, 231, 255, 0.12), rgba(255, 158, 61, 0.1));
  border: 1px solid var(--line);
  border-left: 3px solid var(--cyan);
  border-radius: var(--radius-md);
}

.page-home .brief-guide p {
  flex: 1 1 260px;
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--paper);
}

/* ---------- 更新节奏 ---------- */
.page-home .cadence-grid {
  display: grid;
  gap: 14px;
}

.page-home .cadence-col {
  padding: 20px 18px;
  background: var(--panel);
  border: var(--edge);
  border-top: 3px solid var(--line);
  border-radius: var(--radius-md);
}

.page-home .cadence-col h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.page-home .cadence-col p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--mist);
}

.page-home .cadence-col--daily {
  border-top-color: var(--cyan);
}

.page-home .cadence-col--daily h3 {
  color: var(--cyan);
}

.page-home .cadence-col--weekly {
  border-top-color: var(--orange);
}

.page-home .cadence-col--weekly h3 {
  color: var(--orange);
}

.page-home .cadence-col--monthly {
  border-top-color: var(--magenta);
}

.page-home .cadence-col--monthly h3 {
  color: var(--magenta);
}

.page-home .trust-row {
  list-style: none;
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
}

.page-home .trust-row li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}

.page-home .trust-num {
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  color: var(--lime);
  letter-spacing: -0.02em;
}

.page-home .trust-label {
  font-size: 14px;
  line-height: 1.6;
  color: var(--mist);
}

/* ---------- 收尾 ---------- */
.page-home .closing {
  padding-top: 44px;
  padding-bottom: 56px;
}

.page-home .closing-card {
  position: relative;
  padding: 26px 20px;
  background: linear-gradient(120deg, #131f42, #0b1226 70%);
  border: var(--edge);
  border-radius: var(--radius-md);
  box-shadow: inset 0 0 0 1px rgba(41, 231, 255, 0.08);
}

.page-home .closing-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta), var(--orange));
}

.page-home .closing-title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 800;
  color: var(--paper);
}

.page-home .closing-text {
  max-width: 62ch;
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--mist);
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-home .fav-band {
    padding: 30px 26px 32px;
  }

  .page-home .fav-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-home .trust-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 24px;
  }
}

@media (min-width: 768px) {
  .page-home .home-sec {
    padding-top: 64px;
    padding-bottom: 16px;
  }

  .page-home .bento {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 16px;
  }

  .page-home .span-3 {
    grid-column: span 3;
  }

  .page-home .span-4 {
    grid-column: span 4;
  }

  .page-home .span-5 {
    grid-column: span 5;
  }

  .page-home .span-6 {
    grid-column: span 6;
  }

  .page-home .span-7 {
    grid-column: span 7;
  }

  .page-home .span-12 {
    grid-column: span 12;
  }

  .page-home .hall-visual img {
    max-height: none;
  }

  .page-home .cadence-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .page-home .brief-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
    gap: 30px;
    align-items: start;
  }
}

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

  .page-home .hero-inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
    gap: 0 clamp(24px, 4vw, 56px);
  }

  .page-home .hero-card {
    margin-top: -18px;
  }

  .page-home .hero-lede {
    font-size: 17px;
  }

  .page-home .fav-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
    gap: 30px;
  }

  .page-home .fav-band {
    padding: 34px 32px 36px;
  }
}

@media (min-width: 1180px) {
  .page-home .hero-copy {
    padding-left: 52px;
  }

  .page-home .hero-vert {
    display: block;
    position: absolute;
    left: 6px;
    top: 8px;
    writing-mode: vertical-rl;
    font-family: var(--font-hand);
    font-size: 13px;
    letter-spacing: 0.26em;
    color: var(--orange);
  }

  .page-home .trust-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .bento-cell,
  .page-home .fav-link,
  .page-home .sticker,
  .page-home .hall-arrow {
    transition: none;
  }

  .page-home .bento-cell:hover,
  .page-home .bento-cell:focus-visible,
  .page-home .fav-link:hover,
  .page-home .fav-link:focus-visible {
    transform: none;
  }
}
