/* candyaishorts.onl, "Candy Log": a tester's notebook. Mobile first. Cream paper, ink, cherry; teal for notes.
   Every page opens on an index card (H1, taped poster, button) inside the first phone screen. */

@font-face { font-family: "Bricolage Grotesque"; src: url(../fonts/bricolage-grotesque-latin.woff2) format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url(../fonts/source-serif-4-latin.woff2) format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url(../fonts/source-serif-4-italic-latin.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
	--paper: #f6f1e9;
	--paper-2: #efe6d8;
	--sheet: #fffdf8;
	--ink: #1c1917;
	--ink-2: #3f3a36;
	--ink-3: #736b63;
	--rule: #d9cfc0;
	--rule-2: #c7b9a5;
	--cherry: #c8102e;
	--cherry-dk: #9d0c24;
	--cherry-soft: #fbe3e6;
	--teal: #0f766e;
	--teal-soft: #dff1ee;
	--radius: 14px;
	--radius-sm: 10px;
	--bar-h: 58px;
	--gutter: 16px;
	--hard: 4px 4px 0 var(--ink);
	--hard-sm: 3px 3px 0 var(--ink);
	--font-ui: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-read: "Source Serif 4", Georgia, "Times New Roman", serif;
	color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 12px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--font-ui); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
html.gate-open body, html.menu-open body { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.icon { width: 20px; height: 20px; flex: 0 0 auto; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 400; background: var(--ink); color: var(--paper); padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }
.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; }

/* ---------- Masthead ---------- */
.masthead { position: sticky; top: 0; z-index: 60; background: var(--paper); border-bottom: 2px solid var(--ink); }
.masthead__bar { height: var(--bar-h); display: flex; align-items: center; gap: 8px; padding: 0 var(--gutter) 0 calc(var(--gutter) - 8px); max-width: 1240px; margin: 0 auto; }
.masthead { position: sticky; }
.logo { display: inline-flex; align-items: center; gap: 7px; line-height: 1; text-decoration: none; margin-right: auto; min-width: 0; }
.logo__mark { width: 30px; height: 30px; flex: 0 0 auto; transition: transform .25s ease; }
.logo:hover .logo__mark { transform: rotate(-12deg); }
.logo__text { display: inline-flex; flex-direction: column; min-width: 0; }
.logo__name { font-weight: 800; font-size: 1.08rem; letter-spacing: -.03em; white-space: nowrap; }
.logo__accent { color: var(--cherry); }
.logo__sub { margin-top: 4px; font-size: .56rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--teal); }
.masthead__links { display: none; }
.masthead__menu { display: inline-grid; place-items: center; flex: 0 0 auto; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--ink); cursor: pointer; }
.masthead__menu .icon { width: 20px; height: 20px; stroke-width: 2.2; }
.masthead__menu:hover { background: var(--paper-2); }
.masthead__watch { display: inline-flex; align-items: center; flex: 0 0 auto; height: 36px; padding: 0 14px; border: 2px solid var(--ink); border-radius: 999px; background: var(--cherry); color: #fff; font-weight: 800; font-size: .86rem; text-decoration: none; box-shadow: 2px 2px 0 var(--ink); white-space: nowrap; }
.masthead__watch:active { transform: translate(2px, 2px); box-shadow: none; }
.masthead__more { display: none; }
@media (min-width: 420px) { .masthead__more { display: inline; margin-left: .3em; } }

/* Reading progress: a cherry line under the bar that fills as the page scrolls to the end */
.progress { position: absolute; left: 0; bottom: -2px; width: 0; height: 4px; background: var(--cherry); pointer-events: none; }
.progress.is-off, .progress.is-zero::after { display: none; }
.progress::after { content: ""; position: absolute; right: -5px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--cherry); border: 2px solid var(--ink); }

.tabs { display: flex; gap: 18px; padding: 0 var(--gutter); max-width: 1240px; margin: 0 auto; overflow-x: auto; white-space: nowrap; scrollbar-width: none; border-bottom: 1px solid var(--rule); }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { flex: 0 0 auto; padding: 10px 0 8px; font-size: .86rem; font-weight: 650; text-decoration: none; color: var(--ink-2); border-bottom: 2px solid transparent; }
.tabs a:hover { color: var(--cherry); }
.tabs a[aria-current="page"] { color: var(--cherry); border-bottom-color: var(--cherry); }

/* ---------- Index overlay (Menu) ---------- */
.index { position: fixed; inset: 0; z-index: 150; background: rgba(28, 25, 23, .48); display: flex; justify-content: flex-end; }
.index[hidden] { display: none; }
.index__sheet { width: min(92vw, 420px); height: 100%; overflow-y: auto; overscroll-behavior: contain; background: var(--paper); border-left: 2px solid var(--ink); padding: 14px 20px calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 14px; animation: sheet-in .22s ease; }
@keyframes sheet-in { from { transform: translateX(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.index__head { display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid var(--ink); padding-bottom: 10px; }
.index__title { margin: 0; font-weight: 800; font-size: 1.05rem; }
.index__close { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 2px solid var(--ink); border-radius: 50%; background: var(--sheet); cursor: pointer; }
.index__main { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.index__main a { display: inline-block; padding: 8px 14px; border: 2px solid var(--ink); border-radius: 999px; text-decoration: none; font-weight: 700; background: var(--sheet); }
.index__main a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.index__label { margin: 4px 0 -6px; font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); }
.index__guides { list-style: none; margin: 0; padding: 0; counter-reset: g; }
.index__guides li { counter-increment: g; border-bottom: 1px dashed var(--rule-2); }
.index__guides a { display: flex; gap: 12px; align-items: baseline; padding: 11px 0; text-decoration: none; font-weight: 650; font-size: 1.02rem; }
.index__guides a::before { content: counter(g, decimal-leading-zero); font-size: .78rem; font-weight: 800; color: var(--cherry); min-width: 1.6em; }
.index__guides a[aria-current="page"] { color: var(--cherry); }
.index__fine { margin: 0; font-size: .74rem; color: var(--ink-3); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border: 2px solid var(--ink); border-radius: 12px; font-weight: 750; text-decoration: none; cursor: pointer; line-height: 1.15; }
.btn--cta { background: var(--cherry); color: #fff; padding: 14px 20px; font-size: 1.05rem; box-shadow: var(--hard-sm); transition: transform .12s ease, box-shadow .12s ease, background .12s ease; }
.btn--cta:hover { background: var(--cherry-dk); }
.btn--cta:active { transform: translate(3px, 3px); box-shadow: none; }
.btn--cta .icon { width: 18px; height: 18px; fill: #fff; stroke: #fff; }
.btn--cta .btn__arrow { fill: none; margin-left: auto; }
.btn--block { width: 100%; }
.cta-note { margin: .55rem 0 0; font-size: .76rem; color: var(--ink-3); }

/* ---------- Hero: the index card ---------- */
.hero { padding: 14px var(--gutter) 8px; }
.hero__card {
	position: relative; max-width: 1240px; margin: 0 auto;
	display: grid; grid-template-columns: minmax(0, 1fr) min(31vw, 150px); grid-template-areas: "head poster" "cta cta" "lede lede";
	gap: 14px 14px; padding: 16px 14px 16px 24px;
	background: repeating-linear-gradient(180deg, transparent 0 27px, rgba(15, 118, 110, .11) 27px 28px), var(--sheet);
	border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: var(--hard);
}
.hero__card::before { content: ""; position: absolute; top: 0; bottom: 0; left: 13px; width: 2px; background: rgba(200, 16, 46, .38); }
.hero--plain .hero__card { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "cta" "lede"; }
.hero__head { grid-area: head; min-width: 0; align-self: start; }
.crumbs { display: flex; gap: 6px; font-size: .74rem; color: var(--ink-3); margin-bottom: 6px; }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--cherry); }
.hero__kicker { margin: 0 0 6px; font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.hero__title { margin: 0; font-weight: 800; font-size: clamp(1.38rem, 5.7vw, 2rem); line-height: 1.06; letter-spacing: -.028em; text-wrap: balance; }
.hero__hook { display: block; margin-top: .3em; font-family: var(--font-read); font-style: italic; font-weight: 400; font-size: .72em; line-height: 1.2; letter-spacing: 0; color: var(--ink-2); }
.hero__poster { grid-area: poster; position: relative; margin: 2px 0 0; align-self: start; }
.hero__poster::before { content: ""; position: absolute; z-index: 2; top: -9px; left: 50%; width: 54px; height: 17px; margin-left: -27px; background: rgba(15, 118, 110, .32); transform: rotate(-5deg); border-radius: 2px; }
.hero__poster a { display: block; }
.hero__img, .hero__poster .poster-missing { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border: 2px solid var(--ink); border-radius: 8px; transform: rotate(2.4deg); box-shadow: var(--hard-sm); background: var(--paper-2); }
.hero__cap { display: none; }
.hero__cta { grid-area: cta; }
.hero__cta .btn--cta { width: 100%; }
.hero__cta .cta-note { text-align: center; }
.hero__lede { grid-area: lede; margin: 0; font-family: var(--font-read); font-size: 1.04rem; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }

.stamp { position: absolute; z-index: 3; left: -16px; bottom: -14px; width: 68px; height: 68px; border-radius: 50%; border: 2px dashed var(--cherry); background: rgba(255, 253, 248, .92); color: var(--cherry); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; transform: rotate(-14deg); box-shadow: 0 0 0 3px rgba(255, 253, 248, .9); }
.stamp__k { font-size: .5rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.stamp__n { font-size: 1.05rem; font-weight: 800; margin: 2px 0 1px; }
.stamp__w { font-size: .56rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip { display: inline-flex; align-items: center; padding: 3px 8px; border: 1.5px solid var(--ink); border-radius: 6px; font-size: .64rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--paper); }
.chip--new { background: var(--teal); border-color: var(--teal); color: #fff; }
.chip--spicy { background: var(--cherry); border-color: var(--cherry); color: #fff; }

/* ---------- Spice dots ---------- */
.spice { display: inline-flex; align-items: center; gap: .5rem; }
.spice__dots { display: inline-flex; gap: 3px; }
.spice__dots i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--cherry); background: transparent; }
.spice__dots i.on { background: var(--cherry); }
.spice__label { font-size: .86rem; font-weight: 650; color: var(--ink-2); }
.spice__label b { color: var(--ink); font-weight: 800; }
.spice--mini .spice__dots { gap: 2px; }
.spice--mini .spice__dots i { width: 7px; height: 7px; border-width: 1.2px; }
.spice--full .spice__dots i { width: 14px; height: 14px; }
.spice__text { margin: .4rem 0 0; font-size: .9rem; color: var(--ink-2); }

/* ---------- Layout ---------- */
.content { display: block; padding-bottom: 76px; }
.wrap { padding: 0 var(--gutter); max-width: 1240px; margin: 0 auto; }
.wrap--read { max-width: 820px; }
.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; }
.section-head h2 { margin: 0; font-weight: 800; font-size: 1.45rem; letter-spacing: -.02em; line-height: 1.15; }
.section-head__meta { margin: 0; font-size: .76rem; color: var(--ink-3); }
.more { font-size: .88rem; font-weight: 750; color: var(--cherry); text-decoration: none; border-bottom: 2px solid currentColor; }
.more:hover { color: var(--cherry-dk); }

.layout { display: grid; gap: 22px; margin-top: 14px; }
.layout__side { order: -1; }
.jump { display: flex; gap: 8px; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)) 16px; padding: 2px var(--gutter); scrollbar-width: none; }
.jump::-webkit-scrollbar { display: none; }
.jump a { flex: 0 0 auto; padding: 7px 12px; border: 1.5px solid var(--ink); border-radius: 999px; font-size: .82rem; font-weight: 700; text-decoration: none; background: var(--sheet); }
.jump a:hover { background: var(--ink); color: var(--paper); }

/* ---------- Conor's log (verdict card) ---------- */
.verdict { position: relative; padding: 18px 16px 16px; background: var(--sheet); border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: var(--hard-sm); }
.verdict::before { content: ""; position: absolute; left: 14px; right: 14px; top: -7px; height: 12px; background: radial-gradient(circle at 6px 6px, var(--paper) 4px, transparent 4.5px) 0 0 / 16px 12px repeat-x; }
.verdict__title { margin: 0; font-size: .82rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--cherry); }
.verdict__date { margin: 2px 0 10px; font-size: .74rem; color: var(--ink-3); }
.verdict__rows { margin: 0 0 12px; }
.verdict__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px dashed var(--rule-2); }
.verdict__row dt { font-size: .8rem; font-weight: 650; color: var(--ink-3); flex: 0 0 auto; }
.verdict__row dd { margin: 0; font-size: .9rem; font-weight: 700; text-align: right; }
.verdict__row dd a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--cherry); text-underline-offset: 3px; }
.verdict__row--total { background: var(--cherry-soft); margin: 0 -8px; padding: 8px; border-radius: 8px; border-top-color: transparent; }
.verdict__row--total dd { color: var(--cherry-dk); font-size: 1rem; }
.verdict__more { display: inline-block; margin: 0 0 12px; font-size: .82rem; font-weight: 700; color: var(--teal); }
.verdict .btn--cta { width: 100%; font-size: .98rem; }

/* ---------- Reading ---------- */
.prose { max-width: 42rem; font-family: var(--font-read); font-size: 1.1rem; line-height: 1.68; color: var(--ink-2); }
.prose h2 { margin: 2.2rem 0 .7rem; font-family: var(--font-ui); font-weight: 800; font-size: 1.5rem; line-height: 1.16; letter-spacing: -.02em; color: var(--ink); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.6rem 0 .45rem; font-family: var(--font-ui); font-weight: 750; font-size: 1.14rem; color: var(--ink); }
.prose p { margin: 0 0 1.05rem; }
.prose a { color: var(--cherry); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.2rem; margin: 0 0 1.1rem; }
.prose li { margin-bottom: .35rem; }
.prose li::marker { color: var(--cherry); }
.prose--page { padding: 8px 0 6px; }
.prose--numbered { counter-reset: h2; }
.prose--numbered > h2 { counter-increment: h2; }
.prose--numbered > h2::before { content: counter(h2, decimal-leading-zero); display: block; margin-bottom: 4px; font-size: .78rem; letter-spacing: .1em; color: var(--cherry); }
.prose mark { background: var(--cherry-soft); color: var(--cherry-dk); padding: 0 4px; border-radius: 4px; }
.read { margin-top: 8px; }

.toc { margin: 18px 0 26px; padding: 14px 16px; background: var(--sheet); border: 2px solid var(--ink); border-radius: var(--radius); }
.toc__title { margin: 0 0 6px; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); }
.toc__list { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.toc__list li { counter-increment: t; border-top: 1px dashed var(--rule); }
.toc__list li:first-child { border-top: 0; }
.toc__list a { display: flex; gap: 10px; padding: 8px 0; text-decoration: none; font-weight: 650; font-size: .95rem; line-height: 1.3; }
.toc__list a::before { content: counter(t, decimal-leading-zero); font-size: .76rem; font-weight: 800; color: var(--cherry); padding-top: 2px; }
.toc__list a:hover { color: var(--cherry); }

/* ---------- Episodes ---------- */
.epmap { margin: 30px 0 6px; }
.epmap__row { list-style: none; margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 10px; display: grid; grid-auto-flow: column; grid-auto-columns: 36%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); scrollbar-width: none; }
.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: 10px; border: 2px solid var(--ink); background: var(--paper-2); color: #fff; text-decoration: none; box-shadow: var(--hard-sm); }
.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) grayscale(.5) brightness(.55); transform: scale(1.25); }
.ep a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .2) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .78) 100%); }
.ep__top { position: absolute; z-index: 1; top: 8px; left: 8px; right: 8px; display: flex; }
.ep__lock { width: 18px; height: 18px; margin-left: auto; }
.ep__bottom { position: absolute; z-index: 1; left: 9px; right: 9px; bottom: 9px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.ep__n { font-size: 1rem; font-weight: 800; }
.ep__tag { padding: 2px 7px; border-radius: 6px; font-size: .72rem; font-weight: 800; background: rgba(255, 255, 255, .2); }
.ep--free .ep__tag { background: var(--teal); color: #fff; }
.ep--locked a { border-style: dashed; }
.epmap__sum { margin: 10px 0 0; font-family: var(--font-read); color: var(--ink-2); font-size: 1rem; }

/* ---------- File card (creator) ---------- */
.filecard { position: relative; margin: 38px 0 0; padding: 22px 18px 16px; background: var(--sheet); border: 2px solid var(--ink); border-radius: 0 var(--radius) var(--radius) var(--radius); }
.filecard__tab { position: absolute; top: -26px; left: -2px; margin: 0; padding: 5px 12px 4px; background: var(--teal); color: #fff; border: 2px solid var(--ink); border-bottom: 0; border-radius: 10px 10px 0 0; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.filecard h2 { margin: 0 0 .6rem; font-weight: 800; font-size: 1.3rem; line-height: 1.2; letter-spacing: -.015em; }
.filecard p { margin: 0 0 .8rem; font-family: var(--font-read); color: var(--ink-2); font-size: 1.02rem; }
.filecard p:last-child { margin-bottom: 0; }

/* ---------- FAQ ---------- */
.faq { margin: 38px 0 0; max-width: 42rem; }
.faq h2 { margin: 0 0 10px; font-weight: 800; font-size: 1.45rem; letter-spacing: -.02em; }
.faq__item { border-top: 2px solid var(--ink); }
.faq__item:last-child { border-bottom: 2px solid var(--ink); }
.faq summary { list-style: none; cursor: pointer; padding: 14px 40px 14px 0; position: relative; font-weight: 750; font-size: 1.02rem; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; top: 10px; width: 26px; height: 26px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 50%; font-size: 1.1rem; font-weight: 700; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; background: var(--ink); color: var(--paper); }
.faq__a { padding: 0 0 14px; font-family: var(--font-read); color: var(--ink-2); font-size: 1.02rem; }
.faq__a p { margin: 0 0 .7rem; }

/* ---------- Catalog cards ---------- */
.catalog { margin: 26px 0 36px; }
.related { margin: 44px 0 30px; }
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
.card__link { display: flex; flex-direction: column; gap: 7px; text-decoration: none; color: var(--ink); }
.card__poster { position: relative; display: block; aspect-ratio: 2 / 3; overflow: hidden; border: 2px solid var(--ink); border-radius: 10px; background: var(--paper-2); transition: box-shadow .15s ease, transform .15s ease; }
.card__poster img, .poster-missing { width: 100%; height: 100%; object-fit: cover; display: block; }
.card__link:hover .card__poster { box-shadow: var(--hard); transform: translate(-2px, -2px); }
.card__badge { position: absolute; top: 8px; left: 8px; padding: 3px 7px; border-radius: 6px; background: var(--teal); color: #fff; font-size: .6rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.card__badge--spicy { background: var(--cherry); }
.card__title { font-size: .95rem; font-weight: 750; line-height: 1.22; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__meta { display: flex; align-items: center; gap: 8px; font-size: .76rem; color: var(--ink-3); font-weight: 650; }
.card.is-hidden { display: none; }
.grid--creators .card__title { font-size: 1.02rem; }

/* Finder: tabs on a panel, spice dial, paper tags */
.finder { margin: 0 0 20px; }
.finder__tabs { display: flex; gap: 4px; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)); padding: 6px var(--gutter) 0; scrollbar-width: none; }
.finder__tabs::-webkit-scrollbar { display: none; }
.ftab { position: relative; flex: 0 0 auto; padding: 9px 14px 8px; border: 2px solid var(--ink); border-bottom: 0; border-radius: 10px 10px 0 0; background: var(--paper-2); color: var(--ink-2); font-size: .86rem; font-weight: 750; cursor: pointer; transform: translateY(4px); transition: transform .12s ease; }
.ftab.is-on { background: var(--sheet); color: var(--ink); transform: none; z-index: 1; padding-bottom: 12px; margin-bottom: -2px; }
.ftab--spicy.is-on { color: var(--cherry); }
.finder__panel { position: relative; padding: 14px 14px 10px; background: var(--sheet); border: 2px solid var(--ink); border-radius: 0 var(--radius) var(--radius) var(--radius); box-shadow: var(--hard-sm); }

.dial { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px dashed var(--rule-2); }
.dial__k { font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.dial__dots { display: inline-flex; gap: 6px; }
.dial__dot { display: inline-grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 2px solid var(--cherry); border-radius: 50%; background: var(--sheet); color: var(--cherry); font-size: .8rem; font-weight: 800; cursor: pointer; transition: background .12s ease, color .12s ease, transform .12s ease; }
.dial__dot:hover { transform: scale(1.08); }
.dial__dot.is-lit { background: var(--cherry); color: #fff; }
.dial__dot[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--cherry-soft); }
.dial__read { margin-left: auto; font-size: .8rem; font-weight: 750; color: var(--ink-2); text-align: right; line-height: 1.2; }

.tags { display: flex; gap: 10px; overflow-x: auto; margin: 0 -14px; padding: 14px 14px 6px; scrollbar-width: none; }
.tags::-webkit-scrollbar { display: none; }
.tag { position: relative; flex: 0 0 auto; padding: 6px 12px 6px 22px; border: 1.5px solid var(--ink); border-radius: 4px 10px 10px 4px; background: #f3e6c9; color: var(--ink); font-size: .82rem; font-weight: 700; cursor: pointer; transform: rotate(-1.5deg); }
.tag:nth-child(even) { transform: rotate(1.5deg); }
.tag::before { content: ""; position: absolute; left: 8px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--sheet); }
.tag:hover { background: #ecd9b0; }
.tag.is-on { background: var(--teal); color: #fff; transform: rotate(0); }

.finder__count { display: flex; align-items: center; gap: 12px; margin: 6px 0 0; font-size: .82rem; color: var(--ink-3); }
.finder__count b { font-size: 1.05rem; color: var(--ink); }
.finder__reset { padding: 0; border: 0; background: none; color: var(--cherry); font-weight: 800; font-size: .82rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.finder__reset[hidden] { display: none; }
@media (min-width: 1024px) {
	.finder__tabs { margin: 0; padding: 6px 0 0; }
	.tags { flex-wrap: wrap; overflow: visible; }
	.dial__read { margin-left: 8px; text-align: left; }
}

/* ---------- Rows (a creator's series) ---------- */
.rows { margin: 26px 0 10px; }
.rows__list { list-style: none; margin: 0; padding: 0; counter-reset: r; }
.row { border-top: 1px dashed var(--rule-2); }
.row:last-child { border-bottom: 1px dashed var(--rule-2); }
.row__link { display: grid; grid-template-columns: 64px minmax(0, 1fr) 22px; gap: 14px; align-items: center; padding: 12px 0; text-decoration: none; }
.row__poster { display: block; aspect-ratio: 2 / 3; overflow: hidden; border: 2px solid var(--ink); border-radius: 8px; background: var(--paper-2); }
.row__poster img { width: 100%; height: 100%; object-fit: cover; }
.row__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.row__title { font-weight: 800; font-size: 1.02rem; line-height: 1.2; }
.row__meta { font-size: .8rem; color: var(--ink-3); font-weight: 600; }
.row__go { color: var(--cherry); }
.row__link:hover .row__title { color: var(--cherry); }

/* ---------- Hub: creators without a series ---------- */
.others { margin: 0 0 32px; max-width: 46rem; }
.others__intro { margin: 0 0 12px; font-family: var(--font-read); color: var(--ink-2); }
.others__table { min-width: 0; }
.others__go { text-align: right; white-space: nowrap; }
.others__table .others__link { display: inline-block; padding: 5px 13px; border: 1.5px solid var(--ink); border-radius: 999px; color: var(--ink); font-size: .82rem; font-weight: 750; text-decoration: none; background: var(--sheet); }
.others__table .others__link:hover { background: var(--ink); color: var(--paper); }

/* ---------- Guide shortcodes ---------- */
.scale { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: 10px; font-family: var(--font-ui); }
.scale__item { display: grid; grid-template-columns: auto 24px 1fr; gap: 10px; align-items: center; padding: 11px 13px; background: var(--sheet); border: 2px solid var(--ink); border-radius: var(--radius-sm); }
.scale__n { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: .76rem; font-weight: 800; }
.scale__text { font-size: .94rem; color: var(--ink-2); line-height: 1.4; }
.scale__text b { color: var(--ink); }
.table-wrap { margin: 0 calc(-1 * var(--gutter)) 1.3rem; padding: 0 var(--gutter); overflow-x: auto; }
.heat-table { width: 100%; min-width: 500px; border-collapse: collapse; font-family: var(--font-ui); font-size: .9rem; background: var(--sheet); border: 2px solid var(--ink); }
.heat-table th, .heat-table td { padding: 9px 10px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: middle; }
.heat-table thead th { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--paper); background: var(--ink); font-weight: 800; }
.heat-table tbody th { font-weight: 700; }
.heat-table a { color: var(--ink); text-decoration: none; }
.heat-table a:hover { color: var(--cherry); }
.heat-table__name { color: var(--ink-2); margin-left: 4px; font-weight: 650; }
.tag-spicy { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 5px; background: var(--cherry); color: #fff; font-size: .6rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; vertical-align: middle; }
.inline-cta { margin: 1.4rem 0 1.6rem; font-family: var(--font-ui); }
.inline-cta .btn--cta { width: 100%; }
.log { font-family: var(--font-ui); }
.log h2 { font-size: 1.2rem; }
.log__list { list-style: none; margin: 0 0 1.4rem; padding: 0; border-top: 2px solid var(--ink); }
.log__item { padding: 10px 0 10px 20px; border-bottom: 1px dashed var(--rule-2); position: relative; font-size: .95rem; }
.log__item::before { content: ""; position: absolute; left: 2px; top: 17px; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--ink-3); }
.log__item--new::before, .log__item--episodes::before { border-color: var(--teal); background: var(--teal); }
.log__item--price::before, .log__item--removed::before { border-color: var(--cherry); background: var(--cherry); }

/* ---------- Legal pages ---------- */
.legal-head { padding: 30px var(--gutter) 4px; max-width: 820px; margin: 0 auto; }
.legal-head__k { margin: 0 0 6px; font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); }
.legal-head h1 { margin: 0 0 .3rem; font-weight: 800; font-size: clamp(1.8rem, 6vw, 2.4rem); line-height: 1.08; letter-spacing: -.025em; }
.legal-head p { margin: 0; color: var(--ink-3); font-size: .84rem; }

/* ---------- Footer ---------- */
.colophon { background: var(--ink); color: #d6cfc6; margin-top: 24px; border-top: 6px solid var(--cherry); }
.colophon__in { max-width: 1240px; margin: 0 auto; padding: 28px var(--gutter) 34px; }
.colophon__brand { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-weight: 800; font-size: 1.2rem; color: var(--paper); letter-spacing: -.02em; line-height: 1.05; }
.colophon__mark { width: 40px; height: 40px; flex: 0 0 auto; background: var(--paper); border-radius: 10px; padding: 3px; }
.colophon__brand span { color: #ff6b80; }
.colophon__brand small { display: block; margin-top: 2px; font-size: .58rem; letter-spacing: .22em; text-transform: uppercase; color: #8fd3c9; }
.colophon__text { max-width: 46rem; margin: 0 0 14px; font-size: .84rem; line-height: 1.55; }
.colophon__meta { margin: 0; font-size: .76rem; color: #a59d93; }
.legal { display: flex; flex-wrap: wrap; gap: 2px 6px; font-size: .76rem; line-height: 1.7; }
.legal a { text-decoration: none; }
.legal a:hover { text-decoration: underline; }
.colophon .legal { margin: 0 0 12px; }
.colophon .legal a { color: var(--paper); }
.index .legal a { color: var(--ink-3); }

/* ---------- Dock: the button that stays in reach on phones ---------- */
.dock { position: fixed; z-index: 70; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; background: var(--ink); color: var(--paper); border-radius: 14px; box-shadow: 0 10px 30px rgba(28, 25, 23, .3); transform: translateY(calc(100% + 20px)); transition: transform .22s ease; }
.dock.is-on { transform: none; }
.dock__note { flex: 1; min-width: 0; font-size: .78rem; font-weight: 650; line-height: 1.25; color: #e7e0d6; }
.dock__btn { display: inline-flex; align-items: center; gap: 6px; padding: 11px 14px; border-radius: 10px; background: var(--cherry); color: #fff; font-weight: 800; font-size: .92rem; text-decoration: none; white-space: nowrap; }
.dock__btn .icon { width: 16px; height: 16px; fill: #fff; stroke: #fff; }

/* ---------- Age gate ---------- */
.agegate { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; background: rgba(246, 241, 233, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.agegate[hidden] { display: none; }
.agegate__box { width: 100%; max-width: 380px; padding: 24px 22px 18px; border-radius: 16px; background: var(--sheet); border: 2px solid var(--ink); box-shadow: var(--hard); text-align: center; }
.agegate__stamp { display: inline-grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 10px; border: 2px dashed var(--cherry); border-radius: 50%; color: var(--cherry); font-weight: 800; font-size: 1.2rem; transform: rotate(-10deg); }
.agegate h2 { margin: 0 0 8px; font-weight: 800; font-size: 1.6rem; letter-spacing: -.02em; }
.agegate p { margin: 0 0 16px; font-family: var(--font-read); color: var(--ink-2); font-size: 1rem; }
.agegate__leave { display: inline-block; margin-top: 12px; color: var(--ink-3); font-size: .88rem; }

/* ---------- Tablet ---------- */
@media (min-width: 640px) {
	:root { --gutter: 24px; }
	.hero { padding-top: 22px; }
	.hero__card { grid-template-columns: minmax(0, 1fr) 190px; padding: 24px 24px 24px 36px; gap: 18px 28px; }
	.hero__card::before { left: 20px; }
	.hero__title { font-size: clamp(1.9rem, 4.6vw, 2.5rem); }
	.hero__cta .btn--cta { width: auto; min-width: 290px; }
	.hero__cta .cta-note { text-align: left; }
	.stamp { width: 76px; height: 76px; left: -22px; }
	.grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 18px; }
	.epmap__row { grid-auto-columns: 150px; }
	.inline-cta .btn--cta { width: auto; }
}
@media (min-width: 900px) {
	.grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- Desktop ---------- */
@media (min-width: 1024px) {
	:root { --gutter: 40px; --bar-h: 66px; }
	.masthead__links { display: flex; gap: 22px; margin-right: 8px; }
	.masthead__links a { font-weight: 700; font-size: .95rem; text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
	.masthead__links a:hover, .masthead__links a[aria-current="page"] { border-bottom-color: var(--cherry); }
	.masthead__watch { height: 38px; padding: 0 16px; font-size: .9rem; }
	.masthead__bar { padding-left: var(--gutter); }
	.masthead__menu { order: 9; }
	.logo__name { font-size: 1.3rem; }
	.tabs { justify-content: center; gap: 26px; border-bottom: 0; }
	.content { padding-bottom: 0; }
	.dock { display: none; }

	.hero { padding-top: 30px; padding-bottom: 14px; }
	.hero__card { grid-template-columns: minmax(0, 1fr) 270px; grid-template-areas: "head poster" "cta poster" "lede poster"; align-content: start; padding: 40px 48px 40px 64px; gap: 22px 64px; }
	.hero__card::before { left: 36px; }
	.hero__title { font-size: clamp(2.3rem, 3.3vw, 3.2rem); }
	.hero__lede { max-width: 40rem; font-size: 1.12rem; }
	.hero__poster { align-self: center; }
	.hero__cap { display: block; margin-top: 16px; font-size: .84rem; font-weight: 700; text-align: center; color: var(--ink-3); }
	.stamp { width: 86px; height: 86px; left: -30px; bottom: -18px; }
	.stamp__n { font-size: 1.3rem; }

	.layout { grid-template-columns: minmax(0, 1fr) 330px; gap: 56px; align-items: start; margin-top: 26px; }
	.layout__side { order: 0; grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--bar-h) + 20px); }
	.layout__main { grid-column: 1; grid-row: 1; }
	.jump { margin: 0 0 18px; padding: 2px 0; }
	.read { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
	.read .toc { order: 2; position: sticky; top: calc(var(--bar-h) + 20px); margin-top: 8px; }
	.grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (min-width: 1360px) {
	.grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* ---------- WordPress toolbar, logged-in users only ---------- */
@media (min-width: 601px) and (max-width: 782px) { .admin-bar .masthead { top: 46px; } }
@media (min-width: 783px) { .admin-bar .masthead { top: 32px; } .admin-bar .layout__side, .admin-bar .read .toc { top: calc(var(--bar-h) + 52px); } }

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

/* Tables written inside the text (guides, hub) */
.prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 0 0 1.3rem; font-family: var(--font-ui); font-size: .9rem; background: var(--sheet); border: 2px solid var(--ink); }
.prose th, .prose td { padding: 9px 10px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.prose thead th { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--paper); background: var(--ink); font-weight: 800; }
.prose tbody th, .prose tbody td:first-child { white-space: nowrap; font-weight: 700; }

/* Buttons inside the text ([cas_cta]): the link color of .prose must not repaint them */
.prose .btn--cta, .faq__a .btn--cta, .filecard .btn--cta { color: #fff; text-decoration: none; }
.prose .btn--cta:hover { color: #fff; }
