/* WAIMAI_ANALYTICS_CSS_BEGIN */
/* 外卖站访问统计 */
.adm-wm-analytics { padding:18px; margin-bottom:20px; }
.adm-wm-analytics-head { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-bottom:14px; }
.adm-wm-analytics-head .adm-wm-description { margin:6px 0 0; }
.adm-wm-analytics-body { display:grid; gap:14px; }
.adm-wm-analytics-note,.adm-wm-analytics-empty { color:var(--a-muted); font-size:12px; line-height:1.7; }
.adm-wm-stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
.adm-wm-stat { display:grid; gap:6px; padding:13px 15px; border:1px solid var(--a-line); border-radius:10px; background:var(--a-panel); }
.adm-wm-stat span { color:var(--a-muted); font-size:12px; }
.adm-wm-stat strong { color:var(--a-brand); font:600 24px Georgia,serif; }
.adm-wm-analytics-columns { display:grid; grid-template-columns:minmax(240px,.8fr) minmax(0,1.6fr); gap:18px; }
.adm-wm-analytics-columns section { min-width:0; }
.adm-wm-analytics-columns h4 { margin:2px 0 9px; color:var(--a-ink); font-size:13px; }
.adm-wm-analytics-dishes,.adm-wm-visitors { display:grid; gap:7px; }
.adm-wm-dish-stat { display:grid; gap:4px; padding:10px 12px; border:1px solid var(--a-line2); border-radius:9px; background:var(--a-panel); }
.adm-wm-dish-stat strong { color:var(--a-ink); font-size:13px; }
.adm-wm-dish-stat span,.adm-wm-visitor small { color:var(--a-muted); font-size:11px; line-height:1.6; }
.adm-wm-visitor { display:grid; grid-template-columns:minmax(140px,.8fr) minmax(120px,1fr) minmax(145px,.8fr); gap:5px 12px; padding:10px 12px; border:1px solid var(--a-line2); border-radius:9px; background:var(--a-panel); font-size:11px; }
.adm-wm-visitor-id { display:grid; gap:3px; }
.adm-wm-visitor-id strong { color:var(--a-ink); font-size:12px; }
.adm-wm-visitor-ip { overflow-wrap:anywhere; color:var(--a-brand); font-family:ui-monospace,Consolas,monospace; }
.adm-wm-visitor-counts { color:var(--a-ink); }
.adm-wm-visitor-dishes { grid-column:1 / -1; color:var(--a-muted); line-height:1.6; }
@media(max-width:760px) { .adm-wm-stats { grid-template-columns:repeat(2,minmax(0,1fr)); } .adm-wm-analytics-columns { grid-template-columns:1fr; } .adm-wm-visitor { grid-template-columns:1fr; } .adm-wm-visitor-dishes { grid-column:auto; } }
@media(max-width:520px) { .adm-wm-analytics { padding:14px; } .adm-wm-analytics-head { align-items:flex-start; } .adm-wm-stat { padding:11px; } }
/* WAIMAI_ANALYTICS_CSS_END */

/* =========================================================
 * 小王桌游站 · 站长控制台 2.0 样式
 * 独立配色，不受首页主题 / 皮肤影响（新版旧版都一样）。
 * ========================================================= */

.adm {
  --a-bg: #f4f2ee;
  --a-panel: #ffffff;
  --a-ink: #1d1b29;
  --a-ink2: #45414f;
  --a-muted: #827d8b;
  --a-line: #e7e3dc;
  --a-line2: #f0ede8;
  --a-brand: #4c3fd3;
  --a-brand-soft: #eeecfc;
  --a-green: #1f8f5c;
  --a-green-soft: #e3f4ea;
  --a-red: #c4432f;
  --a-red-soft: #fbe9e5;
  --a-gold: #a8721f;
  --a-radius: 14px;
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  font-family: "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei UI", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--a-ink);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
.adm.open { display: block; }
html.adm-open { overflow: hidden; }
.adm *, .adm *::before, .adm *::after { box-sizing: border-box; }
.adm button, .adm input, .adm select, .adm textarea { font: inherit; color: inherit; }

.adm-scrim { position: absolute; inset: 0; background: rgba(22, 19, 40, .45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.adm-shell {
  position: absolute;
  inset: 16px;
  display: flex;
  background: var(--a-bg);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 40px 100px -30px rgba(22, 19, 40, .6);
  animation: adm-in .25s cubic-bezier(.2, .75, .25, 1);
}
@keyframes adm-in { from { transform: translateY(10px); opacity: 0; } }

/* 外观 / 页面文字：缩成右侧抽屉，左边露出首页实时预览 */
.adm.mode-drawer .adm-scrim { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; pointer-events: none; }
.adm.mode-drawer { pointer-events: none; }
.adm.mode-drawer .adm-shell { pointer-events: auto; left: auto; width: min(930px, calc(100% - 32px)); }
.adm.mode-drawer .adm-side { width: 64px; }
.adm.mode-drawer .adm-nav-text, .adm.mode-drawer .adm-brand span:last-child, .adm.mode-drawer .adm-side-foot { display: none; }
.adm.mode-drawer .adm-nav-item { justify-content: center; padding: 10px 0; }
html.adm-open:has(.adm.mode-drawer.open) { overflow: auto; }

.adm-side {
  width: 210px;
  flex: none;
  display: flex;
  flex-direction: column;
  background: #1f1b45;
  color: #e9e6ff;
  padding: 18px 10px;
}
.adm-brand { display: flex; align-items: center; gap: 10px; padding: 4px 10px 18px; font-weight: 800; font-size: 15px; letter-spacing: .5px; }
.adm-brand-mark { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: rgba(255, 255, 255, .12); }
.adm-nav { display: flex; flex-direction: column; gap: 2px; }
.adm-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: rgba(233, 230, 255, .78) !important;
  text-align: left;
  cursor: pointer;
  font-weight: 600;
  transition: background .15s, color .15s;
}
.adm-nav-item:hover { background: rgba(255, 255, 255, .07); color: #fff !important; }
.adm-nav-item.on { background: rgba(255, 255, 255, .14); color: #fff !important; }
.adm-nav-icon { width: 20px; text-align: center; }
.adm-side-foot { margin-top: auto; padding: 0 12px; }
.adm-side-foot .adm-link { color: rgba(233, 230, 255, .6) !important; }

.adm-main { flex: 1; min-width: 0; min-height: 0; display: flex; flex-direction: column; position: relative; }
.adm-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--a-line);
  background: rgba(255, 255, 255, .6);
}
.adm-title { flex: 1; margin: 0; font-size: 18px; font-weight: 800; }
.adm-top-actions { display: flex; gap: 6px; }
.adm-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--a-line);
  background: var(--a-panel);
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
}
.adm-icon-btn:hover { border-color: var(--a-brand); color: var(--a-brand) !important; }
.adm-body { flex: 1; min-height: 0; overflow: auto; padding: 20px 22px 90px; scroll-behavior: smooth; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; touch-action: pan-y; }

/* ---------- 通用组件 ---------- */
.adm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid var(--a-line);
  background: var(--a-panel);
  color: var(--a-ink2) !important;
  font-weight: 700 !important;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .15s, background .15s, transform .15s;
}
.adm-btn:hover:not(:disabled) { border-color: var(--a-brand); }
.adm-btn:active:not(:disabled) { transform: scale(.97); }
.adm-btn:disabled { opacity: .5; cursor: wait; }
.adm-btn.primary { background: var(--a-brand); border-color: var(--a-brand); color: #fff !important; }
.adm-btn.danger { color: var(--a-red) !important; border-color: #efc6be; }
.adm-btn.danger:hover:not(:disabled) { background: var(--a-red-soft); border-color: var(--a-red); }
.adm-link { border: 0; background: none; padding: 0; color: var(--a-brand) !important; cursor: pointer; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.adm-mini {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  color: var(--a-muted) !important;
  font-size: 13px;
  line-height: 1;
}
.adm-mini.text { width: auto; padding: 0 8px; font-size: 12px; border-color: var(--a-line); background: var(--a-panel); }
.adm-mini:hover:not(:disabled) { background: var(--a-line2); color: var(--a-ink) !important; }
.adm-mini:disabled { opacity: .3; cursor: default; }
.adm-mini.danger:hover:not(:disabled) { background: var(--a-red-soft); color: var(--a-red) !important; }
.adm-mini.on { background: var(--a-line2); }

.adm-input, .adm-select {
  height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--a-line);
  background: var(--a-panel);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  min-width: 0;
}
textarea.adm-input { height: auto; padding: 10px 12px; line-height: 1.6; resize: vertical; }
.adm-input:focus, .adm-select:focus { border-color: var(--a-brand); box-shadow: 0 0 0 3px rgba(76, 63, 211, .14); }
.adm-input.small { width: 92px; height: 32px; font-family: ui-monospace, Consolas, monospace; font-size: 13px; }
.adm-select.small { height: 30px; font-size: 12.5px; padding: 0 8px; max-width: 120px; }
.adm-input.bad { border-color: var(--a-red); }
.adm-search { width: min(320px, 100%); }

.adm-pill { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 11.5px; font-weight: 700; background: var(--a-line2); color: var(--a-ink2); white-space: nowrap; }
.adm-pill.green { background: var(--a-green-soft); color: var(--a-green); }
.adm-pill.red { background: var(--a-red-soft); color: var(--a-red); }
.adm-pill.gray { background: var(--a-line2); color: var(--a-muted); }
.adm-muted { color: var(--a-muted); font-size: 12.5px; }
.adm-grow { flex: 1; }
.adm-hint { color: var(--a-muted); font-size: 12.5px; margin: 10px 2px; line-height: 1.6; }
.adm-empty { padding: 40px 10px; text-align: center; color: var(--a-muted); }
.adm-empty.small { padding: 16px 6px; font-size: 13px; }
.adm-loading { padding: 50px 10px; text-align: center; color: var(--a-muted); }
.adm-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.adm-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }

.adm-card { background: var(--a-panel); border: 1px solid var(--a-line); border-radius: var(--a-radius); padding: 16px 18px; margin-bottom: 16px; }
.adm-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.adm-card-head h3 { margin: 0; font-size: 14px; font-weight: 800; color: var(--a-ink2); }
.adm-grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.adm-grid2 .adm-card { margin-bottom: 0; }
.adm-grid2 + .adm-card { margin-top: 16px; }

.adm-kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-bottom: 16px; }
.adm-kpis.small { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.adm-kpi { background: var(--a-panel); border: 1px solid var(--a-line); border-radius: var(--a-radius); padding: 14px 16px; min-width: 0; }
.adm-kpi-label { font-size: 12.5px; color: var(--a-muted); font-weight: 600; }
.adm-kpi-value { font-size: 24px; font-weight: 800; margin-top: 4px; letter-spacing: .3px; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-kpis.small .adm-kpi { padding: 10px 12px; }
.adm-kpis.small .adm-kpi-value { font-size: 19px; }
.adm-kpi-sub { font-size: 12px; color: var(--a-muted); margin-top: 4px; }

/* 图表 */
.adm-chart-wrap { position: relative; }
.adm-chart { display: block; width: 100%; height: auto; overflow: visible; }
.adm-chart .grid { stroke: var(--a-line); stroke-width: 1; }
.adm-chart .axis { fill: var(--a-muted); font-size: 11px; }
.adm-chart .bar { fill: var(--a-brand); }
.adm-chart .hit { fill: transparent; cursor: default; }
.adm-chart .hit:hover { fill: rgba(76, 63, 211, .06); }
.adm-chart-tip {
  position: absolute;
  top: -6px;
  transform: translate(-50%, -100%);
  padding: 5px 9px;
  border-radius: 8px;
  background: var(--a-ink);
  color: #fff;
  font-size: 12px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity .12s;
}
.adm-chart-tip.show { opacity: 1; }

/* 排行 */
.adm-rank { display: flex; flex-direction: column; gap: 2px; }
.adm-rank-row { display: grid; grid-template-columns: 20px 24px minmax(0, 1fr) 30% 56px; align-items: center; gap: 8px; padding: 7px 6px; border: 0; border-radius: 8px; background: none; cursor: pointer; text-align: left; }
.adm-rank-row:hover { background: var(--a-line2); }
.adm-rank-no { color: var(--a-muted); font-size: 12px; text-align: center; font-variant-numeric: tabular-nums; }
.adm-rank-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-rank-bar { height: 6px; border-radius: 3px; background: var(--a-line2); overflow: hidden; }
.adm-rank-bar i { display: block; height: 100%; border-radius: 3px; background: var(--a-brand); }
.adm-rank-val { text-align: right; font-size: 12.5px; color: var(--a-ink2); font-variant-numeric: tabular-nums; }

/* 表格 */
.adm-table-wrap { background: var(--a-panel); border: 1px solid var(--a-line); border-radius: var(--a-radius); overflow: auto; max-height: calc(100vh - 230px); }
.adm-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.adm-table th, .adm-table td { padding: 9px 12px; border-bottom: 1px solid var(--a-line2); text-align: left; white-space: nowrap; }
.adm-table th { position: sticky; top: 0; z-index: 1; background: #faf9f7; font-size: 12.5px; color: var(--a-muted); font-weight: 700; cursor: pointer; user-select: none; }
.adm-table th:hover { color: var(--a-ink); }
.adm-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.adm-table tr.click { cursor: pointer; }
.adm-table tbody tr:hover { background: #faf9fe; }
.adm-table tr.muted td { color: var(--a-muted); }
.adm-table tfoot td { position: sticky; bottom: 0; background: #faf9f7; font-weight: 800; border-top: 1px solid var(--a-line); }
.adm-table.compact th, .adm-table.compact td { padding: 7px 8px; }
.adm-table.compact th { position: static; cursor: default; }
.adm-sort { margin-left: 4px; font-size: 10px; color: var(--a-brand); }
.adm-gname { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.adm-gicon { width: 24px; text-align: center; font-size: 17px; flex: none; }

/* 抽屉 */
.adm-drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(860px, 100%);
  display: flex;
  flex-direction: column;
  background: var(--a-bg);
  border-left: 1px solid var(--a-line);
  box-shadow: -24px 0 50px -30px rgba(22, 19, 40, .5);
  transform: translateX(105%);
  transition: transform .28s cubic-bezier(.2, .75, .25, 1);
  z-index: 5;
}
.adm-drawer.open { transform: none; }
.adm-drawer-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--a-line); background: var(--a-panel); }
.adm-drawer-head h3 { flex: 1; margin: 0; font-size: 16px; }
.adm-drawer-body { flex: 1; min-height: 0; overflow: auto; padding: 18px; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.adm-detail-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.adm-detail-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--a-brand-soft); display: grid; place-items: center; font-size: 26px; flex: none; }
.adm-detail-name { font-size: 19px; font-weight: 800; }
.adm-dl { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 8px 12px; margin: 0 0 16px; font-size: 13.5px; }
.adm-dl dt { color: var(--a-muted); }
.adm-dl dd { margin: 0; word-break: break-all; }
.adm-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.adm-chip { height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--a-line); background: var(--a-panel); cursor: pointer; font-size: 13px; }
.adm-chip:hover { border-color: var(--a-brand); color: var(--a-brand) !important; }
.adm-history { display: flex; flex-direction: column; }
.adm-history-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 8px 0; border-bottom: 1px solid var(--a-line2); font-size: 13px; }

/* 分类管理 */
.adm-cat-layout { display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: 16px; align-items: start; }
.adm-cat-col { background: var(--a-panel); border: 1px solid var(--a-line); border-radius: var(--a-radius); padding: 10px; min-width: 0; }
.adm-cat-col:first-child { position: sticky; top: 0; max-height: calc(100vh - 200px); overflow: auto; }
.adm-col-title { font-size: 12.5px; color: var(--a-muted); font-weight: 700; padding: 4px 6px 10px; }
.adm-col-title.row { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--a-ink); flex-wrap: wrap; }
.adm-cat-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 6px;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid transparent;
}
.adm-cat-row:hover { background: var(--a-line2); }
.adm-cat-row.on { background: var(--a-brand-soft); border-color: #d6d1f7; }
.adm-cat-row.adm-drop-target { background: #e6f6ee; border-color: var(--a-green); }
.adm-cat-icon { width: 30px; height: 30px; border-radius: 8px; border: 0; background: rgba(0, 0, 0, .04); cursor: pointer; font-size: 16px; flex: none; }
.adm-cat-name { flex: 1; min-width: 0; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-cat-count { font-size: 12px; color: var(--a-muted); font-variant-numeric: tabular-nums; }
.adm-cat-ops { display: inline-flex; gap: 0; opacity: 0; transition: opacity .15s; }
.adm-cat-row:hover .adm-cat-ops, .adm-cat-row.on .adm-cat-ops { opacity: 1; }
.adm-handle { flex: none; width: 18px; color: #b8b3c0; cursor: grab; letter-spacing: -2px; font-size: 13px; user-select: none; touch-action: none; text-align: center; }
.adm-handle:active { cursor: grabbing; }
.adm-game-list { display: flex; flex-direction: column; gap: 2px; }
.adm-game-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 6px;
  border-radius: 10px;
  border: 1px solid transparent;
}
.adm-game-row:hover { background: #faf9f7; }
.adm-game-row.hidden-game .adm-game-name { color: var(--a-muted); text-decoration: line-through; text-decoration-color: rgba(0, 0, 0, .25); }
.adm-game-row.flash { animation: adm-flash 1.6s ease; }
@keyframes adm-flash { 0%, 40% { background: #fff3d4; border-color: #ecc979; } }
.adm-game-row input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--a-brand); flex: none; }
.adm-game-name { flex: 1; min-width: 0; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-game-name small { margin-left: 8px; color: var(--a-muted); font-weight: 400; font-size: 11.5px; }
.adm-bulk { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 8px 10px; margin: 0 0 8px; border-radius: 10px; background: var(--a-brand-soft); font-size: 13px; font-weight: 700; }
.adm-ghost { position: fixed; z-index: 400; pointer-events: none; background: var(--a-panel); border: 1px solid var(--a-brand) !important; border-radius: 10px; box-shadow: 0 16px 34px -12px rgba(22, 19, 40, .45); opacity: .95; }
.adm-dragging { opacity: .35; }
.adm-drop-line { height: 3px; margin: -1px 6px; border-radius: 2px; background: var(--a-brand); }

/* 保存条 */
.adm-savebar {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px 10px 18px;
  border-radius: 14px;
  background: var(--a-ink);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 18px 40px -16px rgba(22, 19, 40, .7);
  transform: translate(-50%, 140%);
  transition: transform .25s cubic-bezier(.2, .75, .25, 1);
  white-space: nowrap;
}
.adm-savebar.show { transform: translate(-50%, 0); }
.adm-savebar .adm-btn:not(.primary) { background: transparent; border-color: rgba(255, 255, 255, .3); color: #fff !important; }

/* 表单 */
.adm-form { display: flex; flex-direction: column; gap: 4px; background: var(--a-panel); border: 1px solid var(--a-line); border-radius: var(--a-radius); padding: 8px 16px; }
.adm-form-title { font-weight: 800; padding: 14px 0 4px; font-size: 14px; }
.adm-field { display: grid; grid-template-columns: 170px minmax(0, 1fr); align-items: center; gap: 4px 14px; padding: 10px 0; border-bottom: 1px solid var(--a-line2); }
.adm-field:last-child { border-bottom: 0; }
.adm-field-label { font-weight: 600; font-size: 13.5px; color: var(--a-ink2); }
.adm-field-hint { grid-column: 2; font-size: 12px; color: var(--a-muted); }
.adm-field .adm-input, .adm-field textarea { width: 100%; }
.adm-slider { display: flex; align-items: center; gap: 12px; }
.adm-range { flex: 1; accent-color: var(--a-brand); min-width: 0; }
.adm-slider-val { width: 58px; text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; font-size: 13px; }
.adm-color-row { display: flex; align-items: center; gap: 10px; }
.adm-color { width: 44px; height: 32px; padding: 2px; border-radius: 8px; border: 1px solid var(--a-line); background: var(--a-panel); cursor: pointer; }
.adm-seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 3px; border-radius: 12px; background: var(--a-line2); }
.adm-seg button { height: 32px; padding: 0 12px; border: 0; border-radius: 9px; background: transparent; cursor: pointer; font-weight: 600; font-size: 13px; color: var(--a-ink2) !important; }
.adm-seg button.on { background: var(--a-panel); color: var(--a-ink) !important; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.adm-ap-tabs { margin-bottom: 14px; }
.adm-switch {
  appearance: none;
  -webkit-appearance: none;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: #d8d3cc;
  position: relative;
  cursor: pointer;
  transition: background .18s;
  justify-self: start;
}
.adm-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .18s; }
.adm-switch:checked { background: var(--a-brand); }
.adm-switch:checked::after { transform: translateX(18px); }

/* 服务器操作 */
.adm-op { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--a-line2); }
.adm-op:last-child { border-bottom: 0; }
.adm-op > div { flex: 1; min-width: 0; }
.adm-op-title { font-weight: 700; margin-bottom: 2px; }

/* 反馈 */
.adm-reports { display: flex; flex-direction: column; gap: 8px; }
.adm-report { background: var(--a-panel); border: 1px solid var(--a-line); border-radius: 12px; }
.adm-report summary { display: flex; align-items: center; gap: 10px; padding: 12px 14px; cursor: pointer; list-style: none; }
.adm-report summary::-webkit-details-marker { display: none; }
.adm-report-title { flex: 1; min-width: 0; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-report-body { padding: 0 14px 12px; }
.adm-report-desc { white-space: pre-wrap; word-break: break-word; line-height: 1.7; padding: 10px 12px; border-radius: 10px; background: #faf9f7; margin-bottom: 12px; }

/* 对话框 / 登录 / 提示 */
.adm-dialog-wrap { position: absolute; inset: 0; z-index: 20; display: grid; place-items: center; background: rgba(22, 19, 40, .35); padding: 16px; pointer-events: auto; }
.adm-dialog { width: min(420px, 100%); background: var(--a-panel); border-radius: 16px; padding: 20px; box-shadow: 0 30px 70px -20px rgba(22, 19, 40, .6); display: flex; flex-direction: column; gap: 12px; }
.adm-dialog-title { font-size: 16px; font-weight: 800; }
.adm-dialog-text { color: var(--a-ink2); line-height: 1.6; }
.adm-dialog .adm-input { width: 100%; }
.adm-dialog-actions { display: flex; justify-content: flex-end; gap: 8px; }
.adm.locked .adm-shell { filter: blur(3px); pointer-events: none; }
.adm-login { position: absolute; inset: 0; z-index: 30; display: grid; place-items: center; padding: 16px; }
.adm-login-card { width: min(360px, 100%); background: var(--a-panel); border-radius: 20px; padding: 28px 24px 22px; display: flex; flex-direction: column; gap: 12px; text-align: center; box-shadow: 0 30px 80px -24px rgba(22, 19, 40, .6); }
.adm-login-icon { font-size: 34px; }
.adm-login-title { font-size: 19px; font-weight: 800; }
.adm-login-sub { color: var(--a-muted); font-size: 13px; }
.adm-login-card .adm-input { width: 100%; height: 42px; text-align: center; }
.adm-login-card .adm-btn { height: 42px; }
.adm-login-err { color: var(--a-red); font-size: 13px; min-height: 18px; }
.adm-toast {
  position: absolute;
  left: 50%;
  top: 22px;
  z-index: 40;
  transform: translate(-50%, -20px);
  opacity: 0;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--a-ink);
  color: #fff;
  font-weight: 600;
  font-size: 13.5px;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
  max-width: calc(100% - 32px);
}
.adm-toast.show { opacity: 1; transform: translate(-50%, 0); }
.adm-toast.ok { background: #176b45; }
.adm-toast.err { background: #a33524; }

/* ---------- 手机 ---------- */
@media (max-width: 760px) {
  .adm-shell { inset: 0; border-radius: 0; flex-direction: column; }
  .adm.mode-drawer .adm-shell { width: 100%; top: 38vh; border-radius: 18px 18px 0 0; }
  .adm-side { width: auto !important; flex-direction: row; align-items: center; padding: 8px; gap: 6px; overflow-x: auto; scrollbar-width: none; }
  .adm-side::-webkit-scrollbar { display: none; }
  .adm-brand, .adm-side-foot { display: none; }
  .adm-nav { flex-direction: row; gap: 4px; }
  .adm-nav-item { padding: 8px 10px !important; white-space: nowrap; font-size: 13px; }
  .adm.mode-drawer .adm-nav-text { display: inline; }
  .adm-top { padding: 10px 14px; }
  .adm-title { font-size: 16px; }
  .adm-body { padding: 14px 12px 96px; }
  .adm-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .adm-kpi { padding: 10px 12px; }
  .adm-kpi-value { font-size: 19px; }
  .adm-kpis.small { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .adm-grid2 { grid-template-columns: 1fr; }
  .adm-cat-layout { grid-template-columns: 1fr; }
  .adm-cat-col:first-child { position: static; max-height: 260px; }
  .adm-cat-ops { opacity: 1; }
  .adm-field { grid-template-columns: 1fr; }
  .adm-field-hint { grid-column: 1; }
  .adm-search { width: 100%; }
  .adm-table-wrap { max-height: none; }
  .adm-rank-row { grid-template-columns: 18px 22px minmax(0, 1fr) 22% 50px; }
  .adm-savebar { left: 12px; right: 12px; transform: translateY(160%); white-space: normal; flex-wrap: wrap; }
  .adm-savebar.show { transform: none; }
  .adm-savebar > span { flex: 1 1 100%; font-size: 13px; }
  .adm-drawer { width: 100%; }
  .adm-game-name small { display: none; }
}

/* 热门推荐（分类管理里的虚拟分类） */
.adm-hot-row { display: flex; align-items: center; gap: 6px; padding: 6px; margin-bottom: 6px; border-radius: 10px; cursor: pointer; border: 1px dashed #efc78a; background: #fff8ec; }
.adm-hot-row:hover { background: #fff1d9; }
.adm-hot-row.on { border-style: solid; border-color: #e3a64a; background: #fdecc8; }
.adm-hot-row.adm-drop-target { background: #ffe2b0; border-color: #c9851f; }
.adm-handle.ghost { visibility: hidden; }
.adm-cat-icon.static { display: grid; place-items: center; cursor: default; }
.adm-hot-add { margin: 0 4px 12px; }
.adm-hot-add .adm-search { width: 100%; }
.adm-hot-hits { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.adm-mini.hot { background: #fdecc8; }
.adm-game-row .adm-rank-no { width: 20px; flex: none; }

/* 公告富文本编辑器 */
.adm-rich { border: 1px solid var(--a-line); border-radius: 12px; overflow: hidden; background: var(--a-panel); }
.adm-rich-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 6px; border-bottom: 1px solid var(--a-line2); background: #faf9f7; }
.adm-rich-btn { height: 30px; min-width: 30px; padding: 0 8px; border: 1px solid transparent; border-radius: 8px; background: transparent; cursor: pointer; font-size: 13px; color: var(--a-ink2) !important; }
.adm-rich-btn:hover { background: #fff; border-color: var(--a-line); }
.adm-rich-btn.b { font-weight: 800; }
.adm-rich-btn.i { font-style: italic; font-family: Georgia, serif; }
.adm-rich-btn.u { text-decoration: underline; }
.adm-rich-btn.s { text-decoration: line-through; }
.adm-rich-colorwrap { display: inline-flex; align-items: center; gap: 2px; height: 30px; padding: 0 4px; border-radius: 8px; cursor: pointer; font-weight: 800; }
.adm-rich-colorwrap:hover { background: #fff; }
.adm-rich-color { width: 22px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; }
.adm-rich-area { min-height: 90px; max-height: 260px; overflow: auto; padding: 10px 12px; line-height: 1.7; outline: none; font-size: 14px; }
.adm-rich-area:focus { box-shadow: inset 0 0 0 2px rgba(76, 63, 211, .2); }
.adm-rich-area a { color: var(--a-brand); text-decoration: underline; }

/* 抽屉模式（外观 / 页面文字）下保存条放得下 */
.adm.mode-drawer .adm-savebar { left: 12px; right: 12px; transform: translateY(160%); white-space: normal; }
.adm.mode-drawer .adm-savebar.show { transform: none; }
.adm.mode-drawer .adm-savebar > span { flex: 1; font-size: 12.5px; line-height: 1.4; }

/* 电脑端 / 手机端壁纸设置 */
.adm-wallpaper-devices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.adm-wallpaper-device { min-width: 0; padding: 12px; border: 1px solid var(--a-line); border-radius: 12px; background: var(--a-panel); display: grid; gap: 10px; }
.adm-wallpaper-device-title { color: var(--a-ink); font-size: 13px; font-weight: 800; }
.adm-wallpaper-device-options { min-width: 0; }
.adm-wallpaper-device-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.adm-wp-progress { display: none; height: 6px; margin-top: 8px; border-radius: 999px; background: var(--a-line); overflow: hidden; }
.adm-wp-progress.show { display: block; }
.adm-wp-progress i { display: block; width: 0; height: 100%; background: var(--a-brand); transition: width .15s ease; }
.adm-wp-preview { display: block; width: 100%; max-height: 180px; margin-top: 10px; object-fit: cover; border-radius: 10px; border: 1px solid var(--a-line); background: var(--a-line); }
@media (max-width: 640px) {
  .adm-wallpaper-devices { grid-template-columns: minmax(0, 1fr); }
}

/* 反馈截图（2026-10-22 反馈 2.0） */
.adm-report-shots { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.adm-report-shot { display: grid; place-items: center; width: 160px; height: 110px; border-radius: 10px; overflow: hidden; border: 1px solid rgba(0,0,0,.1); background: rgba(0,0,0,.04); font-size: 12px; color: inherit; opacity: .9; cursor: zoom-in; }
.adm-report-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- 国内加速面板（2026-10-31） ---------- */
.adm .cn-filters { margin: -4px 0 10px; }
.adm .adm-chip.on { background: var(--a-brand); border-color: var(--a-brand); color: #fff !important; }
.adm .cn-hint { margin-bottom: 10px; font-size: 12.5px; color: var(--a-muted); }
.adm .cn-table td { vertical-align: middle; }
.adm .cn-table tr.cn-on td:first-child { box-shadow: inset 3px 0 0 var(--a-brand); }
.adm .cn-rank { color: var(--a-muted); font-weight: 700; }
.adm .cn-name { font-weight: 700; white-space: normal; min-width: 8em; }
.adm .cn-sub { font-size: 12px; color: var(--a-muted); white-space: normal; }
.adm .cn-tag { display: inline-block; padding: 1px 8px; border-radius: 6px; font-size: 12px; font-weight: 700; background: #f1eee8; color: var(--a-muted); }
.adm .cn-tag.on { background: rgba(76, 63, 211, .12); color: var(--a-brand); }
.adm .cn-y { color: var(--a-brand); font-weight: 800; }
.adm .cn-n { color: var(--a-red); font-weight: 800; }
.adm .cn-move { display: flex; gap: 4px; }
.adm .cn-mini { height: 26px; padding: 0 8px; margin-right: 4px; border: 1px solid var(--a-line); border-radius: 7px; background: var(--a-panel); font-size: 12px; cursor: pointer; color: var(--a-ink); }
.adm .cn-mini:hover { border-color: var(--a-brand); color: var(--a-brand); }
.adm .cn-mini.on { background: rgba(76, 63, 211, .1); border-color: rgba(76, 63, 211, .35); color: var(--a-brand); }
.adm .adm-btn.small { height: 30px; padding: 0 12px; font-size: 12.5px; }
.adm .cn-batch { display: none; position: sticky; bottom: 0; z-index: 3; margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: #1f1a52; color: #fff; align-items: center; flex-wrap: wrap; gap: 8px; box-shadow: 0 10px 30px -12px rgba(31, 26, 82, .6); }
.adm .cn-batch.show { display: flex; }
.adm .cn-batch.busy { opacity: .6; pointer-events: none; }
.adm .cn-batch-n { font-weight: 800; margin-right: 4px; }
.adm .cn-batch .adm-btn:not(.primary) { background: transparent; border-color: rgba(255, 255, 255, .3); color: #fff !important; }
.adm .cn-batch .adm-link { color: rgba(255, 255, 255, .75); }
.adm .cn-log { display: grid; gap: 6px; font-size: 13px; }
.adm .cn-log-row { display: flex; gap: 10px; }
.adm .cn-log-time { flex: none; width: 6em; color: var(--a-muted); }
.adm .cn-bump { max-width: 520px; }
.adm .cn-bump .adm-dialog-text { white-space: pre-line; }
.adm .cn-bump-count { margin: 10px 0 6px; font-weight: 700; color: var(--a-brand); }
.adm .cn-bump-list { max-height: 46vh; overflow: auto; border: 1px solid var(--a-line); border-radius: 10px; }
.adm .cn-bump-row { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-bottom: 1px solid var(--a-line2); cursor: pointer; }
.adm .cn-bump-row:last-child { border-bottom: 0; }
.adm .cn-bump-name { font-weight: 700; flex: 1; min-width: 0; }
.adm .cn-bump-meta { font-size: 12px; color: var(--a-muted); white-space: nowrap; }
.adm .cn-field { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.adm .cn-field > span { flex: none; font-size: 13px; }
.adm .adm-dialog-text { white-space: pre-line; }
@media (max-width: 720px) {
  .adm .cn-table th:nth-child(6), .adm .cn-table td:nth-child(6) { display: none; }
}

/* ---------- 首页标签编辑（2026-10-31） ---------- */
.adm .tabs-ed { display: grid; gap: 18px; padding-bottom: 70px; }
.adm .tabs-sec h4 { margin: 0 0 4px; font-size: 15px; }
.adm .tabs-tip { margin: 0 0 10px; font-size: 12.5px; color: var(--a-muted); }
.adm .tabs-list, .adm .tabs-games { display: grid; gap: 6px; }
.adm .tabs-row, .adm .tabs-game { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--a-line); border-radius: 10px; background: var(--a-panel); }
.adm .tabs-row.fixed { background: var(--a-line2); }
.adm .tabs-row.off .tabs-name { color: var(--a-muted); text-decoration: line-through; }
.adm .tabs-name { font-weight: 700; flex: none; }
.adm .tabs-note { flex: 1; min-width: 0; font-size: 12px; color: var(--a-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm .tabs-ops { display: flex; gap: 4px; flex: none; }
.adm .tabs-field { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; font-size: 13.5px; }
.adm .tabs-radio { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.adm .tabs-gname { flex: 1; min-width: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm .tabs-date { width: 150px; height: 32px; flex: none; }
.adm .tabs-save { display: none; position: sticky; bottom: 0; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #1f1a52; color: #fff; box-shadow: 0 10px 30px -12px rgba(31, 26, 82, .6); }
.adm .tabs-save.show { display: flex; }
.adm .tabs-save span { flex: 1; font-weight: 700; }
.adm .adm-chip.on { background: var(--a-brand); border-color: var(--a-brand); color: #fff !important; }

/* 链接打开方式选择（2026-10-31） */
.adm .link-mode { display: grid; gap: 8px; margin: 12px 0 4px; }
.adm .link-mode-opt { height: auto !important; padding: 10px 14px !important; display: grid !important; justify-items: start; gap: 2px; text-align: left; }
.adm .link-mode-opt span { font-size: 12.5px; font-weight: 400; opacity: .8; }

/* ---------- 2026-10-31 页面文字：多条公告 ---------- */
.adm-ann-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.adm-ann-tab { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 6px; min-width: 120px; max-width: 200px; padding: 8px 12px; border: 1px solid var(--a-line); border-radius: 12px; background: var(--a-panel); cursor: pointer; text-align: left; font: inherit; color: var(--a-ink2); }
.adm-ann-tab b { font-size: 13px; color: var(--a-ink); }
.adm-ann-tab small { grid-column: 1 / -1; font-size: 11.5px; color: var(--a-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-ann-tab.on { border-color: var(--a-brand); box-shadow: 0 0 0 2px rgba(76, 63, 211, .15); }
.adm-ann-tab.off { opacity: .6; }
.adm-ann-tab.add { display: inline-flex; justify-content: center; min-width: 100px; border-style: dashed; }
.adm-ann-dot { width: 10px; height: 10px; border-radius: 50%; }
.adm-ann-dot.tone-info { background: #6b72e0; } .adm-ann-dot.tone-gold { background: #d9952e; } .adm-ann-dot.tone-green { background: #2c9a5d; } .adm-ann-dot.tone-red { background: #d25a45; }
.adm-ann-editor { display: grid; gap: 14px; padding: 14px; border: 1px solid var(--a-line2, #eee); border-radius: 14px; background: #fcfbf9; }
.adm-ann-ops { display: flex; align-items: center; gap: 6px; }

/* ---------- 2026-10-31 分类管理：统一的首页标签列表 + 最新游戏面板 ---------- */
.adm-col-tip { font-size: 12px; color: var(--a-muted); padding: 0 6px 8px; margin-top: -6px; }
.adm-cat-row.fixed { cursor: default; opacity: .75; }
.adm-cat-row.special { background: #fbf8f2; border: 1px dashed #e9dcc4; margin-bottom: 2px; }
.adm-cat-row.special.on { background: var(--a-brand-soft); border-style: solid; border-color: #d6d1f7; }
.adm-cat-row.tab-off .adm-cat-name { color: var(--a-muted); text-decoration: line-through; }
.adm-cat-row.tab-off .adm-cat-icon { opacity: .45; }
.adm-mini.eye { flex: none; }
.adm-mini.eye.on { background: #f3e9e7; }
.adm-empty.small.left { text-align: left; padding: 10px 6px; color: var(--a-ink2); }
.nw-set { display: grid; gap: 10px; padding: 12px; margin-bottom: 14px; border: 1px solid var(--a-line); border-radius: 12px; background: #fcfbf9; }
.nw-line { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 13.5px; }
.nw-label { flex: none; width: 76px; font-weight: 700; color: var(--a-ink2); }
.nw-inl { display: inline-flex; align-items: center; gap: 6px; }
.nw-num { width: 76px !important; height: 32px; }
.nw-head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.nw-head .small { font-size: 11.5px; }
.nw-tip { margin: 4px 2px 10px; font-size: 12.5px; color: var(--a-muted); line-height: 1.6; }
.nw-date { width: 148px !important; height: 32px; flex: none; }
.nw-add { margin-top: 12px; display: grid; gap: 8px; }
@media (max-width: 720px) {
  .nw-date { width: 128px !important; }
  .nw-list .adm-game-name small { display: none; }
}
.adm-cat-list .adm-cat-ops { display: none; }
.adm-cat-list .adm-cat-row:hover .adm-cat-ops, .adm-cat-list .adm-cat-row.on .adm-cat-ops { display: inline-flex; }
@media (hover: none) { .adm-cat-list .adm-cat-row.on .adm-cat-ops { display: inline-flex; } }

/* ---------- 2026-10-31 游戏管理 ---------- */
.gm-top { display: grid; gap: 8px; margin-bottom: 12px; }
.gm-agent { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 10px 12px; border-radius: 12px; font-size: 13px; }
.gm-agent.on { background: var(--a-green-soft); }
.gm-agent.off { background: #f6f3ee; }
.gm-agent span { color: var(--a-ink2); flex: 1; min-width: 200px; }
.gm-root { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--a-muted); flex-wrap: wrap; }
.gm-root code { background: var(--a-line2); padding: 2px 6px; border-radius: 6px; color: var(--a-ink2); }
.gm-list { display: grid; gap: 6px; }
.gm-row { display: grid; grid-template-columns: 30px minmax(0, 1.4fr) auto minmax(0, 1.2fr) 80px auto 14px; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--a-line); border-radius: 12px; background: var(--a-panel); cursor: pointer; }
.gm-row:hover { border-color: #d6d1f7; background: #fcfbff; }
.gm-row.gone { opacity: .65; }
.gm-name { min-width: 0; display: grid; }
.gm-name b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gm-name small { font-size: 11.5px; color: var(--a-muted); }
.gm-local { font-size: 12px; color: var(--a-ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gm-local.miss { color: var(--a-red); }
.gm-bk { font-size: 12px; color: var(--a-muted); white-space: nowrap; }
.gm-more { color: var(--a-muted); font-size: 18px; }
@media (max-width: 760px) {
  .gm-row { grid-template-columns: 28px minmax(0, 1fr) auto auto; }
  .gm-local, .gm-bk, .gm-more { display: none; }
}
.gm-detail { display: grid; gap: 18px; }
.gm-sec h4 { margin: 0 0 8px; font-size: 14.5px; }
.gm-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.gm-line .adm-input { flex: 1; min-width: 220px; }
.gm-tip { margin: 6px 0; font-size: 12.5px; color: var(--a-muted); white-space: pre-wrap; }
.gm-check { display: flex; align-items: flex-start; gap: 6px; margin-top: 8px; font-size: 12.5px; color: var(--a-ink2); }
.gm-diff { margin-top: 8px; display: grid; gap: 6px; }
.gm-dg { border: 1px solid var(--a-line); border-radius: 10px; padding: 6px 10px; }
.gm-dg summary { cursor: pointer; font-weight: 700; font-size: 13px; }
.gm-dg.l summary { color: var(--a-brand); } .gm-dg.n summary { color: #b06d12; }
.gm-files { margin-top: 6px; max-height: 220px; overflow: auto; white-space: pre; font: 12px/1.6 ui-monospace, Consolas, monospace; color: var(--a-ink2); }
.gm-bks { display: grid; gap: 4px; margin-top: 8px; }
.gm-bk-row { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; background: #faf9f7; }
.gm-bk-name { flex: 1; min-width: 0; font: 12px ui-monospace, Consolas, monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gm-bk-row small { color: var(--a-muted); font-size: 11.5px; white-space: nowrap; }
.adm-ann-ops .adm-mini { width: auto; min-width: 0; padding: 0 10px; white-space: nowrap; }
.gm-detail { grid-template-columns: minmax(0, 1fr); }
.gm-sec { min-width: 0; }
.gm-line .adm-input { min-width: 0; flex: 1 1 260px; }
.gm-bk-row { flex-wrap: wrap; }
.gm-bk-name { flex: 1 1 220px; }

/* ---------- 2026-10-31 每个标签的主题色 ---------- */
.tc-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 6px; }
.tc-row { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border: 1px solid var(--a-line); border-radius: 10px; background: var(--a-panel); }
.tc-ico { width: 22px; text-align: center; }
.tc-swatch { width: 22px; height: 22px; border-radius: 7px; border: 1px solid transparent; flex: none; }
.tc-name { flex: 1; min-width: 0; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-row .adm-color { width: 34px; height: 28px; flex: none; }
.tc-row [hidden] { display: none !important; }

/* ---------- 2026-10-31 游戏图标 ---------- */
.ic-stat { font-size: 12.5px; color: var(--a-muted); }
.ic-sample { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; padding: 10px; border-radius: 12px; background: #f6f3ee; }
.ic-sample.bare { background: repeating-conic-gradient(#efebe4 0 25%, #f8f6f2 0 50%) 0 0 / 16px 16px; }
.ic-cell { display: grid; justify-items: center; gap: 4px; min-width: 0; }
.ic-cell small { font-size: 11px; color: var(--a-ink2); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ic-thumb { width: 48px; height: 48px; border-radius: 14px; object-fit: cover; display: grid; place-items: center; font-size: 28px; background: #fff; }
.ic-thumb.bare { background: transparent; object-fit: contain; }
.ic-thumb.sm { width: 30px; height: 30px; border-radius: 9px; font-size: 18px; }
.ic-pick-title { margin: 12px 0 6px; font-size: 13px; font-weight: 700; color: var(--a-ink2); }
.ic-pick-title:first-of-type { margin-top: 0; }
.ic-pick { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.ic-opt { display: grid; justify-items: center; gap: 4px; padding: 8px 4px; border: 1.5px solid var(--a-line); border-radius: 12px; background: var(--a-panel); cursor: pointer; font: inherit; font-size: 12px; color: var(--a-ink2); }
.ic-opt.on { border-color: var(--a-brand); box-shadow: 0 0 0 2px rgba(76, 63, 211, .15); color: var(--a-brand); font-weight: 700; }
.ic-opt:disabled { opacity: .4; cursor: not-allowed; }
.gm-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 10px; margin-bottom: 8px; border-radius: 12px; background: #1f1a52; color: #fff; position: sticky; top: 0; z-index: 3; }
.gm-bar .adm-btn { height: 30px; }
.gm-bar b { margin-right: 4px; }
.gm-row .gm-chk { width: 18px; height: 18px; margin: 0; cursor: pointer; }
.gm-row { grid-template-columns: 18px 30px minmax(0, 1.4fr) auto minmax(0, 1.2fr) 80px auto 14px; }
.gm-ic { position: relative; display: grid; place-items: center; }
.gm-ic-dot { position: absolute; right: -2px; top: -2px; width: 8px; height: 8px; border-radius: 50%; background: var(--a-brand); box-shadow: 0 0 0 2px #fff; }
@media (max-width: 760px) { .gm-row { grid-template-columns: 18px 28px minmax(0, 1fr) auto auto; } .ic-pick { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gm-bar select { color: var(--a-ink); background: #fff; }

/* 国内加速面板（2026-11-03） */
.adm { --net-good: #2f9e6e; --net-warn: #d99a2b; --net-bad: #d6453d; }
.adm .net-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; }
.adm .net-bar .adm-chips { margin: 0; }
.adm .adm-chip.on { background: var(--a-accent, #4c3fd3); border-color: var(--a-accent, #4c3fd3); color: #fff; }
.adm .net-auto { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--a-muted); }
.adm .net-alarm { margin-bottom: 12px; padding: 10px 14px; border-radius: 10px; background: rgba(214, 69, 61, .12); color: var(--net-bad); font-size: 14px; font-weight: 600; }
.adm .net-chart { display: block; width: 100%; height: 110px; }
.adm .net-lines { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin-bottom: 12px; }
.adm .net-line { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 10px 12px; border: 1px solid var(--a-line, rgba(0, 0, 0, .1)); border-radius: 10px; }
.adm .net-line code { overflow-wrap: anywhere; font-size: 13px; }
.adm .net-line small { overflow-wrap: anywhere; color: var(--a-muted); }
.adm .net-picklabel { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 13px; color: var(--a-muted); }
.adm .net-pick { display: inline-flex; gap: 10px; }
.adm .net-pick label { display: inline-flex; align-items: center; gap: 4px; }
.adm .net-table td.good { color: var(--net-good); font-weight: 600; }
.adm .net-table td.warn { color: var(--net-warn); font-weight: 600; }
.adm .net-table td.bad { color: var(--net-bad); font-weight: 700; }
.adm .net-table tr.net-cur { background: rgba(76, 63, 211, .06); }
.adm .net-tag { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 99px; background: rgba(47, 158, 110, .14); color: var(--net-good); font-size: 11.5px; }
.adm .net-tag.off { background: rgba(217, 154, 43, .16); color: var(--net-warn); }
.adm .net-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.adm .net-sub { color: var(--a-muted); }
.adm .net-add { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.adm .net-add .adm-input { flex: 1 1 200px; min-width: 0; }
.adm .net-h { margin: 16px 0 6px; font-size: 14px; }
.adm .net-events { display: flex; flex-direction: column; max-height: 360px; overflow-y: auto; }
.adm .net-event { display: flex; flex-wrap: wrap; gap: 4px 10px; padding: 6px 2px; border-bottom: 1px solid var(--a-line, rgba(0, 0, 0, .08)); font-size: 13px; }
.adm .net-event.y-drop b { color: var(--net-bad); }
.adm .net-event.y-reconnect b { color: var(--net-good); }
.adm .net-ev-time { min-width: 72px; color: var(--a-muted); }

/* 自定义图标 */
.adm .gm-cicons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 10px; }
.adm .gm-cicon { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 8px 10px; border: 1px solid var(--a-line, rgba(0, 0, 0, .1)); border-radius: 10px; font-size: 13px; }
.adm .gm-cicon img, .adm .gm-cicon .gm-cicon-empty { flex: none; width: 48px; height: 48px; border-radius: 10px; object-fit: cover; background: rgba(0, 0, 0, .05); }
.adm .gm-cicon-empty { display: flex; align-items: center; justify-content: center; color: var(--a-muted); font-size: 11px; }
.adm .gm-cmode { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 8px; font-size: 13px; }
.adm .gm-cmode label { display: inline-flex; align-items: center; gap: 4px; }
@media (max-width: 560px) { .adm .gm-cicons { grid-template-columns: 1fr; } }

.adm .net-setup { margin-bottom: 14px; padding: 12px 14px; border: 1px solid rgba(217, 154, 43, .5); border-radius: 10px; background: rgba(217, 154, 43, .1); font-size: 13.5px; }
.adm .net-setup ol { margin: 8px 0 0; padding-left: 20px; line-height: 1.8; }
.adm .net-setup a { color: var(--a-accent, #4c3fd3); text-decoration: underline; }
.adm .net-best { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(0, 0, 0, .04); font-size: 13.5px; }
.adm .net-best.go { background: rgba(76, 63, 211, .1); font-weight: 600; }

/* .net-compact 线路表放得下操作按钮 */
.adm .net-table th, .adm .net-table td { padding-left: 7px; padding-right: 7px; font-size: 13px; }
.adm .net-table th { white-space: nowrap; }
.adm .net-table td code { overflow-wrap: anywhere; font-size: 12.5px; }
.adm .net-acts { flex-wrap: nowrap; }
.adm .net-acts .adm-btn { padding: 5px 10px; font-size: 12.5px; white-space: nowrap; }
.adm .net-acts .adm-mini { white-space: nowrap; }

.adm .net-ev-ip { color: var(--a-muted); }

.adm .net-table td.net-few { color: var(--a-muted); font-weight: 400; font-size: 12px; white-space: nowrap; }

.adm-kpi.click { cursor: pointer; transition: border-color .15s, transform .15s; }
.adm-kpi.click:hover, .adm-kpi.click:focus-visible { border-color: var(--a-accent, #4c3fd3); transform: translateY(-1px); outline: none; }
.adm-chip.on { background: var(--a-accent, #4c3fd3); border-color: var(--a-accent, #4c3fd3); color: #fff; }

/* 小王主页数据 / 主页默认设置 */
.adm-zy-bars { display: grid; gap: 10px; }
.adm-zy-bar { display: grid; grid-template-columns: minmax(0, 118px) minmax(0, 1fr) auto; align-items: center; gap: 10px; font-size: 13px; }
.adm-zy-bar-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--a-ink2); }
.adm-zy-bar-track { display: block; height: 8px; border-radius: 4px; background: var(--a-line2); overflow: hidden; }
.adm-zy-bar-track i { display: block; height: 100%; border-radius: 4px; background: var(--a-brand); }
.adm-zy-bar-val { font-weight: 700; color: var(--a-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.adm-zy-dl { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 14px; margin: 0; font-size: 13px; }
.adm-zy-dl dt { color: var(--a-ink2); }
.adm-zy-dl dd { margin: 0; font-weight: 700; color: var(--a-ink); text-align: right; font-variant-numeric: tabular-nums; }
.adm-zy-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.adm-zy-icons { display: grid; gap: 8px; margin-top: 10px; }
.adm-zy-icon { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.adm-zy-icon .adm-input { width: 100%; min-width: 0; }
.adm-zy-json { display: block; width: 100%; box-sizing: border-box; height: 60vh; min-height: 280px; padding: 12px; border: 1px solid var(--a-line); border-radius: 10px; background: var(--a-line2); color: var(--a-ink); font: 12.5px/1.5 Consolas, Menlo, monospace; resize: vertical; white-space: pre; overflow: auto; tab-size: 2; }
.adm-zy-err { color: var(--a-red); font-weight: 600; }
.adm-zy-history { display: grid; gap: 8px; }
.adm-zy-history-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 13px; }
.adm-zy-history-row .adm-btn { margin-left: auto; }
@media (max-width: 720px) {
  .adm-zy-bar { grid-template-columns: minmax(0, 92px) minmax(0, 1fr) auto; }
  .adm-zy-icon { grid-template-columns: minmax(0, 1fr) auto; padding-bottom: 8px; border-bottom: 1px solid var(--a-line2); }
  .adm-zy-icon .adm-input:nth-child(2) { grid-column: 1; grid-row: 2; }
  .adm-zy-icon .adm-btn { grid-column: 2; grid-row: 1 / span 2; }
  .adm-zy-json { font-size: 16px; } /* iOS 不放大 */
}

/* 主页默认设置的预览图 */
.adm-zy-shots { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; margin-bottom: 14px; }
.adm-zy-shot-box { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; max-width: 100%; }
.adm-zy-shot { position: relative; display: block; padding: 0; border: 1px solid var(--a-line2); border-radius: 12px; overflow: hidden; background: #d9c6a8; cursor: pointer; max-width: 100%; }
.adm-zy-shot:hover { border-color: var(--a-brand); }
.adm-zy-shot iframe { display: block; border: 0; transform-origin: 0 0; pointer-events: none; }
.adm-zy-click { cursor: pointer; transition: border-color .12s, background .12s; }
.adm-kpi.adm-zy-click:hover { border-color: var(--a-brand); }
tr.adm-zy-click:hover, .adm-zy-bar.adm-zy-click:hover, dt.adm-zy-click:hover, dd.adm-zy-click:hover { background: var(--a-line2); }
.adm-zy-click:focus-visible { outline: 2px solid var(--a-brand); outline-offset: 1px; }

/* 外卖站菜单编辑器 */
.adm-wm-toolbar { display:flex; justify-content:space-between; align-items:flex-end; gap:18px; padding:4px 0 18px; border-bottom:1px solid var(--a-line); margin-bottom:16px; }
.adm-wm-heading { margin:0; font-size:20px; color:var(--a-ink); letter-spacing:.02em; }
.adm-wm-description { margin:6px 0 0; color:var(--a-muted); font-size:13px; line-height:1.6; }
.adm-wm-tools,.adm-wm-subbar { display:flex; align-items:center; gap:10px; }
.adm-wm-save { white-space:nowrap; }
.adm-wm-state { color:var(--a-muted); font-size:12px; white-space:nowrap; }
.adm-wm-subbar { justify-content:space-between; margin:14px 0 10px; }
.adm-wm-search { max-width:320px; }
.adm-wm-featured { display:flex; align-items:center; gap:8px; min-height:34px; padding:7px 9px; border:1px solid var(--a-line); border-radius:8px; color:var(--a-ink); background:rgba(255,255,255,.5); font-size:12px; }
.adm-wm-feature-checkbox { accent-color:var(--a-brand); width:15px; height:15px; margin:0; }
.adm-wm-featured-count { color:var(--a-brand); font-size:12px; letter-spacing:.03em; white-space:nowrap; }
.adm-wm-featured { display:flex; align-items:center; gap:8px; min-height:34px; padding:7px 9px; border:1px solid var(--a-line); border-radius:8px; color:var(--a-ink); background:rgba(255,255,255,.5); font-size:12px; }
.adm-wm-feature-checkbox { accent-color:var(--a-brand); width:15px; height:15px; margin:0; }
.adm-wm-featured-count { color:var(--a-brand); font-size:12px; letter-spacing:.03em; white-space:nowrap; }
.adm-wm-featured { display:flex; align-items:center; gap:8px; min-height:34px; padding:7px 9px; border:1px solid var(--a-line); border-radius:8px; color:var(--a-ink); background:rgba(255,255,255,.5); font-size:12px; }
.adm-wm-feature-checkbox { accent-color:var(--a-brand); width:15px; height:15px; margin:0; }
.adm-wm-featured-count { color:var(--a-brand); font-size:12px; letter-spacing:.03em; white-space:nowrap; }
.adm-wm-featured { display:flex; align-items:center; gap:8px; min-height:34px; padding:7px 9px; border:1px solid var(--a-line); border-radius:8px; color:var(--a-ink); background:rgba(255,255,255,.5); font-size:12px; }
.adm-wm-feature-checkbox { accent-color:var(--a-brand); width:15px; height:15px; margin:0; }
.adm-wm-featured-count { color:var(--a-brand); font-size:12px; letter-spacing:.03em; white-space:nowrap; }
.adm-wm-featured { display:flex; align-items:center; gap:8px; min-height:34px; padding:7px 9px; border:1px solid var(--a-line); border-radius:8px; color:var(--a-ink); background:rgba(255,255,255,.5); font-size:12px; }
.adm-wm-feature-checkbox { accent-color:var(--a-brand); width:15px; height:15px; margin:0; }
.adm-wm-featured-count { color:var(--a-brand); font-size:12px; letter-spacing:.03em; white-space:nowrap; }
.adm-wm-hint { color:var(--a-muted); background:var(--a-panel); border:1px solid var(--a-line); border-radius:10px; padding:11px 14px; margin-bottom:16px; font-size:12px; line-height:1.7; }
.adm-wm-category { padding:18px; margin-bottom:16px; }
.adm-wm-category-head { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:14px; }
.adm-wm-category-title { display:flex; align-items:center; gap:11px; min-width:0; }
.adm-wm-category-title h3 { margin:0; font-size:16px; color:var(--a-ink); }
.adm-wm-count { color:var(--a-brand); font:14px Georgia,serif; }
.adm-wm-item-count { color:var(--a-muted); font-size:12px; }
.adm-wm-category-fields { display:grid; grid-template-columns:1.2fr .55fr 1.5fr; gap:12px; margin-bottom:15px; }
.adm-wm-field { min-width:0; }
.adm-wm-field .adm-field-label { margin-bottom:5px; }
.adm-wm-input { width:100%; min-width:0; }
.adm-wm-dish-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.adm-wm-dish { display:grid; grid-template-columns:94px minmax(0,1fr) auto; align-items:center; gap:12px; border:1px solid var(--a-line2); border-radius:11px; background:var(--a-panel); padding:10px; min-width:0; }
.adm-wm-preview { width:94px; height:82px; overflow:hidden; border-radius:8px; background:linear-gradient(135deg,#eee8de,#ded6ca); }
.adm-wm-thumb { width:100%; height:100%; object-fit:cover; display:block; }
.adm-wm-thumb.missing { opacity:.28; }
.adm-wm-dish-fields { min-width:0; display:grid; gap:7px; }
.adm-wm-tutorials { display:grid; gap:6px; }
.adm-wm-tutorial-row { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:6px; }
.adm-wm-tutorials .adm-field { margin:0; min-width:0; }
.adm-wm-tutorials .adm-field-label { font-size:10px; }
.adm-wm-field-pair { display:grid; grid-template-columns:minmax(0,1fr) 68px; gap:7px; min-width:0; }
.adm-wm-field-pair .adm-field { margin:0; }
.adm-wm-icon { width:100%; text-align:center; font-size:18px; padding:6px; }
.adm-wm-file-wrap { position:relative; display:flex; flex-direction:column; justify-content:center; min-height:51px; border:1px dashed var(--a-line); border-radius:8px; text-align:center; color:var(--a-muted); font-size:12px; overflow:hidden; cursor:pointer; }
.adm-wm-file-wrap:hover { border-color:var(--a-brand); color:var(--a-brand); }
.adm-wm-file { position:absolute; inset:0; width:100%; height:100%; opacity:0; cursor:pointer; }
.adm-wm-delete { padding:6px 8px; min-width:48px; }
.adm-wm-add-dish { margin-top:12px; border-style:dashed; }
@media(max-width:1100px) { .adm-wm-dish-grid { grid-template-columns:1fr; } }
@media(max-width:760px) {
  .adm-wm-toolbar { align-items:flex-start; flex-direction:column; }
  .adm-wm-tools { width:100%; justify-content:space-between; }
  .adm-wm-category-fields { grid-template-columns:1fr 90px; }
  .adm-wm-category-fields .adm-wm-field:last-child { grid-column:1 / -1; }
}
@media(max-width:520px) {
  .adm-wm-subbar { align-items:stretch; flex-direction:column; }
  .adm-wm-search { max-width:none; }
  .adm-wm-category { padding:13px; }
  .adm-wm-dish { grid-template-columns:72px minmax(0,1fr); gap:9px; }
  .adm-wm-preview { width:72px; height:72px; }
  .adm-wm-delete { grid-column:2; justify-self:end; }
  .adm-wm-category-title { flex-wrap:wrap; gap:7px; }
}

/* WAIMAI_V2 */
/* 外卖站管理（2026-11-10） */
.adm-wm2-top { display: flex; gap: 22px; align-items: flex-start; flex-wrap: wrap; }
.adm-wm2-top .adm-zy-shots { margin-bottom: 0; }
.adm-wm2-side { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.adm-wm2-name { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; letter-spacing: .04em; }
.adm-wm2-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.adm-wm2-actions .adm-btn { text-decoration: none; display: inline-flex; align-items: center; }
.adm-wm2-quick { display: grid; gap: 10px; padding: 12px; border-radius: 12px; background: var(--a-line2); }
.adm-wm2-row { display: flex; align-items: center; gap: 10px; justify-content: space-between; font-weight: 600; }
.adm-wm2-row .adm-input { flex: 1; min-width: 0; }
.adm-zy-shot { position: relative; }
.adm-wm2-shot-tip { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); background: rgba(22, 19, 15, .82); color: #fff; font-size: 12px; padding: 4px 10px; border-radius: 12px; opacity: 0; transition: opacity .2s; pointer-events: none; white-space: nowrap; }
.adm-zy-shot:hover .adm-wm2-shot-tip, .adm-zy-shot:focus-visible .adm-wm2-shot-tip { opacity: 1; }
.adm-wm2-themes { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.adm-wm2-theme { display: flex; align-items: center; gap: 12px; padding: 12px; border: 2px solid var(--a-line); border-radius: 14px; background: var(--a-panel); cursor: pointer; text-align: left; transition: border-color .2s, transform .15s; }
.adm-wm2-theme:hover { border-color: var(--a-brand); }
.adm-wm2-theme:active { transform: scale(.98); }
.adm-wm2-theme.on { border-color: #ff5a1f; }
.adm-wm2-theme i { display: flex; flex: 0 0 auto; width: 58px; height: 40px; border-radius: 10px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.adm-wm2-theme i b { flex: 1; }
.adm-wm2-theme > span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.adm-wm2-theme strong { font-size: 14px; }
.adm-wm2-theme small { font-size: 12px; color: var(--a-muted); }
.adm-wm2-issues { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; margin-top: 4px; }
.adm-wm2-issue { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 10px; border: 1px solid #f1d2c6; background: #fff6f2; cursor: pointer; font-size: 13px; color: var(--a-ink2); }
.adm-wm2-issue b { color: #d2501f; }
.adm-wm2-issue.ok { border-color: var(--a-line); background: var(--a-panel); }
.adm-wm2-issue.ok b { color: var(--a-green); }
.adm-wm2-datahead { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 24px 0 12px; }
.adm-wm2-datahead h3 { margin: 0; font-size: 17px; }
.adm-wm2-bars { display: flex; flex-direction: column; gap: 7px; }
.adm-wm2-bar { display: grid; grid-template-columns: minmax(0, 120px) minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 13px; }
.adm-wm2-bar-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.adm-wm2-bar-track { height: 8px; border-radius: 4px; background: var(--a-line2); overflow: hidden; }
.adm-wm2-bar-track i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #ff8a3d, #ff5a1f); }
.adm-wm2-bar-val { font-size: 12.5px; color: var(--a-ink2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.adm-wm2-bar.miss .adm-wm2-bar-name, .adm-wm2-bar.miss .adm-wm2-bar-val { color: var(--a-red); }
.adm-wm2-bar.miss .adm-wm2-bar-track i { background: var(--a-red); }
.adm-wm2-bar.gone { opacity: .5; }
.adm-wm2-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.adm-wm2-orders { display: flex; flex-direction: column; gap: 8px; }
.adm-wm2-order { padding: 10px 12px; border-radius: 10px; background: var(--a-line2); display: grid; gap: 3px; font-size: 13px; }
.adm-wm2-order-head { display: flex; justify-content: space-between; gap: 10px; }
.adm-wm2-order-head strong { min-width: 0; }
.adm-wm2-order-head span { flex: 0 0 auto; }
.adm-wm2-note { color: var(--a-ink2); }
.adm-wm2-history { display: flex; flex-direction: column; gap: 6px; max-height: 360px; overflow: auto; }
.adm-wm2-hrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--a-line2); }
.adm-wm2-hrow > div { display: flex; flex-direction: column; min-width: 0; }
.adm-wm2-hrow small { color: var(--a-muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 760px) {
  .adm-wm2-top { gap: 14px; }
  .adm-wm2-top .adm-zy-shots { width: 100%; justify-content: center; }
  .adm-wm2-actions .adm-btn { flex: 1 1 auto; justify-content: center; }
  .adm-wm2-actions .adm-btn.primary { flex-basis: 100%; height: 44px; font-size: 15px; }
  .adm-wm2-shot-tip { opacity: 1; }
  .adm-wm2-bar { grid-template-columns: minmax(0, 96px) minmax(0, 1fr) auto; }
  .adm-wm2-themes { grid-template-columns: 1fr; }
}
