:root {
  --bg: #f4f5f7;
  --panel: #ffffff;
  --line: #e6e8ec;
  --line-2: #eff0f3;
  --ink: #15181d;
  --ink-2: #606773;
  --ink-3: #9aa0ab;
  --accent: #2f5cff;
  --accent-soft: #eef2ff;
  --ok: #0d8a5f;
  --ok-soft: #e7f5ef;
  --warn: #a8620a;
  --warn-soft: #fdf3e3;
  --bad: #c92f2f;
  --bad-soft: #fdecec;
  --r: 10px;
  --mono: ui-monospace, "SF Mono", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

/* `hidden` 属性必须真的隐藏。
   `.status-line { display: flex }` 这类类选择器的优先级高于浏览器默认的
   `[hidden] { display: none }`，结果 JS 里 `el.hidden = true` 完全不起作用 ——
   表现是「加载中…」一直挂在页面上，而且越加载堆得越多。 */
[hidden] { display: none !important; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
code, .mono { font-family: var(--mono); }
/* 全站的说明小字。之前只在 .field 里定义过，表格、卡片里裸用的 .hint
   一直是默认 13px，和周围 11.5px 的辅助文字对不齐 */
.hint { font-size: 11.5px; color: var(--ink-3); line-height: 1.55; }

/* ---------- 布局 ---------- */
.app { display: flex; min-height: 100vh; }

.sidebar {
  width: 212px; flex: 0 0 212px; background: var(--panel);
  border-right: 1px solid var(--line); display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh;
}
.brand { padding: 20px 18px 16px; display: flex; align-items: center; gap: 9px; }
.logo {
  width: 26px; height: 26px; border-radius: 7px; background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 13px; font-weight: 600;
  /* 现在是一张位图，不该被 flex 的居中规则拉伸；圆角保持和旧文字 logo 一致 */
  object-fit: cover; flex: 0 0 26px;
}
.brand-t { font-size: 13px; font-weight: 600; letter-spacing: .2px; }
.brand-s { font-size: 11px; color: var(--ink-3); margin-top: -2px; }

.nav { padding: 6px 10px; flex: 1; overflow-y: auto; }
.nav-item {
  display: flex; align-items: center; gap: 9px; padding: 8px 10px;
  border-radius: 8px; color: var(--ink-2); cursor: pointer; font-size: 13px;
  margin-bottom: 1px; transition: background .12s, color .12s;
}
.nav-item:hover { background: var(--line-2); color: var(--ink); }
.nav-item.on { background: var(--accent-soft); color: var(--accent); font-weight: 500; }
.nav-item svg { width: 15px; height: 15px; flex: 0 0 15px; }
.nav-sep { height: 1px; background: var(--line-2); margin: 10px 10px; }
.nav-badge {
  margin-left: auto; font-size: 10px; background: var(--line-2); color: var(--ink-2);
  border-radius: 9px; padding: 0 6px; line-height: 17px; height: 17px;
}
.sidebar-foot {
  padding: 12px 18px; border-top: 1px solid var(--line-2);
  font-size: 11px; color: var(--ink-3);
}
.dot-live {
  width: 6px; height: 6px; border-radius: 50%; background: var(--ok);
  display: inline-block; margin-right: 5px;
}

main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar {
  height: 52px; background: var(--panel); border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 22px; position: sticky; top: 0; z-index: 20;
}
.crumb { font-size: 13px; color: var(--ink-2); }
.crumb b { color: var(--ink); font-weight: 500; }
.topbar-r { display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--ink-2); }
.avatar {
  width: 26px; height: 26px; border-radius: 50%; background: var(--line-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: var(--ink-2);
}

.page { padding: 22px; flex: 1; }
.page-h { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 16px; gap: 12px; }
.page-h h1 { font-size: 17px; font-weight: 600; letter-spacing: -.2px; }
.page-h p { font-size: 12px; color: var(--ink-3); margin-top: 2px; }

/* ---------- 卡片 ---------- */
.grid { display: grid; gap: 14px; }
/* 网格项的 min-width 默认是 auto：里面放一张设了 min-width 的表时，
   轨道会被撑到表格的宽度，整页就比视口还宽（手机上表现为右侧被切掉）。
   压成 0 让内容自己去滚动/换行。 */
.grid > * { min-width: 0; }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: 1.55fr 1fr; }
@media (max-width: 1100px) {
  .g4, .g3 { grid-template-columns: repeat(2, 1fr); }
  .g2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r); padding: 16px;
}
.card-h {
  font-size: 12.5px; font-weight: 500; color: var(--ink);
  margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between;
}
.card-h span { font-weight: 400; color: var(--ink-3); font-size: 11.5px; }

.metric .k { font-size: 11.5px; color: var(--ink-3); margin-bottom: 6px; }
.metric .v { font-size: 24px; font-weight: 600; letter-spacing: -.6px; line-height: 1.2; }
.metric .d { font-size: 11.5px; color: var(--ink-3); margin-top: 4px; }
.metric .d em { font-style: normal; color: var(--ok); }
.metric .d em.bad { color: var(--bad); }

/* ---------- 按钮 ---------- */
.btn {
  height: 32px; padding: 0 13px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--panel); color: var(--ink); font-size: 12.5px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; font-family: inherit;
  transition: .12s; white-space: nowrap;
}
.btn:hover { border-color: #d5d8de; background: #fafbfc; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.pri { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 500; }
.btn.pri:hover { background: #2549d6; }
.btn.danger { color: var(--bad); border-color: #f3d2d2; }
.btn.danger:hover { background: var(--bad-soft); }
.btn.sm { height: 27px; padding: 0 10px; font-size: 12px; border-radius: 7px; }
.btn.ghost { border-color: transparent; background: transparent; color: var(--ink-2); }
.btn.ghost:hover { background: var(--line-2); }

/* ---------- 表单 ---------- */
.field { margin-bottom: 12px; }
.field > label {
  display: block; font-size: 11.5px; color: var(--ink-2);
  margin-bottom: 5px; font-weight: 500;
}
.field .hint { font-size: 11px; color: var(--ink-3); margin-top: 4px; }
.input, .select, textarea.input {
  width: 100%; height: 34px; border: 1px solid var(--line); border-radius: 8px;
  padding: 0 11px; font-size: 13px; font-family: inherit; color: var(--ink);
  background: var(--panel); transition: .12s;
}
textarea.input { height: auto; padding: 9px 11px; line-height: 1.7; resize: vertical; }
.input:focus, .select:focus, textarea.input:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.input::placeholder { color: var(--ink-3); }
.select { appearance: none; background-image: none; cursor: pointer; }
.row { display: flex; gap: 8px; }
.row > * { flex: 1; min-width: 0; }
.row.tight { gap: 6px; }
.inline { display: flex; align-items: center; gap: 8px; }

.quick { display: flex; gap: 8px; margin-bottom: 14px; }
.quick .input { height: 38px; border-radius: 9px; }

/* ---------- 表格 ---------- */
table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
th {
  text-align: left; font-weight: 500; color: var(--ink-3); font-size: 11.5px;
  padding: 0 8px 8px 0; border-bottom: 1px solid var(--line-2);
}
td { padding: 9px 8px 9px 0; border-bottom: 1px solid var(--line-2); color: var(--ink-2); vertical-align: middle; }
tr:last-child td { border-bottom: none; }
td.n { color: var(--ink); font-weight: 500; }
.tbl-wrap { overflow-x: auto; }
/* 由 app.js 在检测到表格真的溢出时才插入 */
.tbl-hint { font-size: 11px; color: var(--ink-3); margin-top: 6px; text-align: right; }

/* ---------- 标签 ---------- */
.tag {
  display: inline-flex; align-items: center; height: 19px; padding: 0 7px;
  border-radius: 5px; font-size: 11px; background: var(--line-2);
  color: var(--ink-2); margin-right: 4px; white-space: nowrap;
}
.tag.ok { background: var(--ok-soft); color: var(--ok); }
.tag.warn { background: var(--warn-soft); color: var(--warn); }
.tag.bad { background: var(--bad-soft); color: var(--bad); }
.tag.acc { background: var(--accent-soft); color: var(--accent); }

/* ---------- 提示条 ---------- */
.alert {
  display: flex; gap: 9px; padding: 10px 12px; border-radius: 8px;
  font-size: 12px; margin-bottom: 9px; align-items: flex-start;
}
.alert.w { background: var(--warn-soft); color: var(--warn); }
.alert.b { background: var(--bad-soft); color: var(--bad); }
.alert.i { background: var(--accent-soft); color: var(--accent); }
.alert.g { background: var(--ok-soft); color: var(--ok); }
.alert strong { font-weight: 500; display: block; margin-bottom: 1px; }

/* ---------- 进度条 ---------- */
.bar { height: 5px; background: var(--line-2); border-radius: 3px; overflow: hidden; width: 100%; }
.bar i { display: block; height: 100%; background: var(--accent); border-radius: 3px; }
.bar i.ok { background: var(--ok); }

/* ---------- 步骤 ---------- */
.steps { display: flex; align-items: center; margin-bottom: 18px; font-size: 12px; }
.step { display: flex; align-items: center; gap: 7px; color: var(--ink-3); }
.step .n {
  width: 19px; height: 19px; border-radius: 50%; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; font-size: 10.5px;
}
.step.done .n { background: var(--ok); border-color: var(--ok); color: #fff; }
.step.on { color: var(--ink); font-weight: 500; }
.step.on .n { background: var(--accent); border-color: var(--accent); color: #fff; }
.step-line { width: 26px; height: 1px; background: var(--line); margin: 0 9px; }

/* 说明式引导：编号 + 一段可换行的文字。
   发现页曾误用 .step-line 包整段文字，那是 26px 宽、1px 高的连接线，
   字全挤在一条缝里 —— 这里给它一个正经的容器 */
.guide { display: flex; flex-direction: column; gap: 11px; }
.guide-row { display: flex; gap: 10px; align-items: flex-start; }
.guide-row .gn {
  flex: 0 0 20px; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 600;
}
.step-t { font-size: 12.5px; color: var(--ink-2); line-height: 1.7; min-width: 0; }

/* ---------- 清单元信息 ---------- */
.list-meta {
  display: flex; gap: 16px; align-items: center; padding: 11px 14px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  margin-bottom: 14px; font-size: 12px; color: var(--ink-2); flex-wrap: wrap;
}
.list-meta b { color: var(--ink); font-weight: 600; }
.list-meta .sep { width: 1px; height: 16px; background: var(--line-2); }
.cov { display: flex; align-items: center; gap: 8px; flex: 1; max-width: 260px; }
.cov .bar { flex: 1; }

/* ---------- 命名预览 ---------- */
.orig { color: var(--ink-3); font-family: var(--mono); font-size: 11.5px; word-break: break-all; }
.ninput {
  width: 100%; height: 29px; border: 1px solid transparent; border-radius: 6px;
  padding: 0 8px; font-size: 12px; font-family: var(--mono); color: var(--ink);
  background: transparent;
}
.ninput:hover { border-color: var(--line); background: #fbfbfc; }
.ninput:focus {
  outline: none; border-color: var(--accent); background: #fff;
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.del { font-size: 11.5px; color: var(--ink-3); font-family: var(--mono); }
tr.excluded { opacity: .55; }

.execbar {
  position: sticky; bottom: 0; margin-top: 16px; background: var(--panel);
  border: 1px solid var(--line); border-radius: var(--r); padding: 13px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, .03); flex-wrap: wrap; z-index: 10;
}
.execbar .l { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--ink-2); flex-wrap: wrap; }
.execbar .select { width: auto; min-width: 150px; height: 30px; }

/* ---------- 搜索 ---------- */
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; align-items: center; }
.chip {
  height: 26px; padding: 0 10px; border-radius: 13px; border: 1px solid var(--line);
  background: var(--panel); font-size: 11.5px; color: var(--ink-2);
  cursor: pointer; display: inline-flex; align-items: center; transition: .12s;
}
.chip:hover { border-color: #d5d8de; }
.chip.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip-l { font-size: 11.5px; color: var(--ink-3); margin-right: 2px; }

.res { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; margin-bottom: 10px; }
.res-t { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.res-t h3 { font-size: 13.5px; font-weight: 500; color: var(--ink); margin-bottom: 3px; }
.res-m { font-size: 11.5px; color: var(--ink-3); }
.res-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.lk {
  display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 9px;
  border: 1px solid var(--line); border-radius: 7px; font-size: 11.5px;
  background: #fbfbfc; cursor: pointer;
}
.lk:hover { border-color: var(--accent); color: var(--accent); }
.lk .t { font-weight: 500; color: var(--ink); }
.lk .h { font-size: 10.5px; color: var(--ink-3); border-left: 1px solid var(--line); padding-left: 5px; }
.lk.no { opacity: .5; cursor: not-allowed; }
.lk.no:hover { border-color: var(--line); color: inherit; }

/* ---------- 空状态 ---------- */
.empty { text-align: center; padding: 44px 20px; color: var(--ink-3); font-size: 12.5px; }
.empty .big { font-size: 15px; color: var(--ink-2); margin-bottom: 6px; font-weight: 500; }

/* ---------- 弹层 ---------- */
.mask {
  position: fixed; inset: 0; background: rgba(20, 22, 27, .32);
  display: none; z-index: 50;
}
.mask.on { display: block; }
.modal {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(560px, calc(100vw - 32px)); max-height: 86vh; overflow-y: auto;
  background: var(--panel); border-radius: 12px; padding: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .18); display: none; z-index: 51;
}
.modal.on { display: block; }
.modal-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.modal-h h2 { font-size: 15px; font-weight: 600; }
.modal-f { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }

/* ---------- Toast ---------- */
#toast {
  position: fixed; top: 18px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: #fff; padding: 9px 16px; border-radius: 8px;
  font-size: 12.5px; opacity: 0; pointer-events: none; transition: opacity .2s, top .2s;
  z-index: 100; max-width: 80vw;
}
#toast.on { opacity: 1; top: 24px; }

/* ---------- 开关 ---------- */
.switch {
  position: relative; width: 34px; height: 19px; border-radius: 10px;
  background: var(--line); cursor: pointer; transition: .15s; flex: 0 0 34px;
}
.switch::after {
  content: ""; position: absolute; top: 2px; left: 2px; width: 15px; height: 15px;
  border-radius: 50%; background: #fff; transition: .15s;
}
.switch.on { background: var(--accent); }
.switch.on::after { left: 17px; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.tab {
  padding: 8px 13px; font-size: 12.5px; color: var(--ink-2); cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.tab.on { color: var(--accent); border-bottom-color: var(--accent); font-weight: 500; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- 搜索结果：筛选条 ---------- */
.filterbar {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  padding: 8px 12px; margin-bottom: 12px; display: flex; flex-direction: column; gap: 2px;
}
.frow { display: flex; align-items: center; gap: 10px; padding: 5px 0; }
.frow + .frow { border-top: 1px dashed var(--line-2); }
.flabel {
  flex: 0 0 34px; font-size: 11.5px; color: var(--ink-3); letter-spacing: .3px;
}
.fchips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.fchips .chip { height: 24px; padding: 0 9px; font-size: 11.5px; }
.chip .cnt {
  margin-left: 5px; font-size: 10.5px; opacity: .72;
  font-variant-numeric: tabular-nums;
}

/* ---------- 搜索状态行 ---------- */
.status-line {
  font-size: 11.5px; color: var(--ink-3); margin-bottom: 10px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 2px;
}
.status-line b { color: var(--ink-2); font-weight: 500; font-variant-numeric: tabular-nums; }
.status-line .more-probe { font-size: 11.5px; }

/* ---------- 搜索结果：条目 ---------- */
.resrow {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  padding: 11px 14px; margin-bottom: 8px; transition: border-color .12s;
}
.resrow:hover { border-color: #d5d8de; }

.sdot {
  flex: 0 0 18px; width: 18px; height: 18px; margin-top: 1px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; font-size: 11px; line-height: 1;
  background: var(--line-2); color: var(--ink-3);
}
.sdot.ok { background: var(--ok-soft); color: var(--ok); }
.sdot.bad { background: var(--bad-soft); color: var(--bad); }
.sdot.warn { background: var(--warn-soft); color: var(--warn); }
.sdot.wait { color: var(--ink-3); }

.rc-main { flex: 1 1 auto; min-width: 0; }
.rc-title { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-bottom: 3px; min-width: 0; }
.rc-name {
  font-size: 13px; font-weight: 500; color: var(--ink);
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  margin-right: 2px;
}
.rc-url {
  font-size: 11px; color: var(--ink-3); word-break: break-all; margin-bottom: 3px;
}
.rc-url .pwd {
  color: var(--ink-2); background: var(--line-2); border-radius: 4px;
  padding: 0 5px; margin-left: 4px; font-family: inherit;
}
.rc-meta { font-size: 11.5px; color: var(--ink-3); }
.rc-ops { flex: 0 0 auto; display: flex; gap: 6px; align-items: center; padding-top: 2px; }

@media (max-width: 720px) {
  .resrow { flex-wrap: wrap; }
  .rc-ops { flex-basis: 100%; justify-content: flex-end; }
  .frow { flex-direction: column; align-items: flex-start; gap: 6px; }
  .flabel { flex-basis: auto; }
  /* 求片卡片头的灰字说明在窄屏会把标题挤到贴边，直接让给标题 */
  #tab-subreq .card-h span { display: none; }
}

/* ---------- 网盘小标识 ---------- */
.dbadge-wrap { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.dbadge {
  flex: 0 0 20px; width: 20px; height: 20px; border-radius: 6px;
  background: var(--db, #8a92a6); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 600; font-style: normal; line-height: 1;
  letter-spacing: -.3px; font-family: var(--mono);
}
.dbadge-t { font-size: 12.5px; color: var(--ink); white-space: nowrap; }

/* ---------- 调度 ---------- */
.cron-row { display: flex; gap: 8px; align-items: center; }
.cron-row .input { font-family: var(--mono); }
.cron-preview { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.cron-preview .tag { font-family: var(--mono); }
.sched-state { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 14px; }
.sched-state .k { font-size: 11px; color: var(--ink-3); margin-bottom: 3px; }
.sched-state .v { font-size: 15px; font-weight: 600; letter-spacing: -.3px; }
.sched-state .v.sm { font-size: 12.5px; font-weight: 500; }

/* ---------- 影视发现 ---------- */
.dsearch { display: flex; gap: 8px; align-items: center; }
.dsearch .input { width: 240px; height: 34px; }

.poster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(146px, 1fr));
  gap: 18px 14px;
  margin-bottom: 22px;
}
.poster-card { min-width: 0; cursor: pointer; }
.poster-box {
  position: relative; aspect-ratio: 2 / 3; border-radius: 10px; overflow: hidden;
  background: var(--line-2); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}
.poster-box img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s ease;
}
.poster-card:hover .poster-box img { transform: scale(1.045); }
.poster-score {
  position: absolute; top: 7px; right: 7px; z-index: 2;
  background: rgba(0, 0, 0, .66); color: #ffd76e;
  font-size: 10.5px; font-weight: 600; padding: 1px 6px; border-radius: 6px;
  font-variant-numeric: tabular-nums;
}
.poster-mask {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .45) 45%, rgba(0, 0, 0, 0) 78%);
  opacity: 0; transition: opacity .18s ease;
  display: flex; flex-direction: column; justify-content: flex-end;
  gap: 9px; padding: 11px;
}
.poster-card:hover .poster-mask { opacity: 1; }
.poster-ov {
  color: rgba(255, 255, 255, .86); font-size: 10.5px; line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.poster-mask .btn.pri.sm { justify-content: center; width: 100%; }
.poster-box.noimg::after { content: attr(data-initial); font-size: 30px; font-weight: 600; color: var(--ink-3); }
.poster-title {
  margin-top: 7px; font-size: 12.5px; font-weight: 500; color: var(--ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.poster-sub { font-size: 11px; color: var(--ink-3); margin-top: 1px; }

.poster-box.sk { animation: skpulse 1.3s ease-in-out infinite; }
.sk-t { height: 12px; background: var(--line-2); border-radius: 4px; margin-top: 7px; width: 70%; }
@keyframes skpulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .55; }
}

.pager {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding-bottom: 30px; flex-wrap: wrap;
}
.pager-i { font-size: 12px; color: var(--ink-3); }
.pager-i b { color: var(--ink); font-weight: 600; }
.pager .jump { width: 70px; height: 27px; font-size: 12px; text-align: center; }

@media (max-width: 720px) {
  .poster-grid { grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 14px 10px; }
  .dsearch .input { width: 150px; }
}

/* 数据源徽标：标在页面标题后面，提示这页的数据来自哪里 */
.src-badge {
  display: inline-flex; align-items: center; height: 20px; padding: 0 7px;
  margin-left: 7px; vertical-align: 2px; border-radius: 6px;
  background: var(--accent-soft); color: var(--accent);
  font-family: var(--mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: .2px; cursor: help;
}
.src-badge.warn { background: var(--warn-soft); color: var(--warn); }
