@font-face {
  font-family: "Unbounded";
  src: url("/static/fonts/unbounded.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #050506;
  --text: #f4f4f5;
  --muted: #9b9ba4;
  --dim: #60606a;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --glass: rgba(255, 255, 255, 0.045);
  --glass-2: rgba(255, 255, 255, 0.08);
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Code", Menlo, Consolas, monospace;
  --font: "Unbounded", ui-sans-serif, system-ui, sans-serif;
  --radius: 28px;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: #fff; color: #050506; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.14); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.25); }

.net {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  opacity: 0.5;
  filter: blur(1.4px);
  pointer-events: none;
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff, transparent 62%);
  filter: blur(90px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.1;
}

.glow-a { width: 540px; height: 540px; top: -180px; left: 6%; animation: drift 26s ease-in-out infinite alternate; }
.glow-b { width: 640px; height: 640px; bottom: -260px; right: -120px; opacity: 0.07; animation: drift 32s ease-in-out infinite alternate-reverse; }

/* ---------- Sidebar ---------- */

.sidebar {
  position: fixed;
  top: 16px;
  left: 16px;
  bottom: 16px;
  width: 252px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 14px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.018) 60%);
  backdrop-filter: blur(26px) saturate(130%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.brand { display: flex; align-items: center; gap: 12px; padding: 6px 8px 12px; border-bottom: 1px solid var(--line); }

.brand-mark {
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04));
  color: #fff;
  font-size: 16px;
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  animation: brandPulse 4s ease-in-out infinite;
}

.brand h1 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: linear-gradient(100deg, #ffffff 20%, #8a8a93 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.brand p {
  margin: 1px 0 0;
  font-size: 8.5px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--dim);
}

.nav {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 4px 2px 8px;
  scrollbar-width: thin;
}

.nav-indicator {
  position: absolute;
  left: 2px;
  right: 2px;
  top: 0;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), height 0.3s ease;
  z-index: 0;
  pointer-events: none;
}

.nav-group { display: flex; flex-direction: column; gap: 2px; margin-bottom: 8px; position: relative; z-index: 1; }

.nav-label {
  padding: 8px 14px 4px;
  font-size: 8.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #55555e;
}

.nav-item {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 14px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #92929b;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-item i { width: 18px; text-align: center; font-size: 12px; opacity: 0.9; flex: none; }
.nav-item:hover { color: #ededf0; transform: translateX(2px); }
.nav-item.active { color: #ffffff; }
.nav-item.active i { text-shadow: 0 0 14px rgba(255, 255, 255, 0.75); }

.sidebar-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 8px 2px;
  border-top: 1px solid var(--line);
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #d7d7dc;
  padding: 5px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  white-space: nowrap;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
  animation: blink 2.4s ease-in-out infinite;
}

.version { font-size: 9px; letter-spacing: 0.14em; color: var(--dim); }

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 15;
}

.overlay.show { opacity: 1; pointer-events: auto; }

/* ---------- Topbar (mobile) ---------- */

.topbar { display: none; }

.menu-btn {
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}

.topbar-title {
  flex: 1;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e8e8ec;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Content & panels ---------- */

.content {
  margin-left: 296px;
  padding: 24px 32px 48px;
  max-width: 1280px;
}

.panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015) 55%);
  backdrop-filter: blur(24px) saturate(125%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.panel[hidden] { display: none; }

.panel:not([hidden]) { animation: panelIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both; }

.panel-head { display: flex; gap: 16px; align-items: flex-start; }

.panel-icon {
  width: 46px;
  height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.03));
  color: #fff;
  font-size: 16px;
  box-shadow: 0 0 26px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.panel-head h2 { margin: 0; font-size: 18.5px; font-weight: 500; letter-spacing: 0.005em; }
.panel-head p { margin: 5px 0 0; color: var(--muted); font-size: 11.5px; font-weight: 300; line-height: 1.7; }

/* ---------- Forms ---------- */

.lookup { display: flex; gap: 10px; margin-top: 22px; }

.field {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field > i { color: var(--dim); font-size: 11px; flex: none; }

.field input, .field select, .field textarea {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: none;
  color: var(--text);
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 300;
  letter-spacing: 0.01em;
}

.field input::placeholder, .field textarea::placeholder { color: #5b5b64; }

.field select { appearance: none; cursor: pointer; padding-right: 18px; }
.field select option { background: #0c0c0f; color: #ececf0; }

.field .caret { position: absolute; right: 14px; font-size: 9px; color: var(--dim); pointer-events: none; }

.field.select { flex: 0 0 176px; }
.field.select.compact { flex: 0 0 230px; }

.field:focus-within {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.06), 0 0 34px rgba(255, 255, 255, 0.08);
}

.field.textarea {
  height: auto;
  min-height: 104px;
  align-items: flex-start;
  padding: 13px 16px;
}

.field.textarea > i { margin-top: 3px; }

.field textarea {
  resize: vertical;
  min-height: 76px;
  line-height: 1.7;
}

.lookup button {
  height: 52px;
  padding: 0 22px;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 0;
  border-radius: 16px;
  cursor: pointer;
  font-family: inherit;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0a0a0b;
  background: linear-gradient(135deg, #ffffff, #c7c9d1);
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.14), inset 0 1px 0 #ffffff;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.lookup button i { font-size: 11px; }
.lookup button:hover { transform: translateY(-2px); box-shadow: 0 18px 44px rgba(255, 255, 255, 0.2), inset 0 1px 0 #fff; filter: brightness(1.04); }
.lookup button:active { transform: translateY(0) scale(0.985); }
.lookup button:disabled { filter: grayscale(0.5) brightness(0.7); cursor: wait; transform: none; }

.lookup.utilities { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.lookup.utilities .field.select { grid-area: 1 / 1 / 2 / 2; flex: none; width: 100%; }
.lookup.utilities .field.textarea { grid-area: 2 / 1 / 3 / 3; }
.lookup.utilities button { grid-area: 1 / 2 / 2 / 3; }

.consent {
  margin: 12px 0 0;
  font-size: 10px;
  color: var(--dim);
  display: flex;
  align-items: center;
  gap: 7px;
}

.consent i { font-size: 9px; }

/* ---------- Results ---------- */

.results { margin-top: 24px; }
.results:empty { display: none; }

.result-section { animation: fadeUp 0.35s ease both; }
.result-section + .result-section { margin-top: 26px; }

.section-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--dim);
}

.section-title::before {
  content: "";
  width: 14px;
  height: 1px;
  background: linear-gradient(90deg, #fff, transparent);
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 10.5px;
  color: #e6e6ea;
  max-width: 100%;
  word-break: break-all;
}

.chip-label { color: var(--dim); font-size: 8.5px; letter-spacing: 0.16em; text-transform: uppercase; flex: none; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; }

.tag {
  display: inline-block;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--mono);
  font-size: 10.5px;
  color: #cfcfd6;
  word-break: break-all;
}

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; }

.card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  padding: 16px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #dedee3;
}

.card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 11.5px; }
.card dt { color: var(--dim); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; padding-top: 3px; }
.card dd { margin: 0; word-break: break-word; }

table.data { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.table-scroll { overflow-x: auto; max-width: 100%; }
table.data th {
  width: 152px;
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--dim);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
table.data td { padding: 10px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); word-break: break-word; }
table.data tr:last-child th, table.data tr:last-child td { border-bottom: 0; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #e9e9ed;
}

.badge i { font-size: 8.5px; }
.badge.pos { color: #fff; border-color: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.13); box-shadow: 0 0 20px rgba(255, 255, 255, 0.12); }
.badge.neg { color: #77777f; border-color: rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.02); }
.badge.warn { color: #c9c9d0; border-style: dashed; border-color: rgba(255, 255, 255, 0.28); background: transparent; }

.notice {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  border: 1px solid var(--line-strong);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.04);
  padding: 13px 16px;
  font-size: 11.5px;
  color: #d7d7dc;
}

.notice i { margin-top: 3px; color: #cfcfd6; font-size: 11px; }
.notice.warn { border-style: dashed; border-color: rgba(255, 255, 255, 0.26); }
.notice.error { border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.08); color: #fff; }
.notice.error i { color: #fff; }

.counters { display: flex; flex-wrap: wrap; gap: 10px; }

.counter {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 16px;
  min-width: 116px;
}

.counter .num { display: block; font-size: 20px; font-weight: 500; letter-spacing: 0.01em; color: #f4f4f5; }
.counter .num.source-name { font-size: 10.5px; line-height: 32px; letter-spacing: 0.06em; }
.counter .lbl { font-size: 8px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); }
.counter.pos .num { text-shadow: 0 0 18px rgba(255, 255, 255, 0.35); }
.counter.neg .num { color: #85858e; }
.counter.warn .num { color: #c4c4cb; }

.mono { font-family: var(--mono); font-size: 0.92em; }
.muted { color: var(--muted); }
.mt-12 { margin-top: 12px; }
.mt-14 { margin-top: 14px; }
.mt-16 { margin-top: 16px; }

a { color: #fff; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

details.headers { border: 1px solid var(--line); border-radius: 15px; background: rgba(255, 255, 255, 0.03); overflow: hidden; }
details.headers summary {
  cursor: pointer;
  padding: 12px 16px;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  list-style: none;
}
details.headers summary::-webkit-details-marker { display: none; }
details.headers summary:hover { color: var(--text); }
details.headers table.data { padding: 0 6px 8px; }

/* ---------- Username ---------- */

.username-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(235px, 1fr)); gap: 8px; }

.username-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  font-size: 11.5px;
  transition: background 0.18s ease, transform 0.18s ease;
}

.username-row:hover { background: rgba(255, 255, 255, 0.06); transform: translateY(-1px); }

.username-row .site-ic { width: 20px; flex: none; display: grid; place-items: center; font-size: 11px; }
.username-row .site-ic.found { color: #fff; text-shadow: 0 0 12px rgba(255, 255, 255, 0.7); }
.username-row .site-ic.not_found { color: #484850; }
.username-row .site-ic.unknown { color: #a1a1aa; }

.username-row .site-name { flex: 1; min-width: 0; }
.username-row .site-name a { color: #e9e9ed; }

.username-row .site-status { margin-left: auto; font-size: 7.5px; letter-spacing: 0.16em; text-transform: uppercase; color: #56565f; flex: none; }
.username-row .site-status.found { color: #e9e9ed; }
.username-row .site-status.unknown { color: #9b9ba4; }

/* ---------- Breach ---------- */

.breach-list { display: grid; gap: 10px; }

.breach {
  border: 1px solid var(--line);
  border-left: 2px solid #fff;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.035);
  padding: 16px;
}

.breach h3 { margin: 0; font-size: 13px; font-weight: 500; }
.breach .breach-meta { margin: 4px 0 9px; font-family: var(--mono); font-size: 10px; color: var(--dim); }
.breach p { margin: 9px 0 0; font-size: 10.5px; color: var(--muted); }

/* ---------- Email flags ---------- */

.flags { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }

.flag {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.flag > i { margin-top: 3px; font-size: 12px; }
.flag.pos > i { color: #fff; text-shadow: 0 0 14px rgba(255, 255, 255, 0.6); }
.flag.neg > i { color: #5a5a63; }
.flag.warn > i { color: #a1a1aa; }

.flag-label { display: block; font-size: 8px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); }
.flag-value { display: block; font-size: 11.5px; color: #ececf0; margin-top: 2px; }

/* ---------- Site analyzer ---------- */

.checks { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: rgba(255, 255, 255, 0.025); }

.check-row {
  display: grid;
  grid-template-columns: 26px 210px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11px;
}

.check-row:last-child { border-bottom: 0; }

.check-ic {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 8px;
  border: 1px solid var(--line-strong);
  color: #6d6d76;
}

.check-row.pass .check-ic { background: #fff; color: #08080a; border-color: #fff; box-shadow: 0 0 16px rgba(255, 255, 255, 0.35); }
.check-name { color: #d9d9de; }
.check-val { color: var(--dim); font-family: var(--mono); font-size: 9.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.check-row.pass .check-val { color: var(--muted); }

.chain { font-family: var(--mono); font-size: 10px; line-height: 2; color: var(--muted); word-break: break-all; }
.chain b { color: #fff; font-weight: 500; }

/* ---------- Wayback / GitHub / utils ---------- */

.snap-list { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: rgba(255, 255, 255, 0.02); }

.snap {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11px;
  color: var(--text);
  transition: background 0.16s ease;
}
.snap:last-child { border-bottom: 0; }
.snap:hover { background: rgba(255, 255, 255, 0.055); text-decoration: none; }
.snap .snap-date { font-family: var(--mono); font-size: 10px; color: var(--muted); width: 132px; flex: none; }
.snap .snap-url { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--mono); font-size: 9.5px; color: #b4b4bc; }
.snap > i { color: var(--dim); font-size: 9px; }

.profile {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  padding: 18px;
}

.avatar { width: 76px; height: 76px; flex: none; border-radius: 18px; border: 1px solid var(--line-strong); background: #101014; object-fit: cover; }
.profile h3 { margin: 0 0 3px; font-size: 16px; font-weight: 500; }
.profile .login { font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.profile .bio { margin: 8px 0 0; font-size: 11px; color: var(--muted); }

.dork-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 8px; }

.dork {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.025);
  font-size: 10.5px;
  color: #e4e4e8;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}
.dork:hover { background: rgba(255, 255, 255, 0.07); border-color: var(--line-strong); text-decoration: none; transform: translateY(-1px); }
.dork > i { color: var(--dim); font-size: 10px; flex: none; }
.dork .dork-engine { margin-left: auto; font-size: 7.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); flex: none; }

.lookup.headerform { flex-wrap: wrap; }
.lookup.headerform .field { flex: 1 1 100%; }
.lookup.headerform .field.textarea { height: auto; min-height: 156px; }
.lookup.headerform button { margin-left: auto; }

.check-row.info .check-ic { border-style: dashed; color: #a1a1aa; }

.code-block {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(0, 0, 0, 0.38);
  padding: 14px 16px;
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.8;
  color: #d6d6dc;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 340px;
  overflow: auto;
}

.copy-row { display: flex; align-items: center; gap: 12px; margin-top: 10px; }

.ghost-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.05);
  color: #e6e6ea;
  font-family: inherit;
  font-size: 9.5px;
  letter-spacing: 0.08em;
  padding: 8px 13px;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.ghost-btn:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.35); }

.loading {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.spinner {
  width: 15px;
  height: 15px;
  flex: none;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-top-color: #fff;
  animation: spin 0.85s linear infinite;
}

.page-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding: 0 4px;
  font-size: 8.5px;
  letter-spacing: 0.12em;
  color: #4d4d55;
  text-transform: uppercase;
}

/* ---------- Animations ---------- */

@keyframes spin { to { transform: rotate(360deg); } }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes panelIn {
  from { opacity: 0; transform: translateY(16px) scale(0.995); filter: blur(6px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(40px, 30px, 0) scale(1.08); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@keyframes brandPulse {
  0%, 100% { box-shadow: 0 0 18px rgba(255, 255, 255, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
  50% { box-shadow: 0 0 30px rgba(255, 255, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .content { margin-left: 288px; padding: 20px 22px 40px; }
  .sidebar { width: 244px; }
  .panel { padding: 22px; }
}

@media (max-width: 980px) {
  .sidebar { transform: translateX(calc(-100% - 32px)); width: 268px; }
  .sidebar.open { transform: translateX(0); }

  .topbar {
    display: flex;
    position: fixed;
    top: 12px;
    left: 12px;
    right: 12px;
    height: 58px;
    z-index: 14;
    align-items: center;
    gap: 12px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(10, 10, 12, 0.6);
    backdrop-filter: blur(20px) saturate(130%);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  }

  .content { margin-left: 0; padding: 88px 14px 32px; max-width: none; }

  .panel { padding: 20px 18px; border-radius: 22px; }
  .panel-head h2 { font-size: 16.5px; }
  .panel-head p { font-size: 10.5px; }

  .lookup { flex-direction: column; }
  .lookup .field { flex: none; height: 52px; }
  .lookup .field.textarea { height: auto; min-height: 104px; }
  .field.select, .field.select.compact { flex: none; width: 100%; }
  .lookup button { width: 100%; justify-content: center; }

  .lookup.utilities { display: flex; flex-direction: column; }
  .lookup.utilities .field.select, .lookup.utilities .field.textarea { width: 100%; }
  .lookup.headerform button { width: 100%; margin-left: 0; }

  .check-row { grid-template-columns: 24px 1fr; }
  .check-val { grid-column: 2 / 3; }
  .snap .snap-date { width: 104px; }
  .profile { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .net { display: none; }
}
