/* ═══════════════════════════════════════════════════
   ASSEM — GENERATIONAL BOTTOM
   Premium UI — Senior-level polish
   ═══════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ── */
:root {
  --bg: #040406;
  --surface: rgba(10, 10, 16, .65);
  --surface-solid: #0a0a10;
  --line: rgba(255, 255, 255, .06);
  --line-hover: rgba(255, 255, 255, .12);
  --pink: #ff0099;
  --pink-soft: rgba(255, 0, 153, .10);
  --pink-glow: rgba(255, 0, 153, .35);
  --green: #7aff3a;
  --green-soft: rgba(122, 255, 58, .08);
  --red: #ff3b3b;
  --gold: #ffd700;
  --white: #eef0f6;
  --muted: #6d7288;
  --text-secondary: #9598ab;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --ticker-h: 28px;
  --cta-h: 52px;
  --vg: .06;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; overflow-x: hidden; }
body {
  font-family: Inter, -apple-system, system-ui, sans-serif;
  color: var(--white);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Ccircle cx='11' cy='11' r='9' fill='none' stroke='%23ff0099' stroke-width='1' opacity='.5'/%3E%3Ccircle cx='11' cy='11' r='1.5' fill='%23ff0099' opacity='.8'/%3E%3C/svg%3E") 11 11, crosshair;
}

/* ── SPLASH ── */
.splash {
  position: fixed; inset: 0; z-index: 99999;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.2rem; cursor: pointer;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.splash.gone { opacity: 0; transform: scale(1.08); pointer-events: none; }
.splash-title {
  font: italic 900 clamp(5rem, 18vw, 12rem)/.82 'Anton', sans-serif;
  color: #fff;
  text-shadow: 0 0 80px var(--pink-glow), 0 0 160px rgba(255, 0, 153, .15);
  animation: splashGlitch 3s step-end infinite;
}
.splash-sub {
  font: 900 clamp(1rem, 2.5vw, 1.5rem)/1 'Bebas Neue', sans-serif;
  letter-spacing: .35em; color: var(--muted);
}
.splash-cta {
  font: 700 .72rem/1 'Space Mono', monospace;
  color: var(--pink); letter-spacing: .12em;
  animation: blink 1.5s step-end infinite;
  margin-top: 1rem;
}
@keyframes splashGlitch {
  0%, 90%, 100% { transform: none; }
  92% { transform: translate(3px, -2px); text-shadow: 3px 0 var(--pink), -3px 0 var(--green); }
  94% { transform: translate(-3px, 1px); }
  96% { transform: translate(2px, 0); }
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }

/* ── ATMOSPHERE ── */
.grain {
  position: fixed; inset: 0; z-index: 9998; pointer-events: none; opacity: .018;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px; mix-blend-mode: overlay;
}
.scanlines {
  position: fixed; inset: 0; z-index: 9997; pointer-events: none; opacity: .008;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,.04) 2px, rgba(255,255,255,.04) 4px);
}
#flash {
  position: fixed; inset: 0; pointer-events: none; opacity: 0; z-index: 9000;
  background: radial-gradient(circle at 50% 60%, rgba(255, 0, 153, .45), transparent 55%);
  transition: opacity .05s;
}

/* ── TOAST ── */
.toast {
  position: fixed; top: calc(var(--ticker-h) + .8rem); left: 50%; translate: -50% 0;
  z-index: 9999; padding: .5rem 1rem; border-radius: var(--radius-pill);
  background: rgba(5, 5, 7, .92); border: 1px solid var(--pink-soft);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .4);
  font: 700 .7rem/1.3 'Space Mono', monospace; color: var(--pink);
  opacity: 0; transform: translateY(-8px);
  transition: all .22s var(--bounce); white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateY(0); }

/* ── MILESTONE ── */
.milestone {
  position: fixed; inset: 0; z-index: 9500;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; opacity: 0; transition: opacity .15s;
}
.milestone.show { opacity: 1; }
.milestone span {
  font: italic 900 clamp(2.5rem, 10vw, 6.5rem)/1 'Anton', sans-serif;
  color: #fff; text-transform: uppercase;
  text-shadow: 0 0 60px var(--pink-glow), 0 0 120px var(--pink-glow);
  transform: rotate(-8deg) scale(0);
  animation: msIn .6s var(--bounce) forwards;
}
@keyframes msIn {
  0% { transform: rotate(-8deg) scale(0); }
  50% { transform: rotate(-5deg) scale(1.12); }
  100% { transform: rotate(-6deg) scale(1); }
}

/* ── COMBO DISPLAY ── */
.combo-display {
  position: fixed; top: 38%; left: 50%; translate: -50% -50%; z-index: 9400;
  pointer-events: none;
  font: italic 900 clamp(3rem, 9vw, 5.5rem)/1 'Anton', sans-serif;
  color: var(--gold); text-shadow: 0 0 40px rgba(255, 215, 0, .4);
  opacity: 0; transition: opacity .15s;
}
.combo-display.show { opacity: 1; animation: comboPulse .3s ease-out; }
@keyframes comboPulse {
  0% { transform: translate(-50%, -50%) scale(1.3); }
  100% { transform: translate(-50%, -50%) scale(1); }
}

/* ── ACHIEVEMENT ── */
.achievement {
  position: fixed; top: calc(var(--ticker-h) + 3.5rem); left: 50%; translate: -50% 0;
  z-index: 9999; padding: .5rem 1rem; border-radius: var(--radius);
  background: rgba(255, 215, 0, .06); border: 1px solid rgba(255, 215, 0, .2);
  backdrop-filter: blur(12px);
  font: 700 .68rem/1.3 'Space Mono', monospace; color: var(--gold);
  opacity: 0; transform: translateY(-8px);
  transition: all .25s var(--bounce); white-space: nowrap;
}
.achievement.show { opacity: 1; transform: translateY(0); }

/* ── RAVE ── */
body.rave { animation: rave .45s linear infinite; }
@keyframes rave { 0% { filter: hue-rotate(0) saturate(1.4); } 100% { filter: hue-rotate(25deg) saturate(1.4); } }

/* ── TICKER ── */
.ticker {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--ticker-h); overflow: hidden;
  border-bottom: 1px solid rgba(255, 0, 153, .12);
  background: linear-gradient(90deg, rgba(255, 0, 153, .92), rgba(255, 68, 187, .92), rgba(255, 0, 153, .92));
  color: #fff; box-shadow: 0 2px 12px rgba(255, 0, 153, .12);
}
.ticker-track {
  display: flex; width: max-content; height: 100%; align-items: center;
  font: 700 .6rem/1 'Space Mono', monospace;
  white-space: nowrap; animation: marquee 30s linear infinite; letter-spacing: .06em;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ══════════════════════════════════════
   SPLIT LAYOUT
   ══════════════════════════════════════ */
.split {
  display: grid;
  grid-template-columns: 1fr 360px;
  height: calc(100vh - var(--ticker-h));
  height: calc(100dvh - var(--ticker-h));
  margin-top: var(--ticker-h);
  overflow: hidden;
}

/* ── VIEWER ── */
.viewer-col { position: relative; overflow: hidden; }
.viewer {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  background: #030305;
  border-right: 1px solid rgba(255, 0, 153, var(--vg));
  box-shadow: inset -1px 0 20px rgba(255, 0, 153, calc(var(--vg) * .25));
  transition: border-color .5s var(--ease), box-shadow .5s var(--ease);
}

/* Blurred bg */
.bg-blur {
  position: absolute; inset: -30px;
  width: calc(100% + 60px); height: calc(100% + 60px);
  object-fit: cover;
  filter: blur(45px) brightness(.35) saturate(1.6);
  z-index: 1; pointer-events: none;
}
.viewer::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 25% 15%, rgba(255, 0, 153, .05), transparent),
    radial-gradient(ellipse 50% 40% at 80% 85%, rgba(80, 0, 180, .04), transparent);
  animation: meshBreathe 10s ease-in-out infinite;
}
@keyframes meshBreathe { 0%, 100% { opacity: .6; } 50% { opacity: 1; } }

.canvas {
  position: relative; display: block; width: 100%; height: 100%;
  background: transparent; cursor: inherit; z-index: 2; touch-action: none;
}
.loader {
  position: absolute; top: 50%; left: 50%; translate: -50% -50%; z-index: 6;
  font: italic 900 1.2rem/1 'Anton', sans-serif; color: var(--pink); display: none;
}

/* Bottom gradient */
.bottom-fade {
  position: absolute; bottom: 0; left: 0; right: 0; height: 11rem;
  z-index: 3; pointer-events: none;
  background: linear-gradient(0deg, rgba(4, 4, 6, .85) 0%, rgba(4, 4, 6, .4) 50%, transparent 100%);
}

/* Shockwave */
.shockwave {
  position: absolute; z-index: 5; pointer-events: none;
  width: 100px; height: 100px; border-radius: 50%;
  border: 1.5px solid rgba(255, 0, 153, .35); opacity: 0;
  transform: translate(-50%, -50%) scale(0);
}
.shockwave.fire { animation: shockwave .4s ease-out forwards; }
@keyframes shockwave {
  0% { opacity: .5; transform: translate(-50%, -50%) scale(0); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(4); }
}

/* Slap FX */
.slap-fx {
  position: absolute; z-index: 10; pointer-events: none;
  font: italic 900 2rem/1 'Anton', sans-serif;
  color: #fff; text-shadow: 0 0 20px var(--pink-glow); opacity: 0;
}
.slap-fx.pop { animation: slapP .35s var(--bounce) forwards; }
@keyframes slapP {
  0% { opacity: 1; transform: scale(.4) rotate(-10deg); }
  40% { opacity: 1; transform: scale(1.3) rotate(6deg); }
  100% { opacity: 0; transform: scale(1.6) translateY(-20px) rotate(12deg); }
}

/* Reactions */
.reactions { position: absolute; inset: 0; z-index: 8; pointer-events: none; overflow: hidden; }
.reaction {
  position: absolute;
  font: 700 .65rem/1 'Space Mono', monospace;
  color: rgba(255, 255, 255, .4);
  animation: reactionUp 2.2s ease-out forwards;
}
@keyframes reactionUp {
  0% { opacity: .6; transform: translateY(0) scale(.8); }
  100% { opacity: 0; transform: translateY(-55px) scale(1); }
}

/* ── WATERMARK ── */
.wm-title {
  position: absolute; top: 1rem; left: 1.2rem; z-index: 7;
  font: italic 900 clamp(2rem, 4.5vw, 3.2rem)/.85 'Anton', sans-serif;
  color: rgba(255, 255, 255, .035); pointer-events: none; letter-spacing: .08em;
  transition: color .8s, text-shadow .8s;
}
.wm-sub {
  position: absolute; top: calc(1rem + clamp(2rem, 4.5vw, 3.2rem)); left: 1.2rem; z-index: 7;
  font: 900 clamp(.55rem, 1vw, .8rem)/1 'Bebas Neue', sans-serif;
  color: rgba(255, 255, 255, .025); pointer-events: none; letter-spacing: .3em;
}
body[data-phase="ascended"] .wm-title,
body[data-phase="transcended"] .wm-title { color: rgba(255, 255, 255, .07); text-shadow: 0 0 20px rgba(255, 0, 153, .08); }

/* ── GLITCH ── */
.glitch { position: relative; display: inline-block; }
.glitch::before, .glitch::after {
  content: attr(data-text); position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; overflow: hidden; pointer-events: none;
}
.glitch::before { color: var(--pink); z-index: -1; animation: g1 5s step-end infinite; }
.glitch::after { color: var(--green); z-index: -1; animation: g2 5s step-end infinite; }
@keyframes g1 { 0%, 93%, 100% { clip-path: inset(0 0 100% 0); } 94% { clip-path: inset(15% 0 45% 0); transform: translate(-3px); } 96% { clip-path: inset(55% 0 15% 0); transform: translate(2px); } 98% { clip-path: inset(0 0 100% 0); } }
@keyframes g2 { 0%, 93%, 100% { clip-path: inset(0 0 100% 0); } 94.5% { clip-path: inset(45% 0 25% 0); transform: translate(3px); } 96.5% { clip-path: inset(15% 0 55% 0); transform: translate(-2px); } 98.5% { clip-path: inset(0 0 100% 0); } }
.glitch.hit::before { animation: gH .2s step-end forwards; }
.glitch.hit::after { animation: gH2 .2s step-end forwards; }
@keyframes gH { 0% { clip-path: inset(20% 0 30% 0); transform: translate(-4px); } 50% { clip-path: inset(50% 0 10% 0); transform: translate(3px); } 100% { clip-path: inset(0 0 100% 0); transform: none; } }
@keyframes gH2 { 0% { clip-path: inset(40% 0 20% 0); transform: translate(4px); } 50% { clip-path: inset(10% 0 50% 0); transform: translate(-3px); } 100% { clip-path: inset(0 0 100% 0); transform: none; } }

/* ── HUD PANELS ── */
.glass {
  position: absolute; z-index: 10;
  border: 1px solid rgba(255, 255, 255, .05);
  background: rgba(6, 6, 10, .5);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius); padding: .4rem .6rem;
  transition: background .2s;
}
.hud-tl { top: .7rem; left: .7rem; display: flex; align-items: center; gap: .35rem; }
.hud-bl { bottom: 8rem; left: .7rem; display: flex; flex-direction: column; gap: .1rem; }
.hud-br { bottom: 8rem; right: .7rem; display: flex; flex-direction: column; align-items: flex-end; gap: .1rem; }

.hud-pill {
  padding: .15rem .4rem; border-radius: var(--radius-pill);
  background: var(--pink-soft); border: 1px solid rgba(255, 0, 153, .12);
  color: var(--pink); font: 700 .5rem/1 'Space Mono', monospace; letter-spacing: .08em;
}
.hud-txt { color: var(--text-secondary); font-size: .68rem; }
.hud-lbl { color: var(--pink); font: 700 .44rem/1 'Space Mono', monospace; letter-spacing: .12em; }
.slap-num {
  font: 900 1.6rem/1 'Bebas Neue', sans-serif; color: var(--pink);
  display: inline-block; transition: font-size .12s var(--ease);
}
.rank { font: 700 .5rem/1 'Space Mono', monospace; color: var(--muted); letter-spacing: .08em; }
.hud-br strong { font: 900 1.1rem/1 'Bebas Neue', sans-serif; }
.combo { font: 700 .55rem/1 'Space Mono', monospace; color: var(--muted); }
.mono { font-family: 'Space Mono', monospace; }

/* Mute */
.mute-btn {
  top: .7rem; right: .7rem; z-index: 12;
  cursor: pointer; font: 700 .48rem/1 'Space Mono', monospace;
  color: var(--muted); letter-spacing: .08em;
  transition: color .15s, border-color .15s;
}
.mute-btn:hover { color: var(--pink); border-color: rgba(255, 0, 153, .15); }

/* Momentum */
.momentum-bar {
  position: absolute; bottom: 7.5rem; left: 0; right: 0; height: 2px;
  z-index: 11; background: rgba(255, 255, 255, .02);
}
.momentum-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--pink), var(--gold), var(--red));
  box-shadow: 0 0 8px var(--pink-glow); transition: width .25s var(--ease);
}

/* TX Banner */
.tx-banner {
  position: absolute; bottom: 5rem; left: 0; right: 0; z-index: 11;
  padding: .2rem .7rem; display: flex; gap: 1.2rem; align-items: center;
  font: 700 .5rem/1 'Space Mono', monospace; color: var(--muted); overflow: hidden;
}
.tx-viewers { color: var(--green); white-space: nowrap; flex-shrink: 0; }
.tx-scroll { display: flex; gap: .8rem; white-space: nowrap; overflow: hidden; }
.tx-item { white-space: nowrap; }
.tx-addr { color: var(--pink); }
.tx-amt { color: var(--green); }
.tx-sell .tx-amt { color: var(--red); }

/* Tagline */
.tagline-bar {
  position: absolute; bottom: .4rem; left: 50%; translate: -50% 0; z-index: 11;
  font: 700 .55rem/1 'Space Mono', monospace; color: var(--pink);
  letter-spacing: .08em; animation: blink 2.5s step-end infinite;
  white-space: nowrap; max-width: 90%; overflow: hidden; text-overflow: ellipsis;
}

/* Gallery Rail */
.gallery-rail {
  position: absolute; bottom: 1.2rem; left: 0; right: 0; z-index: 12;
  display: flex; gap: .4rem; overflow-x: auto; padding: .3rem .7rem;
  scrollbar-width: none; scroll-snap-type: x mandatory;
}
.gallery-rail::-webkit-scrollbar { display: none; }
.thumb {
  appearance: none; flex-shrink: 0;
  width: 64px; height: 50px;
  border: 1.5px solid rgba(255, 255, 255, .06);
  background: #0a0a10; border-radius: var(--radius-sm);
  overflow: hidden; padding: 0; cursor: pointer;
  transition: all .18s var(--ease); scroll-snap-align: start; opacity: .45;
}
.thumb:hover { opacity: .8; border-color: rgba(255, 0, 153, .25); transform: translateY(-2px); }
.thumb.active { opacity: 1; border-color: var(--pink); box-shadow: 0 4px 16px rgba(255, 0, 153, .2); }
.thumb img { width: 100%; height: 100%; display: block; object-fit: cover; }

/* Veins */
.veins { position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0; transition: opacity 1s; }
body[data-phase="ascended"] .veins, body[data-phase="transcended"] .veins { opacity: 1; }

/* Phase effects */
body[data-phase="unhinged"] .glass { animation: hudTremble .12s ease-in-out infinite; }
@keyframes hudTremble { 0%, 100% { transform: translate(0); } 50% { transform: translate(.5px, .3px); } }
body[data-phase="ascended"] .canvas,
body[data-phase="transcended"] .canvas { filter: drop-shadow(1px 0 0 rgba(255, 0, 0, .08)) drop-shadow(-1px 0 0 rgba(0, 100, 255, .08)); }
body[data-phase="transcended"] .viewer { animation: viewerBreathe 3s ease-in-out infinite; }
@keyframes viewerBreathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.002); } }

.viewer.shake { animation: shake .1s cubic-bezier(.36, .07, .19, .97) both; }
.viewer.shake-hard { animation: shakeH .15s cubic-bezier(.36, .07, .19, .97) both; }
@keyframes shake { 0% { transform: translate(0); } 25% { transform: translate(4px, 2px); } 50% { transform: translate(-4px, -2px); } 100% { transform: translate(0); } }
@keyframes shakeH { 0% { transform: translate(0) rotate(0); } 25% { transform: translate(8px, 4px) rotate(.3deg); } 50% { transform: translate(-6px, -3px) rotate(-.2deg); } 75% { transform: translate(4px, -2px); } 100% { transform: translate(0) rotate(0); } }


/* ══════════════════════════════════════
   INFO PANEL (desktop right column)
   ══════════════════════════════════════ */
.info-panel {
  background: var(--surface-solid);
  border-left: 1px solid var(--line);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 0, 153, .1) transparent;
}
.info-scroll {
  padding: 1.2rem 1rem;
  display: flex; flex-direction: column; gap: 1.1rem;
}

.info-brand { text-align: center; padding-bottom: .3rem; }
.info-title {
  font: italic 900 3rem/.85 'Anton', sans-serif;
  color: #fff; letter-spacing: .06em;
  text-shadow: 2px 2px 0 var(--pink-glow), 0 0 40px rgba(255, 0, 153, .25);
}
.info-sub {
  font: 900 .9rem/1 'Bebas Neue', sans-serif;
  letter-spacing: .3em; color: var(--muted); margin-top: .3rem;
}

/* Stats */
.info-stats { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
.is {
  padding: .55rem .6rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: .15rem;
  transition: border-color .15s;
}
.is:hover { border-color: var(--line-hover); }
.is-l { font: 700 .44rem/1 'Space Mono', monospace; letter-spacing: .16em; color: var(--green); }
.is strong { font: 900 1.05rem/1 'Bebas Neue', sans-serif; letter-spacing: .04em; }

/* CTA */
.info-cta { display: flex; flex-direction: column; gap: .45rem; }

/* ── BUTTONS ── */
.btn {
  width: 100%; min-height: 44px;
  display: inline-flex; justify-content: center; align-items: center;
  cursor: pointer; border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .05);
  padding: .55rem .7rem;
  font: 700 .7rem/1.1 'Space Mono', monospace; letter-spacing: .05em;
  color: var(--white); text-decoration: none;
  background: rgba(255, 255, 255, .02);
  transition: all .18s var(--ease); overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { border-color: var(--line-hover); transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }
.btn-buy {
  background: linear-gradient(135deg, #ff0099, #9b00e8 80%);
  border-color: rgba(255, 0, 153, .35);
  box-shadow: 0 6px 24px rgba(255, 0, 153, .25);
  font-weight: 900; color: #fff; font-size: .76rem;
}
.btn-buy:hover { box-shadow: 0 8px 32px rgba(255, 0, 153, .4); }
.pulse { animation: pulse 2.5s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(255, 0, 153, .25); }
  50% { box-shadow: 0 10px 40px rgba(255, 0, 153, .45), 0 0 0 2px rgba(255, 0, 153, .08); }
}
.btn-ca { background: var(--green-soft); border-color: rgba(122, 255, 58, .15); color: var(--green); }
.btn-ca:hover { border-color: rgba(122, 255, 58, .3); }

/* Chart */
.chart-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.chart-toggle { display: flex; border-bottom: 1px solid var(--line); }
.toggle-btn {
  flex: 1; padding: .5rem;
  font: 700 .58rem/1 'Space Mono', monospace; letter-spacing: .1em;
  color: var(--muted); background: none; border: none; cursor: pointer;
  transition: all .15s var(--ease);
}
.toggle-btn:hover { color: var(--text-secondary); }
.toggle-btn.active { color: var(--pink); background: var(--pink-soft); }
.chart-frame { height: 320px; }
.chart-frame iframe { width: 100%; height: 100%; border: 0; }
.chart-ass { height: 320px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.chart-ass img { width: 100%; height: 100%; object-fit: cover; }
.hidden { display: none !important; }

/* WTF */
.wtf {
  padding: .9rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
}
.wtf h2 {
  font: 700 .52rem/1 'Space Mono', monospace;
  letter-spacing: .18em; color: var(--pink); margin-bottom: .5rem;
}
.wtf p { font-size: .82rem; line-height: 1.6; color: var(--text-secondary); }

/* Tokenomics */
.tokenomics { display: flex; flex-direction: column; gap: .35rem; }
.tk-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: .45rem .6rem; border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .02); border: 1px solid var(--line);
  font: 700 .58rem/1.2 'Space Mono', monospace;
  transition: border-color .15s;
}
.tk-row:hover { border-color: var(--line-hover); }
.tk-row span { color: var(--muted); letter-spacing: .12em; }
.tk-row strong { color: var(--white); font-size: .55rem; word-break: break-all; text-align: right; max-width: 65%; }

/* Socials */
.socials { display: flex; flex-direction: column; gap: .4rem; }
.social-btn {
  display: block; text-align: center; padding: .6rem;
  border-radius: var(--radius); border: 1px solid var(--line);
  font: 700 .6rem/1 'Space Mono', monospace; letter-spacing: .1em;
  color: var(--muted); text-decoration: none;
  transition: all .18s var(--ease); background: rgba(255, 255, 255, .015);
}
.social-btn:hover { color: var(--pink); border-color: rgba(255, 0, 153, .2); background: var(--pink-soft); }
.social-btn:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }


/* ══════════════════════════════════════
   MOBILE
   ══════════════════════════════════════ */
.mobile-cta { display: none; }
.btn-drawer {
  background: var(--surface); border-color: rgba(255, 255, 255, .08);
  color: var(--white); min-width: 56px;
}
.drawer { display: none; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .split { grid-template-columns: 1fr 320px; }
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
    height: calc(100vh - var(--ticker-h) - var(--cta-h));
    height: calc(100dvh - var(--ticker-h) - var(--cta-h));
  }
  .info-panel { display: none; }

  .mobile-cta {
    display: grid; grid-template-columns: 2fr 1fr auto;
    gap: .3rem; position: fixed; bottom: 0; left: 0; right: 0;
    z-index: 200; padding: .35rem .5rem;
    background: rgba(5, 5, 7, .94);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 0, 153, .08);
    height: var(--cta-h);
  }
  .mobile-cta .btn { min-height: 36px; font-size: .62rem; }

  .drawer {
    display: block; position: fixed;
    bottom: var(--cta-h); left: 0; right: 0; z-index: 199;
    background: var(--surface-solid);
    border-top: 1px solid rgba(255, 0, 153, .1);
    transform: translateY(100%);
    transition: transform .35s var(--ease);
    max-height: 65vh; overflow-y: auto;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -8px 40px rgba(0, 0, 0, .5);
  }
  .drawer.open { transform: translateY(0); }
  .drawer-handle { width: 36px; height: 3px; border-radius: 99px; background: rgba(255, 255, 255, .12); margin: 10px auto 4px; }
  .drawer-content { padding: 1rem; }

  .hud-bl { bottom: 6.5rem; }
  .hud-br { bottom: 6.5rem; }
  .momentum-bar { bottom: 6rem; }
  .tx-banner { bottom: 4.2rem; }
  .gallery-rail { bottom: .8rem; }
  .thumb { width: 54px; height: 42px; }
}

@media (max-width: 500px) {
  .mobile-cta { grid-template-columns: 1.5fr 1fr auto; }
  .hud-tl { left: .4rem; }
  .hud-bl { left: .4rem; }
  .hud-br { right: .4rem; }
  .mute-btn { right: .4rem; }
  .wm-title { left: .8rem; }
  .wm-sub { left: .8rem; }
}

/* Fix confetti z-index */
body > canvas[style*="position: fixed"] { z-index: 1 !important; pointer-events: none !important; }
