/* 终端 / 雷达风主题：作用于 body.pub（公开页和后台都用；后台再加 body.admin 的专属规则，在文件末尾）。
   不引外部字体和 JS 库：等宽字用系统自带，图表是服务端算好的 CSS 宽度。 */
body.pub {
  --bg: #05080b;
  --panel: #0a0f14;
  --panel-2: #0d141b;
  --line: #15212b;
  --line-2: #1d2d3a;
  --text: #cfe3dc;
  --dim: #6b8291;
  --mute: #415562;
  --accent: #3dfc9b;      /* 荧光绿：在线、主操作 */
  --cyan: #38d6f5;        /* 链接、数据 */
  --amber: #ffb547;       /* 警告 */
  --red: #ff5d6c;
  --mono: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, Consolas, "PingFang SC", monospace;
  --sans: -apple-system, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  background:
    radial-gradient(1200px 500px at 70% -10%, rgba(61, 252, 155, .06), transparent 60%),
    radial-gradient(900px 400px at 0% 0%, rgba(56, 214, 245, .05), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
}
/* 点阵网格底纹 */
body.pub::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background-image: radial-gradient(rgba(120, 180, 170, .09) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, #000 0, transparent 900px);
}
body.pub ::selection { background: var(--accent); color: #000; }
body.pub a { color: var(--cyan); text-decoration: none; }
body.pub a:hover { color: #fff; text-shadow: 0 0 8px rgba(56, 214, 245, .6); }
body.pub .mono, body.pub td.num, body.pub .num, body.pub time, body.pub code, body.pub pre { font-family: var(--mono); }
body.pub .mono { color: var(--dim); }
body.pub .hint { color: var(--dim); }
body.pub .sub { color: var(--dim); font-family: var(--mono); font-size: 12px; }
body.pub .sub a { color: var(--cyan); }

/* ---- 顶栏 ---- */
.pub .pub-header { border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 22px; }
.pub .pub-brand { font-family: var(--mono); font-size: 17px; letter-spacing: .04em; color: var(--text); display: flex; align-items: center; gap: 10px; }
.pub .pub-brand::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none;
  border: 1.5px solid var(--accent);
  background: conic-gradient(from 0deg, rgba(61, 252, 155, .7), transparent 25%);
  box-shadow: 0 0 10px rgba(61, 252, 155, .45);
  animation: sweep 3.2s linear infinite;
}
.pub .pub-brand b { color: var(--accent); font-weight: 600; }
.pub .pub-nav a { font-family: var(--mono); font-size: 13px; color: var(--dim); border-radius: 4px; padding: 6px 10px; }
.pub .pub-nav a::before { content: "/"; color: var(--mute); margin-right: 1px; }
.pub .pub-nav a.active, .pub .pub-nav a:hover { background: transparent; color: var(--accent); text-shadow: none; }
.pub .pub-nav a.active::after { content: "_"; animation: blink 1.1s steps(1) infinite; }
.pub .btn, .pub button {
  font-family: var(--mono); font-size: 13px; border-radius: 4px; font-weight: 600;
  background: var(--accent); border: 1px solid var(--accent); color: #02130a;
}
.pub .btn:hover, .pub button:hover { color: #02130a; box-shadow: 0 0 16px rgba(61, 252, 155, .45); text-shadow: none; }
.pub .crumbs { font-family: var(--mono); font-size: 12px; color: var(--mute); }
.pub .crumbs a { color: var(--dim); }
.pub .crumbs a:hover { color: var(--cyan); }

/* ---- 卡片：直角终端面板，标题带注释前缀 ---- */
.pub .card {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: 6px; position: relative;
}
.pub .card::after { /* 左上角高亮刻线 */
  content: ""; position: absolute; left: -1px; top: -1px; width: 14px; height: 14px;
  border-left: 1px solid var(--accent); border-top: 1px solid var(--accent); border-top-left-radius: 6px; opacity: .7;
}
.pub main h1 { font-size: 26px; letter-spacing: -.01em; }
.pub main h2 { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.pub main h2::before { content: "// "; color: var(--mute); }
.pub .card-head a { font-family: var(--mono); font-size: 12px; }
.pub table { font-size: 13px; }
.pub th { background: transparent; color: var(--mute); font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; font-weight: 500; }
.pub th, .pub td { border-bottom: 1px solid var(--line); }
.pub tbody tr:hover td { background: rgba(56, 214, 245, .04); }
.pub td.num { color: var(--text); }
.pub .chip { background: transparent; border: 1px solid var(--line-2); border-radius: 3px; color: var(--dim); font-family: var(--mono); }
.pub a.chip:hover { border-color: var(--cyan); color: var(--cyan); }
.pub .chip b { color: var(--text); }
.pub input, .pub select, .pub textarea { background: #03060a; border-color: var(--line-2); border-radius: 4px; color: var(--text); font-family: var(--mono); }
.pub input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(61, 252, 155, .12); }
.pub .subtabs { border-bottom-color: var(--line); }
.pub .subtab { font-family: var(--mono); font-size: 13px; color: var(--dim); }
.pub .subtab.active { color: var(--accent); border-bottom-color: var(--accent); font-weight: 500; }
.pub .cta { border-color: rgba(61, 252, 155, .35); background: linear-gradient(90deg, rgba(61, 252, 155, .07), transparent 70%), var(--panel); }
.pub main pre { background: #03060a; border-color: var(--line-2); color: var(--accent); }
.pub .pub-footer { border-top-color: var(--line); color: var(--mute); font-size: 12px; }
.pub .pub-footer nav a { font-family: var(--mono); color: var(--dim); }

/* ---- 首页：hero + 雷达 ---- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 28px; align-items: center; padding: 8px 0 22px; }
.hero h1 { font-size: 30px; line-height: 1.25; margin: 10px 0; }
.hero h1 em { font-style: normal; color: var(--accent); text-shadow: 0 0 18px rgba(61, 252, 155, .35); }
.hero .sub { font-size: 13px; line-height: 1.7; max-width: 620px; }
.status-line { font-family: var(--mono); font-size: 12px; color: var(--dim); display: flex; gap: 14px; flex-wrap: wrap; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 6px; box-shadow: 0 0 8px var(--accent); vertical-align: 1px; animation: pulse 2s ease-in-out infinite; }
.dot.warn { background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.dot.off { background: var(--red); box-shadow: 0 0 8px var(--red); animation: none; }

.prompt { display: flex; align-items: center; margin-top: 18px; max-width: 640px; border: 1px solid var(--line-2); border-radius: 6px; background: #03060a; padding-left: 14px; }
.prompt:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(61, 252, 155, .12), 0 0 24px rgba(61, 252, 155, .12); }
.prompt label { font-family: var(--mono); font-size: 13px; color: var(--accent); white-space: nowrap; }
.prompt label span { color: var(--mute); }
.pub .prompt input { border: 0; background: transparent; box-shadow: none; min-width: 0; font-size: 14px; padding: 13px 10px; }
.pub .prompt button { border-radius: 0 5px 5px 0; align-self: stretch; padding: 0 18px; }

.radar { position: relative; width: 240px; aspect-ratio: 1; border-radius: 50%; justify-self: end;
  background:
    radial-gradient(circle, transparent 0 24%, var(--line-2) 24.3% 24.6%, transparent 25% 49%, var(--line-2) 49.3% 49.6%, transparent 50% 74%, var(--line-2) 74.3% 74.6%, transparent 75%),
    linear-gradient(var(--line) 0 0) center / 1px 100% no-repeat,
    linear-gradient(var(--line) 0 0) center / 100% 1px no-repeat,
    radial-gradient(circle, rgba(61, 252, 155, .06), transparent 70%);
  border: 1px solid var(--line-2); box-shadow: inset 0 0 40px rgba(61, 252, 155, .06); overflow: hidden; }
.radar::before { content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(61, 252, 155, .45), rgba(61, 252, 155, .08) 14%, transparent 26%);
  animation: sweep 4s linear infinite; }
.radar i { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); opacity: 0; animation: blip 4s linear infinite; }
.radar i:nth-child(1) { left: 66%; top: 28%; animation-delay: .5s; }
.radar i:nth-child(2) { left: 78%; top: 62%; animation-delay: 1.3s; }
.radar i:nth-child(3) { left: 44%; top: 80%; animation-delay: 2.1s; }
.radar i:nth-child(4) { left: 20%; top: 58%; animation-delay: 2.9s; }
.radar i:nth-child(5) { left: 30%; top: 22%; animation-delay: 3.6s; }
.radar i:nth-child(6) { left: 56%; top: 46%; animation-delay: 1.8s; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }

/* ---- 指标 ---- */
.pub .stats { gap: 0; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); overflow: hidden; }
.pub .stat { background: transparent; border: 0; border-radius: 0; border-right: 1px solid var(--line); padding: 16px 18px; }
.pub .stat:last-child { border-right: 0; }
.pub .stat-v { font-family: var(--mono); font-size: 28px; font-weight: 600; color: #fff; letter-spacing: -.02em; margin: 0 0 4px; }
.pub .stat-v small { font-size: 14px; color: var(--dim); margin-left: 2px; }
.pub .stat .hint { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.pub .stat.hl .stat-v { color: var(--accent); text-shadow: 0 0 14px rgba(61, 252, 155, .35); }

/* ---- 排行条（建站系统 / 技术栈 / 分布表）---- */
.rank { list-style: none; margin: 0; padding: 0; font-family: var(--mono); font-size: 12.5px; counter-reset: r; }
.rank li { display: grid; grid-template-columns: 2.2em minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 5px 0; counter-increment: r; }
.rank li::before { content: counter(r, decimal-leading-zero); color: var(--mute); }
.rank a, .rank .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }
.rank a:hover { color: var(--cyan); }
.rank .bar { grid-column: 2 / 4; height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; margin-top: -2px; }
.rank .bar span { display: block; height: 100%; width: var(--p); background: linear-gradient(90deg, var(--accent), var(--cyan)); box-shadow: 0 0 6px rgba(61, 252, 155, .5); }
.rank .n { color: var(--dim); font-variant-numeric: tabular-nums; }

/* ---- 每日新站柱状图 ---- */
.bars { display: flex; align-items: flex-end; gap: 6px; height: 120px; padding: 4px 0 0; }
.bars a { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; gap: 6px; color: var(--dim); font-family: var(--mono); font-size: 10.5px; min-width: 0; }
.bars a span.b { width: 100%; height: var(--p); min-height: 2px; background: linear-gradient(180deg, var(--accent), rgba(61, 252, 155, .15)); border-radius: 2px 2px 0 0; transition: filter .15s; }
.bars a:hover span.b { filter: brightness(1.3); box-shadow: 0 0 12px rgba(61, 252, 155, .5); }
.bars a em { font-style: normal; color: var(--text); }

/* ---- 实时日志流（最新收录）---- */
.term { background: #03060a; border: 1px solid var(--line-2); border-radius: 6px; overflow: hidden; }
.term-bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11.5px; color: var(--dim); }
.term-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.term-bar i:nth-child(1) { background: #ff5f57; } .term-bar i:nth-child(2) { background: #febc2e; } .term-bar i:nth-child(3) { background: #28c840; }
.term-bar span { margin-left: 8px; }
.term-bar a { margin-left: auto; }
.feed { list-style: none; margin: 0; padding: 8px 0; font-family: var(--mono); font-size: 12.5px; overflow-x: auto; }
.feed li { display: grid; grid-template-columns: 6.2em 3.4em minmax(9em, 16em) 2.6em 8em minmax(0, 1fr); gap: 12px; padding: 4px 14px; white-space: nowrap; align-items: baseline; }
.feed li:hover { background: rgba(56, 214, 245, .05); }
.feed time { color: var(--mute); }
.feed .ok { color: var(--accent); }
.feed .host { overflow: hidden; text-overflow: ellipsis; }
.feed .cc { color: var(--amber); }
.feed .cms { color: var(--cyan); overflow: hidden; text-overflow: ellipsis; }
.feed .t { color: var(--dim); overflow: hidden; text-overflow: ellipsis; font-family: var(--sans); }
.feed .cursor { color: var(--accent); padding-top: 6px; }
.feed .cursor::after { content: "█"; animation: blink 1.1s steps(1) infinite; }

/* ---- 单站页：探测报告 ---- */
.pub main pre.probe-out { font-family: var(--mono); font-size: 13px; line-height: 1.85; padding: 14px 18px; margin: 0; overflow-x: auto; border: 0; border-radius: 0; background: transparent; color: var(--text); }
.probe-out .cmd { color: var(--accent); }
.probe-out .cmd::before { content: "$ "; color: var(--mute); }
.probe-out .k { display: inline-block; width: 9ch; color: var(--mute); text-transform: none; font-size: inherit; letter-spacing: 0; }
.probe-out .v { color: var(--text); }
.probe-out .ok { color: var(--accent); } .probe-out .warn { color: var(--amber); } .probe-out .bad { color: var(--red); }
.meter { display: inline-block; width: 120px; height: 6px; background: var(--line); border-radius: 3px; vertical-align: middle; margin: 0 8px; overflow: hidden; }
.meter span { display: block; height: 100%; width: var(--p); background: var(--accent); box-shadow: 0 0 6px var(--accent); }
.meter.warn span { background: var(--amber); box-shadow: 0 0 6px var(--amber); }
.meter.bad span { background: var(--red); box-shadow: 0 0 6px var(--red); }
.pub dl.kv-grid dt { font-family: var(--mono); font-size: 12px; color: var(--mute); }
.tech-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.tech-grid .tech-group { border: 1px solid var(--line); border-radius: 4px; padding: 10px 12px; margin: 0; background: rgba(3, 6, 10, .5); }
.tech-grid .tech-group > .hint { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }

/* ---- 空数据：扫描中 ---- */
.scanning { font-family: var(--mono); color: var(--dim); padding: 26px 14px; text-align: center; }
.scanning::before { content: "◜"; display: inline-block; margin-right: 8px; color: var(--accent); animation: sweep 1s linear infinite; }

@keyframes sweep { to { transform: rotate(360deg); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes pulse { 50% { opacity: .35; } }
@keyframes blip { 0%, 100% { opacity: 0; transform: scale(.6); } 6% { opacity: 1; transform: scale(1.3); } 40% { opacity: .25; transform: scale(1); } 60% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .pub *, .pub *::before, .pub *::after { animation: none !important; }
}
@media (max-width: 760px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: 24px; }
  .prompt label { display: none; }
  .pub .pub-header { gap: 10px; }
  .pub .pub-nav a { padding: 6px 6px; }
  .radar { display: none; }
  .pub .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pub .stat { border-bottom: 1px solid var(--line); }
  .feed li { grid-template-columns: 3.4em minmax(0, 1fr) 6em; }
  .feed time, .feed .cc, .feed .t { display: none; }
}

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.term + .card, .card + .term, .term + .grid-2, .stats + .term { margin-top: 16px; }
.term .summary { margin: 0; padding: 4px 18px 14px 18px; list-style: none; font-size: 13px; color: var(--dim); line-height: 1.8; border-top: 1px dashed var(--line); }
.term .summary li::before { content: "# "; color: var(--mute); font-family: var(--mono); }
.term-bar .push-right { margin-left: auto; }
.pub .tablewrap td:first-child a { font-family: var(--mono); font-size: 12.5px; }
.hero > div, main > *, .term { min-width: 0; }

/* ================= 后台（body.pub.admin）================= */
.admin .topbar { align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 14px; }
.admin .topbar h1 { display: flex; align-items: center; gap: 14px; margin: 0; font-size: 17px; }
.admin .brand-sub { font-family: var(--mono); font-size: 12px; color: var(--mute); font-weight: 400; }
.admin .brand-sub::before { content: "// "; }
.admin .topbar .sub { margin: 4px 0 0; }
.admin .topbar button { background: transparent; border: 1px solid var(--line-2); color: var(--dim); font-weight: 400; }
.admin .topbar button:hover { border-color: var(--red); color: var(--red); box-shadow: none; }
.admin h1 { font-size: 20px; }
.admin h2 { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.admin .card-head h2::before { content: "// "; color: var(--mute); }
.admin h3 { font-family: var(--mono); font-size: 12px; color: var(--dim); font-weight: 500; }
.admin .card-head p { color: var(--dim); }

/* 一级导航：/路径 风格 */
.admin .tabs { gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 18px; flex-wrap: wrap; }
.admin .tab { background: transparent; border: 0; border-bottom: 2px solid transparent; border-radius: 0; color: var(--dim);
  font-family: var(--mono); font-size: 13px; padding: 8px 12px; margin-bottom: -1px; }
.admin .tab::before { content: "/"; color: var(--mute); }
.admin .tab:hover { color: var(--text); text-shadow: none; }
.admin .tab.active { background: transparent; color: var(--accent); border-bottom-color: var(--accent); }
.admin .admin-badge { color: var(--amber); background: transparent; border: 1px solid rgba(255, 181, 71, .45); font-family: var(--mono); font-size: 10px; }
.admin .tab.active .admin-badge { color: var(--amber); }

/* 表格：吸顶表头要实底 */
.admin th { background: var(--panel-2); }
.admin .arow-main td { background: var(--panel); border-top-color: var(--line-2); }
.admin .arow-sub td { background: #070b0f; }
.admin .k { color: var(--mute); font-family: var(--mono); }
.admin .kv-grid .v, .admin table.facts .v { color: var(--text); }
.admin tr.muted td { opacity: .5; }

/* 按钮、提示、标签 */
.admin button.btn-ghost, .admin a.btn-ghost { background: transparent; border: 1px solid var(--line-2); color: var(--text); font-weight: 400; border-radius: 4px; }
.admin button.btn-ghost:hover, .admin a.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); box-shadow: none; }
.admin button.btn-danger { background: transparent; border: 1px solid rgba(255, 93, 108, .45); color: var(--red); font-weight: 400; border-radius: 4px; }
.admin button.btn-danger:hover { background: rgba(255, 93, 108, .1); color: var(--red); box-shadow: none; }
.admin .flash { background: rgba(61, 252, 155, .07); border: 1px solid rgba(61, 252, 155, .35); color: var(--text); border-radius: 4px; font-family: var(--mono); font-size: 13px; }
.admin .flash::before { content: "[ok] "; color: var(--accent); }
.admin .flash-err { background: rgba(255, 93, 108, .08); border-color: rgba(255, 93, 108, .45); }
.admin .flash-err::before { content: "[err] "; color: var(--red); }
.admin .ok { color: var(--accent); }
.admin .err { color: var(--red); }
.admin .tag { background: rgba(56, 214, 245, .08); border: 1px solid rgba(56, 214, 245, .25); color: var(--cyan); border-radius: 3px; font-family: var(--mono); }
.admin .chip-group .tag:hover { background: rgba(56, 214, 245, .18); color: #fff; }
.admin .badge { background: transparent; border: 1px solid var(--line-2); color: var(--dim); border-radius: 3px; font-family: var(--mono); }
.admin .badge.ok { border-color: rgba(61, 252, 155, .4); color: var(--accent); background: transparent; }
.admin .badge.bad { border-color: rgba(255, 93, 108, .45); color: var(--red); background: transparent; }
.admin code { color: var(--accent); }
.admin pre.json { background: #03060a; border-color: var(--line-2); color: var(--accent); font-family: var(--mono); border-radius: 4px; }
.admin .spinner { border-color: var(--line-2); border-top-color: var(--accent); }
.admin .msg.progress { color: var(--dim); font-family: var(--mono); }

/* 表单 */
.admin .settings fieldset { border-color: var(--line); border-radius: 4px; background: rgba(3, 6, 10, .35); }
.admin .settings legend { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.admin .field label { color: var(--dim); }
.admin .checks label { color: var(--text); }
.admin input[type="checkbox"], .admin input[type="radio"] { accent-color: var(--accent); }
.admin textarea:focus, .admin select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(61, 252, 155, .12); }
.admin textarea.drag-over { border-color: var(--accent); background: rgba(61, 252, 155, .06); }
.admin .radio-card { background: #03060a; border-color: var(--line-2); border-radius: 4px; }
.admin .radio-card:hover { border-color: var(--cyan); }
.admin .radio-card:has(input:checked) { border-color: var(--accent); background: rgba(61, 252, 155, .06); }
.admin .radio-card b { color: var(--text); }
.admin .radio-card small { color: var(--dim); }
.admin .help-body { background: #03060a; border-color: var(--line-2); border-radius: 4px; }
.admin .help-group code { color: var(--cyan); }

/* 资产页：侧栏筛选、探测卡片 */
.admin .facets { font-family: var(--mono); font-size: 12.5px; }
.admin .facet-row { color: var(--dim); }
.admin .facet-row:hover { color: var(--accent); text-shadow: none; }
.admin .probe-head b { font-family: var(--mono); font-size: 13px; color: var(--text); }
.admin .probe-raw { color: var(--cyan); }
.admin .probe-foot { color: var(--mute); }
.admin a.pivot:hover { color: var(--cyan); }
.admin .credit-box b { font-family: var(--mono); color: var(--accent); }

/* 登录页 */
.admin .login { margin-top: 14vh; }
.admin .login .card-head h2 { font-size: 13px; }
.admin .layout-2 > *, .admin .grid-2 > *, .admin .cols > * { min-width: 0; }
.admin .layout-2 > .card { overflow-x: auto; }
.admin .settings p.hint, .admin fieldset > p.hint { font-size: 12.5px; line-height: 1.6; }
.admin .card-head form button, .admin .card-head > button { white-space: nowrap; }
.admin .stat-v { font-size: 22px; overflow-wrap: anywhere; }
.admin .stat .hint { line-height: 1.5; }
.admin .facet-clear { display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.admin .facet-row { padding: 3px 6px; margin: 0 -6px; border-radius: 3px; border-left: 2px solid transparent; }
.admin .facet-row.active { background: rgba(61, 252, 155, .1); border-left-color: var(--accent); color: var(--accent); }
.admin .facet-row.active .hint { color: var(--accent); }
.admin .facet-row.active span:first-child::after { content: " ✕"; color: var(--dim); font-size: 11px; }
.admin .install-cmd { margin: 0 0 14px; }
.admin .install-cmd pre { margin: 6px 0 0; padding: 10px 14px; white-space: pre-wrap; word-break: break-all; user-select: all; background: #03060a; border: 1px solid var(--accent); color: var(--accent); border-radius: 4px; }
