/*
 * Run402 Console — design language grown from apps/marketing/humans/index.html
 * so the console reads as part of the product (add-operator-console, Decision 8).
 * Tokens: #0A0A0F bg / #00FF9F accent / #12121A cards / #1E1E2A borders /
 * #E0E0E0 + #9CA3AF text. Inter (prose) + JetBrains Mono (code-shaped values).
 */
:root {
  --bg: #0A0A0F;
  --bg-raise: #0D0D14;
  --accent: #00FF9F;
  --accent-dim: rgba(0, 255, 159, 0.55);
  --cyan: #38BDF8;
  --violet: #A78BFA;
  --card: #12121A;
  --card-raise: #161622;
  --border: #1E1E2A;
  --border-bright: #2A2A3A;
  --text: #E6E6EB;
  --muted: #9CA3AF;
  --faint: #6B7280;
  --warn: #FBBF24;
  --danger: #F87171;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --sans: 'Inter', system-ui, sans-serif;
  --radius: 12px;
  --ring: 0 0 0 1px rgba(255,255,255,.08);
  --ring-hover: 0 0 0 1px rgba(255,255,255,.13);
  --shadow: var(--ring), 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.35);
  --shadow-hover: var(--ring-hover), 0 1px 2px rgba(0,0,0,.45), 0 12px 32px rgba(0,0,0,.38);
  --glow: 0 0 0 1px rgba(0,255,159,.25), 0 0 24px rgba(0,255,159,.12);
  --ease: cubic-bezier(.22,.9,.3,1);
}

* { box-sizing: border-box; }
::selection { background: rgba(0,255,159,.25); }

html {
  height: 100%;
  /* Reserve the vertical-scrollbar gutter at all times so the centered .wrap
     (margin: 0 auto) doesn't jump left/right when a view's content height
     toggles the scrollbar between tabs. No-op under macOS overlay scrollbars;
     stops the shift wherever scrollbars take layout width. */
  scrollbar-gutter: stable;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
}

/* Ambient strands canvas sits behind everything. */
#strands {
  position: fixed; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: .5;
  transition: opacity .8s var(--ease);
}
body[data-view="login"] #strands,
body[data-view="device"] #strands,
body[data-view="cli"] #strands { opacity: 1; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ───────────────────────── layout chrome ───────────────────────── */

.wrap {
  flex: 1;
  width: 100%;
  max-width: 1020px;
  margin: 0 auto;
  padding: 28px 22px 64px;
  position: relative;
  z-index: 1;
}

header.topbar {
  display: flex; align-items: center; gap: 22px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 20;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(10px);
}
.brand { font-family: var(--mono); font-weight: 600; font-size: 15px; letter-spacing: 0; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand .accent { color: var(--accent); }
.brand .sub { color: var(--muted); font-weight: 400; margin-left: 9px; font-size: 12.5px; }

.topnav { display: flex; gap: 4px; margin-left: 6px; }
.topnav a {
  color: var(--muted); font-size: 13.5px; font-weight: 500;
  padding: 6px 12px; border-radius: 8px;
}
.topnav a:hover { color: var(--text); background: rgba(255,255,255,.05); text-decoration: none; }
.topnav a.active { color: var(--accent); background: rgba(0,255,159,.08); }

.identity { margin-left: auto; display: flex; align-items: center; gap: 10px; min-width: 0; }
.avatar {
  width: 30px; height: 30px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(0,255,159,.25), rgba(56,189,248,.2));
  border: 1px solid rgba(0,255,159,.35);
  color: var(--accent); font-weight: 700; font-size: 13px; font-family: var(--mono);
  flex: none;
}
.who { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.who-name { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; }
.who-sub { font-size: 11px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; }

footer.footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  padding: 16px 22px;
  color: var(--faint); font-size: 12.5px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  background: rgba(10,10,15,.7);
}
.footer-links { display: flex; gap: 16px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--accent); }

/* ───────────────────────── type ───────────────────────── */

h1 { font-size: 27px; font-weight: 750; letter-spacing: 0; margin: 6px 0 6px; text-wrap: balance; }
h1 .accent { color: var(--accent); }
h2 { font-size: 17px; font-weight: 650; margin: 26px 0 10px; letter-spacing: 0; text-wrap: balance; }
h3 { font-size: 12.5px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0; margin: 18px 0 8px; }
.lede { color: var(--muted); margin: 0 0 18px; max-width: 62ch; text-wrap: pretty; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: 13px; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.ok { color: var(--accent); }
.err { color: var(--danger); }
.nowrap { white-space: nowrap; }

/* ───────────────────────── surfaces ───────────────────────── */

.card {
  background: linear-gradient(180deg, var(--card-raise), var(--card));
  border: 1px solid rgba(255,255,255,.035);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 14px 0;
  box-shadow: var(--shadow);
}
.card.tight { padding: 12px 16px; }
.card.clickable {
  cursor: pointer;
  transition-property: transform, border-color, box-shadow;
  transition-duration: 180ms;
  transition-timing-function: var(--ease);
}
.card.clickable:hover { transform: translateY(-2px); border-color: rgba(0,255,159,.35); box-shadow: var(--shadow-hover), var(--glow); }
.card.clickable:active { transform: translateY(0) scale(.996); }

.callout {
  font-size: 13px; color: var(--muted);
  border: 1px dashed var(--border-bright); border-radius: 10px;
  padding: 12px 14px; margin: 14px 0;
  background: rgba(255,255,255,.015);
}
.callout strong { color: var(--text); }

.banner {
  border: 1px solid rgba(0,255,159,.3);
  background: linear-gradient(180deg, rgba(0,255,159,.08), rgba(0,255,159,.03));
  border-radius: var(--radius); padding: 14px 18px; margin: 14px 0;
}

.advisory { border-left: 3px solid var(--warn); padding: 9px 13px; margin: 8px 0; background: rgba(251, 191, 36, 0.06); border-radius: 0 8px 8px 0; font-size: 13px; }
.advisory.danger { border-left-color: var(--danger); background: rgba(248, 113, 113, 0.06); }

.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); margin: 14px 0; }
.grid > .card { margin: 0; }

/* ───────────────────────── badges & chips ───────────────────────── */

.badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(0, 255, 159, 0.1); color: var(--accent);
  border: 1px solid rgba(0, 255, 159, 0.25); border-radius: 999px;
  padding: 1.5px 10px; font-family: var(--mono); font-size: 11.5px; line-height: 1.7;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.badge.warn { background: rgba(251, 191, 36, 0.1); color: var(--warn); border-color: rgba(251, 191, 36, 0.3); }
.badge.danger { background: rgba(248, 113, 113, 0.1); color: var(--danger); border-color: rgba(248, 113, 113, 0.3); }
.badge.neutral { background: rgba(156, 163, 175, 0.08); color: var(--muted); border-color: var(--border-bright); }
.badge.violet { background: rgba(167, 139, 250, 0.1); color: var(--violet); border-color: rgba(167, 139, 250, 0.3); }
.badge.cyan { background: rgba(56, 189, 248, 0.1); color: var(--cyan); border-color: rgba(56, 189, 248, 0.3); }

.lease-perpetual {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 27px; max-width: 100%;
  border: 1px solid rgba(0,255,159,.38); border-radius: 999px;
  padding: 2px 11px 2px 7px;
  background:
    linear-gradient(135deg, rgba(0,255,159,.17), rgba(56,189,248,.09) 54%, rgba(167,139,250,.12)),
    rgba(0,255,159,.025);
  color: var(--text);
  box-shadow: 0 0 0 1px rgba(255,255,255,.025) inset, 0 0 22px rgba(0,255,159,.11);
  font-family: var(--mono); font-size: 11.5px; line-height: 1.35;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.lease-perpetual::after {
  content: "";
  position: absolute; inset: 0 auto 0 -45%;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
  transform: skewX(-18deg);
  animation: leaseShine 4.8s var(--ease) infinite;
  pointer-events: none;
}
.lease-perpetual-mark {
  width: 19px; height: 19px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(0,255,159,.14);
  border: 1px solid rgba(0,255,159,.32);
  color: var(--accent);
  font-size: 14px; font-weight: 800;
  box-shadow: 0 0 14px rgba(0,255,159,.14);
}
.lease-perpetual strong { color: var(--accent); font-weight: 700; }
.lease-perpetual.full {
  width: fit-content;
  margin-top: 10px; padding: 9px 13px 9px 10px;
  border-radius: 12px;
  font-family: var(--sans); font-size: 13px;
  white-space: normal;
}
.lease-perpetual.full .lease-perpetual-mark {
  width: 28px; height: 28px; font-size: 19px;
}
.lease-perpetual-copy { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.lease-perpetual-copy span { color: var(--muted); font-size: 12px; }

.copy-block {
  font-family: var(--mono); font-size: 12px; color: var(--muted);
  background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: 7px;
  padding: 3px 9px; cursor: pointer; display: inline-flex; align-items: center; gap: 7px;
  font-variant-numeric: tabular-nums;
  transition-property: transform, border-color, color, box-shadow;
  transition-duration: 150ms;
  transition-timing-function: var(--ease);
  max-width: 100%;
}
.copy-block > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.copy-block:hover { border-color: rgba(0,255,159,.4); color: var(--text); box-shadow: var(--ring); }
.copy-block:active { transform: scale(.96); }
.copy-block .hint { color: var(--faint); font-size: 10.5px; flex: none; }
.copy-block.copied { border-color: var(--accent); color: var(--accent); }
.copy-block.copied .hint { color: var(--accent); }

/* ───────────────────────── controls ───────────────────────── */

button.btn, a.btn {
  font-family: var(--sans); font-size: 14px; font-weight: 550; cursor: pointer;
  background: rgba(0, 255, 159, 0.14); color: var(--accent);
  border: 1px solid rgba(0, 255, 159, 0.32); border-radius: 9px; padding: 9px 16px;
  min-height: 40px;
  transition-property: transform, background-color, border-color, box-shadow, color;
  transition-duration: 150ms;
  transition-timing-function: var(--ease);
  display: inline-flex; align-items: center; gap: 8px; line-height: 1.3;
}
button.btn:hover, a.btn:hover { background: rgba(0, 255, 159, 0.24); box-shadow: 0 0 16px rgba(0,255,159,.15); text-decoration: none; }
button.btn:active, a.btn:active { transform: scale(.96); }
button.btn.ghost { background: transparent; color: var(--muted); border-color: var(--border-bright); box-shadow: none; }
button.btn.ghost:hover { background: rgba(255, 255, 255, 0.05); color: var(--text); }
button.btn.danger { background: rgba(248,113,113,.1); color: var(--danger); border-color: rgba(248,113,113,.35); }
button.btn.danger:hover { background: rgba(248,113,113,.2); box-shadow: none; }
button.btn.compact { padding: 5px 11px; font-size: 12.5px; border-radius: 7px; min-height: 32px; position: relative; }
button.btn.compact::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100%, 40px);
  height: 40px;
  transform: translate(-50%, -50%);
}
button.btn:disabled { opacity: 0.45; cursor: default; transform: none; box-shadow: none; }
button.btn.block { width: 100%; justify-content: center; padding: 11px 16px; }

button.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent-dim); outline-offset: 2px;
}

input[type=email], input[type=text], input[type=search], select.input, textarea.input {
  font-family: var(--sans); font-size: 14px; width: 100%; max-width: 360px;
  background: var(--bg-raise); color: var(--text); border: 1px solid var(--border);
  border-radius: 9px; padding: 9px 12px; margin: 0;
  transition-property: border-color, box-shadow;
  transition-duration: 150ms;
  transition-timing-function: var(--ease);
}
input::placeholder { color: var(--faint); }
input:focus, select.input:focus, textarea.input:focus { outline: none; border-color: rgba(0, 255, 159, 0.5); box-shadow: var(--ring); }
select.input { width: auto; cursor: pointer; }
textarea.input { max-width: none; min-height: 106px; resize: vertical; font-family: var(--mono); line-height: 1.45; }

.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.spread { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.stack { display: flex; flex-direction: column; gap: 8px; }

.note { min-height: 18px; font-size: 13px; margin-top: 8px; }
.note.err { color: var(--danger); }
.note.ok { color: var(--accent); }

/* ───────────────────────── tabs ───────────────────────── */

.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--border); margin: 18px 0 0; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button {
  appearance: none; background: none; border: none; cursor: pointer;
  font-family: var(--sans); font-size: 14px; font-weight: 550; color: var(--muted);
  padding: 9px 14px; border-bottom: 2px solid transparent; margin-bottom: -1px;
  min-height: 40px;
  transition-property: color, border-color;
  transition-duration: 150ms;
  transition-timing-function: var(--ease);
  white-space: nowrap;
}
.tabs button:hover { color: var(--text); }
.tabs button.active { color: var(--accent); border-bottom-color: var(--accent); }
.tabs button .count { color: var(--faint); font-size: 12px; margin-left: 5px; font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ───────────────────────── tables ───────────────────────── */

.table { width: 100%; border-collapse: collapse; margin: 10px 0 4px; font-size: 13.5px; }
.table th {
  text-align: left; font-size: 11.5px; font-weight: 600; color: var(--faint);
  text-transform: uppercase; letter-spacing: 0;
  padding: 7px 12px 7px 0; border-bottom: 1px solid var(--border);
}
.table td { padding: 9px 12px 9px 0; border-bottom: 1px solid rgba(30,30,42,.6); vertical-align: middle; }
.table tr:last-child td { border-bottom: none; }
.table td.mono, .table th.mono { font-family: var(--mono); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.table td.time { font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.table .actions { text-align: right; white-space: nowrap; }
.table tr.hoverable:hover td { background: rgba(255,255,255,.015); }

/* ───────────────────────── quotas / usage ───────────────────────── */

.quota { margin: 9px 0; }
.quota .label { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); margin-bottom: 5px; gap: 10px; }
.quota .label .val { font-family: var(--mono); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.quota .bar { height: 7px; background: var(--bg-raise); border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.quota .fill {
  height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, rgba(0,255,159,.7), var(--accent));
  width: 0;
  transition: width .9s var(--ease);
}
.quota .fill.warn { background: linear-gradient(90deg, rgba(251,191,36,.7), var(--warn)); }
.quota .fill.danger { background: linear-gradient(90deg, rgba(248,113,113,.7), var(--danger)); }

.stat-row { display: flex; gap: 26px; flex-wrap: wrap; margin: 10px 0; }
.stat { display: flex; flex-direction: column; }
.stat .num { font-family: var(--mono); font-size: 21px; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.stat .lbl { font-size: 11.5px; color: var(--faint); text-transform: uppercase; letter-spacing: 0; }

/* ───────────────────────── project rows ───────────────────────── */

.proj { border-top: 1px solid var(--border); padding: 13px 0; }
.proj:first-child { border-top: none; padding-top: 4px; }
.proj.muted-row { opacity: .55; }
.project-link { color: var(--text); font-weight: 650; }
.project-link:hover { color: var(--accent); text-decoration: none; }
.counts { display: flex; gap: 14px; flex-wrap: wrap; font-family: var(--mono); font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.counts b { color: var(--text); font-weight: 600; }

.kv {
  display: grid;
  grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
  gap: 9px 14px;
  margin-top: 8px;
}
.kv .k { color: var(--faint); font-size: 12px; text-transform: uppercase; letter-spacing: 0; }
.kv .v { min-width: 0; color: var(--text); }

/* ───────────────────────── login ───────────────────────── */

.auth-hero { max-width: 460px; margin: 7vh auto 0; }
.auth-hero h1 { font-size: 31px; }
.auth-card { margin-top: 22px; }
.method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.method-btn {
  appearance: none; cursor: pointer; text-align: left;
  background: rgba(255,255,255,.025); color: var(--text);
  border: 1px solid var(--border-bright); border-radius: 10px;
  padding: 12px 14px; font-family: var(--sans); font-size: 14px; font-weight: 550;
  display: flex; align-items: center; gap: 10px;
  min-height: 44px;
  transition-property: transform, border-color, background-color, color, box-shadow;
  transition-duration: 150ms;
  transition-timing-function: var(--ease);
}
.method-btn .ico { font-size: 17px; width: 22px; text-align: center; flex: none; }
.method-btn:hover { border-color: rgba(0,255,159,.45); background: rgba(0,255,159,.06); box-shadow: var(--ring); transform: translateY(-1px); }
.method-btn:active { transform: scale(.96); }
.method-btn.primary { border-color: rgba(0,255,159,.4); background: rgba(0,255,159,.08); color: var(--accent); }
.method-btn:disabled { opacity: .5; cursor: default; }

.inbox-art { font-size: 40px; margin: 4px 0 8px; }

/* ───────────────────────── auth methods table-ish rows ───────────────────────── */

.method-row {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 0; border-top: 1px solid rgba(30,30,42,.7);
}
.method-row:first-child { border-top: none; }
.method-row .ico {
  width: 34px; height: 34px; border-radius: 9px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.03); border: 1px solid var(--border);
  font-size: 16px;
}
.method-row .body { flex: 1; min-width: 0; }
.method-row .title { font-size: 14px; font-weight: 600; }
.method-row .sub { font-size: 12px; color: var(--faint); font-family: var(--mono); }

/* ───────────────────────── modal ───────────────────────── */

.modal-backdrop {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(5,5,9,.7); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  animation: fadeIn .2s var(--ease);
}
.modal {
  background: var(--card-raise); border: 1px solid var(--border-bright);
  border-radius: 14px; box-shadow: var(--shadow-hover), var(--glow);
  max-width: 520px; width: 100%; max-height: 86dvh; overflow: auto;
  padding: 22px 24px;
  animation: riseIn .25s var(--ease);
}
.project-key-grid { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.project-key-row {
  display: grid; grid-template-columns: 86px minmax(0, 1fr) auto; gap: 8px; align-items: center;
}
.project-key-value {
  display: block; min-width: 0; overflow-x: auto; white-space: nowrap;
  background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: 7px;
  padding: 6px 8px; color: var(--text); font-size: 12px; font-variant-numeric: tabular-nums;
}
.key-dump { margin-top: 6px; }
.codes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 14px 0; }
.codes-grid .copy-block { justify-content: center; }

/* ───────────────────────── toasts ───────────────────────── */

.toasts { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.toast {
  pointer-events: auto;
  background: var(--card-raise); border: 1px solid var(--border-bright);
  border-left: 3px solid var(--accent);
  color: var(--text); font-size: 13.5px;
  border-radius: 10px; padding: 11px 16px; min-width: 220px; max-width: 360px;
  box-shadow: var(--shadow-hover);
  animation: toastIn .3s var(--ease);
}
.toast.err { border-left-color: var(--danger); }
.toast.leaving { animation: toastOut .25s var(--ease) forwards; }

/* ───────────────────────── skeletons ───────────────────────── */

.skel { border-radius: 8px; background: linear-gradient(100deg, rgba(255,255,255,.04) 40%, rgba(255,255,255,.09) 50%, rgba(255,255,255,.04) 60%); background-size: 200% 100%; animation: shimmer 1.4s infinite linear; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ───────────────────────── motion ───────────────────────── */

@keyframes fadeIn { from { opacity: 0; } }
@keyframes riseIn { from { opacity: 0; transform: translateY(10px); } }
@keyframes toastIn { from { opacity: 0; transform: translateY(8px) scale(.97); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(6px) scale(.98); } }
@keyframes leaseShine { 0%, 54% { left: -45%; opacity: 0; } 64% { opacity: 1; } 86%, 100% { left: 120%; opacity: 0; } }

.rise { animation: riseIn .45s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 60ms); }

.hidden { display: none !important; }

/* ───────────────────── Buzz human-adoption handoff ───────────────────── */
.buzz-adoption { max-width: 620px; }
.buzz-effects { margin: 18px 0; padding-left: 22px; color: var(--muted); line-height: 1.65; }
.buzz-effects li + li { margin-top: 7px; }
.buzz-effects strong { color: var(--text); }
.buzz-code-card { margin: 18px 0 12px; text-align: center; }
.buzz-code {
  margin: 8px 0; font-family: var(--mono); font-size: clamp(34px, 10vw, 54px);
  font-weight: 700; line-height: 1; letter-spacing: .14em; color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.buzz-expiry { font-variant-numeric: tabular-nums; }
.buzz-advanced { margin-top: 18px; border-top: 1px solid var(--border); padding-top: 14px; }
.buzz-advanced summary { cursor: pointer; color: var(--muted); font-size: 13px; }
.buzz-advanced textarea { width: 100%; margin: 10px 0; resize: vertical; font-family: var(--mono); font-size: 12px; }

@media (max-width: 720px) {
  .wrap { padding: 20px 16px 48px; }
  h1 { font-size: 23px; }
  .auth-hero { margin-top: 3vh; }
  .who { display: none; }
  .method-grid { grid-template-columns: 1fr; }
  .table .hide-sm { display: none; }
  header.topbar { gap: 10px; padding: 12px 14px; }
  .brand .sub { display: none; }
  .topnav { margin-left: 0; }
  .topnav a { padding: 6px 9px; }
  .identity { gap: 7px; }
  .project-key-row { grid-template-columns: 1fr; }
  .project-key-row .btn { justify-content: center; }
  .kv { grid-template-columns: 1fr; gap: 3px; }
  .kv .v { margin-bottom: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  #strands { opacity: .25 !important; }
}
