:root {
  --forest-ink: #10291c;
  --forest-deep: #143d2a;
  --forest: #1b5c3a;
  --leaf: #2d6a4f;
  --leaf-mid: #40916c;
  --mint: #95d5b2;
  --foam: #d8f3dc;
  --cream: #fff8e7;
  --paper: #fffcf3;
  --wood: #7a4a2a;
  --wood-mid: #a36a3a;
  --tan: #c9a06c;
  --banana: #ffe066;
  --banana-deep: #f4c430;
  --sky: #8ecae6;
  --official: #1b5c3a;
  --official-bg: #d8f3dc;
  --legend: #7a4a2a;
  --legend-bg: #ffe8c2;
  --shadow: 0 8px 0 rgba(16, 41, 28, 0.18);
  --radius: 22px;
  --font-display: "Lilita One", "Fredoka", system-ui, sans-serif;
  --font-body: "Fredoka", system-ui, sans-serif;
  --header-offset: 180px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--forest-ink);
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 224, 102, 0.18), transparent 26%),
    radial-gradient(circle at 88% 8%, rgba(142, 202, 230, 0.25), transparent 24%),
    linear-gradient(180deg, #cce3c8 0%, #e7f5e8 18%, #f4ffe8 100%);
  min-height: 100%;
}

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

a { color: var(--leaf); }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--banana);
  color: var(--forest-ink);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  z-index: 20;
}
.skip-link:focus { top: 0.6rem; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 12;
  background: #143d2a;
}
.header-leaves {
  height: 16px;
  margin-bottom: -16px;
  pointer-events: none;
  overflow: hidden;
}
.header-leaves svg {
  width: 100%;
  height: 16px;
  display: block;
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.4rem;
  padding: 0.65rem 0 0.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--cream);
}

.brand-monke img {
  width: 44px;
  height: 44px;
  display: block;
  border-radius: 12px;
  background: #f3efe4;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.35rem;
  justify-content: flex-start;
}

.nav a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
}

.nav a:hover, .nav a:focus-visible {
  background: var(--banana);
  color: var(--forest-ink);
  outline: none;
}

.hero { position: relative; padding-bottom: 1rem; }

.hero-art {
  margin: 0;
  background: var(--paper);
}

.scene {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 8px solid var(--wood);
}

.banner-credit {
  margin: 0;
  padding: 0.45rem 1rem 0.15rem;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: #3d5a40;
}

.hero-copy {
  margin-top: 0.9rem;
  position: relative;
  background: var(--paper);
  border: 4px solid var(--forest-deep);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem 1.4rem 1.5rem;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.6rem;
  background: var(--banana);
  color: var(--forest-ink);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.28rem 0.7rem;
  border-radius: 16px;
  border: 2px solid var(--forest-deep);
  max-width: 100%;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin: 0 0 0.6rem;
}

h1 {
  font-size: clamp(2.3rem, 6vw, 4.2rem);
  color: var(--forest-deep);
}

h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); color: var(--forest-deep); }

.lead {
  margin: 0 0 1.1rem;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  max-width: 42rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.btn {
  appearance: none;
  border: 4px solid var(--forest-deep);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  padding: 0.55rem 1.15rem;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 0 var(--forest-deep);
  transform: translateY(-1px);
}

.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--forest-deep); }

.btn-primary { background: var(--banana); color: var(--forest-ink); }
.btn-wood { background: var(--wood-mid); color: var(--cream); }
.btn-leaf { background: var(--leaf-mid); color: var(--cream); }
.btn:hover, .btn:focus-visible { filter: brightness(1.06); outline: none; }

.fine-print, .footer-note {
  margin: 0;
  font-size: 0.95rem;
  color: #3d5a40;
}

.section { padding: 3rem 0 2.5rem; }
section[id] { scroll-margin-top: var(--header-offset); }
h2 { scroll-margin-top: 0; }

.section-alt {
  background:
    repeating-linear-gradient(135deg, rgba(45, 106, 79, 0.05) 0 16px, transparent 16px 32px),
    #e3f4e4;
  border-block: 6px solid var(--forest-deep);
}

.section-head { max-width: 42rem; margin-bottom: 1.4rem; }
.section-head p { margin: 0; }

.fact-grid, .creature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.card {
  background: var(--paper);
  border: 4px solid var(--forest-deep);
  border-radius: 20px;
  padding: 1rem 1.05rem 1.1rem;
  box-shadow: 0 6px 0 rgba(16, 41, 28, 0.14);
  min-width: 0;
}

.card.is-spotlight {
  outline: 5px solid var(--banana-deep);
  background: #fff6c8;
}

.fact-num {
  font-family: var(--font-display);
  color: var(--leaf);
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.card p { margin: 0; overflow-wrap: break-word; }

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.7rem;
}

.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.chip {
  appearance: none;
  border: 3px solid var(--forest-deep);
  background: var(--paper);
  color: var(--forest-ink);
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
}

.chip.is-active, .chip:hover, .chip:focus-visible {
  background: var(--leaf);
  color: var(--cream);
  outline: none;
}

.search { flex: 1 1 200px; max-width: 320px; }

.search input {
  width: 100%;
  font: 600 1.05rem var(--font-body);
  padding: 0.55rem 0.85rem;
  border: 3px solid var(--forest-deep);
  border-radius: 999px;
  background: var(--paper);
  color: var(--forest-ink);
}

.search input:focus-visible { outline: 3px solid var(--banana-deep); outline-offset: 2px; }

.result-count { margin: 0 0 1rem; font-weight: 600; color: var(--forest); }

.card-top {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.45rem;
  align-items: flex-start;
  margin-bottom: 0.55rem;
}

.card-top h3 {
  font-size: 1.35rem;
  margin: 0;
  overflow-wrap: break-word;
  flex: 1 1 auto;
  min-width: 0;
}

.badge {
  flex-shrink: 0;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-radius: 999px;
  padding: 0.28rem 0.55rem;
  border: 2px solid var(--forest-deep);
  line-height: 1.2;
}

.badge-official { background: var(--official-bg); color: var(--official); }
.badge-legend { background: var(--legend-bg); color: var(--legend); }

.meta {
  margin: 0.7rem 0 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #3d5a40;
}

.legend-note {
  margin: 0.75rem 0 0;
  background: #fff3cd;
  border: 2px dashed var(--wood-mid);
  border-radius: 14px;
  padding: 0.55rem 0.7rem;
  font-size: 0.95rem;
  font-weight: 600;
}


.more-info {
  margin-top: 0.7rem;
}

.more-info summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--forest);
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0;
}

.more-info summary::-webkit-details-marker { display: none; }

.more-info summary::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2rem;
  height: 1.2rem;
  border: 2px solid var(--forest-deep);
  border-radius: 6px;
  background: var(--banana);
  color: var(--forest-ink);
  font-weight: 700;
  line-height: 1;
}

.more-info[open] summary::before { content: "–"; }

.more-info summary:hover,
.more-info summary:focus-visible {
  color: var(--forest-deep);
  outline: none;
}

.detail-list {
  margin: 0.5rem 0 0;
  padding: 0.55rem 0.7rem 0.15rem;
  background: #f3f9ef;
  border: 2px solid var(--forest-deep);
  border-radius: 14px;
}

.detail-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.12rem;
  margin: 0 0 0.55rem;
  align-items: start;
}

.detail-row dt {
  font-weight: 700;
  color: var(--leaf);
  font-size: 0.92rem;
}

.detail-row dd {
  margin: 0;
  font-size: 0.95rem;
  overflow-wrap: break-word;
}



.card.creature-card {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 0.85rem 1.05rem;
}

.card-art {
  aspect-ratio: 1 / 1;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 3px solid var(--forest-deep);
  background: var(--foam);
  margin: 0 0 0.75rem;
}

.card-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.youtuber-card .card-art {
  border-radius: 50%;
  max-width: 240px;
  margin-left: auto;
  margin-right: auto;
}

.youtuber-card .card-art img {
  object-fit: cover;
}

.avatar-credit {
  margin: -0.2rem 0 0.7rem;
  font-size: 0.82rem;
  color: #3d5a40;
  text-align: center;
  line-height: 1.3;
}

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

.card.youtuber-card {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 0.85rem 1.05rem;
}

.youtuber-card .handle {
  margin: 0;
  font-weight: 700;
  color: #3d5a40;
  font-size: 0.98rem;
}

.youtuber-card .subs {
  margin: 0;
}

.yt-facts {
  margin: 0.75rem 0 1rem;
  padding-left: 1.2rem;
}

.yt-facts li {
  margin: 0 0 0.5rem;
}

.yt-facts li:last-child { margin-bottom: 0; }

.unconfirmed {
  font-style: italic;
  font-weight: 700;
}

.youtuber-card .btn {
  margin-top: auto;
  align-self: flex-start;
  font-size: 1.05rem;
  padding: 0.45rem 0.95rem;
}

.credits-heading {
  margin: 2rem 0 0.6rem;
  font-size: 1.5rem;
}

.image-credits {
  font-size: 0.98rem;
  color: #3d5a40;
}

.image-credits p { margin: 0 0 0.5rem; }
.image-credits a { font-weight: 600; }

.empty { font-weight: 700; }

.source-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.55rem 1.2rem;
}
.source-list a {
  font-weight: 600;
  overflow-wrap: break-word;
  color: var(--leaf);
}

.site-footer {
  background: var(--forest-deep);
  color: var(--cream);
  padding: 2rem 0 2.4rem;
  border-top: 8px solid #0d281c;
}

.footer-inner p { margin: 0 0 0.4rem; }
.footer-inner .footer-note { color: var(--mint); }
.footer-inner p:first-child {
  font-family: var(--font-display);
  font-size: 1.4rem;
}


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

.card.guide-card {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 0.85rem 1.05rem;
}

.guide-card .card-art img,
.guide-card .card-art svg {
  object-fit: cover;
}

.guide-card .also-called {
  margin: 0 0 0.45rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #3d5a40;
}

.guide-card .fun-detail {
  margin: 0.7rem 0 0;
  background: #f3f9ef;
  border: 2px solid var(--forest-deep);
  border-radius: 14px;
  padding: 0.55rem 0.7rem;
  font-size: 0.95rem;
}

.badge-current { background: var(--official-bg); color: var(--official); }
.badge-event { background: var(--banana); color: var(--forest-ink); }
.badge-seasonal { background: #d6ecfb; color: #1b4a6a; }
.badge-moved { background: #efe0ff; color: #4a2a6a; }
.badge-removed,
.badge-old { background: var(--legend-bg); color: var(--legend); }

.color-code { margin: 0.35rem 0 0; }
.shared-by {
  font-weight: 600;
  font-style: italic;
  color: #3d5a40;
}

.quiz-box {
  background: var(--paper);
  border: 4px solid var(--forest-deep);
  border-radius: 22px;
  padding: 1.15rem 1.2rem 1.3rem;
  box-shadow: var(--shadow);
  max-width: none;
}

.quiz-progress {
  margin: 0 0 0.7rem;
  font-weight: 700;
  color: var(--leaf);
}

.quiz-question {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.quiz-choices {
  display: grid;
  gap: 0.65rem;
}

.quiz-choice {
  appearance: none;
  text-align: left;
  width: 100%;
  font: 600 1.05rem var(--font-body);
  color: var(--forest-ink);
  background: var(--cream);
  border: 3px solid var(--forest-deep);
  border-radius: 16px;
  padding: 0.7rem 0.9rem;
  cursor: pointer;
}

.quiz-choice:hover,
.quiz-choice:focus-visible {
  background: var(--foam);
  outline: 3px solid var(--banana-deep);
  outline-offset: 2px;
}

.quiz-choice.is-correct {
  background: var(--official-bg);
}

.quiz-choice.is-wrong {
  background: #ffd6d0;
}

.quiz-choice:disabled {
  cursor: default;
}

.quiz-feedback {
  margin: 0.9rem 0 0;
  font-weight: 600;
}

.quiz-feedback.is-correct { color: var(--forest); }
.quiz-feedback.is-wrong { color: var(--wood); }

.quiz-score {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin: 0 0 0.6rem;
  color: var(--forest-deep);
}

.quiz-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}


.color-match-box {
  background: var(--paper);
  border: 4px solid var(--forest-deep);
  border-radius: 22px;
  padding: 1.15rem 1.2rem 1.3rem;
  box-shadow: var(--shadow);
}

.color-mode-choice {
  display: grid;
  gap: 0.9rem;
}

.color-mode-choice p {
  margin: 0 0 0.3rem;
  font-weight: 600;
}

.color-mode-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.color-mode-btn {
  appearance: none;
  text-align: center;
  font-family: var(--font-display);
  color: var(--forest-ink);
  background: var(--cream);
  border: 4px solid var(--forest-deep);
  border-radius: 22px;
  padding: 1.2rem 1rem 1.15rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  min-height: 7.5rem;
}

.color-mode-btn:hover,
.color-mode-btn:focus-visible {
  background: var(--foam);
  outline: 3px solid var(--banana-deep);
  outline-offset: 2px;
}

.color-mode-btn .mode-title {
  display: block;
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

.color-mode-btn .mode-blurb {
  display: block;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: #3d5a40;
}

.color-mode-btn.is-guess {
  background: var(--banana);
}

.color-mode-btn.is-free {
  background: var(--foam);
}

.color-match-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1rem;
  margin-bottom: 0.9rem;
}

.color-match-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 1rem;
  font-weight: 700;
  color: var(--leaf);
}

.color-lives {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.color-lives .life {
  width: 28px;
  height: 28px;
}

.color-lives .life.is-gone {
  opacity: 0.28;
  filter: grayscale(1);
}

.color-match-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.color-match-stage.is-single {
  grid-template-columns: 1fr;
  max-width: 340px;
  margin-inline: 0;
  width: 100%;
}

.monke-panel {
  background: var(--cream);
  border: 3px solid var(--forest-deep);
  border-radius: 18px;
  padding: 0.7rem 0.7rem 0.85rem;
  text-align: center;
}

.monke-panel .panel-label {
  margin: 0 0 0.4rem;
  font-weight: 700;
  color: var(--forest-deep);
}

.monke-panel .panel-code {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  color: var(--forest-deep);
}

.monke-frame {
  --fur: #2a2a2c;
  --fur-light: #59595a;
  --fur-dark: #1e1e20;
  --fur-mid: #3d3d3e;
  --face: #a0a0a4;
  --face-shadow: #8a8a8d;
  --face-shine: #ababaf;
  --nose: #5f5f62;
  --nose-dark: #424245;
  --mouth: #49494a;
  width: min(100%, 280px);
  margin-inline: auto;
}

.monke-frame svg {
  width: 100%;
  height: auto;
  display: block;
}

.color-sliders {
  display: grid;
  gap: 0.85rem;
  margin: 0 0 1rem;
}

.color-slider {
  display: grid;
  grid-template-columns: 4.2rem 1fr 2rem;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
}

.color-slider .slider-name { color: var(--forest-deep); }

.color-slider .slider-val {
  font-family: var(--font-display);
  font-size: 1.4rem;
  text-align: center;
  color: var(--forest-deep);
}

.color-slider input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 22px;
  border-radius: 999px;
  border: 3px solid var(--forest-deep);
  background: #ddd;
  margin: 0;
}

.color-slider input[type="range"]:focus-visible {
  outline: 3px solid var(--banana-deep);
  outline-offset: 3px;
}

.color-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid var(--forest-deep);
  background: var(--thumb, #fff);
  box-shadow: 0 3px 0 rgba(16, 41, 28, 0.25);
  cursor: pointer;
}

.color-slider input[type="range"]::-moz-range-thumb {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid var(--forest-deep);
  background: var(--thumb, #fff);
  box-shadow: 0 3px 0 rgba(16, 41, 28, 0.25);
  cursor: pointer;
}

.color-slider.is-red input[type="range"] {
  background: linear-gradient(90deg, #1a0000, #ff2a2a);
  --thumb: #ff4d4d;
}
.color-slider.is-green input[type="range"] {
  background: linear-gradient(90deg, #001a00, #2aff4d);
  --thumb: #3ddc6a;
}
.color-slider.is-blue input[type="range"] {
  background: linear-gradient(90deg, #00001a, #2a6aff);
  --thumb: #4d7aff;
}

.color-guess-code {
  margin: 0 0 0.9rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  color: var(--forest-deep);
}

.color-match-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.color-feedback {
  margin: 0.9rem 0 0;
  font-weight: 700;
  font-size: 1.15rem;
  min-height: 1.5em;
}

.color-feedback.is-perfect { color: var(--forest); }
.color-feedback.is-close { color: var(--leaf); }
.color-feedback.is-miss { color: var(--wood); }

.color-game-over {
  text-align: center;
  padding: 0.4rem 0 0.2rem;
}

.color-game-over .quiz-score { margin-top: 0.4rem; }

.color-back {
  appearance: none;
  background: none;
  border: 0;
  font: 700 1rem var(--font-body);
  color: var(--leaf);
  cursor: pointer;
  text-decoration: underline;
  padding: 0.3rem 0;
}

.color-back:hover,
.color-back:focus-visible {
  color: var(--forest-deep);
  outline: none;
}

@media (max-width: 700px) {
  .color-mode-buttons { grid-template-columns: 1fr; }
  .color-match-stage { grid-template-columns: 1fr; }
  .color-match-stage.is-single { max-width: none; }
  .color-slider {
    grid-template-columns: 3.6rem 1fr 1.8rem;
    gap: 0.5rem;
  }
}


#cosmetics .filters { max-width: 100%; }
#cosmetics .search { max-width: 280px; }

.cosmetic-group {
  background: var(--paper);
  border: 4px solid var(--forest-deep);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 0 0 0.9rem;
  overflow: hidden;
}

.cosmetic-group summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.8rem 1rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--forest-deep);
  background: var(--foam);
}

.cosmetic-group summary::-webkit-details-marker { display: none; }

.cosmetic-group summary::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border: 3px solid var(--forest-deep);
  border-radius: 8px;
  background: var(--banana);
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
}

.cosmetic-group[open] summary::before { content: "–"; }

.cosmetic-group summary:hover,
.cosmetic-group summary:focus-visible {
  background: var(--mint);
  outline: none;
}

.cosmetic-group .group-count {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--leaf);
}

.cosmetic-table-wrap { overflow-x: auto; }

.cosmetic-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}

.cosmetic-table th,
.cosmetic-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.55rem 0.85rem;
  border-top: 2px solid rgba(20, 61, 42, 0.12);
}

.cosmetic-table th {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--forest-deep);
  background: #f3efe4;
}

.cosmetic-table tbody tr:nth-child(even) { background: #f7fff8; }

.cosmetic-table .item-name { font-weight: 700; color: var(--forest-ink); }
.cosmetic-table .item-aka {
  display: block;
  font-weight: 500;
  font-size: 0.88rem;
  color: #3d5a40;
}

.cosmetic-table .item-price { white-space: nowrap; font-weight: 600; }
.cosmetic-note {
  margin: 0.4rem 1rem 1rem;
  font-size: 0.95rem;
  color: #3d5a40;
}


.timeline-box {
  background: var(--paper);
  border: 4px solid var(--forest-deep);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.15rem 1.2rem 1.35rem;
}

.timeline-card {
  background: linear-gradient(180deg, #f7fff8 0%, var(--cream) 100%);
  border: 3px solid var(--forest-deep);
  border-radius: 18px;
  padding: 0.95rem 1.1rem 1.05rem;
  min-height: 10.5rem;
}

.timeline-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.7rem;
  align-items: center;
  margin-bottom: 0.35rem;
}

.timeline-count,
.timeline-date {
  margin: 0;
  font-weight: 700;
  font-size: 0.95rem;
}

.timeline-count { color: var(--leaf); }

.timeline-date { color: var(--wood); }

.timeline-card h3 {
  margin: 0.15rem 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1.1;
  color: var(--forest-deep);
}

.timeline-card .timeline-summary {
  margin: 0;
  color: var(--forest-ink);
}

.timeline-source {
  margin: 0.65rem 0 0;
  font-size: 0.9rem;
}

.timeline-controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.7rem;
  align-items: center;
  margin-top: 1.15rem;
}

.timeline-arrow {
  width: 3rem;
  height: 3rem;
  border: 3px solid var(--forest-deep);
  border-radius: 50%;
  background: var(--banana);
  color: var(--forest-ink);
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 0 rgba(16, 41, 28, 0.18);
  flex-shrink: 0;
}

.timeline-arrow:hover,
.timeline-arrow:focus-visible {
  background: #ffe88a;
  outline: none;
}

.timeline-arrow:active { transform: translateY(2px); box-shadow: 0 2px 0 rgba(16, 41, 28, 0.18); }

.timeline-arrow:disabled {
  opacity: 0.45;
  cursor: default;
  transform: none;
}

.timeline-track-wrap {
  min-width: 0;
  padding: 0.2rem 0 0;
}

.timeline-years {
  position: relative;
  height: 1.15rem;
  margin-bottom: 0.15rem;
}

.timeline-year {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--leaf);
  white-space: nowrap;
}

.timeline-year:first-child { transform: translateX(0); }
.timeline-year:last-child { transform: translateX(-100%); }

.timeline-track {
  position: relative;
  height: 52px;
  touch-action: none;
  cursor: pointer;
  outline: none;
}

.timeline-track:focus-visible {
  box-shadow: 0 0 0 3px var(--banana);
  border-radius: 16px;
}

.timeline-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 8px;
  margin-top: -4px;
  background: linear-gradient(90deg, var(--forest-deep), var(--leaf-mid) 40%, var(--mint));
  border: 2px solid var(--forest-deep);
  border-radius: 999px;
}

.timeline-tick {
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  margin-top: -5px;
  background: var(--cream);
  border: 2px solid var(--forest-deep);
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  z-index: 1;
}

.timeline-tick.is-year {
  width: 12px;
  height: 12px;
  margin-left: -6px;
  margin-top: -6px;
  background: var(--mint);
}

.timeline-tick.is-active {
  background: var(--banana);
  z-index: 2;
}

.timeline-tick:focus-visible {
  outline: 3px solid var(--banana);
  outline-offset: 2px;
}

.timeline-thumb {
  position: absolute;
  top: 50%;
  width: 28px;
  height: 28px;
  margin-left: -14px;
  transform: translateY(-50%);
  background: #3ecf72;
  border: 4px solid var(--forest-deep);
  border-radius: 50%;
  box-shadow:
    0 3px 0 rgba(16, 41, 28, 0.28),
    0 0 0 6px rgba(62, 207, 114, 0.28);
  z-index: 4;
  pointer-events: none;
}

.timeline-thumb::after {
  content: "";
  position: absolute;
  inset: -16px;
}

.timeline-track.is-dragging { cursor: grabbing; }
.timeline-track.is-dragging .timeline-thumb {
  transform: translateY(-50%) scale(1.08);
}

@media (max-width: 700px) {
  .timeline-card { min-height: 0; }
  .timeline-card h3 { font-size: 1.4rem; }
  .timeline-controls { gap: 0.4rem; }
  .timeline-arrow { width: 2.7rem; height: 2.7rem; }
  .timeline-track { height: 56px; }
  .timeline-thumb { width: 32px; height: 32px; margin-left: -16px; }
  .timeline-year { font-size: 0.72rem; }
  .timeline-year:not([data-year="2021"]):not([data-year="2024"]):not([data-year="2026"]) {
    display: none;
  }
}

@media (max-width: 700px) {
  .cosmetic-table { font-size: 0.92rem; }
  .cosmetic-table th, .cosmetic-table td { padding: 0.45rem 0.6rem; }
}


@media (max-width: 1280px) and (min-width: 901px) {
  :root { --header-offset: 188px; }
}
@media (max-width: 900px) and (min-width: 701px) {
  :root { --header-offset: 228px; }
}

@media (max-width: 700px) {
  body { font-size: 1.05rem; }
  :root { --header-offset: 172px; }
  .site-header { top: 0; }
  .header-leaves { height: 12px; margin-bottom: -12px; }
  .header-leaves svg { height: 12px; }
  .hero-copy {
    margin-top: 0.75rem;
    padding: 1.1rem 1rem 1.2rem;
  }
  .search { max-width: none; }
  .header-inner {
    padding: 0.5rem 0 0.35rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }
  .nav {
    width: 100%;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0.35rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--mint) transparent;
    padding: 0.15rem 0 0.4rem;
    overscroll-behavior-x: contain;
  }
  .nav a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.85rem;
    font-size: 1rem;
    min-height: 44px;
  }
  .card-top { flex-direction: column; align-items: flex-start; }
}



.hero-willow {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.6vw, 1.7rem);
  color: var(--leaf);
  margin: 0 0 0.1rem;
  letter-spacing: 0.06em;
  line-height: 1;
}

.picks-app { display: grid; gap: 1.5rem; }

.picks-group-title {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--forest-deep);
  letter-spacing: 0.02em;
}
.picks-group-note {
  margin: -0.35rem 0 0.8rem;
  font-weight: 600;
  color: #3d5a40;
}

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

.picks-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--paper);
  border: 4px solid var(--forest-deep);
  border-radius: 20px;
  padding: 0.9rem 0.95rem 1rem;
  box-shadow: 0 6px 0 rgba(16, 41, 28, 0.14);
  min-height: 100%;
}
a.picks-card:hover, a.picks-card:focus-visible {
  outline: 3px solid var(--banana-deep);
  outline-offset: 3px;
  transform: translateY(-2px);
}
.picks-card .card-art {
  margin: 0 0 0.65rem;
  background: var(--foam);
  border-radius: 16px;
  overflow: hidden;
  border: 3px solid var(--forest-deep);
}
.picks-card .card-art img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}
.picks-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--forest-deep);
}
.picks-card p { margin: 0; font-size: 1rem; }
.picks-kicker {
  margin: 0 0 0.25rem;
  font-weight: 700;
  color: var(--leaf);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.picks-card.is-text-only .picks-bow {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  background:
    radial-gradient(circle at 50% 40%, var(--banana) 0 28%, transparent 29%),
    var(--foam);
  border: 3px solid var(--forest-deep);
  border-radius: 16px;
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--forest-deep);
}

.ghost-quiz-box { max-width: none; }
.ghost-result { max-width: 40rem; margin-inline: auto; }
.ghost-result {
  text-align: center;
}
.ghost-result-art {
  width: min(240px, 70%);
  margin: 0.4rem auto 0.8rem;
  background: var(--foam);
  border: 4px solid var(--forest-deep);
  border-radius: 24px;
  overflow: hidden;
}
.ghost-result-art img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}
.ghost-result-name {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin: 0 0 0.6rem;
  color: var(--forest-deep);
}
.ghost-result-blurb {
  margin: 0 auto 0.4rem;
  max-width: 36rem;
  text-align: left;
  font-weight: 500;
}

.name-gen-box {
  background: var(--paper);
  border: 4px solid var(--forest-deep);
  border-radius: 22px;
  padding: 1.2rem 1.2rem 1.4rem;
  box-shadow: var(--shadow);
  text-align: center;
}
.name-gen-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}
.name-gen-btn {
  appearance: none;
  border: 4px solid var(--forest-deep);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3.5vw, 1.7rem);
  letter-spacing: 0.02em;
  padding: 0.7rem 1.4rem;
  min-width: 8.5rem;
  min-height: 56px;
  cursor: pointer;
  box-shadow: 0 5px 0 var(--forest-deep);
  transform: translateY(-1px);
}
.name-gen-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--forest-deep); }
.name-gen-btn:hover, .name-gen-btn:focus-visible {
  filter: brightness(1.06);
  outline: 3px solid var(--banana-deep);
  outline-offset: 3px;
}
.name-gen-boy { background: var(--leaf-mid); color: var(--cream); }
.name-gen-girl { background: var(--banana); color: var(--forest-ink); }
.name-gen-surprise { background: var(--sky); color: var(--forest-ink); }

.name-gen-result {
  margin: 0.4rem 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vw, 3.4rem);
  color: var(--forest-deep);
  line-height: 1.1;
  word-break: break-word;
  min-height: 2.4rem;
}
.name-gen-placeholder {
  color: #5b7a62;
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  font-family: var(--font-body);
  font-weight: 600;
}
.name-gen-meta {
  margin: 0 0 0.9rem;
  font-weight: 600;
  color: #3d5a40;
}
.name-gen-copy {
  min-width: 8rem;
}
.name-gen-copy.is-copied {
  background: var(--official-bg);
}

@media (max-width: 700px) {
  .name-gen-btn { width: 100%; }
  .picks-grid { grid-template-columns: 1fr 1fr; }
  .picks-card.is-text-only { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .picks-grid { grid-template-columns: 1fr; }
  .picks-card.is-text-only { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* Two-page hub and slim subpage header.
   Only section scroll-margin uses --header-offset here; html scroll-padding
   is zeroed so the two don't add together. */
html:has(body.is-home),
html:has(body.is-subpage) {
  scroll-padding-top: 0;
}
body.is-home { --header-offset: 96px; }
body.is-subpage { --header-offset: 140px; }

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem 1rem;
  flex-wrap: wrap;
}

.page-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.page-switch-btn {
  color: var(--forest-ink);
  background: var(--banana);
  text-decoration: none;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 2px solid var(--cream);
  white-space: nowrap;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.page-switch-other {
  background: var(--mint);
  color: var(--forest-ink);
}

.page-switch-btn:hover,
.page-switch-btn:focus-visible {
  background: var(--cream);
  color: var(--forest-ink);
  outline: none;
}

body.is-subpage .jump-nav {
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--mint) transparent;
  overscroll-behavior-x: contain;
  padding: 0.1rem 0 0.25rem;
}

body.is-subpage .jump-nav a {
  flex: 0 0 auto;
}

.section-page-intro {
  padding-top: 1.6rem;
  padding-bottom: 0.4rem;
}

.section-page-intro .lead {
  margin-bottom: 0;
}

.hub-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 0 0 1rem;
}

.hub-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  text-decoration: none;
  color: var(--cream);
  background: linear-gradient(165deg, #3d8b64 0%, #1b5c3a 52%, #143d2a 100%);
  border: 4px solid var(--forest-deep);
  border-radius: 28px;
  padding: 1.35rem 1.3rem 1.45rem;
  box-shadow: 0 8px 0 var(--forest-deep);
  min-height: 190px;
  transform: translateY(-2px);
}

.hub-card-learn {
  background: linear-gradient(165deg, #2d6a4f 0%, #165c3a 52%, #10291c 100%);
}

.hub-card:hover,
.hub-card:focus-visible {
  filter: brightness(1.08);
  outline: 3px solid var(--banana);
  outline-offset: 3px;
}

.hub-card:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 var(--forest-deep);
}

.hub-card-icon {
  font-size: 2.15rem;
  line-height: 1;
}

.hub-card h2 {
  color: var(--banana);
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 2.35rem);
}

.hub-card p {
  margin: 0;
  font-weight: 600;
  color: var(--foam);
  max-width: 22rem;
}

@media (max-width: 900px) {
  body.is-home { --header-offset: 92px; }
  body.is-subpage { --header-offset: 160px; }
}

@media (max-width: 700px) {
  body.is-home { --header-offset: 88px; }
  body.is-subpage { --header-offset: 186px; }
  .hub-cards {
    grid-template-columns: 1fr;
  }
  .hub-card {
    min-height: 0;
    padding: 1.15rem 1.1rem 1.25rem;
  }
  .page-switch {
    width: 100%;
  }
  .page-switch-btn {
    min-height: 44px;
  }
}

/* === seo-2026-11-15 === */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  margin: 0 0 1.05rem;
}
.footer-nav a {
  color: var(--banana);
  font-weight: 700;
  text-decoration: none;
}
.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--cream);
  text-decoration: underline;
}
.footer-nav a[aria-current="page"] {
  color: var(--cream);
  text-decoration: underline;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.15rem;
  list-style: none;
  padding: 0;
  margin: 0 0 0.85rem;
  font-weight: 600;
  font-size: 0.95rem;
}
.crumbs li { display: inline; }
.crumbs li:not(:last-child)::after {
  content: "/";
  color: #3d5a40;
  margin: 0 0.4rem;
}
.crumbs a { color: var(--leaf); text-decoration: none; }
.crumbs a:hover,
.crumbs a:focus-visible { text-decoration: underline; }

.guide-links { margin: 0 0 1rem; }
.guide-links-label { font-weight: 700; margin: 0 0 0.45rem; }
.guide-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.guide-links a {
  display: inline-flex;
  align-items: center;
  background: var(--foam);
  color: var(--forest-ink);
  text-decoration: none;
  font-weight: 700;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 2px solid var(--forest-deep);
  min-height: 40px;
}
.guide-links a:hover,
.guide-links a:focus-visible {
  background: var(--banana);
  outline: none;
}

.standalone-link { margin: 0.4rem 0 0; font-weight: 700; }

.faq-list { display: grid; gap: 0.85rem; }
.faq-item {
  background: var(--paper);
  border: 3px solid var(--forest-deep);
  border-radius: 18px;
  padding: 0.9rem 1.05rem;
  box-shadow: var(--shadow);
}
.faq-item h3 { margin: 0 0 0.35rem; font-size: 1.2rem; }
.faq-item p { margin: 0; }

.guide-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  padding: 0;
  margin: 0.6rem 0 0;
  font-weight: 700;
}
.guide-toc li { list-style: none; }

.update-list { display: grid; gap: 0.85rem; }
.update-item {
  background: var(--paper);
  border: 3px solid var(--forest-deep);
  border-radius: 18px;
  padding: 0.9rem 1.05rem;
  box-shadow: var(--shadow);
}
.update-item h3 { margin: 0 0 0.2rem; }
.update-date { margin: 0 0 0.35rem; font-weight: 700; color: #3d5a40; }
.update-item p { margin: 0; }

body.is-seo-page .jump-nav a[aria-current="page"] {
  background: var(--banana);
  color: var(--forest-ink);
}

.seo-fallback {
  columns: 2;
  column-gap: 1.4rem;
  margin: 0.6rem 0 1rem;
  padding-left: 1.2rem;
}
@media (max-width: 700px) {
  .seo-fallback { columns: 1; }
}
/* === /seo-2026-11-15 === */
