:root {
  --hot: #ff2ea6;
  --hot-deep: #e0128a;
  --bubble: #ff6ad5;
  --lilac: #c084fc;
  --grape: #7c3aed;
  --sky: #38d9ff;
  --lime: #c4ff4d;
  --sun: #ffe14a;
  --orange: #ff8a3d;
  --ink: #4a1458;
  --paper: #fff7fb;
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: Fredoka, "Comic Sans MS", "Chalkboard SE", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 12%, #ffd6f2 0 46px, transparent 47px),
    radial-gradient(circle at 90% 6%, #d8f7ff 0 40px, transparent 41px),
    radial-gradient(circle at 80% 88%, #e4ffb3 0 52px, transparent 53px),
    repeating-linear-gradient(90deg, #ffe6f7 0 28px, #fff5fb 28px 56px);
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='28' height='28'><text y='20' font-size='20'>✿</text></svg>") 4 4, auto;
}

a {
  color: var(--hot-deep);
}

img {
  max-width: 100%;
}

.sparkle-field {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.sparkle {
  position: absolute;
  animation: twinkle 2.4s ease-in-out infinite;
  font-size: 14px;
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.15;
    transform: scale(0.7) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.2) rotate(20deg);
  }
}

.flower-trail {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  font-size: 16px;
  animation: fadeTrail 0.8s linear forwards;
}

@keyframes fadeTrail {
  to {
    opacity: 0;
    transform: translateY(-18px) scale(0.4);
  }
}

.wrap {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100% - 24px));
  margin: 0 auto;
  padding-bottom: 48px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 10px 4px 0;
  font-size: 13px;
  font-weight: 700;
}

.logo-lockup {
  margin-top: 8px;
  border: 4px solid #fff;
  border-radius: 28px;
  background: linear-gradient(120deg, #ff4ec8, #ff8ad8 35%, #7ae8ff 70%, #d0ff6a);
  box-shadow: 0 8px 0 #ff1493, 0 18px 28px rgba(255, 20, 147, 0.25);
  overflow: hidden;
  position: relative;
  text-align: center;
  padding: 28px 16px 8px;
}

.banner-flowers {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.logo,
.tagline,
nav.mall {
  position: relative;
  z-index: 1;
}

.logo {
  margin: 0;
  font-family: "Cherry Bomb One", "Comic Sans MS", sans-serif;
  font-size: clamp(42px, 8vw, 86px);
  letter-spacing: 0.02em;
  line-height: 0.95;
  color: #ff3db4;
  -webkit-text-stroke: 3px #fff;
  paint-order: stroke fill;
  text-shadow: 3px 4px 0 #c4007a, 0 0 18px rgba(255, 255, 255, 0.8);
}

.logo .flower {
  display: inline-block;
  -webkit-text-stroke: 0;
  text-shadow: none;
  animation: spinSlow 8s linear infinite;
}

@keyframes spinSlow {
  to {
    transform: rotate(360deg);
  }
}

.tagline {
  position: relative;
  margin: 4px 0 0;
  font-family: Pacifico, cursive;
  font-size: clamp(16px, 3vw, 26px);
  color: #fff;
  text-shadow: 1px 2px 0 #d10086;
}

nav.mall {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 14px 10px 18px;
}

nav.mall a {
  text-decoration: none;
  background: #fff;
  color: var(--hot-deep);
  font-weight: 700;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 3px solid #ff8ad4;
  box-shadow: 2px 3px 0 #ff1493;
  transition: transform 0.12s ease;
}

nav.mall a:hover,
nav.mall a.active {
  background: var(--lime);
  transform: translateY(-2px) rotate(-2deg);
}

.marquee {
  margin: 14px 0;
  border: 3px dashed #ff5ec4;
  background: #fff;
  border-radius: 999px;
  overflow: hidden;
  white-space: nowrap;
}

.marquee span,
.marquee p {
  display: inline-block;
  padding: 8px 0;
  margin: 0;
  font-weight: 700;
  animation: scroll 22s linear infinite;
}

@keyframes scroll {
  from {
    transform: translateX(12%);
  }
  to {
    transform: translateX(-100%);
  }
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: center;
  background: rgba(255, 255, 255, 0.86);
  border: 4px solid #fff;
  border-radius: 24px;
  box-shadow: 0 10px 0 rgba(255, 46, 166, 0.18);
  padding: 18px;
  margin: 16px 0;
}

.hero h2 {
  font-family: "Cherry Bomb One", sans-serif;
  color: var(--hot-deep);
  margin: 0 0 10px;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.05;
  font-weight: 400;
}

.hero p,
.card p {
  line-height: 1.45;
}

@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
  }
}

.polaroid {
  background: #fff;
  padding: 12px 12px 42px;
  border-radius: 8px;
  transform: rotate(-2.5deg);
  box-shadow: 8px 12px 0 rgba(255, 20, 147, 0.18);
  position: relative;
}

.polaroid img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 18%;
}

.polaroid figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  text-align: center;
  font-family: Pacifico, cursive;
  font-size: 18px;
  color: var(--hot);
}

.sticker {
  position: absolute;
  z-index: 2;
  top: -10px;
  left: -8px;
  background: var(--sun);
  color: var(--ink);
  font-weight: 700;
  font-size: 12px;
  line-height: 1.15;
  padding: 6px 10px;
  border-radius: 999px;
  border: 2px solid #fff;
  box-shadow: 2px 3px 0 #ff8a00;
  transform: rotate(-12deg);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.pill {
  background: var(--sky);
  color: #083344;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.cta,
button,
.sniff {
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
  background: linear-gradient(#ff7ad8, var(--hot));
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 10px 16px;
  margin: 4px 6px 4px 0;
  border-radius: 999px;
  border: 3px solid #fff;
  box-shadow: 0 4px 0 #c4007a;
}

.cta.alt,
button.secondary {
  background: linear-gradient(#7af0ff, #3dc4ff);
  box-shadow: 0 4px 0 #0077aa;
}

.catalog-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin: 16px 0;
  padding: 12px 16px;
  border-radius: 18px;
  background: repeating-linear-gradient(45deg, #7cf56a, #7cf56a 12px, #ffe14a 12px, #ffe14a 24px);
  font-weight: 700;
  box-shadow: 0 6px 0 #ff1493;
}

.grid-3,
.grid-2,
.pup-grid {
  display: grid;
  gap: 14px;
}

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

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

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

.card,
.pup-card,
.yammer-post {
  background: linear-gradient(180deg, #fff, #ffe9f8);
  border: 3px solid #ff9adf;
  border-radius: 18px;
  padding: 14px;
}

.card h3,
.pup-card h3,
.yammer-post h3 {
  margin: 0 0 6px;
  font-family: "Cherry Bomb One", sans-serif;
  color: var(--grape);
  font-weight: 400;
  font-size: 22px;
}

.meta {
  font-size: 13px;
  font-weight: 700;
  color: var(--grape);
}

.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--sky);
  color: #083344;
  padding: 3px 8px;
  border-radius: 999px;
}

.badge.quit {
  background: var(--lime);
}

.badge.compete {
  background: #ffb347;
}

.badge.yammer {
  background: var(--sun);
}

.avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 32px;
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px #ff7ad8;
  margin-bottom: 8px;
}

.pretty {
  display: grid;
  gap: 8px;
}

label {
  font-weight: 700;
  font-size: 14px;
}

input,
textarea,
select {
  font: inherit;
  width: 100%;
  border: 3px solid #ff9adf;
  border-radius: 12px;
  padding: 8px 10px;
  background: #fff;
  color: var(--ink);
}

.scoreboard {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  overflow: hidden;
}

.scoreboard th,
.scoreboard td {
  padding: 10px 8px;
  text-align: left;
  border-bottom: 2px dotted #ffb3e4;
}

.scoreboard th {
  color: var(--hot-deep);
  font-family: "Cherry Bomb One", sans-serif;
  font-size: 18px;
  font-weight: 400;
}

.streak {
  font-family: "Cherry Bomb One", sans-serif;
  font-size: 72px;
  color: var(--hot);
  line-height: 1;
  text-shadow: 3px 3px 0 #fff;
  text-align: center;
  margin: 8px 0 0;
}

.game {
  position: relative;
  height: 240px;
  overflow: hidden;
  border-radius: 16px;
  background:
    radial-gradient(circle at 20% 30%, #ffd6f2 0 24px, transparent 25px),
    linear-gradient(180deg, #fff7c2, #ffd1ec);
  border: 4px dashed #ff5ec4;
}

.game .item {
  position: absolute;
  transform: translate(-50%, -50%);
  font-size: 28px;
  background: #fff;
  border: 3px solid #fff;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  padding: 0;
  margin: 0;
  box-shadow: 2px 3px 0 #c4007a;
}

#yammer-feed {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.mall-end {
  text-align: center;
  margin-top: 28px;
  font-size: 13px;
  font-weight: 700;
}

.hit-counter {
  display: inline-block;
  background: #111;
  color: #7cff6b;
  font-family: "Courier New", monospace;
  letter-spacing: 0.2em;
  padding: 4px 8px;
  border-radius: 4px;
}

.too-bucks,
.poo-bucks {
  display: flex;
  gap: 12px;
  align-items: center;
  background: linear-gradient(#7ae8ff, #3dc4ff);
  border: 4px solid #fff;
  border-radius: 16px;
  padding: 12px;
  color: #083344;
  box-shadow: 4px 6px 0 #0077aa;
}

.locker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.locker-note,
#mall-status.error {
  color: var(--hot-deep);
}

button.ghost {
  background: #fff;
  color: var(--hot-deep);
  box-shadow: 0 3px 0 #ff9adf;
}

.too-bucks .bill,
.poo-bucks .bill {
  flex: 0 0 88px;
  height: 56px;
  border-radius: 8px;
  background: repeating-linear-gradient(#7cf56a, #7cf56a 4px, #b8ff3c 4px, #b8ff3c 8px);
  display: grid;
  place-items: center;
  font-family: "Cherry Bomb One", sans-serif;
  font-size: 28px;
  color: #0a5;
  border: 3px dashed #fff;
}
