.page-home {
  --home-bg: #0D1117;
  --home-card: #161C24;
  --home-card-deep: #101820;
  --home-steel: #1C2A3A;
  --home-line: rgba(45, 55, 72, 0.9);
  --home-line-soft: rgba(45, 55, 72, 0.5);
  --home-text: #F5F7FA;
  --home-muted: #A0AEC0;
  --home-green: #39FF14;
  --home-blue: #00D9FF;
  --home-orange: #FF5C00;
  --home-font-display: "HarmonyOS Sans SC", "Alibaba PuHuiTi", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --home-font-mono: "Roboto Mono", "SFMono-Regular", "Consolas", "Liberation Mono", monospace;
  background: var(--home-bg);
  color: var(--home-text);
  font-family: var(--font-body);
  line-height: 1.8;
  overflow-x: hidden;
}

.page-home .home-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 24px 72px;
  background: var(--home-bg);
}

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

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

.page-home .home-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(rgba(57, 255, 20, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 255, 20, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(13, 17, 23, 0.9) 0%, rgba(13, 17, 23, 0.55) 45%, rgba(13, 17, 23, 0.97) 100%),
    linear-gradient(90deg, rgba(13, 17, 23, 0.94) 0%, rgba(13, 17, 23, 0.25) 60%, rgba(13, 17, 23, 0.35) 100%);
  background-size: 44px 44px, 44px 44px, auto, auto;
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
}

.page-home .home-hero__ctx {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 6px 12px;
  border: 1px solid rgba(57, 255, 20, 0.4);
  border-radius: var(--radius-pill);
  color: var(--home-green);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-home .home-hero__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--home-green);
  box-shadow: 0 0 10px var(--home-green);
}

.page-home .home-hero__title {
  margin: 0 0 18px;
  font-family: var(--home-font-display);
  font-weight: 900;
  font-size: clamp(1.65rem, 5.4vw, 3.4rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.page-home .home-hero__lead {
  max-width: 640px;
  margin: 0 0 28px;
  color: var(--home-muted);
  font-size: clamp(0.95rem, 1.6vw, 1.08rem);
  line-height: 1.9;
}

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

.page-home .home-hero__scroll {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--home-muted);
  font-size: 12px;
  letter-spacing: 0.18em;
}

.page-home .home-hero__scroll-line {
  width: 1px;
  height: 42px;
  background: linear-gradient(180deg, var(--home-green), transparent);
}

.page-home .home-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.page-home .home-side {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 28px 16px 36px;
}

.page-home .home-quick__head {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.page-home .home-quick__index,
.page-home .home-block-head__index {
  font-family: var(--home-font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--home-green);
  letter-spacing: 0.06em;
}

.page-home .home-quick__title,
.page-home .home-block-head__title {
  margin: 0;
  font-family: var(--home-font-display);
  font-weight: 800;
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  line-height: 1.3;
}

.page-home .home-quick__lead,
.page-home .home-block-head__lead {
  margin: 6px 0 0;
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.7;
}

.page-home .home-quick__track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
}

.page-home .quick-card {
  flex: 0 0 140px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 14px 12px;
  background: var(--home-card);
  border: 1px solid var(--home-line);
  border-radius: var(--radius-sharp);
  color: var(--home-text);
  text-decoration: none;
  transition: transform 0.25s var(--ease-out), border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.page-home .quick-card:hover {
  transform: translateY(-2px);
  border-color: var(--home-green);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-home .quick-card__mark {
  font-family: var(--home-font-mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
}

.page-home .quick-card--green .quick-card__mark { color: var(--home-green); }
.page-home .quick-card--blue .quick-card__mark { color: var(--home-blue); }
.page-home .quick-card--orange .quick-card__mark { color: var(--home-orange); }

.page-home .quick-card__name {
  font-size: 16px;
  font-weight: 700;
}

.page-home .quick-card__sub {
  color: var(--home-muted);
  font-size: 12px;
  line-height: 1.5;
}

.page-home .home-side__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 4px;
}

.page-home .home-side__label {
  margin: 0 0 4px;
  color: var(--home-muted);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-home .home-side__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  color: var(--home-muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-left: 2px solid transparent;
  border-radius: 0 var(--radius-sharp) var(--radius-sharp) 0;
  transition: color 0.2s var(--ease-out), background 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}

.page-home .home-side__link:hover,
.page-home .home-side__link:focus-visible {
  color: var(--home-text);
  background: linear-gradient(90deg, rgba(57, 255, 20, 0.08), transparent);
}

.page-home .home-side__link.is-active {
  color: var(--home-text);
  border-left-color: var(--home-green);
  background: linear-gradient(90deg, rgba(57, 255, 20, 0.1), transparent);
}

.page-home .home-side__note {
  padding: 16px;
  background: var(--home-card-deep);
  border: 1px solid var(--home-line);
  border-radius: var(--radius-sharp);
}

.page-home .home-side__note-title {
  margin: 0 0 6px;
  font-family: var(--home-font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--home-green);
}

.page-home .home-side__note p {
  margin: 0 0 10px;
  color: var(--home-muted);
  font-size: 13px;
  line-height: 1.75;
}

.page-home .home-side__note-link {
  display: inline-block;
  color: var(--home-blue);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 217, 255, 0.4);
}

.page-home .home-shell__main {
  min-width: 0;
  padding: 28px 16px 40px;
  display: flex;
  flex-direction: column;
  gap: 52px;
}

.page-home .home-block-head {
  margin-bottom: 20px;
  padding-left: 14px;
  border-left: 3px solid var(--home-green);
}

.page-home .home-injury .home-block-head,
.page-home .home-status .home-block-head {
  border-left-color: var(--home-blue);
}

.page-home .home-why .home-block-head {
  border-left-color: var(--home-orange);
}

.page-home .home-block-head__index {
  display: inline-block;
  margin-bottom: 2px;
}

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

.page-home .home-tabs__list {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.page-home .home-tabs__list::-webkit-scrollbar {
  display: none;
}

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

.page-home .match-card {
  position: relative;
  overflow: hidden;
  background: var(--home-card);
  border: 1px solid var(--home-line);
  border-radius: var(--radius-sharp);
  transition: transform 0.25s var(--ease-out), border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.page-home .match-card:hover {
  transform: translateY(-2px);
  border-color: rgba(57, 255, 20, 0.55);
  box-shadow: var(--shadow-card);
}

.page-home .match-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -70%;
  width: 45%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(57, 255, 20, 0.08), transparent);
  transform: skewX(-12deg);
  transition: left 0.5s var(--ease-out);
  pointer-events: none;
}

.page-home .match-card:hover::after {
  left: 130%;
}

.page-home .match-card__media {
  min-height: 160px;
}

.page-home .match-card__media img {
  width: 100%;
  height: 100%;
  max-height: 220px;
  object-fit: cover;
  display: block;
}

.page-home .match-card__body {
  padding: 16px 16px 14px;
}

.page-home .match-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.page-home .match-card__time {
  font-family: var(--home-font-mono);
  font-size: 13px;
  color: var(--home-muted);
}

.page-home .match-card__key {
  color: var(--home-orange);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.page-home .match-card__line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.page-home .match-card__name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--home-font-display);
  font-size: 15px;
  font-weight: 700;
  text-align: left;
}

.page-home .match-card__name--right {
  text-align: right;
}

.page-home .match-card__score {
  flex: 0 0 auto;
  padding: 4px 10px;
  border: 1px solid rgba(57, 255, 20, 0.4);
  border-radius: var(--radius-sharp);
  background: rgba(57, 255, 20, 0.08);
  font-family: var(--home-font-mono);
  font-size: 18px;
  font-weight: 800;
  color: var(--home-green);
  white-space: nowrap;
}

.page-home .match-card__summary {
  margin: 0 0 10px;
  color: var(--home-muted);
  font-size: 13.5px;
  line-height: 1.7;
}

.page-home .match-card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--home-blue);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.page-home .match-card__link:hover {
  color: var(--home-green);
}

.page-home .home-injury {
  padding: 26px 18px;
  background: var(--home-card-deep);
  border: 1px solid var(--home-line-soft);
  border-radius: var(--radius-sharp);
}

.page-home .injury-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.page-home .injury-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  padding: 12px 14px;
  background: var(--home-card);
  border-left: 3px solid var(--home-blue);
  border-radius: var(--radius-sharp);
}

.page-home .injury-item__text {
  flex: 1 1 180px;
  margin: 0;
  font-size: 14px;
  color: var(--home-text);
}

.page-home .injury-item__state {
  font-size: 12px;
  color: var(--home-muted);
  white-space: nowrap;
}

.page-home .injury-feedback {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 16px;
  background: rgba(255, 92, 0, 0.08);
  border: 1px dashed rgba(255, 92, 0, 0.4);
  border-radius: var(--radius-sharp);
}

.page-home .injury-feedback__text {
  margin: 0;
  color: var(--home-muted);
  font-size: 13.5px;
  line-height: 1.7;
}

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

.page-home .feature-card {
  position: relative;
  overflow: hidden;
  padding: 22px 18px 18px;
  background: var(--home-card);
  border: 1px solid var(--home-line);
  border-radius: var(--radius-sharp);
}

.page-home .feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--home-green);
}

.page-home .feature-card:nth-child(2)::before {
  background: var(--home-blue);
}

.page-home .feature-card:nth-child(3)::before {
  background: var(--home-orange);
}

.page-home .feature-card__num {
  display: block;
  margin-bottom: 10px;
  font-family: var(--home-font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--home-muted);
  letter-spacing: 0.1em;
}

.page-home .feature-card__title {
  margin: 0 0 8px;
  font-family: var(--home-font-display);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.4;
}

.page-home .feature-card__text {
  margin: 0;
  color: var(--home-muted);
  font-size: 13.5px;
  line-height: 1.75;
}

.page-home .feature-banner {
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: var(--radius-sharp);
}

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

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

.page-home .status-card {
  padding: 18px 14px;
  background: var(--home-card);
  border: 1px solid var(--home-line);
  border-top: 3px solid var(--home-line);
  border-radius: var(--radius-sharp);
}

.page-home .status-card--green {
  border-top-color: var(--home-green);
}

.page-home .status-card--blue {
  border-top-color: var(--home-blue);
}

.page-home .status-card--orange {
  border-top-color: var(--home-orange);
}

.page-home .status-card__num {
  display: block;
  margin-bottom: 4px;
  font-family: var(--home-font-mono);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--home-green);
}

.page-home .status-card--blue .status-card__num {
  color: var(--home-blue);
}

.page-home .status-card--orange .status-card__num {
  color: var(--home-orange);
}

.page-home .status-card__label {
  color: var(--home-muted);
  font-size: 13px;
  line-height: 1.5;
}

.page-home .status-visual {
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: var(--radius-sharp);
}

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

.page-home .status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  padding: 8px 14px;
  border: 1px solid rgba(57, 255, 20, 0.35);
  border-radius: var(--radius-pill);
  background: rgba(57, 255, 20, 0.06);
  color: var(--home-text);
  font-size: 13px;
  font-weight: 500;
}

.page-home .status-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--home-green);
  box-shadow: 0 0 8px var(--home-green);
}

.page-home .home-access {
  padding: 44px 16px 56px;
  background: var(--home-card-deep);
  border-top: 1px solid var(--home-line-soft);
}

.page-home .home-access .home-block-head {
  border-left-color: var(--home-blue);
}

.page-home .access-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
}

.page-home .access-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 16px;
  background: var(--home-card);
  border: 1px solid var(--home-line);
  border-radius: var(--radius-sharp);
  color: var(--home-text);
  text-decoration: none;
  transition: transform 0.25s var(--ease-out), border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.page-home .access-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 217, 255, 0.6);
  box-shadow: var(--shadow-card);
}

.page-home .access-card__index {
  font-family: var(--home-font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--home-blue);
}

.page-home .access-card__title {
  font-size: 16px;
  font-weight: 700;
}

.page-home .access-card__desc {
  color: var(--home-muted);
  font-size: 12.5px;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .page-home .home-shell__main {
    padding: 36px 24px 56px;
    gap: 64px;
  }

  .page-home .home-side {
    padding: 36px 20px 48px;
  }

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

  .page-home .match-card--feature {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  }

  .page-home .match-card--feature .match-card__media {
    min-height: 100%;
  }

  .page-home .match-card--feature .match-card__media img {
    height: 100%;
    max-height: none;
    object-fit: cover;
  }

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

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

  .page-home .home-access {
    padding: 56px 24px 64px;
  }
}

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

  .page-home .home-shell__side {
    position: sticky;
    top: 0;
    align-self: start;
    height: 100vh;
    overflow-y: auto;
    border-right: 1px solid var(--home-line-soft);
    background: rgba(16, 24, 32, 0.6);
  }

  .page-home .home-side {
    padding: 36px 24px 48px 32px;
  }

  .page-home .home-quick__track {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    overflow: visible;
    scroll-snap-type: none;
  }

  .page-home .quick-card {
    flex: none;
  }

  .page-home .home-shell__main {
    padding: 44px 36px 72px;
    gap: 72px;
  }

  .page-home .home-matches,
  .page-home .home-injury,
  .page-home .home-why,
  .page-home .home-status,
  .page-home .home-access,
  .page-home .home-quick {
    scroll-margin-top: 96px;
  }
}
