/* Styles for the static content pages generated by tools/build-pages.mjs */
:root { --bg: #060b14; --panel: #0c1626; --line: rgba(120, 190, 255, 0.16); --text: #e6f1ff; --muted: #8ea6c4; --accent: #2ee6c8; --accent2: #4aa8ff; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: 'Segoe UI', Tahoma, 'Noto Sans Arabic', 'Noto Sans', system-ui, Arial, sans-serif; line-height: 1.8; }
a { color: var(--accent2); text-decoration: none; }
a:hover { text-decoration: underline; }
.top { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px 18px; background: rgba(6, 11, 20, 0.95); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 700; }
.logo { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #04121c; font-weight: 900; }
.top nav { display: flex; gap: 14px; flex-wrap: wrap; font-size: 0.92rem; }
.top nav .lang { border: 1px solid var(--line); border-radius: 999px; padding: 0 10px; }
main { max-width: 860px; margin: 0 auto; padding: 18px 20px 40px; }
h1 { color: var(--accent); margin: 6px 0 2px; font-size: 1.9rem; line-height: 1.4; }
h2 { color: var(--accent2); font-size: 1.05rem; margin: 0 0 4px; }
.sub { color: var(--muted); margin: 0 0 10px; }
.crumbs { color: var(--muted); font-size: 0.85rem; margin: 0; }
.cta { display: inline-block; background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #04121c; font-weight: 700; padding: 8px 16px; border-radius: 999px; }
.cta:hover { text-decoration: none; filter: brightness(1.08); }
section { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin: 12px 0; }
section ul { margin: 0; padding-inline-start: 22px; }
section p { margin: 4px 0; }
section.nurse { border-color: rgba(46, 230, 200, 0.35); }
section.contra { border-color: rgba(255, 59, 59, 0.45); background: rgba(255, 59, 59, 0.06); }
.latin { margin: 6px 0; }
.alert { color: #ff8080; font-weight: 700; }
.big { font-size: 1.15rem; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-block; border: 1px solid var(--line); border-radius: 999px; padding: 2px 12px; font-size: 0.88rem; color: var(--text); background: rgba(255, 255, 255, 0.03); }
a.chip:hover { border-color: var(--accent); text-decoration: none; }
.badge { display: inline-block; font-size: 0.78rem; font-weight: 700; padding: 1px 10px; border-radius: 999px; color: #04121c; background: var(--c); }
.tube { display: inline-block; width: 12px; height: 20px; border-radius: 3px 3px 7px 7px; vertical-align: middle; border: 1px solid rgba(255, 255, 255, 0.4); }
.muted { color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 14px; }
.card { display: flex; flex-direction: column; gap: 4px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px; color: var(--text); }
.card:hover { border-color: var(--accent); text-decoration: none; }
.card .icon { font-size: 1.8rem; }
.card span:not(.icon) { color: var(--muted); font-size: 0.9rem; }
.card small { color: var(--accent); }
.ad { display: flex; justify-content: center; margin: 18px 0; }
.disclaimer { color: #ffd27a; font-size: 0.85rem; margin-top: 20px; }
footer { border-top: 1px solid var(--line); padding: 14px 20px; text-align: center; color: var(--muted); font-size: 0.82rem; }
html[lang='zh'] body { font-family: 'Microsoft YaHei', 'PingFang SC', 'Noto Sans SC', 'Noto Sans CJK SC', system-ui, sans-serif; }
