/* Shared layout for the Pink, White and Dark themes. */
:root,[data-theme="pink"]{color-scheme:light;--bg:#fff1f6;--surface:#fffafd;--raised:#ffe2ee;--ink:#351e30;--muted:#786273;--stroke:#ebbed2;--accent:#ba276d;--accent-text:#fff;--accent-light:#ffe1ee;--glow:#ffa6cf;--hero1:#ffd7e9;--hero2:#fff9fc;--photo:#f9afcc;--deep:#602745;--shadow:rgba(133,37,81,.13);--overlay:rgba(40,13,34,.7)}
[data-theme="white"]{color-scheme:light;--bg:#ffffff;--surface:#ffffff;--raised:#f8f3f7;--ink:#241d26;--muted:#6e6671;--stroke:#e6dfe5;--accent:#bb3572;--accent-text:#fff;--accent-light:#fcecf3;--glow:#e6cedc;--hero1:#faf7f9;--hero2:#ffffff;--photo:#eadce6;--deep:#412a3b;--shadow:rgba(35,24,34,.08);--overlay:rgba(35,24,34,.68)}
[data-theme="dark"]{color-scheme:dark;--bg:#130d18;--surface:#1c1422;--raised:#291c31;--ink:#fff2fc;--muted:#c2adc3;--stroke:#48334d;--accent:#ff6fba;--accent-text:#251222;--accent-light:#352039;--glow:#cc4caf;--hero1:#29172e;--hero2:#180f1f;--photo:#61305d;--deep:#f8cfef;--shadow:rgba(0,0,0,.38);--overlay:rgba(7,4,10,.9)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}body{margin:0;background:var(--bg);color:var(--ink);font:500 16px/1.6 'DM Sans',Arial,sans-serif;min-width:0;overflow-x:clip}img{max-width:100%}button,input,select,textarea{font:inherit}a{color:inherit;text-decoration:none}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--accent);outline-offset:3px}button:disabled{opacity:.6;cursor:not-allowed}.shell{width:min(1180px,calc(100% - 48px));margin-inline:auto}.skip{position:absolute;left:-9999px;top:10px;z-index:200;background:var(--surface);padding:10px}.skip:focus{left:15px}
.site-header{position:sticky;top:0;z-index:30;background:color-mix(in srgb,var(--bg) 92%,transparent);border-bottom:1px solid var(--stroke);backdrop-filter:blur(18px)}.nav-wrap{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:22px}.brand{display:inline-flex;align-items:center;min-width:0;flex:none}.brand img{width:185px;height:auto;display:block;object-fit:contain;background:none;border:0;filter:none}.nav{display:flex;align-items:center;gap:27px;font-size:12px;font-weight:800;white-space:nowrap}.nav>a:not(.nav-cta):hover{color:var(--accent)}.nav-cta{background:var(--ink);color:var(--bg);padding:10px 18px;border-radius:100px;transition:transform .18s}.nav-cta:hover{transform:translateY(-2px)}.head-actions{display:flex;align-items:center;gap:10px;flex:none}.theme-picker{display:flex;align-items:center;padding:4px;gap:3px;border:1px solid var(--stroke);background:var(--surface);border-radius:100px}.theme-picker button{display:flex;align-items:center;gap:5px;padding:8px 9px;white-space:nowrap;font-size:11px;line-height:1.2;font-weight:900;border:0;border-radius:100px;background:none;color:var(--muted)}.theme-picker button[aria-pressed="true"]{background:var(--raised);color:var(--ink);box-shadow:0 1px 4px var(--shadow)}.theme-swatch{width:11px;height:11px;border-radius:50%;border:1px solid #2d1c3050;flex:none}.theme-swatch.pink{background:#f4a4c7}.theme-swatch.white{background:#fff;border:1px solid #a5a0a5}.theme-swatch.dark{background:#23162e;border:1px solid #7f6584}.menu-button{display:none;width:42px;height:42px;flex:none;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:1px solid var(--stroke);background:var(--surface);border-radius:12px}.menu-button span{width:19px;height:2px;background:var(--ink)}
.hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(28px,5vw,76px);align-items:center;padding-block:clamp(38px,5.5vw,80px)}.hero-copy{min-width:0;position:relative;z-index:1;container-type:inline-size}.eyebrow{font-size:11px;font-weight:900;letter-spacing:.2em;color:var(--accent);margin:0 0 22px}.hero h1,.section-heading h2,.about-section h2,.community-section h2,.gate-form h2{font-family:Impact,Haettenschweiler,'Arial Narrow Bold',sans-serif;font-stretch:condensed;letter-spacing:.005em;line-height:.98;font-weight:900;margin:0}.hero h1{font-size:clamp(38px,13cqi,82px);max-width:100%}.hero h1 em,.section-heading h2 em,.about-section h2 em,.community-section h2 em,.gate-form h2 em{font-style:normal;color:var(--accent)}.hero-copy>p{max-width:45ch;font-size:clamp(16px,1.3vw,18px);color:var(--muted);line-height:1.72;margin:24px 0}.actions{display:flex;align-items:center;gap:12px 22px;flex-wrap:wrap}.button{display:inline-flex;align-items:center;justify-content:center;gap:16px;border-radius:100px;padding:14px 22px;min-height:52px;border:2px solid transparent;font-weight:900;font-size:12px;letter-spacing:.02em;text-align:center;transition:transform .2s,box-shadow .2s}.button:hover{transform:translateY(-2px);box-shadow:0 8px 20px var(--shadow)}.button.solid{background:var(--accent);color:var(--accent-text)}.button.outline{border-color:var(--stroke);background:var(--surface);color:var(--ink)}
.hero-visual{position:relative;min-width:0;height:clamp(350px,38vw,510px);border-radius:24px;background:linear-gradient(145deg,var(--hero1),var(--hero2));border:1px solid var(--stroke);isolation:isolate;overflow:hidden}.hero-visual:before{content:"";position:absolute;inset:-20% -10%;background:radial-gradient(circle at 60% 45%,var(--glow),transparent 48%);opacity:.35}.visual-orbit{position:absolute;width:430px;height:430px;border:2px dashed color-mix(in srgb,var(--accent) 30%,transparent);border-radius:50%;inset:50% auto auto 50%;transform:translate(-50%,-50%)}.feature-poster{position:absolute;z-index:2;top:11%;left:17%;width:58%;aspect-ratio:400/540;border:8px solid var(--surface);border-radius:22px;background:var(--photo);margin:0;overflow:hidden;box-shadow:0 22px 65px var(--shadow)}.feature-poster img{width:100%;height:100%;display:block;object-fit:contain;object-position:center}.poster-back{top:16%;left:36%;transform:rotate(12deg);opacity:.84}.poster-front{transform:rotate(-10deg)}
.collections-section,.explore-section{padding-block:clamp(44px,6vw,80px)}.collections-section{border-top:1px solid var(--stroke)}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:28px;margin-bottom:26px}.section-heading h2,.about-section h2,.community-section h2{font-size:clamp(44px,5.2vw,78px)}.section-description{max-width:410px;color:var(--muted);line-height:1.7;margin:0;font-size:15px}.collection-notice{padding:20px;border:1px solid var(--stroke);border-radius:18px;color:var(--muted);background:var(--surface);margin-bottom:20px}.collection-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.set-card{display:block;min-width:0;text-align:left;border-radius:20px;background:var(--surface);border:1px solid var(--stroke);padding:0;overflow:hidden;color:var(--ink);transition:transform .2s,box-shadow .2s}.set-card:hover{transform:translateY(-4px);box-shadow:0 12px 35px var(--shadow)}.set-cover{aspect-ratio:4/5;width:100%;display:block;position:relative;overflow:hidden;background:var(--raised)}.set-cover img{height:100%;width:100%;object-fit:contain;object-position:center center;display:block}.set-body{padding:20px 22px 24px}.set-body h3{font-size:22px;line-height:1.2;margin:9px 0 8px;font-weight:900;overflow-wrap:anywhere}.set-body p{color:var(--muted);font-size:13px;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.set-meta{font-size:10px;letter-spacing:.12em;font-weight:900;color:var(--accent)}
.explore-section{background:var(--raised);border-block:1px solid var(--stroke)}.category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.category-card{min-width:0;background:var(--surface);border:1px solid var(--stroke);border-radius:20px;overflow:hidden;transition:transform .2s}.category-card:hover{transform:translateY(-4px)}.category-art{aspect-ratio:4/5;background:var(--photo);overflow:hidden}.category-art img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}.category-label{display:flex;justify-content:space-between;align-items:center;gap:6px;padding:17px}.category-label strong{font-family:Impact,sans-serif;font-size:28px;line-height:1}.category-label span{color:var(--accent);font-size:22px;line-height:1}
.about-section{display:grid;grid-template-columns:1fr 1fr;gap:clamp(20px,5vw,68px);align-items:center;padding-block:clamp(42px,7vw,88px)}.about-section p:not(.eyebrow){margin-top:0;max-width:46ch;color:var(--muted);line-height:1.75}.inline-link{display:inline-flex;border-bottom:2px solid var(--accent);gap:20px;font-weight:900;font-size:12px;padding-bottom:8px}
.community-section{background:var(--ink);color:var(--bg)}.community-inner{display:flex;align-items:end;justify-content:space-between;gap:35px;padding-block:clamp(44px,6vw,80px)}.community-section h2 em{color:var(--glow)}[data-theme="dark"] .community-section h2 em{color:#772458}.community-section p:not(.eyebrow){max-width:550px;opacity:.85}.community-actions{display:flex;gap:12px;flex-wrap:wrap}.community-section .button.solid{background:var(--bg);color:var(--ink)}.community-section .button.outline{color:var(--bg);background:transparent;border:2px solid color-mix(in srgb,var(--bg) 50%,transparent)}.site-footer{padding:55px 0 22px}.footer-grid{display:flex;justify-content:space-between;gap:35px;align-items:start}.footer-grid img{width:175px;height:auto;display:block;object-fit:contain}.footer-grid p,.legal{color:var(--muted);font-size:12px}.footer-links{display:flex;gap:28px;flex-wrap:wrap;font-weight:800;font-size:12px}.footer-links a:hover{color:var(--accent)}.legal{border-top:1px solid var(--stroke);padding-top:22px;margin-top:34px}
/* Open set: contain original artwork rather than crop/stretch. */
.set-dialog,.image-dialog{border:1px solid var(--stroke);background:var(--surface);color:var(--ink);border-radius:24px;box-shadow:0 25px 100px #0005;max-height:92dvh;overflow:auto}.set-dialog::backdrop,.image-dialog::backdrop{background:var(--overlay);backdrop-filter:blur(9px)}.set-dialog{width:min(1120px,94vw)}.dialog-inner{padding:42px}.dialog-inner h2{font-family:Impact,sans-serif;font-size:clamp(45px,5vw,78px);line-height:1;margin:8px 0}.dialog-inner>p:not(.eyebrow){color:var(--muted)}.dialog-close{position:sticky;top:0;float:right;z-index:2;border:1px solid var(--stroke);background:var(--raised);color:var(--ink);border-radius:50%;width:44px;height:44px}.set-image-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-block:24px}.set-image-grid button{padding:0;border:1px solid var(--stroke);border-radius:12px;overflow:hidden;background:var(--raised);min-width:0}.set-image-grid img{display:block;width:100%;aspect-ratio:3/4;height:auto;object-fit:contain}.image-dialog{padding:14px;width:min(96vw,1250px);max-width:96vw}.image-dialog img{display:block;width:100%;height:auto;max-height:80dvh;object-fit:contain}.image-dialog .dialog-close{margin-bottom:12px}
/* Adult gate: identical structure and proportions in all three themes. */
.age-gate{position:fixed;inset:0;z-index:90;background:var(--overlay);overflow:auto;display:grid;place-items:center;padding:26px}.age-gate.is-hidden{display:none}.gate-shell{width:min(1010px,100%);display:grid;grid-template-columns:.82fr 1.18fr;border-radius:28px;overflow:hidden;box-shadow:0 35px 110px #0005;background:var(--surface);color:var(--ink);border:1px solid var(--stroke)}.gate-design{position:relative;display:grid;place-items:center;background:var(--hero1);min-height:550px;overflow:hidden}.gate-design>img{width:min(80%,350px);height:auto;max-height:440px;object-fit:contain;transform:rotate(-7deg);filter:drop-shadow(0 20px 32px var(--shadow))}.gate-sticker{position:absolute;right:8%;bottom:10%;width:116px;height:116px;border-radius:50%;border:6px solid var(--surface);background:var(--accent);color:var(--accent-text);display:flex;flex-direction:column;align-items:center;justify-content:center;font-family:Impact,sans-serif;font-size:50px;transform:rotate(12deg)}.gate-sticker small{font-family:'DM Sans',sans-serif;font-size:9px;font-weight:900;letter-spacing:.1em}.gate-form{padding:35px 44px 30px;min-width:0}.gate-top{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.gate-top img{width:160px;height:auto;display:block;object-fit:contain}.gate-top span,.gate-themes>span{font-size:9px;letter-spacing:.12em;font-weight:900;color:var(--muted)}.gate-themes{display:flex;align-items:center;justify-content:space-between;gap:13px;border-bottom:1px solid var(--stroke);padding-bottom:17px;margin-bottom:25px}.gate-form h2{font-size:clamp(51px,5.7vw,80px);margin-bottom:16px}.gate-form>p:not(.eyebrow):not(.gate-error){color:var(--muted);font-size:14px;line-height:1.65} .turnstile-box{min-height:65px} .gate-retry{display:inline-flex;align-items:center;justify-content:center;min-height:40px;margin-top:4px;padding:8px 15px;border:1px solid var(--stroke);background:var(--raised);border-radius:999px;color:var(--ink);font-weight:800;font-size:12px} .gate-retry[hidden]{display:none}.turnstile-box>span{font-size:11px;color:var(--muted)}.gate-error{min-height:22px;font-size:12px;color:#dc4161;margin:8px 0}.enter{width:100%}.gate-form>small{display:block;color:var(--muted);font-size:10px;line-height:1.4;margin-top:15px}body.gate-open{overflow:hidden}
@media(max-width:1200px){.nav{gap:14px}.brand img{width:155px}.nav-wrap{gap:14px}}
@media(max-width:1000px){.menu-button{display:flex}.nav{display:none;position:absolute;left:0;right:0;top:100%;padding:12px 24px 20px;background:var(--surface);border-bottom:1px solid var(--stroke);box-shadow:0 20px 25px var(--shadow);flex-direction:column;align-items:stretch;gap:0}.nav.is-open{display:flex}.nav a{padding:13px}.nav-cta{text-align:center}.nav-wrap{position:relative}.hero{min-height:0}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.collection-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.shell{width:min(100% - 32px,1280px)}.nav-wrap{min-height:77px}.hero{grid-template-columns:minmax(0,1fr);gap:24px;padding-block:50px 48px}.hero-visual{height:clamp(250px,72vw,430px)}.hero-copy>p{margin:18px 0}.section-heading{flex-direction:column;align-items:start;gap:12px}.collections-section,.explore-section{padding-block:42px}.about-section{grid-template-columns:1fr;gap:16px;padding-block:46px}.community-inner{flex-direction:column;align-items:start;padding-block:48px}.gate-shell{grid-template-columns:1fr;max-width:650px}.gate-design{display:none}.age-gate{padding:16px;place-items:start center}.gate-form{padding:25px 28px}.gate-form h2{font-size:68px}}
@media(max-width:520px){.shell{width:calc(100% - 28px)}.nav-wrap{min-height:67px;gap:4px}.brand img{width:116px}.head-actions{gap:6px}.theme-picker{padding:2px;gap:0}.theme-picker button{padding:6px;font-size:0;min-width:29px;justify-content:center}.theme-picker button .theme-swatch{width:13px;height:13px}.menu-button{height:38px;width:38px}.hero{padding-top:34px}.hero-visual{height:clamp(218px,65vw,340px);border-radius:18px}.visual-orbit{width:310px;height:310px}.feature-poster{border-width:5px;border-radius:15px;top:16%;left:16%;width:59%}.poster-back{top:19%;left:34%}.section-heading h2,.about-section h2,.community-section h2{font-size:clamp(38px,10vw,55px)}.collection-grid{grid-template-columns:1fr}.category-grid{gap:10px}.category-card{border-radius:12px}.category-label{padding:10px}.category-label strong{font-size:20px}.category-label span:first-child{font-size:8px}.footer-grid{flex-direction:column}.footer-links{gap:20px}.dialog-inner{padding:20px}.set-image-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gate-form{padding:22px}.gate-top img{width:115px}.gate-top span{font-size:8px}.gate-themes{align-items:start;gap:7px}.gate-form h2{font-size:56px}.gate-form>p:not(.eyebrow):not(.gate-error){font-size:14px}.gate-themes .theme-picker button{font-size:0}.gate-form .eyebrow{margin-bottom:10px}}
@media(max-width:340px){.brand img{width:100px}.head-actions{gap:3px}.theme-picker button{min-width:25px;padding:5px}.gate-form{padding:16px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}




/* v10 adult entry screen — consistent with Pink/White/Dark brand and same layout. */
.gate-mark{font-family:Impact,Haettenschweiler,'Arial Narrow Bold',sans-serif;font-size:clamp(155px,20vw,285px);line-height:1;letter-spacing:-.06em;color:var(--accent);text-shadow:0 9px 0 var(--surface),0 28px 50px var(--shadow);transform:rotate(-7deg)}
.gate-mark span{font-size:.57em;vertical-align:top;position:relative;top:.2em;letter-spacing:-.04em}
.gate-art-caption{position:absolute;bottom:42px;left:20px;right:20px;text-align:center;color:var(--ink);font-weight:900;font-size:11px;letter-spacing:.16em;opacity:.78}
.gate-art-caption span{padding:0 10px;color:var(--accent)}
.gate-form .age-warning{font-size:clamp(13px,1.08vw,15px);line-height:1.66;margin:8px 0 10px;color:var(--ink)}
.gate-form .age-warning strong{color:var(--ink)}
.gate-form .age-affirmation{font-size:12px;line-height:1.62;color:var(--muted);margin:12px 0 18px}
.gate-form .age-affirmation strong{color:var(--ink)}
.gate-choices{display:grid;gap:12px}
.gate-choices .button{width:100%;min-height:54px}
.gate-exit{display:flex;min-height:48px;align-items:center;justify-content:center;padding:10px 12px;font-size:12px;font-weight:900;letter-spacing:.03em;border:1px solid var(--stroke);border-radius:999px;color:var(--ink);background:transparent;text-decoration:none}
.gate-exit:hover,.gate-exit:focus-visible{border-color:var(--accent);color:var(--accent)}
.gate-form .gate-choices + small{margin-top:12px}
@media(max-width:760px){.age-gate{place-items:start center}.gate-form{padding-block:24px}.gate-form h2{font-size:clamp(52px,10vw,70px)}.gate-form .age-warning{font-size:13px}.gate-form .age-affirmation{font-size:12px}}
@media(max-width:340px){.gate-choices .button{font-size:11px}.gate-form .age-warning{font-size:12px}}

[data-site-image].has-studio-image { position: relative; isolation: isolate; }
[data-site-image].has-studio-image::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  border-radius: inherit; background: var(--studio-background) center top / cover no-repeat;
}

.gallery-filters,.viewer-navigation,.studio-shortcuts{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem}
.gallery-filters{margin:1rem 0}
.gallery-filters[hidden],#retryGallery[hidden]{display:none}
.gallery-filters button,.viewer-navigation button,.studio-shortcuts a{font:inherit;font-weight:700;min-height:44px;padding:.45rem .95rem;border:1px solid var(--stroke);border-radius:10px;background:var(--surface);color:var(--ink);cursor:pointer}
.gallery-filters button[aria-pressed="true"]{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.viewer-navigation{justify-content:center;margin-bottom:.65rem}
.viewer-navigation button{font-size:1.2rem;line-height:1}
.viewer-navigation button:disabled{opacity:.4;cursor:default}
.viewer-navigation span{min-width:5rem;text-align:center;font-variant-numeric:tabular-nums}
.image-dialog #fullImage{max-height:calc(90dvh - 135px)}
:where(a,button,select,input):focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.studio-shortcuts{margin:1rem 0}

.gallery-intro{display:grid;gap:18px;margin-bottom:22px}
.gallery-intro .section-heading{margin:0}
.site-placement[hidden]{display:none}
.site-placement{min-width:0;scroll-margin-block:1rem}
.placement-label{display:block;color:var(--muted);font-size:.75rem;font-weight:700;margin:0 0 .35rem}
.placement-art{overflow:hidden;border:1px solid var(--stroke);border-radius:14px;background:var(--surface)}
.placement-art a{display:grid;place-items:center;min-height:44px}
.placement-art a:focus-visible{outline-offset:-4px}
.placement-art img{display:block;width:100%;max-height:clamp(150px,25vw,285px);height:auto;object-fit:contain}
.gallery-intro:has(.portrait-placement:not([hidden])){grid-template-columns:minmax(0,1fr) minmax(120px,22%);align-items:center}
.portrait-placement .placement-art img{width:auto;max-width:100%;height:clamp(130px,17vw,215px)}
#footer-banner{padding-bottom:clamp(28px,4vw,56px)}
#footer-banner.portrait-placement .placement-art{width:fit-content}
.gate-error:empty{min-height:0;margin:0}
.gallery-filters{margin-block:0 20px}
@media(max-width:760px){
  .feature-poster{width:auto;height:78%;aspect-ratio:400/540;top:10%;left:22%}
  .poster-back{top:12%;left:43%}
  .gallery-intro:has(.portrait-placement:not([hidden])){grid-template-columns:minmax(0,1fr) minmax(92px,29%)}
  .portrait-placement .placement-art img{height:clamp(106px,28vw,154px)}
}

.gate-terms {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 1rem;
  margin-block: .75rem;
  font-size: .875rem;
}
.gate-terms label {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 44px;
  font-weight: 700;
  cursor: pointer;
}
.gate-terms input {
  flex: none;
  width: 1.2rem;
  height: 1.2rem;
  margin: 0;
  accent-color: var(--accent);
}
.gate-terms a, .terms-page a:not(.terms-brand) {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: .2em;
}
.gate-terms a { display: inline-flex; align-items: center; min-height: 44px; }
.terms-page { max-width: 76ch; margin-inline: auto; padding: 0 clamp(18px, 4vw, 42px) 4rem; }
.terms-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--stroke);
}
.terms-brand, .terms-page h1 { font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif; }
.terms-brand { color: var(--ink); font-size: 1.6rem; font-weight: 900; }
.terms-page main { padding-top: clamp(1.6rem, 5vw, 3.5rem); }
.terms-page h1 { margin: 0; font-size: clamp(2.25rem, 7vw, 3.75rem); line-height: 1.1; }
.terms-page h2 { margin: 1.8rem 0 .5rem; font-size: 1.25rem; line-height: 1.3; }
.terms-page p, .terms-page li { line-height: 1.65; }
.terms-page p, .terms-page ul { margin: .65rem 0; }
.terms-page ul { padding-inline-start: 1.4rem; }
.terms-page li + li { margin-top: .4rem; }
.terms-page .terms-date { color: var(--muted); margin-bottom: 1.5rem; }
.terms-contents {
  margin-block: 1.5rem 2rem;
  padding-inline: 1rem;
  border: 1px solid var(--stroke);
  border-radius: .65rem;
  background: var(--surface);
}
.terms-contents summary { padding-block: .8rem; line-height: 1.5; font-weight: 700; cursor: pointer; }
.terms-contents ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 0 1.25rem;
  margin: 0 0 .75rem;
  padding: .5rem 0 0;
  border-top: 1px solid var(--stroke);
  list-style: none;
}
.terms-contents li + li { margin: 0; }
.terms-contents a { display: block; padding-block: .6rem; }
.terms-page .terms-return { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--stroke); }

.trait-filters { display: block; padding: clamp(.9rem, 2.5vw, 1.5rem); border: 1px solid var(--stroke); border-radius: 1rem; background: var(--surface); }
.trait-filters[hidden], #featuredGenres[hidden], .category-card[hidden], #extraFilters[hidden] { display: none; }
.filter-heading { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: .65rem; }
.filter-heading h3 { margin: 0; font-size: 1.1rem; }
.filter-groups { display: grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr)); gap: .65rem; }
.filter-group { min-width:0; border:1px solid var(--stroke); border-radius:.85rem; background:var(--raised); overflow:hidden; }
.filter-group summary { display:flex; align-items:center; justify-content:space-between; gap:.6rem; min-height:48px; padding:.65rem .8rem; cursor:pointer; font-weight:900; list-style:none; }
.filter-group summary::-webkit-details-marker { display:none; }
.filter-group summary::after { content:'+'; color:var(--muted); font-size:1.25rem; line-height:1; }
.filter-group[open] summary { border-bottom:1px solid var(--stroke); background:var(--surface); }
.filter-group[open] summary::after { content:'−'; }
.filter-group-name { overflow-wrap:anywhere; }
.filter-group-count { color:var(--muted); font-size:.76rem; font-weight:800; white-space:nowrap; }
.filter-group .filter-options { padding:.6rem; }
.filter-options { display: flex; flex-wrap: wrap; gap: .35rem; }
.filter-options button { padding: .35rem .75rem; border-radius: 1.25rem; font-size: .88rem; min-height: 40px; overflow-wrap: anywhere; max-width: 100%; }
.trait-filters :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
#extraFilters { margin-top: .85rem; }
#moreGalleryFilters { display: none; }
#filterCount { margin: .8rem 0 0; color: var(--muted); font-size: .85rem; font-weight: 700; }
.set-body .set-meta, #setDialogCategory { overflow-wrap: anywhere; }
.set-engagement{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;margin:1.1rem 0 0;color:var(--muted);font-size:.88rem;font-weight:800}
.set-engagement button{min-height:40px;padding:.35rem .75rem;border:1px solid var(--stroke);border-radius:999px;background:var(--raised);color:var(--ink);font:inherit;font-weight:900;cursor:pointer}
.set-engagement button[aria-pressed="true"]{background:var(--accent);border-color:var(--accent);color:var(--accent-text)}
.set-engagement button:disabled{opacity:.65;cursor:wait}
@media (max-width: 760px) {
  #moreGalleryFilters { display: inline-flex; align-items: center; }
  #moreGalleryFilters[aria-expanded="false"] + #extraFilterGroups { display: none; }
  #moreGalleryFilters[aria-expanded="true"] + #extraFilterGroups { margin-top: .75rem; }
}

#explore, #galleryFilters { scroll-margin-top: 6rem; }
.category-label { flex-wrap: wrap; }
.category-label .category-count { color: var(--muted); font-size: .81rem; font-weight: 700; }
.category-card[aria-disabled="true"] { cursor: default; transform: none; }
.gallery-intro .section-heading:has(.gallery-policy) { display: grid; gap: .55rem; }
.gallery-policy { margin: 0; max-width: 48ch; font-size: .93rem; color: var(--muted); }
.filter-options button:has(img) { display: inline-flex; align-items: center; gap: .5rem; padding: .17rem .72rem .17rem .17rem; border-radius: .8rem; }
.filter-options button img { width: 38px; height: 46px; border-radius: .6rem; object-fit: cover; }
.placement-art button { width: 100%; border: 0; padding: 0; background: transparent; display: grid; place-items: center; min-height: 44px; cursor: zoom-in; }
.placement-art button:focus-visible { outline-offset: -4px; }
.category-art, .hero-visual, .set-cover, .set-image-grid button, .filter-options [data-trait], .placement-art button, .viewer-artwork {
  -webkit-touch-callout: none; -webkit-user-drag: none; user-select: none;
}
/* Native menus, including Firefox Shift+right-click, hit the frame or control. */
:is(.category-art, .feature-poster, .set-cover, .set-image-grid button, .filter-options [data-trait], .placement-art button, .viewer-artwork) > img {
  pointer-events: none; -webkit-user-drag: none;
}
@media print {
  .hero-visual, #featuredGenres, #galleryFilters, .set-cover, .set-dialog, .image-dialog, .site-placement, .gate-design { display: none !important; }
  [data-site-image].has-studio-image::after { display: none !important; }
}

.member-bar { display:flex; align-items:center; gap:1.2rem; flex-wrap:wrap; margin:0 0 1.4rem; }
.member-bar .button { min-height:42px; }
.member-bar[hidden], .member-bar [hidden], [data-account-link][hidden], .member-dialog [hidden] { display:none; }
.member-dialog { width:min(28rem,calc(100% - 2rem)); }
.member-dialog .dialog-inner { display:grid; gap:1rem; padding:clamp(1.25rem,4vw,2rem); }
.member-dialog h2 { margin:0; padding-right:2rem; }
.member-dialog p { margin:0; }
.member-dialog form { display:grid; gap:.55rem; }
.member-dialog label { display:block; font-weight:700; }
.member-dialog input { width:100%; min-height:44px; padding:.65rem .8rem; font:inherit; color:var(--ink); background:var(--bg); border:1px solid var(--stroke); border-radius:.5rem; }
.member-dialog #passwordRow { display:grid; gap:.55rem; }
.member-dialog #passwordRow[hidden] { display:none; }
.member-dialog form .button { margin-top:.5rem; }
.member-actions { display:flex; flex-wrap:wrap; gap:.35rem 1rem; align-items:center; }
.member-actions button, .member-actions a { color:var(--ink); text-decoration:underline; text-underline-offset:.2em; font:inherit; font-weight:700; background:none; border:0; padding:.45rem 0; cursor:pointer; }
.member-privacy { font-size:.83rem; color:var(--muted); } .member-privacy summary { cursor:pointer; } .member-privacy p { margin-top:.45rem; }
#accountIntro, #memberFeedback { overflow-wrap:anywhere; }
#memberFeedback:empty, #likeFeedback:empty { display:none; }
.likes-page #main > :not(#collections), .likes-page #galleryFilters, .likes-page #gallery-banner { display:none; }
.likes-page #collections { min-height:56vh; padding-block:clamp(2rem,7vw,5rem); }
