.gpxqr-stats-card, .gpxqr-community-card {
	background: #1a1a2e;
	color: #f2f2f7;
	border-radius: 16px;
	padding: 20px 22px;
	box-shadow: 0 6px 20px rgba(0,0,0,.18);
}

.gpxqr-stats-title {
	margin: 0 0 14px;
	font-size: 20px;
	font-weight: 800;
}

.gpxqr-stats-loading {
	opacity: .6;
	font-size: 14px;
	font-style: italic;
}

/* ── Топ маршрути ── */
.gpxqr-track-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.gpxqr-track-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px;
	border-radius: 12px;
	background: rgba(255,255,255,.04);
	text-decoration: none;
	color: inherit;
	transition: background .15s ease;
}
.gpxqr-track-item:hover { background: rgba(255,255,255,.09); }

.gpxqr-track-rank {
	font-size: 22px;
	width: 34px;
	text-align: center;
	flex-shrink: 0;
}

.gpxqr-track-thumb {
	width: 56px; height: 56px;
	border-radius: 10px;
	background-size: cover;
	background-position: center;
	flex-shrink: 0;
}
.gpxqr-track-thumb-empty {
	display: flex; align-items: center; justify-content: center;
	background: rgba(255,255,255,.08);
	font-size: 22px;
}

.gpxqr-track-info { min-width: 0; }
.gpxqr-track-name {
	font-weight: 700;
	font-size: 15px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.gpxqr-track-meta { font-size: 12.5px; opacity: .75; margin-top: 2px; }
.gpxqr-track-visits { font-size: 12px; opacity: .6; margin-top: 2px; }

/* ── Общност / Capture the POI ── */
.gpxqr-community-card {
	background: linear-gradient(135deg, #1a1a2e 0%, #22314f 100%);
	border: 1px solid rgba(255,255,255,.08);
}

.gpxqr-community-desc {
	font-size: 14px;
	opacity: .85;
	margin: 0 0 16px;
	line-height: 1.5;
}

.gpxqr-lb-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 18px;
}

.gpxqr-lb-row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 12px;
	border-radius: 10px;
	background: rgba(255,255,255,.05);
	font-size: 14px;
}
.gpxqr-lb-rank { font-size: 18px; width: 28px; text-align: center; flex-shrink: 0; }
.gpxqr-lb-name { flex: 1; font-weight: 600; }
.gpxqr-lb-count { opacity: .8; font-size: 13px; font-weight: 700; color: #ffd43b; }

.gpxqr-lb-empty {
	font-size: 14px;
	opacity: .7;
	font-style: italic;
	padding: 10px 0;
}

.gpxqr-community-cta {
	display: inline-block;
	background: #ffd43b;
	color: #1a1a2e;
	font-weight: 800;
	padding: 10px 20px;
	border-radius: 999px;
	text-decoration: none;
	font-size: 14.5px;
	transition: transform .15s ease;
}
.gpxqr-community-cta:hover { transform: translateY(-2px); }
