/* Coin Shazam · Stage · the pages around the app (same sea, same top bar and dock). */
html:has(body.page), body.page { overflow: auto; height: auto; min-height: 100%; }
body.page { user-select: text; -webkit-user-select: text; }
body.page .bg { position: fixed; }
body.page .top { position: fixed; background: linear-gradient(180deg, rgba(10, 140, 255, .97) 62%, rgba(10, 140, 255, 0)); }
body.page .dock { position: fixed; opacity: 1 !important; transform: none !important; pointer-events: auto !important; }
body.page .rb.lead .i-x { display: none; }
.pg { position: relative; z-index: 2; max-width: 1180px; margin: 0 auto; padding: calc(var(--top) + 18px) 16px calc(var(--safe-b) + 110px); }
.pg-h h1 { margin: 0; font: 850 clamp(28px, 7.4vw, 44px)/1.04 var(--disp); letter-spacing: -.025em; }
.pg-h p { margin: 8px 0 0; font: 500 15px/1.4 var(--ui); color: var(--ink-2); }
.pg-stats { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 18px; }
.st { padding: 11px 14px; border-radius: 18px; background: rgba(6, 14, 58, .42); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); display: flex; flex-direction: column; gap: 5px; min-width: 96px; }
.st b { font: 850 19px/1 var(--disp); letter-spacing: -.01em; white-space: nowrap; }
.st i { font: 600 11.5px/1 var(--ui); font-style: normal; color: var(--ink-3); }
.st.good b { color: var(--up); } .st.muted b { color: var(--ink-2); }
.pg-note { margin: 16px 4px; font: 500 13.5px/1.4 var(--ui); color: var(--ink-3); }
.lnk { color: var(--acc); font-weight: 700; }
.empty { padding: 28px 20px; border-radius: 24px; background: rgba(6, 14, 58, .32); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05); display: flex; flex-direction: column; gap: 8px; }
.empty b { font: 800 18px/1.2 var(--disp); }
.empty span { font: 500 14px/1.45 var(--ui); color: var(--ink-2); max-width: 620px; }
.list { display: flex; flex-direction: column; gap: 8px; }

/* /live: the wall */
.wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.wt { border-radius: 24px; overflow: hidden; background: rgba(6, 14, 58, .45); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), 0 20px 50px -26px rgba(0, 0, 0, .8); display: flex; flex-direction: column; }
.wt-pic { position: relative; aspect-ratio: 16 / 9; background: #0a1a20; overflow: hidden; }
.wt-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wt-p { position: absolute; right: 10px; top: 10px; padding: 6px 9px; border-radius: 999px; background: var(--acc); color: var(--acc-ink); font: 900 13px/1 var(--disp); font-style: normal; }
.wt-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 12px 14px 4px; }
.wt-row .logo { width: 44px; height: 44px; }
.wt-n b { display: block; font: 800 16px/1.1 var(--disp); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wt-n i { display: block; margin-top: 3px; font: 500 12.5px/1.2 var(--ui); font-style: normal; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wt-row em { font: 900 19px/1 var(--disp); font-style: normal; color: var(--up); } .wt-row em.dn { color: var(--down); }
.wt-tvn { padding: 4px 14px 14px 68px; font: 600 12.5px/1 var(--ui); color: var(--ink-2); }

/* /bot */
.bt { padding: 14px; border-radius: 22px; background: rgba(6, 14, 58, .42); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); display: flex; flex-direction: column; gap: 12px; }
.bt-post { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; }
.bt-post img { width: 88px; height: 64px; object-fit: cover; border-radius: 12px; }
.bt-post b { display: block; font: 800 14px/1.2 var(--disp); }
.bt-post span { display: block; margin-top: 3px; font: 500 13px/1.35 var(--ui); color: var(--ink-2); }
.bt-rep { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 4px 10px; align-items: start; padding: 12px; border-radius: 18px; background: rgba(20, 241, 149, .08); box-shadow: inset 0 0 0 1px rgba(20, 241, 149, .2); }
.bt-av svg { width: 36px; height: 36px; }
.bt-rep p { margin: 0; font: 600 14px/1.4 var(--ui); word-break: break-word; }
.bt-rep i { grid-column: 2; font: 500 11.5px/1 var(--ui); font-style: normal; color: var(--ink-3); }
.bt-ex { margin-top: 10px; background: none; box-shadow: none; padding: 0; }
.bt-card { grid-column: 2; width: 100%; max-width: 420px; border-radius: 14px; margin-top: 6px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }
.bt-post .lnk { display: inline-block; margin-top: 4px; font-size: 13px; }

/* /ledger */
.lg { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 18px; background: rgba(6, 14, 58, .42); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.lg-k { font: 700 14px/1 var(--ui); }
.lg b { font: 850 16px/1 var(--disp); white-space: nowrap; }
.lg i { font: 500 12px/1 var(--ui); font-style: normal; color: var(--ink-3); white-space: nowrap; }
.k-burn { color: var(--acc); } .k-buy { color: var(--up); }
.rules { margin-top: 16px; display: grid; gap: 8px; }
.rule { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 14px; border-radius: 18px; background: rgba(6, 14, 58, .3); }
.rule b { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--acc); color: var(--acc-ink); font: 900 16px/1 var(--disp); }
.rule span { font: 500 14px/1.4 var(--ui); color: var(--ink-2); }

/* /how */
.how { display: grid; gap: 10px; max-width: 760px; }
.hw { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 16px; border-radius: 22px; background: rgba(6, 14, 58, .42); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.hw .hw-n { width: 44px; margin: 0; height: 44px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 36% 30%, #ffffff, var(--acc) 50%, var(--acc-2)); color: #06123a; font: 900 18px/1 var(--disp); }
.hw b { display: block; font: 800 17px/1.2 var(--disp); }
.hw span { display: block; margin-top: 5px; font: 500 14px/1.45 var(--ui); color: var(--ink-2); }

/* /bench */
.bench { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 10px; }
.bn { border-radius: 20px; overflow: hidden; background: rgba(6, 14, 58, .42); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.bn.no { box-shadow: inset 0 0 0 1.5px rgba(255, 111, 134, .6); }
.bn-pic { position: relative; display: block; aspect-ratio: 16 / 10; background: #0a1a20; }
.bn-pic img { width: 100%; height: 100%; object-fit: cover; }
.bn-pic em { position: absolute; left: 8px; top: 8px; padding: 5px 9px; border-radius: 999px; font: 900 12px/1 var(--disp); font-style: normal; background: var(--up); color: #062a1a; }
.bn.no .bn-pic em { background: var(--down); color: #3a0612; }
.bn-r { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 10px; padding: 10px 12px 12px; align-items: baseline; }
.bn-r i { font: 600 11px/1 var(--ui); font-style: normal; color: var(--ink-3); }
.bn-r b { font: 800 14px/1.1 var(--disp); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bn-r b s { text-decoration: none; font: 600 11px/1 var(--ui); color: var(--ink-3); margin-left: 4px; }
.bn-r .bn-m { font: 600 12px/1.1 var(--ui); color: var(--ink-2); }
.bn-f { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 12px; }
.bn-fb { height: 34px; padding: 0 13px; border-radius: 999px; background: rgba(6, 14, 58, .42); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); font: 700 12.5px/1 var(--ui); color: var(--ink-2); }
.bn-fb.on { background: var(--acc); color: var(--acc-ink); box-shadow: none; }
@media (min-width: 900px) {
  .pg { padding-left: 32px; padding-right: 32px; }
  body.page .dock { left: 50%; right: auto; width: 420px; margin-left: -210px; }
}
