/* ============================================================
   ZEC.FUN — 1:1 odin.fun clone, retargeted to Zcash.
   Every value here is a computed-style measurement taken from
   odin.fun at 2195px viewport (see scratchpad odin specs):
   bg #111117, nav h64 fs16/400, chips fs16/700 br8 with accent
   borders, table th fs12/700 white p1x8, row h57, avatar 36 br4,
   table green #00a329 / red #c40303, trades green #22c55e,
   sidebar cards border #2b2d3b br8 p10 labels fs10, quick-buy
   blue #2b62e3, segmented active #111117 on light track.
   ============================================================ */

:root {
  --bg:        #111117;
  --line:      #27272a;   /* table hairlines */
  --card-line: #2b2d3b;   /* sidebar card borders */
  --fill:      #373748;   /* inputs */
  --fill-2:    #3c3c4e;   /* buttons/chips */

  --text:      #fafafa;
  --white:     #ffffff;
  --muted:     #a8aab8;
  --inactive:  #a1a1aa;

  --cyan:      #00ffff;
  --on-cyan:   #18181b;
  --blue:      #2b62e3;
  --tbl-green: rgb(0, 163, 41);
  --tbl-red:   rgb(196, 3, 3);
  --tr-green:  #22c55e;
  --tr-red:    #ef4444;
  --gold:      #f4b728;
  --yellow:    #efd561;

  --acc-last:  #ffaf1a;
  --acc-asc:   #00ffff;
  --acc-koth:  #efd561;
  --acc-trend: #e13a52;

  --up:        #089981;
  --dn:        #f23645;
  --grid:      #1e222d;
  --axis:      #787b86;

  --sans: 'Work Sans', ui-sans-serif, system-ui, sans-serif;
  --pixel: 'Silkscreen', 'Work Sans', monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; padding: 0; }
button:disabled { cursor: not-allowed; }
svg { display: block; }

/* ---------- top nav (h64) ---------- */
.of-nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center;
  height: 64px; padding: 0 16px 0 12px;
  background: var(--bg);
}
.of-logo {
  font-family: var(--pixel);
  font-size: 19px; font-weight: 700; line-height: 1;
  color: var(--cyan); letter-spacing: 0;
  white-space: nowrap; margin-right: 44px;
}
.of-nav-links { display: flex; align-items: center; gap: 44px; }
.of-nav-links a {
  font-size: 16px; font-weight: 400; color: var(--white);
  text-transform: uppercase; line-height: 1;
  padding: 8px 0 6px; border-bottom: 2px solid transparent;
}
.of-nav-links a:hover { color: var(--cyan); }
.of-nav-links a.active { border-bottom-color: var(--cyan); }
.of-nav-right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.of-nav-ic { color: var(--white); padding: 4px; }
.of-nav-ic:hover { color: var(--cyan); }
.of-nav-ic svg { width: 24px; height: 24px; }
.of-legacy {
  font-size: 13px; color: var(--muted);
  padding: 8px 12px; border: 1px solid var(--line); border-radius: 6px;
}
.of-legacy:hover { color: var(--white); border-color: var(--fill-2); }
.of-connect {
  border-radius: 6px;
  background: var(--cyan); color: var(--on-cyan);
  font-size: 14px; font-weight: 700; padding: 8px 16px;
}
.of-connect:hover { filter: brightness(1.08); }

/* ---------- filter bar ---------- */
.of-bar {
  display: flex; align-items: center; gap: 16px;
  padding: 26px 16px 16px;
}
.of-chip-filter {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 9px;
  background: var(--fill-2); border-radius: 6px;
  font-size: 14px; font-weight: 700; color: var(--text);
}
.of-chip-filter svg { width: 16px; height: 16px; }
.of-chips { display: flex; align-items: center; gap: 16px; }
.of-chip {
  display: inline-flex; align-items: center; gap: 4px;
  height: 40px; padding: 8px;
  border: 1px solid var(--line); border-radius: 8px;
  font-size: 16px; font-weight: 700; color: var(--text);
  background: transparent;
}
.of-chip svg { width: 24px; height: 24px; }
.of-chip[data-view="last"]      { border-color: var(--acc-last); }
.of-chip[data-view="ascended"]  { border-color: var(--acc-asc); }
.of-chip[data-view="king"]      { border-color: var(--acc-koth); }
.of-chip[data-view="trending"]  { border-color: var(--acc-trend); }
.of-chip:hover { background: rgba(55,55,72,.35); }
.of-chip.active { background: rgba(55,55,72,.35); }
.of-chip-badge {
  background: var(--bg); border-radius: 4px;
  font-size: 11px; font-weight: 700; padding: 2px 5px; color: var(--white);
}

.of-bar-right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.of-quickbar {
  display: flex; align-items: center; gap: 4px;
  height: 52px; padding: 6px 6px 6px 12px;
  background: #000; border-radius: 8px;
}
.of-quickbar-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--white); margin-right: 6px;
}
.of-quickbar-label svg { width: 14px; height: 14px; }
.of-qb-amt {
  display: flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 12px;
  background: var(--fill); border-radius: 8px;
}
.of-qb-amt .of-qty-btn { font-size: 16px; color: var(--muted); padding: 0 2px; }
.of-qb-amt .of-qty-btn:hover { color: var(--white); }
.of-qb-amt span.qty { font-size: 14px; font-weight: 700; min-width: 18px; text-align: center; }

.of-search {
  display: flex; align-items: center; gap: 8px;
  width: 312px; height: 40px; padding: 0 12px;
  background: var(--fill); border: 1px solid var(--line); border-radius: 6px;
}
.of-search svg { width: 16px; height: 16px; color: var(--muted); flex: 0 0 auto; }
.of-search input {
  border: none; background: transparent; outline: none;
  color: var(--text); font-family: inherit; font-size: 14px; width: 100%;
}
.of-search input::placeholder { color: var(--muted); }

/* ---------- z icon (zcash stand-in for odin's ₿ badge) ---------- */
.z-ic {
  display: inline-grid; place-items: center;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--gold); color: #1a1200;
  font-size: 10px; font-weight: 800; line-height: 1;
  flex: 0 0 auto;
}
.z-ic.sm { width: 14px; height: 14px; font-size: 9px; }
.z-ic.lg { width: 24px; height: 24px; font-size: 14px; }

/* ---------- tokens table ---------- */
.of-table-wrap { padding: 0 16px 40px; overflow-x: auto; }
.of-table { width: 100%; border-collapse: collapse; min-width: 1500px; }
.of-table th {
  font-size: 12px; font-weight: 700; color: var(--text);
  text-align: right; padding: 12px 8px; white-space: nowrap;
  user-select: none;
}
.of-table th.sortable { cursor: pointer; }
.of-table th.sortable:hover, .of-table th.sorted { color: var(--cyan); }
.of-table th:first-child { text-align: left; }
.of-sort-ic { font-size: 10px; opacity: .6; margin-left: 2px; }

/* column proportions measured off odin (of 2149): token 346, age 75,
   mktcap 150, holders 135, pcts 105ea, vols 216ea, ascended 264, qb 249 */
.of-table col.c-token { width: 17%; }
.of-table col.c-age { width: 4%; }
.of-table col.c-mcap { width: 7%; }
.of-table col.c-holders { width: 6.5%; }
.of-table col.c-pct { width: 5%; }
.of-table col.c-vol { width: 10%; }
.of-table col.c-asc { width: 12.5%; }
.of-table col.c-qb { width: 11.5%; }

.of-table td {
  padding: 8px; text-align: right; white-space: nowrap;
  border-bottom: 1px solid var(--line);
  height: 57px; font-size: 14px;
}
.of-table td:first-child { text-align: left; }
.of-table tbody tr { cursor: pointer; }
.of-table tbody tr:hover { background: rgba(55,55,72,.25); }

.of-tk { display: flex; align-items: center; gap: 14px; }
.of-tk-img {
  width: 36px; height: 36px; border-radius: 4px; flex: 0 0 36px;
  display: grid; place-items: center;
  background: var(--fill-2); color: var(--gold);
  font-weight: 700; font-size: 13px;
}
.of-tk-name { font-weight: 700; font-size: 14px; color: var(--text); }
.of-tk-sub {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; color: var(--muted); margin-top: 2px;
}
.of-tk-sub svg { width: 12px; height: 12px; }

.of-cell-main { font-weight: 400; color: var(--text); }
.of-cell-main.bold { font-weight: 700; }
.of-cell-main .z-ic { display: inline-grid; vertical-align: -3px; margin-right: 5px; }
.of-cell-sub { font-size: 12px; font-weight: 400; color: var(--muted); margin-top: 2px; }
.of-pos { color: var(--tbl-green); font-weight: 700; }
.of-neg { color: var(--tbl-red); font-weight: 700; }
.of-zero { color: var(--muted); opacity: .55; font-weight: 400; }

.of-asc { display: inline-flex; align-items: center; gap: 10px; }
.of-asc-track {
  width: 198px; height: 5px; border-radius: 9999px;
  background: rgba(250,250,250,.2); overflow: hidden;
}
.of-asc-fill { height: 100%; background: var(--cyan); }
.of-asc-pct { font-size: 14px; }

.of-qb {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 36px; padding: 8px 16px;
  border-radius: 6px; background: var(--blue); color: var(--text);
  font-size: 14px; font-weight: 700; white-space: nowrap;
}
.of-qb svg { width: 16px; height: 16px; }
.of-qb:hover { filter: brightness(1.12); }
.of-qb:disabled { background: var(--fill-2); color: var(--inactive); filter: none; }

.of-empty { padding: 60px 20px; text-align: center; color: var(--muted); font-size: 14px; }

/* ---------- coin page ---------- */
.of-coin { display: grid; grid-template-columns: minmax(0,1fr) 380px; }
.of-coin-main { min-width: 0; padding: 14px 16px 40px 40px; }
.of-coin-side { padding: 14px 16px 40px 0; display: flex; flex-direction: column; gap: 16px; }

.of-coin-head { display: flex; align-items: baseline; gap: 10px; padding: 8px 0 12px; }
.of-coin-head h1 { margin: 0; font-size: 20px; font-weight: 700; color: var(--white); }
.of-coin-head .tick { color: var(--muted); font-size: 18px; font-weight: 400; }
.of-coin-head-btns { margin-left: auto; display: flex; gap: 8px; }
.of-coin-head-btns button {
  display: grid; place-items: center; width: 32px; height: 32px;
  border-radius: 6px; background: var(--fill-2); color: var(--white);
}
.of-coin-head-btns svg { width: 16px; height: 16px; }

/* ---------- chart (TradingView-style emulation) ---------- */
.of-chartbox { background: var(--bg); border: 1px solid var(--line); border-radius: 2px; overflow: hidden; }
.of-chart-toolbar {
  display: flex; align-items: center; gap: 2px;
  padding: 4px 8px; border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.of-tf {
  font-size: 13px; font-weight: 500; color: var(--muted);
  padding: 5px 7px; border-radius: 4px;
}
.of-tf:hover { color: var(--white); background: var(--fill-2); }
.of-tf.active { color: var(--cyan); }
.of-tool-sep { width: 1px; height: 20px; background: var(--line); margin: 0 6px; }
.of-toggle {
  font-size: 13px; font-weight: 500; color: var(--muted);
  padding: 5px 7px; border-radius: 4px;
}
.of-toggle:hover { color: var(--white); }
.of-toggle.active { color: var(--cyan); font-weight: 600; }

.of-chart-body { display: flex; }
.of-draw-rail {
  flex: 0 0 44px; border-right: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 8px 0;
}
.of-draw-rail button {
  display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 4px; color: var(--axis);
}
.of-draw-rail button:hover { background: var(--fill-2); color: var(--white); }
.of-draw-rail svg { width: 17px; height: 17px; }
.of-chart-canvas-wrap { position: relative; flex: 1; height: 430px; min-width: 0; }
.of-chart-canvas-wrap canvas { display: block; width: 100%; height: 100%; }
.of-chart-empty {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--axis); font-size: 13px; pointer-events: none;
}
.of-chart-bottom {
  display: flex; align-items: center;
  border-top: 1px solid var(--line);
  padding: 3px 8px; color: var(--axis); font-size: 12px;
}
.of-chart-bottom .rng { display: flex; gap: 2px; }
.of-chart-bottom .rng button { font-size: 12px; color: var(--axis); padding: 2px 6px; border-radius: 3px; }
.of-chart-bottom .rng button:hover { color: var(--white); background: var(--fill-2); }
.of-chart-bottom .rt { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.of-chart-bottom .chipauto { background: var(--fill-2); color: var(--white); border-radius: 3px; padding: 2px 6px; }

/* ---------- trades ---------- */
.of-trades { margin-top: 22px; }
.of-trades-title {
  display: inline-block;
  font-size: 14px; font-weight: 700; text-transform: uppercase;
  color: var(--white); padding-bottom: 8px; margin-bottom: 2px;
  border-bottom: 2px solid var(--cyan);
}
.of-trades table { width: 100%; border-collapse: collapse; }
.of-trades th {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  color: var(--text); text-align: left; padding: 14px 8px 10px;
}
.of-trades col.t-date { width: 12%; } .of-trades col.t-type { width: 8%; }
.of-trades col.t-btc { width: 17%; } .of-trades col.t-usd { width: 12%; }
.of-trades col.t-amt { width: 9%; } .of-trades col.t-price { width: 13%; }
.of-trades col.t-maker { width: 29%; }
.of-trades td {
  padding: 9px 8px; font-size: 14px; font-weight: 400; text-align: left;
  border-top: 1px solid var(--line); white-space: nowrap; height: 39px;
}
.of-t-buy { color: var(--tr-green); }
.of-t-sell { color: var(--tr-red); }
.of-t-maker { color: var(--cyan); overflow: hidden; text-overflow: ellipsis; }
.of-t-date { color: var(--white); display: inline-flex; align-items: center; gap: 8px; }
.of-t-date svg { width: 14px; height: 14px; color: var(--muted); }

.of-pager {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 0; font-size: 14px; color: var(--muted);
  flex-wrap: wrap;
}
.of-pager .grow { flex: 1; }
.of-pager select {
  background: var(--fill); color: var(--white);
  border: 1px solid var(--line); border-radius: 6px;
  font-family: inherit; font-size: 13px; padding: 5px 8px;
}
.of-pg {
  min-width: 30px; height: 30px; border-radius: 4px;
  font-size: 13px; font-weight: 600; color: var(--muted);
}
.of-pg:hover { color: var(--white); }
.of-pg.cur { background: var(--fill-2); color: var(--white); }
.of-pg:disabled { opacity: .35; }

/* ---------- sidebar ---------- */
.of-card {
  border: 1px solid var(--card-line); border-radius: 8px;
  padding: 10px;
}
.of-about { display: flex; gap: 12px; }
.of-about-img {
  width: 110px; height: 110px; border-radius: 8px; flex: 0 0 110px;
  display: grid; place-items: center;
  background: var(--fill-2); color: var(--gold);
  font-weight: 800; font-size: 34px;
}
.of-about h2 { margin: 0 0 8px; font-size: 16px; font-weight: 700; color: var(--white); }
.of-about p { margin: 0; font-size: 14px; line-height: 20px; color: var(--white); font-weight: 400; }

.of-idrow {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--card-line); border-radius: 8px;
  padding: 10px 10px; min-height: 45px;
}
.of-idrow .lbl {
  font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); font-weight: 400; flex: 0 0 auto;
}
.of-idrow button {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--cyan); font-size: 15px; font-weight: 600;
  overflow: hidden; white-space: nowrap;
}
.of-idrow svg { width: 15px; height: 15px; flex: 0 0 auto; }

.of-statgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.of-statgrid.c3 { grid-template-columns: 1fr 1fr 1fr; }
.of-stat {
  border: 1px solid var(--card-line); border-radius: 8px;
  padding: 10px; text-align: center;
}
.of-stat .lbl {
  font-size: 10px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 3px;
}
.of-stat .val {
  font-size: 14px; font-weight: 700; color: var(--text);
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.of-stat .val.big { font-size: 16px; }
.of-stat .sub { font-size: 12px; font-weight: 400; color: var(--muted); margin-top: 3px; }
.of-stat .sub .g { color: var(--tbl-green); }
.of-stat .sub .r { color: var(--tbl-red); }

/* 4-cell pct strip: one card, internal dividers */
.of-pctstrip {
  display: grid; grid-template-columns: repeat(4,1fr);
  border: 1px solid var(--card-line); border-radius: 8px;
  height: 57px; align-items: center;
}
.of-pctstrip > div { text-align: center; border-left: 1px solid var(--card-line); padding: 4px 0; }
.of-pctstrip > div:first-child { border-left: none; }
.of-pctstrip .lbl { font-size: 10px; color: var(--muted); margin-bottom: 2px; }
.of-pctstrip .val { font-size: 16px; font-weight: 700; }
.of-pctstrip .val.of-zero { font-size: 16px; }

/* ---------- trade panel ---------- */
.of-panel-tabs { display: flex; gap: 24px; }
.of-panel-tab {
  font-size: 14px; font-weight: 700; text-transform: uppercase;
  color: var(--white); padding: 8px 0; letter-spacing: .04em;
  border-bottom: 2px solid transparent;
}
.of-panel-tab.active { border-bottom-color: var(--cyan); }
.of-panel-tab:disabled { color: var(--inactive); }

.of-trade { background: #000; border-radius: 12px; padding: 12px; margin-top: 4px; }
.of-side-toggle {
  display: grid; grid-template-columns: 1fr 1fr;
  background: #2c2c38; border-radius: 8px; padding: 4px;
}
.of-side-btn {
  height: 28px; border-radius: 6px;
  font-size: 14px; font-weight: 500; color: var(--inactive);
  padding: 4px 12px;
}
.of-side-btn.active { background: var(--bg); color: var(--white); font-weight: 700; }

.of-balrow {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 2px 8px; font-size: 14px;
}
.of-balrow svg { width: 18px; height: 18px; color: var(--white); }
.of-balrow .bal { font-weight: 600; text-decoration: underline; }
.of-balrow .usd { margin-left: auto; color: var(--inactive); }

.of-amt {
  display: flex; align-items: center; gap: 8px;
  height: 40px; padding: 8px 12px 8px 16px;
  background: var(--fill); border-radius: 6px;
}
.of-amt input {
  flex: 1; min-width: 0; border: none; background: transparent; outline: none;
  color: var(--text); font-family: inherit; font-size: 18px; font-weight: 400;
}
.of-amt input::placeholder { color: var(--muted); opacity: .6; }
.of-amt .unit { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; color: var(--white); }
.of-amt input::-webkit-outer-spin-button, .of-amt input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.of-amt input[type=number] { -moz-appearance: textfield; appearance: textfield; }

.of-presets { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-top: 8px; }
.of-preset {
  height: 36px; border-radius: 6px; background: var(--fill-2); color: var(--text);
  font-size: 14px; font-weight: 700; padding: 12px; line-height: 0;
}
.of-preset:hover { filter: brightness(1.15); }

.of-trade-info {
  margin-top: 12px; border: 1px solid var(--card-line); border-radius: 8px;
  padding: 12px;
}
.of-trade-info > div {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 30px; font-size: 14px;
}
.of-trade-info .k { color: var(--white); }
.of-trade-info .v { color: var(--white); font-weight: 400; }
.of-badge-health {
  background: var(--yellow); color: var(--on-cyan);
  font-size: 12px; font-weight: 700; letter-spacing: .02em;
  padding: 3px 10px; border-radius: 9999px;
}
.of-cta {
  width: 100%; margin-top: 12px; height: 40px;
  border-radius: 6px; background: var(--cyan); color: var(--on-cyan);
  font-size: 14px; font-weight: 700;
}
.of-cta:hover { filter: brightness(1.08); }
.of-cta:disabled { background: var(--fill-2); color: var(--inactive); filter: none; }
.of-trade-note { margin: 10px 0 0; font-size: 12px; line-height: 1.5; color: var(--muted); }
.of-trade-note a { color: var(--cyan); }

/* ---------- holders ---------- */
.of-holders h3 { margin: 0 0 6px; font-size: 16px; font-weight: 700; color: var(--white); }
.of-holder-row {
  display: flex; align-items: center; gap: 8px;
  min-height: 30px; font-size: 14px;
}
.of-holder-row .rank { color: var(--muted); min-width: 24px; }
.of-holder-row .who { color: var(--cyan); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.of-holder-row .tag { color: var(--muted); font-size: 13px; }
.of-holder-row .pct { margin-left: auto; color: var(--white); }
.of-holder-pager { display: flex; justify-content: center; gap: 4px; padding-top: 8px; }

/* ---------- launch page ---------- */
.of-launch { max-width: 560px; margin: 0 auto; padding: 30px 16px 60px; }
.of-launch h1 { font-size: 20px; font-weight: 700; margin: 0 0 4px; }
.of-launch .sub { color: var(--muted); font-size: 14px; margin: 0 0 24px; }
.of-field { margin-bottom: 14px; }
.of-field label {
  display: block; font-size: 10px; font-weight: 400; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 6px;
}
.of-field input {
  width: 100%; height: 40px; background: var(--fill); border: none;
  border-radius: 6px; color: var(--text); font-family: inherit;
  font-size: 14px; padding: 0 12px; outline: none;
}
.of-field input:focus { outline: 1px solid var(--cyan); }
.of-field .hint { font-size: 12px; color: var(--muted); margin-top: 4px; }
.of-field .err { font-size: 12px; color: var(--tr-red); margin-top: 4px; }
.of-frow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.of-raise {
  border: 1px solid var(--card-line); border-radius: 8px;
  padding: 12px; margin: 18px 0; font-size: 14px;
}
.of-raise .big { font-size: 17px; font-weight: 700; color: var(--cyan); }

/* ---------- misc ---------- */
.of-missing { text-align: center; padding: 90px 20px; }
.of-missing h2 { margin: 0 0 8px; font-size: 20px; }
.of-missing p { margin: 0 0 20px; color: var(--muted); font-size: 14px; }
.of-missing a {
  display: inline-block; background: var(--cyan); color: var(--on-cyan);
  border-radius: 6px; font-weight: 700; font-size: 14px; padding: 9px 16px;
}

@media (max-width: 1100px) {
  .of-coin { grid-template-columns: 1fr; }
  .of-coin-main { padding: 14px 16px 10px; }
  .of-coin-side { padding: 14px 16px 40px; }
  .of-draw-rail { display: none; }
}
@media (max-width: 760px) {
  .of-nav { padding: 0 12px; }
  .of-nav-links, .of-quickbar { display: none; }
  .of-bar { flex-wrap: wrap; gap: 10px; }
  .of-search { width: 100%; }
  .of-chart-canvas-wrap { height: 300px; }
}

/* Non-affiliation notice. Deliberately quiet — it is a legal clarification,
   not a message anyone came here to read, so it sits below the fold at the
   smallest legible size and never competes with the token table. */
.of-foot {
  border-top: 1px solid var(--line);
  margin-top: 32px;
  padding: 18px 20px 28px;
  text-align: center;
}
.of-foot span {
  font-size: 11px;
  line-height: 1.6;
  color: var(--inactive);
  max-width: 640px;
  display: inline-block;
}
