/* Lore: ink and bone, editorial. A top bar instead of a sidebar, hairline sections, coins as rounded squares (people
   stay round), big headlines with mono kickers. The chrome stays mono so the posts carry the colour. */
@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: #141414; --panel-2: #1A1A1A; --panel-3: #222222;
  --line: #232323; --line-2: #2E2E2E; --line-3: #3A3A3A;
  --text: #EFECE5; --text-2: #A9A6A0; --text-3: #74716C;
  --bone: #EFECE5; --stone: #C9C6BF; --ash: #8E8C88;
  --up: #8FCB9B; --down: #E48A7A; --warn: #E2C27A; --fire: #F2A65A; --heart: #F0566E;
  --w: 1240px; --sq: 30%;
  --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; scroll-padding-top: 88px; }
body { background: var(--bg); color: var(--text); font: 400 14px/1.5 'Sora', system-ui, sans-serif; -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
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; }
kbd { font: 500 11px var(--mono); color: var(--text-3); border: 1px solid var(--line-2); border-radius: 6px; padding: 1px 6px; }
.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; }
.ic { width: 16px; height: 16px; flex: none; }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--bone); }
.mark { height: 30px; width: auto; flex: none; }
.word { font: 600 25px/1 'Sora'; letter-spacing: -.045em; white-space: nowrap; padding-bottom: 2px; }
/* Sora's l has a flag that reads as a 1: the l is a plain bar, measured from Sora's own stem */
.lbar { display: inline-block; position: relative; width: calc(.305em - .045em); height: .729em; }
.lbar::before { content: ""; position: absolute; left: .086em; bottom: 0; width: .139em; height: .729em; background: currentColor; }

/* ---------- top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 30; background: rgba(14,14,14,.82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.topbar-in { max-width: var(--w); margin: 0 auto; height: 68px; padding: 0 32px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.topbar-in .logo { justify-self: start; }
.menu { display: flex; gap: 4px; padding: 4px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-2); }
.menu a { height: 34px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; font-weight: 500; font-size: 13.5px; color: var(--text-2); transition: color .15s, background .15s; }
.menu a:hover { color: var(--text); }
.menu a.on { background: var(--bone); color: #111; font-weight: 600; }
.topbar-r { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.find { display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 10px 0 14px; border-radius: 10px; border: 1px solid var(--line-2); color: var(--text-3); font-size: 13px; transition: border-color .15s, color .15s; }
.find:hover { border-color: var(--line-3); color: var(--text-2); }
.find span { margin-right: 18px; }
.main { flex: 1; width: 100%; max-width: var(--w); margin: 0 auto; padding: 40px 32px 96px; min-width: 0; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); }
.foot-in { max-width: var(--w); margin: 0 auto; padding: 48px 32px 32px; display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.foot-brand p { margin-top: 14px; color: var(--text-3); font-size: 13.5px; }
.foot-cols { display: flex; gap: 72px; }
.foot-cols div { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; }
.foot-cols b { font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 4px; }
.foot-cols a { color: var(--text-2); }
.foot-cols a:hover { color: var(--text); }
.foot-base { max-width: var(--w); margin: 0 auto; padding: 16px 32px 28px; display: flex; justify-content: space-between; font-size: 12px; color: var(--text-3); border-top: 1px solid var(--line); }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--up); margin-right: 8px; vertical-align: 1px; }

/* ---------- search palette ---------- */
.palette { position: fixed; inset: 0; z-index: 70; background: rgba(0,0,0,.66); backdrop-filter: blur(3px); display: flex; justify-content: center; align-items: flex-start; padding: 14vh 16px 16px; animation: fade .12s ease; }
.pal { width: min(620px, 100%); border-radius: 18px; background: var(--panel); border: 1px solid var(--line-2); box-shadow: 0 30px 90px rgba(0,0,0,.6); overflow: hidden; animation: pop .16s var(--ease); }
.pal-in { display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 18px; border-bottom: 1px solid var(--line); color: var(--text-3); }
.pal-in .ic { width: 20px; height: 20px; }
.pal-in input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font-size: 17px; color: var(--text); }
.pal-in input::placeholder { color: var(--text-3); }
.pal-res { padding: 8px; max-height: 56vh; overflow: auto; }
.pal-res .pal-h { padding: 8px 12px 6px; font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.pal-res a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--text); }
.pal-res a:hover, .pal-res a.sel { background: var(--panel-2); }
.pal-res .empty { padding: 16px 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; }

/* ---------- buttons, tabs ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 10px; font-weight: 600; font-size: 13.5px; white-space: nowrap; transition: background .15s, opacity .15s, border-color .15s, 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-line { border: 1px solid var(--line-3); color: var(--text); }
.btn-line:hover { border-color: var(--ash); background: var(--panel); }
.btn-lg { height: 48px; padding: 0 24px; font-size: 14.5px; 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; }
.btn .ic { width: 16px; height: 16px; }
.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: 2px; }
.tab { height: 30px; padding: 0 12px; border-radius: 8px; font-size: 12.5px; font-weight: 600; color: var(--text-3); }
.tab:hover { color: var(--text); }
.tab.on { background: var(--panel-3); color: var(--text); }
.seg-t { display: inline-flex; padding: 3px; border-radius: 11px; background: var(--panel-2); }
.seg-t button { height: 30px; padding: 0 14px; border-radius: 8px; font-size: 12.5px; font-weight: 600; color: var(--text-3); }
.seg-t button:hover { color: var(--text); }
.seg-t button.on { background: var(--bone); color: #111; }

/* ---------- type ---------- */
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 500 11.5px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ash); }
.kicker i { width: 22px; height: 2px; background: var(--line-3); display: block; }
.lede { margin-top: 18px; max-width: 560px; font-size: 16.5px; line-height: 1.55; color: var(--text-2); }
.head { padding: 4px 0 36px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.head h1 { margin-top: 14px; font: 600 48px/1.04 'Sora'; letter-spacing: -.035em; }
.sec { margin: 0 0 56px; }
.sec-h { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.sec-h h2 { font: 600 22px 'Sora'; letter-spacing: -.02em; }
.sec-h p { font-size: 13px; color: var(--text-3); }

/* ---------- coin pictures (rounded squares), people (circles), 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: var(--sq); object-fit: cover; background: var(--panel-2); }
.cpic .qpic { position: absolute; right: -6%; bottom: -6%; width: 42%; height: 42%; border-radius: 50%; object-fit: cover; background: var(--panel-3); box-shadow: 0 0 0 2px var(--bg); }
.cpic.big .qpic { width: 30%; height: 30%; right: -2%; bottom: -2%; box-shadow: 0 0 0 4px var(--bg); }
.cpic.fresh > img:first-child { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--bone); }
.cpic.seen > img:first-child { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--line-3); }
.cpic.big.fresh > img:first-child { box-shadow: 0 0 0 5px var(--bg), 0 0 0 8px var(--bone); }
.cpic.tappable { cursor: pointer; }
.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%; }
.av-sm { width: 32px; height: 32px; border-radius: 50%; flex: none; }
.av-xs { width: 24px; height: 24px; border-radius: 7px; 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: 6px; font: 600 10.5px var(--mono); letter-spacing: .02em; 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); }
.ref { margin-left: 4px; color: var(--text-3); font-size: .92em; }

/* ---------- home: masthead ---------- */
.mast { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: end; padding: 16px 0 52px; margin-bottom: 48px; border-bottom: 1px solid var(--line); }
.mast h1 { margin-top: 18px; font: 600 66px/1.0 'Sora'; letter-spacing: -.045em; }
.mast h1 span { color: var(--ash); }
.cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.pulse { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--panel); }
.pc { padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 6px; }
.pc:nth-child(odd) { border-right: 1px solid var(--line); }
.pc:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.pc b { font: 600 34px/1 'Sora'; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.pc span { font-size: 12.5px; color: var(--text-3); }
.pc-fire b { color: var(--fire); }

/* ---------- home: story reel ---------- */
.reel { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: none; }
.reel::-webkit-scrollbar { display: none; }
.rc { position: relative; flex: none; width: 152px; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: var(--panel-2); text-align: left; box-shadow: inset 0 0 0 1px var(--line-2); transition: transform .18s var(--ease); }
.rc:hover { transform: translateY(-3px); }
.rc > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rc::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.42), transparent 30%, transparent 52%, rgba(0,0,0,.82)); }
.rc.fresh { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--bone); margin: 4px; }
.rc-top { position: absolute; z-index: 1; top: 10px; left: 10px; right: 10px; display: flex; align-items: center; gap: 8px; color: #fff; font-size: 11.5px; }
.rc-top img { width: 28px; height: 28px; border-radius: var(--sq); object-fit: cover; }
.rc-top span { opacity: .8; }
.rc-bot { position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 12px; color: #fff; display: flex; flex-direction: column; gap: 3px; }
.rc-bot b { font-size: 15px; }
.rc-bot span { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--fire); }
.rc-bot svg { width: 12px; height: 12px; }
.rc-n { position: absolute; z-index: 1; top: 10px; right: 10px; height: 22px; min-width: 22px; padding: 0 6px; border-radius: 999px; background: rgba(14,14,14,.7); color: #fff; font: 600 11px var(--mono); display: grid; place-items: center; }
.rc-add { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; padding: 16px; text-align: center; border: 1.5px dashed var(--line-3); box-shadow: none; background: var(--bg-2); color: var(--text-2); }
.rc-add::after { display: none; }
.rc-add:hover { border-color: var(--ash); color: var(--text); }
.rc-add .plus { width: 44px; height: 44px; border-radius: 14px; background: var(--bone); color: #111; display: grid; place-items: center; }
.rc-add .plus svg { width: 22px; height: 22px; }
.rc-add b { font-size: 14px; color: var(--text); }
.rc-add span { font-size: 11.5px; color: var(--text-3); }
.rc-empty { flex: 1; min-width: 240px; aspect-ratio: auto; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 24px 28px; border-radius: 18px; border: 1px solid var(--line); background: var(--panel); }
.rc-empty b { font-size: 16px; }
.rc-empty p { color: var(--text-3); font-size: 13px; max-width: 420px; }

/* ---------- home: split (chronicle + index) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.split-main { min-width: 0; }
.split-side { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 14px; }
.feed-more { padding: 28px 0; text-align: center; font-size: 13px; }
.board { padding: 18px 18px 14px; border-radius: 20px; border: 1px solid var(--line); background: var(--panel); }
.board-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.board-h h3 { font: 500 11.5px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ash); }
.bd { display: grid; grid-template-columns: 16px auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.bd:first-child { border-top: 0; }
.bd:hover .bd-t b { text-decoration: underline; text-underline-offset: 3px; }
.bd-n { font: 500 11px var(--mono); color: var(--text-3); text-align: right; }
.bd-t { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.bd-t b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bd-t span { font-size: 11.5px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bd-m { display: flex; flex-direction: column; align-items: flex-end; font-size: 11.5px; line-height: 1.35; }
.bd-m b { font-size: 12.5px; font-weight: 500; }
.board-f { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12px; }
.board-f a { color: var(--text-2); font-weight: 600; }
.board-f a:hover { color: var(--text); }
.side-cta { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 20px; border: 1px dashed var(--line-3); transition: background .15s, border-color .15s; }
.side-cta:hover { background: var(--panel); border-color: var(--ash); }
.side-cta b { font-size: 14.5px; }
.side-cta span { font-size: 12.5px; color: var(--text-3); }

/* ---------- the chronicle: posts and stories on a timeline ---------- */
.chron { list-style: none; }
.ent { display: grid; grid-template-columns: 52px minmax(0, 1fr); }
.ent-when { padding: 20px 16px 0 0; text-align: right; font: 500 11.5px var(--mono); color: var(--text-3); }
.ent-line { position: relative; padding: 0 0 28px 26px; border-left: 1px solid var(--line-2); min-width: 0; }
.ent:last-child .ent-line { border-left-color: transparent; background: linear-gradient(var(--line-2), transparent) left top / 1px 60px no-repeat; }
.ent-line::before { content: ''; position: absolute; left: -6px; top: 22px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2px var(--line-3); }
.ent-story .ent-line::before { box-shadow: inset 0 0 0 2px var(--fire); }
.ent-ctx { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 12px; color: var(--text-3); }
.ent-ctx svg { width: 14px; height: 14px; }
.ent-ctx b { color: var(--text-2); font-weight: 600; }
.ent-box { display: grid; grid-template-columns: 236px minmax(0, 1fr); border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.ent-img { position: relative; aspect-ratio: 1; background: var(--panel-2); cursor: pointer; user-select: none; overflow: hidden; }
.ent-img > img { width: 100%; height: 100%; object-fit: cover; }
.ent-body { display: flex; flex-direction: column; gap: 12px; padding: 18px 20px 12px; min-width: 0; }
.ent-coin { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ent-coin .nm { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.ent-coin b { font-size: 14.5px; }
.ent-coin .faint { font-size: 12px; }
.ent-coin:hover b { text-decoration: underline; text-underline-offset: 3px; }
.ent-cap { font-size: 17px; line-height: 1.45; letter-spacing: -.005em; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.ent-cap.none { color: var(--text-3); font-size: 14px; }
.ent-by { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12px; color: var(--text-2); }
.ent-by img { width: 18px; height: 18px; border-radius: 50%; }
.ent-act { margin-top: auto; display: flex; align-items: center; gap: 2px; padding-top: 8px; border-top: 1px solid var(--line); margin-left: -6px; }
.ent-counts { font-size: 12px; color: var(--text-3); margin-left: 6px; }
.ent-counts b { color: var(--text-2); font-weight: 600; }
.ent-open { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--text-3); }
.ent-open:hover { color: var(--text); }
.ent-story .ent-box { grid-template-columns: 132px minmax(0, 1fr); }
.ent-story .ent-img { aspect-ratio: 9 / 16; }
.ent-story .ent-img::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 2px rgba(242,166,90,.0); }
.ent-burn { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; height: 28px; padding: 0 10px; border-radius: 8px; background: rgba(242,166,90,.09); border: 1px solid rgba(242,166,90,.28); color: var(--fire); font: 500 12px var(--mono); }
.ent-burn svg { width: 13px; height: 13px; }
.ent-story .ent-cap { font-size: 15px; }
.act-b { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; color: var(--text-2); transition: color .15s, transform .12s, background .15s; }
.act-b:hover { color: var(--text); background: var(--panel-2); }
.act-b:active { transform: scale(.88); }
.act-b svg { width: 20px; height: 20px; }
.act-b.like.on { color: var(--heart); }
.act-b.repost.on { color: var(--up); }
.burst { position: absolute; left: 50%; top: 50%; width: 88px; height: 88px; margin: -44px 0 0 -44px; 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); } }
.dot { margin: 0 6px; color: var(--text-3); }

/* ---------- coin page: cover, stats, codex ---------- */
.cover { display: grid; grid-template-columns: 196px minmax(0, 1fr) 248px; gap: 36px; align-items: center; padding: 4px 0 36px; }
.cover { --cov: 196px; }
.cover-pic { display: flex; }
.cover-pic.sk { width: var(--cov); height: var(--cov); border-radius: var(--sq); }
.cover-pic .cpic { width: var(--cov); height: var(--cov); }
.cover-main { min-width: 0; }
.cover-main .origin { font: 500 11.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ash); line-height: 1.7; }
.cover-main .origin a { color: var(--text-2); text-transform: none; letter-spacing: 0; }
.cover-main .origin a:hover { color: var(--text); }
.cover-main .origin .qchip { text-transform: none; letter-spacing: 0; font-family: 'Sora'; }
.cover h1 { margin-top: 10px; font: 600 54px/1.02 'Sora'; letter-spacing: -.04em; overflow-wrap: anywhere; }
.cover-id { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.tick { font-size: 17px; font-weight: 600; color: var(--text-2); }
.ca { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line-2); color: var(--text-2); font-size: 12px; }
.ca:hover { color: var(--text); border-color: var(--line-3); }
.ca svg { width: 12px; height: 12px; }
.bio { margin-top: 16px; max-width: 620px; font-size: 16px; line-height: 1.55; color: var(--text-2); overflow-wrap: anywhere; }
.links { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.links a { height: 28px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 8px; border: 1px solid var(--line-2); font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.links a:hover { border-color: var(--line-3); color: var(--text); }
.cover-act { display: flex; flex-direction: column; gap: 10px; }
.cover-act .btn { width: 100%; }
.cover-act .row { display: grid; grid-template-columns: 1fr 1fr 40px; gap: 8px; }
.cover-act .row .btn { padding: 0 10px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats:empty { display: none; }
.st { padding: 18px 20px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.st:first-child { border-left: 0; padding-left: 0; }
.st b { font: 600 24px/1.1 'Sora'; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.st span { font: 500 10.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.st i { font-style: normal; font-size: 13px; font-family: var(--mono); }
.st-fire b { color: var(--fire); }
.codex { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; margin-top: 36px; }
.codex-main { min-width: 0; }
.codex-side { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 14px; }
.codex-side:empty { display: none; }
.ptabs { display: flex; gap: 28px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.ptab { height: 46px; font-size: 15px; font-weight: 600; color: var(--text-3); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.ptab:hover { color: var(--text-2); }
.ptab.on { color: var(--text); border-bottom-color: var(--bone); }
.blk { padding: 18px; border-radius: 20px; border: 1px solid var(--line); background: var(--panel); }
.blk h3 { font: 500 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ash); margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
.blk h3 a, .blk h3 button { font: 600 12px 'Sora'; letter-spacing: 0; text-transform: none; color: var(--text-2); }
.blk h3 a:hover, .blk h3 button:hover { color: var(--text); }
.blk p { font-size: 13px; color: var(--text-2); }
.blk-burn b { display: block; font: 600 30px/1.1 'Sora'; letter-spacing: -.02em; color: var(--fire); }
.blk-burn span { font-size: 12.5px; color: var(--text-3); }
.mini-reel { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.mini-reel .rc { width: 118px; border-radius: 14px; }
.mini-reel .rc-bot { left: 8px; right: 8px; bottom: 8px; }
.mini-reel .rc-bot b { font-size: 13px; }
.mini-reel .rc-bot span { font-size: 10.5px; }
.th { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); font-size: 12.5px; }
.th:first-of-type { border-top: 0; }
.th img { width: 22px; height: 22px; border-radius: 50%; }
.th .bar { width: 64px; }

/* ---------- gallery, masonry ---------- */
.masonry { columns: 4 220px; column-gap: 12px; }
.mz { position: relative; display: block; width: 100%; break-inside: avoid; margin-bottom: 12px; border-radius: 16px; overflow: hidden; background: var(--panel-2); }
.mz img { width: 100%; height: auto; min-height: 120px; object-fit: cover; }
.t-ico { position: absolute; top: 10px; right: 10px; width: 20px; height: 20px; color: #fff; filter: drop-shadow(0 1px 3px rgba(0,0,0,.6)); }
.t-chip { position: absolute; left: 10px; bottom: 10px; height: 24px; padding: 0 8px; display: inline-flex; align-items: center; border-radius: 7px; font: 600 11px 'Sora'; color: #fff; background: rgba(14,14,14,.7); backdrop-filter: blur(6px); }
.t-ov { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-end; gap: 6px; padding: 12px; background: linear-gradient(transparent 55%, rgba(0,0,0,.6)); color: #fff; font-weight: 600; font-size: 13px; opacity: 0; transition: opacity .15s; }
.t-ov svg { width: 16px; height: 16px; }
.mz:hover .t-ov, .mz:focus-visible .t-ov { opacity: 1; }
.grid-empty { padding: 32px 0; }

/* ---------- coins index ---------- */
.idx-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px; flex-wrap: wrap; }
.idx-filter { display: flex; align-items: center; gap: 8px; height: 36px; width: 260px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); color: var(--text-3); }
.idx-filter:focus-within { border-color: var(--line-3); }
.idx-filter svg { width: 15px; height: 15px; flex: none; }
.idx-filter input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font-size: 13px; }
.ix { display: grid; grid-template-columns: 34px minmax(0, 2.4fr) repeat(4, minmax(0, 1fr)) minmax(0, .7fr) minmax(0, 1.1fr); align-items: center; gap: 12px; min-height: 66px; padding: 0 8px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.ix-h { min-height: 40px; font: 500 10.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
a.ix:hover { background: var(--panel); }
.ix .r { text-align: right; }
.ix-n { font: 500 12px var(--mono); color: var(--text-3); }
.ix-c { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ix-c .nm { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.ix-c b { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ix-c .faint { font-size: 12px; }
.ix-pad { font-size: 12px; color: var(--text-3); text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.idx-empty { padding: 32px 8px; color: var(--text-3); }

/* ---------- your coins ---------- */
.holds { border-top: 1px solid var(--line); margin-bottom: 48px; }
.hold { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 14px 8px; border-bottom: 1px solid var(--line); }
.hold-c { display: flex; align-items: center; gap: 14px; min-width: 0; }
.hold-c .who b { font-size: 15px; }

/* ---------- stories: viewer, composer, coin picker ---------- */
.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: 18px; 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: 3px; 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: var(--sq); }
.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: var(--fire); }
.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: var(--fire); }
.pick { display: flex; flex-direction: column; gap: 8px; }
.pick-c { display: flex; align-items: center; gap: 12px; padding: 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: var(--sq); }
.pick-c > span { display: flex; flex-direction: column; line-height: 1.35; }
.pick-c .faint { font-size: 12.5px; }

/* ---------- launch ---------- */
.launch { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; align-items: start; }
.lf { display: flex; flex-direction: column; }
.step { display: grid; grid-template-columns: 56px minmax(0, 1fr); padding: 26px 0; border-top: 1px solid var(--line); }
.step:first-child { border-top: 0; padding-top: 0; }
.step-n { font-size: 13px; color: var(--text-3); padding-top: 3px; }
.step-b { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.step-b h2 { font: 600 18px 'Sora'; letter-spacing: -.01em; }
.step-b h2 i { font-style: normal; font-weight: 400; font-size: 13px; margin-left: 6px; }
.coin-in { display: grid; grid-template-columns: 156px minmax(0, 1fr); gap: 18px; align-items: start; }
.coin-fields { display: flex; flex-direction: column; gap: 14px; }
.lf-img { aspect-ratio: 1; width: 156px; border-radius: var(--sq); }
.links-in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.lf-go { padding-top: 26px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.lf-go .btn-lg { width: 100%; height: 54px; font-size: 15.5px; }
.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; 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: 52px; padding: 0 14px; 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; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.seg span { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); }
.seg span b { font-size: 14px; font-weight: 600; }
.seg span i { font-style: normal; font-size: 12.5px; }
.seg label:hover span { border-color: var(--line-3); }
.seg input:checked + span { border-color: var(--bone); box-shadow: inset 0 0 0 1px var(--bone); }
.seg input:focus-visible + span { box-shadow: 0 0 0 2px var(--line-3); }
.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; flex-wrap: wrap; }
.dev input { max-width: 150px; }
.chips { display: flex; gap: 8px; }
.chips button { height: 32px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line-2); font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.chips button:hover { color: var(--text); border-color: var(--line-3); }
.chips button.on { background: var(--bone); border-color: var(--bone); color: #111; }
.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; border-radius: 10px; background: rgba(228,138,122,.1); color: var(--down); font-size: 13px; }
.lf-err a { text-decoration: underline; }
.lp { position: sticky; top: 92px; }
.lp-h { margin-bottom: 14px; }
.lp-card { border-radius: 20px; border: 1px solid var(--line); background: var(--panel); overflow: hidden; }
.lpc-top { display: flex; gap: 16px; align-items: center; padding: 20px 20px 16px; }
.lpc-top .cpic { --s: 76px; }
.lp-ph { display: block; width: 100%; height: 100%; border-radius: var(--sq); background: var(--panel-3); }
.lpc-origin { font: 500 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ash); }
.lp-name { display: block; margin-top: 4px; font: 600 24px/1.1 'Sora'; letter-spacing: -.03em; overflow-wrap: anywhere; }
.lp-tick { font-size: 13px; color: var(--text-2); font-weight: 600; }
.lp-bio { padding: 0 20px 16px; font-size: 13.5px; color: var(--text-2); overflow-wrap: anywhere; }
.lp-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.lp-stats span { padding: 12px 14px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; font: 500 9.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.lp-stats span:first-child { border-left: 0; }
.lp-stats b { font: 600 15px 'Sora'; letter-spacing: -.01em; color: var(--text); text-transform: none; }
.lp-first { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: center; padding: 14px 20px; border-top: 1px solid var(--line); font-size: 12px; color: var(--text-3); }
.lp-first > * { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; background: var(--panel-2); }
.lp-first p { width: auto; height: auto; background: none; }
.lp-facts { list-style: none; margin-top: 18px; display: flex; flex-direction: column; gap: 10px; 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: 5px; height: 5px; border-radius: 1.5px; 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; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); color: var(--text-3); }
.pp-search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); }
.pp-h { font: 500 10.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin: 8px 0; }
.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; }

/* ---------- loading, empty ---------- */
.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: '...'; } }
.empty-tab { padding: 56px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; border: 1px dashed var(--line-2); border-radius: 20px; }
.empty-tab h3 { font: 600 20px 'Sora'; letter-spacing: -.01em; }
.empty-page { padding: 92px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.empty-page h1 { font: 600 40px 'Sora'; letter-spacing: -.03em; }
.empty-page p { color: var(--text-2); max-width: 440px; }
.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; } }

/* ---------- wallet menu and picker ---------- */
.wm { position: relative; }
#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; 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, .wm-off:hover { color: var(--down); }
.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; }

/* ---------- lists (holders, activity) ---------- */
.list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.list-note { font-size: 12.5px; margin: 0 0 12px; }
.lrow { display: flex; align-items: center; gap: 12px; padding: 12px 8px; 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; flex-wrap: wrap; }
.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: 6px; 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: 10px; 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; }

/* ---------- modals, post viewer, composer ---------- */
.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: 20px; 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; }
.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: 15px; 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); }
.pv-counts b { color: var(--text); font-weight: 600; }
.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: 36px; height: 36px; flex: none; color: var(--text-3); }
.drop-in .faint { font-size: 11.5px; }
.drop.has .drop-in { padding: 0; }
.drop-in img { width: 100%; height: 100%; object-fit: cover; }
#cap { width: 100%; margin-top: 12px; padding: 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); }
.cap-rule { margin: 8px 2px 0; }
.cap-rule.bad { color: var(--down); }
.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: 4px; 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; }
.modal .btn-lg { width: 100%; }

/* ---------- docs, how it works ---------- */
.docs { display: grid; grid-template-columns: 210px minmax(0, 720px); gap: 64px; align-items: start; }
.toc { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 2px; padding-left: 14px; border-left: 1px solid var(--line); }
.toc a { padding: 5px 0; font-size: 13px; color: var(--text-3); }
.toc a:hover { color: var(--text); }
.doc { max-width: 720px; }
.doc-solo { margin: 0 auto 0 0; }
.doc-sec { padding: 28px 0; border-top: 1px solid var(--line); scroll-margin-top: 88px; }
.doc-sec:first-child { border-top: 0; padding-top: 0; }
.doc-sec h2 { font: 600 22px 'Sora'; letter-spacing: -.02em; margin-bottom: 14px; }
.doc-sec h3 { font: 600 15px 'Sora'; margin: 20px 0 8px; }
.doc-sec p { color: var(--text-2); font-size: 15px; line-height: 1.6; }
.doc-sec p + p { margin-top: 12px; }
.doc-sec b { color: var(--text); font-weight: 600; }
.doc .linkish { font-size: inherit; }
.doc .list { border-top: 0; gap: 8px; margin: 0 0 12px 20px; color: var(--text-2); font-size: 15px; }
.doc-sec .list + p { margin-top: 12px; }
.steps { list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 14px; margin: 4px 0 14px; }
.steps li { counter-increment: s; position: relative; padding-left: 44px; color: var(--text-2); font-size: 15px; line-height: 1.6; }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 1px; font: 500 12px var(--mono); color: var(--ash); padding: 2px 6px; border: 1px solid var(--line-2); border-radius: 6px; }
.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; gap: 12px; }
.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; }
.doc table { width: 100%; border-collapse: collapse; margin: 4px 0 12px; font-size: 14px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.doc .spec th { width: 38%; color: var(--text); font-weight: 600; }
.doc .spec td, .doc .fees td { color: var(--text-2); }
.doc .fees thead th { font: 500 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.doc .fees td:nth-child(2) { white-space: nowrap; color: var(--text); }
.addr { font-family: var(--mono); font-size: 12.5px; color: var(--text); word-break: break-all; }
.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); }

/* ---------- toasts, dock ---------- */
.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); }
.dock { display: none; }

/* ---------- smaller screens ---------- */
@media (max-width: 1180px) {
  .split, .codex { grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; }
  .cover { grid-template-columns: 160px minmax(0, 1fr) 230px; gap: 28px; }
  .cover { --cov: 160px; }
  .cover h1 { font-size: 44px; }
  .ix { grid-template-columns: 30px minmax(0, 2.4fr) repeat(4, minmax(0, 1fr)) minmax(0, .7fr); }
  .ix .ix-pad, .ix-h .ix-pad { display: none; }
}
@media (max-width: 1000px) {
  .topbar-in { grid-template-columns: auto 1fr auto; }
  .menu { justify-self: center; }
  .find span, .find kbd { display: none; }
  .find { width: 38px; padding: 0; justify-content: center; }
  .mast { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .split, .codex { grid-template-columns: minmax(0, 1fr); }
  .split-side, .codex-side { position: static; }
  .launch { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .lp { position: static; }
  .docs { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px 14px; border-left: 0; padding: 0 0 8px; }
  .cover { grid-template-columns: 132px minmax(0, 1fr); }
  .cover { --cov: 132px; }
  .cover-act { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr 1fr 40px; }
  .cover-act .row { display: contents; }
}
@media (max-width: 760px) {
  .topbar-in { height: 58px; padding: 0 16px; gap: 10px; }
  .menu { display: none; }
  .topbar-r { gap: 8px; }
  .find { display: none; }
  .word { font-size: 22px; } .mark { height: 26px; }
  .main { padding: 24px 16px 120px; }
  .foot-in { padding: 36px 16px 24px; }
  .foot-cols { gap: 40px; }
  .foot-base { padding: 14px 16px 112px; flex-direction: column; gap: 6px; }
  .dock { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; display: flex; justify-content: space-around; align-items: center; height: 64px; padding: 0 6px; border-radius: 22px; background: rgba(24,24,24,.9); backdrop-filter: blur(14px); border: 1px solid var(--line-2); box-shadow: 0 16px 40px rgba(0,0,0,.5); }
  .dk { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 52px; border-radius: 14px; font-size: 10px; font-weight: 600; color: var(--text-3); }
  .dk .ic { width: 22px; height: 22px; }
  .dk.on { color: var(--text); }
  .dk-launch .ic { width: 40px; height: 40px; padding: 9px; border-radius: 13px; background: var(--bone); color: #111; }
  .dk-launch span { display: none; }
  .toasts { bottom: 96px; }
  .palette { padding-top: 10px; }
  .head h1 { font-size: 34px; }
  .mast { padding-top: 4px; margin-bottom: 36px; padding-bottom: 36px; }
  .mast h1 { font-size: 42px; }
  .lede { font-size: 15px; }
  .pc b { font-size: 26px; }
  .pc { padding: 16px; }
  .rc { width: 128px; }
  .ent { grid-template-columns: minmax(0, 1fr); }
  .ent-when { display: none; }
  .ent-line { border-left: 0; padding: 0 0 18px; }
  .ent:last-child .ent-line { background: none; }
  .ent-line::before { display: none; }
  .ent-box { grid-template-columns: minmax(0, 1fr); }
  .ent-story .ent-box { grid-template-columns: 112px minmax(0, 1fr); }
  .ent-cap { font-size: 15.5px; }
  .cover { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: start; padding-bottom: 24px; }
  .cover { --cov: 96px; }
  .cover h1 { font-size: 30px; margin-top: 6px; }
  .cover-main .origin { font-size: 10px; }
  .bio { font-size: 14.5px; }
  .cover-act { grid-template-columns: 1fr 1fr 40px; }
  .cover-act .btn-primary { grid-column: 1 / -1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .st { padding: 14px 0 14px 14px; }
  .st:nth-child(odd) { border-left: 0; padding-left: 0; }
  .st:nth-child(n+3) { border-top: 1px solid var(--line); }
  .st b { font-size: 20px; }
  .ptabs { gap: 20px; overflow-x: auto; }
  .ptab { font-size: 14px; flex: none; }
  .masonry { columns: 2 140px; column-gap: 8px; }
  .mz { margin-bottom: 8px; border-radius: 12px; }
  .ix { grid-template-columns: 22px minmax(0, 1fr) auto; min-height: 60px; padding: 0 2px; }
  .ix > :nth-child(n+4), .ix-h > :nth-child(n+4) { display: none; }
  .ix-h { display: none; }
  .idx-filter { width: 100%; }
  .hold { grid-template-columns: minmax(0, 1fr) auto; }
  .hold .btn-ghost { display: none; }
  .coin-in { grid-template-columns: 104px minmax(0, 1fr); }
  .lf-img { width: 104px; }
  .links-in { grid-template-columns: minmax(0, 1fr); }
  .step { grid-template-columns: 36px minmax(0, 1fr); }
  .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); }
  .doc .fees td:nth-child(2) { white-space: normal; }
  .doc th, .doc td { padding: 8px 6px; }
}
