/* ==========================================================
   管理后台 · UI 主题封装层（Bootstrap 5.3 底座）
   分层：bootstrap.min.css（底座） → 本文件（品牌主题 + 组件封装）
   - 全部组件类名向后兼容既有视图，视图无需改动
   - 通过 data-bs-theme="light|dark" 支持明暗两套主题
   ========================================================== */

/* ---------- 设计令牌（浅色，默认） ---------- */
:root {
    /* 品牌（桥接 Bootstrap 变量） */
    --primary: #1a56db;
    --primary-2: #3b76ff;
    --primary-dark: #1441a8;
    --primary-soft: #eaf1ff;
    --gold: #b8894c;

    /* 中性色阶 */
    --ink: #0f172a;
    --text: #1e293b;
    --text-2: #475569;
    --muted: #64748b;
    --faint: #94a3b8;
    --line: #e6ebf3;
    --line-soft: #eef2f8;
    --bg: #f4f6fb;
    --card: #ffffff;
    --card-solid: rgba(255, 255, 255, .97);
    --card-solid-border: rgba(255, 255, 255, .6);

    /* 组件表面 */
    --th-bg: #f8fafd;
    --row-hover: #f9fbff;
    --stripe: rgba(100, 116, 139, .045);
    --row-soft: #fbfcfe;
    --row-unread: #fffdf6;
    --row-current: #f3faf4;
    --top-bg: rgba(255, 255, 255, .84);
    --btn-hover: #f7faff;
    --btn-hover-border: #d3dff5;
    --tag-muted-bg: #eff2f7;
    --ico-bg-1: #eef4ff;
    --ico-bg-2: #dfe9ff;
    --ico-warn-1: #fdf5e8;
    --ico-warn-2: #fbe9cd;
    --ico-muted-1: #f1f5f9;
    --ico-muted-2: #e6ebf2;
    --scroll-thumb: #cbd5e1;
    --scroll-thumb-hover: #94a3b8;
    --focus-border: #cddcff;

    /* 深色侧栏（两种主题共用） */
    --side-w: 248px;
    --side-ink: #0b1424;
    --side-ink-2: #12203a;
    --side-line: rgba(148, 163, 184, .12);
    --side-text: #a8b6cc;

    /* 圆角 / 阴影 / 焦点环 */
    --r-lg: 16px;
    --r-md: 12px;
    --r-sm: 9px;
    --shadow-1: 0 1px 2px rgba(15, 23, 42, .04), 0 1px 3px rgba(15, 23, 42, .05);
    --shadow-2: 0 12px 30px -20px rgba(15, 23, 42, .4), 0 4px 12px -8px rgba(15, 23, 42, .12);
    --shadow-3: 0 24px 48px -28px rgba(15, 23, 42, .55);
    --ring: 0 0 0 3px rgba(59, 118, 255, .16);

    /* 语义色 */
    --ok: #15803d;
    --ok-bg: #e8f7ee;
    --warn: #b45309;
    --warn-bg: #fdf3e3;
    --danger: #b91c1c;
    --danger-bg: #fdecea;
    --info-bg: #eaf1ff;

    --ease: cubic-bezier(.4, 0, .2, 1);

    /* 桥接 Bootstrap 组件变量 */
    --bs-body-bg: var(--bg);
    --bs-body-color: var(--text);
    --bs-primary: var(--primary);
    --bs-border-color: var(--line);
    --bs-link-color: var(--primary);
    --bs-link-hover-color: var(--primary-dark);
}

/* ---------- 暗色主题令牌 ---------- */
[data-bs-theme="dark"] {
    color-scheme: dark;

    --ink: #f1f5f9;
    --text: #dbe3ee;
    --text-2: #c3cddb;
    --muted: #94a3b8;
    --faint: #64748b;
    --line: #263248;
    --line-soft: #1f2a40;
    --bg: #0b1220;
    --card: #121b2e;
    --card-solid: rgba(18, 27, 46, .97);
    --card-solid-border: rgba(255, 255, 255, .08);

    --primary-soft: rgba(59, 118, 255, .18);
    --th-bg: #0f182a;
    --row-hover: #182338;
    --stripe: rgba(255, 255, 255, .03);
    --row-soft: #131d31;
    --row-unread: rgba(217, 119, 6, .09);
    --row-current: rgba(21, 128, 61, .12);
    --top-bg: rgba(11, 18, 32, .82);
    --btn-hover: #1a2740;
    --btn-hover-border: rgba(59, 118, 255, .5);
    --tag-muted-bg: #1e293e;
    --ico-bg-1: rgba(59, 118, 255, .2);
    --ico-bg-2: rgba(59, 118, 255, .1);
    --ico-warn-1: rgba(217, 119, 6, .2);
    --ico-warn-2: rgba(217, 119, 6, .1);
    --ico-muted-1: #1e293e;
    --ico-muted-2: #182338;
    --scroll-thumb: #2c3950;
    --scroll-thumb-hover: #3d4d6b;
    --focus-border: rgba(59, 118, 255, .5);

    --shadow-1: 0 1px 2px rgba(0, 0, 0, .35), 0 1px 3px rgba(0, 0, 0, .35);
    --shadow-2: 0 12px 30px -20px rgba(0, 0, 0, .7), 0 4px 12px -8px rgba(0, 0, 0, .4);
    --shadow-3: 0 24px 48px -28px rgba(0, 0, 0, .8);
    --ring: 0 0 0 3px rgba(59, 118, 255, .32);

    --ok: #4ade80;
    --ok-bg: rgba(21, 128, 61, .16);
    --warn: #fbbf24;
    --warn-bg: rgba(217, 119, 6, .14);
    --danger: #f87171;
    --danger-bg: rgba(185, 28, 28, .16);
    --info-bg: rgba(59, 118, 255, .16);

    --bs-body-bg: var(--bg);
    --bs-body-color: var(--text);
    --bs-border-color: var(--line);
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
    margin: 0;
    font: 14px/1.62 -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-feature-settings: "tnum" 1;
    transition: background .2s var(--ease), color .2s var(--ease);
}

a { color: var(--primary); text-decoration: none; transition: color .15s var(--ease); }
a:hover { color: var(--primary-dark); }
[data-bs-theme="dark"] a:hover { color: var(--primary-2); }

::selection { background: rgba(59, 118, 255, .18); }
[data-bs-theme="dark"] ::selection { background: rgba(59, 118, 255, .35); }

/* 滚动条 */
* { scrollbar-width: thin; scrollbar-color: var(--scroll-thumb) transparent; }
*::-webkit-scrollbar { width: 8px; height: 8px; }
*::-webkit-scrollbar-thumb { background: var(--scroll-thumb); border-radius: 999px; }
*::-webkit-scrollbar-thumb:hover { background: var(--scroll-thumb-hover); }

/* ==========================================================
   登录页
   ========================================================== */
/* 无验证错误时不渲染空白提示块（Razor 无错误时会输出一个 display:none 的占位 li） */
.validation-summary:has(li[style*="display:none"]:only-child) { display: none; }

/* 登录页 html 底色与背景一致，避免视口底部露出浅色条 */
html:has(body.login-body),
html:has(body.login-body) > body { background: #0a1425; }

.login-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        radial-gradient(1000px 620px at 12% 8%, rgba(59, 118, 255, .35), transparent 62%),
        radial-gradient(900px 560px at 88% 92%, rgba(184, 137, 76, .26), transparent 60%),
        linear-gradient(155deg, #0a1425 0%, #10203c 46%, #0b1a30 100%);
    position: relative;
    overflow: hidden;
}
.login-body::before,
.login-body::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}
.login-body::before { width: 420px; height: 420px; background: rgba(59, 118, 255, .35); top: -140px; right: -100px; }
.login-body::after { width: 360px; height: 360px; background: rgba(184, 137, 76, .22); bottom: -150px; left: -90px; }

.login-card {
    position: relative;
    width: 100%;
    max-width: 400px;
    padding: 38px 34px 32px;
    border-radius: 22px;
    background: var(--card-solid);
    border: 1px solid var(--card-solid-border);
    box-shadow: 0 32px 80px -32px rgba(2, 8, 23, .8), 0 8px 24px -12px rgba(2, 8, 23, .4);
    backdrop-filter: blur(10px);
}
.login-head { text-align: center; margin-bottom: 26px; }
.login-logo {
    display: block; height: 42px; width: auto; margin: 0 auto 18px;
    padding: 6px 10px; background: #fff; border-radius: 12px;
}
.login-head h1 { margin: 0 0 6px; font-size: 21px; letter-spacing: -.01em; color: var(--ink); }
.login-head p { margin: 0; color: var(--muted); font-size: 13px; }
.login-card .form-row label { color: var(--text-2); }
.login-card .btn-block { margin-top: 6px; }

/* ==========================================================
   整体布局
   ========================================================== */
.admin-body { background: var(--bg); }

.admin-shell {
    display: flex;
    min-height: 100vh;
    align-items: stretch;
}

/* ---------- 侧栏 ---------- */
.admin-side {
    width: var(--side-w);
    flex: 0 0 var(--side-w);
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--side-text);
    background: linear-gradient(186deg, var(--side-ink) 0%, var(--side-ink-2) 58%, #0a1220 100%);
    border-right: 1px solid rgba(2, 8, 23, .5);
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, .04);
    z-index: 40;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 20px 18px 18px;
    border-bottom: 1px solid var(--side-line);
}
.admin-brand-mark {
    width: 38px; height: 38px; flex: 0 0 38px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 12px;
    font-size: 17px; font-weight: 700; color: #fff;
    background: linear-gradient(140deg, var(--primary-2), var(--primary-dark));
    box-shadow: 0 8px 18px -10px rgba(59, 118, 255, .9), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.admin-brand-text { display: flex; flex-direction: column; min-width: 0; }
.admin-brand-text b {
    color: #fff; font-size: 15px; font-weight: 650; letter-spacing: -.01em;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.admin-brand-text span { font-size: 11.5px; color: #8598b3; letter-spacing: .06em; }

.admin-nav {
    flex: 1;
    overflow-y: auto;
    padding: 14px 12px 18px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.nav-group {
    margin: 14px 10px 6px;
    font-size: 10.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, .62);
    font-weight: 600;
}
.admin-nav .nav-group:first-child { margin-top: 2px; }

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 11px;
    border-radius: var(--r-sm);
    color: var(--side-text);
    font-size: 13.5px;
    line-height: 1.3;
    position: relative;
    transition: background .16s var(--ease), color .16s var(--ease), transform .16s var(--ease);
}
.admin-nav a .icon { width: 16px; height: 16px; flex: 0 0 16px; opacity: .82; }
.admin-nav a span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-nav a:hover { background: rgba(255, 255, 255, .06); color: #e2e8f0; }
.admin-nav a:hover .icon { opacity: 1; }

.admin-nav a.active {
    background: linear-gradient(96deg, rgba(59, 118, 255, .26), rgba(59, 118, 255, .07));
    color: #fff;
    box-shadow: inset 2px 0 0 var(--primary-2), 0 8px 18px -16px rgba(59, 118, 255, .9);
}
.admin-nav a.active .icon { opacity: 1; color: #9dbcff; }

.admin-side-foot {
    padding: 14px 18px 16px;
    border-top: 1px solid var(--side-line);
    font-size: 12px;
    color: #7e90aa;
}
.admin-side-foot a {
    display: inline-flex; align-items: center; gap: 7px;
    color: #9db0c9; margin-bottom: 8px;
    transition: color .15s var(--ease);
}
.admin-side-foot a:hover { color: #fff; }
.admin-side-foot a .icon { width: 13px; height: 13px; }
.admin-side-foot p { margin: 0; font-size: 11px; color: rgba(148, 163, 184, .55); }

/* 移动端遮罩 */
.admin-scrim {
    position: fixed; inset: 0;
    background: rgba(8, 15, 30, .55);
    backdrop-filter: blur(2px);
    z-index: 39;
    opacity: 0;
    transition: opacity .2s var(--ease);
}
.admin-scrim[hidden] { display: none; }
.admin-shell.side-open .admin-scrim { opacity: 1; }

/* ---------- 主内容区 ---------- */
.admin-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(900px 420px at 100% -6%, rgba(59, 118, 255, .07), transparent 62%),
        var(--bg);
}

.admin-top {
    position: sticky;
    top: 0;
    z-index: 30;
    height: 62px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 26px;
    background: var(--top-bg);
    backdrop-filter: blur(14px) saturate(160%);
    border-bottom: 1px solid var(--line);
}

.admin-burger {
    display: none;
    width: 36px; height: 36px;
    align-items: center; justify-content: center;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--card);
    color: var(--text-2);
    cursor: pointer;
    transition: background .15s var(--ease), color .15s var(--ease);
}
.admin-burger:hover { background: var(--primary-soft); color: var(--primary); border-color: var(--btn-hover-border); }
.admin-burger .icon { width: 17px; height: 17px; }

.admin-crumb {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; color: var(--faint);
    min-width: 0;
}
.admin-crumb i { font-style: normal; color: var(--faint); opacity: .7; }
.admin-crumb b {
    color: var(--ink); font-weight: 600; font-size: 13.5px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.admin-top-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }

/* 主题切换按钮：亮色显示月亮，暗色显示太阳 */
.admin-theme-toggle {
    width: 36px; height: 36px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--card);
    color: var(--text-2);
    cursor: pointer;
    transition: background .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease);
}
.admin-theme-toggle:hover { background: var(--primary-soft); color: var(--primary); border-color: var(--btn-hover-border); }
.admin-theme-toggle .icon { width: 16px; height: 16px; }
/* 亮色主题显示「月亮」提示可切暗色；暗色反之 */
.admin-theme-toggle svg:first-of-type { display: block; }
.admin-theme-toggle svg:last-of-type { display: none; }
[data-bs-theme="dark"] .admin-theme-toggle svg:first-of-type { display: none; }
[data-bs-theme="dark"] .admin-theme-toggle svg:last-of-type { display: block; }

.admin-user {
    display: flex; align-items: center; gap: 9px;
    padding: 4px 12px 4px 4px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--card);
    box-shadow: var(--shadow-1);
}
.admin-avatar {
    width: 30px; height: 30px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    font-size: 13px; font-weight: 700; color: #fff;
    background: linear-gradient(140deg, #64748b, #334155);
}
.admin-avatar.is-super { background: linear-gradient(140deg, #d3a86a, #a97b3c); }
.admin-user-meta { display: flex; flex-direction: column; line-height: 1.25; }
.admin-user-meta b { font-size: 12.5px; color: var(--ink); font-weight: 600; }
.admin-user-meta em {
    font-style: normal; font-size: 11px; color: var(--faint);
}

.admin-logout {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 12.5px;
    color: var(--text-2);
    background: var(--card);
    transition: all .15s var(--ease);
}
.admin-logout .icon { width: 14px; height: 14px; }
.admin-logout:hover { color: var(--danger); border-color: rgba(185, 28, 28, .35); background: var(--danger-bg); }

.admin-main {
    flex: 1;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 26px 28px 56px;
}

/* ==========================================================
   页头 / 面板
   ========================================================== */
.page-head {
    display: flex; align-items: flex-start; justify-content: space-between;
    gap: 16px; margin-bottom: 20px; flex-wrap: wrap;
}
.page-head h1 {
    margin: 0;
    font-size: 22px;
    font-weight: 680;
    letter-spacing: -.015em;
    color: var(--ink);
}
.page-head > div > p { margin: 6px 0 0; }
.dash-welcome { margin: 6px 0 0; color: var(--muted); font-size: 13px; }

.panel {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 20px 22px;
    margin-bottom: 18px;
    box-shadow: var(--shadow-1);
    transition: box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.panel:hover { box-shadow: var(--shadow-2); }
.panel h2 { margin: 0 0 14px; font-size: 15px; font-weight: 650; color: var(--ink); }
.panel-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; margin-bottom: 14px;
}
.panel-head h2 {
    margin: 0;
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 15px; font-weight: 650; color: var(--ink);
}
.form-panel {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 22px 24px;
    box-shadow: var(--shadow-1);
}
.form-panel .panel {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0 0 14px;
    margin-bottom: 16px;
    border-bottom: 1px dashed var(--line);
}
.form-panel .panel:hover { box-shadow: none; }
.form-panel .panel:last-of-type { border-bottom: 0; padding-bottom: 0; margin-bottom: 10px; }

/* ==========================================================
   统计卡
   ========================================================== */
.stat-grid {
    display: grid; gap: 16px; margin-bottom: 20px;
    grid-template-columns: repeat(auto-fit, minmax(206px, 1fr));
}
.stat-card {
    position: relative;
    overflow: hidden;
    display: flex; align-items: center; gap: 14px;
    padding: 17px 18px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-1);
    color: var(--text);
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.stat-card::after {
    content: "";
    position: absolute; right: -34px; top: -34px;
    width: 96px; height: 96px; border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 118, 255, .16), transparent 68%);
    pointer-events: none;
}
.stat-card:hover {
    transform: translateY(-3px);
    border-color: var(--btn-hover-border);
    box-shadow: 0 18px 34px -24px rgba(26, 86, 219, .55), 0 2px 6px rgba(15, 23, 42, .05);
}
.stat-meta { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.stat-meta b {
    font-size: 26px; font-weight: 700; line-height: 1.15;
    color: var(--primary);
    letter-spacing: -.02em;
}
[data-bs-theme="dark"] .stat-meta b { color: var(--primary-2); }
.stat-meta span { color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.stat-card.warn .stat-meta b { color: var(--warn); }
.stat-card.muted .stat-meta b { color: var(--muted); }

.stat-ico {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; flex: 0 0 42px;
    border-radius: 13px;
    background: linear-gradient(150deg, var(--ico-bg-1), var(--ico-bg-2));
    color: var(--primary);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}
[data-bs-theme="dark"] .stat-ico { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); color: var(--primary-2); }
.stat-ico .icon { width: 19px; height: 19px; }
.stat-card.warn .stat-ico { background: linear-gradient(150deg, var(--ico-warn-1), var(--ico-warn-2)); color: var(--warn); }
.stat-card.muted .stat-ico { background: linear-gradient(150deg, var(--ico-muted-1), var(--ico-muted-2)); color: var(--muted); }

/* ==========================================================
   表格
   ========================================================== */
.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13.5px;
    margin: 0;
    color: var(--text);
}
.table th {
    text-align: left;
    padding: 10px 12px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    background: var(--th-bg);
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
}
.table th:first-child { border-left: 1px solid var(--line-soft); border-top-left-radius: 10px; }
.table th:last-child { border-right: 1px solid var(--line-soft); border-top-right-radius: 10px; }
.table td {
    padding: 12px;
    border-bottom: 1px solid var(--line-soft);
    vertical-align: top;
    color: var(--text-2);
}
.table tbody tr { transition: background .14s var(--ease); }
.table tbody tr:hover td { background: var(--row-hover); }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr.row-unread td { background: var(--row-unread); }
.table tbody tr.row-current td { background: var(--row-current); }
.table tbody tr.row-disabled td { background: var(--row-soft); color: var(--faint); }
.table td b { color: var(--ink); font-weight: 600; }
.table .ops { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; }
.empty-cell { text-align: center !important; color: var(--faint) !important; padding: 30px 0 !important; }
.msg-content { margin: 5px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.6; }

/* 标签 */
.tag {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1.7;
    font-weight: 500;
    white-space: nowrap;
}
.tag-info { background: var(--info-bg); color: var(--primary); }
[data-bs-theme="dark"] .tag-info { color: #8db2ff; }
.tag-warn { background: var(--warn-bg); color: var(--warn); }
.tag-muted { background: var(--tag-muted-bg); color: var(--text-2); }
.tag-ok { background: var(--ok-bg); color: var(--ok); }

.inline-form { display: inline; }

/* 导航内联编辑 */
.menu-table td { vertical-align: middle; }
.menu-table .cell-input {
    width: 100%; min-width: 92px;
    padding: 6px 9px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font: inherit; font-size: 13px;
    color: var(--text);
    background: var(--card);
    outline: none;
    transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.menu-table .cell-input:focus { border-color: var(--primary-2); box-shadow: var(--ring); }

/* 新闻分类树 */
.cat-l1 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cat-l1 small { color: var(--muted); font-weight: 400; font-size: 12px; letter-spacing: .02em; }
.cat-badge {
    display: inline-block; padding: 2px 9px; border-radius: 6px;
    font-size: 11px; letter-spacing: .07em; font-weight: 600;
    background: rgba(184, 145, 84, .12); color: #a97b3c;
}
[data-bs-theme="dark"] .cat-badge { background: rgba(184, 145, 84, .18); color: #d8b279; }
.cat-l2-badge { background: var(--primary-soft); color: var(--primary); }
[data-bs-theme="dark"] .cat-l2-badge { color: #8db2ff; }
.cat-l3-badge { background: var(--tag-muted-bg); color: var(--text-2); }
.cat-l3-row td { background: var(--row-soft); }
.cat-empty { color: var(--muted); font-size: 13px; margin: 6px 0 0; }

/* 图标通用 */
.icon {
    width: 1em; height: 1em;
    display: inline-block;
    vertical-align: -.12em;
    flex: 0 0 auto;
}
.panel-head h2 .icon { width: 15px; height: 15px; color: var(--gold); }

.muted-tip { color: var(--muted); font-size: 12.5px; line-height: 1.95; margin: 0 0 14px; }

/* ==========================================================
   表单
   ========================================================== */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.form-row { margin-bottom: 15px; display: flex; flex-direction: column; gap: 6px; }
.form-row.full { grid-column: 1 / -1; }
.form-row label {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 12.5px; font-weight: 600; color: var(--text-2);
    letter-spacing: .01em;
}
.form-row label .icon { width: 13px; height: 13px; color: var(--gold); }

.form-row input,
.form-row select,
.form-row textarea,
.filter-bar input,
.filter-bar select {
    width: 100%;
    padding: 9px 12px;
    min-height: 40px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font: inherit;
    font-size: 13.5px;
    color: var(--text);
    background: var(--card);
    outline: none;
    transition: border-color .15s var(--ease), box-shadow .15s var(--ease), background .15s var(--ease);
}
.form-row textarea { min-height: 100px; padding: 11px 12px; }
.form-row input::placeholder,
.form-row textarea::placeholder { color: var(--faint); }
.form-row input:hover,
.form-row select:hover,
.form-row textarea:hover,
.filter-bar input:hover,
.filter-bar select:hover { border-color: var(--faint); }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus,
.filter-bar input:focus,
.filter-bar select:focus { border-color: var(--primary-2); box-shadow: var(--ring); }
.form-row textarea { resize: vertical; }
.form-hint { color: var(--muted); font-size: 12.5px; }
.form-actions {
    display: flex; gap: 10px; align-items: center;
    margin-top: 14px; padding-top: 16px;
    border-top: 1px solid var(--line-soft);
}
.filter-bar {
    display: flex; gap: 10px; margin-bottom: 14px;
    flex-wrap: wrap; align-items: center;
}
.filter-bar input, .filter-bar select { width: auto; min-width: 148px; }

/* ==========================================================
   按钮
   ========================================================== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    min-height: 38px;
    padding: 8px 16px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--card);
    color: var(--text-2);
    font: inherit; font-size: 13.5px; font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
    transition: background .15s var(--ease), border-color .15s var(--ease),
                box-shadow .15s var(--ease), transform .1s var(--ease), color .15s var(--ease);
}
.btn:hover { background: var(--btn-hover); border-color: var(--btn-hover-border); color: var(--primary); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }

.btn-primary {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--primary-2), var(--primary));
    box-shadow: 0 10px 20px -12px rgba(26, 86, 219, .85), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.btn-primary:hover {
    color: #fff;
    background: linear-gradient(135deg, #4b82ff, var(--primary-dark));
    box-shadow: 0 14px 26px -12px rgba(26, 86, 219, .95), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn-danger { color: var(--danger); border-color: rgba(185, 28, 28, .3); background: var(--card); }
.btn-danger:hover { background: var(--danger-bg); border-color: rgba(185, 28, 28, .5); color: var(--danger); }
.btn-sm { min-height: 30px; padding: 4px 11px; font-size: 12.5px; border-radius: 8px; }
.btn-block { width: 100%; min-height: 44px; }

/* ==========================================================
   富文本编辑器
   ========================================================== */
.editor-toolbar {
    display: flex; gap: 4px; flex-wrap: wrap;
    padding: 8px;
    background: var(--th-bg);
    border: 1px solid var(--line);
    border-bottom: 0;
    border-radius: 12px 12px 0 0;
}
.editor-toolbar button {
    padding: 4px 10px;
    border: 1px solid transparent;
    border-radius: 7px;
    background: none;
    font: inherit; font-size: 12.5px;
    color: var(--text-2);
    cursor: pointer;
    transition: background .14s var(--ease), border-color .14s var(--ease), color .14s var(--ease);
}
.editor-toolbar button:hover { background: var(--primary-soft); border-color: var(--btn-hover-border); color: var(--primary); }
.rich-editor {
    min-height: 280px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 0 0 12px 12px;
    background: var(--card);
    overflow-y: auto;
    outline: none;
    line-height: 1.85;
    color: var(--text);
    transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.rich-editor:focus { border-color: var(--primary-2); box-shadow: var(--ring); }
.rich-editor:empty::before { content: attr(data-placeholder); color: var(--faint); }
.rich-editor img { max-width: 100%; border-radius: 8px; }

/* ==========================================================
   轮播卡片
   ========================================================== */
.banner-grid {
    display: grid; gap: 16px; margin-bottom: 18px;
    grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
}
.banner-card {
    position: relative;
    overflow: hidden;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-1);
    transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.banner-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.banner-card img {
    display: block; width: 100%; height: 136px;
    object-fit: cover;
    background: var(--th-bg);
}
.banner-card-body { padding: 12px 14px; display: flex; flex-direction: column; gap: 3px; }
.banner-card-body b { font-size: 13.5px; color: var(--ink); }
.banner-card-body span { color: var(--muted); font-size: 12px; }
.banner-link { word-break: break-all; }
.banner-del { position: absolute; top: 9px; right: 9px; }

/* ==========================================================
   工作台
   ========================================================== */
.dash-table td { vertical-align: middle; }
.dash-quick {
    display: grid; gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.dash-quick a {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 15px;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--card);
    color: var(--text);
    transition: border-color .18s var(--ease), box-shadow .18s var(--ease), transform .18s var(--ease);
}
.dash-quick a:hover {
    border-color: var(--btn-hover-border);
    box-shadow: 0 14px 26px -20px rgba(26, 86, 219, .6);
    transform: translateY(-2px);
}
.dash-quick .stat-ico { margin-bottom: 0; width: 38px; height: 38px; flex: 0 0 38px; border-radius: 11px; }
.dash-quick .stat-meta b { font-size: 16px; line-height: 1.3; color: var(--ink); }
.dash-quick .stat-meta span { font-size: 12.5px; }

/* ==========================================================
   提示 / 分页 / 空态
   ========================================================== */
.alert {
    display: flex; align-items: center; gap: 8px;
    padding: 11px 15px;
    margin-bottom: 16px;
    border-radius: var(--r-md);
    font-size: 13.5px;
    border: 1px solid transparent;
    box-shadow: var(--shadow-1);
}
.alert-ok { background: var(--ok-bg); color: var(--ok); border-color: rgba(21, 128, 61, .3); }
.alert-bad { background: var(--danger-bg); color: var(--danger); border-color: rgba(185, 28, 28, .3); }
.alert-bad:empty { display: none; }

.pager {
    display: flex; justify-content: center; align-items: center; gap: 12px;
    margin-top: 22px; font-size: 13px; color: var(--muted);
}
.pager a {
    padding: 7px 14px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--card);
    color: var(--text-2);
    transition: all .15s var(--ease);
}
.pager a:hover { border-color: var(--btn-hover-border); color: var(--primary); background: var(--btn-hover); }
.empty-tip { color: var(--faint); text-align: center; padding: 34px 0; }

/* ==========================================================
   角色功能授权
   ========================================================== */
.perm-grid {
    display: grid; gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
}
.perm-item {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--card);
    cursor: pointer;
    transition: border-color .15s var(--ease), background .15s var(--ease), box-shadow .15s var(--ease);
}
.perm-item:hover { border-color: var(--btn-hover-border); background: var(--row-hover); }
.perm-item input { margin-top: 2px; accent-color: var(--primary); width: 15px; height: 15px; }
.perm-item span { display: flex; flex-direction: column; gap: 2px; }
.perm-item b { font-size: 13.5px; color: var(--ink); font-weight: 600; }
.perm-item em { font-style: normal; font-size: 12px; color: var(--muted); line-height: 1.5; }
.perm-item:has(input:checked) { border-color: var(--btn-hover-border); background: var(--row-hover); box-shadow: 0 0 0 3px rgba(59, 118, 255, .07); }
.perm-item input:checked + span b { color: var(--primary); }
[data-bs-theme="dark"] .perm-item input:checked + span b { color: #8db2ff; }
.perm-item input:disabled ~ span { opacity: .6; }

/* ==========================================================
   用户权限
   ========================================================== */
.user-table td { vertical-align: middle; }
.user-table tr.row-disabled td { background: var(--row-soft); color: var(--faint); }
.role-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 12px;
    background: var(--tag-muted-bg);
    color: var(--text-2);
    white-space: nowrap;
}
.role-badge.role-super {
    background: rgba(184, 145, 84, .14);
    color: #a97b3c;
    font-weight: 600;
    box-shadow: inset 0 0 0 1px rgba(184, 145, 84, .18);
}
[data-bs-theme="dark"] .role-badge.role-super { color: #d8b279; }
.admin-role {
    display: inline-block; margin-left: 5px;
    padding: 0 7px;
    border-radius: 5px;
    font-style: normal; font-size: 11px;
    color: #c8b184;
    background: rgba(184, 145, 84, .16);
}

/* ==========================================================
   Bootstrap 底座兼容重置
   Bootstrap 的 .table > :not(caption) > * > * 特异性更高，
   此处对齐选择器抵消其默认单元格背景/内边距/阴影
   ========================================================== */
.table > :not(caption) > * > th,
.table > :not(caption) > * > td {
    padding: 12px;
    color: var(--text-2);
    background-color: transparent;
    box-shadow: none;
    border-bottom: 1px solid var(--line-soft);
    border-top: 0;
    vertical-align: top;
    text-align: left;
    font-size: 13.5px;
    font-weight: inherit;
    text-transform: none;
    letter-spacing: normal;
}
.table > :not(caption) > thead > * > th {
    padding: 10px 12px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    background-color: var(--th-bg);
}
.table > tbody > tr:hover > td { background-color: var(--row-hover); }
.table > tbody > tr.row-unread > td { background-color: var(--row-unread); }
.table > tbody > tr.row-current > td { background-color: var(--row-current); }
.table > tbody > tr.row-disabled > td { background-color: var(--row-soft); color: var(--faint); }
.table > tbody > tr:last-child > td { border-bottom: 0; }

/* ==========================================================
   表格增强 v2（置于 Bootstrap 兼容重置之后，保证优先级）
   斑马纹 / 行悬停指示条 / 粘性表头 / 幽灵操作按钮 /
   裸表格卡片化 / 分页器当前页高亮
   ========================================================== */

/* 斑马纹（状态行规则在其后定义，自动优先） */
.table > tbody > tr:nth-child(even) > td { background-color: var(--stripe); }

/* 行悬停：整行提亮 + 首列品牌色指示条 */
.table > tbody > tr:hover > td { background-color: var(--row-hover); }
.table > tbody > tr:hover > td:first-child { box-shadow: inset 2px 0 0 var(--primary-2); }

/* 单元格垂直对齐：默认居中；含长文本段落的行顶对齐 */
.table > :not(caption) > * > td { vertical-align: middle; }
.table > tbody > tr > td:has(.msg-content),
.table > tbody > tr > td:has(p) { vertical-align: top; }

/* 表内链接：标题列可点击区域更明确 */
.table > tbody > tr > td a { font-weight: 500; }
.table > tbody > tr > td a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* 操作列：幽灵按钮，悬停时着色，减少视觉噪音；不换行 */
.ops { flex-wrap: nowrap; white-space: nowrap; }
.ops .btn-sm {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: var(--text-2);
    padding: 4px 10px;
}
.ops .btn-sm:hover {
    background: var(--primary-soft);
    border-color: transparent;
    color: var(--primary);
}
.ops .btn-sm.btn-danger { color: var(--danger); }
.ops .btn-sm.btn-danger:hover { background: var(--danger-bg); color: var(--danger); }

/* 图标操作按钮：方形紧凑，配合 title 提示 */
.btn-ico {
    width: 30px;
    min-height: 30px;
    padding: 0;
    justify-content: center;
    flex: 0 0 auto;
}
.btn-ico .icon { width: 15px; height: 15px; }
.btn-ico.btn-danger:hover { border-color: transparent; }

/* 桌面端：粘性表头（长列表滚动时表头跟随顶栏） */
@media (min-width: 981px) {
    .admin-main table.table > thead {
        position: sticky;
        top: 62px;
        z-index: 5;
    }
}

/* 裸表格卡片化：新闻/留言等未包面板的表格获得统一卡片外观 */
.admin-main > table.table {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-1);
}
.admin-main > table.table > thead > tr > th:first-child { border-top-left-radius: 15px; }
.admin-main > table.table > thead > tr > th:last-child { border-top-right-radius: 15px; }
.admin-main > table.table > tbody > tr:last-child > td:first-child { border-bottom-left-radius: 15px; }
.admin-main > table.table > tbody > tr:last-child > td:last-child { border-bottom-right-radius: 15px; }

/* 分页器：当前页高亮胶囊 */
.pager span {
    padding: 7px 15px;
    border-radius: 9px;
    background: var(--primary-soft);
    color: var(--primary);
    font-weight: 600;
}
[data-bs-theme="dark"] .pager span { color: #8db2ff; }

/* ==========================================================
   响应式
   ========================================================== */
@media (max-width: 1180px) {
    :root { --side-w: 226px; }
    .admin-main { padding: 24px 22px 48px; }
}

@media (max-width: 980px) {
    .admin-side {
        position: fixed;
        left: 0; top: 0;
        width: 280px; flex-basis: 280px;
        transform: translateX(-102%);
        transition: transform .26s var(--ease);
        box-shadow: 12px 0 40px -18px rgba(2, 8, 23, .8);
    }
    .admin-shell.side-open .admin-side { transform: translateX(0); }
    .admin-burger { display: inline-flex; }
    .admin-top { padding: 0 16px; }
    .admin-main { padding: 20px 16px 44px; }
    .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .form-grid { grid-template-columns: 1fr; }
    .panel { padding: 16px; border-radius: 14px; }
    .form-panel { padding: 16px; }
    .panel { overflow-x: auto; }
}

@media (max-width: 640px) {
    .admin-crumb > span, .admin-crumb > i { display: none; }
    .admin-user-meta { display: none; }
    .admin-user { padding: 4px; }
    .admin-logout span { display: none; }
    .admin-logout { padding: 8px 10px; }
    .stat-grid { grid-template-columns: 1fr; }
    .page-head h1 { font-size: 19px; }
    .table { font-size: 13px; }
    .table th, .table td { padding: 10px; }
    .filter-bar input, .filter-bar select { min-width: 0; flex: 1 1 140px; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; }
}

/* ---------- 小程序码管理 ---------- */
.mp-qr-preview {
    display: flex; align-items: center; gap: 18px; padding: 14px 4px;
}
.mp-qr-preview img {
    width: 140px; height: 140px; object-fit: contain;
    border: 1px solid #e6e6e1; background: #fff; padding: 8px; border-radius: 10px;
}
.mp-qr-meta { display: flex; flex-direction: column; gap: 6px; }
.mp-qr-meta b { font-size: 14px; color: #1a1c20; }
.mp-qr-meta b.text-warn { color: #b45309; }
.mp-qr-meta span { font-size: 12.5px; color: #8a8f99; }
.link { color: #2f6fd6; text-decoration: underline; }

/* ---------- Markdown 编辑器（EasyMDE） ---------- */
.EasyMDEContainer .editor-toolbar {
    background: var(--bs-body-bg, #fff);
    border-color: var(--bs-border-color, #dee2e6);
    border-radius: 8px 8px 0 0;
}
.EasyMDEContainer .editor-toolbar > * { color: var(--bs-body-color, #212529); }
.EasyMDEContainer .editor-toolbar button:hover,
.EasyMDEContainer .editor-toolbar button.active { background: rgba(47,111,214,.12); }
.EasyMDEContainer .CodeMirror {
    border-color: var(--bs-border-color, #dee2e6);
    border-radius: 0 0 8px 8px;
    color: var(--bs-body-color, #212529);
    background: var(--bs-body-bg, #fff);
}
.EasyMDEContainer .editor-preview,
.EasyMDEContainer .editor-preview-side {
    background: var(--bs-body-bg, #fff);
    color: var(--bs-body-color, #212529);
}
.EasyMDEContainer .editor-statusbar { color: var(--bs-secondary-color, #6c757d); }
[data-bs-theme="dark"] .EasyMDEContainer .CodeMirror-cursor { border-left-color: #e6e6e1; }
.EasyMDEContainer .editor-preview img,
.EasyMDEContainer .editor-preview-side img { max-width: 100%; }

/* ---------- Markdown 编辑器自定义按钮 ---------- */
.editor-toolbar button.md-btn-upload::before,
.editor-toolbar button.md-btn-fontsize::before {
    font-family: inherit; font-style: normal; font-weight: 700;
    font-size: 15px; line-height: 1;
}
.editor-toolbar button.md-btn-upload::before { content: "\2B06\FE0F"; }      /* ⬆ */
.editor-toolbar button.md-btn-fontsize::before { content: "A\00B1"; }        /* A± */
.editor-toolbar button.md-btn-upload:hover,
.editor-toolbar button.md-btn-fontsize:hover { background: rgba(47,111,214,.12); }

/* ---------- 配图预览与删除 ---------- */
.about-img-preview {
    display: flex; align-items: center; gap: 14px;
    margin-top: 10px; padding: 10px 12px;
    border: 1px solid #e6e6e1; border-radius: 8px; background: #faf9f6;
}
.about-img-preview img {
    width: 110px; height: 80px; object-fit: cover;
    border-radius: 6px; border: 1px solid #e6e6e1; background: #fff;
}
.about-img-preview span { font-size: 12.5px; color: #8a8f99; }
.about-img-preview .img-delete {
    display: inline-flex; align-items: center; gap: 6px;
    margin-left: auto; font-size: 13px; color: #b02a37; cursor: pointer; white-space: nowrap;
}
.about-img-preview .img-delete input { accent-color: #b02a37; }

/* ---------- 车次列表行内展开详情 ---------- */
.detail-row > td {
    background: var(--bg-alt, #f7f7f4);
    border-top: 0 !important;
    padding: 0 !important;
}
.detail-pane {
    padding: 16px 18px;
    border-left: 3px solid var(--primary-2, #2f6fd6);
    animation: detailIn .18s ease-out;
}
@keyframes detailIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.detail-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 10px;
}
.detail-pane hr { border-color: var(--line, #e6e6e1); opacity: .6; margin: 10px 0; }
.detail-pane .table { font-size: 13px; background: #fff; border-radius: 8px; }
.js-schedule-detail.btn-active-ico { color: var(--primary-2, #2f6fd6); background: rgba(47,111,214,.1); }


/* ---------- API 密钥卡片 ---------- */
.api-key-card {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    background: #fff; border: 1px solid var(--line, #e6e6e1); border-left: 3px solid var(--primary-2, #2f6fd6);
    border-radius: 10px; padding: 14px 18px; margin-bottom: 18px;
}
.api-key-info { display: flex; flex-direction: column; gap: 4px; }
.api-key-info code.api-key-value {
    display: inline-block; padding: 4px 10px; border-radius: 6px;
    background: #f2f4f8; color: #2f4d8f; font-size: 13px; letter-spacing: .03em;
    user-select: all; word-break: break-all;
}
.api-key-card form { flex-shrink: 0; }


.api-key-ops { display: flex; align-items: center; gap: 8px; }
.api-key-value.is-empty { color: #8a8f99; background: #faf9f6; font-style: normal; }
.api-key-value { cursor: pointer; }


/* ---------- 爬虫服务设置页 ---------- */
.crawler-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line, #e6e6e1); border-radius: 10px; padding: 18px 20px; }
.panel-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.panel-head h2 { font-size: 15px; margin: 0; }
.crawler-row { margin-bottom: 16px; }
.crawler-row label { display: block; font-size: 12.5px; color: #6b7280; margin-bottom: 6px; }
.crawler-row input[type=time] {
    padding: 9px 12px; border: 1px solid var(--line, #e6e6e1); border-radius: 8px;
    font-size: 15px; color: var(--ink, #1c2433);
}
.crawler-toggle { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.crawler-toggle input { position: absolute; opacity: 0; }
.crawler-toggle-track {
    width: 44px; height: 24px; border-radius: 999px; background: #d3d7de;
    position: relative; transition: background .2s; flex-shrink: 0;
}
.crawler-toggle-dot {
    position: absolute; top: 3px; left: 3px; width: 18px; height: 18px;
    border-radius: 50%; background: #fff; transition: left .2s;
    box-shadow: 0 1px 3px rgba(0,0,0,.25);
}
.crawler-toggle input:checked + .crawler-toggle-track { background: #2f9e63; }
.crawler-toggle input:checked + .crawler-toggle-track .crawler-toggle-dot { left: 23px; }
.crawler-toggle em { font-style: normal; font-size: 12px; margin-left: auto; }
.crawler-toggle em.on { color: #2f9e63; }
.crawler-toggle em.off { color: #8a8f99; }
.crawler-actions { margin-top: 18px; }
.crawler-status { list-style: none; padding: 0; margin: 0 0 16px; }
.crawler-status li {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 9px 0; border-bottom: 1px dashed var(--line, #e6e6e1); font-size: 13.5px;
}
.crawler-status li > span { color: #6b7280; }
.crawler-lastrun { font-size: 12.5px; text-align: right; }
@media (max-width: 1100px) { .crawler-grid { grid-template-columns: 1fr; } }
