/* The Dolphin Quantum's comparison pages (/compare/<robot>-vs-dolphin-quantum) and hub, ported from premierrobotic.com. */

.pcmp {
	--pcmp-blue: #2997ff;
	--pcmp-blue-dark: #0066cc;
	--pcmp-ink: #f5f5f7;
	--pcmp-muted: #a1a1a6;
	--pcmp-panel: #1d1d1f;
	--pcmp-line: rgba(255, 255, 255, 0.14);
	background: #000;
	color: var(--pcmp-ink);
}

.pcmp sup {
	position: relative;
	top: -0.45em;
	font-size: 0.46em;
	line-height: 0;
	vertical-align: baseline;
}

.pcmp .sigma-section--white {
	background: #fff;
	color: #1d1d1f;
}

.pcmp .sigma-section--white .sigma-headline {
	color: #1d1d1f;
}

.pcmp-opening {
	padding-top: calc(4rem + 5px);
}

.pcmp-crumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.65rem;
	max-width: 1180px;
	margin: 0 auto 1.15rem;
	padding: 0 clamp(1.25rem, 4vw, 2.5rem);
	color: var(--pcmp-muted);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.015em;
}

.pcmp-crumbs a {
	color: var(--pcmp-ink);
	text-decoration: none;
}

.pcmp-crumbs a::after {
	margin-left: 0.65rem;
	color: #6e6e73;
	content: "/";
}

.pcmp-crumbs a:hover {
	color: var(--pcmp-blue);
}

.pcmp-title {
	max-width: 1050px;
	margin-inline: auto;
	font-size: clamp(2.3rem, 6vw, 5.25rem);
	line-height: 0.98;
	text-wrap: balance;
}

.pcmp-title .blue-gradient {
	display: inline;
}

.pcmp-intro {
	max-width: 790px;
	margin-inline: auto;
	text-wrap: balance;
}

.pcmp-duel {
	position: relative;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(0.8rem, 2.5vw, 1.75rem);
	max-width: 1040px;
	margin: clamp(2rem, 5vw, 4rem) auto 0;
}

.pcmp-vs {
	position: absolute;
	top: 46%;
	left: 50%;
	z-index: 3;
	display: grid;
	width: 56px;
	height: 56px;
	margin: -28px 0 0 -28px;
	place-items: center;
	border: 4px solid #000;
	border-radius: 50%;
	background: #1d1d1f;
	color: #fff;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
}

.pcmp-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 0;
	padding: clamp(1.1rem, 2.8vw, 2rem);
	border-radius: 28px;
	background: #fff;
	color: #1d1d1f;
	text-align: center;
}

.pcmp-card--premier {
	box-shadow: 0 0 0 3px var(--pcmp-blue), 0 24px 80px rgba(41, 151, 255, 0.22);
}

.pcmp-card__badge {
	min-height: 1.9rem;
	margin-bottom: 0.5rem;
	padding: 0.42rem 0.9rem;
	border-radius: 999px;
	background: #e8f3ff;
	color: var(--pcmp-blue-dark);
	font-size: 0.7rem;
	font-style: normal;
	font-weight: 800;
	letter-spacing: 0.06em;
	line-height: 1.2;
	text-transform: uppercase;
}

.pcmp-card--competitor .pcmp-card__badge {
	background: #f5f5f7;
	color: #6e6e73;
}

.pcmp-card__media {
	position: relative;
	display: grid;
	width: min(100%, 320px);
	aspect-ratio: 1;
	place-items: center;
	margin: 0 auto 0.8rem;
}

.pcmp-card__photo,
.pcmp-card__media img,
.pcmp-card__media picture {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.pcmp-card__award {
	position: absolute;
	top: -0.25rem;
	left: -0.35rem;
	z-index: 2;
	width: clamp(58px, 28%, 94px);
	filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.22));
}

.pcmp-card__award img {
	width: 100%;
	height: auto;
	border-radius: 50%;
}

.pcmp-card h2 {
	margin: 0;
	color: #1d1d1f;
	font-size: clamp(1.2rem, 2.3vw, 1.75rem);
	line-height: 1.15;
	text-wrap: balance;
}

.pcmp-card__type {
	margin: 0.5rem 0 0;
	color: #6e6e73;
	font-size: 0.85rem;
	font-weight: 700;
}

.pcmp-card__facts {
	width: 100%;
	margin: 1.1rem 0 0;
	padding: 1rem 0 0;
	border-top: 1px solid #d2d2d7;
	list-style: none;
	text-align: left;
}

.pcmp-card__facts li {
	position: relative;
	margin: 0.5rem 0;
	padding-left: 1.25rem;
	color: #424245;
	font-size: 0.9rem;
	line-height: 1.45;
}

.pcmp-card__facts li::before {
	position: absolute;
	top: 0.5em;
	left: 0;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--pcmp-blue);
	content: "";
}

.pcmp-card__price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: center;
	gap: 0.2rem 0.5rem;
	margin: auto 0 0;
	padding-top: 1.15rem;
	color: #1d1d1f;
	font-size: clamp(1.45rem, 2.2vw, 1.75rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.025em;
}

.pcmp-card__price s {
	color: #86868b;
	font-size: 0.72em;
	font-weight: 500;
	letter-spacing: 0;
}

.pcmp-card__price s[hidden] {
	display: none;
}

.pcmp-card__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.55rem;
	width: 100%;
	margin-top: 1rem;
}

.pcmp-card__actions .buy-button {
	margin: 0;
}

.pcmp-verdict {
	max-width: 900px;
	margin: clamp(3.5rem, 8vw, 7rem) auto 0;
	padding: clamp(1.5rem, 4vw, 2.5rem);
	border: 1px solid rgba(41, 151, 255, 0.45);
	border-radius: 24px;
	background: linear-gradient(135deg, rgba(41, 151, 255, 0.15), rgba(41, 151, 255, 0.03));
	text-align: left;
}

.pcmp-verdict h2 {
	margin: 0.3rem 0 0.7rem;
	color: #fff;
	font-size: clamp(1.55rem, 3.4vw, 2.5rem);
	line-height: 1.1;
}

.pcmp-verdict p:last-child {
	margin-bottom: 0;
}

.pcmp-score {
	max-width: 1040px;
	margin: clamp(1.25rem, 3vw, 2rem) auto 0;
	padding: clamp(1.35rem, 3vw, 2.25rem);
	border: 1px solid var(--pcmp-line);
	border-radius: 24px;
	background: #111;
}

.pcmp-score__head {
	max-width: 760px;
}

.pcmp-score__head h2 {
	margin: 0.25rem 0 0.6rem;
	color: #fff;
	font-size: clamp(1.45rem, 3vw, 2.15rem);
	line-height: 1.15;
}

.pcmp-score__head > p:last-child {
	margin-bottom: 0;
	color: #a1a1a6;
	line-height: 1.6;
}

.pcmp-score__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0.75rem;
	margin-top: 1.4rem;
}

.pcmp-score__round {
	min-width: 0;
	padding: 1rem;
	border: 1px solid var(--pcmp-line);
	border-radius: 16px;
	background: #1d1d1f;
}

.pcmp-score__round--hero {
	border-color: rgba(41, 151, 255, 0.55);
	background: linear-gradient(145deg, rgba(41, 151, 255, 0.16), #1d1d1f 70%);
}

.pcmp-score__round--opp {
	border-color: rgba(255, 159, 10, 0.55);
}

.pcmp-score__round p,
.pcmp-score__round strong,
.pcmp-score__round span {
	display: block;
}

.pcmp-score__round p {
	min-height: 2.3em;
	margin: 0;
	color: #a1a1a6;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.045em;
	line-height: 1.25;
	text-transform: uppercase;
}

.pcmp-score__round strong {
	margin-top: 0.55rem;
	color: #fff;
	font-size: 0.92rem;
	line-height: 1.3;
}

.pcmp-score__round--hero strong {
	color: #64b5ff;
}

.pcmp-score__round--opp strong {
	color: #ffb340;
}

.pcmp-score__round span {
	margin-top: 0.55rem;
	color: #d2d2d7;
	font-size: 0.8rem;
	line-height: 1.5;
}

.pcmp-choice-grid,
.pcmp-panels,
.pcmp-related-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	max-width: 1040px;
	margin: clamp(2rem, 4vw, 3rem) auto 0;
}

.pcmp-choice,
.pcmp-panel {
	padding: clamp(1.35rem, 3vw, 2.25rem);
	border: 1px solid var(--pcmp-line);
	border-radius: 24px;
	background: var(--pcmp-panel);
}

.pcmp-choice--premier {
	border-color: rgba(41, 151, 255, 0.55);
	background: linear-gradient(145deg, #10243a, #1d1d1f 72%);
}

.pcmp-choice__tag {
	display: inline-block;
	margin-bottom: 0.9rem;
	color: var(--pcmp-blue);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.pcmp-choice h3,
.pcmp-panel h3 {
	margin: 0 0 0.85rem;
	color: #fff;
	font-size: clamp(1.25rem, 2.4vw, 1.7rem);
	line-height: 1.15;
}

.pcmp-choice p,
.pcmp-panel p {
	color: #d2d2d7;
}

.pcmp-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.pcmp-list li {
	position: relative;
	margin: 0.65rem 0;
	padding-left: 1.45rem;
	color: #d2d2d7;
	line-height: 1.55;
}

.pcmp-list li::before {
	position: absolute;
	top: 0.7em;
	left: 0;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--pcmp-blue);
	content: "";
}

.pcmp-list--tradeoffs li::before {
	border-radius: 1px;
	background: #ff9f0a;
}

.pcmp-spec-wrap {
	max-width: 1120px;
	margin: clamp(2rem, 4vw, 3rem) auto 0;
	overflow-x: auto;
	border: 1px solid var(--pcmp-line);
	border-radius: 24px;
	background: #111;
	-webkit-overflow-scrolling: touch;
}

.pcmp-table {
	width: 100%;
	min-width: 720px;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	background: transparent;
	color: var(--pcmp-ink);
}

.pcmp-table caption {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.pcmp-table th,
.pcmp-table td {
	padding: 1rem clamp(0.9rem, 2vw, 1.4rem);
	border: 0;
	border-bottom: 1px solid var(--pcmp-line);
	background: transparent;
	color: #d2d2d7;
	font-size: 0.92rem;
	line-height: 1.45;
	text-align: left;
	vertical-align: top;
}

.pcmp-table thead th {
	position: sticky;
	top: 0;
	z-index: 1;
	background: #1d1d1f;
	color: #fff;
	font-size: 0.95rem;
}

.pcmp-table th:first-child {
	width: 22%;
	color: #fff;
	font-weight: 700;
}

.pcmp-table .pcmp-table__premier {
	background: rgba(41, 151, 255, 0.075);
}

.pcmp-table tr:last-child th,
.pcmp-table tr:last-child td {
	border-bottom: 0;
}

.pcmp-table ul {
	margin: 0;
	padding-left: 1.15rem;
}

.pcmp-note {
	max-width: 900px;
	margin: 1rem auto 0;
	padding: 1rem 1.2rem;
	border-left: 3px solid var(--pcmp-blue);
	border-radius: 0 12px 12px 0;
	background: rgba(41, 151, 255, 0.08);
	color: #d2d2d7;
	font-size: 0.9rem;
	line-height: 1.55;
}

.pcmp-checked {
	max-width: 1120px;
	margin: 0.85rem auto 0;
	color: #86868b;
	font-size: 0.78rem;
	line-height: 1.55;
}

.pcmp-review {
	max-width: 860px;
	margin: 0 auto;
	color: #1d1d1f;
	font-size: clamp(1rem, 1.5vw, 1.12rem);
	line-height: 1.75;
}

.pcmp-review h3 {
	margin: 2.4em 0 0.65em;
	color: #1d1d1f;
	font-size: clamp(1.45rem, 3vw, 2rem);
	line-height: 1.18;
	text-wrap: balance;
}

.pcmp-review h3:first-child {
	margin-top: 0;
}

.pcmp-review strong {
	color: #000;
}

.pcmp-review a {
	color: var(--pcmp-blue-dark);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.16em;
}

.pcmp-review ul {
	padding-left: 1.3rem;
}

.pcmp-faq {
	max-width: 900px;
	margin: clamp(2rem, 4vw, 3.5rem) auto 0;
}

.pcmp-faq details {
	border-top: 1px solid var(--pcmp-line);
}

.pcmp-faq details:last-child {
	border-bottom: 1px solid var(--pcmp-line);
}

.pcmp-faq summary {
	position: relative;
	padding: 1.25rem 2.5rem 1.25rem 0;
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.4;
	cursor: pointer;
	list-style: none;
}

.pcmp-faq summary::-webkit-details-marker {
	display: none;
}

.pcmp-faq summary::after {
	position: absolute;
	top: 1.25rem;
	right: 0.25rem;
	color: var(--pcmp-blue);
	content: "+";
	font-size: 1.5rem;
	font-weight: 400;
	line-height: 1;
}

.pcmp-faq details[open] summary::after {
	content: "−";
}

.pcmp-faq details p {
	max-width: 760px;
	margin: -0.3rem 0 1.25rem;
	color: #d2d2d7;
	line-height: 1.65;
}

.pcmp-source-section {
	background: #111;
}

.pcmp-source-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	gap: 1rem;
	max-width: 1040px;
	margin: clamp(2rem, 4vw, 3rem) auto 0;
}

.pcmp-source-card,
.pcmp-safety {
	padding: clamp(1.2rem, 2.5vw, 1.75rem);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 20px;
	background: #1d1d1f;
}

.pcmp-source-card h3,
.pcmp-safety h3 {
	margin: 0 0 0.7rem;
	color: #fff;
	font-size: 1.05rem;
	line-height: 1.3;
}

.pcmp-source-card p,
.pcmp-source-card li,
.pcmp-safety p,
.pcmp-safety li {
	color: #a1a1a6;
	font-size: 0.88rem;
	line-height: 1.65;
}

.pcmp-source-card ul,
.pcmp-safety ul {
	margin: 0;
	padding-left: 1.15rem;
}

.pcmp-source-card a,
.pcmp-safety a {
	color: #d2d2d7;
	overflow-wrap: anywhere;
	text-underline-offset: 0.16em;
}

.pcmp-source-card a:hover,
.pcmp-safety a:hover {
	color: #64b5ff;
}

.pcmp-safety {
	max-width: 1040px;
	margin: 1rem auto 0;
	border-color: rgba(255, 159, 10, 0.45);
}

.pcmp-related-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pcmp-related {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 0.85rem;
	border-radius: 18px;
	background: #fff;
	color: #1d1d1f;
	text-decoration: none;
	transition: transform 0.25s ease;
}

.pcmp-related:hover,
.pcmp-related:focus-visible {
	color: #1d1d1f;
	transform: translateY(-2px);
}

.pcmp-related img {
	width: 82px;
	height: 82px;
	flex: 0 0 82px;
	object-fit: contain;
}

.pcmp-related strong,
.pcmp-related span {
	display: block;
}

.pcmp-related strong {
	font-size: 0.95rem;
	line-height: 1.25;
}

.pcmp-related span {
	margin-top: 0.25rem;
	color: var(--pcmp-blue-dark);
	font-size: 0.8rem;
	font-weight: 700;
}

@media screen and (max-width: 68.75em) {
	.pcmp-opening {
		padding-top: calc(2.75rem + 5px);
	}

	.pcmp-score__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media screen and (max-width: 47.937em) {
	.pcmp-opening {
		padding-top: calc(2.75rem + 5px);
	}

	.pcmp-crumbs {
		margin-bottom: 1.15rem;
	}

	.pcmp-crumbs span {
		display: none;
	}

	.pcmp-crumbs a:last-of-type::after {
		content: none;
	}

	.pcmp-duel,
	.pcmp-choice-grid,
	.pcmp-panels,
	.pcmp-related-grid {
		grid-template-columns: 1fr;
	}

	.pcmp-card--competitor {
		grid-row: 1;
	}

	.pcmp-vs {
		position: static;
		grid-row: 2;
		grid-column: 1;
		justify-self: center;
		margin: 0;
	}

	.pcmp-card--premier {
		grid-row: 3;
	}

	.pcmp-card {
		padding: 1rem;
		border-radius: 22px;
	}

	.pcmp-card__media {
		width: min(100%, 240px);
	}

	.pcmp-card__actions {
		flex-direction: column;
	}

	.pcmp-card__actions .buy-button {
		width: 100%;
	}

	.pcmp-related-grid {
		gap: 0.7rem;
	}

	.pcmp-score__grid {
		grid-template-columns: 1fr;
	}

	.pcmp-score__round p {
		min-height: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pcmp-related {
		transition: none;
	}
}


/* ---- Added 2026-11-12: the photo galleries on the compare pages and hub, the figures in the generated
   reviews, and the opponent's cells where it has the edge. The hub is not inside .pcmp, so the colours fall
   back to the same values. ---- */
.pcmp-gallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
	max-width: 1180px;
	margin: 0 auto;
}

.pcmp-gallery__item {
	margin: 0;
	overflow: hidden;
	border-radius: 18px;
	background: var(--pcmp-panel, #1d1d1f);
}

.pcmp-gallery__item img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 5 / 3;
	object-fit: cover;
}

.pcmp-gallery__item figcaption {
	padding: 0.8rem 1rem 1rem;
	color: var(--pcmp-muted, #a1a1a6);
	font-size: 0.9rem;
	line-height: 1.4;
}

@media (max-width: 64em) {
	.pcmp-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 47.937em) {
	.pcmp-gallery {
		grid-template-columns: minmax(0, 1fr);
	}
}

.pcmp-review .pcmp-figure {
	margin: 1.75rem 0;
	overflow: hidden;
	border-radius: 18px;
	background: #f5f5f7;
}

.pcmp-review .pcmp-figure img,
.pcmp-review div > img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 14px;
}

.pcmp-review .pcmp-figure figcaption,
.pcmp-review .caption {
	padding: 0.7rem 1rem;
	color: #6e6e73;
	font-size: 0.9rem;
	line-height: 1.4;
}

.pcmp-review .caption {
	padding: 0.5rem 0 1.25rem;
}

.pcmp-table td.pcmp-table__edge {
	color: var(--pcmp-ink);
	font-weight: 600;
}
