/* NIR Markets: warm night theme by default, white day theme with black buttons. */
:root {
  --bg: #0b0907; --panel: #15110d; --panel2: #1b1611; --line: #ffffff17; --text: #f4efe8; --muted: #9a8f82;
  --accent: #f7931a; --accent2: #ffb347; --gold: #f5c45e; --up: #22c55e; --down: #f0525f;
  --btn: linear-gradient(135deg, #f7931a, #ffb347); --btn-text: #1a1206; --soft: #f7931a1a;
  color-scheme: dark; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", Inter, "Segoe UI", sans-serif;
}
:root[data-theme="light"] {
  --bg: #ffffff; --panel: #ffffff; --panel2: #ffffff; --line: #1a14101a; --text: #14110d; --muted: #6b645b;
  --accent: #e8830c; --accent2: #f7931a; --gold: #c26a00; --up: #15803d; --down: #dc2626;
  --btn: #111111; --btn-text: #ffffff; --soft: #f7931a14; color-scheme: light;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #ffffff; --panel: #ffffff; --panel2: #ffffff; --line: #1a14101a; --text: #14110d; --muted: #6b645b;
    --accent: #e8830c; --accent2: #f7931a; --gold: #c26a00; --up: #15803d; --down: #dc2626;
    --btn: #111111; --btn-text: #ffffff; --soft: #f7931a14; color-scheme: light;
  }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 15px; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }

.nirbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; padding: 9px max(16px, calc((100% - 1440px) / 2));
  border-bottom: 1px solid #f7931a33; background: linear-gradient(90deg, #f7931a1f, #f5c45e0f 60%, transparent); font-size: 13px; color: var(--muted); }
.nirbar b { color: var(--accent); }
.nirbar .cta { margin-left: auto; padding: 7px 15px; border-radius: 999px; background: var(--btn); color: var(--btn-text); font-weight: 800; }

.top { display: flex; align-items: center; gap: 26px; padding: 14px max(16px, calc((100% - 1440px) / 2)); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 850; letter-spacing: 0.06em; }
.brand small { padding: 2px 6px; border: 1px solid #f5c45e66; border-radius: 6px; color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: 0.14em; }
.top nav { display: flex; gap: 22px; color: var(--muted); font-weight: 650; }
.top nav a:hover { color: var(--text); }
.search { width: 280px; margin-left: auto; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.search-wrap { position: relative; margin-left: auto; }
.suggest { position: absolute; top: calc(100% + 6px); right: 0; z-index: 30; width: 360px; max-height: 70vh; padding: 6px; overflow-y: auto;
  border: 1px solid var(--line); border-radius: 16px; background: var(--panel); box-shadow: 0 18px 50px #0006; }
.suggest small { display: block; padding: 8px 10px 4px; color: var(--muted); font-size: 12px; font-weight: 700; }
.suggest a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; font-size: 14px; }
.suggest a:hover, .suggest a.on { background: var(--soft); }
.suggest a b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suggest a span { color: var(--muted); font-size: 12px; }
.suggest a em { margin-left: auto; color: var(--muted); font-size: 12px; font-style: normal; }
.suggest p { margin: 0; padding: 14px 10px; color: var(--muted); font-size: 14px; }
.search:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.pill { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; }

.wrap { max-width: 1440px; margin: 0 auto; padding: 22px 16px 40px; }
.cards { display: grid; grid-template-columns: 1fr 1fr 1fr 1.25fr; gap: 16px; }
.card { padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(160deg, var(--panel2), var(--panel)); }
:root[data-theme="light"] .card { box-shadow: 0 6px 24px #3a2a1012; }
.card h2 { margin: 0 0 12px; font-size: 16px; }
.mini { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mini > div { padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: color-mix(in srgb, var(--text) 3%, transparent); }
.mini small { display: block; color: var(--muted); font-size: 12px; }
.mini b { display: block; margin-top: 4px; font-size: 18px; white-space: nowrap; }
.mini em { font-style: normal; font-size: 12px; }
.gauge { text-align: center; }
.gauge b { margin: 0; font-size: 32px; }
.gauge span { display: block; color: var(--gold); font-size: 13px; font-weight: 700; }
#fg-dot { fill: var(--text); }
.list ol { margin: 0; padding: 0; list-style: none; }
.list li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.list li a { display: flex; align-items: center; gap: 10px; }
.list li a:hover b { color: var(--accent); }
.list li:last-child { border-bottom: 0; }
.list .n { width: 14px; color: var(--muted); }
.list b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brief { border-color: #f7931a55; background: radial-gradient(circle at 90% 0, #f7931a24, transparent 55%), linear-gradient(160deg, var(--panel2), var(--panel)); }
.brief .tag { display: inline-block; margin-bottom: 10px; padding: 3px 9px; border-radius: 999px; background: #f7931a22; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: 0.08em; }
.brief p { margin: 0 0 10px; font-size: 14px; line-height: 1.6; }
.brief small { color: var(--muted); font-size: 12px; }

.logo { display: inline-grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: #f7931a33; color: var(--text); font-size: 11px; font-weight: 900; object-fit: cover; }
.up { color: var(--up); } .down { color: var(--down); } .flat { color: var(--muted); } .gold { color: var(--gold); }

.nir-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 16px; padding: 9px 14px;
  border: 1px solid #f7931a40; border-radius: 14px; background: linear-gradient(90deg, #f7931a1c, transparent 75%); font-size: 13px; }
.nir-strip > span:first-of-type { color: var(--muted); }
.nir-strip .act { margin-left: auto; padding: 5px 12px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.tabs button, .tabs a { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); font-weight: 650; cursor: pointer; }
.tabs button.on, .tabs a.on { border-color: transparent; background: var(--btn); color: var(--btn-text); }

.table-wrap { overflow-x: auto; }
table { width: 100%; margin-top: 12px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th { padding: 12px 10px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; font-weight: 600; text-align: right; white-space: nowrap; }
td { padding: 13px 10px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
th.left, td.left { text-align: left; }
tbody tr.coin { cursor: pointer; }
tbody tr.coin:hover { background: var(--soft); }
.coin-cell { display: flex; align-items: center; gap: 10px; }
.coin-cell span { color: var(--muted); font-size: 13px; }
a.coin-cell:hover b { color: var(--accent); }
.star { width: 28px; color: var(--muted); text-align: center; cursor: pointer; }
.star.on { color: var(--gold); }
.rank { width: 34px; color: var(--muted); text-align: center; }
.spark { display: block; width: 120px; height: 38px; margin-left: auto; }
.act { display: inline-block; padding: 7px 13px; border: 0; border-radius: 10px; background: var(--btn); color: var(--btn-text); font-size: 12px; font-weight: 800; cursor: pointer; }
.act.ghost { border: 1px solid var(--line); background: transparent; color: var(--accent); }
:root[data-theme="light"] .act.ghost { border-color: #111; color: #111; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .act.ghost { border-color: #111; color: #111; } }
tr.chart td { padding: 0 10px 16px; }
.chart-box { height: 420px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; }
.status { color: var(--muted); text-align: center; }

/* A coin's own page (/coin/<id>). */
.search-form { display: contents; }
.crumbs { margin-bottom: 14px; color: var(--muted); font-size: 13px; }
.crumbs a:hover { color: var(--text); }
.coin-page { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 22px; align-items: start; }
.side, .coin-main { display: grid; gap: 16px; min-width: 0; }
.coin-main .tabs { margin: 0; }
.coin-head { display: flex; align-items: center; gap: 10px; }
.coin-head .logo { width: 40px; height: 40px; font-size: 18px; }
.coin-head h1 { margin: 0; overflow: hidden; font-size: 26px; text-overflow: ellipsis; white-space: nowrap; }
.coin-head .sym { color: var(--muted); font-weight: 700; }
.badge { padding: 3px 8px; border-radius: 8px; background: var(--soft); color: var(--accent); font-size: 12px; font-weight: 800; }
.watch { display: grid; place-items: center; flex: none; width: 40px; height: 40px; margin-left: auto; border: 1px solid var(--line); border-radius: 12px;
  background: transparent; color: var(--muted); font-size: 21px; cursor: pointer; }
.watch.on { color: var(--gold); }
.big-price { margin: 14px 0 6px; font-size: 38px; font-weight: 850; font-variant-numeric: tabular-nums; }
.changes { display: flex; flex-wrap: wrap; gap: 14px; font-size: 14px; }
.changes small { color: var(--muted); }
.day-range { margin-top: 14px; color: var(--muted); font-size: 12px; }
.bar { height: 6px; margin: 6px 0; overflow: hidden; border-radius: 9px; background: var(--line); }
.bar i { display: block; height: 100%; border-radius: 9px; background: var(--btn); }
.ends { display: flex; justify-content: space-between; }
.stats div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.stats div:first-child { padding-top: 0; }
.stats div:last-child { padding-bottom: 0; border: 0; }
.stats small { color: var(--muted); font-size: 14px; }
.stats b { font-variant-numeric: tabular-nums; text-align: right; }
.stats em { font-size: 12px; font-style: normal; }
.links-card h3 { margin: 16px 0 8px; color: var(--muted); font-size: 13px; font-weight: 650; }
.links-card h3:first-child { margin-top: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a, .chips span { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 650; }
.chips a:hover { border-color: var(--accent); }
.chips span { color: var(--muted); font-weight: 600; }
.converter { display: grid; gap: 8px; }
.converter h2 { margin-bottom: 4px; }
.converter label { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.converter input { width: 65%; border: 0; outline: 0; background: none; font-weight: 750; text-align: right; }
.chart-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.chart-top h2 { margin: 0; }
.ranges { display: flex; flex-wrap: wrap; gap: 4px; }
.ranges button { padding: 6px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-size: 13px; font-weight: 700; cursor: pointer; }
.ranges button.on, .ranges button:hover { background: var(--soft); color: var(--accent); }
.big-chart { position: relative; height: 400px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; touch-action: pan-y; }
.big-chart svg { display: block; width: 100%; height: 100%; }
.big-chart .vol { fill: var(--accent); opacity: 0.2; }
.big-chart .chart-box { height: 100%; border: 0; border-radius: 0; }
.big-chart .status { margin-top: 170px; }
.axis { position: absolute; color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; pointer-events: none; }
.axis.high { top: 8px; left: 10px; } .axis.low { left: 10px; }
.axis.start, .axis.end { bottom: 4px; padding: 1px 5px; border-radius: 6px; background: var(--panel); }
.axis.start { left: 6px; } .axis.end { right: 6px; }
.cursor, .dot, .tip { position: absolute; display: none; pointer-events: none; }
.hover .cursor, .hover .dot, .hover .tip { display: block; }
.cursor { top: 0; bottom: 0; width: 1px; background: var(--muted); opacity: 0.5; }
.dot { width: 10px; height: 10px; margin: -5px 0 0 -5px; border: 2px solid var(--bg); border-radius: 50%; background: var(--accent); }
.tip { top: 8px; padding: 5px 9px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); font-size: 12px; font-weight: 700; white-space: nowrap; }
.chart-note { margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.about p { margin: 0 0 10px; font-size: 14px; line-height: 1.65; }
.about .chips { margin-bottom: 12px; }
.muted, .about .muted { color: var(--muted); }
.more { margin-bottom: 8px; padding: 0; border: 0; background: none; color: var(--accent); font-weight: 700; cursor: pointer; }
.markets-table td:nth-child(2) { font-weight: 700; }
.markets-table td a:hover { color: var(--accent); }
.trust { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.trust.green { background: var(--up); } .trust.yellow { background: var(--gold); } .trust.red { background: var(--down); }

/* Accounts: the header button, avatars, profiles (/u/<username>). */
.pill.account { display: inline-flex; align-items: center; background: var(--btn); color: var(--btn-text); font-weight: 800; }
.pill.account.signed { padding: 3px; background: transparent; }
.avatar { display: inline-grid; place-items: center; flex: none; border-radius: 50%; color: #fff; font-weight: 850; }
.toast { position: fixed; left: 50%; bottom: 96px; z-index: 40; padding: 12px 18px; border-radius: 14px; background: var(--down); color: #fff;
  font-weight: 700; transform: translateX(-50%); }
.profile-page { display: grid; gap: 16px; max-width: 860px; margin: 0 auto; }
.profile-head { display: flex; align-items: center; gap: 18px; }
.profile-head .who { flex: 1; min-width: 0; }
.profile-head h1 { margin: 0 0 4px; font-size: 26px; }
.profile-head p { margin: 10px 0 0; line-height: 1.55; white-space: pre-line; }
.own-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.profile-form { display: grid; gap: 12px; }
.profile-form h2 { margin: 0; }
.profile-form label { display: grid; gap: 6px; color: var(--muted); font-size: 13px; font-weight: 650; }
.profile-form input, .profile-form textarea { padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel);
  font-size: 15px; resize: vertical; }
.profile-form .row { display: flex; gap: 8px; }
.form-error { margin: 0; color: var(--down); font-size: 14px; }
.profile-page .tabs { margin: 0; }
.feed-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.feed-row:last-child { border-bottom: 0; }
.feed-row small { margin-left: auto; }
.feed-row > span:last-child:not(:first-child) { margin-left: auto; }
.comment-row p { flex-basis: 100%; margin: 0; line-height: 1.55; white-space: pre-line; overflow-wrap: anywhere; }
.coin-link { display: inline-flex; align-items: center; gap: 8px; }
.coin-link:hover b { color: var(--accent); }

/* Discussion on a coin's page: the daily vote and comments. */
.community h2 { margin-bottom: 14px; }
.vote { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 16px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; }
.vote > b { flex-basis: 100%; }
.vote button { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: transparent; font-weight: 750; cursor: pointer; }
.vote .vote-rise:hover { border-color: var(--up); color: var(--up); } .vote .vote-fall:hover { border-color: var(--down); color: var(--down); }
.vote-result { display: flex; flex: 1; align-items: center; gap: 10px; min-width: 240px; font-size: 13px; font-weight: 750; white-space: nowrap; }
.vote-bar { flex: 1; height: 8px; overflow: hidden; border-radius: 9px; background: var(--down); }
.vote-bar i { display: block; height: 100%; background: var(--up); }
.composer { display: grid; gap: 8px; margin-bottom: 8px; }
.composer textarea { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); font: inherit; resize: vertical; }
.composer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.composer-row button[class^=tag-] { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: transparent; font-size: 13px; cursor: pointer; }
.composer-row .tag-rise.on { border-color: var(--up); color: var(--up); } .composer-row .tag-fall.on { border-color: var(--down); color: var(--down); }
.composer-row .act { margin-left: auto; }
.sort { display: flex; gap: 6px; margin: 14px 0 4px; }
.sort button { padding: 6px 12px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-weight: 700; cursor: pointer; }
.sort button.on { background: var(--soft); color: var(--accent); }
.comment { padding: 14px 0; border-bottom: 1px solid var(--line); }
.comment.reply { margin-left: 22px; padding: 10px 0 0 14px; border-bottom: 0; border-left: 2px solid var(--line); }
.comment-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.comment-head .who { display: inline-flex; align-items: center; gap: 8px; }
.comment-head .who:hover b { color: var(--accent); }
.comment p { margin: 8px 0; font-size: 15px; line-height: 1.55; white-space: pre-line; overflow-wrap: anywhere; }
.side-rise { background: color-mix(in srgb, var(--up) 15%, transparent); color: var(--up); }
.side-fall { background: color-mix(in srgb, var(--down) 15%, transparent); color: var(--down); }
.comment-actions { display: flex; gap: 14px; }
.comment-actions button { padding: 0; border: 0; background: none; color: var(--muted); font-size: 13px; font-weight: 650; cursor: pointer; }
.comment-actions button:hover, .comment-actions .like.on { color: var(--accent); }
#more-comments { margin-top: 12px; }

/* Phone-only pieces: hidden on wider screens. */
.find, .m-brief, .m-spark, .coin-cell small, .tabbar { display: none; }
.find svg, .tabbar svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

footer { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 16px max(16px, calc((100% - 1440px) / 2)) 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
footer a { text-decoration: underline; text-underline-offset: 3px; }
footer .right { margin-left: auto; text-decoration: none; color: var(--accent); }

@media (max-width: 1100px) {
  .cards { grid-template-columns: 1fr 1fr; }
  /* One column: the price, then the chart, figures, description, markets and links. */
  .coin-page { display: flex; flex-direction: column; align-items: stretch; gap: 16px; }
  .side, .coin-main { display: contents; }
  .coin-page .card, .coin-page .tabs { min-width: 0; max-width: 100%; }
  .coin-main .tabs { order: 1; } #chart { order: 2; } .stats { order: 3; } #about { order: 4; }
  #community { order: 5; } #markets { order: 6; } .links-card { order: 7; } .converter { order: 8; }
  .top nav { display: none; }
  .nirbar .wide { display: none; }
}
@media (max-width: 700px) {
  /* Phones: laid out like the market apps — compact figures, underlined tabs,
     a three-column list (coin, price, 24h with a sparkline) and a bottom bar. */
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .nirbar { display: none; }
  .top { gap: 8px; padding: 12px 16px; }
  .brand { gap: 8px; font-size: 19px; }
  .brand img { width: 30px; height: 30px; }
  .top .pill { margin-left: 0; padding: 7px 10px; }
  .find { display: grid; place-items: center; margin-left: auto; }
  .search-wrap { display: none; }
  .searching .top { flex-wrap: wrap; }
  .searching .search-wrap { display: block; order: 5; width: 100%; margin: 4px 0 0; }
  .searching .search { width: 100%; }
  .suggest { width: 100%; max-height: 60vh; }
  .wrap { padding: 12px 12px 24px; }

  .cards { display: block; }
  .cards > .card:not(:first-child) { display: none; }
  .cards > .card:first-child { padding: 0; border: 0; background: none; box-shadow: none; }
  .cards h2 { display: none; }
  .mini { grid-template-columns: 1.2fr 1.2fr 0.9fr 0.9fr; gap: 6px; }
  .mini > div { min-width: 0; padding: 9px 8px; overflow: hidden; border-radius: 14px; }
  .mini small { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
  .mini b { overflow: hidden; font-size: 13.5px; text-overflow: ellipsis; }
  .mini em { font-size: 11px; }
  .mini .gauge { order: 4; }
  .gauge svg { width: 64px; height: 36px; }
  .gauge b { margin-top: -22px; font-size: 17px; }
  .gauge span { display: none; }

  .m-brief { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 12px; padding: 6px 12px 6px 6px; border: 1px solid var(--line);
    border-radius: 999px; background: var(--panel); text-align: left; cursor: pointer; }
  .m-brief .tag { flex: none; padding: 5px 10px; border-radius: 999px; background: var(--soft); color: var(--accent); font-size: 12px; font-weight: 800; }
  .m-brief span:last-child { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
  .m-brief.open { align-items: flex-start; border-radius: 18px; }
  .m-brief.open span:last-child { white-space: normal; line-height: 1.5; }
  .nir-strip { gap: 4px 10px; margin-top: 10px; padding: 8px 12px; font-size: 12px; }
  .nir-strip > span:first-of-type { display: none; }

  .tabs { flex-wrap: nowrap; gap: 22px; margin: 14px -12px 0; padding: 0 16px; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs button, .tabs a { flex: none; padding: 10px 0 9px; border: 0; border-bottom: 3px solid transparent; border-radius: 0; background: none; font-size: 16px; white-space: nowrap; }
  .tabs button.on, .tabs a.on { border-bottom-color: var(--accent); background: none; color: var(--text); }
  .coin-main .tabs { margin: 0 -12px; }

  .hide-s { display: none; }
  table { margin-top: 4px; }
  th { padding: 12px 6px; font-size: 13px; }
  td { padding: 14px 6px; }
  .rank { width: 26px; padding-left: 0; font-size: 15px; }
  .coin-cell { display: grid; grid-template-columns: 34px auto; column-gap: 10px; align-items: center; }
  .coin-cell .logo { grid-row: span 2; width: 34px; height: 34px; }
  .coin-cell b { display: none; }
  .coin-cell span { color: var(--text); font-size: 16px; font-weight: 700; }
  .coin-cell small { display: block; color: var(--muted); font-size: 13px; }
  tbody td:nth-child(4) { font-size: 16px; }
  .m-spark { display: block; width: 76px; height: 26px; margin: 0 0 4px auto; }

  .tabbar { position: fixed; right: 0; bottom: 0; left: 0; z-index: 20; display: grid; grid-template-columns: repeat(4, 1fr);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg); }
  .tabbar a { display: grid; justify-items: center; gap: 3px; padding: 4px 0; color: var(--muted); font-size: 11px; font-weight: 650; }
  .tabbar a.on { color: var(--accent); }
  .tabbar svg, .tabbar img { width: 24px; height: 24px; }

  .pill.account { display: none; } /* the bottom bar has Sign in / Profile */
  .profile-head { flex-wrap: wrap; }
  .profile-page .tabs { margin: 0 -12px; }
  .big-chart { height: 300px; }
  .big-chart .status { margin-top: 120px; }
  .big-price { font-size: 32px; }
  footer { padding-bottom: 20px; }
}
