.page-home {
  --home-radius: 14px;
  --home-page-pad: 20px;
  overflow-x: hidden;
  color: var(--color-black);
  background: var(--color-black);
}

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

.page-home .section__label {
  display: inline-block;
  font-family: var(--font-data);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-red);
}

.page-home .section__title {
  font-family: var(--font-heading);
  font-size: 32px;
  line-height: 1.12;
  margin: 6px 0 12px;
  color: var(--color-black);
}

/* ===== Hero / 今日焦点赛事 ===== */
.page-home .home-hero {
  position: relative;
  background: var(--color-black);
  color: var(--color-white);
  padding: 24px var(--home-page-pad) 0;
  overflow: hidden;
}

.page-home .home-hero__slant {
  position: absolute;
  top: 0;
  right: 0;
  width: 68%;
  height: 72%;
  background: linear-gradient(135deg, rgba(229,57,53,.96), rgba(183,28,28,.72));
  clip-path: polygon(100% 0, 100% 100%, 22% 100%);
  z-index: 0;
}

.page-home .home-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
  z-index: 0;
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin-inline: auto;
}

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

.page-home .home-hero .breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,.72);
}

.page-home .home-hero .breadcrumb a {
  color: var(--color-yellow);
  text-decoration: none;
}

.page-home .home-hero__kicker {
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: .08em;
  color: rgba(255,255,255,.72);
  margin: 0;
}

.page-home .home-hero__main {
  display: grid;
  gap: 28px;
  align-items: end;
}

.page-home .home-hero__content h1 {
  font-family: var(--font-heading);
  font-size: 40px;
  line-height: 1.08;
  margin: 0 0 16px;
  color: var(--color-white);
  max-width: 11em;
}

.page-home .home-hero__lead {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,.82);
  margin: 0 0 20px;
  max-width: 42em;
}

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

.page-home .home-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.2);
}

.page-home .home-hero__stat {
  min-width: 96px;
}

.page-home .home-hero__stat dt {
  font-size: 12px;
  color: rgba(255,255,255,.66);
  margin-bottom: 4px;
}

.page-home .home-hero__stat dd {
  font-family: var(--font-data);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-yellow);
  margin: 0;
}

.page-home .home-hero__match {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--home-radius);
  padding: 20px 18px;
  backdrop-filter: blur(8px);
}

.page-home .home-hero__match-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.page-home .home-hero__match-title {
  font-family: var(--font-heading);
  font-size: 20px;
  margin: 0;
  color: var(--color-white);
}

.page-home .home-hero__match-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
}

.page-home .home-hero__team {
  text-align: left;
}

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

.page-home .home-hero__team-name {
  display: block;
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 4px;
}

.page-home .home-hero__team-meta {
  font-family: var(--font-data);
  font-size: 11px;
  color: rgba(255,255,255,.6);
  display: block;
}

.page-home .home-hero__score {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-data);
  background: var(--color-black);
  border-radius: 12px;
  padding: 8px 14px;
}

.page-home .home-hero__score-num {
  font-size: 40px;
  font-weight: 700;
  color: var(--color-yellow);
  line-height: 1;
}

.page-home .home-hero__score-sep {
  color: rgba(255,255,255,.5);
  font-weight: 400;
}

.page-home .home-hero__match-meta {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  text-align: center;
  margin: 14px 0 16px;
}

.page-home .home-hero__match-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-home .home-hero__figure {
  position: relative;
  z-index: 2;
  margin: 26px -20px 0;
}

.page-home .home-hero__figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--home-radius) var(--home-radius) 0 0;
  box-shadow: 0 -16px 40px rgba(0,0,0,.45);
}

/* ===== 实时比分滚动条 ===== */
.page-home .home-ticker {
  background: var(--color-deepred);
  color: var(--color-white);
  display: flex;
  align-items: stretch;
  border-block: 2px solid var(--color-black);
  position: relative;
}

.page-home .home-ticker__label {
  background: var(--color-yellow);
  color: var(--color-black);
  padding: 14px 12px 14px 18px;
  clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

.page-home .home-ticker__label h2 {
  font-family: var(--font-heading);
  font-size: 14px;
  line-height: 1;
  margin: 0;
}

.page-home .home-ticker__live {
  font-family: var(--font-data);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
}

.page-home .home-ticker__viewport {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.page-home .home-ticker__track {
  display: flex;
  width: max-content;
  animation: home-ticker-scroll 36s linear infinite;
}

.page-home .home-ticker:hover .home-ticker__track {
  animation-play-state: paused;
}

.page-home .home-ticker__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.page-home .home-ticker__item {
  white-space: nowrap;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 500;
  border-right: 1px solid rgba(255,255,255,.24);
}

.page-home .home-ticker__item b {
  color: var(--color-yellow);
  font-size: 16px;
  margin: 0 2px;
}

.page-home .home-ticker__hint {
  position: absolute;
  right: 12px;
  bottom: -22px;
  font-size: 11px;
  color: rgba(255,255,255,.6);
  margin: 0;
  pointer-events: none;
}

@keyframes home-ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

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

/* ===== 平台核心优势 ===== */
.page-home .home-advantages {
  background: var(--color-white);
  color: var(--color-black);
  padding: 52px var(--home-page-pad);
}

.page-home .home-advantages__intro,
.page-home .home-advantages__grid {
  max-width: var(--container-max);
  margin-inline: auto;
}

.page-home .home-advantages__intro p {
  font-size: 15px;
  color: rgba(18,18,18,.72);
  margin: 0 0 30px;
}

.page-home .home-advantages__grid {
  display: grid;
  gap: 18px;
}

.page-home .home-adv-card {
  position: relative;
  background: var(--color-black);
  color: var(--color-white);
  border-radius: var(--home-radius);
  padding: 24px 22px;
  overflow: hidden;
}

.page-home .home-adv-card::after {
  content: "";
  position: absolute;
  right: -22px;
  bottom: -22px;
  width: 96px;
  height: 96px;
  background: var(--color-red);
  transform: rotate(14deg);
}

.page-home .home-adv-card--mid {
  background: var(--color-blue);
}

.page-home .home-adv-card__index {
  font-family: var(--font-heading);
  font-size: 30px;
  color: var(--color-yellow);
  display: inline-block;
  margin-bottom: 12px;
}

.page-home .home-adv-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  margin: 0 0 10px;
}

.page-home .home-adv-card p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,.78);
  margin: 0 0 18px;
}

.page-home .home-adv-card a {
  display: inline-block;
  color: var(--color-yellow);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  position: relative;
  z-index: 1;
}

/* ===== 赛程日历 ===== */
.page-home .home-calendar {
  background: #f4f5f7;
  color: var(--color-black);
  padding: 52px var(--home-page-pad);
}

.page-home .home-calendar__heading {
  max-width: var(--container-max);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
}

.page-home .home-calendar__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(18,18,18,.7);
}

.page-home .home-calendar__legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
}

.page-home .home-calendar__legend-dot--red {
  background: var(--color-red);
}

.page-home .home-calendar__legend-dot--green {
  background: var(--color-green);
}

.page-home .home-calendar__body {
  max-width: var(--container-max);
  margin-inline: auto;
  display: grid;
  gap: 28px;
}

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

.page-home .cal-day {
  background: var(--color-white);
  border: 1px solid var(--color-gray);
  border-radius: var(--home-radius);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-home .cal-day--today {
  border: 2px solid var(--color-red);
  box-shadow: var(--shadow);
}

.page-home .cal-day__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-home .cal-day__weekday {
  font-weight: 800;
  font-size: 15px;
}

.page-home .cal-day__rel {
  font-family: var(--font-data);
  font-size: 11px;
  color: rgba(18,18,18,.5);
  background: var(--color-gray);
  border-radius: 999px;
  padding: 2px 8px;
}

.page-home .cal-day--today .cal-day__rel {
  background: var(--color-red);
  color: var(--color-white);
}

.page-home .cal-day__dots {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 12px;
}

.page-home .cal-day__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.page-home .cal-day__dot--red {
  background: var(--color-red);
}

.page-home .cal-day__dot--green {
  background: var(--color-green);
}

.page-home .cal-day__detail summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-data);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-red);
  padding: 5px 10px;
  border: 1px solid rgba(229,57,53,.3);
  border-radius: 999px;
  background: rgba(229,57,53,.06);
}

.page-home .cal-day__detail summary::-webkit-details-marker {
  display: none;
}

.page-home .cal-day__detail summary::before {
  content: "＋";
  font-size: 13px;
}

.page-home .cal-day__detail[open] summary::before {
  content: "－";
}

.page-home .cal-day__matches {
  font-size: 13px;
  line-height: 1.6;
  padding: 10px 12px;
  background: var(--color-black);
  color: rgba(255,255,255,.85);
  border-radius: 10px;
}

.page-home .cal-day__matches p {
  margin: 0 0 6px;
}

.page-home .cal-day__matches p:last-child {
  margin-bottom: 0;
}

.page-home .cal-day__matches b {
  color: var(--color-yellow);
}

.page-home .cal-day__matches a {
  color: var(--color-yellow);
  font-weight: 700;
  text-decoration: none;
}

.page-home .home-calendar__side {
  background: var(--color-black);
  color: var(--color-white);
  border-radius: var(--home-radius);
  padding: 20px;
  display: grid;
  gap: 18px;
}

.page-home .home-calendar__figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
}

.page-home .home-calendar__stats {
  margin: 0;
  display: grid;
  gap: 12px;
}

.page-home .home-calendar__stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid rgba(255,255,255,.14);
  padding-bottom: 8px;
}

.page-home .home-calendar__stat dt {
  font-size: 13px;
  color: rgba(255,255,255,.64);
}

.page-home .home-calendar__stat dd {
  font-family: var(--font-data);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-yellow);
  margin: 0;
}

.page-home .home-calendar__note {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,.7);
  margin: 0;
}

/* ===== 伤停与转会查询入口 ===== */
.page-home .home-query {
  background: var(--color-black);
  color: var(--color-white);
  padding: 58px var(--home-page-pad);
  position: relative;
}

.page-home .home-query::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 46%;
  height: 5px;
  background: linear-gradient(90deg, var(--color-red), transparent);
}

.page-home .home-query__heading {
  max-width: var(--container-max);
  margin-inline: auto;
  margin-bottom: 32px;
}

.page-home .home-query .section__title {
  color: var(--color-white);
}

.page-home .home-query__heading p {
  font-size: 15px;
  color: rgba(255,255,255,.7);
  margin: 0;
}

.page-home .home-query__grid {
  max-width: var(--container-max);
  margin-inline: auto;
  display: grid;
  gap: 22px;
}

.page-home .home-query__card {
  display: block;
  color: var(--color-white);
  text-decoration: none;
  border-radius: var(--home-radius);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.page-home .home-query__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,.5);
}

.page-home .home-query__card--injury {
  background: linear-gradient(135deg, var(--color-red), var(--color-deepred));
}

.page-home .home-query__card--transfer {
  background: linear-gradient(135deg, var(--color-blue), #0d1442);
  border: 1px solid rgba(255,255,255,.14);
}

.page-home .home-query__card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  border-left: 64px solid transparent;
  border-top: 64px solid rgba(255,255,255,.14);
}

.page-home .home-query__count {
  font-family: var(--font-data);
  font-size: 46px;
  font-weight: 700;
  opacity: .3;
  line-height: 1;
}

.page-home .home-query__card h3 {
  font-family: var(--font-heading);
  font-size: 26px;
  margin: 10px 0 10px;
}

.page-home .home-query__card p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,.82);
  margin: 0 0 18px;
}

.page-home .home-query__go {
  font-weight: 700;
  color: var(--color-yellow);
  font-size: 15px;
}

/* ===== 签到领取专属栏目 ===== */
.page-home .home-checkin {
  background: var(--color-blue);
  color: var(--color-white);
  padding: 56px var(--home-page-pad);
}

.page-home .home-checkin__panel {
  max-width: var(--container-max);
  margin-inline: auto;
  display: grid;
  gap: 28px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--home-radius);
  padding: 26px 20px;
}

.page-home .home-checkin .section__title {
  color: var(--color-white);
}

.page-home .home-checkin__text p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,.82);
  margin: 0 0 20px;
}

.page-home .home-checkin__flips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}

.page-home .home-checkin__flip {
  text-decoration: none;
  display: block;
  perspective: 600px;
}

.page-home .home-checkin__flip-inner {
  position: relative;
  display: block;
  width: 100%;
  height: 92px;
  transform-style: preserve-3d;
  transition: transform var(--transition);
}

.page-home .home-checkin__flip:hover .home-checkin__flip-inner,
.page-home .home-checkin__flip:focus-visible .home-checkin__flip-inner {
  transform: rotateY(180deg);
}

.page-home .home-checkin__flip-face {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--home-radius);
  backface-visibility: hidden;
  font-family: var(--font-heading);
  font-size: 14px;
  text-align: center;
  padding: 6px;
}

.page-home .home-checkin__flip-face--front {
  background: var(--color-yellow);
  color: var(--color-black);
  border: 2px solid rgba(0,0,0,.12);
}

.page-home .home-checkin__flip-face--back {
  background: var(--color-white);
  color: var(--color-red);
  transform: rotateY(180deg);
  border: 2px solid rgba(229,57,53,.4);
}

.page-home .home-checkin__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0 0 22px;
}

.page-home .home-checkin__meta div {
  min-width: 104px;
}

.page-home .home-checkin__meta dt {
  font-size: 12px;
  color: rgba(255,255,255,.6);
  margin-bottom: 4px;
}

.page-home .home-checkin__meta dd {
  font-family: var(--font-data);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-yellow);
  margin: 0;
}

.page-home .home-checkin__figure img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--home-radius);
  border: 1px solid rgba(255,255,255,.18);
}

/* ===== 赛事类别与快捷入口 ===== */
.page-home .home-catnav {
  background: var(--color-black);
  color: var(--color-white);
  padding: 56px var(--home-page-pad) 72px;
}

.page-home .home-catnav__heading {
  max-width: var(--container-max);
  margin-inline: auto;
  display: grid;
  gap: 18px;
  margin-bottom: 30px;
}

.page-home .home-catnav .section__title {
  color: var(--color-white);
}

.page-home .home-catnav__figure img {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--home-radius);
  border: 1px solid rgba(255,255,255,.16);
}

.page-home .home-catnav__main {
  max-width: var(--container-max);
  margin-inline: auto;
  display: grid;
  gap: 26px;
}

.page-home .home-catnav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-home .home-catnav__links a {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  color: var(--color-white);
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: background var(--transition), color var(--transition);
}

.page-home .home-catnav__links a:hover {
  background: var(--color-red);
  border-color: var(--color-red);
}

.page-home .home-catnav__trust {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,.66);
  border-top: 1px solid rgba(255,255,255,.14);
  padding-top: 20px;
  display: grid;
  gap: 8px;
}

.page-home .home-catnav__trust p {
  margin: 0;
}

/* ===== 桌面端布局 ===== */
@media (min-width: 900px) {
  .page-home {
    --home-page-pad: 32px;
  }

  .page-home .home-hero {
    padding-top: 36px;
  }

  .page-home .home-hero__main {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 44px;
  }

  .page-home .home-hero__content h1 {
    font-size: 54px;
  }

  .page-home .home-hero__figure {
    max-width: 78%;
    margin-inline-start: auto;
    margin-top: -32px;
  }

  .page-home .home-hero__figure img {
    border-radius: var(--home-radius) 0 0 0;
  }

  .page-home .home-ticker__label h2 {
    font-size: 17px;
  }

  .page-home .home-advantages__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
  }

  .page-home .home-adv-card--mid {
    transform: translateY(-14px);
  }

  .page-home .home-calendar__heading {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }

  .page-home .home-calendar__body {
    grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr);
    gap: 24px;
  }

  .page-home .home-calendar__week {
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    align-items: start;
  }

  .page-home .cal-day {
    padding: 14px 10px;
  }

  .page-home .cal-day__rel {
    display: block;
    margin-top: 4px;
    font-size: 10px;
  }

  .page-home .home-query__grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: stretch;
  }

  .page-home .home-query__card--injury {
    transform: translateY(18px);
  }

  .page-home .home-query__card--transfer {
    transform: translateY(-18px);
  }

  .page-home .home-checkin__panel {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    align-items: center;
    gap: 40px;
    padding: 36px 34px;
  }

  .page-home .home-checkin__figure img {
    max-height: 380px;
    object-fit: cover;
    object-position: center;
  }

  .page-home .home-catnav__heading {
    grid-template-columns: 1fr 240px;
    align-items: center;
  }

  .page-home .home-catnav__main {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}
