/* 后台黑金主题（叠加在 admin.css 之后） */
:root {
    --phx-gold: #c9a24e; --phx-gold-2: #e2c47f; --phx-gold-ink: #8a6a24; --phx-gold-soft: rgba(201,162,78,.12); --phx-gold-line: rgba(201,162,78,.35);
    --phx-side: #101114; --phx-side-2: #17181c;
    --phx-bg: #f4f5f7; --phx-line: #eceef1; --phx-line-2: #f2f3f5;
    --phx-text: #1d2129; --phx-text-2: #4e5969; --phx-text-3: #86909c;
    --phx-ok: #14a05a; --phx-ok-bg: #e8f7ef; --phx-warn: #d4860b; --phx-warn-bg: #fdf3e1; --phx-bad: #e5484d; --phx-bad-bg: #fdecec; --phx-info: #3a7bf0; --phx-info-bg: #ebf2fe;
    --phx-shadow: 0 1px 2px rgba(16,24,40,.04), 0 1px 3px rgba(16,24,40,.06);
}
body.admin-body { color: var(--phx-text); background: var(--phx-bg); }
html.admin-embed-mode body.admin-body { background: #fff; }
.admin-content input[type="checkbox"], .admin-content input[type="radio"], .admin-plate-sw input, .admin-col-pick-item input { accent-color: #b98a35; }

/* ---------- 侧栏 ---------- */
.admin-sidebar { width: 224px; background: linear-gradient(180deg, var(--phx-side) 0%, var(--phx-side-2) 100%); color: rgba(255,255,255,.62); scrollbar-color: rgba(255,255,255,.14) transparent; }
.admin-brand { height: auto; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 20px 16px; border-bottom: 1px solid rgba(255,255,255,.06); text-decoration: none; transition: background .15s; }
a.admin-brand:hover { background: rgba(255,255,255,.03); }
.admin-brand-logo { display: block; height: 38px; width: auto; }
.admin-brand p { margin: 0; padding-left: 4px; font-size: 11px; letter-spacing: 4px; text-align: center; color: var(--phx-gold); }
.admin-nav { padding: 6px 0 20px; }
.admin-nav-label { padding: 16px 20px 6px; font-size: 11px; letter-spacing: 1px; color: rgba(255,255,255,.32); }
.admin-nav-single, .admin-nav a, .admin-nav-toggle { color: rgba(255,255,255,.62); }
.admin-nav a.admin-nav-single, .admin-nav-toggle { margin: 2px 10px; width: calc(100% - 20px); padding: 0 12px; }
.admin-nav a.admin-nav-single:hover, .admin-nav-toggle:hover { background: rgba(255,255,255,.05); color: #fff; }
.admin-nav a.admin-nav-single.is-active, .admin-nav a.admin-nav-single.is-active:hover,
.admin-nav-sub a.is-active, .admin-nav-sub a.is-active:hover { background: linear-gradient(90deg, rgba(201,162,78,.22), rgba(201,162,78,.04)); color: var(--phx-gold-2); box-shadow: inset 3px 0 0 var(--phx-gold); font-weight: 500; }
.admin-nav-section:has(a.is-active) .admin-nav-toggle { color: var(--phx-gold-2); }
.admin-nav-sub { background: transparent; padding: 2px 0 4px; }
.admin-nav-sub a { height: 36px; margin: 1px 10px; padding: 0 12px 0 38px; font-size: 13px; color: rgba(255,255,255,.55); }
.admin-nav-sub a.is-active, .admin-nav-sub a.is-active:hover { padding-left: 38px; }
.admin-nav-sub a:hover { background: rgba(255,255,255,.04); color: #fff; }

/* ---------- 顶栏 ---------- */
.admin-header { height: 60px; gap: 14px; padding: 0 20px 0 12px; border-bottom: 1px solid var(--phx-line); box-shadow: none; }
.admin-header-crumb { flex: 0 1 auto; color: var(--phx-text-3); font-size: 13px; }
.admin-header-crumb .is-last { color: var(--phx-text); font-weight: 600; }
.admin-header-search { flex: 0 1 320px; display: flex; align-items: center; gap: 8px; height: 36px; margin-left: 12px; padding: 0 10px 0 12px; border: 1px solid var(--phx-line); border-radius: 9px; background: #f7f8fa; color: var(--phx-text-3); transition: border-color .15s, box-shadow .15s; }
.admin-header-search:focus-within { border-color: var(--phx-gold); background: #fff; box-shadow: 0 0 0 3px rgba(201,162,78,.15); }
.admin-header-search svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; flex: none; }
.admin-header-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 13px; color: var(--phx-text); }
.admin-header-search kbd { font: 11px/18px inherit; padding: 0 6px; border: 1px solid var(--phx-line); border-radius: 5px; background: #fff; color: var(--phx-text-3); }
.admin-header-right { margin-left: auto; gap: 8px; }
.admin-header-todo { display: flex; align-items: center; gap: 6px; }
.admin-header-pill { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px 0 12px; border-radius: 16px; border: 1px solid var(--phx-line); background: #f7f8fa; font-size: 13px; color: var(--phx-text-2); text-decoration: none; white-space: nowrap; transition: border-color .15s, color .15s; }
.admin-header-pill:hover { border-color: var(--phx-gold-line); color: var(--phx-text); }
.phx-badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #e5e6eb; color: var(--phx-text-3); font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; }
.admin-header-pill.is-hot .phx-badge { background: var(--phx-bad); color: #fff; }
.admin-header-link { color: var(--phx-text-2); font-size: 13px; }
.admin-header-link:hover { color: var(--phx-gold-ink); }
.admin-header-user { height: 60px; margin-left: 4px; padding-left: 14px; border-left: 1px solid var(--phx-line); }
.admin-header-avatar { background: linear-gradient(135deg, #2b2c31, #45464d); color: var(--phx-gold-2); }
.admin-header-name { font-size: 13px; font-weight: 600; color: var(--phx-text); }
.admin-header-role { border-color: var(--phx-gold-line); background: var(--phx-gold-soft); color: var(--phx-gold-ink); }
.admin-header-fold { color: var(--phx-text-2); }
@media (max-width: 1280px) { .admin-header-pill .admin-header-pill-t { display: none; } .admin-header-link { display: none; } }
@media (max-width: 900px) { .admin-header-search, .admin-header-todo { display: none; } }

/* ---------- 内容卡片与分区页签 ---------- */
.admin-page-body { background: var(--phx-bg); }
.admin-page-card { border-color: var(--phx-line); border-radius: 12px; box-shadow: var(--phx-shadow); }
.admin-page-head { border-bottom-color: var(--phx-line-2); }
.admin-page-title { font-size: 16px; font-weight: 650; color: var(--phx-text); }
.admin-page-tab { color: var(--phx-text-2); }
.admin-page-tab:hover { color: var(--phx-gold-ink); }
.admin-page-tab.is-active, .admin-page-tab.is-active:hover { color: var(--phx-text); font-weight: 600; text-shadow: none; }
.admin-page-tab.is-active::after { height: 2px; border-radius: 2px; background: linear-gradient(90deg, #d8b468, #bf9442); }
.admin-tab-action { height: 28px; padding: 0 10px; border-radius: 6px; border-color: #dcdfe4; color: var(--phx-text-2); }
.admin-tab-action:hover { color: var(--phx-gold-ink); border-color: var(--phx-gold); }
.admin-tab-panels, .admin-tab-iframe { background: #fff; }

/* ---------- 按钮 / 表单 ---------- */
.admin-btn { border-radius: 8px; border-color: #dcdfe4; color: var(--phx-text); }
.admin-btn:hover { color: var(--phx-gold-ink); border-color: var(--phx-gold); background: #fff; }
.admin-btn:active { color: #6f5418; border-color: #b98a35; }
.admin-btn-primary { color: var(--phx-gold-2); background: linear-gradient(180deg, #23242a, #141519); border-color: #141519; box-shadow: none; }
.admin-btn-primary:hover { color: #f3d995; background: linear-gradient(180deg, #2c2d34, #1b1c21); border-color: #1b1c21; }
.admin-btn-primary:active { color: #f3d995; background: #0c0d10; border-color: #0c0d10; }
.admin-btn-danger { color: var(--phx-bad); border-color: #f4c6c7; background: #fff; box-shadow: none; }
.admin-btn-danger:hover { color: #fff; background: var(--phx-bad); border-color: var(--phx-bad); }
.admin-btn-sm { border-radius: 6px; }
.admin-input:hover, .admin-filter input:hover, .admin-filter select:hover, .admin-content select:hover, .admin-content textarea:hover, .admin-odds-input:hover, .admin-limit-input:hover { border-color: #c9b07a; }
.admin-input:focus, .admin-input-sm:focus, .admin-filter input:focus, .admin-filter select:focus, .admin-content select:focus, .admin-content textarea:focus, .admin-odds-input:focus, .admin-limit-input:focus { border-color: var(--phx-gold); box-shadow: 0 0 0 3px rgba(201,162,78,.15); outline: none; }
.admin-tip { color: #5c4613; background: #fffaf0; border-color: #f3e5c4; }

/* ---------- 表格 / 分页 / 标签 ---------- */
.admin-table-wrap { border-color: var(--phx-line); border-radius: 12px; }
.admin-table th { background: #fafbfc; color: var(--phx-text-3); font-weight: 500; border-bottom-color: var(--phx-line); }
.admin-table td { border-bottom-color: var(--phx-line-2); }
.admin-table tbody tr:hover > td { background: #fcfaf5; }
.admin-table tfoot td { background: #fafbfc; }
.admin-table td a:not(.admin-btn) { color: var(--phx-gold-ink); }
.admin-table td a:not(.admin-btn):hover { color: var(--phx-gold); }
.admin-pagination a.is-active, .admin-pagination a.is-active:hover { background: #141519; border-color: #141519; color: var(--phx-gold-2); }
.admin-tag { border-radius: 11px; border: none; font-weight: 500; }
.admin-tag.admin-tag-online, .admin-tag.admin-tag-success, .admin-tag.admin-tag-s2:not(.admin-tag-danger) { background: var(--phx-ok-bg); color: var(--phx-ok); }
.admin-tag.admin-tag-disabled, .admin-tag.admin-tag-danger { background: var(--phx-bad-bg); color: var(--phx-bad); }
.admin-tag.admin-tag-s1, .admin-tag.admin-tag-s5 { background: var(--phx-warn-bg); color: var(--phx-warn); }
.admin-dash-panel-head a, .admin-dash-note a { color: var(--phx-gold-ink); }

/* ---------- 其他通用小组件 ---------- */
.admin-range-tabs a.is-active, .admin-range-tabs a.is-active:hover { background: #141519; border-color: #141519; color: var(--phx-gold-2); }
.admin-link-btn, .admin-quick-links a, .admin-system-analysis-hint, .admin-col-pick-item, .admin-col-picker-btn:hover, .admin-system-card-meta strong { color: var(--phx-gold-ink); }
.admin-link-btn:hover, .admin-quick-links a:hover { color: var(--phx-gold); }
.admin-draw-card.is-active { border-color: var(--phx-gold); box-shadow: 0 0 0 3px rgba(201,162,78,.15); }
.admin-draw-card-period strong, .js-draw-countdown, .admin-draw-hero-period strong, .admin-draw-panel-head strong { color: var(--phx-gold-ink); }
.admin-draw-result-input:focus { border-color: var(--phx-gold); box-shadow: 0 0 0 3px rgba(201,162,78,.15); }
.admin-rule-index { background: #141519; color: var(--phx-gold-2); }
.admin-col-pick-item input { accent-color: #b98a35; }

/* ---------- 数据大盘 ---------- */
.phx-dash { padding-top: 4px; }
.phx-dash-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.phx-card { background: #fff; border: 1px solid var(--phx-line); border-radius: 12px; box-shadow: var(--phx-shadow); }
.phx-kpi { position: relative; overflow: hidden; padding: 16px 18px; min-width: 0; }
.phx-kpi-k { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--phx-text-3); }
.phx-kpi-v { margin: 6px 0 4px; font-size: 26px; font-weight: 700; letter-spacing: .2px; color: var(--phx-text); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phx-kpi-v small { margin-right: 2px; font-size: 14px; font-weight: 500; color: var(--phx-text-3); }
.phx-kpi-d { font-size: 12px; color: var(--phx-text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phx-kpi-d b { font-weight: 600; }
.phx-up { color: var(--phx-ok); }
.phx-down { color: var(--phx-bad); }
.phx-kpi.is-hero { background: linear-gradient(135deg, #17181c 0%, #24252b 60%, #2f2a1f 100%); border-color: #24252b; }
.phx-kpi.is-hero::after { content: ""; position: absolute; right: -30px; top: -30px; width: 130px; height: 130px; border-radius: 50%; background: radial-gradient(circle, rgba(226,196,127,.25), transparent 70%); }
.phx-kpi.is-hero .phx-kpi-k, .phx-kpi.is-hero .phx-kpi-d { color: rgba(255,255,255,.55); }
.phx-kpi.is-hero .phx-kpi-v { color: var(--phx-gold-2); }
.phx-kpi.is-hero .phx-kpi-v.is-down { color: #ff8a8d; }
.phx-kpi.is-hero .phx-kpi-v small { color: rgba(255,255,255,.45); }
.phx-kpi.is-hero .phx-up { color: #5fd69a; }
.phx-kpi.is-hero .phx-down { color: #ff8a8d; }
.phx-dash-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr); gap: 16px; margin-bottom: 16px; }
.phx-card-h { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 18px; border-bottom: 1px solid var(--phx-line-2); }
.phx-card-h h3 { margin: 0; font-size: 15px; font-weight: 600; color: var(--phx-text); }
.phx-card-h .phx-more { margin-left: auto; font-size: 13px; color: var(--phx-text-3); text-decoration: none; }
.phx-card-h .phx-more:hover { color: var(--phx-gold-ink); }
.phx-card-b { padding: 16px 18px; }
.phx-legend { display: flex; gap: 14px; margin-left: auto; font-size: 12px; color: var(--phx-text-2); }
.phx-legend i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 3px; vertical-align: -1px; }
.phx-chart { display: flex; align-items: stretch; gap: 10px; }
.phx-chart-day { flex: 1; min-width: 0; text-align: center; cursor: default; }
.phx-chart-bars { display: flex; justify-content: center; align-items: flex-end; gap: 5px; height: 190px; padding-top: 8px; border-bottom: 1px solid var(--phx-line); background: repeating-linear-gradient(to top, transparent 0, transparent 47px, #f4f5f7 47px, #f4f5f7 48px); }
.phx-chart-bar { width: 16px; min-height: 2px; border-radius: 5px 5px 0 0; transition: opacity .15s; }
.phx-chart-bar.is-bet { background: linear-gradient(180deg, #e2c47f, #b98a35); }
.phx-chart-bar.is-win { background: linear-gradient(180deg, #4a4b52, #1d1e22); }
.phx-chart-day:hover .phx-chart-bar { opacity: .82; }
.phx-chart-date { margin-top: 8px; font-size: 12px; color: var(--phx-text-3); }
.phx-chart-day.is-today .phx-chart-date { color: var(--phx-text); font-weight: 600; }
.phx-chart-profit { font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.phx-chart-profit.is-up { color: var(--phx-ok); }
.phx-chart-profit.is-down { color: var(--phx-bad); }
.phx-chart-profit.is-zero { color: var(--phx-text-3); }
.phx-chart-note { margin-top: 12px; font-size: 12px; color: var(--phx-text-3); }
.phx-chart-note a { color: var(--phx-gold-ink); text-decoration: none; }
.phx-todo a { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--phx-line-2); color: var(--phx-text); text-decoration: none; transition: background .15s; }
.phx-todo a:last-child { border-bottom: 0; }
.phx-todo a:hover { background: #fafbfc; }
.phx-todo-ic { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 10px; }
.phx-todo-ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.phx-todo-ic.is-warn { background: var(--phx-warn-bg); color: var(--phx-warn); }
.phx-todo-ic.is-info { background: var(--phx-info-bg); color: var(--phx-info); }
.phx-todo-ic.is-bad { background: var(--phx-bad-bg); color: var(--phx-bad); }
.phx-todo-ic.is-ok { background: var(--phx-ok-bg); color: var(--phx-ok); }
.phx-todo-ic.is-gold { background: var(--phx-gold-soft); color: var(--phx-gold-ink); }
.phx-todo-t { flex: 1; min-width: 0; }
.phx-todo-t b { display: block; font-size: 14px; font-weight: 600; }
.phx-todo-t small { font-size: 12px; color: var(--phx-text-3); }
.phx-todo-n { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--phx-text-3); }
.phx-todo a.is-hot .phx-todo-n { color: var(--phx-bad); }
.phx-kv { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.phx-kv div { padding: 14px 18px; border-right: 1px solid var(--phx-line-2); }
.phx-kv div:nth-child(4n) { border-right: 0; }
.phx-kv div:nth-child(n+5) { border-top: 1px solid var(--phx-line-2); }
.phx-kv span { display: block; font-size: 12px; color: var(--phx-text-3); }
.phx-kv b { display: block; margin-top: 2px; font-size: 20px; font-weight: 650; color: var(--phx-text); font-variant-numeric: tabular-nums; }
@media (max-width: 960px) { .phx-dash-grid { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .phx-dash-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .phx-dash-kpis, .phx-kv { grid-template-columns: 1fr 1fr; } .phx-kv div { border-right: 0; } }

/* ---------- 提示条 / 弹窗 / 动态码 ---------- */
.phx-toasts { position: fixed; top: 72px; left: 50%; z-index: 10010; display: flex; flex-direction: column; align-items: center; gap: 8px; transform: translateX(-50%); pointer-events: none; }
.phx-toast { display: flex; align-items: center; gap: 8px; max-width: 520px; padding: 10px 18px 10px 12px; border-radius: 10px; background: #141519; color: #fff; font-size: 13px; line-height: 1.5; box-shadow: 0 10px 30px rgba(0,0,0,.2); opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .25s; }
.phx-toast.is-show { opacity: 1; transform: translateY(0); }
.phx-toast i { display: grid; place-items: center; width: 20px; height: 20px; flex: none; border-radius: 50%; background: var(--phx-ok); }
.phx-toast.is-bad i { background: var(--phx-bad); }
.phx-toast.is-info i { background: var(--phx-gold); }
.phx-toast svg { width: 12px; height: 12px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.phx-mask { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(15,16,20,.45); backdrop-filter: blur(2px); opacity: 0; transition: opacity .18s; }
.phx-mask.is-show { opacity: 1; }
.phx-modal { width: 420px; max-width: 100%; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 20px 60px rgba(0,0,0,.25); font-size: 14px; color: var(--phx-text); }
.phx-modal.is-shake { animation: phx-shake .35s; }
@keyframes phx-shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.phx-modal-h { display: flex; align-items: flex-start; gap: 14px; padding: 22px 24px 0; }
.phx-modal-h h3 { margin: 0; font-size: 17px; font-weight: 650; }
.phx-modal-h p { margin: 2px 0 0; font-size: 13px; color: var(--phx-text-3); }
.phx-modal-ic { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--phx-gold-soft); color: var(--phx-gold-ink); }
.phx-modal-ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.phx-modal-ic.is-shield { background: linear-gradient(135deg, #23242a, #141519); color: var(--phx-gold-2); }
.phx-modal-ic.is-bad { background: var(--phx-bad-bg); color: var(--phx-bad); }
.phx-modal-ic.is-ok { background: var(--phx-ok-bg); color: var(--phx-ok); }
.phx-modal-b { padding: 18px 24px 20px; }
.phx-modal-msg { white-space: pre-wrap; word-break: break-all; line-height: 1.7; color: var(--phx-text-2); }
.phx-modal-f { display: flex; justify-content: flex-end; gap: 10px; padding: 0 24px 22px; }
.phx-btn { display: inline-flex; align-items: center; justify-content: center; height: 36px; padding: 0 18px; border: 1px solid #dcdfe4; border-radius: 8px; background: #fff; color: var(--phx-text); font: inherit; font-size: 13px; cursor: pointer; transition: border-color .15s, color .15s; }
.phx-btn:hover { border-color: var(--phx-gold); color: var(--phx-gold-ink); }
.phx-btn-dark { background: linear-gradient(180deg, #23242a, #141519); border-color: #141519; color: var(--phx-gold-2); }
.phx-btn-dark:hover { color: #f3d995; border-color: #141519; }
.phx-btn-gold { background: linear-gradient(180deg, #d8b468, #bf9442); border-color: #b98a35; color: #2a1d05; font-weight: 600; }
.phx-btn-gold:hover { color: #2a1d05; border-color: #a77b2c; filter: brightness(1.04); }
.phx-btn[disabled] { opacity: .6; cursor: wait; }
.phx-otp { display: flex; justify-content: center; gap: 10px; margin: 4px 0 6px; }
.phx-otp input { width: 48px; height: 56px; padding: 0; border: 1px solid #dcdfe4; border-radius: 10px; outline: 0; text-align: center; font-size: 24px; font-weight: 700; color: var(--phx-text); font-variant-numeric: tabular-nums; transition: border-color .15s, box-shadow .15s; }
.phx-otp input:focus { border-color: var(--phx-gold); box-shadow: 0 0 0 3px rgba(201,162,78,.18); }
.phx-otp-err { min-height: 20px; margin-bottom: 6px; text-align: center; font-size: 13px; color: var(--phx-bad); }
.phx-op-sum { padding: 12px 14px; border-radius: 10px; background: #f7f8fa; font-size: 13px; line-height: 1.9; color: var(--phx-text-2); }
.phx-op-sum b { color: var(--phx-text); }

/* ---------- 登录页 ---------- */
body.admin-login-body.phx-login { display: flex; align-items: stretch; justify-content: stretch; min-height: 100vh; padding: 0; background: #0d0e11; }
.phx-login-art { position: relative; flex: 1.2; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 56px 64px; color: #fff; background: radial-gradient(1200px 600px at 20% 10%, rgba(201,162,78,.18), transparent 60%), radial-gradient(800px 500px at 80% 90%, rgba(201,162,78,.12), transparent 60%), #0d0e11; }
.phx-login-brand { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; }
.phx-login-brand img { height: 46px; width: auto; }
.phx-login-brand span { padding-left: 14px; border-left: 1px solid rgba(201,162,78,.35); font-size: 13px; letter-spacing: 4px; color: var(--phx-gold-2); }
.phx-login-big { position: relative; z-index: 1; font-size: 40px; font-weight: 700; line-height: 1.3; letter-spacing: 2px; }
.phx-login-big em { font-style: normal; background: linear-gradient(90deg, #f3d995, #c9a24e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.phx-login-art p { position: relative; z-index: 1; max-width: 440px; margin-top: 14px; color: rgba(255,255,255,.5); }
.phx-login-feats { position: relative; z-index: 1; display: flex; gap: 28px; font-size: 13px; color: rgba(255,255,255,.55); }
.phx-login-feats b { display: block; font-size: 22px; color: var(--phx-gold-2); }
.phx-login-ring { position: absolute; right: -160px; top: 50%; width: 520px; height: 520px; margin-top: -260px; border-radius: 50%; border: 1px solid rgba(201,162,78,.18); }
.phx-login-ring.is-2 { right: -90px; width: 380px; height: 380px; margin-top: -190px; }
.phx-login .admin-login-card { width: 480px; max-width: 100%; display: flex; flex-direction: column; justify-content: center; padding: 40px 64px; border-radius: 0; box-shadow: none; background: #fff; }
.phx-login-logo { align-self: flex-start; height: 52px; width: auto; margin-bottom: 26px; }
.phx-login .admin-login-card h1 { margin: 0; text-align: left; font-size: 24px; font-weight: 700; color: var(--phx-text); }
.phx-login .admin-login-sub { margin: 6px 0 22px; text-align: left; color: var(--phx-text-3); }
.phx-login .admin-login-form label { margin: 14px 0 6px; font-size: 12px; color: var(--phx-text-3); }
.phx-login .admin-login-form input { height: 44px; border-color: #dcdfe4; border-radius: 8px; font-size: 14px; }
.phx-login .admin-login-form input:hover { border-color: #c9b07a; }
.phx-login .admin-login-form input:focus { border-color: var(--phx-gold); box-shadow: 0 0 0 3px rgba(201,162,78,.15); }
.phx-login .admin-login-captcha img { height: 44px; border-color: #dcdfe4; }
.phx-login .admin-login-form button { height: 46px; margin-top: 24px; font-size: 15px; letter-spacing: 4px; }
.phx-login-safe { display: flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 12px; color: var(--phx-text-3); }
.phx-login-safe svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
@media (max-width: 960px) { .phx-login-art { display: none; } .phx-login .admin-login-card { width: 100%; padding: 32px 24px; } body.admin-login-body.phx-login { background: #fff; } }

/* ---------- 列表页：筛选面板 / 统计条 / 账号头像 / 标签 / 批量条 ---------- */
.phx-filter { background: #fff; border: 1px solid var(--phx-line, #eceef1); border-radius: 12px; padding: 14px 16px 4px; margin-bottom: 14px; box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.phx-filter-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px 14px; }
.phx-filter .phx-f { display: flex; align-items: center; gap: 8px; min-width: 0; margin-bottom: 10px; }
.phx-filter .phx-f > span { flex: none; width: 64px; font-size: 12px; color: var(--phx-text-3, #86909c); text-align: right; }
.phx-filter .phx-f .admin-input, .phx-filter .phx-f select { flex: 1; min-width: 168px; height: 32px; margin: 0; }
.phx-filter .phx-f-range { display: flex; flex: 1; align-items: center; gap: 4px; min-width: 0; }
.phx-filter .phx-f-range .admin-input { width: 0; flex: 1; padding-left: 6px; padding-right: 4px; }
.phx-filter .phx-f-range i { font-style: normal; color: #c0c4cc; }
.phx-filter .phx-f-wide { grid-column: span 2; }
.phx-filter-more { display: none; }
.phx-filter.is-open .phx-filter-more { display: contents; }
.phx-filter-actions { display: flex; align-items: center; gap: 8px; padding: 6px 0 10px; border-top: 1px dashed #f0f1f3; margin-top: 2px; }
.phx-filter-actions .phx-filter-toggle { margin-left: auto; background: none; border: 0; color: var(--phx-gold-ink); cursor: pointer; font-size: 12px; }
.phx-chip-pick { position: relative; flex: 1; min-width: 0; }
.phx-chip-pick > button { width: 100%; height: 32px; padding: 0 26px 0 10px; text-align: left; border: 1px solid #dcdfe4; border-radius: 6px; background: #fff; color: var(--phx-text, #1d2129); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; font-size: 13px; }
.phx-chip-pick > button::after { content: ""; position: absolute; right: 10px; top: 13px; border: 4px solid transparent; border-top-color: #86909c; }
.phx-chip-pick > button.is-empty { color: #a9aeb8; }
.phx-chip-menu { display: none; position: absolute; z-index: 30; left: 0; right: 0; top: 36px; max-height: 260px; overflow: auto; background: #fff; border: 1px solid #e5e6eb; border-radius: 8px; box-shadow: 0 8px 24px rgba(16,24,40,.12); padding: 6px; }
.phx-chip-pick.is-open .phx-chip-menu { display: block; }
.phx-chip-menu label { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 6px; cursor: pointer; font-size: 13px; }
.phx-chip-menu label:hover { background: #faf6ec; }
.phx-chip-menu .phx-chip-empty { padding: 8px; color: #a9aeb8; font-size: 12px; }

.phx-sumbar { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 22px; padding: 10px 16px; margin-bottom: 12px; background: linear-gradient(90deg, #fbf7ee, #fff); border: 1px solid #f0e6cf; border-radius: 10px; font-size: 13px; color: var(--phx-text-2, #4e5969); }
.phx-sumbar b { font-size: 16px; color: var(--phx-text, #1d2129); font-variant-numeric: tabular-nums; margin: 0 2px; }
.phx-sumbar .phx-sumbar-tip { margin-left: auto; font-size: 12px; color: #a9aeb8; }

.phx-acct { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.phx-acct-av { flex: none; width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; color: #2b7de9; background: #e8f1fd; text-transform: uppercase; }
.phx-acct-av.is-off { color: #fff; background: #c9cdd4; }
.phx-acct-name { font-weight: 600; color: var(--phx-text, #1d2129); }
.admin-table a[href*="/admin/users/detail.do"]:not(.admin-btn), a.phx-acct-name { color: #2b7de9; font-weight: 600; text-decoration: none; }
.admin-table a[href*="/admin/users/detail.do"]:not(.admin-btn):hover, a.phx-acct-name:hover { color: #1a5fc0; text-decoration: underline; }
.phx-drawer-mask { position: fixed; inset: 0; z-index: 3000; background: rgba(15, 18, 26, 0); transition: background .2s; }
.phx-drawer-mask.is-show { background: rgba(15, 18, 26, .38); }
.phx-drawer { position: absolute; top: 0; right: 0; bottom: 0; width: min(1120px, 92vw); display: flex; flex-direction: column; background: #f5f6f8; box-shadow: -12px 0 32px rgba(0, 0, 0, .18); transform: translateX(100%); transition: transform .2s ease-out; }
.phx-drawer-mask.is-show .phx-drawer { transform: none; }
.phx-drawer-h { flex: none; display: flex; align-items: center; gap: 14px; height: 52px; padding: 0 16px 0 20px; background: #fff; border-bottom: 1px solid #ebedf0; }
.phx-drawer-h b { flex: 1; font-size: 15px; color: #1d2129; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.phx-drawer-link { font-size: 13px; color: #2b7de9; text-decoration: none; }
.phx-drawer-link:hover { text-decoration: underline; }
.phx-drawer-x { width: 32px; height: 32px; border: 0; border-radius: 6px; background: transparent; font-size: 22px; line-height: 1; color: #86909c; cursor: pointer; }
.phx-drawer-x:hover { background: #f2f3f5; color: #1d2129; }
.phx-drawer-b { position: relative; flex: 1; min-height: 0; }
.phx-drawer-b iframe { display: block; width: 100%; height: 100%; border: 0; }
.phx-drawer-loading { position: absolute; top: 40px; left: 0; right: 0; text-align: center; font-size: 13px; color: #86909c; }
.phx-acct-dot { width: 6px; height: 6px; border-radius: 50%; background: #00b42a; display: inline-block; margin-left: 2px; }

.mtag { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; margin: 1px 4px 1px 0; border-radius: 4px; font-size: 12px; line-height: 20px; white-space: nowrap; border: 1px solid transparent; }
.mtag-gray { background: #f2f3f5; color: #4e5969; border-color: #e5e6eb; }
.mtag-gold { background: #fbf3e2; color: #a8823a; border-color: #efdcb4; }
.mtag-red { background: #fdecec; color: #cb2634; border-color: #f8cfd2; }
.mtag-orange { background: #fff3e8; color: #d25f00; border-color: #ffd8b5; }
.mtag-green { background: #e8f8ee; color: #00873c; border-color: #bfe9cf; }
.mtag-blue { background: #e8f1ff; color: #1d5fd6; border-color: #c4d9fb; }
.mtag-purple { background: #f3edff; color: #6d3fd1; border-color: #dccdfb; }
.phx-st { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; white-space: nowrap; }
.phx-st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.phx-st-ok { color: #00873c; }
.phx-st-off { color: #cb2634; }
.phx-st-warn { color: #d25f00; }
.phx-st-mute { color: #86909c; }

.phx-bulk { position: sticky; bottom: 12px; z-index: 20; display: none; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 16px; background: #1f1b14; color: #f5e6c4; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.25); font-size: 13px; }
.phx-bulk.is-show { display: flex; }
.phx-bulk b { color: #fff; }
.phx-bulk .admin-btn { height: 30px; }
.phx-bulk .phx-bulk-x { margin-left: auto; background: none; border: 0; color: #c9b07a; cursor: pointer; }
.phx-sel { width: 34px; text-align: center; }
.phx-sel input { cursor: pointer; }
/* ---------- 日期范围选择（phx-daterange.js） ---------- */
.phx-dr { display: inline-flex; align-items: center; gap: 8px; width: 260px; max-width: 100%; min-width: 0; vertical-align: middle; height: 32px; padding: 0 28px 0 10px; position: relative; border: 1px solid #dcdfe6; border-radius: 6px; background: #fff; color: #a8abb2; font-size: 13px; text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.phx-dr:hover { border-color: #c0c4cc; }
.phx-dr.is-open { border-color: var(--phx-gold, #c9a45c); box-shadow: 0 0 0 2px rgba(201, 164, 92, .15); }
.phx-dr svg { flex: none; width: 15px; height: 15px; fill: none; stroke: #a8abb2; stroke-width: 1.8; }
.phx-dr-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.phx-dr.has-value { color: #303133; }
.phx-dr-clear { display: none; position: absolute; right: 8px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: #c0c4cc; color: #fff; font-style: normal; font-size: 12px; line-height: 16px; text-align: center; }
.phx-dr.has-value:hover .phx-dr-clear { display: block; }
.phx-dr.has-value:hover .phx-dr-clear:hover { background: #909399; }
.phx-filter .phx-f-range.is-picker { display: block; }
.phx-filter .phx-f-range.is-picker .phx-dr { width: 100%; }
.phx-filter .phx-f-range.is-picker > i { display: none; }

.phx-drp { position: absolute; z-index: 2600; display: flex; background: #fff; border: 1px solid #e4e7ed; border-radius: 8px; box-shadow: 0 8px 28px rgba(0, 0, 0, .12); font-size: 13px; color: #606266; user-select: none; }
.phx-drp-side { flex: none; width: 92px; padding: 8px 0; border-right: 1px solid #ebeef5; }
.phx-drp-side a { display: block; padding: 0 16px; line-height: 32px; color: #606266; cursor: pointer; }
.phx-drp-side a:hover { color: var(--phx-gold-ink, #a8823a); background: #faf6ee; }
.phx-drp-side a.on { color: var(--phx-gold-ink, #a8823a); font-weight: 600; }
.phx-drp-main { display: flex; flex-direction: column; }
.phx-drp-inputs { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid #ebeef5; }
.phx-drp-inputs input { width: 130px; height: 30px; padding: 0 10px; border: 1px solid #dcdfe6; border-radius: 4px; font-size: 13px; color: #303133; outline: none; }
.phx-drp-inputs input:focus { border-color: var(--phx-gold, #c9a45c); }
.phx-drp-inputs input.is-bad { border-color: #f56c6c; }
.phx-drp-inputs span { color: #909399; }
.phx-drp-cal { display: flex; }
.phx-drp-month { width: 280px; padding: 10px 14px 6px; }
.phx-drp-month + .phx-drp-month { border-left: 1px solid #ebeef5; }
.phx-drp-mh { display: flex; align-items: center; justify-content: space-between; height: 30px; }
.phx-drp-mh b { font-weight: 500; color: #303133; }
.phx-drp-nav { display: inline-flex; min-width: 44px; }
.phx-drp-nav:last-child { justify-content: flex-end; }
.phx-drp-nav a { width: 22px; line-height: 22px; text-align: center; color: #909399; font-size: 14px; cursor: pointer; border-radius: 4px; }
.phx-drp-nav a:hover { color: var(--phx-gold-ink, #a8823a); background: #f5f7fa; }
.phx-drp-week, .phx-drp-days { display: grid; grid-template-columns: repeat(7, 1fr); }
.phx-drp-week i { font-style: normal; line-height: 30px; text-align: center; color: #909399; border-bottom: 1px solid #ebeef5; margin-bottom: 4px; }
.phx-drp-days a { position: relative; display: flex; align-items: center; justify-content: center; height: 34px; cursor: pointer; }
.phx-drp-days a span { position: relative; z-index: 1; width: 26px; height: 26px; line-height: 26px; text-align: center; border-radius: 50%; color: #606266; }
.phx-drp-days a:hover span { color: var(--phx-gold-ink, #a8823a); }
.phx-drp-days a.today span { color: var(--phx-gold-ink, #a8823a); font-weight: 600; }
.phx-drp-days a.out span { color: #c0c4cc; }
.phx-drp-days a.in-range::before, .phx-drp-days a.is-start::before, .phx-drp-days a.is-end::before { content: ''; position: absolute; top: 4px; bottom: 4px; left: 0; right: 0; background: #f6efe1; }
.phx-drp-days a.is-start::before { left: 50%; }
.phx-drp-days a.is-end::before { right: 50%; }
.phx-drp-days a.is-start.is-end::before { display: none; }
.phx-drp-days a.is-start span, .phx-drp-days a.is-end span { background: var(--phx-gold, #c9a45c); color: #fff; font-weight: 600; }
.phx-drp-foot { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 8px 14px; border-top: 1px solid #ebeef5; }
.phx-drp-tip { flex: 1; color: #909399; font-size: 12px; }
.phx-drp-btn { padding: 0 14px; line-height: 28px; border-radius: 4px; color: #606266; cursor: pointer; }
.phx-drp-btn:hover { color: var(--phx-gold-ink, #a8823a); }
.phx-drp-btn.is-ok { background: #1d2129; color: #fff; }
.phx-drp-btn.is-ok:hover { background: #33373f; color: #fff; }