:root {
  --bg: #f8f1e4;
  --panel: rgba(255, 255, 255, 0.72);
  --ink: #0f1715;
  --muted: #52615c;
  --line: rgba(15, 23, 21, 0.12);
  --safe: #1a8f74;
  --review: #b66918;
  --risk: #b63b3f;
  --accent: #0f1715;
  --accent-soft: #44d7b6;
  --sand: #f1d5a4;
  --shadow: 0 22px 60px rgba(15, 23, 21, 0.12);
  --radius: 24px;
}

body[data-theme="dark"] {
  --bg: #111618;
  --panel: rgba(18, 23, 26, 0.82);
  --ink: #f7f1e7;
  --muted: #b0a89b;
  --line: rgba(247, 241, 231, 0.12);
  --safe: #4dcbb0;
  --review: #e3b05e;
  --risk: #ea7c7a;
  --accent: #f7f1e7;
  --accent-soft: #4dd8bb;
  --sand: #56442d;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(68, 215, 182, 0.25), transparent 38%),
    radial-gradient(circle at bottom right, rgba(241, 213, 164, 0.45), transparent 28%),
    linear-gradient(180deg, #fcf9f2 0%, #f7efdf 52%, #f3ebdc 100%);
  font: 16px/1.6 "Newsreader", serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(15, 23, 21, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 21, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  content: "";
  pointer-events: none;
}

.mc-splash {
  position: fixed;
  inset: 0;
  z-index: 80;
  overflow: hidden;
  pointer-events: none;
}

.mc-splash__animal {
  position: fixed;
  display: grid;
  place-items: end center;
  opacity: 0;
  filter: drop-shadow(0 16px 24px rgba(15, 23, 21, 0.15));
  transform-origin: center bottom;
  will-change: transform, opacity;
}

.mc-splash__animal::after {
  display: block;
  width: 54%;
  height: 12px;
  border-radius: 999px;
  background: rgba(15, 23, 21, 0.14);
  filter: blur(6px);
  content: "";
  animation: mc-splash-shadow 0.7s ease-in-out infinite;
}

.mc-splash__animal--left {
  left: -8px;
  animation: mc-splash-left 4.45s cubic-bezier(0.2, 0.8, 0.16, 1) var(--mc-delay, 0s) both;
}

.mc-splash__animal--bottom {
  left: 50%;
  bottom: -12px;
  animation: mc-splash-bottom 4.3s cubic-bezier(0.2, 0.82, 0.16, 1) var(--mc-delay, 0s) both;
}

.mc-splash__animal--right {
  right: -8px;
  animation: mc-splash-right 4.45s cubic-bezier(0.2, 0.8, 0.16, 1) var(--mc-delay, 0s) both;
}

.mc-splash__sprite-shell {
  position: relative;
  display: grid;
  place-items: center;
}

.mc-splash__sprite {
  width: clamp(132px, 14vw, 236px);
  height: auto;
  image-rendering: pixelated;
}

.mc-splash__animal--right .mc-splash__sprite-shell {
  transform: scaleX(-1);
}

.mc-splash__animal--chick {
  bottom: 21vh;
}

.cute-toggle {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 120;
  display: grid;
  grid-template-columns: 34px auto 4px;
  align-items: center;
  gap: 10px;
  min-width: 126px;
  height: 58px;
  padding: 8px 10px 8px 8px;
  border: 2px solid #0f0f0f;
  border-bottom-width: 3px;
  background:
    linear-gradient(180deg, #5c8d2d 0 18%, #486f28 18% 58%, #35531e 58% 100%);
  box-shadow:
    inset 2px 2px 0 rgba(255, 255, 255, 0.14),
    inset -2px -2px 0 rgba(0, 0, 0, 0.3),
    0 4px 0 rgba(0, 0, 0, 0.22);
  color: #faf7ef;
  cursor: pointer;
  image-rendering: pixelated;
  text-align: left;
  white-space: nowrap;
}

.cute-toggle:hover {
  filter: brightness(1.04);
}

.cute-toggle::before,
.cute-toggle::after {
  content: "";
}

.cute-toggle::before {
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(15, 15, 15, 0.36);
  pointer-events: none;
}

.cute-toggle::after {
  width: 4px;
  height: 100%;
  justify-self: end;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.75) 0 50%, rgba(255, 255, 255, 0.18) 50% 100%);
  opacity: 0.7;
}

.cute-toggle:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 4px;
}

.cute-toggle:active {
  transform: translateY(3px);
  box-shadow:
    inset 2px 2px 0 rgba(255, 255, 255, 0.08),
    inset -2px -2px 0 rgba(0, 0, 0, 0.34),
    0 2px 0 rgba(0, 0, 0, 0.2);
}

.cute-toggle[data-cute-enabled="false"] {
  background:
    linear-gradient(180deg, #5b5653 0 18%, #46413f 18% 58%, #2e2a28 58% 100%);
}

.cute-toggle__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 2px solid #111111;
  background: rgba(0, 0, 0, 0.16);
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, 0.12),
    inset -1px -1px 0 rgba(0, 0, 0, 0.25);
}

.cute-toggle[data-cute-enabled="false"] .cute-toggle__icon {
  background: rgba(255, 255, 255, 0.05);
}

.cute-toggle__icon-art {
  width: 24px;
  height: 24px;
  display: block;
}

.cute-toggle[data-cute-enabled="false"] .cute-toggle__icon-art {
  filter: saturate(0.34) brightness(0.9);
}

.cute-toggle__text {
  display: grid;
  justify-items: start;
  line-height: 0.96;
}

.cute-toggle__label,
.cute-toggle__state {
  font-family: "Chakra Petch", sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cute-toggle__label {
  font-size: 0.88rem;
}

.cute-toggle__state {
  font-size: 1.08rem;
}

.mc-splash__animal--turtle {
  bottom: 5vh;
}

.mc-splash__animal--piglet {
  bottom: -14px;
}

.mc-splash__animal--lamb {
  bottom: 11vh;
}

.mc-splash__animal--wolf {
  bottom: 23vh;
}

.mc-splash__animal--chick .mc-splash__sprite {
  width: clamp(88px, 8vw, 124px);
}

.mc-splash__animal--turtle .mc-splash__sprite {
  width: clamp(124px, 11vw, 178px);
}

.mc-splash__animal--piglet .mc-splash__sprite {
  width: clamp(196px, 19vw, 304px);
}

.mc-splash__animal--lamb .mc-splash__sprite {
  width: clamp(164px, 15vw, 236px);
}

.mc-splash__animal--wolf .mc-splash__sprite {
  width: clamp(150px, 14vw, 216px);
}

@keyframes mc-splash-left {
  0% {
    transform: translate3d(-122%, 12%, 0) scale(0.92);
    opacity: 0;
  }

  12% {
    opacity: 1;
  }

  26% {
    transform: translate3d(6%, -4%, 0) scale(1);
    opacity: 1;
  }

  44% {
    transform: translate3d(4%, 2%, 0) scale(0.99);
    opacity: 1;
  }

  74% {
    transform: translate3d(10%, 0, 0) scale(1);
    opacity: 1;
  }

  100% {
    transform: translate3d(-136%, 12%, 0) scale(0.94);
    opacity: 0;
  }
}

@keyframes mc-splash-bottom {
  0% {
    transform: translate3d(-50%, 126%, 0) scale(0.92);
    opacity: 0;
  }

  14% {
    opacity: 1;
  }

  28% {
    transform: translate3d(-50%, -7%, 0) scale(1);
    opacity: 1;
  }

  42% {
    transform: translate3d(-50%, 4%, 0) scale(0.99);
    opacity: 1;
  }

  72% {
    transform: translate3d(-50%, -1%, 0) scale(1);
    opacity: 1;
  }

  100% {
    transform: translate3d(-50%, 142%, 0) scale(0.94);
    opacity: 0;
  }
}

@keyframes mc-splash-right {
  0% {
    transform: translate3d(122%, 12%, 0) scale(0.92);
    opacity: 0;
  }

  12% {
    opacity: 1;
  }

  26% {
    transform: translate3d(-6%, -4%, 0) scale(1);
    opacity: 1;
  }

  44% {
    transform: translate3d(-4%, 2%, 0) scale(0.99);
    opacity: 1;
  }

  74% {
    transform: translate3d(-10%, 0, 0) scale(1);
    opacity: 1;
  }

  100% {
    transform: translate3d(136%, 12%, 0) scale(0.94);
    opacity: 0;
  }
}

@keyframes mc-splash-shadow {
  0%,
  100% {
    transform: scaleX(1.05);
    opacity: 0.18;
  }

  50% {
    transform: scaleX(0.82);
    opacity: 0.1;
  }
}

a {
  color: inherit;
}

.site-footer,
main {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  width: min(1440px, calc(100% - 28px));
  margin: 14px auto 0;
}

.brand,
.nav-link,
.nav-dropdown__trigger,
.nav-dropdown__link,
.button,
.eyebrow,
.badge,
.faq-item summary,
.stat-card span,
.toolbar-field span,
.filter-chip,
.filter-count,
.skin-card__meta,
.skin-card__link,
.submission-hint,
.submission-status {
  font-family: "Chakra Petch", sans-serif;
}

.brand {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-header--app {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0 14px;
  border-bottom: 1px solid var(--line);
}

.site-header__left,
.site-header__right,
.brand--app,
.shell-nav,
.nav-dropdown__menu {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand--app {
  gap: 14px;
  font-size: 1.4rem;
  letter-spacing: 0.03em;
  text-transform: none;
}

.brand__mark {
  position: relative;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.35), transparent),
    linear-gradient(180deg, rgba(68, 215, 182, 0.16), rgba(241, 213, 164, 0.12));
}

.brand__mark span {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--ink);
}

.brand__mark span:nth-child(1) {
  top: 10px;
  left: 10px;
}

.brand__mark span:nth-child(2) {
  top: 10px;
  right: 10px;
}

.brand__mark span:nth-child(3) {
  bottom: 10px;
  left: 10px;
}

.brand__mark span:nth-child(4) {
  bottom: 10px;
  right: 10px;
}

.shell-nav {
  flex-wrap: wrap;
  gap: 18px;
}

.nav-link,
.nav-dropdown__trigger,
.nav-dropdown__link {
  min-height: 44px;
  padding: 0 2px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 44px;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.nav-link:hover,
.nav-link.is-active,
.nav-dropdown__trigger:hover,
.nav-dropdown__trigger.is-active,
.nav-dropdown__link:hover,
.nav-dropdown__link.is-current {
  color: var(--ink);
}

.nav-link.is-active,
.nav-dropdown__trigger.is-active {
  box-shadow: inset 0 -2px 0 var(--ink);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.nav-dropdown__arrow {
  display: inline-block;
  font-size: 0.78rem;
  line-height: 1;
  transition: transform 160ms ease;
}

.nav-dropdown.is-open .nav-dropdown__arrow {
  transform: rotate(180deg);
}

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 20;
  min-width: 260px;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.nav-dropdown__placeholder {
  display: grid;
  gap: 8px;
  padding: 6px 4px;
}

.nav-dropdown__placeholder strong {
  font: 700 0.96rem/1.2 "Chakra Petch", sans-serif;
}

.nav-dropdown__placeholder p {
  margin: 0;
  color: var(--muted);
  font: 0.92rem/1.5 "Newsreader", serif;
}

.nav-dropdown__link {
  line-height: 1.2;
  display: flex;
  align-items: center;
}

.site-header__right {
  margin-left: auto;
  position: relative;
}

.editor-icon-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  cursor: pointer;
}

body[data-theme="dark"] .editor-icon-button {
  background: rgba(18, 23, 26, 0.9);
}

.editor-account-button {
  min-height: 50px;
  padding: 6px 14px 6px 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.editor-account-button__avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.42), transparent 38%),
    linear-gradient(135deg, var(--accent-soft), var(--sand));
  color: #111111;
  font: 700 0.92rem/1 "Chakra Petch", sans-serif;
}

.editor-account-button__label {
  font: 700 0.84rem/1 "Chakra Petch", sans-serif;
}

.editor-account-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 30;
  min-width: 260px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

body[data-theme="dark"] .editor-account-menu {
  background: rgba(18, 23, 26, 0.96);
}

body[data-theme="dark"] .nav-dropdown__menu {
  background: rgba(18, 23, 26, 0.96);
}

.editor-account-menu__section + .editor-account-menu__section {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.editor-account-menu__item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 12px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: 700 0.94rem/1.2 "Chakra Petch", sans-serif;
  text-align: left;
}

.editor-account-menu__item:hover:not(:disabled) {
  background: rgba(68, 215, 182, 0.16);
}

.editor-account-menu__item:disabled {
  opacity: 0.75;
  cursor: default;
}

.editor-account-menu__icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.hero,
.section,
.editor-panel,
.category-panel,
.legal-strip {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 28px;
  margin: 20px auto 28px;
  padding: 32px;
  border-radius: calc(var(--radius) + 12px);
}

.hero-subpage {
  margin-top: 18px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0 0 12px;
  font-family: "Chakra Petch", sans-serif;
  line-height: 1.05;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 5.2rem);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

h3 {
  font-size: 1.15rem;
}

.hero__lede,
.section-heading p,
.category-panel p,
.legal-strip p,
.editor-caption {
  color: var(--muted);
}

.hero__actions,
.editor-toolbar,
.filter-bar,
.skin-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.button-primary {
  background: var(--accent);
  color: #f8f1e4;
}

.button-secondary {
  background: transparent;
}

.hero__stats,
.queue-grid {
  display: grid;
  gap: 14px;
}

.stat-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
}

.stat-card strong {
  display: block;
  margin-bottom: 6px;
  font-family: "Chakra Petch", sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.section {
  margin: 28px auto;
  padding: 28px;
  border-radius: var(--radius);
}

.section-grid,
.editor-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.section-grid--single {
  grid-template-columns: 1fr;
}

.section-heading {
  margin-bottom: 20px;
}

.skin-grid,
.queue-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.skin-card,
.queue-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 260px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.56)),
    linear-gradient(180deg, rgba(68, 215, 182, 0.1), transparent);
}

.skin-card.is-hidden {
  display: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
}

.badge-license {
  border: 1px solid var(--line);
  background: rgba(15, 23, 21, 0.05);
}

.status-safe {
  background: rgba(26, 143, 116, 0.14);
  color: var(--safe);
}

.status-review {
  background: rgba(182, 105, 24, 0.14);
  color: var(--review);
}

.status-risk {
  background: rgba(182, 59, 63, 0.14);
  color: var(--risk);
}

.skin-card__meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  letter-spacing: 0.03em;
}

.skin-card__note {
  margin: 0;
  flex: 1;
}

.skin-card__link {
  margin-top: auto;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration-thickness: 2px;
}

.legal-strip {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  padding: 28px;
  border-radius: var(--radius);
}

.faq-section__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: 18px;
  align-items: end;
}

.faq-source {
  margin: 0;
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.62)),
    linear-gradient(180deg, rgba(68, 215, 182, 0.08), transparent);
  overflow: hidden;
}

.faq-item summary {
  position: relative;
  padding: 18px 64px 18px 22px;
  list-style: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--accent);
  content: "+";
  font-size: 1.2rem;
  line-height: 1;
  transform: translateY(-50%);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--muted);
}

.filter-bar {
  align-items: center;
  margin-bottom: 20px;
}

.filter-chip {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 700;
}

.filter-chip.is-active {
  background: var(--accent);
  color: #f8f1e4;
  border-color: var(--accent);
}

.filter-count {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.editor-panel {
  padding: 24px;
  border-radius: var(--radius);
}

.editor-toolbar {
  margin-bottom: 14px;
}

.toolbar-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toolbar-field input,
.toolbar-field select,
.submission-form input,
.submission-form select,
.submission-form textarea {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  font: inherit;
}

.toolbar-checkbox {
  flex-direction: row;
  align-items: center;
  margin-right: 4px;
}

#editor-canvas {
  display: block;
  width: min(100%, 640px);
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  image-rendering: pixelated;
  cursor: crosshair;
}

.submission-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.submission-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.submission-form__wide {
  grid-column: 1 / -1;
}

.submission-hint,
.submission-status {
  margin: 0;
}

.submission-preview {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  border: 1px dashed var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.65);
}

.submission-preview img {
  max-width: 100%;
  max-height: 240px;
  image-rendering: pixelated;
}

.queue-card img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  image-rendering: pixelated;
}

.queue-card p {
  margin: 0;
}

.site-footer {
  padding: 8px 0 40px;
  color: var(--muted);
}

:root {
  --font-ui: "Chakra Petch", sans-serif;
  --font-body: "IBM Plex Sans", sans-serif;
  --shell-height: 92px;
  --page-width: 1280px;
  --mc-bg-top: #24211d;
  --mc-bg-bottom: #171512;
  --mc-panel: #c6c2b8;
  --mc-panel-shadow: #5a554d;
  --mc-panel-edge: #f6f0df;
  --mc-panel-ink: #1a1815;
  --mc-panel-muted: #5f584d;
  --mc-header: rgba(18, 17, 15, 0.96);
  --mc-header-line: #45403a;
  --mc-highlight: #86d45d;
  --mc-highlight-shadow: #3f7e2d;
}

body {
  padding-top: var(--shell-height);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body[data-theme="dark"] {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 24%),
    linear-gradient(180deg, var(--mc-bg-top) 0%, var(--mc-bg-bottom) 100%);
}

body:not([data-theme="dark"]) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 22%),
    linear-gradient(180deg, #e4dfd2 0%, #c9c2b4 100%);
}

body::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.18;
}

main,
.site-footer {
  width: min(var(--page-width), calc(100% - 40px));
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  width: 100%;
  margin: 0;
}

.site-header--app {
  gap: 20px;
  padding: 18px max(20px, calc((100vw - var(--page-width)) / 2));
  border-bottom: 3px solid var(--mc-header-line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 32%),
    var(--mc-header);
  box-shadow: 0 10px 0 rgba(0, 0, 0, 0.2);
}

body:not([data-theme="dark"]) .site-header--app {
  border-bottom-color: #837c71;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent 35%),
    rgba(214, 209, 196, 0.96);
  box-shadow: 0 8px 0 rgba(64, 56, 46, 0.18);
}

.site-header__left,
.site-header__right {
  gap: 18px;
}

.brand,
.nav-link,
.button,
.eyebrow,
.submission-hint,
.submission-status {
  font-family: var(--font-ui);
}

.brand--app {
  gap: 12px;
  font-size: 1.18rem;
  letter-spacing: 0.02em;
}

.brand__mark {
  width: 38px;
  height: 38px;
  border: 3px solid #111111;
  border-radius: 0;
  background: #d6d1c4;
  box-shadow:
    inset 2px 2px 0 var(--mc-panel-edge),
    inset -2px -2px 0 #767066,
    0 3px 0 rgba(0, 0, 0, 0.35);
}

.brand__mark span {
  width: 5px;
  height: 5px;
}

.shell-nav {
  gap: 20px;
}

.nav-link {
  min-height: 52px;
  padding: 0;
  color: #d8d0c2;
  font-size: 0.82rem;
  line-height: 52px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-link:hover,
.nav-link.is-active {
  color: #ffffff;
}

.nav-link.is-active {
  box-shadow: inset 0 -4px 0 var(--mc-highlight);
}

body:not([data-theme="dark"]) .nav-link {
  color: #584f42;
}

body:not([data-theme="dark"]) .nav-link:hover,
body:not([data-theme="dark"]) .nav-link.is-active {
  color: #111111;
}

.editor-icon-button {
  border: 3px solid #0f0f0f;
  border-radius: 0;
  background: #c6c2b8;
  color: var(--mc-panel-ink);
  box-shadow:
    inset 2px 2px 0 var(--mc-panel-edge),
    inset -2px -2px 0 #736d64,
    0 4px 0 rgba(0, 0, 0, 0.28);
}

body[data-theme="dark"] .editor-icon-button {
  background: #c6c2b8;
  color: var(--mc-panel-ink);
}

.editor-account-button {
  min-height: 48px;
  padding: 5px 12px 5px 6px;
  gap: 10px;
}

.editor-account-button__avatar {
  width: 32px;
  height: 32px;
  border-radius: 0;
  background:
    linear-gradient(180deg, #8fd86d 0%, #5ea442 100%);
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, 0.3),
    inset -1px -1px 0 rgba(0, 0, 0, 0.25);
  color: #17240f;
  font: 700 0.78rem/1 var(--font-ui);
}

.editor-account-button__label {
  font: 700 0.72rem/1 var(--font-ui);
  text-transform: uppercase;
}

.editor-account-menu {
  top: calc(100% + 12px);
  min-width: 280px;
  padding: 8px;
  border: 3px solid #101010;
  border-radius: 0;
  background: #c6c2b8;
  color: var(--mc-panel-ink);
  box-shadow:
    inset 2px 2px 0 var(--mc-panel-edge),
    inset -2px -2px 0 #716b63,
    0 8px 0 rgba(0, 0, 0, 0.28);
}

body[data-theme="dark"] .editor-account-menu {
  background: #c6c2b8;
}

.editor-account-menu__section + .editor-account-menu__section {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 2px solid rgba(26, 24, 21, 0.14);
}

.editor-account-menu__item {
  padding: 13px 12px;
  border-radius: 0;
  font: 700 0.76rem/1.3 var(--font-ui);
  text-transform: uppercase;
}

.editor-account-menu__item:hover:not(:disabled) {
  background: rgba(134, 212, 93, 0.18);
}

.hero,
.section,
.editor-panel,
.category-panel,
.legal-strip {
  border: 3px solid #101010;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 22%),
    var(--mc-panel);
  box-shadow:
    inset 2px 2px 0 var(--mc-panel-edge),
    inset -2px -2px 0 var(--mc-panel-shadow),
    0 8px 0 rgba(0, 0, 0, 0.24);
  backdrop-filter: none;
}

.hero {
  margin: 26px auto 28px;
  padding: 26px;
}

.eyebrow {
  color: var(--mc-panel-muted);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}

h1,
h2,
h3 {
  font-family: var(--font-ui);
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(2.15rem, 5vw, 4.2rem);
  line-height: 1.08;
}

.hero__lede,
.section-heading p,
.category-panel p,
.legal-strip p,
.editor-caption,
.stat-card span {
  color: var(--mc-panel-muted);
}

.button {
  min-height: 46px;
  padding: 0 18px;
  border: 3px solid #111111;
  border-radius: 0;
  box-shadow:
    inset 2px 2px 0 rgba(255, 255, 255, 0.28),
    inset -2px -2px 0 rgba(0, 0, 0, 0.24),
    0 4px 0 rgba(0, 0, 0, 0.24);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.button:hover {
  filter: brightness(1.03);
}

.button:active {
  transform: translateY(3px);
  box-shadow:
    inset 2px 2px 0 rgba(255, 255, 255, 0.18),
    inset -2px -2px 0 rgba(0, 0, 0, 0.28),
    0 1px 0 rgba(0, 0, 0, 0.24);
}

.button-primary {
  border-color: #163414;
  background: linear-gradient(180deg, var(--mc-highlight) 0%, #65b548 100%);
  color: #11210c;
}

.button-secondary {
  background: #d9d5cb;
  color: var(--mc-panel-ink);
}

.stat-card {
  border: 3px solid rgba(16, 16, 16, 0.92);
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 22%),
    rgba(235, 232, 223, 0.94);
  box-shadow:
    inset 2px 2px 0 rgba(255, 255, 255, 0.45),
    inset -2px -2px 0 rgba(0, 0, 0, 0.18);
}

.stat-card strong {
  font-family: var(--font-ui);
  font-size: 1.35rem;
  line-height: 1.1;
}

.site-footer {
  padding: 8px 0 30px;
  color: #b9b3a6;
}

.site-footer a {
  color: #e4dfd2;
}

body:not([data-theme="dark"]) .site-footer {
  color: #5a5348;
}

body:not([data-theme="dark"]) .site-footer a {
  color: #2b261f;
}

.cute-toggle,
.mc-splash {
  display: none !important;
}

@media (max-width: 1080px) {
  .hero,
  .section-grid,
  .editor-layout,
  .legal-strip,
  .faq-section__heading,
  .skin-grid,
  .queue-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .cute-toggle {
    top: 12px;
    right: 12px;
    min-width: 114px;
    min-height: 50px;
    gap: 8px;
    padding: 8px 16px 8px 8px;
  }

  .cute-toggle__icon {
    width: 30px;
    height: 30px;
  }

  .cute-toggle__icon-art {
    width: 22px;
    height: 22px;
  }

  .cute-toggle__label {
    font-size: 0.66rem;
  }

  .cute-toggle__state {
    font-size: 1rem;
  }

  .mc-splash__animal--chick {
    bottom: 18vh;
  }

  .mc-splash__animal--turtle {
    bottom: 7vh;
  }

  .mc-splash__animal--wolf {
    bottom: 20vh;
  }

  .mc-splash__animal--chick .mc-splash__sprite {
    width: clamp(76px, 17vw, 104px);
  }

  .mc-splash__animal--turtle .mc-splash__sprite {
    width: clamp(92px, 20vw, 128px);
  }

  .mc-splash__animal--piglet .mc-splash__sprite {
    width: clamp(144px, 33vw, 212px);
  }

  .mc-splash__animal--lamb .mc-splash__sprite {
    width: clamp(120px, 24vw, 170px);
  }

  .mc-splash__animal--wolf .mc-splash__sprite {
    width: clamp(110px, 23vw, 154px);
  }

  .site-header--app {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 0 12px;
  }

  .site-header__left,
  .site-header__right,
  .shell-nav {
    width: 100%;
    flex-wrap: wrap;
  }

  .hero,
  .section,
  .editor-panel,
  .legal-strip {
    padding: 22px;
  }

  .submission-form {
    grid-template-columns: 1fr;
  }

  .filter-count {
    width: 100%;
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mc-splash__animal,
  .mc-splash__animal::after {
    animation-duration: 1.8s !important;
  }
}

@media (max-width: 760px) {
  :root {
    --shell-height: 126px;
  }

  body {
    padding-top: var(--shell-height);
  }

  main,
  .site-footer {
    width: calc(100% - 24px);
  }

  .site-header--app {
    align-items: stretch;
    padding: 14px 12px 12px;
  }

  .site-header__left,
  .site-header__right,
  .shell-nav {
    width: 100%;
  }

  .site-header__left {
    align-items: flex-start;
  }

  .shell-nav {
    gap: 16px;
  }

  .hero {
    padding: 20px;
  }
}
