.page-home {
  --rail-w: 152px;
  --aside-w: 304px;
  --panel-bg: rgba(6, 21, 43, 0.78);
  --cut-lg: 18px;

  position: relative;
  display: block;
  background: var(--deep);
  color: var(--paper);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.page-home .mono {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

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

.page-home .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(20px, 4vw, 46px) var(--gutter) clamp(26px, 5vw, 54px);
  background:
    radial-gradient(130% 100% at 8% -12%, rgba(0, 229, 255, 0.16), transparent 58%),
    radial-gradient(90% 80% at 96% 112%, rgba(255, 107, 53, 0.14), transparent 62%),
    var(--night);
}

.page-home .hero__plate {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .hero__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.26;
}

.page-home .hero__grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--line-steel-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line-steel-soft) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(120% 90% at 28% 18%, #000 28%, transparent 80%);
  mask-image: radial-gradient(120% 90% at 28% 18%, #000 28%, transparent 80%);
}

.page-home .hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(18px, 3.4vw, 40px);
  border: 1px solid var(--line-cyan-soft);
  background: linear-gradient(180deg, rgba(10, 31, 68, 0.62), rgba(6, 21, 43, 0.88));
}

.page-home .hero__inner::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 26px;
  height: 26px;
  border-top: 2px solid var(--cyan);
  border-left: 2px solid var(--cyan);
}

.page-home .hero__inner::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 6px;
  background-image: repeating-linear-gradient(to right, var(--line-steel) 0 1px, transparent 1px 12px);
  opacity: 0.7;
  pointer-events: none;
}

.page-home .hero__crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--steel);
}

.page-home .hero__crumb .mono {
  color: var(--mist);
}

.page-home .hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  padding: 5px 12px 5px 9px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid var(--line-cyan);
  background: rgba(0, 229, 255, 0.07);
}

.page-home .hero__title {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(27px, 6vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.page-home .hero__lede {
  max-width: 58ch;
  margin: 16px 0 0;
  font-size: clamp(15px, 2.2vw, 17.5px);
  color: var(--mist);
}

.page-home .hero__gates {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .hero__gates > li {
  min-width: 0;
}

.page-home .gate {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 112px;
  padding: 15px 15px 13px;
  color: var(--paper);
  text-decoration: none;
  background: var(--panel-bg);
  box-shadow: inset 0 0 0 1px var(--line-steel);
  clip-path: polygon(
    0 0,
    calc(100% - var(--cut-lg)) 0,
    100% var(--cut-lg),
    100% 100%,
    var(--cut-lg) 100%,
    0 calc(100% - var(--cut-lg))
  );
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.page-home .gate:hover,
.page-home .gate:focus-visible {
  transform: translateY(-3px);
  background: rgba(0, 229, 255, 0.09);
  box-shadow: inset 0 0 0 1px var(--cyan);
  outline: none;
}

.page-home .gate__idx {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cyan);
}

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

.page-home .gate__desc {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--steel);
}

.page-home .gate__go {
  margin-top: auto;
  padding-top: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--orange-soft);
}

.page-home .hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 1px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  background: var(--line-steel-soft);
  border-top: 1px solid var(--line-steel-soft);
}

.page-home .hero__stats li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 13px 12px;
  background: var(--night);
}

.page-home .hero__statnum {
  font-family: var(--font-mono);
  font-size: 21px;
  line-height: 1.15;
  color: var(--cyan);
}

.page-home .hero__statlabel {
  font-size: 12px;
  color: var(--steel);
}

/* ---------------- 主体三栏 ---------------- */

.page-home .deck {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 4vw, 40px);
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(26px, 5vw, 52px) var(--gutter) clamp(40px, 7vw, 76px);
}

.page-home .rail {
  display: none;
}

.page-home .rail__label {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--steel);
}

.page-home .rail__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 1px solid var(--line-steel-soft);
}

.page-home .rail__list a {
  position: relative;
  display: block;
  padding: 9px 0 9px 14px;
  font-size: 13px;
  color: var(--steel);
  text-decoration: none;
  transition: color 0.15s ease;
}

.page-home .rail__list a::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: -1px;
  width: 2px;
  background: transparent;
  transition: background 0.15s ease;
}

.page-home .rail__list a:hover {
  color: var(--paper);
}

.page-home .rail__list a[aria-current="true"] {
  color: var(--cyan);
}

.page-home .rail__list a[aria-current="true"]::before {
  background: var(--cyan);
}

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

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

.page-home .block {
  padding-bottom: clamp(26px, 4vw, 42px);
  margin-bottom: clamp(26px, 4vw, 42px);
  border-bottom: 1px solid var(--line-steel-soft);
}

.page-home .block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.page-home .block__title {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(21px, 3.6vw, 31px);
  line-height: 1.22;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.page-home .block__lede {
  max-width: 62ch;
  margin: 10px 0 0;
  font-size: 15.5px;
  color: var(--mist);
}

.page-home .block__note {
  margin: 16px 0 0;
  font-size: 13.5px;
  color: var(--steel);
}

.page-home .block__note a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid var(--line-cyan);
}

.page-home .block__note a:hover {
  color: var(--paper);
}

.page-home .link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid var(--line-cyan);
}

.page-home .link-more:hover {
  color: var(--paper);
}

/* ---------------- 通道选择 ---------------- */

.page-home .paths {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .path {
  position: relative;
  padding: 18px 18px 16px;
  border-left: 2px solid var(--cyan);
}

.page-home .path:nth-child(1) {
  background: rgba(43, 27, 74, 0.62);
}

.page-home .path:nth-child(2) {
  background: rgba(90, 30, 46, 0.52);
  border-left-color: var(--orange);
}

.page-home .path:nth-child(3) {
  background: rgba(14, 59, 67, 0.66);
  border-left-color: var(--ok);
}

.page-home .path__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--steel);
}

.page-home .path__title {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}

.page-home .path__text {
  margin: 8px 0 0;
  font-size: 14.5px;
  color: var(--mist);
}

/* ---------------- 手机客户端 ---------------- */

.page-home .ios {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  margin-top: 22px;
}

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

.page-home .steps::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 17px;
  width: 1px;
  background: linear-gradient(to bottom, var(--line-cyan), transparent);
}

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

.page-home .step__num {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan);
  border: 1px solid var(--line-cyan);
  background: var(--night);
}

.page-home .step__title {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
}

.page-home .step__text {
  margin: 6px 0 0;
  font-size: 14.5px;
  color: var(--mist);
}

.page-home .ios__media {
  margin: 0;
}

.page-home .ios__media img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  border: 1px solid var(--line-steel);
}

/* ---------------- 订阅对照表 ---------------- */

.page-home .table-wrap {
  margin-top: 20px;
  overflow-x: auto;
  border: 1px solid var(--line-steel-soft);
}

.page-home .cmp {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 14px;
}

.page-home .cmp__cap {
  padding: 10px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-align: left;
  color: var(--steel);
  caption-side: bottom;
  border-top: 1px solid var(--line-steel-soft);
}

.page-home .cmp thead th {
  padding: 10px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-align: left;
  color: var(--steel);
  background: rgba(43, 27, 74, 0.5);
  border-bottom: 1px solid var(--line-steel);
  white-space: nowrap;
}

.page-home .cmp tbody th {
  padding: 11px 12px;
  text-align: left;
  font-weight: 700;
  color: var(--cyan);
  white-space: nowrap;
  border-bottom: 1px solid var(--line-steel-soft);
}

.page-home .cmp tbody td {
  padding: 11px 12px;
  color: var(--mist);
  border-bottom: 1px solid var(--line-steel-soft);
}

.page-home .cmp tbody tr:last-child th,
.page-home .cmp tbody tr:last-child td {
  border-bottom: 0;
}

.page-home .cmp tbody tr:hover {
  background: rgba(0, 229, 255, 0.06);
}

/* ---------------- 旧版迁移 ---------------- */

.page-home .migrate {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .migrate__item {
  padding: 16px;
  background: rgba(90, 30, 46, 0.42);
  border-top: 2px solid var(--orange);
}

.page-home .migrate__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--orange-soft);
}

.page-home .migrate__title {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
}

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

/* ---------------- 赛后数据 ---------------- */

.page-home .block--reports {
  padding-bottom: clamp(26px, 4vw, 42px);
}

.page-home .reports__media {
  margin: 20px 0 0;
}

.page-home .reports__media img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  border: 1px solid var(--line-steel);
}

.page-home .band {
  margin-top: 18px;
  padding: 10px 12px;
  background: rgba(14, 59, 67, 0.55);
  border: 1px solid var(--line-steel-soft);
}

.page-home .band svg {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .stats li {
  padding: 9px 12px;
  background: rgba(10, 31, 68, 0.72);
  border-left: 2px solid var(--line-cyan);
}

.page-home .stats__label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--mist);
}

/* ---------------- 服务保障 ---------------- */

.page-home .trust {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .trust__item {
  padding: 14px 16px;
  background: rgba(14, 59, 67, 0.4);
  border-left: 1px solid var(--line-cyan-soft);
}

.page-home .trust__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 22px;
  line-height: 1.2;
  color: var(--cyan);
}

.page-home .trust__text {
  margin: 6px 0 0;
  font-size: 13.5px;
  color: var(--mist);
}

/* ---------------- 第 2 栏：转会动态 ---------------- */

.page-home .transfers {
  min-width: 0;
  padding: 18px 16px 16px;
  background: linear-gradient(180deg, rgba(6, 21, 43, 0.97), rgba(10, 31, 68, 0.9));
  border: 1px solid var(--line-steel);
  border-top: 2px solid var(--orange);
}

.page-home .transfers__head {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-steel);
}

.page-home .transfers__title {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.01em;
}

.page-home .transfers__meta {
  margin: 6px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--steel);
}

.page-home .transfers__media {
  margin: 14px 0 0;
}

.page-home .transfers__media img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  border: 1px solid var(--line-steel-soft);
}

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

.page-home .tx {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) auto;
  gap: 2px 10px;
  align-items: start;
  padding: 10px 10px 10px 9px;
  background: rgba(10, 31, 68, 0.55);
  border-left: 2px solid transparent;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.page-home .tx:hover {
  border-left-color: var(--orange);
  background: rgba(10, 31, 68, 0.88);
}

.page-home .tx__dot {
  width: 7px;
  height: 7px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.18);
}

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

.page-home .tx__tag {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--orange-soft);
}

.page-home .tx__text {
  margin: 3px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--mist);
}

.page-home .tx__time {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--steel);
  white-space: nowrap;
}

.page-home .transfers__more,
.page-home .transfers__cta {
  display: block;
  margin-top: 12px;
  padding: 10px 12px;
  text-align: center;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.16s ease, color 0.16s ease;
}

.page-home .transfers__more {
  color: var(--cyan);
  border: 1px solid var(--line-cyan);
}

.page-home .transfers__more:hover {
  background: rgba(0, 229, 255, 0.1);
  color: var(--paper);
}

.page-home .transfers__cta {
  color: var(--night);
  background: var(--orange);
  border: 1px solid var(--orange);
  font-weight: 700;
}

.page-home .transfers__cta:hover {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--night);
}

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

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

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

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

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

@media (min-width: 720px) {
  .page-home .ios {
    grid-template-columns: minmax(0, 1fr) 210px;
    align-items: start;
  }

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

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

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

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

@media (min-width: 1024px) {
  .page-home .deck {
    grid-template-columns: var(--rail-w) minmax(0, 1fr) var(--aside-w);
    align-items: start;
  }

  .page-home .rail {
    display: block;
    position: sticky;
    top: 20px;
  }

  .page-home .transfers {
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
  }

  .page-home .block--reports {
    padding-right: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .gate,
  .page-home .tx,
  .page-home .rail__list a,
  .page-home .transfers__more,
  .page-home .transfers__cta {
    transition: none;
  }

  .page-home .gate:hover,
  .page-home .gate:focus-visible {
    transform: none;
  }
}
