/* Utopia's look on Axiom's front end (client/ut.js). Axiom's dark sheet with Utopia's teal in place of Axiom's blue (its
   --primary-color: nav, quick-buy buttons, toggles), a dawn gold only for prizes, and Axiom's own pink-red for the chart
   "with bundlers". Every number sits in a fixed slot (tabular figures, min-widths): nothing moves when a value changes. */
:root:root {
  --primary-color: 78 227 212 !important; --primary-color-hover: 128 237 227 !important; --primary-hue: 174 !important;
  /* a calm deep-teal night instead of Axiom's neutral black: the same values, a few points toward teal */
  --background: #05090a !important; --background-secondary: 13 18 20 !important; --background-tertiary: 20 26 28 !important;
  --primary-stroke: 29 37 40 !important; --secondary-stroke: 44 54 58 !important;
}
:root {
  --ut-bg: #06070b; --ut-panel: #0c0f13; --ut-raise: #11151a; --ut-stroke: rgb(34 36 45); --ut-stroke2: rgb(50 53 66);
  --ut-text: rgb(252 252 252); --ut-text2: rgb(200 201 209); --ut-text3: rgb(119 122 140);
  --ut-a: #4ee3d4; --ut-a2: #84efe4; --ut-ad: rgba(78, 227, 212, 0.12); --ut-gold: #f3cf7a; --ut-real: rgb(236 57 122);
  --ut-sans: var(--font-geist-sans, ui-sans-serif, system-ui, sans-serif); --ut-mono-f: var(--font-geist-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
}
.ut-mono, .ut-hdr b, .ut-row span { font-variant-numeric: tabular-nums; }
.ut-mono { font-variant-numeric: tabular-nums; }
.ut-code { font-family: var(--ut-mono-f); }
.up { color: rgb(var(--increase, 47 227 172)) !important; } .down { color: rgb(var(--decrease, 236 57 122)) !important; }
.ut-gold-t { color: var(--ut-gold) !important; }
.ut-dim { color: var(--ut-text3); }
button[data-ut-hide] { display: none !important; }
/* trades are not linked to an explorer: Utopia's own fills (players, the market's buyers) have no chain transaction. The trade's age
   stays as text; the row's explorer icon goes. Wallet links stay; the Ledger's payout links (.ut-tx) are real transactions. */
a[href*="/tx/"]:not(.ut-tx a) { pointer-events: none !important; text-decoration: none !important; cursor: default !important; }
a[data-row-accessory="scanner"][href*="/tx/"] { display: none !important; }
/* THE COIN'S STAT CHIPS (Pulse rows, Discover): in Utopia the dev and the bundle are taken out of every coin, so "dev 0 %" and
   "bundlers 0 %" are the point: they show in Utopia's teal as wins. Snipers and insiders are not counted in Utopia: no chip. */
span[data-tooltip-trigger]:has(> div i.ri-crosshair-2-line), span[data-tooltip-trigger]:has(> div i.ri-ghost-line),
div[class*="isolate"][class*="rounded-full"][class*="h-[24px]"]:has(> i.ri-crosshair-2-line, > i.ri-ghost-line) { display: none !important; }
span[data-tooltip-trigger] > div:has(i.icon-boxes, i.icon-chef-hat),
div[class*="isolate"][class*="rounded-full"][class*="h-[24px]"]:has(i.icon-boxes, i.icon-chef-hat) {
  background: rgba(78, 227, 212, 0.1) !important; border-color: rgba(78, 227, 212, 0.38) !important;
}
span[data-tooltip-trigger] > div:has(i.icon-boxes, i.icon-chef-hat) :is(i, span),
div[class*="isolate"][class*="rounded-full"][class*="h-[24px]"]:has(i.icon-boxes, i.icon-chef-hat) :is(i, span) { color: #4ee3d4 !important; }
/* the coin's Token Info tiles, the same way: a tile with nothing counted behind it (snipers, insiders, pro traders) goes and the other
   tiles of its row take the room (three rows of two); dev and bundlers in teal */
div[class*="h-[55px]"][class*="rounded-[4px]"]:has(i.ri-crosshair-2-line, i.ri-ghost-line, i.icon-pro-trader) { display: none !important; }
div[class*="h-[55px]"][class*="rounded-[4px]"]:has(i.icon-boxes, i.icon-chef-hat) { border-color: rgba(78, 227, 212, 0.38) !important; background: rgba(78, 227, 212, 0.07) !important; }
div[class*="h-[55px]"][class*="rounded-[4px]"]:has(i.icon-boxes, i.icon-chef-hat) > div:first-child { color: #4ee3d4 !important; }
/* (Lead 10-18, the site chat's open question) explorer links to a trader's WALLET are inert too: the market's added buyers are empty
   accounts on an explorer. Axiom's own wallet window (a click on the address) stays and shows Utopia's book. */
a[href*="solscan.io/account/"]:not(.ut-tx a), a[href*="explorer.solana.com/address/"], a[href*="solana.fm/address/"] { pointer-events: none !important; text-decoration: none !important; cursor: default !important; }
a[data-row-accessory="scanner"][href*="/account/"] { display: none !important; }

/* ---------- header group ---------- */
.ut-hdr { display: flex; align-items: center; gap: 6px; flex-shrink: 0; margin-right: 8px; font-family: var(--ut-sans); }
.ut-hbtn {
  display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--ut-stroke2); background: transparent; color: var(--ut-text); font: inherit; font-size: 12.5px;
  font-weight: 500; cursor: pointer; white-space: nowrap; text-decoration: none; transition: background-color 120ms ease, border-color 120ms ease;
}
.ut-hbtn:hover { background: rgba(255, 255, 255, 0.045); border-color: rgb(70 74 90); }
.ut-hbtn i { font-size: 15px; color: var(--ut-text2); }
.ut-hbtn[hidden] { display: none !important; }
.ut-chip { max-width: 420px; border-color: rgba(78, 227, 212, 0.26); background: linear-gradient(90deg, rgba(78, 227, 212, 0.09), rgba(78, 227, 212, 0.015)); }
.ut-chip:hover { border-color: rgba(78, 227, 212, 0.5); background: linear-gradient(90deg, rgba(78, 227, 212, 0.14), rgba(78, 227, 212, 0.04)); }
.ut-chip-dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--ut-a); flex-shrink: 0; }
.ut-chip-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--ut-a); opacity: 0; animation: ut-ping 2.4s ease-out infinite; }
@keyframes ut-ping { 0% { transform: scale(0.5); opacity: 0.7; } 80%, 100% { transform: scale(1.5); opacity: 0; } }
.ut-chip-k { color: var(--ut-a); font-weight: 600; }
.ut-chip-v { color: var(--ut-text); overflow: hidden; text-overflow: ellipsis; min-width: 0; font-variant-numeric: tabular-nums; }
.ut-round i { color: var(--ut-gold); }
.ut-round-c { min-width: 40px; font-variant-numeric: tabular-nums; font-weight: 600; font-family: var(--ut-mono-f); font-size: 12px; }
.ut-round-p { min-width: 56px; color: var(--ut-gold); font-variant-numeric: tabular-nums; }
.ut-acct { padding-left: 6px; border-color: rgba(78, 227, 212, 0.38); background: rgba(78, 227, 212, 0.07); }
.ut-acct:hover { border-color: rgba(78, 227, 212, 0.65); background: rgba(78, 227, 212, 0.12); }
.ut-acct-ring {
  --p: 1; width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0;
  background: conic-gradient(var(--ut-a) calc(var(--p) * 360deg), rgba(78, 227, 212, 0.16) 0);
  -webkit-mask: radial-gradient(circle 6px, transparent 98%, #000 100%); mask: radial-gradient(circle 6px, transparent 98%, #000 100%);
}
.ut-acct-ring.wait { background: conic-gradient(var(--ut-gold) calc(var(--p) * 360deg), rgba(243, 207, 122, 0.16) 0); }
.ut-acct-bal { min-width: 62px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ut-hbtn.ut-acct.low { border-color: rgba(243, 207, 122, 0.55); background: rgba(243, 207, 122, 0.08); }
.ut-hbtn.ut-acct.low .ut-acct-bal { color: var(--ut-gold); }
.ut-ca .ut-ca-k { font-weight: 700; color: var(--ut-text2); letter-spacing: 0.04em; font-size: 11px; }
.ut-ca .ut-ca-v { font-family: var(--ut-mono-f); font-size: 12px; min-width: 72px; }
.ut-x-btn { width: 32px; padding: 0; justify-content: center; }
.ut-x-btn svg { color: var(--ut-text2); }
.ut-x-btn:hover svg { color: var(--ut-text); }
/* the nav keeps its five links at every width: the chip gives way first */
.ut-chip-s { display: none; color: var(--ut-text); font-variant-numeric: tabular-nums; }
@media (max-width: 1880px) { .ut-chip-k, .ut-chip-v { display: none; } .ut-chip-s { display: inline; } .ut-chip { max-width: 290px; } }
@media (max-width: 1700px) { .ut-chip { display: none; } }
@media (max-width: 1240px) { .ut-round-p { display: none; } }
.ut-hdr.has-ca .ut-chip-k, .ut-hdr.has-ca .ut-chip-v { display: none; }
.ut-hdr.has-ca .ut-chip-s { display: inline; }
.ut-hdr.has-ca .ut-chip { max-width: 270px; }
@media (max-width: 1880px) { .ut-hdr.has-ca .ut-chip { display: none; } }
@media (max-width: 1700px) { .ut-hdr.has-ca .ut-round-p, .ut-hdr.has-ca .ut-ca .ut-ca-v { display: none; } .ut-hdr.has-ca .ut-ca { padding: 0 10px; } }

/* the nav while a Utopia page is up: its own link is the selected one */
html[data-ut-page] #platform-layout a[href] > button.text-primaryBlue { color: rgb(var(--text-primary)) !important; }
#platform-layout a[data-ut-sel] > button, html[data-ut-page] #platform-layout a[data-ut-sel] > button { color: rgb(var(--primary-color)) !important; }

/* ---------- windows ---------- */
.ut-back { position: fixed; inset: 0; z-index: 2147483000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(2, 4, 6, 0.72); animation: ut-fade 140ms ease-out; font-family: var(--ut-sans); }
@keyframes ut-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ut-rise { from { transform: translateY(10px) scale(0.99); opacity: 0; } to { transform: none; opacity: 1; } }
.ut-modal {
  position: relative; max-height: calc(100vh - 40px); max-width: 100%; overflow: auto; color: var(--ut-text);
  background: linear-gradient(180deg, #10151a 0%, var(--ut-panel) 180px); border: 1px solid var(--ut-stroke2);
  border-radius: 12px; box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  animation: ut-rise 220ms cubic-bezier(0.16, 1, 0.3, 1); font-family: var(--ut-sans); scrollbar-width: thin;
}
.ut-x { position: absolute; top: 12px; right: 12px; z-index: 3; width: 32px; height: 32px; border-radius: 8px; border: 0; cursor: pointer; background: rgba(6, 8, 11, 0.55); color: var(--ut-text2); font-size: 18px; display: flex; align-items: center; justify-content: center; }
.ut-x:hover { background: rgba(255, 255, 255, 0.08); color: var(--ut-text); }
.ut-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; line-height: 1; padding: 0 18px; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; border: 1px solid transparent; white-space: nowrap; transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease; flex: 0 0 auto; width: auto; }
.ut-btn:disabled { opacity: 0.4; cursor: default; }
.ut-sm { height: 34px; padding: 0 14px; font-size: 13px; }
.ut-primary { background: var(--ut-a); color: #021411; }
.ut-primary:hover:not(:disabled) { background: var(--ut-a2); }
.ut-gold { background: var(--ut-gold); color: #1c1405; }
.ut-gold:hover:not(:disabled) { background: #f8dc98; }
.ut-quiet { background: transparent; color: var(--ut-text); border-color: var(--ut-stroke2); }
.ut-quiet:hover { background: rgba(255, 255, 255, 0.05); border-color: rgb(70 74 90); }
.ut-wide { width: 100%; }
.ut-link { background: none; border: 0; color: var(--ut-text3); font: inherit; font-size: 13px; cursor: pointer; padding: 6px 0; }
.ut-link:hover { color: var(--ut-text); }
.ut-toast { position: fixed; bottom: 52px; left: 50%; transform: translateX(-50%); z-index: 2147483600; padding: 10px 16px; border-radius: 8px; background: var(--ut-raise); border: 1px solid var(--ut-stroke2); color: var(--ut-text); font-size: 13px; font-family: var(--ut-sans); }
.ut-toast-error { border-color: rgba(236, 57, 122, 0.5); }

/* the first visit */
.ut-welcome { width: 680px; padding: 0; overflow: hidden; }
.ut-w-hero {
  position: relative; height: 268px; border-bottom: 1px solid var(--ut-stroke);
  background: radial-gradient(90% 120% at 85% 0%, rgba(78, 227, 212, 0.14), transparent 62%), radial-gradient(70% 90% at 0% 100%, rgba(236, 57, 122, 0.07), transparent 60%), linear-gradient(180deg, #0a1216, #080b0e);
}
.ut-w-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px); background-size: 34px 34px; mask: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); pointer-events: none; }
.ut-w-hero.live { cursor: pointer; }
.ut-w-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 400ms ease; }
.ut-w-hero.art .ut-w-art { opacity: 0.42; }
.ut-w-hero.art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 9, 12, 0.35), rgba(6, 9, 12, 0.82)); pointer-events: none; }
.ut-w-hero > .ut-w-cv, .ut-w-hero > .ut-w-tag, .ut-w-hero > .ut-w-lg, .ut-w-hero > .ut-w-rm { z-index: 1; }
.ut-w-cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ut-w-tag { position: absolute; left: 14px; top: 14px; display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 10px 0 4px; border-radius: 8px; background: rgba(6, 8, 11, 0.62); border: 1px solid var(--ut-stroke); font-size: 12px; }
.ut-w-tag:empty { display: none; }
.ut-w-tag b { font-weight: 650; font-size: 13px; }
.ut-w-ic { width: 22px; height: 22px; border-radius: 6px; object-fit: cover; background: #10151a; }
img[data-ut-logo] { object-fit: cover; object-view-box: inset(23%); border-radius: 7px; }
.ut-w-tag span { color: var(--ut-text3); }
.ut-w-tag span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--ut-a); vertical-align: 1px; box-shadow: 0 0 0 3px rgba(78, 227, 212, 0.16); }
.ut-w-lg { position: absolute; right: 58px; top: 14px; display: flex; gap: 8px; }
.ut-w-l { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; padding: 5px 10px; border-radius: 8px; background: rgba(6, 8, 11, 0.6); border: 1px solid var(--ut-stroke); min-width: 92px; }
.ut-w-l span { font-size: 11px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.ut-w-l span::before { content: ""; width: 14px; height: 3px; border-radius: 2px; }
.ut-w-l b { font-size: 16px; font-weight: 650; font-variant-numeric: tabular-nums; font-family: var(--ut-mono-f); }
.ut-w-l-ut span { color: var(--ut-a); } .ut-w-l-ut span::before { background: var(--ut-a); } .ut-w-l-ut b { color: var(--ut-a); }
.ut-w-l-real span { color: var(--ut-real); } .ut-w-l-real span::before { background: repeating-linear-gradient(90deg, var(--ut-real) 0 4px, transparent 4px 7px); } .ut-w-l-real b { color: var(--ut-real); }
.ut-w-rm { position: absolute; left: 18px; bottom: 12px; font-size: 12px; color: var(--ut-text2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ut-w-rm b { font-weight: 600; color: var(--ut-a); }
.ut-w-body { padding: 24px 30px 26px; }
.ut-w-kicker { font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ut-a); }
.ut-w-title { margin: 8px 0 0; font-size: 32px; line-height: 1.08; font-weight: 650; letter-spacing: -0.025em; }
.ut-w-sub { margin: 12px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--ut-text2); max-width: 600px; }
.ut-w-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.ut-w-fact { padding: 13px 14px; border-radius: 10px; background: rgba(255, 255, 255, 0.025); border: 1px solid var(--ut-stroke); display: flex; flex-direction: column; gap: 5px; }
.ut-w-fact b { font-size: 15.5px; font-weight: 650; }
.ut-w-fact span { font-size: 12.5px; color: var(--ut-text3); line-height: 1.45; }
.ut-w-fact:nth-child(2) b { color: var(--ut-gold); }
.ut-w-foot { display: flex; align-items: center; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.ut-w-note { font-size: 12px; color: var(--ut-text3); margin-left: 6px; flex: 1 1 200px; }

/* connect */
.ut-connect { width: 420px; padding: 30px 30px 22px; text-align: center; }
.ut-c-mark { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 14px; background: linear-gradient(180deg, #11201f, #0b1213); border: 1px solid rgba(78, 227, 212, 0.25); display: flex; align-items: center; justify-content: center; }
.ut-c-mark svg { width: 34px; height: 34px; }
.ut-c-title { margin: 0; font-size: 20px; font-weight: 650; }
.ut-c-sub { margin: 10px 0 20px; font-size: 13.5px; line-height: 1.55; color: var(--ut-text2); }
.ut-c-alt { margin-top: 10px; font-size: 12px; color: var(--ut-text3); }
.ut-c-err { min-height: 18px; margin-top: 8px; font-size: 12.5px; color: var(--ut-real); }

/* the account */
.ut-modal.ut-acctw { width: 480px; padding: 24px; }
.ut-a-head { display: flex; align-items: center; gap: 12px; padding-right: 36px; }
.ut-a-title { font-size: 18px; font-weight: 650; }
.ut-a-addr { margin-top: 2px; padding: 0; border: 0; background: none; cursor: pointer; font-family: var(--ut-mono-f); font-size: 12px; color: var(--ut-text3); text-align: left; }
.ut-a-addr:disabled { cursor: default; font-family: var(--ut-sans); }
.ut-a-addr:hover { color: var(--ut-text); }
.ut-av { width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; display: inline-block; }
.ut-av-lg { width: 38px; height: 38px; }
.ut-a-bal { margin-top: 18px; padding: 16px 16px 14px; border-radius: 10px; background: var(--ut-raise); border: 1px solid var(--ut-stroke); }
.ut-a-bal span { font-size: 12px; color: var(--ut-text3); }
.ut-a-bal b { display: block; margin-top: 4px; font-size: 30px; font-weight: 650; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ut-a-bar { margin-top: 12px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.ut-a-bar i { display: block; height: 100%; background: var(--ut-a); transform-origin: left; transition: transform 300ms ease; }
.ut-a-bar i.low { background: var(--ut-gold); }
.ut-a-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.ut-a-cell { padding: 12px 14px; border-radius: 10px; background: var(--ut-raise); border: 1px solid var(--ut-stroke); display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.ut-a-cell span { font-size: 12px; color: var(--ut-text3); }
.ut-a-cell b { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ut-a-reload { margin-top: 12px; padding: 14px 16px; border-radius: 10px; border: 1px solid rgba(243, 207, 122, 0.26); background: linear-gradient(90deg, rgba(243, 207, 122, 0.09), rgba(243, 207, 122, 0.02)); display: flex; align-items: center; gap: 14px; }
.ut-a-rtx { flex: 1; min-width: 0; }
.ut-a-rt { font-weight: 650; font-size: 14.5px; }
.ut-a-rs { font-size: 12.5px; color: var(--ut-text2); margin-top: 3px; line-height: 1.4; }
.ut-a-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }

/* ---------- THE PAGES: Leaderboard and Ledger, over the content area ---------- */
.ut-page {
  position: fixed; left: 0; right: 0; top: 64px; bottom: 36px; z-index: 150; overflow-y: auto; overflow-x: hidden;
  background: radial-gradient(1200px 380px at 50% -120px, rgba(78, 227, 212, 0.08), transparent 70%), rgb(6 7 11); color: var(--ut-text);
  font-family: var(--ut-sans); animation: ut-fade 120ms ease-out; scrollbar-width: thin; scrollbar-color: #3a3f4f transparent;
}
.ut-p-wrap { max-width: 1180px; margin: 0 auto; padding: 26px 32px 0; min-height: 100%; display: flex; flex-direction: column; box-sizing: border-box; }
.ut-p-head { display: flex; align-items: flex-end; gap: 16px; }
.ut-p-titles { flex: 1; min-width: 0; }
.ut-p-title { margin: 0; font-size: 26px; line-height: 1.15; font-weight: 650; letter-spacing: -0.02em; }
.ut-p-sub { font-size: 13px; color: var(--ut-text3); margin-top: 5px; min-height: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ut-p-close { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--ut-stroke2); background: transparent; color: var(--ut-text2); font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ut-p-close:hover { background: rgba(255, 255, 255, 0.06); color: var(--ut-text); }
.ut-tabs { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--ut-raise); border: 1px solid var(--ut-stroke); flex-shrink: 0; }
.ut-tab { height: 30px; padding: 0 14px; border-radius: 999px; border: 0; background: transparent; color: var(--ut-text2); font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; white-space: nowrap; }
.ut-tab:hover { color: var(--ut-text); }
.ut-tab.on { background: var(--ut-ad); color: var(--ut-a); }
.ut-p-hero { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 10px; margin-top: 20px; min-height: 98px; }
.ut-p-hero-sm { grid-template-columns: repeat(4, 1fr); }
.ut-p-hero-sm .ut-hc { min-height: 74px; }
.ut-hc-me { border-color: rgba(78, 227, 212, 0.3); }
.ut-hc b.ut-dim { font-size: 17px; font-weight: 500; }
.ut-hc { position: relative; padding: 14px 16px; border-radius: 10px; background: var(--ut-raise); border: 1px solid var(--ut-stroke); display: flex; flex-direction: column; justify-content: center; gap: 4px; min-width: 0; overflow: hidden; }
.ut-hc span { font-size: 12px; color: var(--ut-text3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ut-hc b { font-size: 22px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.ut-hc em { font-style: normal; font-size: 12px; color: var(--ut-text3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ut-hc-prize { border-color: rgba(243, 207, 122, 0.3); background: radial-gradient(120% 140% at 0% 0%, rgba(243, 207, 122, 0.14), transparent 60%), var(--ut-raise); }
.ut-hc-prize b { font-size: 30px; }
.ut-hc-mark { position: absolute; right: 14px; top: 50%; transform: translateY(-50%) rotate(-8deg); font-size: 64px; line-height: 1; color: rgba(243, 207, 122, 0.08); pointer-events: none; }
#ut-p-clock { font-family: var(--ut-mono-f); font-size: 26px; letter-spacing: -0.02em; }
.ut-row-sep { height: 30px; background: rgba(255, 255, 255, 0.015); color: var(--ut-text3); font-size: 11.5px; }
.ut-row-sep > span:nth-child(2) { text-align: left !important; }
.ut-open .ut-rank i { color: var(--ut-text3); }
.ut-av-open { background: transparent; border: 1px dashed rgb(60 64 78); box-sizing: border-box; }
.ut-open-t { font-weight: 500; color: var(--ut-text3); font-size: 13px; }
.ut-prize { display: flex; align-items: baseline; justify-content: flex-end; gap: 8px; }
.ut-prize em { font-style: normal; font-size: 12px; color: var(--ut-text3); min-width: 38px; text-align: right; font-variant-numeric: tabular-nums; }
.ut-top .ut-prize em, .ut-paid .ut-prize em { color: rgba(243, 207, 122, 0.75); }
.ut-p-split { display: flex; gap: 3px; margin-top: 10px; height: 46px; }
.ut-p-split[hidden] { display: none; }
.ut-sp { flex: 1 1 0; min-width: 66px; border-radius: 6px; background: rgba(243, 207, 122, 0.06); border: 1px solid rgba(243, 207, 122, 0.14); display: flex; flex-direction: column; justify-content: center; padding: 0 9px; overflow: hidden; }
.ut-sp span { font-size: 10.5px; color: var(--ut-text3); }
.ut-sp b { font-size: 12.5px; font-weight: 600; color: var(--ut-gold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ut-sp1 { background: rgba(243, 207, 122, 0.16); border-color: rgba(243, 207, 122, 0.4); }
.ut-sp2 { background: rgba(243, 207, 122, 0.11); } .ut-sp3 { background: rgba(243, 207, 122, 0.09); }
.ut-p-list { margin-top: 16px; border: 1px solid var(--ut-stroke); border-radius: 10px; overflow: hidden; background: rgba(12, 15, 19, 0.6); }
.ut-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) 90px 130px 170px 150px; align-items: center; gap: 12px; height: 48px; padding: 0 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.04); font-size: 13.5px; }
.ut-row:last-child { border-bottom: 0; }
.ut-row:not(.ut-row-h):hover { background: rgba(255, 255, 255, 0.02); }
.ut-row span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ut-row > span:nth-child(n+3) { text-align: right; }
.ut-row-h { height: 38px; background: rgba(255, 255, 255, 0.02); color: var(--ut-text3); font-size: 12px; font-weight: 500; }
.ut-row-sec { margin-top: 0; border-top: 1px solid var(--ut-stroke); }
.ut-led { grid-template-columns: 80px 64px minmax(0, 1fr) 150px 150px 180px; }
.ut-led > span:nth-child(3) { text-align: left !important; }
.ut-rnd { grid-template-columns: 80px minmax(0, 1fr) 100px 150px 150px 150px; }
.ut-rank i { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 26px; border-radius: 50%; font-style: normal; font-weight: 650; font-size: 12.5px; color: var(--ut-text2); font-variant-numeric: tabular-nums; }
.ut-top1 .ut-rank i, .ut-rank.ut-top1 i { background: linear-gradient(180deg, #f8dc8f, #c99a3c); color: #261a03; box-shadow: 0 0 14px rgba(243, 207, 122, 0.35); }
.ut-top2 .ut-rank i, .ut-rank.ut-top2 i { background: linear-gradient(180deg, #eef2f5, #9ea9b2); color: #12171b; }
.ut-top3 .ut-rank i, .ut-rank.ut-top3 i { background: linear-gradient(180deg, #f0bf8e, #a8683a); color: #1e0f04; }
.ut-paid .ut-rank i { color: var(--ut-gold); box-shadow: inset 0 0 0 1px rgba(243, 207, 122, 0.35); }
.ut-top { background: linear-gradient(90deg, rgba(243, 207, 122, 0.05), transparent 40%); }
.ut-who { display: flex; align-items: center; gap: 10px; }
.ut-who a { font-weight: 550; font-family: var(--ut-mono-f); font-size: 13px; color: var(--ut-text); text-decoration: none; overflow: hidden; text-overflow: ellipsis; }
.ut-who a:hover { color: var(--ut-a); }
.ut-you { font-style: normal; font-size: 11px; font-weight: 600; color: var(--ut-a); padding: 2px 7px; border-radius: 999px; background: var(--ut-ad); }
.ut-pnl { font-weight: 650; }
.ut-mine { background: rgba(78, 227, 212, 0.06) !important; box-shadow: inset 2px 0 0 var(--ut-a); }
.ut-tx { display: flex; align-items: center; justify-content: flex-end; gap: 5px; color: var(--ut-text3); }
.ut-tx a { color: var(--ut-a); text-decoration: none; font-family: var(--ut-mono-f); font-size: 12.5px; }
.ut-tx a:hover { text-decoration: underline; }
.ut-tx i { font-size: 13px; color: var(--ut-text3); }
.ut-empty { padding: 56px 20px; text-align: center; color: var(--ut-text3); font-size: 13.5px; }
.ut-empty-sm { padding: 26px 20px; }
.ut-p-me { position: sticky; bottom: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; padding: 10px 0 12px; font-size: 13px; color: var(--ut-text2); background: rgb(6 7 11); box-shadow: 0 -14px 14px -6px rgb(6 7 11); }
.ut-p-wrap > .ut-p-list { margin-bottom: 14px; }

/* ---------- a coin: the block in its stats row ---------- */
.ut-cb { display: flex; align-items: stretch; flex-shrink: 0; height: 44px; margin: 0 8px 0 14px; border-radius: 8px; border: 1px solid rgba(78, 227, 212, 0.2); background: linear-gradient(90deg, rgba(78, 227, 212, 0.06), rgba(78, 227, 212, 0.015)); font-family: var(--ut-sans); overflow: hidden; }
.ut-cb-it { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 3px; padding: 0 12px; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; text-align: left; }
.ut-cb-it + .ut-cb-it { border-left: 1px solid rgba(255, 255, 255, 0.06); }
.ut-cb-it:hover { background: rgba(255, 255, 255, 0.035); }
.ut-cb-k { display: flex; align-items: center; gap: 6px; font-size: 12px; line-height: 16px; color: rgb(var(--text-secondary)); white-space: nowrap; }
.ut-cb-v { font-size: 14px; line-height: 18px; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; color: rgb(var(--text-primary)); }
.ut-cb-ghost .ut-cb-v { min-width: 58px; }
.ut-cb-rm .ut-cb-v { min-width: 112px; }
.ut-cb-dump .ut-cb-v { min-width: 62px; }
.ut-cb-sw { width: 16px; height: 2px; border-radius: 1px; background: repeating-linear-gradient(90deg, var(--ut-real) 0 4px, transparent 4px 7px); }
.ut-cb-ghost.off .ut-cb-sw { background: repeating-linear-gradient(90deg, rgb(119 122 140) 0 4px, transparent 4px 7px); }
.ut-cb-ghost.off .ut-cb-v { color: var(--ut-text3) !important; }
.ut-cb[data-fit="m"] { height: auto; margin: 0; border: 0; background: none; border-radius: 0; flex-shrink: 0; }
.ut-cb[data-fit="m"] .ut-cb-rm, .ut-cb[data-fit="m"] .ut-cb-dump { display: none; }
.ut-cb[data-fit="m"] .ut-cb-it { flex-direction: row; align-items: flex-end; gap: 4px; padding: 2px 4px; }
.ut-cb[data-fit="m"] .ut-cb-k { font-size: 11px; color: rgb(var(--text-tertiary)); }
.ut-cb[data-fit="m"] .ut-cb-v { min-width: 0; }
.ut-macct { height: 32px; padding: 0 10px 0 5px; gap: 6px; font-size: 12.5px; }
.ut-macct .ut-acct-bal { min-width: 0; }
.ut-mca { height: 32px; padding: 0 9px; gap: 5px; font-size: 12px; font-weight: 700; letter-spacing: 0.03em; color: var(--ut-text2); }
.ut-mca i { font-size: 13px; }
.ut-cb[data-fit="c1"] .ut-cb-dump, .ut-cb[data-fit="c2"] .ut-cb-dump, .ut-cb[data-fit="c2"] .ut-cb-rm { display: none; }

/* ---------- a coin: with and without its bundle (window) ---------- */
.ut-modal.ut-cmp { width: 960px; padding: 24px; }
.ut-g-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-right: 40px; }
.ut-g-title { font-size: 20px; font-weight: 650; letter-spacing: -0.01em; }
.ut-g-sub { font-size: 12.5px; color: var(--ut-text3); margin-top: 4px; line-height: 1.45; }
.ut-g-legend { display: flex; gap: 14px; font-size: 12px; font-weight: 600; padding-top: 6px; flex-shrink: 0; }
.ut-g-legend span::before { content: ""; display: inline-block; width: 16px; height: 3px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.ut-lg-ut { color: var(--ut-a); } .ut-lg-ut::before { background: var(--ut-a); }
.ut-lg-real { color: var(--ut-real); } .ut-lg-real::before { background: repeating-linear-gradient(90deg, var(--ut-real) 0 4px, transparent 4px 7px); }
.ut-g-canvas { display: block; width: 100%; height: 340px; margin-top: 14px; border-radius: 10px; background: linear-gradient(180deg, #0a1013, #080b0e); border: 1px solid var(--ut-stroke); }
.ut-g-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.ut-g-cell { padding: 12px 14px; border-radius: 10px; background: var(--ut-raise); border: 1px solid var(--ut-stroke); display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.ut-g-cell span { font-size: 12px; color: var(--ut-text3); }
.ut-g-cell b { font-size: 17px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.ut-g-hi { border-color: rgba(78, 227, 212, 0.3); } .ut-g-hi b { color: var(--ut-a); }
.ut-g-lo b { color: var(--ut-real); }

/* ---------- laptop and phone ---------- */
@media (max-width: 1400px) {
  .ut-row { grid-template-columns: 48px minmax(0, 1fr) 64px 100px 140px 150px; padding: 0 14px; }
  .ut-p-wrap { padding: 22px 24px 0; }
}
@media (max-width: 760px) {
  .ut-back { padding: 10px; align-items: flex-end; }
  .ut-welcome, .ut-modal.ut-cmp, .ut-modal.ut-acctw, .ut-connect { width: 100%; }
  .ut-w-hero { height: 210px; }
  .ut-w-lg { right: 52px; } .ut-w-l { min-width: 0; padding: 4px 8px; } .ut-w-l b { font-size: 14px; }
  .ut-w-tag { top: auto; bottom: 30px; left: 10px; height: 26px; }
  .ut-w-rm { left: 14px; bottom: 10px; font-size: 11.5px; }
  .ut-w-rm-s { display: none; }
  .ut-w-body { padding: 18px 18px 18px; }
  .ut-w-title { font-size: 25px; }
  .ut-w-sub { font-size: 13.5px; }
  .ut-w-facts { grid-template-columns: 1fr; gap: 6px; } .ut-w-fact { flex-direction: row; align-items: baseline; gap: 10px; padding: 10px 12px; } .ut-w-fact b { flex: 0 0 104px; font-size: 14px; }
  .ut-w-note { margin-left: 0; flex-basis: 100%; }
  .ut-g-grid { grid-template-columns: 1fr 1fr; }
  .ut-a-grid { grid-template-columns: 1fr 1fr 1fr; }
  .ut-p-wrap { padding: 16px 12px 0; }
  .ut-p-head { flex-wrap: wrap; } .ut-p-titles { flex-basis: calc(100% - 50px); } .ut-tabs { order: 3; width: 100%; overflow-x: auto; } .ut-tab { flex: 1; padding: 0 8px; }
  .ut-p-hero, .ut-p-hero-sm { grid-template-columns: 1fr 1fr; }
  .ut-hc-prize { grid-column: 1 / -1; }
  .ut-p-hero { gap: 8px; margin-top: 14px; min-height: 0; }
  .ut-hc { padding: 10px 12px; gap: 3px; }
  .ut-hc-paid { display: none; }
  .ut-hc-hold b { font-size: 16px; }
  #ut-p-clock { font-size: 22px; }
  .ut-p-me { font-size: 12px; min-height: 52px; flex-wrap: nowrap; }
  .ut-p-me .ut-btn { height: 34px; padding: 0 14px; font-size: 13px; }
  .ut-p-sub { white-space: normal; }
  .ut-hc b { font-size: 18px; } .ut-hc-prize b { font-size: 24px; }
  .ut-p-split { display: none; }
  .ut-row { grid-template-columns: 34px minmax(0, 1fr) 104px 64px; gap: 8px; padding: 0 10px; font-size: 12.5px; }
  .ut-row > span:nth-child(3), .ut-row > span:nth-child(4) { display: none; }
  .ut-prize b { display: none; }
  .ut-row-sep { grid-template-columns: 34px 1fr; }
  .ut-led { grid-template-columns: 40px 34px minmax(0, 1fr) 84px 72px; } .ut-led > span:nth-child(4) { display: none; }
  .ut-rnd { grid-template-columns: 40px minmax(0, 1fr) 80px; } .ut-rnd > span:nth-child(3), .ut-rnd > span:nth-child(4), .ut-rnd > span:nth-child(6) { display: none; }
}

/* (Lead 10-21) the Connect card: paste the payout address, the wallet below it */
.ut-c-paste { display: flex; gap: 8px; align-items: stretch; }
.ut-c-in { flex: 1; min-width: 0; height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--ut-stroke); background: rgba(255, 255, 255, 0.03); color: inherit; font: 500 13px var(--ut-mono-f, ui-monospace, monospace); outline: none; }
.ut-c-in:focus { border-color: rgba(78, 227, 212, 0.55); box-shadow: 0 0 0 3px rgba(78, 227, 212, 0.12); }
.ut-c-in::placeholder { color: var(--ut-text3); font-family: inherit; }
.ut-c-paste .ut-btn { flex: 0 0 auto; height: 40px; padding: 0 16px; }
.ut-c-or { margin: 14px 0 10px; font-size: 12px; color: var(--ut-text3); text-align: center; }
