/* anon: an unset profile. Greys, one blue for handles (X's), red/green only for what a promise turned out to be. */
:root {
  --bg: #f2f2f1;
  --card: #ffffff;
  --ink: #151515;
  --ink-2: #444444;
  --muted: #868686;
  --faint: #b4b4b2;
  --line: #e3e3e1;
  --line-2: #d2d2cf;
  --wash: #f7f7f6;
  --cover: #cfd9de;
  --blue: #1d8bd8;
  --red: #b4321f;
  --green: #217a4a;
  --amber: #93620b;
  --mono: 'Geist Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.55 'Geist', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
.mono { font-family: var(--mono); font-size: 0.92em; }
.mut { color: var(--muted); }
.h { color: var(--blue); }
.h:hover { text-decoration: underline; }
.tx { color: var(--muted); font-size: 13px; white-space: nowrap; }
.tx:hover { color: var(--ink); text-decoration: underline; }

/* top bar */
.bar { position: sticky; top: 0; z-index: 10; background: rgba(242, 242, 241, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar-in { max-width: 1040px; margin: 0 auto; padding: 0 20px; height: 56px; display: flex; align-items: center; gap: 28px; }
.me { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 16px; }
.me img { width: 28px; height: 28px; border-radius: 50%; }
.bar nav { display: flex; gap: 20px; }
.bar nav a { color: var(--muted); font-size: 14px; padding: 17px 0 15px; border-bottom: 2px solid transparent; }
.bar nav a:hover { color: var(--ink); }
.bar nav a.on { color: var(--ink); border-color: var(--ink); }
.find { position: relative; margin-left: auto; width: 260px; }
.find input { width: 100%; height: 34px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--card); font: 13.5px 'Geist', sans-serif; color: var(--ink); outline: 0; }
.find input:focus { border-color: var(--muted); }
.find input::placeholder { color: var(--faint); }
.drop { position: absolute; top: 40px; left: 0; right: 0; background: var(--card); border: 1px solid var(--line-2); border-radius: 10px; padding: 4px; display: none; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); }
.drop.open { display: block; }
.drop a { display: flex; align-items: center; gap: 9px; padding: 7px 8px; border-radius: 7px; font-size: 14px; }
.drop a.sel, .drop a:hover { background: var(--wash); }
.drop a span:last-child { margin-left: auto; color: var(--muted); font-size: 12.5px; }
.drop .none { padding: 10px; font-size: 13px; color: var(--muted); }

main { max-width: 1040px; margin: 0 auto; padding: 0 20px 80px; }

.ci { width: 40px; height: 40px; border-radius: 50%; background: var(--line) center/cover; flex: none; display: grid; place-items: center; font-size: 11px; font-weight: 600; color: var(--muted); overflow: hidden; position: relative; }
.ci img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ci.s { width: 24px; height: 24px; font-size: 9px; }
.ci.l { width: 72px; height: 72px; border-radius: 14px; font-size: 16px; }
.av { width: 40px; height: 40px; border-radius: 50%; flex: none; }

/* ——— profile ——— */
.profile { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; padding-top: 20px; }
.head { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.cover { height: 120px; background: var(--cover); }
.head-in { padding: 0 22px 18px; }
.big-av { width: 108px; height: 108px; border-radius: 50%; border: 4px solid var(--card); margin-top: -54px; display: block; }
.head h1 { margin: 10px 0 0; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.head .handle { color: var(--muted); font-size: 14.5px; }
.bio { margin: 12px 0 12px; font-size: 15px; max-width: 520px; }
.counts { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14px; color: var(--muted); }
.counts b { color: var(--ink); font-weight: 600; }
.tabs { display: flex; border-top: 1px solid var(--line); margin-top: 16px; }
.tabs a { flex: 1; text-align: center; padding: 13px 0 11px; color: var(--muted); font-size: 14.5px; font-weight: 500; border-bottom: 2px solid transparent; }
.tabs a:hover { background: var(--wash); color: var(--ink); }
.tabs a.on { color: var(--ink); border-color: var(--ink); }

.list { margin-top: 12px; display: flex; flex-direction: column; gap: 12px; }

/* a question, written as a reply to the team */
.post { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px 14px; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 0 12px; }
.post .who { display: flex; gap: 6px; align-items: baseline; font-size: 14.5px; flex-wrap: wrap; }
.post .who b { font-weight: 600; }
.post .re { font-size: 13.5px; color: var(--muted); margin: 1px 0 6px; }
.post .text { font-size: 16.5px; line-height: 1.5; margin: 0 0 12px; overflow-wrap: anywhere; }
.why { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.why-h { padding: 9px 13px; font-size: 12.5px; color: var(--muted); background: var(--wash); border-bottom: 1px solid var(--line); }
.why ul { list-style: none; margin: 0; padding: 4px 13px; }
.why li { padding: 7px 0; font-size: 14px; color: var(--ink-2); border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.why li:first-child { border-top: 0; }
.why q { color: var(--ink); font-style: normal; }
.coinline { display: flex; align-items: center; gap: 10px; padding: 10px 13px; border-top: 1px solid var(--line); font-size: 14px; }
.coinline:hover { background: var(--wash); }
.coinline .go { margin-left: auto; color: var(--muted); font-size: 13px; }
.state { display: flex; align-items: center; gap: 7px; margin-top: 11px; font-size: 13px; color: var(--muted); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); flex: none; }
.dot.w { background: var(--amber); } .dot.g { background: var(--green); } .dot.r { background: var(--red); }

/* right column */
.aside { position: sticky; top: 76px; display: flex; flex-direction: column; gap: 14px; max-height: calc(100vh - 92px); }
.box { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.box h3 { margin: 0 0 8px; font-size: 15px; font-weight: 600; }
.box p { margin: 0 0 8px; font-size: 13.5px; color: var(--ink-2); }
.box p:last-child { margin-bottom: 0; }
.box .more { font-size: 13.5px; color: var(--blue); }
.mini { display: flex; flex-direction: column; }
.mini a { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.mini a:first-child { border-top: 0; }
.mini a .t { min-width: 0; flex: 1; }
.mini a .t div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12.5px; color: var(--muted); }

/* coins tab */
.rows { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.rows .filter { display: flex; gap: 18px; padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: 13.5px; flex-wrap: wrap; }
.rows .filter button { color: var(--muted); }
.rows .filter button.on { color: var(--ink); font-weight: 600; }
.rows .filter .sort { margin-left: auto; color: var(--muted); }
.rows .filter select { font: 13.5px 'Geist', sans-serif; border: 0; background: none; color: var(--ink); cursor: pointer; }
.crow { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-top: 1px solid var(--line); }
.crow:first-of-type { border-top: 0; }
.crow:hover { background: var(--wash); }
.crow .t { min-width: 0; flex: 1; }
.crow .t b { font-weight: 600; }
.crow .t .n { color: var(--muted); margin-left: 6px; }
.crow .t div { font-size: 13.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crow .cap { text-align: right; font-size: 13.5px; }
.crow .cap div { font-size: 12px; color: var(--muted); }
.empty { padding: 34px 18px; text-align: center; color: var(--muted); font-size: 14px; }

/* ——— coin notes ——— */
.notes { max-width: 760px; margin: 0 auto; padding-top: 20px; }
.back { display: inline-block; font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }
.back:hover { color: var(--ink); }
.coinhead { display: flex; gap: 16px; align-items: flex-start; }
.coinhead h1 { margin: 0; font-size: 26px; letter-spacing: -0.02em; line-height: 1.2; }
.coinhead h1 span { color: var(--muted); font-weight: 400; font-size: 18px; }
.ca { display: inline-block; margin: 4px 0 8px; font: 12.5px var(--mono); color: var(--muted); }
.ca:hover { color: var(--ink); }
.links { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; }
.links a { color: var(--blue); }
.links a:hover { text-decoration: underline; }
.facts { margin: 16px 0 14px; font-size: 15px; color: var(--ink-2); }
.facts b { color: var(--ink); font-weight: 600; }

.chartbox { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.chart-top { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 13px; }
.chart-top .px { font-weight: 600; font-size: 14px; }
.chart-top .tf { margin-left: auto; display: flex; gap: 12px; }
.chart-top .tf button { color: var(--muted); font-size: 13px; }
.chart-top .tf button.on { color: var(--ink); font-weight: 600; }
#chart { height: 340px; position: relative; }
#chart .msg { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 13.5px; }

.sec { margin-top: 34px; }
.sec h2 { margin: 0 0 4px; font-size: 18px; letter-spacing: -0.01em; }
.sec .lead { margin: 0 0 14px; font-size: 14px; color: var(--muted); max-width: 640px; }
.sec .post { margin-top: 4px; }
.prose p { margin: 0 0 10px; font-size: 15.5px; }
.prose p b { font-weight: 600; }
.promise { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; }
.promise blockquote { margin: 0 0 4px; font-size: 16px; line-height: 1.5; }
.promise .src { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.promise .res { display: flex; gap: 8px; align-items: baseline; font-size: 14.5px; color: var(--ink-2); }
.promise .res .dot { transform: translateY(-1px); }
.promise .res b { color: var(--ink); font-weight: 600; white-space: nowrap; }
.nothing { padding: 14px 16px; border: 1px dashed var(--line-2); border-radius: 12px; font-size: 14.5px; color: var(--ink-2); }

.timeline { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-top: 14px; }
.timeline h4 { margin: 0; padding: 11px 16px; font-size: 13px; font-weight: 500; color: var(--muted); border-bottom: 1px solid var(--line); display: flex; gap: 8px; }
.timeline h4 a { color: var(--ink-2); font-family: var(--mono); font-size: 12.5px; }
.timeline h4 a:hover { text-decoration: underline; }
.ev { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 12px; padding: 9px 16px; border-top: 1px solid var(--line); font-size: 14px; align-items: baseline; }
.ev:first-of-type { border-top: 0; }
.ev .when { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.ev .what { overflow-wrap: anywhere; }
.ev .what .neg { color: var(--red); }
.ev .what .pos { color: var(--green); }
.showall { display: block; width: 100%; padding: 10px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.showall:hover { color: var(--ink); background: var(--wash); }
.crowd { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.crowd blockquote { margin: 0 0 6px; font-size: 16.5px; }
.crowd div { font-size: 13.5px; color: var(--muted); }
.fine { margin-top: 34px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }

/* ——— how ——— */
.how { max-width: 680px; margin: 0 auto; padding-top: 28px; }
.how h1 { font-size: 28px; letter-spacing: -0.02em; margin: 0 0 10px; }
.how h2 { font-size: 17px; margin: 30px 0 6px; }
.how p, .how li { font-size: 15.5px; color: var(--ink-2); }
.how ul { padding-left: 20px; }
.how li { margin-bottom: 6px; }
.how .sig { display: flex; align-items: center; gap: 10px; margin-top: 30px; color: var(--muted); font-size: 14px; }
.how .sig img { width: 28px; height: 28px; border-radius: 50%; }

@media (max-width: 900px) {
  .profile { grid-template-columns: 1fr; }
  .aside { position: static; max-height: none; }
  .box.log { max-height: 460px; }
  .find { width: auto; flex: 1; }
  .bar nav { display: none; }
  .bar-in { gap: 14px; }
  .mnav { display: flex !important; }
}
.mnav { display: none; gap: 20px; padding: 10px 20px; border-bottom: 1px solid var(--line); font-size: 14px; background: var(--bg); }
.mnav a { color: var(--muted); }
.mnav a.on { color: var(--ink); font-weight: 600; }
@media (max-width: 560px) {
  main { padding: 0 12px 60px; }
  .bar-in { padding: 0 12px; }
  .post { padding: 14px 14px 12px; grid-template-columns: 34px minmax(0, 1fr); gap: 0 10px; }
  .post .av { width: 34px; height: 34px; }
  .post .text { font-size: 15.5px; }
  .ev { grid-template-columns: 1fr auto; }
  .ev .when { grid-column: 1 / -1; }
  #chart { height: 260px; }
  .coinhead h1 { font-size: 22px; }
  .ci.l { width: 56px; height: 56px; }
}

/* ——— X: header button, follower line, the post's action bar and the replies under it ——— */
.xl { width: 15px; height: 15px; fill: currentColor; flex: none; }
.xbtn { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 13.5px; font-weight: 500; white-space: nowrap; }
.xbtn:hover { opacity: 0.88; }
.xbtn.soon { background: var(--card); color: var(--muted); border: 1px solid var(--line-2); }
.counts.xc { margin-top: 6px; }
.counts.xc a:hover { text-decoration: underline; }

.acts { display: flex; align-items: center; gap: 4px; margin: 10px -8px 0; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.acts > a, .acts > span:not(.st) { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 999px; min-width: 64px; }
.acts > a:hover { color: var(--ink); background: var(--wash); }
.acts svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.acts .st { margin-left: auto; padding-right: 8px; font-size: 12.5px; }
.acts .st.g { color: var(--green); }
.acts.off { color: var(--faint); }

.replies { margin-top: 10px; border-top: 1px solid var(--line); }
.rp { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; padding: 11px 0 9px; border-bottom: 1px solid var(--line); }
.rp:last-child { border-bottom: 0; }
.rp .who { font-size: 13.5px; gap: 5px; }
.rp p { margin: 2px 0 0; font-size: 14.5px; overflow-wrap: anywhere; }
.rp.team { background: linear-gradient(90deg, #f3f7f4, transparent 70%); margin: 0 -10px; padding-left: 10px; padding-right: 10px; border-radius: 8px; }
.tm { font-size: 11px; font-weight: 600; color: var(--green); border: 1px solid #b9d9c5; border-radius: 4px; padding: 0 5px; }
.rl { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; margin-top: 4px; }
.rl svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.av.s { width: 32px; height: 32px; }
.replies .showall { border-top: 0; text-align: left; padding: 8px 0; color: var(--blue); }
.crowd + .crowd { margin-top: 8px; }
@media (max-width: 900px) { .xbtn span { display: none; } .xbtn { padding: 0 10px; } }

/* ——— live: activity log, new posts sliding in ——— */
.livedot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-right: 8px; vertical-align: 2px; animation: beat 2s ease-in-out infinite; }
@keyframes beat { 50% { opacity: 0.35; } }
.box.log { padding-bottom: 0; display: flex; flex-direction: column; min-height: 220px; flex: 1 1 auto; overflow: hidden; }
.now { display: flex; align-items: center; gap: 9px; padding: 9px 11px; border-radius: 10px; background: var(--wash); border: 1px solid var(--line); font-size: 13.5px; margin-bottom: 6px; }
.now.idle { color: var(--muted); }
.dots { display: inline-flex; gap: 3px; margin-left: 5px; vertical-align: 2px; }
.dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.dots i:nth-child(2) { animation-delay: 0.2s; }
.dots i:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 0%, 80%, 100% { opacity: 0.2; } 40% { opacity: 1; } }
#log { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; margin: 0 -16px; padding: 0 12px 10px 16px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 28px), transparent); }
.lg { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; gap: 9px; align-items: baseline; padding: 7px 4px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.4; }
.lg:first-child { border-top: 0; }
a.lg:hover .lt { color: var(--ink); }
.lg .lt { color: var(--ink-2); overflow-wrap: anywhere; }
.lg .mut { font-size: 11.5px; white-space: nowrap; }
.lg .d { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); transform: translateY(-1px); }
.lg .d.q { background: var(--blue); } .lg .d.r { background: var(--red); } .lg .d.g { background: var(--green); } .lg .d.w { background: var(--amber); } .lg .d.f { background: var(--line); }
.fresh { animation: slidein 0.5s ease-out, glow 3s ease-out; }
@keyframes slidein { from { opacity: 0; transform: translateY(-6px); } }
@keyframes glow { 0% { background: #eef3fb; } 100% { background: transparent; } }
.post.fresh { animation: slidein 0.5s ease-out, postglow 4s ease-out; }
@keyframes postglow { 0% { box-shadow: 0 0 0 2px #cfe0f5; } 100% { box-shadow: 0 0 0 0 transparent; } }
.newnotes { display: block; width: 100%; margin-bottom: 12px; padding: 9px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 13.5px; }
.counts a:hover { text-decoration: underline; }

/* profile meta line, X-style: Following · Followers · the account */
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; font-size: 14px; color: var(--muted); }
.meta b { color: var(--ink); font-weight: 600; margin-right: 3px; }
.meta a:hover { text-decoration: underline; }
.meta .xon, .meta .xoff { display: inline-flex; align-items: center; gap: 5px; }
.meta .xon { color: var(--blue); }
.meta .xl { width: 13px; height: 13px; }
.tc { font-size: 12.5px; color: var(--muted); font-weight: 400; margin-left: 3px; font-variant-numeric: tabular-nums; }
.tabs a.on .tc { color: var(--ink-2); }
.rows .filter .tc { margin-left: 2px; }
.aside > .box:first-child { flex: none; }
#log::-webkit-scrollbar { width: 6px; }
#log::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 3px; }
.box.log h3, .box.log #now { flex: none; }
.cabtn { height: 34px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--card); font-size: 13px; color: var(--muted); white-space: nowrap; }
.cabtn .mono { color: var(--ink); margin-left: 4px; }
.cabtn:hover { border-color: var(--muted); }
.find + .cabtn, .find + .cabtn[hidden] + .xbtn { margin-left: 0; }
/* $ANON market cap / 24h volume in the header */
.mkt { display: inline-flex; align-items: baseline; gap: 5px; height: 34px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--card); font-size: 13px; white-space: nowrap; line-height: 32px; }
.mkt b { font-weight: 600; }
.mkt .v { font-weight: 600; font-variant-numeric: tabular-nums; transition: color 0.4s; }
.mkt .v.up { color: var(--green); } .mkt .v.down { color: var(--red); }
.mkt .vv, .mkt .sep { color: var(--muted); font-variant-numeric: tabular-nums; }
.mkt:hover { border-color: var(--muted); }
@media (max-width: 560px) { .mkt b { display: none; } }
/* X's blue check next to anon */
.vf { width: 17px; height: 17px; fill: #1d9bf0; flex: none; vertical-align: -3px; margin-left: 3px; }
.me .vf { width: 16px; height: 16px; margin-left: -4px; }
.head h1 .vf { width: 21px; height: 21px; vertical-align: -3px; }
.post .who .vf { margin-left: 0; vertical-align: -3px; }
.how .sig .vf { margin-left: -4px; }
[hidden] { display: none !important; }
.log-empty { padding: 8px 0; font-size: 13px; color: var(--muted); }
.mkt { display: inline-flex; align-items: center; gap: 6px; flex: none; line-height: 1; white-space: nowrap; }
.mkt > * { white-space: nowrap; }
@media (max-width: 560px) { .mkt b { display: inline; } .find { min-width: 0; } }
@media (max-width: 560px) { .find { display: none; } .bar-in { gap: 10px; } .cabtn .mono { display: none; } }
.bar nav a { white-space: nowrap; }
.find { width: 220px; }
@media (max-width: 1100px) { .bar-in { gap: 16px; } .bar nav { gap: 14px; } .find { width: 170px; } }
