/* public/gta-hud.css - the game-HUD dressing of the GTA screener and its heat stars (owner, 16.11.2026). A file of its
   own: gta-tiles.css draws the tiles, this one only restyles type and colour on top of the page and the tiles. It is on
   the site gate's allow-list (evm/core/screener/site-gate.mjs) and in the nginx public location. */
/* ⭐ GAME-HUD DRESSING (owner, 16.11.2026: "a GTA game-HUD feel"). Display type, money-green figures with a hard dark
   outline and compact labels, on the KPI strip, the Hot tab's top three and the token card's title. Body text, tables
   and addresses keep the page's readable fonts. No figure, order or layout changes here, and nothing moves.
   --ls-display starts with Anton (SIL Open Font License 1.1, public/fonts/anton-OFL.txt), self-hosted as a Latin subset;
   the condensed faces the reader's system already has stand in if it does not load. */
@font-face { font-family:'Anton'; src:url('/fonts/anton-latin.woff2') format('woff2'); font-weight:400; font-style:normal; font-display:swap;
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD }
:root { --ls-display:'Anton', Impact, Haettenschweiler, 'Arial Narrow Bold', 'sans-serif-condensed', 'Roboto Condensed', 'Arial Narrow', sans-serif;
  --ls-money:#73e86b; --ls-hud-edge:#000 }
html[data-gta-theme="light"] { --ls-money:#0b7330; --ls-hud-edge:transparent }
body.is-leonida-mode .ls-kpi-label { font:800 10px/1.2 var(--ui,'Segoe UI',system-ui,sans-serif); letter-spacing:.9px; text-transform:uppercase }
body.is-leonida-mode .ls-summary-inline .ls-kpi b { font:400 28px/1.05 var(--ls-display); letter-spacing:.6px;
  text-shadow:-1px -1px 0 var(--ls-hud-edge), 1px -1px 0 var(--ls-hud-edge), -1px 1px 0 var(--ls-hud-edge), 1px 1px 0 var(--ls-hud-edge), 0 2px 0 var(--ls-hud-edge) }
body.is-leonida-mode #lsMetricCap, body.is-leonida-mode #lsMetricMcap, body.is-leonida-mode #lsMetricVol { color:var(--ls-money) }
html[data-gta-theme="light"] body.is-leonida-mode #lsMetricCap, html[data-gta-theme="light"] body.is-leonida-mode #lsMetricMcap,
html[data-gta-theme="light"] body.is-leonida-mode #lsMetricVol { color:var(--ls-money) }
@media (max-width:400px) { body.is-leonida-mode .ls-summary-inline .ls-kpi b { font-size:23px } }
/* ⭐ THE BRAND MARK (owner, 18.11.2026, option 01 of the logo board): LEONIDA.MEME in Anton, LEONIDA in the text colour and
   .MEME in pink, the same mark the Top 5 and Wasted pictures draw (gta-top5-card.mjs brandMark). Plain text in the display face,
   so it follows the theme and needs no artwork. */
.nav-brand { font-family:var(--ls-display); font-weight:400; letter-spacing:.8px; text-transform:uppercase }
.nav-brand .ls-wordmark { color:var(--lp-text) }
.nav-brand b { font-family:var(--ls-display); font-weight:400; letter-spacing:.8px; color:var(--lp-pink) }
.ls-card-title #lsTokenDialogTitle { font-family:var(--ls-display); font-weight:400; letter-spacing:.6px }

/* The Hot tab's first three, as a HUD podium: a big outlined place number in gold, silver and bronze. The number is the
   place in the order the reader chose (the row number's meaning), not a grade of the token. The frame stays the tiles'
   own pink (owner, 17.11.2026: "the card border pink only"), so no rank colour and no 2px edge on it. */
body.ls-hot-top .ls-tile[data-pos="1"] { --ls-podium:#ffcc33; --ls-podium-ink:#ffcc33 }
body.ls-hot-top .ls-tile[data-pos="2"] { --ls-podium:#d5dde3; --ls-podium-ink:#d5dde3 }
body.ls-hot-top .ls-tile[data-pos="3"] { --ls-podium:#e0904a; --ls-podium-ink:#e0904a }
html[data-gta-theme="light"] body.ls-hot-top .ls-tile[data-pos="1"] { --ls-podium:#d29a00 }
html[data-gta-theme="light"] body.ls-hot-top .ls-tile[data-pos="2"] { --ls-podium:#7d8d98 }
html[data-gta-theme="light"] body.ls-hot-top .ls-tile[data-pos="3"] { --ls-podium:#b8692a }
body.ls-hot-top .ls-tile[data-pos="1"]::after, body.ls-hot-top .ls-tile[data-pos="2"]::after, body.ls-hot-top .ls-tile[data-pos="3"]::after {
  content:'#' attr(data-pos); position:absolute; top:48px; right:12px; z-index:2; pointer-events:none; color:var(--ls-podium-ink);
  font:400 30px/1 var(--ls-display); letter-spacing:.5px;
  text-shadow:-2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000, 0 3px 0 #000 }
body.ls-hot-top #lsBody tr:nth-child(-n+3) .ls-pos { color:#ffcc33; font:400 17px/1 var(--ls-display); text-shadow:-1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000 }
body.ls-hot-top #lsBody tr:nth-child(2) .ls-pos { color:#d5dde3 }
body.ls-hot-top #lsBody tr:nth-child(3) .ls-pos { color:#e0904a }
html[data-gta-theme="light"] body.ls-hot-top #lsBody tr:nth-child(-n+3) .ls-pos { color:#8a5a00; text-shadow:none }
html[data-gta-theme="light"] body.ls-hot-top #lsBody tr:nth-child(2) .ls-pos { color:#4c5d68 }
html[data-gta-theme="light"] body.ls-hot-top #lsBody tr:nth-child(3) .ls-pos { color:#94501a }

/* ⭐ THE SCORE AS STARS (owner, 17.11.2026): public/gta-verdict.js decides how many, 1 to 5; this only draws them, with the
   star from #872. The count carries the meaning and the colour repeats it: 5-4 green, 3 amber, 2-1 red-orange. A lit star
   has a dark edge on the dark theme and a deep shade on the light one, so it holds at least 4.5:1 on a white card. No score
   is NOT zero stars: a small grey "Not rated" with the reason on hover. Red flags are small labels beside the stars. */
.ls-vs-wrap { display:inline-flex; flex-wrap:wrap; align-items:center; gap:4px 6px; max-width:100%; vertical-align:middle }
.ls-vs { --vs:#42d392; display:inline-flex; align-items:center; gap:2px; flex:none; line-height:0; cursor:help }
.ls-vs[data-level="mid"] { --vs:#eabd59 }
.ls-vs[data-level="bad"] { --vs:#ff7a52 }
.ls-vs-star { display:block; flex:none; width:18px; height:18px; font-style:normal }
.ls-vs-star svg { display:block; width:100%; height:100%; fill:transparent; stroke:#8b98a3; stroke-width:1.8; stroke-linejoin:round }
/* A lit star is the SAME glyph, box and line as an empty one, only filled (owner, 17.11): its edge is its own colour, never
   a dark one, which on a dark card ate the outer line and made the lit stars look smaller than the empty ones. */
.ls-vs-star.is-on svg { fill:var(--vs); stroke:var(--vs) }
.ls-vs-none { color:var(--ls-muted,var(--lp-muted)); font:700 11px/1.2 var(--ui,'Segoe UI',system-ui,sans-serif); white-space:nowrap; cursor:help;
  text-decoration:underline dotted; text-underline-offset:2px }
.ls-vs-tag { --tag-bg:#eabd59; --tag-fg:#1a1200; --tag-edge:transparent; display:inline-block; padding:2px 6px; border-radius:6px; background:var(--tag-bg);
  color:var(--tag-fg); box-shadow:inset 0 0 0 1px var(--tag-edge); font:800 9.5px/1.25 var(--ui,'Segoe UI',system-ui,sans-serif); letter-spacing:.04em;
  cursor:help; white-space:nowrap }
.ls-vs-tag[data-tone="red"] { --tag-bg:#ff7a52; --tag-fg:#1a0600 }
.ls-vs-how { font:600 11px/1.2 var(--ui,'Segoe UI',system-ui,sans-serif); color:var(--ls-muted,var(--lp-muted)); text-decoration:underline; text-underline-offset:2px }
html[data-gta-theme="light"] .ls-vs { --vs:#16803c }
html[data-gta-theme="light"] .ls-vs[data-level="mid"] { --vs:#a16207 }
html[data-gta-theme="light"] .ls-vs[data-level="bad"] { --vs:#c2410c }
html[data-gta-theme="light"] .ls-vs-star:not(.is-on) svg { stroke:#5d6d78 }
html[data-gta-theme="light"] .ls-vs-none, html[data-gta-theme="light"] .ls-vs-how { color:#3d3352 }
html[data-gta-theme="light"] .ls-vs-tag { --tag-bg:#fff4d6; --tag-fg:#5c3d00; --tag-edge:#7a5200 }
html[data-gta-theme="light"] .ls-vs-tag[data-tone="red"] { --tag-bg:#ffeae2; --tag-fg:#8a2a0a; --tag-edge:#a3300c }
/* Owner, 17.11: the stars must read at a glance, so they are 18px on tiles and table rows and 22px in the token card.
   The table's Rating column is 10.06% (COL_BASE in gta.html): about 104px of content at 1440, room for five 18px stars
   and their gaps, with a label wrapping under them. Below 1240 the column is too narrow for that, so the table's
   stars step down to 13px there; tiles and phone rows keep 18px. */
@media (min-width:768px) and (max-width:1239.98px) { #multiTable .ls-vs-star { width:13px; height:13px } #multiTable .ls-vs { gap:1px } }
.ls-tile .ls-tile-risk > span { flex-wrap:wrap; gap:4px 6px }
.ls-card-verdict .ls-vs-star { width:22px; height:22px }
.ls-card-verdict .ls-vs { gap:3px }
/* Phone rows (gta-tiles.css draws them as compact cards): the stars get their own line under the figures and the action
   strip moves below them, so a phone reader sees the rating without opening the token, at 320px too. */
@media (max-width:599.98px) {
  html body.is-leonida-mode #multiTable.ls-table tbody tr td:nth-child(10) { display:flex; grid-column:2 / -1; grid-row:3; justify-content:flex-start; align-items:center; padding:0; border:0 }
  html body.is-leonida-mode #multiTable .ls-token-id .ls-acts { grid-row:4 }
  html body.is-leonida-mode #multiTable.ls-table tbody tr td:nth-child(10)::before { content:none }
}

/* ⭐ HOW THE SCREENER ANSWERS THE POINTER (owner, 18.11.2026): the card lift, the controls' hover and press states, the copy
   button, the direction arrows and the Hot Drops rows. */

/* The copy button on the card body: the page's pink, not a black square (owner, 18.11.2026). */
.ls-tile .ls-tile-copy:hover { background:rgba(var(--lp-pink-rgb),.14); color:var(--lp-pink) }

/* The direction arrows of a signed percentage, drawn as small triangles (owner, 18.11.2026: "stylized arrows"). */
.ls-money[data-dir]::before { margin-right:4px; font-size:.62em; line-height:1; vertical-align:.14em }
.ls-money[data-dir="up"]::before { content:'\25B2' }
.ls-money[data-dir="down"]::before { content:'\25BC' }

/* Hot Drops (owner, 18.11.2026: "the figures larger, an arrow, the market cap"). */
.ls-pop-row { transition:background .15s ease }
.ls-pop-row:hover, .ls-pop-row:focus-visible { background:rgba(var(--lp-pink-rgb),.07) }
.ls-pop-row:active { background:rgba(var(--lp-pink-rgb),.12) }
.ls-pop-row b { font-size:15px }
.ls-pop-row small { font-size:12px }
.ls-pop-meta .ls-pop-chg { display:block; font:800 20px/1.1 var(--ui,system-ui,sans-serif); font-variant-numeric:tabular-nums }
.ls-pop-meta .ls-pop-cap { display:block; margin-top:3px; color:var(--lp-muted); font-size:12px; font-weight:600 }

/* ⭐ THE CARD LIFTS UNDER THE POINTER (owner, 18.11.2026: "a card should jump up a little, and show which one is picked in the
   light theme too"). The whole tile rises 4px, so its copy and watch buttons rise with it, and its frame casts a hard pink
   shadow to the lower right, which reads on white as well as on plum. Not on touch screens, and not for a reader who asked
   for less motion: there the frame and shadow change without the move. */
/* ⚠ THE FLICKER THIS USED TO CAUSE (owner, 17.11.2026): a tile that rose moved its bottom edge out from under a pointer resting
   there, lost :hover, fell back and blinked. The tile now carries a transparent strip under itself as tall as the lift, so the
   pointer is still over the tile when it has risen. */
.ls-tile { transition:transform .18s ease }
.ls-tile::after { content:''; position:absolute; left:0; right:0; top:100%; height:6px }
.ls-tile-link { transition:border-color .18s ease, box-shadow .18s ease }
@media (hover:hover) {
  .ls-tile:hover { transform:translateY(-4px) }
  .ls-tile:hover .ls-tile-link, .ls-tile:focus-within .ls-tile-link { box-shadow:6px 7px 0 -1px rgba(var(--lp-pink-rgb),.38), 0 18px 34px -18px rgba(var(--lp-pink-rgb),.6) }
}
.ls-tile:active { transform:translateY(-1px) }
@media (prefers-reduced-motion: reduce) { .ls-tile, .ls-tile:hover, .ls-tile:active { transition:none; transform:none } }
html[data-gta-motion="reduced"] .ls-tile, html[data-gta-motion="reduced"] .ls-tile:hover, html[data-gta-motion="reduced"] .ls-tile:active { transition:none; transform:none }

/* ⭐ EVERY CONTROL ANSWERS THE POINTER (owner, 18.11.2026: "the buttons lack simple interactivity"): the filters, the layout and
   refresh buttons, the sort, the pager and the header actions tint and edge in pink on hover, and sink a pixel when pressed. */
body.is-leonida-mode .ls-filter, .ls-layout-btn, .ls-layout select, .ls-page, .ls-nav-action, .ls-settings-button, .ls-update-go {
  transition:background-color .15s ease, border-color .15s ease, color .15s ease, transform .1s ease, box-shadow .15s ease }
@media (hover:hover) {
  body.is-leonida-mode .ls-filter:not(.on):hover, .ls-layout-btn:not([aria-pressed="true"]):hover, .ls-layout select:hover, .ls-page:not(.on):hover {
    border-color:var(--lp-pink); background:rgba(var(--lp-pink-rgb),.08); color:var(--lp-text); box-shadow:0 4px 14px -8px rgba(var(--lp-pink-rgb),.7) }
  body.is-leonida-mode .ls-filter.on:hover, .ls-layout-btn[aria-pressed="true"]:hover { box-shadow:0 4px 14px -6px rgba(var(--lp-pink-rgb),.8) }
}
body.is-leonida-mode .ls-filter:active, .ls-layout-btn:active, .ls-page:active, .ls-nav-action:active, .ls-settings-button:active, .ls-update-go:active { transform:translateY(1px) scale(.98) }
body.is-leonida-mode .ls-filter:focus-visible, .ls-layout-btn:focus-visible, .ls-page:focus-visible { outline:2px solid var(--lp-cyan); outline-offset:2px }
@media (prefers-reduced-motion: reduce) { body.is-leonida-mode .ls-filter:active, .ls-layout-btn:active, .ls-page:active, .ls-nav-action:active, .ls-settings-button:active, .ls-update-go:active { transform:none } }

/* ⭐ THE CARD, TIDIED (owner, 18.11.2026): the network and pump.fun marks follow the ticker as small marks with no dark disc,
   "Open details" is gone (the whole card opens it), the copy button sits on the stars line, and the market cap is the
   largest figure of the body. */
.ls-tile .ls-tile-sym .ls-tile-marks { position:static; display:inline-flex; align-items:center; gap:4px; flex:none; margin-left:2px }
.ls-tile .ls-tile-sym .ls-tile-marks > span { width:18px; height:18px; padding:0; border:0; background:none; box-shadow:none }
.ls-tile .ls-tile-sym .ls-tile-marks svg { width:18px; height:18px; filter:drop-shadow(0 1px 2px rgba(0,0,0,.65)) }
.ls-tile .ls-tile-cap .ls-money { font-size:19px; font-weight:800; letter-spacing:-.2px }
.ls-tile .ls-tile-body { padding-bottom:12px }

/* The Hot list's "Show more" under the rows (gta-tiles.js paintHotMore). */
.ls-hot-more { display:flex; justify-content:center; padding:14px 0 6px }
.ls-hot-more[hidden] { display:none }
/* A Hot Drops row without a logo drew its letters in a 36px square beside 64px pictures (owner, 18.11.2026): one size for both. */
.ls-pop-token > img, .ls-pop-token > .tok-icon { flex:0 0 auto; width:48px; height:48px; border-radius:10px; object-fit:cover }
.ls-pop-token > .tok-icon { display:grid; place-items:center; font-size:16px; letter-spacing:.02em; box-shadow:inset 0 0 0 1px rgba(var(--lp-pink-rgb),.35) }

/* ⭐ THE CARD'S HOLDERS AS TWO TILES (owner, 18.11.2026: "Top 10 and Top holder, larger, more of a product"). The holders
   line (gta.html factsLine) becomes two tiles like the stat tiles above it: the label small and spaced, the share large. */
.ls-card .ls-card-checks { padding:0; border:0; background:none }
.ls-card .ls-card-checks .ls-facts { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:0 }
.ls-card .ls-card-checks .ls-fact { display:flex; flex-direction:column; align-items:flex-start; gap:6px; padding:12px 14px; border:1px solid var(--lp-border); border-radius:14px;
  background:var(--lp-surface-2); color:var(--lp-muted); font:700 11px/1.2 var(--ui,system-ui,sans-serif); letter-spacing:.08em; text-transform:uppercase }
.ls-card .ls-card-checks .ls-fact-v, .ls-card .ls-card-checks .ls-fact .ls-muted { margin:0; color:var(--lp-text); font:800 22px/1.1 var(--ui,system-ui,sans-serif); letter-spacing:0; text-transform:none }

/* The sort list's options (owner, 18.11.2026: white words on a pale pink list). Chrome draws the open list in the select's
   own background, and the hover tint above is translucent, so the list came out pale under light text. The select keeps an
   opaque ground on hover, and its options take the theme's surface and text colours in either theme. */
.ls-layout select:hover, .ls-layout select:focus { background-color:var(--lp-hover) }
.ls-layout select option { background-color:var(--lp-surface); color:var(--lp-text) }
html[data-gta-theme="light"] .ls-layout select:hover, html[data-gta-theme="light"] .ls-layout select:focus { background-color:#fce6f2 }
html[data-gta-theme="light"] .ls-layout select option { background-color:#fff; color:var(--lp-text) }
/* The stars answer a pointer and a tap (owner, 18.11.2026; gta-verdict.js vsMountPop). Pointing lights the lit stars one
   after another; the open card is a small panel by the stars with the reason and the methodology link. */
.ls-vs { cursor:pointer; border-radius:6px; padding:3px; margin:-3px; transition:background-color .15s }
.ls-vs:hover, .ls-vs.is-open { background:rgba(255,255,255,.07) }
.ls-vs-star svg { transition:transform .22s cubic-bezier(.34,1.56,.64,1), filter .22s }
.ls-vs:hover .ls-vs-star svg, .ls-vs.is-open .ls-vs-star svg { transform:translateY(-2px) scale(1.14) }
.ls-vs:hover .ls-vs-star.is-on svg, .ls-vs.is-open .ls-vs-star.is-on svg { stroke:var(--vs); filter:drop-shadow(0 0 4px var(--vs)) }
.ls-vs:hover .ls-vs-star:nth-child(2) svg, .ls-vs.is-open .ls-vs-star:nth-child(2) svg { transition-delay:.04s }
.ls-vs:hover .ls-vs-star:nth-child(3) svg, .ls-vs.is-open .ls-vs-star:nth-child(3) svg { transition-delay:.08s }
.ls-vs:hover .ls-vs-star:nth-child(4) svg, .ls-vs.is-open .ls-vs-star:nth-child(4) svg { transition-delay:.12s }
.ls-vs:hover .ls-vs-star:nth-child(5) svg, .ls-vs.is-open .ls-vs-star:nth-child(5) svg { transition-delay:.16s }
.ls-vs-none:hover, .ls-vs-none.is-open { color:var(--lp-text) }
.ls-vs-pop { position:fixed; z-index:9000; box-sizing:border-box; padding:12px 14px; border-radius:12px; background:var(--lp-surface); color:var(--lp-text-2);
  border:1px solid rgba(255,61,154,.35); box-shadow:0 12px 32px rgba(0,0,0,.45); font:500 12.5px/1.45 var(--ui,'Segoe UI',system-ui,sans-serif);
  white-space:pre-line; animation:ls-vs-pop-in .16s ease-out }
.ls-vs-pop[hidden] { display:none }
.ls-vs-pop::before { content:''; position:absolute; left:calc(var(--vs-arrow,50%) - 6px); width:10px; height:10px; background:inherit; border:inherit; transform:rotate(45deg) }
.ls-vs-pop[data-side="below"]::before { top:-6px; border-right:0; border-bottom:0 }
.ls-vs-pop[data-side="above"]::before { bottom:-6px; border-left:0; border-top:0 }
.ls-vs-pop p { margin:0 0 8px }
.ls-vs-pop .ls-vs-pop__head { font:800 13px/1.2 var(--ui,'Segoe UI',system-ui,sans-serif); color:#42d392 }
.ls-vs-pop .ls-vs-pop__head[data-level="mid"] { color:#eabd59 }
.ls-vs-pop .ls-vs-pop__head[data-level="bad"] { color:#ff7a52 }
.ls-vs-pop__how { display:inline-flex; align-items:center; min-height:32px; color:#ff6fb5; font-weight:700; text-decoration:underline; text-underline-offset:2px }
@keyframes ls-vs-pop-in { from { opacity:0; transform:translateY(-4px) } to { opacity:1; transform:none } }
html[data-gta-theme="light"] .ls-vs:hover, html[data-gta-theme="light"] .ls-vs.is-open { background:rgba(40,20,60,.07) }
html[data-gta-theme="light"] .ls-vs-pop { background:#fff; color:#2a2238; border-color:rgba(194,24,110,.35); box-shadow:0 12px 28px rgba(40,20,60,.18) }
html[data-gta-theme="light"] .ls-vs-pop .ls-vs-pop__head { color:#16803c }
html[data-gta-theme="light"] .ls-vs-pop .ls-vs-pop__head[data-level="mid"] { color:#a16207 }
html[data-gta-theme="light"] .ls-vs-pop .ls-vs-pop__head[data-level="bad"] { color:#c2410c }
html[data-gta-theme="light"] .ls-vs-pop__how { color:#b0105f }
html[data-gta-theme="light"] .ls-vs-none:hover, html[data-gta-theme="light"] .ls-vs-none.is-open { color:#1d1628 }
@media (prefers-reduced-motion:reduce) { .ls-vs-star svg, .ls-vs-pop { transition:none; animation:none } }
/* QA sweep, 18.11.2026 (owner: "fix the top 5").
   1. The "i" popovers of Daily Runner and the Wasted Index hung from their button: on a phone a 330 px box that starts
      150 px in ran past the right edge and widened the page. Under 600 px they are a sheet along the bottom of the screen;
      wider, they are tall enough not to need their own scroll bar. gta-tiles.js closes them on a tap outside and scrolls
      an opened one into view. */
#lsRace .vc-race__pop, body .vc-w .vc-w__pop { max-height:min(72vh,560px) }
@media (max-width:599.98px) {
  #lsRace .vc-race__pop, body .vc-w .vc-w__pop { position:fixed; z-index:9500; left:12px; right:12px; top:auto;
    bottom:calc(12px + env(safe-area-inset-bottom,0px)); width:auto; max-height:70vh; box-shadow:0 -8px 40px #000a }
}
/* 2. The card's "Cached candles" note lay over the chart's time axis. Over a drawn chart it is a small pill at the top. */
.ls-term:not(.is-loading) .ls-term-chart:not(.is-empty) ~ .ls-term-state { inset:8px auto auto 50%; transform:translateX(-50%);
  width:max-content; max-width:calc(100% - 16px); box-sizing:border-box; padding:5px 12px; border-radius:999px; font-size:11px;
  background:rgba(var(--lp-surface-rgb),.92); box-shadow:0 0 0 1px rgba(var(--lp-muted-rgb),.25) }
html[data-gta-theme="light"] .ls-term:not(.is-loading) .ls-term-chart:not(.is-empty) ~ .ls-term-state { background:rgba(255,255,255,.95) }
/* 3. On a phone the card sheet is 16 px narrower than the screen but had margin 0, so it hugged the left edge. */
@media (max-width:640px) { dialog.ls-token-dialog.is-card { margin-inline:auto } }
/* 4. Two tiles across a 360 px phone: the 44 px copy button lay over the fifth star. There it is 40 px wide at the very
   corner, and its reach (::after) keeps the 44 px target without covering the stars. The stars keep 18 px. */
@media (max-width:399.98px) { .ls-tile .ls-tile-copy { right:4px; width:40px; background:transparent } .ls-tile .ls-tile-copy::after { content:''; position:absolute; inset:0 -2px } }
/* A dialog hides the page scrollbar; the space it took is kept, so the header does not jump sideways (QA, 18.11.2026). */
html { scrollbar-gutter:stable }
/* The status bar under the list holds the status line and the pages; with both empty it was a bordered 62 px strip of
   nothing above the footer (QA, 18.11.2026). It is drawn only when it has something to say. */
/* #lsStatus is never drawn in this mode (gta-tiles.css), so the strip has something only when it holds pages or the Hot
   "show more" button: live 19.11.2026, a status line full of hidden text kept the empty strip up. */
body.is-leonida-mode .ls-statusbar:has(> #lsPages:empty):not(:has(> #lsHotMore:not([hidden]))) { display:none!important }
/* The empty note in the tiles: its title and hint on two lines, as in the table (QA, 18.11.2026: they ran together). */
.ls-tiles-note b { display:block; margin-bottom:6px; color:var(--lp-text); font-size:15px }
.ls-tiles-note span { display:block; color:var(--lp-muted); font-size:13px }
/* QA sweep on phones, 18.11.2026. */
@media (max-width:640px) {
  /* The card's Prev / Next hung over the chart and the figures on a fade. They sit on a solid bar of their own now; the
     content scrolls under it and its last line clears it (padding-bottom in gta-token-dialog.css). */
  .ls-card-navigation { background:var(--lp-surface); border-top:1px solid var(--lp-border) }
  /* The chart legend ran into the price axis on the right: it stops short of it. Candle styles stay on one line. */
  .ls-term-legend, .ls-term-ind-legend { right:64px }
  .ls-term-styles button { white-space:nowrap }
}
@media (max-width:859.98px) {
  /* Movers (and Live) open as a sheet along the bottom, next to the thumb, not pinned under the header far from the
     button that opened them; a tap outside or Esc closes them (gta.html closePopovers). The open button says it is open. */
  /* ⚠ The popover lives inside the sticky header, whose backdrop-filter makes the HEADER its containing block for
     position:fixed: a bottom:12px put the sheet above the screen. It is placed from the header's top by the screen's
     height instead (the header is always at the top), so it opens low, near the Movers button, and scrolls inside. */
  body.is-leonida-mode .ls-popover { top:30svh!important; bottom:auto; left:12px; right:12px; width:auto;
    max-height:calc(70svh - 24px); overflow:auto; box-shadow:0 -8px 40px rgba(0,0,0,.6) }
  body.is-leonida-mode .ls-drops-mini[aria-expanded="true"] { border-color:var(--lp-pink); color:var(--lp-pink); background:rgba(var(--lp-pink-rgb),.12) }
}
@media (max-width:599.98px) {
  /* The network chips scroll sideways on a phone; the last one was cut with no hint. The row fades out at its right edge,
     and its end padding lets the last chip scroll clear of the fade. */
  body.is-leonida-mode .ls-toolbar > [aria-label="Blockchain network"] { padding-right:28px;
    -webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 28px),transparent); mask-image:linear-gradient(90deg,#000 calc(100% - 28px),transparent) }
}
/* QA on phones, 18.11.2026, the rest. Two tiles across a 360 px phone: "Liq $379.4K Vol $3.81M" touched each other and
   the tile's edge; the pair wraps, Vol under Liq, when they do not fit. The runner's "launched 14h 57m ago" stays one line. */
@media (max-width:399.98px) {
  .ls-tile .ls-tile-line { flex-wrap:wrap; row-gap:2px }
  #lsRace .vc-race__age { white-space:nowrap }
}

/* ⭐ NO BANNER ON THE DESKTOP (owner, 19.11.2026: "remove the banner from the desktop version"). From 600px up the hero is
   not drawn and takes no room, but it stays in the page, visually hidden: it holds the one h1 (SEO, 18.11.2026) and the
   screen readers' title. Phones keep their banner above. */
@media (min-width:600px) {
  body.is-leonida-mode .ls-hero { position:absolute; width:1px; height:1px; min-height:0; aspect-ratio:auto; margin:-1px; padding:0; overflow:hidden;
    clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap; border:0; background:none }
}

/* ⭐ THE FOOTER, TIDIED (owner, 19.11.2026: "tidy the footer, unify the icons, one font size"). One size for every word in it,
   12px; the data credit (GeckoTerminal's terms want it next to the data, so it stays where it is) reads as the footer's
   first line; one row of links with Terms among them and the two social marks at its end, the same small round button. */
body.is-leonida-mode .ls-attrib { display:block; margin-top:12px; padding:10px 16px 0; border:0; background:var(--ls-surface); color:var(--ls-muted);
  font:12px/1.5 var(--ui,system-ui,sans-serif); justify-content:flex-start }
body.is-leonida-mode .ls-attrib:not(:empty) + footer.ls-legal { margin-top:0; padding-top:6px }
body.is-leonida-mode footer.ls-legal { flex-wrap:wrap; gap:4px 18px; padding:10px 16px 12px; font:12px/1.5 var(--ui,system-ui,sans-serif) }
body.is-leonida-mode footer.ls-legal nav { display:contents }
body.is-leonida-mode .ls-attrib a, body.is-leonida-mode footer.ls-legal a, body.is-leonida-mode .ls-terms summary {
  color:var(--ls-muted); text-decoration:none; font-size:12px; font-weight:400 }
body.is-leonida-mode .ls-attrib a:hover, body.is-leonida-mode .ls-attrib a:focus-visible, body.is-leonida-mode footer.ls-legal a:hover,
body.is-leonida-mode footer.ls-legal a:focus-visible, body.is-leonida-mode .ls-terms summary:hover { color:var(--lp-pink); text-decoration:underline }
body.is-leonida-mode .ls-copyright { font-size:12px; font-weight:600; color:var(--ls-text) }
body.is-leonida-mode .ls-terms { order:1 }
body.is-leonida-mode .ls-terms summary { list-style:none }
body.is-leonida-mode .ls-terms summary::-webkit-details-marker { display:none }
body.is-leonida-mode footer.ls-legal .ls-footer-telegram, body.is-leonida-mode footer.ls-legal .ls-footer-x {
  order:2; width:30px; height:30px; min-width:0; min-height:0; border:1px solid var(--ls-border); border-radius:50%; background:transparent; color:var(--ls-muted) }
body.is-leonida-mode footer.ls-legal .ls-footer-telegram { margin-left:auto }
body.is-leonida-mode footer.ls-legal .ls-footer-telegram svg, body.is-leonida-mode footer.ls-legal .ls-footer-x svg { width:15px; height:15px }
body.is-leonida-mode footer.ls-legal .ls-footer-telegram:hover, body.is-leonida-mode footer.ls-legal .ls-footer-telegram:focus-visible,
body.is-leonida-mode footer.ls-legal .ls-footer-x:hover, body.is-leonida-mode footer.ls-legal .ls-footer-x:focus-visible {
  color:#fff; background:var(--lp-pink); border-color:var(--lp-pink); text-decoration:none }
body.is-leonida-mode .ls-footer-note { order:3; flex-basis:100%; font-size:12px; color:var(--ls-muted) }
/* Phones: the marks keep a 40px target. */
@media (max-width:600px) {
  body.is-leonida-mode footer.ls-legal .ls-footer-telegram, body.is-leonida-mode footer.ls-legal .ls-footer-x { width:40px; height:40px }
  body.is-leonida-mode .ls-attrib { padding:10px 14px 0 }
  body.is-leonida-mode footer.ls-legal { padding:8px 14px 12px; gap:2px 14px }
}
/* An empty credit line takes no room (live 19.11.2026: the tidy footer's display:block outranked the page's :empty rule). */
body.is-leonida-mode .ls-attrib:empty { display:none }
