/* Sentrix — cross-community ban & report network */
:root {
  --bg: #05071a;
  --bg-2: #0a0e2b;
  --panel: rgba(13, 17, 48, 0.78);
  --panel-2: rgba(20, 24, 66, 0.72);
  --line: rgba(110, 108, 255, 0.24);
  --line-strong: rgba(120, 110, 255, 0.5);
  --text: #e8eaff;
  --muted: #98a0c8;
  --dim: #6a7199;
  --accent: #6c5cff;
  --accent-2: #3d7bff;
  --cyan: #29b6ff;
  --red: #ff4d6d;
  --amber: #f5b53b;
  --green: #36d69a;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 0 0 1px var(--line), 0 18px 50px -20px rgba(40, 30, 160, 0.55);
  --glow: 0 0 24px rgba(108, 92, 255, 0.45);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Orbitron", "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --max: 1200px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 84px; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(108, 92, 255, 0.22), transparent 60%),
    radial-gradient(900px 500px at 95% 10%, rgba(41, 182, 255, 0.12), transparent 60%),
    radial-gradient(900px 600px at 50% 110%, rgba(61, 123, 255, 0.14), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}
body::before {
  /* starfield */
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background-image:
    radial-gradient(1px 1px at 20px 30px, rgba(255,255,255,.35), transparent),
    radial-gradient(1px 1px at 140px 90px, rgba(255,255,255,.25), transparent),
    radial-gradient(1px 1px at 260px 180px, rgba(180,190,255,.3), transparent),
    radial-gradient(1px 1px at 330px 40px, rgba(255,255,255,.2), transparent);
  background-size: 360px 220px;
  opacity: .6;
}
img, svg { max-width: 100%; }
a { color: #a9b4ff; text-decoration: none; }
a:hover { color: #fff; }
::selection { background: rgba(108, 92, 255, .5); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: 20px; }
.mono { font-family: var(--font-mono); font-size: .9em; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Preview banner ---------- */
.preview-banner {
  background: linear-gradient(90deg, rgba(245,181,59,.14), rgba(245,181,59,.06));
  border-bottom: 1px solid rgba(245,181,59,.3);
  color: #f6d38c;
  font-size: 13px;
  text-align: center;
  padding: 7px 16px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 7, 26, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); flex-shrink: 0; }
.brand img { display: block; height: auto; }
.brand img:first-child { width: 30px; filter: drop-shadow(0 0 8px rgba(108,92,255,.55)); }
.brand .brand-word { width: 118px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links > li { position: relative; }
.nav-links a, .nav-links button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: 8px;
  color: var(--muted); font: inherit; font-size: 14px; font-weight: 500;
  background: none; border: 0; cursor: pointer;
}
.nav-links a:hover, .nav-links button:hover { color: var(--text); background: rgba(108,92,255,.1); }
.nav-links a[aria-current="page"], .nav-links button.active { color: #fff; background: rgba(108,92,255,.18); box-shadow: inset 0 0 0 1px var(--line); }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px;
  background: #0b0f2e; border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 6px; list-style: none; margin: 0;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,.7);
}
.dropdown a { display: block; width: 100%; }
.dropdown small { display: block; color: var(--dim); font-size: 12px; font-weight: 400; }
.nav-right { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .nav { gap: 12px; }
  .nav-toggle {
    display: inline-flex; margin-left: auto; background: none; border: 1px solid var(--line);
    color: var(--text); border-radius: 8px; padding: 8px 10px; cursor: pointer;
  }
  .nav-right { margin-left: 0; }
  .nav-links {
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #070a24; border-bottom: 1px solid var(--line); padding: 10px 16px 16px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .dropdown { position: static; box-shadow: none; border: 0; background: transparent; padding: 0 0 0 12px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 10px;
  font: inherit; font-size: 14px; font-weight: 600; line-height: 1.2;
  cursor: pointer; white-space: nowrap;
  border: 1px solid var(--line-strong);
  background: rgba(108, 92, 255, 0.08); color: var(--text);
  transition: background .15s, box-shadow .15s, transform .15s, border-color .15s;
}
.btn:hover { background: rgba(108,92,255,.2); color: #fff; border-color: #7f73ff; }
.btn-primary {
  background: linear-gradient(135deg, #6c5cff, #3d7bff);
  border-color: transparent; color: #fff; box-shadow: var(--glow);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 32px rgba(108,92,255,.7); }
.btn-danger { border-color: rgba(255,77,109,.5); background: rgba(255,77,109,.08); color: #ffb3c1; }
.btn-danger:hover { background: rgba(255,77,109,.18); border-color: var(--red); }
.btn-sm { padding: 6px 12px; font-size: 13px; border-radius: 8px; }
.btn-lg { padding: 14px 24px; font-size: 15px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- Layout primitives ---------- */
main { padding-block: 36px 72px; }
.page-head { margin-bottom: 24px; }
.page-head h1 { margin: 0 0 6px; font-size: clamp(28px, 4vw, 40px); letter-spacing: -.01em; }
.page-head p { margin: 0; color: var(--muted); max-width: 70ch; }
.eyebrow {
  font-family: var(--font-display); font-size: 12px; letter-spacing: .28em; text-transform: uppercase;
  color: #8f9bff;
}
.section { margin-top: 48px; }
.section h2 { font-size: 22px; margin: 0 0 16px; }

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px -24px rgba(30, 20, 140, .6);
  padding: 20px;
}
.panel-title, .section .panel-title { margin: 0 0 14px; font-size: 16px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.panel-title .icon { color: #9c8cff; }

.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }

.icon { width: 20px; height: 20px; flex-shrink: 0; }
.icon-lg { width: 28px; height: 28px; }
.icon-box {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(108,92,255,.25), rgba(61,123,255,.12));
  border: 1px solid var(--line-strong); color: #b3a9ff;
}

/* ---------- Hero ---------- */
.hero { text-align: center; padding-block: 40px 24px; }
.hero-logo { width: clamp(110px, 16vw, 150px); height: auto; filter: drop-shadow(0 0 30px rgba(108,92,255,.55)); }
.hero-word { margin: 14px auto 10px; max-width: min(560px, 90%); }
.hero-word img { display: block; width: 100%; height: auto; }
.hero-tag { font-family: var(--font-display); font-size: 12px; letter-spacing: .32em; color: #9aa6ff; text-transform: uppercase; }
.hero h1 { font-size: clamp(26px, 4vw, 42px); line-height: 1.2; margin: 28px auto 12px; max-width: 22ch; }
.hero p.lead { color: var(--muted); max-width: 62ch; margin: 0 auto; font-size: 16px; }
.pillars {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-top: 18px;
  font-family: var(--font-display); font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--dim);
}

/* ---------- Search ---------- */
.search-card { max-width: 760px; margin: 32px auto 0; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.tab {
  flex: 1 1 160px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 14px; border-radius: 10px; cursor: pointer;
  background: rgba(10, 14, 43, .8); border: 1px solid var(--line); color: var(--muted);
  font: inherit; font-size: 14px; font-weight: 500;
}
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { color: #fff; border-color: #7a6bff; background: rgba(108,92,255,.16); box-shadow: inset 0 0 0 1px rgba(122,107,255,.4); }
.search-row { display: flex; gap: 10px; }
.input, .select {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  background: rgba(6, 9, 30, .9); border: 1px solid var(--line); color: var(--text);
  font: inherit; font-size: 14px;
}
.input::placeholder { color: var(--dim); }
.input:focus, .select:focus { outline: none; border-color: #7a6bff; box-shadow: 0 0 0 3px rgba(108,92,255,.22); }
.input-icon { position: relative; flex: 1; }
.input-icon .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--dim); pointer-events: none; }
.input-icon .input { padding-left: 42px; }
.select { width: auto; padding-right: 32px; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2398a0c8' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; }
.search-hint { margin-top: 10px; font-size: 12px; color: var(--dim); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.search-hint code { background: rgba(108,92,255,.1); border: 1px solid var(--line); padding: 2px 8px; border-radius: 6px; color: var(--muted); font-family: var(--font-mono); font-size: 11px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 12px; }
.toolbar .input-icon { flex: 1 1 280px; }
.count { font-size: 13px; color: var(--dim); margin: 6px 0 12px; }

/* ---------- Discord embed demo ---------- */
.embed-demo { max-width: 760px; margin: 28px auto 0; }
.embed-demo header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.live { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--green); border: 1px solid rgba(54,214,154,.4); padding: 3px 8px; border-radius: 6px; display: inline-flex; align-items: center; gap: 6px; }
.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.discord-msg { display: flex; gap: 12px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: #151a45; border: 1px solid var(--line); }
.avatar img { width: 24px; }
.msg-head { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.msg-head strong { color: #fff; }
.bot-tag { background: #5865f2; color: #fff; font-size: 10px; font-weight: 700; padding: 1px 5px; border-radius: 4px; }
.embed {
  margin-top: 8px; border-left: 4px solid var(--red); background: rgba(8, 10, 32, .9);
  border-radius: 6px; padding: 12px 14px; font-size: 13.5px;
}
.embed-title { font-weight: 700; color: #fff; margin-bottom: 6px; display: flex; gap: 8px; align-items: center; }
.embed dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; margin: 0; }
.embed dt { color: var(--muted); }
.embed dd { margin: 0; }
.embed-actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }

/* ---------- Cards ---------- */
.feature-card { display: flex; gap: 14px; align-items: flex-start; transition: border-color .15s, transform .15s; color: var(--text); }
a.feature-card:hover { border-color: #7a6bff; transform: translateY(-2px); color: var(--text); }
.feature-card h3 { margin: 0 0 4px; font-size: 16px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 13.5px; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 12px; }
.stat { text-align: center; padding: 18px 12px; }
.stat b { display: block; font-size: 30px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.stat span { font-size: 12px; color: var(--muted); }

.cta { text-align: center; padding: 36px 20px; background:
  radial-gradient(600px 200px at 50% 0%, rgba(108,92,255,.25), transparent 70%), var(--panel); }
.cta h2 { margin: 0 0 8px; font-size: 26px; }
.cta p { margin: 0 auto 20px; color: var(--muted); max-width: 60ch; }

.quote { text-align: center; padding: 32px 20px; font-style: italic; }
.quote blockquote { margin: 0; font-size: 18px; color: #d6d9ff; }
.quote cite { display: block; margin-top: 10px; font-size: 13px; color: var(--dim); font-style: normal; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid rgba(110,108,255,.12); white-space: nowrap; }
th { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); background: rgba(8, 11, 36, .7); }
tbody tr { transition: background .12s; }
tbody tr:hover { background: rgba(108, 92, 255, .07); }
tbody tr:last-child td { border-bottom: 0; }
td .sub { display: block; font-size: 12px; color: var(--dim); }
td.actions { text-align: right; }
td.actions > * + * { margin-left: 6px; }
.empty { padding: 40px; text-align: center; color: var(--muted); }

/* ---------- Chips / badges ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 9px; border-radius: 6px; font-size: 12.5px; font-weight: 600;
  border: 1px solid currentColor; font-variant-numeric: tabular-nums;
}
.chip-high { color: var(--red); background: rgba(255,77,109,.1); }
.chip-med { color: var(--amber); background: rgba(245,181,59,.1); }
.chip-low { color: var(--green); background: rgba(54,214,154,.1); }
.chip-info { color: #9fb0ff; background: rgba(108,92,255,.12); }
.chip-verified { color: var(--green); background: rgba(54,214,154,.08); }
.platforms { display: inline-flex; gap: 6px; color: var(--muted); }
.platforms .icon { width: 16px; height: 16px; }
.plat-discord { color: #7b87ff; }
.plat-fivem { color: #ff8a3d; }
.plat-steam { color: #9ec3e6; }

/* ---------- Pagination ---------- */
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 18px; flex-wrap: wrap; }
.pager button { min-width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--line); background: rgba(10,14,43,.8); color: var(--muted); cursor: pointer; font: inherit; font-size: 13px; }
.pager button:hover:not([disabled]) { color: #fff; border-color: #7a6bff; }
.pager button[aria-current="page"] { background: linear-gradient(135deg, #6c5cff, #3d7bff); color: #fff; border-color: transparent; }
.pager button[disabled] { opacity: .4; cursor: default; }

/* ---------- Dossier ---------- */
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.dossier-head { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; }
.dossier-avatar {
  width: 112px; height: 112px; border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #2a2f6e, #0b0e2b 70%);
  border: 2px solid var(--line-strong); box-shadow: var(--glow);
  display: grid; place-items: center; color: #6c74b8;
}
.dossier-avatar svg { width: 56px; height: 56px; }
.dossier-head h1 { margin: 0 0 8px; font-size: 26px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 3px 16px; font-size: 13.5px; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-family: var(--font-mono); font-size: 12.5px; color: #c8ccff; overflow-wrap: anywhere; }
.score-card { min-width: 220px; }
.score-card .label { font-size: 13px; color: var(--muted); }
.score { font-family: var(--font-display); font-size: 40px; font-weight: 800; line-height: 1.1; margin: 4px 0; }
.meter { height: 6px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; margin: 8px 0; }
.meter i { display: block; height: 100%; border-radius: inherit; }
.dossier-actions { display: flex; gap: 8px; justify-content: flex-end; margin-bottom: 12px; flex-wrap: wrap; }

.subtabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 24px 0 20px; overflow-x: auto; }
.subtab { background: none; border: 0; border-bottom: 2px solid transparent; color: var(--muted); padding: 10px 14px; font: inherit; font-size: 14px; cursor: pointer; white-space: nowrap; }
.subtab:hover { color: var(--text); }
.subtab[aria-selected="true"] { color: #fff; border-bottom-color: #7a6bff; }

.id-list { display: flex; flex-direction: column; gap: 8px; }
.id-row { display: grid; grid-template-columns: 28px 90px 1fr auto; gap: 12px; align-items: center; padding: 10px 14px; background: rgba(8,11,36,.6); border: 1px solid rgba(110,108,255,.14); border-radius: 10px; font-size: 13.5px; }
.id-row .mono { color: #c8ccff; overflow-wrap: anywhere; }
@media (max-width: 600px) { .id-row { grid-template-columns: 24px 1fr; } .id-row > :nth-child(n+3) { grid-column: 2; } }

.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .icon { width: 18px; height: 18px; margin-top: 2px; }
.checks > li > .icon, .checks > li > [data-icon] { color: var(--green); display: inline-flex; }
.checks.bullets > li > .icon, .checks.bullets > li > [data-icon] { color: #9c8cff; }

.appeal-bar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 16px;
  background: linear-gradient(90deg, rgba(108,92,255,.18), rgba(61,123,255,.08)); border-color: var(--line-strong); }
.appeal-bar > div { flex: 1 1 260px; }
.appeal-bar h3 { margin: 0; font-size: 16px; }
.appeal-bar p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }

@media (max-width: 800px) {
  .dossier-head { grid-template-columns: 1fr; text-align: left; }
  .dossier-avatar { width: 88px; height: 88px; }
}

/* ---------- Rebuild chain ---------- */
.chain { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 12px; align-items: stretch; }
.chain-node { padding: 14px; border-radius: 10px; background: rgba(8,11,36,.7); border: 1px solid var(--line); font-size: 13px; }
.chain-node .tag { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.chain-node h4 { margin: 6px 0 2px; font-size: 15px; }
.chain-node.deleted { border-color: rgba(255,77,109,.45); }
.chain-node.deleted .tag { color: var(--red); }
.chain-node.origin .tag { color: #9fb0ff; }
.chain-node.current { border-color: rgba(54,214,154,.45); }
.chain-node.current .tag { color: var(--green); }
.chain-arrow { display: grid; place-items: center; color: #7a6bff; }
@media (max-width: 800px) { .chain { grid-template-columns: 1fr; } .chain-arrow { transform: rotate(90deg); } }
.chain-note { display: flex; gap: 12px; align-items: center; margin-top: 12px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: rgba(8,11,36,.5); font-size: 13.5px; color: var(--muted); }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 16px; counter-reset: step; }
.step { position: relative; text-align: center; padding: 24px 18px; }
.step .icon-box { margin: 0 auto 14px; }
.step h3 { margin: 0 0 6px; font-size: 16px; }
.step p { margin: 0; color: var(--muted); font-size: 13.5px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: 12px; left: 14px; font-family: var(--font-display); font-size: 11px; color: var(--dim); letter-spacing: .1em;
}

.path-card { display: flex; flex-direction: column; gap: 14px; }
.path-card.danger { border-color: rgba(255,77,109,.35); }
.path-card header { display: flex; gap: 14px; align-items: flex-start; }
.path-card h3 { margin: 0 0 4px; font-size: 17px; }
.path-card header p { margin: 0; color: var(--muted); font-size: 14px; }
.path-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: 13.5px; color: var(--muted); }
.form textarea.input { min-height: 120px; resize: vertical; }
.form-note { font-size: 12.5px; color: var(--dim); }
.notice { padding: 14px 16px; border-radius: 10px; border: 1px solid rgba(54,214,154,.4); background: rgba(54,214,154,.08); color: #bff3dd; font-size: 14px; }
.notice.warn { border-color: rgba(245,181,59,.4); background: rgba(245,181,59,.08); color: #f6d38c; }

/* ---------- Code ---------- */
pre.code {
  margin: 0; padding: 16px; border-radius: 10px; overflow-x: auto;
  background: #04061a; border: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 12.5px; line-height: 1.6; color: #c8ccff;
}
.code .k { color: #9c8cff; } .code .s { color: #7ee2b8; } .code .n { color: #ffb86b; } .code .c { color: var(--dim); }

/* ---------- Prose ---------- */
.prose { max-width: 75ch; }
.prose h2 { margin-top: 32px; }
.prose p, .prose li { color: #cdd1f5; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: rgba(4, 6, 22, .85); padding-block: 40px 28px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 24px; }
.footer-grid h4 { margin: 0 0 10px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-grid a { color: var(--muted); }
.footer-grid a:hover { color: #fff; }
.footer-tag { color: var(--muted); max-width: 36ch; margin: 10px 0 0; }
.footer-bottom { margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(110,108,255,.12); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--dim); font-size: 12px; font-family: var(--font-display); letter-spacing: .18em; text-transform: uppercase; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px);
  background: #11163f; border: 1px solid var(--line-strong); color: var(--text);
  padding: 12px 18px; border-radius: 10px; font-size: 14px; box-shadow: 0 16px 40px rgba(0,0,0,.6);
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 100; max-width: calc(100% - 32px);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Lookup result ---------- */
.lookup-result { margin-top: 14px; text-align: left; }
.lookup-result p { color: #cdd1f5; }
.lookup-result.flagged { border-color: rgba(255,77,109,.55); background: linear-gradient(135deg, rgba(255,77,109,.12), var(--panel) 60%); }
.lookup-result.clear, .result-clear-panel { border-color: rgba(54,214,154,.45); background: linear-gradient(135deg, rgba(54,214,154,.1), var(--panel) 60%); }
.lookup-result.warn { border-color: rgba(245,181,59,.45); }
.lookup-result code { font-family: var(--font-mono); font-size: 12px; background: rgba(108,92,255,.14); padding: 1px 6px; border-radius: 5px; }
.result-head { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.result-head h3 { margin: 0; font-size: 20px; }
.result-head .mono { font-size: 12px; }
.flagged .result-head .icon { color: var(--red); }
.clear .result-head .icon, .result-clear-panel .result-head .icon { color: var(--green); }
.lookup-wrap { max-width: 760px; margin: 0 auto; }

/* ---------- Appeal ---------- */
.appeal-wrap { max-width: 760px; margin: 0 auto; display: grid; gap: 16px; }
.appeal-login { display: flex; gap: 18px; align-items: flex-start; padding: 28px; }
.appeal-login h2 { margin: 0 0 6px; font-size: 22px; }
.appeal-login p { margin: 0 0 18px; }
@media (max-width: 560px) { .appeal-login { flex-direction: column; } }
.appeal-user { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(8,11,36,.6); }
.appeal-user img { border-radius: 50%; border: 1px solid var(--line-strong); }
.appeal-user div { display: grid; line-height: 1.3; min-width: 0; }
.appeal-user .mono { font-size: 11.5px; overflow-wrap: anywhere; }
.appeal-user .btn { margin-left: auto; }
.status-card.status-pending { border-color: rgba(245,181,59,.45); }
.status-card.status-pending .panel-title .icon { color: var(--amber); }
.status-card.status-accepted { border-color: rgba(54,214,154,.45); }
.status-card.status-accepted .panel-title .icon { color: var(--green); }
.status-card.status-rejected { border-color: rgba(255,77,109,.45); }
.status-card.status-rejected .panel-title .icon { color: var(--red); }
.review-note { margin: 12px 0 0; padding: 10px 14px; border-left: 3px solid #7a6bff; background: rgba(108,92,255,.08); border-radius: 0 8px 8px 0; color: #d6d9ff; white-space: pre-wrap; }
.form-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.categories { display: flex; flex-wrap: wrap; gap: 8px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); cursor: pointer; }
.link-btn:hover { color: #fff; }
table.cmds td { white-space: normal; }
table.cmds td:first-child { white-space: nowrap; }

.flag-info { display: grid; grid-template-columns: 110px 1fr; gap: 10px; align-items: center; margin: 0 0 10px; font-size: 14px; }
@media (max-width: 480px) { .flag-info { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Admin panel ---------- */
.admin-tag { font-family: var(--font-display); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--amber); border: 1px solid rgba(245,181,59,.5); border-radius: 5px; padding: 2px 6px; }
.admin-nav { display: flex; gap: 2px; flex-wrap: wrap; }
.admin-nav a { color: var(--muted); padding: 8px 11px; border-radius: 8px; font-size: 14px; font-weight: 500; display: inline-flex; gap: 6px; align-items: center; }
.admin-nav a:hover { color: var(--text); background: rgba(108,92,255,.1); }
.admin-nav a[aria-current="page"] { color: #fff; background: rgba(108,92,255,.18); box-shadow: inset 0 0 0 1px var(--line); }
.badge { background: var(--red); color: #fff; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 0 7px; line-height: 18px; }
body.admin .nav { height: auto; min-height: 64px; flex-wrap: wrap; padding-block: 8px; gap: 16px; }
body.admin .nav-right { gap: 12px; }
@media (max-width: 900px) { .admin-nav { order: 3; width: 100%; overflow-x: auto; flex-wrap: nowrap; } }
.person { display: inline-flex; align-items: center; gap: 6px; }
.person .av { border-radius: 50%; }
.person .icon { width: 16px; height: 16px; }
.admin-login { display: flex; gap: 18px; align-items: flex-start; padding: 28px; max-width: 640px; margin: 40px auto; }
.admin-login h1 { margin: 0 0 6px; font-size: 24px; }
.admin-login p { margin: 0 0 18px; }
a.panel.stat { color: var(--text); transition: border-color .15s; }
a.panel.stat:hover { border-color: #7a6bff; }
.panel-title .more { margin-left: auto; font-size: 13px; font-weight: 500; }
.queue-row { display: grid; grid-template-columns: 48px 1fr auto auto; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 8px; color: var(--text); font-size: 14px; border: 1px solid transparent; }
.queue-row:hover { background: rgba(108,92,255,.08); border-color: var(--line); color: var(--text); }
.queue-row .clip { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 560px) { .queue-row { grid-template-columns: 40px 1fr; } .queue-row > :nth-child(n+3) { grid-column: 2; } }
.status-tabs { margin-bottom: 14px; }
.status-tabs .tab { flex: 0 0 auto; }
.pager-row { display: flex; gap: 10px; align-items: center; justify-content: flex-end; margin-top: 14px; font-size: 13px; }
tr.click { cursor: pointer; }
.clip-cell { max-width: 420px; overflow: hidden; text-overflow: ellipsis; }
.detail-grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
@media (max-width: 900px) { .detail-grid { grid-template-columns: 1fr; } }
.kv.wide { grid-template-columns: 110px 1fr; gap: 10px 16px; }
.kv.wide dd { font-family: inherit; font-size: 14px; color: var(--text); }
.prewrap { white-space: pre-wrap; overflow-wrap: anywhere; }
.sub-title { font-size: 14px; margin: 18px 0 0; color: var(--muted); font-weight: 600; }
.flag-list { display: grid; gap: 10px; }
.flag-item { padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: rgba(8,11,36,.55); display: grid; gap: 6px; font-size: 14px; }
.flag-item.revoked { opacity: .65; }
.flag-top { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.flag-meta { font-size: 12.5px; overflow-wrap: anywhere; }
details.revoke summary { cursor: pointer; color: #ffb3c1; font-size: 13px; width: fit-content; }
details.revoke .form { margin-top: 8px; }
.form textarea.input.short { min-height: 70px; }
.checklist { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin: 0; display: grid; gap: 8px; }
.checklist legend { font-size: 13.5px; color: var(--muted); padding: 0 4px; }
.check { display: flex !important; grid-template-columns: none; gap: 10px; align-items: flex-start; color: var(--text) !important; font-size: 14px; }
.check input { margin-top: 4px; accent-color: #6c5cff; }
.profile { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.profile img { border-radius: 50%; border: 2px solid var(--line-strong); }
.profile h1 { margin: 0; font-size: 22px; }
.profile-tags { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.stack { display: grid; gap: 16px; align-content: start; }
.back .icon { width: 16px; height: 16px; }
body.admin .panel.form { align-content: start; }
body.admin .form label:not(.check) { display: block; }
body.admin .form label:not(.check) > .input,
body.admin .form label:not(.check) > .select { display: block; width: 100%; margin-top: 6px; }
body.admin .form label .form-note { display: block; margin-top: 4px; }
.coming-soon h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* ---------- Docs ---------- */
.docs { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: start; }
.docs-nav { position: sticky; top: calc(64px + 24px); max-height: calc(100vh - 110px); overflow-y: auto; }
.docs-nav summary { list-style: none; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; cursor: default; }
.docs-nav summary::-webkit-details-marker { display: none; }
.docs-nav nav { display: grid; gap: 1px; }
.docs-nav a { color: var(--muted); font-size: 14px; padding: 6px 10px; border-radius: 7px; border-left: 2px solid transparent; }
.docs-nav a:hover { color: var(--text); background: rgba(108,92,255,.08); }
.docs-nav a.active { color: #fff; border-left-color: #7a6bff; background: rgba(108,92,255,.12); }
.docs-nav-group { margin: 14px 0 4px; padding-left: 10px; font-size: 11.5px; font-weight: 600; color: #8f9bff; letter-spacing: .06em; text-transform: uppercase; }
.docs-nav-group:first-of-type { margin-top: 0; }
.docs-body { max-width: 820px; }
.doc-section { padding-top: 8px; margin-bottom: 44px; }
.doc-section h2 { font-size: 26px; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.doc-section h3 { font-size: 17px; margin: 0 0 8px; }
.doc-section p, .doc-section li { color: #cdd1f5; }
.doc-section code, .callout code { font-family: var(--font-mono); font-size: 12.5px; background: rgba(108,92,255,.14); border: 1px solid rgba(110,108,255,.2); padding: 1px 6px; border-radius: 5px; color: #d8dbff; }
pre.code.cmd { margin: 8px 0 10px; padding: 12px 14px; color: #e3e6ff; white-space: pre-wrap; overflow-wrap: anywhere; }
.callout { margin: 16px 0; padding: 14px 16px; border-radius: 10px; border: 1px solid rgba(108,92,255,.4); border-left: 4px solid #7a6bff; background: rgba(108,92,255,.08); color: #d6d9ff; font-size: 14.5px; }
.steps-list { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.steps-list > li { counter-increment: s; position: relative; padding-left: 46px; }
.steps-list > li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; background: linear-gradient(135deg, #6c5cff, #3d7bff); color: #fff; }
.steps-list p { margin: 0; }
.plain-list { padding-left: 20px; display: grid; gap: 8px; }
.cmd-group { display: flex; align-items: center; gap: 10px; margin: 28px 0 12px !important; font-size: 18px !important; }
.cmd-group .chip { font-size: 11.5px; font-weight: 500; color: var(--muted); border-color: var(--line-strong); }
.cmd-card { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); padding: 4px 16px 14px; margin-bottom: 12px; }
.cmd-card p { margin: 6px 0 0; font-size: 14.5px; }
.opts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 12px 0 0; font-size: 14px; }
.opts dt { font-family: var(--font-mono); font-size: 12.5px; color: #b9b0ff; padding-top: 2px; }
.opts dd { margin: 0; color: #cdd1f5; }
details.faq { border: 1px solid var(--line); border-radius: 10px; background: var(--panel); margin-bottom: 10px; }
details.faq summary { cursor: pointer; padding: 12px 16px; font-weight: 600; }
details.faq[open] summary { border-bottom: 1px solid var(--line); }
details.faq > :not(summary) { padding: 0 16px; }
details.faq > ul { padding-left: 36px; padding-block: 12px; margin: 0; }
details.faq > p { margin: 12px 0; }
@media (max-width: 900px) {
  .docs { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .docs-nav { position: static; max-height: none; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); padding: 12px 14px; }
  .docs-nav summary { cursor: pointer; margin: 0; }
  .docs-nav details[open] summary { margin-bottom: 8px; }
  .opts { grid-template-columns: 1fr; gap: 2px; }
  .opts dd { margin-bottom: 8px; }
}
