.bbv-wrap {
	--bbv-bg: linear-gradient(160deg, #000000 0%, #1a0e2e 55%, #0d0715 100%);
	--bbv-card: #150b22;
	--bbv-card-border: #2e2140;
	--bbv-gold: #8b5cf6;
	--bbv-gold-light: #c4b5fd;
	--bbv-gold-rgb: 139, 92, 246;
	--bbv-text: #f3eefc;
	--bbv-muted: #a89bc2;
	--bbv-green: #3ddc84;

	background: var(--bbv-bg);
	color: var(--bbv-text);
	padding: 32px 20px 48px;
	border-radius: 12px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	position: relative;
	overflow: hidden;
	max-width: 1200px;
	margin: 0 auto;
	box-sizing: border-box;
	border: 1px solid #2e2140;
	box-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
}
.bbv-wrap *, .bbv-wrap *::before, .bbv-wrap *::after { box-sizing: border-box; }

.bbv-header { text-align: center; margin-bottom: 30px; }
.bbv-week-badge {
	display: inline-block;
	background: #ffd54f;
	color: #14140f;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 1px;
	text-transform: uppercase;
	padding: 5px 16px;
	border-radius: 20px;
	margin-bottom: 12px;
}
.bbv-title {
	font-size: 28px;
	font-weight: 800;
	letter-spacing: 0.5px;
	margin: 0 0 8px;
	color: #ffd54f;
	text-transform: uppercase;
}
.bbv-subtitle { color: var(--bbv-muted); font-size: 14px; margin: 0; display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.bbv-subtitle span#bbv-total-votes {
	color: #0b0b0d;
	font-weight: 800;
	background: linear-gradient(120deg, var(--bbv-gold), var(--bbv-gold-light));
	padding: 2px 10px;
	border-radius: 20px;
	display: inline-block;
}

.bbv-live-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.5px;
	color: #d92d3c;
	border: 1px solid #d92d3c;
	padding: 4px 10px;
	border-radius: 20px;
	background: rgba(217, 45, 60, 0.08);
}
.bbv-live-badge-inline {
	vertical-align: middle;
	margin-right: 8px;
	font-size: 10px;
	padding: 3px 8px;
}
.bbv-live-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #d92d3c;
	animation: bbv-live-pulse 1.3s ease-in-out infinite;
}
@keyframes bbv-live-pulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.35; transform: scale(0.8); }
}

.bbv-empty { text-align: center; color: var(--bbv-muted); padding: 40px 0; }

/* Weekly elimination board */
.bbv-elim-wrap {
	background: var(--bbv-card);
	border: 1px solid var(--bbv-card-border);
	border-radius: 14px;
	padding: 22px;
	max-width: 900px;
	margin: 40px auto 0;
}

/* Weekly nominations (elimination candidates) — box grid */
.bbv-nom-wrap {
	background: var(--bbv-card);
	border: 1px solid var(--bbv-card-border);
	border-radius: 14px;
	padding: 22px;
	max-width: 900px;
	margin: 40px auto 0;
}
.bbv-nom-title {
	font-size: 17px;
	font-weight: 800;
	color: #ff8a8d;
	margin: 0 0 20px;
	text-align: center;
}
.bbv-nom-empty { color: var(--bbv-muted); font-size: 13.5px; text-align: center; padding: 10px 0; }
.bbv-nom-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}
.bbv-nom-card {
	background: #150e21;
	border: 1px solid #241a33;
	border-top: 3px solid #e5484d;
	border-radius: 12px;
	padding: 16px 10px;
	text-align: center;
}
.bbv-nom-photo {
	width: 64px;
	height: 64px;
	margin: 0 auto 10px;
	border-radius: 50%;
	overflow: hidden;
	background: #0d0715;
	border: 2px solid #e5484d;
}
.bbv-nom-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bbv-nom-photo-placeholder {
	width: 100%; height: 100%;
	display: flex; align-items: center; justify-content: center;
	color: #ff8a8d;
	font-weight: 800;
	font-size: 20px;
}
.bbv-nom-name {
	font-size: 13.5px;
	font-weight: 800;
	color: var(--bbv-text);
	text-transform: uppercase;
	margin-bottom: 4px;
}
.bbv-nom-week {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: var(--bbv-muted);
}
.bbv-elim-title {
	font-size: 18px;
	font-weight: 800;
	color: var(--bbv-text);
	margin: 0 0 18px;
	text-align: center;
}
.bbv-elim-empty { color: var(--bbv-muted); font-size: 13.5px; text-align: center; padding: 10px 0; }

.bbv-elim-latest {
	display: flex;
	align-items: center;
	gap: 16px;
	background: linear-gradient(90deg, rgba(229, 72, 77, 0.16), rgba(229, 72, 77, 0.04));
	border: 2px solid #e5484d;
	border-radius: 14px;
	padding: 16px 20px;
	margin-bottom: 22px;
}
.bbv-elim-latest-photo {
	flex: 0 0 64px;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	overflow: hidden;
	background: #0d0715;
	border: 3px solid #e5484d;
	box-shadow: 0 0 0 2px rgba(229, 72, 77, 0.3);
}
.bbv-elim-latest-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bbv-elim-latest-label {
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.6px;
	color: #ff8a8d;
	text-transform: uppercase;
	margin-bottom: 4px;
}
.bbv-elim-latest-name {
	font-size: 20px;
	font-weight: 900;
	color: var(--bbv-text);
	text-transform: uppercase;
}
.bbv-elim-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}
.bbv-elim-card {
	background: #150e21;
	border: 1px solid #241a33;
	border-top: 3px solid #e5484d;
	border-radius: 12px;
	padding: 16px 10px;
	text-align: center;
}
.bbv-elim-card-week {
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	color: var(--bbv-gold-light);
	margin-bottom: 10px;
}
.bbv-elim-photo {
	width: 64px;
	height: 64px;
	margin: 0 auto 10px;
	border-radius: 50%;
	overflow: hidden;
	background: #0d0715;
	border: 2px solid #e5484d;
}
.bbv-elim-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bbv-elim-photo-placeholder {
	width: 100%; height: 100%;
	display: flex; align-items: center; justify-content: center;
	color: #ff8a8d;
	font-weight: 800;
	font-size: 20px;
}
.bbv-elim-card-name {
	font-size: 13.5px;
	font-weight: 800;
	color: var(--bbv-text);
	text-transform: uppercase;
	margin-bottom: 8px;
}
.bbv-elim-tag {
	font-size: 9px;
	font-weight: 900;
	letter-spacing: 0.5px;
	color: #ff8a8d;
	border: 1px solid #e5484d;
	background: rgba(229, 72, 77, 0.1);
	padding: 3px 10px;
	border-radius: 20px;
	display: inline-block;
}

/* Live comments section */
.bbv-comments-wrap {
	background: var(--bbv-card);
	border: 1px solid var(--bbv-card-border);
	border-radius: 14px;
	padding: 22px;
	max-width: 700px;
	margin: 40px auto 0;
}
.bbv-comments-title {
	font-size: 18px;
	font-weight: 800;
	color: var(--bbv-text);
	margin: 0 0 18px;
}
.bbv-comment-form {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--bbv-card-border);
}
.bbv-comment-name-input,
.bbv-comment-textarea {
	background: #0d0715;
	border: 1px solid var(--bbv-card-border);
	color: var(--bbv-text);
	border-radius: 8px;
	padding: 10px 12px;
	font-size: 13.5px;
	font-family: inherit;
	outline: none;
	resize: vertical;
}
.bbv-comment-name-input:focus,
.bbv-comment-textarea:focus { border-color: #ffd54f; }
.bbv-comment-submit {
	align-self: flex-end;
	background: linear-gradient(120deg, #ffd54f, #f1c40f);
	color: #14140f;
	border: none;
	font-weight: 800;
	font-size: 12.5px;
	letter-spacing: 0.5px;
	padding: 10px 22px;
	border-radius: 8px;
	cursor: pointer;
}
.bbv-comment-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.bbv-comments-list { display: flex; flex-direction: column; gap: 16px; max-height: 420px; overflow-y: auto; }
.bbv-comments-empty { color: var(--bbv-muted); font-size: 13.5px; text-align: center; padding: 10px 0; }
.bbv-comment-item { display: flex; gap: 12px; }
.bbv-comment-avatar {
	flex: 0 0 36px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #211436;
	border: 1px solid var(--bbv-card-border);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 14px;
	color: #ffd54f;
	text-transform: uppercase;
}
.bbv-comment-body { flex: 1; min-width: 0; }
.bbv-comment-meta { display: flex; align-items: baseline; gap: 8px; margin-bottom: 3px; }
.bbv-comment-name { font-size: 13px; font-weight: 700; color: var(--bbv-text); }
.bbv-comment-time { font-size: 11px; color: var(--bbv-muted); }
.bbv-comment-text { font-size: 13.5px; color: #d5cfe0; line-height: 1.5; word-wrap: break-word; }

.bbv-voted-notice {
	text-align: center;
	color: var(--bbv-green);
	background: rgba(61, 220, 132, 0.1);
	border: 1px solid rgba(61, 220, 132, 0.35);
	padding: 10px 16px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 700;
	max-width: 480px;
	margin: 0 auto 24px;
}
.bbv-vote-again-countdown {
	display: inline-block;
	margin-top: 6px;
	font-size: 12px;
	font-weight: 700;
	color: #ffd54f;
}

.bbv-thankyou-next-vote {
	margin: 8px 0 0;
	font-size: 12.5px;
	color: #a89bc2;
	text-align: center;
}
.bbv-thankyou-next-vote strong { color: #ffd54f; }

/* Scrolling marquee text */
.bbv-marquee {
	width: 100%;
	overflow: hidden;
	background: linear-gradient(90deg, #170f26, #1e1433, #170f26);
	border: 1px solid #3c2a58;
	border-radius: 8px;
	padding: 9px 0;
	margin-bottom: 22px;
	white-space: nowrap;
}
.bbv-marquee-track {
	display: inline-block;
	white-space: nowrap;
	padding-left: 100%;
	animation: bbv-marquee-scroll 22s linear infinite;
	color: var(--bbv-gold-light);
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.3px;
}
.bbv-marquee-track span { margin-right: 60px; }
@keyframes bbv-marquee-scroll {
	0% { transform: translateX(0); }
	100% { transform: translateX(-100%); }
}

/* Leading contestant highlight */
.bbv-card.bbv-leader {
	border-color: var(--bbv-gold);
	box-shadow: 0 0 0 1px var(--bbv-gold), 0 10px 30px rgba(var(--bbv-gold-rgb), 0.25);
	position: relative;
}
.bbv-card.bbv-leader .bbv-rank-badge {
	background: linear-gradient(120deg, var(--bbv-gold), var(--bbv-gold-light));
	color: #14140f;
	border-color: var(--bbv-gold-light);
}
.bbv-leader-tag {
	position: absolute;
	top: 10px;
	right: 10px;
	background: linear-gradient(120deg, var(--bbv-gold), var(--bbv-gold-light));
	color: #14140f;
	font-size: 9px;
	font-weight: 900;
	letter-spacing: 0.5px;
	padding: 3px 8px;
	border-radius: 20px;
	z-index: 2;
}
.bbv-result-row.bbv-leader-row {
	background: linear-gradient(90deg, rgba(var(--bbv-gold-rgb), 0.22), rgba(var(--bbv-gold-rgb), 0.05));
	border-left: 4px solid var(--bbv-gold);
	padding-left: 12px;
}
.bbv-result-row.bbv-leader-row .bbv-result-rank {
	color: var(--bbv-gold-light);
}

/* Danger zone (lowest votes) highlight */
.bbv-card.bbv-danger {
	border-color: #e5484d;
	box-shadow: 0 0 0 1px #e5484d, 0 10px 30px rgba(229, 72, 77, 0.25);
	position: relative;
}
.bbv-card.bbv-danger .bbv-rank-badge {
	background: rgba(229, 72, 77, 0.15);
	color: #ff8a8d;
	border-color: #e5484d;
}
.bbv-danger-tag {
	position: absolute;
	top: 10px;
	right: 10px;
	background: #e5484d;
	color: #fff;
	font-size: 9px;
	font-weight: 900;
	letter-spacing: 0.5px;
	padding: 3px 8px;
	border-radius: 20px;
	z-index: 2;
	animation: bbv-danger-pulse 1.6s ease-in-out infinite;
}
@keyframes bbv-danger-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.55; }
}
.bbv-card.bbv-danger .bbv-progress-bar {
	background: linear-gradient(90deg, #e5484d, #ff8a8d);
}
.bbv-result-row.bbv-danger-row {
	background: linear-gradient(90deg, rgba(229, 72, 77, 0.22), rgba(229, 72, 77, 0.05));
	border-left: 4px solid #e5484d;
	padding-left: 12px;
}
.bbv-result-row.bbv-danger-row .bbv-result-rank {
	color: #ff8a8d;
}

/* Countdown timer */
.bbv-countdown {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	margin-top: 16px;
	padding: 14px 22px;
	background: #181026;
	border: 1px solid #3c2a58;
	border-radius: 12px;
}
.bbv-countdown-label {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 1px;
	color: var(--bbv-gold-light);
	text-transform: uppercase;
}
.bbv-countdown-timer {
	display: flex;
	gap: 14px;
}
.bbv-countdown-unit {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 44px;
}
.bbv-countdown-num {
	font-size: 22px;
	font-weight: 900;
	color: var(--bbv-text);
	background: #0d0715;
	border: 1px solid var(--bbv-card-border);
	border-radius: 8px;
	padding: 4px 0;
	width: 100%;
	text-align: center;
	font-variant-numeric: tabular-nums;
}
.bbv-countdown-text {
	font-size: 10px;
	color: var(--bbv-muted);
	text-transform: uppercase;
	margin-top: 4px;
	letter-spacing: 0.5px;
}

.bbv-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-bottom: 40px;
}

.bbv-card {
	background: var(--bbv-card);
	border: 1px solid var(--bbv-card-border);
	border-radius: 14px;
	padding: 16px;
	text-align: center;
	position: relative;
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.bbv-card:hover {
	transform: translateY(-4px);
	border-color: var(--bbv-gold);
	box-shadow: 0 8px 24px rgba(var(--bbv-gold-rgb), 0.15);
}

.bbv-rank-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	background: rgba(var(--bbv-gold-rgb), 0.15);
	color: var(--bbv-gold-light);
	border: 1px solid var(--bbv-gold);
	font-size: 11px;
	font-weight: 700;
	padding: 3px 8px;
	border-radius: 20px;
	z-index: 2;
}

.bbv-photo {
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: 12px;
	background: #0a0510;
	border: 3px solid #ffd54f;
}
.bbv-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bbv-photo-placeholder {
	width: 100%; height: 100%;
	display: flex; align-items: center; justify-content: center;
	color: var(--bbv-muted); font-size: 12px;
}

.bbv-name {
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 12px;
	color: var(--bbv-text);
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

.bbv-progress {
	width: 100%;
	height: 8px;
	background: #241a35;
	border-radius: 20px;
	overflow: hidden;
	margin-bottom: 8px;
}
.bbv-progress-bar {
	height: 100%;
	background: linear-gradient(90deg, #1a9b56, #3ddc84);
	border-radius: 20px;
	transition: width 0.6s ease;
}

.bbv-stats {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 12px;
	color: var(--bbv-muted);
	margin-bottom: 14px;
}
.bbv-votes {
	background: rgba(var(--bbv-gold-rgb), 0.12);
	border: 1px solid rgba(var(--bbv-gold-rgb), 0.4);
	color: var(--bbv-gold-light);
	font-weight: 800;
	padding: 3px 9px;
	border-radius: 20px;
	font-size: 11px;
	letter-spacing: 0.3px;
}
.bbv-percentage { color: var(--bbv-green); font-weight: 700; }

.bbv-vote-btn {
	width: 100%;
	padding: 11px 0;
	background: linear-gradient(120deg, #c81e1e, #e53935);
	color: #ffffff;
	border: none;
	border-radius: 8px;
	font-weight: 800;
	font-size: 13px;
	letter-spacing: 1px;
	cursor: pointer;
	transition: transform 0.15s ease, filter 0.15s ease;
}
.bbv-vote-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.bbv-vote-btn:active { transform: translateY(0); }
.bbv-vote-btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* Results list — no horizontal scroll, works on any screen width */
.bbv-results-section { margin-top: 10px; }
.bbv-results-title {
	text-align: center;
	font-size: 20px;
	font-weight: 800;
	color: var(--bbv-gold-light);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 16px;
}

/* Leading vs Danger Zone highlight row */
.bbv-highlight-row {
	display: flex;
	gap: 14px;
	margin-bottom: 22px;
}
.bbv-highlight-box {
	flex: 1 1 0;
	background: var(--bbv-card);
	border-radius: 14px;
	padding: 16px;
	text-align: center;
	position: relative;
}
.bbv-highlight-box.bbv-highlight-gold {
	border: 2px solid #ffd54f;
	box-shadow: 0 0 0 1px #ffd54f, 0 10px 26px rgba(255, 213, 79, 0.22);
}
.bbv-highlight-box.bbv-highlight-danger {
	border: 2px solid #e5484d;
	box-shadow: 0 0 0 1px #e5484d, 0 10px 26px rgba(229, 72, 77, 0.22);
}
.bbv-highlight-label {
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	margin-bottom: 10px;
}
.bbv-highlight-gold .bbv-highlight-label { color: var(--bbv-gold-light); }
.bbv-highlight-danger .bbv-highlight-label { color: #ff8a8d; }

.bbv-highlight-photo {
	width: 64px;
	height: 64px;
	margin: 0 auto 10px;
	border-radius: 50%;
	overflow: hidden;
	background: #0a0510;
	border: 3px solid #ffd54f;
}
.bbv-highlight-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bbv-highlight-photo-placeholder {
	width: 100%; height: 100%;
	display: flex; align-items: center; justify-content: center;
	font-weight: 800;
	font-size: 22px;
	color: var(--bbv-gold-light);
	background: #221735;
}

.bbv-highlight-name {
	font-size: 15px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	margin-bottom: 6px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.bbv-highlight-stats {
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-size: 12px;
	color: var(--bbv-muted);
}
.bbv-highlight-votes { font-weight: 700; }
.bbv-highlight-percent { font-weight: 800; font-size: 16px; color: var(--bbv-green); }
.bbv-results-list {
	background: var(--bbv-card);
	border: 1px solid var(--bbv-card-border);
	border-radius: 12px;
	overflow: hidden;
}
.bbv-result-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	border-bottom: 1px solid var(--bbv-card-border);
}
.bbv-result-row:last-child { border-bottom: none; }

.bbv-result-rank {
	flex: 0 0 32px;
	color: var(--bbv-gold-light);
	font-weight: 800;
	font-size: 14px;
	text-align: center;
}
.bbv-result-photo {
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	overflow: hidden;
	border: 3px solid #ffd54f;
	background: #0a0510;
}
.bbv-result-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bbv-result-photo-placeholder {
	width: 100%; height: 100%;
	display: flex; align-items: center; justify-content: center;
	color: var(--bbv-gold-light);
	font-weight: 800;
	font-size: 16px;
	background: #221735;
}
.bbv-result-row.bbv-leader-row .bbv-result-photo { border-color: #ffd54f; box-shadow: 0 0 0 2px rgba(255, 213, 79, 0.35); }
.bbv-result-row.bbv-danger-row .bbv-result-photo { border-color: #e5484d; box-shadow: 0 0 0 2px rgba(229, 72, 77, 0.3); }

.bbv-result-main {
	flex: 1 1 auto;
	min-width: 0;
}
.bbv-result-name {
	font-weight: 700;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.2px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin-bottom: 6px;
}
.bbv-result-bar {
	width: 100%;
	height: 6px;
	background: #241a35;
	border-radius: 20px;
	overflow: hidden;
}
.bbv-result-bar-fill {
	height: 100%;
	background: linear-gradient(90deg, #1a9b56, #3ddc84);
	border-radius: 20px;
	transition: width 0.6s ease;
}
.bbv-result-row.bbv-danger-row .bbv-result-bar-fill {
	background: linear-gradient(90deg, #e5484d, #ff8a8d);
}
.bbv-result-stats {
	flex: 0 0 auto;
	text-align: right;
}
.bbv-result-votes {
	font-weight: 800;
	font-size: 15px;
	color: var(--bbv-text);
}
.bbv-result-percent {
	font-weight: 700;
	font-size: 12px;
	color: var(--bbv-green);
	margin-top: 2px;
}

/* Thank you overlay + flower shower */
.bbv-thankyou-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.75);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 999999;
	overflow: hidden;
}
.bbv-thankyou-overlay.bbv-show { display: flex; }

.bbv-flower-shower {
	position: absolute;
	inset: 0;
	pointer-events: none;
}
.bbv-flower {
	position: absolute;
	top: -40px;
	font-size: 28px;
	will-change: transform, opacity;
	animation: bbv-fall linear forwards;
}
@keyframes bbv-fall {
	0% { transform: translateY(0) rotate(0deg); opacity: 1; }
	100% { transform: translateY(110vh) rotate(360deg); opacity: 0.2; }
}

.bbv-thankyou-box {
	background: linear-gradient(145deg, #181026, #0d0715);
	border: 1px solid var(--bbv-gold);
	border-radius: 16px;
	padding: 40px 50px;
	text-align: center;
	box-shadow: 0 10px 50px rgba(var(--bbv-gold-rgb), 0.25);
	animation: bbv-pop 0.4s ease;
	z-index: 2;
	width: 90%;
	max-width: 420px;
	max-height: 88vh;
	overflow-y: auto;
}
@keyframes bbv-pop {
	0% { transform: scale(0.7); opacity: 0; }
	100% { transform: scale(1); opacity: 1; }
}
.bbv-thankyou-icon {
	width: 56px; height: 56px;
	line-height: 56px;
	border-radius: 50%;
	background: var(--bbv-green);
	color: #06210f;
	font-size: 26px;
	font-weight: 900;
	margin: 0 auto 16px;
}
.bbv-thankyou-text {
	font-size: 20px;
	font-weight: 800;
	letter-spacing: 0.5px;
	color: var(--bbv-gold-light);
	text-transform: uppercase;
}

.bbv-thankyou-comment {
	margin-top: 20px;
	padding-top: 18px;
	border-top: 1px solid #241a33;
	text-align: left;
}
.bbv-thankyou-comment-label {
	margin: 0 0 8px;
	font-size: 12.5px;
	color: #a89bc2;
	text-align: center;
}
.bbv-thankyou-comment-textarea {
	width: 100%;
	background: #0d0715;
	border: 1px solid #2e2140;
	color: var(--bbv-text);
	border-radius: 8px;
	padding: 9px 12px;
	font-size: 13px;
	font-family: inherit;
	outline: none;
	resize: vertical;
}
.bbv-thankyou-comment-textarea:focus { border-color: #ffd54f; }
.bbv-thankyou-comment-actions {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	margin-top: 10px;
}
.bbv-thankyou-skip {
	background: none;
	border: 1px solid #2e2140;
	color: #a89bc2;
	font-size: 12px;
	font-weight: 700;
	padding: 8px 16px;
	border-radius: 8px;
	cursor: pointer;
}
.bbv-thankyou-post {
	background: linear-gradient(120deg, #ffd54f, #f1c40f);
	color: #14140f;
	border: none;
	font-weight: 800;
	font-size: 12px;
	padding: 8px 18px;
	border-radius: 8px;
	cursor: pointer;
}
.bbv-thankyou-post:disabled { opacity: 0.6; cursor: not-allowed; }

.bbv-thankyou-deals {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid #241a33;
}
.bbv-thankyou-deals-label {
	margin: 0 0 10px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.5px;
	color: #a89bc2;
	text-align: center;
	text-transform: uppercase;
}
.bbv-thankyou-deals-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
}
.bbv-thankyou-deal-card {
	display: block;
	text-decoration: none;
	background: #150e21;
	border: 1px solid #241a33;
	border-radius: 10px;
	padding: 10px;
	text-align: center;
	transition: border-color 0.15s ease;
}
.bbv-thankyou-deal-card:hover { border-color: #ffd54f; }
.bbv-thankyou-deal-photo {
	width: 100%;
	aspect-ratio: 1/1;
	background: #0d0715;
	border-radius: 6px;
	overflow: hidden;
	margin-bottom: 6px;
}
.bbv-thankyou-deal-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bbv-thankyou-deal-name {
	font-size: 10.5px;
	font-weight: 700;
	color: var(--bbv-text);
	line-height: 1.3;
	margin-bottom: 3px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.bbv-thankyou-deal-price {
	font-size: 11px;
	font-weight: 800;
	color: #c084fc;
}

/* Toast for error messages */
.bbv-toast {
	position: fixed;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%) translateY(20px);
	background: #2a2a2e;
	border: 1px solid #b32d2e;
	color: #fff;
	padding: 12px 20px;
	border-radius: 8px;
	font-size: 14px;
	z-index: 999999;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s ease, transform 0.25s ease;
}
.bbv-toast.bbv-toast-show {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

/* Mobile responsiveness */
@media (max-width: 640px) {
	body:has(.bbv-wrap), body:has(.bbv-comments-wrap), body:has(.bbv-elim-wrap), body:has(.bbv-nom-wrap) { overflow-x: hidden; }

	.bbv-wrap {
		width: 100vw;
		max-width: 100vw;
		margin-left: calc(50% - 50vw);
		margin-right: calc(50% - 50vw);
		border-radius: 0;
		border: none;
		border-top: 3px solid var(--bbv-gold);
		box-shadow: none;
		background: linear-gradient(160deg, #000000 0%, #1a0e2e 55%, #0d0715 100%);
		padding: 26px 18px 50px;
	}
	.bbv-title { font-size: 24px; letter-spacing: 0.3px; }
	.bbv-subtitle { font-size: 13px; }
	.bbv-marquee-track { font-size: 13px; }

	.bbv-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.bbv-card { padding: 10px; border-radius: 14px; }
	.bbv-photo { border-radius: 12px; }
	.bbv-name { font-size: 14px; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

	.bbv-progress { height: 7px; }
	.bbv-stats { font-size: 10px; margin-bottom: 10px; }
	.bbv-votes { font-size: 10px; padding: 3px 8px; }

	.bbv-vote-btn { padding: 12px 0; font-size: 12px; border-radius: 9px; letter-spacing: 0.8px; }

	.bbv-rank-badge { font-size: 10px; padding: 3px 8px; top: 8px; left: 8px; }
	.bbv-leader-tag, .bbv-danger-tag { font-size: 8px; padding: 3px 7px; top: 8px; right: 8px; }

	.bbv-thankyou-box { padding: 30px 26px; width: 88%; }
	.bbv-thankyou-text { font-size: 17px; }
	.bbv-thankyou-icon { width: 64px; height: 64px; line-height: 64px; font-size: 30px; }
	.bbv-thankyou-comment-label { font-size: 11.5px; }
	.bbv-thankyou-comment-textarea { font-size: 12.5px; }
	.bbv-thankyou-skip, .bbv-thankyou-post { font-size: 11px; padding: 7px 14px; }
	.bbv-thankyou-deals-label { font-size: 10px; }
	.bbv-thankyou-deals-grid { gap: 8px; }
	.bbv-thankyou-deal-card { padding: 8px; }
	.bbv-thankyou-deal-name { font-size: 10px; }
	.bbv-thankyou-deal-price { font-size: 10px; }

	.bbv-results-title { font-size: 18px; }
	.bbv-highlight-row { gap: 8px; margin-bottom: 16px; }
	.bbv-highlight-box { padding: 10px; border-radius: 12px; }
	.bbv-highlight-label { font-size: 9px; margin-bottom: 6px; }
	.bbv-highlight-photo { width: 46px; height: 46px; margin-bottom: 6px; }
	.bbv-highlight-name { font-size: 12px; margin-bottom: 4px; }
	.bbv-highlight-stats { font-size: 10px; }
	.bbv-highlight-percent { font-size: 13px; }
	.bbv-result-row { padding: 10px 12px; gap: 10px; }
	.bbv-result-rank { flex-basis: 24px; font-size: 12px; }
	.bbv-result-photo { flex-basis: 40px; width: 40px; height: 40px; }
	.bbv-result-name { font-size: 12px; margin-bottom: 5px; }
	.bbv-result-bar { height: 5px; }
	.bbv-result-votes { font-size: 13px; }
	.bbv-result-percent { font-size: 11px; }

	.bbv-countdown { padding: 12px 16px; width: 100%; }
	.bbv-countdown-timer { gap: 10px; }
	.bbv-countdown-unit { min-width: 50px; }
	.bbv-countdown-num { font-size: 20px; padding: 6px 0; }
	.bbv-comments-wrap {
		width: 100vw;
		max-width: 100vw;
		margin-left: calc(50% - 50vw);
		margin-right: calc(50% - 50vw);
		border-radius: 0;
		border-left: none;
		border-right: none;
		padding: 20px 16px;
		margin-top: 28px;
	}
	.bbv-comments-title { font-size: 15px; }
	.bbv-comment-avatar { width: 30px; height: 30px; font-size: 12px; flex-basis: 30px; }
	.bbv-comment-name { font-size: 12px; }
	.bbv-elim-wrap {
		width: 100vw;
		max-width: 100vw;
		margin-left: calc(50% - 50vw);
		margin-right: calc(50% - 50vw);
		border-radius: 0;
		border-left: none;
		border-right: none;
		padding: 20px 16px;
		margin-top: 28px;
	}
	.bbv-elim-title { font-size: 14px; }
	.bbv-elim-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.bbv-elim-card { padding: 12px 8px; }
	.bbv-elim-photo { width: 48px; height: 48px; }
	.bbv-elim-card-name { font-size: 12px; }
	.bbv-elim-latest { padding: 12px 14px; gap: 12px; }
	.bbv-nom-wrap {
		width: 100vw;
		max-width: 100vw;
		margin-left: calc(50% - 50vw);
		margin-right: calc(50% - 50vw);
		border-radius: 0;
		border-left: none;
		border-right: none;
		padding: 20px 16px;
		margin-top: 28px;
	}
	.bbv-nom-title { font-size: 14px; }
	.bbv-nom-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.bbv-nom-card { padding: 12px 8px; }
	.bbv-nom-photo { width: 48px; height: 48px; }
	.bbv-nom-name { font-size: 12px; }
	.bbv-elim-latest-photo { width: 48px; height: 48px; flex-basis: 48px; }
	.bbv-elim-latest-label { font-size: 9px; }
	.bbv-elim-latest-name { font-size: 16px; }
	.bbv-comment-text { font-size: 12.5px; }
}

@media (max-width: 380px) {
	.bbv-wrap { padding: 20px 10px 40px; }
	.bbv-grid { gap: 8px; }
	.bbv-card { padding: 8px; }
	.bbv-name { font-size: 12px; }
	.bbv-vote-btn { font-size: 11px; padding: 10px 0; }
	.bbv-stats { font-size: 9px; }
}
