:root {
  color-scheme: light;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: rgb(161 161 170) transparent;
  scrollbar-width: thin;
}

* {
  scrollbar-color: rgb(161 161 170) transparent;
  scrollbar-width: thin;
}

*::-webkit-scrollbar {
  height: 0.45rem;
  width: 0.45rem;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background: rgb(161 161 170);
  border-radius: 999px;
}

*::-webkit-scrollbar-thumb:hover {
  background: rgb(113 113 122);
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.nav-link {
  align-items: center;
  border-radius: 0.5rem;
  color: rgb(63 63 70);
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 500;
  height: 2.5rem;
  padding: 0 0.75rem;
}

.nav-link:hover,
.mobile-nav-link:hover {
  background: rgb(244 244 245);
  color: rgb(124 58 237);
}

.mobile-nav-link {
  border-radius: 0.5rem;
  color: rgb(63 63 70);
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.75rem;
}

.btn-primary,
.btn-secondary {
  align-items: center;
  border-radius: 0.5rem;
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 700;
  gap: 0.5rem;
  min-height: 2.5rem;
  padding: 0.625rem 1rem;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.btn-primary {
  background: rgb(124 58 237);
  box-shadow: 0 10px 22px rgb(124 58 237 / 0.18);
  color: white;
}

.btn-primary:hover {
  background: rgb(109 40 217);
  transform: translateY(-1px);
}

.btn-secondary {
  background: white;
  border: 1px solid rgb(228 228 231);
  color: rgb(63 63 70);
}

.btn-secondary:hover {
  background: rgb(244 244 245);
  border-color: rgb(212 212 216);
  color: rgb(24 24 27);
}

.floating-action {
  align-items: center;
  background: rgb(124 58 237);
  border: 1px solid rgb(109 40 217);
  border-radius: 999px;
  box-shadow: 0 14px 30px rgb(124 58 237 / 0.24);
  color: white;
  display: inline-flex;
  height: 3rem;
  justify-content: center;
  transition: background-color 160ms ease, transform 160ms ease;
  width: 3rem;
}

.floating-action:hover {
  background: rgb(109 40 217);
  transform: translateY(-2px);
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field > span {
  color: rgb(63 63 70);
  font-size: 0.875rem;
  font-weight: 600;
}

.form-input {
  background: white;
  border: 1px solid rgb(212 212 216);
  border-radius: 0.5rem;
  color: rgb(24 24 27);
  min-height: 2.625rem;
  padding: 0.625rem 0.75rem;
  width: 100%;
}

.form-input:focus {
  border-color: rgb(124 58 237);
  box-shadow: 0 0 0 3px rgb(124 58 237 / 0.14);
  outline: none;
}

.plan-option {
  align-items: flex-start;
  border: 1px solid rgb(228 228 231);
  border-radius: 0.5rem;
  cursor: pointer;
  display: flex;
  gap: 0.75rem;
  padding: 1rem;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.plan-option:has(input:checked) {
  background: rgb(245 243 255);
  border-color: rgb(167 139 250);
  box-shadow: 0 0 0 3px rgb(124 58 237 / 0.10);
}

.plan-option input {
  accent-color: rgb(124 58 237);
  margin-top: 0.2rem;
}

.plan-option strong,
.plan-option small {
  display: block;
}

.plan-option small {
  color: rgb(82 82 91);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-4 {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-shell {
  margin-left: auto;
  margin-right: auto;
  max-width: 80rem;
  padding: 2rem 1rem;
}

.section-band {
  background: linear-gradient(180deg, white, rgb(250 250 250));
  border-bottom: 1px solid rgb(228 228 231);
}

.app-panel,
.app-card,
.flow-panel {
  background: white;
  border: 1px solid rgb(228 228 231);
  border-radius: 0.5rem;
  box-shadow: 0 12px 30px rgb(24 24 27 / 0.06);
}

.app-panel {
  padding: 1.25rem;
}

.flow-panel {
  padding: 1.25rem;
}

.app-card {
  overflow: hidden;
}

.soft-card {
  background: rgb(250 250 250);
  border: 1px solid rgb(228 228 231);
  border-radius: 0.5rem;
}

.eyebrow {
  color: rgb(124 58 237);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.pill {
  align-items: center;
  background: rgb(244 244 245);
  border: 1px solid rgb(228 228 231);
  border-radius: 999px;
  color: rgb(63 63 70);
  display: inline-flex;
  font-size: 0.7rem;
  font-weight: 600;
  gap: 0.3rem;
  line-height: 1;
  min-height: 1.5rem;
  padding: 0 0.5rem;
}

.pill-brand {
  background: rgb(245 243 255);
  border-color: rgb(221 214 254);
  color: rgb(109 40 217);
}

.pill-strong {
  background: rgb(124 58 237);
  border-color: rgb(124 58 237);
  color: white;
}

.pill-warning {
  background: rgb(255 251 235);
  border-color: rgb(253 230 138);
  color: rgb(146 64 14);
}

.step-badge {
  align-items: center;
  background: rgb(124 58 237);
  border-radius: 999px;
  color: white;
  display: inline-flex;
  flex: none;
  font-size: 0.8rem;
  font-weight: 800;
  height: 1.7rem;
  justify-content: center;
  width: 1.7rem;
}

.form-section {
  border-top: 1px solid rgb(228 228 231);
  padding-top: 1.25rem;
}

.form-section:first-child {
  border-top: 0;
  padding-top: 0;
}

.creator-card {
  background: white;
  border: 1px solid rgb(228 228 231);
  border-radius: 0.5rem;
  box-shadow: 0 8px 24px rgb(24 24 27 / 0.05);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.creator-card-body {
  flex: 1;
}

.creator-card-actions {
  margin-top: auto;
}

.creator-card:hover {
  border-color: rgb(167 139 250);
  box-shadow: 0 18px 40px rgb(24 24 27 / 0.10);
  transform: translateY(-2px);
}

.creator-avatar-ring {
  background: linear-gradient(135deg, rgb(167 139 250), rgb(124 58 237), rgb(91 33 182));
  border-radius: 999px;
  display: inline-flex;
  flex: none;
  padding: 3px;
}

.creator-avatar-ring > img {
  border: 3px solid white;
}

.search-panel {
  background: white;
  border: 1px solid rgb(228 228 231);
  border-radius: 0.5rem;
  box-shadow: 0 18px 44px rgb(24 24 27 / 0.07);
}

.metric-card {
  background: white;
  border: 1px solid rgb(228 228 231);
  border-radius: 0.5rem;
  box-shadow: 0 8px 24px rgb(24 24 27 / 0.05);
  padding: 1rem;
}

.android-phone-card {
  min-width: 0;
}

.android-phone-shell {
  aspect-ratio: 9 / 18.8;
  background: rgb(24 24 27);
  border: 1px solid rgb(63 63 70);
  border-radius: 2rem;
  box-shadow: 0 22px 48px rgb(24 24 27 / 0.18);
  margin: 0 auto;
  max-width: 14rem;
  padding: 0.55rem;
  position: relative;
}

.android-phone-notch {
  background: rgb(24 24 27);
  border-radius: 999px;
  height: 0.45rem;
  left: 50%;
  position: absolute;
  top: 0.8rem;
  transform: translateX(-50%);
  width: 3.8rem;
  z-index: 2;
}

.android-phone-screen {
  background: linear-gradient(180deg, white, rgb(250 250 250));
  border-radius: 1.6rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  padding: 1.25rem 0.9rem 0.9rem;
  width: 100%;
}

.leaderboard-surface {
  background:
    linear-gradient(180deg, rgb(255 255 255), rgb(250 250 250)),
    radial-gradient(circle at 12% 0%, rgb(245 243 255), transparent 28%);
}

.leaderboard-hero {
  align-items: flex-end;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.leaderboard-switch {
  background: white;
  border: 1px solid rgb(228 228 231);
  border-radius: 0.5rem;
  display: inline-flex;
  flex: none;
  gap: 0.25rem;
  padding: 0.25rem;
}

.leaderboard-switch a {
  border-radius: 0.375rem;
  color: rgb(63 63 70);
  font-size: 0.875rem;
  font-weight: 800;
  padding: 0.6rem 0.8rem;
}

.leaderboard-switch a.is-active {
  background: rgb(124 58 237);
  color: white;
}

.month-award-banner {
  align-items: center;
  background: linear-gradient(135deg, rgb(24 24 27), rgb(88 28 135));
  border-radius: 0.5rem;
  box-shadow: 0 18px 42px rgb(24 24 27 / 0.16);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 1.5rem;
  overflow: hidden;
  padding: 1rem;
}

.leaderboard-podium {
  align-items: stretch;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.podium-card {
  background: white;
  border: 1px solid rgb(228 228 231);
  border-radius: 0.5rem;
  box-shadow: 0 14px 34px rgb(24 24 27 / 0.07);
  display: flex;
  flex-direction: column;
  order: var(--podium-order);
  padding: 1rem;
}

.podium-card-main {
  border-color: rgb(245 158 11);
  box-shadow: 0 20px 48px rgb(245 158 11 / 0.18);
  transform: translateY(-0.35rem);
}

.podium-avatar {
  border: 4px solid white;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgb(24 24 27 / 0.14);
  flex: none;
  height: 5rem;
  object-fit: cover;
  width: 5rem;
}

.rank-medal {
  align-items: center;
  border-radius: 0.5rem;
  display: inline-flex;
  flex: none;
  font-size: 0.9rem;
  font-weight: 950;
  height: 2.5rem;
  justify-content: center;
  min-width: 2.8rem;
  padding: 0 0.7rem;
}

.rank-gold {
  background: rgb(254 243 199);
  border: 1px solid rgb(245 158 11);
  color: rgb(146 64 14);
}

.rank-silver {
  background: rgb(244 244 245);
  border: 1px solid rgb(161 161 170);
  color: rgb(63 63 70);
}

.rank-bronze {
  background: rgb(255 237 213);
  border: 1px solid rgb(251 146 60);
  color: rgb(154 52 18);
}

.rank-neutral {
  background: rgb(245 243 255);
  border: 1px solid rgb(221 214 254);
  color: rgb(109 40 217);
}

.mini-stat {
  background: rgb(250 250 250);
  border: 1px solid rgb(228 228 231);
  border-radius: 0.5rem;
  padding: 0.7rem 0.45rem;
}

.mini-stat span {
  color: rgb(113 113 122);
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.mini-stat strong {
  color: rgb(24 24 27);
  display: block;
  font-size: 1rem;
  margin-top: 0.2rem;
}

.leaderboard-list {
  display: grid;
}

.leaderboard-row-compact {
  align-items: center;
  display: flex;
  gap: 0.9rem;
  padding: 0.9rem 1rem;
}

.leaderboard-row-compact + .leaderboard-row-compact {
  border-top: 1px solid rgb(228 228 231);
}

.leaderboard-row-compact:hover {
  background: rgb(250 250 250);
}

.leaderboard-rank-cell {
  flex: none;
}

.leaderboard-metrics {
  color: rgb(113 113 122);
  display: grid;
  flex: none;
  font-size: 0.78rem;
  gap: 0.15rem;
  min-width: 7rem;
  text-align: right;
}

.leaderboard-metrics strong {
  color: rgb(39 39 42);
}

.share-card-modern {
  background:
    radial-gradient(circle at 10% 10%, rgb(16 185 129 / 0.28), transparent 28%),
    radial-gradient(circle at 90% 15%, rgb(245 158 11 / 0.28), transparent 24%),
    linear-gradient(135deg, rgb(24 24 27), rgb(88 28 135) 58%, rgb(39 39 42));
  border-radius: 0.75rem;
  box-shadow: 0 24px 60px rgb(24 24 27 / 0.24);
  overflow: hidden;
  padding: 1.5rem;
}

.share-card-topline {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.share-card-topline span {
  color: rgb(255 255 255 / 0.72);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.share-card-grid {
  align-items: center;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 12rem minmax(0, 1fr);
  margin-top: 2rem;
}

.share-rank-number {
  background: rgb(255 255 255 / 0.12);
  border: 1px solid rgb(255 255 255 / 0.20);
  border-radius: 0.75rem;
  padding: 1.25rem;
  text-align: center;
}

.share-rank-number span,
.share-card-stats span {
  color: rgb(221 214 254);
  display: block;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.share-rank-number strong {
  color: white;
  display: block;
  font-size: 4rem;
  line-height: 0.95;
  margin-top: 0.4rem;
}

.share-card-stats {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.share-card-stats > div {
  background: rgb(255 255 255 / 0.12);
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: 0.5rem;
  padding: 1rem;
}

.share-card-stats strong {
  color: white;
  display: block;
  font-size: 1.5rem;
  margin-top: 0.25rem;
}

.icon-tile {
  align-items: center;
  border-radius: 0.5rem;
  display: inline-flex;
  flex: none;
  height: 2.5rem;
  justify-content: center;
  width: 2.5rem;
}

.icon-brand {
  background: rgb(245 243 255);
  color: rgb(109 40 217);
}

@media (max-width: 767px) {
  [data-mobile-menu].is-open {
    display: flex;
  }

  .hero-image-wrap {
    display: none;
  }
}

.footer-link {
  color: rgb(212 212 216);
}

.footer-link:hover {
  color: white;
}

.hero-section {
  position: relative;
}

.hero-section::before {
  background: linear-gradient(135deg, rgb(24 24 27), rgb(39 39 42) 45%, rgb(124 58 237 / 0.72));
  content: "";
  inset: 0;
  position: absolute;
}

.hero-section > div {
  position: relative;
}

.hero-image {
  filter: drop-shadow(0 30px 60px rgb(0 0 0 / 0.32));
}

.featured-track {
  overflow: hidden;
  position: relative;
}

.featured-track::before,
.featured-track::after {
  content: "";
  height: 100%;
  pointer-events: none;
  position: absolute;
  top: 0;
  width: 4rem;
  z-index: 2;
}

.featured-track::before {
  background: linear-gradient(90deg, white, transparent);
  left: 0;
}

.featured-track::after {
  background: linear-gradient(270deg, white, transparent);
  right: 0;
}

.featured-marquee {
  animation: featured-scroll 36s linear infinite;
  display: flex;
  gap: 1rem;
  width: max-content;
}

.featured-track:hover .featured-marquee {
  animation-play-state: paused;
}

.featured-card {
  align-items: center;
  background: white;
  border: 1px solid rgb(228 228 231);
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.04);
  display: flex;
  gap: 1rem;
  min-height: 8.5rem;
  padding: 1rem;
  width: 20rem;
}

.featured-card > img {
  aspect-ratio: 1 / 1;
  flex: none;
  height: 5rem;
  width: 5rem;
}

.featured-card:hover {
  border-color: rgb(196 181 253);
  box-shadow: 0 12px 28px rgb(24 24 27 / 0.08);
  transform: translateY(-1px);
}

.review-section {
  background: rgb(247 247 247);
  border-bottom: 1px solid rgb(228 228 231);
  border-top: 1px solid rgb(244 244 245);
  overflow: hidden;
  padding: 4.5rem 0 4.75rem;
}

.review-heading {
  margin-left: auto;
  margin-right: auto;
  max-width: 50rem;
  text-align: center;
}

.review-heading h2 {
  color: rgb(24 24 27);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.0;
}

.review-heading h2 span {
  display: block;
}

.review-trust-row {
  align-items: center;
  color: rgb(63 63 70);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.875rem;
  gap: 0.85rem;
  justify-content: center;
  margin-top: 1rem;
}

.review-trust-row strong {
  align-items: center;
  color: rgb(24 24 27);
  display: inline-flex;
  font-size: 1rem;
  gap: 0.35rem;
}

.review-trust-row i {
  color: rgb(0 182 122);
}

.review-trust-row svg {
  color: rgb(0 182 122);
}

.review-showcase {
  align-items: center;
  display: grid;
  gap: 2rem;
  margin-top: 1rem;
}

.review-summary {
  color: rgb(24 24 27);
}

.review-summary-mark {
  color: rgb(161 161 170);
  font-family: Georgia, serif;
  font-size: 6rem;
  font-weight: 700;
  height: 4rem;
  line-height: 1;
}

.review-summary h3 {
  font-size: 1.3rem;
  font-weight: 750;
  line-height: 1;
  max-width: 14rem;
}

.review-controls {
  align-items: center;
  color: rgb(82 82 91);
  display: flex;
  gap: 0.65rem;
  margin-top: 1rem;
}

.review-controls button {
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgb(228 228 231);
  display: inline-flex;
  height: 1.75rem;
  justify-content: center;
  transition: background-color 160ms ease, color 160ms ease;
  width: 1.75rem;
}

.review-controls button:hover {
  background: rgb(228 228 231);
  color: rgb(24 24 27);
}

.review-controls span {
  background: rgb(82 82 91);
  display: block;
  height: 1px;
  width: 3.6rem;
}

.review-link-button {
  align-items: center;
  background: rgb(24 24 27);
  border-radius: 0.5rem;
  color: white;
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 750;
  min-height: 2.5rem;
  margin-top: 1rem;
  padding: 0.625rem 1rem;
}

.review-link-button:hover {
  background: rgb(63 63 70);
}

.review-track {
  --review-end-space: 1rem;
  margin-left: -0.75rem;
  margin-right: -1rem;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 1rem var(--review-end-space) 1.75rem 0.75rem;
  position: relative;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
}

.review-track::-webkit-scrollbar {
  display: none;
}

.review-row {
  display: flex;
  gap: 1rem;
  width: max-content;
}

.review-card-modern {
  background: white;
  border: 1px solid rgb(244 244 245);
  border-radius: .8rem;
  box-shadow: 0 18px 42px rgb(24 24 27 / 0.04);
  display: flex;
  flex-direction: column;
  min-height: 10rem;
  padding: 1.5rem;
  position: relative;
  scroll-snap-align: start;
  width: min(80vw, 20rem);
}

.review-card-modern::after {
  background: white;
  bottom: -0.65rem;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  content: "";
  height: 1rem;
  left: 1.2rem;
  position: absolute;
  width: 1rem;
}

.review-card-modern > p {
  color: rgb(39 39 42);
  font-size: 0.875rem;
  line-height: 1.3;
}

.review-card-stars {
  color: rgb(0 182 122);
  display: flex;
  gap: 0.15rem;
  margin-top: auto;
  padding-top: 1.5rem;
}

.review-card-footer {
  align-items: center;
  display: flex;
  gap: 0.5rem;
  margin-top: 1.15rem;
}

.review-avatar {
  align-items: center;
  background: rgb(236 253 245);
  border: 1px solid rgb(167 243 208);
  border-radius: 999px;
  color: rgb(4 120 87);
  display: flex;
  font-size: 0.85rem;
  font-weight: 800;
  height: 2.35rem;
  justify-content: center;
  width: 2.35rem;
}

.review-card-footer strong,
.review-card-footer small {
  display: block;
}

.review-card-footer strong {
  color: rgb(24 24 27);
  font-size: 0.9rem;
  line-height: 1;
}

.review-card-footer small {
  color: rgb(82 82 91);
  font-size: 0.75rem;
}

.review-empty {
  align-items: center;
  background: white;
  border: 1px solid rgb(228 228 231);
  border-radius: 0.5rem;
  box-shadow: 0 18px 42px rgb(24 24 27 / 0.08);
  color: rgb(63 63 70);
  display: grid;
  min-height: 15.5rem;
  place-items: center;
  text-align: center;
  width: min(100%, 24rem);
}

.review-empty p {
  font-weight: 650;
  max-width: 18rem;
}

@media (min-width: 1024px) {
  .review-heading h2 {
    font-size: 3rem;
  }

  .review-showcase {
    grid-template-columns: 12rem minmax(0, 1fr);
  }

  .review-track {
    --review-end-space: calc((100vw - 100%) / 2 + 1rem);
    margin-right: calc((100vw - 100%) / -2);
  }
}

@media (max-width: 767px) {
  .review-section {
    padding: 3.5rem 0;
  }

  .review-summary {
    text-align: center;
  }

  .review-summary h3 {
    margin-left: auto;
    margin-right: auto;
  }

  .review-controls {
    justify-content: center;
  }
}

.leaderboard-confetti-canvas {
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: 80;
}

.leaderboard-rank-toast {
  animation: rank-toast-pop 4.8s ease both;
  background: rgb(24 24 27 / 0.94);
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 0.75rem;
  box-shadow: 0 24px 60px rgb(24 24 27 / 0.24);
  color: white;
  left: 50%;
  max-width: min(90vw, 24rem);
  padding: 1rem 1.15rem;
  position: fixed;
  text-align: center;
  top: 5rem;
  transform: translateX(-50%);
  z-index: 81;
}

.leaderboard-rank-toast span {
  color: rgb(221 214 254);
  display: block;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.leaderboard-rank-toast strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1.1;
  margin-top: 0.2rem;
}

.leaderboard-celebration-alert {
  align-items: center;
  background: rgb(255 255 255 / 0.9);
  border: 1px solid rgb(196 181 253);
  border-radius: 0.5rem;
  box-shadow: 0 16px 34px rgb(24 24 27 / 0.08);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding: 1rem;
}

.leaderboard-celebration-alert p {
  color: rgb(82 82 91);
  font-size: 0.9rem;
  margin-top: 0.2rem;
}

.leaderboard-celebration-alert strong {
  color: rgb(24 24 27);
  display: block;
  font-size: 1.05rem;
}

@media (max-width: 640px) {
  .leaderboard-celebration-alert {
    align-items: stretch;
    flex-direction: column;
  }
}

@keyframes rank-toast-pop {
  0% {
    opacity: 0;
    transform: translate(-50%, -0.75rem) scale(0.96);
  }
  12%,
  78% {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -0.35rem) scale(0.98);
  }
}

@keyframes featured-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.verified-dot {
  align-items: center;
  background: rgb(124 58 237);
  border-radius: 999px;
  color: white;
  display: inline-flex;
  flex: none;
  height: 1.1rem;
  justify-content: center;
  width: 1.1rem;
}

.verified-dot-lg {
  height: 1.65rem;
  width: 1.65rem;
}

.admin-link {
  align-items: center;
  border-radius: 0.5rem;
  color: rgb(63 63 70);
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 600;
  gap: 0.45rem;
  padding: 0.625rem 0.75rem;
  white-space: nowrap;
  transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.admin-link:hover,
.admin-link.is-active {
  background: rgb(245 243 255);
  color: rgb(124 58 237);
}

.admin-link.is-active {
  box-shadow: inset 0 0 0 1px rgb(221 214 254);
}

.admin-nav {
  background: white;
  border: 1px solid rgb(228 228 231);
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.04);
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  padding: 0.4rem;
}

.admin-shell {
  background: rgb(244 244 245);
  display: grid;
  grid-template-columns: 17rem minmax(0, 1fr);
  min-height: 100vh;
}

.admin-backdrop,
.admin-menu-button {
  display: none;
}

.admin-sidebar {
  background: rgb(255 255 255);
  border-right: 1px solid rgb(228 228 231);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  height: 100vh;
  overflow-y: auto;
  padding: 1rem;
  position: sticky;
  top: 0;
}

.admin-brand {
  align-items: center;
  border-bottom: 1px solid rgb(244 244 245);
  color: rgb(24 24 27);
  display: flex;
  gap: 0.7rem;
  justify-content: center;
  padding: 0.25rem 0.25rem 1rem;
}

.admin-brand img {
  height: 2.15rem;
  width: auto;
}

.admin-sidebar-section {
  display: grid;
  gap: 0.25rem;
}

.admin-sidebar-section p {
  color: rgb(113 113 122);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  padding: 0.4rem 0.75rem 0.25rem;
  text-transform: uppercase;
}

.admin-sidebar .admin-link {
  display: flex;
  width: 100%;
}

.admin-main {
  min-width: 0;
}

.admin-topbar {
  align-items: center;
  background: rgb(250 250 250 / 0.94);
  border-bottom: 1px solid rgb(228 228 231);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 20;
}

.admin-topbar h1 {
  color: rgb(24 24 27);
  font-size: 1.6rem;
  font-weight: 850;
}

.admin-topbar p:not(.eyebrow) {
  color: rgb(82 82 91);
  font-size: 0.9rem;
  margin-top: 0.15rem;
}

.admin-topbar-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.admin-content {
  padding: 1.5rem;
}

.admin-panel {
  background: white;
  border: 1px solid rgb(228 228 231);
  border-radius: 0.5rem;
  box-shadow: 0 12px 30px rgb(24 24 27 / 0.06);
  padding: 1.25rem;
}

.admin-stat {
  background: white;
  border: 1px solid rgb(228 228 231);
  border-radius: 0.5rem;
  box-shadow: 0 8px 24px rgb(24 24 27 / 0.05);
  color: inherit;
  display: block;
  padding: 1.25rem;
  position: relative;
  text-decoration: none;
}

.admin-stat-link {
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.admin-stat-link:hover,
.admin-stat-link:focus-visible {
  border-color: rgb(196 181 253);
  box-shadow: 0 14px 30px rgb(24 24 27 / 0.08);
  transform: translateY(-1px);
}

.admin-stat::before {
  background: rgb(124 58 237);
  border-radius: 999px;
  content: "";
  height: 0.2rem;
  left: 1.25rem;
  position: absolute;
  right: 1.25rem;
  top: 0.75rem;
}

.admin-stat span {
  color: rgb(113 113 122);
  display: block;
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

.admin-stat strong {
  color: rgb(24 24 27);
  display: block;
  font-size: 1.6rem;
  margin-top: 0.25rem;
}

.admin-stat small {
  color: rgb(113 113 122);
  display: block;
  font-size: 0.78rem;
  margin-top: 0.35rem;
}

.trust-bar {
  background: rgb(244 244 245);
  border-radius: 999px;
  height: 0.75rem;
  overflow: hidden;
}

.trust-bar-fill {
  display: block;
  height: 100%;
}

.trust-bar-zinc {
  background: rgb(113 113 122);
}

.trust-bar-sky {
  background: rgb(2 132 199);
}

.trust-bar-violet {
  background: rgb(124 58 237);
}

.trust-bar-emerald {
  background: rgb(5 150 105);
}

.queue-card {
  align-items: center;
  border: 1px solid rgb(228 228 231);
  border-radius: 0.5rem;
  color: rgb(39 39 42);
  display: grid;
  gap: 0.35rem;
  grid-template-columns: auto 1fr auto;
  padding: 1rem;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.queue-card:hover {
  background: rgb(250 250 250);
  border-color: rgb(196 181 253);
}

.queue-card i {
  color: rgb(124 58 237);
}

.queue-card span {
  font-size: 0.9rem;
  font-weight: 700;
}

.queue-card strong {
  font-size: 1.3rem;
}

.panel-heading {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: space-between;
  align-items: flex-start;
}

.panel-heading h2 {
  color: rgb(24 24 27);
  font-size: 1.25rem;
  font-weight: 800;
}

.panel-heading p {
  color: rgb(82 82 91);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.admin-table {
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.875rem;
  width: 100%;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid rgb(228 228 231);
  padding: 0.8rem;
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: rgb(82 82 91);
  font-weight: 700;
}

.admin-table td {
  color: rgb(63 63 70);
}

.admin-table tbody tr:hover td {
  background: rgb(250 250 250);
}

@media (max-width: 760px) {
  .panel-heading {
    flex-direction: column;
  }

  .leaderboard-hero,
  .month-award-banner {
    align-items: stretch;
    flex-direction: column;
  }

  .leaderboard-switch {
    width: 100%;
  }

  .leaderboard-switch a {
    flex: 1;
    text-align: center;
  }

  .leaderboard-podium {
    grid-template-columns: 1fr;
  }

  .podium-card {
    order: initial;
  }

  .podium-card-main {
    transform: none;
  }

  .leaderboard-row-compact {
    align-items: flex-start;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .leaderboard-metrics {
    grid-column: 2 / -1;
    min-width: 0;
    text-align: left;
  }

  .share-card-grid {
    grid-template-columns: 1fr;
    margin-top: 1.5rem;
  }

  .share-rank-number {
    text-align: left;
  }

  .share-rank-number strong {
    font-size: 3rem;
  }

  .share-card-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .admin-shell {
    display: block;
  }

  .admin-sidebar {
    bottom: 0;
    height: 100vh;
    left: 0;
    max-height: none;
    max-width: min(18rem, 82vw);
    position: fixed;
    top: 0;
    transform: translateX(-105%);
    transition: transform 180ms ease;
    width: 18rem;
    z-index: 60;
  }

  .admin-shell.is-admin-open .admin-sidebar {
    transform: translateX(0);
  }

  .admin-backdrop {
    background: rgb(24 24 27 / 0.42);
    border: 0;
    bottom: 0;
    display: none;
    left: 0;
    padding: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 50;
  }

  .admin-shell.is-admin-open .admin-backdrop {
    display: block;
  }

  .admin-brand {
    padding-bottom: 0.75rem;
  }

  .admin-menu-button {
    align-items: center;
    background: white;
    border: 1px solid rgb(228 228 231);
    border-radius: 0.5rem;
    color: rgb(39 39 42);
    display: inline-flex;
    flex: none;
    height: 2.5rem;
    justify-content: center;
    width: 2.5rem;
  }

  .admin-topbar {
    align-items: flex-start;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    position: relative;
  }

  .admin-topbar-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .admin-content {
    padding: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .featured-marquee {
    animation: none;
  }
}

@media (max-width: 640px) {
  .featured-card {
    width: 17rem;
  }
}

@media (min-width: 640px) {
  .page-shell {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .flow-panel,
  .app-panel {
    padding: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .page-shell {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
