/* dotpad — white, grey and black. Rubik for text, JetBrains Mono for numbers and labels. */
:root { --bg: #ffffff; --bg2: #f7f7f8; --card: #ffffff; --card2: #f7f7f8; --line: #ececf1; --line2: #d9d9e3; --text: #0d0d0d; --muted: #6e6e80; --dim: #9a9aa8; --up: #10a37f; --down: #ef4146; --warn: #d97706; --radius: 12px; --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: Rubik, "Segoe UI", system-ui, sans-serif; font-size: 14px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
img { display: block; }
.hidden { display: none !important; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); } .dim { color: var(--dim); } .up { color: var(--up); } .down { color: var(--down); }
.small { font-size: 12px; } .tiny { font-size: 11px; }
.lbl { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }

/* the dots: static on cards, hopping only where asked */
@keyframes dot-hop { 0%, 100% { transform: translateY(0) scale(1); } 30% { transform: translateY(-8px) scale(0.97, 1.04); } 60% { transform: translateY(0) scale(1.04, 0.95); } }
@keyframes sarge-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes sarge-pop { 0% { transform: scale(0.6); opacity: 0; } 70% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.dot-img { width: 56px; height: 56px; object-fit: contain; }
@keyframes dot-wobble { 0%, 100% { transform: rotate(0) translateY(0); } 25% { transform: rotate(-7deg) translateY(-3px); } 50% { transform: rotate(0) translateY(-6px) scale(1.03, 0.97); } 75% { transform: rotate(7deg) translateY(-3px); } }
@keyframes dot-squish { 0%, 100% { transform: scale(1, 1); } 40% { transform: scale(1.12, 0.88) translateY(4px); } 70% { transform: scale(0.94, 1.08) translateY(-8px); } }
@keyframes dot-peek { 0%, 100% { transform: translateX(0) rotate(0); } 30% { transform: translateX(-6px) rotate(-10deg); } 60% { transform: translateX(6px) rotate(10deg); } }
@keyframes dot-spin { 0%, 100% { transform: rotate(0) scale(1); } 20% { transform: translateY(-14px) rotate(-15deg); } 50% { transform: translateY(-20px) rotate(360deg) scale(1.05); } 80% { transform: translateY(0) scale(1.06, 0.94); } }
@keyframes dot-float { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-10px) rotate(3deg); } }
/* chosen: the pokemon pick, plays once when the look changes, then keeps wobbling */
@keyframes dot-chosen { 0% { transform: scale(0.6) rotate(-20deg); opacity: 0; } 25% { transform: scale(1.25) rotate(8deg); opacity: 1; } 40% { transform: scale(0.92) rotate(-6deg) translateY(4px); } 55% { transform: scale(1.1) translateY(-22px) rotate(4deg); } 70% { transform: scale(1) translateY(0) rotate(0); } 82% { transform: translateY(-10px) scale(1.04, 0.96); } 100% { transform: translateY(0) scale(1); } }
@keyframes dot-eager { 0%, 100% { transform: translateY(0) scale(1); } 15% { transform: translateY(-16px) scale(0.96, 1.06) rotate(-4deg); } 30% { transform: translateY(0) scale(1.08, 0.92); } 45% { transform: translateY(-10px) rotate(5deg); } 60% { transform: translateY(0) scale(1.05, 0.95); } 75% { transform: translateX(-5px) rotate(-6deg); } 88% { transform: translateX(5px) rotate(6deg); } }
.dot-img.hop { animation: dot-hop 1.6s ease-in-out infinite; }
.dot-img.m1 { animation: dot-hop 1.7s ease-in-out infinite; } .dot-img.m2 { animation: dot-wobble 2.6s ease-in-out infinite; } .dot-img.m3 { animation: dot-squish 2.2s ease-in-out infinite; }
.dot-img.m4 { animation: dot-peek 3s ease-in-out infinite; } .dot-img.m5 { animation: dot-spin 4.5s ease-in-out infinite; } .dot-img.m6 { animation: dot-float 2.8s ease-in-out infinite; }
.dot-img.chosen { animation: dot-chosen 1.3s cubic-bezier(0.3, 1.4, 0.5, 1) 1, dot-eager 2.4s ease-in-out 1.3s infinite; transform-origin: 50% 90%; }
.dot-img.off { filter: grayscale(1) opacity(0.55); }
.dot-img.big { width: 150px; height: 150px; }
.dot-img.sm { width: 40px; height: 40px; }
.dot-img.xs { width: 26px; height: 26px; }
.live { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--up); animation: pulse-dot 1.6s ease-in-out infinite; margin-right: 6px; vertical-align: middle; }
.live.off { background: var(--dim); animation: none; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; background: #e6f6f0; color: var(--up); font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; text-transform: uppercase; }
.pill.grey { background: var(--bg2); color: var(--muted); }

/* header */
.top { position: sticky; top: 12px; z-index: 20; padding: 0 16px; }
.top-in { position: relative; max-width: 1060px; margin: 0 auto; display: flex; align-items: center; gap: 14px; padding: 8px 10px 8px 16px; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06); }
body { padding-top: 12px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 17px; letter-spacing: -0.02em; }
.brand-mark { width: 30px; height: 30px; object-fit: contain; }
.nav { display: flex; gap: 2px; }
.nav a { padding: 6px 10px; border-radius: 8px; color: var(--muted); font-weight: 500; font-size: 13px; }
.nav a:hover, .nav a.on { color: var(--text); background: var(--bg2); }
.search { position: relative; flex: 1; max-width: 300px; margin-left: auto; }
.search input { width: 100%; padding: 8px 12px; border-radius: 9px; border: 1px solid var(--line); background: var(--bg2); outline: none; font-size: 13px; }
.search input:focus { border-color: var(--line2); background: #fff; }
.qres { position: absolute; top: 42px; left: 0; right: 0; background: #fff; border: 1px solid var(--line2); border-radius: 10px; overflow: hidden; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1); }
.qres a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.qres a:hover { background: var(--bg2); }
.qres img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.menu-btn { display: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line2); background: #fff; cursor: pointer; font-weight: 500; font-size: 13px; white-space: nowrap; transition: transform 0.08s, background 0.15s, border-color 0.15s; }
.btn:hover { background: var(--bg2); border-color: var(--text); } .btn:active { transform: translateY(1px); }
.btn.primary { background: var(--text); color: #fff; border-color: var(--text); } .btn.primary:hover { background: #2a2a2a; }
.btn.green { background: var(--up); color: #fff; border-color: var(--up); } .btn.green:hover { background: #0e8f70; }
.btn.up { background: var(--up); color: #fff; border-color: var(--up); } .btn.down { background: var(--down); color: #fff; border-color: var(--down); }
.btn.wide { width: 100%; padding: 11px; font-size: 14px; border-radius: 10px; }
.btn:disabled { opacity: 0.5; cursor: default; }
.btn.sm { padding: 5px 11px; font-size: 12px; }

main { flex: 1; width: 100%; max-width: 1160px; margin: 0 auto; padding: 22px 24px 60px; }
h1 { font-size: 34px; letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 12px; font-weight: 700; }
h2 { font-size: 18px; letter-spacing: -0.01em; margin: 0 0 12px; font-weight: 600; }
h3 { font-size: 14px; margin: 0 0 8px; font-weight: 600; }
p { margin: 0 0 10px; }
.lead { color: var(--muted); font-size: 14px; max-width: 520px; }

/* hero, like the reference: pill, two-line headline, copy, two buttons, four stats */
.hero { display: grid; grid-template-columns: 1fr 420px; gap: 30px; align-items: center; padding: 26px 0 10px; }
.hero h1 { font-size: 36px; }
.hero-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
/* the squad: leader in front, the others fanned behind on a soft grey disc */
.hero-art { position: relative; height: 320px; }
.hero-art::before { content: ""; position: absolute; left: 50%; top: 50%; width: 330px; height: 330px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, #f1f1f4 0%, #f7f7f8 55%, transparent 72%); }
.hero-art img { position: absolute; object-fit: contain; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.12)); }
.hero-art .lead-dot { left: 50%; top: 50%; width: 170px; height: 170px; margin: -70px 0 0 -85px; z-index: 2; animation: sarge-bob 3s ease-in-out infinite; }
.hero-art .d1 { left: 10%; top: 8%; width: 70px; height: 70px; animation: dot-hop 1.7s ease-in-out 0.1s infinite; } .hero-art .d2 { left: 36%; top: 0; width: 60px; height: 60px; animation: dot-wobble 2.6s ease-in-out 0.5s infinite; } .hero-art .d3 { left: 64%; top: 4%; width: 72px; height: 72px; animation: dot-spin 4.5s ease-in-out 0.9s infinite; } .hero-art .d4 { left: 84%; top: 22%; width: 62px; height: 62px; animation: dot-squish 2.2s ease-in-out 1.3s infinite; }
.hero-art .d5 { left: 2%; top: 42%; width: 64px; height: 64px; animation: dot-peek 3s ease-in-out 0.7s infinite; } .hero-art .d6 { left: 86%; top: 56%; width: 70px; height: 70px; animation: dot-float 2.8s ease-in-out 0.3s infinite; } .hero-art .d7 { left: 18%; top: 72%; width: 60px; height: 60px; animation: dot-squish 2.4s ease-in-out 1.1s infinite; } .hero-art .d8 { left: 68%; top: 76%; width: 66px; height: 66px; animation: dot-hop 1.9s ease-in-out 1.5s infinite; }
.stats { display: flex; gap: 40px; margin: 22px 0 26px; flex-wrap: wrap; }
.stat b { display: block; font-size: 20px; font-family: var(--mono); font-weight: 600; letter-spacing: -0.01em; }
.stat span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }

/* board: title + search + filter chips, then the grid */
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 22px 0 10px; flex-wrap: wrap; }
.sec-head h2 { margin: 0; } .sec-head h2 small { color: var(--dim); font-weight: 400; font-size: 12px; margin-left: 6px; font-family: var(--mono); }
.sec-tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.sec-tools input { padding: 7px 11px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg2); outline: none; font-size: 12px; width: 220px; }
.chips { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 12px; }
.chips button { padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--muted); cursor: pointer; font-size: 12px; font-weight: 500; }
.chips button:hover { border-color: var(--line2); color: var(--text); }
.chips button.on { color: var(--text); background: var(--bg2); border-color: var(--text); }
.chips button.on.green { color: var(--up); border-color: var(--up); background: #e6f6f0; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 13px 13px 11px; transition: border-color 0.15s, box-shadow 0.15s; display: block; overflow: hidden; }
.card:hover { border-color: var(--line2); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06); }
.card-top { display: flex; gap: 10px; align-items: center; padding-right: 60px; }
.logo { width: 38px; height: 38px; border-radius: 9px; object-fit: cover; background: var(--bg2); flex: none; }
.card-name { font-weight: 600; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-name .muted { font-weight: 400; }
.card-sub { font-size: 11px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-dot { position: absolute; right: 10px; top: 8px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.card-dot .dot-img { width: 52px; height: 52px; }
.card-dot .tiny { display: none; }
.card-big { margin-top: 14px; }
.card-big b { display: block; font-family: var(--mono); font-size: 18px; font-weight: 600; color: var(--up); letter-spacing: -0.01em; }
.card-big b small { font-size: 10px; color: var(--dim); font-weight: 500; margin-left: 3px; }
.card-kv { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 12px; }
.card-kv b { display: block; font-family: var(--mono); font-size: 12px; font-weight: 500; }
.bar { height: 3px; border-radius: 2px; background: var(--line); overflow: hidden; margin-top: 12px; }
.bar i { display: block; height: 100%; background: var(--up); border-radius: 2px; }
.bar.done i { background: var(--text); }
.card-foot { display: flex; justify-content: space-between; margin-top: 7px; font-family: var(--mono); font-size: 10px; color: var(--dim); }
.tag { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 10px; font-weight: 500; border: 1px solid var(--line2); color: var(--muted); font-family: var(--mono); }
.tag.on { color: var(--up); border-color: #b7e4d5; background: #e6f6f0; } .tag.off { color: var(--dim); }
.empty { padding: 50px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line2); border-radius: var(--radius); grid-column: 1 / -1; }
.empty .dot-img { margin: 0 auto 12px; }
.spark { width: 100%; height: 30px; margin-top: 8px; }

/* recent activity list under the board */
.list { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.list-row { display: grid; grid-template-columns: 50px 1fr auto; gap: 12px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 12px; }
.list-row:last-child { border-bottom: 0; }
.list-row .when { font-family: var(--mono); font-size: 10px; color: var(--dim); }
.list-row .who { display: flex; align-items: center; gap: 8px; min-width: 0; }
.list-row .who .dot-img { width: 22px; height: 22px; }
.list-row .what { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* token page */
.tok { display: grid; grid-template-columns: 1fr 330px; gap: 16px; align-items: start; }
.tok-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.tok-head .logo { width: 52px; height: 52px; }
.price { font-family: var(--mono); font-size: 24px; font-weight: 600; margin-left: auto; text-align: right; }
.price small { display: block; font-size: 12px; font-weight: 500; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.panel + .panel { margin-top: 12px; }
.chart-wrap { position: relative; height: 400px; border-radius: 8px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.chart { position: absolute; inset: 0; }
.tf { display: flex; gap: 2px; margin-bottom: 8px; flex-wrap: wrap; }
.tf button { padding: 3px 8px; font-size: 11px; font-family: var(--mono); border-radius: 6px; border: 1px solid transparent; background: transparent; color: var(--muted); cursor: pointer; }
.tf button.on { color: var(--text); border-color: var(--line2); background: var(--bg2); }
.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; margin-top: 12px; }
.kv div { background: var(--bg2); border-radius: 8px; padding: 9px 11px; }
.kv span { display: block; font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); } .kv b { font-family: var(--mono); font-weight: 600; font-size: 13px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 12px; }
.seg button { padding: 8px; border-radius: 8px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-weight: 600; color: var(--muted); }
.seg button.on.buy { background: #e6f6f0; color: var(--up); border-color: #b7e4d5; }
.seg button.on.sell { background: #fdecec; color: var(--down); border-color: #f5c2c4; }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 5px; }
.field input, .field textarea, .field select { width: 100%; padding: 10px 12px; border-radius: 9px; border: 1px solid var(--line); background: #fff; outline: none; }
.field input:focus, .field textarea:focus { border-color: var(--text); }
.field textarea { resize: vertical; min-height: 76px; }
.quick { display: flex; gap: 6px; margin: -4px 0 12px; }
.quick button { flex: 1; padding: 5px; border-radius: 6px; border: 1px solid var(--line); background: #fff; color: var(--muted); cursor: pointer; font-family: var(--mono); font-size: 11px; }
.quick button:hover { color: var(--text); border-color: var(--line2); }
.note { font-size: 12px; color: var(--muted); }
.trades { width: 100%; border-collapse: collapse; font-size: 12px; font-family: var(--mono); }
.trades td { padding: 7px 6px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.trades td:last-child { text-align: right; }

/* dot panel and feed */
.dot-card { display: flex; gap: 14px; align-items: center; }
.dot-card .dot-img { width: 76px; height: 76px; flex: none; }
.dot-name { font-weight: 700; font-size: 17px; }
.dot-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; margin-top: 12px; font-size: 12px; }
.dot-meta b { font-family: var(--mono); font-weight: 600; }
.post { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.post .dot-img { width: 40px; height: 40px; flex: none; }
.post-head { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.post-head b { color: var(--text); font-size: 13px; }
.post-body { margin-top: 3px; white-space: pre-wrap; word-break: break-word; font-size: 13px; }
.post-act { display: inline-block; margin-top: 6px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-family: var(--mono); border: 1px solid var(--line2); color: var(--muted); }
.post-act.buy { color: var(--up); border-color: #b7e4d5; background: #e6f6f0; } .post-act.sell { color: var(--down); border-color: #f5c2c4; background: #fdecec; }
.upv { margin-top: 6px; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; font-size: 11px; color: var(--muted); cursor: pointer; }
.upv:hover { color: var(--text); border-color: var(--line2); }
.feed-wrap { display: grid; grid-template-columns: 1fr 290px; gap: 16px; align-items: start; }
.dot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.dot-tile { text-align: center; padding: 18px 12px 14px; }
.dot-tile .dot-img { margin: 0 auto 10px; width: 72px; height: 72px; }

/* launch: form left, preview + summary + your dot right */
.launch { display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: start; }
.form-sec { margin-bottom: 18px; }
.form-sec h2 { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.form-sec h2 .n { display: inline-flex; width: 22px; height: 22px; border-radius: 50%; background: var(--text); color: #fff; font-size: 11px; align-items: center; justify-content: center; font-family: var(--mono); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.drop { border: 1px dashed var(--line2); border-radius: 10px; padding: 14px; text-align: center; color: var(--muted); cursor: pointer; display: flex; align-items: center; gap: 14px; justify-content: center; font-size: 12px; }
.drop img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; }
.drop.on { border-color: var(--text); color: var(--text); }
.side { position: sticky; top: 66px; display: flex; flex-direction: column; gap: 12px; }
.preview-card .card { pointer-events: none; }
.summary .line { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.summary .line:last-of-type { border-bottom: 0; }
.summary .line b { font-family: var(--mono); font-weight: 600; }
.your-dot .head { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.your-dot .head .dot-img { width: 56px; height: 56px; flex: none; }
.your-dot .field { margin-bottom: 9px; }
.your-dot .field input, .your-dot .field textarea { background: var(--bg2); }
.your-dot textarea { min-height: 64px; }
.progress-list { margin: 12px 0 0; padding: 0; list-style: none; }
.progress-list li { padding: 5px 0; font-size: 12px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.progress-list li.done { color: var(--text); } .progress-list li.now { color: var(--warn); }
.progress-list li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--line2); flex: none; }
.progress-list li.done::before { background: var(--up); } .progress-list li.now::before { background: var(--warn); animation: pulse-dot 1s ease-in-out infinite; }

/* how / analytics */
.how { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; margin-top: 16px; }
.how .panel h3 { display: flex; gap: 10px; align-items: center; }
.how .panel .dot-img { width: 38px; height: 38px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th { text-align: left; color: var(--dim); font-weight: 500; font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 10px; border-bottom: 1px solid var(--line); }
.tbl td.mono, .tbl th.r { text-align: right; }
.bars { display: flex; gap: 4px; align-items: flex-end; height: 90px; margin-top: 10px; }
.bars i { flex: 1; background: var(--text); border-radius: 3px 3px 0 0; min-height: 2px; position: relative; }
.bars i span { position: absolute; bottom: -18px; left: 0; right: 0; text-align: center; font-size: 9px; color: var(--dim); font-family: var(--mono); }

.foot { padding: 0 24px 26px; }
.foot-in { max-width: 1060px; margin: 0 auto; border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; display: flex; justify-content: space-between; gap: 14px; color: var(--muted); font-size: 12px; align-items: center; flex-wrap: wrap; background: var(--bg2); }
.foot-in > div:first-child { display: flex; align-items: center; gap: 8px; }
.foot-x, .nav-x { display: inline-flex; align-items: center; gap: 6px; }
.nav-x { padding: 6px 10px; border-radius: 8px; color: var(--muted); } .nav-x:hover { color: var(--text); background: var(--bg2); }
.foot-dot { width: 18px; height: 18px; object-fit: contain; }
.foot-links { display: flex; gap: 16px; align-items: center; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--text); color: #fff; border-radius: 10px; padding: 11px 16px; z-index: 50; max-width: 90vw; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2); animation: sarge-pop 0.25s ease-out; font-size: 13px; }
.toast.err { background: var(--down); }

@media (max-width: 1000px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .hero, .tok, .feed-wrap, .launch { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .side { position: static; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; position: absolute; top: 52px; left: 0; right: 0; flex-direction: column; background: #fff; border-bottom: 1px solid var(--line); padding: 10px; }
  .nav.open { display: flex; }
  .menu-btn { display: flex; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
  .menu-btn span { display: block; width: 20px; height: 2px; background: var(--text); }
  .search { max-width: none; }
  .launch-cta { display: none; }
  h1, .hero h1 { font-size: 28px; }
  .top { gap: 10px; padding: 10px 14px; } main { padding: 16px 14px 50px; }
}
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } .stats { gap: 22px; } }

/* launch card */
.lcard { display: grid; grid-template-columns: 1fr 380px; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.lform { padding: 28px 30px 26px; border-right: 1px solid var(--line); }
.lform h1 { font-size: 26px; margin-bottom: 18px; }
.lside { background: var(--bg2); padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.ptok { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.ptok .logo { width: 64px; height: 64px; border-radius: 14px; }
.ptok h2 { font-size: 22px; margin: 14px 0 0; } .ptok .ticker { color: var(--muted); font-size: 13px; }
.ptok .line { display: flex; justify-content: space-between; padding: 9px 0; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.ptok .line b { color: var(--text); font-weight: 500; font-family: var(--mono); }
.ptok .lines { margin-top: 14px; }
.prefix { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 9px; background: #fff; padding-left: 12px; }
.prefix span { color: var(--text); font-weight: 500; font-size: 13px; white-space: nowrap; }
.prefix input { border: 0 !important; padding-left: 2px !important; background: transparent !important; }
.prefix:focus-within { border-color: var(--text); }
.pair { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; background: var(--bg2); font-weight: 500; }
.pair img { width: 18px; height: 18px; border-radius: 50%; }
.devbuy { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; }
.devbuy input { border: 0; outline: none; font-size: 22px; font-family: var(--mono); width: 100%; padding: 0; background: transparent; }
.devbuy .unit { font-weight: 600; font-size: 13px; display: flex; align-items: center; gap: 6px; }
.devbuy .unit img { width: 16px; height: 16px; border-radius: 50%; }
.devbuy .avail { font-size: 11px; color: var(--muted); }
.devbuy .max { justify-self: end; background: #e6f6f0; color: var(--up); border: 0; border-radius: 6px; padding: 2px 8px; font-size: 11px; font-weight: 600; cursor: pointer; }
.adv { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 14px 0; }
.adv summary { list-style: none; cursor: pointer; padding: 14px 0; font-weight: 600; display: flex; justify-content: space-between; }
.adv summary::-webkit-details-marker { display: none; }
.adv summary::after { content: "⌄"; color: var(--muted); }
.adv[open] summary::after { content: "⌃"; }
.adv .field { margin-top: 4px; }
.due { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin: 8px 0 10px; }
@media (max-width: 900px) { .lcard { grid-template-columns: 1fr; } .lform { border-right: 0; border-bottom: 1px solid var(--line); } .hero-art { display: block; height: 260px; } }

/* paired asset picker */
.pairpick { position: relative; }
.pairpick .pair { cursor: pointer; justify-content: space-between; background: #fff; }
.pairpick .pair .l { display: flex; align-items: center; gap: 8px; }
.pairpick .pair .l img { width: 20px; height: 20px; border-radius: 50%; background: var(--bg2); object-fit: cover; }
.pairmenu { position: absolute; z-index: 10; top: 46px; left: 0; right: 0; background: #fff; border: 1px solid var(--line2); border-radius: 12px; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12); overflow: hidden; }
.pairmenu input { width: 100%; border: 0; border-bottom: 1px solid var(--line); padding: 10px 12px; outline: none; }
.pairmenu .list { max-height: 260px; overflow: auto; }
.pairmenu .opt { display: flex; align-items: center; gap: 10px; padding: 8px 12px; cursor: pointer; font-size: 13px; }
.pairmenu .opt:hover { background: var(--bg2); }
.pairmenu .opt img { width: 22px; height: 22px; border-radius: 50%; background: var(--bg2); object-fit: cover; }
.pairmenu .opt .n { color: var(--muted); font-size: 11px; margin-left: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
.pairmenu .grp { padding: 6px 12px 2px; font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.card-pair { display: inline-flex; align-items: center; gap: 4px; font-family: var(--mono); font-size: 10px; color: var(--muted); }
.card-pair img { width: 12px; height: 12px; border-radius: 50%; }

/* ── the trench: a movie theater. Dark room, glowing screen up top, rows of red seats stepping up, every dot in its seat. ── */
.trench { position: relative; height: 600px; border-radius: 22px; overflow: hidden; border: 1px solid #1a1a22; margin: 6px 0 10px; user-select: none; background: radial-gradient(ellipse 70% 40% at 50% 0%, #2a2f4a 0%, #11121c 45%, #08080d 100%); }
.trench .screen { position: absolute; left: 6%; right: 6%; top: 18px; height: 54px; border-radius: 8px; background: linear-gradient(#fdfdff, #dfe4ff); box-shadow: 0 0 40px rgba(210, 220, 255, 0.55), 0 0 120px rgba(160, 180, 255, 0.35); overflow: hidden; z-index: 5; }
.trench .screen-glow { position: absolute; left: -10%; right: -10%; top: 100%; height: 320px; background: linear-gradient(rgba(190, 205, 255, 0.28), transparent); clip-path: polygon(10% 0, 90% 0, 120% 100%, -20% 100%); pointer-events: none; }
.trench .marquee { position: absolute; inset: 0; display: flex; align-items: center; overflow: hidden; font-family: Rubik, sans-serif; font-size: 14px; color: #0d0d0d; }
.trench .marquee .track { display: flex; gap: 40px; white-space: nowrap; animation: marquee 28s linear infinite; padding-left: 20px; }
.trench .marquee span { display: inline-flex; gap: 8px; align-items: center; } .trench .marquee b { font-weight: 700; } .trench .marquee em { font-style: normal; } .trench .marquee em.up { color: var(--up); } .trench .marquee em.down { color: var(--down); }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.theater { --s: 1; position: absolute; left: 50%; bottom: 56px; width: 1240px; transform: translateX(-50%) scale(var(--s)); transform-origin: 50% 100%; }
.row { position: relative; width: calc(100% - var(--d) * 60px); margin: 0 auto; z-index: calc(10 - var(--d)); margin-bottom: -4px; }
.row .seats { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; padding: 0 16px; position: relative; z-index: 2; }
/* the step in front of each row, with little aisle lights */
.row .step { position: relative; height: 34px; margin-top: -6px; background: linear-gradient(#1b1b26, #101018); border-top: 2px solid #2a2a38; border-radius: 4px; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6); display: flex; justify-content: space-between; align-items: center; padding: 0 30px; }
.row .step i { width: 6px; height: 6px; border-radius: 50%; background: #ffcc66; box-shadow: 0 0 8px #ffb84d, 0 0 16px rgba(255, 184, 77, 0.6); animation: pulse-dot 3s ease-in-out infinite; }
.row .step i:nth-child(2n) { animation-delay: 1.2s; }
/* a seat: red back, cushion in front, armrests via borders */
.seat { display: block; position: relative; height: 150px; text-align: center; transition: transform 0.18s; }
.seat:hover { transform: translateY(-4px); }
.seat .back { position: absolute; left: 10px; right: 10px; top: 24px; height: 96px; border-radius: 22px 22px 8px 8px; background: linear-gradient(#a3253a, #6e1526); border: 2px solid #4a0e1c; box-shadow: inset 0 10px 18px rgba(255, 255, 255, 0.12), inset 0 -14px 20px rgba(0, 0, 0, 0.35), 0 6px 14px rgba(0, 0, 0, 0.5); }
.seat .cushion { position: absolute; left: 4px; right: 4px; bottom: 6px; height: 34px; border-radius: 10px 10px 12px 12px; background: linear-gradient(#8f1f34, #5a1020); border: 2px solid #3f0b18; box-shadow: 0 6px 12px rgba(0, 0, 0, 0.55); z-index: 3; }
.seat .cushion::before, .seat .cushion::after { content: ""; position: absolute; top: -18px; width: 12px; height: 46px; border-radius: 6px; background: linear-gradient(#3a2a2a, #1e1515); }
.seat .cushion::before { left: -6px; } .seat .cushion::after { right: -6px; }
.seat .tdot { position: absolute; left: 50%; top: 10px; width: 100px; height: 100px; margin-left: -50px; object-fit: contain; z-index: 2; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.6)) brightness(1.08); transform-origin: 50% 100%; }
.seat .tdot.off { filter: grayscale(1) brightness(0.55); animation: none !important; }
.seat .tdot.m1 { animation: dot-hop 1.7s ease-in-out infinite; } .seat .tdot.m2 { animation: dot-wobble 2.6s ease-in-out infinite; } .seat .tdot.m3 { animation: dot-squish 2.2s ease-in-out infinite; } .seat .tdot.m4 { animation: dot-peek 3s ease-in-out infinite; } .seat .tdot.m5 { animation: dot-spin 4.5s ease-in-out infinite; } .seat .tdot.m6 { animation: dot-float 2.8s ease-in-out infinite; }
.seat .ticket { position: absolute; left: 50%; bottom: 4px; transform: translateX(-50%); z-index: 4; display: inline-flex; align-items: center; gap: 5px; max-width: 150px; background: #fff8e6; color: #0d0d0d; border-radius: 6px; padding: 2px 8px 2px 4px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.02em; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); white-space: nowrap; overflow: hidden; border: 1px dashed #d8c9a0; }
.seat .ticket img { width: 16px; height: 16px; border-radius: 50%; object-fit: cover; flex: none; } .seat .ticket b { font-weight: 700; } .seat .ticket span { color: #6e6e80; overflow: hidden; text-overflow: ellipsis; }
.seat .ticket .st { width: 6px; height: 6px; border-radius: 50%; background: var(--up); flex: none; animation: pulse-dot 1.6s ease-in-out infinite; } .seat .ticket .st.off { background: var(--dim); animation: none; }
.seat.vacant .back { background: linear-gradient(#5a1a28, #3a0d17); border-color: #2b0810; opacity: 0.85; }
.seat.vacant .cushion { background: linear-gradient(#4f1522, #330a12); }
.seat.vacant .ticket { color: #6e6e80; background: rgba(255, 248, 230, 0.85); padding-left: 8px; }
.seat.vacant:hover .ticket { color: var(--up); }
.bubble { position: absolute; bottom: 118px; left: 50%; transform: translateX(-50%); width: 176px; background: #fff; color: #0d0d0d; border-radius: 14px; padding: 8px 10px; font-size: 11px; line-height: 1.3; text-align: left; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5); z-index: 30; animation: sarge-pop 0.25s ease-out; }
.bubble::after { content: ""; position: absolute; bottom: -8px; left: 50%; margin-left: -6px; border: 6px solid transparent; border-top-color: #fff; border-bottom: 0; }
.bubble b { display: block; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 2px; }
.bubble.buy b { color: var(--up); } .bubble.sell b { color: var(--down); }
.trench .exit { position: absolute; right: 22px; top: 88px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; color: #ff5a5a; background: #2a0a0a; border: 1px solid #5a1a1a; padding: 3px 8px; border-radius: 4px; box-shadow: 0 0 12px rgba(255, 90, 90, 0.5); }
.trench-label { position: absolute; left: 18px; bottom: 14px; color: #fff; font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; display: flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 999px; padding: 5px 11px; backdrop-filter: blur(6px); }
.trench-label .live { background: var(--up); }
.trench-hint { position: absolute; right: 18px; bottom: 16px; color: rgba(255, 255, 255, 0.45); font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; }
@media (max-width: 700px) { .trench-hint { display: none; } .trench .marquee { font-size: 11px; } }

/* card watermark: the coin's dot, huge and faint, bottom right, like the reference cards */
.card { isolation: isolate; }
.card-wm { position: absolute; right: -14px; bottom: -14px; width: 120px; height: 120px; object-fit: contain; opacity: 0.08; filter: grayscale(1) contrast(1.1); pointer-events: none; transform: rotate(-8deg); transition: opacity 0.2s; z-index: 0; }
.card:hover .card-wm { opacity: 0.14; }
.card > *:not(.card-wm):not(.card-dot) { position: relative; z-index: 1; }
.card-dot { position: absolute; z-index: 2; }

/* the family photo in the hero */
.hero-art.family { height: auto; }
.hero-art.family::before { display: none; }
.family-pic { position: static; width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(13, 13, 13, 0.12); animation: none; filter: none; display: block; }
@media (max-width: 900px) { .hero-art.family { display: block; height: auto; } }

/* no blinking dots anywhere */
.live { display: none !important; }
.st, .seat .ticket .st { animation: none !important; }
/* token stats on one line */
.kv { display: flex; flex-wrap: nowrap; gap: 6px; overflow-x: auto; margin-top: 12px; }
.kv div { flex: 1 1 0; min-width: 0; padding: 8px 10px; white-space: nowrap; }
.kv span { font-size: 8.5px; } .kv b { font-size: 12px; }
/* portfolio rows */
.port { display: flex; flex-direction: column; gap: 4px; }
.prow { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; padding: 7px 8px; border-radius: 10px; background: var(--bg2); font-size: 12px; }
.prow:hover { background: #efeff3; }
.prow img, .prow i { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: var(--line); display: block; }
.prow span { min-width: 0; display: flex; flex-direction: column; } .prow small { color: var(--muted); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prow em { font-style: normal; font-family: var(--mono); text-align: right; display: flex; flex-direction: column; font-weight: 600; }
/* leaderboard */
.lb .lb-dot { display: inline-flex; align-items: center; gap: 8px; }
.lb td { vertical-align: middle; }
/* a little less plain: header accent and price chip */
.tok-head { padding: 14px 16px; border-radius: 16px; background: linear-gradient(90deg, #ffffff, #f7f7f8); border: 1px solid var(--line); }
.price { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px 14px; }

.trench .screen, .trench .exit { display: none; }
.seat .ticket { display: none; }
.trench { background: radial-gradient(ellipse 70% 30% at 50% 0%, #2a2f4a 0%, #11121c 40%, #08080d 100%); }
.trench .glow { position: absolute; left: 0; right: 0; top: 0; height: 180px; background: linear-gradient(rgba(190, 205, 255, 0.22), transparent); pointer-events: none; }
/* leaderboard: compact list with medals */
.lb-list { display: flex; flex-direction: column; gap: 6px; }
.lb-row { display: grid; grid-template-columns: 26px 34px 1fr auto; gap: 8px; align-items: center; padding: 6px 8px; border-radius: 10px; background: var(--bg2); font-size: 12px; }
.lb-row .rk { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 10px; font-weight: 700; color: var(--muted); background: #fff; border: 1px solid var(--line); }
.lb-row .rk.g { background: linear-gradient(135deg, #ffe680, #d4a017); color: #3d2a00; border-color: #c9981a; box-shadow: 0 2px 6px rgba(212, 160, 23, 0.4); }
.lb-row .rk.s { background: linear-gradient(135deg, #f4f4f7, #b8bcc8); color: #2b2f3a; border-color: #a6abb8; box-shadow: 0 2px 6px rgba(160, 165, 180, 0.4); }
.lb-row .rk.b { background: linear-gradient(135deg, #f0b98a, #a9642a); color: #3a1e05; border-color: #a06029; box-shadow: 0 2px 6px rgba(169, 100, 42, 0.4); }
.lb-row .dot-img { width: 34px; height: 34px; }
.lb-row .who { min-width: 0; display: flex; flex-direction: column; } .lb-row .who small { color: var(--muted); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-row .val { font-family: var(--mono); font-weight: 600; text-align: right; display: flex; flex-direction: column; } .lb-row .val small { color: var(--muted); font-weight: 400; font-size: 10px; }

/* moods: how a dot moves says how its coin is doing */
@keyframes mood-thriving { 0%, 100% { transform: translateY(0) scale(1); } 20% { transform: translateY(-18px) scale(0.95, 1.08) rotate(-4deg); } 40% { transform: translateY(0) scale(1.1, 0.9); } 60% { transform: translateY(-10px) rotate(4deg); } 80% { transform: translateY(0) scale(1.04, 0.96); } }
@keyframes mood-worried { 0%, 100% { transform: translateX(0) rotate(0); } 10% { transform: translateX(-2px) rotate(-2deg); } 20% { transform: translateX(2px) rotate(2deg); } 30% { transform: translateX(-2px) rotate(-1deg); } 40% { transform: translateX(2px) rotate(1deg); } 50% { transform: translateX(0); } 75% { transform: translateY(3px) scale(1.02, 0.98); } }
@keyframes mood-desperate { 0%, 100% { transform: translate(0, 4px) rotate(0) scale(1, 0.96); } 8% { transform: translate(-4px, 4px) rotate(-5deg) scale(1, 0.96); } 16% { transform: translate(4px, 4px) rotate(5deg) scale(1, 0.96); } 24% { transform: translate(-4px, 4px) rotate(-5deg); } 32% { transform: translate(4px, 4px) rotate(5deg); } 40% { transform: translate(0, 6px) scale(1.05, 0.9); } 70% { transform: translate(0, 2px) scale(0.98, 1.02); } }
@keyframes mood-dying { 0%, 100% { transform: translateY(8px) scale(1, 0.9) rotate(0); opacity: 0.85; } 50% { transform: translateY(14px) scale(1.04, 0.84) rotate(-3deg); opacity: 0.6; } }
.dot-img.mood-thriving, .tdot.mood-thriving { animation: mood-thriving 1.4s ease-in-out infinite; }
.dot-img.mood-worried, .tdot.mood-worried { animation: mood-worried 1.6s ease-in-out infinite; }
.dot-img.mood-desperate, .tdot.mood-desperate { animation: mood-desperate 0.9s ease-in-out infinite; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.5)) saturate(0.8); }
.dot-img.mood-dying, .tdot.mood-dying { animation: mood-dying 3s ease-in-out infinite; filter: grayscale(0.6) drop-shadow(0 8px 10px rgba(0, 0, 0, 0.5)); }
.dot-img.mood-dead { filter: grayscale(1) opacity(0.45); animation: none; }
.mood { display: inline-block; padding: 2px 8px; border-radius: 999px; font-family: var(--mono); font-size: 10px; border: 1px solid var(--line2); color: var(--muted); }
.mood.thriving { color: var(--up); border-color: #b7e4d5; background: #e6f6f0; }
.mood.worried { color: var(--warn); border-color: #f3d9a4; background: #fff6e6; }
.mood.desperate, .mood.dying { color: var(--down); border-color: #f5c2c4; background: #fdecec; }
.post-body.cry { color: var(--down); }
@keyframes tear-fall { 0% { transform: translateY(0) scaleY(0.6); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(46px) scaleY(1.2); opacity: 0; } }
.seat .tear { position: absolute; left: 50%; top: 52px; margin-left: 14px; width: 8px; height: 12px; border-radius: 50% 50% 50% 50% / 30% 30% 70% 70%; background: linear-gradient(#bfe1ff, #4aa3ff); z-index: 3; animation: tear-fall 1.6s ease-in infinite; }
.seat .tear.worried { animation-duration: 3s; opacity: 0.8; }
.seat .tear.dying { animation-duration: 2.4s; }

/* ── dot profile ── */
.phero { display: grid; grid-template-columns: 220px 1fr; gap: 22px; align-items: center; padding: 26px 28px; border-radius: 22px; border: 1px solid var(--line); background: radial-gradient(ellipse 60% 120% at 0% 50%, var(--t1), transparent 70%), linear-gradient(120deg, #ffffff, #f7f7f8); position: relative; overflow: hidden; }
.phero::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, var(--t2), transparent 70%); opacity: 0.18; pointer-events: none; }
.phero-dot { display: flex; justify-content: center; align-items: center; height: 190px; border-radius: 50%; background: radial-gradient(circle, #fff 30%, transparent 70%); }
.phero-dot .dot-img { width: 170px; height: 170px; filter: drop-shadow(0 18px 16px rgba(13, 13, 13, 0.18)); }
.phero-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.phero-top h1 { font-size: 40px; margin: 0 6px 0 0; }
.phero-coin { display: flex; align-items: center; gap: 8px; margin-top: 6px; color: var(--muted); }
.phero-coin img { width: 22px; height: 22px; border-radius: 6px; object-fit: cover; }
.phero-coin a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line2); }
.phero-persona { margin: 10px 0 0; max-width: 560px; color: var(--muted); font-size: 13px; }
.phero-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; position: relative; z-index: 1; }
.pstats { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin: 12px 0; }
.pstat { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; min-width: 0; }
.pstat b { display: block; font-family: var(--mono); font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pstat span { font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.pgrid { display: grid; grid-template-columns: 1fr 340px; gap: 14px; align-items: start; }
.prow.trade i { display: flex; align-items: center; justify-content: center; font-style: normal; font-family: var(--mono); font-size: 11px; font-weight: 700; color: #fff; background: var(--up); }
.prow.trade i.sell { background: var(--down); }
/* chat */
.chatp { padding: 0; overflow: hidden; }
.chat-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.chat-head h3 { margin: 0; }
.clog { height: 360px; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--bg2); }
.cmsg { display: flex; gap: 8px; align-items: flex-end; max-width: 86%; }
.cmsg .dot-img { width: 30px; height: 30px; flex: none; }
.cmsg .cb { background: #fff; border: 1px solid var(--line); border-radius: 16px 16px 16px 4px; padding: 9px 12px; font-size: 13px; line-height: 1.4; white-space: pre-wrap; word-break: break-word; }
.cmsg.me { align-self: flex-end; } .cmsg.me .cb { background: var(--text); color: #fff; border-color: var(--text); border-radius: 16px 16px 4px 16px; }
.cmsg .cb.typing { color: var(--muted); font-style: italic; }
.cmsg .cb.typing::after { content: "…"; }
.cempty { margin: auto; text-align: center; color: var(--muted); max-width: 360px; font-size: 13px; }
.cempty .dot-img { margin: 0 auto 8px; }
.csug { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 10px; }
.csug button { border: 1px solid var(--line2); background: #fff; border-radius: 999px; padding: 5px 11px; font-size: 12px; cursor: pointer; color: var(--text); }
.csug button:hover { border-color: var(--text); }
.cform { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); background: #fff; }
.cform input { flex: 1; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg2); outline: none; }
.cform input:focus { border-color: var(--text); background: #fff; }
@media (max-width: 900px) { .phero { grid-template-columns: 1fr; text-align: center; } .phero-top, .phero-coin, .phero-actions { justify-content: center; } .phero-persona { margin-left: auto; margin-right: auto; } .pstats { grid-template-columns: repeat(3, 1fr); } .pgrid { grid-template-columns: 1fr; } .phero-top h1 { font-size: 30px; } }

/* only the main character images move: the hero squad, the big profile and coin-page dot, the launch preview and the theater seats. Every small avatar stays still. */
.post .dot-img, .list-row .dot-img, .how .dot-img, .qres .dot-img, .cmsg .dot-img, .cempty .dot-img, .lb-row .dot-img, .card .dot-img, .dot-img.xs, .dot-img.sm, .dot-img.still, .empty .dot-img { animation: none !important; }

/* the chevron logo is wide, not square */
.brand-mark { width: 40px; height: 26px; object-fit: contain; animation: none; }
.foot-dot { width: 30px; height: 18px; object-fit: contain; animation: none; }

/* token stats: six across, no scrollbar */
.kv { display: grid !important; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; overflow: visible; margin-top: 12px; }
.kv div { min-width: 0; padding: 8px 9px; white-space: normal; }
.kv span { font-size: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .kv b { font-size: 11.5px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 700px) { .kv { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* status chips */
.stchip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; border: 1px solid var(--line); background: #fff; color: var(--muted); vertical-align: middle; }
.stchip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--dim); }
.stchip.on { color: #0a7c60; border-color: #b7e4d5; background: #e6f6f0; } .stchip.on::before { background: var(--up); box-shadow: 0 0 0 3px rgba(16, 163, 127, 0.18); }
.moodchip { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; border-radius: 999px; font-size: 11px; border: 1px solid var(--line); background: #fff; color: var(--muted); vertical-align: middle; max-width: 100%; }
.moodchip b { padding: 2px 9px; border-radius: 999px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; background: var(--muted); }
.moodchip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.moodchip em { font-style: normal; font-family: var(--mono); font-size: 10px; color: var(--dim); padding-left: 8px; border-left: 1px solid var(--line); white-space: nowrap; }
.moodchip.thriving { border-color: #b7e4d5; background: #f1fbf7; } .moodchip.thriving b { background: var(--up); }
.moodchip.steady b { background: #6e6e80; }
.moodchip.worried { border-color: #f3d9a4; background: #fffaf0; } .moodchip.worried b { background: #d97706; }
.moodchip.desperate, .moodchip.dying { border-color: #f5c2c4; background: #fff5f5; color: #9b2c2c; } .moodchip.desperate b, .moodchip.dying b { background: var(--down); }
.phero-top { row-gap: 8px; }
/* chat header with the dot's feeling */
.chat-who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.chat-who .dot-img { width: 46px; height: 46px; flex: none; }
.chat-who h3 { margin: 0 0 4px; }
.cmsg .cb.m-thriving { border-left: 3px solid var(--up); } .cmsg .cb.m-worried { border-left: 3px solid #d97706; } .cmsg .cb.m-desperate, .cmsg .cb.m-dying { border-left: 3px solid var(--down); background: #fff8f8; }
/* a shorter, denser theater: 4 rows of 10 */
.row .seats { grid-template-columns: repeat(10, 1fr) !important; gap: 6px !important; padding: 0 12px !important; }
.seat { height: 112px !important; }
.seat .back { left: 8px !important; right: 8px !important; top: 18px !important; height: 72px !important; border-radius: 16px 16px 6px 6px !important; }
.seat .cushion { height: 24px !important; bottom: 4px !important; }
.seat .cushion::before, .seat .cushion::after { top: -14px !important; height: 34px !important; width: 9px !important; }
.seat .tdot { width: 74px !important; height: 74px !important; margin-left: -37px !important; top: 8px !important; }
.seat .tear { top: 40px !important; }
.row .step { height: 22px !important; }
.row { margin-bottom: -2px !important; }
.bubble { bottom: 92px !important; width: 160px !important; }
/* ── how it works: walkthrough ── */
.whero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: center; padding: 30px 32px; border-radius: 24px; border: 1px solid var(--line); background: radial-gradient(ellipse 50% 90% at 100% 0%, rgba(16, 163, 127, 0.12), transparent 70%), linear-gradient(120deg, #fff, #f7f7f8); }
.whero h1 { font-size: 38px; }
.wkick { display: inline-block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--up); background: #e6f6f0; border-radius: 999px; padding: 4px 10px; margin-bottom: 12px; }
.whero-dots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; justify-items: center; }
.whero-dots .dot-img { width: 96px; height: 96px; filter: drop-shadow(0 12px 12px rgba(13, 13, 13, 0.14)); }
.wfacts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 12px 0 26px; }
.wfacts div { background: var(--text); color: #fff; border-radius: 14px; padding: 12px 14px; }
.wfacts b { display: block; font-family: var(--mono); font-size: 20px; } .wfacts span { font-size: 11px; color: rgba(255, 255, 255, 0.65); }
.wflow { position: relative; }
.wstep { display: grid; grid-template-columns: 56px 1fr; gap: 0; }
.wrail { position: relative; display: flex; justify-content: center; }
.wrail::before { content: ""; position: absolute; top: 0; bottom: 0; width: 2px; background: var(--line2); }
.wstep:first-child .wrail::before { top: 28px; } .wstep:last-child .wrail::before { bottom: calc(100% - 28px); }
.wnum { position: relative; z-index: 1; margin-top: 18px; width: 36px; height: 36px; border-radius: 50%; background: var(--text); color: #fff; font-family: var(--mono); font-weight: 600; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 6px var(--bg); }
.wcard { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 22px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px 96px 20px 22px; margin-bottom: 14px; transition: border-color 0.15s, box-shadow 0.15s; }
.wcard:hover { border-color: var(--line2); box-shadow: 0 10px 30px rgba(13, 13, 13, 0.06); }
.wcard h2 { font-size: 20px; margin-bottom: 8px; } .wcard p { color: var(--muted); font-size: 13.5px; }
.wdot { position: absolute; right: 16px; top: 16px; } .wdot .dot-img { width: 64px; height: 64px; animation: none; filter: drop-shadow(0 8px 8px rgba(13, 13, 13, 0.12)); }
.wvis { min-width: 0; }
.wmini { background: var(--bg2); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.wmini.form { display: flex; flex-direction: column; gap: 7px; } .wmini.form i { height: 12px; border-radius: 6px; background: var(--line2); } .wmini.form i.s { width: 60%; } .wmini.form b { margin-top: 4px; background: var(--up); color: #fff; border-radius: 8px; padding: 7px; text-align: center; font-size: 12px; }
.wmini.wallet { display: flex; flex-direction: column; gap: 2px; } .wmini.wallet span { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--dim); } .wmini.wallet b { font-family: var(--mono); font-size: 24px; } .wmini.wallet em { font-style: normal; font-size: 12px; color: var(--up); }
.wmini.flow { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; } .wmini.flow span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; } .wmini.flow span.g { background: var(--up); color: #fff; border-color: var(--up); } .wmini.flow u { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--line2) 0 6px, transparent 6px 10px); text-decoration: none; }
.wsplit { display: flex; height: 10px; border-radius: 5px; overflow: hidden; margin-top: 10px; background: var(--text); } .wsplit i { background: var(--up); } .wsplit-l { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10px; color: var(--muted); margin-top: 4px; }
.wmini.think { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; } .wmini.think span { font-size: 11px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 4px 8px; } .wmini.think b { flex-basis: 100%; text-align: center; background: var(--text); color: #fff; border-radius: 8px; padding: 6px; font-size: 12px; }
.wmini.trades { display: flex; flex-direction: column; gap: 6px; padding: 10px; } .wmini.trades div { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 10px; padding: 7px 9px; font-size: 12px; font-weight: 600; } .wmini.trades em { margin-left: auto; font-style: normal; font-family: var(--mono); font-weight: 400; color: var(--muted); } .wmini.trades i { width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-style: normal; font-family: var(--mono); font-size: 10px; color: #fff; background: var(--up); } .wmini.trades i.s { background: var(--down); }
.wmini.life { display: flex; align-items: center; gap: 12px; justify-content: center; } .wmini.life .dot-img { width: 62px; height: 62px; } .wmini.life u { flex: 1; max-width: 90px; height: 2px; background: repeating-linear-gradient(90deg, var(--up) 0 6px, transparent 6px 10px); }
.wchat { display: flex; flex-direction: column; gap: 8px; }
.wchat > div { display: flex; align-items: flex-end; gap: 8px; max-width: 95%; } .wchat .r { align-self: flex-end; }
.wchat .dot-img { width: 30px; height: 30px; flex: none; animation: none; }
.wchat span { background: var(--bg2); border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; padding: 8px 11px; font-size: 12.5px; }
.wchat .r span { background: var(--text); color: #fff; border-color: var(--text); border-radius: 14px 14px 4px 14px; }
.wchat .cry span { background: #fff5f5; border-color: #f5c2c4; color: #9b2c2c; }
.wmoods { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.wmoods > div { text-align: center; background: var(--bg2); border-radius: 12px; padding: 10px 6px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.wmoods .dot-img { width: 50px; height: 50px; } .wmoods span { font-size: 10.5px; color: var(--muted); line-height: 1.3; }
.wfaq { margin-top: 20px; } .wfaq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.wfaq-grid > div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; } .wfaq-grid p { color: var(--muted); font-size: 13px; margin: 0; }
@media (max-width: 900px) { .whero, .wcard { grid-template-columns: 1fr; } .wfacts { grid-template-columns: repeat(2, 1fr); } .wmoods { grid-template-columns: repeat(2, 1fr); } .wfaq-grid { grid-template-columns: 1fr; } .wcard { padding-right: 22px; } .wdot { position: static; } .wstep { grid-template-columns: 44px 1fr; } .whero h1 { font-size: 28px; } }

/* status chips inside the narrow dot panel wrap instead of overflowing */
.dot-card .small.muted { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.dot-card .moodchip { flex-wrap: wrap; border-radius: 14px; row-gap: 4px; padding-right: 8px; }
.dot-card .moodchip span { white-space: normal; }
.dot-card .moodchip em { border-left: 0; padding-left: 0; flex-basis: 100%; padding-left: 4px; }
.dot-card { align-items: flex-start; }
/* bubbles at the ends of a row stay inside the theater */
.seat:first-child .bubble { left: 0; transform: none; } .seat:first-child .bubble::after { left: 40px; }
.seat:last-child .bubble { left: auto; right: 0; transform: none; } .seat:last-child .bubble::after { left: auto; right: 34px; }

a.stchip::before { display: none; } a.stchip { padding-left: 10px; color: var(--text); } a.stchip:hover { border-color: var(--text); }

/* consent dialog */
.consent { position: fixed; inset: 0; z-index: 100; background: rgba(13, 13, 13, 0.55); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; padding: 16px; }
.consent-box { width: 100%; max-width: 440px; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35); animation: sarge-pop 0.25s ease-out; }
.consent-art { height: 150px; display: flex; align-items: flex-end; justify-content: center; gap: 2px; padding-bottom: 10px; background: radial-gradient(ellipse 70% 80% at 50% 100%, #e6f6f0, #f7f7f8 70%); border-bottom: 1px solid var(--line); }
.consent-art img { width: 92px; height: 92px; object-fit: contain; filter: drop-shadow(0 10px 10px rgba(13, 13, 13, 0.14)); }
.consent-art img:nth-child(2) { transform: translateY(6px); } .consent-art img:nth-child(3) { transform: translateY(-4px); } .consent-art img:nth-child(4) { transform: translateY(4px); }
.consent-body { padding: 22px 22px 20px; }
.consent-body h2 { display: flex; align-items: center; gap: 10px; font-size: 22px; margin-bottom: 8px; }
.consent-body .req { font-size: 10px; font-family: var(--mono); letter-spacing: 0.06em; text-transform: uppercase; background: #e6f6f0; color: var(--up); border-radius: 999px; padding: 3px 9px; font-weight: 600; }
.consent-body p { color: var(--muted); font-size: 13.5px; margin-bottom: 14px; }
.consent-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; font-size: 13px; cursor: pointer; background: var(--bg2); }
.consent-row:hover { border-color: var(--line2); }
.consent-row input { width: 18px; height: 18px; accent-color: var(--up); margin: 0; flex: none; }
.consent-row a { text-decoration: underline; font-weight: 600; }
.consent-body .btn { margin-top: 8px; }
body.consent-open { overflow: hidden; }
/* legal pages */
.legal { max-width: 760px; } .legal h3 { margin: 18px 0 6px; } .legal p { color: var(--muted); font-size: 14px; }

/* dot header on the coin page */
.dhead { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: start; }
.dhead-dot .dot-img { width: 84px; height: 84px; }
.dhead-name { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 700; font-size: 18px; }
.dhead-mood { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.dhead-mood b { font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; background: #6e6e80; border-radius: 6px; padding: 2px 7px; }
.dhead-mood.thriving b { background: var(--up); } .dhead-mood.worried b { background: #d97706; } .dhead-mood.desperate b, .dhead-mood.dying b { background: var(--down); }
.dhead-credits { margin-top: 8px; } .dhead-credits .bar { height: 5px; margin: 0 0 4px; } .dhead-credits span { font-size: 11px; color: var(--muted); }
.dhead-links { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.dot-card .small.muted { display: block; }
