.marketap-sim-shell {
  --mt-bg: #0b0e11;
  --mt-bg-soft: #11161d;
  --mt-panel: #161a20;
  --mt-panel-2: #1e2329;
  --mt-panel-3: #242a32;
  --mt-line: rgba(234, 236, 239, .11);
  --mt-line-strong: rgba(234, 236, 239, .18);
  --mt-text: #f5f5f5;
  --mt-muted: #848e9c;
  --mt-muted-2: #b7bdc6;
  --mt-yellow: #f0b90b;
  --mt-yellow-2: #f8d33a;
  --mt-yellow-soft: rgba(240, 185, 11, .14);
  --mt-green: #0ecb81;
  --mt-red: #f6465d;
  --mt-radius: 14px;
  --mt-radius-lg: 22px;
  --mt-shadow: 0 22px 60px rgba(0, 0, 0, .34);
  --mt-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  position: relative;
  width: 100%;
  color: var(--mt-text);
  border: 1px solid var(--mt-line);
  border-radius: var(--mt-radius-lg);
  background:
    radial-gradient(circle at 12% 0%, rgba(240, 185, 11, .10), transparent 28rem),
    linear-gradient(180deg, #11161d 0%, #0b0e11 100%);
  box-shadow: var(--mt-shadow);
  padding: clamp(16px, 2.6vw, 28px);
  font-family: var(--mt-font);
}

.marketap-sim-shell *,
.marketap-sim-shell *::before,
.marketap-sim-shell *::after {
  box-sizing: border-box;
}

.marketap-sim-shell [hidden] {
  display: none !important;
}

.marketap-sim-shell button,
.marketap-sim-shell input,
.marketap-sim-shell select {
  font: inherit;
}

.marketap-sim-topbar,
.marketap-sim-panel-head,
.marketap-sim-layout,
.marketap-sim-wallet {
  display: grid;
  gap: 14px;
}

.marketap-sim-topbar {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  margin-bottom: 16px;
}

.marketap-sim-kicker,
.marketap-trade-eyebrow,
.marketap-trade-account span,
.marketap-trade-account small,
.marketap-trade-pills span,
.marketap-trade-preview span,
.marketap-sim-wallet span,
.marketap-sim-panel-head span {
  color: var(--mt-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.marketap-sim-kicker {
  margin: 0 0 7px;
  color: var(--mt-yellow);
}

.marketap-sim-topbar h1 {
  margin: 0;
  color: var(--mt-text);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -.03em;
}

.marketap-sim-subtitle,
.marketap-sim-disclaimer,
.marketap-sim-muted {
  color: var(--mt-muted);
  font-size: 14px;
  line-height: 1.55;
}

.marketap-sim-subtitle {
  max-width: 560px;
  margin: 9px 0 0;
}

.marketap-sim-muted.is-error {
  color: var(--mt-red);
}

.marketap-sim-user {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  color: var(--mt-muted-2);
}

.marketap-sim-user span,
.marketap-sim-user strong,
.marketap-sim-status,
.marketap-sim-warning,
.marketap-sim-alert {
  border: 1px solid var(--mt-line);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
}

.marketap-sim-user span,
.marketap-sim-user strong {
  padding: 9px 12px;
  font-size: 13px;
}

.marketap-sim-user strong {
  color: var(--mt-yellow);
}

.marketap-sim-warning,
.marketap-sim-alert {
  margin-top: 12px;
  padding: 11px 13px;
  color: #f8d33a;
  font-weight: 750;
  background: rgba(240, 185, 11, .08);
}

.marketap-sim-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 11px 12px 11px 14px;
  border-radius: var(--mt-radius);
  color: var(--mt-muted-2);
}

.marketap-sim-status strong {
  color: var(--mt-yellow);
}

.marketap-sim-status button,
.marketap-trade-hero__side button,
.marketap-sim-tabs button,
.marketap-sim-quick button,
.marketap-sim-table-wrap button,
.marketap-mobile-tabs button,
.marketap-sim-asset,
.marketap-sim-button {
  appearance: none;
  border: 1px solid var(--mt-line);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease, opacity .18s ease;
}

.marketap-sim-status button,
.marketap-trade-hero__side button {
  padding: 9px 12px;
  border-color: rgba(240,185,11,.34);
  background: var(--mt-yellow-soft);
  color: var(--mt-yellow);
  font-weight: 850;
}

.marketap-sim-status button:disabled,
.marketap-sim-button:disabled,
.marketap-sim-table-wrap button:disabled {
  opacity: .48;
  cursor: not-allowed;
}

.marketap-sim-wallet {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 18px 0;
}

.marketap-sim-wallet article,
.marketap-sim-panel,
.marketap-sim-gate {
  border: 1px solid var(--mt-line);
  border-radius: var(--mt-radius);
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  box-shadow: 0 14px 34px rgba(0,0,0,.18);
}

.marketap-sim-wallet article {
  min-width: 0;
  padding: 14px;
}

.marketap-sim-wallet article:first-child {
  border-color: rgba(240,185,11,.38);
  background: linear-gradient(180deg, rgba(240,185,11,.15), rgba(255,255,255,.02));
}

.marketap-sim-wallet strong {
  display: block;
  margin-top: 7px;
  color: var(--mt-text);
  font-size: clamp(17px, 2.1vw, 24px);
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.marketap-sim-wallet article:first-child strong {
  color: var(--mt-yellow);
}

.marketap-sim-layout {
  grid-template-columns: minmax(320px, .88fr) minmax(430px, 1.12fr);
  align-items: start;
}

.marketap-sim-panel {
  padding: 16px;
  margin-bottom: 18px;
}

.marketap-sim-panel-head {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  margin-bottom: 14px;
}

.marketap-sim-panel h2,
.marketap-sim-panel-head h3 {
  margin: 0;
  color: var(--mt-text);
  font-size: 20px;
  letter-spacing: -.02em;
}

.marketap-sim-trade-panel {
  position: relative;
}

.marketap-trade-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px;
  border: 1px solid rgba(240,185,11,.28);
  border-radius: var(--mt-radius);
  background:
    radial-gradient(circle at 82% 0%, rgba(240,185,11,.24), transparent 12rem),
    linear-gradient(180deg, rgba(240,185,11,.11), rgba(255,255,255,.026));
  padding: 16px;
}

.marketap-trade-hero h2 {
  margin: 6px 0 0;
  color: var(--mt-text);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
}

.marketap-trade-hero strong {
  display: block;
  margin-top: 8px;
  color: var(--mt-yellow);
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1;
  letter-spacing: -.04em;
}

.marketap-trade-hero__side {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.marketap-trade-hero__side > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(14,203,129,.10);
  color: var(--mt-green);
  font-size: 14px;
  font-weight: 900;
}

.marketap-trade-account {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr);
  gap: 10px;
  margin-top: 12px;
  border: 1px solid rgba(240,185,11,.34);
  border-radius: 16px;
  background:
    radial-gradient(circle at 16% 0%, rgba(240,185,11,.20), transparent 13rem),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.018));
  padding: 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.marketap-trade-account__main,
.marketap-trade-account__meta div {
  min-width: 0;
}

.marketap-trade-account__main strong {
  display: block;
  margin: 7px 0 6px;
  color: var(--mt-yellow);
  font-size: clamp(34px, 7vw, 58px);
  line-height: .95;
  letter-spacing: -.04em;
  overflow-wrap: anywhere;
}

.marketap-trade-account__main small b {
  color: var(--mt-text);
  font-size: 12px;
}

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

.marketap-trade-account__meta div {
  border: 1px solid var(--mt-line);
  border-radius: 12px;
  background: rgba(8,10,14,.52);
  padding: 10px;
}

.marketap-trade-account__meta strong {
  display: block;
  margin-top: 5px;
  color: var(--mt-text);
  font-size: 15px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.marketap-sim-tabs,
.marketap-sim-quick {
  display: grid;
  gap: 8px;
}

.marketap-sim-tabs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 12px 0;
  padding: 5px;
  border: 1px solid var(--mt-line);
  border-radius: 14px;
  background: #0f141b;
}

.marketap-sim-tabs button,
.marketap-sim-quick button {
  min-height: 42px;
  background: transparent;
  color: var(--mt-muted-2);
  font-weight: 850;
  white-space: nowrap;
}

.marketap-sim-tabs button.is-active,
.marketap-mobile-tabs button.is-active {
  border-color: rgba(240,185,11,.55);
  background: var(--mt-yellow);
  color: #111;
}

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

.marketap-trade-pills {
  margin-bottom: 12px;
}

.marketap-trade-pills div,
.marketap-trade-preview div {
  min-width: 0;
  border: 1px solid var(--mt-line);
  border-radius: 12px;
  background: rgba(255,255,255,.035);
  padding: 11px;
}

.marketap-trade-pills strong,
.marketap-trade-preview strong {
  display: block;
  margin-top: 6px;
  color: var(--mt-text);
  font-size: 15px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.marketap-trade-preview {
  margin: 12px 0;
}

.marketap-trade-preview [hidden] {
  display: none !important;
}

.marketap-trade-preview__position {
  grid-column: 1 / -1;
}

.marketap-holdings-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 2px 0 10px;
  scrollbar-width: none;
}

.marketap-holdings-strip::-webkit-scrollbar {
  display: none;
}

.marketap-holdings-strip button {
  flex: 0 0 124px;
  border: 1px solid rgba(14,203,129,.35);
  border-radius: 12px;
  background: rgba(14,203,129,.08);
  color: var(--mt-text);
  padding: 10px;
  text-align: left;
}

.marketap-holdings-strip strong,
.marketap-holdings-strip span,
.marketap-holdings-strip em {
  display: block;
  font-style: normal;
}

.marketap-holdings-strip strong {
  color: var(--mt-green);
}

.marketap-holdings-strip span,
.marketap-holdings-strip em,
.marketap-holdings-strip.is-empty {
  color: var(--mt-muted);
  font-size: 12px;
}

.marketap-holdings-strip.is-empty {
  border: 1px dashed var(--mt-line);
  border-radius: 12px;
  padding: 10px;
}

.marketap-sim-field {
  display: block;
}

.marketap-sim-field > span {
  display: block;
  margin: 0 0 8px;
  color: var(--mt-muted-2);
  font-size: 13px;
  font-weight: 800;
}

.marketap-input-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--mt-line-strong);
  border-radius: 14px;
  background: #0b0e11;
  padding: 4px 12px 4px 0;
}

.marketap-input-shell:focus-within {
  border-color: rgba(240,185,11,.70);
  box-shadow: 0 0 0 3px rgba(240,185,11,.12);
}

.marketap-input-shell input {
  width: 100%;
  min-height: 56px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--mt-text);
  padding: 12px 14px;
  font-size: 24px;
  font-weight: 800;
}

.marketap-input-shell b {
  color: var(--mt-yellow);
  font-size: 13px;
  font-weight: 950;
}

.marketap-sim-quick {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 12px 0;
}

.marketap-sim-quick button {
  background: #11161d;
}

.marketap-sim-quick button:hover,
.marketap-sim-asset:hover,
.marketap-sim-asset:focus-visible,
.marketap-sim-table-wrap button:hover {
  border-color: rgba(240,185,11,.45);
  color: var(--mt-yellow);
}

.marketap-sim-button {
  width: 100%;
  min-height: 54px;
  border: 0;
  background: var(--mt-yellow);
  color: #111;
  box-shadow: 0 18px 36px rgba(240,185,11,.18);
  font-size: 16px;
  font-weight: 950;
}

.marketap-sim-trade-panel.is-sell-mode .marketap-sim-confirm {
  background: var(--mt-red);
  color: #fff;
}

.marketap-sim-trade-panel.is-sell-blocked .marketap-sim-confirm {
  background: rgba(246,70,93,.38);
  color: rgba(255,255,255,.76);
}

.marketap-sim-asset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}

.marketap-sim-asset {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  width: 100%;
  min-height: 78px;
  padding: 12px;
  text-align: left;
  color: var(--mt-text);
  background: #11161d;
}

.marketap-sim-asset strong,
.marketap-sim-asset small,
.marketap-sim-asset b,
.marketap-sim-asset em,
.marketap-sim-asset i {
  display: block;
  font-style: normal;
}

.marketap-sim-asset strong,
.marketap-sim-asset b {
  color: var(--mt-text);
}

.marketap-sim-asset small,
.marketap-sim-asset em,
.marketap-sim-asset i {
  color: var(--mt-muted);
  font-size: 11px;
}

.marketap-sim-asset.is-active {
  border-color: rgba(240,185,11,.72);
  box-shadow: inset 0 0 0 1px rgba(240,185,11,.28);
}

.marketap-sim-asset.has-position {
  border-color: rgba(14,203,129,.48);
}

.marketap-sim-asset.no-position {
  border-color: rgba(246,70,93,.40);
}

.is-up {
  color: var(--mt-green) !important;
}

.is-down {
  color: var(--mt-red) !important;
}

.marketap-sim-chart {
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--mt-line);
  border-radius: var(--mt-radius);
  background: #05070a;
}

.marketap-sim-chart iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}

.marketap-chart-details {
  margin-top: 14px;
}

.marketap-chart-details summary {
  cursor: pointer;
  color: var(--mt-muted-2);
  font-size: 13px;
  font-weight: 850;
}

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

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

.marketap-sim-table-wrap table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.marketap-sim-table-wrap th,
.marketap-sim-table-wrap td {
  border-bottom: 1px solid var(--mt-line);
  padding: 12px 10px;
  text-align: left;
}

.marketap-sim-table-wrap th {
  color: var(--mt-muted);
  font-size: 12px;
  text-transform: uppercase;
}

.marketap-sim-table-wrap td {
  color: var(--mt-muted-2);
  font-size: 14px;
}

.marketap-sim-table-wrap button {
  padding: 8px 10px;
  background: rgba(240,185,11,.10);
  color: var(--mt-yellow);
  font-weight: 850;
}

.marketap-side {
  display: inline-flex;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 900;
}

.marketap-side--buy {
  background: rgba(14,203,129,.12);
  color: var(--mt-green);
}

.marketap-side--sell {
  background: rgba(246,70,93,.12);
  color: var(--mt-red);
}

.marketap-sim-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0,0,0,.80);
}

.marketap-sim-modal__panel {
  width: min(620px, 100%);
  border: 1px solid var(--mt-line);
  border-radius: var(--mt-radius-lg);
  background: #11161d;
  color: var(--mt-text);
  box-shadow: var(--mt-shadow);
  padding: 22px;
}

.marketap-sim-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 18px 0;
  color: var(--mt-muted-2);
  line-height: 1.5;
}

.marketap-sim-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.marketap-sim-gate {
  max-width: 720px;
  margin: 20px auto;
  padding: 24px;
}

.marketap-toast-wrap {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 100000;
  display: grid;
  gap: 10px;
  width: min(360px, calc(100vw - 28px));
}

.marketap-toast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transform: translateY(12px);
  opacity: 0;
  border: 1px solid var(--mt-line);
  border-radius: 14px;
  background: #11161d;
  box-shadow: var(--mt-shadow);
  color: var(--mt-text);
  padding: 14px;
  transition: transform .22s ease, opacity .22s ease;
}

.marketap-toast.is-showing {
  transform: translateY(0);
  opacity: 1;
}

.marketap-toast strong,
.marketap-toast span {
  display: block;
}

.marketap-toast span {
  color: var(--mt-muted);
  font-size: 12px;
  margin-top: 3px;
}

.marketap-toast b {
  white-space: nowrap;
}

.marketap-toast--buy,
.marketap-toast.is-up {
  border-color: rgba(14,203,129,.45);
}

.marketap-toast--sell.is-down {
  border-color: rgba(246,70,93,.45);
}

.marketap-sim-shell :focus-visible {
  outline: 2px solid var(--mt-yellow);
  outline-offset: 2px;
}

body.marketap-home-sections-arranged {
  background: #0b0e11 !important;
}

body.marketap-home-sections-arranged .elementor-439 {
  background:
    radial-gradient(circle at 18% 0%, rgba(240,185,11,.10), transparent 26rem),
    radial-gradient(circle at 88% 12%, rgba(240,185,11,.055), transparent 30rem),
    linear-gradient(180deg, #0b0e11 0%, #090c10 100%) !important;
}

body.marketap-home-sections-arranged .marketap-empty-origin {
  display: none !important;
}

body.marketap-home-sections-arranged .mmls {
  overflow: visible !important;
  background: transparent !important;
  color: #f5f5f5 !important;
  padding: clamp(16px, 3vw, 34px) clamp(12px, 3vw, 32px) clamp(34px, 5vw, 72px) !important;
  font-family: var(--mt-font) !important;
}

body.marketap-home-sections-arranged .marketap-home-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(1180px, 100%);
  margin: 0 auto 14px;
  padding: 8px;
  border: 1px solid rgba(234,236,239,.10);
  border-radius: 999px;
  background: rgba(11,14,17,.84);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 38px rgba(0,0,0,.32);
}

body.marketap-home-sections-arranged .marketap-home-nav strong {
  margin: 0 8px 0 6px;
  color: #f5f5f5;
  font-size: 14px;
}

body.marketap-home-sections-arranged .marketap-home-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: #b7bdc6;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

body.marketap-home-sections-arranged .marketap-home-nav a:hover,
body.marketap-home-sections-arranged .marketap-home-nav a:focus-visible {
  background: rgba(240,185,11,.12);
  color: #f0b90b;
}

body.marketap-home-sections-arranged .marketap-section-card {
  width: min(1180px, 100%) !important;
  max-width: 1180px !important;
  margin: 0 auto clamp(22px, 4vw, 54px) !important;
  border: 1px solid rgba(234,236,239,.10) !important;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at 14% 0%, rgba(240,185,11,.08), transparent 22rem),
    linear-gradient(180deg, rgba(22,26,32,.98), rgba(11,14,17,.98)) !important;
  box-shadow: 0 34px 90px rgba(0,0,0,.44), inset 0 1px 0 rgba(255,255,255,.05) !important;
  overflow: hidden !important;
}

body.marketap-home-sections-arranged .mmls-hero-shell,
body.marketap-home-sections-arranged .mmls-dashboard,
body.marketap-home-sections-arranged .mmls-calculator-section {
  padding: clamp(18px, 3vw, 38px) !important;
}

body.marketap-home-sections-arranged .marketap-section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: #f5f5f5;
}

body.marketap-home-sections-arranged .marketap-section-label > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(240,185,11,.36);
  border-radius: 50%;
  background: rgba(240,185,11,.12);
  color: #f0b90b;
  font-size: 12px;
  font-weight: 950;
}

body.marketap-home-sections-arranged .marketap-section-label b,
body.marketap-home-sections-arranged .marketap-section-label strong {
  display: block;
}

body.marketap-home-sections-arranged .marketap-section-label b,
body.marketap-home-sections-arranged .mmls-kicker,
body.marketap-home-sections-arranged .mmls-pill {
  color: #f0b90b !important;
}

body.marketap-home-sections-arranged .marketap-section-label b {
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body.marketap-home-sections-arranged .marketap-section-label strong {
  margin-top: 2px;
  color: #f5f5f5;
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1;
  letter-spacing: -.03em;
}

body.marketap-home-sections-arranged .mmls-hero {
  min-height: min(820px, 88vh) !important;
}

body.marketap-home-sections-arranged .mmls h1 {
  color: #f5f5f5 !important;
  letter-spacing: -.045em !important;
}

body.marketap-home-sections-arranged .mmls-pill,
body.marketap-home-sections-arranged .mmls-tabs button,
body.marketap-home-sections-arranged .mmls-search,
body.marketap-home-sections-arranged .mmls-controls select,
body.marketap-home-sections-arranged .mmls-input-wrap select,
body.marketap-home-sections-arranged .mmls-input-wrap input {
  border-color: rgba(234,236,239,.12) !important;
  background: rgba(255,255,255,.045) !important;
  box-shadow: none !important;
}

body.marketap-home-sections-arranged .mmls-tabs button.active {
  border-color: rgba(240,185,11,.50) !important;
  background: #f0b90b !important;
  color: #111 !important;
}

body.marketap-home-sections-arranged .mmls-panel,
body.marketap-home-sections-arranged .mmls-calc-panel {
  border-color: rgba(234,236,239,.10) !important;
  border-radius: 18px !important;
  background: linear-gradient(180deg, rgba(30,35,41,.96), rgba(17,22,29,.96)) !important;
  box-shadow: none !important;
}

body.marketap-home-sections-arranged .mmls-dashboard {
  padding-top: clamp(18px, 3vw, 38px) !important;
}

body.marketap-home-sections-arranged .mmls-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

body.marketap-home-sections-arranged .mmls-card {
  min-height: 202px !important;
  border-color: rgba(234,236,239,.10) !important;
  border-radius: 16px !important;
  background:
    radial-gradient(circle at 85% 0%, rgba(240,185,11,.10), transparent 9rem),
    linear-gradient(180deg, #1e2329, #11161d) !important;
  box-shadow: 0 16px 34px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.04) !important;
}

body.marketap-home-sections-arranged .mmls-card:hover {
  border-color: rgba(240,185,11,.42) !important;
  transform: translateY(-2px) !important;
}

body.marketap-home-sections-arranged .mmls-card-price {
  color: #f5f5f5 !important;
  font-size: clamp(28px, 3vw, 40px) !important;
}

body.marketap-home-sections-arranged .mmls-card small,
body.marketap-home-sections-arranged .mmls-card-desc,
body.marketap-home-sections-arranged .mmls-card-cap,
body.marketap-home-sections-arranged .mmls-panel-head span,
body.marketap-home-sections-arranged .mmls-input-wrap span {
  color: #848e9c !important;
}

body.marketap-home-sections-arranged .mmls-token {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 8px 18px rgba(0,0,0,.22) !important;
}

body.marketap-home-sections-arranged .mmls-calc-result {
  color: #f0b90b !important;
}

body.marketap-home-sections-arranged .mmls-calc-chart,
body.marketap-home-sections-arranged .mmls-calc-stat,
body.marketap-home-sections-arranged .mmls-calc-mini-card {
  border-color: rgba(234,236,239,.10) !important;
  background: rgba(255,255,255,.035) !important;
}

body.marketap-home-sections-arranged .marketap-section-card--trade {
  padding: clamp(14px, 2.6vw, 30px) !important;
  --mt-bg: transparent;
  --mt-bg-soft: #11161d;
  --mt-panel: #161a20;
  --mt-panel-2: #1e2329;
  --mt-panel-3: #242a32;
  --mt-line: rgba(234,236,239,.11);
  --mt-line-strong: rgba(234,236,239,.18);
  --mt-text: #f5f5f5;
  --mt-muted: #848e9c;
  --mt-muted-2: #b7bdc6;
  --mt-yellow: #f0b90b;
  --mt-green: #0ecb81;
  --mt-red: #f6465d;
}

body.marketap-home-sections-arranged .marketap-section-card--trade.marketap-sim-shell {
  display: block;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at 84% 0%, rgba(240,185,11,.08), transparent 16rem),
    linear-gradient(180deg, rgba(22,26,32,.98), rgba(11,14,17,.98)) !important;
}

@media (max-width: 980px) {
  .marketap-sim-topbar,
  .marketap-sim-layout {
    grid-template-columns: 1fr;
  }

  .marketap-sim-wallet {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.marketap-home-sections-arranged .mmls-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  body.marketap-sim-app-mounted {
    overflow: visible;
  }

  .marketap-sim-shell {
    padding: 10px;
    border-radius: 0;
  }

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

  .marketap-sim-shell[data-mobile-view="trade"] .marketap-sim-topbar,
  .marketap-sim-shell[data-mobile-view="trade"] .marketap-sim-warning,
  .marketap-sim-shell[data-mobile-view="trade"] .marketap-sim-disclaimer,
  .marketap-sim-shell[data-mobile-view="trade"] .marketap-sim-status,
  .marketap-sim-shell[data-mobile-view="trade"] .marketap-sim-wallet {
    display: none;
  }

  .marketap-mobile-tabs {
    position: sticky;
    bottom: 0;
    z-index: 12;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin: 12px auto 0;
    max-width: 430px;
    padding: 6px;
    border: 1px solid var(--mt-line);
    border-radius: 14px;
    background: rgba(11,14,17,.92);
    backdrop-filter: blur(14px);
  }

  .marketap-mobile-tabs button {
    min-height: 42px;
    background: transparent;
    color: var(--mt-muted-2);
    padding: 8px 5px;
    font-size: 11px;
    font-weight: 850;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  [data-mobile-section] {
    display: none;
  }

  [data-mobile-section].is-mobile-active {
    display: block;
  }

  .marketap-sim-wallet {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin: 10px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .marketap-sim-wallet::-webkit-scrollbar {
    display: none;
  }

  .marketap-sim-wallet article {
    flex: 0 0 148px;
  }

  .marketap-sim-layout {
    display: block;
  }

  .marketap-sim-trade-panel {
    padding: 10px;
    margin: 0;
  }

  .marketap-trade-hero {
    padding: 12px;
  }

  .marketap-trade-hero h2 {
    font-size: 22px;
  }

  .marketap-trade-hero strong {
    font-size: 32px;
  }

  .marketap-trade-account {
    grid-template-columns: 1fr;
    margin-top: 10px;
    padding: 12px;
  }

  .marketap-trade-account__meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .marketap-trade-account__main strong {
    font-size: clamp(40px, 15vw, 64px);
  }

  .marketap-input-shell input {
    min-height: 54px;
    font-size: 28px;
  }

  .marketap-sim-confirm {
    position: sticky;
    bottom: 66px;
    z-index: 10;
  }

  .marketap-chart-details:not([open]) {
    margin-bottom: 0;
  }

  .marketap-sim-chart {
    min-height: 220px;
  }

  .marketap-sim-chart iframe {
    height: 220px;
  }

  .marketap-sim-asset-grid {
    grid-template-columns: 1fr 1fr;
  }

  .marketap-sim-table-wrap table {
    min-width: 0;
    width: 100%;
    display: block;
  }

  .marketap-sim-table-wrap thead {
    display: none;
  }

  .marketap-sim-table-wrap tbody {
    display: grid;
    gap: 10px;
  }

  .marketap-sim-table-wrap tr {
    display: grid;
    gap: 8px;
    border: 1px solid var(--mt-line);
    border-radius: 12px;
    background: rgba(255,255,255,.035);
    padding: 12px;
  }

  .marketap-sim-table-wrap td {
    display: grid;
    grid-template-columns: minmax(86px, .85fr) minmax(0, 1fr);
    gap: 10px;
    border: 0;
    padding: 0;
    text-align: right;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .marketap-sim-table-wrap td::before {
    content: attr(data-label);
    color: var(--mt-muted);
    font-size: 11px;
    font-weight: 900;
    text-align: left;
    text-transform: uppercase;
  }

  .marketap-sim-table-wrap td[colspan] {
    display: block;
    text-align: left;
  }

  .marketap-sim-table-wrap td[colspan]::before {
    content: "";
  }

  .marketap-toast-wrap {
    left: 10px;
    right: 10px;
    bottom: 10px;
    width: auto;
  }

  .marketap-sim-modal {
    align-items: end;
    place-items: end center;
    padding: 12px;
  }

  .marketap-sim-modal__panel {
    max-height: min(620px, calc(100dvh - 28px));
    overflow-y: auto;
    padding: 20px;
  }

  body.marketap-home-sections-arranged .mmls {
    padding: 12px 8px 30px !important;
  }

  body.marketap-home-sections-arranged .marketap-home-nav {
    overflow-x: auto;
    justify-content: flex-start;
    border-radius: 16px;
    scrollbar-width: none;
  }

  body.marketap-home-sections-arranged .marketap-home-nav::-webkit-scrollbar {
    display: none;
  }

  body.marketap-home-sections-arranged .marketap-home-nav a {
    flex: 0 0 auto;
  }

  body.marketap-home-sections-arranged .marketap-section-card {
    margin-bottom: 18px !important;
    border-radius: 20px !important;
  }

  body.marketap-home-sections-arranged .mmls-hero-shell,
  body.marketap-home-sections-arranged .mmls-dashboard,
  body.marketap-home-sections-arranged .mmls-calculator-section {
    padding: 14px !important;
  }

  body.marketap-home-sections-arranged .mmls-hero {
    display: block !important;
    min-height: auto !important;
    padding: 0 0 12px !important;
  }

  body.marketap-home-sections-arranged .mmls h1 {
    margin-top: 16px !important;
    font-size: clamp(42px, 14vw, 58px) !important;
    letter-spacing: -.05em !important;
  }

  body.marketap-home-sections-arranged .mmls-meta-line {
    gap: 10px !important;
    margin: 18px 0 8px !important;
  }

  body.marketap-home-sections-arranged .mmls-meta-line span {
    font-size: 13px !important;
  }

  body.marketap-home-sections-arranged .mmls-stage {
    min-height: 410px !important;
    margin-top: 8px !important;
  }

  body.marketap-home-sections-arranged .marketap-section-label {
    margin-bottom: 12px;
  }

  body.marketap-home-sections-arranged .marketap-section-label > span {
    width: 34px;
    height: 34px;
  }

  body.marketap-home-sections-arranged .marketap-section-label strong {
    font-size: 24px;
  }

  body.marketap-home-sections-arranged .mmls-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  body.marketap-home-sections-arranged .mmls-card {
    min-height: 164px !important;
    border-radius: 14px !important;
    padding: 12px !important;
  }

  body.marketap-home-sections-arranged .mmls-card-price {
    font-size: 23px !important;
  }

  body.marketap-home-sections-arranged .mmls-card-head strong {
    font-size: 14px !important;
  }

  body.marketap-home-sections-arranged .mmls-card .mmls-spark svg {
    height: 50px !important;
  }

  body.marketap-home-sections-arranged .mmls-token {
    width: 36px !important;
    height: 36px !important;
    flex-basis: 36px !important;
    font-size: 14px !important;
  }
}

@media (max-width: 430px) {
  .marketap-trade-pills,
  .marketap-trade-preview {
    grid-template-columns: 1fr;
  }

  .marketap-sim-quick {
    gap: 6px;
  }

  .marketap-sim-quick button {
    font-size: 13px;
    padding-inline: 4px;
  }
}

/* Compact polish layer: keeps the trading app dense and app-like on mobile. */
html,
body.marketap-sim-app-mounted,
body.marketap-home-sections-arranged {
  background: #000 !important;
}

.marketap-sim-shell {
  --mt-radius: 11px;
  --mt-radius-lg: 16px;
  --mt-shadow: 0 14px 34px rgba(0,0,0,.32);
  padding: clamp(10px, 1.8vw, 18px);
}

.marketap-sim-topbar {
  margin-bottom: 10px;
}

.marketap-sim-topbar h1 {
  font-size: clamp(22px, 3vw, 34px);
}

.marketap-sim-subtitle,
.marketap-sim-disclaimer,
.marketap-sim-muted {
  font-size: 12px;
  line-height: 1.45;
}

.marketap-sim-wallet {
  gap: 9px;
  margin: 12px 0;
}

.marketap-sim-wallet article,
.marketap-sim-panel {
  padding: 11px;
}

.marketap-sim-panel {
  margin-bottom: 12px;
}

.marketap-sim-panel-head {
  margin-bottom: 10px;
}

.marketap-sim-panel h2,
.marketap-sim-panel-head h3 {
  font-size: 17px;
}

.marketap-trade-hero {
  padding: 11px;
}

.marketap-trade-hero h2 {
  font-size: clamp(20px, 2.4vw, 28px);
}

.marketap-trade-hero strong {
  font-size: clamp(24px, 3.6vw, 36px);
}

.marketap-trade-account {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 8px;
  margin-top: 8px;
  padding: 10px;
  border-radius: 13px;
}

.marketap-trade-account__main strong {
  margin: 4px 0;
  font-size: clamp(28px, 4.8vw, 42px);
}

.marketap-trade-account__meta {
  gap: 6px;
}

.marketap-trade-account__meta div,
.marketap-trade-pills div,
.marketap-trade-preview div {
  padding: 8px;
  border-radius: 10px;
}

.marketap-trade-account__meta strong,
.marketap-trade-pills strong,
.marketap-trade-preview strong {
  font-size: 13px;
}

.marketap-sim-tabs {
  margin: 8px 0;
}

.marketap-sim-tabs button,
.marketap-sim-quick button {
  min-height: 36px;
}

.marketap-holdings-strip {
  padding-bottom: 7px;
}

.marketap-holdings-strip button {
  flex-basis: 106px;
  padding: 8px;
}

.marketap-sim-field > span {
  margin-bottom: 6px;
  font-size: 12px;
}

.marketap-input-shell input {
  min-height: 46px;
  padding: 9px 12px;
  font-size: 20px;
}

.marketap-sim-quick {
  margin: 8px 0;
}

.marketap-sim-button {
  min-height: 46px;
  font-size: 14px;
}

.marketap-sim-asset-grid {
  gap: 8px;
}

.marketap-sim-asset {
  min-height: 62px;
  padding: 9px;
  border-radius: 10px;
}

.marketap-sim-chart,
.marketap-sim-chart iframe {
  min-height: 260px;
  height: 260px;
}

.marketap-sim-table-wrap th,
.marketap-sim-table-wrap td {
  padding: 9px 8px;
}

.marketap-sim-modal {
  padding: 12px;
  background: rgba(0,0,0,.66);
}

.marketap-sim-modal__panel {
  width: min(430px, 100%);
  max-height: min(520px, calc(100dvh - 24px));
  overflow-y: auto;
  border-color: rgba(17,24,39,.12);
  border-radius: 16px;
  background: #f7f8fb;
  color: #101418;
  box-shadow: 0 22px 60px rgba(0,0,0,.30);
  padding: 16px;
}

.marketap-sim-modal__panel h2 {
  margin: 0 0 8px;
  color: #101418;
  font-size: 21px;
  line-height: 1.12;
}

.marketap-sim-modal__panel p,
.marketap-sim-modal__panel .marketap-sim-check {
  color: #384250;
  font-size: 12.5px;
  line-height: 1.5;
}

.marketap-sim-modal__panel .marketap-sim-check {
  margin: 12px 0;
}

.marketap-sim-modal__panel .marketap-sim-button {
  box-shadow: none;
}

body.marketap-home-sections-arranged .elementor-439 {
  background: #000 !important;
}

body.marketap-home-sections-arranged .marketap-home-nav {
  width: min(1080px, 100%);
  margin-bottom: 10px;
  padding: 6px;
}

body.marketap-home-sections-arranged .marketap-home-nav a,
body.marketap-home-sections-arranged .marketap-theme-toggle {
  min-height: 30px;
  padding: 0 10px;
  font-size: 12px;
}

body.marketap-home-sections-arranged .marketap-theme-toggle {
  margin-left: auto;
  appearance: none;
  border: 1px solid rgba(240,185,11,.38);
  border-radius: 999px;
  background: rgba(240,185,11,.12);
  color: #f0b90b;
  cursor: pointer;
  font-weight: 900;
}

body.marketap-home-sections-arranged .marketap-section-card {
  width: min(1080px, 100%) !important;
  max-width: 1080px !important;
  margin-bottom: clamp(14px, 2.4vw, 32px) !important;
  border-radius: 16px !important;
}

body.marketap-home-sections-arranged .mmls-hero-shell,
body.marketap-home-sections-arranged .mmls-dashboard,
body.marketap-home-sections-arranged .mmls-calculator-section {
  padding: clamp(12px, 2vw, 24px) !important;
}

body.marketap-home-sections-arranged .marketap-section-label {
  margin-bottom: 10px;
}

body.marketap-home-sections-arranged .marketap-section-label > span {
  width: 30px;
  height: 30px;
  font-size: 10px;
}

body.marketap-home-sections-arranged .marketap-section-label strong {
  font-size: clamp(18px, 2.4vw, 28px);
}

body.marketap-home-sections-arranged .mmls-hero {
  min-height: min(640px, 76vh) !important;
}

body.marketap-home-sections-arranged .mmls h1 {
  font-size: clamp(36px, 6vw, 74px) !important;
}

body.marketap-home-sections-arranged .mmls-stage {
  transform: scale(.88);
  transform-origin: center;
  min-height: 520px !important;
}

body.marketap-home-sections-arranged .mmls-canvas {
  filter: contrast(1.18) saturate(.78) brightness(1.15) drop-shadow(0 22px 34px rgba(0,0,0,.52)) !important;
}

body.marketap-home-sections-arranged .mmls-sphere-glow {
  opacity: 1 !important;
  background:
    radial-gradient(circle at 32% 22%, rgba(255,255,255,.96) 0 8%, rgba(235,238,242,.74) 9% 18%, transparent 19%),
    radial-gradient(circle at 54% 50%, rgba(255,255,255,.54), rgba(182,190,204,.34) 24%, rgba(72,78,90,.92) 58%, rgba(10,12,16,.98) 74%),
    conic-gradient(from 32deg, #f8fafc, #7b8494, #f0b90b, #252b35, #f8fafc, #939aa7, #0b0e11) !important;
  border: 1px solid rgba(255,255,255,.28) !important;
  box-shadow: inset 0 0 42px rgba(255,255,255,.34), inset 0 -52px 74px rgba(0,0,0,.58), 0 18px 52px rgba(0,0,0,.58) !important;
}

body.marketap-home-sections-arranged .mmls-orbit-chip {
  scale: .86;
  opacity: .82;
  transform-origin: center;
  transition: scale .36s ease, opacity .36s ease, filter .36s ease !important;
}

body.marketap-home-sections-arranged .mmls-orbit-chip.is-clickable {
  scale: .96;
}

body.marketap-home-sections-arranged .mmls-orbit-chip.is-active,
body.marketap-home-sections-arranged .mmls-orbit-chip:hover {
  z-index: 5;
  scale: 1.16;
  opacity: 1;
  filter: drop-shadow(0 16px 22px rgba(0,0,0,.38));
  animation: marketap-chip-front 1.8s ease-in-out infinite;
}

@keyframes marketap-chip-front {
  0%, 100% { rotate: -1.5deg; }
  50% { rotate: 1.5deg; }
}

body.marketap-home-sections-arranged .mmls-grid {
  gap: 9px !important;
}

body.marketap-home-sections-arranged .mmls-card {
  min-height: 156px !important;
  padding: 12px !important;
  border-radius: 12px !important;
}

body.marketap-home-sections-arranged .mmls-card-price {
  font-size: clamp(22px, 2.3vw, 32px) !important;
}

body.marketap-home-sections-arranged .mmls-panel,
body.marketap-home-sections-arranged .mmls-calc-panel {
  border-radius: 13px !important;
}

body.marketap-theme-light.marketap-home-sections-arranged,
body.marketap-theme-light.marketap-sim-app-mounted,
body.marketap-theme-light.marketap-home-sections-arranged .elementor-439 {
  background: #f4f6f8 !important;
}

body.marketap-theme-light .marketap-sim-shell {
  --mt-bg: #f4f6f8;
  --mt-bg-soft: #ffffff;
  --mt-panel: #ffffff;
  --mt-panel-2: #f3f5f8;
  --mt-panel-3: #eceff3;
  --mt-line: rgba(13,18,28,.12);
  --mt-line-strong: rgba(13,18,28,.18);
  --mt-text: #101418;
  --mt-muted: #687385;
  --mt-muted-2: #303946;
  background: linear-gradient(180deg, #fff, #f4f6f8) !important;
}

body.marketap-theme-light.marketap-home-sections-arranged .marketap-home-nav,
body.marketap-theme-light.marketap-home-sections-arranged .marketap-section-card,
body.marketap-theme-light.marketap-home-sections-arranged .mmls-panel,
body.marketap-theme-light.marketap-home-sections-arranged .mmls-calc-panel {
  border-color: rgba(13,18,28,.10) !important;
  background: #fff !important;
  box-shadow: 0 18px 42px rgba(15,23,42,.09) !important;
}

body.marketap-theme-light.marketap-home-sections-arranged .marketap-home-nav strong,
body.marketap-theme-light.marketap-home-sections-arranged .marketap-section-label strong,
body.marketap-theme-light.marketap-home-sections-arranged .mmls h1,
body.marketap-theme-light.marketap-home-sections-arranged .mmls-card-price,
body.marketap-theme-light.marketap-home-sections-arranged .mmls-card strong,
body.marketap-theme-light.marketap-home-sections-arranged .mmls-panel h2,
body.marketap-theme-light.marketap-home-sections-arranged .mmls-calc-panel h2 {
  color: #101418 !important;
}

body.marketap-theme-light.marketap-home-sections-arranged .marketap-home-nav a,
body.marketap-theme-light.marketap-home-sections-arranged .mmls-card small,
body.marketap-theme-light.marketap-home-sections-arranged .mmls-card-desc,
body.marketap-theme-light.marketap-home-sections-arranged .mmls-card-cap {
  color: #687385 !important;
}

body.marketap-theme-light.marketap-home-sections-arranged .mmls-card {
  border-color: rgba(13,18,28,.10) !important;
  background: linear-gradient(180deg, #fff, #f1f4f8) !important;
  box-shadow: 0 14px 26px rgba(15,23,42,.08) !important;
}

body.marketap-theme-light.marketap-home-sections-arranged .mmls-tabs button,
body.marketap-theme-light.marketap-home-sections-arranged .mmls-search,
body.marketap-theme-light.marketap-home-sections-arranged .mmls-controls select,
body.marketap-theme-light.marketap-home-sections-arranged .mmls-input-wrap select,
body.marketap-theme-light.marketap-home-sections-arranged .mmls-input-wrap input {
  border-color: rgba(13,18,28,.12) !important;
  background: #fff !important;
  color: #101418 !important;
}

body.marketap-theme-light .marketap-input-shell,
body.marketap-theme-light .marketap-sim-tabs,
body.marketap-theme-light .marketap-sim-quick button,
body.marketap-theme-light .marketap-sim-asset,
body.marketap-theme-light .marketap-sim-chart {
  background: #fff !important;
}

@media (max-width: 760px) {
  .marketap-sim-shell {
    padding: 8px;
  }

  .marketap-sim-trade-panel {
    padding: 8px;
  }

  .marketap-trade-hero {
    padding: 9px;
  }

  .marketap-trade-hero h2 {
    font-size: 19px;
  }

  .marketap-trade-hero strong {
    font-size: 27px;
  }

  .marketap-trade-account {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
    padding: 9px;
  }

  .marketap-trade-account__main strong {
    font-size: clamp(32px, 11vw, 46px);
  }

  .marketap-input-shell input {
    min-height: 44px;
    font-size: 19px;
  }

  .marketap-sim-confirm {
    bottom: 60px;
  }

  .marketap-sim-modal {
    align-items: center;
    place-items: center;
  }

  .marketap-sim-modal__panel {
    width: min(360px, calc(100vw - 24px));
    max-height: min(500px, calc(100dvh - 24px));
    padding: 14px;
  }

  body.marketap-home-sections-arranged .marketap-home-nav {
    padding: 5px;
  }

  body.marketap-home-sections-arranged .marketap-theme-toggle {
    margin-left: 0;
  }

  body.marketap-home-sections-arranged .mmls-stage {
    height: 330px !important;
    min-height: 330px !important;
    max-height: 330px !important;
    margin-top: 0 !important;
    transform: scale(.82);
  }

  body.marketap-home-sections-arranged .mmls-canvas,
  body.marketap-home-sections-arranged .mmls-orbits {
    height: 330px !important;
    min-height: 330px !important;
    max-height: 330px !important;
  }

  body.marketap-home-sections-arranged .mmls-sphere-glow {
    width: 245px !important;
    height: 245px !important;
  }

  body.marketap-home-sections-arranged .mmls-orbit-chip {
    scale: .76;
  }

  body.marketap-home-sections-arranged .mmls-orbit-chip.is-clickable {
    scale: .84;
  }

  body.marketap-home-sections-arranged .mmls-orbit-chip.is-active,
  body.marketap-home-sections-arranged .mmls-orbit-chip:hover {
    scale: 1.04;
  }

  body.marketap-home-sections-arranged .mmls-card {
    min-height: 108px !important;
    height: auto !important;
    padding: 9px !important;
  }

  body.marketap-home-sections-arranged .mmls-card-head {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  body.marketap-home-sections-arranged .mmls-card-head > div {
    min-width: 0 !important;
  }

  body.marketap-home-sections-arranged .mmls-card-head strong,
  body.marketap-home-sections-arranged .mmls-card-head small {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  body.marketap-home-sections-arranged .mmls-card-price {
    font-size: 18px !important;
    margin-top: 4px !important;
    line-height: 1.1 !important;
  }

  body.marketap-home-sections-arranged .mmls-card-change {
    margin-top: 3px !important;
  }

  body.marketap-home-sections-arranged .mmls-card-desc,
  body.marketap-home-sections-arranged .mmls-card-cap {
    display: none !important;
  }

  body.marketap-home-sections-arranged .mmls-card .mmls-spark svg {
    height: 32px !important;
  }

  body.marketap-home-sections-arranged .mmls-spark {
    display: none !important;
  }

  body.marketap-home-sections-arranged .mmls-token {
    width: 30px !important;
    height: 30px !important;
    flex-basis: 30px !important;
    font-size: 12px !important;
  }

  .marketap-trade-account {
    gap: 7px;
  }

  .marketap-trade-account__main strong {
    font-size: clamp(29px, 9vw, 38px);
  }

  .marketap-trade-account__meta div {
    padding: 7px;
  }
}

@media (max-width: 360px) {
  .marketap-trade-account {
    grid-template-columns: 1fr;
  }
}

body.marketap-theme-dark.marketap-home-sections-arranged,
body.marketap-theme-dark.marketap-sim-app-mounted,
body.marketap-theme-dark.marketap-home-sections-arranged .elementor-439 {
  background: #000 !important;
}

/* v1.0.18 mobile hierarchy pass */
body.marketap-theme-light.marketap-home-sections-arranged,
body.marketap-theme-light.marketap-sim-app-mounted,
body.marketap-theme-light.marketap-home-sections-arranged .elementor-439 {
  background:
    linear-gradient(180deg, rgba(226,230,236,.78), rgba(244,246,248,.92)),
    #e6e9ee !important;
}

body.marketap-theme-light.marketap-home-sections-arranged *,
body.marketap-theme-light .marketap-sim-shell *,
body.marketap-theme-light .marketap-sim-modal__panel * {
  color: #05070a !important;
}

body.marketap-theme-light.marketap-home-sections-arranged .is-up,
body.marketap-theme-light .marketap-sim-shell .is-up {
  color: #007a4d !important;
}

body.marketap-theme-light.marketap-home-sections-arranged .is-down,
body.marketap-theme-light .marketap-sim-shell .is-down {
  color: #c61b35 !important;
}

body.marketap-theme-light.marketap-home-sections-arranged .mmls-pill,
body.marketap-theme-light.marketap-home-sections-arranged .marketap-section-label b,
body.marketap-theme-light.marketap-home-sections-arranged .mmls-calc-result,
body.marketap-theme-light .marketap-sim-shell [data-trade-balance],
body.marketap-theme-light .marketap-sim-shell [data-selected-price],
body.marketap-theme-light .marketap-sim-shell .marketap-input-shell b {
  color: #b88900 !important;
}

body.marketap-theme-light.marketap-home-sections-arranged .marketap-home-nav,
body.marketap-theme-light.marketap-home-sections-arranged .marketap-section-card,
body.marketap-theme-light.marketap-home-sections-arranged .marketap-section-card--trade.marketap-sim-shell {
  background: rgba(255,255,255,.72) !important;
  backdrop-filter: blur(18px);
}

body.marketap-home-sections-arranged .marketap-section-card--deck {
  padding: clamp(10px, 1.7vw, 18px) !important;
}

body.marketap-home-sections-arranged .marketap-section-card--deck .mmls-dashboard {
  padding: 0 !important;
}

body.marketap-home-sections-arranged .marketap-section-card--deck .mmls-grid {
  gap: 8px !important;
}

body.marketap-home-sections-arranged .marketap-section-card--deck .mmls-card {
  display: grid !important;
  align-content: center !important;
  justify-items: center !important;
  min-height: 92px !important;
  padding: 9px !important;
  text-align: center !important;
}

body.marketap-home-sections-arranged .marketap-section-card--deck .mmls-card-head {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  width: 100% !important;
}

body.marketap-home-sections-arranged .marketap-section-card--deck .mmls-card-head > div {
  display: contents !important;
}

body.marketap-home-sections-arranged .marketap-section-card--deck .mmls-card-head strong {
  max-width: 74px !important;
  font-size: 12px !important;
  line-height: 1.1 !important;
}

body.marketap-home-sections-arranged .marketap-section-card--deck .mmls-card-head small,
body.marketap-home-sections-arranged .marketap-section-card--deck .mmls-card-change,
body.marketap-home-sections-arranged .marketap-section-card--deck .mmls-chip,
body.marketap-home-sections-arranged .marketap-section-card--deck .mmls-card-desc,
body.marketap-home-sections-arranged .marketap-section-card--deck .mmls-card-cap,
body.marketap-home-sections-arranged .marketap-section-card--deck .mmls-spark {
  display: none !important;
}

body.marketap-home-sections-arranged .marketap-section-card--deck .mmls-token {
  width: 28px !important;
  height: 28px !important;
  flex-basis: 28px !important;
  margin: 0 !important;
  font-size: 12px !important;
}

body.marketap-home-sections-arranged .marketap-section-card--deck .mmls-card-price {
  margin: 0 !important;
  font-size: 15px !important;
  line-height: 1 !important;
}

body.marketap-home-sections-arranged .marketap-section-card--trade {
  padding: 10px !important;
}

body.marketap-home-sections-arranged .marketap-section-card--trade .marketap-section-label {
  margin-bottom: 8px;
}

.marketap-sim-trade-panel {
  padding: 9px !important;
}

.marketap-trade-hero {
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 8px !important;
}

.marketap-trade-hero h2 {
  margin-top: 3px;
  font-size: clamp(17px, 2.2vw, 22px) !important;
}

.marketap-trade-hero strong {
  margin-top: 4px;
  font-size: clamp(21px, 3vw, 28px) !important;
}

.marketap-trade-account {
  padding: 8px !important;
}

.marketap-trade-account__main strong {
  font-size: clamp(25px, 5vw, 34px) !important;
}

.marketap-trade-pills,
.marketap-trade-preview {
  gap: 6px;
}

.marketap-input-shell input {
  min-height: 40px !important;
  font-size: 17px !important;
}

.marketap-sim-button {
  min-height: 42px !important;
}

.marketap-chart-details {
  display: none !important;
}

body.marketap-home-sections-arranged .marketap-section-card--calculator {
  padding: clamp(10px, 1.7vw, 18px) !important;
}

body.marketap-home-sections-arranged .marketap-section-card--calculator .mmls-calculator-section {
  padding: 0 !important;
}

body.marketap-home-sections-arranged .marketap-section-card--calculator .mmls-calc-panel {
  padding: 12px !important;
}

body.marketap-home-sections-arranged .marketap-section-card--calculator .mmls-calc-panel,
body.marketap-home-sections-arranged .marketap-section-card--calculator .mmls-input-wrap,
body.marketap-home-sections-arranged .marketap-section-card--calculator .mmls-calc-stat,
body.marketap-home-sections-arranged .marketap-section-card--calculator .mmls-calc-mini-card {
  min-height: 0 !important;
}

body.marketap-home-sections-arranged .marketap-section-card--calculator .mmls-input-wrap {
  padding: 8px !important;
}

body.marketap-home-sections-arranged .marketap-section-card--calculator .mmls-input-wrap input,
body.marketap-home-sections-arranged .marketap-section-card--calculator .mmls-input-wrap select {
  min-height: 38px !important;
  font-size: 15px !important;
}

body.marketap-home-sections-arranged .marketap-section-card--calculator .mmls-calc-result {
  font-size: clamp(24px, 7vw, 38px) !important;
  line-height: 1 !important;
}

body.marketap-home-sections-arranged .marketap-section-card--calculator .mmls-calc-chart {
  min-height: 84px !important;
  max-height: 120px !important;
}

@media (max-width: 760px) {
  body.marketap-home-sections-arranged .marketap-section-card--deck .mmls-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  body.marketap-home-sections-arranged .marketap-section-card--deck .mmls-card {
    min-height: 82px !important;
  }

  body.marketap-home-sections-arranged .marketap-section-card--trade .marketap-mobile-tabs {
    margin-top: 8px;
  }

  .marketap-sim-tabs {
    margin: 6px 0;
  }

  .marketap-trade-account {
    grid-template-columns: minmax(0, 1fr) minmax(0, .82fr) !important;
    min-height: 0;
  }

  .marketap-trade-account__meta {
    gap: 5px;
  }

  .marketap-trade-account__meta div,
  .marketap-trade-pills div,
  .marketap-trade-preview div {
    padding: 6px !important;
  }

  .marketap-holdings-strip,
  .marketap-sim-quick {
    margin-block: 6px !important;
  }

  body.marketap-home-sections-arranged .marketap-section-card--calculator .mmls-calc-panel {
    padding: 10px !important;
  }
}

@media (max-width: 760px) {
  body.marketap-home-sections-arranged .marketap-section-card--deck .mmls-section-intro {
    display: block !important;
    margin-bottom: 8px !important;
  }

  body.marketap-home-sections-arranged .marketap-section-card--deck .mmls-section-intro h2 {
    margin: 0 0 8px !important;
    font-size: 18px !important;
    line-height: 1 !important;
  }

  body.marketap-home-sections-arranged .marketap-section-card--deck .mmls-section-intro p,
  body.marketap-home-sections-arranged .marketap-section-card--deck .mmls-panel-head span {
    display: none !important;
  }

  body.marketap-home-sections-arranged .marketap-section-card--deck .mmls-tabs,
  body.marketap-home-sections-arranged .marketap-section-card--deck .mmls-controls {
    display: flex !important;
    gap: 6px !important;
    overflow-x: auto !important;
    padding-bottom: 2px !important;
    scrollbar-width: none;
  }

  body.marketap-home-sections-arranged .marketap-section-card--deck .mmls-tabs::-webkit-scrollbar,
  body.marketap-home-sections-arranged .marketap-section-card--deck .mmls-controls::-webkit-scrollbar {
    display: none;
  }

  body.marketap-home-sections-arranged .marketap-section-card--deck .mmls-tabs button,
  body.marketap-home-sections-arranged .marketap-section-card--deck .mmls-search,
  body.marketap-home-sections-arranged .marketap-section-card--deck .mmls-controls select {
    flex: 0 0 auto !important;
    min-height: 30px !important;
    padding: 5px 8px !important;
    font-size: 11px !important;
  }

  body.marketap-home-sections-arranged .marketap-section-card--deck .mmls-search {
    width: 132px !important;
  }

  body.marketap-home-sections-arranged .marketap-section-card--deck .mmls-panel {
    padding: 9px !important;
  }

  body.marketap-home-sections-arranged .marketap-section-card--deck .mmls-panel-head {
    min-height: 0 !important;
    margin-bottom: 8px !important;
  }

  body.marketap-home-sections-arranged .marketap-section-card--deck .mmls-panel-head h3 {
    font-size: 15px !important;
    line-height: 1 !important;
  }

  body.marketap-home-sections-arranged .marketap-section-card--deck .mmls-card {
    min-height: 74px !important;
    padding: 7px !important;
  }

  body.marketap-home-sections-arranged .marketap-section-card--deck .mmls-card-head {
    gap: 5px !important;
  }

  body.marketap-home-sections-arranged .marketap-section-card--deck .mmls-token {
    width: 24px !important;
    height: 24px !important;
    flex-basis: 24px !important;
    font-size: 10px !important;
  }

  body.marketap-home-sections-arranged .marketap-section-card--deck .mmls-card-head strong {
    max-width: 48px !important;
    font-size: 10.5px !important;
  }

  body.marketap-home-sections-arranged .marketap-section-card--deck .mmls-card-price {
    font-size: 12px !important;
  }

  .marketap-trade-pills,
  .marketap-trade-preview {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .marketap-holdings-strip.is-empty,
  .marketap-trade-preview__position {
    display: none !important;
  }

  .marketap-trade-preview {
    margin: 7px 0 !important;
  }

  .marketap-sim-tabs {
    padding: 3px !important;
  }

  .marketap-sim-tabs button,
  .marketap-sim-quick button {
    min-height: 32px !important;
  }

  .marketap-trade-pills {
    margin-bottom: 7px !important;
  }

  body.marketap-home-sections-arranged .marketap-section-card--calculator .mmls-section-intro {
    display: none !important;
  }

  body.marketap-home-sections-arranged .marketap-section-card--calculator .mmls-calc-shell {
    display: block !important;
  }

  body.marketap-home-sections-arranged .marketap-section-card--calculator .mmls-calc-form-panel {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    padding-bottom: 8px !important;
  }

  body.marketap-home-sections-arranged .marketap-section-card--calculator .mmls-calc-output-panel {
    margin-top: -1px !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    padding-top: 9px !important;
  }

  body.marketap-home-sections-arranged .marketap-section-card--calculator .mmls-panel-head {
    min-height: 0 !important;
    margin-bottom: 8px !important;
  }

  body.marketap-home-sections-arranged .marketap-section-card--calculator .mmls-panel-head span,
  body.marketap-home-sections-arranged .marketap-section-card--calculator .mmls-calc-stats,
  body.marketap-home-sections-arranged .marketap-section-card--calculator .mmls-calc-mini-row,
  body.marketap-home-sections-arranged .marketap-section-card--calculator .mmls-calc-chart {
    display: none !important;
  }

  body.marketap-home-sections-arranged .marketap-section-card--calculator .mmls-calc-grid {
    gap: 7px !important;
  }

  body.marketap-home-sections-arranged .marketap-section-card--calculator .mmls-input-wrap {
    gap: 5px !important;
    padding: 7px !important;
  }

  body.marketap-home-sections-arranged .marketap-section-card--calculator .mmls-calc-output-top {
    margin-bottom: 6px !important;
  }
}

/* v1.0.19 detached floating controls */
body.marketap-home-sections-arranged .marketap-home-nav {
  justify-content: center;
  width: fit-content;
  max-width: calc(100% - 112px);
  margin-inline: auto;
}

body.marketap-home-sections-arranged .marketap-home-nav strong,
body.marketap-home-sections-arranged .marketap-home-nav .marketap-theme-toggle {
  display: none !important;
}

.marketap-corner-logo,
.marketap-theme-fab,
.marketap-wallet-fab,
.marketap-top-fab {
  position: fixed;
  z-index: 100002;
  font-family: var(--mt-font, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  text-decoration: none;
}

.marketap-corner-logo {
  top: max(10px, env(safe-area-inset-top));
  left: max(10px, env(safe-area-inset-left));
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(240,185,11,.38);
  border-radius: 999px;
  background: rgba(0,0,0,.72);
  color: #f0b90b;
  box-shadow: 0 12px 28px rgba(0,0,0,.32);
  backdrop-filter: blur(16px);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .01em;
}

.marketap-corner-logo span::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: #f0b90b;
  box-shadow: 0 0 0 3px rgba(240,185,11,.16);
  vertical-align: 1px;
}

.marketap-theme-fab {
  top: max(10px, env(safe-area-inset-top));
  right: max(10px, env(safe-area-inset-right));
  min-width: 70px;
  min-height: 34px;
  appearance: none;
  border: 1px solid rgba(240,185,11,.42);
  border-radius: 999px;
  background: rgba(240,185,11,.15);
  color: #f0b90b;
  box-shadow: 0 12px 28px rgba(0,0,0,.32);
  backdrop-filter: blur(16px);
  cursor: pointer;
  font-size: 12px;
  font-weight: 950;
}

.marketap-wallet-fab,
.marketap-top-fab {
  bottom: max(14px, env(safe-area-inset-bottom));
  appearance: none;
  border: 1px solid rgba(240,185,11,.42);
  border-radius: 999px;
  background: rgba(0,0,0,.78);
  color: #f5f5f5;
  box-shadow: 0 16px 34px rgba(0,0,0,.38);
  backdrop-filter: blur(16px);
  cursor: pointer;
}

.marketap-wallet-fab {
  left: max(12px, env(safe-area-inset-left));
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  padding: 8px;
  text-align: center;
}

.marketap-wallet-fab span {
  display: block;
  color: #848e9c;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.marketap-wallet-fab strong {
  display: block;
  max-width: 66px;
  color: #f0b90b;
  font-size: 15px;
  line-height: 1.05;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.marketap-top-fab {
  right: max(12px, env(safe-area-inset-right));
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: #f0b90b;
  font-size: 12px;
  font-weight: 950;
}

body.marketap-theme-light .marketap-corner-logo,
body.marketap-theme-light .marketap-wallet-fab,
body.marketap-theme-light .marketap-top-fab {
  border-color: rgba(5,7,10,.14);
  background: rgba(255,255,255,.78);
  color: #05070a;
  box-shadow: 0 16px 34px rgba(15,23,42,.14);
}

body.marketap-theme-light .marketap-theme-fab {
  border-color: rgba(5,7,10,.14);
  background: rgba(5,7,10,.08);
  color: #05070a;
  box-shadow: 0 16px 34px rgba(15,23,42,.12);
}

body.marketap-theme-light .marketap-wallet-fab span {
  color: #4b5563 !important;
}

body.marketap-theme-light .marketap-wallet-fab strong,
body.marketap-theme-light .marketap-top-fab,
body.marketap-theme-light .marketap-corner-logo span::before {
  color: #05070a !important;
}

@media (max-width: 760px) {
  body.marketap-home-sections-arranged .marketap-home-nav {
    max-width: calc(100% - 116px);
    margin-top: 7px;
  }

  body.marketap-home-sections-arranged .marketap-home-nav a {
    min-height: 28px;
    padding-inline: 9px;
    font-size: 11px;
  }

  .marketap-corner-logo {
    min-height: 32px;
    padding-inline: 10px;
    font-size: 12px;
  }

  .marketap-theme-fab {
    min-width: 62px;
    min-height: 32px;
  }

  .marketap-wallet-fab {
    width: 68px;
    height: 68px;
  }

  .marketap-wallet-fab strong {
    max-width: 58px;
    font-size: 13px;
  }

  .marketap-top-fab {
    width: 52px;
    height: 52px;
  }
}

/* v1.0.20 mobile frame and control alignment fixes */
.marketap-corner-logo,
.marketap-theme-fab {
  top: max(10px, env(safe-area-inset-top)) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 108px !important;
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 !important;
  text-align: center !important;
  line-height: 1 !important;
}

.marketap-corner-logo {
  left: max(10px, env(safe-area-inset-left)) !important;
}

.marketap-theme-fab {
  right: max(10px, env(safe-area-inset-right)) !important;
}

.marketap-corner-logo span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px;
  width: 100%;
}

.marketap-corner-logo span::before {
  flex: 0 0 8px;
  width: 8px !important;
  height: 8px !important;
  margin: 0 !important;
  vertical-align: 0 !important;
}

.marketap-wallet-fab,
.marketap-top-fab {
  bottom: max(14px, env(safe-area-inset-bottom)) !important;
  display: grid !important;
  place-items: center !important;
}

.marketap-wallet-fab {
  left: max(12px, env(safe-area-inset-left)) !important;
}

.marketap-top-fab {
  right: max(12px, env(safe-area-inset-right)) !important;
}

.marketap-wallet-fab span,
.marketap-wallet-fab strong,
.marketap-top-fab {
  text-align: center !important;
}

body.marketap-theme-light.marketap-home-sections-arranged .marketap-section-card--sphere .mmls-orbit-chip,
body.marketap-theme-light.marketap-home-sections-arranged .marketap-section-card--sphere .mmls-orbit-chip *,
body.marketap-theme-light.marketap-home-sections-arranged .marketap-section-card--sphere .mmls-drag-label,
body.marketap-theme-light.marketap-home-sections-arranged .marketap-section-card--sphere .mmls-drag-label * {
  color: #f5f7fb !important;
}

body.marketap-theme-light.marketap-home-sections-arranged .marketap-section-card--sphere .mmls-orbit-chip small,
body.marketap-theme-light.marketap-home-sections-arranged .marketap-section-card--sphere .mmls-orbit-chip em {
  color: #c9d2e3 !important;
}

body.marketap-theme-light.marketap-home-sections-arranged .marketap-section-card--sphere .mmls-orbit-chip .mmls-pos,
body.marketap-theme-light.marketap-home-sections-arranged .marketap-section-card--sphere .mmls-orbit-chip .is-up {
  color: #7cf0b1 !important;
}

body.marketap-theme-light.marketap-home-sections-arranged .marketap-section-card--sphere .mmls-orbit-chip .mmls-neg,
body.marketap-theme-light.marketap-home-sections-arranged .marketap-section-card--sphere .mmls-orbit-chip .is-down {
  color: #ff8897 !important;
}

body.marketap-theme-light.marketap-home-sections-arranged .marketap-section-card--sphere .mmls-copy h1,
body.marketap-theme-light.marketap-home-sections-arranged .marketap-section-card--sphere .mmls h1 {
  position: relative !important;
  z-index: 3 !important;
  opacity: 1 !important;
  color: #05070a !important;
  text-shadow: none !important;
  -webkit-text-fill-color: #05070a !important;
}

@media (max-width: 760px) {
  body.marketap-home-sections-arranged .mmls {
    padding-top: 0 !important;
    padding-inline: 0 !important;
  }

  body.marketap-home-sections-arranged .marketap-home-nav {
    margin-top: 56px !important;
    margin-bottom: 8px !important;
  }

  body.marketap-home-sections-arranged .marketap-section-card--sphere {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    margin-top: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-radius: 0 !important;
  }

  body.marketap-home-sections-arranged .marketap-section-card--sphere .marketap-section-label {
    padding-inline: 16px !important;
    margin-bottom: 8px !important;
  }

  body.marketap-home-sections-arranged .marketap-section-card--sphere .mmls-copy {
    position: relative !important;
    z-index: 2 !important;
    padding-inline: 16px !important;
  }

  body.marketap-home-sections-arranged .marketap-section-card--sphere .mmls-copy h1 {
    margin: 12px 0 10px !important;
    font-size: clamp(34px, 11vw, 48px) !important;
    line-height: 1 !important;
  }

  body.marketap-home-sections-arranged .marketap-section-card--sphere .mmls-meta-line {
    padding-inline: 16px !important;
  }

  body.marketap-theme-light.marketap-home-sections-arranged .marketap-section-card--sphere .mmls-copy h1 {
    color: #05070a !important;
    -webkit-text-fill-color: #05070a !important;
  }

  body.marketap-home-sections-arranged .marketap-section-card--sphere .mmls-stage {
    margin-top: 4px !important;
  }

  .marketap-corner-logo,
  .marketap-theme-fab {
    width: 104px !important;
    height: 42px !important;
    min-height: 42px !important;
  }

  .marketap-wallet-fab,
  .marketap-top-fab {
    width: 66px !important;
    height: 66px !important;
  }
}

/* v1.0.21 metallic blue system + calmer mobile controls */
.marketap-sim-shell,
body.marketap-home-sections-arranged .marketap-section-card--trade {
  --mt-yellow: #8fb7ff;
  --mt-yellow-2: #c9d8ef;
  --mt-yellow-soft: rgba(116,155,224,.16);
}

body.marketap-home-sections-arranged .marketap-section-label b,
body.marketap-home-sections-arranged .mmls-kicker,
body.marketap-home-sections-arranged .mmls-pill,
body.marketap-home-sections-arranged .mmls-calc-result,
.marketap-corner-logo,
.marketap-theme-fab,
.marketap-wallet-fab strong,
.marketap-top-fab,
.marketap-input-shell b,
.marketap-sim-user strong,
.marketap-sim-status strong,
.marketap-trade-account__main strong,
.marketap-trade-hero strong {
  color: #8fb7ff !important;
}

body.marketap-home-sections-arranged .marketap-section-label > span,
.marketap-corner-logo,
.marketap-theme-fab,
.marketap-wallet-fab,
.marketap-top-fab,
.marketap-trade-hero,
.marketap-trade-account,
.marketap-sim-wallet article:first-child,
.marketap-sim-asset.is-active {
  border-color: rgba(143,183,255,.42) !important;
}

body.marketap-home-sections-arranged .marketap-section-label > span,
body.marketap-home-sections-arranged .marketap-home-nav a:hover,
body.marketap-home-sections-arranged .marketap-home-nav a:focus-visible,
.marketap-theme-fab,
.marketap-sim-status button,
.marketap-trade-hero__side button {
  background: rgba(143,183,255,.13) !important;
}

.marketap-corner-logo span::before {
  background: linear-gradient(145deg, #dce8ff, #7ea8f3 48%, #3e5f98) !important;
  box-shadow: 0 0 0 3px rgba(143,183,255,.16), 0 0 16px rgba(143,183,255,.34) !important;
}

.marketap-sim-button,
body.marketap-home-sections-arranged .mmls-tabs button.active,
.marketap-sim-tabs button.is-active,
.marketap-mobile-tabs button.is-active {
  background: linear-gradient(145deg, #d8e5fb 0%, #8fb7ff 38%, #5f82c5 100%) !important;
  color: #08111f !important;
  box-shadow: 0 14px 30px rgba(95,130,197,.20) !important;
}

.marketap-input-shell:focus-within {
  border-color: rgba(143,183,255,.70) !important;
  box-shadow: 0 0 0 3px rgba(143,183,255,.14) !important;
}

body.marketap-home-sections-arranged .mmls-sphere-glow {
  background:
    radial-gradient(circle at 32% 22%, rgba(255,255,255,.96) 0 8%, rgba(235,241,250,.74) 9% 18%, transparent 19%),
    radial-gradient(circle at 54% 50%, rgba(255,255,255,.54), rgba(182,197,220,.34) 24%, rgba(67,76,92,.92) 58%, rgba(10,12,16,.98) 74%),
    conic-gradient(from 32deg, #f8fafc, #7b8494, #8fb7ff, #252b35, #eef4ff, #8a99b5, #0b0e11) !important;
}

body.marketap-home-sections-arranged .mmls-orbit-chip {
  transition: transform .72s cubic-bezier(.2,.8,.2,1), scale .72s cubic-bezier(.2,.8,.2,1), opacity .5s ease, filter .5s ease !important;
  will-change: transform, scale, opacity;
}

body.marketap-home-sections-arranged .mmls-orbit-chip.is-active,
body.marketap-home-sections-arranged .mmls-orbit-chip:hover {
  scale: 1.08 !important;
  animation: marketap-chip-front 3.4s ease-in-out infinite !important;
}

.marketap-sim-confirm {
  position: static !important;
  min-height: 38px !important;
  margin-top: 8px !important;
  border-radius: 11px !important;
  font-size: 13px !important;
}

.marketap-top-fab {
  width: 46px !important;
  height: 46px !important;
  min-height: 46px !important;
  font-size: 11px !important;
  line-height: 1 !important;
}

.marketap-theme-fab {
  width: 82px !important;
  min-width: 82px !important;
  height: 34px !important;
  min-height: 34px !important;
  font-size: 11px !important;
}

body.marketap-home-sections-arranged .marketap-section-card--deck .mmls-section-intro {
  display: grid !important;
  gap: 10px !important;
}

body.marketap-home-sections-arranged .marketap-section-card--deck .mmls-section-intro p {
  display: block !important;
  max-width: 480px !important;
  color: var(--mt-muted, #848e9c) !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
}

body.marketap-home-sections-arranged .marketap-section-card--deck .mmls-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 9px !important;
}

body.marketap-home-sections-arranged .marketap-section-card--deck .mmls-card {
  display: flex !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  min-height: 126px !important;
  padding: 10px !important;
  text-align: left !important;
  border-radius: 13px !important;
  background:
    radial-gradient(circle at 84% 0%, rgba(143,183,255,.18), transparent 7.5rem),
    linear-gradient(180deg, rgba(30,35,44,.98), rgba(13,17,24,.98)) !important;
}

body.marketap-home-sections-arranged .marketap-section-card--deck .mmls-card-head {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  gap: 8px !important;
  width: 100% !important;
}

body.marketap-home-sections-arranged .marketap-section-card--deck .mmls-card-head > div {
  display: block !important;
  min-width: 0 !important;
}

body.marketap-home-sections-arranged .marketap-section-card--deck .mmls-card-head strong {
  display: block !important;
  max-width: 82px !important;
  color: #f5f7fb !important;
  font-size: 13px !important;
  line-height: 1.1 !important;
}

body.marketap-home-sections-arranged .marketap-section-card--deck .mmls-card-head small,
body.marketap-home-sections-arranged .marketap-section-card--deck .mmls-card-change {
  display: block !important;
}

body.marketap-home-sections-arranged .marketap-section-card--deck .mmls-chip,
body.marketap-home-sections-arranged .marketap-section-card--deck .mmls-card-desc,
body.marketap-home-sections-arranged .marketap-section-card--deck .mmls-card-cap {
  display: none !important;
}

body.marketap-home-sections-arranged .marketap-section-card--deck .mmls-token {
  width: 32px !important;
  height: 32px !important;
  flex-basis: 32px !important;
  font-size: 13px !important;
}

body.marketap-home-sections-arranged .marketap-section-card--deck .mmls-card-price {
  margin: 7px 0 0 !important;
  color: #f5f7fb !important;
  font-size: 20px !important;
  line-height: 1 !important;
}

body.marketap-home-sections-arranged .marketap-section-card--deck .mmls-spark {
  display: block !important;
  margin-top: 7px !important;
}

body.marketap-home-sections-arranged .marketap-section-card--deck .mmls-card .mmls-spark svg {
  height: 32px !important;
}

body.marketap-theme-light.marketap-home-sections-arranged .marketap-section-card--deck .mmls-card {
  background:
    radial-gradient(circle at 84% 0%, rgba(143,183,255,.22), transparent 7.5rem),
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(234,239,247,.92)) !important;
}

body.marketap-theme-light.marketap-home-sections-arranged .marketap-section-card--deck .mmls-card-head strong,
body.marketap-theme-light.marketap-home-sections-arranged .marketap-section-card--deck .mmls-card-price {
  color: #08111f !important;
}

body.marketap-theme-light.marketap-home-sections-arranged .marketap-section-card--deck .mmls-card-head small {
  color: #5f6d82 !important;
}

body.marketap-theme-light.marketap-home-sections-arranged .mmls-calc-result,
body.marketap-theme-light .marketap-sim-shell [data-trade-balance],
body.marketap-theme-light .marketap-sim-shell [data-selected-price],
body.marketap-theme-light .marketap-sim-shell .marketap-input-shell b {
  color: #4e78bd !important;
}

@media (max-width: 760px) {
  .marketap-theme-fab {
    width: 78px !important;
    min-width: 78px !important;
    height: 32px !important;
    min-height: 32px !important;
  }

  .marketap-top-fab {
    width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
  }

  .marketap-wallet-fab {
    width: 60px !important;
    height: 60px !important;
  }

  .marketap-wallet-fab strong {
    max-width: 52px !important;
    font-size: 12px !important;
  }

  .marketap-trade-preview,
  .marketap-trade-pills {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.marketap-home-sections-arranged .marketap-section-card--deck .mmls-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.marketap-home-sections-arranged .marketap-section-card--deck .mmls-card {
    min-height: 122px !important;
  }
}

/* v1.0.22 final control sizing and blue override */
body.marketap-theme-light.marketap-home-sections-arranged .marketap-section-label b,
body.marketap-theme-light.marketap-home-sections-arranged .mmls-pill,
body.marketap-theme-light.marketap-home-sections-arranged .mmls-kicker {
  color: #4e78bd !important;
}

.marketap-top-fab {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  padding: 0 !important;
  display: grid !important;
  place-items: center !important;
}

.marketap-sim-confirm {
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 12px !important;
  display: grid !important;
  place-items: center !important;
  line-height: 1 !important;
}

@media (max-width: 760px) {
  .marketap-top-fab {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
  }

  .marketap-sim-confirm {
    height: 38px !important;
    min-height: 38px !important;
  }
}

/* v1.0.24 trade simulator logic states */
.marketap-sim-empty-state {
  grid-column: 1 / -1;
  display: grid;
  gap: 6px;
  min-height: 88px;
  align-content: center;
  padding: 16px;
  border: 1px dashed rgba(143, 183, 255, .34);
  border-radius: 14px;
  background: rgba(143, 183, 255, .08);
  color: var(--mt-text, #f5f7fb);
  text-align: center;
}

.marketap-sim-empty-state strong {
  color: var(--mt-text, #f5f7fb);
  font-size: 14px;
  line-height: 1.2;
}

.marketap-sim-empty-state span {
  color: var(--mt-muted, #8f98a8);
  font-size: 12px;
  line-height: 1.35;
}

.marketap-sim-trade-panel.is-sell-mode .marketap-sim-asset-grid {
  grid-template-columns: 1fr;
}

.marketap-sim-trade-panel.is-sell-mode .marketap-sim-asset.has-position,
.marketap-sim-asset-grid .marketap-sim-asset.has-position {
  border-color: rgba(119, 198, 154, .42) !important;
}

.marketap-sim-confirm:disabled {
  cursor: not-allowed;
  opacity: .62;
  filter: grayscale(.2);
}

body.marketap-theme-light .marketap-sim-empty-state {
  background: rgba(143, 183, 255, .12);
  border-color: rgba(78, 120, 189, .34);
}

body.marketap-theme-light .marketap-sim-empty-state strong {
  color: #08111f;
}

body.marketap-theme-light .marketap-sim-empty-state span {
  color: #536174;
}

@media (max-width: 760px) {
  .marketap-sim-trade-panel {
    gap: 10px !important;
  }

  .marketap-trade-hero,
  .marketap-trade-account,
  .marketap-trade-preview {
    border-radius: 14px !important;
  }

  .marketap-trade-hero {
    min-height: 0 !important;
    padding: 12px !important;
  }

  .marketap-trade-hero h2 {
    font-size: 20px !important;
    line-height: 1.05 !important;
  }

  .marketap-trade-hero strong {
    font-size: 18px !important;
  }

  .marketap-trade-account {
    padding: 11px !important;
  }

  .marketap-trade-account__main strong {
    font-size: 22px !important;
    line-height: 1 !important;
  }

  .marketap-holdings-strip {
    min-height: 42px !important;
  }

  .marketap-holdings-strip button {
    min-height: 38px !important;
    padding: 7px 10px !important;
  }

  .marketap-sim-field {
    gap: 5px !important;
  }

  .marketap-input-shell {
    min-height: 42px !important;
  }

  .marketap-sim-quick button {
    min-height: 34px !important;
  }

  .marketap-trade-preview {
    gap: 6px !important;
    padding: 7px !important;
  }

  .marketap-trade-preview > div {
    min-height: 50px !important;
    padding: 8px !important;
  }

  .marketap-sim-empty-state {
    min-height: 76px;
    padding: 12px;
  }
}

/* v1.0.25 remove section badges + darker metallic blue + compact account card */
body.marketap-home-sections-arranged .marketap-section-label {
  display: none !important;
}

.marketap-sim-shell,
body.marketap-home-sections-arranged .marketap-section-card--trade {
  --mt-yellow: #5e7fb3;
  --mt-yellow-2: #9eb4d2;
  --mt-yellow-soft: rgba(62, 88, 129, .18);
}

body.marketap-home-sections-arranged .mmls-kicker,
body.marketap-home-sections-arranged .mmls-pill,
body.marketap-home-sections-arranged .mmls-calc-result,
.marketap-corner-logo,
.marketap-theme-fab,
.marketap-wallet-fab strong,
.marketap-top-fab,
.marketap-input-shell b,
.marketap-sim-user strong,
.marketap-sim-status strong,
.marketap-trade-account__main strong,
.marketap-trade-hero strong {
  color: #6f8fbd !important;
}

.marketap-corner-logo,
.marketap-theme-fab,
.marketap-wallet-fab,
.marketap-top-fab,
.marketap-trade-hero,
.marketap-trade-account,
.marketap-sim-wallet article:first-child,
.marketap-sim-asset.is-active {
  border-color: rgba(86, 116, 162, .48) !important;
}

body.marketap-home-sections-arranged .marketap-home-nav a:hover,
body.marketap-home-sections-arranged .marketap-home-nav a:focus-visible,
.marketap-theme-fab,
.marketap-sim-status button,
.marketap-trade-hero__side button {
  background: rgba(66, 92, 133, .22) !important;
}

.marketap-corner-logo span::before {
  background: linear-gradient(145deg, #bfd0e9, #6688ba 48%, #293f62) !important;
  box-shadow: 0 0 0 3px rgba(82, 114, 164, .18), 0 0 16px rgba(69, 100, 148, .32) !important;
}

.marketap-sim-button,
body.marketap-home-sections-arranged .mmls-tabs button.active,
.marketap-sim-tabs button.is-active,
.marketap-mobile-tabs button.is-active {
  background: linear-gradient(145deg, #b9cae3 0%, #6f8fbd 42%, #334b72 100%) !important;
  color: #07101e !important;
  box-shadow: 0 12px 26px rgba(44, 68, 105, .28) !important;
}

.marketap-input-shell:focus-within {
  border-color: rgba(111, 143, 189, .76) !important;
  box-shadow: 0 0 0 3px rgba(82, 114, 164, .18) !important;
}

body.marketap-home-sections-arranged .mmls-sphere-glow {
  background:
    radial-gradient(circle at 32% 22%, rgba(245,248,252,.88) 0 8%, rgba(196,209,229,.58) 9% 18%, transparent 19%),
    radial-gradient(circle at 54% 50%, rgba(213,224,241,.48), rgba(125,145,176,.34) 24%, rgba(44,54,72,.94) 58%, rgba(8,10,14,.98) 74%),
    conic-gradient(from 32deg, #d7e0ee, #5d6d84, #5e7fb3, #1c2534, #aebed5, #627895, #070a10) !important;
}

.marketap-trade-account {
  min-height: 0 !important;
  padding: 6px !important;
  gap: 6px !important;
}

.marketap-trade-account span,
.marketap-trade-account small {
  font-size: 10px !important;
  line-height: 1.1 !important;
  letter-spacing: .11em !important;
}

.marketap-trade-account__main strong {
  margin: 4px 0 5px !important;
  font-size: clamp(20px, 4vw, 28px) !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
}

.marketap-trade-account__main small b {
  font-size: 11px !important;
}

.marketap-trade-account__meta {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 6px !important;
}

.marketap-trade-account__meta div {
  min-height: 54px !important;
  padding: 6px !important;
  border-radius: 10px !important;
  display: grid !important;
  align-content: center !important;
}

.marketap-trade-account__meta strong {
  margin-top: 3px !important;
  font-size: 13px !important;
  line-height: 1.05 !important;
  letter-spacing: 0 !important;
}

@media (max-width: 760px) {
  .marketap-trade-account {
    grid-template-columns: minmax(0, 1.05fr) minmax(120px, .95fr) !important;
    padding: 6px !important;
  }

  .marketap-trade-account__main strong {
    font-size: 22px !important;
  }

  .marketap-trade-account__meta div {
    min-height: 52px !important;
  }
}

/* v1.0.26 tighter balance widget */
.marketap-trade-account {
  align-items: center !important;
}

.marketap-trade-account__main {
  display: grid !important;
  min-height: 48px !important;
  align-content: center !important;
  gap: 3px !important;
}

.marketap-trade-account__main strong {
  margin: 0 !important;
}

.marketap-trade-account__main small,
.marketap-trade-account__main span,
.marketap-trade-account__meta span {
  display: block !important;
  max-width: 100% !important;
  overflow-wrap: normal !important;
}

.marketap-trade-account__meta {
  align-items: center !important;
}

.marketap-trade-account__meta div {
  min-height: 44px !important;
  height: auto !important;
}

@media (max-width: 760px) {
  .marketap-trade-account {
    grid-template-columns: minmax(0, 1fr) minmax(116px, .88fr) !important;
  }

  .marketap-trade-account__main {
    min-height: 46px !important;
  }

  .marketap-trade-account__main strong {
    font-size: 20px !important;
  }

  .marketap-trade-account span,
  .marketap-trade-account small {
    font-size: 9px !important;
    line-height: 1.05 !important;
  }

  .marketap-trade-account__meta div {
    min-height: 44px !important;
    padding: 5px !important;
  }

  .marketap-trade-account__meta strong {
    font-size: 12px !important;
  }
}

/* v1.0.27 hard-remove section badges + deeper site blue */
html body .marketap-section-label,
html body .marketap-section-label--sphere,
html body .marketap-section-label--deck,
html body .marketap-section-label--trade,
html body .marketap-section-label--calculator {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.marketap-sim-shell,
body.marketap-home-sections-arranged .marketap-section-card--trade {
  --mt-yellow: #3f5f90;
  --mt-yellow-2: #6e89b3;
  --mt-yellow-soft: rgba(41, 65, 103, .22);
}

body.marketap-home-sections-arranged .mmls-kicker,
body.marketap-home-sections-arranged .mmls-pill,
body.marketap-home-sections-arranged .mmls-calc-result,
.marketap-corner-logo,
.marketap-theme-fab,
.marketap-wallet-fab strong,
.marketap-top-fab,
.marketap-input-shell b,
.marketap-sim-user strong,
.marketap-sim-status strong,
.marketap-trade-account__main strong,
.marketap-trade-hero strong {
  color: #5474a6 !important;
}

.marketap-corner-logo,
.marketap-theme-fab,
.marketap-wallet-fab,
.marketap-top-fab,
.marketap-trade-hero,
.marketap-trade-account,
.marketap-sim-wallet article:first-child,
.marketap-sim-asset.is-active,
.marketap-input-shell:focus-within {
  border-color: rgba(57, 88, 135, .58) !important;
}

body.marketap-home-sections-arranged .marketap-home-nav a:hover,
body.marketap-home-sections-arranged .marketap-home-nav a:focus-visible,
.marketap-theme-fab,
.marketap-sim-status button,
.marketap-trade-hero__side button {
  background: rgba(39, 61, 96, .28) !important;
}

.marketap-corner-logo span::before {
  background: linear-gradient(145deg, #9db5d8, #4c6d9d 48%, #1b2f4f) !important;
  box-shadow: 0 0 0 3px rgba(58, 88, 134, .18), 0 0 15px rgba(38, 64, 103, .34) !important;
}

.marketap-sim-button,
body.marketap-home-sections-arranged .mmls-tabs button.active,
.marketap-sim-tabs button.is-active,
.marketap-mobile-tabs button.is-active {
  background: linear-gradient(145deg, #94acd0 0%, #5474a6 44%, #213958 100%) !important;
  color: #050b14 !important;
  box-shadow: 0 12px 26px rgba(28, 50, 83, .34) !important;
}

body.marketap-home-sections-arranged .mmls-sphere-glow {
  background:
    radial-gradient(circle at 32% 22%, rgba(221,230,243,.76) 0 8%, rgba(142,160,188,.48) 9% 18%, transparent 19%),
    radial-gradient(circle at 54% 50%, rgba(156,176,207,.42), rgba(75,96,130,.34) 24%, rgba(30,41,59,.96) 58%, rgba(6,9,14,.99) 74%),
    conic-gradient(from 32deg, #aebdd2, #34455f, #3f5f90, #111c2d, #778cab, #354e74, #03070d) !important;
}

/* v1.0.28 compact responsive trade controls */
.marketap-trade-account {
  grid-template-columns: minmax(0, 1.42fr) minmax(0, .98fr) !important;
  gap: 5px !important;
  margin-top: 5px !important;
  padding: 5px !important;
  border-radius: 12px !important;
  align-items: stretch !important;
}

.marketap-trade-account__main {
  min-height: 42px !important;
  gap: 2px !important;
}

.marketap-trade-account span,
.marketap-trade-account small,
.marketap-trade-pills span {
  font-size: 9px !important;
  line-height: 1.05 !important;
  letter-spacing: .055em !important;
  white-space: nowrap !important;
}

.marketap-trade-account__main strong {
  font-size: clamp(18px, 4.8vw, 21px) !important;
}

.marketap-trade-account__main small b {
  font-size: 10px !important;
}

.marketap-trade-account__meta {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 4px !important;
}

.marketap-trade-account__meta div {
  min-height: 42px !important;
  padding: 5px !important;
  border-radius: 9px !important;
  justify-items: start !important;
}

.marketap-trade-account__meta strong {
  margin-top: 2px !important;
  font-size: 11.5px !important;
  line-height: 1.05 !important;
}

.marketap-sim-tabs {
  gap: 4px !important;
  margin: 6px 0 !important;
  padding: 3px !important;
  border-radius: 12px !important;
}

.marketap-sim-tabs button {
  min-height: 34px !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  line-height: 1 !important;
}

.marketap-trade-pills {
  gap: 6px !important;
}

.marketap-trade-pills div {
  min-height: 42px !important;
  padding: 7px !important;
  border-radius: 10px !important;
}

.marketap-trade-pills strong {
  margin-top: 4px !important;
  font-size: 13px !important;
  line-height: 1.05 !important;
}

@media (max-width: 420px) {
  .marketap-trade-account {
    grid-template-columns: minmax(0, 1.48fr) minmax(108px, .9fr) !important;
  }

  .marketap-trade-account__main {
    min-height: 40px !important;
  }

  .marketap-trade-account__meta div {
    min-height: 40px !important;
    padding: 4px !important;
  }

  .marketap-trade-account__main strong {
    font-size: 20px !important;
  }

  .marketap-trade-account span,
  .marketap-trade-account small,
  .marketap-trade-pills span {
    font-size: 8.5px !important;
  }

  .marketap-trade-account__meta strong {
    font-size: 11px !important;
  }

  .marketap-sim-tabs button {
    min-height: 32px !important;
  }

  .marketap-trade-pills div {
    min-height: 40px !important;
  }
}

/* v1.0.29 hard compact Buy/Sell and balance pills */
.marketap-sim-tabs {
  min-height: 0 !important;
  height: 40px !important;
  box-sizing: border-box !important;
  align-items: center !important;
}

.marketap-sim-tabs button {
  min-height: 32px !important;
  height: 32px !important;
  max-height: 32px !important;
  padding: 0 8px !important;
  box-sizing: border-box !important;
  display: grid !important;
  place-items: center !important;
}

.marketap-trade-pills {
  align-items: stretch !important;
}

.marketap-trade-pills div {
  min-height: 42px !important;
  height: 42px !important;
  max-height: 42px !important;
  padding: 6px !important;
  box-sizing: border-box !important;
  display: grid !important;
  align-content: center !important;
  gap: 2px !important;
  overflow: hidden !important;
}

.marketap-trade-pills span {
  display: block !important;
  line-height: 1 !important;
}

.marketap-trade-pills strong {
  display: block !important;
  margin-top: 0 !important;
  font-size: 12px !important;
  line-height: 1.05 !important;
}

@media (max-width: 420px) {
  .marketap-sim-tabs {
    height: 38px !important;
  }

  .marketap-sim-tabs button {
    min-height: 30px !important;
    height: 30px !important;
    max-height: 30px !important;
  }

  .marketap-trade-pills div {
    min-height: 40px !important;
    height: 40px !important;
    max-height: 40px !important;
  }
}

/* v1.0.30 remove yellow accent and keep colored-box text white */
:root,
body,
.marketap-sim-shell,
body.marketap-home-sections-arranged .marketap-section-card--trade,
body.marketap-home-sections-arranged [data-mmls-app] {
  --mt-yellow: #3e6397 !important;
  --mt-yellow-2: #6f8fbd !important;
  --mt-yellow-soft: rgba(48, 79, 124, .18) !important;
}

.marketap-sim-warning,
.marketap-sim-status,
.marketap-trade-hero,
.marketap-trade-account,
.marketap-sim-wallet article:first-child,
.marketap-sim-asset.is-active,
.marketap-input-shell:focus-within,
.marketap-sim-empty-state {
  border-color: rgba(62, 99, 151, .46) !important;
}

.marketap-sim-warning,
.marketap-sim-status,
.marketap-trade-hero,
.marketap-trade-account,
.marketap-sim-empty-state {
  background:
    radial-gradient(circle at 16% 0%, rgba(62, 99, 151, .16), transparent 13rem),
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018)) !important;
}

.marketap-sim-status strong,
.marketap-sim-user strong,
.marketap-trade-account__main strong,
.marketap-trade-hero strong,
.marketap-input-shell b,
.marketap-wallet-fab strong,
.marketap-corner-logo,
.marketap-theme-fab,
.marketap-top-fab,
body.marketap-home-sections-arranged .mmls-kicker,
body.marketap-home-sections-arranged .mmls-pill,
body.marketap-home-sections-arranged .mmls-calc-result {
  color: #6f8fbd !important;
}

.marketap-sim-button,
.marketap-sim-tabs button.is-active,
.marketap-mobile-tabs button.is-active,
.marketap-sim-status button,
.marketap-trade-hero__side button,
.marketap-theme-fab,
.marketap-wallet-fab,
.marketap-top-fab,
body.marketap-home-sections-arranged .mmls-tabs button.active,
body.marketap-home-sections-arranged .mmls-pill,
body.marketap-home-sections-arranged .mmls-token {
  background: linear-gradient(145deg, #6f8fbd 0%, #3e6397 48%, #1f385a 100%) !important;
  border-color: rgba(111, 143, 189, .46) !important;
  color: #fff !important;
  text-shadow: 0 1px 1px rgba(0,0,0,.34) !important;
}

.marketap-sim-button *,
.marketap-sim-tabs button.is-active *,
.marketap-mobile-tabs button.is-active *,
.marketap-sim-status button *,
.marketap-trade-hero__side button *,
.marketap-theme-fab *,
.marketap-wallet-fab *,
.marketap-top-fab *,
body.marketap-home-sections-arranged .mmls-tabs button.active *,
body.marketap-home-sections-arranged .mmls-pill *,
body.marketap-home-sections-arranged .mmls-token * {
  color: #fff !important;
}

.marketap-sim-tabs button.is-active,
.marketap-mobile-tabs button.is-active {
  box-shadow: 0 10px 22px rgba(31, 56, 90, .30) !important;
}

.marketap-input-shell:focus-within {
  box-shadow: 0 0 0 3px rgba(62, 99, 151, .16) !important;
}

.marketap-corner-logo span::before {
  background: linear-gradient(145deg, #7f9bc3, #3e6397 50%, #1a304f) !important;
  box-shadow: 0 0 0 3px rgba(62, 99, 151, .18), 0 0 14px rgba(31, 56, 90, .34) !important;
}

body.marketap-home-sections-arranged .mmls-sphere-glow {
  background:
    radial-gradient(circle at 32% 22%, rgba(217,226,240,.72) 0 8%, rgba(128,151,185,.46) 9% 18%, transparent 19%),
    radial-gradient(circle at 54% 50%, rgba(130,154,190,.42), rgba(62,82,116,.34) 24%, rgba(27,38,56,.96) 58%, rgba(5,8,13,.99) 74%),
    conic-gradient(from 32deg, #8ea4c2, #2f405b, #3e6397, #101a2b, #6f84a5, #2d496f, #02060c) !important;
}
