/* ============================================================
   动物体重趣味对比（animal-weight-compare）
   主题：蓝鲸深海蓝 #0c4a6e + 琥珀 #d97706（与站内其它工具页完全错开）
   深浅双主题：跟随导航栏 #themeToggle（data-theme 挂在 <html>）
   标志性 UI：换算样张卡 + 双侧 VS 操作台 + 对数比例对比条
   ============================================================ */

/* 变量作用域：.awc-page 主体 + 浮层（弹窗 / 打印单 / 提示条）都在根 div 之外，
   必须同作用域声明，否则浮层取不到变量导致背景失效、内容与页面重叠 */
.awc-page,
.awc-modal,
.awc-sheet,
.awc-toast {
    --awc-primary: #0c4a6e;
    --awc-primary-2: #0e7490;
    --awc-primary-deep: #082f49;
    --awc-accent: #d97706;
    --awc-accent-2: #f59e0b;
    --awc-accent-deep: #92400e;
    --awc-primary-soft: #e3f2fa;
    --awc-accent-soft: #fdf0dd;
    --awc-bg: #f1f7fb;
    --awc-surface: #ffffff;
    --awc-surface-2: #f5fafd;
    --awc-border: rgba(12, 74, 110, .18);
    --awc-border-strong: rgba(12, 74, 110, .38);
    --awc-text: #122b3c;
    --awc-text-soft: #3d5a6e;
    --awc-text-muted: #7a94a5;
    --awc-shadow: 0 14px 34px -20px rgba(8, 47, 73, .4);
    --awc-shadow-lg: 0 26px 60px -30px rgba(8, 47, 73, .55);
    --awc-radius: 18px;
    --awc-radius-sm: 11px;
    --awc-mono: "Cascadia Mono", "JetBrains Mono", Consolas, "Courier New", monospace;
}
.awc-page {
    color: var(--awc-text);
    font-size: 15px;
    line-height: 1.78;
}

:root[data-theme="dark"] .awc-page,
:root[data-theme="dark"] .awc-modal,
:root[data-theme="dark"] .awc-sheet,
:root[data-theme="dark"] .awc-toast {
    --awc-primary: #7dd3fc;
    --awc-primary-2: #93dcfd;
    --awc-primary-deep: #0c4a6e;
    --awc-accent: #fbbf24;
    --awc-accent-2: #fcd34d;
    --awc-accent-deep: #d97706;
    --awc-primary-soft: rgba(125, 211, 252, .14);
    --awc-accent-soft: rgba(251, 191, 36, .14);
    --awc-bg: #09141c;
    --awc-surface: #101f2b;
    --awc-surface-2: #152836;
    --awc-border: rgba(125, 211, 252, .2);
    --awc-border-strong: rgba(125, 211, 252, .42);
    --awc-text: #e9f3f9;
    --awc-text-soft: #b6ccd9;
    --awc-text-muted: #8299a8;
    --awc-shadow: 0 14px 34px -20px rgba(0, 0, 0, .85);
    --awc-shadow-lg: 0 26px 60px -30px rgba(0, 0, 0, .95);
}

.awc-page *,
.awc-page *::before,
.awc-page *::after { box-sizing: border-box; }
.awc-page [hidden] { display: none !important; }
.awc-page b { font-weight: 700; color: var(--awc-primary); }
:root[data-theme="dark"] .awc-page b { color: var(--awc-primary-2); }
.awc-page code {
    font-family: var(--awc-mono);
    font-size: .92em;
    padding: 1px 6px;
    border-radius: 5px;
    background: var(--awc-primary-soft);
    color: var(--awc-primary-deep);
}
:root[data-theme="dark"] .awc-page code { color: var(--awc-primary-2); }

/* ---------------- 首屏 ---------------- */
.awc-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.32fr) minmax(0, .98fr);
    gap: 34px;
    align-items: start;
    margin-bottom: 24px;
}

.awc-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--awc-primary);
    background: var(--awc-primary-soft);
    border: 1px solid var(--awc-border);
}

.awc-hero-copy h1 {
    margin: 16px 0 12px;
    font-size: 38px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: -.02em;
    color: var(--awc-text);
}
.awc-hero-copy h1::after {
    content: "";
    display: block;
    width: 76px;
    height: 4px;
    margin-top: 12px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--awc-primary), var(--awc-accent));
}

.awc-lead {
    margin: 18px 0 18px;
    font-size: 16px;
    line-height: 1.95;
    color: var(--awc-text-soft);
    max-width: 60ch;
}

.awc-tags {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.awc-tags li {
    font-size: 12.5px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 6px;
    color: var(--awc-text-soft);
    background: var(--awc-surface);
    border: 1px solid var(--awc-border);
}
.awc-tags li:nth-child(odd) { border-left: 3px solid var(--awc-primary); }
.awc-tags li:nth-child(even) { border-left: 3px solid var(--awc-accent); }

.awc-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.awc-steps li {
    padding: 12px 14px;
    border-radius: var(--awc-radius-sm);
    background: var(--awc-surface);
    border: 1px solid var(--awc-border);
    box-shadow: var(--awc-shadow);
    display: grid;
    gap: 2px;
}
.awc-steps b {
    font-family: var(--awc-mono);
    font-size: 10.5px;
    letter-spacing: .12em;
    color: var(--awc-accent);
}
.awc-steps span { font-weight: 800; font-size: 14.5px; color: var(--awc-text); }
.awc-steps i { font-style: normal; font-size: 12.5px; color: var(--awc-text-muted); }

/* 换算样张卡 */
.awc-snapshot {
    border-radius: var(--awc-radius);
    background: linear-gradient(150deg, var(--awc-primary-deep), var(--awc-primary) 58%, #156a8f);
    color: #f0f9ff;
    padding: 22px 22px 18px;
    box-shadow: var(--awc-shadow-lg);
    position: relative;
    overflow: hidden;
}
.awc-snapshot::after {
    content: "🐋";
    position: absolute;
    right: -14px;
    bottom: -22px;
    font-size: 110px;
    opacity: .14;
    transform: rotate(-8deg);
}
.awc-snap-corner {
    font-size: 11.5px;
    letter-spacing: .14em;
    font-weight: 700;
    opacity: .82;
    margin-bottom: 10px;
}
.awc-snap-weight {
    font-size: 34px;
    font-weight: 900;
    letter-spacing: -.01em;
    line-height: 1.15;
}
.awc-snap-ton {
    font-size: 14px;
    font-weight: 700;
    color: #ffd58a;
    margin: 2px 0 12px;
}
.awc-snap-list {
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
    display: grid;
    gap: 6px;
}
.awc-snap-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    padding: 7px 11px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .14);
}
.awc-snap-list b { font-size: 14.5px; color: #ffd58a; }
.awc-snap-foot {
    font-size: 12px;
    opacity: .85;
    border-top: 1px dashed rgba(255, 255, 255, .25);
    padding-top: 9px;
}

/* ---------------- 操作台 ---------------- */
.awc-desk {
    border-radius: var(--awc-radius);
    background: var(--awc-surface);
    border: 1px solid var(--awc-border);
    box-shadow: var(--awc-shadow);
    padding: 20px 22px 18px;
    margin-bottom: 16px;
}
.awc-desk { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px 18px; }
.awc-desk-bottom {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    border-top: 1px dashed var(--awc-border);
    padding-top: 14px;
}
.awc-desk-btns { display: flex; gap: 10px; flex-wrap: wrap; }

.awc-desk-mid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding-top: 26px;
}
.awc-vs {
    font-family: var(--awc-mono);
    font-weight: 900;
    font-size: 22px;
    color: var(--awc-accent);
    background: var(--awc-accent-soft);
    border: 2px dashed var(--awc-accent);
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
}
.awc-side-title {
    font-size: 13px;
    font-weight: 800;
    color: var(--awc-primary);
    margin-bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.awc-side-title::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--awc-accent);
}

.awc-field { display: grid; gap: 5px; margin-bottom: 10px; }
.awc-field--custom {
    padding: 10px 12px;
    border-radius: var(--awc-radius-sm);
    background: var(--awc-accent-soft);
    border: 1px dashed var(--awc-accent);
}
.awc-label { font-size: 12.5px; font-weight: 700; color: var(--awc-text-soft); }
.awc-input {
    width: 100%;
    padding: 9px 12px;
    border-radius: 9px;
    border: 1.5px solid var(--awc-border);
    background: var(--awc-surface-2);
    color: var(--awc-text);
    font-size: 14.5px;
    font-family: inherit;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}
.awc-input:focus {
    border-color: var(--awc-primary);
    box-shadow: 0 0 0 3px var(--awc-primary-soft);
}
.awc-textarea { resize: vertical; min-height: 110px; font-family: var(--awc-mono); font-size: 13.5px; }
.awc-hint { font-size: 12px; color: var(--awc-text-muted); }

.awc-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 10px;
    border: 1.5px solid var(--awc-border);
    background: var(--awc-surface);
    color: var(--awc-text);
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: transform .12s, box-shadow .15s, background .15s;
}
.awc-btn:hover { transform: translateY(-1px); box-shadow: var(--awc-shadow); }
.awc-btn--primary {
    background: linear-gradient(135deg, var(--awc-primary), var(--awc-primary-2));
    border-color: transparent;
    color: #fff;
}
:root[data-theme="dark"] .awc-btn--primary { color: #06202e; }
.awc-btn--swap {
    padding: 7px 12px;
    font-size: 12.5px;
    border-radius: 999px;
    border-style: dashed;
    border-color: var(--awc-accent);
    color: var(--awc-accent-deep);
    background: var(--awc-accent-soft);
}
.awc-btn--ghost { background: transparent; }
.awc-btn--sm { padding: 7px 13px; font-size: 13px; }

.awc-presets {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.awc-preset-label { font-size: 12.5px; font-weight: 800; color: var(--awc-text-muted); }
.awc-chip {
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid var(--awc-border);
    background: var(--awc-surface-2);
    color: var(--awc-text-soft);
    font-size: 12.5px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: border-color .15s, color .15s;
}
.awc-chip:hover { border-color: var(--awc-primary); color: var(--awc-primary); }

/* 校验提示条 */
.awc-errbar {
    margin-bottom: 16px;
    padding: 12px 16px;
    border-radius: var(--awc-radius-sm);
    border: 1.5px solid #e2725b;
    background: #fdf0ec;
    color: #9c3a22;
    font-size: 14px;
    font-weight: 600;
}
:root[data-theme="dark"] .awc-errbar { background: rgba(226, 114, 91, .14); color: #ffb4a0; }

/* ---------------- 结果卡 ---------------- */
.awc-verdict {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .95fr);
    gap: 20px;
    align-items: stretch;
    margin-bottom: 16px;
}
.awc-verdict-main {
    border-radius: var(--awc-radius);
    background: var(--awc-surface);
    border: 1px solid var(--awc-border);
    box-shadow: var(--awc-shadow);
    padding: 22px;
}
.awc-verdict-label {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--awc-text-muted);
    margin-bottom: 12px;
}
.awc-verdict-weights {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}
.awc-wbox {
    border-radius: var(--awc-radius-sm);
    padding: 14px;
    display: grid;
    gap: 3px;
}
.awc-wbox--a { background: var(--awc-primary-soft); border: 1px solid var(--awc-border); }
.awc-wbox--b { background: var(--awc-accent-soft); border: 1px solid rgba(217, 119, 6, .3); }
.awc-wbox i { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--awc-text-soft); }
.awc-wbox b { font-size: 26px; font-weight: 900; letter-spacing: -.01em; color: var(--awc-text); }
.awc-wbox em { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--awc-text-muted); }
.awc-times { text-align: center; display: grid; gap: 2px; }
.awc-times span {
    font-size: 21px;
    font-weight: 900;
    color: var(--awc-accent);
    font-family: var(--awc-mono);
}
.awc-times small { font-size: 11.5px; color: var(--awc-text-muted); }
.awc-verdict-sub { font-size: 13.5px; color: var(--awc-text-soft); }

.awc-bench-card {
    border-radius: var(--awc-radius);
    background: var(--awc-surface);
    border: 1px solid var(--awc-border);
    box-shadow: var(--awc-shadow);
    padding: 18px 20px;
    display: grid;
    gap: 10px;
}
.awc-bench-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.awc-bench-head b { font-size: 15.5px; color: var(--awc-text); }
.awc-bench-head span { font-size: 12px; color: var(--awc-text-muted); }
.awc-bench-res { display: grid; gap: 6px; }
.awc-bench-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--awc-surface-2);
    border: 1px solid var(--awc-border);
    font-size: 13.5px;
    color: var(--awc-text-soft);
}
.awc-bench-line b { font-size: 14.5px; color: var(--awc-primary); font-family: var(--awc-mono); }
:root[data-theme="dark"] .awc-bench-line b { color: var(--awc-primary-2); }
.awc-bench-tip { font-size: 12px; color: var(--awc-text-muted); margin: 0; }

/* ---------------- 对比条 ---------------- */
.awc-bars-card,
.awc-card {
    border-radius: var(--awc-radius);
    background: var(--awc-surface);
    border: 1px solid var(--awc-border);
    box-shadow: var(--awc-shadow);
    padding: 22px;
    margin-bottom: 16px;
}
.awc-wb-head { margin-bottom: 14px; }
.awc-wb-title {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 8px;
}
.awc-ic { font-style: normal; }
.awc-wb-desc { margin: 0; font-size: 13.5px; color: var(--awc-text-soft); }
.awc-bars { display: grid; gap: 14px; }
.awc-bar-row {
    display: grid;
    grid-template-columns: 130px 1fr 110px;
    align-items: center;
    gap: 12px;
}
.awc-bar-name { font-size: 13px; font-weight: 700; color: var(--awc-text-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.awc-bar-track {
    height: 26px;
    border-radius: 8px;
    background: var(--awc-surface-2);
    border: 1px solid var(--awc-border);
    overflow: hidden;
}
.awc-bar {
    height: 100%;
    width: 4%;
    min-width: 6px;
    border-radius: 0 8px 8px 0;
    transition: width .5s cubic-bezier(.2, .7, .3, 1);
}
.awc-bar--a { background: linear-gradient(90deg, var(--awc-primary), var(--awc-primary-2)); }
.awc-bar--b { background: linear-gradient(90deg, var(--awc-accent), var(--awc-accent-2)); }
.awc-bar-val { font-family: var(--awc-mono); font-size: 13px; color: var(--awc-text-soft); text-align: right; }

/* ---------------- 通用卡 / 表格 ---------------- */
.awc-card-head { margin-bottom: 14px; }
.awc-card-title {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.awc-note-sub { font-size: 12px; font-weight: 600; color: var(--awc-text-muted); }
.awc-card-desc { margin: 0; font-size: 13.5px; color: var(--awc-text-soft); line-height: 1.85; }
.awc-btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

.awc-table-wrap { overflow-x: auto; }
.awc-table, .awc-notes {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}
.awc-table th, .awc-table td, .awc-notes th, .awc-notes td {
    padding: 9px 12px;
    border-bottom: 1px solid var(--awc-border);
    text-align: left;
    vertical-align: top;
}
.awc-table th, .awc-notes th {
    font-size: 12px;
    font-weight: 800;
    color: var(--awc-primary);
    background: var(--awc-surface-2);
    white-space: nowrap;
}
:root[data-theme="dark"] .awc-table th, :root[data-theme="dark"] .awc-notes th { color: var(--awc-primary-2); }
.awc-notes { table-layout: fixed; }
.awc-notes th { width: 110px; }
.awc-table tbody tr:hover, .awc-notes tbody tr:hover { background: var(--awc-surface-2); }
.awc-table td b { font-family: var(--awc-mono); }

/* 动物体重表网格 */
.awc-zoo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 8px;
}
.awc-zoo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 8px 11px;
    border-radius: 9px;
    background: var(--awc-surface-2);
    border: 1px solid var(--awc-border);
    font-size: 13px;
}
.awc-zoo i { font-style: normal; color: var(--awc-text-soft); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.awc-zoo b { font-family: var(--awc-mono); font-size: 12.5px; color: var(--awc-primary); white-space: nowrap; }
:root[data-theme="dark"] .awc-zoo b { color: var(--awc-primary-2); }

/* CSV 预览 */
.awc-pre {
    margin: 12px 0 0;
    padding: 14px 16px;
    border-radius: var(--awc-radius-sm);
    background: var(--awc-surface-2);
    border: 1px solid var(--awc-border);
    font-family: var(--awc-mono);
    font-size: 12.5px;
    line-height: 1.7;
    color: var(--awc-text-soft);
    overflow-x: auto;
    white-space: pre;
}

/* ---------------- 底部标签页 ---------------- */
.awc-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 26px 0 0;
    border-bottom: 2px solid var(--awc-border);
    padding-bottom: 0;
}
.awc-tabbtn {
    padding: 10px 18px;
    border: none;
    border-radius: 10px 10px 0 0;
    background: transparent;
    color: var(--awc-text-muted);
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: color .15s;
}
.awc-tabbtn:hover { color: var(--awc-text); }
.awc-tabbtn.on { color: var(--awc-primary); border-bottom-color: var(--awc-accent); }
:root[data-theme="dark"] .awc-tabbtn.on { color: var(--awc-primary-2); }

.awc-panel {
    display: none;
    padding: 22px 4px 8px;
    font-size: 14.5px;
    line-height: 1.95;
    color: var(--awc-text-soft);
}
.awc-panel.on { display: block; }
.awc-panel h2 { font-size: 17px; font-weight: 900; color: var(--awc-text); margin: 20px 0 8px; }
.awc-panel h2:first-child { margin-top: 0; }
.awc-panel ol, .awc-panel ul { padding-left: 22px; }
.awc-panel li { margin: 6px 0; }

.awc-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}
.awc-timeline li {
    display: grid;
    grid-template-columns: 44px 86px 1fr;
    gap: 12px;
    align-items: baseline;
    padding: 12px 14px;
    border-radius: var(--awc-radius-sm);
    background: var(--awc-surface-2);
    border: 1px solid var(--awc-border);
    font-size: 13.5px;
}
.awc-timeline .ver {
    font-family: var(--awc-mono);
    font-weight: 800;
    color: var(--awc-accent);
}
.awc-timeline .date { color: var(--awc-text-muted); font-size: 12.5px; }

.awc-faq { display: grid; gap: 10px; }
.awc-faq details {
    border: 1px solid var(--awc-border);
    border-radius: var(--awc-radius-sm);
    background: var(--awc-surface-2);
    padding: 12px 16px;
}
.awc-faq summary {
    font-weight: 800;
    cursor: pointer;
    color: var(--awc-text);
    font-size: 14.5px;
}
.awc-faq .a { margin-top: 8px; font-size: 13.5px; color: var(--awc-text-soft); line-height: 1.9; }

/* 相关工具 */
.awc-related { margin: 30px 0 8px; }
.awc-related h2 { font-size: 18px; font-weight: 900; margin: 0 0 14px; }
.awc-rel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}
.awc-rel {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    border-radius: var(--awc-radius-sm);
    background: var(--awc-surface);
    border: 1px solid var(--awc-border);
    text-decoration: none;
    transition: transform .15s, box-shadow .15s;
}
.awc-rel:hover { transform: translateY(-2px); box-shadow: var(--awc-shadow); }
.awc-rel .ri { font-size: 24px; }
.awc-rel b { display: block; font-size: 14px; color: var(--awc-text); }
.awc-rel small { font-size: 12px; color: var(--awc-text-muted); }

/* ---------------- 弹窗 / 提示条 ---------------- */
.awc-modal { position: fixed; inset: 0; z-index: 1200; display: flex; }
.awc-modal[hidden] { display: none !important; }
.awc-modal-mask { position: absolute; inset: 0; background: rgba(6, 24, 35, .55); }
.awc-modal-box {
    position: relative;
    margin: auto;
    width: min(640px, calc(100vw - 32px));
    max-height: min(78vh, 720px);
    display: flex;
    flex-direction: column;
    background: var(--awc-surface);
    border: 1px solid var(--awc-border);
    border-radius: var(--awc-radius);
    box-shadow: var(--awc-shadow-lg);
    overflow: hidden;
}
.awc-modal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    border-bottom: 1px solid var(--awc-border);
    background: var(--awc-surface-2);
}
.awc-modal-head h3 { margin: 0; font-size: 16px; font-weight: 900; color: var(--awc-text); }
.awc-modal-x {
    border: none;
    background: var(--awc-primary-soft);
    color: var(--awc-primary);
    width: 30px;
    height: 30px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
}
:root[data-theme="dark"] .awc-modal-x { color: var(--awc-primary-2); }
.awc-modal-body {
    padding: 18px 20px;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.95;
    color: var(--awc-text-soft);
}
.awc-modal-body ol { padding-left: 22px; margin: 8px 0; }
.awc-modal-body li { margin: 6px 0; }
.awc-modal-foot {
    padding: 12px 20px;
    border-top: 1px solid var(--awc-border);
    display: flex;
    justify-content: flex-end;
    background: var(--awc-surface-2);
}

.awc-toast {
    position: fixed;
    left: 50%;
    bottom: 34px;
    transform: translateX(-50%) translateY(20px);
    z-index: 1300;
    padding: 11px 20px;
    border-radius: 999px;
    background: var(--awc-primary-deep);
    color: #eaf6fd;
    font-size: 13.5px;
    font-weight: 700;
    box-shadow: var(--awc-shadow-lg);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s, transform .25s;
    max-width: calc(100vw - 40px);
}
.awc-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------------- A4 打印单 ---------------- */
.awc-sheet { display: none; }

@media print {
    body > *:not(.detail-wrap) { display: none !important; }
    .detail-wrap .container > *:not(.awc-sheet) { display: none !important; }
    .awc-sheet {
        display: block !important;
        color: #000;
        font-size: 12.5px;
        line-height: 1.7;
    }
    .awc-sheet h1 { font-size: 20px; margin: 0 0 4px; }
    .awc-sheet .sh-meta { font-size: 11.5px; color: #444; margin-bottom: 12px; }
    .awc-sheet .sh-main {
        border: 1.5px solid #000;
        padding: 14px 16px;
        margin-bottom: 12px;
        border-radius: 6px;
    }
    .awc-sheet .sh-line { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px dashed #999; }
    .awc-sheet table { width: 100%; border-collapse: collapse; margin-top: 8px; }
    .awc-sheet th, .awc-sheet td { border: 1px solid #444; padding: 6px 9px; text-align: left; font-size: 11.5px; }
    .awc-sheet .sh-foot { margin-top: 14px; font-size: 11px; color: #555; }
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 960px) {
    .awc-hero { grid-template-columns: 1fr; gap: 20px; }
    .awc-verdict { grid-template-columns: 1fr; }
    .awc-desk { grid-template-columns: 1fr; }
    .awc-desk-mid { flex-direction: row; padding-top: 0; }
    .awc-bar-row { grid-template-columns: 92px 1fr 88px; gap: 8px; }
}
@media (max-width: 560px) {
    .awc-hero-copy h1 { font-size: 28px; }
    .awc-steps { grid-template-columns: 1fr; }
    .awc-verdict-weights { grid-template-columns: 1fr; }
    .awc-times { padding: 4px 0; }
    .awc-zoo-grid { grid-template-columns: repeat(auto-fill, minmax(126px, 1fr)); }
    .awc-timeline li { grid-template-columns: 40px 1fr; }
    .awc-timeline .txt { grid-column: 1 / -1; }
}
