/* ============================================================
   查黑宝-欺诈排查系统 · Gemini UI 风格版（v7 排版优化）
   视觉层重做：浅色干净底、蓝→紫→粉渐变、大圆角卡片、柔和阴影。
   仅样式变更，未改动任何功能、结构与 class 名。
   v7 本轮：首页品牌标题层级重排 + 内页间距/层级节奏统一，
   覆盖规则集中在文末「v7 排版优化」一节。
   ============================================================ */
:root {
  color-scheme: light;
  /* Gemini 基础色 */
  --ink: #1f1f1f;
  --muted: #5f6368;
  --muted-2: #80868b;
  --bg: #f8f9ff;
  --surface: #ffffff;
  --surface-soft: #f0f4f9;
  --surface-softer: #f8fafd;
  --line: #e3e7ee;
  --line-strong: #d3dae6;
  /* Gemini 渐变：蓝 → 紫 → 粉 */
  --gemini: linear-gradient(90deg, #4285f4 0%, #9b72cb 55%, #d96570 110%);
  --gemini-wide: linear-gradient(74deg, #4285f4 0%, #9b72cb 22%, #d96570 48%, #1f1f1f 72%);
  --blue: #4285f4;
  --blue-dark: #1a56db;
  --accent: #0b57d0;
  --accent-dark: #0842a0;
  --wash: #e8f0fe;
  --wash-purple: #f3e8fd;
  --danger: #b3261e;
  --radius: 28px;
  --shadow-card: 0 1px 2px rgba(31, 31, 31, .04), 0 10px 34px rgba(66, 133, 244, .07);
  --shadow-pop: 0 24px 70px rgba(80, 60, 160, .18);
  font-family: "Google Sans Text", "Google Sans", "Product Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
}
* { box-sizing: border-box; }
html { scrollbar-color: #c4cdd9 transparent; }
body {
  margin: 0; min-width: 300px; color: var(--ink);
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(217, 101, 112, .10), transparent 60%),
    radial-gradient(1000px 560px at -10% 0%, rgba(66, 133, 244, .10), transparent 55%),
    radial-gradient(800px 500px at 55% 110%, rgba(155, 114, 203, .08), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .64; }
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(66, 133, 244, .55); outline-offset: 2px;
}
::selection { background: #d3e3fd; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(1.8rem, 3.1vw, 2.65rem); font-weight: 650; line-height: 1.18; letter-spacing: -.03em; text-wrap: balance; }
h2 { font-size: 1.18rem; letter-spacing: -.015em; font-weight: 650; }

/* ---------- 布局与侧边栏 ---------- */
.layout { min-height: 100dvh; display: grid; grid-template-columns: 248px minmax(0, 1fr); }
.sidebar {
  background: rgba(240, 244, 249, .82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-right: 1px solid rgba(227, 231, 238, .7);
  display: flex; flex-direction: column; padding: 26px 16px 20px;
  position: sticky; top: 0; height: 100dvh; overflow-y: auto;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 680; margin: 0 6px; white-space: normal; letter-spacing: -.01em; }
.brand-mark {
  flex: none; display: grid; place-items: center; height: 40px; width: 40px; border-radius: 50%;
  background: var(--gemini); color: #fff; box-shadow: 0 6px 16px rgba(155, 114, 203, .35);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-copy { display: grid; gap: 3px; line-height: 1.22; }
.brand-name, .brand-subtitle { white-space: nowrap; }
.brand-copy .brand-name { color: var(--ink); font-size: 1.03rem; font-weight: 750; }
.brand-copy .brand-subtitle { color: var(--muted); font-size: .78rem; font-weight: 600; }
.sidebar .brand-mark { width: 36px; height: 36px; }
.sidebar .brand-mark svg { width: 20px; height: 20px; }
.navigation { display: grid; gap: 4px; margin-top: 36px; }
.nav-button {
  background: transparent; color: #3c4043; border: 0; border-radius: 999px;
  padding: 12px 16px; text-align: left; display: flex; align-items: center; gap: 11px; white-space: nowrap;
}
.nav-button:hover { background: rgba(66, 133, 244, .08); color: var(--ink); }
.nav-button.active {
  background: linear-gradient(90deg, #d3e3fd, #e9defc);
  color: #0842a0; font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(66, 133, 244, .12);
}
.nav-button svg, .button svg, .headline-icon svg { width: 19px; height: 19px; flex: none; }
.sidebar-bottom { margin-top: auto; padding: 16px 10px 4px; color: var(--muted); font-size: .86rem; overflow-wrap: anywhere; }
.main { padding: 0 clamp(24px, 4vw, 62px) 48px; min-width: 0; }
.topbar { min-height: 76px; display: flex; justify-content: flex-end; align-items: center; gap: 18px; }
.topbar .quiet { color: var(--muted); }
.points-number {
  font-size: 1.15rem; font-weight: 700;
  background: var(--gemini); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.top-actions, .row-actions, .actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.top-actions { gap: 15px; }
.workspace { max-width: 1280px; margin: auto; }
.page-heading { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 32px 0 24px; }
.page-heading h1 {
  background: var(--gemini-wide);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ---------- 卡片 ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; margin-bottom: 22px; box-shadow: var(--shadow-card);
}
.card-inner { padding: 26px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 26px; }
.card-inner .section-heading { padding: 0 0 20px; }
.headline { display: flex; align-items: center; gap: 11px; }
.headline-icon {
  display: grid; place-items: center; border-radius: 50%; width: 38px; height: 38px; flex: none;
  background: linear-gradient(135deg, #d3e3fd, #e9defc); color: var(--accent);
}

/* ---------- 表单 ---------- */
.label { display: grid; gap: 8px; font-size: .93rem; color: #3c4043; font-weight: 550; min-width: 0; }
.field, textarea {
  background: var(--surface-softer); color: var(--ink); width: 100%; min-width: 0; min-height: 48px;
  padding: 11px 16px; border: 1px solid var(--line-strong); border-radius: 16px;
}
.field::placeholder, textarea::placeholder { color: #80868b; }
.field:hover, textarea:hover { border-color: #b6c2d4; }
.field:focus, textarea:focus {
  background: #fff; border-color: var(--blue); outline: none;
  box-shadow: 0 0 0 4px rgba(66, 133, 244, .16);
}
textarea { resize: vertical; line-height: 1.55; }
/* 公告输入框：加高加大，编辑长公告更从容 */
textarea.notice-input {
  min-height: 300px;
  font-size: 1.02rem;
  line-height: 1.75;
  padding: 16px 20px;
  border-radius: 18px;
}
.fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fields.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fields.one { grid-template-columns: 1fr; }
.full { grid-column: 1 / -1; }
.actions { justify-content: flex-end; margin-top: 18px; }

/* ---------- 按钮 ---------- */
.button {
  border: 1px solid transparent; border-radius: 999px; min-height: 44px; padding: 10px 20px;
  font-weight: 620; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  color: var(--ink); background: transparent; white-space: nowrap;
}
.button.primary {
  background: var(--gemini); color: #fff; border: 0;
  box-shadow: 0 8px 20px rgba(120, 90, 210, .28);
}
.button.primary:hover { filter: brightness(1.07); box-shadow: 0 10px 26px rgba(120, 90, 210, .36); transform: translateY(-1px); }
.button.primary:active { transform: translateY(0); }
.button.secondary { border-color: var(--line-strong); background: #fff; }
.button.secondary:hover, .button.compact:hover { background: var(--wash); }
.button.compact { min-height: 34px; padding: 5px 12px; color: var(--accent); font-size: .88rem; border-radius: 999px; }
.button.danger { color: var(--danger); }
.button.danger:hover { background: #fce8e6; }

/* ---------- 标签 / 表格 ---------- */
.pill {
  display: inline-flex; justify-content: center; align-items: center; white-space: nowrap;
  color: #0842a0; background: linear-gradient(90deg, #d3e3fd, #e9defc);
  font-size: .81rem; padding: 5px 11px; border-radius: 999px; font-weight: 650;
}
.pill.warn { background: #fef7e0; color: #7a5b00; }
.pill.neutral { background: var(--surface-soft); color: #444746; }
.pill.hit { background: #fce8e6; color: var(--danger); }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; text-align: left; font-size: .94rem; }
th, td { padding: 14px 20px; border-top: 1px solid #eceff4; }
thead th { background: var(--surface-soft); color: #444746; font-size: .87rem; white-space: nowrap; font-weight: 650; border-top: 0; }
tbody tr { transition: background-color 120ms ease; }
tbody tr:hover { background: var(--surface-softer); }
td.note { min-width: 125px; max-width: 310px; overflow-wrap: anywhere; }
td.nowrap { white-space: nowrap; }
.empty { padding: 52px 15px; color: var(--muted); text-align: center; }
.empty svg { width: 31px; height: 31px; color: #9b72cb; margin-bottom: 10px; }

/* ---------- 折叠粘贴区 / 公告 / 分页 ---------- */
.paste { margin-top: 16px; border: 1px solid #dbe4f5; background: linear-gradient(180deg, #f6f9ff, #fbf7ff); border-radius: 18px; padding: 12px 15px; }
.paste summary { color: var(--accent); font-size: .91rem; font-weight: 620; cursor: pointer; }
.paste textarea { display: block; margin-top: 10px; }
.paste .actions { margin-top: 8px; }
.notice {
  border: 1px solid transparent; border-radius: 18px; padding: 14px 18px; margin-bottom: 20px;
  background: linear-gradient(#eef4ff, #eef4ff) padding-box, var(--gemini) border-box;
  color: #0842a0; white-space: pre-wrap; overflow-wrap: anywhere;
}
.pager { padding: 12px 18px; border-top: 1px solid var(--line); display: flex; gap: 12px; align-items: center; justify-content: flex-end; color: var(--muted); font-size: .87rem; }

/* ---------- 指标卡 ---------- */
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.metric {
  padding: 20px; border: 1px solid var(--line); border-radius: 20px; display: grid; gap: 7px;
  background: linear-gradient(160deg, #ffffff 55%, #f3f7ff);
}
.metric span, .muted { color: var(--muted); font-size: .9rem; }
.metric strong { font-size: 1.16rem; overflow-wrap: anywhere; }

/* ---------- 弹窗 / 提示 ---------- */
dialog {
  width: min(620px, calc(100vw - 32px)); border: 1px solid var(--line); border-radius: 28px; padding: 0;
  color: var(--ink); max-height: calc(100dvh - 48px); box-shadow: var(--shadow-pop); background: #fff;
}
dialog::backdrop { background: rgba(31, 31, 31, .38); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.dialog-head { padding: 20px 24px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.dialog-main { padding: 22px 24px; }
.message { color: var(--danger); margin-top: 12px; font-size: .9rem; line-height: 1.5; }
.message:empty { display: none; }
#toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 4;
  color: #fff; background: #1f1f1f; border-radius: 999px; padding: 12px 20px;
  max-width: calc(100vw - 30px); box-shadow: 0 12px 32px rgba(31, 31, 31, .28);
}
#toast:empty { display: none; }

/* ---------- 查询页（首屏） ---------- */
.layout[data-view="query"] .workspace { max-width: 1050px; }
.layout[data-view="query"] .page-heading { padding: clamp(34px, 6vw, 78px) 0 28px; }
.layout[data-view="query"] h1, .login h1 {
  background: var(--gemini-wide);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.query-card {
  border: 1px solid transparent; border-radius: 32px; padding: 26px;
  background: linear-gradient(#ffffff, #ffffff) padding-box, var(--gemini) border-box;
  box-shadow: 0 18px 50px rgba(90, 80, 190, .13);
}
.query-card .field { border-color: #dbe2ef; background: var(--surface-softer); }
.query-card .field:focus { background: #fff; }
.query-card .paste { background: linear-gradient(180deg, #f6f9ff, #fbf7ff); }
#results .card { border-color: #e6eaf1; }
#results .empty { display: grid; justify-items: center; gap: 10px; padding: 40px 15px 58px; }
#results .empty svg {
  box-sizing: content-box; border-radius: 50%; padding: 12px; margin: 0; width: 23px; height: 23px;
  background: linear-gradient(135deg, #d3e3fd, #e9defc); color: var(--accent);
}
.section-heading form[data-form="filter"] { display: flex; flex-wrap: nowrap; }
.section-heading form[data-form="filter"] .field { width: clamp(95px, 16vw, 210px); }
table, .points-number, .metric strong { font-variant-numeric: tabular-nums; }
.button, .nav-button, .field, textarea { transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease, filter 160ms ease; }

/* ---------- 登录页 ---------- */
.login {
  min-height: 100dvh; display: grid; place-items: center; padding: 24px;
  background:
    radial-gradient(ellipse 60% 45% at 22% 18%, rgba(66, 133, 244, .20), transparent 65%),
    radial-gradient(ellipse 55% 45% at 82% 22%, rgba(217, 101, 112, .16), transparent 65%),
    radial-gradient(ellipse 60% 50% at 55% 88%, rgba(155, 114, 203, .18), transparent 65%),
    #f8f9ff;
}
.login-card {
  width: min(100%, 820px); display: grid; grid-template-columns: 1fr minmax(270px, 1fr); align-items: center;
  gap: clamp(24px, 5vw, 68px); padding: clamp(26px, 5vw, 58px);
  border: 1px solid rgba(255, 255, 255, .9); background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-radius: 36px; box-shadow: 0 30px 80px rgba(80, 70, 170, .14);
}
.login-intro { display: grid; gap: 22px; align-content: center; }
.login-intro .brand { margin: 0; font-size: .99rem; }
.login-intro h1 { font-size: clamp(2rem, 4.5vw, 3.05rem); }
.login-intro .login-brand { display: grid; justify-self: start; gap: 7px; line-height: 1.14; }
.login-brand .brand-subtitle {
  color: var(--muted); -webkit-text-fill-color: currentColor;
  font-size: clamp(1.2rem, 2.6vw, 1.7rem); font-weight: 620; letter-spacing: .015em;
}
.login-box .button.primary { display: flex; width: 100%; margin-top: 22px; min-height: 50px; font-size: 1rem; }
.loading { padding: 30px; color: var(--muted); }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .layout { grid-template-columns: 180px minmax(0, 1fr); }
  .sidebar { padding-left: 12px; padding-right: 12px; }
  .brand { margin: 0; font-size: .87rem; gap: 7px; }
  .main { padding: 0 18px 26px; }
  .card-inner { padding: 20px; }
}
@media (max-width: 680px) {
  .layout { display: block; }
  .sidebar { position: static; height: auto; padding: 13px; border-right: 0; border-bottom: 1px solid var(--line); }
  .navigation { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
  .nav-button { padding: 8px 10px; font-size: .84rem; gap: 5px; }
  .sidebar-bottom { display: none; }
  .topbar { gap: 8px; min-height: 46px; }
  .top-actions { gap: 5px; }
  .page-heading { padding: 20px 0 14px; }
  .page-heading .button { font-size: .87rem; padding: 8px 12px; }
  .main { padding: 0 12px 20px; }
  .fields, .fields.two { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr; }
  .card-inner, .section-heading { padding: 16px; }
  .query-card { padding: 18px; border-radius: 26px; }
  .login { padding: 16px; }
  .login-card { max-width: 455px; grid-template-columns: 1fr; border-radius: 28px; }
  .login-intro { gap: 15px; }
  .layout[data-view="query"] .page-heading { padding: 24px 0 18px; }
  td, th { padding: 11px 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .button, .nav-button, .field, textarea, tbody tr { transition: none; }
}

/* ============================================================
   v7 排版优化（本轮新增，集中覆盖，勿与上文规则混改）
   1) 首页品牌标题「查黑宝-欺诈排查系统」层级重排
   2) 内页间距节奏 / 标题层级 / 表格 / 表单 / 按钮组统一
   ============================================================ */

/* ---------- 1a. 登录页（首页）主标题 ---------- */
/* 容器不再整段套渐变：渐变只给主标，副标回到实色，层级才分明 */
.login .login-brand {
  display: grid; justify-self: start; gap: 0; line-height: 1.1;
  letter-spacing: 0; color: var(--ink);
  background: none; -webkit-text-fill-color: currentColor;
}
.login-brand .brand-name {
  display: block;
  font-size: clamp(2.9rem, 6vw, 4.1rem); font-weight: 760; line-height: 1.06;
  letter-spacing: .015em; padding-bottom: .08em; /* 给渐变文字留下降部呼吸 */
  background: var(--gemini-wide);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.login-brand .brand-subtitle {
  display: flex; align-items: center; gap: 14px;
  margin-top: 16px;
  color: var(--muted); -webkit-text-fill-color: currentColor;
  font-size: clamp(1.02rem, 2vw, 1.28rem); font-weight: 600;
  letter-spacing: .34em; line-height: 1.3; white-space: nowrap;
}
/* 副标前加一条渐变短线作分隔，与主标形成「标 + 线 + 副标」组合 */
.login-brand .brand-subtitle::before {
  content: ""; flex: none; width: 34px; height: 3px; border-radius: 999px;
  background: var(--gemini);
}
/* 登录卡左列：图标放大锚定标题组，整组上下留白拉开 */
.login-intro { gap: 26px; }
.login-intro .brand { margin: 0; }
.login-intro .brand-mark { width: 52px; height: 52px; box-shadow: 0 10px 24px rgba(155, 114, 203, .38); }
.login-intro .brand-mark svg { width: 28px; height: 28px; }
/* setup 模式下 brand 带文字标签：与主标题同组排布，不再重复抢层级 */
.login-intro .brand-copy .brand-name { font-size: 1.06rem; }
.login-box { align-self: center; }

/* ---------- 1b. 侧边栏品牌（内页常驻标题） ---------- */
.sidebar .brand { gap: 13px; margin: 0 6px 2px; }
.brand-copy { gap: 4px; line-height: 1.25; }
.brand-copy .brand-name {
  font-size: 1.1rem; font-weight: 760; letter-spacing: .02em;
  background: var(--gemini); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.brand-copy .brand-subtitle {
  color: var(--muted-2); font-size: .72rem; font-weight: 600; letter-spacing: .3em;
}
.sidebar .brand-mark { width: 40px; height: 40px; }
.sidebar .brand-mark svg { width: 22px; height: 22px; }
.navigation { margin-top: 34px; gap: 5px; }
.sidebar-bottom { border-top: 1px solid rgba(227, 231, 238, .9); padding-top: 18px; margin-top: auto; }

/* ---------- 2a. 内页整体节奏：页头 / 内容宽 / 卡片 ---------- */
.workspace { max-width: 1200px; }
.main { padding-bottom: 64px; }
.topbar { min-height: 72px; border-bottom: 1px solid rgba(227, 231, 238, .8); margin-bottom: 4px; }
.page-heading { padding: 34px 0 22px; margin-bottom: 26px; border-bottom: 1px solid var(--line); align-items: center; }
.layout[data-view="query"] .page-heading { padding-top: clamp(38px, 6vw, 76px); }
.card { margin-bottom: 24px; }
.card-inner { padding: 28px; }
.section-heading { padding: 24px 28px; gap: 14px; flex-wrap: wrap; }
.section-heading h2 { font-size: 1.12rem; }
.card-inner .section-heading { padding: 0 0 22px; }

/* ---------- 2b. 表格：行高、首列强调、表头收紧 ---------- */
thead th { padding: 13px 20px; font-size: .84rem; letter-spacing: .03em; }
tbody td { padding: 16px 20px; line-height: 1.55; vertical-align: middle; }
tbody td:first-child { font-weight: 600; }
td .row-actions { gap: 6px; }
.pager { padding: 14px 20px; }
.empty { padding: 56px 20px; line-height: 1.6; }

/* ---------- 2c. 表单：纵向呼吸、标签层级、按钮组 ---------- */
.fields { gap: 18px 16px; }
.label { gap: 7px; font-size: .9rem; letter-spacing: .01em; }
.actions { margin-top: 22px; gap: 10px; }
.message { margin-top: 14px; }
.dialog-head { padding: 22px 28px; }
.dialog-main { padding: 24px 28px; }
.dialog-main .actions { margin-top: 24px; }

/* ---------- 2d. 查询卡 / 指标卡 / 公告 / 粘贴区 ---------- */
.query-card { padding: 30px; }
.query-card .section-heading { padding: 0 0 22px; }
.notice { padding: 16px 20px; line-height: 1.65; border-radius: 20px; margin-bottom: 24px; }
.metrics { gap: 16px; }
.metric { padding: 22px; gap: 8px; border-radius: 22px; }
.metric strong { font-size: 1.3rem; }
.paste { padding: 14px 17px; }

/* 筛选表单窄屏可换行，不再硬挤一行 */
.section-heading form[data-form="filter"] { flex-wrap: wrap; justify-content: flex-end; row-gap: 8px; }

/* ---------- 响应式：标题不溢出、页头可换行 ---------- */
@media (max-width: 900px) {
  .sidebar .brand { margin: 0 0 2px; gap: 10px; }
  .brand-copy .brand-name { font-size: 1rem; }
  .brand-copy .brand-subtitle { letter-spacing: .22em; }
}
@media (max-width: 680px) {
  .login-brand .brand-name { font-size: clamp(2.5rem, 13.5vw, 3.1rem); }
  .login-brand .brand-subtitle { letter-spacing: .24em; font-size: 1rem; margin-top: 13px; gap: 11px; }
  .login-brand .brand-subtitle::before { width: 26px; }
  .login-intro { gap: 20px; }
  .login-intro .brand-mark { width: 46px; height: 46px; }
  .login-intro .brand-mark svg { width: 25px; height: 25px; }
  .page-heading { flex-wrap: wrap; padding: 22px 0 16px; margin-bottom: 20px; gap: 12px; }
  .card-inner { padding: 20px 18px; }
  .section-heading { padding: 18px; }
  .query-card { padding: 20px 18px; }
  tbody td { padding: 13px 14px; }
  thead th { padding: 11px 14px; }
  .dialog-head, .dialog-main { padding-left: 20px; padding-right: 20px; }
}

/* ---------- v8：黑名单分页组件与粘贴文本导入 ---------- */
.records-pager { justify-content: flex-start; flex-wrap: wrap; row-gap: 10px; }
.records-pager .pager-total { margin-right: auto; }
.page-numbers { display: inline-flex; gap: 6px; align-items: center; }
.page-current { min-width: 30px; text-align: center; padding: 5px 9px; border-radius: 999px; color: #fff; font-weight: 600; background: linear-gradient(120deg, #4285f4, #9b72cb 55%, #d96570); }
.page-gap { color: var(--muted); }
.records-pager .jump { display: inline-flex; align-items: center; gap: 8px; }
.records-pager .jump label { display: inline-flex; align-items: center; gap: 6px; }
.jump-input { width: 76px; padding: 6px 10px; text-align: center; }
.text-import { margin-bottom: 20px; }
.text-import textarea { display: block; width: 100%; margin-top: 8px; }
.text-import [data-import-preview] form { margin-top: 16px; }
@media (max-width: 680px) {
  .records-pager .pager-total { margin-right: 0; width: 100%; }
  .jump-input { width: 64px; }
}
