/* SoftPeachyAI Studio v4 — genuine Pink / White / Dark themes.
   Change the default in the initial <html data-theme> attribute.
   Every color below is local; no third-party theme plugin is required. */

:root, html[data-theme="pink"] {
  color-scheme: light;
  --bg: #fff0f6; --surface: #ffe2ee; --surface-2: #fff9fc;
  --text: #41253b; --subtext: #68465d; --faint: #855c73;
  --stroke: #bc638933; --action: #c02d66; --action-hover: #9d2051;
  --action-text: #fffaff; --accent: #ba285e; --accent-soft: #f6a6cb;
  --header-bg: #fff5f9ed; --mobile-nav: #fff9fc;
  --hero-glow: #f9a2ca74; --manifesto-bg: #fff6fb;
  --worlds-bg: #ffe2ee; --worlds-note: #744a62;
  --community-bg: #f8a4c7; --community-text: #44253b;
  --banner-bg: #f8c5db; --banner-hover: #f4b1ce;
  --last-bg: #fbdde9; --last-glow: #a72b6021;
  --gate-overlay: #371b2ecf; --gate-card: #fffafd;
  --gate-field: #ffffff; --gate-stroke: #bd77998a;
  --shadow: #8b285036;
  --ink: #41253b; --ink2: #ffe3ed; --white: #41253b;
  --peach: #c02d66; --peach2: #8e315b; --lilac: #e395c8;
  --muted: #68465d; --line: #b7678d37;
}
html[data-theme="white"] {
  color-scheme: light;
  --bg: #ffffff; --surface: #faf6f8; --surface-2: #ffffff;
  --text: #24212d; --subtext: #585365; --faint: #777182;
  --stroke: #4b3d541e; --action: #b72964; --action-hover: #92204e;
  --action-text: #ffffff; --accent: #bb2865; --accent-soft: #ffc5de;
  --header-bg: #ffffffed; --mobile-nav: #ffffff;
  --hero-glow: #f8c9e06b; --manifesto-bg: #fffdfd;
  --worlds-bg: #faf6f9; --worlds-note: #635b6a;
  --community-bg: #ffedf4; --community-text: #302335;
  --banner-bg: #fbf0f4; --banner-hover: #f5e1e9;
  --last-bg: #f9f3f6; --last-glow: #b7296420;
  --gate-overlay: #2b2531b8; --gate-card: #ffffff;
  --gate-field: #ffffff; --gate-stroke: #968a9b73;
  --shadow: #54415a27;
  --ink: #24212d; --ink2: #faf6f8; --white: #24212d;
  --peach: #b72964; --peach2: #8e305b; --lilac: #e9aed0;
  --muted: #585365; --line: #54465d23;
}
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #17101c; --surface: #231928; --surface-2: #291d30;
  --text: #fff8fb; --subtext: #dccbda; --faint: #bba7ba;
  --stroke: #ffffff2a; --action: #ffa8d0; --action-hover: #ffd0e6;
  --action-text: #301627; --accent: #ffa8d0; --accent-soft: #e7acd2;
  --header-bg: #17101ced; --mobile-nav: #241a2a;
  --hero-glow: #a1498a9a; --manifesto-bg: #1b1322;
  --worlds-bg: #221729; --worlds-note: #cab3c9;
  --community-bg: #eaa2bd; --community-text: #321a2d;
  --banner-bg: #34233b; --banner-hover: #4b3054;
  --last-bg: #2a1a32; --last-glow: #ffa8d014;
  --gate-overlay: #0d0713ef; --gate-card: #281c2e;
  --gate-field: #1d1423; --gate-stroke: #ffffff61;
  --shadow: #00000085;
  --ink: #17101c; --ink2: #241a2a; --white: #fff8fb;
  --peach: #ffa8d0; --peach2: #f7d2e4; --lilac: #edbadf;
  --muted: #cab3c9; --line: #ffffff29;
}

body { background: var(--bg); color: var(--text); transition: background .25s ease, color .25s ease; }
.site-header { background: var(--header-bg); border-bottom: 1px solid var(--stroke); }
.primary-nav>a { color: var(--text); }
.primary-nav>a:hover { color: var(--accent); }
.primary-nav .nav-pill { border-color: var(--accent); color: var(--accent); }
.menu-toggle span { background: var(--text); }
.announcement { background: var(--action); color: var(--action-text); }
.signal { background: var(--action-text); box-shadow: 0 0 0 4px #ffffff24; }
.hero { background: radial-gradient(ellipse at 85% 40%, var(--hero-glow), transparent 50%); }
.hero-intro, .head-note, .manifesto-main>p, .perk p, .last-call-inner>p:not(.section-label) { color: var(--subtext); }
.eyebrow, .section-label { color: var(--accent); }
.slash, .hero-micro span { color: var(--accent); }
.hero-micro, .hero-rail, .aside-small, .footer p, .footer small { color: var(--faint); }
.hero h1 span, .manifesto h2 em { color: var(--lilac); }
.hero h1 em, .section-head h2 em, .community-content h2 em, .last-call h2 em { color: var(--accent); }
.btn-peach { background: var(--action); color: var(--action-text); }
.btn-peach:hover { background: var(--action-hover); color: var(--action-text); }
.btn-outline { border-color: var(--text); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.stage-halo { background: radial-gradient(circle, var(--hero-glow), transparent 70%); }
.stage-orbit { border-color: var(--accent-soft); }
.stage-card { box-shadow: 0 24px 64px var(--shadow); }
.stage-caption { color: #fff9fe; text-shadow: 0 2px 14px #000a; }
.stage-seal { color: #34142d; background: #ffe3f1; border-color: #c52d7375; }
.stage-sticker { color: var(--action-text); background: var(--action); }
.marquee { background: var(--accent-soft); color: #431e39; }
.marquee-track b { color: #b72e70; }
.worlds-section { background: var(--worlds-bg); }
.world-num,.world-overlay h3 { color: #fffaff; }
.world-arrow { background: #ffb4d2; color: #341a2c; }
.gallery-note { color: var(--worlds-note); }
.gallery-note code { color: var(--accent); }
.manifesto { background: var(--manifesto-bg); background-image: radial-gradient(ellipse at 10% 75%, var(--hero-glow), transparent 42%); }
.orbit-mark { color: var(--accent-soft); text-shadow: 0 0 60px var(--hero-glow); }
.inline-link { border-color: var(--accent); color: var(--accent); }
.community-section { background: var(--community-bg); color: var(--community-text); }
.community-content .section-label { color: var(--community-text); opacity:.8; }
.community-content h2 em { color: #fffdfd; }
.community-content>p { color: var(--community-text); }
.btn-ink { background: #302030; color: #fffaff; }
.btn-ink:hover { background: #4c304d; }
.btn-ink-outline { color: var(--community-text); border-color: var(--community-text); }
.community-ribbon { background: #352037; color: #fff9fe; box-shadow: 14px 19px 0 #d781b5; }
.community-ribbon b { color: #ffbbda; }
.membership-banner { background: var(--banner-bg); }
.membership-banner:hover { background: var(--banner-hover); }
.membership-banner>span { color: var(--subtext); }
.membership-banner strong { color: var(--text); }
.membership-banner b { color: var(--accent); }
.last-call { background: var(--last-bg); }
.last-call:before,.last-call:after { color: var(--last-glow); }
.last-links a { border-color: var(--stroke); color: var(--text); }
.last-links a:hover { background: var(--action); color: var(--action-text); }
.footer { background: var(--bg); }
.age-gate { background: var(--gate-overlay); }
.age-surface { background: var(--gate-card); border: 1px solid var(--gate-stroke); box-shadow: 0 24px 90px var(--shadow); }
.gate-top, .gate-desc, .turnstile-loading, .underage-link { color: var(--subtext); }
.age-form label { color: var(--accent); }
.age-form h2 em { color: var(--accent); }
.age-form input { background: var(--gate-field); color: var(--text); border-color: var(--gate-stroke); color-scheme: inherit; }
.gate-fine { color: var(--faint); }
.age-error { color: #ae234b; }
html[data-theme="dark"] .age-error { color: #ffc0d5; }
html[data-theme="dark"] .stage-sticker { color: #37182e; }
html[data-theme="dark"] .community-content h2 em { color: #fff8fb; }
html[data-theme="white"] .stage-sticker,html[data-theme="pink"] .stage-sticker { color: #fff9fe; }

/* Exact user-provided logo, kept unaltered inside a clean white backing plaque. */
.logo-official { display: inline-flex; flex: 0 0 auto; line-height: 0; }
.logo-official img { width: 154px; height: auto; max-height: 72px; object-fit: contain; background: #fff; border: 2px solid #ffffff; border-radius: 12px; padding: 2px; box-shadow: 0 4px 13px #a3205e1c; }
.hero-brand-plaque { display: inline-block; margin: 21px 0 0; line-height: 0; transform: rotate(-3deg); filter: drop-shadow(0 12px 22px #a52d5f2e); }
.hero-brand-plaque img { width: clamp(205px, 23vw, 280px); height: auto; border: 5px solid white; border-radius: 22px; background: white; }
.hero h1 { font-size: clamp(72px, 8.8vw, 133px); margin-top: 27px; }
.hero { min-height: 780px; }
.logo-footer img { width: 136px; }

/* Theme switches available in header AND the age-verification overlay. */
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink:0; }
.theme-picker { display:flex; align-items:center; gap:2px; padding: 4px; border:1px solid var(--stroke); background: var(--surface); border-radius: 100px; width: max-content; max-width:100%; }
.theme-option { display:flex; gap:6px; align-items:center; justify-content:center; border:0; background:transparent; color:var(--subtext); padding:9px 10px; border-radius:100px; min-height:33px; font-size:10px; font-weight:800; transition:background .18s,color .18s; white-space:nowrap; }
.theme-option:hover { color: var(--accent); }
.theme-option[aria-pressed="true"] { color:var(--text); background:var(--surface-2); box-shadow: 0 2px 8px var(--shadow); outline:1px solid var(--stroke); }
.theme-option:focus-visible { outline:3px solid var(--accent); outline-offset:2px; }
.theme-dot { display:inline-block; flex: none; width: 11px; height:11px; border-radius: 50%; border:1px solid #0002; }
.pink-dot { background:#ee80b0; }
.white-dot { background:#ffffff; border-color:#aaa5ad; }
.dark-dot { background:#2b1b31; border-color:#76677e; }
.gate-theme-row { display:flex; align-items:center; gap:10px; justify-content:space-between; padding-bottom:18px; margin-bottom:23px; border-bottom:1px solid var(--stroke); }
.gate-theme-row>span { font-size:9px; font-weight:800; letter-spacing:.1em; color:var(--subtext); }
.gate-theme-row .theme-picker { padding:3px; }
.gate-theme-row .theme-option { padding:6px 8px; }
.gate-top { margin-bottom:17px; }
.gate-top img { width:144px; height:auto; background:white; border-radius:10px; border:2px solid white; }
.gate-top span { letter-spacing:.09em; font-size:9px; }
.age-surface { max-width: 1010px; }
.age-form { padding-top:30px; }

@media(max-width:1150px) {
  .primary-nav { gap:17px; }
  .primary-nav>a { font-size:11px; }
  .logo-official img { width:130px; }
  .hero h1 { font-size:clamp(72px, 9.2vw, 118px); }
}
@media(max-width:950px) {
  .site-header { height:78px; }
  .nav-shell { position:relative; }
  .menu-toggle { display:block; }
  .primary-nav { display:none; position:absolute; left:0; right:0; top:78px; background:var(--mobile-nav); padding:18px; flex-direction:column; align-items:stretch; gap:0; box-shadow:0 24px 55px var(--shadow); border:1px solid var(--stroke); border-top:0; }
  .primary-nav.is-open { display:flex; }
  .primary-nav>a { padding:14px; border-bottom:1px solid var(--stroke); }
  .primary-nav .nav-pill { text-align:center; margin-top:15px; }
  .hero { min-height:0; }
  .hero-brand-plaque img { width:min(290px,66vw); }
}
@media(max-width:600px) {
  .logo-official img { width:122px; border-radius:9px; }
  .nav-shell { gap:6px; }
  .header-actions { gap:3px; }
  .theme-picker { gap:0; padding:3px; }
  .header-actions .theme-option { padding:9px 6px; min-width:29px; }
  .header-actions .theme-name { display:none; }
  .header-actions .theme-dot { width:14px; height:14px; }
  .hero { padding-top:40px; }
  .hero-brand-plaque { margin-top:18px; }
  .hero h1 { font-size:clamp(59px,15.1vw,92px); margin-top:23px; }
  .hero-micro { margin-top:32px; }
  .gate-theme-row { align-items:flex-start; gap:6px; }
  .gate-theme-row>span { font-size:8px; max-width:75px; margin-top:5px; }
  .gate-theme-row .theme-name { display:inline; }
  .age-form { padding-top:20px; }
  .gate-top img { width:120px; }
}
@media(max-width:375px) {
  .logo-official img { width:100px; }
  .header-actions .theme-option { padding:8px 5px; }
  .age-form { padding:18px 15px; }
  .gate-theme-row>span { display:none; }
  .gate-theme-row { justify-content:center; }
}
@media(prefers-reduced-motion: reduce) {
  body, .theme-option { transition:none; }
}
/* Extra-narrow phones: prevent the longest display headlines from widening the viewport. */
@media (max-width:350px) {
  .hero h1 { font-size:52px; }
  .section-head h2,.manifesto h2 { font-size:52px; }
  .community-content h2 { font-size:52px; }
  .last-call h2 { font-size:85px; }
  .hero-stage { overflow:clip; }
}
