/* Ambient background: sky-blue / white / sunset gradient only (no dither, no motion) */
:root, :root[data-theme=light] {
  --hey-bg: transparent;
  --hey-surface: rgba(255, 255, 255, 0.78);
  --hey-subtle: rgba(255, 255, 255, 0.55);
  --hey-ice-50: rgba(255, 255, 255, 0.6);
  --hey-ice-100: rgba(240, 246, 255, 0.7);
  --hey-border: rgba(10, 13, 18, 0.10);
  --hey-border-strong: rgba(10, 13, 18, 0.22);
}
html { background: #f6f9ff; }
body { background: transparent !important; }

.ambient-field {
  position: fixed; inset: 0; z-index: -1; width: 100%; height: 100%;
  overflow: hidden; pointer-events: none;
  background:
    radial-gradient(60% 45% at 18% 100%, rgba(255, 176, 120, 0.85) 0%, rgba(255, 176, 120, 0) 70%),
    radial-gradient(55% 40% at 85% 92%, rgba(255, 150, 160, 0.75) 0%, rgba(255, 150, 160, 0) 70%),
    radial-gradient(70% 50% at 50% 0%, rgba(190, 222, 255, 0.95) 0%, rgba(190, 222, 255, 0) 75%),
    linear-gradient(180deg, #cfe5ff 0%, #eaf3ff 28%, #ffffff 52%, #ffe8d6 76%, #ffc9b3 100%);
}
.ambient-field::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(at 50% 42%, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.3) 38%, rgba(255,255,255,0) 78%);
}

/* keep sticky header readable over the field */
header, [class*="sticky"] { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

/* theme switcher removed for good */
button[aria-label="Switch to dark theme"],
button[aria-label="Switch to light theme"],
button[aria-label*="theme" i],
button[title*="theme" i],
button:has(> svg.lucide-moon), button:has(> svg.lucide-sun), button:has(> svg.lucide-sun-moon),
.motion-toggle { display: none !important; }
@media (prefers-contrast: more) { .ambient-field { display: none; } }

/* Map / Pulse: replace the dark gridded brand surface with the ambient gradient */
.hey-brand-surface { background: transparent !important; color: var(--hey-ink) !important; }
.hey-brand-surface .hey-grid, .hey-grid { background-image: none !important; }
.hey-brand-surface .bg-midnight-900 { background-color: rgba(255,255,255,0.78) !important; }
.hey-brand-surface .bg-white\/\[0\.08\] { background-color: rgba(255,255,255,0.65) !important; }
.hey-brand-surface .border-white\/\[0\.14\] { border-color: rgba(10,13,18,0.14) !important; }
.hey-brand-surface .hover\:border-white\/30:hover { border-color: rgba(10,13,18,0.3) !important; }
.hey-brand-surface .text-white { color: var(--hey-ink) !important; }
.hey-brand-surface .hover\:text-white:hover { color: var(--hey-ink) !important; }
.hey-brand-surface .text-white\/70 { color: rgba(10,13,18,0.72) !important; }
.hey-brand-surface .text-white\/65 { color: rgba(10,13,18,0.66) !important; }
.hey-brand-surface .text-white\/60 { color: rgba(10,13,18,0.62) !important; }
.hey-brand-surface .text-white\/55 { color: rgba(10,13,18,0.58) !important; }
.hey-brand-surface .text-white\/50 { color: rgba(10,13,18,0.54) !important; }
.hey-brand-surface .text-white\/45 { color: rgba(10,13,18,0.5) !important; }
.hey-brand-surface .text-white\/40 { color: rgba(10,13,18,0.46) !important; }
.hey-brand-surface .text-white\/30 { color: rgba(10,13,18,0.38) !important; }
.hey-brand-surface .placeholder\:text-white\/40::placeholder { color: rgba(10,13,18,0.42) !important; }
.hey-brand-surface .fill-white\/70 { fill: rgba(10,13,18,0.7) !important; }
.hey-brand-surface .text-gold-400 { color: #8a6000 !important; }
.hey-brand-surface .border-gold-500, .hey-brand-surface .bg-gold-500 { border-color: #c8951a; }

/* Ecosystem map SVG panel: warm translucent card instead of midnight */
main svg > rect[fill="var(--color-midnight-950)"] {
  fill: rgba(255, 247, 240, 0.62);
  stroke: rgba(10, 13, 18, 0.12); stroke-width: 1;
}
#hey-map-grid path { stroke: rgba(10, 13, 18, 0.06) !important; }
main svg .fill-white\/70 { fill: rgba(10,13,18,0.72) !important; }

/* Footer: same warm treatment as the brand surface */
footer.bg-midnight-900 {
  background: linear-gradient(180deg, rgba(255,255,255,0.35) 0%, rgba(255, 214, 190, 0.45) 100%) !important;
  color: var(--hey-ink) !important;
  border-top: 1px solid rgba(10,13,18,0.10);
}
footer .text-white { color: var(--hey-ink) !important; }
footer .hover\:text-white:hover { color: var(--hey-ink) !important; }
footer .text-white\/65 { color: rgba(10,13,18,0.66) !important; }
footer .text-white\/55 { color: rgba(10,13,18,0.58) !important; }
footer .text-white\/40 { color: rgba(10,13,18,0.46) !important; }
footer .bg-gold-500 { background-color: #c8951a !important; }

/* $DAWN nav tab → non-clickable "coming soon" badge */
a[href="/hey"] { display: none !important; }
.dawn-soon {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px; border-radius: 999px;
  border: 1px solid rgba(10,13,18,0.14); background: rgba(255,255,255,0.55);
  font: 500 14px/1 var(--font-sans, Inter, system-ui, sans-serif); color: var(--hey-secondary, #4a5260);
  cursor: default; user-select: none; white-space: nowrap;
}
.dawn-soon em {
  font-style: normal; font-size: 10px; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 6px; border-radius: 999px; background: #fff3dc; color: #8a6000; border: 1px solid rgba(138,96,0,0.25);
}
.dawn-soon.is-block { display: flex; justify-content: space-between; border-radius: 10px; padding: 10px 12px; }

/* account cluster in the header */
.dawn-acct { display: inline-flex; align-items: center; gap: 4px; }
.dawn-acct form { display: contents; }
.dawn-acct-link { display: inline-flex; align-items: center; height: 40px; padding: 0 8px; border-radius: 6px; font-size: 14px; color: var(--hey-secondary); background: none; border: 0; cursor: pointer; }
.dawn-acct-link:hover { background: var(--hey-subtle); color: var(--hey-ink); }
.dawn-acct-pill { display: inline-flex; align-items: center; height: 32px; padding: 0 10px; border-radius: 999px; border: 1px solid rgba(10,13,18,0.14); background: rgba(255,255,255,0.6); font: 500 12px/1 var(--font-mono, ui-monospace, monospace); color: var(--hey-ink); }
@media (max-width: 1100px) { .dawn-acct-link:not(.dawn-acct-signin) { display: none; } }

/* badge with a live contract address */
.dawn-ca { cursor: default; }
.dawn-ca code { font: 500 12px/1 var(--font-mono, ui-monospace, monospace); color: var(--hey-ink); }
.dawn-ca button { border: 0; background: none; cursor: pointer; font-size: 14px; line-height: 1; padding: 0 2px; color: var(--hey-secondary); }
.dawn-ca button:hover { color: var(--hey-ink); }
