/* bros.run — the community as a live trading room (reference: alphabros-dual-ui/bros-run-ui). Dark, dense. */
:root { --bg:#07080d; --panel:#0d1119; --panel2:#121824; --line:#20293a; --text:#f7f8fb; --muted:#8f99ab; --purple:#7a4dff; --purple2:#aca2ff; --green:#1ed37a; --red:#ff5d68; --gold:#f4b448; --blue:#4aa4ff; --font:"Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: radial-gradient(circle at 80% 0, rgba(122,77,255,.10), transparent 30%), var(--bg); color: var(--text); font: 14px/1.5 var(--font); }
a { color: var(--purple2); text-decoration: none; }
a:hover { text-decoration: underline; }
b, strong { font-weight: 700; }
.muted { color: var(--muted); } .small { font-size: 12px; } .pad { padding: 16px; } .buy { color: var(--green); } .sell { color: var(--red); } .warn { color: var(--gold); }
.boot, .center { min-height: 60vh; display: grid; place-items: center; color: var(--muted); }
button { font-family: inherit; }
.outline, .primary, .text-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line); border-radius: 8px; background: #111620; color: #fff; padding: 9px 13px; cursor: pointer; font: 600 13px var(--font); text-decoration: none !important; white-space: nowrap; }
.primary { background: linear-gradient(135deg, #6841ff, #8e58ff); border-color: #8c6bff; }
.outline:hover { border-color: #3a4660; }
.sm { padding: 6px 10px; font-size: 12px; }
.wide { width: 100%; margin-top: 8px; }
.wide-btn > * { width: 100%; margin-top: 8px; }
button[disabled] { opacity: .55; cursor: default; }
.text-btn { border: 0; background: transparent; color: var(--purple2); padding: 0; }
.link { border: 0; background: none; color: var(--purple2); cursor: pointer; font: inherit; padding: 0; }
.eyebrow { font-size: 10px; letter-spacing: .12em; font-weight: 800; color: #8d82ff; }
.card { background: linear-gradient(180deg, #111620, #0d1119); border: 1px solid var(--line); border-radius: 11px; }
.note { font-size: 11px; color: var(--muted); margin: 10px 0 0; }
.badges { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 9px; }
.badge { font-size: 9px; font-weight: 700; letter-spacing: .04em; border: 1px solid var(--line); padding: 3px 7px; border-radius: 999px; color: #aab2c2; }
.badge.gold { color: var(--gold); background: #211a0c; border-color: #5f4920; }
.badge.green { color: var(--green); background: #0b2117; border-color: #1d5a3b; }
.badge.purple { color: var(--purple2); background: #19142e; border-color: #3b2f6e; }
.badge.red { color: var(--red); background: #2a1014; border-color: #5e2029; }
.av, .logo, .tok { flex: none; object-fit: cover; display: inline-block; }
.av { border-radius: 10px; }
.logo { border-radius: 12px; }
.tok { border-radius: 50%; background: #1a2030; }
.av-letter, .logo-letter, .tok-letter { display: inline-grid; place-items: center; font-weight: 800; background: linear-gradient(135deg, #2a2055, #7644ff); color: #fff; }
.av-letter { background: #1c2331; color: #cfd5e2; }
.tok-letter { font-size: 12px; background: #1a2030; color: #cfd5e2; }
/* shell */
.shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; border-right: 1px solid var(--line); background: #090b11; padding: 16px; display: flex; flex-direction: column; }
.powered { display: flex; gap: 10px; align-items: center; color: var(--text); text-decoration: none !important; }
.powered img { border-radius: 9px; }
.powered b { display: block; font-size: 14px; }
.powered span { display: block; font-size: 10px; color: var(--muted); }
.community-mini { margin: 22px 0 16px; position: relative; }
.cover-mini { height: 70px; border-radius: 10px; background: linear-gradient(135deg, #281d55, #7a4dff 50%, #0f7893); }
.mini-logo { position: absolute; left: 12px; top: 46px; border: 3px solid #090b11; }
.community-mini h2 { margin: 28px 0 0; font-size: 16px; line-height: 1.25; }
.handle { font-size: 11px; color: var(--muted); }
.sidebar nav { display: flex; flex-direction: column; gap: 5px; }
.tab { height: 42px; border: 1px solid transparent; background: transparent; color: #909aad; border-radius: 9px; padding: 0 10px; display: grid; grid-template-columns: 24px 1fr auto; align-items: center; text-decoration: none !important; font-weight: 600; }
.tab i { font-style: normal; }
.tab em { font-style: normal; font-size: 11px; }
.tab.active, a.tab:hover { background: #141925; color: #fff; border-color: #232c3d; }
.tab.soon { opacity: .55; cursor: default; }
.tab.soon em { font-size: 8px; font-weight: 800; color: var(--gold); border: 1px solid #5f4920; border-radius: 999px; padding: 1px 5px; }
.sidebar-bottom { margin-top: auto; }
.main { min-width: 0; }
.topbar { height: 64px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 22px; background: rgba(8,10,15,.9); backdrop-filter: blur(14px); position: sticky; top: 0; z-index: 5; }
.search { width: min(560px, 50vw); height: 38px; border: 1px solid var(--line); background: #0b0f16; border-radius: 9px; display: flex; align-items: center; gap: 8px; padding: 0 11px; color: #687389; }
.search input { width: 100%; background: transparent; border: 0; outline: 0; color: #fff; font: 13px var(--font); }
.top-actions { display: flex; gap: 8px; align-items: center; }
.live { font-size: 10px; font-weight: 800; letter-spacing: .06em; color: var(--green); border: 1px solid #1e5e40; background: #0c1e16; padding: 7px 9px; border-radius: 999px; white-space: nowrap; }
.live i, .blink { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); margin-right: 5px; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.wallet { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 8px; background: #111620; color: #fff; padding: 5px 10px 5px 6px; font-weight: 600; font-size: 13px; text-decoration: none !important; }
.view { padding: 22px; max-width: 1500px; margin: auto; }
/* home */
.hero { overflow: hidden; }
.cover { height: 170px; background: linear-gradient(110deg, #24194a 0, #6d43ff 40%, #3f76d5 66%, #092b35 100%); position: relative; }
.cover::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 78% 40%, rgba(255,255,255,.18), transparent 12%), linear-gradient(90deg, transparent, rgba(255,255,255,.04), transparent); }
.hero-body { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: end; padding: 0 20px 16px; margin-top: -32px; position: relative; }
.logo.big { border: 4px solid #111620; border-radius: 16px; }
.hero-main { padding-top: 38px; min-width: 0; }
.title-line h1 { margin: 0; font-size: 26px; }
.hero-main p { max-width: 760px; color: #a8b0bf; margin: 8px 0 0; }
.hero-metrics { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); background: #0a0e15; }
.hero-metrics > div { padding: 12px 16px; border-right: 1px solid var(--line); }
.hero-metrics > div:last-child { border-right: 0; }
.hero-metrics strong { display: block; font-size: 17px; }
.hero-metrics span { font-size: 10px; color: var(--muted); }
.content-grid { display: grid; grid-template-columns: 1fr 340px; gap: 16px; margin-top: 18px; }
.section-head, .page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin: 12px 0; }
.section-head h2, .page-head h1 { margin: 2px 0; }
.page-head h1 { font-size: 24px; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.activity { padding: 13px; display: grid; grid-template-columns: 42px 1fr auto; gap: 10px; align-items: center; color: var(--text); text-decoration: none !important; cursor: pointer; }
.activity:hover { border-color: #33405a; }
.activity b { display: block; }
.activity span { font-size: 11px; color: var(--muted); }
.activity > div:last-child { font-size: 11px; font-weight: 800; }
.right-stack { display: flex; flex-direction: column; gap: 12px; }
.access-card { padding: 16px; }
.access-card h3 { margin: 5px 0 12px; }
.req, .detail { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid #1b2330; font-size: 13px; }
.req span, .detail span { color: var(--muted); font-size: 11px; }
/* live market */
.mk-mini { padding: 14px 0 6px; }
.mk-head { display: flex; justify-content: space-between; padding: 0 14px 8px; }
.mk-row { width: 100%; display: flex; align-items: center; gap: 10px; padding: 8px 14px; border: 0; background: none; color: var(--text); cursor: pointer; text-align: left; }
.mk-row:hover, .lt-row:hover { background: #121826; }
.mk-who { flex: 1; min-width: 0; }
.mk-who b, .mk-val b { display: block; font-size: 13px; }
.mk-who small { display: block; font-size: 10px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-val { text-align: right; }
.mk-val small { font-size: 11px; font-weight: 700; }
sub { font-size: 9px; }
.spark { width: 60px; height: 22px; flex: none; display: block; }
.spark.up { color: var(--green); } .spark.down { color: var(--red); }
/* chat room */
.chat-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 14px; }
.chat-panel { height: calc(100vh - 108px); display: grid; grid-template-rows: auto 1fr auto; min-height: 420px; }
.chat-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.chat-head span { display: block; font-size: 10px; color: var(--muted); }
.mk-toggle, .mk-close { display: none; }
.messages { overflow: auto; padding: 18px; }
.msg { display: grid; grid-template-columns: 36px 1fr; gap: 10px; margin: 0 0 16px; }
.msg-head { display: flex; gap: 8px; align-items: center; }
.msg-head a { color: #fff; }
.msg-head span { font-size: 10px; color: var(--muted); }
.msg-body { color: #d9dce3; overflow-wrap: anywhere; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.chip { font-size: 10px; padding: 2px 8px; border-radius: 6px; background: #151b28; color: #aab2c2; border: 1px solid var(--line); }
.chip.bullish { color: var(--green); background: #0b2117; border-color: #1d5a3b; }
.chip.bearish { color: var(--red); background: #2a1014; border-color: #5e2029; }
.msg-acts { display: flex; gap: 12px; margin-top: 4px; }
.msg-acts button, .msg-acts a { border: 0; background: none; color: #6c7587; font: 600 11px var(--font); cursor: pointer; padding: 0; text-decoration: none !important; }
.msg-acts button:hover, .msg-acts a:hover { color: #c0c7d3; }
.msg-acts .on { color: #ff4f8b; }
.trade-card { margin-top: 6px; border: 1px solid #243044; background: #0a0f17; border-radius: 9px; padding: 11px; cursor: pointer; }
.trade-card:hover { border-color: #3a4a66; }
.trade-line { display: grid; grid-template-columns: minmax(150px, 1.4fr) repeat(5, minmax(60px, auto)); gap: 12px; align-items: center; }
.tl-tok { display: flex; align-items: center; gap: 8px; }
.trade-line b { font-size: 13px; }
.trade-line small { display: block; color: #7f899c; font-size: 9px; }
.trade-line strong { font-size: 12px; }
.composer { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); align-items: flex-end; }
.composer textarea { flex: 1; resize: none; background: #0a0e15; border: 1px solid var(--line); border-radius: 8px; padding: 10px; color: #fff; font: 14px var(--font); min-height: 40px; max-height: 140px; outline: none; }
.composer textarea:focus { border-color: #4b3aa0; }
.composer .send { width: 42px; height: 40px; border: 0; background: #7047ff; color: #fff; border-radius: 8px; cursor: pointer; font-size: 15px; }
.join-bar { justify-content: space-between; align-items: center; color: var(--muted); font-size: 13px; }
.market-col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.context { padding: 14px; }
.ctx-top { display: flex; gap: 10px; align-items: center; }
.ctx-top > div:nth-child(2) { flex: 1; min-width: 0; }
.token-large { font-size: 22px; font-weight: 900; line-height: 1.1; }
.ctx-price { text-align: right; }
.ctx-price b { display: block; font-size: 16px; }
.ctx-price small { font-size: 11px; font-weight: 700; }
.hp { margin-top: 10px; padding: 9px 11px; border-radius: 8px; background: #2a1014; border: 1px solid #5e2029; color: #ff8a93; font-size: 12px; font-weight: 600; }
.chart { width: 100%; height: 230px; border: 1px solid #1d2634; border-radius: 9px; margin-top: 12px; background: #0a0e15; }
.context-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0; }
.context-box { padding: 9px 10px; background: #0a0e15; border: 1px solid #1d2634; border-radius: 8px; }
.context-box span { display: block; color: var(--muted); font-size: 10px; }
.context-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.buybtn, .sellbtn { text-align: center; padding: 10px; border-radius: 8px; font-weight: 700; text-decoration: none !important; }
.buybtn { background: #0d2b1d; color: #34e994; border: 1px solid #1b6d45; }
.sellbtn { background: #321217; color: #ff7884; border: 1px solid #7a2630; }
.mk-panel { overflow: hidden; }
.mk-tabs { display: flex; gap: 4px; padding: 8px; border-bottom: 1px solid var(--line); }
.mk-tabs button { flex: 1; border: 1px solid transparent; background: transparent; color: #909aad; border-radius: 8px; padding: 7px; cursor: pointer; font: 700 12px var(--font); display: inline-flex; align-items: center; justify-content: center; }
.mk-tabs button.on { background: #141925; color: #fff; border-color: #232c3d; }
.mk-list { max-height: 360px; overflow: auto; padding: 4px 0; }
.lt-row { width: 100%; display: grid; grid-template-columns: 8px 22px 1fr auto auto 32px; gap: 8px; align-items: center; padding: 7px 12px; border: 0; background: none; color: var(--text); cursor: pointer; font-size: 12px; text-align: left; }
.lt-row small { color: var(--muted); font-size: 10px; text-align: right; }
.lt-usd { font-weight: 700; }
.dot { width: 7px; height: 7px; border-radius: 50%; }
.dot.buy { background: var(--green); } .dot.sell { background: var(--red); }
/* trades, members, about */
.filters { display: flex; gap: 6px; }
.filters button { border: 1px solid var(--line); background: #111620; color: #9ba5b7; padding: 8px 12px; border-radius: 8px; cursor: pointer; font: 600 12px var(--font); }
.filters button.active { color: #fff; background: #171d2a; }
.trade-list, .member-list { overflow: hidden; }
.trade-row { display: grid; grid-template-columns: 1.3fr 1.1fr repeat(5, .75fr) auto; gap: 12px; padding: 12px 15px; border-top: 1px solid #19212f; align-items: center; cursor: pointer; font-size: 13px; }
.trade-row:first-child { border-top: 0; }
.trade-row:hover { background: #10151f; }
.trade-row small { display: block; font-size: 9px; color: var(--muted); }
.tr-who, .tr-tok { display: flex; gap: 8px; align-items: center; min-width: 0; }
.member-row { display: flex; align-items: center; gap: 10px; padding: 12px 15px; border-top: 1px solid #19212f; }
.member-row:first-child { border-top: 0; }
.m-who { display: flex; gap: 10px; align-items: center; flex: 1; color: var(--text); text-decoration: none !important; }
.role { font-size: 9px; font-weight: 800; border: 1px solid var(--line); padding: 3px 8px; border-radius: 999px; color: #aab2c2; }
.role.owner { color: var(--gold); border-color: #5f4920; }
.role.admin { color: var(--purple2); border-color: #3b2f6e; }
.about-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 14px; }
.about-card { padding: 18px; }
.about-card h3 { margin: 0 0 10px; }
.about-card ol { padding-left: 20px; color: #a7afbd; }
.soon-card { padding: 24px; }
/* locked */
.locked { text-align: center; padding: 44px 24px; max-width: 760px; margin: 20px auto; }
.lock-orb { width: 80px; height: 80px; border-radius: 50%; margin: auto; display: grid; place-items: center; font-size: 34px; background: radial-gradient(circle, #3d2f78, #181427); box-shadow: 0 0 50px rgba(122,77,255,.25); }
.locked h1 { font-size: 30px; margin: 10px 0; }
.locked > p { color: var(--muted); }
.unlock-grid { display: grid; grid-template-columns: minmax(0, 420px); justify-content: center; margin: 22px 0; }
.unlock { padding: 18px; text-align: left; }
.unlock h3 { margin: 4px 0 10px; }
/* post thread */
.back { margin-bottom: 12px; }
.thread { max-width: 820px; }
.thread-sep { font-size: 11px; font-weight: 800; letter-spacing: .08em; color: var(--muted); border-top: 1px solid var(--line); padding: 12px 0 14px; text-transform: uppercase; }
/* landing */
.landing { max-width: 1100px; margin: 0 auto; padding: 0 18px 60px; }
.land-top { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; }
.land-hero { text-align: center; padding: 40px 0 34px; }
.land-hero h1 { font-size: 40px; margin: 8px 0 10px; letter-spacing: -.02em; }
.land-hero p { color: #a8b0bf; max-width: 560px; margin: 0 auto 20px; font-size: 15px; }
.land-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.land-card { position: relative; overflow: hidden; color: var(--text); text-decoration: none !important; }
.land-card:hover { border-color: #3a4660; }
.lc-cover { height: 60px; background: linear-gradient(110deg, #24194a, #6d43ff 50%, #3f76d5); }
.lc-logo { position: absolute; left: 14px; top: 36px; border: 3px solid #111620; }
.lc-body { padding: 30px 14px 14px; }
.lc-body b { display: block; font-size: 15px; }
.lc-body small { color: var(--muted); font-size: 11px; }
.lc-body p { font-size: 12px; color: #a8b0bf; margin: 6px 0 0; }
.center-card { text-align: center; max-width: 440px; }
/* join / sign-in panel */
.flow-back { position: fixed; inset: 0; background: rgba(2, 3, 8, .7); display: grid; place-items: center; z-index: 50; padding: 16px; }
.flow { width: 100%; max-width: 460px; background: #0f1420; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,.5); overflow: hidden; }
.flow header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px 6px; }
.flow header h2 { margin: 0; font-size: 18px; }
.flow .x { border: 0; background: none; font-size: 24px; line-height: 1; color: var(--muted); cursor: pointer; }
.flow-steps { display: flex; gap: 4px; list-style: none; margin: 0; padding: 8px 20px 12px; flex-wrap: wrap; }
.flow-steps li { display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; color: var(--muted); }
.flow-steps li span { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #1a2030; font-size: 10px; }
.flow-steps li.now { color: var(--purple2); } .flow-steps li.now span { background: var(--purple); color: #fff; }
.flow-steps li.done span { background: #0b2117; color: var(--green); }
.flow-steps li + li::before { content: "›"; color: #3a4660; margin-right: 2px; }
.flow-gate { margin: 0 20px 8px; padding: 10px 12px; border-radius: 10px; background: #211a0c; border: 1px solid #5f4920; color: var(--gold); font-size: 12px; }
.flow-body { padding: 8px 20px 20px; display: flex; flex-direction: column; gap: 10px; }
.flow-body p { margin: 0; line-height: 1.5; }
.wallets { display: flex; flex-direction: column; gap: 8px; }
.wallet-opt { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #111620; color: var(--text); font: 600 14px var(--font); cursor: pointer; text-align: left; }
.wallet-opt:hover { border-color: var(--purple); }
.wallet-opt img { border-radius: 8px; }
.w-dot { width: 28px; height: 28px; border-radius: 8px; background: #1a2030; }
.terms { max-height: 220px; overflow: auto; padding: 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 12px; background: #0a0e15; color: #c0c7d3; }
.terms p { margin: 0 0 8px; }
.agree { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; font-weight: 600; }
.agree input { margin-top: 3px; }
.uid { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; background: #0a0e15; }
.uid span { padding: 0 4px 0 12px; color: var(--muted); }
.uid input { flex: 1; border: 0; background: transparent; padding: 10px 12px 10px 0; font: 14px var(--font); color: var(--text); outline: none; }
.flow-err { padding: 10px 12px; border-radius: 10px; background: #2a1014; border: 1px solid #5e2029; color: #ff8a93; font-size: 13px; }
.flow-ok { width: 44px; height: 44px; border-radius: 50%; background: #0b2117; color: var(--green); display: grid; place-items: center; font-size: 22px; font-weight: 800; }
.flow-body h3 { margin: 0; }
#toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); opacity: 0; background: #f7f8fb; color: #07080d; padding: 10px 16px; border-radius: 10px; font-weight: 700; font-size: 13px; transition: .2s; pointer-events: none; z-index: 60; }
#toast.on { opacity: 1; transform: translateX(-50%); }
/* responsive */
@media (max-width: 1180px) {
  .chat-layout { grid-template-columns: 1fr; }
  .market-col { display: none; }
  .market-col.open { display: flex; position: fixed; inset: 64px 0 0 auto; width: min(380px, 100vw); background: var(--bg); border-left: 1px solid var(--line); padding: 12px; overflow: auto; z-index: 20; }
  .mk-toggle, .market-col.open .mk-close { display: inline-flex; }
  .mk-close { align-self: flex-end; }
}
@media (max-width: 1000px) {
  .shell { grid-template-columns: 72px 1fr; }
  .powered > div, .community-mini h2, .community-mini .handle, .community-mini .badges, .tab span, .tab em, .sidebar-bottom { display: none; }
  .sidebar { padding: 12px 10px; align-items: center; }
  .community-mini { width: 100%; } .cover-mini { display: none; } .mini-logo { position: static; margin: auto; display: grid; }
  .tab { grid-template-columns: 1fr; text-align: center; padding: 0; }
  .content-grid { grid-template-columns: 1fr; }
  .trade-row { grid-template-columns: 1.3fr 1.1fr repeat(3, .8fr) auto; }
  .trade-row > div:nth-child(6), .trade-row > div:nth-child(7) { display: none; }
}
@media (max-width: 720px) {
  .shell { display: block; }
  .sidebar { position: fixed; bottom: 0; top: auto; height: 62px; width: 100%; z-index: 10; border-right: 0; border-top: 1px solid var(--line); flex-direction: row; justify-content: center; padding: 8px; }
  .powered, .community-mini, .sidebar-bottom { display: none; }
  .sidebar nav { flex-direction: row; }
  .tab { width: 48px; height: 44px; }
  .topbar { padding: 0 12px; } .search { width: 42vw; } .hide-sm, .live { display: none; }
  .wallet span { display: none; }
  .view { padding: 14px 14px 80px; }
  .cover { height: 110px; }
  .hero-body { grid-template-columns: auto 1fr; align-items: center; }
  .hero-body > .primary, .hero-body > .outline { grid-column: 1 / -1; }
  .hero-metrics { grid-template-columns: repeat(3, 1fr); } .hero-metrics > div:nth-child(n+4) { display: none; }
  .chat-panel { height: calc(100vh - 150px); }
  .trade-line { grid-template-columns: 1fr 1fr 1fr; } .trade-line > *:nth-child(n+4) { display: none; }
  .trade-row { grid-template-columns: 1fr auto; } .trade-row > *:nth-child(n+3):not(:last-child) { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .land-hero h1 { font-size: 30px; }
}

/* right column: Swap · Community · Market */
.side { overflow: hidden; display: flex; flex-direction: column; }
.side-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 8px; border-bottom: 1px solid var(--line); }
.side-tabs button { border: 1px solid transparent; background: transparent; color: #909aad; border-radius: 8px; padding: 8px; cursor: pointer; font: 700 12.5px var(--font); }
.side-tabs button.on { background: #1a1531; color: #fff; border-color: #3b2c7a; }
.side-body { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.side-body .chart { height: 200px; margin-top: 0; }
.side-body .context-grid { margin: 2px 0 0; }
.side-head { padding: 12px 14px 4px; }
.side-head b { display: block; font-size: 13.5px; }
.side-head small { color: var(--muted); font-size: 11px; }
.chipbar { display: flex; gap: 6px; padding: 8px 14px 10px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.chipbar button { border: 1px solid #232c3d; background: #0f141e; color: #aab3c4; border-radius: 999px; padding: 5px 10px; font: 700 11px var(--font); cursor: pointer; display: inline-flex; align-items: center; gap: 5px; }
.chipbar button.on { background: var(--purple); border-color: var(--purple); color: #fff; }
.side-list { max-height: 560px; overflow: auto; padding: 4px 0; }
.mk-val small.muted { color: var(--muted); font-weight: 600; }
.cm-row { width: 100%; display: flex; align-items: center; gap: 10px; padding: 9px 14px; border: 0; background: none; color: var(--text); cursor: pointer; text-align: left; }
.cm-row:hover { background: #121826; }
.cm-row .mk-who small { display: flex; align-items: center; gap: 6px; }
.avs { display: inline-flex; }
.avs .av { border: 1.5px solid var(--panel); margin-left: -5px; border-radius: 50%; }
.avs .av:first-child { margin-left: 0; }
.bs { display: block; height: 4px; border-radius: 4px; background: #4a1c24; margin-top: 6px; max-width: 140px; overflow: hidden; }
.bs i { display: block; height: 100%; background: var(--green); }
.sw-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: #0a0e15; border: 1px solid #1d2634; border-radius: 10px; }
.sw-seg button { border: 0; background: transparent; color: #909aad; padding: 8px; border-radius: 7px; font: 800 13px var(--font); cursor: pointer; }
.sw-seg .buy-on { background: #0d2b1d; color: #34e994; }
.sw-seg .sell-on { background: #321217; color: #ff7884; }
.sw-field { background: #0a0e15; border: 1px solid #1d2634; border-radius: 10px; padding: 10px 12px; display: grid; gap: 6px; }
.sw-lbl { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; }
.sw-in { display: flex; align-items: center; gap: 8px; }
.sw-in input, .sw-in output { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--text); font: 800 22px var(--font); outline: none; padding: 0; }
.sw-in output { color: #6f7a8e; }
.sw-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 5px; border-radius: 999px; background: #151b28; border: 1px solid #232c3d; font-weight: 800; font-size: 13px; white-space: nowrap; }
.tok-letter.eth { background: #2b3350; color: #c9d2ff; }
.sw-quick { display: flex; gap: 6px; flex-wrap: wrap; }
.sw-quick button { border: 1px solid #232c3d; background: #111723; color: #c4cbda; border-radius: 7px; padding: 4px 8px; font: 700 11px var(--font); cursor: pointer; }
.sw-rows { display: grid; gap: 6px; font-size: 12px; padding: 0 2px; }
.sw-rows div { display: flex; justify-content: space-between; }
.sw-rows span { color: var(--muted); }
.linkish { border: 0; background: none; color: var(--purple2); font: 700 12px var(--font); cursor: pointer; padding: 0 0 0 6px; text-decoration: underline; }
.sw-go { padding: 12px; border-radius: 10px; font: 800 14px var(--font); cursor: pointer; border: 1px solid transparent; }
.go-buy { background: var(--green); color: #04150c; }
.go-sell { background: var(--red); color: #1d0508; }
.side, .side-body, .sw-field { min-width: 0; }
.sw-in input { width: 100%; }
.chipbar.scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.chipbar.scroll button { flex: none; }
@media (min-width: 1181px) {
  .chat-layout > .market-col { height: calc(100vh - 108px); min-height: 420px; overflow-y: auto; scrollbar-width: thin; }
  .chat-layout > .market-col .side-list { max-height: none; }
}
.chipbar.scroll { gap: 4px; } .chipbar.scroll button { padding: 5px 8px; }

/* Swap tab */
.chart-slot { height: 200px; border: 1px solid #1d2634; border-radius: 9px; background: #0a0e15; }
.chart-float { position: fixed; margin: 0; border: 0; border-radius: 9px; z-index: 21; background: #0a0e15; }
.sw-err { padding: 9px 11px; border-radius: 8px; background: #2a1014; border: 1px solid #5e2029; color: #ff9aa2; font-size: 12px; line-height: 1.45; }
.sw-check { padding: 9px 11px; border-radius: 8px; background: #111723; border: 1px solid #232c3d; color: #c4cbda; font-size: 12px; }
.sw-check.ok { background: #0b2117; border-color: #1b6d45; color: #6ff0b0; }
.sw-busy { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: #d9ddff; }
.spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #3b2c7a; border-top-color: var(--purple2); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.sw-review { display: grid; gap: 10px; padding: 12px; border: 1px solid #2c2352; border-radius: 10px; background: #0e0c1a; }
.sw-actions { display: grid; grid-template-columns: auto 1fr; gap: 8px; }
.sw-go:disabled { background: #1a2030; color: #6f7a8e; cursor: not-allowed; border-color: #232c3d; }
.sw-slips { display: flex; gap: 6px; flex-wrap: wrap; }
.sw-slips button { border: 1px solid #232c3d; background: #111723; color: #c4cbda; border-radius: 7px; padding: 5px 9px; font: 700 11.5px var(--font); cursor: pointer; }
.sw-slips button.on { background: var(--purple); border-color: var(--purple); color: #fff; }
.sw-pick { display: grid; gap: 4px; padding: 10px; border: 1px solid #232c3d; border-radius: 10px; }
.sw-pick .outline { justify-content: flex-start; }
.sw-risk { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; color: #ff9aa2; }
.sw-done { display: grid; justify-items: center; gap: 8px; padding: 16px 8px; text-align: center; }
.sw-done a { font-weight: 700; color: var(--purple2); }
.cover-mini, .lc-cover { overflow: hidden; position: relative; }
.cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.cover .cover-img { z-index: 0; }

/* Market page */
.market-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 14px; align-items: start; }
.mkt-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.mkt-main .page-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-end; }
.mkt-main .page-head p { margin: 4px 0 0; font-size: 13px; }
.mkt-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.mkt-stats div { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.mkt-stats b { display: block; font-size: 16px; font-variant-numeric: tabular-nums; }
.mkt-stats span { color: var(--muted); font-size: 11px; }
.mkt-card { overflow: hidden; }
.mkt-card .chipbar { border-bottom: 1px solid var(--line); }
.mkt-scroll { overflow-x: auto; }
.mkt-table { width: 100%; border-collapse: collapse; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.mkt-table th { text-align: left; color: var(--muted); font-weight: 700; font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; padding: 9px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.mkt-table td { padding: 9px 10px; border-bottom: 1px solid #151b27; white-space: nowrap; }
.mkt-table .r { text-align: right; }
.mkt-table tbody tr[data-act] { cursor: pointer; }
.mkt-table tbody tr:hover { background: #111724; }
.mkt-table.sm td, .mkt-table.sm th { padding: 7px 10px; }
.mkt-table .tk { display: inline-flex; align-items: center; gap: 9px; }
.mkt-table .tk small { display: block; color: var(--muted); font-size: 10.5px; }
.mkt-table a { color: var(--purple2); text-decoration: none; }
.mkt-table .bs.wide { display: inline-block; width: 60px; margin: 0 6px 0 0; vertical-align: middle; }
.mono { font-family: ui-monospace, "SF Mono", Consolas, monospace; font-size: 11.5px; }
.side-pill { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 800; }
.side-pill.buy { background: #0d2b1d; color: #34e994; }
.side-pill.sell { background: #321217; color: #ff7884; }
.side-pill.warn { background: #33280f; color: #f5b83d; }
.ins-body { padding: 4px 14px 10px; display: grid; gap: 8px; } .ins-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12.5px; } .ins-row > span:first-child { min-width: 170px; } .ins-row b { font-size: 15px; }
.ins-facts { font-size: 12px; color: #8f99ab; } .ins-facts b { color: #e8ecf3; } .ins-note { font-size: 11.5px; margin: 0; }
.ins-tag { display: inline-block; font-size: 9.5px; font-weight: 800; border-radius: 999px; padding: 0 6px; border: 1px solid #5a2a31; color: #ff7884; white-space: nowrap; margin: 1px 0; }
.ins-tag.creator, .ins-tag.creatorFunded { color: #a970ff; border-color: #3d2766; }
.side-pill:not(.buy):not(.sell):not(.warn) { background: #1a2130; color: #9aa6b8; }
.pos-who { display: inline-flex; align-items: center; gap: 6px; }
.pos-tag { font-size: 9.5px; font-weight: 800; border-radius: 999px; padding: 0 6px; border: 1px solid; }
.pos-tag.smart { color: #f5b83d; border-color: #5a4318; } .pos-tag.you { color: #4c8dff; border-color: #1f3866; }
.pos-tag.following { color: #a970ff; border-color: #3d2766; } .pos-tag.member { color: #9aa6b8; border-color: #2a3344; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 12px; padding: 8px 12px 2px; font-size: 11px; color: #8f99ab; }
.chart-legend span { display: inline-flex; align-items: center; gap: 5px; } .chart-legend i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.flag { font-size: 9.5px; font-weight: 800; color: var(--gold); border: 1px solid #5a4318; border-radius: 999px; padding: 0 5px; }
.back { color: var(--muted); font-weight: 700; font-size: 13px; text-decoration: none; }
.tk-head { display: flex; align-items: center; gap: 16px; padding: 16px; flex-wrap: wrap; }
.tk-id { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 200px; }
.tk-id h1 { margin: 0; font-size: 24px; }
.tk-price { text-align: right; }
.tk-price b { display: block; font-size: 22px; }
.tk-price span { font-size: 12px; font-weight: 700; }
.tk-links { display: flex; gap: 6px; flex-wrap: wrap; }
.chart-slot.big { height: 440px; }
.tk-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tk-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tk-members .tm-row { display: flex; align-items: center; gap: 9px; padding: 7px 14px; font-size: 12.5px; }
.tk-members .tm-row small { margin-left: auto; }
.chat-mini { display: grid; grid-template-rows: minmax(0, 1fr) auto; height: calc(100vh - 170px); min-height: 420px; }
.chat-mini .messages { padding: 12px; }
.chat-mini .msg .trade-line { grid-template-columns: 1fr; }
@media (min-width: 1181px) { .market-layout > .market-col { position: sticky; top: 14px; max-height: calc(100vh - 100px); overflow-y: auto; } }
@media (max-width: 1180px) {
  .market-layout { grid-template-columns: 1fr; }
  .mkt-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tk-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tk-cols { grid-template-columns: 1fr; }
  .chart-slot.big { height: 320px; }
}
/* Telegram-style replies */
.reply-bar { display: flex; align-items: center; gap: 10px; margin: 0 14px; padding: 8px 10px; border-left: 3px solid var(--purple); background: #13112a; border-radius: 6px 6px 0 0; font-size: 12px; }
.reply-bar i { color: var(--purple2); font-style: normal; }
.reply-bar div { flex: 1; min-width: 0; }
.reply-bar b { display: block; color: var(--purple2); }
.reply-bar span { display: block; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reply-bar button { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 14px; }
.quote { display: block; width: 100%; text-align: left; margin: 4px 0 6px; padding: 6px 10px; border: 0; border-left: 3px solid var(--purple); background: #13112a; border-radius: 6px; color: var(--text); cursor: pointer; font: 12px var(--font); }
.quote b { display: block; color: var(--purple2); font-size: 11.5px; }
.quote span { display: block; color: #aab3c4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.quote.gone span { font-style: italic; }
.msg.flash { background: #1b1640; transition: background .3s; border-radius: 10px; }
/* hero: the 3:1 cover is the background of everything above the metrics */
.hero-top { position: relative; aspect-ratio: 3 / 1; min-height: 260px; max-height: 420px; width: 100%; background: linear-gradient(110deg, #24194a 0, #6d43ff 40%, #3f76d5 66%, #092b35 100%); display: flex; align-items: flex-end; overflow: hidden; }
.hero-top .cover-img { z-index: 0; }
.hero-top::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(7, 8, 13, 0) 30%, rgba(7, 8, 13, .55) 62%, rgba(7, 8, 13, .92) 100%); }
.hero-top .hero-body { position: relative; z-index: 2; width: 100%; margin: 0; padding: 0 24px 20px; grid-template-columns: auto minmax(0, 1fr) auto; align-items: end; gap: 18px; }
.hero-top .logo.big { width: 84px !important; height: 84px !important; border: 3px solid rgba(255, 255, 255, .9); border-radius: 18px; box-shadow: 0 8px 24px rgba(0, 0, 0, .45); }
.hero-top .hero-main { padding: 0; }
.hero-top h1 { margin: 0; font-size: 30px; line-height: 1.1; letter-spacing: -.02em; color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .55); }
.hero-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 7px; font-size: 12.5px; color: #d6dae3; }
.hero-meta .handle { color: #fff; font-weight: 700; }
.hero-meta .sep { width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, .5); }
.hero-meta .badge { background: rgba(10, 12, 20, .55); backdrop-filter: blur(4px); }
.hero-top .hero-main p { margin: 8px 0 0; max-width: 680px; color: #e3e6ee; font-size: 13.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.hero-top .hero-body > .primary, .hero-top .hero-body > .outline { align-self: end; }
@media (max-width: 760px) {
  .hero-top { aspect-ratio: auto; min-height: 300px; }
  .hero-top .hero-body { grid-template-columns: auto minmax(0, 1fr); padding: 0 16px 16px; }
  .hero-top .logo.big { width: 60px !important; height: 60px !important; }
  .hero-top h1 { font-size: 22px; }
}
.hero-top .hero-body > .outline, .hero-top .hero-body > .primary.joined { background: rgba(10, 12, 20, .55); border-color: rgba(255, 255, 255, .28); backdrop-filter: blur(6px); }

/* Manage (owner / admins) on the About page */
#manage { margin-top: 14px; }
.manage { padding: 20px; display: grid; gap: 16px; }
.mg-head h3 { margin: 4px 0 2px; font-size: 20px; }
.mg-head p { margin: 0; font-size: 12.5px; }
.mg-pics { display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: 16px; align-items: stretch; }
.mg-cover { position: relative; aspect-ratio: 3 / 1; border-radius: 12px; overflow: hidden; background: linear-gradient(110deg, #24194a 0, #6d43ff 40%, #3f76d5 66%, #092b35 100%); border: 1px solid var(--line); display: grid; place-items: center; }
.mg-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mg-cover > span { color: #e0e3ec; font-size: 12.5px; font-weight: 600; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
.mg-pic-acts { position: absolute; right: 10px; bottom: 10px; display: flex; gap: 6px; }
.mg-pic-acts .outline, .mg-logo .outline { background: rgba(10, 12, 20, .65); backdrop-filter: blur(6px); cursor: pointer; }
.mg-logo { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: #0a0e15; }
.mg-logo .logo { border-radius: 16px; }
.mg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
.mg-field { display: grid; gap: 6px; min-width: 0; }
.mg-field.wide { grid-column: 1 / -1; }
.mg-field > span { font-size: 11.5px; font-weight: 700; color: #aeb6c6; }
.mg-field small { color: var(--muted); font-weight: 500; }
.mg-field input, .mg-field select, .mg-field textarea { width: 100%; box-sizing: border-box; background: #0a0e15; border: 1px solid #232c3d; border-radius: 9px; color: var(--text); padding: 9px 11px; font: 13.5px var(--font); resize: vertical; }
.mg-field input:focus, .mg-field select:focus, .mg-field textarea:focus { outline: none; border-color: var(--purple); }
.mg-checks { display: flex; gap: 14px; flex-wrap: wrap; padding-top: 6px; }
.mg-check { display: flex; gap: 7px; align-items: center; font-size: 13px; }
.mg-save { display: flex; justify-content: flex-end; gap: 8px; }
.mg-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; border-top: 1px solid var(--line); padding-top: 16px; }
.mg-cols h4 { margin: 0 0 4px; }
.mg-cols p { font-size: 12.5px; margin: 0 0 8px; }
.mg-invite { display: flex; gap: 6px; }
.mg-invite input { flex: 1; min-width: 0; background: #0a0e15; border: 1px solid #232c3d; border-radius: 8px; color: var(--text); padding: 7px 9px; font: 12px var(--font); }
.mg-req { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 13px; }
.mg-req .grow { flex: 1; }
@media (max-width: 760px) { .mg-pics, .mg-grid, .mg-cols { grid-template-columns: 1fr; } .mg-field.wide { grid-column: auto; } }
.mg-check input { width: auto; padding: 0; accent-color: var(--purple); }
.mg-check { white-space: nowrap; }
@media (max-width: 760px) {
  .hero-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-metrics > div { border-bottom: 1px solid var(--line); }
}
.mg-bar { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.manage.editing { border-color: #3b2c7a; box-shadow: 0 0 0 1px #3b2c7a inset; }

.locked-mini { padding: 36px 20px; text-align: center; display: grid; justify-items: center; gap: 8px; }
.locked-mini h3 { margin: 4px 0 0; }
.locked-mini p { margin: 0 0 8px; }

/* sign-in: last used wallet, AlphaBros option, help when the wallet shows nothing */
.wallet-opt .last { margin-left: auto; font-style: normal; font-size: 10.5px; font-weight: 800; color: var(--green); border: 1px solid #1b6d45; border-radius: 999px; padding: 1px 8px; }
.or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 11.5px; margin: 12px 0 8px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.sso { flex-direction: column; gap: 2px; padding: 10px 12px; }
.sso small { color: var(--muted); font-weight: 500; font-size: 11px; }
.sign-help { margin-top: 10px; padding: 11px 12px; border: 1px solid #3b2c7a; background: #13112a; border-radius: 10px; display: grid; gap: 6px; font-size: 12.5px; }
.sign-help span { color: #c4cbda; }
.sign-acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.flow .spin { display: inline-block; vertical-align: -2px; margin-right: 6px; }
.chg-note { display: block; font-size: 9.5px; color: var(--muted); font-weight: 600; }

/* chat: photos, emoji, reactions */
.c-btn { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #232c3d; background: #111723; border-radius: 10px; cursor: pointer; font-size: 17px; }
.c-btn:hover, .c-btn.on { border-color: var(--purple); background: #1a1531; }
.photo-previews { display: flex; gap: 8px; padding: 10px 14px 0; flex-wrap: wrap; }
.pp { position: relative; width: 72px; height: 72px; border-radius: 10px; overflow: hidden; border: 1px solid #2a3346; background: #0a0e15; }
.pp img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pp.busy img { opacity: .45; }
.pp .spin { position: absolute; left: 50%; top: 50%; margin: -7px 0 0 -7px; }
.pp.bad { border-color: #7a2630; }
.pp span { position: absolute; inset: auto 0 0 0; background: rgba(50, 10, 16, .9); color: #ff9aa2; font-size: 9px; padding: 2px 4px; line-height: 1.2; }
.pp button { position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .7); color: #fff; font-size: 11px; cursor: pointer; }
.emoji-picker { margin: 8px 14px 0; padding: 8px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 2px; background: #0e1320; border: 1px solid #232c3d; border-radius: 12px; }
.emoji-picker button { border: 0; background: none; font-size: 19px; padding: 4px 0; border-radius: 8px; cursor: pointer; }
.emoji-picker button:hover { background: #1a2130; }
.msg-photos { display: grid; gap: 4px; margin-top: 6px; max-width: 420px; border-radius: 12px; overflow: hidden; }
.msg-photos.n2, .msg-photos.n4 { grid-template-columns: 1fr 1fr; }
.msg-photos.n3 { grid-template-columns: 1fr 1fr; }
.msg-photos.n3 .ph:first-child { grid-column: 1 / -1; }
.msg-photos .ph { border: 0; padding: 0; background: #0a0e15; cursor: zoom-in; aspect-ratio: 4 / 3; overflow: hidden; }
.msg-photos.n1 .ph { aspect-ratio: auto; max-height: 360px; }
.msg-photos img { width: 100%; height: 100%; object-fit: cover; display: block; }
.msg-acts { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.msg-acts .react { border: 1px solid #232c3d; background: #111723; color: #d6dae3; border-radius: 999px; padding: 2px 9px; font: 600 12px var(--font); cursor: pointer; }
.msg-acts .react.on { border-color: var(--purple); background: #231a4a; color: #fff; }
.msg-acts .react.ghost { opacity: 0; transition: opacity .15s; }
.msg:hover .react.ghost, .react-add:focus-within .react.ghost, .react.ghost:focus { opacity: 1; }
@media (hover: none) { .msg-acts .react.ghost { opacity: 1; } }
.react-add { position: relative; display: inline-flex; }
.react-pick { position: absolute; bottom: calc(100% + 6px); left: 0; z-index: 5; display: flex; gap: 2px; padding: 5px 6px; background: #151b29; border: 1px solid #2c3650; border-radius: 999px; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.react-pick button { border: 0; background: none; font-size: 20px; cursor: pointer; padding: 2px 3px; border-radius: 50%; transition: transform .1s; }
.react-pick button:hover { transform: scale(1.25); }
.lightbox { position: fixed; inset: 0; z-index: 70; background: rgba(2, 3, 8, .92); display: grid; place-items: center; padding: 24px; cursor: zoom-out; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.lightbox .x { position: fixed; top: 16px; right: 20px; font-size: 30px; color: #fff; background: none; border: 0; cursor: pointer; }
/* dark scrollbars everywhere (the chat and the columns) */
* { scrollbar-width: thin; scrollbar-color: #2b3347 transparent; }
*::-webkit-scrollbar { width: 8px; height: 8px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: #2b3347; border-radius: 8px; border: 2px solid transparent; background-clip: padding-box; }
*::-webkit-scrollbar-thumb:hover { background: #3d4863; background-clip: padding-box; }
*::-webkit-scrollbar-corner { background: transparent; }

/* price chart (Lightweight Charts) */
.chart-slot { height: 220px; border: 1px solid #1d2634; border-radius: 10px; background: #0a0e15; }
.chart-slot.big { height: 420px; }
.chart-float { position: fixed; z-index: 21; border-radius: 10px; overflow: hidden; background: #0a0e15; border: 1px solid #1d2634; margin: 0; }
.chart-float[hidden] { display: none !important; }
.chart-msg { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; color: var(--muted); font-size: 12.5px; pointer-events: none; }
.chart-msg[hidden] { display: none; }
.chart-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.chart-tfs { display: flex; gap: 3px; padding: 3px; background: #0a0e15; border: 1px solid #1d2634; border-radius: 9px; }
.chart-tfs button { border: 0; background: none; color: #8f99ab; font: 700 11.5px var(--font); padding: 4px 9px; border-radius: 7px; cursor: pointer; }
.chart-tfs button.on { background: #1a1531; color: #fff; }
.chart-src { color: #5f6a7e; font-size: 10.5px; }
.chart-card { padding: 12px; display: grid; gap: 10px; }
.side-body .chart-bar { margin-bottom: -2px; }
.chat-panel.dropping, .chat-mini.dropping { outline: 2px dashed var(--purple); outline-offset: -6px; }
.chat-panel.dropping .messages::after, .chat-mini.dropping .messages::after { content: "Drop photos to attach"; position: sticky; bottom: 12px; display: block; width: max-content; margin: 0 auto; padding: 8px 14px; border-radius: 999px; background: var(--purple); color: #fff; font-weight: 700; font-size: 13px; }
/* the like: a faded grey thumbs-up until you like it, then full colour */
.msg-acts .react.like i { font-style: normal; filter: grayscale(1); opacity: .5; transition: filter .15s, opacity .15s; }
.msg-acts .react.like:hover i { opacity: .8; }
.msg-acts .react.like:not(.on) { background: transparent; border-color: #1f2736; color: #7d879a; }
.msg-acts .react.like.on i { filter: none; opacity: 1; }

/* ---- chat as bubbles (Telegram / WhatsApp): yours right in purple, others left in dark with a coloured name ---- */
.messages { background: #080a10 radial-gradient(circle at 20% 10%, rgba(122, 77, 255, .05), transparent 40%), radial-gradient(circle at 80% 90%, rgba(74, 164, 255, .04), transparent 40%); padding: 14px 16px; }
.msg { display: flex; align-items: flex-end; gap: 8px; margin: 0 0 3px; }
.msg.last { margin-bottom: 12px; }
.msg.mine { justify-content: flex-end; }
.b-av, .av-space { flex: none; width: 34px; align-self: flex-end; }
.av-space { height: 1px; }

.b-col { display: flex; flex-direction: column; max-width: min(72%, 620px); min-width: 0; }
.msg.mine .b-col { align-items: flex-end; }
.bubble { position: relative; padding: 7px 11px 6px; border-radius: 14px; background: #182131; color: #e8ebf1; box-shadow: 0 1px 1px rgba(0, 0, 0, .35); min-width: 70px; max-width: 100%; overflow-wrap: anywhere; }
.msg.theirs.last .bubble { border-bottom-left-radius: 4px; }
.msg.mine .bubble { background: linear-gradient(160deg, #4a36b8, #3a2a95); color: #fff; }
.msg.mine.last .bubble { border-bottom-right-radius: 4px; }
.b-name { display: block; font-weight: 800; font-size: 12.5px; margin-bottom: 2px; text-decoration: none !important; }
.bubble .msg-body { color: inherit; line-height: 1.42; font-size: 14px; }
.b-time { float: right; margin: 6px 0 -3px 10px; font-size: 10.5px; color: rgba(220, 225, 235, .5); line-height: 1; position: relative; top: 3px; }
.msg.mine .b-time { color: rgba(255, 255, 255, .6); }
.bubble.photo-only { padding: 3px; background: transparent; box-shadow: none; }
.bubble.photo-only .msg-photos { margin: 0; }
.bubble.photo-only > .b-time { position: absolute; right: 10px; bottom: 10px; float: none; margin: 0; background: rgba(0, 0, 0, .55); color: #fff; padding: 3px 6px; border-radius: 8px; }
.bubble .msg-photos { margin: 4px -7px 4px; border-radius: 10px; }
.bubble .quote { background: rgba(255, 255, 255, .06); border-left: 3px solid var(--qc, var(--purple2)); margin: 3px 0 5px; }
.bubble .quote b { color: var(--qc, var(--purple2)); }
.msg.mine .bubble .quote { background: rgba(255, 255, 255, .12); border-left-color: #fff; }
.msg.mine .bubble .quote b { color: #fff; }
.msg.mine .bubble .quote span { color: rgba(255, 255, 255, .78); }
.bubble.trade { padding: 6px 6px 5px; }
.bubble.trade .b-name { margin: 1px 5px 3px; }
.bubble .trade-card { margin: 0; background: #0b1018; }
.msg.mine .bubble .trade-card { background: rgba(10, 8, 30, .45); border-color: rgba(255, 255, 255, .15); }
.bubble.trade > .b-time { margin: 5px 5px 0 10px; }
.bubble .chips { margin-top: 4px; }
.msg-acts { margin-top: 3px; min-height: 0; }
.msg-acts:empty { display: none; }
.msg-acts .act-ghost { opacity: 0; transition: opacity .15s; }
.msg:hover .act-ghost, .msg-acts .act-ghost:focus, .react-add:focus-within .act-ghost { opacity: 1; }
@media (hover: none) { .msg-acts .act-ghost { opacity: .75; } }
.msg-acts > button:not(.react) { color: #6f7a8e; }
.msg.flash .bubble { box-shadow: 0 0 0 2px var(--purple2); }
.msg.flash { background: none; }
.day-chip { display: flex; justify-content: center; margin: 8px 0 12px; position: sticky; top: 0; z-index: 2; }
.day-chip span { background: rgba(24, 33, 49, .92); color: #c9cfdb; font-size: 11.5px; font-weight: 700; padding: 4px 11px; border-radius: 999px; backdrop-filter: blur(4px); }
.chat-mini .b-col { max-width: 86%; }
@media (max-width: 760px) { .b-col { max-width: 86%; } }
/* token gate block in Edit */
.mg-gate { border: 1px solid #2c2352; background: #0e0c1a; border-radius: 12px; padding: 14px; display: grid; gap: 10px; }
.mg-gate-head b { display: block; font-size: 14px; }
.mg-gate-head small { color: var(--muted); font-size: 12px; }
.mg-gate-row { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 12px; }
.tk-verify { border: 1px solid #232c3d; background: #0a0e15; border-radius: 10px; padding: 10px 12px; font-size: 12.5px; display: grid; gap: 8px; }
.tk-verify.ok { border-color: #1b6d45; background: #08160f; }
.tk-verify.bad { border-color: #7a2630; background: #1d0b0f; color: #ff9aa2; }
.tv-head b { color: #6ff0b0; font-size: 14px; }
.tv-head b span { color: #b6c0cf; font-weight: 600; }
.tv-head small { display: block; color: #9aa4b6; margin-top: 2px; }
.tv-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tv-grid span { display: block; color: var(--muted); font-size: 10.5px; }
.tv-grid b { font-size: 12.5px; }
.tv-warn { color: #ffcf7a; font-weight: 600; }
.amt-in { display: flex; align-items: stretch; border: 1px solid #232c3d; border-radius: 9px; background: #0a0e15; overflow: hidden; }
.amt-in input { border: 0 !important; border-radius: 0 !important; flex: 1; }
.amt-in em { font-style: normal; font-weight: 800; padding: 0 12px; display: grid; place-items: center; background: #151b28; color: #d6dae3; }
@media (max-width: 760px) { .mg-gate-row, .tv-grid { grid-template-columns: 1fr 1fr; } }

.tv-nets { font-size: 12px; color: #c4cbda; }
.tv-src { color: #5f6a7e; font-size: 10.5px; }

/* leaderboard */
.lb-sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.lb-sum div { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.lb-sum b { display: block; font-size: 20px; }
.lb-sum span { color: var(--muted); font-size: 11.5px; }
.podiums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; align-items: end; }
.podium { position: relative; display: grid; justify-items: center; gap: 4px; padding: 18px 12px 14px; text-align: center; text-decoration: none !important; color: var(--text); }
.podium.p1 { border-color: #6b5620; background: linear-gradient(180deg, #221c0c, var(--panel)); padding-top: 26px; }
.podium.p2 { border-color: #3a4152; }
.podium.p3 { border-color: #4b3322; }
.podium.me { box-shadow: 0 0 0 2px var(--purple) inset; }
.podium .medal { position: absolute; top: 8px; right: 10px; font-size: 22px; }
.podium b { font-size: 14px; margin-top: 4px; }
.podium small { color: var(--muted); font-size: 11px; }
.podium strong { font-size: 18px; margin-top: 4px; }
.podium span.muted { font-size: 11px; }
.lb-table tr.me td { background: #16123a; }
.lb-table .tk { text-decoration: none; color: var(--text); }
.you { font-style: normal; font-size: 9.5px; font-weight: 800; color: #fff; background: var(--purple); border-radius: 999px; padding: 1px 6px; margin-left: 4px; vertical-align: middle; }
/* profile */
.pf-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.pf-card { padding: 18px; display: grid; gap: 12px; }
.pf-photo { display: flex; align-items: center; gap: 14px; }
.pf-photo .av { border-radius: 50%; }
.pf-photo-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.pf-photo-acts label { cursor: pointer; }
.pf-card .uid { display: flex; align-items: center; border: 1px solid #232c3d; border-radius: 9px; background: #0a0e15; padding-left: 10px; }
.pf-card .uid input { border: 0 !important; }
.w-list { display: grid; gap: 8px; }
.w-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #232c3d; border-radius: 10px; background: #0a0e15; }
.w-ic { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #1a1531; color: var(--purple2); flex: none; }
.w-main { flex: 1; min-width: 0; }
.w-main b { display: block; font-size: 13.5px; }
.w-main small { color: var(--muted); }
.w-main input { width: 100%; background: #111723; border: 1px solid #2c3650; border-radius: 7px; color: var(--text); padding: 5px 8px; font: 13px var(--font); }
.w-acts { display: flex; gap: 6px; flex: none; }
.tag { color: #6ff0b0; font-weight: 700; }
.outline.danger { color: #ff8a93; border-color: #5e2029; }
.link-box { border: 1px solid #3b2c7a; background: #13112a; border-radius: 12px; padding: 12px; display: grid; gap: 8px; font-size: 13px; }
.wallet.on { border-color: var(--purple); }
@media (max-width: 900px) { .pf-grid, .podiums, .lb-sum { grid-template-columns: 1fr; } }
/* Community tab of the right column: Leaderboard / Tokens */
.cm-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 10px 14px 0; }
.cm-sub button { border: 1px solid #232c3d; background: #0f141e; color: #aab3c4; border-radius: 9px; padding: 7px; font: 700 12px var(--font); cursor: pointer; }
.cm-sub button.on { background: #1a1531; border-color: #3b2c7a; color: #fff; }
.lb-row { display: flex; align-items: center; gap: 10px; padding: 8px 14px; color: var(--text); text-decoration: none !important; }
.lb-row:hover { background: #121826; }
.lb-row.me { background: #16123a; }
.lb-rank { width: 22px; text-align: center; font-weight: 800; color: var(--muted); font-size: 13px; flex: none; }
.side-more { display: block; padding: 10px 14px 12px; font-weight: 700; font-size: 12.5px; color: var(--purple2); text-decoration: none; border-top: 1px solid var(--line); }

/* chat: pinned message, message menu, edited / deleted, live */
.pin-bar { display: flex; align-items: stretch; border-bottom: 1px solid var(--line); background: #0d1220; }
.pin-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 8px 14px; border: 0; background: none; color: var(--text); text-align: left; cursor: pointer; border-left: 3px solid var(--purple2); }
.pin-main i { font-style: normal; }
.pin-main b { display: block; font-size: 11.5px; color: var(--purple2); }
.pin-main span { display: block; font-size: 12.5px; color: #c9cfdb; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pin-x { border: 0; background: none; color: var(--muted); padding: 0 14px; cursor: pointer; font-size: 14px; }
.msg-menu { position: relative; display: inline-flex; }
.menu-pop { position: absolute; bottom: calc(100% + 6px); right: 0; z-index: 6; display: grid; min-width: 170px; padding: 5px; background: #151b29; border: 1px solid #2c3650; border-radius: 12px; box-shadow: 0 12px 30px rgba(0, 0, 0, .5); }
.msg.theirs .menu-pop { left: 0; right: auto; }
.menu-pop button { border: 0; background: none; color: #e1e5ee; text-align: left; padding: 8px 10px; border-radius: 8px; font: 600 12.5px var(--font); cursor: pointer; }
.menu-pop button:hover { background: #1f2738; }
.menu-pop button.danger { color: #ff8a93; }
.bubble.gone { background: transparent; border: 1px dashed #2a3346; box-shadow: none; }
.msg.mine .bubble.gone { background: transparent; }
.gone-text { color: #7d879a; font-style: italic; font-size: 13px; }
.reply-bar.edit { border-left-color: var(--gold); }
.reply-bar.edit b { color: var(--gold); }
.live-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(30, 211, 122, .2); vertical-align: middle; margin: 0 2px 1px 0; }
/* phones/tablets: the chat column never grows past the screen (long pinned text and photos used to widen it) */
@media (max-width: 1180px) {
  .chat-layout, .market-layout { grid-template-columns: minmax(0, 1fr); }
  .chat-panel, .chat-mini, .messages, .pin-bar, .b-col, .bubble, .msg-photos, .msg-photos .ph { min-width: 0; }
}
/* phones: the bottom tab bar shares the width between all tabs instead of 48 px each (the last tab was cut off) */
@media (max-width: 760px) {
  .sidebar nav { width: 100%; }
  .sidebar nav .tab { width: auto; flex: 1 1 0; min-width: 0; }
}
/* Buy / Sell on a member's trade card in the chat: opens the Swap tab on that token */
.trade-acts { display: flex; gap: 8px; margin-top: 10px; }
.trade-acts button { flex: 1 1 0; min-width: 0; min-height: 36px; border-radius: 8px; border: 1px solid transparent; font: inherit; font-weight: 700; font-size: 13px; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 10px; }
.trade-acts .tr-buy { background: #0d2b1d; color: #34e994; border-color: #1c5a3b; }
.trade-acts .tr-sell { background: #321217; color: #ff7884; border-color: #6a2630; }
.trade-acts .tr-buy:hover { background: #12402a; }
.trade-acts .tr-sell:hover { background: #461920; }
/* Buy / Sell at the end of each row on the Trades page */
.tr-acts { display: flex; align-items: center; gap: 6px; }
.tr-acts .tr-buy, .tr-acts .tr-sell { min-height: 32px; padding: 0 14px; border-radius: 8px; border: 1px solid transparent; font: inherit; font-weight: 700; font-size: 12px; cursor: pointer; }
.tr-acts .tr-buy { background: #0d2b1d; color: #34e994; border-color: #1c5a3b; }
.tr-acts .tr-sell { background: #321217; color: #ff7884; border-color: #6a2630; }
.tr-acts .tr-buy:hover { background: #12402a; } .tr-acts .tr-sell:hover { background: #461920; }
/* Trades page on phones: the trade's details as a small grid under the member and token
   (Amount · Price, then Value · MCap · Liquidity), and full-width Buy / Sell */
@media (max-width: 720px) {
  .trade-list .trade-row { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px 8px; padding: 13px 14px; }
  .trade-list .trade-row > .tr-who { grid-column: span 3; min-width: 0; }
  .trade-list .trade-row > .tr-tok { grid-column: span 3; justify-self: end; min-width: 0; }
  .trade-list .trade-row > div:nth-child(n+3):not(:last-child) { display: block; grid-column: span 2; min-width: 0; background: #0b1018; border: 1px solid #19212f; border-radius: 8px; padding: 7px 9px; }
  .trade-list .trade-row > div:nth-child(3):not(:last-child), .trade-list .trade-row > div:nth-child(4):not(:last-child) { grid-column: span 3; }
  .trade-list .trade-row > div:nth-child(n+3):not(:last-child) b { display: block; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .trade-list .trade-row > .tr-acts { grid-column: 1 / -1; }
  .trade-list .tr-acts .tr-buy, .trade-list .tr-acts .tr-sell { flex: 1 1 0; min-height: 38px; }
}
/* Chain badge in the corner of a token's logo, and the Market's chain filter */
.tok-wrap { position: relative; display: inline-flex; flex: none; }
.tok-wrap > .tok { width: 100%; height: 100%; }
.chain-badge { position: absolute; right: -3px; bottom: -3px; border-radius: 50%; display: grid; place-items: center; border: 2px solid #0b0f17; box-sizing: content-box; }
.chain-badge svg { display: block; }
.sw-chip .chain-badge, .chain-chips .chain-badge, .muted .chain-badge, .sw-rows .chain-badge { position: static; border: 0; display: inline-grid; vertical-align: -3px; }
.chain-chips { margin-bottom: 6px; }
.chain-chips button { display: inline-flex; align-items: center; gap: 6px; }
/* the token chip in the Swap form already sits under "Network": no badge squeezed into its name */
.sw-chip .tok-wrap .chain-badge { display: none; }
/* Swap tab: the wallet menu (your account's wallets, another app, add one) and "not enough": fund or switch */
.sw-wbtn { margin-left: 6px; padding: 3px 9px; border-radius: 999px; border: 1px solid #2c3a52; background: #121a27; color: #c9d4e8; font: inherit; font-size: 11px; font-weight: 700; cursor: pointer; }
.sw-wbtn:hover { border-color: #7c5cff; color: #fff; }
.sw-wmenu, .sw-fund { margin: 10px 0; padding: 12px; border-radius: 12px; border: 1px solid #243044; background: #0b111b; display: grid; gap: 8px; }
.sw-fund { border-color: #5a2a33; background: #170d12; }
.sw-fund p { margin: 0; font-size: 12px; color: #c9d4e8; }
.sw-wmenu-head { display: flex; align-items: baseline; gap: 8px; }
.sw-wmenu-head .linkish { margin-left: auto; }
.sw-wrow { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 8px; padding: 8px; border-radius: 9px; background: #111824; }
.sw-wrow.on { outline: 1px solid #3b2f78; }
.sw-wwho { min-width: 0; display: grid; }
.sw-wwho b, .sw-wwho small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sw-wbal { font-variant-numeric: tabular-nums; color: #c9d4e8; white-space: nowrap; }
.sw-wmenu-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.sw-wmenu-acts button, .sw-fund > button { min-height: 34px; }
/* own messages: your picture on the right of your bubbles (others' on the left) */
.msg.mine { flex-direction: row-reverse; justify-content: flex-start; }
/* copy-contract button next to the token name in the Swap tab */
.tok-copy { margin-left: 6px; padding: 2px 6px; border-radius: 6px; border: 1px solid #2c3a52; background: #121a27; color: #9fb0c9; font-size: 12px; line-height: 1.2; cursor: pointer; vertical-align: 3px; }
.tok-copy:hover { color: #fff; border-color: #7c5cff; }

/* ---------- announcements: the owner's notices (Announcements tab + highlighted cards in the chat) */
.ann-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.ann-compose { padding: 16px; display: grid; gap: 10px; margin-bottom: 16px; }
.ann-compose input, .ann-compose textarea { width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 9px; color: var(--text); padding: 10px 12px; font: inherit; resize: vertical; }
.ann-compose input:focus, .ann-compose textarea:focus { outline: none; border-color: var(--purple); }
.ann-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ann-row small { flex: 1; min-width: 200px; }
.ann-list { display: grid; gap: 12px; }
.ann-card { padding: 16px 18px; border-left: 3px solid var(--gold); }
.ann-card h3 { font-size: 17px; margin: 8px 0 4px; }
.ann-card p, .ann-chat p { margin: 6px 0 10px; line-height: 1.55; overflow-wrap: anywhere; }
.ann-foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.ann-foot a, .ann-tools { margin-left: auto; }
.ann-tools { display: inline-flex; gap: 12px; }
.ann-tools .danger { color: var(--red); }
.ann-chat { margin: 12px auto; max-width: 560px; width: 100%; padding: 14px 16px; border: 1px solid #4a3b16; border-left: 3px solid var(--gold); border-radius: 11px; background: linear-gradient(180deg, #17140b, #100f0b); }
.ann-chat h4 { margin: 6px 0 2px; font-size: 15px; }
.ann-reacts { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
/* announcement media: photos / GIFs in a grid (tap to open), a video plays in place; composer upload tiles */
.ann-media { display: grid; gap: 6px; margin: 4px 0 10px; border-radius: 10px; overflow: hidden; }
.ann-media.n2, .ann-media.n4 { grid-template-columns: 1fr 1fr; }
.ann-media.n3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.ann-media.n3 .ph:first-child { grid-row: 1 / 3; }
.ann-media .ph { padding: 0; border: 0; background: #000; cursor: zoom-in; display: block; min-height: 0; }
.ann-media img { width: 100%; height: 100%; max-height: 420px; object-fit: cover; display: block; }
.ann-media.n1 img { object-fit: contain; max-height: 480px; }
.ann-media video { width: 100%; max-height: 480px; background: #000; display: block; border-radius: 10px; }
.ann-attach { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ann-attach small { flex-basis: 100%; }
.ann-pick { cursor: pointer; }
.ann-tile { position: relative; width: 84px; height: 84px; border-radius: 9px; overflow: hidden; border: 1px solid var(--line); background: #000; }
.ann-tile img, .ann-tile video { width: 100%; height: 100%; object-fit: cover; display: block; }
.ann-tile.busy img, .ann-tile.busy video { opacity: .45; }
.ann-tile em { position: absolute; inset: auto 0 6px; text-align: center; font-size: 10px; font-style: normal; color: #fff; }
.ann-tile .ann-vid { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-style: normal; font-size: 22px; text-shadow: 0 1px 6px #000; pointer-events: none; }
.ann-tile .x { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(0,0,0,.7); color: #fff; cursor: pointer; line-height: 1; }
.ann-wait { display: grid; place-items: center; width: 100%; height: 100%; font-size: 20px; font-weight: 800; color: var(--muted); background: var(--panel2); }
.ann-bar { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--purple); transition: width .2s; }
.ann-err { flex-basis: 100%; color: var(--red); font-size: 12.5px; background: rgba(255, 93, 104, .08); border: 1px solid rgba(255, 93, 104, .3); border-radius: 8px; padding: 8px 10px; }
/* trade card in the chat: fits any bubble width — token and position on top, figures wrap, Buy / Sell below */
.b-col:has(> .bubble.trade) { width: min(520px, 100%); }
.bubble.trade { width: 100%; }
.trade-card.tc { min-width: 0; }
.tc-head { display: flex; align-items: center; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; min-width: 0; }
.tc-head .tl-tok { min-width: 0; }
.tc-head .tl-tok b { white-space: nowrap; }
.tc-head .tl-tok small { display: block; color: #7f899c; font-size: 10px; margin-top: 1px; }
.tc-head .tl-tok b { font-size: 14px; }
.tc-pos { flex: none; font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #c9d1de; white-space: nowrap; }
.tc-pos.buy { color: #34e994; background: rgba(30, 211, 122, .1); border-color: rgba(30, 211, 122, .35); }
.tc-pos.sell { color: #ff7884; background: rgba(255, 93, 104, .1); border-color: rgba(255, 93, 104, .35); }
.tc-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(76px, 1fr)); gap: 8px 12px; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .08); }
.tc-stats > div { min-width: 0; }
.tc-stats strong { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-stats small { display: block; color: #7f899c; font-size: 10px; margin-top: 1px; }
.msg.mine .tc-stats { border-top-color: rgba(255, 255, 255, .14); }

/* daily leaderboard card in the chat, and the "link more wallets" nudge under the side leaderboard */
.lb-chat .lbc-rows { display: grid; gap: 2px; margin: 8px 0 6px; }
.lbc-row { display: flex; align-items: center; gap: 9px; padding: 6px 8px; border-radius: 8px; color: var(--text); text-decoration: none !important; min-width: 0; }
.lbc-row:hover { background: #1d1a10; }
.lbc-row.me { background: #16123a; }
.lbc-row .lb-rank { width: 22px; text-align: center; flex: none; }
.lbc-who { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.lbc-who b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lbc-who small, .lbc-val small { font-size: 11.5px; color: var(--muted); }
.lbc-val { display: flex; flex-direction: column; align-items: flex-end; flex: none; }
.lb-chat p.lbc-note { margin: 6px 0 8px; padding: 8px 10px; border-radius: 8px; background: #1a1710; font-size: 12.5px; line-height: 1.5; }
.lb-nudge { margin: 10px 14px 4px; padding: 10px 12px; border: 1px solid #3a3170; border-radius: 10px; background: #15122e; display: grid; gap: 6px; font-size: 12.5px; }
.lb-nudge b { font-size: 13px; }
.lb-nudge p { margin: 0; line-height: 1.5; color: #cfd3e6; }
.lb-nudge .primary { justify-self: start; text-decoration: none; }
.lbc-range { text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--muted); }
.lbc-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.lbc-acts a { text-decoration: none !important; }
/* reactions on announcement and leaderboard cards: outlined and grey until you react, purple and in colour once you have */
.ann-reacts .react { border: 1px solid #2a2a33; background: transparent; color: #8b93a5; border-radius: 999px; padding: 2px 10px; font: 600 12px var(--font); cursor: pointer; transition: background .15s, border-color .15s; }
.ann-reacts .react:hover:not(:disabled) { border-color: #4a4560; color: #d6dae3; }
.ann-reacts .react:disabled { cursor: default; }
.ann-reacts .react i { font-style: normal; }
.ann-reacts .react.like:not(.on) i { filter: grayscale(1); opacity: .55; transition: filter .15s, opacity .15s; }
.ann-reacts .react.like:hover:not(:disabled) i { opacity: .85; }
.ann-reacts .react.on { border-color: var(--purple); background: #231a4a; color: #fff; }

/* top search: token results across chains (our store first, then DexScreener) */
.search { position: relative; }
.ts-drop { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 40; max-height: min(70vh, 560px); overflow-y: auto; overflow-x: hidden; background: #0e1320; border: 1px solid #263048; border-radius: 12px; box-shadow: 0 18px 50px rgba(0, 0, 0, .55); padding: 6px; }
.ts-group { font: 700 10.5px var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 8px 10px 4px; }
.ts-row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 0; border-radius: 9px; background: transparent; color: var(--text); text-align: left; cursor: pointer; font: inherit; text-decoration: none !important; }
.ts-row:hover, .ts-row:focus-visible { background: #172036; outline: none; }
.ts-id { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.ts-id b { font-size: 13.5px; }
.ts-id small { color: var(--muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 4px; }
.ts-px { display: flex; flex-direction: column; align-items: flex-end; flex: none; font-size: 12.5px; }
.ts-px small { font-size: 11.5px; }
.ts-none { margin: 0; padding: 12px 10px; color: var(--muted); font-size: 13px; }
.ts-foot { display: flex; align-items: center; gap: 8px; padding: 8px 10px 4px; border-top: 1px solid #1d2638; margin-top: 4px; color: var(--muted); font-size: 11.5px; }
.ts-foot .spin { width: 11px; height: 11px; border: 2px solid #2c3650; border-top-color: var(--purple); border-radius: 50%; animation: tsspin .8s linear infinite; }
@keyframes tsspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ts-foot .spin { animation: none; } }
/* filter on top of the market token list */
.mk-filter { display: flex; align-items: center; gap: 8px; margin: 12px 14px 4px; padding: 0 12px; height: 36px; border: 1px solid var(--line); border-radius: 9px; background: #0b0f16; color: var(--muted); }
.mk-filter input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: #fff; font: 13px var(--font); }
.mk-filter:focus-within { border-color: var(--purple); }
.act-trophy { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; background: #1d1a10; flex: none; }
.sol-soon { margin-top: 12px; padding: 12px 14px; border: 1px dashed #2c3650; border-radius: 10px; background: #0e1320; } .sol-soon b { display: block; margin-bottom: 4px; } .sol-soon p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.5; }

/* Solana swaps: wallet picker, connected account, waiting states */
.sol-connect { margin-top: 12px; display: grid; gap: 8px; padding: 12px; border: 1px solid #1d2634; border-radius: 10px; background: #0a0e15; }
.sol-connect p { margin: 0 0 4px; }
.sol-w { display: flex; align-items: center; justify-content: center; gap: 8px; }
.sol-w img, .sol-acct img { border-radius: 5px; }
.sol-acct { display: flex; align-items: center; gap: 8px; margin: 10px 0 8px; font-size: 12.5px; color: var(--muted); }
.sol-acct span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sol-wait { animation: solpulse 1.2s ease-in-out infinite; }
@keyframes solpulse { 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .sol-wait { animation: none; } }
.sw-rows .linkish.on { color: var(--text); text-decoration: underline; }
/* Solana wallets on the profile */
.sol-wallets { display: grid; gap: 8px; margin: 12px 0; padding: 12px; border: 1px solid #1d2634; border-radius: 10px; background: #0a0e15; }
.sol-wallets-head { display: grid; gap: 2px; }
.sol-link-row { display: flex; flex-wrap: wrap; gap: 8px; }
.sol-link-row .sol-w { display: inline-flex; align-items: center; gap: 6px; }
.side-lock { margin: 12px; padding: 18px 14px; text-align: center; }
/* sidebar footer: © AlphaBros · X · Community */
.sidebar-social { margin-top: 10px; text-align: center; font-size: 11.5px; color: var(--muted); }
.sidebar-social a { color: #b8a6ff; text-decoration: none; font-weight: 600; }
.sidebar-social a:hover { text-decoration: underline; }
.land-foot { margin: 40px 0 8px; text-align: center; font-size: 12.5px; color: var(--muted); } .land-foot a { color: #b8a6ff; text-decoration: none; font-weight: 600; } .land-foot a:hover { text-decoration: underline; }

.hp.soft { background: #2a2210; border-color: #5e4a20; color: #ffcf7a; }

/* ---------- Manage: Community Settings / Fees & Earnings ---------- */
.nav-group { margin: 14px 10px 4px; font-size: 10px; letter-spacing: .12em; font-weight: 800; color: #6f7a8f; }
.set-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.set-head p { margin: 4px 0 0; font-size: 12.5px; }
.set-page { display: grid; gap: 14px; }
.set-sec { padding: 18px 20px; display: grid; gap: 14px; }
.set-sec > h3 { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 16px; }
.set-sec > h3 em { font-style: normal; width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #6841ff, #8e58ff); }
.set-sec > p { margin: -6px 0 0; }
.set-label { display: block; font-size: 12px; font-weight: 700; color: #c7cdda; margin-bottom: 8px; }
.set-brand { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 18px; }
.set-brand .mg-cover { aspect-ratio: 3 / 1; }
.set-logo { height: 132px; border: 1px solid var(--line); border-radius: 12px; display: grid; place-items: center; background: #0b0f17; }
.set-logo .logo { border-radius: 18px; }
.set-acts { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.set-acts .outline { cursor: pointer; }
.set-count { float: right; color: var(--muted); font-weight: 500; }
.set-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.set-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #2c3550; background: #141a28; border-radius: 999px; padding: 6px 8px 6px 13px; font-size: 13px; }
.set-chip button { border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 15px; line-height: 1; padding: 0 2px; }
.set-chip button:hover { color: #fff; }
.set-chip.add { padding: 3px 4px 3px 10px; border-style: dashed; }
.set-chip.add input { background: transparent; border: 0; outline: 0; color: #fff; width: 100px; font: inherit; padding: 2px 0; }
.set-chip.add button { color: var(--purple2); font-size: 12.5px; font-weight: 700; }
.set-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.set-access { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.set-acc { display: grid; grid-template-columns: 36px 1fr; grid-template-rows: auto auto; column-gap: 10px; text-align: left; border: 1px solid var(--line); background: #0d121c; color: #fff; border-radius: 11px; padding: 12px; cursor: pointer; font: inherit; }
.set-acc i { grid-row: span 2; font-style: normal; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #161d2c; }
.set-acc b { font-size: 13px; }
.set-acc small { color: var(--muted); font-size: 11.5px; line-height: 1.35; }
.set-acc.on { border-color: #8c6bff; background: linear-gradient(180deg, #1b1538, #120f24); box-shadow: 0 0 0 1px #8c6bff inset; }
.set-acc:hover { border-color: #3a4660; }
.set-toggles { display: grid; gap: 10px; }
.set-toggles.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.set-toggles.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.set-toggle { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--line); background: #0d121c; border-radius: 11px; padding: 12px 14px; cursor: pointer; }
.set-toggle span { display: grid; gap: 2px; }
.set-toggle b { font-size: 13px; }
.set-toggle small { color: var(--muted); font-size: 11.5px; }
.set-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.set-toggle i { flex: none; width: 38px; height: 22px; border-radius: 999px; background: #262f43; position: relative; transition: background .15s; }
.set-toggle i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; }
.set-toggle input:checked + i { background: linear-gradient(135deg, #6841ff, #8e58ff); }
.set-toggle input:checked + i::after { transform: translateX(16px); }
.set-toggle input:focus-visible + i { outline: 2px solid var(--purple2); outline-offset: 2px; }
.set-foot { position: sticky; bottom: 10px; display: flex; align-items: center; gap: 10px; padding: 12px 16px; z-index: 5; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }
.set-owner { display: flex; align-items: center; gap: 10px; padding: 16px 20px; margin-top: 14px; flex-wrap: wrap; }
.set-owner b { font-size: 15px; }
.fe-help { padding: 14px 18px; margin-bottom: 14px; }
.fe-help p { margin: 0; font-size: 13px; color: #c7cdda; }
.fe-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.fe-stat { padding: 14px 16px; display: grid; gap: 4px; align-content: start; }
.fe-stat > span { font-size: 12px; color: var(--muted); }
.fe-stat > b { font-size: 21px; letter-spacing: -.01em; }
.fe-stat > small { font-size: 12px; color: var(--muted); }
.fe-stat.claim { background: linear-gradient(180deg, #171236, #0e0c1e); border-color: #3b2f6e; }
.fe-stat em { font-style: normal; font-weight: 700; }
.fe-stat em.up { color: var(--green); }
.fe-stat em.down { color: var(--red); }
.fe-bars { display: flex; align-items: flex-end; gap: 2px; height: 38px; margin-top: 8px; }
.fe-bars i { flex: 1; min-width: 2px; border-radius: 2px 2px 0 0; background: linear-gradient(180deg, #a989ff, #6841ff); }
.fe-bars i.zero { background: #222a3c; }
.fe-fee { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; }
.fe-dial { border: 1px solid var(--line); background: #0d121c; border-radius: 12px; padding: 16px 18px; display: grid; gap: 8px; justify-items: center; text-align: center; }
.fe-dial > span { font-size: 13px; color: #c7cdda; }
.fe-dial > b { font-size: 34px; letter-spacing: -.02em; }
.fe-dial input[type=range] { width: 100%; accent-color: #8e58ff; }
.fe-ticks { width: 100%; display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); }
.fe-break { border: 1px solid var(--line); background: #0d121c; border-radius: 12px; padding: 8px 16px; display: grid; align-content: start; }
.fe-break > div { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid #1a2130; font-size: 13px; }
.fe-break > div.total { border-bottom: 0; font-size: 14px; }
.fe-break .total b { color: var(--purple2); }
.fe-break > .fe-note { display: block; }
.fe-note { margin-top: 8px; border-radius: 9px; padding: 9px 12px; font-size: 12px; border: 1px solid; }
.fe-note.ok { color: var(--green); background: #0b2117; border-color: #1d5a3b; }
.fe-note.warn { color: var(--gold); background: #211a0c; border-color: #5f4920; }
.fe-pay { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fe-pay-card { border: 1px solid var(--line); background: #0d121c; border-radius: 12px; padding: 14px; display: grid; gap: 10px; align-content: start; }
.fe-pay-card.soon { opacity: .75; }
.fe-pay-head { display: flex; align-items: center; gap: 10px; }
.fe-pay-head div { display: grid; }
.fe-pay-head small { color: var(--muted); font-size: 11.5px; }
.fe-addr { display: flex; align-items: center; gap: 8px; min-width: 0; }
.fe-addr code, .fe-chain-body code { font-size: 12px; color: #dfe3ec; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fe-addr-edit { display: flex; gap: 6px; }
.fe-addr-edit input { flex: 1; min-width: 0; }
.fe-chains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.fe-chain { border: 1px solid var(--line); background: #0d121c; border-radius: 12px; padding: 12px 14px; display: grid; gap: 10px; }
.fe-chain.on { border-color: #1d5a3b; }
.fe-chain-head { display: flex; align-items: center; gap: 8px; }
.fe-chain-head b { flex: 1; font-size: 13.5px; }
.fe-chain-body { display: grid; gap: 3px; font-size: 12px; }
.fe-chain-body > span { color: var(--muted); font-size: 11.5px; }
.fe-table { overflow-x: auto; }
.fe-table table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.fe-table th { text-align: left; font-size: 11px; color: var(--muted); font-weight: 600; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.fe-table td { padding: 10px; border-bottom: 1px solid #161c29; white-space: nowrap; }
@media (max-width: 1100px) {
  .fe-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .set-access, .fe-chains, .set-toggles.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .set-brand, .set-links, .fe-fee, .fe-pay, .set-toggles.two, .set-toggles.three, .fe-chains, .set-access, .fe-stats { grid-template-columns: 1fr; }
  .set-head { flex-direction: column; }
  .set-foot { bottom: 0; }
}
.set-foot .grow, .set-owner .grow { flex: 1; }
.set-brand .mg-cover { aspect-ratio: auto; height: 180px; }

/* ---------- compact sidebar: same look, less height (the Manage section made it overflow) ---------- */
.sidebar { padding: 12px 12px 10px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #232c3d transparent; }
.sidebar::-webkit-scrollbar { width: 6px; }
.sidebar::-webkit-scrollbar-thumb { background: #232c3d; border-radius: 6px; }
.powered img { width: 26px; height: 26px; }
.powered b { font-size: 13.5px; }
.community-mini { margin: 14px 0 10px; }
.cover-mini { height: 58px; }
.mini-logo { top: 36px; left: 10px; }
.community-mini h2 { margin-top: 24px; font-size: 15px; }
.community-mini .badges { margin-top: 6px; }
.sidebar nav { gap: 2px; }
.tab { height: 34px; font-size: 13px; border-radius: 8px; padding: 0 9px; grid-template-columns: 22px 1fr auto; }
.tab i { font-size: 13px; }
.nav-group { margin: 10px 9px 3px; font-size: 9.5px; }
.sidebar-bottom { padding-top: 10px; }
.sidebar-bottom .outline.wide { margin-top: 0; padding-top: 7px; padding-bottom: 7px; font-size: 12.5px; }
.sidebar-social { margin-top: 8px; font-size: 11px; }
@media (max-height: 760px) {
  .tab { height: 31px; }
  .cover-mini { height: 50px; }
  .mini-logo { top: 28px; }
  .community-mini { margin: 10px 0 8px; }
}

/* honeypot: pools that drain a sale (fee or loss over 20%), always red */
.hp-drain { display: block; margin-top: 4px; color: #ff5c6a; font-weight: 800; }

/* ---------- earnings setup wizard (Fees & Earnings, first visit) ---------- */
.fw { display: grid; gap: 16px; padding-bottom: 76px; }
.fw-head-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.fw-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; min-height: 230px; border-radius: 16px; overflow: hidden; background: radial-gradient(ellipse at 78% 70%, rgba(150,90,255,.35), transparent 55%), linear-gradient(180deg, #0c0a1a, #08070f); border: 1px solid #241d44; }
.fw-hero-text { padding: 22px 24px; display: grid; gap: 10px; align-content: start; position: relative; z-index: 1; }
.fw-back { justify-self: start; border: 0; background: none; color: var(--muted); font: 700 11px var(--font); letter-spacing: .12em; cursor: pointer; padding: 0; }
.fw-back span { color: #b9b2d9; }
.fw-hero h1 { margin: 0; font-size: clamp(24px, 3vw, 36px); line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; border-left: 3px solid var(--purple); padding-left: 14px; }
.fw-hero h1 span { background: linear-gradient(90deg, #f6c84c, #c193ff 55%, #9b7bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fw-hero p { margin: 0; color: #b9bfd0; max-width: 60ch; font-size: 15px; }
.fw-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 6px; }
.fw-feats div { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: #d6d9e3; }
.fw-feats i { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: #1b1534; border: 1px solid #3a2f6e; color: #b49cff; }
.fw-art { position: relative; min-height: 210px; }
.fw-glow { position: absolute; left: 50%; bottom: 18%; width: 70%; height: 55%; transform: translateX(-50%); background: radial-gradient(ellipse at 50% 100%, rgba(255,170,255,.55), rgba(140,80,255,.25) 40%, transparent 70%); filter: blur(6px); }
.fw-orb { position: absolute; left: calc(50% + 42% * cos(calc(180deg + 180deg * (var(--i) + .5) / var(--n)))); top: calc(70% + 60% * sin(calc(180deg + 180deg * (var(--i) + .5) / var(--n)))); transform: translate(-50%, -50%); padding: 7px; border-radius: 50%; background: rgba(20,14,40,.75); border: 1px solid #4b3a8a; box-shadow: 0 0 18px rgba(140,90,255,.45); z-index: 2; line-height: 0; }
.fw-hills { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 55%; }
.fw-people { position: absolute; left: 50%; bottom: 10%; transform: translateX(-50%); display: flex; gap: 14px; align-items: flex-end; z-index: 1; }
.fw-people span { width: 30px; height: calc(64px - 6px * (var(--p) - 2) * (var(--p) - 2)); background: #05040b; border-radius: 15px 15px 4px 4px; position: relative; }
.fw-people span::before { content: ""; position: absolute; left: 50%; top: -18px; transform: translateX(-50%); width: 20px; height: 20px; border-radius: 50%; background: #05040b; }
.fw-steps { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid #2c2552; border-radius: 14px; background: linear-gradient(180deg, #120f24, #0d0b1a); }
.fw-step { display: flex; align-items: center; gap: 12px; min-width: 0; }
.fw-step i { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; border: 1px solid #3a3a52; color: #c9cbd8; background: #141623; }
.fw-step.on i { background: linear-gradient(135deg, #6a3cff, #a46bff); border-color: #b796ff; color: #fff; box-shadow: 0 0 0 4px rgba(122,77,255,.2); }
.fw-step.done i { background: #0b2117; border-color: #1d5a3b; color: var(--green); }
.fw-step b { display: block; font-size: 13.5px; }
.fw-step small { color: var(--muted); font-size: 12px; }
.fw-line { flex: 1; height: 1px; background: #2e3045; min-width: 20px; }
.fw-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 16px; align-items: start; }
.fw-card { padding: 20px 22px; border-color: #3a2f6e; background: linear-gradient(180deg, #120f22, #0d0c18); display: grid; gap: 14px; }
.fw-kicker { color: #a98bff; font-size: 12.5px; font-weight: 700; }
.fw-card h2 { margin: -6px 0 0; font-size: 24px; letter-spacing: -.01em; border-left: 3px solid var(--purple); padding-left: 12px; }
.fw-sub { margin: -6px 0 0; color: #b9bfd0; padding-left: 15px; max-width: 70ch; }
.fw-fees { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.fw-fee { position: relative; text-align: left; display: grid; gap: 6px; padding: 16px; border-radius: 12px; border: 1px solid #262b3d; background: #0f1220; color: var(--text); cursor: pointer; font: inherit; }
.fw-fee:hover { border-color: #4b3f8f; }
.fw-fee.on { border-color: #8f6bff; background: linear-gradient(180deg, #1b1538, #130f28); box-shadow: 0 0 0 1px #8f6bff inset, 0 0 24px rgba(122,77,255,.25); }
.fw-fee b { font-size: 22px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-right: 22px; }
.fw-fee b em { font-style: normal; font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: #6a3cff; }
.fw-fee small { color: #aab1c3; font-size: 13px; line-height: 1.4; }
.fw-radio { position: absolute; top: 16px; right: 16px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #59607a; }
.fw-fee.on .fw-radio { border-color: #c9b6ff; background: radial-gradient(circle, #fff 0 35%, transparent 40%); }
.fw-more { font-size: 12px; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.fw-chip { border: 1px solid #2b3045; background: #10131e; color: #c9cdd8; border-radius: 999px; padding: 3px 10px; font: 600 12px var(--font); cursor: pointer; }
.fw-chip.on { border-color: #8f6bff; color: #fff; }
.fw-same { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.fw-same > span:first-child { border: 1px solid #2c2552; background: #120f24; border-radius: 10px; padding: 7px 12px; font-size: 13px; color: #c9c2ef; }
.fw-badges { display: flex; gap: 6px; }
.fw-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fw-box { border: 1px solid #252a3c; border-radius: 12px; padding: 14px 16px; background: #0d101b; display: grid; gap: 8px; align-content: start; }
.fw-box h4 { margin: 0 0 4px; display: flex; align-items: center; gap: 10px; font-size: 15px; }
.fw-box h4 i { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; background: #3b25a3; color: #e7defe; }
.fw-box p { margin: 0; }
.fw-row { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; color: #c4c9d6; font-variant-numeric: tabular-nums; }
.fw-row b { color: #fff; }
.fw-row b.acc { color: #b49cff; }
.fw-row.total { border-top: 1px solid #252a3c; padding-top: 9px; font-size: 14px; }
.fw-row.total b.acc { font-size: 17px; }
.fw-pay { display: grid; gap: 14px; }
.fw-field { display: grid; gap: 6px; }
.fw-field > span { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; }
.fw-field input { background: #0b0e17; border: 1px solid #2a3046; border-radius: 9px; padding: 11px 12px; color: #fff; font: 13px ui-monospace, monospace; min-width: 0; }
.fw-field input:focus { outline: none; border-color: #8f6bff; }
.fw-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.fw-summary div { border: 1px solid #252a3c; border-radius: 10px; padding: 9px 12px; background: #0d101b; display: grid; min-width: 0; }
.fw-summary span { font-size: 11px; color: var(--muted); }
.fw-summary b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fw-chains { display: grid; gap: 8px; }
.fw-chain { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 11px 14px; border: 1px solid #242a3c; border-radius: 12px; background: #0d101b; }
.fw-chain.on { border-color: #4b3f8f; background: #110f22; }
.fw-chain.dim { opacity: .7; }
.fw-chain-main { min-width: 0; display: grid; gap: 2px; }
.fw-chain-main small { overflow-wrap: anywhere; }
.fw-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fw-check { position: relative; cursor: pointer; }
.fw-check span { display: block; width: 20px; height: 20px; border-radius: 6px; border: 2px solid #59607a; }
.fw-check input:checked + span { background: #7a4dff; border-color: #a98bff; box-shadow: inset 0 0 0 3px #110f22; }
.fw-check input:disabled + span { opacity: .4; }
.fw-check input:focus-visible + span { outline: 2px solid #a98bff; outline-offset: 2px; }
.fw-soltool { margin-top: 6px; font-size: 12.5px; color: #c9cdd8; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.fw-done { border: 1px solid #1d5a3b; background: #0b2117; color: #c8f5dc; border-radius: 12px; padding: 12px 14px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.fw-how { padding: 18px; display: grid; gap: 16px; border-color: #2c2552; }
.fw-how h3 { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 18px; }
.fw-how h3 i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: #2a2152; color: #c9b6ff; font-style: normal; font-weight: 800; }
.fw-how-row { display: grid; grid-template-columns: 34px 40px minmax(0, 1fr); gap: 10px; align-items: start; position: relative; }
.fw-how-row em { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; background: linear-gradient(135deg, #6a3cff, #a46bff); position: relative; z-index: 1; }
.fw-how-row:not(:nth-last-child(2))::after { content: ""; position: absolute; left: 16px; top: 38px; bottom: -16px; width: 2px; background: #3a2f6e; }
.fw-how-row i { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: #1b1534; color: #c9b6ff; }
.fw-how-row b { display: block; font-size: 13.5px; }
.fw-how-row small { color: var(--muted); font-size: 12px; line-height: 1.45; }
.fw-safe { display: flex; gap: 12px; align-items: center; border: 1px solid #3a2f6e; border-radius: 12px; padding: 12px 14px; background: #120f24; font-size: 12.5px; color: #c9c2ef; }
.fw-safe i { color: #b49cff; line-height: 0; }
.fw-safe b { color: #b49cff; }
.fw-foot { position: sticky; bottom: 0; z-index: 5; display: flex; align-items: center; gap: 10px; padding: 12px 0; background: linear-gradient(180deg, transparent, var(--bg) 35%); }
.fw-foot .grow { flex: 1; }
.fw-go { min-width: 200px; padding: 12px 22px; font-size: 14px; border-radius: 10px; }
@media (max-width: 1100px) { .fw-grid { grid-template-columns: minmax(0, 1fr); } .fw-hero { grid-template-columns: minmax(0, 1fr); } .fw-art { display: none; } }
@media (max-width: 760px) {
  .fw-fees, .fw-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fw-two, .fw-feats { grid-template-columns: minmax(0, 1fr); }
  .fw-steps { flex-direction: column; align-items: stretch; }
  .fw-line { display: none; }
  .fw-chain { grid-template-columns: auto auto minmax(0, 1fr); }
  .fw-chain .badge, .fw-chain > .outline { grid-column: 3; justify-self: start; }
  .fw-go { min-width: 0; }
}
/* chain badges sit in the flow inside the wizard (elsewhere they sit on a token logo's corner) */
.fw .chain-badge { position: static; flex: none; }
.fw-orb .chain-badge { display: grid; }
.fw-chain > .badge { justify-self: end; white-space: nowrap; }

/* fees wizard: progress, pending / deployed groups; the dashboard's setup card */
.fw-prog { display: grid; gap: 8px; }
.fw-prog > div:first-child { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.fw-bar { height: 8px; border-radius: 999px; background: #1b1f30; overflow: hidden; }
.fw-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #6a3cff, #1ed37a); }
.fw-group { display: grid; gap: 8px; }
.fw-group h4 { margin: 6px 0 0; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.fw-chain.live { border-color: #1d5a3b; background: #0b1a14; }
.fw-tick { width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; background: #1ed37a; color: #04120b; font-weight: 900; font-size: 13px; }
.fw-progress { display: grid; grid-template-columns: minmax(180px, 240px) minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 16px; margin-bottom: 14px; border-color: #3a2f6e; background: linear-gradient(180deg, #120f22, #0d0c18); }
.fw-prog-main { display: grid; gap: 6px; }
.fw-pchips { display: flex; flex-wrap: wrap; gap: 6px; }
.fw-pchip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px; border: 1px solid #2b3045; background: #10131e; font-size: 12px; color: #c9cdd8; }
.fw-pchip .chain-badge { position: static; }
.fw-pchip em { font-style: normal; color: var(--muted); font-size: 11px; }
.fw-pchip.ok { border-color: #1d5a3b; background: #0b2117; }
.fw-pchip.ok em { color: var(--green); }
@media (max-width: 900px) { .fw-progress { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Members: a table with each member's last 30 days, online dot on the picture, Follow ---------- */
.mb-card { padding: 0; overflow: hidden; }
.mb-scroll { overflow-x: auto; }
.mb-table { width: 100%; border-collapse: collapse; min-width: 760px; font-variant-numeric: tabular-nums; }
.mb-table th { text-align: left; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding: 12px 14px; border-bottom: 1px solid var(--line); background: #0d1119; }
.mb-table td { padding: 10px 14px; border-bottom: 1px solid #171d2a; font-size: 13px; vertical-align: middle; }
.mb-table tbody tr:hover { background: #111725; }
.mb-table tr:last-child td { border-bottom: 0; }
.mb-table .num { text-align: right; }
.mb-rank { color: var(--muted); width: 36px; }
.mb-who { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none !important; min-width: 0; }
.mb-av { position: relative; flex: none; line-height: 0; }
.mb-dot { position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px; border-radius: 50%; background: #5b6375; border: 2px solid #0d1119; }
.mb-dot.on { background: var(--green); box-shadow: 0 0 6px rgba(30,211,122,.6); }
.mb-name { display: grid; min-width: 0; }
.mb-name b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mb-name small { color: var(--muted); font-size: 11px; }
.mb-role { font-size: 12px; color: #c9cdd8; }
.mb-role.owner { color: var(--gold); font-weight: 700; }
.mb-role.admin { color: var(--purple2); font-weight: 700; }
.mb-act { text-align: right; width: 120px; }
.mb-follow { min-width: 96px; }
.mb-legend { display: inline-flex; align-items: center; gap: 5px; margin-left: 8px; font-size: 12px; }
.mb-legend .mb-dot { position: static; width: 9px; height: 9px; border-width: 0; }

.mb-foot { margin: 10px 2px 0; }

/* sign-in on phones: WalletConnect and the wallet-app links */
.wc-opt { display: grid; gap: 2px; text-align: center; margin-top: 10px; }
.wc-opt small { font-weight: 500; opacity: .85; font-size: 11px; }
.wapp-note { margin: 12px 0 6px; }
.wapp-links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }

/* ---------- create a community (bros.run/create) */
.cw { max-width: 1180px; }
.cw-top { display: flex; align-items: center; gap: 8px; }
.cw-head { padding: 6px 0 18px; display: grid; gap: 8px; justify-items: start; }
.cw-head h1 { margin: 0; font-size: 34px; letter-spacing: -.02em; text-wrap: balance; }
.cw-head h1 span { color: var(--purple2); }
.cw-head p { margin: 0; color: var(--muted); max-width: 64ch; }
.cw-steps { margin-bottom: 16px; }
.cw-steps .fw-step { background: none; border: 0; color: inherit; font: inherit; text-align: left; padding: 0; cursor: pointer; }
.cw-steps .fw-step:disabled { cursor: default; }
.cw-steps .fw-step.done:hover b { color: var(--purple2); }
.cw-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.cw-main { padding: 22px; display: grid; gap: 16px; min-width: 0; }
.cw-main h2 { margin: 0; }
.cw-h4, .cw-side h4 { margin: 4px 0 0; font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; color: #aeb6c6; }
.cw-side { padding: 16px; display: grid; gap: 10px; }
.cw-side h3 { margin: 0; font-size: 15px; }
.cw-side-wrap { display: grid; gap: 10px; position: sticky; top: 16px; }
.cw-side-title { display: grid; gap: 4px; justify-items: start; }
.cw-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; font-size: 12.5px; color: #c9cfdb; }
.cw-list li { display: flex; gap: 8px; }
.cw-list li::before { content: "✓"; color: var(--green); font-weight: 800; }
.cw-brand { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 12px; }
.cw-img { display: flex; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 11px; background: #0a0e15; min-width: 0; }
.cw-img > div:last-child { display: grid; gap: 4px; justify-items: start; min-width: 0; }
.cw-img small { font-size: 11.5px; }
.cw-img-acts { display: flex; align-items: center; gap: 8px; margin-top: 2px; }
.cw-logo .logo { border-radius: 14px; }
.cw-cover { width: 150px; max-width: 45%; aspect-ratio: 3 / 1; border-radius: 8px; overflow: hidden; background: linear-gradient(110deg, #24194a, #6d43ff 50%, #3f76d5); flex: none; }
.cw-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cw-handle { display: flex; align-items: center; background: #0a0e15; border: 1px solid #232c3d; border-radius: 9px; }
.cw-handle em { font-style: normal; color: var(--muted); padding-left: 11px; font-size: 13.5px; }
.mg-field .cw-handle input { border: 0; background: transparent; padding-left: 2px; }
.cw-handle:focus-within { border-color: var(--purple); }
.cw-rules-head { display: flex; align-items: center; gap: 8px; }
.cw-rules-head .linkish { margin-left: auto; }
.cw-prev { overflow: hidden; position: relative; }
.cw-prev-cover { height: 96px; background: linear-gradient(110deg, #24194a, #6d43ff 50%, #3f76d5); }
.cw-prev-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cw-prev-logo { position: absolute; left: 16px; top: 62px; border: 3px solid #111620; border-radius: 16px; }
.cw-prev-body { padding: 40px 16px 16px; display: grid; gap: 6px; }
.cw-prev-body b { font-size: 17px; }
.cw-prev-body small { color: var(--muted); }
.cw-prev-body p { margin: 0; font-size: 12.5px; color: #b6bdcb; overflow-wrap: anywhere; }
.cw-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.cw-tags span { font-size: 11px; padding: 3px 9px; border-radius: 999px; background: #19142e; color: var(--purple2); border: 1px solid #3b2f6e; }
.cw-review { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cw-rcard { padding: 14px; display: grid; gap: 10px; align-content: start; }
.cw-rcard header { display: flex; align-items: center; gap: 8px; }
.cw-rcard header b { flex: 1; font-size: 14px; }
.cw-kv { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 6px 10px; font-size: 12.5px; }
.cw-kv span { color: var(--muted); }
.cw-kv b { font-weight: 600; overflow-wrap: anywhere; }
.cw-check { display: grid; gap: 7px; font-size: 12.5px; }
.cw-check div { display: flex; gap: 8px; }
.cw-check i { font-style: normal; font-weight: 800; width: 14px; }
.cw-check .ok i { color: var(--green); }
.cw-check .opt i { color: var(--gold); }
.cw-note { padding: 10px 12px; border-radius: 9px; border: 1px solid #3b2f6e; background: #141029; font-size: 12.5px; color: #cfc8ff; line-height: 1.5; }
.cw-gate { max-width: 560px; padding: 28px; display: grid; gap: 12px; justify-items: start; }
.cw-gate h2 { margin: 0; }
@media (max-width: 980px) { .cw-grid { grid-template-columns: minmax(0, 1fr); } .cw-side-wrap { position: static; } }
@media (max-width: 640px) { .cw-brand, .cw-review { grid-template-columns: minmax(0, 1fr); } .cw-head h1 { font-size: 26px; } .cw-main { padding: 16px; } .cw-kv { grid-template-columns: 96px minmax(0, 1fr); } }
.cw-main .mg-field { align-content: start; }
/* phones hide the sidebar's brand and wallet label; the landing and create pages have no sidebar, so keep them */
@media (max-width: 760px) { .land-top .powered { display: flex; } .cw-top .wallet span { display: inline; } }

.cw-done { padding: 28px; display: grid; gap: 14px; justify-items: start; max-width: 760px; }
.cw-done h2 { margin: 0; font-size: 26px; }
.cw-done p { margin: 0; }
.cw-done-tick { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; font-weight: 800; color: var(--green); background: #0b2117; border: 1px solid #1d5a3b; }
.cw-done .mg-invite { width: 100%; max-width: 520px; }
.cw-done-fee { font-size: 13.5px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.cw-done-acts { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
/* payout card: labelled payout wallet and router owner */
.fe-role { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; font-size: 12px; font-weight: 700; color: #aeb6c6; }
.fe-role small { font-weight: 500; }
.fe-addr.owner code { color: #aeb6c6; }

/* Earning setup (Fees & Earnings): one card, what earns × where */
.es-card { padding: 18px 20px; display: grid; gap: 14px; margin-bottom: 14px; }
.es-head { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.es-title { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.es-title h3 { margin: 0; font-size: 17px; }
.es-pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 3px 10px; font: 700 11px var(--font); }
.es-pill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.es-pill.ok { color: var(--green); background: rgba(30,211,122,.10); border: 1px solid rgba(30,211,122,.30); }
.es-pill.todo { color: var(--gold); background: rgba(244,180,72,.10); border: 1px solid rgba(244,180,72,.30); }
.es-split { display: grid; gap: 6px; }
.es-track { display: flex; height: 10px; border-radius: 6px; overflow: hidden; background: var(--panel2); }
.es-track span:first-child { background: #3a4462; }
.es-track span:last-child { background: linear-gradient(90deg, #6841ff, #a58bff); }
.es-legend { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12px; color: var(--muted); }
.es-legend b { color: var(--text); font-variant-numeric: tabular-nums; }
.es-grid { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.es-row { display: grid; grid-template-columns: 170px minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--line); }
.es-row:first-child { border-top: 0; }
.es-hd { background: var(--panel2); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding-block: 8px; }
.es-hd span { display: flex; align-items: center; gap: 6px; }
.es-chips { display: inline-flex; gap: 2px; }
.es-lab { font-weight: 600; font-size: 13px; }
.es-lab small { display: block; font-weight: 500; color: var(--muted); font-size: 11px; }
.es-cell { min-width: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.es-addr { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; font-size: 12px; }
.es-st { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; }
.es-st i { width: 8px; height: 8px; border-radius: 50%; }
.es-st.ok { color: var(--green); } .es-st.ok i { background: var(--green); }
.es-st.todo { color: var(--gold); } .es-st.todo i { border: 2px solid var(--gold); }
.es-st.off { color: var(--muted); } .es-st.off i { background: var(--line); }
.es-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.es-action { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 12px 14px; border-radius: 10px; background: rgba(122,77,255,.08); border: 1px solid rgba(140,107,255,.35); }
.es-action p { margin: 0; font-size: 13px; }
.es-acts { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.es-wallets { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.es-steps { display: grid; gap: 8px; justify-content: stretch; }
.es-step { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); }
.es-step .n { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 700 11px var(--font); border: 1px solid var(--line); flex: none; }
.es-step.done { color: var(--text); } .es-step.done .n { background: var(--green); border-color: var(--green); color: #07080d; }
.es-step.now { color: var(--text); } .es-step.now .n { border-color: var(--purple2); color: var(--purple2); }
.es-foot { margin: 0; font-size: 12px; color: var(--muted); }
@media (max-width: 760px) {
  .es-row { grid-template-columns: 1fr; gap: 6px; }
  .es-hd { display: none; }
  .es-cell::before { content: attr(data-k); font-size: 11px; color: var(--muted); width: 56px; flex: none; }
  .es-form { grid-template-columns: 1fr; }
}
.es-card .chain-badge { position: static; border: 0; display: inline-grid; vertical-align: -3px; }

/* swap panel: the chart folds away (one bar); open it to see the chart above the trade */
.chart-fold { width: 100%; display: flex; align-items: center; justify-content: center; gap: 6px; margin: 8px 0; padding: 7px 10px; border: 1px dashed var(--line); border-radius: 8px; background: transparent; color: var(--muted); font: 600 12px var(--font); cursor: pointer; }
.chart-fold:hover { color: var(--text); border-color: #3a4660; }
.chart-fold:not(.closed) { margin-top: 4px; border-style: solid; border-color: transparent; padding: 4px; }

/* ---------- landing (bros.run/): black, neon; search-first hero over the connected-globe image ---------- */
.lp { background: #000; color: var(--text); min-height: 100vh; overflow-x: clip; }
.lp-wrap { max-width: 1240px; margin: 0 auto; padding-inline: 20px; }
.lp svg { display: block; }
.lp a { text-decoration: none; }
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid #2a3150; background: rgba(255,255,255,.03); color: #fff !important; padding: 9px 14px; border-radius: 10px; font: 700 13px var(--font); cursor: pointer; white-space: nowrap; transition: transform .15s, box-shadow .15s, border-color .15s; }
.lp-btn:hover { border-color: #4a4f80; }
.lp-btn.primary { background: linear-gradient(135deg, #6a3dff, #a46bff); border-color: rgba(200,170,255,.45); box-shadow: 0 6px 22px rgba(122,77,255,.35), inset 0 1px 0 rgba(255,255,255,.2); }
.lp-btn.primary:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(122,77,255,.5), inset 0 1px 0 rgba(255,255,255,.25); }
.lp-btn svg { width: 16px; height: 16px; flex: none; }
.lp-me .av { width: 22px; height: 22px; border-radius: 50%; }

.lp-top { position: sticky; top: 0; z-index: 20; background: rgba(0,0,0,.8); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(122,77,255,.16); }
.lp-top .lp-wrap { display: flex; align-items: center; gap: 12px; height: 66px; }
.lp-brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.lp-mark { filter: drop-shadow(0 0 10px rgba(160,100,255,.45)); flex: none; }
.lp-word { display: block; font: 600 25px/1 Fredoka, var(--font); letter-spacing: -.01em; color: #f7f8fb; }
.lp-word em { font-style: normal; background: linear-gradient(90deg, #b07bff, #8f5cff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-brand small { display: block; white-space: nowrap; font-size: 10.5px; color: var(--muted); margin-top: 3px; }
.lp-grow { flex: 1; }

.lp-hero { position: relative; isolation: isolate; overflow: hidden; background: #000; }
.lp-hero-bg { position: absolute; inset: 0; z-index: -3; pointer-events: none; background: #000 url("/assets/hero-bg.webp") center 62% / cover no-repeat; filter: brightness(.62) saturate(.85); transform-origin: 50% 70%; animation: lp-drift 38s ease-in-out infinite alternate; }
@keyframes lp-drift { from { transform: scale(1); } to { transform: scale(1.07) translateY(-6px); } }
.lp-fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; mask-image: radial-gradient(ellipse 34% 40% at 50% 40%, rgba(0,0,0,.18), #000 90%); -webkit-mask-image: radial-gradient(ellipse 34% 40% at 50% 40%, rgba(0,0,0,.18), #000 90%); }
.lp-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 46% 50% at 50% 42%, rgba(0,0,0,.62), transparent 75%), linear-gradient(rgba(0,0,0,.35), transparent 22%, transparent 78%, #000); }
.lp-hero-in { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 16px; padding-block: 72px 64px; }
.lp-hero h1 { font-size: clamp(32px, 5.4vw, 62px); line-height: 1.03; margin: 0; letter-spacing: -.03em; font-weight: 800; text-wrap: balance; max-width: 18ch; }
.lp-grad { background: linear-gradient(92deg, #8f6bff 0%, #c7a6ff 50%, #8fd0ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 22px rgba(143,107,255,.35)); }
.lp-search { width: min(800px, 100%); margin: 8px 0 0; display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 20px; border-radius: 18px;
  background: linear-gradient(#0a0b12, #0a0b12) padding-box, linear-gradient(120deg, rgba(160,120,255,.85), rgba(80,90,170,.4) 40%, rgba(160,120,255,.7)) border-box;
  border: 1.5px solid transparent; box-shadow: 0 18px 60px rgba(104,65,255,.28), 0 0 0 6px rgba(122,77,255,.06); }
.lp-search:focus-within { box-shadow: 0 18px 70px rgba(104,65,255,.45), 0 0 0 6px rgba(122,77,255,.14); }
.lp-search > svg { flex: none; color: #b7a8ff; width: 21px; height: 21px; }
.lp-search input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--text); font: 500 16.5px var(--font); padding: 12px 0; outline: none; box-shadow: none; }
.lp-search input::placeholder { color: #6b7391; }
.lp-kbd { font: 600 11px var(--font); color: var(--muted); border: 1px solid #2a3150; border-radius: 6px; padding: 2px 7px; }
.lp-search .lp-btn.primary { padding: 12px 22px; border-radius: 12px; font-size: 14px; }
.lp-hint { font-size: 12.5px; color: var(--muted); min-height: 1.5em; }
.lp-hint button { background: none; border: 0; padding: 0; color: var(--purple2); font: 700 12.5px var(--font); cursor: pointer; }
.lp-ctrls { display: flex; gap: 10px 14px; flex-wrap: wrap; justify-content: center; align-items: center; }
.lp-ctrl { max-width: 100%; display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: center; }
.lp-ctrl > span { font-size: 11px; color: #c9c2ec; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-shadow: 0 1px 6px #000; }
.lp-seg { max-width: 100%; display: inline-flex; background: rgba(8,9,18,.88); border: 1px solid #2a3150; border-radius: 11px; padding: 3px; gap: 2px; flex-wrap: wrap; justify-content: center; }
.lp-seg button { border: 0; background: transparent; color: var(--muted); font: 700 12.5px var(--font); padding: 6px 11px; border-radius: 8px; cursor: pointer; }
.lp-seg button:hover { color: var(--text); }
.lp-seg button.on { background: rgba(122,77,255,.28); color: #fff; box-shadow: inset 0 0 0 1px rgba(172,140,255,.5); }

.lp-lower { position: relative; isolation: isolate; overflow-x: clip; }
.lp-lower::before { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none; background: url("/assets/page-bg.webp") center top / cover no-repeat; opacity: .9; mask-image: linear-gradient(transparent, #000 160px); -webkit-mask-image: linear-gradient(transparent, #000 160px); }
.lp-lower::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .55; background-image: linear-gradient(rgba(140,120,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(140,120,255,.06) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000, transparent 80%); -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000, transparent 80%); }
.lp-glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); pointer-events: none; animation: lp-breathe 9s ease-in-out infinite alternate; }
.lp-glow.g1 { width: 520px; height: 360px; left: -140px; top: 280px; background: rgba(122,77,255,.28); }
.lp-glow.g2 { width: 560px; height: 380px; right: -160px; top: 60%; background: rgba(77,107,255,.22); animation-delay: -4s; }
@keyframes lp-breathe { from { opacity: .55; transform: scale(1); } to { opacity: 1; transform: scale(1.12); } }

.lp-stats { transform: translateY(-30px); display: grid; grid-template-columns: repeat(3, minmax(0,1fr)) 1px repeat(3, minmax(0,1fr)); align-items: center; border: 1px solid #2a3150; border-radius: 18px; background: linear-gradient(180deg, rgba(20,23,40,.97), rgba(12,15,24,.97)); box-shadow: 0 20px 50px rgba(0,0,0,.45); padding: 8px 6px; position: relative; z-index: 2; }
.lp-stat { display: flex; align-items: center; gap: 10px; padding: 2px 12px; min-width: 0; }
.lp-ti { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; background: rgba(122,77,255,.14); color: #b7a3ff; box-shadow: inset 0 0 0 1px rgba(160,130,255,.25); }
.lp-ti svg { width: 18px; height: 18px; }
.lp-stat b { display: block; font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.1; }
.lp-stat div > span { display: block; font-size: 12px; color: var(--muted); }
.lp-vr { width: 1px; height: 30px; background: #2a3150; }
.lp-feat { display: flex; align-items: center; gap: 9px; padding: 2px 12px; min-width: 0; }
.lp-feat svg { width: 20px; height: 20px; color: #a995ff; flex: none; }
.lp-feat b { display: block; font-size: 14px; font-weight: 700; white-space: nowrap; }

.lp-results { margin-top: 10px; }
.lp-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.lp-head h2 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.01em; display: flex; align-items: center; gap: 10px; }
.lp-fl { color: #ff8a3d; } .lp-fl svg { width: 22px; height: 22px; }
.lp-head p { margin: 3px 0 0; color: var(--muted); font-size: 13px; }
.lp-count { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.lp-loading { color: var(--muted); }
.lp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); gap: 18px; }
.lp-card { position: relative; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; min-width: 0;
  background: linear-gradient(180deg, #121527, #0b0e18) padding-box, linear-gradient(160deg, var(--edge), rgba(40,46,72,.6) 45%, rgba(40,46,72,.4)) border-box;
  border: 1px solid transparent; transition: transform .2s, box-shadow .2s; }
.lp-card:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(0,0,0,.5), 0 0 34px var(--glow); }
.lp-cover { display: block; height: 118px; position: relative; overflow: hidden; background: #0b0e18; }
.lp-cover svg, .lp-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* a dark fade at the cover foot keeps the name readable over a bright photo */
.lp-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(11,14,24,.92)); pointer-events: none; }
.lp-rank { z-index: 1;  position: absolute; top: 10px; left: 10px; font-weight: 800; font-size: 12px; border-radius: 8px; padding: 2px 8px; color: #06070c; background: var(--accent); box-shadow: 0 0 14px var(--accent); }
.lp-body { padding: 0 16px 16px; display: flex; flex-direction: column; gap: 12px; flex: 1; min-width: 0; }
.lp-id { display: flex; gap: 12px; align-items: flex-end; margin-top: -26px; min-width: 0; position: relative; z-index: 1; }
.lp-av { width: 58px; height: 58px; border-radius: 50%; flex: none; display: grid; place-items: center; overflow: hidden; font-weight: 800; font-size: 19px; color: #fff !important; border: 3px solid #0e1120; box-shadow: 0 0 0 2px var(--accent), 0 0 20px var(--glow); text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.lp-av img { width: 100%; height: 100%; object-fit: cover; }
.lp-who { min-width: 0; flex: 1; padding-bottom: 3px; }
.lp-who a { color: var(--text); }
.lp-who b { text-shadow: 0 1px 8px rgba(0,0,0,.7); display: block; font-size: 16px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-who span { display: block; color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-ret { text-align: right; flex: none; padding-bottom: 3px; }
.lp-ret b { font-size: 14px; font-variant-numeric: tabular-nums; }
.lp-ret span { display: block; font-size: 10.5px; color: var(--muted); }
.lp .up { color: var(--green); } .lp .down { color: var(--red); } .lp .flat { color: var(--muted); }
.lp-desc { color: #c3c9d6; font-size: 13px; line-height: 1.5; min-height: 3em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
.lp-desc.empty { color: #6b7391; font-style: italic; }
.lp-nums { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 4px; padding-block: 10px; border-block: 1px solid #1d2335; }
.lp-nums div { min-width: 0; }
.lp-nums b { display: flex; align-items: center; gap: 5px; font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.lp-nums span { font-size: 11px; color: var(--muted); }
.lp-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(30,211,122,.18), 0 0 10px var(--green); }
.lp-pills { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.lp-pill { display: inline-block; font-size: 11px; font-weight: 600; line-height: 1.4; color: #c3c9d6; border: 1px solid #2a3150; background: rgba(255,255,255,.03); border-radius: 999px; padding: 2px 9px; }
.lp-pill.cat { border-color: rgba(150,120,255,.4); background: rgba(122,77,255,.1); }
.lp-pill.pub { color: #8ff0bd; border-color: rgba(30,211,122,.35); background: rgba(30,211,122,.08); }
.lp-pill.gated { color: #ffd38a; border-color: rgba(244,180,72,.4); background: rgba(244,180,72,.08); }
.lp-join { margin-top: auto; width: 100%; }
.lp mark { background: rgba(172,162,255,.28); color: #fff; border-radius: 4px; padding: 0 2px; }
.lp-empty { border: 1px dashed #2a3150; border-radius: 18px; padding: 40px 20px; text-align: center; display: grid; gap: 12px; justify-items: center; color: var(--muted); background: rgba(12,15,24,.6); }
.lp-empty b { color: var(--text); font-size: 17px; }
.lp-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

.lp-cta { position: relative; overflow: hidden; margin-block: 48px 28px; border-radius: 22px; padding: 32px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; border: 1px solid rgba(160,130,255,.4);
  background: radial-gradient(500px 220px at 0% 0%, rgba(122,77,255,.45), transparent 70%), radial-gradient(400px 200px at 100% 100%, rgba(77,140,255,.25), transparent 70%), #0d0f1d; box-shadow: 0 0 60px rgba(122,77,255,.18); }
.lp-cta h3 { margin: 0 0 6px; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.lp-cta p { margin: 0; color: #c3c9d6; max-width: 60ch; }
.lp-cta .lp-btn.primary { padding: 13px 22px; font-size: 14px; }
.lp-foot { border-top: 1px solid #1d2335; color: var(--muted); font-size: 12px; padding-block: 18px 30px; text-align: center; }
.lp-foot a { color: #b8a6ff; font-weight: 600; }

@media (max-width: 1100px) { .lp-stats { grid-template-columns: repeat(3, minmax(0,1fr)); row-gap: 16px; } .lp-vr { display: none; } }
@media (max-width: 640px) {
  .lp-wrap { padding-inline: 16px; }
  .lp-top .lp-wrap { height: 58px; gap: 8px; }
  .lp-long { display: none; }
  .lp-top .lp-btn { padding: 8px 11px; }
  .lp-mark { width: 34px; height: 34px; }
  .lp-word { font-size: 21px; }
  .lp-hero-in { padding-block: 44px 56px; gap: 14px; }
  .lp-search { padding: 6px 6px 6px 14px; gap: 8px; } .lp-kbd { display: none; } .lp-search input { font-size: 15px; padding: 10px 0; } .lp-search .lp-btn.primary { padding: 10px 14px; }
  .lp-ctrl { width: 100%; } .lp-ctrl > span { width: 100%; text-align: center; }
  .lp-seg button { padding: 6px 9px; font-size: 12px; }
  .lp-stats { grid-template-columns: repeat(3, minmax(0,1fr)); padding: 12px 4px; row-gap: 10px; }
  .lp-stat { flex-direction: column; text-align: center; gap: 6px; padding: 4px; } .lp-ti { width: 36px; height: 36px; } .lp-stat b { font-size: 18px; }
  .lp-feat { flex-direction: column; gap: 5px; text-align: center; padding: 2px 4px; } .lp-feat b { font-size: 12px; }
  .lp-head h2 { font-size: 19px; }
  .lp-cta { padding: 22px; } .lp-cta h3 { font-size: 21px; } .lp-cta .lp-btn { width: 100%; }
  .lp-glow { display: none; }
}
@media (prefers-reduced-motion: reduce) { .lp-hero-bg, .lp-glow { animation: none; } .lp-btn, .lp-card { transition: none; } }
/* the signed-in account menu */
.lp-menu-wrap { position: relative; }
.lp-me.on { border-color: rgba(172,140,255,.7); background: rgba(122,77,255,.16); }
.lp-caret { width: 14px !important; height: 14px !important; opacity: .7; }
.lp-menu { position: absolute; right: 0; top: calc(100% + 8px); width: 270px; max-width: calc(100vw - 32px); background: #0d0f1d; border: 1px solid rgba(160,130,255,.35); border-radius: 14px; box-shadow: 0 20px 50px rgba(0,0,0,.6), 0 0 30px rgba(122,77,255,.18); padding: 6px; z-index: 30; display: grid; }
.lp-mh { display: flex; align-items: center; gap: 10px; padding: 10px; }
.lp-mh b { display: block; font-size: 14px; } .lp-mh small { display: block; color: var(--muted); font-size: 11.5px; }
.lp-mh .av { width: 36px; height: 36px; border-radius: 50%; }
.lp-ms { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 8px 10px 4px; }
.lp-mi { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; color: var(--text) !important; font: 600 13px var(--font); background: none; border: 0; cursor: pointer; text-align: left; width: 100%; }
.lp-mi:hover { background: rgba(122,77,255,.16); }
.lp-mi svg { width: 16px; height: 16px; color: #b7a3ff; flex: none; }
.lp-mi .logo { width: 22px; height: 22px; border-radius: 6px; flex: none; }
.lp-mi span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-mi em { font-style: normal; color: var(--muted); }
.lp-mnone { margin: 0; padding: 4px 10px 8px; color: var(--muted); font-size: 12.5px; }
.lp-msep { height: 1px; background: #1d2335; margin: 4px 6px; }
@media (max-width: 640px) { .lp-me > span:not(.av) { display: none; } }

/* ---------- community pages, redesigned: black + neon like the home page; --cp-a / --cp-b: the community's colour ---------- */
.shell.cp { background: #000; }
.cp .sidebar { background: linear-gradient(180deg, #05060b, #000 40%); border-right-color: rgba(122,77,255,.16); gap: 4px; }
.cp .powered .lp-mark { width: 34px; height: 34px; filter: drop-shadow(0 0 10px rgba(160,100,255,.45)); }
.cp .powered b.lp-word { font-size: 21px; display: block; } .cp .powered b.lp-word em { font-style: normal; background: linear-gradient(90deg, #b07bff, #8f5cff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cp .community-mini { margin: 16px 0 12px; border-radius: 16px; overflow: hidden; padding: 0 12px 12px; border: 1px solid transparent; background: linear-gradient(#0b0d16, #0b0d16) padding-box, linear-gradient(160deg, var(--cp-a), rgba(40,46,72,.5) 55%) border-box; }
.cp .cover-mini { height: 62px; margin: 0 -12px; border-radius: 0; overflow: hidden; background: #0b0d16; }
.cp .cover-mini svg, .cp .cover-mini img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cp .mini-logo { left: 12px; top: 34px; border: 3px solid #0b0d16; border-radius: 14px; box-shadow: 0 0 0 2px var(--cp-a), 0 0 18px color-mix(in srgb, var(--cp-a) 45%, transparent); }
.cp .community-mini h2 { margin: 32px 0 0; font-size: 16px; display: flex; align-items: center; gap: 6px; }
.cp-h2lock svg { width: 14px; height: 14px; color: var(--gold); display: block; }
.cp .community-mini .handle { font-size: 12px; margin-top: 1px; }
.cp .community-mini .badges { margin-top: 8px; }
.cp-status { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: 10.5px; font-weight: 800; letter-spacing: .03em; }
.cp-status svg { width: 11px; height: 11px; }
.cp-status.pub { color: #8ff0bd; background: rgba(30,211,122,.1); border: 1px solid rgba(30,211,122,.35); }
.cp-status.appr { color: #ffd38a; background: rgba(244,180,72,.1); border: 1px solid rgba(244,180,72,.4); }
.cp-status.mem { color: #06110a; background: var(--cp-a); box-shadow: 0 0 14px color-mix(in srgb, var(--cp-a) 50%, transparent); }
.cp .tab { height: 42px; border-radius: 11px; color: #b4bccb; font-weight: 600; font-size: 14px; position: relative; }
.cp .tab i svg { width: 18px; height: 18px; color: var(--purple2); display: block; }
.cp .tab.active, .cp a.tab:hover { background: linear-gradient(90deg, rgba(122,77,255,.28), rgba(122,77,255,.06)); border-color: rgba(172,140,255,.35); color: #fff; }
.cp .tab.active::before { content: ""; position: absolute; left: -16px; top: 9px; bottom: 9px; width: 3px; border-radius: 3px; background: var(--purple2); box-shadow: 0 0 10px var(--purple); }
.cp .tab.is-locked { color: #747d94; } .cp .tab.is-locked i svg { color: #5a6179; }
.cp-lock svg { width: 14px; height: 14px; color: var(--gold); display: block; }
.cp .tab.soon em { color: var(--gold); }
.cp .nav-group { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; color: var(--muted); padding: 12px 10px 4px; }
.cp-explore { display: flex !important; align-items: center; justify-content: center; gap: 8px; }
.cp-explore svg { width: 16px; height: 16px; }
.cp .topbar { background: rgba(0,0,0,.82); border-bottom-color: rgba(122,77,255,.16); }
.cp .search { background: #0a0b12; border-color: #2a3150; border-radius: 12px; height: 42px; }
.cp .live { color: var(--green); border: 1px solid rgba(30,211,122,.3); background: rgba(30,211,122,.07); }
.cp-share { display: inline-flex; align-items: center; gap: 6px; } .cp-share svg { width: 15px; height: 15px; }
.cp .top-actions .lp-menu-wrap .lp-btn { padding: 7px 12px; }

/* hero: the cover as a lit stage */
.cp-hero { position: relative; isolation: isolate; overflow: hidden; border-radius: 22px; min-height: 340px; display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 22px; padding: 28px; margin-bottom: 18px; border: 1px solid transparent;
  background: linear-gradient(#000, #000) padding-box, linear-gradient(135deg, var(--cp-a), rgba(122,77,255,.7) 40%, rgba(40,46,72,.5)) border-box; }
.cp-art { position: absolute; inset: 0; z-index: -2; }
.cp-art svg, .cp-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cp-art .cover-img { position: static; }
.cp-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,.92), rgba(0,0,0,.72) 40%, rgba(0,0,0,.2) 72%, rgba(0,0,0,.6)), linear-gradient(0deg, rgba(0,0,0,.75), transparent 50%); }
.cp-hl { display: grid; align-content: end; gap: 11px; min-width: 0; }
.cp-chips { display: flex; gap: 7px; flex-wrap: wrap; }
.cp-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; border: 1px solid #2a3150; background: rgba(0,0,0,.55); color: #c3c9d6; backdrop-filter: blur(6px); }
.cp-chip svg { width: 13px; height: 13px; }
.cp-chip.cat { color: #d6ccff; border-color: rgba(150,120,255,.5); }
.cp-chip.gold { color: #ffd38a; border-color: rgba(244,180,72,.45); } .cp-chip.green { color: #8ff0bd; border-color: rgba(30,211,122,.4); }
.cp-chip.mem { color: #06110a; background: var(--cp-a); border-color: transparent; }
.cp-title { display: flex; align-items: center; gap: 16px; min-width: 0; }
.cp-logo { border-radius: 18px; border: 3px solid #000; box-shadow: 0 0 0 2px var(--cp-a), 0 0 24px color-mix(in srgb, var(--cp-a) 45%, transparent); }
.cp-hero h1 { margin: 0; font-size: clamp(32px, 4.6vw, 58px); line-height: 1.02; letter-spacing: -.03em; font-weight: 800; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; text-shadow: 0 2px 30px rgba(0,0,0,.6); min-width: 0; overflow-wrap: anywhere; }
.cp-lk svg { width: 34px; height: 34px; color: var(--gold); filter: drop-shadow(0 0 12px rgba(244,180,72,.6)); display: block; }
.cp-tag { margin: 0; font-size: clamp(16px, 1.8vw, 20px); font-weight: 700; background: linear-gradient(92deg, var(--cp-b), var(--cp-a) 50%, #8fd0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cp-desc { margin: 0; color: #c3c9d6; font-size: 15px; max-width: 60ch; }
.cp-owner { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #c3c9d6; } .cp-owner .av { width: 24px; height: 24px; border-radius: 50%; }
.cp-ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.cp .cp-big { padding: 13px 22px; font-size: 15px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: auto; }
.cp .cp-big svg { width: 17px; height: 17px; }
.cp .primary.cp-big { box-shadow: 0 8px 26px rgba(122,77,255,.4); }

/* the access panel */
.cp-access { align-self: stretch; display: grid; gap: 13px; align-content: start; padding: 20px; border-radius: 18px; background: rgba(8,9,18,.84); backdrop-filter: blur(12px); border: 1px solid rgba(160,130,255,.35); box-shadow: 0 20px 50px rgba(0,0,0,.5), 0 0 40px rgba(122,77,255,.15); min-width: 0; }
.cp-ahd { display: flex; align-items: center; gap: 12px; }
.cp-aic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.cp-aic svg { width: 21px; height: 21px; }
.cp-aic.pub { background: rgba(30,211,122,.14); color: var(--green); box-shadow: inset 0 0 0 1px rgba(30,211,122,.35); }
.cp-aic.appr { background: rgba(244,180,72,.14); color: var(--gold); box-shadow: inset 0 0 0 1px rgba(244,180,72,.4); }
.cp-aic.mem { background: color-mix(in srgb, var(--cp-a) 16%, transparent); color: var(--cp-a); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cp-a) 45%, transparent); }
.cp-access h3 { margin: 0; font-size: 17px; } .cp-sub { color: var(--muted); font-size: 12.5px; }
.cp-access .wide, .cp-join > * { width: 100%; }
.cp-arow { display: grid; } .cp-arow > * { width: 100%; }
.cp-req { display: grid; gap: 6px; font-size: 13px; } .cp-req div { display: flex; justify-content: space-between; gap: 10px; } .cp-req span { color: var(--muted); }
.cp-pending { font-size: 12.5px; color: #ffd38a; background: rgba(244,180,72,.08); border: 1px solid rgba(244,180,72,.35); border-radius: 10px; padding: 9px 11px; }
.cp-geth { margin-bottom: 8px; }
.cp-gets { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cp-gets li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: #c3c9d6; }
.cp-ck { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: rgba(30,211,122,.16); color: var(--green); flex: none; }
.cp-ck svg { width: 12px; height: 12px; }
.cp-note { font-size: 11.5px; color: var(--muted); display: flex; gap: 7px; align-items: flex-start; }
.cp-note svg { width: 14px; height: 14px; color: var(--purple2); flex: none; margin-top: 1px; }

/* stats */
.cp-stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-radius: 16px; border: 1px solid #2a3150; background: linear-gradient(180deg, #0e1020, #090a12); overflow: hidden; margin-bottom: 22px; }
.cp-stat { padding: 14px 18px; display: flex; gap: 12px; align-items: center; border-left: 1px solid #1d2335; min-width: 0; }
.cp-stat:first-child { border-left: 0; }
.cp-ti { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: rgba(122,77,255,.14); color: #b7a3ff; box-shadow: inset 0 0 0 1px rgba(160,130,255,.25); flex: none; }
.cp-ti svg { width: 18px; height: 18px; }
.cp-stat b { display: block; font-size: 21px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.cp-stat div > span { display: block; font-size: 12px; color: var(--muted); }

/* sections */
.cp-sec { display: grid; gap: 14px; margin-bottom: 26px; }
.cp-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.cp-head h2 { margin: 2px 0 0; font-size: 21px; font-weight: 800; letter-spacing: -.01em; }
.cp-head p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.cp-cols .cp-head { margin-bottom: 12px; }
.cp-peek { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.cp-pk { position: relative; border-radius: 16px; padding: 16px; min-height: 148px; background: linear-gradient(160deg, #11142a, #0a0b14); border: 1px solid #2a3150; overflow: hidden; display: grid; gap: 10px; align-content: start; color: var(--text) !important; text-decoration: none !important; transition: border-color .15s, transform .15s; }
.cp-pk:hover { border-color: rgba(172,140,255,.6); transform: translateY(-2px); }
.cp-pk h4 { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 14.5px; }
.cp-pk h4 svg { width: 17px; height: 17px; color: var(--purple2); }
.cp-pk small { color: var(--muted); font-size: 11.5px; }
.cp-bl { display: grid; gap: 7px; filter: blur(3.5px); opacity: .7; }
.cp-bl i { display: block; height: 9px; border-radius: 6px; background: linear-gradient(90deg, rgba(172,162,255,.5), rgba(172,162,255,.12)); }
.cp-bl i:nth-child(2) { width: 82%; } .cp-bl i:nth-child(3) { width: 64%; }
.cp-bl .r { display: flex; gap: 8px; align-items: center; } .cp-bl .r span { width: 22px; height: 22px; border-radius: 50%; background: var(--cp-a); opacity: .6; flex: none; } .cp-bl .r i { flex: 1; }
.cp-pkl { position: absolute; right: 14px; bottom: 14px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(0,0,0,.6); border: 1px solid rgba(244,180,72,.45); color: var(--gold); box-shadow: 0 0 16px rgba(244,180,72,.25); }
.cp-pkl svg { width: 16px; height: 16px; }
.cp-pk.open .cp-pkl { border-color: rgba(30,211,122,.45); color: var(--green); box-shadow: 0 0 16px rgba(30,211,122,.25); }

/* members-only page (chat, trades, leaderboard, market, members) for everyone else */
.cp-locked { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 40px 16px; border-radius: 22px; border: 1px solid rgba(160,130,255,.3); background: radial-gradient(500px 240px at 50% 0%, rgba(122,77,255,.22), transparent 70%), #05060c; }
.cp-lorb { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; color: var(--gold); background: rgba(244,180,72,.12); box-shadow: inset 0 0 0 1px rgba(244,180,72,.45), 0 0 30px rgba(244,180,72,.25); }
.cp-lorb svg { width: 30px; height: 30px; }
.cp-locked h1 { margin: 4px 0 0; font-size: clamp(22px, 3vw, 30px); letter-spacing: -.02em; max-width: 30ch; }
.cp-locked > p { margin: 0; color: var(--muted); max-width: 52ch; }
.cp-lgrid { width: min(420px, 100%); margin-top: 12px; text-align: left; }

/* member view */
.cp .activity { background: linear-gradient(160deg, #0f1222, #0a0b13); border-color: #1d2335; border-radius: 14px; }
.cp .activity:hover { border-color: #3a3f6a; }
.cp .act-trophy svg { width: 20px; height: 20px; color: var(--gold); }
.cp-box { border-radius: 16px; padding: 16px; background: linear-gradient(160deg, #0f1222, #0a0b13); border: 1px solid #2a3150; display: grid; gap: 12px; margin-bottom: 14px; }
.cp-box h3 { margin: 0; font-size: 15px; display: flex; align-items: center; gap: 8px; } .cp-box h3 svg { width: 17px; height: 17px; color: var(--gold); }
.cp-lb { display: grid; gap: 8px; }
.cp-lb div { display: grid; grid-template-columns: 26px minmax(0,1fr) auto; gap: 10px; align-items: center; font-size: 13.5px; }
.cp-lb .r { font-size: 16px; text-align: center; } .cp-lb b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cp .card { border-color: #1d2335; }
.set-fixed { display: grid; gap: 3px; padding: 12px 14px; border-radius: 12px; border: 1px dashed rgba(244,180,72,.4); background: rgba(244,180,72,.05); }
.set-fixed b { font-size: 13.5px; } .set-fixed span { font-size: 12px; color: var(--muted); }

@media (max-width: 1180px) { .cp-hero { grid-template-columns: 1fr; } .cp-access { max-width: 520px; } .cp-ctas > :first-child { display: none; } /* the panel right below has it */ }
@media (max-width: 1000px) { .cp .community-mini { padding: 0; border: 0; background: none; margin: 10px 0; } .cp .mini-logo { box-shadow: 0 0 0 2px var(--cp-a); } .cp .tab.active::before { display: none; } .cp .powered .lp-mark { width: 30px; height: 30px; } }
@media (max-width: 720px) {
  .cp .sidebar { background: rgba(0,0,0,.92); backdrop-filter: blur(12px); border-top-color: rgba(122,77,255,.25); }
  .cp-hero { padding: 18px; min-height: 0; border-radius: 18px; gap: 16px; }
  .cp-logo { width: 48px !important; height: 48px !important; border-radius: 14px; }
  .cp-lk svg { width: 26px; height: 26px; }
  .cp-ctas > * { flex: 1; }
  .cp-stats { grid-template-columns: repeat(2, minmax(0,1fr)); } .cp-stat:nth-child(3) { border-left: 0; } .cp-stat:nth-child(n+3) { border-top: 1px solid #1d2335; }
  .cp-peek { grid-template-columns: 1fr 1fr; gap: 10px; } .cp-pk { min-height: 0; padding: 12px; } .cp-pk h4 { font-size: 13px; } .cp-pk small { font-size: 11px; } .cp-pkl { width: 28px; height: 28px; right: 10px; bottom: 10px; }
  .cp-stat { padding: 12px; gap: 9px; } .cp-ti { width: 32px; height: 32px; } .cp-stat b { font-size: 18px; }
}

/* ---------- bros.run/me: the account page (Powered by AlphaBros) ---------- */
.me-wrap { max-width: 1240px; margin: 0 auto; padding: 22px 20px 40px; display: grid; gap: 20px; }
.me-pba { display: inline-flex; align-items: center; gap: 8px; padding: 5px 11px 5px 6px; border-radius: 999px; border: 1px solid rgba(172,140,255,.5); background: linear-gradient(90deg, rgba(122,77,255,.22), rgba(122,77,255,.05)); font-size: 12px; font-weight: 700; color: #ddd4ff; white-space: nowrap; vertical-align: middle; letter-spacing: 0; }
.me-pba .m { width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; background: linear-gradient(135deg, #8b5cff, #c09cff); }
.me-pba .m svg { width: 12px; height: 12px; }
.me-hero { position: relative; overflow: hidden; border-radius: 22px; padding: 24px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center; border: 1px solid transparent;
  background: radial-gradient(500px 240px at 100% 0%, rgba(122,77,255,.3), transparent 70%), radial-gradient(420px 220px at 0% 100%, rgba(255,79,216,.14), transparent 70%), linear-gradient(#07080f, #07080f) padding-box, linear-gradient(135deg, rgba(172,140,255,.8), rgba(40,46,72,.6) 50%, rgba(255,79,216,.5)) border-box; }
.me-hero.me-out { grid-template-columns: minmax(0, 1fr) auto; }
.me-av .av { width: 84px !important; height: 84px !important; border-radius: 50%; box-shadow: 0 0 0 3px #000, 0 0 0 5px var(--purple2), 0 0 30px rgba(122,77,255,.55); font-size: 28px !important; }
.me-hero h1 { margin: 2px 0 0; font-size: clamp(24px, 3.4vw, 36px); letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.me-meta { display: flex; gap: 6px 14px; flex-wrap: wrap; color: var(--muted); font-size: 13px; margin-top: 4px; } .me-meta b { color: #c3c9d6; font-weight: 600; }
.me-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.me-chip { display: inline-flex; align-items: center; gap: 6px; font: 700 11.5px var(--font); padding: 3px 10px; border-radius: 999px; border: 1px solid #2a3150; color: #c3c9d6; background: rgba(0,0,0,.4); }
button.me-chip { cursor: pointer; } button.me-chip:hover { border-color: rgba(172,140,255,.6); color: #fff; }
.me-chip i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.me-acts { display: grid; gap: 8px; justify-items: end; } .me-acts > div { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; } .me-acts .muted { font-size: 12px; }
.me-tabs { display: flex; gap: 4px; border-bottom: 1px solid #1d2335; overflow-x: auto; scrollbar-width: none; }
.me-tabs button { border: 0; background: none; padding: 12px 16px; font: 700 14px var(--font); color: var(--muted); border-bottom: 2px solid transparent; cursor: pointer; white-space: nowrap; display: inline-flex; gap: 8px; align-items: center; }
.me-tabs button svg { width: 16px; height: 16px; } .me-tabs button.on { color: #fff; border-bottom-color: var(--purple2); }
.me-tabs em { font-style: normal; font-size: 11px; padding: 0 7px; border-radius: 999px; background: rgba(122,77,255,.3); color: #ddd4ff; }
.me-card { border-radius: 18px; border: 1px solid #2a3150; background: linear-gradient(160deg, #0f1222, #08090f); padding: 18px; display: grid; gap: 14px; min-width: 0; align-content: start; }
.me-card h2 { margin: 0; font-size: 17px; display: flex; align-items: center; gap: 9px; } .me-card h2 svg { width: 18px; height: 18px; color: var(--purple2); }
.me-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.me-kpis { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-radius: 16px; border: 1px solid #2a3150; background: linear-gradient(180deg, #0e1020, #090a12); overflow: hidden; }
.me-kpis > div { padding: 14px 18px; border-left: 1px solid #1d2335; min-width: 0; } .me-kpis > div:first-child { border-left: 0; }
.me-kpis span { display: block; font-size: 12px; color: var(--muted); } .me-kpis b { display: block; font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.2; } .me-kpis small { color: var(--muted); font-size: 11.5px; }
.me-tbl { overflow-x: auto; border-radius: 14px; border: 1px solid #1d2335; }
.me-tbl table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 680px; }
.me-tbl th { text-align: left; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; padding: 10px 12px; background: #07080f; border-bottom: 1px solid #1d2335; }
.me-tbl td { padding: 11px 12px; border-bottom: 1px solid #1d2335; font-variant-numeric: tabular-nums; vertical-align: middle; } .me-tbl tr:last-child td { border-bottom: 0; }
.me-tbl .r { text-align: right; }
.me-tok { display: flex; align-items: center; gap: 10px; min-width: 0; } .me-tok b { display: block; } .me-tok small { color: var(--muted); font-size: 11.5px; }
.me-pl b, .me-pl small { display: block; } .me-pl small { font-size: 11.5px; }
.lp-btn.me-sm { padding: 6px 11px; font-size: 12px; border-radius: 9px; }
.me-buy { background: linear-gradient(135deg, #12b866, #1ed37a) !important; border-color: rgba(30,211,122,.5) !important; color: #04140b !important; }
.me-note { font-size: 12px; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; } .me-note svg { width: 15px; height: 15px; color: var(--purple2); flex: none; margin-top: 1px; } .me-note b { color: var(--text); }
.me-link { background: none; border: 0; padding: 0; color: var(--purple2); font: 700 12px var(--font); cursor: pointer; }
.me-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.me-col { display: grid; gap: 20px; min-width: 0; }
.me-earn { border-radius: 20px; padding: 22px; display: grid; gap: 16px; border: 1px solid transparent; background: radial-gradient(420px 200px at 100% 0%, rgba(30,211,122,.18), transparent 70%), linear-gradient(#07080f, #07080f) padding-box, linear-gradient(135deg, rgba(30,211,122,.7), rgba(122,77,255,.6) 50%, rgba(40,46,72,.6)) border-box; }
.me-big { font-size: clamp(30px, 5vw, 44px); font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
.me-chains { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.me-ch { border-radius: 14px; border: 1px solid #2a3150; background: #07080f; padding: 14px; display: grid; gap: 8px; align-content: start; }
.me-ch .t { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; } .me-ch .t i { width: 18px; height: 18px; border-radius: 50%; display: inline-block; }
.me-cr { display: flex; justify-content: space-between; align-items: center; gap: 10px; } .me-cr b { display: block; font-size: 16px; font-variant-numeric: tabular-nums; } .me-cr small { color: var(--muted); font-size: 11.5px; }
.me-list { display: grid; gap: 8px; }
.me-li { display: grid; grid-template-columns: 34px minmax(0,1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; border: 1px solid #1d2335; background: #07080f; }
.me-li .av { width: 34px !important; height: 34px !important; border-radius: 50%; }
.me-li b { display: block; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .me-li small { color: var(--muted); font-size: 11.5px; }
.me-st { font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 999px; border: 1px solid #2a3150; color: #c3c9d6; white-space: nowrap; } .me-st.ok { color: #8ff0bd; border-color: rgba(30,211,122,.4); }
.me-wi { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; font-weight: 800; color: #06070c; } .me-wi.evm { background: linear-gradient(135deg, #8f98ff, #c6f432); } .me-wi.sol { background: linear-gradient(135deg, #9945ff, #14f195); }
.me-link-box { display: flex; gap: 8px; align-items: center; padding: 6px 6px 6px 14px; border-radius: 13px; border: 1px solid rgba(172,140,255,.5); background: #05060c; }
.me-link-box code { flex: 1; min-width: 0; font: 600 14px ui-monospace, Consolas, monospace; color: #ddd4ff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-link-box svg { width: 14px; height: 14px; }
.me-how { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; } .me-how div { border-radius: 12px; border: 1px solid #1d2335; padding: 12px; font-size: 12.5px; color: #c3c9d6; display: grid; gap: 4px; } .me-how b { color: #fff; font-size: 18px; }
.me-edit { max-width: 640px; }
.me-page .wl-card { display: grid; gap: 12px; } .me-page .wl-card h3 { margin: 0; }
.me-foot { display: flex; justify-content: center; gap: 10px; align-items: center; flex-wrap: wrap; color: var(--muted); font-size: 12px; padding-top: 6px; text-align: center; }
@media (max-width: 900px) { .me-hero { grid-template-columns: auto minmax(0,1fr); } .me-acts { grid-column: 1 / -1; justify-items: start; } .me-acts > div { justify-content: flex-start; } .me-grid { grid-template-columns: 1fr; } .me-kpis { grid-template-columns: 1fr 1fr; } .me-kpis > div:nth-child(3) { border-left: 0; } .me-kpis > div:nth-child(n+3) { border-top: 1px solid #1d2335; } }
@media (max-width: 560px) { .me-wrap { padding-inline: 16px; } .me-hero { padding: 18px; gap: 14px; } .me-av .av { width: 64px !important; height: 64px !important; } .me-chains, .me-how { grid-template-columns: 1fr; } }
/* bros.run/me: referral payout setup */
.me-form { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; align-items: center; }
.me-form label { grid-column: 1 / -1; font-size: 12px; color: var(--muted); font-weight: 600; } .me-form label small { font-weight: 500; }
.me-form input { min-width: 0; background: #05060c; border: 1px solid #2a3150; border-radius: 10px; padding: 10px 12px; color: var(--text); font: 600 13px ui-monospace, Consolas, monospace; outline: none; }
.me-form input:focus { border-color: rgba(172,140,255,.7); }
.me-sub { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; margin-top: 4px; } .me-sub small { font-size: 12px; }
.me-run { margin: 0; font-size: 13px; color: #ddd4ff; }
.me-row { display: flex; gap: 8px; flex-wrap: wrap; }
.me-setup { border-color: rgba(172,140,255,.5); }
@media (max-width: 560px) { .me-form { grid-template-columns: 1fr; } }
/* the bros.run logo (image: icon + wordmark) */
.bros-brand { display: inline-flex !important; flex-direction: column; align-items: flex-start; gap: 0; text-decoration: none !important; }
.bros-logo { display: block; height: 40px; width: auto; filter: drop-shadow(0 0 12px rgba(160,100,255,.35)); }
.bros-pba { display: block; font-size: 10px; color: var(--muted); margin: -2px 0 0 45px; white-space: nowrap; }
.powered.bros-brand img.bros-logo { width: auto; height: 34px; border-radius: 0; } .sidebar .bros-pba { margin-left: 40px; }
@media (max-width: 1000px) { .powered.bros-brand img.bros-logo { height: 26px; width: 40px; object-fit: cover; object-position: left center; } .sidebar .bros-pba { display: none; } }
@media (max-width: 640px) { .lp-top .bros-logo { height: 32px; } .lp-top .bros-pba { margin-left: 43px; } }
/* top headers: the logo alone, larger (no "Powered by" line) */
.lp-top .bros-pba { display: none; }
.lp-top .bros-logo { height: 52px; }
@media (max-width: 640px) { .lp-top .bros-logo { height: 40px; } }
/* landing: a fixed backdrop (the picture + the market animation) that stays put; the page scrolls over it */
.lp { position: relative; isolation: isolate; }
.lp-backdrop { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.lp-backdrop .lp-hero-bg, .lp-backdrop .lp-fx { position: absolute; inset: 0; z-index: auto; }
.lp-backdrop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.25), rgba(0,0,0,.05) 30%, rgba(0,0,0,.35)); }
.lp-hero, .lp-lower { position: relative; z-index: 1; }
.lp-hero { background: transparent; overflow: visible; }
.lp-hero::after { background: radial-gradient(ellipse 46% 50% at 50% 42%, rgba(0,0,0,.6), transparent 75%); }
.lp-lower { background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.55) 260px, rgba(0,0,0,.72)); }
.lp-lower::before, .lp-lower::after { display: none; }
.lp-card, .lp-cta, .lp-stats { backdrop-filter: blur(6px); }
