:root {
  --sand: #efe2c6;
  --warm-sand: #d8c39d;
  --soft-gold: #caa86a;
  --sage: #aeb89a;
  --olive: #7f8a67;
  --clay: #b98f6d;
  --taupe: #8a7660;
  --ink: #3b3128;
  --cream: #fff8ec;
  --white: #ffffff;
  --princess-pink: #ff4f9f;
  --shadow: 0 24px 80px rgba(73, 55, 37, 0.22);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at 14% 18%, rgba(202, 168, 106, 0.66), transparent 22rem),
    radial-gradient(circle at 82% 16%, rgba(174, 184, 154, 0.62), transparent 20rem),
    radial-gradient(circle at 20% 86%, rgba(185, 143, 109, 0.42), transparent 24rem),
    linear-gradient(135deg, #fff8ec 0%, #efe2c6 38%, #e5dccb 72%, #f8f1e4 100%);
}

button {
  font: inherit;
}

input {
  font: inherit;
}

.analytics-link {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
  display: none;
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
  background: rgba(255, 248, 236, 0.82);
  box-shadow: 0 10px 24px rgba(73, 55, 37, 0.16);
  backdrop-filter: blur(12px);
}

.analytics-link.show {
  display: block;
}

#confettiCanvas {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
}

.app {
  min-height: 100vh;
  position: relative;
}

.screen {
  display: none;
  min-height: 100vh;
  position: relative;
  padding: clamp(4.4rem, 8vh, 5.8rem) clamp(1rem, 3vw, 2rem) clamp(1.2rem, 4vh, 2.4rem);
}

.screen.active {
  display: grid;
}

#introScreen,
.game-screen,
.balloon-screen {
  place-items: center;
}

.question-shell,
.game-header,
.balloon-copy {
  width: min(92vw, 820px);
  text-align: center;
  position: relative;
  z-index: 2;
}

.question-shell {
  display: grid;
  gap: clamp(0.8rem, 2vh, 1.25rem);
  padding: clamp(1.25rem, 4vw, 2.4rem);
  border: 3px solid rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.question-shell.question-pop {
  animation: questionPop 360ms cubic-bezier(0.2, 0.9, 0.24, 1);
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: #755f43;
  font-size: clamp(0.8rem, 2vw, 0.95rem);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 7vw, 4.65rem);
  line-height: 0.95;
  color: var(--cream);
  text-shadow: 0 3px 0 rgba(138, 118, 96, 0.78), 0 8px 0 rgba(174, 184, 154, 0.34), 0 16px 30px rgba(59, 49, 40, 0.22);
}

h2 {
  margin-bottom: 0.6rem;
  font-size: clamp(2rem, 7vw, 4.9rem);
  line-height: 0.95;
  color: #5a4634;
}

h3 {
  font-size: clamp(1.4rem, 4vw, 2.3rem);
  line-height: 1.1;
}

.question-copy,
.game-header p,
.balloon-copy p,
.reveal-message p {
  font-size: clamp(1rem, 2.3vw, 1.3rem);
  line-height: 1.5;
}

.question-copy {
  min-height: clamp(5.6rem, 15vh, 8rem);
  display: grid;
  place-items: center;
  margin: 0;
  padding: clamp(0.35rem, 1.4vw, 0.7rem) 0;
  color: #4c3d2f;
  font-size: clamp(1.55rem, 4.7vw, 3.25rem);
  font-weight: 900;
  line-height: 1.06;
  text-shadow: 0 3px 0 rgba(255, 255, 255, 0.78), 0 12px 28px rgba(73, 55, 37, 0.16);
}

.answer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(0.75rem, 2vw, 1rem);
  margin-top: 0.15rem;
}

.answer-button,
.primary-button,
.memory-card,
.balloon {
  border: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.answer-button,
.primary-button {
  min-height: clamp(3.75rem, 8vh, 4.5rem);
  padding: 0.9rem 1.1rem;
  border-radius: 8px;
  color: var(--ink);
  font-size: clamp(1rem, 2.4vw, 1.18rem);
  font-weight: 900;
  background: var(--sand);
  box-shadow: 0 8px 0 #c6ad82, 0 18px 34px rgba(73, 55, 37, 0.18);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.answer-button:nth-child(2n) {
  background: var(--sage);
  box-shadow: 0 8px 0 #7f8a67, 0 18px 34px rgba(73, 55, 37, 0.18);
}

.answer-button:nth-child(3n) {
  background: var(--warm-sand);
  box-shadow: 0 8px 0 #ab916a, 0 18px 34px rgba(73, 55, 37, 0.18);
}

.answer-button:nth-child(4n) {
  background: var(--clay);
  box-shadow: 0 8px 0 #947053, 0 18px 34px rgba(73, 55, 37, 0.18);
}

.answer-button:hover,
.primary-button:hover,
.memory-card:hover,
.balloon:hover {
  transform: translateY(-3px);
  filter: saturate(1.08);
}

.answer-button:active,
.primary-button:active,
.memory-card:active,
.balloon:active {
  transform: translateY(3px);
}

.progress-wrap {
  position: fixed;
  top: clamp(0.75rem, 2.4vh, 1rem);
  left: 50%;
  z-index: 12;
  width: min(90vw, 680px);
  transform: translateX(-50%);
}

.progress-label {
  display: block;
  margin-bottom: 0.35rem;
  color: #5c4937;
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.progress-track {
  height: 12px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  box-shadow: 0 8px 20px rgba(73, 55, 37, 0.15);
}

.progress-bar {
  display: block;
  width: 9%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--soft-gold), var(--sage), var(--warm-sand), var(--clay));
  transition: width 320ms ease;
}

.progress-bar.wide {
  width: 62%;
}

.progress-bar.almost {
  width: 82%;
}

.floating-shapes .shape {
  position: fixed;
  display: block;
  width: clamp(5rem, 14vw, 10rem);
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0.78;
  filter: blur(0.2px);
  animation: float 7s ease-in-out infinite;
}

.shape-one {
  top: 13%;
  left: 7%;
  background: repeating-linear-gradient(45deg, var(--sand), var(--sand) 10px, var(--soft-gold) 10px, var(--soft-gold) 20px);
}

.shape-two {
  right: 8%;
  bottom: 12%;
  background: repeating-linear-gradient(-45deg, var(--sage), var(--sage) 12px, var(--warm-sand) 12px, var(--warm-sand) 24px);
  animation-delay: -2s;
}

.shape-three {
  right: 15%;
  top: 20%;
  background: var(--clay);
  clip-path: polygon(50% 0%, 63% 34%, 98% 35%, 70% 57%, 79% 91%, 50% 72%, 21% 91%, 30% 57%, 2% 35%, 37% 34%);
  border-radius: 0;
  animation-delay: -4s;
}

.shape-four {
  left: 13%;
  bottom: 15%;
  background: var(--taupe);
  clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
  border-radius: 0;
  animation-delay: -1s;
}

@keyframes float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(0, -22px, 0) rotate(7deg);
  }
}

.game-screen {
  background:
    radial-gradient(circle at 18% 18%, rgba(202, 168, 106, 0.58), transparent 18rem),
    radial-gradient(circle at 82% 24%, rgba(174, 184, 154, 0.58), transparent 17rem),
    radial-gradient(circle at 72% 84%, rgba(185, 143, 109, 0.42), transparent 18rem),
    linear-gradient(135deg, #fff8ec 0%, #efe2c6 44%, #e5dccb 100%);
}

.memory-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(64px, 120px));
  gap: clamp(0.55rem, 2vw, 1rem);
  justify-content: center;
  width: min(96vw, 620px);
  margin: clamp(1rem, 3vh, 1.6rem) auto 0;
}

.memory-card {
  position: relative;
  aspect-ratio: 1;
  padding: 0;
  border-radius: 8px;
  background: transparent;
  perspective: 900px;
}

.memory-inner {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.memory-card.flipped .memory-inner,
.memory-card.matched .memory-inner {
  transform: rotateY(180deg);
}

.memory-face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 3px solid rgba(255, 255, 255, 0.86);
  border-radius: 8px;
  backface-visibility: hidden;
  box-shadow: 0 12px 24px rgba(73, 55, 37, 0.18);
}

.memory-front {
  color: #6b553d;
  font-size: clamp(2rem, 7vw, 3.5rem);
  font-weight: 900;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.42), transparent),
    repeating-linear-gradient(45deg, #f5ead4, #f5ead4 12px, #d8c39d 12px, #d8c39d 24px);
}

.memory-back {
  transform: rotateY(180deg);
  color: var(--ink);
  font-weight: 900;
  background: var(--white);
}

.memory-symbol {
  display: grid;
  place-items: center;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  color: #4d3f31;
  font-size: clamp(0.78rem, 2vw, 1rem);
  line-height: 1;
  text-align: center;
  background: var(--tile-color, var(--sand));
  box-shadow: inset 0 -8px 0 rgba(0, 0, 0, 0.08);
}

.level-unlocked {
  display: none;
  width: min(90vw, 620px);
  margin-top: clamp(1rem, 3vh, 1.4rem);
  padding: clamp(0.9rem, 2.5vw, 1.25rem);
  text-align: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.level-unlocked.show {
  display: block;
}

.balloon-screen {
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.72), transparent 18rem),
    linear-gradient(160deg, #fff8ec 0%, #efe2c6 38%, #d7ccb8 72%, #e7eadb 100%);
}

.balloon-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.96), rgba(245, 234, 212, 0.84) 34%, rgba(216, 195, 157, 0.2) 68%),
    linear-gradient(145deg, rgba(255, 248, 236, 0.92), rgba(231, 234, 219, 0.82));
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 650ms ease, transform 650ms ease;
}

.balloon-screen.revealing::after {
  opacity: 1;
  transform: scale(1);
}

.balloon-copy {
  align-self: start;
  margin-top: clamp(2.1rem, 7vh, 4.2rem);
  pointer-events: none;
  transition: opacity 500ms ease, transform 500ms ease;
}

.balloon-screen.revealing .balloon-copy {
  opacity: 0;
  transform: translateY(-18px);
}

.balloon-field {
  position: absolute;
  top: clamp(13.5rem, 31vh, 19rem);
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  transition: opacity 520ms ease, transform 520ms ease;
}

.balloon-screen.revealing .balloon-field {
  opacity: 0;
  transform: scale(1.08);
}

.balloon {
  position: absolute;
  width: clamp(58px, 10vw, 108px);
  aspect-ratio: 0.78;
  border-radius: 52% 52% 48% 48%;
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.75), transparent 16%),
    var(--balloon-color);
  box-shadow: inset -12px -18px 0 rgba(75, 61, 45, 0.12), 0 12px 22px rgba(73, 55, 37, 0.16);
  animation: bob var(--speed, 5s) ease-in-out infinite;
  z-index: 1;
}

.balloon::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 18px;
  height: 16px;
  transform: translateX(-50%);
  background: inherit;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.balloon::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -76px;
  width: 2px;
  height: 70px;
  transform: translateX(-50%);
  background: rgba(85, 68, 49, 0.45);
}

.balloon.popped {
  transform: scale(1.2);
  opacity: 0;
  animation: none;
  pointer-events: none;
  transition: transform 200ms ease, opacity 200ms ease;
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-24px);
  }
}

.reveal-screen {
  place-items: center;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  background: #f8f1e4;
}

.reveal-graphic {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 32%, rgba(255, 255, 255, 0.9), transparent 18rem),
    radial-gradient(circle at 18% 22%, rgba(202, 168, 106, 0.62), transparent 17rem),
    radial-gradient(circle at 84% 18%, rgba(174, 184, 154, 0.58), transparent 16rem),
    radial-gradient(circle at 12% 82%, rgba(185, 143, 109, 0.38), transparent 18rem),
    radial-gradient(circle at 86% 78%, rgba(138, 118, 96, 0.34), transparent 16rem),
    linear-gradient(145deg, #fff8ec 0%, #efe2c6 34%, #e7eadb 68%, #f4ecde 100%);
  transform: scale(1.12);
  opacity: 0;
}

.reveal-screen.writing .reveal-graphic {
  animation: revealBackdrop 1050ms ease forwards;
}

.reveal-writing {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  width: min(92vw, 980px);
  padding: clamp(1.1rem, 3vh, 2rem) 1rem clamp(1.6rem, 5vh, 3rem);
  text-align: center;
  transform: translateY(18px) scale(0.98);
  opacity: 0;
  transition: transform 760ms cubic-bezier(0.2, 0.9, 0.24, 1), opacity 760ms ease;
}

.reveal-screen.writing .reveal-writing {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.reveal-screen.message-in .reveal-writing {
  transform: translateY(0) scale(0.96);
}

.script-line {
  display: block;
  max-width: 100%;
  margin: 0 auto;
  overflow: visible;
  color: var(--warm-sand);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  white-space: nowrap;
  text-shadow: 0 8px 0 rgba(255, 255, 255, 0.82), 0 24px 44px rgba(73, 55, 37, 0.22);
}

.letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(-1.1em) scale(0.82) rotate(-7deg);
  transform-origin: 50% 75%;
  filter: blur(5px);
}

.script-small {
  font-size: clamp(2.1rem, 7vw, 5.4rem);
  line-height: 1.05;
}

.princess-stack {
  display: grid;
  justify-items: center;
  margin: 0;
}

.princess-little {
  color: var(--warm-sand);
  font-size: clamp(2.8rem, 8.5vw, 6.4rem);
  line-height: 0.9;
}

.princess-line {
  color: var(--princess-pink);
  font-size: clamp(4rem, 13.5vw, 10.5rem);
  line-height: 0.86;
}

.reveal-screen.writing .letter {
  animation: letterDrop 680ms cubic-bezier(0.18, 0.92, 0.2, 1.22) forwards;
  animation-delay: calc(var(--line-delay, 0ms) + (var(--letter-index) * 78ms));
}

.reveal-screen.writing .princess-line .letter {
  animation-name: princessPop;
  animation-duration: 760ms;
  animation-delay: calc(var(--line-delay, 0ms) + (var(--letter-index) * 88ms));
}

.reveal-screen.writing .script-line {
  animation: inkGlow 2200ms ease var(--line-delay, 0ms) infinite alternate;
}

.reveal-message {
  width: min(92vw, 760px);
  margin-top: clamp(0.7rem, 2vh, 1.4rem);
  padding: 0 clamp(0.4rem, 2vw, 1rem) 1rem;
  transform: translateY(22px);
  opacity: 0;
}

.reveal-screen.message-in .reveal-message {
  animation: messageFlow 900ms cubic-bezier(0.2, 0.9, 0.24, 1) forwards;
}

.reveal-message h2 {
  color: #5a4634;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 4rem);
}

.signature {
  color: #755f43;
  font-weight: 900;
}

@keyframes revealBackdrop {
  0% {
    opacity: 0;
    transform: scale(1.08);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes questionPop {
  0% {
    opacity: 0.72;
    transform: translateY(12px) scale(0.97);
  }
  70% {
    transform: translateY(-3px) scale(1.01);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes letterDrop {
  0% {
    opacity: 0;
    transform: translateY(-1.1em) scale(0.82) rotate(-7deg);
    filter: blur(5px);
  }
  72% {
    opacity: 1;
    transform: translateY(0.08em) scale(1.08) rotate(2deg);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0);
    filter: blur(0);
  }
}

@keyframes princessPop {
  0% {
    opacity: 0;
    transform: translateY(0.65em) scale(0.55) rotate(8deg);
    filter: blur(6px);
  }
  64% {
    opacity: 1;
    transform: translateY(-0.05em) scale(1.13) rotate(-2deg);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0);
    filter: blur(0);
  }
}

@keyframes inkGlow {
  to {
    text-shadow: 0 8px 0 rgba(255, 255, 255, 0.92), 0 20px 52px rgba(73, 55, 37, 0.26);
  }
}

@keyframes messageFlow {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.analytics-page {
  min-height: 100vh;
}

.analytics-shell {
  width: min(94vw, 1120px);
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(1.2rem, 4vw, 3rem);
  display: grid;
  place-items: center;
}

.analytics-card,
.analytics-dashboard {
  width: 100%;
  border: 3px solid rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.analytics-card {
  max-width: 560px;
  padding: clamp(1.2rem, 4vw, 2rem);
  text-align: center;
}

.analytics-dashboard {
  padding: clamp(1rem, 3vw, 2rem);
}

.analytics-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.analytics-header h1,
.analytics-card h1 {
  color: var(--ink);
  font-size: clamp(2.1rem, 6vw, 4rem);
  text-shadow: none;
}

.pin-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.7rem;
  margin-top: 1rem;
}

.pin-form input {
  min-width: 0;
  border: 2px solid rgba(138, 118, 96, 0.32);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  color: var(--ink);
  background: rgba(255, 248, 236, 0.82);
}

.analytics-status {
  min-height: 1.5rem;
  color: #5c4937;
  font-weight: 900;
}

.stats-grid,
.summary-grid {
  display: grid;
  gap: 1rem;
}

.stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  margin: 1rem 0;
}

.summary-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.stat-box,
.summary-card {
  border-radius: 8px;
  padding: 1rem;
  background: rgba(255, 248, 236, 0.78);
  box-shadow: 0 14px 34px rgba(73, 55, 37, 0.12);
}

.stat-box span,
.summary-row span {
  color: #5c4937;
  font-weight: 900;
}

.stat-box strong {
  display: block;
  margin-top: 0.3rem;
  color: var(--ink);
  font-size: clamp(1.5rem, 5vw, 2.6rem);
}

.summary-card h2 {
  margin-bottom: 0.9rem;
  font-size: 1.3rem;
  line-height: 1.1;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-top: 1px solid rgba(138, 118, 96, 0.24);
}

.summary-row strong {
  color: var(--ink);
}

@media (max-width: 760px) {
  .screen {
    padding: 4.2rem 1rem 1rem;
  }

  .reveal-screen {
    place-items: start center;
    min-height: 100svh;
    padding: 0.75rem 0.75rem 1.4rem;
  }

  .question-shell {
    margin-top: 0;
    padding: 1rem;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 3.15rem);
  }

  .question-copy {
    min-height: clamp(7.3rem, 20vh, 9.2rem);
    font-size: clamp(1.45rem, 7vw, 2.25rem);
  }

  .answer-grid {
    grid-template-columns: 1fr;
  }

  .memory-grid {
    grid-template-columns: repeat(3, minmax(72px, 1fr));
  }

  .reveal-writing {
    align-self: start;
    width: min(94vw, 560px);
    margin-top: 0;
    padding: clamp(0.7rem, 2vh, 1rem) 0.4rem 2rem;
    transform: translateY(10px) scale(0.98);
  }

  .reveal-screen.message-in .reveal-writing {
    transform: translateY(0) scale(1);
  }

  .script-small {
    font-size: clamp(1.9rem, 10vw, 3.2rem);
  }

  .princess-line {
    font-size: clamp(3.35rem, 17vw, 5rem);
    line-height: 0.9;
  }

  .princess-little {
    font-size: clamp(2.25rem, 11vw, 3.55rem);
    line-height: 0.95;
  }

  .reveal-message {
    width: min(91vw, 520px);
    margin-top: 0.85rem;
    padding: 0 0.1rem 1.2rem;
  }

  .reveal-message p {
    font-size: clamp(0.98rem, 4.4vw, 1.14rem);
    line-height: 1.45;
  }

  .reveal-message .eyebrow {
    margin-bottom: 0.35rem;
  }

  .analytics-header,
  .pin-form {
    grid-template-columns: 1fr;
  }

  .analytics-header {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
