/* Pick 3 card (4.11.0) — mockup A "lottery balls". "html body" beats the theme and card skins. */
html body .lol-p3 {
	box-sizing: border-box;
	max-width: none; /* fills the raffle column like the other cards */
	margin: 0 auto;
	padding: 14px 14px 16px;
	border: 2px solid #2ee59d;
	border-radius: 22px;
	background: radial-gradient(120% 70% at 50% 0%, #1b2f6b 0%, #0a1433 55%, #060b20 100%);
	box-shadow: 0 0 18px rgba(46, 229, 157, .35);
	color: #eaf2ff;
	font-family: Roboto, Arial, sans-serif;
	text-align: left;
}
html body .lol-p3 * { box-sizing: border-box; }
html body .lol-p3-t {
	font-family: Impact, "Arial Black", sans-serif;
	font-size: 34px;
	line-height: 1;
	letter-spacing: .02em;
	text-align: center;
	color: #fff;
	text-shadow: 0 2px 0 #000, 0 0 14px rgba(255, 200, 60, .55);
}
html body .lol-p3-sub {
	margin-top: 5px;
	text-align: center;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .04em;
	color: #ffd75e;
}
html body .lol-p3-sub .lol-info { margin-left: 4px; vertical-align: middle; }

/* Buy-in switch */
html body .lol-p3-switch { display: flex; gap: 6px; justify-content: center; margin: 10px 0 0; }
html body .lol-p3 .lol-p3-tab {
	flex: 0 1 80px;
	margin: 0;
	padding: 6px 0;
	border: 1px solid #2a3d73;
	border-radius: 999px;
	background: #101c3d;
	color: #9fb4d8;
	font: 800 14px/1.2 Roboto, Arial, sans-serif;
	box-shadow: none;
	text-shadow: none;
	cursor: pointer;
}
html body .lol-p3 .lol-p3-tab.is-on { background: linear-gradient(180deg, #ffe27a, #f5b400); border-color: #ffd75e; color: #1a1200; }

html body .lol-p3-cd {
	margin: 10px 0 8px;
	padding: 6px;
	border: 1px solid #2a3d73;
	border-radius: 10px;
	background: #101c3d;
	text-align: center;
	font-family: "Courier New", monospace;
	font-size: 14px;
	color: #eaf2ff;
}
html body .lol-p3-poolrow {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
	padding: 8px 12px;
	border-radius: 12px;
	background: #0b1530;
}
html body .lol-p3-poolrow span { display: block; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #9fb4d8; }
html body .lol-p3-poolrow b { display: block; font-size: 24px; color: #fff; }
html body .lol-p3-count { text-align: right; }

/* Balls */
html body .lol-p3-balls { display: flex; justify-content: center; gap: 12px; }
html body .lol-p3-ball { width: 70px; text-align: center; }
html body .lol-p3 .lol-p3-up,
html body .lol-p3 .lol-p3-down {
	display: block;
	width: 100%;
	margin: 0;
	padding: 2px 0;
	border: 0;
	background: none;
	box-shadow: none;
	color: #7fd3ff;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
}
html body .lol-p3-b {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 66px;
	height: 66px;
	margin: 4px auto;
	border-radius: 50%;
	background: radial-gradient(circle at 32% 28%, #fff 0 8%, #ffe27a 9%, #f5b400 55%, #a86b00 100%);
	box-shadow: 0 4px 10px rgba(0, 0, 0, .6), inset 0 -6px 10px rgba(0, 0, 0, .25);
}
html body .lol-p3-b i {
	display: block;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #fff;
	color: #111;
	font: normal 900 26px/40px Arial, sans-serif;
	text-align: center;
}

html body .lol-p3 .lol-p3-play {
	display: block;
	width: 100%;
	margin: 10px 0 0;
	padding: 11px;
	border: 0;
	border-radius: 12px;
	background: linear-gradient(180deg, #2b6bff, #1336c9);
	box-shadow: none;
	color: #fff;
	font: 800 15px/1.3 Roboto, Arial, sans-serif;
	text-shadow: none;
	cursor: pointer;
}
html body .lol-p3 .lol-p3-play:disabled { opacity: .6; cursor: wait; }
html body .lol-p3 .lol-p3-qp {
	display: block;
	margin: 6px auto 0;
	padding: 2px 8px;
	border: 0;
	background: none;
	box-shadow: none;
	color: #7fd3ff;
	font-size: 13px;
	cursor: pointer;
}
html body .lol-p3-msg { min-height: 0; margin-top: 6px; text-align: center; font-size: 13px; font-weight: 700; }
html body .lol-p3-msg:empty { display: none; }
html body .lol-p3-msg.is-ok { color: #7ff0c0; }
html body .lol-p3-msg.is-err { color: #ff8f8f; }
html body .lol-p3-status[hidden] { display: none; }
html body .lol-p3-status .lol-in-row { margin-top: 10px; max-width: none; }
html body .lol-p3-login { margin: 8px 0 0; text-align: center; }
html body .lol-p3-login a { color: #7fd3ff; font-weight: 700; }
html body .lol-p3-last { margin-top: 8px; text-align: center; font-size: 12px; color: #9fb4d8; }
html body .lol-p3-last:empty { display: none; }

@media (max-width: 360px) {
	html body .lol-p3-balls { gap: 8px; }
	html body .lol-p3-ball { width: 62px; }
	html body .lol-p3-b { width: 58px; height: 58px; }
	html body .lol-p3-b i { width: 36px; height: 36px; font-size: 22px; line-height: 36px; }
}

/* Info tooltip: anchored to the subline and opening below it, inside the card (owner, 2026-11-19).
   .lol-info's bubble is positioned against the nearest positioned box, which the card lacked. */
html body .lol-p3-sub { position: relative; }
html body .lol-p3 .lol-info::after {
	top: calc(100% + 8px);
	bottom: auto;
	left: 50%;
	transform: translateX(-50%);
	width: 300px;
	max-width: 100%;
	z-index: 60;
}

/* Recent draws (last 5 of this buy-in) */
html body .lol-p3-recent[hidden] { display: none; }
html body .lol-p3-recent { margin-top: 12px; padding-top: 10px; border-top: 1px solid #2a3d73; }
html body .lol-p3-recent-h { margin-bottom: 6px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #9fb4d8; }
html body .lol-p3-recent ul { margin: 0; padding: 0; list-style: none; }
html body .lol-p3-recent li { margin: 0 0 6px; padding: 0; font-size: 12.5px; line-height: 1.35; color: #d7e3fa; }
html body .lol-p3-recent li:last-child { margin-bottom: 0; }
html body .lol-p3-r-t { font-variant-numeric: tabular-nums; }
html body .lol-p3-recent a.lol-p3-r-v { margin-left: 6px; color: #2ee59d; text-decoration: none; font-weight: 700; }
html body .lol-p3-r-you { margin-top: 1px; padding-left: 10px; color: #9fb4d8; font-size: 12px; }
html body .lol-p3-r-you.is-won { color: #7ff0c0; font-weight: 700; }

/* Balls spin back to 000 after a pick, and roll on Quick Pick (owner, 2026-11-19) */
@keyframes lol-p3-spin { from { transform: rotate(0deg) scale(1); } 50% { transform: rotate(180deg) scale(1.06); } to { transform: rotate(360deg) scale(1); } }
html body .lol-p3-ball.is-spin .lol-p3-b { animation: lol-p3-spin .55s ease-in-out; }
@media (prefers-reduced-motion: reduce) { html body .lol-p3-ball.is-spin .lol-p3-b { animation: none; } }

/* "You're in:" with each pick as three mini gold balls */
html body .lol-p3-status .lol-in-row { justify-content: flex-start; flex-wrap: wrap; gap: 6px 10px; }
html body .lol-p3-minis { display: flex; flex-wrap: wrap; gap: 6px 10px; }
html body .lol-p3-mini { display: inline-flex; gap: 2px; }
html body .lol-p3-mini i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: radial-gradient(circle at 32% 28%, #fff 0 10%, #ffe27a 11%, #f5b400 55%, #a86b00 100%);
	box-shadow: 0 2px 4px rgba(0, 0, 0, .5);
	color: #111;
	font: normal 900 12px/1 Arial, sans-serif;
	text-shadow: 0 0 2px #fff;
}

/* Recent draws: numbers as the same mini balls as "You're in" (owner, 2026-11-19) */
html body .lol-p3-recent li { margin-bottom: 9px; }
html body .lol-p3-r-t,
html body .lol-p3-r-you { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; white-space: pre-wrap; }
html body .lol-p3-r-you { margin-top: 4px; }
html body .lol-p3-recent .lol-p3-mini { vertical-align: middle; }
html body .lol-p3-recent a.lol-p3-r-v { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; min-height: 24px; margin-left: 2px; }
