@font-face {
  font-family: 'TT Firs Neue';
  src: url(../font-regular.ttf) format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'TT Firs Neue';
  src: url(../font-bold.ttf) format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


:root {
  --teal: #00d4c8;
  --teal-glow: rgba(0,212,200,0.4);
  --teal-dim: rgba(0,212,200,0.12);
  --bg: #030d10;
  --popup-bg: #0a1a20;
  --glass: rgba(0,212,200,0.08);
  --glass-border: rgba(0,212,200,0.18);
  --border-soft: rgba(255,255,255,0.06);
  --text: #e2f0ef;
  --muted: #7ab4b4;
  --mono: 'TT Firs Neue', sans-serif;
  --sans: 'TT Firs Neue', sans-serif;
  --cat-defi: #00d4c8; --cat-dex: #8b5cf6; --cat-bridge: #f59e0b;
  --cat-nft: #ec4899; --cat-wallet: #3b82f6; --cat-infra: #64748b;
  --cat-stable: #10b981; --cat-community: #f97316;

  /* ── Design Tokens ── */
  /* Spacing: 4-step scale */
  --sp-xs: 4px; --sp-sm: 8px; --sp-md: 16px; --sp-lg: 24px; --sp-xl: 32px; --sp-2xl: 48px;
  /* Radius */
  --r-sm: 4px; --r-md: 8px; --r-lg: 16px; --r-xl: 20px;
  /* Font sizes */
  --fs-xs: 10px; --fs-sm: 12px; --fs-md: 14px; --fs-lg: 16px; --fs-xl: 20px; --fs-2xl: 24px; --fs-3xl: 32px;
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 28px rgba(0,0,0,0.5);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.7);
  --shadow-glow: 0 0 16px rgba(0,212,200,0.25);
  /* ── Motion system (cohérent pour tout le site) ─────────────────────────── */
  /* Durations */
  --dur-instant: 80ms;
  --dur-fast:    160ms;
  --dur-base:    240ms;
  --dur-mid:     360ms;
  --dur-slow:    520ms;
  --dur-xlong:   780ms;

  /* Easing curves — chacune a une "personnalité" */
  --e-out:       cubic-bezier(0.22, 1, 0.36, 1);     /* easeOutQuart — calme, élégant */
  --e-out-soft:  cubic-bezier(0.16, 1, 0.3, 1);      /* easeOutExpo — start fast, end soft */
  --e-spring:    cubic-bezier(0.34, 1.36, 0.64, 1);  /* spring léger (overshoot doux) */
  --e-snap:      cubic-bezier(0.45, 0.05, 0.15, 1);  /* précis, tactile */
  --e-in-out:    cubic-bezier(0.65, 0, 0.35, 1);     /* easeInOut quart */

  /* Transitions composées (durée + easing) — usage direct */
  --ease-fast:   var(--dur-fast)   var(--e-out);
  --ease-normal: var(--dur-base)   var(--e-out);
  --ease-slow:   var(--dur-mid)    var(--e-out-soft);
  --ease-spring: var(--dur-slow)   var(--e-out-soft);
  --ease-snap:   var(--dur-fast)   var(--e-snap);
}

* { margin:0; padding:0; box-sizing:border-box; }

/* Unified glass surface for all overlay panels */
.glass-panel {
  background: rgba(3,10,14,0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0,212,200,0.12);
}


@keyframes pulse { 0%,100%{opacity:1;box-shadow:0 0 0 0 rgba(0,212,200,0.4)} 50%{opacity:0.5;box-shadow:0 0 0 6px rgba(0,212,200,0)} }
@keyframes ghostPulseHint { 0%{transform:scale(1)} 50%{transform:scale(1.15)} 100%{transform:scale(1)} }

/* ── HL Entry pointer ── */
@keyframes pointerBounce {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(9px); }
}
@keyframes hlBeacon {
  0%,100% { filter: brightness(1.1) drop-shadow(0 0 6px rgba(0,212,200,0.2)); }
  50%     { filter: brightness(1.35) drop-shadow(0 0 22px rgba(0,212,200,0.55)); }
}
.hl-tour-glow {
  animation: none !important;
}
#hl-pointer {
  position: absolute;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  pointer-events: none; z-index: 50;
  animation: pointerBounce 1.1s ease-in-out infinite;
  transition: opacity 0.5s ease;
}
#hl-pointer-icon {
  font-size: 26px;
  filter: drop-shadow(0 2px 10px rgba(0,212,200,0.9));
  line-height: 1;
}
#hl-pointer-label {
  font-family: var(--sans); font-size: 9px; font-weight: 800;
  color: #2de8d8; letter-spacing: 1.2px;
  text-shadow: 0 0 14px rgba(0,212,200,0.9), 0 1px 3px rgba(0,0,0,0.9);
  white-space: nowrap;
}
.hl-beacon { animation: none; }
#ghost-hint-bubble {
  position: fixed; bottom: 145px; left: 8px;
  background: rgba(8,15,22,0.95); border: 1px solid rgba(0,212,200,0.25);
  border-radius: 10px 10px 10px 2px; padding: 8px 12px;
  font-family: var(--sans); font-size: 10px; color: rgba(255,255,255,0.75);
  max-width: 180px; line-height: 1.45;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 8999;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
#ghost-hint-bubble.show { opacity: 1; pointer-events: auto; }
#ghost-hint-bubble .hint-dismiss {
  display:block;margin-top:5px;font-size:9px;color:rgba(0,212,200,0.6);cursor:pointer;
}
.gloss {
  border-bottom: 1px dashed rgba(0,212,200,0.4);
  cursor: help; position: relative; display: inline;
}
.gloss-tip {
  position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%);
  background: rgba(8,15,22,0.97); border: 1px solid rgba(0,212,200,0.2);
  border-radius: 8px; padding: 7px 11px; width: 200px; white-space: normal;
  font-family: var(--sans); font-size: 10px; color: rgba(255,255,255,0.75);
  line-height: 1.5; pointer-events: none; opacity: 0;
  transition: opacity 0.15s ease; z-index: 9999;
  box-shadow: 0 4px 20px rgba(0,0,0,0.6);
}
.gloss:hover .gloss-tip { opacity: 1; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }
@keyframes popIn { from{transform:translateY(20px) scale(0.96);opacity:0} to{transform:translateY(0) scale(1);opacity:1} }
@keyframes popupFadeIn { from { opacity:0; transform:translateY(8px) scale(0.98); } to { opacity:1; transform:none; } }
#popup { animation: popupFadeIn 0.22s cubic-bezier(0.16,1,0.3,1) both; }
.fb { position: relative; }
.fb-tooltip {
  position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  background: rgba(8,15,22,0.96); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px; padding: 6px 10px; white-space: nowrap;
  font-family: var(--sans); font-size: 10px; color: rgba(255,255,255,0.7);
  pointer-events: none; opacity: 0; transition: opacity 0.15s ease;
  z-index: 999; backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.fb:hover .fb-tooltip { opacity: 1; }
.fb-tooltip strong { color: #fff; }

html {
  background: #030d10;
  margin: 0; padding: 0;
  height: 100%; width: 100%;
}
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  overflow: hidden;
  height: 100vh; width: 100vw;
  cursor: auto;
}

/* ── PRELOADER ─────────────────────────────────────── */
#hm-preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: radial-gradient(ellipse at center, #08161c 0%, #030d10 70%);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 24px;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}
#hm-preloader.gone { opacity: 0; visibility: hidden; pointer-events: none; }
#hm-preloader .hm-pl-logo {
  width: 56px; height: 56px;
  border: 1.5px solid rgba(0,212,200,0.5);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,212,200,0.06);
  box-shadow: 0 0 32px rgba(0,212,200,0.25), inset 0 0 16px rgba(0,212,200,0.1);
  animation: hmPlLogoPulse 2.4s ease-in-out infinite;
}
#hm-preloader .hm-pl-logo::after {
  content:''; width:18px; height:18px;
  background: var(--teal); border-radius: 5px;
  box-shadow: 0 0 16px var(--teal), 0 0 36px rgba(0,212,200,0.4);
  animation: hmPlDotPulse 1.6s ease-in-out infinite;
}
@keyframes hmPlLogoPulse {
  0%,100% { transform: scale(1); box-shadow: 0 0 32px rgba(0,212,200,0.25), inset 0 0 16px rgba(0,212,200,0.1); }
  50% { transform: scale(1.05); box-shadow: 0 0 48px rgba(0,212,200,0.45), inset 0 0 24px rgba(0,212,200,0.2); }
}
@keyframes hmPlDotPulse {
  0%,100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(0.85); }
}
#hm-preloader .hm-pl-title {
  font-family: var(--sans); font-size: 13px; font-weight: 700;
  letter-spacing: 3px; color: var(--text); text-transform: uppercase;
}
#hm-preloader .hm-pl-sub {
  font-family: var(--sans); font-size: 10px; letter-spacing: 1.5px;
  color: rgba(255,255,255,0.35); text-transform: uppercase;
  margin-top: -16px;
}
#hm-preloader .hm-pl-bar {
  width: 200px; height: 2px;
  background: rgba(0,212,200,0.1); border-radius: 2px;
  overflow: hidden; position: relative;
}
#hm-preloader .hm-pl-bar::before {
  content:''; position: absolute; top:0; left:-40%;
  width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  animation: hmPlBar 1.4s ease-in-out infinite;
}
@keyframes hmPlBar {
  0% { left: -40%; }
  100% { left: 100%; }
}


/* ── MAP VIEWPORT ───────────────────────────────────── */
#viewport {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  overflow: hidden;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  cursor: grab;
}
#viewport.dragging { cursor: grabbing; }
#viewport.dragging * { cursor: grabbing !important; }
#stage {
  position: absolute; transform-origin: 0 0;
  will-change: transform;
  width: 1024px; height: 682px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
#stage.dragging { cursor: grabbing; }
#stage img { position:absolute; top:0; left:0; width:1024px; height:682px; pointer-events:none; user-select:none; }
#bg-layer { z-index:1; opacity:1 !important; filter:none; transition:filter 0.5s ease; }
#disc-canvas { position:absolute; top:0; left:0; width:1024px; height:682px; z-index:20; pointer-events:none; display:none; }
.pl { z-index:10; opacity:1; pointer-events:none; transition:opacity 0.3s ease, transform 0.16s ease; position:absolute; top:0; left:0; transform: translateZ(0); }
#filter-overlay { position:absolute; top:0; left:0; width:1024px; height:682px; z-index:9; pointer-events:none; background:rgba(3,13,16,0); transition:background-color 0.45s ease; }
.bld-label {
  position:absolute; pointer-events:none; z-index:18;
  font-family:'TT Firs Neue',sans-serif; font-size:10px; font-weight:700;
  color:#fff; white-space:nowrap; letter-spacing:0.2px;
  opacity:0;
  text-shadow: 0 0 12px rgba(0,0,0,1), 0 2px 4px rgba(0,0,0,1),
               0 0 28px rgba(0,0,0,1), -1px 0 3px rgba(0,0,0,1),
               1px 0 3px rgba(0,0,0,1), 0 -1px 3px rgba(0,0,0,1);
  transition: opacity 0.4s ease;
  transform: translate(-50%, -100%);
}
.pl.hover-glow { animation:none !important; }
.pl.hidden { opacity:0 !important; pointer-events:none !important; }
.pl.f-filter-hidden { opacity:0 !important; animation:none !important; pointer-events:none !important; }
.hs { position:absolute; z-index:20; cursor:pointer; border-radius:4px; transition: box-shadow 0.25s ease; }
.hs.hs-glow { background: rgba(255,255,255,0.02); }
.hs:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 6px; }
.hs.fhide { pointer-events:none; }
/* Accessibility: focus-visible for all interactive elements */
.hb:focus-visible, .fb:focus-visible, #pcls:focus-visible, .tab-btn:focus-visible, #search-input:focus-visible {
  outline: 2px solid var(--teal); outline-offset: 2px;
}
/* ── HOVER FLOAT ANIMATION ── */
/* Hover pop — sprite snaps larger instantly, no float loop */
.pl {
  transition: transform 0.15s cubic-bezier(0.34,1.56,0.64,1);
}
.pl.hover-anim {
  transform: translateZ(0) scale(1.045);
  z-index: 15 !important;
}
.glow-pad-outer {
  opacity: 0.28;
}

/* ── AMBIENT LOOPING ANIMATIONS ── */
/* bldPulse: filter:drop-shadow removed (too expensive on 42 sprites — ~30% of frame budget).
   Replaced with opacity breath: same living feel, zero GPU compositing cost. */
@keyframes bldPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.88; }
}
.pl.ambient-pulse { animation: bldPulse var(--pulse-dur, 3s) ease-in-out infinite; animation-delay: var(--pulse-delay, 0s); }
/* Pause all sprite animations while dragging — keeps pan buttery smooth */
body.is-dragging .pl { animation-play-state: paused !important; }

/* Cartoon shine sweep on buildings — double layer */
@keyframes shineSwipe {
  0%   { transform: translateX(-140%) skewX(-25deg); opacity: 0; }
  3%   { opacity: 1; }
  22%  { opacity: 1; }
  25%  { transform: translateX(300%) skewX(-25deg); opacity: 0; }
  100% { transform: translateX(300%) skewX(-25deg); opacity: 0; }
}
.bld-shine {
  position: absolute; z-index: 11; pointer-events: none; overflow: hidden;
  border-radius: 4px;
}
/* Soft diffuse reflection */
.bld-shine::after {
  content: ''; position: absolute;
  top: -10%; left: 0; width: 40%; height: 120%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,0.03) 20%,
    rgba(255,255,255,0.07) 50%,
    rgba(255,255,255,0.03) 80%,
    transparent 100%
  );
  transform: translateX(-140%) skewX(-20deg); opacity: 0;
  animation: shineSwipe var(--shine-dur, 8s) cubic-bezier(0.22,1,0.36,1) var(--shine-delay, 0s) infinite;
}
/* Glow halo */
.bld-shine::before {
  content: ''; position: absolute;
  top: -10%; left: 0; width: 55%; height: 120%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0,212,200,0.02) 30%,
    rgba(255,255,255,0.04) 50%,
    rgba(0,212,200,0.02) 70%,
    transparent 100%
  );
  transform: translateX(-140%) skewX(-20deg); opacity: 0;
  animation: shineSwipe var(--shine-dur, 8s) cubic-bezier(0.22,1,0.36,1) var(--shine-delay, 0s) infinite;
}


#particles-canvas {
  position: absolute; top: 0; left: 0; width: 1024px; height: 682px;
  z-index: 16; pointer-events: none;
}
#flares-canvas {
  position: absolute; top: 0; left: 0; width: 1024px; height: 682px;
  z-index: 14; pointer-events: none; mix-blend-mode: screen; opacity: 0.7;
}


/* ── SMOKE / STEAM from buildings ── */
#smoke-canvas {
  position: absolute; top: 0; left: 0; width: 1024px; height: 682px;
  z-index: 19; pointer-events: none; opacity: 0.9;
}


/* ── DRIFTING CLOUDS ── */
#clouds-canvas {
  position: absolute; top: 0; left: 0; width: 1024px; height: 682px;
  z-index: 13; pointer-events: none; opacity: 0.9;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .pl.ambient-pulse { animation: none !important; }
  #particles-canvas, #flares-canvas, #smoke-canvas, #clouds-canvas, #birds-canvas { display: none !important; }
}
/* ── My Stack — hidden for v1 release (WIP) ── */
#stack-fab, #stack-modal, .plink-stack, #stack-focus-chip { display: none !important; }

/* Tour active: stop all sprite ambient animations + hide VFX canvases */
body.tour-active .pl.ambient-pulse { animation: none !important; }
body.tour-active .pl.stack-pulse   { animation: none !important; }
body.tour-active #flares-canvas,
body.tour-active #smoke-canvas,
body.tour-active #clouds-canvas,
body.tour-active #particles-canvas,
body.tour-active #birds-canvas { opacity: 0 !important; pointer-events: none; }
/* ── FLYING BIRDS ── */
#birds-canvas {
  position: absolute; top: 0; left: 0; width: 1024px; height: 682px;
  z-index: 18; pointer-events: none;
}
/* Force visual effects always visible */
#particles-canvas, #flares-canvas, #smoke-canvas, #clouds-canvas, #birds-canvas {
  display: block;
}

/* ── MOBILE GATE ── */
#mobile-gate {
  display: none;
  position: fixed; inset: 0; z-index: 99999;
  background: #030d10;
  flex-direction: column; align-items: center; justify-content: flex-start;
  text-align: center; padding: 48px 24px 48px;
  gap: 18px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
#mobile-gate .mg-icon {
  width: 64px; height: 64px;
  border-radius: var(--r-lg);
  background: rgba(0,212,200,0.08);
  border: 1px solid rgba(0,212,200,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
}
#mobile-gate .mg-title {
  font-family: var(--sans); font-size: 20px; font-weight: 800;
  color: #e2f0ef; letter-spacing: -0.3px;
}
#mobile-gate .mg-text {
  font-family: var(--sans); font-size: var(--fs-md);
  color: rgba(255,255,255,0.45); line-height: 1.6;
  max-width: 320px;
}
#mobile-gate .mg-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: var(--r-md);
  background: rgba(0,212,200,0.08);
  border: 1px solid rgba(0,212,200,0.15);
  font-family: var(--sans); font-size: var(--fs-sm); font-weight: 600;
  color: var(--teal); letter-spacing: 0.5px;
}
@media (max-width: 768px) {
  #mobile-gate { display: flex; }
  #frame-top, #frame-bottom, #viewport, #overlay, #hud, #minimap, #stats-page { display: none !important; }
}

/* Category glow on selected — single drop-shadow for GPU cost reduction */
.pl[data-group="DeFi"].lit    { filter:drop-shadow(0 0 12px var(--cat-defi))    brightness(1.12); }
.pl[data-group="DEX"].lit     { filter:drop-shadow(0 0 12px var(--cat-dex))     brightness(1.12); }
.pl[data-group="Bridge"].lit  { filter:drop-shadow(0 0 12px var(--cat-bridge))  brightness(1.12); }
.pl[data-group="NFT"].lit     { filter:drop-shadow(0 0 12px var(--cat-nft))     brightness(1.12); }
.pl[data-group="Wallet"].lit  { filter:drop-shadow(0 0 12px var(--cat-wallet))  brightness(1.12); }
.pl[data-group="Infra"].lit   { filter:drop-shadow(0 0 12px var(--cat-infra))   brightness(1.12); }
.pl[data-group="Stable"].lit  { filter:drop-shadow(0 0 12px var(--cat-stable))  brightness(1.12); }
.pl[data-group="Community"].lit { filter:drop-shadow(0 0 12px var(--cat-community)) brightness(1.12); }

/* ── TOOLTIP ────────────────────────────────────────── */
#tip { display: none !important; }
#coords { display:none; }
#frame-coords-display { display:none !important; }
#pcoords { display:none !important; }
#legend { display:none !important; }

/* ── TOP BAR ────────────────────────────────────────── */
#frame-top {
  position: fixed; top: 0; left: 0; right: 0; height: 56px;
  background: rgba(3,10,14,0.96);
  border-bottom: 1px solid rgba(0,212,200,0.12);
  backdrop-filter: blur(6px);
  display: flex; align-items: center;
  padding: 0 20px; z-index: 300; gap: 0;
}
/* teal corner glow */
#frame-top::after {
  content:''; position:absolute; bottom:0; left:0; right:0; height:1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0,212,200,0.3) 30%, rgba(0,212,200,0.3) 70%, transparent 100%);
}

.frame-logo {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
}
.frame-logo-mark {
  width: 30px; height: 30px;
  border: 1.5px solid rgba(0,212,200,0.5);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,212,200,0.06);
}
.frame-logo-mark::after {
  content:''; width:9px; height:9px;
  background: var(--teal);
  border-radius: 3px;
  box-shadow: 0 0 12px var(--teal), 0 0 24px rgba(0,212,200,0.3);
}
.frame-logo-title {
  font-family: var(--sans); font-size: 11px; font-weight: 700;
  color: var(--text); letter-spacing: 2.5px; text-transform: uppercase;
  line-height: 1;
}
.frame-logo-sub {
  font-family: var(--sans); font-size: 9px;
  color: var(--muted); letter-spacing: 1.5px;
  text-transform: uppercase; margin-top: 3px;
}

.frame-center {
  position: absolute; left: 0; right: 0;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  pointer-events: none; z-index: 2;
}
.frame-center > * { pointer-events: auto; }
.live-badge {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--sans); font-size: 10px;
  color: rgba(0,212,200,0.5); letter-spacing: 1px;
}
.live-badge .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 6px var(--teal);
  animation: blink 2.5s ease-in-out infinite;
}

.frame-right {
  display: flex; align-items: center; gap: 16px;
  margin-left: auto;
}
.fr-sep { color: rgba(255,255,255,0.15); font-size: 10px; }
#hype-price {
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  color: var(--teal); letter-spacing: 0.5px;
  background: rgba(0,212,200,0.06); border: 1px solid rgba(0,212,200,0.12);
  padding: 4px 10px; border-radius: 6px; white-space: nowrap;
  transition: color 0.3s ease;
}
#hype-price.up { color: #10b981; }
#hype-price.down { color: #ef4444; }
.beta-badge {
  font-family: var(--mono); font-size: 8px; font-weight: 700;
  color: var(--teal); letter-spacing: 1.5px; text-transform: uppercase;
  background: rgba(0,212,200,0.1); border: 1px solid rgba(0,212,200,0.25);
  padding: 2px 6px; border-radius: 4px; margin-left: 6px; vertical-align: middle;
  line-height: 1;
}
/* frame-clock removed */
#frame-coords-display {
  font-family: var(--sans); font-size: 10px; font-weight: 500;
  color: rgba(255,255,255,0.45); letter-spacing: 1px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 4px 9px; border-radius: 6px;
}

/* ── HUD ZOOM ────────────────────────────────────────── */
#hud {
  position: fixed; bottom: 88px; right: 18px; z-index: 800;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: rgba(3,13,16,0.88);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0,212,200,0.12);
  border-radius: var(--r-lg); padding: var(--sp-sm);
}
.hb {
  width: 44px; height: 44px; border-radius: var(--r-md);
  background: rgba(0,212,200,0.05);
  border: 1px solid rgba(0,212,200,0.15);
  color: var(--muted); font-family: var(--sans);
  font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--ease-fast);
}
.hb:hover {
  background: rgba(0,212,200,0.12);
  border-color: rgba(0,212,200,0.35);
  color: var(--teal);
  box-shadow: var(--shadow-glow);
}
.hb:active { transform: scale(0.92); }
.hb svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#hud-replay-onboarding svg {
  fill: currentColor;
  stroke: none;
}
#hud .hb-onboarding-replay {
  margin-top: 4px;
  border-top: 1px solid rgba(0, 212, 200, 0.12);
}
#hud .hb-onboarding-replay svg {
  display: block;
  /* Alignement horizontal visuel du triangle ▶︎ dans le cercle du bouton */
  transform: translateX(2px);
}

/* ── BOTTOM BAR ─────────────────────────────────────── */
#frame-bottom {
  position: fixed; bottom: 0; left: 0; right: 0; height: 68px;
  background: rgba(3,10,14,0.96);
  border-top: 1px solid rgba(0,212,200,0.12);
  backdrop-filter: blur(6px);
  display: flex; align-items: center;
  padding: 0 20px; z-index: 300;
}
#frame-bottom::before {
  content:''; position:absolute; top:0; left:0; right:0; height:1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0,212,200,0.25) 30%, rgba(0,212,200,0.25) 70%, transparent 100%);
}

#legend {
  position: static; background: none; border: none;
  padding: 0; backdrop-filter: none;
  width: 25%; flex: 0 0 25%; box-sizing: border-box;
}
#legend h3 { display:none !important; }
#legend p {
  font-family: var(--sans); font-size: 9px;
  color: rgba(255,255,255,0.2); letter-spacing: 0.8px;
  line-height: 1.8; text-transform: uppercase;
}

/* ── FILTER BAR ─────────────────────────────────────── */
#filterbar {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: none; border: none; box-shadow: none;
  backdrop-filter: none; padding: 0;
  display: flex; align-items: center; gap: 4px;
  justify-content: center; box-sizing: border-box;
  pointer-events: auto;
}
.fb {
  height: 38px; min-width: 44px; padding: 0 var(--sp-md);
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.03);
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  letter-spacing: 0.8px; text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  cursor: pointer;
  display: flex; align-items: center; gap: 5px;
  transition: all var(--ease-fast), transform 0.1s ease;
  white-space: nowrap; user-select: none;
}
.fb:active { transform: scale(0.94); }
.fb .fi { display:none; }
.fcount { font-size: 8px; opacity: 0.5; margin-left: 2px; font-weight: 400; }
.fb:hover {
  color: rgba(255,255,255,0.7);
  border-color: rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
}
.fb.all.active { background:var(--teal); color:#030d10; border-color:var(--teal); font-weight:700; box-shadow:0 0 18px rgba(0,212,200,0.35); }
.fb[data-g="DeFi"].active    { background:var(--cat-defi);    color:#030d10; border-color:var(--cat-defi);    box-shadow:0 0 16px rgba(0,212,200,0.35); font-weight:700; }
.fb[data-g="DEX"].active     { background:var(--cat-dex);     color:#fff;    border-color:var(--cat-dex);     box-shadow:0 0 16px rgba(139,92,246,0.35); font-weight:700; }
.fb[data-g="Bridge"].active  { background:var(--cat-bridge);  color:#030d10; border-color:var(--cat-bridge);  box-shadow:0 0 16px rgba(245,158,11,0.35); font-weight:700; }
.fb[data-g="NFT"].active     { background:var(--cat-nft);     color:#fff;    border-color:var(--cat-nft);     box-shadow:0 0 16px rgba(236,72,153,0.35); font-weight:700; }
.fb[data-g="Wallet"].active  { background:var(--cat-wallet);  color:#fff;    border-color:var(--cat-wallet);  box-shadow:0 0 16px rgba(59,130,246,0.35); font-weight:700; }
.fb[data-g="Infra"].active   { background:var(--cat-infra);   color:#fff;    border-color:var(--cat-infra);   box-shadow:0 0 16px rgba(100,116,139,0.3); font-weight:700; }
.fb[data-g="Stable"].active  { background:var(--cat-stable);  color:#030d10; border-color:var(--cat-stable);  box-shadow:0 0 16px rgba(16,185,129,0.35); font-weight:700; }

.bottom-right {
  font-family: var(--sans); font-size: 10px;
  color: rgba(0,212,200,0.35); letter-spacing: 0.5px;
  text-align: right;
  display: flex; align-items: center; justify-content: flex-end; gap: 12px;
  margin-left: auto; box-sizing: border-box;
}

/* ── SHARE BUTTON ── */
@keyframes sharePulse {
  0%, 100% { border-color: rgba(255,255,255,0.08); box-shadow: none; }
  50% { border-color: rgba(0,212,200,0.35); box-shadow: 0 0 12px rgba(0,212,200,0.15); }
}
#share-x-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: var(--r-md);
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.4); font-family: var(--sans); font-size: 11px; font-weight: 600;
  cursor: pointer; transition: all var(--ease-fast); text-decoration: none; white-space: nowrap;
  animation: sharePulse 3s ease-in-out infinite;
}
#share-x-btn:hover {
  background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.8); transform: translateY(-1px);
  animation: none;
}
#share-x-btn svg { width: 13px; height: 13px; }

/* ── CREATOR CARD ── */
#creator-card {
  position: fixed; bottom: 80px; left: 14px; z-index: 750;
  width: 260px; padding: 20px;
  background: rgba(3,13,16,0.94); backdrop-filter: blur(14px);
  border: 1px solid rgba(0,212,200,0.15); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(0,212,200,0.06);
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
#creator-card.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.cc-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.cc-avatar {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(0,212,200,0.2), rgba(0,212,200,0.05));
  border: 1.5px solid rgba(0,212,200,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--teal);
}
.cc-name { font-family: var(--sans); font-size: 14px; font-weight: 700; color: rgba(255,255,255,0.9); }
.cc-handle { font-family: var(--mono); font-size: 11px; color: var(--teal); opacity: 0.7; }
.cc-bio {
  font-family: var(--sans); font-size: 12px; color: rgba(255,255,255,0.45);
  line-height: 1.5; margin-bottom: 16px;
}
.cc-actions { display: flex; gap: 8px; }
.cc-btn {
  flex: 1; padding: 9px 0; border-radius: var(--r-md);
  font-family: var(--sans); font-size: 11px; font-weight: 700;
  text-align: center; cursor: pointer; transition: all var(--ease-fast);
  text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 5px;
}
.cc-btn-follow {
  background: rgba(255,255,255,0.9); color: #030d10; border: none;
}
.cc-btn-follow:hover { background: #fff; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(255,255,255,0.15); }
/* .cc-btn-portfolio removed */
.cc-close {
  position: absolute; top: 10px; right: 10px; width: 24px; height: 24px;
  background: none; border: none; color: rgba(255,255,255,0.2); font-size: 14px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: all var(--ease-fast);
}
.cc-close:hover { color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.06); }
.cc-tag {
  display: inline-block; padding: 3px 8px; border-radius: 4px;
  font-size: 9px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
  background: rgba(0,212,200,0.08); color: var(--teal); border: 1px solid rgba(0,212,200,0.15);
  margin-bottom: 10px;
}

/* ── FOLLOW POPUP (timed) ── */
#follow-popup {
  position: fixed; bottom: 76px; left: 50%; transform: translateX(-50%) translateY(20px);
  z-index: 900; width: 380px; padding: 20px 24px;
  background: rgba(3,13,16,0.96); backdrop-filter: blur(16px);
  border: 1px solid rgba(0,212,200,0.2); border-radius: var(--r-xl);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 40px rgba(0,212,200,0.08);
  display: flex; align-items: center; gap: 16px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
#follow-popup.show { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.fp-icon {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(0,212,200,0.15), rgba(0,212,200,0.05));
  border: 1px solid rgba(0,212,200,0.25);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.fp-body { flex: 1; min-width: 0; }
.fp-title { font-family: var(--sans); font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.9); margin-bottom: 3px; }
.fp-desc { font-family: var(--sans); font-size: 11px; color: rgba(255,255,255,0.4); line-height: 1.4; }
.fp-follow {
  flex-shrink: 0; padding: 8px 18px; border-radius: var(--r-md);
  background: rgba(255,255,255,0.9); color: #030d10; border: none;
  font-family: var(--sans); font-size: 11px; font-weight: 700;
  cursor: pointer; transition: all var(--ease-fast); white-space: nowrap;
}
.fp-follow:hover { background: #fff; transform: translateY(-1px); }
.fp-close {
  position: absolute; top: 8px; right: 10px; background: none; border: none;
  color: rgba(255,255,255,0.2); font-size: 12px; cursor: pointer;
  transition: color 0.15s;
}
.fp-close:hover { color: rgba(255,255,255,0.5); }

/* ── OVERLAY ────────────────────────────────────────── */
#overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(8px);
  z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s ease;
}
#overlay.on { opacity:1; pointer-events:all; }

#popup {
  position: relative; z-index: 9001;
  width: 440px; max-width: 92vw; max-height: 90vh;
  background: #0b1820;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-xl);
  overflow-x: hidden;
  overflow-y: auto;
  transform: scale(0.95) translateY(20px);
  transition: transform var(--ease-spring), opacity var(--ease-slow);
  box-shadow: var(--shadow-lg);
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.08) transparent;
}
#overlay.on #popup { transform: scale(1) translateY(0); }

/* No top bar - accent via logo border */

.ph {
  padding: 14px 16px 12px;
  display: grid;
  grid-template-columns: 50px 1fr auto auto;
  align-items: start; gap: 10px;
  background: linear-gradient(135deg, rgba(var(--accent-rgb,0,212,200),0.07) 0%, transparent 70%);
  border-radius: 20px 20px 0 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  position: relative;
}
.plogo {
  width: 50px; height: 50px; border-radius: 11px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0; position:relative;
  transition: background 0.2s ease;
}
.plogo img { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; border-radius:12px; }
.ptitle { align-self: center; min-width: 0; }
.pname {
  font-size: 16px; font-weight: 800;
  color: #f0fafa; line-height: 1.2; letter-spacing: -0.2px;
  font-family: var(--sans);
}
.pcat {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 6px;
  font-family: var(--sans); font-size: 9px; font-weight: 600;
  color: var(--popup-accent, rgba(255,255,255,0.3));
  opacity: 0.7;
  text-transform: uppercase; letter-spacing: 1.2px;
}
.pcat-dot { width: 5px; height: 5px; border-radius: 50%; flex-shrink:0; }
#pcls {
  width: 36px; height: 36px; border-radius: var(--r-md);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.3); font-size: 16px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--ease-fast);
}
#pcls:hover { border-color: rgba(255,255,255,0.25); color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.08); }
#pcls:active { transform: scale(0.9); }

.pdivider {
  height: 1px; margin: 10px 16px 0;
  background: rgba(255,255,255,0.06);
}

.pb {
  padding: 10px 16px 14px;
  display: flex; flex-direction: column; gap: 9px;
}
/* Popup stagger animation */
@keyframes popStagger { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes textReveal { from { opacity: 0; transform: translateY(6px); filter: blur(4px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeScale { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }

/* Popup card text stagger */
#overlay.on .ph { animation: popStagger 0.35s ease both; animation-delay: 0.05s; }
#overlay.on .pdesc { animation: textReveal 0.4s ease both; animation-delay: 0.12s; }
#overlay.on .plinks { animation: popStagger 0.35s ease both; animation-delay: 0.18s; }
#overlay.on .plink { animation: fadeScale 0.25s ease both; }
#overlay.on .plink:nth-child(1) { animation-delay: 0.2s; }
#overlay.on .plink:nth-child(2) { animation-delay: 0.25s; }
#overlay.on .plink:nth-child(3) { animation-delay: 0.3s; }
#overlay.on .plink:nth-child(4) { animation-delay: 0.35s; }

/* Navbar entrance on page load */
.frame-logo { animation: slideInLeft 0.6s cubic-bezier(0.16,1,0.3,1) both 0.1s; }
#searchbar { animation: fadeScale 0.5s cubic-bezier(0.16,1,0.3,1) both 0.25s; }
.frame-search-cluster { animation: fadeScale 0.5s cubic-bezier(0.16,1,0.3,1) both 0.28s; }
#mode-switcher { flex-shrink: 0; }
.frame-center { animation: popStagger 0.5s ease both 0.2s; }
.frame-right { animation: slideInRight 0.6s cubic-bezier(0.16,1,0.3,1) both 0.3s; }

/* Stats page entrance */
.stats-header { animation: textReveal 0.5s ease both; }
.stat-card { animation: fadeScale 0.4s ease both; }
.stat-card:nth-child(1) { animation-delay: 0.05s; }
.stat-card:nth-child(2) { animation-delay: 0.1s; }
.stat-card:nth-child(3) { animation-delay: 0.15s; }
.stat-card:nth-child(4) { animation-delay: 0.2s; }

.pdesc {
  font-size: 13.5px; color: rgba(255,255,255,0.55);
  line-height: 1.85; font-weight: 400;
}
.pdesc strong { color: rgba(255,255,255,0.85); font-weight: 600; }

.pflavor {
  font-style: italic; font-size: 12px;
  color: rgba(255,255,255,0.35);
  padding: 8px 12px;
  border-left: 2px solid var(--popup-accent, rgba(255,255,255,0.15));
  background: linear-gradient(90deg, rgba(var(--accent-rgb,0,212,200),0.05), transparent);
  border-radius: 0 6px 6px 0;
  line-height: 1.65;
}

.pstats { display: flex; gap: 6px; flex-wrap: wrap; }
.pstat {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px; padding: 8px 12px;
  flex: 1; min-width: 80px;
}
.pslbl {
  font-family: var(--sans); font-size: 9px; font-weight: 600;
  color: rgba(255,255,255,0.3); text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 3px;
}
.psval {
  font-family: var(--sans); font-size: 15px; font-weight: 700;
  color: rgba(255,255,255,0.8);
}

.pmedia { display:grid; grid-template-columns:repeat(2,1fr); gap:6px; }
.pmedia img,.pmedia video { width:100%; border-radius:8px; border:1px solid rgba(255,255,255,0.06); object-fit:cover; aspect-ratio:16/9; }

.plinks {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.plink {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 13px; border-radius: var(--r-md);
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  text-decoration: none; letter-spacing: 0.2px;
  transition: all var(--ease-fast);
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.5);
  cursor: pointer;
}
.plink svg { width:13px; height:13px; opacity:0.5; transition: opacity var(--ease-fast); }
.plink:hover {
  background: rgba(var(--accent-rgb,255,255,255),0.08);
  color: rgba(255,255,255,0.9);
  border-color: var(--popup-accent, rgba(255,255,255,0.2));
}
.plink:hover svg { opacity: 1; }
/* CTA primary button for website */
.plink-web.plink-cta {
  background: var(--popup-accent, var(--teal));
  color: #030d10;
  border-color: transparent;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 10px;
  letter-spacing: 0.3px;
  font-size: 12px;
}
/* Twitter / X button */
.plink-tw {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85);
  font-weight: 600;
}
.plink-tw:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}
/* Follow button — style X pill noir */
.plink-follow {
  background: #fff;
  border-color: transparent;
  color: #000;
  font-weight: 700;
  font-size: 11px;
  gap: 5px;
}
.plink-follow svg { opacity: 1; }
.plink-follow:hover {
  background: rgba(255,255,255,0.85);
  border-color: transparent;
  color: #000;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255,255,255,0.15);
}
.plink-tw svg { opacity: 0.85; }
.plink-tw:hover svg { opacity: 1; }
.plink-web.plink-cta svg { opacity: 0.7; }
.plink-web.plink-cta:hover {
  filter: brightness(1.15);
  box-shadow: 0 0 16px rgba(var(--accent-rgb,0,212,200),0.35);
  color: #030d10;
}

/* ── NFT Buy buttons (DripTrade / OpenSea) + Markets Mobile ─────────── */
.plink-buy-drip,
.plink-buy-os,
.plink-mobile {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(45,232,216,0.18);
  color: rgba(255,255,255,0.92);
  font-weight: 600;
}
.plink-buy-drip:hover {
  background: rgba(255, 132, 60, 0.12);
  border-color: rgba(255, 132, 60, 0.45);
  color: #ffae7c;
  box-shadow: 0 0 14px rgba(255,132,60,0.20);
}
.plink-buy-os:hover {
  background: rgba(32, 129, 226, 0.12);
  border-color: rgba(32, 129, 226, 0.45);
  color: #7eb4f0;
  box-shadow: 0 0 14px rgba(32,129,226,0.22);
}
.plink-mobile:hover {
  background: rgba(45, 232, 216, 0.12);
  border-color: rgba(45, 232, 216, 0.45);
  color: #2de8d8;
  box-shadow: 0 0 14px rgba(45,232,216,0.22);
}
.plink-buy-drip img,
.plink-buy-os img { transition: transform 0.18s ease; }
.plink-buy-drip:hover img,
.plink-buy-os:hover img { transform: scale(1.08); }

.pcoords {
  display: none;
}
.pcoords-lbl {
  font-size: 8px; font-weight: 600; color: rgba(255,255,255,0.18);
  text-transform: uppercase; letter-spacing: 1px; white-space: nowrap;
}

#popup::-webkit-scrollbar { width: 2px; }
#popup::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 2px; }

    /* Water animation layer */
    #water-anim {
      will-change: transform; /* isoler le water dans son propre GPU layer */
    }
    #water-anim::before, #water-anim::after {
      content: '';
      position: absolute;
      width: 200%; height: 200%;
      top: -50%; left: -50%;
      background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 8px,
        rgba(0, 180, 220, 0.15) 8px,
        rgba(0, 180, 220, 0.15) 10px
      );
      animation: waterFlow 12s linear infinite;
    }
    #water-anim::after {
      background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 6px,
        rgba(0, 210, 255, 0.1) 6px,
        rgba(0, 210, 255, 0.1) 8px
      );
      animation: waterFlow2 18s linear infinite;
    }
    @keyframes waterFlow {
      0%   { transform: translateX(-50%) translateY(0); }
      100% { transform: translateX(0%) translateY(-50%); }
    }
    @keyframes waterFlow2 {
      0%   { transform: translateX(0%) translateY(0); }
      100% { transform: translateX(-50%) translateY(50%); }
    }
    
    /* ── Water animation ── */
    #water-layer {
      position: absolute;
      left: 0; top: 0;
      width: 1024px; height: 682px;
      z-index: 4;
      pointer-events: none;
      object-fit: fill;
      display: block;
      -webkit-mask-image: url('../water-mask.jpg');
      mask-image: url('../water-mask.jpg');
      -webkit-mask-size: 100% 100%;
      mask-size: 100% 100%;
      mix-blend-mode: screen;
      opacity: 0.7;
      animation: waterShimmer 4s ease-in-out infinite alternate;
    }
    @keyframes waterShimmer {
      0%   { filter: hue-rotate(0deg)   brightness(0.85) saturate(1.2); }
      33%  { filter: hue-rotate(15deg)  brightness(1.1)  saturate(1.5); }
      66%  { filter: hue-rotate(-10deg) brightness(0.9)  saturate(1.3); }
      100% { filter: hue-rotate(8deg)   brightness(1.15) saturate(1.6); }
    }
    
    .frame-search-cluster {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-left: 12px;
      margin-right: auto;
      flex-shrink: 1;
      min-width: 0;
    }

    /* ── SEARCH BAR ── */
    #searchbar {
      display: flex; align-items: center; gap: 6px;
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 8px; padding: 0 12px;
      height: 32px; width: 180px;
      transition: border-color var(--ease-fast), width 0.3s ease, background var(--ease-fast), box-shadow 0.3s ease;
      flex-shrink: 1; min-width: 0;
      max-width: 220px; width: 220px;
    }
    #searchbar:focus-within { border-color: rgba(0,212,200,0.3); box-shadow: 0 0 0 3px rgba(0,212,200,0.08); width: 240px; background: rgba(255,255,255,0.06); }
    #search-icon { color: rgba(255,255,255,0.25); display:flex; align-items:center; flex-shrink:0; }
    #search-input {
      background: none; border: none; outline: none;
      font-family: var(--sans); font-size: 11px;
      color: rgba(255,255,255,0.7); width: 100%; min-width: 0;
    }
    #search-input::placeholder { color: rgba(255,255,255,0.2); }
    #search-clear {
      background: none; border: none; cursor: pointer;
      color: rgba(255,255,255,0.3); font-size: 10px; padding: 0;
      line-height: 1;
    }
    #search-clear:hover { color: rgba(255,255,255,0.7); }

    /* ── POPUP SLIDE ANIMATION ── */
    #popup { transition: transform 0.3s cubic-bezier(0.23,1,0.32,1), opacity 0.25s ease; opacity: 1; }
    #overlay:not(.on) #popup { opacity: 0; }



    /* ── RICH TOOLTIP ── */
    #tip { display: flex; flex-direction: column; gap: 2px; padding: 7px 11px; }
    #tip-name { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.85); }
    #tip-cat  { font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.2px; opacity: 0.55; }


    /* ── SEARCH DROPDOWN ── */
    #search-suggest {
      display: none;
      position: absolute;
      top: calc(100% + 6px); left: 0; right: 0;
      background: #0d1e2a;
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 8px 32px rgba(0,0,0,0.7);
      z-index: 9999;
      min-width: 200px;
    }
    .suggest-item {
      padding: 9px 13px;
      font-family: var(--sans); font-size: 11px;
      color: rgba(255,255,255,0.5);
      cursor: pointer;
      transition: background 0.1s, color 0.1s;
    }
    .suggest-item:hover, .suggest-item.suggest-active { background: rgba(0,212,200,0.1); color: rgba(255,255,255,0.9); }
    .suggest-item strong { color: #fff; font-weight: 700; }
    .suggest-item[aria-selected="true"] { background: rgba(0,212,200,0.12); color: #fff; }
    #searchbar { position: relative; }

    
    /* ── VISITED DOTS ── */
    .hs { overflow: visible; }
    @keyframes dotPulse {
      0%, 100% { box-shadow: 0 0 6px rgba(45,232,216,0.8), 0 0 0 0 rgba(45,232,216,0.5); }
      50% { box-shadow: 0 0 8px rgba(45,232,216,0.9), 0 0 0 4px rgba(45,232,216,0); }
    }
    /* Undiscovered hotspot: optional marker (hidden during welcome + tour) */
    .hs:not(.visited)::after {
      content: '?';
      position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
      font-family: var(--sans); font-size: 11px; font-weight: 800;
      color: rgba(255,255,255,0.18);
      pointer-events: none; z-index: 2;
      transition: color 0.2s ease;
    }
    .hs:not(.visited):hover::after { color: rgba(255,255,255,0.55); }

    body:has(#hyx-welcome.hyx-show) .hs:not(.visited)::after {
      content: none !important;
      display: none !important;
    }

    .visited-dot {
      position: absolute;
      bottom: -5px; right: -5px;
      width: 10px; height: 10px;
      border-radius: 50%;
      background: #2de8d8;
      border: 1.5px solid rgba(3,13,16,0.8);
      box-shadow: 0 0 6px rgba(45,232,216,0.8);
      pointer-events: none;
      z-index: 30;
      opacity: 0;
      transition: opacity 0.3s ease;
    }
    .hs.active-hs .visited-dot {
      opacity: 1;
      animation: dotPulse 2s ease-in-out infinite;
    }

    /* ── FAVORITES removed ── */

    /* ── MINI-MAP ── */
    #minimap { display: none !important; }

    /* ── TOUR MODE ── */
    #tour-overlay {
      display: none;
      position: fixed; inset: 0;
      z-index: 8000;
      pointer-events: none;
    }
    #tour-overlay.active { display: block; }

    #tour-panel {
      position: fixed;
      bottom: 88px; left: 50%; transform: translateX(-50%);
      width: 320px; max-width: 85vw;
      background: rgba(6,14,20,0.96);
      border: 1px solid rgba(255,255,255,0.09);
      border-radius: 14px;
      padding: 14px 18px 16px;
      pointer-events: all;
      box-shadow: 0 12px 40px rgba(0,0,0,0.85);
      display: none;
      overflow: visible;
    }
    /* Animation on first appearance only — applied via JS class, not on base rule */
    #tour-panel.tour-first-in {
      animation: tourIn 0.4s cubic-bezier(0.16,1,0.3,1) forwards;
    }
    /* tour-desc opacity transition managed entirely in JS for precise timing */
    #tour-overlay.active #tour-panel { display: block; }

    @keyframes tourIn {
      from { opacity: 0; transform: translateX(-50%) translateY(10px); }
      to   { opacity: 1; transform: translateX(-50%) translateY(0); }
    }

    #tour-step {
      font-family: var(--sans); font-size: 8px; font-weight: 700;
      text-transform: uppercase; letter-spacing: 1.4px;
      color: rgba(255,255,255,0.25); margin-bottom: 6px;
    }
    #tour-title {
      font-family: var(--sans); font-size: 15px; font-weight: 800;
      color: #fff; margin-bottom: 4px; letter-spacing: -0.2px;
    }
    #tour-desc {
      font-size: 11px; color: rgba(255,255,255,0.5);
      line-height: 1.6; margin-bottom: 12px;
    }
    #tour-controls {
      display: flex; align-items: center; justify-content: space-between;
    }
    #tour-progress {
      display: flex; gap: 4px;
    }
    .tour-dot {
      width: 6px; height: 6px; border-radius: 50%;
      background: rgba(255,255,255,0.15);
      transition: background 0.2s;
    }
    .tour-dot.active { background: #2de8d8; }
    #tour-actions { display: flex; gap: 8px; }
    .tour-btn {
      font-family: var(--sans); font-size: 9px; font-weight: 600;
      padding: 6px 12px; border-radius: 7px; cursor: pointer;
      letter-spacing: 0.5px; transition: all 0.15s; border: 1px solid;
    }
    #tour-exit {
      background: transparent;
      border-color: rgba(255,255,255,0.1);
      color: rgba(255,255,255,0.3);
    }
    #tour-exit:hover { color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.2); }
    #tour-next {
      background: rgba(45,232,216,0.1);
      border-color: rgba(45,232,216,0.3);
      color: #2de8d8;
    }
    #tour-next:hover { background: rgba(45,232,216,0.18); border-color: rgba(45,232,216,0.5); }



    /* ── TABS ── */
    #tab-nav {
      display: flex; gap: 2px;
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.07);
      border-radius: 10px; padding: 3px;
    }
    .tab-btn {
      font-family: var(--sans); font-size: 10px; font-weight: 700;
      letter-spacing: 1px; text-transform: uppercase;
      padding: 5px 16px; border-radius: 7px;
      border: none; cursor: pointer;
      color: rgba(255,255,255,0.3);
      background: transparent;
      transition: all 0.15s;
    }
    .tab-btn.active {
      background: rgba(255,255,255,0.08);
      color: rgba(255,255,255,0.85);
    }
    .tab-btn:hover:not(.active) { color: rgba(255,255,255,0.55); }

    /* ── STATS PAGE ── */
    #stats-page {
      display: none;
      position: fixed; top: 56px; left: 0; right: 0; bottom: 68px;
      background: #080f15;
      overflow-y: auto;
      padding: 32px 40px 48px;
      z-index: 150;
    }
    #stats-page.visible { display: block; }

    /* ── Stats entrance animations ── */
    .stats-reveal {
      opacity: 0; transform: translateY(18px);
      transition: opacity 0.5s cubic-bezier(0.16,1,0.3,1), transform 0.5s cubic-bezier(0.16,1,0.3,1);
    }
    .stats-reveal.visible { opacity: 1; transform: translateY(0); }
    .stats-child {
      opacity: 0; transform: translateY(12px);
      transition: opacity 0.4s cubic-bezier(0.16,1,0.3,1), transform 0.4s cubic-bezier(0.16,1,0.3,1);
    }
    .stats-child.visible { opacity: 1; transform: translateY(0); }

    .stats-header {
      font-family: var(--sans); font-size: var(--fs-sm); font-weight: 700;
      letter-spacing: 2px; text-transform: uppercase;
      color: rgba(255,255,255,0.3); margin-bottom: 20px;
      display: flex; align-items: center; gap: 10px;
    }
    .stats-header::after {
      content: ''; flex: 1; height: 1px;
      background: rgba(255,255,255,0.05);
    }

    .stats-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 16px; margin-bottom: 36px;
    }
    .stat-card {
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(255,255,255,0.07);
      border-radius: var(--r-lg); padding: 28px 28px 24px;
      position: relative; overflow: hidden;
    }
    .stat-card::before { display: none; }
    .stat-card-num {
      font-family: var(--sans); font-size: 52px; font-weight: 900;
      color: #fff; line-height: 1; margin-bottom: 8px;
      letter-spacing: -1.5px;
      background: linear-gradient(135deg, #fff 60%, var(--card-accent, #2de8d8));
      -webkit-background-clip: text; -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .stat-card-label {
      font-family: var(--sans); font-size: var(--fs-sm); font-weight: 600;
      letter-spacing: 1.2px; text-transform: uppercase;
      color: rgba(255,255,255,0.4);
      margin-top: 4px;
    }

    /* Category bars */
    .cat-bars { display: flex; flex-direction: column; gap: 6px; margin-bottom: 36px; }
    .cat-bar-row { display: flex; align-items: center; gap: 14px; }
    .cat-bar-label {
      font-family: var(--sans); font-size: var(--fs-sm); font-weight: 600;
      color: rgba(255,255,255,0.5); width: 70px; text-align: right;
      flex-shrink: 0; letter-spacing: 0.3px;
    }
    .cat-bar-track {
      flex: 1; height: 10px; background: rgba(255,255,255,0.05);
      border-radius: 5px; overflow: hidden;
    }
    .cat-bar-fill {
      height: 100%; border-radius: 5px; width: 0;
      transition: width 1s cubic-bezier(0.16,1,0.3,1);
    }
    .cat-bar-count {
      font-family: var(--sans); font-size: var(--fs-sm);
      color: rgba(255,255,255,0.35); width: 24px;
    }

    /* Project list grid */
    .projects-list {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
      gap: 10px;
    }
    .proj-list-item {
      display: flex; align-items: center; gap: 14px;
      background: rgba(255,255,255,0.02);
      border: 1px solid rgba(255,255,255,0.05);
      border-radius: var(--r-md); padding: 14px 16px;
      cursor: pointer; transition: all var(--ease-fast);
    }
    .proj-list-item:hover {
      background: rgba(255,255,255,0.05);
      border-color: rgba(255,255,255,0.12);
      transform: translateY(-1px);
    }
    .proj-list-logo {
      width: 40px; height: 40px; border-radius: var(--r-md);
      object-fit: contain; flex-shrink: 0;
      background: rgba(255,255,255,0.04);
    }
    .proj-list-info { min-width: 0; }
    .proj-list-name {
      font-family: var(--sans); font-size: var(--fs-md); font-weight: 700;
      color: rgba(255,255,255,0.85); white-space: nowrap;
      overflow: hidden; text-overflow: ellipsis;
    }
    .proj-list-cat {
      font-family: var(--sans); font-size: 11px;
      color: rgba(255,255,255,0.35); letter-spacing: 0.5px;
      margin-top: 2px;
    }
    .proj-list-links {
      display: flex; align-items: center; gap: 4px;
      margin-left: auto; flex-shrink: 0;
    }
    .proj-list-links a {
      display: flex; align-items: center; justify-content: center;
      width: 28px; height: 28px; border-radius: var(--r-sm);
      background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
      color: rgba(255,255,255,0.35); text-decoration: none;
      transition: all var(--ease-fast);
    }
    .proj-list-links a:hover {
      background: rgba(0,212,200,0.12); border-color: rgba(0,212,200,0.25);
      color: var(--teal); transform: translateY(-1px);
    }
    .proj-list-links a svg { width: 14px; height: 14px; }
    .visited-badge {
      display: none;
      width: 8px; height: 8px; border-radius: 50%;
      background: #2de8d8; flex-shrink: 0;
      box-shadow: 0 0 6px rgba(45,232,216,0.6);
    }
    .proj-toolbar {
      display: flex; align-items: center; gap: 10px;
      margin-bottom: 16px; flex-wrap: wrap;
    }
    .proj-search {
      flex: 1; min-width: 160px;
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: var(--r-md); padding: 9px 14px;
      font-family: var(--sans); font-size: 11px;
      color: rgba(255,255,255,0.7); outline: none;
    }
    .proj-search::placeholder { color: rgba(255,255,255,0.25); }
    .proj-search:focus { border-color: rgba(45,232,216,0.4); }
    .proj-sort {
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: var(--r-md); padding: 9px 12px;
      font-family: var(--sans); font-size: var(--fs-sm);
      color: rgba(255,255,255,0.6); outline: none; cursor: pointer;
    }
    .proj-sort:focus { border-color: rgba(45,232,216,0.4); }
    .proj-sort option { background: #0b1820; color: rgba(255,255,255,0.7); }
    .proj-count {
      font-family: var(--sans); font-size: var(--fs-sm);
      color: rgba(255,255,255,0.3); white-space: nowrap;
    }

    /* ── CATEGORY BARS — clickable + tooltip ── */
    .cat-bar-row {
      cursor: pointer; border-radius: var(--r-md);
      padding: 6px 8px; margin: 0 -8px;
      transition: background 0.12s; position: relative;
    }
    .cat-bar-row:hover { background: rgba(255,255,255,0.04); }
    .cat-bar-pct {
      font-family: var(--sans); font-size: 11px;
      color: rgba(255,255,255,0.3); margin-left: 6px; white-space: nowrap;
    }
    .cat-bar-row:hover .cat-bar-count { color: rgba(255,255,255,0.7); }
    .cat-bar-row:hover .cat-bar-label { color: rgba(255,255,255,0.9); }
    .cat-tip {
      display: none; position: absolute; left: 80px; top: calc(100% + 4px); z-index: 200;
      background: rgba(6,18,26,0.97); border: 1px solid rgba(255,255,255,0.1);
      border-radius: var(--r-md); padding: 14px 16px; min-width: 230px;
      pointer-events: none; font-family: var(--sans);
      box-shadow: 0 8px 24px rgba(0,0,0,0.55);
    }
    .cat-bar-row:hover .cat-tip { display: block; }
    .cat-tip-tvl { font-size: var(--fs-md); font-weight: 700; color: #2de8d8; margin-bottom: 6px; }
    .cat-tip-label { font-size: 11px; color: rgba(255,255,255,0.35); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.06em; }
    .cat-tip-projs { color: rgba(255,255,255,0.45); font-size: 11px; line-height: 1.8; }
    .cat-tip-hint { margin-top: 8px; font-size: 11px; color: rgba(45,232,216,0.5); }

    /* ── TOP 3 PER CATEGORY ── */
    .top3-grid {
      display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 8px;
    }
    .top3-group {
      background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06);
      border-radius: var(--r-md); padding: 14px 16px;
    }
    .top3-group-hdr {
      display: flex; align-items: center; gap: 8px; margin-bottom: 12px;
    }
    .top3-group-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
    .top3-group-name {
      font-family: var(--sans); font-size: var(--fs-sm); font-weight: 700;
      text-transform: uppercase; letter-spacing: 0.06em;
    }
    .top3-projs { display: flex; flex-direction: column; gap: 8px; }
    .top3-item {
      display: flex; align-items: center; gap: 12px; cursor: pointer;
      padding: 10px 12px; border-radius: var(--r-md); transition: all var(--ease-fast);
      background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.04);
    }
    .top3-item:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1); transform: translateY(-1px); }
    .top3-logo {
      width: 36px; height: 36px; border-radius: var(--r-md); object-fit: contain;
      flex-shrink: 0; background: rgba(255,255,255,0.04);
    }
    .top3-name {
      font-family: var(--sans); font-size: var(--fs-md); font-weight: 600; color: rgba(255,255,255,0.8);
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .top3-cat { font-family: var(--sans); font-size: var(--fs-sm); color: rgba(255,255,255,0.35); margin-top: 1px; }


    /* ── STATS SUBMIT CTA ── */

    /* ── MINI CALLOUT (tour) ── */
    #mini-callout {
      display: none;
      position: absolute;
      z-index: 7000;
      pointer-events: none;
      transform: translate(-50%, -100%);
      transform-origin: bottom center;
    }
    #mini-callout.visible { display: block; }
    #mini-callout-inner {
      background: none;
      border: none;
      box-shadow: none;
      padding: 0;
      white-space: nowrap;
      animation: calloutIn 0.4s cubic-bezier(0.16,1,0.3,1);
    }
    @keyframes calloutIn {
      from { opacity:0; transform: translateY(8px) scale(0.95); }
      to   { opacity:1; transform: translateY(0) scale(1); }
    }
    @keyframes floatIn {
      from { opacity:0; transform: translate(-50%, calc(-100% + 10px)); }
      to   { opacity:1; transform: translate(-50%, -100%); }
    }
    #mini-callout-name {
      font-family: var(--sans); font-size: 14px; font-weight: 900;
      color: #fff; letter-spacing: -0.2px;
      text-shadow: 0 0 20px rgba(45,232,216,0.6), 0 2px 8px rgba(0,0,0,0.9);
    }
    #mini-callout-cat {
      font-family: var(--sans); font-size: 9px; font-weight: 700;
      letter-spacing: 1.6px; text-transform: uppercase;
      color: #2de8d8; margin-top: 3px;
      text-shadow: 0 0 12px rgba(45,232,216,0.5);
      opacity: 0.85;
    }


    
    
    /* ── FIX: remove ALL borders/outlines/strokes around map ── */
    #viewport, #stage, #stage img, #bg-layer, .pl, #filter-overlay,
    #viewport *, #stage * {
      border: none !important;
      outline: none !important;
      box-shadow: none !important;
      -webkit-box-shadow: none !important;
    }
    /* Hide any broken image icons */
    img[alt=""]::before,
    img[alt=""]::after {
      display: none !important;
    }
    img.pl, #bg-layer {
      -webkit-user-drag: none;
      image-rendering: auto;
    }
    /* Force no border on the map viewport */
    #viewport {
      border: 0 !important;
      outline: 0 !important;
    }
    #stage {
      border: 0 !important;
      outline: 0 !important;
    }
    #stage img {
      border: 0 !important;
      outline: 0 !important;
    }


/* ════════════════════════════════════════════════════════════
   RESPONSIVE — keep proportions across screen sizes
   Reference design: 1920×1080 (your screen). Below scales down
   smoothly while preserving the isometric map aspect ratio.
   ════════════════════════════════════════════════════════════ */

/* Compact desktop: 1100–1366px (small laptops, 13" MacBooks) */
@media (max-width: 1366px) and (min-width: 1101px) {
  #frame-top { padding: 0 12px; height: 52px; }
  .frame-logo-title { font-size: 10px; letter-spacing: 1.8px; }
  .frame-logo-sub   { font-size: 8px;  letter-spacing: 1.1px; }
  #searchbar { max-width: 200px; }
  .frame-right { gap: 10px; }
  #hype-price, #macro-vol { font-size: 10px; }
  .tab-btn { font-size: 11px; padding: 5px 10px; }
  #hud { transform: scale(0.92); transform-origin: bottom right; }
  #frame-bottom { height: 60px; }
  .fb { padding: 5px 10px; font-size: 10px; }
  .bottom-right { gap: 8px; }
}

/* Mid-tablet / portrait laptop landing zone: 769–1100px */
@media (max-width: 1100px) and (min-width: 769px) {
  #frame-top { padding: 0 10px; height: 50px; }
  .frame-logo-title { font-size: 9px; letter-spacing: 1.4px; }
  .frame-logo-sub   { display: none; }
  .beta-badge { display: none; }
  #searchbar { max-width: 150px; font-size: 11px; }
  .frame-right { gap: 8px; }
  #macro-vol, .fr-sep { display: none; }
  #hype-price { font-size: 10px; padding: 3px 7px; }
  .tab-btn { font-size: 10px; padding: 4px 8px; }
  #mode-switcher .ms-btn { font-size: 10px; padding: 4px 8px; }
  #hud { transform: scale(0.85); transform-origin: bottom right; }
  #frame-bottom { height: 56px; padding: 0 10px; }
  .fb { padding: 4px 8px; font-size: 9px; letter-spacing: 0.5px; }
  .bottom-right { gap: 6px; }
}

/* Ultra-wide (>1920): keep layout centered, don't stretch chrome */
@media (min-width: 1920px) {
  #frame-top { padding: 0 32px; }
  #frame-bottom { padding: 0 32px; }
}

/* High-DPI screens: prevent blurry sprite scaling on map */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  #stage img { image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges; }
  #bg-layer { image-rendering: auto; } /* keep bg smooth even at 2x */
}

/* Short screens (laptops with <750px tall, e.g. 1280×720): tighten chrome */
@media (max-height: 750px) {
  #frame-top { height: 48px; }
  #frame-bottom { height: 56px; }
  #hud { transform: scale(0.88); transform-origin: bottom right; }
}

/* Reduced motion: pause sprite animations + hide VFX canvases */
@media (prefers-reduced-motion: reduce) {
  .pl.ambient-pulse, .pl.stack-pulse { animation: none !important; }
  #particles-canvas, #flares-canvas, #smoke-canvas, #clouds-canvas, #birds-canvas { display: none !important; }
}

/* Standard render mode (single preset): keeps the same visual style
   without device-specific GPU tier switches. */


