.page-home {
  --home-cut-a: polygon(0 0, 100% 0, 100% 84%, calc(100% - 38px) 100%, 0 100%);
  --home-cut-b: polygon(0 14%, 100% 0, 100% 100%, 0 100%);
  --home-grid: rgba(27, 35, 80, 0.55);
  overflow-x: clip;
  background:
    radial-gradient(900px 620px at 88% 6%, rgba(47, 107, 255, 0.18), transparent 68%),
    radial-gradient(760px 520px at 6% 34%, rgba(122, 92, 255, 0.16), transparent 70%),
    var(--ink-900);
}

.page-home .breadcrumbs {
  padding-inline: var(--gutter);
}

/* ---------- 首屏拼贴 ---------- */
.page-home .puzzle {
  display: grid;
  gap: 22px;
  padding-block: 18px 56px;
  position: relative;
}

.page-home .puzzle-head {
  display: grid;
  gap: 14px;
}

.page-home .puzzle-head h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 7.2vw, 54px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0;
  color: var(--text);
}

.page-home .puzzle-lead {
  margin: 0;
  max-width: 46ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.page-home .puzzle-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 18px 16px;
  background: linear-gradient(160deg, rgba(14, 21, 48, 0.95), rgba(6, 10, 24, 0.7));
  border: 1px solid var(--line-blue);
  border-radius: var(--radius-l);
  box-shadow: var(--glow-blue);
}

.page-home .puzzle-stats .stat {
  display: grid;
  gap: 4px;
}

.page-home .puzzle-stats .stat-value {
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  color: var(--green);
}

.page-home .puzzle-stats .stat-value em {
  font-style: normal;
  font-size: 14px;
  margin-left: 2px;
  color: var(--green);
}

.page-home .puzzle-stats .stat-label {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.page-home .puzzle-entries {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .entry {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  text-decoration: none;
  color: var(--text);
  background:
    linear-gradient(120deg, rgba(47, 107, 255, 0.16), rgba(122, 92, 255, 0.1) 58%, transparent),
    var(--ink-800);
  border: 1px solid var(--line-blue);
  border-radius: 14px;
  clip-path: polygon(0 0, 100% 0, 100% 78%, calc(100% - 22px) 100%, 0 100%);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.page-home .entry:hover,
.page-home .entry:focus-visible {
  transform: translateX(8px);
  border-color: var(--blue);
  box-shadow: var(--glow-blue);
  outline: none;
}

.page-home .entry:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.page-home .entry-no {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.06em;
}

.page-home .entry-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.page-home .entry-note {
  margin-left: auto;
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-width 200ms ease, opacity 200ms ease;
}

.page-home .entry:hover .entry-note,
.page-home .entry:focus-visible .entry-note {
  max-width: 190px;
  opacity: 1;
}

.page-home .puzzle-visual {
  margin: 0;
  border-radius: 0;
  clip-path: var(--home-cut-a);
  border: 1px solid var(--line-blue);
  box-shadow: 0 0 48px -18px rgba(47, 107, 255, 0.9);
  min-height: 220px;
}

.page-home .puzzle-visual img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
  filter: saturate(0.9) contrast(1.05);
}

.page-home .puzzle-note {
  display: none;
}

/* ---------- 回看集锦第二栏 ---------- */
.page-home .rail {
  display: grid;
  gap: 26px;
  padding-block: 56px;
  border-top: 1px solid var(--line-soft);
}

.page-home .rail-board {
  display: grid;
  gap: 10px;
  padding: 16px;
  background:
    repeating-linear-gradient(0deg, var(--home-grid) 0 1px, transparent 1px 32px),
    var(--ink-800);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
}

.page-home .rail-tab {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--ink-900);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  color: var(--muted);
}

.page-home .rail-tab--active {
  border-color: var(--green);
  color: var(--text);
  box-shadow: var(--glow-green);
  background: linear-gradient(100deg, rgba(88, 245, 176, 0.14), rgba(6, 10, 24, 0.9));
  transform: translateX(10px);
}

.page-home .rail-tab-name {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--blue);
}

.page-home .rail-tab--active .rail-tab-name {
  color: var(--green);
}

.page-home .rail-tab-desc {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
}

.page-home .rail-tab-badge {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--green);
  color: var(--green);
}

.page-home .rail-copy h2,
.page-home .panel-sec-copy h2,
.page-home .tablet-copy h2,
.page-home .path-copy h2,
.page-home .closing-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 5vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.16;
  margin: 6px 0 12px;
  color: var(--text);
}

.page-home .rail-copy p,
.page-home .panel-sec-copy p,
.page-home .tablet-copy p,
.page-home .path-copy p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.78;
  max-width: 52ch;
}

/* ---------- 注册后的第一屏 ---------- */
.page-home .panel-sec {
  display: grid;
  gap: 24px;
  padding-block: 56px;
  border-top: 1px solid var(--line-soft);
}

.page-home .panel-versions {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.page-home .panel-versions .stat {
  display: grid;
  gap: 4px;
}

.page-home .panel-versions .stat-value {
  font-family: var(--font-mono);
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  color: var(--orange);
}

.page-home .panel-versions .stat-label {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.03em;
}

.page-home .panel-shot {
  margin: 0;
  clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%);
  border: 1px solid var(--line-blue);
  background: var(--ink-800);
}

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

.page-home .panel-shot .media-caption {
  padding: 10px 14px;
  font-size: 12px;
  color: var(--muted);
  background: var(--ink-900);
  border-top: 1px solid var(--line-soft);
}

/* ---------- 平板追分 ---------- */
.page-home .tablet {
  padding-block: 56px;
  background:
    radial-gradient(720px 420px at 12% 0%, rgba(255, 122, 47, 0.14), transparent 70%),
    linear-gradient(180deg, rgba(14, 21, 48, 0.92), rgba(6, 10, 24, 0.98));
  border-block: 1px solid var(--line);
}

.page-home .tablet-inner {
  display: grid;
  gap: 26px;
}

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

.page-home .field-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line);
}

.page-home .field-key {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--blue);
  min-width: 76px;
}

.page-home .field-val {
  font-size: 14px;
  color: var(--text);
}

.page-home .score-card {
  padding: 18px 20px 20px;
  background: var(--ink-900);
  border: 1px solid var(--blue);
  border-radius: 16px;
  box-shadow: 0 0 44px -16px rgba(47, 107, 255, 0.95);
  clip-path: polygon(0 0, 100% 0, 100% 88%, calc(100% - 26px) 100%, 0 100%);
}

.page-home .score-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.page-home .score-round {
  font-family: var(--font-mono);
}

.page-home .score-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
}

.page-home .score-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: var(--glow-green);
  animation: home-dot-breathe 2.4s ease-in-out infinite;
}

.page-home .score-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 0 10px;
}

.page-home .score-side {
  font-size: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
}

.page-home .score-num {
  font-family: var(--font-mono);
  font-size: 58px;
  font-weight: 700;
  line-height: 1;
  color: var(--text);
  animation: home-score-bump 700ms ease-out 1;
}

.page-home .score-num--accent {
  color: var(--orange);
}

.page-home .score-divider {
  font-family: var(--font-mono);
  font-size: 34px;
  color: var(--line-blue);
}

.page-home .score-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 13px;
}

.page-home .score-foot-key {
  color: var(--muted);
  letter-spacing: 0.06em;
}

.page-home .score-foot-val {
  color: var(--green);
  font-weight: 700;
}

.page-home .score-foot-val + .score-foot-key {
  margin-left: 10px;
}

.page-home .tablet-shot {
  margin: 0;
  border: 1px solid var(--line-blue);
  clip-path: polygon(0 0, 100% 4%, 100% 100%, 0 100%);
}

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

/* ---------- 两步路径 ---------- */
.page-home .path {
  display: grid;
  gap: 28px;
  padding-block: 56px;
  border-top: 1px solid var(--line-soft);
}

.page-home .step-flow {
  margin: 0 0 18px;
}

.page-home .step-block {
  background: var(--ink-800);
  border: 1px solid var(--line-blue);
  border-radius: var(--radius-l);
  overflow: hidden;
}

.page-home .step-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  color: var(--text);
}

.page-home .step-head::-webkit-details-marker {
  display: none;
}

.page-home .step-head:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: -2px;
}

.page-home .step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--blue);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
}

.page-home .step-no--active {
  border-color: var(--orange);
  color: var(--orange);
  box-shadow: 0 0 18px -6px rgba(255, 122, 47, 0.9);
}

.page-home .step-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.page-home .step-hint {
  margin-left: auto;
  font-size: 12px;
  color: var(--green);
  white-space: nowrap;
}

.page-home .step-block[open] .step-hint {
  color: var(--muted);
}

.page-home .step-body {
  padding: 0 18px 18px;
  border-top: 1px solid var(--line-soft);
}

.page-home .step-second {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0 14px;
  color: var(--text);
}

.page-home .step-body p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.78;
  color: var(--muted);
}

.page-home .region-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-home .region-list li {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(27, 35, 80, 0.5);
}

.page-home .path-shot {
  margin: 0;
  border: 1px solid var(--line-blue);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 26px 100%, 0 calc(100% - 26px));
  max-height: 420px;
  overflow: hidden;
}

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

/* ---------- 收束 ---------- */
.page-home .closing {
  padding-block: 48px 64px;
  border-top: 1px solid var(--line);
}

.page-home .round-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 14px 18px;
  border: 1px solid var(--line-blue);
  border-left: 3px solid var(--green);
  background: linear-gradient(100deg, rgba(88, 245, 176, 0.1), rgba(14, 21, 48, 0.85));
  border-radius: 10px;
  margin-bottom: 30px;
}

.page-home .round-status-text {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.page-home .round-status-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  margin-left: auto;
}

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

.page-home .topic-item a {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  text-decoration: none;
  color: var(--text);
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color 180ms ease, transform 180ms ease;
}

.page-home .topic-item a:hover,
.page-home .topic-item a:focus-visible {
  border-color: var(--blue);
  transform: translateY(-3px);
  outline: none;
}

.page-home .topic-item a:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.page-home .topic-series {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--green);
}

.page-home .topic-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .closing-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

@keyframes home-score-bump {
  0% { transform: translateY(6px); opacity: 0.3; }
  55% { transform: translateY(0); opacity: 1; text-shadow: 0 0 18px rgba(88, 245, 176, 0.45); }
  100% { transform: translateY(0); opacity: 1; text-shadow: none; }
}

@keyframes home-dot-breathe {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* ---------- 中屏 ---------- */
@media (min-width: 700px) {
  .page-home .puzzle-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 22px 20px;
  }

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

  .page-home .puzzle-entries li:nth-child(even) {
    transform: translateY(22px);
  }

  .page-home .rail {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 36px;
  }

  .page-home .panel-sec {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 34px;
  }

  .page-home .tablet-inner {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 28px;
  }

  .page-home .score-card {
    order: 3;
    grid-column: 1 / -1;
  }

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

  .page-home .topic-item:nth-child(2) {
    transform: translateY(16px);
  }
}

/* ---------- 桌面拼贴 ---------- */
@media (min-width: 1024px) {
  .page-home .puzzle {
    grid-template-columns: 1.06fr 0.94fr 1.12fr;
    grid-template-areas:
      "head head visual"
      "stats entries visual"
      "note entries visual";
    align-items: start;
    gap: 24px 26px;
    padding-block: 26px 78px;
  }

  .page-home .puzzle-head { grid-area: head; }
  .page-home .puzzle-stats { grid-area: stats; }
  .page-home .puzzle-entries { grid-area: entries; grid-template-columns: 1fr; }
  .page-home .puzzle-entries li:nth-child(even) { transform: translateX(-14px); }
  .page-home .puzzle-visual { grid-area: visual; min-height: 460px; }
  .page-home .puzzle-visual img { min-height: 460px; }

  .page-home .puzzle-note {
    grid-area: note;
    display: block;
    writing-mode: vertical-rl;
    letter-spacing: 0.32em;
    font-size: 12px;
    color: var(--stone);
    margin: 0;
    align-self: end;
    justify-self: start;
    padding-left: 4px;
    border-left: 1px solid var(--line-blue);
  }

  .page-home .rail {
    grid-template-columns: 0.88fr 1.12fr;
    padding-block: 88px;
  }

  .page-home .rail-board {
    order: -1;
  }

  .page-home .panel-sec {
    grid-template-columns: 0.9fr 1.1fr;
    padding-block: 88px;
    gap: 48px;
  }

  .page-home .path {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 46px;
    padding-block: 88px;
  }

  .page-home .path-shot {
    max-height: 520px;
  }

  .page-home .tablet {
    padding-block: 84px;
  }

  .page-home .tablet-inner {
    grid-template-columns: 1fr 1fr 0.86fr;
    gap: 32px;
  }

  .page-home .score-card {
    order: 0;
    grid-column: auto;
    align-self: center;
  }
}

/* ---------- 降低动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-home .score-num,
  .page-home .score-dot {
    animation: none;
  }

  .page-home .entry,
  .page-home .topic-item a,
  .page-home .entry-note {
    transition: none;
  }
}

@media (min-width: 1024px) and (max-width: 1180px) {
  .page-home .score-num {
    font-size: 52px;
  }
}
<<<END>>>
