:root,
html[data-theme="night"] {
  --neon-red: #ef1006;
  --neon-purple: #3d22a6;
  --neon-green: #8cfc79;
  --neon-yellow: #fff609;
  --neon-pink: #fa4dd4;
  --bg: #090615;
  --surface: #18102c;
  --surface2: #241a3e;
  --panel: #18102c;
  --glass: rgba(17, 11, 34, 0.86);
  --line: #ffffff1c;
  --ink: #f8f6ff;
  --ink2: #c0b8d0;
  --ink3: #9489ab;
  --muted: #c0b8d0;
  --brand: #fa4dd4;
  --pink: #fa4dd4;
  --brand-soft: #ff9ce8;
  --brand-wash: #3a163e;
  --cyan: #8cfc79;
  --lime: #8cfc79;
  --amber: #fff609;
  --glow: 0 0 30px #fa4dd42b;
}
html[data-theme="day"] {
  --bg: #f4f0fb;
  --surface: #fff;
  --surface2: #eae3f7;
  --panel: #fff;
  --glass: rgba(255, 255, 255, 0.87);
  --line: #39216524;
  --ink: #1c1034;
  --ink2: #53456d;
  --ink3: #726184;
  --muted: #53456d;
  --brand: #a70080;
  --pink: #a70080;
  --brand-soft: #8c096e;
  --brand-wash: #f9dcf1;
  --cyan: #267224;
  --lime: #267224;
  --amber: #786300;
  --glow: none;
}
body:not(.landing) {
  background-image:
    radial-gradient(ellipse at 92% 0%, #3d22a633, transparent 48%),
    radial-gradient(ellipse at 0% 100%, #fa4dd409, transparent 60%);
  background-attachment: fixed;
}
body .panel,
body .stat,
body .account-card {
  border-color: var(--line);
  box-shadow: 0 12px 35px #0000000a;
}
body .sidebar {
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  backdrop-filter: blur(20px);
}
body .site-header {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(18px);
}
body .navitem.active {
  background: color-mix(in srgb, var(--neon-purple) 24%, var(--surface));
  border-left: 2px solid var(--neon-green);
  color: var(--ink);
}
body .btn.primary,
body button.primary {
  background: var(--neon-pink);
  color: #170b21 !important;
  border-color: transparent;
}
body .btn,
body button.primary,
body .quiet {
  transition:
    transform 0.18s,
    border-color 0.18s,
    box-shadow 0.18s;
}
body .btn:hover:not(:disabled),
body button.primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 5px 24px #fa4dd41f;
  border-color: var(--brand);
}
body .stats .stat:nth-child(1) {
  border-top: 2px solid var(--neon-green);
}
body .stats .stat:nth-child(2) {
  border-top: 2px solid var(--neon-pink);
}
body .stats .stat:nth-child(3) {
  border-top: 2px solid var(--neon-yellow);
}
body .stats .stat:nth-child(4) {
  border-top: 2px solid #7757fb;
}
body .stat strong {
  font-variant-numeric: tabular-nums;
}
.stat strong {
  color: var(--ink);
}
body .impact-guide-launcher {
  background: var(--surface);
  border-color: var(--brand);
  color: var(--ink);
  box-shadow: 0 0 24px #fa4dd426;
}
body .event-chip.recorded {
  color: var(--cyan);
}
body .notice.error,
body .btn.danger {
  color: #ff8b82;
}
html[data-theme="day"] body .notice.error,
html[data-theme="day"] body .btn.danger {
  color: #b51509;
}
.creator-store {
  max-width: 740px;
  text-align: center;
  padding-bottom: 60px;
}
.creator-avatar {
  width: 85px;
  height: 85px;
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
  background: var(--neon-purple);
  color: #fff;
  font-size: 27px;
  font-weight: 700;
  border-radius: 24px;
  box-shadow: 12px -8px 0 #fa4dd436;
}
.creator-store h1 {
  font-size: 45px;
  line-height: 1.15;
}
.creator-store .lede {
  margin: 16px auto;
  color: var(--ink2);
  max-width: 500px;
}
.creator-store .src {
  display: none;
  color: var(--ink2);
  font-size: 12px;
  margin: 20px 0;
}
.creator-store .src.show {
  display: block;
}
.offer-public {
  margin: 30px auto;
  text-align: left;
  padding: 30px;
}
.offer-public h2 {
  font-size: 30px;
  margin-bottom: 16px;
}
.offer-public .offer-price {
  display: block;
  font-size: 36px;
  margin: 22px 0;
}
.offer-public .note {
  margin-bottom: 0;
}
.offer-public .wrap-copy {
  overflow-wrap: anywhere;
}
.creator-store .store-footer {
  margin-top: 30px;
  font-size: 12px;
  color: var(--ink2);
}
@media (max-width: 800px) {
  .page-title {
    flex-wrap: wrap;
  }
  .site-header .crumb {
    font-size: 11px;
  }
  .legend {
    flex-wrap: wrap;
  }
  .row {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
@media (max-width: 800px) {
  .sidebar nav {
    flex-direction: row;
  }
}
