/* ==========================================================
   page: home
   ========================================================== */

.page-home {
  --hm-sec: clamp(56px, 8vw, 104px);
  --hm-edge: clamp(16px, 2.4vw, 30px);
  position: relative;
  color: var(--paper);
}

.page-home img {
  max-width: 100%;
  height: auto;
}

/* ---------- 封面 ---------- */

.page-home .hm-hero {
  position: relative;
  padding-top: clamp(24px, 4vw, 56px);
  padding-bottom: clamp(36px, 5vw, 68px);
  overflow: hidden;
}

.page-home .hm-hero::before {
  content: "";
  position: absolute;
  top: -14%;
  right: -10%;
  width: min(760px, 92vw);
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle at 50% 50%, rgba(38, 224, 214, .15), transparent 66%);
  pointer-events: none;
}

.page-home .hm-hero__grid {
  position: relative;
  display: grid;
  gap: clamp(28px, 4vw, 46px);
  align-items: start;
}

.page-home .hm-hero__ctx {
  margin: 0;
  font-size: 11.5px;
  letter-spacing: .18em;
  color: var(--cyan);
}

.page-home .hm-hero__title {
  margin: clamp(14px, 2vw, 22px) 0 0;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: clamp(40px, 9.5vw, 92px);
  line-height: 1.02;
  letter-spacing: -.022em;
  color: var(--paper);
}

.page-home .hm-hero__title .hl {
  background: linear-gradient(94deg, var(--cyan), var(--acid));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-home .hm-hero__lead {
  margin: clamp(18px, 3vw, 28px) 0 0;
  max-width: 60ch;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.85;
  color: rgba(242, 240, 232, .82);
}

.page-home .hm-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 3vw, 42px);
  margin: clamp(26px, 4vw, 42px) 0 0;
  padding: clamp(18px, 2.6vw, 26px) 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.page-home .hm-hero__stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 128px;
}

.page-home .hm-hero__num {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--acid);
  font-variant-numeric: tabular-nums;
}

.page-home .hm-hero__num .hm-plus,
.page-home .hm-hero__num .hm-unit {
  margin-left: 2px;
  font-size: .52em;
  color: var(--rock);
}

.page-home .hm-hero__key {
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .04em;
  color: var(--rock);
}

/* 右侧封面块 */

.page-home .hm-hero__side {
  display: grid;
  gap: 14px;
}

.page-home .hm-hero__frame {
  position: relative;
  overflow: hidden;
  background: var(--ink-2);
  border: 1px solid var(--line);
  clip-path: polygon(7% 0, 100% 0, 100% 100%, 0 100%);
}

.page-home .hm-hero__frame img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(.8) contrast(1.08) brightness(.88);
}

.page-home .hm-hero__badge {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 8px 14px;
  font-size: 11.5px;
  letter-spacing: .14em;
  color: var(--cyan);
  background: rgba(10, 27, 42, .74);
  border-top: 1px solid var(--glass-2);
  border-right: 1px solid var(--glass-2);
}

.page-home .hm-hero__rail {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .hm-hero__rail li {
  display: grid;
  grid-template-columns: 44px 56px 1fr;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background: var(--ink-2);
  font-size: 12.5px;
}

.page-home .hm-rail__r {
  color: var(--cyan);
  font-size: 12px;
  letter-spacing: .1em;
}

.page-home .hm-rail__s {
  color: var(--paper);
  font-weight: 600;
}

.page-home .hm-rail__t {
  color: var(--rock);
  font-size: 12px;
}

/* 四条入口 */

.page-home .hm-entries {
  display: grid;
  gap: 1px;
  margin-top: clamp(30px, 5vw, 54px);
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .hm-entry {
  display: grid;
  gap: 6px;
  padding: clamp(16px, 2.2vw, 24px) clamp(16px, 2vw, 22px);
  background: var(--ink-2);
  color: inherit;
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: background .22s var(--ease), border-left-color .22s var(--ease), transform .22s var(--ease);
}

.page-home .hm-entry:hover,
.page-home .hm-entry:focus-visible {
  background: var(--ink-3);
  border-left-color: var(--accent);
  transform: translateY(-2px);
}

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

.page-home .hm-entry__num {
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--cyan);
}

.page-home .hm-entry__label {
  font-family: var(--font-cond);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--paper);
}

.page-home .hm-entry__desc {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--rock);
}

/* 斜切分隔带 */

.page-home .hm-wedge {
  height: clamp(44px, 7vw, 92px);
  background: linear-gradient(180deg, var(--ink-2), var(--ink));
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

/* ---------- 通用章节骨架 ---------- */

.page-home .hm-sec {
  position: relative;
  padding-block: var(--hm-sec);
}

.page-home .hm-head {
  max-width: 62ch;
  margin-bottom: clamp(22px, 3.6vw, 38px);
}

.page-home .hm-kicker {
  margin: 0 0 12px;
  font-size: 11.5px;
  letter-spacing: .18em;
  color: var(--cyan);
}

.page-home .hm-title {
  margin: 0;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: clamp(26px, 4.2vw, 46px);
  line-height: 1.12;
  letter-spacing: -.015em;
  color: var(--paper);
}

.page-home .hm-lead {
  margin: clamp(14px, 2vw, 20px) 0 0;
  font-size: clamp(15px, 1.5vw, 16.5px);
  line-height: 1.85;
  color: rgba(242, 240, 232, .78);
}

.page-home .hm-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  background: var(--accent);
  border-radius: var(--r);
  text-decoration: none;
  transition: filter .2s var(--ease), transform .2s var(--ease);
}

.page-home .hm-more::after {
  content: "\2192";
}

.page-home .hm-more:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}

.page-home .hm-more:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 2px;
}

/* ---------- 01 数据索引 ---------- */

.page-home .hm-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: clamp(16px, 2.4vw, 24px);
}

.page-home .hm-fbtn {
  min-height: 44px;
  padding: 0 16px;
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(242, 240, 232, .78);
  background: transparent;
  border: 1px solid var(--line);
  border-left: 2px solid transparent;
  border-radius: var(--r);
  cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}

.page-home .hm-fbtn:hover {
  color: var(--paper);
  border-color: var(--line-strong);
}

.page-home .hm-fbtn.is-active,
.page-home .hm-fbtn.is-on {
  color: var(--cyan);
  background: rgba(38, 224, 214, .07);
  border-color: rgba(38, 224, 214, .45);
  border-left: 2px solid var(--accent);
}

.page-home .hm-fbtn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.page-home .hm-fcount {
  margin-left: auto;
  font-size: 12px;
  color: var(--rock);
}

.page-home .hm-idx {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .hm-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(20px, 2.6vw, 32px);
  background: var(--ink-2);
  transition: background .22s var(--ease);
}

.page-home .hm-card:hover {
  background: var(--ink-3);
}

.page-home .hm-card__num {
  margin: 0;
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--cyan);
}

.page-home .hm-card__title {
  margin: 0;
  font-family: var(--font-cond);
  font-size: clamp(21px, 2.4vw, 27px);
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--paper);
}

.page-home .hm-card__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(242, 240, 232, .74);
}

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

.page-home .hm-card__meta dt {
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--rock);
}

.page-home .hm-card__meta dd {
  margin: 5px 0 0;
  font-size: 13px;
  color: var(--acid);
}

.page-home .hm-card__link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 44px;
  margin-top: auto;
  padding-bottom: 2px;
  font-size: 13px;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(38, 224, 214, .4);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

.page-home .hm-card__link:hover {
  color: var(--acid);
  border-color: var(--acid);
}

.page-home .hm-idx__fig {
  position: relative;
  grid-column: 1 / -1;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}

.page-home .hm-idx__fig img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  opacity: .85;
}

.page-home .hm-idx__fig figcaption {
  position: absolute;
  left: var(--hm-edge);
  right: var(--hm-edge);
  bottom: var(--hm-edge);
  margin: 0;
  padding: 10px 14px;
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(242, 240, 232, .9);
  background: rgba(10, 27, 42, .72);
  border-left: 2px solid var(--accent);
}

/* ---------- 02 抢断与净胜球 ---------- */

.page-home .hm-rel__grid {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
  align-items: start;
}

.page-home .hm-rel__chart {
  position: relative;
  margin: 0;
  padding: clamp(10px, 1.8vw, 18px);
  overflow: hidden;
  background: var(--ink-2);
  border: 1px solid var(--line);
}

.page-home .hm-rel__tex {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .18;
  filter: grayscale(.4);
}

.page-home .hm-rel__svg {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
}

.page-home .hm-rel__side {
  display: grid;
  gap: clamp(16px, 2.4vw, 22px);
}

.page-home .hm-zoom {
  padding: clamp(16px, 2vw, 22px);
  background: rgba(198, 242, 74, .06);
  border: 1px solid rgba(198, 242, 74, .3);
  border-left: 3px solid var(--acid);
  border-radius: var(--r);
}

.page-home .hm-zoom__cap {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--acid);
}

.page-home .hm-zoom__txt {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: rgba(242, 240, 232, .8);
}

.page-home .hm-tier {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .hm-tier__item {
  display: grid;
  gap: 5px;
  padding: 14px 16px;
  background: var(--ink-2);
}

.page-home .hm-tier__name {
  font-family: var(--font-cond);
  font-size: 17px;
  font-weight: 700;
  color: var(--paper);
}

.page-home .hm-tier__note {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--rock);
}

.page-home .hm-rel__side .hm-more {
  justify-self: start;
  margin-top: 2px;
}

/* ---------- 03 最近三轮 ---------- */

.page-home .hm-rounds__list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .hm-round {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(20px, 2.6vw, 30px);
  background: var(--ink-2);
}

.page-home .hm-round__no {
  margin: 0;
  font-size: 12px;
  letter-spacing: .22em;
  color: var(--cyan);
}

.page-home .hm-round__score {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}

.page-home .hm-round__rows {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
}

.page-home .hm-round__rows dt {
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--acid);
}

.page-home .hm-round__rows dd {
  margin: 5px 0 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(242, 240, 232, .78);
}

.page-home .hm-round__link {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 4px;
  font-size: 13px;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(38, 224, 214, .35);
}

.page-home .hm-round__link:hover {
  color: var(--acid);
  border-color: var(--acid);
}

/* ---------- 04 季票与赛程 ---------- */

.page-home .hm-tk__grid {
  display: grid;
  gap: clamp(24px, 4vw, 46px);
  align-items: start;
}

.page-home .hm-tk__steps {
  display: grid;
  gap: 1px;
  margin: clamp(22px, 3vw, 30px) 0 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .hm-tk__steps li {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  background: var(--ink-2);
}

.page-home .hm-tk__sn {
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--cyan);
}

.page-home .hm-tk__st {
  font-family: var(--font-cond);
  font-size: 17px;
  font-weight: 700;
  color: var(--paper);
}

.page-home .hm-tk__sd {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--rock);
}

.page-home .hm-tk__note {
  margin: clamp(20px, 2.6vw, 26px) 0 0;
  padding: 16px 18px;
  font-size: 13.5px;
  line-height: 1.8;
  color: rgba(242, 240, 232, .82);
  background: rgba(255, 122, 60, .1);
  border-left: 3px solid var(--orange);
  border-radius: var(--r);
}

.page-home .hm-tk__days {
  font-size: 18px;
  font-weight: 600;
  color: var(--orange);
}

.page-home .hm-tk__main .hm-more {
  margin-top: clamp(20px, 2.6vw, 26px);
}

.page-home .hm-tk__fig {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--ink-2);
  border: 1px solid var(--line);
}

.page-home .hm-tk__fig img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(.88) contrast(1.06);
}

/* ---------- 05 服务台 ---------- */

.page-home .hm-desk {
  padding-bottom: clamp(72px, 11vw, 128px);
}

.page-home .hm-desk__grid {
  display: grid;
  gap: clamp(24px, 4vw, 46px);
  align-items: start;
}

.page-home .hm-desk__list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-home .hm-desk__list li {
  padding: clamp(18px, 2.2vw, 26px);
  background: var(--ink-2);
}

.page-home .hm-desk__k {
  margin: 0;
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--cyan);
}

.page-home .hm-desk__v {
  margin: 8px 0 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: rgba(242, 240, 232, .8);
}

.page-home .hm-desk__note {
  margin: clamp(16px, 2.2vw, 22px) 0 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--rock);
}

.page-home .hm-desk__note a {
  color: var(--acid);
  text-decoration: none;
  border-bottom: 1px solid rgba(198, 242, 74, .45);
}

.page-home .hm-desk__note a:hover {
  border-color: var(--acid);
}

/* ==========================================================
   断点
   ========================================================== */

@media (min-width: 620px) {
  .page-home .hm-tk__steps li {
    grid-template-columns: 40px 96px 1fr;
    align-items: baseline;
    gap: 14px;
  }
}

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

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

  .page-home .hm-idx__fig img {
    aspect-ratio: 21 / 9;
  }
}

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

@media (min-width: 940px) {
  .page-home .hm-hero__grid {
    grid-template-columns: 7fr 5fr;
  }

  .page-home .hm-tk__grid {
    grid-template-columns: 7fr 5fr;
  }

  .page-home .hm-desk__grid {
    grid-template-columns: 5fr 7fr;
  }
}

@media (min-width: 1000px) {
  .page-home .hm-rel__grid {
    grid-template-columns: 8fr 3fr;
  }
}

@media (min-width: 1080px) {
  .page-home .hm-entries {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

@media (prefers-reduced-motion: reduce) {
  .page-home .hm-entry,
  .page-home .hm-more,
  .page-home .hm-card,
  .page-home .hm-fbtn,
  .page-home .hm-card__link {
    transition: none;
  }

  .page-home .hm-entry:hover,
  .page-home .hm-more:hover {
    transform: none;
  }
}
