/* MadExploits — GitHub Dark + HTB lime + Big Sur glass */
:root {
  --bg: #020308;
  --bg-2: #010205;
  --surface: #0b1220;
  --surface-2: #121a2a;
  --surface-3: #1a2438;
  --border: rgba(255, 255, 255, 0.10);
  --border-2: rgba(255, 255, 255, 0.16);
  --text: #e6edf3;
  --text-2: #c9d1d9;
  --muted: #8b949e;
  --faint: #6e7681;
  --accent: #9fef00;
  --accent-2: #86c232;
  --accent-3: #c6ff4a;
  --ink: #050810;
  --accent-glow: rgba(159, 239, 0, 0.22);
  --accent-dim: rgba(159, 239, 0, 0.12);
  --cyan: #3fb950;
  --blue: #58a6ff;
  --red: #f85149;
  --purple: #a371f7;
  --glass: rgba(8, 14, 28, 0.52);
  --glass-strong: rgba(5, 8, 16, 0.68);
  --glass-edge: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  --blur: blur(28px) saturate(165%);
  --font: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif;
  --display: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --radius: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px rgba(1, 4, 9, 0.45);
  --shadow-soft: 0 8px 28px rgba(1, 4, 9, 0.28);
  --t: 0.22s cubic-bezier(0.22, 1, 0.36, 1);
  --side: 228px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
body:not(.is-admin) .admin-only,
body:not(.is-admin) #navAdmin,
body:not(.is-admin) #viewAdmin,
body:not(.is-admin) .stat-pills,
body:not(.is-admin) #statPills {
  display: none !important;
}
html, body { min-height: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "calt" 0;
}

::selection { background: var(--accent); color: var(--ink); }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 99px; }

.glass {
  background: var(--glass);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft), var(--glass-edge);
}

.wallpaper { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.wall-grid {
  position: absolute; inset: -40%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='64' viewBox='0 0 56 64'%3E%3Cpath d='M28 2l24 14v28L28 58 4 44V16z' fill='none' stroke='%239fef00' stroke-opacity='0.07' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 56px 64px;
  animation: wallDrift 48s linear infinite;
  opacity: 0.55;
}
.wall-scan {
  position: absolute; left: 0; right: 0; height: 140px;
  background: linear-gradient(180deg, transparent, rgba(159,239,0,0.05), transparent);
  animation: wallScan 14s ease-in-out infinite;
}
@keyframes wallDrift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-56px, -64px, 0); }
}
@keyframes wallScan {
  0%, 100% { top: -12%; }
  50% { top: 88%; }
}

/* ——— login ——— */
.hex-field {
  position: absolute; inset: 0;
  background-color: var(--bg);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='64' viewBox='0 0 56 64'%3E%3Cpath d='M28 2l24 14v28L28 58 4 44V16z' fill='none' stroke='%239fef00' stroke-opacity='0.05' stroke-width='1'/%3E%3C/svg%3E");
  background-size: auto, auto, 56px 64px;
}

.login-page {
  min-height: 100vh; display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.login-bg { position: absolute; inset: 0; }
.login-orbs { position: absolute; inset: 0; overflow: hidden; }
.orb {
  position: absolute; border-radius: 50%; filter: blur(90px);
  opacity: 0.32; animation: float 22s ease-in-out infinite;
}
.orb-1 { width: 520px; height: 520px; background: var(--accent); top: -200px; left: -160px; opacity: 0.22; }
.orb-2 { width: 380px; height: 380px; background: #16301a; bottom: -140px; right: -80px; opacity: 0.5; display: block; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(36px, -28px) scale(1.06); }
}
.login-particles { position: absolute; inset: 0; overflow: hidden; }
.login-particles .particle {
  position: absolute; width: 3px; height: 3px;
  background: var(--accent); border-radius: 50%; opacity: 0;
  animation: rise linear infinite;
}
@keyframes rise {
  0% { opacity: 0; transform: translateY(0); }
  12% { opacity: .7; }
  100% { opacity: 0; transform: translateY(-100vh); }
}

.login-card {
  position: relative; z-index: 1;
  width: 420px; max-width: 92vw;
  padding: 40px 36px 26px;
  border-radius: 26px;
  background: rgba(6, 10, 18, 0.62);
  backdrop-filter: blur(40px) saturate(170%);
  -webkit-backdrop-filter: blur(40px) saturate(170%);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 28px 70px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.14);
}
.login-header { text-align: center; margin-bottom: 28px; }
.hex-logo {
  width: 72px; height: 81px; margin: 0 auto 14px;
  filter: drop-shadow(0 0 18px rgba(159, 239, 0, 0.45));
  animation: markGlow 3.2s ease-in-out infinite;
}
.hex-logo svg { display: block; width: 100%; height: 100%; }
@keyframes markGlow {
  50% { filter: drop-shadow(0 0 26px rgba(159, 239, 0, 0.62)); }
}
.login-title {
  font-family: var(--mono); font-size: 28px; font-weight: 600;
  letter-spacing: -0.4px; color: var(--text);
  font-variant-ligatures: none;
  min-height: 1.25em;
}
.login-title .tld { color: var(--accent); }
.type-caret {
  display: inline-block; width: 2px; height: 0.82em;
  margin-left: 3px; vertical-align: -0.06em;
  background: var(--accent);
  animation: caretBlink 1.05s steps(1) infinite;
}
@keyframes caretBlink { 50% { opacity: 0; } }
.login-subtitle {
  margin-top: 8px; font-family: var(--mono); font-size: 11px;
  letter-spacing: 1.6px; color: var(--muted); text-transform: none;
}
.login-subtitle .dot { color: var(--accent); }

.login-form, .admin-form { display: flex; flex-direction: column; gap: 16px; }
.input-group { display: flex; flex-direction: column; gap: 7px; }
.login-form .input-group label {
  text-transform: none; letter-spacing: 0.2px;
  font-family: var(--font); font-size: 12px; font-weight: 500;
}
.input-group label {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; letter-spacing: .5px;
  text-transform: uppercase; color: var(--muted);
}
.input-group input, .limit-select, .admin-form select {
  width: 100%;
  background: rgba(6, 10, 20, 0.55);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 13px 16px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  transition: border var(--t), box-shadow var(--t), background var(--t);
}
.input-group input:focus, .limit-select:focus {
  outline: none; border-color: rgba(159,239,0,0.55);
  box-shadow: 0 0 0 4px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.08);
  background: rgba(6, 10, 20, 0.72);
}

.login-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; border: none; border-radius: 999px; padding: 13px;
  background: linear-gradient(180deg, #b6ff2b 0%, var(--accent) 100%);
  color: var(--ink);
  font-family: var(--font); font-size: 15px; font-weight: 600;
  letter-spacing: .2px; text-transform: none; cursor: pointer;
  box-shadow: 0 10px 24px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.45);
  transition: transform var(--t), box-shadow var(--t);
}
.login-form .login-btn { margin-top: 4px; }
.login-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 32px var(--accent-glow); }
.login-btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.login-error, .admin-error {
  min-height: 18px; text-align: center; color: var(--red);
  font-family: var(--mono); font-size: 12px;
}
.login-footer {
  margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--border);
  display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 12px;
}
.login-footer a { text-decoration: none; }
.footer-tag { color: var(--faint); letter-spacing: 1.5px; }
.footer-brand { color: var(--accent); font-weight: 600; }

/* ——— app shell ——— */
.app-shell {
  min-height: 100vh; display: flex; gap: 14px; padding: 14px;
  background: var(--bg);
  position: relative;
}
.app-ambient { display: none; }
.app-main { flex: 1; min-width: 0; display: flex; flex-direction: column; position: relative; z-index: 1; }

.sidebar {
  width: var(--side); flex-shrink: 0;
  display: flex; flex-direction: column; padding: 18px 14px;
  position: sticky; top: 14px; height: calc(100vh - 28px);
  border-radius: 24px;
  background: rgba(8, 14, 28, 0.5);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft), var(--glass-edge);
  z-index: 2;
}
.sidebar-brand { display: flex; align-items: center; gap: 10px; padding: 6px 8px 18px; }
.brand-mark {
  width: 38px; height: 38px; display: grid; place-items: center;
  color: var(--ink); background: var(--accent); border-radius: 12px;
  animation: markPop 2.8s ease-in-out infinite;
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.brand-copy strong { font-family: var(--mono); font-size: 16px; letter-spacing: -0.3px; }
.brand-copy em { font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--accent); }

.side-nav { display: flex; flex-direction: column; gap: 8px; }
.nav-item {
  display: flex; align-items: center; gap: 10px;
  width: 100%; border: 1px solid transparent; background: transparent;
  color: var(--muted); border-radius: 14px; padding: 11px 13px;
  font-family: var(--font); font-size: 14px; font-weight: 600;
  letter-spacing: 0; cursor: pointer; transition: all var(--t);
}
.nav-item:hover {
  color: var(--text);
  background: rgba(255,255,255,0.06);
  border-color: var(--border);
}
.nav-item.active {
  color: var(--ink);
  background: linear-gradient(180deg, #b6ff2b 0%, var(--accent) 100%);
  border-color: transparent;
  box-shadow: 0 8px 20px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.4);
}
.nav-badge {
  margin-left: auto; font-family: var(--mono); font-size: 9px;
  letter-spacing: 1px; padding: 3px 7px; border-radius: 999px;
  background: rgba(8,17,10,.16);
}
.nav-item:not(.active) .nav-badge { background: var(--accent-dim); color: var(--accent); }

.sidebar-foot { margin-top: auto; padding-top: 14px; }

.mobile-nav { display: none; }
.mob-dock { display: none; }
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 12px 16px; margin-bottom: 10px;
  border-radius: 18px;
  background: rgba(8, 14, 28, 0.46);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft), var(--glass-edge);
  position: sticky; top: 12px; z-index: 20;
}
.crumb {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text);
}
.crumb-ico { color: var(--accent); animation: iconPulse 2.4s ease-in-out infinite; }
.crumb-copy { display: flex; flex-direction: column; line-height: 1.15; }
.crumb-copy strong {
  font-family: var(--mono); font-size: 14px; font-weight: 600;
  letter-spacing: -0.2px;
}
.crumb-copy em {
  font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--accent);
}
.topbar-right { display: flex; align-items: center; gap: 10px; }
.stat-pills { display: flex; align-items: center; gap: 8px; }
.stat-pill {
  display: inline-flex; flex-direction: column; align-items: flex-end; justify-content: center;
  gap: 1px; min-width: 72px;
  padding: 4px 10px; border: 1px solid var(--border); border-radius: 4px;
  background: rgba(6, 10, 20, 0.45);
  color: var(--muted); font-size: 12px;
  white-space: nowrap;
}
.stat-pill svg { color: var(--accent); }
.count-number {
  display: block;
  font-family: var(--mono); font-weight: 600; color: var(--accent); font-size: 13px;
  font-variant-numeric: tabular-nums; line-height: 1.2; letter-spacing: 0;
  font-variant-ligatures: none;
}
.domain-count.bump .count-number, .stat-pill.bump .count-number { text-shadow: 0 0 12px var(--accent); }
.count-label, .disk-number {
  display: block;
  color: var(--muted); font-family: var(--mono); font-size: 10px;
  line-height: 1.2; margin: 0; letter-spacing: 0.4px;
}

.ingest-status { display: none !important; }
.ingest-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 8px var(--accent); animation: pulse 1.6s ease-in-out infinite; flex-shrink: 0;
}
.ingest-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@keyframes pulse { 50% { opacity: .35; } }

.logout-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(6, 10, 20, 0.3);
  border: 1px solid var(--border); border-radius: 999px;
  color: var(--muted); padding: 8px 14px; cursor: pointer;
  font-family: var(--font); font-weight: 600; letter-spacing: 0;
  transition: all var(--t);
}
.logout-btn:hover { border-color: var(--red); color: var(--red); background: rgba(248,81,73,0.08); }

/* ——— search ——— */
.view { flex: 1; }
.search-section { padding: 22px 20px 0; max-width: 920px; margin: 0 auto; width: 100%; }
.search-bar {
  display: flex; align-items: center;
  padding: 6px 6px 6px 18px;
  border-radius: 999px;
  background: rgba(8, 14, 28, 0.5);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--border);
  box-shadow: var(--shadow), var(--glass-edge);
  transition: border var(--t), box-shadow var(--t), transform var(--t);
}
.search-bar:focus-within {
  border-color: rgba(159,239,0,0.45);
  box-shadow: 0 0 0 4px var(--accent-glow), var(--shadow), var(--glass-edge);
  transform: translateY(-1px);
}
.search-icon { color: var(--faint); }
.search-bar:focus-within .search-icon { color: var(--accent); }
.search-input {
  flex: 1; border: 0; background: none; outline: none;
  padding: 13px 12px; color: var(--text); font-size: 15px; font-family: var(--mono);
}
.search-input::placeholder { color: var(--faint); }
.search-btn {
  display: inline-flex; align-items: center; gap: 6px;
  border: 0; border-radius: 999px; padding: 11px 22px;
  background: linear-gradient(180deg, #b6ff2b 0%, var(--accent) 100%);
  color: var(--ink);
  font-family: var(--font); font-weight: 600; letter-spacing: 0;
  text-transform: none; cursor: pointer;
  box-shadow: 0 8px 18px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.4);
}
.search-btn:disabled { opacity: .5; cursor: not-allowed; }

.search-filters {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; margin-top: 16px; flex-wrap: wrap;
}
.filter-group {
  display: flex; gap: 4px; padding: 4px;
  border-radius: 999px;
  background: rgba(8, 14, 28, 0.45);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  box-shadow: var(--glass-edge);
}
.filter-label {
  display: flex; align-items: center; gap: 6px; cursor: pointer;
  padding: 7px 16px; border-radius: 999px; color: var(--muted); font-size: 13px; font-weight: 600;
  transition: all var(--t);
}
.filter-label input { appearance: none; width: 0; height: 0; }
.filter-label:has(input:checked) {
  background: var(--accent-dim); color: var(--accent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.filter-right { display: flex; align-items: center; gap: 10px; }
.kbd-hint { color: var(--faint); font-size: 12px; }
kbd {
  font-family: var(--mono); font-size: 11px; padding: 2px 6px;
  border: 1px solid var(--border); border-radius: 7px;
  background: rgba(22,27,34,0.5);
}
.limit-select { width: auto; padding: 8px 12px; cursor: pointer; border-radius: 999px; }

.result-meta {
  display: flex; justify-content: space-between; align-items: center;
  max-width: 920px; margin: 0 auto; width: 100%; padding: 18px 20px 10px;
  color: var(--muted); font-size: 13px;
}
.meta-left, .meta-right { display: flex; align-items: center; gap: 8px; }
.latency-badge {
  font-family: var(--mono); font-size: 11px; color: var(--accent);
  border: 1px solid rgba(159,239,0,.28); background: var(--accent-dim);
  border-radius: 999px; padding: 3px 9px;
}
.export-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(8, 14, 28, 0.45);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  color: var(--muted); border-radius: 999px; padding: 8px 13px;
  font-size: 12px; font-weight: 600; cursor: pointer;
  box-shadow: var(--glass-edge);
  transition: all var(--t);
}
.export-btn:hover, .icon-btn:hover { border-color: rgba(159,239,0,.4); color: var(--accent); }
.export-btn.primary-export { color: var(--accent); border-color: rgba(159,239,0,.3); }
.export-btn:disabled { opacity: .45; cursor: not-allowed; }

.dl-tray {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  width: min(380px, calc(100vw - 28px));
  border-radius: 18px;
  background: rgba(8, 14, 28, 0.78);
  backdrop-filter: blur(22px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow), var(--glass-edge);
}
.dl-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 14px 8px; border-bottom: 1px solid var(--border);
}
.dl-head strong { font-family: var(--mono); font-size: 13px; }
.dl-head em { display: block; font-style: normal; font-size: 11px; color: var(--muted); font-family: var(--mono); }
.dl-list { max-height: 280px; overflow: auto; padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.dl-item {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 12px; background: rgba(6, 10, 20, 0.45);
  border: 1px solid var(--border);
}
.dl-item.running { border-color: rgba(159,239,0,0.35); }
.dl-item.ready { border-color: rgba(63,185,80,0.4); }
.dl-item.error { border-color: rgba(248,81,73,0.4); }
.dl-meta { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.dl-meta strong { font-family: var(--mono); font-size: 11px; color: var(--accent); }
.dl-meta span { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dl-meta em { font-style: normal; font-size: 11px; color: var(--faint); font-family: var(--mono); }
.dl-actions { flex-shrink: 0; }

.results { display: flex; flex-direction: column; gap: 12px; max-width: 920px; margin: 0 auto; width: 100%; padding: 0 20px 28px; }
.result-card {
  border-radius: 20px; overflow: hidden;
  background: rgba(8, 14, 28, 0.48);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft), var(--glass-edge);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.result-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-2);
  box-shadow: var(--shadow), var(--glass-edge);
}
.result-header {
  display: flex; justify-content: space-between; align-items: center;
  gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--border); flex-wrap: wrap;
}
.result-header-left { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.result-titles { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.result-domain { color: var(--text); font-weight: 600; text-decoration: none; font-size: 15px; }
.result-domain:hover { color: var(--accent); }
.result-url {
  color: var(--faint); font-family: var(--mono); font-size: 11px;
  text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 520px;
}
.result-url:hover { color: var(--accent); }
.result-badge {
  font-family: var(--mono); font-size: 10px; letter-spacing: 1px;
  padding: 3px 8px; border-radius: 999px; text-transform: uppercase;
}
.result-badge.headers { color: var(--accent); background: var(--accent-dim); }
.result-badge.body { color: var(--blue); background: rgba(88,166,255,.12); }
.result-links { display: flex; align-items: center; gap: 12px; font-size: 12px; }
.result-link, .icon-btn { color: var(--muted); text-decoration: none; background: none; border: 0; cursor: pointer; font-family: var(--font); }
.icon-btn {
  border: 1px solid var(--border); border-radius: 999px; padding: 4px 10px;
  background: rgba(13,17,23,0.3);
}
.result-timestamp { color: var(--faint); font-family: var(--mono); font-size: 11px; }
.result-snippet {
  background: rgba(3, 6, 14, 0.45); padding: 16px 18px; font-family: var(--mono);
  font-size: 12.5px; line-height: 1.7; color: var(--text-2);
  white-space: pre-wrap; word-break: break-word; max-height: 320px; overflow: auto;
}
.result-snippet mark { background: var(--accent-glow); color: var(--accent-3); border-radius: 4px; padding: 0 3px; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 18px; }
.page-btn {
  background: rgba(8, 14, 28, 0.5);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border); color: var(--muted);
  border-radius: 999px; padding: 8px 18px; cursor: pointer; font-weight: 600;
  box-shadow: var(--glass-edge);
}
.page-btn:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.page-btn:disabled { opacity: .3; cursor: not-allowed; }
.page-info {
  color: var(--muted); font-size: 13px; padding: 0 12px;
  font-variant-ligatures: none; letter-spacing: .02em; white-space: nowrap;
}
.page-info b { color: var(--text); font-weight: 700; padding: 0 4px; }

.empty-state {
  text-align: center; padding: 48px 36px; max-width: 720px; margin: 36px auto 0;
  border-radius: 28px;
  background: rgba(8, 14, 28, 0.42);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--border);
  box-shadow: var(--shadow), var(--glass-edge);
}
.empty-icon-wrap { color: rgba(159,239,0,0.35); margin-bottom: 16px; }
.empty-title {
  font-family: var(--font); font-size: 28px; font-weight: 600;
  letter-spacing: 0; word-spacing: normal; margin-bottom: 8px;
}
.empty-desc { color: var(--muted); margin-bottom: 22px; max-width: 520px; margin-left: auto; margin-right: auto; }
.example-queries { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; }
.example-label { color: var(--faint); font-size: 12px; }
.example-chip {
  background: rgba(6, 10, 20, 0.4);
  border: 1px solid var(--border); color: var(--muted);
  border-radius: 999px; padding: 7px 14px; font-family: var(--mono); font-size: 12px; cursor: pointer;
  box-shadow: var(--glass-edge);
  transition: all var(--t);
}
.example-chip:hover {
  border-color: rgba(159,239,0,.45); color: var(--accent);
  transform: translateY(-1px);
}

.skeleton-list { display: flex; flex-direction: column; gap: 14px; }
.skeleton-card {
  background: rgba(8, 14, 28, 0.45); border: 1px solid var(--border);
  border-radius: 20px; overflow: hidden; backdrop-filter: blur(16px);
}
.skeleton-line {
  height: 12px; border-radius: 8px;
  background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.09) 50%, rgba(255,255,255,0.04) 75%);
  background-size: 200% 100%; animation: shimmer 1.3s infinite;
}
.skeleton-head { display: flex; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.skeleton-head .skeleton-line:nth-child(1) { width: 30%; }
.skeleton-head .skeleton-line:nth-child(2) { width: 16%; margin-left: auto; }
.skeleton-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.skeleton-body .skeleton-line:nth-child(1) { width: 90%; }
.skeleton-body .skeleton-line:nth-child(2) { width: 72%; }
@keyframes shimmer { 100% { background-position: -200% 0; } }
.error-line { color: var(--red); padding: 16px; }

.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(12px);
  background: rgba(8, 14, 28, 0.72);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border); color: var(--text);
  padding: 12px 20px; border-radius: 999px; font-size: 13px; opacity: 0; z-index: 99;
  box-shadow: var(--shadow-soft), var(--glass-edge);
  transition: .2s ease; pointer-events: none;
}
.toast-visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast-error { border-color: rgba(248,81,73,.45); }
.toast-success { border-color: rgba(159,239,0,.4); }

/* ——— admin ——— */
.docs-wrap { max-width: 920px; margin: 0 auto; padding: 22px 20px 48px; width: 100%; }
.docs-hero { margin-bottom: 22px; }
.docs-hero h2 { font-family: var(--display); font-size: 34px; font-weight: 700; letter-spacing: .3px; }
.docs-hero code, .docs-list code {
  font-family: var(--mono); font-size: 12px; color: var(--accent);
  background: var(--accent-dim); border-radius: 6px; padding: 1px 6px;
}
.docs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.docs-card {
  border-radius: 20px; padding: 18px 18px 16px;
  background: rgba(8, 14, 28, 0.5);
  backdrop-filter: var(--blur);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft), var(--glass-edge);
}
.docs-card.wide { grid-column: 1 / -1; }
.docs-card h3 { font-family: var(--display); font-size: 22px; margin-bottom: 6px; }
.docs-card p { color: var(--muted); font-size: 13px; margin-bottom: 12px; }
.docs-ops { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.docs-list { margin: 0; padding-left: 18px; color: var(--text-2); font-size: 13px; }
.docs-list li { margin: 5px 0; }
.docs-list em { font-style: normal; color: var(--muted); }
@media (max-width: 820px) { .docs-grid { grid-template-columns: 1fr; } }

.admin-wrap { max-width: 1100px; margin: 0 auto; padding: 22px 18px 36px; width: 100%; }
.eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; color: var(--accent); }
.admin-wrap h2 { font-family: var(--display); font-size: 32px; font-weight: 700; letter-spacing: .4px; }
.admin-lead { color: var(--muted); margin: 6px 0 0; max-width: 560px; }
.admin-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; margin-bottom: 20px; flex-wrap: wrap; }
.admin-head.tight { margin-top: 32px; }
.host-chip {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 16px;
  background: rgba(8, 14, 28, 0.5);
  border: 1px solid var(--border);
  box-shadow: var(--glass-edge), var(--shadow-soft);
}
.host-chip strong { display: block; font-family: var(--mono); font-size: 13px; }
.host-chip em { font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--muted); }

.metric-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px; margin-bottom: 14px;
}
.metric-card, .glass-panel {
  border-radius: 20px;
  background: rgba(8, 14, 28, 0.5);
  backdrop-filter: var(--blur);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft), var(--glass-edge);
}
.metric-card {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 16px;
}
.metric-copy h3 {
  font-family: var(--display); font-size: 16px; font-weight: 700; letter-spacing: .4px;
}
.metric-copy p, .metric-stat em { color: var(--muted); font-family: var(--mono); font-size: 11px; }
.metric-stat { display: flex; flex-direction: column; min-width: 72px; }
.metric-stat strong { font-family: var(--mono); font-size: 18px; color: var(--accent); }

.gauge {
  --p: 0;
  width: 70px; height: 70px; flex-shrink: 0; border-radius: 50%;
  background: conic-gradient(var(--accent) calc(var(--p) * 1%), rgba(255,255,255,0.07) 0);
  display: grid; place-items: center; position: relative;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}
.gauge.mem { background: conic-gradient(#58a6ff calc(var(--p) * 1%), rgba(255,255,255,0.07) 0); }
.gauge.disk { background: conic-gradient(#a371f7 calc(var(--p) * 1%), rgba(255,255,255,0.07) 0); }
.gauge::after {
  content: ""; position: absolute; inset: 7px; border-radius: 50%;
  background: rgba(6, 10, 18, 0.94);
}
.gauge span {
  position: relative; z-index: 1;
  font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--text);
}

.dash-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 12px; margin-bottom: 14px; }
.glass-panel { padding: 16px 18px; }
.panel-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.panel-head h3 { font-family: var(--display); font-size: 17px; letter-spacing: .3px; }
.panel-head em { margin-left: auto; font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--muted); max-width: 46%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ingest-line { font-family: var(--mono); font-size: 13px; color: var(--accent); margin-bottom: 12px; }
.ingest-kv, .host-kv { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; }
.ingest-kv div, .host-kv div { display: flex; flex-direction: column; gap: 2px; }
.ingest-kv em, .host-kv em { font-style: normal; font-size: 10px; letter-spacing: .8px; text-transform: uppercase; color: var(--faint); }
.ingest-kv strong, .host-kv strong { font-size: 13px; font-family: var(--mono); }

.console-panel { padding: 0; overflow: hidden; margin-bottom: 8px; }
.console-toolbar {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 10px 14px; border-bottom: 1px solid var(--border);
  background: rgba(3, 6, 14, 0.45);
}
.console-title { display: flex; align-items: center; gap: 10px; }
.console-title strong { font-family: var(--display); font-size: 15px; }
.console-dots { display: inline-flex; gap: 5px; }
.console-dots i { width: 9px; height: 9px; border-radius: 50%; background: #f85149; }
.console-dots i:nth-child(2) { background: #d29922; }
.console-dots i:nth-child(3) { background: #9fef00; }
.console-state { font-family: var(--mono); font-size: 11px; color: var(--faint); }
.console-state.on { color: var(--accent); }
.console-actions { display: flex; gap: 6px; }
.term-mount {
  height: min(48vh, 420px); padding: 8px 10px 12px;
  background: #05080f;
}
.term-mount .xterm { height: 100%; }
.term-mount .xterm-viewport { overflow-y: auto !important; }
.admin-form {
  display: grid; grid-template-columns: 1fr 1fr .6fr .75fr auto; gap: 12px; align-items: end;
  padding: 18px; border-radius: 22px;
  background: rgba(8, 14, 28, 0.48);
  backdrop-filter: var(--blur);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft), var(--glass-edge);
}
.admin-create { width: auto; padding: 12px 20px; margin: 0; }
.admin-table-wrap {
  margin-top: 18px; border-radius: 22px; overflow-x: auto;
  background: rgba(8, 14, 28, 0.48);
  backdrop-filter: var(--blur);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft), var(--glass-edge);
}
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th {
  text-align: left; padding: 13px 16px; color: var(--faint);
  font-family: var(--mono); font-size: 11px; letter-spacing: 1px; text-transform: uppercase;
  background: rgba(3, 6, 14, 0.45); border-bottom: 1px solid var(--border);
}
.admin-table td { padding: 13px 16px; border-bottom: 1px solid var(--border); }
.admin-table tr:last-child td { border-bottom: 0; }
.role-pill {
  display: inline-block; padding: 3px 9px; border-radius: 999px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .6px; text-transform: uppercase;
}
.role-pill.admin { color: var(--accent); background: var(--accent-dim); }
.role-pill.user { color: var(--blue); background: rgba(88, 166, 255, 0.12); }
.admin-actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.ghost-btn, .danger-btn {
  background: rgba(6, 10, 20, 0.35); border: 1px solid var(--border); color: var(--muted);
  border-radius: 999px; padding: 5px 10px; cursor: pointer; font-size: 11px; font-family: var(--mono);
}
.ghost-btn:hover { border-color: var(--accent); color: var(--accent); }
.danger-btn:hover { border-color: var(--red); color: var(--red); }
.access-pill {
  display: inline-block; padding: 3px 8px; border-radius: 999px;
  font-family: var(--mono); font-size: 11px; color: var(--accent); background: var(--accent-dim);
}
.access-pill.forever { color: var(--muted); background: rgba(255,255,255,0.05); }
.access-pill.expired { color: var(--red); background: rgba(248,81,73,0.12); }

.app-footer {
  margin-top: auto;
  padding: 12px 8px 4px;
  background: transparent; border: 0;
}
.footer-content { display: flex; justify-content: center; gap: 8px; font-size: 12px; color: var(--faint); }
.footer-brand-name { color: var(--accent); font-weight: 600; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes markPop {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(159,239,0,0.35); }
  50% { transform: scale(1.04); box-shadow: 0 0 0 8px rgba(159,239,0,0); }
}
@keyframes iconPulse {
  0%, 100% { opacity: 1; transform: translateX(0); }
  50% { opacity: 0.7; transform: translateX(2px); }
}
@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes chipIn {
  from { opacity: 0; transform: translateY(8px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.sidebar, .topbar { animation: fadeUp 0.55s ease both; }
.search-section { animation: fadeUp 0.65s 0.08s ease both; }
.empty-state { animation: fadeUp 0.7s 0.12s ease both; }
.empty-icon-wrap { animation: floatSoft 3.6s ease-in-out infinite; }
.example-chip { animation: chipIn 0.45s ease both; }
.example-chip:nth-child(2) { animation-delay: 0.05s; }
.example-chip:nth-child(3) { animation-delay: 0.1s; }
.example-chip:nth-child(4) { animation-delay: 0.15s; }
.example-chip:nth-child(5) { animation-delay: 0.2s; }
.example-chip:nth-child(6) { animation-delay: 0.25s; }
.example-chip:nth-child(7) { animation-delay: 0.3s; }
.nav-item svg { transition: transform var(--t); }
.nav-item:hover svg { transform: scale(1.12); }
.login-card { animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both; }

@media (max-width: 1100px) {
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .dash-split { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .admin-form { grid-template-columns: 1fr 1fr; }
  .admin-create { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .app-shell { padding: 8px 8px 78px; gap: 0; }
  .sidebar { display: none; }
  .kbd-hint, .stat-pill.disk { display: none; }
  .search-section, .results, .result-meta, .admin-wrap, .docs-wrap { padding-left: 10px; padding-right: 10px; }
  .topbar { padding: 10px 12px; top: 8px; }
  .dl-tray { right: 10px; bottom: 86px; width: min(380px, calc(100vw - 20px)); }
  .empty-title { font-size: 22px; }
  .empty-state { padding: 32px 18px; margin-top: 20px; border-radius: 22px; }
  .search-btn span { display: none; }
  .search-btn { padding: 11px 14px; }
  .result-url { max-width: 58vw; }
  .result-links .result-timestamp { display: none; }
  .metric-grid { grid-template-columns: 1fr; }
  .admin-form { grid-template-columns: 1fr; }
  .mob-dock {
    display: flex; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 50;
    justify-content: space-around; gap: 6px; padding: 6px;
    border-radius: 20px;
    background: rgba(8, 14, 28, 0.82);
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    border: 1px solid var(--border);
    box-shadow: var(--shadow), var(--glass-edge);
  }
  .mob-dock-btn {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
    border: 0; background: transparent; color: var(--muted);
    padding: 8px 4px; border-radius: 14px; cursor: pointer;
    font-family: var(--font); font-size: 11px; font-weight: 600;
  }
  .mob-dock-btn.active {
    color: var(--ink);
    background: linear-gradient(180deg, #b6ff2b 0%, var(--accent) 100%);
    box-shadow: 0 6px 14px var(--accent-glow);
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ——— FOFA-style shell (same lime palette) ——— */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.app-shell {
  min-height: 100vh; display: flex; flex-direction: column; gap: 0; padding: 0;
}
.sidebar, .topbar { display: none !important; }
.top-nav {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 28px;
  padding: 0 28px; height: 56px;
  background: rgba(2, 5, 10, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-brand .brand-mark {
  width: 30px; height: 34px; display: grid; place-items: center;
  background: none; border-radius: 0; animation: none;
  filter: drop-shadow(0 0 8px rgba(159, 239, 0, 0.35));
}
.nav-brand .brand-mark svg { display: block; }
.nav-brand .brand-copy strong { font-family: var(--mono); font-size: 15px; letter-spacing: -0.3px; }
.nav-brand .brand-copy em { font-style: normal; font-family: var(--mono); font-size: 10px; color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links .nav-item {
  width: auto; padding: 8px 14px; border-radius: 4px;
  font-size: 13px; font-weight: 500; color: var(--muted);
  background: transparent; border: 0;
}
.nav-links .nav-item:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.nav-links .nav-item.active {
  color: var(--accent); background: transparent;
  box-shadow: none; border-bottom: 2px solid var(--accent); border-radius: 0;
}
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.profile { position: relative; flex-shrink: 0; }
.profile-trig {
  display: flex; align-items: center; gap: 8px;
  height: 36px; padding: 0 10px 0 4px;
  border: 1px solid var(--border); border-radius: 8px;
  background: rgba(8, 12, 20, 0.72);
  color: var(--text); cursor: pointer;
  font-family: var(--font);
}
.profile-trig:hover,
.profile.open .profile-trig {
  border-color: rgba(159, 239, 0, 0.45);
  background: rgba(12, 18, 28, 0.9);
}
.profile-ava {
  width: 28px; height: 28px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 7px;
  background: var(--accent); color: var(--ink);
  font-family: var(--mono); font-weight: 700; font-size: 12px;
  font-style: normal;
}
.profile-ava.lg { width: 40px; height: 40px; font-size: 16px; border-radius: 9px; }
body.is-user .profile-ava {
  background: var(--accent-dim); color: var(--accent);
  border: 1px solid rgba(159, 239, 0, 0.28);
}
.profile-name {
  max-width: 140px;
  font-size: 13px; font-weight: 600; line-height: 1;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.profile-caret { color: var(--muted); flex-shrink: 0; transition: transform .16s ease; }
.profile.open .profile-caret { transform: rotate(180deg); color: var(--accent); }
.profile-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  width: 272px; padding: 14px;
  border: 1px solid var(--border); border-radius: 10px;
  background: rgba(8, 12, 20, 0.96);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), var(--glass-edge);
  z-index: 40;
}
.profile-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.profile-meta { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.profile-meta strong {
  font-size: 14px; font-weight: 600; line-height: 1.2;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.profile-role {
  align-self: flex-start;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.8px;
  text-transform: uppercase; color: var(--ink); background: var(--accent);
  padding: 3px 7px; border-radius: 3px; line-height: 1;
}
body.is-user .profile-role {
  color: var(--accent); background: var(--accent-dim);
}
.profile-facts {
  display: grid; gap: 8px;
  margin: 0 0 14px; padding: 10px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.profile-facts div { display: flex; justify-content: space-between; gap: 12px; }
.profile-facts dt { font-size: 12px; color: var(--faint); }
.profile-facts dd { font-family: var(--mono); font-size: 12px; color: var(--text-2); }
.profile .logout-btn {
  width: 100%; height: 34px; justify-content: center;
  border-radius: 6px; padding: 0; font-size: 12px;
}
.stat-pill { border-radius: 4px; padding: 4px 10px; gap: 1px; flex-direction: column; align-items: flex-end; }

.app-main { flex: 1; display: flex; flex-direction: column; }
.search-hero {
  text-align: center; padding: 72px 20px 12px;
  transition: padding .25s ease, opacity .25s ease;
}
body.has-hits .search-hero { display: none; }
.hero-kicker {
  font-family: var(--mono); font-size: 11px; letter-spacing: 3px;
  color: var(--accent); margin-bottom: 10px;
}
.hero-word {
  font-family: var(--mono); font-size: 52px; font-weight: 600;
  letter-spacing: -1.5px; line-height: 1;
  min-height: 1.1em;
}
.hero-word span { color: var(--accent); }
.hero-sub { margin-top: 10px; color: var(--faint); font-size: 13px; }

.search-section { padding: 8px 20px 0; max-width: 860px; margin: 0 auto; width: 100%; }
body.has-hits .search-section { max-width: 1100px; padding-top: 18px; }
.search-bar {
  border-radius: 4px; padding: 4px 4px 4px 16px;
  background: rgba(8, 14, 22, 0.75);
  box-shadow: none;
}
.search-bar:focus-within { transform: none; }
.search-input { font-size: 14px; padding: 12px 10px; }
.search-btn {
  border-radius: 3px; padding: 10px 22px;
  box-shadow: none; text-transform: none;
}
.search-filters { margin-top: 12px; }
.filter-group, .filter-label, .limit-select { border-radius: 4px; }
.syntax-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin-top: 14px; padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.syntax-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 1px;
  color: var(--faint); text-transform: uppercase;
}
.example-chip { border-radius: 3px; padding: 4px 10px; animation: none; }
body.has-hits .syntax-row { display: none; }

.result-meta { max-width: 1100px; padding: 16px 20px 8px; }
.results { max-width: 1100px; gap: 10px; padding: 0 20px 40px; }
.export-btn, .page-btn { border-radius: 4px; }

.hit {
  display: grid; grid-template-columns: 48px 1fr; gap: 0;
  border: 1px solid var(--border);
  background: rgba(8, 12, 20, 0.62);
  border-radius: 4px;
}
.hit:hover { border-color: rgba(159,239,0,0.28); background: rgba(10, 16, 24, 0.8); }
.hit-idx {
  display: flex; align-items: flex-start; justify-content: center;
  padding: 16px 0 0;
  font-family: var(--mono); font-size: 12px; color: var(--faint);
  border-right: 1px solid var(--border);
  background: rgba(0,0,0,0.18);
}
.hit-main { padding: 14px 16px 12px; min-width: 0; }
.hit-top { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.hit-host {
  font-family: var(--mono); font-size: 16px; font-weight: 600;
  color: var(--accent); text-decoration: none;
}
.hit-host:hover { text-decoration: underline; }
.hit-tag {
  font-family: var(--mono); font-size: 10px; letter-spacing: .4px;
  padding: 2px 7px; border-radius: 2px; border: 1px solid var(--border);
  color: var(--muted); text-transform: uppercase;
}
.hit-tag.proto { color: var(--blue); border-color: rgba(88,166,255,.28); }
.hit-tag.port { color: var(--accent); border-color: rgba(159,239,0,.28); }
.hit-tag.headers { color: var(--accent-3); background: var(--accent-dim); border-color: transparent; }
.hit-tag.body { color: var(--blue); background: rgba(88,166,255,.1); border-color: transparent; }
.hit-tag.pwww { color: var(--accent); border-color: rgba(159,239,0,.35); background: var(--accent-dim); }
.pwww-card { margin: 16px 0 22px; }
.api-block + .api-block { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); }
.api-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
  background: var(--faint);
}
.api-dot.ok { background: var(--accent); box-shadow: 0 0 8px var(--accent-glow); }
.api-dot.bad { background: var(--red); box-shadow: 0 0 8px rgba(248, 81, 73, 0.45); }
.api-msg { font-family: var(--mono); font-size: 12px; color: var(--red); margin: 8px 0 0; }
.api-msg:empty { display: none; }
#apiCardState { color: var(--muted); }
.pwww-card .dork-ghost { min-height: 38px; }
.pwww-row { display: grid; grid-template-columns: 1fr 88px; gap: 8px; margin: 12px 0 10px; }
.pwww-row .dork-input { margin-top: 0; }
.hit-url {
  display: block; font-family: var(--mono); font-size: 12px; color: var(--faint);
  text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  margin-bottom: 8px;
}
.hit-url:hover { color: var(--accent); }
.hit-preview {
  margin: 10px 0 0;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  background: #070b12;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  overflow: hidden;
}
.hit-preview-bar {
  display: flex; align-items: center; gap: 8px;
  height: 32px; padding: 0 10px;
  background: linear-gradient(180deg, rgba(18, 26, 38, 0.95), rgba(10, 14, 22, 0.95));
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.hit-preview-dots { display: inline-flex; gap: 5px; }
.hit-preview-dots i {
  width: 8px; height: 8px; border-radius: 50%;
  background: #f85149;
}
.hit-preview-dots i:nth-child(2) { background: #d29922; }
.hit-preview-dots i:nth-child(3) { background: #3fb950; }
.hit-preview-kind {
  font-family: var(--mono); font-size: 10px; letter-spacing: 1px;
  text-transform: uppercase; color: var(--accent);
  padding: 2px 7px; border-radius: 3px;
  background: var(--accent-dim);
}
.hit-preview-meta {
  font-family: var(--mono); font-size: 11px; color: var(--faint);
}
.hit-preview-tog {
  margin-left: auto;
  border: 1px solid var(--border); background: transparent;
  color: var(--muted); border-radius: 4px;
  height: 22px; padding: 0 8px; cursor: pointer;
  font-family: var(--font); font-size: 11px; font-weight: 600;
}
.hit-preview-tog:hover { color: var(--accent); border-color: rgba(159,239,0,0.4); }
.hit-banner {
  position: relative;
  margin: 0; padding: 12px 14px 14px;
  background:
    linear-gradient(90deg, rgba(159,239,0,0.08) 0, rgba(159,239,0,0.08) 2px, transparent 2px),
    #05080f;
  border: 0; border-radius: 0;
  font-family: var(--mono); font-size: 12.5px; line-height: 1.7; color: #c8d0da;
  white-space: pre-wrap; word-break: break-word; overflow-wrap: anywhere;
  max-height: 168px; overflow: auto;
  scrollbar-width: thin;
}
.hit-preview.open .hit-banner { max-height: 420px; }
.hit-banner mark {
  background: rgba(159,239,0,0.18);
  color: #d8ff6a;
  border-radius: 3px;
  padding: 0 3px;
  box-shadow: inset 0 0 0 1px rgba(159,239,0,0.18);
}
.hit-foot {
  display: flex; align-items: center; gap: 10px; margin-top: 10px;
}
.hit-time { font-family: var(--mono); font-size: 11px; color: var(--faint); margin-right: auto; }
.icon-btn { border-radius: 3px; padding: 3px 8px; font-size: 11px; }

.empty-state {
  max-width: 640px; margin: 28px auto; padding: 28px 20px;
  border-radius: 4px; text-align: center;
}
.empty-title { font-size: 20px; }
.docs-wrap, .admin-wrap { max-width: 1100px; }
.docs-card, .metric-card, .glass-panel, .admin-form, .admin-table-wrap {
  border-radius: 6px;
}
.login-card { border-radius: 8px; }
.dl-tray { border-radius: 6px; }

@media (max-width: 820px) {
  .top-nav { padding: 0 12px; height: 52px; gap: 12px; }
  .nav-links { display: none; }
  .nav-brand .brand-copy em { display: none; }
  .profile-name { display: none; }
  .profile-trig { padding-right: 8px; }
  .profile-menu { width: min(272px, calc(100vw - 24px)); }
  .search-hero { padding: 36px 16px 8px; }
  .hero-word { font-size: 34px; }
  .search-btn span { display: inline; }
  .hit { grid-template-columns: 36px 1fr; }
  .app-shell { padding: 0 0 78px; }
}

.login-nav {
  position: relative; z-index: 3;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 28px; width: 100%;
  border-bottom: 1px solid var(--border);
  background: rgba(2, 5, 10, 0.72);
  backdrop-filter: blur(16px);
}
.login-nav-brand {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-weight: 600; color: var(--text);
  font-variant-ligatures: none; flex-shrink: 0;
}
.login-nav-brand svg { display: block; flex-shrink: 0; }
.login-nav-links {
  display: flex; align-items: center; justify-content: flex-end;
  gap: 4px; flex-wrap: wrap;
}
.login-nav-links button,
.login-nav-links a {
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; isolation: isolate;
  height: 32px; padding: 0 12px;
  border: 0; border-radius: 4px; background: transparent;
  color: var(--muted); cursor: pointer;
  font-family: var(--font); font-size: 13px; font-weight: 500;
  letter-spacing: 0; word-spacing: 0.08em; white-space: nowrap;
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "dlig" 0, "calt" 0;
  text-decoration: none;
}
.login-nav-links button:hover,
.login-nav-links a:hover { color: var(--accent); background: rgba(255,255,255,0.04); }

.login-land {
  position: relative; z-index: 2;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 420px);
  gap: 48px; align-items: center;
  width: min(1080px, calc(100% - 56px));
  margin: 0 auto; padding: 40px 0 64px;
}
.login-land .login-card { width: 100%; max-width: none; }
.login-pitch {
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "dlig" 0, "calt" 0;
}
.login-kicker {
  font-family: var(--mono); font-size: 11px; letter-spacing: 2.4px;
  color: var(--accent); margin-bottom: 14px;
}
.login-pitch-title {
  font-family: var(--font); font-size: 40px; font-weight: 650;
  line-height: 1.18; letter-spacing: 0; word-spacing: 0.06em;
  margin: 0 0 16px; max-width: 16ch;
}
.login-pitch-lead {
  color: var(--text-2); font-size: 16px; line-height: 1.65;
  word-spacing: 0.08em; margin: 0 0 28px; max-width: 42em;
}
.login-points {
  list-style: none; display: grid; gap: 12px; margin: 0; padding: 0;
}
.login-points li {
  padding: 0 0 0 14px;
  border: 0;
  border-left: 2px solid var(--accent);
  background: none;
}
.login-points strong {
  display: block; font-size: 14px; margin-bottom: 4px; color: var(--text);
}
.login-points span { display: block; font-size: 13px; color: var(--muted); line-height: 1.55; }
@media (max-width: 860px) {
  .login-nav { padding: 12px 14px; }
  .login-land { grid-template-columns: 1fr; width: min(560px, calc(100% - 28px)); padding: 24px 0 48px; gap: 28px; }
  .login-pitch-title { font-size: 30px; max-width: none; }
  .login-card { width: 100%; max-width: 100%; }
}

.market-wrap {
  max-width: 560px; margin: 0 auto; padding: 40px 20px 64px; width: 100%;
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "dlig" 0, "calt" 0;
  word-spacing: 0.08em;
}
.market-title {
  font-family: var(--font); font-size: 34px; font-weight: 650; letter-spacing: 0;
  word-spacing: 0.12em; margin: 8px 0 12px; line-height: 1.25;
}
.market-lead {
  color: var(--muted); font-size: 15px; line-height: 1.65; max-width: 42em;
  margin: 0 0 28px; word-spacing: 0.1em;
}
.price-card {
  border: 1px solid rgba(159,239,0,0.35); border-radius: 8px; padding: 28px 26px;
  background: rgba(8, 12, 20, 0.72);
}
.price-head { display: flex; align-items: center; justify-content: space-between; }
.price-tier, .price-cur {
  font-family: var(--mono); font-size: 11px; letter-spacing: 1.6px; color: var(--accent);
}
.price-amount {
  font-family: var(--mono); font-size: 42px; font-weight: 600; letter-spacing: 0;
  line-height: 1.15; margin: 14px 0 4px; word-spacing: 0.16em;
}
.price-sub { color: var(--faint); font-size: 14px; margin-bottom: 20px; word-spacing: 0.14em; }
.price-list { margin: 0 0 24px; padding-left: 18px; color: var(--text-2); font-size: 14px; line-height: 1.7; }
.price-list li { margin: 8px 0; word-spacing: 0.1em; }
.price-cta {
  display: block; text-align: center; text-decoration: none;
  background: var(--accent); color: var(--ink); font-weight: 700;
  padding: 13px 16px; border-radius: 4px; letter-spacing: 0; word-spacing: 0.12em;
}
.price-cta:hover { filter: brightness(1.08); }
.api-lock {
  border: 1px solid var(--border); border-radius: 8px; padding: 26px;
  background: rgba(8, 12, 20, 0.72);
}
.api-lock-kicker {
  font-family: var(--mono); font-size: 11px; letter-spacing: 2px; color: var(--accent); margin-bottom: 10px;
}
.api-lock-body {
  color: var(--text-2); font-size: 15px; line-height: 1.7; margin-bottom: 22px; word-spacing: 0.1em;
}
.app-footer a { color: var(--muted); text-decoration: none; font-size: 12px; }
.app-footer a:hover { color: var(--accent); }
.footer-content { flex-wrap: wrap; gap: 12px; }

.dork-wrap { max-width: 1100px; margin: 0 auto; padding: 28px 20px 64px; width: 100%; }
.dork-hero { margin-bottom: 26px; }
.dork-hero h2 {
  font-family: var(--display); font-size: clamp(28px, 5vw, 36px);
  font-weight: 700; letter-spacing: -0.4px; margin: 6px 0 10px;
}
.dork-hero-lead {
  color: var(--muted); font-size: 15px; line-height: 1.6; max-width: 46em; margin: 0 0 14px;
}
.dork-ops {
  list-style: none; display: flex; flex-wrap: wrap; gap: 8px;
  margin: 0; padding: 0;
}
.dork-ops li {
  border: 1px solid rgba(159,239,0,0.22);
  background: var(--accent-dim);
  border-radius: 999px; padding: 4px 10px;
}
.dork-ops code, .dork-hero code, .dork-hint code {
  font-family: var(--mono); color: var(--accent); font-size: 12px;
}
.dork-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start;
}
.dork-form, .dork-aside { display: grid; gap: 12px; }
.dork-panel {
  border: 1px solid var(--border); border-radius: 10px; padding: 16px 16px 14px;
  background: rgba(8, 12, 20, 0.72);
  box-shadow: var(--glass-edge);
}
.dork-panel h3 {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font); font-size: 13px; font-weight: 650;
  letter-spacing: 0; text-transform: none; color: var(--text);
  margin-bottom: 14px;
}
.dork-step {
  width: 22px; height: 22px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 6px;
  background: var(--accent); color: var(--ink);
  font-family: var(--mono); font-size: 11px; font-weight: 700;
}
.dork-label {
  display: block; font-size: 12px; color: var(--faint); margin-bottom: 6px;
}
.dork-select, .dork-input {
  width: 100%; height: 40px; padding: 0 12px;
  border: 1px solid var(--border); border-radius: 8px;
  background: rgba(2, 5, 10, 0.72); color: var(--text);
  font-family: var(--font); font-size: 13px;
}
.dork-select:focus, .dork-input:focus {
  outline: none; border-color: rgba(159,239,0,0.5);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.dork-select { margin-bottom: 10px; }
.dork-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.dork-input { margin-top: 10px; }
.dork-fields .dork-input { margin-top: 0; }
.dork-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.dork-chip {
  border: 1px solid var(--border); border-radius: 999px;
  background: rgba(6, 10, 18, 0.55); color: var(--muted);
  font-family: var(--mono); font-size: 11px; line-height: 1;
  padding: 8px 11px; cursor: pointer;
}
.dork-chip:hover { color: var(--text); border-color: var(--border-2); background: rgba(12, 18, 28, 0.8); }
.dork-chip.on {
  color: var(--ink); background: var(--accent); border-color: transparent;
  box-shadow: 0 6px 14px var(--accent-glow);
}
.dork-hint { margin: 12px 0 0; font-size: 12px; color: var(--faint); line-height: 1.5; }
.dork-preview-card { position: sticky; top: 70px; padding: 0 0 14px; overflow: hidden; }
.dork-preview-bar {
  display: flex; align-items: center; gap: 8px;
  height: 34px; padding: 0 12px;
  background: linear-gradient(180deg, rgba(18, 26, 38, 0.95), rgba(10, 14, 22, 0.95));
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.dork-preview-kind {
  font-family: var(--mono); font-size: 10px; letter-spacing: 1px;
  text-transform: uppercase; color: var(--accent);
}
.dork-q {
  margin: 0; padding: 14px 14px 12px;
  min-height: 88px; border-radius: 0; border: 0;
  background:
    linear-gradient(90deg, rgba(159,239,0,0.08) 0, rgba(159,239,0,0.08) 2px, transparent 2px),
    #05080f;
  font-family: var(--mono); font-size: 13px; line-height: 1.65;
  color: #c8d0da; white-space: pre-wrap; word-break: break-word;
}
.dork-q .dork-tok { color: #d8ff6a; }
.dork-explain {
  font-size: 12px; color: var(--muted); line-height: 1.55;
  min-height: 36px; margin: 12px 14px 12px;
}
.dork-actions { display: grid; grid-template-columns: 1.2fr .9fr .9fr; gap: 8px; padding: 0 14px; }
.dork-run, .dork-ghost {
  height: 36px; border-radius: 8px; cursor: pointer; font-family: var(--font);
  font-size: 12px; font-weight: 650;
}
.dork-run { border: 0; background: var(--accent); color: var(--ink); }
.dork-run:hover { filter: brightness(1.08); }
.dork-ghost {
  border: 1px solid var(--border); background: transparent; color: var(--muted);
}
.dork-ghost:hover { color: var(--text); border-color: var(--border-2); }
.dork-recipes-card h3 { margin-bottom: 12px; }
.dork-recipes { display: flex; flex-direction: column; gap: 8px; }
.dork-recipe {
  display: grid; gap: 4px; text-align: left;
  border: 1px solid var(--border); border-radius: 8px;
  background: rgba(6, 10, 18, 0.45); color: var(--text-2); cursor: pointer;
  padding: 10px 12px;
}
.dork-recipe strong {
  font-family: var(--font); font-size: 13px; font-weight: 650; color: var(--text);
}
.dork-recipe em {
  font-style: normal; font-size: 11px; color: var(--faint);
}
.dork-recipe code {
  font-family: var(--mono); font-size: 11px; color: var(--accent); line-height: 1.4;
  overflow-wrap: anywhere;
}
.dork-recipe:hover {
  border-color: rgba(159,239,0,0.4);
  background: rgba(12, 18, 26, 0.8);
}
@media (max-width: 900px) {
  .dork-layout { grid-template-columns: 1fr; }
  .dork-preview-card { position: static; }
  .dork-fields { grid-template-columns: 1fr; }
  .dork-actions { grid-template-columns: 1fr; }
}

/* ——— phone, tablet, safe area. layout only ——— */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
button, a, input, select, .filter-label { touch-action: manipulation; }
.search-input { min-width: 0; }
.hero-word { font-size: clamp(30px, 7vw, 52px); }
.login-pitch-title { font-size: clamp(28px, 5.2vw, 40px); }
.market-title { font-size: clamp(28px, 6vw, 34px); }
.price-amount { font-size: clamp(32px, 11vw, 42px); }
.admin-wrap h2 { font-size: clamp(26px, 6vw, 32px); }

@media (max-width: 1100px) {
  .stat-pills { display: none !important; }
  .top-nav { gap: 14px; padding: 0 16px; }
}

@media (max-width: 980px) {
  .nav-links { display: none; }
  .app-shell { padding: 0 0 calc(74px + env(safe-area-inset-bottom)); }
  .app-footer { padding-bottom: 6px; }
  .mob-dock {
    display: flex; position: fixed;
    left: max(10px, env(safe-area-inset-left));
    right: max(10px, env(safe-area-inset-right));
    bottom: calc(10px + env(safe-area-inset-bottom));
    z-index: 50;
    justify-content: space-around; gap: 4px; padding: 6px;
    border-radius: 18px;
    background: rgba(8, 14, 28, 0.92);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    border: 1px solid var(--border);
    box-shadow: var(--shadow), var(--glass-edge);
  }
  .mob-dock-btn {
    flex: 1; display: flex; align-items: center; justify-content: center;
    min-height: 44px; border: 0; background: transparent; color: var(--muted);
    padding: 8px 4px; border-radius: 14px; cursor: pointer;
    font-family: var(--font); font-size: 12px; font-weight: 600;
  }
  .mob-dock-btn.active {
    color: var(--ink);
    background: linear-gradient(180deg, #b6ff2b 0%, var(--accent) 100%);
    box-shadow: 0 6px 14px var(--accent-glow);
  }
  .dl-tray {
    left: max(10px, env(safe-area-inset-left));
    right: max(10px, env(safe-area-inset-right));
    bottom: calc(78px + env(safe-area-inset-bottom));
    width: auto;
  }
}

@media (max-width: 720px) {
  .wall-grid, .wall-scan, .orb { animation: none; }
  .login-particles { display: none; }
  .login-nav {
    flex-direction: column; align-items: stretch; gap: 8px;
    padding: calc(10px + env(safe-area-inset-top)) 12px 10px;
  }
  .login-nav-links {
    flex-wrap: nowrap; justify-content: flex-start;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; padding-bottom: 2px;
  }
  .login-nav-links::-webkit-scrollbar { display: none; }
  .login-nav-links button,
  .login-nav-links a { min-height: 40px; }
  .login-land {
    width: min(560px, calc(100% - 24px));
    padding: 18px 0 calc(28px + env(safe-area-inset-bottom));
    gap: 22px;
  }
  .login-card { padding: 28px 18px 18px; }
  .login-points li { padding-left: 12px; }
  .top-nav {
    height: 52px; padding: 0 12px;
    padding-top: env(safe-area-inset-top);
    height: calc(52px + env(safe-area-inset-top));
  }
  .nav-brand .brand-copy em { display: none; }
  .profile-name { display: none; }
  .profile-menu {
    position: fixed; top: calc(58px + env(safe-area-inset-top)); right: 10px;
    width: min(300px, calc(100vw - 20px));
  }
  .search-hero { padding: 28px 14px 6px; }
  .search-section, .results, .result-meta, .docs-wrap, .dork-wrap, .admin-wrap, .market-wrap {
    padding-left: 12px; padding-right: 12px;
  }
  .search-bar { padding: 4px 4px 4px 12px; border-radius: 12px; }
  .search-icon { flex-shrink: 0; }
  .search-btn { flex-shrink: 0; min-height: 44px; padding: 10px 16px; }
  .search-filters { flex-direction: column; align-items: stretch; gap: 10px; }
  .filter-group { width: 100%; }
  .filter-label { flex: 1; justify-content: center; min-height: 40px; padding: 8px 8px; }
  .filter-right { width: 100%; justify-content: space-between; }
  .kbd-hint { display: none; }
  .limit-select { min-height: 40px; flex: 1; }
  .syntax-row { gap: 6px; }
  .example-chip { min-height: 32px; }
  .result-meta { flex-direction: column; align-items: stretch; gap: 10px; }
  .meta-left, .meta-right { flex-wrap: wrap; }
  .meta-right { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
  .export-btn { justify-content: center; min-height: 40px; padding: 8px 8px; }
  .export-btn.primary-export { grid-column: 1 / -1; }
  .hit { grid-template-columns: 28px 1fr; }
  .hit-idx { font-size: 11px; padding-top: 14px; }
  .hit-main { padding: 12px 12px 10px; }
  .hit-host { font-size: 15px; overflow-wrap: anywhere; }
  .hit-url { white-space: normal; overflow: visible; overflow-wrap: anywhere; }
  .hit-banner { font-size: 12px; max-height: 150px; }
  .hit-preview.open .hit-banner { max-height: 320px; }
  .hit-preview-bar { padding: 0 8px; }
  .hit-foot { flex-wrap: wrap; }
  .pagination { flex-wrap: wrap; gap: 8px; padding: 12px 12px 20px; }
  .page-btn { min-height: 40px; padding: 8px 14px; }
  .page-info { white-space: normal; text-align: center; width: 100%; order: -1; }
  .docs-grid { grid-template-columns: 1fr; }
  .docs-card h3 { font-size: 18px; }
  .metric-grid { grid-template-columns: 1fr; }
  .dash-split { grid-template-columns: 1fr; }
  .admin-form { grid-template-columns: 1fr; }
  .admin-head { align-items: stretch; }
  .host-chip { width: 100%; }
  .panel-head { flex-wrap: wrap; }
  .panel-head em { max-width: 100%; margin-left: 0; white-space: normal; }
  .ingest-line { overflow-wrap: anywhere; }
  .ingest-kv, .host-kv { grid-template-columns: 1fr 1fr; }
  .console-toolbar { flex-wrap: wrap; align-items: flex-start; }
  .console-actions { flex-wrap: wrap; }
  .console-actions button { min-height: 36px; }
  .term-mount { height: min(42vh, 320px); }
  .pwww-row { grid-template-columns: 1fr; }
  .pwww-row .dork-run { min-height: 42px; }
  .dork-actions { grid-template-columns: 1fr; }
  .dork-run, .dork-ghost { min-height: 42px; }
  .dork-chip { min-height: 34px; }
  .price-card, .api-lock { padding: 22px 16px; }
  .footer-content { justify-content: flex-start; padding: 0 4px 8px; }
}

@media (max-width: 380px) {
  .nav-brand .brand-copy strong { font-size: 13px; }
  .meta-right { grid-template-columns: 1fr 1fr; }
  .hero-kicker { letter-spacing: 1.6px; }
  .login-subtitle { letter-spacing: 0.6px; }
}

@media (pointer: coarse) {
  .input-group input, .search-input, .dork-input, .dork-select, .limit-select, #pwwwQ {
    font-size: 16px;
  }
}

@media (max-height: 480px) and (orientation: landscape) {
  .search-hero { padding: 12px 16px 4px; }
  .login-land { padding-top: 12px; padding-bottom: 16px; gap: 14px; }
  .login-points { display: none; }
  .login-pitch-lead { margin-bottom: 0; }
  .term-mount { height: 180px; }
}
