.page-home {
  --home-line: rgba(57, 255, 208, 0.14);
  --home-line-soft: rgba(57, 255, 208, 0.07);
  --home-gap: clamp(56px, 8vw, 104px);
  --home-cut: 16px;

  background: var(--ink);
  color: var(--mist);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: clip;
}

.page-home *,
.page-home *::before,
.page-home *::after { box-sizing: border-box; }

.page-home h1,
.page-home h2,
.page-home h3,
.page-home p,
.page-home ul,
.page-home figure,
.page-home table { margin: 0; }

.page-home ul { padding: 0; list-style: none; }

.page-home a { color: inherit; text-decoration: none; }

.page-home .home-head {
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: baseline;
  margin-bottom: clamp(24px, 3.2vw, 40px);
}

.page-home .home-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--cyan);
  padding-bottom: 3px;
  border-bottom: 1px solid var(--edge-soft);
  transition: border-color 0.18s ease, color 0.18s ease;
}

.page-home .home-link:hover,
.page-home .home-link:focus-visible {
  color: var(--mist);
  border-bottom-color: var(--cyan);
  outline: none;
}

/* ---------- 01 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 8vw, 96px);
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 8% 0%, rgba(18, 60, 53, 0.72), transparent 62%),
    var(--ink);
}

.page-home .home-hero__grid {
  position: absolute;
  inset: -10%;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(var(--home-line), transparent 1px),
    linear-gradient(90deg, var(--home-line), transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 80% at 18% 18%, #000 34%, transparent 78%);
  mask-image: radial-gradient(120% 80% at 18% 18%, #000 34%, transparent 78%);
}

.page-home .home-hero__slash {
  position: absolute;
  top: -18%;
  right: -14%;
  width: 68%;
  height: 138%;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(152deg, rgba(18, 60, 53, 0.95) 0%, rgba(14, 42, 35, 0.7) 46%, rgba(7, 26, 22, 0) 82%);
  clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%);
}

.page-home .home-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(36px, 5vw, 60px);
  align-items: center;
}

.page-home .home-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 20px;
}

.page-home .home-hero__pulse {
  width: 8px;
  height: 8px;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(57, 255, 208, 0.16);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.page-home .home-hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 6.6vw, 70px);
  line-height: 1.02;
  letter-spacing: 0.005em;
  color: var(--mist);
  margin-bottom: 20px;
}

.page-home .home-hero__title em {
  font-style: normal;
  color: var(--cyan);
  display: inline-block;
  border-bottom: 4px solid var(--orange);
  padding-bottom: 2px;
}

.page-home .home-hero__lead {
  max-width: 58ch;
  font-size: clamp(15px, 1.6vw, 17px);
  color: rgba(232, 245, 240, 0.82);
  margin-bottom: 30px;
}

/* 队名搜索 */
.page-home .home-search { max-width: 540px; margin-bottom: 32px; }

.page-home .home-search__label {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 10px;
}

.page-home .home-search__field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  background: rgba(14, 42, 35, 0.86);
  border: 1px solid var(--edge);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.page-home .home-search__field:focus-within {
  border-color: var(--cyan);
  background: rgba(18, 60, 53, 0.9);
  box-shadow: 0 0 0 3px rgba(57, 255, 208, 0.14);
}

.page-home .home-search__icon {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--cyan);
}

.page-home .home-search__input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 16px 0;
  background: transparent;
  border: 0;
  outline: none;
  color: var(--mist);
  font-family: var(--font-body);
  font-size: 16px;
}

.page-home .home-search__input::placeholder { color: rgba(143, 183, 172, 0.72); }

.page-home .home-search__input::-webkit-search-cancel-button { filter: invert(0.8); }

.page-home .home-search__hint {
  margin-top: 10px;
  font-size: 13px;
  color: var(--sage);
}

/* 首屏数据锚点 */
.page-home .home-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  border-top: 1px dashed var(--home-line);
  padding-top: 20px;
}

.page-home .home-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 12px;
  border-left: 2px solid var(--edge);
}

.page-home .home-stat__num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 700;
  line-height: 1;
  color: var(--cyan);
}

.page-home .home-stat__label {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--sage);
}

/* 首屏视觉 */
.page-home .home-hero__visual { position: relative; }

.page-home .home-hero__figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--edge);
  clip-path: polygon(0 28px, 28px 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%);
  aspect-ratio: 16 / 11;
}

.page-home .home-hero__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 26, 22, 0.1), rgba(7, 26, 22, 0.72));
  pointer-events: none;
}

.page-home .home-hero__figure img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}

.page-home .home-hero__badge {
  position: absolute;
  left: clamp(-14px, -2vw, 0px);
  bottom: -18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 20px 14px 16px;
  background: var(--ink);
  border: 1px solid var(--edge);
  border-left: 3px solid var(--orange);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.page-home .home-hero__badge-tag {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
}

.page-home .home-hero__badge-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  color: var(--orange);
}

.page-home .home-hero__badge-note {
  font-size: 12px;
  color: rgba(232, 245, 240, 0.7);
}

/* ---------- 02 比分快照 ---------- */
.page-home .home-scores {
  position: relative;
  isolation: isolate;
  padding: var(--home-gap) 0;
  background: var(--ink);
  border-top: 1px solid var(--edge);
  overflow: hidden;
}

.page-home .home-scores__band {
  position: absolute;
  inset: 0 0 auto 0;
  height: min(58%, 360px);
  z-index: -1;
  opacity: 0.32;
  pointer-events: none;
}

.page-home .home-scores__band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 96%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 96%);
}

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

.page-home .score-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px 20px 18px;
  background: rgba(14, 42, 35, 0.92);
  border: 1px solid var(--edge);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.page-home .score-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 58%;
  background: var(--edge-hard);
}

.page-home .score-card:hover { border-color: var(--edge-hard); }

.page-home .score-card--done::before { background: var(--wine); }
.page-home .score-card--live::before { background: var(--orange); }

.page-home .score-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.page-home .score-card__round {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--sage);
}

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

.page-home .score-card__team {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(15px, 2.4vw, 19px);
  line-height: 1.25;
  color: var(--mist);
  word-break: break-word;
}

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

.page-home .score-card__num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(38px, 8vw, 60px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--orange);
  white-space: nowrap;
}

.page-home .score-card__sep {
  color: var(--sage);
  margin: 0 0.06em;
}

.page-home .score-card__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--home-line);
  font-size: 13px;
  color: var(--sage);
}

.page-home .home-scores__note {
  margin-top: 22px;
  max-width: 68ch;
  font-size: 14px;
  color: rgba(232, 245, 240, 0.72);
}

/* 比分状态标签 */
.page-home .tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
}

.page-home .tag--done {
  background: rgba(110, 31, 53, 0.55);
  color: #F6D5DF;
  border: 1px solid rgba(255, 138, 61, 0.0);
}

.page-home .tag--live {
  background: rgba(255, 138, 61, 0.16);
  color: var(--orange);
  border: 1px solid rgba(255, 138, 61, 0.4);
}

/* ---------- 03 球队库 ---------- */
.page-home .home-league {
  padding: var(--home-gap) 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(18, 60, 53, 0.55) 22%, rgba(18, 60, 53, 0.55) 78%, transparent 100%),
    var(--ink);
}

.page-home .home-league__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 3vw, 36px);
  align-items: center;
  margin-bottom: clamp(30px, 4vw, 48px);
}

.page-home .home-league__figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--edge);
  clip-path: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px);
  aspect-ratio: 1 / 1;
}

.page-home .home-league__figure img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}

.page-home .home-league__text p {
  font-size: 15.5px;
  color: rgba(232, 245, 240, 0.84);
  margin-bottom: 14px;
}

.page-home .home-league__bullets {
  display: grid;
  gap: 8px;
  margin-top: 6px;
}

.page-home .home-league__bullets li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 14px;
  color: var(--mist);
}

.page-home .home-league__bullets span {
  color: var(--cyan);
  font-size: 12px;
}

.page-home .home-league__rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 16px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--edge) transparent;
}

.page-home .home-league__rail::-webkit-scrollbar { height: 6px; }
.page-home .home-league__rail::-webkit-scrollbar-thumb {
  background: var(--edge);
  border-radius: 99px;
}

.page-home .home-league__rail li { flex: 0 0 auto; scroll-snap-align: start; }

.page-home .team-chip {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 178px;
  padding: 16px 16px 14px;
  background: rgba(14, 42, 35, 0.9);
  border: 1px solid var(--edge);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.page-home .team-chip:hover,
.page-home .team-chip:focus-visible {
  border-color: var(--cyan);
  background: rgba(18, 60, 53, 0.95);
  outline: none;
}

.page-home .team-chip__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--ink);
  background: var(--cyan);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.page-home .team-chip__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--mist);
  line-height: 1.3;
}

.page-home .team-chip__meta {
  font-size: 12px;
  color: var(--sage);
}

/* ---------- 04 进失球 ---------- */
.page-home .home-goals {
  padding: var(--home-gap) 0;
  background: var(--ink);
  border-top: 1px solid var(--edge);
}

.page-home .home-goals__panel {
  position: relative;
  padding: clamp(18px, 3vw, 28px);
  background: rgba(14, 42, 35, 0.86);
  border: 1px solid var(--edge);
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 26px 100%, 0 calc(100% - 26px));
}

.page-home .home-goals__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
  padding-bottom: 16px;
  margin-bottom: 6px;
  border-bottom: 1px dashed var(--home-line);
}

.page-home .goal-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-home .goal-filter {
  display: inline-block;
  padding: 5px 12px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--sage);
  background: rgba(7, 26, 22, 0.7);
  border: 1px solid var(--edge);
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 0 100%);
}

.page-home .goal-filter.is-active {
  color: var(--ink);
  background: var(--cyan);
  border-color: var(--cyan);
  font-weight: 700;
}

.page-home .goal-filter--alt {
  color: var(--gold);
  border-color: rgba(255, 209, 102, 0.34);
}

.page-home .home-goals__hint {
  font-size: 13px;
  color: var(--sage);
}

.page-home .goal-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
}

.page-home .goal-table caption { text-align: left; }

.page-home .goal-table th,
.page-home .goal-table td {
  padding: 12px 10px;
  text-align: left;
  border-bottom: 1px solid var(--home-line-soft);
  font-size: 14.5px;
}

.page-home .goal-table thead th {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
  border-bottom: 1px solid var(--edge);
  white-space: nowrap;
}

.page-home .goal-table tbody th {
  font-weight: 600;
  color: var(--mist);
  white-space: nowrap;
}

.page-home .goal-table tbody td {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--sage);
}

.page-home .goal-table__num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-size: 17px !important;
  font-weight: 700;
}

.page-home .goal-table__num--in { color: var(--orange); }
.page-home .goal-table__num--out { color: var(--sage); }

.page-home .home-goals__tail {
  margin-top: 20px;
  max-width: 66ch;
  font-size: 14px;
  color: rgba(232, 245, 240, 0.72);
}

/* ---------- 05 关注清单 ---------- */
.page-home .home-watch {
  padding: var(--home-gap) 0;
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(42, 33, 64, 0.55), transparent 62%),
    var(--ink);
  border-top: 1px solid var(--edge);
}

.page-home .home-watch__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.page-home .home-watch__lead {
  font-size: 15.5px;
  color: rgba(232, 245, 240, 0.82);
  margin-bottom: 22px;
}

.page-home .watch-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  margin-bottom: 26px;
}

.page-home .watch-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(14, 42, 35, 0.82);
  border: 1px solid var(--edge);
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.page-home .watch-item input[type="checkbox"] {
  flex: none;
  width: 16px;
  height: 16px;
  accent-color: var(--cyan);
  cursor: pointer;
}

.page-home .watch-item__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  color: var(--mist);
}

.page-home .watch-item__league {
  margin-left: auto;
  font-size: 12px;
  color: var(--sage);
}

.page-home .watch-item:has(input:checked) {
  border-color: var(--edge-hard);
  background: rgba(18, 60, 53, 0.95);
}

.page-home .watch-item:has(input:checked) .watch-item__name { color: var(--cyan); }

.page-home .home-watch__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.page-home .home-watch__figure {
  margin: 0;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--edge);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%);
}

.page-home .home-watch__figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.page-home .home-watch__figure figcaption {
  padding: 14px 16px 16px;
  font-size: 13px;
  color: var(--sage);
  border-top: 1px dashed var(--home-line);
}

/* ---------- 06 延伸入口 ---------- */
.page-home .home-next {
  padding: clamp(40px, 6vw, 72px) 0 calc(var(--home-gap) * 0.7);
  background: var(--ink);
  border-top: 1px solid var(--edge);
}

.page-home .home-next__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 22px;
}

.page-home .home-next__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.page-home .next-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 16px;
  padding: 18px 20px 18px 22px;
  background: rgba(14, 42, 35, 0.7);
  border: 1px solid var(--edge);
  border-left: 2px solid var(--edge);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.page-home .next-card:hover,
.page-home .next-card:focus-visible {
  border-color: var(--edge-hard);
  border-left-color: var(--cyan);
  background: rgba(18, 60, 53, 0.85);
  outline: none;
}

.page-home .next-card__k {
  grid-column: 1;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  color: var(--mist);
}

.page-home .next-card__d {
  grid-column: 1;
  font-size: 13.5px;
  color: var(--sage);
}

.page-home .next-card__a {
  grid-column: 2;
  grid-row: 1 / span 2;
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--cyan);
}

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

@media (min-width: 900px) {
  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: clamp(40px, 5vw, 72px);
  }

  .page-home .home-hero__visual { transform: translateY(-6px); }

  .page-home .home-league__intro {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: clamp(30px, 4vw, 56px);
  }

  .page-home .home-watch__inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }

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

  .page-home .home-goals__panel { padding: clamp(24px, 2.6vw, 34px) clamp(26px, 3vw, 40px); }
}

@media (min-width: 1180px) {
  .page-home .home-hero { padding-top: clamp(72px, 7vw, 116px); }

  .page-home .goal-table th,
  .page-home .goal-table td { padding: 13px 14px; font-size: 15px; }

  .page-home .goal-table__num { font-size: 18px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .page-home * { transition-duration: 0.01ms !important; }
}
<<<END>>>
