/**
 * Cinestar Child: album.css
 * An Event's Album (template-parts/album.php) and the Stage, its full-screen
 * viewer (assets/js/album.js). Loaded where an Album is shown; it sits below
 * the first screen, so it is one of the deferred stylesheets.
 * Tokens come from main.css; section lockup classes from event-recap.css.
 *
 * `.is-js` is set on the block by an inline script as it is parsed. Without
 * JavaScript the wall shows every photo and nothing else is offered.
 *
 * Until this file arrives, inc/album.php keeps the wall, the panels, the pills
 * and "View All" hidden with one inline rule. So each of them is switched on
 * here with a selector of two classes or more, which outranks that rule.
 *
 *   1. Head
 *   2. Chapter pills (phone)
 *   3. Chapter panels (tablet and desktop)
 *   4. The wall (phone, and Albums without chapters)
 *   5. The Stage
 */

/* ── 1. Head ───────────────────────────────────────────────────────── */
.ce-album { overflow: hidden; }
.ce-album__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem; }
.ce-album__head .ce-rc-heading { margin: 0; }
.ce-album__meta,
.ce-album__credit { color: var(--ce-text-faint); font-size: 0.9rem; line-height: 1.5; margin: 0.5rem 0 0; }
.ce-album__credit { margin-top: 0.15rem; }
.ce-album__all { display: none; white-space: nowrap; }

/* Two quick clicks are a double-click to the browser, which selects whatever is
   under them, and the parent theme paints anything selected in solid gold: a
   photo turned yellow (Yogesh, 18 November 2026). Nothing in the Album's
   controls or the Stage can be selected. */
.ce-album__chips,
.ce-album__panels,
.ce-album__wall,
.ce-stage {
	-webkit-user-select: none; /* stylelint-disable-line property-no-vendor-prefix -- Safari */
	user-select: none;
}
.ce-stage ::selection { background: transparent; color: inherit; }

/* ── 2. Chapter pills (phone) ──────────────────────────────────────── */
.ce-album__chips-wrap { display: none; position: relative; margin-top: 1.5rem; overflow: hidden; }
.ce-album.is-js .ce-album__chips-wrap { display: block; }
.ce-album__chips-wrap::after {
	content: "";
	position: absolute;
	inset: 0 0 0 auto;
	width: 48px;
	pointer-events: none;
	background: linear-gradient(90deg, rgba(11, 10, 15, 0), #0b0a0f);
}
.ce-album__chips { display: flex; gap: 0.5rem; overflow-x: auto; scrollbar-width: none; padding: 2px 48px 2px 2px; }
.ce-album__chips::-webkit-scrollbar { display: none; }
.ce-album__chip {
	flex: none;
	min-height: 44px;
	padding: 0 1.05rem;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: transparent;
	color: var(--ce-text-muted);
	font: 600 0.82rem var(--ce-font-heading);
	letter-spacing: 0.04em;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	transition: border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}
.ce-album__chip small { font: 600 0.72rem var(--ce-font-body); color: var(--ce-text-faint); font-variant-numeric: tabular-nums; }
.ce-album .ce-album__chip:hover,
.ce-album .ce-album__chip:focus,
.ce-album .ce-album__chip:focus-visible { background: transparent; border-color: var(--ce-gold); color: #fff; outline: none; }
.ce-album .ce-album__chip:focus-visible { outline: 2px solid var(--ce-gold); outline-offset: 2px; }
/* Gold behind, dark on top: never light text on gold. */
.ce-album .ce-album__chip[aria-pressed="true"] { background: var(--ce-gold); border-color: var(--ce-gold); color: #0a0a0a; }
.ce-album .ce-album__chip[aria-pressed="true"] small { color: rgba(10, 10, 10, 0.72); }

/* ── 3. Chapter panels (tablet and desktop) ────────────────────────── */
.ce-album__panels { display: none; }

.ce-album__panel {
	position: relative;
	flex: 1 1 0;
	min-width: 0;
	border-radius: 14px;
	overflow: hidden;
	background: #111;
	color: #fff;
	text-decoration: none;
	isolation: isolate;
	cursor: pointer;
	transition: flex-grow 0.7s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}
.ce-album .ce-album__panel:hover,
.ce-album .ce-album__panel:focus { color: #fff; }
.ce-album__panel:focus-visible { outline: 3px solid var(--ce-gold); outline-offset: 3px; }
.ce-album__panel.is-open { flex-grow: 6.5; box-shadow: 0 0 0 1px rgba(255, 215, 0, 0.6), 0 30px 70px rgba(0, 0, 0, 0.6); }

.ce-album__cover {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(0.5) saturate(0.85);
	transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s ease;
}
.ce-album__panel.is-open .ce-album__cover { filter: none; transform: scale(1.03); }
.ce-album__panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 5, 8, 0.1) 30%, rgba(5, 5, 8, 0.9) 100%); }

/* A closed panel reads up its length, like the spine of a book. */
.ce-album__spine {
	position: absolute;
	z-index: 1;
	left: 50%;
	bottom: 22px;
	margin-left: 0.35rem;
	transform: rotate(-90deg);
	transform-origin: 0 50%;
	white-space: nowrap;
	font: 800 1rem var(--ce-font-heading);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	transition: opacity 0.3s ease;
}
.ce-album__spine small { margin-left: 0.6rem; color: var(--ce-gold); font: 700 0.8rem var(--ce-font-heading); }
.ce-album__panel.is-open .ce-album__spine { opacity: 0; }

/* Shown once the panel has opened most of the way, so its text is never seen reflowing. */
.ce-album__open { position: absolute; z-index: 1; inset: auto 24px 24px 24px; display: block; opacity: 0; transform: translateY(14px); transition: opacity 0.2s ease, transform 0.3s ease; }
.ce-album__panel.is-open .ce-album__open { opacity: 1; transform: none; transition: opacity 0.45s ease 0.3s, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.3s; }
.ce-album__kicker { display: block; color: var(--ce-gold); font: 700 0.72rem var(--ce-font-heading); letter-spacing: 0.18em; text-transform: uppercase; white-space: nowrap; }
.ce-album__title { display: block; margin: 0.3rem 0 0.75rem; color: #fff; font: 800 clamp(1.4rem, 3.3vw, 2.6rem)/1.05 var(--ce-font-heading); text-transform: uppercase; }
.ce-album__peek { display: flex; align-items: center; gap: 6px; }
.ce-album__peek img { display: block; width: 46px; height: 46px; object-fit: cover; border-radius: 8px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18); }
.ce-album__go { margin-left: 0.5rem; display: inline-flex; align-items: center; gap: 0.4rem; white-space: nowrap; font: 700 0.74rem var(--ce-font-heading); letter-spacing: 0.12em; text-transform: uppercase; }
.ce-album__go svg { width: 18px; height: 18px; stroke: var(--ce-gold); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.3s ease; }
.ce-album__panel.is-open:hover .ce-album__go svg { transform: translateX(5px); }

@media (min-width: 768px) {
	.ce-album--chapters.is-js .ce-album__panels { display: flex; gap: 8px; height: 440px; margin-top: 1.9rem; }
	.ce-album--chapters.is-js .ce-album__chips-wrap,
	.ce-album--chapters.is-js .ce-album__wall-wrap { display: none; }
	.ce-album--chapters.is-js .ce-album__all { display: inline-flex; }
}

@media (min-width: 1024px) {
	.ce-album--chapters.is-js .ce-album__panels { gap: 10px; height: 520px; }
	.ce-album__spine { font-size: 1.05rem; }
	.ce-album__open { inset: auto 28px 26px 28px; }
	.ce-album__peek img { width: 58px; height: 58px; }
}

/* ── 4. The wall ───────────────────────────────────────────────────── */
/* Rows of photos at their own shapes: each grows from its natural width to fill
   its row. On a phone two wide photos make a row, or three with a tall one. */
.ce-album .ce-album__wall-wrap { display: block; position: relative; max-width: 1560px; margin: 1.5rem auto 0; padding-inline: 16px; }
.ce-album__wall { --h: 23vw; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 5px; }
.ce-album__item { flex: var(--ar) 1 calc(var(--ar) * var(--h)); height: var(--h); min-width: 0; }
.ce-album__fill { flex: 100 1 0; height: 0; }
.ce-album.is-js .ce-album__item.is-extra { display: none; }
.ce-album.is-js .ce-album__wall.is-all .ce-album__item.is-extra:not([hidden]) { display: block; }
.ce-album .ce-album__item[hidden] { display: none; }   /* a photo outside the chapter on show */

.ce-album__tile { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 8px; background: #111; cursor: zoom-in; }
.ce-album__tile img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ce-album__tile:focus-visible { outline: 3px solid var(--ce-gold); outline-offset: -3px; }
.ce-album__cap { display: none; }

/* "Show All" sits over the foot of the preview, which fades out under it. */
.ce-album__more { display: none; }
.ce-album.is-js .ce-album__more {
	position: relative;
	z-index: 3;
	display: grid;
	place-items: center;
	margin-top: -3.4rem;
	padding-top: 4.4rem;
	background: linear-gradient(180deg, rgba(10, 10, 10, 0) 0%, var(--ce-bg) 58%);
	pointer-events: none;
}
.ce-album__more .ce-btn { pointer-events: auto; }
.ce-album.is-js .ce-album__wall.is-all + .ce-album__more { display: none; }

@media (min-width: 768px) {
	.ce-album__wall { --h: 160px; gap: 8px; }
}

@media (min-width: 1200px) {
	.ce-album__wall { --h: 196px; }
}

/* With a pointer, the photo under it stays lit and the rest of the wall falls
   back into the dark. A finger does not hover, so a phone never sees this. */
@media (hover: hover) and (min-width: 768px) {
	.ce-album__tile { transition: filter 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease; }
	.ce-album__cap {
		position: absolute;
		z-index: 1;
		inset: auto 10px 9px 10px;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
		color: #fff;
		font: 500 0.78rem/1.35 var(--ce-font-body);
		text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
		opacity: 0;
		transform: translateY(8px);
		transition: opacity 0.35s ease, transform 0.4s ease;
	}
	.ce-album__tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 5, 8, 0) 50%, rgba(5, 5, 8, 0.85) 100%); opacity: 0; transition: opacity 0.4s ease; }
	.ce-album__wall:hover .ce-album__tile:not(:hover) { filter: brightness(0.32) saturate(0.6); }
	.ce-album__tile:hover { z-index: 2; transform: scale(1.04); box-shadow: 0 0 0 1px rgba(255, 215, 0, 0.8), 0 0 60px rgba(255, 215, 0, 0.22), 0 20px 50px rgba(0, 0, 0, 0.7); }
	.ce-album__tile:hover::after,
	.ce-album__tile:hover .ce-album__cap { opacity: 1; transform: none; }
}

/* ── 5. The Stage ──────────────────────────────────────────────────── */
/* One grid for the whole dialog. On a phone: the counter and the buttons on
   top, the photo, its caption, then the arrows either side of the filmstrip,
   within reach of a thumb. From 900px the caption, counter and buttons sit on
   the photo, and from 1100px the chapters run down the side as the programme. */
html.ce-stage-open { overflow: hidden; }

.ce-stage {
	border: 0;
	margin: 0;
	padding: 0 10px 12px;
	width: 100vw;
	height: 100vh;
	max-width: none;
	max-height: none;
	background: #050508;
	color: #fff;
	overflow: hidden;
}
.ce-stage[open] {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr) 48px;
	grid-template-rows: auto minmax(0, 1fr) auto auto;
	grid-template-areas:
		"bar bar bar"
		"frame frame frame"
		"text text text"
		"prev strip next";
	column-gap: 8px;
}
.ce-stage::backdrop { background: #050508; }

/* A soft wash of the photo's own colours behind everything. */
.ce-stage__glow { position: absolute; inset: -12%; z-index: 0; background-size: cover; background-position: center; filter: blur(70px) saturate(1.25); opacity: 0.42; transition: background-image 0.8s ease; pointer-events: none; }
.ce-stage__glow::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 55% at 50% 45%, rgba(5, 5, 8, 0) 0%, rgba(5, 5, 8, 0.82) 100%); }
.ce-stage > *:not(.ce-stage__glow) { position: relative; z-index: 1; }

.ce-stage__bar { grid-area: bar; display: flex; align-items: center; gap: 1rem; min-height: 68px; padding-inline: 6px; }
.ce-stage__count { margin: 0; white-space: nowrap; font: 800 1.5rem/1 var(--ce-font-heading); font-variant-numeric: tabular-nums; color: var(--ce-text-faint); }
.ce-stage__count b { color: var(--ce-gold); }
.ce-stage__title { display: none; margin: 0; min-width: 0; font: 600 0.95rem/1.35 var(--ce-font-body); color: #fff; }
.ce-stage__title small { display: block; color: var(--ce-text-faint); font-size: 0.78rem; font-weight: 400; }
.ce-stage__close { margin-left: auto; }

.ce-stage__btn {
	width: 48px;
	height: 48px;
	flex: none;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.28);
	background: rgba(12, 12, 16, 0.7);
	color: #fff;
	display: grid;
	place-items: center;
	padding: 0;
	cursor: pointer;
	transition: border-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
}
.ce-stage__btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* The parent theme paints a hovered or focused button in the accent colour.
   Here the button stays dark and its ring and icon turn gold, so the icon
   never sits gold on gold. */
.ce-stage .ce-stage__btn:hover,
.ce-stage .ce-stage__btn:focus,
.ce-stage .ce-stage__btn:focus-visible { background: rgba(12, 12, 16, 0.9); border-color: var(--ce-gold); color: var(--ce-gold); outline: none; }
.ce-stage .ce-stage__btn:focus-visible { outline: 2px solid var(--ce-gold); outline-offset: 2px; }
.ce-stage .ce-stage__btn:active { transform: scale(0.94); }
.ce-stage .ce-stage__btn[disabled] { opacity: 0.28; cursor: default; border-color: rgba(255, 255, 255, 0.28); color: #fff; }
.ce-stage__play { grid-area: bar; justify-self: end; align-self: center; margin-right: 62px; }
.ce-stage__play .is-pause { display: none; }
.ce-stage .ce-stage__play[aria-pressed="true"] { border-color: var(--ce-gold); color: var(--ce-gold); }
.ce-stage__play[aria-pressed="true"] .is-play { display: none; }
.ce-stage__play[aria-pressed="true"] .is-pause { display: block; }
.ce-stage__prev { grid-area: prev; align-self: center; }
.ce-stage__next { grid-area: next; align-self: center; }

.ce-stage__frame { grid-area: frame; min-height: 0; border-radius: 10px; overflow: hidden; }
.ce-stage__back,
.ce-stage__scrim,
.ce-stage__tag { display: none; }
.ce-stage__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity 0.6s ease; -webkit-user-drag: none; }
.ce-stage__img.is-on { opacity: 1; }
.ce-stage.is-loading .ce-stage__img.is-on { opacity: 0.4; }
.ce-stage__timer { position: absolute; inset: 0 0 auto 0; z-index: 2; height: 3px; background: rgba(255, 255, 255, 0.14); opacity: 0; transition: opacity 0.3s ease; }
.ce-stage__timer span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--ce-gold), var(--ce-magenta)); }
.ce-stage.is-playing .ce-stage__timer { opacity: 1; }
.ce-stage.is-playing .ce-stage__timer span { animation: ce-stage-timer var(--ce-stage-time, 5.5s) linear forwards; }
@keyframes ce-stage-timer {
	from { width: 0; }
	to { width: 100%; }
}

.ce-stage__text { grid-area: text; min-height: 5.6em; padding: 0.8rem 1rem 0.6rem; text-align: center; }
.ce-stage__num { display: none; }
.ce-stage__kicker { margin: 0 0 0.3rem; color: var(--ce-gold); font: 700 0.68rem var(--ce-font-heading); letter-spacing: 0.16em; text-transform: uppercase; }
.ce-stage__kicker:empty { display: none; }
.ce-stage__caption { margin: 0; color: var(--ce-text-muted); font: 400 0.95rem/1.5 var(--ce-font-body); }

.ce-stage__strip { grid-area: strip; display: flex; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 6px 2px; scroll-behavior: smooth; }
.ce-stage__strip::-webkit-scrollbar { display: none; }
.ce-stage__thumb { flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 6px; overflow: hidden; background: #111; cursor: pointer; opacity: 0.45; transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease, box-shadow 0.3s ease; }
.ce-stage__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; }
.ce-stage .ce-stage__thumb:hover,
.ce-stage .ce-stage__thumb:focus { background: #111; opacity: 0.85; }
.ce-stage .ce-stage__thumb:focus-visible { outline: 2px solid var(--ce-gold); outline-offset: 2px; opacity: 1; }
/* The photo on show opens out wider in the strip. */
.ce-stage .ce-stage__thumb[aria-selected="true"] { width: 78px; opacity: 1; box-shadow: 0 0 0 2px var(--ce-gold); }

.ce-stage__prog { display: none; }

@media (min-width: 900px) {
	.ce-stage { padding: 0 24px 20px; }
	.ce-stage[open] {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: auto minmax(0, 1fr) auto;
		grid-template-areas:
			"bar"
			"frame"
			"strip";
		column-gap: 20px;
	}
	.ce-stage__bar { min-height: 76px; padding-inline: 0; }
	.ce-stage__count { display: none; }
	.ce-stage__title { display: block; }

	.ce-stage__frame { border-radius: 14px; background: #08080b; box-shadow: 0 40px 100px rgba(0, 0, 0, 0.65); }
	.ce-stage__back { display: block; position: absolute; inset: -8%; background-size: cover; background-position: center; filter: blur(40px) saturate(1.2); opacity: 0.55; }
	.ce-stage__img.is-fill { object-fit: cover; }
	.ce-stage__img.is-on { animation: ce-stage-drift 9s ease-out both; }
	.ce-stage__scrim { display: block; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(5, 5, 8, 0.35) 0%, rgba(5, 5, 8, 0) 24%, rgba(5, 5, 8, 0) 56%, rgba(5, 5, 8, 0.9) 100%); pointer-events: none; }
	.ce-stage__tag { display: block; position: absolute; z-index: 2; top: 18px; left: 18px; margin: 0; padding: 0.3rem 0.75rem; border-radius: 999px; background: rgba(10, 10, 10, 0.55); border: 1px solid rgba(255, 255, 255, 0.22); font: 600 0.68rem var(--ce-font-heading); letter-spacing: 0.14em; text-transform: uppercase; color: #fff; }
	.ce-stage__tag:empty { display: none; }

	/* The counter and the caption sit on the foot of the photo; the buttons beside them. */
	.ce-stage__text { grid-area: frame; align-self: end; justify-self: start; z-index: 2; min-height: 0; max-width: min(64%, 44em); padding: 0 0 1.5rem 1.75rem; text-align: left; pointer-events: none; }
	.ce-stage__num { display: block; margin: 0 0 0.4rem; font: 800 2.1rem/1 var(--ce-font-heading); font-variant-numeric: tabular-nums; color: var(--ce-text-muted); }
	.ce-stage__num b { color: var(--ce-gold); }
	.ce-stage__num span { font-size: 0.6em; font-weight: 600; }
	.ce-stage__kicker { display: none; }
	.ce-stage__caption { color: #fff; font-size: 1.05rem; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.7); }
	.ce-stage__prev,
	.ce-stage__play,
	.ce-stage__next { grid-area: frame; align-self: end; justify-self: end; z-index: 2; margin: 0 1.5rem 1.4rem 0; }
	.ce-stage__play { margin-right: calc(1.5rem + 56px); }
	.ce-stage__prev { margin-right: calc(1.5rem + 112px); }

	.ce-stage__strip { gap: 8px; padding: 12px 2px 2px; }
	.ce-stage__thumb { width: 60px; height: 60px; border-radius: 8px; }
	.ce-stage .ce-stage__thumb[aria-selected="true"] { width: 106px; }
}

@keyframes ce-stage-drift {
	from { transform: scale(1.05); }
	to { transform: scale(1); }
}

@media (min-width: 1100px) {
	.ce-stage.has-chapters[open] {
		grid-template-columns: minmax(0, 1fr) 300px;
		grid-template-areas:
			"bar bar"
			"frame prog"
			"strip prog";
	}
	.ce-stage.has-chapters .ce-stage__prog { display: block; grid-area: prog; min-height: 0; overflow-y: auto; scrollbar-width: none; }
	.ce-stage__prog-label { margin: 0 0 10px; color: var(--ce-text-faint); font: 700 0.68rem var(--ce-font-heading); letter-spacing: 0.18em; text-transform: uppercase; }
	.ce-stage__prog ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
	.ce-stage__chapter {
		display: grid;
		grid-template-columns: 64px minmax(0, 1fr);
		align-items: center;
		gap: 0.8rem;
		width: 100%;
		padding: 8px;
		border-radius: 12px;
		border: 1px solid rgba(255, 255, 255, 0.1);
		background: rgba(255, 255, 255, 0.03);
		color: #fff;
		text-align: left;
		cursor: pointer;
		transition: border-color 0.3s ease, background-color 0.3s ease;
	}
	.ce-stage__chapter img { display: block; width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
	.ce-stage__chapter b { display: block; font: 700 0.9rem var(--ce-font-heading); letter-spacing: 0.02em; }
	.ce-stage__chapter small { color: var(--ce-text-faint); font: 500 0.78rem var(--ce-font-body); }
	.ce-stage .ce-stage__chapter:hover,
	.ce-stage .ce-stage__chapter:focus { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 215, 0, 0.6); color: #fff; }
	.ce-stage .ce-stage__chapter:focus-visible { outline: 2px solid var(--ce-gold); outline-offset: 2px; }
	.ce-stage .ce-stage__chapter[aria-pressed="true"] { border-color: var(--ce-gold); background: linear-gradient(90deg, rgba(255, 215, 0, 0.14), rgba(255, 215, 0, 0)); }
	.ce-stage .ce-stage__chapter[aria-pressed="true"] b { color: var(--ce-gold); }
}

/* A phone's address bar comes and goes: where the browser knows the height
   that is really free, the Stage uses it. */
@supports (height: 100dvh) {
	.ce-stage { height: 100dvh; }
}

@media (prefers-reduced-motion: reduce) {
	.ce-album__panel,
	.ce-album__cover,
	.ce-album__open,
	.ce-album__panel.is-open .ce-album__open,
	.ce-album__tile,
	.ce-album__cap,
	.ce-stage__img,
	.ce-stage__thumb,
	.ce-stage__glow { transition: none; }
	.ce-album__panel.is-open .ce-album__cover,
	.ce-album__tile:hover { transform: none; }
	.ce-stage__img.is-on { animation: none; }
	.ce-stage__strip { scroll-behavior: auto; }
}
