/* Callradar — liquid glass / water stage */
:root {
  --bg: #020806;
  --ink: #f2faf5;
  --mute: #8aa696;
  --line: rgba(180, 255, 220, 0.16);
  --green: #5dffa8;
  --green-dim: rgba(93, 255, 168, 0.14);
  --card: rgba(12, 28, 22, 0.45);
  --glass: rgba(14, 32, 26, 0.38);
  --glass-hi: rgba(255, 255, 255, 0.1);
  --glass-edge: rgba(200, 255, 230, 0.28);
  --font: 'SF Pro Display', ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --stream: min(440px, 100vw - 1.5rem);
  --dock-h: 72px;
  --blur: 22px;
  --blur-lg: 40px;
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  font-family: var(--font);
  background: #020806;
}
/* liquid water field behind everything */
body {
  background:
    radial-gradient(ellipse 90% 70% at 20% 10%, rgba(60, 200, 160, 0.22), transparent 55%),
    radial-gradient(ellipse 70% 55% at 85% 25%, rgba(40, 140, 255, 0.12), transparent 50%),
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(93, 255, 168, 0.14), transparent 55%),
    linear-gradient(165deg, #031510 0%, #020806 40%, #041a14 100%);
  background-attachment: fixed;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.06) 0%, transparent 28%),
    radial-gradient(circle at 70% 60%, rgba(93, 255, 168, 0.08) 0%, transparent 32%);
  animation: caustic 12s ease-in-out infinite alternate;
  opacity: 0.9;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.35;
  mix-blend-mode: soft-light;
}
@keyframes caustic {
  from {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }
  to {
    transform: translate3d(2%, 2%, 0) scale(1.05);
  }
}
/* critical: display:flex on .sheet overrides HTML hidden without this */
[hidden],
.sheet[hidden],
.overlay[hidden],
#filterSheet[hidden],
#filterOverlay[hidden],
#coinPanel[hidden],
#appRoot[hidden],
#landing[hidden] {
  display: none !important;
}
button,
input {
  font: inherit;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.linkish {
  background: none;
  border: 0;
  color: var(--green);
  cursor: pointer;
  font-size: 0.72rem;
  padding: 0;
}
.grad {
  background: linear-gradient(110deg, #fff 0%, #3dff8a 50%, #c8ffdf 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ——— LOADER ——— */
.loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(60, 180, 140, 0.25), transparent 55%),
    #020806;
  backdrop-filter: blur(8px);
  transition: opacity 0.5s ease, visibility 0.5s;
}
.loader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-stage {
  position: relative;
  width: min(280px, 80vw);
  text-align: center;
}
.radar-sweep {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 70%, rgba(61, 255, 138, 0.25) 100%);
  animation: sweep 2s linear infinite;
  opacity: 0.7;
}
.loader-logo {
  position: relative;
  z-index: 1;
  width: 96px;
  height: 96px;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 0 50px rgba(61, 255, 138, 0.45);
}
.loader-brand {
  position: relative;
  margin: 1.25rem 0 0.35rem;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.loader-brand span {
  color: var(--green);
  font-style: italic;
}
.loader-msg {
  position: relative;
  margin: 0;
  color: var(--mute);
  font-size: 0.85rem;
}
@keyframes sweep {
  to {
    transform: rotate(360deg);
  }
}

/* ——— LANDING: full-bleed cinematic (not 2-col SaaS hero) ——— */
.land {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}
.land-bg {
  position: absolute;
  inset: 0;
}
.land-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  filter: saturate(1.1) contrast(1.05);
}
.land-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 4, 3, 0.55) 0%, rgba(2, 4, 3, 0.82) 45%, #020403 100%),
    radial-gradient(ellipse 60% 40% at 50% 20%, rgba(61, 255, 138, 0.15), transparent);
}
.land-top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
}
.brand-pill {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.75rem 0.35rem 0.35rem;
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(93, 255, 168, 0.08));
  border: 1px solid var(--glass-edge);
  backdrop-filter: blur(var(--blur)) saturate(1.4);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(1.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 8px 32px rgba(0, 0, 0, 0.25);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.brand-pill img {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  object-fit: cover;
}
.brand-pill .g {
  color: var(--green);
  font-style: italic;
}
.land-center {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  padding: 8vh 1.25rem 4rem;
  text-align: center;
}
.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
}
.land-center h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.6rem, 8vw, 4.2rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.lede {
  margin: 0 auto 1.75rem;
  max-width: 32rem;
  color: var(--mute);
  font-size: 1.05rem;
  line-height: 1.55;
}
.land-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.btn-glow {
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.5rem;
  font-weight: 700;
  cursor: pointer;
  color: #03140a;
  background: linear-gradient(120deg, #3dff8a, #e8fff1);
  box-shadow: 0 0 32px rgba(61, 255, 138, 0.35);
}
.btn-glow.wide {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  display: block;
}
.btn-ghost {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
  background: rgba(0, 0, 0, 0.35);
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-bottom: 2rem;
  text-align: left;
}
.bento-cell {
  padding: 1rem 0.95rem;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(93, 255, 168, 0.06));
  border: 1px solid var(--glass-edge);
  backdrop-filter: blur(var(--blur)) saturate(1.5);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(1.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 12px 40px rgba(0, 0, 0, 0.28);
}
.bento-cell .n {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--green);
}
.bento-cell h3 {
  margin: 0.35rem 0 0.3rem;
  font-size: 0.95rem;
}
.bento-cell p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--mute);
  line-height: 1.4;
}
.legal {
  margin: 1.5rem 0 0;
  font-size: 0.7rem;
  color: var(--mute);
  opacity: 0.7;
}
.mono-ca {
  font-family: var(--mono);
  font-size: 0.58rem !important;
  word-break: break-all;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.85 !important;
  color: var(--green) !important;
}

/* Official CA card on landing */
.glass-ca,
.ca-card {
  max-width: 28rem;
  margin: 0 auto 1.75rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  text-align: left;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(93, 255, 168, 0.07));
  border: 1px solid var(--glass-edge);
  backdrop-filter: blur(var(--blur)) saturate(1.4);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(1.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 12px 36px rgba(0, 0, 0, 0.3);
}
.ca-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.72rem;
}
.ca-kicker {
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}
.ca-card-top a {
  color: var(--mute);
  text-decoration: none;
  font-size: 0.75rem;
}
.ca-card-top a:hover {
  color: var(--green);
}
.ca-mono {
  display: block;
  width: 100%;
  text-align: left;
  font-family: var(--mono);
  font-size: 0.68rem;
  line-height: 1.45;
  word-break: break-all;
  color: var(--ink);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.65rem 0.75rem;
  cursor: pointer;
}
.ca-mono:hover {
  border-color: rgba(93, 255, 168, 0.4);
}
.ca-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.55rem;
}
.btn-glow.sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.75rem;
}
.ca-copied {
  font-size: 0.72rem;
  color: var(--green);
  font-weight: 700;
}
.stage-ca {
  width: var(--stream);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0 0 0.45rem;
  padding: 0.35rem 0.55rem;
  border-radius: 12px;
  border: 1px solid var(--glass-edge);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(93, 255, 168, 0.05));
  backdrop-filter: blur(14px);
}
.stage-ca-btn {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--mute);
  font-family: var(--mono);
  font-size: 0.62rem;
  text-align: left;
  cursor: pointer;
  padding: 0.2rem 0;
}
.stage-ca-btn:hover {
  color: var(--green);
}
.stage-ca-link {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--green);
  text-decoration: none;
  white-space: nowrap;
}

/* ——— APP STAGE: centered stream + bottom dock ——— */
.stage {
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  z-index: 1;
  padding: 0 0 calc(var(--dock-h) + 1.25rem);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stage-grid {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 50% 15%, rgba(93, 255, 168, 0.12), transparent 42%),
    radial-gradient(circle at 20% 70%, rgba(40, 160, 220, 0.08), transparent 40%),
    linear-gradient(rgba(200, 255, 230, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 255, 230, 0.035) 1px, transparent 1px);
  background-size: auto, auto, 56px 56px, 56px 56px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 40%, #000 15%, transparent 78%);
  z-index: 0;
  animation: water-drift 18s ease-in-out infinite alternate;
}
@keyframes water-drift {
  from {
    opacity: 0.85;
    transform: scale(1);
  }
  to {
    opacity: 1;
    transform: scale(1.03);
  }
}
.stage-top {
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
  max-width: calc(var(--stream) + 2rem);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.75rem 0.75rem 0.5rem;
  background: linear-gradient(180deg, #020403 60%, transparent);
}
.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--glass-edge);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(93, 255, 168, 0.06));
  backdrop-filter: blur(var(--blur)) saturate(1.5);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(1.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
  padding: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--ink);
}
.icon-btn img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
}
.icon-btn.text {
  width: auto;
  padding: 0 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--green);
}
.stage-title {
  text-align: center;
  min-width: 0;
}
.stage-title strong {
  display: block;
  font-size: 1rem;
  letter-spacing: -0.02em;
}
.stage-title span {
  display: block;
  font-size: 0.68rem;
  color: var(--mute);
  font-family: var(--mono);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stage-top-right {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mute);
  box-shadow: 0 0 0 0 rgba(61, 255, 138, 0.4);
}
.live-dot.ok {
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}
.live-dot.err {
  background: #ff6b7a;
}

/* wallet runway — horizontal, not sidebar */
.runway {
  width: var(--stream);
  z-index: 1;
  margin-bottom: 0.35rem;
}
.runway-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0.15rem 0.4rem;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 700;
}
.runway-track {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.15rem 0.1rem 0.55rem;
  -webkit-overflow-scrolling: touch;
}
.runway-track::-webkit-scrollbar {
  display: none;
}
.w-card {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 148px;
  padding: 0.65rem;
  border-radius: 18px;
  border: 1px solid var(--glass-edge);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.12), rgba(10, 30, 22, 0.35));
  backdrop-filter: blur(var(--blur)) saturate(1.45);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(1.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 10px 28px rgba(0, 0, 0, 0.28);
}
.w-card.on {
  border-color: rgba(93, 255, 168, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 0 24px rgba(93, 255, 168, 0.2);
}
.w-row {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}
.w-av {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}
.w-av.ph {
  display: grid;
  place-items: center;
  background: #0e1812;
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 800;
}
.w-info {
  min-width: 0;
  flex: 1;
}
.w-name {
  display: flex;
  justify-content: space-between;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
}
.w-name a {
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.w-rank {
  color: var(--mute);
  font-family: var(--mono);
  font-size: 0.6rem;
}
.w-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.15rem;
  font-family: var(--mono);
  font-size: 0.58rem;
  color: var(--mute);
}
.w-pin {
  margin-top: 0.45rem;
  width: 100%;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.3rem;
  cursor: pointer;
}
.w-pin.on {
  background: linear-gradient(120deg, #3dff8a, #d4ffe6);
  color: #03140a;
  border-color: transparent;
}

.stage-blurb {
  width: var(--stream);
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  color: var(--mute);
  z-index: 1;
}
.count-chip {
  width: var(--stream);
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--green);
  margin-bottom: 0.5rem;
  z-index: 1;
}

/* stream = single phone-width column */
.stream {
  width: var(--stream);
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-bottom: 1rem;
}
.empty {
  text-align: center;
  color: var(--mute);
  padding: 2.5rem 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* callout cards — liquid glass posts */
.callout-card {
  border-radius: 24px;
  border: 1px solid var(--glass-edge);
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(20, 48, 38, 0.4) 42%,
    rgba(8, 20, 16, 0.55) 100%
  );
  backdrop-filter: blur(var(--blur-lg)) saturate(1.55);
  -webkit-backdrop-filter: blur(var(--blur-lg)) saturate(1.55);
  padding: 1rem 1rem 0.85rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(93, 255, 168, 0.06),
    0 18px 48px rgba(0, 0, 0, 0.4);
  animation: rise 0.35s ease;
}
.callout-card.selected {
  border-color: rgba(93, 255, 168, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 0 32px rgba(93, 255, 168, 0.18),
    0 18px 48px rgba(0, 0, 0, 0.4);
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.callout-head {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 0.65rem;
  align-items: start;
  margin-bottom: 0.75rem;
}
.av {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(61, 255, 138, 0.25);
}
.av.ph {
  display: grid;
  place-items: center;
  background: #0e1812;
  color: var(--green);
  font-weight: 800;
}
.handle-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
}
.handle {
  font-weight: 800;
  font-size: 0.92rem;
}
.x-link {
  color: var(--mute);
  font-size: 0.75rem;
  text-decoration: none;
}
.ago {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--mute);
}
.thesis {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}
.mult-pill {
  font-family: var(--mono);
  font-weight: 800;
  font-size: 0.95rem;
  color: #03140a;
  background: linear-gradient(120deg, #3dff8a, #eafff2);
  border-radius: 999px;
  padding: 0.3rem 0.6rem;
  white-space: nowrap;
}
.coin-chip {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.25));
  backdrop-filter: blur(12px);
  padding: 0.65rem 0.75rem;
  cursor: pointer;
  color: inherit;
  margin-bottom: 0.55rem;
}
.coin-chip:hover {
  border-color: rgba(61, 255, 138, 0.4);
}
.coin-thumb {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
}
.coin-thumb.ph {
  display: grid;
  place-items: center;
  background: #122018;
  color: var(--mute);
  font-size: 0.75rem;
}
.coin-chip-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}
.coin-chip-text strong {
  font-size: 0.9rem;
}
.coin-chip-text span {
  font-size: 0.75rem;
  color: var(--mute);
}
.called-range {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.72rem !important;
  color: var(--green) !important;
}
.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.65rem;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--mute);
}
.meta-line a {
  color: var(--green);
  text-decoration: none;
}
.badge {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.12rem 0.45rem;
  background: rgba(0, 0, 0, 0.3);
}
.badge.hit {
  border-color: rgba(61, 255, 138, 0.4);
  color: var(--green);
  background: var(--green-dim);
}

/* bottom dock — frosted glass pill */
.dock {
  position: fixed;
  left: 50%;
  bottom: max(0.75rem, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 40;
  display: flex;
  gap: 0.2rem;
  padding: 0.4rem;
  border-radius: 999px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(10, 28, 22, 0.45));
  border: 1px solid var(--glass-edge);
  backdrop-filter: blur(var(--blur-lg)) saturate(1.6);
  -webkit-backdrop-filter: blur(var(--blur-lg)) saturate(1.6);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 14px 48px rgba(0, 0, 0, 0.45);
}
.dock-item {
  border: 0;
  background: transparent;
  color: var(--mute);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  min-width: 64px;
}
.dock-item.on {
  color: #03140a;
  background: linear-gradient(120deg, #3dff8a, #e8fff1);
}
.dock-ico {
  font-size: 0.95rem;
  line-height: 1;
}

/* sheets + overlay — glass only when open */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(2, 12, 10, 0.45);
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
}
.overlay:not([hidden]) {
  display: block;
}
.sheet {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 60;
  width: min(480px, 100%);
  max-height: min(85vh, 720px);
  border-radius: 24px 24px 0 0;
  background: linear-gradient(180deg, rgba(30, 60, 50, 0.55), rgba(6, 16, 12, 0.82));
  border: 1px solid var(--glass-edge);
  border-bottom: 0;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(var(--blur-lg)) saturate(1.6);
  -webkit-backdrop-filter: blur(var(--blur-lg)) saturate(1.6);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 -24px 60px rgba(0, 0, 0, 0.5);
}
.sheet:not([hidden]) {
  display: flex;
}
.sheet-handle {
  width: 40px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  margin: 0.55rem auto 0;
}
.sheet-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--line);
}
.sheet-bar h2 {
  margin: 0;
  font-size: 0.95rem;
}
.sheet-body {
  overflow: auto;
  padding: 1rem;
  -webkit-overflow-scrolling: touch;
}
.filters .presets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.preset {
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.45rem;
  cursor: pointer;
}
.preset.on {
  border-color: rgba(61, 255, 138, 0.45);
  color: var(--green);
  background: var(--green-dim);
}
.ctrl {
  display: block;
  margin-bottom: 0.85rem;
}
.ctrl-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--mute);
  margin-bottom: 0.3rem;
}
.ctrl-top strong {
  color: var(--green);
  font-family: var(--mono);
}
.ctrl input[type='range'] {
  width: 100%;
  accent-color: var(--green);
}
.check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  cursor: pointer;
}
.check input {
  accent-color: var(--green);
}
.meta {
  margin-top: 1rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--mute);
  white-space: pre-wrap;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.65rem;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.coin-panel-head {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.85rem;
  padding: 0.75rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
}
.coin-panel-head img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
}
.coin-panel-head a {
  color: var(--green);
  font-size: 0.75rem;
  text-decoration: none;
}

@media (max-width: 720px) {
  .bento {
    grid-template-columns: 1fr;
  }
  .dock-item {
    min-width: 56px;
    padding: 0.4rem 0.55rem;
  }
}
