/* ==========================================================================
   极光 · Aurora Pro 定制框架（2026-11-28 第八轮）
   --------------------------------------------------------------------------
   由 assets/app-refresh.js 注入；所有规则以 html.wc-fw-aurora 为前缀，
   与上一代星樱 OS 2.0（wc-fw-sakura）互斥，可在「主题与界面 UI」热切换。
   针对手机竖屏信息密度重新排版：首屏 2 列统计卡、深色极光 Hero、
   紧凑系统概览、右下角工具条、抽屉侧栏玻璃化。
   只覆盖视觉，不改 DOM 结构与 display 语义，SPA scoped 样式用 !important 覆盖。
   ========================================================================== */

html.wc-fw-aurora {
    --af-ink: #151b2e;
    --af-muted: #7b869d;
    --af-line: rgba(21, 27, 46, .085);
    --af-surface: rgba(255, 255, 255, .93);
    --af-solid: #ffffff;
    --af-bg: #f3f5fb;
    --af-1: var(--nova-primary, #ec4899);
    --af-2: #6d5efc;
    --af-3: #22d3ee;
    --af-4: #f59e0b;
    --af-shadow: 0 2px 6px rgba(18, 26, 48, .04), 0 12px 34px rgba(18, 26, 48, .075);
    --af-shadow-lg: 0 8px 18px rgba(18, 26, 48, .08), 0 30px 70px rgba(18, 26, 48, .16);
    --af-ease: cubic-bezier(.22, .8, .35, 1);
    --af-grad: linear-gradient(128deg, var(--af-2) 0%, #a855f7 38%, var(--af-1) 76%, #fb7185 130%);
}

/* ---------- 1) 画布：极光柔光 + 细网格 ---------- */
html.wc-fw-aurora body {
    background-color: var(--af-bg) !important;
    background-image:
        radial-gradient(58% 34% at 0% 0%, color-mix(in srgb, var(--af-2) 14%, transparent) 0%, transparent 72%),
        radial-gradient(52% 32% at 100% 2%, color-mix(in srgb, var(--af-1) 15%, transparent) 0%, transparent 72%),
        radial-gradient(56% 38% at 86% 100%, color-mix(in srgb, var(--af-3) 11%, transparent) 0%, transparent 70%),
        linear-gradient(180deg, rgba(255,255,255,.5), rgba(243,245,251,0)) !important;
    background-attachment: fixed !important;
    color: var(--af-ink) !important;
    -webkit-font-smoothing: antialiased;
}
html.wc-fw-aurora body::before {
    content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
    background-image:
        linear-gradient(rgba(21,27,46,.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(21,27,46,.02) 1px, transparent 1px);
    background-size: 34px 34px;
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.65), transparent 76%);
    mask-image: linear-gradient(180deg, rgba(0,0,0,.65), transparent 76%);
}
html.wc-fw-aurora.wc-dark body::before {
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
}

/* ---------- 2) 通用卡片（全站） ---------- */
html.wc-fw-aurora .card,
html.wc-fw-aurora .panel,
html.wc-fw-aurora .wa-card,
html.wc-fw-aurora .el-card,
html.wc-fw-aurora .ws-entry,
html.wc-fw-aurora .ws-stat,
html.wc-fw-aurora .preset,
html.wc-fw-aurora .sv-kpi,
html.wc-fw-aurora .px-kpi,
html.wc-fw-aurora .kpi-card {
    position: relative;
    border: 1px solid var(--af-line) !important;
    border-radius: 20px !important;
    background: var(--af-surface) !important;
    box-shadow: var(--af-shadow) !important;
    -webkit-backdrop-filter: blur(18px) saturate(1.3);
    backdrop-filter: blur(18px) saturate(1.3);
    transition: transform .36s var(--af-ease), box-shadow .36s var(--af-ease), border-color .36s !important;
}
html.wc-fw-aurora .card:hover,
html.wc-fw-aurora .panel:hover,
html.wc-fw-aurora .ws-entry:hover,
html.wc-fw-aurora .preset:hover,
html.wc-fw-aurora .px-kpi:hover {
    transform: translateY(-3px) !important;
    box-shadow: var(--af-shadow-lg) !important;
    border-color: color-mix(in srgb, var(--af-1) 38%, transparent) !important;
}
/* 卡片标题：极光小竖条 */
html.wc-fw-aurora .card h2::before,
html.wc-fw-aurora .panel-title h3::before,
html.wc-fw-aurora .group-title::before {
    content: ""; display: inline-block; width: 4px; height: 15px;
    margin-right: 9px; vertical-align: -2px; border-radius: 4px;
    background: var(--af-grad) !important;
}

/* ---------- 3) 顶栏 / 侧栏 ---------- */
html.wc-fw-aurora .header,
html.wc-fw-aurora .topbar,
html.wc-fw-aurora .ws-hero {
    background: linear-gradient(110deg, #151b2e 0%, #241d43 48%, #3a2350 100%) !important;
    border-bottom: 1px solid rgba(255,255,255,.1) !important;
    box-shadow: 0 8px 26px rgba(21,27,46,.16) !important;
}
html.wc-fw-aurora .header .el-button,
html.wc-fw-aurora .header span { color: #eef1fa !important; }
html.wc-fw-aurora .side-menu,
html.wc-fw-aurora .el-menu,
html.wc-fw-aurora .side,
html.wc-fw-aurora aside.el-aside {
    background: linear-gradient(175deg, #171d33, #1d1b38 60%, #241a3c) !important;
    border-right: 1px solid rgba(255,255,255,.08) !important;
}
html.wc-fw-aurora .side-menu .el-menu-item,
html.wc-fw-aurora .el-menu-item {
    color: rgba(233,238,250,.74) !important;
    border-radius: 12px !important;
    margin: 3px 8px !important;
    width: auto !important;
    transition: .24s var(--af-ease) !important;
}
html.wc-fw-aurora .side-menu .el-menu-item:hover,
html.wc-fw-aurora .el-menu-item:hover {
    background: rgba(255,255,255,.08) !important; color: #fff !important;
}
html.wc-fw-aurora .side-menu .el-menu-item.is-active,
html.wc-fw-aurora .el-menu-item.is-active {
    position: relative;
    background: var(--af-grad) !important;
    color: #fff !important;
    box-shadow: 0 8px 22px color-mix(in srgb, var(--af-1) 32%, transparent) !important;
}
html.wc-fw-aurora .side-menu .el-sub-menu__title,
html.wc-fw-aurora .el-sub-menu__title { color: rgba(233,238,250,.8) !important; }
/* 侧栏 Logo 块 */
html.wc-fw-aurora .side .logo,
html.wc-fw-aurora .logo {
    background: var(--af-grad) !important;
    border-radius: 16px !important;
    color: #fff !important;
    box-shadow: 0 8px 22px color-mix(in srgb, var(--af-1) 30%, transparent) !important;
}

/* ---------- 4) SPA 首页 Hero（截图里最大那张白卡） ---------- */
html.wc-fw-aurora .dashboard { padding: 16px !important; }
html.wc-fw-aurora .dashboard .hero {
    position: relative; overflow: hidden;
    padding: 22px 22px 24px !important;
    margin-bottom: 16px !important;
    border-radius: 22px !important;
    border: 1px solid rgba(255,255,255,.16) !important;
    background: var(--af-grad) !important;
    background-size: 180% 180% !important;
    animation: afDrift 18s ease-in-out infinite alternate !important;
    box-shadow: 0 16px 44px color-mix(in srgb, var(--af-2) 26%, transparent) !important;
    display: flex !important; flex-wrap: wrap !important; align-items: center !important;
    gap: 14px !important;
}
@keyframes afDrift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
html.wc-fw-aurora .dashboard .hero::before {
    content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%;
    right: -90px; top: -150px; background: rgba(255,255,255,.14); pointer-events: none;
}
html.wc-fw-aurora .dashboard .hero::after {
    content: ""; position: absolute; width: 160px; height: 160px; border-radius: 50%;
    right: 24px; bottom: -110px; background: rgba(255,255,255,.09); pointer-events: none;
}
html.wc-fw-aurora .dashboard .hero > div:first-child { flex: 1 1 240px; min-width: 0; position: relative; z-index: 1; }
html.wc-fw-aurora .dashboard .hero .eyebrow {
    display: inline-block !important;
    font-size: 10px !important; letter-spacing: 2px !important; font-weight: 700 !important;
    color: #fff !important; background: rgba(255,255,255,.2) !important;
    border: 1px solid rgba(255,255,255,.32) !important;
    padding: 4px 11px !important; border-radius: 999px !important;
    margin-bottom: 12px !important;
}
html.wc-fw-aurora .dashboard .hero h1 {
    font-size: 25px !important; font-weight: 750 !important; color: #fff !important;
    margin: 0 0 8px !important; letter-spacing: .4px !important; line-height: 1.25 !important;
    text-shadow: 0 2px 12px rgba(0,0,0,.12);
}
html.wc-fw-aurora .dashboard .hero p {
    font-size: 12px !important; color: rgba(255,255,255,.86) !important;
    margin: 0 !important; line-height: 1.7 !important;
}
html.wc-fw-aurora .dashboard .hero .hero-card {
    position: relative; z-index: 1; flex: 0 0 auto;
    min-width: 148px !important; padding: 12px 15px !important;
    border-radius: 15px !important;
    background: rgba(255,255,255,.16) !important;
    border: 1px solid rgba(255,255,255,.28) !important;
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    box-shadow: none !important;
}
html.wc-fw-aurora .dashboard .hero .hero-card span {
    display: block; font-size: 10.5px !important; color: rgba(255,255,255,.78) !important; margin-bottom: 5px !important;
}
html.wc-fw-aurora .dashboard .hero .hero-card strong {
    display: block; font-size: 14px !important; color: #fff !important; font-weight: 700 !important;
    font-variant-numeric: tabular-nums; letter-spacing: .3px;
}

/* ---------- 5) 统计卡：手机 2 列 / 桌面 4 列，加图标与光带 ---------- */
html.wc-fw-aurora .dashboard .el-row.stats {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    margin: 0 0 16px !important;
}
html.wc-fw-aurora .dashboard .el-row.stats > .el-col {
    width: auto !important; max-width: none !important; flex: none !important;
    padding: 0 !important; min-width: 0 !important;
}
html.wc-fw-aurora .dashboard .stat-card {
    position: relative; overflow: hidden;
    min-height: 118px !important;
    padding: 16px 16px 18px !important;
    margin: 0 !important;
    border-radius: 20px !important;
    border: 1px solid var(--af-line) !important;
    background: var(--af-surface) !important;
    box-shadow: var(--af-shadow) !important;
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    transition: transform .34s var(--af-ease), box-shadow .34s var(--af-ease) !important;
}
html.wc-fw-aurora .dashboard .stat-card:hover {
    transform: translateY(-4px) !important; box-shadow: var(--af-shadow-lg) !important;
}
/* 右上角柔光圆（覆盖旧版大色块） */
html.wc-fw-aurora .dashboard .stat-card::after {
    content: ""; position: absolute; right: -26px; top: -30px;
    width: 92px; height: 92px; border-radius: 50%;
    background: var(--af-tint, rgba(109,94,252,.13)); opacity: .9; pointer-events: none;
}
/* 底部极光细光带 */
html.wc-fw-aurora .dashboard .stat-card::before {
    content: ""; position: absolute; left: 16px; right: 16px; bottom: 9px; height: 3px;
    border-radius: 999px; background: var(--af-bar, var(--af-grad)); opacity: .75; pointer-events: none;
}
html.wc-fw-aurora .dashboard .stat-card > span {
    display: block; position: relative; z-index: 1;
    font-size: 11.5px !important; font-weight: 600 !important;
    color: var(--af-muted) !important; letter-spacing: .3px !important;
    padding-left: 26px !important; margin-bottom: 8px !important;
}
/* 分类小图标 */
html.wc-fw-aurora .dashboard .stat-card > span::before {
    content: var(--af-icon, "✦"); position: absolute; left: 0; top: -3px;
    width: 20px; height: 20px; border-radius: 7px;
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; color: #fff !important;
    background: var(--af-bar, var(--af-grad));
    box-shadow: 0 4px 10px color-mix(in srgb, var(--af-2) 24%, transparent);
}
html.wc-fw-aurora .dashboard .stat-card > strong {
    display: block; position: relative; z-index: 1;
    font-size: 26px !important; line-height: 1.15 !important; font-weight: 760 !important;
    color: var(--af-ink) !important; font-variant-numeric: tabular-nums; letter-spacing: -.5px;
}
html.wc-fw-aurora .dashboard .stat-card > small {
    display: block; position: relative; z-index: 1;
    font-size: 10.5px !important; color: #9aa4b6 !important; margin-top: 6px !important;
}
html.wc-fw-aurora .dashboard .stat-card.blue   { --af-tint: rgba(109,94,252,.13); --af-bar: linear-gradient(90deg,#6d5efc,#a855f7); --af-icon: "▦"; }
html.wc-fw-aurora .dashboard .stat-card.green  { --af-tint: rgba(16,185,129,.14); --af-bar: linear-gradient(90deg,#10b981,#34d399); --af-icon: "◈"; }
html.wc-fw-aurora .dashboard .stat-card.orange { --af-tint: rgba(245,158,11,.16); --af-bar: linear-gradient(90deg,#f59e0b,#fbbf24); --af-icon: "⚙"; }
html.wc-fw-aurora .dashboard .stat-card.purple { --af-tint: rgba(236,72,153,.14); --af-bar: linear-gradient(90deg,#a855f7,#ec4899); --af-icon: "☁"; }

/* ---------- 6) 系统概览 / 快捷入口 ---------- */
html.wc-fw-aurora .dashboard .el-row.content-row {
    display: grid !important; grid-template-columns: 1fr !important; gap: 14px !important; margin: 0 !important;
}
html.wc-fw-aurora .dashboard .el-row.content-row > .el-col {
    width: auto !important; max-width: none !important; flex: none !important; padding: 0 !important;
}
html.wc-fw-aurora .dashboard .panel {
    padding: 18px !important; border-radius: 20px !important;
    border: 1px solid var(--af-line) !important;
    background: var(--af-surface) !important; box-shadow: var(--af-shadow) !important;
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
html.wc-fw-aurora .dashboard .panel-title {
    display: flex !important; align-items: center; justify-content: space-between;
    padding-bottom: 12px !important; margin-bottom: 14px !important;
    border-bottom: 1px solid var(--af-line) !important;
}
html.wc-fw-aurora .dashboard .panel-title h3 {
    font-size: 14px !important; font-weight: 700 !important; margin: 0 !important; color: var(--af-ink) !important;
}
html.wc-fw-aurora .dashboard .panel-title span { font-size: 10.5px !important; color: var(--af-muted) !important; }
html.wc-fw-aurora .dashboard .info-grid {
    display: grid !important; grid-template-columns: repeat(2, minmax(0,1fr)) !important; gap: 10px !important;
}
html.wc-fw-aurora .dashboard .info-grid > div {
    padding: 11px 12px !important; border-radius: 13px !important;
    background: linear-gradient(140deg, rgba(109,94,252,.055), rgba(255,255,255,.5)) !important;
    border: 1px solid var(--af-line) !important;
}
html.wc-fw-aurora .dashboard .info-grid label {
    display: block; font-size: 10.5px !important; color: var(--af-muted) !important; margin-bottom: 5px !important;
}
html.wc-fw-aurora .dashboard .info-grid strong {
    display: block; font-size: 12.5px !important; color: var(--af-ink) !important; font-weight: 700 !important;
    word-break: break-all; line-height: 1.4;
}
html.wc-fw-aurora .dashboard .quick-list { display: flex !important; flex-wrap: wrap !important; gap: 8px !important; }
html.wc-fw-aurora .dashboard .quick-list a {
    display: inline-flex !important; align-items: center; justify-content: center;
    padding: 8px 13px !important; border-radius: 11px !important; text-decoration: none !important;
    font-size: 11.5px !important; font-weight: 600 !important;
    color: var(--af-2) !important; background: rgba(109,94,252,.08) !important;
    border: 1px solid rgba(109,94,252,.16) !important;
    transition: .22s var(--af-ease) !important;
}
html.wc-fw-aurora .dashboard .quick-list a:hover {
    color: #fff !important; background: var(--af-grad) !important; border-color: transparent !important;
    transform: translateY(-2px) !important;
}

/* ---------- 7) 按钮 / 表单 / 表格 / 标签 ---------- */
html.wc-fw-aurora .btn,
html.wc-fw-aurora .el-button--primary,
html.wc-fw-aurora .layui-btn {
    border: 0 !important; color: #fff !important;
    border-radius: 12px !important; font-weight: 650 !important;
    background: var(--af-grad) !important;
    box-shadow: 0 7px 20px color-mix(in srgb, var(--af-2) 28%, transparent) !important;
    transition: transform .24s var(--af-ease), filter .24s !important;
}
html.wc-fw-aurora .btn:hover { transform: translateY(-2px) !important; filter: saturate(1.14); }
html.wc-fw-aurora .btn.ghost,
html.wc-fw-aurora .btn.ghost:hover,
html.wc-fw-aurora .el-button--default {
    background: rgba(255,255,255,.9) !important; color: var(--af-ink) !important;
    border: 1px solid var(--af-line) !important; box-shadow: 0 2px 10px rgba(18,26,48,.05) !important;
}
html.wc-fw-aurora .btn.danger, html.wc-fw-aurora .btn.danger:hover {
    background: linear-gradient(135deg,#fb7185,#dc2626) !important;
}
html.wc-fw-aurora input:not([type=checkbox]):not([type=radio]),
html.wc-fw-aurora select,
html.wc-fw-aurora textarea,
html.wc-fw-aurora .el-input__inner,
html.wc-fw-aurora .el-select__wrapper {
    border: 1px solid var(--af-line) !important; border-radius: 11px !important;
    background: rgba(255,255,255,.9) !important; color: var(--af-ink) !important;
    transition: border-color .2s, box-shadow .26s var(--af-ease) !important;
}
html.wc-fw-aurora input:focus, html.wc-fw-aurora select:focus, html.wc-fw-aurora textarea:focus {
    outline: none !important; border-color: var(--af-2) !important;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--af-2) 15%, transparent) !important;
}
html.wc-fw-aurora input[type=checkbox], html.wc-fw-aurora input[type=radio] { accent-color: var(--af-1); }
html.wc-fw-aurora th {
    background: rgba(244,246,252,.9) !important; color: var(--af-muted) !important;
    font-weight: 680 !important; border-bottom: 1px solid var(--af-line) !important;
}
html.wc-fw-aurora td { border-bottom: 1px solid var(--af-line) !important; }
html.wc-fw-aurora tbody tr:hover td { background: color-mix(in srgb, var(--af-2) 5%, transparent) !important; }
html.wc-fw-aurora .tbl-wrap { border: 1px solid var(--af-line) !important; border-radius: 18px !important; }
html.wc-fw-aurora .tag, html.wc-fw-aurora .el-tag { border-radius: 999px !important; font-weight: 650 !important; }
html.wc-fw-aurora .tag.green { background: #e6f8f0 !important; color: #059669 !important; border-color: #b7ecd3 !important; }
html.wc-fw-aurora .tag.red { background: #fef0f0 !important; color: #dc2626 !important; border-color: #fecaca !important; }
html.wc-fw-aurora .tag.warn { background: #fff7e6 !important; color: #d97706 !important; border-color: #fde3a7 !important; }
html.wc-fw-aurora .tag.gray { background: #f0f2f7 !important; color: #6b7280 !important; }
html.wc-fw-aurora ::-webkit-scrollbar { width: 8px; height: 8px; }
html.wc-fw-aurora ::-webkit-scrollbar-thumb {
    background: color-mix(in srgb, var(--af-2) 34%, #ccd3e2); border-radius: 999px;
    border: 2px solid transparent; background-clip: content-box;
}

/* ---------- 8) 右下角工具条（截图里两个按钮堆叠遮挡内容） ---------- */
html.wc-fw-aurora #wcWorkbenchFab,
html.wc-fw-aurora #saasThemeFab {
    right: 14px !important; z-index: 3002 !important;
    height: 40px !important; padding: 0 13px !important;
    border-radius: 999px !important; font-size: 11.5px !important;
    background: rgba(25,31,54,.9) !important; color: #fff !important;
    border: 1px solid rgba(255,255,255,.16) !important;
    box-shadow: 0 8px 24px rgba(18,26,48,.28) !important;
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
html.wc-fw-aurora #wcWorkbenchFab { bottom: 128px !important; }
html.wc-fw-aurora #saasThemeFab { bottom: 82px !important; }
/* 公告入口固定在左下角，避免与右下角的客服气泡 / 工作台按钮互相覆盖 */
html.wc-fw-aurora #wcAnnounceFab { left: 14px !important; right: auto !important; bottom: 20px !important; z-index: 3002 !important; }
html.wc-fw-aurora #wcWorkbenchFab .ic,
html.wc-fw-aurora #saasThemeFab .ic { font-size: 13px !important; }
html.wc-fw-aurora .wcWbDrawer,
html.wc-fw-aurora .saas-bg-drawer {
    background: #fff !important; border-radius: 20px 0 0 20px !important;
    box-shadow: -14px 0 50px rgba(18,26,48,.2) !important;
}
html.wc-fw-aurora .wcWbHead { background: var(--af-grad) !important; color: #fff !important; }

/* ---------- 9) 灵动岛：更精致的极光胶囊，移动端缩窄不挡 header ---------- */
html.wc-fw-aurora .wc-island {
    background: linear-gradient(150deg, rgba(22,26,44,.96), rgba(11,12,22,.98)) !important;
    border: 1px solid rgba(255,255,255,.16) !important;
    box-shadow: 0 12px 38px rgba(0,0,0,.4), 0 0 0 1px color-mix(in srgb, var(--af-2) 22%, transparent),
                inset 0 1px 0 rgba(255,255,255,.12) !important;
}
html.wc-fw-aurora .wc-island-bloom {
    background: radial-gradient(circle at 34% 30%, #fff, var(--af-1) 45%, var(--af-2) 100%) !important;
    box-shadow: 0 0 12px var(--af-1), 0 0 26px color-mix(in srgb, var(--af-2) 45%, transparent);
}
html.wc-fw-aurora .wc-island-actions a {
    background: linear-gradient(135deg, rgba(255,255,255,.1), rgba(255,255,255,.04)) !important;
    border: 1px solid rgba(255,255,255,.1) !important; border-radius: 13px !important;
}
html.wc-fw-aurora .wc-island-actions a:hover { background: var(--af-grad) !important; }

/* ---------- 10) 登录页 / 客服台 / 代理后台 ---------- */
html.wc-fw-aurora .wa-brand { background: var(--af-grad) !important; background-size: 180% 180% !important; animation: afDrift 18s ease-in-out infinite alternate !important; }
html.wc-fw-aurora .wa-card { border-radius: 22px !important; }
html.wc-fw-aurora .ws-tabs button.on,
html.wc-fw-aurora .sd-top,
html.wc-fw-aurora .sv-head { background: var(--af-grad) !important; }
html.wc-fw-aurora .sv-launch { background: var(--af-grad) !important; }
html.wc-fw-aurora .px-kpi.on { background: color-mix(in srgb, var(--af-2) 9%, #fff) !important; border-color: var(--af-2) !important; }
html.wc-fw-aurora .ws-stat .v, html.wc-fw-aurora .px-kpi .v, html.wc-fw-aurora .sv-kpi .v {
    color: var(--af-2) !important;
}

/* ---------- 11) 暗色 ---------- */
html.wc-fw-aurora.wc-dark {
    --af-ink: #e9edf7; --af-muted: #9ea9bf; --af-line: rgba(255,255,255,.09);
    --af-surface: rgba(24,30,46,.92); --af-solid: #171e2c; --af-bg: #0d111d;
    --af-shadow: 0 2px 6px rgba(0,0,0,.3), 0 14px 38px rgba(0,0,0,.35);
    --af-shadow-lg: 0 8px 18px rgba(0,0,0,.38), 0 30px 72px rgba(0,0,0,.5);
}
html.wc-fw-aurora.wc-dark body { background-color: var(--af-bg) !important; }
html.wc-fw-aurora.wc-dark .dashboard .info-grid > div { background: rgba(255,255,255,.045) !important; }
html.wc-fw-aurora.wc-dark .btn.ghost,
html.wc-fw-aurora.wc-dark .el-button--default { background: rgba(34,42,62,.92) !important; color: var(--af-ink) !important; border-color: rgba(255,255,255,.12) !important; }
html.wc-fw-aurora.wc-dark th { background: rgba(30,38,56,.92) !important; }
html.wc-fw-aurora.wc-dark input:not([type=checkbox]):not([type=radio]),
html.wc-fw-aurora.wc-dark select,
html.wc-fw-aurora.wc-dark textarea { background: rgba(30,38,56,.9) !important; color: var(--af-ink) !important; border-color: rgba(255,255,255,.12) !important; }
html.wc-fw-aurora.wc-dark .panel,
html.wc-fw-aurora.wc-dark .wcWbDrawer,
html.wc-fw-aurora.wc-dark .saas-bg-drawer { background: #171e2c !important; }
html.wc-fw-aurora.wc-dark .tag.green { background: #123527 !important; color: #6ee7b7 !important; }
html.wc-fw-aurora.wc-dark .tag.red { background: #3a1c22 !important; color: #fca5a5 !important; }

/* ---------- 12) 响应式 / 无障碍 ---------- */
@media (min-width: 1100px) {
    html.wc-fw-aurora .dashboard .el-row.stats { grid-template-columns: repeat(4, minmax(0,1fr)) !important; }
    html.wc-fw-aurora .dashboard .el-row.content-row { grid-template-columns: 1.55fr 1fr !important; }
    html.wc-fw-aurora .dashboard .hero h1 { font-size: 30px !important; }
}
@media (max-width: 600px) {
    html.wc-fw-aurora .dashboard { padding: 11px !important; }
    html.wc-fw-aurora .dashboard .hero { padding: 18px 17px 20px !important; border-radius: 20px !important; }
    html.wc-fw-aurora .dashboard .hero h1 { font-size: 21px !important; }
    html.wc-fw-aurora .dashboard .hero .hero-card { min-width: 0 !important; width: 100% !important; }
    html.wc-fw-aurora .dashboard .stat-card { min-height: 106px !important; padding: 14px 13px 17px !important; }
    html.wc-fw-aurora .dashboard .stat-card > strong { font-size: 22px !important; }
    html.wc-fw-aurora .dashboard .info-grid { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
    html.wc-fw-aurora .card:hover, html.wc-fw-aurora .panel:hover,
    html.wc-fw-aurora .dashboard .stat-card:hover { transform: none !important; }
    /* 2026-11-29：只改缩放变量，绝不覆盖 .wc-island 的 transform，
       否则会把基础样式的居中/展开变换一起顶掉，导致手机端岛体偏移。 */
    html.wc-fw-aurora .wc-island { --wc-island-scale: .92; }
}
@media (prefers-reduced-motion: reduce) {
    html.wc-fw-aurora *, html.wc-fw-aurora *::before, html.wc-fw-aurora *::after {
        animation-duration: .01ms !important; animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
