/* ================================================================
   REV.STONK — pixel terminal theme
   Silkscreen + Pixelify Sans, square corners, 2px hard edges,
   4px offset shadows, money-green accent, light/dark themes.
   Class names kept compatible with the shared main.js (friend.rip).
   ================================================================ */
:root {
  --bg-page: #e7ece2; --bg-white: #fbfdf7; --bg-elevated: #fff; --text: #0e1712; --text-muted: rgba(14,23,18,.62); --text-subtle: rgba(14,23,18,.45);
  --divider: rgba(14,23,18,.16); --accent: #22e06a; --accent-hover: #14c757; --accent-soft: #d4ffe4; --accent-mid: #9bf5bd; --accent-contrast: #04220f;
  --success: #12b95a; --danger: #ff3b30; --panel-2: #dfe6da;
  --edge: #0e1712; --edge-w: 2px; --px: 4px;
  --btn-glow: var(--px) var(--px) 0 var(--edge); --float-bg: #fbfdf7; --float-border: var(--edge);
  --float-shadow: 0 var(--px) 0 var(--edge);
  --glass-fill: #fbfdf7; --glass-border: var(--edge); --shadow-soft: var(--px) var(--px) 0 var(--edge); --shadow-card: 3px 3px 0 var(--edge);
  --r-float: 0px; --r-glass: 0px; --r-card: 0px; --r-panel: 0px; --r-pill: 0px; --nav-h: 64px; --max: 1080px;
  --ease: steps(4, end); --fast: .1s; --normal: .16s;
  --font: "Pixelify Sans", "Silkscreen", ui-monospace, monospace; --serif: "Silkscreen", ui-monospace, monospace;
  --font-px: "Silkscreen", ui-monospace, monospace;
}
html[data-theme="dark"] {
  --bg-page: #0a0f0c; --bg-white: #111a14; --bg-elevated: #16211a; --text: #e8ffee; --text-muted: rgba(232,255,238,.62); --text-subtle: rgba(232,255,238,.42);
  --divider: rgba(232,255,238,.18); --accent: #22e06a; --accent-hover: #3dff86; --accent-soft: #0b2c18; --accent-mid: #134f2b; --accent-contrast: #04220f;
  --panel-2: #16211a; --edge: #22e06a;
  --btn-glow: var(--px) var(--px) 0 var(--edge); --float-bg: #111a14; --float-border: var(--edge);
  --float-shadow: 0 var(--px) 0 var(--edge);
  --glass-fill: #111a14; --glass-border: var(--edge); --shadow-soft: var(--px) var(--px) 0 var(--edge); --shadow-card: 3px 3px 0 var(--edge);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); font-size: 15px; line-height: 1.5; color: var(--text); background: var(--bg-page); min-height: 100dvh; display: flex; flex-direction: column; overflow-x: hidden; -webkit-font-smoothing: antialiased; transition: background var(--normal) var(--ease), color var(--normal) var(--ease); }
body.is-loading .js-landing, body.is-loading .js-app { display: none; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--accent); color: #111; }
:focus-visible { outline: 3px solid rgba(232,255,0,.9); outline-offset: 2px; border-radius: 12px; }
.bg { position: fixed; inset: 0; z-index: -1; background: radial-gradient(60% 40% at 50% -10%, rgba(232,255,0,.28) 0%, rgba(232,255,0,0) 70%), var(--bg-page); transition: background var(--normal) var(--ease); }
html[data-theme="dark"] .landing { background: linear-gradient(180deg, rgba(22,22,22,.2) 0%, var(--bg-white) 46%), url("/assets/banner.jpg") center top / cover no-repeat, linear-gradient(180deg, var(--accent-soft) 0%, var(--bg-white) 45%); }
html[data-theme="dark"] .bg { background: radial-gradient(60% 40% at 50% -10%, rgba(232,255,0,.14) 0%, rgba(232,255,0,0) 70%), var(--bg-page); }
.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.serif { font-family: var(--serif); font-weight: 400; font-style: italic; }
em { font-style: normal; color: var(--text); font-weight: 600; }

/* ---------- top bar (floating glass) ---------- */
.topbar { position: sticky; top: 0; z-index: 40; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; padding: 0 20px; background: var(--float-bg); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid var(--divider); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand__croc { width: 34px; height: 34px; object-fit: contain; filter: drop-shadow(0 2px 4px rgba(0,0,0,.18)); }
.brand__word { font-weight: 700; font-size: 16px; letter-spacing: -.01em; }
.brand__tld { color: var(--text-muted); font-weight: 500; }
.topbar__nav { display: flex; gap: 2px; padding: 4px; border-radius: var(--r-pill); background: var(--panel-2); position: absolute; left: 50%; transform: translateX(-50%); }
.topbar__nav a, .topbar__nav button { padding: 7px 14px; border-radius: var(--r-pill); font-size: 14px; font-weight: 500; color: var(--text-muted); transition: background var(--fast) var(--ease), color var(--fast) var(--ease), box-shadow var(--fast) var(--ease); }
.topbar__nav a:hover, .topbar__nav button:hover { color: var(--text); }
.topbar__nav .is-active { background: var(--bg-white); color: var(--text); box-shadow: var(--shadow-card); }
@media (max-width: 720px) { .topbar__nav { display: none; } }
.topbar__right { display: flex; align-items: center; gap: 8px; }
.iconbtn, .topbar__link { width: 38px; height: 38px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--bg-white); border: 1px solid var(--divider); color: var(--text); transition: transform var(--fast) var(--ease), background var(--fast), box-shadow var(--fast); }
.iconbtn:hover, .topbar__link:hover { transform: translateY(-1px); box-shadow: var(--shadow-card); }
.iconbtn svg, .topbar__link svg { width: 18px; height: 18px; }
.ic { width: 18px; height: 18px; }
.js-theme .ic--sun { display: none; } html[data-theme="dark"] .js-theme .ic--sun { display: block; } html[data-theme="dark"] .js-theme .ic--moon { display: none; }
.user { display: flex; align-items: center; gap: 8px; padding: 4px 6px 4px 4px; border-radius: var(--r-pill); background: var(--bg-white); border: 1px solid var(--divider); }
.user__avatar { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: var(--panel-2); }
.user__handle { font-size: 13px; font-weight: 600; }
.user__out { width: 28px; height: 28px; border-radius: 50%; display: inline-grid; place-items: center; color: var(--text-muted); }
.user__out:hover { background: var(--panel-2); color: var(--text); }
.user__out svg { width: 16px; height: 16px; }

/* ---------- pills / buttons ---------- */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: var(--r-pill); font-weight: 600; font-size: 14px; background: var(--bg-white); color: var(--text); border: 1px solid var(--divider); box-shadow: var(--shadow-card); transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease), background var(--fast), color var(--fast); white-space: nowrap; }
.pill:hover { transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.pill:active { transform: translateY(0) scale(.98); }
.pill--cta, .pill--big { background: var(--accent); color: var(--accent-contrast); border-color: transparent; box-shadow: var(--btn-glow); }
.pill--cta:hover, .pill--big:hover { background: var(--accent-hover); box-shadow: 0 10px 28px rgba(232,255,0,.5); }
.pill--big { padding: 15px 26px; font-size: 16px; }
.pill--ghost { background: transparent; box-shadow: none; }
.pill--ghost:hover { background: var(--panel-2); }
.pill:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.pill__icon { width: 18px; height: 18px; }
.chip-soon, .chip-room, .tag, .count { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--text); font-size: 12px; font-weight: 600; }
.count { background: var(--accent); color: #111; }
.fchip { display: inline-flex; padding: 2px 8px; border-radius: var(--r-pill); font-size: 12px; font-weight: 600; background: var(--panel-2); color: var(--text-muted); }
.fchip--3, .fchip--4 { background: var(--accent-soft); color: var(--text); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(232,255,0,.25); animation: pulse 2s ease-in-out infinite; }
.dot--amber { background: #f5a623; box-shadow: 0 0 0 4px rgba(245,166,35,.2); }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(232,255,0,.25); } 50% { box-shadow: 0 0 0 8px rgba(232,255,0,.08); } }

/* ---------- panels ---------- */
.panel { background: var(--bg-white); border: 1px solid var(--float-border); border-radius: var(--r-card); box-shadow: var(--float-shadow); }
.panel--tint { background: linear-gradient(180deg, var(--accent-soft) 0%, var(--bg-white) 40%); }

/* ---------- landing ---------- */
.landing { width: min(var(--max), calc(100% - 32px)); margin: 28px auto 0; padding: 56px 32px 48px; text-align: center; display: flex; flex-direction: column; align-items: center; background: linear-gradient(180deg, rgba(255,255,255,0) 0%, var(--bg-white) 46%), url("/assets/banner.jpg") center top / cover no-repeat, linear-gradient(180deg, var(--accent-soft) 0%, var(--bg-white) 45%); border: 1px solid var(--float-border); border-radius: var(--r-float); box-shadow: var(--float-shadow); animation: rise .6s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.coin { position: relative; margin-bottom: 26px; }
.coin__disc { width: 170px; height: 170px; display: grid; place-items: center; animation: bob 4s ease-in-out infinite; }
.coin__disc img { width: 170px; height: 170px; object-fit: contain; filter: drop-shadow(0 22px 34px rgba(0,0,0,.22)) drop-shadow(0 0 40px rgba(232,255,0,.35)); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.coin__tag { position: absolute; right: -44px; bottom: -6px; padding: 5px 10px; border-radius: var(--r-pill); background: var(--bg-white); border: 1px solid var(--divider); box-shadow: var(--shadow-card); font-size: 12px; font-weight: 700; }
.landing__title { font-size: clamp(38px, 6vw, 60px); line-height: 1.02; letter-spacing: -.03em; font-weight: 700; }
.landing__title .hl { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--text); }
.landing__sub { margin: 18px 0 26px; font-size: 17px; color: var(--text-muted); max-width: 520px; }
.landing__hint { margin-top: 20px; display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: var(--r-pill); background: var(--bg-white); border: 1px solid var(--divider); font-size: 13px; color: var(--text-muted); }
.landing__error { margin-top: 14px; color: var(--danger); font-size: 14px; }
.landing__cap { margin-top: 36px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-subtle); }
.landing__preview { display: flex; gap: 18px; justify-content: center; margin-top: 16px; perspective: 1200px; }
.landing__preview .slab { --w: 220px; }
.landing__slab { display: block; color: inherit; transition: transform var(--normal) var(--ease); }
a.landing__slab:hover { transform: translateY(-6px); }
.landing__preview .landing__slab:nth-child(1) { transform: rotate(-6deg) translateY(10px); } .landing__preview .landing__slab:nth-child(3) { transform: rotate(6deg) translateY(10px); }
a.landing__slab:nth-child(1):hover { transform: rotate(-6deg) translateY(4px); } a.landing__slab:nth-child(3):hover { transform: rotate(6deg) translateY(4px); }
@media (max-width: 720px) { .landing__preview .landing__slab:not(:nth-child(2)) { display: none; } }

/* ---------- app ---------- */
.app { width: min(var(--max), calc(100% - 32px)); margin: 24px auto 0; display: grid; grid-template-columns: 1fr; gap: 20px; }
.content { display: grid; gap: 20px; }
.card { padding: 22px 24px; }
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card__title { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.card__sub { color: var(--text-muted); margin-top: 4px; }
.card__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.side__title { font-size: 15px; font-weight: 700; letter-spacing: -.01em; display: inline-flex; align-items: center; gap: 8px; }
.side__title .ic { color: var(--text-muted); }
.ic--t { width: 16px; height: 16px; flex: 0 0 auto; }
.ic--xs { width: 13px; height: 13px; flex: 0 0 auto; }
.ic--empty { width: 26px; height: 26px; margin: 0 auto 8px; color: var(--text-subtle); display: block; }
.pill .ic { width: 16px; height: 16px; }
.topbar__nav a, .topbar__nav button { display: inline-flex; align-items: center; gap: 6px; }
.topbar__nav .ic--t { width: 15px; height: 15px; }
.side__title .tri { display: none; }
.card--hello { display: flex; align-items: center; gap: 16px; }
.card--hello__croc { width: 46px; height: 46px; border-radius: 12px; }
.card--hello .pill { margin-left: auto; }
.card--pack { background: linear-gradient(180deg, var(--accent-soft) 0%, var(--bg-white) 55%); }
.packstage { display: flex; justify-content: center; padding: 8px 0 6px; perspective: 1200px; }
.how { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.how li { display: flex; gap: 12px; padding: 14px; border-radius: 16px; background: var(--panel-2); }
.how strong { display: block; font-size: 13px; margin-bottom: 4px; }
.how p { color: var(--text-muted); font-size: 14px; }
.docs__num { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #111; display: grid; place-items: center; font-weight: 700; font-size: 13px; }
@media (max-width: 720px) { .how { grid-template-columns: 1fr; } .card--hello { flex-wrap: wrap; } .card--hello .pill { margin-left: 0; } }

/* latest packs = grid of token-like cards */
.side { padding: 22px 24px; }
.side__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.side__list { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
@media (max-width: 1000px) { .side__list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .side__list { grid-template-columns: repeat(2, 1fr); } }
.member { display: flex; flex-direction: column; gap: 6px; padding: 8px 8px 10px; border-radius: 18px; background: var(--bg-page); border: 1px solid var(--divider); cursor: pointer; transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease); }
.member:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.member.is-new { animation: card-in .5s var(--ease) both; }
@keyframes card-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.member__avatar { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; background: var(--panel-2); }
.member__id { display: flex; flex-direction: column; min-width: 0; padding: 0 4px; }
.member__name { font-weight: 600; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.member__handle { font-size: 12px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.member__right { display: flex; align-items: center; justify-content: space-between; padding: 0 4px; font-size: 11px; color: var(--text-subtle); }
.side__empty { text-align: center; color: var(--text-muted); padding: 30px 0; }
.side__foot { margin-top: 12px; font-size: 12px; color: var(--text-subtle); text-align: center; }

/* ---------- footer ---------- */
.footer { width: min(var(--max), calc(100% - 32px)); margin: 32px auto 28px; text-align: center; color: var(--text-subtle); font-size: 12px; }
.footer__links { display: flex; justify-content: center; gap: 18px; margin-bottom: 10px; font-weight: 600; color: var(--text-muted); }
.footer__links a:hover { color: var(--text); }
.footer__legal { max-width: 640px; margin: 0 auto 6px; }

/* ---------- modals ---------- */
.modal { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: fade .25s var(--ease) both; }
html[data-theme="dark"] .modal__backdrop { background: rgba(0,0,0,.6); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal .panel { position: relative; width: min(760px, 100%); max-height: 92vh; overflow: auto; animation: rise .35s var(--ease) both; }
.docs__head { display: flex; align-items: center; gap: 10px; padding: 18px 22px; border-bottom: 1px solid var(--divider); font-weight: 700; }
.docs__head img { width: 32px; height: 32px; object-fit: contain; }
.docs__body { padding: 20px 22px 24px; }
.docs__steps { list-style: none; display: grid; gap: 14px; }
.docs__steps li { display: flex; gap: 12px; }
.docs__steps strong { display: block; margin-bottom: 2px; }
.docs__steps p { color: var(--text-muted); font-size: 14px; }
.docs__foot { margin-top: 18px; color: var(--text-subtle); font-size: 13px; }
.docs__foot a { color: var(--text); font-weight: 600; }
.profile__x { position: absolute; right: 12px; top: 12px; z-index: 2; }
.pack { width: min(980px, 100%) !important; }
.pack__body { display: grid; grid-template-columns: 1fr 380px; gap: 26px; padding: 22px 26px 26px; align-items: center; }
.pack__title { font-size: 26px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; margin-bottom: 12px; }
.pack__title span { font-family: var(--serif); font-style: italic; font-weight: 400; }
.pack__text p { color: var(--text-muted); margin-bottom: 10px; }
.pack__facts { list-style: none; margin: 14px 0 18px; display: grid; gap: 6px; font-size: 14px; color: var(--text-muted); }
.pack__facts strong { display: inline-block; min-width: 56px; color: var(--text); }
.pack__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pack__stage { display: flex; justify-content: center; perspective: 1200px; }
@media (max-width: 860px) { .pack__body { grid-template-columns: 1fr; } .pack__stage { order: -1; } }
.profile { width: min(560px, 100%) !important; }
.profile__stage { display: flex; justify-content: center; padding: 26px 16px 4px; perspective: 1200px; background: linear-gradient(180deg, var(--accent-soft) 0%, var(--bg-white) 100%); border-radius: var(--r-card) var(--r-card) 0 0; }
.profile__body { padding: 16px 22px 22px; }
.profile__namerow { display: flex; align-items: center; gap: 8px; }
.profile__name { font-size: 20px; font-weight: 700; }
.profile__handle { display: inline-flex; align-items: center; gap: 6px; color: var(--text-muted); font-size: 14px; margin-top: 2px; }
.profile__xlogo { width: 14px; height: 14px; }
.profile__bio { margin: 10px 0 12px; color: var(--text-muted); font-size: 14px; }
.profile__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pstat { padding: 10px; border-radius: 14px; background: var(--panel-2); text-align: center; }
.pstat strong { display: block; font-size: 16px; }
.pstat span { font-size: 12px; color: var(--text-muted); }
.profile__actions { display: flex; gap: 10px; margin-top: 14px; }
.toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 70; display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: var(--r-pill); background: var(--bg-white); border: 1px solid var(--divider); box-shadow: var(--float-shadow); font-size: 13px; animation: rise .35s var(--ease) both; }
.toast__avatar { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
body.modal-open { overflow: hidden; }
/* friend.rip leftovers, hidden */
.room, .card--chart, .launch { display: none !important; }
/* token card — only exists once CONTRACT_ADDRESS is set (body.is-live) */
body.pre-launch .card--ca, body.pre-launch .topbar__buy { display: none !important; }
.card--ca .card__row { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.ca-value { flex: 1; min-width: 0; font-family: ui-monospace, monospace; font-size: 12px; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card--ca .card__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.card--ca .js-copy { width: 34px; height: 34px; }
.card--ca .js-copy.is-copied { background: var(--accent); color: var(--accent-contrast); }
.chart-frame { margin-top: 14px; border-radius: 16px; overflow: hidden; border: 1px solid var(--divider); background: #0d0d0d; }
.chart-frame iframe { display: block; width: 100%; height: 320px; border: 0; }
.topbar__buy { padding: 8px 14px; font-size: 13px; }
@media (max-width: 720px) { .topbar__buy { display: none !important; } }

.app .side { order: 2; }

/* ---------- mini-X layout ---------- */
.app { grid-template-columns: 300px minmax(0, 1fr) 320px; align-items: start; }
.app .side { order: 0; }
.col { display: grid; gap: 16px; min-width: 0; }
@media (max-width: 1100px) { .app { grid-template-columns: 1fr; } .col--left { order: 2; } .col--right { order: 1; } }
.me { display: flex; align-items: center; gap: 12px; }
.me__avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--panel-2); }
.me__name { font-weight: 700; } .me__handle { color: var(--text-muted); font-size: 13px; }
.me__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.me__stats div, .wstats div { padding: 8px 6px; border-radius: 12px; background: var(--panel-2); text-align: center; }
.me__stats b, .wstats b { display: block; font-size: 15px; } .me__stats span, .wstats span { font-size: 10.5px; color: var(--text-muted); display: inline-flex; align-items: center; justify-content: center; gap: 4px; white-space: nowrap; letter-spacing: -.01em; } .me__stats span .ic, .wstats span .ic { width: 12px; height: 12px; }
.wallet__addr { display: flex; justify-content: space-between; align-items: center; font-family: ui-monospace, monospace; font-size: 12px; color: var(--text-muted); margin-bottom: 10px; }
.wallet__addr a { color: var(--text); font-weight: 600; font-family: var(--font); display: inline-flex; align-items: center; gap: 4px; }
.wstats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.bags { display: grid; gap: 6px; margin-top: 10px; }
.bag { display: flex; justify-content: space-between; align-items: center; font-size: 13px; padding: 6px 10px; border-radius: 10px; background: var(--panel-2); }
.bag b { font-weight: 600; } .bag span { color: var(--text-muted); }
.how--v { grid-template-columns: 1fr; gap: 8px; } .how--v li { padding: 10px 12px; }
.compose { display: flex; gap: 12px; }
.compose__avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--panel-2); flex: none; }
.compose__form { flex: 1; min-width: 0; }
.compose__text { width: 100%; resize: vertical; min-height: 56px; border: 0; background: transparent; font: inherit; color: var(--text); font-size: 16px; outline: none; }
.compose__row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; border-top: 1px solid var(--divider); padding-top: 10px; margin-top: 6px; }
.compose__token { flex: 1; min-width: 200px; border: 1px solid var(--divider); border-radius: var(--r-pill); padding: 8px 12px; font: inherit; font-size: 13px; background: var(--bg-white); color: var(--text); }
.compose__token:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(232,255,0,.25); }
.seg { display: inline-flex; padding: 3px; border-radius: var(--r-pill); background: var(--panel-2); }
.seg__b { padding: 6px 12px; border-radius: var(--r-pill); font-size: 13px; font-weight: 600; color: var(--text-muted); display: inline-flex; align-items: center; gap: 5px; }
.seg__b.is-active { background: var(--bg-white); color: var(--text); box-shadow: var(--shadow-card); }
.feed { display: grid; gap: 0; }
.call { display: flex; gap: 12px; padding: 14px 0; border-top: 1px solid var(--divider); animation: card-in .4s var(--ease) both; }
.call:first-child { border-top: 0; padding-top: 4px; }
.call__avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--panel-2); flex: none; cursor: pointer; }
.call__body { min-width: 0; flex: 1; }
.call__head { display: flex; align-items: center; gap: 6px; font-size: 14px; flex-wrap: wrap; }
.call__name { font-weight: 700; } .call__handle, .call__time { color: var(--text-muted); }
.call__text { margin-top: 4px; white-space: pre-wrap; word-break: break-word; }
.call__tok { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; padding: 6px 10px; border-radius: 12px; background: var(--panel-2); font-size: 13px; }
.call__tok b { font-weight: 700; } .call__tok .side { padding: 2px 8px; border-radius: var(--r-pill); font-size: 11px; font-weight: 700; background: var(--accent); color: #111; display: inline-flex; align-items: center; gap: 4px; } .call__tok .side .ic, .call__tok .backed .ic { width: 12px; height: 12px; }
.call__tok .side--sell { background: #ffd8d4; color: #7d201a; }
.call__tok .backed { padding: 2px 8px; border-radius: var(--r-pill); font-size: 11px; font-weight: 700; background: var(--success); color: #fff; display: inline-flex; align-items: center; gap: 4px; }
.call__tok a { color: var(--text-muted); text-decoration: underline; }
/* right column lists: compact rows */
.col--right .side__list { grid-template-columns: 1fr; gap: 6px; }
.col--right .member { flex-direction: row; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 12px; background: transparent; border: 0; }
.col--right .member:hover { background: var(--panel-2); transform: none; box-shadow: none; }
.col--right .member__avatar { width: 36px; height: 36px; border-radius: 50%; }
.col--right .member__id { flex: 1; padding: 0; }
.col--right .member__right { flex-direction: column; align-items: flex-end; gap: 2px; padding: 0; }
.scan { list-style: none; display: grid; gap: 6px; }
.scanrow { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 12px; cursor: pointer; }
.scanrow:hover { background: var(--panel-2); }
.scanrow__rank { width: 20px; font-weight: 700; color: var(--text-muted); font-size: 13px; }
.scanrow img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: var(--panel-2); }
.scanrow__id { flex: 1; min-width: 0; display: flex; flex-direction: column; } .scanrow__name { font-weight: 600; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .scanrow__meta { font-size: 11px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scanrow__rank.is-top { color: var(--text); } .scanrow:nth-child(1) .scanrow__rank { color: #b8860b; } .scanrow:nth-child(2) .scanrow__rank { color: #8a8a8a; } .scanrow:nth-child(3) .scanrow__rank { color: #a0522d; }
.scanrow__score { font-weight: 700; font-size: 13px; padding: 3px 8px; border-radius: var(--r-pill); background: var(--accent-soft); }
.linkish { font-size: 13px; font-weight: 600; color: var(--text-muted); display: inline-flex; align-items: center; gap: 4px; } .linkish:hover { color: var(--text); }
.scanmodal { width: min(920px, 100%) !important; }
.scantable { width: 100%; border-collapse: collapse; font-size: 14px; }
.scantable th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); padding: 8px; border-bottom: 1px solid var(--divider); }
.scantable td { padding: 10px 8px; border-bottom: 1px solid var(--divider); vertical-align: middle; }
.scantable .who { display: flex; align-items: center; gap: 10px; } .scantable .who img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.scantable .who small { display: block; color: var(--text-muted); }

body.is-authed .js-connect { display: none !important; }

/* ---------- reputation: Pons mark, votes, tabs, pnl ---------- */
.pmark { display: inline-block; width: 14px; height: 14px; background: currentColor; -webkit-mask: url("/assets/mark-glyph.png?v=6") center / contain no-repeat; mask: url("/assets/mark-glyph.png?v=6") center / contain no-repeat; vertical-align: -2px; flex: 0 0 auto; }
.pmark--xs { width: 12px; height: 12px; }
.pmark--lg { width: 22px; height: 22px; }
.vote { display: flex; width: fit-content; align-items: center; gap: 4px; margin-top: 8px; padding: 3px; border-radius: var(--r-pill); background: var(--panel-2); font-size: 12px; font-weight: 700; user-select: none; }
.vote.is-error { animation: shake .3s var(--ease); outline: 1px solid #dc2626; }
@keyframes shake { 0%, 100% { transform: translateX(0); } 30% { transform: translateX(-3px); } 60% { transform: translateX(3px); } }
.vote__mark { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: var(--text-muted); transition: color var(--fast) var(--ease), transform var(--fast) var(--ease); }
.vote.is-up .vote__mark { color: #16a34a; } .vote.is-down .vote__mark { color: #dc2626; }
.vote.is-up .vote__mark, .vote.is-down .vote__mark { transform: scale(1.12); }
.vote__b { display: inline-flex; align-items: center; gap: 3px; padding: 3px 9px; border-radius: var(--r-pill); color: var(--text-muted); font-weight: 700; transition: background var(--fast), color var(--fast), transform var(--fast) var(--ease); }
.vote__b:hover:not(:disabled):not(.is-on) { background: var(--bg-white); color: var(--text); }
.vote__b:active:not(:disabled) { transform: scale(.94); }
.vote__b:disabled { opacity: .45; cursor: not-allowed; }
.vote__up.is-on { background: #16a34a; color: #fff; } .vote__down.is-on { background: #dc2626; color: #fff; }
.vote__n { min-width: 26px; text-align: center; color: var(--text); font-variant-numeric: tabular-nums; }
.vote__n.pos { color: #16a34a; } .vote__n.neg { color: #dc2626; }
.vote--own .vote__b { opacity: .35; }
.rep { display: inline-flex; align-items: center; gap: 3px; padding: 1px 7px; border-radius: var(--r-pill); font-size: 11px; font-weight: 700; background: var(--panel-2); color: var(--text-muted); }
.rep.pos { background: #dcfce7; color: #166534; } .rep.neg { background: #fee2e2; color: #991b1b; }
html[data-theme="dark"] .rep.pos { background: #14532d; color: #bbf7d0; } html[data-theme="dark"] .rep.neg { background: #7f1d1d; color: #fecaca; }
.tabs { display: inline-flex; gap: 2px; padding: 3px; border-radius: var(--r-pill); background: var(--panel-2); margin: 2px 0 10px; }
.tabs__b { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: var(--r-pill); font-size: 12px; font-weight: 600; color: var(--text-muted); transition: background var(--fast), color var(--fast), box-shadow var(--fast); }
.tabs__b.is-active { background: var(--bg-white); color: var(--text); box-shadow: var(--shadow-card); }
.pos { color: #16a34a; } .neg { color: #dc2626; }
html[data-theme="dark"] .pos, html[data-theme="dark"] .vote__n.pos, html[data-theme="dark"] .vote.is-up .vote__mark { color: #4ade80; } html[data-theme="dark"] .neg, html[data-theme="dark"] .vote__n.neg, html[data-theme="dark"] .vote.is-down .vote__mark { color: #f87171; }
.scanrow__score.pos { background: #dcfce7; color: #166534; } .scanrow__score.neg { background: #fee2e2; color: #991b1b; }
html[data-theme="dark"] .scanrow__score.pos { background: #14532d; color: #bbf7d0; } html[data-theme="dark"] .scanrow__score.neg { background: #7f1d1d; color: #fecaca; }
.pnlrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 8px 0 10px; padding: 9px 12px; border-radius: 12px; background: var(--panel-2); }
.pnlrow__l { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-muted); font-weight: 600; white-space: nowrap; flex: 0 0 auto; }
.pnlrow__v { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; min-width: 0; text-align: right; }
.pnlrow__v small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
.pnlrow__v b { font-size: 15px; } .pnlrow__v small { font-size: 11px; color: var(--text-muted); }
.rewards { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; padding: 9px 11px; border-radius: 12px; background: var(--accent-soft); font-size: 12px; color: var(--text-muted); line-height: 1.4; }
.rewards__dot { flex: 0 0 auto; width: 8px; height: 8px; margin-top: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(232,255,0,.35); }
.me__stats { grid-template-columns: repeat(4, 1fr); gap: 6px; }
.me__stats div { padding: 8px 4px; }
.call__head .rep { margin-left: 2px; }

/* ================================================================
   PIXEL SKIN — rev.Stonk
   Square everything, 2px hard edges, offset shadows, no blur.
   ================================================================ */
body { image-rendering: pixelated; }
body, .pill, .tabs__b, .seg__b, .topbar__nav a, .topbar__nav button { font-family: var(--font); }
h1, h2, h3, .brand__word, .side__title, .landing__title, .docs__head, .scanrow__score, .vote__n,
.me__stats b, .wstats b, .pnlrow__v b, .count, .tag, .chip-soon, .landing__cap, .call__name, .pack__title,
.scantable th, .rewards, .compose__send, .pill { font-family: var(--font-px); letter-spacing: 0; }
.landing__title { font-size: clamp(26px, 4.4vw, 44px); line-height: 1.25; text-transform: uppercase; }
.landing__title .hl { font-family: var(--font-px); font-style: normal; color: var(--accent-contrast); background: var(--accent); padding: 0 .18em; box-shadow: var(--px) var(--px) 0 var(--edge); }
.landing__sub, .card__sub, .docs__steps p, .footer__legal { font-family: var(--font); }
.pill, .iconbtn, .topbar__link, .user, .panel, .card, .side, .tabs, .seg, .topbar__nav, .vote, .call__tok,
.me__stats div, .wstats div, .pnlrow, .rewards, .bag, .scanrow__score, .rep, .chip-soon, .tag, .count, .backed,
.call__tok .side, .landing__hint, .coin__tag, .modal .docs, .toast, .chart-frame, .ca-value { border-radius: 0 !important; }
.panel, .card, .side, .modal .docs, .toast, .chart-frame { border: var(--edge-w) solid var(--edge); box-shadow: var(--px) var(--px) 0 var(--edge); background: var(--bg-white); }
.topbar { border-bottom: var(--edge-w) solid var(--edge); backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--float-bg); }
.topbar__nav { border: var(--edge-w) solid var(--edge); background: var(--panel-2); padding: 3px; gap: 3px; }
.topbar__nav .is-active { background: var(--accent); color: var(--accent-contrast); box-shadow: none; }
.pill { border: var(--edge-w) solid var(--edge); box-shadow: 3px 3px 0 var(--edge); text-transform: uppercase; font-size: 12px; letter-spacing: .02em; }
.pill:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--edge); }
.pill:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--edge); }
.pill--cta, .pill--big { border-color: var(--edge); box-shadow: 3px 3px 0 var(--edge); }
.pill--cta:hover, .pill--big:hover { box-shadow: 4px 4px 0 var(--edge); }
.pill--big { font-size: 14px; padding: 14px 22px; }
.iconbtn, .topbar__link { border: var(--edge-w) solid var(--edge); border-radius: 0; box-shadow: 2px 2px 0 var(--edge); }
.iconbtn:hover, .topbar__link:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--edge); }
.user { border: var(--edge-w) solid var(--edge); box-shadow: 2px 2px 0 var(--edge); }
.user__avatar, .call__avatar, .member__avatar, .scanrow img, .compose__avatar, .me__avatar, .who img, .toast__avatar { border-radius: 0 !important; border: 2px solid var(--edge); }
.tabs { border: var(--edge-w) solid var(--edge); background: var(--panel-2); padding: 3px; }
.tabs__b.is-active, .seg__b.is-active { background: var(--accent); color: var(--accent-contrast); box-shadow: none; }
.seg { border: var(--edge-w) solid var(--edge); padding: 3px; }
.side__title, .docs__head span, .card__head .side__title { text-transform: uppercase; font-size: 12px; letter-spacing: .04em; }
.chip-soon, .tag, .count, .rep, .backed, .call__tok .side, .scanrow__score { border: 2px solid var(--edge); font-family: var(--font-px); font-size: 10px; text-transform: uppercase; }
.vote { border: var(--edge-w) solid var(--edge); background: var(--panel-2); padding: 2px; gap: 2px; }
.vote__b { border-radius: 0; font-family: var(--font-px); font-size: 10px; padding: 4px 8px; }
.vote__up.is-on, .vote__down.is-on { box-shadow: inset 0 0 0 2px var(--edge); }
.vote__mark { border-radius: 0; }
.me__stats div, .wstats div, .pnlrow, .bag, .call__tok, .landing__hint, .coin__tag { border: 2px solid var(--edge); background: var(--panel-2); }
.rewards { border: 2px solid var(--edge); background: var(--accent-soft); }
.rewards__dot { border-radius: 0; box-shadow: none; width: 8px; height: 8px; background: var(--accent); }
.dot, .js-live-dot { border-radius: 0 !important; }
.compose__text, .compose__token, .room__input { border-radius: 0 !important; border: 2px solid var(--edge) !important; background: var(--panel-2); font-family: var(--font); }
.bg { background: var(--bg-page) !important; }
.landing { border: var(--edge-w) solid var(--edge) !important; box-shadow: var(--px) var(--px) 0 var(--edge); background: linear-gradient(180deg, rgba(0,0,0,0) 0%, var(--bg-white) 58%), url("/assets/banner.jpg") center top / cover no-repeat, var(--accent-soft) !important; }
html[data-theme="dark"] .landing { background: linear-gradient(180deg, rgba(10,15,12,.25) 0%, var(--bg-white) 58%), url("/assets/banner.jpg") center top / cover no-repeat, var(--accent-soft) !important; }
.coin__disc { animation: none; }
.coin__disc img { filter: none; image-rendering: pixelated; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 0; }
::selection { background: var(--accent); color: var(--accent-contrast); }
/* scanlines, very subtle */
.app::before, .landing::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(to bottom, rgba(0,0,0,.035) 0 1px, rgba(0,0,0,0) 1px 3px); z-index: 1; }
.landing { position: relative; }
.landing > * { position: relative; z-index: 2; }
html[data-theme="dark"] .app::before, html[data-theme="dark"] .landing::before { background: repeating-linear-gradient(to bottom, rgba(34,224,106,.05) 0 1px, rgba(0,0,0,0) 1px 3px); }
.scantable th { text-transform: uppercase; font-size: 10px; }
.landing__cap { font-family: var(--font-px); font-size: 10px; }

/* ---------- revshare ---------- */
.revpool { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.revpool div { padding: 8px 4px; background: var(--panel-2); text-align: center; border: 2px solid var(--edge); }
.revpool b { display: block; font-size: 14px; font-family: var(--font-px); }
.revpool span { font-size: 10px; color: var(--text-muted); display: inline-flex; align-items: center; justify-content: center; gap: 4px; white-space: nowrap; }
.revpool span .ic { width: 12px; height: 12px; }
.revyou { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; padding: 9px 11px; background: var(--accent-soft); border: 2px solid var(--edge); }
.revyou__l { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.revyou__v { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; }
.revyou__v b { font-size: 15px; font-family: var(--font-px); }
.revyou__v small { font-size: 11px; color: var(--text-muted); white-space: nowrap; }

/* ================================================================
   APP SKIN — readable, not pixel
   Big black blocks, generous spacing, a normal UI font.
   Green is only the page wash behind the app and a few hovers.
   The landing keeps the pixel look; this is the working surface.
   ================================================================ */
.app {
  --bg-white: #0f1512; --bg-elevated: #131b17; --panel-2: #1b241f;
  --text: #eef6f1; --text-muted: rgba(238,246,241,.62); --text-subtle: rgba(238,246,241,.42);
  --divider: rgba(238,246,241,.14); --edge: #060b08;
  --accent-soft: #16241c; --accent-mid: #1e3327; --accent-contrast: #04220f;
  --shadow-card: 0 2px 10px rgba(0,0,0,.35); --shadow-soft: 0 10px 28px rgba(0,0,0,.45);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-card: 14px; --r-panel: 12px; --r-pill: 10px;
  font-family: var(--font);
  position: relative;
}
.app::before { background: none; }                       /* no scanlines over the working surface */
.app, .app .side__title, .app .card__head, .app h1, .app h2, .app h3,
.app .me__stats b, .app .wstats b, .app .revpool b, .app .revyou__v b, .app .pnlrow__v b,
.app .scanrow__score, .app .vote__n, .app .count, .app .tag, .app .chip-soon, .app .rep,
.app .call__name, .app .scantable th, .app .rewards, .app .backed, .app .call__tok .side,
.app .pill, .app .tabs__b, .app .seg__b { font-family: var(--font); letter-spacing: 0; }
.app .side__title { font-size: 14px; font-weight: 700; text-transform: none; letter-spacing: -.01em; }
.app .panel, .app .card, .app .side {
  background: var(--bg-white); color: var(--text);
  border: 1px solid rgba(238,246,241,.10) !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 30px rgba(0,0,0,.35) !important;
  padding: 22px 22px;
}
.app .panel + .panel, .app .card + .card { margin-top: 14px; }
.app .pill, .app .iconbtn, .app .tabs, .app .seg, .app .vote, .app .call__tok, .app .bag,
.app .me__stats div, .app .wstats div, .app .revpool div, .app .revyou, .app .pnlrow, .app .rewards,
.app .chip-soon, .app .tag, .app .count, .app .rep, .app .backed, .app .call__tok .side,
.app .scanrow__score, .app .scanrow, .app .compose__text, .app .compose__token, .app .chart-frame,
.app .ca-value, .app .member, .app .call { border-radius: 12px !important; }
.app .chip-soon, .app .tag, .app .count, .app .rep, .app .backed, .app .call__tok .side, .app .scanrow__score { border-radius: 999px !important; }
.app .user__avatar, .app .call__avatar, .app .member__avatar, .app .scanrow img, .app .compose__avatar,
.app .me__avatar, .app .who img { border-radius: 50% !important; border: 1px solid rgba(238,246,241,.12); }
/* flat surfaces, no hard pixel shadows */
.app .pill, .app .iconbtn, .app .tabs, .app .seg, .app .vote, .app .me__stats div, .app .wstats div,
.app .revpool div, .app .revyou, .app .pnlrow, .app .bag, .app .call__tok, .app .rewards,
.app .compose__text, .app .compose__token {
  border: 1px solid rgba(238,246,241,.12) !important; box-shadow: none !important; background: var(--panel-2);
}
.app .pill { text-transform: none; font-size: 13px; font-weight: 600; padding: 10px 16px; transition: background .15s ease, color .15s ease, border-color .15s ease; }
.app .pill:hover { transform: none; background: #24312a; }
.app .pill:active { transform: scale(.98); }
/* the three places green is allowed: primary action, active tab, hovered row */
.app .pill--cta, .app .pill--big { background: var(--panel-2); color: var(--text); }
.app .pill--cta:hover, .app .pill--big:hover { background: var(--accent); color: var(--accent-contrast); border-color: var(--accent) !important; }
.app .tabs__b.is-active, .app .seg__b.is-active { background: #26332c; color: var(--text); }
.app .tabs__b:hover, .app .seg__b:hover { color: var(--accent); }
.app .scanrow:hover, .app .member:hover { background: var(--panel-2); }
.app .scanrow:hover .scanrow__score { color: var(--accent); }
/* everything else: neutral on black */
.app .scanrow__score { background: var(--panel-2); color: var(--text); border: 1px solid rgba(238,246,241,.12); font-variant-numeric: tabular-nums; }
.app .scanrow__score.pos, .app .rep.pos, .app .vote__n.pos, .app .pos { background: transparent; color: #5ee08a; }
.app .scanrow__score.neg, .app .rep.neg, .app .vote__n.neg, .app .neg { background: transparent; color: #ff7a70; }
.app .scanrow__score.pos, .app .scanrow__score.neg { background: var(--panel-2); }
.app .rep { background: var(--panel-2); color: var(--text-muted); border: 1px solid rgba(238,246,241,.12); }
.app .chip-soon, .app .count, .app .tag { background: var(--panel-2); color: var(--text-muted); border: 1px solid rgba(238,246,241,.12); font-size: 11px; text-transform: none; }
.app .call__tok .side { background: var(--panel-2); color: #5ee08a; border: 1px solid rgba(94,224,138,.25); }
.app .call__tok .side--sell { color: #ff7a70; border-color: rgba(255,122,112,.25); }
.app .backed { background: var(--panel-2); color: #5ee08a; border: 1px solid rgba(94,224,138,.25); }
.app .rewards { background: var(--panel-2); color: var(--text-muted); }
.app .rewards__dot { background: var(--accent); border-radius: 50%; }
.app .revyou { background: var(--panel-2); }
.app .vote__up.is-on { background: #1c3a27; color: #7ff0a6; box-shadow: none; }
.app .vote__down.is-on { background: #3a1c1c; color: #ff9a92; box-shadow: none; }
.app .vote__b:hover:not(:disabled):not(.is-on) { background: #24312a; color: var(--text); }
.app .docs__num { background: var(--panel-2); color: var(--text); }
.app .compose__text::placeholder, .app .compose__token::placeholder { color: var(--text-subtle); }
.app .card__sub, .app .side__empty, .app .scanrow__meta, .app .call__handle, .app .call__time { color: var(--text-muted); }
/* the green wash lives behind the blocks, not on them */
body.is-authed .bg { background: radial-gradient(70% 45% at 50% 0%, rgba(34,224,106,.16) 0%, rgba(34,224,106,0) 65%), var(--bg-page) !important; }
html[data-theme="dark"] body.is-authed .bg, body.is-authed[data-theme="dark"] .bg { background: radial-gradient(70% 45% at 50% 0%, rgba(34,224,106,.12) 0%, rgba(34,224,106,0) 65%), #070b09 !important; }
/* app: the mark reads as a blob at chip size — keep it only where it carries state */
.app .rep .pmark { display: none; }
.app .rep { font-size: 11px; padding: 2px 8px; }
.app .vote__mark .pmark { width: 16px; height: 16px; }
.app .vote__mark { color: var(--text-subtle); }
.app .vote.is-up .vote__mark { color: #5ee08a; } .app .vote.is-down .vote__mark { color: #ff7a70; }
/* the bar follows the app into the dark once you are in */
body.is-authed .topbar { background: #0f1512; border-bottom: 1px solid rgba(238,246,241,.12); color: #eef6f1; }
body.is-authed .topbar .brand__word { color: #eef6f1; }
body.is-authed .topbar .brand__tld { color: rgba(238,246,241,.55); }
body.is-authed .topbar__nav { background: #1b241f; border: 1px solid rgba(238,246,241,.12); border-radius: 12px; }
body.is-authed .topbar__nav a, body.is-authed .topbar__nav button { color: rgba(238,246,241,.6); font-family: "Inter", system-ui, sans-serif; text-transform: none; border-radius: 9px; }
body.is-authed .topbar__nav a:hover, body.is-authed .topbar__nav button:hover { color: #22e06a; }
body.is-authed .topbar__nav .is-active { background: #26332c; color: #eef6f1; }
body.is-authed .topbar .iconbtn, body.is-authed .topbar .user, body.is-authed .topbar .pill {
  background: #1b241f; border: 1px solid rgba(238,246,241,.12); box-shadow: none; color: #eef6f1; border-radius: 10px;
}
body.is-authed .topbar .iconbtn { border-radius: 10px; }
body.is-authed .topbar .iconbtn:hover { transform: none; background: #24312a; color: #22e06a; }
body.is-authed .topbar .user__avatar { border-radius: 50%; border: 1px solid rgba(238,246,241,.12); }
body.is-authed .topbar .user__handle { font-family: "Inter", system-ui, sans-serif; }
body.is-authed .topbar .chip-soon { background: #26332c; color: rgba(238,246,241,.7); border: 1px solid rgba(238,246,241,.12); border-radius: 999px; text-transform: none; font-family: "Inter", system-ui, sans-serif; }
body.is-authed { background: #070b09; }
body.is-authed .topbar .user { padding: 4px 8px 4px 4px; gap: 8px; }
body.is-authed .topbar .user__out { border-radius: 8px; color: rgba(238,246,241,.55); }
body.is-authed .topbar .user__out:hover { background: #24312a; color: #22e06a; }
