/* ==========================================================================
   soukapp.org — design system
   ========================================================================== */

:root {
  --bg:          #12100E;
  --fg:          #F5EFE6;
  --fg-dim:      #DDD4C8;
  --card:        #1E1B18;
  --popover:     #211D19;
  --surface:     #242019;
  --primary:     #FF8A3D;
  --primary-hi:  #FFA163;
  --primary-fg:  #241203;
  --secondary:   #2B2621;
  --muted:       #2B2621;
  --muted-fg:    #A29689;
  --muted-fg-2:  #8A7F73;
  --accent:      #3A2A18;
  --border:      rgba(255,255,255,.10);
  --border-hi:   rgba(255,255,255,.16);
  --input:       rgba(255,255,255,.12);
  --ring:        rgba(255,138,61,.45);
  --glow:        rgba(255,138,61,.30);
  --up:          #6FCF7F;
  --down:        #E5705B;
  --radius:      14px;

  --sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Fraunces", ui-serif, Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* the warm haze that keeps the charcoal from reading flat */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 520px at 78% -8%, rgba(255,138,61,.10), transparent 62%),
    radial-gradient(760px 460px at 6% 4%, rgba(255,138,61,.05), transparent 60%);
}

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

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: rgba(255,138,61,.28); }

:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 6px; }

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

.mono { font-family: var(--mono); font-variant-ligatures: none; }

/* ==========================================================================
   Brand mark
   ========================================================================== */

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -1.1px;
  color: var(--fg);
  line-height: 1;
  flex-shrink: 0;
}

.brand .arch { width: 26px; height: 26px; flex-shrink: 0; }
.brand-word { padding-bottom: 2px; }
.brand-word .dot { color: var(--primary); }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  height: 74px;
  padding: 0 36px;
  display: flex;
  align-items: center;
  gap: 24px;
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(18,16,14,.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.desktop-navigation {
  display: flex;
  align-items: stretch;
  gap: 28px;
  height: 74px;
  font-size: 14px;
  margin-left: 22px;
}

.desktop-navigation a {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted-fg);
  position: relative;
  transition: color .18s ease;
  white-space: nowrap;
}

.desktop-navigation a:hover { color: var(--fg-dim); }
.desktop-navigation a.active { color: var(--primary); }

.desktop-navigation a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: var(--primary);
  box-shadow: 0 0 12px var(--glow);
}

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

.network-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted-fg);
  white-space: nowrap;
}

.network-pill .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--up);
  box-shadow: 0 0 8px rgba(111,207,127,.7);
}

.icon-button {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 12px;
  color: var(--muted-fg);
  transition: border-color .18s ease, color .18s ease;
}

.icon-button:hover { border-color: var(--border-hi); color: var(--fg-dim); }

/* ==========================================================================
   Buttons
   ========================================================================== */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 15px;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.button:active { transform: translateY(1px); }

.button.primary {
  background: var(--primary);
  border-color: var(--primary-hi);
  color: var(--primary-fg);
  box-shadow: 0 1px 0 rgba(255,255,255,.22) inset, 0 6px 22px -8px var(--glow);
}

.button.primary:hover {
  background: var(--primary-hi);
  box-shadow: 0 1px 0 rgba(255,255,255,.28) inset, 0 10px 30px -8px rgba(255,138,61,.5);
}

.button.ghost {
  background: rgba(255,255,255,.045);
  border-color: var(--border);
  color: var(--fg-dim);
}

.button.ghost:hover { background: rgba(255,255,255,.075); border-color: var(--border-hi); }

.wallet-button {
  height: 41px;
  padding: 0 18px;
  border-radius: 24px;
}

.launch-cta {
  height: 46px;
  padding: 0 21px;
  flex-shrink: 0;
}

/* ==========================================================================
   Page shell
   ========================================================================== */

.site-main {
  width: 100%;
  max-width: 1472px;
  margin: 0 auto;
  padding: 22px 36px 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   Explore — search row
   ========================================================================== */

.explore-search-row {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 48px;
}

.explore-search {
  flex: 1;
  height: 48px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 16px;
  border-radius: 15px;
  background: var(--surface);
  border: 1px solid var(--border-hi);
  border-top-color: rgba(255,255,255,.22);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.explore-search:focus-within {
  border-color: rgba(255,138,61,.5);
  box-shadow: 0 0 0 3px var(--ring);
}

.explore-search svg { width: 17px; height: 17px; color: var(--muted-fg); flex-shrink: 0; }

.explore-search input {
  flex: 1;
  height: 46px;
  border: 0;
  background: none;
  font-size: 14px;
  color: var(--fg-dim);
  min-width: 0;
}

.explore-search input::placeholder { color: var(--muted-fg-2); }
.explore-search input:focus { outline: none; }

/* ==========================================================================
   Explore — heading row
   ========================================================================== */

.explore-heading {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 34px;
  margin-top: 23px;
}

.explore-title {
  display: flex;
  align-items: center;
  gap: 13px;
}

.explore-title h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -.7px;
  color: #E4E0D8;
}

.count-pill {
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(255,255,255,.05);
  font-size: 12px;
  color: var(--muted-fg);
  white-space: nowrap;
}

.tabs {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 11px;
}

.tab {
  height: 33px;
  padding: 6px 15px;
  border-radius: 22px;
  font-size: 14px;
  color: var(--muted-fg);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background .18s ease, color .18s ease;
}

.tab:hover { color: var(--fg-dim); }

.tab[aria-selected="true"] {
  background: rgba(255,255,255,.055);
  color: #E4E7DF;
}

.tab[aria-selected="true"] .tab-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--glow);
}

/* ==========================================================================
   Token grid + card
   ========================================================================== */

.token-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 17px;
  margin-top: 24px;
  padding-bottom: 40px;
}

.token-card {
  border-radius: 17px;
  border: 1px solid var(--border-hi);
  overflow: hidden;
  background: var(--card);
  display: block;
  transition: transform .2s ease, border-color .2s ease, box-shadow .25s ease;
  animation: card-in .45s ease both;
}

.token-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,138,61,.42);
  box-shadow: 0 14px 34px -18px rgba(0,0,0,.9), 0 0 0 1px rgba(255,138,61,.10);
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .token-card { animation: none; }
  .token-card:hover { transform: none; }
}

.token-art {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  overflow: hidden;
  background: var(--accent);
}

.token-art > svg,
.token-art > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pair-badge {
  position: absolute;
  top: 9px;
  left: 9px;
  z-index: 2;
  height: 24px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 20px;
  background: rgba(14,12,10,.66);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: 12px;
  color: #F1E9CE;
}

.pair-badge .glyph { color: var(--primary); font-size: 11px; }

.token-details {
  padding: 13px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.token-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 23px;
}

.token-name {
  font-size: 14px;
  font-weight: 600;
  color: #DDE1D8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.official-badge {
  flex-shrink: 0;
  height: 23px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(255,138,61,.10);
  border: 1px solid rgba(255,138,61,.30);
  font-size: 12px;
  font-weight: 500;
  color: #F0BC8B;
}

.token-symbol {
  font-size: 12px;
  color: #989F95;
  height: 18px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.token-metrics {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 21px;
  font-size: 12px;
  color: #9DA494;
}

.token-metrics .mc { color: #CFC6B6; }
.token-metrics .sep { color: var(--muted-fg-2); }

.token-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 18px;
  font-size: 12px;
  color: #8E9888;
}

.token-meta .addr { font-family: var(--mono); font-size: 11.5px; }
.token-meta .age { color: #D6A57A; margin-left: auto; }

.grid-empty {
  grid-column: 1 / -1;
  padding: 72px 0 96px;
  text-align: center;
  color: var(--muted-fg);
  font-size: 14px;
}

.grid-empty strong { display: block; font-size: 17px; color: var(--fg-dim); margin-bottom: 7px; font-weight: 500; }

/* ==========================================================================
   Launch page
   ========================================================================== */

.studio-main {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 64px 32px 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.page-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  min-height: 120px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #CB9A6B;
}

.eyebrow .rule { width: 26px; height: 1px; background: rgba(255,138,61,.45); }

.page-intro h1 {
  margin: 8px 0 6px;
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--fg);
  max-width: 560px;
}

.page-intro p { margin: 0; font-size: 16px; color: #9E9E93; max-width: 540px; }

.guide-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 5px;
  font-size: 14px;
  color: #B8B6AA;
  border-bottom: 1px solid transparent;
  transition: color .18s ease, border-color .18s ease;
  flex-shrink: 0;
}

.guide-link:hover { color: var(--primary); border-bottom-color: rgba(255,138,61,.4); }
.guide-link svg { width: 16px; height: 16px; }

.studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 767fr) minmax(0, 369fr);
  gap: 40px;
  margin-top: 34px;
  padding-bottom: 56px;
}

.steps {
  display: flex;
  align-items: center;
  gap: 15px;
  height: 29px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted-fg-2);
}

.step .n {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 11px;
  border: 1px solid var(--border);
  color: var(--muted-fg);
}

.step.active { color: var(--fg-dim); }
.step.active .n {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-fg);
  box-shadow: 0 0 14px -2px var(--glow);
}

.step .arrow { color: rgba(255,255,255,.14); }

.glass {
  background: rgba(32,30,27,.86);
  border: 1px solid var(--border);
  border-radius: 17px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.form-card { padding: 29px; margin-bottom: 20px; position: relative; }
.form-card.compact { padding: 20px 29px; }

.form-card > .card-index {
  position: absolute;
  top: 25px;
  right: 27px;
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(255,255,255,.16);
}

.card-head { margin-bottom: 22px; }
.card-head h2 { margin: 0 0 5px; font-size: 17px; font-weight: 600; letter-spacing: -.3px; color: var(--fg-dim); }
.card-head p { margin: 0; font-size: 13px; color: var(--muted-fg-2); }

.field { margin-bottom: 18px; }
.field:last-child { margin-bottom: 0; }

.field > label,
.field-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #C8C1B6;
  margin-bottom: 8px;
}

.field-label .opt { color: var(--muted-fg-2); font-weight: 400; }
.field-label .req { color: var(--primary); }
.field-label .counter { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--muted-fg-2); }

.input, .textarea {
  width: 100%;
  height: 47px;
  padding: 12px 13px;
  border-radius: 8px;
  background: rgba(20,18,15,.6);
  border: 1px solid var(--input);
  font-size: 14px;
  font-weight: 500;
  color: #EBE8DB;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.textarea { height: 100px; resize: vertical; font-weight: 400; line-height: 1.55; }

.input::placeholder, .textarea::placeholder { color: var(--muted-fg-2); font-weight: 400; }

.input:focus, .textarea:focus {
  outline: none;
  border-color: rgba(255,138,61,.55);
  box-shadow: 0 0 0 3px var(--ring);
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.ticker-wrap { position: relative; }
.ticker-wrap .prefix {
  position: absolute;
  left: 13px; top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  pointer-events: none;
}
.ticker-wrap .input { padding-left: 29px; text-transform: uppercase; letter-spacing: .04em; }

/* dropzone */
.dropzone {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 12px;
  border: 1px dashed rgba(255,255,255,.16);
  background: rgba(20,18,15,.4);
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease;
}

.dropzone:hover, .dropzone.dragging {
  border-color: rgba(255,138,61,.55);
  background: rgba(255,138,61,.05);
}

.dropzone .thumb {
  width: 74px; height: 74px;
  border-radius: 10px;
  background: var(--accent);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
}

.dropzone .thumb img { width: 100%; height: 100%; object-fit: cover; }
.dropzone .thumb svg { width: 22px; height: 22px; color: rgba(255,138,61,.7); }
.dropzone .dz-title { font-size: 14px; font-weight: 500; color: #D4D0C6; }
.dropzone .dz-sub { font-size: 12px; color: var(--muted-fg-2); margin-top: 3px; }

/* pair picker */
.pair-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(166px, 1fr)); gap: 12px; }

.pair-option {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(20,18,15,.4);
  text-align: left;
  transition: border-color .18s ease, background .18s ease;
}

.pair-option:hover { border-color: var(--border-hi); }

.pair-option[aria-pressed="true"] {
  border-color: rgba(255,138,61,.6);
  background: rgba(255,138,61,.07);
  box-shadow: 0 0 0 1px rgba(255,138,61,.22);
}

.pair-option .sigil {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}

.pair-option .po-name { font-size: 14px; font-weight: 500; color: #D8D3C8; }
.pair-option .po-sub { font-size: 11.5px; color: var(--muted-fg-2); }

/* tokenized-equity picker — ticker chips, mono, reads like a ticker tape */
.stock-options { display: flex; flex-wrap: wrap; gap: 8px; }

.stock-option {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .3px;
  padding: 8px 13px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: rgba(20,18,15,.4);
  color: var(--muted-fg);
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}

.stock-option:hover { border-color: var(--border-hi); color: #D8D3C8; }

.stock-option[aria-pressed="true"] {
  border-color: rgba(255,138,61,.6);
  background: rgba(255,138,61,.07);
  color: var(--primary);
}

.pair-summary {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.012);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.pair-summary .ps-label { font-size: 12px; color: var(--muted-fg-2); }
.pair-summary .ps-value { font-family: var(--mono); font-size: 14px; color: var(--primary); margin-top: 2px; }
.pair-summary .ps-chain { font-size: 12px; color: var(--muted-fg); text-align: right; }

.disclosure {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  font-size: 14px;
  color: #C8C1B6;
}

.disclosure .chev { margin-left: auto; color: var(--muted-fg-2); transition: transform .2s ease; }
.disclosure[aria-expanded="true"] .chev { transform: rotate(180deg); }
.disclosure .tagline { font-size: 12px; color: var(--muted-fg-2); }

.disclosure-body { padding-top: 20px; }
.disclosure-body[hidden] { display: none; }

.launch-actions { display: flex; align-items: center; gap: 12px; height: 53px; }
.launch-actions .button { height: 47px; padding: 0 24px; }
.launch-note { font-size: 12px; color: #9AA28B; margin-top: 14px; }

/* preview column */
.preview-column { padding-top: 4px; }
.preview-column .sticky { position: sticky; top: 98px; }

.preview-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #95836C;
  margin-bottom: 12px;
}

.preview-heading .live {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--glow);
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

.token-preview { padding: 9px; }

.preview-art {
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  display: grid;
  place-items: center;
  background: var(--accent);
}

.preview-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.preview-art > svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.preview-art .placeholder {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.28);
}

.preview-body { padding: 15px 9px 7px; }
.preview-body .pv-chain { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); margin-bottom: 9px; }
.preview-body .pv-name { font-size: 19px; font-weight: 600; letter-spacing: -.4px; color: var(--fg); }
.preview-body .pv-ticker { font-family: var(--mono); font-size: 13px; color: var(--muted-fg); margin-top: 3px; }
.preview-body .pv-pair { font-size: 12px; color: #9DA494; margin-top: 9px; }
.preview-body .pv-story { font-size: 13px; color: var(--muted-fg-2); margin-top: 13px; line-height: 1.6; }

.preview-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 16px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.preview-stats .k { font-size: 11px; color: var(--muted-fg-2); }
.preview-stats .v { font-size: 13px; color: #CFC6B6; margin-top: 2px; }

.preview-caption { font-size: 12px; color: #8E7E68; margin-top: 12px; }

.creator-note {
  border-top: 1px solid var(--border);
  margin-top: 25px;
  padding: 25px 4px;
}

.creator-note h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -.4px;
  color: var(--fg-dim);
}

.creator-note p { margin: 0; font-size: 13px; line-height: 1.65; color: var(--muted-fg-2); }

.built-on {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.012);
  font-size: 13px;
  color: var(--muted-fg);
}

.built-on .arch { width: 22px; height: 22px; flex-shrink: 0; }
.built-on strong { display: block; color: var(--fg-dim); font-weight: 500; }

/* ==========================================================================
   Docs
   ========================================================================== */

.docs-main { max-width: 1000px; margin: 0 auto; padding: 64px 32px 0; width: 100%; flex: 1; display: flex; flex-direction: column; }

.docs-grid { display: grid; grid-template-columns: 210px minmax(0,1fr); gap: 44px; margin-top: 34px; padding-bottom: 64px; }

.docs-nav { position: sticky; top: 98px; align-self: start; font-size: 13px; display: flex; flex-direction: column; gap: 2px; }
.docs-nav a { padding: 7px 11px; border-radius: 8px; color: var(--muted-fg); transition: background .16s ease, color .16s ease; }
.docs-nav a:hover { background: rgba(255,255,255,.04); color: var(--fg-dim); }
.docs-nav .group { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-fg-2); padding: 16px 11px 6px; }

.docs-body section { scroll-margin-top: 100px; margin-bottom: 44px; }
.docs-body h2 { font-family: var(--serif); font-size: 25px; font-weight: 500; letter-spacing: -.6px; margin: 0 0 12px; color: var(--fg); }
.docs-body h3 { font-size: 15px; font-weight: 600; margin: 26px 0 8px; color: var(--fg-dim); }
.docs-body p { margin: 0 0 13px; font-size: 14.5px; line-height: 1.72; color: #A9A196; }
.docs-body ul { margin: 0 0 13px; padding-left: 19px; font-size: 14.5px; line-height: 1.75; color: #A9A196; }
.docs-body li { margin-bottom: 5px; }
.docs-body strong { color: var(--fg-dim); font-weight: 600; }
.docs-body code { font-family: var(--mono); font-size: 12.5px; background: rgba(255,255,255,.05); border: 1px solid var(--border); border-radius: 5px; padding: 1.5px 5px; color: #E3B98F; }

.callout { border: 1px solid var(--border); border-left: 2px solid var(--primary); border-radius: 10px; padding: 15px 17px; background: rgba(255,138,61,.04); margin: 18px 0; }
.callout p { margin: 0; font-size: 13.5px; color: #B0A79A; }

.spec-table { width: 100%; border-collapse: collapse; font-size: 13.5px; margin: 16px 0; }
.spec-table th, .spec-table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--border); }
.spec-table th { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-fg-2); font-weight: 500; }
.spec-table td { color: #A9A196; }
.spec-table td:first-child { color: var(--fg-dim); font-weight: 500; }

/* ==========================================================================
   My tokens
   ========================================================================== */

.stall-empty { border: 1px dashed rgba(255,255,255,.14); border-radius: 17px; padding: 72px 32px; text-align: center; margin-top: 28px; background: rgba(255,255,255,.012); }
.stall-empty .arch { width: 46px; height: 46px; margin: 0 auto 20px; opacity: .8; }
.stall-empty h2 { font-family: var(--serif); font-size: 25px; font-weight: 500; letter-spacing: -.5px; margin: 0 0 9px; color: var(--fg-dim); }
.stall-empty p { margin: 0 auto 24px; font-size: 14px; color: var(--muted-fg-2); max-width: 400px; line-height: 1.65; }
.stall-empty .button { height: 46px; padding: 0 24px; }

.stall-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 17px; margin-top: 24px; }
.stat-card { border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; background: var(--card); }
.stat-card .k { font-size: 12px; color: var(--muted-fg-2); }
.stat-card .v { font-size: 23px; font-weight: 600; letter-spacing: -.6px; color: var(--fg); margin-top: 5px; }
.stat-card .v.accent { color: var(--primary); }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  border-top: 1px solid rgba(255,255,255,.05);
  padding: 23px 0 27px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-top: auto;
}

.footer-brand { max-width: 520px; }

.footer-brand .fb-mark {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -1px;
  color: #A5AB9A;
}

.footer-brand .fb-mark .arch { width: 25px; height: 25px; opacity: .75; }
.footer-slogan { font-size: 12px; color: #93805F; margin-top: 8px; line-height: 1.6; }

.footer-links { margin-left: auto; display: flex; align-items: center; gap: 25px; font-size: 12px; color: #939F82; flex-shrink: 0; }
.footer-links a { transition: color .18s ease; }
.footer-links a:hover { color: var(--primary); }
.footer-links .chain { display: flex; align-items: center; gap: 6px; }
.footer-links .chain .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--up); }

/* ==========================================================================
   Mobile nav
   ========================================================================== */

.mobile-navigation {
  display: none;
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 70;
  grid-template-columns: repeat(4, 1fr);
  padding: 5px 8px;
  border-radius: 24px;
  border: 1px solid rgba(255,138,61,.18);
  background: rgba(20,17,14,.9);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 12px 40px -12px rgba(0,0,0,.85);
}

.mobile-navigation a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 68px;
  border-radius: 19px;
  font-size: 11px;
  color: var(--muted-fg);
  transition: color .18s ease, background .18s ease;
}

.mobile-navigation a svg { width: 19px; height: 19px; }
.mobile-navigation a.active { color: var(--primary); background: rgba(255,138,61,.09); }

/* ==========================================================================
   Toast
   ========================================================================== */

.toast-host { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 90; display: flex; flex-direction: column; gap: 9px; align-items: center; pointer-events: none; }

.toast {
  padding: 11px 17px;
  border-radius: 12px;
  background: rgba(28,25,21,.96);
  border: 1px solid rgba(255,138,61,.28);
  box-shadow: 0 14px 40px -14px rgba(0,0,0,.9);
  font-size: 13px;
  color: var(--fg-dim);
  animation: toast-in .25s ease both;
  max-width: 90vw;
}

@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1100px) {
  .studio-grid { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .preview-column .sticky { position: static; }
  .stall-stats { grid-template-columns: repeat(2, 1fr); }
  .docs-grid { grid-template-columns: minmax(0,1fr); gap: 26px; }
  .docs-nav { position: static; flex-direction: row; flex-wrap: wrap; gap: 4px; }
  .docs-nav .group { display: none; }
}

@media (max-width: 900px) {
  .desktop-navigation { display: none; }
  .mobile-navigation { display: grid; }
  .site-header { padding: 0 18px; height: 68px; gap: 12px; }
  .brand { font-size: 23px; }
  .network-pill { display: none; }
  .site-main { padding: 19px 16px 0; }
  .studio-main, .docs-main { padding: 40px 16px 0; }
  .page-intro { flex-direction: column; align-items: flex-start; gap: 18px; }
  .page-intro h1 { font-size: 31px; }
  .explore-heading { flex-wrap: wrap; height: auto; gap: 14px; }
  .tabs { margin-left: 0; width: 100%; overflow-x: auto; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .site-footer { flex-direction: column; gap: 18px; padding-bottom: 108px; }
  .footer-links { margin-left: 0; flex-wrap: wrap; gap: 18px; }
  .form-card { padding: 21px; }
  .form-card.compact { padding: 17px 21px; }
  .pair-options { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 18px; }
  .toast-host { bottom: 100px; }
}

@media (max-width: 560px) {
  .token-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .explore-search-row { flex-wrap: wrap; height: auto; }
  .launch-cta { width: 100%; }
  .explore-title h1 { font-size: 21px; }
  .stall-stats { grid-template-columns: 1fr; }
  .launch-actions { flex-direction: column; align-items: stretch; height: auto; }
  .launch-actions .button { width: 100%; }
}

/* ==========================================================================
   Live data — change badge, price, skeletons
   ========================================================================== */

.change-badge {
  position: absolute;
  top: 9px; right: 9px;
  z-index: 2;
  height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 20px;
  background: rgba(14,12,10,.66);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
}

.change-badge.up   { color: #7BD98C; }
.change-badge.down { color: #F0836C; }
.change-badge.flat { color: var(--muted-fg); }

.token-symbol .price {
  font-family: var(--mono);
  color: #CFC6B6;
  margin-left: 5px;
}

/* skeletons */
.token-card.skeleton { pointer-events: none; animation: none; border-color: var(--border); }
.token-card.skeleton .token-art { background: linear-gradient(100deg, #1b1815 30%, #262119 50%, #1b1815 70%); background-size: 220% 100%; animation: shimmer 1.4s linear infinite; }
.token-card.skeleton .token-details { gap: 8px; }
.sk { display: block; height: 11px; border-radius: 4px; background: linear-gradient(100deg, #221e1a 30%, #2c2621 50%, #221e1a 70%); background-size: 220% 100%; animation: shimmer 1.4s linear infinite; }
.sk-a { width: 62%; height: 14px; }
.sk-b { width: 38%; }
.sk-c { width: 78%; }
.sk-d { width: 54%; }

@keyframes shimmer { from { background-position: 140% 0; } to { background-position: -40% 0; } }
@media (prefers-reduced-motion: reduce) { .sk, .token-card.skeleton .token-art { animation: none; } }

/* ==========================================================================
   Token page
   ========================================================================== */

.token-head { display: flex; align-items: center; gap: 18px; margin-top: 8px; flex-wrap: wrap; }
.token-head .avatar { width: 66px; height: 66px; border-radius: 15px; overflow: hidden; border: 1px solid var(--border-hi); flex-shrink: 0; background: var(--accent); }
.token-head .avatar img, .token-head .avatar svg { width: 100%; height: 100%; object-fit: cover; }
.token-head h1 { margin: 0; font-size: 27px; font-weight: 600; letter-spacing: -.7px; }
.token-head .sym { font-family: var(--mono); font-size: 13px; color: var(--muted-fg); margin-top: 3px; }
.token-head .dexpill { font-size: 12px; color: var(--muted-fg); border: 1px solid var(--border); border-radius: 20px; padding: 4px 11px; }

.token-price-block { margin-left: auto; text-align: right; }
.token-price-block .p { font-family: var(--mono); font-size: 30px; font-weight: 500; letter-spacing: -1px; }
.token-price-block .c { font-family: var(--mono); font-size: 14px; margin-top: 3px; }
.token-price-block .c.up { color: #7BD98C; }
.token-price-block .c.down { color: #F0836C; }

.chart-card { border: 1px solid var(--border); border-radius: 17px; background: var(--card); padding: 20px 22px 14px; margin-top: 22px; }
.chart-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.chart-head h2 { margin: 0; font-size: 14px; font-weight: 600; color: var(--fg-dim); }
.chart-head .hint { font-size: 12px; color: var(--muted-fg-2); }
.tf-group { margin-left: auto; display: flex; gap: 6px; }
.tf { height: 30px; padding: 0 13px; border-radius: 18px; font-size: 13px; color: var(--muted-fg); transition: background .16s ease, color .16s ease; }
.tf:hover { color: var(--fg-dim); }
.tf[aria-selected="true"] { background: rgba(255,138,61,.12); color: var(--primary); }

.chart-wrap { position: relative; width: 100%; height: 380px; }
.chart-wrap canvas { width: 100%; height: 100%; display: block; }
.chart-msg { position: absolute; inset: 0; display: grid; place-items: center; font-size: 13px; color: var(--muted-fg-2); text-align: center; padding: 20px; }

.chart-tip {
  position: absolute; z-index: 5; pointer-events: none;
  background: rgba(28,25,21,.97); border: 1px solid var(--border-hi);
  border-radius: 10px; padding: 9px 11px; font-family: var(--mono); font-size: 11.5px;
  color: var(--fg-dim); box-shadow: 0 12px 30px -12px rgba(0,0,0,.9); white-space: nowrap;
}
.chart-tip .row { display: flex; justify-content: space-between; gap: 14px; }
.chart-tip .row span:first-child { color: var(--muted-fg-2); }
.chart-tip .when { color: var(--primary); margin-bottom: 5px; }

.token-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 17px; margin-top: 22px; }
.token-stats .stat-card .v { font-size: 19px; }

.token-about { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 24px; margin: 26px 0 48px; }
.about-card { border: 1px solid var(--border); border-radius: 15px; padding: 22px; background: rgba(255,255,255,.012); }
.about-card h3 { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: var(--fg-dim); }
.kv { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.05); font-size: 13px; }
.kv:last-child { border-bottom: 0; }
.kv .k { color: var(--muted-fg-2); }
.kv .v { color: #CFC6B6; text-align: right; }
.kv .v.mono { font-family: var(--mono); font-size: 12px; }
.kv a { color: var(--primary); }

.buys-bar { height: 7px; border-radius: 6px; overflow: hidden; display: flex; margin: 12px 0 9px; background: var(--accent); }
.buys-bar .b { background: #5DBE72; }
.buys-bar .s { background: #C9553F; }
.buys-legend { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted-fg); }
.buys-legend .b { color: #7BD98C; }
.buys-legend .s { color: #F0836C; }

.data-note { font-size: 12px; color: var(--muted-fg-2); margin-top: 14px; line-height: 1.6; }
.data-note a { color: var(--primary); }

@media (max-width: 1100px) { .token-stats { grid-template-columns: repeat(2,1fr); } .token-about { grid-template-columns: minmax(0,1fr); } }
@media (max-width: 560px) {
  .token-stats { grid-template-columns: 1fr 1fr; }
  .token-price-block { margin-left: 0; text-align: left; width: 100%; }
  .chart-wrap { height: 290px; }
}


/* ── risk ─────────────────────────────────────────────────────────────────
   The market polices itself out loud. Red is reserved for "you cannot leave
   with your money"; amber is for "know what you are standing on". */

.filter-note[hidden] { display: none; }

.filter-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 15px;
  padding: 11px 15px;
  border-radius: 12px;
  border: 1px solid rgba(255,107,74,.26);
  background: rgba(255,107,74,.055);
  font-size: 13px;
  color: var(--muted-fg);
}

.filter-note strong { color: #F0D3C4; font-weight: 600; }
.filter-note .fn-icon { color: #FF6B4A; font-size: 13px; line-height: 1; }

.filter-note button {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--primary);
  padding: 5px 11px;
  border-radius: 8px;
  border: 1px solid rgba(255,138,61,.3);
  background: transparent;
  transition: background .18s ease, border-color .18s ease;
}

.filter-note button:hover { background: rgba(255,138,61,.1); border-color: rgba(255,138,61,.55); }

/* on-card ribbon */
.risk-ribbon {
  position: absolute;
  left: 8px; right: 8px; bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1px;
  backdrop-filter: blur(8px);
  background: rgba(28,10,6,.82);
  border: 1px solid rgba(255,107,74,.42);
  color: #FF8E72;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.risk-ribbon.warn {
  background: rgba(30,22,8,.8);
  border-color: rgba(255,184,61,.32);
  color: #E5B45F;
}

/* token page panel */
.risk-panel {
  margin: 0 0 20px;
  padding: 17px 19px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,107,74,.3);
  background: linear-gradient(180deg, rgba(255,107,74,.075), rgba(255,107,74,.028));
}

.risk-panel.warn {
  border-color: rgba(255,184,61,.26);
  background: linear-gradient(180deg, rgba(255,184,61,.06), rgba(255,184,61,.02));
}

.risk-panel h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 600;
  color: #FFA98D;
  margin: 0 0 4px;
}

.risk-panel.warn h3 { color: #E5B45F; }

.risk-panel .rp-lede { font-size: 12.5px; color: var(--muted-fg-2); margin: 0 0 13px; }
.risk-panel ul { list-style: none; display: grid; gap: 10px; margin: 0; padding: 0; }

.risk-panel li {
  display: grid;
  gap: 2px;
  padding-left: 13px;
  border-left: 2px solid rgba(255,107,74,.34);
}

.risk-panel.warn li { border-left-color: rgba(255,184,61,.3); }
.risk-panel li b { font-size: 13px; font-weight: 600; color: #E8DFD4; }
.risk-panel li span { font-size: 12.5px; color: var(--muted-fg); line-height: 1.5; }

.risk-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid var(--border);
}

.risk-metrics i {
  font-style: normal;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted-fg-2);
  padding: 4px 9px;
  border-radius: 7px;
  background: rgba(255,255,255,.035);
}

@media (max-width: 560px) {
  .filter-note { flex-wrap: wrap; font-size: 12.5px; }
  .filter-note button { margin-left: 0; }
}


/* ── not listed ───────────────────────────────────────────────────────────
   What a removed pool gets instead of a page. No price, no chart, no stats —
   the only thing on offer is the fact that souk will not carry it. */
.not-listed {
  max-width: 520px;
  margin: 56px auto 72px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 0;
}

.not-listed .arch {
  width: 54px;
  height: 54px;
  color: var(--muted-fg-2);
  opacity: .5;
  margin-bottom: 22px;
}

.not-listed h1 {
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 500;
  letter-spacing: -.4px;
  color: var(--fg);
  margin: 0 0 13px;
}

.not-listed p {
  font-size: 14px;
  line-height: 1.62;
  color: var(--muted-fg);
  margin: 0 0 11px;
  max-width: 44ch;
}

.not-listed .nl-sub { font-size: 13px; color: var(--muted-fg-2); margin-bottom: 26px; }
.not-listed .nl-sub a { color: var(--primary); }
.not-listed .button { min-width: 176px; }

@media (max-width: 560px) {
  .not-listed { margin: 34px auto 54px; }
  .not-listed h1 { font-size: 24px; }
}


/* ── souk's own stalls ────────────────────────────────────────────────────── */

.pair-badge.souk { color: var(--primary); border-color: rgba(255,138,61,.35); }

.curve-bar {
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,.07);
  overflow: hidden;
  margin: 3px 0 1px;
}

.curve-bar span {
  display: block;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, #C4531B, var(--primary));
  transition: width .4s ease;
}

.souk-card .token-details { gap: 4px; }

/* ── trading a stall ──────────────────────────────────────────────────────── */

.trade-card {
  max-width: 1472px;
  margin: 0 auto 20px;
  padding: 20px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
}

.trade-card h3 { font-size: 15px; font-weight: 600; margin: 0 0 6px; color: var(--fg); }

.trade-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 11px;
  background: rgba(255,255,255,.04);
  margin-bottom: 16px;
}

.trade-tab {
  padding: 7px 22px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted-fg);
  transition: background .18s ease, color .18s ease;
}

.trade-tab[aria-selected="true"] { background: var(--primary); color: var(--primary-fg); }
.trade-tab:not([aria-selected="true"]):hover { color: var(--fg); }

.trade-input { position: relative; display: flex; align-items: center; }
.trade-input .input { padding-right: 84px; font-size: 17px; height: 52px; font-family: var(--mono); }

.trade-unit {
  position: absolute;
  right: 14px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted-fg-2);
  pointer-events: none;
  max-width: 70px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trade-presets { display: flex; gap: 7px; margin: 10px 0 14px; flex-wrap: wrap; }

.preset {
  font-size: 12px;
  font-family: var(--mono);
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--muted-fg);
  transition: border-color .18s ease, color .18s ease;
}

.preset:hover { border-color: var(--border-hi); color: var(--fg); }

.trade-quote {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 13px 15px;
  border-radius: 11px;
  background: rgba(255,255,255,.025);
  border: 1px solid var(--border);
  margin-bottom: 14px;
}

.trade-quote .q-label { font-size: 12.5px; color: var(--muted-fg-2); }
.trade-quote .q-value { font-size: 15px; font-family: var(--mono); color: var(--fg); }

.trade-go { width: 100%; height: 48px; font-size: 14.5px; }
.trade-go:disabled { opacity: .6; cursor: default; }

.trade-note { font-size: 12px; color: var(--muted-fg-2); margin: 11px 0 0; text-align: center; }

.stall-story { font-size: 14px; line-height: 1.6; color: var(--muted-fg); margin: 0 0 12px; white-space: pre-wrap; }
.stall-links { display: flex; gap: 14px; }
.stall-links a { font-size: 13px; color: var(--primary); }

.cant-list { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }

.cant-list li {
  position: relative;
  padding-left: 20px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted-fg);
}

.cant-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #6FCF7F;
  font-size: 12px;
}

.field-hint { font-size: 11.5px; color: var(--muted-fg-2); margin: 7px 0 0; line-height: 1.5; }

/* holdings on /my-tokens/ */
.holding-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card);
  margin-bottom: 10px;
  transition: border-color .18s ease;
}

.holding-row:hover { border-color: var(--border-hi); }
.holding-row .h-art { width: 42px; height: 42px; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.holding-row .h-art img, .holding-row .h-art svg { width: 100%; height: 100%; object-fit: cover; }
.holding-row .h-name { font-size: 14px; font-weight: 500; color: var(--fg); }
.holding-row .h-sym { font-size: 12px; color: var(--muted-fg-2); font-family: var(--mono); }
.holding-row .h-right { margin-left: auto; text-align: right; }
.holding-row .h-amt { font-size: 13.5px; font-family: var(--mono); color: var(--fg); }
.holding-row .h-val { font-size: 11.5px; color: var(--muted-fg-2); }

@media (max-width: 560px) {
  .trade-card { padding: 16px; }
  .trade-tab { padding: 7px 16px; }
}

.mine-heading {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted-fg-2);
  margin: 26px 0 12px;
}

/* The curve is a shape, not a price history — it needs far less vertical room
   than a candlestick chart, and reads better wide and short. */
.chart-card.curve-mode .chart-wrap { height: 210px; }
@media (max-width: 560px) { .chart-card.curve-mode .chart-wrap { height: 170px; } }
