:root {
  color-scheme: dark;
  --bg: #090b10;
  --surface: #11141b;
  --surface-2: #171b23;
  --line: #252a34;
  --text: #f4f6f8;
  --muted: #858b98;
  --lime: #bafc52;
  --lime-dark: #122006;
  --purple: #9f82ff;
  --danger: #ff6f7d;
  --radius: 24px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html {
  background: var(--bg);
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(circle at 90% 8%, rgba(159, 130, 255, .11), transparent 29rem),
    radial-gradient(circle at 3% 33%, rgba(186, 252, 82, .07), transparent 24rem),
    var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.auth-pending .app-shell,
.auth-required .app-shell {
  display: none;
}

.auth-gate {
  display: none;
  min-height: 100dvh;
  place-items: center;
  padding: max(24px, env(safe-area-inset-top)) 18px max(24px, env(safe-area-inset-bottom));
}

.auth-pending .auth-gate,
.auth-required .auth-gate {
  display: grid;
}

.auth-gate-card {
  width: min(100%, 520px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(24, 28, 37, .98), rgba(13, 16, 22, .98));
  box-shadow: 0 24px 80px rgba(0, 0, 0, .42);
  padding: clamp(22px, 6vw, 38px);
}

.auth-brand {
  margin-bottom: 38px;
}

.auth-gate h1 {
  margin-bottom: 16px;
}

.auth-gate-copy {
  color: var(--muted);
  line-height: 1.6;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 24px 0 18px;
}

.auth-tab,
.auth-reset,
.membership-required button {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--text);
  padding: 11px;
  cursor: pointer;
}

.auth-tab.active {
  border-color: var(--lime);
  color: var(--lime);
}

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

.auth-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.auth-form input {
  min-height: 49px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #0e1118;
  color: var(--text);
  padding: 0 13px;
  outline: none;
}

.auth-form input:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(186, 252, 82, .1);
}

.auth-submit {
  width: 100%;
  min-height: 49px;
  margin-top: 4px;
}

.auth-reset {
  border: 0;
  background: transparent;
  color: var(--lime);
}

.auth-message {
  min-height: 20px;
  margin: 0;
  color: #ffbd6f;
  font-size: 11px;
  line-height: 1.5;
}

.auth-message.error {
  color: var(--danger);
}

.membership-required {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  border: 1px solid #564223;
  border-radius: 15px;
  background: rgba(87, 68, 38, .18);
  padding: 16px;
}

.membership-required[hidden] {
  display: none;
}

.membership-required span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.membership-required a {
  border-radius: 12px;
  background: var(--lime);
  color: #0b0d10;
  padding: 12px;
  text-align: center;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
}

.account-plan {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-2);
  padding: 14px;
  color: var(--lime) !important;
  font-weight: 800;
}

.app-shell {
  width: min(100%, 680px);
  min-height: 100dvh;
  margin: 0 auto;
  padding: env(safe-area-inset-top) 18px calc(104px + env(safe-area-inset-bottom));
}

.topbar {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -.7px;
}

.brand > span:last-child span { color: var(--lime); }

.brand-mark {
  width: 29px;
  height: 29px;
  border-radius: 9px;
  background: var(--lime);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  padding: 7px;
  transform: rotate(-4deg);
}

.brand-mark i {
  display: block;
  width: 3px;
  border-radius: 4px;
  background: #0b0d10;
}

.brand-mark i:nth-child(1) { height: 7px; }
.brand-mark i:nth-child(2) { height: 14px; }
.brand-mark i:nth-child(3) { height: 10px; }

.top-actions { display: flex; align-items: center; gap: 8px; }

.language-button {
  height: 35px;
  min-width: 39px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--lime);
  background: rgba(17, 20, 27, .8);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .8px;
  cursor: pointer;
}

.icon-button, .avatar {
  width: 39px;
  height: 39px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text);
  background: rgba(17, 20, 27, .8);
  cursor: pointer;
}

.icon-button { position: relative; }
.icon-button svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.notification-dot { position: absolute; width: 7px; height: 7px; background: var(--lime); border: 2px solid var(--surface); border-radius: 50%; right: 2px; top: 1px; }
.icon-button.enabled .notification-dot { display: none; }
.avatar { font-size: 11px; font-weight: 800; background: linear-gradient(145deg, #28243a, #151724); }

.intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin: 27px 1px 32px;
}

.eyebrow {
  margin: 0 0 7px;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 10px;
  line-height: 1;
  letter-spacing: 1.8px;
  font-weight: 800;
}

h1 {
  margin: 0;
  font-size: clamp(33px, 10vw, 50px);
  line-height: .98;
  letter-spacing: -2px;
  font-weight: 780;
  text-transform: uppercase;
}

h1 em {
  color: var(--muted);
  font-style: normal;
  font-weight: 520;
}

.live-pill {
  border: 1px solid #314021;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 9px;
  letter-spacing: 1.1px;
  color: var(--lime);
  font-weight: 850;
  background: rgba(22, 35, 9, .65);
  margin-bottom: 3px;
}
.live-pill strong { font: inherit; }
.live-pill.reconnecting { color: #ffbd6f; border-color: #574426; }
.live-pill.reconnecting span { background: #ffbd6f; animation: none; }

.live-pill span {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(186, 252, 82, .4);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 7px rgba(186, 252, 82, 0); }
  100% { box-shadow: 0 0 0 0 rgba(186, 252, 82, 0); }
}

.signal-search {
  margin: -12px 0 28px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0, rgba(186, 252, 82, .08), transparent 11rem),
    rgba(17, 20, 27, .72);
}

.signal-search .eyebrow {
  margin-left: 2px;
}

.signal-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.signal-search input {
  min-width: 0;
  height: 43px;
  border: 1px solid #2b313c;
  border-radius: 12px;
  color: var(--text);
  background: #0c0f14;
  padding: 0 12px;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  outline: none;
}

.signal-search input:focus {
  border-color: rgba(186, 252, 82, .72);
  box-shadow: 0 0 0 3px rgba(186, 252, 82, .1);
}

.signal-search-form button,
.clear-search {
  height: 43px;
  border: 0;
  border-radius: 12px;
  color: #0b0e09;
  background: var(--lime);
  padding: 0 14px;
  font-size: 9px;
  font-weight: 900;
  cursor: pointer;
}

.clear-search {
  width: 100%;
  height: 34px;
  margin-top: 8px;
  color: var(--text);
  background: #262b35;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 4px 11px;
}

.section-heading h2 { margin: 0; font-size: 13px; letter-spacing: -.1px; }
.section-heading time, .text-button { color: var(--muted); font-size: 11px; }
.text-button { border: 0; background: none; cursor: pointer; padding: 4px; }

.signal-card {
  background: linear-gradient(155deg, rgba(24, 28, 37, .98), rgba(13, 16, 22, .98));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .32);
}

.signal-card.featured article { padding: 18px; }
.signal-card.new-arrival { animation: arrive .55s cubic-bezier(.2, .8, .2, 1); }
@keyframes arrive { from { transform: translateY(-12px) scale(.98); opacity: .2; } }

.card-top, .token, .token-name, .card-actions, .card-foot {
  display: flex;
  align-items: center;
}

.card-top { justify-content: space-between; }
.token { gap: 11px; }
.token-logo {
  width: 43px;
  height: 43px;
  border: 1px solid #353b48;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #0b0d10;
  background: linear-gradient(145deg, var(--lime), #7dbdff);
}

.token-name { gap: 8px; }
.token-name b { font-size: 17px; letter-spacing: -.4px; }
.token-name span {
  color: #b0a1ef;
  background: #27223a;
  padding: 4px 7px;
  border-radius: 6px;
  font-size: 8px;
  font-weight: 850;
}
.token-full-name { margin: 4px 0 0; font-size: 10px; color: var(--muted); }
.fresh-badge {
  color: var(--lime);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 1px;
  border: 1px solid #384b24;
  background: #16220c;
  border-radius: 7px;
  padding: 6px 8px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 22px 0 20px;
}

.stats > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-right: 1px solid var(--line);
  padding-left: 14px;
}
.stats > div:first-child { padding-left: 0; }
.stats > div:last-child { border: 0; padding-left: 17px; }
.stats span, .field-label { color: var(--muted); font-size: 8px; letter-spacing: 1px; font-weight: 800; }
.stats strong { font-size: 15px; letter-spacing: -.3px; }
.stats strong.positive,
.active-values strong.positive,
.history-result strong.positive,
.leader-values strong.positive { color: var(--lime); }
.stats strong.negative,
.active-values strong.negative,
.history-result strong.negative,
.leader-values strong.negative { color: var(--danger); }
.stats strong.neutral,
.active-values strong.neutral,
.history-result strong.neutral,
.leader-values strong.neutral { color: #cdd3dc; }
.field-label { margin: 0 0 8px; }

.chart-panel {
  margin: 0 0 20px;
  padding: 13px 13px 10px;
  border: 1px solid #252b35;
  border-radius: 15px;
  background: #0c0f14;
}
.chart-heading { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 8px; }
.chart-heading > div { display: flex; flex-direction: column; gap: 4px; }
.chart-heading span { color: var(--muted); font-size: 7px; letter-spacing: .9px; font-weight: 800; }
.chart-heading strong { font-size: 10px; color: #b8bec9; }
.chart-heading .chart-market { text-align: right; }
.sparkline { display: block; width: 100%; height: 92px; overflow: visible; }
.chart-line, .chart-area { fill: none; vector-effect: non-scaling-stroke; }
.chart-line { stroke: var(--lime); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chart-area { fill: url("#chartFill"); stroke: none; }
.chart-entry { y1: 50%; y2: 50%; stroke: #4a505b; stroke-width: 1; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.chart-legend { display: flex; gap: 13px; color: #6f7580; font-size: 7px; margin-top: 4px; }
.chart-legend span { display: flex; align-items: center; gap: 5px; }
.chart-legend i { width: 6px; height: 6px; border-radius: 50%; }
.legend-live { background: var(--lime); }
.legend-peak { background: var(--purple); }
.chart-grid line { stroke: #20252e; stroke-width: 1; vector-effect: non-scaling-stroke; }
.candle-up { fill: #8ef33d; stroke: #8ef33d; }
.candle-down { fill: #ff5267; stroke: #ff5267; }
.candle-wick { fill: none; stroke-width: 1; vector-effect: non-scaling-stroke; }
.legend-up { background: #8ef33d; }
.legend-down { background: #ff5267; }
.legend-entry { background: #747b87; }

.address-box {
  width: 100%;
  min-width: 0;
  height: 47px;
  border-radius: 12px;
  border: 1px solid #2b313c;
  color: #c9ced7;
  background: #0c0f14;
  padding: 0 8px 0 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.address-text { font-family: "SFMono-Regular", Consolas, monospace; font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.copy-icon { flex: 0 0 auto; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; background: var(--surface-2); margin-left: 8px; }
.copy-icon svg, .copy-primary svg, .open-trade svg { width: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.card-actions { gap: 8px; margin-top: 9px; }
.copy-primary, .open-trade {
  height: 48px;
  border: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .2px;
  cursor: pointer;
  text-decoration: none;
}
.copy-primary { flex: 1.2; background: var(--lime); color: #0a0c0f; }
.open-trade { flex: 1; color: var(--text); background: #262b35; }
.copy-primary:active, .open-trade:active, .address-box:active { transform: scale(.98); }

.card-foot {
  justify-content: center;
  gap: 6px;
  margin: 13px 0 -2px;
  color: #6e7480;
  font-size: 9px;
}
.source-link { color: inherit; text-decoration: none; }
.source-link[href]:hover { color: var(--lime); }
.verified { display: inline-grid; place-items: center; width: 12px; height: 12px; border-radius: 50%; color: #10130d; background: var(--lime); font-size: 8px; font-weight: 900; }

.active-desk, .history, .recap-section { margin-top: 28px; }
.desk-count { color: var(--lime); background: #17210e; border: 1px solid #344624; border-radius: 999px; padding: 6px 9px; font-size: 8px; font-weight: 900; letter-spacing: .5px; }
.active-grid { display: grid; grid-template-columns: 1fr; gap: 8px; }
.active-card {
  min-width: 0;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(145deg, #151922, #0e1117);
}
.active-card-top, .active-card-top > div, .active-values { display: flex; align-items: center; }
.active-card-top { justify-content: space-between; margin-bottom: 13px; }
.active-card-top > div { gap: 6px; }
.active-card-top b { font-size: 13px; }
.active-card-top > div > span { color: #b5a7f3; background: #28233a; border-radius: 5px; padding: 3px 5px; font-size: 7px; font-weight: 900; }
.active-dot { color: var(--lime); font-size: 7px; letter-spacing: .7px; font-weight: 900; }
.active-dot::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 4px; border-radius: 50%; background: var(--lime); }
.active-values { gap: 18px; margin-bottom: 11px; }
.active-values > div { display: flex; flex-direction: column; gap: 3px; }
.active-values span { color: var(--muted); font-size: 7px; letter-spacing: .8px; }
.active-values strong { font-size: 15px; color: var(--lime); }
.active-copy { width: 100%; height: 34px; border: 0; border-radius: 9px; color: #0b0e09; background: var(--lime); font-size: 8px; font-weight: 900; cursor: pointer; }

.recap-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0, rgba(159, 130, 255, .12), transparent 14rem),
    linear-gradient(145deg, rgba(17, 20, 27, .96), rgba(12, 15, 20, .96));
}

.recap-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  padding: 5px;
  border-radius: 13px;
  background: #0b0e13;
}

.recap-tab {
  min-height: 33px;
  border: 0;
  border-radius: 9px;
  color: var(--muted);
  background: transparent;
  font-size: 8px;
  font-weight: 900;
  cursor: pointer;
}

.recap-tab.active {
  color: #0b0e09;
  background: var(--lime);
}

.custom-recap {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 7px;
  margin-top: 10px;
}

.custom-recap label {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .7px;
  text-transform: uppercase;
}

.custom-recap input,
.custom-recap button {
  min-width: 0;
  height: 37px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  background: #0d1015;
  padding: 0 9px;
  font-size: 10px;
}

.custom-recap button {
  align-self: end;
  color: #0b0e09;
  background: var(--lime);
  border: 0;
  font-weight: 900;
  cursor: pointer;
}

.recap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.recap-grid > div {
  min-height: 75px;
  padding: 12px;
  border: 1px solid #242a34;
  border-radius: 15px;
  background: rgba(7, 9, 13, .46);
}

.recap-grid span {
  display: block;
  color: var(--muted);
  font-size: 7px;
  letter-spacing: .8px;
  font-weight: 900;
  text-transform: uppercase;
}

.recap-grid strong {
  display: block;
  margin-top: 9px;
  font-size: clamp(17px, 7vw, 26px);
  line-height: .95;
  letter-spacing: -.8px;
}

.recap-note {
  margin: 11px 2px 0;
  color: #747b87;
  font-size: 9px;
  line-height: 1.45;
}

.history-list { display: grid; gap: 7px; }
.history-card {
  display: grid;
  grid-template-columns: 37px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 61px;
  padding: 10px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(17, 20, 27, .72);
  text-decoration: none;
}
.history-card.is-completed { opacity: .78; }
.history-logo { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 11px; color: var(--purple); background: #242a35; font-weight: 900; }
.history-main { min-width: 0; color: var(--muted); font-size: 8px; }
.history-title { display: flex; align-items: center; gap: 5px; margin-bottom: 5px; }
.history-title b { color: var(--text); font-size: 12px; }
.history-title i { color: #baaafa; background: #28233a; padding: 3px 5px; border-radius: 4px; font-style: normal; font-size: 7px; }
.history-title em { color: var(--lime); font-style: normal; font-size: 7px; text-transform: uppercase; }
.history-card.is-completed .history-title em { color: #9096a0; }
.history-result { text-align: right; }
.history-result strong { display: block; color: var(--lime); font-size: 14px; }
.history-result span { color: var(--muted); font-size: 7px; }
.history-result small { display: block; margin-top: 3px; color: #8e96a3; font-size: 7px; white-space: nowrap; }
.section-empty { padding: 20px; color: var(--muted); border: 1px dashed var(--line); border-radius: 14px; text-align: center; font-size: 10px; }

.signal-list { display: grid; gap: 9px; }
.list-card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(17, 20, 27, .72);
  padding: 11px;
}
.list-logo { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: #252b37; font-weight: 850; color: var(--purple); }
.list-main { min-width: 0; }
.list-title { display: flex; align-items: center; gap: 6px; margin-bottom: 5px; }
.list-title b { font-size: 13px; }
.chain-tag { font-size: 7px; background: #28233a; color: #b7a6f6; padding: 3px 5px; border-radius: 4px; font-weight: 850; }
.list-address { display: block; flex: 1; min-width: 0; color: var(--muted); font-family: "SFMono-Regular", Consolas, monospace; font-size: 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.list-peak { color: var(--lime); font-size: 9px; white-space: nowrap; }
.list-copy { width: 37px; height: 37px; border: 0; border-radius: 11px; color: #0a0d0f; background: var(--lime); display: grid; place-items: center; cursor: pointer; }
.list-copy svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 2; }

.leaderboard {
  margin-top: 34px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0, rgba(186, 252, 82, .08), transparent 15rem),
    rgba(17, 20, 27, .72);
}
.leaderboard .section-heading { margin: 0 0 15px; }
.leaderboard .section-heading .eyebrow { margin-bottom: 5px; }
.leaderboard-badge { color: var(--lime); border: 1px solid #354623; border-radius: 7px; padding: 5px 7px; font-size: 7px; font-weight: 900; letter-spacing: .8px; }
.leaderboard-list { display: grid; gap: 7px; }
.leader-card {
  display: grid;
  grid-template-columns: 29px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 9px 10px;
  border-radius: 14px;
  color: var(--text);
  background: #0d1015;
  text-decoration: none;
}
.leader-rank { width: 29px; height: 29px; border-radius: 9px; display: grid; place-items: center; color: #8a909b; background: #1b1f27; font-size: 10px; font-weight: 900; }
.leader-card:first-child .leader-rank { color: #111508; background: var(--lime); }
.leader-token { min-width: 0; }
.leader-token b { display: block; font-size: 12px; margin-bottom: 3px; }
.leader-token span { display: block; color: var(--muted); font-size: 8px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.leader-values { text-align: right; }
.leader-values strong { display: block; color: var(--lime); font-size: 16px; letter-spacing: -.4px; }
.leader-values span { color: #6f7580; font-size: 7px; }
.leaderboard-empty { padding: 18px 8px 6px; text-align: center; color: var(--muted); font-size: 10px; line-height: 1.5; }

.skeleton { min-height: 351px; position: relative; }
.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.04) 45%, transparent 70%);
  animation: loading 1.2s infinite;
}
@keyframes loading { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

.empty-state {
  min-height: 260px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 34px;
}
.empty-state-icon { width: 54px; height: 54px; margin: 0 auto 18px; border-radius: 18px; display: grid; place-items: center; background: #1b2412; color: var(--lime); font-size: 24px; }
.empty-state h3 { margin: 0 0 8px; font-size: 18px; }
.empty-state p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; max-width: 260px; }

.bottom-nav {
  position: fixed;
  z-index: 10;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 680px);
  height: calc(76px + env(safe-area-inset-bottom));
  padding: 8px 20px env(safe-area-inset-bottom);
  border-top: 1px solid rgba(42, 47, 58, .9);
  background: rgba(10, 12, 17, .9);
  backdrop-filter: blur(20px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.nav-item { border: 0; background: none; color: #676d78; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer; font-size: 9px; }
.nav-item svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav-item.active { color: var(--lime); }

.toast {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: calc(88px + env(safe-area-inset-bottom));
  width: max-content;
  max-width: calc(100% - 36px);
  padding: 12px 16px;
  color: #0b0e0a;
  background: var(--lime);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .4);
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition: .25s ease;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

dialog {
  width: min(calc(100% - 32px), 430px);
  color: var(--text);
  background: #14171e;
  border: 1px solid var(--line);
  border-radius: 25px;
  padding: 26px;
  box-shadow: 0 30px 100px #000;
}
dialog::backdrop { background: rgba(3, 4, 7, .76); backdrop-filter: blur(6px); }
.dialog-close { position: absolute; right: 14px; top: 12px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: #1b1f28; color: var(--text); font-size: 23px; cursor: pointer; }
.dialog-icon { font-size: 34px; margin-bottom: 24px; }
dialog h2 { font-size: 27px; line-height: 1.05; letter-spacing: -1px; margin: 0 0 24px; }
dialog ol { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 18px; }
dialog li { counter-increment: step; display: grid; grid-template-columns: 28px 1fr; column-gap: 10px; }
dialog li::before { content: counter(step); grid-row: 1 / span 2; width: 27px; height: 27px; border-radius: 8px; display: grid; place-items: center; background: var(--lime); color: #0b0e0a; font-weight: 900; font-size: 11px; }
dialog li b { font-size: 13px; }
dialog li span { color: var(--muted); font-size: 11px; line-height: 1.5; }
.tutorial-downloads { margin-top: 22px; padding: 18px; border: 1px solid rgba(173, 255, 58, .2); border-radius: 18px; background: linear-gradient(145deg, rgba(173, 255, 58, .08), rgba(139, 108, 255, .08)); }
.tutorial-downloads h3 { margin: 5px 0 8px; font-size: 18px; line-height: 1.05; letter-spacing: -.4px; }
.tutorial-downloads p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.tutorial-actions { display: grid; gap: 9px; margin-top: 15px; }
.guide-download { min-height: 48px; padding: 0 14px; display: flex; align-items: center; gap: 11px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255, 255, 255, .04); color: var(--text); text-decoration: none; }
.guide-download span { font-size: 18px; }
.guide-download strong { font-size: 11px; letter-spacing: .2px; }
.guide-download:active { transform: translateY(1px); }
.risk-note { color: #858b98; border-top: 1px solid var(--line); margin: 22px 0 0; padding-top: 16px; font-size: 9px; line-height: 1.5; }
.guide-primary { width: 100%; min-height: 44px; margin-top: 22px; border: 0; border-radius: 11px; color: #0b0e09; background: var(--lime); font-weight: 900; font-size: 10px; cursor: pointer; }
.platform-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; margin: 0 0 21px; border-radius: 12px; background: #0d1015; }
.platform-tab { height: 37px; border: 0; border-radius: 8px; color: var(--muted); background: transparent; font-weight: 800; cursor: pointer; }
.platform-tab.active { color: #0c0f09; background: var(--lime); }
.install-steps { display: grid !important; gap: 16px !important; }
.hidden { display: none !important; }

@media (min-width: 700px) {
  .app-shell { padding-inline: 30px; }
  .bottom-nav { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
  .active-grid { grid-template-columns: 1fr 1fr; }
}

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