/*
Theme Name: Candy Shorts Porn Guide
Theme URI: https://candyshortsporn.com/
Author: Candy Shorts Porn Guide Editorial Team
Description: Light editorial theme with a pill sidebar for an independent FAQ-first guide site. Single stylesheet, single small script, SEO handled by the theme.
Version: 0.3.0
Requires at least: 6.5
Requires PHP: 8.1
License: GNU General Public License v2 or later
Text Domain: cspguide
*/

/* ---------- 1. Tokens ---------- */
:root {
  --page: #f3f3f6;
  --panel: #fbfbfd;
  --pill: #fbfbfd;
  --pill-hover: #ededf2;
  --stroke: #dcdce4;
  --stroke-2: #c8c8d3;
  --text: #15151a;
  --text-2: #4a4a55;
  --hint: #6e6e7a;
  --accent: #d81b78;
  --accent-bright: #f0388f;
  --accent-soft: rgba(216, 27, 120, .10);
  --spicy: #e07b12;
  --cta-gradient: linear-gradient(90deg, #f0388f 0%, #c9146a 100%);
  --cta-gradient-hover: linear-gradient(90deg, #ff4fa0 0%, #d81b78 100%);
  --on-accent: #fffdfe;
  --warn-bg: #fdecef; --warn-stroke: #f2c3ce; --warn-text: #7a1230;
  --ok-bg: #e6f6ee; --ok-stroke: #b9e2cb; --ok-text: #145a3a;
  --info-bg: #fbe9f2; --info-stroke: #f0c4da; --info-text: #7a1a52;
  --shadow-card: 0 6px 18px rgba(20, 20, 30, .10);
  --shadow-pink: 0 2px 20px rgba(216, 27, 120, .22);
  --shadow-pink-2: 0 4px 26px rgba(216, 27, 120, .34);
  --radius: .75rem;
  --radius-lg: 1rem;
  --btn-radius: 12px;
  --side-w: 232px;
  --head-h: 60px;
  --gutter: 16px;
  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Outfit", "Manrope", ui-sans-serif, system-ui, sans-serif;
}
@media (min-width: 768px) { :root { --gutter: 28px; } }
@media (min-width: 1024px) { :root { --head-h: 72px; } }

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--page); }
body { margin: 0; background: var(--page); color: var(--text); font: 15px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-bright); }
h1, h2, h3, h4 { margin: 0; color: var(--text); font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.2vw, 3.1rem); line-height: 1.05; letter-spacing: -.035em; font-weight: 800; }
h2 { font-size: clamp(1.35rem, 2.3vw, 1.7rem); line-height: 1.2; }
h3 { font-size: 1.05rem; line-height: 1.35; font-family: var(--font); letter-spacing: 0; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: var(--gutter); top: -100px; z-index: 300; background: var(--accent); color: var(--on-accent); padding: .6rem 1rem; border-radius: var(--btn-radius); font-weight: 700; }
.skip-link:focus { top: .5rem; }
.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
.label { display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }

/* ---------- 3. Buttons, badges, tags ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: .7rem 1.15rem; border-radius: var(--btn-radius); font-weight: 700; font-size: .92rem; line-height: 1.1; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); color: var(--text); }
.btn svg { width: 1em; height: 1em; flex: none; }
.btn-cta { background: var(--cta-gradient); color: var(--on-accent); box-shadow: var(--shadow-pink); }
.btn-cta:hover { background: var(--cta-gradient-hover); color: var(--on-accent); box-shadow: var(--shadow-pink-2); }
.btn-ghost { background: rgba(255, 255, 255, .72); border-color: rgba(21, 21, 26, .16); color: var(--text); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .95); border-color: rgba(21, 21, 26, .3); }
.btn-line { background: var(--pill); border-color: var(--stroke-2); color: var(--text); }
.btn-line:hover { border-color: var(--hint); }
.badge { display: inline-block; padding: .3rem .6rem; border-radius: 999px; font-size: .66rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; line-height: 1; background: rgba(251, 251, 253, .9); color: var(--text); border: 1px solid rgba(21, 21, 26, .1); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.badge-new { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.badge-hot { background: var(--spicy); color: #fffaf3; border-color: transparent; }
.badge-flag { background: var(--text); color: var(--panel); border-color: transparent; }
.tag { display: inline-block; padding: .2rem .55rem; border-radius: 999px; font-size: .72rem; font-weight: 700; background: var(--pill-hover); color: var(--text-2); }

/* ---------- 4. Header bar ---------- */
.site-bar { position: sticky; top: 0; z-index: 70; background: rgba(243, 243, 246, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--stroke); }
body.admin-bar .site-bar { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-bar { top: 46px; } }
.site-bar-in { display: flex; align-items: center; gap: .75rem; min-height: var(--head-h); }
.menu-btn { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border: 0; border-radius: 10px; background: var(--pill); color: var(--text); box-shadow: inset 0 0 0 1px var(--stroke); cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; }
.brand { flex: 1; text-align: left; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; color: var(--text); white-space: nowrap; }
.brand em { font-style: normal; color: var(--accent); }
.brand:hover { color: var(--text); }
@media (min-width: 1024px) { .brand { font-size: 1.3rem; } }
/* Below the sidebar breakpoint the bar is a three-slot grid: button, centered brand, balancing gap. */
@media (max-width: 1023px) {
  .site-bar-in { display: grid; grid-template-columns: 42px minmax(0, 1fr) 42px; align-items: center; }
  .site-bar-in::after { content: ""; }
  .brand { flex: none; text-align: center; overflow: hidden; text-overflow: ellipsis; }
}

/* ---------- 5. Frame: sidebar + content ---------- */
.frame { position: relative; }
@media (min-width: 1024px) {
  .frame { display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr); align-items: stretch; }
}
.side { position: fixed; top: 0; left: 0; bottom: 0; z-index: 90; width: min(300px, 86vw); padding: .75rem 1rem 2rem; background: var(--panel); box-shadow: 1px 0 0 var(--stroke), 0 24px 60px rgba(20, 20, 30, .28); overflow-y: auto; overscroll-behavior: contain; transform: translateX(-104%); visibility: hidden; transition: transform .28s cubic-bezier(.2, .7, .2, 1), visibility 0s linear .28s; }
html.drawer-open .side { transform: none; visibility: visible; transition: transform .28s cubic-bezier(.2, .7, .2, 1), visibility 0s; }
html.drawer-open body { overflow: hidden; }
.side-scrim { position: fixed; inset: 0; z-index: 85; background: rgba(21, 21, 26, .45); }
.side-scrim[hidden] { display: none; }
.side-top { display: flex; align-items: center; justify-content: space-between; min-height: 44px; margin-bottom: .5rem; }
.side-top .brand { flex: none; text-align: left; font-size: 1.05rem; }
.side-close { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 10px; background: var(--pill); color: var(--text); box-shadow: inset 0 0 0 1px var(--stroke); cursor: pointer; }
.side-close svg { width: 18px; height: 18px; }
@media (min-width: 1024px) {
  .side { position: static; width: auto; max-width: none; height: auto; padding: 1.5rem .9rem 2rem 0; margin-left: var(--gutter); background: transparent; transform: none; visibility: visible; transition: none; box-shadow: none; border-right: 1px solid var(--stroke); z-index: 1; overflow: visible; }
  .side-nav { position: sticky; top: calc(var(--head-h) + 1.25rem); }
  body.admin-bar .side-nav { top: calc(var(--head-h) + 32px + 1.25rem); }
  .side-top { display: none; }
  .side-scrim { display: none !important; }
  html.side-collapsed .frame { grid-template-columns: minmax(0, 1fr); }
  html.side-collapsed .side { display: none; }
}
.side-label { margin: 1.3rem 0 .5rem; padding: 0 .25rem; font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--hint); }
.side-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.pill { display: flex; align-items: center; gap: .7rem; min-height: 44px; padding: .5rem .8rem; border-radius: 10px; color: var(--text); font-weight: 600; font-size: .9rem; line-height: 1.25; background: var(--pill); box-shadow: inset 0 0 0 1px var(--stroke); transition: background .15s ease, color .15s ease, box-shadow .15s ease; }
.pill svg { width: 18px; height: 18px; flex: none; color: var(--hint); }
.pill:hover { background: var(--pill-hover); color: var(--text); }
.pill:hover svg { color: var(--accent); }
.pill[aria-current="page"] { box-shadow: inset 0 0 0 1.5px var(--accent); }
.pill[aria-current="page"] svg { color: var(--accent); }
.pill-badge { margin-left: auto; padding: .15rem .5rem; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: .7rem; font-weight: 800; }
.pill-thumb { width: 26px; height: 38px; flex: none; border-radius: 6px; overflow: hidden; background: var(--pill); box-shadow: inset 0 0 0 1px var(--stroke); }
.pill-thumb img, .pill-thumb svg { width: 100%; height: 100%; object-fit: cover; }
.side-cta { margin: 1.1rem .25rem .25rem; }
.side-cta .btn { width: 100%; }
.side-cta small { display: block; margin-top: .5rem; text-align: center; font-size: .7rem; color: var(--hint); }
.side-minor { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--stroke); }
.side-minor .pill { min-height: 38px; font-size: .84rem; font-weight: 500; background: transparent; box-shadow: none; }
.side-minor .pill:hover { background: var(--pill-hover); }
.main-col { min-width: 0; }

/* ---------- 6. Hero ---------- */
.hero { position: relative; overflow: hidden; display: flex; align-items: center; min-height: clamp(420px, 44vw, 680px); border-bottom: 1px solid var(--stroke); background: #141414; }
@media (min-width: 1024px) { .hero { min-height: clamp(420px, 34vw, min(640px, calc(100svh - var(--head-h)))); } }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 22%; display: block; }
.hero-bg svg { width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; display: block; }
.hero-veil { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(20, 20, 20, .92) 0%, rgba(20, 20, 20, .78) 26%, rgba(20, 20, 20, .42) 46%, rgba(20, 20, 20, .08) 64%, transparent 74%); }
.hero-body { position: relative; z-index: 2; max-width: 40rem; padding: clamp(1.5rem, 4vw, 3.5rem) var(--gutter); color: #fff; }
.hero-body h1 { color: #fff; margin-bottom: .8rem; }
.hero-body h1 em { font-style: normal; color: var(--accent-bright); }
.hero .btn-ghost { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); color: #fff; }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .38); color: #fff; }
.hero-tag { font-size: clamp(1.05rem, 1.6vw, 1.35rem); font-weight: 700; letter-spacing: -.02em; margin: 0 0 .8rem; max-width: 30rem; }
.hero-lede { font-size: clamp(.95rem, 1.3vw, 1.05rem); line-height: 1.6; font-weight: 500; color: rgba(255, 255, 255, .86); margin: 0 0 1.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin: 0 0 1.1rem; }
.hero-note { margin: 0; font-size: 11px; color: rgba(255, 255, 255, .62); }
@media (max-width: 767px) {
  .hero { min-height: 520px; align-items: flex-end; }
  .hero-bg img { object-position: 55% 18%; }
  .hero-veil { background: linear-gradient(180deg, rgba(20, 20, 20, .05) 0%, rgba(20, 20, 20, .55) 45%, rgba(20, 20, 20, .95) 100%); }
}

/* ---------- 7. Sections, question boxes, poster tiles ---------- */
.section { padding: clamp(1.25rem, 2.5vw, 2rem) 0 0; }
.main-col > main > .wrap { padding-bottom: 2rem; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin: 0 0 .9rem; }
.sec-head a { font-weight: 700; font-size: .9rem; white-space: nowrap; display: inline-flex; align-items: center; gap: .3rem; }
.sec-head a svg { width: .95em; height: .95em; }
.sec-intro { margin: -.3rem 0 1.1rem; color: var(--text-2); font-size: .95rem; max-width: 60rem; }
.qgrid { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .qgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .qgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.qbox { position: relative; display: flex; flex-direction: column; gap: .3rem; padding: 1.25rem 1.3rem; border-radius: var(--radius-lg); background: var(--pill); box-shadow: inset 0 0 0 1px var(--stroke); color: var(--text); transition: box-shadow .15s ease, transform .15s ease, background .15s ease; }
.qbox:hover { background: var(--pill-hover); box-shadow: inset 0 0 0 1px var(--accent), var(--shadow-card); transform: translateY(-2px); color: var(--text); }
.qbox h3 { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: -.015em; }
.qbox p { margin: 0; color: var(--text-2); font-size: .9rem; }
.qbox .go { margin-top: .55rem; font-size: .8125rem; font-weight: 700; color: var(--accent); display: inline-flex; align-items: center; gap: .3rem; }
.qbox .go svg { width: .95em; height: .95em; }
.tile-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
@media (min-width: 640px) { .tile-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .tile-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; } }
@media (min-width: 1440px) { .tile-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; } }
.tile-grid.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .tile-grid.compact { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .tile-grid.compact { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tile { position: relative; display: block; aspect-ratio: 2 / 3; border-radius: 14px; overflow: hidden; background: var(--panel); box-shadow: var(--shadow-card); color: var(--text); transition: transform .2s ease, box-shadow .2s ease; }
.tile img, .tile svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0, 0, 0, .12); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(21, 21, 26, .08); transition: box-shadow .2s ease; pointer-events: none; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-card), var(--shadow-pink); }
.tile:hover img, .tile:hover svg { transform: scale(1.04); }
.tile:hover::after { box-shadow: inset 0 0 0 2px var(--accent); }
.tile .badge { position: absolute; top: .6rem; left: .6rem; z-index: 4; }
.tile-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 2.4rem .8rem .8rem; background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .55) 45%, rgba(0, 0, 0, .9) 100%); }
.tile-cap b { display: block; font-family: var(--font-display); font-size: .98rem; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; color: #fff; }
.tile-cap span { display: block; margin-top: .2rem; font-size: .75rem; color: rgba(255, 255, 255, .72); }

/* ---------- 8. Article pages ---------- */
.page { padding: 0; }
.page > article, .page > .section { padding: clamp(1rem, 2.5vw, 1.75rem) var(--gutter) 1.5rem; }
.page > article + .section { padding-top: 0; }
.article { max-width: none; }
.crumbs { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 1rem; padding: 0; list-style: none; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--hint); font-weight: 700; }
.crumbs a { color: var(--hint); }
.crumbs a:hover { color: var(--accent); }
.crumbs li + li::before { content: "›"; margin-right: .35rem; color: var(--stroke-2); }
.kicker { display: inline-block; margin-bottom: .8rem; padding: .32rem .7rem; border-radius: 999px; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); }
.lede { margin: 1rem 0 0; font-size: 1.1rem; line-height: 1.6; color: var(--text-2); }
.byline { display: flex; flex-wrap: wrap; gap: .35rem 1rem; margin: 1rem 0 0; font-size: .8rem; color: var(--hint); }
.byline strong { color: var(--text-2); font-weight: 600; }
.answer { position: relative; margin: 1.5rem 0 1.75rem; padding: 1.2rem 1.35rem; border-radius: var(--radius-lg); background: var(--pill); box-shadow: inset 0 0 0 1px var(--stroke); border-left: 4px solid var(--accent); }
.answer .label { margin-bottom: .4rem; }
.answer p { margin: 0; font-size: 1.05rem; line-height: 1.6; font-weight: 500; color: var(--text); }
.answer p + p { margin-top: .6rem; }
.prose { font-size: 1.0625rem; line-height: 1.7; color: var(--text-2); max-width: none; }
.prose h2 { margin: 2.3rem 0 .8rem; color: var(--text); scroll-margin-top: calc(var(--head-h) + 1.5rem); }
.prose h3 { margin: 1.6rem 0 .5rem; color: var(--text); }
.prose strong { color: var(--text); }
.prose a { text-decoration: underline; text-decoration-color: rgba(216, 27, 120, .4); text-underline-offset: .15em; }
.prose a:hover { color: var(--accent-bright); text-decoration-color: var(--accent-bright); }
.prose ul, .prose ol { padding-left: 1.35rem; }
.prose li + li { margin-top: .35rem; }
.prose figure { margin: 1.75rem 0; }
.prose figure img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 16 / 10; object-fit: cover; box-shadow: var(--shadow-card); }
.prose figcaption { margin-top: .5rem; font-size: .8rem; color: var(--hint); }
.prose blockquote { margin: 1.5rem 0; padding: .25rem 0 .25rem 1.1rem; border-left: 3px solid var(--stroke-2); font-style: italic; }
.prose code { font-size: .9em; background: var(--pill); padding: .1em .35em; border-radius: 4px; }
.table-wrap { overflow-x: auto; margin: 1.5rem 0; border-radius: var(--radius-lg); background: var(--pill); box-shadow: inset 0 0 0 1px var(--stroke); }
.prose table { width: 100%; border-collapse: collapse; font-size: .9rem; margin: 0; }
.prose th { text-align: left; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--hint); padding: .75rem .9rem; border-bottom: 1px solid var(--stroke); }
.prose td { padding: .7rem .9rem; border-bottom: 1px solid var(--stroke); vertical-align: top; }
.prose tr:last-child td { border-bottom: 0; }
.prose td:first-child { font-weight: 700; color: var(--text); }
.prose tbody tr:hover td { background: var(--pill-hover); }
.note { display: grid; grid-template-columns: auto 1fr; gap: .75rem; padding: 1rem 1.1rem; border-radius: var(--radius); border: 1px solid; margin: 1.5rem 0; font-size: .95rem; }
.note svg { width: 1.2rem; height: 1.2rem; margin-top: .15rem; }
.note p { margin: 0; }
.note-warn { background: var(--warn-bg); border-color: var(--warn-stroke); color: var(--warn-text); }
.note-ok { background: var(--ok-bg); border-color: var(--ok-stroke); color: var(--ok-text); }
.note-info { background: var(--info-bg); border-color: var(--info-stroke); color: var(--info-text); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin: 1.5rem 0; }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: .9rem 1rem; border-radius: var(--radius); background: var(--pill); box-shadow: inset 0 0 0 1px var(--stroke); }
.stat b { display: block; font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; color: var(--accent); line-height: 1.1; }
.stat span { display: block; margin-top: .25rem; font-size: .78rem; color: var(--hint); }
.cta-inline { margin: 1.75rem 0; }
.cta-inline a { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .7rem 1.2rem; border-radius: var(--btn-radius); font-weight: 700; font-size: .92rem; line-height: 1.1; background: var(--cta-gradient); color: var(--on-accent); box-shadow: var(--shadow-pink); text-decoration: none; }
.cta-inline a:hover { background: var(--cta-gradient-hover); color: var(--on-accent); box-shadow: var(--shadow-pink-2); transform: translateY(-1px); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin: 2.25rem 0; padding: 1.2rem 1.35rem; border-radius: var(--radius-lg); background: var(--pill); box-shadow: inset 0 0 0 1px var(--stroke); }
.cta-row p { margin: 0; flex: 1 1 16rem; color: var(--text-2); font-size: .93rem; }
.cta-row small { display: block; color: var(--hint); font-size: .76rem; margin-top: .2rem; }

/* FAQ */
.faq { margin: 2.5rem 0 0; }
.faq h2 { margin-bottom: 1rem; }
.faq-item { border-top: 1px solid var(--stroke); }
.faq-item:last-child { border-bottom: 1px solid var(--stroke); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .95rem 0; cursor: pointer; font-weight: 700; color: var(--text); list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; width: 1.7rem; height: 1.7rem; display: grid; place-items: center; border-radius: 999px; background: var(--pill); box-shadow: inset 0 0 0 1px var(--stroke-2); color: var(--text-2); font-weight: 400; }
.faq-item[open] summary::after { content: "−"; color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.faq-item .faq-a { padding: 0 2.6rem 1rem 0; font-size: .875rem; color: var(--text-2); }
.faq-item .faq-a p { margin: 0 0 .6rem; }

/* Related */
.related { margin: 2.5rem 0 0; }
.related h2 { margin-bottom: 1rem; }
.related-grid { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); list-style: none; margin: 0; padding: 0; }
.related-card { display: block; padding: 1rem 1.1rem; border-radius: var(--radius); background: var(--pill); box-shadow: inset 0 0 0 1px var(--stroke); color: var(--text); transition: box-shadow .15s ease, background .15s ease; }
.related-card:hover { background: var(--pill-hover); box-shadow: inset 0 0 0 1px var(--accent); color: var(--text); }
.related-card b { display: block; font-size: .95rem; }
.related-card span { display: block; margin-top: .25rem; font-size: .84rem; color: var(--hint); }

/* ---------- 9. Series and creator heads ---------- */
.entity-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; margin-bottom: 1.75rem; }
@media (min-width: 720px) { .entity-head { grid-template-columns: minmax(200px, 300px) minmax(0, 1fr); gap: 2rem; align-items: start; } }
.entity-poster { position: relative; width: 100%; max-width: 300px; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 14px; margin: 0; background: var(--panel); box-shadow: var(--shadow-card); }
.entity-poster img, .entity-poster svg { width: 100%; height: 100%; object-fit: cover; }
.prose .specs { margin: .9rem 0 1.6rem; font-size: .88rem; }
.prose .specs dd { font-weight: 600; }
.specs { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.25rem; margin: 1.25rem 0; padding: 1rem 1.15rem; border-radius: var(--radius-lg); background: var(--pill); box-shadow: inset 0 0 0 1px var(--stroke); font-size: .9rem; }
.specs dt { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--hint); font-weight: 800; align-self: center; }
.specs dd { margin: 0; color: var(--text); font-weight: 600; }
.entity-actions { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; margin: 1.1rem 0 .75rem; }

/* ---------- 10. Footer ---------- */
.site-foot { margin-top: 0; border-top: 1px solid var(--stroke); background: var(--panel); padding: 2rem 0 2.5rem; font-size: .85rem; color: var(--text-2); }
.disclosure { border-radius: var(--radius); padding: 1rem 1.15rem; margin-bottom: 1.3rem; background: var(--pill); box-shadow: inset 0 0 0 1px var(--stroke); font-size: .8125rem; }
.disclosure p { margin: 0; }
.disclosure p + p { margin-top: .5rem; }
.disclosure strong { color: var(--text); }
.foot-nav ul { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; list-style: none; margin: 0 0 1rem; padding: 0; }
.foot-nav a { color: var(--text); font-weight: 600; }
.foot-nav a:hover { color: var(--accent); }
.foot-fine { font-size: .78rem; color: var(--hint); margin: 0; }

/* ---------- 11. Age gate and consent ---------- */
.agegate { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 1rem; background: rgba(243, 243, 246, .92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
html.age-ok .agegate { display: none; }
.agegate-card { width: 100%; max-width: 460px; padding: 1.75rem 1.6rem; border-radius: 18px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--stroke), 0 30px 80px rgba(20, 20, 30, .25); text-align: center; }
.agegate-title { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; letter-spacing: -.02em; margin: .3rem 0 .6rem; color: var(--text); }
.agegate-card p { font-size: .95rem; color: var(--text-2); }
.agegate-actions { display: grid; gap: .6rem; margin: 1.25rem 0 .75rem; }
@media (min-width: 420px) { .agegate-actions { grid-template-columns: 1fr 1fr; } }
.agegate-card small { display: block; font-size: .74rem; color: var(--hint); }
.consent { position: fixed; left: var(--gutter); right: var(--gutter); bottom: 1rem; z-index: 150; max-width: 34rem; margin: 0 auto; padding: 1rem 1.1rem; border-radius: var(--radius-lg); background: var(--panel); box-shadow: inset 0 0 0 1px var(--stroke), var(--shadow-card); font-size: .88rem; }
.consent[hidden] { display: none; }
.consent p { margin: 0 0 .75rem; color: var(--text-2); }
.consent-actions { display: flex; flex-wrap: wrap; gap: .5rem; }

/* ---------- 12. 404 and print ---------- */
.notfound { padding: 3rem var(--gutter) 2rem; max-width: 46rem; }
.notfound h1 { margin-bottom: 1rem; }
@media print { .site-bar, .side, .site-foot, .agegate, .consent, .cta-row { display: none !important; } }
