/* Socia: black and bone. The chrome stays mono so the posts carry the colour. One sheet for every page. */
@font-face { font-family: 'Sora'; src: url(/fonts/sora.woff2) format('woff2'); font-weight: 100 800; font-display: swap; }
@font-face { font-family: 'JB Mono'; src: url(/fonts/jetbrains-mono-var.woff2) format('woff2'); font-weight: 100 800; font-display: swap; }

:root {
  --bg: #0E0E0E; --bg-2: #111111; --panel: #151515; --panel-2: #1B1B1B; --panel-3: #222222;
  --line: #242424; --line-2: #2F2F2F; --line-3: #3A3A3A;
  --text: #EFECE5; --text-2: #A9A6A0; --text-3: #74716C;
  --bone: #EFECE5; --stone: #C9C6BF; --ash: #8E8C88;
  --up: #8FCB9B; --down: #E48A7A; --warn: #E2C27A;
  --r: 14px; --r-sm: 9px; --side: 232px; --w: 975px;
  --mono: 'JB Mono', ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { color-scheme: dark; }
body { background: var(--bg); color: var(--text); font: 400 14px/1.5 'Sora', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
body.locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
img { display: block; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.up { color: var(--up); } .down { color: var(--down); } .muted { color: var(--text-2); } .faint { color: var(--text-3); }
[hidden] { display: none !important; }

/* ---------- shell ---------- */
.app { display: flex; min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; width: var(--side); flex: none; display: flex; flex-direction: column; border-right: 1px solid var(--line); padding: 24px 16px 16px; z-index: 30; }
.brand, .top-brand { display: flex; align-items: center; gap: 12px; font: 600 22px 'Sora'; letter-spacing: -.03em; }
.brand { padding: 2px 12px 28px; }
.mark { width: 32px; height: 32px; flex: none; }
.navs { display: flex; flex-direction: column; gap: 4px; }
.nav { display: flex; align-items: center; gap: 16px; height: 48px; padding: 0 12px; border-radius: 12px; color: var(--text-2); font-weight: 500; font-size: 15px; text-align: left; transition: background .15s, color .15s; }
.nav:hover { background: var(--panel); color: var(--text); }
.nav.on { color: var(--text); font-weight: 600; }
.nav .ic { width: 24px; height: 24px; flex: none; }
.ic { width: 16px; height: 16px; }
.side-foot { margin-top: auto; padding: 0 12px; }
.net { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-3); }
.net i { width: 8px; height: 8px; border-radius: 50%; background: var(--up); }

.col { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 24px; background: rgba(14,14,14,.86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-brand { display: none; font-size: 20px; }
.top-brand .mark { width: 28px; height: 28px; }
.search { position: relative; flex: 1; min-width: 0; max-width: 420px; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 12px; background: var(--panel-2); color: var(--text-3); }
.search:focus-within { box-shadow: 0 0 0 1px var(--line-3); }
.search input { flex: 1; min-width: 0; width: 0; background: none; border: 0; outline: 0; color: var(--text); }
.search input::placeholder { color: var(--text-3); }
.search-pop { position: absolute; top: 48px; left: 0; right: 0; background: var(--panel); border: 1px solid var(--line-2); border-radius: 14px; padding: 8px; box-shadow: 0 18px 50px rgba(0,0,0,.55); }
.search-pop a { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 10px; color: var(--text); }
.search-pop a:hover, .search-pop a.sel { background: var(--panel-2); }
.search-pop .empty { padding: 12px; color: var(--text-3); }
.sp-name { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.sp-name .faint { font-size: 12px; }
.preview-tag { margin-left: auto; display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; color: var(--warn); background: rgba(226,194,122,.08); border: 1px solid rgba(226,194,122,.25); cursor: help; }
.main { flex: 1; width: 100%; max-width: calc(var(--w) + 48px); margin: 0 auto; padding: 28px 24px 72px; min-width: 0; }
.tabbar { display: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 20px; border-radius: 10px; font-weight: 600; font-size: 13.5px; white-space: nowrap; transition: background .15s, opacity .15s, border-color .15s; }
.btn-primary { background: var(--bone); color: #0E0E0E; }
.btn-primary:hover { background: #fff; }
.btn-ghost { background: var(--panel-2); color: var(--text); }
.btn-ghost:hover { background: var(--panel-3); }
.btn-lg { height: 48px; font-size: 15px; width: 100%; border-radius: 12px; }
.btn-sm { height: 32px; padding: 0 12px; font-size: 12.5px; border-radius: 9px; }
.btn-icon { width: 40px; padding: 0; }
.btn-icon svg { width: 16px; height: 16px; }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.linkish { color: var(--text-2); font-size: 12.5px; text-decoration: underline; text-underline-offset: 3px; }
.linkish:hover { color: var(--text); }
.tabs { display: inline-flex; gap: 4px; }
.tab { height: 32px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--text-3); }
.tab:hover { color: var(--text); }
.tab.on { background: var(--panel-3); color: var(--text); }

/* ---------- avatars, badges ---------- */
.cpic { --s: 40px; position: relative; display: inline-block; flex: none; width: var(--s); height: var(--s); }
.cpic img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.cpic .qpic { position: absolute; right: -3%; bottom: -3%; width: 40%; height: 40%; border-radius: 50%; object-fit: cover; background: var(--panel-3); box-shadow: 0 0 0 2px var(--bg); }
.cpic.big .qpic { width: 34%; height: 34%; right: 2%; bottom: 2%; box-shadow: 0 0 0 4px var(--bg); }
.qchip { display: inline-flex; align-items: center; gap: 4px; vertical-align: -3px; height: 20px; padding: 0 8px 0 4px; border-radius: 999px; background: var(--panel-2); color: var(--text-2); font-weight: 600; font-size: 12px; }
.qchip img { width: 16px; height: 16px; border-radius: 50%; }
.cpic.fresh > img:first-child { box-shadow: 0 0 0 2.5px var(--bg), 0 0 0 4.5px var(--bone); }
.cpic.big.fresh > img:first-child { box-shadow: 0 0 0 5px var(--bg), 0 0 0 8px var(--bone); }
.av-sm { width: 32px; height: 32px; border-radius: 50%; flex: none; }
.av-xs { width: 24px; height: 24px; border-radius: 50%; display: inline-block; vertical-align: -5px; margin: 0 2px; }
.round { border-radius: 50%; }
.badges { display: inline-flex; gap: 4px; flex-wrap: wrap; }
.hb { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 999px; font: 600 11px 'Sora'; background: var(--panel-3); color: var(--stone); white-space: nowrap; }
.hb-sold { color: var(--down); background: rgba(228,138,122,.1); }
.hb-creator { color: var(--bg); background: var(--bone); }

/* ---------- home ---------- */
.hero { padding: 28px 0 36px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.hero h1 { font: 600 44px/1.08 'Sora'; letter-spacing: -.02em; max-width: 640px; }
.hero p { margin-top: 16px; max-width: 560px; font-size: 16px; color: var(--text-2); }
.hero-cta { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.sec { margin-bottom: 40px; }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.sec-h h2 { font: 600 19px 'Sora'; }
.sec-h .faint { font-size: 13px; }
.stories { display: flex; gap: 20px; overflow-x: auto; padding: 8px 4px 8px; scrollbar-width: none; }
.stories::-webkit-scrollbar { display: none; }
.story { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: none; font-size: 12px; font-weight: 600; color: var(--text-2); }
.story:hover { color: var(--text); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ccard { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); transition: border-color .15s, transform .15s var(--ease); }
.ccard:hover { border-color: var(--line-3); transform: translateY(-2px); }
.cc-h { display: flex; align-items: center; gap: 12px; }
.cc-t { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.cc-t b { font-size: 15px; }
.cc-t .faint { font-size: 12.5px; }
.cc-m { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; line-height: 1.3; font-size: 12.5px; }
.cc-m b { font-size: 13.5px; }
.cc-g { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; border-radius: 10px; overflow: hidden; }
.cc-g img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--panel-2); }
.cc-f { display: flex; justify-content: space-between; font-size: 12.5px; }
.cc-empty { display: grid; place-items: center; aspect-ratio: 3 / 1; border-radius: 10px; border: 1px dashed var(--line-2); font-size: 12.5px; }
.grid-empty { grid-column: 1 / -1; padding: 32px 0; }
.links { display: flex; gap: 8px; margin-top: 12px; }
.links a { height: 28px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--panel-2); font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.links a:hover { background: var(--panel-3); color: var(--text); }
.list-note { font-size: 12.5px; margin: 8px 0 12px; }
.rail-tabs { margin: -2px 0 12px -4px; }
.rail-tabs .tab { height: 28px; font-size: 12.5px; }
.rail-n { width: 16px; font-size: 11.5px; text-align: right; flex: none; }

/* "24h" after a change figure, so it says what it compares to */
.ref { margin-left: 4px; color: var(--text-3); font-size: .92em; }

/* ---------- feed ---------- */
.feed-wrap { display: grid; grid-template-columns: minmax(0, 470px) 300px; gap: 56px; justify-content: center; }
.feed-col { min-width: 0; }
.intro { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; padding: 12px 12px 12px 16px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); font-size: 13.5px; }
.intro > div { flex: 1; min-width: 0; }
.feed-col .stories { margin-bottom: 8px; }
.ftabs { display: flex; border-bottom: 1px solid var(--line); margin: 8px 0 8px; }
.ftab { flex: 1; height: 48px; font-weight: 600; font-size: 14px; color: var(--text-3); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.ftab:hover { color: var(--text-2); }
.ftab.on { color: var(--text); border-bottom-color: var(--bone); }
.fc { padding: 16px 0 20px; border-bottom: 1px solid var(--line); }
.fc-ctx { display: flex; align-items: center; gap: 8px; margin: 0 0 12px 4px; font-size: 12.5px; color: var(--text-3); }
.fc-ctx svg { width: 16px; height: 16px; }
.fc-ctx b { color: var(--text-2); font-weight: 600; }
.fc-h { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.fc-coin { display: flex; }
.fc-t { display: flex; flex-direction: column; gap: 4px; min-width: 0; font-size: 14px; line-height: 1.3; }
.fc-t .faint { font-size: 13px; }
.fc-by { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12px; color: var(--text-2); }
.fc-by img { width: 16px; height: 16px; border-radius: 50%; }
.fc-img { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--panel-2); border: 1px solid var(--line); cursor: pointer; user-select: none; }
.fc-img > img { width: 100%; height: 100%; object-fit: cover; }
.burst { position: absolute; left: 50%; top: 50%; width: 96px; height: 96px; margin: -48px 0 0 -48px; color: #fff; opacity: 0; transform: scale(.4); pointer-events: none; filter: drop-shadow(0 4px 18px rgba(0,0,0,.45)); }
.burst svg { width: 100%; height: 100%; }
.burst.pop { animation: burst .75s var(--ease); }
@keyframes burst { 0% { opacity: 0; transform: scale(.4); } 15% { opacity: 1; transform: scale(1.12); } 30% { transform: scale(.95); } 45%, 75% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.05); } }
.fc-act { display: flex; align-items: center; gap: 4px; margin: 8px 0 4px -6px; }
.act-b { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; color: var(--text); transition: color .15s, transform .12s; }
.act-b:hover { color: var(--stone); }
.act-b:active { transform: scale(.88); }
.act-b svg { width: 24px; height: 24px; }
.act-b.like.on { color: #F0566E; }
.act-b.repost.on { color: var(--up); }
.fc-view { margin-left: auto; font-size: 12.5px; color: var(--text-3); }
.fc-view:hover { color: var(--text); }
.fc-counts { font-size: 13.5px; color: var(--text-2); }
.fc-counts b, .pv-counts b { color: var(--text); font-weight: 600; }
.dot { margin: 0 8px; color: var(--text-3); }
.fc-cap { margin-top: 8px; font-size: 14px; overflow-wrap: anywhere; }
.fc-cap b { margin-right: 4px; }
.feed-more { padding: 28px 0; text-align: center; font-size: 13px; }
.rail { position: sticky; top: 92px; align-self: start; }
.rail-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; font-size: 14px; }
.rail-h a { font-size: 12.5px; }
.rail-h a:hover { color: var(--text); }
.rail-c { display: flex; align-items: center; gap: 12px; padding: 8px; margin: 0 -8px; border-radius: 12px; }
.rail-c:hover { background: var(--panel); }
.rail-t { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.3; font-size: 13.5px; }
.rail-t .faint { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rail-m { display: flex; flex-direction: column; align-items: flex-end; font-size: 12px; line-height: 1.35; }
.rail-m b { font-size: 12.5px; font-weight: 500; }
.rail-f { margin-top: 20px; font-size: 11.5px; }

/* ---------- stories ---------- */
.story-add { color: var(--text-2); }
.add-ring { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; border: 1.5px dashed var(--ash); color: var(--text); background: var(--panel); transition: background .15s, border-color .15s; }
.story-add:hover .add-ring { background: var(--panel-2); border-color: var(--stone); }
.add-ring svg { width: 24px; height: 24px; }
.cpic.tappable { cursor: pointer; }
.burned b { color: #F2A65A !important; }
.modal-bg.story-bg { background: rgba(6,6,6,.94); padding: 0; align-items: center; }
.modal.modal-story { max-width: none; max-height: none; width: auto; padding: 0; background: none; border: 0; box-shadow: none; overflow: visible; }
.sv { position: relative; width: min(420px, 100vw, calc((100vh - 24px) * 9 / 16)); aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background: #000; user-select: none; }
.sv-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sv::before, .sv::after { content: ''; position: absolute; left: 0; right: 0; z-index: 1; pointer-events: none; }
.sv::before { top: 0; height: 132px; background: linear-gradient(rgba(0,0,0,.6), transparent); }
.sv::after { bottom: 0; height: 172px; background: linear-gradient(transparent, rgba(0,0,0,.72)); }
.sv-bars { position: absolute; z-index: 3; top: 12px; left: 12px; right: 12px; display: flex; gap: 4px; }
.sv-bar { flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,.32); overflow: hidden; }
.sv-bar i { display: block; height: 100%; width: 0; background: #fff; }
.sv-bar.done i { width: 100%; }
.sv-bar i.run { animation: svfill linear forwards; }
@keyframes svfill { to { width: 100%; } }
.sv-h { position: absolute; z-index: 3; top: 24px; left: 12px; right: 8px; display: flex; align-items: center; justify-content: space-between; }
.sv-coin { display: flex; align-items: center; gap: 8px; color: #fff; font-size: 13.5px; }
.sv-coin img { width: 32px; height: 32px; border-radius: 50%; }
.sv-coin span { color: rgba(255,255,255,.7); font-size: 12.5px; }
.sv-h .x { color: #fff; }
.sv-h .x:hover { background: rgba(255,255,255,.12); color: #fff; }
.sv-by { position: absolute; z-index: 3; top: 64px; left: 12px; display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.85); font-size: 12px; }
.sv-by img { width: 16px; height: 16px; border-radius: 50%; }
.sv-tap { position: absolute; z-index: 2; top: 92px; bottom: 92px; width: 40%; }
.sv-tap.prev { left: 0; } .sv-tap.next { right: 0; width: 60%; }
.sv-cap { position: absolute; z-index: 3; left: 16px; right: 16px; bottom: 64px; color: #fff; font-size: 16px; font-weight: 600; text-align: center; text-shadow: 0 2px 12px rgba(0,0,0,.6); overflow-wrap: anywhere; }
.sv-burn { position: absolute; z-index: 3; left: 50%; bottom: 20px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 999px; background: rgba(14,14,14,.72); backdrop-filter: blur(8px); color: rgba(255,255,255,.85); font-size: 12.5px; white-space: nowrap; }
.sv-burn svg { width: 16px; height: 16px; color: #F2A65A; }
.sv-burn b { color: #fff; }
.drop-story { aspect-ratio: auto; height: 300px; }
.drop-story .drop-in img { object-fit: contain; background: #000; }
#stcap { width: 100%; margin-top: 12px; height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); outline: 0; }
#stcap:focus { border-color: var(--line-3); }
.fee { margin-top: 12px; padding: 12px 16px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.fee-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.fee-row.sub { color: var(--text-2); font-size: 12.5px; }
.fee-row.sub span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.fee-row svg { width: 16px; height: 16px; color: #F2A65A; }
.pick { display: flex; flex-direction: column; gap: 8px; }
.pick-c { display: flex; align-items: center; gap: 12px; padding: 12px 12px; border-radius: 12px; background: var(--panel-2); text-align: left; }
.pick-c:hover { background: var(--panel-3); }
.pick-c img { width: 40px; height: 40px; border-radius: 50%; }
.pick-c > span { display: flex; flex-direction: column; line-height: 1.35; }
.pick-c .faint { font-size: 12.5px; }

/* ---------- launch ---------- */
.top-launch .ic { width: 16px; height: 16px; }
.launch { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; max-width: 920px; }
.lf { display: flex; flex-direction: column; gap: 16px; }
.lf-img { aspect-ratio: auto; height: 220px; width: 220px; }
.lf-row { display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: 12px; }
.fld { display: flex; flex-direction: column; gap: 8px; }
.fld > span { font-size: 13px; font-weight: 600; color: var(--text-2); }
.fld > span i { font-style: normal; font-weight: 400; }
.fld input, .fld textarea, .tick-in { width: 100%; height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); outline: 0; }
.fld textarea { height: auto; padding: 12px 12px; resize: vertical; min-height: 84px; }
.fld input:focus, .fld textarea:focus, .tick-in:focus-within { border-color: var(--line-3); }
.tick-in { display: flex; align-items: center; gap: 4px; }
.tick-in b { color: var(--text-3); }
.tick-in input { border: 0; padding: 0; height: 100%; background: none; text-transform: uppercase; }
.hint { font-size: 12.5px; }
.pair-btn { display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); text-align: left; }
.pair-btn:hover { border-color: var(--line-3); }
.pair-btn .faint { font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chev { width: 16px; height: 16px; margin-left: auto; color: var(--text-3); flex: none; }
.pic { width: 28px; height: 28px; border-radius: 50%; flex: none; object-fit: cover; display: inline-grid; place-items: center; background: var(--panel-3); }
.pic-ph { font: 600 11px 'Sora'; color: var(--stone); text-transform: uppercase; }
.dev { display: flex; gap: 12px; align-items: center; }
.dev input { max-width: 140px; }
.chips { display: flex; gap: 8px; }
.chips button { height: 32px; padding: 0 12px; border-radius: 999px; background: var(--panel-2); font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.chips button:hover { color: var(--text); }
.chips button.on { background: var(--bone); color: #111; }
.lf-links { border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; }
.lf-links summary { cursor: pointer; height: 44px; display: flex; align-items: center; font-size: 13px; font-weight: 600; color: var(--text-2); list-style: none; }
.lf-links summary::-webkit-details-marker { display: none; }
.lf-links summary i { font-style: normal; font-weight: 400; margin-left: 8px; }
.lf-links[open] { padding-bottom: 12px; }
.lf-links .fld + .fld { margin-top: 12px; }
.check { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--text-2); cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: #EFECE5; }
.lf-err { padding: 12px 12px; border-radius: 10px; background: rgba(228,138,122,.1); color: var(--down); font-size: 13px; }
.lp { position: sticky; top: 92px; }
.lp-h { font-size: 12px; margin-bottom: 12px; }
.lp-card { padding: 16px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.lp-top { display: flex; gap: 12px; align-items: center; }
.lp-ph { display: block; width: 100%; height: 100%; border-radius: 50%; background: var(--panel-3); }
.lp-name { font-size: 16px; }
.lp-line { font-size: 12px; margin-top: 4px; }
.lp-bio { margin-top: 12px; font-size: 13.5px; overflow-wrap: anywhere; }
.lp-stats { display: flex; gap: 16px; margin-top: 12px; font-size: 12.5px; color: var(--text-2); }
.lp-stats b { color: var(--text); }
.lp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 16px; border-radius: 8px; overflow: hidden; }
.lp-grid > * { aspect-ratio: 1; background: var(--panel-2); width: 100%; object-fit: cover; }
.lp-facts { list-style: none; margin-top: 16px; display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; color: var(--text-2); }
.lp-facts li { padding-left: 16px; position: relative; }
.lp-facts li::before { content: ''; position: absolute; left: 2px; top: 8px; width: 4px; height: 4px; border-radius: 50%; background: var(--ash); }
.lp-facts b { color: var(--text); font-weight: 600; }
.modal-pairs { max-width: 520px; }
.pp-search { max-width: none; margin-bottom: 12px; display: flex; }
.pp-h { font-size: 11.5px; font-weight: 600; color: var(--text-3); margin: 8px 0 8px; }
.pp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
.pp-list { display: flex; flex-direction: column; gap: 2px; max-height: 300px; overflow: auto; }
.pp-row { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 10px; text-align: left; min-width: 0; }
.pp-grid .pp-row { background: var(--panel-2); }
.pp-row:hover { background: var(--panel-3); }
.pp-row.on { box-shadow: inset 0 0 0 1.5px var(--bone); }
.pp-row b { font-size: 13.5px; flex: none; }
.pp-row .faint { font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.launched { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; padding: 12px 12px 12px 16px; border-radius: 14px; background: rgba(143,203,155,.08); border: 1px solid rgba(143,203,155,.25); font-size: 13.5px; }
.launched > div { flex: 1; min-width: 0; }

/* ---------- loading ---------- */
.checking { padding: 24px 0; text-align: center; font-size: 13.5px; }
.checking::after { content: ''; display: inline-block; width: 12px; text-align: left; animation: dots 1.2s steps(4) infinite; }
@keyframes dots { 0% { content: ''; } 25% { content: '.'; } 50% { content: '..'; } 75% { content: '...'; } }

/* ---------- wallet menu ---------- */
.wm { position: relative; margin-left: auto; }
#connect.wm-on { gap: 8px; padding: 0 12px 0 8px; }
.wm-ic { width: 24px; height: 24px; border-radius: 6px; flex: none; }
#connect .wl-ph.wm-ic { font-size: 11px; }
.wm-chev { width: 16px; height: 16px; color: var(--text-3); transition: transform .16s var(--ease); }
#connect[aria-expanded="true"] .wm-chev { transform: rotate(180deg); }
.wm-drop { position: absolute; right: 0; top: calc(100% + 8px); z-index: 50; width: 248px; padding: 4px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line-2); box-shadow: 0 16px 40px rgba(0,0,0,.5); animation: drop .18s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-4px); } }
.wm-h { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.wm-h > div { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.wm-h .faint { font-size: 12px; }
.wm-hic { width: 32px; height: 32px; border-radius: 8px; flex: none; }
.wm-i { display: flex; align-items: center; width: 100%; height: 36px; padding: 0 12px; border-radius: 8px; font-size: 13.5px; color: var(--text-2); text-align: left; transition: background .15s, color .15s; }
.wm-i:hover, .wm-i:focus-visible { background: var(--panel-2); color: var(--text); outline: 0; }
.wm-off { color: var(--down); }
.wm-off:hover { color: var(--down); }

/* ---------- wallet picker ---------- */
.modal-wallets { max-width: 400px; }
.wl { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.wl-row { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 16px; border-radius: 12px; background: var(--panel-2); text-align: left; transition: background .15s; }
.wl-row:hover { background: var(--panel-3); }
.wl-row:disabled { opacity: .6; cursor: progress; }
.wl-row img, .wl-row .wl-ph, .wm-hic.wl-ph { width: 32px; height: 32px; border-radius: 8px; flex: none; }
.wl-ph { display: grid; place-items: center; background: var(--panel-3); font: 600 13px 'Sora'; color: var(--stone); }
.wl-row b { font-size: 14.5px; }
.wl-row .faint { margin-left: auto; font-size: 12px; }
.wl-none { margin: 2px 0 16px; }
.wl-ic { width: 24px; height: 24px; border-radius: 6px; vertical-align: -6px; margin-right: 8px; display: inline-block; }

/* ---------- post grid ---------- */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.tile { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--panel-2); }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.t-ico { position: absolute; top: 8px; right: 8px; width: 20px; height: 20px; color: #fff; filter: drop-shadow(0 1px 3px rgba(0,0,0,.6)); }
.t-chip { position: absolute; left: 8px; bottom: 8px; height: 24px; padding: 0 8px; display: inline-flex; align-items: center; border-radius: 999px; font: 600 11px 'Sora'; color: #fff; background: rgba(14,14,14,.66); backdrop-filter: blur(6px); }
.t-local { left: auto; right: 8px; color: var(--warn); }
.t-ov { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px; background: rgba(0,0,0,.42); color: #fff; font-weight: 600; font-size: 15px; opacity: 0; transition: opacity .15s; }
.t-ov svg { width: 20px; height: 20px; }
.tile:hover .t-ov, .tile:focus-visible .t-ov { opacity: 1; }

/* ---------- profile ---------- */
.prof { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 32px; padding: 12px 0 36px; }
.prof-av { display: flex; justify-content: center; padding-top: 8px; }
.prof-av.sk { width: 152px; height: 152px; border-radius: 50%; justify-self: center; }
.prof-main { min-width: 0; }
.prof-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.prof-top h1 { font: 600 26px 'Sora'; }
.tick { font-size: 15px; font-weight: 600; color: var(--text-3); }
.ca { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--panel-2); color: var(--text-2); font-size: 12px; }
.ca:hover { color: var(--text); background: var(--panel-3); }
.ca svg { width: 12px; height: 12px; }
.prof-stats { display: flex; gap: 28px; flex-wrap: wrap; margin: 16px 0 16px; font-size: 14.5px; color: var(--text-2); }
.prof-stats b { color: var(--text); font-weight: 600; font-size: 15px; margin-right: 4px; }
.prof-stats i { font-style: normal; font-size: 12.5px; margin-left: 4px; }
.bio { max-width: 560px; font-size: 14.5px; }
.created { margin-top: 8px; font-size: 12.5px; }
.created a { color: var(--text-2); }
.created a:hover { color: var(--text); }
.prof-btns { display: flex; gap: 8px; margin-top: 20px; }
.prof-btns .btn-primary, .prof-btns #post { min-width: 112px; }
.ptabs { display: flex; justify-content: center; gap: 56px; border-top: 1px solid var(--line); margin-bottom: 4px; }
.ptab { display: flex; align-items: center; gap: 8px; height: 52px; margin-top: -1px; border-top: 1px solid transparent; font-size: 12px; font-weight: 600; color: var(--text-3); }
.ptab svg { width: 16px; height: 16px; }
.ptab:hover { color: var(--text-2); }
.ptab.on { color: var(--text); border-top-color: var(--bone); }

/* ---------- lists ---------- */
.list { display: flex; flex-direction: column; }
.lrow { display: flex; align-items: center; gap: 12px; padding: 12px 12px; border-bottom: 1px solid var(--line); }
a.lrow:hover { background: var(--panel); }
.rank { width: 24px; text-align: right; font-size: 12px; }
.who { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; line-height: 1.35; }
.who > b { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.who .faint { font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.share { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.bar { width: 120px; height: 8px; border-radius: 999px; background: var(--panel-3); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--stone); border-radius: inherit; }
.act-ic { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; background: var(--panel-2); flex: none; }
.act-ic.buy { color: var(--up); } .act-ic.sell { color: var(--down); } .act-ic.post { color: var(--bone); font-size: 13px; }
.act-thumb { width: 44px; height: 44px; border-radius: 8px; overflow: hidden; flex: none; }
.act-thumb img { width: 100%; height: 100%; object-fit: cover; }
.when { font-size: 12px; width: 36px; text-align: right; flex: none; }
.hold { gap: 12px; }
.hold-c { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }

/* ---------- modals ---------- */
.modal-bg { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(0,0,0,.74); animation: fade .15s ease; }
.modal { width: 100%; max-width: 440px; max-height: calc(100vh - 40px); overflow: auto; background: var(--panel); border: 1px solid var(--line-2); border-radius: 18px; padding: 20px; box-shadow: 0 30px 80px rgba(0,0,0,.6); animation: pop .18s var(--ease); }
.modal-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.modal-h h3 { font: 600 17px 'Sora'; }
.x { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; color: var(--text-3); flex: none; }
.x:hover { background: var(--panel-3); color: var(--text); }
.x svg { width: 16px; height: 16px; }
.addr { word-break: break-all; color: var(--text-2); margin-bottom: 16px; font-size: 13px; }
.row-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.985); } }

.modal-post { max-width: 1020px; padding: 0; overflow: hidden; }
.pv { display: grid; grid-template-columns: minmax(0, 1fr) 340px; }
.pv-img { position: relative; background: #000; aspect-ratio: 1; display: grid; place-items: center; }
.pv-img img { width: 100%; height: 100%; object-fit: contain; }
.pv-nav { position: absolute; top: 50%; width: 36px; height: 36px; margin-top: -18px; border-radius: 50%; background: rgba(239,236,229,.85); color: #111; font-size: 22px; line-height: 1; display: grid; place-items: center; padding-bottom: 3px; }
.pv-nav:hover { background: #fff; }
.pv-nav.prev { left: 12px; } .pv-nav.next { right: 12px; }
.pv-side { display: flex; flex-direction: column; border-left: 1px solid var(--line); min-width: 0; }
.pv-h { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; border-bottom: 1px solid var(--line); }
.pv-who { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; font-size: 13.5px; }
.pv-coin { display: flex; align-items: center; gap: 12px; margin: 12px 16px 0; padding: 8px 12px; border-radius: 12px; background: var(--panel-2); font-size: 13px; }
.pv-coin:hover { background: var(--panel-3); }
.pv-cap { padding: 16px 16px 4px; font-size: 14.5px; white-space: pre-wrap; overflow-wrap: anywhere; }
.pv-time { padding: 0 16px; font-size: 12.5px; }
.pv-foot { margin-top: auto; padding: 8px 16px 16px; border-top: 1px solid var(--line); }
.pv-acts { display: flex; align-items: center; gap: 2px; margin: 0 0 2px -8px; }
.pv-counts { font-size: 13.5px; color: var(--text-2); }

.modal-compose { max-width: 480px; }
.drop { display: block; aspect-ratio: 4 / 3; border: 1.5px dashed var(--line-3); border-radius: 14px; overflow: hidden; cursor: pointer; transition: border-color .15s, background .15s; }
.drop:hover, .drop.over { border-color: var(--ash); background: var(--panel-2); }
.drop.has { border-style: solid; border-color: var(--line-2); }
.drop-in { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 16px; color: var(--text-2); }
.drop-in svg { width: 40px; height: 40px; color: var(--text-3); }
.drop-in .faint { font-size: 12px; }
.drop.has .drop-in { padding: 0; }
.drop-in img { width: 100%; height: 100%; object-fit: cover; }
#cap { width: 100%; margin-top: 12px; padding: 12px 12px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); resize: vertical; outline: 0; min-height: 72px; }
#cap:focus { border-color: var(--line-3); }
.cmp-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 12px 2px 16px; font-size: 12.5px; }
.hold-ok { display: inline-flex; align-items: center; gap: 8px; color: var(--up); font-weight: 600; }
.hold-ok svg { width: 16px; height: 16px; }
.fine { margin-top: 12px; font-size: 11.5px; text-align: center; }
.gate { display: flex; flex-direction: column; gap: 12px; text-align: center; padding: 8px 4px 2px; }
.gate .btn { margin-top: 8px; }
.gate .linkish { align-self: center; margin-top: 4px; }

/* ---------- pages ---------- */
.page-head { margin-bottom: 24px; }
.page-head h1 { font: 600 28px 'Sora'; }
.page-head p { color: var(--text-2); margin-top: 8px; }
.note { margin-bottom: 16px; padding: 12px 16px; border-radius: 12px; font-size: 13px; color: var(--warn); background: rgba(226,194,122,.06); border: 1px solid rgba(226,194,122,.2); }
.empty-tab { padding: 60px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.empty-tab h3 { font: 600 20px 'Sora'; }
.empty-page { grid-column: 1 / -1; padding: 92px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.empty-page h1 { font: 600 30px 'Sora'; }
.empty-page p { color: var(--text-2); max-width: 420px; }
.doc { max-width: 680px; }
.doc-sec { padding: 24px 0; border-top: 1px solid var(--line); }
.doc-sec h2 { font: 600 18px 'Sora'; margin-bottom: 12px; }
.doc-sec p { color: var(--text-2); font-size: 14.5px; }
.doc-sec p + p { margin-top: 12px; }
.doc-sec b { color: var(--text); font-weight: 600; }
.steps { list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 12px; margin-bottom: 12px; }
.steps li { counter-increment: s; position: relative; padding-left: 40px; color: var(--text-2); font-size: 14.5px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--panel-3); color: var(--text); font: 600 12.5px 'Sora'; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 600; display: flex; justify-content: space-between; }
.faq summary::after { content: '+'; color: var(--text-3); font-weight: 400; font-size: 18px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { padding-bottom: 16px; }
.sk { background: linear-gradient(90deg, var(--panel) 0%, var(--panel-2) 50%, var(--panel) 100%); background-size: 200% 100%; animation: sh 1.4s infinite linear; }
.sk-line { height: 16px; border-radius: 8px; margin-bottom: 16px; }
@keyframes sh { to { background-position: -200% 0; } }

.toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 80; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { max-width: min(520px, calc(100vw - 32px)); padding: 12px 16px; border-radius: 12px; background: var(--bone); color: #111; font-weight: 500; font-size: 13.5px; box-shadow: 0 14px 40px rgba(0,0,0,.5); animation: pop .2s var(--ease); }

/* ---------- smaller screens ---------- */
@media (max-width: 1240px) {
  .feed-wrap { grid-template-columns: minmax(0, 470px); }
  .rail { display: none; }
}
@media (max-width: 1100px) {
  :root { --side: 76px; }
  .brand span, .nav span, .net { display: none; }
  .brand { padding: 2px 8px 28px; }
  .nav { justify-content: center; padding: 0; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .side { display: none; }
  .top { padding: 0 16px; height: 60px; }
  .top-brand { display: flex; }
  .search { display: none; position: absolute; top: 64px; left: 12px; right: 12px; max-width: none; height: 44px; box-shadow: 0 12px 40px rgba(0,0,0,.6); border: 1px solid var(--line-2); }
  body.searching .search { display: flex; }
  .main { padding: 20px 16px 96px; }
  .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; justify-content: space-around; height: 60px; padding-bottom: env(safe-area-inset-bottom); background: rgba(14,14,14,.94); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .tab-i { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 10px; font-weight: 600; color: var(--text-3); white-space: nowrap; }
  .tab-i .ic { width: 24px; height: 24px; }
  .tab-i.on { color: var(--text); }
  .tab-launch .ic { width: 32px; height: 32px; padding: 4px; border-radius: 9px; background: var(--bone); color: #111; }
  .tab-launch span { display: none; }
  .top-launch { display: none; }
  .launch { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .lp { position: static; }
  .lf-row { grid-template-columns: minmax(0, 1fr) 130px; }
  .launched { flex-wrap: wrap; }
  .toasts { bottom: 76px; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 15px; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .grid { gap: 2px; }
  .intro { flex-wrap: wrap; }
  .fc-img { border-radius: 8px; }
  .prof { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 4px 0 24px; }
  .prof-av { justify-content: flex-start; padding: 0; }
  .prof .cpic.big { --s: 88px !important; }
  .prof .cpic.big.fresh > img:first-child { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5.5px var(--bone); }
  .prof-av.sk { width: 88px; height: 88px; justify-self: start; }
  .prof-top h1 { font-size: 22px; }
  .prof-stats { gap: 20px; font-size: 13px; }
  .prof-btns .btn-primary, .prof-btns #post { flex: 1; min-width: 0; }
  .ptabs { gap: 0; justify-content: space-around; }
  .ptab span { display: none; }
  .ptab svg { width: 20px; height: 20px; }
  .bar { width: 60px; }
  .pv { grid-template-columns: minmax(0, 1fr); }
  .pv-side { border-left: 0; }
  .modal-bg { padding: 12px; align-items: flex-end; }
  .modal { max-height: calc(100vh - 20px); }
}
