:root {
  --bg: #070707;
  --panel: #050609;
  --panel-2: #000000;
  --panel-3: rgba(10, 13, 16, 0.66);
  --text: #d8e0ea;
  --muted: #7f8ea3;
  --accent: #4d9719;
  --danger: #592c27;
  --border: #292a2c;
  --input-bg: rgb(18 18 18 / 90%);
  --input-border: rgb(73 73 73 / 45%);
  --green-candle: #91ff91;
}

* {
  box-sizing: border-box;
  font-family: Inter, system-ui, sans-serif;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.18) transparent;
}

*::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.12);
  border-radius: 999px;
}

*::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,0.18);
}

.hidden {
  display: none !important;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.app {
  display: grid;
  grid-template-columns: 240px 1fr;
  grid-template-rows: 56px 1fr 28px;
  height: 100vh;
}

.app.sidebar-collapsed {
  grid-template-columns: 0 1fr;
}

.app.is-mobile {
  grid-template-columns: 1fr;
  grid-template-rows: 56px 1fr 28px;
}

.sidebar-spacer{
  height: 40px;
  width: 100%;
}

.sidebar-shell {
  grid-row: 1 / span 3;
  grid-column: 1;
  position: relative;
  overflow: visible;
  height: 100vh;
  min-height: 100vh;
  z-index: 6200;
}

.sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 6190;
}

.sidebar-toggle {
  position: absolute;
  right: -14px;
  top: 15px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 6250;
}



.sidebar-toggle-icon {
  font-size: 33px;
  line-height: 1;
  margin: -3px 0 0 0;
}

/* Header */
header {
    -webkit-backdrop-filter: blur(12px) saturate(130%);
    backdrop-filter: blur(12px) saturate(130%);
    background: rgba(8, 11, 17, 0.42);
    border-bottom: 1px solid rgba(110, 140, 186, 0.18);

  grid-column: 2;
  display: flex;
  align-items: center;
  padding: 0 20px;
  font-weight: 600;
  position: relative;
  z-index: 6100;
  overflow: visible;
}

.app.is-mobile header {
  grid-column: 1;
}

.header-right {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 6120;
  overflow: visible;
}

.header-connect-wrap {
  display: inline-flex;
  align-items: center;
  position: relative;
  z-index: 6130;
}

.header-env {
  font-size: 12px;
  color: var(--muted);
}

.header-connect-btn {
  width: 30px;
  height: 30px;
  padding: 0;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: #535353;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, filter 0.2s ease;
}

.header-connect-btn:hover {
  filter: brightness(1.08);
}

.header-connect-btn.connected {
  color: #6d990f;
}

.header-connect-btn:focus-visible {
  outline: 2px solid rgba(140, 186, 255, 0.65);
  outline-offset: 2px;
}

.header-connect-indicator {
  width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%23535353" d="M233 7c-9.4-9.4-24.6-9.4-33.9 0l-96 96c-9.4 9.4-9.4 24.6 0 33.9l89.4 89.4-15.5 15.5C152.3 230.4 124.9 224 96 224c-31.7 0-61.5 7.7-87.8 21.2c-9 4.7-10.3 16.7-3.1 23.8L112.7 376.7 96.3 393.1c-2.6-.7-5.4-1.1-8.3-1.1c-17.7 0-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32c0-2.9-.4-5.6-1.1-8.3l16.4-16.4L242.9 506.9c7.2 7.2 19.2 5.9 23.8-3.1C280.3 477.5 288 447.7 288 416c0-28.9-6.4-56.3-17.8-80.9l15.5-15.5L375 409c9.4 9.4 24.6 9.4 33.9 0l96-96c9.4-9.4 9.4-24.6 0-33.9l-89.4-89.4 55-55c12.5-12.5 12.5-32.8 0-45.3l-48-48c-12.5-12.5-32.8-12.5-45.3 0l-55 55L233 7zm159 351l-72.4-72.4 62.1-62.1L454.1 296 392 358.1zM226.3 192.4L153.9 120 216 57.9l72.4 72.4-62.1 62.1z"/></svg>');
  animation: radarIdle 22s ease-in-out infinite alternate;
}

.header-connect-btn.connected .header-connect-indicator {
  background-image: url('data:image/svg+xml,<svg class="" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%236d990f" d="M192 32c0-17.7 14.3-32 32-32C383.1 0 512 128.9 512 288c0 17.7-14.3 32-32 32s-32-14.3-32-32C448 164.3 347.7 64 224 64c-17.7 0-32-14.3-32-32zM60.6 220.6L164.7 324.7l28.4-28.4c-.7-2.6-1.1-5.4-1.1-8.3c0-17.7 14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32c-2.9 0-5.6-.4-8.3-1.1l-28.4 28.4L291.4 451.4c14.5 14.5 11.8 38.8-7.3 46.3C260.5 506.9 234.9 512 208 512C93.1 512 0 418.9 0 304c0-26.9 5.1-52.5 14.4-76.1c7.5-19 31.8-21.8 46.3-7.3zM224 96c106 0 192 86 192 192c0 17.7-14.3 32-32 32s-32-14.3-32-32c0-70.7-57.3-128-128-128c-17.7 0-32-14.3-32-32s14.3-32 32-32z"/></svg>');
  animation: radarLive 5.4s ease-in-out infinite;
}

.header-connect-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.header-search-btn {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 10px;
  color: var(--text);
  cursor: pointer;
  padding:0px;
  transition: transform 0.15s ease, color 0.15s ease, filter 0.15s ease;
}

.header-search-btn svg {
  width: 22px;
  height: 22px;
  fill: rgb(93 93 93);
}

.header-search-btn:hover {
  color: #9edb73;
  filter: brightness(1.06);
}

.header-search-btn:focus-visible {
  outline: 2px solid rgba(77, 151, 25, 0.45);
  outline-offset: 2px;
}

.header-swap-btn {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.header-swap-btn svg {
  width: 25px;
  height: 25px;
  display: block;
}

.header-bell-btn {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 10px;
  color: #8ea2c0;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
  position: relative;
  transition: transform 0.15s ease, color 0.15s ease, filter 0.15s ease;
}

.header-bell-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.header-bell-btn:hover {
  color: #8cff45;
  filter: brightness(1.06);
}

.header-bell-btn:focus-visible {
  outline: 2px solid rgba(77, 151, 25, 0.45);
  outline-offset: 2px;
}

.header-bell-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  border: 1px solid rgba(5, 8, 14, 0.9);
  background: #8cff45;
  color: #0a1a06;
  font-size: 10px;
  font-weight: 800;
  line-height: 14px;
  text-align: center;
}

.header-swap-btn:hover {
  filter: brightness(1.1);
}

.header-swap-btn:focus-visible {
  outline: 2px solid rgba(77, 151, 25, 0.45);
  outline-offset: 2px;
}

.header-gear-btn {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, color 0.15s ease, filter 0.15s ease;
}

.header-gear-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.header-gear-btn:hover {
  color: #9edb73;
  filter: brightness(1.06);
}

.header-gear-btn:focus-visible {
  outline: 2px solid rgba(77, 151, 25, 0.45);
  outline-offset: 2px;
}

.header-connect-menu {
  position: absolute;
  top: 38px;
  right: 0;
  left: auto;
  min-width: 220px;
  max-width: min(320px, calc(100vw - 16px));
  background: rgba(16, 16, 16, 0.96);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  z-index: 6140;
}

.header-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
}

.header-menu-item:hover {
  background: rgba(77, 151, 25, 0.14);
}

.header-menu-item.danger:hover {
  background: rgb(105 36 28 / 71%);
  color: #f5b2a9;
}

.header-menu-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}

.header-menu-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.header-menu-icon-img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  display: block;
}

.header-menu-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 4px;
}

.header-menu-connection {
  border: 1px solid rgb(88 149 90 / 28%);
    background: rgb(24 28 23 / 84%);
    border-radius: 10px;
    padding: 8px 10px;
    margin: 4px 2px 2px;
}

.header-menu-connection-title {
  font-size: 10px;
  font-weight: 700;
  color: #90a6c6;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.header-menu-connection-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  font-size: 11px;
  color: #9fb4d5;
}

.header-menu-connection-row + .header-menu-connection-row {
  margin-top: 4px;
}

.header-menu-connection-row strong {
  color: #d8e9ff;
  font-size: 11px;
  font-weight: 700;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
  display: block;
}

.header-menu-connection-row-subtle {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed rgba(120, 160, 210, 0.22);
}

.header-menu-connection-row-subtle span {
  font-size: 10px;
  color: #88a2c2;
}

.header-menu-connection-row-subtle strong {
  color: #b7cce8;
  font-size: 10px;
  font-weight: 600;
}

@keyframes radarIdle {
  0%, 100% {
    transform: rotate(0deg) scale(0.96);
    opacity: 0.78;
  }
  33% {
    transform: rotate(-18deg) scale(1);
    opacity: 0.92;
  }
  66% {
    transform: rotate(14deg) scale(1.02);
    opacity: 0.84;
  }
}

@keyframes radarLive {
  0%, 100% {
    transform: rotate(0deg) scale(0.98);
    filter: drop-shadow(0 0 0 rgba(109, 153, 15, 0));
  }
  20% {
    transform: rotate(34deg) scale(1.04);
    filter: drop-shadow(0 0 4px rgba(109, 153, 15, 0.22));
  }
  45% {
    transform: rotate(-24deg) scale(1.1);
    filter: drop-shadow(0 0 8px rgba(109, 153, 15, 0.52));
  }
  70% {
    transform: rotate(16deg) scale(1.03);
    filter: drop-shadow(0 0 5px rgba(109, 153, 15, 0.3));
  }
  88% {
    transform: rotate(-9deg) scale(1.06);
    filter: drop-shadow(0 0 6px rgba(109, 153, 15, 0.35));
  }
}

.wallet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10040;
  padding: 16px;
}

.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10030;
  padding: 16px;
}

.search-modal {
  width: min(600px, 96vw);
  height: min(500px, 90vh);
  background: radial-gradient(circle at top right, rgba(77,151,25,0.08), transparent 60%), var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.5);
}

.search-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.search-header-icon svg {
  width: 16px;
  height: 16px;
  fill: rgba(255, 255, 255, 0.6);
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 14px;
  outline: none;
}

.search-close {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 18px;
  cursor: pointer;
}

.search-close:hover {
  color: var(--text);
}

.search-results {
  flex: 1;
  overflow-y: auto;
  padding-right: 6px;
}

.search-empty {
  padding: 18px 8px;
  color: var(--muted);
  font-size: 12px;
}

.search-section {
  margin-bottom: 14px;
}

.search-section-title {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin: 6px 8px;
}

.search-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  border: 1px solid transparent;
  background: transparent;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.search-item:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(77,151,25,0.35);
}

.search-item:focus-visible {
  outline: 2px solid rgba(77, 151, 25, 0.35);
  outline-offset: 2px;
}

.search-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.search-item-icon {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  overflow: hidden;
}

.search-item-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-item-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.search-item-title {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-item-sub {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-item-right {
  text-align: right;
  font-size: 12px;
  white-space: nowrap;
}

.search-item-change {
  font-size: 11px;
}

.search-item-change.up {
  color: #64d38b;
}

.search-item-change.down {
  color: #f57567;
}

.search-pill {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.search-loading {
  padding: 10px 8px;
  color: var(--muted);
  font-size: 12px;
}




.subdigit{
  vertical-align: sub;
}









.wallet-modal {
  width: min(420px, 96vw);
  background: radial-gradient(circle at top right, rgba(77,151,25,0.06), transparent 60%), var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wallet-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: var(--text);
}

.wallet-sub {
  font-size: 12px;
  color: var(--muted);
  padding-bottom: 15px;
}

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

.wallet-actions.wallet-actions-stack {
  flex-direction: column;
}

.wallet-inline-link {
  width: 100%;
  text-align: center;
  align-self: center;
  font-size: 13px !important;
  color: rgba(166, 181, 203, 0.92);
  text-decoration: none;
}

.wallet-inline-link:hover {
  color: #dce8ff;
  text-decoration: underline;
}

.wallet-inline-link.wallet-inline-link-btn {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

.wallet-inline-link.wallet-inline-link-btn:focus-visible {
  outline: 1px solid rgba(150, 211, 90, 0.55);
  outline-offset: 2px;
  border-radius: 4px;
}

.wallet-terms-note {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
  color: #90a5c4;
  text-align: center;
}

.wallet-terms-note a {
  color: #c7ddff;
  text-decoration: underline;
}

.wallet-terms-note a:hover {
  color: #e7f2ff;
}

.wallet-option {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
  font-size: 12px;
}

.wallet-option:hover {
  background: rgba(255,255,255,0.09);
}

.wallet-option-with-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.wallet-option-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.wallet-option-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.wallet-option-icon-img.wallet-option-icon-logo {
  border-radius: 4px;
}

.wallet-option-icon-passkey svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.wallet-option-label {
  line-height: 1;
}

.wallet-option.wallet-option-primary {
  border-color: rgba(96, 185, 56, 0.55);
  background: rgba(52, 110, 27, 0.24);
}

.wallet-option.wallet-option-primary:hover {
  background: rgba(66, 137, 34, 0.3);
}

.wallet-option.danger {
  background: rgba(245,117,103,0.12);
  border-color: rgba(245,117,103,0.35);
}

.wallet-cancel {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 9px 10px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.wallet-cancel:hover {
  color: var(--text);
}

.connect-qr-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  padding: 6px 0;
}

.connect-qr-img {
  width: 240px;
  height: 240px;
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #0b1220;
}

.connect-deeplink {
  font-size: 12px;
  color: #4da3ff;
  text-decoration: none;
}

.connect-deeplink:hover {
  text-decoration: underline;
}

.wallet-status {
  font-size: 12px;
  color: var(--muted);
}

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

.header-brand {
  display: none;
  align-items: center;
  gap: 10px;
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.header-brand-logo {
  width: 46px;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0;
  margin: 0 0 0 30px;
}

.brand-logo {
  width: 46px;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0;
}


.controller-id{
  font-size: 13px;
  color: var(--accent);
  margin-top: -6px;
  font-weight: 800;
}
.controller-account {
  font-size: 11px;
  color: var(--muted);
  margin-top: -4px;
}

.brandicon {
  display: flex;
  align-items: center;
  gap: 10px;
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 0;
}

.brand-icon {
  width: 40px;
  height: auto;
  height: auto;
  object-fit: contain;
  
}
.brand-name{
  display: none;
}


/* Sidebar */
aside {
  grid-row: 1 / span 3;
      background: radial-gradient(1100px 600px at 15% -10%, rgb(6 8 11), #00000000 62%), radial-gradient(900px 500px at 95% 10%, rgb(72 72 72 / 16%), #00000000 60%), var(--panel-2);
  border-right: 1px solid var(--border);
  padding: 16px;
  transition: transform 0.2s ease;
  height: 100%;
  opacity: 0.95;
}

.app.sidebar-collapsed .sidebar-shell {
  width: 0;
}

.app.sidebar-collapsed aside {
  transform: translateX(-100%);
  pointer-events: none;
  display: none;
}

.app.sidebar-collapsed .sidebar-toggle {
  position: fixed;
  left: 10px;
  right: auto;
}

.app.is-mobile .sidebar-shell {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  height: 100vh;
  z-index: 6200;
  width: 0;
}

.app.is-mobile aside {
  width: 240px;
  height: 100vh;
  transform: translateX(-100%);
}

.app.is-mobile.sidebar-open .sidebar-shell {
  width: 240px;
}

.app.is-mobile.sidebar-open aside {
  transform: translateX(0);
}

.app.is-mobile.sidebar-open .sidebar-backdrop {
  display: block;
}

.app.is-mobile .sidebar-toggle {
  position: fixed;
  right: 10px;
  left: auto;
  top: 12px;
  z-index: 6320;
}

.app.is-mobile.sidebar-open .sidebar-toggle {
  right: 10px;
}

.app.is-mobile main,
.app.is-mobile footer {
  grid-column: 1;
}

.app.is-mobile.sidebar-open {
  overflow: hidden;
}

.app.is-mobile header .brandicon {
  display: flex;
}

.app.is-mobile header .header-brand {
  display: none;
}

.mobile-nav {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 56px;
  background: rgba(8, 11, 17, 0.42);
  border-top: 1px solid rgba(110, 140, 186, 0.18);
  backdrop-filter: blur(12px) saturate(130%);
  -webkit-backdrop-filter: blur(12px) saturate(130%);
  z-index: 50;
  padding: 6px 10px;
  gap: 8px;
  justify-content: space-between;
}

.mobile-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--muted);
  text-decoration: none;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  min-width: 0;
  justify-content: center;
}

.mobile-nav-icon-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
  filter: grayscale(1) brightness(1.15) opacity(0.8);
}

.mobile-nav-label {
  line-height: 1;
  white-space: nowrap;
}

.mobile-nav-item.active {
  color: #b7e4a4;
}

.mobile-nav-item.active .mobile-nav-icon-img {
  filter: brightness(0) saturate(100%) invert(87%) sepia(18%) saturate(523%) hue-rotate(45deg) brightness(98%) contrast(94%);
}

.mobile-nav-item.disabled {
  opacity: 0.4;
  pointer-events: none;
}

.app.is-mobile .mobile-nav {
  display: flex;
}

.app.is-mobile main {
  padding-bottom: 80px;
}

.app.is-mobile .header-right {
  gap: 8px;
  margin-right: 42px;
}

.app.sidebar-collapsed header .brandicon {
  display: none;
}

.app.sidebar-collapsed header .header-brand {
  display: flex;
  margin-left: 0;
}

aside h3 {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 24px;
}

.sidebar-topic-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 24px;
  margin-bottom: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: left;
  cursor: pointer;
}

.sidebar-topic-toggle.is-subtopic {
  font-size: 11px;
  text-transform: none;
  font-weight: 700;
}

.sidebar-topic-toggle:hover {
  color: #9ab0d0;
}

.sidebar-topic-toggle:focus-visible {
  outline: 2px solid rgba(77, 151, 25, 0.5);
  outline-offset: 3px;
  border-radius: 6px;
}

.sidebar-topic-chevron {
  width: 8px;
  height: 8px;
  display: inline-block;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.16s ease;
  opacity: 0.8;
}

.sidebar-topic-toggle.is-closed .sidebar-topic-chevron {
  transform: rotate(-45deg) translateY(0);
}

.sidebar-topic-links {
  display: block;
}

.sidebar-topic-links-bottom{
  position: absolute;
    bottom: 40px;
}

.sidebar-more-wrap {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
}

.sidebar-more-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
      border: 1px solid rgb(125 158 210 / 19%);
    background: rgb(32 32 32 / 42%);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.48);
  color: #d9f6c3;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  padding: 10px 12px;
  cursor: pointer;
}

.sidebar-more-btn:hover {
  filter: brightness(1.08);
}

.sidebar-more-btn:focus-visible {
  outline: 2px solid rgba(133, 204, 74, 0.7);
  outline-offset: 2px;
}

.sidebar-more-menu {
  position: absolute;
    left: 0;
    right: 0;
    bottom: 50px;
    border: 1px solid rgb(80 80 80 / 45%);
    border-radius: 12px;
    background: rgb(10 10 10 / 96%);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.48);
    padding: 8px;
}

.sidebar-more-link {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  color: #d7e3f8;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
}

.sidebar-more-link:hover,
.sidebar-more-link:focus-visible {
  background: rgba(77, 151, 25, 0.18);
  color: #f2f7ff;
}

.sidebar-topic-links[hidden] {
  display: none !important;
}

.sidebar-subhead {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(127, 142, 163, 0.7);
  margin: 10px 0 6px;
}

aside a {
  display: block;
  padding: 4px 25px;
  color: var(--text);
  text-decoration: none;
  border-radius: 6px;
  margin: 2px 0;
}

aside a:hover,
aside a.active {
  background: var(--accent);
  color: #000;
}

/* Main */
main {
  padding: 20px;
  padding-right: 20px;
  padding-top: 20px;
  overflow: auto;
  min-height: 0;
  min-width: 0;
}

main.accounts-main {
  overflow-x: hidden;
}

/* Dashboard overview */
.dash-hero {
  background: linear-gradient(120deg, rgba(77,151,25,0.15), rgba(20,20,20,0.6));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 18px;
}

.dash-hero-title {
  font-size: 18px;
  font-weight: 700;
}

.dash-hero-sub {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(240px, 1fr));
  gap: 16px;
}

.dash-card {
  background: radial-gradient(circle at top right, rgba(77,151,25,0.08), transparent 55%), var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  min-height: 220px;
}

.dash-card-wide {
  grid-column: span 2;
}

.dash-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.dash-card-title {
  font-size: 14px;
  font-weight: 700;
}

.dash-card-tag {
  font-size: 11px;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(0,0,0,0.2);
}

.dash-card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dash-metric-label {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.dash-metric-value {
  font-size: 20px;
  font-weight: 700;
}

.dash-metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.dash-metric-sub {
  font-size: 14px;
  font-weight: 600;
}

.dash-divider {
  height: 1px;
  background: var(--border);
  opacity: 0.7;
}

.dash-mini {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}

.dash-mini strong {
  color: var(--text);
}

/* Creator dashboard draft */
.creator-onboarding-showcase {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(240px, 1fr)) !important;
  align-items: stretch;
  gap: 18px;
  margin: 0 auto 18px;
  width: 100%;
  max-width: 1550px;
}

.creator-onboarding-showcase > .creator-onboarding-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: clamp(520px, 44vw, 520px);
  border: 1px solid rgba(86, 97, 115, 0.34);
  border-radius: 18px;
  overflow: hidden;
  background: #05070b;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.34);
  isolation: isolate;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.creator-onboarding-showcase > .creator-onboarding-card::before {
  content: none;
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.creator-onboarding-showcase > .creator-onboarding-card::after {
  content: none;
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.creator-onboarding-showcase > .creator-onboarding-card:hover {
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.38);
}

.creator-onboarding-showcase .creator-onboarding-card.is-account {
  --onboarding-card-accent: #53b6ff;
  --onboarding-card-accent-soft: rgba(83, 182, 255, 0.22);
  --onboarding-card-text: #f4f9ff;
  --onboarding-card-button-bg: linear-gradient(180deg, rgba(27, 86, 29, 0.96), rgba(11, 52, 12, 0.96));
  --onboarding-card-button-border: rgba(97, 173, 53, 0.68);
  --onboarding-card-button-text: #eef9ea;
  border-color: rgba(70, 134, 220, 0.28);
}

.creator-onboarding-showcase .creator-onboarding-card.is-publish {
  --onboarding-card-accent: #a88fff;
  --onboarding-card-accent-soft: rgba(168, 143, 255, 0.24);
  --onboarding-card-text: #f7f2ff;
  --onboarding-card-button-bg: linear-gradient(180deg, rgba(55, 22, 119, 0.96), rgba(28, 11, 72, 0.96));
  --onboarding-card-button-border: rgba(123, 87, 232, 0.7);
  --onboarding-card-button-text: #f2eaff;
  border-color: rgba(113, 81, 218, 0.32);
}

.creator-onboarding-showcase .creator-onboarding-card.is-royalties {
  --onboarding-card-accent: #ffdc7d;
  --onboarding-card-accent-soft: rgba(255, 220, 125, 0.24);
  --onboarding-card-text: #fff4ce;
  --onboarding-card-button-bg: linear-gradient(180deg, rgba(108, 69, 16, 0.96), rgba(69, 39, 7, 0.96));
  --onboarding-card-button-border: rgba(214, 152, 49, 0.7);
  --onboarding-card-button-text: #fff0c4;
  border-color: rgba(193, 134, 40, 0.32);
}

.creator-onboarding-showcase .creator-onboarding-card-media {
  position: relative;
  flex: 0 0 auto;
  aspect-ratio: 2 / 0.88;
  overflow: hidden;
  background: rgba(2, 4, 7, 0.95);
  border-bottom: 1px solid rgba(111, 128, 150, 0.16);
}

.creator-onboarding-showcase .creator-onboarding-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
}

.creator-onboarding-showcase .creator-onboarding-card-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  flex: 1 1 auto;
  padding: 26px 28px 28px;
  background:
    radial-gradient(130% 120% at 18% 0%, var(--onboarding-card-accent-soft), transparent 38%),
    repeating-linear-gradient(0deg, rgba(130, 164, 214, 0.032) 0 1px, rgba(0, 0, 0, 0) 1px 24px),
    repeating-linear-gradient(90deg, rgba(130, 164, 214, 0.02) 0 1px, rgba(0, 0, 0, 0) 1px 24px),
    linear-gradient(180deg, rgba(7, 10, 14, 0.96), rgba(4, 6, 10, 0.99));
}

.creator-onboarding-showcase .creator-onboarding-card-kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.82);
}

.creator-onboarding-showcase .creator-onboarding-card-title {
  margin: 0;
  font-size: clamp(24px, 2.2vw, 24px);
  line-height: 1.08;
  font-weight: 800;
  color: var(--onboarding-card-text);
}

.creator-onboarding-showcase .creator-onboarding-card-copy {
  margin: 0;
  max-width: none;
  font-size: 14px;
  line-height: 1.48;
  color: rgba(246, 249, 253, 0.94);
}

.creator-onboarding-showcase .creator-onboarding-card-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 14px;
  line-height: 1.42;
  color: rgba(246, 249, 253, 0.92);
}

.creator-onboarding-showcase .creator-onboarding-card-list li {
  position: relative;
  margin: 0;
  padding-left: 22px;
}

.creator-onboarding-showcase .creator-onboarding-card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--onboarding-card-text);
  box-shadow: 0 0 0 1px var(--onboarding-card-accent-soft), 0 0 16px var(--onboarding-card-accent-soft);
}

.creator-onboarding-showcase .creator-onboarding-card-btn {
  margin-top: auto;
  align-self: stretch;
  width: 100%;
  min-width: 0;
  min-height: 40px;
  justify-content: center;
  text-decoration: none;
  border-width: 1px;
  border-style: solid;
  border-color: var(--onboarding-card-button-border);
  background: var(--onboarding-card-button-bg);
  color: var(--onboarding-card-button-text);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 14px 26px rgba(0, 0, 0, 0.28);
}

.creator-onboarding-showcase .creator-onboarding-card-btn.is-account {
  border-color: var(--onboarding-card-button-border);
  background: var(--onboarding-card-button-bg);
}

.creator-onboarding-showcase .creator-onboarding-card-btn.is-publish {
  border-color: var(--onboarding-card-button-border);
  background: var(--onboarding-card-button-bg);
}

.creator-onboarding-showcase .creator-onboarding-card-btn.is-royalties {
  border-color: var(--onboarding-card-button-border);
  background: var(--onboarding-card-button-bg);
  color: var(--onboarding-card-button-text);
  text-align: center;
  padding: 8px;
}



.creator-onboarding-showcase .creator-onboarding-card-btn:hover,
.creator-onboarding-showcase .creator-onboarding-card-btn:focus-visible {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 18px 32px rgba(0, 0, 0, 0.32);
}

.creator-onboarding-showcase .creator-onboarding-card-btn.is-royalties:hover,
.creator-onboarding-showcase .creator-onboarding-card-btn.is-royalties:focus-visible {
  color: #fff1cf;
}

.creator-onboarding-shell {
  border: 1px solid rgb(75 75 75 / 34%);
    border-radius: 16px;
    overflow: hidden;
    background: radial-gradient(98% 76% at 12% 0%, rgb(171 193 109 / 7%), transparent 62%), radial-gradient(90% 70% at 92% 0%, rgb(16 15 11 / 16%), #00000066 62%), repeating-linear-gradient(0deg, rgba(130, 164, 214, 0.04) 0 1px, #00000036 1px 24px), repeating-linear-gradient(90deg, rgb(0 0 0 / 0%) 0 1px, #0000003d 1px 24px), linear-gradient(180deg, rgb(17 22 20 / 35%), rgb(9 10 7 / 48%));
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4);
  padding: 24px;
}

.creator-onboarding-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.creator-onboarding-title {
  margin-top: 8px;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 800;
  max-width: 780px;
}

.creator-onboarding-sub {
  margin-top: 10px;
  max-width: 760px;
  font-size: 14px;
  color: #cfd8e5;
  line-height: 1.5;
}

.creator-onboarding-step-flow {
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.creator-onboarding-step {
  border: 1px solid rgba(93, 114, 139, 0.42);
  border-radius: 10px;
  background: rgba(5, 10, 16, 0.82);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  transition: border-color 140ms ease, background 140ms ease, opacity 140ms ease;
}

.creator-onboarding-step-marker {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(87, 104, 128, 0.75);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #b9c9df;
  flex: 0 0 22px;
}

.creator-onboarding-step-check {
  display: none;
}

.creator-onboarding-step-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.creator-onboarding-step-name {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #7f93ae;
}

.creator-onboarding-step-desc {
  font-size: 13px;
  color: #c5d1df;
  line-height: 1.3;
}

.creator-onboarding-step-link {
  height: 2px;
  border-radius: 999px;
  background: rgba(72, 88, 110, 0.52);
}

.creator-onboarding-step.is-active {
  border-color: rgba(95, 172, 56, 0.72);
  background:
    radial-gradient(88% 130% at 10% 0%, rgba(72, 132, 42, 0.24), transparent 70%),
    rgba(7, 15, 10, 0.9);
}

.creator-onboarding-step.is-active .creator-onboarding-step-marker {
  border-color: rgba(116, 192, 78, 0.9);
  color: #d8f5c8;
  background: rgba(30, 88, 18, 0.66);
}

.creator-onboarding-step.is-active .creator-onboarding-step-name {
  color: #a8d68a;
}

.creator-onboarding-step.is-active .creator-onboarding-step-desc {
  color: #e0f3d4;
}

.creator-onboarding-step.is-complete {
  border-color: rgba(116, 189, 81, 0.86);
  background:
    radial-gradient(95% 125% at 8% 0%, rgba(58, 124, 30, 0.25), transparent 68%),
    rgba(8, 18, 12, 0.9);
}

.creator-onboarding-step.is-complete .creator-onboarding-step-marker {
  border-color: rgba(119, 204, 74, 0.95);
  color: #e9ffd6;
  background: rgba(39, 98, 22, 0.84);
}

.creator-onboarding-step.is-complete .creator-onboarding-step-number {
  display: none;
}

.creator-onboarding-step.is-complete .creator-onboarding-step-check {
  display: inline;
}

.creator-onboarding-step.is-complete .creator-onboarding-step-name {
  color: #9fce84;
}

.creator-onboarding-step.is-complete .creator-onboarding-step-desc {
  color: #daebcf;
}

.creator-onboarding-step.is-disabled {
  opacity: 0.76;
  border-color: rgba(78, 94, 116, 0.48);
  background: rgba(5, 10, 15, 0.75);
}

.creator-onboarding-step.is-disabled .creator-onboarding-step-name {
  color: #687a92;
}

.creator-onboarding-step.is-disabled .creator-onboarding-step-desc {
  color: #93a3b9;
}

.creator-onboarding-step-flow[data-stage="step2"] .creator-onboarding-step-link,
.creator-onboarding-step-flow[data-stage="done"] .creator-onboarding-step-link,
.creator-onboarding-step-flow[data-stage="blocked"] .creator-onboarding-step-link {
  background: linear-gradient(90deg, rgba(126, 193, 80, 0.85), rgba(95, 170, 54, 0.6));
}

.creator-onboarding-step-flow[data-stage="blocked"] .creator-onboarding-step-link {
  background: linear-gradient(90deg, rgba(196, 126, 75, 0.86), rgba(196, 126, 75, 0.38));
}

.creator-onboarding-cta-row {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.creator-onboarding-cta-row .creator-btn {
  min-width: 200px;
}

@media (max-width: 900px) {
  .creator-onboarding-showcase {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    overflow-x: clip;
  }

  .creator-onboarding-showcase > .creator-onboarding-card {
    min-height: 560px;
    max-width: 100%;
    min-width: 0;
  }

  .creator-onboarding-showcase .creator-onboarding-card-media {
    aspect-ratio: 1 / 0.8;
  }

  .creator-onboarding-showcase .creator-onboarding-card-body {
    padding: 14px 14px 14px;
  }

  .creator-onboarding-showcase .creator-onboarding-card-copy,
  .creator-onboarding-showcase .creator-onboarding-card-list {
    font-size: 14px;
  }

  .creator-onboarding-showcase .creator-onboarding-card-btn {
    width: 100%;
    min-width: 0;
  }

  main > .account-grid-a {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .creator-onboarding-step-flow {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .creator-onboarding-step-link {
    width: 2px;
    height: 14px;
    justify-self: center;
  }
}

@media (max-width: 600px) {
  .creator-onboarding-showcase {
    margin-bottom: 14px;
  }

  .creator-onboarding-showcase > .creator-onboarding-card {
    min-height: auto;
  }

  .creator-onboarding-showcase .creator-onboarding-card-media {
    aspect-ratio: 1 / 0.72;
  }

  .creator-onboarding-showcase .creator-onboarding-card-body {
    padding: 18px 16px;
    gap: 12px;
  }

  .creator-onboarding-showcase .creator-onboarding-card-title {
    font-size: 21px;
  }

  .creator-onboarding-showcase .creator-onboarding-card-copy,
  .creator-onboarding-showcase .creator-onboarding-card-list {
    font-size: 13px;
  }
}

.creator-onboarding-checks {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.creator-onboarding-check {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  background: rgba(8, 14, 19, 0.8);
  font-size: 12px;
  color: #bfccdd;
}

.creator-onboarding-check strong {
  color: #f2f7ff;
}

.onboarding-report{
  font-size: 12px;
  margin-top: 10px;
}

.creator-onboarding-runtime {
  margin-top: 30px;
  border: 1px solid #1a1a1a;
    border-radius: 10px;
    background: rgb(13 14 14 / 74%);
  padding: 12px;
}

.creator-onboarding-runtime-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #c4d0df;
  margin-top: 5px;
}

.creator-onboarding-runtime-line-text {
  flex: 1;
  min-width: 220px;
}

.creator-onboarding-inline-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: #f6d9b4;
  background: rgba(102, 38, 0, 0.9);
  cursor: pointer;
}

.creator-onboarding-inline-pill:hover {
  filter: brightness(1.08);
}

.creator-onboarding-inline-pill:disabled {
  opacity: 0.55;
  cursor: default;
}

.creator-onboarding-runtime-form {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.creator-onboarding-runtime-input {
  flex: 1;
  min-width: 260px;
  margin-bottom: 0;
}

.creator-onboarding-runtime-status {
  margin-top: 10px;
  font-size: 12px;
  color: #dce8f7;
}

.creator-onboarding-runtime-status.is-error {
  color: #ff8f88;
}

.creator-onboarding-runtime-status.is-success {
  color: #9dd782;
}

.creator-onboarding-wallet {
  margin-top: 5px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.creator-onboarding-wallet-label {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.creator-onboarding-wallet-value {
  display: inline-block;
  font-size: 14px;
  color: #e5efff;
  word-break: break-all;
}

.studio-icon-presentation{
  width: 30px;
    float: left;
    margin-top: 11px;
    margin-right: 10px;
}

.creator-seed-ceremony {
  margin-top: 25px;
      border: 1px solid rgb(47 47 47 / 24%);
    border-radius: 10px;
    background: rgb(8 8 8 / 80%);
  padding: 10px;
  margin-bottom: 20px;
}

.creator-seed-ceremony-title {
  font-size: 12px;
  font-weight: 700;
  color: #e4effe;
}

.creator-seed-ceremony-warning {
  margin-top: 6px;
  font-size: 12px;
  color: #cfd9e7;
  line-height: 1.4;
}

.creator-seed-ceremony-seed {
  margin-top: 8px;
  border: 1px dashed rgba(129, 147, 172, 0.45);
  border-radius: 8px;
  padding: 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  color: #f4f9ff;
  word-break: break-all;
  background: rgba(8, 14, 22, 0.92);
}

.creator-seed-ceremony-actions {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.creator-seed-ceremony-ack {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 12px;
  color: #d2deec;
}

.creator-seed-ceremony-ack input {
  margin-top: 2px;
}

.creator-passkey-setup {
  margin-top: 30px;
  border: 1px dashed rgba(230, 171, 72, 0.42);
  border-radius: 9px;
  background: rgba(38, 24, 4, 0.28);
  padding: 10px;
}

.creator-passkey-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.creator-passkey-title {
  font-size: 12px;
  font-weight: 700;
  color: #ffe6b8;
}

.creator-passkey-state-pill {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: #fff5de;
  background: rgba(102, 67, 0, 0.99);
}

.creator-passkey-state-pill.is-ready {
  background: rgba(24, 75, 22, 0.9);
  color: #dff7dd;
}

.creator-passkey-state-pill.is-warning {
  background: rgba(102, 67, 0, 0.99);
  color: #fff5de;
}

.creator-passkey-copy {
  margin-top: 6px;
  font-size: 12px;
  color: #e5dcc7;
  line-height: 1.35;
}

.creator-passkey-actions {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.creator-passkey-actions-spacer {
  display: inline-block;
  width: 18px;
  min-width: 18px;
}

.creator-passkey-voice-btn {
  appearance: none;
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 999px;
  border: 1px solid rgba(88, 176, 39, 0.62);
  background: rgba(10, 20, 16, 0.88);
  color: #8ed16a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.creator-passkey-voice-btn:hover {
  border-color: rgba(128, 222, 84, 0.84);
  color: #c9f1b7;
  box-shadow: 0 0 0 3px rgba(70, 136, 29, 0.2);
}

.creator-passkey-voice-btn:focus-visible {
  outline: 2px solid rgba(142, 200, 255, 0.72);
  outline-offset: 2px;
}

.creator-passkey-voice-btn[data-state="playing"] {
  border-color: rgba(118, 193, 86, 0.72);
  background: rgba(49, 109, 33, 0.24);
  color: #cbf4bd;
}

.creator-passkey-voice-icon {
  width: 24px;
  height: 24px;
  line-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.creator-passkey-voice-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}

.creator-passkey-voice-panel {
  display: flex;
  justify-content: flex-start;
  margin-top: 8px;
}

.creator-passkey-voice-player {
  width: min(360px, 100%);
  height: 42px;
}

.creator-passkey-status {
  margin-top: 8px;
  font-size: 12px;
  color: #dce8f7;
}

.creator-passkey-status.is-error {
  color: #ff8f88;
}

.creator-passkey-status.is-success {
  color: #9dd782;
}

.creator-seed-ceremony-complete-wrap {
  margin-top: 10px;
}

.creator-board {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.creator-topline {
  font-size: 12px;
  color: var(--muted);
  padding: 0 2px;
}

.creator-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(300px, 28vw, 360px);
  gap: 14px;
  align-items: start;
}

.creator-nav-card,
.creator-mint-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  background:
    radial-gradient(90% 80% at 8% 0%, rgba(77, 151, 25, 0.12), transparent 60%),
    var(--panel);
}

.creator-nav-card {
  padding: 14px 12px;
}

.creator-nav-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
}

.creator-nav-link {
  display: block;
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 12px;
  margin-bottom: 3px;
}

.creator-nav-link:hover,
.creator-nav-link.active {
  background: rgba(77, 151, 25, 0.16);
  border: 1px solid rgba(77, 151, 25, 0.38);
  padding: 7px 9px;
}

.creator-nav-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.creator-nav-row .creator-nav-link {
  flex: 1;
  margin-bottom: 0;
}

.creator-nav-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 10px;
  color: var(--muted);
  padding: 2px 7px;
  letter-spacing: 0.04em;
}

.creator-center {
  border: 1px solid rgb(75 75 75 / 34%);
  border-radius: 16px;
  overflow: hidden;
  background: radial-gradient(98% 76% at 12% 0%, rgb(171 193 109 / 7%), transparent 62%), radial-gradient(90% 70% at 92% 0%, rgb(16 15 11 / 16%), #00000066 62%), repeating-linear-gradient(0deg, rgba(130, 164, 214, 0.04) 0 1px, #00000036 1px 24px), repeating-linear-gradient(90deg, rgb(0 0 0 / 0%) 0 1px, #0000003d 1px 24px), linear-gradient(180deg, rgb(17 22 20 / 35%), rgb(9 10 7 / 48%));
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4);
    padding: 14px;
    min-height: 80vh;
    min-width: 0;
}

.creator-welcome-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.creator-wallet-line {
  margin-top: 3px;
  font-size: 13px;
  color: var(--muted);
}

.creator-wallet-line span {
  color: var(--text);
}

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

.creator-quick-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: linear-gradient(175deg, rgba(26, 31, 37, 0.66), rgba(11, 14, 17, 0.85));
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.creator-quick-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(118, 139, 168, 0.45);
  background: rgba(19, 25, 31, 0.7);
  font-size: 20px;
  color: #d4e2f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.creator-quick-title {
  font-size: 16px;
  font-weight: 700;
}

.creator-quick-sub {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

.creator-collections-head {
  margin-top: 14px;
  font-size: 17px;
  font-weight: 700;
}

.creator-collections-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.creator-collection-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(12, 16, 19, 0.86);
  overflow: hidden;
}

.creator-collection-thumb {
  height: 134px;
  border-bottom: 1px solid var(--border);
}

.creator-thumb-a {
  background:
    radial-gradient(70% 80% at 25% 20%, rgba(141, 210, 255, 0.22), transparent 70%),
    linear-gradient(140deg, #1a2228 0%, #09131a 60%, #070a0e 100%);
}

.creator-thumb-b {
  background: radial-gradient(70% 80% at 70% 10%, rgb(62 157 51 / 5%), transparent 70%), linear-gradient(140deg, #00000059 0%, #0000004f 55%, #00000026 100%);
}

.creator-thumb-c {
  background: radial-gradient(70% 80% at 70% 20%, rgb(30 39 7 / 40%), #00000000 70%), linear-gradient(140deg, #120d0778 0%, #15131300 55%, #0c0c0d 100%);
}

.creator-collection-menu {
  position: absolute;
  top: 8px;
  right: 8px;
  border: 0;
  background: rgba(6, 9, 12, 0.75);
  color: #d6dee8;
  border-radius: 9px;
  padding: 2px 6px;
  font-size: 14px;
  cursor: pointer;
}

.creator-collection-body {
  padding: 9px 10px 10px;
}

.creator-collection-title {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.creator-collection-meta {
  margin-top: 2px;
  font-size: 11px;
  color: var(--muted);
}

.creator-custody-note {
  margin-top: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--panel-3);
  padding: 10px 11px;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  gap: 10px;
  align-items: center;
  line-height: 1.35;
}

.creator-custody-note strong {
  color: var(--text);
}

.creator-custody-lock {
  font-size: 18px;
}

.creator-custody-voice-btn {
  margin-left: auto;
  flex: 0 0 auto;
}

.creator-mint-card {
  padding: 14px;
  min-width: 0;
}

.creator-mint-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}

.creator-mint-title {
  font-size: 18px;
  font-weight: 700;
}

.creator-mint-sub {
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
}

.creator-mint-close {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.creator-form-step {
  margin: 12px 0 7px;
  font-size: 14px;
  font-weight: 700;
}

.creator-input-block,
.creator-input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(8, 11, 14, 0.78);
  color: var(--text);
  font-size: 12px;
}

.creator-input {
  min-height: 40px;
  padding: 10px 12px;
  margin-bottom: 8px;
}

.creator-input::placeholder {
  color: rgba(164, 177, 194, 0.82);
}

.creator-textarea {
  min-height: 84px;
  resize: vertical;
}

.creator-select-block {
  padding: 10px 12px;
  margin-bottom: 8px;
}

.creator-select-main {
  font-size: 14px;
  font-weight: 700;
}

.creator-select-line {
  margin-top: 6px;
  font-size: 12px;
  color: var(--text);
}

.creator-select-line.muted {
  color: var(--muted);
}

.creator-inline-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.creator-inline-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.creator-label {
  font-size: 12px;
  color: var(--muted);
}

.creator-dropzone {
  margin-top: 8px;
  border: 1px dashed rgba(131, 144, 165, 0.4);
  border-radius: 12px;
  background: rgba(10, 14, 18, 0.46);
  text-align: center;
  padding: 24px 12px;
}

.creator-drop-title {
  font-size: 16px;
  font-weight: 700;
}

.creator-drop-sub {
  margin-top: 3px;
  font-size: 13px;
}

.creator-drop-types {
  margin-top: 8px;
  font-size: 11px;
  color: var(--muted);
}

.creator-btn {
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  padding: 9px 12px;
}

.creator-btn-ghost {
  border-color: rgba(77, 151, 25, 0.35);
  background: rgba(77, 151, 25, 0.16);
}

.creator-btn-ghost:hover {
  background: rgba(77, 151, 25, 0.24);
}

.creator-btn-secondary {
  margin-top: 10px;
}

.creator-btn-ghost {
    border-color: rgb(25 103 151 / 58%);
    background: rgb(15 76 125 / 44%);
    font-size: 16px;
  font-size: 16px;
}

.creator-btn-ghost:hover {
  background: rgb(25 95 151 / 48%);
}

.creator-btn-primary {

  margin-top: 12px;
  border-color: rgba(77, 151, 25, 0.58);
  background: rgba(77, 151, 25, 0.2);
  font-size: 16px;
}

.creator-btn-primary:hover {
  background: rgba(77, 151, 25, 0.28);
}

.creator-mint-hint {
  margin-top: 8px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 1480px) {
  .creator-layout {
    grid-template-columns: minmax(0, 1fr) clamp(280px, 30vw, 340px);
  }
}

@media (max-width: 1220px) {
  .creator-layout {
    grid-template-columns: 1fr;
  }

  .creator-mint-card {
    grid-column: auto;
  }

  .creator-center {
    min-height: 0;
  }

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

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

  .creator-nav-card,
  .creator-center,
  .creator-mint-card {
    grid-column: auto;
  }

  .creator-quick-grid,
  .creator-collections-grid,
  .creator-inline-fields {
    grid-template-columns: 1fr;
  }
}

/* Markets view */
.market-board {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.settings-board {
  max-width: auto;
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  padding: 6px 2px 2px;
}

.settings-grid-full {
  grid-template-columns: 1fr;
}

.settings-grid-3 {
  margin: 10px 0 10px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.settings-item {
  background: linear-gradient(140deg, rgba(77, 151, 25, 0.08), rgba(20, 20, 20, 0.92));
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  min-height: 150px;
  flex-direction: column;
  gap: 10px;
}

.settings-onboarding-helper {
  margin: 20px 0 20px 0;

  border: 1px dotted rgba(255, 165, 68, 0.86);
  border-radius: 12px;
  padding: 12px;
  background: radial-gradient(90% 120% at 100% 0%, rgba(120, 68, 0, 0.2), rgba(16, 12, 4, 0.52) 58%, rgba(8, 10, 12, 0.7) 100%);
}

#settingsOnboardingHelper {
  scroll-margin-top: 100px;
}

#settingsOnboardingHelper:target {
  box-shadow: 0 0 0 1px rgba(255, 174, 85, 0.75), 0 0 20px rgba(173, 97, 0, 0.35);
}

.settings-onboarding-helper-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffd8a5;
}

.settings-onboarding-helper-copy {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: #d7dbe4;
}

.settings-onboarding-steps {
  margin: 10px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 7px;
  color: #f0f2f8;
  font-size: 12px;
  line-height: 1.42;
}

.settings-onboarding-actions {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.settings-passkey-helper {
  border: 1px dotted rgba(255, 165, 68, 0.65);
  border-radius: 12px;
  padding: 12px;
  background: radial-gradient(90% 120% at 100% 0%, rgba(120, 68, 0, 0.12), rgba(16, 12, 4, 0.45) 58%, rgba(8, 10, 12, 0.66) 100%);
}

.settings-passkey-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.settings-passkey-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffd8a5;
}

.settings-passkey-state-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  border: 1px solid rgba(255, 183, 87, 0.42);
  color: #ffd38a;
  background: rgba(88, 58, 4, 0.46);
}

.settings-passkey-state-pill.is-ready {
  border-color: rgba(92, 183, 117, 0.42);
  color: #cbffe0;
  background: rgba(13, 78, 35, 0.48);
}

.settings-passkey-state-pill.is-warning {
  border-color: rgba(255, 183, 87, 0.42);
  color: #ffd38a;
  background: rgba(88, 58, 4, 0.46);
}

.settings-passkey-copy {
  margin-top: 8px;
  color: #d7dbe4;
  font-size: 12px;
  line-height: 1.4;
}

.settings-passkey-ack-row {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.settings-passkey-ack {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #d7dbe4;
  font-size: 12px;
  line-height: 1.35;
}

.settings-passkey-ack input[type="checkbox"] {
  margin-top: 2px;
}

.settings-passkey-actions {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.settings-passkey-status {
  margin-top: 8px;
  font-size: 12px;
  color: #b8c5d9;
}

.settings-passkey-status.is-error {
  color: #ff9b9b;
}

.settings-passkey-status.is-success {
  color: #98d996;
}

.settings-wallet-connection-subtle {
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px dashed rgba(120, 160, 210, 0.22);
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.settings-wallet-connection-subtle span {
  font-size: 10px;
  color: #88a2c2;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.settings-wallet-connection-subtle strong {
  font-size: 10px;
  color: #b7cce8;
  font-weight: 600;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bc-settings-title {
  margin: 0;
  font-size: clamp(30px, 3.1vw, 44px);
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.settings-title {
  margin: 20px 0 20px;
  font-weight: 700;
  font-size: 14px;
}

.settings-title-with-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.settings-title-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.settings-title-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.settings-title-logo-x {
  filter: brightness(1.1);
}

.settings-title-logo-google {
  border-radius: 50%;
}

.settings-desc {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  flex: 1;
  padding-bottom: 15px;
}

.bc-settings-desc{
  color: var(--muted);
  flex: 1;

  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.5;
}

.bc-eyebrow {
    margin: 0;
    color: #93afcf;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}



.settings-action-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.settings-action-row-align {
  align-items: center;
}

.settings-pref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.settings-pref-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.settings-pref-field .creator-input {
  width: 100%;
  min-width: 0;
}

.settings-action {
  align-self: flex-start;
  background: rgba(77, 151, 25, 0.18);
  border: 1px solid rgba(77, 151, 25, 0.5);
  color: var(--text);
  padding: 6px 12px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
}

.settings-action:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border);
}

.settings-item-bootcamp {
    border: 1px solid rgb(75 75 75 / 34%);
    border-radius: 16px;
    overflow: hidden;
    background: radial-gradient(98% 76% at 12% 0%, rgb(171 193 109 / 7%), transparent 62%), radial-gradient(90% 70% at 92% 0%, rgb(16 15 11 / 16%), #00000066 62%), repeating-linear-gradient(0deg, rgba(130, 164, 214, 0.04) 0 1px, #00000036 1px 24px), repeating-linear-gradient(90deg, rgb(0 0 0 / 0%) 0 1px, #0000003d 1px 24px), linear-gradient(180deg, rgb(17 22 20 / 98%), rgb(9 10 7 / 98%));
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4);
}

.settings-item-bootcamp-stats {
  padding: 0;
  background: transparent;
  border: 0;

}

.settings-bootcamp-card {
  min-height: 100%;
}



.settings-add{
  font-size: 140px;
  color: rgba(77, 151, 25, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.bootcamp-howto-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.bootcamp-howto-head .settings-title {
  margin-bottom: 0;
}

.bootcamp-howto-voice-btn {
  appearance: none;
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 999px;
  border: 1px solid rgba(88, 176, 39, 0.62);
  background: rgba(10, 20, 16, 0.88);
  color: #8ed16a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
  padding: 0;
}

.bootcamp-howto-voice-btn:hover {
  border-color: rgba(128, 222, 84, 0.84);
  color: #c9f1b7;
  box-shadow: 0 0 0 3px rgba(70, 136, 29, 0.2);
}

.bootcamp-howto-voice-btn:focus-visible {
  outline: 2px solid rgba(142, 200, 255, 0.72);
  outline-offset: 2px;
}

.bootcamp-howto-voice-btn[data-state="playing"] {
  border-color: rgba(118, 193, 86, 0.72);
  background: rgba(49, 109, 33, 0.24);
  color: #cbf4bd;
}

.bootcamp-howto-voice-icon {
  width: 24px;
  height: 24px;
  line-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bootcamp-howto-voice-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}

.bootcamp-howto-voice-panel {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 10px;
}

.bootcamp-howto-voice-player {
    width: min(240px, 100%);
    height: 42px;
    position: absolute;
    margin-top: -150px;
    margin-right: -50px;
}





.bootcamp-slider-wrap {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  gap: 10px;
  align-items: center;
}

.bootcamp-slider-btn {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: rgba(24, 28, 22, 0.75);
  color: var(--text);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.bootcamp-slider-btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.bootcamp-slider {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}

.bootcamp-slider::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.bootcamp-slider.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.bootcamp-track {
  display: flex;
  gap: 10px;
  padding: 2px;
  min-height: 214px;
}

.bootcamp-nft-card {
  width: 158px;
  min-width: 158px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: rgba(13, 18, 16, 0.88);
  padding: 8px;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 7px;
  text-align: left;
}

.bootcamp-nft-card:hover {
  border-color: rgba(110, 180, 90, 0.7);
}

.bootcamp-nft-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: rgba(7, 10, 12, 0.66);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
  padding: 0;
  appearance: none;
}

.bootcamp-nft-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.bootcamp-nft-img.is-loaded {
  opacity: 1;
}

.bootcamp-nft-thumb.has-image .nft-thumb-fallback {
  display: none;
}

.bootcamp-nft-name {
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bootcamp-nft-price {
  font-size: 12px;
  color: #9ed17f;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bootcamp-nft-buy {
  width: 100%;
  margin-top: auto;
  border: 1px solid rgba(77, 151, 25, 0.58);
  border-radius: 8px;
  background: rgba(77, 151, 25, 0.2);
  color: var(--text);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 7px 8px;
  cursor: pointer;
}

.bootcamp-nft-buy:hover {
  background: rgba(77, 151, 25, 0.27);
  border-color: rgba(121, 191, 99, 0.75);
}

.bootcamp-slider-state {
  font-size: 12px;
  color: var(--muted);
  min-height: 16px;
  margin-top: 15px;
}

.bootcamp-art-modal {
  position: fixed;
  inset: 0;
  z-index: 10030;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.78);
}

.bootcamp-art-modal.open {
  display: flex;
}

.bootcamp-art-shell {
  width: min(720px, calc(100vw - 36px));
  border-radius: 14px;
  border: 1px solid var(--border);
  background:
    radial-gradient(75% 70% at 12% 0%, rgba(77, 151, 25, 0.14), transparent 60%),
    rgba(8, 12, 12, 0.98);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.72);
  padding: 10px;
  position: relative;
}

.bootcamp-art-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(10, 15, 16, 0.9);
  color: #d2dce8;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.bootcamp-art-close:hover {
  border-color: rgba(160, 219, 128, 0.52);
  color: #f5ffef;
}

.bootcamp-art-image {
  display: block;
  width: 100%;
  max-height: min(72vh, 780px);
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid rgba(85, 104, 136, 0.35);
  background: rgba(8, 11, 14, 0.92);
}

.bootcamp-art-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 2px 2px;
}

.bootcamp-art-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.bootcamp-art-sub {
  font-size: 11px;
  color: var(--muted);
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bootcamp-art-price {
  font-size: 12px;
  font-weight: 700;
  color: #9ed17f;
}

@media (max-width: 760px) {
  .settings-item-bootcamp {
    min-height: 240px;
  }

  .bootcamp-slider-wrap {
    grid-template-columns: minmax(0, 1fr);
  }

  .bootcamp-slider-btn {
    display: none;
  }

  .bootcamp-nft-card {
    width: 142px;
    min-width: 142px;
  }

  .bootcamp-track {
    min-height: 198px;
  }

  .bootcamp-art-shell {
    width: calc(100vw - 20px);
    padding: 8px;
  }
}

.admin-board {
  max-width: 1200px;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.health-monitor-page {
  gap: 16px;
}

.health-monitor-grid {
  align-items: start;
}

.health-card {
  position: relative;
  overflow: hidden;
}

.health-card--hero {
  background:
    radial-gradient(circle at top right, rgba(126, 240, 122, 0.18), transparent 38%),
    linear-gradient(135deg, rgba(8, 19, 11, 0.98), rgba(11, 18, 32, 0.96));
  border-color: rgba(126, 240, 122, 0.2);
}

.health-card--hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(126, 240, 122, 0.06), transparent 45%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 35%);
  pointer-events: none;
}

.health-card--hero > * {
  position: relative;
  z-index: 1;
}

.health-card--wide {
  grid-column: 1 / -1;
}

.health-hero-header {
  align-items: flex-start;
  gap: 16px;
}

.health-hero-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.health-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.health-stat {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.health-stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.health-stat-value {
  margin-top: 8px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

.health-stat-note {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}

.health-cluster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.health-cluster {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.health-cluster-title,
.health-subsection-label {
  font-size: 12px;
  font-weight: 700;
  color: #dce8d7;
  margin-top: 14px;
}

.health-cluster-title {
  margin-top: 0;
  margin-bottom: 10px;
}

.health-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.health-chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #dbe4f1;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.health-chip.is-ok {
  border-color: rgba(126, 240, 122, 0.44);
  background: rgba(71, 164, 67, 0.18);
  color: #ccf6c5;
}

.health-chip.is-warn {
  border-color: rgba(246, 209, 122, 0.45);
  background: rgba(166, 121, 20, 0.18);
  color: #f7df9b;
}

.health-chip.is-error {
  border-color: rgba(248, 159, 159, 0.42);
  background: rgba(133, 35, 35, 0.2);
  color: #ffd1d1;
}

.health-chip.is-neutral {
  border-color: rgba(149, 198, 251, 0.28);
  background: rgba(149, 198, 251, 0.08);
  color: #d7ebff;
}

.health-issues {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(248, 159, 159, 0.26);
  background: rgba(102, 18, 18, 0.18);
}

.health-issue {
  color: #ffd1d1;
  font-size: 13px;
}

.health-issue + .health-issue {
  margin-top: 8px;
}

.health-note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
}

.health-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.health-metrics {
  margin-top: 10px;
}

.health-endpoint {
  font-family: ui-monospace, SFMono-Regular, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
  word-break: break-word;
}

.health-inline-alert {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
}

.health-inline-alert.is-error {
  border: 1px solid rgba(248, 159, 159, 0.35);
  background: rgba(106, 3, 3, 0.26);
  color: #ffd1d1;
}

.health-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.health-feature-card {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.health-feature-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.health-feature-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

@media (max-width: 980px) {
  .health-card--wide {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  .health-hero-meta {
    align-items: flex-start;
  }
}

main[data-market-asset] {
  overflow-x: hidden;
}

.market-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(120deg, rgba(77,151,25,0.12), rgba(20,20,20,0.7));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
}

.market-tabs-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.market-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
}

.market-tab {
  position: relative;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.35);
  color: var(--text);
  padding: 10px 32px 10px 14px;
  border-radius: 10px;
  font-size: 12px;
  text-decoration: none;
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  min-width: 120px;
  scroll-snap-align: start;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}

.market-tab.is-active {
  color: var(--text);
  border-color: rgba(95, 184, 36, 0.6);
  background: rgb(25 64 0 / 12%);
}

.market-tab-title {
  font-weight: 700;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.market-tab-title-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.market-tab-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.3px;
  flex: 0 0 auto;
  text-transform: uppercase;
  overflow: hidden;
}

.market-tab-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.market-controllers-wrap {
  margin-top: 4px;
}

.market-controllers-table th,
.market-controllers-table td {
  padding: 8px 6px;
  font-size: 12px;
}

.market-controllers-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

.market-controllers-link {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(0,0,0,0.25);
  text-decoration: none;
}

.market-controllers-link:hover {
  border-color: rgba(95,184,36,0.6);
  background: rgba(95,184,36,0.12);
}

.ctrl-status {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-size: 11px;
}

.ctrl-status.active { color: #7ef07a; }
.ctrl-status.paused { color: var(--muted); }
.ctrl-status.disabled { color: #ff6b6b; }

.ctrl-switch {
  position: relative;
  display: inline-block;
  width: 34px;
  height: 18px;
}

.ctrl-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.ctrl-switch span {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: 0.2s;
}

.ctrl-switch span::after {
  content: "";
  position: absolute;
  height: 14px;
  width: 14px;
  left: 2px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.65);
  border-radius: 50%;
  transition: 0.2s;
  box-shadow: 0 0 6px rgba(0,0,0,0.35);
}

.ctrl-switch input:checked + span {
  background: rgba(95,184,36,0.35);
  border-color: rgba(95,184,36,0.6);
}

.ctrl-switch input:checked + span::after {
  left: 18px;
  background: #7ef07a;
}

.market-tab-sub {
  font-size: 11px;
  color: var(--muted);
}

.market-tab-sub.green {
  color: var(--green-candle);
}

.market-tab-sub.red {
  color: #ff5a5a;
}

.market-tab-sub.neutral {
  color: var(--muted);
}

.market-tab-close {
  position: absolute;
  top: 6px;
  right: 8px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  line-height: 1;
  padding: 0;
  cursor: pointer;
}

.market-tab-close:hover {
  color: var(--text);
}

.market-tabs::-webkit-scrollbar {
  height: 0;
}

.market-tabs::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 999px;
}

.market-tabs::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 999px;
}

.market-title {
  font-size: 18px;
  font-weight: 700;
}

.market-sub {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.market-meta {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--muted);
}

.account-metric-row {
  align-items: flex-start;
}

.account-total {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: var(--text);
}

.account-reserve {
  margin-top: 4px;
  font-size: 11px;
  color: var(--muted);
}

.account-intel {
  border-top: 1px solid var(--border);
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.account-intel-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
}

.account-intel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 8px 12px;
}

.account-intel-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.account-intel-label {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.3px;
}

.account-intel-value {
  font-size: 12px;
  color: var(--text);
  word-break: break-word;
}

.account-intel-link {
  color: #8acbff;
  text-decoration: none;
  border-bottom: 1px dashed rgba(138,203,255,0.4);
}

.account-intel-link:hover {
  color: #bfe3ff;
  border-bottom-color: rgba(138,203,255,0.8);
}

.account-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 8px;
}

.account-refresh-line {
  border: 0;
  height: 1px;
  width: 100%;
  margin: 14px 0 8px;
  background: rgba(120, 160, 120, 0.12);
  position: relative;
  overflow: hidden;
  border-radius: 999px;
}

.account-refresh-line::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, rgba(120, 200, 120, 0.08), rgba(120, 200, 120, 0.55), rgba(120, 200, 120, 0.08));
  opacity: 0.9;
}

.account-refresh-line.is-animating::before {
  animation: accountRefreshProgress var(--refresh-duration, 30000ms) linear;
}

.account-refresh-line.is-online::after {
  content: "";
  position: absolute;
  top: -1px;
  height: 3px;
  width: 26px;
  background: radial-gradient(circle, rgba(120, 230, 140, 0.85) 0%, rgba(120, 230, 140, 0.2) 60%, rgba(120, 230, 140, 0) 100%);
  opacity: 0.65;
  animation: accountRefreshPulse 3.6s ease-in-out infinite;
}

.account-refresh-line + .account-footer {
  border-top: 0;
  padding-top: 0;
}

@keyframes accountRefreshProgress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes accountRefreshPulse {
  0% {
    left: 4%;
    opacity: 0.2;
  }
  50% {
    left: 24%;
    opacity: 0.75;
  }
  100% {
    left: 4%;
    opacity: 0.2;
  }
}

.market-live {
  color: #7ef07a;
  font-weight: 700;
  letter-spacing: 0.6px;
}

.market-grid-a,
.controller-grid-a,
.account-grid-a,
.asset-grid-a, 
.order-grid-a,
.dash-grid-a{
  max-width: 1550px;
  margin-left: auto;
  margin-right: auto;
  width: -webkit-fill-available;
}

.market-grid-top {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(240px, 1fr) minmax(220px, 0.6fr);
  gap: 16px;
}

.market-grid-bottom {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
    margin: 0 0 20px;
    gap: 16px;
}

.market-chart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 20px 0;
}

.accounts-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(280px, 1.4fr) minmax(240px, 1fr);
  gap: 16px;
  align-items: stretch;
  height: calc(99vh - 240px);
  max-width: 100%;
}

.accounts-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  min-width: 0;
}

.accounts-col-right {
  min-height: 0;
}

.accounts-col .market-card {
  min-height: 80px;
  min-width: 0;
}

.accounts-col .accounts-balance-card {
  flex: 0 0 auto;
}

.accounts-unfunded-guide {
  margin: 10px 0 12px;
  padding: 10px 12px;
  border: 1px dashed rgba(186, 128, 23, 0.72);
  border-radius: 12px;
  background: rgba(58, 32, 0, 0.26);
  color: #f0d9a8;
  font-size: 12px;
  line-height: 1.5;
}

.accounts-unfunded-guide a {
  color: #ffd27a;
  font-weight: 700;
  margin-left: 6px;
}

.accounts-col-right .accounts-bootcamp-card {
  flex: 0 0 auto;
  min-height: var(--accounts-top-card-height, 260px);
}

.bootcamp-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.bootcamp-status-pill {
  border: 1px solid rgba(120, 170, 70, 0.42);
  background: rgba(18, 28, 40, 0.82);
  color: #9fb2cf;
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.bootcamp-settings-btn {
  width: 30px;
  height: 30px;
  color: #dbe5f5;
  cursor: pointer;
  background: none;
  padding: 0px;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.bootcamp-settings-btn:hover {
  border-color: rgba(132, 201, 84, 0.58);
  background: rgba(26, 38, 54, 0.9);
}

.bootcamp-settings-btn svg {
  width: 23px;
  height: 30px;
  fill: currentColor;
}

.accounts-bootcamp-body {
  margin-top: 12px;
  display: grid;
  grid-template-columns: minmax(90px, 0.5fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.cta-second-line{
  width: 100%;
  text-align: center;
}

.bootcamp-pass-cta {
  display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    border: 1px dashed rgba(113, 191, 44, 0.48);
    background: rgba(12, 20, 30, 0.46);
    color: #94d936;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    line-height: 1.26;
    padding: 11px 7px;
    cursor: pointer;
    max-width: 130px;
    height: auto;
    text-decoration: none;
    text-align: center;
}

.bootcamp-pass-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border-radius: 13px;
  border: 1px solid rgba(113, 191, 44, 0.35);
  background: rgba(12, 20, 30, 0.46);
  padding: 8px;
  max-width: 130px;
}

.bootcamp-pass-preview-img {
  display: block;
  width: 100%;
  max-width: 114px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(145, 220, 67, 0.28);
  background: rgba(8, 13, 20, 0.9);
}

.bootcamp-pass-preview-name {
  width: 100%;
  color: #9fe23d;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  word-break: break-word;
}

.bootcamp-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}

.bootcamp-kpi {
  min-width: 0;
}

.bootcamp-kpi-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d9dde7;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.bootcamp-kpi-icon {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1px solid rgba(210, 216, 228, 0.3);
  color: #dde2ec;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.bootcamp-kpi-value {
  margin-top: 6px;
  color: #f2f5fb;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: 0.01em;
}

.bootcamp-kpi-rank {
  color: #9fe23d;
}

@media (max-width: 1200px) {
  .accounts-bootcamp-body {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 900px) {
  .bootcamp-kpi-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px 12px;
  }
}

.accounts-col-right .accounts-history-card {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.accounts-col-right .accounts-history-card #accountHistory {
  flex: 1 1 auto;
  min-height: 0;
}

.devide-order{
  border-style: none none dotted;
  border-color: #1e1e1e;
  border-width: 1px;
  height: 1px;
}
.accounts-col .accounts-orders-card {
  display: block;
}

.accounts-col .accounts-orders-card .table-wrap {
  max-height: 300px;
  overflow: auto;
}

.accounts-col .accounts-addressbook-card {
  display: block;
}

.accounts-col .accounts-addressbook-card .table-wrap {
  max-height: 300px;
  overflow: auto;
}

.accounts-addressbook-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-bottom: 8px;
}

.addressbook-action-btn {
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.25);
  color: var(--text);
  border-radius: 10px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}

.addressbook-action-btn:hover {
  border-color: rgba(77, 151, 25, 0.46);
  background: rgba(77, 151, 25, 0.14);
}

.addressbook-action-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.addressbook-action-icon {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 1px solid rgba(77, 151, 25, 0.55);
  color: #b7e4a4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  line-height: 1;
}

.accounts-addressbook-note {
  margin-bottom: 6px;
}

.addressbook-name {
  font-size: 12px;
  color: var(--text);
  font-weight: 700;
}

.addressbook-sub {
  margin-top: 2px;
  font-size: 11px;
  color: var(--muted);
  word-break: break-word;
}

.addressbook-link {
  color: #82b7ff;
  font-size: 12px;
  text-decoration: none;
}

.addressbook-link:hover {
  text-decoration: underline;
}

.offer-order-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
}

.offer-order-main {
  min-width: 0;
}

.offer-order-actions {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  padding-top: 2px;
}

.offer-seq-label {
  font-size: 10px;
  color: var(--muted);
  font-family: "JetBrains Mono", "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.offer-cancel-pill {
  border: 1px solid rgba(245, 117, 103, 0.46);
  background: rgba(245, 117, 103, 0.14);
  color: #ffc0b8;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.offer-cancel-pill:hover {
  background: rgba(245, 117, 103, 0.22);
}

.offer-cancel-pill:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.accounts-card {
  min-height: 0;
  min-width: 0;
}

.market-card[data-load-card] {
  position: relative;
}

.account-card-loading {
  display: none;
  margin: -2px 0 8px;
  pointer-events: none;
}

.market-card.is-loading .account-card-loading {
  display: block;
}

.account-card-loading-track {
  position: relative;
  height: 3px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(120, 200, 120, 0.2);
}

.account-card-loading-bar {
  position: absolute;
  top: -1px;
  left: -40%;
  width: 42%;
  height: calc(100% + 2px);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(120, 200, 120, 0), rgba(120, 230, 140, 0.95), rgba(120, 200, 120, 0));
  box-shadow: 0 0 10px rgba(120, 230, 140, 0.6);
  animation: accountCardLoading 1.15s ease-in-out infinite;
}

.account-card-loading-text {
  margin-top: 6px;
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.market-card.is-loading .table-wrap,
.market-card.is-loading .account-metric-row,
.market-card.is-loading .account-intel,
.market-card.is-loading .account-footer,
.market-card.is-loading .market-muted {
  opacity: 0.68;
}

@keyframes accountCardLoading {
  0% { left: -44%; opacity: 0.25; }
  50% { opacity: 1; }
  100% { left: 128%; opacity: 0.25; }
}

.accounts-scroll {
  max-height: 100%;
  overflow: auto;
  overflow-x: hide;
  padding-right: 2px;
}

.accounts-card .table-wrap {
  overflow-x: hidden;
  max-width: 100%;
  height: 73vh;
}

.accounts-card table {
  width: 100%;
  table-layout: fixed;
}

.accounts-scroll::-webkit-scrollbar {
  width: 6px;
}

.accounts-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.accounts-scroll::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.12);
  border-radius: 999px;
}

.accounts-scroll {
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.18) transparent;
}

@media (max-width: 1200px) {
  .accounts-grid {
    grid-template-columns: minmax(240px, 1fr) minmax(240px, 1fr);
    height: auto;
  }
}

@media (max-width: 900px) {
  .accounts-grid {
    grid-template-columns: 1fr;
  }

  .accounts-col,
  .accounts-card {
    height: auto;
  }

  .accounts-scroll {
    max-height: 420px;
  }
}

@media (max-width: 600px) {
  .accounts-scroll {
    max-height: 360px;
    overflow-x: hidden;
  }
}

.account-history {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.account-history-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.account-history-item:hover {
  background: rgba(255,255,255,0.02);
}

.account-history-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.account-history-data {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.account-history-data-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.account-history-type {
  font-weight: 700;
  color: var(--text);
}

.account-history-result-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.1;
}

.account-history-result-pill.failed {
  color: #ffc0b8;
  background: rgba(245, 117, 103, 0.12);
  border: 1px solid rgba(245, 117, 103, 0.5);
}

.account-history-time {
  font-size: 11px;
  color: var(--muted);
}

.account-history-meta {
  font-size: 11px;
  color: var(--muted);
}

.account-history-meta-label {
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-right: 4px;
}

.account-history-link {
  color: #8fc9ff;
  text-decoration: none;
  margin-left: 4px;
}

.account-history-link:hover {
  text-decoration: underline;
}

.account-history-tag {
  font-size: 10px;
  color: var(--muted);
  margin-left: 6px;
}

.account-history-swap {
  justify-content: flex-start;
  gap: 8px;
}

.account-history-swap-line {
  justify-content: space-between;
  gap: 12px;
}

.account-history-swap-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.swap-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.swap-asset {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.swap-side {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.swap-icon {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--text);
  overflow: hidden;
}

.swap-icon-sm {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  font-size: 9px;
}

.swap-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swap-symbol {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.swap-symbol-sm {
  font-size: 11px;
}

.swap-arrow {
  font-size: 11px;
  color: var(--muted);
}

.account-history-amounts {
  justify-content: flex-start;
  gap: 10px;
  font-size: 12px;
}

.swap-amounts {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  margin-left: auto;
}

.swap-amount {
  font-weight: 600;
  color: var(--text);
  margin-left: auto;
  text-align: right;
  min-width: 140px;
}

.swap-amount-pos {
  color: #7fd26b;
  font-weight: 500;
  font-size: 14px;
}

.swap-amount-neg {
  color: var(--text);
  font-weight: 300;
  font-size: 14px;
}

.account-history-line {
  justify-content: space-between;
  gap: 12px;
}

.history-asset {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.history-asset-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.history-amount {
  font-size: 13px;
  font-weight: 700;
}

.history-amount.positive {
  color: #7fd26b;
}

.history-amount.negative {
  color: #ff8f86;
}

.account-history-foot {
  font-size: 10px;
  color: var(--muted);
  gap: 12px;
  flex-wrap: wrap;
}

.account-history-foot-split {
  align-items: flex-start;
}

.account-history-foot-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  align-items: flex-start;
}

.account-history-foot-right {
  margin-left: auto;
  display: flex;
  justify-content: flex-end;
  text-align: right;
}

.account-history-foot-right {
  justify-content: flex-end;
}

.account-history-notice {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.account-history-notice-action {
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.account-history-txn {
  cursor: pointer;
  color: #8fc9ff;
  font-weight: 600;
}

.account-history-txn:hover {
  text-decoration: underline;
}

.account-history-receipt {
  border: 1px solid rgba(77, 151, 25, 0.45);
  background: rgba(77, 151, 25, 0.12);
  color: #cdeabf;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.account-history-receipt:hover {
  background: rgba(77, 151, 25, 0.2);
}

.account-history-loader {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  color: var(--muted);
  font-size: 11px;
}

.account-history-empty {
  padding: 10px 0 4px;
}

.market-card {
  border: 1px solid rgb(75 75 75 / 34%);
  border-radius: 16px;
  overflow: hidden;
  background: radial-gradient(98% 76% at 12% 0%, rgb(171 193 109 / 7%), transparent 62%), radial-gradient(90% 70% at 92% 0%, rgb(16 15 11 / 16%), #00000066 62%), repeating-linear-gradient(0deg, rgb(0 0 0 / 2%) 0 1px, #00000000 1px 24px), repeating-linear-gradient(90deg, rgb(0 0 0 / 0%) 0 1px, #0000003d 1px 24px), linear-gradient(180deg, rgb(17 22 20 / 18%), rgb(9 10 7 / 98%));
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4);
  padding: 8px;
}

.auto-height{
  height: -webkit-fill-available;
}



.assets-card .table-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  position: relative;
  max-width: 1195px;
  -webkit-overflow-scrolling: touch;
  
}

.assets-card table {
  min-width: 100%;
  width: max-content;
}

.assets-card .sticky-icon-col {
    position: sticky;
    left: 0;
    background: #0b0d0f;
    z-index: 2;
    min-width: 60px;
    max-width: 60px;
    width: 60px;
    padding-left: 10px;
    padding-right: 10px;
}

.assets-card thead .sticky-icon-col {
  z-index: 3;
}

.assets-card .sticky-icon-col::after {
  content: "";
  position: absolute;
  top: 0;
  right: -1px;
  width: 1px;
  height: 100%;
  background: var(--border);
}

.assets-card .asset-row:hover .sticky-icon-col {
  background: rgba(255,255,255,0.03);
}

.app.is-mobile .assets-card table {
  min-width: 980px;
}

.assets-card {
  overflow: hidden;
  max-width: 1550px;
}

main.assets-main {
  overflow-x: hidden;
}

.market-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 10px 0 10px;
}

.market-card-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.accounts-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
}

.accounts-toggle input {
  accent-color: #66e26f;
  width: 14px;
  height: 14px;
}

.account-history-load {
  width: 100%;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
}

.account-history-load:hover {
  background: rgba(77, 151, 25, 0.2);
  border-color: rgba(77, 151, 25, 0.4);
}

.accounts-asset-tabs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.asset-tab {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
}

.asset-tab.is-active {
  color: #dff7cf;
  background: rgba(77, 151, 25, 0.35);
  box-shadow: inset 0 0 0 1px rgba(77, 151, 25, 0.6);
}

.asset-icon-pair {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-right: 2px;
}

.asset-icon.small,
.asset-icon-fallback.small {
  width: 22px;
  height: 22px;
  border-radius: 8px;
}

.asset-icon-pair .asset-icon {
  box-shadow: 0 0 0 1px rgba(0,0,0,0.4);
}

.market-card-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.market-card-title-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.unfunded-pill {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  font-size: 10px;
  padding: 2px 5px;
  border-radius: 999px;
  border: 1px solid #9b7418;
  color: var(--text);
  background: rgba(102, 67, 0, 0.99);
  text-decoration: none;
}

.unfunded-pill:hover {
  border-color: #b88a1f;
}

.market-title-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.market-asset-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.market-asset-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.market-asset-fallback {
  font-size: 9px;
  font-weight: 700;
  color: var(--text);
}

.market-pill {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text);
  background: rgb(33 96 195 / 99%);
}

.market-delta {
  margin-left: 6px;
  font-size: 11px;
}

.market-delta.green {
  color: var(--green-candle);;
}

.market-delta.red {
  color: #ff5a5a;
}

.market-card-tag {
  font-size: 11px;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(0,0,0,0.2);
}

.market-seo-panel {
  margin-bottom: 18px;
  padding: 22px;
  border: 1px solid rgb(75 75 75 / 34%);
  background: radial-gradient(98% 76% at 12% 0%, rgb(171 193 109 / 7%), transparent 62%), radial-gradient(90% 70% at 92% 0%, rgb(16 15 11 / 16%), #00000066 62%), repeating-linear-gradient(0deg, rgba(130, 164, 214, 0.04) 0 1px, #00000036 1px 24px), repeating-linear-gradient(90deg, rgb(0 0 0 / 0%) 0 1px, #0000003d 1px 24px), linear-gradient(180deg, rgb(17 22 20 / 35%), rgb(9 10 7 / 48%));
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4);
}

.market-seo-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.85fr);
  gap: 24px;
  align-items: stretch;
}

.market-seo-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #a7c7ff;
  margin-bottom: 10px;
}

.market-seo-title {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.market-seo-description {
  margin: 14px 0 0;
  max-width: 860px;
  font-size: 20px;
  line-height: 1.6;
  color: #d8e3f5;
}

.market-seo-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.market-seo-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(103, 126, 166, 0.28);
  background: rgba(10, 17, 27, 0.7);
  color: #dce6f4;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.market-seo-chip--pair {
  border-color: rgba(74, 140, 255, 0.36);
  background: rgba(39, 78, 142, 0.28);
}

.market-seo-chip--category {
  border-color: rgba(63, 123, 255, 0.32);
  background: rgba(41, 76, 137, 0.2);
}

.market-seo-chip--verified {
  border-color: rgba(95,184,36,0.45);
  background: rgba(95,184,36,0.2);
  color: #dff8cc;
}

.market-seo-chip--issuer {
  color: #b7caec;
}

.market-seo-facts {
  display: grid;
  gap: 12px;
  align-content: start;
}

.market-seo-fact {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgb(75 75 75 / 34%);
  background: radial-gradient(98% 76% at 12% 0%, rgb(171 193 109 / 7%), transparent 62%), radial-gradient(90% 70% at 92% 0%, rgb(16 15 11 / 16%), #00000066 62%), repeating-linear-gradient(0deg, rgba(130, 164, 214, 0.04) 0 1px, #00000036 1px 24px), repeating-linear-gradient(90deg, rgb(0 0 0 / 0%) 0 1px, #0000003d 1px 24px), linear-gradient(180deg, rgb(17 22 20 / 35%), rgb(9 10 7 / 48%));
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4);
}

.market-seo-fact-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.market-seo-fact-value {
  margin-top: 8px;
  font-size: 18px;
  line-height: 1.05;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
}

.market-seo-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.6fr);
  gap: 22px;
  margin-top: 22px;
}

.market-seo-paragraphs{
  margin-top: 20px;
}

.market-seo-paragraphs p {
  margin: 0 0 12px;
  color: #d3dceb;
  line-height: 1.75;
  font-size: 17px;
}

.market-seo-links {
  display: flex;
  flex-direction: column;
  align-content: start;
  gap: 10px;
}

.market-seo-links-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #9eb5db;
  margin-bottom: 2px;
}

.market-seo-link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(103, 126, 166, 0.22);
  background: rgba(8, 14, 22, 0.52);
  color: #e2ebf8;
  text-decoration: none;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}

.market-seo-link-card:hover {
  transform: translateY(-1px);
  border-color: rgba(95,184,36,0.3);
  background: rgba(11, 18, 29, 0.72);
}

.market-seo-link-label {
  font-weight: 600;
}

.market-seo-link-arrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9ec5ff;
}

.market-seo-faq {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.market-seo-faq-item {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(103, 126, 166, 0.2);
  background: rgba(8, 14, 22, 0.55);
}

.market-seo-faq-item h2 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.35;
}

.market-seo-faq-item p {
  margin: 0;
  color: #cfd9e9;
  line-height: 1.65;
}

.market-public-terminal-card {
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(95, 184, 36, 0.22);
  background:
    linear-gradient(180deg, rgba(14, 25, 17, 0.96), rgba(7, 13, 10, 0.96)),
    radial-gradient(circle at top right, rgba(95, 184, 36, 0.14), transparent 42%);
}

.market-public-terminal-title {
  margin: 0;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.15;
}

.market-public-terminal-description {
  margin: 10px 0 0;
  color: #d3dceb;
  line-height: 1.65;
}

.market-public-terminal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 240px;
}

.market-public-terminal-cta,
.market-public-terminal-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}

.market-public-terminal-cta {
  color: #09120b;
  background: linear-gradient(180deg, #95f05c, #5fb824);
  border: 1px solid rgba(149, 240, 92, 0.65);
}

.market-public-terminal-link {
  color: #dce8d9;
  border: 1px solid rgba(103, 126, 166, 0.26);
  background: rgba(8, 14, 22, 0.68);
}

.market-public-terminal-cta:hover,
.market-public-terminal-link:hover {
  transform: translateY(-1px);
}

.market-timeframes {
  display: inline-flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 10px;
    margin-bottom: 10px;
}

.market-timeframes button {
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.25);
  color: var(--muted);
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  cursor: pointer;
}

.market-timeframes button.is-active {
  color: var(--text);
  border-color: rgba(95,184,36,0.6);
  background: rgba(95,184,36,0.12);
}

.market-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
}

.market-value {
  font-size: 15px;
  font-weight: 700;
}

.market-muted {
  font-size: 12px;
  color: var(--muted);
}

.market-metric-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 10px 0 10px;
}

.market-kpi-divider {
  margin-top: 12px;
}

.market-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 8px 10px;
  margin: 10px 0 10px;
}

.market-kpi-item {
  min-width: 0;
}

.market-kpi-label {
  font-size: 11px;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.market-kpi-value {
  margin-top: 2px;
  font-size: 14px;
  color: #d4e8ff;
  font-weight: 500;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.market-liquidity-side-tabs {
  flex-shrink: 0;
}

.market-liquidity-head-controls {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.market-liquidity-slippage-wrap .swap-slippage-btn {
  min-width: 86px;
  justify-content: center;
  border-radius: 999px;
  padding: 6px 10px;
}

.market-liquidity-modal-panel .swap-rate-line {
  font-size: 14px;
}

.market-liquidity-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}

.market-liquidity-preview {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.market-liquidity-preview-card {
  border: 1px solid #191c21;
  border-radius: 11px;
  background: rgb(24 24 24 / 58%);
  padding: 8px 10px;
  min-height: 68px;
}

.market-liquidity-preview-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.market-liquidity-preview-main {
  margin-top: 6px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.market-liquidity-preview-amount {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.05;
  color: #f2f7ff;
}

.market-liquidity-preview-input {
  width: 100%;
    min-width: 0;
    border: 0;
    background: transparent;
    color: #f2f7ff;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1.05;
    outline: none;
    padding: 1px 0 10px 0;
    margin-top: 0px;
}

.market-liquidity-preview-input::-webkit-outer-spin-button,
.market-liquidity-preview-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.market-liquidity-preview-input[type="number"] {
  -moz-appearance: textfield;
}

.market-liquidity-preview-asset {
      display: inline-flex;
    align-items: center;
    gap: 6px;
    /* border: 1px solid rgba(95, 184, 36, 0.48); */
    border-radius: 999px;
    padding: 0px 0px;
    /* background: rgba(19, 49, 12, 0.34); */
    font-size: 13px;
    font-weight: 700;
    color: #818181;
    margin: -23px 0 0 0px;

}

.market-liquidity-preview-asset img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
}

.market-liquidity-preview-fallback {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.3);
}

.market-liquidity-meta {
  margin-top: auto;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.4;
}

.market-liquidity-controls {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.market-liquidity-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.market-liquidity-input-wrap input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(95, 184, 36, 0.22);
    background: rgb(13 20 3 / 90%);
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  padding: 11px 92px 11px 14px;
  outline: none;
}

.market-liquidity-input-wrap input:focus {
  border-color: rgba(95, 184, 36, 0.56);
  box-shadow: 0 0 0 1px rgba(95, 184, 36, 0.22);
}

.market-liquidity-input-wrap input::-webkit-outer-spin-button,
.market-liquidity-input-wrap input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.market-liquidity-input-wrap input[type="number"] {
  -moz-appearance: textfield;
}

.market-liquidity-input-pill {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(196, 183, 98, 0.45);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #ede4b6;
  background: rgba(95, 84, 21, 0.42);
  margin-top:-5px;
}

.market-liquidity-mix-labels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 2px;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.market-liquidity-mix-labels span:nth-child(1) {
  text-align: left;
}

.market-liquidity-mix-labels span:nth-child(2) {
  text-align: center;
}

.market-liquidity-mix-labels span:nth-child(3) {
  text-align: right;
}

.market-liquidity-slider-wrap {
  padding: 0 2px;
}

.market-liquidity-slider-wrap input[type="range"] {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
}

.market-liquidity-slider-wrap input[type="range"]::-webkit-slider-runnable-track {
  height: 16px;
  border-radius: 999px;
  border: 1px solid rgba(95, 184, 36, 0.25);
  background: linear-gradient(90deg, rgba(37, 100, 24, 0.75) 0%, rgba(62, 132, 34, 0.78) 50%, rgba(37, 100, 24, 0.75) 100%);
}

.market-liquidity-slider-wrap input[type="range"]::-moz-range-track {
  height: 16px;
  border-radius: 999px;
  border: 1px solid rgba(95, 184, 36, 0.25);
  background: linear-gradient(90deg, rgba(37, 100, 24, 0.75) 0%, rgba(62, 132, 34, 0.78) 50%, rgba(37, 100, 24, 0.75) 100%);
}

.market-liquidity-slider-wrap input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 34px;
  margin-top: -10px;
  border-radius: 999px;
  border: 1px solid rgba(95, 184, 36, 0.78);
  background: linear-gradient(180deg, #89dc66, #57a327);
  box-shadow: 0 0 10px rgba(95, 184, 36, 0.45);
  cursor: pointer;
}

.market-liquidity-slider-wrap input[type="range"]::-moz-range-thumb {
  width: 12px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(95, 184, 36, 0.78);
  background: linear-gradient(180deg, #89dc66, #57a327);
  box-shadow: 0 0 10px rgba(95, 184, 36, 0.45);
  cursor: pointer;
}

.market-liquidity-slider-meta {
  font-size: 12px;
  color: var(--muted);
}

.market-liquidity-status {
  font-size: 12px;
  border-radius: 10px;
  color: #d8efc8;
  padding: 7px 10px;
}

.market-liquidity-status.warn {
    background: rgb(43 35 13 / 92%);
    color: #b5b4b4;
    border: 1px dashed #83838394;
}

.market-liquidity-cta {
  border: 1px solid rgba(95, 184, 36, 0.55);
  background: linear-gradient(90deg, rgba(49, 99, 21, 0.88), rgba(29, 84, 19, 0.96));
  color: #dff7cf;
  border-radius: 12px;
  padding: 11px 14px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.market-liquidity-cta:hover {
  filter: brightness(1.08);
}

.market-liquidity-cta:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  filter: none;
}

.market-participation-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

.market-participation-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
}

.market-participation-row span:last-child {
  color: var(--text);
  font-weight: 700;
  text-align: right;
}

.market-participation-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.market-participation-pill {
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.25);
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  padding: 4px 10px;
  cursor: default;
}

.market-burned-lp {
  margin-top: 12px;
  border: 1px solid rgba(255, 149, 56, 0.18);
  background: linear-gradient(180deg, rgba(255, 149, 56, 0.08), rgba(0, 0, 0, 0.12));
  border-radius: 14px;
  padding: 10px;
}

.market-burned-lp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.market-burned-lp-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffb062;
}

.market-burned-lp-count {
  min-width: 24px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 149, 56, 0.24);
  background: rgba(255, 149, 56, 0.08);
  color: #ffd6a5;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.market-burned-lp-table {
  display: grid;
  gap: 6px;
}

.market-burned-lp-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(0, 0, 0, 0.18);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.market-burned-lp-row:hover {
  border-color: rgba(255, 149, 56, 0.3);
  background: rgba(255, 149, 56, 0.06);
}

.market-burned-lp-main {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.market-burned-lp-icon {
  flex: 0 0 auto;
  font-size: 14px;
  line-height: 1;
}

.market-burned-lp-account {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}

.market-burned-lp-copy {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  color: #ffb062;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.account-metric-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.account-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  justify-self: end;
}

.account-qr-shell {
  position: relative;
    width: 92px;
    height: 92px;
    border-radius: 5px;
    padding: 0;
    background: radial-gradient(circle at top left, rgb(142 142 142 / 27%), rgb(14 15 14 / 92%));
    margin: 0;
    border: 0;
    cursor: pointer;
}

.account-qr-shell::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 9px;
  box-shadow: 0 0 18px rgb(53 140 148 / 14%);
}

.account-qr-canvas {
  width: 100%;
  height: 100%;
  border-radius: 7px;
  background: #0b0d12;
  display: flex;
  align-items: center;
  justify-content: center;
}

.account-qr-canvas svg,
.account-qr-canvas canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  border-radius: 7px;
}

.account-qr-canvas > * {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.account-qr-canvas > * svg,
.account-qr-canvas > * canvas,
.account-qr-canvas > * img {
  width: 100% !important;
  height: 100% !important;
  display: block;
  border-radius: 7px;
}

.account-qr-fallback {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 7px;
}

.account-qr-label {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.account-qr-shell:focus-visible {
  outline: 2px solid rgba(88, 165, 255, 0.6);
  outline-offset: 2px;
}

.send-modal-panel {
  width: 420px;
  max-width: calc(100vw - 32px);
  background: radial-gradient(circle at top right, rgba(77, 151, 25, 0.06), transparent 60%), var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 18px 20px;
  color: var(--text);
}

.send-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.send-modal-tabs {
  display: inline-flex;
  gap: 8px;
}

.send-modal-tab {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--muted);
  padding: 6px 14px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.send-modal-tab.active {
  background: rgba(77, 151, 25, 0.2);
  border-color: rgba(77, 151, 25, 0.45);
  color: #b7e4a4;
}

.send-modal-close {
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 18px;
  cursor: pointer;
}

.send-modal-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
}

.send-modal-label {
  color: var(--muted);
  font-size: 12px;
}

.send-modal-amount-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 8px;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 12px;
  padding: 8px 10px;
}

.send-modal-amount-wrap {
  position: relative;
}

.send-modal-input {
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--text);
  font-size: 14px;
  outline: none;
  width: 100%;
}

.send-modal-addressbook-wrap {
  position: relative;
}

.send-modal-address-input {
  padding-right: 44px;
}

.send-modal-addressbook-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: 0;
  padding: 0;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(77, 151, 25, 0.12);
  color: #9dd782;
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease;
}

.send-modal-addressbook-btn:hover {
  background: rgba(77, 151, 25, 0.24);
  color: #d7f2c8;
}

.premium-vault-icon{
  width: 30px;
    height: 30px;
    position: absolute;
    margin-left: -27px;
    margin-top: -6px;
}

.send-modal-addressbook-btn:focus-visible {
  outline: 2px solid rgba(142, 200, 255, 0.72);
  outline-offset: 2px;
}

.send-modal-addressbook-btn svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.send-modal-addressbook-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 26;
  border: 1px solid rgba(72, 89, 120, 0.55);
  border-radius: 12px;
  background: rgb(21 22 21 / 98%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  padding: 8px;
}

.send-modal-addressbook-search-wrap {
  margin-bottom: 8px;
}

.send-modal-addressbook-search {
  height: 36px;
  font-size: 12px;
}

.send-modal-addressbook-list {
  max-height: 220px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.send-modal-addressbook-item {
  border: 1px solid rgba(72, 89, 120, 0.4);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  padding: 8px;
  text-align: left;
  width: 100%;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.send-modal-addressbook-item:hover {
  border-color: rgba(122, 164, 223, 0.55);
  background: rgba(122, 164, 223, 0.08);
}

.send-modal-addressbook-name {
  font-size: 12px;
  font-weight: 700;
  color: #e7f2ff;
}

.send-modal-addressbook-account {
  font-size: 11px;
  color: #a6b7cf;
  font-family: "JetBrains Mono", "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.send-modal-addressbook-meta {
  font-size: 11px;
  color: var(--muted);
}

.send-modal-addressbook-empty {
  border: 1px dashed rgba(120, 145, 175, 0.4);
  border-radius: 10px;
  padding: 10px;
  font-size: 12px;
  color: var(--muted);
}

.send-modal-amount-row .send-modal-input {
  background: transparent;
  border: 0;
  padding: 0;
  border-radius: 0;
}

.send-modal-textarea {
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 12px;
  min-height: 90px;
  padding: 10px 12px;
}

.send-modal-max {
  background: rgb(74 95 34 / 20%);
  border: 1px solid rgb(154 255 88 / 40%);
  color: #cfe0ff;
  border-radius: 999px;
  font-size: 11px;
  padding: 4px 8px;
  cursor: pointer;
}

.send-modal-currency {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  background: rgb(39 40 20 / 90%);
  border-radius: 999px;
  border: 1px solid rgb(79 215 32 / 45%);
  font-size: 12px;
  color: var(--text);
  cursor: pointer;
  appearance: none;
}

.send-modal-currency img {
  width: 14px;
  height: 14px;
}

.send-modal-caret {
  font-size: 12px;
  color: var(--muted);
  margin-left: 2px;
}

.send-modal-token-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 100%;
  max-height: 260px;
  overflow-y: auto;
  background: rgb(21 22 21 / 98%);
  border: 1px solid rgba(72, 89, 120, 0.55);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  padding: 6px;
  z-index: 20;
}

.send-modal-token-row {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px;
  background: transparent;
  border: 0;
  text-align: left;
  width: 100%;
  color: var(--text);
  border-radius: 12px;
  cursor: pointer;
}

.send-modal-token-row:hover {
  background: rgba(71, 73, 73, 0.12);
}

.send-modal-token-icon {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(0 0 0 / 0%);
  border: 1px solid rgba(72, 89, 120, 0.4);
  font-size: 12px;
  color: var(--muted);
}

.send-modal-token-icon img {
  width: 18px;
  height: 18px;
}

.send-modal-token-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.send-modal-token-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.send-modal-token-name {
  font-size: 12px;
  font-weight: 700;
}

.send-modal-token-balance {
  font-size: 12px;
  color: var(--text);
}

.send-modal-token-sub {
  font-size: 11px;
  color: var(--muted);
}

.send-modal-balance {
  font-size: 11px;
  color: var(--muted);
}

.send-modal-submit {
  margin-top: 16px;
  width: 100%;
  background: rgba(77, 151, 25, 0.18);
  border: 1px solid rgba(77, 151, 25, 0.5);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
}

.send-modal-submit:disabled {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  cursor: not-allowed;
}

.send-modal-warning {
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(245, 117, 103, 0.45);
  background: rgba(245, 117, 103, 0.12);
  color: #f7b1a7;
  font-size: 12px;
}

.send-modal-warning a {
  color: #ffd37b;
  font-weight: 700;
  text-decoration: underline;
}

.send-modal-warning a:hover {
  color: #ffe9b8;
}

.send-modal-body.hidden {
  display: none;
}

.send-modal-status {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
  padding: 8px 4px 0;
}

.send-modal-receive {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 8px 4px 0;
}

.send-receive-qr {
  width: 256px;
}

.send-receive-qr-shell {
  position: relative;
  width: 256px;
  height: 256px;
  padding: 10px;
  border-radius: 20px;
  border: 1px solid rgba(112, 134, 171, 0.35);
  background:
    radial-gradient(circle at 20% 10%, rgba(89, 158, 26, 0.2), transparent 45%),
    linear-gradient(160deg, #2a2f39 0%, #1f242e 55%, #1a1e27 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 14px 36px rgba(0, 0, 0, 0.45);
}

.send-receive-qr-canvas {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #1d2028;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.send-receive-qr-canvas svg,
.send-receive-qr-canvas canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  border-radius: 14px;
}

.send-receive-qr-canvas > * {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.send-receive-qr-canvas > * svg,
.send-receive-qr-canvas > * canvas,
.send-receive-qr-canvas > * img {
  width: 100% !important;
  height: 100% !important;
  display: block;
  border-radius: 14px;
}

.send-receive-qr-fallback {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 14px;
}

.send-receive-address {
  font-size: 12px;
  color: var(--text);
  word-break: break-all;
  cursor: pointer;
}

.send-receive-hint {
  font-size: 11px;
  color: var(--muted);
  cursor: pointer;
}

.send-status-title {
  font-size: 16px;
  font-weight: 700;
}

.send-status-message {
  font-size: 12px;
  color: var(--muted);
}

.send-status-tx {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: var(--text);
}

.send-status-tx-label {
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.send-status-tx-id {
  font-family: "JetBrains Mono", "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 11px;
}

.send-status-copy {
  margin-left: auto;
  background: rgba(77, 151, 25, 0.18);
  border: 1px solid rgba(77, 151, 25, 0.45);
  color: #b7e4a4;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 11px;
  cursor: pointer;
}

.send-status-copy:hover {
  background: rgba(77, 151, 25, 0.28);
}

.send-status-qr {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.send-status-qr img {
  width: 220px;
  height: 220px;
  border-radius: 12px;
  background: #0b0d12;
  border: 1px solid rgba(72, 89, 120, 0.45);
}

.send-status-qr a {
  color: #4da3ff;
  text-decoration: none;
  font-size: 12px;
}

.send-status-qr a:hover {
  text-decoration: underline;
}

.send-status-spinner {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid rgba(77, 151, 25, 0.2);
  border-top-color: rgba(77, 151, 25, 0.9);
  animation: spin 1s linear infinite;
}

.send-status-countdown {
  font-size: 12px;
  color: var(--muted);
}

.send-status-close {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
}

.send-status-close:hover {
  background: rgba(255, 255, 255, 0.12);
}

.offer-cancel-panel {
  width: 420px;
  max-width: calc(100vw - 32px);
  background:
    radial-gradient(90% 80% at 10% 0%, rgba(77, 151, 25, 0.12), transparent 60%),
    var(--panel);
  border: 1px solid rgba(77, 151, 25, 0.28);
  border-radius: 14px;
  padding: 14px;
}

.offer-cancel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.offer-cancel-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #dff0d8;
}

.offer-cancel-close {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.offer-cancel-close:hover {
  color: var(--text);
}

.offer-cancel-meta {
  font-size: 11px;
  color: var(--muted);
  margin: 0 0 8px;
}

.trustline-remove-panel {
  width: 420px;
  max-width: calc(100vw - 32px);
  background:
    radial-gradient(90% 80% at 10% 0%, rgba(77, 151, 25, 0.12), transparent 60%),
    var(--panel);
  border: 1px solid rgba(77, 151, 25, 0.28);
  border-radius: 14px;
  padding: 14px;
}

.trustline-remove-note {
  margin: 0 0 10px;
  font-size: 12px;
  color: var(--muted);
}

.trustline-remove-warning {
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(245, 117, 103, 0.45);
  background: rgba(245, 117, 103, 0.12);
  color: #f7b1a7;
  font-size: 12px;
}

.trustline-remove-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.trustline-remove-actions .send-modal-submit {
  margin-top: 0;
}

.send-modal-submit.is-danger {
  background: rgba(245, 117, 103, 0.16);
  border-color: rgba(245, 117, 103, 0.45);
  color: #ffd1c8;
}

.send-modal-submit.is-danger:hover {
  background: rgba(245, 117, 103, 0.22);
}

.addressbook-panel {
  width: 420px;
  max-width: calc(100vw - 32px);
  background:
    radial-gradient(90% 80% at 10% 0%, rgba(77, 151, 25, 0.12), transparent 60%),
    var(--panel);
  border: 1px solid rgba(77, 151, 25, 0.28);
  border-radius: 14px;
  padding: 14px;
}

.addressbook-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.addressbook-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #dff0d8;
}

.addressbook-close {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.addressbook-close:hover {
  color: var(--text);
}

.addressbook-target {
  font-size: 11px;
  color: var(--muted);
  margin: 0 0 10px;
  word-break: break-all;
}

.addressbook-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.addressbook-label {
  color: var(--muted);
  font-size: 12px;
}

.addressbook-status {
  margin-top: 10px;
  font-size: 12px;
  color: #b7e4a4;
}

.addressbook-status.is-error {
  color: #ffc0b8;
}

.addressbook-actions {
  margin-top: 10px;
}

.history-receipt-panel {
  width: 620px;
  max-width: calc(100vw - 36px);
  background:
    radial-gradient(90% 80% at 10% 0%, rgba(77, 151, 25, 0.14), transparent 60%),
    var(--panel);
  border: 1px solid rgba(77, 151, 25, 0.28);
  border-radius: 16px;
  padding: 14px;
  color: var(--text);
}

.history-receipt-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 10px;
}

.history-receipt-brand {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #e9f6e3;
}

.history-receipt-sub {
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
}

.history-receipt-close {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.history-receipt-close:hover {
  color: var(--text);
}

.history-receipt-paper {
  border: 1px solid rgba(122, 145, 174, 0.32);
  background: rgba(8, 12, 15, 0.9);
  border-radius: 12px;
  padding: 12px;
}

.history-receipt-paper-head {
  margin-bottom: 10px;
}

.history-receipt-paper-brand {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #e9f6e3;
}

.history-receipt-paper-sub {
  margin-top: 2px;
  font-size: 11px;
  color: var(--muted);
}

.history-receipt-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.history-receipt-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(77, 151, 25, 0.55);
  background: rgba(77, 151, 25, 0.14);
  color: #cdeabf;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 4px 10px;
}

.history-receipt-status.failed {
  border-color: rgba(245, 117, 103, 0.55);
  background: rgba(245, 117, 103, 0.14);
  color: #ffc0b8;
}

.history-receipt-type {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #dfeeff;
}

.history-receipt-grid {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 8px 10px;
  margin-bottom: 10px;
}

.history-receipt-grid .label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.history-receipt-grid .value {
  color: var(--text);
  font-size: 12px;
  word-break: break-word;
}

.history-receipt-grid .value.mono {
  font-family: "JetBrains Mono", "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 11px;
}

.history-receipt-section {
  margin: 12px 0 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.history-receipt-assets {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.history-receipt-asset-row {
  border: 1px solid rgba(122, 145, 174, 0.25);
  border-radius: 10px;
  padding: 9px 10px;
  background: rgba(255, 255, 255, 0.02);
}

.history-receipt-asset-row .kind {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.history-receipt-asset-row .kind.negative {
  color: #ffb8b0;
}

.history-receipt-asset-row .kind.positive {
  color: #b7e4a4;
}

.history-receipt-asset-row .asset {
  margin-top: 2px;
  font-size: 14px;
  font-weight: 700;
  color: #dfeeff;
}

.history-receipt-asset-row .sub {
  margin-top: 2px;
  font-size: 11px;
  color: var(--muted);
}

.history-receipt-asset-empty {
  border: 1px dashed rgba(122, 145, 174, 0.35);
  border-radius: 10px;
  padding: 10px;
  font-size: 12px;
  color: var(--muted);
}

.history-receipt-memo {
  border: 1px solid rgba(122, 145, 174, 0.28);
  border-radius: 10px;
  padding: 9px 10px;
  background: rgba(255, 255, 255, 0.02);
  font-size: 12px;
  color: #dfeeff;
  white-space: pre-wrap;
  word-break: break-word;
}

.history-receipt-actions {
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
}

.history-receipt-print {
  border: 1px solid rgba(77, 151, 25, 0.55);
  background: rgba(77, 151, 25, 0.16);
  color: #d8efcf;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.history-receipt-print:hover {
  background: rgba(77, 151, 25, 0.26);
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.send-modal-input.tag-required {
  border-color: rgba(245, 117, 103, 0.8);
  box-shadow: 0 0 0 1px rgba(245, 117, 103, 0.35);
}

.swap-modal-panel {
  width: 430px;
  max-width: calc(100vw - 28px);
  background: radial-gradient(98% 76% at 12% 0%, rgb(171 193 109 / 7%), transparent 62%), radial-gradient(90% 70% at 92% 0%, rgb(16 15 11 / 16%), #00000066 62%), repeating-linear-gradient(0deg, rgba(130, 164, 214, 0.04) 0 1px, #00000036 1px 24px), repeating-linear-gradient(90deg, rgb(0 0 0 / 0%) 0 1px, #0000003d 1px 24px), linear-gradient(180deg, rgb(17 22 20 / 35%), rgb(9 10 7 / 48%));
  border: 1px solid rgba(77, 151, 25, 0.28);
  border-radius: 16px;
  padding: 16px;
  color: var(--text);
}

.swap-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.swap-head-title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #d6eec9;
}

.swap-close {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.swap-close:hover {
  color: var(--text);
}

.swap-side-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.swap-side-tab {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  padding: 9px 12px;
  border-radius: 12px;
  cursor: pointer;
}

.swap-side-tab.active {
  background: linear-gradient(90deg, rgba(10, 60, 45, 0.95), rgba(16, 75, 46, 0.95));
  border-color: rgba(77, 151, 25, 0.6);
  color: #8ef5ad;
}

.swap-type-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 10px;
}

.swap-type-tabs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 2px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.swap-type-tab {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: none;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
}

.swap-type-tab.active {
  color: #dff7cf;
  background: rgba(77, 151, 25, 0.35);
  box-shadow: inset 0 0 0 1px rgba(77, 151, 25, 0.6);
}

.swap-slippage-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(77, 151, 25, 0.45);
  background: rgba(77, 151, 25, 0.12);
  color: #b7e4a4;
  padding: 6px 10px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}

.swap-slippage-btn.warn {
  border-color: rgba(245, 172, 84, 0.5);
  background: rgba(245, 172, 84, 0.12);
  color: #ffd6a4;
}

.swap-slippage-btn.danger {
  border-color: rgba(245, 117, 103, 0.55);
  background: rgba(245, 117, 103, 0.14);
  color: #ffc0b8;
}

.swap-slippage-wrap {
  position: relative;
}

.swap-slippage-icon {
  font-size: 13px;
  line-height: 1;
  color: #d3e8c8;
}

.swap-slippage-popover {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 220px;
  border-radius: 12px;
  border: 1px solid rgba(77, 151, 25, 0.4);
  background: rgba(12, 16, 20, 0.98);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.45);
  padding: 10px;
  z-index: 35;
}

.swap-slippage-label {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 8px;
}

.swap-slippage-range {
  width: 100%;
  margin: 0;
}

.swap-slippage-value {
  margin-top: 8px;
  text-align: right;
  font-size: 12px;
  color: #d7e8d0;
  font-weight: 700;
}

.swap-card {
  position: relative;
  margin-bottom: 10px;
  border: 1px solid rgba(122, 145, 174, 0.25);
  border-radius: 14px;
  background: rgba(9, 13, 17, 0.88);
  padding: 10px 12px;
}

.swap-flow-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}

.swap-flow-pill.buy {
  color: #a9f5b9;
  background: rgba(20, 99, 48, 0.5);
  border: 1px solid rgba(85, 204, 125, 0.4);
}

.swap-flow-pill.sell {
  color: #ffd0ca;
  background: rgba(115, 31, 21, 0.5);
  border: 1px solid rgba(223, 95, 82, 0.4);
}

.swap-card-label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}

.swap-card-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.swap-limit-market-btn {
  border: 0;
  background: transparent;
  color: #4da3ff;
  font-size: 11px;
  cursor: pointer;
  padding: 0;

}

.swap-limit-market-btn:hover {
  text-decoration: underline;
}

.swap-card-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
}

.swap-card-row-primary {
  grid-template-columns: 1fr auto;
}

.swap-primary-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.swap-use-max {
  border: 1px solid rgba(77, 163, 255, 0.6);
  background: rgba(40, 92, 168, 0.26);
  color: #cfe6ff;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.03em;
  cursor: pointer;
}

.swap-use-max:hover {
  background: rgba(40, 92, 168, 0.38);
}

.swap-use-max:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.swap-card-row-single {
  grid-template-columns: 1fr;
}

.swap-input {
  width: 100%;
  border: 0;
  background: transparent;
  color: #f7fbff;
  font-size: 31px;
  font-weight: 800;
  outline: none;
  padding: 0;
}

.swap-input[readonly] {
  color: #e7f0f7;
}

.swap-input-price {
  font-size: 22px;
  font-weight: 700;
}

.swap-input-warn {
  box-shadow: inset 0 0 0 1px rgba(245, 172, 84, 0.6);
}

.swap-input-danger {
  box-shadow: inset 0 0 0 1px rgba(245, 117, 103, 0.7);
}

.swap-card-sub {
  margin-top: 6px;
  color: #9fb0c4;
  font-size: 11px;
}

.swap-token-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(77, 151, 25, 0.45);
  background: rgba(18, 31, 20, 0.95);
  border-radius: 999px;
  padding: 5px 10px 5px 6px;
  color: var(--text);
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
}

.swap-token-btn img {
  width: 18px;
  height: 18px;
  border-radius: 999px;
}

.swap-token-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(77, 151, 25, 0.35);
  background: rgba(18, 31, 20, 0.75);
  border-radius: 999px;
  padding: 5px 10px 5px 6px;
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
}

.swap-token-badge img {
  width: 18px;
  height: 18px;
  border-radius: 999px;
}

.swap-flip-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(122, 145, 174, 0.35);
  background: rgba(9, 13, 17, 0.94);
  color: #c8d6e8;
  border-radius: 999px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  margin-left: 170px;
  margin-top: -20px;
  position: absolute;
  z-index: 1;
}

.swap-flip-btn:hover {
  border-color: rgba(77, 151, 25, 0.58);
  color: #dff2d2;
}

.swap-token-menu {
  position: absolute;
  right: 10px;
  top: calc(100% + -28px);
  width: 300px;
  max-height: 240px;
  overflow-y: auto;
  background: rgba(14, 17, 22, 0.98);
  border: 1px solid rgba(77, 151, 25, 0.35);
  border-radius: 12px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.45);
  padding: 0 6px;
  z-index: 25;
}

.swap-token-menu-sticky {
  position: sticky;
  top: 0;
  z-index: 2;
  margin: -6px -6px 6px;
  padding: 6px;
  background: rgba(14, 17, 22, 0.98);
  border-bottom: 1px solid rgba(77, 151, 25, 0.2);
}

.swap-token-search {
  width: 100%;
  height: 30px;
  border-radius: 8px;
  border: 1px solid rgba(72, 89, 120, 0.5);
  background: rgba(5, 13, 23, 0.88);
  color: var(--text);
  font-size: 12px;
  padding: 0 10px;
  outline: none;
}

.swap-token-search:focus {
  border-color: rgba(77, 151, 25, 0.62);
  box-shadow: 0 0 0 2px rgba(77, 151, 25, 0.14);
}

.swap-token-search::placeholder {
  color: rgba(170, 189, 214, 0.6);
}

.swap-token-row {
  width: 100%;
  border: 0;
  background: transparent;
  border-radius: 9px;
  color: var(--text);
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 9px;
  align-items: center;
  padding: 7px;
  text-align: left;
  cursor: pointer;
}

.swap-token-row:hover {
  background: rgba(77, 151, 25, 0.12);
}

.swap-token-row-icon {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  overflow: hidden;
}

.swap-token-row-icon img {
  width: 100%;
  height: 100%;
}

.swap-token-row-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.swap-token-row-symbol {
  font-size: 12px;
  font-weight: 700;
}

.swap-token-row-name {
  font-size: 11px;
  color: var(--muted);
}

.swap-token-empty {
  padding: 8px 10px 10px;
  font-size: 11px;
  color: var(--muted);
}

.swap-rate-line {
  border: 1px solid rgba(77, 151, 25, 0.3);
  background: rgba(20, 28, 20, 0.7);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 10px;
  font-size: 15px;
  color: #d4e5f7;
}

.swap-risk-line {
  margin: -2px 0 10px;
  border-radius: 10px;
  padding: 7px 10px;
  font-size: 11px;
  border: 1px solid rgba(77, 151, 25, 0.35);
  background: rgba(77, 151, 25, 0.1);
  color: #d4eec7;
}

.swap-risk-line.warn {
  border-color: rgba(245, 172, 84, 0.5);
  background: rgba(245, 172, 84, 0.12);
  color: #ffd6a4;
}

.swap-risk-line.danger {
  border-color: rgba(245, 117, 103, 0.55);
  background: rgba(245, 117, 103, 0.14);
  color: #ffc0b8;
}

.swap-cta {
  width: 100%;
  border: 1px solid rgba(77, 151, 25, 0.65);
  background: linear-gradient(90deg, rgba(77, 151, 25, 0.26), rgba(33, 67, 23, 0.85));
  color: #ddf2d5;
  border-radius: 12px;
  padding: 11px 12px;
  font-size: 20px;
  font-weight: 800;
  cursor: pointer;
}

.swap-cta:hover {
  background: linear-gradient(90deg, rgba(77, 151, 25, 0.32), rgba(33, 67, 23, 0.95));
}

.swap-wallet-hint {
  margin: 9px 2px 11px;
  font-size: 11px;
  color: var(--muted);
}

.swap-status {
  margin: 0 0 10px;
  border: 1px solid rgba(122, 145, 174, 0.28);
  background: rgba(10, 14, 17, 0.8);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.swap-status-title {
  font-size: 13px;
  font-weight: 700;
  color: #dff0d8;
}

.swap-status-message {
  font-size: 12px;
  color: var(--muted);
}

.swap-status-tx {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
}

.swap-status-tx-label {
  color: var(--muted);
  font-weight: 600;
}

.swap-status-tx-id {
  font-family: "JetBrains Mono", "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  color: var(--text);
  font-size: 11px;
}

.swap-status-copy {
  margin-left: auto;
  border: 1px solid rgba(77, 151, 25, 0.42);
  background: rgba(77, 151, 25, 0.16);
  color: #b7e4a4;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

.swap-status-copy:hover {
  background: rgba(77, 151, 25, 0.24);
}

.swap-status-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.swap-status-qr img {
  width: 210px;
  height: 210px;
  border-radius: 12px;
  border: 1px solid rgba(72, 89, 120, 0.45);
  background: #0b0d12;
}

.swap-status-qr a {
  color: #4da3ff;
  text-decoration: none;
  font-size: 12px;
}

.swap-status-qr a:hover {
  text-decoration: underline;
}

.swap-status-spinner {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 3px solid rgba(77, 151, 25, 0.2);
  border-top-color: rgba(77, 151, 25, 0.9);
  animation: spin 1s linear infinite;
}

.swap-status-countdown {
  font-size: 11px;
  color: var(--muted);
}

.swap-status-actions {
  display: flex;
  justify-content: flex-end;
}

.swap-status-stop {
  border: 1px solid rgba(245, 117, 103, 0.45);
  background: rgba(245, 117, 103, 0.12);
  color: #ffc0b8;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.swap-status-stop:hover {
  background: rgba(245, 117, 103, 0.2);
}

.swap-summary {
  border: 1px solid rgba(122, 145, 174, 0.3);
  background: rgba(10, 14, 17, 0.78);
  border-radius: 13px;
}

.swap-summary-toggle {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  padding: 11px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.swap-summary-toggle[aria-expanded="true"] .swap-summary-caret {
  transform: rotate(180deg);
}

.swap-summary-caret {
  transition: transform 0.2s ease;
  color: var(--muted);
}

.swap-summary-body {
  border-top: 1px solid rgba(122, 145, 174, 0.22);
  padding: 9px 12px 10px;
}

.swap-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
  padding: 6px 0;
}

.swap-summary-row span:last-child {
  color: var(--text);
  font-weight: 600;
}

.swap-summary-row .warn {
  color: #ffd6a4;
}

.swap-summary-row .danger {
  color: #ffb8b0;
}

@media (max-width: 640px) {
  .swap-modal-panel {
    padding: 14px;
  }

  .swap-input {
    font-size: 24px;
  }

  .swap-rate-line {
    font-size: 15px;
  }
}

@media (max-width: 1000px) {
  
  .account-qr {
    justify-self: start;
  }
}

.market-footer {
  margin-top: auto;
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--muted);
    border-top: 1px solid var(--border);
    padding-top: 12px;
}

.market-structure-footer {
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.market-structure-title {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.market-structure-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.market-structure-pill {
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.32);
  border-radius: 11px;
  padding: 6px 10px 7px;
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  min-width: 138px;
  text-align: left;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.market-structure-pill:hover {
  border-color: rgba(124, 197, 66, 0.42);
  background: rgba(23, 39, 16, 0.5);
}

.market-structure-pill-name {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.market-structure-pill-grade {
  font-size: 11px;
  color: var(--muted);
  font-weight: 700;
}

.market-structure-pill.is-strong .market-structure-pill-grade {
  color: #95eba1;
}

.market-structure-pill.is-building .market-structure-pill-grade {
  color: #ffd9a6;
}

.market-structure-pill.is-emerging .market-structure-pill-grade {
  color: #4987ab;
}

.market-signal-bar {
  display: grid;
  grid-template-columns: 90px 1fr 90px;
  align-items: center;
  gap: 8px;
}

.market-signal-zone {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
}

.market-signal-zone.buy {
  color: #7ef07a;
}

.market-signal-zone.sell {
  color: #ff6b6b;
}

.market-signal-track {
  position: relative;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
}

.market-signal-fill {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(126,240,122,0.8), rgba(255,255,255,0.2), rgba(255,107,107,0.8));
  opacity: 0.6;
}

.market-signal-dot {
  position: absolute;
  top: -4px;
  left: 48%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #dfe6ef;
  box-shadow: 0 0 8px rgba(255,255,255,0.4);
}

.market-sparkline {
  height: 56px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(72,140,255,0.35), rgba(10,10,10,0));
  position: relative;
  overflow: hidden;
}

.market-sparkline-bar {
  position: absolute;
  inset: 10px 12px 14px 12px;
  border-radius: 8px;
  background: linear-gradient(120deg, rgba(88,164,255,0.8), rgba(88,164,255,0.1));
  opacity: 0.7;
}

.market-chart {
  min-height: 280px;
  margin: 20px 0 0;
}

.market-chart-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.market-chart-line {
  height: 200px;
  border-radius: 12px;
  background: linear-gradient(306deg, rgb(6 7 6), rgb(10 12 4 / 37%)), repeating-linear-gradient(90deg, rgb(255 255 255 / 19%), rgb(255 255 255 / 0%) 1px, #00000000 1px, #0d0b018a 80px);
  position: relative;
}

.market-flow-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.market-flow-mini-legend {
  position: absolute;
  top: 10px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  pointer-events: none;
}

.market-flow-mini-legend .mf-leg {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.market-flow-mini-legend .mf-leg::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px rgba(255,255,255,0.10);
}

.market-flow-mini-legend .mf-xrp {
  color: rgba(88,164,255,0.95);
}

.market-flow-mini-legend .mf-iou {
  color: rgba(126,240,122,0.9);
}

.market-flow-mini-legend .mf-regime {
  color: rgba(248, 173, 11, 0.92);
}

.market-flow-mini-legend .mf-strength {
  color: rgba(178,255,126,0.95);
}

.market-flow-mini-legend .mf-volatility {
  color: rgba(126,240,122,0.60);
}

.market-flow-mini-legend .mf-momentum {
  color: rgba(133,216,255,0.92);
}

.market-flow-mini-legend .mf-flow {
  color: rgba(126,240,122,0.95);
}

.market-flow-mini-legend .mf-activity {
  color: rgba(88,164,255,0.75);
}

/* legacy orderbook legend colors (kept for compatibility) */
.market-flow-mini-legend .ob-imb { color: rgba(126,240,122,0.95); }
.market-flow-mini-legend .ob-liq { color: rgba(88,164,255,0.92); }
.market-flow-mini-legend .ob-walls { color: rgba(255,193,99,0.92); }

.market-flow-mini-legend .ob-bid {
  color: rgba(126,240,122,0.95);
}

.market-flow-mini-legend .ob-ask {
  color: rgba(255,107,107,0.92);
}

.market-flow-mini-legend .ob-vac {
  color: rgba(88,164,255,0.92);
}

.market-chart-line.market-chart-line-small {
  height: 200px;
}

.market-chart-line.market-chart-line-tiny {
  height: 200px;
}

.market-chart-loading {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.market-chart-loading.is-active {
  opacity: 1;
}

.market-chart-loading-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 40%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(88,164,255,0), rgba(88,164,255,0.9), rgba(88,164,255,0));
  box-shadow: 0 0 10px rgba(88,164,255,0.7);
  animation: chart-loading 1.2s ease-in-out infinite;
}

@keyframes chart-loading {
  0% { transform: translateX(-40%); opacity: 0.2; }
  50% { opacity: 1; }
  100% { transform: translateX(180%); opacity: 0.2; }
}

.market-chart-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.market-chart-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.market-chart-legend {
  display: flex;
  gap: 10px;
  font-size: 11px;
  color: var(--muted);
}

.legend-pill {
  appearance: none;
  cursor: pointer;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 10px;
  background: rgba(0,0,0,0.2);
  color: var(--text);
  font: inherit;
}

.legend-pill.is-active {
  border-color: rgba(95, 184, 36, 0.6);
  background: rgb(25 64 0 / 12%);
}

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

.market-divider {
  height: 1px;
  background: var(--border);
  margin-top: 12px;
    margin-bottom: 12px;
}

.market-log {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}

.market-log-line {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.2);
}

/* Assets view */
.assets-hero {
  display: block;
  align-items: center;
  justify-content: space-between;
  /*background: linear-gradient(120deg, rgba(77,151,25,0.12), rgba(20,20,20,0.7));
  border: 1px solid var(--border);*/
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 16px;
}

.assets-title {
  font-size: 18px;
  font-weight: 700;
}

.assets-sub {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.assets-filters {
    color: var(--muted);
    border-radius: 999px;
    font-size: 12px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    
}

.assets-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 auto 14px;
  max-width: 1550px;
  flex-wrap: wrap;
}

.assets-tf,
.assets-unit {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tf-chip,
.unit-chip {
  border: 1px solid var(--border);
    background: rgb(11 13 15);
    color: var(--muted);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    cursor: pointer;
}

.tf-chip.is-active,
.unit-chip.is-active {
  color: var(--text);
  border-color: rgba(95,184,36,0.6);
  background: rgba(95,184,36,0.12);
}

.assets-unit-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.assets-unit-switch .unit-chip {
      border: none;
    background: #0b0d0f;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
    cursor: pointer;
}

.assets-unit-switch .unit-chip.is-active {
  color: #dff7cf;
  background: rgba(77, 151, 25, 0.35);
  box-shadow: inset 0 0 0 1px rgba(77, 151, 25, 0.6);
}

.assets-filter {
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.2);
  color: var(--muted);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  margin: 3px;
}

.assets-filter.is-active {
  color: var(--text);
  border-color: rgba(95,184,36,0.6);
  background: rgba(95,184,36,0.12);
}

.assets-card {
  border: 1px solid rgb(75 75 75 / 34%);
  border-radius: 16px;
  overflow: hidden;
  background: radial-gradient(98% 76% at 12% 0%, rgb(171 193 109 / 7%), transparent 62%), radial-gradient(90% 70% at 92% 0%, rgb(16 15 11 / 16%), #00000066 62%), repeating-linear-gradient(0deg, rgb(0 0 0 / 2%) 0 1px, #00000000 1px 24px), repeating-linear-gradient(90deg, rgb(0 0 0 / 0%) 0 1px, #0000003d 1px 24px), linear-gradient(180deg, rgb(17 22 20 / 18%), rgb(9 10 7 / 98%));
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4);
    padding: 12px;
}

.assets-card .asset-delta {
  font-size: 12px;
}

.assets-card .js-price-delta-alt {
  display: none;
}

.assets-card .green {
  color: var(--green-candle);;
}

.assets-card .red {
  color: #ff6b6b;
}

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

.assets-layout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  position: relative;
}

.assets-table-area {
  flex: 1 1 auto;
  min-width: 0;
}

.assets-tooltip-panel {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 320px;
  max-width: 330px;
  height: fit-content;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  padding: 16px;
  box-shadow: 0 12px 26px rgba(0,0,0,0.45);
  pointer-events: auto;
}

.assets-tooltip-panel::before {
  content: "";
  position: absolute;
  left: -10px;
  top: var(--arrow-top, 50%);
  transform: translateY(-50%);
  border-width: 10px 10px 10px 0;
  border-style: solid;
  border-color: transparent rgba(0, 0, 0, 0.22) transparent transparent;
}

.assets-tooltip-panel::after {
  content: "";
  position: absolute;
  left: -11px;
  top: var(--arrow-top, 50%);
  transform: translateY(-50%);
  border-width: 11px 11px 11px 0;
  border-style: solid;
  border-color: transparent var(--border) transparent transparent;
}

@media (min-width: 1850px) {
  .assets-tooltip-panel.is-visible {
    display: block;
  }
}

.assets-tooltip-panel .tooltip-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
}

.assets-tooltip-panel .tooltip-body {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.assets-tooltip-panel .tooltip-desc {
  color: var(--text);
  font-size: 12px;
  line-height: 1.55;
  margin-bottom: 12px;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.assets-tooltip-panel .tooltip-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.assets-tooltip-panel .tooltip-tag {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(95, 184, 36, 0.12);
  border: 1px solid rgba(95, 184, 36, 0.3);
  color: #cfe7b8;
}

.assets-tooltip-panel .tooltip-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.assets-tooltip-panel .tooltip-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  text-decoration: none;
  font-size: 12px;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.assets-tooltip-panel .tooltip-link-text {
  display: inline-block;
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.assets-tooltip-panel .tooltip-link:hover {
  color: #d8f3c2;
}

.assets-tooltip-panel .tooltip-link-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #cfe7b8;
}

.assets-tooltip-panel .tooltip-link-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.assets-tooltip-panel .tooltip-empty {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.external-link-panel {
  width: 520px;
  max-width: calc(100vw - 40px);
  background: radial-gradient(circle at top right, rgba(77, 151, 25, 0.08), transparent 60%), var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.external-link-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.external-link-sub {
  font-size: 12px;
  color: var(--muted);
}

.external-link-url {
  font-size: 13px;
  color: #cfe7b8;
  word-break: break-all;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(10, 14, 10, 0.5);
  border: 1px solid rgba(95, 184, 36, 0.25);
}

.external-link-warning {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.external-link-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 4px;
}

.external-link-cancel,
.external-link-go {
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 12px;
  cursor: pointer;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.external-link-go {
  background: rgba(95, 184, 36, 0.22);
  border-color: rgba(95, 184, 36, 0.5);
  color: #eaf7dc;
}

.external-link-cancel:hover,
.external-link-go:hover {
  filter: brightness(1.05);
}


.asset-name {
  font-weight: 700;
  font-size: 13px;
}

.asset-market-link {
  display: inline-flex;
  align-items: center;
  color: #e5eefc;
  text-decoration: none;
}

.asset-market-link:hover,
.asset-market-link:focus-visible {
  color: #f4fbff;
  text-decoration: underline;
  text-decoration-color: rgba(143, 223, 88, 0.72);
  text-underline-offset: 2px;
}

.asset-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  margin-top:-1px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(0, 120, 255, 0.18);
  color: #4da3ff;
  font-size: 9px;
  border: 1px solid rgba(77, 163, 255, 0.6);
  vertical-align: middle;
}

.asset-cell {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}

.asset-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 9px;
  outline: none;
}

.asset-icon-link:focus-visible {
  box-shadow: 0 0 0 2px rgba(77, 151, 25, 0.4);
}

.asset-cell > div {
  min-width: 0;
}

.asset-name,
.asset-sub,
.asset-copy {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.asset-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
}

.nft-thumb-btn {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(20, 24, 24, 0.6);
  padding: 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nft-thumb-btn:hover {
  border-color: rgba(110, 180, 90, 0.6);
  box-shadow: 0 0 0 2px rgba(110, 180, 90, 0.12);
}

.nft-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.nft-thumb-img.is-loaded {
  opacity: 1;
}

.nft-thumb-fallback {
  position: relative;
  z-index: 1;
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
}

.nft-row.has-image .nft-thumb-fallback {
  display: none;
}

.asset-icon-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
}

.asset-sub {
  color: var(--muted);
  font-size: 13px;
}
.asset-sub-total {
  color: var(--muted);
  font-size: 20px;
}

.accounts-scroll.assets-nft-view table th:nth-child(2),
.accounts-scroll.assets-nft-view table td:nth-child(2) {
  display: none;
}

.accounts-scroll.assets-nft-view table th:nth-child(1),
.accounts-scroll.assets-nft-view table td:nth-child(1) {
  width: 62%;
}

.accounts-scroll.assets-nft-view table th:nth-child(3),
.accounts-scroll.assets-nft-view table td:nth-child(3) {
  width: 24%;
}

.accounts-scroll.assets-nft-view table th:nth-child(4),
.accounts-scroll.assets-nft-view table td:nth-child(4) {
  width: 14%;
}

#accountsAssetsHeaderAction {
  width: 25px;
  text-align: right;
}

.asset-action-cell {
  text-align: right;
  width: 25px;
  white-space: nowrap;
}

.trustline-remove-pill {
      /* border: 1px solid rgba(245, 117, 103, 0.46); */
    background: rgb(159 107 101 / 14%);
    color: #ffc0b8;
    border-radius: 7px;
    min-width: 19px;
    height: 20px;
    padding: 0 3px;
    font-size: 13px;
    font-weight: 700;
    line-height: 13px;
    cursor: pointer;
}

.trustline-remove-pill:hover {
  background: rgba(245, 117, 103, 0.22);
}

.trustline-remove-pill:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.nft-market-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(150, 167, 188, 0.34);
    border-top-color: rgba(150, 167, 188, 0.34);
    border-right-color: rgba(150, 167, 188, 0.34);
    border-bottom-color: rgba(150, 167, 188, 0.34);
    border-left-color: rgba(150, 167, 188, 0.34);
  background: rgba(18, 26, 36, 0.72);
  color: #cdd8e7;
  padding: 0px 5px;
  font-size: 11px;
  line-height: 1.5;
  margin-top: 5px;

}

.nft-market-pill.is-on {
  border-color: rgba(115, 191, 72, 0.55);
  background: rgba(50, 90, 20, 0.45);
  color: #bdf7a0;
}

.nft-market-pill.is-off {
  border-color: rgba(201, 95, 84, 0.52);
  background: rgba(70, 27, 24, 0.46);
  color: #ffbeb8;
}

.nft-manage-btn {
      display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: transparent;
    color: #ebf8df;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.01em;
    padding: 4px 10px;
    min-width: 35px;
    height: 35px;
    fill: white;
  
}

.nft-manage-btn:hover {
  background: rgba(74, 130, 30, 0.74);
}

.asset-copy {
  cursor: pointer;
  border-bottom: 1px dashed rgba(255,255,255,0.2);
  position: relative;
}

.asset-copy:hover {
  color: var(--text);
  border-bottom-color: var(--green-candle);
}

.asset-copy.copied {
  color: var(--green-candle);;
  border-bottom-color: var(--green-candle);;
}

.nft-preview-panel {
  width: 520px;
  max-width: calc(100vw - 40px);
  background: radial-gradient(circle at top right, rgba(77, 151, 25, 0.08), transparent 60%), var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nft-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.nft-preview-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.nft-preview-close {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 20px;
  cursor: pointer;
}

.nft-preview-close:hover {
  color: var(--text);
}

.nft-preview-image {
  width: 100%;
  background: rgba(6, 8, 12, 0.7);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nft-preview-image img {
  width: 100%;
  max-height: 60vh;
  object-fit: contain;
  border-radius: 10px;
}

.nft-preview-meta {
  font-size: 12px;
  color: var(--muted);
  word-break: break-all;
}

.asset-copy::after {
  content: attr(data-tooltip);
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(1, 131, 1, 0.946);
  color: #e8fee8;
  border: 1px solid rgba(3,255,3,0.6);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 10px;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
}

.asset-copy.copied::after {
  opacity: 1;
}

.dmtH {
  font-size: 0.7em;
  vertical-align: sub;
  font-variant-caps: normal;
  line-height: 1;
  margin-left: 2px;
  opacity: 0.9;
}

.asset-price {
  font-weight: 300;
  font-size: 13px;
}

.tvl-cell {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tvl-badge {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 0 6px rgba(0,0,0,0.4);
}

.tvl-badge.tvl-smooth {
  background: rgba(61, 208, 159, 0.9);
  box-shadow: 0 0 8px rgba(61, 208, 159, 0.6);
}

.tvl-badge.tvl-safe {
  background: rgba(255, 204, 77, 0.95);
  box-shadow: 0 0 10px rgba(255, 204, 77, 0.65);
}

.tvl-star {
  font-size: 11px;
  line-height: 1;
  color: rgba(255, 204, 77, 0.95);
  text-shadow: 0 0 8px rgba(255, 204, 77, 0.65);
  display: inline-flex;
  align-items: center;
}

.asset-tags {
  margin-top: 4px;
  display: flex;
  gap: 6px;
}

.asset-tag {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(255,255,255,0.04);
}

.asset-tag-link {
  text-decoration: none;
  color: #d9f8ba;
  border-color: rgba(105, 177, 56, 0.48);
  background: rgba(30, 57, 20, 0.26);
}

.asset-tag-link:hover,
.asset-tag-link:focus-visible {
  color: #f3ffe1;
  border-color: rgba(143, 223, 88, 0.72);
  background: rgba(39, 77, 25, 0.34);
}

.asset-tag.muted {
  color: var(--muted);
}

.asset-row.is-hidden {
  display: none;
}

.asset-row-link {
  cursor: pointer;
}

.assets-pagination {
  display: flex;
  gap: 6px;
  padding: 10px 6px 4px;
  justify-content: flex-start;
}

.assets-page {
  width: 32px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.2);
  color: var(--muted);
  font-size: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.assets-page.is-active {
  color: var(--text);
  border-color: rgba(95,184,36,0.6);
  background: rgba(95,184,36,0.18);
}

@media (max-width: 1200px) {
  .market-grid-top {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
  }
  .market-grid-bottom {
    grid-template-columns: 1fr;
  }
  .market-chart-grid {
    grid-template-columns: 1fr;
  }
  .market-liquidity-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .market-grid-top {
    grid-template-columns: 1fr;
  }
  .market-meta {
    flex-direction: column;
    align-items: flex-end;
  }

  .market-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .assets-hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .assets-filters {
    flex-wrap: wrap;
  }
}

@media (max-width: 1200px) {
  .dash-grid {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
  }
}

@media (max-width: 720px) {
  .dash-grid {
    grid-template-columns: 1fr;
  }
}


/* Split view full width */
.split-page-full{
  flex-direction: column;
  min-height: 0;
  /*overflow: hidden;*/
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}


/* Split view (orders/positions) */
.split-page {
  display: flex;
  flex-direction: column;
  min-height: 0;
  /*overflow: hidden;*/
  max-width: 1550px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  
}

main.split-page {
  overflow-y: auto;
}

.split-page > * {
  flex-shrink: 0;
}

.split-page::after {
  content: "";
  display: block;
  flex: 0 0 20px;
  height: 20px;
  pointer-events: none;
}

/* Admin X-Publisher insights split */
.x-activities-top-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(560px, 1.05fr);
  gap: 14px;
  margin-top: 14px;
  align-items: start;
}

.x-activities-insights-panel,
.x-activities-controls-panel {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  min-height: 100%;
}

.x-activities-insights-panel {
  background: linear-gradient(180deg, rgba(14, 20, 25, 0.62), rgba(8, 13, 17, 0.52));
}

.x-activities-controls-panel {
  background: rgba(10, 16, 20, 0.4);
}

.x-activities-insights-kpis {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.x-activities-insight-kpi {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
  background: rgba(8, 12, 16, 0.5);
}

.x-activities-insight-kpi-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.x-activities-insight-kpi-value {
  margin-top: 2px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.x-activities-event-list {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  max-height: 270px;
  overflow: auto;
  padding-right: 2px;
}

.x-activities-event-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 9px;
  background: rgba(4, 8, 10, 0.42);
}

@media (max-width: 1180px) {
  .x-activities-top-grid {
    grid-template-columns: 1fr;
  }

  .x-activities-event-list {
    max-height: none;
  }
}

.split-sections {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  min-height: 0;
  
}

.split-section {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.split-section h2 {
  margin: 0 0 8px;
  font-size: 16px;
}

.split-section .table-wrap {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  
}

.split-section.open {
  flex: 1 1 auto;
}

.split-section.history {
  flex: 0 0 32%;
  max-height: 32%;
}

.split-resizer {
  height: 8px;
  background: transparent;
  cursor: row-resize;
  position: relative;
}

.split-resizer::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  background: var(--border);
  border-radius: 2px;
}

/* Footer */
footer {
  grid-column: 2;
  background: rgba(8, 11, 17, 0.42);
  border-top: 1px solid rgba(110, 140, 186, 0.18);
  backdrop-filter: blur(12px) saturate(130%);
  -webkit-backdrop-filter: blur(12px) saturate(130%);
  padding: 8px 20px 8px;
  font-size: 11px;
  color: var(--muted);
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}

th, td {
  padding: 10px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

th {
  color: var(--muted);
  text-align: left;
}

tr:hover {
  background: rgba(255,255,255,0.03);
}

button {
  background: var(--accent);
  border: none;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
}

button.danger {
  background: var(--danger);
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

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

.table-wrap {
  width: 100%;
  max-width: 100%;
}

.table-wrap.is-responsive {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.table-wrap.is-responsive > table {
  min-width: 760px;
}

.market-card table a.table-link {
  color: #b7e4a4;
  text-decoration: none;
}

.market-card table a.table-link:visited {
  color: #b7e4a4;
}

.market-card table a.table-link:hover {
  color: #e4ffd9;
  text-decoration: underline;
}

.market-card table button.table-link.admin-fund-open-btn {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  color: #b7e4a4;
  cursor: pointer;
  font: inherit;
  text-decoration: none;
}

.market-card table button.table-link.admin-fund-open-btn:hover {
  color: #e4ffd9;
  text-decoration: underline;
}

a.action-button,
button.action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(77, 151, 25, 0.65);
  background: rgba(77, 151, 25, 0.16);
  color: #e4ffd9;
  text-decoration: none;
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
  white-space: nowrap;
}

a.action-button:visited {
  color: #e4ffd9;
}

a.action-button:hover,
button.action-button:hover {
  background: rgba(77, 151, 25, 0.26);
  border-color: rgba(77, 151, 25, 0.92);
  color: #ffffff;
  text-decoration: none;
}

a.action-button:focus-visible,
button.action-button:focus-visible {
  outline: 2px solid rgba(126, 240, 122, 0.7);
  outline-offset: 2px;
}

a.action-button.is-neutral,
button.action-button.is-neutral {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
  color: #e4eaf3;
}

a.action-button.is-danger:hover,
button.action-button.is-danger {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(106, 3, 3, 0.37);
  color: #e4eaf3;
}

a.action-button.is-neutral:visited {
  color: #e4eaf3;
}

a.action-button.is-danger:hover,
button.action-button.is-danger:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(106, 3, 3, 0.37);
  color: #ffffff;
}

a.action-button.is-neutral:hover,
button.action-button.is-neutral:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.status-pill.is-ok {
  border: 1px solid rgba(126, 240, 122, 0.44);
  background: rgba(71, 164, 67, 0.18);
  color: #ccf6c5;
}

.status-pill.is-warn {
  border: 1px solid rgba(246, 209, 122, 0.45);
  background: rgba(166, 121, 20, 0.18);
  color: #f7df9b;
}

.status-pill.is-error {
  border: 1px solid rgba(248, 159, 159, 0.42);
  background: rgba(133, 35, 35, 0.2);
  color: #ffd1d1;
}

.status-pill.is-processing {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #dbe4f1;
}

/* Positions direction markers */
.dir-marker {
  width: 5px;
  padding: 0;
}

.dir-marker span {
  display: block;
  width: 5px;
  height: 100%;
  min-height: 32px;
  background: transparent;
}

.pos-row.long .dir-marker span {
  background: #3bd16f;
}

.pos-row.short .dir-marker span {
  background: #ff4d4d;
}

.roi-pos {
  color: #3bd16f;
}

.roi-neg {
  color: #ff4d4d;
}

.raw-details summary {
  cursor: pointer;
  color: var(--accent);
  font-size: 12px;
}

.raw-json {
  white-space: pre-wrap;
  max-width: 520px;
  max-height: 200px;
  overflow: auto;
  background: #0b1220;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px;
  margin-top: 6px;
  font-size: 11px;
}

.copyable {
  background: transparent;
    cursor: pointer;
    user-select: none;
    color: #95c6fb;
  font-size: 11px;
}

.copyable:hover {
  text-decoration: underline;
}

.copyable.is-copied {
  color: #7ef07a;
}

/* Controller balances */
.controller-balance-row td {
  padding-top: 0;
}

.controller-balance {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 12px;
  padding: 12px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 12px;
  margin-top: 8px;
}

.controller-balance .label {
  display: block;
  font-size: 11px;
  color: var(--muted);
}

.controller-balance .value {
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 900px) {
  .controller-balance {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }
}








/* ============================
   MODAL (GLOBAL)
   ============================ */


/* ============================
   MODAL (FIXED — NO AUTO OPEN)
   ============================ */

.modal {
  position: fixed;
  top: 0;
  left: 0;

  width: 100vw;
  height: 100vh;

  background: rgba(0, 0, 0, 0.65);
  z-index: 9999;

  /* IMPORTANT: hidden by default */
  display: none;

  align-items: center;
  justify-content: center;
}

.modal.open {
  display: flex;
}

.modal .panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;

  width: 420px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 40px);

  overflow-y: auto;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.9);
}

.modal .send-modal-panel {
  width: 420px;
  max-width: calc(100vw - 32px);
  background: radial-gradient(circle at top right, rgba(77, 151, 25, 0.06), transparent 60%), var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 18px 20px;
}

.modal .send-modal-panel.admin-user-fund-modal-panel {
  width: 460px;
  max-width: calc(100vw - 28px);
}

.modal .swap-modal-panel {
  width: 430px;
  max-width: calc(100vw - 28px);
  padding: 16px;
}

.modal .market-structure-panel {
  width: 430px;
  max-width: calc(100vw - 28px);
  padding: 16px;
  background: radial-gradient(circle at top right, rgba(77,151,25,0.08), transparent 60%), var(--panel);
}

.market-structure-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.market-structure-brand {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.market-structure-sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

.market-structure-close {
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #9db0cc;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.market-structure-close:hover {
  background: rgba(255,255,255,0.06);
  color: #d6e2f3;
}

.market-structure-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.market-structure-badge {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text);
  background: rgba(255,255,255,0.03);
}

.market-structure-badge.is-strong {
  border-color: rgba(97, 201, 112, 0.45);
  background: rgba(25, 81, 37, 0.32);
  color: #95eba1;
}

.market-structure-badge.is-building {
  border-color: rgba(233, 183, 106, 0.5);
  background: rgba(90, 69, 22, 0.35);
  color: #ffd9a6;
}

.market-structure-badge.is-emerging {
  border-color: #154764;
  background: #0b212e;
  color: #4987ab;
}

.market-structure-score {
  font-size: 13px;
  color: #b4c0d2;
  font-weight: 700;
}

.market-structure-note {
  font-size: 13px;
  line-height: 1.45;
  color: #c8d4e3;
  margin-bottom: 12px;
  border: 1px solid rgba(77,151,25,0.28);
  background: rgba(34, 64, 20, 0.25);
  border-radius: 10px;
  padding: 10px;
}

.market-structure-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  border: 1px solid rgba(122,145,174,0.25);
  border-radius: 10px;
  padding: 10px;
}

.market-structure-grid .label {
  font-size: 13px;
  color: var(--muted);
}

.market-structure-grid .value {
  font-size: 13px;
  color: var(--text);
  text-align: right;
  font-weight: 700;
}

.market-structure-meta {
  margin-top: 10px;
  border-top: 1px solid rgba(122,145,174,0.24);
  padding-top: 9px;
  font-size: 11px;
  color: var(--muted);
  display: grid;
  gap: 4px;
}

.market-structure-meta code {
  color: #9fc4ff;
  font-size: 10px;
  word-break: break-all;
}



/* modal form styling */
.modal label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}

.modal input,
.modal select,
.modal textarea {
  width: 100%;
  padding: 8px;
  margin-top: 4px;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
}

.modal textarea {
  min-height: 80px;
}

.modal .send-modal-input {
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 12px;
  padding: 10px 12px;
}

.modal .swap-input {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin-top: 0;
}

.modal .swap-slippage-range {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin-top: 0;
}

.modal .send-modal-textarea {
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 12px;
  min-height: 90px;
  padding: 10px 12px;
}

.modal .send-modal-amount-row .send-modal-input {
  background: transparent;
  border: 0;
  padding: 0;
  border-radius: 0;
}

/* buttons */
.modal button {
  margin-right: 0px;
}

.modal .section-spacer {
  margin-top: 18px;
}

.modal .help-text {
  margin-top: 6px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
}

.modal .two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.modal .two-col .col label {
  margin-top: 0;
}

/* ============================
   HISTORY DETAILS
   ============================ */

.history-details-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 10px 16px;
  font-size: 13px;
}

.history-details-grid .label {
  color: var(--muted);
}

.history-details-grid .value {
  color: var(--text);
  word-break: break-all;
}

/* ============================
   INFO TIP
   ============================ */

.info-tip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-left: 6px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 11px;
  cursor: help;
  vertical-align: middle;
}

.copy-asset {
  cursor: pointer;
  color: var(--text);
}

.copy-asset:hover {
  color: var(--accent);
}

/* ============================
   TABLE SORT
   ============================ */

.sort-header {
  cursor: pointer;
  user-select: none;
  color: var(--text);
}

.sort-arrows {
  margin-left: 4px;
  color: var(--muted);
  font-size: 11px;
}

/* ============================
   SL/TP MINI EDIT
   ============================ */

.sl-tp {
  display: grid;
  gap: 2px;
  font-size: 12px;
}

.edit-pen {
  margin-top: 4px;
  width: 24px;
  height: 24px;
  padding: 0;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: #1d1d1d;
  color: var(--muted);
  cursor: pointer;
}

.edit-pen:hover {
  color: var(--text);
  border-color: var(--accent);
}

.mini {
  padding: 4px 8px;
  font-size: 11px;
}

.price-age {
  font-size: 12px;
}

.price-stale {
  color: #ff6b6b;
}

.no-header {
  width: 32px;
}

.pen-cell {
  width: 32px;
}









/* ============================
   FORM PANEL (DASHBOARD PAGES)
   ============================ */

.form-panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  width: 100%;

  box-shadow: 0 0 40px rgba(0,0,0,0.6);
}

.controller-empty {
  border-color: #b94a4a;
  background: rgba(185, 74, 74, 0.15);
}

.template-asset-box {
  background: #1d1d1d;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px;
  font-size: 12px;
}

.preflight-summary {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px 16px;
  margin-top: 12px;
  font-size: 12px;
}

.form-panel h2 {
  margin-top: 0;
  margin-bottom: 16px;
}

/* vertical form layout */
.form-panel label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 14px;
}

.form-panel input,
.form-panel select,
.form-panel textarea {
  width: 100%;
  padding: 8px 10px;
  margin-top: 6px;

  background: #1d1d1d;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
}

.form-panel textarea {
  min-height: 80px;
}

.split-input {
  display: flex;
  align-items: center;
  margin-top: 6px;
  background: #1d1d1d;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.split-input input {
  flex: 1 1 66.666%;
  border: none;
  background: transparent;
  color: var(--text);
  padding: 8px 10px;
  margin: 0;
  outline: none;
}

.split-input-addon {
  flex: 0 0 33.333%;
  text-align: right;
  padding: 8px 10px;
  border-left: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  background: rgba(0,0,0,0.2);
}

/* form actions */
.form-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.help-text {
  margin-top: 6px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
}

.section-spacer {
  margin-top: 18px;
}

.form-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-two-col .col label {
  margin-top: 0;
}

/* Order add split layout */
.order-add-page {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.order-add-split {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(260px, 360px);
  gap: 16px;
  align-items: start;
}

.order-add-split .form-panel {
  max-width: none;
}

.metrics-panel .metric-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.metrics-panel .metric-row:last-child {
  border-bottom: none;
}

.metrics-panel .metric-label {
  color: var(--muted);
}

.metrics-panel .metric-value {
  font-weight: 600;
}

@media (max-width: 980px) {
  .order-add-split {
    grid-template-columns: 1fr;
  }

  .market-seo-hero,
  .market-seo-body {
    grid-template-columns: 1fr;
  }

  .market-seo-panel {
    padding: 18px;
  }

  .market-public-terminal-card {
    grid-template-columns: 1fr;
  }

  .market-public-terminal-actions {
    min-width: 0;
  }

  .market-seo-description {
    font-size: 16px;
  }

  .market-seo-fact-value {
    font-size: 18px;
  }

  .market-seo-paragraphs p {
    font-size: 15px;
  }
}
