/* Extracted from new/templ/component/lives_modal.templ (templ LivesModal) */
#livesModal .modal-content {
	border: none;
	border-radius: 24px;
	overflow: hidden;
}
.unlimited-hero {
	position: relative;
	text-align: center;
	padding: 56px 32px 48px;
	background: linear-gradient(160deg, #fff 0%, #fff5f8 100%);
	overflow: hidden;
}
.unlimited-hero__aurora {
	position: absolute;
	inset: -40%;
	background:
		radial-gradient(38% 32% at 22% 24%, rgba(255, 75, 125, 0.16) 0%, rgba(255, 75, 125, 0) 100%),
		radial-gradient(34% 30% at 80% 30%, rgba(124, 92, 255, 0.14) 0%, rgba(124, 92, 255, 0) 100%),
		radial-gradient(40% 34% at 60% 82%, rgba(28, 176, 246, 0.12) 0%, rgba(28, 176, 246, 0) 100%);
	pointer-events: none;
	animation: unlimitedAurora 14s ease-in-out infinite alternate;
}
@keyframes unlimitedAurora {
	0% { transform: rotate(0deg) scale(1); }
	100% { transform: rotate(14deg) scale(1.12); }
}
.unlimited-hero__glow {
	position: absolute;
	top: -120px;
	left: 50%;
	transform: translateX(-50%);
	width: 340px;
	height: 340px;
	background: radial-gradient(circle, rgba(255, 75, 125, 0.25) 0%, rgba(255, 75, 125, 0) 70%);
	pointer-events: none;
	animation: unlimitedGlowPulse 4s ease-in-out infinite;
}
@keyframes unlimitedGlowPulse {
	0%, 100% { opacity: 0.8; }
	50% { opacity: 1; }
}
.unlimited-hero__float {
	position: absolute;
	width: 34px;
	opacity: 0.16;
	filter: blur(1px);
	pointer-events: none;
	animation: livesFloat 6s ease-in-out infinite;
}
.unlimited-hero__float--1 { top: 44px; left: 8%; width: 30px; transform: rotate(-16deg); }
.unlimited-hero__float--2 { top: 96px; right: 9%; width: 44px; transform: rotate(12deg); animation-delay: -2s; }
.unlimited-hero__float--3 { bottom: 60px; left: 14%; width: 24px; transform: rotate(8deg); animation-delay: -4s; }
.unlimited-hero__float--4 { bottom: 110px; right: 16%; width: 20px; transform: rotate(-8deg); animation-delay: -3s; }
.unlimited-hero__badge {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 16px;
	border-radius: 999px;
	background: linear-gradient(135deg, #ff4b7d 0%, #b3005e 100%);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 1.5px;
	box-shadow: 0 8px 20px -6px rgba(255, 75, 125, 0.6);
	overflow: hidden;
	z-index: 1;
}
.unlimited-hero__badge::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(105deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.55) 50%, rgba(255, 255, 255, 0) 60%);
	background-size: 300% 100%;
	background-position: 100% 0;
	animation: livesShine 3.5s ease-in-out infinite;
	pointer-events: none;
}
.unlimited-hero__icon {
	position: relative;
	width: 180px;
	margin: 30px auto 8px;
}
.unlimited-hero__ring {
	position: absolute;
	top: 50%;
	left: 50%;
	border-radius: 50%;
	border: 2px solid rgba(255, 75, 125, 0.35);
	pointer-events: none;
	animation: unlimitedRing 3s ease-out infinite;
}
.unlimited-hero__ring--1 { width: 150px; height: 150px; margin: -75px 0 0 -75px; }
.unlimited-hero__ring--2 { width: 150px; height: 150px; margin: -75px 0 0 -75px; animation-delay: -1.5s; }
@keyframes unlimitedRing {
	0% { transform: scale(0.7); opacity: 0; }
	30% { opacity: 0.7; }
	100% { transform: scale(1.45); opacity: 0; }
}
.unlimited-hero__spark {
	position: absolute;
	color: #ffb020;
	pointer-events: none;
	animation: unlimitedSpark 2.6s ease-in-out infinite;
}
.unlimited-hero__spark--1 { top: -6px; left: 6px; font-size: 18px; }
.unlimited-hero__spark--2 { top: 22px; right: -6px; font-size: 13px; animation-delay: -0.9s; color: #7c5cff; }
.unlimited-hero__spark--3 { bottom: -2px; left: 26px; font-size: 11px; animation-delay: -1.7s; color: #ff4b7d; }
@keyframes unlimitedSpark {
	0%, 100% { transform: scale(0.4) rotate(0deg); opacity: 0; }
	50% { transform: scale(1.15) rotate(25deg); opacity: 1; }
}
.unlimited-hero__icon img {
	position: relative;
	height: 130px;
	filter: drop-shadow(0 16px 24px rgba(255, 75, 125, 0.35));
	animation: unlimitedFloat 3s ease-in-out infinite;
}
@keyframes unlimitedFloat {
	0%, 100% { transform: translateY(0) rotate(0deg); }
	50% { transform: translateY(-10px) rotate(2deg); }
}
.unlimited-hero__title {
	position: relative;
	margin: 16px 0 8px;
	font-weight: 800;
	font-size: 27px;
	letter-spacing: -0.5px;
	color: #1a1a2e;
}
.unlimited-hero__title-gradient {
	background: linear-gradient(90deg, #ff4b7d 0%, #b3005e 40%, #7c5cff 70%, #ff4b7d 100%);
	background-size: 200% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	animation: unlimitedGradientSlide 5s linear infinite;
}
@keyframes unlimitedGradientSlide {
	0% { background-position: 0% 0; }
	100% { background-position: 200% 0; }
}
.unlimited-hero__subtitle {
	position: relative;
	max-width: 380px;
	margin: 0 auto 28px;
	color: #6b7280;
	font-size: 15px;
	line-height: 1.6;
}
.unlimited-hero__cta {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 34px;
	border: none;
	border-radius: 999px;
	background: linear-gradient(135deg, #ff4b7d 0%, #b3005e 100%);
	color: #fff;
	font-weight: 700;
	font-size: 16px;
	box-shadow: 0 14px 28px -8px rgba(255, 75, 125, 0.6);
	overflow: hidden;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.unlimited-hero__cta-shine {
	position: absolute;
	inset: 0;
	background: linear-gradient(105deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 60%);
	background-size: 300% 100%;
	background-position: 100% 0;
	animation: livesShine 4s ease-in-out infinite;
	pointer-events: none;
}
.unlimited-hero__cta i {
	transition: transform 0.2s ease;
}
.unlimited-hero__cta:hover {
	transform: translateY(-2px) scale(1.03);
	box-shadow: 0 18px 38px -8px rgba(255, 75, 125, 0.75);
}
.unlimited-hero__cta:hover i {
	transform: translateX(4px);
}
.unlimited-hero__cta:active {
	transform: translateY(0) scale(0.98);
}

/* The sticky page header (fixed, z-index 99999, ~55px + the iOS safe area)
   paints over the top of the dialog, covering the close button. Start the
   dialog below it instead of under it. */
#livesModal .modal-dialog {
	margin-top: calc(var(--app-safe-top, 0px) + 72px);
}

#livesModal .modal-content {
	border: none;
	border-radius: 28px;
	overflow: hidden;
	box-shadow: 0 40px 90px -24px rgba(24, 18, 60, 0.45);
}

/* ---------- Hero ---------- */
.lives-hero {
	position: relative;
	text-align: center;
	padding: 30px 28px 22px;
	background:
		radial-gradient(120% 90% at 50% -20%, rgba(255, 116, 132, 0.18) 0%, rgba(255, 116, 132, 0) 60%),
		linear-gradient(170deg, #fffdfd 0%, #fff3f5 100%);
	overflow: hidden;
}
.lives-hero__aura {
	position: absolute;
	top: -160px;
	left: 50%;
	transform: translateX(-50%);
	width: 480px;
	height: 360px;
	background: radial-gradient(circle, rgba(247, 90, 91, 0.18) 0%, rgba(247, 90, 91, 0) 68%);
	pointer-events: none;
}
.lives-hero__float {
	position: absolute;
	width: 34px;
	opacity: 0.14;
	filter: blur(1px);
	pointer-events: none;
	animation: livesFloat 6s ease-in-out infinite;
}
.lives-hero__float--1 { top: 30px; left: 9%; width: 30px; transform: rotate(-14deg); }
.lives-hero__float--2 { top: 72px; right: 11%; width: 42px; transform: rotate(12deg); animation-delay: -2s; }
.lives-hero__float--3 { bottom: 24px; left: 17%; width: 24px; transform: rotate(8deg); animation-delay: -4s; }
@keyframes livesFloat {
	0%, 100% { translate: 0 0; }
	50% { translate: 0 -12px; }
}
.lives-hero__close {
	position: absolute;
	top: 18px;
	right: 18px;
	width: 40px;
	height: 40px;
	border: none;
	border-radius: 50%;
	background: rgba(26, 26, 46, 0.05);
	backdrop-filter: blur(4px);
	color: #8a8a99;
	font-size: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s ease, color 0.15s ease, transform 0.2s ease;
	z-index: 3;
}
.lives-hero__close:hover {
	background: rgba(247, 90, 91, 0.12);
	color: #f75a5b;
	transform: rotate(90deg) scale(1.05);
}

/* Broken heart (zero hearts) */
.lives-broken {
	position: relative;
	width: 88px;
	height: 80px;
	margin: 0 auto 2px;
}
.lives-broken__pulse {
	position: absolute;
	inset: 10px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(247, 90, 91, 0.25) 0%, rgba(247, 90, 91, 0) 70%);
	animation: livesBrokenPulse 2.4s ease-in-out infinite;
}
@keyframes livesBrokenPulse {
	0%, 100% { transform: scale(0.85); opacity: 0.5; }
	50% { transform: scale(1.15); opacity: 1; }
}
.lives-broken__half {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	filter: drop-shadow(0 14px 20px rgba(247, 90, 91, 0.35));
}
.lives-broken__half--l {
	animation: livesBrokenL 2.4s ease-in-out infinite;
}
.lives-broken__half--r {
	animation: livesBrokenR 2.4s ease-in-out infinite;
}
@keyframes livesBrokenL {
	0%, 100% { transform: translateX(0) rotate(0deg); }
	50% { transform: translateX(-5px) rotate(-5deg); }
}
@keyframes livesBrokenR {
	0%, 100% { transform: translateX(0) rotate(0deg); }
	50% { transform: translateX(5px) rotate(5deg); }
}

.lives-hero__title {
	position: relative;
	margin: 4px 0 6px;
	font-weight: 800;
	font-size: 22px;
	color: #1e1b32;
	letter-spacing: -0.5px;
}
.lives-hero__subtitle {
	position: relative;
	margin: 0 auto 14px;
	max-width: 400px;
	color: #8b8b9d;
	font-size: 14px;
	line-height: 1.5;
}
.lives-hearts {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
	margin-bottom: 22px;
}
.lives-hearts__item {
	animation: livesHeartPop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.lives-hearts__item img {
	height: 52px;
	width: auto;
	filter: drop-shadow(0 8px 12px rgba(247, 90, 91, 0.35));
	transition: transform 0.2s ease;
}
.lives-hearts__item:hover img {
	transform: scale(1.18) rotate(-6deg);
}
@keyframes livesHeartPop {
	0% { opacity: 0; transform: scale(0) translateY(10px); }
	100% { opacity: 1; transform: scale(1) translateY(0); }
}
.next-heart-pill {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 16px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid #ffdfe3;
	box-shadow: 0 10px 24px -10px rgba(247, 90, 91, 0.45), inset 0 1px 0 #fff;
	color: #85859a;
	font-weight: 600;
	font-size: 14px;
}
.next-heart-pill i {
	color: #f7b955;
	animation: livesSparkle 1.8s ease-in-out infinite;
}
@keyframes livesSparkle {
	0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
	50% { transform: scale(1.25) rotate(15deg); opacity: 0.75; }
}
.next-heart-pill .next-heart-countdown {
	color: #f75a5b;
	font-weight: 900;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.5px;
}

/* ---------- Options ---------- */
.lives-body {
	padding: 10px 24px 24px;
	background: #fff;
}
.lives-options {
	display: flex;
	flex-direction: column;
}
.lives-card {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 14px;
	border-radius: 16px;
	border: 1.5px solid #eeeef4;
	background: #fff;
	text-decoration: none;
	animation: livesCardIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
}
.lives-options .lives-card:nth-of-type(1) { animation-delay: 0.05s; }
.lives-options .lives-card:nth-of-type(2) { animation-delay: 0.12s; }
.lives-options .lives-card:nth-of-type(3) { animation-delay: 0.19s; }
.lives-options .lives-card:nth-of-type(4) { animation-delay: 0.26s; }
@keyframes livesCardIn {
	0% { opacity: 0; transform: translateY(14px); }
	100% { opacity: 1; transform: translateY(0); }
}
.lives-card:hover {
	border-color: #bfe4fb;
	box-shadow: 0 20px 40px -20px rgba(28, 176, 246, 0.45);
	transform: translateY(-3px);
}
.lives-card__icon {
	flex: 0 0 auto;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 14px;
	background: #f6f7fb;
	transition: transform 0.2s ease;
}
.lives-card--ad .lives-card__icon { background: linear-gradient(140deg, #fff7e8 0%, #ffefd2 100%); }
.lives-card--refer .lives-card__icon { background: linear-gradient(140deg, #eafaf0 0%, #dcf5e7 100%); }
.lives-card--featured .lives-card__icon { background: linear-gradient(140deg, #e3f4ff 0%, #d3edff 100%); }
.lives-card__icon img {
	max-height: 38px;
	max-width: 40px;
	filter: drop-shadow(0 6px 10px rgba(30, 27, 50, 0.14));
	transition: transform 0.2s ease;
}
.lives-card:hover .lives-card__icon {
	transform: scale(1.05) rotate(-2deg);
}
.lives-card:hover .lives-card__icon img {
	transform: scale(1.08);
}
.lives-card__body {
	flex: 1 1 auto;
	min-width: 0;
}
.lives-card__body h5 {
	margin: 0 0 2px;
	font-weight: 800;
	font-size: 15px;
	color: #23273f;
	letter-spacing: -0.2px;
}
.lives-card__body p {
	margin: 0;
	color: #8b90a3;
	font-size: 13px;
	line-height: 1.4;
}
.lives-card__badge {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	padding: 5px 11px;
	border-radius: 999px;
	color: #0d8ee0;
	background: #ebf7ff;
	font-weight: 800;
	font-size: 13px;
	white-space: nowrap;
	transition: transform 0.18s ease;
}
.lives-card:hover .lives-card__badge {
	transform: scale(1.06);
}
.lives-card__badge--gradient {
	color: #fff;
	background: linear-gradient(135deg, #2bb8f8 0%, #0a7fd4 100%);
	box-shadow: 0 10px 20px -8px rgba(28, 176, 246, 0.7);
}
.lives-card__arrow {
	flex: 0 0 auto;
	width: 26px;
	height: 26px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #f4f5f9;
	color: #a3a7b8;
	font-size: 12px;
	transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.lives-card:hover .lives-card__arrow {
	background: var(--bs-primary, #1cb0f6);
	color: #fff;
	transform: translateX(4px);
}

/* Featured card */
.lives-card--featured {
	background: linear-gradient(135deg, #f4fbff 0%, #e8f6ff 100%);
	border-color: #cdeafc;
}
/* Shine is a full-cover layer animated via background-position, so the card
   doesn't need overflow: hidden (which would clip the "Most popular" tag). */
.lives-card--featured::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(105deg, rgba(255, 255, 255, 0) 45%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0) 55%);
	background-size: 300% 100%;
	background-position: 100% 0;
	pointer-events: none;
	animation: livesShine 4.5s ease-in-out infinite;
}
@keyframes livesShine {
	0%, 60% { background-position: 100% 0; }
	100% { background-position: 0% 0; }
}
.lives-card--featured:hover {
	border-color: #9ed9fa;
	box-shadow: 0 24px 48px -20px rgba(28, 176, 246, 0.6);
}
.lives-card__tag {
	position: absolute;
	top: 0;
	right: 16px;
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 4px 12px;
	border-radius: 999px;
	background: linear-gradient(135deg, #ffb020 0%, #ff8a00 100%);
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	box-shadow: 0 6px 14px -4px rgba(255, 138, 0, 0.55);
	z-index: 2;
}

.lives-divider {
	display: flex;
	align-items: center;
	text-align: center;
	color: #c2c3cf;
	font-weight: 700;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin: 6px 0;
}
.lives-divider::before,
.lives-divider::after {
	content: "";
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, transparent 0%, #e7e8ef 50%, transparent 100%);
}
.lives-divider span { padding: 0 14px; }

.lives-return {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	max-width: 100%;
	margin: 22px auto 0;
	padding: 8px 16px 8px 12px;
	border: 1px solid #e3e5ee;
	border-radius: 999px;
	background: transparent;
	color: #6b7085;
	font-weight: 500;
	font-size: 13.5px;
	line-height: 1.2;
	letter-spacing: 0.01em;
	cursor: pointer;
	user-select: none;
	transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.lives-return i {
	flex: none;
	font-size: 11px;
	opacity: 0.7;
	transition: transform 0.15s ease, opacity 0.15s ease;
}
.lives-return span {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.lives-return:hover {
	border-color: #c9cddd;
	background: #f7f8fb;
	color: #3b405a;
}
.lives-return:hover i { opacity: 1; transform: translateX(-2px); }
.lives-return:active { transform: scale(0.98); }
.lives-return__wrap { display: flex; justify-content: center; }

@media (max-width: 575px) {
	.lives-hero { padding: 26px 16px 18px; }
	.lives-body { padding: 8px 12px 20px; }
	.lives-card { gap: 12px; padding: 10px 12px; }
	.lives-card__icon { width: 44px; height: 44px; border-radius: 12px; }
	.lives-card__icon img { max-height: 32px; max-width: 34px; }
	.lives-card__badge { padding: 4px 9px; font-size: 12px; }
	.lives-card__arrow { display: none; }
}

/* ---- Dark theme ---- */
html[data-theme="dark"] #livesModal .modal-content {
	box-shadow: 0 40px 90px -24px rgba(0, 0, 0, 0.7);
}

/* Unlimited (Mastermind) hero */
html[data-theme="dark"] .unlimited-hero {
	background:
		radial-gradient(120% 90% at 50% -20%, rgba(255, 75, 125, 0.18) 0%, rgba(255, 75, 125, 0) 60%),
		linear-gradient(160deg, var(--tt-surface) 0%, var(--tt-surface-2) 100%);
}
html[data-theme="dark"] .unlimited-hero__aurora {
	background:
		radial-gradient(38% 32% at 22% 24%, rgba(255, 75, 125, 0.24) 0%, rgba(255, 75, 125, 0) 100%),
		radial-gradient(34% 30% at 80% 30%, rgba(124, 92, 255, 0.2) 0%, rgba(124, 92, 255, 0) 100%),
		radial-gradient(40% 34% at 60% 82%, rgba(28, 176, 246, 0.16) 0%, rgba(28, 176, 246, 0) 100%);
}
html[data-theme="dark"] .unlimited-hero__float { opacity: 0.24; }
html[data-theme="dark"] .unlimited-hero__title { color: var(--tt-ink); }
/* image-only override keeps the animated background-size/position;
   the light-mode #b3005e stop goes muddy on dark surfaces */
html[data-theme="dark"] .unlimited-hero__title-gradient {
	background-image: linear-gradient(90deg, #ff6b95 0%, #ff4b7d 40%, #a58bff 70%, #ff6b95 100%);
}
html[data-theme="dark"] .unlimited-hero__subtitle { color: var(--tt-muted); }

/* Hearts-left hero */
html[data-theme="dark"] .lives-hero {
	/* ends on --tt-surface so it blends seamlessly into .lives-body below */
	background:
		radial-gradient(120% 90% at 50% -20%, rgba(255, 116, 132, 0.16) 0%, rgba(255, 116, 132, 0) 60%),
		linear-gradient(170deg, var(--tt-surface-2) 0%, var(--tt-surface) 100%);
}
html[data-theme="dark"] .lives-hero__float { opacity: 0.22; }
html[data-theme="dark"] .lives-hero__title { color: var(--tt-ink); }
html[data-theme="dark"] .lives-hero__subtitle { color: var(--tt-muted); }
html[data-theme="dark"] .lives-hero__close {
	background: rgba(255, 255, 255, 0.08);
	color: var(--tt-muted);
}
html[data-theme="dark"] .lives-hero__close:hover {
	background: rgba(247, 90, 91, 0.22);
	color: #ff8a8b;
}
html[data-theme="dark"] .next-heart-pill {
	background: var(--tt-surface-2);
	border-color: var(--tt-line-strong);
	box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.55);
	color: var(--tt-muted);
}

/* Options list */
html[data-theme="dark"] .lives-body { background: var(--tt-surface); }
html[data-theme="dark"] .lives-card {
	background: var(--tt-surface-2);
	border-color: var(--tt-line);
}
html[data-theme="dark"] .lives-card:hover {
	border-color: rgba(28, 176, 246, 0.45);
	box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.65);
}
/* theme.css's [class*="card"] hammer excludes -body/-title/etc. but this
   component's BEM __ separators dodge those :not() matches - unpaint it */
html[data-theme="dark"] .lives-card__body { background: transparent; }
html[data-theme="dark"] .lives-card__icon { background: var(--tt-surface-3); }
html[data-theme="dark"] .lives-card--ad .lives-card__icon { background: rgba(255, 176, 32, 0.14); }
html[data-theme="dark"] .lives-card--refer .lives-card__icon { background: rgba(52, 199, 123, 0.14); }
html[data-theme="dark"] .lives-card--featured .lives-card__icon { background: rgba(28, 176, 246, 0.16); }
html[data-theme="dark"] .lives-card__body h5 { color: var(--tt-ink); }
html[data-theme="dark"] .lives-card__body p { color: var(--tt-muted); }
html[data-theme="dark"] .lives-card__badge {
	background: rgba(28, 176, 246, 0.16);
	color: #4fc3ff;
}
html[data-theme="dark"] .lives-card__badge--gradient {
	background: linear-gradient(135deg, #2bb8f8 0%, #0a7fd4 100%);
	color: #fff;
}
/* the card hammer's color: inherit outranks .lives-card__tag, leaving the
   link blue on orange */
html[data-theme="dark"] .lives-card__tag {
	background: linear-gradient(135deg, #ffb020 0%, #ff8a00 100%);
	color: #fff;
}
html[data-theme="dark"] .lives-card__arrow {
	background: var(--tt-surface-3);
	color: var(--tt-muted);
}
html[data-theme="dark"] .lives-card--featured {
	background: linear-gradient(135deg, rgba(28, 176, 246, 0.16) 0%, rgba(28, 176, 246, 0.05) 100%) var(--tt-surface-2);
	border-color: rgba(28, 176, 246, 0.35);
}
html[data-theme="dark"] .lives-card--featured:hover {
	border-color: rgba(28, 176, 246, 0.6);
	box-shadow: 0 24px 48px -20px rgba(28, 176, 246, 0.35);
}
/* image-only override keeps the animated background-size/position */
html[data-theme="dark"] .lives-card--featured::after {
	background-image: linear-gradient(105deg, rgba(255, 255, 255, 0) 45%, rgba(255, 255, 255, 0.14) 50%, rgba(255, 255, 255, 0) 55%);
}
html[data-theme="dark"] .lives-divider { color: var(--tt-muted); }
html[data-theme="dark"] .lives-divider::before,
html[data-theme="dark"] .lives-divider::after {
	background: linear-gradient(90deg, transparent 0%, var(--tt-line-strong) 50%, transparent 100%);
}
html[data-theme="dark"] .lives-return {
	border-color: var(--tt-line-strong);
	color: var(--tt-muted);
}
html[data-theme="dark"] .lives-return:hover {
	border-color: var(--tt-line-strong);
	background: var(--tt-surface-2);
	color: var(--tt-ink);
}

/* Coin refill card */
.lives-card--coins .lives-card__icon { background: linear-gradient(140deg, #fff8e1 0%, #ffe9a8 100%); }
html[data-theme="dark"] .lives-card--coins .lives-card__icon { background: rgba(255, 207, 64, 0.16); }
.lives-card__badge--coins { background: linear-gradient(135deg, #ffcf40 0%, #ff9f1a 100%); color: #3a2a00; }
.lives-card--bought { box-shadow: 0 0 0 3px rgba(52, 199, 89, 0.45); }
.lives-card--failed { box-shadow: 0 0 0 3px rgba(255, 59, 48, 0.45); }
.lives-card--failed .lives-coins__text { color: #d93025; }
html[data-theme="dark"] .lives-card__badge--coins { background: linear-gradient(135deg, #ffcf40 0%, #ff9f1a 100%); color: #3a2a00; }
