/**
 * Hamenagen - Header v2
 */

/* Native select - רשימת אפשרויות תואמת מצב כהה/בהיר */
html[data-hm-theme="dark"] select {
	color-scheme: dark;
}

html[data-hm-theme="light"] select,
html:not([data-hm-theme]) select {
	color-scheme: light;
}

html[data-hm-theme="dark"] select option {
	background-color: #20215a;
	color: #f5f5f7;
}

html[data-hm-theme="light"] select option,
html:not([data-hm-theme]) select option {
	background-color: #ffffff;
	color: #20215a;
}

body.hm-header-v2-active {
	--hm-h-brand: #cb1e53;
	--hm-h-brand-glow: rgba(203, 30, 83, 0.35);
	--hm-h-navy: #20215a;
	--hm-h-navy-deep: #26235a;
	--hm-h-radius: 12px;
	--hm-h-pill: 999px;
	--hm-h-font: "פולין", "Polin", sans-serif;
	--hm-h-transition: 0.22s ease;
	--hm-h-utility-h: 72px;
	--hm-h-nav-h: 48px;
	--hm-h-total-h: calc(var(--hm-h-utility-h) + var(--hm-h-nav-h));
	--hm-h-mob-bar-h: 90px;
	padding-top: var(--hm-h-total-h);
	font-family: var(--hm-h-font);
	overflow-x: clip;
	max-width: 100%;
}

html:has(body.hm-header-v2-active) {
	overflow-x: clip;
}

body.hm-header-v2-active.hm-header-v2--compact {
	--hm-h-nav-h: 0px;
	--hm-h-utility-h: 58px;
}

body.hm-header-v2-active.hm-header-v2--mobile {
	padding-top: 48px;
	padding-bottom: calc(var(--hm-h-mob-bar-h) + 16px);
}

/* Theme tokens - dark */
.hm-header[data-hm-theme="dark"] {
	--hm-h-utility-bg: #16162E;
	--hm-h-text: #f5f5f7;
	--hm-h-text-muted: rgba(245, 245, 247, 0.6);
	--hm-h-border: rgba(255, 255, 255, 0.1);
	--hm-h-surface: #12121f;
	--hm-h-surface-hover: rgba(255, 255, 255, 0.08);
	--hm-h-search-bg: rgba(255, 255, 255, 0.95);
	--hm-h-search-text: #1a1a2e;
	--hm-h-search-placeholder: rgba(32, 33, 90, 0.45);
	--hm-h-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
	--hm-h-nav-bg: #12121f;
	--hm-h-nav-text: #f5f5f7;
	--hm-h-nav-hover: rgba(255, 255, 255, 0.1);
	--hm-h-nav-active-bg: #cb1e53;
	--hm-h-nav-active-text: #ffffff;
	--hm-h-mob-bar-bg: rgba(18, 18, 31, 0.94);
	--hm-h-mob-bar-text: rgba(245, 245, 247, 0.55);
	--hm-h-mob-bar-active: #f5f5f7;
	--hm-h-mob-bar-shadow: 0 10px 32px rgba(0, 0, 0, 0.4);
	--hm-h-theme-toggle-bg: rgba(255, 255, 255, 0.1);
	--hm-h-theme-toggle-border: rgba(255, 255, 255, 0.18);
	--hm-h-theme-toggle-icon: #f5f5f7;
	--hm-h-theme-toggle-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
	--hm-h-theme-toggle-hover-bg: rgba(255, 255, 255, 0.16);
	--hm-h-theme-toggle-hover-border: rgba(203, 30, 83, 0.5);
	--hm-h-theme-toggle-hover-shadow: 0 4px 20px rgba(203, 30, 83, 0.32);
	--hm-h-play-mob-bg: #cb1e53;
	--hm-h-play-mob-shadow: 0 10px 28px rgba(203, 30, 83, 0.45);
	--hm-h-profile-btn-bg: rgba(255, 255, 255, 0.08);
	--hm-h-profile-btn-hover: rgba(255, 255, 255, 0.14);
	--hm-h-profile-menu-bg: #181818;
	--hm-h-profile-menu-border: rgba(255, 255, 255, 0.08);
	--hm-h-profile-muted: rgba(255, 255, 255, 0.55);
	--hm-h-profile-divider: rgba(255, 255, 255, 0.1);
	--hm-h-profile-link-hover: rgba(255, 255, 255, 0.08);
	--hm-h-profile-avatar-gradient: linear-gradient(135deg, #e91e8c 0%, #cb1e53 55%, #7b1fa8 100%);
	--hm-h-profile-avatar-glow: 0 4px 14px rgba(203, 30, 83, 0.35);
}

/* Theme tokens - light */
html[data-hm-theme="light"] .hm-header__profile-menu,
html:not([data-hm-theme]) .hm-header__profile-menu,
.hm-header[data-hm-theme="light"] .hm-header__profile-menu {
	box-shadow: 0 8px 32px rgba(32, 33, 90, 0.14);
}

button#hm-header-profile-btn {
	background: transparent !important;
}

button#hm-header-profile-btn:hover {
	background: #a6aaaf18 !important;
}

.hm-header[data-hm-theme="light"],
html[data-hm-theme="light"] .hm-header,
html:not([data-hm-theme]) .hm-header {
	--hm-h-utility-bg: #ffffff;
	--hm-h-text: #20215a;
	--hm-h-text-muted: rgba(32, 33, 90, 0.65);
	--hm-h-border: rgba(32, 33, 90, 0.1);
	--hm-h-surface: #ffffff;
	--hm-h-surface-hover: rgba(32, 33, 90, 0.06);
	--hm-h-search-bg: #ffffff;
	--hm-h-search-text: #20215a;
	--hm-h-search-placeholder: rgba(32, 33, 90, 0.45);
	--hm-h-shadow: 0 4px 24px rgba(32, 33, 90, 0.1);
	--hm-h-nav-bg: #20215a;
	--hm-h-nav-text: #ffffff;
	--hm-h-nav-hover: rgba(255, 255, 255, 0.12);
	--hm-h-nav-active-bg: #cb1e53;
	--hm-h-nav-active-text: #ffffff;
	--hm-h-mob-bar-bg: rgba(255, 255, 255, 0.94);
	--hm-h-mob-bar-text: #9aa0a6;
	--hm-h-mob-bar-active: #20215a;
	--hm-h-mob-bar-shadow: 0 10px 32px rgba(0, 0, 0, 0.14);
	--hm-h-theme-toggle-bg: rgba(32, 33, 90, 0.06);
	--hm-h-theme-toggle-border: rgba(32, 33, 90, 0.14);
	--hm-h-theme-toggle-icon: #20215a;
	--hm-h-theme-toggle-shadow: 0 2px 10px rgba(32, 33, 90, 0.1);
	--hm-h-theme-toggle-hover-bg: rgba(32, 33, 90, 0.1);
	--hm-h-theme-toggle-hover-border: rgba(203, 30, 83, 0.4);
	--hm-h-theme-toggle-hover-shadow: 0 4px 18px rgba(203, 30, 83, 0.22);
	--hm-h-play-mob-bg: #20215a;
	--hm-h-play-mob-shadow: 0 10px 28px rgba(32, 33, 90, 0.45);
	--hm-h-profile-btn-bg: rgba(0, 0, 0, 0.06);
	--hm-h-profile-btn-hover: rgba(0, 0, 0, 0.1);
	--hm-h-profile-menu-bg: #ffffff;
	--hm-h-profile-menu-border: rgba(32, 33, 90, 0.1);
	--hm-h-profile-muted: rgba(32, 33, 90, 0.55);
	--hm-h-profile-divider: rgba(32, 33, 90, 0.1);
	--hm-h-profile-link-hover: rgba(32, 33, 90, 0.06);
	--hm-h-profile-avatar-gradient: linear-gradient(135deg, #e91e8c 0%, #cb1e53 55%, #7b1fa8 100%);
	--hm-h-profile-avatar-glow: 0 4px 14px rgba(203, 30, 83, 0.2);
}

.hm-header,
.hm-header * {
	box-sizing: border-box;
}

.hm-header {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	z-index: 99990;
	font-family: var(--hm-h-font) !important;
	direction: rtl;
	color: var(--hm-h-text);
	transition: box-shadow var(--hm-h-transition), background var(--hm-h-transition), color var(--hm-h-transition);
}

.hm-header.is-scrolled {
	box-shadow: var(--hm-h-shadow);
}

.hm-header__inner {
	width: min(100%, 1480px);
	margin: 0 auto;
	padding-left: 7%;
	padding-right: 7%;
	padding-top: 0;
	padding-bottom: 0;
}

/* === Utility row === */
.hm-header__utility {
	background: var(--hm-h-utility-bg);
	border-bottom: 1px solid var(--hm-h-border);
	min-height: var(--hm-h-utility-h);
	display: flex;
	align-items: center;
	transition: min-height var(--hm-h-transition), background var(--hm-h-transition), border-color var(--hm-h-transition);
}

.hm-header__utility .hm-header__inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	column-gap: clamp(16px, 2.5vw, 32px);
	min-height: var(--hm-h-utility-h);
	width: 100%;
}

.hm-header__brand {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.hm-header__logo {
	display: inline-flex;
	align-items: center;
	text-decoration: none !important;
	flex-shrink: 0;
	line-height: 0;
}

.hm-header__logo-img {
	display: block;
	height: 40px;
	width: 100% !important;
	max-width: 130px;
	object-fit: contain;
	transition: height var(--hm-h-transition), max-width var(--hm-h-transition);
}

.hm-header__logo-img--light {
	display: none;
}

.hm-header[data-hm-theme="light"] .hm-header__logo-img--dark,
html[data-hm-theme="light"] .hm-header__logo-img--dark,
html:not([data-hm-theme]) .hm-header__logo-img--dark {
	display: none;
}

.hm-header[data-hm-theme="light"] .hm-header__logo-img--light,
html[data-hm-theme="light"] .hm-header__logo-img--light,
html:not([data-hm-theme]) .hm-header__logo-img--light {
	display: block;
}

body.hm-header-v2--compact .hm-header__logo-img {
	height: 30px;
	max-width: 108px;
}

.hm-header__logo-text {
	font-weight: 700;
	font-size: 1.1rem;
	color: var(--hm-h-text);
}

.hm-header__search-wrap {
	min-width: 0;
	justify-self: center;
	width: min(100%, 520px);
}

.hm-header__search {
	position: relative;
}

.hm-header__search-icon {
	position: absolute;
	right: 1rem;
	top: 50%;
	transform: translateY(-50%);
	width: 20px;
	height: 20px;
	color: var(--hm-h-search-text);
	opacity: 0.45;
	pointer-events: none;
	z-index: 2;
}

.hm-header__search-icon svg {
	width: 100%;
	height: 100%;
	display: block;
}

.hm-header__search-input {
	width: 100% !important;
	padding: 0.7rem 2.75rem 0.7rem 1rem !important;
	margin: 0 !important;
	border: 1px solid var(--hm-h-border) !important;
	border-radius: var(--hm-h-pill) !important;
	background: var(--hm-h-search-bg) !important;
	color: var(--hm-h-search-text) !important;
	font-family: var(--hm-h-font) !important;
	font-size: 0.95rem !important;
	line-height: 1.4 !important;
	box-shadow: none !important;
	outline: none !important;
	-webkit-appearance: none !important;
	appearance: none !important;
	transition: border-color var(--hm-h-transition), box-shadow var(--hm-h-transition);
}

.hm-header__search-input:focus {
	border-color: var(--hm-h-brand) !important;
	box-shadow: 0 0 0 3px var(--hm-h-brand-glow) !important;
}

.hm-header__search-input::placeholder {
	color: var(--hm-h-search-placeholder) !important;
	opacity: 1 !important;
}

.hm-header__search-results.sls-results {
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	left: 0;
	z-index: 100;
	background: var(--hm-h-search-bg);
	color: var(--hm-h-search-text);
	border-radius: var(--hm-h-radius);
	border: 1px solid var(--hm-h-border);
	box-shadow: var(--hm-h-shadow);
	max-height: 60vh;
	overflow: auto;
}

.hm-header__actions {
	display: flex;
	align-items: center;
	gap: clamp(6px, 1vw, 14px);
	flex-shrink: 0;
	justify-self: end;
}

.hm-header__play .cmp-header-player-button {
	margin: 0;
}

.hm-header__downloads-text,
.hm-header__shorts-text {
	font-size: 0.92rem;
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
}

a.hm-header__downloads .hm-header__downloads-icon,
a.hm-header__shorts .hm-header__shorts-icon,
a.hm-header__shorts .hm-shorts-entry__icon-wrap {
	width: 22px !important;
	height: 22px !important;
	min-width: 22px !important;
	min-height: 22px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex-shrink: 0 !important;
	border-radius: 0 !important;
	pointer-events: none !important;
}

a.hm-header__downloads .hm-header__downloads-icon svg,
a.hm-header__shorts .hm-header__shorts-icon svg,
a.hm-header__shorts .hm-header__action-svg {
	width: 22px !important;
	height: 22px !important;
	display: block !important;
	flex-shrink: 0 !important;
}

/* === שורטס === */
.hm-shorts-entry__icon-wrap {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.hm-shorts-entry__icon-wrap--fab {
	width: 26px;
	height: 26px;
}

.hm-header__sheet-link--shorts {
	display: inline-flex !important;
	align-items: center;
	gap: 0.55rem;
}

.hm-header__sheet-link--shorts .hm-header__shorts-icon {
	width: 22px;
	height: 22px;
}

/* כפתור צף שורטס - ימין, מעל הרדיו, עיצוב כמו מפה/רדיו */
a.hm-shorts-fab,
a.hm-shorts-fab:link,
a.hm-shorts-fab:visited {
	position: fixed !important;
	right: max(16px, env(safe-area-inset-right, 0px)) !important;
	left: auto !important;
	/* מעל רדיו: bottom(map) + 56+12 + 56+12 */
	bottom: calc(max(16px, env(safe-area-inset-bottom, 0px)) + 56px + 12px + 56px + 12px) !important;
	z-index: 99999 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 56px !important;
	height: 56px !important;
	min-width: 56px !important;
	min-height: 56px !important;
	max-width: 56px !important;
	max-height: 56px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid var(--hm-site-border, rgba(32, 33, 90, 0.18)) !important;
	border-radius: 16px !important;
	background: var(--hm-site-surface, #fff) !important;
	background-color: var(--hm-site-surface, #fff) !important;
	background-image: none !important;
	color: var(--hm-site-link, #cb1e53) !important;
	box-shadow: 0 12px 36px rgba(32, 33, 90, 0.18) !important;
	text-decoration: none !important;
	box-sizing: border-box !important;
	overflow: visible !important;
	cursor: pointer !important;
	filter: none !important;
	transform: none !important;
	transition: transform 0.18s ease, box-shadow 0.18s ease, color 0.18s ease !important;
	-webkit-tap-highlight-color: transparent !important;
}

a.hm-shorts-fab:hover,
a.hm-shorts-fab:focus-visible {
	transform: translateY(-2px) !important;
	filter: none !important;
	box-shadow: 0 14px 40px rgba(32, 33, 90, 0.24) !important;
	color: var(--hm-site-heading, #20215a) !important;
	background: var(--hm-site-surface, #fff) !important;
	outline: none !important;
}

.hm-shorts-fab__icon {
	width: 26px !important;
	height: 26px !important;
	display: block !important;
	border-radius: 8px !important;
	object-fit: contain !important;
}

.hm-shorts-fab__label {
	position: absolute !important;
	right: calc(100% + 10px) !important;
	left: auto !important;
	top: 50% !important;
	transform: translateY(-50%) translateX(8px) scale(0.94) !important;
	transform-origin: right center !important;
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
	white-space: nowrap !important;
	padding: 0.45rem 0.75rem !important;
	border-radius: 999px !important;
	background: var(--hm-site-heading, #20215a) !important;
	color: #fff !important;
	font-size: 0.82rem !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	box-shadow: 0 8px 24px rgba(32, 33, 90, 0.22) !important;
	transition: opacity 0.2s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.2s ease !important;
}

html[data-hm-theme='dark'] .hm-shorts-fab__label {
	background: var(--hm-site-surface, #1e1e32) !important;
	color: var(--hm-site-text, #f5f5f7) !important;
	border: 1px solid var(--hm-site-border, rgba(255, 255, 255, 0.12)) !important;
}

a.hm-shorts-fab:hover .hm-shorts-fab__label,
a.hm-shorts-fab:focus-visible .hm-shorts-fab__label {
	opacity: 1 !important;
	visibility: visible !important;
	transform: translateY(-50%) translateX(0) scale(1) !important;
}

body.hm-shorts-page-active .hm-shorts-fab {
	display: none !important;
}

/* מובייל - מעל שורת ניווט + מפה + רדיו */
@media (max-width: 1023px) {

	body.hm-header-v2-active a.hm-shorts-fab,
	body.hm-header-v2-active a.hm-shorts-fab:link,
	body.hm-header-v2-active a.hm-shorts-fab:visited {
		bottom: calc(var(--hm-h-mob-bar-h, 90px) + 16px + 56px + 12px + 56px + 12px) !important;
	}
}

/* הכרחת עיצוב פנימי של הכפתור הצף מול דריסות של התבנית */
a.hm-shorts-fab .hm-shorts-entry__icon-wrap--fab {
	position: relative !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 26px !important;
	height: 26px !important;
	flex-shrink: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

@media (prefers-reduced-motion: reduce) {
	.hm-shorts-fab__label {
		transition: none !important;
	}
}

/* מסכים זעירים (Qin F22 Pro וכד' ~320px) - שורטס/רדיו/מפה רק ב«עוד»; צ'אט נשאר */
@media (max-width: 360px) {

	body.hm-header-v2-active a.hm-shorts-fab,
	body.hm-header-v2-active a.hm-shorts-fab:link,
	body.hm-header-v2-active a.hm-shorts-fab:visited {
		display: none !important;
	}
}

/* === LIVE === */
.hm-header__live-wrap {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
}

.hm-header__live-wrap[hidden],
.hm-header__live-sheet-slot[hidden] {
	display: none !important;
}

a.hm-header__live,
button.hm-header__live,
.hm-header a.hm-header__live,
.hm-header button.hm-header__live {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 0.4rem !important;
	min-height: 32px !important;
	height: auto !important;
	width: auto !important;
	min-width: 0 !important;
	max-height: none !important;
	padding: 0.35rem 0.75rem !important;
	margin: 0 !important;
	border: none !important;
	border-radius: 999px !important;
	background: #e11d48 !important;
	background-color: #e11d48 !important;
	color: #fff !important;
	text-decoration: none !important;
	font-size: 0.78rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.06em !important;
	line-height: 1 !important;
	cursor: pointer !important;
	flex-shrink: 0 !important;
	white-space: nowrap !important;
	box-shadow: none !important;
	transition: filter 0.15s ease, transform 0.15s ease !important;
}

a.hm-header__live:hover,
button.hm-header__live:hover,
.hm-header a.hm-header__live:hover,
.hm-header button.hm-header__live:hover {
	filter: brightness(1.08);
	transform: translateY(-1px);
	color: #fff !important;
	text-decoration: none !important;
}

.hm-header__live-text {
	font-size: inherit;
	font-weight: inherit;
	letter-spacing: inherit;
	line-height: 1;
}

.hm-header__live-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.15rem;
	height: 1.15rem;
	padding: 0 0.28rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.22);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0;
}

.hm-header__live-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #fff;
	flex-shrink: 0;
	box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
	animation: hm-live-pulse 1.2s ease-out infinite;
}

@keyframes hm-live-pulse {
	0% {
		transform: scale(1);
		opacity: 1;
		box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.65);
	}
	70% {
		transform: scale(1.15);
		opacity: 0.85;
		box-shadow: 0 0 0 6px rgba(255, 255, 255, 0);
	}
	100% {
		transform: scale(1);
		opacity: 1;
		box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
	}
}

.hm-header__sheet-link--live {
	display: inline-flex !important;
	align-items: center;
	gap: 0.55rem;
	color: #e11d48 !important;
	font-weight: 700 !important;
}

.hm-header__sheet-link--live .hm-header__live-dot {
	background: #e11d48;
	box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.55);
	animation: hm-live-pulse-sheet 1.2s ease-out infinite;
}

@keyframes hm-live-pulse-sheet {
	0% {
		transform: scale(1);
		opacity: 1;
		box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.55);
	}
	70% {
		transform: scale(1.15);
		opacity: 0.85;
		box-shadow: 0 0 0 6px rgba(225, 29, 72, 0);
	}
	100% {
		transform: scale(1);
		opacity: 1;
		box-shadow: 0 0 0 0 rgba(225, 29, 72, 0);
	}
}

.hm-header__live-modal {
	position: fixed;
	inset: 0;
	z-index: 100050;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.25rem;
}

.hm-header__live-modal[hidden] {
	display: none !important;
}

.hm-header__live-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(10, 10, 14, 0.55);
}

.hm-header__live-modal-panel {
	position: relative;
	z-index: 1;
	width: min(420px, 100%);
	max-height: min(70vh, 520px);
	overflow: auto;
	border-radius: 14px;
	background: var(--hm-h-bg, #fff);
	color: var(--hm-h-text, #111);
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
	padding: 1rem 1.1rem 0.85rem;
}

.hm-header__live-modal-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
}

.hm-header__live-modal-title {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 1rem;
	letter-spacing: 0.05em;
}

.hm-header__live-modal-title .hm-header__live-dot {
	background: #e11d48;
	animation-name: hm-live-pulse-sheet;
}

.hm-header__live-modal-close {
	border: none;
	background: transparent;
	color: inherit;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	padding: 0.15rem 0.35rem;
	opacity: 0.7;
}

.hm-header__live-modal-close:hover {
	opacity: 1;
}

.hm-header__live-modal-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.hm-header__live-modal-item {
	margin: 0;
}

.hm-header__live-modal-link {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	padding: 0.7rem 0.75rem;
	border-radius: 10px;
	text-decoration: none !important;
	color: inherit !important;
	background: rgba(225, 29, 72, 0.06);
	transition: background 0.15s ease;
}

.hm-header__live-modal-link:hover {
	background: rgba(225, 29, 72, 0.12);
}

.hm-header__live-modal-link .hm-header__live-dot {
	margin-top: 0.35rem;
	background: #e11d48;
	animation-name: hm-live-pulse-sheet;
}

.hm-header__live-modal-item-title {
	font-size: 0.92rem;
	font-weight: 600;
	line-height: 1.35;
}

.hm-header__promo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.45rem 1rem;
	border-radius: var(--hm-h-pill);
	background: var(--hm-promo-color, var(--hm-h-brand));
	color: #fff !important;
	text-decoration: none !important;
	font-size: 0.88rem;
	font-weight: 600;
	white-space: nowrap;
	transition: filter var(--hm-h-transition), transform var(--hm-h-transition);
}

.hm-header__promo:hover {
	filter: brightness(1.08);
	transform: translateY(-1px);
}

.hm-header__account {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding-right: 0.65rem;
	margin-right: 0.15rem;
	border-right: 1px solid var(--hm-h-border);
}

.hm-header__notif-wrap {
	position: relative;
	display: inline-flex;
}

.hm-header__notif-icon {
	display: inline-flex;
	width: 22px;
	height: 22px;
}

.hm-header__notif-icon img,
.hm-header__notif-icon svg {
	width: 100%;
	height: 100%;
	display: block;
}

.hm-header__notif-badge {
	position: absolute;
	top: 6px;
	left: 6px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--hm-h-brand, #cb1e53);
	box-shadow: 0 0 0 2px var(--hm-h-bg, #0d0d12);
	pointer-events: none;
}

.hm-header__notif-badge[hidden] {
	display: none !important;
}

.hm-header__notif-menu {
	position: absolute;
	top: calc(100% + 12px);
	left: 0;
	width: min(340px, calc(100vw - 24px));
	max-height: min(420px, calc(100vh - 120px));
	padding: 0;
	background: var(--hm-h-profile-menu-bg);
	border: 1px solid var(--hm-h-profile-menu-border);
	border-radius: 12px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
	z-index: 121;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.hm-header__notif-menu::before {
	content: "";
	position: absolute;
	top: -6px;
	left: 24px;
	width: 12px;
	height: 12px;
	background: var(--hm-h-profile-menu-bg);
	border-top: 1px solid var(--hm-h-profile-menu-border);
	border-right: 1px solid var(--hm-h-profile-menu-border);
	transform: rotate(-45deg);
}

.hm-header__notif-menu[hidden] {
	display: none !important;
}

.hm-header__notif-menu-head {
	padding: 0.85rem 1rem 0.65rem;
	border-bottom: 1px solid var(--hm-h-profile-divider);
	flex-shrink: 0;
}

.hm-header__notif-menu-title {
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--hm-h-text);
}

.hm-header__notif-menu-body {
	padding: 0.35rem 0;
	overflow-y: auto;
	flex: 1;
	min-height: 0;
}

.hm-header__notif-empty {
	margin: 0;
	padding: 1.25rem 1rem;
	font-size: 0.88rem;
	line-height: 1.45;
	color: var(--hm-h-profile-muted);
	text-align: center;
}

.hm-header__notif-empty--premium {
	color: var(--hm-h-text);
}

.hm-header__notif-premium-link {
	display: inline;
	color: #12114d;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.hm-header__notif-premium-link:hover {
	opacity: 0.85;
}

.hm-header[data-hm-theme="dark"] .hm-header__notif-premium-link {
	color: #c8c6f0;
}

.hm-header__notif-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hm-header__notif-item.is-unread .hm-header__notif-link {
	background: rgba(203, 30, 83, 0.08);
}

.hm-header__notif-link {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.65rem 1rem;
	color: var(--hm-h-text) !important;
	text-decoration: none !important;
	transition: background var(--hm-h-transition);
}

.hm-header__notif-link:hover {
	background: var(--hm-h-profile-link-hover);
}

.hm-header__notif-thumb {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	border-radius: 8px;
	overflow: hidden;
	background: var(--hm-h-profile-btn-bg);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.hm-header__notif-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hm-header__notif-thumb--fallback {
	color: var(--hm-h-profile-muted);
}

.hm-header__notif-thumb--fallback svg {
	width: 22px;
	height: 22px;
}

.hm-header__notif-meta {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	min-width: 0;
}

.hm-header__notif-song {
	font-size: 0.88rem;
	font-weight: 600;
	line-height: 1.3;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hm-header__notif-singer {
	font-size: 0.78rem;
	color: var(--hm-h-profile-muted);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hm-header__notif-date {
	font-size: 0.72rem;
	color: var(--hm-h-profile-muted);
}

.hm-header__login-group {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.hm-header__login-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.4rem 0.9rem;
	border-radius: var(--hm-h-pill);
	border: none;
	cursor: pointer;
	font-family: var(--hm-h-font) !important;
	font-size: 0.92rem;
	text-decoration: none !important;
	transition: background var(--hm-h-transition), transform var(--hm-h-transition), filter var(--hm-h-transition);
	background: linear-gradient(135deg, #cb1e53, #26235a);
	color: #fff !important;
	white-space: nowrap;
}

.hm-header__login-btn--artist {
	background: transparent;
	border: 1.5px solid #cb1e53;
	color: #cb1e53 !important;
}

html[data-hm-theme="dark"] .hm-header__login-btn--artist {
	border-color: #e0285f;
	color: #ff8fab !important;
}

.hm-header__login-btn:hover {
	filter: brightness(1.05);
}

.hm-header__login-btn--artist:hover {
	filter: none;
	background: rgba(203, 30, 83, 0.1);
}

.hm-header__profile-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	height: 32px;
	padding: 2px 10px 2px 4px;
	border-radius: 999px;
	border: none;
	cursor: pointer;
	font-family: var(--hm-h-font) !important;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1;
	text-decoration: none !important;
	color: var(--hm-h-text) !important;
	background: var(--hm-h-profile-btn-bg);
	transition: background var(--hm-h-transition), transform var(--hm-h-transition);
}

.hm-header__profile-btn:hover,
.hm-header__profile-btn[aria-expanded="true"] {
	background: var(--hm-h-profile-btn-hover);
}

.hm-header__profile-name {
	max-width: 120px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hm-header__profile-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	border-radius: 50%;
	overflow: hidden;
}

.hm-header__profile-avatar--fallback {
	background: var(--hm-h-profile-avatar-gradient);
	box-shadow: var(--hm-h-profile-avatar-glow);
}

.hm-header__profile-avatar--photo {
	background: transparent;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.hm-header__profile-avatar--sm {
	width: 28px;
	height: 28px;
}

.hm-header__profile-avatar--lg {
	width: 56px;
	height: 56px;
}

.hm-header__profile-avatar--lg.hm-header__profile-avatar--fallback {
	box-shadow: var(--hm-h-profile-avatar-glow);
}

.hm-header__profile-avatar-img {
	width: 100% !important;
	height: 100% !important;
	border-radius: 50% !important;
	object-fit: cover;
	display: block;
}

.hm-header__profile-avatar-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	line-height: 0;
}

.hm-header__profile-avatar-initial {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: #fff;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
	user-select: none;
}

.hm-header__profile-avatar--sm .hm-header__profile-avatar-initial {
	font-size: 0.78rem;
}

.hm-header__profile-avatar--lg .hm-header__profile-avatar-initial {
	font-size: 1.35rem;
}

.hm-header__profile-avatar-icon svg {
	display: block;
}

.hm-header__profile-avatar--sm .hm-header__profile-avatar-icon svg {
	width: 16px;
	height: 16px;
}

.hm-header__profile-avatar--lg .hm-header__profile-avatar-icon svg {
	width: 28px;
	height: 28px;
}

.hm-header__studio-picker {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

/* כפתור בחירת סטודיו - מוגן מדריסת כפתורי תבנית / Elementor */
button.hm-header__studio-picker-toggle,
.hm-header button.hm-header__studio-picker-toggle,
.hm-header__profile-menu button.hm-header__profile-link.hm-header__studio-picker-toggle,
.hm-header__sheet button.hm-header__sheet-link.hm-header__studio-picker-toggle,
.elementor-widget-shortcode button.hm-header__studio-picker-toggle,
.elementor-element button.hm-header__studio-picker-toggle {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 0.75rem !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0.65rem 0.75rem !important;
	border: 0 !important;
	border-radius: 8px !important;
	background: transparent !important;
	box-shadow: none !important;
	outline: none !important;
	cursor: pointer !important;
	font: inherit !important;
	font-size: 0.9rem !important;
	font-weight: 500 !important;
	line-height: inherit !important;
	text-align: inherit !important;
	text-decoration: none !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	color: var(--hm-h-text) !important;
	appearance: none !important;
	-webkit-appearance: none !important;
	transition: background var(--hm-h-transition), color var(--hm-h-transition) !important;
}

button.hm-header__studio-picker-toggle:hover,
button.hm-header__studio-picker-toggle:focus,
button.hm-header__studio-picker-toggle:focus-visible,
button.hm-header__studio-picker-toggle[aria-expanded="true"],
.hm-header button.hm-header__studio-picker-toggle:hover,
.hm-header button.hm-header__studio-picker-toggle:focus,
.hm-header button.hm-header__studio-picker-toggle:focus-visible,
.hm-header button.hm-header__studio-picker-toggle[aria-expanded="true"],
.hm-header__profile-menu button.hm-header__studio-picker-toggle:hover,
.hm-header__profile-menu button.hm-header__studio-picker-toggle[aria-expanded="true"] {
	background: var(--hm-h-profile-link-hover) !important;
	color: var(--hm-h-text) !important;
	box-shadow: none !important;
}

button.hm-header__studio-picker-toggle:active,
.hm-header button.hm-header__studio-picker-toggle:active {
	background: var(--hm-h-profile-link-hover) !important;
	color: var(--hm-h-text) !important;
	transform: none !important;
}

button.hm-header__studio-picker-toggle .hm-header__profile-link-icon,
button.hm-header__studio-picker-toggle .hm-header__profile-link-text,
.hm-header button.hm-header__studio-picker-toggle .hm-header__profile-link-icon,
.hm-header button.hm-header__studio-picker-toggle .hm-header__profile-link-text {
	color: inherit !important;
}

button.hm-header__studio-picker-toggle svg,
.hm-header button.hm-header__studio-picker-toggle svg {
	stroke: currentColor !important;
	color: inherit !important;
}

.hm-header__studio-picker--sheet .hm-header__studio-picker-toggle,
.hm-header__sheet button.hm-header__sheet-link.hm-header__studio-picker-toggle {
	display: block !important;
	width: 100% !important;
	text-align: right !important;
	justify-content: flex-start !important;
}

/* קישור סטודיו (זמר / יח״צ עם אומן אחד) - אותו מראה כמו שאר הפריטים */
.hm-header__profile-menu a.hm-header__profile-link[data-hmsp-studio],
.hm-header__sheet a.hm-header__sheet-link[data-hmsp-studio] {
	background: transparent !important;
	color: var(--hm-h-text) !important;
	box-shadow: none !important;
}

.hm-header__profile-menu a.hm-header__profile-link[data-hmsp-studio]:hover,
.hm-header__profile-menu a.hm-header__profile-link[data-hmsp-studio]:focus,
.hm-header__sheet a.hm-header__sheet-link[data-hmsp-studio]:hover,
.hm-header__sheet a.hm-header__sheet-link[data-hmsp-studio]:focus {
	background: var(--hm-h-profile-link-hover) !important;
	color: var(--hm-h-text) !important;
}

.hm-header__studio-artists {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	margin: 0 0.35rem 0.35rem;
	padding: 0.35rem;
	border-radius: 8px;
	background: rgba(127, 127, 127, 0.08);
}

.hm-header__studio-artists[hidden] {
	display: none !important;
}

.hm-header__studio-artists-label,
.hm-header__studio-artists-empty {
	margin: 0;
	padding: 0.35rem 0.55rem;
	font-size: 0.75rem;
	opacity: 0.7;
}

.hm-header__studio-artist {
	font-size: 0.86rem !important;
	padding-inline-start: 1rem !important;
}

.hm-header__profile-chevron {
	width: 16px;
	height: 16px;
	display: inline-flex;
	flex-shrink: 0;
	opacity: 0.85;
	transition: transform var(--hm-h-transition);
}

.hm-header__profile-chevron svg {
	width: 100%;
	height: 100%;
	display: block;
}

.hm-header__profile-btn[aria-expanded="true"] .hm-header__profile-chevron {
	transform: rotate(180deg);
}

/* === Action icons - נקי כמו פעמון, מוגן מדריסה === */
a.hm-header__downloads,
a.hm-header__shorts,
button.hm-header__theme-toggle,
button#hm-header-notif-btn,
button.hm-header__notif-btn,
.hm-header a.hm-header__downloads,
.hm-header a.hm-header__shorts,
.hm-header button.hm-header__theme-toggle,
.hm-header button.hm-header__notif-btn,
.elementor-widget-shortcode button#hm-header-notif-btn,
.elementor-element button#hm-header-notif-btn,
.elementor-widget-shortcode a.hm-header__downloads,
.elementor-widget-shortcode a.hm-header__shorts,
.elementor-element a.hm-header__downloads,
.elementor-element a.hm-header__shorts {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 0.35rem !important;
	width: 36px !important;
	height: 36px !important;
	min-width: 36px !important;
	min-height: 36px !important;
	max-height: 36px !important;
	padding: 0 !important;
	margin: 0 !important;
	border: none !important;
	border-radius: 0 !important;
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	color: var(--hm-h-text) !important;
	cursor: pointer !important;
	flex-shrink: 0 !important;
	position: relative !important;
	overflow: visible !important;
	box-shadow: none !important;
	font-family: var(--hm-h-font) !important;
	font-size: 0 !important;
	font-weight: 500 !important;
	line-height: 1 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	text-decoration: none !important;
	text-shadow: none !important;
	filter: none !important;
	appearance: none !important;
	-webkit-appearance: none !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
	box-sizing: border-box !important;
	transition: color 0.22s ease, opacity 0.22s ease, transform 0.22s ease !important;
}

/* עם טקסט גלוי */
body:not(.hm-header-v2--compact) a.hm-header__downloads,
body:not(.hm-header-v2--compact) a.hm-header__shorts,
body:not(.hm-header-v2--compact) .hm-header a.hm-header__downloads,
body:not(.hm-header-v2--compact) .hm-header a.hm-header__shorts {
	width: auto !important;
	min-width: 0 !important;
	height: auto !important;
	min-height: 36px !important;
	max-height: none !important;
	padding: 0 !important;
	font-size: 0.92rem !important;
	color: var(--hm-h-text) !important;
}

body.hm-header-v2--compact a.hm-header__downloads,
body.hm-header-v2--compact a.hm-header__shorts,
body.hm-header-v2--compact .hm-header a.hm-header__downloads,
body.hm-header-v2--compact .hm-header a.hm-header__shorts {
	width: 36px !important;
	min-width: 36px !important;
	height: 36px !important;
	padding: 0 !important;
	font-size: 0 !important;
}

a.hm-header__downloads:hover,
a.hm-header__shorts:hover,
button.hm-header__theme-toggle:hover,
button#hm-header-notif-btn:hover,
button.hm-header__notif-btn:hover,
button#hm-header-notif-btn[aria-expanded="true"],
button.hm-header__notif-btn[aria-expanded="true"],
.hm-header a.hm-header__downloads:hover,
.hm-header a.hm-header__shorts:hover,
.hm-header button.hm-header__theme-toggle:hover,
.hm-header button.hm-header__notif-btn:hover,
.hm-header button.hm-header__notif-btn[aria-expanded="true"],
.elementor-widget-shortcode button#hm-header-notif-btn:hover,
.elementor-element button#hm-header-notif-btn:hover {
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	border: none !important;
	color: var(--hm-h-brand) !important;
	transform: none !important;
	box-shadow: none !important;
	filter: none !important;
	text-decoration: none !important;
	opacity: 1 !important;
}

a.hm-header__downloads:active,
a.hm-header__shorts:active,
button.hm-header__theme-toggle:active,
button#hm-header-notif-btn:active,
button.hm-header__notif-btn:active,
.hm-header a.hm-header__downloads:active,
.hm-header a.hm-header__shorts:active,
.hm-header button.hm-header__theme-toggle:active,
.hm-header button.hm-header__notif-btn:active {
	transform: scale(0.94) !important;
	box-shadow: none !important;
	opacity: 0.85 !important;
}

a.hm-header__downloads:focus,
a.hm-header__shorts:focus,
button.hm-header__theme-toggle:focus,
button#hm-header-notif-btn:focus,
button.hm-header__notif-btn:focus,
.hm-header a.hm-header__downloads:focus,
.hm-header a.hm-header__shorts:focus,
.hm-header button.hm-header__theme-toggle:focus,
.hm-header button.hm-header__notif-btn:focus {
	outline: none !important;
	box-shadow: none !important;
}

a.hm-header__downloads:focus-visible,
a.hm-header__shorts:focus-visible,
button.hm-header__theme-toggle:focus-visible,
button#hm-header-notif-btn:focus-visible,
button.hm-header__notif-btn:focus-visible,
.hm-header a.hm-header__downloads:focus-visible,
.hm-header a.hm-header__shorts:focus-visible,
.hm-header button.hm-header__theme-toggle:focus-visible,
.hm-header button.hm-header__notif-btn:focus-visible {
	outline: 2px solid var(--hm-h-brand) !important;
	outline-offset: 3px !important;
	border-radius: 6px !important;
}

.hm-header__theme-icon {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	height: 100% !important;
	transition: opacity 0.22s ease !important;
	transform: none !important;
}

button.hm-header__theme-toggle:hover .hm-header__theme-icon,
.hm-header button.hm-header__theme-toggle:hover .hm-header__theme-icon {
	transform: none !important;
}

.hm-header__theme-svg,
.hm-header__action-svg,
button.hm-header__theme-toggle svg,
button#hm-header-notif-btn svg,
button.hm-header__notif-btn svg,
a.hm-header__downloads svg,
a.hm-header__shorts svg,
.hm-header button.hm-header__theme-toggle svg,
.hm-header button.hm-header__notif-btn svg,
.hm-header a.hm-header__downloads svg,
.hm-header a.hm-header__shorts svg {
	width: 22px !important;
	height: 22px !important;
	display: block !important;
	flex-shrink: 0 !important;
	pointer-events: none !important;
	color: inherit !important;
	stroke-width: 1.75 !important;
}

a.hm-header__shorts .hm-header__action-svg [fill="currentColor"],
.hm-header a.hm-header__shorts .hm-header__action-svg [fill="currentColor"] {
	fill: currentColor !important;
	stroke: none !important;
}

.hm-header__theme-icon--light {
	display: none !important;
}

.hm-header[data-hm-theme="light"] .hm-header__theme-icon--dark {
	display: none !important;
}

.hm-header[data-hm-theme="light"] .hm-header__theme-icon--light {
	display: flex !important;
}

button#hm-header-notif-btn .hm-header__notif-icon,
button.hm-header__notif-btn .hm-header__notif-icon,
.hm-header button.hm-header__notif-btn .hm-header__notif-icon {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 22px !important;
	height: 22px !important;
	min-width: 22px !important;
	min-height: 22px !important;
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: none !important;
}

.hm-header__notif-badge {
	top: 6px !important;
	left: 6px !important;
}

.hm-header__profile-menu {
	position: absolute;
	top: calc(100% + 12px);
	left: 0;
	width: min(300px, calc(100vw - 24px));
	padding: 0;
	background: var(--hm-h-profile-menu-bg);
	border: 1px solid var(--hm-h-profile-menu-border);
	border-radius: 12px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
	z-index: 120;
	overflow: hidden;
}

.hm-header__profile-menu::before {
	content: "";
	position: absolute;
	top: -6px;
	left: 24px;
	width: 12px;
	height: 12px;
	background: var(--hm-h-profile-menu-bg);
	border-top: 1px solid var(--hm-h-profile-menu-border);
	border-right: 1px solid var(--hm-h-profile-menu-border);
	transform: rotate(-45deg);
}

.hm-header__profile-menu[hidden] {
	display: none !important;
}

.hm-header__profile-menu-head {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	padding: 1rem 1rem 0.85rem;
}

.hm-header__profile-menu-meta {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	min-width: 0;
}

.hm-header__profile-menu-name {
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--hm-h-text);
	line-height: 1.3;
}

.hm-header__profile-menu-email {
	font-size: 0.78rem;
	color: var(--hm-h-profile-muted);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hm-header__profile-premium {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	margin-top: 0.25rem;
	padding: 0.2rem 0.55rem;
	border: 1px solid var(--hm-h-brand);
	border-radius: 999px;
	color: var(--hm-h-brand);
	font-size: 0.72rem;
	font-weight: 600;
	line-height: 1.2;
	width: fit-content;
}

.hm-header__profile-premium-icon {
	display: inline-flex;
	width: 16px;
	height: 10px;
}

.hm-header__profile-premium-icon svg {
	width: 100%;
	height: 100%;
	display: block;
}

.hm-header__profile-menu-divider {
	height: 1px;
	margin: 0;
	background: var(--hm-h-profile-divider);
	border: none;
}

.hm-header__profile-menu-body {
	padding: 0.35rem 0.5rem 0.5rem;
}

.hm-header__profile-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.65rem 0.75rem;
	border-radius: 8px;
	color: var(--hm-h-text) !important;
	text-decoration: none !important;
	font-size: 0.9rem;
	font-weight: 500;
	transition: background var(--hm-h-transition), color var(--hm-h-transition);
}

.hm-header__profile-link:hover {
	background: var(--hm-h-profile-link-hover);
}

.hm-header__profile-link-text {
	flex: 1;
	min-width: 0;
}

.hm-header__profile-link-icon {
	display: inline-flex;
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	opacity: 0.9;
}

.hm-header__profile-link-icon svg {
	width: 100%;
	height: 100%;
	display: block;
}

.hm-header__profile-link--logout {
	color: var(--hm-h-text) !important;
}

.hm-header__profile-link--logout .hm-header__profile-link-icon {
	color: var(--hm-h-brand);
}

/* === Nav row === */
.hm-header__nav {
	background: var(--hm-h-nav-bg);
	min-height: var(--hm-h-nav-h);
	max-height: 200px;
	overflow: hidden;
	border-radius: 0 0 12px 12px;
	transition: max-height var(--hm-h-transition), min-height var(--hm-h-transition), opacity var(--hm-h-transition), visibility var(--hm-h-transition);
}

body.hm-header-v2--compact .hm-header__nav {
	max-height: 0;
	min-height: 0;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	border-radius: 0;
}

.hm-header__nav-list {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.35rem;
	list-style: none;
	margin: 0;
	padding: 0.35rem 0;
	flex-wrap: wrap;
}

.hm-header__nav-list>li {
	margin: 0;
}

.hm-header__nav-list a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.45rem 0.9rem;
	border-radius: var(--hm-h-pill);
	color: var(--hm-h-nav-text) !important;
	text-decoration: none !important;
	font-size: clamp(0.82rem, 1.1vw, 1rem);
	white-space: nowrap;
	transition: background var(--hm-h-transition), color var(--hm-h-transition);
}

.hm-header__nav-list a:hover {
	background: var(--hm-h-nav-hover);
}

.hm-header__nav-list .current-menu-item>a,
.hm-header__nav-list .current-menu-ancestor>a {
	background: var(--hm-h-nav-active-bg);
	color: var(--hm-h-nav-active-text) !important;
}

/* === Mobile top promo === */
.hm-header__mobile-promo {
	display: none;
}

/* === Mobile bottom bar === */
.hm-header__mob-bar {
	display: none;
}

.hm-header__sheet {
	display: none;
}

/* === Compact: hide desktop-only extras === */
body.hm-header-v2--compact .hm-header__utility .hm-header__inner {
	column-gap: clamp(12px, 1.8vw, 24px);
}

body.hm-header-v2--compact .hm-header__downloads-text {
	display: none;
}

body.hm-header-v2--compact .hm-header__shorts-text {
	display: none;
}

body.hm-header-v2--compact .hm-header__search-wrap {
	width: min(100%, 440px);
}

body.hm-header-v2--compact .hm-header__search-input {
	padding-top: 0.55rem !important;
	padding-bottom: 0.55rem !important;
	font-size: 0.9rem !important;
}

body.hm-header-v2--compact .hm-header__actions {
	gap: clamp(4px, 0.8vw, 10px);
}

/* === Mobile === */
@media (max-width: 1023px) {
	body.hm-header-v2-active {
		padding-top: 48px;
		padding-bottom: calc(var(--hm-h-mob-bar-h) + 16px);
	}

	.hm-header__nav,
	.hm-header__search-wrap,
	.hm-header__play,
	.hm-header__account,
	.hm-header__utility .hm-header__promo {
		display: none !important;
	}

	.hm-header__downloads-text,
	.hm-header__shorts-text {
		display: none !important;
	}

	.hm-header__actions {
		display: flex !important;
		align-items: center !important;
		gap: 2px !important;
		flex-shrink: 0 !important;
	}

	.hm-header__utility {
		min-height: 48px;
		border-bottom: none;
	}

	.hm-header__utility .hm-header__inner {
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 8px;
		min-height: 48px;
		padding-inline: 10px;
	}

	/* LIVE נשאר עם טקסט גם במובייל */
	a.hm-header__live,
	button.hm-header__live,
	.hm-header a.hm-header__live,
	.hm-header button.hm-header__live {
		min-height: 30px !important;
		padding: 0.3rem 0.62rem !important;
		font-size: 0.72rem !important;
		gap: 0.32rem !important;
	}

	.hm-header__live-dot {
		width: 7px;
		height: 7px;
	}

	/* אייקון בלבד: הורדות / שורטס / תצוגה */
	a.hm-header__downloads,
	a.hm-header__shorts,
	.hm-header a.hm-header__downloads,
	.hm-header a.hm-header__shorts,
	button.hm-header__theme-toggle,
	.hm-header button.hm-header__theme-toggle {
		width: 34px !important;
		height: 34px !important;
		min-width: 34px !important;
		min-height: 34px !important;
		max-height: 34px !important;
		padding: 0 !important;
		gap: 0 !important;
		font-size: 0 !important;
	}

	.hm-header__theme-svg,
	.hm-header__action-svg,
	a.hm-header__downloads .hm-header__downloads-icon svg,
	a.hm-header__shorts .hm-header__shorts-icon svg,
	a.hm-header__shorts .hm-header__action-svg,
	button.hm-header__theme-toggle svg,
	.hm-header button.hm-header__theme-toggle svg {
		width: 20px !important;
		height: 20px !important;
	}

	a.hm-header__downloads .hm-header__downloads-icon,
	a.hm-header__shorts .hm-header__shorts-icon,
	a.hm-header__shorts .hm-shorts-entry__icon-wrap {
		width: 20px !important;
		height: 20px !important;
		min-width: 20px !important;
		min-height: 20px !important;
	}

	.hm-header__logo-img {
		height: 30px;
		max-width: 100px;
	}

	.hm-header__mobile-promo {
		display: block;
		padding: 0 12px 8px;
		background: var(--hm-h-utility-bg);
		text-align: center;
	}

	.hm-header__promo--mobile {
		width: 100%;
		max-width: 400px;
	}

	.hm-header__mob-bar {
		display: flex;
		position: fixed;
		bottom: 14px;
		left: 10px;
		right: 10px;
		height: 72px;
		align-items: center;
		justify-content: space-around;
		border-radius: 22px;
		z-index: 99995;
		background: #FFFFFF !important;
		backdrop-filter: blur(12px);
		-webkit-backdrop-filter: blur(12px);
		box-shadow: var(--hm-h-mob-bar-shadow);
		padding: 0 6px;
	}

	button.hm-header__mob-item {
		padding: 0%;
		background-color: transparent !important;
		color: var(--hm-h-mob-bar-text) !important;
	}

	.hm-header__mob-item {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 2px;
		flex: 1;
		min-width: 0;
		padding: 4px 2px;
		border: none;
		background: none;
		color: var(--hm-h-mob-bar-text);
		font-family: var(--hm-h-font) !important;
		font-size: 10px;
		text-decoration: none !important;
		cursor: pointer;
		transition: color var(--hm-h-transition);
	}

	.hm-header__mob-item.is-active,
	.hm-header__mob-item:hover {
		color: var(--hm-h-mob-bar-active);
	}

	/* Dark theme - the bar lives outside .hm-header, so vars don't cascade */
	html[data-hm-theme="dark"] .hm-header__mob-bar {
		background: rgba(18, 18, 31, 0.94) !important;
		box-shadow: 0 10px 32px rgba(0, 0, 0, 0.4);
	}

	html[data-hm-theme="dark"] .hm-header__mob-item,
	html[data-hm-theme="dark"] button.hm-header__mob-item {
		color: rgba(245, 245, 247, 0.55) !important;
	}

	html[data-hm-theme="dark"] .hm-header__mob-item.is-active,
	html[data-hm-theme="dark"] .hm-header__mob-item:hover {
		color: #f5f5f7 !important;
	}

	.hm-header__mob-icon {
		width: 22px;
		height: 22px;
		display: inline-flex;
	}

	.hm-header__mob-icon svg {
		width: 100%;
		height: 100%;
	}

	.hm-header__mob-play {
		position: relative;
		flex: 0 0 auto;
		width: 68px;
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.hm-header__mob-play .cmp-header-player-button {
		position: relative;
		top: -24px;
		margin: 0;
	}

	.hm-header__mob-play .cmp-header-player-btn {
		width: 64px !important;
		height: 64px !important;
		min-width: 64px !important;
		padding: 0 !important;
		border-radius: 50% !important;
		background: var(--hm-h-play-mob-bg) !important;
		box-shadow: var(--hm-h-play-mob-shadow) !important;
	}

	.hm-header__mob-play .cmp-header-player-btn__text {
		display: none !important;
	}

	.hm-header__mob-play .cmp-header-player-btn__icon-wrap {
		margin: 0;
		background: transparent !important;
	}

	.hm-header__mob-play .cmp-header-player-btn__icon {
		width: 26px !important;
		height: 26px !important;
	}

	.hm-header__mob-play-label {
		position: absolute;
		bottom: -2px;
		font-size: 10px;
		color: var(--hm-h-mob-bar-active);
		white-space: nowrap;
	}

	/* Sheet */
	.hm-header__sheet {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 100000;
		pointer-events: none;
	}

	.hm-header__sheet[aria-hidden="false"] {
		pointer-events: auto;
	}

	.hm-header__sheet[hidden] {
		display: none !important;
	}

	.hm-header__sheet-backdrop {
		position: absolute;
		inset: 0;
		background: rgba(0, 0, 0, 0.45);
		opacity: 0;
		transition: opacity var(--hm-h-transition);
	}

	.hm-header__sheet[aria-hidden="false"] .hm-header__sheet-backdrop {
		opacity: 1;
	}

	.hm-header__sheet-panel {
		position: absolute;
		right: 0;
		left: 0;
		bottom: 0;
		max-height: 75vh;
		background: #eeeeee !important;
		background-color: #eeeeee !important;
		color: var(--hm-h-text) !important;
		border-radius: 20px 20px 0 0 !important;
		/* transform: translateY(100%) !important; */
		/* transition: transform var(--hm-h-transition) !important; */
		overflow: auto !important;
		padding-bottom: env(safe-area-inset-bottom, 0) !important;
	}

	.hm-header__sheet[aria-hidden="false"] .hm-header__sheet-panel {
		transform: translateY(0);
	}

	.hm-header__sheet-head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 1rem 1.25rem;
		border-bottom: 1px solid var(--hm-h-border);
	}

	.hm-header__sheet-close {
		width: 36px;
		height: 36px;
		border: none;
		border-radius: 50%;
		background: #FFFFFF !important;
		padding: 0% !important;
		color: #000000 !important;
		font-size: 1.4rem;
		line-height: 1;
		cursor: pointer;
	}

	.hm-header__sheet-body {
		padding: 0.5rem 0 1.25rem;
	}

	.hm-header__sheet-nav {
		list-style: none;
		margin: 0;
		padding: 0;
	}

	.hm-header__sheet-link {
		display: block;
		padding: 0.85rem 1.25rem;
		color: var(--hm-h-text) !important;
		text-decoration: none !important;
		font-size: 1rem;
	}

	button.hm-header__sheet-link {
		appearance: none;
		-webkit-appearance: none;
		width: 100%;
		margin: 0;
		border: 0;
		background: transparent;
		font: inherit;
		text-align: inherit;
		cursor: pointer;
	}

	.hm-header__sheet-link--accent {
		color: var(--hm-h-brand) !important;
		font-weight: 600;
	}

	.hm-header__sheet-link--logout {
		color: #b42318 !important;
	}

	.hm-header__sheet-divider {
		border: none;
		border-top: 1px solid var(--hm-h-border);
		margin: 0.5rem 0;
	}

	/* Dark theme - sheet lives inside .hm-header but bg/close are hardcoded */
	html[data-hm-theme="dark"] .hm-header__sheet-panel {
		background: #16162E !important;
		background-color: #16162E !important;
		color: #f5f5f7 !important;
	}

	html[data-hm-theme="dark"] .hm-header__sheet-head {
		border-bottom-color: rgba(255, 255, 255, 0.1);
	}

	html[data-hm-theme="dark"] .hm-header__sheet-close {
		background: rgba(255, 255, 255, 0.1) !important;
		color: #f5f5f7 !important;
	}

	html[data-hm-theme="dark"] .hm-header__sheet-link {
		color: #f5f5f7 !important;
	}

	html[data-hm-theme="dark"] .hm-header__sheet-link:hover {
		background: rgba(255, 255, 255, 0.08);
	}

	html[data-hm-theme="dark"] .hm-header__sheet-divider {
		border-top-color: rgba(255, 255, 255, 0.1);
	}
}

@media (min-width: 1024px) {

	.hm-header__mob-bar,
	.hm-header__sheet,
	.hm-header__mobile-promo {
		display: none !important;
	}
}

/* === פולין גלובלי - דורס Elementor / Heebo / תבנית === */
html body.hm-header-v2-active,
html body.hm-header-v2-active :where(h1, h2, h3, h4, h5, h6,
	p, span, a, button, input, select, textarea, label,
	li, td, th, figcaption, blockquote, div, nav, section, article,
	header, footer, main, aside, form, table, caption,
	strong, em, small, sub, sup, mark, time, address,
	option, dialog, summary, details, legend, dt, dd, pre, code),
.elementor body.hm-header-v2-active,
.elementor body.hm-header-v2-active :where(h1, h2, h3, h4, h5, h6,
	p, span, a, button, input, select, textarea, label,
	li, td, th, figcaption, blockquote, div, nav, section, article,
	header, footer, main, aside, form, table, caption,
	strong, em, small, sub, sup, mark, time, address,
	option, dialog, summary, details, legend, dt, dd, pre, code) {
	font-family: "פולין", "Polin", sans-serif !important;
}

.hm-header__notif-menu,
.hm-header__notif-menu *,
.hm-header__profile-menu,
.hm-header__profile-menu * {
	font-family: "פולין", "Polin", sans-serif !important;
}