/*
 * The Remote 2.0: form and function. Layered after theremote.css; nothing from 1.x is removed.
 *
 *  1. Tokens: easing, shadows, the <kbd> chip
 *  2. The compact header (under 900px) and the nav strip
 *  3. The menu sheet
 *  4. The Dial (command palette)
 *  5. The Rail (story companion column, from 1180px) and "min left"
 *  6. The Queue: posters, tools, the shared-lineup banner
 *  7. Material and motion: view transitions, spotlight, press feedback, sheen
 *  8. Reduced motion, print
 */

/* ---------- 1. Tokens ---------- */
:root {
	--ease-out: cubic-bezier(.2, .7, .2, 1);
	--ease-spring: cubic-bezier(.34, 1.3, .64, 1);
	--ease-in-out: cubic-bezier(.65, 0, .35, 1);
	--shadow-1: 0 1px 2px rgba(10, 15, 34, .06), 0 8px 24px -12px rgba(10, 15, 34, .18);
	--shadow-2: 0 2px 6px rgba(10, 15, 34, .08), 0 24px 60px -20px rgba(10, 15, 34, .35);
	--glass: color-mix(in srgb, var(--bg) 86%, transparent);
	--spot: rgba(212, 43, 28, .07);
}
html[data-theme="dark"] {
	--shadow-1: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -12px rgba(0, 0, 0, .6);
	--shadow-2: 0 2px 6px rgba(0, 0, 0, .35), 0 24px 60px -20px rgba(0, 0, 0, .8);
	--spot: rgba(255, 122, 110, .08);
}

.rmt-kbd {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	border-radius: 5px;
	border: 1px solid var(--rule);
	border-bottom-width: 2px;
	background: var(--paper);
	color: var(--muted);
	font-family: var(--mono);
	font-size: 10.5px;
	letter-spacing: .04em;
	line-height: 1;
	white-space: nowrap;
}
.rmt-hsearch__kbd { margin-left: 2px; }
/* The Ask pill keeps its popover; the slash now belongs to the Dial, so its old hint goes. */
html.js .rmt-atr-kbd { display: none; }
@media (hover: none) { .rmt-hsearch__kbd { display: none; } }

/* ---------- 2. The compact header ---------- */
.rmt-cbar { display: none; }
.rmt-cbar__actions { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.rmt-cbar__btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 44px;
	height: 44px;
	padding: 0 10px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--ink);
	font-size: 13px;
	font-weight: 600;
	transition: background-color .2s var(--ease-out);
}
.rmt-cbar__btn:hover { background: var(--chip); color: var(--ink); }
.rmt-cbar__count { position: absolute; top: 2px; right: 2px; min-width: 16px; height: 16px; line-height: 16px; padding: 0 4px; font-size: 10px; background: var(--red); color: #fff; }
.rmt-cbar__count:empty, .rmt-cbar__count[data-zero] { display: none; }
.rmt-cbar__menu { padding-right: 14px; }
.rmt-cbar__clock { margin: 0; display: inline-flex; align-items: center; gap: 10px; font-size: 11.5px; color: var(--muted); min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.rmt-cbar__sep { width: 1px; height: 12px; background: var(--rule); flex: none; }
.rmt-cbar__home { color: var(--ink); display: inline-flex; min-width: 0; }
.rmt-cbar__home:hover { color: var(--ink); }
.rmt-logo--cbar { gap: 5px; }
.rmt-logo--cbar .rmt-logo__word { font-size: 26px; line-height: 1; letter-spacing: -.03em; }
.rmt-logo--cbar .rmt-logo__dot { width: 7px; height: 7px; margin-top: 3px; }

/* The burger: two lines that become an X on the open sheet. */
.rmt-burger { position: relative; width: 18px; height: 14px; display: inline-block; flex: none; }
.rmt-burger i { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease-out), top .3s var(--ease-out); }
.rmt-burger i:first-child { top: 1px; }
.rmt-burger i:last-child { top: 11px; }
[aria-expanded="true"] .rmt-burger i:first-child { top: 6px; transform: rotate(45deg); }
[aria-expanded="true"] .rmt-burger i:last-child { top: 6px; transform: rotate(-45deg); }

@media (max-width: 899.98px) {
	/* Without JavaScript the sheet and the Dial cannot open, so the 1.x utility row stays. */
	html.js .rmt-utility { display: none; }
	html.no-js .rmt-cbar { display: none; }
	.rmt-cbar {
		display: flex;
		align-items: center;
		gap: 12px;
		min-height: 56px;
		padding-top: 4px;
		padding-bottom: 4px;
	}
	/* Homepage: the big wordmark stays (it is the brand moment) but sits closer and smaller. */
	.rmt-masthead { padding-top: 10px; }
	.rmt-logo--masthead .rmt-logo__word { font-size: clamp(48px, 15vw, 96px); }
	.rmt-masthead__tagline { margin-top: 10px; font-size: 10.5px; letter-spacing: .24em; }
	/* Inner pages: the compact bar already carries the wordmark, so the masthead is just the nav. */
	.rmt-masthead--compact { padding-top: 0; }
	.rmt-masthead--compact .rmt-masthead__home,
	.rmt-masthead--compact .rmt-masthead__tagline { display: none; }
	.rmt-masthead--compact .rmt-nav { margin-top: 0; border-top-width: 1px; }
	/* The section nav: one row that scrolls, bleeding to the screen edge, with a fade on the right. */
	.rmt-nav { margin-top: 18px; }
	.rmt-masthead .rmt-nav {
		margin-inline: calc(-1 * var(--gutter));
		padding-inline: var(--gutter);
		mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent);
		-webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent);
	}
	.rmt-masthead .rmt-nav__list {
		flex-wrap: nowrap;
		justify-content: flex-start;
		overflow-x: auto;
		scrollbar-width: none;
		gap: 0 22px;
		padding: 2px 40px 2px 0;
		scroll-snap-type: x proximity;
		-webkit-overflow-scrolling: touch;
	}
	.rmt-masthead .rmt-nav__list::-webkit-scrollbar { display: none; }
	.rmt-masthead .rmt-nav__list li { flex: none; scroll-snap-align: start; }
	.rmt-masthead .rmt-nav__list a { min-height: 42px; white-space: nowrap; }
	.rmt-topbar__menu { display: grid; }
	.rmt-strip__scroller { padding-top: 10px; }
}
@media (max-width: 419.98px) {
	/* Icon only, so the clock keeps its room. */
	.rmt-cbar__menu > span:not(.rmt-burger) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.rmt-cbar__menu { padding-right: 10px; }
	.rmt-cbar__clock { font-size: 11px; }
}
@media (min-width: 900px) { .rmt-topbar__menu { display: none; } }

/* ---------- 3. The menu sheet ---------- */
.rmt-sheet { position: fixed; inset: 0; top: var(--wp-admin--admin-bar--height, 0px); z-index: 60; display: flex; justify-content: flex-end; }
.rmt-sheet__scrim { position: absolute; inset: 0; border: 0; padding: 0; background: rgba(10, 15, 34, .5); cursor: default; opacity: 0; transition: opacity .3s ease; }
.rmt-sheet__panel {
	position: relative;
	width: min(440px, 100%);
	height: 100%;
	background: var(--bg);
	color: var(--ink);
	box-shadow: var(--shadow-2);
	display: flex;
	flex-direction: column;
	transform: translateX(24px);
	opacity: 0;
	transition: transform .38s var(--ease-out), opacity .28s ease;
}
.rmt-sheet.is-on .rmt-sheet__scrim { opacity: 1; }
.rmt-sheet.is-on .rmt-sheet__panel { transform: none; opacity: 1; }
.rmt-sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px 12px 24px; border-bottom: 1px solid var(--rule); min-height: 64px; }
.rmt-sheet__home { color: var(--ink); display: inline-flex; }
.rmt-sheet__home:hover { color: var(--ink); }
.rmt-logo--sheet .rmt-logo__word { font-size: 30px; line-height: 1; letter-spacing: -.03em; }
.rmt-logo--sheet .rmt-logo__dot { width: 8px; height: 8px; margin-top: 3px; }
.rmt-logo--sheet { gap: 6px; }
.rmt-sheet__close { border-color: transparent; }
.rmt-sheet__close:hover { border-color: var(--ink); }
.rmt-sheet__body { flex: 1 1 auto; overflow-y: auto; padding: 8px 24px 40px; overscroll-behavior: contain; }
.rmt-sheet__clock { margin: 12px 0 16px; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 11.5px; color: var(--muted); }
.rmt-sheet__dial {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	min-height: 52px;
	padding: 0 16px;
	border-radius: 12px;
	border: 1px solid var(--rule);
	background: var(--paper);
	color: var(--muted);
	font-size: 14px;
	text-align: left;
	transition: border-color .2s, box-shadow .2s;
}
.rmt-sheet__dial:hover { border-color: var(--ink); color: var(--ink); box-shadow: var(--shadow-1); }
.rmt-sheet__dial .rmt-icon { color: var(--red); }
.rmt-sheet__label { margin: 28px 0 10px; }
.rmt-sheet__nav .rmt-nav__list { flex-direction: column; align-items: stretch; gap: 0; font-size: 26px; font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; padding: 0; }
.rmt-sheet__nav .rmt-nav__list li { border-bottom: 1px solid var(--rule); }
.rmt-sheet__nav .rmt-nav__list a { min-height: 56px; padding: 0; justify-content: space-between; }
.rmt-sheet__nav .rmt-nav__list a::after { content: "→"; font-family: var(--sans); font-size: 16px; color: var(--muted); opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .25s var(--ease-out); }
.rmt-sheet__nav .rmt-nav__list a:hover::after { opacity: 1; transform: none; }
.rmt-sheet__nav .rmt-nav__guide > a, .rmt-sheet__nav .rmt-nav__list .rmt-nav__guide a, .rmt-sheet__nav .current-menu-item > a { color: var(--red-text); }
.rmt-sheet__dir { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rmt-sheet__dir a { display: flex; flex-direction: column; gap: 2px; min-height: 56px; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--rule); background: var(--paper); font-weight: 600; font-size: 14px; justify-content: center; transition: border-color .2s, transform .25s var(--ease-out); }
.rmt-sheet__dir a:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-1px); }
.rmt-sheet__dir small { font-weight: 400; font-size: 12px; color: var(--muted); }
.rmt-sheet__dir li:first-child a { grid-column: 1 / -1; border-color: var(--red); color: var(--red-text); }
.rmt-sheet__tools { display: flex; flex-wrap: wrap; gap: 8px; }
.rmt-sheet__region { padding-right: 12px; }
.rmt-sheet__sub { margin-top: 20px; width: 100%; min-height: 52px; }
body.rmt-lock-sheet { overflow: hidden; }

/* ---------- 4. The Dial ---------- */
.rmt-dial { position: fixed; inset: 0; top: var(--wp-admin--admin-bar--height, 0px); z-index: 70; display: flex; justify-content: center; align-items: flex-start; padding: 12vh var(--gutter) 24px; }
.rmt-dial__scrim { position: absolute; inset: 0; border: 0; padding: 0; background: rgba(10, 15, 34, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); cursor: default; opacity: 0; transition: opacity .25s ease; }
.rmt-dial__panel {
	position: relative;
	width: min(720px, 100%);
	max-height: min(640px, 80vh);
	display: flex;
	flex-direction: column;
	background: var(--bg);
	color: var(--ink);
	border: 1px solid var(--rule);
	border-radius: 16px;
	box-shadow: var(--shadow-2), 0 0 0 1px rgba(10, 15, 34, .04);
	overflow: hidden;
	transform: translateY(-10px) scale(.985);
	opacity: 0;
	transition: transform .28s var(--ease-out), opacity .2s ease;
}
.rmt-dial.is-on .rmt-dial__scrim { opacity: 1; }
.rmt-dial.is-on .rmt-dial__panel { transform: none; opacity: 1; }
.rmt-dial__form { position: relative; display: flex; align-items: center; gap: 12px; padding: 0 18px; min-height: 64px; border-bottom: 1px solid var(--rule); }
.rmt-dial__glyph { color: var(--red); display: inline-flex; flex: none; }
.rmt-dial__input {
	flex: 1 1 auto;
	min-width: 0;
	height: 64px;
	border: 0;
	background: transparent;
	color: var(--ink);
	font-size: 19px;
	font-weight: 500;
	outline: none;
	-webkit-appearance: none;
	appearance: none;
}
.rmt-dial__input:focus, .rmt-dial__input:focus-visible { outline: none; box-shadow: none; }
.rmt-dial__input::placeholder { color: var(--muted); font-weight: 400; }
.rmt-dial__input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.rmt-dial__spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--rule); border-top-color: var(--red); opacity: 0; flex: none; transition: opacity .2s; }
.rmt-dial.is-busy .rmt-dial__spin { opacity: 1; animation: rmtSpin .8s linear infinite; }
@keyframes rmtSpin { to { transform: rotate(360deg); } }
.rmt-dial__close { flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 32px; border: 0; background: transparent; color: var(--muted); border-radius: 50%; padding: 0; }
.rmt-dial__close:hover { color: var(--ink); background: var(--chip); }
.rmt-dial__x { display: none; }
@media (max-width: 600px) { .rmt-dial__esc { display: none; } .rmt-dial__x { display: inline-flex; } .rmt-dial__close { width: 40px; height: 40px; } }
.rmt-dial__results { flex: 1 1 auto; overflow-y: auto; padding: 8px; overscroll-behavior: contain; scrollbar-width: thin; }
.rmt-dial__group + .rmt-dial__group { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--rule); }
.rmt-dial__h { margin: 8px 12px 6px; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.rmt-dial__row {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px;
	padding: 8px 12px;
	border-radius: 10px;
	color: var(--ink);
	min-height: 56px;
	cursor: pointer;
	transition: background-color .15s;
}
.rmt-dial__row:hover, .rmt-dial__row[aria-selected="true"] { background: var(--chip); color: var(--ink); }
.rmt-dial__row[aria-selected="true"] .rmt-dial__arrow { opacity: 1; transform: none; }
.rmt-dial__thumb { width: 44px; height: 44px; border-radius: 8px; overflow: hidden; background: var(--media-bg); display: grid; place-items: center; color: var(--muted); font-family: var(--mono); font-size: 11px; flex: none; }
.rmt-dial__thumb img { width: 100%; height: 100%; object-fit: cover; }
.rmt-dial__thumb--poster { width: 36px; height: 54px; border-radius: 4px; margin-inline: 4px; }
.rmt-dial__thumb--person { border-radius: 50%; }
.rmt-dial__thumb--story { width: 56px; height: 38px; border-radius: 5px; }
.rmt-dial__row--story { grid-template-columns: 56px minmax(0, 1fr) auto; }
.rmt-dial__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); justify-self: center; }
.rmt-dial__text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rmt-dial__title { font-weight: 600; font-size: 15px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.rmt-dial__title mark { background: transparent; color: var(--red-text); font-weight: 700; }
.rmt-dial__meta { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rmt-dial__arrow { font-family: var(--mono); font-size: 12px; color: var(--muted); opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s var(--ease-out); }
.rmt-dial__row--ask { background: var(--band); color: var(--band-ink); margin-top: 6px; }
.rmt-dial__row--ask:hover, .rmt-dial__row--ask[aria-selected="true"] { background: var(--midnight); color: var(--band-ink); box-shadow: inset 0 0 0 2px var(--red); }
.rmt-dial__row--ask .rmt-dial__meta, .rmt-dial__row--ask .rmt-dial__arrow { color: rgba(245, 241, 232, .7); }
.rmt-dial__row--ask .rmt-dial__thumb { background: var(--red); color: #fff; border-radius: 50%; width: 36px; height: 36px; justify-self: center; }
.rmt-dial__empty { margin: 0; padding: 18px 12px 10px; color: var(--muted); font-size: 14px; }
.rmt-dial__foot { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 10px 18px; border-top: 1px solid var(--rule); font-size: 11px; color: var(--muted); background: var(--paper); }
.rmt-dial__foot span { display: inline-flex; align-items: center; gap: 6px; }
body.rmt-lock-dial { overflow: hidden; }
@media (max-width: 600px) {
	.rmt-dial { padding: 0; align-items: stretch; }
	.rmt-dial__panel { width: 100%; max-height: none; border-radius: 0; border: 0; }
	.rmt-dial__input { font-size: 17px; height: 60px; }
	.rmt-dial__form { min-height: 60px; padding-inline: 14px; }
	.rmt-dial__foot { display: none; }
}

/* ---------- 5. The Rail ---------- */
.rmt-article__cols { display: block; }
.rmt-rail-side { display: none; }
@media (min-width: 1180px) {
	body.rmt-has-rail .rmt-article__cols {
		max-width: var(--rmt-wrap, 1280px);
		margin-inline: auto;
		padding-inline: var(--gutter);
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
		column-gap: clamp(32px, 4vw, 72px);
		align-items: start;
	}
	body.rmt-has-rail .rmt-article__cols > .rmt-article__body { margin-inline: auto; width: 100%; max-width: calc(var(--measure) + 2 * var(--gutter)); }
	.rmt-rail-side { display: block; position: sticky; top: 84px; margin-top: 40px; }
	.rmt-rail-side__in { max-height: calc(100vh - 108px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--rule) transparent; padding-right: 2px; padding-bottom: 12px; }
	html:not(.rmt-topbar-on) .rmt-rail-side { top: 32px; }
}
/* Wider screens: the body returns to the centre of the page and the rail takes the right margin. */
@media (min-width: 1440px) {
	body.rmt-has-rail .rmt-article__cols { grid-template-columns: 1fr minmax(0, calc(var(--measure) + 2 * var(--gutter))) 1fr; column-gap: 0; }
	body.rmt-has-rail .rmt-article__cols > .rmt-article__body { grid-column: 2; }
	body.rmt-has-rail .rmt-rail-side { grid-column: 3; justify-self: end; width: min(100%, 320px); padding-left: 32px; }
}
.rmt-rside { padding: 18px 0; border-top: 1px solid var(--rule); }
.rmt-rside:first-child { border-top: 3px solid var(--ink); }
.rmt-rside__label { margin: 0 0 12px; font-size: 11px; }
.rmt-rtitle { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; padding: 6px 0 14px; }
.rmt-rtitle + .rmt-rtitle { border-top: 1px dashed var(--rule); padding-top: 14px; }
.rmt-rtitle__poster { display: block; aspect-ratio: 2 / 3; border-radius: 4px; overflow: hidden; background: var(--media-bg); box-shadow: var(--shadow-1); }
.rmt-rtitle__poster img, .rmt-rtitle__poster .rmt-poster__fallback { width: 100%; height: 100%; object-fit: cover; }
.rmt-rtitle__title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 19px; line-height: 1.15; letter-spacing: -.01em; }
.rmt-rtitle__meta { margin: 4px 0 0; font-size: 10.5px; color: var(--muted); }
.rmt-rtitle__wlabel { margin: 10px 0 6px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--red-text); }
.rmt-rtitle__wlabel[hidden] { display: none; }
.rmt-rtitle__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.rmt-rchip { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 0 10px; border-radius: 999px; background: var(--chip); font-size: 12px; font-weight: 600; color: var(--ink); }
.rmt-rchip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.rmt-rchip--broadcast::before, .rmt-rchip--tv::before { background: var(--midnight); }
html[data-theme="dark"] .rmt-rchip--broadcast::before, html[data-theme="dark"] .rmt-rchip--tv::before { background: var(--band-ink); }
.rmt-rchip--rent::before, .rmt-rchip--buy::before { background: var(--muted); }
.rmt-rchip--home::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--red); }
.rmt-rchip--none { color: var(--muted); font-weight: 500; }
.rmt-rchip--none::before { display: none; }
.rmt-rtitle__q { margin-top: 10px; min-height: 36px; font-size: 12px; }
.rmt-toc { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.rmt-toc li { counter-increment: toc; }
.rmt-toc a { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; padding: 7px 0; font-size: 14px; line-height: 1.35; color: var(--muted); transition: color .2s; }
.rmt-toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; color: var(--muted); padding-top: 3px; }
.rmt-toc a:hover { color: var(--ink); }
.rmt-toc li.is-current a { color: var(--ink); font-weight: 600; }
.rmt-toc li.is-current a::before { color: var(--red-text); }
.rmt-rshare { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--rule); background: transparent; color: var(--ink); font-size: 13px; font-weight: 600; transition: border-color .2s; }
.rmt-rshare:hover { border-color: var(--ink); }
.rmt-rnext { display: grid; gap: 8px; color: var(--ink); }
.rmt-rnext:hover { color: var(--ink); }
.rmt-rnext__media { aspect-ratio: 3 / 2; border-radius: 6px; overflow: hidden; }
.rmt-rnext__title { font-family: var(--serif); font-size: 20px; line-height: 1.15; letter-spacing: -.01em; transition: color .2s; }
.rmt-rnext:hover .rmt-rnext__title { color: var(--red-text); }
.rmt-rnext__meta { font-size: 12px; color: var(--muted); }
.rmt-rnext .rmt-kicker { margin-top: 4px; }

/* "4 min left" beside the topbar nav on stories. */
.rmt-topbar__left { flex: none; font-size: 11px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; padding: 0 6px; }
.rmt-topbar__left[hidden] { display: none; }
@media (max-width: 899.98px) { .rmt-topbar__left { display: none; } }

/* ---------- 6. The Queue ---------- */
.rmt-qitem__thumb { width: 44px; height: 60px; border-radius: 4px; overflow: hidden; background: var(--media-bg); flex: none; display: grid; place-items: center; box-shadow: var(--shadow-1); }
.rmt-qitem__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rmt-qitem__thumb--story { height: 44px; width: 64px; }
.rmt-qitem__thumb svg { color: var(--muted); }
.rmt-qitem { animation: rmtQIn .35s var(--ease-out) both; }
@keyframes rmtQIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.rmt-drawer__tools { display: flex; gap: 8px; padding: 12px 24px 0; }
.rmt-drawer__tools[hidden] { display: none; }
.rmt-drawer__share { flex: 1 1 auto; justify-content: center; }
.rmt-drawer__clear { color: var(--muted); }
.rmt-drawer:not([hidden]) .rmt-drawer__panel { animation: rmtDrawerIn .36s var(--ease-out) both; }
.rmt-drawer:not([hidden]) .rmt-drawer__scrim { animation: rmtFadeIn .3s ease both; }
@keyframes rmtDrawerIn { from { transform: translateX(16px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes rmtFadeIn { from { opacity: 0; } to { opacity: 1; } }
.rmt-count.is-bump { animation: rmtBump .45s var(--ease-spring); }
@keyframes rmtBump { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }

/* The shared-lineup banner */
.rmt-lineup {
	position: fixed;
	left: 50%;
	bottom: 20px;
	z-index: 45;
	transform: translate(-50%, 12px);
	opacity: 0;
	width: min(560px, calc(100% - 32px));
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 10px 16px;
	align-items: center;
	padding: 14px 16px;
	border-radius: 14px;
	background: var(--band);
	color: var(--band-ink);
	box-shadow: var(--shadow-2);
	transition: transform .4s var(--ease-out), opacity .3s ease;
}
.rmt-lineup.is-on { transform: translate(-50%, 0); opacity: 1; }
.rmt-lineup[hidden] { display: none; }
.rmt-lineup__posters { display: flex; }
.rmt-lineup__posters img, .rmt-lineup__posters span { width: 32px; height: 46px; border-radius: 3px; object-fit: cover; background: var(--still); box-shadow: 0 0 0 2px var(--band); margin-left: -10px; display: block; }
.rmt-lineup__posters > :first-child { margin-left: 0; }
.rmt-lineup__text { margin: 0; font-size: 14px; line-height: 1.35; }
.rmt-lineup__actions { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; }
.rmt-lineup .rmt-pill { color: var(--band-ink); border-color: rgba(245, 241, 232, .3); }
.rmt-lineup .rmt-pill:hover { border-color: var(--band-ink); color: var(--band-ink); }
.rmt-lineup--toast { grid-template-columns: 1fr; width: auto; max-width: calc(100% - 32px); padding: 12px 20px; text-align: center; }
@media (max-width: 600px) { .rmt-lineup { bottom: 12px; } body.rmt-has-remote .rmt-lineup { bottom: 88px; } }

/* ---------- 7. Material and motion ---------- */
/* Page to page: a short cross-fade, and the story still flies from the card into the hero where the browser can. */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: rmtVtOut .22s ease both; }
::view-transition-new(root) { animation: rmtVtIn .3s var(--ease-out) both; }
@keyframes rmtVtOut { to { opacity: 0; } }
@keyframes rmtVtIn { from { opacity: 0; } }
::view-transition-group(rmt-hero) { animation-duration: .5s; animation-timing-function: var(--ease-out); }
::view-transition-old(rmt-hero), ::view-transition-new(rmt-hero) { animation: none; mix-blend-mode: normal; height: 100%; object-fit: cover; overflow: hidden; }
.rmt-hero--image .rmt-hero__img { view-transition-name: rmt-hero; }

/* Spotlight: a soft red glow follows the pointer over story stills (pointer devices only). */
@media (hover: hover) and (pointer: fine) {
	.rmt-card__media::before, .rmt-river__thumb::before {
		content: "";
		position: absolute;
		inset: 0;
		pointer-events: none;
		border-radius: inherit;
		opacity: 0;
		background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), var(--spot), transparent 60%);
		transition: opacity .35s ease;
		z-index: 2;
	}
	.rmt-card:hover .rmt-card__media::before, .rmt-river__item:hover .rmt-river__thumb::before { opacity: 1; }
	/* Poster sheen: a thin light sweeps across on hover. */
	.rmt-poster:not(.rmt-poster--trailer) .rmt-poster__media::after {
		content: "";
		position: absolute;
		inset: -40% -60%;
		pointer-events: none;
		z-index: 3;
		background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, .2) 50%, transparent 58%);
		transform: translateX(-60%);
		opacity: 0;
		transition: transform .9s var(--ease-out), opacity .3s ease;
	}
	.rmt-poster:not(.rmt-poster--trailer):hover .rmt-poster__media::after { transform: translateX(60%); opacity: 1; }
}
/* Press feedback */
.rmt-pill, .rmt-btn, .rmt-qbtn, .rmt-chbtn, .rmt-iconbtn, .rmt-topbar__icon, .rmt-cbar__btn, .rmt-opt, .rmt-seg__btn, .rmt-rshare { transition-property: background-color, color, border-color, transform, box-shadow; transition-duration: .2s; transition-timing-function: var(--ease-out); }
.rmt-pill:active, .rmt-btn:active, .rmt-qbtn:active, .rmt-chbtn:active, .rmt-iconbtn:active, .rmt-topbar__icon:active, .rmt-cbar__btn:active, .rmt-opt:active, .rmt-seg__btn:active, .rmt-rshare:active { transform: scale(.97); }
/* The red button glows a little on hover. */
.rmt-btn--red:hover, .rmt-pill--red:hover, .rmt-qbtn--red:hover { box-shadow: 0 6px 20px -8px rgba(212, 43, 28, .6); }
/* Cards lift with a shadow, not just a translate. */
.rmt-card.rmt-lift:hover, .rmt-lift:hover { box-shadow: var(--shadow-1); }
/* Links in prose: an underline that thickens. */
.rmt-prose a:not(.rmt-btn):not(.rmt-qbtn) { text-decoration-thickness: 1px; text-underline-offset: 3px; transition: text-decoration-color .2s, text-decoration-thickness .2s; }
.rmt-prose a:not(.rmt-btn):not(.rmt-qbtn):hover { text-decoration-thickness: 2px; }
/* Section numerals brighten as their section arrives. */
html.rmt-reveal .rmt-section.is-in .rmt-sechead__num { transition: color .6s ease .2s; }
/* The topbar gains a hairline shadow once it is on. */
.rmt-topbar.is-on { box-shadow: 0 1px 0 var(--rule), 0 10px 30px -18px rgba(10, 15, 34, .35); }
/* Selection colour */
::selection { background: var(--red); color: #fff; }
/* Smoother image appearance */
.rmt-media.is-loaded > .rmt-img, .rmt-media.is-loaded > a > .rmt-img { animation: rmtImgIn .5s ease both; }
@keyframes rmtImgIn { from { opacity: .001; } to { opacity: 1; } }

/* ---------- 8. Reduced motion, print ---------- */
@media (prefers-reduced-motion: reduce) {
	@view-transition { navigation: none; }
	.rmt-sheet__panel, .rmt-sheet__scrim, .rmt-dial__panel, .rmt-dial__scrim, .rmt-drawer__panel, .rmt-drawer__scrim, .rmt-lineup, .rmt-burger i, .rmt-dial__arrow { transition: none; }
	.rmt-qitem, .rmt-count.is-bump, .rmt-drawer:not([hidden]) .rmt-drawer__panel, .rmt-drawer:not([hidden]) .rmt-drawer__scrim, .rmt-media.is-loaded > .rmt-img, .rmt-media.is-loaded > a > .rmt-img, .rmt-dial.is-busy .rmt-dial__spin { animation: none; }
	.rmt-poster:not(.rmt-poster--trailer) .rmt-poster__media::after, .rmt-card__media::before, .rmt-river__thumb::before { display: none; }
	.rmt-pill:active, .rmt-btn:active, .rmt-qbtn:active, .rmt-chbtn:active, .rmt-iconbtn:active, .rmt-topbar__icon:active, .rmt-cbar__btn:active, .rmt-rshare:active { transform: none; }
}
@media print {
	.rmt-cbar, .rmt-sheet, .rmt-dial, .rmt-rail-side, .rmt-lineup, .rmt-topbar { display: none !important; }
	body.rmt-has-rail .rmt-article__cols { display: block; }
}

/* =====================================================================
   2.1.0: The Desks (one tabbed channel), Dial upgrades, People in the news, the drop cap
   ===================================================================== */

/* ---------- The Desks ---------- */
.rmt-desks__tabs { margin-top: 22px; flex-wrap: nowrap; max-width: 100%; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.rmt-desks__tabs::-webkit-scrollbar { display: none; }
.rmt-desks__tab { white-space: nowrap; }
.rmt-desks__n { margin-left: 7px; font-size: 10px; letter-spacing: .04em; opacity: .55; }
.rmt-desks__tabs .rmt-seg__btn[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.rmt-desks__tabs .rmt-seg__btn { transition: background-color .25s var(--ease-out), color .25s var(--ease-out); }
.rmt-seg__btn[aria-selected="true"] .rmt-desks__n { opacity: .75; }
.rmt-desks__line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 20px; flex-wrap: wrap; margin-top: 26px; }
.rmt-desks__tag { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2.3vw, 30px); line-height: 1.1; letter-spacing: -.015em; }
.rmt-desks__panel .rmt-rail__row { margin-top: 18px; }
@keyframes rmtPanelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.rmt-desks__panel.is-in .rmt-rail__row, .rmt-desks__panel.is-in .rmt-desks__line { animation: rmtPanelIn .45s var(--ease-out) both; }
.rmt-desks__panel.is-in .rmt-rail__row { animation-delay: .05s; }
@media (max-width: 600px) {
	.rmt-desks__tabs { margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); border-radius: 0; border-left: 0; border-right: 0; }
	.rmt-desks__n { display: none; }
}

/* ---------- The Dial: Queue on title rows, recent searches ---------- */
.rmt-dial__row--has-q { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; padding: 0 12px 0 0; gap: 0; }
.rmt-dial__link { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: center; min-height: 56px; padding: 8px 12px; color: inherit; min-width: 0; }
.rmt-dial__link:hover { color: inherit; }
.rmt-dial__q { min-height: 32px; padding: 0 12px; font-size: 12px; margin-right: 10px; flex: none; }
.rmt-dial__q[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.rmt-dial__row--recent { width: 100%; text-align: left; border: 0; background: transparent; font: inherit; }
.rmt-dial__dot--muted { background: var(--muted); }
.rmt-dial__clear { float: right; border: 0; background: none; color: var(--muted); font: inherit; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; padding: 0; }
.rmt-dial__clear:hover { color: var(--red-text); }
@media (max-width: 600px) { .rmt-dial__q { padding: 0 9px; margin-right: 6px; } }

/* ---------- People: in the news this week ---------- */
.rmt-pin { margin: 8px 0 36px; }
.rmt-pin__head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 20px; flex-wrap: wrap; margin-bottom: 14px; }
.rmt-pin__intro { margin: 0; color: var(--muted); font-size: 14px; }
.rmt-pin__row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(132px, 1fr); gap: 18px; overflow-x: auto; padding: 4px 0 10px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--rule) transparent; }
.rmt-pin__card { scroll-snap-align: start; }
.rmt-pin__card .rmt-personcard__img { box-shadow: var(--shadow-1); }
@media (max-width: 600px) { .rmt-pin__row { grid-auto-columns: 38%; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); } }

/* ---------- Stories: a serif drop cap on the opening paragraph ---------- */
body.rmt-has-rail .rmt-prose > p:first-child::first-letter {
	font-family: var(--serif);
	font-size: 3.9em;
	line-height: .78;
	float: left;
	padding: .1em .12em 0 0;
	color: var(--ink);
}
