:root {
  --fave-cream: #fff8fc;
  --fave-pink: #ffd9ed;
  --fave-hot: #e76aa6;
  --fave-lilac: #c7a7ff;
  --fave-mint: #c9f5dc;
  --fave-green: #75b889;
  --fave-plum: #65304f;
  --fave-ink: #4f2b41;
  --fave-muted: #8e6379;
  --fave-card: rgba(255, 255, 255, 0.82);
  --fave-border: rgba(226, 122, 172, 0.42);
  --fave-shadow: rgba(110, 54, 92, 0.16);
}

body {
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 184, 220, 0.55), transparent 30rem),
    radial-gradient(circle at 92% 5%, rgba(199, 167, 255, 0.38), transparent 28rem),
    radial-gradient(circle at 50% 95%, rgba(201, 245, 220, 0.42), transparent 32rem),
    linear-gradient(180deg, #fff5fa, #fffdf8 46%, #f8fff9);
}

/* Hero */

.fave-shiny-hero {
  position: relative;
  overflow: hidden;
  margin: 1.5rem 0 1.25rem;
  padding: clamp(1.6rem, 4vw, 3rem);
  border: 2px solid var(--fave-border);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 228, 242, 0.76)),
    radial-gradient(circle at 90% 18%, rgba(199, 167, 255, 0.35), transparent 18rem),
    radial-gradient(circle at 8% 100%, rgba(201, 245, 220, 0.4), transparent 18rem);
  color: var(--fave-ink);
  box-shadow: 0 22px 52px var(--fave-shadow);
}

.fave-shiny-hero::before {
  content: "♡";
  position: absolute;
  right: clamp(1rem, 4vw, 3rem);
  bottom: -0.48em;
  color: rgba(231, 106, 166, 0.13);
  font-size: clamp(7rem, 18vw, 13rem);
  line-height: 1;
  transform: rotate(-10deg);
  pointer-events: none;
}

.fave-shiny-hero::after {
  content: "✧";
  position: absolute;
  top: 1rem;
  right: 1.4rem;
  color: rgba(117, 184, 137, 0.24);
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 1;
  transform: rotate(14deg);
  pointer-events: none;
}

.fave-shiny-hero h1 {
  position: relative;
  margin: 0.25rem 0 0.55rem;
  color: var(--fave-plum);
  font-size: clamp(2.1rem, 7vw, 5rem);
  text-shadow: 2px 2px 0 rgba(255, 255, 255, 0.9);
}

.fave-shiny-hero p:last-of-type {
  position: relative;
  max-width: 62rem;
  margin: 0;
  color: var(--fave-muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

/* Stats */

.fave-shiny-stats {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

.fave-shiny-stats span {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(226, 122, 172, 0.36);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--fave-muted);
  font-weight: 750;
  backdrop-filter: blur(8px);
}

.fave-shiny-stats strong {
  color: var(--fave-hot);
  font-size: 1.35rem;
}

/* Shortcut nav */

.fave-shiny-shortcuts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 0.8rem;
  margin: 1.3rem 0 1.8rem;
}

.fave-shiny-shortcuts a {
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--fave-border);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 244, 250, 0.68));
  box-shadow: 0 10px 24px rgba(120, 55, 100, 0.08);
  color: inherit;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.fave-shiny-shortcuts a:hover {
  transform: translateY(-3px);
  border-color: rgba(231, 106, 166, 0.72);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 229, 243, 0.76));
  box-shadow: 0 16px 34px rgba(120, 55, 100, 0.14);
}

.fave-shiny-shortcuts span,
.fave-shiny-shortcuts small {
  display: block;
}

.fave-shiny-shortcuts span {
  color: var(--fave-plum);
  font-weight: 850;
}

.fave-shiny-shortcuts small {
  margin-top: 0.15rem;
  color: var(--fave-muted);
}

/* Newest fave feature */

.fave-shiny-feature {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  margin: 0 0 2rem;
  padding: 1.15rem 1.3rem;
  border: 2px solid rgba(199, 167, 255, 0.38);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(247, 235, 255, 0.78)),
    radial-gradient(circle at 100% 0%, rgba(255, 191, 224, 0.42), transparent 13rem),
    radial-gradient(circle at 0% 100%, rgba(201, 245, 220, 0.34), transparent 13rem);
  box-shadow: 0 16px 36px rgba(120, 55, 100, 0.12);
}

.fave-shiny-feature h2 {
  margin: 0.2rem 0;
  color: var(--fave-plum);
  font-size: clamp(1.6rem, 4vw, 2.5rem);
}

.fave-shiny-feature p:last-child {
  margin: 0;
  color: var(--fave-muted);
  line-height: 1.45;
}

.fave-shiny-feature img {
  width: clamp(86px, 18vw, 136px);
  image-rendering: pixelated;
  filter: drop-shadow(0 12px 12px rgba(120, 55, 100, 0.16));
}

/* Sections */

.fave-shiny-section {
  margin: 2rem 0;
  scroll-margin-top: 1rem;
}

.fave-shiny-section__heading {
  margin-bottom: 1rem;
  padding: 1rem 1.15rem;
  border-left: 6px solid var(--fave-hot);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(255, 244, 250, 0.56));
  box-shadow: 0 10px 24px rgba(120, 55, 100, 0.07);
}

.fave-shiny-section__heading h2 {
  margin: 0.15rem 0;
  color: var(--fave-plum);
  font-size: clamp(1.45rem, 4vw, 2.2rem);
}

.fave-shiny-section__heading p:last-child {
  margin: 0;
  color: var(--fave-muted);
}

/* Frog section accent */

#frog-faves .fave-shiny-section__heading {
  border-left-color: var(--fave-green);
  background:
    radial-gradient(circle at top right, rgba(201, 245, 220, 0.5), transparent 12rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(240, 255, 246, 0.7));
}

#frog-faves .fave-shiny-section__heading h2 {
  color: #3f7a51;
}

/* Grid */

.fave-shiny-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(178px, 1fr));
  gap: 1rem;
}

/* Cards */

.fave-shiny-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--fave-border);
  border-radius: 24px;
  background: var(--fave-card);
  box-shadow: 0 14px 30px rgba(120, 55, 100, 0.11);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    opacity 160ms ease;
}

.fave-shiny-card:hover {
  transform: translateY(-4px);
  border-color: rgba(231, 106, 166, 0.75);
  box-shadow: 0 20px 42px rgba(120, 55, 100, 0.18);
}

.fave-shiny-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 184, 220, 0.35), transparent 8rem),
    radial-gradient(circle at 100% 15%, rgba(199, 167, 255, 0.26), transparent 9rem);
  pointer-events: none;
}

#frog-faves .fave-shiny-card {
  border-color: rgba(117, 184, 137, 0.38);
}

#frog-faves .fave-shiny-card::before {
  background:
    radial-gradient(circle at 15% 0%, rgba(201, 245, 220, 0.46), transparent 8rem),
    radial-gradient(circle at 100% 15%, rgba(255, 218, 237, 0.26), transparent 9rem);
}

.fave-shiny-card--missing {
  opacity: 0.72;
}

.fave-shiny-card--missing img {
  filter: grayscale(1) opacity(0.58);
}

.fave-shiny-card__sprite {
  position: relative;
  display: grid;
  min-height: 132px;
  place-items: center;
  padding: 1rem 1rem 0.25rem;
}

.fave-shiny-card__sprite img {
  width: 112px;
  max-width: 84%;
  image-rendering: pixelated;
  filter: drop-shadow(0 10px 10px rgba(120, 55, 100, 0.15));
}

.fave-shiny-card__sprite span {
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
  border: 2px dashed var(--fave-border);
  border-radius: 999px;
  color: var(--fave-muted);
  font-weight: 900;
}

.fave-shiny-card__body {
  position: relative;
  padding: 0.85rem 1rem 1rem;
}

.fave-shiny-card__number {
  margin: 0 0 0.25rem;
  color: var(--fave-muted);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fave-shiny-card h3 {
  margin: 0;
  color: var(--fave-plum);
  font-size: 1.1rem;
  line-height: 1.1;
}

.fave-shiny-card h3 span {
  display: block;
  margin-top: 0.18rem;
  color: var(--fave-muted);
  font-size: 0.8rem;
  font-weight: 650;
}

.fave-shiny-card__vibe {
  margin: 0.55rem 0 0;
  color: var(--fave-muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.fave-shiny-card dl {
  display: grid;
  gap: 0.3rem;
  margin: 0.75rem 0 0;
}

.fave-shiny-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px dashed rgba(226, 122, 172, 0.22);
}

.fave-shiny-card dt {
  color: var(--fave-muted);
  font-size: 0.7rem;
  font-weight: 850;
  text-transform: uppercase;
}

.fave-shiny-card dd {
  margin: 0;
  color: var(--fave-ink);
  font-size: 0.76rem;
  text-align: right;
}

.fave-shiny-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.75rem;
}

.fave-shiny-card__tags span {
  padding: 0.25rem 0.52rem;
  border: 1px solid rgba(226, 122, 172, 0.3);
  border-radius: 999px;
  background: rgba(255, 240, 248, 0.78);
  color: var(--fave-plum);
  font-size: 0.72rem;
  font-weight: 800;
}

#frog-faves .fave-shiny-card__tags span {
  border-color: rgba(117, 184, 137, 0.34);
  background: rgba(240, 255, 246, 0.82);
  color: #3f7a51;
}

/* Responsive */

@media (max-width: 720px) {
  .fave-shiny-feature {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .fave-shiny-feature img {
    margin: 0 auto;
  }
}

@media (max-width: 430px) {
  .fave-shiny-hero {
    border-radius: 26px;
  }

  .fave-shiny-grid {
    grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
  }

  .fave-shiny-card__sprite {
    min-height: 116px;
  }

  .fave-shiny-card__sprite img {
    width: 96px;
  }
}