/*
Theme Name: CandyShorts
Theme URI: https://aicandyshorts.org/
Description: Custom dark theme for the Candy Shorts landing site. Series catalog, digital twins, answer pages, tracked outbound links, age gate. No framework, no jQuery, no build step.
Author: Sano Business Web
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.1
License: GNU General Public License v2 or later
Text Domain: candyshorts
*/

/* ========== tokens ========== */
:root {
  --bg: #fbf8fa;
  --bg-2: #f6eff4;
  --panel: #ffffff;
  --panel-2: #fff0f6;
  --line: #f6dce8;
  --line-2: #efc6d8;
  --text: #1f0f1a;
  --text-2: #4e3a47;
  --muted: #8b7082;
  --accent: #e8127a;
  --accent-2: #ff4fa3;
  --accent-deep: #c2065f;
  --spicy: #ff8a1f;
  --ok: #15a86b;
  --warn-bg: #ffe9ee; --warn-line: #ffc2d1; --warn-text: #9c1b3b;
  --ok-bg: #e6f8ef; --ok-line: #bfe9d2; --ok-text: #156b46;
  --grad: linear-gradient(90deg, #ff3d9a 0%, #e8127a 100%);
  --grad-hover: linear-gradient(90deg, #ff5cab 0%, #f21f85 100%);
  --glow: 0 4px 18px rgba(232, 18, 122, .28);
  --glow-2: 0 6px 24px rgba(232, 18, 122, .42);
  --shadow: 0 8px 22px rgba(90, 20, 60, .14);
  --r: 12px;
  --r-lg: 18px;
  --gutter: 16px;
  --head: 60px;
  --side: 240px;
  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Sora", "Manrope", ui-sans-serif, system-ui, sans-serif;
}
@media (min-width: 768px) { :root { --gutter: 28px; } }
@media (min-width: 1024px) { :root { --head: 72px; } }

/* ========== base ========== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 1rem); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 15px/1.6 var(--font); color-scheme: light; overflow-wrap: anywhere; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; font-family: var(--display); color: var(--text); text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.05; font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.3rem, 2.3vw, 1.65rem); line-height: 1.15; font-weight: 700; letter-spacing: -.025em; }
h3 { font-size: 1.05rem; line-height: 1.3; font-weight: 700; }
p, ul, ol { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
li + li { margin-top: .3em; }
.wrap { width: 100%; padding-inline: var(--gutter); }
.section { padding-block: clamp(1.6rem, 4vw, 2.8rem); }
.section--tight { padding-block: clamp(.9rem, 2.5vw, 1.4rem); }
main { container-type: inline-size; container-name: content; min-width: 0; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 100; background: var(--accent); color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ========== prose ========== */
.prose { max-width: 48rem; }
.prose p, .prose li { color: var(--text-2); font-size: 1.0625rem; line-height: 1.72; }
.prose li + li { margin-top: .45em; }
.prose strong { color: var(--text); }
.prose h2 { margin-top: 2.1em; scroll-margin-top: calc(var(--head) + 1rem); }
.prose h3 { margin-top: 1.5em; }
.prose table { width: 100%; }
.lede { font-size: 1.15rem; line-height: 1.6; color: var(--text-2); font-weight: 500; max-width: 46rem; margin: 0 0 1.25rem; }
.kicker { display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); margin-bottom: .6rem; }
.crumbs { font-size: 11px; color: var(--muted); margin: 0 0 1rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs span { margin: 0 .35rem; opacity: .5; }
.answer { border-radius: var(--r-lg); padding: 1.2rem 1.35rem; margin: 1.25rem 0 1.75rem; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); border-left: 4px solid var(--accent); max-width: 48rem; }
.answer .label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); margin-bottom: .4rem; }
.answer p { margin: 0; font-size: 1.0625rem; line-height: 1.65; color: var(--text); font-weight: 500; }
.note { border-radius: var(--r); padding: 1rem 1.2rem; margin: 1.4rem 0; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); max-width: 48rem; }
.note p:last-child { margin-bottom: 0; }
.note--warn { background: var(--warn-bg); box-shadow: inset 0 0 0 1px var(--warn-line); }
.note--warn p { color: var(--warn-text); }
.note--ok { background: var(--ok-bg); box-shadow: inset 0 0 0 1px var(--ok-line); }
.note--ok p { color: var(--ok-text); }
.meta-row { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 1.4rem; }

/* ========== buttons ========== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.5rem; border-radius: var(--r); font-weight: 700; font-size: .92rem; line-height: 1.1; border: 0; cursor: pointer; white-space: nowrap; transition: box-shadow .25s, transform .2s, background .15s, color .15s; }
.btn:hover { text-decoration: none; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--sm svg { width: 16px; height: 16px; }
.btn--primary { background: var(--grad); color: #fff; box-shadow: var(--glow); }
.btn--primary:hover { color: #fff; background: var(--grad-hover); box-shadow: var(--glow-2); transform: translateY(-1px); }
.btn--ghost { background: var(--panel); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost:hover { background: var(--panel-2); color: var(--text); }
.btn--outline { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
.btn--outline:hover { background: var(--accent); color: #fff; }
.btn--sm { padding: .55rem 1.1rem; font-size: .8125rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1rem 0; align-items: center; }
.btn-note { font-size: 11px; color: var(--muted); margin: 0; }
.cta-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.4rem; margin: 1.8rem 0; border-radius: var(--r-lg); background: linear-gradient(135deg, #ffe4f0 0%, #ffffff 60%); box-shadow: inset 0 0 0 1px var(--line); max-width: 48rem; }
.cta-box__text { flex: 1 1 260px; }
.cta-box__text strong { display: block; font-family: var(--display); font-size: 1.05rem; color: var(--text); margin-bottom: .2rem; }
.cta-box__text span { font-size: .875rem; color: var(--text-2); }
.cta-box .btn { flex: none; }
@media (max-width: 560px) { .cta-box .btn, .btn-row .btn { width: 100%; } }

/* ========== header ========== */
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(251, 248, 250, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
body.admin-bar .site-head { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-head { top: 46px; } }
/* Below 600px WordPress makes the admin bar scroll away (position: absolute), so no offset. */
@media (max-width: 600px) { body.admin-bar .site-head { top: 0; } }
.site-head__inner { display: flex; align-items: center; gap: .75rem; min-height: var(--head); }
.nav-toggle { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border: 0; border-radius: 10px; cursor: pointer; background: var(--panel-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.nav-toggle svg { width: 20px; height: 20px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; flex: 1 1 auto; justify-content: center; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand svg { width: 26px; height: 26px; flex: none; }
.brand__word { font-family: var(--display); font-weight: 800; font-size: 1.35rem; letter-spacing: -.04em; line-height: 1; }
.brand__word em { font-style: normal; color: var(--accent); }
.head-cta { display: none; }
@media (min-width: 1024px) {
  .brand { flex: none; justify-content: flex-start; }
  .brand__word { font-size: 1.45rem; }
  .head-cta { display: inline-flex; margin-left: auto; }
}

/* ========== layout + sidebar ========== */
.sidebar { position: fixed; top: 0; left: 0; bottom: 0; z-index: 60; width: min(300px, 86vw); padding: .75rem 1rem 2rem; background: var(--bg); box-shadow: 1px 0 0 var(--line), 0 24px 60px rgba(60,10,40,.25); overflow-y: auto; overscroll-behavior: contain; transform: translateX(-100%); visibility: hidden; transition: transform .28s cubic-bezier(.2,.7,.2,1), visibility 0s linear .28s; }
.nav-open .sidebar { transform: none; visibility: visible; transition: transform .28s cubic-bezier(.2,.7,.2,1), visibility 0s; }
html.nav-open, html.nav-open body { overflow: hidden; }
.sidebar__top { display: flex; align-items: center; justify-content: flex-end; min-height: 44px; margin-bottom: .5rem; }
.sidebar__close { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 10px; cursor: pointer; background: var(--panel-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.sidebar__close svg { width: 18px; height: 18px; }
.scrim { position: fixed; inset: 0; z-index: 55; background: rgba(31,15,26,.55); display: none; }
.nav-open .scrim { display: block; }
.sb-label { margin: 1.3rem 0 .5rem .25rem; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.sb-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.sb-list li + li { margin: 0; }
.sb-item { display: flex; align-items: center; gap: .7rem; min-height: 46px; padding: .55rem .9rem; border-radius: 10px; font-size: .9rem; font-weight: 600; color: var(--text); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); transition: background .15s, box-shadow .15s; }
.sb-item:hover { background: var(--panel-2); text-decoration: none; color: var(--text); }
.sb-item.is-active { box-shadow: inset 0 0 0 1.5px var(--accent); }
.sb-item svg { width: 18px; height: 18px; flex: none; color: var(--text-2); }
.sb-item__badge { margin-left: auto; font-size: 10px; font-weight: 700; color: #fff; background: var(--accent); border-radius: 999px; padding: .15rem .45rem; }
.sb-cta { margin: 1.4rem 0 0; }
.sb-legal { margin: 1.2rem 0 0 .25rem; font-size: 10px; color: var(--muted); display: flex; gap: .5rem; flex-wrap: wrap; }
.sb-legal a { color: var(--muted); }
@media (min-width: 1024px) {
  .nav-toggle, .sidebar__top { display: none; }
  .scrim { display: none !important; }
  html.nav-open, html.nav-open body { overflow: visible; }
  .layout { position: relative; display: grid; grid-template-columns: var(--side) minmax(0, 1fr); gap: 12px; align-items: start; padding-left: var(--gutter); }
  .layout::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--gutter) + var(--side) + 6px); width: 1px; background: var(--line); }
  .layout > main { order: 2; padding-inline: var(--gutter); }
  .layout > .sidebar { order: 1; position: sticky; inset: auto; top: calc(var(--head) + 1.5rem); width: auto; padding: 1.4rem 0 0; background: transparent; transform: none; visibility: visible; box-shadow: none; z-index: 1; max-height: calc(100vh - var(--head) - 3rem); overflow-y: auto; scrollbar-width: thin; transition: none; }
  body.admin-bar .layout > .sidebar { top: calc(32px + var(--head) + 1.5rem); }
}

/* ========== hero ========== */
.hero { position: relative; overflow: hidden; margin-inline: calc(-1 * var(--gutter)); border-bottom: 1px solid var(--line); background: radial-gradient(1200px 600px at 85% 10%, rgba(232,18,122,.14), transparent 60%), var(--bg); isolation: isolate; }
.hero__inner { position: relative; z-index: 2; display: grid; gap: 2rem; padding: clamp(1.8rem, 4cqw, 3.5rem) var(--gutter); align-items: center; }
.hero--image { display: flex; align-items: center; min-height: clamp(460px, 48cqw, 760px); background: #1c0a14; }
.hero__bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: 74% 22%; }
.hero__overlay { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(28,10,20,.96) 0%, rgba(28,10,20,.88) 26%, rgba(28,10,20,.6) 50%, rgba(28,10,20,.18) 74%, rgba(28,10,20,.05) 100%), linear-gradient(180deg, rgba(28,10,20,.25) 0%, transparent 30%, transparent 75%, rgba(28,10,20,.55) 100%); }
.hero--image .hero__pills li { color: rgba(255,255,255,.85); background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.hero--image .hero__inner { width: 100%; }
.hero--image .hero__content { max-width: 38rem; }
@media (max-width: 639px) {
	/* Phone: image as a banner on top, text below on the dark background. */
	.hero--image { display: block; min-height: 0; background: var(--bg); }
	.hero__bg { position: relative; inset: auto; display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 72% 18%; }
	.hero__overlay { inset: auto; top: 0; left: 0; right: 0; height: auto; aspect-ratio: 4 / 3; background: linear-gradient(180deg, rgba(251,248,250,0) 50%, rgba(251,248,250,.55) 78%, var(--bg) 100%); }
	.hero--image .hero__inner { padding: 0 var(--gutter) 1.6rem; margin-top: -3rem; }
	.hero h1 { font-size: 2rem; }
	.hero--image .hero__content h1 { color: var(--text); }
	.hero--image .hero__content h1 em { color: var(--accent); }
	.hero--image .hero__lede { color: var(--text-2); font-size: .95rem; margin-bottom: 1rem; }
	.hero--image .hero__note { color: var(--muted); }
	.hero--image .hero__pills { margin-bottom: 1rem; }
	.hero--image .hero__pills li { color: var(--text-2); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line-2); }
	.hero--image .btn--ghost { background: var(--panel); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); backdrop-filter: none; }
}
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5cqw, 3.6rem); margin-bottom: .5em; }
.hero h1 em { font-style: normal; color: var(--accent-2); }
.hero__lede { font-size: clamp(1rem, 1.4cqw, 1.1rem); line-height: 1.6; color: rgba(255,255,255,.84); max-width: 36rem; margin: 0 0 1.4rem; font-weight: 500; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 1rem; }
.hero__note { font-size: 11px; color: rgba(255,255,255,.6); margin: 0; }
.hero__pills { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 0 1.3rem; padding: 0; list-style: none; }
.hero__pills li { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--text-2); background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--line-2); border-radius: 999px; padding: .3rem .7rem; }

/* ========== section heads, grids, cards ========== */
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.sec-head h2 { margin: 0; font-weight: 800; }
.sec-head h2 em { font-style: normal; color: var(--accent); }
.sec-head__link { flex: none; font-size: .8125rem; font-weight: 600; color: var(--muted); }
.sec-head__link:hover { color: var(--accent); }
.card-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@container content (min-width: 440px) { .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@container content (min-width: 680px) { .card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; } }
@container content (min-width: 960px) { .card-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.4rem; } }
.pcard { position: relative; display: block; aspect-ratio: 2 / 3; border-radius: 14px; overflow: hidden; background: var(--panel); box-shadow: var(--shadow); transition: box-shadow .3s; }
.pcard:hover { text-decoration: none; box-shadow: 0 0 0 2px rgba(255,61,154,.8), var(--glow); }
.pcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s cubic-bezier(0,0,.2,1); }
.pcard:hover img { transform: scale(1.04); }
.pcard__badge { position: absolute; top: .65rem; left: .65rem; z-index: 2; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #fff; background: var(--accent); border-radius: 5px; padding: .2rem .5rem; }
.pcard__badge--twin { background: #6c3cff; }
.pcard__name { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; flex-direction: column; gap: .25rem; padding: 4rem .8rem .8rem; background: linear-gradient(to top, rgba(0,0,0,.94) 0%, rgba(0,0,0,.65) 40%, transparent 100%); color: #fff; }
.pcard__title { margin: 0; font-size: .95rem; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; color: #fff; font-family: var(--display); }
.pcard__meta { font-size: 11px; font-weight: 500; color: rgba(255,255,255,.8); }
.qa-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); list-style: none; margin: 1rem 0 1.5rem; padding: 0; }
.qa { position: relative; display: flex; flex-direction: column; gap: .3rem; border-radius: var(--r-lg); padding: 1.25rem 1.3rem; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .15s, transform .15s; margin: 0; }
.qa:hover { box-shadow: inset 0 0 0 1.5px var(--accent); transform: translateY(-1px); }
.qa__tag { display: block; align-self: flex-start; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); background: none; padding: 0; margin-bottom: .1rem; }
.qa h3 { margin: 0; font-size: 1rem; }
.qa h3 a { color: var(--text); }
.qa h3 a::after { content: ""; position: absolute; inset: 0; }
.qa h3 a:hover { text-decoration: none; }
.qa p { margin: 0; font-size: .875rem; color: var(--text-2); line-height: 1.55; }
.stats { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); margin: 1.2rem 0 1.5rem; max-width: 48rem; }
.stat { padding: .95rem 1rem 1rem; border-radius: var(--r); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: .15rem; }
.stat b { font-family: var(--display); font-size: 1.55rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.stat span { font-size: .8125rem; color: var(--muted); }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 1rem 0 1.5rem; display: grid; gap: .8rem; max-width: 48rem; }
.steps li { counter-increment: step; position: relative; padding: 1rem 1.1rem 1rem 3.4rem; border-radius: var(--r); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); color: var(--text-2); margin: 0; }
.steps li::before { content: counter(step); position: absolute; left: 1rem; top: .95rem; width: 1.6rem; height: 1.6rem; border-radius: 999px; background: var(--grad); color: #fff; font-weight: 800; font-size: .8rem; display: grid; place-items: center; }
.steps li strong { display: block; color: var(--text); margin-bottom: .15rem; }

/* ========== pricing ========== */
.plans { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: 1rem 0 1.25rem; max-width: 48rem; }
.plan { position: relative; padding: 1.2rem 1.2rem 1.3rem; border-radius: var(--r-lg); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.plan--hot { box-shadow: inset 0 0 0 1.5px var(--accent), var(--glow); }
.plan__tag { position: absolute; top: -.6rem; left: 1rem; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #fff; background: var(--accent); border-radius: 5px; padding: .2rem .5rem; }
.plan__name { font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: .4rem; }
.plan__price { font-family: var(--display); font-size: 2rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.plan__price small { font-size: .9rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan__was { font-size: .8125rem; color: var(--muted); text-decoration: line-through; margin-left: .4rem; }
.plan__bill { font-size: .8125rem; color: var(--text-2); margin: .5rem 0 0; }
.plan__save { display: inline-block; margin-top: .6rem; font-size: 11px; font-weight: 700; color: var(--ok); }

/* ========== series page ========== */
.series-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; margin-bottom: 1.6rem; }
@container content (min-width: 640px) { .series-head { grid-template-columns: minmax(200px, 290px) minmax(0, 1fr); gap: 2rem; align-items: start; } }
@container content (max-width: 639px) { .series-head { justify-items: center; text-align: center; } .series-head__body { display: flex; flex-direction: column; align-items: center; } .specs { justify-content: center; } }
.series-head__poster { position: relative; width: 100%; max-width: 300px; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 14px; background: var(--panel); box-shadow: var(--shadow); }
.series-head__poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.series-head__body h1 { margin-bottom: .4em; }
.series-head__lede { color: var(--text-2); font-size: 1.0625rem; line-height: 1.7; margin: 0 0 .5rem; }
.specs { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .5rem 1.4rem; margin: 1.1rem 0 0; align-items: center; }
.specs dt { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; color: var(--text); display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; }
.tag { display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #fff; background: var(--accent); border-radius: 5px; padding: .18rem .45rem; vertical-align: middle; }
.tag--soft { background: var(--panel-2); color: var(--text-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.tag--twin { background: #6c3cff; }
.episodes { list-style: none; margin: .5rem 0 1.5rem; padding: 0; display: grid; gap: .5rem; max-width: 48rem; }
.episodes li { display: flex; align-items: center; gap: .9rem; padding: .8rem 1rem; border-radius: var(--r); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); margin: 0; }
.episodes__num { font-family: var(--display); font-weight: 800; font-size: 1.1rem; width: 2.2rem; color: var(--accent); }
.episodes__title { flex: 1 1 auto; font-weight: 600; color: var(--text); }
.episodes__state { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; border-radius: 5px; padding: .22rem .5rem; }
.episodes__state--free { background: var(--ok-bg); color: var(--ok-text); box-shadow: inset 0 0 0 1px var(--ok-line); }
.episodes__state--premium { background: var(--panel-2); color: var(--text-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.char-box { display: flex; gap: 1rem; align-items: center; padding: 1rem 1.1rem; border-radius: var(--r-lg); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); max-width: 48rem; margin: 1.2rem 0; }
.char-box__avatar { flex: none; width: 56px; height: 56px; border-radius: 999px; overflow: hidden; background: var(--panel-2); }
.char-box__avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.char-box strong { display: block; font-family: var(--display); color: var(--text); }
.char-box span { font-size: .875rem; color: var(--text-2); }

/* ========== article image ========== */
figure.ph { margin: 1.6rem 0 1.8rem; max-width: 48rem; }
figure.ph img { width: 100%; height: auto; border-radius: 14px; box-shadow: var(--shadow); background: var(--panel); }
figure.ph figcaption { font-size: 11px; color: var(--muted); margin-top: .5rem; font-weight: 500; }

/* ========== tables ========== */
.tbl-wrap { overflow-x: auto; margin: .25rem 0 1.5rem; background: var(--panel); border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); max-width: 48rem; }
.tbl { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 520px; font-size: .9375rem; margin: 0; }
.tbl th { text-align: left; padding: .75rem 1rem; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); background: var(--bg-2); border-bottom: 1px solid var(--line); }
.tbl td { padding: .8rem 1rem; border-bottom: 1px solid var(--line); color: var(--text-2); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td:first-child { font-weight: 600; color: var(--text); }
.tbl td:first-child a { color: var(--text); }
.tbl td:first-child a:hover { color: var(--accent); text-decoration: none; }

/* ========== faq ========== */
.faq { margin-top: 2.4rem; max-width: 48rem; }
.faq h2 { margin-bottom: 1rem; }
.faq details { border-radius: var(--r); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); padding: 0 1.1rem; margin-bottom: .55rem; }
.faq summary { cursor: pointer; padding: 1rem 0; font-weight: 700; font-size: .95rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 700; flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { font-size: .9rem; color: var(--text-2); margin: 0 0 1rem; line-height: 1.6; }

/* ========== related / twins ========== */
.related { margin-top: 2.2rem; }
.twin-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin: 1rem 0 1.5rem; }
.twin { display: flex; flex-direction: column; gap: .4rem; padding: 1.2rem; border-radius: var(--r-lg); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); position: relative; transition: box-shadow .15s; }
.twin:hover { box-shadow: inset 0 0 0 1.5px #6c3cff; }
.twin h3 { margin: 0; }
.twin h3 a { color: var(--text); }
.twin h3 a::after { content: ""; position: absolute; inset: 0; }
.twin h3 a:hover { text-decoration: none; }
.twin p { margin: 0; font-size: .875rem; color: var(--text-2); }
.twin__count { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #a98bff; }
.twin__posters { display: flex; gap: .4rem; margin-top: .4rem; }
.twin__posters img { width: 54px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 6px; }

/* ========== footer ========== */
.site-foot { margin-top: 2.5rem; padding-block: 2rem 2.4rem; border-top: 1px solid var(--line); background: var(--bg-2); font-size: .8125rem; color: var(--muted); }
.site-foot a { color: var(--muted); }
.site-foot a:hover { color: var(--accent); }
.site-foot__nav { display: flex; gap: .4rem 1.1rem; flex-wrap: wrap; margin-bottom: .9rem; }
.site-foot__legal { margin: 0 0 .5rem; }
.site-foot p { max-width: 60rem; }

/* ========== age gate ========== */
#age-gate { position: fixed; inset: 0; z-index: 9999; padding: 20px; background: rgba(251,248,250,.9); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; }
html.age-ok #age-gate { display: none !important; }
html:not(.age-ok) body { overflow: hidden; }
.age-gate__box { max-width: 440px; width: 100%; text-align: center; border-radius: var(--r-lg); padding: 2rem 1.5rem; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line), 0 20px 60px rgba(90,20,60,.25); }
.age-gate__box .brand__word { display: block; margin-bottom: .6rem; }
.age-gate__box svg { width: 44px; height: 44px; margin: 0 auto .8rem; }
.age-gate__title { margin: 0 0 .5em; font-family: var(--display); font-size: 1.35rem; font-weight: 700; }
.age-gate__box p { color: var(--text-2); font-size: .9rem; }
.age-gate__box small { display: block; margin-top: 1rem; font-size: 11px; color: var(--muted); }
.age-gate__actions { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; margin-top: 1.2rem; }

/* ========== 404 / misc ========== */
.error-page { padding-top: 3rem; }
.archive-head { margin-bottom: 1.4rem; }
.wp-block-image img, .prose img { border-radius: 12px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-head, .sidebar, #age-gate, .nav-toggle, .scrim { display: none !important; } .layout { display: block; } }
