/* صفحة عرض السيارة في المزاد — مطابقة لتصميم مسيوم */

body.mseom-live-session,
body.mseom-auction-car {
	--mseom-header-h: 52px;
	--mseom-live-gap: 8px;
}

body.mseom-live-session .mseom-header__nav,
body.mseom-auction-car .mseom-header__nav {
	display: none !important;
}

body.mseom-live-session .mseom-header__top-inner,
body.mseom-auction-car .mseom-header__top-inner {
	padding-block: 6px;
	gap: 8px;
}

body.mseom-live-session .mseom-brand__mark,
body.mseom-auction-car .mseom-brand__mark {
	width: 34px;
	height: 34px;
	border-radius: 10px;
}

body.mseom-live-session .mseom-brand__text strong,
body.mseom-auction-car .mseom-brand__text strong {
	font-size: 16px;
}

body.mseom-live-session .mseom-brand__text small,
body.mseom-live-session .mseom-header__search-wrap,
body.mseom-live-session .mseom-search-toggle,
body.mseom-live-session .mseom-hide-mobile,
body.mseom-live-session .mseom-live-pill,
body.mseom-live-session .mseom-btn--wallet,
body.mseom-auction-car .mseom-brand__text small,
body.mseom-auction-car .mseom-header__search-wrap,
body.mseom-auction-car .mseom-search-toggle,
body.mseom-auction-car .mseom-hide-mobile,
body.mseom-auction-car .mseom-live-pill,
body.mseom-auction-car .mseom-btn--wallet {
	display: none !important;
}

body.mseom-live-session .mseom-btn,
body.mseom-auction-car .mseom-btn {
	min-height: 36px;
	padding: 0 12px;
	font-size: 13px;
}

body.mseom-live-session .mseom-nav-toggle,
body.mseom-auction-car .mseom-nav-toggle {
	width: 36px;
	height: 36px;
}

body.mseom-live-session .mseom-main,
body.mseom-auction-car .mseom-main {
	padding-top: 0;
}

body.mseom-live-session .mseom-footer,
body.mseom-auction-car .mseom-footer {
	padding-top: 12px;
}

body.mseom-live-session .mseom-footer__inner,
body.mseom-auction-car .mseom-footer__inner {
	padding-bottom: 8px;
}

body.mseom-live-session .mseom-footer__brand p,
body.mseom-auction-car .mseom-footer__brand p {
	display: none;
}

.mseom-container--live {
	width: min(100% - 16px, 1320px);
	margin-inline: auto;
}

.mseom-live-page {
	padding: 8px 0 20px;
	background: var(--mseom-bg);
}

.mseom-live-titlebar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
	background: #e8ece9;
	border-radius: var(--mseom-radius-sm);
	padding: 8px 12px;
	margin-bottom: var(--mseom-live-gap, 8px);
}

.mseom-live-titlebar__main {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	flex: 1;
}

.mseom-live-back {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--mseom-green-800);
	text-decoration: none;
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
	flex-shrink: 0;
}

.mseom-live-back:hover {
	color: var(--mseom-green-900);
}

.mseom-live-titlebar h1 {
	margin: 0;
	font-size: clamp(16px, 2.8vw, 20px);
	color: #374151;
	font-weight: 700;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mseom-live-adno {
	background: var(--mseom-accent);
	color: var(--mseom-green-900);
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	white-space: nowrap;
}

.mseom-live-main {
	display: grid;
	gap: var(--mseom-live-gap, 8px);
	margin-bottom: var(--mseom-live-gap, 8px);
}

.mseom-live-stage {
	display: grid;
	gap: var(--mseom-live-gap, 8px);
	align-content: start;
	min-width: 0;
}

/* البث / الوسائط */
.mseom-live-media__frame {
	position: relative;
	background: #0f172a;
	border-radius: var(--mseom-radius-sm);
	overflow: hidden;
	aspect-ratio: 16 / 9;
	box-shadow: var(--mseom-shadow);
	max-height: min(46vh, 500px);
}

.mseom-live-media__frame img,
.mseom-live-media__fallback {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mseom-live-media__player {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	background: #000;
}

.mseom-live-media__player video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mseom-live-media__frame.is-streaming .mseom-live-media__fallback {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.mseom-live-media__stream-status {
	position: absolute;
	inset-inline: 12px;
	bottom: 12px;
	z-index: 3;
	padding: 8px 12px;
	border-radius: 8px;
	background: rgba(15, 23, 42, 0.82);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.5;
	backdrop-filter: blur(4px);
}

.mseom-live-media__stream-status.is-warning {
	background: rgba(180, 83, 9, 0.9);
}

.mseom-live-media__placeholder {
	height: 100%;
	display: grid;
	place-content: center;
	justify-items: center;
	color: #fff;
	gap: 8px;
}

.mseom-live-media__top {
	position: absolute;
	top: 12px;
	inset-inline: 12px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	z-index: 2;
}

/* مؤشر البث المباشر — نقطة نابضة + توهج */
.mseom-live-indicator {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 14px;
	border-radius: 999px;
	background: linear-gradient(135deg, #b91c1c, #dc2626);
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	white-space: nowrap;
	box-shadow: 0 2px 10px rgba(185, 28, 28, 0.35);
	animation: mseom-live-glow 2.2s ease-in-out infinite;
}

.mseom-live-indicator--overlay {
	font-size: 12px;
	padding: 6px 12px;
	background: rgba(185, 28, 28, 0.92);
	backdrop-filter: blur(4px);
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.mseom-live-indicator__dot {
	position: relative;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #fff;
	flex-shrink: 0;
}

.mseom-live-indicator__dot::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: #fff;
	animation: mseom-live-pulse 1.4s ease-in-out infinite;
}

.mseom-live-indicator,
.mseom-live-indicator__text {
	color: #fff;
}

.mseom-live-indicator__text {
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
	letter-spacing: 0.01em;
}

@keyframes mseom-live-pulse {
	0%, 100% {
		opacity: 1;
		transform: scale(1);
	}
	50% {
		opacity: 0.35;
		transform: scale(0.72);
	}
}

@keyframes mseom-live-glow {
	0%, 100% {
		box-shadow: 0 2px 10px rgba(185, 28, 28, 0.35), 0 0 0 0 rgba(220, 38, 38, 0.45);
	}
	50% {
		box-shadow: 0 2px 14px rgba(185, 28, 28, 0.5), 0 0 0 7px rgba(220, 38, 38, 0);
	}
}

.mseom-live-media__fs {
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.45);
	color: #fff;
	cursor: pointer;
	font-size: 18px;
}

.mseom-live-media__controls {
	position: absolute;
	inset-inline: 12px;
	bottom: 12px;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
}

.mseom-live-media__frame.is-streaming.has-camera-picker .mseom-live-media__controls {
	bottom: 64px;
}

.mseom-live-media__frame.is-ended .mseom-live-media__controls,
.mseom-live-media__frame.is-ended .mseom-live-camera-picker,
.mseom-live-media__frame.is-ended .mseom-live-media__comment {
	display: none !important;
}

.mseom-live-ended-overlay {
	position: absolute;
	inset: 0;
	z-index: 4;
	display: grid;
	place-content: center;
	padding: 16px;
	background: rgba(17, 24, 39, 0.78);
	backdrop-filter: blur(4px);
}

.mseom-live-ended-overlay[hidden] {
	display: none !important;
}

.mseom-live-ended-overlay__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	max-width: 280px;
	padding: 18px 16px;
	border-radius: 16px;
	background: rgba(0, 0, 0, 0.55);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: #fff;
	text-align: center;
}

.mseom-live-ended-overlay__icon {
	font-size: 28px;
	line-height: 1;
}

.mseom-live-ended-overlay__title {
	font-size: 18px;
	font-weight: 800;
}

.mseom-live-ended-overlay__lead {
	margin: 0;
	font-size: 13px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.88);
}

.mseom-live-cta--ended {
	justify-content: center;
}

.mseom-live-cta-note--ended {
	color: #991b1b;
	font-weight: 700;
	text-align: center;
}

.mseom-live-camera-picker {
	position: absolute;
	inset-inline: 12px;
	bottom: 12px;
	z-index: 3;
	pointer-events: auto;
}

.mseom-live-camera-picker[hidden] {
	display: none !important;
}

.mseom-live-camera-picker__list {
	display: flex;
	align-items: stretch;
	gap: 8px;
	overflow-x: auto;
	padding-bottom: 2px;
	scrollbar-width: thin;
}

.mseom-live-camera-btn {
	flex: 0 0 auto;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	min-width: 72px;
	min-height: 52px;
	padding: 8px 10px;
	border: 2px solid rgba(255, 255, 255, 0.2);
	border-radius: 12px;
	background: rgba(0, 0, 0, 0.55);
	backdrop-filter: blur(6px);
	color: #fff;
	cursor: pointer;
	position: relative;
}

.mseom-live-camera-btn.is-active {
	border-color: #2d6b45;
	box-shadow: 0 0 0 1px rgba(45, 107, 69, 0.45);
	background: rgba(45, 107, 69, 0.28);
}

.mseom-live-camera-btn:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.mseom-live-camera-btn__icon {
	font-size: 18px;
	line-height: 1;
}

.mseom-live-camera-btn__label {
	font-size: 10px;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	white-space: nowrap;
}

.mseom-live-camera-btn__badge {
	position: absolute;
	top: 4px;
	inset-inline-end: 4px;
	padding: 1px 5px;
	border-radius: 999px;
	background: #2d6b45;
	color: #ecfdf3;
	font-size: 8px;
	font-weight: 800;
	line-height: 1.4;
}

/* Legacy thumbnail picker (kept for backward compatibility) */
.mseom-live-camera-thumb {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 4px;
	width: 92px;
	padding: 0;
	border: 2px solid rgba(255, 255, 255, 0.2);
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.55);
	backdrop-filter: blur(6px);
	color: #fff;
	cursor: pointer;
	overflow: hidden;
}

.mseom-live-camera-thumb.is-active {
	border-color: #2d6b45;
	box-shadow: 0 0 0 1px rgba(45, 107, 69, 0.45);
}

.mseom-live-camera-thumb:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.mseom-live-camera-thumb__preview {
	position: relative;
	display: block;
	width: 100%;
	height: 52px;
	background: #111827;
	overflow: hidden;
}

.mseom-live-camera-thumb__preview video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mseom-live-camera-thumb__preview--active {
	display: grid;
	place-content: center;
	color: #86efac;
	font-size: 18px;
	font-weight: 800;
}

.mseom-live-camera-thumb__label {
	padding: 0 6px 6px;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.mseom-live-media__control {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 36px;
	padding: 6px 12px;
	border: 0;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.62);
	backdrop-filter: blur(4px);
	color: #fff;
	cursor: pointer;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
}

.mseom-live-media__control.is-muted {
	background: rgba(185, 28, 28, 0.78);
}

.mseom-live-media__control:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.mseom-live-media__control-icon--unmuted {
	display: none;
}

.mseom-live-media__control:not(.is-muted) .mseom-live-media__control-icon--muted {
	display: none;
}

.mseom-live-media__control:not(.is-muted) .mseom-live-media__control-icon--unmuted {
	display: inline;
}

.mseom-live-media__control-label {
	white-space: nowrap;
}

.mseom-live-chat {
	position: absolute;
	inset-inline: 12px;
	bottom: 52px;
	pointer-events: none;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.28s ease, transform 0.28s ease;
}

.mseom-live-chat.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.mseom-live-chat__item {
	display: flex;
	align-items: center;
	gap: 8px;
	background: rgba(0, 0, 0, 0.62);
	backdrop-filter: blur(4px);
	border-radius: 12px;
	padding: 8px 12px;
	color: #fff;
	font-size: 12px;
	max-width: 88%;
}

.mseom-live-chat__avatar,
.mseom-live-bids__avatar {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--mseom-green-800);
	color: #fff;
	display: grid;
	place-items: center;
	font-size: 12px;
	font-weight: 700;
	flex-shrink: 0;
}

.mseom-live-chat__item strong,
.mseom-live-chat__item p {
	display: block;
	margin: 0;
	line-height: 1.3;
}

.mseom-live-media__comment {
	position: absolute;
	bottom: 12px;
	inset-inline-start: 12px;
	min-height: 38px;
	padding: 0 16px;
	border: 0;
	border-radius: 999px;
	background: var(--mseom-green-800);
	color: #fff;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	opacity: 0.65;
	cursor: not-allowed;
}

/* بطاقة معلومات المزاد */
.mseom-live-card {
	background: var(--mseom-surface);
	border: 1px solid var(--mseom-border);
	border-radius: var(--mseom-radius);
	padding: 0;
	box-shadow: var(--mseom-shadow);
	overflow: hidden;
}

.mseom-live-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 12px 14px 10px;
	background: linear-gradient(180deg, #f8faf9 0%, #fff 100%);
	border-bottom: 1px solid var(--mseom-border);
}

.mseom-live-card__head h2 {
	margin: 0;
	font-size: 16px;
	color: var(--mseom-green-900);
	font-weight: 800;
	letter-spacing: -0.01em;
}

.mseom-live-card__tools {
	display: flex;
	gap: 8px;
}

.mseom-live-icon-btn {
	width: 38px;
	height: 38px;
	border: 1px solid #d1d9d4;
	border-radius: 10px;
	background: #fff;
	cursor: pointer;
	font-size: 16px;
	color: #6b7280;
	transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.mseom-live-icon-btn:hover {
	border-color: var(--mseom-green-700);
	color: var(--mseom-green-800);
	background: #f0fdf4;
}

.mseom-live-icon-btn.is-active {
	border-color: #f59e0b;
	color: #b45309;
	background: #fffbeb;
}

.mseom-live-icon-btn:disabled {
	opacity: 0.45;
	cursor: default;
}

.mseom-live-icon-btn[hidden] {
	display: none;
}

.mseom-live-card > .mseom-live-details,
.mseom-live-card > .mseom-live-countdown-bar,
.mseom-live-card > .mseom-live-disclaimer,
.mseom-live-card > .mseom-live-warranty {
	margin-inline: 16px;
}

.mseom-live-details {
	margin-top: 12px;
	margin-bottom: 10px;
	border: 1px solid #e8eeea;
	border-radius: 12px;
	overflow: hidden;
	background: #fafbfa;
}

.mseom-live-details__label {
	display: block;
	color: #6b7280;
	margin-bottom: 5px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.mseom-live-details__value {
	color: #111827;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.35;
}

.mseom-live-details__session {
	padding: 14px 16px;
	background: #fff;
	border-bottom: 1px solid #e8eeea;
	border-inline-start: 4px solid var(--mseom-green-700);
}

.mseom-live-details__session .mseom-live-details__value {
	font-size: 15px;
}

.mseom-live-details__grade {
	padding: 14px 16px;
	background: #fff;
	border-bottom: 1px solid #e8eeea;
}

.mseom-live-details__grade-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 10px;
}

.mseom-live-details__grade-head .mseom-live-details__label {
	margin: 0;
}

.mseom-live-details__grade-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 28px;
	height: 28px;
	padding: 0 8px;
	border-radius: 8px;
	background: var(--mseom-green-800);
	color: #fff;
	font-size: 13px;
	font-weight: 800;
}

.mseom-live-details__grade-badge--a { background: #166534; }
.mseom-live-details__grade-badge--b { background: #65a30d; }
.mseom-live-details__grade-badge--c { background: #ca8a04; }
.mseom-live-details__grade-badge--d { background: #ea580c; }
.mseom-live-details__grade-badge--f { background: #dc2626; }

.mseom-live-details__grade-desc {
	margin: 10px 0 0;
	padding: 10px 12px;
	border-radius: 10px;
	background: #ecfdf5;
	color: #14532d;
	font-size: 0.82rem;
	line-height: 1.45;
	font-weight: 600;
}

.mseom-grade-scale {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 6px;
}

.mseom-grade-scale__item {
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 800;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.mseom-grade-scale__item.is-active {
	transform: scale(1.06);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
	z-index: 1;
}

.mseom-grade-scale__item--a {
	background: #bbf7d0;
	color: #166534;
}
.mseom-grade-scale__item--a.is-active {
	background: #166534;
	color: #fff;
}

.mseom-grade-scale__item--b {
	background: #d9f99d;
	color: #3f6212;
}
.mseom-grade-scale__item--b.is-active {
	background: #65a30d;
	color: #fff;
}

.mseom-grade-scale__item--c {
	background: #fef08a;
	color: #854d0e;
}
.mseom-grade-scale__item--c.is-active {
	background: #ca8a04;
	color: #fff;
}

.mseom-grade-scale__item--d {
	background: #fed7aa;
	color: #9a3412;
}
.mseom-grade-scale__item--d.is-active {
	background: #ea580c;
	color: #fff;
}

.mseom-grade-scale__item--f {
	background: #fecaca;
	color: #991b1b;
}
.mseom-grade-scale__item--f.is-active {
	background: #dc2626;
	color: #fff;
}

.mseom-live-details__schedule {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	background: #fff;
}

.mseom-live-details__cell {
	padding: 12px 14px;
	text-align: center;
	border-inline-start: 1px solid #e8eeea;
}

.mseom-live-details__cell:first-child {
	border-inline-start: 0;
}

.mseom-live-details__cell--status {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
}

.mseom-live-details__cell--status .mseom-live-indicator {
	margin-top: 2px;
}

.mseom-live-indicator--card {
	font-size: 12px;
	padding: 6px 12px;
}

.mseom-live-indicator--card .mseom-live-indicator__text {
	color: #fff;
}

.mseom-live-countdown-bar {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
	background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
	border: 1px solid #bbf7d0;
	border-radius: 12px;
	padding: 12px 14px;
	margin-bottom: 14px;
}

.mseom-live-countdown-bar__label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #14532d;
	font-weight: 700;
	font-size: 0.92rem;
}

.mseom-live-countdown-bar__icon {
	font-size: 15px;
	line-height: 1;
}

.mseom-live-countdown-bar__parts {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
}

.mseom-live-countdown-bar__part {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	min-width: 0;
	padding: 8px 6px;
	border-radius: 10px;
	background: #fff;
	border: 1px solid #d1fae5;
	text-align: center;
}

.mseom-live-countdown-bar__value {
	display: block;
	color: #14532d;
	font-size: 1.25rem;
	line-height: 1.1;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}

.mseom-live-countdown-bar__part > span {
	color: #166534;
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.2;
}

.mseom-live-pricing {
	background: var(--mseom-surface);
	border: 1px solid #e8eeea;
	border-radius: var(--mseom-radius-sm);
	padding: 10px 12px;
	box-shadow: var(--mseom-shadow);
}

.mseom-live-stage .mseom-live-pricing {
	margin-bottom: 0;
}

.mseom-live-stage .mseom-live-cta {
	margin-bottom: 0;
	padding-bottom: 0;
	min-height: 108px;
}

.mseom-live-bid-zone {
	display: grid;
	gap: var(--mseom-live-gap, 8px);
	background: var(--mseom-bg);
}

.mseom-live-winner[hidden] {
	display: none !important;
}

.mseom-live-winner {
	display: flex;
	align-items: center;
	gap: 14px;
	background: linear-gradient(135deg, #ecfdf3 0%, #f0fdf4 55%, #fff 100%);
	border: 1px solid #86efac;
	border-radius: var(--mseom-radius-sm);
	padding: 16px 18px;
	box-shadow: var(--mseom-shadow);
	text-align: start;
}

.mseom-live-winner__icon {
	font-size: 34px;
	line-height: 1;
	flex-shrink: 0;
}

.mseom-live-winner__body {
	display: grid;
	gap: 6px;
	min-width: 0;
}

.mseom-live-winner__badge {
	margin: 0;
	display: inline-flex;
	align-self: start;
	padding: 3px 10px;
	border-radius: 999px;
	background: #166534;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
}

.mseom-live-winner__title {
	margin: 0;
	font-size: 20px;
	font-weight: 800;
	color: #14532d;
	line-height: 1.35;
}

.mseom-live-winner__lead {
	margin: 0;
	color: #166534;
	font-size: 14px;
	line-height: 1.5;
}

.mseom-live-winner__cta {
	justify-self: start;
	margin-top: 4px;
}

.mseom-live-win-note[hidden] {
	display: none !important;
}

.mseom-live-win-note {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 8px 12px;
	border-radius: var(--mseom-radius-sm, 8px);
	border: 1px solid #bbf7d0;
	background: #f0fdf4;
	color: #166534;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}

.mseom-live-win-note__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #16a34a;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	flex-shrink: 0;
}

.mseom-live-win-note__text {
	flex: 1;
	min-width: 0;
}

.mseom-live-win-note__link {
	flex-shrink: 0;
	color: #14532d;
	text-decoration: underline;
	text-underline-offset: 2px;
	font-weight: 700;
	font-size: 12px;
}

.mseom-live-win-note__link:hover,
.mseom-live-win-note__link:focus-visible {
	color: #052e16;
}

.mseom-live-bids-panel--stage {
	background: var(--mseom-surface);
	border: 1px solid var(--mseom-border);
	border-radius: var(--mseom-radius-sm);
	padding: 10px 12px;
	box-shadow: var(--mseom-shadow);
	display: flex;
	flex-direction: column;
	min-height: 160px;
}

.mseom-live-bids-panel--stage h3 {
	margin: 0 0 8px;
	font-size: 14px;
}

.mseom-live-bids-panel--stage .mseom-live-bids__list {
	max-height: 200px;
	flex: none;
	min-height: 0;
	overflow: auto;
}

.mseom-live-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	margin-bottom: 10px;
}

.mseom-live-stat {
	padding: 8px 6px;
	text-align: center;
	font-size: 12px;
	border-inline-start: 1px solid #e5ebe7;
}

.mseom-live-stat:first-child {
	border-inline-start: 0;
}

.mseom-live-stat__label {
	display: block;
	color: #6b7280;
	margin-bottom: 6px;
	font-size: 11px;
	font-weight: 700;
}

.mseom-live-stat__value {
	display: block;
	font-size: clamp(17px, 4vw, 22px);
	color: #111827;
	line-height: 1.1;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}

.mseom-live-stat--accent .mseom-live-stat__value {
	color: #15803d;
}

.mseom-live-stat small {
	color: #6b7280;
	font-size: 11px;
	font-weight: 600;
}

.mseom-live-progress {
	height: 6px;
	background: #e5e7eb;
	border-radius: 999px;
	overflow: hidden;
	margin-bottom: 0;
}

.mseom-live-progress__bar {
	height: 100%;
	background: linear-gradient(90deg, #9ca3af, #d1d5db);
	transition: width 0.25s ease, background 0.25s ease;
}

.mseom-live-progress__bar.is-leading {
	background: linear-gradient(90deg, var(--mseom-green-800), var(--mseom-accent));
}

.mseom-live-progress__bar.is-outbid {
	background: linear-gradient(90deg, #b91c1c, #ef4444);
}

.mseom-live-cta {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-bottom: 12px;
	padding-bottom: 4px;
}

.mseom-live-cta .mseom-btn {
	width: 100%;
	min-height: 48px;
	font-size: 15px;
}

.mseom-live-cta .mseom-btn:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.mseom-live-cta-note {
	grid-column: 1 / -1;
	margin: 0;
	font-size: 12px;
	color: var(--mseom-muted);
	text-align: center;
}

.mseom-live-cta-alert {
	grid-column: 1 / -1;
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	padding: 12px 14px;
	border-radius: 12px;
	background: #fffbeb;
	border: 1px solid #f59e0b;
	box-shadow: inset 3px 0 0 #f59e0b;
	text-align: start;
}

.mseom-live-cta-alert__icon {
	flex: 0 0 auto;
	display: inline-grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 999px;
	background: #f59e0b;
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
}

.mseom-live-cta-alert__body {
	display: grid;
	gap: 3px;
	min-width: 0;
}

.mseom-live-cta-alert__title {
	font-size: 12px;
	font-weight: 800;
	color: #92400e;
}

.mseom-live-cta-alert__text {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	color: #78350f;
	line-height: 1.55;
}

.mseom-live-cta-tip {
	grid-column: 1 / -1;
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	padding: 12px 14px;
	border-radius: 12px;
	background: #eff6ff;
	border: 1px solid #93c5fd;
	box-shadow: inset 3px 0 0 #3b82f6;
	text-align: start;
}

.mseom-live-cta-tip__icon {
	flex: 0 0 auto;
	display: inline-grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 999px;
	background: #3b82f6;
	color: #fff;
	font-size: 10px;
	font-weight: 800;
	line-height: 1;
}

.mseom-live-cta-tip__body {
	display: grid;
	gap: 3px;
	min-width: 0;
}

.mseom-live-cta-tip__title {
	font-size: 12px;
	font-weight: 800;
	color: #1e3a8a;
}

.mseom-live-cta-tip__text {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	color: #1e3a5f;
	line-height: 1.55;
}

.mseom-live-cta--bidding {
	display: block;
}

.mseom-live-bid-wrap {
	display: grid;
	gap: 10px;
}

.mseom-live-bid-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 10px 14px;
}

.mseom-live-bid-wrap.is-auto-active .mseom-live-bid-actions {
	justify-content: flex-start;
}

.mseom-live-bid-stepper {
	display: grid;
	grid-template-columns: 56px 1fr 56px;
	align-items: stretch;
	border: 1px solid #d1d5db;
	border-radius: 999px;
	background: #fff;
	overflow: hidden;
	min-height: 52px;
}

.mseom-live-bid-stepper[hidden] {
	display: none !important;
}

.mseom-live-bid-stepper__btn {
	border: 0;
	background: #fff;
	font-size: 22px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	display: grid;
	place-items: center;
	padding: 0;
	transition: background 0.15s ease;
}

.mseom-live-bid-stepper__btn--minus {
	color: #4b5563;
	border-inline-end: 1px solid #e5e7eb;
}

.mseom-live-bid-stepper__btn--plus {
	color: var(--mseom-accent-dark);
	border-inline-start: 1px solid #e5e7eb;
}

.mseom-live-bid-stepper__btn:hover:not(:disabled) {
	background: #f9fafb;
}

.mseom-live-bid-stepper__btn:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.mseom-live-bid-stepper__value {
	display: grid;
	place-items: center;
	font-size: clamp(18px, 4vw, 22px);
	font-weight: 800;
	color: var(--mseom-green-900);
	font-variant-numeric: tabular-nums;
	padding: 0 8px;
}

.mseom-live-bid-submit {
	min-width: min(100%, 180px);
	min-height: 46px;
	padding: 0 28px;
	border: 0;
	border-radius: 999px;
	background: var(--mseom-accent);
	color: var(--mseom-green-900);
	font: inherit;
	font-size: 15px;
	font-weight: 800;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(163, 230, 53, 0.35);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.mseom-live-bid-submit[hidden] {
	display: none !important;
}

.mseom-live-bid-submit:hover:not(:disabled) {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(163, 230, 53, 0.45);
}

.mseom-live-bid-submit:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.mseom-live-auto {
	display: grid;
	gap: 10px;
}

.mseom-live-auto__head {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	order: -1;
}

.mseom-live-bid-actions .mseom-live-bid-submit {
	order: 0;
}

.mseom-live-auto__label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 700;
	color: var(--mseom-green-900, #14532d);
	white-space: nowrap;
}

.mseom-live-auto__info {
	width: 18px;
	height: 18px;
	border-radius: 999px;
	border: 0;
	background: #ef4444;
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
	cursor: pointer;
	padding: 0;
	display: grid;
	place-items: center;
	flex-shrink: 0;
}

.mseom-live-auto__toggle {
	position: relative;
	width: 48px;
	height: 28px;
	border-radius: 999px;
	border: 0;
	background: #d1d5db;
	cursor: pointer;
	padding: 0;
	transition: background 0.15s ease;
	flex-shrink: 0;
}

.mseom-live-auto__toggle.is-on {
	background: var(--mseom-accent, #a3e635);
}

.mseom-live-auto__knob {
	position: absolute;
	top: 3px;
	inset-inline-start: 3px;
	width: 22px;
	height: 22px;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
	transition: inset-inline-start 0.15s ease;
}

.mseom-live-auto__toggle.is-on .mseom-live-auto__knob {
	inset-inline-start: calc(100% - 25px);
}

.mseom-live-auto__body {
	display: grid;
	gap: 10px;
}

.mseom-live-auto__body[hidden] {
	display: none !important;
}

.mseom-live-auto__max-row {
	display: grid;
	gap: 6px;
}

.mseom-live-auto__max-label {
	font-size: 13px;
	font-weight: 600;
	color: #4b5563;
}

.mseom-live-auto__save {
	justify-self: stretch;
	min-height: 42px;
	border: 1px solid var(--mseom-accent-dark, #65a30d);
	border-radius: 999px;
	background: #fff;
	color: var(--mseom-green-900, #14532d);
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}

.mseom-live-auto__save:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.mseom-live-auto__status {
	margin: 0;
	font-size: 12px;
	color: var(--mseom-muted, #6b7280);
	text-align: center;
}

.mseom-live-auto__status--exceeded {
	color: #b45309;
	font-weight: 600;
}

.mseom-live-disclaimer {
	margin: 0 16px 10px;
	font-size: 11px;
	color: #6b7280;
	line-height: 1.5;
	text-align: center;
}

.mseom-live-warranty {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	margin-bottom: 16px;
	border-radius: 14px;
	overflow: hidden;
	isolation: isolate;
}

.mseom-live-warranty::before {
	content: '';
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 0;
}

.mseom-live-warranty__icon,
.mseom-live-warranty__body {
	position: relative;
	z-index: 1;
}

.mseom-live-warranty__icon {
	flex-shrink: 0;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	display: grid;
	place-items: center;
}

.mseom-live-warranty__svg {
	display: block;
}

.mseom-live-warranty__svg--info {
	display: none;
}

.mseom-live-warranty__body {
	min-width: 0;
	flex: 1;
}

.mseom-live-warranty__badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 800;
	line-height: 1.2;
	margin-bottom: 6px;
}

.mseom-live-warranty__text {
	margin: 0;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.5;
}

.mseom-live-warranty--protected {
	background: linear-gradient(135deg, #064e3b 0%, #047857 52%, #059669 100%);
	border: 1px solid #34d399;
	box-shadow: 0 10px 28px rgba(5, 150, 105, 0.24);
}

.mseom-live-warranty--protected::before {
	background:
		radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.18), transparent 58%),
		radial-gradient(circle at 0% 100%, rgba(16, 185, 129, 0.22), transparent 52%);
}

.mseom-live-warranty--protected .mseom-live-warranty__icon {
	background: rgba(255, 255, 255, 0.16);
	border: 2px solid rgba(255, 255, 255, 0.34);
	color: #fff;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.mseom-live-warranty--protected .mseom-live-warranty__badge {
	background: rgba(255, 255, 255, 0.18);
	color: #ecfdf5;
	border: 1px solid rgba(255, 255, 255, 0.22);
}

.mseom-live-warranty--protected .mseom-live-warranty__text {
	color: #fff;
}

.mseom-live-warranty--as-is {
	background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
	border: 1px solid #fcd34d;
	box-shadow: 0 6px 18px rgba(245, 158, 11, 0.12);
}

.mseom-live-warranty--as-is::before {
	background: radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.65), transparent 55%);
}

.mseom-live-warranty--as-is .mseom-live-warranty__icon {
	background: #fff;
	border: 2px solid #fde68a;
	color: #b45309;
}

.mseom-live-warranty--as-is .mseom-live-warranty__svg--shield {
	display: none;
}

.mseom-live-warranty--as-is .mseom-live-warranty__svg--info {
	display: block;
}

.mseom-live-warranty--as-is .mseom-live-warranty__badge {
	background: #fef3c7;
	color: #92400e;
	border: 1px solid #fde68a;
}

.mseom-live-warranty--as-is .mseom-live-warranty__text {
	color: #78350f;
}

/* القسم السفلي */
.mseom-live-bottom {
	display: grid;
	gap: 14px;
}

.mseom-live-bottom--next-only {
	grid-template-columns: 1fr;
}

.mseom-live-next,
.mseom-live-bids-panel {
	background: var(--mseom-surface);
	border: 1px solid var(--mseom-border);
	border-radius: var(--mseom-radius);
	padding: 14px 16px;
	box-shadow: var(--mseom-shadow);
}

.mseom-live-next h3,
.mseom-live-bids-panel h3 {
	margin: 0 0 12px;
	font-size: 15px;
	color: var(--mseom-green-900);
}

.mseom-live-next__card {
	display: flex;
	align-items: center;
	gap: 12px;
}

.mseom-live-next__card img {
	width: 72px;
	height: 54px;
	object-fit: cover;
	border-radius: 8px;
	flex-shrink: 0;
}

.mseom-live-next__card strong {
	display: block;
	font-size: 14px;
	margin-bottom: 2px;
}

.mseom-live-next__card p {
	margin: 0;
	font-size: 12px;
	color: var(--mseom-muted);
}

.mseom-live-bids__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 8px;
	max-height: 280px;
	overflow: auto;
}

.mseom-live-bids__list li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 12px;
	background: var(--mseom-bg);
	border-radius: 10px;
}

.mseom-live-bids__list li.is-dealer {
	background: #e8f4fc;
	border-inline-start: 3px solid #7ec8e8;
}

.mseom-live-bids__list li.is-own {
	background: #eef6e4;
	border-inline-start: 3px solid var(--mseom-accent);
}

.mseom-live-bids__who {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.mseom-live-bids__who strong {
	display: block;
	font-size: 14px;
}

.mseom-live-bids__who small {
	color: var(--mseom-muted);
	font-size: 11px;
}

.mseom-live-bids__amount {
	font-weight: 700;
	color: var(--mseom-green-800);
	font-size: 14px;
	white-space: nowrap;
}

.mseom-live-bids__empty {
	justify-content: center;
	color: var(--mseom-muted);
	font-size: 13px;
}

.mseom-live-toast {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	max-width: 420px;
	margin: 0 auto;
	padding: 12px 16px;
	background: var(--mseom-green-900);
	color: #fff;
	border-radius: 12px;
	box-shadow: var(--mseom-shadow);
	z-index: 200;
	font-size: 14px;
}

.mseom-live-toast.is-error {
	background: #991b1b;
}

.mseom-live-status-pill {
	display: inline-flex;
	padding: 6px 12px;
	border-radius: 999px;
	background: #e5e7eb;
	font-size: 13px;
	font-weight: 700;
	color: #374151;
}

/* تفاصيل السيارة — مواصفات، صور، تقارير، مميزات */
.mseom-car-details {
	margin: 8px 0;
	display: grid;
	gap: 8px;
}

.mseom-car-details__panel,
.mseom-car-details__actions,
.mseom-car-features-wrap {
	background: var(--mseom-surface);
	border: 1px solid var(--mseom-border);
	border-radius: var(--mseom-radius);
	box-shadow: var(--mseom-shadow);
}

.mseom-car-details__panel {
	overflow: hidden;
}

.mseom-car-details__tabs {
	display: flex;
	justify-content: flex-end;
	gap: 6px;
	padding: 12px 16px 0;
	background: #fafbfa;
	border-bottom: 1px solid #eef2ef;
}

.mseom-car-details__tab {
	border: 0;
	border-radius: 999px;
	padding: 6px 14px;
	font: inherit;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
	background: #eef2ef;
	color: #374151;
	transition: background 0.15s ease, color 0.15s ease;
}

.mseom-car-details__tab.is-active {
	background: var(--mseom-accent);
	color: var(--mseom-green-900);
}

.mseom-car-details__tab:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.mseom-car-details__tabpanel {
	padding: 14px 16px 16px;
}

.mseom-car-details__tabpanel[hidden] {
	display: none;
}

.mseom-car-specs {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.mseom-car-specs__highlights {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
}

.mseom-car-spec--highlight {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	padding: 10px 12px;
	border-radius: 10px;
	background: linear-gradient(180deg, #ffffff 0%, #f8faf9 100%);
	border: 1px solid #dbe8df;
	border-inline-start: 4px solid var(--mseom-green-700);
}

.mseom-car-spec--highlight .mseom-car-spec__icon {
	width: 30px;
	height: 30px;
	border-radius: 8px;
	font-size: 14px;
	background: #ecfdf5;
}

.mseom-car-spec--highlight .mseom-car-spec__label {
	font-size: 11px;
	margin-bottom: 2px;
	line-height: 1.3;
}

.mseom-car-spec--highlight .mseom-car-spec__value {
	font-size: 15px;
	font-weight: 800;
	color: var(--mseom-green-900);
	line-height: 1.35;
}

.mseom-car-specs__group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.mseom-car-specs__group-title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0 2px 6px;
	border-bottom: 1px solid #dbe8df;
	font-size: 14px;
	font-weight: 800;
	color: var(--mseom-green-900);
}

.mseom-car-specs__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin: 0;
}

.mseom-car-specs__grid .mseom-car-spec {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 6px;
	min-width: 0;
	margin: 0;
	padding: 10px 12px;
	border-radius: 10px;
	background: #fff;
	border: 1px solid #e2e8e4;
	box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
	transition: border-color 0.15s ease, background 0.15s ease;
}

.mseom-car-specs__grid .mseom-car-spec:hover {
	border-color: #bbf7d0;
	background: #fbfefc;
}

.mseom-car-spec {
	min-width: 0;
}

.mseom-car-spec__body {
	min-width: 0;
}

.mseom-car-specs__grid .mseom-car-spec__label {
	display: flex;
	align-items: center;
	gap: 7px;
	margin: 0;
	color: #64748b;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.35;
}

.mseom-car-specs__grid .mseom-car-spec__value {
	margin: 0;
	color: #0f172a;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.45;
	word-break: break-word;
	text-align: start;
	min-width: 0;
}

.mseom-car-spec__icon {
	width: 20px;
	height: 20px;
	border-radius: 5px;
	background: #ecfdf5;
	color: var(--mseom-green-800);
	display: grid;
	place-items: center;
	font-size: 11px;
	flex-shrink: 0;
}

.mseom-car-spec__icon--brand::before { content: "🏷"; }
.mseom-car-spec__icon--model::before { content: "🚗"; }
.mseom-car-spec__icon--trim::before { content: "✦"; }
.mseom-car-spec__icon--year::before { content: "📅"; }
.mseom-car-spec__icon--import::before { content: "🌍"; }
.mseom-car-spec__icon--color::before { content: "🎨"; }
.mseom-car-spec__icon--specs::before { content: "⚙"; }
.mseom-car-spec__icon--fuel::before { content: "⛽"; }
.mseom-car-spec__icon--gear::before { content: "⚡"; }
.mseom-car-spec__icon--drive::before { content: "🛞"; }
.mseom-car-spec__icon--engine::before { content: "🔧"; }
.mseom-car-spec__icon--engine-size::before { content: "📐"; }
.mseom-car-spec__icon--condition::before { content: "✓"; }
.mseom-car-spec__icon--mileage::before { content: "🛣"; }
.mseom-car-spec__icon--region::before { content: "📍"; }

.mseom-car-spec__label {
	display: block;
	color: #64748b;
	font-size: 11px;
	font-weight: 700;
	margin-bottom: 0;
}

.mseom-car-spec__value {
	display: block;
	color: #0f172a;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.3;
}

.mseom-car-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 12px;
}

.mseom-car-gallery__item {
	margin: 0;
	border-radius: 10px;
	overflow: hidden;
	background: var(--mseom-bg);
	border: 1px solid var(--mseom-border);
	cursor: pointer;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.mseom-car-gallery__item:hover,
.mseom-car-gallery__item:focus-visible {
	border-color: var(--mseom-accent);
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
	transform: translateY(-1px);
	outline: none;
}

.mseom-car-gallery__item img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: block;
}

.mseom-car-gallery__item figcaption {
	padding: 8px 10px;
	font-size: 12px;
	font-weight: 600;
	color: #4b5563;
}

.mseom-car-details__actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	padding: 14px 16px;
}

.mseom-car-details__reports {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.mseom-car-report-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 18px;
	border-radius: 999px;
	font: inherit;
	font-size: 13px;
	font-weight: 800;
	text-decoration: none;
	border: 0;
	cursor: pointer;
	white-space: nowrap;
}

.mseom-car-report-btn--primary {
	background: var(--mseom-green-800);
	color: #fff;
}

.mseom-car-report-btn--accent {
	background: var(--mseom-accent);
	color: var(--mseom-green-900);
}

.mseom-car-report-btn.is-disabled,
.mseom-car-report-btn:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.mseom-car-dealer {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-inline-start: auto;
}

.mseom-car-dealer__info {
	text-align: end;
}

.mseom-car-dealer__info strong {
	display: block;
	font-size: 14px;
	color: #111827;
	margin-bottom: 2px;
}

.mseom-car-dealer__info span {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	color: #6b7280;
	font-weight: 600;
}

.mseom-car-dealer__logo {
	width: 56px;
	height: 56px;
	border-radius: 10px;
	border: 1px solid var(--mseom-border);
	background: #fff;
	overflow: hidden;
	display: grid;
	place-items: center;
	flex-shrink: 0;
}

.mseom-car-dealer__logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.mseom-car-dealer__logo--placeholder {
	background: #f3f4f6;
	color: var(--mseom-green-800);
	font-size: 22px;
	font-weight: 800;
}

.mseom-car-features-wrap {
	padding: 16px;
}

.mseom-car-features-wrap__title {
	margin: 0 0 12px;
	font-size: 18px;
	color: var(--mseom-green-900);
	font-weight: 800;
}

.mseom-car-features {
	display: grid;
	gap: 8px;
}

.mseom-car-features__group {
	border: 1px solid #e8eeea;
	border-radius: 10px;
	background: #f8faf9;
	overflow: hidden;
}

.mseom-car-features__summary {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	cursor: pointer;
	font-weight: 700;
	color: #111827;
	list-style: none;
}

.mseom-car-features__summary::-webkit-details-marker {
	display: none;
}

.mseom-car-features__toggle {
	width: 22px;
	height: 22px;
	border-radius: 6px;
	background: #fee2e2;
	color: #b91c1c;
	display: grid;
	place-items: center;
	font-size: 16px;
	font-weight: 800;
	line-height: 1;
	transition: transform 0.2s ease;
}

.mseom-car-features__group[open] .mseom-car-features__toggle {
	transform: rotate(45deg);
}

.mseom-car-features__count {
	margin-inline-start: auto;
	font-size: 12px;
	color: #6b7280;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 999px;
	padding: 2px 8px;
}

.mseom-car-features__list {
	list-style: none;
	margin: 0;
	padding: 0 14px 12px;
	display: grid;
	gap: 8px;
}

.mseom-car-features__item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	background: #fff;
	border-radius: 8px;
	font-size: 13px;
	color: #1f2937;
}

.mseom-car-features__item--defect {
	border-inline-start: 3px solid #dc2626;
}

.mseom-car-features__item img {
	width: 48px;
	height: 48px;
	object-fit: cover;
	border-radius: 8px;
	flex-shrink: 0;
}

.mseom-car-details__empty {
	margin: 0;
	padding: 20px 0;
	text-align: center;
	color: #6b7280;
	font-size: 13px;
}

@media (min-width: 700px) and (max-width: 959px) {
	.mseom-car-specs__highlights,
	.mseom-car-specs__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* تابلت */
@media (min-width: 700px) {
	.mseom-live-bottom--next-only .mseom-live-next {
		max-width: 480px;
	}
}

/* تابلت — عمودان: المسرح + بطاقة المعلومات */
@media (min-width: 640px) and (max-width: 959px) {
	.mseom-live-main {
		grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
		align-items: start;
	}

	.mseom-live-card {
		position: sticky;
		top: calc(var(--mseom-header-h) + 8px);
	}

	.mseom-live-media__frame {
		max-height: min(42vh, 360px);
	}

	.mseom-live-stage .mseom-live-cta {
		min-height: 0;
	}

	.mseom-live-bids-panel--stage .mseom-live-bids__list {
		max-height: 180px;
	}
}

/* ديسكتوب */
@media (min-width: 960px) {
	.mseom-live-main {
		grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
		align-items: start;
	}

	.mseom-live-card {
		position: sticky;
		top: calc(var(--mseom-header-h) + 8px);
	}

	.mseom-live-bid-zone {
		position: sticky;
		bottom: 8px;
		z-index: 4;
	}

	body.mseom-live-session .mseom-header__top-inner,
	body.mseom-auction-car .mseom-header__top-inner {
		grid-template-columns: auto 1fr auto;
	}
}

/* جوال — ترتيب المحتوى: بث → مزايدة → معلومات → سجل المزايدات */
@media (max-width: 639px) {
	.mseom-container--live {
		width: 100%;
		max-width: none;
		padding-inline: 12px;
	}

	.mseom-live-page {
		padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
		overflow-x: clip;
	}

	.mseom-live-main {
		display: flex;
		flex-direction: column;
		gap: var(--mseom-live-gap, 8px);
	}

	.mseom-live-stage {
		display: contents;
	}

	.mseom-live-media {
		order: 1;
	}

	.mseom-live-bid-zone {
		order: 2;
		position: sticky;
		bottom: 0;
		z-index: 20;
		margin-inline: 0;
		padding: 10px 0 calc(10px + env(safe-area-inset-bottom, 0px));
		background: linear-gradient(to top, var(--mseom-bg) 86%, rgba(245, 247, 246, 0));
		border-radius: var(--mseom-radius-sm) var(--mseom-radius-sm) 0 0;
		box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
	}

	.mseom-live-card {
		order: 3;
	}

	.mseom-live-bids-panel--stage {
		order: 4;
		min-height: 0;
	}

	.mseom-live-titlebar {
		padding: 8px 10px;
		gap: 8px;
	}

	.mseom-live-titlebar h1 {
		white-space: normal;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
		font-size: 15px;
		line-height: 1.35;
	}

	.mseom-live-media__frame {
		width: calc(100% + 24px);
		max-width: none;
		margin-inline: -12px;
		max-height: none;
		aspect-ratio: 16 / 9;
		border-radius: 0;
		box-shadow: none;
	}

	.mseom-live-media__player,
	.mseom-live-media__player video {
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center;
	}

	.mseom-live-media__top {
		top: 8px;
		inset-inline: 8px;
	}

	.mseom-live-indicator--overlay {
		font-size: 11px;
		padding: 5px 10px;
	}

	.mseom-live-media__fs {
		width: 36px;
		height: 36px;
		font-size: 16px;
	}

	.mseom-live-stage .mseom-live-cta {
		min-height: 0;
	}

	.mseom-live-bid-stepper {
		grid-template-columns: 48px 1fr 48px;
		min-height: 48px;
	}

	.mseom-live-bid-actions {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		gap: 8px 10px;
	}

	.mseom-live-bid-actions .mseom-live-bid-submit {
		width: auto;
		min-width: 140px;
		flex: 0 0 auto;
		justify-self: auto;
	}

	.mseom-live-auto__head {
		flex: 1 1 auto;
		min-width: 0;
	}

	.mseom-live-auto__label span {
		font-size: 12px;
	}

	.mseom-live-bid-wrap.is-auto-active .mseom-live-auto__head {
		width: 100%;
		justify-content: flex-start;
	}

	.mseom-live-winner {
		flex-direction: column;
		align-items: flex-start;
		padding: 14px;
	}

	.mseom-live-winner__title {
		font-size: 17px;
	}

	.mseom-live-countdown-bar__parts {
		gap: 4px;
	}

	.mseom-live-countdown-bar__value {
		font-size: 1.05rem;
	}

	.mseom-live-countdown-bar__part {
		padding: 6px 4px;
	}

	.mseom-grade-scale__item {
		height: 32px;
		font-size: 12px;
	}

	.mseom-car-details__tabs {
		overflow-x: auto;
		flex-wrap: nowrap;
		justify-content: flex-start;
		padding-inline: 12px;
		scrollbar-width: none;
	}

	.mseom-car-details__tabs::-webkit-scrollbar {
		display: none;
	}

	.mseom-car-gallery {
		grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
		gap: 8px;
	}

	body.mseom-live-session .mseom-live-toast,
	body.mseom-auction-car .mseom-live-toast {
		bottom: calc(88px + env(safe-area-inset-bottom, 0px));
	}
}

@media (max-width: 599px) {
	.mseom-live-details__schedule {
		grid-template-columns: 1fr;
	}

	.mseom-live-details__cell {
		border-inline-start: 0;
		border-top: 1px solid #e8eeea;
		text-align: start;
	}

	.mseom-live-details__cell:first-child {
		border-top: 0;
	}

	.mseom-live-details__cell--status {
		align-items: flex-start;
	}

	.mseom-live-stats {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.mseom-live-stat {
		border-inline-start: 1px solid #e5ebe7;
		border-top: 0;
		padding: 8px 4px;
	}

	.mseom-live-stat:first-child {
		border-inline-start: 0;
	}

	.mseom-live-stat__label {
		font-size: 10px;
		margin-bottom: 4px;
	}

	.mseom-live-stat__value {
		font-size: clamp(15px, 4.5vw, 19px);
	}

	.mseom-live-cta {
		grid-template-columns: 1fr;
	}

	.mseom-grade-scale__item,
	.mseom-live-progress__bar {
		min-height: 34px;
	}

	.mseom-car-specs__highlights {
		grid-template-columns: 1fr;
	}

	.mseom-car-specs__grid {
		grid-template-columns: 1fr;
	}

	.mseom-car-details__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.mseom-car-dealer {
		margin-inline-start: 0;
		justify-content: space-between;
	}
}

@media (max-width: 720px) {
	.mseom-car-specs__highlights {
		grid-template-columns: 1fr;
	}

	.mseom-car-details__tabpanel {
		padding: 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mseom-grade-scale__item,
	.mseom-live-progress__bar {
		transition: none;
	}

	.mseom-live-indicator,
	.mseom-live-indicator__dot::before {
		animation: none;
	}

	.mseom-live-chat {
		transition: none;
	}
}

/* اشتراك المزاد + نافذة التأمين */
.mseom-live-cta--subscribe {
	display: block;
}

.mseom-live-cta__subscribe {
	width: 100%;
	min-height: 50px;
	font-size: 16px;
	font-weight: 800;
}

body.mseom-live-modal-open {
	overflow: hidden;
}

.mseom-live-modal[hidden] {
	display: none !important;
}

.mseom-live-modal {
	position: fixed;
	inset: 0;
	z-index: 1200;
	display: grid;
	place-items: center;
	padding: 16px;
}

.mseom-live-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.55);
}

.mseom-live-modal__panel {
	position: relative;
	width: min(100%, 420px);
	background: var(--mseom-surface);
	border-radius: var(--mseom-radius);
	padding: 20px;
	box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
	border: 1px solid var(--mseom-border);
}

.mseom-live-modal__title {
	margin: 0 0 8px;
	font-size: 20px;
	color: var(--mseom-green-900);
}

.mseom-live-modal__lead {
	margin: 0 0 14px;
	color: var(--mseom-muted);
	font-size: 14px;
	line-height: 1.5;
}

.mseom-live-modal__stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin: 0 0 12px;
}

.mseom-live-modal__stats div {
	background: #f8faf9;
	border: 1px solid #e8eeea;
	border-radius: var(--mseom-radius-sm);
	padding: 10px;
	text-align: center;
}

.mseom-live-modal__stats dt {
	margin: 0 0 6px;
	font-size: 12px;
	color: var(--mseom-muted);
	font-weight: 700;
}

.mseom-live-modal__stats dd {
	margin: 0;
	font-size: 18px;
	font-weight: 800;
	color: var(--mseom-green-900);
	font-variant-numeric: tabular-nums;
}

.mseom-live-modal__note {
	margin: 0 0 16px;
	font-size: 12px;
	color: var(--mseom-muted);
	line-height: 1.5;
}

.mseom-live-modal__alert {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0 0 14px;
	padding: 12px 14px;
	border-radius: 12px;
	background: #fffbeb;
	border: 1px solid #f59e0b;
	box-shadow: inset 3px 0 0 #f59e0b;
	text-align: start;
}

.mseom-live-modal__alert[hidden] {
	display: none !important;
}

.mseom-live-modal__alert-icon {
	flex: 0 0 auto;
	display: inline-grid;
	place-items: center;
	width: 28px;
	height: 28px;
	margin-top: 1px;
	border-radius: 999px;
	background: #f59e0b;
	color: #fff;
	font-size: 15px;
	font-weight: 800;
	line-height: 1;
}

.mseom-live-modal__alert-body {
	display: grid;
	gap: 4px;
	min-width: 0;
}

.mseom-live-modal__alert-title {
	font-size: 13px;
	font-weight: 800;
	color: #92400e;
	letter-spacing: 0;
}

.mseom-live-modal__alert-text {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	color: #78350f;
	line-height: 1.55;
}

.mseom-live-modal__tip {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0 0 14px;
	padding: 12px 14px;
	border-radius: 12px;
	background: #eff6ff;
	border: 1px solid #93c5fd;
	box-shadow: inset 3px 0 0 #3b82f6;
	text-align: start;
}

.mseom-live-modal__tip-icon {
	flex: 0 0 auto;
	display: inline-grid;
	place-items: center;
	width: 28px;
	height: 28px;
	margin-top: 1px;
	border-radius: 999px;
	background: #3b82f6;
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
}

.mseom-live-modal__tip-body {
	display: grid;
	gap: 4px;
	min-width: 0;
}

.mseom-live-modal__tip-title {
	font-size: 13px;
	font-weight: 800;
	color: #1e3a8a;
}

.mseom-live-modal__tip-text {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	color: #1e3a5f;
	line-height: 1.55;
}

.mseom-live-modal__actions {
	display: grid;
	gap: 10px;
}

.mseom-live-modal__actions .mseom-btn {
	width: 100%;
	min-height: 46px;
}

/* نافذة التأمين — امتداد كامل لشاشة الموبايل */
@media (max-width: 960px) {
	.mseom-live-modal {
		padding: 0 !important;
		align-items: end;
		place-items: end stretch;
	}

	.mseom-live-modal__panel {
		width: 100% !important;
		max-width: 100% !important;
		border-radius: 18px 18px 0 0;
		padding: 18px 16px calc(18px + env(safe-area-inset-bottom, 0px));
		max-height: min(94vh, 100%);
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		box-shadow: 0 -12px 40px rgba(15, 23, 42, 0.22);
	}

	.mseom-live-modal__title {
		font-size: 18px;
	}

	.mseom-live-modal__stats {
		grid-template-columns: 1fr 1fr;
	}
}

/* معرض الصور — lightbox */
.mseom-live-lightbox[hidden] {
	display: none !important;
}

.mseom-live-lightbox {
	position: fixed;
	inset: 0;
	z-index: 1300;
	display: grid;
	place-items: center;
	padding: 16px;
}

.mseom-live-lightbox__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.88);
}

.mseom-live-lightbox__stage {
	position: relative;
	width: min(100%, 1100px);
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 10px;
	z-index: 1;
}

.mseom-live-lightbox__figure {
	margin: 0;
	display: grid;
	gap: 10px;
	justify-items: center;
}

.mseom-live-lightbox__figure img {
	max-width: min(92vw, 1000px);
	max-height: min(78vh, 720px);
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: var(--mseom-radius-sm);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
	background: #0f172a;
}

.mseom-live-lightbox__figure figcaption {
	color: #f8fafc;
	font-size: 14px;
	font-weight: 700;
	text-align: center;
}

.mseom-live-lightbox__close,
.mseom-live-lightbox__nav {
	border: 0;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	width: 44px;
	height: 44px;
	border-radius: 999px;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	display: grid;
	place-items: center;
	transition: background 0.15s ease;
}

.mseom-live-lightbox__close {
	position: absolute;
	top: -52px;
	inset-inline-end: 0;
}

.mseom-live-lightbox__close:hover,
.mseom-live-lightbox__nav:hover:not(:disabled) {
	background: rgba(255, 255, 255, 0.22);
}

.mseom-live-lightbox__nav:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.mseom-live-transition {
	margin-bottom: 0.85rem;
	padding: 0.9rem 1rem;
	border-radius: 12px;
	background: linear-gradient(135deg, #f0f7f3 0%, #e8f2ec 100%);
	border: 1px solid #c8e0d2;
	text-align: center;
}

.mseom-live-transition.is-not-won {
	background: linear-gradient(135deg, #f7f3ef 0%, #f1ebe4 100%);
	border-color: #e0d2c4;
}

.mseom-live-transition.is-not-sold {
	background: linear-gradient(135deg, #f4f4f4 0%, #ececec 100%);
	border-color: #d4d4d4;
}

.mseom-live-transition__outcome {
	margin-bottom: 0.75rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.mseom-live-transition__outcome[hidden] {
	display: none;
}

.mseom-live-transition__outcome-badge {
	margin: 0 0 0.25rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #7a5c3e;
}

.mseom-live-transition.is-not-sold .mseom-live-transition__outcome-badge {
	color: #5c5c5c;
}

.mseom-live-transition__outcome-title {
	display: block;
	margin: 0 0 0.35rem;
	font-size: 1.15rem;
	line-height: 1.35;
	color: #3d2e22;
}

.mseom-live-transition.is-not-sold .mseom-live-transition__outcome-title {
	color: #333;
}

.mseom-live-transition__outcome-lead {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.45;
	color: #5c4a3a;
}

.mseom-live-transition.is-not-sold .mseom-live-transition__outcome-lead {
	color: #555;
}

.mseom-live-transition__label {
	margin: 0 0 0.35rem;
	color: #2d4a38;
	font-size: 0.92rem;
	font-weight: 600;
}

.mseom-live-transition.is-not-won .mseom-live-transition__label,
.mseom-live-transition.is-not-sold .mseom-live-transition__label {
	color: #4a4038;
}

.mseom-live-transition__count {
	display: block;
	font-size: 1.75rem;
	line-height: 1.2;
	color: #1f6b42;
}

.mseom-live-transition.is-not-won .mseom-live-transition__count,
.mseom-live-transition.is-not-sold .mseom-live-transition__count {
	color: #5a4a3a;
}

.mseom-live-transition__next {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-top: 0.85rem;
	padding-top: 0.85rem;
	border-top: 1px solid #c8e0d2;
	text-align: start;
}

.mseom-live-transition.is-not-won .mseom-live-transition__next,
.mseom-live-transition.is-not-sold .mseom-live-transition__next {
	border-top-color: rgba(0, 0, 0, 0.1);
}

.mseom-live-transition__next img {
	width: 72px;
	height: 54px;
	object-fit: cover;
	border-radius: 8px;
	flex-shrink: 0;
}

.mseom-live-transition__next strong {
	display: block;
	font-size: 0.95rem;
	color: #1f2937;
}

.mseom-live-transition__next p {
	margin: 0.2rem 0 0;
	font-size: 0.82rem;
	color: #4b5563;
}

@media (max-width: 599px) {
	.mseom-live-lightbox__stage {
		grid-template-columns: 1fr;
		grid-template-rows: auto 1fr auto;
	}

	.mseom-live-lightbox__nav--prev,
	.mseom-live-lightbox__nav--next {
		justify-self: center;
	}

	.mseom-live-lightbox__close {
		top: 8px;
		inset-inline-end: 8px;
		z-index: 2;
	}
}

/* طقس مزاد واحد / اثنين / ثلاثة */
.mseom-live-transition__chant {
	display: grid;
	place-items: center;
	min-height: 88px;
	margin: 8px 0 4px;
}

.mseom-live-transition__chant[hidden] {
	display: none !important;
}

.mseom-live-transition__chant-word {
	font-size: clamp(1.8rem, 6vw, 2.6rem);
	font-weight: 900;
	color: var(--mseom-green-900, #14532d);
	letter-spacing: -0.03em;
	transform: scale(0.88);
	opacity: 0.35;
	transition: transform 0.35s ease, opacity 0.35s ease;
}

.mseom-live-transition__chant.is-visible .mseom-live-transition__chant-word,
.mseom-live-transition__chant.is-pulse .mseom-live-transition__chant-word {
	transform: scale(1);
	opacity: 1;
}

.mseom-live-transition__chant.is-exit .mseom-live-transition__chant-word {
	transform: scale(1.1);
	opacity: 0;
}

.mseom-live-transition__count[hidden] {
	display: none !important;
}

@media (prefers-reduced-motion: reduce) {
	.mseom-live-transition__chant-word {
		transition: none !important;
	}
}
