
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --primary: #1a6fa8;
  --primary-dark: #135580;
  --primary-light: #e8f4fd;
  --accent: #2ecc9a;
  --accent-light: #e6f9f3;
  --text-dark: #1a2332;
  --text-mid: #4a5568;
  --text-light: #718096;
  --border: #e2e8f0;
  --bg-light: #f7f9fc;
  --white: #ffffff;
  --red-light: #fff5f5;
  --red: #e53e3e;
  --orange-light: #fffaf0;
  --orange: #dd6b20;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.13);
  --transition: color .2s, background-color .2s, border-color .2s, box-shadow .2s, opacity .2s, transform .25s ease;
  --max-w: 1200px;
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; color: var(--text-dark); line-height: 1.7; font-size: 15px; background: var(--white); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
a { color: inherit; text-decoration: none; transition: color .2s, background-color .2s; }
img { max-width: 100%; display: block; height: auto; }
ul { list-style: none; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.bg-light { background: var(--bg-light); }
.top-bar { background: var(--primary-dark); color: #b3d8f0; font-size: 13px; padding: 7px 0; text-align: center; }
.top-bar a { color: #fff; font-weight: 600; }
.header { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 1000; box-shadow: var(--shadow-sm); will-change: box-shadow; }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon { width: 44px; height: 44px; background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%); color: #fff; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; flex-shrink: 0; }
.logo-text h1 { font-size: 18px; font-weight: 700; color: var(--primary); line-height: 1.2; }
.logo-text p { font-size: 11px; color: var(--text-light); }
.nav ul { display: flex; gap: 4px; align-items: center; }
.nav > ul > li { position: relative; }
.nav a { display: block; padding: 8px 14px; font-size: 14px; font-weight: 500; color: var(--text-mid); border-radius: var(--radius-sm); }
.nav a:hover, .nav a.active { color: var(--primary); background: var(--primary-light); }
.sub-menu { display: none; position: absolute; top: 100%; left: 0; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-md); padding: 8px; min-width: 160px; z-index: 100; }
.has-sub:hover .sub-menu { display: block; }
.sub-menu li a { padding: 8px 12px; font-size: 13px; white-space: nowrap; border-radius: var(--radius-sm); }
.sub-menu li a:hover { background: var(--primary-light); color: var(--primary); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text-dark); border-radius: 2px; transition: transform .25s ease, opacity .2s; }
.hero { background: linear-gradient(135deg, #0d4f7a 0%, #1a6fa8 50%, #0ea888 100%); color: white; padding: 80px 0 64px; overflow: hidden; }
.hero .container { display: flex; align-items: center; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.hero-content { flex: 1; min-width: 280px; }
.hero-badge { display: inline-block; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35); border-radius: 20px; padding: 5px 16px; font-size: 13px; margin-bottom: 20px; }
.hero-content h2 { font-size: clamp(28px, 5vw, 46px); font-weight: 700; line-height: 1.25; margin-bottom: 16px; }
.hero-content p { font-size: 15px; opacity: .88; margin-bottom: 32px; max-width: 480px; line-height: 1.8; }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; padding: 12px 28px; border-radius: 25px; font-size: 14px; font-weight: 600; cursor: pointer; border: 2px solid transparent; transition: background-color .2s, color .2s, transform .25s ease, box-shadow .2s; }
.btn-primary { background: var(--white); color: var(--primary); }
.btn-primary:hover { background: #e8f4fd; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn-outline:hover { background: rgba(255,255,255,.15); transform: translateY(-2px); }
.btn-white { background: var(--white); color: var(--primary); padding: 14px 36px; font-size: 15px; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.15); }
.btn-blue { background: var(--primary); color: var(--white); }
.btn-blue:hover { background: var(--primary-dark); transform: translateY(-2px); }
.hero-stats { display: flex; gap: 16px; flex-wrap: wrap; }
.stat-card { background: rgba(255,255,255,.15); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius-lg); padding: 20px 28px; text-align: center; min-width: 110px; }
.stat-number { font-size: 38px; font-weight: 700; line-height: 1; }
.stat-label { font-size: 13px; opacity: .85; margin-top: 6px; }
.quick-nav { padding: 0; margin-top: -24px; position: relative; z-index: 10; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--border); }
.quick-item { padding: 28px 20px; text-align: center; border-right: 1px solid var(--border); transition: background-color .2s, transform .25s ease; }
.quick-item:last-child { border-right: none; }
.quick-item:hover { background: var(--primary-light); transform: translateY(-2px); }
.quick-icon { width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.qi-1 { background: #dbeafe; }
.qi-2 { background: #dcfce7; }
.qi-3 { background: #fef3c7; }
.qi-4 { background: #fce7f3; }
.quick-item h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; color: var(--text-dark); }
.quick-item p { font-size: 12px; color: var(--text-light); }
.section-header { text-align: center; margin-bottom: 40px; }
.section-tag { display: inline-block; background: var(--primary-light); color: var(--primary); font-size: 12px; font-weight: 600; padding: 4px 14px; border-radius: 20px; margin-bottom: 10px; }
.section-title { font-size: clamp(22px, 3.5vw, 32px); font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.section-desc { font-size: 14px; color: var(--text-light); max-width: 480px; margin: 0 auto; }
.disease-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.disease-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px 20px; transition: border-color .2s, box-shadow .2s, transform .25s ease; display: flex; flex-direction: column; contain: layout style; }
.disease-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.dc-num { font-size: 13px; font-weight: 700; color: var(--primary); background: var(--primary-light); display: inline-block; padding: 2px 10px; border-radius: 12px; margin-bottom: 10px; }
.disease-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; color: var(--text-dark); }
.disease-card p { font-size: 13px; color: var(--text-mid); line-height: 1.7; flex: 1; }
.dc-link { font-size: 13px; color: var(--primary); margin-top: 14px; display: block; font-weight: 500; }
.disease-more { background: var(--primary-light); border-color: var(--primary); justify-content: center; align-items: center; text-align: center; }
.dc-more { margin: auto; }
.dc-more span { display: block; }
.dc-more span:first-child { font-size: 16px; font-weight: 600; color: var(--primary); }
.more-num { font-size: 32px; font-weight: 700; color: var(--primary); line-height: 1.2; }
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.article-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px 20px; transition: border-color .2s, box-shadow .2s, transform .25s ease; display: flex; flex-direction: column; contain: layout style; }
.article-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.ac-tag { display: inline-block; font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 12px; background: var(--primary-light); color: var(--primary); margin-bottom: 12px; }
.article-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 10px; color: var(--text-dark); line-height: 1.5; }
.article-card p { font-size: 13px; color: var(--text-mid); line-height: 1.7; flex: 1; }
.ac-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; font-size: 12px; color: var(--text-light); }
.ac-meta span:last-child { color: var(--primary); font-weight: 500; }
.article-more-card { background: var(--primary-light); border-color: var(--primary); align-items: center; text-align: center; }
.more-articles { margin-bottom: 12px; }
.ma-num { font-size: 42px; font-weight: 700; color: var(--primary); }
.ma-text { display: block; font-size: 14px; color: var(--primary); font-weight: 500; }
.article-more-card p { color: var(--primary); }
.exam-list { max-width: 820px; margin: 0 auto; }
.exam-item { display: flex; align-items: center; gap: 20px; padding: 24px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); margin-bottom: 12px; transition: border-color .2s, box-shadow .2s, transform .25s ease; }
.exam-item:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); transform: translateX(4px); }
.ei-num { width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: white; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ei-content { flex: 1; }
.ei-content h3 { font-size: 15px; font-weight: 600; margin-bottom: 5px; color: var(--text-dark); }
.ei-content p { font-size: 13px; color: var(--text-mid); }
.ei-arrow { font-size: 18px; color: var(--text-light); flex-shrink: 0; transition: color .2s, transform .25s ease; }
.exam-item:hover .ei-arrow { color: var(--primary); transform: translateX(4px); }
.exam-more { display: block; text-align: center; padding: 16px; background: var(--primary-light); color: var(--primary); border-radius: var(--radius-lg); font-weight: 600; font-size: 14px; border: 1px dashed var(--primary); transition: background-color .2s, color .2s; }
.exam-more:hover { background: var(--primary); color: white; }
.consult-section.bg-primary { background: linear-gradient(135deg, #0d4f7a 0%, #1a6fa8 100%); color: white; text-align: center; }
.consult-content h2 { font-size: clamp(24px, 4vw, 36px); font-weight: 700; margin-bottom: 12px; }
.consult-content p { font-size: 15px; opacity: .88; margin-bottom: 36px; }
.consult-cards { display: flex; justify-content: center; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.cc-item { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius-lg); padding: 18px 28px; }
.cc-icon { font-size: 28px; }
.cc-info { text-align: left; }
.cc-label { display: block; font-size: 12px; opacity: .75; margin-bottom: 4px; }
.cc-value { font-size: 22px; font-weight: 700; color: white; }
.cc-value:hover { opacity: .8; }
.footer { background: #0f1e2e; color: #8fa3b8; padding: 56px 0 0; contain: layout style; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: white; font-size: 16px; font-weight: 600; }
.footer-logo .logo-icon { background: var(--primary); }
.footer-brand p { font-size: 13px; line-height: 1.8; margin-bottom: 16px; }
.footer-contact p { font-size: 13px; margin-bottom: 4px; }
.footer-contact a { color: var(--accent); }
.footer-links h4 { color: white; font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13px; color: #8fa3b8; transition: color .2s; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; text-align: center; font-size: 12px; color: #5a7080; }
.page-hero { background: linear-gradient(135deg, #0d4f7a 0%, #1a6fa8 100%); color: white; padding: 48px 0; text-align: center; }
.page-hero h2 { font-size: clamp(24px, 4vw, 38px); font-weight: 700; margin-bottom: 10px; }
.page-hero p { font-size: 15px; opacity: .85; max-width: 560px; margin: 0 auto; }
.breadcrumb { padding: 12px 0; font-size: 13px; color: var(--text-light); display: flex; gap: 8px; align-items: center; }
.breadcrumb a { color: var(--primary); }
.breadcrumb span { color: var(--text-light); }
.disease-detail { background: var(--white); }
.disease-sidebar { position: sticky; top: 80px; }
.disease-toc { background: var(--bg-light); border-radius: var(--radius-lg); padding: 20px; border: 1px solid var(--border); }
.disease-toc h4 { font-size: 14px; font-weight: 600; margin-bottom: 14px; color: var(--text-dark); }
.disease-toc ul { display: flex; flex-direction: column; gap: 6px; }
.disease-toc li a { font-size: 13px; color: var(--text-mid); display: block; padding: 6px 10px; border-radius: var(--radius-sm); }
.disease-toc li a:hover { background: var(--primary-light); color: var(--primary); }
.disease-toc li.active a { background: var(--primary-light); color: var(--primary); font-weight: 500; }
.disease-content { max-width: 860px; contain: layout style; }
.disease-section { margin-bottom: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--border); content-visibility: auto; contain-intrinsic-size: 0 500px; }
.disease-section:last-child { border-bottom: none; }
.disease-section h2 { font-size: clamp(20px, 3vw, 26px); font-weight: 700; color: var(--primary-dark); margin-bottom: 16px; padding-left: 14px; border-left: 4px solid var(--primary); }
.disease-section h3 { font-size: 17px; font-weight: 600; color: var(--text-dark); margin: 20px 0 10px; }
.disease-section p { font-size: 15px; color: var(--text-mid); line-height: 1.9; margin-bottom: 14px; }
.disease-section ul, .disease-section ol { padding-left: 20px; margin-bottom: 14px; }
.disease-section li { font-size: 14px; color: var(--text-mid); margin-bottom: 8px; line-height: 1.7; }
.disease-section ul li { list-style: disc; }
.disease-section ol li { list-style: decimal; }
.info-box { background: var(--primary-light); border-left: 4px solid var(--primary); border-radius: 0 var(--radius-md) var(--radius-md) 0; padding: 16px 20px; margin: 16px 0; }
.info-box.warning { background: #fff7ed; border-left-color: var(--orange); }
.info-box.danger { background: var(--red-light); border-left-color: var(--red); }
.info-box p { font-size: 14px; color: var(--text-dark); margin: 0; }
.info-box strong { color: var(--primary); }
.info-box.warning strong { color: var(--orange); }
.info-box.danger strong { color: var(--red); }
.diet-do-dont { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 16px 0; }
.diet-do { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: var(--radius-md); padding: 16px; }
.diet-dont { background: #fff5f5; border: 1px solid #fed7d7; border-radius: var(--radius-md); padding: 16px; }
.diet-do h4 { color: #15803d; margin-bottom: 10px; font-size: 14px; }
.diet-dont h4 { color: var(--red); margin-bottom: 10px; font-size: 14px; }
.diet-do li, .diet-dont li { font-size: 13px; color: var(--text-mid); margin-bottom: 6px; list-style: disc; padding-left: 4px; }
.article-hero { background: linear-gradient(135deg, #0d4f7a 0%, #1a6fa8 100%); color: white; padding: 40px 0; }
.article-hero .container { max-width: 800px; }
.article-tag { display: inline-block; background: rgba(255,255,255,.2); color: white; font-size: 12px; padding: 4px 12px; border-radius: 12px; margin-bottom: 12px; }
.article-hero h1 { font-size: clamp(20px, 3.5vw, 30px); font-weight: 700; line-height: 1.4; margin-bottom: 10px; }
.article-hero p { font-size: 14px; opacity: .85; }
.article-body { max-width: 800px; margin: 0 auto; padding: 40px 20px; contain: layout style; }
.article-body h2 { font-size: 22px; font-weight: 700; color: var(--primary-dark); margin: 32px 0 14px; padding-left: 12px; border-left: 4px solid var(--primary); }
.article-body h3 { font-size: 17px; font-weight: 600; color: var(--text-dark); margin: 22px 0 10px; }
.article-body p { font-size: 15px; color: var(--text-mid); line-height: 1.9; margin-bottom: 16px; }
.article-body ul, .article-body ol { padding-left: 20px; margin-bottom: 16px; }
.article-body li { font-size: 14px; color: var(--text-mid); margin-bottom: 8px; line-height: 1.8; }
.article-body ul li { list-style: disc; }
.article-body ol li { list-style: decimal; }
.article-body .info-box { margin: 20px 0; }
.food-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.food-table th { background: var(--primary); color: white; padding: 10px 14px; text-align: left; }
.food-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); color: var(--text-mid); }
.food-table tr:nth-child(even) td { background: var(--bg-light); }
.food-table tr:hover td { background: var(--primary-light); }
.related-articles { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); }
.related-articles h3 { font-size: 18px; font-weight: 600; margin-bottom: 20px; color: var(--text-dark); }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.related-card { background: var(--bg-light); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 16px; transition: border-color .2s, background-color .2s; }
.related-card:hover { border-color: var(--primary); background: var(--primary-light); }
.related-card h4 { font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--text-dark); }
.related-card p { font-size: 12px; color: var(--text-light); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.contact-info-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 20px; color: var(--text-dark); }
.contact-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.ci-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--primary-light); color: var(--primary); font-size: 20px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ci-content h4 { font-size: 14px; font-weight: 600; color: var(--text-dark); margin-bottom: 4px; }
.ci-content p, .ci-content a { font-size: 15px; color: var(--text-mid); }
.ci-content a { color: var(--primary); font-weight: 600; font-size: 18px; }
.notice-box { background: var(--orange-light); border: 1px solid #fdd; border-radius: var(--radius-md); padding: 16px; margin-top: 20px; }
.notice-box p { font-size: 13px; color: #744210; line-height: 1.7; }
.disease-categories { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.cat-btn { padding: 8px 18px; border: 1.5px solid var(--border); border-radius: 25px; font-size: 13px; font-weight: 500; color: var(--text-mid); background: var(--white); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.cat-btn.active, .cat-btn:hover { background: var(--primary); color: white; border-color: var(--primary); }
.search-bar { display: flex; gap: 8px; max-width: 480px; margin: 0 auto 32px; }
.search-bar input { flex: 1; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: 25px; font-size: 14px; outline: none; transition: border-color .2s; }
.search-bar input:focus { border-color: var(--primary); }
.search-bar button { background: var(--primary); color: white; border: none; border-radius: 25px; padding: 12px 22px; font-size: 14px; cursor: pointer; transition: background-color .2s; }
.search-bar button:hover { background: var(--primary-dark); }
.reading-progress { position: fixed; top: 0; left: 0; height: 3px; background: linear-gradient(90deg, var(--primary), var(--accent)); z-index: 9999; width: 0; transition: width .1s linear; }
.mag-tab-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; height: 56px; background: var(--white); border-top: 1px solid var(--border); z-index: 2000; box-shadow: 0 -2px 12px rgba(0,0,0,.06); }
.mag-tab-list { display: flex; height: 100%; }
.mag-tab-item { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 10px; color: var(--text-light); text-decoration: none; transition: color .2s; }
.mag-tab-item.active { color: var(--primary); }
.mag-tab-icon { font-size: 20px; line-height: 1; }
.mag-tab-label { font-weight: 500; }
.toc-float-btn { display: none; position: fixed; bottom: 76px; left: 16px; z-index: 1500; background: var(--primary); color: white; border: none; border-radius: 20px; padding: 8px 16px; font-size: 13px; font-weight: 600; cursor: pointer; box-shadow: var(--shadow-md); }
.toc-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.5); z-index: 2500; }
.toc-overlay.show { display: block; }
.toc-panel { position: fixed; bottom: 0; left: 0; right: 0; max-height: 60vh; background: var(--white); border-radius: 16px 16px 0 0; padding: 24px 20px; overflow-y: auto; z-index: 2501; transform: translateY(100%); transition: transform .3s ease; }
.toc-overlay.show .toc-panel { transform: translateY(0); }
.toc-panel h4 { font-size: 16px; font-weight: 700; margin-bottom: 16px; color: var(--text-dark); }
.toc-panel ul { display: flex; flex-direction: column; gap: 4px; }
.toc-panel li a { display: block; padding: 10px 12px; font-size: 14px; color: var(--text-mid); border-radius: var(--radius-sm); }
.toc-panel li a:hover { background: var(--primary-light); color: var(--primary); }
.toc-close { position: absolute; top: 16px; right: 16px; width: 28px; height: 28px; background: var(--bg-light); border: none; border-radius: 50%; font-size: 16px; cursor: pointer; color: var(--text-mid); display: flex; align-items: center; justify-content: center; }
.swipe-hint { display: none; text-align: center; padding: 24px 16px; color: var(--text-light); font-size: 13px; }
.swipe-hint-icon { font-size: 20px; margin-bottom: 6px; }
.wx-share-guide { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.7); z-index: 9998; }
.wx-share-guide.show { display: block; }
.wx-share-guide img, .wx-share-guide .share-arrow { position: absolute; top: 10px; right: 20px; }
.wx-share-guide .share-arrow { width: 60px; height: 60px; }
.wx-share-guide .share-text { position: absolute; top: 80px; right: 10px; color: white; font-size: 16px; font-weight: 600; text-align: center; line-height: 1.6; }
.wx-share-guide .share-close { position: absolute; bottom: 80px; left: 50%; transform: translateX(-50%); background: rgba(255,255,255,.2); color: white; border: 1px solid rgba(255,255,255,.4); border-radius: 25px; padding: 12px 40px; font-size: 15px; cursor: pointer; }
.mag-share-btn { display: none; position: fixed; bottom: 76px; right: 16px; z-index: 1500; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: white; border: none; font-size: 18px; cursor: pointer; box-shadow: var(--shadow-md); }
@media (max-width: 768px) {
  html { scroll-behavior: auto; }
  .stat-card { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255,255,255,.22); }
  .disease-card, .article-card, .quick-item, .exam-item, .btn, .related-card { transition: none; }
  .food-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .disease-sidebar { position: static; }
  body { background: #f2f3f5; }
  body { padding-bottom: 56px; }
  .section { padding: 20px 0; }
  .container { padding: 0 12px; }
  .reading-progress { display: block; }
  .mag-tab-bar { display: block; }
  .toc-float-btn { display: block; }
  .mag-share-btn { display: flex; align-items: center; justify-content: center; }
  .swipe-hint { display: block; }
  .top-bar { display: none; }
  .header { border-bottom: none; box-shadow: none; }
  .header .container { height: 48px; }
  .logo-text h1 { font-size: 16px; }
  .logo-icon { width: 32px; height: 32px; font-size: 14px; border-radius: 8px; }
  .nav-toggle { display: none; }
  .hero { padding: 48px 0 40px; border-radius: 0; }
  .hero .container { flex-direction: column; gap: 24px; text-align: center; }
  .hero-content { text-align: center; }
  .hero-content h2 { font-size: 26px; }
  .hero-content p { margin: 0 auto 24px; font-size: 14px; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; gap: 10px; }
  .stat-card { padding: 14px 18px; min-width: 0; flex: 1; background: rgba(255,255,255,.18); border-radius: 12px; }
  .stat-number { font-size: 24px; }
  .stat-label { font-size: 11px; }
  .quick-nav { margin-top: -20px; }
  .quick-grid { grid-template-columns: repeat(4, 1fr); border-radius: 16px; border: none; box-shadow: 0 2px 16px rgba(0,0,0,.08); }
  .quick-item { padding: 20px 8px; border: none !important; border-radius: 0; }
  .quick-icon { width: 44px; height: 44px; font-size: 18px; }
  .quick-item h3 { font-size: 13px; }
  .quick-item p { display: none; }
  .section-header { margin-bottom: 20px; text-align: left; }
  .section-tag { font-size: 11px; padding: 3px 10px; }
  .section-title { font-size: 20px; }
  .section-desc { text-align: left; margin: 0; }
  .disease-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .disease-card { padding: 14px; border-radius: 12px; border: none; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
  .dc-num { font-size: 11px; padding: 2px 8px; border-radius: 8px; }
  .disease-card h3 { font-size: 14px; margin-bottom: 4px; }
  .disease-card p { font-size: 12px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .dc-link { font-size: 12px; margin-top: 8px; }
  .disease-more { border: 2px dashed var(--primary); }
  .article-grid { grid-template-columns: 1fr; gap: 10px; }
  .article-card { padding: 16px; border-radius: 12px; border: none; box-shadow: 0 1px 4px rgba(0,0,0,.06); flex-direction: row; align-items: center; gap: 12px; }
  .article-card-content { flex: 1; }
  .ac-tag { font-size: 10px; padding: 2px 8px; margin-bottom: 6px; }
  .article-card h3 { font-size: 14px; line-height: 1.4; }
  .article-card p { font-size: 12px; line-height: 1.5; }
  .ac-meta { margin-top: 8px; font-size: 11px; }
  .exam-list { max-width: 100%; }
  .exam-item { padding: 16px; border-radius: 12px; border: none; box-shadow: 0 1px 4px rgba(0,0,0,.06); margin-bottom: 10px; gap: 12px; }
  .ei-num { width: 36px; height: 36px; font-size: 12px; }
  .ei-content h3 { font-size: 14px; }
  .ei-content p { font-size: 12px; }
  .page-hero { padding: 32px 0; border-radius: 0; }
  .page-hero h2 { font-size: 22px; }
  .page-hero p { font-size: 13px; }
  .breadcrumb-section { display: none; }
  .search-bar { max-width: 100%; margin-bottom: 16px; }
  .search-bar input { padding: 10px 14px; font-size: 13px; }
  .search-bar button { padding: 10px 16px; font-size: 13px; }
  .disease-categories { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; gap: 8px; margin-bottom: 16px; padding-bottom: 4px; }
  .cat-btn { padding: 6px 14px; font-size: 12px; white-space: nowrap; flex-shrink: 0; }
  .article-hero { padding: 32px 0; border-radius: 0; }
  .article-hero .container { max-width: 100%; }
  .article-hero h1 { font-size: 22px; text-align: center; line-height: 1.5; margin-bottom: 8px; }
  .article-hero p { font-size: 13px; text-align: center; }
  .article-tag { font-size: 11px; }
  .article-body { max-width: 100%; padding: 24px 16px; background: var(--white); border-radius: 16px; margin: 0 12px; }
  .article-body h2 { font-size: 19px; margin-top: 28px; margin-bottom: 12px; padding-left: 10px; border-left-width: 3px; }
  .article-body h3 { font-size: 16px; margin-top: 18px; }
  .article-body p { font-size: 15px; line-height: 2.0; margin-bottom: 14px; }
  .article-body li { font-size: 14px; line-height: 1.9; }
  .disease-content { max-width: 100%; }
  .disease-section { margin-bottom: 32px; padding-bottom: 32px; }
  .disease-section h2 { font-size: 19px; padding-left: 10px; border-left-width: 3px; }
  .disease-section p { font-size: 14px; line-height: 2.0; }
  .disease-section li { font-size: 13px; line-height: 1.9; }
  .info-box { border-radius: 12px; border-left-width: 4px; padding: 14px 16px; margin: 14px 0; }
  .info-box p { font-size: 13px; }
  .diet-do-dont { gap: 10px; }
  .diet-do, .diet-dont { border-radius: 12px; padding: 14px; }
  .diet-do h4, .diet-dont h4 { font-size: 13px; margin-bottom: 8px; }
  .diet-do li, .diet-dont li { font-size: 12px; }
  .related-articles { margin-top: 32px; padding-top: 24px; }
  .related-articles h3 { font-size: 16px; margin-bottom: 14px; }
  .related-grid { grid-template-columns: 1fr; gap: 10px; }
  .related-card { padding: 14px; border-radius: 12px; border: none; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
  .related-card h4 { font-size: 14px; }
  .consult-section { border-radius: 0; }
  .consult-cards { flex-direction: column; align-items: center; gap: 12px; }
  .cc-item { width: 100%; max-width: 320px; padding: 14px 20px; border-radius: 12px; }
  .consult-content h2 { font-size: 20px; }
  .consult-content p { font-size: 14px; margin-bottom: 20px; }
  .footer { padding: 32px 0 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { font-size: 12px; }
  .back-top { bottom: 76px; right: 16px; width: 40px; height: 40px; font-size: 16px; }
  .float-consult { bottom: 130px; right: 16px; }
  .float-consult a { padding: 10px 12px; font-size: 10px; border-radius: 12px; }
}
@media (max-width: 480px) {
  .disease-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; }
  .btn { justify-content: center; transition: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat-card { padding: 10px 14px; min-width: 0; flex: 1; }
  .stat-number { font-size: 22px; }
  .hero-content h2 { font-size: 22px; }
}
.layout-2col { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .layout-2col { grid-template-columns: 1fr; } }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.text-center { text-align: center; }
.breadcrumb-section { background: var(--bg-light); border-bottom: 1px solid var(--border); }
.back-top { position: fixed; bottom: 24px; right: 24px; width: 44px; height: 44px; background: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--shadow-md); font-size: 18px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s, background-color .2s, transform .25s ease; z-index: 500; will-change: opacity, transform; }
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--primary-dark); transform: translateY(-3px); }
.reward-section { max-width: 460px; margin: 40px auto 0; padding: 28px 20px; text-align: center; background: var(--bg-light); border-radius: var(--radius-lg); border: 1px dashed var(--border); }
.reward-section h3 { font-size: 17px; color: var(--primary); margin-bottom: 6px; font-weight: 700; }
.reward-desc { font-size: 13px; color: var(--text-mid); margin-bottom: 16px; }
.reward-qr { display: block; width: 200px; height: auto; margin: 0 auto 12px; border-radius: var(--radius-sm); }
.reward-thanks { font-size: 13px; color: var(--text-light); }
@media (max-width: 768px) {
  .reward-section { margin: 24px 12px 0; padding: 24px 16px; }
  .reward-section h3 { font-size: 16px; }
  .reward-qr { width: 180px; }
}