/* Candy Run — app styles */

:root {
	--cr-bg: #0f0f11;
	--cr-bg-2: #151517;
	--cr-card: #1b1b1f;
	--cr-card-2: #232328;
	--cr-line: rgba(255, 255, 255, .09);
	--cr-ink: #f6f3f8;
	--cr-dim: #a4a0ad;
	--cr-hot: #ff3d8b;
	--cr-hot-2: #ff74b4;
	--cr-violet: #8b5cff;
	--cr-grad: linear-gradient(135deg, #ff3d8b 0%, #ff2fb7 60%, #c04dff 100%);
	--cr-r: 16px;
	--cr-glow: 0 10px 36px -10px rgba(255, 61, 139, .6);
	--cr-bar-h: 62px;
	--cr-side-w: 248px;
	--cr-font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
	--cr-adminbar: var(--wp-admin--admin-bar--height, 0px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.cr-body {
	margin: 0;
	background: var(--cr-bg);
	color: var(--cr-ink);
	font-family: var(--cr-font);
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--cr-font); line-height: 1.12; margin: 0; letter-spacing: -.02em; }

.cr-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cr-skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--cr-hot); color: #fff; padding: 8px 14px; border-radius: 8px; }
.cr-skip:focus { left: 8px; }
.cr-accent, .cr-prose em, h1 em, h2 em { color: var(--cr-hot); font-style: normal; }
.cr-muted { color: var(--cr-dim); }
.cr-ico { flex: none; }

/* ------------------------------------------------------------- Buttons */

.cr-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 12px 22px; border-radius: 12px; border: 1px solid var(--cr-line);
	background: var(--cr-card); color: var(--cr-ink); text-decoration: none;
	font: 600 15px/1.2 var(--cr-font); cursor: pointer; transition: transform .15s, filter .15s, border-color .15s;
}
.cr-btn:hover { transform: translateY(-1px); border-color: rgba(255, 255, 255, .22); }
.cr-btn--hot { background: var(--cr-grad); border-color: transparent; color: #fff; box-shadow: var(--cr-glow); }
.cr-btn--hot:hover { filter: brightness(1.08); border-color: transparent; }
.cr-btn--sm { padding: 9px 16px; font-size: 14px; }
.cr-btn--lg { padding: 15px 28px; font-size: 16px; }
.cr-btn--block { display: flex; width: 100%; }
.cr-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ------------------------------------------------------------- Top bar */

.cr-bar {
	position: sticky; top: var(--cr-adminbar); z-index: 80; height: var(--cr-bar-h);
	display: flex; align-items: center; gap: 14px; padding: 0 18px;
	background: rgba(15, 15, 17, .92); backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--cr-line);
}
.cr-bar__end { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.cr-age-pill {
	padding: 3px 10px; border-radius: 8px; border: 1px solid rgba(255, 61, 139, .55);
	color: var(--cr-hot-2); font: 600 13px/1.4 var(--cr-font);
}

.cr-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.cr-brand__mark {
	width: 28px; height: 28px; border-radius: 9px; background: var(--cr-grad); color: #fff;
	display: grid; place-items: center; box-shadow: var(--cr-glow);
}
.cr-brand__name { font: 700 22px/1 var(--cr-font); letter-spacing: -.03em; }

.cr-burger {
	display: none; width: 40px; height: 40px; padding: 0; border-radius: 10px;
	border: 1px solid var(--cr-line); background: var(--cr-card); cursor: pointer;
	flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.cr-burger i { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--cr-ink); }

/* ------------------------------------------------------------- Shell */

.cr-shell { display: block; }

.cr-side {
	position: fixed; z-index: 70; left: 0;
	top: calc(var(--cr-bar-h) + var(--cr-adminbar)); bottom: 0; width: var(--cr-side-w);
	padding: 18px 14px 24px; overflow-y: auto;
	background: var(--cr-bg); border-right: 1px solid var(--cr-line);
}
.cr-main { margin-left: var(--cr-side-w); padding: 24px 24px 56px; min-width: 0; }
.cr-scrim { display: none; }

.cr-nav { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; }
.cr-nav-title {
	margin: 20px 4px 10px; color: var(--cr-dim);
	font: 700 11px/1 var(--cr-font); letter-spacing: .16em; text-transform: uppercase;
}
.cr-link {
	display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px;
	background: var(--cr-bg-2); border: 1px solid var(--cr-line); color: var(--cr-ink);
	text-decoration: none; font: 500 15px/1.3 var(--cr-font); transition: border-color .15s, background .15s;
}
.cr-link .cr-ico { color: var(--cr-dim); }
.cr-link:hover { border-color: rgba(255, 255, 255, .22); }
.cr-link.is-current {
	border-color: var(--cr-hot);
	background: linear-gradient(135deg, rgba(255, 61, 139, .22), rgba(255, 61, 139, .05));
}
.cr-link.is-current .cr-ico { color: var(--cr-hot-2); }
.cr-link-label { flex: 1; }
.cr-link-count {
	min-width: 28px; padding: 1px 9px; border-radius: 999px; background: var(--cr-grad);
	color: #fff; font: 700 12px/1.6 var(--cr-font); text-align: center;
}

.cr-promo {
	margin-top: 6px; padding: 16px; border-radius: var(--cr-r); border: 1px solid rgba(255, 61, 139, .3);
	background: linear-gradient(160deg, rgba(255, 61, 139, .2), rgba(139, 92, 255, .12)); text-align: center;
}
.cr-promo p { margin: 0 0 12px; font-size: 14px; font-weight: 600; }

/* ------------------------------------------------------------- Hero */

.cr-hero {
	position: relative; overflow: hidden; isolation: isolate; border-radius: 24px;
	border: 1px solid var(--cr-line); background: var(--cr-card);
	padding: 64px 54px 48px; min-height: 468px; margin-bottom: 56px;
}
.cr-hero__art {
	position: absolute; z-index: -1; inset: -20% -6% -20% 34%;
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
	transform: rotate(-7deg);
}
.cr-hero__art span {
	aspect-ratio: 7 / 10; border-radius: 14px; background: var(--cr-card-2) center / cover no-repeat;
	box-shadow: 0 14px 40px rgba(0, 0, 0, .5);
}
.cr-hero__art span:nth-child(4n + 1) { transform: translateY(-14%); }
.cr-hero__art span:nth-child(4n + 3) { transform: translateY(10%); }
.cr-hero__art .cr-tone-0 { background-image: linear-gradient(160deg, #ff3d8b, #5b1b46); }
.cr-hero__art .cr-tone-1 { background-image: linear-gradient(160deg, #8b5cff, #2a1b5e); }
.cr-hero__art .cr-tone-2 { background-image: linear-gradient(160deg, #ff74b4, #6b2a4b); }
.cr-hero__art .cr-tone-3 { background-image: linear-gradient(160deg, #c04dff, #35195c); }
.cr-hero::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(90deg, rgba(15, 15, 17, .97) 0%, rgba(15, 15, 17, .9) 34%, rgba(15, 15, 17, .25) 70%, rgba(15, 15, 17, 0) 100%);
}
.cr-hero__copy { max-width: 560px; }
.cr-hero h1 { font-size: clamp(42px, 6vw, 68px); font-weight: 800; letter-spacing: -.035em; }
.cr-hero__lead { margin: 18px 0 24px; font-size: 17px; line-height: 1.65; color: rgba(246, 243, 248, .86); }
.cr-hero__lead p { margin: 0 0 12px; }
.cr-hero__lead p:first-child { font-size: 24px; font-weight: 700; line-height: 1.2; color: var(--cr-ink); }
.cr-hero__fine { margin: 14px 0 0; font-size: 13px; color: var(--cr-dim); }

/* Home hero with a single wide photo instead of the poster collage. */
.cr-hero--photo::before {
	content: ""; position: absolute; inset: 0; z-index: -2;
	background: var(--cr-hero-img) center 30% / cover no-repeat;
}
.cr-hero--photo .cr-hero__art { display: none; }
.cr-hero--photo::after {
	background:
		linear-gradient(90deg, rgba(15, 15, 17, .93) 0%, rgba(15, 15, 17, .74) 38%, rgba(15, 15, 17, .14) 76%, rgba(15, 15, 17, 0) 100%),
		linear-gradient(0deg, rgba(15, 15, 17, .55), transparent 45%);
}

/* ------------------------------------------------------------- Blocks and cards */

.cr-block { margin-bottom: 56px; }
.cr-block__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.cr-block h2, .cr-prose h2 { font-size: clamp(28px, 3.4vw, 38px); font-weight: 800; }
.cr-more {
	display: inline-flex; align-items: center; gap: 6px; flex: none;
	color: var(--cr-ink); text-decoration: none; font-weight: 600; font-size: 15px;
}
.cr-more:hover { color: var(--cr-hot-2); }

.cr-cards { display: grid; gap: 18px; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.cr-cards--full { margin-bottom: 40px; }
.cr-updated { margin: 14px 0 0; color: var(--cr-dim); font-size: 13px; }

/* Page hero: image (when the page has one), title, lead and call to action. */
.cr-phero {
	position: relative; overflow: hidden; isolation: isolate; max-width: 1200px; min-height: 320px;
	margin: 0 0 40px; padding: 40px 48px; display: flex; align-items: flex-end;
	border-radius: 24px; border: 1px solid var(--cr-line);
	background:
		radial-gradient(120% 140% at 100% 0%, rgba(255, 61, 139, .28), transparent 55%),
		radial-gradient(90% 120% at 0% 100%, rgba(139, 92, 255, .22), transparent 60%),
		var(--cr-card);
}
.cr-phero.has-img::before {
	content: ""; position: absolute; inset: 0; z-index: -2;
	background: var(--cr-hero-img) center 28% / cover no-repeat;
}
.cr-phero.has-img::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(90deg, rgba(15, 15, 17, .94) 0%, rgba(15, 15, 17, .8) 42%, rgba(15, 15, 17, .2) 100%),
		linear-gradient(0deg, rgba(15, 15, 17, .6), transparent 55%);
}
.cr-phero__copy { max-width: 700px; }
.cr-phero .cr-crumbs { margin: 0 0 14px; }
.cr-phero h1 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; letter-spacing: -.03em; }
.cr-phero__lead { margin: 14px 0 22px; font-size: 17px; line-height: 1.6; color: rgba(246, 243, 248, .9); }
.cr-phero__lead p { margin: 0 0 10px; }
.cr-phero .cr-updated { margin-top: 16px; }
.cr-phero__avatar {
	margin-left: auto; align-self: center; flex: none; width: 200px; aspect-ratio: 7 / 10;
	border-radius: 18px; overflow: hidden; border: 1px solid var(--cr-line); box-shadow: 0 14px 40px rgba(0, 0, 0, .45);
}
.cr-phero__avatar img { width: 100%; height: 100%; object-fit: cover; }
.cr-creators { margin-bottom: 40px; }

@media (max-width: 960px) {
	.cr-phero { min-height: 260px; padding: 28px 22px; border-radius: 20px; }
	.cr-phero__avatar { display: none; }
	.cr-phero.has-img::after { background: linear-gradient(0deg, rgba(15, 15, 17, .92), rgba(15, 15, 17, .55)); }
}
.cr-prose > .cr-cards { max-width: none; margin-bottom: 40px; }
.cr-cards--twin { grid-template-columns: repeat(auto-fill, minmax(190px, 220px)); }
.cr-card {
	display: flex; flex-direction: column; overflow: hidden; text-decoration: none;
	background: var(--cr-card); border: 1px solid var(--cr-line); border-radius: var(--cr-r);
	transition: transform .18s, border-color .18s;
}
.cr-card:hover { transform: translateY(-3px); border-color: rgba(255, 61, 139, .5); }
.cr-card__art { position: relative; display: block; aspect-ratio: 7 / 10; background: var(--cr-card-2); }
.cr-card__art img { width: 100%; height: 100%; object-fit: cover; }
.cr-card__blank { position: absolute; inset: 0; background: linear-gradient(160deg, #3a2040, #17141f); }
.cr-pill {
	position: absolute; left: 10px; top: 10px; padding: 3px 11px; border-radius: 999px;
	background: var(--cr-grad); color: #fff; font: 600 12px/1.6 var(--cr-font);
}
.cr-card__body { display: block; padding: 12px 14px 16px; }
.cr-card__body strong { display: block; font: 700 15px/1.25 var(--cr-font); }
.cr-card__body small { display: block; margin-top: 6px; color: var(--cr-dim); font-size: 13px; line-height: 1.5; }

/* ------------------------------------------------------------- Prose and content blocks */

/* One shared column for the page header and the content, so the title and the text line up. */
.cr-page, .cr-page__head, .cr-crumbs, .cr-prose { max-width: 1200px; }
.cr-prose { color: rgba(246, 243, 248, .86); font-size: 17px; line-height: 1.75; }
.cr-prose--wide { max-width: none; }
.cr-prose > * { max-width: none; }
.cr-prose > p, .cr-prose > ul, .cr-prose > ol { max-width: 1040px; }
.cr-prose > .alignwide, .cr-prose > .cr-wide, .cr-prose > .cr-stats, .cr-prose > .cr-cols, .cr-prose > .cr-tiles { max-width: none; }
.cr-prose p { margin: 0 0 16px; }
.cr-prose h2 { margin: 56px 0 14px; color: var(--cr-ink); }
.cr-prose h3 { margin: 28px 0 10px; font-size: 22px; font-weight: 700; color: var(--cr-ink); }
.cr-prose a { color: var(--cr-hot-2); }
.cr-prose ul, .cr-prose ol { padding-left: 22px; margin: 0 0 18px; }
.cr-prose li { margin-bottom: 6px; }
.cr-prose strong { color: var(--cr-ink); }

.cr-eyebrow {
	display: block; margin-bottom: 8px; color: var(--cr-hot-2);
	font: 700 12px/1.4 var(--cr-font); letter-spacing: .16em; text-transform: uppercase;
}

.cr-quick {
	position: relative; max-width: none; margin: 0 0 44px; padding: 22px 30px; border-radius: var(--cr-r);
	border: 1px solid rgba(255, 61, 139, .25);
	background: linear-gradient(135deg, rgba(255, 61, 139, .14), rgba(27, 27, 31, .6) 55%);
}
.cr-quick::before {
	content: ""; position: absolute; left: -1px; top: 14px; bottom: 14px; width: 4px;
	border-radius: 4px; background: linear-gradient(180deg, var(--cr-hot), var(--cr-violet));
}

.cr-stats {
	display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 56px;
	border-top: 1px solid var(--cr-line); border-bottom: 1px solid var(--cr-line);
}
.cr-stats > * { padding: 30px 16px; text-align: center; border-left: 1px solid var(--cr-line); }
.cr-stats > *:first-child { border-left: 0; }
.cr-stats strong { display: block; color: var(--cr-hot); font: 800 clamp(38px, 4.4vw, 54px)/1.05 var(--cr-font); }
.cr-stats span { display: block; margin-top: 4px; color: var(--cr-dim); font-size: 14px; }

.cr-cols { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; align-items: start; margin-bottom: 56px; }
.cr-fcards { display: grid; gap: 12px; }
.cr-fcard {
	padding: 16px 20px; border-radius: var(--cr-r); background: var(--cr-card); border: 1px solid var(--cr-line);
}
.cr-fcard strong { display: block; font: 700 16px/1.3 var(--cr-font); color: var(--cr-ink); }
.cr-fcard p { margin: 4px 0 0; color: var(--cr-dim); font-size: 15px; line-height: 1.55; }

.cr-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 56px; }
.cr-tile {
	position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 170px;
	padding: 18px; border-radius: var(--cr-r); overflow: hidden; text-decoration: none; color: #fff;
	background:
		repeating-linear-gradient(135deg, rgba(255, 255, 255, .07) 0 12px, transparent 12px 24px),
		linear-gradient(150deg, #e6307f, #8e1857);
}
.cr-tile:nth-child(4n + 2) { background-color: transparent; background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .07) 0 12px, transparent 12px 24px), linear-gradient(150deg, #8e48f0, #4f23a8); }
.cr-tile:nth-child(4n + 3) { background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .07) 0 12px, transparent 12px 24px), linear-gradient(150deg, #e02a66, #9c1240); }
.cr-tile:nth-child(4n + 4) { background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .07) 0 12px, transparent 12px 24px), linear-gradient(150deg, #5a4cf0, #29268a); }
.cr-tile .cr-pill { background: rgba(0, 0, 0, .32); }
.cr-tile strong { font: 700 18px/1.25 var(--cr-font); }
.cr-tile small { display: block; margin-top: 6px; font-size: 14px; font-weight: 500; line-height: 1.45; color: #fff; }
.cr-tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, .42) 100%); pointer-events: none; }
.cr-tile strong, .cr-tile small { position: relative; }
.cr-tile .cr-pill { z-index: 1; }
/* Links inside prose are pink by default: keep tiles and buttons readable. */
.cr-prose a.cr-tile, .cr-prose a.cr-tile:hover { color: #fff; text-decoration: none; }
.cr-prose a.cr-tile strong { color: #fff; }
.cr-prose a.cr-btn, .cr-prose a.cr-btn:hover { color: var(--cr-ink); text-decoration: none; }
.cr-prose a.cr-btn--hot, .cr-prose a.cr-btn--hot:hover { color: #fff; }
.cr-tiles--topics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cr-btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 8px; }
.cr-note { padding: 14px 18px; border-radius: 12px; border: 1px solid var(--cr-line); background: var(--cr-card); color: var(--cr-dim); font-size: 14px; }
.cr-checklist { list-style: none; padding: 0; display: grid; gap: 8px; }
.cr-checklist li { position: relative; margin: 0; padding-left: 28px; }
.cr-checklist li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 10px; height: 10px; border-radius: 50%; background: var(--cr-hot); }
.cr-checklist--warn li::before { background: #ffb03d; }

.cr-steps { list-style: none; padding: 0; margin: 0 0 40px; counter-reset: cr-step; display: grid; gap: 14px; }
.cr-steps li { counter-increment: cr-step; position: relative; padding-left: 52px; }
.cr-steps li::before {
	content: counter(cr-step); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%;
	display: grid; place-items: center; background: var(--cr-grad); color: #fff; font: 700 15px/1 var(--cr-font);
}

.cr-faq { max-width: 1040px; display: grid; gap: 10px; margin-bottom: 40px; }
.cr-faq details { border-radius: 14px; background: var(--cr-card); border: 1px solid var(--cr-line); }
.cr-faq summary {
	display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px;
	cursor: pointer; list-style: none; font: 700 16px/1.35 var(--cr-font); color: var(--cr-ink);
}
.cr-faq summary::-webkit-details-marker { display: none; }
.cr-faq summary h3 { margin: 0; font: inherit; letter-spacing: inherit; color: inherit; }
.cr-faq summary::after { content: "+"; color: var(--cr-hot-2); font-size: 22px; font-weight: 700; line-height: 1; }
.cr-faq details[open] summary::after { content: "\2013"; }
.cr-faq details > div { padding: 0 20px 18px; color: var(--cr-dim); }
.cr-faq details > div p { margin: 0 0 10px; }

/* ------------------------------------------------------------- Pages */

.cr-crumbs { margin: 0 0 18px; color: var(--cr-dim); font-size: 14px; }
.cr-crumbs a { text-decoration: none; }
.cr-crumbs a:hover { color: var(--cr-hot-2); }
.cr-crumbs span { margin: 0 4px; opacity: .6; }

.cr-page__head { margin-bottom: 28px; }
.cr-page__head h1 { font-size: clamp(32px, 3.6vw, 46px); font-weight: 800; letter-spacing: -.03em; }
.cr-page__lead { max-width: 1040px; margin-top: 14px; color: var(--cr-dim); font-size: 18px; }
.cr-page__lead p { margin: 0 0 10px; }
.cr-page--series { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 40px; align-items: start; }
.cr-page__poster { position: sticky; top: calc(var(--cr-bar-h) + var(--cr-adminbar) + 24px); border-radius: 20px; overflow: hidden; border: 1px solid var(--cr-line); }

.cr-list { display: grid; gap: 26px; max-width: 760px; }
.cr-list__item h2 { font-size: 26px; margin-bottom: 4px; }
.cr-list__item h2 a { text-decoration: none; }
.cr-list__item h2 a:hover { color: var(--cr-hot-2); }

/* ------------------------------------------------------------- Closing banner and footer */

.cr-cta {
	display: flex; align-items: center; justify-content: space-between; gap: 28px; margin: 56px 0 56px;
	padding: 38px 44px; border-radius: 24px; border: 1px solid rgba(255, 61, 139, .28);
	background: radial-gradient(120% 140% at 100% 100%, rgba(255, 61, 139, .32), transparent 60%), var(--cr-card);
}
.cr-cta h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; }
.cr-cta p { margin: 8px 0 0; max-width: 520px; color: var(--cr-dim); font-size: 15px; }

.cr-foot { padding-top: 40px; border-top: 1px solid var(--cr-line); }
.cr-foot__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px; }
.cr-foot__brand p { max-width: 280px; margin: 10px 0 0; color: var(--cr-dim); font-size: 14px; line-height: 1.6; }
.cr-foot__col h3 { margin-bottom: 14px; color: var(--cr-dim); font: 700 11px/1 var(--cr-font); letter-spacing: .16em; text-transform: uppercase; }
.cr-foot__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cr-foot__list .cr-link { padding: 0; border: 0; background: none; color: var(--cr-dim); font-size: 14px; }
.cr-foot__list .cr-link:hover { color: var(--cr-ink); }
.cr-foot__fine { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--cr-line); color: var(--cr-dim); font-size: 13px; }
.cr-foot__fine p { margin: 0 0 6px; }

/* ------------------------------------------------------------- Age bar */

.cr-agebar {
	position: fixed; z-index: 120; left: 0; right: 0; bottom: 0;
	display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap;
	padding: 14px 20px; background: rgba(15, 15, 17, .96); backdrop-filter: blur(10px);
	border-top: 1px solid var(--cr-line);
}
.cr-agebar p { margin: 0; font-size: 14px; }
.cr-agebar__act { display: flex; align-items: center; gap: 16px; }
.cr-agebar__leave { color: var(--cr-dim); font-size: 14px; }
.cr-age-ok .cr-agebar, .cr-agebar.is-hidden { display: none; }

/* ------------------------------------------------------------- Responsive */

@media (max-width: 1280px) {
	.cr-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.cr-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
	.cr-burger { display: flex; }
	.cr-side { transform: translateX(-102%); transition: transform .22s ease; width: min(86vw, 300px); }
	.cr-main { margin-left: 0; padding: 18px 16px 48px; }
	body.cr-menu-open .cr-side { transform: none; }
	body.cr-menu-open .cr-scrim {
		display: block; position: fixed; z-index: 60; inset: calc(var(--cr-bar-h) + var(--cr-adminbar)) 0 0 0;
		background: rgba(0, 0, 0, .6);
	}
	.cr-hero { padding: 36px 24px 32px; min-height: 0; }
	.cr-hero__art { inset: -10% -30% -10% 30%; opacity: .55; }
	.cr-cols { grid-template-columns: 1fr; gap: 28px; }
	.cr-page--series { grid-template-columns: 1fr; }
	.cr-page__poster { position: static; max-width: 280px; }
	.cr-foot__grid { grid-template-columns: 1fr 1fr; }
	.cr-cta { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
}

@media (max-width: 640px) {
	.cr-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.cr-stats { grid-template-columns: repeat(2, 1fr); }
	.cr-stats > *:nth-child(3) { border-left: 0; }
	.cr-stats > *:nth-child(n + 3) { border-top: 1px solid var(--cr-line); }
	.cr-tiles { grid-template-columns: 1fr; }
	.cr-block__head { flex-direction: column; align-items: flex-start; gap: 8px; }
	.cr-bar .cr-age-pill { display: none; }
	.cr-agebar { justify-content: space-between; }
}

/* Mobile header: brand and button stay on one line, solid background, no gap under the WP admin bar. */
@media (max-width: 640px) {
	.cr-bar { gap: 10px; padding: 0 12px; background: rgba(15, 15, 17, .97); }
	.cr-bar__end { gap: 8px; flex: none; }
	.cr-brand { gap: 8px; min-width: 0; }
	.cr-brand__mark { width: 26px; height: 26px; border-radius: 8px; }
	.cr-brand__name { font-size: 18px; white-space: nowrap; }
	.cr-bar .cr-btn { white-space: nowrap; padding: 8px 14px; font-size: 13px; }
	.cr-bar .cr-btn .cr-ico { width: 10px; height: 10px; }
}
@media (max-width: 600px) {
	/* The admin bar is not sticky on small screens, so the header sticks to the very top. */
	body.admin-bar .cr-bar { top: 0; }
	body.admin-bar .cr-side { top: var(--cr-bar-h); }
	body.admin-bar.cr-menu-open .cr-scrim { inset: var(--cr-bar-h) 0 0 0; }
}
@media (max-width: 360px) {
	.cr-brand__name { font-size: 16px; }
	.cr-bar .cr-btn { padding: 8px 10px; }
	.cr-bar .cr-btn .cr-ico { display: none; }
}

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