:root {
  --bg: #07040b;
  --bg-deep: #0f0916;
  --panel: rgba(17, 12, 27, 0.86);
  --panel-soft: rgba(24, 16, 38, 0.9);
  --panel-bright: rgba(32, 22, 49, 0.94);
  --border: rgba(255, 190, 92, 0.16);
  --text: #fff8f1;
  --muted: #c9bfd7;
  --gold: #ffbe5c;
  --lime: #7af8b2;
  --rose: #ff6b9d;
  --cyan: #56d6ff;
  --violet: #7b79ff;
  --ink: #120d1d;
  --shadow: 0 32px 120px rgba(3, 1, 8, 0.58);
  --grid-line: rgba(255, 255, 255, 0.05);
  --select-menu-bg: #130f1d;
  --select-menu-text: #fff8f1;
  --select-menu-accent: #ffbe5c;
  --select-menu-accent-text: #120d1d;
}

body[data-theme="liquid-gold"] {
  --bg: #1a1208;
  --bg-deep: #2b1a0d;
  --panel: rgba(48, 29, 12, 0.84);
  --panel-soft: rgba(58, 34, 13, 0.9);
  --panel-bright: rgba(76, 45, 18, 0.94);
  --border: rgba(255, 214, 120, 0.24);
  --text: #fff6de;
  --muted: #e0c79d;
  --gold: #ffd36f;
  --lime: #fff0bf;
  --rose: #ff9a5c;
  --cyan: #f7c978;
  --ink: #201207;
}

body[data-theme="founder-split"] {
  --bg: #070913;
  --bg-deep: #121a34;
  --panel: rgba(16, 23, 44, 0.88);
  --panel-soft: rgba(22, 32, 60, 0.92);
  --panel-bright: rgba(30, 45, 82, 0.96);
  --border: rgba(112, 235, 255, 0.22);
  --text: #f6fbff;
  --muted: #c3d4ea;
  --gold: #71ebff;
  --lime: #ffd77a;
  --rose: #ffab74;
  --cyan: #53d8ff;
  --violet: #8390ff;
  --ink: #08101d;
}

body[data-theme="aqua-grid"] {
  --bg: #041018;
  --bg-deep: #0a1f2a;
  --panel: rgba(8, 23, 34, 0.86);
  --panel-soft: rgba(10, 31, 44, 0.9);
  --panel-bright: rgba(14, 40, 56, 0.94);
  --border: rgba(86, 214, 255, 0.18);
  --gold: #76e4ff;
  --lime: #93ffd8;
  --rose: #62f2ff;
  --cyan: #56d6ff;
}

body[data-theme="sol-surge"] {
  --bg: #060711;
  --bg-deep: #11142a;
  --panel: rgba(12, 20, 44, 0.86);
  --panel-soft: rgba(16, 28, 58, 0.9);
  --panel-bright: rgba(22, 38, 76, 0.94);
  --border: rgba(117, 255, 203, 0.18);
  --text: #eff9ff;
  --muted: #bfd3f2;
  --gold: #7cffb2;
  --lime: #94ffd0;
  --rose: #cf8cff;
  --cyan: #59d6ff;
  --violet: #8e7dff;
  --ink: #07101d;
}

body[data-theme="paper-light"] {
  --bg: #eff2f6;
  --bg-deep: #dbe4ed;
  --panel: rgba(255, 255, 255, 0.82);
  --panel-soft: rgba(249, 251, 255, 0.9);
  --panel-bright: rgba(255, 255, 255, 0.96);
  --border: rgba(48, 63, 87, 0.12);
  --text: #19202b;
  --muted: #5b6777;
  --gold: #3b5ea8;
  --lime: #12836a;
  --rose: #b05c7c;
  --cyan: #2e7fa8;
  --violet: #6f6ad8;
  --ink: #111827;
  --grid-line: rgba(25, 32, 43, 0.06);
  --shadow: 0 28px 70px rgba(118, 137, 166, 0.2);
  --select-menu-bg: #f4f7fb;
  --select-menu-text: #19202b;
  --select-menu-accent: #3b5ea8;
  --select-menu-accent-text: #f8fbff;
}

body[data-theme="blackout"] {
  --bg: #000000;
  --bg-deep: #010102;
  --panel: rgba(0, 0, 0, 0.94);
  --panel-soft: rgba(3, 4, 6, 0.97);
  --panel-bright: rgba(8, 10, 14, 0.985);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f7f9fc;
  --muted: #8f99a8;
  --gold: #edf5ff;
  --lime: #b7f1ff;
  --rose: #9eacff;
  --cyan: #94e9ff;
  --violet: #97a2ff;
  --ink: #000000;
  --shadow: 0 36px 120px rgba(0, 0, 0, 0.78);
  --grid-line: rgba(255, 255, 255, 0.025);
}

body[data-theme="red-matrix"] {
  --bg: #060303;
  --bg-deep: #170607;
  --panel: rgba(16, 4, 5, 0.92);
  --panel-soft: rgba(24, 7, 8, 0.95);
  --panel-bright: rgba(40, 10, 12, 0.98);
  --border: rgba(255, 86, 86, 0.18);
  --text: #fff3ef;
  --muted: #d9b7b2;
  --gold: #f2b44f;
  --lime: #ffb473;
  --rose: #ff5e5e;
  --cyan: #ff8b76;
  --violet: #d85d5d;
  --ink: #090202;
  --shadow: 0 36px 120px rgba(0, 0, 0, 0.74);
  --grid-line: rgba(255, 96, 96, 0.05);
}

body[data-theme="simdex-launch"] {
  --bg: #14060f;
  --bg-deep: #29111f;
  --panel: rgba(34, 13, 30, 0.88);
  --panel-soft: rgba(48, 19, 39, 0.92);
  --panel-bright: rgba(66, 24, 50, 0.95);
  --border: rgba(255, 127, 176, 0.22);
  --gold: #ff96bb;
  --lime: #ffd8a8;
  --rose: #ff6f9e;
  --cyan: #ffb071;
}

body[data-theme="rose-voltage"] {
  --bg: #120710;
  --bg-deep: #2a1028;
  --panel: rgba(40, 15, 39, 0.88);
  --panel-soft: rgba(58, 22, 56, 0.92);
  --panel-bright: rgba(80, 28, 73, 0.96);
  --border: rgba(255, 124, 196, 0.24);
  --text: #fff3fb;
  --muted: #e5bdd7;
  --gold: #ff84cc;
  --lime: #ffc4e4;
  --rose: #ff5fa8;
  --cyan: #ff9de1;
  --violet: #b37cff;
  --ink: #160915;
}

body[data-theme="arctic-signal"] {
  --bg: #ebf5fa;
  --bg-deep: #d8e8f3;
  --panel: rgba(255, 255, 255, 0.84);
  --panel-soft: rgba(247, 251, 255, 0.92);
  --panel-bright: rgba(255, 255, 255, 0.98);
  --border: rgba(69, 108, 142, 0.14);
  --text: #14202d;
  --muted: #617384;
  --gold: #2f79b3;
  --lime: #18838d;
  --rose: #5fa2d8;
  --cyan: #4eb7d8;
  --violet: #7f88db;
  --ink: #101926;
  --grid-line: rgba(20, 32, 45, 0.06);
  --shadow: 0 28px 72px rgba(103, 130, 153, 0.18);
  --select-menu-bg: #f4f8fc;
  --select-menu-text: #14202d;
  --select-menu-accent: #2f79b3;
  --select-menu-accent-text: #f5fbff;
}

body[data-theme="ember-terminal"] {
  --bg: #110806;
  --bg-deep: #25110b;
  --panel: rgba(35, 17, 12, 0.9);
  --panel-soft: rgba(51, 23, 14, 0.93);
  --panel-bright: rgba(73, 33, 18, 0.97);
  --border: rgba(255, 148, 94, 0.24);
  --text: #fff4ee;
  --muted: #ddb6a8;
  --gold: #ff9a54;
  --lime: #ffc18c;
  --rose: #ff7b5f;
  --cyan: #ffb17e;
  --violet: #c3785d;
  --ink: #180b07;
}

body[data-theme="velvet-casino"] {
  --bg: #130815;
  --bg-deep: #26102a;
  --panel: rgba(31, 12, 34, 0.9);
  --panel-soft: rgba(44, 17, 49, 0.93);
  --panel-bright: rgba(63, 24, 69, 0.97);
  --border: rgba(215, 137, 255, 0.2);
  --text: #faf0ff;
  --muted: #d3b8df;
  --gold: #d98dff;
  --lime: #ffd48f;
  --rose: #ff8aca;
  --cyan: #a987ff;
  --violet: #8e6dff;
  --ink: #140916;
}

body[data-theme="aurora-pulse"] {
  --bg: #04110f;
  --bg-deep: #0d2320;
  --panel: rgba(8, 29, 25, 0.88);
  --panel-soft: rgba(10, 40, 35, 0.92);
  --panel-bright: rgba(14, 58, 49, 0.96);
  --border: rgba(103, 255, 208, 0.22);
  --text: #f0fffb;
  --muted: #b5dacf;
  --gold: #72ffd2;
  --lime: #9dffb3;
  --rose: #56d6ff;
  --cyan: #61d7ff;
  --violet: #77b6ff;
  --ink: #071513;
}

body[data-theme="graphite-mint"] {
  --bg: #05090a;
  --bg-deep: #11191b;
  --panel: rgba(13, 20, 22, 0.9);
  --panel-soft: rgba(18, 28, 30, 0.93);
  --panel-bright: rgba(28, 42, 45, 0.96);
  --border: rgba(118, 240, 212, 0.16);
  --text: #eff8f7;
  --muted: #b7c8c8;
  --gold: #80ffd6;
  --lime: #96ffd0;
  --rose: #83d5b5;
  --cyan: #63c7be;
  --violet: #7b9ed9;
  --ink: #050a0a;
}

body[data-theme="royal-circuit"] {
  --bg: #070813;
  --bg-deep: #151738;
  --panel: rgba(14, 17, 45, 0.9);
  --panel-soft: rgba(18, 22, 62, 0.93);
  --panel-bright: rgba(26, 31, 90, 0.96);
  --border: rgba(122, 143, 255, 0.22);
  --text: #f3f5ff;
  --muted: #bdc6ef;
  --gold: #95a3ff;
  --lime: #d4bbff;
  --rose: #7f8fff;
  --cyan: #66b1ff;
  --violet: #7a7fff;
  --ink: #090a18;
}

body[data-theme="cherry-bloom"] {
  --bg: #17090d;
  --bg-deep: #2f1116;
  --panel: rgba(41, 15, 22, 0.88);
  --panel-soft: rgba(56, 20, 31, 0.92);
  --panel-bright: rgba(79, 28, 43, 0.96);
  --border: rgba(255, 137, 167, 0.2);
  --text: #fff3f7;
  --muted: #e1bcc7;
  --gold: #ff9db3;
  --lime: #ffd1df;
  --rose: #ff7298;
  --cyan: #ffb3c7;
  --violet: #dd85aa;
  --ink: #19090d;
}

body[data-theme="ice-prism"] {
  --bg: #f1f8fc;
  --bg-deep: #ddeaf4;
  --panel: rgba(255, 255, 255, 0.86);
  --panel-soft: rgba(248, 252, 255, 0.94);
  --panel-bright: rgba(255, 255, 255, 0.99);
  --border: rgba(93, 121, 147, 0.13);
  --text: #13202d;
  --muted: #657789;
  --gold: #5c9de1;
  --lime: #4bc7cc;
  --rose: #7f9cff;
  --cyan: #65d7ff;
  --violet: #8ca6eb;
  --ink: #101924;
  --grid-line: rgba(19, 32, 45, 0.06);
  --shadow: 0 28px 70px rgba(122, 146, 171, 0.2);
  --select-menu-bg: #f6faff;
  --select-menu-text: #13202d;
  --select-menu-accent: #5c9de1;
  --select-menu-accent-text: #f5fbff;
}

body[data-theme="copper-grid"] {
  --bg: #130b08;
  --bg-deep: #291710;
  --panel: rgba(39, 22, 14, 0.89);
  --panel-soft: rgba(55, 29, 17, 0.93);
  --panel-bright: rgba(79, 42, 24, 0.96);
  --border: rgba(215, 145, 99, 0.22);
  --text: #fff4ee;
  --muted: #dec1b0;
  --gold: #d68a54;
  --lime: #f6d4b0;
  --rose: #ff9b7a;
  --cyan: #e7b382;
  --violet: #b57d5a;
  --ink: #190d08;
}

body[data-theme="holiday-special"] {
  --shadow: 0 34px 120px rgba(7, 5, 15, 0.52);
  --grid-line: rgba(255, 255, 255, 0.05);
  --select-menu-bg: color-mix(in srgb, var(--bg-deep) 88%, black);
  --select-menu-text: var(--text);
  --select-menu-accent: var(--gold);
  --select-menu-accent-text: var(--ink);
  --holiday-shell-bg: linear-gradient(135deg, var(--bg) 0%, var(--bg-deep) 62%, color-mix(in srgb, var(--bg-deep) 72%, var(--ink) 28%) 100%);
  --holiday-shell-glow:
    radial-gradient(circle at 14% 0%, rgba(255, 190, 92, 0.28), transparent 30%),
    radial-gradient(circle at 86% 14%, rgba(86, 214, 255, 0.22), transparent 26%),
    radial-gradient(circle at 48% 100%, rgba(255, 107, 157, 0.2), transparent 36%);
  --holiday-pattern-image: none;
  --holiday-pattern-size: 272px 272px;
  --holiday-pattern-opacity: 0.92;
  background:
    var(--holiday-shell-glow),
    var(--holiday-shell-bg);
  background-attachment: fixed;
}

body[data-theme="liquid-gold"][data-text-tone="accent"] {
  --text: #ffe7aa;
  --muted: #f1d7ac;
}

body[data-theme="aqua-grid"][data-text-tone="accent"],
body[data-theme="founder-split"][data-text-tone="accent"],
body[data-theme="sol-surge"][data-text-tone="accent"],
body[data-theme="simdex-launch"][data-text-tone="accent"] {
  --text: #d4fbff;
  --muted: #8dd8ea;
}

body[data-theme="aqua-grid"][data-text-tone="light"],
body[data-theme="founder-split"][data-text-tone="light"],
body[data-theme="sol-surge"][data-text-tone="light"],
body[data-theme="simdex-launch"][data-text-tone="light"],
body[data-theme="blackout"][data-text-tone="light"] {
  --text: #ffffff;
  --muted: #d5ddf2;
}

body[data-theme="paper-light"][data-text-tone="dark"] {
  --text: #121821;
  --muted: #4b5665;
}

body[data-theme="paper-light"][data-text-tone="accent"] {
  --text: #21405d;
  --muted: #54708a;
}

body[data-theme="blackout"][data-text-tone="accent"] {
  --text: #d9f5ff;
  --muted: #95c7d6;
}

body[data-theme="red-matrix"][data-text-tone="accent"] {
  --text: #ffd888;
  --muted: #d8b078;
}

body[data-theme="rose-voltage"][data-text-tone="accent"],
body[data-theme="ember-terminal"][data-text-tone="accent"],
body[data-theme="velvet-casino"][data-text-tone="accent"],
body[data-theme="aurora-pulse"][data-text-tone="accent"],
body[data-theme="graphite-mint"][data-text-tone="accent"],
body[data-theme="royal-circuit"][data-text-tone="accent"],
body[data-theme="cherry-bloom"][data-text-tone="accent"],
body[data-theme="copper-grid"][data-text-tone="accent"] {
  --text: #fff8fb;
  --muted: #dbc9d8;
}

body[data-theme="rose-voltage"][data-text-tone="light"],
body[data-theme="red-matrix"][data-text-tone="light"],
body[data-theme="ember-terminal"][data-text-tone="light"],
body[data-theme="velvet-casino"][data-text-tone="light"],
body[data-theme="aurora-pulse"][data-text-tone="light"],
body[data-theme="graphite-mint"][data-text-tone="light"],
body[data-theme="royal-circuit"][data-text-tone="light"],
body[data-theme="cherry-bloom"][data-text-tone="light"],
body[data-theme="copper-grid"][data-text-tone="light"] {
  --text: #ffffff;
  --muted: #e7dceb;
}

body[data-theme="arctic-signal"][data-text-tone="dark"],
body[data-theme="ice-prism"][data-text-tone="dark"] {
  --text: #12202b;
  --muted: #5f7182;
}

body[data-theme="arctic-signal"][data-text-tone="accent"],
body[data-theme="ice-prism"][data-text-tone="accent"] {
  --text: #24557a;
  --muted: #63849c;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.is-splash-open {
  overflow: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", "Segoe UI Variable Text", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 190, 92, 0.16), transparent 22%),
    radial-gradient(circle at 86% 0%, rgba(86, 214, 255, 0.11), transparent 20%),
    radial-gradient(circle at 50% 30%, rgba(123, 121, 255, 0.08), transparent 28%),
    linear-gradient(180deg, #06040b 0%, #08050e 32%, #0c0813 100%);
  overflow-x: hidden;
}

body[data-theme="paper-light"] {
  background:
    radial-gradient(circle at top left, rgba(59, 94, 168, 0.12), transparent 22%),
    radial-gradient(circle at 86% 0%, rgba(46, 127, 168, 0.1), transparent 20%),
    radial-gradient(circle at 50% 30%, rgba(111, 106, 216, 0.08), transparent 28%),
    linear-gradient(180deg, #f5f7fb 0%, #edf1f7 34%, #e2e8f1 100%);
}

body[data-theme="blackout"] {
  background:
    radial-gradient(circle at 12% 8%, rgba(148, 233, 255, 0.04), transparent 14%),
    radial-gradient(circle at 88% 0%, rgba(151, 162, 255, 0.035), transparent 15%),
    linear-gradient(180deg, #000000 0%, #010101 28%, #020305 100%);
}

body[data-theme="red-matrix"] {
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 101, 101, 0.1), transparent 18%),
    radial-gradient(circle at 86% 0%, rgba(242, 180, 79, 0.06), transparent 15%),
    linear-gradient(180deg, #040101 0%, #090202 30%, #140405 100%);
}

body[data-theme="arctic-signal"] {
  background:
    radial-gradient(circle at top left, rgba(92, 178, 235, 0.12), transparent 22%),
    radial-gradient(circle at 86% 0%, rgba(84, 207, 214, 0.1), transparent 18%),
    linear-gradient(180deg, #f5fafd 0%, #edf4fa 36%, #e2edf6 100%);
}

body[data-theme="ice-prism"] {
  background:
    radial-gradient(circle at top left, rgba(102, 185, 255, 0.12), transparent 22%),
    radial-gradient(circle at 86% 0%, rgba(117, 224, 255, 0.1), transparent 18%),
    linear-gradient(180deg, #f8fcff 0%, #eef6fb 38%, #e2edf6 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body::before {
  background:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.58), transparent 88%);
}

body::after {
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 190, 92, 0.12), transparent 18%),
    radial-gradient(circle at 80% 22%, rgba(86, 214, 255, 0.08), transparent 16%),
    radial-gradient(circle at 50% 100%, rgba(255, 107, 157, 0.08), transparent 24%);
}

body[data-theme="blackout"]::before {
  background:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 96px 96px;
  opacity: 0.42;
}

body[data-theme="red-matrix"]::before {
  background:
    linear-gradient(rgba(255, 92, 92, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 92, 92, 0.04) 1px, transparent 1px),
    repeating-linear-gradient(180deg, rgba(255, 110, 110, 0.1) 0 2px, transparent 2px 24px);
  background-size: 88px 88px, 88px 88px, 100% 220px;
  opacity: 0.9;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.72) 62%, transparent 96%);
  animation: matrixRainDrift 20s linear infinite;
}

body[data-theme="blackout"]::after {
  background:
    radial-gradient(circle at 18% 14%, rgba(148, 233, 255, 0.035), transparent 14%),
    radial-gradient(circle at 78% 20%, rgba(151, 162, 255, 0.03), transparent 14%),
    radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.016), transparent 22%);
}

body[data-theme="red-matrix"]::after {
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 96, 96, 0.1), transparent 16%),
    radial-gradient(circle at 76% 20%, rgba(242, 180, 79, 0.08), transparent 14%),
    radial-gradient(circle at 50% 100%, rgba(255, 74, 74, 0.06), transparent 24%);
  animation: matrixGlowPulse 9s ease-in-out infinite alternate;
}

body[data-theme="holiday-special"]::before {
  background-image:
    var(--holiday-pattern-image),
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size:
    var(--holiday-pattern-size),
    92px 92px,
    92px 92px;
  background-position:
    center center,
    0 0,
    0 0;
  opacity: var(--holiday-pattern-opacity);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.62) 58%, transparent 96%);
}

body[data-theme="holiday-special"]::after {
  background:
    radial-gradient(circle at 16% 14%, color-mix(in srgb, var(--gold) 34%, transparent), transparent 20%),
    radial-gradient(circle at 82% 20%, color-mix(in srgb, var(--cyan) 28%, transparent), transparent 18%),
    radial-gradient(circle at 54% 100%, color-mix(in srgb, var(--rose) 24%, transparent), transparent 26%);
}

button,
input,
select {
  font: inherit;
}

select {
  color-scheme: dark;
}

select option,
select optgroup {
  background: var(--select-menu-bg);
  color: var(--select-menu-text);
}

select option:checked,
select option:hover,
select option:focus-visible {
  background: var(--select-menu-accent);
  color: var(--select-menu-accent-text);
}

button {
  cursor: pointer;
}

.page-shell {
  display: grid;
  width: min(1450px, calc(100% - 24px));
  margin: 0 auto;
  padding: 18px 0 42px;
  gap: 12px;
  align-items: start;
}

.page-directory-panel {
  width: 100%;
  margin: 0 0 12px;
}

.page-directory-card {
  display: grid;
  gap: 12px;
  max-width: 280px;
  padding: 16px;
  border-radius: 24px;
  border: 1px solid rgba(86, 214, 255, 0.14);
  background: rgba(13, 10, 21, 0.84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.page-directory-card strong {
  line-height: 1.15;
}

.page-directory-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.page-directory-links {
  display: grid;
  gap: 8px;
}

.page-directory-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.page-directory-links a::after {
  content: "->";
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}

.page-directory-links a:hover {
  transform: translateX(3px);
  border-color: rgba(255, 190, 92, 0.28);
  background: rgba(255, 255, 255, 0.045);
}

.new-inline-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  border: 1px solid rgba(255, 190, 92, 0.22);
  background: rgba(255, 190, 92, 0.12);
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.page-directory-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-directory-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 190, 92, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.78rem;
}

.page-directory-pill.muted {
  color: var(--muted);
}

.page-directory-actions {
  display: grid;
  gap: 8px;
}

.page-directory-actions > * {
  width: 100%;
  justify-content: center;
}

.mobile-taskbar {
  display: none;
}

.mobile-taskbar-item {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 48px;
  padding: 0 12px;
  border-radius: 18px;
  border: 1px solid rgba(255, 190, 92, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
}

.mobile-taskbar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  min-height: 20px;
  border-radius: 999px;
  font-size: 0.56rem;
  letter-spacing: 0.16em;
  color: var(--gold);
  background: rgba(255, 190, 92, 0.08);
  border: 1px solid rgba(255, 190, 92, 0.12);
}

.mobile-taskbar-item.is-active,
.mobile-taskbar-item[aria-current="page"] {
  color: var(--text);
  border-color: rgba(255, 190, 92, 0.24);
  background:
    radial-gradient(circle at top center, rgba(255, 190, 92, 0.14), transparent 52%),
    rgba(255, 255, 255, 0.06);
}

.mobile-taskbar-item-accent {
  color: #1b1126;
  border-color: rgba(255, 196, 99, 0.28);
  background: linear-gradient(135deg, var(--gold), #ffd76d 42%, #fff1bd 100%);
}

.mobile-taskbar-item-accent .mobile-taskbar-icon {
  color: #1b1126;
  background: rgba(27, 17, 38, 0.08);
  border-color: rgba(27, 17, 38, 0.12);
}

.mobile-taskbar-label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mobile-taskbar-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 190, 92, 0.22);
  background: rgba(255, 190, 92, 0.12);
  color: var(--gold);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mobile-studio-tabs {
  display: none;
}

.mobile-studio-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 190, 92, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.mobile-studio-tab span[aria-hidden="true"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 18px;
  border-radius: 999px;
  background: rgba(255, 190, 92, 0.1);
  border: 1px solid rgba(255, 190, 92, 0.12);
  color: var(--gold);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.topbar,
.scene-banner,
.news-strip,
.control-ribbon,
.runner-card,
.saved-strip,
.top-coins-stage,
.auth-splash-card {
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.topbar,
.scene-banner,
.news-strip,
.control-ribbon,
.runner-card,
.saved-strip,
.top-coins-stage {
  border-radius: 28px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}

.launch-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 127, 176, 0.2);
  background:
    linear-gradient(90deg, rgba(255, 111, 158, 0.09), rgba(255, 188, 127, 0.08) 52%, rgba(255, 255, 255, 0.03)),
    var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.launch-banner-copy {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 0;
}

.launch-banner-tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 10px;
  color: #ffeef5;
  background: rgba(255, 111, 158, 0.12);
  border: 1px solid rgba(255, 127, 176, 0.18);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.launch-banner-copy strong {
  line-height: 1.2;
}

.launch-banner-code {
  color: var(--gold);
  letter-spacing: 0.08em;
}

.launch-banner-meta {
  color: var(--muted);
  font-size: 0.84rem;
}

.launch-banner .ghost-button {
  min-height: 36px;
  padding: 8px 14px;
  white-space: nowrap;
}

.apple-install-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px 18px;
  align-items: center;
  margin-bottom: 12px;
  padding: 14px 16px;
  border-radius: 24px;
  border: 1px solid rgba(134, 196, 255, 0.18);
  background:
    linear-gradient(135deg, rgba(77, 132, 255, 0.1), rgba(86, 214, 255, 0.04) 58%, rgba(255, 255, 255, 0.02)),
    var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.apple-install-copy {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.apple-install-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #eef8ff;
  background: rgba(86, 214, 255, 0.12);
  border: 1px solid rgba(86, 214, 255, 0.18);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.apple-install-meta {
  color: var(--muted);
  font-size: 0.94rem;
}

.apple-install-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
}

.apple-install-steps {
  grid-column: 1 / -1;
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.55;
}

.topbar > * {
  position: relative;
  z-index: 1;
}

.topbar::after {
  content: "";
  position: absolute;
  inset: 0 0 auto auto;
  width: 240px;
  height: 160px;
  background:
    radial-gradient(circle, rgba(255, 190, 92, 0.24), transparent 60%);
  transform: translate(28%, -34%);
  pointer-events: none;
}

.system-health-bar {
  display: grid;
  grid-template-columns: minmax(0, max-content) minmax(0, 1fr);
  gap: 14px 18px;
  align-items: center;
  margin-bottom: 12px;
  padding: 12px 16px;
  border-radius: 22px;
  border: 1px solid rgba(134, 255, 197, 0.14);
  background:
    linear-gradient(90deg, rgba(104, 255, 175, 0.07), rgba(86, 214, 255, 0.04) 45%, rgba(255, 255, 255, 0.03)),
    var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.system-health-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.system-health-copy strong {
  line-height: 1.15;
}

.system-health-meta {
  color: var(--muted);
  font-size: 0.88rem;
}

.system-health-indicators {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.health-pill {
  display: inline-grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.health-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ffce70;
  box-shadow: 0 0 0 6px rgba(255, 206, 112, 0.12);
}

.health-label {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.health-value {
  font-size: 0.92rem;
}

.health-pill.is-healthy .health-dot {
  background: #77f3af;
  box-shadow: 0 0 0 6px rgba(119, 243, 175, 0.12);
}

.health-pill.is-degraded .health-dot {
  background: #ff8ba3;
  box-shadow: 0 0 0 6px rgba(255, 139, 163, 0.12);
}

.health-pill.is-checking .health-dot {
  animation: healthPulse 1.3s ease-in-out infinite;
}

@keyframes healthPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(0.78);
    opacity: 0.66;
  }
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  min-width: 142px;
  padding: 10px 16px 10px 12px;
  border-radius: 999px;
  color: var(--text);
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 34px rgba(4, 9, 18, 0.28);
  transform-style: preserve-3d;
  animation: brandFloat 6s ease-in-out infinite;
}

.brand-halo {
  position: absolute;
  inset: -10px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(9, 26, 54, 0.28), transparent 60%);
  filter: blur(10px);
  opacity: 0.9;
  z-index: -1;
}

.brand-logo-img {
  display: block;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  filter: drop-shadow(0 10px 20px rgba(7, 16, 34, 0.32));
}

.brand-kicker {
  margin: 0 0 2px;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-lockup strong {
  display: block;
  font-size: 1.02rem;
}

.brand-trademark {
  margin: 4px 0 2px;
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.brand-lockup p,
.summary-meta,
.news-fallback,
.status-line,
.bookmark-meta {
  margin: 0;
  color: var(--muted);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.topbar-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 190, 92, 0.12);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.topbar-pill.muted {
  color: var(--muted);
}

.news-strip {
  display: grid;
  grid-template-columns: max-content max-content 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  margin-bottom: 14px;
  background:
    linear-gradient(90deg, rgba(255, 190, 92, 0.06), rgba(86, 214, 255, 0.03) 45%, rgba(255, 107, 157, 0.04)),
    var(--panel);
}

.news-strip-copy {
  display: flex;
  align-items: center;
  gap: 12px;
}

.news-source-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.mobile-news-toggle {
  display: none;
}

.news-timeline {
  min-height: 76px;
  border-radius: 16px;
  border: 1px solid rgba(255, 190, 92, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02));
  padding: 8px;
}

.news-fallback {
  display: grid;
  gap: 10px;
}

.news-fallback-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.news-fallback-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.news-fallback-card {
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 190, 92, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.news-fallback-card p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.88rem;
}

.news-fallback-tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  color: var(--gold);
  background: rgba(255, 190, 92, 0.08);
  border: 1px solid rgba(255, 190, 92, 0.12);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scene-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(320px, 0.76fr);
  gap: 20px;
  padding: 24px;
  margin-bottom: 16px;
  background:
    radial-gradient(circle at top left, rgba(255, 190, 92, 0.14), transparent 26%),
    radial-gradient(circle at bottom right, rgba(86, 214, 255, 0.12), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    var(--panel-soft);
  overflow: hidden;
}

.scene-copy {
  display: grid;
  align-content: start;
  gap: 14px;
}

.scene-banner::after {
  content: "";
  position: absolute;
  inset: auto -10% -24% auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(86, 214, 255, 0.16), transparent 64%);
  filter: blur(12px);
  animation: glowDrift 9s ease-in-out infinite;
  pointer-events: none;
}

.scene-copy h1 {
  margin: 0;
  max-width: 15ch;
  font-family: "Bricolage Grotesque", "Space Grotesk", sans-serif;
  font-size: clamp(2.25rem, 3.6vw, 4.2rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.scene-copy p:not(.eyebrow) {
  margin: 0;
  max-width: 52ch;
  color: var(--muted);
  line-height: 1.54;
}

.scene-preview-rail {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.scene-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(124, 255, 178, 0.2);
  color: var(--text);
  background: rgba(124, 255, 178, 0.08);
  box-shadow: 0 0 0 1px rgba(124, 255, 178, 0.06), 0 12px 28px rgba(124, 255, 178, 0.08);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scene-live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(124, 255, 178, 0.42);
  animation: livePulse 1.8s ease-out infinite;
}

.scene-preview-note {
  color: var(--muted);
  font-size: 0.94rem;
}

.scene-hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.scene-market-board {
  margin-top: 6px;
  padding: 18px;
  border-radius: 30px;
  border: 1px solid rgba(255, 190, 92, 0.16);
  background:
    radial-gradient(circle at top left, rgba(86, 214, 255, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(14, 9, 23, 0.9);
  box-shadow:
    0 28px 72px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.scene-market-board:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 190, 92, 0.24);
  box-shadow:
    0 34px 80px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 0 1px rgba(255, 190, 92, 0.06);
}

.scene-market-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.scene-market-copy {
  display: grid;
  gap: 8px;
}

.scene-market-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--gold);
  background: rgba(255, 190, 92, 0.08);
  border: 1px solid rgba(255, 190, 92, 0.12);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.scene-market-copy strong {
  font-family: "Bricolage Grotesque", "Space Grotesk", sans-serif;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.scene-chart-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.scene-chart-button {
  min-width: 58px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 190, 92, 0.14);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scene-chart-button.is-active {
  color: #1b1126;
  border-color: rgba(255, 196, 99, 0.28);
  background: linear-gradient(135deg, var(--gold), #ffd76d 42%, #fff1bd 100%);
  box-shadow: 0 10px 24px rgba(255, 190, 92, 0.2);
}

.scene-market-frame {
  position: relative;
  margin-top: 16px;
  min-height: 420px;
  padding: 16px;
  border-radius: 26px;
  border: 1px solid rgba(86, 214, 255, 0.12);
  background:
    radial-gradient(circle at 20% 18%, rgba(86, 214, 255, 0.14), transparent 20%),
    radial-gradient(circle at 82% 16%, rgba(255, 107, 157, 0.1), transparent 18%),
    linear-gradient(180deg, rgba(4, 8, 15, 0.98), rgba(8, 14, 26, 0.98));
  overflow: hidden;
  box-shadow:
    inset 0 0 26px rgba(86, 214, 255, 0.12),
    0 0 30px rgba(86, 214, 255, 0.07);
  cursor: crosshair;
}

.scene-market-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(86, 214, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(86, 214, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.78), transparent 92%);
  pointer-events: none;
}

.scene-market-canvas {
  display: block;
  width: 100%;
  height: 388px;
}

.scene-market-tooltip {
  position: absolute;
  inset: auto auto 18px 18px;
  min-width: 168px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 190, 92, 0.16);
  background: rgba(8, 10, 18, 0.9);
  color: var(--text);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
  pointer-events: none;
  backdrop-filter: blur(12px);
}

.scene-market-tooltip strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.98rem;
}

.scene-market-tooltip span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.scene-market-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.scene-market-pill {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 190, 92, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

.scene-market-pill span {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scene-market-pill strong {
  font-size: 1.05rem;
}

.scene-stats {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
}

.scene-wallet-card {
  display: grid;
  grid-template-rows: auto auto auto minmax(180px, 1fr) auto;
  gap: 14px;
  padding: 18px;
  border-radius: 28px;
  border: 1px solid rgba(255, 190, 92, 0.14);
  background:
    radial-gradient(circle at top left, rgba(124, 255, 178, 0.14), transparent 28%),
    radial-gradient(circle at bottom right, rgba(86, 214, 255, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  grid-column: 1 / -1;
}

.scene-wallet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.scene-wallet-head strong {
  display: block;
  margin-top: 10px;
  font-size: 1.2rem;
}

.scene-wallet-head p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.scene-wallet-actions,
.scene-wallet-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.scene-wallet-actions button {
  width: 100%;
}

.scene-wallet-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.scene-wallet-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.scene-wallet-brand {
  position: relative;
  display: block;
  min-height: 190px;
  padding: 0;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 190, 92, 0.12);
  background:
    radial-gradient(circle at 24% 18%, color-mix(in srgb, var(--gold) 14%, transparent), transparent 34%),
    radial-gradient(circle at 78% 78%, color-mix(in srgb, var(--cyan) 12%, transparent), transparent 32%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  isolation: isolate;
}

.scene-wallet-brand::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 22px;
  border: 1px solid color-mix(in srgb, var(--gold) 22%, transparent);
  opacity: 0.55;
}

.scene-wallet-brand::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.9), transparent 78%);
  opacity: 0.45;
  pointer-events: none;
}

.scene-wallet-brand-orbit {
  position: absolute;
  inset: 60% auto auto 72%;
  border: 1px solid color-mix(in srgb, var(--cyan) 20%, transparent);
  border-radius: 999px;
  opacity: 0.28;
}

.scene-wallet-brand-orbit-a {
  width: 236px;
  height: 236px;
  margin-left: -118px;
  margin-top: -118px;
  transform: rotate(12deg);
}

.scene-wallet-brand-orbit-b {
  width: 176px;
  height: 176px;
  margin-left: -88px;
  margin-top: -88px;
  border-color: color-mix(in srgb, var(--gold) 24%, transparent);
  transform: rotate(-16deg);
}

.scene-wallet-brand-mark {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 232px;
  height: 232px;
  margin-left: auto;
  margin-right: -34px;
  margin-top: 24px;
  border-radius: 56px;
  border: 1px solid color-mix(in srgb, var(--gold) 12%, transparent);
  background:
    radial-gradient(circle at 32% 28%, color-mix(in srgb, var(--gold) 14%, transparent), transparent 34%),
    radial-gradient(circle at 72% 76%, color-mix(in srgb, var(--cyan) 12%, transparent), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  opacity: 0.7;
}

.scene-wallet-brand-logo-outer,
.scene-wallet-brand-logo-middle,
.scene-wallet-brand-logo-inner {
  display: grid;
  place-items: center;
  border-radius: 30%;
}

.scene-wallet-brand-logo-outer {
  width: 156px;
  height: 156px;
  padding: 19px;
  background: color-mix(in srgb, var(--cyan) 34%, var(--ink) 66%);
  box-shadow:
    0 16px 36px rgba(7, 16, 34, 0.28),
    0 0 28px color-mix(in srgb, var(--cyan) 12%, transparent);
}

.scene-wallet-brand-logo-middle {
  width: 100%;
  height: 100%;
  padding: 16px;
  background: color-mix(in srgb, var(--text) 92%, var(--gold) 8%);
}

.scene-wallet-brand-logo-inner {
  width: 100%;
  height: 100%;
  padding: 13px;
  background: color-mix(in srgb, var(--cyan) 34%, var(--ink) 66%);
}

.scene-wallet-brand-logo-inner::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 28%;
  background: color-mix(in srgb, var(--text) 92%, var(--gold) 8%);
}

.scene-wallet-metric {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 190, 92, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

.scene-wallet-metric span {
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scene-wallet-metric strong {
  font-size: 1.06rem;
}

.scene-wallet-metric strong.is-positive {
  color: var(--lime);
}

.scene-wallet-metric strong.is-negative {
  color: #ff9ba9;
}

.scene-wallet-foot {
  display: grid;
  gap: 10px;
}

.scene-wallet-providers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.scene-wallet-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 190, 92, 0.12);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}

.scene-wallet-chip.is-link {
  text-decoration: none;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.scene-wallet-chip.is-link:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 190, 92, 0.24);
  background: rgba(255, 255, 255, 0.05);
}

.scene-wallet-chip-status {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  color: var(--gold);
  background: rgba(255, 190, 92, 0.08);
  border: 1px solid rgba(255, 190, 92, 0.14);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.scene-stat {
  padding: 16px 18px;
  border-radius: 24px;
  border: 1px solid rgba(255, 190, 92, 0.12);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  transform: translateY(0);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.scene-stat:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 190, 92, 0.24);
}

.scene-stat-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--gold);
  background: rgba(255, 190, 92, 0.08);
  border: 1px solid rgba(255, 190, 92, 0.12);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scene-stat strong {
  display: block;
  margin-top: 10px;
  font-size: 1.08rem;
}

.scene-stat p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.control-ribbon {
  padding: 20px;
  margin-bottom: 16px;
  background:
    radial-gradient(circle at 0% 0%, rgba(123, 121, 255, 0.1), transparent 18%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    var(--panel);
  animation: panelRise 0.6s ease;
}

.preset-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
}

.preset-label {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
}

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

.preset-button.is-active {
  color: var(--ink);
  border-color: rgba(255, 196, 99, 0.28);
  background: linear-gradient(135deg, var(--gold), #ffd76d 42%, #fff1bd 100%);
}

.ribbon-head,
.ribbon-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.ribbon-head h2 {
  margin: 0;
  font-family: "Bricolage Grotesque", "Space Grotesk", sans-serif;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.ribbon-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.ribbon-meta span,
.saved-pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 196, 99, 0.12);
}

.inline-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin: 18px 0 16px;
}

.inline-filters label,
.trade-shell label {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.inline-filters span,
.trade-shell span,
.metric-label {
  color: var(--muted);
  font-size: 0.88rem;
}

.inline-filters input,
.inline-filters select,
.trade-shell input,
.trade-shell select {
  width: 100%;
  min-width: 0;
  padding: 13px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 190, 92, 0.14);
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.filter-actions {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  grid-column: 1 / -1;
  flex-wrap: wrap;
}

.ghost-button,
.primary-button,
.news-source-button,
.trade-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 196, 99, 0.16);
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.ghost-button,
.news-source-button,
.trade-tab {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
}

.primary-button {
  color: #180f23;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold), #ffd76d 42%, #fff1bd 100%);
  box-shadow: 0 12px 28px rgba(255, 190, 92, 0.2);
}

body[data-theme="paper-light"] .ghost-button,
body[data-theme="paper-light"] .news-source-button,
body[data-theme="paper-light"] .trade-tab,
body[data-theme="arctic-signal"] .ghost-button,
body[data-theme="arctic-signal"] .news-source-button,
body[data-theme="arctic-signal"] .trade-tab,
body[data-theme="ice-prism"] .ghost-button,
body[data-theme="ice-prism"] .news-source-button,
body[data-theme="ice-prism"] .trade-tab {
  color: var(--text);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(236, 243, 249, 0.94));
  border-color: rgba(70, 108, 145, 0.18);
  box-shadow: 0 10px 24px rgba(118, 137, 166, 0.14);
}

body[data-theme="paper-light"] .primary-button,
body[data-theme="arctic-signal"] .primary-button,
body[data-theme="ice-prism"] .primary-button {
  color: #f8fcff;
  background: linear-gradient(135deg, #2d64a4, #4f8bc9 52%, #7ec8ff 100%);
  border-color: rgba(59, 94, 168, 0.24);
  box-shadow: 0 12px 26px rgba(59, 94, 168, 0.22);
}

body[data-theme="blackout"] .primary-button {
  color: #020305;
  background: linear-gradient(135deg, #f4f8ff, #d8e4f0 52%, #b1c5db 100%);
  border-color: rgba(237, 245, 255, 0.16);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.48);
}

body[data-theme="blackout"] .ghost-button,
body[data-theme="blackout"] .news-source-button,
body[data-theme="blackout"] .trade-tab,
body[data-theme="blackout"] .scene-chart-button {
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.012)),
    rgba(0, 0, 0, 0.82);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

body[data-theme="paper-light"] .ghost-button:hover,
body[data-theme="paper-light"] .primary-button:hover,
body[data-theme="paper-light"] .news-source-button:hover,
body[data-theme="paper-light"] .trade-tab:hover,
body[data-theme="arctic-signal"] .ghost-button:hover,
body[data-theme="arctic-signal"] .primary-button:hover,
body[data-theme="arctic-signal"] .news-source-button:hover,
body[data-theme="arctic-signal"] .trade-tab:hover,
body[data-theme="ice-prism"] .ghost-button:hover,
body[data-theme="ice-prism"] .primary-button:hover,
body[data-theme="ice-prism"] .news-source-button:hover,
body[data-theme="ice-prism"] .trade-tab:hover {
  border-color: rgba(59, 94, 168, 0.28);
}

body[data-theme="blackout"] .ghost-button:hover,
body[data-theme="blackout"] .primary-button:hover,
body[data-theme="blackout"] .news-source-button:hover,
body[data-theme="blackout"] .trade-tab:hover,
body[data-theme="blackout"] .scene-chart-button:hover {
  border-color: rgba(148, 233, 255, 0.24);
  background:
    radial-gradient(circle at top left, rgba(148, 233, 255, 0.05), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012)),
    rgba(0, 0, 0, 0.9);
}

.news-source-button.is-active,
.trade-tab.is-active {
  color: var(--lime);
  border-color: rgba(124, 255, 178, 0.24);
  background: rgba(124, 255, 178, 0.08);
}

body[data-theme="blackout"] .news-source-button.is-active,
body[data-theme="blackout"] .trade-tab.is-active,
body[data-theme="blackout"] .scene-chart-button.is-active {
  color: #020305;
  border-color: rgba(183, 241, 255, 0.26);
  background: linear-gradient(135deg, #b7f1ff, #e8f6ff 54%, #f8fbff 100%);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.36);
}

.ghost-button:hover,
.primary-button:hover,
.news-source-button:hover,
.trade-tab:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 190, 92, 0.28);
}

body[data-theme="blackout"] .topbar,
body[data-theme="blackout"] .scene-banner,
body[data-theme="blackout"] .news-strip,
body[data-theme="blackout"] .control-ribbon,
body[data-theme="blackout"] .runner-card,
body[data-theme="blackout"] .saved-strip,
body[data-theme="blackout"] .top-coins-stage,
body[data-theme="blackout"] .auth-splash-card,
body[data-theme="blackout"] .portfolio-strip,
body[data-theme="blackout"] .social-desk,
body[data-theme="blackout"] .chat-lounge,
body[data-theme="blackout"] .token-room-panel {
  border-color: rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.006)),
    rgba(0, 0, 0, 0.92);
  box-shadow: 0 32px 88px rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(12px);
}

body[data-theme="blackout"] .topbar::after,
body[data-theme="blackout"] .scene-banner::after {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.035), transparent 60%);
  opacity: 0.45;
}

body[data-theme="blackout"] .system-health-bar {
  border-color: rgba(160, 255, 206, 0.12);
  background:
    linear-gradient(90deg, rgba(98, 255, 170, 0.05), rgba(88, 192, 255, 0.03) 45%, rgba(255, 255, 255, 0.02)),
    rgba(6, 8, 10, 0.96);
}

body[data-theme="blackout"] .page-directory-card {
  border-color: rgba(160, 255, 206, 0.12);
  background: rgba(6, 8, 10, 0.96);
}

@media (min-width: 1680px) {
  .page-shell {
    width: min(1450px, calc(100% - 24px));
    margin: 0 auto;
  }

  .app-page-directory-panel {
    top: 18px;
  }

  .app-page-directory-panel .page-directory-card {
    max-width: none;
  }
}

@media (min-width: 1180px) {
  .page-shell {
    grid-template-columns: minmax(216px, 238px) minmax(0, 1fr);
    column-gap: 18px;
  }

  .app-page-directory-panel {
    position: sticky;
    top: 8px;
    width: 100%;
    margin: 0;
    max-height: calc(100vh - 16px);
    overflow-y: auto;
    align-self: start;
    grid-column: 1;
    grid-row: 1 / span 20;
    z-index: 5;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 190, 92, 0.24) transparent;
  }

  .app-page-directory-panel .page-directory-card {
    max-width: none;
    gap: 9px;
    padding: 13px;
    border-radius: 20px;
  }

  .app-page-directory-panel .page-directory-links {
    gap: 6px;
  }

  .app-page-directory-panel .page-directory-links a {
    min-height: 36px;
    padding: 0 11px;
    border-radius: 14px;
    font-size: 0.92rem;
  }

  .app-page-directory-panel .page-directory-copy {
    line-height: 1.4;
    font-size: 0.9rem;
  }

  .app-page-directory-panel .page-directory-pill-row {
    gap: 6px;
  }

  .app-page-directory-panel .page-directory-pill {
    min-height: 28px;
    padding: 0 9px;
    font-size: 0.72rem;
  }

  .app-page-directory-panel .page-directory-actions {
    gap: 6px;
  }

  .app-page-directory-panel .page-directory-actions > * {
    min-height: 37px;
    padding: 9px 11px;
    font-size: 0.92rem;
  }

  .app-page-directory-panel::-webkit-scrollbar {
    width: 8px;
  }

  .app-page-directory-panel::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(255, 190, 92, 0.2);
  }

  .app-page-directory-panel::-webkit-scrollbar-track {
    background: transparent;
  }

  .page-shell > :not(.app-page-directory-panel) {
    grid-column: 2;
    min-width: 0;
  }
}

@media (min-width: 1180px) and (max-height: 940px) {
  .app-page-directory-panel {
    top: 6px;
    max-height: calc(100vh - 12px);
  }

  .app-page-directory-panel .page-directory-card {
    gap: 8px;
    padding: 12px;
  }

  .app-page-directory-panel .page-directory-links a {
    min-height: 34px;
    font-size: 0.9rem;
  }

  .app-page-directory-panel .page-directory-pill {
    min-height: 26px;
    font-size: 0.7rem;
  }

  .app-page-directory-panel .page-directory-actions > * {
    min-height: 35px;
    font-size: 0.9rem;
  }
}

body[data-theme="blackout"] .topbar-pill,
body[data-theme="blackout"] .news-timeline,
body[data-theme="blackout"] .news-fallback-card,
body[data-theme="blackout"] .scene-market-pill,
body[data-theme="blackout"] .scene-wallet-card,
body[data-theme="blackout"] .sparkline-shell,
body[data-theme="blackout"] .stat-box,
body[data-theme="blackout"] .feedback-line,
body[data-theme="blackout"] .history-pill,
body[data-theme="blackout"] .portfolio-summary-card,
body[data-theme="blackout"] .portfolio-card,
body[data-theme="blackout"] .portfolio-day,
body[data-theme="blackout"] .portfolio-holding,
body[data-theme="blackout"] .portfolio-empty-state,
body[data-theme="blackout"] .top-coins-canvas-shell,
body[data-theme="blackout"] .chat-message,
body[data-theme="blackout"] .chat-form textarea,
body[data-theme="blackout"] .token-room-card,
body[data-theme="blackout"] .token-room-status,
body[data-theme="blackout"] .token-room-chart,
body[data-theme="blackout"] .token-room-stat,
body[data-theme="blackout"] .whale-slot {
  border-color: rgba(255, 255, 255, 0.075);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0.008)),
    rgba(0, 0, 0, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.018);
}

body[data-theme="blackout"] .scene-market-frame {
  border-color: rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 18% 14%, rgba(148, 233, 255, 0.05), transparent 18%),
    radial-gradient(circle at 82% 16%, rgba(158, 172, 255, 0.04), transparent 18%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.985), rgba(4, 6, 10, 0.985));
  box-shadow:
    inset 0 0 20px rgba(148, 233, 255, 0.045),
    0 0 0 1px rgba(255, 255, 255, 0.015),
    0 30px 80px rgba(0, 0, 0, 0.7);
}

body[data-theme="blackout"] .scene-market-frame::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
}

body[data-theme="blackout"] .scene-market-tooltip,
body[data-theme="blackout"] .sparkline-tooltip,
body[data-theme="blackout"] .top-coins-tooltip {
  background: rgba(0, 0, 0, 0.96);
  border-color: rgba(255, 255, 255, 0.09);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.66);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid rgba(86, 214, 255, 0.84);
  outline-offset: 2px;
}

.ribbon-footer {
  align-items: center;
}

.live-indicator,
.active-filters,
.bookmarks-list {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--gold);
  background: rgba(255, 190, 92, 0.08);
  border: 1px solid rgba(255, 190, 92, 0.16);
}

.pulse {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(124, 255, 178, 0.45);
  animation: pulse 1.8s infinite;
}

.candidate-board {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(292px, 340px);
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 2px 12px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.candidate-board::-webkit-scrollbar {
  height: 10px;
}

.candidate-board::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 190, 92, 0.24);
}

.candidate-board.is-flipping {
  opacity: 0.15;
  transform: translateY(8px) scale(0.985);
}

.runner-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 13px;
  scroll-snap-align: start;
  background:
    radial-gradient(circle at top right, rgba(255, 190, 92, 0.16), transparent 22%),
    radial-gradient(circle at bottom left, rgba(86, 214, 255, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    var(--panel-bright);
  isolation: isolate;
  transform: translateY(0) scale(1);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.runner-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -52% auto;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 190, 92, 0.14), transparent 65%);
  pointer-events: none;
}

.runner-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 22%, transparent 70%, rgba(255, 255, 255, 0.03)),
    repeating-linear-gradient(
      125deg,
      transparent 0,
      transparent 12px,
      rgba(255, 255, 255, 0.018) 12px,
      rgba(255, 255, 255, 0.018) 13px
    );
  opacity: 0.8;
  pointer-events: none;
}

.runner-card:hover {
  transform: translateY(-4px) scale(1.012);
  border-color: rgba(255, 190, 92, 0.24);
  box-shadow: 0 28px 70px rgba(3, 1, 8, 0.5);
}

.card-top,
.card-meta,
.card-action-row,
.trade-shell,
.trade-tabs {
  position: relative;
  z-index: 1;
}

.card-top,
.card-meta,
.card-action-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 9px;
}

.card-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  border-radius: 14px;
  color: #1a1024;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--gold), #fff1bd);
  box-shadow: 0 16px 36px rgba(255, 190, 92, 0.24);
}

.card-symbol span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.card-icon {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.card-icon-fallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  border-radius: inherit;
  color: color-mix(in srgb, var(--text) 88%, var(--gold) 12%);
  font-family: "Bricolage Grotesque", "Space Grotesk", sans-serif;
  font-size: clamp(1.05rem, 2.2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background:
    radial-gradient(circle at 30% 24%, color-mix(in srgb, var(--gold) 18%, transparent), transparent 34%),
    radial-gradient(circle at 74% 72%, color-mix(in srgb, var(--cyan) 16%, transparent), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
}

.card-copy h3 {
  margin: 0;
  font-family: "Bricolage Grotesque", "Space Grotesk", sans-serif;
  font-size: clamp(1.45rem, 2.7vw, 2.15rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.card-copy p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.38;
}

.risk-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.risk-low {
  color: var(--lime);
  background: rgba(124, 255, 178, 0.08);
  border-color: rgba(124, 255, 178, 0.18);
}

.risk-medium {
  color: var(--gold);
  background: rgba(255, 196, 99, 0.08);
  border-color: rgba(255, 196, 99, 0.18);
}

.risk-high {
  color: var(--rose);
  background: rgba(255, 123, 149, 0.08);
  border-color: rgba(255, 123, 149, 0.18);
}

.card-meta {
  margin: 8px 0 7px;
  color: var(--muted);
  font-size: 0.83rem;
  flex-wrap: wrap;
}

.card-link {
  color: var(--cyan);
  text-decoration: none;
}

.card-link:hover {
  color: var(--text);
}

.sparkline-shell {
  position: relative;
  margin-bottom: 9px;
  padding: 8px;
  border-radius: 18px;
  border: 1px solid rgba(255, 190, 92, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  overflow: hidden;
}

.sparkline-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.sparkline-head strong {
  font-size: 0.9rem;
}

.sparkline-head span {
  color: var(--muted);
}

.sparkline {
  width: 100%;
  height: 88px;
  display: block;
}

.sparkline-hover {
  position: absolute;
  inset: 34px 8px 8px;
  z-index: 2;
}

.sparkline-tooltip {
  position: absolute;
  top: 8px;
  min-width: 86px;
  padding: 6px 8px;
  border-radius: 12px;
  border: 1px solid rgba(255, 190, 92, 0.2);
  color: var(--text);
  font-size: 0.78rem;
  background: rgba(10, 8, 18, 0.92);
  pointer-events: none;
  z-index: 3;
  white-space: nowrap;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 9px;
}

.stat-box {
  padding: 10px;
  border-radius: 15px;
  border: 1px solid rgba(255, 190, 92, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

.stat-box strong {
  display: block;
  margin-top: 4px;
  font-size: 0.9rem;
}

.trade-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.trade-tabs button {
  flex: 1;
}

.trade-shell {
  display: grid;
  gap: 8px;
}

.score-bar {
  height: 8px;
  margin-bottom: 9px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 190, 92, 0.12);
}

.score-fill {
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(90deg, var(--rose), var(--gold) 42%, var(--lime));
  box-shadow: 0 0 18px rgba(255, 190, 92, 0.28);
  animation: scorePulse 3.4s ease-in-out infinite;
}

.card-room-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

.runner-room-button {
  width: 100%;
}

.trade-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.card-action-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.card-action-row button {
  width: 100%;
  min-width: 0;
}

.feedback-line {
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255, 190, 92, 0.12);
  color: var(--muted);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
}

.feedback-line.is-success {
  color: #9ff7c7;
  border-color: rgba(124, 255, 178, 0.22);
  background: linear-gradient(180deg, rgba(124, 255, 178, 0.12), rgba(255, 255, 255, 0.02));
}

.feedback-line.is-warning {
  color: #ffd27d;
  border-color: rgba(255, 196, 99, 0.25);
  background: linear-gradient(180deg, rgba(255, 196, 99, 0.12), rgba(255, 255, 255, 0.02));
}

.feedback-line.is-error {
  color: #ff9ba9;
  border-color: rgba(255, 123, 149, 0.24);
  background: linear-gradient(180deg, rgba(255, 123, 149, 0.14), rgba(255, 255, 255, 0.02));
}

.feedback-link {
  color: var(--cyan);
  font-weight: 700;
  text-decoration: none;
}

.feedback-link:hover {
  color: var(--text);
}

.saved-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  margin-top: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    var(--panel);
}

.history-strip {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  margin-top: 18px;
  background:
    radial-gradient(circle at right center, rgba(97, 210, 255, 0.08), transparent 22%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    var(--panel);
}

.history-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.history-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--text);
  border: 1px solid rgba(255, 190, 92, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.history-pill a {
  color: var(--cyan);
  font-weight: 700;
  text-decoration: none;
}

.history-pill a:hover {
  color: var(--text);
}

.portfolio-strip {
  margin-top: 18px;
  scroll-margin-top: 24px;
  padding: 18px;
  border-radius: 28px;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at top left, rgba(124, 255, 178, 0.1), transparent 22%),
    radial-gradient(circle at top right, rgba(86, 214, 255, 0.1), transparent 22%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.portfolio-strip-head,
.portfolio-card-head,
.portfolio-holding,
.portfolio-empty-state,
.portfolio-insights {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.portfolio-summary-grid,
.portfolio-grid,
.portfolio-calendar,
.portfolio-holdings-list,
.portfolio-insights {
  display: grid;
}

.portfolio-strip-head {
  margin-bottom: 14px;
}

.portfolio-summary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.portfolio-summary-card,
.portfolio-card,
.portfolio-day,
.portfolio-holding,
.portfolio-empty-state {
  border-radius: 22px;
  border: 1px solid rgba(255, 190, 92, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

.portfolio-summary-card {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
}

.portfolio-summary-card span {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portfolio-summary-card strong {
  font-size: 1.08rem;
}

.portfolio-summary-card strong.is-positive,
.portfolio-holding-value strong.is-positive {
  color: var(--lime);
}

.portfolio-summary-card strong.is-negative,
.portfolio-holding-value strong.is-negative {
  color: #ff9ba9;
}

.portfolio-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 14px;
  margin-top: 14px;
}

.portfolio-card {
  padding: 16px;
}

.portfolio-card-head {
  margin-bottom: 14px;
}

.portfolio-calendar {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.portfolio-day {
  position: relative;
  min-height: 86px;
  padding: 10px;
  overflow: hidden;
}

.portfolio-day::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
}

.portfolio-day.is-up {
  border-color: rgba(124, 255, 178, 0.2);
  background:
    radial-gradient(circle at top right, rgba(124, 255, 178, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(124, 255, 178, 0.1), rgba(255, 255, 255, 0.02));
}

.portfolio-day.is-up::after {
  background: var(--lime);
}

.portfolio-day.is-down {
  border-color: rgba(255, 123, 149, 0.24);
  background:
    radial-gradient(circle at top right, rgba(255, 123, 149, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(255, 123, 149, 0.1), rgba(255, 255, 255, 0.02));
}

.portfolio-day.is-down::after {
  background: var(--rose);
}

.portfolio-day.is-flat::after {
  background: rgba(255, 190, 92, 0.5);
}

.portfolio-day.is-missing {
  opacity: 0.64;
  border-style: dashed;
}

.portfolio-day.is-today {
  box-shadow: inset 0 0 0 1px rgba(255, 190, 92, 0.24);
}

.portfolio-day-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  min-height: 30px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.82rem;
  font-weight: 700;
}

.portfolio-day-value {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

.portfolio-day-value strong {
  font-size: 0.96rem;
}

.portfolio-day-value span {
  color: var(--muted);
  font-size: 0.78rem;
}

.portfolio-holdings-list {
  gap: 10px;
}

.portfolio-holding {
  padding: 14px;
}

.portfolio-holding-copy {
  display: grid;
  gap: 4px;
}

.portfolio-holding-copy strong {
  font-size: 1rem;
}

.portfolio-holding-copy span,
.portfolio-holding-value span {
  color: var(--muted);
}

.portfolio-holding-value {
  display: grid;
  gap: 4px;
  text-align: right;
}

.portfolio-empty-state {
  justify-content: center;
  padding: 18px;
  color: var(--muted);
}

.portfolio-insights {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.top-coins-stage {
  margin-top: 18px;
  padding: 18px;
  background:
    radial-gradient(circle at top left, rgba(97, 210, 255, 0.12), transparent 26%),
    radial-gradient(circle at top right, rgba(255, 190, 92, 0.1), transparent 20%),
    var(--panel-soft);
}

.top-coins-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.top-coins-head h3 {
  margin: 0;
  font-family: "Bricolage Grotesque", "Space Grotesk", sans-serif;
  font-size: 2rem;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.top-coins-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.top-coins-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 196, 99, 0.12);
}

.top-coins-canvas-shell {
  position: relative;
  min-height: 360px;
  border-radius: 24px;
  border: 1px solid rgba(255, 196, 99, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01)),
    rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.top-coins-canvas {
  width: 100%;
  height: 360px;
  display: block;
}

.top-coins-tooltip {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 150px;
  padding: 10px 12px;
  border-radius: 16px;
  color: var(--text);
  background: rgba(20, 9, 13, 0.96);
  border: 1px solid rgba(255, 196, 99, 0.16);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  transform: translate(10px, 10px);
}

.social-desk {
  margin-top: 18px;
  padding: 18px;
  border-radius: 28px;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at top right, rgba(86, 214, 255, 0.1), transparent 22%),
    radial-gradient(circle at bottom left, rgba(255, 190, 92, 0.1), transparent 24%),
    var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

.chat-lounge {
  margin-top: 18px;
  padding: 18px;
  border-radius: 28px;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at top left, rgba(123, 121, 255, 0.1), transparent 22%),
    radial-gradient(circle at bottom right, rgba(255, 190, 92, 0.08), transparent 22%),
    var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.chat-lounge-head,
.chat-form-actions,
.chat-message-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.chat-form {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.chat-form textarea {
  width: 100%;
  resize: vertical;
  min-height: 92px;
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 190, 92, 0.14);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  font: inherit;
}

.chat-messages {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.chat-message {
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 190, 92, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02));
}

.chat-message p {
  margin: 10px 0 0;
  color: var(--text);
  line-height: 1.55;
}

.chat-user {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.chat-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  font-weight: 800;
  color: #1b1126;
  background: linear-gradient(135deg, var(--gold), #fff1bd);
}

.chat-name-flair {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 190, 92, 0.14);
}

.chat-name-flair.is-pro {
  color: var(--gold);
  background:
    linear-gradient(135deg, rgba(255, 190, 92, 0.18), rgba(255, 225, 142, 0.08));
  box-shadow: 0 0 20px rgba(255, 190, 92, 0.12);
}

body.is-token-room-open {
  overflow: hidden;
}

.token-room-drawer {
  position: fixed;
  inset: 0;
  z-index: 35;
}

.token-room-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 4, 16, 0.76);
  backdrop-filter: blur(12px);
}

.token-room-panel {
  position: relative;
  width: min(1200px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  margin: 14px auto;
  overflow: auto;
  border-radius: 32px;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at top right, rgba(86, 214, 255, 0.1), transparent 18%),
    radial-gradient(circle at bottom left, rgba(255, 190, 92, 0.12), transparent 20%),
    rgba(13, 8, 26, 0.96);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.48);
}

.token-room-shell {
  padding: 24px;
}

.token-room-head,
.token-room-chart-head,
.token-room-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.token-room-status {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 190, 92, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
}

.token-room-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.9fr);
  gap: 18px;
  margin-top: 18px;
}

.token-room-main,
.token-room-side {
  display: grid;
  gap: 18px;
  align-content: start;
}

.token-room-card {
  padding: 18px;
  border-radius: 26px;
  border: 1px solid rgba(255, 190, 92, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.token-room-chart-head strong {
  display: block;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.token-room-chart {
  margin-top: 18px;
  min-height: 260px;
  padding: 16px;
  border-radius: 24px;
  border: 1px solid rgba(255, 190, 92, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
}

.token-room-chart svg {
  display: block;
  width: 100%;
  height: 220px;
}

.token-room-axis {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.82rem;
}

.token-room-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.token-room-stat {
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 190, 92, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.token-room-stat span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 6px;
}

.token-room-stat strong {
  font-size: 1.08rem;
}

.whale-board {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.whale-slot {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 22px;
  border: 1px solid rgba(255, 190, 92, 0.14);
  background:
    radial-gradient(circle at top right, rgba(255, 212, 120, 0.12), transparent 36%),
    rgba(255, 255, 255, 0.03);
}

.whale-slot-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.whale-rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 34px;
  border-radius: 999px;
  font-weight: 800;
  color: #1b1126;
  background: linear-gradient(135deg, var(--gold), #fff1bd);
}

.whale-slot-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: var(--muted);
  font-size: 0.84rem;
}

.whale-slot .chat-user {
  align-items: center;
}

.coin-chat-message {
  border-color: rgba(86, 214, 255, 0.12);
}

.coin-chat-message .summary-meta {
  white-space: nowrap;
}

.muted-chat {
  color: var(--muted);
}

.social-desk::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0, transparent 42%, rgba(255, 255, 255, 0.06) 50%, transparent 58%, transparent 100%);
  transform: translateX(-120%);
  animation: shineSweep 8s linear infinite;
  pointer-events: none;
}

.social-desk-head,
.social-draft-head,
.social-draft-meta,
.social-draft-actions {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.social-desk-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.social-narrative,
.social-draft-card {
  border-radius: 24px;
  border: 1px solid rgba(255, 190, 92, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

.social-narrative {
  margin-top: 16px;
  padding: 18px;
  position: relative;
}

.social-narrative strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.social-narrative p,
.social-draft-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.social-draft-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.social-draft-card {
  padding: 16px;
}

.social-platform-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(86, 214, 255, 0.08);
  border: 1px solid rgba(86, 214, 255, 0.16);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.social-draft-card {
  transform: translateY(0);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.social-draft-card:hover {
  transform: translateY(-3px);
  border-color: rgba(86, 214, 255, 0.24);
}

.social-draft-head strong {
  display: block;
  margin-top: 8px;
  font-size: 1.12rem;
}

.social-draft-meta {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.88rem;
  flex-wrap: wrap;
}

.social-draft-actions {
  margin-top: 14px;
}

[hidden] {
  display: none !important;
}

.saved-strip-head {
  display: grid;
  gap: 4px;
}

.saved-pill.muted {
  color: var(--muted);
}

.auth-splash {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px 0;
}

.auth-splash.is-open {
  display: block;
}

.auth-splash-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 3, 5, 0.78);
  backdrop-filter: blur(16px);
}

.auth-splash-card {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 32px));
  margin: clamp(22px, 6vh, 52px) auto;
  padding: 34px 36px 36px;
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(255, 190, 92, 0.16), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    var(--panel);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 190, 92, 0.36) rgba(255, 255, 255, 0.04);
}

.auth-splash-card::-webkit-scrollbar {
  width: 10px;
}

.auth-splash-card::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
}

.auth-splash-card::-webkit-scrollbar-thumb {
  background: rgba(255, 190, 92, 0.36);
  border-radius: 999px;
}

.auth-splash-card h1 {
  margin: 0;
  font-family: "Bricolage Grotesque", "Space Grotesk", sans-serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.splash-copy {
  margin: 18px 0 0;
  max-width: 60ch;
  color: var(--muted);
  line-height: 1.65;
}

.auth-form {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.auth-form label {
  display: grid;
  gap: 8px;
}

.auth-form span {
  color: var(--muted);
}

.auth-form input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 196, 99, 0.14);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.auth-form textarea {
  width: 100%;
  resize: vertical;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 196, 99, 0.14);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  font: inherit;
}

.avatar-picker-field {
  display: grid;
  gap: 8px;
}

.avatar-picker-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 196, 99, 0.14);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  text-align: left;
}

.avatar-picker-value {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  font-size: 1.3rem;
  line-height: 1;
}

.avatar-picker-copy {
  color: var(--muted);
  font-size: 0.92rem;
}

.avatar-picker-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(255, 196, 99, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.avatar-option-button {
  display: inline-grid;
  place-items: center;
  min-height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  font-size: 1.2rem;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.avatar-option-button:hover,
.avatar-option-button.is-active {
  transform: translateY(-1px);
  border-color: rgba(255, 190, 92, 0.26);
  background: rgba(255, 190, 92, 0.1);
}

.guest-auth-intro {
  display: grid;
  gap: 8px;
}

.guest-auth-intro h2 {
  margin: 0;
  font-family: "Bricolage Grotesque", "Space Grotesk", sans-serif;
  font-size: 1.75rem;
  line-height: 1;
}

.guest-auth-switcher {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.auth-mode-switcher {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: min(100%, 360px);
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 190, 92, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.auth-mode-button {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.auth-mode-button:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.auth-mode-button.is-active {
  color: var(--ink);
  border-color: rgba(255, 196, 99, 0.28);
  background: linear-gradient(135deg, var(--gold), #ffd76d 42%, #fff1bd 100%);
  box-shadow: 0 12px 24px rgba(255, 190, 92, 0.16);
}

.guest-auth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.guest-auth-card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(255, 190, 92, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
}

.guest-auth-card-switcher {
  max-width: 520px;
}

.guest-auth-card-muted {
  border-color: rgba(86, 214, 255, 0.16);
  background:
    radial-gradient(circle at top right, rgba(86, 214, 255, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.018));
}

.guest-auth-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.guest-auth-card-head-stack {
  display: grid;
  justify-content: flex-start;
}

.guest-auth-card-head strong {
  font-size: 1.05rem;
}

.guest-auth-card-head small {
  color: var(--muted);
}

.auth-secondary-button {
  width: 100%;
  justify-content: center;
}

.auth-inline-actions {
  display: flex;
  justify-content: flex-start;
}

.auth-inline-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gold);
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.auth-inline-link:hover {
  color: var(--text);
}

.auth-studio-grid {
  display: grid;
  grid-template-columns: minmax(480px, 1.14fr) minmax(360px, 0.86fr);
  align-items: start;
  gap: 24px;
  margin-top: 28px;
}

.auth-studio-grid.is-guest-mode {
  grid-template-columns: minmax(360px, 520px);
  justify-content: center;
}

.studio-panel {
  width: 100%;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(255, 190, 92, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02));
}

.auth-studio-grid.is-guest-mode .studio-panel {
  max-width: 760px;
}

.profile-studio-head,
.theme-studio-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.theme-studio-head-compact {
  margin-top: 6px;
}

.profile-studio-head h2 {
  margin: 0;
  font-family: "Bricolage Grotesque", "Space Grotesk", sans-serif;
  font-size: 1.6rem;
  line-height: 1;
}

.profile-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(180px, 0.55fr);
  gap: 16px;
}

.theme-studio {
  margin-top: 18px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(255, 190, 92, 0.12);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.018));
}

.access-lab {
  margin-top: 18px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(86, 214, 255, 0.14);
  background:
    radial-gradient(circle at top right, rgba(86, 214, 255, 0.08), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.018));
}

.membership-tracker-card {
  margin-top: 18px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(255, 190, 92, 0.16);
  background:
    radial-gradient(circle at top right, rgba(255, 190, 92, 0.1), transparent 28%),
    radial-gradient(circle at bottom left, rgba(86, 214, 255, 0.08), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
}

.membership-tracker-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.membership-tracker-stat {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 190, 92, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.membership-tracker-stat span {
  color: var(--muted);
  font-size: 0.86rem;
}

.membership-tracker-stat strong {
  font-family: "Bricolage Grotesque", "Space Grotesk", sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  line-height: 1;
}

#membershipTrackerMeta {
  margin-top: 14px;
}

.access-form {
  margin-top: 16px;
}

.summary-meta.is-warning {
  color: #ffd6aa;
}

.panel-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--gold);
  border: 1px solid rgba(255, 190, 92, 0.14);
  background: rgba(255, 190, 92, 0.08);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.admin-studio {
  border-color: rgba(124, 255, 178, 0.16);
  background:
    radial-gradient(circle at top right, rgba(124, 255, 178, 0.08), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.018));
}

.owner-terminal {
  border-color: rgba(255, 107, 149, 0.18);
  background:
    radial-gradient(circle at top right, rgba(255, 107, 149, 0.12), transparent 26%),
    radial-gradient(circle at bottom left, rgba(86, 214, 255, 0.08), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
}

.admin-studio-form {
  margin-top: 16px;
}

.admin-setup-preview {
  margin-top: 14px;
}

.admin-setup-grid,
.admin-ops-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.admin-setup-card,
.admin-ops-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(255, 190, 92, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.admin-setup-card strong {
  font-size: 1rem;
  word-break: break-all;
}

.admin-recovery-codes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-recovery-code {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 12px;
  border: 1px solid rgba(124, 255, 178, 0.18);
  background: rgba(124, 255, 178, 0.08);
  color: var(--text);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.admin-ops-shell {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.admin-ops-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-ops-list {
  display: grid;
  gap: 10px;
  align-content: start;
}

.admin-ops-item {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 190, 92, 0.1);
  background: rgba(255, 255, 255, 0.024);
}

.admin-ops-item strong {
  font-size: 0.96rem;
}

.admin-ops-item span,
.admin-ops-item small {
  color: var(--muted);
  line-height: 1.5;
  word-break: break-word;
}

.gift-lab {
  margin-top: 18px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(255, 190, 92, 0.12);
  background:
    radial-gradient(circle at top right, rgba(86, 214, 255, 0.08), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.018));
}

.gift-code-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 12px;
  align-items: end;
  margin: 16px 0 12px;
}

.gift-code-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.gift-code-pill {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 190, 92, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.gift-code-pill strong {
  font-size: 0.98rem;
}

.gift-code-pill small {
  color: var(--muted);
}

.support-studio {
  display: grid;
  gap: 16px;
  min-height: 100%;
  align-content: start;
  padding-block: 24px;
  background:
    radial-gradient(circle at top right, rgba(255, 190, 92, 0.12), transparent 30%),
    radial-gradient(circle at bottom left, rgba(86, 214, 255, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02));
}

.support-studio-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.support-studio-head h2 {
  margin: 0;
  font-family: "Bricolage Grotesque", "Space Grotesk", sans-serif;
  font-size: 1.7rem;
  line-height: 1;
}

.support-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.support-option-grid {
  display: grid;
  gap: 14px;
}

.support-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(255, 190, 92, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

.support-card-featured {
  border-color: rgba(255, 190, 92, 0.24);
  background:
    radial-gradient(circle at top right, rgba(255, 190, 92, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
}

.support-card strong {
  font-size: 1.2rem;
}

.support-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.support-card-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--gold);
  border: 1px solid rgba(255, 190, 92, 0.14);
  background: rgba(255, 190, 92, 0.08);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.support-action-button {
  width: 100%;
}

.support-wallet-display {
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 190, 92, 0.12);
  background: rgba(255, 255, 255, 0.03);
  line-height: 1.6;
  word-break: break-word;
}

.support-claim-form {
  margin: 0;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
}

.support-claim-form label {
  min-width: 0;
}

.support-claim-form button {
  width: 100%;
  justify-content: center;
}

.support-claim-form button:disabled,
.support-claim-form input:disabled {
  cursor: not-allowed;
  opacity: 0.66;
}

.theme-option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 12px;
  margin: 16px 0 12px;
  max-height: 430px;
  overflow: auto;
  padding-right: 4px;
}

.theme-card {
  display: grid;
  gap: 8px;
  justify-items: flex-start;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 190, 92, 0.12);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.06), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  text-align: left;
}

.theme-card strong {
  font-size: 0.96rem;
  line-height: 1.1;
}

.theme-card small {
  color: var(--muted);
}

.theme-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.theme-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  font-size: 1rem;
}

.theme-card-badge {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 190, 92, 0.18);
  background: rgba(255, 190, 92, 0.08);
  color: var(--gold);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.theme-card.is-active {
  border-color: rgba(124, 255, 178, 0.24);
  background:
    radial-gradient(circle at top left, rgba(124, 255, 178, 0.16), transparent 40%),
    radial-gradient(circle at bottom right, rgba(86, 214, 255, 0.12), transparent 42%),
    rgba(124, 255, 178, 0.06);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.18);
}

.theme-card.is-locked {
  opacity: 0.78;
}

.theme-card.is-unlocked {
  border-color: rgba(86, 214, 255, 0.22);
}

.theme-card.is-holiday {
  position: relative;
  overflow: hidden;
  border-color: var(--theme-card-border, rgba(255, 255, 255, 0.08));
  background:
    radial-gradient(circle at top right, var(--theme-card-glow-a, rgba(255, 255, 255, 0.06)), transparent 42%),
    radial-gradient(circle at bottom left, var(--theme-card-glow-b, rgba(255, 255, 255, 0.04)), transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 42px rgba(0, 0, 0, 0.18);
}

.theme-card.is-holiday > * {
  position: relative;
  z-index: 1;
}

.theme-card.is-holiday::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--theme-card-pattern-image, none);
  background-size: var(--theme-card-pattern-size, 156px 156px);
  background-position: center;
  opacity: 0.32;
  pointer-events: none;
}

.theme-card.is-holiday::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 45%, rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at 80% 14%, var(--theme-card-glow-c, rgba(255, 255, 255, 0.06)), transparent 18%);
  pointer-events: none;
}

.theme-card.is-live-holiday {
  border-color: rgba(124, 255, 178, 0.28);
  background:
    radial-gradient(circle at top right, rgba(124, 255, 178, 0.18), transparent 36%),
    radial-gradient(circle at bottom left, var(--theme-card-glow-b, rgba(86, 214, 255, 0.12)), transparent 42%),
    linear-gradient(180deg, rgba(124, 255, 178, 0.08), rgba(255, 255, 255, 0.02));
}

.theme-card.is-live-holiday .theme-card-badge {
  border-color: rgba(124, 255, 178, 0.24);
  background: rgba(124, 255, 178, 0.12);
  color: var(--lime);
}

.theme-card-swatch {
  width: 100%;
  height: 64px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 30px rgba(0, 0, 0, 0.2);
  filter: saturate(1.18) contrast(1.08) brightness(1.04);
}

.theme-card-swatch-dynamic {
  position: relative;
  overflow: hidden;
  background-blend-mode: screen, normal;
}

.theme-card-swatch-dynamic::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--theme-card-pattern-image, none);
  background-size: var(--theme-card-pattern-size, 156px 156px);
  background-position: center;
  opacity: 0.46;
}

.theme-card-swatch-dynamic::after {
  content: attr(data-theme-icon);
  position: absolute;
  right: 10px;
  bottom: 8px;
  font-size: 1.6rem;
  opacity: 0.9;
  text-shadow: 0 0 18px var(--theme-card-icon-shadow, rgba(255, 255, 255, 0.24));
}

.theme-card.is-holiday .theme-card-icon {
  border-color: var(--theme-card-border, rgba(255, 255, 255, 0.08));
  background: color-mix(in srgb, var(--theme-card-accent, var(--gold)) 16%, rgba(255, 255, 255, 0.02));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.theme-card.is-holiday .theme-card-badge {
  border-color: color-mix(in srgb, var(--theme-card-accent, var(--gold)) 26%, transparent);
  background: color-mix(in srgb, var(--theme-card-accent, var(--gold)) 12%, transparent);
  color: var(--theme-card-accent, var(--gold));
}

.theme-midnight {
  background:
    radial-gradient(circle at top left, rgba(255, 190, 92, 0.2), transparent 35%),
    linear-gradient(135deg, #08050e, #17102a);
}

.theme-founder-split {
  background:
    radial-gradient(circle at top left, rgba(112, 235, 255, 0.26), transparent 34%),
    radial-gradient(circle at bottom right, rgba(255, 214, 121, 0.24), transparent 34%),
    linear-gradient(120deg, #081120 0%, #102a5c 48%, #0c2440 48%, #53401c 100%);
}

.theme-gold {
  background:
    radial-gradient(circle at top left, rgba(255, 236, 190, 0.2), transparent 35%),
    linear-gradient(135deg, #160b07, #573019);
}

.theme-aqua {
  background:
    radial-gradient(circle at top left, rgba(86, 214, 255, 0.22), transparent 35%),
    linear-gradient(135deg, #031018, #10465d);
}

.theme-sol {
  background:
    radial-gradient(circle at top left, rgba(124, 255, 178, 0.25), transparent 30%),
    radial-gradient(circle at bottom right, rgba(140, 124, 255, 0.22), transparent 36%),
    linear-gradient(135deg, #081021, #14204a 58%, #1e3f67);
}

.theme-paper {
  background:
    radial-gradient(circle at top left, rgba(59, 94, 168, 0.14), transparent 32%),
    linear-gradient(135deg, #ffffff, #edf2f8 54%, #dbe6ef);
}

.theme-blackout {
  background:
    radial-gradient(circle at top left, rgba(148, 233, 255, 0.08), transparent 18%),
    radial-gradient(circle at bottom right, rgba(151, 162, 255, 0.06), transparent 18%),
    linear-gradient(135deg, #000000, #030406 56%, #0a0d12);
}

.theme-red-matrix {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(255, 102, 102, 0.22), transparent 28%),
    radial-gradient(circle at bottom right, rgba(242, 180, 79, 0.14), transparent 28%),
    linear-gradient(135deg, #080102, #1d0608 54%, #4d1117);
}

.theme-red-matrix::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 116, 116, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 116, 116, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.85;
}

.theme-red-matrix::after {
  content: "01 10 11";
  position: absolute;
  right: 10px;
  bottom: 8px;
  color: rgba(255, 214, 136, 0.88);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
}

.theme-launch {
  background:
    radial-gradient(circle at top left, rgba(255, 126, 167, 0.28), transparent 30%),
    radial-gradient(circle at bottom right, rgba(255, 188, 120, 0.22), transparent 36%),
    linear-gradient(135deg, #230813, #5a2141 56%, #a9544b);
}

.theme-rose-voltage {
  background:
    radial-gradient(circle at top left, rgba(255, 118, 206, 0.3), transparent 34%),
    linear-gradient(135deg, #170710, #5e1954 58%, #cf3f87);
}

.theme-arctic-signal {
  background:
    radial-gradient(circle at top left, rgba(101, 208, 255, 0.2), transparent 34%),
    linear-gradient(135deg, #fcffff, #e1eef5 60%, #bfd6ea);
}

.theme-ember-terminal {
  background:
    radial-gradient(circle at top left, rgba(255, 173, 103, 0.28), transparent 34%),
    linear-gradient(135deg, #170a07, #4d2012 60%, #b85424);
}

.theme-velvet-casino {
  background:
    radial-gradient(circle at top left, rgba(221, 138, 255, 0.22), transparent 34%),
    linear-gradient(135deg, #120714, #431655 58%, #8d3cb9);
}

.theme-aurora-pulse {
  background:
    radial-gradient(circle at top left, rgba(117, 255, 216, 0.22), transparent 34%),
    radial-gradient(circle at bottom right, rgba(89, 214, 255, 0.18), transparent 34%),
    linear-gradient(135deg, #07120f, #0f3e33 60%, #14676c);
}

.theme-graphite-mint {
  background:
    radial-gradient(circle at top left, rgba(129, 255, 224, 0.18), transparent 30%),
    linear-gradient(135deg, #040708, #1a2424 58%, #34534e);
}

.theme-royal-circuit {
  background:
    radial-gradient(circle at top left, rgba(131, 150, 255, 0.26), transparent 32%),
    linear-gradient(135deg, #090914, #23285c 58%, #455fc4);
}

.theme-cherry-bloom {
  background:
    radial-gradient(circle at top left, rgba(255, 151, 191, 0.24), transparent 30%),
    linear-gradient(135deg, #19080f, #5f1e32 58%, #bf5570);
}

.theme-ice-prism {
  background:
    radial-gradient(circle at top left, rgba(113, 214, 255, 0.18), transparent 32%),
    linear-gradient(135deg, #ffffff, #eaf4fa 58%, #cadeec);
}

.theme-copper-grid {
  background:
    radial-gradient(circle at top left, rgba(230, 163, 105, 0.22), transparent 32%),
    linear-gradient(135deg, #170d08, #51301f 58%, #9f613d);
}

.theme-option-grid-holiday {
  margin-top: 12px;
}

.theme-holiday-note {
  margin-top: 6px;
}

.text-tone-field {
  display: grid;
  gap: 8px;
  margin: 10px 0 12px;
}

.text-tone-field select {
  width: 100%;
  padding: 13px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 196, 99, 0.14);
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
}

.splash-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
  color: var(--muted);
}

.splash-divider::before,
.splash-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 196, 99, 0.12);
}

.provider-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.provider-card {
  padding: 16px;
  border-radius: 22px;
}

.provider-state {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

.provider-state-live {
  color: var(--lime);
  background: rgba(124, 255, 178, 0.08);
}

.provider-card h4 {
  margin: 10px 0 8px;
}

.provider-card button {
  width: 100%;
  margin-top: 10px;
}

.provider-grid-empty {
  grid-column: 1 / -1;
  padding: 16px;
  border-radius: 18px;
  border: 1px dashed rgba(255, 190, 92, 0.12);
  color: var(--muted);
  line-height: 1.5;
}

.splash-close {
  position: sticky;
  top: 0;
  right: 0;
  z-index: 2;
  margin-left: auto;
  display: block;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 190, 92, 0.12);
  color: var(--muted);
  background: rgba(18, 10, 26, 0.88);
  backdrop-filter: blur(12px);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding: 0 6px;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-socials a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.16s ease, opacity 0.16s ease;
}

.footer-socials a:hover {
  color: var(--accent);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(124, 255, 178, 0.45);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(124, 255, 178, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(124, 255, 178, 0);
  }
}

@keyframes brandFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-2px) rotate(-1deg);
  }
}

@keyframes glowDrift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-24px, -12px) scale(1.08);
  }
}

@keyframes livePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(124, 255, 178, 0.42);
  }
  70% {
    box-shadow: 0 0 0 11px rgba(124, 255, 178, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(124, 255, 178, 0);
  }
}

@keyframes arcadeGlow {
  0%,
  100% {
    opacity: 0.6;
    transform: scaleX(0.96);
  }
  50% {
    opacity: 1;
    transform: scaleX(1.04);
  }
}

@keyframes runnerAlphaMove {
  0%,
  100% {
    transform: translate(0, 0);
  }
  35% {
    transform: translate(120px, -38px);
  }
  60% {
    transform: translate(264px, -4px);
  }
}

@keyframes runnerBetaMove {
  0%,
  100% {
    transform: translate(0, 0);
  }
  30% {
    transform: translate(88px, -72px);
  }
  70% {
    transform: translate(286px, -36px);
  }
}

@keyframes gatePulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
}

@keyframes boostSweep {
  0% {
    transform: translateX(0);
    opacity: 0;
  }
  20%,
  80% {
    opacity: 1;
  }
  100% {
    transform: translateX(520px);
    opacity: 0;
  }
}

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

@keyframes scorePulse {
  0%,
  100% {
    filter: saturate(1);
  }
  50% {
    filter: saturate(1.22) brightness(1.05);
  }
}

@keyframes shineSweep {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}

@keyframes matrixRainDrift {
  0% {
    background-position: 0 0, 0 0, 0 0;
  }
  100% {
    background-position: 0 0, 0 0, 0 220px;
  }
}

@keyframes matrixGlowPulse {
  0% {
    opacity: 0.86;
    transform: scale(1);
  }
  100% {
    opacity: 1;
    transform: scale(1.02);
  }
}

@media (max-width: 1260px) {
  .scene-banner {
    grid-template-columns: 1fr;
  }

  .scene-market-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scene-stats {
    grid-template-columns: 1fr;
  }

  .scene-wallet-card {
    grid-column: 1 / -1;
    grid-template-rows: auto auto auto minmax(160px, auto) auto;
  }

  .portfolio-summary-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .inline-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .auth-studio-grid {
    grid-template-columns: 1fr;
  }

  .theme-option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 880px) {
  .page-shell {
    width: 100%;
    max-width: none;
    padding: 10px 10px 118px;
  }

  .page-directory-panel {
    display: none;
  }

  .topbar,
  .scene-banner,
  .news-strip,
  .ribbon-head,
  .ribbon-footer,
  .social-desk-head,
  .chat-lounge-head,
  .saved-strip,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .theme-option-grid {
    grid-template-columns: 1fr;
    max-height: none;
    overflow: visible;
  }

  .topbar {
    position: sticky;
    top: 8px;
    z-index: 25;
    padding: 14px;
    border-radius: 24px;
    gap: 10px;
    background:
      linear-gradient(180deg, rgba(16, 11, 24, 0.96), rgba(10, 8, 16, 0.94)),
      var(--panel);
    box-shadow:
      0 18px 40px rgba(0, 0, 0, 0.34),
      inset 0 1px 0 rgba(255, 255, 255, 0.04);
  }

  .brand-lockup {
    width: 100%;
    align-items: center;
  }

  .brand-lockup > div {
    min-width: 0;
  }

  .brand-kicker,
  .brand-trademark {
    display: none;
  }

  .brand-logo-img {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .brand-lockup strong {
    font-size: 1rem;
    letter-spacing: 0.02em;
  }

  #accountMeta {
    margin-top: 4px;
    display: -webkit-box;
    font-size: 0.78rem;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .news-strip {
    grid-template-columns: 1fr;
  }

  .system-health-bar {
    grid-template-columns: 1fr;
  }

  .page-directory-card {
    max-width: none;
  }

  .system-health-indicators {
    justify-content: flex-start;
  }

  .launch-banner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 8px 10px;
    padding: 7px 10px;
    border-radius: 12px;
  }

  .launch-banner-copy {
    align-items: center;
    gap: 8px;
  }

  .launch-banner-meta {
    flex-basis: 100%;
  }

  .apple-install-banner,
  .apple-install-copy {
    flex-direction: column;
    align-items: flex-start;
  }

  .apple-install-banner {
    display: flex;
  }

  .apple-install-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .mobile-news-toggle {
    display: inline-flex;
    width: fit-content;
  }

  .news-source-buttons {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .news-source-button {
    white-space: nowrap;
  }

  .news-timeline {
    min-height: auto;
  }

  body.is-mobile-view .news-strip {
    gap: 10px;
    padding: 12px;
  }

  body.is-mobile-view .news-strip-copy {
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  body.is-mobile-view .system-health-bar {
    grid-template-columns: 1fr;
  }

  body.is-mobile-view .scene-copy h1 {
    max-width: none;
    font-size: clamp(2rem, 10vw, 3rem);
  }

  body.is-mobile-view .scene-preview-rail,
  body.is-mobile-view .scene-hero-actions {
    width: 100%;
  }

  body.is-mobile-view .scene-copy p:not(.eyebrow) {
    line-height: 1.55;
  }

  body.is-mobile-view .scene-banner {
    padding: 18px;
  }

  body.is-mobile-view .scene-market-board {
    padding: 14px;
    border-radius: 24px;
  }

  body.is-mobile-view .scene-market-head,
  body.is-mobile-view .scene-stats {
    grid-template-columns: 1fr;
  }

  body.is-mobile-view .scene-market-head {
    display: grid;
  }

  body.is-mobile-view .scene-chart-buttons {
    justify-content: flex-start;
  }

  body.is-mobile-view .scene-market-frame {
    min-height: 300px;
    padding: 12px;
  }

  body.is-mobile-view .scene-market-canvas {
    height: 272px;
  }

  body.is-mobile-view .scene-market-summary,
  body.is-mobile-view .scene-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.is-mobile-view .scene-wallet-head {
    flex-direction: column;
    align-items: flex-start;
  }

  body.is-mobile-view .scene-wallet-actions,
  body.is-mobile-view .scene-wallet-summary {
    grid-template-columns: 1fr;
  }

  body.is-mobile-view .scene-wallet-card {
    grid-template-rows: auto auto auto auto auto;
  }

  body.is-mobile-view .scene-wallet-brand {
    min-height: 150px;
  }

  body.is-mobile-view .scene-wallet-brand-mark {
    width: 178px;
    height: 178px;
    margin-right: -28px;
    margin-top: 18px;
  }

  body.is-mobile-view .scene-wallet-brand-logo-outer {
    width: 120px;
    height: 120px;
    padding: 15px;
  }

  body.is-mobile-view .scene-wallet-brand-logo-middle {
    padding: 12px;
  }

  body.is-mobile-view .scene-wallet-brand-logo-inner {
    padding: 10px;
  }

  body.is-mobile-view .scene-market-pill strong {
    font-size: 0.96rem;
  }

  .social-draft-grid,
  .provider-grid,
  .stat-grid,
  .trade-grid,
  .inline-filters,
  .guest-auth-grid,
  .profile-form-grid,
  .gift-code-form,
  .news-fallback-grid,
  .portfolio-summary-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .auth-mode-switcher,
  .guest-auth-card-switcher {
    width: 100%;
    max-width: none;
  }

  .portfolio-calendar {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .candidate-board {
    grid-auto-columns: minmax(248px, 78vw);
    gap: 10px;
    padding-bottom: 4px;
  }

  .topbar-actions,
  .news-source-buttons,
  .ribbon-meta,
  .preset-buttons,
  .active-filters,
  .bookmarks-list,
  .top-coins-meta,
  .social-desk-actions,
  .chat-form-actions,
  .filter-actions,
  .site-footer,
  .scene-chart-buttons {
    width: 100%;
  }

  .topbar-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .topbar-actions .topbar-link-button,
  .topbar-actions #layoutModeButton,
  .topbar-actions #manualWalletButton,
  .topbar-actions #logoutButton,
  .topbar-actions #connectWalletButton,
  .topbar-actions #openSplashButton {
    display: none;
  }

  .topbar-actions #accountName,
  .topbar-actions #walletStatusBadge {
    width: 100%;
    min-height: 38px;
    justify-content: flex-start;
    padding: 0 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
  }

  .topbar-actions button,
  .topbar-actions .topbar-link-button,
  .filter-actions button,
  .card-action-row button {
    flex: 1;
  }

  .mobile-taskbar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 7px;
    padding: 10px 11px;
    border-radius: 26px;
    border: 1px solid rgba(255, 190, 92, 0.2);
    background:
      linear-gradient(180deg, rgba(18, 13, 28, 0.98), rgba(9, 8, 15, 0.96)),
      rgba(10, 8, 16, 0.94);
    box-shadow:
      0 22px 56px rgba(0, 0, 0, 0.48),
      inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
  }

  body[data-theme="blackout"] .mobile-taskbar {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.94);
  }

  .mobile-taskbar-item {
    min-height: 54px;
    padding: 4px 6px;
    border-radius: 18px;
  }

  .auth-splash-backdrop {
    backdrop-filter: blur(10px);
  }

  .token-room-panel {
    width: min(100vw, calc(100vw - 12px));
    max-height: calc(100vh - 12px);
    margin: 6px auto;
    border-radius: 24px;
  }

  .token-room-shell {
    padding: 16px;
  }

  .token-room-grid,
  .token-room-stats {
    grid-template-columns: 1fr;
  }

  .token-room-head,
  .token-room-chart-head,
  .token-room-section-head {
    flex-direction: column;
    align-items: stretch;
  }

  .token-room-chart {
    min-height: 210px;
  }

  body.is-mobile-view .control-ribbon {
    padding: 16px;
  }

  body.is-mobile-view .ribbon-head h2 {
    font-size: clamp(2.2rem, 12vw, 3.3rem);
  }

  body.is-mobile-view .runner-card {
    border-radius: 24px;
    padding: 12px;
  }

  body.is-mobile-view .card-top {
    align-items: center;
  }

  body.is-mobile-view .card-symbol {
    min-width: 34px;
    min-height: 34px;
    border-radius: 12px;
  }

  body.is-mobile-view .card-copy h3 {
    font-size: clamp(1.32rem, 7vw, 1.72rem);
  }

  body.is-mobile-view .card-copy p,
  body.is-mobile-view .card-room-row .summary-meta,
  body.is-mobile-view .stat-box.is-secondary {
    display: none;
  }

  body.is-mobile-view .card-meta {
    margin: 8px 0 6px;
    gap: 6px 10px;
    font-size: 0.78rem;
  }

  body.is-mobile-view .card-meta .card-link {
    width: 100%;
    order: 10;
  }

  body.is-mobile-view .sparkline-shell {
    margin-bottom: 8px;
    padding: 7px;
  }

  body.is-mobile-view .sparkline {
    height: 78px;
  }

  body.is-mobile-view .stat-grid {
    gap: 7px;
    margin-bottom: 8px;
  }

  body.is-mobile-view .stat-box {
    padding: 9px;
  }

  body.is-mobile-view .stat-box strong {
    font-size: 0.84rem;
  }

  body.is-mobile-view .score-bar {
    margin-bottom: 8px;
  }

  body.is-mobile-view .card-room-row {
    margin-bottom: 8px;
  }

  body.is-mobile-view .trade-tabs {
    margin-bottom: 7px;
  }

  body.is-mobile-view .trade-grid {
    gap: 7px;
  }

  body.is-mobile-view .trade-shell input {
    padding: 11px 12px;
    border-radius: 15px;
  }

  body.is-mobile-view .card-action-row {
    gap: 7px;
    margin-top: 7px;
  }

  body.is-mobile-view .card-action-row .primary-button,
  body.is-mobile-view .card-action-row .ghost-button,
  body.is-mobile-view .trade-tab {
    min-height: 42px;
    padding: 10px 12px;
    font-size: 0.88rem;
  }

  .auth-splash {
    padding: 0;
    align-items: flex-end;
  }

  .auth-splash-card {
    width: min(100%, calc(100% - 8px));
    min-height: calc(100vh - 8px);
    margin: 8px auto 0;
    padding: 18px 16px 34px;
    border-radius: 30px 30px 0 0;
  }

  .auth-splash-card h1 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .mobile-studio-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 14px;
  }

  .mobile-studio-tab {
    font-size: 0.84rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .auth-studio-grid.is-guest-mode {
    grid-template-columns: minmax(0, 1fr);
  }

  .auth-studio-grid.is-guest-mode .studio-panel {
    max-width: none;
  }

  #profileStudioPanel {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  #profileStudioPanel .theme-studio {
    order: 2;
  }

  #profileStudioPanel .membership-tracker-card {
    order: 2;
  }

  #profileStudioPanel .access-lab {
    order: 3;
  }

  #profileStudioPanel .admin-studio {
    order: 4;
  }

  #profileStudioPanel .gift-lab {
    order: 5;
  }

  #profileStudioPanel .access-form {
    gap: 10px;
  }

  .admin-setup-grid,
  .admin-ops-grid {
    grid-template-columns: 1fr;
  }

  .system-health-bar,
  .launch-banner,
  .apple-install-banner,
  .control-ribbon,
  .saved-strip,
  .top-coins-stage,
  .scene-banner,
  .runner-card {
    border-radius: 22px;
  }

  .system-health-bar,
  .launch-banner,
  .apple-install-banner,
  .control-ribbon,
  .saved-strip,
  .top-coins-stage {
    padding-left: 14px;
    padding-right: 14px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: 100%;
    padding: 8px 8px 112px;
  }

  .topbar {
    top: 6px;
    padding: 12px;
    gap: 10px;
    border-radius: 22px;
  }

  .brand-lockup {
    gap: 10px;
    align-items: flex-start;
  }

  .brand-mark {
    min-width: 0;
    gap: 8px;
    padding: 8px 12px 8px 10px;
    font-size: 0.82rem;
    letter-spacing: 0.1em;
  }

  .brand-logo-img {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .brand-lockup strong {
    font-size: 0.88rem;
  }

  .topbar-actions {
    grid-template-columns: 1fr;
  }

  .topbar-actions #accountName,
  .topbar-actions #walletStatusBadge {
    min-height: 36px;
    font-size: 0.82rem;
  }

  .system-health-bar,
  .launch-banner,
  .apple-install-banner,
  .control-ribbon,
  .news-strip,
  .saved-strip {
    padding-left: 12px;
    padding-right: 12px;
  }

  .system-health-indicators {
    grid-template-columns: 1fr;
  }

  .portfolio-calendar {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .mobile-taskbar {
    left: 8px;
    right: 8px;
    gap: 5px;
    padding: 8px 9px;
    border-radius: 22px;
  }

  .mobile-taskbar-item {
    min-height: 52px;
    padding: 0 6px;
  }

  .mobile-taskbar-icon {
    min-width: 24px;
    min-height: 18px;
    font-size: 0.5rem;
  }

  .mobile-taskbar-label {
    font-size: 0.64rem;
    letter-spacing: 0.1em;
  }

  .mobile-taskbar-badge {
    display: none;
  }

  .auth-splash-card {
    width: min(100%, calc(100% - 4px));
    min-height: calc(100vh - 4px);
    margin: 4px auto 0;
    padding: 16px 12px 30px;
    border-radius: 26px 26px 0 0;
  }

  .auth-splash-card h1 {
    font-size: clamp(1.8rem, 10vw, 2.6rem);
  }

  .guest-auth-card,
  .studio-panel,
  .membership-tracker-card,
  .access-lab,
  .theme-studio {
    padding: 14px;
    border-radius: 18px;
  }

  .mobile-studio-tabs {
    gap: 6px;
    margin-bottom: 12px;
  }

  .mobile-studio-tab {
    min-height: 38px;
    padding: 0 10px;
    font-size: 0.74rem;
  }

  .mobile-studio-tab span[aria-hidden="true"] {
    min-width: 20px;
    min-height: 16px;
    font-size: 0.52rem;
  }

  .profile-form-grid,
  .membership-tracker-grid,
  .guest-auth-grid,
  .admin-ops-actions {
    gap: 10px;
  }

  .membership-tracker-grid {
    grid-template-columns: 1fr;
  }

  .admin-recovery-code {
    width: 100%;
    justify-content: center;
  }

  .candidate-board {
    grid-auto-columns: minmax(220px, 84vw);
  }
}
