.page-home {
  --home-card: #ffffff;
  --home-hair: rgba(16, 24, 32, 0.12);
  background: var(--paper);
  overflow-x: clip;
}

/* ============ 首屏 ============ */
.page-home .home-hero {
  position: relative;
  isolation: isolate;
  background: var(--ink-blue);
  color: var(--paper);
  padding: clamp(16px, 2.4vw, 24px) 0 clamp(88px, 11vw, 128px);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 44px));
}

@media (min-width: 900px) {
  .page-home .home-hero {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 76px));
  }
}

.page-home .home-hero__texture {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
  pointer-events: none;
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 1;
}

.page-home .home-hero .crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(245, 242, 233, 0.62);
}

.page-home .home-hero .crumbs [aria-current="page"] {
  color: var(--fluoro);
}

.page-home .home-hero .crumbs__sep {
  color: rgba(245, 242, 233, 0.35);
}

.page-home .home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 3.6vw, 44px);
  margin-top: clamp(20px, 3vw, 34px);
  align-items: start;
}

@media (min-width: 980px) {
  .page-home .home-hero__grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: clamp(28px, 4vw, 56px);
  }
}

.page-home .home-hero__kicker {
  display: inline-block;
  margin: 0;
  padding: 5px 12px;
  border: 1px solid rgba(232, 255, 58, 0.4);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--fluoro);
  transform: rotate(-1.2deg);
}

.page-home .home-hero__title {
  margin: clamp(16px, 2.2vw, 24px) 0 0;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.14;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.page-home .home-hero__title em {
  display: block;
  font-style: normal;
  color: var(--green-light);
}

.page-home .home-hero__lede {
  margin: 18px 0 0;
  max-width: 32em;
  font-size: 16px;
  line-height: 1.78;
  color: rgba(245, 242, 233, 0.82);
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: clamp(20px, 2.8vw, 30px) 0 0;
  padding: 0;
  list-style: none;
}

/* ============ 比分条 ============ */
.page-home .scorebar {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  padding: clamp(14px, 2vw, 20px) clamp(14px, 2vw, 22px) clamp(16px, 2vw, 20px);
  clip-path: polygon(0 14px, 100% 0, 100% calc(100% - 10px), 0 100%);
}

.page-home .scorebar__art {
  position: absolute;
  top: -26px;
  right: -34px;
  width: clamp(150px, 22vw, 210px);
  height: auto;
  opacity: 0.14;
  pointer-events: none;
}

.page-home .scorebar__head {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.page-home .scorebar__label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--slate);
}

.page-home .scorebar__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cinnabar);
  animation: homePulse 1.8s var(--ease) infinite;
}

.page-home .scorebar__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.page-home .scorebar .tabs__btn {
  padding: 4px 11px;
  border: 1px solid var(--home-hair);
  background: transparent;
  color: var(--slate);
  font-family: var(--font-cn);
  font-size: 12px;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background var(--t) var(--ease), color var(--t) var(--ease), border-color var(--t) var(--ease);
}

.page-home .scorebar .tabs__btn:hover {
  border-color: var(--green);
  color: var(--green-deep);
}

.page-home .scorebar .tabs__btn[aria-selected="true"] {
  background: var(--ink-blue);
  border-color: var(--ink-blue);
  color: var(--paper);
}

.page-home .scorebar .tabs__btn:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.page-home .matches {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
}

.page-home .match {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line-soft);
}

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

.page-home .match__team {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-home .match__team--away {
  text-align: right;
}

.page-home .match__mid {
  display: grid;
  justify-items: center;
  gap: 2px;
}

.page-home .match__score {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-blue);
  background: var(--paper-2);
  padding: 2px 10px;
}

.page-home .match__status {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--cinnabar);
}

.page-home .match__status--done {
  color: var(--slate);
}

@keyframes homePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.82); }
}

/* ============ 通用节 ============ */
.page-home .band {
  padding: clamp(44px, 6vw, 84px) 0;
}

.page-home .band--indigo {
  background: var(--indigo);
  color: var(--paper);
}

.page-home .home-head {
  display: grid;
  gap: 10px;
  max-width: 46em;
  margin-bottom: clamp(24px, 3.2vw, 40px);
}

.page-home .home-head__num {
  justify-self: start;
  padding: 2px 9px;
  border: 1px solid var(--home-hair);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--green-deep);
}

.page-home .home-head__title {
  margin: 0;
  font-size: clamp(23px, 3.1vw, 33px);
  font-weight: 800;
  line-height: 1.26;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.page-home .home-head__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--slate);
}

.page-home .home-head--dark .home-head__num {
  border-color: rgba(245, 242, 233, 0.28);
  color: var(--fluoro);
}

.page-home .home-head--dark .home-head__title {
  color: var(--paper);
}

.page-home .home-head--dark .home-head__desc {
  color: rgba(245, 242, 233, 0.74);
}

/* ============ 三条任务 ============ */
.page-home .tasks {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

@media (min-width: 900px) {
  .page-home .tasks {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
  }
  .page-home .tasks > :nth-child(2) { margin-top: 18px; }
  .page-home .tasks > :nth-child(3) { margin-top: 36px; }
}

.page-home .task-card {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 24px 22px 20px;
  background: var(--home-card);
  border: 1px solid var(--home-hair);
  box-shadow: 8px 8px 0 rgba(11, 31, 58, 0.07);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}

.page-home .task-card:hover,
.page-home .task-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 12px 14px 0 rgba(0, 168, 107, 0.18);
}

.page-home .task-card__tag {
  align-self: flex-start;
  padding: 4px 11px;
  background: var(--ink-blue);
  color: var(--fluoro);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  transform: rotate(-2deg);
  transform-origin: left center;
}

.page-home .task-card__title {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.page-home .task-card__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.78;
  color: var(--slate);
}

.page-home .task-card__meta {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--green-deep);
}

.page-home .task-card__more {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height var(--t-slow) var(--ease), opacity var(--t) var(--ease), margin-top var(--t) var(--ease);
}

.page-home .task-card:hover .task-card__more,
.page-home .task-card:focus-within .task-card__more {
  max-height: 120px;
  margin-top: 6px;
  opacity: 1;
}

@media (hover: none) {
  .page-home .task-card__more {
    max-height: none;
    margin-top: 6px;
    opacity: 1;
  }
}

.page-home .task-card__more a {
  font-size: 13px;
  color: var(--green-deep);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--t) var(--ease);
}

.page-home .task-card__more a:hover,
.page-home .task-card__more a:focus-visible {
  border-bottom-color: var(--green);
}

/* ============ 页面地图 ============ */
.page-home .catalog {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
}

@media (min-width: 900px) {
  .page-home .catalog {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.85fr);
    gap: 44px;
    align-items: start;
  }
}

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

.page-home .catalog__item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  padding: 15px 6px;
  border-bottom: 1px solid var(--home-hair);
  transition: background var(--t) var(--ease), padding-left var(--t) var(--ease);
}

.page-home .catalog__item:hover {
  background: rgba(0, 168, 107, 0.07);
  padding-left: 14px;
}

.page-home .catalog__num {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--green-deep);
  padding-top: 4px;
}

.page-home .catalog__body {
  display: grid;
  gap: 4px;
}

.page-home .catalog__name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.page-home .catalog__desc {
  font-size: 14px;
  line-height: 1.72;
  color: var(--slate);
}

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

.page-home .catalog__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.02);
}

.page-home .catalog__caption {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--slate);
  border-left: 3px solid var(--green);
  padding-left: 10px;
}

.page-home .catalog__cta {
  margin: clamp(24px, 3vw, 34px) 0 0;
}

/* ============ 版本变更 ============ */
.page-home .changelog {
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 0 0 0 22px;
  list-style: none;
  border-left: 1px dashed rgba(245, 242, 233, 0.3);
}

.page-home .changelog__item {
  position: relative;
}

.page-home .changelog__item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 8px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--fluoro);
  box-shadow: 0 0 0 3px rgba(232, 255, 58, 0.16);
}

.page-home .changelog__title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--paper);
}

.page-home .changelog__text {
  margin: 0;
  max-width: 40em;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(245, 242, 233, 0.76);
}

/* ============ 数据覆盖 ============ */
.page-home .data-band {
  position: relative;
  background: var(--ink-blue);
  color: var(--paper);
  padding: clamp(44px, 6vw, 84px) 0;
  overflow: hidden;
}

.page-home .data-band__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(245, 242, 233, 0.16) 1px, transparent 1px);
  background-size: 14px 14px;
  opacity: 0.55;
  pointer-events: none;
}

.page-home .data-band__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
  align-items: center;
}

@media (min-width: 980px) {
  .page-home .data-band__grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 44px;
  }
}

.page-home .data-band__figure {
  margin: 0;
}

.page-home .data-band__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid rgba(245, 242, 233, 0.18);
}

.page-home .data-band__caption {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(245, 242, 233, 0.6);
}

.page-home .stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  margin: 0;
  background: rgba(245, 242, 233, 0.18);
  border-top: 1px solid rgba(245, 242, 233, 0.18);
}

.page-home .stats__cell {
  margin: 0;
  padding: 15px 13px 16px;
  background: var(--ink-blue);
}

.page-home .stats__label {
  font-size: 12px;
  line-height: 1.6;
  color: rgba(245, 242, 233, 0.62);
}

.page-home .stats__value {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 6px 0 0;
}

.page-home .stats__num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--fluoro);
}

.page-home .stats__unit {
  font-size: 12px;
  color: rgba(245, 242, 233, 0.7);
}

/* ============ 编辑精选 ============ */
.page-home .picks {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--home-hair);
}

.page-home .pick {
  display: grid;
  gap: 6px;
  padding: 18px 6px;
  border-bottom: 1px solid var(--home-hair);
  transition: padding-left var(--t) var(--ease), background var(--t) var(--ease);
}

.page-home .pick:hover {
  padding-left: 14px;
  background: rgba(232, 255, 58, 0.16);
}

.page-home .pick__kind {
  justify-self: start;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--wine);
  background: rgba(107, 31, 58, 0.1);
  padding: 2px 9px;
  transform: rotate(-2deg);
}

.page-home .pick__title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}

.page-home .pick__title a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color var(--t) var(--ease), color var(--t) var(--ease);
}

.page-home .pick__title a:hover,
.page-home .pick__title a:focus-visible {
  color: var(--green-deep);
  border-bottom-color: var(--green);
}

.page-home .pick__desc {
  margin: 0;
  max-width: 44em;
  font-size: 14px;
  line-height: 1.72;
  color: var(--slate);
}

.page-home .picks__cta {
  margin: clamp(22px, 3vw, 32px) 0 0;
}

/* ============ 人工通道 ============ */
.page-home .support-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  padding: clamp(22px, 3vw, 32px);
  background: var(--paper-2);
  border-left: 5px solid var(--green);
}

@media (min-width: 860px) {
  .page-home .support-strip {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 32px;
  }
}

.page-home .support-strip__body p {
  margin: 0 0 8px;
  max-width: 40em;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink);
}

.page-home .support-strip__body p:last-child {
  margin-bottom: 0;
  color: var(--slate);
}

.page-home .support-strip__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.page-home .support-link {
  font-size: 13px;
  color: var(--green-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--green);
  padding-bottom: 2px;
  transition: color var(--t) var(--ease);
}

.page-home .support-link:hover,
.page-home .support-link:focus-visible {
  color: var(--ink-blue);
}

@media (prefers-reduced-motion: reduce) {
  .page-home .scorebar__dot { animation: none; }
  .page-home .task-card,
  .page-home .task-card__more,
  .page-home .catalog__item,
  .page-home .pick {
    transition: none;
  }
}
