html [id="hba-lms-app"] button, html .hba-catalog button { background-color: transparent; box-shadow: none; text-transform: none; letter-spacing: normal; }
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Tajawal:wght@400;500;700;800&display=swap');
:root {
	color-scheme: light;
	--hba-brand-50:  #eef8fb;
	--hba-brand-100: #d4edf4;
	--hba-brand-300: #7ec9db;
	--hba-brand-500: #4aafc9;
	--hba-brand-600: #1683a0;
	--hba-brand-700: #0a4263;
	--hba-brand-900: #072e45;
	--hba-accent-400: #e0c074;
	--hba-accent-500: #c8a55a;
	--hba-accent-600: #a9853c;
	--hba-bg:           #f3f5f9;
	--hba-bg-grad:      radial-gradient(at 8% 6%, #d4edf4 0px, transparent 38%),
	                    radial-gradient(at 92% 12%, #dbe4f0 0px, transparent 42%),
	                    radial-gradient(at 50% 100%, #faf4e4 0px, transparent 38%);
	--hba-surface:      rgba(255, 255, 255, 0.72);
	--hba-surface-2:    rgba(255, 255, 255, 0.92);
	--hba-surface-3:    #ffffff;
	--hba-border:       rgba(15, 23, 42, 0.08);
	--hba-border-strong: rgba(15, 23, 42, 0.16);
	--hba-ink:          #0f172a;
	--hba-ink-soft:     #334155;
	--hba-ink-mute:     #64748b;
	--hba-ink-faint:    #94a3b8;
	--hba-sh-sm:   0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.05);
	--hba-sh-md:   0 4px 12px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.06);
	--hba-sh-lg:   0 12px 28px -8px rgba(15, 23, 42, 0.18), 0 6px 12px -4px rgba(15, 23, 42, 0.08);
	--hba-sh-xl:   0 24px 60px -16px rgba(15, 23, 42, 0.22), 0 12px 24px -8px rgba(15, 23, 42, 0.1);
	--hba-sh-glow: 0 0 0 1px rgba(74, 175, 201, 0.18), 0 8px 32px -4px rgba(74, 175, 201, 0.34);
	--hba-r-sm: 10px;
	--hba-r-md: 16px;
	--hba-r-lg: 22px;
	--hba-r-xl: 28px;
	--hba-r-pill: 999px;
	--hba-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
	--hba-ease-smooth: cubic-bezier(0.32, 0.72, 0, 1);
	--hba-d-fast: 180ms;
	--hba-d-med:  280ms;
	--hba-d-slow: 460ms;
	--hba-font-display: 'Plus Jakarta Sans', 'Tajawal', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
	--hba-font-body:    'Tajawal', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}
:root #hba-lms-app {
	font-family: var(--hba-font-body);
	color: var(--hba-ink);
	direction: rtl;
	text-align: right;
	background: var(--hba-bg);
	background-image: var(--hba-bg-grad);
	background-attachment: fixed;
	min-height: 70vh;
	padding: 24px;
	border-radius: var(--hba-r-xl);
	position: relative;
	overflow: hidden;
}
:root #hba-lms-app[dir="ltr"], html[dir="ltr"] #hba-lms-app {
	direction: ltr;
	text-align: left;
}
:root #hba-lms-app * {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
:root #hba-lms-app h1, :root #hba-lms-app h2, :root #hba-lms-app h3 {
	font-family: var(--hba-font-display);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.15;
	color: var(--hba-ink);
	margin: 0 0 12px;
}
:root #hba-lms-app h1 { font-size: clamp(28px, 4vw, 40px); }
:root #hba-lms-app h2 { font-size: clamp(22px, 3vw, 28px); }
:root #hba-lms-app h3 { font-size: 18px; font-weight: 700; }
:root .hba-card {
	background: var(--hba-surface);
	backdrop-filter: blur(24px) saturate(180%);
	-webkit-backdrop-filter: blur(24px) saturate(180%);
	border: 1px solid var(--hba-border);
	border-radius: var(--hba-r-lg);
	padding: 24px;
	box-shadow: var(--hba-sh-md);
	transition: transform var(--hba-d-med) var(--hba-ease-spring),
	            box-shadow var(--hba-d-med) var(--hba-ease-smooth),
	            border-color var(--hba-d-fast) ease;
	position: relative;
}
:root .hba-card::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 1px;
	background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, transparent 50%);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
}
:root .hba-card-interactive {
	cursor: pointer;
}
:root .hba-card-interactive:hover {
	transform: translateY(-4px) scale(1.005);
	box-shadow: var(--hba-sh-xl);
	border-color: var(--hba-border-strong);
}
:root .hba-card-interactive:active {
	transform: translateY(-2px) scale(0.99);
	transition-duration: 80ms;
}
:root .hba-card-hero {
	background: linear-gradient(135deg, var(--hba-brand-500), var(--hba-brand-700));
	color: #fff;
	border: none;
	overflow: hidden;
	position: relative;
	min-height: 180px;
}
:root .hba-card-hero::after {
	content: "";
	position: absolute;
	top: -50%; right: -20%;
	width: 60%; height: 200%;
	background: radial-gradient(circle, rgba(255,255,255,0.25), transparent 60%);
	pointer-events: none;
}
:root .hba-card-hero h1, :root .hba-card-hero h2, :root .hba-card-hero h3 { color: #fff; }
:root .hba-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: linear-gradient(180deg, var(--hba-brand-500), var(--hba-brand-600));
	color: #fff;
	border: none;
	border-radius: var(--hba-r-pill);
	padding: 12px 22px;
	font: 600 15px/1 var(--hba-font-body);
	cursor: pointer;
	box-shadow: 0 4px 14px -2px rgba(74, 175, 201, 0.4), inset 0 1px 0 rgba(255,255,255,0.2);
	transition: transform var(--hba-d-fast) var(--hba-ease-spring),
	            box-shadow var(--hba-d-fast) ease,
	            filter var(--hba-d-fast) ease;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
}
:root .hba-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 22px -2px rgba(74, 175, 201, 0.5), inset 0 1px 0 rgba(255,255,255,0.25);
	filter: brightness(1.05);
}
:root .hba-btn:active {
	transform: translateY(0) scale(0.97);
	filter: brightness(0.95);
}
:root .hba-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none;
}
:root .hba-btn-ghost {
	background: var(--hba-surface-2);
	color: var(--hba-ink);
	box-shadow: var(--hba-sh-sm);
	border: 1px solid var(--hba-border);
}
:root .hba-btn-ghost:hover {
	background: var(--hba-surface-3);
	box-shadow: var(--hba-sh-md);
	filter: none;
}
:root .hba-btn.hba-btn-gold { background: linear-gradient(135deg, #e3c98f, #c8a55a); color: #1a1205; box-shadow: 0 6px 18px -4px rgba(200, 165, 90, 0.55); text-decoration: none; }
:root .hba-xd-quiz {
	display: grid; gap: 6px; max-width: 560px; margin: 16px auto; padding: 14px 18px;
	border-radius: var(--hba-r-lg); border: 1px solid #f0e2bf; background: linear-gradient(135deg, #fffaf0, #fdf3dc);
	text-align: center; color: #0f172a; line-height: 1.6;
}
:root .hba-xd-quiz strong { color: #8a6a24; font-weight: 800; }
:root .hba-xd-quiz span { color: #334155; font-size: 14.5px; }
:root .hba-xd-quiz .hba-xd-quiz-total { color: #0a4263; font-weight: 700; }
:root .hba-xd-quiz-big { font-size: 17px !important; font-weight: 700; color: #0a4263 !important; }
:root .hba-xd-quiz-big b { font-size: 30px; color: #0a4263; font-variant-numeric: tabular-nums; margin-inline: 4px; }
:root .hba-xd-quiz-coupon { display: grid; gap: 10px; justify-items: center; margin-top: 6px; padding-top: 12px; border-top: 1px dashed #e6d3a3; text-align: center; }
:root .hba-xd-gift {
	position: relative; overflow: hidden; max-width: 580px; margin: 18px auto; padding: 22px 22px 18px;
	border-radius: var(--hba-r-xl, 24px); background: linear-gradient(160deg, #0a4263, #1683a0);
	color: #edf4fa; text-align: start; box-shadow: 0 18px 40px -18px rgba(10, 66, 99, 0.6);
}
:root .hba-xd-gift::after {
	content: ""; position: absolute; inset-block-start: -50px; inset-inline-end: -50px; width: 170px; height: 170px;
	border-radius: 50%; background: radial-gradient(circle, rgba(200, 165, 90, 0.45), transparent 70%); pointer-events: none;
}
:root .hba-xd-gift-icon { font-size: 34px; line-height: 1; }
:root .hba-xd-gift-title { display: block; margin: 8px 0 6px; font-size: 21px; font-weight: 800; color: #e7cf94; }
:root .hba-xd-gift p { margin: 0 0 12px; color: #edf4fa; font-size: 15px; line-height: 1.8; }
:root .hba-xd-gift-list { margin: 0 0 12px; padding: 0; list-style: none; display: grid; gap: 7px; }
:root .hba-xd-gift-list li { position: relative; padding-inline-start: 22px; color: #dbe9f2; font-size: 14.5px; line-height: 1.6; }
:root .hba-xd-gift-list li::before { content: "✦"; position: absolute; inset-inline-start: 0; color: #c8a55a; }
:root .hba-xd-gift-list b { color: #fff; }
:root .hba-xd-gift-tip { display: block; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.14); color: #e7cf94; font-size: 13.5px; font-weight: 600; }
:root .hba-xd-res {
	display: grid; gap: 10px; max-width: 560px; margin: 20px auto 0; padding: 18px;
	border-radius: var(--hba-r-lg); border: 1px solid #ecdcb0; background: linear-gradient(160deg, #fffaf0, #fbf0d6);
	color: #0f172a; text-align: start;
}
:root .hba-xd-res-head { display: flex; align-items: center; gap: 14px; }
:root .hba-xd-res-icon {
	flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; font-size: 26px;
	background: linear-gradient(135deg, #e3c98f, #c8a55a); box-shadow: 0 8px 18px -8px rgba(169, 133, 60, 0.8);
}
:root .hba-xd-res-label { display: block; font-size: 13.5px; font-weight: 700; color: #7a5f1e; }
:root .hba-xd-res-big { display: inline-block; font: 800 34px/1.1 var(--hba-font-display); color: #0a4263; font-variant-numeric: tabular-nums; }
:root .hba-xd-res-plus { display: table; margin-top: 4px; padding: 3px 10px; border-radius: var(--hba-r-pill); background: #0a4263; color: #fff; font-size: 12.5px; font-weight: 700; }
:root .hba-xd-res-wait { display: block; font-size: 17px; font-weight: 800; color: #0a4263; line-height: 1.5; }
:root .hba-qi { padding: 40px; }
:root .hba-xd-res-why { margin: 0; font-size: 15px; line-height: 1.75; color: #1f2937; font-weight: 600; }
:root .hba-xd-res-note { margin: 0; font-size: 13px; line-height: 1.7; color: #6b5a2e; }
:root .hba-xd-res-exams { list-style: none; margin: 0; padding: 0; overflow: hidden; border-radius: 12px; border: 1px solid #ecdcb0; background: #fff; }
:root .hba-xd-res-exams li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px; font-size: 14px; border-top: 1px solid #f3e7c6; }
:root .hba-xd-res-exams li:first-child { border-top: 0; }
:root .hba-xd-res-exams li.is-here { background: #fdf6e3; font-weight: 700; }
:root .hba-xd-res-exam { min-width: 0; overflow-wrap: anywhere; color: #334155; }
:root .hba-xd-res-val { flex: none; color: #94a3b8; font-size: 13px; font-weight: 600; }
:root .hba-xd-res-val.is-got { color: #0a4263; font-weight: 800; font-variant-numeric: tabular-nums; }
:root .hba-qr { display: grid; gap: 18px; }
:root .hba-qr-card { padding: 28px; }
:root .hba-qr-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 22px; }
:root .hba-qr-head { flex: 1 1 280px; min-width: 0; display: grid; gap: 6px; text-align: start; }
:root .hba-qr-tag { justify-self: start; padding: 4px 12px; border-radius: var(--hba-r-pill); background: var(--hba-brand-50); color: var(--hba-brand-700); font-size: 12.5px; font-weight: 800; }
:root .hba-qr-card.is-fail .hba-qr-tag { background: #fef2f2; color: #991b1b; }
:root .hba-qr-head h2 { margin: 0; font-size: 22px; line-height: 1.4; }
:root .hba-qr-head p { margin: 0; color: var(--hba-ink-mute); }
:root .hba-qr-counts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
:root .hba-qr-counts span { padding: 4px 10px; border-radius: var(--hba-r-pill); font-size: 12.5px; font-weight: 700; }
:root .hba-qr-counts .is-right { background: #d4edf4; color: #0a4263; }
:root .hba-qr-counts .is-wrong { background: #fef2f2; color: #991b1b; }
:root .hba-qr-counts .is-pending { background: #f1f5f9; color: #475569; }
:root .hba-qr-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
:root .hba-qr-actions .hba-btn { text-decoration: none; }
:root .hba-qr-main { padding: 14px 28px; font-size: 16px; }
:root .hba-qr-note { margin: 12px 0 0; text-align: center; color: var(--hba-ink-mute); font-size: 14px; }
:root .hba-qr-review { padding: 22px; }
:root .hba-qr-review-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
:root .hba-qr-review-head h3 { margin: 0; font-size: 18px; }
:root .hba-qr-filter { display: inline-flex; padding: 3px; border-radius: var(--hba-r-pill); background: var(--hba-bg); border: 1px solid var(--hba-border); }
:root .hba-qr-filter button { padding: 6px 14px; border: 0; border-radius: var(--hba-r-pill); background: transparent; color: var(--hba-ink-mute); font: 700 13px var(--hba-font-body); cursor: pointer; }
:root .hba-qr-filter button.is-on { background: #fff; color: var(--hba-brand-700); box-shadow: var(--hba-sh-sm); }
:root .hba-qr-hint { margin: 0 0 12px; font-size: 14px; color: var(--hba-ink-mute); }
:root .hba-qr-reveal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 14px; padding: 12px 14px; border-radius: var(--hba-r-md); background: #fffaf0; border: 1px solid #f0e2bf; }
:root .hba-qr-reveal p { flex: 1 1 260px; margin: 0; font-size: 14px; line-height: 1.7; color: #6b5a2e; }
:root .hba-rv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
:root .hba-rv { padding: 14px 16px; border-radius: var(--hba-r-md); border: 1px solid var(--hba-border); border-inline-start: 4px solid #94a3b8; background: #fff; }
:root .hba-rv.is-right { border-inline-start-color: #1683a0; }
:root .hba-rv.is-wrong { border-inline-start-color: #dc2626; }
:root .hba-rv.is-partial { border-inline-start-color: #d97706; }
:root .hba-rv-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; }
:root .hba-rv-badge { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #94a3b8; color: #fff; font-size: 13px; font-weight: 800; }
:root .hba-rv.is-right .hba-rv-badge { background: #1683a0; }
:root .hba-rv.is-wrong .hba-rv-badge { background: #dc2626; }
:root .hba-rv.is-partial .hba-rv-badge { background: #d97706; }
:root .hba-rv-n { font-weight: 800; color: var(--hba-ink); }
:root .hba-rv-state { font-weight: 600; color: var(--hba-ink-mute); }
:root .hba-rv-pts { margin-inline-start: auto; font-weight: 700; color: var(--hba-ink-mute); font-variant-numeric: tabular-nums; }
:root .hba-rv-prompt { margin: 8px 0 10px; font-weight: 700; line-height: 1.7; color: var(--hba-ink); white-space: pre-wrap; }
:root .hba-rv-opts, :root .hba-rv-pairs { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
:root .hba-rv-opts li, :root .hba-rv-pairs li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; font-size: 14.5px; }
:root .hba-rv-opts li.is-right, :root .hba-rv-pairs li.is-right { background: #eef8fb; color: #0a4263; }
:root .hba-rv-opts li.is-wrong, :root .hba-rv-pairs li.is-wrong { background: #fef2f2; color: #991b1b; }
:root .hba-rv-opts li.is-key { background: #fff; border: 1.5px dashed #1683a0; color: #0a4263; }
:root .hba-rv-dot { font-weight: 800; }
:root .hba-rv-opts small { margin-inline-start: auto; font-size: 12px; font-weight: 700; opacity: .85; }
:root .hba-rv-pairs small { flex-basis: 100%; font-size: 13px; font-weight: 700; color: #0a4263; }
:root .hba-rv-left { font-weight: 700; }
:root .hba-rv-arrow { opacity: .5; }
:root .hba-rv-order { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
:root .hba-rv-order > div { padding: 10px 12px; border-radius: 10px; background: #f8fafc; }
:root .hba-rv-order > div.is-key { background: #eef8fb; border: 1.5px dashed #1683a0; }
:root .hba-rv-order small { font-size: 12px; font-weight: 800; color: var(--hba-ink-mute); }
:root .hba-rv-order ol { margin: 6px 0 0; padding-inline-start: 20px; }
:root .hba-rv-given { margin: 0; padding: 8px 12px; border-radius: 10px; background: #f8fafc; overflow-wrap: anywhere; }
:root .hba-rv-given.is-essay { white-space: pre-wrap; }
:root .hba-rv-key { margin: 6px 0 0; color: #0a4263; }
:root .hba-rv-none { margin: 0; color: var(--hba-ink-faint); }
:root .hba-rv-why { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: #faf4e4; color: #5c4815; font-size: 14px; line-height: 1.7; }
:root .hba-rv-file { font-weight: 700; color: var(--hba-brand-700); }
@media (max-width: 560px) {
	:root .hba-qi { padding: 24px 16px; }
	:root .hba-xd-gift { padding: 18px 16px 14px; }
	:root .hba-qr-card { padding: 20px 16px; }
	:root .hba-qr-review { padding: 16px; }
	:root .hba-qr-actions .hba-btn { width: 100%; }
}
:root .hba-btn-icon {
	width: 44px; height: 44px;
	border-radius: 50%;
	padding: 0;
}
:root .hba-progress {
	height: 10px;
	background: var(--hba-border);
	border-radius: var(--hba-r-pill);
	overflow: hidden;
	position: relative;
}
:root .hba-progress > div {
	height: 100%;
	background: linear-gradient(90deg, var(--hba-brand-300), var(--hba-brand-500), var(--hba-brand-600));
	border-radius: inherit;
	transition: width var(--hba-d-slow) var(--hba-ease-smooth);
	position: relative;
	box-shadow: 0 0 10px rgba(74, 175, 201, 0.5);
}
:root .hba-progress > div::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent);
	animation: hba-shimmer 2s linear infinite;
}
@keyframes hba-shimmer {
	0% { transform: translateX(-100%); }
	100% { transform: translateX(100%); }
}
:root .hba-ring {
	--p: 0;
	--size: 64px;
	width: var(--size); height: var(--size);
	border-radius: 50%;
	background:
		conic-gradient(var(--hba-brand-500) calc(var(--p) * 1%), var(--hba-border) 0);
	display: grid; place-items: center;
	position: relative;
}
:root .hba-ring::before {
	content: "";
	position: absolute;
	inset: 6px;
	background: var(--hba-surface-3);
	border-radius: 50%;
}
:root .hba-ring > span {
	position: relative;
	font-weight: 700;
	font-size: 14px;
	color: var(--hba-ink);
}
:root .hba-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 20px;
}
:root .hba-dashboard-layout {
	display: grid;
	grid-template-columns: 340px 1fr;
	gap: 24px;
}
@media (max-width: 960px) {
	:root .hba-dashboard-layout { grid-template-columns: 1fr; }
}
:root .hba-course-tile {
	display: flex;
	flex-direction: column;
	gap: 14px;
	overflow: hidden;
	min-height: 100%;
}
:root .hba-course-thumb {
	aspect-ratio: 16/9;
	border-radius: var(--hba-r-md);
	background: linear-gradient(135deg, var(--hba-brand-300), var(--hba-accent-400));
	background-size: cover;
	background-position: center;
	position: relative;
	overflow: hidden;
	box-shadow: var(--hba-sh-sm);
}
:root .hba-course-thumb::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.45));
}
:root .hba-course-meta-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	color: var(--hba-ink-mute);
	font-size: 13px;
	font-weight: 500;
}
:root .hba-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	background: var(--hba-brand-50);
	color: var(--hba-brand-700);
	border-radius: var(--hba-r-pill);
	font-size: 12px;
	font-weight: 700;
}
:root .hba-player-wrapper {
	position: relative;
	background: #000;
	border-radius: var(--hba-r-lg);
	overflow: hidden;
	aspect-ratio: 16/9;
	user-select: none;
	-webkit-user-select: none;
	box-shadow: var(--hba-sh-xl);
	transform: translateZ(0);
}
:root .hba-player-watermark {
	position: absolute;
	z-index: 10;
	pointer-events: none;
	color: rgba(255, 255, 255, 0.85);
	font-size: 13px;
	font-weight: 700;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
	background: rgba(0, 0, 0, 0.32);
	backdrop-filter: blur(6px);
	padding: 6px 14px;
	border-radius: var(--hba-r-pill);
	border: 1px solid rgba(255, 255, 255, 0.12);
	transition: top 1.5s ease, left 1.5s ease;
	white-space: nowrap;
	letter-spacing: 0.02em;
}
:root .hba-player-locked {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 16px;
	background: linear-gradient(135deg, rgba(0,0,0,0.88), rgba(15, 23, 42, 0.94));
	color: #fff;
	z-index: 20;
	padding: 24px;
	text-align: center;
}
:root .hba-player-locked[hidden] { display: none; }
:root .hba-player-locked-icon {
	width: 64px; height: 64px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	display: grid; place-items: center;
	font-size: 28px;
}
:root .hba-player-locked-icon { flex-shrink: 0; }
:root .hba-player-locked p { margin: 0; max-width: 46ch; font-size: 16px; line-height: 1.7; color: #fff; }
@media (max-width: 600px) {
	:root .hba-player-locked { gap: 10px; padding: 14px; }
	:root .hba-player-locked-icon { width: 44px; height: 44px; font-size: 20px; }
	:root .hba-player-locked p { font-size: 14px; }
	:root .hba-player-locked .hba-player-action { min-height: 42px; padding: 8px 16px; font-size: 14px; }
}
:root .hba-player-locked .hba-player-action {
	min-height: 46px; padding: 10px 22px; border: 0; border-radius: var(--hba-r-pill, 999px); cursor: pointer;
	background: linear-gradient(135deg, #e0c074, #c8a55a); color: #1a1205; font: 800 15px/1.2 inherit; font-family: inherit;
	box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.6);
}
:root .hba-player-locked .hba-player-action:hover { filter: brightness(1.06); }
:root .hba-player-locked .hba-player-action:focus-visible { outline: 3px solid #4aafc9; outline-offset: 3px; }
:root .hba-player-locked .hba-player-hint { color: #a9dbe8; font-size: 13px; font-weight: 700; text-decoration: underline; }
:root .hba-player-locked:has(.hba-player-diag) { justify-content: flex-start; overflow-y: auto; }
:root .hba-player-locked .hba-player-diag {
	list-style: none; margin: 0; padding: 12px 14px; width: min(100%, 620px); box-sizing: border-box;
	display: flex; flex-direction: column; gap: 6px; text-align: start;
	background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 12px;
	font-size: 13px; line-height: 1.6; overflow-wrap: anywhere;
}
:root .hba-player-locked .hba-player-diag .is-ok { color: #a9dbe8; }
:root .hba-player-locked .hba-player-diag .is-bad { color: #fde68a; font-weight: 700; }
:root .hba-player-locked .hba-player-diag .is-info { color: rgba(255, 255, 255, 0.8); }
:root .hba-player video::-webkit-media-controls-download-button { display: none; }
:root .hba-player video { -webkit-touch-callout: none; }
:root .hba-kpi-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 16px;
	margin: 24px 0;
}
:root .hba-kpi {
	padding: 22px;
	border-radius: var(--hba-r-md);
	background: var(--hba-surface);
	backdrop-filter: blur(20px);
	border: 1px solid var(--hba-border);
	box-shadow: var(--hba-sh-md);
	position: relative;
	overflow: hidden;
	transition: transform var(--hba-d-med) var(--hba-ease-spring);
}
:root .hba-kpi:hover { transform: translateY(-3px); }
:root .hba-kpi-label {
	color: var(--hba-ink-mute);
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 8px;
}
:root .hba-kpi-value {
	font: 800 32px/1 var(--hba-font-display);
	background: linear-gradient(135deg, var(--hba-brand-600), var(--hba-brand-500));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	letter-spacing: -0.03em;
}
:root .hba-badge {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 14px;
	background: var(--hba-surface-2);
	border-radius: var(--hba-r-md);
	border: 1px solid var(--hba-border);
	box-shadow: var(--hba-sh-sm);
	min-width: 80px;
	transition: transform var(--hba-d-fast) var(--hba-ease-spring);
}
:root .hba-badge:hover { transform: scale(1.08) rotate(-2deg); }
:root .hba-badge-icon {
	font-size: 32px;
	filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}
:root .hba-badge-label {
	font-size: 11px;
	font-weight: 600;
	color: var(--hba-ink-soft);
	text-align: center;
}
:root .hba-input, :root .hba-select, :root .hba-textarea {
	width: 100%;
	padding: 12px 16px;
	border-radius: var(--hba-r-md);
	border: 1px solid var(--hba-border);
	background: var(--hba-surface-3);
	color: var(--hba-ink);
	font: 500 15px/1.4 var(--hba-font-body);
	box-shadow: var(--hba-sh-sm);
	transition: border-color var(--hba-d-fast) ease,
	            box-shadow var(--hba-d-fast) ease,
	            transform var(--hba-d-fast) ease;
}
:root .hba-input:focus, :root .hba-select:focus, :root .hba-textarea:focus {
	outline: none;
	border-color: var(--hba-brand-500);
	box-shadow: 0 0 0 4px rgba(74, 175, 201, 0.18);
}
:root .hba-textarea { min-height: 100px; resize: vertical; }
:root .hba-quiz-option {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 18px;
	margin: 8px 0;
	border-radius: var(--hba-r-md);
	border: 1.5px solid var(--hba-border);
	background: var(--hba-surface-3);
	cursor: pointer;
	transition: all var(--hba-d-fast) ease;
	font-weight: 500;
}
:root .hba-quiz-option:hover {
	border-color: var(--hba-brand-300);
	transform: translateX(-4px);
	box-shadow: var(--hba-sh-md);
}
:root .hba-quiz-option.is-selected {
	border-color: var(--hba-brand-500);
	background: var(--hba-brand-50);
	box-shadow: var(--hba-sh-glow);
}
:root .hba-q-hint { color: var(--hba-ink-mute); font-size: 13px; margin: 0 0 8px; }
:root .hba-mt { display: grid; gap: 14px; }
:root .hba-mt-list { display: grid; gap: 8px; }
:root .hba-mt-stmt {
	display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 12px;
	width: 100%; padding: 12px 14px; text-align: start; cursor: pointer;
	border: 1.5px solid var(--hba-border-strong); border-radius: var(--hba-r-md);
	background: var(--hba-surface-3); color: var(--hba-ink); font: 600 15px/1.5 var(--hba-font-body);
	transition: border-color var(--hba-d-fast) ease, box-shadow var(--hba-d-fast) ease, background var(--hba-d-fast) ease;
}
:root .hba-mt-stmt:hover { border-color: var(--hba-brand-300); }
:root .hba-mt-stmt.is-active { border-color: var(--hba-brand-500); background: var(--hba-brand-50); box-shadow: 0 0 0 4px rgba(74, 175, 201, 0.18); }
:root .hba-mt-stmt.is-paired { border-color: var(--c); background: #fff; background: color-mix(in srgb, var(--c) 7%, #fff); }
:root .hba-mt-n {
	flex: none; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
	background: var(--hba-brand-50); color: var(--hba-brand-700); font: 800 13px/1 var(--hba-font-body);
}
:root .hba-mt-stmt.is-paired .hba-mt-n, :root .hba-mt-chip.is-used .hba-mt-n { background: var(--c); color: #fff; }
:root .hba-mt-text { overflow-wrap: anywhere; }
:root .hba-mt-slot {
	padding: 8px 12px; border-radius: var(--hba-r-sm); border: 1.5px dashed var(--hba-border-strong);
	color: var(--hba-ink-faint); font-size: 14px; font-weight: 500; overflow-wrap: anywhere;
}
:root .hba-mt-stmt.is-active .hba-mt-slot { border-color: var(--hba-brand-500); color: var(--hba-brand-700); font-weight: 700; }
:root .hba-mt-stmt.is-paired .hba-mt-slot { border-style: solid; border-color: var(--c); background: #fff; color: var(--hba-ink); font-weight: 700; }
:root .hba-mt-bank { display: grid; gap: 10px; padding: 14px; border-radius: var(--hba-r-lg); background: var(--hba-bg); border: 1px solid var(--hba-border); }
:root .hba-mt-bank-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 13px; color: var(--hba-ink-mute); }
:root .hba-mt-bank-head strong { color: var(--hba-ink); font-size: 14px; }
:root .hba-mt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
:root .hba-mt-chip {
	display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 10px 14px; text-align: start; cursor: pointer;
	border: 1.5px solid var(--hba-border-strong); border-radius: var(--hba-r-pill);
	background: #fff; color: var(--hba-ink); font: 600 14.5px/1.4 var(--hba-font-body);
	transition: transform var(--hba-d-fast) var(--hba-ease-spring), border-color var(--hba-d-fast) ease, opacity var(--hba-d-fast) ease;
}
:root .hba-mt-chip > span:last-child { min-width: 0; overflow-wrap: anywhere; }
:root .hba-mt-chip:hover { border-color: var(--hba-brand-500); transform: translateY(-1px); }
:root .hba-mt-chip.is-used { border-color: var(--c); background: color-mix(in srgb, var(--c) 9%, #fff); opacity: .7; }
:root .hba-ot { display: grid; gap: 10px; }
:root .hba-ot-done { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
:root .hba-ot-pool { display: grid; gap: 8px; padding: 12px; border: 1.5px dashed var(--hba-border-strong); border-radius: var(--hba-r-lg); }
:root .hba-ot-pool-head { font-size: 12.5px; font-weight: 800; color: var(--hba-brand-700); }
:root .hba-ot-item {
	display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; text-align: start; cursor: pointer;
	border: 1.5px solid var(--hba-border-strong); border-radius: var(--hba-r-md);
	background: #fff; color: var(--hba-ink); font: 600 15px/1.5 var(--hba-font-body);
	transition: border-color var(--hba-d-fast) ease, box-shadow var(--hba-d-fast) ease;
}
:root .hba-ot-item:hover { border-color: var(--hba-brand-500); box-shadow: var(--hba-sh-md); }
:root .hba-ot-item.is-set { border-color: var(--hba-brand-600); background: var(--hba-brand-50); animation: hba-ot-in 280ms var(--hba-ease-spring); }
:root .hba-ot-n {
	flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
	background: var(--hba-brand-600); color: #fff; font: 800 13px/1 var(--hba-font-body);
}
:root .hba-ot-n.is-empty { background: transparent; color: var(--hba-brand-600); border: 1.5px dashed var(--hba-brand-300); }
:root .hba-ot-text { flex: 1; min-width: 0; overflow-wrap: anywhere; }
:root .hba-ot-undo { flex: none; color: var(--hba-ink-faint); font-size: 16px; }
:root .hba-ot-reset { justify-self: start; padding: 6px 4px; border: 0; background: none; color: var(--hba-ink-mute); font: 600 13px var(--hba-font-body); text-decoration: underline; cursor: pointer; }
@keyframes hba-ot-in { from { transform: translateY(8px); opacity: .4; } to { transform: none; opacity: 1; } }
:root .hba-q-missing { display: grid; gap: 8px; margin: 0 0 12px; padding: 14px 16px; border-radius: var(--hba-r-md); background: #fef3c7; border: 1px solid #fcd34d; color: #92400e; }
:root .hba-q-missing span { font-size: 13px; }
:root .hba-q-missing-list { display: flex; flex-wrap: wrap; gap: 6px; }
:root .hba-q-missing-list button { padding: 6px 12px; border: 1px solid #f59e0b; border-radius: var(--hba-r-pill); background: #fff; color: #92400e; font: 700 13px var(--hba-font-body); cursor: pointer; }
@media (max-width: 560px) {
	:root .hba-mt-stmt { grid-template-columns: auto minmax(0, 1fr); }
	:root .hba-mt-slot { grid-column: 1 / -1; }
}
:root .hba-toast {
	position: fixed;
	top: 24px;
	left: 50%;
	transform: translateX(-50%) translateY(-100px);
	background: var(--hba-surface-2);
	backdrop-filter: blur(20px);
	border: 1px solid var(--hba-border);
	border-radius: var(--hba-r-pill);
	padding: 14px 24px;
	box-shadow: var(--hba-sh-xl);
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
	z-index: 9999;
	transition: transform var(--hba-d-med) var(--hba-ease-spring);
}
:root .hba-toast.is-visible { transform: translateX(-50%) translateY(0); }
:root .hba-skeleton {
	background: linear-gradient(90deg, var(--hba-border) 25%, var(--hba-border-strong) 50%, var(--hba-border) 75%);
	background-size: 200% 100%;
	animation: hba-skeleton-pulse 1.6s ease-in-out infinite;
	border-radius: var(--hba-r-sm);
	display: block;
}
@keyframes hba-skeleton-pulse {
	0% { background-position: 200% 0; }
	100% { background-position: -200% 0; }
}
:root .hba-empty {
	text-align: center;
	padding: 60px 24px;
	color: var(--hba-ink-mute);
}
:root .hba-empty-icon {
	font-size: 72px;
	margin-bottom: 16px;
	display: inline-block;
	animation: hba-bounce 2s ease-in-out infinite;
}
@keyframes hba-bounce {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-8px); }
}
:root .hba-empty-title {
	font: 700 20px/1.3 var(--hba-font-display);
	color: var(--hba-ink);
	margin-bottom: 8px;
}
@keyframes hba-confetti-fall {
	0% { transform: translateY(-100vh) rotate(0); opacity: 1; }
	100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}
:root .hba-confetti-piece {
	position: fixed;
	width: 10px;
	height: 10px;
	top: 0;
	z-index: 9998;
	pointer-events: none;
	animation: hba-confetti-fall linear forwards;
}
:root .hba-fab {
	position: fixed;
	bottom: 24px;
	left: 24px;
	z-index: 100;
	width: 56px; height: 56px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--hba-brand-500), var(--hba-brand-700));
	color: #fff;
	border: none;
	display: grid;
	place-items: center;
	font-size: 22px;
	box-shadow: var(--hba-sh-xl);
	cursor: pointer;
	transition: transform var(--hba-d-med) var(--hba-ease-spring);
}
:root .hba-fab:hover { transform: scale(1.1) rotate(-8deg); }
:root .hba-error {
	background: linear-gradient(135deg, #fee2e2, #fecaca);
	color: #991b1b;
	padding: 14px 20px;
	border-radius: var(--hba-r-md);
	border: 1px solid rgba(220, 38, 38, 0.2);
	box-shadow: var(--hba-sh-sm);
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 10px;
}
:root .hba-rank-row {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 14px 18px;
	border-radius: var(--hba-r-md);
	background: var(--hba-surface-3);
	margin-bottom: 8px;
	box-shadow: var(--hba-sh-sm);
	transition: transform var(--hba-d-fast) ease;
	border: 1px solid var(--hba-border);
}
:root .hba-rank-row:hover { transform: translateX(-4px); }
:root .hba-rank-row.is-mine {
	background: linear-gradient(135deg, var(--hba-brand-50), var(--hba-brand-100));
	border-color: var(--hba-brand-300);
}
:root .hba-rank-num {
	font: 800 18px/1 var(--hba-font-display);
	width: 32px;
	color: var(--hba-ink-soft);
}
:root .hba-rank-num.rank-1 { color: #d4a017; font-size: 22px; }
:root .hba-rank-num.rank-2 { color: #94a3b8; }
:root .hba-rank-num.rank-3 { color: #b45309; }
:root .hba-avatar {
	width: 44px; height: 44px;
	border-radius: 50%;
	border: 2px solid var(--hba-surface-3);
	box-shadow: var(--hba-sh-sm);
	object-fit: cover;
}
:root .hba-tabs {
	display: flex;
	gap: 4px;
	padding: 4px;
	background: var(--hba-surface);
	border-radius: var(--hba-r-pill);
	border: 1px solid var(--hba-border);
	box-shadow: var(--hba-sh-sm);
	margin-bottom: 20px;
}
:root .hba-tab {
	flex: 1;
	padding: 8px 16px;
	border-radius: var(--hba-r-pill);
	border: none;
	background: transparent;
	color: var(--hba-ink-soft);
	font: 600 14px/1 var(--hba-font-body);
	cursor: pointer;
	transition: all var(--hba-d-fast) ease;
}
:root .hba-tab.is-active {
	background: var(--hba-surface-3);
	color: var(--hba-ink);
	box-shadow: var(--hba-sh-md);
}
:root .hba-lesson-nav {
	background: var(--hba-surface);
	backdrop-filter: blur(20px);
	border: 1px solid var(--hba-border);
	border-radius: var(--hba-r-lg);
	padding: 18px;
	max-height: 70vh;
	overflow-y: auto;
}
:root .hba-lesson-nav h4 {
	font-size: 14px;
	color: var(--hba-ink-mute);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin: 12px 0 8px;
}
:root .hba-lesson-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	margin: 2px 0;
	border-radius: var(--hba-r-sm);
	cursor: pointer;
	color: var(--hba-ink-soft);
	font-weight: 500;
	transition: all var(--hba-d-fast) ease;
}
:root .hba-lesson-item:hover {
	background: var(--hba-surface-2);
	color: var(--hba-ink);
}
:root .hba-lesson-item.is-current {
	background: var(--hba-brand-50);
	color: var(--hba-brand-700);
	font-weight: 700;
}
:root .hba-lesson-item.is-completed { color: var(--hba-brand-600); }
:root .hba-lesson-item.is-locked { color: var(--hba-ink-faint); cursor: not-allowed; }
:root .hba-comment {
	display: flex;
	gap: 12px;
	padding: 14px 0;
	border-bottom: 1px solid var(--hba-border);
}
:root .hba-comment.is-pinned {
	background: linear-gradient(90deg, var(--hba-accent-400) 0%, transparent 6%);
	padding-inline-start: 14px;
	border-radius: var(--hba-r-sm);
}
:root .hba-comment-author { font-weight: 700; color: var(--hba-ink); }
:root .hba-comment-meta { color: var(--hba-ink-mute); font-size: 12px; }
@media (max-width: 720px) {
	:root #hba-lms-app { padding: 16px 12px 90px; border-radius: 0; }
	:root .hba-mobile-bottom-bar {
		position: fixed;
		bottom: 12px;
		left: 12px; right: 12px;
		background: var(--hba-surface-2);
		backdrop-filter: blur(30px);
		border: 1px solid var(--hba-border);
		border-radius: var(--hba-r-pill);
		box-shadow: var(--hba-sh-xl);
		display: flex;
		justify-content: space-around;
		padding: 8px;
		z-index: 100;
	}
	:root .hba-mobile-tab {
		flex: 1;
		text-align: center;
		padding: 10px;
		border: none;
		background: transparent;
		color: var(--hba-ink-mute);
		font-size: 20px;
		cursor: pointer;
	}
	:root .hba-mobile-tab.is-active { color: var(--hba-brand-500); }
}
@media (min-width: 721px) {
	:root .hba-mobile-bottom-bar { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	:root *, :root *::before, :root *::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}
:root *:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px rgba(74, 175, 201, 0.45) !important;
}
:root .hba-shell {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 24px;
	max-width: 1400px;
	margin: 0 auto;
	padding: 20px;
	direction: rtl;
	min-height: 80vh;
}
:root .hba-shell-main {
	background: transparent;
	min-width: 0;
}
:root .hba-sidebar {
	position: sticky;
	top: 20px;
	align-self: start;
	background: linear-gradient(180deg, #ffffff, #fafafa);
	border: 1px solid var(--hba-line);
	border-radius: 20px;
	padding: 20px 14px;
	box-shadow: 0 8px 32px -12px rgba(15, 23, 42, 0.08);
	max-height: calc(100vh - 40px);
	overflow-y: auto;
}
:root .hba-sidebar-user {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px;
	background: linear-gradient(135deg, var(--hba-brand-100), var(--hba-brand-50));
	border-radius: 14px;
	margin-bottom: 20px;
}
:root .hba-sidebar-name {
	font-weight: 800;
	font-size: 15px;
	color: var(--hba-ink);
}
:root .hba-sidebar-email {
	color: var(--hba-ink-mute);
	font-size: 12px;
	margin-top: 2px;
}
:root .hba-sidebar-nav {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
:root .hba-sidebar-btn {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 14px;
	background: transparent;
	border: 0;
	border-radius: 12px;
	font-family: inherit;
	font-size: 14px;
	color: var(--hba-ink);
	cursor: pointer;
	text-align: start;
	width: 100%;
	transition: all 180ms cubic-bezier(0.32, 0.72, 0, 1);
}
:root .hba-sidebar-btn:hover {
	background: rgba(74, 175, 201, 0.10);
	transform: translateX(-2px);
}
:root .hba-sidebar-btn.is-active {
	background: var(--hba-primary-gradient, linear-gradient(135deg, #1683a0, #0a4263));
	color: #fff;
	box-shadow: 0 6px 18px -6px rgba(10, 66, 99, 0.50);
}
:root .hba-sidebar-icon {
	font-size: 20px;
	line-height: 1;
	flex-shrink: 0;
}
:root .hba-sidebar-foot {
	margin-top: 20px;
	padding-top: 14px;
	border-top: 1px solid var(--hba-line);
}
:root .hba-sidebar-logout {
	display: block;
	padding: 10px 14px;
	color: #dc2626;
	text-decoration: none;
	font-size: 14px;
	border-radius: 10px;
	transition: background 150ms ease;
}
:root .hba-sidebar-logout:hover { background: #fef2f2; }
:root .hba-hero-card {
	background: linear-gradient(135deg, #0b1a2d 0%, #1683a0 100%);
	border-radius: 24px;
	padding: 32px 28px;
	color: #fff;
	position: relative;
	overflow: hidden;
	box-shadow: 0 12px 32px -8px rgba(11, 26, 45, 0.38);
}
:root .hba-hero-card::before {
	content: '';
	position: absolute;
	top: -40px; right: -40px;
	width: 200px; height: 200px;
	background: radial-gradient(circle, rgba(255,255,255,0.15), transparent);
	border-radius: 50%;
	pointer-events: none;
}
:root .hba-stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 12px;
}
:root .hba-stat-card {
	background: linear-gradient(135deg, #ffffff, #fafafa);
	border: 1px solid var(--hba-line);
	border-radius: 16px;
	padding: 16px;
	text-align: center;
	transition: all 200ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
:root .hba-stat-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 28px -12px rgba(15, 23, 42, 0.18);
}
:root .hba-stat-icon { font-size: 26px; line-height: 1; margin-bottom: 8px; }
:root .hba-stat-value {
	font-size: 24px;
	font-weight: 800;
	color: var(--hba-brand-600);
	line-height: 1.1;
}
:root .hba-stat-label {
	color: var(--hba-ink-mute);
	font-size: 12px;
	margin-top: 4px;
}
:root .hba-quick-action {
	padding: 20px;
	background: #fff;
	border: 1px solid var(--hba-line);
	border-radius: 14px;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	color: var(--hba-ink);
	cursor: pointer;
	transition: all 200ms cubic-bezier(0.32, 0.72, 0, 1);
	text-align: start;
}
:root .hba-quick-action:hover {
	transform: translateY(-2px);
	border-color: var(--hba-brand-400);
	box-shadow: 0 8px 20px -8px rgba(74, 175, 201, 0.35);
}
:root .hba-grades-list { display: flex; flex-direction: column; }
:root .hba-grade-row {
	display: grid;
	grid-template-columns: 1fr auto auto auto;
	gap: 16px;
	align-items: center;
	padding: 16px 20px;
	border-bottom: 1px solid var(--hba-line);
}
:root .hba-grade-row:last-child { border-bottom: 0; }
:root .hba-grade-row:hover { background: #f9fafb; }
:root .hba-grade-title { font-weight: 700; font-size: 14px; }
:root .hba-grade-subtitle {
	color: var(--hba-ink-mute);
	font-size: 12px;
	margin-top: 2px;
}
:root .hba-grade-score { text-align: end; min-width: 90px; }
:root .hba-grade-date { color: var(--hba-ink-mute); font-size: 12px; }
@media (max-width: 700px) {
	:root .hba-grade-row { grid-template-columns: 1fr; gap: 6px; }
	:root .hba-grade-score, :root .hba-grade-date { text-align: start; }
}
:root .hba-question-card {
	background: #fff;
	border: 1px solid var(--hba-line);
	border-radius: 14px;
	padding: 18px 20px;
	margin-bottom: 14px;
	transition: box-shadow 150ms ease;
}
:root .hba-question-card:hover {
	box-shadow: 0 6px 16px -8px rgba(15, 23, 42, 0.12);
}
:root .hba-question-head {
	display: flex;
	justify-content: space-between;
	align-items: start;
	gap: 12px;
	margin-bottom: 10px;
}
:root .hba-question-lesson {
	font-weight: 700;
	color: var(--hba-brand-700);
	text-decoration: none;
}
:root .hba-question-lesson:hover, :root .hba-dash a.hba-question-lesson:hover { text-decoration: underline; }
:root .hba-question-course {
	color: var(--hba-ink-mute);
	font-size: 12px;
	margin-top: 2px;
}
:root .hba-question-body {
	color: var(--hba-ink);
	font-size: 14px;
	line-height: 1.7;
	padding: 8px 0;
}
:root .hba-question-meta {
	color: var(--hba-ink-mute);
	font-size: 12px;
}
:root .hba-question-reply {
	background: var(--hba-brand-50);
	border-inline-start: 3px solid var(--hba-brand-500);
	padding: 12px 16px;
	border-radius: 8px;
	margin-top: 12px;
	font-size: 14px;
	line-height: 1.6;
}
:root .hba-reply-author {
	font-weight: 700;
	color: var(--hba-brand-700);
	margin-bottom: 4px;
}
:root .hba-badge-answered {
	background: var(--hba-brand-100); color: var(--hba-brand-700);
	padding: 4px 10px; border-radius: 999px;
	font-size: 12px; font-weight: 700; flex-shrink: 0;
}
:root .hba-badge-pending {
	background: #fef3c7; color: #92400e;
	padding: 4px 10px; border-radius: 999px;
	font-size: 12px; font-weight: 700; flex-shrink: 0;
}
:root .hba-badge-todo {
	background: #dbeafe; color: #1e40af;
	padding: 4px 10px; border-radius: 999px;
	font-size: 12px; font-weight: 700; flex-shrink: 0;
}
:root .hba-order-row {
	display: grid;
	grid-template-columns: 1fr auto auto;
	gap: 16px;
	align-items: center;
	padding: 16px 20px;
	border-bottom: 1px solid var(--hba-line);
}
:root .hba-order-row:last-child { border-bottom: 0; }
:root .hba-order-status {
	display: inline-block;
	margin-top: 4px;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
}
:root .hba-status-completed { background: var(--hba-brand-100); color: var(--hba-brand-700); }
:root .hba-status-processing { background: #dbeafe; color: #1e40af; }
:root .hba-status-pending, :root .hba-status-on-hold { background: #fef3c7; color: #92400e; }
:root .hba-status-cancelled, :root .hba-status-failed { background: #fee2e2; color: #991b1b; }
:root .hba-status-refunded { background: #f3e8ff; color: #6b21a8; }
:root .hba-form-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 14px;
}
@media (max-width: 900px) {
	:root .hba-shell { grid-template-columns: 1fr; }
	:root .hba-sidebar { display: none; }
}
:root .hba-player-wrapper {
	position: relative;
	overflow: hidden;
}
:root .hba-player-wrapper iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
:root .hba-yt-shield {
	position: absolute;
	inset: 0;
	z-index: 5;
	background: transparent;
	cursor: pointer;
}
:root .hba-yt-controls {
	position: absolute;
	bottom: 0; left: 0; right: 0;
	z-index: 10;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 16px;
	background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.5) 60%, transparent);
	color: #fff;
	font-family: 'Tajawal', 'Plus Jakarta Sans', system-ui, sans-serif;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity 240ms ease, transform 240ms ease;
	pointer-events: auto;
	direction: ltr;
}
:root .hba-player-wrapper:not(.is-idle) .hba-yt-controls {
	opacity: 1;
	transform: translateY(0);
}
:root .hba-player-wrapper.is-idle .hba-yt-controls { pointer-events: none; }
:root .hba-player-wrapper.is-idle,
:root .hba-player-wrapper.is-idle .hba-yt-shield { cursor: none; }
:root .hba-yt-btn {
	background: rgba(255,255,255,0.15);
	border: 0;
	color: #fff;
	padding: 0;
	margin: 0;
	min-width: 38px; min-height: 0;
	flex: 0 0 auto;
	box-sizing: border-box;
	box-shadow: none;
	text-transform: none;
	letter-spacing: normal;
	width: 38px; height: 38px;
	border-radius: 999px;
	font-size: 15px;
	cursor: pointer;
	backdrop-filter: blur(10px);
	transition: all 180ms ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	font-family: inherit;
}
:root .hba-yt-btn:focus,
:root .hba-yt-btn:active {
	background: rgba(255,255,255,0.15);
	color: #fff;
}
:root .hba-yt-btn:focus-visible {
	outline: 2px solid #4aafc9;
	outline-offset: 2px;
}
:root .hba-yt-btn:hover {
	background: rgba(255,255,255,0.28);
	transform: scale(1.08);
}
:root .hba-yt-btn svg {
	display: block;
	width: 20px; height: 20px;
	max-width: none;
	fill: currentColor;
	flex: 0 0 auto;
	pointer-events: none;
}
:root .hba-yt-time {
	font-size: 13px;
	font-weight: 600;
	min-width: 44px;
	text-align: center;
	font-variant-numeric: tabular-nums;
}
:root .hba-yt-bar {
	flex: 1;
	position: relative;
	height: 6px;
	background: rgba(255,255,255,0.2);
	border-radius: 999px;
	cursor: pointer;
	overflow: hidden;
	transition: height 180ms ease;
}
:root .hba-yt-bar:hover { height: 10px; }
:root .hba-yt-bar-buffer,
:root .hba-yt-bar-fill {
	position: absolute;
	inset: 0 auto 0 0;
	height: 100%;
	border-radius: 999px;
	pointer-events: none;
	transition: width 100ms linear;
}
:root .hba-yt-bar-buffer {
	background: rgba(255,255,255,0.35);
	width: 0;
}
:root .hba-yt-bar-fill {
	background: linear-gradient(90deg, #4aafc9, #1683a0);
	width: 0;
	box-shadow: 0 0 10px rgba(74,175,201,0.6);
}
:root .hba-yt-bar-thumb {
	position: absolute;
	top: 50%;
	right: 0;
	transform: translate(50%, -50%);
	width: 14px; height: 14px;
	background: #fff;
	border-radius: 50%;
	box-shadow: 0 2px 6px rgba(0,0,0,0.4);
	opacity: 0;
	pointer-events: none;
	transition: opacity 200ms ease;
}
:root .hba-yt-bar:hover .hba-yt-bar-thumb { opacity: 1; }
:root .hba-player-wrapper .video-js {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	padding-top: 0 !important;
}
:root .hba-player-wrapper:fullscreen,
:root .hba-player-wrapper.is-pseudo-fs {
	background: #000;
	aspect-ratio: auto;
	width: 100%;
	height: 100%;
	border-radius: 0;
	box-shadow: none;
}
:root .hba-player-wrapper.is-pseudo-fs {
	position: fixed !important;
	inset: 0;
	z-index: 2147483000;
	width: 100vw;
	height: 100vh;
	height: 100dvh;
}
html.hba-noscroll { overflow: hidden; }
@media (orientation: portrait) and (pointer: coarse) {
	:root .hba-player-wrapper.is-pseudo-fs.is-turned {
		inset: auto;
		top: 0;
		left: 0;
		width: 100vh;
		width: 100dvh;
		height: 100vw;
		max-width: none;
		max-height: none;
		transform-origin: top left;
		transform: rotate(90deg) translateY(-100%);
	}
}
:root .hba-player-wrapper:fullscreen .hba-player-watermark,
:root .hba-player-wrapper.is-pseudo-fs .hba-player-watermark { font-size: 20px; }
:root .hba-unmute {
	position: absolute;
	top: 14px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 35;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 10px 18px;
	border: 0;
	border-radius: 999px;
	background: rgba(11, 26, 45, 0.88);
	color: #fff;
	font: 700 15px/1 'Tajawal', system-ui, sans-serif;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
	box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
	animation: hba-unmute-pulse 1.6s ease-in-out infinite;
}
:root .hba-unmute svg { width: 20px; height: 20px; fill: currentColor; flex: 0 0 auto; }
@keyframes hba-unmute-pulse { 50% { box-shadow: 0 0 0 8px rgba(74, 175, 201, 0.25); } }
:root .hba-fs-exit {
	display: none;
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 30;
	align-items: center;
	gap: 6px;
	padding: 8px 16px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 999px;
	background: rgba(11, 26, 45, 0.72);
	color: #fff;
	font: 700 14px/1 'Tajawal', system-ui, sans-serif;
	cursor: pointer;
	backdrop-filter: blur(8px);
}
:root .hba-fs-exit:hover { background: rgba(11, 26, 45, 0.9); }
:root .hba-player-wrapper:fullscreen .hba-fs-exit,
:root .hba-player-wrapper.is-pseudo-fs .hba-fs-exit { display: inline-flex; transition: opacity 240ms ease; }
:root .hba-player-wrapper.is-idle .hba-fs-exit { opacity: 0; pointer-events: none; }
:root .hba-player-wrapper .hba-player-watermark {
	z-index: 15 !important;
	pointer-events: none;
}
:root .hba-player-wrapper .hba-player-watermark:empty { display: none; }
@media (max-width: 640px) {
	:root .hba-yt-controls { padding: 10px 12px; gap: 6px; flex-wrap: wrap; }
	:root .hba-yt-bar { order: -1; flex: 1 1 100%; margin: 0 0 4px; }
	:root .hba-yt-btn { width: 44px; height: 44px; font-size: 17px; }
	:root .hba-yt-time { font-size: 12px; min-width: 40px; }
}
@media (min-width: 640px) and (max-width: 900px) {
	:root .hba-shell {
		grid-template-columns: 64px 1fr;
	}
	:root .hba-sidebar {
		display: flex;
		flex-direction: column;
		align-items: center;
		padding: 12px 0;
		overflow: hidden;
	}
	:root .hba-sidebar .hba-nav-label,
	:root .hba-sidebar .hba-user-name,
	:root .hba-sidebar .hba-user-role,
	:root .hba-sidebar .hba-logo-text { display: none; }
	:root .hba-sidebar .hba-nav-item {
		justify-content: center;
		padding: 12px;
		border-radius: var(--hba-r-md);
		width: 44px;
	}
	:root .hba-sidebar .hba-avatar { width: 36px; height: 36px; font-size: 14px; }
	:root #hba-lms-app { padding: 16px 16px 90px; }
	:root .hba-dashboard-layout { grid-template-columns: 1fr; }
	:root .hba-stat-cards {
		grid-template-columns: repeat(2, 1fr);
	}
	:root .hba-courses-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	:root .hba-quiz-options { grid-template-columns: 1fr; }
	:root .hba-grade-table-wrap { overflow-x: auto; }
}
@media (max-width: 640px) {
	:root #hba-lms-app {
		padding: 12px 12px 88px;
		border-radius: 0;
	}
	:root .hba-shell {
		grid-template-columns: 1fr;
	}
	:root .hba-sidebar { display: none; }
	:root .hba-view-title  { font-size: 20px; }
	:root .hba-section-heading { font-size: 15px; }
	:root .hba-card        { padding: 16px; border-radius: var(--hba-r-md); }
	:root .hba-stat-cards {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}
	:root .hba-stat-card  { padding: 14px 12px; }
	:root .hba-stat-val   { font-size: 24px; }
	:root .hba-courses-grid {
		grid-template-columns: 1fr;
	}
	:root .hba-lesson-layout,
	:root .hba-lesson-body { flex-direction: column; }
	:root .hba-lesson-sidebar {
		width: 100%;
		max-height: 280px;
		overflow-y: auto;
		border-right: none;
		border-bottom: 1px solid var(--hba-border);
	}
	:root .hba-player-wrapper {
		border-radius: var(--hba-r-sm);
	}
	:root .hba-quiz-options    { grid-template-columns: 1fr; }
	:root .hba-quiz-option     { padding: 14px 16px; font-size: 15px; }
	:root .hba-quiz-nav-row    { flex-direction: column; gap: 10px; }
	:root .hba-quiz-nav-row .hba-btn { width: 100%; justify-content: center; }
	:root .hba-grade-table-wrap  { overflow-x: auto; -webkit-overflow-scrolling: touch; }
	:root .hba-grade-row         { grid-template-columns: 1fr; gap: 4px; }
	:root .hba-grade-date        { font-size: 11px; }
	:root .hba-q-card { padding: 14px; }
	:root .hba-q-meta { flex-wrap: wrap; gap: 6px; }
	:root .hba-assignment-row { flex-direction: column; align-items: flex-start; gap: 8px; }
	:root .hba-assignment-actions { width: 100%; }
	:root .hba-assignment-actions .hba-btn { width: 100%; justify-content: center; }
	:root .hba-profile-grid { grid-template-columns: 1fr; }
	:root .hba-rank-row { gap: 10px; }
	:root .hba-rank-score { min-width: 60px; font-size: 15px; }
	:root .hba-live-card { flex-direction: column; gap: 10px; }
	:root .hba-live-card .hba-btn { width: 100%; justify-content: center; }
	:root .hba-certs-grid { grid-template-columns: 1fr; }
	:root .hba-order-row { flex-wrap: wrap; gap: 8px; }
	:root .hba-announce-card { padding: 14px; }
	:root .hba-modal-wrap {
		align-items: flex-end;
		padding: 0;
	}
	:root .hba-modal {
		border-radius: var(--hba-r-lg) var(--hba-r-lg) 0 0;
		max-height: 90dvh;
		overflow-y: auto;
	}
	:root .hba-mobile-bottom-bar { height: 62px; }
	:root .hba-bottom-nav-item   { font-size: 10px; gap: 3px; }
	:root .hba-bottom-nav-icon   { font-size: 20px; }
	:root .hba-confetti-canvas { position: fixed !important; }
	:root .hba-view, :root .hba-card, :root .hba-section { max-width: 100%; overflow-x: hidden; }
	:root table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
:root .hba-catalog {
	direction: rtl;
	font-family: var(--hba-font-body, 'Tajawal', system-ui, sans-serif);
	color: var(--hba-ink, #0f172a);
	max-width: 1280px;
	margin-inline: auto;
	padding-block: 8px;
}
:root .hba-cat-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 22px;
}
:root .hba-cat-card {
	display: flex;
	flex-direction: column;
	background: var(--hba-surface-3, #fff);
	border: 1px solid var(--hba-border, rgba(15,23,42,.08));
	border-radius: var(--hba-r-lg, 18px);
	overflow: hidden;
	box-shadow: var(--hba-sh-sm, 0 1px 3px rgba(11,26,45,.06));
	transition: transform 260ms var(--hba-ease-smooth, ease), box-shadow 260ms ease, border-color 150ms ease;
}
:root .hba-cat-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--hba-sh-lg, 0 12px 28px -8px rgba(11,26,45,.2));
	border-color: var(--hba-brand-300, #7ec9db);
}
:root .hba-cat-thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 16 / 9;
	background: linear-gradient(135deg, #0b1a2d, #1683a0);
	background-size: cover;
	background-position: center;
	position: relative;
	text-decoration: none;
}
:root .hba-cat-thumb-fallback { font-size: 56px; opacity: .5; }
:root .hba-cat-thumb { overflow: hidden; }
:root .hba-cat-thumb .hba-cat-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; margin: 0; border-radius: 0; transition: transform 400ms var(--hba-ease-smooth, ease); }
:root .hba-cat-card:hover .hba-cat-img { transform: scale(1.03); }
:root .hba-cat-thumb .hba-cat-badge { z-index: 1; }
:root .hba-cat-badge {
	position: absolute;
	inset-block-start: 12px;
	inset-inline-start: 12px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-weight: 800;
	font-size: 13px;
	padding: 6px 13px;
	border-radius: 999px;
	box-shadow: 0 2px 10px rgba(0,0,0,.22);
}
:root .hba-cat-badge.is-free { background: #4aafc9; color: #04202c; }
:root .hba-cat-badge.is-paid { background: #c8a55a; color: #1a1205; }
:root .hba-cat-badge.is-mine { background: #0a4263; color: #fff; }
:root .hba-cat-card.is-free { border-top: 3px solid #4aafc9; }
:root .hba-cat-card.is-paid { border-top: 3px solid #c8a55a; }
:root .hba-cat-card.is-mine { border-top: 3px solid #0a4263; }
:root .hba-cat-card[hidden] { display: none; }
:root .hba-cat-foot {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	margin-top: auto; padding-top: 14px; border-top: 1px solid var(--hba-border, rgba(15,23,42,.08));
}
:root .hba-cat-price-box { display: grid; gap: 3px; min-width: 0; flex: 1; }
:root .hba-cat-price-box small { font-size: 12px; color: var(--hba-ink-mute, #64748b); }
:root .hba-cat-amount { font: 800 18px/1.2 var(--hba-font-display, 'Tajawal', system-ui, sans-serif); color: #7a5f1e; }
:root .hba-cat-amount del { opacity: .55; font-size: .75em; font-weight: 600; margin-inline-end: 4px; }
:root .hba-cat-amount ins { text-decoration: none; }
:root .hba-cat-amount.is-free { color: #1683a0; font-size: 16px; }
:root .hba-cat-amount.is-off { color: var(--hba-ink-mute, #64748b); font-size: 14px; }
:root .hba-cat-prog { height: 8px; border-radius: 999px; background: #e2e8f0; overflow: hidden; }
:root .hba-cat-prog span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #4aafc9, #1683a0); }
:root .hba-cat-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
:root .hba-cat-filter button {
	display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; cursor: pointer;
	border: 1.5px solid var(--hba-border-strong, rgba(15,23,42,.16)); border-radius: 999px;
	background: #fff; color: var(--hba-ink, #0f172a); font: 700 14px var(--hba-font-body, 'Tajawal', system-ui, sans-serif);
}
:root .hba-cat-filter button span { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: #eef8fb; color: #0a4263; font-size: 12px; }
:root .hba-cat-filter button[aria-pressed="true"] { background: #0a4263; border-color: #0a4263; color: #fff; }
:root .hba-cat-filter button[aria-pressed="true"] span { background: rgba(255,255,255,.18); color: #fff; }
:root .hba-cat-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 20px; flex: 1; }
:root .hba-cat-title { margin: 0; font-size: 17px; font-weight: 800; line-height: 1.4; color: var(--hba-ink, #0f172a); }
:root .hba-cat-excerpt {
	margin: 0; color: var(--hba-ink-mute, #6b7280); font-size: 13px; line-height: 1.7;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
:root .hba-cat-meta { display: flex; flex-wrap: wrap; gap: 6px; }
:root .hba-cat-meta span {
	display: inline-flex; align-items: center; gap: 4px;
	background: var(--hba-brand-50, #eef8fb); color: var(--hba-brand-700, #0a4263);
	font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}
:root .hba-cat-cta {
	display: inline-flex; align-items: center; justify-content: center; flex: none;
	padding: 11px 18px; white-space: nowrap;
	background: var(--hba-primary-gradient, linear-gradient(135deg, #1683a0, #0a4263));
	color: #fff; font-weight: 700; font-size: 14px; text-decoration: none;
	border-radius: var(--hba-r-sm, 10px);
	box-shadow: var(--hba-sh-brand, 0 6px 18px -4px rgba(10,66,99,.35));
	transition: transform 150ms ease, box-shadow 150ms ease;
}
:root .hba-cat-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -4px rgba(10,66,99,.45); color: #fff; }
:root .hba-catalog a[class] { text-decoration: none; }
:root .hba-cat-empty { text-align: center; padding: 80px 20px; color: var(--hba-ink-mute, #6b7280); }
:root .hba-cat-empty-icon { font-size: 64px; margin-bottom: 12px; }
@media (max-width: 600px) {
	:root .hba-cat-grid { grid-template-columns: 1fr; gap: 16px; }
}
:root .hba-stars { position: relative; display: inline-block; direction: rtl; font-family: Arial, "Segoe UI Symbol", sans-serif; font-size: 18px; line-height: 1; letter-spacing: 2px; white-space: nowrap; vertical-align: -2px; }
:root .hba-stars::before { content: "★★★★★"; color: #d8dee6; }
:root .hba-stars::after { content: "★★★★★"; color: var(--hba-gold-bright, #f59e0b); position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: calc(var(--r, 0) / 5 * 100%); overflow: hidden; }
:root .hba-stars.is-sm { font-size: 14px; letter-spacing: 1px; }
:root .hba-rv-line, :root .hba-cp a.hba-rv-line { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 16px; color: #fff; font-size: 15px; text-decoration: none; }
:root .hba-rv-line .hba-stars::before { color: rgba(255, 255, 255, 0.28); }
:root .hba-rv-line b { font-weight: 800; }
:root .hba-rv-line span:not(.hba-stars) { color: rgba(255, 255, 255, 0.78); }
:root .hba-rv-line:hover span:not(.hba-stars) { color: #fff; text-decoration: underline; }
:root .hba-rv-line[hidden] { display: none; }
:root .hba-rv-top { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 24px; align-items: center; padding: 18px; background: var(--hba-primary-soft, #eef8fb); border-radius: var(--hba-r-lg, 18px); margin-bottom: 18px; }
:root .hba-rv-score { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
:root .hba-rv-score strong { font-size: 46px; font-weight: 800; line-height: 1; color: var(--hba-primary-strong, #0a4263); font-variant-numeric: tabular-nums; }
:root .hba-rv-score .hba-stars { font-size: 20px; }
:root .hba-rv-score small { color: var(--hba-ink-mute, #64748b); font-size: 13px; }
:root .hba-rv-dist { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
:root .hba-rv-dist li { display: grid; grid-template-columns: 40px minmax(0, 1fr) 36px; align-items: center; gap: 10px; font-size: 13px; color: var(--hba-ink-soft, #334155); }
:root .hba-rv-dist span { white-space: nowrap; font-weight: 700; }
:root .hba-rv-dist i { display: block; height: 8px; background: #fff; border-radius: 999px; overflow: hidden; }
:root .hba-rv-dist i b { display: block; height: 100%; background: var(--hba-gold-bright, #f59e0b); border-radius: inherit; }
:root .hba-rv-dist em { font-style: normal; color: var(--hba-ink-mute, #64748b); text-align: end; font-variant-numeric: tabular-nums; }
:root .hba-rv-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 14px; }
:root .hba-rv-item { border: 1px solid var(--hba-border, #e5e7eb); border-radius: var(--hba-r-lg, 18px); padding: 16px; background: var(--hba-surface, #fff); min-width: 0; }
:root .hba-rv-item-h { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
:root .hba-rv-item-h > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
:root .hba-rv-item-h b { font-size: 15px; color: var(--hba-ink, #0f172a); overflow-wrap: anywhere; }
:root .hba-rv-item-h time { font-size: 12px; color: var(--hba-ink-faint, #94a3b8); white-space: nowrap; }
:root .hba-rv-av { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--hba-primary-gradient, linear-gradient(135deg, #1683a0, #0a4263)); color: #fff; font-weight: 800; }
:root .hba-rv-item p, :root .hba-rv-mine p { margin: 0; color: var(--hba-ink-soft, #334155); font-size: 15px; line-height: 1.75; overflow-wrap: anywhere; }
:root .hba-rv-reply { margin-top: 10px; padding: 10px 12px; background: var(--hba-gold-soft, #faf4e4); border-inline-start: 3px solid var(--hba-gold, #c8a55a); border-radius: 8px; }
:root .hba-rv-reply small { display: block; font-weight: 800; color: var(--hba-gold-ink, #7a5f1e); font-size: 12px; margin-bottom: 2px; }
:root .hba-rv-more { display: block; margin: 16px auto 0; padding: 10px 22px; border: 1.5px solid var(--hba-border, #e5e7eb); border-radius: 999px; background: #fff; color: var(--hba-primary, #1683a0); font-weight: 800; font-size: 14px; cursor: pointer; }
:root .hba-rv-more:hover { border-color: var(--hba-primary-bright, #4aafc9); }
:root .hba-rv[hidden], :root .hba-rv-more[hidden] { display: none; }
:root .hba-rv-card { border-inline-start: 4px solid var(--hba-gold, #c8a55a); }
:root .hba-rv-card.is-approved { border-inline-start-color: var(--hba-primary-bright, #4aafc9); }
:root .hba-rv-card-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
:root .hba-cp-sec .hba-rv-card-h h2 { font-size: 19px; margin: 0 0 4px; }
:root .hba-rv-card-h p { margin: 0 0 12px; color: var(--hba-ink-mute, #64748b); font-size: 14px; }
:root .hba-rv-edit { flex: none; border: 1px solid var(--hba-border, #e5e7eb); border-radius: 999px; padding: 6px 14px; background: #fff; color: var(--hba-primary, #1683a0); font-weight: 700; font-size: 14px; cursor: pointer; white-space: nowrap; }
:root .hba-rv-mine { display: grid; gap: 6px; margin-bottom: 4px; }
:root .hba-rv-mine .hba-stars { font-size: 20px; justify-self: start; }
:root .hba-rv-form { margin-top: 4px; }
:root .hba-rv-pick { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
:root .hba-rv-pick button { padding: 2px 3px; border: 0; background: none; color: #d8dee6; font-size: 34px; line-height: 1; cursor: pointer; transition: transform 0.12s ease, color 0.12s ease; font-family: Arial, "Segoe UI Symbol", sans-serif; }
:root .hba-rv-pick button.is-on { color: var(--hba-gold-bright, #f59e0b); }
:root .hba-rv-pick button:hover { transform: scale(1.12); }
:root .hba-rv-pick button:focus-visible { outline: 2px solid var(--hba-primary-bright, #4aafc9); outline-offset: 2px; border-radius: 6px; }
:root .hba-rv-pick-label { margin-inline-start: 10px; font-weight: 800; color: var(--hba-gold-ink, #7a5f1e); font-size: 15px; }
:root .hba-rv-more-f { display: grid; gap: 10px; margin-top: 12px; }
:root .hba-rv-form textarea { width: 100%; min-height: 90px; padding: 12px 14px; border: 1.5px solid var(--hba-border, #e5e7eb); border-radius: 12px; background: #fff; color: var(--hba-ink, #0f172a); font: inherit; font-size: 15px; line-height: 1.7; resize: vertical; box-sizing: border-box; }
:root .hba-rv-form textarea:focus { outline: none; border-color: var(--hba-primary-bright, #4aafc9); box-shadow: 0 0 0 4px var(--hba-primary-ring, rgba(74, 175, 201, 0.3)); }
:root .hba-rv-send { justify-self: start; display: inline-flex; align-items: center; justify-content: center; padding: 12px 26px; border: 0; border-radius: 12px; background: var(--hba-primary-gradient, linear-gradient(135deg, #1683a0, #0a4263)); color: #fff; font-weight: 800; font-size: 16px; cursor: pointer; text-decoration: none; }
:root a.hba-rv-send { color: #fff; }
:root .hba-rv-send:disabled { opacity: 0.6; cursor: default; }
:root .hba-rv-note { color: var(--hba-ink-mute, #64748b); font-size: 13px; }
:root .hba-rv-err { margin: 0; color: #b42318; font-weight: 700; font-size: 14px; }
:root .hba-rv-more-f[hidden], :root .hba-rv-err[hidden], :root [data-rv-formbox][hidden] { display: none; }
body.hba-rv-open { overflow: hidden; }
:root .hba-rv-modal { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 16px; background: rgba(10, 26, 45, 0.62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
:root .hba-rv-modal-card { position: relative; width: min(520px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; padding: 30px 24px 20px; border-radius: 22px; background: #fff; color: var(--hba-ink, #0f172a); text-align: center; box-shadow: var(--hba-sh-xl, 0 24px 60px -16px rgba(11, 26, 45, 0.24)); animation: hbaRvIn 0.28s ease-out; }
:root .hba-rv-modal-ico { font-size: 46px; line-height: 1; margin-bottom: 8px; }
:root .hba-rv-modal-card h2 { margin: 0 0 8px; font-size: 24px; font-weight: 800; color: var(--hba-primary-strong, #0a4263); }
:root .hba-rv-modal-card > p { margin: 0 0 14px; color: var(--hba-ink-soft, #334155); font-size: 15px; line-height: 1.7; }
:root .hba-rv-modal .hba-rv-pick { justify-content: center; }
:root .hba-rv-modal .hba-rv-pick button { font-size: 42px; }
:root .hba-rv-modal .hba-rv-pick-label { flex-basis: 100%; min-height: 22px; margin: 4px 0 0; text-align: center; }
:root .hba-rv-modal .hba-rv-more-f { text-align: start; }
:root .hba-rv-modal .hba-rv-send { justify-self: stretch; }
:root .hba-rv-later { margin-top: 8px; padding: 8px 12px; border: 0; background: none; color: var(--hba-ink-mute, #64748b); font-weight: 700; font-size: 14px; cursor: pointer; }
:root .hba-rv-x { position: absolute; top: 10px; inset-inline-end: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f1f5f9; color: var(--hba-ink-mute, #64748b); font-size: 22px; line-height: 1; cursor: pointer; }
:root .hba-rv-thanks { display: grid; justify-items: center; gap: 6px; padding: 8px 0 4px; }
:root .hba-rv-thanks strong { font-size: 22px; color: var(--hba-primary-strong, #0a4263); }
:root .hba-rv-thanks p { margin: 0 0 8px; color: var(--hba-ink-soft, #334155); }
:root .hba-rv-thanks[hidden], :root .hba-rv-later[hidden], :root .hba-rv-x[hidden] { display: none; }
@keyframes hbaRvIn { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }
:root .hba-cat-rating { display: flex; align-items: center; gap: 6px; margin-top: -2px; font-size: 14px; color: var(--hba-ink-soft, #334155); }
:root .hba-cat-rating b { color: var(--hba-ink, #0f172a); font-weight: 800; }
:root .hba-cat-rating span:not(.hba-stars) { color: var(--hba-ink-mute, #64748b); }
:root .hba-cat-rating[hidden] { display: none; }
@media (max-width: 600px) {
	:root .hba-rv-top { grid-template-columns: 1fr; gap: 14px; }
	:root .hba-rv-card-h { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
	:root .hba-rv-modal-card { animation: none; }
	:root .hba-rv-pick button { transition: none; }
}
:root .hba-cp-sec.hba-rv-card { position: relative; overflow: hidden; padding: 28px 28px 24px; border: 0; border-radius: 26px; color: #fff;
	background: radial-gradient(120% 140% at 100% 0%, #4aafc9 0%, #1683a0 32%, #0a4263 68%, #0b1a2d 100%);
	box-shadow: 0 26px 50px -28px rgba(10, 66, 99, .85), inset 0 1px 0 rgba(255, 255, 255, .12); }
:root .hba-cp-sec.hba-rv-card::before { content: ""; position: absolute; inset-inline-start: -70px; bottom: -90px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(200, 165, 90, .35), transparent 70%); pointer-events: none; }
:root .hba-cp-sec.hba-rv-card > * { position: relative; }
:root .hba-cp-sec.hba-rv-card .hba-rv-card-h h2 { color: #fff; font-size: 22px; margin: 0 0 6px; }
:root .hba-cp-sec.hba-rv-card .hba-rv-card-h p { color: rgba(255, 255, 255, .8); font-size: 15px; margin: 0 0 16px; max-width: 56ch; }
:root .hba-cp-sec.hba-rv-card .hba-rv-pick { gap: 6px; padding: 12px 16px; border-radius: 18px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); width: fit-content; max-width: 100%; box-sizing: border-box; }
:root .hba-cp-sec.hba-rv-card .hba-rv-pick button { color: rgba(255, 255, 255, .28); font-size: 38px; }
:root .hba-cp-sec.hba-rv-card .hba-rv-pick button.is-on { color: #e0c07a; text-shadow: 0 0 18px rgba(224, 192, 122, .55); }
:root .hba-cp-sec.hba-rv-card .hba-rv-pick button:focus-visible { outline-color: #e0c07a; }
:root .hba-cp-sec.hba-rv-card .hba-rv-pick-label { color: #e0c07a; font-size: 16px; }
:root .hba-cp-sec.hba-rv-card .hba-rv-more-f { margin-top: 16px; }
:root .hba-cp-sec.hba-rv-card .hba-rv-form textarea { background: rgba(255, 255, 255, .96); border: 0; border-radius: 16px; min-height: 104px; box-shadow: 0 10px 24px -18px rgba(0, 0, 0, .6); }
:root .hba-cp-sec.hba-rv-card .hba-rv-form textarea:focus { box-shadow: 0 0 0 4px rgba(224, 192, 122, .45); }
:root .hba-cp-sec.hba-rv-card .hba-rv-send { padding: 13px 30px; border-radius: 14px; background: linear-gradient(135deg, #c8a55a 0%, #e0c07a 50%, #c8a55a 100%); color: #0a1628; font-weight: 900; box-shadow: 0 10px 26px -10px rgba(200, 165, 90, .7); transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; }
:root .hba-cp-sec.hba-rv-card .hba-rv-send:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 16px 30px -12px rgba(200, 165, 90, .8); }
:root .hba-cp-sec.hba-rv-card .hba-rv-note { color: rgba(255, 255, 255, .62); }
:root .hba-cp-sec.hba-rv-card .hba-rv-err { color: #ffd2cc; }
:root .hba-cp-sec.hba-rv-card .hba-rv-edit { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .25); color: #fff; }
:root .hba-cp-sec.hba-rv-card .hba-rv-edit:hover { background: rgba(255, 255, 255, .2); }
:root .hba-cp-sec.hba-rv-card .hba-rv-mine { padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
:root .hba-cp-sec.hba-rv-card .hba-rv-mine .hba-stars { font-size: 24px; }
:root .hba-cp-sec.hba-rv-card .hba-rv-mine .hba-stars::before { color: rgba(255, 255, 255, .25); }
:root .hba-cp-sec.hba-rv-card .hba-rv-mine .hba-stars::after { color: #e0c07a; }
:root .hba-cp-sec.hba-rv-card .hba-rv-mine p { color: rgba(255, 255, 255, .9); }
:root .hba-cp-sec.hba-rv-card .hba-rv-reply { background: rgba(200, 165, 90, .16); border-inline-start-color: #e0c07a; }
:root .hba-cp-sec.hba-rv-card .hba-rv-reply small { color: #e0c07a; }
:root .hba-cp-sec.hba-rv-card .hba-rv-reply p { color: #fff; }
@media (max-width: 600px) {
	:root .hba-cp-sec.hba-rv-card { padding: 22px 18px 18px; border-radius: 22px; }
	:root .hba-cp-sec.hba-rv-card .hba-rv-pick button { font-size: 34px; }
}
:root .hba-gr { display: inline-flex; align-items: center; gap: 7px; flex-wrap: wrap; direction: rtl; line-height: 1; }
:root .hba-gr b { font-weight: 800; font-size: 1.05em; font-variant-numeric: tabular-nums; }
:root .hba-gr .hba-stars { font-size: 1.15em; letter-spacing: 1px; }
:root .hba-gr .hba-stars::after { color: #f5b62a; }
:root .hba-gr small { font-size: .9em; font-weight: 600; opacity: .8; }
:root .hba-rv-line .hba-gr { font-size: 16px; }
:root .hba-rv-line .hba-rv-go { font-style: normal; padding: 5px 13px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.22); color: #fff; font-size: 13px; font-weight: 700; transition: background .2s ease; }
:root .hba-rv-line:hover .hba-rv-go { background: rgba(200, 165, 90, 0.35); }
:root .hba-qr-cheer { display: flex; align-items: center; gap: 12px; margin: 14px 0 4px; padding: 14px 16px; border-radius: 16px; background: linear-gradient(135deg, rgba(200, 165, 90, .16), rgba(74, 175, 201, .1)); border: 1px solid rgba(200, 165, 90, .45); }
:root .hba-qr-cheer span { flex: none; font-size: 28px; line-height: 1; }
:root .hba-qr-cheer p { margin: 0; font-size: 16px; font-weight: 800; line-height: 1.7; color: var(--hba-primary-strong, #0a4263); }
:root .hba-xd-quiz-grow { display: block; flex-basis: 100%; margin: 4px 0; font-weight: 700; color: var(--hba-gold-ink, #7a5f1e); }
:root .hba-qr-modal { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 16px; background: rgba(4, 12, 24, .62); overflow-y: auto; animation: hba-qr-in .18s ease-out; }
:root .hba-qr-modal-in { position: relative; width: min(100%, 540px); margin: auto; }
:root .hba-qr-modal .hba-qr-card { background: var(--hba-surface-3, #fff); margin: 0; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .55); }
:root .hba-qr-modal .hba-qr-actions { flex-direction: column; align-items: stretch; }
:root .hba-qr-modal .hba-qr-actions .hba-btn { width: 100%; justify-content: center; text-align: center; }
:root .hba-qr-x { position: absolute; top: 10px; inset-inline-start: 10px; z-index: 1; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(15, 23, 42, .06); color: #334155; font-size: 22px; line-height: 1; cursor: pointer; }
:root .hba-qr-x:hover { background: rgba(15, 23, 42, .12); }
:root .hba-qr-fix { display: block; text-align: center; color: var(--hba-ink-mute); font-size: 12.5px; line-height: 1.6; }
:root .hba-qr-mini { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; font-weight: 800; }
@keyframes hba-qr-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { :root .hba-qr-modal { animation: none; } }
