/* roulang page: index */
:root {
  --ink: #1B2833;
  --muted: #5E6E7C;
  --blue: #3C6480;
  --blue-deep: #2F5168;
  --paper: #F5F7FB;
  --paper-2: #EEF3F8;
  --line: #E2E8EF;
  --white: #FFFFFF;
  --gold: #C4A35A;
  --silver: #C5CED6;
  --bronze: #A9846A;
  --rose: #C98998;
  --shadow: 0 10px 28px rgba(60, 100, 128, 0.08);
  --shadow-strong: 0 16px 36px rgba(60, 100, 128, 0.16);
  --radius: 18px;
  --container: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
button, input { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.35; font-weight: 650; letter-spacing: 0.01em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.container { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; }
.age-bar {
  background: #E7EEF3;
  color: var(--blue);
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.08em;
  line-height: 1.6;
  padding: 5px 16px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(245, 247, 251, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: none;
}
.nav-row {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.medal-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #F3E6C4, var(--gold) 62%, #8C7340);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.45);
  position: relative;
}
.medal-icon::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 22px;
  width: 6px;
  height: 10px;
  background: var(--rose);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.logo-text strong { font-size: 15px; font-weight: 680; color: var(--ink); }
.logo-text span { font-size: 12px; color: var(--blue); }
.nav-desk { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-link {
  position: relative;
  color: var(--blue);
  font-weight: 560;
  padding: 8px 0;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width .2s ease;
}
.nav-link:hover::after, .nav-link.active::after { width: 18px; }
.nav-link.active { color: var(--ink); }
.search-form { display: flex; align-items: center; gap: 8px; }
.search-form input {
  width: 168px;
  height: 38px;
  border: 1px solid #D5DEE6;
  background: var(--white);
  border-radius: 10px;
  padding: 0 12px;
  color: var(--ink);
}
.search-form input::placeholder { color: #8A98A4; }
.search-form button, .menu-btn, .btn-main, .btn-ghost, .chip, .drawer-close {
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.search-form button {
  height: 38px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--blue);
  background: var(--white);
  color: var(--blue);
}
.search-form button:hover { border-color: var(--rose); color: var(--ink); }
.menu-btn {
  display: none;
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--blue);
  background: var(--white);
  color: var(--blue);
}
.drawer[hidden] { display: none; }
.drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(27, 40, 51, 0.28);
}
.drawer-panel {
  margin-left: auto;
  width: min(100%, 420px);
  height: 100%;
  background: var(--paper);
  padding: 28px 24px;
  box-shadow: var(--shadow-strong);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.drawer-panel a {
  font-size: 20px;
  color: var(--blue);
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.drawer-close {
  align-self: flex-end;
  border: 1px solid var(--blue);
  background: var(--white);
  color: var(--blue);
  border-radius: 10px;
  padding: 8px 14px;
}
.section { padding: 88px 0; }
.section-paper { background: var(--paper); }
.section-white { background: var(--white); }
.section-mist { background: var(--paper-2); }
.kicker {
  color: var(--rose);
  font-size: 13px;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}
.section h2 { font-size: clamp(1.55rem, 2.3vw, 2.05rem); margin-bottom: 14px; }
.lede { max-width: 760px; color: var(--muted); margin-bottom: 28px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  gap: 56px;
  align-items: end;
}
h1 { font-size: clamp(1.85rem, 3.3vw, 2.7rem); margin: 8px 0 14px; }
.subhead { color: var(--ink); font-size: 18px; margin-bottom: 14px; }
.hero-copy p { color: var(--muted); max-width: 62ch; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.btn-main, .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  font-weight: 620;
}
.btn-main {
  background: var(--blue);
  color: #fff;
  border: 0;
  border-bottom: 2px solid var(--gold);
  box-shadow: 0 8px 18px rgba(60, 100, 128, 0.12);
}
.btn-main:hover { transform: translateY(-2px); border-bottom-color: var(--rose); box-shadow: var(--shadow-strong); color: #fff; }
.btn-main:active { transform: translateY(0); }
.btn-ghost { background: var(--white); color: var(--blue); border: 1px solid var(--blue); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--rose); box-shadow: var(--shadow); }
.hero-points { display: flex; gap: 18px; margin-top: 22px; color: var(--muted); font-size: 14px; }
.hero-points b { display: block; color: var(--blue); font-size: 22px; font-weight: 700; }
.podium, .stage-row { display: flex; align-items: flex-end; justify-content: center; gap: 14px; }
.podium-item, .stage-col { width: 31%; text-align: center; }
.cover {
  border-radius: 16px;
  background:
    linear-gradient(160deg, rgba(255,255,255,.7), rgba(255,255,255,0) 46%),
    linear-gradient(180deg, #E7EEF4, #D5E1EA);
  box-shadow: inset 0 0 0 1px rgba(60,100,128,.08);
  position: relative;
  overflow: hidden;
}
.cover::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(60,100,128,.18);
  border-radius: 12px;
}
.cover::after {
  content: "封面";
  position: absolute;
  left: 12px;
  bottom: 10px;
  font-size: 12px;
  color: var(--muted);
}
.place-1 .cover { height: 210px; }
.place-2 .cover { height: 156px; }
.place-3 .cover { height: 132px; }
.podium-base {
  margin-top: 8px;
  border-radius: 12px 12px 6px 6px;
  color: var(--ink);
  font-weight: 700;
  padding: 10px 0 8px;
}
.base-gold { background: linear-gradient(#F4E7C8, var(--gold)); }
.base-silver { background: linear-gradient(#F4F7F9, var(--silver)); }
.base-bronze { background: linear-gradient(#E7D3C4, var(--bronze)); }
.podium-item p, .stage-col p { margin-top: 8px; font-size: 14px; color: var(--ink); }
.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pain-item {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 16px 16px 14px;
  border-top: 3px solid var(--silver);
  min-height: 132px;
}
.pain-item.heavy { border-top-color: var(--bronze); }
.tag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 12px;
  margin-bottom: 8px;
  background: #F3F5F7;
  color: var(--muted);
}
.tag-gold { color: #7A6232; background: #F8F1DE; }
.tag-silver { color: #52606A; background: #EEF2F5; }
.tag-bronze { color: #6E5342; background: #F4EBE4; }
.tag-rose { color: #8A5364; background: #F8EEF1; }
.pain-item h3 { font-size: 16px; margin-bottom: 6px; }
.pain-item p, .quote p, .metric p, .scene p, .topic-card p, .audience-card p { color: var(--muted); font-size: 14px; }
.stage {
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 34px 22px 0;
}
.stage-col {
  background: var(--paper);
  border-radius: 16px 16px 0 0;
  padding: 18px 12px 22px;
  box-shadow: inset 0 0 0 1px rgba(60,100,128,.05);
}
.stage-col.mid { min-height: 250px; background: #F8F1DE; }
.stage-col.side-l { min-height: 190px; }
.stage-col.side-r { min-height: 168px; }
.stage-floor { height: 18px; border-radius: 0 0 20px 20px; background: #E5EDF3; }
.rank-no {
  width: 36px;
  height: 36px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 720;
  color: var(--ink);
}
.ribbon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 22px 22px 22px 0;
  position: relative;
  overflow: hidden;
}
.ribbon-sash {
  width: 92px;
  align-self: stretch;
  background: linear-gradient(#F4E7C8, var(--gold));
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 86%, 0 100%);
}
.ribbon h3 { font-size: 1.35rem; margin-bottom: 6px; }
.ribbon p { color: var(--muted); }
.steps { display: flex; flex-direction: column; gap: 18px; }
.step {
  width: min(760px, 100%);
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 20px;
}
.step:nth-child(even) { margin-left: auto; flex-direction: row-reverse; text-align: right; }
.step-no {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 720;
}
.no-1 { background: linear-gradient(#F4E7C8, var(--gold)); }
.no-2 { background: linear-gradient(#F4F7F9, var(--silver)); }
.no-3 { background: linear-gradient(#E7D3C4, var(--bronze)); }
.no-4 { background: #E7EEF4; color: var(--blue); }
.step h3 { font-size: 18px; margin-bottom: 4px; }
.step p { color: var(--muted); }
.mosaic {
  display: grid;
  grid-template-columns: 1.45fr .9fr;
  grid-template-rows: 180px 180px;
  gap: 16px;
}
.scene {
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}
.scene::before {
  content: "";
  position: absolute;
  right: -20px;
  top: -30px;
  width: 140px;
  height: 140px;
  border-radius: 40px;
  background: #E7EEF4;
}
.scene-wide { grid-row: span 2; background: linear-gradient(180deg, #fff, #F7FAFC); }
.scene h3 { position: relative; font-size: 1.4rem; margin-bottom: 8px; }
.scene p { position: relative; max-width: 42ch; }
.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.stat-band article { padding: 26px 18px; border-right: 1px solid var(--line); }
.stat-band article:last-child { border-right: 0; }
.stat-band strong { display: block; color: var(--blue); font-size: 40px; line-height: 1.1; font-weight: 720; }
.stat-band span { color: var(--muted); }
.rise { color: var(--rose); font-size: 13px; margin-left: 6px; }
.rank-list { display: flex; flex-direction: column; gap: 14px; }
.rank-row {
  display: grid;
  grid-template-columns: 72px 148px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px;
}
.rank-row:hover { transform: translateY(-2px); box-shadow: var(--shadow-strong); }
.rank-row .cover { height: 96px; }
.medal {
  width: 54px;
  height: 54px;
  margin: 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 740;
}
.m-gold { background: linear-gradient(#F4E7C8, var(--gold)); }
.m-silver { background: linear-gradient(#F4F7F9, var(--silver)); }
.m-bronze { background: linear-gradient(#E7D3C4, var(--bronze)); }
.m-num { background: #E7EEF4; color: var(--blue); }
.score-line { color: var(--blue); font-weight: 680; margin: 4px 0; }
.stars { color: var(--gold); letter-spacing: 2px; }
.heat { height: 4px; background: #E6EDF2; border-radius: 99px; margin-top: 8px; }
.heat i { display: block; height: 100%; border-radius: inherit; background: var(--blue); }
.rank-row ul { margin-top: 6px; color: var(--muted); font-size: 14px; }
.rank-row li { position: relative; padding-left: 12px; }
.rank-row li::before { content: ""; width: 6px; height: 2px; background: var(--gold); position: absolute; left: 0; top: .75em; }
.compare-strip {
  margin: 8px 0 16px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
}
.compare-strip b { color: var(--ink); display: block; }
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.quote {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
}
.quote:nth-child(even) { margin-top: 28px; }
.quote header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; color: var(--blue); font-size: 14px; }
.audience-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.audience-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 16px;
}
.audience-card h3 { font-size: 16px; margin: 8px 0; }
.note {
  margin-top: 16px;
  color: var(--blue);
  background: #E7EEF3;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 14px;
}
.news-list { background: var(--white); border-radius: 20px; box-shadow: var(--shadow); }
.news-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.news-row:last-child { border-bottom: 0; }
.news-row time { color: var(--muted); font-size: 14px; }
.news-row a:hover { color: var(--blue); box-shadow: inset 0 -2px 0 var(--rose); }
.metric-wall { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.metric {
  background: var(--white);
  border-radius: 20px;
  min-height: 168px;
  padding: 26px 24px;
  box-shadow: var(--shadow);
}
.metric b { display: block; margin: 8px 0 12px; font-size: 36px; color: var(--blue); line-height: 1; }
.bar { height: 3px; background: #E6EDF2; border-radius: 99px; }
.bar i { display: block; height: 100%; background: var(--blue); border-radius: inherit; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  border: 1px solid #D5DEE6;
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 18px;
  box-shadow: var(--shadow);
}
.chip.is-on { border: 2px solid var(--gold); color: var(--blue); }
.chip:hover { transform: translateY(-2px); }
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  border-left: 3px solid transparent;
  padding: 4px 16px;
}
.faq-item[open] { border-left-color: var(--blue); }
.faq-item summary { cursor: pointer; font-weight: 650; padding: 14px 0; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "＋"; float: right; color: var(--blue); }
.faq-item[open] summary::after { content: "－"; }
.faq-item p { color: var(--muted); padding-bottom: 14px; }
.rail-wrap { overflow-x: auto; padding-bottom: 8px; }
.rail { display: flex; gap: 14px; min-width: max-content; }
.topic-card {
  width: 240px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 16px;
}
.topic-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-strong); }
.topic-card .cover { height: 92px; margin-bottom: 10px; }
.cta-band {
  background: #E4EDF3;
  border-radius: 22px;
  padding: 36px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.site-footer { background: var(--white); border-top: 1px solid var(--line); padding: 36px 0 28px; }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; }
.footer-brand strong { display: block; margin-bottom: 6px; }
.footer-links { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.footer-links a { color: var(--blue); }
.footer-links a:hover { box-shadow: inset 0 -2px 0 var(--gold); }
.copy { margin-top: 18px; color: var(--muted); font-size: 13px; }
@media (max-width: 1024px) {
  .nav-desk { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
  .hero-grid, .pain-grid, .audience-row { grid-template-columns: 1fr 1fr; }
  .stat-band { grid-template-columns: 1fr 1fr; }
  .stat-band article:nth-child(2) { border-right: 0; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .scene-wide { grid-column: span 2; min-height: 240px; }
  .quote:nth-child(even) { margin-top: 0; }
}
@media (max-width: 768px) {
  .container { width: min(var(--container), calc(100% - 32px)); }
  .section { padding: 56px 0; }
  .hero-grid, .pain-grid, .audience-row, .quote-grid, .metric-wall, .stat-band, .mosaic { grid-template-columns: 1fr; }
  .scene-wide { grid-column: auto; }
  .podium { flex-direction: column; align-items: stretch; }
  .podium-item, .stage-col { width: 100%; }
  .place-1 { order: 1; }
  .place-2 { order: 2; }
  .place-3 { order: 3; }
  .place-1 .cover, .place-2 .cover, .place-3 .cover { height: 140px; }
  .step, .step:nth-child(even) { margin-left: 0; flex-direction: row; text-align: left; }
  .rank-row { grid-template-columns: 56px minmax(0, 1fr); }
  .rank-row .cover { display: none; }
  .ribbon, .cta-band, .footer-grid, .compare-strip, .news-row { display: block; }
  .ribbon-sash { width: 100%; height: 18px; clip-path: none; margin-bottom: 12px; }
  .cta-band .btn-main { margin-top: 16px; }
  .stat-band article { border-right: 0; border-bottom: 1px solid var(--line); }
  .stage-col.mid, .stage-col.side-l, .stage-col.side-r { min-height: 0; }
}
@media (max-width: 520px) {
  h1 { font-size: 1.7rem; }
  .hero-points { flex-direction: column; gap: 8px; }
  .logo-text strong { font-size: 13px; }
  .search-form input { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* roulang page: category1 */
:root {
  --ink: #1B2833;
  --muted: #5E6E7C;
  --blue: #3C6480;
  --blue-deep: #2F5168;
  --paper: #F5F7FB;
  --paper-2: #EEF3F8;
  --line: #E2E8EF;
  --white: #FFFFFF;
  --gold: #C4A35A;
  --silver: #C5CED6;
  --bronze: #A9846A;
  --rose: #C98998;
  --shadow: 0 10px 28px rgba(60, 100, 128, 0.08);
  --shadow-strong: 0 16px 36px rgba(60, 100, 128, 0.16);
  --radius: 18px;
  --container: 1120px;
}
html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
button, input { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: #F8F1DE; color: var(--ink); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.container { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; }
.age-bar {
  background: var(--ink);
  color: #F7F4EF;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
  padding: 4px 16px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(245, 247, 251, 0.94);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.logo { display: flex; align-items: center; gap: 10px; min-width: 0; }
.medal-ico {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex: none;
  background: radial-gradient(circle at 50% 38%, #F3E6C4, var(--gold));
  box-shadow: inset 0 0 0 2px #F8F1DE;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.logo-text strong { display: block; max-width: 280px; font-size: 15px; font-weight: 680; color: var(--ink); }
.logo-text span { font-size: 12px; color: var(--blue); }
.nav-desk { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-link { position: relative; color: var(--blue); font-weight: 560; padding: 8px 0; }
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width .2s ease;
}
.nav-link:hover::after, .nav-link.active::after { width: 18px; }
.nav-link.active { color: var(--ink); }
.search-form { display: flex; align-items: center; gap: 8px; }
.search-form input {
  width: 168px;
  height: 38px;
  border: 1px solid #D5DEE6;
  background: var(--white);
  border-radius: 10px;
  padding: 0 12px;
  color: var(--ink);
}
.search-form input::placeholder { color: #8A98A4; }
.search-form input:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(60, 100, 128, 0.12); }
.search-form button, .menu-btn, .btn-main, .btn-ghost, .chip, .drawer-close {
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}
.search-form button {
  height: 38px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--blue);
  background: var(--white);
  color: var(--blue);
}
.search-form button:hover { border-color: var(--rose); color: var(--ink); }
.menu-btn {
  display: none;
  flex: none;
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--blue);
  background: var(--white);
  color: var(--blue);
}
.menu-btn:hover { border-color: var(--rose); }
.drawer[hidden] { display: none !important; }
.drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(27, 40, 51, 0.28);
}
.drawer-panel {
  margin-left: auto;
  width: min(100%, 420px);
  height: 100%;
  background: var(--paper);
  padding: 28px 24px;
  box-shadow: var(--shadow-strong);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.drawer-panel a {
  font-size: 20px;
  color: var(--blue);
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.drawer-panel a.active { color: var(--ink); box-shadow: inset 0 -2px 0 var(--gold); }
.drawer-close {
  align-self: flex-end;
  border: 1px solid var(--blue);
  background: var(--white);
  color: var(--blue);
  border-radius: 10px;
  padding: 8px 14px;
}
.drawer-panel .search-form { width: 100%; }
.drawer-panel .search-form input { flex: 1; width: auto; }
.section { padding: 72px 0; }
.section-paper { background: var(--paper); }
.section-white { background: var(--white); }
.section-mist { background: var(--paper-2); }
.section h2 { font-size: clamp(1.45rem, 2.2vw, 1.9rem); line-height: 1.35; margin-bottom: 8px; font-weight: 700; }
.lead { color: var(--muted); max-width: 62ch; }
.btn-main, .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  font-weight: 620;
  white-space: nowrap;
}
.btn-main {
  background: var(--blue);
  color: #fff;
  border: 0;
  border-bottom: 2px solid var(--gold);
  box-shadow: 0 8px 18px rgba(60, 100, 128, 0.12);
}
.btn-main:hover { transform: translateY(-2px); border-bottom-color: var(--rose); box-shadow: var(--shadow-strong); color: #fff; }
.btn-main:active { transform: translateY(0); }
.btn-ghost { background: var(--white); color: var(--blue); border: 1px solid var(--blue); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--rose); box-shadow: var(--shadow); }
.tag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 12px;
  background: #F3F5F7;
  color: var(--muted);
}
.tag-gold { color: #7A6232; background: #F8F1DE; }
.tag-silver { color: #52606A; background: #EEF2F5; }
.tag-bronze { color: #6E5342; background: #F4EBE4; }
.tag-rose { color: #8A5364; background: #F8EEF1; }
.cat-head { padding: 28px 0 18px; }
.cat-grid {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) minmax(220px, 280px);
  gap: 22px;
  align-items: center;
}
.rank-stripe {
  width: 8px;
  height: 86px;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--gold), var(--silver) 55%, var(--bronze));
}
.cat-grid h1 {
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  line-height: 1.35;
  font-weight: 720;
  margin-bottom: 8px;
}
.summary-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px 16px 6px;
}
.summary-card h2 { font-size: 15px; margin-bottom: 4px; }
.summary-card li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 8px 0;
  font-size: 14px;
  color: var(--muted);
}
.summary-card b { color: var(--blue); font-weight: 700; }
.filter-wrap {
  position: sticky;
  top: 78px;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(60, 100, 128, 0.06);
}
.filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 12px 0; }
.filter-label { color: var(--muted); font-size: 13px; }
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--blue);
  border-radius: 999px;
  min-height: 34px;
  padding: 0 12px;
}
.chip:hover { border-color: var(--blue); }
.chip.is-on { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); color: var(--ink); background: #FFFcf6; }
.rank-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(240px, 0.8fr); gap: 16px; align-items: stretch; }
.rank-side { display: flex; flex-direction: column; gap: 16px; }
.rank-card, .wide-card, .pick-card, .rule-bar, .metric-band, .more-inner {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.rank-card, .wide-card, .pick-card { transition: transform .2s ease, box-shadow .2s ease; }
.rank-card:hover, .wide-card:hover, .pick-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-strong); }
.rank-card.gold { border-top: 3px solid var(--gold); }
.rank-card.silver { border-top: 3px solid var(--silver); }
.rank-card.bronze { border-top: 3px solid var(--bronze); }
.feature-card { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 18px; padding: 16px; height: 100%; }
.side-card { padding: 12px; display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 12px; align-items: center; }
.cover {
  position: relative;
  background: #E6EEF4;
  border-radius: 14px;
  overflow: hidden;
  min-height: 120px;
  aspect-ratio: 16 / 10;
}
.side-card .cover { aspect-ratio: 1 / 1; min-height: 0; }
.cover i {
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  right: 14px;
  top: 14px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 6px rgba(60, 100, 128, 0.08);
}
.cover em {
  position: absolute;
  left: 10px;
  bottom: 10px;
  font-style: normal;
  font-size: 12px;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  padding: 2px 8px;
}
.card-body h3, .wide-main h3, .pick-card h3 {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 680;
  margin: 8px 0;
}
.card-body h3 a:hover, .wide-main h3 a:hover, .pick-card h3 a:hover { color: var(--blue); }
.score-line { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; color: var(--muted); font-size: 14px; }
.score-num { font-size: 34px; line-height: 1; color: var(--blue); font-weight: 740; }
.stars { color: var(--gold); letter-spacing: 1px; }
.card-body p, .wide-main p, .pick-card p, .rule-bar p, .more-inner p { color: var(--muted); font-size: 14px; }
.heat { height: 6px; background: #E6EDF3; border-radius: 99px; margin: 10px 0 12px; max-width: 240px; }
.heat span { display: block; height: 100%; border-radius: inherit; background: var(--blue); }
.wide-list { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }
.wide-card {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 12px;
}
.wide-card .cover { aspect-ratio: 16 / 10; min-height: 96px; }
.rank-no {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  background: var(--paper-2);
}
.rank-no.g { background: #F8F1DE; color: #7A6232; }
.rank-no.s { background: #EEF2F5; color: #52606A; }
.rank-no.b { background: #F4EBE4; color: #6E5342; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.rule-sec { padding: 28px 0; }
.rule-bar {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px 22px;
  border-left: 4px solid var(--gold);
}
.rule-bar h2 { margin: 0; font-size: 1.25rem; }
.pick-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.pick-card { padding: 12px 12px 16px; }
.pick-card .cover { aspect-ratio: 16 / 9; margin-bottom: 8px; }
.metric-band { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; margin-top: 18px; }
.metric-band div { padding: 28px 10px; text-align: center; }
.metric-band div + div { box-shadow: inset 1px 0 0 var(--line); }
.metric-band b { display: block; font-size: 40px; line-height: 1; color: var(--blue); font-weight: 740; }
.metric-band span { color: var(--muted); font-size: 14px; }
.notice-list { max-width: 760px; margin-top: 8px; }
.notice-list li {
  padding: 12px 0 12px 2px;
  border-bottom: 1px solid var(--line);
}
.notice-list li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateY(-1px);
}
.more-band { padding: 36px 0 64px; }
.more-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  border-bottom: 2px solid var(--gold);
}
.site-footer { background: var(--paper); border-top: 1px solid var(--line); padding: 42px 0 28px; }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; }
.footer-brand strong { display: block; margin-bottom: 6px; }
.footer-brand p { color: var(--muted); font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px 22px; align-items: flex-start; }
.footer-links a { color: var(--blue); position: relative; }
.footer-links a:hover { color: var(--ink); }
.copy { margin-top: 22px; color: var(--muted); font-size: 13px; }
@media (max-width: 1279px) {
  .nav-desk { gap: 16px; }
  .nav-links { gap: 16px; }
  .search-form input { width: 132px; }
}
@media (max-width: 1024px) {
  .nav-desk { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
  .cat-grid { grid-template-columns: 8px minmax(0, 1fr); }
  .summary-card { grid-column: 2; }
  .rank-layout, .feature-card, .pick-grid { grid-template-columns: 1fr; }
  .rank-side { display: grid; grid-template-columns: 1fr 1fr; }
  .rule-bar { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .container { width: calc(100% - 32px); }
  .section { padding: 52px 0; }
  .rank-side, .wide-card, .side-card, .metric-band { grid-template-columns: 1fr; }
  .wide-card .btn-ghost, .feature-card .btn-main { width: 100%; }
  .metric-band div + div { box-shadow: inset 0 1px 0 var(--line); }
  .footer-grid, .more-inner { flex-direction: column; align-items: flex-start; }
  .logo-text strong { max-width: 210px; }
}
@media (max-width: 640px) {
  .filter-wrap { top: 70px; }
  .cat-head { padding-top: 20px; }
  .rank-stripe { height: 64px; }
  .score-num { font-size: 28px; }
  .more-inner .btn-main { width: 100%; }
}
@media (max-width: 520px) {
  .nav-row { gap: 12px; min-height: 70px; }
  .logo-text strong { max-width: 168px; font-size: 13px; }
  .logo-text span { font-size: 11px; }
  .card-body h3, .wide-main h3 { font-size: 15px; }
  .metric-band b { font-size: 32px; }
  .drawer-panel { width: 100%; }
}
