.page-home {
  --home-line: rgba(244, 248, 245, 0.12);
  --home-glow: rgba(200, 255, 74, 0.08);
  --home-row: 44px;
}

/* ---------- 首屏：联赛切换器 + 积分榜 ---------- */
.page-home .board-hero {
  position: relative;
  padding-block: clamp(18px, 3vw, 28px) clamp(40px, 6vw, 80px);
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: center top;
}

.page-home .league-switch {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s3);
  margin-top: clamp(16px, 3vw, 28px);
}

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

.page-home .lg-rail .eyebrow {
  margin: 0;
}

.page-home .rail-title {
  margin: 8px 0 14px;
  font-size: clamp(18px, 2.4vw, 22px);
  letter-spacing: -0.01em;
  color: var(--white);
}

.page-home .lg-list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}

.page-home .lg-item {
  flex: 0 0 auto;
  min-width: 158px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "idx name"
    "idx meta";
  gap: 2px 10px;
  align-items: center;
  padding: 12px 14px;
  cursor: pointer;
  background: var(--panel);
  border-left: 2px solid var(--grid);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  transition: background 160ms ease, border-color 160ms ease;
}

.page-home .lg-item:hover {
  background: var(--board);
  border-left-color: var(--cyan);
}

.page-home .lg-idx {
  grid-area: idx;
  font-size: 22px;
  line-height: 1;
  color: var(--steel);
}

.page-home .lg-name {
  grid-area: name;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
}

.page-home .lg-meta {
  grid-area: meta;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--mist);
}

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

/* 选中态：标签高亮 */
.page-home .lg-input:nth-of-type(1):checked ~ .lg-rail .lg-item:nth-child(1),
.page-home .lg-input:nth-of-type(2):checked ~ .lg-rail .lg-item:nth-child(2),
.page-home .lg-input:nth-of-type(3):checked ~ .lg-rail .lg-item:nth-child(3),
.page-home .lg-input:nth-of-type(4):checked ~ .lg-rail .lg-item:nth-child(4) {
  background: linear-gradient(90deg, var(--home-glow), transparent 70%), var(--board);
  border-left-color: var(--lime);
}

.page-home .lg-input:nth-of-type(1):checked ~ .lg-rail .lg-item:nth-child(1) .lg-idx,
.page-home .lg-input:nth-of-type(2):checked ~ .lg-rail .lg-item:nth-child(2) .lg-idx,
.page-home .lg-input:nth-of-type(3):checked ~ .lg-rail .lg-item:nth-child(3) .lg-idx,
.page-home .lg-input:nth-of-type(4):checked ~ .lg-rail .lg-item:nth-child(4) .lg-idx {
  color: var(--lime);
}

/* 键盘焦点 */
.page-home .lg-input:nth-of-type(1):focus-visible ~ .lg-rail .lg-item:nth-child(1),
.page-home .lg-input:nth-of-type(2):focus-visible ~ .lg-rail .lg-item:nth-child(2),
.page-home .lg-input:nth-of-type(3):focus-visible ~ .lg-rail .lg-item:nth-child(3),
.page-home .lg-input:nth-of-type(4):focus-visible ~ .lg-rail .lg-item:nth-child(4) {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

/* 面板切换 */
.page-home .lg-panels {
  min-width: 0;
}

.page-home .lg-panel {
  display: none;
  animation: home-panel-in 240ms ease both;
}

.page-home .lg-input:nth-of-type(1):checked ~ .lg-panels .lg-panel:nth-child(1),
.page-home .lg-input:nth-of-type(2):checked ~ .lg-panels .lg-panel:nth-child(2),
.page-home .lg-input:nth-of-type(3):checked ~ .lg-panels .lg-panel:nth-child(3),
.page-home .lg-input:nth-of-type(4):checked ~ .lg-panels .lg-panel:nth-child(4) {
  display: block;
}

@keyframes home-panel-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .lg-panel { animation: none; }
}

/* 导语区 */
.page-home .status-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 5px 12px 5px 10px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--white);
  background: var(--board);
  border: 1px solid var(--grid);
  border-radius: 999px;
}

.page-home .status-line .status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(200, 255, 74, 0.18);
}

.page-home .board-main h1 {
  margin: 0 0 14px;
  font-size: clamp(28px, 5.6vw, 46px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--white);
}

.page-home .board-main .lede {
  margin: 0 0 20px;
  max-width: 60ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--mist);
}

.page-home .board-lights {
  position: relative;
  margin: 0;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}

.page-home .board-lights img {
  display: block;
  width: 100%;
  height: clamp(96px, 15vw, 150px);
  object-fit: cover;
  filter: saturate(0.9) brightness(0.85);
}

.page-home .board-lights::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(6, 26, 20, 0.75), rgba(6, 26, 20, 0.05) 55%, rgba(40, 224, 192, 0.18));
  pointer-events: none;
}

/* 侧栏注记 */
.page-home .board-notes {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  padding-top: 6px;
}

.page-home .coord-label {
  margin: 0;
  flex: 1 0 100%;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--steel);
}

.page-home .note-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 120px;
  padding-left: 12px;
  border-left: 1px solid var(--grid);
}

.page-home .note-stat .num {
  font-size: clamp(26px, 4vw, 34px);
  line-height: 1;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.page-home .note-cap {
  font-size: 12px;
  line-height: 1.6;
  color: var(--mist);
}

.page-home .note-line {
  margin: 0;
  flex: 1 0 100%;
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--grid);
}

/* 榜单面板 */
.page-home .table-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 2px solid var(--lime);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  overflow: hidden;
}

.page-home .table-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.page-home .table-head h3 {
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--white);
}

.page-home .table-head .muted {
  margin: 0;
  font-size: 12px;
  color: var(--mist);
}

.page-home .table-scroll {
  max-height: 440px;
  overflow: auto;
  scrollbar-width: thin;
}

.page-home .board-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.page-home .board-table th {
  position: sticky;
  top: 0;
  z-index: 2;
  text-align: left;
  padding: 10px 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--steel);
  background: var(--board);
  border-bottom: 1px solid var(--line-strong);
  white-space: nowrap;
}

.page-home .board-table td {
  height: var(--home-row);
  padding: 0 10px;
  color: var(--white);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.page-home .board-table tbody tr:hover,
.page-home .board-table tbody tr:focus-within {
  background: rgba(200, 255, 74, 0.06);
}

.page-home .board-table tbody tr:last-child td {
  border-bottom: none;
}

.page-home .board-table .rank {
  width: 52px;
}

.page-home .board-table .rank .num {
  font-size: 24px;
  line-height: 1;
  color: var(--steel);
}

.page-home .board-table tbody tr:nth-child(-n+3) .rank .num {
  color: var(--lime);
}

.page-home .board-table .club {
  font-weight: 500;
}

.page-home .board-table .pts {
  font-size: 18px;
  color: var(--white);
}

.page-home .delta {
  display: inline-block;
  min-width: 42px;
  padding: 2px 7px;
  font-family: var(--font-num);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
  letter-spacing: 0.04em;
}

.page-home .delta--up {
  color: var(--ink);
  background: var(--lime);
}

.page-home .delta--down {
  color: var(--ink);
  background: var(--orange);
}

.page-home .delta--flat {
  color: var(--mist);
  border: 1px solid var(--line-strong);
}

/* 榜单下方提示 */
.page-home .board-hint {
  margin: 0;
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--mist);
  background: var(--board);
  border-left: 2px solid var(--orange);
}

.page-home .board-hint .tag {
  margin-right: 8px;
  vertical-align: 1px;
}

/* 斜切分隔 */
.page-home .slant-rule {
  height: 1px;
  margin-inline: calc(var(--gutter) * -1);
  background: var(--line-strong);
  transform: rotate(-0.7deg);
  transform-origin: center;
}

/* ---------- 最近三轮 ---------- */
.page-home .rounds {
  padding-block: clamp(44px, 7vw, 92px);
}

.page-home .rounds-grid {
  display: grid;
  gap: var(--s4);
}

.page-home .rounds-aside h2 {
  margin: 10px 0 14px;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--white);
}

.page-home .rounds-aside .lede {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--mist);
  max-width: 48ch;
}

.page-home .rounds-figure {
  margin: 0;
}

.page-home .rounds-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  filter: saturate(0.85) brightness(0.9);
}

.page-home .rounds-cards {
  display: grid;
  gap: var(--s3);
  align-content: start;
}

.page-home .round-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(40, 224, 192, 0.07), transparent 62%),
    var(--panel);
  border-left: 2px solid var(--lime);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}

.page-home .round-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.page-home .round-no {
  font-size: 20px;
  letter-spacing: 0.06em;
  color: var(--steel);
}

.page-home .round-league {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--steel);
}

.page-home .round-score {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
}

.page-home .round-score .side--home {
  text-align: right;
}

.page-home .round-score .side--away {
  text-align: left;
}

.page-home .round-score .score {
  font-size: clamp(22px, 3.2vw, 28px);
  line-height: 1;
  color: var(--orange);
  padding: 0 4px;
}

.page-home .round-event {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--mist);
}

.page-home .round-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.page-home .round-stats dt {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--steel);
}

.page-home .round-stats dd {
  margin: 3px 0 0;
  font-size: 14px;
  color: var(--white);
}

.page-home .rounds-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: var(--s4);
  padding-top: var(--s3);
  border-top: 1px solid var(--line);
}

.page-home .rounds-foot .muted {
  margin: 0;
  font-size: 13px;
  color: var(--mist);
}

/* ---------- 四类入口 ---------- */
.page-home .entries {
  padding-block: clamp(44px, 7vw, 92px);
}

.page-home .entries-head h2 {
  margin: 10px 0 14px;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--white);
}

.page-home .entries-head .lede {
  margin: 0 0 var(--s4);
  max-width: 58ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--mist);
}

.page-home .entries-grid {
  display: grid;
  gap: var(--s4);
}

.page-home .entries-figure {
  margin: 0;
  align-self: start;
}

.page-home .entries-figure img {
  display: block;
  width: 100%;
  height: auto;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
  filter: saturate(0.85) brightness(0.9);
}

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

.page-home .entry-item {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "no body"
    "no link";
  gap: 6px 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.page-home .entry-item:last-child {
  border-bottom: 1px solid var(--line);
}

.page-home .entry-no {
  grid-area: no;
  font-size: 30px;
  line-height: 1;
  color: var(--steel);
  transition: color 160ms ease;
}

.page-home .entry-item:hover .entry-no,
.page-home .entry-item:focus-within .entry-no {
  color: var(--lime);
}

.page-home .entry-body {
  grid-area: body;
}

.page-home .entry-body h3 {
  margin: 0 0 6px;
  font-size: 17px;
  color: var(--white);
}

.page-home .entry-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--mist);
}

.page-home .entry-link {
  grid-area: link;
  justify-self: start;
  font-size: 13px;
  font-weight: 500;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.page-home .entry-link:hover,
.page-home .entry-link:focus-visible {
  border-bottom-color: var(--cyan);
}

/* ---------- 稳定访问 ---------- */
.page-home .access {
  padding-block: clamp(44px, 7vw, 92px);
  background:
    linear-gradient(180deg, rgba(25, 61, 50, 0.35), rgba(6, 26, 20, 0) 60%);
}

.page-home .access-grid {
  display: grid;
  gap: var(--s4);
}

.page-home .access-copy h2 {
  margin: 10px 0 14px;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--white);
}

.page-home .access-copy .lede {
  margin: 0 0 var(--s3);
  max-width: 58ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--mist);
}

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

.page-home .access-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.page-home .access-list .num {
  font-size: 18px;
  line-height: 1.5;
  color: var(--orange);
}

.page-home .access-list p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--white);
}

.page-home .access-figure {
  margin: 0;
  align-self: center;
  position: relative;
}

.page-home .access-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  filter: saturate(0.9) brightness(0.85);
}

.page-home .access-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: var(--s4);
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .access-stats > div {
  background: var(--ink);
  padding: 18px 16px;
}

.page-home .access-stats .num {
  display: block;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.page-home .access-stats p {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--mist);
}

/* ---------- 关注与提醒 ---------- */
.page-home .follow {
  padding-block: clamp(44px, 7vw, 88px);
}

.page-home .follow-inner {
  display: grid;
  gap: var(--s4);
  padding-top: var(--s4);
  border-top: 1px solid var(--line-strong);
}

.page-home .follow-copy h2 {
  margin: 10px 0 14px;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--white);
}

.page-home .follow-copy p {
  margin: 0 0 20px;
  max-width: 58ch;
  font-size: 15px;
  line-height: 1.85;
  color: var(--mist);
}

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

.page-home .follow-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  align-content: start;
}

.page-home .follow-list li {
  position: relative;
  padding: 12px 14px 12px 30px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--white);
  background: var(--panel);
  border-left: 2px solid var(--grid);
}

.page-home .follow-list li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 20px;
  width: 7px;
  height: 7px;
  background: var(--lime);
  transform: rotate(45deg);
}

/* ---------- 移动端列裁剪 ---------- */
@media (max-width: 680px) {
  .page-home .tbl--foot :is(th, td):nth-child(n+3):nth-child(-n+6),
  .page-home .tbl--field :is(th, td):nth-child(n+3):nth-child(-n+5) {
    display: none;
  }

  .page-home .board-table {
    font-size: 13px;
  }

  .page-home .board-table th,
  .page-home .board-table td {
    padding: 0 8px;
  }

  .page-home .board-table th {
    padding: 9px 8px;
  }

  .page-home .table-scroll {
    max-height: none;
  }

  .page-home .board-hero {
    background-size: 48px 48px;
  }

  .page-home .board-notes {
    gap: var(--s2);
  }

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

/* ---------- 平板与桌面布局 ---------- */
@media (min-width: 760px) {
  .page-home .rounds-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .page-home .entry-item {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "no .page-home link";
    align-items: start;
    gap: 6px 20px;
  }

  .page-home .entry-link {
    justify-self: end;
    padding-top: 4px;
  }
}

@media (min-width: 900px) {
  .page-home .league-switch {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: clamp(16px, 2vw, 28px);
    row-gap: var(--s4);
    align-items: start;
  }

  .page-home .lg-rail {
    grid-column: 1 / span 3;
    grid-row: 1 / span 2;
    position: sticky;
    top: 96px;
  }

  .page-home .lg-list {
    flex-direction: column;
    overflow: visible;
    padding-bottom: 0;
  }

  .page-home .lg-item {
    flex: 1 1 auto;
    min-width: 0;
    padding: 12px 12px 12px 10px;
  }

  .page-home .board-main {
    grid-column: 4 / span 6;
    grid-row: 1;
  }

  .page-home .board-notes {
    grid-column: 10 / -1;
    grid-row: 1;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: var(--s3);
    padding-left: var(--s2);
    border-left: 1px solid var(--line);
  }

  .page-home .coord-label,
  .page-home .note-line {
    flex: 0 0 auto;
  }

  .page-home .note-stat {
    min-width: 0;
  }

  .page-home .lg-panels {
    grid-column: 4 / -1;
    grid-row: 2;
  }

  .page-home .board-hint {
    grid-column: 4 / -1;
    grid-row: 3;
  }

  .page-home .rounds-grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    column-gap: clamp(24px, 4vw, 56px);
  }

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

  .page-home .access-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    column-gap: clamp(24px, 4vw, 48px);
    align-items: center;
  }

  .page-home .follow-inner {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    column-gap: clamp(24px, 4vw, 56px);
  }
}
<<<END>>>
