/*
 * Complex Re-Rank: front end. Reader UI matches complex.com/rerank; hub cards follow the complex.me theme.
 * White pages, #111 ink, Neue Haas Unica (700/900, uppercase labels), Roboto Mono for small meta,
 * square corners, 1px #e7e7e7 boxes, solid black buttons. Theme presets are used when present.
 */

.crr-teaser,
.crr-hub,
.crr-jump-wrap {
	--crr-ink: var(--wp--preset--color--contrast, #111111);
	--crr-paper: var(--wp--preset--color--base, #ffffff);
	--crr-line: var(--wp--preset--color--border-subtle, #e7e7e7);
	--crr-mute: var(--wp--preset--color--subtle-contrast, #565656);
	--crr-wash: var(--wp--preset--color--accent-8, #f3f3f3);
	--crr-font: var(--wp--preset--font-family--neue-haas-unica, "Neue Haas Unica"), "Helvetica Neue", Helvetica, Arial, sans-serif;
	--crr-mono: var(--wp--preset--font-family--roboto-mono, "Roboto Mono"), ui-monospace, Menlo, monospace;
	--crr-ar: "CRR Cairo", Cairo, "Geeza Pro", Tahoma, sans-serif;
	font-family: var(--crr-font);
	color: var(--crr-ink);
	-webkit-font-smoothing: antialiased;
}
.crr-teaser [lang="ar"] {
	font-family: var(--crr-ar);
}

/* "MUSIC | RE-RANK" style kicker, like the theme's category | author line. */
.crr-kicker {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 10px;
	font-size: 14px;
	line-height: 1.4;
}
.crr-kicker strong {
	font-weight: 900;
	text-transform: uppercase;
}
.crr-kicker span {
	font-family: var(--crr-mono);
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}
.crr-kicker i {
	width: 1px;
	height: 14px;
	background: var(--crr-ink);
}


@font-face {
	font-family: "CRR Inter";
	src: url("fonts/inter-medium.woff2") format("woff2");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "CRR Inter";
	src: url("fonts/inter-semibold.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "CRR Inter";
	src: url("fonts/inter-bold.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "CRR Inter";
	src: url("fonts/inter-extrabold.woff2") format("woff2");
	font-weight: 800;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "CRR Inter";
	src: url("fonts/inter-black.woff2") format("woff2");
	font-weight: 900;
	font-style: normal;
	font-display: swap;
}

/* ==========================================================================
 * ReRank: matches complex.com/rerank (dark editor, big numerals, Add sheet,
 * item sheet, share-card carousel), embedded inside the article.
 * ======================================================================== */

.crr-teaser,
.crr-modal {
	--rr-bg: #000000;
	--rr-panel: #0d0d0d;
	--rr-row: #1a1a1a;
	--rr-sheet: #222222;
	--rr-white: #ffffff;
	--rr-dim: rgba(255, 255, 255, 0.5);
	--rr-faint: rgba(255, 255, 255, 0.3);
	--rr-hair: rgba(255, 255, 255, 0.1);
	--rr-red: #ef4444;
	--crr-font: "CRR Inter", Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
	--crr-ar: "CRR Cairo", Cairo, "Geeza Pro", Tahoma, sans-serif;
	font-family: var(--crr-font);
	-webkit-font-smoothing: antialiased;
}
.crr-teaser *,
.crr-teaser *::before,
.crr-teaser *::after,
.crr-modal *,
.crr-modal *::before,
.crr-modal *::after {
	box-sizing: border-box;
}
.crr-teaser [lang="ar"],
.crr-modal [lang="ar"] {
	font-family: var(--crr-ar);
}
.crr-teaser svg,
.crr-modal svg,
.crr-jump svg {
	display: block;
	flex: 0 0 auto;
}
.crr-teaser button,
.crr-modal button {
	font-family: inherit;
	-webkit-tap-highlight-color: transparent;
}

/* ---------- buttons ---------- */

.crr-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	height: 52px;
	padding: 0 20px;
	border: 0;
	border-radius: 8px;
	font: 700 15px/1 var(--crr-font);
	letter-spacing: 0.025em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: opacity 0.15s ease, background-color 0.15s ease;
}
.crr-btn:hover:not(:disabled) {
	opacity: 0.9;
}
.crr-btn--black {
	background: #000000;
	color: #ffffff;
}
.crr-btn--white {
	background: #ffffff;
	color: #000000;
	height: 48px;
}
.crr-btn--ghost {
	background: transparent;
	color: #ffffff;
	border: 1.5px solid rgba(255, 255, 255, 0.25);
	height: 46px;
}
.crr-btn--white:disabled {
	background: rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.3);
	cursor: not-allowed;
	opacity: 1;
}
.crr-btn:focus-visible,
.crr-iconbtn:focus-visible,
.crr-teaser button:focus-visible,
.crr-modal button:focus-visible,
.crr-jump:focus-visible,
.crr-track:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: 2px;
}
.crr-choice .crr-btn:focus-visible,
.crr-jump:focus-visible {
	outline-color: #000000;
}
.crr-iconbtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: none;
	color: #ffffff;
	cursor: pointer;
}

/* ---------- RE-RANK button under the article header ---------- */

.crr-jump-wrap {
	margin: 0 0 28px;
}
.crr-jump {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 36px;
	border-radius: 4px;
	background: #000000;
	color: #ffffff !important;
	font: 700 14px/1 var(--crr-font);
	letter-spacing: 0.03em;
	text-transform: uppercase;
	text-decoration: none !important;
}
.crr-jump:hover {
	opacity: 0.88;
}

/* ---------- teaser: "Think you know better?" chooser ---------- */

.crr-teaser {
	margin: 40px 0;
	background: var(--rr-bg);
	color: var(--rr-white);
	scroll-margin-top: 80px;
}
.crr-teaser__inner {
	padding: 30px 20px 28px;
}
.crr-teaser .crr-teaser__eyebrow {
	margin: 0 0 22px;
	color: rgba(255, 255, 255, 0.55);
	font: 700 13px/1.3 var(--crr-font);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-align: center;
}
.crr-teaser .crr-teaser__heading {
	margin: 0;
	color: #ffffff;
	font: 900 clamp(40px, 6vw, 56px)/0.95 var(--crr-font);
	letter-spacing: -0.02em;
	text-transform: uppercase;
}
.crr-teaser .crr-teaser__sub {
	margin: 10px 0 24px;
	color: rgba(255, 255, 255, 0.75);
	font-size: 16px;
	line-height: 1.4;
}
.crr-choice {
	padding: 20px;
	background: #ffffff;
	color: #000000;
	border-radius: 2px;
}
.crr-teaser .crr-choice .crr-choice__label {
	margin: 0 0 22px;
	font: 700 13px/1 var(--crr-font);
	letter-spacing: 0.02em;
	text-transform: uppercase;
}
.crr-choice__body {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	margin-bottom: 20px;
}
.crr-choice__copy {
	flex: 1 1 auto;
	min-width: 0;
}
.crr-teaser .crr-choice h3 {
	margin: 0 0 10px;
	color: #000000;
	font: 900 26px/0.98 var(--crr-font);
	letter-spacing: -0.045em;
	text-transform: uppercase;
}
.crr-teaser .crr-choice p {
	margin: 0;
	font-size: 14px;
	line-height: 1.4;
	color: #222222;
}
.crr-choice__art {
	flex: 0 0 104px;
	display: grid;
	gap: 4px;
}
.crr-choice__art span {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 22px;
	padding: 0 8px;
	background: #ebebef;
	border-radius: 2px;
	font: 900 11px/1 var(--crr-font);
	color: #333333;
}
.crr-choice__art i {
	display: block;
	width: 42px;
	height: 4px;
	border-radius: 2px;
	background: #b5b5bd;
}
.crr-choice__art span.is-top {
	background: #000000;
	color: #ffffff;
}
.crr-choice__art span.is-top i {
	width: 50px;
	background: var(--rr-red);
}
.crr-teaser .crr-teaser__count {
	margin: 14px 0 0;
	color: rgba(255, 255, 255, 0.55);
	font-size: 13px;
	text-align: center;
	min-height: 1em;
}
.crr-sponsor {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 12px 0 0;
	color: rgba(255, 255, 255, 0.55);
	font: 700 11px/1 var(--crr-font);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.crr-sponsor img {
	max-height: 26px;
	width: auto;
}
.crr-sponsor strong {
	color: #ffffff;
	font-size: 14px;
	letter-spacing: 0;
}
.crr-sponsor a {
	display: inline-flex;
	color: inherit;
}

/* ---------- RE-RANK in the article's action row (before SHARE, like complex.com) ---------- */

.crr-jump.crr-jump--row {
	order: -1;
	font-family: inherit;
	font-weight: 700;
	display: inline-flex;
	height: auto;
	min-height: 36px;
	padding: 8px 20px;
	border: 1px solid #000000;
	border-radius: 0;
	font-size: 14px;
	line-height: 1.2;
	white-space: nowrap;
}
.crr-jump-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

/* ---------- full-screen takeover over the article ---------- */

html.crr-takeover-open,
html.crr-takeover-open body {
	overflow: hidden;
}
.crr-teaser.crr-stage {
	position: fixed;
	inset: 0;
	z-index: 100000;
	margin: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	background: var(--rr-bg);
	color: #ffffff;
	animation: crr-in 0.22s ease both;
}

.crr-stage > * {
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
}
.crr-stage[data-screen="edit"] > .crr-ebar,
.crr-stage[data-screen="done"] > .crr-done,
.crr-stage[data-screen="choose"] > .crr-choose {
	max-width: none;
}
.crr-done > *:not(.crr-carousel):not(.crr-dbar) {
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
}
.crr-done > .crr-community {
	width: calc(100% - 40px);
	max-width: 720px;
	margin: 44px auto 0;
}

/* Chooser: "Think you know better?" */
.crr-choose {
	position: relative;
	min-height: 100%;
	padding: 70px 20px 40px;
}
.crr-backlink {
	position: absolute;
	top: 20px;
	left: 26px;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 8px;
	border: 0;
	background: none;
	color: #ffffff;
	font: 700 15px/1 var(--crr-font);
	letter-spacing: 0.02em;
	text-transform: uppercase;
	cursor: pointer;
}
.crr-choose .crr-teaser__eyebrow {
	position: absolute;
	top: 26px;
	left: 0;
	right: 0;
	margin: 0;
	padding: 0 160px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.crr-teaser .crr-choose__h {
	margin: 24px 0 0;
	color: #ffffff;
	font: 900 44px/0.95 var(--crr-font);
	letter-spacing: -0.03em;
	text-transform: uppercase;
	outline: none;
}
.crr-choose .crr-choice {
	max-width: 433px;
}
@media (max-width: 699px) {
	.crr-choose .crr-teaser__eyebrow {
		padding: 0 56px;
		font-size: 12px;
	}
	.crr-backlink span {
		display: none;
	}
}
@media (min-width: 700px) {
	.crr-choose {
		padding-top: 76px;
		text-align: center;
	}
	.crr-choose .crr-teaser__eyebrow {
		position: static;
		padding: 0;
		margin: 0 0 12px;
		font-size: 14px;
		letter-spacing: 0.1em;
	}
	.crr-teaser .crr-choose__h {
		margin-top: 0;
		font-size: clamp(48px, 5.6vw, 72px);
		letter-spacing: -0.035em;
	}
	.crr-choose .crr-teaser__sub {
		margin: 18px 0 50px;
		font-size: 18px;
	}
	.crr-choose .crr-choice {
		margin: 0 auto;
		padding: 27px;
		text-align: left;
	}
	.crr-choose .crr-choice h3 {
		font-size: 26px;
	}
	.crr-choose .crr-choice p {
		font-size: 16px;
		line-height: 1.3;
		color: #555555;
	}
	.crr-choose .crr-choice__label {
		margin-bottom: 30px;
	}
	.crr-choose .crr-choice__art {
		flex-basis: 116px;
	}
	.crr-choose .crr-choice__body {
		margin-bottom: 26px;
	}
}
@keyframes crr-in {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/* ---------- intro slides ---------- */

.crr-intro {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-height: 100vh;
	min-height: 100dvh;
	padding: 56px 24px 24px;
	text-align: center;
}
.crr-intro__x {
	position: absolute;
	top: 8px;
	left: 8px;
}
.crr-intro__slide {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
}
.crr-teaser .crr-intro__h {
	margin: 0;
	color: #ffffff;
	font: 900 34px/1 var(--crr-font);
	letter-spacing: -0.02em;
	text-transform: uppercase;
	outline: none;
}
.crr-teaser .crr-intro__h--big {
	font-size: 40px;
}
.crr-intro__demo {
	position: relative;
	width: 240px;
	height: 216px;
	margin: 34px 0 40px;
}
.crr-demo-row {
	position: absolute;
	left: 0;
	right: 0;
	display: flex;
	align-items: center;
	gap: 14px;
	height: 44px;
	padding: 0 16px;
	background: #1c1c1c;
	border-radius: 3px;
	animation: 4.8s ease-in-out infinite;
}
.crr-demo-row b {
	color: rgba(255, 255, 255, 0.75);
	font: 900 16px/1 var(--crr-font);
}
.crr-demo-row i {
	display: block;
	height: 8px;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.3);
}
/* "3" lifts out and drops into first place; the rest shuffle down. */
.crr-demo-row--0 {
	top: 0;
	z-index: 2;
	animation-name: crr-demo-a;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6);
}
.crr-demo-row--1 {
	top: 52px;
	animation-name: crr-demo-b;
}
.crr-demo-row--2 {
	top: 104px;
	animation-name: crr-demo-c;
}
.crr-demo-row--3 {
	top: 156px;
}
@keyframes crr-demo-a {
	0%, 20% { transform: translate(-4px, 0) scale(1.03); }
	45%, 70% { transform: translate(-4px, 104px) scale(1.03); }
	85%, 100% { transform: translate(-4px, 0) scale(1.03); }
}
@keyframes crr-demo-b {
	0%, 20% { transform: none; }
	45%, 70% { transform: translateY(-52px); }
	85%, 100% { transform: none; }
}
@keyframes crr-demo-c {
	0%, 20% { transform: none; }
	45%, 70% { transform: translateY(-52px); }
	85%, 100% { transform: none; }
}
.crr-intro__card {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 152px;
	aspect-ratio: 9 / 16;
	margin: 6px 0 44px;
	background: #111111;
}
.crr-intro__card img {
	width: 100%;
	height: 100%;
	display: block;
}
.crr-dots {
	display: flex;
	gap: 8px;
	margin: 28px 0 20px;
}
.crr-dots i {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.3);
}
.crr-dots i.is-on {
	background: #ffffff;
}
.crr-intro .crr-btn {
	max-width: 480px;
}
.crr-intro .crr-btn--white {
	height: 52px;
}
.crr-skip {
	margin-top: 10px;
	padding: 12px 20px;
	border: 0;
	background: none;
	color: rgba(255, 255, 255, 0.45);
	font: 700 14px/1 var(--crr-font);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
}

/* ---------- editor ---------- */

.crr-ebar,
.crr-dbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 46px;
	padding: 0 8px;
	border-bottom: 1px solid var(--rr-hair);
}
.crr-teaser .crr-ebar__t,
.crr-teaser .crr-dbar__t {
	margin: 0;
	color: #ffffff;
	font: 700 15px/1 var(--crr-font);
	letter-spacing: 0.02em;
	text-transform: uppercase;
	outline: none;
}
.crr-edit {
	padding: 26px 20px 6px;
}
.crr-teaser .crr-title {
	margin: 0 0 12px;
	color: #ffffff;
	font: 700 32px/1.12 var(--crr-font);
	letter-spacing: -0.01em;
	outline: none;
}
.crr-teaser .crr-help {
	margin: 0 0 20px;
	color: var(--rr-dim);
	font-size: 15px;
	line-height: 1.55;
}
.crr-edit .crr-sponsor {
	justify-content: flex-start;
	margin: -6px 0 18px;
}
.crr-error {
	margin: 0 0 16px;
	padding: 12px 14px;
	border-radius: 8px;
	background: rgba(239, 68, 68, 0.14);
	color: #ffffff;
	font-size: 14px;
}
.crr-teaser .crr-rows {
	position: relative;
	list-style: none;
	margin: 0;
	padding: 0;
}
.crr-teaser .crr-row {
	margin: 0;
	padding: 4px 0;
	list-style: none;
	touch-action: auto;
}
.crr-row__in {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 62px;
	padding: 8px 12px;
	background: var(--rr-row);
	border-radius: 8px;
	user-select: none;
	-webkit-user-select: none;
}
@media (hover: hover) and (pointer: fine) {
	.crr-row:not(.crr-row--static) .crr-row__in {
		cursor: grab;
	}
}
.crr-row__num {
	flex: 0 0 58px;
	color: #ffffff;
	font: 900 52px/0.85 var(--crr-font);
	letter-spacing: -0.04em;
	font-variant-numeric: tabular-nums;
}
.crr-row__main {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: #ffffff;
	text-align: left;
	cursor: pointer;
}
.crr-row__img,
.crr-addrow__img {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	border-radius: 4px;
	object-fit: cover;
	background: #2a2a2a;
	pointer-events: none;
}
/* YouTube thumbnails carry letterbox bars: crop to the 16:9 picture. */
img.is-yt {
	transform: scale(1.34);
	clip-path: inset(12.5%);
}
.crr-row__t {
	flex: 1 1 auto;
	min-width: 0;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	font-size: 17px;
	font-weight: 500;
	line-height: 1.35;
}
.crr-row__t small {
	display: block;
	margin-top: 2px;
	color: var(--rr-dim);
	font-size: 13px;
	font-weight: 400;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.crr-row__grip,
.crr-row__rm {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 44px;
	margin: -8px -6px -8px 0;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}
.crr-row__grip {
	color: rgba(255, 255, 255, 0.3);
	touch-action: none;
	cursor: grab;
}
.crr-row__rm {
	color: var(--rr-red);
}
.crr-row__rm:hover {
	color: #f87171;
}
.crr-rows.is-sorting .crr-row {
	transition: transform 0.16s ease;
}
.crr-rows.is-sorting .crr-row.is-dragging {
	position: relative;
	z-index: 3;
	transition: none;
}
.crr-row.is-dragging .crr-row__in {
	background: #262626;
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.7);
	transform: scale(1.02);
	cursor: grabbing;
}

/* Pinned to the bottom of the screen while the editor is in view, like complex.com's footer bar. */
.crr-actions {
	position: sticky;
	bottom: 0;
	z-index: 4;
	display: grid;
	gap: 10px;
	padding: 18px 20px calc(16px + env(safe-area-inset-bottom));
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0), #000000 22px);
}
.crr-teaser .crr-status {
	margin: 0 0 2px;
	color: rgba(255, 255, 255, 0.6);
	font-size: 16px;
}
.crr-ts:empty {
	display: none;
}

/* ---------- locked in: share cards ---------- */

.crr-done {
	padding-bottom: 28px;
}
.crr-dbar {
	position: relative;
	border-bottom: 0;
	height: 64px;
}
.crr-toast {
	position: absolute;
	left: 50%;
	top: 12px;
	transform: translateX(-50%);
	margin: 0;
	padding: 7px 14px;
	background: #e6e6e6;
	color: #111111;
	font: 700 13px/1.25 var(--crr-font);
	text-align: center;
	width: max-content;
	max-width: calc(100% - 120px);
	pointer-events: none;
	transition: opacity 0.4s ease;
}
.crr-toast.is-out {
	opacity: 0;
}
.crr-carousel {
	position: relative;
}
.crr-track {
	display: flex;
	gap: 18px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding: 4px calc(50% - 140px) 8px;
	-webkit-overflow-scrolling: touch;
}
.crr-track::-webkit-scrollbar {
	display: none;
}
.crr-slide {
	flex: 0 0 280px;
	aspect-ratio: 9 / 16;
	display: flex;
	align-items: center;
	justify-content: center;
	scroll-snap-align: center;
	background: #111111;
	border: 2px solid transparent;
	opacity: 0.45;
	transform: scale(0.94);
	transition: opacity 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.crr-slide.is-on {
	border-color: #ffffff;
	opacity: 1;
	transform: none;
}
.crr-slide img {
	width: 100%;
	height: 100%;
	display: block;
}
.crr-car-nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-top: -22px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	color: #ffffff;
	cursor: pointer;
}
.crr-car-nav:disabled {
	opacity: 0.25;
	cursor: default;
}
.crr-car-nav--prev {
	left: 16px;
}
.crr-car-nav--next {
	right: 16px;
}
.crr-car-nav--next svg {
	transform: scaleX(-1);
}
@media (hover: hover) and (pointer: fine) {
	.crr-car-nav {
		display: inline-flex;
	}
}
.crr-done__actions {
	display: grid;
	gap: 14px;
	max-width: 480px;
	margin: 36px auto 0;
	padding: 0 24px;
}
.crr-done__actions .crr-btn--white {
	height: 52px;
}
.crr-teaser .crr-note {
	margin: -4px 0 4px;
	color: rgba(255, 255, 255, 0.75);
	font-size: 14px;
	text-align: center;
}
.crr-done__row {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 1fr;
	gap: 12px;
}
.crr-done__row .crr-btn--ghost {
	height: 52px;
	padding: 0 10px;
	border: 2px solid #ffffff;
	white-space: nowrap;
}

/* Community ranking under the cards. */
.crr-community {
	margin: 44px 20px 0;
	padding-top: 26px;
	border-top: 1px solid var(--rr-hair);
}
.crr-community > .crr-spinner {
	margin: 20px auto;
}
.crr-community__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}
.crr-teaser .crr-community__head h3 {
	margin: 0;
	color: #ffffff;
	font: 900 24px/1 var(--crr-font);
	letter-spacing: -0.01em;
	text-transform: uppercase;
}
.crr-teaser .crr-community__head p,
.crr-teaser .crr-community__locked {
	margin: 0;
	color: var(--rr-dim);
	font-size: 14px;
}
.crr-spinner {
	display: block;
	width: 28px;
	height: 28px;
	border: 3px solid rgba(255, 255, 255, 0.2);
	border-top-color: #ffffff;
	border-radius: 50%;
	animation: crr-spin 0.8s linear infinite;
}
@keyframes crr-spin {
	to {
		transform: rotate(360deg);
	}
}

/* ---------- modals (Add sheet, item sheet) ---------- */

html.crr-noscroll,
html.crr-noscroll body {
	overflow: hidden;
}
.crr-modal {
	position: fixed;
	inset: 0;
	z-index: 100010;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	overscroll-behavior: contain;
}
.crr-modal__scrim {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.8);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	animation: crr-in 0.2s ease both;
}
.crr-addsheet {
	position: relative;
	display: flex;
	flex-direction: column;
	width: calc(100% - 40px);
	max-width: 480px;
	max-height: 80vh;
	background: var(--rr-sheet);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 30px 60px rgba(0, 0, 0, 0.5);
	animation: crr-in 0.2s ease both;
}
.crr-addsheet__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	padding: 24px 24px 16px;
	border-bottom: 1px solid var(--rr-hair);
}
.crr-modal h3 {
	margin: 0;
	color: #ffffff;
	font: 700 24px/1.1 var(--crr-font);
}
.crr-addsheet__head p {
	margin: 6px 0 0;
	color: var(--rr-dim);
	font-size: 14px;
}
.crr-addsheet__x,
.crr-info__x {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 4px;
	border: 0;
	background: none;
	color: rgba(255, 255, 255, 0.45);
	cursor: pointer;
}
.crr-addsheet__x:hover {
	color: rgba(255, 255, 255, 0.75);
}
.crr-addsheet__list {
	flex: 1 1 auto;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 4px 24px;
}
.crr-addrow {
	display: flex;
	align-items: center;
	gap: 16px;
	width: 100%;
	padding: 16px 0;
	border: 0;
	border-bottom: 1px solid var(--rr-hair);
	background: none;
	color: #ffffff;
	text-align: left;
	cursor: pointer;
}
.crr-addrow:last-child {
	border-bottom: 0;
}
.crr-addrow__img {
	width: 56px;
	height: 56px;
	border-radius: 0;
}
.crr-addrow__t {
	flex: 1 1 auto;
	min-width: 0;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
}
.crr-addrow__t small {
	display: block;
	color: var(--rr-dim);
	font-size: 13px;
	font-weight: 400;
}
.crr-check {
	flex: 0 0 28px;
	height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-radius: 4px;
	color: transparent;
}
.crr-addrow.is-on .crr-check {
	background: #ffffff;
	border-color: #ffffff;
	color: #000000;
}
.crr-addsheet__foot {
	padding: 16px 24px 24px;
	border-top: 1px solid var(--rr-hair);
}

/* Item sheet: bottom sheet on phones, centred panel on desktop. */
.crr-modal--info {
	align-items: flex-end;
}
.crr-info {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-height: 88vh;
	background: var(--rr-panel);
	border-radius: 24px 24px 0 0;
	overflow: hidden;
	animation: crr-up 0.28s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@keyframes crr-up {
	from {
		transform: translateY(40px);
		opacity: 0;
	}
	to {
		transform: none;
		opacity: 1;
	}
}
.crr-info__grab {
	align-self: center;
	width: 40px;
	height: 4px;
	margin: 8px 0 4px;
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.3);
}
.crr-info__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	padding: 20px 20px 0;
}
.crr-modal .crr-info__pos {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin: 0;
}
.crr-info__pos b {
	font: 900 56px/0.85 var(--crr-font);
	letter-spacing: -0.04em;
}
.crr-info__pos span {
	color: rgba(255, 255, 255, 0.4);
	font: 700 12px/1 var(--crr-font);
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.crr-info__x {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: #ffffff;
}
.crr-info__x:hover {
	background: rgba(255, 255, 255, 0.15);
}
.crr-info__body {
	flex: 1 1 auto;
	overflow-y: auto;
	padding: 14px 20px 16px;
}
.crr-info__img {
	width: 100%;
	max-height: 36vh;
	aspect-ratio: 1 / 1;
	margin: 0 auto 20px;
	overflow: hidden;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.04);
}
.crr-info__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.crr-modal .crr-info h2 {
	margin: 0 0 16px;
	color: #ffffff;
	font: 900 36px/1.1 var(--crr-font);
	letter-spacing: -0.02em;
}
.crr-modal .crr-info p {
	margin: 0 0 16px;
	color: rgba(255, 255, 255, 0.8);
	font-size: 15px;
	line-height: 24px;
}
.crr-info p strong {
	color: #ffffff;
	font-weight: 600;
}
.crr-info__foot {
	padding: 12px 20px calc(16px + env(safe-area-inset-bottom));
}
.crr-info__foot .crr-btn--ghost {
	height: 44px;
	font-size: 14px;
}
@media (min-width: 768px) {
	.crr-modal--info {
		align-items: center;
	}
	.crr-info {
		width: 760px;
		height: 720px;
		max-height: 90vh;
		border-radius: 16px;
		box-shadow: 0 32px 80px rgba(0, 0, 0, 0.65);
	}
	.crr-info__grab {
		display: none;
	}
	.crr-info__head,
	.crr-info__body,
	.crr-info__foot {
		padding-left: 28px;
		padding-right: 28px;
	}
	.crr-info__head {
		padding-top: 24px;
	}
	.crr-info__pos b {
		font-size: 64px;
	}
	.crr-info__img {
		width: auto;
		max-width: 100%;
		max-height: 240px;
	}
	.crr-modal .crr-info h2 {
		font-size: 40px;
	}
}

/* ---------- desktop ---------- */

@media (min-width: 700px) {
	.crr-teaser__inner {
		padding: 40px 40px 34px;
	}
	.crr-choice {
		padding: 24px;
	}
	.crr-teaser .crr-choice h3 {
		font-size: 28px;
	}
	.crr-choice__art {
		flex-basis: 120px;
	}
	.crr-edit {
		padding: 34px 40px 6px;
	}
	.crr-actions {
		padding-left: 40px;
		padding-right: 40px;
	}
	.crr-teaser .crr-title {
		font-size: 40px;
	}
	.crr-track {
		padding-left: calc(50% - 170px);
		padding-right: calc(50% - 170px);
	}
	.crr-slide {
		flex-basis: 340px;
	}
	.crr-community {
		margin-left: 40px;
		margin-right: 40px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.crr-stage,
	.crr-modal__scrim,
	.crr-addsheet,
	.crr-info,
	.crr-demo-row {
		animation: none;
	}
	.crr-rows.is-sorting .crr-row,
	.crr-slide {
		transition: none;
	}
	.crr-spinner {
		animation-duration: 2s;
	}
}

/* ---------- hub ---------- */

.crr-hub {
	margin: 40px auto;
}
.crr-hub__head {
	margin-bottom: 36px;
	padding-bottom: 28px;
	border-bottom: 1px solid var(--crr-line);
}
.crr-hub .crr-hub__heading {
	margin: 0 0 12px;
	font: 700 clamp(34px, 5vw, 48px)/1.2 var(--crr-font);
	letter-spacing: -0.1px;
}
.crr-hub__intro {
	max-width: 720px;
	margin: 0;
	font-size: 16px;
	line-height: 1.8;
}
.crr-hub__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 40px 28px;
}
.crr-hub__card {
	margin: 0;
}
.crr-hub__card a {
	display: flex;
	flex-direction: column;
	gap: 8px;
	color: inherit;
	text-decoration: none;
}
.crr-hub__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--crr-wash);
	margin-bottom: 6px;
}
.crr-hub__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}
.crr-hub__card a:hover .crr-hub__media img {
	transform: scale(1.03);
}
.crr-hub__title {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.35;
}
.crr-hub__card a:hover .crr-hub__title {
	text-decoration: underline;
	text-underline-offset: 3px;
}
.crr-hub .crr-btn--small {
	align-self: flex-start;
	margin-top: 6px;
}
.crr-hub .crr-btn {
	width: auto;
	height: 40px;
	padding: 0 20px;
	border-radius: 4px;
	background: #000000;
	color: #ffffff;
	font-size: 13px;
}
