.page-home {
  background: var(--ink-900);
  color: var(--text);
  overflow-x: hidden;
}

/* ---------- 首屏控制台 ---------- */
.page-home .console {
  position: relative;
  padding: clamp(24px, 5vw, 56px) 0 clamp(36px, 6vw, 72px);
  background:
    radial-gradient(1100px 520px at 82% -12%, rgba(124, 92, 255, 0.34), transparent 62%),
    radial-gradient(880px 420px at 4% 6%, rgba(56, 168, 255, 0.2), transparent 60%),
    linear-gradient(180deg, var(--ink-900) 0%, var(--ink-850) 100%);
  overflow: hidden;
}

.page-home .console::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(44, 51, 92, 0.32) 1px, transparent 1px),
    linear-gradient(90deg, rgba(44, 51, 92, 0.32) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 88%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 88%);
  pointer-events: none;
}

.page-home .console-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
}

.page-home .console-brand h1 {
  margin: 10px 0 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 7vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.page-home .console-lead {
  margin: 0 0 20px;
  max-width: 44ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .round-status {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0 0 20px;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
}

.page-home .rs-item {
  border-left: 2px solid var(--line-strong);
  padding-left: 10px;
}

.page-home .rs-key {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}

.page-home .rs-val {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 4px 0 0;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--text);
}

.page-home .console-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-home .console-actions .btn {
  border-radius: 0;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  padding-inline: 22px;
}

.page-home .console-foot {
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 大屏预览 ---------- */
.page-home .screen-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 300px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--ink-800);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
  box-shadow: var(--shadow-deep);
}

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

.page-home .screen-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 16, 36, 0.28) 0%, rgba(14, 16, 36, 0.9) 76%),
    linear-gradient(90deg, rgba(124, 92, 255, 0.22), transparent 58%);
}

.page-home .screen-ui {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: clamp(12px, 2vw, 20px);
}

.page-home .screen-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.page-home .screen-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.page-home .match-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-home .match-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding: 9px 12px;
  background: rgba(18, 20, 44, 0.82);
  border-left: 2px solid var(--blue);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.page-home .match-row:hover {
  background: rgba(34, 37, 74, 0.94);
  border-left-color: var(--orange);
}

.page-home .match-time {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--blue);
  letter-spacing: 0.04em;
}

.page-home .match-meta {
  flex: 1 1 140px;
  min-width: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text);
}

.page-home .screen-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.page-home .screen-hint {
  margin: 0;
  max-width: 32ch;
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
}

.page-home .ring {
  flex: 0 0 auto;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--orange) 0 62%, rgba(124, 92, 255, 0.26) 62% 100%);
  box-shadow: 0 0 26px rgba(255, 90, 54, 0.26);
}

.page-home .ring-core {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--ink-900);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  gap: 1px;
  text-align: center;
}

.page-home .ring-num {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.page-home .ring-key {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

/* ---------- 右侧转会脉冲 ---------- */
.page-home .pulse {
  padding: 16px;
  background: var(--ink-800);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.page-home .pulse-title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.page-home .pulse-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--mint);
}

.page-home .shot {
  position: relative;
  overflow: hidden;
  background: var(--ink-700);
  border: 1px solid var(--line-soft);
}

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

.page-home .shot--pulse {
  height: 118px;
  margin-bottom: 12px;
}

.page-home .pulse-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .pulse-item {
  padding-top: 10px;
  border-top: 1px dashed var(--line-soft);
}

.page-home .pulse-time {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.page-home .pulse-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text);
}

.page-home .pulse-text .tag {
  margin-right: 6px;
}

/* ---------- 三周轮次 ---------- */
.page-home .weeks {
  background: linear-gradient(180deg, var(--ink-850) 0%, var(--ink-900) 100%);
  border-top: 1px solid var(--line-soft);
}

.page-home .weeks-body {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: stretch;
}

.page-home .week-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  clip: rect(0 0 0 0);
}

.page-home .week-media {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-800);
}

.page-home .week-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  opacity: 0.72;
}

.page-home .week-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.page-home .week-tab {
  cursor: pointer;
  padding: 7px 16px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  transition: color 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-home .week-tab:hover {
  color: var(--text);
  border-color: var(--blue);
}

.page-home #week-1:checked ~ .week-stage .week-tab[for="week-1"],
.page-home #week-2:checked ~ .week-stage .week-tab[for="week-2"],
.page-home #week-3:checked ~ .week-stage .week-tab[for="week-3"] {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink-on-warm);
}

.page-home #week-1:focus-visible ~ .week-stage .week-tab[for="week-1"],
.page-home #week-2:focus-visible ~ .week-stage .week-tab[for="week-2"],
.page-home #week-3:focus-visible ~ .week-stage .week-tab[for="week-3"] {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.page-home .week-panel {
  display: none;
}

.page-home #week-1:checked ~ .week-stage .week-panel:nth-child(1),
.page-home #week-2:checked ~ .week-stage .week-panel:nth-child(2),
.page-home #week-3:checked ~ .week-stage .week-panel:nth-child(3) {
  display: block;
}

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

.page-home .timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--blue), var(--violet) 55%, var(--line));
}

.page-home .tl-item {
  position: relative;
  padding: 10px 0 12px;
  border-bottom: 1px solid var(--line-soft);
}

.page-home .tl-item::before {
  content: "";
  position: absolute;
  left: -23px;
  top: 17px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink-900);
  border: 2px solid var(--mint);
}

.page-home .tl-round {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--blue);
}

.page-home .tl-league {
  margin: 3px 0 2px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.page-home .tl-meta {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .week-note {
  margin: 16px 0 0;
  padding-left: 12px;
  border-left: 2px solid var(--amber);
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 安卓导航 ---------- */
.page-home .nav-share {
  background:
    radial-gradient(760px 380px at 12% 10%, rgba(56, 168, 255, 0.16), transparent 62%),
    var(--ink-900);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.page-home .nav-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: center;
}

.page-home .shot--device {
  max-width: 300px;
  margin: 0 auto;
  aspect-ratio: 3 / 4;
  border-color: var(--line-strong);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
  box-shadow: var(--shadow-deep);
}

.page-home .nav-copy .section-lead {
  margin-bottom: 18px;
}

.page-home .ability-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.page-home .ability-item {
  padding-left: 12px;
  border-left: 2px solid var(--violet);
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .ability-item strong {
  display: block;
  margin-bottom: 2px;
  font-size: 14px;
  color: var(--text);
}

/* ---------- 版本对照 ---------- */
.page-home .compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-home .compare-card {
  padding: 20px;
  background: var(--ink-800);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
}

.page-home .compare-card--now {
  background: linear-gradient(160deg, rgba(56, 168, 255, 0.16), var(--ink-800) 58%);
  border-color: rgba(56, 168, 255, 0.48);
}

.page-home .compare-card--archive {
  background: linear-gradient(160deg, rgba(124, 92, 255, 0.18), var(--ink-800) 58%);
  border-color: rgba(124, 92, 255, 0.46);
}

.page-home .compare-kicker {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--mint);
}

.page-home .compare-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

.page-home .compare-list {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.page-home .compare-list li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .compare-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background: var(--blue);
  transform: skewX(-18deg);
}

.page-home .compare-card--archive .compare-list li::before {
  background: var(--violet);
}

.page-home .archive-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}

.page-home .archive-stats .stat {
  padding: 8px 10px;
  background: rgba(14, 16, 36, 0.62);
  border-left: 2px solid var(--violet);
}

.page-home .archive-stats .stat-value {
  font-family: var(--font-mono);
  font-size: 19px;
  color: var(--text);
}

.page-home .archive-stats .stat-key {
  font-size: 11px;
  color: var(--muted);
}

/* ---------- 快捷入口 ---------- */
.page-home .quick {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 26px;
}

.page-home .quick-card {
  display: block;
  padding: 18px;
  color: inherit;
  text-decoration: none;
  border-left: 3px solid var(--line-strong);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.page-home .quick-card:hover,
.page-home .quick-card:focus-visible {
  border-left-color: var(--orange);
  background: var(--ink-700);
}

.page-home .quick-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--mint);
}

.page-home .quick-title {
  display: block;
  margin: 8px 0 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
}

.page-home .quick-link {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--blue);
}

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

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

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

@media (min-width: 900px) {
  .page-home .console-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.3fr) minmax(0, 0.84fr);
    gap: 26px;
  }

  .page-home .screen-frame {
    min-height: 0;
  }

  .page-home .weeks-body {
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    gap: 32px;
  }

  .page-home .week-media {
    min-height: 100%;
  }

  .page-home .nav-grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 40px;
  }

  .page-home .compare {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .compare-card {
    padding: 24px;
  }

  .page-home .pulse {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .match-row,
  .page-home .week-tab,
  .page-home .quick-card {
    transition: none;
  }

  .page-home .ring {
    box-shadow: none;
  }
}
