/* SEO pages (/skins/, /guides/, /pricing/) + the SEO blocks on home and editor. Built on style.css + legal.css; generated by tools/build_seo.py */
.h1-kicker { display: block; margin: 0 0 10px; font: 700 clamp(.85rem, 2.6vw, 1rem)/1.2 var(--label); letter-spacing: .04em; color: var(--gold); text-shadow: none; }

/* breadcrumbs */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 12px; padding: 0; list-style: none; font-size: .88rem; color: var(--text-dim); }
.crumbs li + li::before { content: "›"; margin-right: 4px; }
.crumbs a { color: var(--text-dim); }
.crumbs a[aria-current] { color: var(--text); text-decoration: none; }

/* hero */
.seo-hero { padding-bottom: 26px; }
.seo-hero:not(.has-side) { grid-template-columns: 1fr !important; }
.seo-page h1 { font-size: clamp(2rem, 6.5vw, 3.2rem); line-height: 1.05; }
.seo-hero .lead { margin-bottom: 16px; }
.cta-form { max-width: 640px; }
.cta-note { margin: 8px 0 0; font-size: .88rem; color: var(--ink-dim); }
.hero-skins { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 14px; padding-top: 8px; }
.hero-skins img { position: relative; z-index: 2; width: 80px; height: 160px; image-rendering: pixelated; margin-bottom: -20px; filter: drop-shadow(0 10px 8px rgba(0, 0, 0, .45)); }
.hero-skins img:nth-child(2) { width: 100px; height: 200px; }
.hero-skins .grass { position: absolute; bottom: -44px; left: 50%; transform: translateX(-50%); width: 320px; }
@media (max-width: 899px) { .hero-skins { display: none; } }
.byline { margin: 0; font-size: .92rem; color: var(--text-dim); }
.byline a { color: var(--text); }

/* skin gallery */
.skin-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.skin-card { display: grid; justify-items: center; align-content: start; gap: 8px; padding: 14px 8px 12px; background: var(--panel); color: var(--ink);
  border: 3px solid #0b0b0b; box-shadow: inset 3px 3px 0 #fff, inset -3px -3px 0 #555, 0 10px 24px rgba(0, 0, 0, .35); --focus: #0b3fd1; }
.skin-card img { width: 64px; height: 128px; image-rendering: pixelated; }
.skin-card .cap { margin: 0; min-height: 2.6em; font: 500 .82rem/1.3 var(--body); text-align: center; color: var(--ink-dim); }
.card-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.card-actions .dl, .try { font: 700 .88rem var(--display); padding: 7px 10px; min-height: 40px; cursor: pointer; border: 2px solid #0b0b0b; }
.try { color: var(--ink); background: #fff; }
.like { font-size: .84rem; color: var(--ink); min-height: 24px; display: inline-flex; align-items: center; }
@media (prefers-reduced-motion: no-preference) { .skin-card img { transition: transform .12s ease-out; } .skin-card:hover img { transform: translateY(-3px); } }

/* theme tiles (hub) + related themes */
.theme-tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.theme-tiles a { display: grid; justify-items: center; gap: 6px; padding: 14px 8px 12px; text-decoration: none; color: var(--ink); background: var(--panel);
  border: 3px solid #0b0b0b; box-shadow: inset 3px 3px 0 #fff, inset -3px -3px 0 #555, 0 10px 24px rgba(0, 0, 0, .35); --focus: #0b3fd1; }
.tile-skins { display: flex; gap: 6px; align-items: flex-end; }
.tile-skins img, .theme-links img, .idea-skins img { width: 32px; height: 64px; image-rendering: pixelated; }
.tile-skins img:nth-child(2) { width: 40px; height: 80px; }
.tile-name { font: 700 1.05rem var(--display); }
.tile-n { font-size: .82rem; color: var(--ink-dim); }
.related h2 { margin-bottom: 12px; }
.theme-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.theme-links a { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; text-decoration: none; color: var(--text);
  background: var(--btn); border: 2px solid #0b0b0b; box-shadow: inset 2px 2px 0 var(--btn-hi), inset -2px -2px 0 var(--btn-lo); }
.theme-links img { width: 20px; height: 40px; }
.related .more { margin: 16px 0 0; }
.related .more a, .gallery .dim a { color: var(--text); }

/* prose panels (reuses legal.css .doc) */
.doc .qa h3 { font-size: 1.05rem; margin: 18px 0 4px; }
.doc .qa p { margin: 0 0 6px; }
.doc .answer { font-size: 1.04rem; }
.doc .answer p { margin: 0; max-width: none; }
.idea-list { columns: 2 220px; column-gap: 24px; }
.idea-list li { break-inside: avoid; }
.idea-row { display: flex; gap: 16px; align-items: flex-start; }
.idea-skins { display: flex; gap: 6px; flex: none; padding-top: 6px; }
@media (max-width: 520px) { .idea-row { display: block; } .idea-skins { margin-bottom: 4px; } }
.howto li { margin: 8px 0; }
.sources { font-size: .92rem; }
.guide-cta { margin: 26px 0 12px; padding: 14px; background: #e9f7df; border: 3px solid #3a7d24; }
.guide-cta p { margin: 0 0 8px; max-width: none; }
.guide-cta p:last-child { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.guide-cta .btn-gold, .seo-page .doc .btn-gold { display: inline-flex; align-items: center; text-decoration: none; font-size: 1rem; min-height: 46px; padding: 10px 16px; color: #2a1c00; }
.guide-cta .edit { display: inline-flex; align-items: center; color: var(--ink); }
.doc table tr.best td { background: #eafdfd; }
.guide-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.guide-list a { display: grid; gap: 6px; height: 100%; padding: 16px; text-decoration: none; color: var(--ink); background: var(--panel);
  border: 3px solid #0b0b0b; box-shadow: inset 3px 3px 0 #fff, inset -3px -3px 0 #555, 0 10px 24px rgba(0, 0, 0, .35); --focus: #0b3fd1; }
.guide-list b { font: 700 1.1rem/1.2 var(--display); }
.guide-list span { font-size: .92rem; color: var(--ink-dim); }

/* try-on dialog */
.tryon { width: min(460px, calc(100% - 24px)); }
.tryon-idea { overflow-wrap: anywhere; }
.tryon-stage { display: grid; justify-items: center; padding: 4px 0 0; }
.tryon-stage canvas { position: relative; z-index: 2; margin-bottom: -26px; cursor: grab; width: 240px; height: 300px; }
.tryon-stage img.fallback { width: 96px; height: 192px; image-rendering: pixelated; margin: 40px 0 20px; }
.tryon-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding: 14px 18px 4px; }
.tryon-actions a { display: inline-flex; align-items: center; text-decoration: none; }
.tryon-actions .btn-gold { font-size: .95rem; min-height: 40px; padding: 8px 12px; }
.tryon-note { margin: 6px 18px 14px; font-size: .84rem; color: var(--ink-dim); text-align: center; }

/* home: AEO answer block + internal links */
.aeo .answer-lead { max-width: 60em; font-size: 1.06rem; color: var(--text); margin: 6px 0 18px; }
.aeo h3 { font: 700 1.2rem var(--display); margin: 0 0 10px; color: var(--text); }
.aeo-cols { display: grid; gap: 22px; }
@media (min-width: 800px) { .aeo-cols { grid-template-columns: 1.2fr 1fr; } }
.chip-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip-links a { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 12px; text-decoration: none; color: var(--text);
  background: var(--btn); border: 2px solid #0b0b0b; box-shadow: inset 2px 2px 0 var(--btn-hi), inset -2px -2px 0 var(--btn-lo); }
.guide-links { margin: 0; padding-left: 1.2em; }
.guide-links li { margin: 6px 0; }
.aeo p a, .guide-links a { color: var(--text); }

/* editor: how-to block under the tool */
.editor-page .ed-guide { max-width: 1180px; margin: 0 auto; padding: 36px 16px 6px; }
.ed-guide .steps a { color: #0b3fd1; }
.ed-guide h2 + .feature-list, .ed-guide h2 { margin-top: 26px; }
.feature-list { padding-left: 1.2em; max-width: 52em; }
.feature-list li { margin: 4px 0; }
.ed-guide > p { max-width: 52em; color: var(--text-dim); }
.ed-guide > p a { color: var(--text); }

/* footer site links */
.foot .site-links a { color: inherit; }

/* small phones: keep the top bar on one line */
@media (max-width: 520px) {
  .topbar { gap: 10px; }
  .top-right { min-width: 0; flex: 1 1 auto; justify-content: flex-end; }
  .topbar nav { min-width: 0; overflow-x: auto; white-space: nowrap; scrollbar-width: none; gap: 12px; }
  .topbar nav::-webkit-scrollbar { display: none; }
  .topbar nav a[aria-current="page"], .topbar nav a[href="#faq"], .topbar nav a[href="#examples"] { display: none; }
  .topbar .worlds, .topbar .sound { flex: none; }
}

/* white on the bright grass green is too low-contrast for text: darker green for download buttons on our pages */
.skin-card .dl, .tryon .dl, .guide-cta .dl { background: var(--grass-dark); box-shadow: inset 2px 2px 0 var(--grass), inset -2px -2px 0 #25561a; }
