:root {
  --sun: #ffc04a;
  --ember: #ff6b1f;
  --coral: #ff4f6d;
  --magenta: #e8399a;
  --violet: #6d3fd8;
  --teal: #29e3d2;
  --sea: #0b2747;
  --deep: #081a33;
  --abyss: #040c19;
  --ink: #eef6ff;
  --muted: #9fb6cf;
  --line: rgba(160, 205, 255, 0.14);
  --panel: rgba(9, 28, 54, 0.72);
  --panel-solid: #0b2140;
  --sell: #ff4d5e;
  --buy: #2fe39b;
  --display: "Bowlby One", "Arial Black", Impact, sans-serif;
  --scrawl: "Permanent Marker", "Comic Sans MS", cursive;
  --body: "Rubik", system-ui, -apple-system, Segoe UI, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --r: 18px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  color: var(--ink);
  font: 400 17px/1.55 var(--body);
  background:
    radial-gradient(1200px 600px at 70% 0%, rgba(255, 107, 31, 0.18), transparent 60%),
    linear-gradient(180deg, #1a0f2e 0%, var(--deep) 32%, var(--sea) 55%, var(--deep) 78%, var(--abyss) 100%);
  background-color: var(--deep);
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
b { color: #fff; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 20px;
  padding: 10px max(16px, calc((100% - 1120px) / 2));
  background: rgba(8, 18, 38, 0.72);
  backdrop-filter: blur(12px) saturate(1.3);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 400 22px/1 var(--display); letter-spacing: 0.5px; }
.brand img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid var(--sun); }
.links { display: flex; gap: 20px; margin-left: 8px; }
.links a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 15px; }
.links a:hover { color: var(--ink); }
.pill {
  margin-left: auto; display: flex; align-items: center; gap: 8px;
  font: 500 13px/1 var(--mono); color: var(--muted);
  padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04);
  white-space: nowrap;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #5d6f86; }
.pill.live { color: var(--ink); }
.pill.live .dot { background: var(--buy); box-shadow: 0 0 0 0 rgba(47, 227, 155, 0.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(47, 227, 155, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 227, 155, 0); } }

/* ---------- hero ---------- */
.hero { position: relative; padding: 0; }
.hero-art { position: relative; overflow: hidden; }
.hero-art img { width: 100%; height: auto; aspect-ratio: 1280 / 511; object-fit: cover; }
.hero-art::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 45%;
  background: linear-gradient(180deg, transparent, #1a0f2e 92%);
  pointer-events: none;
}
.hero-copy { position: relative; z-index: 2; margin-top: -90px; text-align: center; padding-bottom: 40px; }
.logo {
  margin: 0; font: 400 clamp(72px, 15vw, 168px)/0.9 var(--display); letter-spacing: 1px;
  background: linear-gradient(180deg, #fff3c4 0%, var(--sun) 30%, var(--ember) 62%, var(--magenta) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 0 rgba(60, 10, 40, 0.55)) drop-shadow(0 18px 40px rgba(255, 107, 31, 0.35));
}
.scrawl {
  margin: 6px 0 0; font: 400 clamp(26px, 4.4vw, 44px)/1.1 var(--scrawl); color: var(--teal);
  transform: rotate(-2deg); text-shadow: 0 3px 0 rgba(0, 0, 0, 0.35);
}
.lede { max-width: 660px; margin: 22px auto 0; color: #d6e4f3; font-size: 18px; }
.lede em { font-style: normal; color: var(--sun); font-weight: 700; }

.ca {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; max-width: 100%;
  padding: 8px 8px 8px 14px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line);
}
.ca-label { font: 700 12px/1 var(--mono); color: var(--sun); letter-spacing: 1px; }
.ca code { font: 500 14px/1.3 var(--mono); color: var(--ink); overflow-wrap: anywhere; text-align: left; }
.ca-copy {
  font: 700 13px/1 var(--body); color: #1a0f2e; background: var(--teal); border: 0; border-radius: 10px; padding: 9px 12px; cursor: pointer;
}
.ca-copy:hover { filter: brightness(1.1); }

.hooked-badge {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; padding: 7px 14px; border-radius: 999px;
  font-size: 14px; color: var(--muted); text-decoration: none; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line);
  transition: color 0.15s, border-color 0.15s;
}
.hooked-badge b { background: linear-gradient(90deg, #ff4f8b, #b48cff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hooked-badge:hover { color: var(--ink); border-color: rgba(180, 140, 255, 0.5); }
.rules .fine a, .foot a { color: var(--ink); text-underline-offset: 3px; }
.ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 22px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border-radius: 14px; border: 0; cursor: pointer;
  font: 700 16px/1 var(--body); text-decoration: none; transition: transform 0.12s, filter 0.12s, box-shadow 0.12s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn:active { transform: translateY(1px); }
.btn[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }
.btn-buy {
  color: #2a0f00; background: linear-gradient(180deg, var(--sun), var(--ember));
  box-shadow: 0 6px 0 #a63a06, 0 14px 30px rgba(255, 107, 31, 0.35);
}
.btn-ghost { color: var(--ink); background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); }

/* ---------- sections ---------- */
section { padding: 72px 0; }
.section-head { max-width: 720px; margin-bottom: 32px; }
.kicker { margin: 0 0 8px; font: 400 20px/1 var(--scrawl); color: var(--sun); }
h2 { margin: 0; font: 400 clamp(32px, 5vw, 52px)/1.02 var(--display); letter-spacing: 0.3px; }
.sub { color: var(--muted); margin: 16px 0 0; }
.fine { color: var(--muted); font-size: 13px; }

/* ---------- normal coin vs $FISH ---------- */
.versus {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 18px; padding-top: 24px; padding-bottom: 8px;
}
.vs-card { padding: 22px 24px; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); }
.vs-fish { border-color: rgba(255, 77, 94, 0.45); background: linear-gradient(180deg, rgba(255, 77, 94, 0.1), var(--panel)); }
.vs-label { margin: 0; font: 500 13px/1.3 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.vs-big { margin: 10px 0 0; font: 400 clamp(36px, 5vw, 56px)/1 var(--display); }
.vs-normal .vs-big { color: var(--buy); }
.vs-fish .vs-big { color: var(--sell); }
.vs-time { margin: 6px 0 16px; color: var(--ink); font-weight: 500; }
.vs-mid { align-self: center; font: 400 26px/1 var(--scrawl); color: var(--sun); }
.vs-track { display: block; height: 10px; border-radius: 6px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.vs-fill { display: block; height: 100%; width: 0; border-radius: 6px; }
.vs-normal .vs-fill, #simVsNormal { background: var(--buy); }
.vs-fish .vs-fill, #simVsFish { background: linear-gradient(90deg, var(--ember), var(--sell)); }
.versus.shown .vs-normal .vs-fill { width: 1.5%; transition: width 0.3s ease-out; }
.versus.shown .vs-fish .vs-fill { width: 100%; transition: width 4s linear 0.3s; }
.vs-punch { grid-column: 1 / -1; margin: 6px 0 0; text-align: center; font: 400 clamp(22px, 3.4vw, 32px)/1.2 var(--scrawl); color: var(--sun); transform: rotate(-1deg); }
.vs-fine { grid-column: 1 / -1; margin: 0; text-align: center; color: var(--muted); font-size: 13px; }

.sim-vs { margin-top: 14px; display: grid; gap: 8px; }
.sim-vs-row { display: grid; grid-template-columns: 92px 1fr auto; align-items: center; gap: 10px; font: 500 13px/1 var(--mono); color: var(--muted); }
.sim-vs-row b { color: var(--buy); white-space: nowrap; }
.sim-vs-row.fish b { color: var(--sell); }
#simVsNormal, #simVsFish { transition: width 0.5s ease; }

/* ---------- ladder ---------- */
.ladder {
  position: relative; border-radius: var(--r); overflow: hidden;
  background: linear-gradient(180deg, rgba(41, 227, 210, 0.08), rgba(4, 12, 25, 0.5));
  border: 1px solid var(--line);
}
.ladder-row {
  display: grid; grid-template-columns: 140px 1fr 96px 150px; align-items: center; gap: 18px;
  padding: 16px 22px; border-top: 1px solid var(--line); position: relative;
}
.ladder-headrow { border-top: 0; font: 500 12px/1 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: 1px; padding-block: 14px; }
.ladder-row .r { text-align: right; }
.tier-mcap { font: 400 24px/1 var(--display); }
.tier-mcap small { display: block; font: 500 11px/1.4 var(--mono); color: var(--muted); letter-spacing: 0.5px; margin-top: 4px; }
.tier-bar { position: relative; height: 34px; display: flex; align-items: center; }
.tier-bar .fill {
  width: calc((100% - var(--label-room, 150px)) * var(--f, 1));
  height: 100%; min-width: 8px; border-radius: 9px;
  background: linear-gradient(90deg, var(--ember), var(--magenta));
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.2);
  transform-origin: left; transition: transform 0.9s cubic-bezier(.2, .8, .2, 1);
}
.tier-bar .amt { margin-left: 12px; font: 700 15px/1 var(--mono); white-space: nowrap; }
.tier-bar .amt small { font-weight: 500; color: var(--muted); margin-left: 6px; }
.tier-buy { font: 700 15px/1 var(--mono); color: var(--buy); }
.tier-buy small { display: block; font: 500 11px/1.4 var(--mono); color: var(--muted); margin-top: 4px; }
.tier-txs { font: 700 22px/1 var(--mono); color: var(--sun); }
.tier-txs small { display: block; font: 500 11px/1.4 var(--mono); color: var(--muted); margin-top: 4px; }
.ladder-row.here { background: linear-gradient(90deg, rgba(41, 227, 210, 0.16), transparent 70%); }
.ladder-row.here::before {
  content: "YOU ARE HERE"; position: absolute; left: 22px; top: -1px; transform: translateY(-50%);
  font: 700 10px/1 var(--mono); letter-spacing: 1px; color: #04131f; background: var(--teal); padding: 4px 7px; border-radius: 6px;
}
.ladder-row.here::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--teal); }
.ladder:not(.shown) .fill { transform: scaleX(0); }

/* ---------- simulator ---------- */
.sim { display: grid; grid-template-columns: 1.05fr 1fr; gap: 22px; align-items: stretch; }
.sim-controls, .feed {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 24px;
}
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font: 500 13px/1 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.field input {
  width: 100%; font: 700 26px/1 var(--mono); color: var(--ink);
  background: rgba(0, 0, 0, 0.28); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; outline: none;
}
.field input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(41, 227, 210, 0.2); }
.field small { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chips button {
  font: 600 14px/1 var(--mono); color: var(--ink); background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; cursor: pointer;
}
.chips button:hover { border-color: rgba(255, 255, 255, 0.35); }
.chips button[aria-pressed="true"] { background: var(--teal); color: #04131f; border-color: var(--teal); }
.chips button .live-tag { font-size: 10px; margin-left: 4px; }

.sim-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 4px; }
.stat { background: rgba(0, 0, 0, 0.25); border-radius: 14px; padding: 14px; border: 1px solid var(--line); }
.stat-num { display: block; font: 400 clamp(22px, 3vw, 32px)/1 var(--display); color: var(--sun); overflow-wrap: anywhere; }
.stat:first-child .stat-num { color: var(--sell); }
.stat-label { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); line-height: 1.3; }
.sim-worth { margin: 14px 0 0; color: var(--muted); font-size: 14px; min-height: 1.4em; }
.sim-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.btn-sell { color: #fff; background: var(--sell); box-shadow: 0 6px 0 #9e1b2a; flex: 1; }
.sell-pad { position: relative; z-index: 2; padding-top: 14px; border-top: 1px solid var(--line); }
.sell-one {
  width: 100%; min-height: 66px; font: 400 22px/1 var(--display); letter-spacing: 0.5px;
  touch-action: manipulation; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent;
}
.sell-one:hover { transform: none; }
.sell-one:active { transform: translateY(4px); box-shadow: 0 2px 0 #9e1b2a; }
.sell-one:disabled { opacity: 0.4; cursor: not-allowed; }
.sell-one.pop { animation: pop 0.18s ease-out; }
@keyframes pop { 0% { filter: brightness(1.5); } 100% { filter: none; } }
.taunt { margin: 10px 0 0; min-height: 1.3em; text-align: center; font: 500 13px/1.3 var(--mono); color: var(--muted); }
.btn-hold { color: #04131f; background: var(--teal); box-shadow: 0 6px 0 #0f8379; flex: 1; }

.feed { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 460px; background: rgba(3, 10, 22, 0.82); contain: size; }
.feed-top { display: flex; justify-content: space-between; align-items: baseline; font: 500 13px/1 var(--mono); color: var(--muted); }
.feed-title { text-transform: uppercase; letter-spacing: 1px; }
.feed-title i { font-style: normal; text-transform: none; letter-spacing: 0; opacity: 0.7; }
.feed-count { color: var(--ink); font-weight: 700; }
.feed-bar { height: 6px; background: rgba(255, 255, 255, 0.08); border-radius: 6px; margin: 12px 0 14px; overflow: hidden; }
.feed-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--sell), var(--ember)); transition: width 0.15s linear; }
.feed-list { list-style: none; margin: 0; padding: 0; flex: 1 1 0; min-height: 0; overflow: hidden; font: 500 13px/1.2 var(--mono); position: relative; }
.feed-list::after { content: ""; position: absolute; inset: auto 0 0 0; height: 80px; background: linear-gradient(transparent, rgba(3, 10, 22, 0.95)); pointer-events: none; }
.feed { user-select: none; -webkit-user-select: none; }
.feed-list li { display: grid; grid-template-columns: 54px auto 1fr; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 8px; animation: slidein 0.25s ease-out; }
.feed-list li:first-child:not(.feed-empty) { background: rgba(255, 77, 94, 0.12); }
.feed-list li:nth-child(odd) { background: rgba(255, 255, 255, 0.03); }
.feed-list .tag { font-weight: 700; font-size: 11px; text-align: center; padding: 4px 0; border-radius: 6px; background: rgba(255, 77, 94, 0.16); color: var(--sell); }
.feed-list .tag.buy { background: rgba(47, 227, 155, 0.14); color: var(--buy); }
.feed-list .n { color: var(--muted); }
.feed-list li.feed-empty { display: block; color: var(--muted); font-family: var(--body); font-size: 15px; padding: 24px 6px; background: none; animation: none; }
@keyframes slidein { from { opacity: 0; transform: translateY(-8px); } }

.watcher {
  position: absolute; right: 0; top: 34%; width: 104px; height: auto; border-radius: 14px 0 0 14px; z-index: 1;
  transform: translateX(105%) rotate(-4deg); transition: transform 0.5s cubic-bezier(.2, .9, .3, 1.2); pointer-events: none;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.45);
}
.feed.watching .watcher { transform: translateX(calc(105% - var(--peek, 0.25) * 80%)) rotate(-4deg); }
.verdict {
  position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; text-align: center; padding: 28px;
  background: rgba(3, 10, 22, 0.88); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  animation: fadein 0.3s ease-out;
}
.verdict h3 { margin: 0; font: 400 34px/1.05 var(--display); }
.verdict.sold h3 { color: var(--sell); }
.verdict.held h3 { color: var(--teal); }
.verdict p { margin: 12px auto 0; max-width: 340px; color: var(--muted); }
.verdict p.scrawl-sm { font: 400 24px/1.2 var(--scrawl); color: var(--sun); transform: rotate(-2deg); }
.verdict button { margin: 20px auto 0; }
@keyframes fadein { from { opacity: 0; } }

/* ---------- whale watch ---------- */
.whale-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.whale-top .chips { margin-bottom: 0; }
.sample-pill {
  font: 700 11px/1 var(--mono); letter-spacing: 1px; text-transform: uppercase; color: var(--sun);
  padding: 7px 10px; border-radius: 999px; border: 1px dashed rgba(255, 192, 74, 0.6); background: rgba(255, 192, 74, 0.08);
}
.whale-summary { margin: 16px 0 18px; color: var(--muted); }
.whale-summary b { color: var(--ink); }
.whale-summary .big { color: var(--sell); font-weight: 700; }
.whale-table { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--panel); }
.whale-row {
  display: grid; grid-template-columns: 34px minmax(120px, 1fr) minmax(130px, 0.9fr) minmax(220px, 2.2fr) 150px;
  gap: 16px; align-items: center; padding: 14px 20px; border-top: 1px solid var(--line);
}
.whale-table.no-activity .whale-row { grid-template-columns: 34px minmax(120px, 1fr) minmax(130px, 0.9fr) minmax(220px, 2.6fr); }
.whale-table.no-activity .w-status, .whale-table.no-activity .whale-head > :last-child { display: none; }
.whale-head { border-top: 0; padding-block: 12px; font: 500 12px/1 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.whale-head .r, .w-status { text-align: right; }
.w-rank { font: 700 14px/1 var(--mono); color: var(--muted); }
.w-who { min-width: 0; }
.w-wallet { display: block; font: 500 14px/1.2 var(--mono); color: var(--ink); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.w-wallet:hover { color: var(--teal); }
.w-name { display: flex; align-items: center; gap: 6px; font: 700 15px/1.2 var(--body); color: var(--ink); }
.w-name i { font: 700 9px/1 var(--mono); font-style: normal; letter-spacing: 1px; text-transform: uppercase; color: #b48cff; border: 1px solid rgba(180, 140, 255, 0.5); border-radius: 5px; padding: 3px 4px; }
.w-name i.src-fomo { color: var(--sun); border-color: rgba(255, 192, 74, 0.55); }
.w-name i.src-pumpfun { color: #86efac; border-color: rgba(134, 239, 172, 0.5); }
.w-addr { display: block; margin-top: 3px; font: 500 12px/1 var(--mono); color: var(--muted); }
.w-bag { font: 700 15px/1.2 var(--mono); }
.w-bag small { display: block; font-weight: 500; font-size: 12px; color: var(--muted); margin-top: 3px; }
.w-exit { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; }
.w-bar { height: 12px; border-radius: 6px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.w-bar span { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--ember), var(--sell)); transition: width 0.6s cubic-bezier(.2, .8, .2, 1); }
.w-sells { font: 400 20px/1 var(--display); color: var(--sell); text-align: right; min-width: 64px; }
.w-sells small { display: block; font: 500 11px/1.3 var(--mono); color: var(--muted); margin-top: 3px; }
.w-status span { display: inline-block; font: 700 12px/1 var(--mono); padding: 6px 9px; border-radius: 8px; white-space: nowrap; }
.w-status .holding { color: var(--buy); background: rgba(47, 227, 155, 0.12); }
.w-status .dumping { color: var(--sell); background: rgba(255, 77, 94, 0.14); }

/* ---------- wall ---------- */
/* Fixed tiling so there are no holes: the PFP is 2x2, the hairy fish is tall, the orange fish is wide. */
.wall-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(200px, 22vw, 262px);
  grid-template-areas: "p p w h" "p p l h" "o o s b";
}
.a-p { grid-area: p; } .a-w { grid-area: w; } .a-h { grid-area: h; } .a-l { grid-area: l; }
.a-o { grid-area: o; } .a-s { grid-area: s; } .a-b { grid-area: b; }
.card { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; background: var(--panel-solid); border: 1px solid var(--line); }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card:hover img { transform: scale(1.05); }
.a-p img, .a-s img, .a-h img { object-position: center 30%; }
.a-w img { object-position: center 40%; }
.a-o img { object-position: center 85%; }
.card figcaption {
  position: absolute; inset: auto 0 0 0; padding: 36px 14px 12px;
  font: 400 17px/1.2 var(--scrawl); color: var(--sun); text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  background: linear-gradient(transparent, rgba(4, 12, 25, 0.92) 60%);
}
.a-p figcaption { font-size: 24px; color: var(--teal); padding: 60px 20px 18px; }

/* ---------- faq ---------- */
.faq details { border-top: 1px solid var(--line); padding: 4px 0; max-width: 820px; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 700; font-size: 19px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 24px/1 var(--display); color: var(--sun); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* ---------- footer ---------- */
.foot { padding: 40px 0 60px; border-top: 1px solid var(--line); text-align: center; }
.foot .fine { max-width: 640px; margin: 8px auto 0; }

/* ---------- ambience ---------- */
.bubbles { position: fixed; inset: 0; pointer-events: none; z-index: -1; overflow: hidden; }
.bubbles span {
  position: absolute; bottom: -40px; border-radius: 50%;
  border: 1px solid rgba(190, 240, 255, 0.35); background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.02) 60%);
  animation: rise linear infinite;
}
@keyframes rise { to { transform: translate3d(var(--drift, 20px), -115vh, 0); } }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 50; transform: translate(-50%, 16px); opacity: 0; visibility: hidden;
  background: var(--teal); color: #04131f; font-weight: 700; padding: 12px 18px; border-radius: 12px;
  transition: transform 0.25s, opacity 0.25s, visibility 0.25s; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .sim { grid-template-columns: 1fr; }
  .feed { contain: none; height: 520px; min-height: 0; }
  .watcher { width: 80px; }
  .wall-grid {
    grid-template-columns: 1fr 1fr; grid-auto-rows: calc((100vw - 32px - 14px) / 2);
    grid-template-areas: "p p" "p p" "w l" "o o" "s b" "h h" "h h";
  }
  .card figcaption { font-size: 14px; padding: 26px 10px 9px; }
  .a-p figcaption { font-size: 20px; padding: 44px 14px 12px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .links { display: none; }
  .hero-art img { aspect-ratio: 4 / 3; object-position: 72% 50%; }
  .hero-copy { margin-top: -56px; }
  section { padding: 56px 0; }
  .ladder-row { grid-template-columns: 92px 1fr; gap: 6px 12px; padding: 14px 16px; }
  .ladder-headrow { display: none; }
  .tier-mcap { font-size: 20px; grid-row: span 3; }
  .tier-buy { font-size: 13px; }
  .tier-buy::before { content: "max buy "; font-weight: 500; color: var(--muted); }
  .tier-buy small { display: inline; margin-left: 6px; }
  .tier-bar { --label-room: 104px; }
  .btn { padding: 0 16px; }
  .tier-txs { font-size: 15px; text-align: left !important; }
  .tier-txs small { display: inline; margin-left: 6px; }
  .ladder-row.here::before { left: 16px; }
  .sim-controls, .feed { padding: 18px; }
  .versus { grid-template-columns: 1fr; gap: 10px; }
  .vs-mid { justify-self: center; }
  .sim-vs-row { grid-template-columns: 78px 1fr; }
  .sim-vs-row b { grid-column: 2; font-size: 12px; }
  .whale-head { display: none; }
  .whale-row {
    grid-template-columns: 26px 1fr auto; grid-template-areas: "rank wallet status" "rank bag bag" "rank exit exit";
    gap: 8px 10px; padding: 14px 14px;
  }
  .whale-table.no-activity .whale-row { grid-template-columns: 26px 1fr auto; }
  .w-rank { grid-area: rank; align-self: start; padding-top: 2px; }
  .w-who { grid-area: wallet; }
  .w-status { grid-area: status; }
  .w-bag { grid-area: bag; }
  .w-bag small { display: inline; margin: 0 0 0 6px; }
  .w-exit { grid-area: exit; }
  .sim-out { grid-template-columns: 1fr 1fr; }
  .sim-out .stat:last-child { grid-column: 1 / -1; }
  .ca { flex-wrap: wrap; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bubbles { display: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
