/*
 * Unified performance rankings for device pages and article embeds.
 * Loaded after the legacy bundles so the existing data and interaction hooks stay intact.
 */

.performanceBoard,
.performanceRanking,
.performanceMatrix,
.performanceOverlay,
.performanceOverlayMobile {
	--performance-accent: #1856ff;
	--performance-accent-strong: #1244d2;
	--performance-soft: #eef3ff;
	--performance-border: #dbe4ff;
	--performance-text: #141414;
	--performance-muted: #68727a;
	--performance-surface: rgba(255, 255, 255, 0.94);
	--performance-success: #078c4d;
	--performance-success-soft: #e9f9f1;
	--performance-danger: #c6384f;
	--performance-radius: 20px;
	--performance-shadow: 0 16px 38px rgba(20, 32, 55, 0.1);
	box-sizing: border-box;
	color: var(--performance-text);
}

.performanceBoard *,
.performanceRanking *,
.performanceMatrix *,
.performanceOverlay *,
.performanceOverlayMobile * {
	box-sizing: border-box;
}

.performanceBoard--phone,
#device.phone .performanceBoard,
.performanceOverlay.phone,
.performanceOverlayMobile.phone {
	--performance-accent: #637f1f;
	--performance-accent-strong: #4c6516;
	--performance-soft: #f2f6e8;
	--performance-border: #d8e4bc;
}

.performanceBoard--tablet,
#device.tablet .performanceBoard,
.performanceOverlay.tablet,
.performanceOverlayMobile.tablet {
	--performance-accent: #1856ff;
	--performance-accent-strong: #1244d2;
	--performance-soft: #edf3ff;
	--performance-border: #d2dfff;
}

.performanceBoard--watch,
#device.watch .performanceBoard,
.performanceOverlay.watch,
.performanceOverlayMobile.watch {
	--performance-accent: #946800;
	--performance-accent-strong: #745100;
	--performance-soft: #fff7df;
	--performance-border: #f1dfaa;
}

#article .performanceRanking,
#article .performanceMatrix,
.performanceOverlay.review,
.performanceOverlayMobile.review {
	--performance-accent: var(--article-accent, #c85edb);
	--performance-accent-strong: var(--article-accent, #a83ebc);
	--performance-soft: var(--article-accent-soft, #fbf4fd);
	--performance-border: var(--article-accent-border, #eadcf0);
	--performance-text: var(--article-text, #20272b);
	--performance-muted: var(--article-muted, #68727a);
}

#article.review .performanceRanking,
#article.review .performanceMatrix,
#article.tone-review .performanceRanking,
#article.tone-review .performanceMatrix {
	--performance-accent: var(--article-accent, #b44800);
	--performance-accent-strong: #8e3800;
	--performance-soft: var(--article-accent-soft, #fdf6f1);
	--performance-border: var(--article-accent-border, #f0c29c);
}

.performanceVisuallyHidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* Desktop device ranking */

#deviceWrapper .performanceBoard.sectionDetails {
	width: 678px;
	padding: 10px;
	border: 0 !important;
	background: transparent !important;
	font-size: 14px;
}

#deviceWrapper .performanceBoard .performanceBoard__layout {
	display: grid;
	grid-template-columns: 178px minmax(0, 1fr);
	min-height: 410px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.74);
	border-radius: var(--performance-radius);
	background:
		radial-gradient(circle at 94% 4%, var(--performance-soft) 0, transparent 33%),
		linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 253, 0.94));
	box-shadow: var(--performance-shadow);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
}

#deviceWrapper .performanceBoard .performanceBoard__selector {
	display: block;
	min-width: 0;
	margin: 0;
	padding: 14px 10px;
	border-right: 1px solid var(--performance-border);
	background: linear-gradient(180deg, var(--performance-soft), rgba(255, 255, 255, 0.68));
	font-family: "Open Sans", sans-serif;
}

#deviceWrapper .performanceBoard .performanceBoard__selector li {
	display: block;
	width: auto;
	margin: 0 0 6px;
	border: 0;
	overflow: visible;
}

#deviceWrapper .performanceBoard .performanceBoard__selector li:last-child {
	margin-bottom: 0;
}

#deviceWrapper .performanceBoard .performanceBoard__selector a {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	min-width: 0;
	height: auto;
	min-height: 42px;
	padding: 9px 12px 9px 15px;
	border: 1px solid transparent;
	border-radius: 12px;
	background: transparent;
	color: #39424a;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
	white-space: normal;
	transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

#deviceWrapper .performanceBoard .performanceBoard__selector a:hover {
	border-color: rgba(255, 255, 255, 0.9);
	background: rgba(255, 255, 255, 0.72);
	color: var(--performance-accent-strong);
	transform: translateX(2px);
}

#deviceWrapper .leftColumn .performanceBoard .performanceBoard__selector a.active {
	border-color: var(--performance-border);
	background: rgba(255, 255, 255, 0.96);
	color: var(--performance-accent-strong);
	box-shadow: 0 8px 20px rgba(25, 39, 61, 0.08);
}

#deviceWrapper .performanceBoard .performanceBoard__selector a.active::before {
	content: "";
	position: absolute;
	top: 9px;
	bottom: 9px;
	left: 5px;
	width: 3px;
	border-radius: 999px;
	background: var(--performance-accent);
}

#deviceWrapper .performanceBoard .performanceBoard__content {
	display: block;
	width: auto;
	min-width: 0;
	border: 0;
	background: rgba(255, 255, 255, 0.72);
}

#deviceWrapper .performanceBoard .performanceBoard__content > .performanceBoard__heading {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 58px;
	height: auto;
	margin: 0;
	padding: 12px 20px;
	border-bottom: 1px solid var(--performance-border);
	background: rgba(255, 255, 255, 0.76);
	color: var(--performance-text);
	font-family: "Open Sans Condensed", sans-serif;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.25;
	text-align: center;
	overflow: visible;
}

#deviceWrapper .performanceBoard .performanceBoard__heading > em {
	display: none;
}

#deviceWrapper .performanceBoard .performanceBoard__heading b {
	margin: 0 4px;
	color: var(--performance-accent-strong);
	font-weight: 700;
}

#deviceWrapper .performanceBoard .childrenBenchmarks {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 7px;
	margin: 12px 16px 4px;
	padding: 0;
	text-align: center;
}

#deviceWrapper .performanceBoard .childrenBenchmarks li {
	display: block;
	margin: 0;
}

#deviceWrapper .performanceBoard .childrenBenchmarks li a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 7px 11px;
	border: 1px solid #e3e8ee;
	border-radius: 999px;
	background: #fff;
	color: #4d5861;
	font-family: "Open Sans", sans-serif;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.2;
	transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

#deviceWrapper .performanceBoard .childrenBenchmarks li a:hover,
#deviceWrapper .performanceBoard .childrenBenchmarks li a.active {
	border-color: var(--performance-accent);
	background: var(--performance-accent);
	color: #fff;
}

#deviceWrapper .performanceBoard .childrenBenchmarks .ui-action-benchmark-description {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 17px;
	height: 17px;
	margin-left: 4px;
	padding: 0;
	border: 1px solid currentColor;
	border-radius: 50%;
	background: transparent;
	color: inherit;
	font: 700 10px/1 Arial, sans-serif;
}

#deviceWrapper .performanceBoard .ui-benchmark-description {
	width: auto;
	margin: 12px 18px;
	padding: 14px 42px 14px 14px;
	border: 1px solid var(--performance-border);
	border-radius: 14px;
	background: var(--performance-soft);
	color: #4c5962;
	font-size: 12px;
	line-height: 1.5;
}

#deviceWrapper .performanceBoard .ui-benchmark-description b {
	margin-bottom: 4px;
	color: var(--performance-text);
}

#deviceWrapper .performanceBoard .benchmarkLines {
	display: block;
	margin: 10px 14px 16px;
	padding: 0;
}

#deviceWrapper .performanceBoard .benchmarkLines li:not(.dividerPopup) {
	display: grid;
	grid-template-columns: 30px minmax(105px, 1fr) minmax(145px, 1.25fr) minmax(70px, auto);
	align-items: center;
	gap: 10px;
	min-height: 50px;
	margin: 0 0 6px;
	padding: 8px 10px;
	border: 1px solid transparent;
	border-radius: 13px;
	background: rgba(255, 255, 255, 0.58);
	font-family: "Open Sans", sans-serif;
	font-size: 12px;
	transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

#deviceWrapper .performanceBoard .benchmarkLines li:not(.dividerPopup):hover {
	border-color: #e8edf2;
	background: #fff;
	transform: translateY(-1px);
}

#deviceWrapper .performanceBoard .benchmarkLines li.current {
	border-color: var(--performance-border);
	background: linear-gradient(100deg, var(--performance-soft), rgba(255, 255, 255, 0.96));
	box-shadow: 0 7px 18px rgba(25, 39, 61, 0.07);
}

#deviceWrapper .performanceBoard .benchmarkLines li div.index {
	width: auto;
	height: auto;
	margin: 0;
	padding: 0;
	overflow: visible;
	color: #a0a9b2;
	font-family: "Open Sans Condensed", sans-serif;
	font-size: 19px;
	font-weight: 700;
	line-height: 1;
	text-align: center;
}

#deviceWrapper .performanceBoard .benchmarkLines li.current div.index {
	color: var(--performance-accent);
}

#deviceWrapper .performanceBoard .benchmarkLines li div.name {
	width: auto;
	height: auto;
	min-width: 0;
	line-height: 1.3;
	text-align: left;
	overflow: hidden;
}

#deviceWrapper .performanceBoard .benchmarkLines li div.name a {
	display: block;
	max-width: 100%;
	overflow: hidden;
	color: #273139;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}

#deviceWrapper .performanceBoard .benchmarkLines li.current div.name::after {
	content: "Dispozitivul curent";
	display: block;
	margin-top: 2px;
	color: var(--performance-accent-strong);
	font-size: 9px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.045em;
	text-transform: uppercase;
}

#deviceWrapper .performanceBoard .benchmarkLines li div.bar {
	position: relative;
	display: block;
	width: 100%;
	height: 9px;
	padding: 0;
	border-radius: 999px;
	background: #e8edf2;
	overflow: hidden;
}

#deviceWrapper .performanceBoard .benchmarkLines li div.bar em {
	display: block;
	height: 100%;
	min-width: 3px;
	border: 0 !important;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--performance-accent), var(--performance-accent-strong)) !important;
	box-shadow: none;
}

#deviceWrapper .performanceBoard .benchmarkLines li div.points {
	width: auto;
	height: auto;
	padding: 0;
	color: #26313a;
	font-size: 12px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	line-height: 1.25;
	text-align: right;
	overflow: visible;
}

#deviceWrapper .performanceBoard .benchmarkLines li.dividerPopup {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	height: auto;
	min-height: 48px;
	margin: 8px 0 2px;
}

#deviceWrapper .performanceBoard .benchmarkLines li.dividerPopup .dashed {
	display: none;
}

#deviceWrapper .performanceBoard .benchmarkLines li.dividerPopup .plus {
	position: static;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	height: 38px;
	min-width: 178px;
	padding: 0 15px;
	border: 1px solid var(--performance-accent) !important;
	border-radius: 999px;
	background: var(--performance-accent) !important;
	color: #fff;
	font-family: "Open Sans", sans-serif;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	text-align: center;
	box-shadow: 0 8px 18px color-mix(in srgb, var(--performance-accent) 22%, transparent);
	transition: transform 160ms ease, background-color 160ms ease;
}

#deviceWrapper .performanceBoard .benchmarkLines li.dividerPopup .plus:hover {
	background: var(--performance-accent-strong) !important;
	transform: translateY(-1px);
}

/* Mobile device accordions */

#device .performanceBoard.performanceBoard--mobile {
	display: block;
	width: 100%;
	padding: 4px 0 8px;
	background: transparent;
}

#device .performanceBoard > .performanceBoard__mobileCard {
	position: relative;
	display: block;
	width: 100%;
	margin: 0 0 12px;
	border: 1px solid var(--performance-border) !important;
	border-radius: 18px;
	background:
		radial-gradient(circle at 95% 0, var(--performance-soft), transparent 38%),
		rgba(255, 255, 255, 0.95);
	box-shadow: 0 10px 26px rgba(28, 39, 43, 0.08);
	overflow: hidden;
}

#device .performanceBoard > .performanceBoard__mobileCard:last-child {
	margin-bottom: 0;
	border-bottom-width: 1px;
}

#device .performanceBoard > .performanceBoard__mobileCard::after {
	top: 13px;
	right: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border: 1px solid var(--performance-border);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.9);
	color: var(--performance-accent-strong);
	font-size: 14px;
	line-height: 1;
	transition: transform 180ms ease, background-color 180ms ease;
}

#device .performanceBoard > .performanceBoard__mobileCard.is-open::after {
	background: var(--performance-soft);
}

#device .performanceBoard .performanceBoard__mobileTitle {
	display: flex;
	align-items: center;
	width: 100%;
	min-height: 58px;
	padding: 12px 54px 12px 16px;
	border: 0;
	border-bottom: 1px solid transparent;
	background: transparent;
	color: var(--performance-text);
	font-family: "Roboto Condensed", sans-serif;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.25;
}

#device .performanceBoard .is-open .performanceBoard__mobileTitle {
	border-bottom-color: var(--performance-border);
	color: var(--performance-accent-strong);
}

#device .performanceBoard .performanceBoard__mobilePanel {
	display: none;
	padding: 12px 12px 14px;
	border: 0;
	background: rgba(255, 255, 255, 0.74);
}

#device .performanceBoard .is-open .performanceBoard__mobilePanel {
	display: block;
}

#device .performanceBoard .children {
	display: flex;
	justify-content: flex-start;
	gap: 7px;
	margin: 0 0 13px;
	padding: 0 0 3px;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}

#device .performanceBoard .children li {
	display: block;
	flex: 0 0 auto;
	margin: 0;
}

#device .performanceBoard .children li a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 8px 13px;
	border: 1px solid #e3e8ee;
	border-radius: 999px;
	background: #fff;
	color: #4d5861;
	font-family: "Roboto Condensed", sans-serif;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.15;
	white-space: nowrap;
}

#device .performanceBoard .children li a.active {
	border-color: var(--performance-accent);
	background: var(--performance-accent);
	color: #fff;
}

#device .performanceBoard .performanceBoard__mobilePanel .benchmarkLines {
	display: block;
	margin: 0;
	padding: 0;
}

#device .performanceBoard .performanceBoard__mobilePanel .benchmarkLines > li {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr) minmax(62px, auto);
	align-items: center;
	gap: 8px;
	min-height: 58px;
	margin: 0 0 7px;
	padding: 9px 10px;
	border: 1px solid transparent;
	border-radius: 13px;
	background: rgba(248, 250, 252, 0.8);
}

#device .performanceBoard .performanceBoard__mobilePanel .benchmarkLines > li:last-child {
	margin-bottom: 0;
}

#device .performanceBoard .performanceBoard__mobilePanel .benchmarkLines > li.current {
	border-color: var(--performance-border);
	background: linear-gradient(100deg, var(--performance-soft), #fff);
	box-shadow: 0 7px 18px rgba(25, 39, 61, 0.07);
}

#device .performanceBoard .benchmarkLines li div.index {
	width: auto;
	padding: 0;
	color: #9ba5ae;
	font-family: "Roboto Condensed", sans-serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
	text-align: center;
}

#device .performanceBoard .benchmarkLines li.current div.index {
	color: var(--performance-accent);
}

#device .performanceBoard .benchmarkLines li div.complex {
	display: block;
	width: auto;
	min-width: 0;
}

#device .performanceBoard .benchmarkLines li .complex .name {
	display: block;
	min-width: 0;
	margin: 0 0 7px;
	font-size: 14px;
	line-height: 1.25;
}

#device .performanceBoard .benchmarkLines li .complex .name a {
	display: block;
	max-width: 100%;
	overflow: hidden;
	color: #273139;
	font-weight: 700;
	text-overflow: ellipsis;
	white-space: nowrap;
}

#device .performanceBoard .benchmarkLines li.current .complex .name {
	font-size: 14px;
}

#device .performanceBoard .benchmarkLines li.current .complex .name::after {
	content: "Dispozitivul curent";
	display: block;
	margin-top: 2px;
	color: var(--performance-accent-strong);
	font-size: 9px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: 0.045em;
	text-transform: uppercase;
}

#device .performanceBoard .benchmarkLines li .complex .bar {
	position: relative;
	display: block;
	width: 100%;
	height: 7px;
	border-radius: 999px;
	background: #e6ebef;
	overflow: hidden;
}

#device .performanceBoard .benchmarkLines li .complex .bar em {
	display: block;
	height: 100%;
	min-width: 3px;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--performance-accent), var(--performance-accent-strong));
}

#device .performanceBoard .benchmarkLines li div.points {
	width: auto;
	padding: 0;
	color: #273139;
	font-family: "Roboto Condensed", sans-serif;
	font-size: 14px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	line-height: 1.2;
	text-align: right;
	overflow: visible;
}

#device .performanceBoard .benchmarkLines li .ui-benchmark-details {
	position: relative;
	display: flex;
	grid-column: 1 / -1;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 44px;
	padding: 0 16px;
	border: 1px solid var(--performance-accent);
	border-radius: 999px;
	background: var(--performance-accent);
	color: #fff;
	font-family: "Roboto Condensed", sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	box-shadow: 0 8px 18px rgba(25, 39, 61, 0.12);
}

#device .performanceBoard .benchmarkLines li .ui-benchmark-details .dashed,
#device .performanceBoard .benchmarkLines li .ui-benchmark-details .plus {
	display: none;
}

#device .performanceBoard .performanceBoard__moreText {
	display: inline;
}

/* Ranking snippets embedded in articles */

#article .performanceRanking.benchmarkResults {
	display: block !important;
	float: none;
	clear: both;
	width: 100% !important;
	max-width: 100%;
	margin: 18px 0;
	border: 1px solid var(--performance-border);
	border-radius: var(--performance-radius);
	background:
		radial-gradient(circle at 96% 0, var(--performance-soft), transparent 36%),
		linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(249, 250, 252, 0.96));
	box-shadow: var(--performance-shadow);
	overflow: hidden;
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
}

#articleWrapper #article .performanceRanking.benchmarkResults {
	float: right;
	clear: right;
	width: 592px !important;
	max-width: 592px;
	margin: 8px 0 16px;
}

#article .performanceRanking > h3 {
	display: block;
	margin: 0;
	padding: 15px 18px;
	border: 0;
	border-bottom: 1px solid var(--performance-border);
	background: linear-gradient(180deg, var(--performance-soft), rgba(255, 255, 255, 0.76));
	color: var(--performance-text);
	font-family: "Open Sans", sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	text-align: left;
	text-shadow: none;
}

#article .performanceRanking > ul {
	display: block;
	width: 100%;
	margin: 0;
	padding: 12px;
	border: 0;
	background: transparent;
	list-style: none;
}

#article .performanceRanking > ul::before {
	display: none;
}

#article .performanceRanking > ul > li {
	display: grid;
	grid-template-columns: 30px minmax(130px, 1fr) minmax(210px, 1.5fr);
	align-items: center;
	gap: 10px;
	min-height: 48px;
	margin: 0 0 6px;
	padding: 7px 9px;
	border: 1px solid transparent;
	border-radius: 13px;
	background: rgba(255, 255, 255, 0.62);
	list-style: none;
}

#article .performanceRanking > ul > li.current {
	border-color: var(--performance-border);
	background: linear-gradient(100deg, var(--performance-soft), #fff);
}

#article .performanceRanking > ul > li > span {
	display: block;
	width: auto;
	height: auto;
	padding: 0;
	font-family: "Open Sans", sans-serif;
	font-size: 12px !important;
	line-height: 1.25 !important;
	overflow: visible;
}

#article .performanceRanking > ul > li > .index {
	color: #9ca6ae;
	font-family: "Open Sans Condensed", sans-serif;
	font-size: 18px !important;
	font-weight: 700;
	text-align: center;
}

#article .performanceRanking > ul > li.current > .index {
	color: var(--performance-accent);
}

#article .performanceRanking > ul > li > .deviceName {
	min-width: 0;
	overflow: hidden;
	color: #28323a;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}

#article .performanceRanking > ul > li.current > .deviceName::after {
	content: "Dispozitivul curent";
	display: block;
	margin-top: 2px;
	color: var(--performance-accent-strong);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.045em;
	text-transform: uppercase;
}

#article .performanceRanking > ul > li > .points {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	min-width: 0;
	height: 32px;
	padding: 0 10px;
	border-radius: 9px;
	background: #e9edf1;
	overflow: hidden;
}

#article .performanceRanking > ul > li > .points em {
	position: absolute;
	inset: 0 auto 0 0;
	display: block;
	height: 100%;
	min-width: 3px;
	margin: 0;
	border: 0;
	background: linear-gradient(90deg, var(--performance-accent), var(--performance-accent-strong));
	opacity: 0.22;
}

#article .performanceRanking .performanceRanking__score {
	position: relative;
	z-index: 1;
	color: #253039;
	font-size: 12px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

#article .performanceRanking > ul > li.performanceRanking__more {
	display: flex;
	grid-template-columns: none;
	justify-content: flex-end;
	min-height: 46px;
	padding: 4px 0 0;
	background: transparent;
}

#article .performanceRanking__more .dashed {
	display: none;
}

#article .performanceRanking__more .plus,
#article .performanceRanking__more.ui-open-embedded-test-details {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	height: 40px;
	min-width: 180px;
	padding: 0 16px;
	border: 1px solid var(--performance-accent);
	border-radius: 999px;
	background: var(--performance-accent);
	color: #fff;
	font-size: 12px !important;
	font-weight: 700;
	line-height: 1 !important;
	text-align: center;
	cursor: pointer;
}

#article .performanceRanking__more.ui-open-embedded-test-details .plus {
	display: none;
}

#article .performanceRanking__moreText {
	display: inline;
	color: #fff;
	font-weight: 700;
}

#article .performanceRanking > .description {
	display: block;
	margin: 0;
	padding: 12px 16px 15px;
	border-top: 1px solid var(--performance-border);
	background: var(--performance-soft);
	color: var(--performance-muted);
	font-family: "Open Sans", sans-serif;
	font-size: 12px;
	line-height: 1.5;
}

/* Comparison matrix snippets */

#article .performanceMatrix.reviewBenchmarkSnippet {
	display: block !important;
	float: none;
	clear: both;
	width: 100% !important;
	max-width: 100%;
	margin: 18px 0;
	border: 1px solid var(--performance-border);
	border-radius: var(--performance-radius);
	background: linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(249, 250, 252, 0.96));
	box-shadow: var(--performance-shadow);
	overflow: hidden;
}

#articleWrapper #article .performanceMatrix.reviewBenchmarkSnippet {
	float: right;
	clear: right;
	width: 592px !important;
	max-width: 592px;
	margin: 8px 0 16px;
}

#article .performanceMatrix__heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 13px 16px;
	border-bottom: 1px solid var(--performance-border);
	background: linear-gradient(180deg, var(--performance-soft), rgba(255, 255, 255, 0.78));
}

#article .performanceMatrix__heading span,
#article .performanceMatrix__heading strong {
	display: block;
	height: auto;
	padding: 0;
	line-height: 1.25;
}

#article .performanceMatrix__heading span {
	color: var(--performance-accent-strong);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

#article .performanceMatrix__heading strong {
	color: var(--performance-text);
	font-size: 14px;
	font-weight: 700;
	text-align: right;
}

#article .performanceMatrix__scroll {
	display: block;
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-inline: contain;
	scrollbar-width: thin;
	scrollbar-color: var(--performance-accent) var(--performance-soft);
}

#article .performanceMatrix__scroll::-webkit-scrollbar {
	height: 8px;
}

#article .performanceMatrix__scroll::-webkit-scrollbar-track {
	background: var(--performance-soft);
}

#article .performanceMatrix__scroll::-webkit-scrollbar-thumb {
	border: 2px solid var(--performance-soft);
	border-radius: 999px;
	background: var(--performance-accent);
}

#article .performanceMatrix__table {
	display: table !important;
	width: max-content;
	min-width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	font-family: "Open Sans", sans-serif;
	table-layout: auto;
}

#article .performanceMatrix__table > .row {
	display: table-row;
}

#article .performanceMatrix__table > .row > .cell {
	position: relative;
	display: table-cell;
	min-width: 132px;
	height: 48px;
	padding: 9px 11px;
	border: 0;
	border-right: 1px solid #edf0f3;
	border-bottom: 1px solid #e8edf1;
	background: rgba(255, 255, 255, 0.94);
	color: #29333b;
	font-size: 12px;
	line-height: 1.35;
	vertical-align: middle;
}

#article .performanceMatrix__table > .row > .cell:last-child {
	border-right: 0;
}

#article .performanceMatrix__table > .row:last-child > .cell {
	border-bottom: 0;
}

#article .performanceMatrix__table > .row > .cell > b {
	display: none;
}

#article .performanceMatrix__table > .row > .cell > em {
	display: block;
	max-height: none;
	padding: 0;
	font-style: normal;
	font-weight: 500;
	overflow: visible;
}

#article .performanceMatrix__table > .header > .cell {
	background: var(--performance-soft);
	color: var(--performance-text);
	font-weight: 700;
}

#article .performanceMatrix__table > .row > .benchmark,
#article .performanceMatrix__table > .row > .performanceMatrix__corner,
#article .performanceMatrix__table > .performanceMatrix__totals > .header:first-child {
	position: sticky;
	left: 0;
	z-index: 2;
	min-width: 176px;
	max-width: 210px;
	background: #fff;
	box-shadow: 8px 0 14px -12px rgba(27, 39, 51, 0.45);
	font-weight: 700;
}

#article .performanceMatrix__table > .header > .performanceMatrix__corner {
	z-index: 3;
	background: var(--performance-soft);
}

#article .performanceMatrix__table .device {
	min-width: 142px;
	color: #263139;
	font-weight: 700;
	text-align: center;
}

#article .performanceMatrix__table .points {
	font-size: 12px;
	font-variant-numeric: tabular-nums;
	text-align: center;
}

#article .performanceMatrix__table .winner {
	background: var(--performance-success-soft);
	color: #075f37;
	font-weight: 700;
}

#article .performanceMatrix__table .winner::after {
	content: "✓";
	position: absolute;
	top: 5px;
	right: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--performance-success);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
}

#article .performanceMatrix__table .performanceMatrix__totals > .cell {
	background: var(--performance-soft);
	color: var(--performance-accent-strong);
	font-weight: 700;
}

#article .performanceMatrix__table .performanceMatrix__totals > .is-total-winner {
	background: var(--performance-success-soft);
	color: #075f37;
}

/* Full ranking overlays */

#overlayBenchmarkDetails.performanceOverlay {
	width: min(760px, calc(100vw - 48px));
	height: min(620px, calc(100vh - 70px));
	border: 1px solid rgba(255, 255, 255, 0.78);
	border-radius: 24px;
	background:
		radial-gradient(circle at 96% 0, var(--performance-soft), transparent 35%),
		rgba(255, 255, 255, 0.98);
	box-shadow: 0 28px 80px rgba(10, 18, 32, 0.25);
	overflow: hidden;
}

#overlayBenchmarkDetails.performanceOverlay h2 {
	margin: 0;
	padding: 22px 64px 17px 24px;
	border: 0;
	border-bottom: 1px solid var(--performance-border);
	background: rgba(255, 255, 255, 0.78);
	color: var(--performance-text);
	font-family: "Open Sans Condensed", sans-serif;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.25;
}

#overlayBenchmarkDetails.performanceOverlay h2 .benchmarkTitle {
	color: var(--performance-accent-strong);
	font-weight: 700;
}

#overlayBenchmarkDetails.performanceOverlay .benchmarkLines {
	display: block;
	height: calc(100% - 66px);
	margin: 0;
	padding: 14px 18px 20px;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: var(--performance-accent) var(--performance-soft);
}

#overlayBenchmarkDetails.performanceOverlay .benchmarkLines li {
	display: grid;
	grid-template-columns: 36px minmax(155px, 220px) minmax(220px, 1fr);
	align-items: center;
	gap: 10px;
	height: auto;
	min-height: 52px;
	margin: 0 0 6px;
	padding: 8px 10px;
	border: 1px solid transparent;
	border-radius: 13px;
	background: rgba(248, 250, 252, 0.76);
	overflow: visible;
}

#overlayBenchmarkDetails.performanceOverlay .benchmarkLines li.current {
	border-color: var(--performance-border);
	background: linear-gradient(100deg, var(--performance-soft), #fff);
}

#overlayBenchmarkDetails.performanceOverlay .benchmarkLines li > span {
	display: block;
	width: auto;
	height: auto;
	color: #2a343c;
	font-family: "Open Sans", sans-serif;
	font-size: 13px;
	line-height: 1.25;
	overflow: visible;
}

#overlayBenchmarkDetails.performanceOverlay .benchmarkLines .index {
	color: #99a4ac;
	font-family: "Open Sans Condensed", sans-serif;
	font-size: 20px;
	font-weight: 700;
	text-align: center;
}

#overlayBenchmarkDetails.performanceOverlay .benchmarkLines li.current .index {
	color: var(--performance-accent);
}

#overlayBenchmarkDetails.performanceOverlay .benchmarkLines .name {
	min-width: 0;
	overflow: hidden;
	font-weight: 600;
	text-align: left;
	text-overflow: ellipsis;
	white-space: nowrap;
}

#overlayBenchmarkDetails.performanceOverlay .benchmarkLines li.current .name::after {
	content: "Dispozitivul curent";
	display: block;
	margin-top: 2px;
	color: var(--performance-accent-strong);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.045em;
	text-transform: uppercase;
}

#overlayBenchmarkDetails.performanceOverlay .benchmarkLines .bar {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	width: 100%;
	height: 34px;
	margin: 0;
	border-radius: 9px;
	background: #e8edf1;
	overflow: hidden;
}

#overlayBenchmarkDetails.performanceOverlay .benchmarkLines .bar .inner {
	position: absolute;
	inset: 0 auto 0 0;
	display: block;
	height: 100%;
	border: 0 !important;
	background: linear-gradient(90deg, var(--performance-accent), var(--performance-accent-strong));
	opacity: 0.2;
}

#overlayBenchmarkDetails.performanceOverlay .benchmarkLines .bar .points {
	position: relative;
	z-index: 1;
	display: block;
	width: auto;
	height: auto;
	padding: 0 10px;
	color: #253039;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	line-height: 1.2;
}

#overlayBenchmarkDetails.performanceOverlay .footer {
	display: none;
}

#overlayBenchmarkDetails.performanceOverlay .ui-action-close-overlay-window {
	position: absolute;
	top: 12px;
	right: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid var(--performance-border);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.9);
	color: #334049;
	font-size: 25px;
	font-weight: 400;
	line-height: 1;
	text-decoration: none;
	box-shadow: 0 7px 18px rgba(25, 39, 61, 0.09);
}

.performanceOverlay__status {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 120px !important;
	color: var(--performance-muted) !important;
	font-weight: 600 !important;
	text-align: center !important;
}

.performanceOverlay__status--error {
	color: var(--performance-danger) !important;
}

.ui-viewport-window.benchmarkDetails.performanceOverlayMobile {
	position: fixed;
	inset: 0;
	transform: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding:
		max(12px, env(safe-area-inset-top))
		max(12px, env(safe-area-inset-right))
		max(12px, env(safe-area-inset-bottom))
		max(12px, env(safe-area-inset-left));
	overflow: hidden;
}

.ui-viewport-window.benchmarkDetails.performanceOverlayMobile .spaced {
	position: relative;
	display: flex;
	flex-direction: column;
	width: min(100%, 620px);
	height: min(100%, 760px);
	border: 1px solid rgba(255, 255, 255, 0.78);
	border-radius: 22px;
	background:
		radial-gradient(circle at 96% 0, var(--performance-soft), transparent 34%),
		rgba(255, 255, 255, 0.98);
	box-shadow: 0 28px 80px rgba(10, 18, 32, 0.3);
	overflow: hidden;
}

.ui-viewport-window.benchmarkDetails.performanceOverlayMobile .spaced h4 {
	flex: 0 0 auto;
	width: auto;
	height: auto;
	min-height: 68px;
	margin: 0;
	padding: 16px 58px 14px 17px;
	border: 0;
	border-bottom: 1px solid var(--performance-border);
	background: rgba(255, 255, 255, 0.78);
	color: var(--performance-text);
	font-family: "Roboto Condensed", sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.3;
	text-align: left;
}

.ui-viewport-window.benchmarkDetails.performanceOverlayMobile .spaced h4 em {
	color: var(--performance-accent-strong);
	font-size: 18px;
	font-weight: 700;
}

.ui-viewport-window.benchmarkDetails.performanceOverlayMobile .spaced .ui-action-close {
	position: absolute;
	top: 11px;
	right: 11px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--performance-border);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: #334049;
	font-size: 25px;
	font-weight: 400;
	line-height: 1;
	opacity: 1;
	z-index: 3;
}

.ui-viewport-window.benchmarkDetails.performanceOverlayMobile .spaced .scroller {
	flex: 1 1 auto;
	width: 100%;
	height: auto !important;
	min-height: 0;
	overflow: hidden;
}

.ui-viewport-window.benchmarkDetails.performanceOverlayMobile .scroller > ul {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 12px;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: var(--performance-accent) var(--performance-soft);
}

.ui-viewport-window.benchmarkDetails.performanceOverlayMobile .scroller > ul > li {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr) minmax(64px, auto);
	align-items: center;
	gap: 8px;
	min-height: 58px;
	margin: 0 0 7px;
	padding: 9px 10px;
	border: 1px solid transparent;
	border-radius: 13px;
	background: rgba(248, 250, 252, 0.8);
	color: #29333b;
}

.ui-viewport-window.benchmarkDetails.performanceOverlayMobile .scroller > ul > li.current {
	border-color: var(--performance-border);
	background: linear-gradient(100deg, var(--performance-soft), #fff);
}

.ui-viewport-window.benchmarkDetails.performanceOverlayMobile .scroller > ul > li > span {
	display: block;
	width: auto;
	height: auto;
	padding: 0;
	font-family: "Roboto Condensed", sans-serif;
	font-size: 14px;
	line-height: 1.2;
}

.ui-viewport-window.benchmarkDetails.performanceOverlayMobile .scroller .index {
	color: #9ba5ae;
	font-size: 20px;
	font-weight: 700;
	text-align: center;
}

.ui-viewport-window.benchmarkDetails.performanceOverlayMobile .scroller li.current .index {
	color: var(--performance-accent);
}

.ui-viewport-window.benchmarkDetails.performanceOverlayMobile .scroller .complex {
	min-width: 0;
}

.ui-viewport-window.benchmarkDetails.performanceOverlayMobile .scroller .complex .name {
	display: block;
	max-width: 100%;
	margin: 0 0 7px;
	overflow: hidden;
	color: #273139;
	font-weight: 700;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ui-viewport-window.benchmarkDetails.performanceOverlayMobile .scroller li.current .complex .name::after {
	content: "Dispozitivul curent";
	display: block;
	margin-top: 2px;
	color: var(--performance-accent-strong);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.045em;
	text-transform: uppercase;
}

.ui-viewport-window.benchmarkDetails.performanceOverlayMobile .scroller .complex .bar {
	position: relative;
	display: block;
	width: 100%;
	height: 7px;
	border-radius: 999px;
	background: #e6ebef;
	overflow: hidden;
}

.ui-viewport-window.benchmarkDetails.performanceOverlayMobile .scroller .complex .bar .inner {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--performance-accent), var(--performance-accent-strong));
}

.ui-viewport-window.benchmarkDetails.performanceOverlayMobile .scroller .points {
	color: #273139;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	text-align: right;
}

/* Cascade guards for the high-specificity legacy bundles. */

#deviceWrapper .leftColumn .sectionDetails.performanceBoard .performanceBoard__selector li {
	width: auto;
	border: 0;
}

#deviceWrapper .leftColumn .sectionDetails.performanceBoard .performanceBoard__selector li a,
#deviceWrapper .leftColumn.phone .sectionDetails.performanceBoard .performanceBoard__selector li a,
#deviceWrapper .leftColumn.tablet .sectionDetails.performanceBoard .performanceBoard__selector li a,
#deviceWrapper .leftColumn.watch .sectionDetails.performanceBoard .performanceBoard__selector li a {
	display: flex;
	min-width: 0;
	height: auto;
	min-height: 42px;
	padding: 9px 12px 9px 15px;
	border: 1px solid transparent;
	border-radius: 12px;
	background: transparent;
	color: #39424a;
	line-height: 1.3;
	white-space: normal;
}

#deviceWrapper .leftColumn.phone .sectionDetails.performanceBoard .performanceBoard__selector li a.active,
#deviceWrapper .leftColumn.tablet .sectionDetails.performanceBoard .performanceBoard__selector li a.active,
#deviceWrapper .leftColumn.watch .sectionDetails.performanceBoard .performanceBoard__selector li a.active {
	border-color: var(--performance-border);
	background: rgba(255, 255, 255, 0.96);
	color: var(--performance-accent-strong);
}

#deviceWrapper .leftColumn .sectionDetails.performanceBoard .performanceBoard__content > .performanceBoard__heading,
#deviceWrapper .leftColumn.phone .sectionDetails.performanceBoard .performanceBoard__content > .performanceBoard__heading,
#deviceWrapper .leftColumn.tablet .sectionDetails.performanceBoard .performanceBoard__content > .performanceBoard__heading,
#deviceWrapper .leftColumn.watch .sectionDetails.performanceBoard .performanceBoard__content > .performanceBoard__heading {
	display: flex;
	height: auto;
	min-height: 58px;
	padding: 12px 20px;
	border-bottom: 1px solid var(--performance-border);
	background: rgba(255, 255, 255, 0.76);
	color: var(--performance-text);
	font-size: 17px;
	line-height: 1.25;
	overflow: visible;
}

#deviceWrapper .leftColumn .sectionDetails.performanceBoard .performanceBoard__content .benchmarkLines li:not(.dividerPopup) {
	display: grid;
}

#deviceWrapper .leftColumn .sectionDetails.performanceBoard .performanceBoard__content .benchmarkLines li div.index {
	display: block;
	width: auto;
	height: auto;
	margin: 0;
	padding: 0;
	color: #a0a9b2;
	line-height: 1;
}

#deviceWrapper .leftColumn .sectionDetails.performanceBoard .performanceBoard__content .benchmarkLines li.current div.index {
	color: var(--performance-accent);
}

#deviceWrapper .leftColumn .sectionDetails.performanceBoard .performanceBoard__content .benchmarkLines li div.name {
	display: block;
	width: auto;
	height: auto;
	line-height: 1.3;
	text-align: left;
}

#deviceWrapper .leftColumn .sectionDetails.performanceBoard .performanceBoard__content .benchmarkLines li div.bar {
	display: block;
	width: 100%;
	height: 9px;
	padding: 0;
	line-height: 1;
}

#deviceWrapper .leftColumn .sectionDetails.performanceBoard .performanceBoard__content .benchmarkLines li div.points {
	display: block;
	width: auto;
	height: auto;
	padding: 0;
	line-height: 1.25;
	text-align: right;
}

#deviceWrapper .leftColumn .sectionDetails.performanceBoard .performanceBoard__content .benchmarkLines li.dividerPopup {
	display: flex;
	height: auto;
}

#deviceWrapper .leftColumn .sectionDetails.performanceBoard .performanceBoard__content .benchmarkLines li.dividerPopup .plus {
	position: static;
	display: inline-flex;
	width: auto;
	height: 38px;
	min-width: 178px;
	padding: 0 15px;
	border-radius: 999px;
	font-size: 11px;
	line-height: 1;
}

#device.phone .ui-section.performanceBoard .performanceBoard__mobilePanel .benchmarkLines > li,
#device.tablet .ui-section.performanceBoard .performanceBoard__mobilePanel .benchmarkLines > li,
#device.watch .ui-section.performanceBoard .performanceBoard__mobilePanel .benchmarkLines > li {
	display: grid;
}

#device .ui-section.performanceBoard .performanceBoard__mobilePanel .benchmarkLines li div.index {
	display: block;
	width: auto !important;
	color: #9ba5ae !important;
}

#device .ui-section.performanceBoard .performanceBoard__mobilePanel .benchmarkLines li.current div.index {
	color: var(--performance-accent) !important;
}

#device .ui-section.performanceBoard .performanceBoard__mobilePanel .benchmarkLines li div.complex {
	display: block;
	width: auto !important;
}

#device .ui-section.performanceBoard .performanceBoard__mobilePanel .benchmarkLines li div.points {
	display: block;
	width: auto !important;
	color: #273139;
}

#device .ui-section.performanceBoard .performanceBoard__mobilePanel .benchmarkLines li .complex .bar {
	display: block;
	width: 100% !important;
	height: 7px;
	background: #e6ebef !important;
}

#device .ui-section.performanceBoard .performanceBoard__mobilePanel .benchmarkLines li .complex .bar em {
	background: linear-gradient(90deg, var(--performance-accent), var(--performance-accent-strong)) !important;
}

#device .ui-section.performanceBoard .performanceBoard__mobilePanel .benchmarkLines li .ui-benchmark-details {
	display: flex;
	height: 44px;
	padding: 0 16px;
	border-radius: 999px;
	background: var(--performance-accent);
}

#articleWrapper #article .performanceRanking > h3 {
	padding: 15px 18px;
	border: 0;
	border-bottom: 1px solid var(--performance-border);
	background: linear-gradient(180deg, var(--performance-soft), rgba(255, 255, 255, 0.76));
	font-size: 16px;
	line-height: 1.3;
	text-align: left;
}

#articleWrapper #article .performanceRanking > ul {
	width: 100%;
	margin: 0;
	padding: 12px;
	border: 0;
}

#articleWrapper #article .performanceRanking > ul > li {
	display: grid;
	min-height: 48px;
	margin: 0 0 6px;
	padding: 7px 9px;
}

#articleWrapper #article .performanceRanking > ul > li > span {
	display: block;
	width: auto;
	height: auto;
	padding: 0;
	font-size: 12px;
	line-height: 1.25;
}

#articleWrapper #article .performanceRanking > ul > li > .points {
	display: flex;
	width: auto;
	height: 32px;
	margin: 0;
	padding: 0 10px;
}

#articleWrapper #article .performanceRanking > ul > li > .points em {
	position: absolute;
	height: 100%;
	margin: 0;
	border: 0;
	background: linear-gradient(90deg, var(--performance-accent), var(--performance-accent-strong));
}

#articleWrapper #article .performanceRanking > ul > li.performanceRanking__more > .plus {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	height: 40px;
	min-width: 180px;
	padding: 0 16px;
	border: 1px solid var(--performance-accent);
	border-radius: 999px;
	background: var(--performance-accent);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}

#articleWrapper #article .performanceMatrix__table > .row > .cell {
	display: table-cell;
	min-width: 132px;
	height: 48px;
	padding: 9px 11px;
	border: 0;
	border-right: 1px solid #edf0f3;
	border-bottom: 1px solid #e8edf1;
	background: rgba(255, 255, 255, 0.94);
	font-size: 12px;
	line-height: 1.35;
}

#articleWrapper #article .performanceMatrix__table > .header > .cell,
#articleWrapper #article.review .performanceMatrix__table > .header > .cell {
	background: var(--performance-soft);
}

#articleWrapper #article .performanceMatrix__table > .row > .benchmark,
#articleWrapper #article .performanceMatrix__table > .row > .performanceMatrix__corner,
#articleWrapper #article .performanceMatrix__table > .performanceMatrix__totals > .header:first-child {
	background: #fff;
}

#articleWrapper #article .performanceMatrix__table .winner,
#articleWrapper #article.review .performanceMatrix__table .winner {
	background: var(--performance-success-soft);
}

/* Interaction states */

.performanceBoard [role="tab"]:focus,
.performanceBoard [role="button"]:focus,
.performanceRanking [role="button"]:focus,
.performanceMatrix [tabindex="0"]:focus,
.performanceOverlay [role="button"]:focus,
.performanceOverlayMobile [role="button"]:focus {
	outline: 3px solid #94b0ff;
	outline: 3px solid color-mix(in srgb, var(--performance-accent) 38%, white);
	outline-offset: 2px;
}

@media (max-width: 600px) {
	#article .performanceRanking > ul > li {
		grid-template-columns: 28px minmax(0, 1fr) auto;
		gap: 7px;
		padding: 9px 8px;
	}

	#article .performanceRanking > ul > li > .points {
		grid-column: 2 / 4;
		width: 100%;
	}

	#article .performanceRanking > ul > li.performanceRanking__more {
		display: flex;
	}

	#article .performanceRanking > ul > li.performanceRanking__more.ui-open-embedded-test-details {
		justify-content: center;
		width: 100%;
		min-width: 0;
		height: 44px;
		padding: 0 16px;
		border: 1px solid var(--performance-accent);
		border-radius: 999px;
		background: var(--performance-accent);
		color: #fff;
	}

	#article .performanceRanking__more .plus,
	#article .performanceRanking__more.ui-open-embedded-test-details {
		width: 100%;
		min-width: 0;
		height: 44px;
	}

	#article .performanceMatrix__heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 3px;
	}

	#article .performanceMatrix__heading strong {
		text-align: left;
	}

	#article .performanceMatrix__table > .row > .cell {
		min-width: 128px;
		padding: 9px;
	}

	#article .performanceMatrix__table > .row > .benchmark,
	#article .performanceMatrix__table > .row > .performanceMatrix__corner,
	#article .performanceMatrix__table > .performanceMatrix__totals > .header:first-child {
		min-width: 148px;
		max-width: 174px;
	}
}

@media (min-width: 600px) {
	#device .performanceBoard .performanceBoard__mobilePanel .benchmarkLines > li {
		grid-template-columns: 42px minmax(0, 1fr) minmax(110px, 22%);
		min-height: 64px;
		padding: 10px 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.performanceBoard *,
	.performanceRanking *,
	.performanceMatrix *,
	.performanceOverlay *,
	.performanceOverlayMobile * {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

@supports not (color: color-mix(in srgb, black, white)) {
	#deviceWrapper .performanceBoard .benchmarkLines li.dividerPopup .plus {
		box-shadow: 0 8px 18px rgba(24, 86, 255, 0.2);
	}

	.performanceBoard [role="tab"]:focus,
	.performanceBoard [role="button"]:focus,
	.performanceRanking [role="button"]:focus,
	.performanceMatrix [tabindex="0"]:focus,
	.performanceOverlay [role="button"]:focus,
	.performanceOverlayMobile [role="button"]:focus {
		outline: 3px solid #94b0ff;
	}
}
