/*
Theme Name: Candy AI Shorts
Theme URI: https://candyaishorts.org/
Description: Light editorial theme for candyaishorts.org, the Candy AI Shorts series, ratings and access pages. Hand-written, dependency-free, one stylesheet and one small script.
Author: Candy AI Shorts Team
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cso
*/

/* ===== Tokens: light editorial palette, raspberry accent ===== */
:root {
  --c-bg: #faf6f3;
  --c-surface: #ffffff;
  --c-surface-2: #fdfaf8;
  --c-hover: #f4ece8;
  --c-line: #ece0da;
  --c-line-2: #dbccc4;
  --c-ink: #1c1719;
  --c-ink-2: #55494d;
  --c-ink-3: #7d7075;
  --c-accent: #c21e6a;
  --c-accent-2: #9e1454;
  --c-accent-soft: #fbe6ef;
  --c-chip: rgba(194, 30, 106, .68);
  --c-chip-strong: rgba(194, 30, 106, .85);
  --c-good: #1f7a4d;
  --c-good-bg: #e6f4ec;
  --c-warn: #8a2b22;
  --c-warn-bg: #fdecea;
  --c-info: #6b1a44;
  --c-info-bg: #fbe6ef;
  --grad-cta: linear-gradient(90deg, #e0347f 0%, #b8175e 100%);
  --grad-cta-hover: linear-gradient(90deg, #e94a8f 0%, #c21e6a 100%);
  --shadow-1: 0 1px 2px rgba(28, 23, 25, .05), 0 6px 20px rgba(28, 23, 25, .07);
  --shadow-2: 0 10px 30px rgba(28, 23, 25, .13);
  --shadow-accent: 0 8px 24px rgba(194, 30, 106, .28);
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-pill: 999px;
  --w-side: 240px;
  --h-bar: 64px;
  --pad: 16px;
  --f-body: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-head: "Outfit", "Figtree", ui-sans-serif, system-ui, sans-serif;
}
@media (min-width: 768px) { :root { --pad: 28px; } }
@media (min-width: 1100px) { :root { --h-bar: 72px; } }

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--h-bar) + 16px); }
body { margin: 0; background: var(--c-bg); color: var(--c-ink); font: 400 16px/1.65 var(--f-body); overflow-wrap: break-word; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--c-accent); text-decoration: none; }
a:hover { color: var(--c-accent-2); text-decoration: underline; text-underline-offset: 3px; }
button { font: inherit; }
h1, h2, h3, h4 { font-family: var(--f-head); color: var(--c-ink); margin: 0 0 .5em; text-wrap: balance; line-height: 1.12; }
h1 { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); font-weight: 700; letter-spacing: -.015em; margin-top: 2.1em; }
h3 { font-size: 1.1rem; font-weight: 700; margin-top: 1.5em; }
p, ul, ol { margin: 0 0 1.05em; }
ul, ol { padding-left: 1.3em; }
li + li { margin-top: .3em; }
.u-hide { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; padding: .6rem 1rem; border-radius: var(--r-sm); background: var(--c-ink); color: #fff; }
.skip:focus { left: 8px; }

/* ===== Top bar ===== */
.bar { position: sticky; top: 0; z-index: 50; background: rgba(255, 253, 252, .9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--c-line); }
body.admin-bar .bar { top: 32px; }
@media (max-width: 782px) { body.admin-bar .bar { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .bar { top: 0; } }
.bar__in { display: flex; align-items: center; gap: .75rem; min-height: var(--h-bar); padding-inline: var(--pad); }
.logo { display: inline-flex; align-items: baseline; gap: .35rem; font-family: var(--f-head); font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; color: var(--c-ink); text-decoration: none; }
.logo:hover { text-decoration: none; color: var(--c-ink); }
.logo em { font-style: normal; color: var(--c-accent); }
.logo small { font-family: var(--f-body); font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--c-ink-3); margin-left: .35rem; }
.bar__menu { order: -1; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--c-line); border-radius: var(--r-sm); background: var(--c-surface); color: var(--c-ink); cursor: pointer; }
.bar__menu svg { width: 20px; height: 20px; }
@media (max-width: 1099px) { .logo { flex: 1; justify-content: center; } }
@media (min-width: 1100px) { .bar__menu { display: none; } }

/* ===== Frame: side nav + content ===== */
.frame { display: block; }
.side { position: fixed; inset: 0 auto 0 0; z-index: 70; width: min(320px, 88vw); padding: 1rem 1rem 2rem; background: var(--c-surface); box-shadow: var(--shadow-2); overflow-y: auto; transform: translateX(-102%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; }
html.nav-open .side { transform: none; visibility: visible; transition: transform .25s ease; }
html.nav-open, html.nav-open body { overflow: hidden; }
.side__close { display: grid; place-items: center; width: 40px; height: 40px; margin: 0 0 .5rem auto; border: 1px solid var(--c-line); border-radius: var(--r-sm); background: var(--c-surface); cursor: pointer; }
.side__close svg { width: 18px; height: 18px; }
.veil { position: fixed; inset: 0; z-index: 65; background: rgba(28, 23, 25, .45); }
.veil[hidden] { display: none; }
.nav__label { margin: 1.3rem 0 .45rem .2rem; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c-ink-3); }
.nav__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.nav__list li + li { margin: 0; }
.nav__item { display: flex; align-items: center; gap: .65rem; min-height: 46px; padding: .55rem .85rem; border-radius: var(--r-md); border: 1px solid var(--c-line); background: var(--c-surface); color: var(--c-ink); font-weight: 600; font-size: .92rem; text-decoration: none; transition: background .15s, border-color .15s; }
.nav__item:hover { background: var(--c-hover); color: var(--c-ink); text-decoration: none; }
.nav__item[aria-current="page"] { border-color: var(--c-accent); background: var(--c-accent-soft); }
.nav__item svg { width: 18px; height: 18px; flex: none; color: var(--c-accent); }
.nav__text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav__count { flex: none; font-size: .68rem; font-weight: 700; color: #fff; background: var(--c-accent); border-radius: var(--r-pill); padding: .15rem .5rem; }
.nav__cta { margin: 1.3rem 0 0; }
.nav__foot { margin: 1.2rem 0 0 .2rem; font-size: .7rem; color: var(--c-ink-3); }
@media (min-width: 1100px) {
  .frame { display: grid; grid-template-columns: var(--w-side) minmax(0, 1fr); gap: 0; }
  .side { position: sticky; top: var(--h-bar); inset: auto; z-index: 1; height: calc(100vh - var(--h-bar)); width: auto; padding: 1.5rem var(--pad) 2rem; background: transparent; box-shadow: none; border-right: 1px solid var(--c-line); transform: none; visibility: visible; transition: none; overflow-y: auto; scrollbar-width: thin; }
  body.admin-bar .side { top: calc(var(--h-bar) + 32px); height: calc(100vh - var(--h-bar) - 32px); }
  .side__close, .veil { display: none !important; }
  html.nav-open, html.nav-open body { overflow: visible; }
}
.main { min-width: 0; padding: 0 var(--pad) 3rem; container-type: inline-size; container-name: main; }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.4rem; border-radius: var(--r-pill); border: 0; cursor: pointer; font-weight: 700; font-size: .92rem; line-height: 1.1; text-decoration: none; white-space: nowrap; transition: transform .15s, box-shadow .2s, background .15s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-main { background: var(--grad-cta); color: #fff; box-shadow: var(--shadow-accent); }
.btn-main:hover { background: var(--grad-cta-hover); color: #fff; }
.btn-line { background: var(--c-surface); color: var(--c-ink); border: 1px solid var(--c-line-2); }
.btn-line:hover { background: var(--c-hover); color: var(--c-ink); }
.btn-sm { padding: .55rem 1rem; font-size: .82rem; }
.btn-wide { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0; }

/* ===== Hero (home) ===== */
.hero { position: relative; overflow: hidden; margin-inline: calc(-1 * var(--pad)); min-height: clamp(420px, 44cqw, 760px); display: flex; align-items: center; background: #24101a; isolation: isolate; }
.hero__img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 15%; }
.hero__shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(36, 16, 26, .95) 0%, rgba(36, 16, 26, .82) 30%, rgba(36, 16, 26, .45) 55%, rgba(36, 16, 26, .05) 80%, transparent 100%); }
.hero__body { position: relative; z-index: 2; max-width: 42rem; padding: clamp(1.5rem, 4cqw, 3.5rem) var(--pad); color: #fff; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5cqw, 3.8rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: .5em; }
.hero h1 em { font-style: normal; color: #ff8ab8; }
.hero__tag { font-family: var(--f-head); font-size: clamp(1.05rem, 1.6cqw, 1.35rem); font-weight: 600; color: #fff; margin: 0 0 .7rem; }
.hero__lede { font-size: 1rem; line-height: 1.6; color: rgba(255, 255, 255, .88); margin: 0 0 1.3rem; max-width: 38rem; }
.hero .btn-line { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .3); backdrop-filter: blur(6px); }
.hero .btn-line:hover { background: rgba(255, 255, 255, .24); color: #fff; }
.hero__note { margin: .5rem 0 0; font-size: .72rem; color: rgba(255, 255, 255, .65); }
@media (max-width: 640px) { .hero { min-height: 500px; align-items: flex-end; } .hero__shade { background: linear-gradient(180deg, rgba(36,16,26,.05) 0%, rgba(36,16,26,.6) 45%, rgba(36,16,26,.96) 100%); } }

/* ===== Sections ===== */
.block { padding-block: clamp(1.5rem, 3.5vw, 2.6rem); }
.block--tight { padding-block: clamp(1rem, 2vw, 1.4rem); }
.block__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.block__head h2 { margin: 0; font-weight: 800; }
.block__head h2 em { font-style: normal; color: var(--c-accent); }
.block__more { flex: none; font-size: .85rem; font-weight: 600; color: var(--c-ink-3); }
.block__more:hover { color: var(--c-accent); }
.copy { max-width: none; }
.copy p, .copy li { color: var(--c-ink-2); font-size: 1.05rem; line-height: 1.72; }
.copy li + li { margin-top: .45em; }
.copy strong { color: var(--c-ink); }
.copy h2 { scroll-margin-top: calc(var(--h-bar) + 16px); }
.article { padding-top: clamp(1.2rem, 3vw, 2rem); }

/* ===== Editorial pieces ===== */
.trail { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--c-ink-3); margin: 0 0 1rem; }
.trail a { color: var(--c-ink-3); }
.trail a:hover { color: var(--c-accent); }
.eyebrow { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c-accent); margin-bottom: .55rem; }
.standfirst { font-size: 1.18rem; line-height: 1.6; color: var(--c-ink-2); max-width: 48rem; margin: 0 0 1.1rem; }
.byline { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--c-ink-3); margin: 0 0 1.5rem; }
.answer-box { position: relative; padding: 1.2rem 1.35rem 1.2rem 1.6rem; margin: 1.2rem 0 1.8rem; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: var(--shadow-1); }
.answer-box::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px; border-radius: 4px; background: var(--grad-cta); }
.answer-box__tag { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c-accent); margin-bottom: .35rem; }
.answer-box p { margin: 0; font-size: 1.06rem; line-height: 1.65; color: var(--c-ink); font-weight: 500; }
.callout { padding: 1rem 1.2rem; margin: 1.3rem 0; border-radius: var(--r-md); border: 1px solid var(--c-line); background: var(--c-surface); }
.callout p:last-child { margin-bottom: 0; }
.callout--warn { background: var(--c-warn-bg); border-color: #f3c3bd; color: var(--c-warn); }
.callout--good { background: var(--c-good-bg); border-color: #bfe0c9; color: var(--c-good); }
.callout--info { background: var(--c-info-bg); border-color: #f2c4d8; color: var(--c-info); }
.figure { margin: 1.8rem 0; }
.figure img { width: 100%; border-radius: var(--r-md); box-shadow: var(--shadow-1); background: var(--c-surface); }
.figure img.figure__lead { aspect-ratio: 16 / 9; object-fit: cover; }
.figure figcaption { margin-top: .5rem; font-size: .76rem; color: var(--c-ink-3); }
.numbers { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 1.3rem 0 1.6rem; }
.numbers div { padding: .9rem 1rem; border-radius: var(--r-md); background: var(--c-surface); border: 1px solid var(--c-line); }
.numbers b { display: block; font-family: var(--f-head); font-size: 1.55rem; font-weight: 800; color: var(--c-accent); }
.numbers span { font-size: .82rem; color: var(--c-ink-3); }
.grid-boxes { list-style: none; margin: 1.1rem 0 1.6rem; padding: 0; display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-boxes li + li { margin-top: 0; }
.box { position: relative; display: flex; flex-direction: column; overflow: hidden; padding: 1.35rem 1.4rem 2.6rem; border-radius: var(--r-lg); background: var(--c-surface); border: 1px solid var(--c-line); box-shadow: var(--shadow-1); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.box::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--grad-cta); opacity: 0; transition: opacity .18s ease; }
.box::after { content: ""; position: absolute; right: 1.4rem; bottom: 1.15rem; width: 16px; height: 10px; background: currentColor; color: var(--c-accent); opacity: .35; transform: translateX(-3px); transition: opacity .18s ease, transform .18s ease; -webkit-mask: no-repeat center/16px 10px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M1 5h13M10 1l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); mask: no-repeat center/16px 10px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M1 5h13M10 1l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.box:hover { transform: translateY(-3px); border-color: var(--c-line-2); box-shadow: var(--shadow-2); }
.box:hover::before { opacity: 1; }
.box:hover::after { opacity: 1; transform: none; }
.box__kind { align-self: flex-start; margin: 0 0 .65rem; padding: .22rem .6rem; border-radius: var(--r-pill); background: var(--c-accent-soft); color: var(--c-accent-2); font-size: .63rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; line-height: 1.5; }
.box h3, .box .box__title { display: block; font-family: var(--f-head); font-size: 1.12rem; font-weight: 700; line-height: 1.25; color: var(--c-ink); margin: 0 0 .45rem; text-wrap: balance; }
.box a.box__title { text-decoration: none; }
.box a.box__title::after { content: ""; position: absolute; inset: 0; }
.box a.box__title:hover { text-decoration: none; }
.box:hover a.box__title { color: var(--c-accent-2); }
.box p { margin: 0; font-size: .93rem; line-height: 1.6; color: var(--c-ink-2); }
.box__go { display: inline-block; margin-top: .6rem; font-size: .82rem; font-weight: 600; }
.sheet { overflow-x: auto; margin: .3rem 0 1.5rem; border: 1px solid var(--c-line); border-radius: var(--r-md); background: var(--c-surface); box-shadow: var(--shadow-1); }
.sheet table { width: 100%; min-width: 560px; border-collapse: separate; border-spacing: 0; font-size: .94rem; }
.sheet th { text-align: left; padding: .75rem 1rem; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--c-ink-3); background: var(--c-surface-2); border-bottom: 1px solid var(--c-line); }
.sheet td { padding: .85rem 1rem; border-bottom: 1px solid var(--c-line); color: var(--c-ink-2); vertical-align: top; }
.sheet tr:last-child td { border-bottom: 0; }
.sheet tbody tr:hover td { background: var(--c-surface-2); }
.sheet td:first-child { font-weight: 600; color: var(--c-ink); }
.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .5rem 1.4rem; margin: 1.2rem 0 0; align-items: center; }
.facts dt { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--c-ink-3); }
.facts dd { margin: 0; font-weight: 600; color: var(--c-ink); }
.chip { display: inline-flex; align-items: center; font-size: .66rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: #fff; background: var(--c-chip); -webkit-backdrop-filter: blur(10px) saturate(1.3); backdrop-filter: blur(10px) saturate(1.3); border: 1px solid rgba(255, 255, 255, .28); border-radius: var(--r-pill); padding: .24rem .62rem; line-height: 1.5; text-shadow: 0 1px 2px rgba(28, 23, 25, .35); box-shadow: 0 4px 14px rgba(28, 23, 25, .22); }
.chip--accent { background: var(--c-chip-strong); }
.cta-lead { margin: 0 0 1.7rem; }
.cta-band { margin: 1.6rem 0; }

/* ===== Poster tiles ===== */
.tiles { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@container main (min-width: 480px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@container main (min-width: 720px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; } }
@container main (min-width: 960px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; } }
.tile { position: relative; display: block; aspect-ratio: 2 / 3; overflow: hidden; border-radius: var(--r-lg); background: #ddd; box-shadow: var(--shadow-1); transition: transform .2s, box-shadow .2s; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); text-decoration: none; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile__chip { position: absolute; top: .7rem; left: .7rem; z-index: 2; }
.tile__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 3.5rem .9rem .9rem; background: linear-gradient(to top, rgba(20, 8, 14, .92) 0%, rgba(20, 8, 14, .6) 45%, transparent 100%); color: #fff; }
.tile__cap h3 { font-size: 1rem; font-weight: 700; margin: 0 0 .2rem; color: #fff; line-height: 1.2; }
.tile__cap span { font-size: .72rem; color: rgba(255, 255, 255, .85); }

/* ===== Ask cards (home) ===== */
.asks { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
.asks li + li { margin-top: 0; }
@container main (min-width: 620px) { .asks { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ask { position: relative; display: flex; flex-direction: column; padding: 1.4rem 1.45rem 1.35rem; border-radius: var(--r-lg); background: var(--c-surface); border: 1px solid var(--c-line); box-shadow: var(--shadow-1); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.ask:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--c-line-2); }
.ask h3 { margin: 0 0 .5rem; font-size: 1.15rem; line-height: 1.25; letter-spacing: -.01em; text-wrap: balance; }
.ask p { margin: 0 0 1.1rem; font-size: .93rem; line-height: 1.6; color: var(--c-ink-2); }
.ask__go { margin-top: auto; align-self: flex-start; font-size: .9rem; font-weight: 700; color: var(--c-accent); }
.ask__go::before { content: ""; position: absolute; inset: 0; }
.ask__go::after { content: "\2192"; display: inline-block; margin-left: .35rem; transition: transform .18s ease; }
.ask__go:hover { text-decoration: none; color: var(--c-accent-2); }
.ask:hover .ask__go::after { transform: translateX(3px); }

/* ===== Series / creator header ===== */
.lead { display: grid; gap: 1.3rem; margin-bottom: 1.8rem; }
@container main (min-width: 680px) { .lead { grid-template-columns: minmax(200px, 300px) minmax(0, 1fr); gap: 2rem; align-items: start; } }
@container main (max-width: 679px) { .lead { justify-items: center; text-align: center; } .lead__art { max-width: 320px; } .facts { justify-content: center; } }
.lead__art { position: relative; width: 100%; max-width: 300px; aspect-ratio: 2 / 3; overflow: hidden; border-radius: var(--r-lg); background: #ddd; box-shadow: var(--shadow-2); }
.lead__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lead__text .standfirst { margin-bottom: .6rem; }

/* ===== FAQ ===== */
.qna { margin-top: 2.4rem; }
.qna details { margin-bottom: .6rem; padding: 0 1.1rem; border: 1px solid var(--c-line); border-radius: var(--r-md); background: var(--c-surface); }
.qna summary { display: flex; justify-content: space-between; gap: 1rem; padding: .95rem 0; cursor: pointer; list-style: none; font-family: var(--f-head); font-weight: 600; font-size: 1rem; }
.qna summary::-webkit-details-marker { display: none; }
.qna summary::after { content: "+"; flex: none; color: var(--c-accent); font-weight: 700; }
.qna details[open] summary::after { content: "\2013"; }
.qna details > div { padding: 0 0 .95rem; }
.qna details p { margin: 0 0 .6rem; font-size: .92rem; color: var(--c-ink-2); }

/* ===== Footer ===== */
.foot { margin-top: 2rem; padding: 2rem 0 2.5rem; border-top: 1px solid var(--c-line); background: var(--c-surface); font-size: .84rem; color: var(--c-ink-3); }
.foot__in { padding-inline: var(--pad); }
.foot__nav { display: flex; flex-wrap: wrap; gap: .6rem 1.1rem; margin-bottom: .9rem; }
.foot__nav a { color: var(--c-ink-3); }
.foot__nav a:hover { color: var(--c-accent); }

/* ===== Age check ===== */
.agecheck { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px; background: rgba(250, 246, 243, .92); backdrop-filter: blur(8px); }
html.age-ok .agecheck { display: none !important; }
html:not(.age-ok) body { overflow: hidden; }
.agecheck__card { width: 100%; max-width: 460px; padding: 2rem 1.6rem; text-align: center; border-radius: var(--r-lg); background: var(--c-surface); border: 1px solid var(--c-line); box-shadow: var(--shadow-2); }
.agecheck__title { margin: 0 0 .5rem; font-family: var(--f-head); font-size: 1.4rem; font-weight: 700; }
.agecheck__card p { font-size: .92rem; color: var(--c-ink-2); }
.agecheck__card small { display: block; margin-top: 1rem; font-size: .74rem; color: var(--c-ink-3); }

/* ===== Consent ===== */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 900; max-width: 520px; padding: 1rem 1.1rem; border-radius: var(--r-lg); background: var(--c-surface); border: 1px solid var(--c-line); box-shadow: var(--shadow-2); font-size: .9rem; color: var(--c-ink-2); }
@media (min-width: 1100px) { .consent { left: auto; right: 24px; } }
html.consent-set .consent, html:not(.age-ok) .consent { display: none; }
.consent p { margin: 0 0 .7rem; }
.consent .btn-row { margin: 0; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
@media print { .bar, .side, .veil, .consent, .agecheck { display: none !important; } .frame { display: block; } }
