/* ======================================================================
 * 08 · 眼皮跳科普 —— 「民俗 × 医学」双栏对照
 * 配色：深靛蓝 × 古金 × 医学青；字体：民俗栏宋体 / 医学栏等宽 + 黑体
 * 布局：双栏中间细分隔 + 三段式视图切换，结果区生成对照卡
 * ====================================================================== */
.hc13.etw {
    --hc-ink: #1d2344; --hc-muted: #6a7191; --hc-paper: #ffffff;
    --hc-soft: #f3f4fb; --hc-line: #dfe2f0; --hc-accent: #4a4fa8;
    --hc-gold: #b98a2f; --hc-med: #158a9c; --hc-warn: #b23a2f;
    --hc-shadow: 0 14px 36px rgba(28, 34, 78, .10);
    background: linear-gradient(180deg, #f8f7ff 0%, #f4f6fd 100%);
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.82;
}
:root[data-theme="dark"] .hc13.etw {
    --hc-ink: #e9ebff; --hc-muted: #a8aed0; --hc-paper: #151a2e;
    --hc-soft: #1c2340; --hc-line: #303a5e; --hc-accent: #aab4ff;
    --hc-gold: #f0c874; --hc-med: #7fd4e5; --hc-warn: #ff9d90;
    --hc-shadow: 0 14px 36px rgba(0, 0, 0, .44);
    background: linear-gradient(180deg, #0e1224 0%, #0b0f1e 100%);
}
.etw .hc-wrap { padding-bottom: 56px; }
.etw .hc-crumb { padding: 16px 0 10px; }
.etw strong, .etw b { color: var(--hc-accent); }
.etw .hc-kw, .etw .etw-panel-tag, .etw .etw-sec-head i, .etw .etw-console-head i,
.etw .etw-stats b, .etw .etw-med-line { font-family: "SFMono-Regular", Consolas, monospace; }
.etw h1, .etw h2, .etw .etw-panel--folk h2, .etw .etw-folk-line { font-family: "Songti SC", "Noto Serif CJK SC", "SimSun", serif; }

/* ---- 首屏 ---- */
.etw-hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(240px, .55fr); gap: 36px; align-items: center; padding: 32px 0 30px; }
.etw-hero .hc-kw { color: var(--hc-gold); font-size: 11px; letter-spacing: 2.8px; }
.etw-hero h1 { margin: 14px 0 16px; font-size: clamp(33px, 4.1vw, 50px); line-height: 1.25; font-weight: 800; }
.etw-hero h1 em { font-style: normal; display: block; font-size: .48em; font-weight: 600; color: var(--hc-accent); margin-top: 12px; }
.etw-lede { margin: 0; max-width: 62ch; font-size: 15.5px; line-height: 1.95; }
.etw-hero-ops { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 10px; }
.etw-cta { padding: 11px 24px; border-radius: 6px; background: var(--hc-accent); color: #fff; font-size: 14.5px; font-weight: 700; }
.etw-cta--ghost { background: transparent; color: var(--hc-accent); border: 1.5px solid var(--hc-accent); }
.etw-hero-note { margin: 0; font-size: 12px; color: var(--hc-muted); }
.etw-hero-quote { position: relative; padding: 26px 24px; background: var(--hc-paper); border: 1px solid var(--hc-line); border-radius: 2px 18px 18px 18px; box-shadow: var(--hc-shadow); }
.etw-quote-mark { display: block; font: 700 54px/1 "Songti SC", serif; color: var(--hc-gold); }
.etw-hero-quote p { margin: 6px 0 14px; font-size: 14.5px; line-height: 1.9; }
.etw-quote-from { font: 11px "SFMono-Regular", Consolas, monospace; color: var(--hc-muted); }
.etw-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.etw-strip span { padding: 6px 12px; border: 1px solid var(--hc-line); border-radius: 4px; background: var(--hc-paper); font-size: 12px; color: var(--hc-muted); }
.etw-strip span:first-child { color: var(--hc-gold); font-weight: 700; border-color: var(--hc-gold); }

/* ---- 双栏 ---- */
.etw-columns { border: 1px solid var(--hc-line); border-radius: 14px; overflow: hidden; background: var(--hc-paper); }
.etw-viewbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; padding: 14px 20px; background: var(--hc-soft); border-bottom: 1px solid var(--hc-line); }
.etw-viewbar b { font-size: 14px; }
.etw-seg { display: inline-flex; border: 1px solid var(--hc-line); border-radius: 999px; overflow: hidden; }
.etw-seg button { padding: 7px 16px; font-size: 12.5px; color: var(--hc-muted); background: var(--hc-paper); }
.etw-seg button + button { border-left: 1px solid var(--hc-line); }
.etw-seg button.is-on { background: var(--hc-accent); color: #fff; font-weight: 700; }
.etw-panels { display: grid; grid-template-columns: 1fr 1fr; }
.etw-panel { padding: 24px 26px; }
.etw-panel--folk { border-right: 1px solid var(--hc-line); background: linear-gradient(150deg, color-mix(in srgb, var(--hc-gold) 8%, transparent), transparent 70%); }
.etw-panel-tag { display: block; font-size: 10px; letter-spacing: 2px; color: var(--hc-gold); margin-bottom: 12px; }
.etw-panel--med .etw-panel-tag { color: var(--hc-med); }
.etw-panel h2 { margin: 0 0 12px; font-size: 20px; }
.etw-panel--med h2 { font-family: "PingFang SC", "Microsoft YaHei", sans-serif; }
.etw-folk-line { font-size: 15px; line-height: 1.9; color: var(--hc-ink); }
.etw-med-line { font-size: 12.5px; line-height: 1.9; color: var(--hc-med); }
.etw-panel ul { margin: 12px 0 0; padding-left: 20px; }
.etw-panel li { margin-bottom: 8px; font-size: 13.5px; line-height: 1.85; }
.etw-columns[data-view="folk"] .etw-panel--med { display: none; }
.etw-columns[data-view="med"] .etw-panel--folk { display: none; }
.etw-columns[data-view="folk"] .etw-panels,
.etw-columns[data-view="med"] .etw-panels { grid-template-columns: 1fr; }
.etw-columns[data-view="folk"] .etw-panel--folk,
.etw-columns[data-view="med"] .etw-panel--med { border-right: 0; }

/* ---- 控制台 ---- */
.etw-console { margin-top: 28px; border: 1px solid var(--hc-line); border-radius: 14px; background: var(--hc-paper); overflow: hidden; }
.etw-console-head { display: flex; flex-wrap: wrap; gap: 14px; align-items: baseline; padding: 18px 24px; border-bottom: 1px solid var(--hc-line); }
.etw-console-head h2 { margin: 0; font-size: 20px; }
.etw-console-head i { font-style: normal; color: var(--hc-gold); font-size: 12px; margin-right: 8px; }
.etw-console-head p { margin: 0; font-size: 12.5px; color: var(--hc-muted); }
.etw-grid { display: grid; grid-template-columns: minmax(240px, .85fr) minmax(0, 1.4fr); }
.etw-nums { padding: 22px 24px; border-right: 1px solid var(--hc-line); background: var(--hc-soft); }
.etw-nums h3 { margin: 0 0 12px; font-size: 15px; }
.etw-nums > label { display: block; margin-bottom: 12px; font-size: 13px; font-weight: 700; }
.etw-nums > label small { font-weight: 400; color: var(--hc-muted); }
.etw-nums .hc-input { margin-top: 6px; }
.etw-fieldset { border: 0; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 7px; }
.etw-fieldset legend { width: 100%; padding-bottom: 8px; font-size: 13.5px; font-weight: 700; }
.etw-fieldset legend small { font-weight: 400; color: var(--hc-muted); }
.etw-fieldset input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.etw-fieldset label span { display: inline-block; padding: 7px 12px; border: 1px solid var(--hc-line); border-radius: 5px; font-size: 12.5px; cursor: pointer; }
.etw-fieldset input:checked + span { background: var(--hc-accent); border-color: var(--hc-accent); color: #fff; font-weight: 650; }
.etw-fieldset input:focus-visible + span { outline: 3px solid var(--hc-med); outline-offset: 2px; }
.etw-fieldset--alert { padding: 12px; border: 1px dashed color-mix(in srgb, var(--hc-warn) 45%, var(--hc-line)); border-radius: 8px; background: color-mix(in srgb, var(--hc-warn) 4%, transparent); }
.etw-fieldset--alert input:checked + span { background: var(--hc-warn); border-color: var(--hc-warn); }
.etw-checks { padding: 22px 24px 24px; }
.etw-batch { border-top: 1px solid var(--hc-line); }
.etw-batch summary { padding: 14px 24px; cursor: pointer; font-size: 14px; font-weight: 700; color: var(--hc-accent); }
.etw-batch summary span { font-size: 12px; font-weight: 400; color: var(--hc-muted); margin-left: 8px; }
.etw-batch-in { padding: 0 24px 22px; }
.etw-batch-in > label { display: block; font-size: 12.5px; color: var(--hc-muted); margin-bottom: 8px; }
.etw-batch-in .hc-actions { margin: 12px 0; }

/* ---- 结果 ---- */
.etw-result { margin-top: 42px; }
.etw-sec-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; padding-bottom: 12px; margin-bottom: 18px; border-bottom: 2px solid var(--hc-accent); }
.etw-sec-head i { font-style: normal; color: var(--hc-gold); font-size: 12px; }
.etw-sec-head h2 { margin: 0; font-size: 22px; }
.etw-sec-head small { margin-left: auto; color: var(--hc-muted); font-size: 12px; }
.etw-empty { padding: 24px; border: 1px dashed var(--hc-line); border-radius: 10px; color: var(--hc-muted); background: var(--hc-paper); }
.etw-verdict { padding: 16px 20px; margin-bottom: 16px; border-radius: 8px; background: var(--hc-soft); border-left: 5px solid var(--hc-accent); font-size: 14.5px; line-height: 1.88; }
.etw-verdict.is-urgent { background: color-mix(in srgb, var(--hc-warn) 9%, var(--hc-paper)); border-left-color: var(--hc-warn); color: var(--hc-warn); }
.etw-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; }
.etw-stats > div { padding: 14px; border: 1px solid var(--hc-line); border-radius: 8px; background: var(--hc-paper); }
.etw-stats span { display: block; font-size: 11.5px; color: var(--hc-muted); }
.etw-stats b { font-size: 24px; color: var(--hc-accent); }
.etw-stats em { font-size: 11px; font-style: normal; color: var(--hc-muted); margin-left: 4px; }
.etw-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.etw-compare > div { padding: 16px 18px; border-radius: 8px; font-size: 13.5px; line-height: 1.9; }
.etw-compare .etw-cmp-folk { border: 1px solid color-mix(in srgb, var(--hc-gold) 40%, var(--hc-line)); background: color-mix(in srgb, var(--hc-gold) 6%, transparent); font-family: "Songti SC", "SimSun", serif; }
.etw-compare .etw-cmp-med { border: 1px solid color-mix(in srgb, var(--hc-med) 40%, var(--hc-line)); background: color-mix(in srgb, var(--hc-med) 6%, transparent); }
.etw-compare b { display: block; margin-bottom: 6px; }
.etw-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.etw-card { padding: 18px 20px; border: 1px solid var(--hc-line); border-radius: 8px; background: var(--hc-paper); }
.etw-card h3 { margin: 0 0 10px; font-size: 16px; }
.etw-card ol, .etw-card ul { margin: 0; padding-left: 20px; }
.etw-card li { margin-bottom: 7px; font-size: 13.5px; line-height: 1.85; }
.etw-disclaim { margin: 18px 0 0; padding: 14px 18px; border-left: 3px solid var(--hc-line); color: var(--hc-muted); font-size: 13px; line-height: 1.88; }
.etw-result .hc-actions { margin-top: 14px; }

/* ---- 阅读 ---- */
.etw-reading { margin-top: 46px; }
.etw-subh { margin: 22px 0 10px; font-size: 17px; }
.etw-faq details { padding: 12px 0; border-bottom: 1px solid var(--hc-line); }
.etw-faq summary { cursor: pointer; font-size: 15px; font-weight: 700; }
.etw-faq details > div { padding: 10px 0 4px; font-size: 14px; line-height: 1.9; }
.etw-related { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--hc-line); font-size: 13px; }
.etw-related > span { color: var(--hc-muted); }
.etw-related a { padding: 6px 14px; border: 1px solid var(--hc-line); border-radius: 999px; color: var(--hc-accent); }

@media (max-width: 900px) {
    .etw-hero, .etw-panels, .etw-grid, .etw-cols, .etw-compare { grid-template-columns: 1fr; }
    .etw-panel--folk { border-right: 0; border-bottom: 1px solid var(--hc-line); }
    .etw-nums { border-right: 0; border-bottom: 1px solid var(--hc-line); }
}
@media (max-width: 640px) {
    .etw-stats { grid-template-columns: repeat(2, 1fr); }
    .etw-console-head, .etw-nums, .etw-checks, .etw-batch-in { padding-inline: 16px; }
}
