/* "Luna esmeralda": taken from the logo. Neutral black, the candle's emerald for bidding and amounts,
   moon grey for #2, gold only for #1. Dark only: the logo is drawn for a night sky. */
:root {
  --bg: #0b0d12;
  --panel: #13171d;
  --panel-2: #1a2028;
  --line: #252d35;
  --text: #eef2ee;
  --muted: #97a29b;
  --accent: #4ade80;
  --accent-deep: #22c55e;
  --accent-ink: #03140a;
  --gold: #f5c84b;
  --silver: #d9dfd6;
  --bronze: #d6966a;
  --up: #4ade80;
  --down: #f87171;
  --link: #a7f3d0;
  --radius: 14px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: radial-gradient(900px 420px at 50% -120px, rgba(34, 197, 94, .16), transparent 70%) fixed, var(--bg);
  color: var(--text);
  font: 15px/1.5 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
/* the logo's sparkles and star dots, tiled behind everything */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .8;
  background: url(/stars.svg?v=1) 0 0 / 1200px 900px repeat;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
/* a link inside a sentence is told apart by more than its colour */
p a:not(.btn), li a:not(.btn) { text-decoration: underline; text-underline-offset: 2px; }
.foot p a:not(.btn) { text-decoration: none; }
.foot p a:not(.btn):hover { text-decoration: underline; }
code { font: 13px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.up { color: var(--up); }
.down { color: var(--down); }
/* visually hidden, still read by screen readers and by agents (labels, table captions and headers) */
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; padding: 8px 14px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.skip:focus { top: 8px; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
main:focus { outline: none; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }

/* header */
.top { border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 85%, transparent); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(8px); }
.top-in { display: flex; align-items: center; gap: 20px; height: 58px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 18px; color: var(--text); letter-spacing: -.02em; white-space: nowrap; }
.brand:hover { text-decoration: none; }
/* the moon icon (favicon.svg) next to the site name */
.logo { display: block; flex: none; width: 30px; height: 30px; }
.nav { display: flex; gap: 4px; overflow-x: auto; margin-left: auto; scrollbar-width: none; }
.nav a { color: var(--muted); padding: 6px 10px; border-radius: 8px; white-space: nowrap; font-weight: 500; }
.nav a.on, .nav a:hover { color: var(--text); background: var(--panel-2); text-decoration: none; }

/* tabs + claim */
.tabs { display: flex; justify-content: center; gap: 6px; margin: 28px 0 8px; }
.tabs a { padding: 5px 14px; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); font-weight: 600; font-size: 14px; }
.tabs a.on { background: linear-gradient(180deg, #5ee9a0, var(--accent-deep)); border-color: var(--accent); color: var(--accent-ink); }
.tabs a:hover { text-decoration: none; }
/* board front pages: the animated logo above the tabs. Decorative, so it lives here and not in the markup;
   the moon inside is a pre-rendered image, only the candle energy, debris and dust are animated. */
/* no gap above: the light beams in the logo run right up to the menu bar */
.tabs:has(+ .claim) { flex-wrap: wrap; margin-top: 0; }
.tabs:has(+ .claim)::before {
  content: ""; flex: 0 0 100%; height: clamp(210px, 32vw, 330px); margin-bottom: 4px;
  background: url(/logo-hero.svg?v=4) center / contain no-repeat;
}
@media (prefers-reduced-motion: reduce) {
  .tabs:has(+ .claim)::before { background-image: url(/logo-hero-still.svg?v=4); }
}
.reset { text-align: center; color: var(--muted); margin: 0; font-size: 14px; }
.claim { text-align: center; margin: 10px 0 28px; }
/* the heading is only the words; the amount and its buttons sit next to it, as one line */
.claim-title { font-size: clamp(26px, 5vw, 44px); font-weight: 700; letter-spacing: -.03em; margin: 8px 0 18px; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px; }
.claim-title h1 { font: inherit; letter-spacing: inherit; margin: 0; }
.stepper { display: inline-flex; align-items: center; gap: 6px; }
.stepper button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel); color: var(--text); font-size: 18px; cursor: pointer; }
.amt { color: var(--accent); display: inline-flex; align-items: baseline; }
.amt input { width: 5.2ch; font: inherit; color: var(--accent); background: transparent; border: 0; border-bottom: 2px dashed color-mix(in srgb, var(--accent) 50%, transparent); outline: none; text-align: left; padding: 0; }
.claim-row { display: grid; grid-template-columns: 150px 1fr 150px auto; gap: 8px; max-width: 880px; margin: 0 auto; }
input, select, textarea {
  font: inherit; color: var(--text); background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; min-width: 0;
}
input:focus, select:focus, textarea:focus { outline: 2px solid color-mix(in srgb, var(--accent) 60%, transparent); outline-offset: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 10px; padding: 10px 18px; font: inherit; font-weight: 700; cursor: pointer; background: linear-gradient(180deg, #5ee9a0, var(--accent-deep)); color: var(--accent-ink); white-space: nowrap; box-shadow: 0 0 22px rgba(74, 222, 128, .2); }
.btn:hover { text-decoration: none; filter: brightness(1.06); }
.btn:disabled { opacity: .5; cursor: default; }
.btn.ghost { background: var(--panel-2); color: var(--text); border: 1px solid var(--line); font-weight: 600; box-shadow: none; }
.btn.danger { color: var(--down); }
/* room for the coin lookup, so its result does not push the board down */
.claim-preview { max-width: 880px; margin: 10px auto 0; min-height: 28px; }
.preview { display: flex; align-items: center; gap: 10px; justify-content: center; color: var(--muted); font-size: 14px; flex-wrap: wrap; }
.preview b { color: var(--text); }
.err { color: var(--down); font-size: 14px; }

/* layout */
.grid { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; }
aside { position: sticky; top: 74px; display: grid; gap: 14px; }

/* rows: the ranking is a real <table> (caption, column headers and one row per coin) drawn as cards. Chromium and Firefox keep
   the table semantics of elements whose display is changed; the caption and header row are hidden (.sr), not removed. */
table.board { display: block; width: 100%; }
.board tbody { display: grid; gap: 10px; }
.row {
  display: grid; grid-template-columns: 46px 52px minmax(0, 1fr) auto; column-gap: 12px; padding: 14px 78px 14px 14px;
  grid-template-areas: "rank logo coin amount" "rank logo mkt mkt" "rank logo meta meta";
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); position: relative;
}
.row > th, .row > td { padding: 0; }
.row > th { font-weight: inherit; text-align: left; }
.row > .rank { grid-area: rank; text-align: center; }
.row-logo-cell { grid-area: logo; align-self: center; }
.row-coin { grid-area: coin; min-width: 0; display: flex; align-items: baseline; }
.row > .amount { grid-area: amount; align-self: baseline; }
.row > .mkt { grid-area: mkt; }
.row > .meta { grid-area: meta; }
.row.r1 { border-color: color-mix(in srgb, var(--gold) 55%, var(--line)); background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 10%, var(--panel)), var(--panel) 60%); }
.row.r2 { border-color: color-mix(in srgb, var(--silver) 35%, var(--line)); }
.row.r3 { border-color: color-mix(in srgb, var(--bronze) 40%, var(--line)); }
.rank { font-weight: 800; font-size: 20px; color: var(--muted); align-self: center; text-align: center; }
.r1 .rank { color: var(--gold); }
.r2 .rank { color: var(--silver); }
.r3 .rank { color: var(--bronze); }
.tlogo { border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; letter-spacing: -.02em; flex: none; position: relative; overflow: hidden; }
.tlogo.av { background: linear-gradient(135deg, var(--a), var(--b)); color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.tlogo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; background: var(--panel-2); }
.row-logo { display: block; }
.row-name { color: var(--text); font-weight: 700; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sym { color: var(--muted); font-weight: 600; font-size: .85em; }
.amount { font-weight: 800; color: var(--accent); font-size: 17px; white-space: nowrap; }
.mkt, .meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: var(--muted); margin-top: 4px; }
.chip { display: inline-block; padding: 1px 8px; border-radius: 99px; background: var(--panel-2); border: 1px solid var(--line); color: var(--text); font-size: 12px; font-weight: 600; }
.chip.alt { color: var(--muted); }
.chip.big { font-size: 14px; padding: 4px 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
/* always visible and in the flow of the listing line: it never sits on top of other text */
.claim-link { background: none; border: 0; padding: 0; color: var(--muted); font: inherit; font-size: 12px; cursor: pointer; }
.claim-link:hover, .claim-link:focus-visible { color: var(--accent); }
.empty { padding: 40px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }

/* side */
.side-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.side-card h2, .side-card h3 { margin: 0 0 8px; font-size: 14px; display: flex; justify-content: space-between; }
.side-card h2 a, .side-card h3 a { font-weight: 500; font-size: 13px; }
.mini { display: flex; align-items: center; gap: 8px; padding: 6px 0; color: var(--text); font-size: 14px; border-top: 1px solid var(--line); }
.mini:first-of-type { border-top: 0; }
.mini:hover { text-decoration: none; }
.mini-rank { color: var(--muted); width: 24px; font-weight: 700; }
.mini-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-name small { display: block; color: var(--muted); font-size: 12px; }
.mini-amt { color: var(--accent); font-weight: 700; }

/* pages */
.page-title { font-size: 32px; letter-spacing: -.02em; margin: 28px 0 6px; display: flex; align-items: center; gap: 10px; }
.lead { color: var(--muted); max-width: 680px; margin-top: 0; }
.section-title { margin-top: 32px; }
.live { background: var(--up); color: #04150d; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 99px; }
.day { margin: 24px 0; }
.day h2 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 20px; }
.day h2 a { color: var(--text); }
.day h2 small { color: var(--muted); font-weight: 500; font-size: 14px; }
.more { display: inline-block; margin-top: 8px; font-size: 14px; }
.pager { display: flex; gap: 16px; justify-content: center; align-items: center; margin: 20px 0; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; color: var(--text); }
.card:hover { text-decoration: none; border-color: var(--accent); }
.card h2, .card h3 { margin: 0; font-size: 1.17em; }
.card p { margin: 6px 0 0; font-size: 14px; }
.prose { max-width: 720px; margin: 28px auto; }
.prose h1 { font-size: 32px; letter-spacing: -.02em; }
.prose li { margin: 6px 0; }
.notice { background: color-mix(in srgb, var(--accent) 12%, var(--panel)); border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line)); padding: 10px 14px; border-radius: 10px; }

/* token page */
.token-head { display: flex; gap: 18px; align-items: center; margin: 28px 0 18px; }
.token-head h1 { margin: 0; font-size: 30px; letter-spacing: -.02em; }
.addr { display: flex; gap: 8px; align-items: center; margin-top: 8px; min-width: 0; }
.addr code { background: var(--panel-2); padding: 4px 8px; border-radius: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.copy { background: none; border: 1px solid var(--line); color: var(--muted); border-radius: 6px; padding: 3px 8px; cursor: pointer; font: inherit; font-size: 12px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 18px 0; }
.stats div { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.stats b { display: block; font-size: 22px; letter-spacing: -.02em; }
.stats span { color: var(--muted); font-size: 13px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.faq { margin: 28px 0; max-width: 760px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; margin: 8px 0; }
.faq summary { font-weight: 600; cursor: pointer; }
.history { list-style: none; padding: 0; }
.history li { padding: 6px 0; border-bottom: 1px solid var(--line); }

/* modal / checkout */
/* a native <dialog>: the full-screen box is the dimmed backdrop and centres the sheet, as the old overlay did */
.modal { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; border: 0; color: inherit; overflow: hidden; background: rgba(0,0,0,.6); display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 50; }
.modal:not([open]) { display: none; }
.modal::backdrop { background: transparent; }
.sheet { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; width: 100%; max-width: 480px; max-height: calc(100vh - 32px); overflow: auto; padding: 22px; position: relative; }
.sheet h1, .sheet h2 { margin: 0 0 4px; font-size: 22px; }
.sheet .x { position: absolute; top: 12px; right: 12px; background: none; border: 0; color: var(--muted); font-size: 22px; cursor: pointer; }
.sheet label, .sheet legend { display: block; font-size: 13px; color: var(--muted); margin: 14px 0 6px; }
.sheet legend { padding: 0; }
.sheet .full { width: 100%; }
.sheet label.radio { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; color: var(--text); font-size: 14px; }
.sheet label.radio input { width: auto; margin: 0; }
.sheet textarea { display: block; resize: vertical; }
.coin-grid { display: grid; grid-template-columns: 130px 1fr; gap: 6px; }
/* messages next to their field; the room for lookups is kept so they do not move the form */
.field-error { margin: 4px 0 0; font-size: 13px; }
.field-error:empty { display: none; }
.sheet [aria-invalid=true] { border-color: var(--down); }
.preview-slot { min-height: 64px; margin-top: 8px; }
.hint-slot { min-height: 1.5em; }
@media (max-width: 560px) {
  .preview-slot { min-height: 88px; }
  .hint-slot { min-height: 2.8em; }
}
.nets { display: grid; gap: 6px; }
.net { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.net:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--panel)); }
.net input { width: auto; }
.payline { display: flex; align-items: center; gap: 8px; background: var(--panel-2); border-radius: 10px; padding: 10px 12px; margin: 6px 0; }
.payline code { flex: 1; overflow-wrap: anywhere; font-size: 14px; }
.payline.big code { font-size: 20px; font-weight: 700; color: var(--accent); }
/* room for the code, which app.js draws a moment after the page loads */
.qr { display: flex; justify-content: center; margin: 14px 0; min-height: 200px; }
.qr img, .qr svg { background: #fff; padding: 8px; border-radius: 10px; width: 200px; height: 200px; }
.wait { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; margin: 12px 0; }
.spin { width: 14px; height: 14px; border: 2px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.warn { font-size: 13px; color: var(--muted); border-left: 3px solid var(--accent); padding-left: 10px; margin: 12px 0; }
.ok-big { font-size: 48px; text-align: center; }
.inline { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; }
table.admin { width: 100%; border-collapse: collapse; font-size: 14px; }
table.admin td, table.admin th { border-bottom: 1px solid var(--line); padding: 8px 6px; text-align: left; vertical-align: middle; }
table.admin input, table.admin select { padding: 5px 8px; }
/* security check flags under the risk status, one per line */
table.admin small.flag { display: block; font-size: 12px; }
/* full addresses and tx hashes (an 88-character Solana signature) wrap instead of widening the page: the owner copies them */
table.admin code { overflow-wrap: anywhere; }
.admin-login { max-width: 360px; margin: 40px auto; display: grid; gap: 10px; }

/* footer */
.foot { color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); margin-top: 48px; padding-top: 18px; padding-bottom: 40px; }

@media (max-width: 860px) {
  .grid { grid-template-columns: 1fr; }
  aside { position: static; }
  .claim-row { grid-template-columns: 1fr 1fr; }
  .claim-row input[name=address] { grid-column: 1 / -1; order: -1; }
  .claim-row .btn { grid-column: 1 / -1; }
}
/* the menu no longer fits beside the site name: it gets its own row, and wraps onto a second one on a phone
   (a sideways-scrolling strip hid Rules and About, even when one of them was the page shown) */
@media (max-width: 720px) {
  .top-in { height: auto; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; gap: 6px; } /* keeps .wrap's side gutter */
  .nav { margin-left: 0; width: 100%; flex-wrap: wrap; overflow-x: visible; }
}
@media (max-width: 560px) {
  .row {
    grid-template-columns: 34px 40px minmax(0, 1fr); column-gap: 10px; padding: 12px;
    grid-template-areas: "rank logo coin" "rank logo amount" "rank logo mkt" "rank logo meta" "actions actions actions";
  }
  .row .tlogo { width: 38px; height: 38px; }
  .rank { font-size: 16px; }
  .row > .amount { justify-self: start; }
  .token-head { flex-direction: column; align-items: flex-start; }
  /* the whole contract address stays readable on a phone: it wraps instead of widening the page */
  .token-head > div { min-width: 0; max-width: 100%; }
  .addr code { white-space: normal; overflow-wrap: anywhere; }
}
.sheet .nets { grid-template-columns: 1fr 1fr; }
.sheet label.net { margin: 0; color: var(--text); font-size: 14px; padding: 8px 10px; }
@media (max-width: 420px) { .sheet .nets { grid-template-columns: 1fr; } }

/* bidding */
.claim-sub { color: var(--muted); font-size: 14px; margin: 10px auto 0; max-width: 620px; }
.row-actions { position: absolute; right: 14px; bottom: 10px; display: flex; align-items: center; gap: 10px; flex-direction: row-reverse; }
.bid-btn:hover { text-decoration: none; }
.bid-btn { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); border-radius: 99px; padding: 3px 12px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.bid-btn:hover { background: var(--accent); color: var(--accent-ink); }
.bid-amount { display: flex; align-items: center; gap: 6px; font-size: 26px; font-weight: 800; color: var(--accent); }
.bid-amount input { font: inherit; color: var(--accent); width: 100%; padding: 6px 10px; }
.quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; min-height: 28px; }
.quick .chip { cursor: pointer; font: inherit; font-size: 13px; font-weight: 600; padding: 3px 10px; }
.chip.gold { background: color-mix(in srgb, var(--accent) 16%, var(--panel)); border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); color: var(--accent); }
.backers { padding: 0; list-style: none; counter-reset: b; }
.backers li { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); counter-increment: b; }
.backers li::before { content: '#' counter(b); color: var(--muted); font-weight: 700; width: 28px; }
.backers li b { margin-left: auto; color: var(--accent); }
@media (max-width: 560px) {
  .row-actions { position: static; grid-area: actions; justify-content: flex-start; flex-direction: row; margin-top: 10px; }
}

/* currency → network picker */
.currencies { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
/* the real radio covers its pill (transparent, same size), so a click or a tap by an agent lands on the control itself */
.sheet label.cur { margin: 0; cursor: pointer; position: relative; }
.cur input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.cur span { display: inline-block; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line); background: var(--panel-2); color: var(--text); font-weight: 700; font-size: 13px; }
.cur input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.cur input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
#bid-network:disabled { opacity: 1; color: var(--muted); }
/* buttons that app.js enables keep their room until it does (no layout shift); without JavaScript they are removed (see Layout) */
[data-pending] { visibility: hidden; }
[data-countdown], #pay-left { font-variant-numeric: tabular-nums; }

/* hall of fame (src/views/hall.tsx): one row per wallet, rank colours as on the boards */
.hall { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.hall-row { display: grid; grid-template-columns: 46px 1fr; gap: 12px; padding: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; }
.hall-row.r1 { border-color: color-mix(in srgb, var(--gold) 55%, var(--line)); background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 10%, var(--panel)), var(--panel) 60%); }
.hall-row.r2 { border-color: color-mix(in srgb, var(--silver) 35%, var(--line)); }
.hall-row.r3 { border-color: color-mix(in srgb, var(--bronze) 40%, var(--line)); }
.hall-main { min-width: 0; }
.hall-head { display: flex; gap: 10px; align-items: baseline; justify-content: space-between; min-width: 0; }
.hall-wallet { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); font-weight: 700; }
.hall-wallet code { font-size: 15px; }
a.hall-wallet:hover { color: var(--link); text-decoration: none; }
.hall-coins { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; min-width: 0; }
.hall-coin { display: inline-flex; align-items: center; gap: 6px; min-width: 0; max-width: 100%; padding: 2px 10px 2px 2px; border-radius: 99px; background: var(--panel-2); border: 1px solid var(--line); color: var(--text); font-size: 12px; font-weight: 700; }
.hall-coin:hover { text-decoration: none; border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); }
.hall-sym { min-width: 0; max-width: 14ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hall-more { align-self: center; color: var(--muted); font-size: 12px; }
.hall-main .meta { margin-top: 8px; }
.hall-card .r1 .mini-rank { color: var(--gold); }
.hall-card .r2 .mini-rank { color: var(--silver); }
.hall-card .r3 .mini-rank { color: var(--bronze); }
@media (max-width: 560px) {
  .hall-row { grid-template-columns: 34px 1fr; gap: 10px; padding: 12px; }
  .hall-wallet code { font-size: 14px; }
}
