/* Eye of God — "Providence" theme: obsidian, bone, gold. Single dark theme by design. */
:root {
  color-scheme: dark;

  --bg: #030603;
  --surface: #08100a;
  --surface-2: #0d1a10;
  --line: #15361c;
  --line-strong: #2f7a42;
  --text: #c9f2cf;
  --muted: #7fb58a;
  --gold: #3dff72;
  --gold-dim: #1f8f3d;
  --gold-ink: #021006;
  --teal: #3de7ff;
  --ok: #3dff72;
  --warn: #ffb31f;
  --bad: #ff3b3b;

  --s1: 4px;
  --s2: 8px;
  --s3: 16px;
  --s4: 32px;
  --s5: 64px;

  --fs-display: clamp(1.9rem, 2.6vw + 0.6rem, 3.1rem);
  --fs-title: 1.25rem;
  --fs-body: 0.9375rem;
  --fs-meta: 0.75rem;

  --serif: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, "Liberation Mono", monospace;
  --sans: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, "Liberation Mono", monospace;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;

  --radius: 2px;
  --rail: 232px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: var(--fs-body)/1.6 var(--sans);
  padding-inline: env(safe-area-inset-left) env(safe-area-inset-right);
}
h1, h2, h3, p { margin: 0; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: #9dffb5; }
button, input, select, textarea { font: inherit; color: inherit; }
code, pre, .mono { font-family: var(--mono); }
::selection { background: var(--gold); color: var(--gold-ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: var(--s3); top: -80px; z-index: 100; background: var(--gold); color: var(--gold-ink); padding: var(--s2) var(--s3); border-radius: var(--radius); }
.skip-link:focus { top: var(--s2); }

.kicker { font: 600 var(--fs-meta)/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }

/* ---------- Buttons & inputs ---------- */
.btn, .omni button, .tool-form button {
  min-height: 44px;
  padding: 0 var(--s3);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  background: var(--gold);
  color: var(--gold-ink);
  font-weight: 650;
  cursor: pointer;
  transition: background 120ms, border-color 120ms, transform 120ms;
}
.btn:hover, .omni button:hover, .tool-form button:hover { background: #9dffb5; border-color: #9dffb5; }
.btn:active { transform: translateY(1px); }
.btn.ghost, .btn.sm { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn.ghost:hover, .btn.sm:hover { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn.sm { min-height: 32px; padding: 0 var(--s2); font: 600 var(--fs-meta)/1 var(--mono); letter-spacing: 0.04em; }
a.btn { display: inline-flex; align-items: center; text-decoration: none; }
.icon-btn { width: 44px; height: 44px; border: 1px solid var(--line-strong); background: transparent; border-radius: var(--radius); font-size: 1.5rem; cursor: pointer; }
.icon-btn:hover { border-color: var(--gold); color: var(--gold); }

input[type="text"], input[type="search"], input:not([type]), select, textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px var(--s3);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-family: var(--mono);
  font-size: 0.875rem;
}
textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: #5f8f69; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(61, 255, 114, 0.25); }
label.field { display: grid; gap: var(--s1); font: 600 var(--fs-meta)/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
label.field > input, label.field > select, label.field > textarea { text-transform: none; letter-spacing: 0; color: var(--text); font-weight: 400; }

/* ---------- Top bar ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--s3);
  padding: var(--s2) var(--s3);
  padding-top: calc(var(--s2) + env(safe-area-inset-top, 0px));
  background: rgba(3, 6, 3, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: var(--s2); color: var(--text); text-decoration: none; font: 600 1.15rem/1 var(--serif); letter-spacing: 0.02em; min-height: 44px; }
.brand b { color: var(--gold); font-weight: 700; }
.brand svg { width: 34px; height: 32px; fill: none; stroke: var(--gold); stroke-width: 2.2; stroke-linejoin: round; }
.brand .iris { fill: var(--gold); stroke: none; }
.brand .pupil { fill: var(--bg); stroke: none; }
.omni { display: flex; gap: var(--s2); max-width: 760px; width: 100%; justify-self: center; }
.omni input { flex: 1; min-width: 0; }

/* ---------- Layout ---------- */
.shell { flex: 1; display: grid; grid-template-columns: var(--rail) minmax(0, 1fr); }
.rail {
  position: sticky;
  top: 61px;
  align-self: start;
  max-height: calc(100vh - 61px);
  overflow-y: auto;
  padding: var(--s3) var(--s2) var(--s4) var(--s3);
  border-right: 1px solid var(--line);
}
.rail h2 { margin: var(--s3) var(--s2) var(--s1); font: 600 var(--fs-meta)/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.rail h2:first-child { margin-top: 0; }
.rail a { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); min-height: 36px; padding: 0 var(--s2); border-radius: var(--radius); color: var(--text); text-decoration: none; font-size: 0.875rem; }
.rail a:hover { background: var(--surface-2); }
.rail a[aria-current="page"] { background: var(--surface-2); color: var(--gold); box-shadow: inset 2px 0 0 var(--gold); }
.rail a i { font: normal 600 0.625rem/1 var(--mono); letter-spacing: 0.08em; color: var(--muted); }
#view { min-width: 0; padding: var(--s4); outline: none; }
.page { max-width: 1040px; margin-inline: auto; }

/* ---------- Home ---------- */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; gap: var(--s4); min-height: 560px; padding-block: var(--s4); }
.hero .kicker { display: block; margin-bottom: var(--s3); }
.hero h1 { font: 500 var(--fs-display)/1.02 var(--serif); letter-spacing: -0.01em; text-shadow: 0 0 18px rgba(61,255,114,.35); }
.hero h1 em { display: block; color: var(--gold); font-style: normal; text-shadow: 0 0 22px rgba(61,255,114,.6); }
.hero .lede { margin-top: var(--s3); max-width: 52ch; color: var(--muted); font-size: 1.0625rem; }
.hero-form { display: flex; gap: var(--s2); margin-top: var(--s4); max-width: 620px; }
.hero-form input { flex: 1; min-width: 0; min-height: 52px; font-size: 1rem; }
.hero-form button { min-height: 52px; padding-inline: var(--s4); }
.examples { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); margin-top: var(--s3); font: var(--fs-meta)/1 var(--mono); color: var(--muted); }
.examples button { min-height: 32px; padding: 0 var(--s2); background: var(--surface); border: 1px solid var(--line); border-radius: 99px; color: var(--text); font: inherit; cursor: pointer; }
.examples button:hover { border-color: var(--gold); color: var(--gold); }

.eye-stage { position: relative; aspect-ratio: 1; width: min(100%, 520px); justify-self: center; display: grid; place-items: center; }
.rays {
  position: absolute; inset: -12%;
  background: repeating-conic-gradient(from 0deg, rgba(61, 255, 114, 0.2) 0 0.7deg, transparent 0.7deg 6deg);
  -webkit-mask: radial-gradient(circle, transparent 18%, #000 30%, transparent 68%);
  mask: radial-gradient(circle, transparent 18%, #000 30%, transparent 68%);
  animation: spin 240s linear infinite;
}
.eye-stage svg { position: relative; width: 100%; height: 100%; overflow: visible; }
.eye-stage .tri { fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linejoin: round; }
.eye-stage .tri2 { fill: none; stroke: var(--gold-dim); stroke-width: 0.8; stroke-linejoin: round; }
.eye-stage .lid { fill: none; stroke: var(--gold); stroke-width: 2; }
.eye-stage .sclera { fill: #1a1610; }
.eye-stage .ring { fill: none; stroke: var(--gold); stroke-width: 1; opacity: 0.6; }
.eye-stage .irisfill { fill: url(#irisgrad); }
.eye-stage .pupil { fill: #050403; }
.eye-stage .glint { fill: var(--text); opacity: 0.9; }
.eye-stage .tick { stroke: var(--gold-dim); stroke-width: 1; }
#iris { transition: transform 90ms ease-out; }
.eye-stage .readout { position: absolute; font: var(--fs-meta)/1.5 var(--mono); letter-spacing: 0.08em; color: var(--muted); }
.eye-stage .readout.a { left: 0; bottom: -4%; }
.eye-stage .readout.b { right: 0; bottom: -4%; text-align: right; }
.eye-stage .readout b { color: var(--gold); font-weight: 600; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 0%, 94%, 100% { transform: scaleY(1); } 97% { transform: scaleY(0.08); } }
#lidgroup { transform-origin: 200px 250px; animation: blink 7s infinite; }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; margin: var(--s5) 0 var(--s3); padding-bottom: var(--s3); border-bottom: 1px solid var(--line); }
.section-head h2 { font: 500 1.75rem/1.2 var(--serif); }
.section-head p { max-width: 54ch; color: var(--muted); }
.group-label { margin: var(--s4) 0 var(--s3); display: flex; align-items: center; gap: var(--s3); font: 600 var(--fs-meta)/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.group-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--s3); }
.tool-card { display: flex; flex-direction: column; gap: var(--s2); padding: var(--s3); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); text-decoration: none; transition: border-color 120ms, transform 120ms, background 120ms; }
.tool-card:hover { border-color: var(--gold); background: var(--surface-2); transform: translateY(-2px); }
.tool-card .row { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); }
.tool-card strong { font: 600 1.0625rem/1.3 var(--serif); }
.tool-card p { color: var(--muted); font-size: 0.875rem; flex: 1; }
.glyph { min-width: 32px; height: 32px; padding: 0 var(--s2); display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius); font: 600 0.9rem/1 var(--mono); color: var(--gold); }
.mode { font: 700 0.625rem/1 var(--mono); letter-spacing: 0.1em; padding: 4px 6px; border-radius: 3px; border: 1px solid var(--line-strong); color: var(--muted); }
.mode.local { color: var(--teal); border-color: rgba(61, 231, 255, 0.5); }
.mode.server { color: var(--gold); border-color: rgba(61, 255, 114, 0.5); }

.creed { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--s3); }
.creed article { padding: var(--s3); border-left: 2px solid var(--gold); background: linear-gradient(90deg, rgba(61, 255, 114, 0.06), transparent); }
.creed h3 { font: 500 1.25rem/1.3 var(--serif); margin-bottom: var(--s1); }
.creed p { color: var(--muted); font-size: 0.875rem; }

/* ---------- Tool pages ---------- */
.crumbs { display: flex; gap: var(--s2); font: var(--fs-meta)/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s2); }
.crumbs a { color: var(--muted); }
.tool-head { display: flex; align-items: start; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; margin-bottom: var(--s3); }
.tool-head h1 { font: 500 clamp(1.75rem, 3vw + 1rem, 2.5rem)/1.15 var(--serif); }
.tool-head p { margin-top: var(--s2); max-width: 66ch; color: var(--muted); }
.tool-form { display: flex; gap: var(--s2); margin-bottom: var(--s3); }
.tool-form input { flex: 1; min-width: 0; }
.stack { display: grid; gap: var(--s3); }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--s3); }
.out { display: grid; gap: var(--s3); }

.result { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.result-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); padding: var(--s2) var(--s3); background: var(--surface-2); border-bottom: 1px solid var(--line); }
.result-head h3 { font: 600 var(--fs-meta)/1.3 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.result-head .meta { color: var(--muted); font: var(--fs-meta)/1 var(--mono); }
.result-actions { display: flex; gap: var(--s2); align-items: center; }
.result-body { padding: var(--s3); display: grid; gap: var(--s3); overflow-x: auto; }
.result-body > * { min-width: 0; }
.result.is-loading .result-body { color: var(--muted); }
.spinner { display: inline-block; width: 14px; height: 14px; margin-right: var(--s2); vertical-align: -2px; border: 2px solid var(--line-strong); border-top-color: var(--gold); border-radius: 50%; animation: spin 0.8s linear infinite; }
.error { padding: var(--s3); border-left: 3px solid var(--bad); background: rgba(255, 59, 59, 0.08); color: #ff9a9a; }
.empty { padding: var(--s4); text-align: center; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.note { color: var(--muted); font-size: 0.8125rem; }

dl.kv { display: grid; grid-template-columns: minmax(110px, max-content) 1fr; gap: var(--s1) var(--s3); margin: 0; }
dl.kv dt { color: var(--muted); font: var(--fs-meta)/1.8 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
dl.kv dd { margin: 0; min-width: 0; overflow-wrap: anywhere; font-family: var(--mono); font-size: 0.8125rem; }
.copy { cursor: copy; border-radius: 3px; }
.copy:hover { background: rgba(61, 255, 114, 0.15); }

.table-wrap { overflow: auto; max-height: 440px; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font: 0.8125rem/1.5 var(--mono); }
th, td { padding: var(--s2) var(--s3); text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); overflow-wrap: break-word; }
th { position: sticky; top: 0; background: var(--surface-2); color: var(--muted); font-weight: 600; font-size: var(--fs-meta); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: rgba(61, 255, 114, 0.04); }

.chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.chip { display: inline-flex; align-items: center; min-height: 28px; padding: 0 var(--s2); background: var(--surface-2); border: 1px solid var(--line); border-radius: 99px; font: 0.75rem/1 var(--mono); }
.chip.tone-ok { color: var(--ok); border-color: rgba(61, 255, 114, 0.45); }
.chip.tone-bad { color: var(--bad); border-color: rgba(255, 59, 59, 0.5); }
.chip.tone-warn { color: var(--warn); border-color: rgba(61, 255, 114, 0.5); }
.chip.tone-teal { color: var(--teal); border-color: rgba(61, 231, 255, 0.5); }
a.chip { text-decoration: none; color: var(--text); }
a.chip:hover { border-color: var(--gold); color: var(--gold); }
.verdict { display: inline-block; font: 700 0.6875rem/1 var(--mono); letter-spacing: 0.1em; padding: 4px 8px; border-radius: 3px; }
.verdict.found { background: rgba(61, 255, 114, 0.15); color: var(--ok); }
.verdict.missing { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.verdict.unknown { background: rgba(61, 255, 114, 0.12); color: var(--warn); }

.pre { margin: 0; padding: var(--s3); background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); font: 0.8125rem/1.6 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; max-height: 420px; overflow: auto; }
.bar { display: flex; align-items: end; gap: 3px; height: 72px; }
.bar span { flex: 1; min-width: 3px; background: var(--gold-dim); border-radius: 2px 2px 0 0; position: relative; }
.bar span:hover { background: var(--gold); }
.bar-labels { display: flex; justify-content: space-between; font: var(--fs-meta)/1 var(--mono); color: var(--muted); }
.meter { display: grid; grid-template-columns: repeat(6, 1fr); gap: 3px; }
.meter i { height: 6px; background: var(--line); border-radius: 2px; }
.meter i.on { background: var(--gold); }
.avatar { width: 64px; height: 64px; border-radius: var(--radius); border: 1px solid var(--line-strong); }
.dropzone { position: relative; display: grid; place-items: center; gap: var(--s2); min-height: 160px; padding: var(--s4); text-align: center; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: var(--surface); cursor: pointer; color: var(--muted); }
.dropzone:hover, .dropzone.over, .dropzone:focus-within { border-color: var(--gold); color: var(--gold); }
.dropzone input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.toolbar { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: end; }
.toolbar label.field { flex: 1; min-width: 160px; }
.dork { display: grid; grid-template-columns: 1fr auto; gap: var(--s2); align-items: center; padding: var(--s2) 0; border-bottom: 1px solid var(--line); }
.dork:last-child { border-bottom: 0; }
.dork code { overflow-wrap: anywhere; font-size: 0.8125rem; }
.dork .why { display: block; color: var(--muted); font: 0.75rem/1.4 var(--sans); }
.dork .go { display: flex; gap: var(--s1); flex-wrap: wrap; justify-content: flex-end; }
.dossier-head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); padding: var(--s3); margin-bottom: var(--s3); border: 1px solid var(--line-strong); border-radius: var(--radius); background: linear-gradient(120deg, rgba(61, 255, 114, 0.08), transparent 60%); }
.dossier-head strong { font: 600 1.25rem/1.3 var(--mono); overflow-wrap: anywhere; }

.toast { position: fixed; left: 50%; bottom: calc(var(--s4) + env(safe-area-inset-bottom, 0px)); z-index: 60; transform: translate(-50%, 16px); padding: var(--s2) var(--s3); background: var(--gold); color: var(--gold-ink); border-radius: var(--radius); font: 700 var(--fs-meta)/1.4 var(--mono); letter-spacing: 0.08em; opacity: 0; pointer-events: none; transition: opacity 160ms, transform 160ms; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2) var(--s4); padding: var(--s3) var(--s4); border-top: 1px solid var(--line); color: var(--muted); font: var(--fs-meta)/1.6 var(--mono); }

/* 404 */
.lost { min-height: 80vh; display: grid; place-content: center; gap: var(--s3); padding: var(--s4); text-align: center; justify-items: center; }
.lost h1 { font: 500 var(--fs-display)/1.05 var(--serif); }
.lost h1 em { color: var(--gold); }
.lost svg { width: 96px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linejoin: round; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .eye-stage { width: min(100%, 380px); order: -1; }
}
@media (max-width: 820px) {
  .top { grid-template-columns: 1fr auto; }
  .omni { grid-column: 1 / -1; grid-row: 2; max-width: none; }
  .shell { grid-template-columns: minmax(0, 1fr); }
  .rail { position: static; max-height: none; display: flex; gap: var(--s1); overflow-x: auto; padding: var(--s2) var(--s3); border-right: 0; border-bottom: 1px solid var(--line); scrollbar-width: thin; }
  .rail h2 { display: none; }
  .rail a { flex: none; white-space: nowrap; border: 1px solid var(--line); min-height: 44px; }
  .rail a i { display: none; }
  .rail a[aria-current="page"] { box-shadow: none; border-color: var(--gold); }
  #view { padding: var(--s3); }
  .hero-form { flex-direction: column; }
  .tool-form { flex-direction: column; }
    .foot { padding-inline: var(--s3); }
}
@media (max-width: 480px) {
  dl.kv { grid-template-columns: 1fr; gap: 0; }
  dl.kv dd { margin-bottom: var(--s2); }
  .dork { grid-template-columns: 1fr; }
  .dork .go { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- DEFCON / terminal layer ---------- */
body { font-size: 0.875rem; }
body::before { content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; background: repeating-linear-gradient(to bottom, rgba(0,0,0,0) 0 2px, rgba(0,0,0,0.22) 2px 3px); }
body::after { content: ""; position: fixed; inset: 0; z-index: 91; pointer-events: none; background: radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,0.55) 100%); }
.matrix { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.22; pointer-events: none; -webkit-mask: linear-gradient(to bottom, #000 40%, transparent); mask: linear-gradient(to bottom, #000 40%, transparent); }
.hero > :not(.matrix) { position: relative; }
.btn, .omni button, .tool-form button, .hero-form button { text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.btn:hover, .omni button:hover, .tool-form button:hover { box-shadow: 0 0 14px rgba(61,255,114,.55); }
.kicker::before { content: "// "; opacity: .7; }
.result-head h3::before { content: "> "; }
.result, .tool-card, .dossier-head, .drawer, .creed article { box-shadow: inset 0 0 0 1px rgba(61,255,114,.04); }
.result { border-left: 2px solid var(--gold-dim); }
.tool-card:hover, .result:hover { box-shadow: 0 0 18px rgba(61,255,114,.12); }
.brand { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.95rem; text-shadow: 0 0 10px rgba(61,255,114,.5); }
.brand svg, .eye-stage svg { filter: drop-shadow(0 0 6px rgba(61,255,114,.5)); }
.caret { display: inline-block; width: 0.6em; height: 1em; margin-left: 4px; vertical-align: baseline; height: 0.8em; margin-bottom: -0.05em; line-height: 1; background: var(--gold); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.prompt { color: var(--muted); font-size: 0.8125rem; margin-bottom: var(--s3); }
.prompt b { color: var(--gold); font-weight: 600; }
.defcon { display: inline-flex; align-items: center; gap: var(--s2); padding: 0 var(--s2); min-height: 44px; font: 700 0.6875rem/1 var(--mono); letter-spacing: 0.12em; color: var(--muted); border: 1px solid var(--line); border-radius: var(--radius); white-space: nowrap; }
.defcon i { display: flex; gap: 3px; }
.defcon i s { width: 8px; height: 14px; background: var(--line); text-decoration: none; }
.defcon b { color: var(--text); }
.defcon[data-level="5"] i s:nth-child(5) { background: #e8fff0; }
.defcon[data-level="4"] i s:nth-child(4) { background: var(--gold); }
.defcon[data-level="3"] i s:nth-child(3) { background: var(--warn); }
.defcon[data-level="2"] i s:nth-child(2) { background: var(--bad); animation: caret .7s steps(1) infinite; }
.defcon[data-level="2"] b { color: var(--bad); }
.top { grid-template-columns: auto 1fr auto; }
.verdict.found { text-shadow: 0 0 8px rgba(61,255,114,.6); }
.error { border-left-color: var(--bad); }
.eye-stage .sclera { fill: #020a04; }
.eye-stage .readout b { text-shadow: 0 0 8px rgba(61,255,114,.7); }
@media (max-width: 820px) { .top { grid-template-columns: 1fr auto; } .defcon span { display: none; } .omni { grid-column: 1 / -1; } }
@media (prefers-reduced-motion: reduce) { .matrix { display: none; } }

.meter.progress { grid-template-columns: 1fr; height: 6px; background: var(--line); border-radius: 2px; overflow: hidden; }
.meter.progress i { display: block; height: 6px; width: 0; background: var(--gold); box-shadow: 0 0 10px var(--gold); transition: width 200ms; }
