.page-home{
  --home-radius-lg: 28px;
  --home-radius-md: 18px;
  --home-gap: 16px;
  --home-shell-pad: 16px;
  display: block;
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
}

/* 页面上下文条 */
.page-home .home-context{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 16px var(--home-shell-pad) 0;
}

.page-home .breadcrumb{
  font: 400 13px/1.4 var(--font-data);
  color: var(--slate);
  letter-spacing: .02em;
}

.page-home .breadcrumb-current{
  color: var(--white);
}

/* 首屏：左右分屏 */
.page-home .home-hero{
  display: grid;
  gap: 24px;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 24px var(--home-shell-pad) 32px;
}

.page-home .hero-narrative{
  position: relative;
  z-index: 1;
}

.page-home .hero-narrative h1{
  font-family: var(--font-headline);
  font-size: clamp(2.2rem, 8vw, 4rem);
  line-height: 1.08;
  letter-spacing: .01em;
  margin: 10px 0 14px;
  color: var(--white);
  text-wrap: balance;
}

.page-home .hero-lead{
  font-size: 15px;
  line-height: 1.75;
  color: var(--slate);
  max-width: 34em;
  margin: 0 0 22px;
}

.page-home .hero-lead strong{
  color: var(--white);
  font-weight: 700;
}

/* 主客场切换 */
.page-home .venue-switch{
  margin-top: 6px;
  padding: 18px;
  background: var(--navy-deep);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-md);
}

.page-home .venue-switch-label{
  display: block;
  font-size: 12px;
  color: var(--slate);
  letter-spacing: .1em;
  margin-bottom: 10px;
}

.page-home .venue-toggle{
  display: inline-flex;
  padding: 4px;
  background: var(--navy);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,.08);
  position: relative;
}

.page-home .venue-toggle-input{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.page-home .venue-toggle-label{
  display: inline-block;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--slate);
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease);
  user-select: none;
}

.page-home .venue-toggle-input:checked + .venue-toggle-label{
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(255,107,0,.35);
}

.page-home .venue-toggle-input:focus-visible + .venue-toggle-label{
  outline: 2px solid var(--orange-light);
  outline-offset: 2px;
}

.page-home .venue-switch-hint{
  font-size: 13px;
  line-height: 1.6;
  color: var(--slate);
  margin-top: 12px;
}

/* 主按钮区 */
.page-home .hero-cta{
  margin-top: 22px;
}

.page-home .hero-meta{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  font-size: 13px;
  color: var(--slate);
}

.page-home .hero-meta .hairline{
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--orange), transparent);
}

/* 首屏视觉 */
.page-home .hero-visual{
  position: relative;
  border-radius: var(--home-radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-panel), var(--navy-deep));
  min-height: 260px;
}

.page-home .hero-glow{
  position: absolute;
  top: -30%;
  right: -20%;
  width: 70%;
  padding-top: 70%;
  background: radial-gradient(circle, rgba(255,107,0,.28), transparent 65%);
  border-radius: 50%;
  z-index: 0;
}

.page-home .hero-lines{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.page-home .hero-img{
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

/* 核心卡片区 */
.page-home .home-index{
  max-width: var(--shell);
  margin: 0 auto;
  padding: 8px var(--home-shell-pad) 32px;
  display: grid;
  gap: var(--home-gap);
}

.page-home .home-card{
  position: relative;
  background: var(--navy-panel);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--home-radius-md);
  padding: 22px;
  overflow: hidden;
}

.page-home .home-card--report::before{
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  border-width: 0 0 26px 26px;
  border-style: solid;
  border-color: transparent transparent var(--orange) transparent;
}

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

.page-home .home-card h2{
  font-family: var(--font-headline);
  font-size: 24px;
  line-height: 1.2;
  color: var(--white);
  margin: 4px 0 10px;
  letter-spacing: .01em;
}

.page-home .card-text{
  font-size: 14px;
  line-height: 1.72;
  color: var(--slate);
  margin: 0 0 14px;
}

.page-home .report-img,
.page-home .cards-img{
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  object-fit: cover;
}

/* 战报元信息 */
.page-home .report-meta{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0 0 16px;
  padding: 14px;
  background: var(--navy);
  border-radius: var(--radius-sm);
}

.page-home .report-meta-item{
  text-align: center;
}

.page-home .report-meta-item dt{
  font-size: 12px;
  color: var(--slate);
  margin-bottom: 2px;
}

.page-home .report-meta-item dd{
  font-size: 22px;
  font-weight: 700;
  color: var(--orange-light);
  margin: 0;
}

/* 规则标签 */
.page-home .rule-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.page-home .tag-pill--rule{
  background: rgba(255,255,255,.08);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.14);
}

.page-home .rule-detail{
  font-size: 13px;
  line-height: 1.7;
  color: var(--slate);
  margin: 0 0 16px;
}

/* 红黄牌轮次列表 */
.page-home .cards-img-wrap{
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 14px;
}

.page-home .cards-img{
  margin-bottom: 0;
  display: block;
}

.page-home .round-list{
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  border-top: 1px solid rgba(255,255,255,.08);
}

.page-home .round-list li{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.page-home .round-no{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 26px;
  padding: 0 10px;
  background: var(--navy);
  border-radius: var(--radius-pill);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}

.page-home .round-info{
  font-size: 14px;
  color: var(--slate);
}

.page-home .round-info strong{
  color: var(--white);
  font-weight: 600;
}

/* 历史交锋 */
.page-home .history-mini{
  margin: 0 0 16px;
  padding: 14px;
  background: var(--navy);
  border-radius: var(--radius-sm);
}

.page-home .history-bar{
  display: grid;
  grid-template-columns: 44px 1fr 40px;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
}

.page-home .history-bar-label{
  font-size: 12px;
  color: var(--slate);
}

.page-home .history-bar-track{
  height: 8px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.page-home .history-bar-fill{
  display: block;
  height: 100%;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--navy-panel), var(--gold));
}

.page-home .history-bar-fill--orange{
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
}

.page-home .history-bar-fill--gold{
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.page-home .history-bar-val{
  font-size: 12px;
  text-align: right;
  color: var(--white);
}

/* 内容卡片按钮统一下边距 */
.page-home .home-card > .btn{
  margin-top: 2px;
}

/* 积分榜全宽面板 */
.page-home .league-panel{
  width: 100%;
  margin: 0 0 32px;
  padding: 32px 0 0;
  background: linear-gradient(180deg, var(--navy-deep), var(--navy));
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.page-home .league-panel-inner{
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--home-shell-pad);
}

.page-home .league-panel-head{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.page-home .league-panel-head h2{
  font-family: var(--font-headline);
  font-size: 28px;
  line-height: 1.15;
  margin: 6px 0 0;
  color: var(--white);
}

.page-home .panel-status{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--slate);
  background: var(--navy);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,.07);
}

.page-home .status-dot{
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,107,0,.18);
}

/* 覆盖联赛标签 */
.page-home .league-league-tabs{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.page-home .league-league-tab{
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
  background: var(--navy);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-pill);
  padding: 7px 16px;
  user-select: none;
}

.page-home .league-league-tab.is-active{
  background: var(--orange);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(255,107,0,.25);
}

/* 积分柱状图 */
.page-home .league-bars{
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 132px;
  padding: 18px;
  background: var(--navy);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.page-home .league-bar{
  flex: 1;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--orange-light), var(--orange));
  min-height: 10px;
}

.page-home .league-bar--1{ height: 78%; }
.page-home .league-bar--2{ height: 64%; }
.page-home .league-bar--3{ height: 58%; }
.page-home .league-bar--4{ height: 49%; }
.page-home .league-bar--5{ height: 43%; }
.page-home .league-bar--6{ height: 36%; }
.page-home .league-bar--7{ height: 28%; }
.page-home .league-bar--8{ height: 21%; }

.page-home .league-bar:nth-child(2n){
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
}

.page-home .league-bar:nth-child(3n){
  background: linear-gradient(180deg, var(--navy-panel), var(--navy-panel));
  border: 1px solid rgba(255,255,255,.12);
}

/* 积分榜说明 */
.page-home .league-info{
  margin-bottom: 22px;
}

.page-home .league-info p{
  font-size: 14px;
  line-height: 1.75;
  color: var(--slate);
  margin: 0 0 12px;
}

.page-home .league-features{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-home .league-features li{
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--slate);
}

.page-home .league-features li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

/* 积分榜底部图 */
.page-home .league-img{
  display: block;
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: cover;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  margin-top: 8px;
}

/* 更新节奏区 */
.page-home .home-rhythm{
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--home-shell-pad) 40px;
}

.page-home .rhythm-inner{
  background: linear-gradient(135deg, var(--navy-panel), var(--navy-deep));
  border-radius: var(--home-radius-lg);
  padding: 24px;
  border: 1px solid rgba(255,255,255,.05);
}

.page-home .rhythm-head{
  margin-bottom: 18px;
}

.page-home .rhythm-head h2{
  font-family: var(--font-headline);
  font-size: 26px;
  line-height: 1.2;
  margin: 6px 0 0;
  color: var(--white);
}

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

.page-home .rhythm-item{
  background: var(--navy);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}

.page-home .rhythm-day{
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--orange-light);
  margin-bottom: 4px;
}

.page-home .rhythm-desc{
  font-size: 13px;
  color: var(--slate);
  line-height: 1.5;
}

.page-home .rhythm-foot{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.page-home .rhythm-trust{
  flex: 1 1 100%;
  font-size: 13px;
  line-height: 1.7;
  color: var(--slate);
}

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

  .page-home .home-context{
    padding-top: 22px;
  }

  .page-home .home-hero{
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 40px;
    padding: 48px var(--home-shell-pad) 56px;
  }

  .page-home .hero-lead{
    font-size: 16px;
  }

  .page-home .hero-visual{
    min-height: 460px;
    height: 100%;
  }

  .page-home .hero-img{
    min-height: 460px;
  }

  /* 核心卡片：2列错位布局 */
  .page-home .home-index{
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding-bottom: 56px;
  }

  .page-home .home-card{
    padding: 26px;
  }

  .page-home .home-card--rules{
    top: 56px;
  }

  .page-home .home-card--cards{
    top: -12px;
  }

  .page-home .home-card--history{
    top: 36px;
  }

  .page-home .report-meta{
    padding: 16px;
  }

  .page-home .league-panel{
    padding: 44px 0 0;
  }

  .page-home .league-panel-body{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
  }

  .page-home .league-league-tabs{
    grid-column: 1 / -1;
    margin-bottom: 4px;
  }

  .page-home .league-bars{
    height: 170px;
    padding: 20px;
    margin-bottom: 0;
  }

  .page-home .league-info{
    padding-top: 6px;
  }

  .page-home .league-img{
    max-height: 280px;
    margin-top: 16px;
  }

  .page-home .rhythm-grid{
    grid-template-columns: repeat(4, 1fr);
  }

  .page-home .rhythm-trust{
    flex: 1;
  }

  .page-home .rhythm-foot .btn{
    margin-left: 4px;
  }
}
