:root {
  --paper: #e8e5df;
  --paper-dot: #cfcac1;
  --card: #f6f4ef;
  --card-2: #efece6;
  --ink: #121212;
  --line: #d9d4cb;
  --muted: #6e6960;
  --orange: #ff4d0d;
  --orange-deep: #e83f00;
  --blue: #5b4cf5;
  --blue-deep: #4536d6;
  --up: #12994f;
  --down: #e5341c;
  --font-body: "DM Sans", Arial, sans-serif;
  --font-display: "Archivo", "Arial Black", sans-serif;
  --font-mono: "DM Mono", ui-monospace, Menlo, monospace;
  --r-card: 22px;
  --r-inner: 12px;
  --r-pill: 999px;
  --page-w: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--paper);
  background-image: radial-gradient(var(--paper-dot) 1.2px, transparent 1.3px);
  background-size: 14px 14px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }

.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.up { color: var(--up); }
.down { color: var(--down); }
.accent { color: var(--orange); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 16px;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.nav-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  max-width: var(--page-w);
  padding: 6px 6px 6px 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  box-shadow: 0 6px 24px rgba(20, 15, 5, .08);
  transition: max-width .3s ease, box-shadow .3s;
}
.site-header.scrolled .nav-pill { max-width: 860px; box-shadow: 0 10px 30px rgba(20, 15, 5, .14); }
.site-header.scrolled .brand-name { display: none; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 800; font-size: 17px; letter-spacing: -0.02em; }
.brand-mark { display: inline-flex; align-items: center; }
.brand-mark img { width: 42px; height: 26px; object-fit: contain; display: block; }
.brand-mark .mark-dot { fill: var(--card); }
.nav-sep { width: 1px; height: 22px; background: var(--line); margin: 0 8px; }
.main-nav { display: flex; align-items: center; gap: 2px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  border: 0; background: transparent;
  border-radius: var(--r-pill);
  font-size: 13.5px; font-weight: 500;
}
.nav-link:hover { background: var(--card-2); }
.nav-spacer { flex: 1; }
.dropdown { position: relative; }
.dropdown-list {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 170px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 6px;
  display: none;
  box-shadow: 0 12px 32px rgba(20, 15, 5, .14);
}
.dropdown.open .dropdown-list { display: block; }
.dropdown-list a { display: block; padding: 9px 12px; border-radius: 9px; font-size: 14px; }
.dropdown-list a:hover { background: var(--card-2); }
.dropdown-list a.active { background: var(--ink); color: var(--card); }
.socials { display: flex; align-items: center; gap: 2px; padding-right: 6px; margin-right: 6px; border-right: 1px solid var(--line); }
.icon-btn {
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
}
.icon-btn:hover { background: var(--card-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  background: var(--ink);
  color: var(--card);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform .1s, background .15s, color .15s, border-color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-deep); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--card); }
.btn-soft { background: var(--card-2); color: var(--ink); }
.btn-soft:hover { background: var(--line); }
.btn-block { width: 100%; padding: 12px 16px; }
.btn-primary.btn-block { font-size: 15px; }

/* ---------- Page ---------- */
.page {
  max-width: var(--page-w);
  margin: 0 auto;
  padding: 8px 16px 72px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  margin-bottom: 72px;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(56px, 8.6vw, 104px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  padding: 34px 0 30px;
  position: relative;
  z-index: 2;
}
.hero-title em { font-style: italic; font-weight: 800; color: var(--orange); }
.hero-art {
  position: relative;
  height: 420px;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 45% 60% at 18% 30%, var(--blue) 0%, transparent 70%),
    radial-gradient(ellipse 40% 55% at 62% 20%, var(--orange) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 85% 75%, var(--blue) 0%, transparent 70%),
    radial-gradient(ellipse 45% 50% at 40% 85%, var(--orange) 0%, transparent 70%),
    linear-gradient(120deg, var(--blue), var(--orange) 55%, var(--blue));
  animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift {
  from { background-position: 0 0, 0 0, 0 0, 0 0, 0 0; }
  to   { background-position: 40px -30px, -50px 30px, 30px 40px, -30px -40px, 0 0; }
}
.halftone {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, var(--paper) 0 2.6px, transparent 3.2px);
  background-size: 11px 11px;
  opacity: .7;
  -webkit-mask-image: radial-gradient(ellipse 55% 70% at 25% 40%, #000 0%, transparent 70%),
                      radial-gradient(ellipse 50% 60% at 80% 70%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 55% 70% at 25% 40%, #000 0%, transparent 70%),
              radial-gradient(ellipse 50% 60% at 80% 70%, #000 0%, transparent 70%);
}
.halftone.fine {
  background-image: radial-gradient(circle, var(--paper) 0 1.1px, transparent 1.6px);
  background-size: 6px 6px;
  background-position: 3px 3px;
  opacity: .45;
  -webkit-mask-image: none;
  mask-image: none;
}
.hero-panel {
  position: absolute;
  right: 0; bottom: 0;
  width: min(420px, 100%);
  background: var(--paper);
  padding: 22px 0 0 22px;
  border-top-left-radius: 28px;
  z-index: 2;
}
.hero-panel p { font-size: 15px; color: var(--ink); margin-bottom: 18px; max-width: 380px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
}

/* ---------- Cards ---------- */
.card {
  background: var(--card);
  border-radius: var(--r-card);
  padding: 22px;
  margin-bottom: 16px;
  box-shadow: 0 1px 0 rgba(20, 15, 5, .04);
}
.label {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--muted);
  padding: 5px 10px;
  border-radius: var(--r-pill);
  background: var(--card-2);
  margin-bottom: 16px;
}

/* ---------- Market picker ---------- */
.chips-scroll {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 14px;
}
.chip {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  background: transparent;
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
}
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); color: var(--card); border-color: var(--ink); }

.search-wrap { margin: 6px 0 14px; position: relative; }
.search-wrap::before {
  content: ""; position: absolute; left: 16px; top: 50%; width: 14px; height: 14px; transform: translateY(-50%);
  border: 2px solid var(--muted); border-radius: 50%; box-sizing: border-box;
}
.search-wrap::after {
  content: ""; position: absolute; left: 27px; top: 50%; width: 6px; height: 2px; background: var(--muted); transform: translateY(3px) rotate(45deg);
}
.search-wrap input {
  width: 100%;
  padding: 13px 16px 13px 40px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--paper);
  outline: none;
}
.search-wrap input:focus { border-color: var(--ink); }
.caption { margin-bottom: 12px; font-family: var(--font-mono); font-size: 12px; }

.asset-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  max-height: 320px;
  overflow-y: auto;
  padding-right: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.asset-grid::-webkit-scrollbar { width: 6px; }
.asset-grid::-webkit-scrollbar-thumb { background: var(--line); border-radius: 6px; }
.asset {
  text-align: left;
  padding: 13px 14px;
  border: 1.5px solid transparent;
  border-radius: 16px;
  background: var(--card-2);
  display: flex; flex-direction: column; gap: 7px;
  transition: background .12s, border-color .12s, transform .12s;
}
.asset:hover { border-color: var(--ink); transform: translateY(-1px); }
.asset.active { background: var(--orange); border-color: var(--orange); color: #fff; }
.asset.active .type, .asset.active .name { color: rgba(255,255,255,.8); }
.asset.active .chg { color: #fff; }
.asset .top, .asset .bottom { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.asset .sym { font-family: var(--font-display); font-weight: 800; font-size: 14px; letter-spacing: -0.01em; }
.asset .type { font-family: var(--font-mono); font-size: 10px; color: var(--muted); letter-spacing: .06em; }
.asset .name { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.asset .price { font-size: 14px; font-weight: 500; }
.asset .chg { font-size: 13px; font-family: var(--font-mono); }
.empty { grid-column: 1 / -1; padding: 24px 0; text-align: center; }

/* ---------- Trade layout ---------- */
.trade-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
  align-items: start;
}
.col-main .card:last-child, .col-side .card:last-child { margin-bottom: 0; }

.detail-card { background: var(--ink); color: var(--card); }
.detail-card .label { background: rgba(255,255,255,.1); color: rgba(255,255,255,.7); }
.detail-card .muted { color: rgba(255,255,255,.55); }
.detail-title { font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -0.02em; margin-bottom: 8px; }
.detail-price {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 56px;
  letter-spacing: -0.04em;
  line-height: 1;
  padding: 10px 0 14px;
}
.detail-meta { display: flex; align-items: center; gap: 12px; font-size: 14px; flex-wrap: wrap; font-family: var(--font-mono); }
.change-pill { font-size: 12px; padding: 5px 9px; border-radius: var(--r-pill); font-family: var(--font-mono); }
.change-pill.up { background: var(--up); color: #fff; }
.change-pill.down { background: var(--orange); color: #fff; }

.chart-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.chart-title { font-size: 14px; }
.chart-title strong { font-family: var(--font-display); font-weight: 800; }
.tf-group { display: inline-flex; gap: 2px; background: var(--card-2); padding: 4px; border-radius: var(--r-pill); }
.tf-group button {
  border: 0; background: transparent;
  padding: 6px 11px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--muted);
}
.tf-group button:hover { color: var(--ink); }
.tf-group button.active { background: var(--ink); color: var(--card); }
.chart-wrap { position: relative; height: 330px; margin: 0 -22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); }
.chart-wrap canvas { width: 100%; height: 100%; display: block; }
.chart-credit { margin-top: 14px; font-family: var(--font-mono); font-size: 11.5px; }

.list { display: flex; flex-direction: column; gap: 8px; }
.pos {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr auto;
  gap: 10px; align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--card-2);
  font-size: 13px;
}
.pos .k { display: block; font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); letter-spacing: .06em; margin-bottom: 3px; }
.pos .side { font-weight: 600; }
.pos .btn { padding: 7px 14px; font-size: 13px; }

/* ---------- Position form ---------- */
.segmented { display: flex; gap: 4px; background: var(--card-2); padding: 4px; border-radius: var(--r-pill); margin-bottom: 18px; }
.segmented button {
  flex: 1; border: 0; background: transparent;
  padding: 10px 8px; border-radius: var(--r-pill);
  font-weight: 600; color: var(--muted);
}
.segmented button.active.long { background: var(--up); color: #fff; }
.segmented button.active.short { background: var(--blue); color: #fff; }

.row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; margin: 10px 0 8px; }
.input-row { display: flex; gap: 8px; }
.input-row input {
  flex: 1; min-width: 0;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--paper);
  outline: none;
  font-family: var(--font-mono);
}
.input-row input:focus { border-color: var(--ink); }
.input-row .btn { padding: 8px 16px; }
.summary { margin: 18px 0 14px; padding: 12px 14px; background: var(--card-2); border-radius: 14px; }
.summary .row { margin: 5px 0; font-size: 13px; font-family: var(--font-mono); }
.summary .row .muted { font-family: var(--font-body); }
.position-form .btn-block { margin-bottom: 12px; }

input[type=range] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px;
  background: linear-gradient(90deg, var(--orange), var(--blue));
  border-radius: 3px;
  outline: none;
  margin: 8px 0 10px;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--ink);
  border: 4px solid var(--card);
  box-shadow: 0 0 0 1.5px var(--ink);
  cursor: pointer;
}
input[type=range]::-moz-range-thumb {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--ink);
  border: 3px solid var(--card);
  box-shadow: 0 0 0 1.5px var(--ink);
  cursor: pointer;
}

/* ---------- Account ---------- */
.acct-row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; margin-bottom: 8px; }
.acct-addr { font-family: var(--font-mono); font-size: 12.5px; background: var(--card-2); padding: 4px 9px; border-radius: var(--r-pill); }
.acct-bal { font-family: var(--font-display); font-weight: 900; font-size: 34px; letter-spacing: -0.03em; margin: 6px 0 14px; }
.acct-actions { display: flex; gap: 8px; }
.acct-actions .btn { flex: 1; padding: 10px 8px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--card);
  padding: 80px 0 36px;
  margin-top: 24px;
  border-top-left-radius: 36px;
  border-top-right-radius: 36px;
}
.footer-inner { max-width: var(--page-w); margin: 0 auto; padding: 0 16px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; margin-bottom: 72px; }
.footer-heading { font-family: var(--font-display); font-weight: 900; font-size: clamp(44px, 6.5vw, 80px); line-height: 0.95; letter-spacing: -0.045em; }
.footer-brand { width: 240px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.footer-brand .brand-mark .mark-dot { fill: var(--ink); }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,.65); }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 24px;
  margin-bottom: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: rgba(255,255,255,.8); }
.footer-col a:hover { color: var(--orange); }
.footer-label { font-family: var(--font-mono); color: rgba(255,255,255,.45); font-size: 11.5px; letter-spacing: .08em; margin-bottom: 6px; }

.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px 24px;
  justify-content: space-between; align-items: center;
  font-family: var(--font-mono);
  font-size: 11px; color: rgba(255,255,255,.45);
  letter-spacing: .04em;
}
.footer-bottom a:hover { color: var(--orange); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%);
  background: var(--ink); color: var(--card);
  padding: 12px 20px; border-radius: var(--r-pill);
  font-size: 14px; z-index: 100;
  border: 1.5px solid var(--orange);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  max-width: calc(100vw - 32px);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .trade-layout { grid-template-columns: 1fr; }
  .asset-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav, .nav-sep, .socials { display: none; }
}
@media (max-width: 640px) {
  .hero-art { height: 300px; }
  .hero-panel { position: static; width: 100%; padding: 18px 0 0; border-radius: 0; }
  .asset-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-price { font-size: 40px; }
  .footer-top { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .pos { grid-template-columns: 1fr 1fr; }
  .card { padding: 16px; }
  .chart-wrap { margin: 0 -16px; }
}

/* ---------- Products, feed badge, selects ---------- */
.detail-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.feed-badge {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em;
  padding: 5px 9px; border-radius: var(--r-pill);
  display: inline-flex; align-items: center; gap: 6px;
}
.feed-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.feed-badge.live { background: rgba(18,153,79,.18); color: #3ddc84; }
.feed-badge.live::before { animation: pulse 1.6s ease-in-out infinite; }
.feed-badge.sim { background: rgba(255,255,255,.08); color: rgba(255,255,255,.6); }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.field { margin-bottom: 6px; }
.field[hidden] { display: none; }
.select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: 13px;
  outline: none;
  appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.select:focus { border-color: var(--ink); }
.tag {
  display: inline-block;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em;
  padding: 2px 7px; border-radius: var(--r-pill);
  background: var(--ink); color: var(--card);
  vertical-align: middle;
}
.acct-row .tag { background: var(--orange); color: #fff; }

/* ---------- Account: deposit / withdraw ---------- */
.acct-section { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.acct-section .k { display: block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; }
.acct-form { display: flex; gap: 8px; }
.acct-form input { flex: 1; min-width: 0; padding: 9px 12px; border: 1.5px solid var(--line); border-radius: var(--r-pill); background: var(--paper); font-family: var(--font-mono); font-size: 13px; outline: none; }
.acct-form input:focus { border-color: var(--ink); }
.acct-form .btn { padding: 8px 14px; font-size: 13px; }
.acct-list { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; }
.acct-list .item { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.acct-list a { font-family: var(--font-mono); font-size: 11.5px; color: var(--blue); text-decoration: underline; }
.acct-list .status { font-family: var(--font-mono); font-size: 10.5px; padding: 2px 7px; border-radius: var(--r-pill); background: var(--card-2); }
.acct-list .status.sent { background: rgba(18,153,79,.15); color: var(--up); }
.notice { font-size: 12.5px; padding: 10px 12px; border-radius: 12px; background: rgba(255,77,13,.1); color: var(--orange-deep); margin-bottom: 12px; }
.mono { font-family: var(--font-mono); }

/* ---------- Country flags ---------- */
.chip img.flag, .label img.flag { width: 20px; height: 15px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.08); flex: 0 0 auto; }
.label img.flag { margin-right: 4px; }
.detail-card .label img.flag { box-shadow: 0 0 0 1px rgba(255,255,255,.2); }

/* ---------- Coming soon items ---------- */
.dropdown-list .soon { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 12px; font-size: 14px; color: var(--muted); cursor: not-allowed; }
.soon em { font-style: normal; font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; padding: 3px 7px; border-radius: var(--r-pill); background: var(--card-2); color: var(--muted); }
.footer-col .soon { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.45); }
.footer-col .soon em { background: rgba(255,255,255,.1); color: rgba(255,255,255,.55); }

/* ---------- $BOOK contract bar ---------- */
.token-bar-wrap { display: flex; justify-content: center; padding: 0 16px; margin-top: -4px; }
.token-bar {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 8px;
  background: var(--ink); color: var(--card);
  border: 0; border-radius: var(--r-pill);
  font-size: 13px; cursor: pointer;
  box-shadow: 0 6px 20px rgba(20, 15, 5, .14);
  transition: transform .1s, background .15s;
  max-width: 100%;
}
.token-bar:hover { background: #222; transform: translateY(-1px); }
.token-bar.copied { background: var(--up); }
.token-tag { font-family: var(--font-display); font-weight: 800; font-size: 12px; letter-spacing: .02em; padding: 4px 9px; border-radius: var(--r-pill); background: var(--orange); color: #fff; }
.token-label { color: rgba(255,255,255,.55); font-size: 12px; }
.token-addr { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.token-copy { color: rgba(255,255,255,.6); flex: 0 0 auto; }
@media (max-width: 640px) { .token-addr { max-width: 150px; } }
