@import url('https://fonts.googleapis.com/css2?family=Onest:wght@400;500;600;700;800&family=Baloo+2:wght@800&family=Black+Han+Sans&display=swap');

:root {
  --bg: #ffffff;
  --muted: #f9f9f9;
  --text: #0f1115;
  --subtle: #7A7C80;
  --border: #d8dade;
  --line-strong: #e3e3e3;
  --line-strong-width: 1.25px;
  --line-subtle: #d1d5db;
  --accent: #0f1115;
  --shadow: 0 14px 40px rgba(17, 24, 39, 0.08);
  --radius-lg: 24px;
  --radius-md: 18px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.nav-brand:hover {
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.page {
  max-width: 820px;
  margin: 0 auto;
  padding: 100px 48px 80px;
}

/* Nav */
.nav-shell {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  padding: 0 18px;
  z-index: 20;
  pointer-events: none;
}

.navbar {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: var(--line-strong-width) solid var(--line-strong);
  box-shadow:
  rgba(0, 9, 50, 0.086) 0px 0.602187px 0.602187px -1.25px, rgba(0, 9, 50, 0.075) 0px 2.28853px 2.28853px -2.5px, rgba(0, 9, 50, 0.03) 0px 10px 10px -3.75px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 40px;
  pointer-events: auto;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: #101218;
}

.brand-name {
  font-family: 'Baloo 2', 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 800;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  padding: 0;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  padding: 0;
  background: transparent;
  border: 0;
  display: grid;
  place-items: center;
  box-shadow: none;
  overflow: hidden;
}

.brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.badge-dark {
  background: #111827;
  color: #fff;
  padding: 2px 7px;
  border-radius: 24px;
  font-size: 12px;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #12141a;
  font-size: 16px;
}

.nav-links a {
  color: inherit;
  text-decoration: none;
}

.nav-links a:hover {
  color: #4b4f57;
}

.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  padding: 0;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-shell.nav-open .nav-toggle .icon-menu {
  display: none;
}

.nav-shell.nav-open .nav-toggle .icon-close {
  display: block;
}

.nav-toggle.nav-toggle-open .icon-menu {
  display: none;
}

.nav-toggle.nav-toggle-open .icon-close {
  display: block;
}

.nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  padding: 0;
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-shell.nav-open .nav-toggle .icon-menu {
  display: none;
}

.nav-shell.nav-open .nav-toggle .icon-close {
  display: block;
}
.nav-divider {
  width: 1px;
  height: 14px;
  background: #101827;
  opacity: 0.6;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-btn {
  background: transparent;
  border: none;
  padding: 6px;
  cursor: pointer;
  color: #1b1d23;
  display: grid;
  place-items: center;
}

.nav-toggle {
  display: none !important;
}

.nav-search svg {
  width: 18px;
  height: 18px;
}

/* Search */
body.search-open {
  overflow: hidden;
}

.funnnit-search {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  --funnnit-search-top: 180px;
  padding: var(--funnnit-search-top) 28px 28px;
}

.funnnit-search[hidden] {
  display: none !important;
}

.funnnit-search__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.funnnit-search__modal {
  position: relative;
  width: min(500px, 92vw);
  border-radius: 16px;
  background: rgba(255, 255, 255);
  box-shadow: 0 28px 80px rgba(17, 24, 39, 0.25);
  overflow: hidden;
}

.funnnit-search__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
}

.funnnit-search__icon {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: #1b1d23;
  opacity: 0.9;
}

.funnnit-search__input {
  flex: 1;
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  color: #0f1115;
}

.funnnit-search__input::placeholder {
  color: #7A7C80;
}

.funnnit-search__input::-webkit-search-cancel-button,
.funnnit-search__input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

.funnnit-search__input::-ms-clear {
  display: none;
}

.funnnit-search__close {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: none;
  background: #0f1115;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.funnnit-search__close:hover {
  background: #3B3B3D;
}

.funnnit-search__results {
  display: none;
  border-top: 1px solid #e8eaef;
  background: #fff;
  max-height: 56vh;
  overflow: auto;
}

.funnnit-search__modal.has-results .funnnit-search__results {
  display: block;
}

.funnnit-search__item {
  display: block;
  padding: 16px 20px;
  border-top: 1px solid #f0f1f4;
  text-decoration: none;
}

.funnnit-search__item:first-child {
  border-top: none;
}

.funnnit-search__item:hover,
.funnnit-search__item.is-active {
  background: #f2f3f6;
  text-decoration: none;
}

.funnnit-search__item-title {
  font-weight: 600;
  color: #0f1115;
}

.funnnit-search__item-id {
  font-weight: 500;
  color: #7A7C80;
}

.funnnit-search__item-meta {
  margin-top: 6px;
  font-size: 14px;
  color: #7A7C80;
}

.funnnit-search__empty {
  padding: 18px 20px;
  color: #7A7C80;
  font-size: 14px;
}

@media (max-width: 720px) {
  .funnnit-search {
    align-items: flex-start;
    padding: 40px 12px 12px;
  }

  .funnnit-search__modal {
    width: 100%;
    border-radius: 20px;
    margin-top: 0;
  }

  .funnnit-search__results {
    max-height: calc(50vh - 50px - 12px - 76px);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 400;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-dark {
  background: var(--accent);
  color: #fff;
}

.btn-dark:hover {
  background: #3B3B3D;
  text-decoration: none;
  transform: none;
}

.btn-light {
  background: #fff;
  color: var(--text);
  border-color: var(--border);
}

.btn-outline {
  background: #fff;
  color: #0f1115;
  border: 1.25px solid #0f1115;
}

.btn-outline:hover {
  background: #0f1115;
  color: #fff;
  text-decoration: none;
  transform: none;
}

/* Hero */
.hero {
  text-align: center;
  padding: 30px 12px 40px;
  position: relative;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fdf2f8;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 11px;
  color: #3B3B3D;
}

.headline {
  font-size: clamp(30px, 5vw, 30px);
  font-weight: 700;
  line-height: 1.4;
  margin: 22px 12px 14px;
}

.headline .hl-green {
  color: #53E27F;
}

.headline .hl-pink {
  color: #FB83BB;
}

.headline .hl-gold {
  color: #FDCB00;
}

.hero-sub {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #22242c;
  font-weight: 300;
  font-size: 20px;
  margin: 16px 0 40px 0;
}

@media (max-width: 600px) {
  .hero-sub {
    flex-direction: column;
    gap: 8px;
  }
}

.social-proof {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: #3B3B3D;
  font-weight: 300;
}

.avatar-stack {
  display: flex;
  gap: 0;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: linear-gradient(135deg, #fcd34d, #fb7185);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: transparent;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.avatar + .avatar {
  margin-left: -10px;
}

.avatar:nth-child(1) {
  background-image: url('images/avatar-01.avif');
}

.avatar:nth-child(2) {
  background-image: url('images/avatar-02.avif');
}

.avatar:nth-child(3) {
  background-image: url('images/avatar-03.avif');
}

.avatar:nth-child(4) {
  background-image: url('images/avatar-04.avif');
}

/* Collections */
.section-card {
  background: var(--muted);
  border-radius: var(--radius-lg);
  padding: 26px;
  margin-top: 26px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.section-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

.section-link {
  color: var(--subtle);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

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

.item-card {
  background: transparent;
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 12px 12px 28px 12px;
  box-shadow: none;
  transition: transform 0.1s ease, box-shadow 0.18s ease, border-color 0.16s ease, background 0.28s ease, opacity 0.28s ease;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.item-card:hover {
  transform: none;
  box-shadow: none;
  background: linear-gradient(89.99999999999999deg, var(--token-4ec7dbe0-de31-470f-8524-a6986226f295, rgba(255, 233, 244, 0.3)) 0%, var(--token-6dceba3d-b454-4787-99c7-7853bf0a5e24, rgba(234, 243, 255, 0.5)) 100%);
  border-radius: 20px;
  opacity: 1;
  text-decoration: none;
}

.item-media {
  background: #ffffff;
  border: 1px solid #E3E3E3;
  border-radius: 12px;
  padding: 0;
  width: 100%;
  min-height: 200px;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.item-media img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  box-sizing: border-box;
  object-fit: contain;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.item-media.has-free-badge,
.joy-media.has-free-badge {
  position: relative;
  overflow: hidden;
}

.free-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(106, 106, 106, 0.6);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  pointer-events: none;
}

.item-meta {
  display: grid;
  gap: 4px;

}

.item-name {
  font-weight: 500;
  font-size: 16px;
  color: var(--text);
  text-align: center;
}

.item-id {
  font-weight: 300;
  font-size: 13px;
  color: var(--subtle);
  text-align: center;
}

.section-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--subtle);
  font-weight: 200;
  font-size: 14px;
  border-top: var(--line-strong-width) solid var(--line-strong);
  padding: 16px 16px 0;
}

.assets-count {
  font-size: 14px;
  font-weight: 300;
  text-decoration: underline;
}

.assets-count:hover {
  text-decoration: underline;
}

/* Promo */
.promo {
  margin-top: 34px;
  background: radial-gradient(120% 120% at 15% 20%, rgba(255, 255, 255, 0.9), #f9f4ff 50%, #fff0e4 95%);
  border-radius: 24px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.promo-left,
.promo-center,
.promo-right {
  position: relative;
  z-index: 0;
}

.promo-left,
.promo-right {
  position: absolute;
  bottom: 35px;
  display: flex;
  align-items: flex-end;
  pointer-events: none;
  z-index: 0;
}

.promo-left { left: 12px; }
.promo-right { right: 12px; }

.promo-hat {
  max-width: 140px;
  width: 100%;
  height: auto;
  object-fit: contain;
  transform: rotate(-6deg);
}

.promo-coat {
  max-width: 200px;
  width: 100%;
  height: auto;
  object-fit: contain;
  transform: rotate(5deg);
}

.promo-title {
  margin: 0;
  font-size: 40px;
  font-weight: 700;
  background: linear-gradient(90deg, #d9795e, #9a7bd4);
  -webkit-background-clip: text;
  color: transparent;
  text-align: center;
}

.promo-sub {
  margin: 0 0 18px 0;
  color: #3b3f4a;
  font-weight: 300;
  font-size: 22px;
  text-align: center;
}

.promo-center {
  display: grid;
  justify-items: center;
  gap: 10px;
  max-width: 540px;
  margin: 0 auto;
  text-align: center;
  z-index: 2;
}

.promo-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-primary {
  background: #0c0c0d;
  color: #d4ff3f;
  padding: 10px 22px;
  border-radius: 12px;
  font-weight: 300;
  border: 1px solid #050505;
  font-size: 16px;
  min-width: 220px;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  transform: none;
}

.cta-primary:hover {
  background: #3B3B3D;
  text-decoration: none;
  transform: none;
}

.cta-secondary {
  background: #fff;
  color: #0f1115;
  padding: 10px 22px;
  border-radius: 12px;
  font-weight: 300;
  border: 1px solid #e5e7eb;
  font-size: 16px;
  min-width: 220px;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  transform: none;
}

.cta-secondary:hover {
  border-color: #000;
  background: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transform: none;
}

.promo-note {
  margin-top: 16px;
  color: #6b7280;
  font-size: 14px;
  text-align: center;
}

@media (max-width: 768px) {
  .promo-left,
  .promo-right {
    display: none;
  }

  .page {
    padding: 100px 20px 64px;
  }

  .nav-shell {
    position: fixed;
    top: 10px;
    left: 0;
    right: 0;
    padding: 0 12px;
    z-index: 99;
    justify-content: center;
    --nav-mobile-cta-padding: 16px 18px;
  }

  .navbar {
    display: grid;
    grid-template-columns: 1fr auto auto;
    grid-template-areas: "brand search toggle";
    align-items: center;
    border: 1px solid #e8eaef;
    border-radius: 18px;
    padding: 12px;
    box-shadow:
    rgba(0, 9, 50, 0.086) 0px 0.602187px 0.602187px -1.25px, rgba(0, 9, 50, 0.075) 0px 2.28853px 2.28853px -2.5px, rgba(0, 9, 50, 0.03) 0px 10px 10px -3.75px;
    gap: 10px 12px;
    width: 100%;
    max-width: none;
  }

  .nav-brand {
    grid-area: brand;
  }

  .nav-actions {
    display: contents;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    text-align: center;
    padding: 12px 0 4px;
    align-items: center;
  }

  .nav-actions .btn {
    display: none;
    width: 100%;
    justify-content: center;
    transform: none;
  }

  .nav-search {
    grid-area: search;
    padding: 6px;
  }

  .nav-toggle {
    grid-area: toggle;
    display: inline-flex !important;
  }

  .nav-brand {
    order: 0;
  }

  .nav-links {
    order: 2;
  }

  .nav-shell.nav-open .nav-links {
    grid-area: links;
    display: flex;
  }

  .nav-shell.nav-open .navbar {
    grid-template-areas:
      "brand search toggle"
      "links links links"
      "cta cta cta";
  }

  .nav-shell.nav-open .nav-actions .btn {
    grid-area: cta;
    display: inline-flex;
    width: 100%;
    justify-content: center;
    min-width: 0;
    position: static;
    margin-top: 4px;
  }

  .nav-shell.nav-open .nav-actions .btn.btn-dark {
    padding: var(--nav-mobile-cta-padding);
  }
}

/* Footer */
.footer {
  margin-top: 48px;
  background: #fff;
  border-radius: 24px;
  padding: 48px 60px;
  border: 1.25px solid #d8dade;
  display: grid;
  gap: 26px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  --footer-gap-main: 90px; /* between brand block and links block */
  --footer-gap-links: 60px; /* between info and account */
}

.footer-body {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: center;
  gap: var(--footer-gap-main);
  row-gap: 32px;
  width: 100%;
}

.footer-brand {
  display: grid;
  gap: 0;
  flex: 1 1 200px;
  min-width: 200px;
}

.footer-brand .brand {
  font-family: 'Baloo 2', 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: #0f1115;
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 14px;
  color: #666666;
  font-weight: 300;
  margin-bottom: 32px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 42px;
  border-radius: 8px;
  border: 1px solid #222;
  background: #fff;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  margin-bottom: 4px;
  color: #0f1115;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.share-btn .x-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.share-btn .x-mark img {
  width: 18px;
  height: 18px;
  display: block;
}

.share-btn:hover {
  background: #0c0c0d;
  border-color: #0c0c0d;
  color: #fff;
}

.share-btn:hover .x-mark img {
  filter: invert(1);
}

.footer-note {
  color: #6b7280;
  font-weight: 300;
  font-size: 10px;
  max-width: 320px;
}

.footer-links-wrap {
  display: flex;
  gap: var(--footer-gap-links);
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: center;
  flex: 1 1 320px;
  min-width: 300px;
}

.footer-group {
  display: grid;
  gap: 16px;
  align-content: start;
  justify-items: center;
  text-align: center;
}

.footer-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border-radius: 6px;
  border: 1px solid #0f1115;
  font-size: 10px;
  font-weight: 500;
  color: #1b1d23;
  width: fit-content;
}

.footer-links {
  display: grid;
  gap: 16px;
  font-size: 14px;
  color: #0f1115;
  justify-items: center;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
  font-weight: 300;
}

.footer-links a:hover {
  color: #444953;
}

.footer-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-pill .pill-red {
  background: #ef4564;
  color: #fff;
  padding: 1px 4px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 300;
}

.footer-divider {
  height: 1px;
  background: var(--line-subtle);
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
}

.footer-bottom {
  display: grid;
  gap: 12px;
  color: #4b5563;
  font-size: 12px;
  justify-items: center;
  text-align: center;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
}

.footer-bottom strong {
  color: #0f1115;
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6b7280;
  justify-content: center;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
}

.footer-toggle {
  display: none;
}

.toggle-dot {
  width: 16px;
  height: 10px;
  border-radius: 999px;
  background: #d1d5db;
  position: relative;
}

.toggle-dot::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 1px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

@media (max-width: 900px) {
  .footer-body {
    flex-direction: column;
    flex-wrap: wrap;
    gap: 28px;
    --footer-gap-main: 0px;
    --footer-gap-links: 16px;
    align-items: center;
  }

  .footer-links-wrap {
    gap: 16px;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .page {
    padding-left: 20px;
    padding-right: 20px;
  }

  .footer {
    padding: 28px 20px;
  }

  .footer-body {
    align-items: stretch;
  }

  .footer-brand,
  .footer-links-wrap {
    min-width: 0;
    width: 100%;
  }

  .footer-links-wrap {
    flex: 1 1 160px;
  }

  .footer-status {
    flex-direction: row;
    align-items: center;
    text-align: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-status .sep {
    flex-basis: 100%;
    text-align: center;
    font-size: 8px;
    color: #CCCCCC;
  }

  .footer-brand {
    justify-items: center;
    text-align: center;
  }

  .share-btn {
    width: 100%;
    max-width: 320px;
  }

  .footer-note {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Joydoodle page */
.joydoodle-hero {
  text-align: center;
  padding: 32px 10px 18px;
}

.joydoodle-heading {
  margin: 0 0 14px 0;
  font-size: 32px;
  font-weight: 700;
  background: linear-gradient(90deg, rgb(140, 44, 227) 0%, rgb(255, 36, 150) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.joydoodle-sub {
  margin: 0 auto 24px;
  max-width: 500px;
  color: #22242c;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.4;
}

.joy-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 48px auto 40px;
}

.joy-label {
  margin: 4px 0 0;
  font-size: 18px;
  font-weight: 700;
  color: #0f1115;
}

.joydoodle-collection,
.joydoodle-collection.section-card {
  background: transparent;
  border-radius: 0;
  padding: 0;
  margin-top: 0;
}

.joy-collection-title {
  text-align: center;
  margin: 14px 0 16px 0;
  font-size: 18px;
  font-weight: 800;
  color: #0f1115;
}

.joy-grid {
  gap: 18px;
}

.joy-card {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
}

.joydoodle-collection .joy-card {
  border: none;
  border-radius: 20px;
  background: transparent;
  position: relative;
}

.joydoodle-collection .joy-card > * {
  position: relative;
  z-index: 1;
}

.joydoodle-collection .joy-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(89.99999999999999deg, var(--token-4ec7dbe0-de31-470f-8524-a6986226f295, rgba(255, 233, 244, 0.3)) 0%, var(--token-6dceba3d-b454-4787-99c7-7853bf0a5e24, rgba(234, 243, 255, 0.5)) 100%);
  opacity: 0;
  transition: opacity 0.28s ease;
  will-change: opacity;
  pointer-events: none;
}

.joydoodle-collection .joy-card:hover::before {
  opacity: 1;
}

.joydoodle-collection .joy-card:hover {
  background: transparent;
  border-radius: 20px;
  box-shadow: none;
  transform: none;
  opacity: 1;
}

.joy-card .item-media {
  border-radius: 14px;
  border-color: #ececec;
  min-height: 220px;
  transform: translateZ(0);
}

.joy-card .item-media img {
  transform: translateZ(0);
  backface-visibility: hidden;
}

.joy-card .item-meta {
  text-align: center;
  align-items: center;
}

.joy-card .item-name {
  font-weight: 300;
}

.joy-card .item-id {
  font-size: 13px;
  font-weight: 300;
}

.joy-empty {
  display: none;
  text-align: center;
  margin-top: 16px;
  color: #6b7280;
  font-weight: 600;
}

/* Tag page */
.tag-hero {
  text-align: center;
  padding: 90px 12px 20px;
}

.tag-title {
  margin: 0 0 8px 0;
  font-size: 32px;
  font-weight: 900;
  color: #ec4899;
}

.tag-sub {
  margin: 0 auto;
  max-width: 520px;
  color: #4b5563;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.6;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 14px;
}

.filter-btn {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #f8f8f8;
  background: #f8f8f8;
  color: #69696B;
  font-weight: 300;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.filter-btn:not(.active):hover {
  background: #fff;
  border-color: #d0d3d8;
  color: #69696B;
}

.filter-btn.active {
  background: #0f1115;
  color: #fff;
  border-color: #0f1115;
}

.tag-label {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 800;
  color: #111827;
}

.tag-card {
  min-height: 240px;
  justify-content: space-between;
}

.tag-media {
  min-height: 140px;
}

.tag-bubble {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fde68a, #fca5a5);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 28px;
  color: #0f1115;
  box-shadow: inset 0 6px 10px rgba(255, 255, 255, 0.65), 0 10px 24px rgba(0, 0, 0, 0.12);
}

.load-more {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

.load-more-btn {
  padding: var(--load-more-padding, 10px 20px);
  border-radius: var(--load-more-radius, 8px);
  font-size: var(--load-more-font-size, 16px);
  font-weight: var(--load-more-font-weight, 400);
}

.load-more-btn-joydoodle {
  /* overrides: --load-more-padding / --load-more-radius / --load-more-font-size / --load-more-font-weight */
}

.load-more-btn-3dx {
  /* overrides: --load-more-padding / --load-more-radius / --load-more-font-size / --load-more-font-weight */
}

.btn-small {
  padding: 10px 14px;
  border-radius: 12px;
}

/* Content (blog) */
.content {
  color: var(--text);
  line-height: 1.7;
  display: grid;
  gap: 12px;
  font-size: 16px;
}

.content img {
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.content h1,
.content h2,
.content h3,
.content h4 {
  margin: 12px 0 6px 0;
}

.content ul {
  padding-left: 20px;
}

/* Detail page */
.detail-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 20px 24px 40px;
  display: grid;
  gap: 12px;
}

.page-about.detail-page {
  padding: 28px 0 40px;
}

.detail-header h1 {
  margin-bottom: 16px;
  font-size: 30px;
  font-weight: 700;
  color: #111827;
  text-align: center;
}

.crumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: #666666;
  font-weight: 400;
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 30px;
}

.crumbs a {
  color: #6f7277;
}

.crumbs .crumb-sep {
  font-size: 10px;
  line-height: 1;
}

.detail-viewer {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.viewer-canvas {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1 / 1;
  background: #fcfcfe;
  border-radius: 18px;
  border: 8px solid #E2E2E2;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.viewer-canvas::after {
  content: '';
  position: absolute;
  inset: 6px;
  z-index: 2;
  border-radius: 12px;
  background-image: url('pattern-bg.svg');
  background-size: 40px 40px;
  background-repeat: repeat;
  background-position: center;
  opacity: 0.04;
  pointer-events: none;
}

.viewer-canvas img {
  max-height: 500px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.08));
  -webkit-user-drag: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.thumbs {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.thumb {
  width: 115px;
  height: 115px;
  border-radius: 18px;
  border: 6px solid #E2E2E2;
  background: #fcfcfe;
  padding: 12px;
  display: grid;
  place-items: center;
  font-size: 22px;
  cursor: pointer;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.thumb.ghost {
  opacity: 0.55;
  border-color: #e1e5ec;
}

.thumb.active {
  border-color: #E2E2E2;
  box-shadow:
    0 0 0 1px #000;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.detail-unlock {
  display: flex;
  justify-content: center;
  margin-bottom: 6px;
  margin-top: 30px;
}

.unlock-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 12px;
  border: 1px solid #d1d5db;
  background: #fff;
  font-weight: 500;
  font-size: 16px;
  color: #111822;
  text-decoration: none;
  box-shadow: none;
  transition: border-color 0.2s ease;
}

.unlock-btn:hover {
  border-color: #000;
  text-decoration: none;
}

.unlock-btn.unlock-licensed {
  background: #0f1115;
  color: #fff;
  border-color: #0f1115;
}

.unlock-btn.unlock-licensed:hover {
  background: #3B3B3D;
  border-color: #3B3B3D;
  text-decoration: none;
  transform: none;
}

.unlock-icon img {
  width: 16px;
  height: 19px;
  display: block;
  filter: brightness(0) saturate(100%);
}

.detail-note {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: #737680;
  font-size: 12px;
  font-weight: 300;
  margin: 4px 0 30px;
}

.license-icon img {
  width: 16px;
  height: 16px;
  display: block;
}

.detail-body {
  background: #fff;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  color: #22242C;
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 20px;
}

/* Prevent hero/download flashes before detail JS finishes. */
html.js .detail-page.detail-asset .detail-body img,
html.js .detail-page.detail-asset .detail-body a[href$=".zip"],
html.js .detail-page.detail-asset .detail-body a[href*=".zip?"],
html.js .detail-page.detail-asset .detail-body a[href*=".zip#"],
html.js .detail-page.detail-asset .detail-body a[href$=".rar"],
html.js .detail-page.detail-asset .detail-body a[href*=".rar?"],
html.js .detail-page.detail-asset .detail-body a[href*=".rar#"],
html.js .detail-page.detail-asset .detail-body a[href$=".7z"],
html.js .detail-page.detail-asset .detail-body a[href*=".7z?"],
html.js .detail-page.detail-asset .detail-body a[href*=".7z#"],
html.js .detail-page.detail-asset .detail-body a[href$=".tar"],
html.js .detail-page.detail-asset .detail-body a[href*=".tar?"],
html.js .detail-page.detail-asset .detail-body a[href*=".tar#"],
html.js .detail-page.detail-asset .detail-body a[href$=".gz"],
html.js .detail-page.detail-asset .detail-body a[href*=".gz?"],
html.js .detail-page.detail-asset .detail-body a[href*=".gz#"],
html.js .detail-page.detail-asset .detail-body a[href$=".bz2"],
html.js .detail-page.detail-asset .detail-body a[href*=".bz2?"],
html.js .detail-page.detail-asset .detail-body a[href*=".bz2#"],
html.js .detail-page.detail-asset .detail-body a[href$=".xz"],
html.js .detail-page.detail-asset .detail-body a[href*=".xz?"],
html.js .detail-page.detail-asset .detail-body a[href*=".xz#"] {
  visibility: hidden;
  pointer-events: none;
}

html.js.detail-ready .detail-page.detail-asset .detail-body img,
html.js.detail-ready .detail-page.detail-asset .detail-body a[href$=".zip"],
html.js.detail-ready .detail-page.detail-asset .detail-body a[href*=".zip?"],
html.js.detail-ready .detail-page.detail-asset .detail-body a[href*=".zip#"],
html.js.detail-ready .detail-page.detail-asset .detail-body a[href$=".rar"],
html.js.detail-ready .detail-page.detail-asset .detail-body a[href*=".rar?"],
html.js.detail-ready .detail-page.detail-asset .detail-body a[href*=".rar#"],
html.js.detail-ready .detail-page.detail-asset .detail-body a[href$=".7z"],
html.js.detail-ready .detail-page.detail-asset .detail-body a[href*=".7z?"],
html.js.detail-ready .detail-page.detail-asset .detail-body a[href*=".7z#"],
html.js.detail-ready .detail-page.detail-asset .detail-body a[href$=".tar"],
html.js.detail-ready .detail-page.detail-asset .detail-body a[href*=".tar?"],
html.js.detail-ready .detail-page.detail-asset .detail-body a[href*=".tar#"],
html.js.detail-ready .detail-page.detail-asset .detail-body a[href$=".gz"],
html.js.detail-ready .detail-page.detail-asset .detail-body a[href*=".gz?"],
html.js.detail-ready .detail-page.detail-asset .detail-body a[href*=".gz#"],
html.js.detail-ready .detail-page.detail-asset .detail-body a[href$=".bz2"],
html.js.detail-ready .detail-page.detail-asset .detail-body a[href*=".bz2?"],
html.js.detail-ready .detail-page.detail-asset .detail-body a[href*=".bz2#"],
html.js.detail-ready .detail-page.detail-asset .detail-body a[href$=".xz"],
html.js.detail-ready .detail-page.detail-asset .detail-body a[href*=".xz?"],
html.js.detail-ready .detail-page.detail-asset .detail-body a[href*=".xz#"] {
  visibility: visible;
  pointer-events: auto;
}

.detail-body p {
  margin: 0 0 18px 0;
  font-size: 16px;
}

.detail-body ul {
  margin: 20px 0 24px 20px;
  padding: 0;
}

.detail-body li {
  margin: 0 0 8px 0;
  font-size: 16px;
  line-height: 1.65;
}
.detail-body li:last-child {
  margin-bottom: 0;
}

.detail-body hr {
  border: none;
  border-top: 1px solid #E2E2E2;
  margin: 0;
}

.collapse-toggle {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 0;
  border: none;
  background: transparent;
  color: #999999;
  font-weight: 100;
  font-size: 12px;
  cursor: pointer;
  margin: 10px 0 30px 0;
}

.collapse-toggle:hover {
  color: #6b7280;
}

.collapse-meta {
  color: #999999;
  font-weight: 100;
  font-size: 12px;
}

.collapse-toggle.bottom {
  display: none;
  justify-content: space-between;
  width: 100%;
  margin: 12px 0 16px;
  align-items: center;
}

.detail-meta {
  background: #f8f8f8;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 500px;
  box-sizing: border-box;
  margin: 0 auto;
}

.meta-left {
  display: grid;
  gap: 12px;
}

.file-types {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}

.pill.green {
  background: #d7e8c8;
  color: #5D8662;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 300;
}

.release {
  color: #707070;
  font-size: 14px;
  font-weight: 300;
}

.meta-right {
  display: grid;
  gap: 12px;
  align-items: center;
  justify-items: end;
}

.remix {
  color: #666666;
  font-size: 12px;
}

.meta-id {
  border: 1px solid #666666;
  border-radius: 6px;
  padding: 1px 6px;
  font-size: 10px;
  color: #666666;
  position: relative;
  cursor: pointer;
}

@media (max-width: 600px) {
  .detail-meta {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .detail-meta .meta-left,
  .detail-meta .meta-right {
    width: 100%;
    justify-items: center;
    text-align: center;
  }

  .detail-meta .file-types {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* Page-specific wrappers (based on slug) */
.page-about .detail-body,
.page-license .detail-body,
.page-upgrade .detail-body,
.page-activate .detail-body,
.page-reset-password .detail-body,
.page-sign-in .detail-body {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 20px;
}

.page-upgrade .detail-body,
.page-activate .detail-body,
.page-reset-password .detail-body,
.page-sign-in .detail-body {
  box-shadow: 0 18px 44px rgba(124, 143, 181, 0.14);
}

.page-license .detail-body {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.page-upgrade .detail-body {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.page-sign-in .detail-body,
.page-reset-password .detail-body,
.page-activate .detail-body {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.page-about .detail-body {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.page-about .detail-body {
  max-width: 820px;
  text-align: center;
}

.page-about .about-title {
  margin: 0;
  font-size: 30px;
  font-weight: 900;
  background-image: linear-gradient(270deg, rgb(215, 73, 175) 0%, rgb(74, 177, 241) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-about .about-subtitle {
  color: #0f1115;
  margin: 16px 0 16px;
  font-weight: 300;
  font-size: 18px;
  display: block;
}

.page-about .crumbs {
  margin-top: 8px;
}

.page-about .detail-header {
  text-align: center;
}

.page-about .about-hero {
  margin: 14px auto 10px;
  display: grid;
  gap: 8px;
}

.page-about .about-hero img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.page-about .about-tagline {
  color: #999;
  font-size: 14px;
  font-weight: 400;
  margin: 10px 0 16px;
}

.page-about .about-copy {
  text-align: left;
  display: grid;
  gap: 18px;
  margin: 14px 20px 18px;
  max-width: 680px;
}

.page-about .about-copy a {
  color: #111827;
  font-weight: 700;
}

.page-about .about-contact {
  text-align: left;
  font-size: 14px;
  color: #111827;
  display: grid;
  gap: 6px;
  margin: 14px 20px 18px;
}

.page-about .about-contact a {
  color: #0f1115;
  font-weight: 400;
}

.license-card {
  background: #fdf7fb;
  border-radius: 18px;
  padding: 40px 20px 20px 20px;
  max-width: 820px;
  margin: 0 auto;
  color: #111827;
  font-size: 16px;
  line-height: 1.6;
  display: grid;
  gap: 10px;
}

.license-card .license-title {
  margin: 0;
  font-weight: 800;
  font-size: 16px;
}

.license-card ul {
  margin: 0 0 20px 0;
  padding-left: 24px;
  display: grid;
}

.license-attachment {
  margin: 24px auto 0;
  max-width: 820px;
  display: grid;
  gap: 20px;
  color: #6b7280;
  font-size: 14px;
}

.attachment-label {
  text-align: center;
  font-weight: 700;
  color: #777;
  font-size: 12px;
  position: relative;
  padding: 10px 0;
}

.attachment-label::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: #e5e7eb;
}

.attachment-body {
  display: grid;
  color: #999;
  font-size: 15px;
  line-height: 1.75;
}

.attachment-body p {
  font-size: 12px;
  line-height: 1.65;
}

.license-section-title {
  margin: 14px 0 2px;
  font-weight: 800;
  color: #777;
  font-size: 15px;
}
.page-about .about-link {
  font-weight: 400;
}

.page-about .footer {
  margin-top: 32px;
}

/* Forms (activate / sign-in / reset) */
.page-activate .detail-body,
.page-sign-in .detail-body,
.page-reset-password .detail-body {
  max-width: 520px;
  margin: 0 auto;
}

.auth-body {
  max-width: 520px;
  width: 100%;
}

.auth-title {
  margin: 0;
  font-size: 30px;
  font-weight: 900;
  background-image: linear-gradient(270deg, rgb(215, 73, 175) 0%, rgb(74, 177, 241) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-align: center;
}

.auth-subtitle {
  text-align: center;
  color: #6b7280;
  font-size: 16px;
  font-weight: 300;
  margin: 6px 0 12px;
}

.auth-form {
  display: grid;
  gap: 14px;
  margin: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.form-label {
  font-size: 14px;
  font-weight: 500;
  color: #0f1115;
  margin-left: 2px;
}

.form-input {
  background: linear-gradient(180deg, #f7f7f9 0%, #f3f3f5 100%);
  border: 1px solid #e1e4ea;
  border-radius: 8px;
  padding: 16px;
  font-size: 15px;
  font-weight: 300;
  color: #6b7280;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-input:focus {
  border-color: #0f1115;
  color: #0f1115;
}

.form-submit {
  width: 100%;
  padding: 14px 16px;
  border-radius: 8px;
  border: none;
  background: #0f1115;
  color: #fff;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
  margin-top: 4px;
}

.form-submit:hover {
  background: #3B3B3D;
  transform: none;
}

.form-hint {
  text-align: center;
  color: #8b8f99;
  font-size: 13px;
  font-weight: 600;
}

.form-link {
  color: #0f1115;
  font-weight: 800;
  font-size: 12px;
  display: inline-block;
  margin-top: 4px;
}

.form-link-inline {
  color: #8b8f99;
  font-size: 13px;
  font-weight: 300;
}

.page-account .detail-body {
  max-width: 520px;
  margin: 0 auto;
}

.page-account .account-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 18px;
  margin: 18px auto 0;
}

.page-account .account-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 4px 2px 14px;
}

.page-account .account-avatar {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #f3f4f6;
  color: #6b7280;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.page-account .account-meta {
  display: grid;
  gap: 2px;
}

.page-account .account-name {
  font-size: 20px;
  font-weight: 800;
  color: #0f1115;
  line-height: 1.1;
}

.page-account .account-email {
  font-size: 14px;
  font-weight: 300;
  color: #6b7280;
}

.page-account .account-form.auth-form {
  margin: 0;
}

.page-account .account-action {
  padding: 14px 16px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 16px;
}

.auth-foot {
  text-align: center;
  margin-top: 10px;
  display: grid;
  gap: 6px;
  color: #8b8f99;
  font-weight: 300;
}

.auth-foot .foot-link {
  color: #0f1115;
  font-weight: 500;
}

.muted-note {
  text-align: center;
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
}

/* Upgrade page sections */
.page-upgrade .detail-body {
  max-width: 820px;
  margin: 0 auto;
  width: 100%;
}

.page-upgrade .detail-header h1 {
  color: transparent;
  background-image: linear-gradient(270deg, rgb(215, 73, 175) 0%, rgb(74, 177, 241) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin: 64px 0 22px;
}

.pricing-card {
  border: 1px solid #e3e3e3;
  border-radius: 12px;
  padding: 30px;
  background: #fff;
  display: grid;
  gap: 16px;
  height: 100%;
}

.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 200;
  text-transform: none;
  border-radius: 6px;
  padding: 2px 8px;
}

.pill-lime {
  background: #DEFF17;
  color: #0f1115;
}

.pill-pink {
  background: #ffe4f5;
  color: #0F1115;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 8px 0;
}

.price-main {
  font-size: 52px;
  font-weight: 900;
  color: #0f1115;
  font-family: 'Black Han Sans', 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.price-old {
  font-size: 20px;
  font-weight: 300;
  color: #666;
  text-decoration: line-through;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: #111827;
}

.pricing-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.pill-tag.subtle {
  background: #fcf2fc;
  color: #ff4cb4;
}

.btn-wide {
  width: 100%;
}

.pricing-btn {
  padding: 10px 18px;
}

.btn-outline {
  background: #fff;
  color: #0f1115;
  border: 1.25px solid #0f1115;
}

.price-caption {
  text-align: center;
  color: #666;
  font-size: 16px;
  font-weight: 300;
}

.pricing-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 6px 0 2px;
}

.pricing-features {
  display: grid;
  gap: 12px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 300;
  color: #0f1115;
}

.feature-item .check {
  color: #22c55e;
  font-weight: 800;
}

.upgrade-note {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
  color: #6b7280;
  font-size: 18px;
  font-weight: 300;
  line-height: 150%;
}

.upgrade-pay {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #666;
  font-weight: 300;
  font-size: 14px;
}

.upgrade-pay .lsq-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #5523e8;
  padding: 4px;
}

.upgrade-vat {
  background: #f4f4fb;
  color: #666;
  padding: 2px 12px;
  border-radius: 8px;
  font-size: 10px;
  line-height: 16px;
}

.upgrade-already {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #666;
  font-weight: 300;
  margin-top: 30px;
}

.upgrade-already .dash {
  color: #9ca3af;
}

.upgrade-actions {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  font-weight: 500;
  color: #0f1115;
  margin-top: 10px;
}

.upgrade-actions .sep {
  color: #9ca3af;
  font-weight: 300;
  font-size: 12px;
}

.qa-label {
  text-align: center;
  margin-top: 26px;
  margin-bottom: 8px;
  font-size: 22px;
  font-weight: 900;
  background-image: linear-gradient(270deg, rgb(215, 73, 175) 0%, rgb(74, 177, 241) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.qa-section {
  max-width: 820px;
  margin: 20px auto 0;
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
  padding: 16px 24px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: none;
  background: transparent;
  padding: 8px 4px;
  font-size: 16px;
  font-weight: 500;
  color: #0f1115;
  cursor: pointer;
}

.faq-icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  position: relative;
}

.faq-icon::before {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 1px solid #666;
  border-bottom: 1px solid #666;
  transform: rotate(45deg);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.faq-answer {
  margin: 0;
  padding: 12px 4px 10px;
  color: #666;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-item.open .faq-icon::before {
  transform: rotate(-135deg);
}

.faq-item.open {
  border-color: #d7d9de;
}

.meta-id::after {
  content: attr(data-full-id);
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.14);
  border-radius: 14px;
  padding: 10px 12px;
  color: #111827;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.12s ease, transform 0.12s ease;
  z-index: 5;
}

.meta-id:hover::after {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 600px), (hover: none), (pointer: coarse) {
  /* Mobile: disable the full ID tooltip bubble to avoid off-screen overflow. */
  .meta-id {
    cursor: default;
  }

  .meta-id::after {
    content: none !important;
    display: none !important;
  }
}

/* About hero block */
.page-about .viewer-canvas {
  background: #ffdbe9;
}

/* Mobile: prevent long-press image actions (soft protection) */
@media (hover: none), (pointer: coarse) {
  .viewer-canvas img,
  .item-media img,
  .thumb img {
    pointer-events: none;
  }
}

.page-about .detail-body {
  text-align: center;
  line-height: 1.7;
  font-size: 14px;
}

/* Locked inputs (only used on Account / Sign Up) */
.page-account .form-input.is-locked,
.page-sign-up .form-input.is-locked {
  pointer-events: none;
  cursor: default;
  background: var(--muted);
  color: #6b7280;
}

/* Toast (non-blocking alerts) */
.funnnit-toast {
  position: fixed;
  top: 88px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: min(520px, calc(100vw - 32px));
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.funnnit-toast.is-visible {
  opacity: 1;
}

.funnnit-toast__inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  box-shadow:
    rgba(0, 9, 50, 0.08) 0px 0.602187px 0.602187px -1.25px,
    rgba(0, 9, 50, 0.07) 0px 2.28853px 2.28853px -2.5px,
    rgba(0, 9, 50, 0.03) 0px 10px 10px -3.75px;
}

.funnnit-toast__message {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  line-height: 1.35;
}

.funnnit-toast__close {
  appearance: none;
  border: 0;
  background: transparent;
  color: #6b7280;
  font-size: 18px;
  line-height: 1;
  padding: 0 2px;
  cursor: pointer;
}

.funnnit-toast[data-variant="success"] .funnnit-toast__inner {
  border-color: rgba(16, 185, 129, 0.22);
  background: rgba(236, 253, 245, 0.82);
}

.funnnit-toast[data-variant="error"] .funnnit-toast__inner {
  border-color: rgba(239, 68, 68, 0.22);
  background: rgba(254, 242, 242, 0.82);
}

.funnnit-toast[data-variant="warning"] .funnnit-toast__inner {
  border-color: rgba(245, 158, 11, 0.24);
  background: rgba(255, 251, 235, 0.82);
}

@media (max-width: 768px) {
  .navbar {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links {
    display: none;
  }

  .page {
    padding-top: 80px;
  }

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

  .item-media {
    min-height: 180px;
  }

  .promo h3 {
    font-size: 26px;
  }

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