.page-home {
  --home-tick: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 14px);
  --home-gap: clamp(48px, 8vw, 104px);
}

.page-home .section {
  margin-block: var(--home-gap);
}

.page-home h1,
.page-home h2,
.page-home h3 {
  font-family: var(--font-head);
  color: var(--bone);
  margin: 0;
}

.page-home h1 {
  font-size: clamp(30px, 6.4vw, 62px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.06;
  margin-bottom: 18px;
}

.page-home h2 {
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin-bottom: 12px;
}

.page-home h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.page-home p {
  margin: 0 0 12px;
}

.page-home .section-head {
  max-width: 64ch;
  margin-bottom: clamp(22px, 3vw, 34px);
}

/* ---------- 首屏框景 ---------- */

.page-home .home-hero {
  margin-block: 6px var(--home-gap);
}

.page-home .home-hero-frame {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 6vw, 66px) clamp(18px, 4vw, 52px) clamp(26px, 4vw, 40px);
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(7, 20, 17, 0.62) 0%, rgba(7, 20, 17, 0.94) 100%), var(--felt-deep);
}

.page-home .home-hero-frame::before,
.page-home .home-hero-frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 9px;
  background: var(--home-tick);
  opacity: 0.75;
  pointer-events: none;
}

.page-home .home-hero-frame::before { top: 0; }
.page-home .home-hero-frame::after { bottom: 0; }

.page-home .home-hero-bg {
  position: absolute;
  inset: 0;
}

.page-home .home-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  display: block;
}

.page-home .home-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 34ch;
}

.page-home .home-hero-lede {
  font-family: var(--font-body);
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.75;
  color: var(--bone);
  opacity: 0.88;
  margin-bottom: 24px;
}

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

.page-home .home-hero-phone {
  position: relative;
  z-index: 2;
  width: 140px;
  margin: 26px 0 0 auto;
}

.page-home .home-hero-phone img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--line);
  background: var(--felt-panel);
}

.page-home .home-hero-phone-note {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
  color: var(--mist);
  margin: 8px 0 0;
}

.page-home .home-hero-bar {
  position: relative;
  z-index: 3;
  margin-top: 24px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-home .home-hero-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font-size: 13px;
  color: var(--mist);
}

.page-home .home-hero-status .data {
  color: var(--gold-hi);
}

.page-home .region-jump {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  font-family: var(--font-mono);
  font-size: 13px;
}

.page-home .region-jump-label {
  color: var(--mist);
  letter-spacing: 0.06em;
}

.page-home .region-jump a {
  color: var(--bone);
  text-decoration: none;
  padding: 2px 0;
  border-bottom: 1px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}

.page-home .region-jump a:hover,
.page-home .region-jump a:focus-visible {
  color: var(--gold-hi);
  border-bottom-color: var(--gold-hi);
}

/* ---------- 赛区轨道 ---------- */

.page-home .region-strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px clamp(18px, 4vw, 52px) 22px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

.page-home .region-strip::-webkit-scrollbar {
  height: 6px;
}

.page-home .region-strip::-webkit-scrollbar-thumb {
  background: var(--line);
}

.page-home .region-card,
.page-home .region-photo {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: min(76vw, 300px);
}

.page-home .region-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 18px 24px;
  border: 1px solid var(--line);
  background: var(--felt-panel);
  transition: border-color 180ms ease, background-color 180ms ease;
}

.page-home .region-card:hover,
.page-home .region-card:focus-within {
  border-color: var(--gold);
  background: var(--felt-deep);
}

.page-home .region-num {
  font-size: 32px;
  line-height: 1;
  color: var(--gold);
  letter-spacing: -0.03em;
}

.page-home .region-meta {
  font-size: 13px;
  color: var(--mist);
  margin: 0;
}

.page-home .region-card p:last-child {
  font-size: 15px;
  line-height: 1.7;
  color: var(--bone);
  opacity: 0.84;
  margin: 0;
}

.page-home .region-photo {
  position: relative;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--felt-deep);
  overflow: hidden;
}

.page-home .region-photo img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
  display: block;
  opacity: 0.78;
}

.page-home .region-photo figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--bone);
}

/* ---------- 本轮牌面 ---------- */

.page-home .round-grid {
  display: grid;
  gap: 34px;
}

.page-home .round-main {
  min-width: 0;
}

.page-home .chip-row {
  margin-bottom: 18px;
}

.page-home .fixture-list {
  list-style: none;
  margin: 0 0 34px;
  padding: 0;
  border-top: 1px solid var(--line);
}

.page-home .fixture {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line-soft);
}

.page-home .fixture-time {
  font-size: 13px;
  color: var(--gold);
}

.page-home .fixture-name {
  font-size: 16px;
  line-height: 1.6;
  color: var(--bone);
}

.page-home .fixture .tag {
  justify-self: start;
}

.page-home .rank-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--bone);
  margin-bottom: 14px;
}

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

.page-home .rank-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 6px 12px;
  align-items: center;
  padding: 11px 10px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
}

.page-home .rank-item.rank-top {
  background: var(--cloth-red);
  border-bottom-color: var(--cloth-red-hi);
}

.page-home .rank-no {
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
}

.page-home .rank-player {
  color: var(--bone);
  font-size: 14px;
}

.page-home .rank-pts {
  color: var(--gold-hi);
  font-size: 16px;
}

.page-home .rank-recent {
  grid-column: 2 / -1;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--mist);
}

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

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

.page-home .judge-figure .media-caption {
  font-size: 12px;
  line-height: 1.6;
  color: var(--mist);
  margin-top: 8px;
}

.page-home .notice-card {
  padding: 22px 20px 24px;
  border: 1px solid var(--cloth-red-hi);
}

.page-home .notice-card .eyebrow {
  color: var(--gold-hi);
}

.page-home .notice-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.page-home .notice-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--bone);
  opacity: 0.9;
  margin-bottom: 16px;
}

/* ---------- 战报 ---------- */

.page-home .report-list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  border-top: 1px solid var(--line);
}

.page-home .report-item {
  border-bottom: 1px solid var(--line-soft);
}

.page-home .report-link {
  display: grid;
  gap: 8px;
  padding: 20px 6px;
  text-decoration: none;
  transition: background-color 180ms ease;
}

.page-home .report-link:hover,
.page-home .report-link:focus-visible {
  background: var(--glass);
}

.page-home .report-stage {
  justify-self: start;
}

.page-home .report-title {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.4vw, 23px);
  font-weight: 500;
  line-height: 1.45;
  color: var(--bone);
}

.page-home .report-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--mist);
  max-width: 68ch;
}

/* ---------- 球迷组织 ---------- */

.page-home .org-panel {
  display: grid;
  gap: 30px;
  padding: clamp(24px, 4vw, 46px) clamp(20px, 4vw, 48px);
  background: var(--felt-panel);
  border-left: 3px solid var(--gold);
}

.page-home .org-lede {
  font-size: 16px;
  line-height: 1.78;
  color: var(--bone);
  opacity: 0.88;
  max-width: 56ch;
  margin-bottom: 22px;
}

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

.page-home .org-steps li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 15px;
  line-height: 1.7;
  color: var(--bone);
}

.page-home .step-no {
  font-size: 16px;
  color: var(--gold);
}

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

.page-home .org-stats {
  display: grid;
  gap: 18px;
  align-content: start;
  padding-top: 6px;
}

.page-home .org-stats .stat {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

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

/* ---------- 更新与咨询 ---------- */

.page-home .update-panel {
  padding: clamp(24px, 4vw, 44px) clamp(20px, 4vw, 46px);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--felt-panel) 0%, var(--felt-deep) 100%);
}

.page-home .update-head {
  margin-bottom: 16px;
}

.page-home .update-body {
  font-size: 16px;
  line-height: 1.78;
  color: var(--bone);
  opacity: 0.88;
  max-width: 62ch;
  margin-bottom: 24px;
}

.page-home .contact-paths {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.page-home .contact-path {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  margin: 0;
  font-size: 15px;
  color: var(--bone);
}

.page-home .contact-path-key {
  min-width: 76px;
  font-size: 13px;
  color: var(--mist);
}

.page-home .contact-path .data {
  color: var(--gold-hi);
  font-size: 16px;
}

.page-home .update-note {
  font-size: 14px;
  line-height: 1.7;
  color: var(--mist);
  max-width: 62ch;
  margin-bottom: 22px;
}

/* ---------- 断点 ---------- */

@media (min-width: 640px) {
  .page-home .fixture {
    grid-template-columns: 104px minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 14px;
  }

  .page-home .fixture .tag {
    justify-self: end;
  }

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

@media (min-width: 900px) {
  .page-home .home-hero-frame {
    padding: clamp(44px, 5vw, 76px) clamp(30px, 4vw, 60px) clamp(112px, 12vw, 142px);
  }

  .page-home .home-hero-copy {
    max-width: 560px;
  }

  .page-home .home-hero-phone {
    position: absolute;
    right: clamp(30px, 4vw, 62px);
    bottom: clamp(104px, 11vw, 138px);
    width: clamp(150px, 14vw, 184px);
    margin: 0;
  }

  .page-home .home-hero-bar {
    position: absolute;
    left: clamp(30px, 4vw, 60px);
    right: clamp(30px, 4vw, 60px);
    bottom: 20px;
    margin: 0;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .page-home .round-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: clamp(32px, 4vw, 52px);
    align-items: start;
  }

  .page-home .org-panel {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: clamp(32px, 4vw, 60px);
  }

  .page-home .region-card,
  .page-home .region-photo {
    width: 300px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .region-jump a,
  .page-home .region-card,
  .page-home .report-link {
    transition: none;
  }
}
