.page-home {
  --home-grid: rgba(43, 243, 200, .07);
  --home-edge: polygon(0 0, 100% 6%, 100% 100%, 0 100%);
  --home-radius: 22px 6px 22px 6px;
  --home-panel: rgba(3, 18, 14, .88);
  background: var(--ink);
  color: var(--white);
  overflow-x: clip;
  position: relative;
}

.page-home .breadcrumb {
  padding: clamp(16px, 2.4vw, 26px) 0 0;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mist);
}

.page-home .breadcrumb__sep {
  margin: 0 .5em;
  color: var(--line);
}

.page-home .breadcrumb__now {
  color: var(--cyan);
}

/* ---------- Hero ---------- */

.page-home .hero {
  position: relative;
  padding: clamp(20px, 3vw, 38px) 0 clamp(56px, 8vw, 108px);
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--home-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--home-grid) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(120% 90% at 15% 20%, #000 0%, transparent 72%);
  mask-image: radial-gradient(120% 90% at 15% 20%, #000 0%, transparent 72%);
  pointer-events: none;
}

.page-home .hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: start;
}

.page-home .hero__lead {
  min-width: 0;
}

.page-home .hero__title {
  margin: .12em 0 .3em;
  font-size: clamp(3.1rem, 12vw, 8.4rem);
  line-height: .92;
  letter-spacing: -.02em;
  color: var(--white);
  text-shadow: 0 0 0.9em rgba(43, 243, 200, .16);
}

.page-home .hero__lede {
  max-width: 34em;
  color: var(--cyan-soft);
  margin-bottom: clamp(20px, 2.6vw, 30px);
}

.page-home .hero__follow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: clamp(20px, 2.8vw, 32px);
}

.page-home .hero__follow-k {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mist);
  margin-right: 4px;
}

.page-home .follow-tag {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .01em;
  padding: 4px 12px 5px;
  border-radius: 999px;
  color: var(--cyan);
  border: 1px solid var(--line);
  background: var(--fill);
}

.page-home .hero__follow-more {
  font-size: 12px;
  color: var(--amber);
  margin-left: 2px;
}

.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: clamp(22px, 3vw, 34px);
}

.page-home .hero__stamp {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(90deg, rgba(18, 48, 40, .7), transparent 78%);
  max-width: 32rem;
}

.page-home .hero__stamp-k {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mist);
}

.page-home .hero__stamp-v {
  font-size: 18px;
  font-weight: 600;
  color: var(--amber);
}

.page-home .hero__stamp-x {
  width: 1px;
  height: 16px;
  background: var(--line);
}

.page-home .hero__board {
  position: relative;
  min-width: 0;
}

.page-home .board-fig {
  margin: 0;
  position: relative;
  overflow: hidden;
  clip-path: var(--home-edge);
  background: var(--panel);
}

.page-home .board-fig img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  filter: saturate(.72) contrast(1.08);
}

.page-home .board-fig::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(180deg, rgba(11, 15, 14, .22) 0 1px, transparent 1px 3px);
  pointer-events: none;
}

.page-home .tower {
  position: relative;
  margin: -74px 0 0 clamp(10px, 3%, 32px);
  padding: 16px 20px 14px;
  background: rgba(3, 18, 14, .9);
  border: 1px solid var(--line);
  border-radius: var(--home-radius);
  backdrop-filter: blur(9px);
}

.page-home .tower__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}

.page-home .tower__head-k {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mist);
  margin-right: auto;
}

.page-home .tower__head-v {
  font-size: 13px;
  color: var(--amber);
}

.page-home .tower__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .tower-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 4px 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
}

.page-home .tower-row:last-child {
  border-bottom: 0;
  padding-bottom: 4px;
}

.page-home .tower-row__meta {
  grid-column: 1 / -1;
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--mist);
}

.page-home .tower-row__pair {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.005em;
  color: var(--white);
  min-width: 0;
}

.page-home .tower-row__pair i {
  font-style: normal;
  font-family: var(--font-data);
  font-size: 15px;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.page-home .tower-row__clock {
  font-size: 12px;
  color: var(--amber);
}

/* ---------- 通用区块 ---------- */

.page-home .section {
  position: relative;
  padding: clamp(54px, 7vw, 104px) 0;
}

.page-home .section--tight {
  padding: clamp(44px, 5.5vw, 80px) 0;
}

.page-home .section-head {
  margin-bottom: clamp(26px, 3.4vw, 46px);
}

.page-home .section-head .eyebrow {
  display: block;
  margin-bottom: 10px;
}

.page-home .section-head .display-2 {
  margin: 0 0 .2em;
  font-size: clamp(1.9rem, 5.6vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -.015em;
  max-width: 20em;
}

.page-home .section-head__meta {
  display: block;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mist);
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  max-width: 30em;
}

/* ---------- 赛场总览 ---------- */

.page-home #dashboard {
  background: linear-gradient(180deg, var(--ink) 0%, #082a22 100%);
}

.page-home .dash-grid {
  align-items: start;
}

.page-home .dash-table {
  min-width: 0;
  overflow-x: auto;
  border-radius: var(--home-radius);
  background: var(--panel);
  padding: 4px 6px;
}

.page-home .dash-caption {
  text-align: left;
  padding: 14px 14px 6px;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mist);
}

.page-home .dash-table .data-table {
  width: 100%;
  min-width: 540px;
  font-size: 14px;
}

.page-home .cell-live {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--cyan);
  white-space: nowrap;
}

.page-home .dash-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.page-home .tally {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--home-radius);
  overflow: hidden;
}

.page-home .tally__item {
  background: var(--panel);
  padding: 18px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.page-home .tally__v {
  font-size: clamp(1.5rem, 3.6vw, 2rem);
  font-weight: 600;
  line-height: 1;
  color: var(--cyan);
}

.page-home .tally__item--amber .tally__v {
  color: var(--amber);
}

.page-home .tally__k {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mist);
}

.page-home .dash-side__note {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--mist);
  max-width: 36ch;
}

.page-home .dash-side .btn {
  align-self: flex-start;
}

/* ---------- 关注列表 ---------- */

.page-home .follow {
  background: var(--ink-deep);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.page-home .follow-intro {
  gap: clamp(20px, 3vw, 44px);
  margin-bottom: clamp(26px, 3.4vw, 40px);
}

.page-home .follow-intro .prose {
  font-size: 16px;
  color: var(--cyan-soft);
}

.page-home .follow .chips {
  margin-bottom: 22px;
}

.page-home .follow-list {
  list-style: none;
  margin: 0 0 clamp(26px, 3.4vw, 40px);
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line-soft);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.page-home .follow-item {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "dot name"
    "dot league"
    "next next";
  align-items: center;
  gap: 2px 12px;
  padding: 16px 6px;
  background: var(--ink-deep);
  transition: background .18s var(--ease);
}

.page-home .follow-item:hover {
  background: rgba(43, 243, 200, .045);
}

.page-home .follow-item__dot {
  grid-area: dot;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mist);
  transition: background .22s var(--ease), box-shadow .22s var(--ease);
}

.page-home .follow-item:hover .follow-item__dot {
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(43, 243, 200, .16);
}

.page-home .follow-item__name {
  grid-area: name;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.005em;
  color: var(--white);
}

.page-home .follow-item__league {
  grid-area: league;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mist);
}

.page-home .follow-item__next {
  grid-area: next;
  margin-top: 8px;
  font-size: 12px;
  color: var(--amber);
}

.page-home .follow-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
}

.page-home .follow-foot__hint {
  font-size: 14px;
  line-height: 1.7;
  color: var(--mist);
  max-width: 44ch;
}

/* ---------- 查排名 ---------- */

.page-home .rank {
  background: var(--ink);
}

.page-home .rank-grid {
  align-items: start;
  gap: clamp(28px, 4vw, 56px);
}

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

.page-home .step {
  position: relative;
  padding-left: 22px;
}

.page-home .step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: -22px;
  width: 1px;
  background: linear-gradient(180deg, var(--line), transparent);
}

.page-home .step:last-child::before {
  display: none;
}

.page-home .step__num {
  display: block;
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--cyan);
  margin-bottom: 6px;
}

.page-home .step__title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.005em;
  color: var(--white);
}

.page-home .step__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--mist);
  max-width: 46ch;
}

.page-home .rank-steps__note {
  margin: 26px 0 0;
  padding: 14px 18px;
  border-left: 2px solid var(--amber);
  background: rgba(255, 194, 75, .06);
  font-size: 14px;
  line-height: 1.75;
  color: var(--cyan-soft);
  max-width: 46ch;
}

.page-home .rank-fig {
  margin: 0;
}

.page-home .rank-fig img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(.7) contrast(1.06);
}

/* ---------- 登录修复 ---------- */

.page-home .fix {
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-deep) 100%);
}

.page-home .fix__lead {
  margin: 0 0 clamp(24px, 3vw, 36px);
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  line-height: 1.7;
  color: var(--cyan-soft);
  max-width: 56ch;
}

.page-home .fix-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: clamp(24px, 3vw, 38px);
}

.page-home .fix-action {
  position: relative;
  padding: 24px 22px 22px;
  background: var(--panel);
  border-radius: var(--home-radius);
  border: 1px solid var(--line-soft);
  min-width: 0;
}

.page-home .fix-action:first-child {
  border-left: 2px solid var(--cyan);
}

.page-home .fix-action:last-child {
  border-left: 2px solid var(--flare);
}

.page-home .fix-action__idx {
  display: block;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 10px;
}

.page-home .fix-action:last-child .fix-action__idx {
  color: var(--flare);
}

.page-home .fix-action__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.005em;
  color: var(--white);
}

.page-home .fix-action__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--mist);
}

.page-home .fix__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}

.page-home .fix__foot-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--mist);
  max-width: 52ch;
}

/* ---------- 刷新节奏 ---------- */

.page-home .refresh {
  background: var(--ink-deep);
}

.page-home .refresh__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
}

.page-home .refresh__fig {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--home-radius);
  background: var(--panel);
}

.page-home .refresh__fig img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(.8) contrast(1.05);
}

.page-home .refresh__body {
  min-width: 0;
}

.page-home .refresh__body .eyebrow {
  display: block;
  margin-bottom: 10px;
}

.page-home .refresh__body .display-2 {
  margin: 0 0 .35em;
  font-size: clamp(1.8rem, 5vw, 3rem);
  line-height: 1.04;
  letter-spacing: -.015em;
}

.page-home .refresh__body .prose {
  font-size: 16px;
  color: var(--mist);
}

.page-home .refresh__body .prose + .prose {
  margin-top: 16px;
}

.page-home .refresh__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: clamp(22px, 3vw, 32px) 0 0;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--home-radius);
  overflow: hidden;
}

.page-home .refresh__fact {
  background: var(--ink-deep);
  padding: 16px 16px 14px;
  min-width: 0;
}

.page-home .refresh__fact dt {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 8px;
}

.page-home .refresh__fact dd {
  margin: 0;
  font-size: clamp(1.15rem, 2.8vw, 1.5rem);
  font-weight: 600;
  color: var(--cyan);
  line-height: 1.1;
}

.page-home .refresh__fact:nth-child(2) dd {
  color: var(--amber);
}

/* ---------- 收尾 ---------- */

.page-home .closing {
  background: var(--ink);
  padding-bottom: clamp(70px, 9vw, 128px);
}

.page-home .closing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(30px, 4.4vw, 60px);
  align-items: center;
}

.page-home .closing__copy .eyebrow {
  display: block;
  margin-bottom: 10px;
}

.page-home .closing__copy .display-2 {
  margin: 0 0 .4em;
  font-size: clamp(1.9rem, 5.4vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -.015em;
}

.page-home .closing__copy .prose {
  color: var(--mist);
  font-size: 16px;
}

.page-home .closing__copy .prose + .prose {
  margin-top: 16px;
}

.page-home .closing__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(22px, 3vw, 32px);
}

.page-home .closing__note {
  margin: 18px 0 0;
  font-size: 14px;
  color: var(--mist);
}

.page-home .closing__note a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  transition: border-color .18s var(--ease), color .18s var(--ease);
}

.page-home .closing__note a:hover {
  color: var(--cyan-soft);
  border-color: var(--cyan-soft);
}

.page-home .closing__fig {
  margin: 0;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 4%, 100% 100%, 0 96%);
  background: var(--panel);
}

.page-home .closing__fig img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(.65) contrast(1.1);
}

.page-home .closing__fig::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, transparent 42%, rgba(43, 243, 200, .12) 62%, transparent 78%);
  pointer-events: none;
}

/* ---------- 响应式 ---------- */

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

  .page-home .follow-item {
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      "dot name next"
      "dot league next";
  }

  .page-home .follow-item__next {
    margin-top: 0;
    align-self: center;
    text-align: right;
  }

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

@media (min-width: 980px) {
  .page-home .hero__inner {
    grid-template-columns: 1.06fr .94fr;
    gap: clamp(36px, 4.6vw, 72px);
  }

  .page-home .hero__board {
    padding-top: clamp(10px, 2vw, 28px);
  }

  .page-home .dash-grid {
    grid-template-columns: 7fr 3fr;
  }

  .page-home .dash-side {
    position: sticky;
    top: 92px;
  }

  .page-home .rank-grid {
    grid-template-columns: 3fr 7fr;
  }

  .page-home .refresh__grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-home .closing__grid {
    grid-template-columns: 1fr .92fr;
  }

  .page-home .closing__fig {
    clip-path: polygon(6% 0, 100% 0, 100% 100%, 0 100%);
  }
}

@media (min-width: 1200px) {
  .page-home .follow-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .page-home .hero__title {
    font-size: clamp(2.6rem, 16vw, 3.6rem);
  }

  .page-home .tower {
    margin: -48px 0 0 0;
    padding: 14px 14px 12px;
  }

  .page-home .hero__actions .btn {
    flex: 1 1 auto;
    justify-content: center;
  }

  .page-home .follow-foot .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .follow-item,
  .page-home .follow-item__dot,
  .page-home .closing__note a {
    transition: none;
  }
}
