/* China Doctor Guide — clean editorial medical style (navy & white) */
:root {
  --navy-900: #172e52;   /* headings */
  --navy-700: #173d79;   /* primary */
  --navy-600: #24508f;
  --text: #2b3a4f;
  --muted: #5b6b80;
  --line: #dde5ef;
  --soft: #f4f7fb;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(23, 46, 82, .06), 0 4px 16px rgba(23, 46, 82, .06);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
a { color: var(--navy-700); text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { color: var(--navy-900); margin: 0; }
svg.i { width: 1em; height: 1em; flex-shrink: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.zh { font-family: "PingFang SC", "Microsoft YaHei", var(--font); color: var(--muted); font-weight: 400; letter-spacing: 0; }
.soon { cursor: default; }
.eyebrow { display: block; margin-bottom: 10px; font-size: 13px; line-height: 1.5; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy-700); }
.ul { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.small { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* ---------- top bar & header ---------- */
.top { position: sticky; top: 0; z-index: 1000; background: var(--white); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 32px; height: 80px; }
.logo { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-size: 19px; font-weight: 800; letter-spacing: -.2px; color: var(--navy-900); }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--navy-700); display: inline-flex; align-items: center; justify-content: center; }
.logo-mark svg { width: 17px; height: 17px; }
.nav { flex: 1; display: flex; align-items: center; justify-content: center; gap: 24px; font-size: 15px; }   /* 间距收一点：英文导航长，logo 放大后一行要放得下 */
.nav a { color: var(--text); }
.nav a:hover { color: var(--navy-700); }
.top .right { margin-left: auto; display: flex; align-items: center; gap: 18px; font-size: 15px; }
.top .right .loc { display: inline-flex; align-items: center; gap: 6px; color: var(--text); }
.top .right .loc svg.i { width: 17px; height: 17px; color: var(--navy-700); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: var(--radius); border: 1px solid var(--navy-700); background: var(--navy-700); color: var(--white); font-size: 15.5px; font-weight: 650; line-height: 1; white-space: nowrap; transition: background .15s; }
.btn:hover { background: var(--navy-600); border-color: var(--navy-600); }
.btn.sm { height: 40px; padding: 0 16px; font-size: 15px; }
.btn.ghost { background: var(--white); color: var(--navy-700); }
.btn.ghost:hover { background: var(--soft); }
.btn.block { display: flex; width: 100%; }
.btn svg.i { width: 17px; height: 17px; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; font-size: 15px; color: var(--navy-700); }
.link svg.i { width: 16px; height: 16px; transition: transform .15s; }
a:hover .link svg.i, .link:hover svg.i { transform: translateX(3px); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 40px 0; }
.hero > .wrap { position: relative; z-index: 1; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero h1 { font-size: 52px; line-height: 1.12; font-weight: 700; letter-spacing: -.01em; margin-bottom: 22px; }
.hero h1 span { color: var(--navy-700); }
.hero .lead { font-size: 17px; margin: 0 0 28px; max-width: 520px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: 14.5px; color: var(--muted); }
.hero .meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero .meta svg.i { width: 17px; height: 17px; }



/* ---------- sections ---------- */
section.block { padding: 88px 0; }
section.block.soft { background: var(--soft); }
section.block.flush { padding-top: 0; }
.shead { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 32px; }
.shead h2 { font-size: 35px; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
.shead p { margin: 14px 0 0; max-width: 620px; }
.shead .ul { white-space: nowrap; font-weight: 650; font-size: 15px; }

/* coverage cards */
.cities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.city { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); color: var(--text); }
.city.live { border: 2px solid var(--navy-700); padding: 25px; }
.city .coord { font-size: 12.5px; font-weight: 650; letter-spacing: .04em; color: var(--muted); }
.city h3 { font-size: 26px; line-height: 1.2; }
.city .status { position: absolute; right: 22px; top: 22px; display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 650; color: var(--navy-700); background: var(--soft); }
.city.live .status { color: var(--white); background: var(--navy-700); }
.city p { margin: 0; font-size: 15.5px; }
.city .nums { display: grid; grid-template-columns: 1fr 1fr; margin-top: 6px; border-top: 1px solid var(--line); }
.city .nums div { padding-top: 14px; display: flex; flex-direction: column; }
.city .nums b { font-size: 24px; line-height: 1.2; color: var(--navy-900); }
.city .nums span { font-size: 13.5px; color: var(--muted); }
.city .link { margin-top: auto; padding-top: 6px; }

/* chips & tags */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--white); color: var(--navy-700); font-size: 14px; line-height: 1; }
a.chip:hover { border-color: var(--navy-700); }
.chip .cnt { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.tag { display: inline-flex; align-items: center; height: 26px; padding: 0 9px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 650; line-height: 1; color: var(--navy-700); background: var(--soft); }

/* specialty cards */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.scard { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); color: var(--text); transition: border-color .15s; }
a.scard:hover { border-color: var(--navy-700); }
.scard .head { display: flex; align-items: center; justify-content: space-between; }
.ibox { width: 40px; height: 40px; border-radius: 10px; background: var(--soft); color: var(--navy-700); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ibox svg.i { width: 21px; height: 21px; }
.scard .no { font-size: 14px; color: var(--muted); }
.scard h3 { font-size: 20px; line-height: 1.3; margin-top: 6px; }
.scard h3 .zh { font-size: 15px; margin-left: 6px; }
.scard p { margin: 0; font-size: 15.5px; line-height: 1.6; }
.scard .link { margin-top: auto; padding-top: 8px; }
.scard.two-col { display: none; }   /* 首页第 10 张专科：只在两列时补满最后一行 */
@media (max-width: 1080px) { .scard.two-col { display: flex; } }   /* 1080 以下（含手机）都是一行两张 */
.more-list { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.more-list .lbl { font-size: 14px; color: var(--muted); margin-right: 4px; }
.more-list .chip { color: var(--muted); }

/* doctor cards */
.dcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dcards.dside { grid-template-columns: 1fr; gap: 12px; }   /* 医生页侧栏：同科室其他医生 */
.dc { display: flex; flex-direction: column; padding: 22px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); color: var(--text); transition: border-color .15s; }
.dc:hover { border-color: var(--navy-700); }
.dc .top2 { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.dc .eb { font-size: 13px; font-weight: 650; color: var(--navy-700); }
.dc h3 { font-size: 20px; line-height: 1.3; margin: 6px 0 2px; }
.dc h3 .zh { font-size: 15px; margin-left: 4px; }
.dc .sub { font-size: 14.5px; color: var(--muted); }
.dc .tag { margin-top: 10px; align-self: flex-start; }
.dc .focus { margin: 12px 0 0; font-size: 15px; line-height: 1.55; }
.dc .foot { margin-top: auto; padding-top: 16px; }
.dc .foot .link { display: flex; padding-top: 14px; border-top: 1px solid var(--line); }
.dphoto { width: 60px; height: 74px; border-radius: 10px; object-fit: cover; object-position: top; flex-shrink: 0; background: var(--soft); }
.ph { display: inline-flex; align-items: center; justify-content: center; background: var(--soft); color: var(--navy-700); font-weight: 800; font-size: 19px; }

/* hospitals */

/* guide cards */
.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gcard { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); color: var(--text); }
.gcard h3 { font-size: 18px; line-height: 1.35; margin-top: 6px; }
.gcard p { margin: 0; font-size: 15px; }
.gcard .soonl { margin-top: auto; padding-top: 8px; font-size: 13px; font-weight: 650; color: var(--muted); }

/* method strip */
.method { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.method div { display: flex; gap: 16px; align-items: flex-start; padding: 26px; }
.method div + div { border-left: 1px solid var(--line); }
.method b { display: block; color: var(--navy-900); font-size: 17px; }
.method p { margin: 4px 0 0; font-size: 15px; color: var(--muted); }

/* ---------- footer ---------- */
footer { background: var(--soft); color: var(--muted); font-size: 15px; padding: 56px 0 40px; }
footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr; gap: 40px; }
footer .fcol { display: flex; flex-direction: column; gap: 10px; }
footer .fh { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy-900); }
footer a { color: var(--text); }
footer a:hover { color: var(--navy-700); }
footer .copy { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; }

/* ---------- breadcrumbs ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 26px 0 0; font-size: 14px; }
.crumbs a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #b9c6d8; }
.crumbs .sep { color: var(--muted); }

/* ---------- doctor page ---------- */
.dhead { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: start; padding: 22px 0 8px; }
.dhead h1 { font-size: 48px; line-height: 1.12; letter-spacing: -.01em; }
.dhead h1 .zh { font-size: 24px; margin-left: 10px; }
.dhead .sub { font-size: 17px; margin-top: 10px; }
.dhead .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.dhead .chips { margin-top: 14px; }
.dhead .chip { height: 34px; }
.dhead .small { margin-top: 16px; max-width: 560px; }
.dhead .photo { width: 168px; height: 210px; border-radius: 18px; object-fit: cover; object-position: top; background: var(--soft); border: 1px solid var(--line); }
.dhead .photo.ph { font-size: 44px; }
.verified { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 9px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 650; line-height: 1; color: var(--white); background: var(--navy-700); }
.verified svg.i { width: 14px; height: 14px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; padding: 36px 0 88px; }
.layout main > section { margin-bottom: 52px; }
.layout main > section:last-child { margin-bottom: 0; }
.layout main h2 { font-size: 30px; line-height: 1.2; letter-spacing: -.01em; margin-bottom: 18px; }
.layout main p { margin: 0 0 14px; }
.ftable { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-top: 18px; }
.ftable div { padding: 14px 16px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.ftable div:nth-child(odd) { border-right: 1px solid var(--line); }
.ftable div:last-child, .ftable div:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
.ftable div:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: 0; }
.ftable span { font-size: 13.5px; color: var(--muted); }
.ftable b { font-size: 16px; color: var(--navy-900); line-height: 1.4; }
.rows { display: grid; gap: 10px; }
.rows > div { padding: 12px 16px; border-radius: var(--radius-sm); background: var(--soft); border: 1px solid var(--line); }
.rows b { display: block; color: var(--navy-900); font-size: 16px; }
.rows span { font-size: 15px; }
.leadbox { padding: 14px 18px; border-left: 3px solid var(--navy-700); background: var(--soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-weight: 650; color: var(--navy-900); margin-bottom: 12px; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 18px 28px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--white); border: 3px solid var(--navy-700); box-sizing: border-box; }
.timeline li::after { content: ""; position: absolute; left: 5px; top: 22px; bottom: 2px; width: 2px; background: var(--line); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::after { display: none; }
.timeline .y { display: block; font-weight: 700; font-size: 14px; color: var(--navy-700); }
ul.plain { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
ul.plain li { position: relative; padding-left: 22px; }
ul.plain li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--navy-700); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; font-weight: 650; color: var(--navy-900); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 400; line-height: 1; color: var(--navy-700); width: 24px; text-align: center; flex-shrink: 0; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 18px; }
.side { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 18px; }
.sbox { padding: 24px; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line); }
.sbox h3 { display: flex; align-items: center; gap: 10px; font-size: 19px; line-height: 1.3; margin-bottom: 14px; }
.sbox h3 svg.i { width: 20px; height: 20px; color: var(--navy-700); }
.sbox p { margin: 0 0 12px; font-size: 15px; }
.sbox .small { margin: 12px 0 0; }
.sbox hr { border: 0; border-top: 1px solid var(--line); margin: 18px 0 14px; }
.sbox .ul { font-weight: 650; font-size: 15px; }
.sbox .hname { display: flex; align-items: center; gap: 8px; font-weight: 650; color: var(--navy-900); margin-bottom: 4px; }

/* clinic week grid */
.week { display: grid; grid-template-columns: 30px repeat(7, 1fr); gap: 4px; align-items: center; }
.week .wd { font-size: 11.5px; font-weight: 700; color: var(--muted); text-align: center; }
.week .wh { font-size: 11.5px; font-weight: 700; color: var(--muted); }
.week .cell { height: 30px; border-radius: 6px; background: var(--white); border: 1px solid var(--line); }
.week .cell.on { border-color: transparent; }
.t-senior { background: var(--navy-900) !important; }
.t-expert { background: var(--navy-600) !important; }
.t-vip { background: #6f8fc0 !important; }
.t-general, .t-clinic { background: #a9bcd9 !important; }
.wlegend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; font-size: 13px; }
.wlegend span { display: inline-flex; align-items: center; gap: 6px; }
.wlegend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; }

/* ---------- list pages ---------- */
.lhead { padding: 22px 0 8px; }
.lhead h1 { font-size: 48px; line-height: 1.12; letter-spacing: -.01em; }
.lhead h1 .zh { font-size: 22px; margin-left: 10px; }
.lhead .lead { margin: 14px 0 0; max-width: 680px; }
.lhead .chips { margin-top: 22px; }
.group { padding-top: 48px; scroll-margin-top: 90px; }
.group h2 { display: flex; align-items: baseline; gap: 12px; font-size: 26px; margin-bottom: 20px; }
.group h2 .cnt { font-size: 15px; font-weight: 650; color: var(--muted); }
.listpage { padding-bottom: 88px; }

@media (max-width: 1080px) {
  .cards3, .dcards, .cities, .cards4 { grid-template-columns: repeat(2, 1fr); }
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .layout { grid-template-columns: 1fr; gap: 0; }
  .side { position: static; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding-left: 20px; padding-right: 20px; }   /* 只改左右：用 padding 简写会把 .listpage 等的上下留白清掉 */
  .top .wrap { height: 68px; }
  .logo { font-size: 16.5px; white-space: nowrap; gap: 8px; }
  .logo-mark { width: 30px; height: 30px; }
  .top .wrap { gap: 12px; }
  .top .right .btn.sm { height: 38px; padding: 0 12px; font-size: 14px; }
  .hero .actions .btn { flex: 1 1 0; padding: 0 12px; }
  .hero { padding: 28px 0; }
  .hero h1 { font-size: 38px; }
  section.block { padding: 60px 0; }
  section.block.flush { padding-top: 0; }
  .shead { flex-direction: column; align-items: flex-start; gap: 14px; }
  .shead h2 { font-size: 28px; }
  .cards3, .dcards, .cities, .cards4 { grid-template-columns: 1fr; }
  .method { grid-template-columns: 1fr; }
  .method div + div { border-left: 0; border-top: 1px solid var(--line); }
  footer .wrap { grid-template-columns: 1fr; gap: 28px; }
  .dhead { grid-template-columns: 1fr; gap: 20px; }
  .dhead .photo { order: -1; width: 120px; height: 150px; }
  .dhead h1, .lhead h1 { font-size: 34px; }
  .dhead h1 .zh, .lhead h1 .zh { display: block; margin: 6px 0 0; font-size: 20px; }
  .layout main h2 { font-size: 25px; }
  .ftable { grid-template-columns: 1fr; }
  .ftable div:nth-child(odd) { border-right: 0; }
  .ftable div:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid var(--line); }
}
.side .dc { padding: 16px; }
.side .dc h3 { font-size: 17px; }
.side .dc h3 .zh { display: block; margin: 2px 0 0; font-size: 14px; }
.side .dc .dphoto { width: 48px; height: 60px; }
.side .dc .focus, .side .dc .tag { display: none; }
.side .dc .foot { padding-top: 10px; }
.side .dc .foot .link { padding-top: 10px; }

/* hero: recently verified panel */
.recent { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 20px; background: var(--soft); border: 1px solid var(--line); }
.rhead { display: flex; align-items: center; justify-content: space-between; padding: 0 2px 4px; }
.rrow { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--text); transition: border-color .15s; }
.rrow:hover { border-color: var(--navy-700); }
.rrow .dphoto { width: 52px; height: 64px; }
.rinfo { display: flex; flex-direction: column; min-width: 0; line-height: 1.4; }
.rinfo b { font-size: 16.5px; color: var(--navy-900); }
.rinfo b .zh { font-size: 14px; margin-left: 4px; }
.rinfo > span { font-size: 14px; color: var(--muted); }
.rrow .ok { margin-left: auto; width: 28px; height: 28px; border-radius: 50%; background: var(--navy-700); color: var(--white); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.rrow .ok svg.i { width: 15px; height: 15px; }
.rfoot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 6px 2px 0; }

/* hospital text cards */
.hcard2 { display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); color: var(--text); transition: border-color .15s; }
.hcard2:hover { border-color: var(--navy-700); }
.hcard2 .tags { display: flex; gap: 6px; margin-bottom: 8px; }
.hcard2 h3 { font-size: 21px; line-height: 1.3; }
.hcard2 .zh { font-size: 14px; }
.hcard2 p { margin: 10px 0 0; font-size: 15.5px; }
.hcard2 .addr { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 14px; color: var(--muted); }
.hcard2 .addr svg.i { width: 15px; height: 15px; color: var(--navy-700); }
.hcard2 .link { margin-top: auto; padding-top: 16px; }

/* list page info strip */
.infostrip { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.infostrip div { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; min-width: 0; }
.infostrip div + div { border-left: 1px solid var(--line); }
.infostrip span { font-size: 13.5px; color: var(--muted); }
.infostrip b { font-size: 15.5px; color: var(--navy-900); overflow-wrap: anywhere; }
@media (max-width: 1080px) { .infostrip { grid-template-columns: 1fr 1fr; } .infostrip div:nth-child(3) { border-left: 0; } .infostrip div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* 医院页顶部照片横幅：照片铺底 + 左深右浅的海军蓝渐变，白字；信息卡压在横幅底边 */
.hbanner { position: relative; background-color: var(--navy-700); background-size: cover; background-repeat: no-repeat; color: #fff; }
.hbanner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23, 46, 82, .94) 0%, rgba(23, 61, 121, .82) 48%, rgba(23, 61, 121, .45) 100%); }
.hbanner.nophoto::before { background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%); }
.hbanner .wrap { position: relative; padding-bottom: 100px; }
.hbanner .crumbs { padding-top: 22px; color: rgba(255, 255, 255, .8); }
.hbanner .crumbs a { color: #fff; text-decoration-color: rgba(255, 255, 255, .45); }
.hbanner .crumbs .sep { color: rgba(255, 255, 255, .55); }
.hbanner .bmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 46px; }
.hbanner .btag { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35); font-size: 13px; font-weight: 700; line-height: 1; color: #fff; }
.hbanner .eyebrow { margin: 0; color: rgba(255, 255, 255, .85); }
.hbanner h1 { margin-top: 14px; font-size: 48px; line-height: 1.12; letter-spacing: -.01em; color: #fff; }
.hbanner h1 .zh { display: block; margin: 8px 0 0; font-size: 22px; line-height: 1.35; font-weight: 600; color: rgba(255, 255, 255, .85); }   /* 另一种语言的名字单独一行（用户 11-19 要求） */
.hbanner .lead { margin: 14px 0 0; max-width: 680px; color: rgba(255, 255, 255, .92); }
.hbanner .credit { margin: 22px 0 0; font-size: 12px; line-height: 1.5; color: rgba(255, 255, 255, .7); }
.hbanner .credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(255, 255, 255, .4); }
.infostrip.lift { position: relative; margin-top: -52px; box-shadow: var(--shadow); }
.listpage > .chips { margin-top: 22px; }
@media (max-width: 720px) {
  .hbanner::before { background: linear-gradient(180deg, rgba(23, 46, 82, .9) 0%, rgba(23, 61, 121, .8) 100%); }
  .hbanner .bmeta { margin-top: 22px; }
  .hbanner h1 { font-size: 34px; }
  .hbanner h1 .zh { display: block; margin: 6px 0 0; font-size: 20px; }
  .hbanner .wrap { padding-bottom: 76px; }
}
@media (max-width: 720px) { .recent { padding: 16px; } .rrow { padding: 12px; gap: 12px; } }
/* 横版字标（医患圆形徽标 + China Doctor Guide，11-19 换），原图 assets_src/logo-wordmark-master.png；上一版箭头字标存为 logo-wordmark-arrow-master.png */
.logo-wm { display: block; height: 46px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }   /* 用户 11-19 要求放大 */
.top .logo { min-width: 0; flex: 0 1 auto; }
footer .logo-wm { height: 48px; }
@media (max-width: 720px) {
  .logo-wm { height: 34px; }
  .top .right { gap: 6px; }                                 /* 右边按钮收紧一点，给放大的 logo 让位置 */
  .top .right .sbtn, .top .right .menu-btn { width: 36px; height: 36px; }
  .langsw > * { padding: 0 8px; }
}

/* section index pages */
.filters { display: grid; gap: 12px; margin: 28px 0 32px; padding: 20px 22px; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line); }
.frow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.flbl { width: 90px; flex-shrink: 0; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
button.chip { font: inherit; font-size: 14px; cursor: pointer; }
.chip.on { background: var(--navy-700); border-color: var(--navy-700); color: var(--white); }
.chip.on .cnt { color: rgba(255, 255, 255, .75); }
.fsearch { flex: 1; min-width: 200px; max-width: 360px; height: 38px; padding: 0 14px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--white); font: inherit; font-size: 15px; color: var(--text); outline: 0; }
.fsearch:focus { border-color: var(--navy-700); }
.scard.soon { box-shadow: none; background: var(--soft); }
.scard.soon h3 { color: var(--muted); }
.scard.soon .ibox { background: var(--white); color: var(--muted); }
@media (max-width: 720px) { .flbl { width: 100%; } .fsearch { max-width: none; } }
.menu-btn { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: var(--navy-900); cursor: pointer; padding: 0; }
.menu-btn svg { width: 22px; height: 22px; }
@media (max-width: 980px) {
  .nav, .top .right .loc { display: none; }
  .menu-btn { display: inline-flex; }
  .top .right { gap: 8px; }
  .nav.open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 6px 40px 12px; }
  .nav.open a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav.open a:last-child { border-bottom: 0; }
}
@media (max-width: 560px) { .top .right .btn.sm { display: none; } }

/* language switch */
.langsw { display: inline-flex; align-items: center; height: 36px; padding: 3px; border: 1px solid var(--line); border-radius: 10px; font-size: 13.5px; font-weight: 650; }
.langsw > * { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 7px; line-height: 1; white-space: nowrap; }
.langsw b { background: var(--navy-700); color: var(--white); }
.langsw a { color: var(--text); }
.langsw a:hover { background: var(--soft); }
html[lang="zh-CN"] body { letter-spacing: .01em; }
html[lang="zh-CN"] .eyebrow { letter-spacing: .12em; }
@media (max-width: 720px) { .langsw { height: 34px; font-size: 13px; } .langsw > * { padding: 0 8px; } }
.logo-full { display: block; height: 46px; width: auto; }
footer .logo-full { height: 44px; }
@media (max-width: 720px) { .logo-full { height: 34px; } }

/* price comparison */
.ptable { display: grid; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.prow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) 120px; gap: 24px; align-items: center; padding: 20px 24px; }
.prow + .prow { border-top: 1px solid var(--line); }
.pname { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pname b { font-size: 17px; color: var(--navy-900); line-height: 1.35; }
.pbars { display: grid; gap: 10px; }
.pbar { display: grid; grid-template-columns: 52px minmax(0, 1fr) 150px; gap: 12px; align-items: center; }
.pbar .who { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pbar .track { position: relative; height: 12px; border-radius: 12px; background: var(--soft); }
.pbar .fill { position: absolute; top: 0; bottom: 0; border-radius: 12px; }
.pbar.cn .fill { background: var(--navy-700); }
.pbar.us .fill { background: #a9bcd9; }
.pbar .val { display: flex; flex-direction: column; font-size: 15px; font-weight: 700; color: var(--navy-900); line-height: 1.25; text-align: right; }
.pbar.us .val { color: var(--muted); }
.pbar .val small { font-size: 12px; font-weight: 500; color: var(--muted); }
.pratio { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.pratio b { font-size: 30px; line-height: 1.1; color: var(--navy-700); letter-spacing: -.02em; }
.pratio span { font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.psrc { grid-column: 1 / -1; display: grid; gap: 4px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--muted); }
@media (max-width: 720px) {
  .prow { grid-template-columns: minmax(0, 1fr) auto; gap: 14px; padding: 18px; }
  .pbars { grid-column: 1 / -1; grid-row: 2; }
  .pratio { grid-row: 1; grid-column: 2; }
  .pbar { grid-template-columns: 44px minmax(0, 1fr) 112px; gap: 8px; }
  .pbar .val { font-size: 13.5px; }
  .pratio b { font-size: 24px; }
}

/* step-by-step guide */
.steps { list-style: none; margin: 0; padding: 0; }
.step { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 20px; padding-bottom: 22px; }
.step::before { content: ""; position: absolute; left: 23px; top: 52px; bottom: 4px; width: 2px; background: var(--line); }
.step:last-child { padding-bottom: 0; }
.step:last-child::before { display: none; }
.step .num { width: 48px; height: 48px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; color: var(--navy-700); background: var(--white); border: 2px solid var(--navy-700); }
.step.live .num { color: var(--white); background: var(--navy-700); }
.sbody { padding: 18px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
.slabel { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.sbody h3 { font-size: 19px; line-height: 1.3; }
.sbody h3 a { color: var(--navy-900); }
.sbody h3 a:hover { color: var(--navy-700); }
.sbody p { margin: 6px 0 10px; font-size: 15.5px; }
.sbody .acts { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.steps.full .step { padding-bottom: 34px; }
.steps.full .step .num { width: 56px; height: 56px; font-size: 21px; }
.steps.full .step { grid-template-columns: 56px minmax(0, 1fr); gap: 24px; }
.steps.full .step::before { left: 27px; top: 60px; }
.steps.full .sbody { padding: 24px 26px; scroll-margin-top: 100px; }
.steps.full .sbody h2 { font-size: 26px; line-height: 1.25; }
.steps.full .sbody p { font-size: 16.5px; }
.step { scroll-margin-top: 100px; }
.topics { display: grid; gap: 10px; margin-top: 18px; }
.topic { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); scroll-margin-top: 100px; }
.topic > span:nth-child(2) { display: flex; flex-direction: column; }
.topic b { color: var(--navy-900); font-size: 15.5px; }
.topic .ibox { background: var(--white); }
@media (max-width: 720px) {
  .step, .steps.full .step { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
  .step .num, .steps.full .step .num { width: 40px; height: 40px; font-size: 16px; }
  .step::before, .steps.full .step::before { left: 19px; top: 44px; }
  .sbody, .steps.full .sbody { padding: 16px; }
  .steps.full .sbody h2 { font-size: 22px; }
  .topic { grid-template-columns: 36px minmax(0, 1fr); }
  .topic .tag { grid-column: 2; justify-self: start; }
}
.sbody .watch { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 12px; padding: 10px 12px; border-radius: var(--radius-sm); background: #fff7ed; border: 1px solid #fde3c4; font-size: 14.5px; line-height: 1.5; color: #7a4a12; }
.sbody .watch svg.i { width: 17px; height: 17px; margin-top: 2px; color: #c2620d; }
.sbody .watch b { color: #7a4a12; }

/* self-check */
.checkf { display: grid; gap: 12px; margin-top: 28px; max-width: 820px; }
.qcard { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 14px; padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
.qno { grid-row: span 2; font-size: 14px; font-weight: 800; color: var(--navy-700); padding-top: 2px; }
.qtext { margin: 0; font-size: 16.5px; font-weight: 600; color: var(--navy-900); line-height: 1.45; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: inline-flex; align-items: center; justify-content: center; min-width: 74px; height: 38px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--white); color: var(--text); font-size: 14.5px; font-weight: 600; cursor: pointer; }
.opt input:checked + span { background: var(--navy-700); border-color: var(--navy-700); color: var(--white); }
.opt input:focus-visible + span { outline: 2px solid var(--navy-600); outline-offset: 2px; }
.cbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; padding: 16px 20px; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line); }
.cbar .btn[disabled] { opacity: .45; cursor: not-allowed; }
.cres { margin-top: 24px; max-width: 820px; padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); scroll-margin-top: 100px; }
.verdict { padding: 16px 18px; border-radius: 12px; margin-bottom: 18px; }
.verdict b { display: block; font-size: 20px; line-height: 1.3; }
.verdict p { margin: 6px 0 0; }
.verdict.good { background: #ecf6f0; border: 1px solid #bfe1cc; } .verdict.good b { color: #1e6b41; }
.verdict.prep { background: #fff7ed; border: 1px solid #fde3c4; } .verdict.prep b { color: #8a520f; }
.verdict.stop { background: #fdeeee; border: 1px solid #f3c9c9; } .verdict.stop b { color: #9b2c2c; }
.todo-h { font-weight: 700; color: var(--navy-900); margin: 8px 0 8px; }
.todo { margin: 0 0 20px; padding-left: 20px; display: grid; gap: 8px; }

/* hero: 背景地球 + 医生绕着转（ORBIT_JS 画） */
.stage { height: 600px; }
.orbit { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.orbit canvas { position: absolute; left: 0; top: 0; z-index: 100; }
.oc { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 10px; padding: 7px 16px 7px 7px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 10px 28px rgba(23, 46, 82, .10); white-space: nowrap; line-height: 1.3; opacity: 0; will-change: transform, opacity; }
.oc img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.oc b { display: block; font-size: 14px; color: var(--navy-900); }
.oc span { display: block; max-width: 230px; overflow: hidden; text-overflow: ellipsis; font-size: 12px; color: var(--muted); }
@media (max-width: 1080px) { .orbit, .stage { display: none; } }

/* 首页 8 个步骤：横排卡片，蓝色标题 + 蓝字说明 */
.stepcards .scard { gap: 8px; }
.stepcards .scard:hover { border-color: var(--navy-700); }
/* 8 个步骤走"反 C 形"：上一行 1→4 从左往右，4 往下到 5，下一行 5→8 从右往左；一行两张时一路折下去。DOM 顺序不变，只改摆放位置 */
.stepcards .scard { position: relative; }
.stepcards .scard::after { content: ""; position: absolute; z-index: 2; display: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--white) no-repeat center / 16px 16px; }
@media (min-width: 1081px) {
  .stepcards .scard:nth-child(-n+4) { grid-row: 1; }
  .stepcards .scard:nth-child(5) { grid-row: 2; grid-column: 4; }
  .stepcards .scard:nth-child(6) { grid-row: 2; grid-column: 3; }
  .stepcards .scard:nth-child(7) { grid-row: 2; grid-column: 2; }
  .stepcards .scard:nth-child(8) { grid-row: 2; grid-column: 1; }
  .stepcards .scard:nth-child(-n+3)::after { display: block; top: 50%; right: -25px; margin-top: -15px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23173d79' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E"); }
  .stepcards .scard:nth-child(4)::after { display: block; bottom: -25px; left: 50%; margin-left: -15px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23173d79' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); }
  .stepcards .scard:nth-child(n+5):nth-child(-n+7)::after { display: block; top: 50%; left: -25px; margin-top: -15px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23173d79' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 6l-6 6 6 6'/%3E%3C/svg%3E"); }
}
@media (max-width: 1080px) {
  .stepcards .scard:nth-child(1) { grid-row: 1; grid-column: 1; }
  .stepcards .scard:nth-child(2) { grid-row: 1; grid-column: 2; }
  .stepcards .scard:nth-child(3) { grid-row: 2; grid-column: 2; }
  .stepcards .scard:nth-child(4) { grid-row: 2; grid-column: 1; }
  .stepcards .scard:nth-child(5) { grid-row: 3; grid-column: 1; }
  .stepcards .scard:nth-child(6) { grid-row: 3; grid-column: 2; }
  .stepcards .scard:nth-child(7) { grid-row: 4; grid-column: 2; }
  .stepcards .scard:nth-child(8) { grid-row: 4; grid-column: 1; }
  .stepcards .scard:nth-child(1)::after, .stepcards .scard:nth-child(5)::after { display: block; top: 50%; right: -25px; margin-top: -15px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23173d79' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E"); }
  .stepcards .scard:nth-child(2)::after, .stepcards .scard:nth-child(4)::after, .stepcards .scard:nth-child(6)::after { display: block; bottom: -25px; left: 50%; margin-left: -15px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23173d79' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); }
  .stepcards .scard:nth-child(3)::after, .stepcards .scard:nth-child(7)::after { display: block; top: 50%; left: -25px; margin-top: -15px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23173d79' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 6l-6 6 6 6'/%3E%3C/svg%3E"); }
}
@media (max-width: 720px) {
  .stepcards .scard::after { width: 24px !important; height: 24px !important; background-size: 13px 13px !important; }
  .stepcards .scard:nth-child(1)::after, .stepcards .scard:nth-child(5)::after { right: -18px; margin-top: -12px; }
  .stepcards .scard:nth-child(2)::after, .stepcards .scard:nth-child(4)::after, .stepcards .scard:nth-child(6)::after { bottom: -18px; margin-left: -12px; }
  .stepcards .scard:nth-child(3)::after, .stepcards .scard:nth-child(7)::after { left: -18px; margin-top: -12px; }
}
.stepcards h3 { font-size: 18px; line-height: 1.4; }
.stepcards p { color: var(--navy-600); font-size: 15px; }
.shead h2 .ib { display: inline-block; }
@media (max-width: 720px) { .stepcards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .stepcards .scard { padding: 16px; } .stepcards .ibox { width: 34px; height: 34px; } .stepcards h3 { font-size: 16px; margin-top: 2px; } .stepcards p { font-size: 14px; line-height: 1.5; } }

/* guide articles */
.article section { scroll-margin-top: 100px; }
.article h2 { font-size: 28px; }
.gsteps { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.gsteps li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: start; }
.gsteps li > span { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--soft); border: 1px solid var(--line); color: var(--navy-700); font-weight: 800; font-size: 14px; }
.gsteps li > div { padding-top: 3px; }
.article .watch { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 16px; padding: 12px 14px; border-radius: var(--radius-sm); background: #fff7ed; border: 1px solid #fde3c4; color: #7a4a12; font-size: 15.5px; }
.article .watch svg.i { width: 18px; height: 18px; margin-top: 3px; color: #c2620d; }
.tipbox { display: flex; gap: 8px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--soft); border: 1px solid var(--line); font-size: 15.5px; }
.tipbox svg.i { width: 18px; height: 18px; margin-top: 3px; color: var(--navy-700); }
.cl { display: grid; gap: 8px; margin-bottom: 16px; }
.clrow { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--white); cursor: pointer; }
.clrow input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy-700); cursor: pointer; }
.clrow:has(input:checked) { background: var(--soft); }
.clrow:has(input:checked) span { color: var(--muted); text-decoration: line-through; }
.clbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.contacts { display: grid; gap: 10px; margin-bottom: 16px; }
.crow3 { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); }
.crow3 b { color: var(--navy-900); }
.crow3 span { font-size: 15px; }
.toc { display: grid; gap: 6px; }
.toc a { color: var(--text); font-size: 15px; }
.toc a:hover { color: var(--navy-700); }
a.topic { color: var(--text); transition: border-color .15s; }
a.topic:hover { border-color: var(--navy-700); }
@media print {
  .top, footer, .side, .crumbs, .clbar .btn { display: none !important; }
  .layout { display: block; padding: 0; }
  .clrow { break-inside: avoid; }
}

/* 指南里的表格（签证对比、挂号常见问题）：手机上每行变成卡片 */
.gtable { margin: 0 0 16px; }
.gtable table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); overflow: hidden; font-size: 15px; line-height: 1.5; }
.gtable th { text-align: left; padding: 10px 14px; background: var(--soft); color: var(--muted); font-size: 13px; font-weight: 600; border-bottom: 1px solid var(--line); }
.gtable td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.gtable tr:last-child td { border-bottom: 0; }
.gtable td:first-child { font-weight: 600; color: var(--navy-900); }
@media (max-width: 720px) {
  .gtable table, .gtable tbody, .gtable tr, .gtable td { display: block; width: 100%; }
  .gtable thead { display: none; }
  .gtable tr { padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .gtable tr:last-child { border-bottom: 0; }
  .gtable td { padding: 0; border: 0; }
  .gtable td + td { margin-top: 6px; }
  .gtable td + td::before { content: attr(data-h); display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); }
}

/* 费用页表格下面的说明（#bills） */
.costnotes { max-width: 780px; }
.costnotes > section { margin-top: 36px; scroll-margin-top: 100px; }
.costnotes h2 { display: block; font-size: 22px; line-height: 1.3; margin-bottom: 14px; }
.costnotes p { margin: 0 0 14px; }
.costnotes .tipbox, .costnotes .watch { margin: 0 0 14px; }
@media (max-width: 720px) { .costnotes h2 { font-size: 20px; } }

/* 看病常用语（guides/phrasebook.html） */
.pbook .tipbox { margin: 0 0 12px; }
.pbsec { margin-top: 36px; }
.pbtable { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); overflow: hidden; font-size: 15.5px; line-height: 1.45; }
.pbtable th { text-align: left; padding: 10px 14px; background: var(--soft); color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .02em; border-bottom: 1px solid var(--line); }
.pbtable td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.pbtable tr:last-child td { border-bottom: 0; }
.pbtable td { width: 50%; }
.pbtable .pzh b { display: block; font-size: 19px; font-weight: 600; color: var(--navy-900); }
.pbtable .ppy { display: block; margin-top: 2px; color: var(--muted); font-size: 14px; }
.pbook > .watch { margin-top: 32px; }
@media (max-width: 720px) {
  .pbtable { font-size: 14px; }
  .pbtable th, .pbtable td { padding: 8px 10px; }
  .pbtable .pzh b { font-size: 17px; }
  .pbtable .ppy { font-size: 13px; }
}
@media print {
  .npbar, .noprint, .pbook .tipbox { display: none !important; }
  .layout main.pbook { columns: 2; column-gap: 18px; }   /* 打印两栏，省纸 */
  .pbook .pbsec { margin-top: 0; padding-top: 10px; }
  .pbook > .watch { column-span: all; }
  .layout main.pbook h2 { font-size: 15px; margin: 0 0 5px; break-after: avoid; }
  .pbtable tr { break-inside: avoid; }
  .lhead:has(+ .layout .pbook) h1 { font-size: 24px; }
  .pbtable { box-shadow: none; font-size: 11.5px; border-radius: 0; }
  .pbtable th, .pbtable td { padding: 4px 8px; }
  .pbtable .pzh b { font-size: 14px; }
  .pbtable .ppy { font-size: 10.5px; }
  .lhead .lead { font-size: 12px; }
}

/* centring fixes */
.step { align-items: center; }
.step .num { position: relative; z-index: 1; }
.step::before, .steps.full .step::before { top: 0; bottom: 0; }
.step:first-child::before, .steps.full .step:first-child::before { top: 50%; }
.step:last-child::before { display: block; bottom: 50%; }
.step:only-child::before { display: none; }
.dc .top2 { align-items: center; }
.more-list .lbl { flex-basis: 100%; margin: 0 0 2px; }

/* holiday timeline */
.htl { margin: 4px 0 18px; padding: 20px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
.htl-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.htl-head b { color: var(--navy-900); }
.htl-head .small { display: inline-flex; align-items: center; gap: 6px; }
.htl .k { display: inline-block; width: 12px; height: 12px; border-radius: 3px; background: #c9d6ea; margin-left: 10px; }
.htl .k.major { background: #e58a2e; margin-left: 0; }
.hgrid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.hm { display: flex; flex-direction: column; gap: 3px; min-height: 104px; padding: 10px 11px; border-radius: 10px; border: 1px solid var(--line); background: var(--soft); font-size: 13px; line-height: 1.35; }
.hm .mh { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 4px; }
.hm .mh strong { font-size: 15px; color: var(--navy-900); }
.hm b { color: var(--navy-900); font-weight: 600; }
.hm span { color: var(--muted); }
.hm .none { color: #93a1b3; }
.hm.minor { background: #eef3fa; border-color: #c9d6ea; }
.hm.major { background: #fff4e8; border-color: #f1c38f; }
.hm.major b { color: #8a4a08; }
.hm em { font-style: normal; font-size: 11.5px; font-weight: 700; color: #fff; background: #e58a2e; border-radius: 999px; padding: 1px 8px; }
footer .hotline { display: flex; gap: 8px; align-items: flex-start; margin-top: 4px; padding: 10px 12px; border-radius: 10px; background: var(--white); border: 1px solid var(--line); color: var(--text); font-size: 14px; }
footer .hotline svg.i { width: 17px; height: 17px; margin-top: 2px; color: var(--navy-700); }
@media (max-width: 860px) { .hgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) { .hgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hm { min-height: 0; } }

/* hotline numbers */
.nums { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; margin: 6px 0 18px; }
.num { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 4px; padding: 18px 14px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
.num strong { font-size: 30px; line-height: 1.1; letter-spacing: 1px; color: var(--navy-900); font-variant-numeric: tabular-nums; }
.num b { color: var(--navy-900); }
.num span { font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.num.main { background: var(--navy-700); border-color: var(--navy-700); }
.num.main strong { font-size: 40px; color: #fff; }
.num.main b { color: #fff; }
.num.main span { color: #d6e2f3; }
@media (max-width: 560px) { .nums { grid-template-columns: 1fr 1fr; } .num.main { grid-column: 1 / -1; } }

/* header: medium widths */
@media (min-width: 981px) and (max-width: 1140px) {
  .top .wrap { gap: 24px; }
  .nav { gap: 18px; font-size: 14px; }
  .logo { font-size: 17px; }
  .top .right { gap: 10px; }
  .top .right .btn.sm { padding: 0 14px; font-size: 14px; }
}
@media (max-width: 720px) { .nav.open { padding: 6px 20px 12px; } }
@media (max-width: 380px) { .top .wrap { gap: 8px; } .logo { font-size: 15px; gap: 6px; } .langsw > * { padding: 0 7px; } }
@media (max-width: 350px) { .top .logo > span { display: none; } }

/* directory rows (large lists) */
.drows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.drow { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--text); min-width: 0; }
.drow:hover { border-color: #b9c8de; box-shadow: var(--shadow); }
.drow .dthumb { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--soft); }
.drow .dthumb.ph { display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: var(--navy-700); }
.drow .dmain { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.drow .dmain b { color: var(--navy-900); font-size: 15.5px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drow .dmain b .zh { font-weight: 500; color: var(--muted); margin-left: 6px; font-size: 14px; }
.drow .dsub { font-size: 13px; color: var(--muted); line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drow .tag { flex-shrink: 0; }
/* 下拉框：去掉系统自带的箭头（贴着右边框），换成自己画的箭头，离右边 16px */
.fsel { height: 40px; padding: 0 44px 0 14px; border: 1px solid var(--line); border-radius: 10px; color: var(--text); font: inherit; font-size: 14.5px; max-width: 100%; cursor: pointer; -webkit-appearance: none; -moz-appearance: none; appearance: none;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6b80' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center / 16px 16px; }
.fsel:hover { border-color: #c5d2e3; }
.fsel:focus-visible { outline: 2px solid var(--navy-700); outline-offset: 1px; }
.fsel::-ms-expand { display: none; }
#finder .fsearch { width: 100%; max-width: none; }
@media (max-width: 720px) { .drows { grid-template-columns: 1fr; } .drow .tag { display: none; } .fsel { flex: 1 1 100%; } }
.filters { grid-template-columns: minmax(0, 1fr); }
.fsel { min-width: 0; }

/* 找医生：像电影网站那样一行一类条件（城市 / 科室 / 疾病 / 医院），一行放不下时收起，点"更多"展开 */
#finder { gap: 0; padding: 8px 22px 0; }
#finder > .frow { padding: 12px 0; }
.fline { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 12px 0; border-top: 1px solid var(--line); }
.fline .flbl { width: auto; line-height: 34px; letter-spacing: .04em; }
html[lang="en"] .fline { grid-template-columns: 112px minmax(0, 1fr) auto; }   /* 英文标签 SPECIALTY、CONDITION 更长 */
.fopts { display: flex; flex-wrap: wrap; gap: 8px; max-height: 34px; overflow: hidden; }
.fline.open .fopts { max-height: none; }
.fopts .chip { height: 34px; padding: 0 11px; }
.fopts .chip .cnt:empty { display: none; }
.fmore { height: 34px; padding: 0 4px; border: 0; background: none; color: var(--navy-700); font: inherit; font-size: 14px; font-weight: 650; line-height: 34px; white-space: nowrap; cursor: pointer; }
.fmore::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.fline.open .fmore::after { transform: translateY(1px) rotate(-135deg); }
.fbar { display: flex; align-items: center; gap: 16px; min-height: 52px; border-top: 1px solid var(--line); font-size: 14.5px; font-weight: 650; color: var(--navy-900); }
.freset { margin-left: auto; padding: 0; border: 0; background: none; color: var(--navy-700); font: inherit; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (max-width: 720px) {
  #finder { padding: 4px 16px 0; }
  .fline, html[lang="en"] .fline { grid-template-columns: minmax(0, 1fr); gap: 6px; }   /* 英文版电脑上的 112px 标签列在手机上不用 */
  .fline .flbl { grid-row: 1; line-height: 24px; }
  .fline .fopts { grid-row: 2; max-height: 76px; }   /* 手机上收起时显示两行选项（英文选项长，一行只放得下"All"） */
  .fline.open .fopts { max-height: none; }
  .fline .fmore { grid-row: 3; justify-self: start; height: 30px; padding: 0; line-height: 30px; }   /* 手机上放在选项正下方，第一眼能看到 */
}

/* 首页：快捷找医生（科室或疾病 + 城市） */
.qfind { padding: 0 0 48px; }
.qbar { display: grid; grid-template-columns: auto minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.qbar .qt { display: inline-flex; align-items: center; gap: 8px; padding: 0 8px 0 6px; font-size: 17px; font-weight: 700; color: var(--navy-900); white-space: nowrap; }
.qbar .qt svg.i { width: 20px; height: 20px; color: var(--navy-700); }
.qbar .fsel { height: 48px; width: 100%; }
@media (max-width: 860px) { .qbar { grid-template-columns: minmax(0, 1fr); } .qbar .qt { padding: 0; } .qbar .btn { width: 100%; } }
@media (max-width: 720px) { .fsel { width: 100%; } }

/* 找医生：选了科室或疾病后按医院分组，组标题占满一整行 */
.drows .dgroup { grid-column: 1 / -1; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; padding: 22px 2px 4px; border-bottom: 1px solid var(--line); }
.drows .dgroup:first-child { padding-top: 4px; }
.drows .dgroup b { font-size: 18px; color: var(--navy-900); }
.drows .dgroup .cnt { font-size: 14px; font-weight: 650; color: var(--muted); }

/* 国家临床重点专科：医院页和专科页的列表，分组标题旁的标签 */
.kspec { margin: 34px 0 6px; }
.kspec h2 { display: flex; align-items: baseline; gap: 10px; font-size: 22px; }
.kspec h2 .cnt { font-size: 14px; font-weight: 650; color: var(--muted); }
.kspec > .small { margin: 8px 0 14px; max-width: 760px; }
.kslist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.kslist .ks { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.kslist .ks b { font-size: 15.5px; color: var(--navy-900); overflow-wrap: anywhere; }
.kslist .ks b .zh { margin-left: 6px; font-size: 13px; font-weight: 500; color: var(--muted); }
.kslist .ks b a { color: inherit; }
.kslist .ks .small { overflow-wrap: anywhere; }
.tag.ks { margin-left: 10px; background: #e8f0fb; color: var(--navy-700); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
a.tag.ks:hover { text-decoration: underline; }
.drows .dgroup .tag.ks { margin-left: 2px; align-self: center; }
@media (max-width: 720px) { .kslist { grid-template-columns: 1fr; } }
.group h2 { flex-wrap: wrap; row-gap: 6px; }
@media (max-width: 720px) { .tag.ks { margin-left: 0; white-space: normal; height: auto; min-height: 26px; padding: 4px 9px; line-height: 1.3; } }

/* 页脚（11-19 重做）：品牌 + 栏目链接两列 + 求助号码，底部一条细栏 */
footer { padding: 48px 0 28px; font-size: 14.5px; }
footer .wrap { display: block; }
footer .ftop { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
footer .fbrand p { margin: 14px 0 0; max-width: 380px; line-height: 1.7; }
footer .fh { display: block; margin-bottom: 12px; }
footer .flinks { display: grid; grid-template-columns: repeat(2, max-content); gap: 10px 36px; }
footer .fnum { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin-bottom: 8px; line-height: 1.5; }
footer .fnum b { font-size: 17px; color: var(--navy-900); }
footer .fnum span + b { margin-left: 14px; }
footer .fbottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; }
footer .fbottom a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #b9c6d8; }
@media (max-width: 860px) { footer .ftop { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } footer .fbrand { grid-column: 1 / -1; } }
@media (max-width: 560px) { footer .ftop { grid-template-columns: minmax(0, 1fr); gap: 28px; } footer .fbottom { flex-direction: column; } }

/* 找医生页底部：只留两个链接（原来是全部医院、全部专科的大片标签） */
.morelinks { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- 模糊搜索（assets_src/search.js） ---------- */
/* 页头搜索按钮 */
.sbtn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: var(--muted); font: inherit; font-size: 14.5px; cursor: pointer; transition: border-color .15s, color .15s; }
.sbtn:hover { border-color: var(--navy-700); color: var(--navy-700); }
.sbtn svg { width: 18px; height: 18px; flex-shrink: 0; }
@media (max-width: 1180px) { .sbtn span { display: none; } .sbtn { width: 40px; padding: 0; justify-content: center; } }

/* 搜索浮层 */
html.slock, html.slock body { overflow: hidden; }
.sov { position: fixed; inset: 0; z-index: 1000; display: none; align-items: flex-start; justify-content: center; padding: 72px 16px 16px; background: rgba(23, 46, 82, .38); }
.sov.on { display: flex; }
.sovbox { width: 100%; max-width: 720px; max-height: calc(100vh - 120px); display: flex; flex-direction: column; background: var(--white); border-radius: 16px; box-shadow: 0 24px 60px rgba(23, 46, 82, .25); overflow: hidden; }
.sin { display: flex; align-items: center; gap: 12px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.sin svg { width: 20px; height: 20px; color: var(--muted); flex-shrink: 0; }
.sin input { flex: 1; min-width: 0; height: 60px; border: 0; outline: 0; background: none; font: inherit; font-size: 17px; color: var(--navy-900); }
.sin input::-webkit-search-cancel-button { -webkit-appearance: none; }
.sx { width: 36px; height: 36px; flex-shrink: 0; border: 0; border-radius: 8px; background: var(--soft); color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; }
.sres { overflow-y: auto; padding: 6px 8px 10px; }
.sres:empty { display: none; }
.sfoot { padding: 10px 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); background: var(--soft); }
.sg { padding: 6px 0; }
.sgh { display: flex; align-items: baseline; gap: 10px; padding: 8px 10px 4px; font-size: 13px; color: var(--muted); }
.sgh b { color: var(--navy-900); font-size: 13.5px; letter-spacing: .04em; }
.sgh a { margin-left: auto; font-weight: 600; }
.sr { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px; color: var(--text); }
.sr:hover, .sr:focus-visible { background: var(--soft); outline: 0; }
.sr img, .sr .ph { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.sr .ph { display: inline-flex; align-items: center; justify-content: center; background: var(--soft); color: var(--navy-700); font-size: 13px; font-weight: 700; }
.sr .si { width: 40px; height: 40px; border-radius: 10px; background: var(--soft); color: var(--navy-700); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sr .si svg { width: 20px; height: 20px; }
.sr .st { display: flex; flex-direction: column; min-width: 0; line-height: 1.4; }
.sr .st b { font-size: 15.5px; color: var(--navy-900); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr .st b i { font-style: normal; font-weight: 500; color: var(--muted); font-size: 13.5px; margin-left: 4px; }
.sr .st small { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr .tag { margin-left: auto; flex-shrink: 0; }
.snote { margin: 8px 10px; font-size: 14px; color: var(--muted); }
@media (max-width: 720px) { .sov { padding: 0; } .sovbox { max-width: none; max-height: none; height: 100%; border-radius: 0; } .sr .tag { display: none; } }

/* 搜索结果页 */
#spage { margin-top: 28px; max-width: 820px; }
#spage .sin.big { border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: var(--shadow); }
#spage .sin.big:focus-within { border-color: var(--navy-700); }
#spage .sres { padding: 12px 0 0; overflow: visible; }
#qnote:empty { display: none; }
#qnote { flex-basis: 100%; margin: 8px 2px 0; }
#finder .frow { flex-wrap: wrap; }

/* 列表页筛选框（专科、病种总页） */
.lsearch { display: flex; align-items: center; gap: 10px; max-width: 560px; height: 52px; margin: 24px 0 8px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); box-shadow: var(--shadow); }
.lsearch:focus-within { border-color: var(--navy-700); }
.lsearch svg { width: 19px; height: 19px; color: var(--muted); flex-shrink: 0; }
.lsearch input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font: inherit; font-size: 16px; color: var(--navy-900); }
.lempty { margin-top: 24px; }

/* 病种总页：按身体部位分组 */
.cgroup { margin-top: 40px; }
.cgroup h2 { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 12px; font-size: 22px; line-height: 1.3; margin-bottom: 16px; }
.cgroup h2 .ibox { grid-row: span 2; }
.cgroup h2 .cnt { grid-column: 2; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.cgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.citem { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--navy-900); font-weight: 600; font-size: 15.5px; line-height: 1.4; transition: border-color .15s; }
.citem:hover { border-color: var(--navy-700); }
.citem .cnt { font-size: 13px; font-weight: 500; color: var(--muted); flex-shrink: 0; }
@media (max-width: 1080px) { .cgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .cgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .citem { padding: 11px 12px; font-size: 14.5px; } .cgroup h2 { font-size: 19px; } }

/* 病种详情页：科室 / 城市 / 医院 */
.cfacts { display: grid; gap: 14px; margin: 8px 0 12px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }
.cfrow { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; align-items: start; }
.cflbl { font-size: 13.5px; font-weight: 700; color: var(--navy-900); line-height: 34px; }
.cfrow .chips { margin: 0; }
.cmore { margin: 24px 0 12px; }
@media (max-width: 720px) { .cfacts { padding: 16px; } .cfrow { grid-template-columns: 1fr; gap: 6px; } .cflbl { line-height: 1.4; } }

/* 手机上全站卡片和医生名录都一行两张（用户 11-19 要求，多看到一点内容） */
@media (max-width: 720px) {
  .cards3, .dcards, .dcards.dside { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cards3 .scard, .dcards .dc, .cards3 .hcard2 { padding: 14px; gap: 6px; }
  .cards3 .scard .ibox { width: 32px; height: 32px; }
  .cards3 .scard .ibox svg.i { width: 18px; height: 18px; }
  .cards3 .scard .no { font-size: 12.5px; }
  .cards3 .scard h3 { font-size: 16.5px; margin-top: 2px; }
  .cards3 .scard h3 .zh, .dcards .dc h3 .zh { display: block; margin: 2px 0 0; font-size: 12px; line-height: 1.35; }
  .cards3 .scard p { font-size: 13px; line-height: 1.5; }
  .cards3 .scard .link, .dcards .dc .foot .link, .cards3 .hcard2 .link { font-size: 13.5px; }
  .dcards .dc .top2 { flex-direction: column-reverse; align-items: flex-start; gap: 8px; }
  .dcards .dc .dphoto { width: 48px; height: 60px; }
  .dcards .dc .eb { font-size: 12px; line-height: 1.4; }
  .dcards .dc h3 { font-size: 16.5px; margin: 4px 0 2px; }
  .dcards .dc .sub { font-size: 12.5px; line-height: 1.4; }
  .dcards .dc .tag { margin-top: 8px; font-size: 12px; }
  .dcards .dc .focus { margin-top: 8px; font-size: 13px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .dcards .dc .foot { padding-top: 10px; }
  .dcards .dc .foot .link { padding-top: 10px; }
  .cards3 .hcard2 .tags { margin-bottom: 4px; flex-wrap: wrap; }
  .cards3 .hcard2 .tags .tag { font-size: 11.5px; }
  .cards3 .hcard2 h3 { font-size: 16.5px; }
  .cards3 .hcard2 .zh { font-size: 12px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .cards3 .hcard2 p { margin-top: 6px; font-size: 13px; line-height: 1.5; }
  .cards3 .hcard2 .addr { font-size: 12px; align-items: flex-start; }
  .cards3 .hcard2 .addr svg.i { margin-top: 2px; }
  .cards3 .hcard2 .link { padding-top: 10px; }
  /* 医生名录（找医生、医院、专科、病种页）：头像在上，名字、职称科室在下 */
  .drows { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .drow { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; }
  .drow .dthumb { width: 46px; height: 46px; }
  .drow .dmain { width: 100%; }
  .drow .dmain b { white-space: normal; font-size: 15px; line-height: 1.3; }
  .drow .dmain b .zh { display: block; margin: 2px 0 0; font-size: 12.5px; }
  .drow .dsub { margin-top: 3px; white-space: normal; font-size: 12.5px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
  .drow .tag { display: inline-flex; height: auto; margin-top: auto; padding: 4px 8px; font-size: 11.5px; line-height: 1.3; white-space: normal; }
  .dcards .dc h3 { display: block; }   /* 医生页侧栏 .sbox h3 是横排的，套到卡片名字上会把中文名挤断 */
}

/* 找医生：展开后按组排（科室按大类、疾病按身体部位、医院按城市） */
.fall { display: none; }
.fline.open .fall { display: block; }
.fline.grouped.open .fopts { display: none; }
.fall > .chip { margin-bottom: 4px; }
.fg { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 8px 12px; padding: 10px 0 2px; }
.fg + .fg { border-top: 1px dashed var(--line); }
.fgl { font-size: 13px; font-weight: 650; color: var(--muted); line-height: 1.4; padding-top: 8px; }
.fgc { display: flex; flex-wrap: wrap; gap: 8px; }
.fgc .chip { height: 34px; padding: 0 11px; }
.fgc .chip .cnt:empty { display: none; }
@media (max-width: 720px) { .fline .fall { grid-row: 2; } .fg { grid-template-columns: 1fr; gap: 6px; } .fgl { padding-top: 2px; } }

/* 搜索：和搜索词对上的选项、结果里的关键词标出来 */
.chip.qhit:not(.on) { background: #eaf1fb; border-color: var(--navy-700); color: var(--navy-900); box-shadow: inset 0 0 0 1px var(--navy-700); }
mark { background: #ffeaa0; color: inherit; padding: 0 1px; border-radius: 3px; }
.drow .dwhy, .sr .dwhy { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.45; color: var(--navy-600); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 720px) { .drow .dwhy { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } }

/* 非营利说明（用户 11-19 要求放在显眼位置；只说"非营利网站"，不说"组织"） */
.npbar { background: var(--navy-900); color: #fff; font-size: 13.5px; }
.npbar .wrap { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 36px; padding-top: 6px; padding-bottom: 6px; text-align: center; }
.npbar .npl { display: inline-flex; align-items: center; gap: 7px; }
.npbar .npl svg.i { width: 15px; height: 15px; color: #9cc0ef; flex-shrink: 0; }
.npbar .npm { display: none; }
.npbar a { color: #cfe0f7; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
@media (max-width: 720px) { .npbar { font-size: 12.5px; } .npbar .npt { display: none; } .npbar .npm { display: inline; } .npbar .wrap { gap: 10px; } }
.npbadge { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 7px 14px; border-radius: 999px; background: #eaf1fb; color: var(--navy-900); font-size: 14px; font-weight: 650; }
.npbadge svg.i { width: 17px; height: 17px; color: var(--navy-700); }
.npbadge + .meta { margin-top: 16px; }
footer .fnp { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; font-size: 14px; color: var(--navy-900); }
footer .fnp svg.i { width: 17px; height: 17px; margin-top: 3px; color: var(--navy-700); }
.npbox { display: flex; gap: 12px; margin-bottom: 20px; padding: 18px 20px; border-radius: var(--radius); background: #eaf1fb; border: 1px solid #c9d9ef; }
.npbox .ibox { background: var(--white); }
.npbox b { color: var(--navy-900); font-size: 15.5px; }
.npbox p { margin: 4px 0 8px; font-size: 14px; line-height: 1.6; color: var(--text); }
.npbox .ul { font-size: 14px; font-weight: 650; }
.about { display: grid; gap: 16px; margin-top: 32px; max-width: 820px; }
.about section { display: flex; gap: 16px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.about h2 { font-size: 20px; margin-bottom: 6px; }
.about p { margin: 0; }
@media (max-width: 720px) { .about section { padding: 16px; gap: 12px; } .about h2 { font-size: 17.5px; } }

/* 非营利：页内一行说明 + 第一次来时的弹窗 */
.npnote { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0; padding: 12px 16px; border-radius: 12px; background: #eaf1fb; border: 1px solid #c9d9ef; font-size: 14.5px; line-height: 1.55; color: var(--text); }
.npnote svg.i { width: 18px; height: 18px; margin-top: 2px; color: var(--navy-700); flex-shrink: 0; }
.npnote b { color: var(--navy-900); }
.npov { position: fixed; inset: 0; z-index: 1100; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(23, 46, 82, .45); }
.npdlg { width: 100%; max-width: 440px; padding: 28px 28px 24px; border-radius: 18px; background: var(--white); box-shadow: 0 24px 60px rgba(23, 46, 82, .3); }
.npdlg .npic { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 12px; background: #eaf1fb; color: var(--navy-700); }
.npdlg .npic svg { width: 26px; height: 26px; }
.npdlg h2 { margin: 14px 0 10px; font-size: 22px; }
.npdlg ul { margin: 0 0 20px; padding-left: 20px; display: grid; gap: 6px; font-size: 15.5px; color: var(--text); }
.npdlg .npact { display: flex; align-items: center; gap: 18px; }
.npdlg .npact .btn { min-width: 120px; }

.npdlg ul { margin-bottom: 14px; }
.npdlg .npend { margin: 0 0 20px; font-size: 15.5px; font-weight: 650; color: var(--navy-700); }
.about .about-end { margin: 8px 0 0; padding: 4px 4px 0; font-size: 18px; font-weight: 650; color: var(--navy-700); }

/* 医生页：官网来的照片在下面署名 */
.pfig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.pfig figcaption { font-size: 12px; color: var(--muted); }
.pfig figcaption a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }

/* 医院横幅：AI 示意图标签（法规要求标明 AI 生成） */
.hbanner .aitag { position: absolute; right: 40px; bottom: 116px; z-index: 1; display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 6px; background: rgba(0, 0, 0, .45); color: #fff; font-size: 12px; font-weight: 650; letter-spacing: .02em; }
@media (max-width: 720px) { .hbanner .aitag { right: 20px; bottom: auto; top: 14px; } }
