/* Direction: Confetti Desk — bright playful office party, bubbly display type,
   hot-pink accent with sun / sky / lime / grape confetti tokens */
/* Completed by the platform from the short form: both modes, every
   palette token, each text-on-ground pair at its floor. To restyle, write the
   short form again (the decisions in one :root) and it is completed again. */

:root {
  --canvas: #fffdf5;
  --surface: #ffffff;
  --surface-2: #fff0f6;
  --border: #f0dced;
  --border-strong: #bdb3b1;
  --ink: #26163f;
  --muted: #655280;
  --accent: #ff2e82;
  --accent-hover: #d9276f;
  --accent-ink: #240612;
  --accent-text: #cf0f61;
  --accent-strong: #a60d4e;
  --accent-soft: #ffe1ee;
  --accent-border: #ffa0c1;
  --success: #1b9b58;
  --success-ink: #26163f;
  --success-soft: #e4f1e2;
  --success-strong: #157945;
  --warning: #d98200;
  --warning-ink: #26163f;
  --warning-soft: #faeed8;
  --warning-strong: #9b5d00;
  --danger: #e03131;
  --danger-ink: #ffffff;
  --danger-soft: #fbe5dd;
  --danger-strong: #be2929;
  --chart-1: #ff2e82;
  --chart-2: #cf7b0c;
  --chart-3: #6a8716;
  --chart-4: #24a193;
  --chart-5: #0f7ec0;
  --chart-6: #b470fd;

  --font-display: "Baloo 2", "Trebuchet MS", sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
  --display-weight: 800;
  --display-tracking: -0.01em;
  --radius-card: 26px;
  --radius-btn: 999px;
  --radius-input: 16px;
  --card-pad: 1.5rem;
  --x-sun: #ffcc33;
  --x-sky: #3fbdf1;
  --x-lime: #9ad423;
  --x-grape: #7a46e8;
  --x-band: #2a0f49;
  --x-on-photo: #ffffff;
  --x-on-band: #ffe6f3;
  --gradient-party: linear-gradient(120deg, #ff2e82 0%, #ff8a3d 45%, #ffcc33 100%);
  --font-mono: "JetBrains Mono Variable", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-sans: "Nunito", system-ui, sans-serif;
  --eyebrow-tracking: 0.08em;
}

html[data-theme="dark"] {
  --canvas: #100308;
  --surface: #281c21;
  --surface-2: #1c1014;
  --border: #31262b;
  --border-strong: #584f52;
  --ink: #fffdf5;
  --muted: #9f9996;
  --accent: #ff2e82;
  --accent-hover: #ff4d95;
  --accent-ink: #240612;
  --accent-text: #ff2e82;
  --accent-strong: #ff3f8c;
  --accent-soft: #450c23;
  --accent-border: #7c163f;
  --success: #1b9b58;
  --success-ink: #ffffff;
  --success-soft: #12241a;
  --success-strong: #1b9b58;
  --warning: #d98200;
  --warning-ink: #ffffff;
  --warning-soft: #3c1f06;
  --warning-strong: #d98200;
  --danger: #e03131;
  --danger-ink: #ffffff;
  --danger-soft: #3e0d11;
  --danger-strong: #e65e5e;
  --chart-1: #ff2e82;
  --chart-2: #f39524;
  --chart-3: #6f8e04;
  --chart-4: #20c1b0;
  --chart-5: #0087d0;
  --chart-6: #c18ffc;
}

/* Confetti Desk — the app's own textures and small joys */

.confetti-dots {
  background-image:
    radial-gradient(var(--x-sun) 3px, transparent 3px),
    radial-gradient(var(--x-sky) 3px, transparent 3px),
    radial-gradient(var(--accent) 2px, transparent 2px);
  background-position: 0 0, 28px 36px, 14px 18px;
  background-size: 56px 72px, 56px 72px, 56px 72px;
  background-repeat: repeat;
}

.party-text {
  background: var(--gradient-party);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sticker {
  box-shadow: 6px 6px 0 var(--ink);
}

.tilt-l { transform: rotate(-1.4deg); }
.tilt-r { transform: rotate(1.2deg); }

.wobble:hover { animation: wobble 0.6s ease-in-out; }
@keyframes wobble {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-3deg) scale(1.03); }
  75% { transform: rotate(3deg) scale(1.03); }
}
html.reduced-motion .wobble:hover { animation: none; }

.count-box { font-variant-numeric: tabular-nums; }

.marquee-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 26s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
html.reduced-motion .marquee-track { animation: none; }
