:root {
  color-scheme: light;
  --paper: #f5f7fb;
  --surface: #fff;
  --ink: #1a2238;
  --secondary: #414a63;
  --muted: #65708a;
  --line: #e1e6f0;
  --accent: #4b6be0;
  --accent-deep: #3a53bb;
  --accent-soft: #ebf0ff;
  --navy: #1f2a52;
  --navy-light: #34509a;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
button, input, select { font: inherit; }
a { color: inherit; text-decoration: none; }
button, select { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .5; }
:focus-visible { outline: 3px solid #7c94ff; outline-offset: 3px; }
h1, h2, h3, p, dl, dd { margin: 0; }
[hidden] { display: none !important; }
.shell { width: min(1240px, 100%); margin-inline: auto; padding-inline: clamp(18px, 4vw, 32px); }
.topbar { border-bottom: 1px solid var(--line); background: var(--surface); }
.header-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 750; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 10px; color: white; background: var(--accent); font-size: 19px; }
.brand-en { margin-left: 5px; color: var(--secondary); }
.topbar nav { display: flex; align-items: center; gap: 6px; }
.topbar nav a { padding: 8px 12px; border-radius: 8px; font-size: 14px; color: var(--secondary); white-space: nowrap; }
.topbar nav a[aria-current="page"] { color: var(--accent-deep); background: var(--accent-soft); font-weight: 650; }
.counter { margin-left: 5px; padding: 1px 5px; border-radius: 20px; background: var(--accent); color: white; }
main { min-height: calc(100vh - 145px); }
.intro { padding-top: 38px; padding-bottom: 28px; }
h1 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -.035em; line-height: 1.24; font-weight: 800; }
.intro h1 span { color: var(--accent-deep); }
.intro > p { margin-top: 12px; color: var(--secondary); font-size: 15px; }
.navy { background: linear-gradient(152deg, var(--navy), var(--navy-light)); color: white; }
.search-panel { margin-top: 27px; padding: clamp(17px, 3vw, 27px); border-radius: 23px; box-shadow: 0 20px 38px -25px #1f2a5280; }
.search { display: flex; min-height: 49px; align-items: center; gap: 12px; padding: 0 15px; background: white; color: var(--ink); border-radius: 12px; }
.search span { font-size: 26px; color: var(--muted); }
.search input { width: 100%; border: 0; outline: 0; background: transparent; padding: 12px 0; color: var(--ink); font-size: 15px; }
.search:focus-within { box-shadow: 0 0 0 3px #a9bbff; }
.chip-row { display: grid; grid-template-columns: 102px minmax(0, 1fr); align-items: baseline; gap: 10px; margin-top: 16px; }
.chip-row strong { color: #e2e8ff; font-size: 14px; font-weight: 600; }
.chips, .subfilters { display: flex; flex-wrap: wrap; gap: 7px; }
button { border: 1px solid var(--line); background: white; color: var(--ink); padding: 7px 10px; border-radius: 8px; font-size: 13px; }
button:hover:not(:disabled) { border-color: #9aaef5; }
.chips button { color: white; border-color: #ffffff30; background: #ffffff10; }
.chips button[aria-pressed="true"] { background: var(--accent); border-color: #92a7ff; }
.muted-on-dark { color: #d0dafb; font-size: 13px; }
.results-layout { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); padding-bottom: 25px; }
fieldset { border: 0; border-bottom: 1px solid var(--line); margin: 0 0 16px; padding: 0 0 15px; min-width: 0; }
legend { font-size: 14px; font-weight: 700; padding: 0 0 9px; }
.subfilters button { text-align: left; }
.subfilters button[aria-pressed="true"], .actions button[aria-pressed="true"] { background: var(--accent-soft); color: var(--accent-deep); border-color: #bfcaff; }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 10px; font-size: 14px; }
.results-bar label { color: var(--muted); }
select { padding: 6px 8px; border-radius: 8px; color: var(--ink); border: 1px solid var(--line); }
.quiet { color: var(--accent-deep); border-color: transparent; background: transparent; }
.sort-note, .waiver, .eyebrow, .muted { font-size: 13px; color: var(--muted); line-height: 1.55; }
.sort-note { margin: 8px 0; }
.result-row { display: grid; grid-template-columns: minmax(145px, .9fr) minmax(180px, 1.05fr) minmax(153px, .72fr); gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.card-face { aspect-ratio: 480 / 304; display: grid; place-content: center; place-items: center; border-radius: 12px; overflow: hidden; color: #405384; background: #e8edf8; text-align: center; }
.card-face:has(img) { display: block; background: transparent; }
.card-face img { display: block; width: 100%; height: 100%; object-fit: contain; }
.card-face span { padding: 14px; }
a:hover h2, h2 a:hover { color: var(--accent-deep); }
.result-row h2 { margin: 4px 0 14px; font-size: 20px; letter-spacing: -.02em; }
.facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 5px 12px; font-size: 13px; line-height: 1.55; }
dt { color: var(--muted); }
.result-fee { padding-left: 17px; border-left: 1px solid var(--line); }
.result-fee > strong { display: block; font-size: 24px; font-variant-numeric: tabular-nums; line-height: 1.2; margin: 3px 0; }
.waiver { margin: 5px 0 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.positive { color: #13744c; font-weight: 700; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 11px; }
.primary { display: inline-flex; min-height: 34px; align-items: center; justify-content: center; padding: 7px 11px; border-radius: 8px; background: var(--accent); color: white; font-size: 13px; font-weight: 650; white-space: nowrap; }
.primary:hover { background: var(--accent-deep); }
.more { display: flex; justify-content: center; padding: 20px; }
.empty { text-align: center; padding-block: 64px; }
.empty h2 { margin-bottom: 12px; font-size: 21px; }
.dock-inner { position: fixed; z-index: 3; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; justify-content: space-between; width: max-content; max-width: calc(100% - 28px); padding: 10px 13px; border-radius: 13px; background: #fff; border: 1px solid var(--line); box-shadow: 0 5px 30px #1f2a5233; font-size: 13px; }
.dock-cards { display: flex; gap: 5px; overflow: auto; }
.dock-cards button { white-space: nowrap; }
body:has(.dock-inner) .site-footer { padding-bottom: 82px; }
.subpage { padding-block: 26px 35px; }
.breadcrumb { margin-bottom: 21px; color: var(--muted); font-size: 13px; }
.breadcrumb a, .source-links a { color: var(--accent-deep); }
.detail-hero { display: grid; grid-template-columns: minmax(210px, .75fr) minmax(0, 1.25fr); gap: clamp(25px, 5vw, 68px); padding: clamp(18px, 3vw, 31px); border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.detail-hero h1 { margin: 5px 0; }
.official-name { font-size: 14px; color: var(--secondary); }
.hero-fees { margin-top: 18px; padding: 18px 22px; border-radius: 16px; }
.hero-fees > span, .hero-fees p { color: #e3eaff; font-size: 13px; line-height: 1.65; }
.hero-fees > strong { display: block; margin: 5px 0; font-size: 30px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 12px; border-top: 1px solid #ffffff38; padding-top: 10px; font-size: 13px; }
.hero-facts dt { color: #d9e5ff; }
.hero-facts dd { margin-top: 4px; font-weight: 700; }
.detail-actions { margin-top: 16px; }
.panel { margin-top: 19px; padding: clamp(15px, 3vw, 26px); border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.panel-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 15px; }
.panel-heading h2 { font-size: 20px; }
.panel-heading span, .benefit-group small { color: var(--muted); font-size: 13px; }
.benefits, .basic-info, .similar, .compare-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.benefit-group { border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.benefit-group h3 { font-size: 15px; }
.benefit-group ul { list-style: none; margin: 0; padding: 0; }
.benefit-group li { margin-top: 13px; font-size: 14px; line-height: 1.55; }
.benefit-group p { color: var(--secondary); }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 490px; text-align: left; font-size: 14px; }
td, th { padding: 12px 9px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--paper); color: var(--secondary); }
tbody th { min-width: 135px; }
.basic-info > div { display: grid; grid-template-columns: 90px minmax(0, 1fr); align-items: baseline; gap: 8px; font-size: 14px; }
.similar, .compare-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.similar strong, .similar span { display: block; margin-top: 6px; font-size: 14px; }
.source-links { padding-left: 19px; font-size: 14px; line-height: 1.9; }
.compare-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.compare-cards h2 { margin-top: 10px; font-size: 17px; }
.compare-cards p { margin: 4px 0 7px; color: var(--muted); font-size: 13px; }
.site-footer { padding: 25px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
@media (max-width: 920px) {
  .results-layout { grid-template-columns: 137px minmax(0, 1fr); gap: 19px; }
  .result-row { grid-template-columns: minmax(135px, .7fr) minmax(174px, 1fr); }
  .result-fee { grid-column: 2; padding-left: 0; border-left: 0; }
}
@media (max-width: 650px) {
  .brand-en { display: none; }
  .header-inner { min-height: 58px; gap: 5px; }
  .topbar nav a { padding: 7px; font-size: 13px; }
  .chip-row, .results-layout, .detail-hero { grid-template-columns: 1fr; }
  #filters { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; }
  .result-row { grid-template-columns: minmax(100px, .65fr) minmax(0, 1fr); gap: 12px; }
  .result-row h2 { font-size: 16px; }
  .result-fee { grid-column: auto / span 2; }
  .benefits, .basic-info { grid-template-columns: 1fr; }
  .compare-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dock-inner strong { white-space: nowrap; }
}
