/**
 * نبض تبلیغات — استایل بخش عمومی سایت.
 * تبلیغ درون‌متنی، پاپ‌آپ و تریلر خبری + انیمیشن‌ها و موقعیت‌ها.
 */

:root {
	--nbtab-accent: #ff2e63;
	--nbtab-secondary: #08c9c6;
	--nbtab-ink: #1a1a2e;
	--nbtab-shadow: 0 18px 50px rgba(20, 20, 40, .28);
	--nbtab-radius: 16px;
}

/* ================= تبلیغ درون‌متنی ================= */
.nbtab-ad {
	position: relative;
	margin: 26px auto;
	max-width: 100%;
	box-sizing: border-box;
}
.nbtab-ad--in-content {
	display: block;
}
.nbtab-align-right  { margin-right: 0; margin-left: auto; text-align: right; }
.nbtab-align-left   { margin-left: 0; margin-right: auto; text-align: left; }
.nbtab-align-center { margin-left: auto; margin-right: auto; text-align: center; }

.nbtab-ad__body {
	position: relative;
	border-radius: var(--nbtab-radius);
	overflow: hidden;
	line-height: normal;
}
.nbtab-ad__link { display: block; }
.nbtab-ad__img,
.nbtab-ad__body img {
	max-width: 100%;
	height: auto;
	display: block;
	border-radius: var(--nbtab-radius);
	transition: transform .35s ease, filter .35s ease;
}
.nbtab-ad__link:hover .nbtab-ad__img { transform: scale(1.02); filter: saturate(1.08); }
/* محتوای HTML سفارشی باید متن و چیدمان طبیعی داشته باشد. */
.nbtab-ad__body > * { max-width: 100%; }

/* برچسب «تبلیغات» */
.nbtab-ad__badge {
	position: absolute;
	top: 8px;
	inset-inline-end: 8px;
	z-index: 3;
	font-size: 11px;
	line-height: 1;
	padding: 4px 9px;
	border-radius: 999px;
	background: rgba(20, 20, 40, .62);
	color: #fff;
	letter-spacing: .2px;
	backdrop-filter: blur(4px);
	font-family: "NbtabVazir", Tahoma, sans-serif;
	pointer-events: none;
}

/* ================= لایه پوشش کلی ================= */
#nbtab-overlays { line-height: normal; }

/* ================= پاپ‌آپ ================= */
.nbtab-popup {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	display: none;                 /* تا زمان باز شدن نمایش داده نمی‌شود */
	padding: 16px;
	box-sizing: border-box;
	direction: ltr;                /* موقعیت‌دهی چپ/راست فیزیکی، مستقل از RTL سایت */
	font-family: "NbtabVazir", Tahoma, sans-serif;
	overflow: auto;                /* پشتیبان: اگر جعبه بلندتر از صفحه بود، کل لایه اسکرول شود */
	-webkit-overflow-scrolling: touch;
}
/* بازنشانی box-sizing برای سازگاری با هر قالبی */
.nbtab-popup *,
.nbtab-popup *::before,
.nbtab-popup *::after { box-sizing: border-box; }

.nbtab-popup.is-open,
.nbtab-popup.is-closing { display: flex; }
.nbtab-popup.is-open { pointer-events: auto; }
.nbtab-popup.nbtab-has-overlay.is-open {
	background: rgba(15, 15, 30, .64);
	backdrop-filter: blur(3px);
	animation: nbtab-overlay-in .3s ease both;
}

/* موقعیت جعبه پاپ‌آپ (کانتینر LTR است، پس چپ/راست درست عمل می‌کند) */
.nbtab-pos-center       { align-items: center;      justify-content: center; }
.nbtab-pos-top          { align-items: flex-start;   justify-content: center; }
.nbtab-pos-bottom       { align-items: flex-end;     justify-content: center; }
.nbtab-pos-top-right    { align-items: flex-start;   justify-content: flex-end; }
.nbtab-pos-top-left     { align-items: flex-start;   justify-content: flex-start; }
.nbtab-pos-bottom-right { align-items: flex-end;     justify-content: flex-end; }
.nbtab-pos-bottom-left  { align-items: flex-end;     justify-content: flex-start; }

.nbtab-popup__box {
	position: relative;
	direction: rtl;                /* محتوای فارسی */
	display: flex;
	flex-direction: column;
	width: 480px;                  /* پیش‌فرض؛ با استایل درون‌خطی واکنش‌گرا بازنویسی می‌شود */
	max-width: 100%;
	max-height: calc(100vh - 32px);
	max-height: calc(100dvh - 32px);
	background: #fff;
	border-radius: 18px;
	box-shadow: var(--nbtab-shadow);
	overflow: visible;             /* تا دکمه بستن بیرون گوشه دیده شود */
	opacity: 0;
	flex: 0 0 auto;
}
.nbtab-popup.is-open .nbtab-popup__box { opacity: 1; }

.nbtab-popup__body {
	flex: 1 1 auto;
	min-height: 0;
	line-height: normal;
	border-radius: 18px;
	overflow: hidden auto;         /* افقی برش، عمودی در صورت نیاز اسکرول */
	-webkit-overflow-scrolling: touch;
}
.nbtab-popup__body img {
	width: 100% !important;
	height: auto !important;
	max-width: 100% !important;
	max-height: calc(100vh - 60px);
	max-height: calc(100dvh - 60px);
	object-fit: contain;
	display: block !important;
	margin: 0 auto;
}
.nbtab-popup__body .nbtab-ad__link { display: block; }
.nbtab-popup__body > * { max-width: 100%; }

/* دکمه بستن پاپ‌آپ: دایره سفید مدرن بیرون گوشه، با هاله و هاور گرادیانی */
.nbtab-popup__close {
	position: absolute;
	top: -16px;
	right: -16px;
	z-index: 6;
	width: 38px;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: var(--nbtab-ink);
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 6px 18px rgba(20, 20, 40, .28), 0 0 0 3px rgba(255, 255, 255, .35);
	transition: transform .25s cubic-bezier(.2, .8, .3, 1.4), background .25s ease, color .25s ease, box-shadow .25s ease;
	font-family: Tahoma, sans-serif;
	padding: 0;
}
.nbtab-popup__close:hover {
	transform: rotate(90deg) scale(1.1);
	background: linear-gradient(135deg, var(--nbtab-accent), #e01050);
	color: #fff;
	box-shadow: 0 8px 24px rgba(255, 46, 99, .45), 0 0 0 3px rgba(255, 255, 255, .5);
}
.nbtab-popup__close:active { transform: rotate(90deg) scale(.96); }

.nbtab-popup__box .nbtab-ad__badge { top: 8px; inset-inline-end: 8px; inset-inline-start: auto; }

/* انیمیشن‌های ورود پاپ‌آپ */
.nbtab-popup.is-open.nbtab-anim-fade       .nbtab-popup__box { animation: nbtab-fade .34s ease both; }
.nbtab-popup.is-open.nbtab-anim-zoom       .nbtab-popup__box { animation: nbtab-zoom .34s cubic-bezier(.2, .9, .3, 1.3) both; }
.nbtab-popup.is-open.nbtab-anim-slide-up   .nbtab-popup__box { animation: nbtab-slide-up .38s cubic-bezier(.2, .8, .2, 1) both; }
.nbtab-popup.is-open.nbtab-anim-slide-down .nbtab-popup__box { animation: nbtab-slide-down .38s cubic-bezier(.2, .8, .2, 1) both; }


/* ================= تریلر خبری (نوار متنی لینک‌دار / تیکر) ================= */
.nbtab-ticker {
	position: relative;
	display: flex;
	align-items: stretch;
	width: 100%;
	margin: 22px 0;
	background: linear-gradient(120deg, var(--nbtab-ink) 0%, #24263f 100%);
	border-radius: 12px;
	overflow: hidden;
	font-family: "NbtabVazir", Tahoma, sans-serif;
	box-shadow: 0 6px 20px rgba(20, 20, 40, .12);
	min-height: 48px;
	box-sizing: border-box;
}
.nbtab-ticker__label {
	display: flex;
	align-items: center;
	padding: 0 16px;
	background: var(--nbtab-accent);
	color: #fff;
	font-weight: 800;
	font-size: 14px;
	white-space: nowrap;
	position: relative;
	z-index: 2;
	flex: 0 0 auto;
}
.nbtab-ticker__label::after {
	content: "";
	position: absolute;
	inset-inline-start: -10px;
	top: 0;
	bottom: 0;
	width: 20px;
	background: var(--nbtab-accent);
	transform: skewX(-12deg);
}
.nbtab-ticker__viewport {
	position: relative;
	flex: 1 1 auto;
	overflow: hidden;
	display: flex;
	align-items: center;
	min-width: 0;
	/* حیاتی: صفحه‌ی سایت RTL است، اما ریاضیِ پیمایش (تکرار محتوا + translateX(-50%))
	   فقط در چیدمان فیزیکی چپ‌به‌راست درست کار می‌کند. اگر این بخش جهت RTL صفحه را
	   به ارث ببرد، Flexbox آیتم‌ها را از راست به چپ می‌چیند و متن هنگام رسیدن به
	   انتهای چرخه، به‌جای پیوستن یکنواخت، در سمت راست خالی/محو می‌شود. */
	direction: ltr;
}
.nbtab-ticker__track {
	display: inline-flex;
	flex: 0 0 auto;         /* هرگز فشرده نشود؛ عرض واقعی محتوا حفظ شود. */
	align-items: center;
	white-space: nowrap;
	will-change: transform;
	/* transform توسط جاوااسکریپت (requestAnimationFrame) به‌صورت پیکسلی و دقیق تنظیم می‌شود. */
}

.nbtab-ticker__item {
	color: #fff;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	padding: 0 6px;
	transition: color .2s ease;
}
a.nbtab-ticker__item:hover { color: var(--nbtab-accent); text-decoration: underline; }
.nbtab-ticker__item--plain { color: rgba(255, 255, 255, .82); font-weight: 500; }
.nbtab-ticker__sep { color: var(--nbtab-accent); padding: 0 10px; font-size: 9px; opacity: .8; }
.nbtab-ticker .nbtab-ad__badge {
	position: absolute;
	inset-inline-end: 6px;
	top: 6px;
	z-index: 3;
}

/* توجه: پیمایش نوار خبری دیگر با کلیدفریم CSS انجام نمی‌شود (آن روش به دلیل
   بارگذاری دیرهنگام فونت وب، گرد شدن ساب‌پیکسل و رفتار Flexbox در صفحات RTL
   می‌توانست در برخی مرورگرها هم‌تراز نماند و باعث پرش/محو دیدن متن در پایان هر
   دور شود). پیمایش اکنون در جاوااسکریپت و با اندازه‌گیری واقعی عرض محتوا در هر
   فریم انجام می‌شود که تضمین می‌کند حلقه همیشه بی‌درز و پیوسته باشد. */

.nbtab-popup.is-closing .nbtab-popup__box { animation: nbtab-fade-out .28s ease both !important; }
.nbtab-popup.is-closing.nbtab-has-overlay { animation: nbtab-overlay-out .3s ease both; }

/* ================= کلیدفریم‌ها ================= */
@keyframes nbtab-fade      { from { opacity: 0; } to { opacity: 1; } }
@keyframes nbtab-fade-out  { from { opacity: 1; } to { opacity: 0; } }
@keyframes nbtab-zoom      { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: scale(1); } }
@keyframes nbtab-slide-up  { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: translateY(0); } }
@keyframes nbtab-slide-down{ from { opacity: 0; transform: translateY(-60px); } to { opacity: 1; transform: translateY(0); } }
@keyframes nbtab-overlay-in  { from { opacity: 0; } to { opacity: 1; } }
@keyframes nbtab-overlay-out { from { opacity: 1; } to { opacity: 0; } }

/* احترام به کاهش حرکت (پیمایش نوار خبری در جاوااسکریپت این تنظیم را بررسی می‌کند) */
@media (prefers-reduced-motion: reduce) {
	.nbtab-popup__box,
	.nbtab-popup { animation-duration: .01ms !important; }
}

/* ================= واکنش‌گرا (موبایل و تبلت) ================= */
@media (max-width: 782px) {
	.nbtab-popup { padding: 16px; }
	.nbtab-ad { margin: 20px auto; }
}

@media (max-width: 600px) {
	.nbtab-popup { padding: 12px; }
	/* پاپ‌آپ مُدال در موبایل به مرکز می‌آید؛ حالت شناور در گوشه خود می‌ماند. */
	.nbtab-popup:not(.nbtab-popup--floating) { align-items: center !important; justify-content: center !important; }
	.nbtab-popup__box { border-radius: 16px; }
	.nbtab-ticker { min-height: 44px; margin: 18px 0; }
	.nbtab-ticker__label { padding: 0 12px; font-size: 13px; }
	.nbtab-ticker__item { font-size: 13px; }
	/* روی موبایل دکمه بستن داخل جعبه قرار می‌گیرد تا از لبه صفحه بیرون نزند. */
	.nbtab-popup__close {
		top: 8px;
		right: 8px;
		width: 34px;
		height: 34px;
	}
	/* دکمه‌های اسلایدر جمع‌وجورتر */
	.nbtab-slider__nav { width: 34px; height: 34px; font-size: 21px; }
	.nbtab-slider__prev { left: 8px; }
	.nbtab-slider__next { right: 8px; }
	.nbtab-slider__dots { bottom: 10px; }
}

@media (max-width: 400px) {
	.nbtab-ticker__label { display: none; }
}


/* ================= پاپ‌آپ شناور (غیرمسدودکننده) ================= */
.nbtab-popup--floating { pointer-events: none; background: transparent !important; backdrop-filter: none !important; }
.nbtab-popup--floating .nbtab-popup__box { pointer-events: auto; box-shadow: 0 14px 44px rgba(20, 20, 40, .34); }
.nbtab-popup--floating.nbtab-pos-center { align-items: flex-end; justify-content: flex-end; }

/* ================= اسلایدر پاپ‌آپ ================= */
.nbtab-slider { position: relative; direction: ltr; overflow: hidden; border-radius: 18px; }
.nbtab-slider__viewport { overflow: hidden; width: 100%; }
.nbtab-slider__track { display: flex; transition: transform .45s cubic-bezier(.2, .8, .2, 1); will-change: transform; }
.nbtab-slide { flex: 0 0 100%; min-width: 100%; }
.nbtab-slide img { display: block; width: 100%; height: auto; }
.nbtab-slide > a { display: block; }
.nbtab-slider__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 42px;
	height: 42px;
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 50%;
	background: rgba(20, 20, 40, .32);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	color: #fff;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	z-index: 4;
	transition: background .25s ease, transform .2s ease, box-shadow .25s ease, opacity .25s ease;
	padding: 0 0 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: .85;
	box-shadow: 0 4px 14px rgba(20, 20, 40, .25);
}
.nbtab-slider__nav:hover {
	background: linear-gradient(135deg, var(--nbtab-accent), #e01050);
	border-color: transparent;
	opacity: 1;
	transform: translateY(-50%) scale(1.08);
	box-shadow: 0 6px 20px rgba(255, 46, 99, .4);
}
.nbtab-slider__nav:active { transform: translateY(-50%) scale(.94); }
.nbtab-slider__prev { left: 12px; }
.nbtab-slider__next { right: 12px; }
.nbtab-slider__dots {
	position: absolute;
	inset-inline: 0;
	bottom: 14px;
	display: flex;
	gap: 8px;
	justify-content: center;
	z-index: 4;
}
.nbtab-slider__dot {
	width: 9px;
	height: 9px;
	border-radius: 999px;
	border: 0;
	padding: 0;
	background: rgba(255, 255, 255, .45);
	cursor: pointer;
	transition: background .25s ease, width .3s cubic-bezier(.2, .8, .2, 1), box-shadow .25s ease;
	box-shadow: 0 1px 4px rgba(20, 20, 40, .3);
}
.nbtab-slider__dot:hover { background: rgba(255, 255, 255, .8); }
.nbtab-slider__dot.is-active {
	width: 24px;
	background: linear-gradient(90deg, var(--nbtab-accent), #ff6a92);
	box-shadow: 0 2px 8px rgba(255, 46, 99, .5);
}

/* ================= تریلر پیشرفته ================= */
.nbtab-ticker { color: #fff; }
.nbtab-ticker__item { color: inherit; }
.nbtab-ticker__item--plain { color: inherit; opacity: .82; }

/* جهت معکوس (چپ‌به‌راست) */
/* توجه: جهت پیمایش (rtl/ltr) دیگر توسط CSS انیمیشن کنترل نمی‌شود؛ جاوااسکریپت
   با بررسی همین کلاس (nbtab-ticker--ltr) جهت حرکت را در هر فریم تعیین می‌کند. */

/* آیکون کنار برچسب */
.nbtab-ticker__icon { font-style: normal; }

/* دکمه بستن تریلر: دایره کوچک شیشه‌ای درون نوار */
.nbtab-ticker__close {
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	align-self: center;
	margin-inline: 8px;
	border: 1px solid rgba(255, 255, 255, .28);
	border-radius: 50%;
	background: rgba(255, 255, 255, .14);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	color: inherit;
	font-size: 16px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background .25s ease, transform .2s ease, border-color .25s ease;
	padding: 0;
	z-index: 3;
}
.nbtab-ticker__close:hover {
	background: linear-gradient(135deg, var(--nbtab-accent), #e01050);
	border-color: transparent;
	color: #fff;
	transform: rotate(90deg) scale(1.08);
}

/* حالت چسبان (نوار خبری ثابت بالا/پایین) */
.nbtab-ticker--sticky {
	position: fixed;
	inset-inline: 0;
	width: 100%;
	margin: 0;
	border-radius: 0;
	z-index: 2147482000;
}
.nbtab-ticker--top { top: 0; }
.nbtab-ticker--bottom { bottom: 0; }

/* ==================================================================
   استایل‌های ظاهری (قابل انتخاب برای هر تبلیغ)
   classic = پیش‌فرض (استایل پایه بالا)
   ================================================================== */

/* ---------- مینیمال: روشن، تخت و تمیز ---------- */
.nbtab-ad.nbtab-theme-minimal .nbtab-ad__body {
	background: #fff;
	border: 1px solid #e7e8f0;
	border-radius: 12px;
	padding: 6px;
	box-shadow: 0 2px 10px rgba(20, 20, 40, .05);
}
.nbtab-ad.nbtab-theme-minimal .nbtab-ad__badge {
	background: #f1f2f7;
	color: #55586e;
	backdrop-filter: none;
}
.nbtab-popup.nbtab-theme-minimal .nbtab-popup__box {
	border-radius: 14px;
	border: 1px solid #e7e8f0;
	box-shadow: 0 12px 34px rgba(20, 20, 40, .16);
}
.nbtab-popup.nbtab-theme-minimal .nbtab-popup__body { border-radius: 13px; }
.nbtab-ticker.nbtab-theme-minimal {
	background: #fff;
	color: #23243a;
	border: 1px solid #e7e8f0;
	box-shadow: 0 3px 12px rgba(20, 20, 40, .06);
}
.nbtab-ticker.nbtab-theme-minimal .nbtab-ticker__label { background: #23243a; }
.nbtab-ticker.nbtab-theme-minimal .nbtab-ticker__close {
	background: #f1f2f7;
	border-color: #e0e2ec;
	color: #55586e;
}

/* ---------- شیشه‌ای: بلور مات مدرن ---------- */
.nbtab-ad.nbtab-theme-glass .nbtab-ad__body {
	background: rgba(250, 250, 255, .45);
	backdrop-filter: blur(14px) saturate(1.4);
	-webkit-backdrop-filter: blur(14px) saturate(1.4);
	border: 1px solid rgba(255, 255, 255, .55);
	border-radius: 16px;
	padding: 7px;
	box-shadow: 0 8px 30px rgba(20, 20, 40, .14);
}
.nbtab-popup.nbtab-theme-glass .nbtab-popup__box {
	background: rgba(24, 25, 44, .58);
	backdrop-filter: blur(18px) saturate(1.3);
	-webkit-backdrop-filter: blur(18px) saturate(1.3);
	border: 1px solid rgba(255, 255, 255, .22);
	box-shadow: 0 16px 44px rgba(10, 10, 25, .45);
}
.nbtab-popup.nbtab-theme-glass .nbtab-popup__body { border-radius: 17px; padding: 7px; }
.nbtab-popup.nbtab-theme-glass .nbtab-popup__body img { border-radius: 12px; }
.nbtab-ticker.nbtab-theme-glass {
	background: rgba(20, 20, 40, .55);
	backdrop-filter: blur(12px) saturate(1.3);
	-webkit-backdrop-filter: blur(12px) saturate(1.3);
	border: 1px solid rgba(255, 255, 255, .16);
}
.nbtab-ticker.nbtab-theme-glass .nbtab-ticker__label {
	background: rgba(255, 46, 99, .85);
	backdrop-filter: blur(4px);
}

/* ---------- گرادیان: قاب رنگی پرانرژی ---------- */
.nbtab-ad.nbtab-theme-gradient .nbtab-ad__body {
	border: 2px solid transparent;
	border-radius: 16px;
	padding: 5px;
	background:
		linear-gradient(#fff, #fff) padding-box,
		linear-gradient(120deg, var(--nbtab-accent), var(--nbtab-secondary, #08c9c6)) border-box;
	box-shadow: 0 8px 26px rgba(255, 46, 99, .16);
}
.nbtab-popup.nbtab-theme-gradient .nbtab-popup__box {
	border: 2px solid transparent;
	background:
		linear-gradient(#fff, #fff) padding-box,
		linear-gradient(120deg, var(--nbtab-accent), var(--nbtab-secondary, #08c9c6)) border-box;
	box-shadow: 0 14px 40px rgba(255, 46, 99, .28);
}
.nbtab-popup.nbtab-theme-gradient .nbtab-popup__body { border-radius: 15px; }
.nbtab-ticker.nbtab-theme-gradient {
	background: linear-gradient(120deg, var(--nbtab-accent) 0%, #b0338f 55%, var(--nbtab-secondary, #08c9c6) 130%);
	box-shadow: 0 8px 24px rgba(255, 46, 99, .28);
}
.nbtab-ticker.nbtab-theme-gradient .nbtab-ticker__label { background: rgba(0, 0, 0, .24); }

/* ---------- تیره لوکس: عمق و درخشش ظریف ---------- */
.nbtab-ad.nbtab-theme-dark .nbtab-ad__body {
	background: linear-gradient(150deg, #101124 0%, #1a1b30 100%);
	border: 1px solid rgba(255, 255, 255, .07);
	border-radius: 16px;
	padding: 7px;
	box-shadow: 0 14px 36px rgba(5, 5, 15, .55), 0 0 0 1px rgba(8, 201, 198, .08);
}
.nbtab-ad.nbtab-theme-dark .nbtab-ad__body img { border-radius: 11px; }
.nbtab-popup.nbtab-theme-dark .nbtab-popup__box {
	background: linear-gradient(150deg, #101124 0%, #191a30 100%);
	border: 1px solid rgba(255, 255, 255, .08);
	box-shadow: 0 18px 50px rgba(0, 0, 5, .6), 0 0 24px rgba(8, 201, 198, .10);
}
.nbtab-popup.nbtab-theme-dark .nbtab-popup__body { border-radius: 17px; padding: 7px; }
.nbtab-popup.nbtab-theme-dark .nbtab-popup__body img { border-radius: 12px; }
.nbtab-popup.nbtab-theme-dark .nbtab-popup__close {
	background: #1c1d35;
	color: #fff;
	box-shadow: 0 6px 18px rgba(0, 0, 5, .5), 0 0 0 2px rgba(255, 255, 255, .12);
}
.nbtab-ticker.nbtab-theme-dark {
	background: linear-gradient(120deg, #0c0d1d 0%, #16172c 100%);
	border: 1px solid rgba(255, 255, 255, .06);
	box-shadow: 0 8px 26px rgba(0, 0, 8, .5);
}
.nbtab-ticker.nbtab-theme-dark .nbtab-ticker__label { background: var(--nbtab-secondary, #08c9c6); color: #062121; }

/* ================= ریسپانسیو تکمیلی و دسترس‌پذیری ================= */
/* نوار چسبان پایین: رعایت ناحیه امن گوشی‌های ناچ‌دار */
.nbtab-ticker--bottom { padding-bottom: env(safe-area-inset-bottom, 0); }

/* تصاویر اسلایدر هرگز از قاب بیرون نمی‌زنند */
.nbtab-slider,
.nbtab-slider__viewport { max-width: 100%; }

/* کاهش حرکت برای کاربران حساس به انیمیشن */
@media (prefers-reduced-motion: reduce) {
	.nbtab-popup.is-open .nbtab-popup__box { animation: none !important; opacity: 1; }
	.nbtab-slider__track { transition: none; }
}

/* هماهنگی گوشه تصویر با قاب تم‌دار درون‌متنی */
.nbtab-ad.nbtab-theme-minimal .nbtab-ad__body img,
.nbtab-ad.nbtab-theme-glass .nbtab-ad__body img,
.nbtab-ad.nbtab-theme-gradient .nbtab-ad__body img { border-radius: 10px; }
