.page-home{
  --home-radius: 4px;
  --home-shadow: 0 6px 18px rgba(0,0,0,.18);
  --home-shadow-sm: 0 3px 10px rgba(0,0,0,.12);
  --home-gap-lg: 72px;
  --home-gap-md: 44px;
  font-family: var(--font-body);
  color: var(--c-text);
  background: var(--c-card-cream);
  line-height: 1.55;
  overflow-x: clip;
}
.page-home .section-dark{
  background: linear-gradient(135deg, var(--c-bg-brown) 0%, #2c1710 60%, #24100e 100%);
}
.page-home .section-red{
  background: linear-gradient(145deg, var(--c-bg-red) 0%, #3a1010 100%);
}
.page-home .section-cream{
  background: var(--c-card-cream);
}
.page-home .section-sand{
  background: #ede0c0;
}
.page-home .section-label{
  display: inline-block;
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-accent-orange);
  font-weight: 700;
}
.page-home .section-label--orange{
  color: var(--c-accent-orange);
}
.page-home .zone-head{
  max-width: var(--maxw);
  margin: 0 auto var(--home-gap-md);
  padding: 0 20px;
}
.page-home .zone-head h2{
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  margin: 6px 0 0;
}
.page-home .zone-head .zone-desc{
  max-width: 720px;
  margin: 10px 0 0;
  font-size: 15px;
  color: rgba(26,26,26,.74);
}
.page-home .zone-head--light h2{
  color: var(--c-on-dark);
}
.page-home .zone-head--light .zone-desc{
  color: rgba(245,230,200,.72);
}

/* 顶部状态条 */
.page-home .home-statusbar{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 20px;
  border-bottom: 1px solid var(--c-border);
}
.page-home .breadcrumb{
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-label);
  font-size: 13px;
  color: rgba(26,26,26,.7);
}
.page-home .breadcrumb a{
  color: var(--c-accent-orange);
  text-decoration: none;
}
.page-home .breadcrumb .crumb-sep{
  opacity: .45;
}
.page-home .breadcrumb .crumb-now{
  color: var(--c-text);
}
.page-home .status-meta{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.page-home .batch-chip{
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  background: var(--c-bg-brown);
  color: var(--c-on-dark);
  font-family: var(--font-label);
  font-size: 12px;
  border-radius: var(--home-radius);
  letter-spacing: .06em;
}
.page-home .live-chip{
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  background: rgba(211,47,47,.12);
  border: 1px solid var(--c-live);
  color: var(--c-live);
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--home-radius);
}
.page-home .live-dot{
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-live);
  box-shadow: 0 0 0 3px rgba(211,47,47,.22);
  margin-right: 6px;
}
.page-home .batch-chip + .live-chip{
  margin-left: 2px;
}

/* 首屏最新批次 */
.page-home .latest-batch-zone{
  padding: 56px 0 64px;
}
.page-home .latest-inner{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}
.page-home .latest-batch-head{
  max-width: 860px;
  margin-bottom: 34px;
}
.page-home .latest-batch-head h1{
  font-family: var(--font-heading);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  color: var(--c-on-dark);
  margin: 10px 0 14px;
  font-weight: 700;
}
.page-home .batch-desc{
  color: rgba(245,230,200,.82);
  font-size: 16px;
  max-width: 680px;
  margin: 0;
}
.page-home .batch-hscroll{
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 6px 4px 22px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.page-home .batch-hscroll::-webkit-scrollbar{
  height: 8px;
}
.page-home .batch-hscroll::-webkit-scrollbar-thumb{
  background: var(--c-accent-orange);
  border-radius: 4px;
}
.page-home .batch-hscroll::-webkit-scrollbar-track{
  background: rgba(245,230,200,.14);
}
.page-home .batch-card{
  flex: 0 0 260px;
  scroll-snap-align: start;
  display: block;
  background: var(--c-card-yellow);
  border-radius: var(--home-radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--c-text);
  box-shadow: var(--home-shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.page-home .batch-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--home-shadow);
}
.page-home .batch-card .media-cover{
  position: relative;
}
.page-home .media-cover--wide{
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #5c3a2a;
}
.page-home .media-cover img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.page-home .batch-card-body{
  padding: 12px 14px 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.page-home .batch-card-title{
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
}
.page-home .corner-badge{
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--c-accent-orange);
  color: #1a1a1a;
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 2px;
  letter-spacing: .04em;
}
.page-home .batch-more{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.page-home .btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border-radius: var(--home-radius);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}
.page-home .btn-primary{
  background: var(--c-accent-orange);
  color: #1a1a1a;
}
.page-home .btn-primary:hover{
  transform: translateY(-2px);
}
.page-home .btn-ghost-dark{
  border: 1px solid rgba(245,230,200,.5);
  color: var(--c-on-dark);
}
.page-home .btn-ghost-dark:hover{
  background: rgba(245,230,200,.1);
}

/* 分区磁贴 */
.page-home .partition-zone{
  padding: 64px 0;
}
.page-home .partition-zone .zone-desc{
  color: rgba(245,230,200,.78);
}
.page-home .tile-matrix{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.page-home .tile{
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 148px;
  padding: 20px;
  text-decoration: none;
  color: #fff;
  border-radius: var(--home-radius);
  overflow: hidden;
  box-shadow: var(--home-shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.page-home .tile:hover{
  transform: translateY(-3px) scale(1.01);
  box-shadow: var(--home-shadow);
}
.page-home .tile-name{
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}
.page-home .tile-count{
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  margin-top: 8px;
}
.page-home .tile-unit{
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: .1em;
  opacity: .82;
  margin-top: 2px;
}
.page-home .tile-deco{
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 90px;
  height: 90px;
  border: 2px solid rgba(255,255,255,.22);
  transform: rotate(45deg);
  border-radius: 4px;
}
.page-home .tile-deco::after{
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px dashed rgba(255,255,255,.3);
  border-radius: 2px;
}
.page-home .tile-tv-img{
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 80px;
  height: 80px;
  object-fit: cover;
  opacity: .35;
  border-radius: var(--home-radius);
  pointer-events: none;
}
.page-home .tile-blue{ background: var(--c-tag-blue); }
.page-home .tile-red{ background: #b83737; }
.page-home .tile-green{ background: #0e9e58; }
.page-home .tile-purple{ background: var(--c-tag-purple); }
.page-home .tile-orange{ background: #e07600; }
.page-home .tile-brown{ background: #7a4e2d; }

/* 热门榜 */
.page-home .hot-zone{
  padding: 64px 0;
}
.page-home .hot-head{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.page-home .hot-badge-img{
  width: 60px;
  height: 60px;
  object-fit: contain;
  opacity: .85;
}
.page-home .hot-list{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}
.page-home .hot-row{
  display: grid;
  grid-template-columns: 40px 1fr 112px 86px;
  gap: 12px;
  align-items: center;
  padding: 14px 10px;
  border-bottom: 1px solid rgba(215,204,200,.6);
  transition: background .2s ease;
}
.page-home .hot-row:hover{
  background: rgba(255,140,0,.07);
}
.page-home .hot-row.is-hot{
  background: linear-gradient(90deg, rgba(255,140,0,.16), rgba(255,140,0,.03));
  border-left: 4px solid var(--c-accent-orange);
  padding-left: 12px;
}
.page-home .seq-num{
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: rgba(26,26,26,.4);
  text-align: center;
}
.page-home .seq-hot{
  color: var(--c-accent-green);
  font-size: 26px;
}
.page-home .hot-main{
  min-width: 0;
}
.page-home .hot-title{
  display: block;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.page-home .hot-sub{
  display: block;
  font-size: 13px;
  color: rgba(26,26,26,.6);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.page-home .hot-metric{
  display: flex;
  align-items: center;
  gap: 8px;
}
.page-home .metric-bar{
  flex: 1;
  height: 8px;
  background: rgba(26,26,26,.1);
  border-radius: 4px;
  overflow: hidden;
  min-width: 40px;
}
.page-home .metric-fill{
  display: block;
  height: 100%;
  border-radius: 4px;
  min-width: 2px;
}
.page-home .metric-fill--red{ background: var(--c-live); }
.page-home .metric-fill--green{ background: var(--c-accent-green); }
.page-home .metric-fill--blue{ background: var(--c-tag-blue); }
.page-home .metric-val{
  font-family: var(--font-label);
  font-size: 14px;
  font-weight: 700;
  color: var(--c-text);
  width: 22px;
  text-align: right;
}
.page-home .hot-duration{
  font-family: var(--font-label);
  font-size: 13px;
  color: rgba(26,26,26,.68);
  text-align: right;
  white-space: nowrap;
}

/* 频道清单 */
.page-home .channel-zone{
  padding: 64px 0;
}
.page-home .filter-bar{
  max-width: var(--maxw);
  margin: 0 auto 26px;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.page-home .index-bar{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.page-home .index-item{
  appearance: none;
  border: 1px solid rgba(26,26,26,.28);
  background: transparent;
  color: var(--c-text);
  font-family: var(--font-label);
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.page-home .index-item.is-active,
.page-home .index-item:hover{
  background: var(--c-text);
  color: var(--c-card-cream);
  border-color: var(--c-text);
}
.page-home .filter-status{
  font-family: var(--font-label);
  font-size: 12px;
  color: rgba(26,26,26,.6);
}
.page-home .filter-status--light{
  color: rgba(245,230,200,.7);
}
.page-home .channel-grid{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.page-home .channel-card{
  display: block;
  background: var(--c-card-cream);
  border-radius: var(--home-radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--c-text);
  box-shadow: var(--home-shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.page-home .channel-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--home-shadow);
}
.page-home .channel-card .media-cover{
  position: relative;
}
.page-home .channel-card .corner-badge{
  background: var(--c-accent-green);
  color: #fff;
}
.page-home .media-cover--thumb{
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #4a3020;
}
.page-home .channel-body{
  padding: 12px 14px 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.page-home .channel-name{
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
}
.page-home .tag{
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 9px;
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 700;
  border-radius: 2px;
  letter-spacing: .03em;
}
.page-home .tag-yellow{ background: #f4d03f; color: #6b4e00; }
.page-home .tag-red{ background: var(--c-live); color: #fff; }
.page-home .tag-green{ background: var(--c-accent-green); color: #fff; }
.page-home .tag-blue{ background: var(--c-tag-blue); color: #fff; }
.page-home .tag-purple{ background: var(--c-tag-purple); color: #fff; }
.page-home .tag-orange{ background: var(--c-accent-orange); color: #1a1a1a; }
.page-home .tag-gray{ background: var(--c-cached); color: #fff; }

/* 回放归档 */
.page-home .replay-zone{
  padding: 64px 0;
}
.page-home .replay-inner{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}
.page-home .replay-layout{
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.page-home .replay-filter-col{
  min-width: 0;
}
.page-home .tag-cloud{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.page-home .tag-cloud .tag{
  height: auto;
  padding: 7px 13px;
  font-size: 12px;
  cursor: pointer;
  border: none;
  appearance: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.page-home .tag-cloud .tag:hover{
  transform: translateY(-2px);
  box-shadow: var(--home-shadow-sm);
}
.page-home .tag-cloud .tag:nth-child(1){ font-size: 18px; }
.page-home .tag-cloud .tag:nth-child(2){ font-size: 17px; }
.page-home .tag-cloud .tag:nth-child(3){ font-size: 16px; }
.page-home .tag-cloud .tag:nth-child(4){ font-size: 16px; }
.page-home .tag-cloud .tag:nth-child(5){ font-size: 14px; }
.page-home .tag-cloud .tag:nth-child(6){ font-size: 14px; }
.page-home .tag-cloud .tag:nth-child(7){ font-size: 14px; }
.page-home .tag-cloud .tag:nth-child(8){ font-size: 13px; }
.page-home .tag-cloud .tag:nth-child(n+9){ font-size: 12px; }
.page-home .entry-list{
  min-width: 0;
  background: var(--c-card-yellow);
  border-radius: var(--home-radius);
  box-shadow: var(--home-shadow-sm);
  overflow: hidden;
}
.page-home .entry-row{
  display: grid;
  grid-template-columns: 28px 1fr 74px;
  gap: 8px 10px;
  align-items: center;
  padding: 13px 16px;
  border-bottom: 1px solid rgba(62,39,35,.12);
  transition: background .2s ease;
}
.page-home .entry-row:last-child{
  border-bottom: none;
}
.page-home .entry-row:hover{
  background: rgba(255,140,0,.08);
}
.page-home .entry-seq{
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 700;
  color: var(--c-accent-orange);
  text-align: center;
}
.page-home .entry-main{
  min-width: 0;
}
.page-home .entry-title{
  display: block;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.page-home .entry-sub{
  display: block;
  font-size: 12px;
  color: rgba(26,26,26,.58);
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.page-home .entry-time{
  font-family: var(--font-label);
  font-size: 12px;
  color: rgba(26,26,26,.66);
  text-align: right;
  white-space: nowrap;
}
.page-home .entry-actions{
  grid-column: 1 / -1;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}
.page-home .action-chip{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 12px;
  font-family: var(--font-label);
  font-size: 12px;
  text-decoration: none;
  color: var(--c-bg-brown);
  border: 1px solid rgba(62,39,35,.4);
  border-radius: 999px;
  transition: background .2s;
}
.page-home .action-chip:hover{
  background: rgba(62,39,35,.08);
}
.page-home .action-chip--hot{
  background: var(--c-accent-orange);
  border-color: var(--c-accent-orange);
  color: #1a1a1a;
}
.page-home .action-chip--hot:hover{
  background: #e07600;
}

/* 设置速览 */
.page-home .guide-zone{
  padding: 64px 0;
}
.page-home .compare-grid{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.page-home .compare-card{
  padding: 24px;
  border-radius: var(--home-radius);
  box-shadow: var(--home-shadow-sm);
  border-left: 4px solid var(--c-accent-orange);
}
.page-home .compare-card--yellow{
  background: var(--c-card-yellow);
}
.page-home .compare-card--cream{
  background: var(--c-card-cream);
  border-left-color: var(--c-accent-green);
}
.page-home .compare-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--c-bg-brown);
  color: var(--c-on-dark);
  font-size: 16px;
  border-radius: var(--home-radius);
  margin-bottom: 14px;
}
.page-home .compare-card h3{
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
}
.page-home .compare-card p{
  font-size: 14px;
  color: rgba(26,26,26,.72);
  margin: 0 0 16px;
}
.page-home .compare-card .btn{
  min-height: 36px;
  font-size: 13px;
}

/* 动效 */
.page-home [data-reveal]{
  opacity: 1;
  transform: none;
  transition: opacity .4s ease, transform .4s ease;
}
@media (prefers-reduced-motion: no-preference){
  .page-home [data-reveal]{
    opacity: 0;
    transform: translateY(16px);
  }
  .page-home [data-reveal][data-revealed]{
    opacity: 1;
    transform: none;
  }
}

/* 响应式：超过 640px */
@media (min-width: 640px){
  .page-home .tile-matrix{
    grid-template-columns: repeat(2, 1fr);
  }
  .page-home .hot-row{
    grid-template-columns: 44px 1fr 160px 90px;
  }
  .page-home .channel-grid{
    grid-template-columns: repeat(3, 1fr);
  }
  .page-home .entry-row{
    grid-template-columns: 32px 1fr 100px auto;
    gap: 8px 14px;
  }
  .page-home .entry-actions{
    grid-column: auto;
  }
  .page-home .compare-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 响应式：超过 1080px */
@media (min-width: 1080px){
  .page-home .tile-matrix{
    grid-template-columns: repeat(3, 1fr);
  }
  .page-home .hot-list{
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 28px;
  }
  .page-home .hot-row:nth-child(1){
    border-top: 1px solid rgba(215,204,200,.6);
  }
  .page-home .channel-grid{
    grid-template-columns: repeat(4, 1fr);
  }
  .page-home .replay-layout{
    grid-template-columns: 260px 1fr;
    gap: 32px;
    align-items: start;
  }
  .page-home .replay-filter-col{
    position: sticky;
    top: calc(var(--header-h) + 20px);
  }
  .page-home .compare-grid{
    grid-template-columns: repeat(3, 1fr);
  }
}
</PAGE_CSS>
