/* =========================================================================
   SvetX Comparatore Tariffe — stili del filtro operatori
   Un solo markup, venti vesti diverse. Si sceglie da
   Comparatore Tariffe → Impostazioni → Grafica → Stile del filtro operatori.
   ========================================================================= */

.stc-compare .stc-fstyle {
	position: relative;
	margin-bottom: 22px;
}

/* La riga finale (destinatari, sottomarche, conteggio) resta leggera:
   ogni stile ha già la sua cornice. */
.stc-compare .stc-fstyle .stc-console-foot {
	margin-top: 12px;
}

/* -------------------------------------------------------------------------
   Neutralizzazione degli stili del tema.

   Molti temi definiscono regole su input[type="search"] e simili: essendo
   selettori con attributo, battono le nostre classi e ridisegnano il campo
   con un bordo rettangolare dentro alla pillola della ricerca. Qui glielo
   togliamo, con selettori abbastanza forti da vincere in ogni tema.
   ------------------------------------------------------------------------- */

.stc-compare .stc-search input,
.stc-compare .stc-search input[type="search"],
.stc-compare .stc-search input[type="text"],
.stc-compare .stc-fcmd-field input,
.stc-compare .stc-fcmd-field input[type="search"],
.stc-compare .stc-fcmd-field input[type="text"] {
	-webkit-appearance: none;
	appearance: none;
	border: 0 !important;
	border-radius: 0 !important;
	background: none !important;
	box-shadow: none !important;
	outline: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	height: auto !important;
	min-height: 0 !important;
	max-width: none;
	line-height: 1.4;
	color: var(--stc-text);
	font: inherit;
	font-size: .92em;
	text-transform: none;
	letter-spacing: normal;
}

.stc-compare .stc-ffacet-search input,
.stc-compare .stc-ffacet-search input[type="search"] {
	-webkit-appearance: none;
	appearance: none;
	box-shadow: none !important;
	outline: 0 !important;
	margin: 0 !important;
	color: var(--stc-text);
	font: inherit;
	font-size: 13px;
	text-transform: none;
}

/* I temi scrivono spesso i bottoni in maiuscolo e con larghezze minime:
   dentro al filtro non deve succedere. Gli stili scuri (10 e 20) rimettono
   il maiuscolo per conto loro, più avanti in questo foglio. */
.stc-compare .stc-fstyle button,
.stc-compare .stc-console button {
	text-transform: none;
	letter-spacing: normal;
	text-shadow: none;
	min-width: 0;
	min-height: 0;
	width: auto;
	text-decoration: none;
}

/* La lente e la crocetta non devono essere toccate dai bottoni del tema. */
.stc-compare .stc-search .stc-search-clear,
.stc-compare .stc-fcmd-field .stc-search-clear {
	min-width: 0;
	min-height: 0;
	text-transform: none;
	letter-spacing: normal;
	box-shadow: none;
}

/* Il menu di ordinamento e il cursore del prezzo, idem. */
.stc-compare .stc-sort select,
.stc-compare .stc-tools select {
	-webkit-appearance: none;
	appearance: none;
	box-shadow: none !important;
	outline: 0 !important;
	text-transform: none;
	letter-spacing: normal;
	min-height: 0;
}

.stc-compare .stc-ffacet-range input[type="range"] {
	-webkit-appearance: auto;
	appearance: auto;
	border: 0 !important;
	background: none !important;
	box-shadow: none !important;
	padding: 0 !important;
	height: auto !important;
	min-height: 0 !important;
}

/* Parti comuni: ogni stile mostra soltanto quelle che gli servono. */

.stc-compare .stc-fitem {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 1px solid var(--stc-border);
	border-radius: 999px;
	padding: 9px 15px;
	background: var(--stc-bg);
	color: var(--stc-text);
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	white-space: nowrap;
	transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .25s ease;
}

.stc-compare .stc-fitem:hover {
	border-color: var(--stc-chip, var(--stc-accent));
}

.stc-compare .stc-fdot {
	width: 9px;
	height: 9px;
	flex: none;
	border-radius: 50%;
	background: var(--stc-chip, var(--stc-muted));
}

.stc-compare .stc-flogo {
	height: 16px;
	width: auto;
	max-width: 60px;
	object-fit: contain;
}

.stc-compare .stc-fn {
	font-size: 12px;
	font-weight: 500;
	color: var(--stc-muted);
}

.stc-compare .stc-fitem.is-active .stc-fn {
	color: inherit;
	opacity: .75;
}

/* Sigla e numero grande servono solo ad alcuni stili. */
.stc-compare .stc-fini,
.stc-compare .stc-fbig {
	display: none;
}

.stc-compare .stc-fbar {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.stc-compare .stc-tools-row {
	margin-top: 12px;
}

/* ====================================================== 1 — Segmento ===== */

.stc-compare .stc-fbar-f1 {
	position: relative;
	flex-wrap: nowrap;
	gap: 2px;
	padding: 5px;
	border: 1px solid var(--stc-border);
	border-radius: 999px;
	background: var(--stc-surface);
	overflow-x: auto;
	scrollbar-width: none;
}

.stc-compare .stc-fbar-f1::-webkit-scrollbar { display: none; }

.stc-compare .stc-fbar-f1 .stc-seg-glider {
	position: absolute;
	top: 5px;
	left: 0;
	height: calc(100% - 10px);
	width: 0;
	border-radius: 999px;
	background: var(--stc-text);
	transition: transform .34s cubic-bezier(.34, 1.2, .38, 1), width .34s cubic-bezier(.34, 1.2, .38, 1), background .25s ease;
	pointer-events: none;
}

.stc-compare .stc-fbar-f1 .stc-fitem {
	position: relative;
	z-index: 1;
	flex: none;
	border: 0;
	background: none;
	color: var(--stc-muted);
}

.stc-compare .stc-fbar-f1 .stc-fitem.is-active {
	color: #fff;
}

.stc-compare .stc-fbar-f1 .stc-fitem.is-active .stc-fdot {
	background: rgba(255, 255, 255, .85);
}

/* =============================================== 2 — Schede sottolineate == */

.stc-compare .stc-fbar-f2 {
	gap: 4px;
	border-bottom: 1px solid var(--stc-border);
	padding-bottom: 0;
	flex-wrap: nowrap;
	overflow-x: auto;
	scrollbar-width: none;
}

.stc-compare .stc-fbar-f2::-webkit-scrollbar { display: none; }

.stc-compare .stc-fbar-f2 .stc-fitem {
	position: relative;
	flex: none;
	border: 0;
	border-radius: 0;
	background: none;
	padding: 10px 14px 14px;
	color: var(--stc-muted);
}

.stc-compare .stc-fbar-f2 .stc-fdot { display: none; }

.stc-compare .stc-fbar-f2 .stc-fitem::after {
	content: "";
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: -1px;
	height: 3px;
	border-radius: 3px 3px 0 0;
	background: var(--stc-chip, var(--stc-accent));
	transform: scaleX(0);
	transition: transform .28s cubic-bezier(.34, 1.2, .38, 1);
}

.stc-compare .stc-fbar-f2 .stc-fitem.is-active {
	color: var(--stc-text);
}

.stc-compare .stc-fbar-f2 .stc-fitem.is-active::after {
	transform: scaleX(1);
}

.stc-compare .stc-fbar-f2 .stc-fn {
	padding: 1px 7px;
	border-radius: 999px;
	background: var(--stc-surface);
}

.stc-compare .stc-fbar-f2 .stc-fitem.is-active .stc-fn {
	background: var(--stc-chip, var(--stc-accent));
	color: #fff;
	opacity: 1;
}

/* ====================================================== 3 — Dock ========= */

.stc-compare .stc-fbar-f3 {
	justify-content: center;
	gap: 6px;
	padding: 9px 14px;
	width: fit-content;
	max-width: 100%;
	margin-inline: auto;
	border: 1px solid var(--stc-border);
	border-radius: 20px;
	background: color-mix(in srgb, var(--stc-bg) 72%, transparent);
	backdrop-filter: saturate(1.7) blur(14px);
	-webkit-backdrop-filter: saturate(1.7) blur(14px);
	box-shadow: 0 18px 40px -26px rgba(16, 24, 40, .9);
	overflow-x: auto;
	scrollbar-width: none;
}

.stc-compare .stc-fbar-f3::-webkit-scrollbar { display: none; }

.stc-compare .stc-fbar-f3 .stc-fitem {
	flex: none;
	flex-direction: column;
	gap: 5px;
	width: 62px;
	padding: 8px 4px;
	border: 0;
	border-radius: 14px;
	background: none;
	font-size: 11px;
	font-weight: 500;
	color: var(--stc-muted);
	transition: transform .26s cubic-bezier(.3, 1.4, .4, 1), background .2s ease, color .2s ease;
}

.stc-compare .stc-fbar-f3 .stc-fitem .stc-fdot {
	width: 26px;
	height: 26px;
	border-radius: 9px;
}

.stc-compare .stc-fbar-f3 .stc-flogo { height: 22px; }
.stc-compare .stc-fbar-f3 .stc-fn { display: none; }

.stc-compare .stc-fbar-f3 .stc-fitem:hover {
	transform: translateY(-6px) scale(1.06);
}

.stc-compare .stc-fbar-f3 .stc-fitem.is-active {
	color: var(--stc-text);
	background: var(--stc-surface);
	transform: translateY(-4px);
}

/* ================================================= 4 — Elenco laterale === */

/* La radice è essa stessa un container: qui serve una media query. */
@media (min-width: 900px) {
	.stc-compare.stc-filter-f4 {
		display: grid;
		grid-template-columns: 216px minmax(0, 1fr);
		column-gap: 24px;
		align-items: start;
	}

	.stc-compare.stc-filter-f4 > * {
		grid-column: 2;
	}

	.stc-compare.stc-filter-f4 > .stc-title {
		grid-column: 1 / -1;
	}

	.stc-compare.stc-filter-f4 > .stc-fstyle {
		grid-column: 1;
		grid-row: span 40;
		margin-bottom: 0;
		position: sticky;
		top: 20px;
	}
}

.stc-compare .stc-fbar-f4 {
	flex-direction: column;
	align-items: stretch;
	gap: 2px;
}

.stc-compare .stc-fbar-f4 .stc-fitem {
	justify-content: flex-start;
	border: 0;
	border-left: 3px solid transparent;
	border-radius: 0 8px 8px 0;
	background: none;
	padding: 10px 12px;
	color: var(--stc-muted);
}

.stc-compare .stc-fbar-f4 .stc-fn {
	margin-left: auto;
}

.stc-compare .stc-fbar-f4 .stc-fitem:hover {
	background: var(--stc-surface);
}

.stc-compare .stc-fbar-f4 .stc-fitem.is-active {
	border-left-color: var(--stc-chip, var(--stc-accent));
	background: color-mix(in srgb, var(--stc-chip, var(--stc-accent)) 10%, transparent);
	color: var(--stc-text);
}

/* ============================================== 5 — Barra di comando ===== */

.stc-compare .stc-fcmd {
	position: relative;
}

.stc-compare .stc-fcmd-field {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 52px;
	padding: 0 16px;
	border: 1px solid var(--stc-border);
	border-radius: 14px;
	background: var(--stc-bg);
	box-shadow: var(--stc-shadow);
}

.stc-compare .stc-fcmd-field svg {
	width: 18px;
	height: 18px;
	flex: none;
	fill: none;
	stroke: var(--stc-muted);
	stroke-width: 2;
	stroke-linecap: round;
}

.stc-compare .stc-fcmd-input {
	flex: 1;
	min-width: 0;
	border: 0;
	background: none;
	font: inherit;
	font-size: 15px;
	color: var(--stc-text);
	outline: none;
	padding: 0;
}

.stc-compare .stc-fcmd-list {
	position: absolute;
	z-index: 12;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	padding: 6px;
	border: 1px solid var(--stc-border);
	border-radius: 14px;
	background: var(--stc-bg);
	box-shadow: 0 24px 48px -28px rgba(16, 24, 40, .9);
	max-height: 320px;
	overflow-y: auto;
}

.stc-compare .stc-fcmd-opt {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 10px 12px;
	border: 0;
	border-radius: 10px;
	background: none;
	font: inherit;
	font-size: 14px;
	color: var(--stc-text);
	cursor: pointer;
	text-align: left;
}

.stc-compare .stc-fcmd-opt em {
	margin-left: auto;
	font-style: normal;
	font-size: 11px;
	color: var(--stc-muted);
}

.stc-compare .stc-fcmd-opt:hover,
.stc-compare .stc-fcmd-opt.is-cur {
	background: var(--stc-surface);
}

/* ============================================ 6 — Riquadri con marchio === */

.stc-compare .stc-fbar-f6 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 10px;
}

.stc-compare .stc-fbar-f6 .stc-fitem {
	position: relative;
	overflow: hidden;
	flex-direction: column;
	gap: 6px;
	padding: 16px 12px;
	border-radius: 14px;
	white-space: normal;
	text-align: center;
}

.stc-compare .stc-fbar-f6 .stc-fitem::before {
	content: "";
	position: absolute;
	inset: auto -20% -50% auto;
	width: 110px;
	height: 110px;
	border-radius: 50%;
	background: var(--stc-chip, var(--stc-accent));
	opacity: .1;
	transition: opacity .25s ease, transform .3s ease;
}

.stc-compare .stc-fbar-f6 .stc-fitem .stc-fdot {
	width: 30px;
	height: 30px;
	border-radius: 10px;
}

.stc-compare .stc-fbar-f6 .stc-flogo { height: 26px; }

.stc-compare .stc-fbar-f6 .stc-fitem.is-active {
	border-color: var(--stc-chip, var(--stc-accent));
	box-shadow: 0 0 0 2px var(--stc-chip, var(--stc-accent)) inset;
}

.stc-compare .stc-fbar-f6 .stc-fitem.is-active::before {
	opacity: .2;
	transform: scale(1.15);
}

/* =============================================== 7 — Carosello marchi ==== */

.stc-compare .stc-fbar-f7 {
	flex-wrap: nowrap;
	gap: 14px;
	padding: 6px 2px 10px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.stc-compare .stc-fbar-f7::-webkit-scrollbar { display: none; }

.stc-compare .stc-fbar-f7 .stc-fitem {
	flex: none;
	scroll-snap-align: center;
	flex-direction: column;
	gap: 7px;
	width: 92px;
	padding: 14px 6px;
	border-radius: 16px;
	font-size: 12px;
	color: var(--stc-muted);
	opacity: .55;
	transform: scale(.9);
}

.stc-compare .stc-fbar-f7 .stc-fitem .stc-fdot {
	width: 34px;
	height: 34px;
}

.stc-compare .stc-fbar-f7 .stc-fn { display: none; }

.stc-compare .stc-fbar-f7 .stc-fitem.is-active {
	opacity: 1;
	transform: scale(1.06);
	color: var(--stc-text);
	border-color: var(--stc-chip, var(--stc-accent));
	box-shadow: 0 14px 30px -20px var(--stc-chip, rgba(16, 24, 40, .8));
}

/* ================================================ 8 — Pillole morbide ==== */

.stc-compare .stc-fbar-f8 .stc-fitem {
	border-radius: 9px;
	padding: 7px 12px;
	background: var(--stc-surface);
	border-color: transparent;
	font-size: 13.5px;
	font-weight: 500;
}

.stc-compare .stc-fbar-f8 .stc-fdot {
	width: 8px;
	height: 8px;
	border-radius: 3px;
}

.stc-compare .stc-fbar-f8 .stc-fitem.is-active {
	background: var(--stc-bg);
	border-color: var(--stc-chip, var(--stc-accent));
	box-shadow: 0 0 0 1px var(--stc-chip, var(--stc-accent));
	font-weight: 600;
}

/* ================================================ 9 — Menu a discesa ===== */

.stc-compare .stc-fdrop {
	position: relative;
	display: inline-block;
}

.stc-compare .stc-fdrop-btn {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	height: 44px;
	padding: 0 16px;
	border: 1px solid var(--stc-border);
	border-radius: 12px;
	background: var(--stc-bg);
	color: var(--stc-text);
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.stc-compare .stc-fdrop-state {
	padding: 2px 9px;
	border-radius: 999px;
	background: var(--stc-accent);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
}

.stc-compare .stc-fdrop-chev {
	width: 8px;
	height: 8px;
	border-right: 2px solid var(--stc-muted);
	border-bottom: 2px solid var(--stc-muted);
	transform: rotate(45deg) translate(-2px, -2px);
	transition: transform .25s ease;
}

.stc-compare .stc-fdrop.is-open .stc-fdrop-chev {
	transform: rotate(-135deg) translate(-3px, -3px);
}

.stc-compare .stc-fdrop-menu {
	position: absolute;
	z-index: 12;
	top: calc(100% + 8px);
	left: 0;
	min-width: 250px;
	padding: 8px;
	border: 1px solid var(--stc-border);
	border-radius: 14px;
	background: var(--stc-bg);
	box-shadow: 0 24px 48px -28px rgba(16, 24, 40, .9);
}

.stc-compare .stc-fdrop-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 10px;
	border-radius: 9px;
	font-size: 14px;
	cursor: pointer;
}

.stc-compare .stc-fdrop-item:hover {
	background: var(--stc-surface);
}

.stc-compare .stc-fdrop-item em {
	margin-left: auto;
	font-style: normal;
	font-size: 12px;
	color: var(--stc-muted);
}

.stc-compare .stc-fdrop-foot {
	display: flex;
	gap: 8px;
	margin-top: 8px;
	padding-top: 8px;
	border-top: 1px solid var(--stc-border);
}

.stc-compare .stc-fdrop-foot button {
	flex: 1;
	height: 34px;
	border: 1px solid var(--stc-border);
	border-radius: 9px;
	background: var(--stc-bg);
	color: var(--stc-text);
	font: inherit;
	font-size: 13px;
	cursor: pointer;
}

/* ======================================================= 10 — Neon ======= */

.stc-compare .stc-fbar-f10 {
	gap: 9px;
	padding: 14px;
	border-radius: 16px;
	background: #0c1017;
	border: 1px solid rgba(255, 255, 255, .1);
}

.stc-compare .stc-fbar-f10 .stc-fitem {
	border-radius: 10px;
	border-color: rgba(255, 255, 255, .14);
	background: rgba(255, 255, 255, .04);
	color: #e7ecf5;
	font-size: 13px;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.stc-compare .stc-fbar-f10 .stc-fn { color: rgba(231, 236, 245, .55); }

.stc-compare .stc-fbar-f10 .stc-fitem:hover {
	background: rgba(255, 255, 255, .1);
}

.stc-compare .stc-fbar-f10 .stc-fitem.is-active {
	color: #fff;
	border-color: var(--stc-chip, #0a84ff);
	background: color-mix(in srgb, var(--stc-chip, #0a84ff) 24%, transparent);
	box-shadow: 0 0 0 1px var(--stc-chip, #0a84ff), 0 0 26px -6px var(--stc-chip, #0a84ff);
}

/* ============================================== 11 — Cursore a scatti ==== */

.stc-compare .stc-fbar-f11 {
	position: relative;
	flex-wrap: nowrap;
	gap: 0;
	height: 48px;
	padding: 5px;
	border: 1px solid var(--stc-border);
	border-radius: 999px;
	background: var(--stc-surface);
	overflow-x: auto;
	scrollbar-width: none;
}

.stc-compare .stc-fbar-f11::-webkit-scrollbar { display: none; }

.stc-compare .stc-fbar-f11 .stc-seg-glider {
	position: absolute;
	top: 5px;
	left: 0;
	height: 36px;
	width: 0;
	border-radius: 999px;
	background: var(--stc-text);
	box-shadow: 0 6px 16px -8px rgba(16, 24, 40, .8);
	transition: transform .38s cubic-bezier(.34, 1.25, .4, 1), width .38s cubic-bezier(.34, 1.25, .4, 1), background .3s ease;
	pointer-events: none;
}

.stc-compare .stc-fbar-f11 .stc-fitem {
	position: relative;
	z-index: 1;
	flex: 1 0 auto;
	justify-content: center;
	border: 0;
	background: none;
	color: var(--stc-muted);
}

.stc-compare .stc-fbar-f11 .stc-fdot { display: none; }

.stc-compare .stc-fbar-f11 .stc-fitem.is-active {
	color: #fff;
}

/* ==================================================== 12 — Bento ========= */

.stc-compare .stc-fbar-f12 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 10px;
}

.stc-compare .stc-fbar-f12 .stc-fitem {
	position: relative;
	overflow: hidden;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	padding: 15px;
	border-radius: 14px;
	white-space: normal;
	text-align: left;
}

.stc-compare .stc-fbar-f12 .stc-fitem::before {
	content: "";
	position: absolute;
	inset: auto -25% -55% auto;
	width: 120px;
	height: 120px;
	border-radius: 50%;
	background: var(--stc-chip, var(--stc-accent));
	opacity: .1;
	transition: opacity .25s ease, transform .3s ease;
}

.stc-compare .stc-fbar-f12 .stc-fitem:first-child {
	grid-column: span 2;
	grid-row: span 2;
	justify-content: flex-end;
}

.stc-compare .stc-fbar-f12 .stc-fbig {
	display: block;
	font-size: 30px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -.03em;
}

.stc-compare .stc-fbar-f12 .stc-fitem:first-child .stc-fbig {
	font-size: 44px;
}

.stc-compare .stc-fbar-f12 .stc-flabel {
	margin-top: 6px;
	font-size: 13.5px;
}

.stc-compare .stc-fbar-f12 .stc-fdot,
.stc-compare .stc-fbar-f12 .stc-flogo,
.stc-compare .stc-fbar-f12 .stc-fn {
	display: none;
}

.stc-compare .stc-fbar-f12 .stc-fitem.is-active {
	border-color: var(--stc-chip, var(--stc-accent));
	box-shadow: 0 0 0 2px var(--stc-chip, var(--stc-accent)) inset;
}

.stc-compare .stc-fbar-f12 .stc-fitem.is-active::before {
	opacity: .2;
}

@container (max-width: 620px) {
	.stc-compare .stc-fbar-f12 .stc-fitem:first-child {
		grid-column: span 2;
		grid-row: auto;
	}
}

/* ================================================ 13 — Fisarmonica ======= */

.stc-compare .stc-fbar-f13 {
	flex-wrap: nowrap;
	gap: 8px;
}

.stc-compare .stc-fbar-f13 .stc-fitem {
	flex: 0 1 60px;
	min-width: 0;
	overflow: hidden;
	justify-content: flex-start;
	height: 52px;
	border-radius: 14px;
	transition: flex-basis .42s cubic-bezier(.4, 1.1, .35, 1), flex-grow .42s cubic-bezier(.4, 1.1, .35, 1),
		background .28s ease, border-color .28s ease;
}

.stc-compare .stc-fbar-f13 .stc-fini {
	display: grid;
	place-items: center;
	flex: none;
	width: 26px;
	height: 26px;
	border-radius: 8px;
	background: var(--stc-chip, var(--stc-text));
	color: #fff;
	font-size: 12px;
	font-weight: 700;
}

.stc-compare .stc-fbar-f13 .stc-fdot,
.stc-compare .stc-fbar-f13 .stc-flogo {
	display: none;
}

.stc-compare .stc-fbar-f13 .stc-flabel,
.stc-compare .stc-fbar-f13 .stc-fn {
	opacity: 0;
	transition: opacity .3s ease .08s;
}

.stc-compare .stc-fbar-f13 .stc-fitem.is-active {
	flex: 1 1 auto;
	border-color: var(--stc-chip, var(--stc-accent));
	background: color-mix(in srgb, var(--stc-chip, var(--stc-accent)) 10%, var(--stc-bg));
}

.stc-compare .stc-fbar-f13 .stc-fitem.is-active .stc-flabel,
.stc-compare .stc-fbar-f13 .stc-fitem.is-active .stc-fn {
	opacity: 1;
}

/* ============================================ 14 — Pulsante a raggiera === */

.stc-compare .stc-ffan {
	position: relative;
	height: 62px;
}

.stc-compare .stc-ffan-fab {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 12;
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--stc-text);
	color: var(--stc-bg);
	font: inherit;
	font-size: 22px;
	cursor: pointer;
	box-shadow: 0 10px 24px -12px rgba(16, 24, 40, .9);
	transition: background .3s ease;
}

.stc-compare .stc-ffan-chev {
	display: block;
	transition: transform .35s cubic-bezier(.3, 1.3, .4, 1);
}

.stc-compare .stc-ffan.is-open .stc-ffan-chev {
	transform: rotate(135deg);
}

.stc-compare .stc-ffan-cur {
	position: absolute;
	left: 72px;
	top: 10px;
	font-size: 14px;
	font-weight: 600;
}

.stc-compare .stc-ffan-cur span {
	display: block;
	margin-top: 2px;
	font-size: 11.5px;
	font-weight: 400;
	color: var(--stc-muted);
}

.stc-compare .stc-ffan-opt {
	position: absolute;
	left: 4px;
	top: 4px;
	z-index: 11;
	display: flex;
	align-items: center;
	gap: 9px;
	height: 42px;
	padding: 0 18px 0 14px;
	border: 1px solid var(--stc-border);
	border-radius: 999px;
	background: var(--stc-bg);
	color: var(--stc-text);
	font: inherit;
	font-size: 13.5px;
	font-weight: 600;
	white-space: nowrap;
	cursor: pointer;
	opacity: 0;
	pointer-events: none;
	transform: translate(0, 0) scale(.7);
	transition: transform .4s cubic-bezier(.3, 1.25, .4, 1), opacity .26s ease, box-shadow .25s ease;
	box-shadow: 0 12px 26px -16px rgba(16, 24, 40, .8);
}

.stc-compare .stc-ffan.is-open .stc-ffan-opt {
	opacity: 1;
	pointer-events: auto;
}

.stc-compare .stc-ffan-opt em {
	font-style: normal;
	font-size: 11.5px;
	font-weight: 400;
	color: var(--stc-muted);
}

.stc-compare .stc-ffan-opt.is-active {
	border-color: var(--stc-chip, var(--stc-accent));
	box-shadow: 0 0 0 2px var(--stc-chip, var(--stc-accent)) inset, 0 12px 26px -16px rgba(16, 24, 40, .7);
}

/* ================================================ 15 — Cassetto ========== */

/* Il cassetto deve coprire tutto il comparatore: né il suo contenitore
   né il blocco del filtro devono fargli da riferimento. */
.stc-compare .stc-fstyle-f15,
.stc-compare .stc-fdraw {
	position: static;
}

.stc-compare .stc-fdraw-open {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 44px;
	padding: 0 18px;
	border: 1px solid var(--stc-border);
	border-radius: 12px;
	background: var(--stc-bg);
	color: var(--stc-text);
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.stc-compare .stc-fdraw-cur {
	font-weight: 400;
	font-size: 12.5px;
	color: var(--stc-muted);
}

.stc-compare .stc-fdraw-scrim {
	/* Assoluto rispetto al comparatore: la pagina intorno resta usabile. */
	position: absolute;
	inset: 0;
	z-index: 30;
	background: rgba(15, 18, 22, .4);
	opacity: 0;
	transition: opacity .3s ease;
}

.stc-compare .stc-fdraw.is-open .stc-fdraw-scrim {
	opacity: 1;
}

.stc-compare .stc-fdraw-panel {
	position: absolute;
	z-index: 31;
	top: 0;
	left: 0;
	bottom: 0;
	width: 300px;
	max-width: 86vw;
	padding: 22px 18px;
	display: flex;
	flex-direction: column;
	gap: 2px;
	background: var(--stc-bg);
	color: var(--stc-text);
	border-right: 1px solid var(--stc-border);
	box-shadow: 24px 0 48px -34px rgba(0, 0, 0, .8);
	transform: translateX(-104%);
	transition: transform .36s cubic-bezier(.3, 1, .4, 1);
	overflow-y: auto;
}

.stc-compare .stc-fdraw.is-open .stc-fdraw-panel {
	transform: none;
}

.stc-compare .stc-fdraw-panel h4 {
	margin: 0 0 12px;
	font-size: 15px;
}

.stc-compare .stc-fdraw-item {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 10px 12px;
	border: 0;
	border-radius: 10px;
	background: none;
	color: var(--stc-text);
	font: inherit;
	font-size: 14px;
	text-align: left;
	cursor: pointer;
}

.stc-compare .stc-fdraw-item em {
	margin-left: auto;
	font-style: normal;
	font-size: 12px;
	color: var(--stc-muted);
}

.stc-compare .stc-fdraw-item:hover {
	background: var(--stc-surface);
}

.stc-compare .stc-fdraw-item.is-active {
	background: color-mix(in srgb, var(--stc-chip, var(--stc-accent)) 12%, transparent);
	font-weight: 600;
}

.stc-compare .stc-fdraw-foot {
	margin-top: auto;
	padding-top: 14px;
}

.stc-compare .stc-fdraw-close {
	width: 100%;
	height: 42px;
	border: 0;
	border-radius: 10px;
	background: var(--stc-text);
	color: var(--stc-bg);
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

/* ============================================ 16 — Interruttori multipli = */

.stc-compare .stc-fsw {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.stc-compare .stc-fsw-item {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 42px;
	padding: 0 14px 0 8px;
	border: 1px solid var(--stc-border);
	border-radius: 999px;
	background: var(--stc-bg);
	color: var(--stc-text);
	font: inherit;
	font-size: 13.5px;
	font-weight: 600;
	cursor: pointer;
	transition: border-color .2s ease, background .2s ease;
}

.stc-compare .stc-fsw-item em {
	font-style: normal;
	font-size: 11.5px;
	font-weight: 400;
	color: var(--stc-muted);
}

.stc-compare .stc-fsw-knob {
	position: relative;
	width: 34px;
	height: 20px;
	flex: none;
	border-radius: 999px;
	background: var(--stc-border);
	transition: background .25s ease;
}

.stc-compare .stc-fsw-knob::after {
	content: "";
	position: absolute;
	top: 2px;
	left: 2px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
	transition: transform .25s cubic-bezier(.3, 1.4, .4, 1);
}

.stc-compare .stc-fsw-item.is-active {
	border-color: var(--stc-chip, var(--stc-accent));
	background: color-mix(in srgb, var(--stc-chip, var(--stc-accent)) 8%, var(--stc-bg));
}

.stc-compare .stc-fsw-item.is-active .stc-fsw-knob {
	background: var(--stc-chip, var(--stc-accent));
}

.stc-compare .stc-fsw-item.is-active .stc-fsw-knob::after {
	transform: translateX(14px);
}

.stc-compare .stc-fsw-note {
	width: 100%;
	margin: 2px 0 0;
	font-size: 12.5px;
	color: var(--stc-muted);
}

/* ================================================== 17 — Faccette ======== */

.stc-compare .stc-ffacet {
	display: grid;
	grid-template-columns: 1fr auto auto;
	gap: 14px;
	align-items: center;
	padding: 14px;
	border: 1px solid var(--stc-border);
	border-radius: 14px;
	background: var(--stc-surface);
}

@container (max-width: 860px) {
	.stc-compare .stc-ffacet {
		grid-template-columns: 1fr;
	}
}

.stc-compare .stc-ffacet-ops {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.stc-compare .stc-ffacet-ops .stc-fitem {
	height: 34px;
	padding: 0 13px;
	border-radius: 9px;
	font-size: 13px;
	font-weight: 500;
}

.stc-compare .stc-ffacet-ops .stc-fitem.is-active {
	background: var(--stc-chip, var(--stc-text));
	border-color: var(--stc-chip, var(--stc-text));
	color: #fff;
}

.stc-compare .stc-ffacet-range {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	color: var(--stc-muted);
}

.stc-compare .stc-ffacet-range input {
	width: 150px;
	accent-color: var(--stc-accent);
}

.stc-compare .stc-ffacet-range b {
	color: var(--stc-text);
	font-variant-numeric: tabular-nums;
	min-width: 92px;
}

.stc-compare .stc-ffacet-search {
	position: relative;
	display: flex;
	align-items: center;
}

.stc-compare .stc-ffacet-search input {
	height: 34px;
	padding: 0 30px 0 12px;
	border: 1px solid var(--stc-border);
	border-radius: 9px;
	background: var(--stc-bg);
	color: var(--stc-text);
	font: inherit;
	font-size: 13px;
	min-width: 160px;
}

.stc-compare .stc-ffacet-search .stc-search-clear {
	position: absolute;
	right: 6px;
	border: 0;
	background: none;
	color: var(--stc-muted);
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
}

/* =================================================== 18 — Nastro ========= */

.stc-compare .stc-fbar-f18 {
	position: sticky;
	top: 8px;
	z-index: 11;
	gap: 8px;
	padding: 12px 14px;
	border: 1px solid var(--stc-border);
	border-radius: 14px;
	background: color-mix(in srgb, var(--stc-bg) 88%, transparent);
	backdrop-filter: saturate(1.6) blur(12px);
	-webkit-backdrop-filter: saturate(1.6) blur(12px);
	transition: padding .28s ease, border-radius .28s ease, box-shadow .28s ease;
}

.stc-compare .stc-fbar-f18.is-shrunk {
	padding: 7px 12px;
	border-radius: 999px;
	box-shadow: 0 10px 26px -20px rgba(16, 24, 40, .9);
}

.stc-compare .stc-fbar-f18 .stc-fitem {
	height: 34px;
	padding: 0 13px;
	font-size: 13px;
	transition: height .25s ease, font-size .25s ease, background .2s ease, color .2s ease;
}

.stc-compare .stc-fbar-f18.is-shrunk .stc-fitem {
	height: 30px;
	font-size: 12.5px;
}

.stc-compare .stc-fbar-f18.is-shrunk .stc-fn {
	display: none;
}

.stc-compare .stc-fbar-f18 .stc-fitem.is-active {
	background: var(--stc-chip, var(--stc-text));
	border-color: var(--stc-chip, var(--stc-text));
	color: #fff;
}

/* ============================================== 19 — Prospettiche ======== */

.stc-compare .stc-fbar-f19 {
	perspective: 900px;
	gap: 12px;
	padding: 6px 0 12px;
}

.stc-compare .stc-fbar-f19 .stc-fitem {
	transform-style: preserve-3d;
	flex-direction: column;
	align-items: flex-start;
	gap: 3px;
	min-width: 116px;
	padding: 13px 16px;
	border-radius: 14px;
	transform: rotateY(13deg);
	box-shadow: 0 6px 18px -14px rgba(16, 24, 40, .9);
	transition: transform .4s cubic-bezier(.3, 1.1, .4, 1), box-shadow .35s ease, border-color .3s ease;
}

.stc-compare .stc-fbar-f19 .stc-fitem:nth-child(even) {
	transform: rotateY(-13deg);
}

.stc-compare .stc-fbar-f19 .stc-fdot {
	width: 26px;
	height: 3px;
	border-radius: 999px;
}

.stc-compare .stc-fbar-f19 .stc-flogo { height: 14px; }

.stc-compare .stc-fbar-f19 .stc-fitem:hover {
	transform: rotateY(0deg) translateZ(18px);
}

.stc-compare .stc-fbar-f19 .stc-fitem.is-active {
	transform: rotateY(0deg) translateZ(32px);
	border-color: var(--stc-chip, var(--stc-accent));
	box-shadow: 0 22px 40px -24px var(--stc-chip, rgba(16, 24, 40, .9));
}

/* ================================================ 20 — Olografica ======== */

@property --stc-ang {
	syntax: "<angle>";
	initial-value: 0deg;
	inherits: false;
}

.stc-compare .stc-fbar-f20 {
	position: relative;
	gap: 9px;
	padding: 3px;
	border-radius: 18px;
	background: linear-gradient(90deg, var(--stc-chip, #0a84ff), #7b61ff, #00e5c0);
}

@supports (background: conic-gradient(from 0deg, red, blue)) {
	.stc-compare .stc-fbar-f20 {
		background: conic-gradient(from var(--stc-ang), var(--stc-chip, #0a84ff), #7b61ff, #00e5c0, var(--stc-chip, #0a84ff));
		animation: stc-holo 6s linear infinite;
	}
}

.stc-compare .stc-fbar-f20::before {
	content: "";
	position: absolute;
	inset: 3px;
	border-radius: 15px;
	background: #0c1017;
}

.stc-compare .stc-fbar-f20 .stc-fitem {
	position: relative;
	z-index: 1;
	margin: 3px;
	border-radius: 10px;
	border-color: rgba(255, 255, 255, .14);
	background: rgba(255, 255, 255, .04);
	color: #e7ecf5;
	font-size: 13px;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.stc-compare .stc-fbar-f20 .stc-fn { color: rgba(231, 236, 245, .55); }

.stc-compare .stc-fbar-f20 .stc-fitem.is-active {
	color: #fff;
	border-color: var(--stc-chip, #0a84ff);
	background: color-mix(in srgb, var(--stc-chip, #0a84ff) 26%, transparent);
	box-shadow: 0 0 0 1px var(--stc-chip, #0a84ff), 0 0 26px -6px var(--stc-chip, #0a84ff);
}

@keyframes stc-holo {
	to { --stc-ang: 360deg; }
}

/* --------------------------------------------------------- Adattamenti --- */

@media (prefers-reduced-motion: reduce) {
	.stc-compare .stc-fbar-f20 { animation: none; }
	.stc-compare .stc-seg-glider,
	.stc-compare .stc-ffan-opt,
	.stc-compare .stc-fdraw-panel,
	.stc-compare .stc-fbar-f13 .stc-fitem,
	.stc-compare .stc-fbar-f19 .stc-fitem {
		transition: none;
	}
}

@container (max-width: 560px) {
	.stc-compare .stc-fbar-f6,
	.stc-compare .stc-fbar-f12 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.stc-compare .stc-ffacet-range input {
		width: 100%;
	}
}

/* Nell'elenco laterale gli strumenti stanno in colonna, non in riga. */

@media (min-width: 900px) {
	.stc-compare.stc-filter-f4 .stc-tools-row,
	.stc-compare.stc-filter-f4 .stc-console-foot,
	.stc-compare.stc-filter-f4 .stc-console-right {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
	}

	.stc-compare.stc-filter-f4 .stc-sort,
	.stc-compare.stc-filter-f4 .stc-sort select {
		width: 100%;
	}

	.stc-compare.stc-filter-f4 .stc-pills {
		flex-wrap: wrap;
	}
}

/* Alcuni temi non definiscono questa classe: senza regola il testo di
   servizio comparirebbe accanto al menu di ordinamento. */

.stc-compare .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

/* -------------------------------------------------------------------------
   Opzioni del filtro scelte nelle Impostazioni: cosa compare accanto al nome,
   conteggi, allineamento e dimensione.
   ------------------------------------------------------------------------- */

/* Con il logo presente il pallino sparisce (impostazione «auto»). */
.stc-compare.stc-fbadge-auto .stc-flogo + .stc-fdot,
.stc-compare.stc-fbadge-auto .stc-seg-logo + .stc-seg-dot,
.stc-compare.stc-fbadge-logo .stc-fdot,
.stc-compare.stc-fbadge-logo .stc-seg-dot,
.stc-compare.stc-fbadge-colore .stc-flogo,
.stc-compare.stc-fbadge-colore .stc-seg-logo,
.stc-compare.stc-fbadge-iniziale .stc-flogo,
.stc-compare.stc-fbadge-iniziale .stc-seg-logo,
.stc-compare.stc-fbadge-iniziale .stc-fdot,
.stc-compare.stc-fbadge-iniziale .stc-seg-dot,
.stc-compare.stc-fbadge-niente .stc-flogo,
.stc-compare.stc-fbadge-niente .stc-seg-logo,
.stc-compare.stc-fbadge-niente .stc-fdot,
.stc-compare.stc-fbadge-niente .stc-seg-dot,
.stc-compare.stc-fbadge-niente .stc-fini {
	display: none !important;
}

.stc-compare.stc-fbadge-iniziale .stc-fitem .stc-fini {
	display: grid;
	place-items: center;
	flex: none;
	min-width: 24px;
	height: 20px;
	padding: 0 5px;
	border-radius: 6px;
	background: color-mix(in srgb, var(--stc-chip, var(--stc-accent)) 16%, transparent);
	color: var(--stc-chip, var(--stc-accent));
	font-size: 11px;
	font-weight: 700;
}

.stc-compare.stc-fno-counts .stc-fn,
.stc-compare.stc-fno-counts .stc-fbig {
	display: none !important;
}

.stc-compare.stc-falign-center .stc-fbar,
.stc-compare.stc-falign-center .stc-seg,
.stc-compare.stc-falign-center .stc-console-main {
	justify-content: center;
}

.stc-compare.stc-fsize-sm .stc-fitem,
.stc-compare.stc-fsize-sm .stc-seg-item {
	padding: 6px 11px;
	font-size: 13px;
}

.stc-compare.stc-fsize-lg .stc-fitem,
.stc-compare.stc-fsize-lg .stc-seg-item {
	padding: 12px 20px;
	font-size: 16px;
}

.stc-compare.stc-fsize-lg .stc-flogo,
.stc-compare.stc-fsize-lg .stc-seg-logo {
	height: 22px;
}

/* =========================================================================
   21–30 · Stili futuristici

   Sono tutti costruiti sullo stesso markup degli altri: cambiano soltanto
   forma, colori e animazioni. Le animazioni si fermano da sole quando il
   sistema è impostato per ridurre il movimento (regola in fondo al foglio).
   ========================================================================= */

/* ================================================ 21 — Console HUD ======= */

.stc-compare .stc-fbar-f21 {
	position: relative;
	gap: 10px;
	padding: 16px 18px;
	background:
		linear-gradient(180deg, rgba(10, 132, 255, .08), transparent 60%),
		#070b12;
	border: 1px solid rgba(90, 200, 255, .3);
	clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}

.stc-compare .stc-fbar-f21::before,
.stc-compare .stc-fbar-f21::after {
	content: "";
	position: absolute;
	width: 22px;
	height: 22px;
	border: 2px solid rgba(90, 200, 255, .75);
	pointer-events: none;
}

.stc-compare .stc-fbar-f21::before { top: 6px; left: 6px; border-right: 0; border-bottom: 0; }
.stc-compare .stc-fbar-f21::after { right: 6px; bottom: 6px; border-left: 0; border-top: 0; }

.stc-compare .stc-fbar-f21 .stc-fitem {
	border-radius: 0;
	clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
	border-color: rgba(90, 200, 255, .35);
	background: rgba(90, 200, 255, .06);
	color: #cfe9ff;
	font-size: 13px;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.stc-compare .stc-fbar-f21 .stc-fn { color: rgba(207, 233, 255, .55); }

.stc-compare .stc-fbar-f21 .stc-fitem:hover {
	background: rgba(90, 200, 255, .14);
}

.stc-compare .stc-fbar-f21 .stc-fitem.is-active {
	color: #fff;
	border-color: var(--stc-chip, #5ac8ff);
	background: color-mix(in srgb, var(--stc-chip, #5ac8ff) 26%, transparent);
	box-shadow: 0 0 0 1px var(--stc-chip, #5ac8ff), 0 0 24px -6px var(--stc-chip, #5ac8ff);
}

/* ==================================================== 22 — Radar ========= */

.stc-compare .stc-fbar-f22 {
	position: relative;
	overflow: hidden;
	gap: 10px;
	padding: 18px;
	border-radius: 16px;
	background: radial-gradient(circle at 50% 120%, rgba(0, 255, 170, .16), transparent 60%), #04140f;
	border: 1px solid rgba(0, 255, 170, .28);
}

.stc-compare .stc-fbar-f22::before {
	content: "";
	position: absolute;
	inset: -60% -10%;
	background: conic-gradient(from 0deg, rgba(0, 255, 170, .22) 0deg, transparent 60deg);
	animation: stc-sweep 4.5s linear infinite;
	pointer-events: none;
}

@keyframes stc-sweep { to { transform: rotate(1turn); } }

.stc-compare .stc-fbar-f22 .stc-fitem {
	position: relative;
	z-index: 1;
	border-radius: 999px;
	border-color: rgba(0, 255, 170, .3);
	background: rgba(4, 20, 15, .8);
	color: #b9ffe6;
	font-size: 13px;
	letter-spacing: .05em;
}

.stc-compare .stc-fbar-f22 .stc-fdot { box-shadow: 0 0 10px currentColor; }
.stc-compare .stc-fbar-f22 .stc-fn { color: rgba(185, 255, 230, .55); }

.stc-compare .stc-fbar-f22 .stc-fitem.is-active {
	color: #eafff7;
	border-color: var(--stc-chip, #00ffaa);
	box-shadow: 0 0 0 1px var(--stc-chip, #00ffaa), 0 0 28px -8px var(--stc-chip, #00ffaa);
}

/* ================================================= 23 — Terminale ======== */

.stc-compare .stc-fbar-f23 {
	gap: 8px 14px;
	padding: 16px 18px;
	border-radius: 10px;
	background: #0b0f0b;
	border: 1px solid rgba(120, 255, 120, .25);
	font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

.stc-compare .stc-fbar-f23::before {
	content: "operatore:~$";
	flex: none;
	color: rgba(120, 255, 120, .65);
	font-size: 12.5px;
	letter-spacing: .04em;
}

.stc-compare .stc-fbar-f23 .stc-fitem {
	border: 0;
	border-radius: 3px;
	padding: 4px 8px;
	background: none;
	color: #9dff9d;
	font-family: inherit;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .02em;
}

.stc-compare .stc-fbar-f23 .stc-fdot { display: none; }
.stc-compare .stc-fbar-f23 .stc-fn { color: rgba(157, 255, 157, .45); }

.stc-compare .stc-fbar-f23 .stc-fitem:hover { background: rgba(120, 255, 120, .12); }

.stc-compare .stc-fbar-f23 .stc-fitem.is-active {
	background: #9dff9d;
	color: #0b0f0b;
	font-weight: 700;
}

.stc-compare .stc-fbar-f23 .stc-fitem.is-active::after {
	content: "_";
	margin-left: 4px;
	animation: stc-caret 1s steps(1) infinite;
}

@keyframes stc-caret { 50% { opacity: 0; } }

/* ================================================= 24 — Cristalli ======== */

.stc-compare .stc-fbar-f24 {
	gap: 12px;
	padding: 6px 0;
}

.stc-compare .stc-fbar-f24 .stc-fitem {
	position: relative;
	overflow: hidden;
	padding: 12px 22px;
	border-radius: 0;
	clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 12px 100%, 0 50%);
	border: 0;
	background:
		linear-gradient(135deg, color-mix(in srgb, var(--stc-chip, var(--stc-accent)) 18%, transparent), transparent 55%),
		var(--stc-surface);
	color: var(--stc-text);
}

.stc-compare .stc-fbar-f24 .stc-fitem::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .55) 50%, transparent 60%);
	transform: translateX(-120%);
	transition: transform .6s ease;
}

.stc-compare .stc-fbar-f24 .stc-fitem:hover::after { transform: translateX(120%); }

.stc-compare .stc-fbar-f24 .stc-fitem.is-active {
	background:
		linear-gradient(135deg, var(--stc-chip, var(--stc-accent)), color-mix(in srgb, var(--stc-chip, var(--stc-accent)) 55%, #fff));
	color: #fff;
}

.stc-compare .stc-fbar-f24 .stc-fitem.is-active .stc-fn { color: rgba(255, 255, 255, .8); }

/* ============================================== 25 — Equalizzatore ======= */

.stc-compare .stc-fbar-f25 {
	gap: 10px;
	align-items: flex-end;
	padding: 8px 0 4px;
}

.stc-compare .stc-fbar-f25 .stc-fitem {
	flex-direction: column;
	gap: 8px;
	padding: 12px 16px 10px;
	border-radius: 12px;
	background: var(--stc-surface);
	border-color: transparent;
}

.stc-compare .stc-fbar-f25 .stc-fdot {
	width: 34px;
	height: 18px;
	border-radius: 3px;
	background:
		repeating-linear-gradient(90deg,
			var(--stc-chip, var(--stc-muted)) 0 4px,
			transparent 4px 7px);
	opacity: .45;
	transform-origin: bottom;
}

.stc-compare .stc-fbar-f25 .stc-fitem.is-active {
	border-color: var(--stc-chip, var(--stc-accent));
	background: color-mix(in srgb, var(--stc-chip, var(--stc-accent)) 10%, var(--stc-bg));
}

.stc-compare .stc-fbar-f25 .stc-fitem.is-active .stc-fdot {
	opacity: 1;
	animation: stc-eq .9s ease-in-out infinite alternate;
}

@keyframes stc-eq {
	from { transform: scaleY(.55); }
	to { transform: scaleY(1); }
}

/* =============================================== 26 — Plasma ============= */

.stc-compare .stc-fbar-f26 {
	gap: 12px;
	padding: 16px;
	border-radius: 18px;
	background: #0a0713;
	border: 1px solid rgba(160, 120, 255, .25);
}

.stc-compare .stc-fbar-f26 .stc-fitem {
	position: relative;
	border-radius: 999px;
	border-color: rgba(160, 120, 255, .3);
	background: rgba(160, 120, 255, .07);
	color: #e6dcff;
}

.stc-compare .stc-fbar-f26 .stc-fitem::before {
	content: "";
	position: absolute;
	inset: -2px;
	border-radius: inherit;
	background: conic-gradient(from 0deg,
		var(--stc-chip, #a078ff), transparent 25%, var(--stc-chip, #a078ff) 50%, transparent 75%, var(--stc-chip, #a078ff));
	opacity: 0;
	z-index: -1;
	transition: opacity .3s ease;
}

.stc-compare .stc-fbar-f26 .stc-fn { color: rgba(230, 220, 255, .55); }

.stc-compare .stc-fbar-f26 .stc-fitem.is-active {
	color: #fff;
	background: color-mix(in srgb, var(--stc-chip, #a078ff) 30%, transparent);
	border-color: transparent;
	box-shadow: 0 0 30px -8px var(--stc-chip, #a078ff);
	animation: stc-pulse 2.4s ease-in-out infinite;
}

@keyframes stc-pulse {
	0%, 100% { box-shadow: 0 0 26px -10px var(--stc-chip, #a078ff); }
	50% { box-shadow: 0 0 38px -4px var(--stc-chip, #a078ff); }
}

/* ================================================ 27 — Favo ============== */

.stc-compare .stc-fbar-f27 {
	display: grid;
	grid-template-columns: repeat(auto-fill, 116px);
	justify-content: center;
	gap: 8px;
}

@container (max-width: 520px) {
	.stc-compare .stc-fbar-f27 { grid-template-columns: repeat(auto-fill, 98px); }
}

.stc-compare .stc-fbar-f27 .stc-fitem {
	flex-direction: column;
	gap: 5px;
	min-height: 96px;
	padding: 14px 10px;
	border: 0;
	border-radius: 0;
	clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
	background: var(--stc-surface);
	white-space: normal;
	text-align: center;
	transition: transform .25s ease, background .25s ease, color .2s ease;
}

.stc-compare .stc-fbar-f27 .stc-fitem:hover { transform: scale(1.04); }

.stc-compare .stc-fbar-f27 .stc-fdot { width: 12px; height: 12px; }

.stc-compare .stc-fbar-f27 .stc-fitem.is-active {
	background: var(--stc-chip, var(--stc-accent));
	color: #fff;
	transform: scale(1.06);
}

.stc-compare .stc-fbar-f27 .stc-fitem.is-active .stc-fn { color: rgba(255, 255, 255, .8); }
.stc-compare .stc-fbar-f27 .stc-fitem.is-active .stc-fdot { background: rgba(255, 255, 255, .9); }

/* =============================================== 28 — Circuito =========== */

.stc-compare .stc-fbar-f28 {
	position: relative;
	gap: 26px;
	padding: 22px 16px;
	border-radius: 12px;
	background: #071110;
	border: 1px solid rgba(0, 220, 190, .22);
}

.stc-compare .stc-fbar-f28::before {
	content: "";
	position: absolute;
	left: 16px;
	right: 16px;
	top: 50%;
	height: 1px;
	background: repeating-linear-gradient(90deg, rgba(0, 220, 190, .5) 0 12px, transparent 12px 20px);
}

.stc-compare .stc-fbar-f28 .stc-fitem {
	position: relative;
	z-index: 1;
	border-radius: 4px;
	border-color: rgba(0, 220, 190, .35);
	background: #071110;
	color: #a9fff2;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 12.5px;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.stc-compare .stc-fbar-f28 .stc-fitem::after {
	content: "";
	position: absolute;
	left: 50%;
	top: -11px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	transform: translateX(-50%);
	background: rgba(0, 220, 190, .4);
	transition: background .25s ease, box-shadow .25s ease;
}

.stc-compare .stc-fbar-f28 .stc-fn { color: rgba(169, 255, 242, .5); }

.stc-compare .stc-fbar-f28 .stc-fitem.is-active {
	color: #fff;
	border-color: var(--stc-chip, #00dcbe);
	box-shadow: 0 0 0 1px var(--stc-chip, #00dcbe), 0 0 22px -8px var(--stc-chip, #00dcbe);
}

.stc-compare .stc-fbar-f28 .stc-fitem.is-active::after {
	background: var(--stc-chip, #00dcbe);
	box-shadow: 0 0 12px var(--stc-chip, #00dcbe);
}

/* ================================================= 29 — Aurora =========== */

.stc-compare .stc-fbar-f29 {
	position: relative;
	overflow: hidden;
	gap: 10px;
	padding: 16px;
	border-radius: 20px;
	border: 1px solid color-mix(in srgb, var(--stc-text) 10%, transparent);
	background: color-mix(in srgb, var(--stc-surface) 70%, transparent);
	backdrop-filter: blur(16px) saturate(1.5);
	-webkit-backdrop-filter: blur(16px) saturate(1.5);
}

.stc-compare .stc-fbar-f29::before {
	content: "";
	position: absolute;
	inset: -40%;
	background:
		radial-gradient(40% 40% at 20% 30%, color-mix(in srgb, var(--stc-accent) 45%, transparent), transparent 70%),
		radial-gradient(35% 35% at 70% 70%, rgba(255, 90, 200, .35), transparent 70%),
		radial-gradient(35% 35% at 80% 20%, rgba(0, 230, 200, .3), transparent 70%);
	filter: blur(24px);
	animation: stc-aurora 12s ease-in-out infinite alternate;
	pointer-events: none;
}

@keyframes stc-aurora {
	from { transform: translate3d(-4%, -2%, 0) scale(1); }
	to { transform: translate3d(6%, 4%, 0) scale(1.12); }
}

.stc-compare .stc-fbar-f29 .stc-fitem {
	position: relative;
	z-index: 1;
	border-color: color-mix(in srgb, var(--stc-text) 12%, transparent);
	background: color-mix(in srgb, var(--stc-bg) 65%, transparent);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

.stc-compare .stc-fbar-f29 .stc-fitem.is-active {
	border-color: var(--stc-chip, var(--stc-accent));
	background: var(--stc-bg);
	box-shadow: 0 8px 24px -14px var(--stc-chip, var(--stc-accent));
}

/* ================================================== 30 — Glitch ========== */

.stc-compare .stc-fbar-f30 {
	gap: 10px;
	padding: 14px;
	border-radius: 4px;
	background: #0d0d12;
	border: 1px solid rgba(255, 255, 255, .1);
}

.stc-compare .stc-fbar-f30 .stc-fitem {
	position: relative;
	border-radius: 0;
	clip-path: polygon(0 0, 100% 0, 100% 70%, calc(100% - 10px) 100%, 0 100%);
	border-color: rgba(255, 255, 255, .16);
	background: rgba(255, 255, 255, .04);
	color: #e8e8f2;
	font-size: 13px;
	letter-spacing: .07em;
	text-transform: uppercase;
}

.stc-compare .stc-fbar-f30 .stc-fn { color: rgba(232, 232, 242, .5); }

.stc-compare .stc-fbar-f30 .stc-fitem.is-active {
	color: #fff;
	border-color: var(--stc-chip, #ff2e88);
	background: color-mix(in srgb, var(--stc-chip, #ff2e88) 22%, transparent);
	text-shadow: 1.5px 0 rgba(0, 255, 255, .8), -1.5px 0 rgba(255, 0, 120, .8);
	animation: stc-glitch 2.6s steps(2) infinite;
}

@keyframes stc-glitch {
	0%, 92%, 100% { text-shadow: 1.5px 0 rgba(0, 255, 255, .8), -1.5px 0 rgba(255, 0, 120, .8); }
	94% { text-shadow: -3px 0 rgba(0, 255, 255, .9), 3px 0 rgba(255, 0, 120, .9); }
	96% { text-shadow: 3px 0 rgba(0, 255, 255, .9), -3px 0 rgba(255, 0, 120, .9); }
}

/* ------------------------------------------------ Movimento ridotto ----- */

@media (prefers-reduced-motion: reduce) {
	.stc-compare .stc-fbar-f22::before,
	.stc-compare .stc-fbar-f25 .stc-fitem.is-active .stc-fdot,
	.stc-compare .stc-fbar-f26 .stc-fitem.is-active,
	.stc-compare .stc-fbar-f29::before,
	.stc-compare .stc-fbar-f30 .stc-fitem.is-active,
	.stc-compare .stc-fbar-f23 .stc-fitem.is-active::after {
		animation: none;
	}
}
