/* Business Hub — Live */

/* ===== Σήματα ===== */
.nslv-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	padding: 4px 8px;
	border-radius: 999px;
	letter-spacing: .02em;
	vertical-align: middle;
	white-space: nowrap;
}
.nslv-badge .dashicons {
	font-size: 13px;
	width: 13px;
	height: 13px;
}
.nslv-badge.is-live { background: #E24B4A; color: #fff; }
.nslv-badge.is-sched { background: #E6F1FB; color: #0C447C; font-weight: 600; }
.nslv-badge.is-ended { background: #F1EFE8; color: #444441; font-weight: 600; }
.neo-social-post-sub .nslv-badge { margin-right: 6px; }

.nslv-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #fff;
	animation: nslv-pulse 1.2s ease-in-out infinite;
}
.nslv-dot-red {
	display: inline-block;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #E24B4A;
	vertical-align: middle;
	margin-right: 2px;
}
@keyframes nslv-pulse { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) {
	.nslv-dot { animation: none; }
}

/* ===== Πάνελ στη φόρμα ===== */
.nslv-toggle.is-on { color: #A32D2D; }
.nslv-box {
	border: 1px solid var(--neo-border, #e3e6ea);
	background: var(--neo-surface-2, #fafbfc);
	border-radius: 10px;
	padding: 12px;
	margin-top: 10px;
}
.nslv-box-head {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 10px;
	font-size: 14px;
}
.nslv-box-x {
	margin-left: auto;
	border: none;
	background: none;
	font-size: 20px;
	line-height: 1;
	color: #888780;
	cursor: pointer;
	padding: 0 4px;
}
.nslv-box-x:hover { color: #A32D2D; }
.nslv-lbl {
	display: block;
	font-size: 12px;
	color: #5F5E5A;
	margin: 8px 0 4px;
}
.nslv-url-row {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}
.nslv-box input[type="url"],
.nslv-box input[type="text"],
.nslv-box input[type="datetime-local"] {
	border: 1px solid var(--neo-border, #dfe3e7);
	border-radius: 8px;
	padding: 8px 11px;
	font-size: 14px;
	box-sizing: border-box;
	background: #fff;
}
.nslv-box .nslv-url { flex: 1; min-width: 200px; }
.nslv-box .nslv-title-in { width: 100%; }
.nslv-detect { font-size: 12px; color: #5F5E5A; }
.nslv-detect.is-ok { color: #3B6D11; font-weight: 600; }
.nslv-detect.is-bad { color: #A32D2D; flex-basis: 100%; }
.nslv-when {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	margin-top: 10px;
	font-size: 13px;
}
.nslv-when label { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.nslv-hint {
	font-size: 12px;
	color: #5F5E5A;
	margin: 6px 0 0;
}

/* ===== Μέσα στην ανάρτηση ===== */
.nslv-live {
	margin: 10px 0 4px;
}
.nslv-title {
	font-weight: 600;
	font-size: 15px;
	margin-bottom: 8px;
}
.nslv-player {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #2C2C2A;
	border-radius: 10px;
	overflow: hidden;
}
@supports not (aspect-ratio: 16 / 9) {
	.nslv-player { height: 0; padding-top: 56.25%; }
}
.nslv-player iframe {
	position: absolute;
	inset: 0;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.nslv-live.is-live .nslv-player { box-shadow: 0 0 0 2px #E24B4A; }

.nslv-wait {
	aspect-ratio: 16 / 9;
	max-height: 320px;
	width: 100%;
	background: #2C2C2A;
	color: #D3D1C7;
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	text-align: center;
	padding: 16px;
	box-sizing: border-box;
	font-size: 13px;
}
.nslv-wait-when { color: #fff; font-size: 18px; font-weight: 600; }
.nslv-count { color: #FAC775; font-size: 14px; font-weight: 600; }
.nslv-wait.is-ended { aspect-ratio: auto; min-height: 90px; flex-direction: row; }
.nslv-wait.is-ended .nslv-wait-when { font-size: 15px; }

.nslv-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	flex-wrap: wrap;
	margin-top: 8px;
	font-size: 13px;
	color: #5F5E5A;
}
.nslv-src a { color: inherit; text-decoration: none; }
.nslv-src a:hover { text-decoration: underline; }
.nslv-btn {
	border: 1px solid var(--neo-primary, #1D9E75);
	background: var(--neo-primary, #1D9E75);
	color: #fff;
	border-radius: 8px;
	padding: 6px 12px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	line-height: 1.2;
}
.nslv-btn.is-end {
	background: #fff;
	color: #A32D2D;
	border-color: #F09595;
}
.nslv-btn.is-end:hover { background: #FCEBEB; }
.nslv-btn[disabled] { opacity: .6; cursor: wait; }
.nslv-stop {
	width: 9px;
	height: 9px;
	background: currentColor;
	border-radius: 2px;
}
.nslv-note {
	font-size: 12px;
	color: #888780;
	margin-top: 4px;
}

/* ===== 1.1.0: player + live chat ===== */
.nslv-stage {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	align-items: stretch;
}
.nslv-stage .nslv-player { flex: 1 1 420px; min-width: 0; }
.nslv-chat {
	flex: 1 1 240px;
	max-width: 100%;
	display: flex;
	flex-direction: column;
	border: 1px solid var(--neo-border, #e3e6ea);
	border-radius: 10px;
	background: #fff;
	min-height: 240px;
	max-height: 380px;
	overflow: hidden;
}
@media (min-width: 900px) {
	.nslv-live.has-chat .nslv-chat { max-width: 320px; }
}
.nslv-chat-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 7px 10px;
	border-bottom: 1px solid var(--neo-border, #eef0f2);
	font-size: 12px;
	font-weight: 600;
	color: #444441;
}
.nslv-chat-auto { color: #888780; font-weight: 400; display: inline-flex; align-items: center; gap: 3px; }
.nslv-chat-auto .dashicons { font-size: 13px; width: 13px; height: 13px; }
.nslv-chat-list {
	flex: 1;
	overflow-y: auto;
	padding: 8px 10px;
	display: flex;
	flex-direction: column;
	gap: 7px;
	font-size: 13px;
	line-height: 1.4;
	overscroll-behavior: contain;
}
.nslv-chat-empty { color: #888780; font-size: 12px; margin: auto; text-align: center; }
.nslv-msg { display: flex; gap: 7px; align-items: flex-start; }
.nslv-msg-av {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #E1F5EE;
	flex-shrink: 0;
	overflow: hidden;
}
.nslv-msg-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nslv-msg-body { min-width: 0; word-wrap: break-word; overflow-wrap: anywhere; }
.nslv-msg-name { font-weight: 600; color: #2C2C2A; text-decoration: none; }
.nslv-msg-name:hover { text-decoration: underline; }
.nslv-msg.is-host .nslv-msg-name { color: #A32D2D; }
.nslv-host {
	font-size: 10px;
	font-weight: 700;
	background: #FCEBEB;
	color: #A32D2D;
	border-radius: 999px;
	padding: 1px 6px;
	margin-left: 4px;
	vertical-align: 1px;
}
.nslv-msg-text { color: #2C2C2A; }
.nslv-chat-form {
	display: flex;
	gap: 6px;
	padding: 7px;
	border-top: 1px solid var(--neo-border, #eef0f2);
	margin: 0;
}
.nslv-chat-in {
	flex: 1;
	min-width: 0;
	border: 1px solid var(--neo-border, #dfe3e7);
	border-radius: 999px;
	padding: 7px 12px;
	font-size: 13px;
	background: #fff;
}
.nslv-chat-send {
	border: none;
	background: var(--neo-primary, #1D9E75);
	color: #fff;
	border-radius: 50%;
	width: 32px;
	height: 32px;
	flex-shrink: 0;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}
.nslv-chat-note {
	padding: 8px 10px;
	font-size: 12px;
	color: #5F5E5A;
	border-top: 1px solid var(--neo-border, #eef0f2);
	text-align: center;
}
/* Όσο παίζει το live, τα μηνύματα είναι στο chat· τα σχόλια από κάτω κρύβονται. */
.neo-social-post:has(.nslv-live.is-live.has-chat) .neo-social-comments { display: none; }

.nslv-viewers { display: inline-flex; align-items: center; gap: 3px; margin-left: 8px; color: #A32D2D; font-weight: 600; }
.nslv-viewers .dashicons { font-size: 15px; width: 15px; height: 15px; }

/* ===== «Θύμισέ μου» ===== */
.nslv-remind {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: 6px;
	border: 1px solid #888780;
	background: transparent;
	color: #fff;
	border-radius: 999px;
	padding: 5px 12px;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	line-height: 1.2;
}
.nslv-remind .dashicons { font-size: 14px; width: 14px; height: 14px; }
.nslv-remind:hover { border-color: #fff; color: #fff; }
.nslv-remind.is-on { background: #FAC775; border-color: #FAC775; color: #412402; }
.nslv-remind.is-info { cursor: default; border-style: dashed; }
.nslv-remind-n { font-weight: 400; opacity: .85; }
.nslv-row .nslv-remind { margin: 0; color: #444441; border-color: #D3D1C7; }
.nslv-row .nslv-remind.is-on { background: #FAEEDA; border-color: #FAC775; color: #633806; }
.nslv-row .nslv-remind.is-info { display: none; }

/* ===== Σελίδα Live ===== */
.nslv-page { display: flex; flex-direction: column; gap: 26px; }
.nslv-sec-h {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 16px;
	margin: 0 0 10px;
}
.nslv-sec-h.is-live { color: #A32D2D; }
.nslv-sec-h.is-soon { color: #0C447C; }
.nslv-empty { color: #888780; font-size: 14px; margin: 0; }
.nslv-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 14px;
}
.nslv-card { display: block; text-decoration: none; color: inherit; }
.nslv-thumb {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	border-radius: 10px;
	background: #2C2C2A center / cover no-repeat;
	overflow: hidden;
}
.nslv-thumb .nslv-badge { position: absolute; top: 8px; left: 8px; }
.nslv-eye, .nslv-lock {
	position: absolute;
	bottom: 8px;
	right: 8px;
	background: rgba(0, 0, 0, .65);
	color: #fff;
	font-size: 11px;
	border-radius: 999px;
	padding: 3px 8px;
	display: inline-flex;
	align-items: center;
	gap: 3px;
}
.nslv-eye .dashicons, .nslv-lock .dashicons { font-size: 13px; width: 13px; height: 13px; }
.nslv-lock.is-inline { position: static; background: #EEEDFE; color: #3C3489; }
.nslv-thumb-p {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #B4B2A9;
	font-size: 14px;
	font-weight: 600;
}
.nslv-card-t { display: block; font-weight: 600; font-size: 14px; margin-top: 6px; }
.nslv-card-s { display: block; font-size: 12px; color: #5F5E5A; }
.nslv-card:hover .nslv-card-t { text-decoration: underline; }
.nslv-rows { display: flex; flex-direction: column; gap: 8px; }
.nslv-row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 12px;
	border: 1px solid var(--neo-border, #e3e6ea);
	border-radius: 10px;
	background: #fff;
	flex-wrap: wrap;
}
.nslv-row-t { flex: 1; min-width: 160px; color: inherit; text-decoration: none; font-size: 14px; }
.nslv-row-t:hover strong { text-decoration: underline; }
.nslv-row-m { color: #5F5E5A; font-size: 13px; }
.nslv-pager { display: flex; justify-content: space-between; gap: 8px; margin-top: 10px; }
.nslv-btn.is-ghost { background: #fff; color: var(--neo-primary, #1D9E75); text-decoration: none; }

/* ===== 1.2.0: πακέτα, εκδηλώσεις ===== */
.nslv-box.is-upsell { text-align: center; }
.nslv-box.is-upsell .nslv-box-head { justify-content: flex-start; }
.nslv-up { font-size: 14px; color: #3C3489; margin: 4px 0 10px; }
.nslv-ev { margin: 12px 0; }
.nslv-ev-head {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 8px;
}
.nslv-ev-head .nslv-count { color: #854F0B; }
.nslv-ev-note { font-size: 13px; color: #5F5E5A; margin: 6px 0; }
.nslv-ev-hint { display: block; margin-top: 4px; }
.nslv-row.is-event .nslv-remind { margin: 0; color: #444441; border-color: #D3D1C7; }

/* 1.2.1: η ετικέτα είδους «Live» δεν χρειάζεται δίπλα στο σήμα κατάστασης. */
.neo-social-post-sub:has(.nslv-badge) .neo-social-post-type { display: none; }


/* ==========================================================================
   Σκοτεινό θέμα (με Business Hub 4.51.0+). Χωρίς σκοτεινό δεν αλλάζει τίποτα.
   ========================================================================== */
/* --- από nslv.css (44 κανόνες) --- */
html[data-neo-theme="dark"] .nslv-badge.is-sched { background: color-mix(in srgb, #E6F1FB 14%, var(--neo-bg)); color: color-mix(in srgb, #0C447C 55%, #fff); }
html[data-neo-theme="dark"] .nslv-badge.is-ended { background: var(--neo-bg-soft); color: var(--neo-text); }
html[data-neo-theme="dark"] .nslv-dot { background: var(--neo-bg); }
html[data-neo-theme="dark"] .nslv-toggle.is-on { color: color-mix(in srgb, #A32D2D 55%, #fff); }
html[data-neo-theme="dark"] .nslv-box-x { color: var(--neo-muted); }
html[data-neo-theme="dark"] .nslv-box-x:hover { color: color-mix(in srgb, #A32D2D 55%, #fff); }
html[data-neo-theme="dark"] .nslv-lbl { color: var(--neo-muted); }
html[data-neo-theme="dark"] .nslv-box input[type="url"],
html[data-neo-theme="dark"] .nslv-box input[type="text"],
html[data-neo-theme="dark"] .nslv-box input[type="datetime-local"] { background: var(--neo-bg); }
html[data-neo-theme="dark"] .nslv-detect { color: var(--neo-muted); }
html[data-neo-theme="dark"] .nslv-detect.is-ok { color: color-mix(in srgb, #3B6D11 55%, #fff); }
html[data-neo-theme="dark"] .nslv-detect.is-bad { color: color-mix(in srgb, #A32D2D 55%, #fff); }
html[data-neo-theme="dark"] .nslv-hint { color: var(--neo-muted); }
html[data-neo-theme="dark"] .nslv-foot { color: var(--neo-muted); }
html[data-neo-theme="dark"] .nslv-btn.is-end { background: var(--neo-bg); color: color-mix(in srgb, #A32D2D 55%, #fff); }
html[data-neo-theme="dark"] .nslv-btn.is-end:hover { background: color-mix(in srgb, #FCEBEB 14%, var(--neo-bg)); }
html[data-neo-theme="dark"] .nslv-note { color: var(--neo-muted); }
html[data-neo-theme="dark"] .nslv-chat { background: var(--neo-bg); }
html[data-neo-theme="dark"] .nslv-chat-head { color: var(--neo-text); }
html[data-neo-theme="dark"] .nslv-chat-auto { color: var(--neo-muted); }
html[data-neo-theme="dark"] .nslv-chat-empty { color: var(--neo-muted); }
html[data-neo-theme="dark"] .nslv-msg-av { background: color-mix(in srgb, #E1F5EE 14%, var(--neo-bg)); }
html[data-neo-theme="dark"] .nslv-msg-name { color: var(--neo-text); }
html[data-neo-theme="dark"] .nslv-msg.is-host .nslv-msg-name { color: color-mix(in srgb, #A32D2D 55%, #fff); }
html[data-neo-theme="dark"] .nslv-host { background: color-mix(in srgb, #FCEBEB 14%, var(--neo-bg)); color: color-mix(in srgb, #A32D2D 55%, #fff); }
html[data-neo-theme="dark"] .nslv-msg-text { color: var(--neo-text); }
html[data-neo-theme="dark"] .nslv-chat-in { background: var(--neo-bg); }
html[data-neo-theme="dark"] .nslv-chat-note { color: var(--neo-muted); }
html[data-neo-theme="dark"] .nslv-viewers { color: color-mix(in srgb, #A32D2D 55%, #fff); }
html[data-neo-theme="dark"] .nslv-remind:hover { border-color: var(--neo-border); }
html[data-neo-theme="dark"] .nslv-row .nslv-remind { color: var(--neo-text); border-color: color-mix(in srgb, #D3D1C7 30%, var(--neo-border)); }
html[data-neo-theme="dark"] .nslv-row .nslv-remind.is-on { background: color-mix(in srgb, #FAEEDA 14%, var(--neo-bg)); color: color-mix(in srgb, #633806 55%, #fff); }
html[data-neo-theme="dark"] .nslv-sec-h.is-live { color: color-mix(in srgb, #A32D2D 55%, #fff); }
html[data-neo-theme="dark"] .nslv-sec-h.is-soon { color: color-mix(in srgb, #0C447C 55%, #fff); }
html[data-neo-theme="dark"] .nslv-empty { color: var(--neo-muted); }
html[data-neo-theme="dark"] .nslv-lock.is-inline { background: color-mix(in srgb, #EEEDFE 14%, var(--neo-bg)); color: color-mix(in srgb, #3C3489 55%, #fff); }
html[data-neo-theme="dark"] .nslv-thumb-p { color: var(--neo-muted); }
html[data-neo-theme="dark"] .nslv-card-s { color: var(--neo-muted); }
html[data-neo-theme="dark"] .nslv-row { background: var(--neo-bg); }
html[data-neo-theme="dark"] .nslv-row-m { color: var(--neo-muted); }
html[data-neo-theme="dark"] .nslv-btn.is-ghost { background: var(--neo-bg); }
html[data-neo-theme="dark"] .nslv-up { color: color-mix(in srgb, #3C3489 55%, #fff); }
html[data-neo-theme="dark"] .nslv-ev-head .nslv-count { color: color-mix(in srgb, #854F0B 55%, #fff); }
html[data-neo-theme="dark"] .nslv-ev-note { color: var(--neo-muted); }
html[data-neo-theme="dark"] .nslv-row.is-event .nslv-remind { color: var(--neo-text); border-color: color-mix(in srgb, #D3D1C7 30%, var(--neo-border)); }
