/* ==========================================================================
   Arioosab Portfolio Widget
   ساختار: همه‌ی رنگ‌ها و حالت‌های چیدمان با CSS Variable کنترل می‌شوند
   تا کنترل‌های المنتور بتوانند به‌راحتی آن‌ها را تغییر دهند.
   ========================================================================== */

@font-face {
	font-family: 'Vazirmatn';
	src: url('../fonts/Vazirmatn-Variable.woff2') format('woff2');
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

.asb-bright-lab,
.asb-bright-lab *,
.asb-bright-lab *::before,
.asb-bright-lab *::after {
	box-sizing: border-box;
}

.asb-bright-lab [hidden] {
	display: none !important;
}

/* کادر بیرونی: فضای تنفس دور کارت اصلی (سایه و گوشه‌ها بریده نمی‌شوند) */
.asb-bl-outer {
	box-sizing: border-box;
	width: 100%;
	padding: 20px;
}

/* --------------------------------------------------------------------------
   ۱) متغیرها (پالت رنگی + حالت چیدمان پیش‌فرض = دسکتاپ، لیست کنار تصویر)
   -------------------------------------------------------------------------- */
.asb-bright-lab {
	--asb-primary: #0284c7;
	--asb-primary-dark: #0369a1;
	--asb-soft: #e0f2fe;
	--asb-soft-2: #f0f9ff;
	--asb-border: #bae6fd;
	--asb-text: #0f172a;
	--asb-body: #334155;
	--asb-muted: #64748b;
	--asb-card: #ffffff;
	--asb-line: #e2e8f0;
	--asb-danger: #dc2626;
	--asb-danger-soft: #fee2e2;
	--asb-success: #059669;
	--asb-warn: #d97706;

	--asb-orb-1: rgba(56, 189, 248, 0.35);
	--asb-orb-2: rgba(14, 165, 233, 0.25);
	--asb-orb-3: rgba(251, 191, 36, 0.18);

	--asb-shadow-primary: rgba(2, 132, 199, 0.4);
	--asb-shadow-soft: rgba(2, 132, 199, 0.14);
	--asb-count-bg: rgba(2, 132, 199, 0.1);

	/* --- متغیرهای ساختاری: حالت side (دسکتاپ) --- */
	--asb-cols: minmax(0, 1.4fr) minmax(0, 0.9fr);
	--asb-grid-gap: 28px;
	--asb-stage-display: flex;
	--asb-pl-h: 0;
	--asb-pl-min: max(100%, 380px);
	--asb-pl-dir: column;
	--asb-pl-ox: hidden;
	--asb-pl-oy: auto;
	--asb-item-dir: row;
	--asb-item-align: center;
	--asb-item-w: 100%;
	--asb-thumb-w: var(--asb-side-thumb, 64px);
	--asb-thumb-h: var(--asb-side-thumb, 64px);
	--asb-snap: none;
	--asb-snap-align: none;
	--asb-bar-display: block;
	--asb-arrows-display: none;
	--asb-hud-mt: 18px;
	--asb-vp-shadow: none;
	--asb-hover-tf: translateX(-3px);
	--asb-active-angle: 90deg;
	--asb-active-extra: 0 0 0 0 transparent;
	--asb-pl-order: 2;
	--asb-hud-order: 3;
}

@supports (color: color-mix(in srgb, red, blue)) {
	.asb-bright-lab {
		--asb-shadow-primary: color-mix(in srgb, var(--asb-primary) 40%, transparent);
		--asb-shadow-soft: color-mix(in srgb, var(--asb-primary) 14%, transparent);
		--asb-count-bg: color-mix(in srgb, var(--asb-primary) 10%, transparent);
	}
}

/* ترتیب در حالت چیده‌شده‌ی عمودی (تبلت/موبایل) */
.asb-bright-lab.asb-mo-list { --asb-pl-order: 2; --asb-hud-order: 3; }
.asb-bright-lab.asb-mo-info { --asb-pl-order: 3; --asb-hud-order: 2; }

/* دسکتاپ با لیست افقی زیر تصویر */
.asb-bright-lab.asb-d-strip {
	--asb-cols: minmax(0, 1fr);
	--asb-grid-gap: 20px;
	--asb-stage-display: contents;
	--asb-pl-h: auto;
	--asb-pl-min: 0;
	--asb-pl-dir: row;
	--asb-pl-ox: auto;
	--asb-pl-oy: hidden;
	--asb-item-dir: column;
	--asb-item-align: stretch;
	--asb-item-w: var(--asb-card-w, 230px);
	--asb-thumb-w: 100%;
	--asb-thumb-h: var(--asb-card-thumb-h, 130px);
	--asb-snap: x proximity;
	--asb-snap-align: center;
	--asb-bar-display: none;
	--asb-arrows-display: flex;
	--asb-hud-mt: 0;
	--asb-vp-shadow: 0 15px 35px -10px var(--asb-shadow-soft);
	--asb-hover-tf: translateY(-2px);
	--asb-active-angle: 180deg;
	--asb-active-extra: 0 0 0 1px var(--asb-primary);
}

/* تبلت و موبایل (≤ ۱۰۲۴) → همیشه تک‌ستونه */
@media (max-width: 1024px) {
	.asb-bright-lab.asb-m-strip {
		--asb-cols: minmax(0, 1fr);
		--asb-grid-gap: 20px;
		--asb-stage-display: contents;
		--asb-pl-h: auto;
	--asb-pl-min: 0;
		--asb-pl-dir: row;
		--asb-pl-ox: auto;
		--asb-pl-oy: hidden;
		--asb-item-dir: column;
		--asb-item-align: stretch;
		--asb-item-w: var(--asb-card-w, 230px);
		--asb-thumb-w: 100%;
		--asb-thumb-h: var(--asb-card-thumb-h, 130px);
		--asb-snap: x proximity;
		--asb-snap-align: center;
		--asb-bar-display: none;
		--asb-arrows-display: flex;
		--asb-hud-mt: 0;
		--asb-vp-shadow: 0 15px 35px -10px var(--asb-shadow-soft);
		--asb-hover-tf: translateY(-2px);
		--asb-active-angle: 180deg;
		--asb-active-extra: 0 0 0 1px var(--asb-primary);
	}

	.asb-bright-lab.asb-m-list {
		--asb-cols: minmax(0, 1fr);
		--asb-grid-gap: 20px;
		--asb-stage-display: contents;
		--asb-pl-h: var(--asb-list-h, 360px);
		--asb-pl-min: 0;
		--asb-pl-dir: column;
		--asb-pl-ox: hidden;
		--asb-pl-oy: auto;
		--asb-item-dir: row;
		--asb-item-align: center;
		--asb-item-w: 100%;
		--asb-thumb-w: var(--asb-side-thumb, 64px);
		--asb-thumb-h: var(--asb-side-thumb, 64px);
		--asb-snap: none;
		--asb-snap-align: none;
		--asb-bar-display: block;
		--asb-arrows-display: none;
		--asb-hud-mt: 0;
		--asb-vp-shadow: 0 15px 35px -10px var(--asb-shadow-soft);
		--asb-hover-tf: translateX(-3px);
		--asb-active-angle: 90deg;
		--asb-active-extra: 0 0 0 0 transparent;
	}
}

/* --------------------------------------------------------------------------
   ۲) ظرف اصلی
   -------------------------------------------------------------------------- */
.asb-bright-lab {
	font-family: 'Vazirmatn', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
	direction: rtl;
	text-align: right;
	background: linear-gradient(135deg, #f8fafc 0%, #f0f9ff 50%, #ffffff 100%);
	color: var(--asb-text);
	padding: 56px 36px;
	position: relative;
	overflow: hidden;
	border-radius: 28px;
	margin: 0 auto;
	width: 100%;
	max-width: 1200px;
	min-width: 0;
	box-shadow: 0 20px 50px -12px rgba(2, 132, 199, 0.12), 0 0 1px 1px rgba(2, 132, 199, 0.15);
	line-height: 1.6;
	-webkit-text-size-adjust: 100%;
}

.asb-bright-lab.asb-ltr { direction: ltr; text-align: left; }
.asb-bright-lab.asb-font-theme { font-family: inherit; }

.asb-bright-lab .asb-bl-container {
	position: relative;
	z-index: 2;
	max-width: 1120px;
	margin: 0 auto;
}

/* هاله‌های نوری پس‌زمینه */
.asb-bright-lab .asb-light-orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
	pointer-events: none;
	z-index: 0;
	opacity: 0.65;
	animation: asbPulseAura 9s infinite alternate ease-in-out;
}
.asb-bright-lab .asb-light-orb.blue-top {
	width: 420px; height: 420px;
	background: radial-gradient(circle, var(--asb-orb-1) 0%, transparent 70%);
	top: -140px; right: -100px;
}
.asb-bright-lab .asb-light-orb.cyan-bottom {
	width: 380px; height: 380px;
	background: radial-gradient(circle, var(--asb-orb-2) 0%, transparent 70%);
	bottom: -120px; left: -80px;
	animation-delay: -4s;
}
.asb-bright-lab .asb-light-orb.gold-center {
	width: 300px; height: 300px;
	background: radial-gradient(circle, var(--asb-orb-3) 0%, transparent 70%);
	top: 35%; left: 40%;
}

@keyframes asbPulseAura {
	0%   { transform: translate(0, 0) scale(1); }
	100% { transform: translate(-25px, 20px) scale(1.1); }
}

/* --------------------------------------------------------------------------
   ۳) هدر
   -------------------------------------------------------------------------- */

.asb-bright-lab .asb-bl-header {
	text-align: center;
	margin-bottom: 8px;
}

.asb-bright-lab .asb-bl-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--asb-soft);
	border: 1px solid var(--asb-border);
	color: var(--asb-primary);
	padding: 6px 18px;
	border-radius: 50px;
	font-size: 12.5px;
	font-weight: 800;
	margin-bottom: 16px;
	box-shadow: 0 4px 12px var(--asb-count-bg);
}

.asb-bright-lab .asb-bl-title {
	font-size: 26px;
	font-weight: 900;
	color: var(--asb-text);
	margin: 0 0 12px;
	padding: 0;
	line-height: 1.5;
}
.asb-bright-lab .asb-bl-title span { color: var(--asb-primary); }

.asb-bright-lab .asb-bl-sub {
	font-size: 14px;
	color: #475569;
	margin: 0 auto;
	max-width: 720px;
	line-height: 1.95;
}

/* --------------------------------------------------------------------------
   ۴) تب‌های فیلتر
   -------------------------------------------------------------------------- */
.asb-bright-lab .asb-bl-filters {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	margin: 28px 0 36px;
	padding-bottom: 26px;
	border-bottom: 1px solid var(--asb-line);
}

.asb-bright-lab button.asb-bl-filter-btn {
	appearance: none;
	-webkit-appearance: none;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	color: #334155;
	padding: 10px 20px;
	border-radius: 12px;
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: normal;
	text-transform: none;
	cursor: pointer;
	transition: all 0.25s ease;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	box-shadow: 0 2px 5px rgba(15, 23, 42, 0.03);
	margin: 0;
}
.asb-bright-lab button.asb-bl-filter-btn:hover {
	border-color: #38bdf8;
	color: var(--asb-primary);
	background: var(--asb-soft-2);
	transform: translateY(-1px);
}
.asb-bright-lab button.asb-bl-filter-btn.active,
.asb-bright-lab button.asb-bl-filter-btn.active:hover {
	background: linear-gradient(135deg, var(--asb-primary) 0%, var(--asb-primary-dark) 100%);
	border-color: var(--asb-primary);
	color: #ffffff;
	box-shadow: 0 8px 20px -4px var(--asb-shadow-primary);
	transform: none;
}

.asb-bright-lab .asb-bl-count {
	background: var(--asb-count-bg);
	color: var(--asb-primary);
	padding: 1px 7px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 800;
}
.asb-bright-lab .asb-bl-filter-btn.active .asb-bl-count {
	background: rgba(255, 255, 255, 0.25);
	color: #ffffff;
}

/* --------------------------------------------------------------------------
   ۵) گرید اصلی
   -------------------------------------------------------------------------- */
.asb-bright-lab .asb-bl-grid {
	display: grid;
	grid-template-columns: var(--asb-cols);
	gap: var(--asb-grid-gap);
	align-items: stretch;
}
.asb-bright-lab .asb-bl-grid > * { min-width: 0; }

/* استیج مرکزی */
.asb-bright-lab .asb-bl-stage {
	background: rgba(255, 255, 255, 0.9);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
	border: 1px solid var(--asb-border);
	border-radius: 24px;
	padding: 18px;
	display: var(--asb-stage-display);
	flex-direction: column;
	justify-content: space-between;
	box-shadow: 0 15px 35px -10px var(--asb-shadow-soft);
}

.asb-bright-lab .asb-bl-viewport {
	position: relative;
	order: 1;
	width: 100%;
	height: 360px;
	border-radius: 18px;
	overflow: hidden;
	background: #e2e8f0;
	user-select: none;
	-webkit-user-select: none;
	border: 1px solid var(--asb-line);
	box-shadow: var(--asb-vp-shadow);
}

.asb-bright-lab .asb-bl-mode {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.asb-bright-lab .asb-bl-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	pointer-events: none;
	display: block;
	margin: 0;
	border-radius: 0;
}

.asb-bright-lab .asb-bl-before-layer {
	position: absolute;
	inset: 0;
	overflow: hidden;
	-webkit-clip-path: inset(0 0 0 50%);
	clip-path: inset(0 0 0 50%);
}
.asb-bright-lab.asb-before-left .asb-bl-before-layer {
	-webkit-clip-path: inset(0 50% 0 0);
	clip-path: inset(0 50% 0 0);
}

.asb-bright-lab .asb-bl-divider {
	position: absolute;
	top: 0; bottom: 0; left: 50%;
	width: 3px;
	background: #ffffff;
	transform: translateX(-50%);
	z-index: 6;
	pointer-events: none;
	box-shadow: 0 0 12px 2px var(--asb-shadow-primary);
}

.asb-bright-lab .asb-bl-knob {
	position: absolute;
	top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	width: 44px; height: 44px;
	background: var(--asb-primary);
	border: 3px solid #ffffff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	font-size: 17px;
	font-weight: bold;
	line-height: 1;
	box-shadow: 0 4px 15px var(--asb-shadow-primary);
	transition: transform 0.2s;
}
.asb-bright-lab .asb-bl-viewport:hover .asb-bl-knob { transform: translate(-50%, -50%) scale(1.08); }

.asb-bright-lab input.asb-bl-range {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: ew-resize;
	z-index: 10;
	margin: 0;
	padding: 0;
	direction: ltr;
	touch-action: pan-y;
	-webkit-appearance: none;
	appearance: none;
	background: transparent;
}

.asb-bright-lab .asb-bl-tag {
	position: absolute;
	top: 14px;
	max-width: calc(50% - 22px);
	padding: 5px 13px;
	border-radius: 10px;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.5;
	z-index: 5;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	pointer-events: none;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}
.asb-bright-lab .asb-bl-tag.before {
	right: 14px;
	background: rgba(255, 255, 255, 0.92);
	color: var(--asb-danger);
	border: 1px solid #fecaca;
}
.asb-bright-lab .asb-bl-tag.after {
	left: 14px;
	background: rgba(2, 132, 199, 0.92);
	color: #ffffff;
	border: 1px solid #7dd3fc;
}
.asb-bright-lab.asb-before-left .asb-bl-tag.before { right: auto; left: 14px; }
.asb-bright-lab.asb-before-left .asb-bl-tag.after  { left: auto; right: 14px; }

/* تصویر تکی و ویدیو */
.asb-bright-lab .asb-bl-video-mode { background: #000; }
.asb-bright-lab .asb-bl-video-el {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
	background: #000;
	object-fit: cover;
}

/* --------------------------------------------------------------------------
   ۶) پنل اطلاعات (HUD)
   -------------------------------------------------------------------------- */
.asb-bright-lab .asb-bl-hud {
	order: var(--asb-hud-order);
	margin-top: var(--asb-hud-mt);
	background: var(--asb-soft-2);
	border: 1px solid var(--asb-border);
	border-radius: 18px;
	padding: 18px 20px;
}

.asb-bright-lab .asb-bl-hud-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 14px;
	margin-bottom: 10px;
}

.asb-bright-lab .asb-bl-project-name {
	font-size: 15px;
	font-weight: 900;
	color: var(--asb-primary-dark);
	margin: 0;
	padding: 0;
	line-height: 1.6;
}

.asb-bright-lab .asb-bl-location {
	font-size: 11.5px;
	font-weight: 700;
	color: var(--asb-primary);
	background: #ffffff;
	padding: 3px 10px;
	border-radius: 20px;
	border: 1px solid var(--asb-border);
}

.asb-bright-lab .asb-bl-analysis {
	font-size: 13px;
	color: var(--asb-body);
	margin: 0 0 16px;
	line-height: 1.9;
}
.asb-bright-lab .asb-bl-analysis p { margin: 0 0 8px; }
.asb-bright-lab .asb-bl-analysis p:last-child { margin-bottom: 0; }

.asb-bright-lab .asb-bl-metrics {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.asb-bright-lab .asb-bl-metric-card {
	background: #ffffff;
	border: 1px solid var(--asb-soft);
	padding: 10px 14px;
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	gap: 2px;
	box-shadow: 0 2px 6px var(--asb-count-bg);
	min-width: 0;
}

.asb-bright-lab .asb-bl-m-lbl {
	font-size: 11px;
	color: var(--asb-muted);
	font-weight: 600;
}

.asb-bright-lab .asb-bl-m-val {
	font-size: 13px;
	font-weight: 900;
	color: var(--asb-primary);
	unicode-bidi: plaintext;
	text-align: right;
	overflow-wrap: anywhere;
}
.asb-bright-lab.asb-ltr .asb-bl-m-val { text-align: left; }
.asb-bright-lab .asb-bl-m-val.c1 { color: var(--asb-success); }
.asb-bright-lab .asb-bl-m-val.c2 { color: var(--asb-primary); }
.asb-bright-lab .asb-bl-m-val.c3 { color: var(--asb-warn); }

/* --------------------------------------------------------------------------
   ۷) لیست نمونه‌کارها
   -------------------------------------------------------------------------- */
.asb-bright-lab .asb-bl-playlist-wrap {
	order: var(--asb-pl-order);
	background: rgba(255, 255, 255, 0.85);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border: 1px solid var(--asb-line);
	border-radius: 24px;
	padding: 18px 16px 14px;
	display: flex;
	flex-direction: column;
	box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.06);
	height: var(--asb-pl-h);
	min-height: var(--asb-pl-min);
}

.asb-bright-lab .asb-bl-playlist-title {
	font-size: 13px;
	font-weight: 800;
	color: #475569;
	margin: 0 0 14px;
	padding: 0 6px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}
.asb-bright-lab .asb-bl-active-cat { color: var(--asb-primary); }
.asb-bright-lab .asb-bl-title-end { display: inline-flex; align-items: center; gap: 10px; }

.asb-bright-lab .asb-bl-arrows {
	display: var(--asb-arrows-display);
	gap: 6px;
}
.asb-bright-lab button.asb-bl-arrow {
	appearance: none;
	-webkit-appearance: none;
	width: 30px; height: 30px;
	padding: 0; margin: 0;
	border-radius: 50%;
	border: 1px solid var(--asb-border);
	background: #ffffff;
	color: var(--asb-primary);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.2s, color 0.2s, opacity 0.2s;
}
.asb-bright-lab button.asb-bl-arrow:hover:not([aria-disabled="true"]) {
	background: var(--asb-primary);
	color: #ffffff;
}
.asb-bright-lab button.asb-bl-arrow[aria-disabled="true"] { opacity: 0.35; cursor: default; }
.asb-bright-lab .asb-bl-arrow svg { display: block; }
.asb-bright-lab .asb-bl-arrow[data-dir="prev"] svg { transform: scaleX(-1); }
.asb-bright-lab.asb-ltr .asb-bl-arrow[data-dir="prev"] svg { transform: none; }
.asb-bright-lab.asb-ltr .asb-bl-arrow[data-dir="next"] svg { transform: scaleX(-1); }

.asb-bright-lab .asb-bl-playlist {
	position: relative;
	display: flex;
	flex-direction: var(--asb-pl-dir);
	gap: 12px;
	overflow-x: var(--asb-pl-ox);
	overflow-y: var(--asb-pl-oy);
	overscroll-behavior-x: contain;
	scroll-snap-type: var(--asb-snap);
	-webkit-overflow-scrolling: touch;
	padding: 4px 4px 10px;
	flex: 1 1 0;
	min-height: 0;
	scrollbar-width: thin;
	scrollbar-color: #93c5fd var(--asb-line);
}
.asb-bright-lab .asb-bl-playlist::-webkit-scrollbar { width: 5px; height: 5px; }
.asb-bright-lab .asb-bl-playlist::-webkit-scrollbar-track { background: #f1f5f9; border-radius: 10px; }
.asb-bright-lab .asb-bl-playlist::-webkit-scrollbar-thumb { background: #93c5fd; border-radius: 10px; }
.asb-bright-lab .asb-bl-playlist::-webkit-scrollbar-thumb:hover { background: var(--asb-primary); }

.asb-bright-lab button.asb-bl-item {
	appearance: none;
	-webkit-appearance: none;
	background: #ffffff;
	border: 1px solid var(--asb-line);
	border-radius: 16px;
	padding: 12px;
	margin: 0;
	display: flex;
	flex-direction: var(--asb-item-dir);
	align-items: var(--asb-item-align);
	gap: 14px;
	cursor: pointer;
	transition: all 0.2s ease;
	text-align: right;
	width: var(--asb-item-w);
	flex: 0 0 auto;
	font-family: inherit;
	color: inherit;
	letter-spacing: normal;
	text-transform: none;
	position: relative;
	scroll-snap-align: var(--asb-snap-align);
}
.asb-bright-lab.asb-ltr button.asb-bl-item { text-align: left; }

.asb-bright-lab button.asb-bl-item:hover {
	border-color: #7dd3fc;
	background: #f8fafc;
	color: inherit;
	transform: var(--asb-hover-tf);
}
.asb-bright-lab button.asb-bl-item.active,
.asb-bright-lab button.asb-bl-item.active:hover {
	background: linear-gradient(var(--asb-active-angle), var(--asb-soft) 0%, #ffffff 100%);
	border-color: var(--asb-primary);
	box-shadow: 0 6px 18px -4px var(--asb-shadow-soft), var(--asb-active-extra);
	transform: none;
}
.asb-bright-lab button.asb-bl-item.active::before {
	content: "";
	display: var(--asb-bar-display);
	position: absolute;
	right: 0; top: 8px; bottom: 8px;
	width: 4px;
	background: var(--asb-primary);
	border-radius: 4px 0 0 4px;
}
.asb-bright-lab.asb-ltr button.asb-bl-item.active::before {
	right: auto; left: 0;
	border-radius: 0 4px 4px 0;
}

.asb-bright-lab .asb-bl-thumbwrap {
	position: relative;
	flex: 0 0 auto;
	width: var(--asb-thumb-w);
	height: var(--asb-thumb-h);
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid #cbd5e1;
	background: linear-gradient(135deg, var(--asb-soft), var(--asb-border));
}
.asb-bright-lab .asb-bl-thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	margin: 0;
	max-width: none;
}
.asb-bright-lab .asb-bl-item[data-mode="video"] .asb-bl-thumbwrap::after {
	content: "";
	position: absolute;
	inset-inline-end: 6px;
	bottom: 6px;
	width: 24px; height: 24px;
	border-radius: 50%;
	background: rgba(15, 23, 42, 0.72)
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 7l9 5-9 5z'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.asb-bright-lab .asb-bl-item-info { display: block; flex: 1 1 auto; min-width: 0; }

.asb-bright-lab .asb-bl-badge-mini {
	display: inline-block;
	font-size: 10.5px;
	font-weight: 800;
	padding: 2px 8px;
	border-radius: 6px;
	margin-bottom: 5px;
}
.asb-bright-lab .asb-bl-badge-mini.ba    { background: var(--asb-soft); color: var(--asb-primary-dark); }
.asb-bright-lab .asb-bl-badge-mini.image { background: #ecfdf5; color: #047857; }
.asb-bright-lab .asb-bl-badge-mini.vid   { background: var(--asb-danger-soft); color: var(--asb-danger); }

.asb-bright-lab .asb-bl-item-h4 {
	font-size: 13.5px;
	font-weight: 800;
	color: var(--asb-text);
	margin: 0 0 2px;
	padding: 0;
	line-height: 1.6;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.asb-bright-lab .asb-bl-item-p {
	font-size: 11.5px;
	color: var(--asb-muted);
	margin: 0;
	line-height: 1.6;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.asb-bright-lab .asb-bl-empty {
	margin: 16px 0 0;
	text-align: center;
	color: var(--asb-muted);
	font-size: 13px;
}

/* دسترس‌پذیری: فوکوس کیبورد */
.asb-bright-lab button:focus-visible,
.asb-bright-lab input.asb-bl-range:focus-visible + .asb-bl-focus-ring {
	outline: 2px solid var(--asb-primary);
	outline-offset: 2px;
}
.asb-bright-lab .asb-bl-focus-ring {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 11;
	border-radius: inherit;
}

/* --------------------------------------------------------------------------
   ۸) تبلت
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
	.asb-bl-outer { padding: 16px; }
	.asb-bright-lab { padding: 44px 28px; }
	.asb-bright-lab .asb-bl-viewport { height: 320px; }
	.asb-bright-lab .asb-bl-filters { margin: 24px 0 28px; padding-bottom: 22px; }
	.asb-bright-lab .asb-bl-playlist-wrap { padding: 16px 14px 12px; }
}

/* --------------------------------------------------------------------------
   ۹) موبایل
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
	.asb-bl-outer { padding: 12px; }
	.asb-bright-lab {
		padding: 28px 16px;
		border-radius: 22px;
	}

	.asb-bright-lab .asb-light-orb {
		filter: blur(50px);
		animation: none;
	}
	.asb-bright-lab .asb-light-orb.blue-top { width: 260px; height: 260px; top: -90px; right: -80px; }
	.asb-bright-lab .asb-light-orb.cyan-bottom { width: 240px; height: 240px; bottom: -80px; left: -70px; }
	.asb-bright-lab .asb-light-orb.gold-center { display: none; }

	.asb-bright-lab .asb-bl-header { margin-bottom: 4px; }
	.asb-bright-lab .asb-bl-title { font-size: 20px; }
	.asb-bright-lab .asb-bl-sub { font-size: 13px; }
	.asb-bright-lab .asb-bl-badge { font-size: 11.5px; padding: 4px 12px; }

	/* فیلترها: یک ردیف قابل اسکرول افقی */
	.asb-bright-lab.asb-fm-scroll .asb-bl-filters {
		flex-wrap: nowrap;
		justify-content: flex-start;
		overflow-x: auto;
		overflow-y: hidden;
		scroll-snap-type: x proximity;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		margin: 20px -16px 24px;
		padding: 2px 16px 16px;
	}
	.asb-bright-lab.asb-fm-scroll .asb-bl-filters::-webkit-scrollbar { display: none; }
	.asb-bright-lab.asb-fm-scroll button.asb-bl-filter-btn {
		flex: 0 0 auto;
		white-space: nowrap;
		scroll-snap-align: center;
	}
	.asb-bright-lab.asb-fm-wrap .asb-bl-filters { margin: 20px 0 24px; padding-bottom: 18px; }
	.asb-bright-lab button.asb-bl-filter-btn { padding: 9px 16px; }

	.asb-bright-lab .asb-bl-viewport { height: 250px; border-radius: 16px; }
	.asb-bright-lab .asb-bl-knob { width: 40px; height: 40px; font-size: 15px; }
	.asb-bright-lab .asb-bl-tag { top: 10px; font-size: 11px; padding: 4px 10px; max-width: calc(50% - 16px); }
	.asb-bright-lab .asb-bl-tag.before { right: 10px; }
	.asb-bright-lab .asb-bl-tag.after { left: 10px; }
	.asb-bright-lab.asb-before-left .asb-bl-tag.before { right: auto; left: 10px; }
	.asb-bright-lab.asb-before-left .asb-bl-tag.after { left: auto; right: 10px; }

	.asb-bright-lab .asb-bl-hud { padding: 16px; border-radius: 16px; }
	.asb-bright-lab .asb-bl-analysis { line-height: 1.85; }

	.asb-bright-lab .asb-bl-playlist-wrap { padding: 14px 10px 8px; border-radius: 20px; }
	.asb-bright-lab .asb-bl-playlist-title { margin-bottom: 12px; padding: 0 4px; }
	.asb-bright-lab .asb-bl-playlist { gap: 12px; padding: 4px 4px 12px; }
	.asb-bright-lab.asb-m-strip button.asb-bl-item { padding: 8px 8px 12px; gap: 10px; }
	.asb-bright-lab.asb-m-strip .asb-bl-item-info { padding: 0 4px; }
	.asb-bright-lab.asb-m-strip .asb-bl-item-p { display: none; }

	/* متریک‌ها وقتی تک‌ستونه‌اند: ردیفی و جمع‌وجور */
	.asb-bright-lab.asb-mcols-m-1 .asb-bl-metric-card {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		gap: 10px;
	}
	.asb-bright-lab.asb-mcols-m-1 .asb-bl-m-val { text-align: left; }
	.asb-bright-lab.asb-ltr.asb-mcols-m-1 .asb-bl-m-val { text-align: right; }
}

@media (hover: none) {
	.asb-bright-lab .asb-bl-arrows { display: none; }
	.asb-bright-lab button.asb-bl-item:hover,
	.asb-bright-lab button.asb-bl-filter-btn:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	.asb-bright-lab .asb-light-orb { animation: none; }
	.asb-bright-lab * { transition: none !important; }
}

/* وقتی نوار تب‌ها خاموش است، بین سربرگ و گرید فاصله بماند */
.asb-bright-lab .asb-bl-header + .asb-bl-grid { margin-top: 28px; }
