/* ===========================================================
   DEFENSIVE RESET
   =========================================================== */
.bvq-game button{ all: unset; box-sizing: border-box !important; cursor: pointer; }
.bvq-game, .bvq-game *{ box-sizing: border-box !important; }
.bvq-player-overlay{ display: none; }

.bvq-game{
	--bvq-orange: #f5a531;
	--bvq-blue: #2f6fed;
	--bvq-ink: #2b2b33;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: var(--bvq-ink);
}

/* ---------------- gallery ---------------- */
.bvq-gallery{
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 18px;
}
.bvq-empty{ color: #777; }
.bvq-card{
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 12px;
	padding: 26px 20px;
	text-align: center;
	box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}
.bvq-card-icon{
	width: 52px; height: 52px; margin: 0 auto 14px;
	border-radius: 50%;
	background: #fdf1de;
	color: var(--bvq-orange);
	display: flex; align-items: center; justify-content: center;
	font-size: 18px;
}
.bvq-card-title{ font-weight: 700; font-size: 15px; margin-bottom: 16px; min-height: 40px; }
.bvq-game .bvq-play-btn{
	display: inline-block;
	background: linear-gradient(180deg, #ffb84d, var(--bvq-orange));
	color: #fff; font-weight: 800; font-size: 14px;
	padding: 10px 26px; border-radius: 999px;
	box-shadow: 0 4px 0 #d78a1f;
}
.bvq-game .bvq-play-btn:hover{ transform: translateY(-2px); }

/* ---------------- fullscreen player overlay ---------------- */
.bvq-player-overlay{
	position: fixed !important; inset: 0 !important; z-index: 999990 !important;
	background: rgba(20,20,28,0.92) !important;
	align-items: center !important; justify-content: center !important;
	padding: 4vh 4vw !important;
}
.bvq-player-overlay.open{ display: flex !important; }

.bvq-game .bvq-close-btn{
	position: absolute; top: 18px; right: 22px;
	width: 38px; height: 38px; border-radius: 50%;
	background: rgba(255,255,255,0.14);
	color: #fff; font-size: 22px; line-height: 1;
	display: flex; align-items: center; justify-content: center;
	z-index: 5;
}
.bvq-game .bvq-close-btn:hover{ background: rgba(255,255,255,0.26); }

.bvq-player-inner{
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
	max-width: 1080px;
	width: 100%;
	max-height: 88vh;
	display: flex;
	box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

/* ---------------- video column ---------------- */
.bvq-video-col{ flex: 1 1 62%; background: #000; display: flex; flex-direction: column; min-width: 0; }
.bvq-video-wrap{ position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.bvq-video, .bvq-video-wrap video, .bvq-video-wrap iframe{ width: 100% !important; height: 100% !important; display: block; border: none !important; }
.bvq-loading{ color: #ccc; display: flex; align-items: center; justify-content: center; height: 100%; font-size: 14px; }
.bvq-game .bvq-rewatch-btn{
	color: #ddd; font-size: 13px; font-weight: 600;
	padding: 12px 16px;
	align-self: flex-start;
}
.bvq-game .bvq-rewatch-btn:hover{ color: #fff; }

/* ---------------- panel column ---------------- */
.bvq-panel-col{
	flex: 0 0 340px;
	max-width: 340px;
	padding: 26px 24px;
	overflow-y: auto;
	border-left: 1px solid #eee;
}
.bvq-question-label{
	display: inline-block;
	background: #eaf1ff; color: var(--bvq-blue);
	font-size: 11px; font-weight: 800; letter-spacing: 0.04em;
	padding: 5px 10px; border-radius: 5px;
	margin-bottom: 14px;
}
.bvq-question-text{ font-size: 17px; font-weight: 700; line-height: 1.4; margin-bottom: 18px; color: #222; }

.bvq-options{ margin-bottom: 22px; }
.bvq-option-row{
	display: flex; align-items: center; gap: 12px;
	padding: 14px 4px;
	border-bottom: 1px solid #eee;
	cursor: pointer;
}
.bvq-option-row input[type="radio"]{ position: absolute; opacity: 0; width: 0; height: 0; }
.bvq-option-box{
	width: 20px; height: 20px; flex: 0 0 auto;
	border: 2px solid #ccc; border-radius: 4px;
	position: relative;
}
.bvq-option-row input:checked ~ .bvq-option-box{ border-color: var(--bvq-blue); background: var(--bvq-blue); }
.bvq-option-row input:checked ~ .bvq-option-box::after{
	content: ""; position: absolute; left: 5px; top: 1px;
	width: 5px; height: 10px;
	border: solid #fff; border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
.bvq-option-label{ font-size: 14.5px; color: #333; }

.bvq-game .bvq-submit-btn{
	display: block; width: 100%; text-align: center;
	background: var(--bvq-blue); color: #fff;
	font-weight: 700; font-size: 14.5px;
	padding: 12px 0; border-radius: 8px;
}
.bvq-game .bvq-submit-btn:disabled{ opacity: 0.45; cursor: default; }
.bvq-game .bvq-submit-btn:not(:disabled):hover{ background: #1f5adb; }

/* ---------------- end-of-branch card ---------------- */
.bvq-end-card{ text-align: center; padding-top: 30px; }
.bvq-end-title{ font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.bvq-end-text{ color: #666; font-size: 14px; line-height: 1.5; margin-bottom: 22px; }
.bvq-game .bvq-restart-btn{
	display: inline-block;
	background: linear-gradient(180deg, #ffb84d, var(--bvq-orange));
	color: #fff; font-weight: 800; font-size: 14px;
	padding: 11px 24px; border-radius: 999px;
	box-shadow: 0 4px 0 #d78a1f;
}

/* ---------------- small screens ---------------- */
@media (max-width: 780px){
	.bvq-player-inner{ flex-direction: column; max-height: 92vh; overflow-y: auto; }
	.bvq-video-col{ flex: none; }
	.bvq-panel-col{ flex: none; max-width: none; border-left: none; border-top: 1px solid #eee; }
}
