/* ============================================================
   App Listing template styles.
   Tokens ported from the redesign prototype _ds bundle, scoped to
   .ba-app-listing so they don't leak into the rest of the theme.
   ============================================================ */

.ba-app-listing {
	/* Brand & accent */
	--brand-orange: #f87830;
	--brand-amber: #f8a018;
	--brand-magenta: #e85090;
	--primary: var(--ba-accent);
	--primary-hover: #f87830;
	--rose-5: var(--ba-accent-text);

	/* Surfaces */
	--canvas: #ffffff;
	--surface-grey: #f8f8f8;
	--wash-apps: linear-gradient(180deg, #fff5ea 0%, #ffffff 50%, #fff8f1 100%);
	--wash-feature: linear-gradient(135deg, #fff8ef 0%, #fff2fb 100%);

	/* Hairlines */
	--hairline: #e9e9e9;
	--hairline-warm-3: #ece6ea;

	/* Text */
	--ink: #202020;
	--body: #39434f;
	--body-2: #45505c;
	--muted: #6b7280;
	--muted-2: #5e6673;
	--muted-soft: #7a8591;
	--compliance-text: #5f6976;
	--compliance-link: var(--ba-accent-text);

	/* Gradients */
	--gradient-brand: linear-gradient(135deg, #f87830 0%, #f8a018 50%, #e85090 100%);
	--gradient-bar: linear-gradient(90deg, #f87830 0%, #e85090 100%);
	--gradient-fill: linear-gradient(135deg, #f87830, #e85090);
	--gradient-fill-soft: linear-gradient(135deg, rgba(248, 120, 48, 0.12), rgba(232, 80, 144, 0.14));
	--gradient-dark-purple: linear-gradient(135deg, #221f32 0%, #202837 48%, #34233b 100%);
	--wash-method: linear-gradient(180deg, #ffffff 0%, #fffaf6 100%);
	--wash-rgs: linear-gradient(180deg, #fff7ee 0%, #fff4ea 100%);

	/* Radius */
	--radius-lg: 18px;
	--radius-xl: 22px;
	--radius-xxl: 24px;
	--radius-icon-app: 28px;

	/* Elevation + motion */
	--shadow-soft: 0 8px 24px rgba(32, 32, 32, 0.08);
	--shadow-raised: 0 16px 36px rgba(32, 32, 32, 0.10);
	--shadow-hover: 0 18px 36px rgba(32, 32, 32, 0.11);
	--shadow-glass: 0 14px 34px rgba(9, 13, 20, 0.18);
	--shadow-cta: 0 12px 30px rgba(232, 80, 144, 0.36);
	--lift: translateY(-2px);
	--transition: 180ms cubic-bezier(0.22, 0.61, 0.36, 1);

	/* Fonts — fall back to the theme's families if Manrope/Inter aren't loaded. */
	--font-display: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

	--container-max: 1120px;
}

.ba-app-listing__container {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 24px;
}

/* Align the compact trust strips (methodology + affiliate) to the same content
   column as the rest of the page, directly under the hero. */
.ba-app-listing .ba-trust-strips .container {
	max-width: var(--container-max);
	margin: 0 auto;
	padding-left: 24px;
	padding-right: 24px;
	width: 100%;
}

/* ---------------- App card ---------------- */

.ba-app-card {
	background: #fff;
	border: 1px solid var(--hairline);
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow-soft);
	overflow: hidden;
	transition: var(--transition);
	scroll-margin-top: 150px;
}

.ba-app-card:hover {
	transform: var(--lift);
	box-shadow: var(--shadow-hover);
}

.ba-app-card--featured {
	background: var(--wash-feature);
	border-color: var(--hairline-warm-3);
	box-shadow: var(--shadow-raised);
}

.ba-app-card__grid {
	display: grid;
	grid-template-columns: 260px 1fr;
	align-items: stretch;
}

/* Left brand panel */
.ba-app-card__brand {
	color: #fff;
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	position: relative;
}

.ba-app-card__brand-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.ba-app-card__rank {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.2);
	border: 1px solid rgba(255, 255, 255, 0.35);
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 14px;
}

.ba-app-card__toppick {
	display: none;
	align-items: center;
	height: 24px;
	padding: 0 11px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.2);
	border: 1px solid rgba(255, 255, 255, 0.35);
	font-family: var(--font-body);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ba-app-card--featured .ba-app-card__toppick {
	display: inline-flex;
}

.ba-app-card__icon {
	width: 70px;
	height: 70px;
	border-radius: var(--radius-icon-app);
	background: rgba(255, 255, 255, 0.18);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 24px;
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
	overflow: hidden;
}

.ba-app-card__icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ba-app-card__name {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 24px;
	line-height: 1.05;
	color: inherit;
}

.ba-app-card__tagline {
	font-family: var(--font-body);
	font-size: 12.5px;
	opacity: 0.85;
	margin-top: 4px;
}

.ba-app-card__rating {
	display: flex;
	align-items: center;
	gap: 8px;
}

.ba-app-card__rating-value {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 16px;
}

.ba-app-card__rating-max {
	font-size: 11px;
	opacity: 0.8;
}

.ba-app-card__score-link {
	font-family: var(--font-body);
	font-size: 11.5px;
	text-decoration: underline;
	text-underline-offset: 2px;
	color: rgba(255, 255, 255, 0.85);
}

.ba-app-card--ink-dark .ba-app-card__score-link {
	color: rgba(0, 0, 0, 0.65);
}

.ba-app-card__cta-group {
	margin-top: auto;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ba-app-card__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	padding: 0 18px;
	border-radius: 999px;
	background: #fff;
	color: var(--ba-accent-text);
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	transition: var(--transition);
}

.ba-app-card__cta:hover {
	transform: var(--lift);
}

.ba-app-card__review-link {
	text-align: center;
	font-family: var(--font-body);
	font-size: 12.5px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.92);
	text-decoration: none;
}

.ba-app-card--ink-dark .ba-app-card__review-link {
	color: rgba(0, 0, 0, 0.7);
}

/* Right details panel */
.ba-app-card__details {
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ba-app-card__details-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

.ba-app-card__bestfor {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--gradient-fill);
	color: #fff;
	font-family: var(--font-body);
	font-size: 12.5px;
	font-weight: 700;
}

.ba-app-card__stores {
	display: flex;
	gap: 18px;
}

.ba-store-pill {
	text-align: right;
}

.ba-store-pill__label {
	font-family: var(--font-body);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted);
}

.ba-store-pill__row {
	display: flex;
	align-items: baseline;
	gap: 5px;
	justify-content: flex-end;
}

.ba-store-pill__rating {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 18px;
	color: var(--ink);
}

.ba-store-pill__count {
	font-size: 11.5px;
	color: var(--muted);
}

.ba-app-card__summary {
	margin: 0;
	font-family: var(--font-body);
	font-size: 14.5px;
	line-height: 1.65;
	color: var(--body);
}

.ba-app-card__verdict {
	margin: 0;
	padding: 10px 14px;
	border-left: 3px solid var(--brand-pink, #e85090);
	border-radius: 0 10px 10px 0;
	background: var(--wash, #f8f8f8);
	font-family: var(--font-body);
	font-size: 14px;
	line-height: 1.65;
	color: var(--body);
}

.ba-app-card__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ba-chip {
	display: inline-flex;
	align-items: center;
	height: 30px;
	padding: 0 13px;
	border-radius: 999px;
	background: var(--surface-grey);
	border: 1px solid var(--hairline);
	font-family: var(--font-body);
	font-size: 12.5px;
	font-weight: 600;
	color: var(--body-2);
}

.ba-app-card__proscons {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
	border-top: 1px solid var(--hairline);
	padding-top: 16px;
}

.ba-app-card__col-label {
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 8px;
}

.ba-app-card__col-label--pros {
	color: #1a7a4b;
}

.ba-app-card__col-label--cons {
	color: var(--muted);
}

.ba-app-card__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.ba-app-card__list li {
	display: flex;
	gap: 8px;
	font-family: var(--font-body);
	font-size: 13.5px;
	line-height: 1.5;
	color: var(--body);
}

.ba-app-card__list li svg {
	flex: none;
	margin-top: 2px;
}

.ba-app-card__list--cons li {
	color: var(--muted-2);
}

.ba-app-card__meta {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	border-top: 1px solid var(--hairline);
	padding-top: 14px;
	font-family: var(--font-body);
	font-size: 12.5px;
	color: var(--muted);
}

.ba-app-card__meta-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.ba-app-card__sibling {
	color: var(--primary);
	font-weight: 600;
	text-decoration: none;
	margin-left: auto;
}

/* ---------------- Card detail toggle (mobile) ---------------- */

.ba-card-toggle {
	display: none; /* shown by JS on mobile only */
	align-items: center;
	gap: 5px;
	background: none;
	border: 1px solid var(--hairline);
	border-radius: 999px;
	padding: 7px 14px;
	font-family: var(--font-body);
	font-size: 12.5px;
	font-weight: 600;
	color: var(--primary);
	cursor: pointer;
	transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.ba-card-toggle:hover {
	background: var(--primary);
	border-color: var(--primary);
	color: #fff;
}

.ba-card-toggle:focus-visible {
	outline: 2px solid var(--brand-orange);
	outline-offset: 2px;
}

.ba-card-toggle svg {
	transition: transform var(--transition);
}

.ba-card-toggle[aria-expanded="true"] svg {
	transform: rotate(180deg);
}

.ba-card-detail.is-collapsed {
	display: none;
}

/* ---------------- Offer block ---------------- */

.ba-offer {
	background: var(--surface-grey);
	border: 1px solid var(--hairline);
	border-radius: var(--radius-lg);
	padding: 14px 16px;
}

.ba-offer--featured {
	background: var(--gradient-fill-soft);
	border-color: rgba(248, 120, 48, 0.22);
}

.ba-offer__head {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.ba-offer__text {
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 700;
	color: var(--ink);
}

.ba-offer__tag {
	margin-left: auto;
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 600;
	color: var(--muted);
	background: #fff;
	border: 1px solid var(--hairline);
	border-radius: 999px;
	padding: 3px 10px;
}

.ba-offer__compliance {
	margin: 8px 0 0;
	font-family: var(--font-body);
	font-size: 11.5px;
	line-height: 1.5;
	color: var(--compliance-text);
}

.ba-offer__compliance a {
	color: var(--compliance-link);
	font-weight: 600;
}

.ba-offer__terms-body {
	display: block;
	margin: 6px 0 0;
	font-family: var(--font-body);
	font-size: 11px;
	line-height: 1.55;
	color: var(--muted);
}

/* ---------------- Stars ---------------- */

.ba-stars {
	position: relative;
	display: inline-block;
	line-height: 1;
	letter-spacing: 1px;
}

.ba-stars__base {
	color: #e7d9df;
}

.ba-stars__fill {
	position: absolute;
	left: 0;
	top: 0;
	overflow: hidden;
	white-space: nowrap;
	color: var(--brand-amber);
}

/* ---------------- Ranked list band ---------------- */

.ba-app-list-band {
	padding: 64px 0;
	background: var(--wash-apps);
}

.ba-app-list__head {
	max-width: 780px;
	margin: 0 0 32px;
}

.ba-app-list__kicker {
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--primary);
	margin: 0 0 10px;
}

.ba-app-list__title {
	font-family: var(--font-display);
	font-size: clamp(24px, 2.6vw, 32px);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
	color: var(--ink);
	margin: 0;
}

.ba-app-list__lead {
	font-family: var(--font-body);
	font-size: 18px;
	line-height: 1.7;
	color: var(--body);
	margin: 14px 0 0;
}

.ba-app-card-list {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.ba-app-listing__empty {
	text-align: center;
	padding: 48px 0;
	font-family: var(--font-body);
	color: var(--muted);
}

/* ---------------- Filter / sort toolbar ---------------- */

.ba-filter-bar {
	position: sticky;
	top: 0;
	z-index: 30;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-top: 1px solid var(--hairline);
	border-bottom: 1px solid var(--hairline);
	box-shadow: 0 6px 16px rgba(32, 32, 32, 0.04);
}

.ba-filter-bar .ba-app-listing__container {
	padding-top: 12px;
	padding-bottom: 12px;
}

.ba-filter-bar__compact {
	display: none;
	align-items: center;
	gap: 10px;
}

.ba-filter-bar__toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 38px;
	padding: 0 15px;
	border-radius: 999px;
	cursor: pointer;
	font-family: var(--font-body);
	font-size: 13.5px;
	font-weight: 700;
	border: 1px solid var(--hairline);
	background: #fff;
	color: var(--body);
}

.ba-filter-bar__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--gradient-fill);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
}

.ba-filter-bar__compact-count {
	margin-left: auto;
	font-family: var(--font-body);
	font-size: 13px;
	color: var(--muted);
}

.ba-filter-bar__row {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.ba-filter-bar__row--features,
.ba-filter-bar__row--status {
	margin-top: 12px;
}

.ba-filter-bar__row--status {
	justify-content: space-between;
}

.ba-filter-bar__label {
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
	margin-right: 2px;
}

.ba-filter-bar__spacer {
	flex: 1;
}

.ba-filter-bar__showing {
	font-family: var(--font-body);
	font-size: 13.5px;
	color: var(--muted);
}

.ba-filter-bar__showing strong {
	color: var(--ink);
	font-weight: 700;
}

.ba-filter-bar__clear {
	background: none;
	border: none;
	cursor: pointer;
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 600;
	color: var(--primary);
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.ba-segmented {
	display: inline-flex;
	background: var(--surface-grey);
	border-radius: 999px;
	padding: 3px;
	gap: 2px;
}

.ba-segmented__btn {
	height: 32px;
	padding: 0 14px;
	border-radius: 999px;
	border: none;
	cursor: pointer;
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 600;
	background: transparent;
	color: var(--body-2);
	transition: var(--transition);
}

.ba-segmented__btn.is-active {
	background: #fff;
	color: var(--primary);
	box-shadow: var(--shadow-soft);
}

.ba-select {
	height: 36px;
	padding: 0 12px;
	border-radius: 999px;
	border: 1px solid var(--hairline);
	background: #fff;
	color: var(--body-2);
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}

.ba-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 36px;
	padding: 0 15px;
	border-radius: 999px;
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
	cursor: pointer;
	border: 1px solid var(--hairline);
	background: #fff;
	color: var(--body-2);
	transition: var(--transition);
}

.ba-pill.is-active {
	background: var(--gradient-fill-soft);
	border-color: rgba(248, 120, 48, 0.45);
	color: var(--primary);
}

/* ---------------- Responsive ---------------- */

@media (max-width: 860px) {
	.ba-filter-bar__compact {
		display: flex;
	}

	.ba-filter-bar__panel {
		display: none;
		margin-top: 12px;
	}

	.ba-filter-bar.is-open .ba-filter-bar__panel {
		display: block;
	}
}

@media (max-width: 720px) {
	.ba-app-card__grid {
		grid-template-columns: 1fr;
	}

	.ba-app-card__proscons {
		grid-template-columns: 1fr;
	}

	.ba-app-card__details-top {
		flex-direction: column;
	}

	.ba-app-card__stores {
		gap: 24px;
	}
}

/* ============================================================
   Hub sections (hero, comparison, best-for, download, score,
   directory, faq, author, safer gambling, trust close, TOC).
   ============================================================ */

/* ---------------- Shared primitives ---------------- */

.ba-band {
	position: relative;
	padding: 64px 0;
	overflow: hidden;
}

.ba-band--grey { background: var(--surface-grey); }
.ba-band--method { background: var(--wash-method); }
.ba-band--rgs { background: var(--wash-rgs); }

.ba-band__blob {
	position: absolute;
	width: 380px;
	height: 380px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(248, 120, 48, 0.07), transparent 70%);
	top: -120px;
	right: -90px;
	pointer-events: none;
}

.ba-section-head {
	max-width: 760px;
	margin: 0 0 32px;
}

.ba-section-head--center {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.ba-section-head__kicker {
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--primary);
	margin: 0 0 10px;
}

.ba-section-head__title {
	font-family: var(--font-display);
	font-size: clamp(24px, 2.6vw, 32px);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
	color: var(--ink);
	margin: 0;
}

.ba-section-head__lead {
	font-family: var(--font-body);
	font-size: 18px;
	line-height: 1.7;
	color: var(--body);
	margin: 14px 0 0;
}

/* Editorial prose — inherits the container width (1120) so it aligns with the
   comparison table and other bands; only sets typography here. */
.ba-prose {
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.75;
	color: var(--body);
}

.ba-prose h2,
.ba-prose h3 {
	font-family: var(--font-display);
	color: var(--ink);
	letter-spacing: -0.01em;
}

.ba-prose h2 { font-size: 24px; margin: 0 0 14px; }
.ba-prose h3 { font-size: 19px; margin: 24px 0 10px; }
.ba-prose p { margin: 0 0 16px; }
.ba-prose p:last-child { margin-bottom: 0; }
.ba-prose strong { color: var(--ink); font-weight: 700; }
.ba-prose a { color: var(--primary); font-weight: 600; }

/* Buttons */
.ba-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 44px;
	padding: 0 20px;
	border-radius: 999px;
	border: 1px solid transparent;
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	transition: var(--transition);
	white-space: nowrap;
}

.ba-btn:hover { transform: var(--lift); }
.ba-btn--lg { height: 52px; padding: 0 26px; font-size: 15px; }
.ba-btn--sm { height: 36px; padding: 0 14px; font-size: 13px; }
.ba-btn--block { width: 100%; }

.ba-btn--primary {
	background: var(--gradient-fill);
	color: #fff;
	box-shadow: var(--shadow-cta);
}

.ba-btn--ghost {
	background: #fff;
	border-color: var(--hairline);
	color: var(--body);
}

.ba-btn--white { background: #fff; color: var(--ba-accent-text); }

.ba-btn--outline {
	background: transparent;
	border-color: var(--hairline);
	color: var(--primary);
}

.ba-btn--outline:hover { border-color: var(--primary); }

/* Brand tile (image or initials) */
.ba-tile {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--radius-icon-app);
	color: #fff;
	font-family: var(--font-display);
	font-weight: 800;
	overflow: hidden;
	flex: none;
}

.ba-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ba-tile--ink-dark { color: #1f2733; }
.ba-tile--xs { width: 34px; height: 34px; border-radius: 11px; font-size: 12px; }
.ba-tile--sm { width: 42px; height: 42px; border-radius: 13px; font-size: 15px; }
.ba-tile--lg { width: 64px; height: 64px; border-radius: 20px; font-size: 22px; }

/* ---------------- TOC ---------------- */

.ba-toc {
	position: sticky;
	top: 0;
	z-index: 25;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--hairline);
}

.ba-toc__inner {
	display: flex;
	align-items: center;
	gap: 16px;
	padding-top: 12px;
	padding-bottom: 12px;
	overflow-x: auto;
}

.ba-toc__label {
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
	flex: none;
}

.ba-toc__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }

.ba-toc__list a {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 999px;
	font-family: var(--font-body);
	font-size: 13.5px;
	font-weight: 600;
	color: var(--body-2);
	text-decoration: none;
	white-space: nowrap;
}

.ba-toc__list a:hover { background: var(--surface-grey); color: var(--primary); }

/* ---------------- Hero ---------------- */

.ba-hero {
	position: relative;
	overflow: hidden;
	background: var(--gradient-brand);
	color: #fff;
	padding: 56px 0 64px;
}

.ba-hero__blob {
	position: absolute;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 70%);
	pointer-events: none;
}

.ba-hero__blob--a { width: 460px; height: 460px; top: -160px; right: -120px; }
.ba-hero__blob--b { width: 320px; height: 320px; bottom: -160px; left: -80px; background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%); }

.ba-hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr 400px;
	gap: 48px;
	align-items: center;
}

.ba-hero__title {
	font-family: var(--font-display);
	font-size: clamp(36px, 5vw, 56px);
	font-weight: 800;
	line-height: 1.02;
	letter-spacing: -0.02em;
	margin: 0;
	color: #fff;
}

.ba-hero__lead {
	font-family: var(--font-body);
	font-size: 18px;
	line-height: 1.6;
	margin: 18px 0 0;
	max-width: 560px;
	color: rgba(255, 255, 255, 0.92);
}

.ba-hero__meta {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 22px;
	flex-wrap: wrap;
}

.ba-hero__author { display: flex; align-items: center; gap: 10px; }

.ba-hero__author-avatar {
	width: 38px;
	height: 38px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.2);
	border: 1px solid rgba(255, 255, 255, 0.4);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 13px;
	overflow: hidden;
	flex: none;
}

.ba-hero__author-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ba-hero__author-text { display: flex; flex-direction: column; line-height: 1.25; font-family: var(--font-body); font-size: 13px; }
.ba-hero__author-text strong { font-weight: 700; }
.ba-hero__author-text span { opacity: 0.82; font-size: 12px; }
.ba-hero__divider { width: 1px; height: 28px; background: rgba(255, 255, 255, 0.3); }
.ba-hero__updated { font-family: var(--font-body); font-size: 13px; opacity: 0.9; }

.ba-hero__independence {
	margin: 14px 0 0;
	max-width: 560px;
	font-family: var(--font-body);
	font-size: 12.5px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.78);
}

.ba-hero__independence strong { font-weight: 700; color: rgba(255, 255, 255, 0.9); }

.ba-hero__independence a {
	color: #fff;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
	white-space: nowrap;
}

.ba-hero__independence a:hover { text-decoration: none; }

.ba-hero__ctas { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.ba-hero .ba-btn--ghost { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.32); color: #fff; }

/* ---------------- #1 Spotlight ---------------- */

.ba-spotlight {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius-xxl);
	padding: 22px;
	color: #fff;
	box-shadow: var(--shadow-glass);
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.ba-spotlight--ink-dark { color: #1f2733; }

.ba-spotlight__blob {
	position: absolute;
	width: 240px;
	height: 240px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 70%);
	top: -90px;
	right: -70px;
	pointer-events: none;
}

.ba-spotlight > *:not(.ba-spotlight__blob) { position: relative; z-index: 1; }

.ba-spotlight__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }

.ba-spotlight__badge {
	display: inline-flex;
	align-items: center;
	height: 24px;
	padding: 0 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.22);
	border: 1px solid rgba(255, 255, 255, 0.35);
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.ba-spotlight--ink-dark .ba-spotlight__badge { background: rgba(0, 0, 0, 0.08); border-color: rgba(0, 0, 0, 0.12); }
.ba-spotlight__bestfor { font-family: var(--font-body); font-size: 12px; opacity: 0.9; }

.ba-spotlight__head { display: flex; gap: 14px; align-items: center; }
.ba-spotlight__name { font-family: var(--font-display); font-size: 22px; font-weight: 800; line-height: 1.1; }
.ba-spotlight__rating { display: flex; align-items: center; gap: 6px; margin-top: 5px; }
.ba-spotlight__rating-value { font-family: var(--font-display); font-weight: 800; font-size: 16px; }
.ba-spotlight__rating-max { font-size: 11px; opacity: 0.8; }

.ba-spotlight__scores { display: flex; gap: 12px; }

.ba-spotlight__score {
	flex: 1;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 14px;
	padding: 10px 12px;
}

.ba-spotlight--ink-dark .ba-spotlight__score { background: rgba(0, 0, 0, 0.05); border-color: rgba(0, 0, 0, 0.08); }
.ba-spotlight__score-label { font-family: var(--font-body); font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.85; }
.ba-spotlight__score-row { display: flex; align-items: baseline; gap: 4px; margin-top: 3px; }
.ba-spotlight__score-row span { font-family: var(--font-display); font-size: 20px; font-weight: 800; }
.ba-spotlight__score-row small { font-size: 11px; opacity: 0.8; }

.ba-spotlight__why { font-family: var(--font-body); font-size: 13.5px; line-height: 1.6; margin: 0; opacity: 0.95; }
.ba-spotlight__compliance { font-family: var(--font-body); font-size: 10.5px; line-height: 1.4; opacity: 0.75; margin: 0; }

/* ---------------- UKGC callout ---------------- */

.ba-ukgc-callout {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	background: #fff;
	border: 1px solid var(--hairline);
	border-left: 4px solid #1a7a4b;
	border-radius: var(--radius-lg);
	padding: 14px 18px;
	margin: 0 0 20px;
	font-family: var(--font-body);
	font-size: 14px;
	line-height: 1.55;
	color: var(--body);
}

.ba-ukgc-callout__icon { color: #1a7a4b; flex: none; margin-top: 1px; }
.ba-ukgc-callout strong { color: var(--ink); }

/* ---------------- Comparison table ---------------- */

.ba-cmp-wrap {
	overflow-x: auto;
	border: 1px solid var(--hairline);
	border-radius: var(--radius-lg);
	background: #fff;
	box-shadow: var(--shadow-soft);
}

.ba-cmp { width: 100%; border-collapse: collapse; min-width: 860px; font-family: var(--font-body); }

.ba-cmp thead th {
	text-align: left;
	padding: 14px 16px;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted);
	border-bottom: 1px solid var(--hairline);
	white-space: nowrap;
	background: var(--surface-grey);
}

.ba-cmp__num { text-align: center; }
.ba-cmp__sortable { cursor: pointer; user-select: none; }
.ba-cmp__sortable:hover { color: var(--primary); }
.ba-cmp__sortable.is-active { color: var(--primary); }
.ba-cmp__sortable::after { content: '\2195'; margin-left: 4px; opacity: 0.4; font-size: 10px; }
.ba-cmp__sortable.is-active::after { content: '\2191'; opacity: 1; }
.ba-cmp__sortable.is-active.is-desc::after { content: '\2193'; }

.ba-cmp tbody td {
	padding: 14px 16px;
	border-bottom: 1px solid var(--hairline);
	vertical-align: middle;
	font-size: 14px;
	color: var(--body);
}

.ba-cmp tbody tr:last-child td { border-bottom: none; }
.ba-cmp tbody tr:hover { background: #fffaf6; }

.ba-cmp__rank {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 999px;
	background: var(--surface-grey);
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 13px;
	color: var(--body);
}

.ba-cmp__rank--top { background: var(--gradient-fill); color: #fff; }

.ba-cmp__app { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; }
.ba-cmp__app:hover .ba-cmp__app-name { color: var(--primary); }
.ba-cmp__app-name { font-size: 14.5px; }
.ba-cmp__rating { font-family: var(--font-display); font-weight: 800; font-size: 16px; color: var(--ink); }
.ba-cmp__sub { font-size: 11px; color: var(--muted); }
.ba-cmp__offer.is-strong { font-weight: 700; color: var(--ink); }
.ba-cmp__bestfor { font-size: 12.5px; color: var(--body-2); }
.ba-cmp__cta { text-align: right; white-space: nowrap; }
.ba-cmp__foot { font-family: var(--font-body); font-size: 12px; color: var(--muted); margin: 14px 0 0; }

/* ---------------- Best-for grid ---------------- */

.ba-bestfor-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 16px;
}

.ba-bestfor-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	background: #fff;
	border: 1px solid var(--hairline);
	border-radius: var(--radius-xl);
	padding: 20px;
	box-shadow: var(--shadow-soft);
	transition: var(--transition);
}

.ba-bestfor-card:hover { transform: var(--lift); box-shadow: var(--shadow-hover); }
.ba-bestfor-card__head { display: flex; gap: 12px; align-items: center; }

.ba-bestfor-card__icon {
	width: 42px;
	height: 42px;
	border-radius: 13px;
	background: var(--gradient-fill-soft);
	color: var(--primary);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
}

.ba-bestfor-card__eyebrow { font-family: var(--font-body); font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.ba-bestfor-card__label { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--ink); }

.ba-bestfor-card__app {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	padding: 10px 12px;
	border-radius: var(--radius-lg);
	background: var(--surface-grey);
	color: var(--ink);
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 14px;
	transition: var(--transition);
}

.ba-bestfor-card__app:hover { background: var(--gradient-fill-soft); }
.ba-bestfor-card__app-name { flex: 1; }
.ba-bestfor-card__arrow { color: var(--primary); }
.ba-bestfor-card__sibling { font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--primary); text-decoration: none; }
.ba-bestfor-card__sibling:hover { text-decoration: underline; }

/* ---------------- How to download ---------------- */

.ba-download-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 18px;
}

.ba-download-card {
	position: relative;
	background: #fff;
	border: 1px solid var(--hairline);
	border-radius: var(--radius-xl);
	padding: 24px 20px 20px;
	box-shadow: var(--shadow-soft);
}

.ba-download-card__num { position: absolute; top: 16px; right: 18px; font-family: var(--font-display); font-weight: 800; font-size: 32px; color: var(--hairline); line-height: 1; }

.ba-download-card__icon {
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background: var(--gradient-fill-soft);
	color: var(--primary);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 14px;
}

.ba-download-card__title { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--ink); margin: 0 0 8px; }
.ba-download-card__body { font-family: var(--font-body); font-size: 14px; line-height: 1.6; color: var(--body); margin: 0; }

.ba-download-note {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin-top: 20px;
	background: #fff8ef;
	border: 1px solid rgba(248, 160, 24, 0.3);
	border-radius: var(--radius-lg);
	padding: 14px 18px;
}

.ba-download-note__icon { color: var(--brand-amber); flex: none; margin-top: 1px; }
.ba-download-note p { margin: 0; font-family: var(--font-body); font-size: 13.5px; line-height: 1.6; color: var(--body); }
.ba-download-note strong { color: var(--ink); }

/* ---------------- How we score ---------------- */

.ba-method-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: start;
}

.ba-method-intro .ba-section-head { margin-bottom: 20px; }
.ba-method-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ba-method-points li { display: flex; align-items: center; gap: 10px; font-family: var(--font-body); font-size: 14.5px; color: var(--body); }
.ba-method-points li svg { color: var(--primary); flex: none; }

.ba-rubric {
	background: #fff;
	border: 1px solid var(--hairline);
	border-radius: var(--radius-xxl);
	padding: 26px;
	box-shadow: var(--shadow-raised);
}

.ba-rubric__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 20px; }
.ba-rubric__title { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--ink); margin: 0; }
.ba-rubric__total { font-family: var(--font-body); font-size: 12px; font-weight: 600; color: var(--muted); }
.ba-rubric__rows { display: flex; flex-direction: column; gap: 18px; }
.ba-rubric__row-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 7px; }
.ba-rubric__label { font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--ink); }
.ba-rubric__weight { font-family: var(--font-display); font-size: 14px; font-weight: 800; color: var(--primary); }
.ba-rubric__bar { height: 7px; border-radius: 999px; background: var(--surface-grey); overflow: hidden; }
.ba-rubric__bar span { display: block; height: 100%; border-radius: 999px; background: var(--gradient-bar); }
.ba-rubric__note { font-family: var(--font-body); font-size: 12.5px; line-height: 1.5; color: var(--muted); margin: 7px 0 0; }
.ba-rubric__foot { font-family: var(--font-body); font-size: 12.5px; line-height: 1.5; color: var(--muted); margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--hairline); }

/* ---------------- Directory ---------------- */

.ba-dir {
	background: #fff;
	border: 1px solid var(--hairline);
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-soft);
}

.ba-dir__head,
.ba-dir__row {
	display: grid;
	grid-template-columns: 1.4fr 90px 90px 1.2fr 130px;
	gap: 12px;
	align-items: center;
	padding: 12px 18px;
}

.ba-dir__head {
	background: var(--surface-grey);
	border-bottom: 1px solid var(--hairline);
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted);
}

.ba-dir__c { text-align: center; }

.ba-dir__row {
	border-bottom: 1px solid var(--hairline);
	text-decoration: none;
	color: var(--body);
	transition: var(--transition);
}

.ba-dir__row:last-child { border-bottom: none; }
.ba-dir__row:hover { background: #fffaf6; }
.ba-dir__app { display: flex; align-items: center; gap: 10px; }

.ba-dir__initials {
	width: 34px;
	height: 34px;
	border-radius: 11px;
	background: var(--gradient-fill-soft);
	color: var(--primary);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 12px;
	flex: none;
}

.ba-dir__name { font-weight: 700; color: var(--ink); font-size: 14px; }
.ba-dir__rating strong { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--ink); display: block; }
.ba-dir__rating small { font-size: 10.5px; color: var(--muted); }
.ba-dir__known { font-size: 13px; color: var(--body-2); }
.ba-dir__cta { display: inline-flex; align-items: center; gap: 5px; justify-content: flex-end; font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--primary); }

.ba-dir__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; flex-wrap: wrap; }
.ba-dir__crosslink { font-family: var(--font-body); font-size: 13px; color: var(--muted); margin: 0; }
.ba-dir__crosslink a { color: var(--primary); font-weight: 600; }

/* ---------------- FAQ ---------------- */

.ba-faq { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }
.ba-faq__list { display: flex; flex-direction: column; gap: 12px; }

.ba-faq__item {
	background: #fff;
	border: 1px solid var(--hairline);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-soft);
	overflow: hidden;
}

.ba-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	cursor: pointer;
	list-style: none;
	padding: 18px 20px;
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 700;
	color: var(--ink);
}

.ba-faq__q::-webkit-details-marker { display: none; }
.ba-faq__chevron { transition: transform var(--transition); color: var(--muted); flex: none; }
.ba-faq__item[open] .ba-faq__chevron { transform: rotate(180deg); }
.ba-faq__a { padding: 0 20px 18px; font-family: var(--font-body); font-size: 14.5px; line-height: 1.7; color: var(--body); }
.ba-faq__a p { margin: 0 0 12px; }
.ba-faq__a p:last-child { margin-bottom: 0; }

/* ---------------- Author bio ---------------- */

#author.ba-band {
	padding: 20px 0 16px;
}

.ba-author {
	display: flex;
	gap: 24px;
	align-items: flex-start;
	background: #fff;
	border: 1px solid var(--hairline);
	border-radius: var(--radius-xxl);
	padding: 28px;
	box-shadow: var(--shadow-soft);
}

.ba-author__avatar { flex: none; }

.ba-author__img,
.ba-author__initials {
	width: 84px;
	height: 84px;
	border-radius: var(--radius-xxl);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	object-fit: cover;
}

.ba-author__initials { background: var(--gradient-fill); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 28px; }
.ba-author__name { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--ink); margin: 0; }
.ba-author__role { font-family: var(--font-body); font-size: 13.5px; font-weight: 600; color: var(--primary); margin-top: 2px; }
.ba-author__text { font-family: var(--font-body); font-size: 14.5px; line-height: 1.7; color: var(--body); margin: 12px 0 0; }
.ba-author__creds { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 14px; }
.ba-author__cred { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--body-2); }

/* ---------------- Safer gambling ---------------- */

.ba-rgs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
}

.ba-rgs-card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	background: #fff;
	border: 1px solid var(--hairline);
	border-radius: var(--radius-lg);
	padding: 20px;
	text-decoration: none;
	box-shadow: var(--shadow-soft);
	transition: var(--transition);
}

.ba-rgs-card:hover { transform: var(--lift); box-shadow: var(--shadow-hover); }
.ba-rgs-card__name { font-family: var(--font-display); font-size: 17px; font-weight: 800; color: var(--ink); }
.ba-rgs-card__desc { font-family: var(--font-body); font-size: 13.5px; line-height: 1.55; color: var(--body); flex: 1; }
.ba-rgs-card__link { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-body); font-size: 13px; font-weight: 700; color: var(--primary); }

/* ---------------- Trust close ---------------- */

.ba-trust-close {
	position: relative;
	overflow: hidden;
	background: var(--gradient-dark-purple);
	color: #fff;
	padding: 64px 0;
}

.ba-trust-close__blob {
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
}

.ba-trust-close__blob--a { width: 360px; height: 360px; top: -140px; right: -100px; background: radial-gradient(circle, rgba(232, 80, 144, 0.28), transparent 70%); }
.ba-trust-close__blob--b { width: 300px; height: 300px; bottom: -140px; left: -90px; background: radial-gradient(circle, rgba(248, 120, 48, 0.22), transparent 70%); }

.ba-trust-close__inner { position: relative; z-index: 1; max-width: 760px; }
.ba-trust-close__title { font-family: var(--font-display); font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -0.02em; margin: 0; color: #fff; }
.ba-trust-close__lead { font-family: var(--font-body); font-size: 17px; line-height: 1.7; margin: 16px 0 0; color: rgba(255, 255, 255, 0.85); }
.ba-trust-close__points { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.ba-trust-close__points li { display: flex; align-items: center; gap: 10px; font-family: var(--font-body); font-size: 14.5px; }
.ba-trust-close__points li svg { color: #4ade80; flex: none; }

/* ---------------- Independence strip (T9) ---------------- */

.ba-independence-strip {
	background: var(--surface-grey);
	border-bottom: 1px solid var(--hairline);
	padding: 7px 0;
}

.ba-independence-strip__text {
	font-family: var(--font-body);
	font-size: 12px;
	line-height: 1.5;
	color: var(--muted);
	margin: 0;
}

.ba-independence-strip__text strong {
	color: var(--body);
	font-weight: 600;
}

.ba-independence-strip__text a {
	color: var(--primary);
	text-decoration: none;
	font-weight: 600;
	margin-left: 4px;
}

.ba-independence-strip__text a:hover {
	text-decoration: underline;
}

/* ---------------- Quick list ---------------- */

.ba-quick-list {
	background: var(--canvas);
	padding: 16px 0;
	border-bottom: 1px solid var(--hairline);
}

.ba-ql__label {
	font-family: var(--font-body);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted);
	margin: 0 0 10px;
}

.ba-ql__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Desktop: single horizontal row using CSS grid */
.ba-ql__row {
	display: grid;
	grid-template-columns: 26px 42px 1fr 1.4fr 180px;
	grid-template-areas: "rank icon identity offer actions";
	align-items: center;
	gap: 14px;
	padding: 12px 0;
	border-bottom: 1px solid var(--hairline);
}

.ba-ql__row:last-child { border-bottom: none; }

.ba-ql__rank {
	grid-area: rank;
	font-family: var(--font-display);
	font-size: 13px;
	font-weight: 800;
	color: var(--brand-orange);
	text-align: center;
	line-height: 1;
}

.ba-ql__icon { grid-area: icon; }

.ba-ql__identity {
	grid-area: identity;
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.ba-ql__name {
	font-family: var(--font-display);
	font-size: 14px;
	font-weight: 700;
	color: var(--ink);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ba-ql__best-for {
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 600;
	color: var(--primary);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ba-ql__offer {
	grid-area: offer;
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.ba-ql__offer-text {
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 700;
	color: var(--ink);
	line-height: 1.35;
}

.ba-ql__compliance {
	font-family: var(--font-body);
	font-size: 10.5px;
	line-height: 1.4;
	color: var(--compliance-text);
}

.ba-ql__compliance a {
	color: inherit;
	text-decoration: underline;
}

.ba-ql__terms {
	font-family: var(--font-body);
	font-size: 10.5px;
	line-height: 1.4;
	color: var(--muted);
}

.ba-ql__actions {
	grid-area: actions;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ba-ql__cta {
	display: block;
	text-align: center;
	border-radius: 999px;
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	padding: 9px 16px;
	text-decoration: none;
	white-space: nowrap;
	transition: background var(--transition), box-shadow var(--transition), color var(--transition), border-color var(--transition);
}

.ba-ql__cta:focus-visible {
	outline: 2px solid var(--brand-orange);
	outline-offset: 2px;
}

.ba-ql__cta--primary {
	background: var(--brand-orange);
	color: #fff;
	box-shadow: 0 3px 10px rgba(248, 120, 48, 0.28);
}

.ba-ql__cta--primary:hover {
	background: var(--ba-action-hover);
	box-shadow: 0 4px 14px rgba(225, 102, 28, 0.32);
	color: #fff;
}

.ba-ql__cta--secondary {
	background: transparent;
	color: var(--primary);
	border: 1.5px solid var(--primary);
}

.ba-ql__cta--secondary:hover {
	background: var(--primary);
	color: #fff;
}

/* Quick list — mobile layout (≤ 767px) */
@media (max-width: 767px) {
	.ba-quick-list { padding: 12px 0; }

	.ba-ql__row {
		grid-template-columns: 24px 42px 1fr;
		grid-template-areas:
			"rank icon identity"
			"offer offer offer"
			"actions actions actions";
		gap: 8px 10px;
		padding: 12px 0;
		align-items: start;
	}

	.ba-ql__rank { padding-top: 11px; } /* vertically centre with 42px icon */

	.ba-ql__actions {
		flex-direction: row;
		gap: 8px;
	}

	.ba-ql__cta {
		flex: 1 1 0;
		font-size: 12.5px;
		padding: 11px 8px;
	}
}

/* ---------------- Category picks (T12: Best app for X) ---------------- */

.ba-cat-picks .ba-app-listing__container {
	display: flex;
	flex-direction: column;
	gap: 44px;
}

.ba-cat-pick { scroll-margin-top: 80px; }

.ba-cat-pick__title {
	font-family: var(--font-display);
	font-size: clamp(20px, 2.4vw, 26px);
	font-weight: 800;
	letter-spacing: -0.01em;
	color: var(--ink);
	margin: 0 0 12px;
}

.ba-cat-pick__intro {
	font-family: var(--font-body);
	font-size: 15.5px;
	line-height: 1.7;
	color: var(--body);
	margin-bottom: 18px;
}

.ba-cat-pick__intro p { margin: 0 0 12px; }
.ba-cat-pick__intro p:last-child { margin-bottom: 0; }

.ba-cat-pick__list {
	list-style: none;
	margin: 0;
	padding: 0;
	background: #fff;
	border: 1px solid var(--hairline);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-soft);
	overflow: hidden;
}

.ba-cat-pick__row {
	display: grid;
	grid-template-columns: 30px 42px 1fr auto 200px;
	grid-template-areas: "rank icon identity score actions";
	align-items: center;
	gap: 16px;
	padding: 16px 20px;
	border-bottom: 1px solid var(--hairline);
}

.ba-cat-pick__row:last-child { border-bottom: none; }
.ba-cat-pick__row--top { background: rgba(248, 120, 48, 0.045); }

.ba-cat-pick__rank {
	grid-area: rank;
	font-family: var(--font-display);
	font-size: 15px;
	font-weight: 800;
	color: var(--brand-orange);
	text-align: center;
	line-height: 1;
}

.ba-cat-pick__icon { grid-area: icon; }

.ba-cat-pick__identity {
	grid-area: identity;
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.ba-cat-pick__name {
	font-family: var(--font-display);
	font-size: 15px;
	font-weight: 700;
	color: var(--ink);
	text-decoration: none;
}

a.ba-cat-pick__name:hover { color: var(--primary); }

.ba-cat-pick__reason {
	font-family: var(--font-body);
	font-size: 13px;
	line-height: 1.45;
	color: var(--body-2);
}

.ba-cat-pick__score {
	grid-area: score;
	display: flex;
	align-items: baseline;
	gap: 3px;
	white-space: nowrap;
}

.ba-cat-pick__score strong {
	font-family: var(--font-display);
	font-size: 18px;
	font-weight: 800;
	color: var(--ink);
}

.ba-cat-pick__score small { font-size: 11px; color: var(--muted); }

.ba-cat-pick__actions {
	grid-area: actions;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ba-cat-pick__cta,
.ba-cat-pick__review {
	display: block;
	text-align: center;
	border-radius: 999px;
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	padding: 9px 16px;
	text-decoration: none;
	white-space: nowrap;
	transition: background var(--transition), color var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.ba-cat-pick__cta {
	background: var(--brand-orange);
	color: #fff;
	box-shadow: 0 3px 10px rgba(248, 120, 48, 0.28);
}

.ba-cat-pick__cta:hover { background: var(--ba-action-hover); color: #fff; }

.ba-cat-pick__review {
	background: transparent;
	color: var(--primary);
	border: 1.5px solid var(--primary);
}

.ba-cat-pick__review:hover { background: var(--primary); color: #fff; }

.ba-cat-pick__cta:focus-visible,
.ba-cat-pick__review:focus-visible {
	outline: 2px solid var(--brand-orange);
	outline-offset: 2px;
}

.ba-cat-pick__spoke { margin: 14px 0 0; font-family: var(--font-body); font-size: 14px; }
.ba-cat-pick__spoke a { color: var(--primary); font-weight: 700; text-decoration: none; }
.ba-cat-pick__spoke a:hover { text-decoration: underline; }

/* ---------------- Hub responsive ---------------- */

@media (max-width: 860px) {
	.ba-hero__inner { grid-template-columns: 1fr; gap: 32px; }
	.ba-method-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 767px) {
	.ba-spotlight { display: none; }
	.ba-cmp-wrap { display: none; }
}

@media (max-width: 600px) {
	.ba-band { padding: 48px 0; }
	#author.ba-band { padding: 16px 0 12px; }
	.ba-trust-close__points { grid-template-columns: 1fr; }
	.ba-dir__head { display: none; }
	.ba-dir__row { grid-template-columns: 1fr auto; grid-template-areas: 'app cta' 'known known'; row-gap: 8px; }
	.ba-dir__app { grid-area: app; }
	.ba-dir__cta { grid-area: cta; }
	.ba-dir__known { grid-area: known; }
	.ba-dir__c { display: none; }
	.ba-author { flex-direction: column; gap: 16px; }
	.ba-cat-picks .ba-app-listing__container { gap: 32px; }
	.ba-cat-pick__row {
		grid-template-columns: 26px 40px 1fr auto;
		grid-template-areas:
			"rank icon identity score"
			"actions actions actions actions";
		gap: 8px 10px;
		padding: 14px 14px;
		align-items: start;
	}
	.ba-cat-pick__rank { padding-top: 11px; }
	.ba-cat-pick__score { padding-top: 2px; }
	.ba-cat-pick__actions { flex-direction: row; }
	.ba-cat-pick__cta,
	.ba-cat-pick__review { flex: 1 1 0; font-size: 12.5px; padding: 11px 8px; }
}

/* ============================================================
   Sport guide sections ("In depth" — sport spokes only).
   Three layouts keep long sport-education content visually varied:
   prose (reading band), facts (list becomes a card grid), table.
   ============================================================ */

.ba-sport-band .ba-section-head {
	margin-bottom: 20px;
}

/* Facts layout — the body's <ul> renders as a responsive card grid. */
.ba-sport-facts > ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
}

.ba-sport-facts > ul > li {
	background: var(--canvas, #ffffff);
	border: 1px solid var(--hairline, #e9e9e9);
	border-radius: 14px;
	box-shadow: 0 8px 24px rgba(32, 32, 32, 0.06);
	padding: 18px 20px;
	font-size: 15px;
	line-height: 1.55;
	color: var(--body, #39434f);
}

.ba-band--grey .ba-sport-facts > ul > li {
	background: #ffffff;
}

.ba-sport-facts > ul > li > strong:first-child {
	display: block;
	font-family: var(--font-head, "Manrope", sans-serif);
	font-size: 16px;
	color: var(--ink, #202020);
	margin-bottom: 6px;
}

/* Prose intro paragraphs inside facts bands keep prose rhythm. */
.ba-sport-facts > p {
	max-width: 720px;
	margin: 0 0 18px;
	font-size: 16px;
	line-height: 1.65;
	color: var(--body, #39434f);
}

/* Table layout — reuse the comparison-table look for arbitrary sport tables. */
.ba-sport-table table {
	width: 100%;
	border-collapse: collapse;
	background: #ffffff;
	border: 1px solid var(--hairline, #e9e9e9);
	border-radius: 14px;
	overflow: hidden;
	font-size: 14.5px;
}

.ba-sport-table th {
	text-align: left;
	font-family: var(--font-head, "Manrope", sans-serif);
	font-size: 13px;
	letter-spacing: 0.02em;
	color: var(--ink, #202020);
	background: var(--surface-grey, #f8f8f8);
	padding: 12px 16px;
	border-bottom: 1px solid var(--hairline, #e9e9e9);
}

.ba-sport-table td {
	padding: 12px 16px;
	border-bottom: 1px solid var(--hairline, #e9e9e9);
	color: var(--body, #39434f);
	vertical-align: top;
}

.ba-sport-table tr:last-child td {
	border-bottom: none;
}

.ba-sport-table > p,
.ba-sport-band--table .ba-cmp-wrap > p {
	max-width: 720px;
	margin: 0 0 18px;
	font-size: 16px;
	line-height: 1.65;
	color: var(--body, #39434f);
}

@media (max-width: 720px) {
	.ba-sport-facts > ul {
		grid-template-columns: 1fr;
	}

	.ba-sport-table {
		overflow-x: auto;
	}
}

/* ============================================================
   Merged comparison table (sport spokes) — curated ranked rows +
   the long-tail directory in ONE table, shown on desktop AND mobile.
   Mobile: rows restack as compact cards (rank/offer hidden, store
   labels added) instead of hiding the table like the classic mode.
   ============================================================ */

/* Sport evidence subline inside the Best-for cell (replaces the extra column). */
.ba-cmp__sportline {
	display: block;
	margin-top: 3px;
	font-size: 12px;
	color: var(--muted, #6b7280);
}

/* Divider between the ranked picks and the long tail. */
.ba-cmp__divider td {
	background: var(--surface-grey, #f8f8f8);
	padding: 12px 16px;
	border-top: 2px solid var(--hairline, #e9e9e9);
}

.ba-cmp__divider strong {
	display: block;
	font-family: var(--font-head, "Manrope", sans-serif);
	font-size: 14px;
	color: var(--ink, #202020);
}

.ba-cmp__divider span {
	font-size: 12.5px;
	color: var(--muted, #6b7280);
}

.ba-cmp__rank--extra {
	color: var(--muted, #6b7280);
	background: transparent;
}

.ba-cmp__review {
	font-size: 13px;
	font-weight: 600;
	color: var(--primary);
	white-space: nowrap;
}

.ba-cmp__morewrap {
	display: flex;
	justify-content: center;
	margin-top: 18px;
}
/* Offer cell — text + tiny scrollable T&Cs (bookiesbonuses-style conditions). */
.ba-cmp__offer-text {
	font-weight: 600;
}

.ba-cmp__terms {
	margin-top: 4px;
	max-height: 42px;
	overflow-y: auto;
	font-size: 10px;
	line-height: 1.35;
	color: var(--muted, #6b7280);
	padding-right: 4px;
	scrollbar-width: thin;
}

/* CTA cell — Visit site (convert, orange) above Review (navigate, teal outline). */
.ba-cmp__cta {
	white-space: nowrap;
}

.ba-cmp__cta .ba-btn {
	display: block;
	text-align: center;
}

.ba-cmp__cta .ba-btn + .ba-btn {
	margin-top: 6px;
}

.ba-cmp__visit {
	background: var(--ba-action, #f87830);
	border: 2px solid var(--ba-action, #f87830);
	color: #ffffff;
}

.ba-cmp__visit:hover,
.ba-cmp__visit:focus-visible {
	background: var(--ba-action-hover, #e1661c);
	border-color: var(--ba-action-hover, #e1661c);
	color: #ffffff;
}

/* Crosslink to the sibling hubs, under the table foot. */
.ba-cmp__crosslink {
	margin-top: 6px;
	font-family: var(--font-body);
	font-size: 13px;
	color: var(--muted, #6b7280);
}

/* ============================================================
   Merged table — MOBILE (≤767px): each row restacks as a compact
   offer card (bookiesbonuses/Telegraph pattern): rank chip pinned
   top-right, icon + name, labelled ratings (hidden when missing),
   offer + tiny scrollable T&Cs, two half-width buttons, then the
   muted best-for line.
   ============================================================ */
@media (max-width: 767px) {
	/* The desktop table-card chrome goes: rows become individual cards on the
	   grey band instead of content sitting flush against one big border. */
	.ba-cmp-wrap--merged {
		display: block;
		overflow-x: visible;
		border: none;
		border-radius: 0;
		background: transparent;
		box-shadow: none;
	}

	.ba-cmp--merged {
		min-width: 0;
	}

	.ba-cmp--merged thead {
		display: none;
	}

	.ba-cmp--merged,
	.ba-cmp--merged tbody {
		display: block;
	}

	/* One card per app — the gap between cards is the row boundary. */
	.ba-cmp--merged tr {
		position: relative;
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 6px 10px;
		padding: 16px 14px;
		margin: 0 0 12px;
		background: #ffffff;
		border: 1px solid var(--hairline, #e9e9e9);
		border-radius: 14px;
		box-shadow: 0 4px 14px rgba(32, 32, 32, 0.05);
	}

	.ba-cmp--merged tbody tr:hover {
		background: #ffffff;
	}

	.ba-cmp--merged td,
	.ba-cmp--merged tbody td {
		display: block;
		padding: 0;
		border: none;
	}

	/* 1 — rank chip pinned top-right, inside the card padding. */
	.ba-cmp--merged td:nth-child(1) {
		position: absolute;
		top: 14px;
		right: 12px;
	}

	/* 2 — icon + name, first line (leave room for the rank chip). */
	.ba-cmp--merged td:nth-child(2) {
		order: 1;
		flex: 1 1 100%;
		max-width: calc(100% - 40px);
		min-width: 0;
	}

	/* 3+4 — labelled store ratings; a cell with no rating disappears. */
	.ba-cmp--merged td:nth-child(3),
	.ba-cmp--merged td:nth-child(4) {
		order: 2;
		display: inline-flex;
		align-items: baseline;
		gap: 5px;
		font-size: 13px;
	}

	.ba-cmp--merged td:nth-child(3).is-empty,
	.ba-cmp--merged td:nth-child(4).is-empty {
		display: none;
	}

	.ba-cmp--merged td:nth-child(3)::before {
		content: "Play";
	}

	.ba-cmp--merged td:nth-child(4)::before {
		content: "App Store";
	}

	.ba-cmp--merged td:nth-child(3)::before,
	.ba-cmp--merged td:nth-child(4)::before {
		font-size: 11px;
		font-weight: 600;
		letter-spacing: 0.02em;
		color: var(--muted, #6b7280);
	}

	.ba-cmp--merged td:nth-child(3) .ba-cmp__rating,
	.ba-cmp--merged td:nth-child(4) .ba-cmp__rating {
		font-size: 14px;
	}

	.ba-cmp--merged td:nth-child(3) .ba-cmp__sub {
		display: none;
	}

	/* 5 — offer + tiny T&Cs, full width; empty offers vanish. */
	.ba-cmp--merged td:nth-child(5) {
		order: 3;
		flex-basis: 100%;
	}

	.ba-cmp--merged td:nth-child(5).is-empty {
		display: none;
	}

	.ba-cmp--merged .ba-cmp__offer-text {
		font-size: 14px;
	}

	.ba-cmp--merged .ba-cmp__terms {
		max-height: 36px;
		font-size: 9.5px;
	}

	/* 7 — the two buttons as half-width tap targets, full line. */
	.ba-cmp--merged td:nth-child(7) {
		order: 4;
		flex-basis: 100%;
		display: flex;
		gap: 8px;
		white-space: normal;
	}

	.ba-cmp--merged td:nth-child(7) .ba-btn {
		flex: 1 1 0;
		margin: 0;
		padding: 10px 8px;
		font-size: 13.5px;
	}

	.ba-cmp--merged td:nth-child(7) .ba-btn + .ba-btn {
		margin-top: 0;
	}

	/* 6 — best-for line, muted, last. */
	.ba-cmp--merged td:nth-child(6) {
		order: 5;
		flex-basis: 100%;
	}

	.ba-cmp--merged .ba-cmp__bestfor {
		font-size: 12.5px;
	}

	.ba-cmp--merged tr[hidden] {
		display: none;
	}
}
