.page-home{
  scroll-behavior:smooth;
  background:var(--color-deep);
  color:var(--color-ivory);
  font-family:var(--font-body);
  overflow-x:hidden;
}

.page-home .home-hot{
  background:var(--color-deep);
  color:var(--color-ivory);
}

.page-home .home-chapter{
  padding:56px 0 64px;
}

.page-home .home-section-heading{
  display:flex;
  align-items:flex-start;
  gap:16px;
  margin-bottom:28px;
}

.page-home .home-section-heading .section-index{
  font-family:var(--font-heading);
  font-weight:700;
  font-size:44px;
  line-height:1;
  color:var(--color-gold);
  opacity:0.92;
  letter-spacing:-0.02em;
}

.page-home .home-section-heading h2{
  font-family:var(--font-heading);
  font-size:var(--size-h2);
  margin:0 0 6px;
  font-weight:700;
  letter-spacing:0.01em;
}

.page-home .home-section-heading .section-rule{
  display:block;
  width:68px;
  height:3px;
  background:var(--color-gold);
  border-radius:2px;
}

.page-home .home-section-heading__text{
  padding-top:6px;
}

.page-home .home-guide .home-guide__kicker,
.page-home .home-settle .home-settle__kicker{
  font-family:var(--font-heading);
  font-size:13px;
  font-weight:700;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--color-gold);
  margin:0 0 6px;
}

/* ---------- Hero ---------- */
.page-home .home-hero{
  position:relative;
  padding:40px 0 72px;
  background:linear-gradient(158deg,#0A2342 0%,#1B3A5C 58%,#0A2342 100%);
  overflow:hidden;
}

.page-home .home-hero__texture{
  position:absolute;
  inset:0;
  z-index:0;
  overflow:hidden;
}

.page-home .home-hero__texture img{
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:0.2;
}

.page-home .home-hero__texture::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(10,35,66,0.84) 0%,rgba(10,35,66,0.62) 52%,rgba(27,58,92,0.88) 100%);
}

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

.page-home .home-hero .breadcrumb{
  margin-bottom:24px;
  color:var(--color-cloud);
  font-size:14px;
}

.page-home .home-hero__grid{
  display:grid;
  gap:40px;
}

.page-home .home-hero__badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin:0 0 16px;
  padding:5px 12px;
  border:1px solid rgba(212,175,55,0.52);
  border-radius:3px;
  background:rgba(212,175,55,0.08);
  color:var(--color-gold-light);
  font-family:var(--font-heading);
  font-size:13px;
  font-weight:500;
  letter-spacing:0.06em;
}

.page-home .home-hero__title{
  margin:0 0 18px;
  font-family:var(--font-heading);
  font-size:clamp(30px,5.6vw,50px);
  line-height:1.14;
  font-weight:700;
  color:var(--color-ivory);
  letter-spacing:0.02em;
}

.page-home .home-hero__desc{
  max-width:66ch;
  margin:0 0 28px;
  color:rgba(248,245,240,0.88);
  line-height:1.82;
  font-size:15px;
}

.page-home .home-hero__stats{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
  max-width:520px;
}

.page-home .home-hero__stats .data-block{
  padding:16px 14px;
  background:rgba(10,35,66,0.5);
  border-left:2px solid var(--color-gold);
  border-radius:0 4px 4px 0;
}

.page-home .home-hero__stats .data-stat{
  display:block;
  font-family:var(--font-heading);
  font-size:26px;
  font-weight:700;
  color:var(--color-gold);
  line-height:1.15;
}

.page-home .home-hero__stats .data-stat__unit{
  font-size:14px;
  color:var(--color-cloud);
  margin-left:3px;
  font-weight:400;
}

.page-home .home-hero__stats .data-label{
  display:block;
  margin-top:6px;
  color:rgba(248,245,240,0.78);
  font-size:13px;
}

.page-home .home-hero__toc{
  background:rgba(10,35,66,0.46);
  border:1px solid rgba(212,175,55,0.28);
  border-radius:5px;
  padding:22px 20px 14px;
  backdrop-filter:blur(2px);
}

.page-home .home-toc__caption{
  margin:0 0 10px;
  font-family:var(--font-heading);
  font-size:15px;
  font-weight:700;
  color:var(--color-gold);
  letter-spacing:0.08em;
}

.page-home .home-toc{
  list-style:none;
  margin:0;
  padding:0;
}

.page-home .home-toc__item{
  border-bottom:1px solid rgba(212,175,55,0.16);
}

.page-home .home-toc__item:last-child{
  border-bottom:0;
}

.page-home .home-toc__link{
  display:flex;
  gap:14px;
  align-items:baseline;
  padding:12px 6px;
  color:rgba(248,245,240,0.82);
  text-decoration:none;
  font-family:var(--font-heading);
  font-size:14px;
  transition:background 0.24s var(--ease),color 0.24s var(--ease),padding-left 0.24s var(--ease);
}

.page-home .home-toc__link:hover{
  background:rgba(212,175,55,0.07);
  color:var(--color-gold-light);
  padding-left:14px;
}

.page-home .home-toc__num{
  color:var(--color-gold);
  font-weight:700;
  font-size:15px;
  letter-spacing:0.02em;
}

/* ---------- 浅色章节 ---------- */
.page-home .section--light{
  background:var(--color-ivory);
  color:var(--color-deep);
}

/* ---------- 对局时长 ---------- */
.page-home .home-duration{
  position:relative;
  background:
    linear-gradient(rgba(10,35,66,0.02) 1px,transparent 1px),
    linear-gradient(90deg,rgba(10,35,66,0.02) 1px,transparent 1px),
    var(--color-ivory);
  background-size:32px 32px;
}

.page-home .home-duration__body{
  display:grid;
  gap:28px;
  position:relative;
  z-index:1;
}

.page-home .home-duration__intro p{
  line-height:1.85;
  margin:0 0 14px;
  max-width:62ch;
}

.page-home .home-duration__actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:20px;
}

.page-home .btn{
  display:inline-block;
  padding:10px 22px;
  border-radius:3px;
  font-family:var(--font-heading);
  font-size:14px;
  text-decoration:none;
  line-height:1.4;
  transition:background 0.2s var(--ease),color 0.2s var(--ease),border-color 0.2s var(--ease);
}

.page-home .btn-primary{
  background:var(--color-gold);
  border:1px solid var(--color-gold);
  color:var(--color-deep);
  font-weight:700;
}

.page-home .btn-primary:hover{
  background:var(--color-gold-light);
  border-color:var(--color-gold-light);
}

.page-home .btn-ghost{
  background:transparent;
  border:1px solid var(--color-gold);
  color:var(--color-gold);
}

.page-home .btn-ghost:hover{
  background:var(--color-gold);
  color:var(--color-deep);
}

.page-home .btn-sm{
  padding:7px 16px;
  font-size:13px;
}

/* ---------- 趋势图 ---------- */
.page-home .home-trend{
  background:linear-gradient(163deg,#0A2342 0%,#1B3A5C 100%);
  border:1px solid rgba(212,175,55,0.34);
  border-radius:6px;
  padding:18px 14px 14px;
  box-shadow:0 18px 42px rgba(10,35,66,0.18);
}

.page-home .home-trend__toolbar{
  display:flex;
  justify-content:flex-end;
  gap:8px;
  margin-bottom:10px;
}

.page-home .filter-btn{
  background:transparent;
  border:1px solid rgba(212,175,55,0.45);
  color:var(--color-gold);
  padding:5px 14px;
  border-radius:3px;
  font-family:var(--font-heading);
  font-size:13px;
  cursor:pointer;
  transition:background 0.2s var(--ease),color 0.2s var(--ease);
}

.page-home .filter-btn:hover{
  border-color:var(--color-gold);
}

.page-home .filter-btn[aria-pressed="true"]{
  background:var(--color-gold);
  border-color:var(--color-gold);
  color:var(--color-deep);
  font-weight:700;
}

.page-home .home-trend__chart svg{
  display:block;
  width:100%;
  height:auto;
}

.page-home .home-chart .chart-grid-lines line{
  stroke:rgba(176,184,196,0.22);
  stroke-width:1;
}

.page-home .home-chart .chart-line{
  stroke:var(--color-data);
  stroke-width:3;
  fill:none;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.page-home .home-chart .chart-line--gold{
  stroke:var(--color-gold);
}

.page-home .home-chart .chart-area{
  opacity:0.8;
}

.page-home .home-chart .chart-dot{
  fill:var(--color-data);
  stroke:#0A2342;
  stroke-width:2;
  paint-order:stroke;
}

.page-home .home-chart .chart-dot--today{
  fill:var(--color-gold);
  stroke:var(--color-deep);
  stroke-width:3;
}

.page-home .home-chart .chart-dot--todaygold{
  fill:var(--color-gold);
}

.page-home .home-chart .chart-labels text{
  fill:rgba(248,245,240,0.72);
  font-size:12px;
  font-family:var(--font-heading);
  text-anchor:middle;
}

.page-home .home-duration__fig{
  margin-top:28px;
  border:1px solid rgba(10,35,66,0.1);
  border-radius:4px;
  box-shadow:0 10px 28px rgba(10,35,66,0.08);
}

/* ---------- 段位V4 ---------- */
.page-home .home-rank{
  background:linear-gradient(145deg,#0A2342 0%,#1B3A5C 64%,#0A2342 100%);
  color:var(--color-ivory);
}

.page-home .home-rank__body{
  display:grid;
  gap:32px;
  position:relative;
  z-index:1;
}

.page-home .home-rank__panel{
  position:relative;
  border:1px solid rgba(212,175,55,0.3);
  background:rgba(10,35,66,0.54);
  border-radius:6px;
  padding:26px 20px 20px;
  overflow:hidden;
}

.page-home .home-rank__bg{
  position:absolute;
  inset:0;
  margin:0;
  opacity:0.18;
}

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

.page-home .home-rank__donut-wrap{
  position:relative;
  z-index:1;
  display:flex;
  justify-content:center;
}

.page-home .home-rank__donut{
  width:100%;
  max-width:290px;
  height:auto;
}

.page-home .home-rank .ring{
  fill:none;
  stroke-width:24;
  stroke-linecap:butt;
}

.page-home .home-rank .ring--entry{ stroke:var(--color-cloud); }
.page-home .home-rank .ring--elite{ stroke:var(--color-data); }
.page-home .home-rank .ring--master{ stroke:var(--color-gold); }
.page-home .home-rank .ring--grand{ stroke:var(--color-crimson); }
.page-home .home-rank .ring--king{ stroke:var(--color-success); }

.page-home .home-rank .donut-center--num{
  fill:var(--color-ivory);
  font-family:var(--font-heading);
  font-size:32px;
  font-weight:700;
  text-anchor:middle;
}

.page-home .home-rank .donut-center--label{
  fill:var(--color-cloud);
  font-family:var(--font-heading);
  font-size:13px;
  letter-spacing:0.1em;
  text-anchor:middle;
}

.page-home .home-rank__legend{
  margin-top:18px;
  display:flex;
  flex-wrap:wrap;
  gap:8px 18px;
  position:relative;
  z-index:1;
}

.page-home .map-legend{
  list-style:none;
  padding:0;
}

.page-home .map-legend-item{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:13px;
  color:rgba(248,245,240,0.82);
}

.page-home .map-legend-dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background:var(--color-cloud);
  display:inline-block;
}

.page-home .map-legend-dot--entry{ background:var(--color-cloud); }
.page-home .map-legend-dot--elite{ background:var(--color-data); }
.page-home .map-legend-dot--master{ background:var(--color-gold); }
.page-home .map-legend-dot--grand{ background:var(--color-crimson); }
.page-home .map-legend-dot--king{ background:var(--color-success); }

.page-home .home-rank__info p{
  line-height:1.85;
  max-width:58ch;
}

.page-home .home-rank__list{
  margin:18px 0 22px;
  padding:0;
  list-style:none;
}

.page-home .home-rank__list li{
  position:relative;
  padding:8px 0 8px 24px;
  color:rgba(248,245,240,0.9);
  font-size:15px;
  line-height:1.6;
}

.page-home .home-rank__list li::before{
  content:"";
  position:absolute;
  left:0;
  top:14px;
  width:14px;
  height:2px;
  background:var(--color-gold);
}

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

/* ---------- 新手指引 ---------- */
.page-home .home-guide{
  background:var(--color-ivory);
  color:var(--color-deep);
}

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

.page-home .home-guide__intro > p{
  line-height:1.85;
  max-width:64ch;
  margin-bottom:22px;
}

.page-home .home-guide__steps{
  display:grid;
  gap:14px;
}

.page-home .home-guide__step{
  position:relative;
  background:#FFFFFF;
  border:1px solid rgba(10,35,66,0.08);
  border-radius:4px;
  padding:20px 18px 18px 64px;
  box-shadow:0 6px 18px rgba(10,35,66,0.05);
}

.page-home .home-guide__step-num{
  position:absolute;
  left:16px;
  top:18px;
  font-family:var(--font-heading);
  font-size:26px;
  font-weight:700;
  color:var(--color-gold);
  line-height:1.2;
}

.page-home .home-guide__step-title{
  font-family:var(--font-heading);
  font-size:17px;
  font-weight:700;
  margin:0 0 6px;
  color:var(--color-deep);
}

.page-home .home-guide__step-text{
  margin:0;
  font-size:14px;
  line-height:1.7;
  color:rgba(10,35,66,0.78);
}

.page-home .home-guide__figure{
  margin:0;
  border-radius:5px;
  border:1px solid rgba(10,35,66,0.1);
  overflow:hidden;
}

/* ---------- 结算明细 ---------- */
.page-home .home-settle{
  background:linear-gradient(160deg,#0A2342 0%,#132F4F 100%);
  color:var(--color-ivory);
}

.page-home .home-settle__intro p{
  line-height:1.85;
  max-width:66ch;
  margin-bottom:22px;
}

.page-home .home-settle__frame{
  border:1px solid rgba(212,175,55,0.3);
  border-radius:5px;
  background:rgba(10,35,66,0.28);
  padding:18px 12px 12px;
}

.page-home .home-settle__toolbar{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:14px;
}

.page-home .home-settle__table{
  width:100%;
  border-collapse:collapse;
  background:var(--color-ivory);
  color:var(--color-deep);
  border-radius:3px;
  overflow:hidden;
  font-size:14px;
}

.page-home .home-settle__table th{
  font-family:var(--font-heading);
  font-weight:700;
  text-align:left;
  padding:12px 10px;
  background:rgba(10,35,66,0.04);
  border-bottom:2px solid var(--color-gold);
  white-space:nowrap;
}

.page-home .home-settle__table td{
  padding:13px 10px;
  border-bottom:1px solid rgba(10,35,66,0.12);
  white-space:nowrap;
}

.page-home .home-settle__table tbody tr:hover{
  background:var(--color-gold-light);
}

.page-home .home-settle__amount--pos{
  color:var(--color-success);
  font-weight:700;
}

.page-home .home-settle__amount--neg{
  color:var(--color-crimson);
  font-weight:700;
}

.page-home .home-settle__table .tag{
  font-size:12px;
  padding:3px 8px;
  border-radius:2px;
  border:1px solid transparent;
}

.page-home .home-settle__table .tag--ok{
  background:rgba(39,174,96,0.12);
  color:#1E8449;
  border-color:rgba(39,174,96,0.3);
}

.page-home .home-settle__note{
  margin:12px 4px 0;
  font-size:13px;
  color:rgba(248,245,240,0.7);
  line-height:1.6;
}

/* ---------- 动态与信任 ---------- */
.page-home .home-trust{
  background:var(--color-ivory);
  color:var(--color-deep);
}

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

.page-home .home-news__title{
  font-family:var(--font-heading);
  font-size:20px;
  font-weight:700;
  color:var(--color-deep);
  margin:0 0 16px;
  padding-left:12px;
  border-left:4px solid var(--color-gold);
}

.page-home .home-news__list{
  list-style:none;
  margin:0 0 16px;
  padding:0;
  display:grid;
  gap:12px;
}

.page-home .home-news__item{
  background:#FFFFFF;
  border:1px solid rgba(10,35,66,0.08);
  border-left:4px solid var(--color-gold);
  border-radius:3px;
  padding:14px 16px;
  display:grid;
  gap:6px;
}

.page-home .home-news__item .tag{
  justify-self:start;
  font-size:12px;
  padding:3px 8px;
  border-radius:2px;
}

.page-home .home-news__item p{
  margin:0;
  font-size:15px;
  line-height:1.6;
}

.page-home .home-news__link{
  color:var(--color-deep);
  font-family:var(--font-heading);
  font-size:13px;
  text-decoration:underline;
  text-underline-offset:3px;
  width:fit-content;
}

.page-home .home-news__link:hover{
  color:var(--color-gold);
}

.page-home .home-news__more{
  margin-top:4px;
}

.page-home .home-trust__side{
  display:grid;
  gap:20px;
  align-content:start;
}

.page-home .home-trust__statement{
  background:linear-gradient(135deg,#0A2342 0%,#1B3A5C 100%);
  color:var(--color-ivory);
  border-left:5px solid var(--color-gold);
  border-radius:4px;
  padding:24px;
  margin:0;
}

.page-home .home-trust__statement p{
  margin:0;
  font-size:16px;
  line-height:1.8;
}

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

.page-home .home-trust__facts .data-block{
  background:#FFFFFF;
  border:1px solid rgba(10,35,66,0.08);
  border-top:3px solid var(--color-gold);
  border-radius:3px;
  padding:14px 12px;
}

.page-home .home-trust__facts .data-stat{
  display:block;
  font-family:var(--font-heading);
  font-size:24px;
  font-weight:700;
  color:var(--color-deep);
  line-height:1.2;
}

.page-home .home-trust__facts .data-stat__unit{
  font-size:13px;
  color:var(--color-cloud);
  font-weight:400;
}

.page-home .home-trust__facts .data-label{
  display:block;
  margin-top:5px;
  font-size:13px;
  color:rgba(10,35,66,0.72);
}

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

.page-home .home-trust__certs li{
  position:relative;
  padding:9px 12px 9px 34px;
  background:#FFFFFF;
  border:1px solid rgba(10,35,66,0.08);
  border-radius:3px;
  font-size:14px;
  line-height:1.5;
}

.page-home .home-trust__certs li::before{
  content:"✓";
  position:absolute;
  left:12px;
  top:8px;
  color:var(--color-gold);
  font-weight:700;
}

.page-home .home-trust__meta{
  border-top:1px dashed rgba(10,35,66,0.18);
  padding-top:16px;
  font-size:14px;
  line-height:1.8;
  color:rgba(10,35,66,0.72);
}

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

.page-home .tag{
  display:inline-block;
  font-size:12px;
  padding:3px 8px;
  border-radius:2px;
}

.page-home .tag--crimson{
  background:rgba(192,57,43,0.08);
  color:var(--color-crimson);
  border:1px solid rgba(192,57,43,0.25);
}

.page-home .figure-frame{
  display:block;
  position:relative;
  overflow:hidden;
}

.page-home .figure-frame img{
  display:block;
  width:100%;
  height:auto;
  object-fit:cover;
  max-width:100%;
}

.page-home .figure-frame[data-figure-caption]::after{
  content:attr(data-figure-caption);
  display:block;
  padding:8px 12px;
  background:rgba(10,35,66,0.06);
  color:rgba(10,35,66,0.6);
  font-size:12px;
  line-height:1.5;
}

.page-home .section--dark .figure-frame[data-figure-caption]::after{
  background:rgba(248,245,240,0.08);
  color:rgba(248,245,240,0.65);
}

/* ---------- 桌面适配 ---------- */
@media (min-width:768px){
  .page-home .home-hero__grid{
    grid-template-columns:1.2fr 0.8fr;
    column-gap:52px;
  }

  .page-home .home-hero__stats{
    grid-template-columns:repeat(4,1fr);
    max-width:none;
  }

  .page-home .home-toc__link{
    font-size:15px;
  }

  .page-home .home-duration__body{
    grid-template-columns:0.9fr 1.1fr;
    align-items:start;
  }

  .page-home .home-rank__body{
    grid-template-columns:0.95fr 1.05fr;
    align-items:center;
  }

  .page-home .home-guide__body{
    grid-template-columns:1.25fr 0.75fr;
    align-items:start;
  }

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

  .page-home .home-trust__grid{
    grid-template-columns:1fr 1fr;
    align-items:start;
  }

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

@media (min-width:1024px){
  .page-home .home-chapter{
    padding:72px 0 80px;
  }

  .page-home .home-duration__fig{
    position:absolute;
    right:0;
    top:42%;
    width:300px;
    opacity:0.45;
    transform:rotate(2.5deg);
    z-index:0;
    pointer-events:none;
  }

  .page-home .home-trend{
    padding:22px 20px 16px;
  }

  .page-home .home-settle__frame{
    padding:22px 20px 16px;
  }

  .page-home .home-settle__table th,
  .page-home .home-settle__table td{
    padding:14px 16px;
    font-size:15px;
  }

  .page-home .home-guide__step{
    padding:24px 22px 22px 72px;
  }

  .page-home .home-guide__step-num{
    left:20px;
    font-size:30px;
  }

  .page-home .home-trust__statement{
    padding:28px;
    font-size:17px;
  }
}

@media (min-width:1200px){
  .page-home .home-hero{
    padding:56px 0 88px;
  }

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

  .page-home .home-trust__grid{
    grid-template-columns:1.1fr 0.9fr;
  }

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