/* candy-aishorts.com, mobile first. Dark shell in the spirit of candy.ai, warm "heat" accent. */

@font-face { font-family: "Figtree"; src: url(../fonts/figtree-normal-latin.woff2) format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url(../fonts/newsreader-600-display.woff2) format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url(../fonts/newsreader-500-italic.woff2) format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }

:root {
	--bg: #0d0a09;
	--bg-2: #15110e;
	--bg-3: #1e1814;
	--bg-4: #2a221d;
	--line: rgba(255, 236, 222, .09);
	--line-2: rgba(255, 236, 222, .18);
	--text: #f6f0ea;
	--text-2: #d2c5b8;
	--text-3: #9b8e81;
	--amber: #ffb54c;
	--orange: #ff7a3d;
	--red: #ef3e46;
	--ink: #1b0d06;
	--grad: linear-gradient(135deg, #ffc15c 0%, #ff8340 48%, #f0434a 100%);
	--heat-1: #f6d38f;
	--heat-2: #f7b765;
	--heat-3: #f48f42;
	--heat-4: #ec6039;
	--heat-5: #dc3044;
	--radius: 14px;
	--radius-sm: 10px;
	--top-h: 56px;
	--nav-h: 64px;
	--side-w: 248px;
	--gutter: 16px;
	--font-ui: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-display: "Newsreader", Georgia, "Times New Roman", serif;
	--shadow: 0 14px 40px rgba(0, 0, 0, .5);
	color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 400 16px/1.6 var(--font-ui);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
html.gate-open body { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.icon { width: 22px; height: 22px; flex: 0 0 auto; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 300; background: var(--text); color: var(--bg); padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- Shell ---------- */
.main { min-width: 0; padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom)); }

.topbar {
	position: sticky; top: 0; z-index: 50;
	height: var(--top-h);
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 0 var(--gutter);
	background: rgba(13, 10, 9, .82);
	-webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 800; letter-spacing: -.02em; font-size: 1.12rem; }
.brand__mark { width: 22px; height: 22px; color: var(--orange); fill: rgba(255, 122, 61, .18); }
.brand__name { white-space: nowrap; }
.brand__accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.bottombar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
	height: calc(var(--nav-h) + env(safe-area-inset-bottom));
	padding: 6px 8px env(safe-area-inset-bottom);
	display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; align-items: center;
	background: rgba(13, 10, 9, .94);
	-webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
	border-top: 1px solid var(--line-2);
}
.bottombar a { display: flex; flex-direction: column; align-items: center; gap: 3px; text-decoration: none; color: var(--text-3); font-size: .68rem; font-weight: 600; min-width: 0; }
.bottombar a[aria-current="page"] { color: var(--text); }
.bottombar .icon { width: 23px; height: 23px; }
.bottombar__cta { color: var(--text) !important; }
.bottombar__cta .icon { width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: var(--grad); color: var(--ink); fill: var(--ink); margin-top: -14px; box-shadow: 0 6px 18px rgba(255, 110, 60, .45); }

/* ---------- Site menu: desktop sidebar, mobile drawer ---------- */
.sidenav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.sidenav a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: 10px; text-decoration: none; color: var(--text-2); font-weight: 650; font-size: .95rem; }
.sidenav a:hover { background: var(--bg-3); color: var(--text); }
.sidenav a[aria-current="page"] { background: var(--bg-4); color: var(--text); }
.sidenav__label { margin: 14px 12px 6px; font-size: .7rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.sidenav__guides a { min-height: 40px; font-size: .92rem; font-weight: 600; }
.sidebar__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sidebar__cta { margin-top: auto; padding: 16px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); }
.sidebar__cta p { margin: 0 0 12px; font-size: .86rem; color: var(--text-2); }
.sidebar__cta .btn--cta { font-size: .95rem; padding: 12px 16px; }
.sidebar__fine { margin: 0; font-size: .72rem; color: var(--text-3); }
.menu-btn, .menu-close { display: inline-grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 10px; background: transparent; color: var(--text); cursor: pointer; }
.menu-btn:hover, .menu-close:hover { background: var(--bg-3); }
.menu-btn { margin-left: -8px; }
.topbar .brand--top { margin-right: auto; }
.menu-backdrop { position: fixed; inset: 0; z-index: 110; background: rgba(0, 0, 0, .62); opacity: 0; pointer-events: none; transition: opacity .2s ease; }

@media (max-width: 1023px) {
	.sidebar {
		display: flex; flex-direction: column; gap: 16px;
		position: fixed; top: 0; bottom: 0; left: 0; z-index: 120;
		width: min(86vw, 330px); padding: 14px 14px calc(18px + env(safe-area-inset-bottom));
		background: var(--bg); border-right: 1px solid var(--line-2); box-shadow: var(--shadow);
		overflow-y: auto; overscroll-behavior: contain;
		transform: translateX(-104%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s;
	}
	html.menu-open .sidebar { transform: none; visibility: visible; transition: transform .25s ease; }
	html.menu-open .menu-backdrop { opacity: 1; pointer-events: auto; }
	html.menu-open body { overflow: hidden; }
}
@media (min-width: 1024px) {
	.menu-btn, .menu-close, .menu-backdrop { display: none; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; border: 0; border-radius: 999px; font-weight: 750; text-decoration: none; cursor: pointer; line-height: 1.15; }
.btn--cta { background: var(--grad); color: var(--ink); padding: 15px 22px; font-size: 1.05rem; box-shadow: 0 10px 30px rgba(255, 110, 60, .32); transition: transform .15s ease, box-shadow .15s ease; }
.btn--cta:hover { transform: translateY(-1px); box-shadow: 0 14px 34px rgba(255, 110, 60, .42); }
.btn--cta .icon { width: 20px; height: 20px; fill: var(--ink); }
.btn--cta .btn__arrow { fill: none; }
.btn--block { width: 100%; }
.btn--pill { background: var(--grad); color: var(--ink); padding: 8px 15px; font-size: .88rem; }
.cta-note { margin: .6rem 0 0; font-size: .78rem; color: var(--text-3); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; }
.hero--series { min-height: calc(100svh - var(--top-h) - var(--nav-h)); }
.hero--page { min-height: min(74svh, 620px); }
.hero__media { position: absolute; inset: 0; z-index: -2; background: var(--bg-3); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; }
.hero::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(180deg, rgba(13, 10, 9, .2) 0%, rgba(13, 10, 9, 0) 22%, rgba(13, 10, 9, .62) 44%, rgba(13, 10, 9, .9) 60%, rgba(13, 10, 9, .97) 76%, var(--bg) 100%);
}
.hero__inner { width: 100%; padding: 0 var(--gutter) 22px; }
.hero__poster { display: none; }
.hero__title {
	font-family: var(--font-display); font-weight: 600;
	font-size: clamp(2.1rem, 9vw, 3.6rem); line-height: 1.02; letter-spacing: -.012em;
	margin: .45rem 0 .55rem; text-wrap: balance;
	text-shadow: 0 2px 22px rgba(0, 0, 0, .55);
}
.hero__lede { margin: 0 0 1rem; color: var(--text-2); font-size: 1.02rem; line-height: 1.5; max-width: 38rem; text-wrap: pretty; }
.hero__cta { margin-top: .2rem; }
.hero__cta .btn--cta { width: 100%; }
.hero__cta .cta-note { text-align: center; }
.kicker { margin: 0 0 .3rem; font-size: .74rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.crumbs { display: flex; gap: 6px; font-size: .78rem; color: var(--text-3); margin-bottom: .6rem; }
.crumbs a { text-decoration: none; color: var(--text-2); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 5px 9px; border-radius: 999px; font-size: .68rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; background: rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.chip .icon { width: 13px; height: 13px; }
.chip--new { background: rgba(239, 62, 70, .92); }
.chip--spicy { background: var(--grad); color: var(--ink); }

/* ---------- Heat ---------- */
.heat { display: inline-flex; align-items: center; gap: .6rem; }
.heat__bars { display: inline-flex; gap: 3px; }
.heat__bars i { width: 14px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .16); }
.heat__bars i.on:nth-child(1) { background: var(--heat-1); }
.heat__bars i.on:nth-child(2) { background: var(--heat-2); }
.heat__bars i.on:nth-child(3) { background: var(--heat-3); }
.heat__bars i.on:nth-child(4) { background: var(--heat-4); }
.heat__bars i.on:nth-child(5) { background: var(--heat-5); }
.heat__label { display: inline-flex; align-items: center; gap: .3rem; font-size: .86rem; color: var(--text-2); }
.heat__label b { color: var(--text); font-weight: 750; }
.heat__label .icon { width: 15px; height: 15px; color: var(--orange); }
.heat--chip { margin: 0 0 1rem; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(13, 10, 9, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.heat--mini .heat__bars { gap: 2px; }
.heat--mini .heat__bars i { width: 7px; height: 4px; border-radius: 2px; }
.heat--full .heat__bars i { width: 22px; height: 8px; }
.heat__text { margin: .5rem 0 0; color: var(--text-2); font-size: .92rem; }

/* ---------- Layout ---------- */
.wrap { padding: 0 var(--gutter); max-width: 1180px; margin: 0 auto; }
.wrap--narrow { max-width: 760px; padding-top: 32px; padding-bottom: 32px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 14px; flex-wrap: wrap; margin-bottom: 12px; }
[id$="-title"] { scroll-margin-top: calc(var(--top-h) + 16px); }
.section-head h2 { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; line-height: 1.15; }
.section-head__meta { margin: 0; font-size: .78rem; color: var(--text-3); }
.section-head__link { font-size: .88rem; font-weight: 650; color: var(--amber); text-decoration: none; }

/* ---------- Facts ---------- */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 14px 0 30px; }
.facts__item { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; padding: 12px; border-radius: var(--radius-sm); background: var(--bg-2); border: 1px solid var(--line); }
.facts__item .icon { grid-row: span 2; width: 20px; height: 20px; color: var(--orange); }
.facts dt { font-size: .68rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--text-3); }
.facts dd { margin: 0; font-size: .93rem; font-weight: 650; line-height: 1.3; }

/* ---------- Episode map ---------- */
.epmap { margin: 0 0 34px; }
.epmap__row {
	list-style: none; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 8px;
	display: grid; grid-auto-flow: column; grid-auto-columns: 38%; gap: 10px;
	overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
	scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.epmap__row::-webkit-scrollbar { display: none; }
.ep { scroll-snap-align: start; }
.ep a { position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 12px; background: var(--bg-3); border: 1px solid var(--line-2); color: var(--text); text-decoration: none; }
.ep__img, .ep__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ep__bg { background-size: cover; background-position: 50% 18%; filter: blur(12px) brightness(.42) saturate(1.15); transform: scale(1.25); }
.ep a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, 0) 28%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .8) 100%); }
.ep__top { position: absolute; z-index: 1; top: 8px; left: 8px; right: 8px; display: flex; align-items: center; gap: 6px; }
.ep__new { padding: 3px 6px; border-radius: 6px; background: var(--red); font-size: .6rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.ep__lock { width: 18px; height: 18px; margin-left: auto; }
.ep__bottom { position: absolute; z-index: 1; left: 10px; right: 10px; bottom: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.ep__n { font-size: 1.02rem; font-weight: 800; }
.ep__tag { padding: 2px 7px; border-radius: 6px; font-size: .74rem; font-weight: 750; background: rgba(255, 255, 255, .14); }
.ep--free .ep__tag { background: var(--amber); color: var(--ink); }
.ep--locked a { border-style: dashed; }
.ep--locked .ep__n { color: var(--text-2); }
.epmap__sum { margin: 12px 0 4px; color: var(--text-2); font-size: .96rem; }
.epmap__note { margin: 0; color: var(--text-3); font-size: .8rem; }

/* ---------- Review body ---------- */
.layout { display: grid; gap: 28px; }
.prose { max-width: 42rem; font-size: 1.06rem; line-height: 1.72; }
.prose h2 { margin: 2.1rem 0 .7rem; font-family: var(--font-display); font-weight: 600; font-size: 1.62rem; line-height: 1.18; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.6rem 0 .5rem; font-size: 1.12rem; }
.prose p { margin: 0 0 1.05rem; color: #eadfd5; }
.prose a { color: var(--amber); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.2rem; margin: 0 0 1.1rem; color: #eadfd5; }
.prose li { margin-bottom: .35rem; }
.prose--page { padding: 26px 0 10px; }

.creator-box { margin: 34px 0 0; padding: 20px; border-radius: var(--radius); background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, var(--grad) border-box; border: 1px solid transparent; }
.creator-box h2 { margin: 0 0 .6rem; font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; line-height: 1.2; }
.creator-box p { margin: 0 0 .8rem; color: var(--text-2); }
.creator-box p:last-child { margin-bottom: 0; }

.heatbox { padding: 18px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); }
.heatbox__scale { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: .84rem; color: var(--text-3); }
.heatbox__scale li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; align-items: baseline; }
.heatbox__scale b { color: var(--text-2); font-weight: 700; }
.heatbox__scale li.is-current { color: var(--text-2); }
.heatbox__scale li.is-current b { color: var(--text); }
.heatbox__n { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--bg-4); font-size: .75rem; font-weight: 800; color: var(--text-2); }
.heatbox__scale li.is-current .heatbox__n { background: var(--grad); color: var(--ink); }
.sidecta { margin-top: 14px; padding: 18px; border-radius: var(--radius); background: var(--bg-3); border: 1px solid var(--line); }
.sidecta p { margin: 0 0 12px; font-weight: 650; }
.sidecta .btn--cta { width: 100%; font-size: .98rem; }

/* ---------- Guides ---------- */
.updated { margin: 18px 0 0; font-size: .8rem; color: var(--text-3); }
.scale { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: 10px; }
.scale__item { display: grid; grid-template-columns: auto 22px 1fr; gap: 10px; align-items: center; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--bg-2); border: 1px solid var(--line); }
.scale__n { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--bg-4); font-size: .75rem; font-weight: 800; }
.scale__text { font-size: .95rem; color: var(--text-2); line-height: 1.45; }
.scale__text b { color: var(--text); }
.table-wrap { margin: 0 calc(-1 * var(--gutter)) 1.3rem; padding: 0 var(--gutter); overflow-x: auto; }
.heat-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .92rem; }
.heat-table th, .heat-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.heat-table thead th { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); font-weight: 750; }
.heat-table tbody th { font-weight: 650; }
.heat-table a { color: var(--text); text-decoration: none; }
.heat-table a:hover { color: var(--amber); }
.heat-table__name { color: var(--text-2); margin-left: 4px; }
.tag-spicy { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 6px; background: var(--grad); color: var(--ink); font-size: .62rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; vertical-align: middle; }
.inline-cta { margin: 1.4rem 0 1.6rem; }
.inline-cta .btn--cta { width: 100%; }
.heatbox__more { display: inline-block; margin-top: 14px; font-size: .86rem; font-weight: 650; color: var(--amber); text-decoration: none; }
@media (min-width: 640px) { .inline-cta .btn--cta { width: auto; } }

.log__list { list-style: none; margin: 0 0 1.4rem; padding: 0; border-top: 1px solid var(--line); }
.log__item { padding: 10px 0 10px 18px; border-bottom: 1px solid var(--line); position: relative; font-size: .98rem; }
.log__item::before { content: ""; position: absolute; left: 2px; top: 19px; width: 7px; height: 7px; border-radius: 50%; background: var(--text-3); }
.log__item--new::before, .log__item--episodes::before { background: var(--amber); }
.log__item--price::before, .log__item--removed::before { background: var(--red); }

/* ---------- FAQ ---------- */
.faq { margin: 34px 0 0; max-width: 42rem; }
.faq h2 { margin: 0 0 12px; font-family: var(--font-display); font-weight: 600; font-size: 1.62rem; }
.faq__item { border-top: 1px solid var(--line-2); }
.faq__item:last-child { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 15px 34px 15px 0; position: relative; font-weight: 700; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 11px; font-size: 1.4rem; font-weight: 400; color: var(--amber); }
.faq details[open] summary::after { content: "\2212"; }
.faq__a { padding: 0 0 14px; color: var(--text-2); }
.faq__a p { margin: 0 0 .7rem; }

/* ---------- Catalog ---------- */
.catalog { margin: 26px 0 40px; }

/* Creators hub: the creators with a chat profile and no series */
.others { margin: 0 0 36px; max-width: 46rem; }
.others__intro { margin: 0 0 12px; color: var(--text-2); line-height: 1.55; }
.others__table { min-width: 0; }
.others__go { text-align: right; white-space: nowrap; }
.others__table .others__link { display: inline-block; padding: 6px 14px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--amber); font-size: .84rem; font-weight: 700; }
.others__table .others__link:hover { background: var(--bg-3); color: var(--amber); }
.related { margin: 44px 0 40px; }
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 10px; }
.card__link { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--text); }
.card__poster { position: relative; display: block; aspect-ratio: 240 / 342; overflow: hidden; border-radius: 12px; background: var(--bg-3); box-shadow: 0 6px 16px rgba(0, 0, 0, .4); }
.card__poster img, .poster-missing { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.card__link:hover .card__poster img { transform: scale(1.04); }
.card__badge { position: absolute; top: 0; left: 0; display: inline-flex; align-items: center; gap: 3px; padding: 3px 7px; border-bottom-right-radius: 10px; background: var(--red); font-size: .58rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.card__badge .icon { width: 11px; height: 11px; }
.card__badge--spicy { background: var(--grad); color: var(--ink); }
.card__title { font-size: .84rem; font-weight: 650; line-height: 1.28; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__meta { display: flex; align-items: center; gap: 6px; font-size: .72rem; color: var(--text-3); }
.card.is-hidden { display: none; }

.filters { margin: 0 0 16px; }
.filters__row { display: flex; gap: 8px; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)) 8px; padding: 0 var(--gutter); scrollbar-width: none; }
.filters__row::-webkit-scrollbar { display: none; }
.pill { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text-2); font-size: .85rem; font-weight: 650; cursor: pointer; }
.pill .icon { width: 15px; height: 15px; color: var(--orange); }
.pill.is-on { background: var(--text); border-color: var(--text); color: var(--bg); }
.pill--heat .heat { gap: 0; }
.filters__count { margin: 2px 0 0; font-size: .8rem; color: var(--text-3); }

.facts dd a { color: var(--text); text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 3px; }
.grid--creators .card__title { font-size: .95rem; }
.creator-box .section-head__link { display: inline-block; margin-top: 4px; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 30px; padding: 26px var(--gutter) 30px; border-top: 1px solid var(--line); color: var(--text-3); font-size: .82rem; }
.site-footer__disclaimer { max-width: 48rem; margin: 0 0 .8rem; }
.site-footer__meta { margin: 0; }

.legal { display: flex; flex-wrap: wrap; gap: 2px 6px; font-size: .74rem; line-height: 1.6; color: var(--text-3); }
.legal a { color: var(--text-3); text-decoration: none; }
.legal a:hover { color: var(--text-2); text-decoration: underline; }
.site-footer .legal { margin: 0 0 .8rem; }
.sidebar .legal { margin: -8px 0 0; font-size: .7rem; }
.legal-head { padding: 34px var(--gutter) 6px; max-width: 1180px; margin: 0 auto; }
.legal-head h1 { margin: 0 0 .4rem; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem, 6vw, 2.6rem); line-height: 1.1; }
.legal-head p { margin: 0; color: var(--text-3); font-size: .85rem; }
.prose mark { background: rgba(255, 181, 76, .2); color: var(--amber); padding: 0 4px; border-radius: 4px; }

/* ---------- Age gate ---------- */
.agegate { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(8, 6, 5, .78); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.agegate[hidden] { display: none; }
.agegate__box { width: 100%; max-width: 380px; padding: 26px 22px 20px; border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line-2); box-shadow: var(--shadow); text-align: center; }
.agegate__mark { width: 34px; height: 34px; margin: 0 auto 8px; color: var(--orange); fill: rgba(255, 122, 61, .2); }
.agegate h2 { margin: 0 0 8px; font-family: var(--font-display); font-weight: 600; font-size: 1.7rem; }
.agegate p { margin: 0 0 18px; color: var(--text-2); font-size: .95rem; }
.agegate__leave { display: inline-block; margin-top: 12px; color: var(--text-3); font-size: .9rem; }

/* ---------- Tablet ---------- */
@media (min-width: 640px) {
	:root { --gutter: 24px; }
	.hero__cta .btn--cta { width: auto; min-width: 280px; }
	.hero__cta .cta-note { text-align: left; }
	.facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.epmap__row { grid-auto-columns: 150px; }
	.grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 16px; }
}

/* ---------- Desktop: candy.ai style sidebar ---------- */
@media (min-width: 1024px) {
	:root { --gutter: 40px; }
	.shell { display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr); }
	.sidebar {
		position: sticky; top: 0; height: 100vh; overflow-y: auto;
		display: flex; flex-direction: column; gap: 18px;
		padding: 20px 16px; border-right: 1px solid var(--line); background: var(--bg);
	}
	.topbar, .bottombar { display: none; }
	.main { padding-bottom: 0; }

	.hero { align-items: center; }
	.hero--series, .hero--page { min-height: 0; }
	.hero__media img { filter: blur(34px) brightness(.38) saturate(1.2); transform: scale(1.25); }
	.hero::after { background: linear-gradient(90deg, var(--bg) 0%, rgba(13, 10, 9, .55) 48%, rgba(13, 10, 9, .15) 100%), linear-gradient(0deg, var(--bg) 0%, rgba(13, 10, 9, 0) 34%); }
	.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: center; max-width: 1180px; margin: 0 auto; padding: 56px var(--gutter) 48px; }
	.hero--page .hero__inner { padding-top: 64px; padding-bottom: 56px; }
	.hero__poster { display: block; text-decoration: none; color: var(--text-2); }
	.hero__poster img { width: 100%; aspect-ratio: 7 / 10; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow); transition: transform .2s ease; }
	.hero__poster:hover img { transform: translateY(-3px); }
	.hero__poster:hover .hero__poster-cap { color: var(--text); }
	.hero__poster-cap { display: block; margin-top: 12px; font-size: .9rem; font-weight: 600; line-height: 1.35; text-align: center; }
	.hero__poster-k { display: block; margin-bottom: 3px; font-size: .68rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
	.hero__title { font-size: clamp(2.8rem, 4.2vw, 4.2rem); }
	.hero__lede { font-size: 1.1rem; }

	.facts { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 8px; }
	.facts__item { grid-template-columns: 1fr; row-gap: 6px; align-items: start; }
	.facts__item .icon { grid-row: auto; }
	.layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
	.layout__side { position: sticky; top: 24px; }
	.grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (min-width: 1400px) {
	.grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* ---------- WordPress toolbar, logged-in users only ---------- */
/* WordPress pushes the page down by 32px (46px up to 782px wide) and the sticky bars follow.
   Up to 600px the toolbar scrolls away with the page, so the top bar can stick at 0. */
@media (min-width: 601px) and (max-width: 782px) { .admin-bar .topbar { top: 46px; } }
@media (min-width: 783px) { .admin-bar .topbar { top: 32px; } }
@media (max-width: 1023px) {
	.admin-bar .menu-backdrop { z-index: 100000; } /* above the toolbar while the menu is open */
	.admin-bar .sidebar { z-index: 100001; }
}
@media (min-width: 1024px) {
	.admin-bar .sidebar { top: 32px; height: calc(100vh - 32px); }
	.admin-bar .layout__side { top: 56px; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
