/* Liza Challenge — Linear/BetterStack inspired dark UI. Purple accent. No external assets. */

:root {
  --bg: #0d0d10;
  --bg-2: #131318;
  --panel: rgba(255, 255, 255, 0.025);
  --panel-2: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.07);
  --border-soft: rgba(255, 255, 255, 0.04);
  --text: #e8e8ea;
  --muted: #8b8b93;
  --faint: #4e4e56;

  --accent: #5b21b6;
  --accent-dim: #8b7cf6;
  --grad: linear-gradient(135deg, #6d28d9, #4c1d95);
  --grad-soft: linear-gradient(135deg, rgba(109,40,217,.06), rgba(76,29,149,.03));

  --blocker: #e5484d;
  --concern: #f0b000;
  --suggestion: #47a3f3;
  --question: #8b5cf6;
  --nit: #8b9dad;
  --appraisal: #30a46c;
  --ok: #30a46c;
  --err: #e5484d;
  --warn: #f0b000;

  --mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;
  --ease-ios: cubic-bezier(0.32, 0.72, 0, 1);
  --glass: blur(20px) saturate(1.4);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ambient background — subtle, purple-tinted */
.orb { position: fixed; border-radius: 50%; filter: blur(160px); pointer-events: none; z-index: 0; }
.orb-a { width: 700px; height: 700px; background: #6d28d9; opacity: .08; top: -280px; left: -200px; animation: drift 30s ease-in-out infinite alternate; }
.orb-b { width: 600px; height: 600px; background: #4c1d95; opacity: .06; bottom: -300px; right: -180px; animation: drift 38s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(100px, 70px) scale(1.1); } }
.grid-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .35;
  background-image: radial-gradient(rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 800px 500px at 50% 0%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 800px 500px at 50% 0%, black 20%, transparent 70%);
}

#views { position: relative; z-index: 1; }
.view { min-height: 100vh; will-change: transform, opacity; }
.view.is-absolute { position: absolute; inset: 0; width: 100%; }

/* iOS-style push transition — fixed: pop-exit fully clears viewport */
.view.push-enter { animation: pushIn .46s var(--ease-ios) both; }
.view.push-exit { animation: pushOut .46s var(--ease-ios) both; }
.view.pop-enter { animation: popIn .46s var(--ease-ios) both; }
.view.pop-exit { animation: popOut .46s var(--ease-ios) both; }
@keyframes pushIn { from { transform: translateX(30%); opacity: .7; } to { transform: translateX(0); opacity: 1; } }
@keyframes pushOut { from { transform: translateX(0); opacity: 1; } to { transform: translateX(-20%); opacity: .4; } }
@keyframes popIn { from { transform: translateX(-20%); opacity: .4; } to { transform: translateX(0); opacity: 1; } }
@keyframes popOut { from { transform: translateX(0); opacity: 1; } to { transform: translateX(100%); opacity: 0; } }

/* back button */
.back-btn {
  display: inline-flex; align-items: center; gap: 7px; border: 0; background: none; cursor: pointer;
  color: var(--accent-dim); font-size: 14.5px; font-weight: 600; padding: 8px 10px; margin-left: -10px;
  opacity: 0; animation: backIn .55s .12s var(--ease-ios) forwards;
}
.back-btn:hover { color: var(--text); }
.back-btn svg { width: 18px; height: 18px; }
@keyframes backIn { from { opacity: 0; transform: translateX(34px); } to { opacity: 1; transform: translateX(0); } }

/* ---------- shared ---------- */
.top { max-width: 1080px; margin: 0 auto; padding: 22px 24px 6px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 11px; }
.logo {
  width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center;
  background: var(--grad); color: #fff; font-weight: 800; font-size: 18px; font-family: var(--mono);
}
.brand-name { font-size: 17px; font-weight: 400; letter-spacing: -0.01em; }
.brand-name b { font-weight: 750; color: var(--accent-dim); }
.top-right { display: flex; align-items: center; gap: 10px; }
.live-pill {
  display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--muted);
  border: 1px solid var(--border); border-radius: 999px; padding: 5px 13px; background: var(--panel);
}
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); display: inline-block; animation: pulse-dot 1.8s ease infinite; }
@keyframes pulse-dot { 50% { opacity: .35; transform: scale(.8); } }

.panel {
  background: var(--panel); border: 1px solid var(--border); border-radius: 14px;
  backdrop-filter: var(--glass);
  -webkit-backdrop-filter: var(--glass);
}

.ghost-btn {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 9px; cursor: pointer;
  background: transparent; border: 1px solid var(--border); color: var(--muted); font-size: 13px; font-weight: 600;
  text-decoration: none; transition: all .18s; font-family: inherit;
}
.ghost-btn:hover { color: var(--text); border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.04); }
.ghost-btn svg { width: 14px; height: 14px; }

.chip {
  font-size: 12px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--border);
  color: var(--muted); background: rgba(255,255,255,.03); white-space: nowrap;
}
.chip.mono, .mono { font-family: var(--mono); }
.chip-link { color: var(--accent-dim); text-decoration: none; }
.chip-link:hover { text-decoration: underline; color: var(--text); }
.diff-add { color: var(--ok); border-color: rgba(48, 164, 108, .25); }
.diff-del { color: var(--err); border-color: rgba(229, 72, 77, .25); }

/* ---------- home ---------- */
.home-main { max-width: 640px; margin: 0 auto; padding: 12px 24px 48px; display: flex; flex-direction: column; gap: 14px; }
.hero-title { font-size: clamp(28px, 4.8vw, 40px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 800; margin: 4px 0 0; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { color: var(--muted); font-size: 14.5px; max-width: 60ch; margin: 0; line-height: 1.6; }
.hero-sub b { color: var(--text); font-weight: 650; }

.hero-bullets { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.hero-bullets li { display: flex; gap: 9px; font-size: 13.5px; color: var(--muted); align-items: baseline; }
.hero-bullets li > span { flex: 1; }
.hero-bullets b { color: var(--text); font-weight: 650; }
.hero-icon { width: 15px; height: 15px; flex: none; color: var(--accent); opacity: .8; transform: translateY(2px); }

.submit-card { padding: 14px; transition: border-color .25s; }
.submit-card.shake { animation: shake .4s ease; border-color: rgba(229, 72, 77, .5); }
@keyframes shake { 20% { transform: translateX(-7px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }
.submit-row { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; }
.link-icon { width: 18px; height: 18px; color: var(--faint); margin-left: 6px; flex: none; }
#prUrl {
  flex: 1 1 280px; min-width: 200px; padding: 12px 14px; font-size: 14.5px; font-family: var(--mono);
  color: var(--text); background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: 9px; outline: none;
  transition: border-color .2s, box-shadow .25s;
}
#prUrl:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(109,40,217,.12); }
#prUrl::placeholder { color: #3a3a44; }

.cta-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 0; cursor: pointer;
  padding: 12px 20px; border-radius: 9px; font-size: 14.5px; font-weight: 700; color: #fff; letter-spacing: .01em;
  background: var(--grad); box-shadow: 0 4px 20px rgba(109,40,217,.25);
  transition: transform .16s, box-shadow .16s, filter .16s; white-space: nowrap; font-family: inherit;
}
.cta-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(109,40,217,.35); }
.cta-btn:active { transform: translateY(0); }
.cta-btn:disabled { filter: saturate(.25) brightness(.72); cursor: wait; transform: none; }
.cta-btn.small { padding: 9px 15px; font-size: 13px; border-radius: 8px; }
.cta-btn svg { width: 15px; height: 15px; }
.cta-loading { display: inline-flex; align-items: center; gap: 7px; }
.mini-spin {
  width: 14px; height: 14px; border-radius: 50%; flex: none;
  border: 2px solid rgba(255,255,255,.2); border-top-color: #fff; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.submit-note { margin: 9px 4px 0; color: var(--faint); font-size: 12.5px; }
.submit-error {
  margin-top: 9px; padding: 11px 14px; border-radius: 9px; font-size: 13.5px; line-height: 1.5;
  color: #fecdd3; background: rgba(229, 72, 77, .07); border: 1px solid rgba(229, 72, 77, .25);
  animation: rise .3s ease both;
}

.stats-strip { display: flex; gap: 8px; flex-wrap: wrap; }
.stat-pill {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--border); color: var(--muted); font-size: 12.5px; font-weight: 600;
}
.stat-pill b { color: var(--text); font-family: var(--mono); }
.stat-pill svg { width: 13px; height: 13px; }

/* feed */
.feed-section { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.feed-head { display: flex; align-items: baseline; gap: 12px; }
.feed-head h2 { margin: 0; font-size: 18px; letter-spacing: -0.02em; }
.feed-live { display: inline-flex; align-items: center; gap: 6px; color: var(--faint); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.feed { display: flex; flex-direction: column; gap: 7px; }
.feed-empty {
  padding: 32px 20px; text-align: center; color: var(--muted); font-size: 14px; font-weight: 650;
  border: 1px dashed var(--border); border-radius: 12px;
}
.feed-empty span { display: block; margin-top: 5px; font-weight: 400; font-size: 12.5px; color: var(--faint); }

.feed-card {
  display: flex; align-items: center; gap: 13px; padding: 13px 15px; border-radius: 12px; cursor: pointer;
  background: var(--panel); border: 1px solid var(--border); text-decoration: none; color: var(--text);
  transition: transform .18s var(--ease-ios), border-color .18s, background .18s;
  animation: rise .4s ease both;
}
.feed-card:hover { transform: translateY(-1px); border-color: rgba(124,124,248,.3); background: var(--panel-2); }
.feed-card .gh-mark { width: 22px; height: 22px; fill: var(--muted); flex: none; }
.fc-body { flex: 1; min-width: 0; }
.fc-repo { font-family: var(--mono); font-size: 12px; color: var(--accent-dim); }
.fc-title { font-size: 14px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 1px 0 4px; }
.fc-meta { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; font-size: 11.5px; color: var(--faint); }
.fc-counts { display: inline-flex; gap: 5px; font-size: 11.5px; color: var(--muted); }
.fc-counts b { font-family: var(--mono); font-weight: 600; }
.fc-counts svg { width: 11px; height: 11px; }
.fc-side { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; flex: none; }

.status-chip {
  display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .04em;
  padding: 3px 10px; border-radius: 999px; text-transform: uppercase;
}
.status-chip svg { width: 10px; height: 10px; }
.status-chip.running { color: var(--accent-dim); background: rgba(124,124,248,.08); border: 1px solid rgba(124,124,248,.25); }
.status-chip.queued { color: var(--warn); background: rgba(240,176,0,.07); border: 1px solid rgba(240,176,0,.2); }
.status-chip.completed { color: var(--ok); background: rgba(48,164,108,.07); border: 1px solid rgba(48,164,108,.2); }
.status-chip.failed { color: var(--err); background: rgba(229,72,77,.07); border: 1px solid rgba(229,72,77,.2); }
.status-chip .live-dot { width: 6px; height: 6px; }
.verdict-chip { font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.verdict-chip svg { width: 11px; height: 11px; }
.verdict-chip.request-changes { color: var(--blocker); background: rgba(229,72,77,.07); border: 1px solid rgba(229,72,77,.25); }
.verdict-chip.approve { color: var(--ok); background: rgba(48,164,108,.07); border: 1px solid rgba(48,164,108,.25); }
.verdict-chip.comment { color: var(--suggestion); background: rgba(71,163,243,.07); border: 1px solid rgba(71,163,243,.25); }

.examples { display: flex; flex-direction: column; gap: 8px; }
.eyebrow { margin: 0; color: var(--faint); font-size: 10.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.examples h2 { margin: 0; font-size: 17px; }
.examples-row { display: grid; grid-template-columns: 1fr; gap: 7px; }

.home-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--faint); font-size: 12px; padding-top: 4px; }

/* ---------- detail ---------- */
.detail-top { align-items: center; }
.detail-mode { color: var(--faint); font-size: 12.5px; font-family: var(--mono); }
.detail-main { max-width: 860px; margin: 0 auto; padding: 12px 24px 120px; display: flex; flex-direction: column; gap: 16px; }

.pr-card { display: flex; gap: 15px; padding: 18px 20px; align-items: flex-start; animation: rise .45s ease both; }
.gh-mark { width: 30px; height: 30px; fill: var(--text); opacity: .8; flex: none; margin-top: 2px; }
.pr-info { flex: 1; min-width: 0; }
.pr-info h2 { margin: 0 0 8px; font-size: 17px; line-height: 1.35; letter-spacing: -0.01em; }
.pr-meta { display: flex; flex-wrap: wrap; gap: 7px; }
.pr-status { flex: none; }

/* queue banner */
.queue-banner { display: flex; gap: 16px; padding: 18px 20px; align-items: center; border-color: rgba(124,124,248,.2); background: var(--grad-soft); animation: rise .5s ease both; }
.queue-icon { width: 32px; height: 32px; flex: none; color: var(--accent); animation: floaty 2.6s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-5px); } }
.queue-copy { flex: 1; }
.queue-copy h3 { margin: 0 0 4px; font-size: 15.5px; }
.queue-copy p { margin: 0; color: var(--muted); font-size: 13.5px; max-width: 60ch; }
.queue-copy b { color: var(--text); font-family: var(--mono); }

/* pipeline console */
.pipeline { padding: 8px 0 12px; overflow: hidden; }
.steps { list-style: none; margin: 0; padding: 0; }
.step { border-bottom: 1px solid var(--border-soft); }
.step:last-child { border-bottom: 0; }
.step-row { display: flex; align-items: center; gap: 13px; padding: 14px 20px; cursor: pointer; user-select: none; }
.step-icon { font-size: 18px; width: 28px; text-align: center; flex: none; filter: grayscale(.9) opacity(.4); transition: all .3s; }
.step.done > .step-row .step-icon, .step.active > .step-row .step-icon { filter: none; }
.step-icon svg { width: 18px; height: 18px; display: inline-block; }
.step-name { font-weight: 650; font-size: 14.5px; flex: 1; }
.step-name small { display: block; font-weight: 400; font-size: 12px; color: var(--faint); margin-top: 1px; }
.step-time { font-family: var(--mono); font-size: 11.5px; color: var(--faint); }
.step-state { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.step.active .step-state { color: var(--accent); }
.step.active .step-row .step-name small { color: var(--accent-dim); animation: stageCaption 2.4s ease infinite; }
@keyframes stageCaption { 50% { opacity: .55; } }
.step.done .step-state { color: var(--ok); }
.step.failed .step-state { color: var(--err); }

.step-chevron { color: var(--faint); transition: transform .25s var(--ease-ios); font-size: 11px; }
.step.open .step-chevron { transform: rotate(90deg); }

.step-logs {
  max-height: 0; overflow: hidden; transition: max-height .38s var(--ease-ios);
}
.step.open .step-logs { max-height: 420px; }
.step.open.expanded .step-logs { max-height: none; overflow: visible; }
.term {
  margin: 0 20px 14px; border-radius: 9px; background: rgba(0,0,0,.5); border: 1px solid var(--border-soft);
  padding: 11px 13px; max-height: 400px; overflow-y: auto; font-family: var(--mono); font-size: 12px; line-height: 1.7;
  scrollbar-width: thin; scrollbar-color: #333 transparent;
}
.tline { display: flex; gap: 9px; animation: fade-line .25s ease both; white-space: pre-wrap; word-break: break-word; }
@keyframes fade-line { from { opacity: 0; transform: translateY(3px); } }
.tline .t { color: #3a3a44; flex: none; user-select: none; }
.tline.cmd .m { color: #aaa; }
.tline.cmd .m::before { content: "$ "; color: var(--accent-dim); }
.tline.ok .m { color: var(--ok); }
.tline.warn .m { color: var(--warn); }
.tline.error .m { color: var(--err); }
.tline.info .m { color: #888; }

/* review stage flourish */
.step.stage-review.active > .step-row { position: relative; }
.step.stage-review.active > .step-row::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--accent); animation: reviewSweep 1.6s ease-in-out infinite; transform-origin: left;
}
@keyframes reviewSweep { 0% { transform: scaleX(0); opacity: 1; } 70% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
.step.stage-review.active .step-icon { animation: floaty 1.6s ease-in-out infinite; }

/* findings */
.findings { display: flex; flex-direction: column; gap: 14px; }
.verdict-hero {
  display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  padding: 24px 28px; border-radius: 14px; border: 1px solid var(--border);
  background: var(--grad-soft);
  animation: rise .5s ease both;
}
.verdict-label { font-size: 10.5px; text-transform: uppercase; letter-spacing: .22em; color: var(--faint); margin-bottom: 6px; }
.verdict { font-size: clamp(26px, 4.2vw, 34px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; }
.verdict svg { width: 28px; height: 28px; display: inline-block; vertical-align: -4px; margin-right: 6px; }
.verdict.request-changes { color: var(--blocker); }
.verdict.approve { color: var(--appraisal); }
.verdict.comment { color: var(--suggestion); }
.verdict-sub { color: var(--muted); font-size: 13.5px; margin-top: 7px; max-width: 56ch; }
.verdict-counts { display: flex; gap: 9px; flex-wrap: wrap; }
.vcount {
  min-width: 78px; text-align: center; padding: 9px 12px; border-radius: 11px;
  background: rgba(0,0,0,.25); border: 1px solid var(--border);
}
.vcount b { display: block; font-size: 20px; font-family: var(--mono); }
.vcount span { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.vcount.dim b, .vcount.dim span { opacity: .3; }
.vcount svg { width: 14px; height: 14px; display: inline-block; vertical-align: -2px; }

.findings-toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.findings-toolbar h3 { margin: 0; font-size: 17px; }
.filters { display: flex; gap: 7px; flex-wrap: wrap; }
.filter-chip {
  border: 1px solid var(--border); background: rgba(255,255,255,.02); color: var(--muted);
  font-size: 12px; font-weight: 650; padding: 4px 12px; border-radius: 999px; cursor: pointer; transition: all .15s;
  font-family: inherit; display: inline-flex; align-items: center; gap: 5px;
}
.filter-chip svg { width: 11px; height: 11px; }
.filter-chip .n { font-family: var(--mono); opacity: .8; }
.filter-chip.on { background: rgba(255,255,255,.06); color: var(--text); border-color: rgba(255,255,255,.2); }
.toolbar-actions { margin-left: auto; display: flex; gap: 7px; }

.cards { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 950px) { .cards { grid-template-columns: 1fr 1fr; } }
.card {
  position: relative; border-radius: 12px; padding: 15px 17px 13px; overflow: hidden;
  background: var(--panel); border: 1px solid var(--border);
  opacity: 0; transform: translateY(14px) scale(.99);
  transition: opacity .5s var(--ease-ios), transform .5s var(--ease-ios), border-color .2s;
}
.card.in { opacity: 1; transform: none; }
.card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--tag-color, var(--nit)); }
.card:hover { border-color: color-mix(in srgb, var(--tag-color, #888) 35%, transparent); }
.card-head { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; flex-wrap: wrap; }
.card-icon { width: 15px; height: 15px; flex: none; color: var(--tag-color); }
.tag-badge {
  font-family: var(--mono); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 2px 8px; border-radius: 5px; color: var(--tag-color);
  background: color-mix(in srgb, var(--tag-color) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--tag-color) 28%, transparent);
}
.card-loc {
  margin-left: auto; font-family: var(--mono); font-size: 10.5px; color: #777;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); padding: 2px 7px; border-radius: 5px;
  max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.card-title { margin: 0 0 8px; font-size: 14px; line-height: 1.45; font-weight: 650; }
.card-field { margin: 0 0 7px; font-size: 12.5px; color: #888; }
.card-field b { color: var(--text); font-size: 10px; display: block; margin-bottom: 2px; text-transform: uppercase; letter-spacing: .11em; }

/* failure card */
.fail-card { padding: 24px; text-align: center; animation: rise .4s ease both; }
.fail-icon { width: 32px; height: 32px; margin: 0 auto 8px; color: var(--err); }
.fail-card h3 { margin: 0 0 5px; }
.fail-card p { color: var(--muted); font-size: 13.5px; max-width: 60ch; margin: 0 auto; word-break: break-word; }

/* OMNI banner — the CTA */
.omni-banner {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 16px; z-index: 30;
  width: min(960px, calc(100vw - 24px));
  display: flex; gap: 24px; align-items: center;
  padding: 18px 22px; border-radius: 16px; border: 1px solid rgba(139,124,246,.22);
  background: linear-gradient(135deg, rgba(23,18,40,.96), rgba(13,13,16,.94));
  backdrop-filter: var(--glass); -webkit-backdrop-filter: var(--glass);
  box-shadow: 0 24px 70px rgba(0,0,0,.5), 0 0 0 1px rgba(109,40,217,.08) inset;
  animation: omniIn .6s .5s var(--ease-ios) both;
}
@keyframes omniIn { from { opacity: 0; transform: translate(-50%, 24px); } to { opacity: 1; transform: translate(-50%, 0); } }
.omni-close {
  position: absolute; top: 8px; right: 10px; border: 0; background: none; color: var(--faint);
  font-size: 12px; cursor: pointer; padding: 4px 5px;
}
.omni-close:hover { color: var(--text); }
.omni-copy { flex: 1 1 auto; min-width: 0; }
.omni-eyebrow {
  font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-dim); margin-bottom: 5px;
}
.omni-copy h3 { margin: 0 0 10px; font-size: 16px; letter-spacing: -.01em; }
.omni-copy p { margin: 9px 0 0; color: var(--muted); font-size: 12px; }
.omni-steps {
  list-style: none; display: flex; align-items: center; gap: 0;
  margin: 0; padding: 0; white-space: nowrap; overflow-x: auto; scrollbar-width: none;
}
.omni-steps::-webkit-scrollbar { display: none; }
.omni-steps li {
  font-size: 11px; font-weight: 600; color: var(--muted); padding: 3px 8px; border-radius: 999px;
  border: 1px solid var(--border); background: rgba(255,255,255,.02); flex: none;
}
.omni-steps li + li::before {
  content: "→"; margin: 0 5px 0 0; color: var(--faint); font-weight: 400;
}
.omni-steps li.omni-hot {
  color: #fff; background: var(--grad); border-color: transparent;
  box-shadow: 0 0 14px rgba(109,40,217,.35);
}
.omni-steps li.omni-hot i { font-style: normal; opacity: .75; font-weight: 500; }
.omni-form { flex: 0 0 270px; }
.omni-form label {
  display: block; font-size: 12.5px; font-weight: 700; color: var(--text); margin-bottom: 8px;
  letter-spacing: -.005em;
}
.omni-row { display: flex; gap: 7px; }
.omni-row input {
  flex: 1; min-width: 0; padding: 9px 11px; font-size: 13.5px; color: var(--text);
  background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: 8px; outline: none;
}
.omni-row input:focus { border-color: var(--accent); }
.omni-feedback { min-height: 16px; font-size: 12px; margin-top: 5px; color: var(--ok); }

/* toast */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 60;
  background: rgba(13,13,16,.95); border: 1px solid var(--border); color: var(--text);
  padding: 11px 18px; border-radius: 9px; font-size: 13.5px; animation: rise .3s ease both;
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
}
.toast.error { border-color: rgba(229,72,77,.35); color: #fecdd3; }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (max-width: 720px) {
  .home-main, .detail-main, .top { padding-left: 16px; padding-right: 16px; }
  .queue-banner { flex-direction: column; align-items: flex-start; }
  .verdict-hero { padding: 18px; }
  .omni-banner { position: static; width: auto; margin: 0 16px 90px; transform: none; animation: rise .5s ease both; flex-direction: column; align-items: stretch; }
  .omni-form { flex: 1 1 auto; }
}
