:root {
  --clr-bg:#ffffff;
  --clr-surface:#f6f7fb;
  --clr-border:#e8eaf0;
  --clr-text:#12141a;
  --clr-muted:#7a8092;
  --clr-primary:#0f766e;
  --clr-accent:#14b8a6;
  --clr-ink:#0b1220;
  --radius-md:14px;
  --radius-sm:8px;
  --radius-pill:999px;
  --shadow-card:0 1px 2px rgba(15,23,42,.06), 0 4px 14px rgba(15,23,42,.05);
}

*{box-sizing:border-box;}

html{-webkit-text-size-adjust:100%;}

body{
  margin:0;
  background:var(--clr-bg);
  color:var(--clr-text);
  font-family:system-ui,"PingFang SC","Microsoft YaHei",sans-serif;
  font-size:16px;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}

img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

a{-webkit-tap-highlight-color:transparent;}

:focus-visible{
  outline:2px solid var(--clr-primary);
  outline-offset:2px;
}

/* ---------- header ---------- */
.site-header{
  background:#fff;
  border-bottom:1px solid var(--clr-border);
}
.header-inner{
  max-width:1080px;
  margin:0 auto;
  padding:0 20px;
  height:68px;
  display:flex;
  align-items:center;
  gap:28px;
}
.logo{
  font-size:21px;
  font-weight:800;
  letter-spacing:-.02em;
  text-decoration:none;
  white-space:nowrap;
  max-width:260px;
  overflow:hidden;
  text-overflow:ellipsis;
  background:linear-gradient(90deg,var(--clr-primary),var(--clr-accent));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.nav-main{
  display:flex;
  gap:22px;
  margin-left:auto;
}
.nav-main a{
  padding:4px 0;
  font-size:15px;
  color:var(--clr-text);
  text-decoration:none;
  border-bottom:2px solid transparent;
  transition:color .2s,border-color .2s;
}
.nav-main a:hover{
  color:var(--clr-primary);
  border-bottom-color:var(--clr-primary);
}
.menu-btn{display:none;}

/* ---------- container ---------- */
.container{
  max-width:1080px;
  margin:0 auto;
  padding:0 32px;
}
.container > section{margin-bottom:64px;}
.container > section:last-of-type{margin-bottom:0;}

/* ---------- breadcrumb ---------- */
.breadcrumb{
  margin-top:20px;
  font-size:13px;
  color:var(--clr-muted);
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  align-items:center;
}
.breadcrumb a{
  color:var(--clr-muted);
  text-decoration:none;
  transition:color .2s;
}
.breadcrumb a:hover{color:var(--clr-primary);}

/* ---------- section title ---------- */
.section-title{
  font-size:26px;
  font-weight:700;
  line-height:1.3;
  margin:0 0 24px;
  color:var(--clr-ink);
}
.section-title::after{
  content:"";
  display:block;
  width:40px;
  height:3px;
  background:linear-gradient(90deg,var(--clr-primary),var(--clr-accent));
  border-radius:2px;
  margin-top:12px;
}

/* ---------- hero ---------- */
.hero-rank{
  position:relative;
  overflow:hidden;
  background:var(--clr-ink);
  color:#fff;
  padding:48px 40px 40px;
  border-radius:var(--radius-md);
  margin:24px 0 56px;
}
.hero-rank::before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:4px;
  background:linear-gradient(90deg,var(--clr-primary),var(--clr-accent));
}
.hero-rank::after{
  content:"";
  position:absolute;
  right:-90px;
  top:-130px;
  width:380px;
  height:380px;
  border-radius:50%;
  background:var(--clr-primary);
  opacity:.22;
  filter:blur(90px);
  pointer-events:none;
}
.hero-rank > *{position:relative;z-index:1;}
.hero-rank h1{
  color:#fff;
  font-size:clamp(30px,4.6vw,42px);
  font-weight:800;
  line-height:1.2;
  letter-spacing:-.02em;
  margin:0 0 24px;
}
.hero-figure{margin:0 0 24px;}
.hero-figure img{
  width:100%;
  height:auto;
  aspect-ratio:16/9;
  object-fit:cover;
  border-radius:var(--radius-sm);
  display:block;
}
.hero-sub{
  font-size:17px;
  line-height:1.8;
  color:rgba(255,255,255,.72);
  margin:0 0 12px;
  max-width:820px;
}
.hero-stats{
  display:flex;
  flex-wrap:wrap;
  gap:20px 48px;
  list-style:none;
  margin:28px 0 24px;
  padding:24px 0 0;
  border-top:1px solid rgba(255,255,255,.12);
}
.hero-stats li{
  display:flex;
  flex-direction:column;
  gap:4px;
}
.hero-stats strong{
  font-size:26px;
  font-weight:800;
  color:var(--clr-accent);
  font-variant-numeric:tabular-nums;
  line-height:1;
}
.hero-stats span{
  font-size:12px;
  color:rgba(255,255,255,.55);
}
.hero-update{
  font-size:13px;
  color:rgba(255,255,255,.5);
  margin:0 0 18px;
}
.rank-criteria{
  display:flex;
  flex-wrap:wrap;
  gap:10px 22px;
  list-style:none;
  margin:0;
  padding:0;
  font-size:14px;
}
.rank-criteria li{
  display:flex;
  align-items:center;
  gap:8px;
  color:rgba(255,255,255,.78);
}
.rank-criteria li::before{
  content:"";
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--clr-accent);
}

/* ---------- summary ---------- */
.rank-summary p{
  font-size:16px;
  line-height:1.85;
  margin:0 0 16px;
  max-width:820px;
}

/* ---------- changes ---------- */
.changes-intro{
  font-size:15px;
  color:var(--clr-muted);
  margin:0 0 16px;
}
.change-list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.change-item{
  display:flex;
  gap:14px;
  align-items:flex-start;
  padding:14px 16px;
  background:var(--clr-surface);
  border-radius:8px;
  box-shadow:var(--shadow-card);
}
.change-tag{
  flex:0 0 auto;
  font-size:12px;
  font-weight:700;
  padding:3px 10px;
  border-radius:var(--radius-pill);
  background:#fff;
  color:var(--clr-primary);
  border:1px solid var(--clr-primary);
}
.change-text{
  margin:0;
  font-size:15px;
  line-height:1.7;
}

/* ---------- rank board ---------- */
.rank-item{
  display:grid;
  grid-template-columns:96px 160px 1fr;
  gap:24px;
  padding:28px 0;
  border-bottom:1px solid var(--clr-border);
  align-items:start;
  transition:background .2s,border-radius .2s;
}
.rank-item:hover{
  background:var(--clr-surface);
  border-radius:var(--radius-md);
}
.rank-no{
  font-size:56px;
  font-weight:800;
  line-height:1;
  color:var(--clr-border);
  font-variant-numeric:tabular-nums;
  text-align:center;
  padding-top:4px;
}
.rank-item.is-top{
  background:var(--clr-surface);
  border-radius:var(--radius-md);
  padding:28px 24px;
  box-shadow:inset 3px 0 0 var(--clr-primary);
}
.rank-item.is-top .rank-no{
  color:var(--clr-primary);
}
.rank-poster{display:block;}
.rank-poster img{
  width:160px;
  height:214px;
  object-fit:cover;
  border-radius:8px;
  display:block;
}
.rank-body{min-width:0;}
.rank-name{
  font-size:20px;
  font-weight:700;
  line-height:1.4;
  margin:0 0 10px;
}
.rank-name a{
  color:inherit;
  text-decoration:none;
  transition:color .2s;
}
.rank-name a:hover{color:var(--clr-primary);}
.rank-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px 16px;
  align-items:center;
  margin-bottom:12px;
  font-size:14px;
  color:var(--clr-muted);
}
.rank-score{
  font-size:17px;
  font-weight:800;
  color:var(--clr-primary);
  font-variant-numeric:tabular-nums;
}
.rank-score::after{
  content:" 分";
  font-size:12px;
  font-weight:600;
}
.rank-desc{
  font-size:15px;
  line-height:1.75;
  margin:0 0 12px;
  color:var(--clr-text);
}
.rank-points{
  list-style:none;
  margin:0 0 12px;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:6px;
}
.rank-points li{
  font-size:14px;
  line-height:1.6;
  color:var(--clr-muted);
  padding-left:16px;
  position:relative;
}
.rank-points li::before{
  content:"";
  position:absolute;
  left:0;
  top:.62em;
  width:6px;
  height:6px;
  border-radius:1px;
  background:var(--clr-primary);
  transform:rotate(45deg);
}
.rank-fit{
  font-size:13px;
  color:var(--clr-muted);
  background:var(--clr-surface);
  border-radius:4px;
  padding:6px 10px;
  margin:0 0 12px;
  display:inline-block;
}
.rank-link{
  display:inline-block;
  font-size:14px;
  color:var(--clr-primary);
  text-decoration:none;
  transition:color .2s;
}
.rank-link::after{content:" ›";}

/* ---------- sub rank ---------- */
.sub-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:20px;
}
.sub-card{
  border:1px solid var(--clr-border);
  border-radius:10px;
  padding:18px 20px;
  box-shadow:var(--shadow-card);
  transition:transform .2s,box-shadow .2s;
}
.sub-card:hover{
  transform:translateY(-2px);
  box-shadow:0 2px 4px rgba(15,23,42,.08),0 8px 22px rgba(15,23,42,.08);
}
.sub-title{
  font-size:15px;
  font-weight:700;
  margin:0 0 12px;
  padding-bottom:10px;
  border-bottom:1px solid var(--clr-border);
}
.sub-list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.sub-item{
  display:flex;
  gap:10px;
  align-items:baseline;
  font-size:15px;
}
.sub-no{
  flex:0 0 18px;
  font-size:13px;
  font-weight:700;
  color:var(--clr-primary);
  font-variant-numeric:tabular-nums;
}
.sub-item a{
  color:var(--clr-text);
  text-decoration:none;
  transition:color .2s;
}
.sub-item a:hover{color:var(--clr-primary);}

/* ---------- compare table ---------- */
.table-wrap{
  width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}
.compare-table{
  width:100%;
  min-width:760px;
  border-collapse:collapse;
  font-size:14px;
}
.compare-table caption{
  caption-side:top;
  text-align:left;
  font-size:13px;
  color:var(--clr-muted);
  padding:0 0 10px;
}
.compare-table th,
.compare-table td{
  padding:10px 12px;
  border-bottom:1px solid var(--clr-border);
  text-align:left;
  white-space:nowrap;
}
.compare-table thead th{
  background:var(--clr-surface);
  font-size:13px;
  font-weight:700;
  color:var(--clr-muted);
  border-bottom:2px solid var(--clr-border);
}
.compare-table tbody tr:nth-child(even){background:var(--clr-surface);}
.compare-table tbody tr:hover{background:var(--clr-surface);}
.compare-table tbody td:first-child{
  font-weight:700;
  color:var(--clr-muted);
  text-align:center;
}
.compare-table tbody td:nth-child(6){
  font-weight:800;
  color:var(--clr-primary);
  font-variant-numeric:tabular-nums;
}

/* ---------- score method ---------- */
.score-method p{
  font-size:15px;
  line-height:1.8;
  color:var(--clr-muted);
  margin:0 0 18px;
}
.method-list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:18px;
}
.method-item{
  padding-left:18px;
  border-left:3px solid var(--clr-border);
}
.method-title{
  font-size:16px;
  font-weight:700;
  margin:0 0 6px;
}
.method-item p{
  font-size:15px;
  line-height:1.75;
  margin:0;
  color:var(--clr-muted);
}
.method-note{
  font-size:15px;
  line-height:1.8;
  color:var(--clr-muted);
  margin:18px 0 0;
}

/* ---------- howto ---------- */
.howto-list{
  list-style:none;
  margin:0;
  padding:0;
  counter-reset:step;
}
.howto-item{
  counter-increment:step;
  padding:20px 0 20px 52px;
  border-bottom:1px solid var(--clr-border);
  position:relative;
}
.howto-item::before{
  content:counter(step);
  position:absolute;
  left:0;
  top:20px;
  width:34px;
  height:34px;
  border-radius:50%;
  background:var(--clr-surface);
  color:var(--clr-primary);
  font-size:15px;
  font-weight:700;
  display:flex;
  align-items:center;
  justify-content:center;
}
.howto-title{
  font-size:17px;
  font-weight:700;
  margin:0 0 8px;
}
.howto-desc{
  font-size:15px;
  line-height:1.75;
  margin:0;
  color:var(--clr-muted);
}

/* ---------- editor pick ---------- */
.pick-intro{
  font-size:15px;
  color:var(--clr-muted);
  margin:0 0 20px;
}
.pick-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:24px;
}
.pick-card{
  display:flex;
  flex-direction:column;
}
.pick-card img{
  width:100%;
  height:auto;
  aspect-ratio:16/9;
  object-fit:cover;
  border-radius:8px;
  display:block;
  filter:grayscale(.35);
}
.pick-title{
  font-size:17px;
  font-weight:700;
  margin:12px 0 8px;
}
.pick-meta{
  font-size:13px;
  color:var(--clr-muted);
  margin:0 0 8px;
}
.pick-desc{
  font-size:14px;
  line-height:1.7;
  color:var(--clr-muted);
  margin:0;
}
.pick-link{
  font-size:14px;
  color:var(--clr-primary);
  text-decoration:none;
  margin-top:12px;
  transition:color .2s;
}
.pick-link:hover{color:var(--clr-accent);}

/* ---------- faq ---------- */
.faq-list{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin:0;
}
.faq-q{
  font-size:16px;
  font-weight:700;
  margin:0 0 10px;
  color:var(--clr-ink);
}
.faq-q::before{
  content:"Q";
  margin-right:9px;
  color:var(--clr-muted);
  font-weight:800;
}
.faq-a{
  font-size:15px;
  line-height:1.8;
  color:var(--clr-muted);
  margin:0;
}
.faq-a::before{
  content:"A";
  margin-right:9px;
  font-weight:700;
}

/* ---------- footer ---------- */
.site-footer{
  margin-top:64px;
  padding:44px 0 26px;
  background:var(--clr-surface);
  border-top:1px solid var(--clr-border);
}
.footer-inner{
  max-width:1080px;
  margin:0 auto;
}
.footer-about{
  padding:0 20px;
  margin:0 auto 28px;
}
.footer-title{
  font-size:15px;
  font-weight:700;
  margin:0 0 12px;
  color:var(--clr-ink);
}
.footer-about p{
  font-size:13px;
  color:var(--clr-muted);
  line-height:1.7;
  margin:0;
  max-width:820px;
}
.friend-links{
  max-width:1080px;
  margin:0 auto;
  padding:18px 20px;
  display:flex;
  flex-wrap:wrap;
  gap:8px 18px;
  border-top:1px dashed var(--clr-border);
  font-size:13px;
  color:var(--clr-muted);
}
.friend-links span{font-size:13px;color:var(--clr-muted);}
.friend-links a{
  font-size:13px;
  color:var(--clr-muted);
  text-decoration:none;
  transition:color .2s;
}
.friend-links a:hover{color:var(--clr-primary);}
.footer-bottom{
  max-width:1080px;
  margin:0 auto;
  padding:16px 20px 0;
  border-top:1px dashed var(--clr-border);
  text-align:center;
}
.footer-bottom p{
  margin:3px 0;
  font-size:13px;
  color:var(--clr-muted);
  line-height:1.6;
}
.footer-bottom a{
  color:var(--clr-muted);
  text-decoration:none;
  transition:color .2s;
}
.footer-bottom a:hover{color:var(--clr-primary);}

/* ---------- animation ---------- */
@keyframes riseIn{
  from{opacity:0;transform:translateY(14px);}
  to{opacity:1;transform:translateY(0);}
}
.hero-rank{animation:riseIn .5s ease both;}
.rank-item{animation:riseIn .5s ease both;}
.rank-item:nth-child(1){animation-delay:.02s;}
.rank-item:nth-child(2){animation-delay:.04s;}
.rank-item:nth-child(3){animation-delay:.06s;}
.rank-item:nth-child(4){animation-delay:.08s;}
.rank-item:nth-child(5){animation-delay:.10s;}
.rank-item:nth-child(6){animation-delay:.12s;}
.rank-item:nth-child(7){animation-delay:.14s;}
.rank-item:nth-child(8){animation-delay:.16s;}
.rank-item:nth-child(9){animation-delay:.18s;}
.rank-item:nth-child(10){animation-delay:.20s;}

/* ---------- mobile ---------- */
@media (max-width:768px){
  .header-inner{
    height:56px;
    gap:12px;
  }
  .logo{
    font-size:17px;
    max-width:58%;
  }
  .nav-main{display:none;}
  .menu-btn{
    display:flex;
    margin-left:auto;
    width:34px;
    height:34px;
    align-items:center;
    justify-content:center;
    border:1px solid var(--clr-border);
    border-radius:var(--radius-sm);
    background:#fff;
    font-size:13px;
    color:var(--clr-text);
    cursor:pointer;
  }
  .container{padding:0 20px;}
  .container > section{margin-bottom:40px;}
  .hero-rank{
    padding:32px 22px 28px;
    margin:20px 0 40px;
  }
  .hero-rank h1{font-size:26px;}
  .hero-sub{font-size:16px;}
  .hero-stats{gap:14px 24px;}
  .rank-item{
    grid-template-columns:64px 1fr;
    gap:16px;
  }
  .rank-item.is-top{padding:24px 16px;}
  .rank-poster{
    grid-column:1/-1;
    grid-row:2;
  }
  .rank-poster img{
    width:100%;
    height:auto;
    aspect-ratio:3/4;
  }
  .rank-no{
    font-size:40px;
    grid-row:1;
  }
  .rank-body{grid-row:1;grid-column:2;}
  .rank-name{font-size:18px;}
  .rank-desc{font-size:15px;}
  .sub-grid{grid-template-columns:1fr;}
  .pick-grid{grid-template-columns:1fr;}
  .change-item{flex-direction:column;}
  .compare-table{min-width:760px;}
  .footer-grid{grid-template-columns:1fr 1fr;gap:24px;}
}

@media (prefers-reduced-motion:reduce){
  *,
  *::before,
  *::after{
    animation:none !important;
    transition:none !important;
  }
  .hero-rank,
  .rank-item,
  .sub-card{
    animation:none !important;
    transform:none !important;
  }
}