/* =================================================================
   短剧管理系统主题 v52 —— 深色侧栏 + 统一内容曲面
================================================================= */

:root {
    --aw-bg: #0b0d14;
    --aw-bg-soft: #11141c;
    --aw-surface-radius: 14px;
    --aw-surface-bg: #161b27;
    --aw-surface-border: 1px solid rgba(255,255,255,0.09);
    --aw-surface-shadow: 0 18px 42px -26px rgba(0,0,0,0.72);
    --aw-gold: #f59e0b;
    --aw-gold-deep: #d97706;
    --aw-text: #e8edf5;
    --aw-muted: #93a0b5;
}

/* -----------------------------------------------------------------
   1. 侧边栏
----------------------------------------------------------------- */
.main-sidebar {
    position: relative;
    background: #0b0a14 !important;
    border-right: 1px solid rgba(255,255,255,0.04) !important;
    box-shadow: 12px 0 40px rgba(0,0,0,0.18);
}
.main-sidebar::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    height: 220px;
    background: radial-gradient(120% 80% at 0% 0%, rgba(251,191,36,0.22), transparent 70%),
        radial-gradient(90% 70% at 100% 0%, rgba(192,132,252,0.18), transparent 62%);
    pointer-events: none;
    z-index: 0;
}
.main-sidebar .sidebar {
    background: transparent !important;
    position: relative;
    z-index: 1;
    padding-top: 16px !important;
}
.brand-link {
    position: relative;
    z-index: 1;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-height: 88px !important;
    background: transparent !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
    padding: 18px 32px !important;
}
.brand-link .brand-text,
.navbar-brand-text {
    color: #fff !important;
    font-weight: 750 !important;
    letter-spacing: 0.04em !important;
    font-size: 17px !important;
    overflow: visible !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
}

/* 侧栏收起时的品牌图标（config/admin.php 的 logo-mini）。
   收起后只剩一条窄轨，原来放 ADMIN_NAME 会被裁成「Albio」。
   Dcat 默认把 .navbar-brand img 卡在 45x40，这里改成固定 32 并留 max-width 兜底，
   免得哪天窄轨宽度变了图标顶出去。 */
.navbar-header .logo-mini img {
    width: 32px !important;
    height: 32px !important;
    max-width: 100% !important;
    max-height: none !important;
    margin: 0 !important;
    vertical-align: middle;
    border-radius: 9px;
    box-shadow: 0 6px 18px rgba(129,140,248,0.42);
}
/* 窄轨：文字和展开箭头必须拿掉，否则 flex 会把图标挤歪。 */
body.sidebar-mini.sidebar-collapse .main-sidebar:not(:hover):not(.sidebar-focused) .navbar-header,
body.sidebar-mini.sidebar-collapse .main-sidebar:not(:hover):not(.sidebar-focused) .brand-link {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0 !important;
    width: 100% !important;
}
body.sidebar-mini.sidebar-collapse .main-sidebar:not(:hover):not(.sidebar-focused) .logo-lg,
body.sidebar-mini.sidebar-collapse .main-sidebar:not(:hover):not(.sidebar-focused) .aw-brand-name {
    display: none !important;
}
body.sidebar-mini.sidebar-collapse .main-sidebar:not(:hover):not(.sidebar-focused) .logo-mini {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
body.sidebar-mini.sidebar-collapse .main-sidebar:not(:hover):not(.sidebar-focused) .nav-sidebar {
    padding: 10px 0 24px !important;
}
body.sidebar-mini.sidebar-collapse .main-sidebar:not(:hover):not(.sidebar-focused) .nav-sidebar .nav-item {
    margin: 0 !important;
}
body.sidebar-mini.sidebar-collapse .main-sidebar:not(:hover):not(.sidebar-focused) .nav-sidebar .nav-item > .nav-link {
    justify-content: center !important;
    align-items: center !important;
    gap: 0 !important;
    width: 100% !important;
    padding: 12px 0 !important;
    margin: 0 !important;
}
body.sidebar-mini.sidebar-collapse .main-sidebar:not(:hover):not(.sidebar-focused) .nav-sidebar .nav-link p,
body.sidebar-mini.sidebar-collapse .main-sidebar:not(:hover):not(.sidebar-focused) .nav-sidebar .nav-link .right,
body.sidebar-mini.sidebar-collapse .main-sidebar:not(:hover):not(.sidebar-focused) .nav-sidebar .nav-link .fa-angle-left,
body.sidebar-mini.sidebar-collapse .main-sidebar:not(:hover):not(.sidebar-focused) .nav-sidebar .nav-treeview {
    display: none !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
body.sidebar-mini.sidebar-collapse .main-sidebar:not(:hover):not(.sidebar-focused) .nav-sidebar .nav-icon,
body.sidebar-mini.sidebar-collapse .main-sidebar:not(:hover):not(.sidebar-focused) .nav-sidebar .nav-link > i {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 20px !important;
    margin: 0 auto !important;
    text-align: center !important;
}

.nav-sidebar {
    padding: 12px 16px 32px !important;
}
.main-sidebar .nav-sidebar .nav-item,
.main-sidebar .nav.nav-pills .nav-item {
    margin: 0 0 10px !important;
}
.main-sidebar .nav.nav-pills .nav-item .nav-link,
.main-sidebar .nav-sidebar .nav-item > .nav-link {
    display: flex !important;
    align-items: center !important;
    gap: 12px;
    border-radius: 12px !important;
    padding: 13px 16px !important;
    margin: 0 !important;
    line-height: 1.5 !important;
    font-size: 15px !important;
    overflow: visible !important;
    background: transparent !important;
    box-shadow: none !important;
}
.main-sidebar .nav-sidebar .nav-link,
.main-sidebar .nav-sidebar .nav-link p,
.main-sidebar .nav-sidebar .nav-link span,
.main-sidebar .nav-sidebar .nav-link i,
[class*=sidebar-dark-] .sidebar a.nav-link,
[class*=sidebar-dark-] .sidebar a.nav-link p,
[class*=sidebar-dark-] .sidebar a.nav-link i {
    color: #fff !important;
    background: transparent !important;
    box-shadow: none !important;
}
.main-sidebar .nav-sidebar .nav-link p {
    display: flex !important;
    align-items: center !important;
    flex: 1 1 auto;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.5 !important;
    font-size: 15px !important;
    white-space: nowrap !important;
    overflow: visible !important;
    background: transparent !important;
    box-shadow: none !important;
}
.main-sidebar .nav-sidebar .nav-link p .right,
.main-sidebar .nav-sidebar .nav-link p .fa-angle-left,
.main-sidebar .nav-sidebar .nav-link p .fas.fa-angle-left {
    position: static !important;
    margin-left: auto !important;
    background: transparent !important;
    box-shadow: none !important;
}
.main-sidebar .nav-sidebar .nav-icon,
.main-sidebar .nav-sidebar .nav-link > i {
    flex-shrink: 0;
    width: 20px !important;
    font-size: 17px !important;
    color: #fff !important;
    opacity: 1 !important;
    background: transparent !important;
    box-shadow: none !important;
}
.main-sidebar .nav-sidebar .nav-item > .nav-link:hover {
    background: rgba(255,255,255,0.08) !important;
}
.main-sidebar .nav-sidebar .nav-item > .nav-link:hover,
.main-sidebar .nav-sidebar .nav-item > .nav-link:hover p,
.main-sidebar .nav-sidebar .nav-item > .nav-link:hover i {
    color: #fff !important;
    background: transparent !important;
    box-shadow: none !important;
}
.main-sidebar .nav-sidebar .nav-item > .nav-link:hover {
    background: rgba(255,255,255,0.08) !important;
}

/* 只有真正当前页才铺渐变：无子菜单的一级项，或子菜单里的当前项 */
.main-sidebar .nav-sidebar > .nav-item:not(:has(> .nav-treeview)) > .nav-link.active,
.main-sidebar .nav-treeview.nav .nav-item .nav-link.active,
[class*=sidebar-dark-] .nav-treeview.nav .nav-item .nav-link.active {
    background: linear-gradient(90deg, #f59e0b 0%, #f97316 100%) !important;
    box-shadow: 0 8px 18px rgba(245,158,11,0.28) !important;
    color: var(--aw-on-gold, #fff8eb) !important;
    padding: 13px 16px !important;
}
.main-sidebar .nav-sidebar > .nav-item:not(:has(> .nav-treeview)) > .nav-link.active p,
.main-sidebar .nav-sidebar > .nav-item:not(:has(> .nav-treeview)) > .nav-link.active i,
.main-sidebar .nav-treeview .nav-link.active p,
.main-sidebar .nav-treeview .nav-link.active i,
.main-sidebar .nav-treeview .nav-link.active span {
    color: var(--aw-on-gold, #fff8eb) !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* 有子菜单的父级（权限/内容等）即使 active/menu-open 也不铺色条 */
.main-sidebar .nav-sidebar > .nav-item:has(> .nav-treeview) > .nav-link,
.main-sidebar .nav-sidebar > .nav-item:has(> .nav-treeview) > .nav-link.active,
.main-sidebar .nav-sidebar > .nav-item.menu-open > .nav-link,
.main-sidebar .nav-sidebar > .nav-item.menu-open > .nav-link.active,
[class*=sidebar-dark-] .nav-sidebar > .nav-item:has(> .nav-treeview) > .nav-link.active,
[class*=sidebar-dark-] .nav-sidebar > .nav-item.menu-open > .nav-link {
    background: transparent !important;
    box-shadow: none !important;
    color: #fff !important;
}
.main-sidebar .nav-sidebar > .nav-item:has(> .nav-treeview) > .nav-link:hover,
.main-sidebar .nav-sidebar > .nav-item.menu-open > .nav-link:hover {
    background: rgba(255,255,255,0.08) !important;
}
.main-sidebar .nav-sidebar > .nav-item:has(> .nav-treeview) > .nav-link p,
.main-sidebar .nav-sidebar > .nav-item:has(> .nav-treeview) > .nav-link i,
.main-sidebar .nav-sidebar > .nav-item.menu-open > .nav-link p,
.main-sidebar .nav-sidebar > .nav-item.menu-open > .nav-link i {
    color: #fff !important;
    background: transparent !important;
    box-shadow: none !important;
}

.main-sidebar .nav-sidebar .nav-treeview,
[class*=sidebar-dark-] .nav-sidebar > .nav-item > .nav-treeview {
    background: transparent !important;
    padding: 6px 0 12px 14px !important;
    margin: 0 !important;
}
.main-sidebar .nav-treeview > .nav-item {
    margin: 0 0 7px !important;
}
.main-sidebar .nav-treeview.nav .nav-item .nav-link,
.main-sidebar .nav-treeview .nav-link,
[class*=sidebar-dark-] .nav-treeview.nav .nav-item .nav-link {
    border-radius: 10px !important;
    padding: 11px 16px !important;
    font-size: 14px !important;
}
.main-sidebar .nav-treeview .nav-link > .nav-icon,
.main-sidebar .nav-treeview .nav-link > i {
    width: 18px !important;
    margin-right: 10px !important;
    color: rgba(199, 205, 224, .68) !important;
    font-size: 14px !important;
    opacity: 1 !important;
}
.main-sidebar .nav-treeview .nav-link:hover > .nav-icon,
.main-sidebar .nav-treeview .nav-link:hover > i {
    color: #c4b5fd !important;
}
.main-sidebar .nav-treeview .nav-link.active > .nav-icon,
.main-sidebar .nav-treeview .nav-link.active > i {
    color: var(--aw-on-gold, #fff8eb) !important;
}
.main-sidebar .nav-treeview.nav .nav-item .nav-link.active,
[class*=sidebar-dark-] .nav-treeview.nav .nav-item .nav-link.active {
    padding: 11px 16px !important;
}
/* 首页是无子菜单一级项，显式锁定与其他当前菜单一致的文字颜色。 */
body.aw-home .main-sidebar .nav-sidebar > .nav-item > .nav-link.active,
body.aw-home .main-sidebar .nav-sidebar > .nav-item > .nav-link.active p,
body.aw-home .main-sidebar .nav-sidebar > .nav-item > .nav-link.active span,
body.aw-home .main-sidebar .nav-sidebar > .nav-item > .nav-link.active i {
    color: var(--aw-on-gold, #fff8eb) !important;
}
.nav-sidebar .nav-header {
    color: rgba(255,255,255,0.28) !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding: 18px 16px 10px !important;
}
.main-sidebar .ps__rail-y { display: none !important; }

/* -----------------------------------------------------------------
   2. 顶部导航栏
----------------------------------------------------------------- */
.main-header.navbar {
    background: rgba(11,13,20,.88) !important;
    border-bottom: 1px solid rgba(255,255,255,.06) !important;
    box-shadow: none !important;
    backdrop-filter: blur(14px);
}
.main-header .navbar-nav .nav-link,
.main-header .navbar-nav a {
    background: transparent !important;
    color: #e8edf5 !important;
}
.main-header .navbar-nav .nav-link:hover { color: #fbbf24 !important; }
.main-header .dropdown-menu {
    padding: 6px !important;
    min-width: 148px;
}
.main-header .dropdown-menu a,
.main-header .dropdown-menu .dropdown-item,
.main-header .dropdown-menu .nav-link {
    display: block !important;
    background: transparent !important;
    color: #334155 !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    margin: 0 !important;
}
.main-header .dropdown-menu a:hover,
.main-header .dropdown-menu a:focus,
.main-header .dropdown-menu a:active,
.main-header .dropdown-menu .dropdown-item:hover,
.main-header .dropdown-menu .dropdown-item:focus,
.main-header .dropdown-menu .dropdown-item:active,
.main-header .dropdown-menu .dropdown-item.active,
.main-header .dropdown-menu .nav-link:hover,
.main-header .dropdown-menu .nav-link:focus,
.main-header .dropdown-menu .nav-link:active {
    background: #eef2ff !important;
    color: #3730a3 !important;
}
.main-header .dropdown-menu a:hover *,
.main-header .dropdown-menu a:focus *,
.main-header .dropdown-menu a:active *,
.main-header .dropdown-menu .dropdown-item:hover *,
.main-header .dropdown-menu .dropdown-item:focus *,
.main-header .dropdown-menu .dropdown-item:active *,
.main-header .dropdown-menu .dropdown-item.active * {
    color: #3730a3 !important;
    fill: currentColor !important;
}
.main-header .dropdown-menu span:not(.badge),
.main-header .dropdown-menu small {
    color: inherit !important;
}
.main-header span:not(.badge),
.main-header small { color: #8b93a7 !important; }

/* 顶部时区选择框 */
.main-header select,
.main-header .form-control {
    background: #151821 !important;
    color: #e8edf5 !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    border-radius: 6px !important;
}

/* -----------------------------------------------------------------
   3. 内容区背景
----------------------------------------------------------------- */
body,
.wrapper {
    background: #0b0d14 !important;
}
.content-wrapper {
    background:
        radial-gradient(900px 280px at 100% 0%, rgba(251,191,36,.08), transparent 55%),
        #0b0d14 !important;
}

/* 修复 adminlte body a{background:#fff} 污染全局链接背景 */
body a {
    background: transparent !important;
}

/* -----------------------------------------------------------------
   4. 卡片
----------------------------------------------------------------- */
.card, .box, .dcat-box, .small-box {
    background: var(--aw-surface-bg) !important;
    border: var(--aw-surface-border) !important;
    border-radius: var(--aw-surface-radius) !important;
    box-shadow: var(--aw-surface-shadow) !important;
}
.card-header, .box-header {
    background: #f7f8fb !important;
    border-bottom: 1px solid #eef1f6 !important;
    color: #1e293b !important;
    font-weight: 600 !important;
    padding: 16px 24px !important;
}
.card-body, .box-body { color: #1e293b !important; }
.card-title, .box-title { color: #0f172a !important; font-weight: 600 !important; }
.card-footer, .box-footer {
    background: #f7f8fb !important;
    border-top: 1px solid #eef1f6 !important;
}
.content-wrapper .content .dcat-box.card > .card-header:first-child,
.content-wrapper .content .dcat-box.card > .box-header:first-child,
.content-wrapper .content .dcat-box.card > form > .card-header:first-child,
.content-wrapper .content .dcat-box.card > form > .box-header:first-child {
    border-radius: var(--aw-surface-radius) var(--aw-surface-radius) 0 0 !important;
}
.content-wrapper .content .dcat-box.card > .card-footer:last-child,
.content-wrapper .content .dcat-box.card > .box-footer:last-child,
.content-wrapper .content .dcat-box.card > form > .card-footer:last-child,
.content-wrapper .content .dcat-box.card > form > .box-footer:last-child {
    border-radius: 0 0 var(--aw-surface-radius) var(--aw-surface-radius) !important;
}
.content-wrapper .content .dcat-box.card > .card-body:first-child:last-child,
.content-wrapper .content .dcat-box.card > .box-body:first-child:last-child {
    border-radius: var(--aw-surface-radius) !important;
}
.content-wrapper .content .dcat-box.card > .card-body:first-child,
.content-wrapper .content .dcat-box.card > .box-body:first-child {
    border-radius: var(--aw-surface-radius) var(--aw-surface-radius) 0 0 !important;
}
.content-wrapper .content .dcat-box.card > .card-body:last-child,
.content-wrapper .content .dcat-box.card > .box-body:last-child {
    border-radius: 0 0 var(--aw-surface-radius) var(--aw-surface-radius) !important;
}

/* -----------------------------------------------------------------
   5. 表格（所有 Dcat 列表：同行同色，短剧紧凑表除外）
----------------------------------------------------------------- */
.table thead th {
    background: #f4f6fa !important;
    color: #64748b !important;
    border: none !important;
    border-bottom: 1px solid #e6eaf1 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: none !important;
    letter-spacing: 0.02em !important;
    padding: 12px 14px !important;
}
.table tbody td {
    background: #fff !important;
    color: #1e293b !important;
    border: none !important;
    border-top: 1px solid #eef1f6 !important;
    padding: 14px 16px !important;
    font-size: 14px !important;
    vertical-align: middle !important;
    line-height: 1.5 !important;
}
.table.admin-list-grid tbody tr:nth-child(odd) td,
.table.admin-list-grid tbody tr:nth-child(even) td {
    background: #fff !important;
}
.table tbody tr:hover td { background: #f7f8fc !important; }
.table tbody tr td:first-child { border-radius: 0 !important; }
.table tbody tr td:last-child  { border-radius: 0 !important; }
.table,
.table.admin-list-grid,
.table.custom-data-table,
.table.table-bordered,
.dcat-box .table,
.modal .table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: 1px solid #e6eaf1 !important;
    border-radius: 8px !important;
}
.content-wrapper .content .dcat-box.card .table:not(.video-list-compact) {
    border-right: 0 !important;
    border-left: 0 !important;
    border-radius: 0 !important;
}
.modal .table {
    overflow: hidden;
}
.table tbody tr:last-child td {
    border-bottom: 0 !important;
}
.card, .box, .dcat-box, .grid-box { overflow: visible !important; }
.grid__actions__,
.grid-row-actions,
td .grid-dropdown-actions {
    overflow: visible !important;
    white-space: nowrap !important;
}
.admin-chip {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    background: #eef2ff;
    color: #4338ca;
}
.admin-chip-muted { background: #f1f5f9; color: #64748b; }
.admin-uid { font-variant-numeric: tabular-nums; font-weight: 600; color: #1e293b; }

/* -----------------------------------------------------------------
   6. 表单
----------------------------------------------------------------- */
.form-control,
select.form-control,
textarea.form-control,
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
input[type="search"] {
    background: #fff !important;
    border: 1px solid #d7dee8 !important;
    color: #1e293b !important;
    border-radius: 7px !important;
    box-sizing: border-box !important;
}
input.form-control,
select.form-control,
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
input[type="search"] {
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 12px !important;
    line-height: 34px !important;
    overflow: visible !important;
}
textarea.form-control {
    height: auto !important;
    min-height: 88px !important;
    line-height: 1.5 !important;
    padding: 8px 12px !important;
}
.form-control:focus {
    border-color: #f59e0b !important;
    box-shadow: 0 0 0 3px rgba(245,158,11,0.16) !important;
}
.input-group-text {
    background: #f4f6fa !important;
    border-color: #d7dee8 !important;
    color: #64748b !important;
}
.control-label, label { color: #475569 !important; font-size: 13px !important; }

/* -----------------------------------------------------------------
   7. 操作按钮（提交/下一步/查询/重置）—— 不含分页、角标、表格文字链
----------------------------------------------------------------- */
button.btn:not(.page-link):not(.is-hidden),
a.btn:not(.page-link):not(.grid-row-action):not(.is-hidden),
input.btn:not(.is-hidden),
.box-footer .btn:not(.page-link):not(.is-hidden),
.card-footer .btn:not(.page-link):not(.is-hidden),
.form-footer .btn:not(.page-link):not(.is-hidden),
.custom-data-table-header .btn:not(.is-hidden),
.app-form-actions .btn:not(.is-hidden),
.amis-scope .cxd-Button:not(.is-hidden) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    box-sizing: border-box !important;
    min-height: 36px !important;
    height: 36px !important;
    padding: 0 16px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    box-shadow: none !important;
    vertical-align: middle !important;
    overflow: hidden !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    background-clip: padding-box !important;
    background-image: none !important;
    white-space: nowrap !important;
    text-overflow: clip !important;
    max-width: none !important;
}
.btn > i,
.btn > svg,
.btn > .feather,
.btn i.feather,
.btn i[class^="fa"],
.btn i[class*=" fa-"],
.amis-scope .cxd-Button i,
.amis-scope .cxd-Button svg {
    width: 14px !important;
    height: 14px !important;
    font-size: 14px !important;
    margin: 0 !important;
    line-height: 1 !important;
    flex-shrink: 0;
}
form .box-footer,
form .card-footer,
form .form-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: wrap;
    gap: 16px !important;
}
form .box-footer .btn,
form .card-footer .btn,
form .form-footer .btn,
form .box-footer .btn-group > .btn,
form .card-footer .btn-group > .btn {
    margin: 0 !important;
}
form .box-footer .btn-group,
form .card-footer .btn-group {
    display: inline-flex !important;
    align-items: center;
    gap: 16px !important;
    box-shadow: none !important;
}
.box-footer .btn-group > .btn,
.box-footer .btn-group > .btn:first-child,
.box-footer .btn-group > .btn:last-child,
.box-footer .btn-group > .btn:not(:first-child),
.box-footer .btn-group > .btn:not(:last-child) {
    border-radius: 8px !important;
}
.app-form-actions .is-hidden,
.app-form-actions .btn.is-hidden,
.app-form-actions .btn[hidden],
.box-footer .app-form-actions .btn.is-hidden,
.box-footer .app-form-prev.is-hidden,
.box-footer .app-form-next.is-hidden,
form:has(input[name="product_os"]) .app-form-actions .btn.is-hidden,
form:has(input[name="product_os"]) button[type="submit"].is-hidden,
form:has(input[name="product_os"]) .submit.is-hidden {
    display: none !important;
}
form:has(input[name="product_os"]) .app-form-next,
form:has(input[name="product_os"]) .app-form-prev {
    display: none !important;
}
form:has(input[name="product_os"]) button[type="submit"],
form:has(input[name="product_os"]) button.submit {
    display: inline-flex !important;
}

/* -----------------------------------------------------------------
   8. AMis 框架组件 (.amis-scope)
----------------------------------------------------------------- */
.amis-scope {
    color: #334155 !important;
}
.amis-scope a {
    background: transparent !important;
    color: #6366f1 !important;
}
.amis-scope table,
.amis-scope .cxd-Table,
.amis-scope .Table-table {
    background: #fff !important;
    color: #334155 !important;
}
.amis-scope thead th,
.amis-scope .cxd-Table-thead th {
    background: #eef2ff !important;
    color: #334155 !important;
    border-bottom: 1px solid #c7d2fe !important;
    font-size: 13px !important;
    font-weight: 650 !important;
    padding: 12px 14px !important;
}
.amis-scope tbody td,
.amis-scope .cxd-Table-tbody td {
    background: transparent !important;
    color: #1e293b !important;
    border-bottom: 1px solid #e8edf6 !important;
    padding: 12px 14px !important;
    font-size: 14px !important;
}
.amis-scope tbody tr:nth-child(even) td,
.amis-scope .cxd-Table-tbody tr:nth-child(even) td {
    background: #fff !important;
}
.amis-scope tbody tr:hover td { background: #f8f9fd !important; }

.amis-scope .cxd-Panel,
.amis-scope .Panel,
.amis-scope .cxd-Card,
.amis-scope .Card {
    background: #fff !important;
    border: 1px solid #e8ecf4 !important;
    border-radius: 10px !important;
    color: #334155 !important;
}
.amis-scope .cxd-Panel-heading,
.amis-scope .Panel-heading {
    background: #fafbfe !important;
    border-bottom: 1px solid #eef1f8 !important;
    color: #1e293b !important;
}
.amis-scope div,
.amis-scope span:not([class*="icon"]):not([class*="svg"]):not(.home-na):not([class*="home-type"]),
.amis-scope p, .amis-scope td, .amis-scope th, .amis-scope label {
    color: #334155;
}
.amis-scope .cxd-PropertyItem-label { color: #64748b !important; font-size: 12px !important; }
.amis-scope .cxd-PropertyItem-value { color: #1e293b !important; font-weight: 600 !important; }
.amis-scope input,
.amis-scope select,
.amis-scope .cxd-Select,
.amis-scope .cxd-TextControl-input {
    background: #fff !important;
    color: #334155 !important;
    border-color: #dde3f0 !important;
}

/* -----------------------------------------------------------------
   9. info-box
----------------------------------------------------------------- */
.info-box {
    background: #fff !important;
    border: 1px solid #e8ecf4 !important;
    border-radius: 10px !important;
}
.info-box-text  { color: #64748b !important; font-size: 12px !important; }
.info-box-number { color: #1e293b !important; font-size: 22px !important; font-weight: 700 !important; }

/* -----------------------------------------------------------------
   10. 其他全局元素
----------------------------------------------------------------- */
/* 页头：标题 + 面包屑同一行，去掉 Dcat 两层叠高 */
div.content-header {
    padding: 2px 0 6px !important;
    margin: 0 !important;
    min-height: 0 !important;
}
section.content-header,
section.content-header.breadcrumbs-top {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 10px 14px !important;
    padding: 0 !important;
    margin: 0 !important;
    min-height: 0 !important;
    width: 100%;
}
.content-header .row {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px 16px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
    float: none !important;
}
.content-header [class*="col-"] {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
    width: auto !important;
    max-width: 100% !important;
    flex: 1 1 auto;
    float: none !important;
    overflow: visible !important;
}
.content-wrapper .content {
    padding-top: 8px !important;
}
.content-header h1,
section.content-header h1 {
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #f8fafc !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.25 !important;
}
.content-header h1 .text-capitalize,
.breadcrumb.text-capitalize {
    text-transform: none !important;
}
.content-header h1 small {
    margin-left: 6px;
    font-size: 12px !important;
    color: #94a3b8 !important;
    font-weight: 400 !important;
}
.breadcrumb-wrapper,
.breadcrumb-wrapper.col-12 {
    float: none !important;
    width: auto !important;
    max-width: none !important;
    flex: 0 0 auto;
    padding: 0 !important;
    margin: 0 !important;
}
.content-header .clearfix { display: none !important; }
.breadcrumb {
    background: transparent !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
}
.breadcrumb-item a { background: transparent !important; color: #64748b !important; }
.breadcrumb-item.active,
.breadcrumb-item + .breadcrumb-item::before { color: #94a3b8 !important; }
.breadcrumb-item + .breadcrumb-item::before { padding: 0 6px !important; }

/* 分页：一条 32px 高，条数 / 页码 / 每页条数垂直居中，clearfix 不能撑高底栏 */
.dcat-box .box-footer:has(.pagination),
.grid-box .box-footer,
.grid-box .card-footer,
.dcat-box .card-footer:has(.pagination) {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
    gap: 12px 16px !important;
    min-height: 52px !important;
    height: auto !important;
    padding: 10px 28px !important;
    overflow: visible !important;
    position: relative;
    z-index: 5;
}
.dcat-box .box-footer:has(.pagination)::before,
.dcat-box .box-footer:has(.pagination)::after,
.dcat-box .card-footer:has(.pagination)::before,
.dcat-box .card-footer:has(.pagination)::after,
.grid-box .box-footer::before,
.grid-box .box-footer::after,
.grid-box .card-footer::before,
.grid-box .card-footer::after {
    display: none !important;
    content: none !important;
}
.box-footer > p,
.box-footer > .help-block,
.box-footer > .hidden-xs,
.box-footer > .pagination-ranger,
.box-footer .help-block,
.card-footer > p,
.card-footer .help-block {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 auto 0 0 !important;
    padding: 0 !important;
    height: 32px !important;
    line-height: 32px !important;
    font-size: 13px !important;
    color: #64748b !important;
    float: none !important;
    white-space: nowrap !important;
}
.box-footer nav,
.card-footer nav {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 32px !important;
}
.box-footer .pagination,
.card-footer .pagination,
.dcat-box .pagination,
.pagination-sm {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    height: 32px !important;
}
.pagination .page-item {
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    min-width: 0 !important;
    height: 32px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}
.pagination .page-link,
.pagination .page-item > a,
.pagination .page-item > span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    min-width: 32px !important;
    width: auto !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    padding: 0 8px !important;
    margin: 0 !important;
    border-radius: 6px !important;
    border: 1px solid #d7dee8 !important;
    background: #fff !important;
    color: #334155 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    box-shadow: none !important;
    white-space: nowrap !important;
}
.pagination .page-item.disabled > .page-link,
.pagination .page-item.disabled > span {
    color: #94a3b8 !important;
    background: #f7f8fb !important;
}
.pagination .page-item.active > .page-link,
.pagination .page-item.active > span {
    background: #f59e0b !important;
    border-color: #f59e0b !important;
    color: var(--aw-on-gold, #fff8eb) !important;
}
.box-footer label,
.box-footer label.control-label,
.card-footer label,
.card-footer label.control-label {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 32px !important;
    float: none !important;
    font-weight: 400 !important;
}
.grid-per-page,
.box-footer .grid-per-page,
.card-footer .grid-per-page,
.box-footer .dropdown,
.card-footer .dropdown,
.box-footer .btn-group.dropdown {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    height: 32px !important;
    float: none !important;
}
.grid-box .box-footer .btn,
.grid-box .card-footer .btn,
.dcat-box .box-footer:has(.pagination) .btn,
.dcat-box .card-footer:has(.pagination) .btn,
.box-footer .grid-per-page .btn,
.box-footer .dropdown > .btn,
.box-footer .dropdown-toggle,
.card-footer .dropdown-toggle,
.box-footer select.grid-per-page,
.box-footer select.input-sm,
.grid-box .box-footer select,
.grid-box .card-footer select {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    width: auto !important;
    min-width: 52px !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    padding: 0 10px !important;
    margin: 0 !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    line-height: 1 !important;
    box-shadow: none !important;
}

/* Badge */
.badge { border-radius: 5px !important; font-size: 11px !important; font-weight: 600 !important; padding: 3px 7px !important; }

/* 下拉菜单 */
.dropdown-menu {
    background: #fff !important;
    border: 1px solid #e8ecf4 !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1) !important;
    padding: 6px !important;
}
.dropdown-item {
    background: transparent !important;
    color: #475569 !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    padding: 8px 12px !important;
}
.dropdown-item:hover { background: rgba(99,102,241,0.08) !important; color: #6366f1 !important; }

/* 模态框 */
.modal-content {
    background: #fff !important;
    border: 1px solid #d8dee9 !important;
    border-radius: 12px !important;
    color: #334155 !important;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.18) !important;
    overflow: hidden !important;
}
.modal-header {
    border-bottom: 1px solid #e8ecf4 !important;
}
.modal-footer {
    border-top: 1px solid #e8ecf4 !important;
}
.modal-title { color: #1e293b !important; font-weight: 600 !important; }
.modal .dcat-box,
.modal .grid-box,
.modal .card,
.modal .box {
    border: 1px solid #e4e9f2 !important;
    box-shadow: none !important;
    overflow: hidden !important;
}
.modal .dcat-box table.table thead th:first-child,
.modal .dcat-box table.table tbody td:first-child {
    padding-left: 14px !important;
}
.modal .dcat-box table.table thead th:last-child,
.modal .dcat-box table.table tbody td:last-child {
    padding-right: 14px !important;
}
.modal .dcat-box .box-footer,
.modal .dcat-box .card-footer {
    padding-left: 16px !important;
    padding-right: 16px !important;
}

/* Select2 */
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    background: #fff !important;
    border: 1px solid #d7dee8 !important;
    border-radius: 7px !important;
    min-height: 36px !important;
    height: 36px !important;
}
.select2-container--default .select2-selection--multiple {
    height: auto !important;
    min-height: 36px !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #1e293b !important;
    line-height: 34px !important;
    padding-left: 8px !important;
    overflow: visible !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 34px !important;
}
.select2-dropdown {
    background: #fff !important;
    border: 1px solid #d7dee8 !important;
    border-radius: 8px !important;
    box-shadow: 0 12px 32px rgba(15,23,42,.12) !important;
}
.select2-container--default .select2-results__option { color: #1e293b !important; font-size: 13px !important; }
.select2-container--default .select2-results__option--highlighted {
    background: #fff7ed !important;
    color: #c2410c !important;
}

/* 链接 */
a { color: #2563eb !important; }
a:hover { text-decoration: none !important; }
.content-wrapper a:hover:not(.btn):not(.nav-link):not(.page-link):not(.dropdown-item) {
    opacity: 0.85;
}
.main-sidebar a,
.main-sidebar a:hover,
.btn:hover,
.page-link:hover,
.dropdown-item:hover {
    opacity: 1 !important;
}
.text-muted { color: #94a3b8 !important; }

/* 进度条 */
#nprogress .bar { background: #6366f1 !important; height: 2px !important; }

/* 滚动条 */
*::-webkit-scrollbar { width: 4px !important; height: 4px !important; }
*::-webkit-scrollbar-track { background: transparent !important; }
*::-webkit-scrollbar-thumb { background: rgba(99,102,241,0.3) !important; border-radius: 4px !important; }
*::-webkit-scrollbar-thumb:hover { background: #6366f1 !important; }

/* 工具类 */
.hidden, .field_hidden { opacity: 0 !important; display: none !important; }
.fs-12 { font-size: 13px !important; }
.fs-12 td { font-size: 14px !important; }
.bg-green_light  { background: rgba(5,150,105,0.10) !important; }
.bg-blue_light   { background: rgba(99,102,241,0.10) !important; }
.bg-red_light    { background: rgba(220,38,38,0.10) !important; }
.bg-yellow_light { background: rgba(217,119,6,0.12) !important; }

/* -----------------------------------------------------------------
   11. 短剧列表紧凑布局
----------------------------------------------------------------- */
.table.video-list-compact {
    table-layout: auto;
}
.table.video-list-compact > thead > tr > th,
.table.video-list-compact > tbody > tr > td {
    vertical-align: middle !important;
    padding: 8px 10px !important;
}
.table.video-list-compact .vl-cover {
    width: 42px;
    height: 56px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
    background: #f1f5f9;
}
.table.video-list-compact .vl-title {
    font-weight: 600;
    font-size: 13px;
    line-height: 1.35;
    color: #f8fafc;
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.table.video-list-compact .vl-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
}
.table.video-list-compact .vl-badge {
    display: inline-block;
    font-size: 11px;
    line-height: 1.2;
    padding: 1px 6px;
    border-radius: 4px;
    color: #fff;
    font-weight: 600;
}
.table.video-list-compact .vl-badge-bunny { background: #ff6c2c; }
.table.video-list-compact .vl-badge-third { background: #7c3aed; }
.table.video-list-compact .vl-badge-soon  { background: #f59e0b; }
.table.video-list-compact .vl-meta {
    margin-top: 3px;
    font-size: 11px;
    line-height: 1.35;
    color: #94a3b8;
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.table.video-list-compact .vl-drama-id-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 124px;
    min-width: 0;
}
.table.video-list-compact .vl-drama-id {
    display: block;
    min-width: 0;
    max-width: 96px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .02em;
    color: #334155 !important;
    line-height: 1.4;
    white-space: nowrap;
}
.table.video-list-compact .vl-copy {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: #f1f5f9;
    color: #475569;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.table.video-list-compact .vl-copy:hover {
    background: rgba(251,191,36,.2);
    color: #fbbf24;
}
.table.video-list-compact tr.vl-row-open {
    cursor: pointer;
}
.table.video-list-compact tr.vl-row-open :is(
    a, button, input, label, .switch, .bootstrap-switch, .editable, .vl-copy, .grid-row-actions
) {
    cursor: default;
}
.table.video-list-compact .vl-drama-id.is-empty {
    font-family: inherit;
    letter-spacing: 0;
    color: #64748b;
}
.table.video-list-compact .vl-billing,
.table.video-list-compact .vl-time {
    font-size: 12px;
    line-height: 1.45;
    white-space: nowrap;
}

/* 控制开关：6 项改成 2 列，大幅压行高 */
.table.video-list-compact table.grid-switch-group {
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    border: 0 !important;
}
.table.video-list-compact table.grid-switch-group tbody {
    display: grid !important;
    grid-template-columns: auto auto;
    column-gap: 14px;
    row-gap: 2px;
}
.table.video-list-compact table.grid-switch-group tr {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    box-shadow: none !important;
    background: transparent !important;
}
.table.video-list-compact table.grid-switch-group tr td {
    padding: 0 !important;
    height: auto !important;
    border: 0 !important;
    white-space: nowrap !important;
    font-size: 12px !important;
    color: #64748b !important;
}
.table.video-list-compact table.grid-switch-group .switchery {
    margin: 0 !important;
    transform: scale(0.85);
    transform-origin: left center;
}

.grid-box .table-responsive {
    overflow-x: auto;
    overflow-y: visible;
}

/* -----------------------------------------------------------------
   短剧列表页重设计：筛选常显工具条 + 卡片行列表
----------------------------------------------------------------- */
.grid-box--video {
    border: 0 !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: 0 18px 40px -28px rgba(15,23,42,.35) !important;
    overflow: visible !important;
}
.grid-box--video > .box,
.grid-box--video > .card,
.grid-box--video.box,
.grid-box--video.card {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}
.grid-box--video .box-header,
.grid-box--video .card-header {
    padding: 12px 4px 10px !important;
    border-bottom: 0 !important;
    background: transparent !important;
}
/* 剧库入口：贴在右侧「新增」旁 */
.grid-box--video .btn-third-drama-library {
    margin-right: 8px !important;
    white-space: nowrap;
}
.grid-box--video .box-body,
.grid-box--video .card-body {
    padding: 0 0 8px !important;
    background: transparent !important;
}

/* 隐藏工具栏「筛选」折叠按钮（面板已常显；勿用过于宽泛的 class 子串匹配） */
.grid-box--video .filter-button,
.grid-box--video .grid-filter-button,
.grid-box--video a.filter-btn,
.grid-box--video button.filter-btn,
.grid-box--video .grid-dropdown-actions .filter-button {
    display: none !important;
}

/* 列表：行间距卡片化 */
.grid-box--video .table-responsive {
    background: transparent;
    margin-top: 4px;
}
.grid-box--video .table.video-list-compact {
    border-collapse: separate !important;
    border-spacing: 0 8px !important;
    background: transparent !important;
}
.grid-box--video .table.video-list-compact > thead > tr > th {
    background: transparent !important;
    color: #94a3b8 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em;
    text-transform: none;
    border: 0 !important;
    padding: 2px 16px 6px !important;
}
.grid-box--video .table.video-list-compact > tbody > tr > td {
    padding: 16px 16px !important;
    border: 0 !important;
    background: #fff !important;
    box-shadow: inset 0 0 0 1px #e6eaf1;
    vertical-align: middle !important;
}
.grid-box--video .table.video-list-compact > tbody > tr > td:first-child {
    border-radius: 12px 0 0 12px;
}
.grid-box--video .table.video-list-compact > tbody > tr > td:last-child {
    border-radius: 0 12px 12px 0;
}
.grid-box--video .table.video-list-compact > tbody > tr:hover > td {
    background: #f7f8fc !important;
    box-shadow: inset 0 0 0 1px #f59e0b;
}
.grid-box--video .table.video-list-compact .vl-cover {
    width: 48px;
    height: 64px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}
.grid-box--video .table.video-list-compact .vl-title {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    max-width: 280px;
}
.grid-box--video .table.video-list-compact .vl-badge {
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 10px;
}
.grid-box--video td .grid-row-actions {
    display: inline-flex;
    align-items: center;
    gap: 16px;
}
.grid-box--video .grid-actions a,
.grid-box--video .grid-actions .grid-action-edit,
.grid-box--video td .grid-row-actions a {
    display: inline-flex;
    align-items: center;
    margin: 0 !important;
    padding: 4px 8px;
    border-radius: 8px;
    background: #f4f6fa;
    color: #334155 !important;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
}
.grid-box--video td .grid-row-actions a[data-action="delete"] {
    margin-left: 8px !important;
}
.grid-box--video .grid-actions a:hover,
.grid-box--video td .grid-row-actions a:hover {
    background: rgba(251,191,36,.18);
    color: #fbbf24 !important;
}

.grid-box .filter-box.filter-inputs,
.grid-box .filter-area,
.grid-box .card.filter-box {
    border: 0;
    background: transparent;
    margin-bottom: 0;
    padding: 0 !important;
}

/* 筛选工具条：常显、横向标签+控件、浅底圆角条 */
.filter-box--video,
.grid-box .filter-box--video {
    display: block !important;
    margin: 0 0 16px !important;
    padding: 16px 20px !important;
    border: 1px solid #e6eaf1 !important;
    border-radius: 16px !important;
    background: #f7f8fb !important;
    box-shadow: none !important;
}
.filter-box--video .row,
.grid-box .filter-box--video .row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 12px 12px;
    margin: 0 !important;
}
.filter-box--video .row > [class*="col-"],
.grid-box .filter-box--video .row > [class*="col-"] {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    padding: 0 !important;
    float: none !important;
}

.filter-box--video .form-group,
.filter-box--video .filter-input .form-group {
    margin: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    min-height: 48px;
    padding: 8px 16px !important;
    background: #fff;
    border: 0;
    border-radius: 999px;
    box-shadow: none;
}

.filter-box--video .input-group {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    width: auto !important;
    gap: 8px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}
.filter-box--video .input-group > .form-control,
.filter-box--video .input-group > .input-group-prepend,
.filter-box--video .input-group > .input-group-append,
.filter-box--video .input-group > .vs-radio-con,
.filter-box--video .input-group > div {
    width: auto !important;
}
.filter-box--video label.control-label,
.filter-box--video .filter-input label,
.filter-box--video .input-group-addon,
.filter-box--video .input-group-text,
.filter-box--video .input-group-prepend,
.filter-box--video .input-group-prepend .input-group-text {
    display: inline-block !important;
    width: auto !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #475569 !important;
    margin: 0 2px 0 0 !important;
    padding: 0 8px 0 0 !important;
    white-space: nowrap;
    line-height: 1.2 !important;
    text-align: left !important;
}

.filter-box--video .form-group,
.filter-box--video .input-group,
.filter-box--video .select2-container {
    overflow: visible !important;
}
.filter-box--video .select2-container {
    width: 148px !important;
    min-width: 148px !important;
    max-width: 180px !important;
    position: relative !important;
}
body > .select2-container {
    z-index: 10050 !important;
}
.filter-box--video select[name="cate"] + .select2-container,
.filter-box--video select[name*="[cate]"] + .select2-container,
.filter-box--video .form-group:has(select[name="cate"]) .select2-container,
.filter-box--video .form-group:has(select[name*="cate"]) .select2-container {
    width: 168px !important;
    min-width: 168px !important;
    max-width: 200px !important;
}
.filter-box--video .select2-container .select2-selection--single {
    height: 38px !important;
    min-height: 38px !important;
    border-radius: 999px !important;
    border: 0 !important;
    background: #fff !important;
}
.filter-box--video .select2-container .select2-selection__rendered {
    line-height: 38px !important;
    font-size: 14px;
    padding-left: 14px !important;
    color: #1e293b;
}
.filter-box--video .select2-container .select2-selection__arrow {
    height: 36px !important;
}
.filter-box--video select.form-control,
.filter-box--video input.form-control {
    width: 148px !important;
    min-width: 132px !important;
    max-width: 180px !important;
    height: 38px !important;
    padding: 4px 14px !important;
    font-size: 14px !important;
    border-radius: 999px !important;
    border: 0 !important;
    background: #fff !important;
}
.filter-box--video select[name="cate"],
.filter-box--video select[name*="[cate]"] {
    width: 168px !important;
    max-width: 200px !important;
}

/* 筛选单选：做成胶囊按钮，文字上下左右居中 */
.filter-box--video .vs-radio-con,
.filter-box--video .radio,
.filter-box--video .custom-control,
.filter-box--video .form-check,
.filter-box--video .radio-inline,
.filter-box--video label.radio-inline {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    gap: 0 !important;
    margin: 0 8px 0 0 !important;
    padding: 0 16px !important;
    min-width: 52px !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    white-space: nowrap;
    line-height: 1 !important;
    background: #fff !important;
    border: 1px solid #d7dee8 !important;
    border-radius: 999px !important;
    cursor: pointer;
}
.filter-box--video .vs-radio-con:last-child,
.filter-box--video .radio-inline:last-child {
    margin-right: 0 !important;
}
.filter-box--video .vs-radio-con > input,
.filter-box--video .radio-inline > input {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    opacity: 0 !important;
    cursor: pointer !important;
    z-index: 2;
}
/* 隐藏原生圆点，只保留文字胶囊 */
.filter-box--video .vs-radio-con .vs-radio,
.filter-box--video .vs-radio-con .vs-radio--border,
.filter-box--video .vs-radio-con .vs-radio--circle {
    display: none !important;
}
.filter-box--video .vs-radio-con > span,
.filter-box--video .radio-inline > span,
.filter-box--video .vs-radio-con .vs-radio + span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
    top: auto !important;
    left: auto !important;
    line-height: 1 !important;
    transform: none !important;
    text-align: center !important;
}
.filter-box--video .vs-radio-con:has(input:checked),
.filter-box--video .vs-radio-con input:checked ~ span:not(.vs-radio) {
    color: #fbbf24 !important;
}
.filter-box--video .vs-radio-con:has(input:checked) {
    border-color: #f59e0b !important;
    background: rgba(245,158,11,.16) !important;
    box-shadow: 0 0 0 1px rgba(245,158,11,0.22);
}
/* 下拉同样垂直居中 */
.filter-box--video .select2-container .select2-selection--single .select2-selection__rendered {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    height: 38px !important;
    line-height: 1 !important;
    padding-right: 28px !important;
}
.filter-box--video select.form-control {
    text-align: center;
    text-align-last: center;
}

/* 搜索 / 重置：强制图标+文案垂直居中（覆盖 btn-sm / feather 偏移） */
.filter-box--video .btn,
.filter-box--video .btn-sm,
.filter-box--video .btn[type="submit"],
.filter-box--video .btn[type="reset"],
.filter-box--video .btn-primary,
.filter-box--video .btn-white,
.filter-box--video .btn-default,
.filter-box--video .btn-outline-primary,
.filter-box--video .btn-outline,
.filter-box--video a.btn,
.filter-box--video button.btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    box-sizing: border-box !important;
    min-width: 88px !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    line-height: 1 !important;
    padding: 0 18px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    margin: 0 !important;
    vertical-align: middle !important;
}
.filter-box--video .btn::before,
.filter-box--video .btn::after {
    display: none !important;
}
.filter-box--video .btn > *,
.filter-box--video .btn i,
.filter-box--video .btn svg,
.filter-box--video .btn span,
.filter-box--video .btn .feather,
.filter-box--video .btn [class*="icon"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
    top: 0 !important;
    bottom: auto !important;
    transform: none !important;
    vertical-align: middle !important;
}
.filter-box--video .btn svg.feather,
.filter-box--video .btn i.feather,
.filter-box--video .btn .feather {
    width: 16px !important;
    height: 16px !important;
    flex: 0 0 16px !important;
}
.filter-box--video .row > [class*="col-"]:last-child,
.filter-box--video .row > [class*="col-"]:last-child .form-group,
.filter-box--video .row > [class*="col-"]:last-child .input-group {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    min-height: 48px !important;
    height: auto !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 2px !important;
    border-radius: 0 !important;
    margin: 0 !important;
}

.grid-box .grid-selector {
    display: none !important;
}

/* 二级页（编辑/新增/详情）左上角返回 */
.admin-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    padding: 0 12px 0 10px;
    margin: 0;
    border-radius: 8px;
    border: 1px solid #d7dee8;
    background: #fff;
    color: #334155 !important;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none !important;
    white-space: nowrap;
    flex-shrink: 0;
}
.admin-back-btn:hover {
    background: rgba(251,191,36,.14);
    color: #fbbf24 !important;
    border-color: rgba(251,191,36,.4);
}
.admin-back-btn svg {
    width: 14px;
    height: 14px;
    margin-right: 4px;
}

/* 列表顶栏：Dcat 工具条在 .top.p-0，只给这一层留白，避免父子叠 padding */
.dcat-box > .d-block.pb-0,
.custom-data-table-header,
.custom-data-table-header .table-responsive {
    padding: 0 !important;
    overflow: visible !important;
}
.custom-data-table-header .top,
.custom-data-table-header .top.p-0,
.dcat-box > .d-block.pb-0 > .d-md-flex,
.dcat-box > .d-block.pb-0 > .justify-content-between,
.aw-toolbar {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    padding: 14px 20px 12px !important;
    background: #f7f8fb;
    border-bottom: 1px solid #eef1f6;
}
.custom-data-table-header .top > .btn,
.custom-data-table-header .top > .btn-group,
.custom-data-table-header .filter-button,
.custom-data-table-header .grid-refresh,
.custom-data-table-header .btn {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    min-height: 34px;
    padding-left: 14px !important;
    padding-right: 14px !important;
}
.dcat-box .box-footer,
.dcat-box .card-footer,
.form .box-footer {
    padding-left: 28px !important;
    padding-right: 28px !important;
}
.dcat-box table.table thead th:first-child,
.dcat-box table.table tbody td:first-child {
    padding-left: 28px !important;
}
.dcat-box table.table thead th:last-child,
.dcat-box table.table tbody td:last-child {
    padding-right: 28px !important;
}
.dcat-box .box-header.with-border,
form .box-header.with-border {
    padding: 16px 28px !important;
}
.grid-box--video .custom-data-table-header .top,
.grid-box--video .custom-data-table-header .top.p-0 {
    padding: 10px 8px 8px !important;
}
.grid-box--video table.table thead th:first-child,
.grid-box--video table.table tbody td:first-child {
    padding-left: 10px !important;
}
.grid-box--video table.table thead th:last-child,
.grid-box--video table.table tbody td:last-child {
    padding-right: 10px !important;
}

.home-stack-gap { height: 16px; }
.home-app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    align-items: stretch;
}
.home-app-empty {
    padding: 16px 4px;
    color: #94a3b8;
    font-size: 13px;
}
.home-app-card {
    background: #fff;
    border: 1px solid #e8ecf4;
    border-radius: 10px;
    overflow: hidden;
}
.home-app-head {
    padding: 14px 18px 12px;
    background: #f8fafc;
    border-bottom: 1px solid #eef1f8;
}
.home-app-name {
    font-size: 16px;
    font-weight: 650;
    color: #1e293b;
    line-height: 1.3;
}
.home-app-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}
.home-os {
    font-size: 12px;
    color: #64748b !important;
}
.home-current {
    display: inline-block;
    margin-left: 8px;
    padding: 1px 6px;
    border-radius: 999px;
    background: #eef2ff;
    color: #4338ca !important;
    font-size: 11px;
    font-weight: 650;
    vertical-align: middle;
}
.home-app-table {
    width: 100%;
    border-collapse: collapse;
}
.home-app-table thead th {
    background: #eef2ff !important;
    color: #334155 !important;
    font-size: 12px !important;
    font-weight: 650 !important;
    padding: 7px 14px !important;
    text-align: left;
    border-bottom: 1px solid #c7d2fe;
}
.home-app-table tbody th {
    width: 42%;
    text-align: left;
    font-weight: 500;
    color: #64748b !important;
    font-size: 13px;
    padding: 8px 14px;
    border-bottom: 1px solid #eef1f8;
    background: transparent !important;
}
.home-app-table tbody td {
    font-weight: 650;
    color: #1e293b !important;
    font-size: 14px;
    padding: 8px 14px;
    border-bottom: 1px solid #eef1f8;
    background: transparent !important;
}
.home-app-table tbody tr:last-child th,
.home-app-table tbody tr:last-child td {
    border-bottom: 0;
}
.amis-scope .cxd-Table {
    min-height: 0 !important;
}
.home-na {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 999px;
    background: #f1f5f9 !important;
    color: #94a3b8 !important;
    font-size: 12px;
    font-weight: 600;
    border: 1px dashed #cbd5e1;
    line-height: 1.4;
}
.home-type {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.4;
}
.home-type-iaa { background: #eef2ff !important; color: #4338ca !important; }
.home-type-iap { background: #ecfdf5 !important; color: #047857 !important; }
.home-type-mixed { background: #fff7ed !important; color: #c2410c !important; }
.home-type-unset,
.home-type-unknown { background: #f8fafc !important; color: #64748b !important; }
.home-app-kpis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
    gap: 12px;
    padding: 16px;
}
.home-kpi {
    min-width: 0;
    padding: 14px 16px 16px;
    background: #f8fafc;
    border: 1px solid #eef1f8;
    border-radius: 12px;
}
body.aw-home .home-kpi span { font-size: var(--aw-fs-md); }
body.aw-home .home-kpi b { font-size: calc(var(--aw-fs) * 1.7); }
.home-kpi span {
    display: block;
    font-size: 12px;
    color: #64748b !important;
    font-weight: 500;
    line-height: 1.4;
}
.home-kpi b {
    display: block;
    margin-top: 8px;
    font-size: 22px;
    font-weight: 700;
    color: #0f172a !important;
    line-height: 1.2;
}
.home-kpi .home-na { margin-top: 8px; }

/* 首页看板：字号按视口比例缩放，1366≈13px，1920≈14.5px，封顶 15px */
body.aw-home {
    --aw-fs: clamp(12px, 0.28vw + 9.2px, 15px);
    --aw-fs-xs: calc(var(--aw-fs) * 0.77);
    --aw-fs-sm: calc(var(--aw-fs) * 0.85);
    --aw-fs-md: calc(var(--aw-fs) * 0.92);
    --aw-fs-lg: var(--aw-fs);
    --aw-fs-xl: calc(var(--aw-fs) * 1.08);
    --aw-fs-2xl: calc(var(--aw-fs) * 1.15);
    --aw-fs-num: calc(var(--aw-fs) * 2.15);
    --aw-fs-ring: calc(var(--aw-fs) * 2.62);
}
body.aw-home .main-footer { display: none !important; }
body.aw-home,
body.aw-home .wrapper,
body.aw-home .content-wrapper {
    background: #0b0d14 !important;
}
body.aw-home .content-wrapper {
    min-height: 100vh !important;
    height: auto !important;
    overflow: visible !important;
}
body.aw-home .content-header,
body.aw-home .content-header h1,
body.aw-home .breadcrumb {
    display: none !important;
}
body.aw-home .content-wrapper .content {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 28px 20px 28px !important;
    overflow: visible !important;
    background: transparent !important;
}
body.aw-home .content-wrapper .content > .row {
    display: block !important;
    margin: 0 !important;
    width: 100% !important;
    float: none !important;
}
body.aw-home .content-wrapper .content > .row > [class*="col-"] {
    display: block !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    flex: none !important;
}

body.aw-home .aw-board,
body.aw-home .aw-board-fit {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    /* 宽屏上不封顶的话，KPI 和表格会被拉得又稀又空 */
    max-width: 1440px;
    margin: 0 auto;
    font-family: var(--aw-font, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif);
    font-size: var(--aw-fs);
    color: #334155;
}
body.aw-home .aw-board .cxd-Tpl,
body.aw-home .aw-board .cxd-Plain,
body.aw-home .aw-board .cxd-Form-label,
body.aw-home .aw-board .cxd-Select-value,
body.aw-home .aw-board .cxd-Select-placeholder {
    font-size: inherit !important;
}
body.aw-home .aw-board-kpis,
body.aw-home .aw-board-mid,
body.aw-home .aw-board-apps,
body.aw-home .aw-board-bot {
    display: grid;
    gap: 16px;
    align-items: stretch;
}
/* 一行最多 4 张，再多就换行；六张挤一排每张都空得慌 */
body.aw-home .aw-board-kpis { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
body.aw-home .aw-board-kpis.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.aw-home .aw-board-kpis.is-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
body.aw-home .aw-board-kpis.is-5,
body.aw-home .aw-board-kpis.is-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.aw-home .aw-board-mid { grid-template-columns: minmax(240px, 30%) minmax(0, 1fr); }
body.aw-home .aw-board-mid.is-single { grid-template-columns: 1fr; }
body.aw-home .aw-board-apps { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
body.aw-home .aw-board-apps.is-single { grid-template-columns: 1fr; }
body.aw-home .aw-board-bot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
body.aw-home .aw-board-bot.is-single { grid-template-columns: 1fr; }
body.aw-home .aw-board-status,
body.aw-home .aw-board-trend,
body.aw-home .aw-board-app,
body.aw-home .aw-board-iaa,
body.aw-home .aw-board-iap,
body.aw-home .aw-board-reg,
body.aw-home .aw-board-pay {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

body.aw-home .amis-scope,
body.aw-home .cxd-Service-body,
body.aw-home .cxd-Service-body > div,
body.aw-home .cxd-Panel,
body.aw-home .cxd-Panel-body,
body.aw-home .cxd-Vbox,
body.aw-home .cxd-Wrapper,
body.aw-home .aw-dashboard-inner,
body.aw-home .aw-chart-plot,
body.aw-home .aw-chart-kpi,
body.aw-home .aw-hbar-card {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
body.aw-home .cxd-Wrapper,
body.aw-home .aw-dashboard-inner.cxd-Wrapper,
body.aw-home .aw-dashboard-inner {
    padding: 16px 18px 14px !important;
}
body.aw-home .cxd-Vbox,
body.aw-home .cxd-Panel-body {
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
}

body.aw-home .aw-kpi,
body.aw-home .aw-dashboard-card,
body.aw-home .cxd-Service.aw-dashboard-card,
body.aw-home .App_Admin_Metrics_Examples_NewUsers,
body.aw-home .card.App_Admin_Metrics_Examples_NewUsers {
    margin: 0 !important;
    background: #fff !important;
    border: var(--aw-surface-border) !important;
    border-radius: var(--aw-surface-radius) !important;
    box-shadow: none !important;
}
body.aw-home .aw-dashboard-card::before,
body.aw-home .App_Admin_Metrics_Examples_NewUsers::before { display: none !important; }

body.aw-home .aw-board .aw-kpi,
body.aw-home .aw-board .aw-dashboard-card,
body.aw-home .aw-board .amis-scope,
body.aw-home .aw-board .App_Admin_Metrics_Examples_NewUsers {
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
}

body.aw-home .aw-kpi {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-width: 0;
    min-height: 106px;
    padding: 18px 20px 16px;
}
body.aw-home .aw-kpi-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #64748b;
    font-size: var(--aw-fs-lg);
    font-weight: 600;
    line-height: 1.45;
}
body.aw-home .aw-kpi-value {
    margin-top: 8px;
    color: #1f2937;
    font-size: var(--aw-fs-num);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}
body.aw-home .aw-kpi-sub {
    margin-top: 8px;
    color: #94a3b8;
    font-size: var(--aw-fs-md);
    line-height: 1.45;
}
body.aw-home .aw-kpi-delta {
    flex: 0 0 auto;
    font-size: var(--aw-fs-md);
    font-weight: 700;
    letter-spacing: 0;
    font-variant-numeric: tabular-nums;
}
body.aw-home .aw-kpi-delta.is-up { color: #16a34a; }
body.aw-home .aw-kpi-delta.is-down { color: #dc2626; }
body.aw-home .aw-kpi-delta.is-flat { color: #94a3b8; }
body.aw-home .aw-board-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
body.aw-home .aw-board-toolbar-left,
body.aw-home .aw-board-toolbar-right,
.aw-scope-form {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
body.aw-home .aw-board-title h2 {
    margin: 0;
    color: #172033;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.01em;
}
body.aw-home .aw-board-title span {
    display: block;
    margin-top: 3px;
    color: #94a3b8;
    font-size: var(--aw-fs-md);
}
/* 口径说明收进这个「?」，不再在卡头上糊一长段小灰字 */
body.aw-home .aw-board-note {
    position: relative;
}
body.aw-home .aw-board-note > summary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border: 1px solid #e2e8f0;
    border-radius: 99px;
    background: #fff;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    user-select: none;
}
body.aw-home .aw-board-note > summary::-webkit-details-marker { display: none; }
body.aw-home .aw-board-note[open] > summary {
    border-color: #c7d2fe;
    color: #4338ca;
}
body.aw-home .aw-board-note > p {
    position: absolute;
    top: 32px;
    right: 0;
    z-index: 20;
    width: 300px;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid #e6ebf2;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 16px 34px -22px rgba(15,23,42,.6);
    color: #64748b;
    font-size: var(--aw-fs-md);
    line-height: 1.6;
}
.aw-scope-select {
    width: 260px;
    max-width: 42vw;
    display: inline-block;
}
.aw-scope-select.is-channel {
    width: 140px;
}
body.aw-home .aw-board-period {
    display: inline-flex;
    padding: 3px;
    background: #fff;
    border: var(--aw-surface-border);
    border-radius: 10px;
}
body.aw-home .aw-board-period a {
    min-width: 72px;
    padding: 6px 12px;
    border-radius: 8px;
    color: #64748b;
    font-size: var(--aw-fs-md);
    font-weight: 650;
    text-align: center;
    text-decoration: none !important;
}
body.aw-home .aw-board-period a.is-on {
    color: #4338ca;
    background: #eef2ff;
}
body.aw-home .aw-board-hint {
    margin: 0;
    color: #94a3b8;
    font-size: var(--aw-fs-md);
    line-height: 1.45;
}
body.aw-home .aw-top-card {
    background: #fff;
    border: var(--aw-surface-border);
    border-radius: var(--aw-surface-radius);
    padding: 16px 18px 8px;
}
body.aw-home .aw-top-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 12px;
}
body.aw-home .aw-top-head h3 {
    margin: 0;
    color: #172033;
    font-size: var(--aw-fs-lg);
    font-weight: 600;
}
body.aw-home .aw-top-head p,
body.aw-home .aw-top-empty {
    margin: 0;
    color: #94a3b8;
    font-size: var(--aw-fs-md);
}
body.aw-home .aw-top-empty { padding: 28px 0 24px; text-align: center; }
body.aw-home .aw-top-scroll { overflow-x: auto; }
body.aw-home .aw-top-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--aw-fs-lg);
}
body.aw-home .aw-top-table th,
body.aw-home .aw-top-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #f1f5f9;
    text-align: left;
    vertical-align: middle;
    white-space: nowrap;
}
body.aw-home .aw-top-table th {
    background: #f7f9fc;
    border-bottom: 1px solid #e9eef5;
    color: #8a95a6;
    font-size: var(--aw-fs-sm);
    font-weight: 650;
}
body.aw-home .aw-top-table th:first-child { border-radius: 8px 0 0 8px; }
body.aw-home .aw-top-table th:last-child { border-radius: 0 8px 8px 0; }
body.aw-home .aw-top-table tbody tr:last-child td { border-bottom: 0; }
body.aw-home .aw-top-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 99px;
    background: #f1f5f9;
    color: #64748b;
    font-size: var(--aw-fs-sm);
    font-weight: 700;
}
body.aw-home .aw-top-table tbody tr:nth-child(-n+3) .aw-top-rank {
    background: #eef2ff;
    color: #4338ca;
}
body.aw-home .aw-top-table th:first-child,
body.aw-home .aw-top-table td:first-child {
    width: 52px;
    text-align: center;
}
body.aw-home .aw-top-table .is-num {
    width: 72px;
    text-align: right;
    font-variant-numeric: tabular-nums;
}
body.aw-home .aw-top-table .is-name {
    width: auto;
    min-width: 160px;
    max-width: 360px;
    white-space: normal;
    word-break: break-word;
}
body.aw-home .aw-top-table .is-id {
    width: 148px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .02em;
    color: #64748b;
    white-space: nowrap;
}
body.aw-home .aw-top-table .is-rate {
    width: 120px;
}
body.aw-home .aw-top-table th.is-rate,
body.aw-home .aw-top-table td.is-rate {
    text-align: left;
}
body.aw-home .aw-top-table td a {
    color: #1e293b;
    font-weight: 650;
    text-decoration: none !important;
}
body.aw-home .aw-top-table td small {
    display: block;
    margin-top: 2px;
    color: #94a3b8;
    font-size: var(--aw-fs-sm);
    font-weight: 500;
}
body.aw-home .aw-fill {
    position: relative;
    width: 100%;
    max-width: 120px;
    min-width: 72px;
    height: 18px;
    overflow: hidden;
    background: #f1f5f9;
    border-radius: 99px;
}
body.aw-home .aw-fill i {
    display: block;
    height: 100%;
    background: #c7d2fe;
    border-radius: 99px;
}
body.aw-home .aw-fill em {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4338ca;
    font-size: var(--aw-fs-sm);
    font-style: normal;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

body.aw-home .aw-dashboard-card,
body.aw-home .aw-dashboard-card > .cxd-Service-body,
body.aw-home .aw-board .amis-scope {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
}
body.aw-home .aw-dashboard-head {
    min-height: 28px;
    margin: 0 0 8px;
    padding: 0;
    border-bottom: 0;
}
body.aw-home .aw-dashboard-title-row { align-items: center !important; }
body.aw-home .aw-dashboard-title {
    color: #172033 !important;
    font-size: var(--aw-fs-lg) !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    letter-spacing: 0 !important;
}
body.aw-home .aw-dashboard-refresh,
body.aw-home .aw-dashboard-title-row .cxd-Button,
body.aw-home .apexcharts-toolbar { display: none !important; }
body.aw-home .aw-dashboard-head .cxd-Form { margin: 0 !important; }
body.aw-home .aw-dashboard-head .cxd-Form-group { margin: 0 !important; }
body.aw-home .aw-dashboard-head .cxd-Select {
    min-width: 96px;
    min-height: 30px !important;
    border-color: #e4e9ef !important;
    border-radius: 8px !important;
    font-size: var(--aw-fs-md) !important;
    font-weight: 500 !important;
    background: #fff !important;
}

body.aw-home .aw-board-apps .aw-dashboard-card,
body.aw-home .aw-board-apps .amis-scope,
body.aw-home .aw-board-apps .cxd-Service.aw-dashboard-card {
    height: auto !important;
}
body.aw-home .aw-chart-empty {
    padding: 48px 12px;
    color: #94a3b8;
    font-size: var(--aw-fs-lg);
    text-align: center;
}
body.aw-home .aw-chart {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 0 !important;
}
body.aw-home .aw-chart-kpis {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    margin: 0 0 8px 2px;
}
body.aw-home .aw-chart-kpi {
    display: flex;
    align-items: baseline;
    gap: 6px;
    color: #64748b;
    font-size: var(--aw-fs-xs);
    font-weight: 500;
    line-height: 1.4;
}
body.aw-home .aw-chart-kpi i {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 99px;
    background: var(--aw, #6366f1);
    align-self: center;
}
body.aw-home .aw-chart-kpi b {
    color: #111827;
    font-size: var(--aw-fs-md);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
body.aw-home .aw-chart-legend {
    display: flex;
    gap: 14px;
    margin: 0 0 6px 2px;
    color: #64748b;
    font-size: var(--aw-fs-xs);
    font-weight: 500;
    line-height: 1.4;
}
body.aw-home .aw-chart-legend i {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 6px;
    border-radius: 99px;
    vertical-align: middle;
}
body.aw-home .aw-chart-wrap,
body.aw-home .cxd-Tpl.aw-chart-wrap,
body.aw-home .aw-chart,
body.aw-home .aw-chart-plot {
    width: 100% !important;
    max-width: none !important;
}
body.aw-home .aw-chart-plot {
    flex: 0 0 auto;
    height: auto;
    margin: 0;
    padding: 0;
}
body.aw-home .aw-chart-svg {
    width: 100%;
    height: auto !important;
    max-height: 200px;
    aspect-ratio: 960 / 180;
    display: block;
    max-width: none;
}
body.aw-home .aw-chart-svg.aw-chart-svg-wide {
    max-height: 220px;
    aspect-ratio: 1280 / 180;
}
body.aw-home .aw-chart-svg :is(path[stroke], line, circle) {
    vector-effect: non-scaling-stroke;
}
body.aw-home .aw-chart-svg text {
    font-family: var(--aw-font, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif);
}
body.aw-home .aw-chart-svg text.aw-chart-axis {
    fill: #64748b;
    font-size: var(--aw-fs-xs);
    font-weight: 500;
}
body.aw-home .aw-chart-hit {
    cursor: crosshair;
}
body.aw-home .aw-chart-guide,
body.aw-home .aw-chart-focus,
body.aw-home .aw-chart-tooltip {
    opacity: 0;
    pointer-events: none;
    transition: opacity 120ms ease;
}
body.aw-home .aw-chart-hit:hover .aw-chart-guide,
body.aw-home .aw-chart-hit:hover .aw-chart-focus,
body.aw-home .aw-chart-hit:hover .aw-chart-tooltip,
body.aw-home .aw-chart-hit:focus .aw-chart-guide,
body.aw-home .aw-chart-hit:focus .aw-chart-focus,
body.aw-home .aw-chart-hit:focus .aw-chart-tooltip {
    opacity: 1;
}
body.aw-home .aw-chart-hit:focus {
    outline: none;
}
body.aw-home .aw-chart-guide {
    stroke: #94a3b8;
    stroke-width: 1;
    stroke-dasharray: 3 3;
}
body.aw-home .aw-chart-tooltip rect {
    fill: rgba(15, 23, 42, 0.94);
    stroke: rgba(255, 255, 255, 0.16);
    stroke-width: 1;
    filter: drop-shadow(0 6px 12px rgba(15, 23, 42, 0.18));
}
body.aw-home .aw-chart-tooltip-title {
    fill: #fff;
    font-size: var(--aw-fs-xs);
    font-weight: 600;
}
body.aw-home .aw-chart-tooltip-label {
    fill: #cbd5e1;
    font-size: var(--aw-fs-xs);
}
body.aw-home .aw-chart-tooltip-value {
    fill: #fff;
    font-size: var(--aw-fs-xs);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

body.aw-home .aw-status {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 168px;
    padding: 4px 4px 0;
}
body.aw-home .aw-status-ring {
    flex: 0 0 118px;
    width: 118px;
    height: 118px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 10px solid #e8eef3;
    border-top-color: #14b8a6;
    border-right-color: #14b8a6;
    border-radius: 50%;
}
body.aw-home .aw-status-ring b {
    color: #1f2937;
    font-size: var(--aw-fs-ring);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
}
body.aw-home .aw-status-ring span {
    margin-top: 6px;
    color: #9aa3af;
    font-size: var(--aw-fs-md);
}
body.aw-home .aw-status-list {
    flex: 1;
    margin: 0;
    padding: 0;
    list-style: none;
}
body.aw-home .aw-status-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
}
body.aw-home .aw-status-list li + li { border-top: 1px solid #f1f4f7; }
body.aw-home .aw-status-list i {
    width: 8px;
    height: 8px;
    border-radius: 99px;
    background: #14b8a6;
}
body.aw-home .aw-status-list li:nth-child(2) i { background: #94a3b8; }
body.aw-home .aw-status-list li:nth-child(3) i { background: #f59e0b; }
body.aw-home .aw-status-list span {
    flex: 1;
    color: #6b7280;
    font-size: var(--aw-fs-lg);
}
body.aw-home .aw-status-list b {
    color: #1f2937;
    font-size: var(--aw-fs-xl);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

body.aw-home .App_Admin_Metrics_Examples_NewUsers .card-header,
body.aw-home .App_Admin_Metrics_Examples_NewUsers .box-header {
    min-height: 48px;
    padding: 16px 22px 8px !important;
    background: transparent !important;
    border-bottom: 0 !important;
}
body.aw-home .App_Admin_Metrics_Examples_NewUsers .card-title {
    font-size: var(--aw-fs-2xl) !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: #172033 !important;
}
body.aw-home .App_Admin_Metrics_Examples_NewUsers .dropdown button,
body.aw-home .App_Admin_Metrics_Examples_NewUsers .btn-light {
    min-height: 30px;
    border: 1px solid #e4e9ef !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #334155 !important;
    font-size: var(--aw-fs-lg);
    font-weight: 500;
    box-shadow: none !important;
}
body.aw-home .App_Admin_Metrics_Examples_NewUsers .card-body {
    min-height: 230px;
    padding: 4px 20px 18px !important;
    background: transparent !important;
    overflow: visible !important;
}
body.aw-home .App_Admin_Metrics_Examples_NewUsers .apexcharts-canvas {
    overflow: visible !important;
}
body.aw-home .App_Admin_Metrics_Examples_NewUsers .apexcharts-legend-text,
body.aw-home .App_Admin_Metrics_Examples_NewUsers .apexcharts-text,
body.aw-home .App_Admin_Metrics_Examples_NewUsers .apexcharts-xaxis-label,
body.aw-home .App_Admin_Metrics_Examples_NewUsers .apexcharts-yaxis-label,
body.aw-home .App_Admin_Metrics_Examples_NewUsers .apexcharts-xaxis-label tspan,
body.aw-home .App_Admin_Metrics_Examples_NewUsers .apexcharts-yaxis-label tspan {
    color: #64748b !important;
    fill: #64748b !important;
    font-family: var(--aw-font, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif) !important;
    font-size: var(--aw-fs-xs) !important;
    font-weight: 500 !important;
}
body.aw-home .App_Admin_Metrics_Examples_NewUsers .apexcharts-tooltip,
body.aw-home .App_Admin_Metrics_Examples_NewUsers .apexcharts-tooltip-title,
body.aw-home .App_Admin_Metrics_Examples_NewUsers .apexcharts-tooltip-text {
    font-family: var(--aw-font, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif) !important;
    font-size: var(--aw-fs-xs) !important;
}
body.aw-home .card-header,
body.aw-home .box-header,
body.aw-home .card-footer,
body.aw-home .box-footer {
    background: transparent !important;
}

@media (max-width: 1599px) {
    body.aw-home .aw-board-mid { grid-template-columns: minmax(220px, 28%) minmax(0, 1fr); }
}
@media (max-width: 1399px) {
    body.aw-home .content-wrapper .content { padding: 24px 16px 24px !important; }
    body.aw-home .aw-board-kpis.is-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    body.aw-home .aw-board-kpis.is-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.aw-home .aw-board-mid { grid-template-columns: 1fr; }
    body.aw-home .aw-status { min-height: 0; }
}
@media (max-width: 1199px) {
    body.aw-home .aw-board-kpis.is-3,
    body.aw-home .aw-board-kpis.is-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.aw-home .aw-board-apps,
    body.aw-home .aw-board-bot { grid-template-columns: 1fr; }
    body.aw-home .aw-top-table .is-name { max-width: none; }
}
@media (max-width: 767px) {
    body.aw-home .content-wrapper .content { padding: 20px 14px 20px !important; }
    body.aw-home .aw-board-kpis,
    body.aw-home .aw-board-kpis.is-3,
    body.aw-home .aw-board-kpis.is-4,
    body.aw-home .aw-board-kpis.is-5,
    body.aw-home .aw-board-mid,
    body.aw-home .aw-board-apps,
    body.aw-home .aw-board-bot {
        grid-template-columns: 1fr;
    }
    body.aw-home .aw-kpi { padding: 14px 16px 12px; }
    body.aw-home .aw-status { flex-direction: column; align-items: flex-start; min-height: 0; }
    body.aw-home .aw-board-toolbar { align-items: flex-start; }
    body.aw-home .aw-board-hint { width: 100%; }
}

.app-form-hint {
    background: #f8fafc;
    border: 1px solid #e8ecf4;
    border-radius: 8px;
    padding: 10px 14px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.55;
}
.app-form-sec {
    margin: 8px 0 4px;
    padding: 0 0 6px;
    border-bottom: 1px solid #eef1f8;
    font-size: 14px;
    font-weight: 650;
    color: #1e293b;
}
.dcat-box .form-group:has(.app-form-hint),
.dcat-box .form-group:has(.app-form-sec) {
    margin-bottom: 12px;
}
.dcat-box .nav-tabs {
    padding: 0 8px;
}
.dcat-box .nav-tabs .nav-link {
    font-size: 13px;
    font-weight: 650;
}
form:has(input[name="product_os"]) .box-footer,
form:has(input[name="product_os"]) .card-footer {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.app-form-actions {
    display: flex !important;
    align-items: center;
    gap: 16px;
    margin-left: auto;
}
.app-form-actions .btn,
.app-form-actions .btn.btn-primary,
.app-form-actions .btn.btn-white {
    margin: 0 !important;
    min-width: 104px;
    height: 38px;
    padding: 0 18px !important;
}

/* -----------------------------------------------------------------
   列表顶栏统一：左工具（描边） / 右操作（新增才实心）
----------------------------------------------------------------- */
.aw-toolbar,
.custom-data-table-header .top,
.dcat-box > .d-block.pb-0 > .d-md-flex {
    justify-content: flex-start !important;
}
.aw-toolbar-left,
.aw-toolbar-right {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}
.aw-toolbar-left .pull-left,
.aw-toolbar-right .pull-right,
.aw-toolbar-left .float-left,
.aw-toolbar-right .float-right {
    float: none !important;
    margin: 0 !important;
}
.aw-toolbar-right {
    margin-left: auto !important;
}
/* -----------------------------------------------------------------
   全站按钮只画一层。Dcat 把刷新/筛选/导出也标成 btn-primary，
   所以默认按描边；只有明确的主操作才实心。不要渐变、不要外发光。
----------------------------------------------------------------- */
body .btn-group,
body .btn-group.dropdown,
body .filter-button-group,
body .dropdown:has(> .btn),
body .grid-create-btn.btn-group,
body .aw-toolbar .btn-group,
body .aw-toolbar .dropdown,
body .custom-data-table-header .btn-group,
body .dcat-box .btn-group,
body .dcat-box .dropdown:has(> .btn),
body form .btn-group,
body .modal .btn-group {
    background: none !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    overflow: visible !important;
}

body .btn,
body button.btn,
body a.btn,
body input.btn,
body .btn-mini,
body .btn-sm,
body .btn-lg,
body .btn.dropdown-toggle,
body .cxd-Button,
body .swal2-styled,
body .layui-layer-btn a {
    -webkit-appearance: none !important;
    appearance: none !important;
    overflow: hidden !important;
    background-clip: padding-box !important;
    background-image: none !important;
    box-shadow: none !important;
    outline: none !important;
    border-radius: 8px !important;
}
body .btn::before,
body .btn::after,
body .cxd-Button::before,
body .cxd-Button::after {
    display: none !important;
    content: none !important;
    background: none !important;
    box-shadow: none !important;
}
body .btn-group > .btn,
body .btn-group > .btn:first-child,
body .btn-group > .btn:last-child,
body .btn-group > .btn:not(:first-child),
body .btn-group > .btn:not(:last-child),
body .filter-button-group > .btn,
body .dropdown > .btn {
    border-radius: 8px !important;
}

body .btn,
body button.btn,
body a.btn,
body input.btn,
body .btn.btn-primary,
body .btn.btn-info,
body .btn.btn-success,
body .btn.btn-warning,
body .btn.btn-default,
body .btn.btn-secondary,
body .btn.btn-white,
body .btn.btn-light,
body .btn.btn-outline,
body .btn.btn-outline-primary,
body .btn.dropdown-toggle,
body .btn-mini,
body .grid-refresh,
body .filter-button,
body .filter-btn,
body .grid-filter-button,
body .grid-export .btn,
body .grid-export-btn,
body .btn-third-drama-library,
body .aw-toolbar .btn,
body .aw-toolbar-left .btn,
body .custom-data-table-header .btn,
body [data-responsive-table-toolbar] .btn,
body .filter-button-group .btn,
body .btn-group > .btn,
body form .btn-white,
body form .btn[type="reset"],
body .modal-footer .btn-default,
body .modal-footer .btn-white,
body .modal-footer .btn[type="button"]:not(.btn-primary):not(.btn-danger),
body .app-form-actions .btn-white,
body .app-form-prev,
.amis-scope .cxd-Button,
.amis-scope .cxd-Button--primary,
.amis-scope .cxd-Button--info,
.amis-scope .cxd-Button--default,
.swal2-styled.swal2-cancel,
.layui-layer-btn a.layui-layer-btn1 {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    color: #e8edf5 !important;
    border: 1px solid rgba(255,255,255,.16) !important;
    box-shadow: none !important;
}
body .btn:hover,
body .btn.btn-primary:hover,
body .btn.dropdown-toggle:hover,
body .aw-toolbar .btn:hover,
body .filter-button:hover,
body .filter-btn:hover,
body .grid-refresh:hover,
body .grid-export .btn:hover,
.amis-scope .cxd-Button:hover,
.swal2-styled.swal2-cancel:hover {
    background: rgba(251,191,36,0.1) !important;
    background-image: none !important;
    color: #fbbf24 !important;
    border-color: rgba(251,191,36,.4) !important;
    box-shadow: none !important;
}
body .btn:focus,
body .btn.active,
body .btn.show,
body .btn[aria-expanded="true"],
body .filter-button.active,
body .filter-btn.active {
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}

body .grid-create-btn .btn,
body .grid-create-btn a.btn,
body .grid-create-btn a,
body a.btn[href*="/create"]:not(.btn-danger),
body form .box-footer .btn-primary:not(.dropdown-toggle),
body form .card-footer .btn-primary:not(.dropdown-toggle),
body form .form-footer .btn-primary:not(.dropdown-toggle),
body form button.btn[type="submit"],
body form input.btn[type="submit"],
body form .btn.submit,
body .app-form-next,
body .app-form-actions .btn-primary,
body .btn-primary.submit,
body .filter-box .btn-primary:not(.filter-button):not(.filter-btn):not(.grid-filter-button):not(.grid-refresh),
body .filter-container .btn-primary:not(.filter-button):not(.filter-btn):not(.grid-filter-button):not(.grid-refresh),
body .filter-right .btn-primary:not(.filter-button):not(.filter-btn):not(.grid-filter-button),
body .filter-box button[type="submit"],
body .filter-container button[type="submit"],
body .modal-footer .btn-primary,
body .modal .box-footer .btn-primary,
body .modal-footer button[type="submit"],
body .btn-import-page,
body .btn-bunny-import,
body .btn-import.btn-primary,
body #third-drama-jump-btn.btn,
.swal2-styled.swal2-confirm,
.layui-layer-btn a.layui-layer-btn0 {
    background: #f59e0b !important;
    background-color: #f59e0b !important;
    background-image: none !important;
    color: var(--aw-on-gold, #fff8eb) !important;
    -webkit-text-fill-color: var(--aw-on-gold, #fff8eb) !important;
    border: 1px solid #f59e0b !important;
    box-shadow: none !important;
}
body .grid-create-btn .btn:hover,
body a.btn[href*="/create"]:not(.btn-danger):hover,
body form button.btn[type="submit"]:hover,
body .filter-box button[type="submit"]:hover,
body .modal-footer .btn-primary:hover,
body .app-form-next:hover,
body .btn-import-page:hover,
body #third-drama-jump-btn.btn:hover,
.swal2-styled.swal2-confirm:hover,
.layui-layer-btn a.layui-layer-btn0:hover {
    background: #d97706 !important;
    background-color: #d97706 !important;
    background-image: none !important;
    color: var(--aw-on-gold, #fff8eb) !important;
    -webkit-text-fill-color: var(--aw-on-gold, #fff8eb) !important;
    border-color: #d97706 !important;
    box-shadow: none !important;
}

body .btn.btn-danger,
body .btn.btn-outline-danger,
.amis-scope .cxd-Button--danger,
.swal2-styled.swal2-deny {
    background: transparent !important;
    background-image: none !important;
    color: #f87171 !important;
    border: 1px solid rgba(248,113,113,.35) !important;
    box-shadow: none !important;
}
body .btn.btn-danger:hover,
.swal2-styled.swal2-deny:hover {
    background: rgba(248,113,113,.12) !important;
    background-image: none !important;
    color: #fca5a5 !important;
    border-color: rgba(248,113,113,.45) !important;
}

/* 头像下拉不再放「设置」：那是个人资料页，和系统设置重名，改密码走「权限 → 管理员」 */
.header-navbar .dropdown-user a[href*="auth/setting"],
.main-header .dropdown-menu a[href*="auth/setting"] {
    display: none !important;
}
.header-navbar .navbar-container ul.nav li.dropdown-user .dropdown-menu-right .dropdown-item:hover,
.header-navbar .navbar-container ul.nav li.dropdown-user .dropdown-menu-right .dropdown-item:focus,
.header-navbar .navbar-container ul.nav li.dropdown-user .dropdown-menu-right .dropdown-item:active,
.header-navbar .navbar-container ul.nav li.dropdown-user .dropdown-menu-right .dropdown-item.active,
.header-navbar .navbar-container ul.nav li.dropdown-user .dropdown-menu .dropdown-item:hover,
.header-navbar .navbar-container ul.nav li.dropdown-user .dropdown-menu .dropdown-item:focus,
.header-navbar .navbar-container ul.nav li.dropdown-user .dropdown-menu .dropdown-item:active {
    background: #eef2ff !important;
    color: #3730a3 !important;
}
.header-navbar .navbar-container ul.nav li.dropdown-user .dropdown-menu-right .dropdown-item:hover *,
.header-navbar .navbar-container ul.nav li.dropdown-user .dropdown-menu-right .dropdown-item:focus *,
.header-navbar .navbar-container ul.nav li.dropdown-user .dropdown-menu-right .dropdown-item:active *,
.header-navbar .navbar-container ul.nav li.dropdown-user .dropdown-menu-right .dropdown-item:hover i,
.header-navbar .navbar-container ul.nav li.dropdown-user .dropdown-menu-right .dropdown-item:hover i::before,
.header-navbar .navbar-container ul.nav li.dropdown-user .dropdown-menu-right .dropdown-item:hover span {
    color: #3730a3 !important;
}

/* 推送选剧 */
.form-group:has(.aw-push-picker) > .control-label { display: none !important; }
.form-group:has(.aw-push-picker) > [class*="col-"] {
    max-width: 100% !important;
    flex: 0 0 100% !important;
    width: 100% !important;
}
.aw-push-picker { margin: 0 0 8px; }
.aw-push-picker-label {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin: 0 0 6px;
}
.aw-push-picker-q { margin-bottom: 8px !important; }
.aw-push-picker-list {
    max-height: 300px;
    overflow: auto;
    border: 1px solid #dde3f0;
    border-radius: 8px;
    background: #fff;
}
.aw-push-picker-list[hidden] { display: none !important; }
.aw-push-picker-empty {
    padding: 18px 12px;
    color: #94a3b8;
    text-align: center;
    font-size: 13px;
}
.aw-push-picker-item {
    display: flex;
    gap: 10px;
    align-items: center;
    width: 100%;
    padding: 8px 10px;
    border: 0;
    border-bottom: 1px solid #f1f5f9;
    background: #fff;
    text-align: left;
    cursor: pointer;
}
.aw-push-picker-item:hover,
.aw-push-picker-item.is-on { background: #eef2ff; }
.aw-push-picker-item img,
.aw-push-picker-ph {
    width: 40px;
    height: 56px;
    object-fit: cover;
    border-radius: 4px;
    background: #f1f5f9;
    flex: none;
}
.aw-push-picker-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.aw-push-picker-copy .t { font-size: 13px; color: #0f172a; font-weight: 600; }
.aw-push-picker-copy .m { font-size: 12px; color: #64748b; }
.aw-push-picker-picked {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    padding: 8px 10px;
    border: 1px solid #c7d2fe;
    border-radius: 8px;
    background: #eef2ff;
}
.aw-push-picker-picked[hidden] { display: none !important; }
.aw-push-picker-cover {
    width: 36px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    background: #fff;
    flex: none;
}
.aw-push-picker-picked-copy { flex: 1; min-width: 0; }
.aw-push-picker-title { font-size: 13px; font-weight: 600; color: #312e81; }
.aw-push-picker-meta { font-size: 12px; color: #6366f1; }
.aw-push-picker-order { margin-top: 12px; }
.aw-push-picker-ep { max-width: 360px; }

/* 推送工作台：上方发送设置，下方内容编辑 */
.aw-push-workbench {
    max-width: 1180px;
    margin: 0 auto;
    padding: 2px 8px 12px;
}
.aw-push-section {
    min-width: 0;
    padding: 20px 22px;
}
.aw-push-scope {
    border: 1px solid #e5eaf2;
    border-radius: 12px 12px 0 0;
    background: #f8faff;
}
.aw-push-main {
    border: 1px solid #e5eaf2;
    border-top: 0;
    border-radius: 0 0 12px 12px;
    background: #fff;
}
.aw-push-section-head {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 16px;
    border-bottom: 1px solid #e9edf4;
}
.aw-push-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #172033;
    font-size: 15px;
    line-height: 24px;
    font-weight: 700;
}
.aw-push-section-title::before {
    display: inline-grid;
    place-items: center;
    width: 23px;
    height: 23px;
    border-radius: 7px;
    background: #6558e8;
    color: #fff;
    font-size: 12px;
}
.aw-push-scope .aw-push-section-title::before { content: "1"; }
.aw-push-main .aw-push-section-title::before { content: "2"; }
.aw-push-section-hint {
    color: #8a94a7;
    font-size: 12px;
}
.aw-push-scope-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.5fr) minmax(160px, .75fr) minmax(180px, .75fr);
    gap: 16px;
}
.aw-push-editor-grid {
    display: grid;
    grid-template-columns: minmax(280px, .9fr) minmax(380px, 1.1fr);
    gap: 24px;
    align-items: start;
}
.aw-push-copy,
.aw-push-media { min-width: 0; }
.aw-push-copy {
    padding-right: 24px;
    border-right: 1px solid #edf0f5;
}
.aw-push-workbench .form-group {
    margin-right: 0 !important;
    margin-left: 0 !important;
    margin-bottom: 13px !important;
}
.aw-push-workbench .form-group > .control-label {
    width: 100% !important;
    max-width: none !important;
    flex: 0 0 100% !important;
    padding: 0 0 6px !important;
    color: #465166;
    font-size: 12px;
    text-align: left !important;
}
.aw-push-workbench .form-group > [class*="col-"] {
    width: 100% !important;
    max-width: none !important;
    flex: 0 0 100% !important;
    padding: 0 !important;
}
.aw-push-workbench textarea.form-control { min-height: 76px; }
.aw-push-main textarea[name="body"] { min-height: 132px; }
.aw-push-workbench .help-block {
    margin: 5px 0 0 !important;
    color: #919bad !important;
    font-size: 11px !important;
    line-height: 17px;
}
.aw-push-broadcast-note {
    padding: 8px 11px;
    margin: 0 0 10px;
    border-left: 3px solid #7669ea;
    border-radius: 0 6px 6px 0;
    background: #f1f3ff;
    color: #56627a;
    font-size: 12px;
    line-height: 18px;
}
.aw-push-broadcast-note span {
    display: inline-block;
    margin-right: 7px;
    color: #5548d9;
    font-weight: 700;
}
.aw-push-advanced {
    overflow: hidden;
    margin-top: 0;
    border: 1px solid #e4e8f0;
    border-radius: 7px;
    background: rgba(255,255,255,.7);
}
.aw-push-advanced summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 12px;
    color: #465166;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}
.aw-push-advanced summary::-webkit-details-marker { display: none; }
.aw-push-advanced summary::after {
    content: "＋";
    color: #7c86a0;
    font-size: 16px;
    font-weight: 400;
}
.aw-push-advanced[open] summary::after { content: "−"; }
.aw-push-advanced summary small {
    margin-left: auto;
    margin-right: 8px;
    color: #9aa3b5;
    font-size: 11px;
    font-weight: 400;
}
.aw-push-advanced-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 14px;
    padding: 12px 12px 2px;
    border-top: 1px solid #e9edf4;
    background: #fff;
}
.aw-push-form .box-footer,
.aw-push-form .card-footer {
    padding: 14px 20px !important;
    border-top: 1px solid #edf1f7 !important;
    background: #fafbfe !important;
}
.aw-push-form .box-footer .btn-primary,
.aw-push-form .card-footer .btn-primary {
    min-width: 96px;
}
.aw-push-workbench .aw-push-picker { margin-top: 2px; }
.aw-push-workbench .aw-push-picker-order { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 8px 12px; align-items: center; }
.aw-push-workbench .aw-push-picker-order .aw-push-picker-label { margin: 0; }
.aw-push-workbench .aw-push-picker-order .help-block { grid-column: 2; }
.aw-push-workbench .aw-push-picker-ep { max-width: none; }
.aw-push-media .web-uploader { margin-top: 0 !important; }
.aw-push-media .web-uploader .placeholder {
    min-height: 104px;
    padding: 16px 10px 6px !important;
    border: 1px dashed #cfd6e6 !important;
    border-radius: 8px !important;
    background: #fafbfe !important;
}
.aw-push-media .web-uploader .placeholder .webuploader-pick {
    margin-bottom: 8px !important;
}
.aw-push-media .web-uploader .placeholder p {
    margin-bottom: 8px !important;
    font-size: 12px;
}

@media (max-width: 980px) {
    .aw-push-scope-grid,
    .aw-push-editor-grid { grid-template-columns: 1fr; }
    .aw-push-copy {
        padding-right: 0;
        padding-bottom: 4px;
        border-right: 0;
        border-bottom: 1px solid #edf0f5;
    }
}
@media (max-width: 640px) {
    .aw-push-section { padding: 16px; }
    .aw-push-section-head { display: block; }
    .aw-push-section-hint { margin-top: 4px; }
    .aw-push-advanced-body { grid-template-columns: 1fr; }
}

/* 消息推送 v2：高保真工作台 */
.sn-push-page .content-header { display: none !important; }
.sn-push-page .content-wrapper { background: #f4f5fa !important; }
.sn-push-page .content { padding: 18px 24px 0 !important; }
.sn-push-page .content > .row,
.sn-push-page .content > .row > [class*="col-"] {
    margin: 0 !important;
    padding: 0 !important;
}
.sn-push-page .sn-push-form > .box-body,
.sn-push-page .sn-push-form > .card-body {
    padding: 0 !important;
    background: transparent !important;
}
.sn-push-page .sn-push-form .box,
.sn-push-page .sn-push-form .card {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
.sn-push-page .sn-push-form > .box-footer[hidden],
.sn-push-page .sn-push-form > .card-footer[hidden] {
    display: none !important;
}
.sn-push-shell {
    --push-purple: #6447ec;
    --push-purple-dark: #5438e0;
    --push-border: #e7e8ef;
    --push-text: #171a26;
    --push-muted: #7c8293;
    width: 100%;
    max-width: 1510px;
    margin: 0;
    color: var(--push-text);
    font-size: 13px;
}
.sn-push-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    margin-bottom: 12px;
}
.sn-push-title-row {
    display: flex;
    align-items: baseline;
    gap: 16px;
}
.sn-push-title-row h1 {
    margin: 0;
    color: #181b27;
    font-size: 23px;
    line-height: 1.2;
    font-weight: 700;
}
.sn-push-title-row span { color: #8a90a0; font-size: 13px; }
.sn-push-heading-actions { display: flex; gap: 12px; }
.sn-push-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    padding: 0 18px;
    border: 1px solid #e1e3eb;
    border-radius: 4px;
    background: #fff;
    color: #474d5e;
    font-size: 13px;
    line-height: 36px;
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.sn-push-btn:hover {
    border-color: #cfd2de;
    color: #242938;
    box-shadow: 0 2px 8px rgba(35, 40, 57, .06);
}
.sn-push-btn-primary {
    border-color: var(--push-purple);
    background: linear-gradient(135deg, #7255f2 0%, #5637e8 100%);
    color: #fff !important;
    box-shadow: 0 5px 12px rgba(100, 71, 236, .2);
}
.sn-push-btn-primary:hover { border-color: var(--push-purple-dark); background: #5a3ce5; }
.sn-push-layout {
    display: grid;
    grid-template-columns: minmax(560px, 1.73fr) minmax(360px, 1fr);
    gap: 12px;
    align-items: start;
}
.sn-push-editor,
.sn-push-side { display: grid; gap: 12px; min-width: 0; }
.sn-push-card {
    padding: 18px 20px;
    border: 1px solid var(--push-border);
    border-radius: var(--aw-surface-radius);
    background: #fff;
    box-shadow: 0 3px 12px rgba(35, 40, 57, .025);
}
.sn-push-card h2 {
    margin: 0 0 16px;
    color: #202331;
    font-size: 15px;
    line-height: 20px;
    font-weight: 700;
}
.sn-push-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(100px, 148px));
    gap: 12px;
    margin-bottom: 16px;
}
.sn-push-tab {
    height: 36px;
    border: 1px solid #e1e3eb;
    border-radius: 4px;
    background: #fff;
    color: #4c5262;
    font-size: 13px;
    cursor: pointer;
}
.sn-push-tab.is-active {
    border-color: #886ff5;
    background: #fbfaff;
    color: var(--push-purple);
    box-shadow: inset 0 0 0 1px rgba(100, 71, 236, .1);
}
.sn-push-field-grid {
    display: grid;
    gap: 14px;
}
.sn-push-field-grid-2 { grid-template-columns: 1fr 1fr; }
.sn-push-slot { min-width: 0; }
.sn-push-shell .form-group {
    position: relative;
    display: block !important;
    margin: 0 !important;
}
.sn-push-shell .form-group[hidden] { display: none !important; }
.sn-push-shell .form-group > .control-label,
.sn-push-shell .form-group > label.control-label {
    display: flex;
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 7px !important;
    padding: 0 !important;
    color: #424858;
    font-size: 13px;
    font-weight: 500;
    line-height: 20px;
    text-align: left !important;
}
.sn-push-shell .form-group > [class*="col-"] {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
}
.sn-push-shell .form-control,
.sn-push-shell .select2-container--default .select2-selection--single {
    min-height: 38px !important;
    border-color: #e1e3eb !important;
    border-radius: 4px !important;
    box-shadow: none !important;
}
.sn-push-shell .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-left: 12px !important;
    color: #343948 !important;
    line-height: 36px !important;
}
.sn-push-shell .select2-container--default .select2-selection--single .select2-selection__arrow { height: 36px !important; }
.sn-push-shell .form-control:focus,
.sn-push-shell .select2-container--open .select2-selection--single {
    border-color: #8b72f4 !important;
    box-shadow: 0 0 0 2px rgba(100, 71, 236, .08) !important;
}
.sn-push-shell .input-group-text {
    min-height: 38px;
    border-color: #e1e3eb !important;
}
.sn-push-shell .help-block {
    margin: 5px 0 0 !important;
    color: #9a9fac !important;
    font-size: 11px !important;
}
.sn-push-selection-note {
    display: flex;
    align-items: center;
    min-height: 42px;
    margin-top: 14px;
    padding: 0 14px;
    border: 1px solid #ddd8ff;
    border-radius: 4px;
    background: #f7f5ff;
    color: #6550d8;
}
.sn-push-selection-note i { margin-right: 9px; }
.sn-push-selection-note .sn-push-reselect {
    margin-left: auto;
    padding: 5px 12px;
    border: 1px solid #e0e1e9;
    border-radius: 3px;
    background: #fff;
    color: #545a6a;
}
.sn-push-target-detail { margin-top: 12px; }
.sn-push-target-detail:empty { display: none; }
.sn-push-advanced {
    margin-top: 14px;
    border: 1px solid #ececf2;
    border-radius: 4px;
    background: #fbfbfd;
}
.sn-push-advanced summary {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 14px;
    color: #555b6a;
    cursor: pointer;
    list-style: none;
}
.sn-push-advanced summary::-webkit-details-marker { display: none; }
.sn-push-filter-chips { display: flex; gap: 9px; margin-left: 24px; }
.sn-push-filter-chips em {
    padding: 3px 9px;
    border-radius: 3px;
    background: #f2f2f6;
    color: #767b89;
    font-size: 11px;
    font-style: normal;
}
.sn-push-advanced summary > i { margin-left: auto; transition: transform .18s ease; }
.sn-push-advanced[open] summary > i { transform: rotate(180deg); }
.sn-push-advanced-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 14px;
    border-top: 1px solid #ececf2;
    background: #fff;
}
.sn-push-static-field label {
    display: block;
    margin: 0 0 7px;
    color: #424858;
    font-size: 13px;
    font-weight: 500;
}
.sn-push-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.9fr) minmax(185px, .9fr);
    gap: 34px;
}
.sn-push-copy-fields { min-width: 0; }
.sn-push-copy-fields > .sn-push-slot + .sn-push-slot { margin-top: 14px; }
.sn-push-copy-fields textarea.form-control {
    min-height: 108px !important;
    resize: vertical;
}
.sn-char-count {
    margin-left: auto;
    color: #a0a4b0;
    font-size: 11px;
    font-weight: 400;
}
.sn-push-copy-tools { display: flex; gap: 10px; margin-top: 10px; }
.sn-push-tool-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 30px;
    padding: 0 12px;
    border: 1px solid #e4e5ec;
    border-radius: 3px;
    background: #fff;
    color: #565b6a;
    font-size: 12px;
    cursor: pointer;
}
.sn-push-template-menu { position: relative; }
.sn-push-template-menu > summary { list-style: none; user-select: none; }
.sn-push-template-menu > summary::-webkit-details-marker { display: none; }
.sn-push-template-menu[open] > summary i { transform: rotate(180deg); }
.sn-push-template-list {
    position: absolute;
    z-index: 30;
    left: 0;
    bottom: 36px;
    width: 230px;
    padding: 6px;
    border: 1px solid #e5e7ef;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(34, 39, 59, .14);
}
.sn-push-template-list button {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 9px 10px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #343846;
    text-align: left;
}
.sn-push-template-list button:hover { background: #f4f2ff; }
.sn-push-template-list strong { font-size: 12px; font-weight: 600; }
.sn-push-template-list span { margin-top: 2px; color: #9297a6; font-size: 11px; }
.sn-push-form .fields-group > .form-group {
    display: none !important;
}
.sn-push-form .sn-push-shell .form-group {
    display: block !important;
}
.sn-push-form .sn-push-shell .form-group[hidden] {
    display: none !important;
}
body.sn-push-page #toast-container {
    display: none !important;
}
.sn-push-sent-notice {
    position: fixed;
    z-index: 12000;
    top: 16px;
    right: 20px;
    display: flex;
    align-items: flex-start;
    gap: 11px;
    width: min(340px, calc(100vw - 32px));
    padding: 13px 15px;
    border: 1px solid #ddd8ff;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(50, 43, 91, .16);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease;
}
.sn-push-sent-notice.is-visible { opacity: 1; transform: translateY(0); }
.sn-push-sent-notice.is-error { border-color: #f1c8cd; }
.sn-push-sent-notice.is-error > span { background: #fdecee; color: #c23c4a; }
.sn-push-sent-notice.is-error strong { color: #c23c4a; }
.sn-push-btn.is-sending { opacity: .72; pointer-events: none; }
.sn-push-sent-notice > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 8px;
    background: #ede9fe;
    color: #6548e8;
}
.sn-push-sent-notice strong {
    display: block;
    margin-top: 1px;
    color: #29263a;
    font-size: 13px;
    line-height: 18px;
}
.sn-push-sent-notice p {
    margin: 2px 0 0;
    color: #777b8d;
    font-size: 11px;
    line-height: 17px;
}
.sn-push-cover-slot .web-uploader {
    margin: 0 !important;
    border: 1px dashed #cfd2dc !important;
    border-radius: 5px !important;
    background: #fbfbfd !important;
}
.sn-push-cover-slot .web-uploader .placeholder {
    min-height: 143px !important;
    padding: 31px 10px 12px !important;
    border: 0 !important;
    background: transparent !important;
}
.sn-push-cover-slot .web-uploader .placeholder::before {
    content: "推荐尺寸\A 750 × 400";
    display: block;
    margin-bottom: 13px;
    color: #666c7c;
    font-family: inherit !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    white-space: pre;
    text-align: center;
    line-height: 21px;
}
.sn-push-cover-slot .web-uploader .placeholder p { display: none !important; }
.sn-push-cover-slot .web-uploader .webuploader-pick {
    padding: 7px 16px !important;
    border: 1px solid #e2e3ea !important;
    border-radius: 3px !important;
    background: #fff !important;
    color: #5a5f6e !important;
}
.sn-push-cover-slot .help-block { text-align: center; }
.sn-push-action-grid { grid-template-columns: minmax(150px, .9fr) minmax(240px, 1.6fr) minmax(130px, .85fr); }
.sn-push-action-grid .form-group,
.sn-push-action-grid .form-group > [class*="col-"],
.sn-push-action-grid .select2-container,
.sn-push-action-grid .select2-selection--single {
    min-width: 0 !important;
    max-width: 100% !important;
}
.sn-push-action-grid .select2-selection--single {
    overflow: hidden !important;
}
.sn-push-action-grid .select2-selection--single .select2-selection__rendered {
    display: block !important;
    overflow: hidden !important;
    max-width: 100% !important;
    padding-right: 36px !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}
.sn-push-summary dl { margin: 0; }
.sn-push-summary dl > div {
    display: grid;
    grid-template-columns: 105px 1fr;
    min-height: 35px;
    align-items: center;
}
.sn-push-summary dt { color: #7d8291; font-weight: 400; }
.sn-push-summary dd { margin: 0; color: #2b3040; }
.sn-push-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.sn-push-card-head h2 { margin-bottom: 12px; }
.sn-push-os-tabs { display: flex; align-self: stretch; gap: 26px; }
.sn-push-os-tabs button {
    position: relative;
    border: 0;
    background: transparent;
    color: #6f7483;
    font-size: 12px;
}
.sn-push-os-tabs button.is-active { color: var(--push-purple); }
.sn-push-os-tabs button.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--push-purple);
}
.sn-phone {
    max-width: 380px;
    margin: 0 auto;
    padding: 14px 10px 7px;
    border: 5px solid #313238;
    border-bottom: 0;
    border-radius: 36px 36px 0 0;
    background: #f7f7f8;
    box-shadow: inset 0 0 0 1px #cfd0d4;
}
.sn-phone.is-ios { border-radius: 42px 42px 0 0; background: #f2f2f5; }
.sn-phone-status {
    display: flex;
    justify-content: space-between;
    padding: 0 8px 8px;
    color: #272a31;
    font-size: 11px;
    font-weight: 600;
}
.sn-notification {
    overflow: hidden;
    padding: 11px;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 3px 9px rgba(31, 34, 44, .1);
}
.sn-notification-app {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 9px;
    color: #666b78;
    font-size: 10px;
}
.sn-notification-app b {
    display: inline-grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 5px;
    background: #4c42a4;
    color: #fff;
}
.sn-notification-app i { margin-left: auto; color: #252936; font-size: 7px; }
.sn-notification strong {
    display: block;
    overflow: hidden;
    color: #171a22;
    font-size: 14px;
    font-weight: 700;
    line-height: 21px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sn-notification p {
    display: -webkit-box;
    overflow: hidden;
    margin: 2px 0 8px;
    color: #686d79;
    font-size: 11px;
    line-height: 17px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.sn-preview-cover {
    display: grid;
    place-items: center;
    height: 151px;
    border-radius: 8px;
    background:
        radial-gradient(circle at 82% 28%, rgba(255,255,255,.48), transparent 14%),
        linear-gradient(135deg, #28234a 0%, #9b5b69 46%, #d7a66d 100%);
    background-position: center;
    background-size: cover;
    color: rgba(255,255,255,.78);
    font-size: 12px;
}
.sn-preview-cover.has-image span { display: none; }
.sn-phone-nav {
    display: flex;
    justify-content: space-around;
    padding: 13px 38px 4px;
    color: #808187;
    font-size: 10px;
}
.sn-push-confirm p {
    margin: -4px 0 15px;
    color: #7f8493;
    font-size: 12px;
}
.sn-push-confirm-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sn-push-bottom {
    position: sticky;
    z-index: 20;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
    margin: 14px 0 0;
    padding: 0 20px;
    border: 1px solid #e4e5ec;
    border-radius: var(--aw-surface-radius);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 -4px 16px rgba(32, 36, 48, .035);
    backdrop-filter: blur(8px);
}
.sn-push-bottom > div { display: flex; gap: 12px; }
.sn-push-next { min-width: 185px; }
.sn-push-modal[hidden] { display: none !important; }
.sn-push-modal {
    position: fixed;
    z-index: 2050;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
}
.sn-push-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 22, 34, .48);
    backdrop-filter: blur(2px);
}
.sn-push-modal-panel {
    position: relative;
    z-index: 1;
    width: min(440px, calc(100vw - 32px));
    padding: 28px;
    border: 1px solid #e5e6ed;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(21, 25, 38, .22);
    animation: sn-push-modal-in .16s ease-out;
}
@keyframes sn-push-modal-in {
    from { opacity: 0; transform: translateY(8px) scale(.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.sn-push-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #9296a3;
    font-size: 23px;
    line-height: 28px;
}
.sn-push-modal-close:hover { background: #f4f4f7; color: #4a4f5d; }
.sn-push-modal-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
    border-radius: 12px;
    background: #f0edff;
    color: var(--push-purple);
    font-size: 20px;
}
.sn-push-modal-panel h3 {
    margin: 0 0 8px;
    color: #1d2130;
    font-size: 19px;
    font-weight: 700;
}
.sn-push-modal-panel > p {
    margin: 0 0 18px;
    color: #777d8d;
    font-size: 13px;
    line-height: 21px;
}
.sn-push-modal-panel dl {
    margin: 0;
    padding: 12px 14px;
    border: 1px solid #ececf2;
    border-radius: 8px;
    background: #fafafd;
}
.sn-push-modal-panel dl > div {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 12px;
    padding: 6px 0;
}
.sn-push-modal-panel dt { color: #8b90a0; font-weight: 400; }
.sn-push-modal-panel dd {
    overflow: hidden;
    margin: 0;
    color: #303545;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sn-push-modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 20px;
}
.sn-push-modal-open { overflow: hidden !important; }
.sn-push-toast {
    position: fixed;
    z-index: 2200;
    top: 76px;
    right: 24px;
    padding: 11px 16px;
    border: 1px solid #dcdde6;
    border-radius: 8px;
    background: #fff;
    color: #363b49;
    box-shadow: 0 10px 28px rgba(24, 29, 43, .14);
}
.sn-push-toast.is-error { border-color: #f1c8cd; color: #c23c4a; }

/* -----------------------------------------------------------------
   24. 右侧内容曲面统一：页面级 16px，内部控件保留原有层级
----------------------------------------------------------------- */
.content-wrapper .content :is(.card, .box, .dcat-box) {
    background-clip: padding-box !important;
}
.content-wrapper .content :is(.card, .box, .dcat-box) > :is(.card-header, .box-header):first-child,
.content-wrapper .content form.card > :is(.card-header, .box-header):first-child {
    border-radius: var(--aw-surface-radius) var(--aw-surface-radius) 0 0 !important;
}
.content-wrapper .content :is(.card, .box, .dcat-box) > :is(.card-footer, .box-footer):last-child,
.content-wrapper .content form.card > :is(.card-footer, .box-footer):last-child {
    border-radius: 0 0 var(--aw-surface-radius) var(--aw-surface-radius) !important;
}
.content-wrapper .content :is(.card, .box, .dcat-box) > :is(.card-body, .box-body):first-child:last-child {
    border-radius: var(--aw-surface-radius) !important;
}

body.aw-home .aw-kpi,
body.aw-home .aw-dashboard-card,
.ops-wrap > .ops-card,
.oq-kpi,
.oq-card,
.sn-push-card,
.sn-push-bottom,
.third-drama-library-container > .card,
.bunny-library-container > .card {
    border-radius: var(--aw-surface-radius) !important;
}
.ops-wrap > .ops-card,
.oq-kpi,
.oq-card,
.sn-push-card,
.sn-push-bottom,
.third-drama-library-container > .card,
.bunny-library-container > .card {
    border: var(--aw-surface-border) !important;
    background: var(--aw-surface-bg) !important;
}
.ops-wrap > .ops-card,
.oq-card,
.third-drama-library-container > .card,
.bunny-library-container > .card,
.sn-push-card,
.sn-push-bottom {
    box-shadow: var(--aw-surface-shadow) !important;
}
.oq-card,
.third-drama-library-container > .card,
.bunny-library-container > .card {
    overflow: hidden !important;
}
/* 充值数据：灰底标题 + 一张白卡，日历/下拉绝对贴在输入框下 */
body.aw-recharge-review .content-header,
body.aw-recharge-review .content-header h1,
body.aw-recharge-review .breadcrumb {
    display: none !important;
}
body.aw-recharge-review .content-wrapper .content { padding: 16px 24px 28px !important; }
body.aw-recharge-review .content-wrapper .content > .row,
body.aw-recharge-review .content-wrapper .content > .row > [class*="col-"] {
    width: 100% !important;
    max-width: none !important;
    background: transparent !important;
    box-shadow: none !important;
}
.rr-page { width: 100%; color: #0f172a; }
.rr-page-title {
    margin: 0 0 16px;
    color: #0f172a;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
}
.rr-card {
    background: #fff;
    border: 1px solid #e4e9f2;
    border-radius: 16px;
    box-shadow: 0 10px 28px -22px rgba(15,23,42,.35);
    padding: 22px 24px 20px;
}
.rr-filter {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    margin: 0 0 18px;
    padding: 0 0 18px;
    border-bottom: 1px solid #eef1f5;
}
.rr-field { position: relative; display: flex; flex-direction: column; gap: 6px; margin: 0; }
.rr-field > span { color: #64748b; font-size: 12px; font-weight: 600; }
.rr-field-date { width: 210px; }
.rr-field-link { width: 240px; }
.rr-control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    background: #fff;
    color: #0f172a;
    font-size: 13px;
    text-align: left;
    cursor: pointer;
}
.rr-control em { font-style: normal; font-weight: 500; }
.rr-control svg { flex: 0 0 auto; color: #94a3b8; }
.rr-control.is-on, .rr-control:hover { border-color: #5b5cde; }
.rr-submit {
    min-height: 36px;
    padding: 0 18px;
    border: 0;
    border-radius: 6px;
    background: #5b5cde;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.rr-cal, .rr-menu {
    position: absolute;
    z-index: 40;
    top: calc(100% + 6px);
    left: 0;
    background: #fff;
    border: 1px solid #e8ebf2;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(15,23,42,.14);
}
.rr-cal { width: 210px; padding: 10px 12px; }
.rr-cal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    color: #0f172a;
    font-size: 13px;
    font-weight: 700;
}
.rr-cal-head button {
    width: 24px;
    height: 24px;
    border: 0;
    background: transparent;
    color: #64748b;
    font-size: 16px;
    cursor: pointer;
}
.rr-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    text-align: center;
}
.rr-cal-grid i, .rr-cal-grid span, .rr-cal-grid button {
    width: 26px;
    height: 26px;
    margin: 0 auto;
    border: 0;
    background: transparent;
    font-size: 12px;
    line-height: 26px;
}
.rr-cal-grid i { color: #94a3b8; font-style: normal; font-weight: 600; }
.rr-cal-grid i:first-child { color: #ef4444; }
.rr-cal-grid button { border-radius: 50%; color: #0f172a; cursor: pointer; }
.rr-cal-grid button.is-on, .rr-cal-grid button.is-on:hover {
    background: #5b5cde;
    color: #fff;
}
.rr-menu {
    width: 240px;
    max-height: 240px;
    overflow: auto;
    padding: 6px 0;
}
.rr-option {
    display: block;
    width: 100%;
    padding: 8px 12px;
    border: 0;
    background: transparent;
    color: #0f172a;
    font-size: 13px;
    text-align: left;
    cursor: pointer;
}
.rr-option.is-on, .rr-option:hover { background: #eef0ff; color: #5b5cde; }
.rr-kpis {
    display: flex;
    width: 100%;
    margin: 0 0 20px;
    padding: 2px 0 18px;
    border-bottom: 1px solid #eef1f5;
}
.rr-kpi { flex: 1; min-width: 0; padding: 0 24px; border-right: 1px solid #eef1f5; }
.rr-kpi:first-child { padding-left: 0; }
.rr-kpi:last-child { border-right: 0; padding-right: 0; }
.rr-label { margin-bottom: 8px; color: #94a3b8; font-size: 12px; font-weight: 500; }
.rr-value { color: #0f172a; font-size: 22px; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; }
.rr-unit { margin-left: 4px; color: #94a3b8; font-size: 12px; font-weight: 500; }
.rr-table-wrap h2 {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: 14px;
    font-weight: 700;
}
.rr-table { width: 100%; border-collapse: collapse; }
.rr-table th, .rr-table td {
    padding: 11px 14px;
    border: 0;
    text-align: left;
    font-size: 13px;
}
.rr-table th { background: #f5f6fa; color: #334155; font-size: 12px; font-weight: 600; }
.rr-table td { color: #0f172a; border-top: 1px solid #eef1f5; }
.rr-empty { color: #94a3b8; text-align: center !important; }

@media (max-width: 1190px) {
    .sn-push-layout { grid-template-columns: minmax(520px, 1.55fr) minmax(330px, 1fr); }
    .sn-push-content-grid { grid-template-columns: 1fr; gap: 18px; }
    .sn-push-action-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
    .sn-push-page .content { padding: 14px 16px 0 !important; }
    .sn-push-layout { grid-template-columns: 1fr; }
    .sn-push-side { grid-template-columns: 1fr 1fr; }
    .sn-push-preview { grid-row: span 2; }
    .sn-push-bottom { padding: 0 16px; }
}
@media (max-width: 700px) {
    .sn-push-heading,
    .sn-push-title-row { align-items: flex-start; }
    .sn-push-heading,
    .sn-push-title-row { flex-direction: column; gap: 6px; }
    .sn-push-heading-actions { width: 100%; margin-top: 10px; }
    .sn-push-heading-actions .sn-push-btn { flex: 1; }
    .sn-push-field-grid-2,
    .sn-push-action-grid,
    .sn-push-side,
    .sn-push-advanced-body { grid-template-columns: 1fr; }
    .sn-push-tabs { grid-template-columns: repeat(3, 1fr); }
    .sn-push-card { padding: 16px; }
    .sn-push-filter-chips { display: none; }
    .sn-push-preview { grid-row: auto; }
    .sn-push-bottom { gap: 12px; }
    .sn-push-bottom [data-push-draft] { display: none; }
    .sn-push-next { min-width: auto; }
}

/* 全局交互稳定层：PJAX 更新期间保留内容高度，不再出现整块塌陷或白屏闪动。 */
#pjax-container.aw-pjax-stable,
.content-wrapper .content.aw-pjax-stable {
    min-height: var(--aw-pjax-min-height, 240px) !important;
}
body.aw-pjax-busy {
    cursor: progress;
}
body.aw-pjax-busy::after {
    content: "";
    position: fixed;
    z-index: 16000;
    top: 0;
    left: 0;
    width: 34%;
    height: 2px;
    border-radius: 0 2px 2px 0;
    background: linear-gradient(90deg, #7357ef 0%, #9b87f5 55%, #7357ef 100%);
    box-shadow: 0 1px 6px rgba(99, 72, 225, .28);
    pointer-events: none;
    animation: aw-pjax-progress 1.05s ease-in-out infinite;
}
@keyframes aw-pjax-progress {
    0% { transform: translateX(-105%); }
    100% { transform: translateX(305%); }
}
@media (prefers-reduced-motion: reduce) {
    body.aw-pjax-busy::after {
        width: 100%;
        animation: none;
    }
}

/* 客户端工作台：顶栏胶囊 + 选择页 + 右侧新建抽屉 */
.aw-ws-pill {
    display: inline-flex;
    align-items: center;
    height: 32px;
    margin-left: 8px;
    padding: 0 14px;
    border: 1px solid #dbe2ea;
    border-radius: 999px;
    background: #fff;
    color: #0f172a !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: 0 1px 0 rgba(15,23,42,.04);
}
.aw-ws-pill:hover {
    border-color: #c7d2fe;
    color: #4338ca !important;
}
.aw-audience {
    display: inline-flex;
    align-items: center;
    height: 32px;
    margin-left: 8px;
    padding: 2px;
    border: 1px solid #dbe2ea;
    border-radius: 999px;
    background: #fff;
    vertical-align: middle;
}
.aw-audience__btn {
    display: inline-flex;
    align-items: center;
    height: 26px;
    padding: 0 12px;
    border-radius: 999px;
    color: #64748b !important;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none !important;
    line-height: 1;
}
.aw-audience__btn.is-on {
    background: #0f172a;
    color: #f8fafc !important;
}
.aw-audience__btn:hover {
    color: #0f172a !important;
}
body:not(.login-page):not(.aw-workspace-picker) .aw-audience {
    background: rgba(22,27,39,.92);
    border-color: rgba(255,255,255,.12);
}
body:not(.login-page):not(.aw-workspace-picker) .aw-audience__btn {
    color: #9aa6b8 !important;
}
body:not(.login-page):not(.aw-workspace-picker) .aw-audience__btn.is-on {
    background: rgba(251,191,36,.16);
    color: #fbbf24 !important;
}
html.aw-workspace-picker,
html.aw-workspace-picker body,
body.aw-workspace-picker {
    --aw-picker: 1;
    background: #0b0d14 !important;
    color: #e8edf5;
}
body.aw-workspace-picker .content-header,
body.aw-workspace-picker .breadcrumb,
body.aw-workspace-picker .main-sidebar,
body.aw-workspace-picker .main-footer,
body.aw-workspace-picker .navbar-nav .nav-item.d-md-none,
body.aw-workspace-picker [data-toggle="push-menu"],
body.aw-workspace-picker .sidebar-toggle,
body.aw-workspace-picker .navbar .nav-link[data-widget="pushmenu"],
body.aw-workspace-picker .navbar .fa-bars,
body.aw-workspace-picker .navbar [data-widget="pushmenu"] {
    display: none !important;
}
body.aw-workspace-picker .main-header,
body.aw-workspace-picker .navbar {
    margin-left: 248px !important;
    left: 0 !important;
    width: calc(100% - 248px) !important;
}
body.aw-workspace-picker .content-wrapper,
body.aw-workspace-picker.sidebar-mini .content-wrapper,
body.aw-workspace-picker.sidebar-mini.sidebar-collapse .content-wrapper {
    margin-left: 248px !important;
    left: 0 !important;
    width: calc(100% - 248px) !important;
}
body.aw-workspace-picker .main-header.navbar {
    background: rgba(11,13,20,.72) !important;
    border-bottom: 1px solid rgba(255,255,255,.06) !important;
    box-shadow: none !important;
    min-height: 64px;
    padding-left: 28px !important;
    padding-right: 20px !important;
    backdrop-filter: blur(16px);
}
body.aw-workspace-picker .wrapper,
body.aw-workspace-picker .content-wrapper {
    min-height: 100vh;
    background: transparent !important;
}
body.aw-workspace-picker .content-wrapper::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(900px 520px at 12% -10%, rgba(244, 114, 182, .16), transparent 58%),
        radial-gradient(720px 480px at 92% 8%, rgba(129, 140, 248, .22), transparent 55%),
        radial-gradient(640px 420px at 70% 110%, rgba(249, 115, 22, .12), transparent 60%);
}
body.aw-workspace-picker .content-wrapper::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: .18;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}
body.aw-workspace-picker .main-header,
body.aw-workspace-picker .content-wrapper .content {
    position: relative;
    z-index: 1;
}
body.aw-workspace-picker .dropdown-user .user-name,
body.aw-workspace-picker .dropdown-user .nav-link,
body.aw-workspace-picker .navbar .nav-link,
body.aw-workspace-picker .navbar i,
body.aw-workspace-picker .navbar .feather {
    color: #e8edf5 !important;
}
/* 选择页顶栏只留品牌和账号：胶囊、时钟、时区下拉都是台内的东西。
   正常整页进来根本不会渲染；这里兜住 PJAX 残留的旧顶栏。 */
body.aw-workspace-picker .aw-ws-pill,
body.aw-workspace-picker #switch-tz-form,
body.aw-workspace-picker .aw-scope-form,
body.aw-workspace-picker #clock-us,
body.aw-workspace-picker .main-header li:has(#clock-us),
body.aw-workspace-picker .main-header li:has(.aw-ws-pill),
body.aw-workspace-picker .main-header li:has(#switch-tz-form) {
    display: none !important;
}
body.aw-workspace-picker .content-wrapper .content,
body.aw-workspace-picker .content-wrapper .content .card,
body.aw-workspace-picker .content-wrapper .content .row {
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
}
body.aw-workspace-picker .content-wrapper .content {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 24px 28px 40px 28px !important;
}
.aw-picker {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    max-width: 1080px;
    margin: 0;
    min-height: 0;
}
.aw-picker-brand {
    display: inline-flex !important;
    align-items: center;
    gap: 16px;
    color: #f8fafc !important;
    font-weight: 750;
    font-size: 17px;
    letter-spacing: .02em;
    text-decoration: none !important;
    padding: 0 4px;
}
.aw-picker-brand img {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(192, 132, 252, .4);
}
.aw-picker-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
    margin-bottom: 18px;
}
.aw-picker-kicker {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #8b93a7;
    margin-bottom: 10px;
}
.aw-picker-head h1 {
    margin: 0 0 6px;
    font-size: 28px;
    font-weight: 680;
    color: #f8fafc;
    letter-spacing: -.03em;
    line-height: 1.25;
}
.aw-picker-head h1 span {
    margin-left: 10px;
    color: #8b93a7;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0;
}
.aw-picker-head p {
    margin: 0;
    max-width: 560px;
    color: #9aa3b8;
    font-size: 15px;
    line-height: 1.55;
}
.aw-picker-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 12px;
    margin: 0 0 20px;
    padding: 8px;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 14px;
    background: rgba(17, 20, 32, .55);
}
.aw-picker-search {
    position: relative;
    flex: 1 1 220px;
    min-width: 180px;
    max-width: 320px;
    margin: 0;
}
.aw-picker-search .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.aw-picker-search input {
    width: 100%;
    height: 40px;
    padding: 0 12px 0 36px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px;
    background: rgba(17, 20, 32, .82) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%238b93a7' stroke-width='1.8'%3E%3Ccircle cx='7' cy='7' r='4.5'/%3E%3Cpath d='M10.5 10.5L14 14'/%3E%3C/svg%3E") 12px 50% no-repeat;
    color: #e8edf5;
    font-size: 13px;
}
.aw-picker-search input::placeholder { color: #7d8798; }
.aw-picker-search input:focus {
    outline: none;
    border-color: rgba(251, 191, 36, .45);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, .16);
}
.aw-picker-filters {
    display: inline-flex;
    padding: 3px;
    border-radius: 10px;
    background: rgba(17, 20, 32, .72);
    border: 1px solid rgba(255,255,255,.08);
}
.aw-picker-filters button {
    height: 32px;
    padding: 0 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #8b93a7;
    font-size: 12.5px;
    font-weight: 650;
    cursor: pointer;
}
.aw-picker-filters button.is-on {
    background: rgba(251, 191, 36, .16);
    color: #fbbf24;
}
.aw-picker-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}
.aw-picker-meta span {
    color: #8b93a7;
    font-size: 12.5px;
    white-space: nowrap;
}
.aw-picker-create {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    gap: 6px;
    width: auto;
    height: 40px;
    margin: 0;
    padding: 0 14px;
    border: 0;
    border-radius: 10px;
    background: #f59e0b;
    color: var(--aw-on-gold, #fff8eb);
    -webkit-text-fill-color: var(--aw-on-gold, #fff8eb);
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
    transition: background .15s, color .15s;
}
.aw-picker-create span {
    font-size: 15px;
    line-height: 1;
    color: inherit;
    -webkit-text-fill-color: inherit;
}
.aw-picker-create:hover {
    background: #fbbf24;
    color: var(--aw-on-gold, #fff8eb);
    -webkit-text-fill-color: var(--aw-on-gold, #fff8eb);
}
.aw-picker-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 20px;
    align-items: start;
}
.aw-picker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    align-items: stretch;
    min-width: 0;
}
.aw-picker-card[hidden] { display: none !important; }
.aw-picker-card {
    position: relative;
    background: rgba(17, 20, 32, .72);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 16px;
    padding: 0 0 0;
    box-shadow: 0 16px 36px -28px rgba(0,0,0,.8);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: border-color .2s, transform .2s;
}
.aw-picker-card:hover {
    transform: translateY(-2px);
    border-color: rgba(251, 191, 36, .28);
}
.aw-picker-reel {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: 118px;
    overflow: hidden;
    background: #151821;
}
.aw-picker-reel img,
.aw-picker-reel-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(1.05);
    transition: transform .35s ease;
}
.aw-picker-reel-fallback {
    grid-column: 1 / -1;
    background:
        repeating-linear-gradient(90deg, #1b1f2c 0 10px, #12141c 10px 14px),
        linear-gradient(135deg, #2a1848, #111827 55%, #3b1d12);
}
.aw-picker-card:hover .aw-picker-reel img { transform: scale(1.06); }
.aw-picker-reel::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 56px;
    background: linear-gradient(180deg, transparent, rgba(17,20,32,.96));
}
.aw-picker-play {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    width: 42px;
    height: 42px;
    margin: -21px 0 0 -21px;
    border-radius: 99px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111827;
    background: rgba(251, 191, 36, .92);
    box-shadow: 0 8px 24px rgba(0,0,0,.35);
    transform: scale(.92);
    transition: transform .2s, background .2s;
}
.aw-picker-play svg { width: 20px; height: 20px; margin-left: 2px; }
.aw-picker-card:hover .aw-picker-play {
    transform: scale(1);
    background: #fbbf24;
}
.aw-picker-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 4px 16px 10px;
}
.aw-picker-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #a5b0c4;
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: .01em;
    white-space: nowrap;
}
.aw-picker-chip::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 99px;
    background: currentColor;
}
.aw-picker-card.is-android .aw-picker-chip::before,
.aw-picker-card.is-ios .aw-picker-chip::before { background: #4ade80; }
.aw-picker-card.is-h5 .aw-picker-chip::before { background: #c084fc; }
.aw-picker-glyph {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.1);
    color: #d4d8e4;
    background: rgba(255,255,255,.04);
}
.aw-picker-glyph svg { width: 17px; height: 17px; }
.aw-picker-card h2 {
    margin: 0 16px 3px;
    font-size: 18px;
    font-weight: 680;
    color: #f8fafc;
    letter-spacing: -.01em;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.aw-picker-card code {
    display: block;
    margin: 0 16px;
    color: #7d8798;
    font-size: 12px;
    background: none;
    padding: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.aw-picker-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 12px 16px 0;
    padding: 10px 0 12px;
    border-top: 1px solid rgba(255,255,255,.06);
}
.aw-picker-kpis div {
    min-width: 0;
    padding-right: 10px;
}
.aw-picker-kpis span {
    display: block;
    color: #7d8798;
    font-size: 11px;
    margin-bottom: 4px;
    white-space: nowrap;
}
.aw-picker-kpis b {
    font-size: 15px;
    color: #f1f5f9;
    font-weight: 650;
    letter-spacing: -.01em;
}
.aw-picker-enter {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: auto;
    height: 52px;
    border-top: 1px solid rgba(255,255,255,.06);
    background: linear-gradient(90deg, rgba(251,191,36,.16), rgba(249,115,22,.1)) !important;
    color: #fbbf24 !important;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none !important;
    transition: color .15s, background .15s;
}
.aw-picker-enter::after {
    content: "→";
    font-weight: 500;
    transition: transform .18s;
}
.aw-picker-enter::before {
    content: "";
    position: absolute;
    inset: 0;
}
.aw-picker-card:hover .aw-picker-enter {
    background: linear-gradient(90deg, #f59e0b, #f97316) !important;
    color: var(--aw-on-gold, #fff8eb) !important;
}
.aw-picker-card:hover .aw-picker-enter::after { transform: translateX(3px); }
.aw-picker-all {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: #6b7384 !important;
    font-size: 12px;
}
.aw-picker-all:hover { color: #cbd5e1 !important; }
.aw-picker-empty {
    grid-column: 1 / -1;
    padding: 56px 40px;
    color: #94a3b8;
    background: rgba(17,20,32,.72);
    border-radius: 18px;
    text-align: center;
    border: 1px dashed rgba(255,255,255,.14);
}
body.aw-drawer-open { overflow: hidden; }
.aw-drawer[hidden] { display: none; }
.aw-drawer {
    position: fixed;
    inset: 0;
    z-index: 12000;
}
.aw-drawer-mask {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .38);
}
.aw-drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(400px, 100vw);
    height: 100%;
    background: #fff;
    box-shadow: -18px 0 40px rgba(15,23,42,.18);
    padding: 22px 22px 16px;
    overflow: auto;
    display: flex;
    flex-direction: column;
}
.aw-drawer-panel form {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.aw-drawer-panel header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.aw-drawer-panel h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
}
.aw-drawer-close {
    border: 0;
    background: transparent;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    color: #64748b;
    width: 32px;
    height: 32px;
}
.aw-field-label {
    display: block;
    margin: 16px 0 8px;
    font-weight: 700;
    color: #334155;
    font-size: 13px;
}
.aw-field { position: relative; }
.aw-field .form-control {
    padding-right: 56px;
    height: 42px;
    border-radius: 10px;
}
.aw-counter {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #94a3b8;
    pointer-events: none;
}
.aw-type-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.aw-type-tile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px 12px 10px;
    cursor: pointer;
    margin: 0;
    position: relative;
    background: #fff;
}
.aw-type-tile input,
.aw-mode-list input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.aw-type-tile:has(input:checked) {
    border-color: #6366f1;
    background: #eef2ff;
    box-shadow: 0 0 0 3px rgba(99,102,241,.12);
}
.aw-type-icons {
    display: flex;
    gap: 6px;
    color: #334155;
    margin-bottom: 6px;
}
.aw-type-icons svg { width: 18px; height: 18px; }
.aw-type-tile b {
    font-size: 14px;
    color: #0f172a;
}
.aw-type-tile small,
.aw-mode-list small {
    display: block;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.45;
}
.aw-mode-list {
    display: grid;
    gap: 8px;
}
.aw-mode-list label {
    display: flex;
    gap: 10px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 12px;
    cursor: pointer;
    margin: 0;
    position: relative;
    align-items: flex-start;
}
.aw-mode-list label::before {
    content: "";
    width: 16px;
    height: 16px;
    border: 1.5px solid #cbd5e1;
    border-radius: 50%;
    margin-top: 2px;
    flex-shrink: 0;
    box-sizing: border-box;
}
.aw-mode-list label:has(input:checked) {
    border-color: #6366f1;
    background: #eef2ff;
}
.aw-mode-list label:has(input:checked)::before {
    border-color: #4f46e5;
    border-width: 5px;
}
.aw-mode-list b { display: block; color: #0f172a; font-size: 14px; margin-bottom: 2px; }
.aw-drawer-panel footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: auto;
    padding-top: 22px;
}
.aw-btn-ghost,
.aw-btn-primary {
    height: 40px;
    padding: 0 16px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
}
.aw-btn-ghost {
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #475569;
}
.aw-btn-primary {
    border: 0;
    background: #4f46e5;
    color: #fff;
}
.aw-btn-primary:hover { background: #4338ca; }
@media (max-width: 960px) {
    .aw-picker-body { grid-template-columns: 1fr; }
    .aw-picker-platform { position: static; }
}
@media (max-width: 860px) {
    .aw-picker { min-height: 0; }
    .aw-picker-meta { margin-left: 0; width: 100%; justify-content: space-between; }
    .aw-picker-search { max-width: none; flex-basis: 100%; }
    body.aw-workspace-picker .content-wrapper .content { padding: 24px 16px 32px !important; }
}
.aw-ws-all-banner {
    margin: 0 0 14px;
    padding: 10px 14px;
    background: #fff7ed;
    border: 1px solid #fdba74;
    border-radius: 10px;
    color: #9a3412;
    font-size: 13px;
}

/* ── 系统设置 ─────────────────────────────────────────
   一个域名输入框横跨整屏没法读，把字段列收到可读宽度。 */
.aw-setting-card .form-group > div[class*="col-"] {
    max-width: 720px;
}
.aw-setting-card .aw-setting-lead {
    margin: 0 0 18px;
    padding: 0 0 14px;
    border-bottom: 1px solid #f1f4f9;
    color: #7b8797;
    font-size: 13px;
    line-height: 1.6;
}
.aw-setting-card .alert-info {
    margin-bottom: 0;
    background: #f5f7fd;
    border: 1px solid #e3e8f5;
    color: #4b5768;
    font-size: 13px;
    line-height: 1.7;
}
.aw-setting-card .alert-info strong { color: #303a4b; }

/* IAA 用户列表：去掉内购那套钱包密度，单元格收成短行 */
.table.aw-user-grid .aw-user-cell {
    font-size: 12.5px;
    line-height: 1.5;
    color: #3d4758;
}
.table.aw-user-grid .aw-user-cell .muted {
    color: #8b95a5;
    font-size: 12px;
}
.table.aw-user-grid .aw-user-kicker {
    color: #131a26;
    font-weight: 600;
    margin-bottom: 2px;
}
.table.aw-user-grid .aw-user-tag {
    display: inline-block;
    margin-bottom: 4px;
    padding: 1px 7px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
}
.table.aw-user-grid .aw-user-tag.is-fb {
    background: #eef2ff;
    color: #4338ca;
}
.table.aw-user-grid .aw-user-tag.is-wallet {
    background: #ecfdf3;
    color: #15803d;
}
.table.aw-user-grid .aw-user-ip-n {
    color: #b45309;
    font-weight: 700;
}
.table.aw-user-grid.is-iaa .grid-column-actions a {
    margin-right: 8px;
}
/* 标签是从分类里点选，不是再手打。芯片后面不要留一个带焦点框的搜索格。 */
.form-group:has(select.field_tags) .select2-selection--multiple .select2-search--inline,
select.field_tags + .select2-container .select2-selection--multiple .select2-search--inline {
    display: none !important;
    width: 0 !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}
.form-group:has(select.field_tags) .select2-selection--multiple .select2-search__field,
select.field_tags + .select2-container .select2-selection--multiple .select2-search__field,
.form-group:has(select.field_tags) .select2-selection--multiple .select2-search__field:focus,
.form-group:has(select.field_tags) .select2-selection--multiple .select2-search__field:focus-visible {
    display: none !important;
    width: 0 !important;
    min-width: 0 !important;
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}
.cate-translate-status {
    display: block;
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.7;
    white-space: pre-line;
}
.cate-translate-status[hidden] {
    display: none !important;
}
.cate-translate-status.is-busy {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.14);
}
.cate-translate-status.is-ok {
    color: #86efac;
    background: rgba(34, 197, 94, 0.14);
}
.cate-translate-status.is-err {
    color: #fca5a5;
    background: rgba(239, 68, 68, 0.16);
}
