/* Tema personalizzato IU3CYV: caricato dopo style.min.css, non modifica i file originali.
   Bootstrap viene caricato DOPO questo file: per questo molti selettori sono piu specifici. */

:root {
	--wc-page: #f3f6fa;
	--wc-surface: #ffffff;
	--wc-line: #d3dce8;
	--wc-text: #16222f;
	--wc-muted: #5b6e84;
	--wc-accent: #0b6fcc;
	--wc-head: #31506f;
	--wc-row-even: #e8eef6;
	--wc-row-hover: #fff0a0;
	--wc-comment: #4a5d73;
	--wc-new-bg: #c4efd6;
	--wc-new-flash: #6fdc9f;
	--wc-new-tx: #0a2a1a;
	--wc-new-bar: #12935a;
}

html[data-bs-theme="dark"] {
	--wc-page: #0b1220;
	--wc-surface: #121c2f;
	--wc-line: #28395a;
	--wc-text: #eef3fc;
	--wc-muted: #9bb0cf;
	--wc-accent: #5db4ff;
	--wc-head: #8db6e8;
	--wc-row-even: #172740;
	--wc-row-hover: #6a5400;
	--wc-comment: #b4c3da;
	--wc-new-bg: #0e5a40;
	--wc-new-flash: #1fa26f;
	--wc-new-tx: #ffffff;
	--wc-new-bar: #4ade9b;
	--bs-body-bg: #0b1220;
	--bs-body-bg-rgb: 11, 18, 32;
	--bs-body-color: #eef3fc;
	--bs-secondary-color: #9bb0cf;
}

html body {
	background-color: var(--wc-page);
	color: var(--wc-text);
}

/* ---------- Testata su una riga, con onde radio ---------- */
.container-fluid .ipcs.bg-light.p-4 {
	background-image: url("/static/images/custom/hero.svg") !important;
	background-color: #0f3a63 !important;
	background-size: cover !important;
	background-position: center !important;
	padding: 0.7rem 1.25rem !important;
	border-radius: 10px;
}

.wc-hero {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1.5rem;
	flex-wrap: wrap;
}

.wc-hero-main {
	display: flex;
	align-items: baseline;
	gap: 0.15rem 0.9rem;
	flex-wrap: wrap;
}

.ipcs h1,
.ipcs .display-4 {
	font-size: 1.5rem;
	font-weight: 600;
	margin: 0;
	letter-spacing: 0.3px;
}

.ipcs .lead {
	font-size: 0.9rem;
	margin: 0;
	opacity: 0.85;
}

.wc-hero-links {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.wc-chip {
	color: #ffffff;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 999px;
	padding: 3px 13px;
	font-size: 0.85rem;
	text-decoration: none;
	white-space: nowrap;
}

.wc-chip:hover {
	background: rgba(255, 255, 255, 0.22);
	color: #ffffff;
}

/* ---------- Filtri rapidi ---------- */
.wc-quickbar {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
	padding: 8px 12px 2px;
}

.wc-sep {
	width: 12px;
}

.wc-pill {
	background: var(--wc-surface);
	color: var(--wc-text);
	border: 1px solid var(--wc-line);
	border-radius: 999px;
	padding: 2px 13px;
	font-size: 0.85rem;
	line-height: 1.55;
	cursor: pointer;
}

.wc-pill {
	transition: background-color 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

.wc-pill:hover,
.wc-pill:focus-visible {
	background-color: color-mix(in srgb, var(--wc-accent) 26%, var(--wc-surface));
	border-color: var(--wc-accent);
	color: var(--wc-text);
}

.wc-pill.on,
.wc-pill.on:hover {
	background: var(--wc-accent);
	border-color: var(--wc-accent);
	color: #08121f;
	font-weight: 600;
}

/* ---------- Tabella spot ---------- */
#spotsTable {
	--bs-table-bg: transparent;
	--bs-table-color: var(--wc-text);
	--bs-table-striped-bg: var(--wc-row-even);
	--bs-table-striped-color: var(--wc-text);
	--bs-table-hover-bg: var(--wc-row-hover);
	--bs-table-hover-color: var(--wc-text);
	color: var(--wc-text);
}

#spotsTable thead th {
	font-weight: 700;
	font-size: 0.95rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--wc-accent);
	background: transparent;
	border-bottom: 3px solid var(--wc-accent);
	padding: 10px 6px 8px;
	white-space: nowrap;
}

/* "Paese" occupa bandierina + nome e parte dal bordo della bandierina */
#spotsTable thead th.wc-th-flag {
	text-align: left;
}

#spotsTable td {
	vertical-align: middle;
	color: var(--wc-text);
}

/* DE in tono attenuato, DX in evidenza */
#spotsTable tbody td:nth-child(1) {
	color: var(--wc-muted);
}

#spotsTable tbody td:nth-child(4) {
	font-weight: 600;
}

#spotsTable tbody td:nth-child(7) {
	color: var(--wc-comment);
	font-size: 0.9em;
}

#spotsTable tbody td a,
#spotsTable tbody td a i {
	color: var(--wc-muted);
	text-decoration: none;
}

#spotsTable tbody td a:hover i {
	color: var(--wc-accent);
}

#spotsTable tbody tr > div {
	color: var(--wc-muted);
}

#spotsTable tbody td.wc-utc {
	color: var(--wc-muted);
	white-space: nowrap;
	line-height: 1.25;
}

#spotsTable tbody td.wc-utc > div > div + div {
	font-size: 0.75em;
	opacity: 0.85;
}

/* Spot appena arrivati: Bootstrap li evidenzia con .table-info (azzurro chiaro),
   qui sostituito con colori leggibili in entrambi i temi */
#spotsTable tr.table-info {
	--bs-table-bg: transparent;
	--bs-table-bg-type: transparent;
	--bs-table-bg-state: transparent;
	--bs-table-color: var(--wc-new-tx);
	--bs-table-color-type: var(--wc-new-tx);
}

/* Spot appena arrivati: lampo luminoso che sfuma nel colore di riposo */
#spotsTable tr.table-info > td {
	background-color: var(--wc-new-bg) !important;
	animation: wc-flash 7s ease-out;
}

/* passando il mouse su uno spot nuovo vale lo stesso giallo delle altre righe */
#spotsTable tr.table-info:hover > td {
	background-color: var(--wc-row-hover) !important;
	animation: none;
}

@keyframes wc-flash {
	0% { background-color: var(--wc-new-flash); }
	35% { background-color: var(--wc-new-flash); }
	100% { background-color: var(--wc-new-bg); }
}

@media (prefers-reduced-motion: reduce) {
	#spotsTable tr.table-info > td {
		animation: none;
	}
}

#spotsTable tr.table-info > td,
#spotsTable tr.table-info > td a,
#spotsTable tr.table-info > td a i,
#spotsTable tr.table-info > div {
	color: var(--wc-new-tx) !important;
}

#spotsTable tr.table-info > td:first-child {
	box-shadow: inset 5px 0 0 var(--wc-new-bar);
}

#spotsTable mark {
	background: #ffd84d;
	color: #1b1b1b;
	padding: 0 3px;
	border-radius: 3px;
}

/* Bandiere: nessuno sfondo ne cornice piena, solo un filo sottile per staccarle dalla riga */
.img-flag {
	background-color: transparent !important;
	background-origin: padding-box !important;
	background-repeat: no-repeat !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 2px !important;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4) !important;
}

html[data-bs-theme="light"] .img-flag {
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25) !important;
}

/* Icona "spedizione DX annunciata" (mappamondo): colore del tema */
#spotsTable .wc-dxped {
	color: var(--wc-accent) !important;
	background: color-mix(in srgb, var(--wc-accent) 18%, transparent);
	border-radius: 50%;
	padding: 3px;
	margin-left: 6px;
	font-size: 0.85em;
	vertical-align: middle;
}

#spotsTable tr.table-info .wc-dxped {
	color: inherit !important;
}

#collapseFilters {
	background-color: var(--wc-surface);
	border: 1px solid var(--wc-line);
	border-radius: 10px;
	color: var(--wc-text);
	padding: 12px;
}

/* ---------- Frequenza con colore per banda ---------- */
.wc-band {
	display: inline-block;
	min-width: 64px;
	text-align: center;
	border-radius: 5px;
	padding: 2px 6px;
	font-weight: 600;
	color: #0b1620;
	background: #cfd6dd;
}

.wc-b160 { background: #f0a8a8; }
.wc-b80 { background: #f0b985; }
.wc-b60 { background: #ecca78; }
.wc-b40 { background: #ebdc72; }
.wc-b30 { background: #c3e277; }
.wc-b20 { background: #f7ad33; }
.wc-b17 { background: #c995f4; }
.wc-b15 { background: #58cce0; }
.wc-b12 { background: #78d9b8; }
.wc-b10 { background: #84d974; }
.wc-b6 { background: #f393c6; }
.wc-bvhf { background: #a5bcf2; }

@media screen and (max-width: 768px) {
	.wc-band {
		min-width: 46px;
		font-size: 0.75rem;
	}

	.wc-quickbar {
		padding: 6px 8px 2px;
	}

	.wc-hero-links {
		width: 100%;
	}
}

/* ---------- Icone: al passaggio del mouse si illumina anche lo sfondo ---------- */
#spotsTable tbody td a {
	display: inline-block;
	padding: 1px 6px;
	border-radius: 7px;
	transition: background-color 0.12s ease, box-shadow 0.12s ease;
}

#spotsTable tbody td a:hover,
#spotsTable tbody td a:focus-visible {
	background-color: color-mix(in srgb, var(--wc-accent) 28%, transparent);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--wc-accent) 55%, transparent);
}

#spotsTable tbody td a:hover i,
#spotsTable tbody td a:focus-visible i {
	color: var(--wc-accent) !important;
}

#wc-theme-toggle,
#wc-sound-toggle {
	transition: background-color 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

#wc-theme-toggle:hover,
#wc-sound-toggle:hover,
#wc-theme-toggle:focus-visible,
#wc-sound-toggle:focus-visible {
	background-color: var(--wc-accent);
	border-color: var(--wc-accent);
	color: #08121f;
}

.wc-quickbar .wc-funnel {
	transition: filter 0.12s ease, box-shadow 0.12s ease;
}

.wc-quickbar .wc-funnel:hover,
.wc-quickbar .wc-funnel:focus-visible {
	filter: brightness(1.2);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--wc-accent) 40%, transparent);
}

.wc-promo-close {
	border-radius: 6px;
	transition: background-color 0.12s ease;
}

.wc-promo-close:hover {
	background-color: color-mix(in srgb, var(--wc-accent) 25%, transparent);
}

/* Pulsante filtri nella riga dei pulsanti */
.wc-quickbar .wc-funnel {
	margin-left: 4px;
	padding: 2px 11px;
	border-radius: 999px;
	line-height: 1.55;
}

/* ---------- Annuncio Aurora: banner grande con luce LED che scorre sul contorno ---------- */
@property --wc-angle {
	syntax: "<angle>";
	initial-value: 0deg;
	inherits: false;
}

.wc-promo {
	position: relative;
	display: flex;
	align-items: center;
	gap: 20px;
	margin: 10px 0.5rem 8px;
	padding: 20px 50px 20px 22px;
	background:
		radial-gradient(circle at 78% 130%, rgba(255, 210, 63, 0.30) 0, transparent 50%),
		linear-gradient(100deg, #04343a 0%, #0a6b6b 55%, #13a08a 100%);
	border-radius: 16px;
	color: #ffffff;
	overflow: hidden;
	box-shadow: 0 0 22px rgba(255, 45, 45, 0.38), 0 6px 22px rgba(0, 0, 0, 0.35);
}

/* contorno luminoso: una luce rossa che corre tutto attorno al banner */
.wc-promo::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 16px;
	padding: 3px;
	background: conic-gradient(from var(--wc-angle),
		rgba(255, 45, 45, 0.20) 0%,
		rgba(255, 45, 45, 0.20) 55%,
		#ff2d2d 78%,
		#ffd6d6 88%,
		#ff2d2d 94%,
		rgba(255, 45, 45, 0.20) 100%);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
	animation: wc-led 3.2s linear infinite;
	pointer-events: none;
}

@keyframes wc-led {
	to { --wc-angle: 360deg; }
}

@media (prefers-reduced-motion: reduce) {
	.wc-promo::before {
		animation: none;
	}
}

.wc-promo[hidden] {
	display: none;
}

.wc-promo-logo {
	flex: 0 0 auto;
	width: 68px;
	height: 68px;
	line-height: 0;
}

.wc-promo-logo img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 15px;
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.45);
}

.wc-promo-body {
	flex: 0 1 60%;
	min-width: 0;
}

.wc-promo-title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 1.4rem;
	line-height: 1.15;
}

.wc-promo-title strong {
	font-weight: 800;
	letter-spacing: 0.4px;
}

.wc-promo-free {
	background: #ffd23f;
	color: #2a2000;
	border-radius: 999px;
	padding: 1px 11px;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.wc-promo-title {
	flex-wrap: wrap;
}

/* sulla stessa riga di "Aurora" e "Gratis", con un po' di spazio in piu */
.wc-promo-head {
	font-size: 1.08rem;
	font-weight: 600;
	margin-left: 16px;
}

.wc-promo-text {
	color: rgba(255, 255, 255, 0.88);
	font-size: 0.86rem;
	line-height: 1.35;
	margin-top: 4px;
}

.wc-promo-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin-top: 8px;
}

.wc-promo-chips span {
	background: rgba(255, 255, 255, 0.16);
	border: 1px solid rgba(255, 255, 255, 0.45);
	color: #ffffff;
	border-radius: 999px;
	padding: 0 10px;
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.6;
}

/* pulsante Scarica con l'etichetta "Nuova app" accanto */
.wc-promo-cta {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 2px;
	padding-left: 0;
}

/* etichetta a stella con il bordo a zigzag */
.wc-promo-new {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 108px;
	height: 108px;
	margin: -14px 14px -14px 0;
	background: #e8590c;
	color: #3a1a00;
	text-align: center;
	font-size: 0.74rem;
	font-weight: 800;
	line-height: 1.1;
	text-transform: uppercase;
	letter-spacing: 0.2px;
	transform: rotate(-9deg);
	clip-path: polygon(50.0% 0.0%, 59.1% 10.0%, 71.7% 5.0%, 75.6% 17.9%, 89.1% 18.8%, 86.9% 32.2%, 98.7% 38.9%, 91.0% 50.0%, 98.7% 61.1%, 86.9% 67.8%, 89.1% 81.2%, 75.6% 82.1%, 71.7% 95.0%, 59.1% 90.0%, 50.0% 100.0%, 40.9% 90.0%, 28.3% 95.0%, 24.4% 82.1%, 10.9% 81.2%, 13.1% 67.8%, 1.3% 61.1%, 9.0% 50.0%, 1.3% 38.9%, 13.1% 32.2%, 10.9% 18.8%, 24.4% 17.9%, 28.3% 5.0%, 40.9% 10.0%);
	animation: wc-new-pulse 2.4s ease-in-out infinite;
}

.wc-promo-new::before {
	content: "";
	position: absolute;
	inset: 6px;
	background: #ffd23f;
	clip-path: polygon(50.0% 0.0%, 59.1% 10.0%, 71.7% 5.0%, 75.6% 17.9%, 89.1% 18.8%, 86.9% 32.2%, 98.7% 38.9%, 91.0% 50.0%, 98.7% 61.1%, 86.9% 67.8%, 89.1% 81.2%, 75.6% 82.1%, 71.7% 95.0%, 59.1% 90.0%, 50.0% 100.0%, 40.9% 90.0%, 28.3% 95.0%, 24.4% 82.1%, 10.9% 81.2%, 13.1% 67.8%, 1.3% 61.1%, 9.0% 50.0%, 1.3% 38.9%, 13.1% 32.2%, 10.9% 18.8%, 24.4% 17.9%, 28.3% 5.0%, 40.9% 10.0%);
}

.wc-promo-new > span {
	position: relative;
	z-index: 1;
	max-width: 70px;
}

@keyframes wc-new-pulse {
	0%, 100% { transform: rotate(-9deg) scale(1); }
	50% { transform: rotate(-9deg) scale(1.07); }
}

@media (prefers-reduced-motion: reduce) {
	.wc-promo-new {
		animation: none;
	}
}

.wc-promo-btn {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #ffffff;
	color: #06474a;
	border-radius: 999px;
	padding: 12px 30px;
	font-size: 1.1rem;
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
	transition: background-color 0.12s ease, box-shadow 0.12s ease, transform 0.12s ease;
}

.wc-promo-btn:hover,
.wc-promo-btn:focus-visible {
	color: #06474a;
	background: #ffe27a;
	box-shadow: 0 0 0 5px rgba(255, 226, 122, 0.42), 0 3px 12px rgba(0, 0, 0, 0.35);
	transform: translateY(-2px);
}

.wc-promo-close {
	position: absolute;
	top: 8px;
	right: 10px;
	background: transparent;
	border: 0;
	border-radius: 6px;
	color: rgba(255, 255, 255, 0.8);
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
	padding: 2px 8px;
	transition: background-color 0.12s ease, color 0.12s ease;
}

.wc-promo-close:hover {
	color: #ffffff;
	background-color: rgba(255, 255, 255, 0.2);
}

@media screen and (max-width: 768px) {
	.wc-promo {
		flex-wrap: wrap;
		gap: 12px;
		padding: 14px 42px 14px 14px;
	}

	.wc-promo-logo {
		width: 52px;
		height: 52px;
	}

	.wc-promo-title {
		font-size: 1.2rem;
	}

	.wc-promo-body {
		flex: 1 1 0;
	}

	.wc-promo-text,
	.wc-promo-chips {
		display: none;
	}

	.wc-promo-cta {
		flex: 0 0 100%;
		width: 100%;
		justify-content: center;
		gap: 6px;
		padding-left: 0;
	}

	.wc-promo-new {
		width: 84px;
		height: 84px;
		margin: -10px 14px -10px 0;
		font-size: 0.62rem;
	}

	.wc-promo-new > span {
		max-width: 54px;
	}

	.wc-promo-btn {
		flex: 1 1 auto;
		justify-content: center;
		padding: 11px 20px;
	}
}

/* ---------- Collegamenti nel piede di pagina ---------- */
.wc-footer-links {
	font-size: 0.85rem;
	color: var(--wc-muted);
}

.wc-footer-links a {
	color: var(--wc-muted);
	margin: 0 0.4rem;
}

.wc-footer-links a:hover {
	color: var(--wc-accent);
}

/* Pulsante di ricerca nominativo e pulsanti della testata: sfondo che si illumina */
#btn-callsign-search {
	transition: background-color 0.12s ease, color 0.12s ease;
}

#btn-callsign-search:hover,
#btn-callsign-search:focus-visible {
	background-color: var(--wc-accent);
	border-color: var(--wc-accent);
	color: #08121f;
}

/* ---------- Bandiere delle lingue (barra scura in alto) ---------- */
.wc-langs {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 3px;
	margin-right: 0.75rem;
}

/* bandierine delle lingue: nessuno sfondo; la lingua attiva e piena, le altre attenuate */
.wc-flag {
	background: transparent !important;
	border: 0 !important;
	border-bottom: 2px solid transparent !important;
	border-radius: 0 !important;
	padding: 3px 3px 2px;
	line-height: 0;
	opacity: 0.55;
	cursor: pointer;
	transition: opacity 0.12s ease, transform 0.12s ease;
}

.wc-flag .fi {
	width: 22px;
	height: 16px;
	border-radius: 2px;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.wc-flag:hover,
.wc-flag:focus-visible {
	opacity: 1;
	transform: translateY(-1px);
}

.wc-flag.on {
	opacity: 1;
	border-bottom-color: var(--wc-accent) !important;
}

/* ---------- Barra in alto senza sfondo scuro: si fonde con la pagina ---------- */
header .navbar.bg-dark {
	background-color: transparent !important;
	border-bottom: 1px solid var(--wc-line);
	padding-top: 0.35rem;
	padding-bottom: 0.35rem;
}

header .navbar .navbar-brand {
	color: var(--wc-text);
	font-weight: 600;
}

header .navbar #MyClockDisplay,
header .navbar .text-white-50 {
	color: var(--wc-muted) !important;
}

header .navbar .navbar-toggler {
	border-color: var(--wc-line);
}

html[data-bs-theme="light"] header .navbar .navbar-toggler-icon {
	filter: invert(1);
}

html[data-bs-theme="light"] .wc-flag .fi {
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.28);
}

/* Voci del menu in alto: tutte pulsanti tondi uguali, ognuna con sfondo e testo propri */
.navbar-nav .nav-link {
	--wc-nav-bg: #3a4350;
	--wc-nav-tx: #ffffff;
	color: var(--wc-nav-tx);
	background-color: var(--wc-nav-bg);
	border-radius: 999px;
	padding: 0.25rem 1rem;
	margin: 0.3rem 0 0.3rem 0.5rem;
	font-weight: 600;
	transition: filter 0.12s ease, box-shadow 0.12s ease, transform 0.12s ease;
}

.navbar-nav .nav-item:nth-child(1) > .nav-link { --wc-nav-bg: #7c5cff; --wc-nav-tx: #ffffff; }
.navbar-nav .nav-item:nth-child(2) > .nav-link { --wc-nav-bg: #f5a524; --wc-nav-tx: #2b1a00; }
.navbar-nav .nav-item:nth-child(3) > .nav-link { --wc-nav-bg: #3bb8e8; --wc-nav-tx: #04202d; }
.navbar-nav .nav-item:nth-child(4) > .nav-link { --wc-nav-bg: #1f9d63; --wc-nav-tx: #ffffff; }

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus-visible {
	color: var(--wc-nav-tx);
	filter: brightness(1.15);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--wc-nav-bg) 45%, transparent);
	transform: translateY(-1px);
}

/* pagina corrente: contorno bianco */
.navbar-nav .nav-link.active {
	color: var(--wc-nav-tx);
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85);
}

/* Le voci del menu in alto restano su una riga */
.navbar-nav .nav-link {
	white-space: nowrap;
}

/* ---------- Pulsante tema ---------- */
#wc-theme-toggle {
	margin-right: 0.5rem;
}

/* filtro sul testo */
.wc-quickbar .wc-textfilter {
	flex: 0 1 220px;
	min-width: 120px;
	height: 32px;
	padding: 0 12px;
	border-radius: 16px;
	border: 1px solid var(--wc-line);
	background: var(--wc-surface);
	color: var(--wc-text);
	font-size: .9rem;
}
.wc-quickbar .wc-textfilter:focus {
	outline: 2px solid var(--wc-accent);
	outline-offset: 1px;
}

/* modo dello spot, accanto alla banda */
.wc-mode {
	display: inline-block;
	margin-left: 0;
	padding: 1px 6px;
	border-radius: 5px;
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .03em;
	vertical-align: middle;
	color: var(--wc-muted);
	border: 1px solid var(--wc-line);
}
.wc-mode.wc-m-ft8, .wc-mode.wc-m-ft4, .wc-mode.wc-m-digi, .wc-mode.wc-m-js8, .wc-mode.wc-m-psk, .wc-mode.wc-m-rtty, .wc-mode.wc-m-wspr {
	color: #7c5cff;
	border-color: #7c5cff;
}
.wc-mode.wc-m-cw { color: #d97706; border-color: #d97706; }
.wc-mode.wc-m-ssb, .wc-mode.wc-m-fm { color: #1f9d63; border-color: #1f9d63; }

.wc-mode { cursor: pointer; }
.wc-mode:hover { background: var(--wc-row-hover); }
.wc-quickbar .wc-modechip[hidden] { display: none; }

/* pulsante WebSDR accanto al nominativo DX */
.wc-websdr {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	margin-left: 6px;
	border-radius: 50%;
	color: var(--wc-muted);
	text-decoration: none;
	vertical-align: middle;
	transition: background-color .15s, color .15s;
}
.wc-websdr:hover,
.wc-websdr:focus-visible {
	background: var(--wc-accent);
	color: #fff;
}

/* nominativi e icone sempre su una riga */
#spotsTable tbody td:nth-child(1),
#spotsTable tbody td:nth-child(4) {
	white-space: nowrap;
}

/* colonne di larghezza regolare: DE, Freq, Modo, DX uguali; Commenti prende il resto */
#spotsTable {
	table-layout: fixed;
}
#spotsTable td,
#spotsTable th {
	overflow: hidden;
	text-overflow: ellipsis;
}
#spotsTable td:nth-child(7) {
	white-space: nowrap;
}
@media (max-width: 991.98px) {
	.wc-col-country, .wc-col-comments { display: none; }
}

/* larghezze delle colonne (gli stili scritti nella pagina sono bloccati dalla sicurezza) */
#spotsTable col:nth-child(1) { width: 13%; }
#spotsTable col:nth-child(2) { width: 13%; }
#spotsTable col:nth-child(3) { width: 13%; }
#spotsTable col:nth-child(4) { width: 15%; }
#spotsTable col:nth-child(5) { width: 5%; }
#spotsTable col:nth-child(6) { width: 11%; }
#spotsTable col:nth-child(8) { width: 8%; }
