/* OINK pig theme: bubblegum pink + bacon rose + cream. Cream paper by default, "mud-bath" plum in dark mode. */
:root {
  --bg: #2A0F1E; --bg2: #35142A;
  --card: #3A1830; --card-solid: #3A1830; --soft: #4A2040;
  --ink: #FFEAF2; --ink-dim: #D9A2BC; --line: #5C2B4C;
  --blue: #FF7FAE; --blue-soft: rgba(255, 127, 174, .18);
  --aqua: #7BE0A8; --amber: #FFC36B; --amber-soft: rgba(255, 195, 107, .14); --red: #FF6B7A;
  --on-accent: #3B1226; --glow-a: rgba(255, 127, 174, .26); --glow-b: rgba(255, 195, 107, .08);
  --dockbg: #33142A; --shadow: 0 14px 34px -18px rgba(0, 0, 0, .8);
  --brand: #FF7FAE; --up: #7BE0A8; --down: #FF6B7A;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #FFF4F8; --bg2: #FFE6EF;
  --card: #FFFFFF; --card-solid: #FFFFFF; --soft: #FFEAF2;
  --ink: #3B1226; --ink-dim: #8F5B73; --line: #F6C9DA;
  --blue: #F0407F; --blue-soft: rgba(240, 64, 127, .10);
  --aqua: #12A065; --amber: #D07A12; --amber-soft: rgba(208, 122, 18, .12); --red: #D3343B;
  --on-accent: #FFFFFF; --glow-a: rgba(255, 143, 180, .38); --glow-b: rgba(255, 214, 160, .30);
  --dockbg: #FFFFFF; --shadow: 0 12px 28px -18px rgba(176, 40, 100, .45);
  --brand: #F0407F; --up: #12A065; --down: #D3343B;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); background: var(--bg); min-height: 100vh;
  font-family: 'Inter Tight', system-ui, sans-serif; -webkit-font-smoothing: antialiased; line-height: 1.5;
  padding-bottom: 120px;
}
body::before { content: ''; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(70% 45% at 80% -10%, var(--glow-a), transparent 70%), radial-gradient(55% 40% at 0% 30%, var(--glow-b), transparent 70%), linear-gradient(180deg, var(--bg2) 0%, var(--bg) 38%); }
.sea { position: fixed; left: 0; right: 0; bottom: 0; height: 46vh; z-index: -1; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='60'%3E%3Cpath d='M0 30c20-18 40-18 60 0s40 18 60 0 40-18 60 0 40 18 60 0' fill='none' stroke='%2336E2C4' stroke-opacity='.18' stroke-width='2'/%3E%3C/svg%3E");
  background-size: 240px 60px; -webkit-mask-image: linear-gradient(0deg, #000, transparent); mask-image: linear-gradient(0deg, #000, transparent); }
@media (prefers-reduced-motion: no-preference) { .sea { animation: sea 18s linear infinite; } }
@keyframes sea { to { background-position: 240px 0; } }
a { color: inherit; }
button, input, select { font-family: inherit; }
.mono { font-family: 'IBM Plex Mono', monospace; }
.disp { font-family: 'Inter Tight', sans-serif; font-weight: 800; }
.wrap, .wrap.narrow { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 900px; }

/* ---------- top bar + live tape ---------- */
header#site-header { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 18px; height: 64px; margin: 0 -24px; padding: 0 24px;
  background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.wordmark { display: flex; align-items: center; gap: 9px; text-decoration: none; font-size: 21px; letter-spacing: -.02em; flex-shrink: 0; }
.mark { width: 32px; height: 32px; }
.tape { position: relative; flex: 1; min-width: 0; height: 36px; overflow: hidden; border-radius: 999px; background: var(--card); border: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.tape-track { position: absolute; left: 0; top: 0; height: 100%; display: flex; align-items: center; gap: 34px; white-space: nowrap; padding-left: 20px; will-change: transform; animation: tape 40s linear infinite; }
.tape:hover .tape-track { animation-play-state: paused; }
@keyframes tape { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tape .tp { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; text-decoration: none; color: var(--ink-dim); }
.tape .tp i { width: 7px; height: 7px; border-radius: 50%; background: var(--aqua); }
.tape .tp.sell i { background: var(--red); }
.tape .tp b { font-weight: 700; color: var(--aqua); } .tape .tp.sell b { color: var(--red); }
.tape .tp u { text-decoration: none; color: var(--ink); font-weight: 700; }
.tape-empty { padding: 0 20px; font-size: 13px; color: var(--ink-dim); line-height: 36px; }
.hdr-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; text-decoration: none; transition: transform .2s var(--ease), border-color .2s; }
.icon-btn:hover { transform: translateY(-2px); border-color: var(--blue); }
.connect { cursor: pointer; font-size: 13.5px; font-weight: 700; color: var(--on-accent); background: linear-gradient(100deg, var(--blue), var(--aqua)); padding: 11px 20px; border: none; border-radius: 999px; transition: transform .2s var(--ease), box-shadow .2s; }
.connect:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -8px var(--blue); }
@media (max-width: 760px) { header#site-header { gap: 10px; padding: 0 14px; margin: 0 -14px; } .wrap, .wrap.narrow { padding: 0 14px; } .hdr-x { display: none; } .hdr-right { margin-left: auto; } }

/* ---------- dock ---------- */
.dock-nav { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 50; display: flex; align-items: flex-end; gap: 6px; padding: 8px 10px; border-radius: 26px; background: var(--dockbg); border: 1px solid var(--line); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: var(--shadow); }
.dock-nav a { position: relative; width: 56px; height: 56px; border-radius: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-decoration: none; color: var(--ink-dim); transition: transform .25s var(--ease), background .2s, color .2s; transform-origin: bottom center; }
.dock-nav a .ni { width: 22px; height: 22px; }
.dock-nav a span { font-size: 10.5px; font-weight: 600; }
.dock-nav a:hover { transform: scale(1.28) translateY(-6px); color: var(--ink); background: var(--soft); }
.dock-nav a:hover + a, .dock-nav a:has(+ a:hover) { transform: scale(1.12) translateY(-2px); }
.dock-nav a.on { color: var(--aqua); background: var(--blue-soft); }
.dock-nav a.on::after { content: ''; position: absolute; bottom: -5px; width: 5px; height: 5px; border-radius: 50%; background: var(--aqua); }

/* ---------- toasts ---------- */
.toasts { position: fixed; left: 20px; bottom: 100px; z-index: 60; display: flex; flex-direction: column-reverse; gap: 8px; pointer-events: none; max-width: calc(100vw - 40px); }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 10px; padding: 11px 16px 11px 12px; border-radius: 16px; background: var(--card-solid); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 13.5px; text-decoration: none; animation: toastIn .5s var(--ease); border-left: 3px solid var(--aqua); }
.toast.sell { border-left-color: var(--red); }
.toast.out { opacity: 0; transform: translateY(10px); transition: all .4s; }
.toast .ta { width: 30px; height: 30px; border-radius: 50%; background: var(--soft); overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: var(--ink-dim); flex-shrink: 0; }
.toast .ta img { width: 100%; height: 100%; object-fit: cover; }
.toast b { color: var(--aqua); } .toast.sell b { color: var(--red); }
@keyframes toastIn { from { opacity: 0; transform: translateX(-24px) scale(.96); } }
@media (max-width: 760px) { .toasts { left: 14px; right: 14px; bottom: 84px; } }

/* ---------- generic ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 22px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.hint { font-size: 12.5px; color: var(--ink-dim); line-height: 1.55; margin-top: 8px; }
.note { font-size: 12.5px; color: var(--ink-dim); line-height: 1.55; }
.err { color: var(--red); font-size: 13px; margin: 0 0 10px; }
.empty { padding: 34px 0; text-align: center; color: var(--ink-dim); font-size: 14px; }
.badge { white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: var(--soft); color: var(--ink-dim); }
.badge.blue { background: var(--blue-soft); color: var(--blue); }
.chip { background: var(--soft); border: 1px solid transparent; color: var(--ink); font-size: 13px; font-weight: 600; padding: 8px 15px; border-radius: 999px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: all .2s var(--ease); }
.chip:hover { border-color: var(--blue); transform: translateY(-1px); }
.chip.on { background: var(--ink); color: var(--bg); }
.chip.sm { padding: 4px 10px; font-size: 12px; }
.pills { display: inline-flex; gap: 3px; background: var(--soft); border-radius: 999px; padding: 4px; }
.pills button { border: none; background: none; color: var(--ink-dim); font-size: 13px; font-weight: 700; padding: 8px 15px; border-radius: 999px; cursor: pointer; transition: all .2s; }
.pills button.on { background: var(--ink); color: var(--bg); }
.btn-primary, .swap-btn { width: 100%; padding: 17px; background: linear-gradient(100deg, var(--blue), var(--aqua)); color: #3B1226; border: none; border-radius: 18px; font-weight: 800; font-size: 16px; cursor: pointer; transition: transform .2s var(--ease), box-shadow .25s, filter .2s; }
.btn-primary:hover:not(:disabled), .swap-btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 16px 34px -14px var(--aqua); filter: saturate(1.15); }
.btn-primary:disabled, .swap-btn:disabled { opacity: .5; cursor: default; }
.swap-btn.sell { background: linear-gradient(100deg, var(--red), #FF9A5E); }
.btn-outline { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 0 24px; height: 52px; font-weight: 700; font-size: 15px; color: var(--ink); cursor: pointer; transition: all .2s var(--ease); }
.btn-outline:hover { border-color: var(--blue); transform: translateY(-2px); }
input[type=range] { width: 100%; accent-color: var(--aqua); }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 2px; border-radius: 8px; }
.page-title { font-family: 'Inter Tight', sans-serif; font-weight: 800; font-size: clamp(32px, 5vw, 52px); letter-spacing: -.035em; line-height: 1.02; margin: 34px 0 10px; }
.page-sub { color: var(--ink-dim); font-size: 16px; line-height: 1.6; max-width: 56ch; margin: 0 0 26px; }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 40px 0 16px; }
.sec-h h2 { font-family: 'Inter Tight', sans-serif; font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin: 0; }
.sec-h span { color: var(--ink-dim); font-size: 13.5px; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); margin-right: 7px; animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.site-footer { margin: 60px 0 0; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--ink-dim); }
.site-footer b { color: var(--ink); } .site-footer .links { display: flex; gap: 18px; } .site-footer a { text-decoration: none; } .site-footer a:hover { color: var(--aqua); }
.lart { background: var(--soft); overflow: hidden; display: flex; align-items: center; justify-content: center; font-family: 'Inter Tight', sans-serif; font-weight: 800; color: var(--ink-dim); flex-shrink: 0; }
.lart img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pair-tag { display: inline-flex; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 8px; background: var(--blue-soft); color: var(--blue); }
.pair-tag.eth { background: color-mix(in srgb, var(--aqua) 16%, transparent); color: var(--aqua); }

/* ---------- home: the pod (bubble field) ---------- */
.pod-hero { position: relative; margin-top: 18px; border-radius: 36px; overflow: hidden; border: 1px solid var(--line); min-height: 520px;
  background: radial-gradient(80% 90% at 70% 0%, color-mix(in srgb, var(--blue) 22%, transparent), transparent 70%), radial-gradient(60% 70% at 10% 100%, color-mix(in srgb, var(--aqua) 14%, transparent), transparent 70%), var(--card); }
.pod-copy { position: relative; z-index: 3; padding: 40px 40px 0; max-width: 560px; pointer-events: none; }
.pod-copy > * { pointer-events: auto; }
.pod-copy h1 { font-family: 'Inter Tight', sans-serif; font-weight: 800; font-size: clamp(34px, 5.2vw, 62px); line-height: .98; letter-spacing: -.045em; margin: 0 0 16px; }
.pod-copy p { color: var(--ink-dim); font-size: 16.5px; line-height: 1.6; margin: 0 0 24px; max-width: 44ch; }
.pod-copy .cta { display: flex; gap: 10px; flex-wrap: wrap; } .pod-copy .cta a { text-decoration: none; }
.pod-copy .cta .btn-primary { width: auto; display: inline-block; padding: 15px 30px; }
.pod-field { position: absolute; inset: 0; z-index: 2; }
.bub { position: absolute; left: 0; top: 0; border-radius: 50%; cursor: pointer; text-decoration: none; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; will-change: transform;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.35), rgba(255,255,255,.04) 45%), color-mix(in srgb, var(--blue) 24%, var(--card-solid));
  border: 1.5px solid color-mix(in srgb, var(--blue) 55%, transparent); box-shadow: inset 0 0 22px rgba(255,255,255,.07), 0 10px 30px -12px var(--blue); color: var(--ink); }
.bub.eth { background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.35), rgba(255,255,255,.04) 45%), color-mix(in srgb, var(--aqua) 22%, var(--card-solid)); border-color: color-mix(in srgb, var(--aqua) 55%, transparent); box-shadow: inset 0 0 22px rgba(255,255,255,.07), 0 10px 30px -12px var(--aqua); }
.bub .bi { width: 46%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; font-family: 'Inter Tight', sans-serif; font-weight: 800; font-size: 1.1em; }
.bub .bi img { width: 100%; height: 100%; object-fit: cover; }
.bub .bs { font-weight: 800; font-size: 12.5px; margin-top: 4px; max-width: 86%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bub .bm { font-size: 11px; color: var(--ink-dim); }
.bub.big .bs { font-size: 15px; } .bub.small .bs, .bub.small .bm { display: none; }
.bub::after { content: ''; position: absolute; inset: -2px; border-radius: 50%; border: 3px solid transparent; pointer-events: none; }
.bub.ping-buy::after { animation: ringBuy 1.2s ease-out; } .bub.ping-sell::after { animation: ringSell 1.2s ease-out; }
@keyframes ringBuy { 0% { border-color: var(--aqua); transform: scale(1); opacity: 1; } 100% { border-color: transparent; transform: scale(1.5); opacity: 0; } }
@keyframes ringSell { 0% { border-color: var(--red); transform: scale(1); opacity: 1; } 100% { border-color: transparent; transform: scale(1.5); opacity: 0; } }
.bub-tip { position: absolute; z-index: 5; pointer-events: none; padding: 10px 14px; border-radius: 14px; background: var(--card-solid); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 13px; opacity: 0; transition: opacity .15s; white-space: nowrap; left: 0; top: 0; }
.bub-tip.show { opacity: 1; } .bub-tip b { display: block; font-size: 15px; } .bub-tip span { color: var(--ink-dim); }
.pod-empty { position: absolute; right: 40px; bottom: 40px; z-index: 3; max-width: 260px; color: var(--ink-dim); font-size: 14px; text-align: right; }

.home-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; align-items: start; }
@media (max-width: 1000px) { .home-grid { grid-template-columns: 1fr; } }
.controls { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.search { flex: 1 1 220px; display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 0 18px; transition: border-color .2s, box-shadow .2s; }
.search:focus-within { border-color: var(--aqua); box-shadow: 0 0 0 4px color-mix(in srgb, var(--aqua) 16%, transparent); }
.search input { flex: 1; border: none; background: none; outline: none; color: var(--ink); font-size: 15px; padding: 13px 0; min-width: 0; }
.search input::placeholder { color: var(--ink-dim); }
.trow { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto auto; align-items: center; gap: 4px 14px; padding: 12px 14px; margin-bottom: 8px; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: 20px; transition: transform .25s var(--ease), border-color .25s; position: relative; overflow: hidden; }
.trow:hover { transform: translateX(4px); border-color: var(--blue); }
.trow .lart { width: 52px; height: 52px; border-radius: 50%; font-size: 17px; }
.trow .nm { font-weight: 700; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trow .sy { color: var(--ink-dim); font-size: 13px; display: flex; gap: 8px; align-items: center; }
.trow .fe { font-size: 12.5px; color: var(--ink-dim); text-align: right; }
.trow .mc { font-family: 'Inter Tight', sans-serif; font-weight: 800; font-size: 20px; text-align: right; min-width: 90px; letter-spacing: -.02em; }
.trow .ag { font-size: 12.5px; color: var(--ink-dim); text-align: right; }
.trow.flash-buy { animation: fBuy 1.4s ease-out; } .trow.flash-sell { animation: fSell 1.4s ease-out; }
@keyframes fBuy { 0% { background: color-mix(in srgb, var(--aqua) 30%, var(--card)); } }
@keyframes fSell { 0% { background: color-mix(in srgb, var(--red) 28%, var(--card)); } }
.feed { position: sticky; top: 84px; }
.feed .card { padding: 16px; }
.feed h3 { margin: 0 0 12px; font-family: 'Inter Tight', sans-serif; font-size: 18px; display: flex; align-items: center; justify-content: space-between; }
.fi { display: flex; align-items: center; gap: 10px; padding: 9px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 13.5px; animation: slideIn .5s var(--ease); }
.fi:last-child { border-bottom: none; }
.fi .lart { width: 32px; height: 32px; border-radius: 50%; font-size: 11px; }
.fi .fm { flex: 1; min-width: 0; line-height: 1.3; }
.fi .fm b.buy { color: var(--aqua); } .fi .fm b.sell { color: var(--red); }
.fi .fm small { display: block; color: var(--ink-dim); font-size: 12px; }
.fi .fa { font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; text-align: right; }
@keyframes slideIn { from { opacity: 0; transform: translateY(-14px); } }

/* ---------- token page ---------- */
.crumb { display: inline-block; margin: 22px 0 10px; text-decoration: none; color: var(--ink-dim); font-size: 14px; font-weight: 600; }
.crumb:hover { color: var(--aqua); }
.tk-hero { position: relative; border-radius: 32px; border: 1px solid var(--line); background: var(--card); overflow: hidden; padding: 26px 26px 12px; }
.tk-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; position: relative; z-index: 2; }
.tk-id { display: flex; align-items: center; gap: 16px; min-width: 0; }
.about-art { width: 72px; height: 72px; border-radius: 50%; background: var(--soft); overflow: hidden; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-family: 'Inter Tight', sans-serif; font-weight: 800; font-size: 24px; color: var(--ink-dim); border: 2px solid color-mix(in srgb, var(--aqua) 50%, transparent); }
.about-art img { width: 100%; height: 100%; object-fit: cover; }
.about-name { font-family: 'Inter Tight', sans-serif; font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; letter-spacing: -.03em; overflow-wrap: anywhere; line-height: 1.05; }
.about-sub { color: var(--ink-dim); font-size: 14px; margin-top: 4px; }
.tk-price { text-align: right; }
.chart-big { font-family: 'Inter Tight', sans-serif; font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.chart-chg { font-size: 15px; font-weight: 700; margin-top: 6px; } .chart-chg.up { color: var(--aqua); } .chart-chg.down { color: var(--red); }
.chart-chg small { color: var(--ink-dim); font-weight: 500; margin-left: 6px; }
.chart-tools { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; position: relative; z-index: 2; }
.chart-box { position: relative; margin: 4px -26px 0; padding: 0; }
.chart-box svg { width: 100%; height: 300px; display: block; cursor: crosshair; }
.chart-tip { position: absolute; top: 8px; z-index: 3; pointer-events: none; padding: 8px 12px; border-radius: 12px; background: var(--card-solid); border: 1px solid var(--line); font-size: 12.5px; box-shadow: var(--shadow); opacity: 0; transition: opacity .12s; white-space: nowrap; }
.chart-tip.show { opacity: 1; } .chart-tip b { display: block; font-size: 14px; }
.feebar-legend { display: flex; gap: 14px; font-size: 12.5px; color: var(--ink-dim); flex-wrap: wrap; }
.feebar-legend .dot { width: 9px; height: 9px; display: inline-block; border-radius: 50%; margin-right: 6px; }
.tp-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 24px; }
@media (min-width: 1000px) { .tp-grid { grid-template-columns: minmax(0, 1fr) 390px; } .tp-side { position: sticky; top: 84px; } }
@media (max-width: 999px) { .tp-side { order: -1; } }
.statrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; }
.statrow > div { background: var(--soft); border-radius: 18px; padding: 14px 16px; }
.statrow .l, .fact .l { font-size: 12px; color: var(--ink-dim); }
.statrow .v { font-family: 'Inter Tight', sans-serif; font-size: 20px; font-weight: 800; margin-top: 4px; overflow-wrap: anywhere; letter-spacing: -.02em; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 16px; overflow-x: auto; }
.tabs button { background: none; border: none; color: var(--ink-dim); font-size: 15px; font-weight: 700; padding: 12px 16px; cursor: pointer; position: relative; }
.tabs button.on { color: var(--ink); } .tabs button.on::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--blue), var(--aqua)); }
.tabpane { display: none; } .tabpane.on { display: block; animation: fadeIn .35s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } }
.card-title { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-family: 'Inter Tight', sans-serif; font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.about-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin: 6px 0 16px; }
.fact .v { font-size: 16px; font-weight: 700; margin-top: 2px; } .fact a { color: var(--blue); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.feebar { display: flex; height: 16px; border-radius: 999px; overflow: hidden; margin: 14px 0 10px; gap: 2px; }
.feebar div { transition: width .6s var(--ease); }
.reward-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.reward-cell { background: var(--soft); border-radius: 20px; padding: 16px; }
.reward-cell .l { font-size: 11.5px; color: var(--ink-dim); margin-bottom: 4px; font-weight: 700; }
.reward-cell .v { font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--amber); overflow-wrap: anywhere; }
.reward-cell button { margin-top: 10px; font-size: 12.5px; font-weight: 700; background: var(--card-solid); border: 1px solid var(--line); color: var(--ink); padding: 8px 18px; border-radius: 999px; cursor: pointer; }
.reward-cell button:disabled { opacity: .4; cursor: default; }
.trade-row { display: flex; align-items: center; gap: 14px; padding: 13px 4px; border-bottom: 1px solid var(--line); }
.trade-row:last-child { border-bottom: none; }
.trade-row.new { animation: rowIn 1.6s var(--ease); }
@keyframes rowIn { 0% { background: color-mix(in srgb, var(--aqua) 24%, transparent); transform: translateX(-10px); } }
.trade-arrow { width: 26px; font-size: 20px; text-align: center; flex-shrink: 0; }
.trade-arrow.buy { color: var(--aqua); } .trade-arrow.sell { color: var(--red); }
.trade-main { min-width: 0; flex: 1; } .trade-main .a { font-size: 15.5px; font-weight: 700; } .trade-main .b { font-size: 12.5px; color: var(--ink-dim); text-decoration: none; }
.trade-side { text-align: right; } .trade-side .a { font-size: 14.5px; font-weight: 600; font-family: 'IBM Plex Mono', monospace; } .trade-side .b { font-size: 12px; color: var(--ink-dim); }
.pager { display: flex; justify-content: center; align-items: center; gap: 6px; padding-top: 16px; }
.pager button { min-width: 38px; height: 38px; border-radius: 12px; border: none; background: none; font-size: 14px; color: var(--ink-dim); cursor: pointer; font-weight: 700; }
.pager button.on { background: var(--ink); color: var(--bg); } .pager button:disabled { opacity: .3; cursor: default; }
.holder-bar-row { padding: 12px 0; border-bottom: 1px solid var(--line); }
.holder-bar-top { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 8px; }
.holder-bar-track { height: 8px; background: var(--soft); border-radius: 999px; overflow: hidden; }
.holder-bar-fill { height: 100%; background: linear-gradient(90deg, var(--blue), var(--aqua)); border-radius: 999px; }
/* trade panel */
.dock { background: linear-gradient(180deg, color-mix(in srgb, var(--blue) 14%, var(--card-solid)), var(--card-solid)); border: 1px solid color-mix(in srgb, var(--blue) 40%, var(--line)); border-radius: 30px; padding: 20px; box-shadow: 0 30px 70px -34px var(--blue); }
.swap-title { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.swap-title .about-art { width: 46px; height: 46px; font-size: 15px; border-width: 1.5px; }
.dock .pills { display: flex; margin-bottom: 14px; } .dock .pills button { flex: 1; }
.dock .pills button#buyTab.on { background: var(--aqua); color: #3B1226; } .dock .pills button#sellTab.on { background: var(--red); color: #fff; }
.swap-block { background: var(--soft); border-radius: 22px; padding: 16px 18px; border: 1px solid transparent; transition: border-color .2s; }
.swap-block:focus-within { border-color: var(--aqua); }
.swap-block .lbl { font-size: 13px; color: var(--ink-dim); font-weight: 600; }
.swap-block .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.swap-input { width: 100%; min-width: 0; background: none; border: none; outline: none; color: var(--ink); font-family: 'Inter Tight', sans-serif; font-size: 34px; font-weight: 700; padding: 0; }
.swap-input::placeholder { color: var(--ink-dim); opacity: .5; }
.swap-out { font-family: 'Inter Tight', sans-serif; font-size: 32px; font-weight: 700; overflow-wrap: anywhere; min-height: 44px; }
.swap-out.empty-v { color: var(--ink-dim); opacity: .5; }
.token-pill { flex-shrink: 0; background: var(--card-solid); border-radius: 999px; padding: 8px 14px; font-weight: 800; font-size: 14px; border: 1px solid var(--line); }
.swap-block .foot { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-dim); margin-top: 6px; gap: 8px; }
.flip-wrap { display: flex; justify-content: center; margin: -15px 0; position: relative; z-index: 1; }
.flip-btn { width: 42px; height: 42px; border-radius: 14px; border: 4px solid var(--card-solid); background: var(--soft); color: var(--ink); cursor: pointer; font-size: 17px; transition: transform .35s var(--ease); }
.flip-btn:hover { transform: rotate(180deg); }
.quick-row { display: flex; gap: 6px; margin: 16px 0 6px; flex-wrap: wrap; }
.quick-row button, .pct-row button { background: var(--soft); border: 1px solid transparent; color: var(--ink-dim); font-size: 12.5px; font-weight: 700; padding: 8px 12px; border-radius: 12px; cursor: pointer; flex: 1; transition: all .2s; }
.quick-row button:hover, .pct-row button:hover { color: var(--ink); border-color: var(--aqua); }
.pct-row { display: flex; gap: 6px; margin: 12px 0; }
.swap-meta { margin: 6px 0 14px; }
.swap-meta .row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; padding: 6px 0; color: var(--ink-dim); gap: 10px; }
.swap-meta .row .mono { color: var(--ink); text-align: right; overflow-wrap: anywhere; }
.eth-toggle { display: none; align-items: center; gap: 10px; font-size: 13px; margin: 18px 2px 20px; cursor: pointer; }
.eth-toggle input { accent-color: var(--aqua); width: 18px; height: 18px; }

/* ---------- launch wizard ---------- */
.wiz { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; margin-top: 8px; }
@media (max-width: 960px) { .wiz { grid-template-columns: 1fr; } }
.wiz-rail { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.wiz-dot { flex: 1; min-width: 70px; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 10px 12px; cursor: pointer; color: var(--ink-dim); font-size: 12.5px; font-weight: 700; transition: all .25s var(--ease); }
.wiz-dot b { display: block; font-size: 11px; opacity: .7; } .wiz-dot.done { color: var(--aqua); } .wiz-dot.on { color: var(--ink); border-color: var(--aqua); background: var(--blue-soft); transform: translateY(-3px); }
.wiz-body { min-height: 340px; }
.wstep { display: none; } .wstep.on { display: block; animation: stepIn .45s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(26px); } }
.wstep h2 { font-family: 'Inter Tight', sans-serif; font-size: 28px; font-weight: 800; letter-spacing: -.03em; margin: 0 0 6px; }
.wstep > p { color: var(--ink-dim); margin: 0 0 18px; font-size: 15px; }
.wstep input:not([type=range]):not([type=file]), .wstep select, .wstep input[type=file] { width: 100%; background: var(--soft); border: 1.5px solid transparent; color: var(--ink); padding: 15px 17px; font-size: 16px; border-radius: 16px; margin-top: 10px; transition: border-color .2s, box-shadow .2s; }
.wstep input:not([type=range]):focus { border-color: var(--aqua); box-shadow: 0 0 0 4px color-mix(in srgb, var(--aqua) 16%, transparent); outline: none; }
.wstep .two { display: grid; grid-template-columns: 1fr 150px; gap: 12px; } .wstep .two input { margin-top: 0; }
.wiz-nav { display: flex; gap: 10px; margin-top: 22px; } .wiz-nav .btn-outline { height: 54px; } .wiz-nav .btn-primary { flex: 1; }
.seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 10px; }
.seg button { text-align: left; background: var(--soft); border: 2px solid transparent; color: var(--ink); border-radius: 22px; padding: 18px; cursor: pointer; transition: all .25s var(--ease); }
.seg button:hover:not(:disabled) { transform: translateY(-3px); }
.seg button.on { border-color: var(--aqua); background: var(--blue-soft); box-shadow: 0 14px 30px -18px var(--aqua); }
.seg button:disabled { opacity: .4; cursor: not-allowed; }
.seg .t { display: block; font-family: 'Inter Tight', sans-serif; font-weight: 800; font-size: 24px; } .seg .d { display: block; font-size: 12.5px; color: var(--ink-dim); margin-top: 4px; line-height: 1.4; }
.seg-sm button { padding: 12px 14px; border-radius: 16px; } .seg-sm .t { font-size: 18px; }
.fee-readout { font-family: 'Inter Tight', sans-serif; font-size: 64px; font-weight: 800; letter-spacing: -.05em; line-height: 1; margin: 6px 0 4px; background: linear-gradient(100deg, var(--blue), var(--aqua)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.split-item { margin-bottom: 16px; } .split-item-head { display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.fb-row { display: flex; gap: 10px; align-items: center; margin-top: 12px; } .fb-row input { margin-top: 0 !important; }
.fb-unit { flex-shrink: 0; background: var(--soft); border-radius: 16px; padding: 15px 18px; font-weight: 800; font-size: 15px; }
.cost-box { background: var(--soft); border-radius: 18px; padding: 14px 16px; font-size: 13.5px; margin-top: 14px; }
.cost-box .row { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; color: var(--ink-dim); } .cost-box .row b { color: var(--ink); }
.cost-box .row.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; }
.review { display: grid; gap: 10px; } .review .rv { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--soft); border-radius: 14px; font-size: 14px; } .review .rv span { color: var(--ink-dim); } .review .rv b { text-align: right; overflow-wrap: anywhere; }
.preview { position: sticky; top: 84px; border-radius: 30px; border: 1px solid var(--line); background: var(--card); overflow: hidden; text-align: center; }
.preview .stage { position: relative; height: 250px; background: radial-gradient(70% 80% at 50% 100%, color-mix(in srgb, var(--aqua) 18%, transparent), transparent 70%); display: flex; align-items: center; justify-content: center; }
.preview .pbub { width: 150px; height: 150px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.35), rgba(255,255,255,.04) 45%), color-mix(in srgb, var(--blue) 26%, var(--card-solid)); border: 2px solid color-mix(in srgb, var(--blue) 60%, transparent); box-shadow: inset 0 0 26px rgba(255,255,255,.08), 0 20px 50px -18px var(--blue); animation: bob 5s ease-in-out infinite; }
.preview .pbub.eth { background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.35), rgba(255,255,255,.04) 45%), color-mix(in srgb, var(--aqua) 24%, var(--card-solid)); border-color: color-mix(in srgb, var(--aqua) 60%, transparent); box-shadow: inset 0 0 26px rgba(255,255,255,.08), 0 20px 50px -18px var(--aqua); }
@keyframes bob { 50% { transform: translateY(-12px); } }
.preview .art { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; font-family: 'Inter Tight', sans-serif; font-weight: 800; font-size: 24px; }
.preview .art img { width: 100%; height: 100%; object-fit: cover; }
.preview .n { font-family: 'Inter Tight', sans-serif; font-weight: 800; font-size: 22px; letter-spacing: -.02em; overflow-wrap: anywhere; padding: 0 16px; }
.preview .m { color: var(--ink-dim); font-size: 13px; margin: 2px 0 14px; }
.preview .pbody { padding: 0 20px 22px; }
.splitbar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; gap: 2px; margin: 6px 0 8px; } .splitbar i { display: block; height: 100%; transition: flex-grow .35s var(--ease); }
.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; font-size: 12px; color: var(--ink-dim); } .legend em { font-style: normal; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; }
@media (max-width: 960px) { .preview { position: static; order: -1; } .preview .stage { height: 190px; } .preview .pbub { width: 120px; height: 120px; } }

/* ---------- stats ---------- */
.ticker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ticker > div { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 24px; transition: transform .3s var(--ease), border-color .3s; }
.ticker > div:hover { transform: translateY(-4px); border-color: var(--aqua); }
.ticker .l { color: var(--ink-dim); font-size: 13.5px; font-weight: 600; margin-bottom: 10px; }
.ticker .v { font-family: 'Inter Tight', sans-serif; font-weight: 800; font-size: clamp(30px, 4vw, 48px); letter-spacing: -.04em; line-height: 1; }
.ticker .v.blue { color: var(--blue); } .ticker .v.amber { color: var(--amber); } .ticker .v.red { color: var(--red); } .ticker .v.aqua { color: var(--aqua); }
@media (max-width: 700px) { .ticker { grid-template-columns: 1fr 1fr; } }
.barlist .list-row { position: relative; overflow: hidden; border-radius: 18px; margin-bottom: 8px; background: var(--card); border: 1px solid var(--line); padding: 12px 16px; }
.barlist .list-row .bar { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--blue) 26%, transparent), color-mix(in srgb, var(--aqua) 14%, transparent)); z-index: 0; transition: width 1s var(--ease); }
.barlist .list-row > * { position: relative; z-index: 1; }
.list-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; text-decoration: none; color: inherit; }
.list-row .lart { width: 42px; height: 42px; border-radius: 50%; font-size: 13px; }
.list-row .ln { font-size: 15px; font-weight: 700; } .list-row .lm { font-size: 12.5px; color: var(--ink-dim); }
.list-row .lp { margin-left: auto; font-family: 'Inter Tight', sans-serif; font-weight: 800; font-size: 17px; }
.list-row .rk { width: 22px; color: var(--ink-dim); font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; }

/* ---------- portfolio ---------- */
.pf-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 28px; border-radius: 32px; border: 1px solid var(--line); background: radial-gradient(70% 120% at 100% 0%, color-mix(in srgb, var(--blue) 24%, transparent), transparent 70%), var(--card); margin-top: 24px; }
.pf-head .big { font-family: 'Inter Tight', sans-serif; font-weight: 800; font-size: clamp(44px, 8vw, 84px); letter-spacing: -.05em; line-height: 1; }
.pf-head .sub { font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--ink-dim); background: var(--soft); padding: 8px 14px; border-radius: 999px; }
.pf-head .lbl { color: var(--ink-dim); font-size: 14px; margin-bottom: 6px; font-weight: 600; }
.alloc { display: flex; height: 14px; border-radius: 999px; overflow: hidden; gap: 2px; margin: 18px 0 6px; } .alloc i { display: block; height: 100%; }
.hold-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.hold { display: block; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 18px; transition: transform .3s var(--ease), border-color .3s; }
.hold:hover { transform: translateY(-4px); border-color: var(--aqua); }
.hold .top { display: flex; gap: 12px; align-items: center; } .hold .lart { width: 46px; height: 46px; border-radius: 50%; font-size: 15px; }
.hold .ln { font-weight: 800; font-size: 16px; } .hold .lm { color: var(--ink-dim); font-size: 12.5px; }
.hold .val { font-family: 'Inter Tight', sans-serif; font-weight: 800; font-size: 26px; letter-spacing: -.03em; margin-top: 14px; }
.hold .pct { color: var(--ink-dim); font-size: 12.5px; }

/* ---------- docs ---------- */
.dtabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }
.dtabs button { border: 1px solid var(--line); background: var(--card); color: var(--ink-dim); font-weight: 700; font-size: 14px; padding: 10px 18px; border-radius: 999px; cursor: pointer; transition: all .2s var(--ease); }
.dtabs button.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.dpane { display: none; } .dpane.on { display: block; animation: fadeIn .35s var(--ease); }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px; margin-bottom: 26px; }
@media (max-width: 800px) { .calc { grid-template-columns: 1fr; } }
.calc label { font-size: 13px; font-weight: 700; color: var(--ink-dim); display: flex; justify-content: space-between; margin: 14px 0 4px; }
.calc input[type=number] { width: 100%; background: var(--soft); border: 1.5px solid transparent; color: var(--ink); padding: 13px 15px; font-size: 17px; border-radius: 14px; font-weight: 700; }
.calc input[type=number]:focus { outline: none; border-color: var(--aqua); }
.calc .out { display: grid; gap: 8px; align-content: start; }
.calc .out div { display: flex; justify-content: space-between; align-items: center; background: var(--soft); border-radius: 14px; padding: 12px 16px; font-size: 14px; }
.calc .out b { font-family: 'Inter Tight', sans-serif; font-size: 19px; }
.calc .presets { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-head { padding: 18px 0; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-size: 16px; font-weight: 700; }
.accordion-head .chev { font-size: 0; width: 22px; height: 22px; position: relative; flex-shrink: 0; }
.accordion-head .chev::before, .accordion-head .chev::after { content: ''; position: absolute; left: 3px; right: 3px; top: 10px; height: 2px; background: var(--ink-dim); border-radius: 2px; transition: transform .25s var(--ease); }
.accordion-head .chev::after { transform: rotate(90deg); }
.accordion-item.open .chev::after { transform: rotate(0); }
.accordion-body { display: none; padding-bottom: 18px; font-size: 15px; color: var(--ink-dim); line-height: 1.7; max-width: 66ch; }
.accordion-item.open .accordion-body { display: block; animation: fadeIn .3s var(--ease); }
.acc-links a { color: var(--blue); word-break: break-all; } .acc-links .mono { font-size: 12px; }
.warn-note { background: var(--amber-soft); color: var(--ink); border-radius: 16px; padding: 14px 16px; font-size: 13px; line-height: 1.55; }
.vbadge { width: 1.1em; height: 1.1em; color: var(--blue); vertical-align: -0.18em; flex-shrink: 0; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

.chart-x { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--ink-dim); opacity: 0; pointer-events: none; transition: opacity .12s; z-index: 2; }
.chart-dot { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--aqua); border: 3px solid var(--card-solid); box-shadow: 0 0 0 4px color-mix(in srgb, var(--aqua) 30%, transparent); opacity: 0; pointer-events: none; z-index: 2; transition: opacity .12s; }
.chart-x.show, .chart-dot.show { opacity: 1; }
:root[data-theme="light"] .btn-primary, :root[data-theme="light"] .swap-btn { color: #fff; }
:root[data-theme="light"] .dock .pills button#buyTab.on { color: #fff; }

/* fixes v4.1 */
.tabs button { padding: 12px 14px; font-size: 14.5px; }
@media (max-width: 960px) { .preview .stage { height: 130px; } .preview .pbub { width: 92px; height: 92px; } .preview .art { width: 48px; height: 48px; font-size: 16px; } .preview .m { margin-bottom: 8px; } .preview .n { font-size: 18px; } .preview .pbody { padding-bottom: 14px; } }
@media (max-width: 560px) { .tk-hero { padding: 18px 16px 8px; border-radius: 26px; } .chart-box { margin: 4px -16px 0; } .chart-box svg { height: 230px; } .dock { padding: 16px; border-radius: 26px; } }

/* v4.2 launch info */
.wstep textarea { width: 100%; background: var(--soft); border: 1.5px solid transparent; color: var(--ink); padding: 15px 17px; font-size: 16px; font-family: inherit; border-radius: 16px; margin-top: 10px; resize: vertical; min-height: 84px; transition: border-color .2s, box-shadow .2s; }
.wstep textarea:focus { border-color: var(--aqua); box-shadow: 0 0 0 4px color-mix(in srgb, var(--aqua) 16%, transparent); outline: none; }
.wstep .two2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .wstep .two2 input { margin-top: 10px; }
@media (max-width: 560px) { .wstep .two2 { grid-template-columns: 1fr; gap: 0; } }
.tk-about { position: relative; z-index: 2; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.tk-desc { margin: 0 0 12px; font-size: 15.5px; line-height: 1.6; color: var(--ink); max-width: 70ch; overflow-wrap: anywhere; }
.tk-links { display: flex; gap: 8px; flex-wrap: wrap; }

.tk-ca { display: flex; align-items: center; gap: 10px; background: var(--soft); border-radius: 14px; padding: 8px 10px 8px 14px; margin-bottom: 12px; min-width: 0; }
.tk-ca-l { font-size: 11.5px; font-weight: 800; color: var(--aqua); letter-spacing: .08em; flex-shrink: 0; }
.tk-ca code { flex: 1; min-width: 0; font-size: 13px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-about .tk-links { margin-bottom: 12px; }
.tk-about .tk-desc { margin: 0 0 12px; }
.tk-meta { display: flex; gap: 6px 18px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-dim); }
.tk-meta a { color: var(--blue); text-decoration: none; }

/* =====================================================================
   OINK theme layer - flat panels, 6px radii, hairlines, mono numerals
   ===================================================================== */
body { font-family: 'Inter Tight', system-ui, sans-serif; padding-bottom: 84px; font-feature-settings: 'tnum' 1, 'cv11' 1; letter-spacing: -.005em; }
body::before { background: none; }
.sea { display: none; }
.mono, .tape .tp, .trow .mc, .trow .fe, .statrow .v, .ticker .v, .list-row .lp, .pf-head .big, .pf-head .sub, .fi .fa, .chart-big, .seg .t, .swap-input, .swap-out, .tk-price, .reward-cell .v, .fact .v, .fee-readout { font-family: 'JetBrains Mono', ui-monospace, monospace; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.disp { font-family: 'Inter Tight', sans-serif; font-weight: 700; }
.page-title, .pod-copy h1, .mkt-copy h1, .wstep h2, .sec-h h2, .card-title { font-family: 'Fredoka', 'Inter Tight', sans-serif; font-weight: 600; letter-spacing: 0; }
.page-title { font-size: clamp(36px, 5vw, 56px); line-height: 1.02; margin: 30px 0 8px; }
.sec-h { margin: 36px 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); align-items: flex-end; }
.sec-h h2 { font-size: 28px; }
.sec-h span { font-size: 12.5px; font-family: 'JetBrains Mono', monospace; text-transform: uppercase; letter-spacing: .04em; }
.card-title { font-size: 22px; }
.wstep h2 { font-size: 34px; }

/* top bar */
header#site-header { height: 56px; gap: 28px; background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 1px solid var(--line); }
.wordmark { gap: 10px; font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.wordmark .disp { font-family: 'Inter Tight', sans-serif; font-weight: 700; }
.wordmark .disp i { font-style: normal; font-weight: 400; color: var(--ink-dim); }
.mark { width: 28px; height: 28px; color: var(--ink); }
.topnav { display: flex; gap: 2px; flex: 1; min-width: 0; }
.topnav a { text-decoration: none; font-size: 13.5px; font-weight: 600; color: var(--ink-dim); padding: 8px 12px; border-radius: 6px; transition: color .15s, background .15s; }
.topnav a:hover { color: var(--ink); background: var(--soft); }
.topnav a.on { color: var(--ink); background: var(--soft); box-shadow: inset 0 -2px 0 var(--brand); border-radius: 6px 6px 0 0; }
.icon-btn { width: 34px; height: 34px; border-radius: 6px; background: transparent; font-size: 14px; }
.icon-btn:hover { transform: none; border-color: var(--ink-dim); background: var(--soft); }
.connect { background: var(--brand); color: var(--on-accent); border-radius: 6px; padding: 9px 16px; font-size: 13px; font-weight: 700; letter-spacing: .01em; }
.connect:hover { transform: none; box-shadow: none; filter: brightness(1.08); }

/* ticker tape: full-bleed strip under the bar */
.tape-bar { margin: 0 -24px; border-bottom: 1px solid var(--line); background: var(--card); }
.tape { height: 32px; border-radius: 0; border: 0; background: transparent; -webkit-mask-image: none; mask-image: none; }
.tape-track { gap: 0; padding-left: 0; }
.tape .tp { font-size: 12px; padding: 0 18px; height: 32px; border-right: 1px solid var(--line); gap: 8px; text-transform: none; }
.tape .tp i { width: 0; height: 0; border-radius: 0; background: none; border-left: 4px solid transparent; border-right: 4px solid transparent; border-bottom: 6px solid var(--up); }
.tape .tp.sell i { border-bottom: 0; border-top: 6px solid var(--down); background: none; }
.tape .tp b { color: var(--up); text-transform: uppercase; font-size: 10.5px; letter-spacing: .06em; } .tape .tp.sell b { color: var(--down); }
.tape .tp u { color: var(--ink); }
.tape-empty { font-size: 12px; line-height: 32px; padding: 0 18px; font-family: 'JetBrains Mono', monospace; }

/* bottom tabs (mobile only) */
.dock-nav { display: none; left: 0; right: 0; bottom: 0; transform: none; border-radius: 0; border: 0; border-top: 1px solid var(--line); background: var(--bg); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); gap: 0; justify-content: space-around; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.dock-nav a { width: auto; flex: 1; height: 50px; border-radius: 6px; transform: none !important; gap: 2px; }
.dock-nav a span { font-size: 10px; font-weight: 600; letter-spacing: .02em; }
.dock-nav a:hover { background: transparent; color: var(--ink); }
.dock-nav a.on { color: var(--brand); background: transparent; }
.dock-nav a.on::after { bottom: auto; top: -7px; width: 28px; height: 2px; border-radius: 0; background: var(--brand); }
@media (max-width: 860px) { .topnav { display: none; } .dock-nav { display: flex; } header#site-header { gap: 10px; } .tape-bar { margin: 0 -14px; } .hdr-right { margin-left: auto; } }

/* primitives */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 20px; backdrop-filter: none; -webkit-backdrop-filter: none; }
.badge, .chip, .pills, .pills button { border-radius: 6px; }
.badge { font-size: 11px; font-family: 'JetBrains Mono', monospace; text-transform: uppercase; letter-spacing: .05em; padding: 4px 8px; }
.chip { font-size: 12.5px; padding: 7px 12px; } .chip:hover { transform: none; border-color: var(--ink-dim); } .chip.on { background: var(--ink); color: var(--bg); }
.pills { background: var(--soft); padding: 3px; border: 1px solid var(--line); }
.pills button { font-size: 12.5px; padding: 7px 13px; } .pills button.on { background: var(--bg); color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.btn-primary, .swap-btn { background: var(--brand); color: var(--on-accent); border-radius: 6px; padding: 15px; font-size: 15px; font-weight: 700; letter-spacing: .01em; }
.btn-primary:hover:not(:disabled), .swap-btn:hover:not(:disabled) { transform: none; box-shadow: none; filter: brightness(1.08); }
.swap-btn.sell { background: var(--down); color: #fff; }
.btn-outline { border-radius: 6px; font-weight: 600; } .btn-outline:hover { transform: none; }
.pair-tag { border-radius: 4px; font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; }
.lart { border-radius: 6px !important; font-family: 'JetBrains Mono', monospace; font-weight: 600; }
.toast { border-radius: 6px; box-shadow: var(--shadow); } .toast .ta { border-radius: 4px; }
.toast b { color: var(--up); } .toast.sell b { color: var(--down); }
.site-footer { font-size: 12px; margin-top: 56px; padding-bottom: 8px; } .site-footer a:hover { color: var(--brand); }
:focus-visible { outline-color: var(--brand); }

/* ===== home: market hero ===== */
.mkt-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; align-items: stretch; margin-top: 26px; }
.mkt-copy { padding: 8px 0; display: flex; flex-direction: column; justify-content: center; }
.mkt-eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.mkt-eyebrow::before { content: ''; width: 18px; height: 1px; background: var(--brand); }
.mkt-copy h1 { font-size: clamp(42px, 5.6vw, 72px); line-height: .98; margin: 0 0 16px; }
.mkt-copy h1 em { font-style: italic; color: var(--brand); }
.mkt-copy p { color: var(--ink-dim); font-size: 16px; line-height: 1.6; margin: 0 0 22px; max-width: 46ch; }
.mkt-copy .cta { display: flex; gap: 10px; flex-wrap: wrap; } .mkt-copy .cta a { text-decoration: none; }
.mkt-copy .cta .btn-primary { width: auto; display: inline-block; padding: 13px 24px; }
.mkt-copy .cta .btn-outline { padding: 13px 20px; }
.board { position: relative; min-height: 360px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); overflow: hidden; }
.board-head { position: absolute; left: 0; right: 0; top: 0; z-index: 3; display: flex; justify-content: space-between; padding: 9px 12px; font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-dim); background: linear-gradient(var(--card) 55%, transparent); pointer-events: none; }
.board-field { position: absolute; inset: 30px 0 0 0; }
.tile { position: absolute; box-sizing: border-box; padding: 10px 12px; display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; color: var(--ink); overflow: hidden; background: var(--soft); border: 1px solid var(--bg); transition: filter .15s; }
.tile::before { content: ''; position: absolute; inset: 0; background: var(--tint, transparent); opacity: .16; }
.tile.eth { --tint: var(--ink-dim); } .tile.feat { --tint: var(--brand); opacity: 1; }
.tile.feat::before { opacity: .22; }
.tile:hover { filter: brightness(1.18); z-index: 2; }
.tile > * { position: relative; }
.tile .ts { font-family: 'JetBrains Mono', monospace; font-weight: 600; font-size: clamp(12px, 1.6vw, 20px); letter-spacing: -.02em; }
.tile .tn { font-size: 11px; color: var(--ink-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile .tm { font-family: 'JetBrains Mono', monospace; font-size: 12px; }
.tile.s .tn, .tile.s .tm { display: none; }
.tile.ping-buy { animation: tileBuy 1.2s ease-out; } .tile.ping-sell { animation: tileSell 1.2s ease-out; }
@keyframes tileBuy { 0% { box-shadow: inset 0 0 0 2px var(--up), inset 0 0 40px color-mix(in srgb, var(--up) 45%, transparent); } 100% { box-shadow: inset 0 0 0 0 transparent; } }
@keyframes tileSell { 0% { box-shadow: inset 0 0 0 2px var(--down), inset 0 0 40px color-mix(in srgb, var(--down) 45%, transparent); } 100% { box-shadow: inset 0 0 0 0 transparent; } }
.board-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--ink-dim); font-size: 14px; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); }
.kpis > div { padding: 14px 16px; border-right: 1px solid var(--line); min-width: 0; } .kpis > div:last-child { border-right: 0; }
.kpis .l { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-dim); }
.kpis .v { font-family: 'JetBrains Mono', monospace; font-size: 20px; font-weight: 500; margin-top: 4px; letter-spacing: -.03em; }
@media (max-width: 860px) { .mkt-hero { grid-template-columns: 1fr; gap: 18px; } .board { min-height: 300px; } .kpis { grid-template-columns: repeat(2, 1fr); } .kpis > div:nth-child(2) { border-right: 0; } .kpis > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* token table */
.home-grid { gap: 24px; }
.controls { margin-bottom: 10px; }
.search { border-radius: 6px; background: var(--card); } .search:focus-within { border-color: var(--brand); }
.thead, .trow { display: grid; grid-template-columns: 40px minmax(0, 1fr) 96px 110px; align-items: center; gap: 4px 14px; }
.thead { padding: 8px 14px; font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-dim); border-bottom: 1px solid var(--line); }
.thead span:nth-child(3), .thead span:nth-child(4) { text-align: right; }
.trow { padding: 11px 14px; margin: 0; border-radius: 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; }
.trow:hover { transform: none; background: var(--card); border-color: var(--line); }
.trow .lart { width: 40px; height: 40px; font-size: 13px; }
.trow .nm { font-size: 15px; font-weight: 600; } .trow .sy { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; }
.trow .fe { font-size: 12px; } .trow .mc { font-size: 15px; font-weight: 500; min-width: 0; }
.trow.flash-buy { animation: rBuy 1.2s ease-out; } .trow.flash-sell { animation: rSell 1.2s ease-out; }
@keyframes rBuy { 0% { background: color-mix(in srgb, var(--up) 20%, transparent); } 100% { background: transparent; } }
@keyframes rSell { 0% { background: color-mix(in srgb, var(--down) 20%, transparent); } 100% { background: transparent; } }
.feed { top: 72px; } .feed .card { padding: 6px 14px; }
.fi { padding: 10px 0; } .fi .lart { width: 28px; height: 28px; font-size: 10px; }
.fi .fm b.buy { color: var(--up); text-transform: uppercase; font-size: 10.5px; letter-spacing: .06em; } .fi .fm b.sell { color: var(--down); text-transform: uppercase; font-size: 10.5px; letter-spacing: .06em; }

/* token page */
.tk-hero { border-radius: 8px; padding: 22px 22px 8px; }
.about-art { border-radius: 8px !important; }
.statrow { gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.statrow > div { border-radius: 0; background: var(--card); padding: 12px 14px; }
.statrow .l, .fact .l { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; }
.statrow .v { font-size: 17px; font-weight: 500; }
.tabs button { font-size: 13.5px; font-weight: 600; } .tabs button.on::after { height: 2px; border-radius: 0; background: var(--brand); left: 8px; right: 8px; }
.reward-strip .reward-cell { border-radius: 8px; }
.dock { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 16px; box-shadow: none; }
.dock .pills button#buyTab.on { background: var(--up); color: #04120A; box-shadow: none; } .dock .pills button#sellTab.on { background: var(--down); color: #fff; box-shadow: none; }
.swap-block { border-radius: 6px; background: var(--soft); border: 1px solid var(--line); } .swap-block:focus-within { border-color: var(--brand); }
.flip-btn { border-radius: 6px; } .flip-btn:hover { transform: none; }
.token-pill { border-radius: 6px; }
.trade-arrow.buy { color: var(--up); }
.holder-bar-track, .holder-bar-fill, .feebar, .feebar div, .splitbar, .splitbar i { border-radius: 2px; }
.chart-box svg { height: 280px; }

/* launch wizard */
.wiz-dot { border-radius: 6px; padding: 9px 12px; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.wiz-dot.on { transform: none; border-color: var(--brand); background: var(--blue-soft); color: var(--ink); } .wiz-dot.done { color: var(--up); }
.wstep input:not([type=range]):not([type=file]), .wstep select, .wstep input[type=file], .wstep textarea { border-radius: 6px; background: var(--soft); border: 1px solid var(--line); padding: 13px 14px; font-size: 15px; }
.wstep input:not([type=range]):focus, .wstep textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.seg button { border-radius: 8px; border: 1px solid var(--line); border-width: 1px; padding: 16px; } .seg button:hover:not(:disabled) { transform: none; border-color: var(--ink-dim); }
.seg button.on { border-color: var(--brand); background: var(--blue-soft); box-shadow: none; }
.seg-sm button { border-radius: 6px; } .seg .t { font-size: 20px; font-weight: 500; }
.preview { border-radius: 8px; }
.preview .stage { background: var(--soft); border-bottom: 1px solid var(--line); height: 210px; }
.preview .pbub, .preview .pbub.eth { border-radius: 10px; width: 128px; height: 128px; background: var(--card); border: 1px solid var(--line); box-shadow: none; }
.preview .art { border-radius: 8px; width: 60px; height: 60px; }
.preview .n { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 28px; }
.cost-box, .review { border-radius: 8px; }

/* stats + portfolio */
.ticker { gap: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--card); overflow: hidden; }
.ticker > div { background: transparent; border: 0; border-right: 1px solid var(--line); border-radius: 0; padding: 22px; } .ticker > div:last-child { border-right: 0; } .ticker > div:hover { transform: none; }
.ticker .l { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase; }
.ticker .v { font-size: clamp(26px, 3.4vw, 40px); font-weight: 500; letter-spacing: -.04em; }
.ticker .v.blue { color: var(--brand); } .ticker .v.aqua { color: var(--up); }
@media (max-width: 760px) { .ticker { grid-template-columns: 1fr; } .ticker > div { border-right: 0; border-bottom: 1px solid var(--line); } .ticker > div:last-child { border-bottom: 0; } }
.barlist .list-row { border-radius: 6px; } .barlist .list-row .bar { background: color-mix(in srgb, var(--brand) 14%, transparent); }
.list-row .lart { width: 36px; height: 36px; } .list-row .lp { font-weight: 500; font-size: 15px; }
.pf-head { border-radius: 8px; background: var(--card); padding: 24px; }
.pf-head .big { font-weight: 500; font-size: clamp(38px, 7vw, 68px); letter-spacing: -.05em; }
.pf-head .sub { border-radius: 4px; font-size: 12px; }
.accordion-item { border-radius: 8px; }
.empty { border-radius: 8px; }
@media (max-width: 760px) { .thead, .trow { grid-template-columns: 36px minmax(0, 1fr) 76px 84px; gap: 4px 10px; } .trow .lart { width: 36px; height: 36px; } }

.swap-btn { background: var(--up); color: #04120A; } .swap-btn.sell { background: var(--down); color: #fff; }
@media (max-width: 560px) { .tk-hero, .dock { border-radius: 8px; } .trow .fe { font-size: 11px; } .thead, .trow { grid-template-columns: 36px minmax(0, 1fr) 70px 78px; } }
.hold { border-radius: 8px; } .hold:hover { transform: none; border-color: var(--ink-dim); }
.reward-cell { border-radius: 8px; }


/* ---------- RWA / Base-blue layer ---------- */
.sea { display: none; }
body::after { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 55% at 50% 0%, #000, transparent 80%); mask-image: radial-gradient(70% 55% at 50% 0%, #000, transparent 80%); }
:root[data-theme="light"] body::after { opacity: .35; }
.btn-primary, .swap-btn, .connect { background: linear-gradient(180deg, #FF5C95, #F0407F); box-shadow: 0 8px 22px -10px rgba(240, 64, 127, .8), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-primary:hover, .swap-btn:hover, .connect:hover { filter: brightness(1.08); }
.swap-btn.sell { background: linear-gradient(180deg, #F0555A, #D3343B); box-shadow: 0 8px 22px -10px rgba(240, 85, 90, .7); }
.card, .panel, .wstep, .swap-card { border-color: var(--line); }
.mkt-eyebrow { color: #F0407F; } :root[data-theme="light"] .mkt-eyebrow { color: #F0407F; }

/* official platform token badge */
.official { display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; padding: 2px 8px; border-radius: 6px; vertical-align: middle;
  font: 700 10.5px 'JetBrains Mono', monospace; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: linear-gradient(180deg, #FF5C95, #F0407F);
  box-shadow: 0 4px 12px -6px rgba(240, 64, 127, .9); }

/* logos on the market map */
.tile .tl { position: absolute !important; left: 50%; top: 46%; transform: translate(-50%, -50%); border-radius: 22%; object-fit: cover; box-shadow: 0 8px 24px -10px rgba(240, 64, 127, .7); }
.tile .tli { display: flex; align-items: center; justify-content: center; background: var(--soft); border: 1px solid var(--line); color: var(--ink-dim); font-family: 'JetBrains Mono', monospace; font-weight: 700; }
.tile.s .tl { display: none; }


/* ---------- pig flavour ---------- */
.disp, h1, h2, .page-title, .mkt-copy h1, .fee-readout { font-family: 'Fredoka', 'Inter Tight', system-ui, sans-serif; }
.wordmark .disp { font-weight: 700; letter-spacing: 0; font-size: 26px; color: var(--ink); }
.wordmark .disp i { font-style: normal; color: var(--brand); }
.wordmark .mark { width: 38px; height: 38px; transition: transform .3s var(--ease); }
.wordmark:hover .mark { transform: rotate(-8deg) scale(1.08); }
.mkt-copy h1 { font-weight: 700; letter-spacing: -.01em; }
.mkt-copy h1 em { font-style: normal; color: var(--brand); position: relative; }
.mkt-copy h1 em::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 10px; border-radius: 10px; background: var(--blue-soft); z-index: -1; }
.mkt-eyebrow { font-family: 'Fredoka', sans-serif; letter-spacing: .04em; }
.card, .board, .kpis > div, .tile { border-radius: 22px; }
.btn-primary, .swap-btn, .connect, .btn-outline { border-radius: 999px; font-family: 'Fredoka', 'Inter Tight', sans-serif; font-weight: 600; letter-spacing: .01em; }
.btn-primary, .swap-btn, .connect { background: linear-gradient(180deg, #FF7FAE, #F0407F); color: #fff; box-shadow: 0 8px 0 -2px #C42A62, 0 14px 24px -10px rgba(240, 64, 127, .6); }
.btn-primary:active, .swap-btn:active { transform: translateY(3px); box-shadow: 0 4px 0 -2px #C42A62; }
.swap-btn.sell { background: linear-gradient(180deg, #FF8A8A, #E5484D); box-shadow: 0 8px 0 -2px #B02B30; }
.dock-nav { border-radius: 30px; }
.dock-nav a.on { color: var(--brand); } .dock-nav a.on::after { background: var(--brand); }
.official { background: linear-gradient(180deg, #FF7FAE, #F0407F) !important; }
body::after { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: radial-gradient(circle at 20% 30%, rgba(255, 143, 180, .18) 0 3px, transparent 4px), radial-gradient(circle at 70% 70%, rgba(255, 143, 180, .14) 0 5px, transparent 6px);
  background-size: 120px 120px, 170px 170px; }
.sea { display: none; }
.seg button { border-radius: 18px; background: var(--soft); border: 2px solid var(--line); }
.seg button.on { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 8px 0 -3px #C42A62; }
.seg button.on .d { color: rgba(255, 255, 255, .88); }
input[type="range"] { accent-color: var(--brand); }
.chip.on { background: var(--brand); color: #fff; border-color: var(--brand); }


/* =====================================================================
   OINK v2 "sticker book": chunky outlines, hard shadows, pill shapes,
   centered hero, coloured stickers. Same pink palette as before.
   ===================================================================== */
:root { --ol: #FFB3CC; --hard: 0 5px 0 0 var(--ol); --butter: #FFC36B; --mint: #7BE0A8; --blush: #FF7FAE; }
:root[data-theme="light"] { --ol: #3B1226; --butter: #FFE08A; --mint: #A8EBC6; --blush: #FFB3CC; }
body { font-size: 15.5px; }
body::before { background: radial-gradient(60% 40% at 50% -5%, var(--glow-a), transparent 70%), var(--bg); }
.wrap, .wrap.narrow { max-width: 1080px; }

/* header: floating pill */
header#site-header { position: sticky; top: 10px; height: 64px; margin: 10px 0 0; padding: 0 12px 0 16px; gap: 14px; border: 3px solid var(--ol); border-radius: 999px; background: var(--card); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: var(--hard); z-index: 40; }
.topnav { margin: 0 auto; gap: 4px; }
.topnav a { border-radius: 999px; padding: 9px 18px; font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 15px; border: 2px solid transparent; }
.topnav a:hover { background: var(--soft); }
.topnav a.on { background: var(--blush); color: #3B1226; border-color: var(--ol); }
.icon-btn { border: 2px solid var(--ol); box-shadow: 0 3px 0 0 var(--ol); background: var(--card); }
.icon-btn:hover { transform: translateY(-2px); border-color: var(--ol); }
.connect { border: 2px solid var(--ol); box-shadow: 0 4px 0 0 var(--ol); background: var(--blush) !important; color: #3B1226 !important; padding: 10px 20px; }
.connect:hover { box-shadow: 0 6px 0 0 var(--ol); }
@media (max-width: 860px) { header#site-header { margin: 8px 0 0; top: 8px; padding: 0 10px 0 12px; } }

/* ticker: a ribbon */
.tape-bar { margin: 22px 0 0; padding: 0; border: 0; background: transparent; }
.tape { height: 40px; border: 3px solid var(--ol); border-radius: 999px; background: var(--butter); box-shadow: var(--hard); -webkit-mask-image: none; mask-image: none; }
.tape .tp, .tape-empty { color: #3B1226; font-weight: 600; line-height: 34px; }
.tape .tp b { color: #0E7A48; } .tape .tp.sell b { color: #C12A33; } .tape .tp u { color: #3B1226; }
.tape .tp i { background: #0E7A48; } .tape .tp.sell i { background: #C12A33; }

/* shared surfaces */
.card, .board, .kpis > div, .trow, .reward-cell, .tk-hero, .dock { background: var(--card); border: 3px solid var(--ol); border-radius: 26px; box-shadow: var(--hard); }
.card { padding: 22px; }
input, textarea, select { border: 2.5px solid var(--ol) !important; border-radius: 16px !important; background: var(--card) !important; color: var(--ink); }
input:focus, textarea:focus { outline: 3px solid var(--blush); outline-offset: 2px; }
.btn-primary, .swap-btn, .btn-outline { border: 3px solid var(--ol); box-shadow: 0 5px 0 0 var(--ol); background: var(--blush); color: #3B1226; }
.btn-primary:active, .swap-btn:active { transform: translateY(4px); box-shadow: 0 1px 0 0 var(--ol); }
.btn-outline { background: var(--card); color: var(--ink); }
.swap-btn.sell { background: #FF8A8A; color: #3B1226; box-shadow: 0 5px 0 0 var(--ol); }
.pills, .seg-pills { border: 2.5px solid var(--ol); border-radius: 999px; background: var(--card); padding: 3px; }
.pills button.on { background: var(--blush); color: #3B1226; box-shadow: none; }
.chip { border: 2px solid var(--ol); }
.official { border: 2px solid var(--ol); color: #3B1226 !important; background: var(--butter) !important; box-shadow: 0 2px 0 0 var(--ol); }
.pair-tag { border: 2px solid var(--ol); color: #3B1226 !important; background: var(--mint) !important; border-radius: 999px; }
.dock-nav { border: 3px solid var(--ol); box-shadow: var(--hard); background: var(--card); }
.dock-nav a.on { background: var(--blush); color: #3B1226; }
.dock-nav a.on::after { display: none; }
.sec-h { border-bottom: 0; margin: 46px 0 14px; padding: 0; }
.sec-h h2 { font-size: 32px; }
.sec-h h2::after { content: ''; display: block; width: 74px; height: 8px; margin-top: 6px; border-radius: 8px; background: repeating-linear-gradient(90deg, var(--blush) 0 12px, transparent 12px 18px); }
.sec-h span { font-family: 'Fredoka', sans-serif; text-transform: none; letter-spacing: 0; font-size: 14px; }
.page-title { font-size: 44px; margin: 34px 0 6px; }
.page-sub { max-width: 560px; }

/* ---------- home: centered hero + "the pen" ---------- */
.mkt-hero { display: flex; flex-direction: column; align-items: stretch; gap: 30px; margin-top: 30px; }
.mkt-copy { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.mkt-copy h1 { font-size: clamp(38px, 7.4vw, 76px); line-height: 1.02; margin: 0; max-width: 14ch; text-wrap: balance; }
.mkt-copy h1 em::after { display: none; }
.mkt-copy h1 em { display: inline-block; background: var(--blush); color: #3B1226; border: 3px solid var(--ol); border-radius: 22px; padding: 0 .28em .06em; margin-top: .12em; transform: rotate(-1.6deg); box-shadow: var(--hard); }
.mkt-eyebrow { display: inline-block; font-family: 'Fredoka', sans-serif; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; border: 2.5px solid var(--ol); background: var(--mint); color: #3B1226; border-radius: 999px; padding: 4px 14px; }
.mkt-eyebrow::before { display: none !important; content: none !important; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.cta .btn-primary, .cta .btn-outline { width: auto; padding: 15px 28px; font-size: 17px; }
.mascot { position: relative; width: 220px; height: 200px; animation: bob 3.2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(-1.5deg); } }
.coin { position: absolute; left: 50%; top: -34px; width: 30px; height: 30px; margin-left: -15px; border-radius: 50%; background: var(--butter); border: 3px solid var(--ol); box-shadow: inset -4px -4px 0 rgba(0,0,0,.12); opacity: 0; animation: drop 3.2s ease-in infinite; }
.coin::after { content: ''; position: absolute; inset: 7px; border-radius: 50%; border: 2px solid var(--ol); opacity: .5; }
.coin.c2 { animation-delay: 1.6s; margin-left: 12px; }
@keyframes drop { 0% { transform: translateY(0) scale(1); opacity: 0; } 12% { opacity: 1; } 55% { transform: translateY(66px) scale(.9); opacity: 1; } 62% { transform: translateY(72px) scale(.4); opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .mascot, .coin { animation: none; } .coin { display: none; } }
.board { min-height: 430px; background: var(--soft); overflow: hidden; }
.board-head { top: 0; padding: 12px 18px; font-family: 'Fredoka', sans-serif; font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--ink-dim); }
.board-head span:first-child { font-weight: 700; color: var(--ink); font-size: 16px; }
.board-field { inset: 44px 8px 8px 8px; }
.tile { border: 3px solid var(--ol); border-radius: 26px; background: var(--card); transform: scale(.972); transition: transform .2s var(--ease); box-shadow: 0 4px 0 0 var(--ol); }
.tile:hover { filter: none; transform: scale(1) rotate(-.6deg); }
.tile::before { opacity: 1; background: var(--tint, var(--butter)); }
.tile.eth { --tint: var(--butter); } .tile.feat { --tint: var(--blush); }
.tile:nth-child(3n) { --tint: var(--mint); } .tile:nth-child(3n+1):not(.feat) { --tint: var(--butter); } .tile:nth-child(3n+2):not(.feat) { --tint: var(--blush); }
.tile.feat::before, .tile::before { opacity: .85; }
.tile .ts { font-family: 'Fredoka', sans-serif; font-weight: 700; color: #3B1226; font-size: clamp(14px, 1.9vw, 24px); }
.tile .tn, .tile .tm { color: #3B1226; opacity: .75; font-family: 'Fredoka', sans-serif; font-size: 13px; }
.tile .tli { background: var(--card); border: 3px solid var(--ol); color: #3B1226; font-family: 'Fredoka', sans-serif; }
.tile .tl { border: 3px solid var(--ol); box-shadow: none; border-radius: 50%; }

/* kpis: four stickers */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 30px; border: 0; background: transparent; box-shadow: none; border-radius: 0; }
.kpis > div { border-right: 3px solid var(--ol) !important; padding: 16px 18px; min-width: 0; }
.kpis > div:nth-child(1) { background: var(--blush); transform: rotate(-1.5deg); }
.kpis > div:nth-child(2) { background: var(--butter); transform: rotate(1deg); }
.kpis > div:nth-child(3) { background: var(--mint); transform: rotate(-.8deg); }
.kpis > div:nth-child(4) { background: var(--card); transform: rotate(1.4deg); }
.kpis .l, .kpis .v { color: #3B1226; }
.kpis > div:nth-child(4) .l, .kpis > div:nth-child(4) .v { color: var(--ink); }
.kpis .l { font-family: 'Fredoka', sans-serif; font-size: 13px; letter-spacing: .04em; opacity: .8; }
.kpis .v { font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 28px; }
@media (max-width: 860px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .board { min-height: 380px; } }

/* token list: one sticker per token, no table */
.thead { display: none !important; }
.trow { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; grid-template-areas: "art name mc" "art fee mc"; gap: 0 14px; padding: 12px 16px; margin: 0 0 14px; border-bottom: 3px solid var(--ol); background: var(--card); transition: transform .2s var(--ease), box-shadow .2s; }
.trow:hover { transform: translate(-2px, -3px) rotate(-.4deg); background: var(--card); box-shadow: 0 8px 0 0 var(--ol); border-color: var(--ol); }
.trow .lart { grid-area: art; width: 56px; height: 56px; border: 3px solid var(--ol); border-radius: 50%; background: var(--blush); color: #3B1226; font-family: 'Fredoka', sans-serif; }
.trow > span:nth-child(2) { grid-area: name; align-self: end; }
.trow .fe { grid-area: fee; text-align: left; align-self: start; font-family: 'Fredoka', sans-serif; font-size: 13px; }
.trow .fe br { display: none; } .trow .fe .ag::before { content: ' · '; }
.trow .mc { grid-area: mc; align-self: center; min-width: 0; font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 22px; background: var(--butter); color: #3B1226; border: 2.5px solid var(--ol); border-radius: 999px; padding: 6px 14px; }
.trow .nm { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 18px; }
.trow .sy { font-family: 'Fredoka', sans-serif; font-size: 13px; }
.search { border: 3px solid var(--ol); border-radius: 999px; background: var(--card); box-shadow: var(--hard); }
.search input { border: 0 !important; background: transparent !important; }
.controls { gap: 12px; margin: 10px 0 16px; }

/* live trades: chat bubbles */
.feed .card { padding: 12px; background: var(--soft); }
.feed .card > * { background: var(--card); border: 2.5px solid var(--ol); border-radius: 18px 18px 18px 4px; padding: 10px 12px; margin-bottom: 10px; }
.feed .card > *:last-child { margin-bottom: 0; }

/* launch wizard */
.wiz-rail { gap: 8px; }
.wiz-rail > * { border: 2.5px solid var(--ol); border-radius: 999px; background: var(--card); font-family: 'Fredoka', sans-serif; box-shadow: 0 3px 0 0 var(--ol); }
.wiz-rail > .on, .wiz-rail > .cur, .wiz-rail > .active { background: var(--blush); color: #3B1226; }
.preview { border: 3px solid var(--ol); border-radius: 26px; box-shadow: var(--hard); background: var(--card); overflow: hidden; }
.preview .stage { background: var(--butter); }
.preview .pbub .art, .art { border: 3px solid var(--ol); }
.seg button { border: 3px solid var(--ol) !important; box-shadow: 0 4px 0 0 var(--ol); border-radius: 22px; }
.seg button.on { background: var(--blush); color: #3B1226; box-shadow: 0 4px 0 0 var(--ol); }
.seg button.on .d { color: #3B1226; opacity: .8; }
.seg .t { font-family: 'Fredoka', sans-serif; }

/* footer */
.site-footer { margin-top: 56px; padding: 18px 20px; border: 3px dashed var(--ol); border-radius: 26px; background: var(--card); }
.btn-primary, .swap-btn, .connect { color: #3B1226 !important; background: var(--blush) !important; }
.mascot { width: 150px; height: 137px; } .mascot svg { width: 150px; height: 137px; }
.coin { top: -26px; width: 24px; height: 24px; margin-left: -12px; } .coin.c2 { margin-left: 8px; }
@keyframes drop { 0% { transform: translateY(0) scale(1); opacity: 0; } 12% { opacity: 1; } 55% { transform: translateY(48px) scale(.9); opacity: 1; } 62% { transform: translateY(54px) scale(.4); opacity: 0; } 100% { opacity: 0; } }
.mkt-copy { gap: 10px; } .mkt-hero { gap: 24px; margin-top: 22px; }
.mkt-copy h1 { font-size: clamp(34px, 6vw, 62px); max-width: none; }
.mkt-copy h1 em { font-size: .8em; white-space: normal; padding: .02em .3em .1em; }
.tile.s .tl, .tile .tli { max-width: 100%; }


/* ---------- docs: field guide ---------- */
.guide .g-hero { margin-top: 30px; }
.g-tag { display: inline-block; font-family: 'Fredoka', sans-serif; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; border: 2.5px solid var(--ol); background: var(--butter); color: #3B1226; border-radius: 999px; padding: 3px 14px; transform: rotate(-2deg); }
.g-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 36px; margin-top: 12px; align-items: start; }
.g-toc { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 8px; }
.g-toc a { text-decoration: none; font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 15px; padding: 9px 14px; border: 2.5px solid var(--ol); border-radius: 999px; background: var(--card); box-shadow: 0 3px 0 0 var(--ol); transition: transform .15s var(--ease), background .15s; }
.g-toc a:hover { background: var(--blush); color: #3B1226; transform: translateX(4px); }
.g-body { min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.g-sec { scroll-margin-top: 96px; border: 3px solid var(--ol); border-radius: 26px; background: var(--card); box-shadow: var(--hard); padding: 24px 26px; }
.g-sec h2 { font-size: 28px; margin: 0 0 12px; }
.g-sec p { color: var(--ink-dim); max-width: 64ch; line-height: 1.6; }
.g-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.g-fact { border: 3px solid var(--ol); border-radius: 20px; padding: 14px 16px; color: #3B1226; display: flex; flex-direction: column; gap: 4px; }
.g-fact b { font-family: 'Fredoka', sans-serif; font-size: 24px; }
.g-fact span { font-size: 14px; line-height: 1.45; }
.g-fact.f1 { background: var(--blush); transform: rotate(-.8deg); } .g-fact.f2 { background: var(--butter); transform: rotate(.7deg); }
.g-fact.f3 { background: var(--mint); transform: rotate(.5deg); } .g-fact.f4 { background: var(--soft); color: var(--ink); transform: rotate(-.6deg); }
.g-bar { display: flex; height: 54px; border: 3px solid var(--ol); border-radius: 999px; overflow: hidden; background: var(--soft); }
.g-bar i { display: flex; align-items: center; justify-content: center; min-width: 0; }
.g-bar i em { font-style: normal; font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 15px; color: #3B1226; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 8px; }
.g-bar i.p { background: var(--butter); border-right: 3px solid var(--ol); } .g-bar i.r { background: var(--blush); }
.g-bar.sm { height: 26px; }
.g-bar i.c, .g-key i.c { background: var(--blush); } .g-bar i.h, .g-key i.h { background: var(--mint); } .g-bar i.b, .g-key i.b { background: var(--butter); }
.g-bar.sm i + i { border-left: 3px solid var(--ol); }
.g-mixes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 20px 0 12px; }
.g-mix h3 { font-family: 'Fredoka', sans-serif; font-size: 16px; margin: 0 0 8px; } .g-mix small { display: block; margin-top: 6px; color: var(--ink-dim); font-family: 'JetBrains Mono', monospace; font-size: 12px; }
.g-key { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13.5px; margin-bottom: 8px; }
.g-key span { display: inline-flex; align-items: center; gap: 7px; } .g-key i { width: 18px; height: 18px; border: 2.5px solid var(--ol); border-radius: 50%; display: inline-block; }
.g-steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.g-steps li { counter-increment: s; position: relative; border: 2.5px solid var(--ol); border-radius: 20px; padding: 12px 16px 12px 66px; background: var(--soft); display: flex; flex-direction: column; gap: 2px; }
.g-steps li::before { content: counter(s); position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 3px solid var(--ol); border-radius: 50%; background: var(--blush); color: #3B1226; display: grid; place-items: center; font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 18px; }
.g-steps li b { font-family: 'Fredoka', sans-serif; font-size: 18px; } .g-steps li span { color: var(--ink-dim); font-size: 14.5px; line-height: 1.5; }
.g-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.g-card { border: 2.5px solid var(--ol); border-radius: 20px; padding: 16px 18px; background: var(--soft); } .g-card h3 { font-family: 'Fredoka', sans-serif; margin: 0 0 6px; font-size: 19px; } .g-card p { margin: 0; font-size: 14.5px; }
.g-qa { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.g-qa .q { align-self: flex-start; max-width: 85%; background: var(--blush); color: #3B1226; border: 2.5px solid var(--ol); border-radius: 20px 20px 20px 4px; padding: 9px 16px; font-family: 'Fredoka', sans-serif; font-weight: 600; }
.g-qa .a { align-self: flex-end; max-width: 85%; background: var(--card); border: 2.5px solid var(--ol); border-radius: 20px 20px 4px 20px; padding: 10px 16px; line-height: 1.55; font-size: 14.5px; }
.g-contracts { display: flex; flex-direction: column; gap: 10px; }
.g-ct { display: flex; flex-direction: column; gap: 2px; padding: 11px 16px; border: 2.5px solid var(--ol); border-radius: 18px; background: var(--soft); text-decoration: none; min-width: 0; transition: transform .15s var(--ease); }
.g-ct:hover { transform: translate(-2px, -2px); background: var(--butter); color: #3B1226; }
.g-ct b { font-family: 'Fredoka', sans-serif; } .g-ct span { font-size: 12.5px; color: var(--ink-dim); overflow-wrap: anywhere; } .g-ct:hover span { color: #3B1226; }
@media (max-width: 860px) {
  .g-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .g-toc { position: static; flex-direction: row; overflow-x: auto; padding: 2px 2px 8px; }
  .g-toc a { white-space: nowrap; flex: none; }
  .g-facts, .g-cards, .g-mixes { grid-template-columns: minmax(0, 1fr); }
  .g-sec { padding: 18px 16px; }
  .g-qa .q, .g-qa .a { max-width: 100%; }
}
html, body { overflow-x: clip; }
