.page-home {
  background: var(--night);
  color: var(--seed);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
}

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

.page-home .home-wrap {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: clamp(18px, 5vw, 44px);
  box-sizing: border-box;
}

.page-home .mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* ---------- 通用标题组 ---------- */
.page-home .home-sec-head {
  max-width: 62ch;
}

.page-home .home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--turf);
}

.page-home .home-eyebrow .mono {
  display: inline-block;
  padding: 2px 7px;
  border: 1px solid var(--kiwi);
  border-radius: var(--r-sm);
  color: var(--kiwi);
  letter-spacing: 0.06em;
}

.page-home .home-eyebrow--invert {
  color: var(--lime);
}

.page-home .home-eyebrow--invert .mono {
  border-color: rgba(199, 244, 100, 0.5);
  color: var(--lime);
}

.page-home .home-h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(26px, 4.4vw, 40px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--seed);
}

.page-home .home-h2--invert {
  color: var(--night);
}

.page-home .home-lede {
  margin: 0;
  font-size: clamp(15px, 2.1vw, 17px);
  line-height: 1.78;
  color: var(--seed-soft);
}

.page-home .home-lede--invert {
  color: rgba(247, 243, 232, 0.78);
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  background: linear-gradient(158deg, #0E3B36 0%, #0A2C28 56%, #06211E 100%);
  color: var(--night);
  overflow: hidden;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(199, 244, 100, 0.09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(199, 244, 100, 0.09) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 86%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 86%);
}

.page-home .home-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 34px;
  padding-block: 40px 46px;
  align-items: center;
}

.page-home .home-hero__context {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 20px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(247, 243, 232, 0.58);
}

.page-home .home-hero__context .mono {
  color: var(--lime);
  letter-spacing: 0.1em;
}

.page-home .home-hero__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(199, 244, 100, 0.7);
}

.page-home .home-hero__title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(33px, 6.4vw, 62px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.032em;
  color: var(--night);
}

.page-home .home-hero__lede {
  margin: 0 0 26px;
  max-width: 46ch;
  font-size: clamp(15px, 2.3vw, 17px);
  line-height: 1.78;
  color: rgba(247, 243, 232, 0.78);
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.page-home .home-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 34px;
  margin: 0;
  padding: 20px 0 0;
  list-style: none;
  border-top: 1px solid rgba(247, 243, 232, 0.16);
}

.page-home .home-hero__facts li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: rgba(247, 243, 232, 0.6);
}

.page-home .home-hero__facts .mono {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--night);
  letter-spacing: -0.01em;
}

.page-home .home-hero__visual {
  position: relative;
  border: 1px solid rgba(247, 243, 232, 0.2);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--deep-2);
  box-shadow: var(--shadow-2);
}

.page-home .home-hero__visual img {
  width: 100%;
  aspect-ratio: 6 / 7;
  max-height: 400px;
  object-fit: cover;
}

.page-home .home-hero__badge {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 6px 12px;
  border-radius: var(--r-sm);
  background: var(--lime);
  color: var(--deep);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* ---------- 常用栏目条 ---------- */
.page-home .home-columns {
  background: #06211E;
  padding-block: 30px 44px;
  border-bottom: 1px solid rgba(199, 244, 100, 0.22);
}

.page-home .home-columns__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 18px;
  margin-bottom: 20px;
}

.page-home .home-columns__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 27px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--night);
}

.page-home .home-columns__note {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(247, 243, 232, 0.55);
}

.page-home .home-columns__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(247, 243, 232, 0.15);
  border: 1px solid rgba(247, 243, 232, 0.15);
  border-radius: var(--r-sm);
  overflow: hidden;
}

.page-home .home-col {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 14px 22px;
  background: #06211E;
  color: rgba(247, 243, 232, 0.86);
  text-decoration: none;
  transition: background var(--ease), color var(--ease);
}

.page-home .home-col::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 11px;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--ease);
}

.page-home .home-col:hover,
.page-home .home-col:focus-visible {
  background: rgba(199, 244, 100, 0.09);
  color: var(--night);
  outline: none;
}

.page-home .home-col:hover::after,
.page-home .home-col:focus-visible::after,
.page-home .home-col.is-current::after {
  transform: scaleX(1);
}

.page-home .home-col.is-current {
  background: rgba(199, 244, 100, 0.08);
}

.page-home .home-col__idx {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(199, 244, 100, 0.72);
}

.page-home .home-col.is-current .home-col__idx {
  color: var(--lime);
}

.page-home .home-col__name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.2;
}

/* ---------- 收藏球队 ---------- */
.page-home .home-favorites {
  position: relative;
  padding-block: clamp(52px, 8vw, 92px);
  background: var(--night);
}

.page-home .home-favorites::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(63, 166, 107, 0.16) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(63, 166, 107, 0.16) 1px, transparent 1px);
  background-size: 78px 78px;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(circle at 72% 26%, #000 0%, transparent 76%);
  mask-image: radial-gradient(circle at 72% 26%, #000 0%, transparent 76%);
}

.page-home .home-favorites > .home-wrap {
  position: relative;
  z-index: 1;
}

.page-home .home-fav-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.page-home .home-fav {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 20px 18px;
  background: var(--night-2);
  border: var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-1);
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.page-home .home-fav:hover {
  transform: translateY(-2px);
  border-color: var(--kiwi);
  box-shadow: var(--shadow-2);
}

.page-home .home-fav__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.page-home .home-fav__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--seed);
}

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

.page-home .home-fav__desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--seed-soft);
}

.page-home .home-fav__split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1px;
  margin-top: auto;
  background: var(--grid);
  border: 1px solid var(--grid);
  border-radius: var(--r-sm);
  overflow: hidden;
}

.page-home .home-fav__side {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 11px 10px;
}

.page-home .home-fav__side--home {
  background:
    linear-gradient(to bottom, rgba(232, 117, 43, 0.13), rgba(232, 117, 43, 0) 72%),
    var(--night-2);
}

.page-home .home-fav__side--away {
  background:
    linear-gradient(to bottom, rgba(62, 124, 177, 0.13), rgba(62, 124, 177, 0) 72%),
    var(--night-2);
}

.page-home .home-fav__tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.page-home .home-fav__side--home .home-fav__tag {
  color: var(--orange);
}

.page-home .home-fav__side--away .home-fav__tag {
  color: var(--blue);
}

.page-home .home-fav__score {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--seed);
}

.page-home .home-fav__sub {
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--seed-soft);
}

.page-home .home-fav__media {
  margin: 0;
  border: var(--line);
  border-radius: var(--r-sm);
  overflow: hidden;
}

.page-home .home-fav__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ---------- 站内检索 ---------- */
.page-home .home-search {
  padding-block: clamp(52px, 8vw, 92px);
  background: var(--night-2);
  border-top: var(--line);
  border-bottom: var(--line);
}

.page-home .home-search__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  margin-top: 32px;
}

.page-home .home-search__panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 18px 18px;
  background: #fff;
  border: var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-1);
}

.page-home .home-search__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--turf);
}

.page-home .home-search__input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 14.5px;
  color: var(--seed);
  background: var(--night);
  border: 1px solid var(--grid);
  border-radius: var(--r-sm);
  transition: border-color var(--ease), box-shadow var(--ease);
}

.page-home .home-search__input::placeholder {
  color: rgba(85, 68, 58, 0.55);
}

.page-home .home-search__input:focus {
  outline: none;
  border-color: var(--kiwi);
  box-shadow: 0 0 0 3px rgba(63, 166, 107, 0.18);
}

.page-home .home-search__hint {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--seed-soft);
}

.page-home .home-search__results {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1px;
  background: var(--grid);
  border: 1px solid var(--grid);
  border-radius: var(--r-sm);
  overflow: hidden;
}

.page-home .home-search__row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px 13px;
  background: var(--night-2);
  font-size: 13.5px;
}

.page-home .home-search__kind {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 2px 0;
  border-radius: var(--r-sm);
  background: rgba(63, 166, 107, 0.14);
  color: var(--turf);
}

.page-home .home-search__title {
  color: var(--seed);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-home .home-search__meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--seed-soft);
  white-space: nowrap;
}

.page-home .home-search__aside {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page-home .home-search__figure {
  margin: 0;
  border: var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--night);
}

.page-home .home-search__figure img {
  width: 100%;
  aspect-ratio: 10 / 7;
  object-fit: cover;
}

.page-home .home-search__figure figcaption {
  padding: 10px 14px;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--seed-soft);
  border-top: var(--line);
  background: var(--night);
}

.page-home .home-rank {
  padding: 20px 18px;
  background: var(--deep);
  color: var(--night);
  border: 1px solid rgba(199, 244, 100, 0.22);
  border-radius: var(--r);
}

.page-home .home-rank__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--lime);
}

.page-home .home-rank__list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1px;
  background: rgba(247, 243, 232, 0.14);
  border-radius: var(--r-sm);
  overflow: hidden;
}

.page-home .home-rank__row {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 34px 40px;
  align-items: baseline;
  gap: 8px;
  padding: 10px 12px;
  background: var(--deep);
  font-size: 13.5px;
}

.page-home .home-rank__pos {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(199, 244, 100, 0.8);
}

.page-home .home-rank__team {
  color: var(--night);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-home .home-rank__g,
.page-home .home-rank__pts {
  font-family: var(--font-mono);
  font-size: 12.5px;
  text-align: right;
  color: rgba(247, 243, 232, 0.62);
}

.page-home .home-rank__pts {
  color: var(--night);
  font-weight: 600;
}

.page-home .home-rank__note {
  margin: 12px 0 0;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: rgba(247, 243, 232, 0.55);
}

/* ---------- 版本 ---------- */
.page-home .home-version {
  position: relative;
  overflow: hidden;
  padding-block: clamp(52px, 8vw, 92px) clamp(44px, 7vw, 76px);
  background: linear-gradient(150deg, #4B3F72 0%, #3A3058 54%, #2A2344 100%);
  color: var(--night);
}

.page-home .home-version::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(247, 243, 232, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(247, 243, 232, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

.page-home .home-version__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  pointer-events: none;
}

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

.page-home .home-version__copy {
  max-width: 56ch;
}

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

.page-home .home-version__plate {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 18px;
  border: 1px solid rgba(199, 244, 100, 0.28);
  border-radius: var(--r);
  background: rgba(10, 44, 40, 0.34);
}

.page-home .home-version__num {
  font-family: var(--font-mono);
  font-size: clamp(46px, 12vw, 108px);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: var(--lime);
}

.page-home .home-version__cap {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: rgba(247, 243, 232, 0.55);
}

.page-home .home-version__timeline {
  position: relative;
  z-index: 1;
  margin: 38px 0 0;
  padding: 0 0 0 22px;
  list-style: none;
  display: grid;
  gap: 16px;
  border-left: 1px solid rgba(199, 244, 100, 0.32);
}

.page-home .home-version__timeline li {
  position: relative;
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(247, 243, 232, 0.78);
}

.page-home .home-version__timeline li::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(199, 244, 100, 0.16);
}

.page-home .home-version__timeline .mono {
  display: inline-block;
  min-width: 68px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--lime);
}

/* ---------- 场景 ---------- */
.page-home .home-scenes {
  padding-block: clamp(52px, 8vw, 92px);
  background: var(--night);
}

.page-home .home-scenes__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  margin-top: 32px;
  background: var(--grid);
  border: 1px solid var(--grid);
  border-radius: var(--r);
  overflow: hidden;
}

.page-home .home-scene {
  padding: 24px 20px 26px;
  background: var(--night-2);
  transition: background var(--ease);
}

.page-home .home-scene:hover {
  background: #fff;
}

.page-home .home-scene__idx {
  display: inline-block;
  margin-bottom: 12px;
  padding: 2px 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--turf);
  background: rgba(63, 166, 107, 0.14);
  border-radius: var(--r-sm);
}

.page-home .home-scene__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.018em;
  color: var(--seed);
}

.page-home .home-scene p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--seed-soft);
}

/* ---------- 反馈 ---------- */
.page-home .home-feedback {
  background: linear-gradient(140deg, #0E3B36 0%, #0A2C28 100%);
  color: var(--night);
  padding-block: clamp(44px, 7vw, 76px);
  border-top: 1px solid rgba(199, 244, 100, 0.22);
}

.page-home .home-feedback__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.page-home .home-feedback__text {
  margin: 0;
  max-width: 56ch;
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(247, 243, 232, 0.74);
}

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

.page-home .home-feedback__ghost {
  color: var(--night);
  border-color: rgba(247, 243, 232, 0.4);
}

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

  .page-home .home-hero__visual img {
    max-height: 520px;
  }

  .page-home .home-fav-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
  }

  .page-home .home-fav--a,
  .page-home .home-fav--b,
  .page-home .home-fav--c {
    grid-column: span 2;
  }

  .page-home .home-fav--d,
  .page-home .home-fav--e {
    grid-column: span 3;
  }

  .page-home .home-fav--f {
    grid-column: span 6;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 22px;
    padding: 24px 22px;
  }

  .page-home .home-fav__body {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .page-home .home-fav__media img {
    aspect-ratio: 4 / 3;
  }

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

@media (min-width: 900px) {
  .page-home .home-hero__grid {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    gap: 52px;
    padding-block: 68px 76px;
  }

  .page-home .home-hero__visual img {
    aspect-ratio: 6 / 7;
    max-height: none;
  }

  .page-home .home-search__body {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: 32px;
    align-items: start;
  }

  .page-home .home-version__inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 42px;
  }

  .page-home .home-version__timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 40px;
  }

  .page-home .home-feedback__inner {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
    gap: 40px;
  }

  .page-home .home-feedback__actions {
    justify-content: flex-end;
  }
}

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

  .page-home .home-col {
    padding: 18px 14px 24px;
  }
}
