/* pool's closed launcher — habbo-raid pixel edition. same pools, no fun. */

@font-face {
  font-family: 'Press Start 2P';
  src: url('assets/fonts/press-start-2p.woff2') format('woff2');
  font-display: swap;
}

:root {
  --bg: #050506;
  --card: #0e0e12;
  --card2: #16161b;
  --card3: #1e1e24;
  --border: #232329;
  --border-hot: #ff2d9c;
  --text: #f2f2f4;
  --muted: #8f8f99;
  --pink: #ff2d9c;
  --pink-deep: #d81b7f;
  --yellow: #ffd400;
  --up: #2edc7e;
  --down: #ff5252;
  --water: #58c8f0;
  --radius: 16px;
  --font-ui: 'Inter', system-ui, -apple-system, sans-serif;
  --pixel: 'Press Start 2P', 'Courier New', monospace;
  --mono: ui-monospace, 'Cascadia Code', Menlo, monospace;
  --glow-pink: 0 0 10px rgba(255,45,156,.8), 0 0 28px rgba(255,45,156,.45);
  --glow-yellow: 0 0 10px rgba(255,212,0,.7), 0 0 26px rgba(255,212,0,.35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { color-scheme: dark; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 14px;
  min-height: 100vh;
  padding-bottom: 60px;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea { font-family: inherit; color: inherit; }
.mono { font-family: var(--mono); }
.pixel { font-family: var(--pixel); }
.hidden { display: none !important; }
.muted { color: var(--muted); }
::selection { background: var(--pink); color: #fff; }
img { image-rendering: auto; }

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

/* ── topbar ─────────────────────────────────────────────── */
.topbar {
  display: flex; align-items: center; gap: 18px;
  padding: 12px 22px; position: sticky; top: 0; z-index: 50;
  background: rgba(5,5,6,.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid #101014;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 42px; height: 42px; border-radius: 50%; overflow: hidden;
  border: 2px solid #fff; background: #fff; display: grid; place-items: center;
}
.brand-logo img { width: 100%; height: 100%; object-fit: cover; }
.brand-name { font-family: var(--pixel); font-size: 15px; letter-spacing: 0; }
.brand-name .w1 { color: #fff; }
.brand-name .w2 { color: var(--pink); text-shadow: var(--glow-pink); }
.brand-tag {
  font-family: var(--pixel); font-size: 7px; color: #0a0a0a; background: var(--yellow);
  padding: 3px 6px; border-radius: 4px; margin-left: 8px; vertical-align: middle;
}
.topnav { display: flex; gap: 8px; margin-left: auto; }
.navlink {
  padding: 10px 16px; border-radius: 999px; font-weight: 600; color: var(--muted);
  border: 1px solid var(--border); background: var(--card); transition: .15s; font-size: 13px;
}
.navlink:hover, .navlink.active { color: var(--text); border-color: #3a3a42; }
.topbar-right { display: flex; gap: 10px; align-items: center; }
.btn-launch {
  background: linear-gradient(180deg, var(--pink), var(--pink-deep));
  color: #fff; font-family: var(--pixel); font-size: 11px;
  padding: 13px 22px; border-radius: 999px; transition: .15s;
  box-shadow: var(--glow-pink);
}
.btn-launch:hover { transform: translateY(-1px); filter: brightness(1.1); }
.btn-launch.wide { width: 100%; padding: 16px; font-size: 12px; }
.btn-wallet {
  background: var(--card); border: 1px solid var(--border);
  padding: 11px 16px; border-radius: 999px; font-weight: 700; max-width: 170px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px;
}
.btn-wallet:hover { border-color: #3a3a42; }

/* ── caution tape ───────────────────────────────────────── */
.tape {
  overflow: hidden; user-select: none;
  background: repeating-linear-gradient(-45deg, var(--yellow) 0 26px, #0c0c0c 26px 52px);
  border-top: 2px solid #000; border-bottom: 2px solid #000;
}
.tape-track { display: inline-flex; white-space: nowrap; animation: tape 36s linear infinite; }
.tape-track span {
  font-family: var(--pixel); font-size: 11px; color: #fff; padding: 10px 0 8px;
  text-shadow: 2px 2px 0 #000, -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 0 2px 0 #000, 0 -2px 0 #000, 2px 0 0 #000, -2px 0 0 #000;
}
.tape-track em { font-style: normal; padding: 0 14px; }
@keyframes tape { to { transform: translateX(-50%); } }

/* ── hero ───────────────────────────────────────────────── */
.hero { margin-top: 22px; }
.hero-panel {
  border-radius: 24px; border: 1px solid var(--border);
  background: radial-gradient(ellipse 70% 90% at 85% 20%, rgba(255,45,156,.07), transparent 60%),
              radial-gradient(ellipse 60% 80% at 10% 90%, rgba(88,200,240,.06), transparent 60%),
              var(--card);
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px;
  padding: 44px 46px; align-items: center;
}
.hero-title { font-family: var(--pixel); font-size: clamp(30px, 4.2vw, 58px); line-height: 1.15; }
.hero-title .w1 { color: #fff; }
.hero-title .w2 { color: var(--pink); text-shadow: var(--glow-pink); }
.hero-tag { font-size: 19px; font-weight: 600; margin: 18px 0 14px; color: var(--text); }
.hero-tag b { font-weight: 900; }
.hero-copy p { color: var(--muted); font-size: 15px; line-height: 1.65; max-width: 520px; }
.hero-copy a { color: var(--pink); font-weight: 600; }
.hero-copy b { color: var(--text); }
.hero-ctas { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; align-items: center; }
.btn-ghost-pill {
  border: 1px solid var(--border); border-radius: 999px; padding: 13px 20px;
  font-weight: 700; font-size: 13px; background: var(--card2); transition: .15s;
  display: inline-block;
}
.btn-ghost-pill:hover { border-color: var(--pink); }
.hero-wait { margin-top: 20px; color: var(--muted); font-size: 13px; }
.hero-art { position: relative; }
.hero-art img {
  width: 100%; border-radius: 18px; display: block;
  border: 3px solid var(--water); box-shadow: 0 0 0 3px #0a3550, 0 18px 44px rgba(0,0,0,.55);
  image-rendering: pixelated;
}
.hero-art .art-cap {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  font-family: var(--pixel); font-size: clamp(14px, 1.9vw, 26px); color: #fff; white-space: nowrap;
  text-shadow: 3px 3px 0 #000, -3px -3px 0 #000, 3px -3px 0 #000, -3px 3px 0 #000, 0 3px 0 #000, 0 -3px 0 #000, 3px 0 0 #000, -3px 0 0 #000;
}

/* ── stat tiles ─────────────────────────────────────────── */
.statgrid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px; margin: 22px 0 4px;
}
.stile {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 20px; text-align: center;
}
.stile .num { font-family: var(--pixel); font-size: clamp(20px, 2.4vw, 32px); }
.stile .lbl { margin-top: 14px; color: var(--muted); font-size: 11px; letter-spacing: 3px; text-transform: uppercase; font-weight: 600; }
.stile.pink .num { color: var(--pink); text-shadow: var(--glow-pink); }
.stile.yellow .num { color: var(--yellow); text-shadow: var(--glow-yellow); }
.stile.white .num { color: #fff; }
.stile.water .num { color: var(--water); text-shadow: 0 0 10px rgba(88,200,240,.7), 0 0 26px rgba(88,200,240,.35); }

/* ── sections ───────────────────────────────────────────── */
.section-label {
  font-family: var(--pixel); font-size: 13px; margin: 30px 2px 14px;
  color: var(--text); letter-spacing: 1px;
}
.section-label .accent { color: var(--pink); }

/* ── leaders row ────────────────────────────────────────── */
.leaders { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 12px; }
.leaders-empty {
  color: var(--muted); padding: 22px; border: 1px dashed var(--border); border-radius: var(--radius);
  font-size: 13px; grid-column: 1/-1; text-align: center;
}
.leader {
  background: var(--card); border-radius: var(--radius); padding: 14px;
  display: flex; flex-direction: column; gap: 10px; cursor: pointer;
  transition: .15s; border: 1px solid var(--border);
}
.leader:hover { border-color: var(--pink); box-shadow: 0 0 18px rgba(255,45,156,.2); }
.leader-top { display: flex; align-items: center; gap: 10px; }
.leader-rank { font-family: var(--pixel); font-size: 15px; width: 46px; color: var(--yellow); text-shadow: var(--glow-yellow); }
.leader-rank small { font-size: 8px; vertical-align: super; }
.leader-ava { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 1px solid #fff; }
.leader-sym { font-family: var(--pixel); font-size: 12px; }
.leader-cols { display: flex; gap: 16px; margin-left: auto; text-align: right; }
.leader-col .lab { font-size: 10px; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; }
.leader-col .val { font-weight: 800; font-size: 14px; margin-top: 2px; }
.quickrow { display: flex; gap: 8px; }
.qb {
  flex: 1; background: var(--card3); border: 1px solid transparent; border-radius: 10px; padding: 9px 0;
  font-weight: 700; font-size: 13px; transition: .12s; text-align: center;
}
.qb:hover { border-color: var(--pink); color: var(--pink); }

/* ── trending strip ─────────────────────────────────────── */
.trending-row {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr);
  gap: 12px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin;
}
.tcard {
  background: var(--card); border-radius: var(--radius); padding: 12px;
  display: flex; flex-direction: column; gap: 10px; cursor: pointer;
  border: 1px solid var(--border); transition: .15s;
}
.tcard:hover { border-color: var(--pink); }
.tcard-top { display: flex; align-items: center; gap: 10px; }
.tcard-ava { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 1px solid #fff; }
.tcard-name { font-family: var(--pixel); font-size: 10px; display: flex; align-items: center; gap: 6px; }
.tcard-sym { color: var(--muted); font-size: 12px; font-weight: 600; margin-top: 4px; }
.tcard-chg { margin-left: auto; font-weight: 800; font-size: 13px; }
.up { color: var(--up); } .down { color: var(--down); }

/* ── controls ───────────────────────────────────────────── */
.controls { display: flex; gap: 14px; margin: 22px 0 16px; align-items: center; flex-wrap: wrap; }
.search {
  flex: 1; min-width: 280px; display: flex; align-items: center; gap: 10px;
  background: var(--card); border: 1px solid var(--border); border-radius: 999px; padding: 0 18px;
}
.search-ico { opacity: .5; }
.search input { flex: 1; background: none; border: 0; outline: 0; padding: 14px 0; font-size: 14px; }
.tabs { display: flex; gap: 4px; background: var(--card); border: 1px solid var(--border); border-radius: 999px; padding: 4px; }
.tab {
  padding: 9px 16px; border-radius: 999px; font-weight: 700; color: var(--muted); transition: .12s;
  display: flex; align-items: center; gap: 7px; font-size: 13px;
}
.tab:hover { color: var(--text); }
.tab.active { background: var(--card3); color: var(--text); }
.tab .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--up); display: inline-block; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .3; } }

/* ── grid ───────────────────────────────────────────────── */
.grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px; margin-bottom: 40px;
}
.gcard {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  cursor: pointer; border: 1px solid var(--border); transition: .15s;
  display: flex; flex-direction: column;
}
.gcard:hover { border-color: var(--pink); transform: translateY(-2px); box-shadow: 0 0 22px rgba(255,45,156,.18); }
.gcard-img { aspect-ratio: 1; background: #fff; position: relative; }
.gcard-img img { width: 100%; height: 100%; object-fit: cover; }
.gcard-img .bonded-tag {
  position: absolute; top: 10px; right: 10px; background: var(--yellow); color: #0a0a0a;
  font-family: var(--pixel); font-size: 8px; border-radius: 6px; padding: 5px 8px;
}
.gcard-body { padding: 14px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.gcard-name { font-family: var(--pixel); font-size: 12px; display: flex; align-items: center; gap: 7px; }
.gcard-attempt {
  color: var(--pink); font-size: 11px; font-weight: 600; font-style: italic;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.gcard-sym { color: var(--muted); font-weight: 600; font-size: 12px; display: flex; gap: 6px; align-items: center; }
.gcard-rows { display: flex; flex-direction: column; gap: 5px; font-size: 13px; }
.gcard-rows .r { display: flex; justify-content: space-between; }
.gcard-rows .k { color: var(--muted); }
.gcard-rows .v { font-weight: 700; }
.gprog { height: 6px; background: var(--card3); border-radius: 3px; overflow: hidden; }
.gprog-fill { height: 100%; background: repeating-linear-gradient(-45deg, var(--pink) 0 8px, var(--pink-deep) 8px 16px); border-radius: 3px; transition: width .4s; }
.gcard-creator { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); border-top: 1px solid var(--border); padding-top: 10px; margin-top: auto; }
.grid-empty { grid-column: 1/-1; text-align: center; padding: 50px 20px; color: var(--muted); }
.grid-empty img { width: 240px; max-width: 90%; border-radius: 14px; margin-bottom: 18px; border: 2px solid var(--water); image-rendering: pixelated; }
.grid-empty h3 { color: var(--text); margin-bottom: 10px; font-family: var(--pixel); font-size: 14px; }

/* ── live feed ──────────────────────────────────────────── */
.livefeed { display: flex; flex-direction: column; gap: 8px; margin-bottom: 40px; }
.feed-item {
  display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--border);
  border-radius: 10px; padding: 11px 16px; font-size: 13px; cursor: pointer;
  animation: slidein .25s ease-out;
}
.feed-item:hover { border-color: var(--pink); }
@keyframes slidein { from { opacity: 0; transform: translateY(-6px); } }
.feed-item .t { color: var(--muted); font-size: 12px; min-width: 64px; }
.feed-buy { color: var(--up); font-weight: 800; }
.feed-sell { color: var(--down); font-weight: 800; }
.feed-launch { color: var(--pink); font-weight: 800; }
.feed-grad { color: var(--yellow); font-weight: 800; }

/* ── how ────────────────────────────────────────────────── */
.how { margin-bottom: 50px; }
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.how-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.how-num {
  width: 36px; height: 36px; border-radius: 8px; background: var(--pink); box-shadow: var(--glow-pink);
  display: grid; place-items: center; font-family: var(--pixel); font-size: 13px; margin-bottom: 16px; color: #fff;
}
.how-card h4 { font-family: var(--pixel); font-size: 11px; margin-bottom: 12px; line-height: 1.5; }
.how-card p { color: var(--muted); font-size: 13px; line-height: 1.6; }
.how-card p b { color: var(--text); }
.how-card code { background: var(--card3); padding: 1px 6px; border-radius: 6px; font-size: 12px; color: var(--pink); }

/* ── token page ─────────────────────────────────────────── */
.backlink { display: inline-block; margin: 16px 0; color: var(--muted); font-weight: 600; }
.backlink:hover { color: var(--pink); }
.token-layout { display: grid; grid-template-columns: 1fr 360px; gap: 16px; align-items: start; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; margin-bottom: 16px; }
.token-head { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.token-avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: #fff; border: 2px solid #fff; }
.token-title { display: flex; flex-direction: column; gap: 10px; min-width: 240px; }
.token-name-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.token-name-row h2 { font-family: var(--pixel); font-size: 20px; }
.token-sub-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--muted); }
.ticker { font-weight: 800; color: var(--text); }
.ca { font-size: 12px; }
.copy { color: var(--muted); font-size: 14px; }
.copy:hover { color: var(--text); }
.chip {
  font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
  background: var(--card3); display: inline-flex; align-items: center; gap: 5px;
}
.chip-top { color: var(--yellow); } .chip-trend { color: #ff8c42; }
.chip-born { border: 1px solid var(--up); color: var(--up); background: transparent; }
.chip-bonded { background: var(--yellow); color: #0a0a0a; }
.chip-attempt { border: 1px solid var(--pink); color: var(--pink); background: transparent; font-style: italic; max-width: 340px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.token-stats { display: flex; gap: 34px; margin-left: auto; flex-wrap: wrap; }
.stat-label { color: var(--muted); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px; }
.stat-value { font-weight: 800; font-size: 20px; }

.bond-row { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 10px; }
.bond-row span:last-child { font-family: var(--pixel); font-size: 12px; color: var(--pink); }
.bond-bar { height: 12px; border-radius: 6px; background: var(--card3); overflow: hidden; }
.bond-fill { height: 100%; border-radius: 6px; background: repeating-linear-gradient(-45deg, var(--pink) 0 10px, var(--pink-deep) 10px 20px); transition: width .5s; }
.bond-note { color: var(--muted); font-size: 12px; margin-top: 10px; }

.chart-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; flex-wrap: wrap; gap: 10px; }
.ohlc { font-size: 12px; color: var(--muted); }
.chart-ctrl { display: flex; gap: 10px; }
.mini-tabs { display: flex; background: var(--card3); border-radius: 999px; padding: 3px; gap: 2px; }
.mtab { padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--muted); }
.mtab.active { background: var(--card); color: var(--text); }
#chart { width: 100%; display: block; }

.table-tabs { display: flex; gap: 4px; margin-bottom: 14px; }
.ttab { padding: 8px 16px; border-radius: 8px; font-family: var(--pixel); font-size: 10px; color: var(--muted); }
.ttab.active { color: var(--pink); text-shadow: var(--glow-pink); }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th { text-align: left; color: var(--muted); font-weight: 600; padding: 8px 12px; border-bottom: 1px solid var(--border); }
.table td { padding: 9px 12px; border-bottom: 1px solid #17171c; white-space: nowrap; }
.td-buy { color: var(--up); font-weight: 700; } .td-sell { color: var(--down); font-weight: 700; }

/* ── swap box ───────────────────────────────────────────── */
.swapbox { position: sticky; top: 76px; }
.swap-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.swap-head h3 { font-family: var(--pixel); font-size: 15px; }
.buysell { display: flex; border-bottom: 1px solid var(--border); margin-bottom: 14px; }
.bs { flex: 1; padding: 11px; font-family: var(--pixel); font-size: 11px; color: var(--muted); border-bottom: 2px solid transparent; }
.bs.active { color: var(--text); }
#bs-buy.active { border-color: var(--up); }
#bs-sell.active { border-color: var(--down); }
.balrow { display: flex; justify-content: space-between; padding: 5px 0; color: var(--muted); font-size: 13px; }
.balrow .mono { color: var(--text); font-weight: 600; }
.amount { margin: 10px 0; }
.amount-row {
  display: flex; align-items: center; background: var(--card2);
  border: 1px solid var(--border); border-radius: 12px; padding: 4px 14px;
}
.amount-row input { flex: 1; background: none; border: 0; outline: 0; font-size: 22px; font-weight: 700; padding: 10px 0; min-width: 0; }
.amount-row .unit { font-weight: 800; color: var(--muted); }
.approx { color: var(--muted); font-size: 12px; margin: 6px 2px; }
.chips { display: flex; gap: 8px; margin: 10px 0; }
.chipbtn { flex: 1; background: var(--card3); border: 1px solid transparent; border-radius: 10px; padding: 10px 0; font-weight: 700; transition: .12s; }
.chipbtn:hover { border-color: var(--pink); color: var(--pink); }
.btn-swap {
  width: 100%; padding: 15px; border-radius: 999px; font-family: var(--pixel); font-size: 11px;
  background: var(--card3); color: var(--muted); transition: .15s; margin-top: 8px;
}
.btn-swap.ready-buy { background: linear-gradient(180deg, #35e88a, #17b05f); color: #05230f; box-shadow: 0 0 14px rgba(46,220,126,.4); }
.btn-swap.ready-sell { background: linear-gradient(180deg, #ff6262, #d63030); color: #fff; box-shadow: 0 0 14px rgba(255,82,82,.4); }
.btn-swap:disabled { opacity: .6; cursor: not-allowed; }
.swap-note { text-align: center; color: var(--muted); font-size: 11px; margin-top: 10px; }

.infocard .inforow { display: flex; justify-content: space-between; padding: 7px 0; font-size: 13px; color: var(--muted); gap: 12px; }
.infocard .inforow span:last-child { color: var(--text); font-weight: 600; text-align: right; }
.cardtitle { font-family: var(--pixel); font-size: 12px; margin-bottom: 12px; }
.feenote { color: var(--muted); font-size: 11px; margin: 8px 0; }
.feebtns { display: flex; flex-direction: column; gap: 8px; }
.btn-ghost {
  background: var(--card2); border: 1px solid var(--border); border-radius: 999px;
  padding: 11px; font-weight: 700; font-size: 13px; text-align: center; transition: .12s;
}
.btn-ghost:hover { border-color: var(--pink); }
.linkbtn { display: block; margin-bottom: 8px; }

/* ── launch modal ───────────────────────────────────────── */
.modal-back {
  position: fixed; inset: 0; background: rgba(0,0,0,.78); backdrop-filter: blur(5px);
  display: grid; place-items: center; z-index: 100; padding: 20px;
}
.modal {
  width: 480px; max-width: 100%; max-height: 92vh; overflow-y: auto;
  background: var(--card); border-radius: 20px; border: 1px solid var(--border);
}
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px 0; }
.modal-head h3 { font-family: var(--pixel); font-size: 14px; }
.modal-sub { padding: 8px 24px 0; color: var(--muted); font-size: 13px; }
.modal-x { color: var(--muted); font-size: 16px; }
.modal-body { padding: 16px 24px 24px; display: flex; flex-direction: column; gap: 8px; }
.modal-body label { font-weight: 700; font-size: 13px; margin-top: 10px; }
.modal-body .opt { color: var(--muted); font-weight: 500; font-size: 12px; }
.field input, .modal-body textarea {
  width: 100%; background: var(--card2); border: 1px solid var(--border); border-radius: 12px;
  padding: 13px 14px; outline: 0; font-size: 14px; font-weight: 600;
}
.field input:focus, .modal-body textarea:focus { border-color: var(--pink); }
.modal-body textarea { resize: vertical; }
.upload {
  display: flex; align-items: center; gap: 14px; background: var(--card2);
  border: 1px dashed #3a3a42; border-radius: 12px; padding: 12px; cursor: pointer; transition: .15s;
}
.upload:hover { border-color: var(--pink); }
.upload img { width: 54px; height: 54px; border-radius: 10px; object-fit: cover; background: #fff; }
.upload .up-txt { display: flex; flex-direction: column; gap: 3px; font-size: 13px; }
.upload .up-txt b { font-weight: 700; }
.upload .up-txt span { color: var(--muted); font-size: 12px; }
.modal-amt { background: var(--card2); border: 1px solid var(--border); border-radius: 12px; }
.modal-amt input { border: 0; background: none; font-size: 18px; font-weight: 700; }
.launch-summary { color: var(--muted); font-size: 12px; text-align: center; margin: 8px 0; }
.launch-progress {
  font-family: var(--pixel); font-size: 10px; color: var(--water); text-align: center;
  padding: 10px 0 2px; min-height: 30px; line-height: 1.8;
}
.modal-note { text-align: center; color: var(--muted); font-size: 12px; font-style: italic; margin-top: 8px; }

/* ── reveal modal ───────────────────────────────────────── */
.reveal { text-align: center; padding: 30px 28px 28px; }
.reveal-title { font-family: var(--pixel); font-size: 22px; color: var(--pink); text-shadow: var(--glow-pink); line-height: 1.5; }
.reveal-sub { font-family: var(--pixel); font-size: 9px; color: var(--muted); margin-top: 10px; }
.reveal-compare { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 26px 0; }
.reveal-col { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 175px; }
.reveal-col .rlbl { font-size: 11px; color: var(--muted); letter-spacing: 2px; text-transform: uppercase; }
.reveal-col img { width: 110px; height: 110px; border-radius: 14px; object-fit: cover; background: #fff; }
.reveal-col .rname { font-weight: 800; font-size: 13px; max-width: 175px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reveal-col.denied img { filter: grayscale(1) brightness(.6); border: 2px solid var(--down); }
.reveal-col.denied .rname { color: var(--muted); text-decoration: line-through; }
.reveal-col.granted img { border: 2px solid var(--up); box-shadow: 0 0 18px rgba(46,220,126,.35); }
.reveal-arrow { font-family: var(--pixel); font-size: 20px; color: var(--yellow); text-shadow: var(--glow-yellow); }
.reveal-due { font-style: italic; color: var(--muted); margin-bottom: 20px; font-size: 13px; }

/* ── status bar ─────────────────────────────────────────── */
.statusbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(6,6,8,.96); border-top: 1px solid var(--border);
  padding: 8px 18px; font-size: 12px;
}
.status-left, .status-right { display: flex; align-items: center; gap: 12px; }
.badge-closed { background: var(--yellow); color: #0a0a0a; font-family: var(--pixel); font-size: 8px; padding: 5px 9px; border-radius: 6px; }
.rpcdot { color: var(--up); font-size: 10px; }
.rpcdot.bad { color: var(--down); }

/* ── music player ───────────────────────────────────────── */
.player {
  position: fixed; bottom: 52px; right: 18px; z-index: 60;
  display: flex; align-items: center; gap: 12px;
  background: var(--card); border: 1px solid var(--border); border-radius: 999px;
  padding: 8px 18px 8px 8px; box-shadow: 0 8px 26px rgba(0,0,0,.55);
}
.player-btn {
  width: 44px; height: 44px; border-radius: 50%; flex: 0 0 auto;
  background: linear-gradient(180deg, var(--pink), var(--pink-deep));
  color: #fff; font-size: 16px; box-shadow: var(--glow-pink); transition: .15s;
  display: grid; place-items: center; padding-left: 2px;
}
.player-btn:hover { filter: brightness(1.12); }
.player-btn.playing { padding-left: 0; }
.player-vol {
  -webkit-appearance: none; appearance: none; width: 96px; height: 6px;
  background: var(--card3); border-radius: 3px; outline: 0; cursor: pointer;
}
.player-vol::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 16px; height: 16px; border-radius: 50%;
  background: var(--pink); box-shadow: 0 0 8px rgba(255,45,156,.8); border: 2px solid #fff;
}
.player-vol::-moz-range-thumb {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--pink); box-shadow: 0 0 8px rgba(255,45,156,.8); border: 2px solid #fff;
}

/* ── toasts ─────────────────────────────────────────────── */
#toasts { position: fixed; bottom: 116px; right: 18px; display: flex; flex-direction: column; gap: 8px; z-index: 200; }
.toast {
  background: var(--card3); border: 1px solid var(--border); border-left: 3px solid var(--pink);
  border-radius: 12px; padding: 12px 16px; font-weight: 600; font-size: 13px;
  max-width: 340px; animation: slidein .2s ease-out; box-shadow: 0 8px 24px rgba(0,0,0,.5);
}
.toast.ok { border-left-color: var(--up); }
.toast.err { border-left-color: var(--down); }

/* ── responsive ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .token-layout { grid-template-columns: 1fr; }
  .swapbox { position: static; }
  .hero-panel { grid-template-columns: 1fr; padding: 30px 24px; }
  .topnav { display: none; }
}
@media (max-width: 640px) {
  .token-stats { margin-left: 0; gap: 20px; }
  .leader-cols { gap: 10px; }
  .reveal-compare { flex-direction: column; }
  .reveal-arrow { transform: rotate(90deg); }
}
