/* NSG Lớp Zoom Hàng Tuần – mobile first */
.nsg-lopzoom {
	--nsg-bg: #0d0f14;
	--nsg-card: #161a22;
	--nsg-line: #2a303c;
	--nsg-text: #f3f4f6;
	--nsg-muted: #a3aab8;
	--nsg-gold: #f5b301;
	--nsg-gold2: #ffd56a;
	--nsg-red: #ef4444;
	--nsg-green: #22c55e;
	box-sizing: border-box;
	font-size: 16px;
	line-height: 1.55;
	color: var(--nsg-text);
	width: 100%;
	margin: 0 auto;
}
.nsg-lopzoom *, .nsg-lopzoom *::before, .nsg-lopzoom *::after { box-sizing: border-box; }
.nsg-lopzoom [hidden] { display: none !important; }

.nsg-lopzoom--light {
	--nsg-bg: #f7f7f9;
	--nsg-card: #ffffff;
	--nsg-line: #e5e7eb;
	--nsg-text: #111827;
	--nsg-muted: #4b5563;
	--nsg-gold: #d99a00;
	--nsg-gold2: #b37f00;
}

.nsg-lopzoom .nsg-lz-card {
	max-width: 640px;
	margin: 0 auto;
	padding: 22px 18px;
	background: var(--nsg-card);
	border: 1px solid var(--nsg-line);
	border-radius: 18px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .25);
}

.nsg-lopzoom .nsg-lz-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(245, 179, 1, .12);
	color: var(--nsg-gold);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .3px;
}
.nsg-lopzoom .nsg-lz-dot {
	width: 9px; height: 9px; border-radius: 50%;
	background: var(--nsg-red);
	box-shadow: 0 0 0 0 rgba(239, 68, 68, .7);
	animation: nsgLzPulse 1.6s infinite;
}
@keyframes nsgLzPulse {
	70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
	100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.nsg-lopzoom .nsg-lz-notice {
	margin: 14px 0 0;
	padding: 10px 14px;
	border-radius: 10px;
	background: rgba(239, 68, 68, .12);
	border: 1px solid rgba(239, 68, 68, .35);
	color: var(--nsg-text);
	font-size: 15px;
}

.nsg-lopzoom .nsg-lz-title {
	margin: 14px 0 8px;
	font-size: clamp(24px, 6.5vw, 34px);
	line-height: 1.2;
	font-weight: 800;
	color: var(--nsg-text);
	background: linear-gradient(90deg, var(--nsg-gold2), var(--nsg-gold));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.nsg-lopzoom--light .nsg-lz-title { -webkit-text-fill-color: currentColor; background: none; }

.nsg-lopzoom .nsg-lz-desc { margin: 0 0 14px; color: var(--nsg-muted); font-size: 16px; }

.nsg-lopzoom .nsg-lz-media { margin: 0 0 16px; border-radius: 12px; overflow: hidden; }
.nsg-lopzoom .nsg-lz-media img { display: block; width: 100%; height: auto; max-width: 100%; }
.nsg-lopzoom .nsg-lz-video { position: relative; padding-top: 56.25%; }
.nsg-lopzoom .nsg-lz-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.nsg-lopzoom .nsg-lz-points-wrap h3 { margin: 0 0 8px; font-size: 17px; color: var(--nsg-text); }
.nsg-lopzoom .nsg-lz-points { margin: 0 0 16px; padding: 0; list-style: none; }
.nsg-lopzoom .nsg-lz-points li {
	position: relative;
	margin: 0 0 8px;
	padding-left: 28px;
	font-size: 16px;
}
.nsg-lopzoom .nsg-lz-points li::before {
	content: "✓";
	position: absolute; left: 0; top: 0;
	width: 20px; height: 20px; border-radius: 50%;
	background: var(--nsg-gold); color: #111;
	font-size: 13px; font-weight: 800; line-height: 20px; text-align: center;
}

.nsg-lopzoom .nsg-lz-when { margin: 0 0 12px; font-size: 16px; color: var(--nsg-text); }

.nsg-lopzoom .nsg-lz-cd { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0 0 14px; }
.nsg-lopzoom .nsg-lz-cd-box {
	padding: 10px 4px;
	border-radius: 12px;
	background: var(--nsg-bg);
	border: 1px solid var(--nsg-line);
	text-align: center;
}
.nsg-lopzoom .nsg-lz-cd-box b { display: block; font-size: 26px; line-height: 1.1; color: var(--nsg-gold); font-variant-numeric: tabular-nums; }
.nsg-lopzoom .nsg-lz-cd-box span { display: block; margin-top: 2px; font-size: 14px; color: var(--nsg-muted); }
.nsg-lopzoom .nsg-lz-live {
	margin: 0 0 14px;
	padding: 12px;
	border-radius: 12px;
	background: rgba(239, 68, 68, .15);
	border: 1px solid var(--nsg-red);
	text-align: center;
	font-weight: 700;
}
.nsg-lopzoom--inline .nsg-lz-cd { margin: 0; max-width: 420px; }

.nsg-lopzoom .nsg-lz-seats { margin: 0 0 16px; }
.nsg-lopzoom .nsg-lz-seats-text { margin-bottom: 6px; font-size: 15px; }
.nsg-lopzoom .nsg-lz-seats-text b { color: var(--nsg-gold); font-size: 18px; }
.nsg-lopzoom .nsg-lz-bar { height: 8px; border-radius: 99px; background: var(--nsg-line); overflow: hidden; }
.nsg-lopzoom .nsg-lz-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--nsg-gold), var(--nsg-red)); transition: width .6s; }
.nsg-lopzoom .nsg-lz-seats--low .nsg-lz-seats-text b { color: var(--nsg-red); }

.nsg-lopzoom .nsg-lz-form { margin: 0; }
.nsg-lopzoom .nsg-lz-label { display: block; margin: 0 0 12px; font-size: 15px; font-weight: 600; color: var(--nsg-text); }
.nsg-lopzoom .nsg-lz-label small { font-weight: 400; color: var(--nsg-muted); font-size: 14px; }
.nsg-lopzoom .nsg-lz-label input {
	display: block;
	width: 100%;
	min-height: 48px;
	margin-top: 6px;
	padding: 10px 14px;
	font-size: 16px; /* chặn iPhone tự zoom */
	color: var(--nsg-text);
	background: var(--nsg-bg);
	border: 1px solid var(--nsg-line);
	border-radius: 10px;
	outline: none;
	box-shadow: none;
}
.nsg-lopzoom .nsg-lz-label input:focus { border-color: var(--nsg-gold); box-shadow: 0 0 0 3px rgba(245, 179, 1, .2); }
.nsg-lopzoom .nsg-lz-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.nsg-lopzoom .nsg-lz-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 54px;
	padding: 12px 18px;
	border: 0;
	border-radius: 12px;
	background: linear-gradient(90deg, var(--nsg-gold2), var(--nsg-gold));
	color: #111 !important;
	font-size: 18px;
	font-weight: 800;
	letter-spacing: .4px;
	text-align: center;
	text-decoration: none !important;
	cursor: pointer;
	transition: transform .15s, filter .15s;
}
.nsg-lopzoom .nsg-lz-btn:hover { filter: brightness(1.05); transform: translateY(-1px); }
.nsg-lopzoom .nsg-lz-btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

.nsg-lopzoom .nsg-lz-msg { min-height: 1em; margin: 10px 0 0; font-size: 15px; }
.nsg-lopzoom .nsg-lz-msg--err { color: var(--nsg-red); font-weight: 600; }
.nsg-lopzoom .nsg-lz-privacy { margin: 6px 0 0; font-size: 14px; color: var(--nsg-muted); text-align: center; }

.nsg-lopzoom .nsg-lz-success { text-align: center; padding: 8px 0; }
.nsg-lopzoom .nsg-lz-success-icon { font-size: 44px; line-height: 1; margin-bottom: 8px; }
.nsg-lopzoom .nsg-lz-success-text { white-space: pre-line; margin: 0 0 16px; font-size: 16px; }
.nsg-lopzoom .nsg-lz-zalo { background: linear-gradient(90deg, #2f80ff, #0068ff); color: #fff !important; }

@media (min-width: 768px) {
	.nsg-lopzoom .nsg-lz-card { padding: 32px 30px; }
	.nsg-lopzoom .nsg-lz-cd-box b { font-size: 32px; }
}

/* ---------- Chế độ toàn màn hình: ẩn header/footer ---------- */
body.nsg-fullscreen #masthead,
body.nsg-fullscreen .site-header,
body.nsg-fullscreen header.site-header,
body.nsg-fullscreen .ast-above-header-wrap,
body.nsg-fullscreen .ast-below-header-wrap,
body.nsg-fullscreen .ast-mobile-header-wrap,
body.nsg-fullscreen #colophon,
body.nsg-fullscreen .site-footer,
body.nsg-fullscreen .ast-small-footer,
body.nsg-fullscreen .entry-header,
body.nsg-fullscreen .ast-breadcrumbs-wrapper,
body.nsg-fullscreen #secondary,
body.nsg-fullscreen .widget-area { display: none !important; }

body.nsg-fullscreen,
body.nsg-fullscreen .site-content,
body.nsg-fullscreen .ast-container,
body.nsg-fullscreen #primary,
body.nsg-fullscreen .entry-content {
	margin: 0 !important;
	padding: 0 !important;
	max-width: 100% !important;
	width: 100% !important;
}
body.nsg-fullscreen { overflow-x: hidden; background: #0d0f14; }

body.nsg-fullscreen .nsg-lopzoom-wrap:not(.nsg-lopzoom--form-only) {
	width: 100vw;
	max-width: 100%;
	min-height: 100dvh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: max(16px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
	background: radial-gradient(1200px 600px at 50% -10%, rgba(245, 179, 1, .18), transparent 60%), var(--nsg-bg);
}
body.nsg-fullscreen .nsg-lopzoom-wrap .nsg-lz-card { width: 100%; }
body.nsg-fullscreen.admin-bar .nsg-lopzoom-wrap:not(.nsg-lopzoom--form-only) { min-height: calc(100dvh - 32px); }
