.page-home {
  --home-gap: clamp(16px, 2.4vw, 28px);
  --home-line: rgba(23, 224, 210, 0.20);
}

/* ---------- 顶部状态条 ---------- */
.page-home .home-status {
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(90deg, rgba(23, 224, 210, 0.07), rgba(20, 48, 79, 0.55) 42%, rgba(5, 18, 31, 0.6));
}

.page-home .home-status__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding-block: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--text-dim);
}

.page-home .home-status__badge {
  padding: 3px 9px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--c-cyan);
  background: rgba(23, 224, 210, 0.06);
}

.page-home .home-status__sep {
  width: 1px;
  height: 12px;
  background: var(--line-soft);
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 82% 6%, rgba(23, 224, 210, 0.14), transparent 58%),
    radial-gradient(80% 70% at 4% 96%, rgba(255, 91, 46, 0.10), transparent 62%),
    var(--bg);
}

.page-home .home-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 5vw, 52px);
  padding-block: clamp(34px, 6vw, 76px) clamp(36px, 6vw, 68px);
}

.page-home .home-hero__title {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 5.6vw, 66px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: #ffffff;
  max-width: 16em;
}

.page-home .home-hero__lead {
  margin: 18px 0 0;
  max-width: 34em;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-dim);
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.page-home .home-hero__actions .btn {
  min-height: 48px;
  padding-inline: 20px;
}

.page-home .home-hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 30px 0 0;
  background: var(--line-soft);
  border: 1px solid var(--home-line);
}

.page-home .home-hero__fact {
  padding: 12px 13px;
  background: rgba(5, 18, 31, 0.66);
}

.page-home .home-hero__fact dt {
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--text-dim);
}

.page-home .home-hero__fact dd {
  margin: 6px 0 0;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 22px;
  font-weight: 600;
  color: var(--c-cyan);
}

.page-home .home-hero__frame {
  position: relative;
  margin: 0;
  border: 1px solid var(--home-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-raised);
  box-shadow: 0 18px 44px -30px rgba(5, 18, 31, 0.9);
}

.page-home .home-hero__frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.page-home .home-hero__trace {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.page-home .home-hero__arc {
  animation: home-trace-draw 0.4s ease-out 0.15s forwards;
}

@keyframes home-trace-draw {
  from { stroke-dashoffset: 420; }
  to { stroke-dashoffset: 0; }
}

.page-home .home-hero__node {
  animation: home-node-pulse 2.6s ease-in-out 0.55s infinite;
}

@keyframes home-node-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.page-home .home-hero__frame .media-frame__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 14px;
  background: linear-gradient(to top, rgba(5, 18, 31, 0.92), rgba(5, 18, 31, 0));
  font-size: 12px;
  color: var(--text-dim);
}

/* ---------- 分栏通道 ---------- */
.page-home .home-columns__head {
  max-width: 44em;
}

.page-home .home-columns__rail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  background: var(--line-soft);
  border: 1px solid var(--home-line);
}

.page-home .home-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 12px 14px;
  background: var(--bg-raised);
  border-left: 3px solid transparent;
  text-decoration: none;
  color: var(--text);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, color 0.18s ease;
}

.page-home .home-chip[data-kind="rank"] {
  border-left-color: rgba(23, 224, 210, 0.55);
}

.page-home .home-chip[data-kind="notice"] {
  border-left-color: rgba(180, 112, 78, 0.75);
}

.page-home .home-chip:hover,
.page-home .home-chip:focus-visible {
  background: rgba(23, 224, 210, 0.09);
  border-left-color: var(--c-cyan);
  transform: translateX(2px);
  color: #ffffff;
}

.page-home .home-chip .column-chip__num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--c-cyan);
}

.page-home .home-chip[data-kind="notice"] .column-chip__num {
  color: var(--c-amber);
}

.page-home .home-chip__label {
  font-size: 15px;
  letter-spacing: 0.01em;
}

.page-home .home-columns__foot {
  margin: 16px 0 0;
  max-width: 52em;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-dim);
}

/* ---------- 今日速览 ---------- */
.page-home .home-today__head {
  max-width: 42em;
}

.page-home .home-today__grid {
  margin-top: 26px;
}

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

.page-home .home-today__side {
  display: flex;
  flex-direction: column;
  gap: var(--home-gap);
}

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

.page-home .home-today__shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 3;
  object-fit: cover;
}

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

.page-home .home-notice {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line-soft);
}

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

.page-home .home-notice .column-chip__num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--c-amber);
}

.page-home .home-notice__title {
  margin: 0;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text);
}

.page-home .home-notice__text {
  margin: 6px 0 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-dim);
}

/* ---------- 工具区 ---------- */
.page-home .home-tools__grid {
  align-items: start;
}

.page-home .home-tools__lines {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--home-line);
}

.page-home .home-tools__lines li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 11px 12px;
  background: rgba(5, 18, 31, 0.6);
  font-size: 14px;
  color: var(--text);
}

.page-home .home-tools__lines .num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
}

.page-home .home-tools__note {
  margin: 18px 0 0;
  max-width: 34em;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-dim);
}

.page-home .home-tools__copy .btn {
  margin-top: 20px;
}

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

.page-home .home-tools__shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 14 / 9;
  object-fit: cover;
}

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

.page-home .home-tools__views li {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
  padding: 11px 13px;
  background: rgba(20, 48, 79, 0.55);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-dim);
}

.page-home .home-tools__views-key {
  flex: 0 0 auto;
  padding: 2px 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--c-cyan);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}

.page-home .home-tools__caption {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-dim);
}

/* ---------- 关注多个联赛 ---------- */
.page-home .home-follow__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 46px);
}

.page-home .home-follow__points {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  max-width: 36em;
}

.page-home .home-follow__points li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-dim);
}

.page-home .home-follow__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 2px;
  background: var(--c-cyan);
}

.page-home .home-follow__copy .btn {
  margin-top: 22px;
}

.page-home .home-follow__panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--home-line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(23, 224, 210, 0.08), rgba(5, 18, 31, 0.5) 60%);
}

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

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

.page-home .home-follow__order li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(5, 18, 31, 0.7);
  font-size: 13.5px;
  color: var(--text-dim);
}

.page-home .home-follow__order .num {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-deep);
  background: var(--c-cyan);
  border-radius: 50%;
}

/* ---------- 登录换设备 ---------- */
.page-home .home-login__grid {
  align-items: start;
}

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

.page-home .home-login__shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-home .home-login__caption {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-dim);
}

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

.page-home .home-step {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 16px;
  background: var(--bg-raised);
  transition: background 0.18s ease, border-color 0.18s ease;
  border-left: 2px solid transparent;
}

.page-home .home-step:hover,
.page-home .home-step:focus-within {
  background: rgba(23, 224, 210, 0.08);
  border-left-color: var(--c-cyan);
}

.page-home .home-step__num {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 600;
  color: var(--c-cyan);
  letter-spacing: 0.04em;
}

.page-home .home-step__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text);
}

.page-home .home-step__body p {
  margin: 6px 0 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-dim);
}

.page-home .home-login__note {
  margin: 20px 0 0;
  max-width: 38em;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-dim);
}

.page-home .home-login__copy .btn {
  margin-top: 18px;
}

/* ---------- 反馈 ---------- */
.page-home .home-feedback__head {
  max-width: 46em;
}

.page-home .home-feedback__grid {
  margin-top: 26px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.page-home .home-feedback__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 18px;
}

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

/* ---------- 版本与站点信息 ---------- */
.page-home .home-meta {
  color: #1c2b36;
}

.page-home .home-meta .section__title {
  color: #0d1f2c;
}

.page-home .home-meta .eyebrow {
  color: var(--c-clay);
}

.page-home .home-meta__text {
  margin: 16px 0 0;
  max-width: 36em;
  font-size: 15px;
  line-height: 1.8;
  color: #37474f;
}

.page-home .home-versions {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(180, 112, 78, 0.28);
  border: 1px solid rgba(180, 112, 78, 0.35);
}

.page-home .home-versions li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 15px;
  background: #faf7f1;
}

.page-home .home-versions__tag {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
  color: var(--c-moss);
}

.page-home .home-versions__tag--now {
  color: var(--c-orange);
}

.page-home .home-versions__label {
  font-size: 13px;
  line-height: 1.5;
  color: #4a5a63;
}

.page-home .home-meta__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 26px 0 0;
}

.page-home .home-meta__links a {
  font-size: 14px;
  color: #0d1f2c;
  text-decoration: none;
  border-bottom: 1px solid rgba(13, 31, 44, 0.25);
  padding-bottom: 2px;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.page-home .home-meta__links a:hover,
.page-home .home-meta__links a:focus-visible {
  color: var(--c-clay);
  border-bottom-color: var(--c-clay);
}

.page-home .home-meta__card {
  padding: 22px 20px;
  background: #ffffff;
  border: 1px solid rgba(13, 31, 44, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 14px 32px -28px rgba(13, 31, 44, 0.6);
}

.page-home .home-meta__card-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #0d1f2c;
}

.page-home .home-meta__list {
  margin: 0;
  display: grid;
  gap: 1px;
  background: rgba(13, 31, 44, 0.1);
  border: 1px solid rgba(13, 31, 44, 0.1);
}

.page-home .home-meta__list > div {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 10px;
  padding: 11px 12px;
  background: #faf7f1;
}

.page-home .home-meta__list dt {
  font-size: 13px;
  color: #5c6b73;
}

.page-home .home-meta__list dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: #0d1f2c;
  word-break: break-word;
}

.page-home .home-meta__note {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.75;
  color: #4a5a63;
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-home .home-columns__rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 900px) {
  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: center;
  }

  .page-home .home-follow__inner {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    align-items: start;
  }

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

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

@media (max-width: 899px) {
  .page-home .home-login__visual {
    order: 2;
  }

  .page-home .home-login__copy {
    order: 1;
  }
}

@media (max-width: 480px) {
  .page-home .home-hero__facts {
    grid-template-columns: 1fr;
  }

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

  .page-home .home-step {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
  }

  .page-home .home-meta__list > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-hero__arc,
  .page-home .home-hero__node {
    animation: none;
  }

  .page-home .home-hero__arc {
    stroke-dashoffset: 0;
  }

  .page-home .home-chip,
  .page-home .home-step {
    transition-property: background, border-color, color;
  }

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