.page-home{
  width: 100%;
  overflow-x: hidden;
  background: var(--space-deep);
  color: var(--cream-white);
  font-family: var(--font-sans);
  line-height: 1.6;
  --home-border: rgba(245, 196, 107, 0.32);
  --home-line: rgba(224, 195, 147, 0.2);
  --home-weak-text: rgba(244, 239, 230, 0.66);
  --home-grid-line: rgba(224, 195, 147, 0.14);
}

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

.page-home .home-wrap{
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100% - 40px));
  margin-inline: auto;
}

.page-home .page-kicker{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(6, 14, 27, 0.85);
  border-bottom: 1px solid var(--home-line);
}

.page-home .page-kicker__meta{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--light-gold);
}

.page-home .breadcrumb{
  font-size: 13px;
  color: rgba(244, 239, 230, 0.6);
}

.page-home .breadcrumb-item + .breadcrumb-item::before{
  content: " / ";
  margin: 0 6px;
  color: rgba(244, 239, 230, 0.35);
}

/* ===== 框景首屏 ===== */
.page-home .hero-frame{
  position: relative;
  isolation: isolate;
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: 32px 0 48px;
}

.page-home .hero-frame__bg{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
  opacity: 0.5;
}

.page-home .hero-frame::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, rgba(6, 14, 27, 0.95) 0%, rgba(10, 26, 47, 0.82) 45%, rgba(10, 26, 47, 0.55) 100%);
}

.page-home .hero-frame::after{
  content: "";
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  bottom: 16px;
  border: 1px solid var(--home-border);
  border-radius: var(--radius-lg);
  pointer-events: none;
  z-index: 1;
}

.page-home .hero-frame__graph{
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(224, 195, 147, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(224, 195, 147, 0.28) 1px, transparent 1px);
  background-size: 72px 72px;
}

.page-home .hero-frame__grid{
  position: relative;
  z-index: 2;
  width: min(1280px, calc(100% - 40px));
  margin-inline: auto;
  display: grid;
  gap: 28px;
  align-items: center;
}

@media (min-width: 1024px){
  .page-home .hero-frame__grid{
    grid-template-columns: minmax(0, 7fr) minmax(320px, 4fr);
    gap: 32px;
  }
}

.page-home .hero-frame__content{
  position: relative;
  border: 1px dashed rgba(224, 195, 147, 0.42);
  border-radius: var(--radius-lg);
  padding: 28px 22px 24px;
  background: rgba(6, 14, 27, 0.42);
  backdrop-filter: blur(3px);
}

.page-home .hero-frame__coords{
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--light-gold);
  margin-bottom: 20px;
}

.page-home .hero-frame__eyebrow{
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--star-gold);
  margin-bottom: 10px;
}

.page-home .hero-frame__title{
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--cream-white);
  line-height: 1.2;
}

.page-home .hero-frame__slogan{
  margin: 6px 0 0;
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 500;
  color: var(--star-gold);
}

.page-home .hero-frame__desc{
  max-width: 34em;
  margin: 18px 0 0;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(244, 239, 230, 0.78);
}

.page-home .hero-frame__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.page-home .hero-frame__actions .btn-primary{
  color: var(--space-bg);
}

.page-home .hero-frame__actions .btn-ghost{
  border-color: rgba(245, 196, 107, 0.55);
  color: var(--star-gold);
}

.page-home .hero-frame__quicklinks{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin-top: 18px;
  font-size: 13px;
}

.page-home .hero-frame__quicklabel{
  font-family: var(--font-mono);
  color: rgba(244, 239, 230, 0.55);
}

.page-home .hero-frame__quicklinks a{
  color: var(--light-gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.18s ease;
}

.page-home .hero-frame__quicklinks a:hover{
  border-bottom-color: var(--star-gold);
}

.page-home .hero-metrics{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(224, 195, 147, 0.25);
}

@media (min-width: 768px){
  .page-home .hero-metrics{
    grid-template-columns: repeat(4, 1fr);
  }
}

.page-home .hero-metric{
  background: rgba(245, 196, 107, 0.08);
  border: 1px solid rgba(224, 195, 147, 0.14);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.page-home .hero-metric__value{
  display: block;
  font-family: var(--font-mono);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--star-gold);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.page-home .hero-metric__value sup{
  font-size: 0.6em;
}

.page-home .hero-metric__label{
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--home-weak-text);
}

/* ===== 会员面板 ===== */
.page-home .member-panel{
  border: 1px solid var(--home-border);
  border-radius: var(--radius-lg);
  background: rgba(28, 46, 66, 0.72);
  padding: 20px;
  box-shadow: var(--shadow-elev);
}

.page-home .member-panel__head{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.page-home .member-panel__head h2{
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
}

.page-home .member-panel__hint{
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--home-weak-text);
}

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

.page-home .member-panel__team{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(244, 239, 230, 0.06);
  border-radius: var(--radius-sm);
}

.page-home .member-panel__no{
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--star-gold);
}

.page-home .member-panel__teamname{
  flex: 1;
  min-width: 0;
}

.page-home .member-panel__teamname strong{
  display: block;
  font-size: 14px;
}

.page-home .member-panel__teamname span{
  display: block;
  font-size: 12px;
  color: rgba(244, 239, 230, 0.55);
  margin-top: 2px;
}

.page-home .member-panel .status-dot{
  background: var(--moss-green);
}

.page-home .member-panel .btn{
  width: 100%;
}

.page-home .hero-frame__scale{
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 26px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 2;
}

.page-home .hero-frame__scale span{
  width: 2px;
  height: 10px;
  background: rgba(245, 196, 107, 0.4);
}

/* ===== 章节通用 ===== */
.page-home .section-header{
  margin-bottom: 30px;
}

.page-home .section-kicker{
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--star-gold);
}

.page-home .section-title{
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  margin: 6px 0 10px;
  line-height: 1.3;
}

.page-home .section-lead{
  font-size: 14px;
  line-height: 1.7;
  max-width: 42em;
  margin: 0;
}

/* ===== 联赛导航 ===== */
.page-home .league-section{
  position: relative;
  background: var(--cream-white);
  color: var(--space-bg);
  padding: 64px 0 72px;
}

.page-home .league-section .section-title{
  color: var(--space-bg);
}

.page-home .league-section .section-lead{
  color: var(--rock-gray);
}

.page-home .league-section .section-kicker{
  color: #B07E2A;
}

.page-home .league-section__grid{
  display: grid;
  gap: 28px;
}

@media (min-width: 1024px){
  .page-home .league-section__grid{
    grid-template-columns: minmax(0, 8fr) minmax(260px, 4fr);
    align-items: center;
  }
}

.page-home .league-tabs .tab-button{
  background: transparent;
  border: 1px solid rgba(10, 26, 47, 0.2);
  color: var(--space-bg);
  border-radius: var(--radius-pill);
  padding: 8px 20px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.page-home .league-tabs .tab-button.is-active{
  background: var(--star-gold);
  border-color: var(--star-gold);
  color: var(--space-bg);
}

.page-home .league-tabs .tab-panel{
  margin-top: 18px;
}

.page-home .league-list{
  display: grid;
  gap: 10px;
}

@media (min-width: 600px){
  .page-home .league-list{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px){
  .page-home .league-list{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.page-home .league-item{
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  background: var(--space-bg);
  color: var(--cream-white);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  border: 1px solid rgba(224, 195, 147, 0.14);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  overflow: hidden;
}

.page-home .league-item:hover{
  transform: translateY(-2px);
  border-color: var(--star-gold);
  background: #13263c;
}

.page-home .league-item::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--star-gold), var(--signal-red));
  border-radius: 0 0 0 10px;
  transition: width 0.18s ease-out;
}

.page-home .league-item:hover::after{
  width: 100%;
}

.page-home .league-item__no{
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--light-gold);
}

.page-home .league-item__name{
  flex: 1;
  font-weight: 700;
  font-size: 15px;
}

.page-home .league-item__round{
  font-size: 12px;
  color: rgba(244, 239, 230, 0.55);
}

.page-home .league-item__go{
  color: var(--star-gold);
  font-size: 18px;
  line-height: 1;
}

.page-home .league-section__aside{
  margin: 0;
  background: var(--space-bg);
  border-radius: var(--radius-lg);
  padding: 14px;
  color: var(--cream-white);
}

.page-home .league-section__aside img{
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
}

.page-home .league-section__aside figcaption{
  margin-top: 12px;
  padding: 0 4px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(244, 239, 230, 0.72);
}

/* ===== 赛况速览 ===== */
.page-home .score-section{
  position: relative;
  background: var(--space-deep);
  color: var(--cream-white);
  padding: 64px 0 72px;
}

.page-home .score-section::after{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--home-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--home-grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.5;
}

.page-home .score-section .section-title{
  color: var(--cream-white);
}

.page-home .score-section .section-lead{
  color: rgba(244, 239, 230, 0.65);
}

.page-home .score-section .home-wrap{
  z-index: 1;
}

.page-home .score-section__note{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--light-gold);
  border: 1px solid rgba(224, 195, 147, 0.22);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  margin-bottom: 22px;
  background: rgba(245, 196, 107, 0.06);
}

.page-home .score-section__note .status-dot{
  background: var(--signal-red);
  animation: home-pulse-dot 1.8s infinite ease-out;
}

@keyframes home-pulse-dot{
  0%{
    box-shadow: 0 0 0 0 rgba(228, 87, 46, 0.35);
  }
  60%{
    box-shadow: 0 0 0 8px rgba(228, 87, 46, 0);
  }
  100%{
    box-shadow: 0 0 0 0 rgba(228, 87, 46, 0);
  }
}

.page-home .match-grid{
  display: grid;
  gap: 16px;
}

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

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

.page-home .match-card{
  display: flex;
  flex-direction: column;
  background: rgba(28, 46, 66, 0.74);
  border: 1px solid rgba(224, 195, 147, 0.14);
  border-radius: var(--radius-md);
  padding: 16px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.page-home .match-card:hover{
  border-color: var(--star-gold);
  transform: translateY(-2px);
}

.page-home .match-card__top{
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 12px;
}

.page-home .match-card__league{
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  color: var(--light-gold);
}

.page-home .match-card__time{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(244, 239, 230, 0.72);
}

.page-home .match-card__time .status-dot{
  width: 7px;
  height: 7px;
  background: var(--rock-gray);
}

.page-home .match-card--live .match-card__time .status-dot{
  background: var(--signal-red);
  animation: home-pulse-dot 1.6s infinite;
}

.page-home .match-card--done .match-card__time .status-dot{
  background: var(--moss-green);
}

.page-home .match-card__teams{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.page-home .match-card__team{
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.page-home .match-card__team strong{
  color: var(--cream-white);
  font-size: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-home .match-card__score{
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--star-gold);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.page-home .match-card__vs{
  color: rgba(244, 239, 230, 0.35);
  font-family: var(--font-mono);
}

.page-home .match-card__team--away{
  justify-content: flex-end;
}

.page-home .match-card__center{
  text-align: center;
  padding: 8px 0 12px;
}

.page-home .match-card__center-label{
  display: block;
  font-size: 13px;
  color: rgba(244, 239, 230, 0.72);
  margin-bottom: 8px;
}

.page-home .match-card__tennis-score{
  font-family: var(--font-mono);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--star-gold);
}

.page-home .match-card__detail{
  display: inline-block;
  margin-top: 14px;
  font-size: 12px;
  color: var(--light-gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.18s ease;
  align-self: flex-end;
}

.page-home .match-card__detail:hover{
  border-bottom-color: var(--star-gold);
}

/* ===== 版本服务 ===== */
.page-home .version-section{
  position: relative;
  background: var(--cream-white);
  color: var(--space-bg);
  padding: 64px 0 72px;
}

.page-home .version-section .section-title{
  color: var(--space-bg);
}

.page-home .version-section .section-lead{
  color: var(--rock-gray);
}

.page-home .version-section .section-kicker{
  color: #B07E2A;
}

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

@media (min-width: 960px){
  .page-home .version-track{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 56px;
  }
}

.page-home .version-card{
  position: relative;
  background: var(--space-bg);
  color: var(--cream-white);
  border-radius: var(--radius-lg);
  padding: 24px 20px 20px;
  border-top: 4px solid var(--star-gold);
  box-shadow: var(--shadow-card);
}

@media (min-width: 960px){
  .page-home .version-card::after{
    content: "";
    position: absolute;
    top: 50%;
    right: -44px;
    width: 30px;
    height: 2px;
    background: var(--light-gold);
    transform: translateY(-50%);
  }

  .page-home .version-card:last-child::after{
    display: none;
  }
}

.page-home .version-card__no{
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--star-gold);
}

.page-home .version-card__tag{
  display: inline-block;
  margin-left: 10px;
  font-size: 12px;
  font-family: var(--font-mono);
  color: rgba(244, 239, 230, 0.55);
}

.page-home .version-card__title{
  margin: 12px 0 10px;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--cream-white);
  letter-spacing: 0.02em;
}

.page-home .version-card > p{
  font-size: 14px;
  line-height: 1.7;
  color: rgba(244, 239, 230, 0.7);
  margin: 0 0 14px;
}

.page-home .version-card__spec{
  margin: 0 0 16px;
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
  padding: 10px 0 12px;
  display: grid;
  gap: 6px;
}

.page-home .version-card__spec div{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
}

.page-home .version-card__spec dt{
  color: rgba(244, 239, 230, 0.5);
}

.page-home .version-card__spec dd{
  margin: 0;
  color: var(--cream-white);
  font-weight: 500;
}

.page-home .version-card .btn{
  width: 100%;
}

.page-home .version-card .btn-ghost{
  border-color: rgba(245, 196, 107, 0.55);
  color: var(--star-gold);
}

.page-home .version-details{
  margin-top: 14px;
  border-top: 1px solid var(--home-line);
  padding-top: 8px;
}

.page-home .version-details summary{
  cursor: pointer;
  font-size: 13px;
  color: var(--light-gold);
  list-style: none;
}

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

.page-home .version-details summary:hover{
  color: var(--star-gold);
}

.page-home .version-details p{
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(244, 239, 230, 0.64);
}

.page-home .version-details[open] summary{
  color: var(--star-gold);
}

.page-home .version-showcase{
  margin-top: 40px;
  display: grid;
  gap: 24px;
  align-items: center;
  background: var(--space-bg);
  border-radius: var(--radius-lg);
  padding: 20px;
  color: var(--cream-white);
}

@media (min-width: 900px){
  .page-home .version-showcase{
    grid-template-columns: minmax(320px, 4fr) minmax(0, 6fr);
    gap: 32px;
    padding: 28px;
  }
}

.page-home .version-showcase img{
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
}

.page-home .version-showcase__body .section-kicker{
  color: var(--star-gold);
}

.page-home .version-showcase__body h3{
  margin: 8px 0 12px;
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.4;
}

.page-home .version-showcase__body p{
  font-size: 14px;
  line-height: 1.75;
  color: rgba(244, 239, 230, 0.72);
  max-width: 38em;
}

.page-home .version-showcase__body .btn{
  margin-top: 8px;
}

.page-home .version-showcase__body .btn-primary{
  color: var(--space-bg);
}

/* ===== 最近更新 ===== */
.page-home .updates-section{
  position: relative;
  background: var(--space-bg);
  color: var(--cream-white);
  padding: 64px 0 72px;
}

.page-home .updates-section::after{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--home-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--home-grid-line) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.4;
}

.page-home .updates-section .section-title{
  color: var(--cream-white);
}

.page-home .updates-section .section-lead{
  color: rgba(244, 239, 230, 0.64);
}

.page-home .updates-grid{
  display: grid;
  gap: 32px;
}

@media (min-width: 1024px){
  .page-home .updates-grid{
    grid-template-columns: minmax(0, 7fr) minmax(260px, 3fr);
    align-items: center;
  }
}

.page-home .update-list{
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.page-home .update-item a{
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px 8px;
  text-decoration: none;
  color: var(--cream-white);
  border-bottom: 1px solid var(--home-line);
  transition: background 0.18s ease, padding-left 0.18s ease;
}

.page-home .update-item a:hover{
  background: rgba(245, 196, 107, 0.05);
  padding-left: 14px;
}

.page-home .update-item__no{
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--star-gold);
}

.page-home .update-item__body{
  min-width: 0;
}

.page-home .update-item__body strong{
  display: block;
  font-size: 15px;
  line-height: 1.5;
}

.page-home .update-item__meta{
  display: inline-block;
  margin-top: 6px;
  font-size: 12px;
  color: rgba(244, 239, 230, 0.55);
}

.page-home .update-item__arrow{
  color: var(--light-gold);
  font-size: 18px;
}

.page-home .updates-media{
  margin: 0;
  background: rgba(28, 46, 66, 0.6);
  border: 1px solid rgba(224, 195, 147, 0.14);
  border-radius: var(--radius-lg);
  padding: 14px;
}

.page-home .updates-media img{
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
}

.page-home .updates-media figcaption{
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(244, 239, 230, 0.65);
}

/* ===== 降级动效 ===== */
@media (prefers-reduced-motion: reduce){
  .page-home *,
  .page-home *::before,
  .page-home *::after{
    animation: none !important;
    transition: none !important;
  }
}
