@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@500;600;700&family=Geist:wght@500&family=Inter:wght@400;500;600;700&display=swap");

:root {
  color-scheme: dark;
  font-family: "DM Sans", sans-serif;
  --bg: #030303;
  --sidebar: #05040b;
  --panel: #080711;
  --panel-2: #0c0a15;
  --panel-3: #100d1a;
  --border: #181522;
  --border-strong: #262134;
  --text: #f3eff7;
  --muted: #918a99;
  --muted-2: #b0a9b7;
  --accent: #7733ff;
  --accent-bright: #a77fff;
  --green: #00dca0;
  --red: #ff5c56;
}

/* Trading bot cards: matched to the supplied institutional-strategy reference. */
.bots-view .bots-grid {
  width: 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
  margin-left: 0;
  transform: none;
}

.bots-view .trading-bot-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 500px;
  flex-direction: column;
  overflow: hidden;
  padding: 20px 20px 24px;
  border: 1px solid #242a32;
  border-radius: 16px;
  background:
    radial-gradient(circle at 82% 8%, rgba(72, 81, 99, 0.09), transparent 33%),
    linear-gradient(145deg, #0c1016 0%, #090d12 54%, #0a0e13 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.012), 0 20px 48px rgba(0, 0, 0, 0.06);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.bots-view .trading-bot-card::before { display: none; }

.bots-view .trading-bot-card:hover {
  padding: 20px 20px 24px;
  border-color: #3e444f;
  border-radius: 16px;
  background:
    radial-gradient(circle at 82% 8%, rgba(93, 82, 125, 0.1), transparent 35%),
    linear-gradient(145deg, #0e1219 0%, #0a0e13 54%, #0b0f15 100%);
  transform: translateY(-2px);
}

.trading-bot-card__header,
.trading-bot-card__identity,
.trading-bot-card__meta,
.trading-bot-card__performance,
.trading-bot-card__comparison,
.trading-bot-card__activate {
  display: flex;
  align-items: center;
}

.trading-bot-card__header { min-height: 62px; }

.trading-bot-card__identity {
  width: 100%;
  min-width: 0;
  gap: 18px;
  transform: none;
}

.trading-bot-card__mark {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  color: #aeb3bb;
  opacity: 0.88;
  transform: translateY(-2px);
}

.trading-bot-card__mark svg,
.trading-bot-card__mark img {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.trading-bot-card__bitcoin {
  display: block;
  background: linear-gradient(180deg, #d5d9de 0%, #a9afb8 48%, #747b85 100%);
  background-clip: text;
  color: transparent;
  font-family: Arial, sans-serif;
  font-size: 43px;
  font-weight: 600;
  letter-spacing: -0.08em;
  line-height: 1;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.trading-bot-card__mark img {
  filter: grayscale(1) brightness(1.7);
  opacity: 0.82;
}

.trading-bot-card__identity > div { min-width: 0; }

.trading-bot-card__identity h3 {
  overflow: hidden;
  margin: 0;
  color: #e4e7eb;
  font-family: "Inter", sans-serif;
  font-size: clamp(19px, 1.25vw, 23px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.12;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trading-bot-card__meta {
  min-width: 0;
  gap: 8px;
  margin-top: 10px;
  color: #a0a5ad;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.trading-bot-card__meta i {
  width: 1px;
  height: 15px;
  flex: 0 0 1px;
  background: #3b3e46;
}

.trading-bot-card__meta b {
  overflow: hidden;
  color: #a98bea;
  font-weight: 400;
  text-overflow: ellipsis;
}

.trading-bot-card__description {
  width: 100%;
  max-width: 100%;
  min-height: 72px;
  margin: 18px 0 0;
  color: #9ea3ac;
  font-family: "Inter", sans-serif;
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.65;
}

.trading-bot-card__performance {
  min-height: 140px;
  align-items: stretch;
  gap: 6px;
  margin: 14px 0 0;
  padding: 19px 12px 15px;
  border: 1px solid #28283d;
  border-radius: 12px;
  background:
    radial-gradient(circle at 70% 5%, rgba(119, 51, 255, 0.045), transparent 48%),
    #0d1119;
}

.trading-bot-card__performance-copy {
  display: flex;
  width: 54%;
  min-width: 123px;
  flex-direction: column;
  align-items: flex-start;
}

.trading-bot-card__performance-copy > span {
  color: #9ea3ac;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 400;
}

.trading-bot-card__performance-copy > strong {
  margin-top: 12px;
  color: #60dd90;
  font-family: "Inter", sans-serif;
  font-size: 29px;
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.trading-bot-card__comparison {
  gap: 9px;
  margin-top: auto;
  color: #9297a0;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
}

.trading-bot-card__comparison b {
  color: #57cf83;
  font-weight: 600;
}

.trading-bot-card__chart {
  display: block;
  width: 46%;
  min-width: 0;
  height: 86px;
  align-self: center;
  overflow: visible;
  color: #8e68dc;
}

.trading-bot-card__chart-baseline {
  fill: none;
  stroke: #343744;
  stroke-dasharray: 2 4;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.trading-bot-card__chart-line {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.15;
  vector-effect: non-scaling-stroke;
}

.trading-bot-card__metrics {
  display: grid;
  grid-template-columns: 1fr 0.86fr 1.1fr;
  margin: 22px 0 0;
  padding: 0;
}

.trading-bot-card__metrics > div {
  min-width: 0;
  padding: 0 12px;
}

.trading-bot-card__metrics > div:first-child { padding-left: 0; }
.trading-bot-card__metrics > div:last-child { padding-right: 0; }
.trading-bot-card__metrics > div + div { border-left: 1px solid #242a31; }

.trading-bot-card__metrics dt {
  overflow: hidden;
  color: #8f949d;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trading-bot-card__metrics dd {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 9px 0 0;
  color: #d9dde3;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.trading-bot-card__risk-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: currentColor;
}

.trading-bot-card__metric-risk.is-low { color: #55dc8c; }
.trading-bot-card__metric-risk.is-mid { color: #f0b84d; }
.trading-bot-card__metric-risk.is-high { color: #ff666e; }

.bots-view .trading-bot-card .trading-bot-card__activate {
  width: 176px;
  min-width: 184px;
  height: 44px;
  flex: 0 0 44px;
  justify-content: center;
  gap: 12px;
  align-self: center;
  margin-top: auto;
  padding: 0 12px;
  border: 1px solid rgba(205, 183, 255, 0.38);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(110deg, #5b24d3 0%, #7733ff 46%, #a467ff 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), inset 0 -1px 0 rgba(46, 12, 104, 0.42), 0 9px 24px rgba(82, 31, 178, 0.24);
  text-shadow: 0 1px 0 rgba(31, 9, 69, 0.3);
  backdrop-filter: blur(14px);
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease, transform 180ms ease;
}

.trading-bot-card__activate svg {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.bots-view .trading-bot-card .trading-bot-card__activate:hover:not(:disabled) {
  border-color: rgba(225, 213, 255, 0.64);
  color: #fff;
  background: linear-gradient(110deg, #682be6 0%, #843fff 48%, #b177ff 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34), 0 12px 30px rgba(91, 38, 188, 0.34);
  transform: translateY(-2px);
}

.bots-view .trading-bot-card .trading-bot-card__activate:active:not(:disabled) { transform: translateY(1px) scale(0.99); }

.bots-view .trading-bot-card .trading-bot-card__activate:disabled {
  border-color: #2a2e35;
  color: #6d727b;
  background: #0b0e13;
  cursor: not-allowed;
}

.bots-view .trading-bot-card--unavailable,
.bots-view .trading-bot-card--unavailable:hover {
  border-color: #242931;
  background: #090c11;
  transform: none;
}

.bots-view .trading-bot-card.is-highlighted {
  border-color: #765bb1;
  box-shadow: 0 0 0 3px rgba(119, 51, 255, 0.12), 0 20px 54px rgba(28, 16, 51, 0.28);
}

.bots-view .trading-bot-card--premium {
  min-height: 500px;
  padding: 22px 22px 20px;
  border-color: rgba(75, 68, 91, 0.72);
  border-radius: 18px;
  background:
    radial-gradient(circle at 78% -12%, rgba(119, 51, 255, 0.12), transparent 34%),
    linear-gradient(160deg, #100e16 0%, #09080e 48%, #07070b 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    inset 0 -40px 90px rgba(0, 0, 0, 0.22),
    0 24px 64px rgba(0, 0, 0, 0.18);
  font-family: "DM Sans", sans-serif;
}

.bots-view .trading-bot-card--premium::before {
  position: absolute;
  inset: 0;
  display: block;
  border-radius: inherit;
  background:
    linear-gradient(90deg, transparent 8%, rgba(213, 192, 255, 0.55) 42%, rgba(119, 51, 255, 0.78) 72%, transparent 94%) top / 100% 1px no-repeat,
    radial-gradient(ellipse at 72% 0%, rgba(136, 80, 255, 0.12), transparent 42%);
  content: "";
  pointer-events: none;
}

.bots-view .trading-bot-card--premium::after {
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.34'/%3E%3C/svg%3E");
  background-size: 120px 120px;
  content: "";
  mix-blend-mode: screen;
  opacity: 0.026;
  pointer-events: none;
}

.bots-view .trading-bot-card--btc {
  background:
    radial-gradient(circle at 20% -8%, rgba(197, 184, 221, 0.08), transparent 31%),
    radial-gradient(circle at 82% -12%, rgba(119, 51, 255, 0.09), transparent 35%),
    linear-gradient(160deg, #100f15 0%, #09090e 48%, #07070a 100%);
}

.bots-view .trading-bot-card--eth {
  background:
    radial-gradient(circle at 77% -8%, rgba(145, 86, 255, 0.15), transparent 36%),
    radial-gradient(circle at 18% -10%, rgba(255, 255, 255, 0.045), transparent 28%),
    linear-gradient(160deg, #110f18 0%, #0a0910 48%, #07070b 100%);
}

.bots-view .trading-bot-card--premium:hover {
  padding: 22px 22px 20px;
  border-color: rgba(155, 126, 211, 0.72);
  border-radius: 18px;
  background:
    radial-gradient(circle at 76% -10%, rgba(143, 84, 255, 0.16), transparent 37%),
    linear-gradient(160deg, #121019 0%, #0b0a11 48%, #08080c 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 28px 72px rgba(20, 9, 40, 0.28);
}

.trading-bot-card--premium > * {
  position: relative;
  z-index: 1;
}

.trading-bot-card--premium .trading-bot-card__header {
  min-height: 52px;
}

.trading-bot-card--premium .trading-bot-card__identity {
  gap: 14px;
}

.trading-bot-card--premium .trading-bot-card__mark {
  width: 46px;
  height: 46px;
  flex-basis: 46px;
  opacity: 1;
  transform: none;
}

.trading-bot-card__premium-coin {
  display: block;
  width: 46px;
  height: 46px;
  overflow: visible;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.44)) drop-shadow(0 0 12px rgba(152, 111, 232, 0.12));
}

.trading-bot-card__premium-coin--btc {
  transform: translateX(-1px);
}

.trading-bot-card__premium-coin--eth {
  width: 46px;
  height: 46px;
}

.trading-bot-card--premium .trading-bot-card__identity h3 {
  color: #f5f1f8;
  font-family: "DM Sans", sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.trading-bot-card--premium .trading-bot-card__meta {
  gap: 7px;
  margin-top: 6px;
  color: #9f99a8;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
}

.trading-bot-card--premium .trading-bot-card__meta b {
  color: #b894ff;
  font-weight: 700;
}

.trading-bot-card--premium .trading-bot-card__description {
  min-height: 58px;
  margin-top: 17px;
  color: #aaa5b0;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.trading-bot-card--premium .trading-bot-card__performance {
  min-height: 142px;
  gap: 8px;
  margin-top: 14px;
  padding: 18px 2px 15px;
  border: 0;
  border-top: 1px solid rgba(87, 78, 105, 0.5);
  border-bottom: 1px solid rgba(87, 78, 105, 0.42);
  border-radius: 0;
  background:
    radial-gradient(ellipse at 82% 48%, rgba(119, 51, 255, 0.09), transparent 46%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012), transparent 42%);
  box-shadow: none;
}

.trading-bot-card--premium .trading-bot-card__performance-copy {
  width: 40%;
  min-width: 108px;
}

.trading-bot-card--premium .trading-bot-card__performance-copy > span {
  color: #a6a1ad;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.trading-bot-card--premium .trading-bot-card__performance-copy > strong {
  margin-top: 9px;
  color: #61e79a;
  font-family: "DM Sans", sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.045em;
}

.trading-bot-card--premium .trading-bot-card__comparison {
  color: #a3a0a9;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
}

.trading-bot-card--premium .trading-bot-card__comparison b {
  color: #48e098;
  font-weight: 700;
}

.trading-bot-card--premium .trading-bot-card__chart {
  width: 60%;
  height: 100px;
  color: #aa7aff;
  filter: drop-shadow(0 0 12px rgba(157, 114, 255, 0.18));
}

.trading-bot-card--premium .trading-bot-card__chart-baseline {
  stroke: rgba(151, 155, 169, 0.3);
}

.trading-bot-card--premium .trading-bot-card__chart-line {
  stroke-width: 1.35;
}

.trading-bot-card--premium .trading-bot-card__metrics {
  grid-template-columns: 1fr 0.7fr 1.12fr;
  margin-top: 17px;
}

.trading-bot-card--premium .trading-bot-card__metrics > div {
  padding: 0 10px;
}

.trading-bot-card--premium .trading-bot-card__metrics > div + div {
  border-left-color: rgba(98, 104, 117, 0.34);
}

.trading-bot-card--premium .trading-bot-card__metrics dt {
  min-height: 28px;
  overflow: visible;
  color: #8f8997;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-overflow: clip;
  white-space: normal;
}

.trading-bot-card--premium .trading-bot-card__metrics dd {
  color: #f0edf3;
  font-family: "DM Sans", sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.trading-bot-card--premium .trading-bot-card__metric-risk {
  font-weight: 700;
}

.trading-bot-card--premium .trading-bot-card__metric-risk.is-low { color: #55dc8c; }
.trading-bot-card--premium .trading-bot-card__metric-risk.is-mid { color: #f0b84d; }
.trading-bot-card--premium .trading-bot-card__metric-risk.is-high { color: #ff666e; }

.bots-view .trading-bot-card--premium .trading-bot-card__activate {
  width: 168px;
  height: 40px;
  min-width: 168px;
  flex-basis: 40px;
  margin-top: auto;
  border-color: rgba(225, 213, 255, 0.5);
  border-radius: 10px;
  color: #150d20;
  background: linear-gradient(135deg, #c8b3ff 0%, #a87aff 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.48), 0 9px 24px rgba(80, 33, 168, 0.22);
  text-shadow: none;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.bots-view .trading-bot-card--premium .trading-bot-card__activate:hover:not(:disabled) {
  border-color: rgba(240, 233, 255, 0.72);
  color: #100819;
  background: linear-gradient(135deg, #d4c4ff 0%, #b68aff 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58), 0 12px 28px rgba(92, 39, 184, 0.3);
}

@media (max-width: 1650px) {
  .bots-view .bots-grid {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-left: 0;
    transform: none;
  }
}

@media (max-width: 1180px) {
  .bots-view .bots-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .bots-view .bots-grid { grid-template-columns: 1fr; }
  .bots-view .trading-bot-card { min-height: 570px; padding: 24px 20px 26px; }
  .bots-view .trading-bot-card:hover { padding: 24px 20px 26px; }
  .trading-bot-card__identity h3 { font-size: 22px; }
  .trading-bot-card__description { margin-right: 0; margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .bots-view .trading-bot-card,
  .trading-bot-card__activate { transition: none; }

  .bots-view .trading-bot-card:hover,
  .bots-view .trading-bot-card__activate:hover:not(:disabled) { transform: none; }
}

* { box-sizing: border-box; }

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

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 67% -15%, rgba(105, 44, 206, 0.08), transparent 34%),
    var(--bg);
  font-weight: 500;
}

button,
input {
  font: inherit;
}

button { font-weight: 600; }

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid #a98cff;
  outline-offset: 3px;
}

button,
a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }

.dashboard-app {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  z-index: 30;
  top: 0;
  bottom: 0;
  left: 0;
  display: flex;
  width: 210px;
  flex-direction: column;
  overflow-y: auto;
  scrollbar-width: none;
  padding: 24px 16px 18px;
  border-right: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(7, 6, 15, 0.98), rgba(4, 3, 10, 0.98)),
    var(--sidebar);
}

.sidebar::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.dash-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 54px;
  padding: 0 7px;
}

.dash-brand strong {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.dash-mark,
.mini-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
}

.dash-mark {
  width: 27px;
  height: 29px;
}

.dash-mark i,
.mini-bars i {
  display: block;
  border-radius: 4px;
  background: linear-gradient(180deg, #fff, #a8a0b5);
}

.dash-mark i { width: 5px; }
.dash-mark i:nth-child(1) { height: 11px; }
.dash-mark i:nth-child(2) { height: 19px; }
.dash-mark i:nth-child(3) { height: 27px; }

.side-nav {
  display: grid;
  gap: 7px;
  margin-top: 38px;
}

.side-link {
  display: flex;
  width: 100%;
  height: 38px;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #8c8693;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.side-link span {
  display: inline-grid;
  width: 15px;
  place-items: center;
  color: #928b9b;
}

.side-link:hover {
  color: #eeeaf4;
  background: rgba(255, 255, 255, 0.025);
  transform: translateX(2px);
}

.side-link.active {
  border-color: rgba(164, 126, 255, 0.34);
  color: #ffffff;
  background: linear-gradient(90deg, rgba(119, 51, 255, 0.24), rgba(119, 51, 255, 0.08));
  box-shadow: inset 3px 0 0 #9f7aff, 0 8px 24px rgba(67, 31, 137, 0.12);
}

.sidebar-spacer { flex: 1; }

.super-card {
  display: grid;
  grid-template-columns: 27px 1fr;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 64px;
  padding: 11px 12px;
  border: 1px solid #262132;
  border-radius: 11px;
  color: #f2edf8;
  background: linear-gradient(105deg, #15121e, #0d0b14);
  text-align: left;
  cursor: pointer;
}

.super-card b {
  font-size: 22px;
  font-weight: 400;
}

.super-card span { display: grid; }
.super-card strong { font-size: 13px; font-weight: 700; }
.super-card small { margin-top: 3px; color: #a19aa9; font-size: 12px; font-weight: 600; line-height: 1.3; }

.logout-link {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
  padding: 9px 12px;
  border: 0;
  color: #686271;
  background: transparent;
  font-size: 10px;
  cursor: pointer;
}

.logout-link:hover { color: #fff; }

.workspace {
  grid-column: 2;
  min-width: 0;
}

.topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  height: 76px;
  align-items: center;
  gap: 20px;
  padding: 0 26px;
  border-bottom: 1px solid var(--border);
  background: rgba(3, 2, 9, 0.86);
  backdrop-filter: blur(18px);
}

.profile {
  display: grid;
  grid-template-columns: 38px auto 18px;
  gap: 9px;
  align-items: center;
  min-width: 180px;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.profile > span:nth-child(2) { display: grid; }
.profile strong { font-size: 10px; font-weight: 500; }
.profile small { margin-top: 2px; color: #77717e; font-size: 8px; }
.profile .chevron { color: #aaa2b0; font-size: 14px; }

.avatar {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #d5c9fb;
  overflow: hidden;
  background: #0b0912 url("/assets/nft-avatar-cryptopunk-7697.png") center / cover no-repeat;
  box-shadow: none;
  font-size: 8px;
}

.deposit-button {
  height: 32px;
  padding: 0 16px;
  border: 0;
  border-radius: 9px;
  color: #0a0610;
  background: linear-gradient(110deg, #b9a4ff, #9d7cf2);
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: filter 160ms ease, transform 160ms ease;
}

.deposit-button:hover { filter: brightness(1.08); transform: translateY(-1px); }

.top-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
}

.icon-button,
.settings-button,
.search-box {
  height: 32px;
  border: 1px solid #211d2a;
  border-radius: 10px;
  background: rgba(7, 6, 13, 0.74);
}

.icon-button {
  position: relative;
  width: 34px;
  padding: 0;
  color: #a49dab;
  cursor: pointer;
}

.notification b {
  position: absolute;
  top: -6px;
  right: -2px;
  display: grid;
  width: 15px;
  height: 15px;
  place-items: center;
  border-radius: 50%;
  color: #09050e;
  background: #ac8dff;
  font-size: 8px;
}

.search-box {
  display: grid;
  grid-template-columns: 20px minmax(64px, 92px) 20px;
  align-items: center;
  padding: 0 8px;
  color: #817b87;
}

.search-box input {
  min-width: 0;
  border: 0;
  outline: 0;
  color: #e5dfeb;
  background: transparent;
  font-size: 9px;
}

.search-box input::placeholder { color: #8d8793; }

.search-box button {
  padding: 0;
  border: 0;
  color: #8d8693;
  background: transparent;
  cursor: pointer;
}

.settings-button {
  padding: 0 12px;
  color: #b4aeba;
  font-size: 9px;
  cursor: pointer;
}

.mobile-menu { display: none; }

.content {
  width: min(100%, 1390px);
  margin: 0 auto;
  padding: 26px 26px 42px;
}

.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 28px;
  align-items: stretch;
}

.starter-area { min-width: 0; }

.eyebrow-row,
.title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.eyebrow-row p {
  margin: 0;
  color: #8d8794;
  font-size: 9px;
}

.eyebrow-row p span { color: #b89eff; }

.eyebrow-row button,
.title-row > button {
  height: 25px;
  padding: 0 10px;
  border: 1px solid #211e28;
  border-radius: 9px;
  color: #9b94a2;
  background: #0c0a12;
  font-size: 8px;
  cursor: pointer;
}

.title-row h1 {
  margin: 5px 0 14px;
  font-size: 27px;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.title-row > button { margin-top: -10px; }

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

.task-card {
  display: flex;
  min-height: 198px;
  flex-direction: column;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background:
    radial-gradient(circle at 10% 0%, rgba(105, 69, 157, 0.07), transparent 40%),
    linear-gradient(150deg, #0b0913, #080710);
  transition: border-color 180ms ease, transform 180ms ease;
}

.task-card:hover {
  border-color: #2b2537;
  transform: translateY(-2px);
}

.task-card.complete {
  border-color: rgba(86, 221, 171, 0.22);
}

.task-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.task-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 9px;
  color: #25202d;
  background: linear-gradient(145deg, #8f80b2, #544a6c);
  font-size: 15px;
}

.task-icon.lock { color: #4d3900; background: linear-gradient(145deg, #f8c733, #efa900); }
.task-icon.asset { color: #352a50; background: linear-gradient(145deg, #a48cdf, #6a559c); }

.task-head button {
  display: grid;
  width: 27px;
  height: 27px;
  padding: 0;
  place-items: center;
  border: 1px solid #2a2531;
  border-radius: 50%;
  color: #b8b0bf;
  background: transparent;
  cursor: pointer;
}

.task-card h2 {
  min-height: 38px;
  margin: 12px 0 7px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.32;
}

.task-card p {
  margin: 0 0 13px;
  color: #77717f;
  font-size: 9px;
  line-height: 1.55;
}

.task-action {
  align-self: flex-start;
  height: 29px;
  margin-top: auto;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  color: #0d0814;
  background: linear-gradient(100deg, #baa4ff, #a88cf3);
  font-size: 8px;
  cursor: pointer;
}

.task-card.complete .task-action {
  color: #8ce9c7;
  background: rgba(0, 220, 160, 0.1);
}

.staking-card {
  position: relative;
  display: flex;
  min-height: 261px;
  flex-direction: column;
  overflow: hidden;
  padding: 19px;
  border: 1px solid #211c2d;
  border-radius: 15px;
  background: linear-gradient(
    180deg,
    #05050f 0%,
    #05050f 75%,
    #080713 81%,
    #0b081a 85%,
    #100924 90%,
    #180d32 95%,
    #36225c 98.5%,
    #4e357b 100%
  );
}

.staking-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
}

.staking-brand b {
  margin-left: auto;
  padding: 4px 9px;
  border-radius: 7px;
  color: #191022;
  background: #b79cff;
  font-size: 8px;
  font-weight: 500;
}

.mini-bars { width: 19px; height: 20px; }
.mini-bars i { width: 3px; }
.mini-bars i:nth-child(1) { height: 7px; }
.mini-bars i:nth-child(2) { height: 13px; }
.mini-bars i:nth-child(3) { height: 18px; }

.staking-card h2 {
  margin: 27px 0 7px;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.staking-card p {
  max-width: 225px;
  margin: 0;
  color: #615b68;
  font-size: 9px;
  line-height: 1.45;
}

.staking-lines {
  position: absolute;
  top: 96px;
  right: -6px;
  width: 90px;
  height: 76px;
  border-top: 1px solid rgba(155, 107, 255, 0.28);
  transform: skewY(-42deg);
}

.staking-lines::after {
  position: absolute;
  top: 25px;
  right: 9px;
  width: 64px;
  border-top: 1px solid rgba(155, 107, 255, 0.45);
  content: "";
}

.staking-actions {
  display: grid;
  gap: 8px;
  margin-top: auto;
}

.staking-actions button {
  height: 37px;
  border: 1px solid rgba(196, 174, 255, 0.12);
  border-radius: 10px;
  color: #0a0710;
  background: linear-gradient(100deg, #bfa9ff, #a98aef);
  font-size: 9px;
  font-weight: 500;
  cursor: pointer;
}

.staking-actions button + button {
  color: #f5efff;
  background: rgba(100, 61, 169, 0.14);
  box-shadow: inset 0 0 28px rgba(176, 131, 255, 0.08);
}

.market-panel {
  margin-top: 23px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(11, 9, 18, 0.98), rgba(7, 6, 13, 0.98));
}

.market-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 4px 8px;
  border-radius: 11px;
  background: linear-gradient(90deg, #0f0d17, #0c0a13);
}

.market-tabs button {
  height: 30px;
  padding: 0 15px;
  border: 0;
  border-radius: 8px;
  color: #716b77;
  background: transparent;
  font-size: 10px;
  cursor: pointer;
}

.market-tabs button.active { color: #e8e2ed; }
.market-tabs button.active::before { margin-right: 7px; color: #b696ff; content: "•"; }
.market-tabs .see-market { margin-left: auto; border: 1px solid #1e1a25; color: #817a87; }

.table-wrap { overflow-x: auto; }

table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
}

th,
td {
  padding: 13px 10px;
  border-bottom: 1px solid rgba(23, 20, 30, 0.66);
  font-size: 10px;
  text-align: left;
  white-space: nowrap;
}

th {
  padding-top: 16px;
  padding-bottom: 9px;
  color: #5e5866;
  font-size: 8px;
  font-weight: 400;
}

td { color: #a49eaa; }
tbody tr { transition: background 150ms ease, opacity 150ms ease; }
tbody tr:hover { background: rgba(255, 255, 255, 0.014); }
tbody tr[hidden] { display: none; }
tbody tr:last-child td { border-bottom: 0; }

.coin {
  display: inline-grid;
  width: 24px;
  height: 24px;
  margin-right: 8px;
  place-items: center;
  border-radius: 50%;
  color: #d7d1dc;
  background: #15131c;
  font-size: 10px;
}

.amount,
.gain,
.loss { display: block; }
.amount { color: #a7a0ad; font-size: 8px; }
.gain { color: var(--green); font-size: 8px; }
.loss { color: var(--red); font-size: 8px; }

.spark { width: 52px; height: 22px; overflow: visible; }
.spark path { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.spark.positive { color: var(--green); }
.spark.negative { color: var(--red); }

.trade {
  width: 62px;
  height: 27px;
  border: 1px solid #24202b;
  border-radius: 9px;
  color: #a39ca9;
  background: transparent;
  font-size: 8px;
  cursor: pointer;
}

.trade:hover { border-color: #67577c; color: #fff; }

.empty-state {
  display: none;
  margin: 24px 0 12px;
  color: #77717d;
  text-align: left;
  font-size: 12px;
}

.modal-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  padding: 20px;
  place-items: center;
  background: rgba(1, 1, 4, 0.76);
  backdrop-filter: blur(10px);
}

.modal-backdrop[hidden] { display: none; }

.modal {
  position: relative;
  width: min(410px, 100%);
  padding: 30px;
  border: 1px solid #30273d;
  border-radius: 18px;
  background:
    radial-gradient(circle at 90% 0%, rgba(127, 67, 244, 0.12), transparent 30%),
    #0b0912;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.55);
}

.modal-close {
  position: absolute;
  top: 13px;
  right: 13px;
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  place-items: center;
  border: 1px solid #2c2635;
  border-radius: 50%;
  color: #a79fad;
  background: transparent;
  font-size: 19px;
  cursor: pointer;
}

.modal-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 13px;
  color: #d7caff;
  background: rgba(154, 111, 255, 0.13);
}

.modal h2 { margin: 20px 0 8px; font-size: 25px; font-weight: 500; letter-spacing: -0.03em; }
.modal p { margin: 0 0 22px; color: #8b8492; font-size: 13px; line-height: 1.55; }
.modal label { display: block; margin-bottom: 8px; color: #b2abb8; font-size: 12px; }

.modal-input {
  display: grid;
  grid-template-columns: 25px 1fr;
  height: 50px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid #3b3345;
  border-radius: 11px;
}

.modal-input span { color: #7f7786; }
.modal-input input { min-width: 0; border: 0; outline: 0; color: #fff; background: transparent; }

.modal-primary {
  width: 100%;
  height: 48px;
  margin-top: 18px;
  border: 0;
  border-radius: 11px;
  color: #0b0711;
  background: linear-gradient(100deg, #bca6ff, #9c79f1);
  font-weight: 600;
  cursor: pointer;
}

.toast {
  position: fixed;
  z-index: 120;
  right: 24px;
  bottom: 24px;
  max-width: min(360px, calc(100vw - 48px));
  padding: 13px 17px;
  border: 1px solid #30283c;
  border-radius: 11px;
  opacity: 0;
  color: #eae4f0;
  background: rgba(15, 12, 23, 0.96);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.4);
  font-size: 12px;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 1120px) {
  .overview-grid { grid-template-columns: 1fr; }
  .staking-card { min-height: 235px; }
  .staking-card p { max-width: 360px; }
  .staking-actions { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .dashboard-app { grid-template-columns: 1fr; }

  .sidebar {
    width: 245px;
    box-shadow: 24px 0 70px rgba(0, 0, 0, 0.55);
    transform: translateX(-105%);
    transition: transform 220ms ease;
  }

  .sidebar.open { transform: translateX(0); }
  .workspace { grid-column: 1; }

  .mobile-menu {
    display: grid;
    width: 36px;
    height: 36px;
    padding: 8px;
    align-content: center;
    gap: 4px;
    border: 1px solid #241f2d;
    border-radius: 9px;
    background: transparent;
    cursor: pointer;
  }

  .mobile-menu span { height: 1px; background: #c6bfcd; }
  .profile { min-width: 0; }
  .profile > span:nth-child(2), .profile .chevron { display: none; }
  .topbar { padding: 0 18px; gap: 12px; }
  .content { padding-right: 18px; padding-left: 18px; }
}

@media (max-width: 700px) {
  .top-actions .settings-button,
  .top-actions .notification { display: none; }
  .search-box { grid-template-columns: 18px minmax(54px, 80px) 18px; }
  .task-grid { grid-template-columns: 1fr; }
  .task-card { min-height: 184px; }
  .staking-actions { grid-template-columns: 1fr; }
  .market-tabs { overflow-x: auto; }
  .market-tabs button { flex: 0 0 auto; }
  .market-tabs .see-market { display: none; }
}

@media (max-width: 480px) {
  .topbar { height: 66px; }
  .deposit-button { padding: 0 12px; }
  .search-box { display: none; }
  .top-actions { margin-left: auto; }
  .content { padding: 22px 14px 34px; }
  .title-row h1 { font-size: 25px; }
  .title-row > button { display: none; }
  .eyebrow-row button { display: none; }
  .market-panel { padding: 9px; }
  .staking-card { min-height: 270px; }
  .modal { padding: 25px 21px; }
}

@media (prefers-reduced-motion: no-preference) {
  .task-card,
  .staking-card,
  .market-panel {
    animation: rise 520ms cubic-bezier(.2,.8,.2,1) both;
  }

  .task-card:nth-child(2) { animation-delay: 60ms; }
  .task-card:nth-child(3) { animation-delay: 120ms; }
  .staking-card { animation-delay: 150ms; }
  .market-panel { animation-delay: 190ms; }

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

.dash-logo {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(119, 51, 255, 0.24));
}

.mini-logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.icon-button > svg,
.search-box > svg,
.settings-button > svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.icon-button > svg {
  margin: auto;
}

.settings-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.title-row h1,
.staking-card h2,
.modal h2 {
  font-family: "DM Sans", sans-serif;
}

@media (min-width: 1200px) {
  .dashboard-app {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .sidebar {
    width: 240px;
    padding: 28px 18px 20px;
  }

  .dash-brand {
    min-height: 52px;
    gap: 12px;
    padding: 0 8px;
  }

  .dash-logo {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .dash-brand strong {
    font-size: 16px;
    font-weight: 500;
  }

  .side-nav {
    gap: 8px;
    margin-top: 40px;
  }

  .side-link {
    height: 44px;
    gap: 12px;
    padding: 0 14px;
    border-radius: 22px;
    font-size: 13px;
  }

  .side-link span {
    width: 18px;
    font-size: 14px;
  }

  .super-card {
    grid-template-columns: 28px 1fr;
    min-height: 64px;
    padding: 11px 12px;
    border-radius: 16px;
  }

  .super-card b { font-size: 24px; }
  .super-card strong { font-size: 12px; }
  .super-card small { margin-top: 3px; font-size: 9px; }

  .logout-link {
    margin-top: 12px;
    padding: 10px 14px;
    font-size: 12px;
  }

  .topbar {
    height: 82px;
    gap: 22px;
    padding: 0 32px;
    background: rgba(3, 3, 3, 0.86);
  }

  .profile {
    grid-template-columns: 44px auto 18px;
    gap: 11px;
    min-width: 220px;
  }

  .profile strong { font-size: 13px; }
  .profile small { margin-top: 3px; font-size: 10px; }

  .avatar {
    width: 44px;
    height: 44px;
    font-size: 10px;
  }

  .deposit-button {
    height: 40px;
    padding: 0 21px;
    border-radius: 22px;
    color: #fff;
    background: var(--accent);
    font-size: 12px;
  }

  .top-actions { gap: 10px; }

  .icon-button,
  .settings-button,
  .search-box {
    height: 40px;
    border-radius: 21px;
  }

  .icon-button {
    width: 42px;
    font-size: 14px;
  }

  .notification b {
    top: -5px;
    right: -3px;
    width: 18px;
    height: 18px;
    font-size: 9px;
  }

  .search-box {
    grid-template-columns: 22px minmax(96px, 128px) 22px;
    padding: 0 12px;
  }

  .search-box input,
  .settings-button {
    font-size: 11px;
  }

  .settings-button {
    padding: 0 16px;
  }

  .content {
    width: min(100%, 1500px);
    padding: 34px 32px 54px;
  }

  .overview-grid {
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 24px;
  }

  .eyebrow-row p {
    font-size: 12px;
  }

  .eyebrow-row button,
  .title-row > button {
    height: 34px;
    padding: 0 15px;
    border-radius: 18px;
    font-size: 11px;
  }

  .title-row h1 {
    margin: 8px 0 19px;
    font-size: 36px;
    font-weight: 500;
  }

  .title-row > button { margin-top: -10px; }

  .task-grid {
    gap: 16px;
  }

  .task-card {
    min-height: 230px;
    padding: 20px;
    border-radius: 17px;
  }

  .task-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 17px;
  }

  .task-head button {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }

  .task-card h2 {
    min-height: 42px;
    margin: 14px 0 9px;
    font-size: 15px;
    font-weight: 500;
  }

  .task-card p {
    margin-bottom: 16px;
    font-size: 12px;
    line-height: 1.5;
  }

  .task-action {
    height: 34px;
    padding: 0 17px;
    border-radius: 18px;
    color: #fff;
    background: var(--accent);
    font-size: 11px;
  }

  .staking-card {
    min-height: 292px;
    padding: 22px;
    border-radius: 18px;
  }

  .staking-brand {
    font-size: 12px;
  }

  .mini-logo {
    width: 22px;
    height: 22px;
  }

  .staking-brand b {
    padding: 5px 10px;
    border-radius: 12px;
    font-size: 9px;
  }

  .staking-card h2 {
    margin: 28px 0 9px;
    font-size: 24px;
    font-weight: 500;
  }

  .staking-card p {
    max-width: 260px;
    font-size: 12px;
    line-height: 1.5;
  }

  .staking-actions { gap: 9px; }

  .staking-actions button {
    height: 42px;
    border-radius: 22px;
    color: #fff;
    background: var(--accent);
    font-size: 11px;
  }

  .market-panel {
    margin-top: 26px;
    padding: 16px;
    border-radius: 18px;
  }

  .market-tabs {
    min-height: 50px;
    padding: 5px 9px;
    border-radius: 15px;
  }

  .market-tabs button {
    height: 36px;
    padding: 0 18px;
    border-radius: 18px;
    font-size: 12px;
  }

  th,
  td {
    padding: 15px 12px;
    font-size: 12px;
  }

  th {
    padding-top: 17px;
    padding-bottom: 11px;
    font-size: 10px;
  }

  .coin {
    width: 28px;
    height: 28px;
    margin-right: 10px;
    font-size: 11px;
  }

  .amount,
  .gain,
  .loss {
    font-size: 10px;
  }

  .spark {
    width: 62px;
    height: 24px;
  }

  .trade {
    width: 70px;
    height: 32px;
    border-radius: 17px;
    font-size: 10px;
  }
}

/* Affiliate program — approved Full HD composition. */
.affiliate-view {
  --affiliate-panel: #09090f;
  --affiliate-panel-deep: #07070c;
  --affiliate-border: rgba(255, 255, 255, 0.075);
  --affiliate-border-soft: rgba(255, 255, 255, 0.055);
  --affiliate-muted: #96969e;
  --affiliate-muted-strong: #b0b0b7;
}

.affiliate-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 468px;
  gap: 18px 22px;
  align-items: stretch;
}

.affiliate-overview,
.affiliate-level-card,
.affiliate-activity-card {
  border: 1px solid var(--affiliate-border);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(13, 13, 20, 0.98), rgba(7, 7, 12, 0.99));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.affiliate-overview {
  position: relative;
  min-width: 0;
  height: 405px;
  overflow: hidden;
  padding: 25px 27px 0;
  background: linear-gradient(160deg, #0c0c12, #08080d);
}

.affiliate-overview::before {
  position: absolute;
  z-index: 0;
  top: -1px;
  right: -1px;
  width: 48%;
  height: 170px;
  border-radius: 0 16px 0 42px;
  background:
    radial-gradient(ellipse 78% 90% at 82% 8%, rgba(180, 112, 255, 0.52) 0%, rgba(126, 63, 232, 0.28) 32%, rgba(58, 37, 99, 0.16) 57%, transparent 78%),
    linear-gradient(152deg, transparent 0%, rgba(118, 65, 221, 0.08) 28%, rgba(187, 121, 255, 0.22) 58%, rgba(13, 10, 23, 0.04) 100%);
  content: "";
  filter: blur(0.2px);
  mask-image: radial-gradient(ellipse 105% 105% at 100% 0%, #000 0%, #000 42%, transparent 78%);
  opacity: 0.92;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 105% 105% at 100% 0%, #000 0%, #000 42%, transparent 78%);
}

.affiliate-overview::after {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  width: 48%;
  height: 176px;
  border-radius: 0 16px 0 42px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E"),
    linear-gradient(90deg, transparent, rgba(214, 173, 255, 0.18));
  background-size: 120px 120px, 100% 100%;
  content: "";
  mask-image: radial-gradient(ellipse 105% 105% at 100% 0%, #000 0%, #000 42%, transparent 78%);
  mix-blend-mode: screen;
  opacity: 0.42;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 105% 105% at 100% 0%, #000 0%, #000 42%, transparent 78%);
}

.affiliate-overview__copy {
  position: relative;
  z-index: 2;
  width: min(53%, 520px);
}

.affiliate-overview h2,
.affiliate-level-card h2,
.affiliate-activity-card h2 {
  margin: 0;
  color: #f4f4f6;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.affiliate-overview h2,
.affiliate-level-card h2 {
  font-size: 22px;
  line-height: 1.1;
}

.affiliate-overview__copy > p {
  margin: 7px 0 0;
  color: #aaaab1;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.affiliate-profit {
  display: flex;
  margin-top: 31px;
  flex-direction: column;
  align-items: flex-start;
}

.affiliate-profit > span,
.affiliate-link-label,
.affiliate-level-card__eyebrow {
  color: var(--affiliate-muted);
  font-size: 13px;
  font-weight: 600;
}

.affiliate-profit strong {
  margin-top: 6px;
  color: #f7f7f8;
  background: linear-gradient(180deg, #fff 0%, #f8f8fa 42%, #bcbcc3 100%);
  background-clip: text;
  font-size: clamp(34px, 2.55vw, 43px);
  font-weight: 700;
  letter-spacing: -0.048em;
  line-height: 1;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

.affiliate-profit strong small {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.affiliate-profit b {
  margin-top: 9px;
  color: #00e2a7;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}

.affiliate-profit b em {
  color: #b8b8be;
  font-style: normal;
  font-weight: 600;
}

.affiliate-link-label {
  display: block;
  margin-top: 28px;
  color: #eeeeef;
  font-weight: 700;
}

.affiliate-link-control {
  position: relative;
  display: flex;
  width: min(100%, 405px);
  height: 42px;
  align-items: center;
  margin-top: 7px;
  overflow: hidden;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 9px;
  background: rgba(4, 4, 9, 0.62);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.affiliate-link-control:focus-within {
  border-color: rgba(159, 112, 255, 0.68);
  box-shadow: 0 0 0 3px rgba(119, 51, 255, 0.1);
}

.affiliate-link-control input {
  min-width: 0;
  flex: 1;
  padding: 0 12px;
  border: 0;
  outline: 0;
  color: #9999a1;
  background: transparent;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.affiliate-link-control button {
  height: 26px;
  flex: 0 0 auto;
  margin-right: 7px;
  padding: 0 7px;
  border: 1px solid rgba(224, 210, 255, 0.5);
  border-radius: 6px;
  color: #100a18;
  background: linear-gradient(110deg, #c8b8ff, #a98cf4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 7px 16px rgba(102, 60, 191, 0.18);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: filter 160ms ease, transform 160ms ease;
}

.affiliate-link-control button:hover { filter: brightness(1.07); }
.affiliate-link-control button:active { transform: translateY(1px); }

.affiliate-sculpture {
  position: absolute;
  z-index: 1;
  top: 4px;
  right: -125px;
  width: 74%;
  max-width: 700px;
  height: 404px;
  object-fit: cover;
  object-position: 50% 57%;
  filter: brightness(.88) contrast(1.08) saturate(.88);
  mask-image: radial-gradient(ellipse 78% 82% at 50% 55%, #000 0%, #000 62%, rgba(0, 0, 0, .82) 76%, transparent 100%);
  pointer-events: none;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse 78% 82% at 50% 55%, #000 0%, #000 62%, rgba(0, 0, 0, .82) 76%, transparent 100%);
}

.affiliate-sculpture-source { display: none; }

.affiliate-relief {
  display: none;
}

.affiliate-overview[data-affiliate-variant="v2"]::before {
  z-index: 2;
  top: auto;
  right: -1px;
  bottom: -1px;
  width: 48%;
  height: 170px;
  border-radius: 42px 0 16px 0;
  background:
    radial-gradient(ellipse 78% 90% at 82% 92%, rgba(180, 112, 255, 0.52) 0%, rgba(126, 63, 232, 0.28) 32%, rgba(58, 37, 99, 0.16) 57%, transparent 78%),
    linear-gradient(28deg, transparent 0%, rgba(118, 65, 221, 0.08) 28%, rgba(187, 121, 255, 0.22) 58%, rgba(13, 10, 23, 0.04) 100%);
  mask-image: radial-gradient(ellipse 105% 105% at 100% 100%, #000 0%, #000 42%, transparent 78%);
  opacity: 0.92;
  -webkit-mask-image: radial-gradient(ellipse 105% 105% at 100% 100%, #000 0%, #000 42%, transparent 78%);
}

.affiliate-overview[data-affiliate-variant="v2"]::after {
  z-index: 2;
  top: auto;
  right: 0;
  bottom: 0;
  width: 48%;
  height: 176px;
  border-radius: 42px 0 16px 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E"),
    linear-gradient(90deg, transparent, rgba(214, 173, 255, 0.18));
  background-size: 120px 120px, 100% 100%;
  mask-image: radial-gradient(ellipse 105% 105% at 100% 100%, #000 0%, #000 42%, transparent 78%);
  mix-blend-mode: screen;
  opacity: 0.42;
  -webkit-mask-image: radial-gradient(ellipse 105% 105% at 100% 100%, #000 0%, #000 42%, transparent 78%);
}

.affiliate-overview[data-affiliate-variant="v2"] .affiliate-overview__copy {
  z-index: 3;
}

.affiliate-overview[data-affiliate-variant="v2"] .affiliate-sculpture {
  display: none;
}

.affiliate-overview[data-affiliate-variant="v2"] .affiliate-relief {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  display: block;
  width: 68%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.9;
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.72) 19%, #000 38%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.72) 19%, #000 38%, #000 100%);
}

.affiliate-overview__metrics {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  width: 62%;
  grid-template-columns: 1fr 1fr 1.55fr;
  margin: 0;
  padding: 0 0 20px 27px;
}

.affiliate-overview__metrics > div {
  min-width: 0;
  padding: 2px 25px 2px 0;
}

.affiliate-overview__metrics > div + div {
  padding-left: 34px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.affiliate-overview__metrics dt,
.affiliate-overview__metrics dd {
  margin: 0;
}

.affiliate-overview__metrics dd {
  color: #f1f1f3;
  background: linear-gradient(180deg, #fff 0%, #f8f8fa 42%, #bcbcc3 100%);
  background-clip: text;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

.affiliate-overview__metrics dt {
  margin-top: 8px;
  color: #96969e;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.affiliate-level-card {
  height: 405px;
  padding: 21px 22px 18px;
}

.affiliate-level-card__eyebrow {
  display: block;
  color: #96969e;
  font-size: 13px;
  font-weight: 600;
}

.affiliate-level-current {
  margin-top: 18px;
}

.affiliate-level-current > strong {
  display: block;
  margin-top: 6px;
  color: #f7f7f8;
  background: linear-gradient(180deg, #fff 0%, #f8f8fa 42%, #bcbcc3 100%);
  background-clip: text;
  font-size: 29px;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.affiliate-level-current > b {
  display: block;
  margin-top: 7px;
  color: #f7f7f8;
  background: linear-gradient(180deg, #fff 0%, #f8f8fa 42%, #bcbcc3 100%);
  background-clip: text;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.affiliate-level-progress {
  margin-top: 17px;
  padding: 13px 0 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.affiliate-level-progress__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #a7a7ae;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.15;
}

.affiliate-level-progress__meta strong {
  color: #c9c9cf;
  font-size: 14px;
  font-weight: 700;
}

.affiliate-level-progress__bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.affiliate-level-progress__bar > span {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.affiliate-level-progress__bar i {
  display: block;
  width: 86%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8e45ff 0%, #7733ff 72%, #6928d3 100%);
  box-shadow: 0 0 10px rgba(119, 51, 255, 0.16);
}

.affiliate-level-progress__bar b {
  color: #a9a9b0;
  font-size: 13px;
  font-weight: 700;
}

.affiliate-level-ladder {
  margin: 11px 0 0;
  padding: 0;
  list-style: none;
}

.affiliate-level-ladder li {
  position: relative;
  display: grid;
  min-height: 39px;
  grid-template-columns: 42px 100px minmax(0, 1fr) 96px minmax(0, 1fr) 35px;
  align-items: center;
  column-gap: 0;
  color: #bdbdc4;
  font-size: 12px;
  font-weight: 600;
}

.affiliate-level-ladder li > * {
  position: relative;
  z-index: 1;
}

.affiliate-level-ladder li::before {
  position: absolute;
  z-index: 0;
  top: 2px;
  right: -8px;
  bottom: 2px;
  left: -7px;
  border: 1px solid transparent;
  border-radius: 7px;
  content: "";
}

.affiliate-level-ladder li:not(:last-child) .affiliate-tier-marker::before {
  position: absolute;
  top: 20px;
  left: 50%;
  width: 1px;
  height: 24px;
  background: rgba(173, 173, 183, 0.38);
  content: "";
  transform: translateX(-50%);
}

.affiliate-tier-marker {
  position: relative;
  width: 22px;
  height: 22px;
  justify-self: center;
  border: 1px solid rgba(185, 185, 195, 0.48);
  border-radius: 50%;
  background: #18181e;
}

.affiliate-level-ladder .is-complete .affiliate-tier-marker::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 3px;
  border-bottom: 2px solid #cfcfd4;
  border-left: 2px solid #cfcfd4;
  content: "";
  transform: translate(-50%, -64%) rotate(-45deg);
  transform-origin: center;
}

.affiliate-level-ladder li > strong {
  grid-column: 2;
  color: #dedee2;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.affiliate-level-ladder li > span:not(.affiliate-tier-marker) {
  grid-column: 4;
  justify-self: center;
  text-align: center;
  white-space: nowrap;
}

.affiliate-level-ladder li > b {
  grid-column: 6;
  justify-self: end;
  color: #dedee2;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.affiliate-level-ladder .is-current::before {
  border-color: rgba(173, 144, 228, 0.52);
  background: linear-gradient(90deg, rgba(77, 57, 111, 0.24), rgba(30, 24, 40, 0.2));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.affiliate-level-ladder .is-current .affiliate-tier-marker {
  border: 2px solid #9a81c9;
  background: #8063b8;
  box-shadow: inset 0 0 0 5px #16131b;
}

.affiliate-level-ladder .is-current .affiliate-tier-marker::before {
  background: linear-gradient(#8063b8 0 48%, rgba(173, 173, 183, 0.34) 48% 100%);
}

.affiliate-level-ladder .is-current > strong {
  color: #f2f2f4;
}

.affiliate-level-ladder .is-future {
  color: #777780;
}

.affiliate-level-ladder .is-future > strong,
.affiliate-level-ladder .is-future > b {
  color: #85858e;
}

.affiliate-activity-card {
  display: grid;
  min-width: 0;
  height: 282px;
  grid-column: 1 / -1;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  padding: 18px 22px;
}

.affiliate-earnings {
  position: relative;
  min-width: 0;
  padding-right: 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.affiliate-earnings header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.affiliate-activity-card h2 {
  font-size: 19px;
  line-height: 1.15;
}

.affiliate-earnings header p {
  margin: 7px 0 0;
  color: #a1a1a8;
  font-size: 12px;
  font-weight: 600;
}

.affiliate-earnings header button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  border: 0;
  color: #a0a0a7;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.affiliate-earnings-chart {
  display: block;
  width: 100%;
  height: 196px;
  margin-top: 5px;
  overflow: visible;
}

.affiliate-chart-grid path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.115);
  stroke-dasharray: 3 4;
  stroke-width: 1;
}

.affiliate-chart-grid text,
.affiliate-chart-labels text {
  fill: #97979f;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
}

.affiliate-chart-line {
  fill: none;
  stroke: #9252ff;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.affiliate-chart-line { stroke: #8959dc; stroke-width: 2px; }
.affiliate-chart-area { opacity: .42; }
.affiliate-chart-point-glow { opacity: 0; }
.affiliate-chart-point { fill: #eee6ff; stroke: #8e50fb; stroke-width: 2px; }

.affiliate-referrals {
  position: relative;
  min-width: 0;
  padding-left: 22px;
}

.affiliate-referrals__table {
  margin-top: 12px;
}

.affiliate-referrals__table > div {
  display: grid;
  min-height: 45px;
  grid-template-columns: 1.35fr 1fr .75fr .95fr;
  align-items: center;
  gap: 10px;
  padding: 0 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  color: #b1b1b8;
  font-size: 12px;
  font-weight: 600;
}

.affiliate-referrals__table .affiliate-referrals__head {
  min-height: 37px;
  color: #8e8e96;
  font-size: 12px;
}

.affiliate-referrals__table > div > :last-child { text-align: right; }

.affiliate-referrals__table strong {
  overflow: hidden;
  color: #e6e6e9;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.affiliate-referrals__table b {
  display: inline-flex;
  align-items: center;
  color: #00dda5;
  font-weight: 700;
}

.affiliate-referrals__table em {
  color: #eeeeef;
  font-style: normal;
  font-weight: 700;
}

.affiliate-empty-state {
  position: absolute;
  z-index: 2;
  display: grid;
  place-content: center;
  gap: 7px;
  text-align: center;
}

.affiliate-empty-state[hidden] {
  display: none;
}

.affiliate-referrals__table > [hidden],
.affiliate-earnings header button[hidden] {
  display: none;
}

.affiliate-empty-state strong {
  color: #ededf0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.affiliate-empty-state span {
  color: #96969e;
  font-size: 13px;
  font-weight: 600;
}

.affiliate-empty-state--earnings {
  inset: 67px 22px 16px 0;
}

.affiliate-empty-state--referrals {
  inset: 55px 0 16px 22px;
}

.affiliate-activity-card.is-new-account .affiliate-earnings-chart {
  opacity: 0.16;
}

.affiliate-activity-card.is-new-account .affiliate-chart-area,
.affiliate-activity-card.is-new-account .affiliate-chart-line,
.affiliate-activity-card.is-new-account .affiliate-chart-point,
.affiliate-activity-card.is-new-account .affiliate-chart-point-glow,
.affiliate-activity-card.is-new-account .affiliate-chart-labels {
  opacity: 0;
}

body[data-account-state="new"] .affiliate-profit b {
  color: #a6a6ae;
}

.affiliate-level-progress__bar i {
  transition: width 180ms ease;
}

@media (max-width: 1320px) {
  .affiliate-dashboard { grid-template-columns: minmax(0, 1fr) 420px; }
  .affiliate-overview__copy { width: 55%; }
  .affiliate-overview__metrics { width: 66%; }
  .affiliate-sculpture { right: -122px; width: 75%; }
}

@media (max-width: 1120px) {
  .affiliate-dashboard { grid-template-columns: 1fr; }
  .affiliate-overview,
  .affiliate-level-card { height: auto; min-height: 405px; }
  .affiliate-level-card { min-height: 0; }
  .affiliate-activity-card { height: auto; grid-template-columns: 1fr; }
  .affiliate-earnings { padding: 0 0 22px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.09); }
  .affiliate-referrals { padding: 22px 0 0; }
}

@media (max-width: 700px) {
  .affiliate-page-header h1 { font-size: 30px; }
  .affiliate-dashboard { gap: 14px; }
  .affiliate-overview { min-height: 620px; padding: 21px 20px 0; }
  .affiliate-overview__copy { width: 100%; }
  .affiliate-profit strong { font-size: 36px; }
  .affiliate-sculpture { top: 246px; right: -120px; width: 150%; height: 330px; }
  .affiliate-overview__metrics { width: 100%; grid-template-columns: repeat(3, 1fr); padding: 0 20px 20px; }
  .affiliate-overview__metrics > div { padding-right: 10px; }
  .affiliate-overview__metrics > div + div { padding-left: 14px; }
  .affiliate-overview__metrics dd { font-size: 18px; }
  .affiliate-overview__metrics dt { font-size: 11px; white-space: normal; }
  .affiliate-level-card,
  .affiliate-activity-card { border-radius: 14px; }
  .affiliate-activity-card { padding: 18px 16px; }
  .affiliate-referrals__table > div { grid-template-columns: 1.2fr .9fr .7fr; }
  .affiliate-referrals__table > div > :nth-child(2) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .affiliate-link-control,
  .affiliate-link-control button { transition: none; }
}

/* Base premium glass controls for the dashboard. */
.side-link.active {
  border-color: rgba(190, 164, 255, 0.42);
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(105deg, rgba(86, 35, 198, 0.98) 0%, rgba(119, 51, 255, 0.96) 48%, rgba(77, 31, 163, 0.96) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 0 -1px 0 rgba(33, 11, 75, 0.34), 0 12px 28px rgba(69, 30, 151, 0.25);
  transform: none;
}

.side-link.active > i {
  color: #fff;
  filter: drop-shadow(0 0 8px rgba(221, 208, 255, 0.38));
}

.side-link.active:focus-visible {
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), inset 0 0 0 2px rgba(226, 213, 255, 0.22), 0 12px 28px rgba(69, 30, 151, 0.25);
}

.super-card {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 48px;
  height: 48px;
  grid-template-columns: 22px auto;
  justify-content: center;
  align-items: center;
  gap: 9px;
  overflow: hidden;
  padding: 0 18px;
  border: 1px solid rgba(119, 51, 255, 0.72);
  border-radius: 22px;
  color: #eee8f7;
  background: radial-gradient(circle at 24% 0%, rgba(164, 107, 255, 0.17), transparent 44%), linear-gradient(180deg, rgba(25, 16, 39, 0.9), rgba(12, 8, 19, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -10px 26px rgba(80, 28, 166, 0.07), 0 12px 30px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.super-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(115deg, transparent 18%, rgba(255, 255, 255, 0.07) 48%, transparent 72%);
  transform: translateX(-115%);
  transition: transform 420ms cubic-bezier(.2,.75,.2,1);
}

.super-card:hover {
  border-color: rgba(159, 107, 255, 0.96);
  background: radial-gradient(circle at 24% 0%, rgba(176, 122, 255, 0.24), transparent 46%), linear-gradient(180deg, rgba(31, 19, 48, 0.94), rgba(14, 9, 22, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 14px 34px rgba(63, 24, 132, 0.26);
  transform: translateY(-1px);
}

.super-card:hover::before { transform: translateX(115%); }
.super-card:active { transform: translateY(1px) scale(0.985); }
.super-card > i { position: relative; z-index: 1; color: #c9b8ff; font-size: 21px; }
.super-card span { position: relative; z-index: 1; display: block; }
.super-card strong { color: #eee9f5; font-size: 14px; font-weight: 700; }
.super-card small { display: none; }

.deposit-button,
.bots-pro-button,
.task-action,
.staking-actions button:first-child,
.browse-bots,
.trading-bot-card__activate:not(:disabled),
.modal-primary {
  border: 1px solid rgba(205, 183, 255, 0.38);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(110deg, rgba(91, 36, 211, 0.98) 0%, rgba(119, 51, 255, 0.98) 46%, rgba(164, 103, 255, 0.94) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), inset 0 -1px 0 rgba(46, 12, 104, 0.42), 0 9px 24px rgba(82, 31, 178, 0.24);
  text-shadow: 0 1px 0 rgba(31, 9, 69, 0.3);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color 180ms ease, filter 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.deposit-button:hover,
.bots-pro-button:hover,
.task-action:hover,
.staking-actions button:first-child:hover,
.browse-bots:hover,
.trading-bot-card__activate:hover:not(:disabled),
.modal-primary:hover {
  border-color: rgba(225, 213, 255, 0.64);
  color: #fff;
  background: linear-gradient(110deg, rgba(104, 43, 230, 1) 0%, rgba(132, 63, 255, 1) 48%, rgba(177, 119, 255, 0.98) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34), 0 12px 30px rgba(91, 38, 188, 0.34);
  filter: brightness(1.04);
  transform: translateY(-2px);
}

.deposit-button:active,
.bots-pro-button:active,
.task-action:active,
.staking-actions button:first-child:active,
.browse-bots:active,
.trading-bot-card__activate:active:not(:disabled),
.modal-primary:active { transform: translateY(1px) scale(0.985); }

.staking-actions button + button,
.title-row > button,
.eyebrow-row button,
.my-bot-details {
  border: 1px solid rgba(166, 133, 222, 0.26);
  border-radius: 999px;
  color: #e8e0ef;
  background: linear-gradient(180deg, rgba(29, 21, 41, 0.76), rgba(12, 9, 18, 0.88));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 22px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.icon-button {
  border-color: rgba(166, 133, 222, 0.24);
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(28, 20, 39, 0.76), rgba(10, 8, 15, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.search-box {
  border-color: rgba(166, 133, 222, 0.2);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(24, 18, 34, 0.7), rgba(9, 7, 14, 0.88));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.bots-filters,
.my-bots-filters {
  border-color: rgba(159, 119, 230, 0.22);
  background: linear-gradient(180deg, rgba(22, 16, 31, 0.88), rgba(9, 7, 14, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.bots-filters,
.bots-filters button { border-radius: 999px; }

.my-bots-filters { border-radius: 13px; }

.my-bots-filters button { border-radius: 10px; }

.bots-filters button.active,
.my-bots-filters button.active {
  color: #fff;
  background: linear-gradient(110deg, #6428dc, #8a52ff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 6px 18px rgba(85, 35, 171, 0.22);
}

/* Final V2 surface cleanup: no colored frame, centered balance copy. */
.portfolio-summary[data-portfolio-variant="v2"] .portfolio-metric-card--value {
  border-color: transparent;
  background-clip: padding-box;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}

.portfolio-summary[data-portfolio-variant="v2"] .portfolio-value-card__balance {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.portfolio-summary[data-portfolio-variant="v2"] .portfolio-value-card__balance .portfolio-metric-card__meta {
  justify-content: center;
  width: 100%;
}

/* Portfolio card A/B preview: text-only selector and the approved soft-violet V2. */
.portfolio-variant-switch {
  display: flex;
  min-height: 20px;
  align-items: center;
  gap: 16px;
  margin: 0 0 10px 2px;
}

.portfolio-variant-switch button {
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #6f6f77;
  background: transparent;
  box-shadow: none;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  cursor: pointer;
  transition: color 160ms ease;
}

.portfolio-variant-switch button:hover {
  color: #c9c9cf;
}

.portfolio-variant-switch button[aria-pressed="true"] {
  color: #bba2f0;
}

.portfolio-variant-switch button:focus-visible {
  outline: 0;
  text-decoration: underline;
  text-decoration-color: #7733ff;
  text-underline-offset: 4px;
}

.portfolio-value-card__deposit {
  display: none;
  width: 128px;
  height: 36px;
  flex: 0 0 128px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid rgba(216, 205, 255, 0.22);
  border-radius: 9px;
  color: #211a2d;
  background:
    radial-gradient(circle at 16% -45%, rgba(255, 255, 255, 0.3), transparent 52%),
    linear-gradient(135deg, #b7aad8 0%, #9983c8 48%, #805eb8 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -1px 0 rgba(105, 56, 194, 0.12),
    0 6px 14px rgba(62, 40, 103, 0.12);
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.portfolio-value-card__deposit > span:last-child {
  transition: transform 180ms ease;
}

.portfolio-value-card__deposit:hover {
  border-color: rgba(255, 255, 255, 0.48);
  background:
    radial-gradient(circle at 16% -45%, rgba(255, 255, 255, 0.44), transparent 52%),
    linear-gradient(135deg, #c9bce9 0%, #ad96dc 48%, #906acb 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.54),
    inset 0 -1px 0 rgba(105, 56, 194, 0.16),
    0 8px 18px rgba(86, 54, 146, 0.2);
  transform: translateY(-1px);
}

.portfolio-value-card__deposit:hover > span:last-child {
  transform: translateX(2px);
}

.portfolio-summary[data-portfolio-variant="v2"] .portfolio-metric-card--value {
  isolation: isolate;
  border-color: rgba(151, 133, 169, 0.13);
  background: linear-gradient(
    180deg,
    #311d47 0%,
    #311d47 69%,
    #482361 77%,
    #6b2f97 89%,
    #a145e3 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.018),
    0 14px 32px rgba(0, 0, 0, 0.22);
}

.portfolio-summary[data-portfolio-variant="v2"] .portfolio-metric-card--value::before {
  top: 0;
  right: 0;
  bottom: 25.5%;
  left: 0;
  width: auto;
  height: auto;
  border-radius: 15px 15px 46px 46px;
  background:
    radial-gradient(ellipse 80% 68% at 80% 12%, rgba(145, 92, 210, 0.1) 0%, rgba(76, 50, 106, 0.035) 46%, transparent 72%),
    linear-gradient(155deg, #14121a 0%, #100f16 48%, #0b0b10 100%);
  filter: none;
  mask-image: none;
  opacity: 1;
  -webkit-mask-image: none;
}

.portfolio-summary[data-portfolio-variant="v2"] .portfolio-metric-card--value::after {
  display: none;
}

/* Generated Crypton titanium relief shared by both portfolio variants. */
.portfolio-value-card__art {
  display: none;
}

.portfolio-summary[data-portfolio-variant="v1"] .portfolio-metric-card--value::before,
.portfolio-summary[data-portfolio-variant="v1"] .portfolio-metric-card--value::after {
  display: none;
}

.portfolio-summary[data-portfolio-variant="v1"] .portfolio-value-card__art {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  border-radius: 15px;
  background: #0f0e14;
  overflow: hidden;
  opacity: 0.88;
  pointer-events: none;
}

.portfolio-summary[data-portfolio-variant="v1"] .portfolio-value-card__art::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 46%, rgba(8, 7, 12, 0.12) 70%, rgba(8, 7, 12, 0.42) 100%);
  content: "";
}

.portfolio-summary[data-portfolio-variant="v1"] .portfolio-value-card__art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.portfolio-summary[data-portfolio-variant="v2"] .portfolio-value-card__art {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  bottom: 25.5%;
  left: 0;
  display: block;
  border-radius: 15px 15px 46px 46px;
  background: #0f0e14;
  overflow: hidden;
  pointer-events: none;
}

.portfolio-summary[data-portfolio-variant="v2"] .portfolio-value-card__art::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(8, 7, 12, 0.2) 100%);
  content: "";
}

.portfolio-summary[data-portfolio-variant="v2"] .portfolio-value-card__art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.portfolio-summary[data-portfolio-variant="v2"] .portfolio-value-card__deposit {
  display: none;
}

.portfolio-summary[data-portfolio-variant="v2"] .portfolio-metric-card--value .portfolio-metric-card__top {
  align-items: flex-start;
}

.portfolio-value-card__heading {
  display: grid;
  min-width: 0;
}

.portfolio-value-card__heading .portfolio-metric-card__meta {
  justify-content: flex-start;
  width: auto;
  margin-top: 8px;
}

.portfolio-summary[data-portfolio-variant="v2"] .portfolio-value-card__profit {
  border-left-color: rgba(190, 190, 198, 0.13);
}

.portfolio-summary[data-portfolio-variant="v2"] .portfolio-value-card__breakdown > div + div {
  border-left-color: rgba(210, 204, 216, 0.1);
}

.portfolio-summary[data-portfolio-variant="v2"] .portfolio-value-card__breakdown dt {
  color: #aaa5b1;
}

.portfolio-summary[data-portfolio-variant="v2"] .portfolio-value-card__breakdown dd {
  color: #f2f0f5;
  font-size: 21px;
}

@media (max-width: 760px) {
  .portfolio-summary[data-portfolio-variant="v2"] .portfolio-metric-card--value::before {
    bottom: 35.5%;
  }

  .portfolio-summary[data-portfolio-variant="v2"] .portfolio-value-card__art {
    bottom: 35.5%;
    opacity: 0.78;
  }

  .portfolio-summary[data-portfolio-variant="v2"] .portfolio-value-card__deposit {
    width: 112px;
    flex-basis: 112px;
    padding-inline: 10px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .portfolio-variant-switch button,
  .portfolio-value-card__deposit,
  .portfolio-value-card__deposit > span:last-child {
    transition: none;
  }
}

/* V2 edge and metric alignment refinements. */
.portfolio-summary[data-portfolio-variant="v2"] .portfolio-metric-card--value {
  border-color: #201b29;
  border-radius: 16px 16px 30px 30px;
  background-clip: padding-box;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}

.portfolio-summary[data-portfolio-variant="v2"] .portfolio-metric-card--value::before {
  top: 0;
  right: 0;
  left: 0;
  border-radius: 15px 15px 46px 46px;
}

.portfolio-summary[data-portfolio-variant="v2"] .portfolio-value-card__primary {
  width: max-content;
  max-width: 100%;
  grid-template-columns: max-content max-content;
  align-items: flex-start;
  justify-self: center;
  gap: 18px;
  transform: translateY(44px);
}

.portfolio-summary[data-portfolio-variant="v2"] .portfolio-value-card__profit {
  justify-content: flex-start;
}

.portfolio-summary[data-portfolio-variant="v2"] .portfolio-value-card__balance {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Community workspace */
.community-view {
  min-width: 0;
  width: calc(100% + 64px);
  margin-left: -32px;
}

.community-workspace {
  display: grid;
  width: 100%;
  min-height: 720px;
  height: min(850px, calc(100vh - 154px));
  grid-template-columns: 248px minmax(650px, 1fr) 276px;
  gap: 14px;
}

.community-channels,
.community-chat,
.community-activity {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #24272c;
  border-radius: 16px;
  background: #111419;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025), 0 20px 55px rgba(0, 0, 0, 0.22);
}

.community-channels {
  display: flex;
  padding: 20px 14px 16px;
  flex-direction: column;
  background: #101217;
}

.community-channels__header {
  padding: 0 8px;
}

.community-channels__header h1 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #f4f4f6;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 18px;
}

.community-channels__header h1 img {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  object-fit: contain;
}

.community-online li > i {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: #3ee0aa;
  box-shadow: 0 0 10px rgba(62, 224, 170, 0.46);
}

.community-channel-search {
  display: grid;
  height: 40px;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  margin: 25px 0 21px;
  padding: 0 12px;
  border: 1px solid #2a2532;
  border-radius: 10px;
  background: #0b0911;
}

.community-channel-search svg,
.community-channel svg,
.community-channels__footer svg,
.community-chat__header-actions svg,
.community-pinned > svg,
.community-message__reactions svg,
.community-composer svg,
.community-rules button svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.community-channel-search svg {
  width: 18px;
  color: #8f8f97;
}

.community-channel-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  color: #e5e5e9;
  background: transparent;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
}

.community-channel-search input::placeholder { color: #85858d; }

.community-channel-search:focus-within {
  border-color: rgba(119, 51, 255, 0.7);
  box-shadow: 0 0 0 3px rgba(119, 51, 255, 0.1);
}

.community-channel-group { min-height: 0; }

.community-channel-group__label {
  display: block;
  padding: 0 7px 11px;
  border-bottom: 1px solid rgba(53, 48, 61, 0.58);
  color: #85858d;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.community-channel-group nav {
  display: grid;
  gap: 4px;
  padding-top: 9px;
}

.community-channel {
  display: grid;
  min-height: 45px;
  grid-template-columns: 27px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 0 9px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #a4a4ac;
  background: transparent;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.community-channel svg { width: 23px; height: 23px; }

.community-channel b {
  display: block;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #b997ff;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  box-shadow: none;
}

.community-channel:hover {
  color: #e7e7eb;
  background: rgba(255, 255, 255, 0.025);
}

.community-channel:active { transform: scale(0.99); }

.community-channel.is-active {
  min-height: 45px;
  gap: 10px;
  padding: 0 9px;
  border: 1px solid #24272e;
  border-left: 3px solid #845fdc;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(105deg, #171820 0%, #14161d 100%);
  box-shadow:
    0 8px 20px rgba(4, 6, 9, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.community-channel.is-active svg { width: 23px; height: 23px; }

.community-channel[hidden] { display: none; }

[data-community-unread][hidden] { display: none; }

[data-community-unread].is-updated {
  animation: community-unread-in 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes community-unread-in {
  0% { opacity: 0; transform: translateY(2px) scale(0.92); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  [data-community-unread].is-updated { animation: none; }
}

.community-channels__footer {
  margin-top: auto;
  padding: 16px 8px 2px;
  border-top: 1px solid rgba(53, 48, 61, 0.58);
}

.community-channels__footer button {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  color: #c9c9cf;
  background: transparent;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.community-channels__footer svg { width: 18px; }

.community-channels__footer button:hover { color: #f0f0f3; }

.community-channels__footer button:focus-visible {
  outline: 2px solid rgba(160, 118, 255, 0.66);
  outline-offset: 4px;
  border-radius: 5px;
}

.community-channels__footer small {
  display: block;
  margin-top: 6px;
  color: #818188;
  font-size: 12px;
  font-weight: 600;
}

.community-chat {
  display: flex;
  padding: 0 12px 12px;
  flex-direction: column;
  background: #111419;
}

.community-chat__header {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 8px;
  border-bottom: 1px solid rgba(53, 48, 61, 0.62);
}

.community-chat__header h2 {
  margin: 0;
  color: #f1f1f4;
  font-family: "DM Sans", sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.community-chat__header h2 > span:first-child { color: #a9a9b0; }

.community-chat__header p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 5px 0 0;
  color: #96969e;
  font-size: 12px;
  font-weight: 600;
}

.community-chat__header p i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #606067;
}

.community-chat__header p strong { color: #3ee0aa; }

.community-chat__header-actions { display: flex; gap: 5px; }

.community-chat__header-actions button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #a5a5ac;
  background: transparent;
  cursor: pointer;
}

.community-chat__header-actions button:hover {
  border-color: #2a2532;
  color: #ececf0;
  background: #100d16;
}

.community-chat__header-actions svg { width: 21px; }

.community-pinned {
  display: flex;
  min-height: 60px;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 9px 14px;
  border: 1px solid #24272e;
  border-left: 3px solid #ab77f3;
  border-radius: 11px;
  background: linear-gradient(105deg, #171820 0%, #14161d 100%);
  box-shadow:
    0 8px 20px rgba(4, 6, 9, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.community-pinned > svg {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  padding: 8px;
  border-radius: 50%;
  color: #a7aab0;
  background: #1d2025;
  box-sizing: border-box;
}

.community-pinned span { min-width: 0; }

.community-pinned strong,
.community-pinned small { display: block; }

.community-pinned strong {
  color: #b997ff;
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
}

.community-pinned small {
  margin-top: 2px;
  overflow: hidden;
  color: #eceef0;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community-messages-stage {
  position: relative;
  min-height: 0;
  overflow: hidden;
  flex: 1;
  background: radial-gradient(circle at 50% 50%, rgba(119, 51, 255, 0.07), transparent 31%);
  isolation: isolate;
}

.community-messages {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  min-height: 0;
  overflow-y: auto;
  padding: 14px 8px 18px;
  flex-direction: column;
  gap: 16px;
  background: transparent;
  scrollbar-width: thin;
  scrollbar-color: #30283e transparent;
  scrollbar-gutter: stable;
  overscroll-behavior: contain;
}

.community-date-separator {
  display: grid;
  grid-template-columns: minmax(24px, 1fr) auto minmax(24px, 1fr);
  align-items: center;
  gap: 12px;
  color: #85858d;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.community-date-separator::before,
.community-date-separator::after {
  height: 1px;
  background: rgba(65, 61, 72, 0.72);
  content: "";
}

.community-date-separator span {
  padding: 0 3px;
  white-space: nowrap;
}

.community-messages-stage::before {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: 190px;
  height: 190px;
  background: url("/assets/logo-crypton-purple.png") center / contain no-repeat;
  content: "";
  filter: blur(4px) saturate(0.9) drop-shadow(0 0 18px rgba(119, 51, 255, 0.24));
  opacity: 0.38;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(1.06);
}

.community-messages-stage::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 50%, rgba(8, 7, 14, 0.05) 0 28%, rgba(8, 7, 14, 0.28) 52%, rgba(8, 7, 14, 0.72) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.012), rgba(119, 51, 255, 0.018));
  backdrop-filter: blur(1.25px);
  -webkit-backdrop-filter: blur(1.25px);
  content: "";
  pointer-events: none;
}

.community-messages > * {
  position: relative;
  z-index: 2;
}

.community-message {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 11px;
}

.community-message > img {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(206, 198, 216, 0.5);
  border-radius: 50%;
  object-fit: cover;
}

.community-message header {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.community-message header strong {
  color: #eeeeF1;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.community-message header time {
  color: #818188;
  font-size: 11px;
  font-weight: 600;
}

.community-message p {
  margin: 4px 0 0;
  color: #c9c9cf;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
}

.community-message__reactions {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.community-message__reactions button {
  display: inline-flex;
  height: 28px;
  align-items: center;
  gap: 5px;
  padding: 0 9px;
  border: 1px solid rgba(82, 74, 94, 0.58);
  border-radius: 8px;
  color: #a8a8b0;
  background: linear-gradient(180deg, rgba(18, 15, 25, 0.92), rgba(10, 9, 15, 0.96));
  font-family: "DM Sans", sans-serif;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.community-message__reactions button > span {
  font-size: 13px;
  line-height: 1;
}

.community-message__reactions button b {
  color: inherit;
  font-size: 11px;
  font-weight: 700;
}

.community-message__reactions button:hover {
  border-color: rgba(155, 112, 255, 0.48);
  color: #d6d6dc;
  background: rgba(119, 51, 255, 0.065);
}

.community-profit-share {
  display: grid;
  min-height: 84px;
  grid-template-columns: minmax(170px, 1.05fr) 0.6fr 0.75fr minmax(130px, 0.85fr);
  align-items: center;
  margin-top: 9px;
  overflow: hidden;
  border: 1px solid #2a2532;
  border-radius: 12px;
  background: linear-gradient(140deg, rgba(19, 16, 27, 0.94), rgba(9, 8, 14, 0.96));
}

.community-profit-share > span {
  display: flex;
  min-width: 0;
  min-height: 54px;
  justify-content: center;
  padding: 0 16px;
  flex-direction: column;
}

.community-profit-share > span + span { border-left: 1px solid rgba(56, 49, 67, 0.72); }

.community-profit-share__asset {
  flex-direction: row !important;
  align-items: center;
  justify-content: flex-start !important;
  gap: 10px;
}

.community-profit-share__asset > img {
  width: 43px;
  height: 43px;
}

.community-profit-share__asset i { min-width: 0; font-style: normal; }

.community-profit-share strong {
  color: #3ee0aa;
  font-family: "DM Sans", sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.community-profit-share__asset strong {
  color: #eeeeF1;
  font-size: 14px;
}

.community-profit-share small {
  display: block;
  margin-top: 3px;
  color: #8f8f97;
  font-size: 11px;
  font-weight: 600;
}

.community-profit-share > svg {
  width: 100%;
  height: 62px;
  padding: 0 10px;
  overflow: visible;
}

.community-profit-share > svg path {
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.community-profit-share > svg .is-grid {
  stroke: #4a4650;
  stroke-width: 0.8;
  stroke-dasharray: 2 5;
  opacity: 0.55;
}

.community-profit-share > svg .is-positive { stroke: #3ee0aa; filter: drop-shadow(0 0 5px rgba(62, 224, 170, 0.42)); }
.community-profit-share > svg .is-negative { stroke: #ef6670; filter: drop-shadow(0 0 4px rgba(239, 102, 112, 0.34)); }

.community-composer {
  display: grid;
  min-height: 48px;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  border: 1px solid #2a2532;
  border-radius: 11px;
  background: #0b0910;
}

.community-composer > button:first-child {
  display: grid;
  width: 42px;
  height: 30px;
  place-items: center;
  padding: 0;
  border: 0;
  border-right: 1px solid #2a2532;
  color: #9b9ba3;
  background: transparent;
  cursor: pointer;
}

.community-composer svg { width: 18px; }

.community-composer input {
  min-width: 0;
  padding: 0 13px;
  border: 0;
  outline: 0;
  color: #e8e8ec;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
}

.community-composer input::placeholder { color: #74747c; }

.community-composer__send {
  height: 32px;
  min-width: 58px;
  margin-right: 5px;
  padding: 0 12px;
  border: 1px solid rgba(202, 180, 255, 0.38);
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(110deg, #6428dc, #9258ff);
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 7px 18px rgba(80, 31, 174, 0.24);
}

.community-composer__send:hover { background: linear-gradient(110deg, #7132eb, #a16aff); }

.community-composer.is-read-only {
  border-color: rgba(49, 47, 55, 0.78);
  background: #09080d;
}

.community-composer.is-read-only input:disabled {
  color: #77777f;
  opacity: 1;
}

.community-composer.is-read-only button:disabled {
  color: #696970;
  background: #141219;
  border-color: rgba(57, 54, 63, 0.7);
  box-shadow: none;
  cursor: default;
  opacity: 0.72;
}

.community-message > img.community-message__brand {
  padding: 7px;
  object-fit: contain;
  background: #151020;
  border: 1px solid rgba(119, 51, 255, 0.35);
}

.community-activity {
  padding: 20px 18px;
  overflow: hidden;
  background: #0f1318;
}

.community-activity section + section {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(53, 48, 61, 0.66);
}

.community-activity h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #eeeeF1;
  font-family: "DM Sans", sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.community-online ul,
.community-away ul,
.community-contributors ol {
  display: grid;
  gap: 8px;
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
}

.community-online ul,
.community-away ul {
  padding-right: 7px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(126, 112, 148, 0.56) transparent;
  scrollbar-width: thin;
}

/* Keep four online and four offline members visible while preserving scroll. */
.community-online ul { max-height: 160px; }
.community-away ul { max-height: 152px; }

.community-online ul::-webkit-scrollbar,
.community-away ul::-webkit-scrollbar {
  width: 4px;
}

.community-online ul::-webkit-scrollbar-track,
.community-away ul::-webkit-scrollbar-track {
  background: transparent;
}

.community-online ul::-webkit-scrollbar-thumb,
.community-away ul::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(126, 112, 148, 0.56);
}

.community-online li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 7px;
  align-items: center;
  gap: 9px;
}

.community-away h2 {
  color: #a2a2aa;
}

.community-away ul {
  gap: 8px;
  margin: 13px 0 0;
}

.community-away li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 7px;
  align-items: center;
  gap: 9px;
}

.community-away li img,
.community-away li .community-member-avatar {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(154, 154, 164, 0.22);
  border-radius: 50%;
  filter: grayscale(0.9) saturate(0.24) brightness(0.72);
  opacity: 0.72;
  object-fit: cover;
}

.community-away li span { min-width: 0; }

.community-away li strong,
.community-away li small { display: block; }

.community-away li strong {
  overflow: hidden;
  color: #9898a0;
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community-away li small {
  margin-top: 1px;
  color: #6f6f77;
  font-size: 11px;
  font-weight: 600;
}

.community-away li > i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e0aa4c;
  box-shadow: 0 0 8px rgba(224, 170, 76, 0.24);
}

.community-online li img,
.community-online li .community-member-avatar {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
}

.community-member-avatar {
  display: block;
  flex: 0 0 auto;
  background-color: #111015;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.community-member-avatar--01 { background-image: url("/assets/nft-members/member-01.webp"); }
.community-member-avatar--02 { background-image: url("/assets/nft-members/member-02.webp"); }
.community-member-avatar--03 { background-image: url("/assets/nft-members/member-03.webp"); }
.community-member-avatar--04 { background-image: url("/assets/nft-members/member-04.webp"); }
.community-member-avatar--05 { background-image: url("/assets/nft-members/member-05.webp"); }
.community-member-avatar--06 { background-image: url("/assets/nft-members/member-06.webp"); }
.community-member-avatar--07 { background-image: url("/assets/nft-members/member-07.webp"); }
.community-member-avatar--08 { background-image: url("/assets/nft-members/member-08.webp"); }
.community-member-avatar--09 { background-image: url("/assets/nft-members/member-09.webp"); }
.community-member-avatar--10 { background-image: url("/assets/nft-members/member-10.webp"); }
.community-member-avatar--11 { background-image: url("/assets/nft-members/member-11.webp"); }
.community-member-avatar--12 { background-image: url("/assets/nft-members/member-12.webp"); }
.community-member-avatar--13 { background-image: url("/assets/nft-members/member-13.webp"); }
.community-member-avatar--14 { background-image: url("/assets/nft-members/member-14.webp"); }
.community-member-avatar--15 { background-image: url("/assets/nft-members/member-15.webp"); }
.community-member-avatar--16 { background-image: url("/assets/nft-members/member-16.webp"); }
.community-member-avatar--17 { background-image: url("/assets/nft-members/member-17.webp"); }
.community-member-avatar--18 { background-image: url("/assets/nft-members/member-18.webp"); }
.community-member-avatar--19 { background-image: url("/assets/nft-members/member-19.webp"); }
.community-member-avatar--20 { background-image: url("/assets/nft-members/member-20.webp"); }
.community-member-avatar--21 { background-image: url("/assets/nft-members/member-21.webp"); }
.community-member-avatar--22 { background-image: url("/assets/nft-members/member-22.webp"); }
.community-member-avatar--23 { background-image: url("/assets/nft-members/member-23.webp"); }
.community-member-avatar--24 { background-image: url("/assets/nft-members/member-24.webp"); }

.community-online li span { min-width: 0; }

.community-online li strong,
.community-online li small { display: block; }

.community-online li strong {
  overflow: hidden;
  color: #e8e8ec;
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community-online li small {
  margin-top: 2px;
  color: #a77bff;
  font-size: 11px;
  font-weight: 700;
}

.community-contributors h2 span {
  color: #85858d;
  font-family: Inter, sans-serif;
  font-size: 11px;
  font-weight: 600;
}

.community-contributors li {
  display: grid;
  grid-template-columns: 14px 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.community-contributors li > b {
  color: #85858d;
  font-size: 11px;
  font-weight: 700;
}

.community-contributors img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.community-contributors li > strong {
  color: #d9d9de;
  font-size: 12px;
  font-weight: 700;
}

.community-contributors li > span {
  color: #3ee0aa;
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.community-rules p {
  margin: 10px 0 0;
  color: #a2a2aa;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;
}

.community-rules button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  padding: 0;
  border: 0;
  color: #a77bff;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.community-rules button svg { width: 15px; }

.sidebar-community.is-active {
  border-color: rgba(142, 142, 151, 0.13);
  box-shadow: 0 -1px 1px rgba(145, 76, 188, 0.42), 0 -5px 18px rgba(103, 46, 168, 0.08), 0 12px 30px rgba(0, 0, 0, 0.13);
}

.sidebar-community.is-active .sidebar-community__open {
  color: #ded8eb;
  background: rgba(119, 51, 255, 0.11);
  box-shadow: inset 3px 0 0 rgba(151, 103, 255, 0.82);
}

.community-view.is-active .community-channels,
.community-view.is-active .community-chat,
.community-view.is-active .community-activity {
  animation: community-rise 430ms cubic-bezier(.2,.8,.2,1) both;
}

.community-view.is-active .community-chat { animation-delay: 45ms; }
.community-view.is-active .community-activity { animation-delay: 80ms; }

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

@media (max-width: 1280px) {
  .community-view {
    width: 100%;
    margin-left: 0;
  }

  .community-workspace {
    height: auto;
    min-height: 720px;
    grid-template-columns: 240px minmax(480px, 1fr);
  }

  .community-activity {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: 1.15fr 1fr 1fr;
    gap: 24px;
  }

  .community-activity section + section {
    margin: 0;
    padding: 0 0 0 24px;
    border-top: 0;
    border-left: 1px solid rgba(53, 48, 61, 0.66);
  }

  .community-online ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .community-workspace { grid-template-columns: 1fr; }
  .community-channels { min-height: auto; }
  .community-channel-group nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .community-channels__footer { display: none; }
  .community-chat { min-height: 720px; }
  .community-activity { grid-template-columns: 1fr; }
  .community-activity section + section { padding: 18px 0 0; border-top: 1px solid rgba(53,48,61,.66); border-left: 0; }
}

@media (max-width: 620px) {
  .community-channel-group nav { grid-template-columns: 1fr; }
  .community-profit-share { grid-template-columns: 1fr 1fr; padding: 10px; gap: 10px; }
  .community-profit-share > span { min-height: 45px; padding: 0 8px; }
  .community-profit-share > span + span { border-left: 0; }
  .community-profit-share > svg { grid-column: 1 / -1; }
  .community-online ul { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .community-view.is-active .community-channels,
  .community-view.is-active .community-chat,
  .community-view.is-active .community-activity { animation: none; }
}

/* Overview recommendations mirror the approved Example First card treatment. */
.quick-bots-grid.is-example-first .quick-bot-card__metrics {
  transform: translateY(14px);
}

.quick-bots-grid.is-example-first .quick-bot-chart {
  top: 92px;
  right: 16px;
  width: 51%;
  height: 104px;
  transition: filter 220ms ease;
}

.quick-bots-grid.is-example-first .quick-bot-chart__segment-glow,
.quick-bots-grid.is-example-first .quick-bot-chart__segment-glow--threshold {
  opacity: 0.075;
}

.quick-bots-grid.is-example-first .quick-bot-card__stats {
  grid-template-columns: 1.25fr 0.9fr 1fr;
}

.quick-bots-grid.is-example-first .quick-bot-card__stats > div:nth-child(1) {
  order: 2;
  padding-inline: 6px;
  border-left: 1px solid rgba(202, 202, 214, 0.12);
}

.quick-bots-grid.is-example-first .quick-bot-card__stats > div:nth-child(2) {
  order: 1;
  padding-right: 6px;
  padding-left: 0;
  border-left: 0;
}

.quick-bots-grid.is-example-first .quick-bot-card__stats > div:nth-child(3) {
  order: 3;
  padding-right: 0;
  padding-left: 6px;
  border-left: 1px solid rgba(202, 202, 214, 0.12);
}

body .overview-grid .quick-bots-grid.is-example-first .quick-bot-card.is-overview-refined .quick-bot-card__activate.is-enhanced {
  border-color: rgba(216, 205, 255, 0.22);
  background:
    radial-gradient(circle at 16% -45%, rgba(255, 255, 255, 0.3), transparent 52%),
    linear-gradient(135deg, #b7aad8 0%, #9983c8 48%, #805eb8 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -1px 0 rgba(105, 56, 194, 0.12),
    0 6px 14px rgba(62, 40, 103, 0.12);
}

body .overview-grid .quick-bots-grid.is-example-first .quick-bot-card.is-overview-refined .quick-bot-card__activate.is-enhanced:hover {
  border-color: rgba(255, 255, 255, 0.48);
  background:
    radial-gradient(circle at 16% -45%, rgba(255, 255, 255, 0.44), transparent 52%),
    linear-gradient(135deg, #c9bce9 0%, #ad96dc 48%, #906acb 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.54),
    inset 0 -1px 0 rgba(105, 56, 194, 0.16),
    0 8px 18px rgba(86, 54, 146, 0.2);
}

.quick-bots-grid.is-example-first .quick-bot-card--eth .quick-bot-card__header::after {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  width: 42px;
  min-width: 42px;
  height: 24px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #f5f4f7;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, transparent 42%) padding-box,
    linear-gradient(135deg, #19181e 0%, #09090c 56%, #15121b 100%) padding-box,
    linear-gradient(115deg, #77727e 0%, #aaa3b4 35%, #6b6375 62%, #7d59b5 82%, #403a48 100%) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(0, 0, 0, 0.62),
    0 4px 10px rgba(0, 0, 0, 0.3);
  content: "Pro";
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.quick-bots-grid.is-example-first :is(.quick-bot-card--eth, .quick-bot-card--bnb) {
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.quick-bots-grid.is-example-first :is(.quick-bot-card--eth, .quick-bot-card--bnb):hover {
  border-color: rgba(181, 157, 225, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 17px 38px rgba(0, 0, 0, 0.4),
    0 0 24px rgba(98, 61, 163, 0.045);
  transform: translateY(-1px);
}

.quick-bots-grid.is-example-first :is(.quick-bot-card--eth, .quick-bot-card--bnb) .quick-bot-card__identity small {
  color: #888890;
}

body .overview-grid .quick-bots-grid.is-example-first :is(.quick-bot-card--eth, .quick-bot-card--bnb).quick-bot-card.is-overview-refined .quick-bot-card__activate.is-enhanced {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.48),
    inset 0 -1px 0 rgba(105, 56, 194, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.025),
    0 6px 14px rgba(62, 40, 103, 0.12);
}

.quick-bots-grid.is-example-first :is(.quick-bot-card--eth, .quick-bot-card--bnb):hover .quick-bot-chart {
  filter: brightness(1.07);
}

.starter-heading-actions button[data-open-bots] {
  border-color: #2a2433;
}

.starter-heading-actions button[data-open-bots]:hover {
  border-color: #463d4f;
}

@media (prefers-reduced-motion: reduce) {
  .quick-bots-grid.is-example-first :is(.quick-bot-card--eth, .quick-bot-card--bnb),
  .quick-bots-grid.is-example-first .quick-bot-chart {
    transition: none;
  }

  .quick-bots-grid.is-example-first :is(.quick-bot-card--eth, .quick-bot-card--bnb):hover {
    transform: none;
  }
}

/* My bots page — approved card-based workspace. */
.my-bots-page {
  width: 100%;
  min-width: 0;
  padding-top: 4px;
}

.my-bots-page__header,
.my-bots-page__toolbar,
.my-owned-bot-card__header,
.my-owned-bot-card__footer,
.my-bots-page__add,
.my-bots-page__filters,
.my-bots-page__filters button,
.my-owned-bot-card__details {
  display: flex;
  align-items: center;
}

.my-bots-page__header {
  min-height: 92px;
  justify-content: space-between;
  gap: 32px;
}

.my-bots-page__header h1 {
  margin: 0;
  color: #f5f5f7;
  font-family: "DM Sans", sans-serif;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
}

.my-bots-page__header p {
  margin: 12px 0 0;
  color: #a3a3aa;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.my-bots-page__add {
  height: 42px;
  flex: 0 0 auto;
  justify-content: center;
  gap: 9px;
  padding: 0 21px;
  border: 1px solid rgba(216, 205, 255, 0.22);
  border-radius: 10px;
  color: #120d1a;
  background:
    radial-gradient(circle at 16% -45%, rgba(255, 255, 255, 0.3), transparent 52%),
    linear-gradient(135deg, #b7aad8 0%, #9983c8 48%, #805eb8 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -1px 0 rgba(105, 56, 194, 0.12),
    0 6px 14px rgba(62, 40, 103, 0.12);
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.my-bots-page__add svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.my-bots-page__add:hover {
  border-color: rgba(255, 255, 255, 0.48);
  background:
    radial-gradient(circle at 16% -45%, rgba(255, 255, 255, 0.44), transparent 52%),
    linear-gradient(135deg, #c9bce9 0%, #ad96dc 48%, #906acb 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.54),
    inset 0 -1px 0 rgba(105, 56, 194, 0.16),
    0 8px 18px rgba(86, 54, 146, 0.2);
  transform: translateY(-1px);
}

.my-bots-page__add:active { transform: translateY(1px) scale(0.99); }

.my-bots-page__add:focus-visible {
  outline: 2px solid #9b6cff;
  outline-offset: 3px;
}

.my-bots-page__summary {
  display: grid;
  width: 100%;
  grid-template-columns: 185px 196px 212px 170px minmax(0, 1fr);
  margin: 18px 0 0;
  padding: 20px 0 22px;
  border-top: 1px solid rgba(184, 184, 194, 0.13);
  border-bottom: 1px solid rgba(184, 184, 194, 0.13);
  font-variant-numeric: tabular-nums;
}

.my-bots-page__summary > div {
  min-width: 0;
  padding: 0 28px;
  border-left: 1px solid rgba(184, 184, 194, 0.15);
}

.my-bots-page__summary > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.my-bots-page__summary dt {
  color: #9a9aa2;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.my-bots-page__summary dd {
  margin: 8px 0 0;
  color: #f2f2f4;
  font-family: "DM Sans", sans-serif;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
}

.my-bots-page__summary > div:nth-child(3) dd {
  margin-top: 10px;
}

.my-bots-page__summary dd.is-positive { color: #3ee0aa; }
.my-bots-page__summary dd.is-paused { color: #efbd63; }

.my-bots-page__toolbar {
  min-height: 42px;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
}

.my-bots-page__toolbar h2 {
  margin: 0;
  color: #e8e8ec;
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1;
}

.my-bots-page__filters {
  height: 42px;
  flex: 0 0 auto;
  gap: 0;
  padding: 3px;
  border: 1px solid rgba(159, 119, 230, 0.24);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(21, 17, 29, 0.92), rgba(9, 8, 14, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.my-bots-page__filters button {
  height: 34px;
  justify-content: center;
  gap: 7px;
  padding: 0 15px;
  border: 0;
  border-radius: 9px;
  color: #a2a2aa;
  background: transparent;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.my-bots-page__filters button span {
  display: inline-grid;
  min-width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 6px;
  color: #aaaab2;
  background: rgba(255, 255, 255, 0.055);
  font-size: 11px;
  line-height: 1;
}

.my-bots-page__filters button:hover { color: #e8e8ec; }

.my-bots-page__filters button.active {
  color: #fff;
  background: linear-gradient(110deg, #6428dc, #8a52ff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 6px 16px rgba(85, 35, 171, 0.2);
}

.my-bots-page__filters button.active span {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

.my-bots-page__filters button:active { transform: translateY(1px) scale(0.985); }

.my-bots-page__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
  margin-top: 16px;
}

.my-owned-bot-card {
  position: relative;
  display: flex;
  min-width: 0;
  height: 364px;
  flex-direction: column;
  overflow: hidden;
  padding: 22px 20px 20px;
  border: 1px solid #20212a;
  border-radius: 16px;
  background: linear-gradient(154deg, #0b0c14 0%, #090a11 60%, #08090f 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.018), 0 14px 34px rgba(0, 0, 0, 0.19);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.my-owned-bot-card::after {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.24'/%3E%3C/svg%3E");
  background-size: 120px 120px;
  content: "";
  mix-blend-mode: screen;
  opacity: 0.018;
  pointer-events: none;
}

.my-owned-bot-card:hover {
  border-color: #30313b;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.024), 0 18px 40px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

.my-owned-bot-card__header {
  position: relative;
  z-index: 4;
  min-height: 46px;
  justify-content: space-between;
  gap: 12px;
}

.my-owned-bot-card .quick-bot-card__identity { gap: 11px; }
.my-owned-bot-card .quick-bot-card__asset,
.my-owned-bot-card .quick-bot-card__asset > .quick-bot-card__coin-logo {
  width: 44px;
  height: 44px;
}

.my-owned-bot-card .quick-bot-card__asset { flex-basis: 44px; }

.my-owned-bot-card .quick-bot-card__identity small {
  color: #9b9ba3;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
}

.my-owned-bot-card .quick-bot-card__identity strong {
  color: #f1f1f3;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 700;
}

.my-owned-bot-card__status {
  position: relative;
  z-index: 4;
  flex: 0 0 auto;
  align-self: flex-start;
  padding-top: 5px;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.my-owned-bot-card__status.is-active { color: #4ee2ad; }
.my-owned-bot-card__status.is-paused { color: #efbd63; }

.my-owned-bot-card__performance {
  position: static;
  min-height: 111px;
  margin-top: 31px;
}

.my-owned-bot-card .quick-bot-card__metrics {
  position: relative;
  z-index: 3;
  left: -2px;
  width: 43%;
  margin-top: 0;
}

.my-owned-bot-card .quick-bot-card__metrics > span {
  color: #96969e;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.my-owned-bot-card .quick-bot-card__metrics > strong {
  margin-top: 6px;
  font-family: "DM Sans", sans-serif;
  font-size: 37px;
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
}

.my-owned-bot-card .quick-bot-card__metrics > b {
  margin-top: 8px;
  color: #55df96;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-shadow: none;
}

.my-owned-bot-card .quick-bot-chart {
  position: absolute;
  z-index: 1;
  top: 92px;
  right: 16px;
  bottom: auto;
  left: auto;
  width: 51%;
  height: 104px;
  opacity: 1;
  transition: filter 220ms ease;
}

.my-owned-bot-card .quick-bot-chart__segment-glow,
.my-owned-bot-card .quick-bot-chart__segment-glow--threshold { opacity: 0.075; }

.my-owned-bot-card.is-paused .quick-bot-chart {
  filter: saturate(0.55) brightness(0.8);
  opacity: 0.68;
}

.my-owned-bot-card.is-paused .quick-bot-chart__area { opacity: 0.48; }

.my-owned-bot-card__stats {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr 0.94fr 1.08fr;
  margin: 18px 0 0;
  padding: 0;
  font-variant-numeric: tabular-nums;
}

.my-owned-bot-card__stats > div {
  min-width: 0;
  padding: 0 13px;
}

.my-owned-bot-card__stats > div:first-child { padding-left: 0; }
.my-owned-bot-card__stats > div:last-child { padding-right: 0; }

.my-owned-bot-card__stats > div + div {
  border-left: 1px solid rgba(173, 173, 184, 0.16);
}

.my-owned-bot-card__stats dt {
  overflow: hidden;
  color: #97979f;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.my-owned-bot-card__stats dd {
  overflow: hidden;
  margin: 10px 0 0;
  color: #ececef;
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.my-owned-bot-card__footer {
  position: relative;
  z-index: 4;
  min-height: 40px;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.my-owned-bot-card__footer > span {
  overflow: hidden;
  color: #9999a1;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.my-owned-bot-card__details {
  width: 98px;
  height: 40px;
  flex: 0 0 98px;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(216, 205, 255, 0.22);
  border-radius: 9px;
  color: #130d1c;
  background:
    radial-gradient(circle at 16% -45%, rgba(255, 255, 255, 0.3), transparent 52%),
    linear-gradient(135deg, #b7aad8 0%, #9983c8 48%, #805eb8 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -1px 0 rgba(105, 56, 194, 0.12),
    0 6px 14px rgba(62, 40, 103, 0.12);
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.my-owned-bot-card__details svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.my-owned-bot-card__details:hover {
  border-color: rgba(255, 255, 255, 0.48);
  background:
    radial-gradient(circle at 16% -45%, rgba(255, 255, 255, 0.44), transparent 52%),
    linear-gradient(135deg, #c9bce9 0%, #ad96dc 48%, #906acb 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.54),
    inset 0 -1px 0 rgba(105, 56, 194, 0.16),
    0 8px 18px rgba(86, 54, 146, 0.2);
  transform: translateY(-1px);
}

.my-owned-bot-card__details:active { transform: translateY(1px) scale(0.99); }

.my-owned-bot-card__details:focus-visible {
  outline: 2px solid #9b6cff;
  outline-offset: 3px;
}

.my-bots-page__empty {
  margin: 32px 0 0;
  color: #96969e;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.my-bots-page__new-state {
  min-height: 430px;
  margin-top: 18px;
  border: 1px solid #20202a;
  border-radius: 16px;
  background: #09090f;
}

@media (max-width: 1240px) {
  .my-bots-page__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .my-bots-page__header {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 8px;
  }

  .my-bots-page__header h1 { font-size: 34px; }

  .my-bots-page__summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 20px;
  }

  .my-bots-page__summary > div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .my-bots-page__toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .my-bots-page__filters { width: fit-content; }
  .my-bots-page__grid { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
  .my-bots-page__add { width: 100%; }
  .my-bots-page__filters { width: 100%; }
  .my-bots-page__filters button { flex: 1; padding-inline: 8px; }
  .my-owned-bot-card { height: 380px; padding-inline: 16px; }
  .my-owned-bot-card__stats > div { padding-inline: 8px; }
}

@media (prefers-reduced-motion: no-preference) {
  .my-bots-view.is-active .my-bots-page__header,
  .my-bots-view.is-active .my-bots-page__summary,
  .my-bots-view.is-active .my-bots-page__toolbar,
  .my-bots-view.is-active .my-owned-bot-card {
    animation: bots-rise 480ms cubic-bezier(.2,.8,.2,1) both;
  }

  .my-bots-view.is-active .my-bots-page__summary { animation-delay: 35ms; }
  .my-bots-view.is-active .my-bots-page__toolbar { animation-delay: 65ms; }
  .my-bots-view.is-active .my-owned-bot-card:nth-child(1) { animation-delay: 80ms; }
  .my-bots-view.is-active .my-owned-bot-card:nth-child(2) { animation-delay: 110ms; }
  .my-bots-view.is-active .my-owned-bot-card:nth-child(3) { animation-delay: 140ms; }
  .my-bots-view.is-active .my-owned-bot-card:nth-child(4) { animation-delay: 170ms; }
}

@media (prefers-reduced-motion: reduce) {
  .my-bots-page__add,
  .my-bots-page__filters button,
  .my-owned-bot-card,
  .my-owned-bot-card__details { transition: none; }
}

/* My bots — recent closed transactions. */
.recent-trades {
  width: 100%;
  min-width: 0;
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid #20212a;
  border-radius: 16px;
  background: linear-gradient(145deg, #0a0a11 0%, #08090f 62%, #090910 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.018), 0 16px 38px rgba(0, 0, 0, 0.18);
  font-variant-numeric: tabular-nums;
}

.recent-trades__header {
  display: grid;
  min-height: 76px;
  grid-template-columns: minmax(220px, 1fr) auto auto auto;
  align-items: center;
  gap: 22px;
  padding: 15px 24px;
  border-bottom: 1px solid rgba(184, 184, 194, 0.12);
}

.recent-trades__intro h2 {
  margin: 0;
  color: #f0f0f3;
  font-family: "DM Sans", sans-serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.recent-trades__intro p {
  margin: 6px 0 0;
  color: #92929a;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.recent-trades__intro p span { margin-inline: 3px; }

.recent-trades__summary {
  display: flex;
  align-items: center;
  color: #a0a0a8;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.recent-trades__summary > span {
  padding: 0 20px;
  border-left: 1px solid rgba(184, 184, 194, 0.16);
}

.recent-trades__summary > span:first-child { border-left: 0; }

.recent-trades__summary strong {
  margin-right: 4px;
  color: #ececef;
  font-size: 15px;
  font-weight: 700;
}

.recent-trades__summary .is-positive strong { color: #42dfa6; }

.recent-trades__filters {
  display: flex;
  height: 38px;
  align-items: center;
  padding: 3px;
  border: 1px solid rgba(159, 119, 230, 0.22);
  border-radius: 11px;
  background: linear-gradient(180deg, rgba(21, 17, 29, 0.9), rgba(9, 8, 14, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.recent-trades__filters button {
  min-width: 49px;
  height: 30px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  color: #a4a4ac;
  background: transparent;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.recent-trades__filters button:hover { color: #ececef; }

.recent-trades__filters button.active {
  color: #fff;
  background: linear-gradient(110deg, #6428dc, #8a52ff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 5px 14px rgba(85, 35, 171, 0.18);
}

.recent-trades__filters button:active { transform: translateY(1px) scale(0.985); }

.recent-trades__filters button:focus-visible,
.recent-trades__history:focus-visible {
  outline: 2px solid #9b6cff;
  outline-offset: 3px;
}

.recent-trades__history {
  display: flex;
  height: 36px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 4px 0 10px;
  border: 0;
  color: #b8b8c0;
  background: transparent;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: color 160ms ease, transform 160ms ease;
}

.recent-trades__history:hover { color: #f0f0f3; }
.recent-trades__history:active { transform: translateX(2px); }

.recent-trades__history svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.recent-trades__table-wrap {
  width: 100%;
  overflow-x: auto;
  scrollbar-color: #322640 transparent;
  scrollbar-width: thin;
}

.recent-trades__table {
  width: 100%;
  min-width: 1130px;
  border-collapse: collapse;
  table-layout: fixed;
}

.recent-trades__table th,
.recent-trades__table td {
  height: 47px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(184, 184, 194, 0.105);
  color: #c8c8ce;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.15;
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
}

.recent-trades__table th {
  height: 36px;
  color: #8f8f98;
  font-size: 12px;
  font-weight: 600;
}

.recent-trades__table tr:last-child td { border-bottom: 0; }
.recent-trades__table th:first-child,
.recent-trades__table td:first-child { width: 7.5%; padding-left: 24px; }
.recent-trades__table th:nth-child(2),
.recent-trades__table td:nth-child(2) { width: 18%; }
.recent-trades__table th:nth-child(3),
.recent-trades__table td:nth-child(3) { width: 10%; }
.recent-trades__table th:nth-child(4),
.recent-trades__table td:nth-child(4) { width: 13%; }
.recent-trades__table th:nth-child(5),
.recent-trades__table td:nth-child(5) { width: 12%; }
.recent-trades__table th:nth-child(6),
.recent-trades__table td:nth-child(6) { width: 18%; }
.recent-trades__table th:nth-child(7),
.recent-trades__table td:nth-child(7) { width: 10%; }
.recent-trades__table th:last-child,
.recent-trades__table td:last-child { width: 11.5%; padding-right: 24px; }

.recent-trades__table tbody tr {
  transition: background 150ms ease;
}

.recent-trades__table tbody tr:hover { background: rgba(255, 255, 255, 0.018); }
.recent-trades__time,
.recent-trades__route { color: #a6a6ae !important; }

.recent-trades__bot {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.recent-trades__bot > strong {
  color: #ececef;
  font-size: 13px;
  font-weight: 700;
}

.recent-trades__asset {
  position: relative;
  display: inline-flex;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
}

.recent-trades__asset > img:first-child {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  object-fit: cover;
}

.recent-trades__asset > img:last-child {
  position: absolute;
  right: -3px;
  bottom: -2px;
  width: 10px;
  height: 10px;
  border: 1.5px solid #0a0a11;
  border-radius: 50%;
  object-fit: cover;
}

.recent-trades__side,
.recent-trades__pnl,
.recent-trades__result { font-weight: 700; }

.recent-trades__side.is-buy,
.recent-trades .is-positive { color: #41dfa6; }

.recent-trades__side.is-sell,
.recent-trades .is-negative { color: #ff656b; }

@media (max-width: 1280px) {
  .recent-trades__header {
    grid-template-columns: minmax(220px, 1fr) auto auto;
  }

  .recent-trades__summary {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
  }

  .recent-trades__summary > span:first-child { padding-left: 0; }
}

@media (max-width: 760px) {
  .recent-trades { margin-top: 22px; }

  .recent-trades__header {
    grid-template-columns: 1fr auto;
    gap: 14px;
    padding: 18px;
  }

  .recent-trades__intro,
  .recent-trades__summary { grid-column: 1 / -1; }
  .recent-trades__summary { flex-wrap: wrap; row-gap: 10px; }
  .recent-trades__summary > span { padding-inline: 14px; }
  .recent-trades__summary > span:first-child { padding-left: 0; }
  .recent-trades__filters { justify-self: start; }
  .recent-trades__history { justify-self: end; }
}

@media (prefers-reduced-motion: no-preference) {
  .my-bots-view.is-active .recent-trades {
    animation: bots-rise 480ms 200ms cubic-bezier(.2,.8,.2,1) both;
  }
}

@media (prefers-reduced-motion: reduce) {
  .recent-trades__filters button,
  .recent-trades__history,
  .recent-trades__table tbody tr { transition: none; }
}

/* Final reference alignment: keep the community preview and logout anchored exactly as approved. */
@media (min-width: 1200px) {
  .dashboard-app > .sidebar {
    padding-bottom: 9px;
  }

  .dashboard-app > .sidebar .sidebar-community__header strong {
    font-size: 13px;
  }
}

/* Compact community preview in the sidebar. */
.sidebar-community {
  position: relative;
  isolation: isolate;
  display: grid;
  width: 100%;
  height: 250px;
  flex: 0 0 250px;
  grid-template-rows: 52px 46px 46px 46px 60px;
  overflow: hidden;
  border: 1px solid rgba(93, 83, 111, 0.38);
  border-radius: 14px;
  background:
    radial-gradient(150px 112px at 84% 106%, rgba(101, 45, 219, 0.09), transparent 72%),
    linear-gradient(180deg, rgba(12, 10, 21, 0.96), rgba(8, 7, 14, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025), 0 14px 34px rgba(0, 0, 0, 0.17);
}

.sidebar-community__header {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  min-width: 0;
  padding: 0 14px;
}

.sidebar-community__header > svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #aaa7b0;
  stroke-width: 1.55;
}

.sidebar-community__header strong {
  overflow: hidden;
  color: #eeeef2;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-community__header span {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  color: #62c99d;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

.sidebar-community__header i {
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border-radius: 50%;
  background: #43d99b;
  box-shadow: 0 0 8px rgba(67, 217, 155, 0.46);
}

.sidebar-community__channel,
.sidebar-community__open {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  border: 0;
  border-top: 1px solid rgba(84, 77, 96, 0.24);
  color: #aaa8b0;
  background: transparent;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease;
}

.sidebar-community__channel span,
.sidebar-community__open span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.sidebar-community__channel b {
  display: block;
  width: auto;
  min-width: 0;
  height: auto;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #b997ff;
  background: transparent;
  box-shadow: none;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.sidebar-community__open {
  color: #98959f;
}

.sidebar-community__open svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
}

.sidebar-community__channel:hover,
.sidebar-community__open:hover {
  color: #f0edf5;
  background: rgba(255, 255, 255, 0.025);
}

.sidebar-community__channel:focus-visible,
.sidebar-community__open:focus-visible {
  outline: 2px solid rgba(160, 118, 255, 0.68);
  outline-offset: -2px;
}

@media (max-height: 820px) and (min-width: 861px) {
  .sidebar-community {
    height: 225px;
    flex-basis: 225px;
    grid-template-rows: 46px 41px 41px 41px 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sidebar-community__channel,
  .sidebar-community__open { transition: none; }
}

/* Exact geometry from the approved sidebar community reference (1816 x 866). */
@media (min-width: 1200px) {
  .sidebar {
    padding-bottom: 9px;
  }

  .sidebar-community {
    width: 224px;
    height: 250px;
    flex-basis: 250px;
    align-self: flex-start;
    grid-template-rows: 48px 47px 47px 48px 58px;
    margin-left: -6px;
    border-color: rgba(142, 142, 151, 0.13);
    border-radius: 13px;
    background:
      radial-gradient(132px 92px at 82% 108%, rgba(92, 41, 201, 0.05), transparent 74%) padding-box,
      linear-gradient(180deg, #09070e 0%, #07060d 100%) padding-box,
      radial-gradient(174px 4px at 38% 0%, #5d288f 0%, #4f1b7b 44%, #19121f 78%, #0b0910 100%) border-box;
    box-shadow: 0 -1px 1px rgba(145, 76, 188, 0.42), 0 -5px 18px rgba(103, 46, 168, 0.08), 0 12px 30px rgba(0, 0, 0, 0.13);
  }

  .sidebar-community__header {
    grid-template-columns: 18px minmax(0, 1fr) auto;
    gap: 11px;
    padding: 0 17px 0 14px;
  }

  .sidebar-community__header strong {
    color: #dedce4;
    font-size: 12px;
  }

  .sidebar-community__header span {
    color: #58c897;
    font-size: 10px;
  }

  .sidebar-community__channel,
  .sidebar-community__open {
    padding-right: 16px;
    padding-left: 14px;
    border-top-color: rgba(136, 136, 146, 0.15);
  }

  .sidebar-community__channel span,
  .sidebar-community__open span {
    color: #9b99a3;
    font-size: 12px;
  }

  .sidebar-community__channel b {
    width: auto;
    height: auto;
    flex-basis: auto;
    border: 0;
    color: #b997ff;
    background: transparent;
    box-shadow: none;
  }

  .sidebar-community__open svg {
    width: 16px;
    height: 16px;
    transform: translateX(2px);
  }

  .sidebar-community + .logout-link {
    height: 36px;
    gap: 10px;
    margin-top: 43px;
    margin-left: -3px;
    padding: 9px 13px;
    color: #85818c;
    font-size: 12px;
  }

  .sidebar-community + .logout-link > .sidebar-icon {
    width: 18px;
    height: 18px;
  }
}

/* Trading-card examples are separated so each approved direction can be compared as a complete row. */
.bots-view .bots-toolbar h2 {
  margin-bottom: 0;
}

.bots-view .bots-card-skin .bots-grid {
  display: flex;
  flex-direction: column;
  gap: 52px;
}

.bots-view .bots-example-section {
  display: grid;
  gap: 18px;
}

.bots-view .bots-example-section:first-child {
  gap: 0;
}

.bots-view .bots-example-title {
  margin: 0;
  color: #f1f1f4;
  font-family: "DM Sans", sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.bots-view .bots-example-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 1.25vw, 24px);
  align-items: stretch;
}

@media (max-width: 1380px) {
  .bots-view .bots-example-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .bots-view .bots-card-skin .bots-grid {
    gap: 36px;
  }

  .bots-view .bots-example-title {
    font-size: 24px;
  }

  .bots-view .bots-example-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Overview community panel — approved compact reference, aligned to the bot-card baseline. */
.overview-grid > .community-card,
.portfolio-summary__grid > .community-card {
  min-height: 0;
  padding: 21px 20px 20px;
  border: 1px solid #272330;
  border-radius: 16px;
  background: linear-gradient(
    180deg,
    #05050f 0%,
    #05050f 75%,
    #080713 81%,
    #0b081a 85%,
    #100924 90%,
    #180d32 95%,
    #36225c 98.5%,
    #4e357b 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.018),
    0 14px 32px rgba(0, 0, 0, 0.26);
}

.portfolio-summary__grid > .community-card {
  min-height: 350px;
  grid-column: 3;
  grid-row: 1 / span 2;
  padding: 18px 20px 17px;
}

.community-card__brand {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 24px;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  color: #f0f0f3;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.community-card__brand > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.community-card__brand img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.overview-grid > .community-card h2,
.portfolio-summary__grid > .community-card h2 {
  position: relative;
  z-index: 1;
  margin: 22px 0 8px;
  color: #f3f3f5;
  font-family: "DM Sans", sans-serif;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
  text-align: left;
  text-wrap: balance;
}

.overview-grid > .community-card .community-card__copy,
.portfolio-summary__grid > .community-card .community-card__copy {
  position: relative;
  z-index: 1;
  max-width: 282px;
  margin: 0;
  color: #a6a6ae;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.48;
  text-align: left;
  text-wrap: pretty;
}

.community-card__members {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  margin-top: 17px;
}

.community-card__avatars {
  display: flex;
  height: 44px;
  align-items: center;
  padding-left: 1px;
}

.community-card__avatars img {
  position: relative;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  overflow: hidden;
  border: 1px solid rgba(236, 236, 242, 0.82);
  border-radius: 50%;
  background: #1a1a20;
  box-shadow: 0 0 0 1px rgba(5, 5, 10, 0.82), 0 5px 12px rgba(0, 0, 0, 0.24);
  object-fit: cover;
}

.community-card__avatars img + img { margin-left: -10px; }
.community-card__avatars img:nth-child(1) { z-index: 5; }
.community-card__avatars img:nth-child(2) { z-index: 4; }
.community-card__avatars img:nth-child(3) { z-index: 3; }
.community-card__avatars img:nth-child(4) { z-index: 2; }
.community-card__avatars img:nth-child(5) { z-index: 1; }

.community-card__status {
  margin-top: 8px;
  color: #96969e;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
}

.community-card__post {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 9px;
  margin-top: 15px;
  padding: 14px 0 13px;
  border: 0;
  border-top: 1px solid rgba(201, 201, 210, 0.12);
  border-bottom: 1px solid rgba(201, 201, 210, 0.12);
  border-radius: 0;
  color: #ededf0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.community-card__post-title {
  display: grid;
  min-width: 0;
  align-items: center;
  column-gap: 10px;
  padding-right: 26px;
  grid-template-columns: 29px minmax(0, 1fr);
}

.community-card__post-title img {
  width: 29px;
  height: 29px;
  border: 0;
  border-radius: 50%;
  background: #1a1a20;
  box-shadow: none;
  object-fit: cover;
}

.community-card__post-title strong {
  overflow: hidden;
  color: #ececef;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community-card__post-title > svg,
.community-card__discussion svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.community-card__post-title > svg {
  position: absolute;
  top: 50%;
  right: 0;
  width: 18px;
  height: 18px;
  color: #a6a6ae;
  transform: translateY(-50%);
  transition: color 180ms ease, transform 180ms ease;
}

.community-card__discussion {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-left: 2px;
  color: #a6a6ae;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
}

.community-card__discussion svg {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  color: #a6a6ae;
}

.community-card__post:hover {
  border-color: rgba(201, 201, 210, 0.2);
  background: rgba(255, 255, 255, 0.018);
}

.community-card__post:hover .community-card__post-title > svg {
  color: #ececef;
  transform: translate(2px, -50%);
}

.community-card__post:focus-visible,
.community-card__cta:focus-visible {
  outline: 2px solid #9f76ff;
  outline-offset: 3px;
}

/* New-account overview: keep the compact community card optically balanced. */
.overview-grid > .community-card h2 {
  margin-top: 30px;
}

.overview-grid > .community-card .community-card__cta {
  width: calc(100% - 24px);
  margin-right: auto;
  margin-left: auto;
}

.community-card__cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 100%;
  height: 43px;
  flex: 0 0 43px;
  align-items: center;
  gap: 7px;
  justify-content: center;
  margin-top: auto;
  padding: 0 18px;
  border: 1px solid rgba(205, 183, 255, 0.38);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(110deg, #5b24d3 0%, #7733ff 46%, #a467ff 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), inset 0 -1px 0 rgba(46, 12, 104, 0.42), 0 9px 24px rgba(82, 31, 178, 0.24);
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-shadow: 0 1px 0 rgba(31, 9, 69, 0.3);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, filter 180ms ease, transform 180ms ease;
}

.community-card__cta:hover {
  border-color: rgba(225, 213, 255, 0.64);
  background: linear-gradient(110deg, #682be6 0%, #843fff 48%, #b177ff 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34), 0 12px 30px rgba(91, 38, 188, 0.34);
  transform: translateY(-2px);
}

.community-card__cta:active { transform: translateY(1px) scale(0.985); }

.community-card__cta svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

/* Active-account community card: preserve the original 350px portfolio row height. */
.portfolio-summary__grid > .community-card .community-card__brand {
  min-height: 22px;
}

.portfolio-summary__grid > .community-card .community-card__brand img {
  width: 22px;
  height: 22px;
}

.portfolio-summary__grid > .community-card h2 {
  margin: 28px 0 8px;
  font-size: 22px;
}

.portfolio-summary__grid > .community-card .community-card__copy {
  line-height: 1.48;
}

.portfolio-summary__grid > .community-card .community-card__members {
  margin-top: 14px;
}

.portfolio-summary__grid > .community-card .community-card__avatars {
  height: 36px;
}

.portfolio-summary__grid > .community-card .community-card__avatars img {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
}

.portfolio-summary__grid > .community-card .community-card__avatars img + img {
  margin-left: -7px;
}

.portfolio-summary__grid > .community-card .community-card__status {
  margin-top: 7px;
  font-size: 12px;
  line-height: 17px;
}

.portfolio-summary__grid > .community-card .community-card__post {
  gap: 9px;
  margin-top: 10px;
  padding: 13px 0 16px;
}

.portfolio-summary__grid > .community-card .community-card__post-title {
  column-gap: 9px;
  padding-right: 25px;
  grid-template-columns: 27px minmax(0, 1fr);
}

.portfolio-summary__grid > .community-card .community-card__post-title img {
  width: 27px;
  height: 27px;
}

.portfolio-summary__grid > .community-card .community-card__post-title strong,
.portfolio-summary__grid > .community-card .community-card__discussion {
  font-size: 12px;
}

.portfolio-summary__grid > .community-card .community-card__post-title > svg,
.portfolio-summary__grid > .community-card .community-card__discussion svg {
  width: 17px;
  height: 17px;
  flex-basis: 17px;
}

.portfolio-summary__grid > .community-card .community-card__discussion {
  gap: 8px;
  line-height: 17px;
}

.portfolio-summary__grid > .community-card .community-card__cta {
  position: absolute;
  right: 32px;
  bottom: 17px;
  left: 32px;
  width: auto;
  height: 38px;
  flex: none;
  margin-top: 0;
}

.portfolio-summary__grid > .community-card .community-card__cta svg {
  width: 14px;
  height: 14px;
  flex-basis: 14px;
}

@media (max-width: 900px) {
  .overview-grid > .community-card {
    min-height: 444px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .community-card__post,
  .community-card__post-title > svg,
  .community-card__cta { transition: none; }

  .community-card__post:hover .community-card__post-title > svg {
    transform: translateY(-50%);
  }

  .community-card__cta:hover,
  .community-card__cta:active { transform: none; }
}

/* Settings */
.settings-view {
  --settings-panel-border: rgba(255, 255, 255, 0.075);
  --settings-field-border: rgba(255, 255, 255, 0.11);
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

.settings-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.settings-column {
  display: flex;
  min-width: 0;
}

.settings-column > .settings-panel {
  width: 100%;
  height: 100%;
}

.settings-panel {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border: 1px solid var(--settings-panel-border);
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0%, rgba(119, 51, 255, 0.055), transparent 30%),
    linear-gradient(145deg, #0c0b12 0%, #09090e 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.018);
}

.settings-panel__heading {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #24242c;
}

.settings-panel__heading h2 {
  margin: 0;
  color: #f1f1f4;
  font-family: "DM Sans", sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.18;
}

.settings-panel__heading p {
  margin: 6px 0 0;
  color: #9e9ea6;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.48;
}

.settings-profile-summary {
  position: relative;
  z-index: 1;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 24px 0 30px;
  border-bottom: 1px solid #2b2933;
}

.settings-profile-summary::before,
.settings-profile-summary::after {
  position: absolute;
  right: -20px;
  bottom: 0;
  left: -20px;
  height: 170px;
  content: "";
  pointer-events: none;
}

.settings-profile-summary::before {
  z-index: -2;
  background: radial-gradient(
    ellipse 63% 92% at 50% 100%,
    rgba(142, 76, 247, 0.43) 0%,
    rgba(113, 59, 201, 0.3) 31%,
    rgba(70, 41, 117, 0.17) 54%,
    rgba(31, 23, 46, 0.08) 70%,
    transparent 86%
  );
  opacity: 0.96;
}

.settings-profile-summary::after {
  z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
  background-size: 126px 126px;
  mask-image: radial-gradient(ellipse 63% 92% at 50% 100%, #000 0%, rgba(0, 0, 0, 0.82) 48%, transparent 86%);
  mix-blend-mode: screen;
  opacity: 0.16;
  -webkit-mask-image: radial-gradient(ellipse 63% 92% at 50% 100%, #000 0%, rgba(0, 0, 0, 0.82) 48%, transparent 86%);
}

.settings-profile-summary > * { position: relative; z-index: 1; }

.settings-avatar {
  display: grid;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #f4efff;
  background: linear-gradient(145deg, #33284a, #15111f);
  box-shadow: none;
  font-size: 16px;
  font-weight: 700;
  overflow: hidden;
}

.settings-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.settings-profile-name {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
}

.settings-profile-name strong {
  color: #f3f3f5;
  font-size: 17px;
  font-weight: 700;
}

.settings-profile-name span,
.settings-status {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  padding: 0 9px;
  border: 1px solid #34343d;
  border-radius: 999px;
  color: #c3c3ca;
  background: #121218;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.settings-profile-summary p,
.settings-profile-summary small {
  display: block;
  margin: 4px 0 0;
  color: #a4a4ac;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.settings-profile-summary small { color: #818189; }

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

.settings-form label {
  display: grid;
  gap: 7px;
  color: #ceced3;
  font-size: 13px;
  font-weight: 700;
}

.settings-form__wide { grid-column: 1 / -1; }

.settings-form input,
.settings-form select {
  width: 100%;
  height: 44px;
  min-width: 0;
  padding: 0 15px;
  border: 1px solid var(--settings-field-border);
  border-radius: 10px;
  outline: none;
  color: #f0f0f2;
  background: rgba(4, 4, 9, 0.62);
  font: 600 14px/1 "DM Sans", sans-serif;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.settings-form select {
  color-scheme: dark;
  cursor: pointer;
}

.settings-form input:focus,
.settings-form select:focus {
  border-color: rgba(150, 101, 255, 0.78);
  background: #0d0c14;
  box-shadow: 0 0 0 3px rgba(119, 51, 255, 0.12);
}

.settings-form input[readonly] {
  border-color: var(--settings-panel-border);
  color: #9999a1;
  background: rgba(7, 7, 12, 0.72);
  caret-color: transparent;
  cursor: default;
}

.settings-form input[readonly]:focus {
  border-color: var(--settings-panel-border);
  background: rgba(7, 7, 12, 0.72);
  box-shadow: none;
}

.settings-input-status {
  position: relative;
  display: block;
}

.settings-input-status input { padding-right: 90px; }

.settings-input-status b {
  position: absolute;
  top: 50%;
  right: 13px;
  color: #96969e;
  font-size: 12px;
  font-weight: 700;
  transform: translateY(-50%);
}

.settings-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 4px;
}

.settings-form__footer > span {
  color: #85858e;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
}

.settings-primary-button {
  min-height: 38px;
  padding: 0 16px;
  border-radius: 9px;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.settings-primary-button {
  border: 1px solid rgba(216, 205, 255, 0.22);
  color: #110b1c;
  background:
    radial-gradient(circle at 16% -45%, rgba(255, 255, 255, 0.3), transparent 52%),
    linear-gradient(135deg, #b7aad8 0%, #9983c8 48%, #805eb8 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -1px 0 rgba(105, 56, 194, 0.12),
    0 6px 14px rgba(62, 40, 103, 0.12);
}

.settings-primary-button:hover {
  border-color: rgba(255, 255, 255, 0.48);
  background:
    radial-gradient(circle at 16% -45%, rgba(255, 255, 255, 0.44), transparent 52%),
    linear-gradient(135deg, #c9bce9 0%, #ad96dc 48%, #906acb 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.54),
    inset 0 -1px 0 rgba(105, 56, 194, 0.16),
    0 8px 18px rgba(86, 54, 146, 0.2);
  transform: translateY(-1px);
}

.settings-toggle-list {
  display: grid;
  border-top: 1px solid #24242c;
}

.settings-toggle-list > div {
  display: flex;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #202028;
}

.settings-toggle-list > div:last-child { border-bottom: 0; }

.settings-toggle-list strong,
.settings-toggle-list small {
  display: block;
}

.settings-toggle-list strong {
  color: #dcdce1;
  font-size: 13px;
  font-weight: 700;
}

.settings-toggle-list small {
  margin-top: 4px;
  color: #8d8d96;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.settings-switch {
  position: relative;
  width: 43px;
  height: 24px;
  flex: 0 0 43px;
  padding: 0;
  border: 1px solid #3a3a43;
  border-radius: 999px;
  background: #17171d;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

.settings-switch span {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #86868f;
  transition: transform 180ms ease, background 180ms ease;
}

.settings-switch.is-on {
  border-color: rgba(146, 99, 255, 0.7);
  background: rgba(119, 51, 255, 0.38);
}

.settings-switch.is-on span {
  background: #d8c8ff;
  transform: translateX(18px);
}

.settings-switch:focus-visible,
.settings-primary-button:focus-visible,
.settings-text-button:focus-visible {
  outline: 2px solid #9b6cff;
  outline-offset: 3px;
}

.settings-profile {
  display: flex;
  height: 100%;
  flex-direction: column;
  background: linear-gradient(155deg, rgba(13, 12, 19, 0.98) 0%, rgba(8, 8, 13, 0.99) 72%);
}

.settings-profile > .settings-panel__heading {
  padding-bottom: 7px;
  border-bottom: 0;
}

.settings-profile::before,
.settings-profile::after { content: none; }

.settings-profile-summary,
.settings-profile .settings-form {
  position: relative;
  z-index: 1;
}

.settings-profile .settings-form {
  flex: 1 1 auto;
  align-content: start;
  gap: 14px 12px;
  grid-template-rows: auto auto auto auto minmax(38px, 1fr);
}

.settings-profile .settings-form__footer {
  align-self: end;
  margin-top: 0;
}

.settings-2fa-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 17px 0 10px;
}

.settings-two-factor .settings-panel__heading {
  padding-bottom: 0;
  border-bottom: 0;
}

.settings-qr {
  display: grid;
  width: 116px;
  height: 116px;
  padding: 6px;
  place-items: center;
  border: 1px solid #3a3a42;
  border-radius: 12px;
  background: #f5f5f5;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);
}

.settings-2fa-setup { min-width: 0; }

.settings-qr img {
  display: block;
  width: 100%;
  height: 100%;
}

.settings-2fa-setup > strong {
  color: #ededf0;
  font-size: 15px;
  font-weight: 700;
}

.settings-2fa-setup > p {
  max-width: none;
  margin: 5px 0 12px;
  color: #9a9aa3;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.4;
  white-space: nowrap;
}

.settings-setup-label,
.settings-verification > span {
  display: block;
  margin-bottom: 7px;
  color: #c9c9cf;
  font-size: 12px;
  font-weight: 700;
}

.settings-setup-label-row {
  display: flex;
  min-height: 18px;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 6px;
}

.settings-setup-label-row .settings-setup-label { margin: 0; }

.settings-manual-key-label {
  padding: 0;
  color: #bdbdc5;
  text-align: left;
}

.settings-setup-key {
  display: flex;
  width: min(100%, 300px);
  height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 7px 0 13px;
  border: 1px solid var(--settings-field-border);
  border-radius: 10px;
  background: rgba(4, 4, 9, 0.62);
}

.settings-setup-key code {
  overflow: hidden;
  color: #dddde2;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.settings-setup-key button,
.settings-text-button {
  border: 0;
  color: #b7b7bf;
  background: transparent;
  font: 700 12px/1 "DM Sans", sans-serif;
  cursor: pointer;
}

.settings-setup-key button {
  display: grid;
  width: 28px;
  height: 28px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 6px;
  color: #85858e;
  background: transparent;
}

.settings-setup-key button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.settings-setup-key button:hover,
.settings-text-button:hover {
  color: #f1f1f3;
  background: rgba(255, 255, 255, 0.035);
}

.settings-verification {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  margin-top: 10px;
  padding-top: 17px;
  border-top: 0;
}

.settings-verification::before {
  position: absolute;
  top: 0;
  right: 12px;
  left: 12px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.09) 18%, rgba(255, 255, 255, 0.09) 82%, transparent);
  content: "";
  pointer-events: none;
}

.settings-verification__row {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.settings-code-inputs {
  display: grid;
  width: min(100%, 248px);
  flex: 0 1 248px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 5px;
}

.settings-code-inputs input {
  width: 100%;
  height: 34px;
  border: 1px solid var(--settings-field-border);
  border-radius: 8px;
  outline: 0;
  color: #f4f4f6;
  background: rgba(4, 4, 9, 0.62);
  font: 700 17px/1 "DM Sans", sans-serif;
  text-align: center;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.settings-code-inputs input:focus {
  border-color: rgba(155, 108, 255, 0.84);
  box-shadow: 0 0 0 3px rgba(119, 51, 255, 0.13);
}

.settings-code-inputs.is-invalid input { border-color: rgba(255, 92, 86, 0.62); }

.settings-verification__row > .settings-primary-button {
  min-width: 90px;
  min-height: 34px;
  padding: 0 12px;
  font-size: 12px;
  flex: 0 0 auto;
}

.settings-recovery-note {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  padding: 0 1px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.settings-recovery-note svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.settings-recovery-note svg { color: #9c9ca5; }

.settings-recovery-note p {
  margin: 0;
  color: #92929a;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}

.settings-recovery-note strong { color: #d5d5da; }

.settings-compact-panel .settings-panel__heading { padding-bottom: 17px; }

.settings-toggle-list--compact { border-top: 0; }
.settings-toggle-list--compact > div { min-height: 55px; }

.settings-security-panel {
  height: 100%;
  padding: 20px;
  background:
    radial-gradient(ellipse 62% 38% at 100% 0%, rgba(119, 51, 255, 0.075), transparent 74%),
    linear-gradient(145deg, #0c0b12 0%, #09090e 100%);
}

.settings-security-divider {
  height: 1px;
  margin: 20px -20px 0;
  background: #24242c;
}

.settings-withdrawal-section {
  padding-top: 20px;
}

.settings-withdrawal-section .settings-panel__heading {
  padding-bottom: 15px;
  border-bottom-color: rgba(255, 255, 255, 0.085);
}

.settings-withdrawal-section .settings-toggle-list {
  margin-top: 0;
}

.settings-withdrawal-section .settings-toggle-list--compact > div {
  min-height: 52px;
}

.settings-status.is-enabled {
  border-color: rgba(0, 220, 160, 0.28);
  color: #63e9c0;
  background: rgba(0, 220, 160, 0.08);
}

@media (max-width: 1240px) {
  .settings-layout { grid-template-columns: 1fr; }
  .settings-column > .settings-panel { height: auto; }
  .settings-profile .settings-form {
    align-content: start;
    gap: 10px 12px;
    grid-template-rows: none;
  }
}

@media (max-width: 700px) {
  .settings-panel { padding: 20px; }
  .settings-form { grid-template-columns: 1fr; }
  .settings-form__wide { grid-column: auto; }
  .settings-2fa-content { grid-template-columns: 1fr; }
  .settings-qr { width: 124px; height: 124px; }
  .settings-2fa-setup > p { white-space: normal; }
}

@media (max-width: 480px) {
  .settings-panel__heading--status { flex-direction: column; }
  .settings-code-inputs { gap: 5px; }
  .settings-code-inputs input { height: 46px; border-radius: 8px; font-size: 18px; }
  .settings-verification__row,
  .settings-form__footer { align-items: stretch; flex-direction: column; }
  .settings-code-inputs { width: 100%; }
  .settings-primary-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .settings-switch,
  .settings-switch span,
  .settings-primary-button { transition: none; }
}

/* Overview bot recommendations — exact compact translation of the approved card mockup. */
.overview-grid .quick-bot-card {
  height: 356px;
  padding: 18px;
  border-color: rgba(218, 218, 228, 0.065);
  background:
    radial-gradient(ellipse at 12% 0%, rgba(255, 255, 255, 0.032), transparent 31%),
    linear-gradient(156deg, #0b0c13 0%, #090a10 58%, #08090e 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.018),
    0 14px 32px rgba(0, 0, 0, 0.28);
}

.overview-grid .quick-bot-card:hover {
  border-color: rgba(218, 218, 228, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.026),
    0 17px 36px rgba(0, 0, 0, 0.34);
}

.overview-grid .quick-bot-card::before {
  top: -39px;
  left: -20px;
  width: 148px;
  height: 82px;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.075) 0%, rgba(255, 255, 255, 0.022) 42%, transparent 73%);
  filter: blur(7px);
}

.overview-grid .quick-bot-card__header {
  min-height: 42px;
}

.overview-grid .quick-bot-card__risk {
  --risk-rgb: 184, 184, 192;
  --risk-text: #c5c5cc;
  position: relative;
  z-index: 4;
  display: inline-flex;
  height: 28px;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--risk-text);
  background:
    radial-gradient(circle at 14px 50%, rgba(var(--risk-rgb), 0.13) 0%, rgba(var(--risk-rgb), 0.035) 36%, transparent 66%) padding-box,
    linear-gradient(180deg, rgba(18, 19, 27, 0.88) 0%, rgba(7, 8, 13, 0.84) 100%) padding-box,
    linear-gradient(135deg, rgba(var(--risk-rgb), 0.27) 0%, rgba(255, 255, 255, 0.085) 48%, rgba(var(--risk-rgb), 0.11) 100%) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    inset 0 -1px 0 rgba(0, 0, 0, 0.24),
    0 7px 18px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px) saturate(120%);
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.045em;
  line-height: 1;
  text-shadow: 0 0 14px rgba(var(--risk-rgb), 0.1);
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
  white-space: nowrap;
}

.overview-grid .quick-bot-card__risk i {
  position: relative;
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: rgb(var(--risk-rgb));
  box-shadow:
    0 0 0 3px rgba(var(--risk-rgb), 0.075),
    0 0 11px rgba(var(--risk-rgb), 0.5);
}

.overview-grid .quick-bot-card__risk i::after {
  position: absolute;
  inset: -3px;
  border: 1px solid rgba(var(--risk-rgb), 0.18);
  border-radius: inherit;
  content: "";
}

.overview-grid .quick-bot-card__risk--low {
  --risk-rgb: 72, 217, 155;
  --risk-text: #a9dfc7;
}

.overview-grid .quick-bot-card__risk--mid {
  --risk-rgb: 240, 184, 75;
  --risk-text: #e4c98f;
}

.overview-grid .quick-bot-card__risk--high {
  --risk-rgb: 240, 107, 115;
  --risk-text: #ebb1b6;
}

.overview-grid .quick-bot-card:hover .quick-bot-card__risk {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -1px 0 rgba(0, 0, 0, 0.24),
    0 8px 20px rgba(0, 0, 0, 0.24),
    0 0 16px rgba(var(--risk-rgb), 0.045);
  filter: brightness(1.04);
}

.overview-grid .quick-bot-card__metrics {
  width: 42%;
  margin-top: 25px;
}

.overview-grid .quick-bot-card__metrics > strong {
  margin-top: 6px;
  font-size: clamp(32px, 2vw, 37px);
}

.overview-grid .quick-bot-card__metrics > b {
  margin-top: 8px;
}

.overview-grid .quick-bot-chart {
  top: 88px;
  right: 15px;
  bottom: auto;
  left: auto;
  width: 55%;
  height: 112px;
}

.overview-grid .quick-bot-card__stats {
  position: absolute;
  z-index: 4;
  top: 219px;
  right: 17px;
  left: 17px;
  display: grid;
  margin: 0;
  grid-template-columns: 0.9fr 1.25fr 1fr;
}

.overview-grid .quick-bot-card__stats > div {
  min-width: 0;
  padding: 0 6px;
  text-align: center;
}

.overview-grid .quick-bot-card__stats > div:first-child { padding-left: 0; }
.overview-grid .quick-bot-card__stats > div:last-child { padding-right: 0; }

.overview-grid .quick-bot-card__stats > div + div {
  border-left: 1px solid rgba(202, 202, 214, 0.12);
}

.overview-grid .quick-bot-card__stats dt,
.overview-grid .quick-bot-card__stats dd {
  overflow: hidden;
  margin: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.overview-grid .quick-bot-card__stats dt {
  display: flex;
  min-height: 18px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #96969e;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.overview-grid .quick-bot-card__stats dt svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.overview-grid .quick-bot-card__stats dd {
  margin-top: 7px;
  color: #ececf0;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.overview-grid .quick-bot-card__footer {
  position: absolute;
  z-index: 4;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.overview-grid .quick-bot-card__investment {
  display: inline-flex;
  min-width: 0;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
}

.overview-grid .quick-bot-card__investment > span {
  color: #a2a2aa;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
}

.overview-grid .quick-bot-card__investment > strong {
  color: #f0f0f3;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.overview-grid .quick-bot-card__activate {
  display: inline-flex;
  width: 112px;
  height: 40px;
  flex: 0 0 112px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(237, 232, 255, 0.34);
  border-radius: 9px;
  color: #18131f;
  background: linear-gradient(135deg, #d8cdff 0%, #c8b8ff 53%, #b79cff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    0 8px 18px rgba(89, 51, 154, 0.18);
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, filter 180ms ease, transform 180ms ease;
}

.overview-grid .quick-bot-card__activate:hover {
  border-color: rgba(255, 255, 255, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 10px 22px rgba(89, 51, 154, 0.25);
  filter: brightness(1.045);
  transform: translateY(-1px);
}

.overview-grid .quick-bot-card__activate:active { transform: translateY(1px); }

.overview-grid .quick-bot-card__activate:focus-visible {
  outline: 2px solid #9f76ff;
  outline-offset: 3px;
}

.overview-grid .quick-bot-card.is-overview-refined .quick-bot-card__risk-value {
  letter-spacing: 0.015em;
  text-shadow: none;
}

.overview-grid .quick-bot-card.is-overview-refined .quick-bot-card__risk-value--low {
  color: #8bd7b5;
}

.overview-grid .quick-bot-card.is-overview-refined .quick-bot-card__risk-value--mid {
  color: #dbba78;
}

.overview-grid .quick-bot-card.is-overview-refined .quick-bot-card__risk-value--high {
  color: #e4939a;
}

.overview-grid .quick-bot-card.is-overview-refined .quick-bot-card__strategy-value {
  color: #e5e5e9;
  font-size: 14px;
  letter-spacing: -0.015em;
}

.overview-grid .quick-bot-card.is-overview-refined .quick-bot-card__activate.is-enhanced {
  display: inline-flex;
  overflow: hidden;
  align-items: center;
  gap: 8px;
  border-color: rgba(255, 255, 255, 0.48);
  background:
    radial-gradient(circle at 16% -45%, rgba(255, 255, 255, 0.58), transparent 52%),
    linear-gradient(135deg, #e6deff 0%, #cebdff 48%, #af86fb 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    inset 0 -1px 0 rgba(105, 56, 194, 0.16),
    0 8px 20px rgba(111, 65, 196, 0.25);
}

.overview-grid .quick-bot-card.is-overview-refined .quick-bot-card__activate.is-enhanced svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  transition: transform 180ms ease;
}

.overview-grid .quick-bot-card.is-overview-refined .quick-bot-card__activate.is-enhanced:hover {
  border-color: rgba(255, 255, 255, 0.64);
  background:
    radial-gradient(circle at 18% -35%, rgba(255, 255, 255, 0.68), transparent 54%),
    linear-gradient(135deg, #eee9ff 0%, #d7c8ff 48%, #b892ff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    inset 0 -1px 0 rgba(105, 56, 194, 0.14),
    0 10px 24px rgba(111, 65, 196, 0.31);
}

.overview-grid .quick-bot-card.is-overview-refined .quick-bot-card__activate.is-enhanced:hover svg {
  transform: translateX(2px);
}

@media (max-width: 1180px) and (min-width: 901px) {
  .overview-grid .quick-bot-card {
    height: 344px;
    padding: 16px;
  }

  .overview-grid .quick-bot-card__risk {
    padding-inline: 9px;
    font-size: 11px;
  }

  .overview-grid .quick-bot-chart {
    right: 12px;
    width: 53%;
  }

  .overview-grid .quick-bot-card__stats {
    top: 211px;
    right: 14px;
    left: 14px;
  }

  .overview-grid .quick-bot-card__stats > div { padding-inline: 6px; }
  .overview-grid .quick-bot-card__stats dt { font-size: 12px; }
  .overview-grid .quick-bot-card__stats dt svg { display: none; }

  .overview-grid .quick-bot-card__footer {
    right: 15px;
    bottom: 16px;
    left: 15px;
    gap: 8px;
  }

  .overview-grid .quick-bot-card__investment { gap: 5px; }
  .overview-grid .quick-bot-card__investment > span { font-size: 12px; }
  .overview-grid .quick-bot-card__investment > strong { font-size: 15px; }
  .overview-grid .quick-bot-card__activate { width: 96px; flex-basis: 96px; }
}

@media (max-width: 900px) {
  .overview-grid .quick-bot-card { height: 356px; }
}

@media (prefers-reduced-motion: reduce) {
  .overview-grid .quick-bot-card__activate { transition: none; }
  .overview-grid .quick-bot-card__activate:hover { transform: none; }
  .overview-grid .quick-bot-card.is-overview-refined .quick-bot-card__activate.is-enhanced svg { transition: none; }
  .overview-grid .quick-bot-card.is-overview-refined .quick-bot-card__activate.is-enhanced:hover svg { transform: none; }
}

/* Trading bots now use the exact compact recommendation-card component. */
.bots-view .bots-card-skin.overview-grid {
  display: block;
  width: 100%;
  animation: none;
}

.bots-view .bots-grid {
  width: 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 1.25vw, 24px);
  align-items: stretch;
}

.bots-view .trading-bot-quick-card {
  width: 100%;
  height: 356px;
}

.bots-view .quick-bot-card__risk i {
  display: none;
}

.bots-view .trading-bot-quick-card.has-compact-strategy-type .quick-bot-card__strategy-value {
  font-size: 14px;
  letter-spacing: -0.015em;
}

.bots-view .trading-bot-quick-card.is-reference-footer-layout .quick-bot-card__stats {
  top: 211px;
  padding-top: 16px;
  border-top: 1px solid rgba(202, 202, 214, 0.1);
}

.bots-view .trading-bot-quick-card.is-reference-footer-layout .quick-bot-card__strategy-value {
  color: #e5e5e9;
  font-size: 14px;
  letter-spacing: -0.015em;
}

.bots-view .trading-bot-quick-card.is-reference-footer-layout .quick-bot-card__footer {
  gap: 0;
}

.bots-view .trading-bot-quick-card.is-reference-footer-layout .quick-bot-card__activate {
  width: 100%;
  flex: 1 1 100%;
}

.bots-view .trading-bot-quick-card.is-new {
  border-color: transparent;
  background:
    radial-gradient(ellipse 82% 34% at 47% -8%, rgba(122, 68, 236, 0.25) 0%, rgba(89, 44, 181, 0.115) 42%, transparent 75%) padding-box,
    linear-gradient(156deg, #0c0c15 0%, #090a11 58%, #08090e 100%) padding-box,
    radial-gradient(ellipse 74% 22% at 46% 0%, rgba(169, 119, 255, 0.64) 0%, rgba(106, 67, 174, 0.3) 53%, transparent 79%) border-box,
    linear-gradient(180deg, rgba(69, 61, 82, 0.4) 0%, rgba(34, 33, 42, 0.46) 48%, rgba(28, 29, 37, 0.34) 100%) border-box;
  box-shadow:
    inset 0 1px 0 rgba(195, 166, 255, 0.11),
    0 18px 42px rgba(0, 0, 0, 0.42),
    0 13px 36px rgba(0, 0, 0, 0.12);
}

.bots-view .trading-bot-quick-card.is-new:hover {
  box-shadow:
    inset 0 1px 0 rgba(205, 182, 255, 0.15),
    0 20px 46px rgba(0, 0, 0, 0.45),
    0 14px 38px rgba(0, 0, 0, 0.13);
}

.bots-view .trading-bot-quick-card.is-new::before {
  z-index: 0;
  top: -50px;
  left: 2%;
  width: 92%;
  height: 132px;
  background: radial-gradient(ellipse at center, rgba(139, 84, 255, 0.28) 0%, rgba(101, 52, 204, 0.12) 43%, transparent 74%);
  filter: blur(14px);
}

.bots-view .trading-bot-quick-card.is-new::after {
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
  background-size: 120px 120px;
  mix-blend-mode: screen;
  opacity: 1;
}

.bots-view .trading-bot-quick-card.is-new .quick-bot-card__identity strong {
  display: inline-flex;
  overflow: visible;
  align-items: center;
  gap: 7px;
}

.bots-view .trading-bot-quick-card.is-new .quick-bot-card__identity strong::after {
  display: inline-flex;
  height: 18px;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  border: 1px solid rgba(134, 92, 190, 0.72);
  border-radius: 999px;
  color: #f0ebf6;
  background: linear-gradient(180deg, #21162d 0%, #120d18 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.48),
    0 3px 8px rgba(0, 0, 0, 0.26);
  content: "NEW";
  font-family: "DM Sans", sans-serif;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 1;
}

.bots-view .trading-bot-quick-card.is-refined-risk-layout.is-new .quick-bot-card__identity strong::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  min-width: 40px;
  height: 24px;
  box-sizing: border-box;
  padding: 0;
  border: 1px solid rgba(134, 92, 190, 0.72);
  border-radius: 999px;
  color: #f0ebf6;
  background: linear-gradient(180deg, #21162d 0%, #120d18 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.48),
    0 3px 8px rgba(0, 0, 0, 0.26);
  content: "New";
  font-size: 11px;
  letter-spacing: 0;
  pointer-events: none;
}

.bots-view .trading-bot-quick-card.is-refined-risk-layout .quick-bot-card__risk-value {
  letter-spacing: 0.015em;
  text-shadow: none;
}

.bots-view .trading-bot-quick-card.is-refined-risk-layout .quick-bot-card__risk-value--low {
  color: #8bd7b5;
}

.bots-view .trading-bot-quick-card.is-refined-risk-layout .quick-bot-card__risk-value--mid {
  color: #dbba78;
}

.bots-view .trading-bot-quick-card.is-refined-risk-layout .quick-bot-card__risk-value--high {
  color: #e4939a;
}

.bots-view .trading-bot-quick-card.is-refined-risk-layout .quick-bot-card__strategy-value {
  color: #e5e5e9;
  font-size: 14px;
  letter-spacing: -0.015em;
}

.bots-view .trading-bot-quick-card .quick-bot-card__activate.is-enhanced {
  display: inline-flex;
  overflow: hidden;
  align-items: center;
  gap: 8px;
  border-color: rgba(255, 255, 255, 0.48);
  background:
    radial-gradient(circle at 16% -45%, rgba(255, 255, 255, 0.58), transparent 52%),
    linear-gradient(135deg, #e6deff 0%, #cebdff 48%, #af86fb 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    inset 0 -1px 0 rgba(105, 56, 194, 0.16),
    0 8px 20px rgba(111, 65, 196, 0.25);
}

.bots-view .trading-bot-quick-card .quick-bot-card__activate.is-enhanced svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  transition: transform 180ms ease;
}

.bots-view .trading-bot-quick-card .quick-bot-card__activate.is-enhanced:hover {
  border-color: rgba(255, 255, 255, 0.64);
  background:
    radial-gradient(circle at 18% -35%, rgba(255, 255, 255, 0.68), transparent 54%),
    linear-gradient(135deg, #eee9ff 0%, #d7c8ff 48%, #b892ff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    inset 0 -1px 0 rgba(105, 56, 194, 0.14),
    0 10px 24px rgba(111, 65, 196, 0.31);
}

.bots-view .trading-bot-quick-card .quick-bot-card__activate.is-enhanced:hover svg {
  transform: translateX(2px);
}

.bots-view .trading-bot-quick-card.is-highlighted {
  border-color: #514765;
  box-shadow: 0 0 0 2px rgba(119, 51, 255, 0.12), 0 14px 32px rgba(0, 0, 0, 0.4);
}

.bots-view .trading-bot-quick-card .quick-bot-card__launch:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

@media (max-width: 1380px) {
  .bots-view .bots-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .bots-view .bots-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bots-view .trading-bot-quick-card .quick-bot-card__activate.is-enhanced svg { transition: none; }
  .bots-view .trading-bot-quick-card .quick-bot-card__activate.is-enhanced:hover svg { transform: none; }
}

/* Overview recommendations: compact bot launch cards based on the supplied staking reference. */
.quick-bots-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 1.25vw, 24px);
}

.quick-bot-card {
  position: relative;
  min-width: 0;
  height: 336px;
  overflow: hidden;
  padding: 18px 18px 0;
  border: 1px solid #1b1c26;
  border-radius: 16px;
  background: linear-gradient(154deg, #0b0c14 0%, #0a0b12 56%, #090a11 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.018),
    0 10px 24px rgba(0, 0, 0, 0.35);
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.quick-bot-card::before {
  position: absolute;
  z-index: 2;
  top: -32px;
  left: -16px;
  width: 128px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.035) 38%, transparent 72%);
  filter: blur(5px);
  content: "";
  pointer-events: none;
}

.quick-bot-card::after {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.26'/%3E%3C/svg%3E");
  background-size: 120px 120px;
  content: "";
  mix-blend-mode: screen;
  opacity: 0.025;
  pointer-events: none;
}

.quick-bot-card:hover {
  border-color: #292a34;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.025),
    0 14px 30px rgba(0, 0, 0, 0.38);
  transform: translateY(-2px);
}

.quick-bot-card__header,
.quick-bot-card__identity,
.quick-bot-card__identity > span:last-child {
  display: flex;
}

.quick-bot-card__header {
  position: relative;
  z-index: 4;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.quick-bot-card__identity {
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.quick-bot-card__identity > span:last-child {
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.quick-bot-card__asset {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
}

.quick-bot-card__asset > .quick-bot-card__coin-logo {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #0a0b12;
  object-fit: contain;
}

.quick-bot-card__pair-logo {
  position: absolute;
  right: -4px;
  bottom: -4px;
  display: grid;
  width: 17px;
  height: 17px;
  overflow: hidden;
  place-items: center;
  border: 2px solid #0a0b12;
  border-radius: 50%;
  background: #0a0b12;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.42);
}

.quick-bot-card__pair-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.quick-bot-card__identity small {
  overflow: hidden;
  color: #96969e;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quick-bot-card__identity strong {
  overflow: hidden;
  color: #f0f0f3;
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quick-bot-card__launch {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(171, 162, 191, 0.42);
  border-radius: 50%;
  color: #d5d5db;
  background: rgba(7, 7, 12, 0.66);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease, transform 180ms ease;
}

.quick-bot-card__launch svg,
.starter-heading-actions button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.quick-bot-card__launch:hover {
  border-color: rgba(189, 157, 255, 0.74);
  color: #fff;
  background: rgba(119, 51, 255, 0.18);
  transform: translateY(-1px);
}

.quick-bot-card__launch:active { transform: translateY(1px) scale(0.98); }

.quick-bot-card__launch:focus-visible {
  outline: 2px solid #9f76ff;
  outline-offset: 3px;
}

.quick-bot-card__metrics {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  margin-top: 25px;
  flex-direction: column;
}

.quick-bot-card__metrics > span {
  color: #96969e;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.quick-bot-card__metrics > strong {
  display: block;
  margin-top: 5px;
  color: #f7f7f9;
  background: linear-gradient(180deg, #fff 0%, #f8f8fa 42%, #bcbcc3 100%);
  background-clip: text;
  font-family: "DM Sans", sans-serif;
  font-size: clamp(31px, 2vw, 36px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}

.quick-bot-card__metrics > b {
  display: block;
  margin-top: 7px;
  color: #55df96;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 0 12px rgba(85, 223, 150, 0.22);
  font-variant-numeric: tabular-nums;
}

.quick-bot-chart {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 164px;
  overflow: visible;
  pointer-events: none;
}

.quick-bot-chart__orbit {
  fill: none;
  stroke: #282a34;
  opacity: 0.7;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.quick-bot-chart__baseline {
  fill: none;
  stroke: rgba(132, 132, 145, 0.44);
  stroke-dasharray: 3 3;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.quick-bot-chart__area { opacity: 0.88; }

.quick-bot-chart__line {
  fill: none;
  stroke: #9f7bff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  vector-effect: non-scaling-stroke;
}

.quick-bot-chart__segment-glow {
  fill: none;
  opacity: 0.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5.5;
  vector-effect: non-scaling-stroke;
}

.quick-bot-chart__node-glow {
  fill: rgba(153, 139, 239, 0.16);
}

.quick-bot-chart__node-gap,
.quick-bot-chart__node-ring {
  fill: #0a0b12;
}

.quick-bot-chart__node-ring {
  stroke: #998bef;
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}

.quick-bot-chart__node-core {
  fill: #fff;
}

.quick-bot-chart__node--red .quick-bot-chart__node-glow { fill: rgba(217, 90, 98, 0.16); }
.quick-bot-chart__node--red .quick-bot-chart__node-ring { stroke: #d96870; }
.quick-bot-chart__node--green .quick-bot-chart__node-glow { fill: rgba(72, 220, 145, 0.18); }
.quick-bot-chart__node--green .quick-bot-chart__node-ring { stroke: #48dc91; }

.quick-bot-chart__segment-glow--threshold { opacity: 0.2; }

/* Example First: use the same restrained CTA treatment across all four cards. */
.bots-view [data-bot-example-group="0"] .trading-bot-quick-card--eth .quick-bot-card__activate.is-enhanced,
.bots-view [data-bot-example-group="0"] .trading-bot-quick-card--bnb .quick-bot-card__activate.is-enhanced,
.bots-view [data-bot-example-group="0"] .trading-bot-quick-card--trx .quick-bot-card__activate.is-enhanced,
.bots-view [data-bot-example-group="0"] .trading-bot-quick-card--xrp .quick-bot-card__activate.is-enhanced {
  border-color: rgba(216, 205, 255, 0.22);
  background:
    radial-gradient(circle at 16% -45%, rgba(255, 255, 255, 0.3), transparent 52%),
    linear-gradient(135deg, #b7aad8 0%, #9983c8 48%, #805eb8 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -1px 0 rgba(105, 56, 194, 0.12),
    0 6px 14px rgba(62, 40, 103, 0.12);
}

.bots-view [data-bot-example-group="0"] .trading-bot-quick-card--eth .quick-bot-card__activate.is-enhanced:hover,
.bots-view [data-bot-example-group="0"] .trading-bot-quick-card--bnb .quick-bot-card__activate.is-enhanced:hover,
.bots-view [data-bot-example-group="0"] .trading-bot-quick-card--trx .quick-bot-card__activate.is-enhanced:hover,
.bots-view [data-bot-example-group="0"] .trading-bot-quick-card--xrp .quick-bot-card__activate.is-enhanced:hover {
  border-color: rgba(255, 255, 255, 0.48);
  background:
    radial-gradient(circle at 16% -45%, rgba(255, 255, 255, 0.44), transparent 52%),
    linear-gradient(135deg, #c9bce9 0%, #ad96dc 48%, #906acb 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.54),
    inset 0 -1px 0 rgba(105, 56, 194, 0.16),
    0 8px 18px rgba(86, 54, 146, 0.2);
}

/* Align the PnL stack across all four cards without moving the chart labels. */
.bots-view [data-bot-example-group="0"] .trading-bot-quick-card--eth .quick-bot-card__metrics,
.bots-view [data-bot-example-group="0"] .trading-bot-quick-card--bnb .quick-bot-card__metrics,
.bots-view [data-bot-example-group="0"] .trading-bot-quick-card--trx .quick-bot-card__metrics,
.bots-view [data-bot-example-group="0"] .trading-bot-quick-card--xrp .quick-bot-card__metrics {
  transform: translateY(8px);
}

/* ETH-only Pro badge: black chrome with one restrained violet edge reflection. */
.bots-view [data-bot-example-group="0"] .trading-bot-quick-card--eth .quick-bot-card__header::after {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  width: 42px;
  min-width: 42px;
  height: 24px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #f5f4f7;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, transparent 42%) padding-box,
    linear-gradient(135deg, #19181e 0%, #09090c 56%, #15121b 100%) padding-box,
    linear-gradient(115deg, #77727e 0%, #aaa3b4 35%, #6b6375 62%, #7d59b5 82%, #403a48 100%) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(0, 0, 0, 0.62),
    0 4px 10px rgba(0, 0, 0, 0.3);
  content: "Pro";
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

/* ETH + BNB final polish only. */
.bots-view [data-bot-example-group="0"] .trading-bot-quick-card--eth,
.bots-view [data-bot-example-group="0"] .trading-bot-quick-card--bnb {
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.bots-view [data-bot-example-group="0"] .trading-bot-quick-card--eth:hover,
.bots-view [data-bot-example-group="0"] .trading-bot-quick-card--bnb:hover {
  border-color: rgba(181, 157, 225, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 17px 38px rgba(0, 0, 0, 0.4),
    0 0 24px rgba(98, 61, 163, 0.045);
  transform: translateY(-1px);
}

.bots-view [data-bot-example-group="0"] .trading-bot-quick-card--eth .quick-bot-card__identity small,
.bots-view [data-bot-example-group="0"] .trading-bot-quick-card--bnb .quick-bot-card__identity small {
  color: #888890;
}

.bots-view [data-bot-example-group="0"] .trading-bot-quick-card--eth .quick-bot-chart,
.bots-view [data-bot-example-group="0"] .trading-bot-quick-card--bnb .quick-bot-chart {
  top: 92px;
  right: 14px;
  width: 56%;
  transition: filter 220ms ease;
}

.bots-view [data-bot-example-group="0"] .trading-bot-quick-card--eth:hover .quick-bot-chart,
.bots-view [data-bot-example-group="0"] .trading-bot-quick-card--bnb:hover .quick-bot-chart {
  filter: brightness(1.07);
}

.bots-view [data-bot-example-group="0"] .trading-bot-quick-card--eth .quick-bot-card__activate.is-enhanced,
.bots-view [data-bot-example-group="0"] .trading-bot-quick-card--bnb .quick-bot-card__activate.is-enhanced {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.48),
    inset 0 -1px 0 rgba(105, 56, 194, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.025),
    0 6px 14px rgba(62, 40, 103, 0.12);
}

.bots-view [data-bot-example-group="0"] .trading-bot-quick-card--eth .quick-bot-card__activate.is-enhanced:hover,
.bots-view [data-bot-example-group="0"] .trading-bot-quick-card--bnb .quick-bot-card__activate.is-enhanced:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.64),
    inset 0 -1px 0 rgba(105, 56, 194, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    0 8px 18px rgba(86, 54, 146, 0.2);
}

@media (prefers-reduced-motion: reduce) {
  .bots-view [data-bot-example-group="0"] .trading-bot-quick-card--eth,
  .bots-view [data-bot-example-group="0"] .trading-bot-quick-card--bnb,
  .bots-view [data-bot-example-group="0"] .trading-bot-quick-card--eth .quick-bot-chart,
  .bots-view [data-bot-example-group="0"] .trading-bot-quick-card--bnb .quick-bot-chart {
    transition: none;
  }

  .bots-view [data-bot-example-group="0"] .trading-bot-quick-card--eth:hover,
  .bots-view [data-bot-example-group="0"] .trading-bot-quick-card--bnb:hover {
    transform: none;
  }
}

/* Reduce only the blurred chart halo on ETH and BNB; keep the linework intact. */
.bots-view [data-bot-example-group="0"] .trading-bot-quick-card--eth .quick-bot-chart__segment-glow--threshold,
.bots-view [data-bot-example-group="0"] .trading-bot-quick-card--bnb .quick-bot-chart__segment-glow--threshold {
  opacity: 0.17;
}

/* Example First.2: a quieter graph-led variation of the approved first row. */
.bots-view [data-bot-example-variant="first-v2"] .quick-bot-card__activate.is-enhanced {
  border-color: rgba(216, 205, 255, 0.22);
  background:
    radial-gradient(circle at 16% -45%, rgba(255, 255, 255, 0.3), transparent 52%),
    linear-gradient(135deg, #b7aad8 0%, #9983c8 48%, #805eb8 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -1px 0 rgba(105, 56, 194, 0.12),
    0 6px 14px rgba(62, 40, 103, 0.12);
}

.bots-view [data-bot-example-variant="first-v2"] .quick-bot-card__activate.is-enhanced:hover {
  border-color: rgba(255, 255, 255, 0.48);
  background:
    radial-gradient(circle at 16% -45%, rgba(255, 255, 255, 0.44), transparent 52%),
    linear-gradient(135deg, #c9bce9 0%, #ad96dc 48%, #906acb 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.54),
    inset 0 -1px 0 rgba(105, 56, 194, 0.16),
    0 8px 18px rgba(86, 54, 146, 0.2);
}

.bots-view [data-bot-example-variant="first-v2"] .quick-bot-card__metrics {
  transform: translateY(14px);
}

.bots-view [data-bot-example-variant="first-v2"] .trading-bot-quick-card--eth .quick-bot-card__header::after {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  width: 42px;
  min-width: 42px;
  height: 24px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #f5f4f7;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, transparent 42%) padding-box,
    linear-gradient(135deg, #19181e 0%, #09090c 56%, #15121b 100%) padding-box,
    linear-gradient(115deg, #77727e 0%, #aaa3b4 35%, #6b6375 62%, #7d59b5 82%, #403a48 100%) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(0, 0, 0, 0.62),
    0 4px 10px rgba(0, 0, 0, 0.3);
  content: "Pro";
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.bots-view [data-bot-example-variant="first-v2"] .trading-bot-quick-card--eth,
.bots-view [data-bot-example-variant="first-v2"] .trading-bot-quick-card--bnb {
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.bots-view [data-bot-example-variant="first-v2"] .trading-bot-quick-card--eth:hover,
.bots-view [data-bot-example-variant="first-v2"] .trading-bot-quick-card--bnb:hover {
  border-color: rgba(181, 157, 225, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 17px 38px rgba(0, 0, 0, 0.4),
    0 0 24px rgba(98, 61, 163, 0.045);
  transform: translateY(-1px);
}

.bots-view [data-bot-example-variant="first-v2"] .trading-bot-quick-card--eth .quick-bot-card__identity small,
.bots-view [data-bot-example-variant="first-v2"] .trading-bot-quick-card--bnb .quick-bot-card__identity small {
  color: #888890;
}

.bots-view [data-bot-example-variant="first-v2"] .quick-bot-chart {
  top: 92px;
  right: 16px;
  width: 51%;
  height: 104px;
  transition: filter 220ms ease;
}

.bots-view [data-bot-example-variant="first-v2"] .trading-bot-quick-card--eth:hover .quick-bot-chart,
.bots-view [data-bot-example-variant="first-v2"] .trading-bot-quick-card--bnb:hover .quick-bot-chart {
  filter: brightness(1.07);
}

.bots-view [data-bot-example-variant="first-v2"] .quick-bot-chart__segment-glow,
.bots-view [data-bot-example-variant="first-v2"] .quick-bot-chart__segment-glow--threshold {
  opacity: 0.075;
}

.bots-view [data-bot-example-variant="first-v2"] .trading-bot-quick-card--eth .quick-bot-card__activate.is-enhanced,
.bots-view [data-bot-example-variant="first-v2"] .trading-bot-quick-card--bnb .quick-bot-card__activate.is-enhanced {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.48),
    inset 0 -1px 0 rgba(105, 56, 194, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.025),
    0 6px 14px rgba(62, 40, 103, 0.12);
}

.bots-view [data-bot-example-variant="first-v2"] .quick-bot-card__stats {
  grid-template-columns: 1.25fr 0.9fr 1fr;
}

.bots-view [data-bot-example-variant="first-v2"] .quick-bot-card__stats > div:nth-child(1) {
  order: 2;
  padding-inline: 6px;
  border-left: 1px solid rgba(202, 202, 214, 0.12);
}

.bots-view [data-bot-example-variant="first-v2"] .quick-bot-card__stats > div:nth-child(2) {
  order: 1;
  padding-right: 6px;
  padding-left: 0;
  border-left: 0;
}

.bots-view [data-bot-example-variant="first-v2"] .quick-bot-card__stats > div:nth-child(3) {
  order: 3;
  padding-right: 0;
  padding-left: 6px;
  border-left: 1px solid rgba(202, 202, 214, 0.12);
}

@media (prefers-reduced-motion: reduce) {
  .bots-view [data-bot-example-variant="first-v2"] .trading-bot-quick-card--eth,
  .bots-view [data-bot-example-variant="first-v2"] .trading-bot-quick-card--bnb,
  .bots-view [data-bot-example-variant="first-v2"] .quick-bot-chart {
    transition: none;
  }

  .bots-view [data-bot-example-variant="first-v2"] .trading-bot-quick-card--eth:hover,
  .bots-view [data-bot-example-variant="first-v2"] .trading-bot-quick-card--bnb:hover {
    transform: none;
  }
}

/* Examples Second–Fourth inherit only the approved chart, PnL, and CTA treatment. */
.bots-view :is(
  [data-bot-example-variant="second"],
  [data-bot-example-variant="third"],
  [data-bot-example-variant="fourth"]
) .quick-bot-card__metrics {
  transform: translateY(14px);
}

.bots-view :is(
  [data-bot-example-variant="second"],
  [data-bot-example-variant="third"],
  [data-bot-example-variant="fourth"]
) .quick-bot-chart {
  top: 92px;
  right: 16px;
  width: 51%;
  height: 104px;
}

.bots-view :is(
  [data-bot-example-variant="second"],
  [data-bot-example-variant="third"],
  [data-bot-example-variant="fourth"]
) .quick-bot-card__activate {
  border-color: rgba(216, 205, 255, 0.22);
  background:
    radial-gradient(circle at 16% -45%, rgba(255, 255, 255, 0.3), transparent 52%),
    linear-gradient(135deg, #b7aad8 0%, #9983c8 48%, #805eb8 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -1px 0 rgba(105, 56, 194, 0.12),
    0 6px 14px rgba(62, 40, 103, 0.12);
}

.bots-view :is(
  [data-bot-example-variant="second"],
  [data-bot-example-variant="third"],
  [data-bot-example-variant="fourth"]
) .quick-bot-card__activate:hover {
  border-color: rgba(255, 255, 255, 0.48);
  background:
    radial-gradient(circle at 16% -45%, rgba(255, 255, 255, 0.44), transparent 52%),
    linear-gradient(135deg, #c9bce9 0%, #ad96dc 48%, #906acb 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.54),
    inset 0 -1px 0 rgba(105, 56, 194, 0.16),
    0 8px 18px rgba(86, 54, 146, 0.2);
}

.quick-bot-chart__label {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  paint-order: stroke;
  stroke: rgba(6, 6, 10, 0.9);
  stroke-width: 3px;
  stroke-linejoin: round;
}

.quick-bot-chart__label--violet { fill: #a69be5; }
.quick-bot-chart__label--red { fill: #e16a70; }
.quick-bot-chart__label--green { fill: #62e3a2; }

@media (max-width: 1380px) {
  .overview-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .quick-bots-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .quick-bot-card:last-child { grid-column: auto; }
}

@media (max-width: 900px) {
  .quick-bots-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .quick-bot-card:last-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .quick-bot-card,
  .quick-bot-card__launch { transition: none; }
  .quick-bot-card:hover,
  .quick-bot-card__launch:hover { transform: none; }
}

/* Sidebar icon system: custom rounded SVGs, aligned with the Activate Pro icon. */
.side-link > .sidebar-icon,
.logout-link > .sidebar-icon {
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7px;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.side-link > .sidebar-icon.sidebar-icon--filled {
  fill: currentColor;
  stroke: none;
}

.side-link > .sidebar-icon.sidebar-icon--filled path {
  fill: currentColor;
  stroke: none;
}

.side-link > .sidebar-icon .sidebar-icon__dot,
.logout-link > .sidebar-icon .sidebar-icon__dot {
  fill: currentColor;
  stroke: none;
}

.side-link.active > .sidebar-icon {
  color: #fff;
  filter: none;
}

.top-actions > .profile {
  grid-template-columns: 42px auto 16px;
  gap: 10px;
  min-width: 195px;
  margin-left: 4px;
  padding: 0 0 0 12px;
  border-left: 1px solid #26212d;
}

.top-actions > .profile .avatar {
  width: 42px;
  height: 42px;
}

.top-actions > .profile strong {
  color: #f1edf4;
  font-size: 14px;
  font-weight: 700;
}

.top-actions > .profile small {
  margin-top: 3px;
  color: #94909a;
  font-size: 11px;
  font-weight: 600;
}

.starter-title-row {
  display: flex;
  min-height: 0;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
}

.starter-heading-copy h1 {
  margin: 0;
  color: #f7f4fb;
  font-family: "DM Sans", sans-serif;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.starter-subtitle {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 0;
  color: #a6a6a6;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.starter-heading-actions {
  display: grid;
  flex: 0 0 auto;
  align-self: flex-end;
  gap: 10px;
  justify-items: end;
}

.starter-heading-actions button {
  display: inline-flex;
  height: 36px;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  border: 1px solid rgba(166, 133, 222, 0.26);
  border-radius: 10px;
  color: #c8c8c8;
  background: linear-gradient(180deg, rgba(29, 21, 41, 0.76), rgba(12, 9, 18, 0.88));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 22px rgba(0, 0, 0, 0.18);
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.starter-heading-actions button:hover {
  border-color: rgba(196, 166, 245, 0.46);
  color: #fff;
}

.starter-heading-actions button:active { transform: translateY(1px); }

.starter-heading-actions button:focus-visible {
  outline: 2px solid #9c73ff;
  outline-offset: 2px;
}

@media (max-width: 1420px) {
  .top-actions > .profile {
    grid-template-columns: 42px;
    min-width: 54px;
    padding-left: 10px;
  }

  .top-actions > .profile > span:nth-child(2),
  .top-actions > .profile .chevron {
    display: none;
  }
}

@media (max-width: 700px) {
  .starter-title-row { min-height: 0; }
  .starter-heading-actions { display: none; }
  .starter-heading-copy h1 { font-size: 34px; }
}

/* Active-account portfolio summary, inspired by the supplied finance dashboard. */
.portfolio-summary {
  margin: 18px 0 0;
}

.portfolio-summary__header,
.portfolio-metric-card__top,
.portfolio-metric-card__label,
.portfolio-metric-card__meta,
.portfolio-change,
.portfolio-availability,
.portfolio-detail-link {
  display: flex;
  align-items: center;
}

.portfolio-summary__header {
  min-height: 38px;
  justify-content: space-between;
  gap: 18px;
  padding: 0 2px 12px;
}

.portfolio-summary__header h2 {
  margin: 0;
  color: #f5f5f7;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.portfolio-summary__header > span {
  display: inline-flex;
  align-items: center;
  color: #909096;
  font-size: 12px;
  font-weight: 600;
}

.portfolio-summary__grid {
  display: grid;
  grid-template-columns: minmax(390px, 0.92fr) minmax(460px, 1.12fr) minmax(260px, 0.56fr);
  grid-template-rows: minmax(156px, auto) minmax(176px, auto);
  align-items: stretch;
  gap: 14px;
}

.portfolio-metric-card {
  position: relative;
  min-width: 0;
  min-height: 168px;
  overflow: hidden;
  padding: 20px 20px 18px;
  border: 1px solid #201b29;
  border-radius: 16px;
  background:
    linear-gradient(155deg, rgba(18, 15, 26, 0.92) 0%, rgba(9, 8, 14, 0.98) 72%),
    radial-gradient(circle at 20% 0%, rgba(119, 51, 255, 0.12), transparent 42%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 18px 48px rgba(3, 2, 8, 0.28);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.portfolio-metric-card--value {
  display: flex;
  min-height: 350px;
  flex-direction: column;
  grid-row: 1 / span 2;
  padding: 22px;
}

.portfolio-metric-card--pnl {
  grid-column: 2;
  grid-row: 1;
  min-height: 156px;
  padding-bottom: 14px;
}

.portfolio-metric-card--allocation {
  grid-column: 2;
  grid-row: 2;
  min-height: 180px;
}

.portfolio-promo-card {
  min-height: 350px;
  grid-column: 3;
  grid-row: 1 / span 2;
  padding: 22px;
  border-color: #2a2237;
  border-radius: 16px;
}

.portfolio-promo-card .staking-brand {
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
}

.portfolio-promo-card .staking-brand b {
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
}

.portfolio-promo-card h2 {
  margin: 28px 0 10px;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.portfolio-promo-card p {
  max-width: 276px;
  color: #9a92a2;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.48;
}

.portfolio-promo-card .staking-actions {
  gap: 9px;
}

.portfolio-promo-card .staking-actions button {
  display: flex;
  height: 43px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
}

.portfolio-metric-card:hover {
  border-color: #352b46;
  background: linear-gradient(155deg, #110e19 0%, #0a080f 72%);
  transform: translateY(-2px);
}

.portfolio-metric-card--value::before {
  position: absolute;
  z-index: 0;
  top: -1px;
  right: -1px;
  width: 56%;
  height: 43%;
  border-radius: 0 16px 0 34px;
  background:
    radial-gradient(ellipse 78% 90% at 82% 8%, rgba(180, 112, 255, 0.52) 0%, rgba(126, 63, 232, 0.28) 32%, rgba(58, 37, 99, 0.16) 57%, transparent 78%),
    linear-gradient(152deg, transparent 0%, rgba(118, 65, 221, 0.08) 28%, rgba(187, 121, 255, 0.22) 58%, rgba(13, 10, 23, 0.04) 100%);
  filter: blur(0.2px);
  content: "";
  mask-image: radial-gradient(ellipse 105% 105% at 100% 0%, #000 0%, #000 42%, transparent 78%);
  opacity: 0.66;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 105% 105% at 100% 0%, #000 0%, #000 42%, transparent 78%);
}

.portfolio-metric-card--value::after {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  width: 56%;
  height: 45%;
  border-radius: 0 16px 0 34px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E"),
    linear-gradient(90deg, transparent, rgba(214, 173, 255, 0.18));
  background-size: 120px 120px, 100% 100%;
  content: "";
  mask-image: radial-gradient(ellipse 105% 105% at 100% 0%, #000 0%, #000 42%, transparent 78%);
  mix-blend-mode: screen;
  opacity: 0.26;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 105% 105% at 100% 0%, #000 0%, #000 42%, transparent 78%);
}

.portfolio-metric-card__top {
  position: relative;
  z-index: 1;
  min-height: 22px;
  justify-content: space-between;
  gap: 12px;
}

.portfolio-metric-card__label {
  min-width: 0;
  gap: 9px;
  color: #e5e2ec;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.portfolio-metric-card--value .portfolio-metric-card__label {
  font-size: clamp(22px, 1.25vw, 24px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.portfolio-metric-card__icon {
  display: block;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  color: #a777ff;
  filter: drop-shadow(0 0 10px rgba(167, 119, 255, 0.36));
  overflow: visible;
}

.portfolio-metric-card--value .portfolio-metric-card__icon { color: #d7c4ff; }
.portfolio-metric-card--pnl .portfolio-metric-card__icon { color: #a777ff; }
.portfolio-metric-card--allocation .portfolio-metric-card__icon { color: #9b6cff; }

.portfolio-value-card__body {
  position: relative;
  z-index: 1;
  display: grid;
  flex: 1;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 28px;
  margin-top: 26px;
}

.portfolio-value-card__primary {
  display: grid;
  min-width: 0;
  align-self: center;
  grid-template-columns: max-content minmax(130px, 1fr);
  align-items: center;
  gap: 14px;
  transform: translateY(46px);
}

.portfolio-value-card__balance,
.portfolio-value-card__profit {
  min-width: 0;
}

.portfolio-value-card__profit {
  display: flex;
  min-height: 76px;
  flex-direction: column;
  justify-content: center;
  padding-left: 18px;
  border-left: 1px solid rgba(190, 190, 198, 0.16);
}

.portfolio-value-card__profit > strong {
  display: block;
  overflow: hidden;
  margin-top: 10px;
  color: #3ee0aa;
  background: none;
  font-size: clamp(24px, 1.55vw, 30px);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
  -webkit-text-fill-color: currentColor;
  font-variant-numeric: tabular-nums;
}

.portfolio-value-card__eyebrow {
  display: block;
  color: #89868f;
  font-size: 13px;
  font-weight: 700;
}

.portfolio-metric-card__value {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 10px;
  color: #f7f7f9;
  background: linear-gradient(180deg, #fff 0%, #f8f8fa 42%, #bcbcc3 100%);
  background-clip: text;
  font-size: clamp(32px, 2.5vw, 46px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}

.portfolio-metric-card__meta {
  position: relative;
  z-index: 1;
  gap: 8px;
  margin-top: 14px;
  color: #8f8f96;
  font-size: 13px;
  font-weight: 600;
}

.portfolio-value-card__breakdown {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
}

.portfolio-value-card__breakdown > div {
  display: flex;
  min-width: 0;
  min-height: 60px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 0 15px;
  text-align: center;
}

.portfolio-value-card__breakdown > div:first-child {
  padding-left: 0;
}

.portfolio-value-card__breakdown > div:last-child {
  padding-right: 0;
}

.portfolio-value-card__breakdown > div + div {
  border-left: 1px solid rgba(190, 190, 198, 0.18);
}

.portfolio-value-card__breakdown dt {
  overflow: hidden;
  color: #92909a;
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portfolio-value-card__breakdown dd {
  overflow: hidden;
  margin: 7px 0 0;
  color: #f0eef5;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.portfolio-change,
.portfolio-availability {
  width: fit-content;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
}

.portfolio-change.is-positive {
  color: #3ee0aa;
}

.portfolio-availability {
  color: #b8b8c0;
}

.portfolio-detail-link {
  flex: 0 0 auto;
  gap: 6px;
  min-height: 20px;
  padding: 0;
  border: 0;
  color: #85818d;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: color 160ms ease, transform 160ms ease;
}

.portfolio-detail-link span {
  font-size: 13px;
  line-height: 1;
}

.portfolio-detail-link:hover {
  color: #d2d2d8;
  transform: translateX(2px);
}

.portfolio-pnl {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: end;
  gap: 12px;
  margin-top: 16px;
}

.portfolio-pnl__value {
  align-self: end;
  width: 76px;
  padding-bottom: 6px;
}

.portfolio-pnl__value > strong {
  display: block;
  margin-top: 9px;
  color: #f7f7f9;
  background: linear-gradient(180deg, #fff 0%, #f7f7f9 44%, #b8b8c0 100%);
  background-clip: text;
  font-size: clamp(32px, 2.1vw, 40px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}

.portfolio-pnl__value > strong small {
  margin-left: 3px;
  color: #aaaab1;
  font-size: 0.48em;
  font-weight: 500;
  letter-spacing: -0.02em;
  -webkit-text-fill-color: #aaaab1;
}

.portfolio-pnl__chart {
  display: block;
  width: calc(100% + 26px);
  height: 92px;
  margin-left: 0;
  margin-right: -26px;
  overflow: visible;
}

.portfolio-pnl__grid {
  fill: none;
  stroke: rgba(172, 172, 182, 0.17);
  stroke-width: 1;
}

.portfolio-pnl__area {
  fill: none;
  stroke: none;
}

.portfolio-pnl__line {
  fill: none;
  stroke: #a777ff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
  vector-effect: non-scaling-stroke;
}

.portfolio-pnl__points circle {
  fill: #c9a9ff;
  stroke: #2a164d;
  stroke-width: 1.5;
}

.portfolio-allocation-bar {
  display: grid;
  height: 12px;
  grid-template-columns: 39.6fr 21.9fr 38.5fr;
  gap: 4px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 999px;
}

.portfolio-allocation-bar span { min-width: 0; }
.portfolio-allocation-bar .is-core { background: linear-gradient(90deg, #5c24cf, #7733ff); }
.portfolio-allocation-bar .is-pro { background: linear-gradient(90deg, #9d6cff, #c59cff); }
.portfolio-allocation-bar .is-available { background: linear-gradient(90deg, #30293a, #211d28); }

.portfolio-allocation-legend {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 16px 0 0;
}

.portfolio-allocation-legend > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.portfolio-allocation-legend dt {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  color: #8f8f96;
  font-size: 13px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portfolio-allocation-legend dt i {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
}

.portfolio-allocation-legend dt .is-core { background: #7733ff; }
.portfolio-allocation-legend dt .is-pro { background: #bd92ff; }
.portfolio-allocation-legend dt .is-available { background: #5d5667; }

.portfolio-allocation-legend dd {
  overflow: hidden;
  margin: 0;
  color: #e7e7ea;
  background: linear-gradient(180deg, #fff 0%, #f3f3f6 48%, #b9b9c0 100%);
  background-clip: text;
  font-size: 14px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}

body[data-account-state="active"] .portfolio-summary {
  animation: portfolio-summary-in 420ms cubic-bezier(.2, .8, .2, 1) both;
}

@keyframes portfolio-summary-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1500px) {
  .portfolio-summary__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto;
  }

  .portfolio-metric-card--value {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .portfolio-metric-card--pnl,
  .portfolio-metric-card--allocation,
  .portfolio-promo-card {
    grid-column: auto;
    grid-row: auto;
  }

  .portfolio-promo-card {
    min-height: 320px;
  }
}

@media (max-width: 760px) {
  .portfolio-summary__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

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

  .portfolio-metric-card--value,
  .portfolio-metric-card--pnl,
  .portfolio-metric-card--allocation,
  .portfolio-promo-card {
    grid-column: auto;
    grid-row: auto;
  }

  .portfolio-value-card__body {
    gap: 24px;
  }

  .portfolio-value-card__primary {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 18px;
    transform: none;
  }

  .portfolio-value-card__profit {
    min-height: 0;
    padding-top: 18px;
    padding-left: 0;
    border-top: 1px solid rgba(190, 190, 198, 0.1);
    border-left: 0;
  }

  .portfolio-value-card__breakdown {
    grid-template-columns: 1fr;
  }

  .portfolio-value-card__breakdown > div {
    padding: 12px 0;
  }

  .portfolio-value-card__breakdown > div + div {
    border-top: 1px solid rgba(190, 190, 198, 0.1);
    border-left: 0;
  }

  .portfolio-pnl {
    grid-template-columns: minmax(90px, 0.75fr) minmax(150px, 1.25fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-summary { animation: none !important; }
  .portfolio-metric-card,
  .portfolio-detail-link { transition: none; }
  .portfolio-metric-card:hover,
  .portfolio-detail-link:hover { transform: none; }
}

[data-my-bots-actions][hidden],
[data-my-bots-table][hidden],
[data-my-bots-new-state][hidden] {
  display: none !important;
}

.my-bots-new-state {
  position: relative;
  display: flex;
  min-height: 330px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  padding: 22px;
  border-top: 1px solid #211c2b;
  background: radial-gradient(circle at 50% 48%, rgba(119, 51, 255, 0.07), transparent 31%);
  isolation: isolate;
  text-align: center;
}

.my-bots-new-state::before {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -2;
  width: 190px;
  height: 190px;
  background: url("/assets/logo-crypton-purple.png") center / contain no-repeat;
  content: "";
  filter: blur(4px) saturate(0.9) drop-shadow(0 0 18px rgba(119, 51, 255, 0.24));
  opacity: 0.38;
  transform: translate(-50%, -50%) scale(1.06);
}

.my-bots-new-state::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 50%, rgba(8, 7, 14, 0.05) 0 28%, rgba(8, 7, 14, 0.28) 52%, rgba(8, 7, 14, 0.72) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.012), rgba(119, 51, 255, 0.018));
  backdrop-filter: blur(1.25px);
  -webkit-backdrop-filter: blur(1.25px);
  content: "";
}

.my-bots-new-state h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #f2edf6;
  font-family: "DM Sans", sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.my-bots-new-state__button {
  position: relative;
  z-index: 1;
  min-width: 190px;
  min-height: 42px;
  justify-content: center;
}

[data-onboarding-panel][hidden],
[data-owned-bots-panel][hidden] {
  display: none !important;
}

.account-state-toggle {
  position: relative;
  z-index: 2;
  top: auto;
  right: auto;
  display: flex;
  width: 40px;
  height: 22px;
  min-height: 22px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  color: #c9c9cf;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  transition: transform 180ms ease;
}

.account-state-toggle strong {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.account-state-toggle__track {
  position: relative;
  width: 40px;
  height: 22px;
  flex: 0 0 40px;
  border: 1px solid #393142;
  border-radius: 999px;
  background: #18141e;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.account-state-toggle__track > span {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #8c8492;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.38);
  transition: transform 180ms ease, background-color 180ms ease;
}

.account-state-toggle[aria-checked="true"] {
  color: #fff;
  background: transparent;
}

.account-state-toggle[aria-checked="true"] .account-state-toggle__track {
  border-color: #7957b8;
  background: rgba(119, 51, 255, 0.34);
}

.account-state-toggle[aria-checked="true"] .account-state-toggle__track > span {
  transform: translateX(18px);
  background: #c4afff;
}

.account-state-toggle:hover {
  transform: translateY(-1px);
}

.account-state-toggle:active { transform: translateY(1px); }

.account-state-toggle:focus-visible {
  outline: 2px solid #9c73ff;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .account-state-toggle,
  .account-state-toggle__track,
  .account-state-toggle__track > span {
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .super-card,
  .super-card::before,
  .deposit-button,
  .bots-pro-button,
  .task-action,
  .browse-bots,
  .trading-bot-card__activate,
  .modal-primary { transition: none; }
}

/* Trading bots */
.dashboard-view[hidden] {
  display: none !important;
}

.deposit-view,
.withdrawal-view,
.affiliate-view,
.my-bots-view {
  width: 100%;
  margin: 0 auto;
}

.deposit-view,
.withdrawal-view {
  max-width: 1372px;
}

.affiliate-view,
.my-bots-view {
  max-width: 1440px;
}

.deposit-page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.deposit-page-header h1 {
  margin: 0;
  color: #f5f5f7;
  font-family: "DM Sans", sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.deposit-page-header p {
  max-width: 520px;
  margin: 8px 0 0;
  color: #a0a0a7;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.deposit-page-primary,
.deposit-page-submit {
  display: inline-flex;
  height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(205, 183, 255, 0.38);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(110deg, #5b24d3 0%, #7733ff 46%, #a467ff 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), inset 0 -1px 0 rgba(46, 12, 104, 0.42), 0 9px 24px rgba(82, 31, 178, 0.24);
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.deposit-page-primary {
  flex: 0 0 auto;
  padding: 0 20px;
}

.deposit-page-submit {
  width: 100%;
  margin-top: auto;
}

.deposit-page-submit:disabled,
.deposit-page-submit:disabled:hover,
.deposit-page-submit:disabled:active {
  border-color: #2f2f36;
  color: #777780;
  background: linear-gradient(180deg, #17171d, #111116);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  cursor: not-allowed;
  transform: none;
}

.deposit-page-primary:hover,
.deposit-page-submit:hover {
  border-color: rgba(225, 213, 255, 0.64);
  background: linear-gradient(110deg, #682be6 0%, #843fff 48%, #b177ff 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34), 0 12px 30px rgba(91, 38, 188, 0.34);
  transform: translateY(-2px);
}

.deposit-page-primary:active,
.deposit-page-submit:active {
  transform: translateY(1px) scale(0.985);
}

.deposit-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.74fr);
  gap: 18px;
  align-items: stretch;
}

.deposit-card {
  position: relative;
  display: flex;
  min-height: 390px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid #211c2b;
  border-radius: 16px;
  background:
    radial-gradient(circle at 12% 0%, rgba(119, 51, 255, 0.08), transparent 30%),
    linear-gradient(160deg, #0c0a14, #08070e);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.deposit-card-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.deposit-card-title > span,
.deposit-method-list span {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border: 1px solid #302844;
  border-radius: 12px;
  color: #c8b8ff;
  background: linear-gradient(180deg, rgba(42, 31, 61, 0.88), rgba(15, 11, 24, 0.92));
  font-size: 22px;
}

.deposit-card h2 {
  margin: 0;
  color: #f2eef6;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.deposit-card p,
.deposit-method-list small {
  color: #98919f;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.deposit-card p {
  margin: 6px 0 0;
}

.deposit-card label {
  margin-bottom: 9px;
  color: #c5bdcb;
  font-size: 13px;
  font-weight: 700;
}

.deposit-amount-field {
  display: grid;
  grid-template-columns: 28px 1fr;
  height: 56px;
  align-items: center;
  padding: 0 16px;
  border: 1px solid #332b41;
  border-radius: 14px;
  background: rgba(8, 7, 13, 0.74);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.deposit-amount-field:focus-within {
  border-color: rgba(167, 127, 255, 0.72);
  box-shadow: 0 0 0 3px rgba(119, 51, 255, 0.14);
}

.deposit-amount-field span {
  color: #a9a1b0;
  font-size: 15px;
  font-weight: 700;
}

.deposit-amount-field input {
  min-width: 0;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  font-family: "DM Sans", sans-serif;
  font-size: 20px;
  font-weight: 700;
}

.deposit-amount-field input::placeholder {
  color: #686170;
}

.deposit-quick-amounts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin: 14px 0 28px;
}

.deposit-quick-amounts button,
.deposit-method-list button {
  border: 1px solid #2b2436;
  color: #d2cbd8;
  background: rgba(12, 10, 18, 0.72);
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease, transform 160ms ease;
}

.deposit-quick-amounts button {
  height: 38px;
  border-radius: 10px;
  font-size: 13px;
}

.deposit-quick-amounts button:hover,
.deposit-method-list button:hover {
  border-color: #4b3c65;
  color: #fff;
  background: rgba(22, 17, 30, 0.9);
  transform: translateY(-1px);
}

.deposit-card--methods h2 {
  margin-bottom: 18px;
}

.deposit-method-list {
  display: grid;
  gap: 12px;
}

.deposit-method-list button {
  display: grid;
  grid-template-columns: 44px 1fr;
  min-height: 82px;
  align-items: center;
  gap: 13px;
  padding: 13px;
  border-radius: 13px;
  text-align: left;
}

.deposit-method-list strong,
.deposit-method-list small {
  grid-column: 2;
}

.deposit-method-list strong {
  align-self: end;
  color: #f0ebf5;
  font-size: 14px;
  font-weight: 700;
}

.deposit-method-list small {
  align-self: start;
  margin-top: 4px;
}

/* Deposit page: crypto/fiat funding flow */
.deposit-view .deposit-page-header p {
  color: #a6a6ae;
}

.deposit-flow {
  display: grid;
  grid-template-columns: minmax(0, 880px) minmax(340px, 460px);
  gap: 32px;
  align-items: stretch;
  justify-content: center;
}

.deposit-compose-card,
.deposit-preview-card,
.deposit-steps-card,
.deposit-note-card {
  border: 1px solid #24242a;
  border-radius: 16px;
  background:
    radial-gradient(circle at 14% 0%, rgba(119, 51, 255, 0.075), transparent 34%),
    linear-gradient(160deg, #0c0c12, #08080d);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.deposit-compose-card {
  position: relative;
  display: flex;
  min-height: 590px;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  padding: 22px;
}

.deposit-compose-card::before {
  position: absolute;
  z-index: 0;
  top: -1px;
  right: -1px;
  width: 48%;
  height: 28%;
  border-radius: 0 16px 0 42px;
  background:
    radial-gradient(ellipse 78% 90% at 82% 8%, rgba(180, 112, 255, 0.52) 0%, rgba(126, 63, 232, 0.28) 32%, rgba(58, 37, 99, 0.16) 57%, transparent 78%),
    linear-gradient(152deg, transparent 0%, rgba(118, 65, 221, 0.08) 28%, rgba(187, 121, 255, 0.22) 58%, rgba(13, 10, 23, 0.04) 100%);
  content: "";
  filter: blur(0.2px);
  mask-image: radial-gradient(ellipse 105% 105% at 100% 0%, #000 0%, #000 42%, transparent 78%);
  opacity: 0.92;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 105% 105% at 100% 0%, #000 0%, #000 42%, transparent 78%);
}

.deposit-compose-card::after {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  width: 48%;
  height: 30%;
  border-radius: 0 16px 0 42px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E"),
    linear-gradient(90deg, transparent, rgba(214, 173, 255, 0.18));
  background-size: 120px 120px, 100% 100%;
  content: "";
  mask-image: radial-gradient(ellipse 105% 105% at 100% 0%, #000 0%, #000 42%, transparent 78%);
  mix-blend-mode: screen;
  opacity: 0.42;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 105% 105% at 100% 0%, #000 0%, #000 42%, transparent 78%);
}

.deposit-compose-card > * {
  position: relative;
  z-index: 1;
}

.deposit-compose-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 17px;
}

.deposit-compose-card h2,
.deposit-steps-card h2 {
  margin: 0;
  color: #f4f4f6;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.deposit-compose-card p,
.deposit-steps-card p,
.deposit-note-card p {
  margin: 6px 0 0;
  color: #a6a6ae;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.48;
}

.deposit-method-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.deposit-method-toggle button,
.deposit-token-grid button,
.deposit-network-grid button,
.deposit-fiat-grid button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #2f2f35;
  color: #c9c9cf;
  background: rgba(13, 13, 18, 0.82);
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.deposit-card-assist {
  position: relative;
  display: none;
  min-height: 0;
  flex: 1;
  place-items: center;
  padding: 12px 36px 28px;
}

.deposit-flow[data-deposit-mode="fiat"] .deposit-card-assist {
  display: grid;
  animation: deposit-card-assist-enter 220ms ease-out both;
}

.deposit-flow[data-deposit-mode="fiat"] .deposit-form-grid,
.deposit-flow[data-deposit-mode="fiat"] .deposit-page-submit {
  display: none;
}

.deposit-card-assist__content {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 600px);
  gap: 20px;
}

.deposit-card-assist__heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.deposit-card-assist__heading > img {
  display: block;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  object-fit: contain;
}

.deposit-card-assist__heading > div {
  display: grid;
  gap: 4px;
}

.deposit-card-assist__heading h3 {
  margin: 0;
  color: #f1f1f3;
  font-family: "DM Sans", sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.deposit-card-assist__heading span {
  color: #96969e;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.deposit-card-assist__content > p {
  max-width: 570px;
  margin: 0;
  color: #9e9ea6;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
}

.deposit-card-assist__action {
  display: inline-flex;
  width: fit-content;
  height: 40px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  justify-self: start;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 9px;
  color: #18131f;
  background:
    radial-gradient(circle at 16% -45%, rgba(255, 255, 255, 0.58), transparent 52%),
    linear-gradient(135deg, #e6deff 0%, #cebdff 48%, #af86fb 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    inset 0 -1px 0 rgba(105, 56, 194, 0.16),
    0 8px 20px rgba(111, 65, 196, 0.25);
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, filter 180ms ease, transform 180ms ease;
}

.deposit-card-assist__action:hover {
  border-color: rgba(255, 255, 255, 0.64);
  background:
    radial-gradient(circle at 18% -35%, rgba(255, 255, 255, 0.68), transparent 54%),
    linear-gradient(135deg, #eee9ff 0%, #d7c8ff 48%, #b892ff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    inset 0 -1px 0 rgba(105, 56, 194, 0.14),
    0 10px 24px rgba(111, 65, 196, 0.31);
  filter: brightness(1.045);
  transform: translateY(-1px);
}

.deposit-card-assist__action:active {
  transform: translateY(1px) scale(0.985);
}

.deposit-card-assist__action svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.deposit-card-assist__action:focus-visible {
  outline: 2px solid #9f76ff;
  outline-offset: 3px;
}

@keyframes deposit-card-assist-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .deposit-flow[data-deposit-mode="fiat"] .deposit-card-assist {
    animation: none;
  }
}

.deposit-method-toggle button {
  display: grid;
  min-height: 84px;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  align-items: center;
  column-gap: 8px;
  row-gap: 2px;
  padding: 12px;
  border-radius: 12px;
  text-align: left;
}

.deposit-method-toggle button:hover,
.deposit-token-grid button:hover,
.deposit-network-grid button:hover,
.deposit-fiat-grid button:hover {
  border-color: #55555d;
  color: #f2f2f4;
  background: rgba(20, 20, 26, 0.94);
  transform: translateY(-1px);
}

.deposit-method-toggle button.active,
.deposit-token-grid button.active,
.deposit-network-grid button.active,
.deposit-fiat-grid button.active {
  border-color: #303038;
  border-bottom-color: #8e4bff;
  color: #fff;
  background: linear-gradient(180deg, #101016 0%, #0a0a0f 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.025),
    inset 0 -1px 0 rgba(156, 96, 255, 0.92);
}

.deposit-method-toggle button.active::before,
.deposit-token-grid button.active::before,
.deposit-network-grid button.active::before,
.deposit-fiat-grid button.active::before {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, #7733ff 0%, #a46fff 50%, #7733ff 100%);
  content: "";
  pointer-events: none;
}

.deposit-method-toggle button > *,
.deposit-token-grid button > *,
.deposit-fiat-grid button > * {
  position: relative;
  z-index: 1;
}

.deposit-method-toggle strong {
  position: relative;
  z-index: 1;
  display: block;
  min-width: 0;
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  color: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.1;
}

.deposit-method-toggle small {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  margin-top: 0;
  color: #96969e;
  font-size: 13px;
  font-weight: 600;
}

.deposit-method-toggle__icons,
.deposit-fiat-icons {
  position: relative;
  z-index: 1;
  display: flex;
  grid-column: 1;
  grid-row: 1 / span 2;
  align-items: center;
  justify-self: start;
}

.deposit-method-toggle__icons img {
  width: 28px;
  height: 28px;
  border: 2px solid #0c0c12;
  border-radius: 50%;
  background: #141419;
  object-fit: contain;
}

.deposit-method-toggle__icons img + img {
  margin-left: -8px;
}

.deposit-fiat-icons {
  gap: 5px;
}

.payment-logo-exodus {
  display: block;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  object-fit: contain;
  filter: drop-shadow(0 0 7px rgba(103, 103, 255, 0.18));
}

.payment-logo-shell {
  display: inline-grid;
  place-items: center;
  overflow: hidden;
}

.payment-logo-shell--exodus {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border: 1px solid #313844;
  border-radius: 9px;
  background: linear-gradient(145deg, #101725, #1a2130);
}

.payment-logo-shell--exodus img {
  width: 23px;
  height: 23px;
  object-fit: contain;
}

.payment-logo-shell--pay {
  width: 41px;
  height: 22px;
  padding: 3px 4px;
  border: 1px solid #d8d8dc;
  border-radius: 4px;
  background: #f4f4f6;
}

.payment-logo-shell--pay img {
  display: block;
  width: 100%;
  height: 14px;
  max-height: 14px;
  object-fit: contain;
}

.payment-logo-shell--apple img {
  transform: scale(1.08);
  transform-origin: center;
}

.exodus-mark {
  display: inline-grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border: 1px solid #313844;
  border-radius: 9px;
  background: linear-gradient(145deg, #101725, #1a2130);
}

.exodus-mark svg {
  width: 23px;
  height: 23px;
  fill: #6e8fff;
  filter: drop-shadow(0 0 7px rgba(110, 143, 255, 0.42));
}

.pay-badge {
  display: inline-flex;
  height: 24px;
  min-width: 46px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 7px;
  border: 1px solid #d8d8dc;
  border-radius: 4px;
  color: #17171a;
  background: #f4f4f6;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.pay-badge span {
  color: #4285f4;
  font-weight: 800;
}

.pay-badge b {
  color: #151518;
  font-size: 10px;
  font-weight: 800;
}

.pay-badge svg {
  width: 12px;
  height: 12px;
  fill: #151518;
}

.deposit-form-grid {
  display: grid;
  gap: 18px;
}

.deposit-compose-card label {
  display: block;
  margin: 0 0 9px;
  color: #c9c9cf;
  font-size: 13px;
  font-weight: 700;
}

.deposit-view .deposit-amount-field {
  border-color: #34343b;
  background: rgba(8, 8, 13, 0.82);
}

.deposit-view .deposit-amount-field span {
  color: #a6a6ae;
}

.deposit-amount-field--large input {
  font-size: 22px;
}

.deposit-panel {
  display: grid;
  gap: 14px;
}

.deposit-flow[data-deposit-mode="crypto"] [data-deposit-panel="fiat"],
.deposit-flow[data-deposit-mode="fiat"] [data-deposit-panel="crypto"] {
  display: none;
}

.deposit-token-grid,
.deposit-network-grid,
.deposit-fiat-grid {
  display: grid;
  gap: 9px;
}

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

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

.deposit-network-grid,
.deposit-fiat-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.deposit-token-grid button,
.deposit-network-grid button,
.deposit-fiat-grid button {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 10px;
  border-radius: 11px;
  font-size: 13px;
}

.deposit-provider-logo-shell {
  display: inline-grid;
  width: 48px;
  height: 24px;
  place-items: center;
  padding: 3px 5px;
  border: 1px solid #d8d8dc;
  border-radius: 5px;
  background: #f4f4f6;
}

.deposit-provider-logo {
  display: block;
  object-fit: contain;
}

.deposit-provider-logo--exodus {
  width: 25px;
  height: 25px;
}

.deposit-provider-logo--google,
.deposit-provider-logo--apple {
  width: 100%;
  height: 15px;
  max-height: 15px;
}

.deposit-provider-logo--apple {
  transform: scale(1.08);
  transform-origin: center;
}

.deposit-currency-grid button {
  min-height: 50px;
}

.deposit-token-grid img {
  position: relative;
  z-index: 1;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: contain;
}

.currency-copy {
  display: grid;
  gap: 2px;
  line-height: 1;
}

.currency-copy b {
  color: #f1f1f3;
  font-size: 13px;
  font-weight: 700;
}

.currency-copy small {
  color: #96969e;
  font-size: 12px;
  font-weight: 700;
}

.deposit-other-crypto {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid #2f2f35;
  border-radius: 11px;
  color: #a6a6ae;
  background: rgba(13, 13, 18, 0.64);
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease, transform 160ms ease;
}

.deposit-other-crypto:hover {
  border-color: #55555d;
  color: #f1f1f3;
  background: rgba(20, 20, 26, 0.88);
  transform: translateY(-1px);
}

.deposit-other-crypto__coins {
  display: flex;
  align-items: center;
}

.deposit-other-crypto img {
  width: 22px;
  height: 22px;
  border: 2px solid #0b0b10;
  border-radius: 50%;
  background: #141419;
  object-fit: contain;
}

.deposit-other-crypto img.deposit-other-trx {
  padding: 2px;
  border-color: #0b0b10;
  background: #e52e43;
}

.deposit-other-crypto img + img {
  margin-left: -6px;
}

.deposit-other-count {
  margin-left: 8px;
  color: #c9c9cf;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.deposit-other-crypto b {
  color: #a6a6ae;
  font-size: 13px;
  font-weight: 700;
}

.deposit-other-crypto i {
  color: #96969e;
  font-size: 15px;
}

.deposit-network-grid button {
  flex-direction: column;
  gap: 2px;
}

.deposit-network-grid span {
  color: #96969e;
  font-size: 12px;
  font-weight: 700;
}

.deposit-view .deposit-quick-amounts {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
}

.deposit-view .deposit-quick-amounts button {
  border-color: #303036;
  color: #d7d7dc;
  background: rgba(13, 13, 18, 0.78);
}

.deposit-view .deposit-quick-amounts button:hover {
  border-color: #55555d;
  color: #fff;
  background: rgba(20, 20, 26, 0.94);
}

.deposit-view .deposit-page-submit {
  height: 42px;
  margin-top: 22px;
}

.deposit-support-column {
  display: grid;
  height: 590px;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 14px;
}

.deposit-preview-card {
  overflow: hidden;
  min-height: 300px;
  padding: 18px;
}

.deposit-preview-card--visual {
  position: relative;
  display: grid;
  min-height: 330px;
  place-items: center;
  overflow: visible;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.deposit-preview-card--visual::before {
  position: absolute;
  inset: 12% 13%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(119, 51, 255, 0.13), transparent 68%);
  content: "";
  filter: blur(22px);
  pointer-events: none;
}

.deposit-preview-art {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 390px);
  height: auto;
  max-height: 350px;
  object-fit: contain;
  filter: drop-shadow(0 28px 40px rgba(50, 16, 105, 0.22));
}

.deposit-guide-card,
.deposit-help-card {
  border: 1px solid #24242a;
  background: linear-gradient(160deg, #0c0c12, #08080d);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.deposit-guide-card {
  position: relative;
  min-height: 0;
  overflow: hidden;
  padding: 20px;
  border-radius: 16px;
}

.deposit-guide-card__content {
  position: relative;
  z-index: 2;
}

.deposit-guide-card h2 {
  margin: 0;
  color: #d6d6dc;
  font-family: "DM Sans", sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.deposit-guide-steps {
  position: relative;
  display: grid;
  gap: 5px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.deposit-guide-steps::before {
  position: absolute;
  top: 36px;
  bottom: 36px;
  left: 21px;
  width: 1px;
  background: linear-gradient(180deg, rgba(172, 172, 180, 0.42), rgba(119, 51, 255, 0.22));
  content: "";
}

.deposit-guide-steps li {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 43px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 68px;
}

.deposit-guide-step-icon {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 1px solid #4d4d55;
  border-radius: 50%;
  color: #b7b7bf;
  background: rgba(9, 9, 14, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.deposit-guide-step-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.deposit-guide-steps h3 {
  margin: 0;
  color: #c9c9cf;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.25;
}

.deposit-guide-steps p {
  max-width: 250px;
  margin: 4px 0 0;
  color: #85858d;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.deposit-guide-art {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 245px;
  pointer-events: none;
}

.deposit-guide-art::before {
  position: absolute;
  right: -34px;
  bottom: -58px;
  width: 470px;
  height: 330px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(119, 51, 255, 0.2) 0%, rgba(84, 27, 189, 0.1) 34%, transparent 70%);
  content: "";
  filter: blur(12px);
}

.deposit-guide-art .deposit-preview-art {
  position: absolute;
  right: -30px;
  bottom: -226px;
  width: 470px;
  max-width: none;
  max-height: none;
  filter: drop-shadow(0 24px 34px rgba(50, 16, 105, 0.18));
}

.deposit-help-card {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  align-self: start;
  min-height: 82px;
  padding: 15px 16px;
  border-radius: 14px;
}

.deposit-help-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #b7b7bf;
}

.deposit-help-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.deposit-help-card h3 {
  margin: 0;
  color: #d0d0d6;
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.deposit-help-card p {
  margin: 4px 0 0;
  color: #818189;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.deposit-help-action {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  color: #d7d7dd;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 170ms ease, border-color 170ms ease, transform 170ms ease;
}

.deposit-help-action svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.deposit-help-action:hover {
  color: #f1f1f4;
  background: rgba(119, 51, 255, 0.16);
  transform: translateY(-1px);
}

.deposit-help-action:active {
  transform: translateY(1px) scale(0.985);
}

.deposit-help-action:focus-visible {
  outline: 2px solid #a77fff;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .deposit-help-action { transition: none; }
}

.deposit-orbit {
  position: relative;
  display: grid;
  min-height: 180px;
  place-items: center;
}

.deposit-orbit__ring {
  position: absolute;
  width: 154px;
  height: 154px;
  border: 1px solid rgba(119, 51, 255, 0.42);
  border-radius: 50%;
  box-shadow: inset 0 0 34px rgba(119, 51, 255, 0.08), 0 0 44px rgba(119, 51, 255, 0.14);
}

.deposit-orbit__logo {
  position: relative;
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border: 1px solid #303036;
  border-radius: 22px;
  background: rgba(12, 12, 17, 0.88);
}

.deposit-orbit__logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(119, 51, 255, 0.38));
}

.deposit-orbit__coin,
.deposit-orbit__wallet {
  position: absolute;
  border: 1px solid #303036;
  background: #15151b;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.deposit-orbit__coin {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: contain;
}

.deposit-orbit__coin--btc { top: 20px; left: 62px; }
.deposit-orbit__coin--eth { right: 52px; top: 74px; }
.deposit-orbit__coin--usdt { left: 88px; bottom: 18px; }

.deposit-orbit__wallet {
  display: grid;
  right: 82px;
  bottom: 34px;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, #101725, #1a2130);
}

.deposit-orbit__wallet svg {
  width: 28px;
  height: 28px;
  fill: #6e8fff;
  filter: drop-shadow(0 0 8px rgba(110, 143, 255, 0.42));
}

.deposit-preview-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.deposit-preview-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 12px;
  border: 1px solid #2f2f35;
  border-radius: 12px;
  background: rgba(10, 10, 15, 0.72);
}

.deposit-preview-list dt,
.deposit-preview-list dd {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}

.deposit-preview-list dt {
  color: #96969e;
}

.deposit-preview-list dd {
  color: #f1f1f3;
  text-align: right;
}

.deposit-steps-card,
.deposit-note-card {
  padding: 18px;
}

.deposit-steps-card ol {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.deposit-steps-card li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  align-items: start;
}

.deposit-steps-card li > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(119, 51, 255, 0.48);
  border-radius: 10px;
  color: #fff;
  background: rgba(119, 51, 255, 0.18);
  font-size: 13px;
  font-weight: 700;
}

.deposit-steps-card li p {
  margin: 4px 0 0;
}

.deposit-note-card strong {
  color: #f1f1f3;
  font-size: 14px;
  font-weight: 700;
}

.withdrawal-address-label {
  margin-top: 18px;
}

.withdrawal-address-field {
  display: grid;
  grid-template-columns: 28px 1fr;
  height: 52px;
  align-items: center;
  padding: 0 16px;
  border: 1px solid #332b41;
  border-radius: 14px;
  color: #a9a1b0;
  background: rgba(8, 7, 13, 0.74);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.withdrawal-address-field:focus-within {
  border-color: rgba(167, 127, 255, 0.72);
  box-shadow: 0 0 0 3px rgba(119, 51, 255, 0.14);
}

.withdrawal-address-field i {
  font-size: 18px;
}

.withdrawal-address-field input {
  min-width: 0;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 700;
}

.withdrawal-summary-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.withdrawal-summary-list div {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px;
  border: 1px solid #2b2436;
  border-radius: 13px;
  background: rgba(12, 10, 18, 0.72);
}

.withdrawal-summary-list dt,
.withdrawal-summary-list dd {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.withdrawal-summary-list dt {
  color: #a9a1b0;
}

.withdrawal-summary-list dd {
  color: #f0ebf5;
  text-align: right;
}

.withdrawal-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding: 14px;
  border: 1px solid rgba(166, 133, 222, 0.22);
  border-radius: 13px;
  background: linear-gradient(180deg, rgba(29, 21, 41, 0.62), rgba(12, 9, 18, 0.82));
}

.withdrawal-note i {
  color: #c8b8ff;
  font-size: 22px;
}

.withdrawal-note p {
  margin: 0;
  color: #c9c1d1;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
}

/* Withdrawal page: approved crypto-only reference */
.withdrawal-view .deposit-page-header p {
  color: #a6a6ae;
}

.withdrawal-compose-card {
  min-height: 590px;
  padding: 20px;
}

.withdrawal-compose-card__header {
  margin-bottom: 13px;
}

.withdrawal-form-grid {
  display: grid;
  gap: 16px;
}

.withdrawal-field-group {
  min-width: 0;
}

.withdrawal-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
}

.withdrawal-field-label,
.withdrawal-balance {
  color: #c9c9cf;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.withdrawal-field-group > .withdrawal-field-label {
  display: block;
  margin: 0 0 6px;
}

.withdrawal-amount-label-row {
  margin-bottom: 6px;
}

.withdrawal-amount-label-row .withdrawal-field-label {
  margin: 0;
}

.withdrawal-balance {
  color: #96969e;
  font-size: 12px;
  font-weight: 600;
}

.withdrawal-balance strong {
  color: #b8b8bf;
  font-weight: 700;
}

.withdrawal-asset-grid,
.withdrawal-network-grid {
  display: grid;
  gap: 10px;
}

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

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

.withdrawal-asset-grid button,
.withdrawal-network-grid button {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #303038;
  color: #c9c9cf;
  background: rgba(13, 13, 18, 0.82);
  font-family: "DM Sans", sans-serif;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.withdrawal-asset-grid button {
  min-height: 58px;
  gap: 10px;
  padding: 0 13px;
  border-radius: 10px;
}

.withdrawal-network-grid button {
  min-height: 56px;
  gap: 12px;
  padding: 0 16px;
  border-radius: 10px;
}

.withdrawal-asset-grid button:hover,
.withdrawal-network-grid button:hover {
  border-color: #55555d;
  color: #f2f2f4;
  background: rgba(20, 20, 26, 0.94);
  transform: translateY(-1px);
}

.withdrawal-asset-grid button.active,
.withdrawal-network-grid button.active {
  border-color: #303038;
  border-bottom-color: #8e4bff;
  color: #fff;
  background: linear-gradient(180deg, #101016 0%, #0a0a0f 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.025),
    inset 0 -1px 0 rgba(156, 96, 255, 0.92);
}

.withdrawal-asset-grid button.active::before,
.withdrawal-network-grid button.active::before {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, #7733ff 0%, #a46fff 50%, #7733ff 100%);
  content: "";
  pointer-events: none;
}

.withdrawal-asset-grid img,
.withdrawal-network-grid img {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 50%;
  object-fit: contain;
}

.withdrawal-network-grid img {
  width: 26px;
  height: 26px;
  flex-basis: 26px;
}

.withdrawal-asset-grid button > span,
.withdrawal-network-grid button > span {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 0;
  gap: 3px;
}

.withdrawal-asset-grid b,
.withdrawal-network-grid b {
  overflow: hidden;
  color: #f1f1f3;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-overflow: ellipsis;
}

.withdrawal-asset-grid small,
.withdrawal-network-grid small {
  overflow: hidden;
  color: #96969e;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.withdrawal-address-field--reference {
  height: 46px;
  grid-template-columns: 27px minmax(0, 1fr);
  padding: 0 14px;
  border-color: #303038;
  border-radius: 10px;
  background: rgba(8, 8, 13, 0.82);
}

.withdrawal-address-field--reference svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #a6a6ae;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.withdrawal-address-field--reference input {
  color: #f4f4f6;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
}

.withdrawal-address-field--reference input::placeholder {
  color: #7f7f88;
}

.withdrawal-amount-field {
  display: grid;
  height: 48px;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  padding: 0 14px;
  border: 1px solid #303038;
  border-radius: 10px;
  background: rgba(8, 8, 13, 0.82);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.withdrawal-amount-field:focus-within {
  border-color: rgba(167, 127, 255, 0.72);
  box-shadow: 0 0 0 3px rgba(119, 51, 255, 0.14);
}

.withdrawal-amount-field > span {
  color: #a6a6ae;
  font-size: 14px;
  font-weight: 700;
}

.withdrawal-amount-field input {
  min-width: 0;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  font-family: "DM Sans", sans-serif;
  font-size: 21px;
  font-weight: 700;
}

.withdrawal-amount-field input::placeholder {
  color: #6f6f79;
}

.withdrawal-amount-field button {
  min-height: 30px;
  padding: 0 4px;
  border: 0;
  color: #c9c9cf;
  background: transparent;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.withdrawal-amount-field button:hover {
  color: #fff;
}

.withdrawal-quick-amounts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.withdrawal-quick-amounts button {
  min-height: 32px;
  border: 1px solid #303036;
  border-radius: 9px;
  color: #d7d7dc;
  background: rgba(13, 13, 18, 0.78);
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease, transform 160ms ease;
}

.withdrawal-quick-amounts button:hover {
  border-color: #55555d;
  color: #fff;
  background: rgba(20, 20, 26, 0.94);
  transform: translateY(-1px);
}

.withdrawal-summary {
  display: grid;
  min-height: 116px;
  grid-template-rows: auto 1fr;
  border: 1px solid #303038;
  border-radius: 10px;
  background: #0a0a0f;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.018);
}

.withdrawal-summary__heading {
  padding: 11px 16px 0;
  color: #c9c9cf;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.withdrawal-summary__body {
  display: flex;
  min-width: 0;
  align-items: stretch;
}

.withdrawal-summary__identity {
  display: flex;
  min-width: 220px;
  align-items: center;
  gap: 11px;
  padding: 8px 18px 13px;
}

.withdrawal-summary__coin {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 50%;
  object-fit: contain;
}

.withdrawal-summary__identity > div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.withdrawal-summary__metrics span {
  color: #8f8f98;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
}

.withdrawal-summary__identity strong {
  color: #f1f1f3;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.withdrawal-summary__identity small {
  color: #96969e;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
}

.withdrawal-summary__identity small span {
  color: #b9b9c0;
  font: inherit;
}

.withdrawal-summary__metrics {
  display: grid;
  min-width: 0;
  flex: 1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  margin: 7px 0 12px;
  border-left: 1px solid #303038;
}

.withdrawal-summary__metrics > div {
  display: grid;
  min-width: 0;
  align-content: center;
  gap: 6px;
  padding: 0 18px;
}

.withdrawal-summary__metrics > div + div {
  border-left: 1px solid #292930;
}

.withdrawal-summary__metrics strong {
  color: #d7d7dc;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.withdrawal-summary__receive strong {
  color: #f1f1f4;
}

.withdrawal-page-submit {
  height: 42px;
  margin-top: 16px;
}

.withdrawal-support-column {
  height: 590px;
}

/* Withdrawal page: quiet premium border hierarchy */
.withdrawal-view {
  --withdrawal-border-outer: rgba(255, 255, 255, 0.055);
  --withdrawal-border-control: rgba(255, 255, 255, 0.085);
  --withdrawal-border-divider: rgba(255, 255, 255, 0.055);
  --withdrawal-border-hover: rgba(255, 255, 255, 0.16);
}

.withdrawal-view .withdrawal-compose-card,
.withdrawal-support-column .deposit-guide-card,
.withdrawal-support-column .deposit-help-card {
  border-color: var(--withdrawal-border-outer);
}

.withdrawal-view .withdrawal-asset-grid button,
.withdrawal-view .withdrawal-address-field--reference,
.withdrawal-view .withdrawal-amount-field,
.withdrawal-view .withdrawal-quick-amounts button,
.withdrawal-view .withdrawal-summary {
  border-color: var(--withdrawal-border-control);
}

.withdrawal-view .withdrawal-asset-grid button:hover,
.withdrawal-view .withdrawal-quick-amounts button:hover {
  border-color: var(--withdrawal-border-hover);
}

.withdrawal-view .withdrawal-asset-grid button.active {
  border-color: var(--withdrawal-border-control);
  border-bottom-color: #8e4bff;
}

.withdrawal-view .withdrawal-summary__metrics,
.withdrawal-view .withdrawal-summary__metrics > div + div {
  border-color: var(--withdrawal-border-divider);
}

.withdrawal-view .withdrawal-page-submit:disabled,
.withdrawal-view .withdrawal-page-submit:disabled:hover,
.withdrawal-view .withdrawal-page-submit:disabled:active {
  border-color: var(--withdrawal-border-control);
}

.withdrawal-support-column .deposit-guide-step-icon {
  border-color: rgba(255, 255, 255, 0.13);
}

.withdrawal-support-column .deposit-guide-steps::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(119, 51, 255, 0.15));
}

/* Deposit page: match the neutral border hierarchy used by Withdrawal. */
.deposit-view {
  --deposit-border-outer: rgba(255, 255, 255, 0.055);
  --deposit-border-control: rgba(255, 255, 255, 0.085);
  --deposit-border-hover: rgba(255, 255, 255, 0.16);
}

.deposit-view .deposit-compose-card,
.deposit-view .deposit-support-column .deposit-guide-card,
.deposit-view .deposit-support-column .deposit-help-card {
  border-color: var(--deposit-border-outer);
}

.deposit-view .deposit-method-toggle button,
.deposit-view .deposit-token-grid button,
.deposit-view .deposit-network-grid button,
.deposit-view .deposit-fiat-grid button,
.deposit-view .deposit-amount-field,
.deposit-view .deposit-quick-amounts button,
.deposit-view .deposit-other-crypto,
.deposit-view .deposit-page-submit:disabled {
  border-color: var(--deposit-border-control);
}

.deposit-view .deposit-method-toggle button:hover,
.deposit-view .deposit-token-grid button:hover,
.deposit-view .deposit-network-grid button:hover,
.deposit-view .deposit-fiat-grid button:hover,
.deposit-view .deposit-quick-amounts button:hover,
.deposit-view .deposit-other-crypto:hover {
  border-color: var(--deposit-border-hover);
}

.deposit-view .deposit-method-toggle button.active,
.deposit-view .deposit-token-grid button.active,
.deposit-view .deposit-network-grid button.active,
.deposit-view .deposit-fiat-grid button.active {
  border-color: var(--deposit-border-control);
  border-bottom-color: #8e4bff;
}

.deposit-view .deposit-guide-step-icon {
  border-color: rgba(255, 255, 255, 0.13);
}

.deposit-view .deposit-guide-steps::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(119, 51, 255, 0.15));
}

@media (prefers-reduced-motion: reduce) {
  .withdrawal-asset-grid button,
  .withdrawal-network-grid button,
  .withdrawal-amount-field,
  .withdrawal-quick-amounts button {
    transition: none;
  }
}

.affiliate-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.affiliate-card {
  position: relative;
  min-height: 180px;
  padding: 22px;
  border: 1px solid #211c2b;
  border-radius: 16px;
  background:
    radial-gradient(circle at 12% 0%, rgba(119, 51, 255, 0.08), transparent 30%),
    linear-gradient(160deg, #0c0a14, #08070e);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.affiliate-card--hero {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  grid-column: 1 / -1;
}

.affiliate-card h2 {
  margin: 0;
  color: #f2eef6;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.affiliate-card p {
  margin: 6px 0 0;
  color: #98919f;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.affiliate-link-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding: 10px;
  border: 1px solid #332b41;
  border-radius: 14px;
  background: rgba(8, 7, 13, 0.74);
}

.affiliate-link-field span {
  overflow: hidden;
  padding: 0 6px;
  color: #f1edf6;
  font-size: 15px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.affiliate-link-field button {
  height: 36px;
  min-width: 82px;
  border: 1px solid rgba(166, 133, 222, 0.26);
  border-radius: 999px;
  color: #e8e0ef;
  background: linear-gradient(180deg, rgba(29, 21, 41, 0.76), rgba(12, 9, 18, 0.88));
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.affiliate-card:not(.affiliate-card--hero) {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.affiliate-metric {
  color: #f7f3fb;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.affiliate-card > span {
  margin-top: 10px;
  color: #a9a1b0;
  font-size: 14px;
  font-weight: 700;
}

.my-bots-panel--page {
  min-height: 520px;
  margin-top: 0;
}

.my-bots-view .my-bots-new-state {
  min-height: 430px;
}

@media (max-width: 1120px) {
  .deposit-flow {
    grid-template-columns: 1fr;
  }

  .deposit-compose-card {
    min-height: 0;
  }

  .deposit-support-column {
    height: auto;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
    grid-template-rows: auto;
  }

  .deposit-guide-card {
    min-height: 520px;
  }

  .deposit-preview-card {
    min-height: 280px;
  }

  .deposit-page-grid {
    grid-template-columns: 1fr;
  }

  .deposit-card {
    min-height: 0;
  }

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

  .affiliate-card--hero {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .deposit-page-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .deposit-page-header h1 {
    font-size: 30px;
  }

  .deposit-page-primary {
    width: 100%;
  }

  .deposit-compose-card,
  .deposit-preview-card,
  .deposit-steps-card,
  .deposit-note-card {
    border-radius: 14px;
  }

  .deposit-compose-card {
    padding: 18px;
  }

  .deposit-card-assist {
    min-height: 300px;
    padding: 22px;
  }

  .deposit-compose-card__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .deposit-method-toggle,
  .deposit-token-grid,
  .deposit-network-grid,
  .deposit-fiat-grid,
  .deposit-support-column {
    grid-template-columns: 1fr;
  }

  .deposit-guide-card {
    min-height: 520px;
  }

  .deposit-guide-art .deposit-preview-art {
    right: -38px;
    width: 440px;
  }

  .deposit-view .deposit-quick-amounts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .deposit-orbit {
    min-height: 168px;
  }

  .deposit-quick-amounts {
    grid-template-columns: 1fr;
  }

  .deposit-method-list button {
    grid-template-columns: 40px 1fr;
  }

  .affiliate-grid {
    grid-template-columns: 1fr;
  }

  .affiliate-link-field {
    align-items: stretch;
    flex-direction: column;
  }

  .affiliate-link-field button {
    width: 100%;
  }
}

.bots-view {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.bots-hero {
  position: relative;
  min-height: 342px;
  overflow: hidden;
  border: 1px solid #241e2e;
  border-radius: 18px;
  background: #090711;
}

.bots-hero::before {
  position: absolute;
  z-index: 2;
  top: -1px;
  right: -1px;
  width: min(72%, 520px);
  height: 248px;
  border-radius: 0 16px 0 34px;
  background:
    radial-gradient(ellipse 78% 90% at 82% 8%, rgba(180, 112, 255, 0.52) 0%, rgba(126, 63, 232, 0.28) 32%, rgba(58, 37, 99, 0.16) 57%, transparent 78%),
    linear-gradient(152deg, transparent 0%, rgba(118, 65, 221, 0.08) 28%, rgba(187, 121, 255, 0.22) 58%, rgba(13, 10, 23, 0.04) 100%);
  content: "";
  filter: blur(0.2px);
  mask-image: radial-gradient(ellipse 105% 105% at 100% 0%, #000 0%, #000 42%, transparent 78%);
  opacity: 0.84;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 105% 105% at 100% 0%, #000 0%, #000 42%, transparent 78%);
}

.bots-hero::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, #090711 0%, #090711 39%, rgba(9, 7, 17, 0.9) 49%, rgba(9, 7, 17, 0.42) 59%, transparent 71%);
  pointer-events: none;
}

.bots-hero-copy {
  position: relative;
  z-index: 4;
  width: min(650px, 56%);
  padding: 36px 34px 112px;
}

.bots-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(38px, 3.2vw, 50px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.bots-hero-copy > p {
  max-width: 585px;
  margin: 0;
  color: #aaa2b0;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
}

.bots-hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
}

.bots-pro-button {
  display: inline-flex;
  height: 40px;
  align-items: center;
  gap: 7px;
  padding: 0 17px;
  border: 0;
  border-radius: 9px;
  color: #100a18;
  background: linear-gradient(105deg, #c2b0ff, #aa8ff4);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: filter 180ms ease, transform 180ms ease;
}

.bots-pro-button:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
}

.bots-hero-art {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(64%, 880px);
  overflow: hidden;
  background: #090711;
  pointer-events: none;
}

.bots-hero-art::before {
  display: none;
}

.bots-hero-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% 59%;
  filter: none;
}

.bots-hero-gradient {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  width: min(72%, 520px);
  height: 257px;
  border-radius: 0 16px 0 34px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E"),
    linear-gradient(90deg, transparent, rgba(214, 173, 255, 0.18));
  background-size: 120px 120px, 100% 100%;
  mask-image: radial-gradient(ellipse 105% 105% at 100% 0%, #000 0%, #000 42%, transparent 78%);
  mix-blend-mode: screen;
  opacity: 0.4;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 105% 105% at 100% 0%, #000 0%, #000 42%, transparent 78%);
}

.bots-hero-stats {
  position: absolute;
  z-index: 4;
  bottom: 27px;
  left: 34px;
  display: grid;
  width: min(680px, 54%);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
}

.bots-hero-stats > div {
  padding: 0 18px;
  border-left: 1px solid #2b2534;
}

.bots-hero-stats > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.bots-hero-stats dt {
  color: #aaa2b0;
  font-size: 13px;
  font-weight: 600;
}

.bots-hero-stats dd {
  margin: 6px 0 0;
  color: #f6f2f8;
  font-size: 22px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.bots-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin: 30px 0 18px;
}

.bots-toolbar h2 {
  margin: 0 0 8px;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.bots-toolbar p {
  max-width: 750px;
  margin: 0;
  color: #938b9a;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
}

@media (min-width: 1181px) {
  .bots-toolbar p {
    max-width: none;
    white-space: nowrap;
  }
}

.bots-filters {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 5px;
  padding: 5px;
  border: 1px solid #231e2c;
  border-radius: 12px;
  background: #0b0912;
}

.bots-filters button {
  display: inline-flex;
  height: 34px;
  align-items: center;
  gap: 5px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  color: #918a98;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease;
}

.bots-filters button.active {
  color: #100a18;
  background: #b8a2ff;
}

.bots-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.bot-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 318px;
  flex-direction: column;
  overflow: hidden;
  padding: 18px;
  border: 1px solid #211c2a;
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0%, rgba(127, 89, 183, 0.045), transparent 34%),
    #0b0912;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.bot-card::before {
  position: absolute;
  top: 0;
  right: 18px;
  left: 18px;
  height: 1px;
  opacity: 0;
  content: "";
  background: linear-gradient(90deg, transparent, #9b79e7, transparent);
}

.bot-card--pro::before {
  opacity: 0.75;
}

.bot-card:hover {
  border-color: #352d42;
  background:
    radial-gradient(circle at 100% 0%, rgba(136, 93, 203, 0.075), transparent 36%),
    #0d0a15;
  transform: translateY(-2px);
}

.bot-card--unavailable,
.bot-card--unavailable:hover {
  border-color: #1e1a25;
  background: #09080e;
  transform: none;
}

.bot-card--unavailable .bot-performance svg {
  opacity: 0.52;
}

.bot-card-head,
.bot-identity,
.bot-badges,
.bot-card-footer,
.bot-status {
  display: flex;
  align-items: center;
}

.bot-card-head {
  min-height: 44px;
  justify-content: space-between;
  gap: 10px;
}

.bot-identity {
  min-width: 0;
  gap: 11px;
}

.bot-token-icons {
  position: relative;
  display: block;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
}

.bot-token-icons img:first-child {
  display: block;
  width: 38px;
  height: 38px;
  border: 1px solid #2d2736;
  border-radius: 50%;
  background: #14111b;
  object-fit: contain;
}

.bot-token-icons img + img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 18px;
  height: 18px;
  border: 2px solid #0b0912;
  border-radius: 50%;
  background: #14111b;
  object-fit: contain;
}

.bot-identity > div {
  min-width: 0;
}

.bot-identity h3 {
  overflow: hidden;
  margin: 0;
  color: #f6f2f8;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bot-identity > div > span {
  display: block;
  margin-top: 3px;
  color: #938b9a;
  font-size: 13px;
  font-weight: 600;
}

.bot-badges {
  flex: 0 0 auto;
  justify-content: flex-end;
  gap: 5px;
}

.bot-pro-badge,
.bot-risk {
  display: inline-flex;
  height: 23px;
  align-items: center;
  gap: 3px;
  padding: 0 7px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}

.bot-pro-badge {
  color: #d6c8ff;
  background: rgba(119, 51, 255, 0.16);
}

.bot-risk {
  color: #9d95a4;
  background: #17141d;
}

.bot-risk--dynamic { color: #bca8ef; }
.bot-risk--high { color: #ff837e; background: rgba(255, 92, 86, 0.1); }

.bot-description {
  min-height: 43px;
  margin: 14px 0;
  color: #918a98;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.48;
}

.bot-performance {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid #201b29;
  border-radius: 12px;
  background: #111018;
}

.bot-performance > div {
  display: grid;
  gap: 3px;
}

.bot-performance span {
  color: #77717e;
  font-size: 13px;
  font-weight: 600;
}

.bot-card:not(.bot-card--featured) .bot-performance strong {
  color: var(--green);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}

.bot-performance-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.bot-pnl,
.bot-win-rate {
  display: grid;
  gap: 3px;
}

.bot-performance-top span {
  color: #77717e;
  font-size: 12px;
  font-weight: 600;
}

.bot-pnl strong {
  color: var(--green);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}

.bot-win-rate {
  justify-items: end;
  text-align: right;
}

.bot-win-rate strong {
  color: #e8e3ec;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.bot-performance svg {
  display: block;
  width: 112px;
  height: 42px;
  overflow: visible;
}

.bot-card:not(.bot-card--featured) .bot-performance path {
  fill: none;
  stroke: var(--green);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.bot-chart-baseline {
  stroke: #282331;
  stroke-width: 1;
}

.bot-chart-area {
  stroke: none;
}

.bot-chart-line {
  fill: none;
  stroke: var(--green);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
  vector-effect: non-scaling-stroke;
}

.bot-chart-point {
  fill: #0fda9d;
  stroke: #101018;
  stroke-width: 1.4;
  vector-effect: non-scaling-stroke;
}

.bot-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 0;
}

.bot-details > div {
  min-width: 0;
}

.bot-details dt {
  color: #746d7b;
  font-size: 12px;
  font-weight: 600;
}

.bot-details dd {
  overflow: hidden;
  margin: 4px 0 0;
  color: #e9e4ec;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bot-risk-value--low { color: var(--green) !important; }
.bot-risk-value--dynamic { color: #bba8ee !important; }
.bot-risk-value--high { color: #ff837e !important; }

.bot-card-footer {
  gap: 10px;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
}

.bot-status {
  min-width: 0;
  gap: 6px;
  color: #8d8594;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.bot-status i {
  color: #aaa1b0;
  font-size: 12px;
}

.bot-status.is-unavailable i {
  color: #aaa1b0;
}

.bot-deposit {
  color: #77717e;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.bot-deposit strong {
  margin-left: 4px;
  color: #f0ebf3;
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.bot-buy {
  height: 36px;
  flex: 0 0 auto;
  padding: 0 15px;
  border: 0;
  border-radius: 9px;
  color: #100a18;
  background: linear-gradient(105deg, #c2b0ff, #aa8ff4);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: filter 160ms ease, transform 160ms ease;
}

.bot-buy:active:not(:disabled) {
  transform: translateY(1px) scale(0.985);
}

.bot-buy:not(:disabled):hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
}

.bot-buy:disabled {
  border: 1px solid #2a2531;
  color: #8e8794;
  background: #15121a;
  cursor: not-allowed;
}

/* TRX and XRP use a separate command-card composition. */
.bot-card--signal {
  min-height: 338px;
  padding: 0;
  border-color: #24202b;
  border-radius: 14px;
  background: #09080e;
  box-shadow: inset 2px 0 0 #6e50a8;
}

.bot-card--signal:hover {
  border-color: #393143;
  background: #0b0910;
  box-shadow: inset 2px 0 0 #8e6cd3;
}

.bot-signal-head,
.bot-signal-identity,
.bot-signal-risk,
.bot-signal-footer,
.bot-signal-footer dl,
.bot-signal-buy {
  display: flex;
  align-items: center;
}

.bot-signal-head {
  height: 39px;
  justify-content: space-between;
  padding: 0 18px 0 20px;
  border-bottom: 1px solid #1d1923;
}

.bot-signal-code {
  color: #a69eab;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.035em;
}

.bot-signal-risk {
  gap: 6px;
  color: #c2b6cf;
  font-size: 12px;
  font-weight: 700;
}

.bot-signal-risk > span {
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border-radius: 1px;
  background: #8d6ed0;
}

.bot-signal-identity {
  gap: 12px;
  padding: 15px 18px 0 20px;
}

.bot-signal-emblem {
  display: grid;
  width: 38px;
  height: 34px;
  flex: 0 0 38px;
  place-items: center;
  padding-right: 11px;
  border-right: 1px solid #28222e;
}

.bot-signal-emblem img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.bot-signal-identity h3 {
  margin: 0;
  color: #faf7fb;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.bot-signal-identity div > span {
  display: block;
  margin-top: 3px;
  color: #918999;
  font-size: 12px;
  font-weight: 700;
}

.bot-card--signal .bot-description {
  display: -webkit-box;
  min-height: 42px;
  overflow: hidden;
  margin: 12px 18px 10px 20px;
  color: #9e96a3;
  font-size: 14px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.bot-signal-return {
  display: grid;
  min-height: 77px;
  grid-template-columns: minmax(104px, 0.9fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 12px;
  margin: 0 18px 0 20px;
  padding: 12px 0;
  border-top: 1px solid #211c27;
  border-bottom: 1px solid #211c27;
}

.bot-signal-return > div {
  display: grid;
  gap: 3px;
}

.bot-signal-return span {
  color: #77707d;
  font-size: 12px;
  font-weight: 700;
}

.bot-signal-return strong {
  color: var(--green);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.bot-signal-return svg {
  display: block;
  width: 100%;
  height: 42px;
  overflow: visible;
}

.bot-signal-return path {
  fill: none;
  stroke: #9d7bdd;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
  vector-effect: non-scaling-stroke;
}

.bot-signal-footer {
  min-height: 76px;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding: 13px 18px 15px 20px;
  background: #0d0b12;
}

.bot-signal-footer dl {
  min-width: 0;
  gap: 20px;
  margin: 0;
}

.bot-signal-footer dl > div {
  min-width: 58px;
}

.bot-signal-footer dt {
  color: #746d79;
  font-size: 12px;
  font-weight: 700;
}

.bot-signal-footer dd {
  margin: 4px 0 0;
  color: #f3eef5;
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.bot-card--signal .bot-signal-buy {
  height: 39px;
  gap: 8px;
  padding: 0 12px 0 14px;
  border: 1px solid #3a3147;
  color: #eee8f3;
  background: #15111c;
  box-shadow: none;
}

.bot-card--signal .bot-signal-buy:hover {
  border-color: #725aa6;
  background: #1b1525;
  filter: none;
}

.bot-signal-buy i {
  color: #b8a1ec;
  font-size: 14px;
}

/* Expanded strategy card is intentionally limited to ETH and BNB. */
.bot-card--featured {
  min-height: 326px;
  padding: 19px;
  border-color: #292331;
  background: #0a090f;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.bot-card--featured:hover {
  border-color: #3a3244;
  background: #0c0a12;
}

.bot-card--featured .bot-card-head {
  min-height: 46px;
}

.bot-card--featured .bot-identity {
  gap: 13px;
}

.bot-card--featured .bot-token-icons--premium {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border: 1px solid #302a38;
  border-radius: 12px;
  background: linear-gradient(145deg, #1b1820, #100e15);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.bot-card--featured .bot-token-icons--premium img:first-child {
  width: 21px;
  height: 21px;
  border: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
}

.bot-card--featured .bot-identity h3 {
  color: #fbf9fc;
  font-size: 17px;
  letter-spacing: -0.025em;
}

.bot-card--featured .bot-identity > div > .bot-featured-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 5px;
  color: #938c99;
  font-size: 12px;
}

.bot-featured-meta > span:first-child {
  color: #aaa2ae;
}

.bot-monitoring {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.bot-monitoring > span {
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border-radius: 50%;
  background: var(--green);
}

.bot-card--featured .bot-description {
  display: -webkit-box;
  min-height: 42px;
  overflow: hidden;
  margin: 14px 0 7px;
  color: #aaa2ae;
  font-size: 14px;
  font-weight: 500;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-overflow: ellipsis;
}

.bot-card--featured .bot-performance {
  display: grid;
  min-height: 101px;
  grid-template-rows: auto 1fr;
  align-items: stretch;
  justify-content: stretch;
  gap: 2px;
  overflow: hidden;
  padding: 13px 0 0;
  border-width: 1px 0 0;
  border-radius: 0;
  border-color: #211d27;
  background: transparent;
}

.bot-card--featured .bot-performance-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.bot-card--featured .bot-performance svg {
  width: 100%;
  height: 45px;
  margin: 0;
  align-self: end;
}

.bot-card--featured .bot-pnl strong {
  font-size: 29px;
}

.bot-card--featured .bot-chart-line {
  stroke-width: 1.6;
}

.bot-card--featured .bot-chart-point {
  r: 2px;
  stroke: #0a090f;
}

.bot-card--featured .bot-details {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 8px 0 0;
  padding: 10px 0 0;
  border-top: 1px solid #211d27;
}

.bot-card--featured .bot-details > div {
  padding: 0 11px;
  border-left: 1px solid #211c29;
}

.bot-card--featured .bot-details > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.bot-card--featured .bot-details > div:last-child {
  padding-right: 0;
}

.bot-card--featured .bot-details dt {
  color: #756e7b;
  font-size: 11px;
  letter-spacing: 0.01em;
}

.bot-card--featured .bot-details dd {
  margin-top: 5px;
  color: #f2edf4;
  font-size: 14px;
}

.bot-card--featured .bot-details .bot-drawdown {
  color: #d98d89;
}

.bot-card--featured .bot-card-footer {
  padding-top: 13px;
}

.bot-card--featured .bot-buy {
  height: 36px;
  min-width: 82px;
  background: #b8a3f2;
  box-shadow: none;
}

.bots-empty {
  margin: 38px 0;
  color: #8e8795;
  font-size: 14px;
  text-align: center;
}

.bots-disclaimer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 38px 0 8px;
  padding: 0;
  border: 0;
  color: #6f717a;
  background: transparent;
}

.bots-disclaimer svg {
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  fill: none;
  stroke: #a57cf6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.bots-disclaimer p {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}

.bots-disclaimer strong {
  margin-right: 10px;
  color: #b493f6;
  font-weight: 500;
}

@media (max-width: 1500px) {
  .bots-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1180px) {
  .bots-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bots-hero-copy { width: 68%; }
  .bots-hero-stats { width: 64%; }
  .bots-hero-art {
    right: -72px;
    width: 72%;
  }
}

@media (max-width: 860px) {
  .bots-hero {
    min-height: 420px;
  }

  .bots-hero::after {
    background: linear-gradient(180deg, #090711 0%, rgba(9, 7, 17, 0.93) 58%, rgba(9, 7, 17, 0.62));
  }

  .bots-hero-copy {
    width: 100%;
    padding: 28px 24px 130px;
  }

  .bots-hero-art {
    right: -118px;
    width: 92%;
    opacity: 0.48;
  }

  .bots-hero-stats {
    right: 24px;
    bottom: 24px;
    left: 24px;
    width: auto;
  }

  .bots-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

}

@media (max-width: 640px) {
  .bots-grid { grid-template-columns: 1fr; }
  .bots-hero { min-height: 470px; }
  .bots-hero h1 { font-size: 38px; }
  .bots-hero-copy { padding-right: 20px; padding-left: 20px; }
  .bots-hero-stats {
    right: 20px;
    left: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 16px;
  }
  .bots-hero-stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .bots-filters { width: 100%; }
  .bots-filters button { flex: 1; justify-content: center; }
}

@media (prefers-reduced-motion: no-preference) {
  .bots-view.is-active .bots-hero,
  .bots-view.is-active .bots-toolbar,
  .bots-view.is-active .bot-card {
    animation: bots-rise 480ms cubic-bezier(.2,.8,.2,1) both;
  }

  .bots-view.is-active .bots-toolbar { animation-delay: 45ms; }
  .bots-view.is-active .bot-card:nth-child(2),
  .bots-view.is-active .bot-card:nth-child(6),
  .bots-view.is-active .bot-card:nth-child(10) { animation-delay: 45ms; }
  .bots-view.is-active .bot-card:nth-child(3),
  .bots-view.is-active .bot-card:nth-child(7),
  .bots-view.is-active .bot-card:nth-child(11) { animation-delay: 80ms; }
  .bots-view.is-active .bot-card:nth-child(4),
  .bots-view.is-active .bot-card:nth-child(8),
  .bots-view.is-active .bot-card:nth-child(12) { animation-delay: 115ms; }

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

@media (prefers-reduced-motion: reduce) {
  .bot-card,
  .bot-buy,
  .bots-pro-button {
    transition: none;
  }

  .bot-card:hover,
  .bot-buy:not(:disabled):hover,
  .bots-pro-button:hover {
    transform: none;
  }
}

/* Overview: owned trading bots */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  padding: 0;
  border: 0;
  margin: -1px;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.my-bots-panel {
  overflow: hidden;
  margin-top: 34px;
  padding: 16px;
  border: 1px solid #211c2b;
  border-radius: 16px;
  background: linear-gradient(160deg, #0c0a14, #08070e);
}

.my-bots-header,
.my-bots-actions,
.my-bots-filters,
.my-bot-identity,
.my-bot-status,
.my-bot-details,
.browse-bots,
.my-bot-tier {
  display: flex;
  align-items: center;
}

.my-bots-header {
  min-height: 64px;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 8px 13px;
  border-bottom: 1px solid rgba(39, 33, 48, 0.82);
}

.my-bots-header h2 {
  margin: 0;
  color: #f7f3fa;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.my-bots-actions { gap: 10px; }

.my-bots-filters {
  gap: 3px;
  padding: 3px;
  border: 1px solid #241f2c;
  border-radius: 10px;
  background: #09070f;
}

.my-bots-filters button {
  height: 32px;
  min-width: 52px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  color: #8e8794;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.my-bots-filters button span {
  margin-left: 4px;
  color: inherit;
  font-variant-numeric: tabular-nums;
}

.my-bots-filters button:hover { color: #d8d1dd; }

.my-bots-filters button.active {
  color: #100a18;
  background: #b8a2ff;
}

.browse-bots {
  height: 38px;
  gap: 7px;
  padding: 0 13px;
  border: 1px solid #302a39;
  border-radius: 9px;
  color: #c9c2ce;
  background: #0d0a13;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease, transform 160ms ease;
}

.browse-bots:hover {
  border-color: #493d5d;
  color: #f1edf4;
  background: #12101a;
  transform: translateY(-1px);
}

.browse-bots:active,
.my-bot-details:active,
.my-bots-filters button:active { transform: translateY(1px) scale(0.985); }

.my-bots-table-wrap { overflow-x: auto; }

.my-bots-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  table-layout: fixed;
  font-variant-numeric: tabular-nums;
}

.my-bots-table th,
.my-bots-table td {
  height: 68px;
  padding: 12px 12px;
  border-bottom: 1px solid rgba(35, 30, 44, 0.78);
  color: #c9c2cf;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  vertical-align: middle;
}

.my-bots-table th {
  height: 42px;
  padding-top: 11px;
  padding-bottom: 9px;
  color: #77707e;
  font-size: 12px;
  font-weight: 700;
}

.my-bots-table th:nth-child(1) { width: 4.5%; }
.my-bots-table th:nth-child(2) { width: 22%; }
.my-bots-table th:nth-child(3) { width: 12%; }
.my-bots-table th:nth-child(4) { width: 14%; }
.my-bots-table th:nth-child(5) { width: 13%; }
.my-bots-table th:nth-child(6) { width: 11%; }
.my-bots-table th:nth-child(7) { width: 12%; }
.my-bots-table th:nth-child(8) { width: 11.5%; }

.my-bots-table tbody tr {
  transition: background 160ms ease;
}

.my-bots-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.018);
}

.my-bots-table tbody tr:last-child td { border-bottom: 0; }
.my-bot-index { color: #8d8495 !important; }
.my-bot-identity { gap: 11px; }

.my-bot-icons {
  position: relative;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
}

.my-bot-icons img:first-child {
  display: block;
  width: 34px;
  height: 34px;
  border: 1px solid #2c2635;
  border-radius: 50%;
  background: #15121c;
  object-fit: contain;
}

.my-bot-icons img + img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 17px;
  height: 17px;
  border: 2px solid #0a0810;
  border-radius: 50%;
  background: #15121c;
  object-fit: contain;
}

.my-bot-identity > span:last-child {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.my-bot-identity strong {
  overflow: hidden;
  color: #f2edf5;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.018em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.my-bot-identity small {
  color: #938a9b;
  font-size: 13px;
  font-weight: 700;
}

.my-bot-period {
  color: #938a9b;
  font-size: 12px;
  font-weight: 700;
}

.my-bot-pair,
.my-bot-allocation {
  color: #e6dfea;
  font-weight: 700;
}

.my-bot-tier {
  width: fit-content;
  gap: 4px;
  color: #c1b8c8;
  font-size: 13px;
  font-weight: 700;
}

.my-bot-tier.is-pro { color: #c4b2f4; }
.my-bot-tier i { font-size: 13px; }
.my-bot-allocation { font-size: 14px; font-weight: 700; }

.my-bot-pnl {
  display: block;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}

.my-bot-period { display: block; margin-top: 3px; }

.my-bot-status {
  width: fit-content;
  gap: 0;
  color: #aaa2af;
  font-size: 13px;
  font-weight: 700;
}

.my-bot-status > span {
  display: none;
}

.my-bot-status.is-active { color: #79d9bc; }

.my-bot-status.is-paused { color: #efbd63; }

.my-bot-details {
  height: 34px;
  justify-content: center;
  gap: 6px;
  padding: 0 12px;
  border: 0;
  border-radius: 9px;
  color: #100a18;
  background: #b8a2ff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: filter 160ms ease, transform 160ms ease;
}

.my-bot-details:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
}

.my-bot-details.is-quiet {
  border: 1px solid #302a39;
  color: #c1bac6;
  background: #0b0911;
}

.my-bot-details.is-quiet:hover {
  border-color: #463b55;
  color: #f0ebf3;
  background: #121019;
  filter: none;
}

.my-bot-details i { font-size: 13px; }

.my-bots-empty {
  margin: 34px 0 24px;
  color: #817a88;
  font-size: 13px;
  text-align: center;
}

.bot-card.is-highlighted {
  border-color: #7055a5;
  box-shadow: 0 0 0 3px rgba(119, 51, 255, 0.12), 0 18px 48px rgba(45, 23, 85, 0.18);
}

@media (max-width: 860px) {
  .my-bots-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .my-bots-actions {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 560px) {
  .my-bots-panel { padding: 11px; }
  .my-bots-actions { align-items: stretch; flex-direction: column; }
  .my-bots-filters { width: 100%; }
  .my-bots-filters button { flex: 1; }
  .browse-bots { justify-content: center; }
}

@media (prefers-reduced-motion: no-preference) {
  .overview-grid,
  .my-bots-panel {
    animation: bots-rise 480ms cubic-bezier(.2,.8,.2,1) both;
  }

  .my-bots-panel { animation-delay: 150ms; }
}

@media (prefers-reduced-motion: reduce) {
  .my-bots-filters button,
  .browse-bots,
  .my-bot-details,
  .my-bots-table tbody tr,
  .bot-card.is-highlighted { transition: none; }
}

/* Product dashboard correction: match the landing reference at Full HD. */
.side-link > i,
.super-card > i,
.logout-link > i,
.icon-button > i,
.search-box > i,
.settings-button > i,
.deposit-button > i,
.task-icon > i,
.task-head button > i,
.staking-actions i,
.eyebrow-row i,
.eyebrow-row button i,
.title-row button i,
.market-tabs button i {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  line-height: 1;
}

.side-link > i { width: 19px; font-size: 18px; }
.super-card > i { font-size: 24px; }
.logout-link > i { font-size: 17px; }
.icon-button > i { margin: auto; font-size: 18px; }
.search-box > i,
.settings-button > i { font-size: 17px; }
.deposit-button > i { font-size: 16px; }
.task-icon > i { font-size: 23px; }
.task-head button > i { font-size: 15px; }
.staking-actions i { font-size: 16px; }

.coin {
  overflow: hidden;
}

.coin img {
  display: block;
  width: 23px;
  height: 23px;
  object-fit: contain;
}

table {
  font-variant-numeric: tabular-nums;
}

@media (min-width: 1200px) {
  :root {
    --bg: #030208;
    --sidebar: #05040b;
    --panel: #090711;
    --panel-2: #0c0914;
    --border: #211c2b;
    --border-strong: #30283d;
    --text: #f7f4fb;
    --muted: #928b9b;
    --muted-2: #b6afbe;
  }

  body {
    color: var(--text);
    background:
      radial-gradient(circle at 70% -18%, rgba(116, 57, 226, 0.09), transparent 32%),
      var(--bg);
    font-weight: 500;
    -webkit-font-smoothing: antialiased;
  }

  .dashboard-app {
    grid-template-columns: 250px minmax(0, 1fr);
  }

  .sidebar {
    width: 250px;
    padding: 28px 20px 22px;
    border-color: #1d1826;
    background: linear-gradient(180deg, #07050f 0%, #05040b 66%, #06040d 100%);
  }

  .dash-brand {
    min-height: 60px;
    gap: 14px;
    padding: 0 7px;
  }

  .dash-logo {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .dash-brand strong {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.02em;
  }

  .side-nav {
    gap: 7px;
    margin-top: 34px;
  }

  .side-link {
    height: 46px;
    gap: 12px;
    padding: 0 14px;
    border-radius: 13px;
    color: #aaa3b2;
    font-size: 14px;
    font-weight: 600;
  }

  .side-link.active {
    color: #fff;
    border-color: rgba(164, 126, 255, 0.42);
    background: linear-gradient(90deg, rgba(119, 51, 255, 0.28), rgba(119, 51, 255, 0.09));
    box-shadow: inset 3px 0 0 #a384ff, 0 10px 28px rgba(67, 31, 137, 0.15);
  }

  .side-link > i {
    color: #a99bc8;
  }

  .side-link.active > i {
    color: #c3adff;
  }

  .super-card {
    grid-template-columns: 30px 1fr;
    min-height: 76px;
    padding: 13px 14px;
    border-color: #342b43;
    border-radius: 14px;
    background: linear-gradient(110deg, #17131f, #0e0c15);
  }

  .super-card > i { color: #c6b5ff; }
  .super-card strong { font-size: 14px; font-weight: 700; }
  .super-card small { margin-top: 4px; color: #aaa2b2; font-size: 12px; font-weight: 600; line-height: 1.3; }

  .logout-link {
    gap: 11px;
    margin-top: 12px;
    padding: 10px 13px;
    color: #918a98;
    font-size: 13px;
    font-weight: 600;
  }

  .workspace { grid-column: 2; }

  .topbar {
    height: 86px;
    gap: 22px;
    padding: 0 34px;
    border-color: #1e1927;
    background: rgba(3, 2, 8, 0.9);
  }

  .profile {
    grid-template-columns: 46px auto 18px;
    gap: 12px;
    min-width: 225px;
  }

  .avatar {
    width: 46px;
    height: 46px;
    font-size: 11px;
    font-weight: 700;
  }

  .profile strong { font-size: 14px; font-weight: 700; }
  .profile small { margin-top: 3px; color: #8c8593; font-size: 11px; font-weight: 500; }
  .profile .chevron { color: #aaa3b0; font-size: 15px; }

  .deposit-button {
    display: inline-flex;
    height: 40px;
    align-items: center;
    gap: 7px;
    padding: 0 18px;
    border-radius: 10px;
    color: #100a18;
    background: linear-gradient(110deg, #c1afff, #a88cf4);
    box-shadow: 0 9px 24px rgba(129, 82, 229, 0.12);
    font-size: 13px;
    font-weight: 700;
  }

  .top-actions { gap: 10px; }

  .icon-button,
  .settings-button,
  .search-box {
    height: 40px;
    border-color: #2a2433;
    border-radius: 10px;
    background: #090710;
  }

  .icon-button { width: 42px; color: #b3acb9; }

  .notification b {
    top: -6px;
    right: -4px;
    width: 19px;
    height: 19px;
    font-size: 10px;
    font-weight: 700;
  }

  .search-box {
    grid-template-columns: 22px minmax(105px, 138px) 22px;
    padding: 0 12px;
  }

  .search-box input {
    color: #e9e4ee;
    font-size: 12px;
    font-weight: 500;
  }

  .settings-button {
    gap: 8px;
    padding: 0 15px;
    color: #d0c9d5;
    font-size: 12px;
    font-weight: 600;
  }

  .content {
    width: min(100%, 1510px);
    padding: 34px 32px 56px;
  }

  .overview-grid {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
  }

  .eyebrow-row p {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #a9a2b0;
    font-size: 13px;
    font-weight: 600;
  }

  .eyebrow-row p i { color: #b69dff; font-size: 14px; }

  .eyebrow-row button,
  .title-row > button {
    display: inline-flex;
    height: 36px;
    align-items: center;
    gap: 6px;
    padding: 0 13px;
    border-color: #2a2432;
    border-radius: 10px;
    color: #b0a9b6;
    background: #0d0a13;
    font-size: 12px;
    font-weight: 600;
  }

  .title-row h1 {
    margin: 8px 0 20px;
    font-size: 40px;
    font-weight: 600;
    letter-spacing: -0.045em;
    line-height: 1.05;
  }

  .title-row > button { margin-top: -10px; }

  .task-grid { gap: 16px; }

  .task-card {
    min-height: 250px;
    padding: 21px;
    border-color: #211c2b;
    border-radius: 16px;
    background:
      radial-gradient(circle at 10% 0%, rgba(125, 87, 183, 0.08), transparent 43%),
      linear-gradient(150deg, #0d0a15, #080710);
  }

  .task-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
  }

  .task-head button {
    width: 34px;
    height: 34px;
    border-color: #302a39;
    color: #d1cad7;
  }

  .task-card h2 {
    min-height: 46px;
    margin: 15px 0 9px;
    color: #fbf9fc;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.018em;
    line-height: 1.28;
  }

  .task-card p {
    margin-bottom: 17px;
    color: #a19aa8;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.48;
  }

  .task-action,
  .task-card.complete .task-action {
    height: 37px;
    padding: 0 17px;
    border-radius: 9px;
    color: #100a18;
    background: linear-gradient(105deg, #c2b0ff, #a88df3);
    font-size: 12px;
    font-weight: 700;
  }

  .staking-card {
    min-height: 336px;
    padding: 22px;
    border-color: #2a2237;
    border-radius: 16px;
    background:
      radial-gradient(ellipse 120% 62% at 35% 112%, rgba(118, 91, 176, 0.45) 0%, rgba(72, 48, 118, 0.24) 46%, transparent 76%),
      linear-gradient(180deg, #05050f 0%, #05050f 50%, #090718 62%, #17102f 72%, #38265d 86%, #65579b 100%);
  }

  .staking-brand {
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
  }

  .mini-logo { width: 24px; height: 24px; }

  .staking-brand b {
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 700;
  }

  .staking-card h2 {
    margin: 27px 0 9px;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.08;
  }

  .staking-card p {
    max-width: 274px;
    color: #9a92a2;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.48;
  }

  .staking-actions { gap: 9px; }

  .staking-actions button {
    display: flex;
    height: 43px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: 10px;
    color: #100a18;
    background: linear-gradient(100deg, #c4b2ff, #a98ef2);
    font-size: 12px;
    font-weight: 700;
  }

  .staking-actions button + button {
    color: #fbf7ff;
    background: rgba(101, 60, 171, 0.22);
  }

  .market-panel {
    margin-top: 26px;
    padding: 16px;
    border-color: #211c2b;
    border-radius: 16px;
    background: linear-gradient(160deg, #0c0a14, #08070e);
  }

  .market-tabs {
    min-height: 54px;
    gap: 8px;
    padding: 6px 9px;
    border-radius: 12px;
    background: linear-gradient(90deg, #12101a, #0d0b14);
  }

  .market-tabs button {
    display: inline-flex;
    height: 38px;
    align-items: center;
    gap: 6px;
    padding: 0 18px;
    border-radius: 9px;
    color: #8f8895;
    font-size: 13px;
    font-weight: 600;
  }

  .market-tabs button.active { color: #f0ebf3; }

  .market-tabs button.active::before {
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-right: 3px;
    border-radius: 50%;
    background: #b596ff;
    content: "";
  }

  .market-tabs .see-market {
    border-radius: 9px;
    color: #aaa3b0;
  }

  th,
  td {
    height: 66px;
    padding: 15px 12px;
    border-color: rgba(35, 30, 44, 0.78);
    font-size: 14px;
    font-weight: 500;
  }

  th {
    height: 46px;
    padding-top: 13px;
    padding-bottom: 10px;
    color: #837c8b;
    font-size: 11px;
    font-weight: 600;
  }

  td { color: #c1bac8; }

  .coin {
    width: 31px;
    height: 31px;
    margin-right: 10px;
    background: #17141f;
  }

  .coin img { width: 24px; height: 24px; }

  .amount,
  .gain,
  .loss {
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
  }

  .amount { color: #c4bdca; }

  .spark { width: 70px; height: 27px; }
  .spark path { stroke-width: 1.8; }

  .trade {
    width: 72px;
    height: 34px;
    border-color: #302a39;
    border-radius: 10px;
    color: #c1bac6;
    font-size: 11px;
    font-weight: 600;
  }
}

/* Final Full HD control treatment: active gradient navigation and glass pill actions. */
.side-link.active {
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(90deg, #7733ff 0%, #6128cf 54%, #3f197f 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 10px 24px rgba(68, 29, 142, 0.18);
  transform: none;
}

.side-link.active:focus-visible {
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 10px 24px rgba(68, 29, 142, 0.18);
  filter: brightness(1.06);
}

.side-link.active > i {
  color: #fff;
  filter: none;
}

@media (min-width: 1200px) {
  .dashboard-app {
    grid-template-columns: 270px minmax(0, 1fr);
  }

  .sidebar {
    width: 270px;
  }

  .side-nav {
    width: 210px;
    margin-left: 0;
  }

  .side-link {
    width: 210px;
    height: 45px;
  }
}

.super-card {
  position: relative;
  display: inline-flex;
  width: 200px;
  min-height: 44px;
  height: 44px;
  align-self: center;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  overflow: hidden;
  padding: 0 24px;
  border: 2px solid transparent;
  border-radius: 22px;
  color: #c8c0cd;
  background:
    linear-gradient(#0f051f, #0f051f) padding-box,
    radial-gradient(86px 42px at 14% 0%, #a459c7 0%, #7f3cac 38%, #1f0059 100%) border-box;
  box-shadow: none;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.super-card__icon {
  position: relative;
  z-index: 1;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  overflow: visible;
  fill: none;
  stroke: #a69dad;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
}

.super-card__label {
  position: relative;
  z-index: 1;
  display: block;
  color: #c8c0cd;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
}

.top-actions .super-card::before { display: none; }

.top-actions .super-card:hover {
  color: #d3ccd7;
  background:
    linear-gradient(#120722, #120722) padding-box,
    radial-gradient(86px 42px at 14% 0%, #ad63ca 0%, #8645b0 38%, #270066 100%) border-box;
  box-shadow: none;
  transform: none;
}

.top-actions .super-card:hover .super-card__label { color: #d3ccd7; }
.top-actions .super-card:active { transform: scale(0.985); }

/* Neutral text palette: keep violet for actions and active states only. */
.profile small {
  color: #96969e;
}

.side-link:not(.active) {
  color: #b9b9c0;
}

.side-link:not(.active) > i {
  color: #afb0b7;
}

.side-link:not(.active):hover {
  color: #f0f0f2;
  background: rgba(255, 255, 255, 0.045);
}

.side-link:not(.active):hover > i {
  color: #dedee3;
}

.super-card__icon {
  stroke: #adaeb5;
}

.super-card__label,
.top-actions .super-card:hover .super-card__label {
  color: #c9c9cf;
}

/* Exact Why Choose Us reference treatment for the header CTA. */
.top-actions > .super-card {
  display: block;
  width: auto;
  min-width: 0;
  height: 44px;
  min-height: 44px;
  flex: 0 0 auto;
  padding: 2px;
  border: 0;
  border-radius: 100px;
  background-color: #1f0059;
  background-image: linear-gradient(170deg, #e887ff, rgba(232, 135, 255, 0) 21%, rgba(255, 255, 255, 0));
  box-shadow: none;
}

.top-actions > .super-card .super-card__inner {
  display: flex;
  width: auto;
  height: 40px;
  align-items: center;
  gap: 8px;
  padding: 8px 22px;
  border-radius: 100px;
  color: #a4abb8;
  background: #0f051f;
}

.top-actions > .super-card .super-card__icon {
  width: 24px;
  height: 24px;
  flex-basis: 24px;
  color: #a4abb8;
  stroke: currentColor;
  stroke-width: 1.7px;
}

.top-actions > .super-card .super-card__label,
.top-actions > .super-card:hover .super-card__label {
  color: #a4abb8;
  font-family: "Geist", sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 24px;
}

.top-actions > .super-card:hover {
  background-color: #1f0059;
  background-image: linear-gradient(170deg, #e887ff, rgba(232, 135, 255, 0) 21%, rgba(255, 255, 255, 0));
}

.eyebrow-row p,
.task-card p,
.staking-card p {
  color: #a6a6ae;
}

.my-bots-table th,
.my-bot-index,
.my-bot-identity small,
.my-bot-period {
  color: #909098 !important;
}

.my-bot-tier,
.my-bot-strategy,
.my-bot-status,
.my-bot-pair,
.my-bot-allocation {
  color: #c3c3ca;
}

.my-bot-strategy {
  font-size: 13px;
  font-weight: 700;
}

.bots-filters button:not(.active),
.my-bots-filters button:not(.active) {
  color: #a9a9b1;
}

.my-bot-details.is-quiet {
  border-color: #34343b;
  color: #c6c6cc;
  background: #0c0c11;
}

.my-bot-details.is-quiet:hover {
  border-color: #4b4b54;
  color: #f0f0f2;
  background: #131318;
}

/* Bots performance — compact implementation of the approved standalone reference. */
.portfolio-metric-card--pnl {
  display: grid;
  min-height: 156px;
  grid-template-rows: auto minmax(0, 1fr) auto;
  padding: 11px 15px 8px;
}

.portfolio-metric-card--pnl .portfolio-metric-card__top {
  min-height: 23px;
  gap: 10px;
}

.portfolio-metric-card--pnl .portfolio-metric-card__label {
  font-size: 14px;
  letter-spacing: -0.015em;
}

.portfolio-performance__header-actions,
.portfolio-pnl__comparison,
.portfolio-performance__footer,
.portfolio-performance__footer > div {
  display: flex;
  align-items: center;
}

.portfolio-performance__header-actions {
  min-width: 0;
  justify-content: flex-end;
  gap: 0;
}

.portfolio-metric-card--pnl .portfolio-detail-link {
  gap: 5px;
  min-height: 18px;
  color: #96969e;
  font-size: 12px;
}

.portfolio-metric-card--pnl .portfolio-detail-link span { font-size: 13px; }

.portfolio-metric-card--pnl .portfolio-pnl {
  display: grid;
  min-height: 68px;
  grid-template-columns: 155px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  margin-top: 2px;
}

.portfolio-metric-card--pnl .portfolio-pnl__value {
  display: flex;
  align-self: center;
  width: auto;
  min-width: 0;
  flex-direction: column;
  padding: 0;
}

.portfolio-metric-card--pnl .portfolio-pnl__value > .portfolio-change {
  margin-bottom: 4px;
  font-size: 12px;
  line-height: 1.1;
  transform: translateY(-2px);
}

.portfolio-metric-card--pnl .portfolio-pnl__value > strong {
  margin-top: 2px;
  font-size: 31px;
  line-height: 0.96;
}

.portfolio-metric-card--pnl .portfolio-pnl__value > strong small {
  margin-left: 2px;
  font-size: 0.47em;
}

.portfolio-pnl__period {
  margin-top: 2px;
  color: #96969e;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.15;
}

.portfolio-pnl__comparison {
  gap: 3px;
  margin-top: 2px;
  color: #3ee0aa;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.portfolio-pnl__comparison b {
  font-size: 13px;
  font-weight: 700;
}

.portfolio-pnl__comparison em {
  color: #8f8f97;
  font-style: normal;
  font-weight: 600;
}

.portfolio-pnl__visual {
  display: grid;
  min-width: 0;
  align-self: stretch;
  grid-template-rows: minmax(0, 1fr) auto;
  padding-top: 2px;
}

.portfolio-metric-card--pnl .portfolio-pnl__chart {
  display: block;
  width: 100%;
  height: 57px;
  margin: 0;
  overflow: visible;
}

.portfolio-metric-card--pnl .portfolio-pnl__grid {
  fill: none;
  stroke: rgba(184, 184, 196, 0.22);
  stroke-width: 0.9;
  stroke-dasharray: 3 3;
}

.portfolio-metric-card--pnl .portfolio-pnl__grid--soft {
  stroke: rgba(192, 188, 204, 0.3);
  opacity: 0.82;
  filter: url(#portfolioPnlGridBlur);
}

.portfolio-metric-card--pnl .portfolio-pnl__area {
  fill: url(#portfolioPnlArea);
  stroke: none;
}

.portfolio-metric-card--pnl .portfolio-pnl__line {
  stroke: #a16aff;
  stroke-width: 1.8;
  filter:
    drop-shadow(0 0 2px rgba(169, 112, 255, 0.76))
    drop-shadow(0 0 7px rgba(128, 64, 255, 0.38));
}

.portfolio-metric-card--pnl .portfolio-pnl__points circle {
  fill: #f3ebff;
  stroke: #9f67ff;
  stroke-width: 1.7;
  filter:
    drop-shadow(0 0 2px rgba(190, 151, 255, 0.8))
    drop-shadow(0 0 6px rgba(129, 64, 255, 0.42));
}

.portfolio-pnl__axis {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: -1px;
  padding: 0 1px;
  color: #85858d;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

.portfolio-performance__footer {
  min-width: 0;
  min-height: 27px;
  justify-content: stretch;
  margin-top: 4px;
  padding-top: 7px;
  border-top: 1px solid rgba(180, 180, 190, 0.14);
}

.portfolio-performance__footer > div {
  min-width: 0;
  flex: 1 1 50%;
  gap: 6px;
  justify-content: center;
  color: #96969e;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.portfolio-performance__footer > div + div {
  justify-content: center;
  padding-left: 12px;
  border-left: 1px solid rgba(180, 180, 190, 0.17);
}

.portfolio-performance__footer strong {
  color: #efeff2;
  font-size: 12px;
  font-weight: 700;
}

.portfolio-performance__footer em {
  color: #3ee0aa;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

@media (min-width: 1501px) {
  .portfolio-summary__grid {
    grid-template-rows: 224px 182px;
  }

  .portfolio-metric-card--value,
  .portfolio-summary__grid > .community-card {
    min-height: 420px;
  }

  .portfolio-summary[data-portfolio-variant="v2"] .portfolio-value-card__breakdown {
    transform: translateY(0);
  }

  .portfolio-metric-card--pnl {
    min-height: 224px;
    padding: 16px 18px 12px;
  }

  .portfolio-metric-card--allocation {
    min-height: 182px;
  }

  .portfolio-metric-card--pnl .portfolio-metric-card__top {
    display: grid;
    min-height: 25px;
    grid-template-columns: 170px minmax(0, 1fr);
    column-gap: 14px;
  }

  .portfolio-metric-card--pnl .portfolio-performance__header-actions {
    width: 100%;
    justify-content: flex-end;
    gap: 0;
    padding-left: 0;
  }

  .portfolio-metric-card--pnl .portfolio-pnl {
    min-height: 124px;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 14px;
    margin-top: 5px;
  }

  .portfolio-metric-card--pnl .portfolio-pnl__value > strong {
    margin-top: 4px;
    font-size: 40px;
  }

  .portfolio-pnl__period { margin-top: 4px; }
  .portfolio-pnl__comparison {
    margin-top: 14px;
    transform: translateY(6px);
  }

  .portfolio-pnl__visual { padding-top: 3px; }

  .portfolio-metric-card--pnl .portfolio-pnl__chart {
    height: 100px;
  }

  .portfolio-performance__footer {
    min-height: 31px;
    margin-top: 7px;
    padding-top: 9px;
  }

  .portfolio-value-card__body { gap: 32px; }

  .portfolio-summary__grid > .community-card h2 {
    margin-top: 30px;
  }

  .portfolio-summary__grid > .community-card .community-card__members {
    margin-top: 16px;
  }

  .portfolio-summary__grid > .community-card .community-card__post {
    margin-top: 13px;
    padding-block: 14px 16px;
  }

  .portfolio-summary__grid > .community-card .community-card__cta {
    bottom: 21px;
  }
}

@media (max-width: 1120px) {
  .portfolio-performance__header-actions { gap: 8px; }
}

.deposit-button,
.bots-pro-button,
.task-action,
.staking-actions button:first-child,
.browse-bots,
.trading-bot-card__activate:not(:disabled),
.modal-primary {
  border: 1px solid rgba(205, 183, 255, 0.38);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(110deg, #5b24d3 0%, #7733ff 46%, #a467ff 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), inset 0 -1px 0 rgba(46, 12, 104, 0.42), 0 9px 24px rgba(82, 31, 178, 0.24);
  text-shadow: 0 1px 0 rgba(31, 9, 69, 0.3);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.deposit-button:hover,
.bots-pro-button:hover,
.task-action:hover,
.staking-actions button:first-child:hover,
.browse-bots:hover,
.trading-bot-card__activate:hover:not(:disabled),
.modal-primary:hover {
  border-color: rgba(225, 213, 255, 0.64);
  color: #fff;
  background: linear-gradient(110deg, #682be6 0%, #843fff 48%, #b177ff 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34), 0 12px 30px rgba(91, 38, 188, 0.34);
  transform: translateY(-2px);
}

.staking-actions button + button,
.title-row > button,
.eyebrow-row button,
.my-bot-details {
  border: 1px solid rgba(166, 133, 222, 0.26);
  border-radius: 999px;
  color: #e8e0ef;
  background: linear-gradient(180deg, rgba(29, 21, 41, 0.76), rgba(12, 9, 18, 0.88));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 22px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.bots-filters,
.my-bots-filters {
  border-color: rgba(159, 119, 230, 0.22);
  background: linear-gradient(180deg, rgba(22, 16, 31, 0.88), rgba(9, 7, 14, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.bots-filters,
.bots-filters button { border-radius: 999px; }

.my-bots-filters { border-radius: 13px; }

.my-bots-filters button { border-radius: 10px; }

.bots-filters button.active,
.my-bots-filters button.active {
  color: #fff;
  background: linear-gradient(110deg, #6428dc, #8a52ff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 6px 18px rgba(85, 35, 171, 0.22);
}
