/*
 * Vibe Streaming — event banners (4 designs) and the Account > Events form.
 * Themes restyle through: --spos-ev-accent, --spos-ev-on-accent, --spos-ev-bg, --spos-ev-text,
 * --spos-ev-muted, --spos-ev-line, --spos-ev-radius, --spos-ev-display.
 */
.spos-evb {
	--spos-ev-accent: #ff5a36;
	--spos-ev-on-accent: #fff; /* text on the accent colour */
	--spos-ev-bg: #17151c;
	--spos-ev-text: #fff;
	--spos-ev-muted: rgb(255 255 255 / 0.68);
	--spos-ev-line: rgb(255 255 255 / 0.14);
	--spos-ev-radius: 14px;
	display: grid;
	position: relative;
	align-items: center;
	overflow: hidden;
	border-radius: var(--spos-ev-radius);
	background: var(--spos-ev-bg);
	color: var(--spos-ev-text);
	text-decoration: none;
	isolation: isolate;
}
.spos-evb:focus-visible {
	outline: 3px solid var(--spos-ev-accent);
	outline-offset: 3px;
}
.spos-evb__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.spos-evb__date {
	display: grid;
	place-items: center;
	line-height: 1;
	text-align: center;
}
.spos-evb__day {
	font-family: var(--spos-ev-display, inherit);
	font-size: 2.2em;
	font-weight: 800;
}
.spos-evb__month {
	font-size: 0.8em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}
.spos-evb__body {
	display: grid;
	gap: 4px;
	min-width: 0;
}
.spos-evb__kicker {
	color: var(--spos-ev-accent);
	/* Lightened on the dark banner: a dark accent (Galerie green) stayed under 4.5:1. */
	color: color-mix(in srgb, var(--spos-ev-accent) 60%, #fff);
	font-size: 0.8em;
	font-weight: 700;
}
.spos-evb__title {
	overflow: hidden;
	font-family: var(--spos-ev-display, inherit);
	font-size: 1.25em;
	font-weight: 800;
	line-height: 1.15;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.spos-evb__meta {
	overflow: hidden;
	color: var(--spos-ev-muted);
	font-size: 0.875em;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.spos-evb__cta {
	display: grid;
	gap: 6px;
	justify-items: center;
	text-align: center;
}
.spos-evb__price {
	font-weight: 700;
	white-space: nowrap;
}
.spos-evb__btn {
	padding: 9px 16px;
	border-radius: 999px;
	background: var(--spos-ev-accent);
	color: var(--spos-ev-on-accent);
	font-size: 0.875em;
	font-weight: 800;
	white-space: nowrap;
	transition: transform 0.15s;
}
.spos-evb:hover .spos-evb__btn {
	transform: translateY(-1px);
}

/* Poster: picture, big date over it, text, call to action. */
.spos-evb--poster {
	grid-template-columns: minmax(120px, 34%) minmax(0, 1fr) auto;
	gap: 18px;
	padding-right: 18px;
	min-height: 140px;
}
.spos-evb--poster .spos-evb__media {
	position: relative;
	grid-row: 1;
	grid-column: 1;
	align-self: stretch;
	min-height: 140px;
	max-height: 240px;
	overflow: hidden;
}
/* The picture fills its box without setting its height: a tall poster
   never makes the banner grow. */
.spos-evb--poster .spos-evb__media img {
	position: absolute;
	inset: 0;
}
.spos-evb--poster .spos-evb__date {
	grid-row: 1;
	grid-column: 1;
	align-self: start;
	justify-self: start;
	margin: 12px;
	padding: 8px 10px;
	border-radius: 10px;
	background: var(--spos-ev-text);
	color: var(--spos-ev-bg);
}
.spos-evb--poster .spos-evb__day {
	font-size: 1.6em;
}

/* Ticket: a stub cut by a perforated line, with the price. */
.spos-evb--ticket {
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 0;
	background:
		radial-gradient(circle at calc(100% - 150px) 0, transparent 11px, var(--spos-ev-bg) 12px) top / 100% 51% no-repeat,
		radial-gradient(circle at calc(100% - 150px) 100%, transparent 11px, var(--spos-ev-bg) 12px) bottom / 100% 51% no-repeat;
	border-radius: 10px;
}
.spos-evb--ticket .spos-evb__media {
	display: none;
}
.spos-evb--ticket .spos-evb__date {
	align-self: stretch;
	padding: 0 20px;
	background: var(--spos-ev-accent);
	color: var(--spos-ev-on-accent);
}
.spos-evb--ticket .spos-evb__body {
	padding: 18px 20px;
}
.spos-evb--ticket .spos-evb__cta {
	align-self: stretch;
	align-content: center;
	width: 150px;
	padding: 12px;
	border-left: 2px dashed var(--spos-ev-line);
}
.spos-evb--ticket .spos-evb__price {
	font-size: 1.15em;
}
.spos-evb--ticket .spos-evb__btn {
	background: transparent;
	border: 1px solid var(--spos-ev-text);
	color: var(--spos-ev-text);
}

/* Neon: night picture in the back, glowing date. */
.spos-evb--neon {
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 20px;
	padding: 20px 22px;
	min-height: 150px;
	background: #0b0614;
}
.spos-evb--neon .spos-evb__media {
	position: absolute;
	inset: 0;
	z-index: -1;
	opacity: 0.35;
	filter: blur(2px) saturate(1.4);
}
.spos-evb--neon::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgb(11 6 20 / 0.95) 20%, rgb(11 6 20 / 0.55));
}
.spos-evb--neon .spos-evb__date {
	color: #fff;
	text-shadow: 0 0 12px var(--spos-ev-accent), 0 0 28px var(--spos-ev-accent);
}
.spos-evb--neon .spos-evb__day {
	font-size: 3em;
}
.spos-evb--neon .spos-evb__btn {
	box-shadow: 0 0 18px var(--spos-ev-accent);
}

/* Minimal: one line. */
.spos-evb--minimal {
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 14px;
	padding: 10px 12px;
	background: transparent;
	border: 1px solid var(--spos-ev-line);
	color: inherit;
}
.spos-evb--minimal .spos-evb__date {
	padding: 6px 10px;
	border-radius: 8px;
	background: var(--spos-ev-accent);
	color: var(--spos-ev-on-accent);
}
.spos-evb--minimal .spos-evb__day {
	font-size: 1.3em;
}
.spos-evb--minimal .spos-evb__title {
	font-size: 1em;
	-webkit-line-clamp: 1;
}
.spos-evb--minimal .spos-evb__meta {
	color: inherit;
	opacity: 0.7;
}
.spos-evb--minimal .spos-evb__price {
	display: none;
}

/* Narrow places (sidebars, phones): stack. */
@container (max-width: 520px) {
	.spos-evb--poster,
	.spos-evb--neon {
		grid-template-columns: auto minmax(0, 1fr);
	}
	.spos-evb--poster .spos-evb__media {
		grid-column: 1 / -1;
		aspect-ratio: 16 / 7;
	}
	.spos-evb--poster {
		padding: 0 0 16px;
	}
	.spos-evb--poster .spos-evb__body {
		grid-column: 1 / -1;
		padding: 0 16px;
	}
	.spos-evb--poster .spos-evb__cta,
	.spos-evb--neon .spos-evb__cta {
		grid-column: 1 / -1;
		grid-auto-flow: column;
		justify-content: space-between;
		padding: 0 16px;
	}
	.spos-evb--ticket {
		grid-template-columns: auto minmax(0, 1fr);
		background: var(--spos-ev-bg);
	}
	.spos-evb--ticket .spos-evb__cta {
		grid-column: 1 / -1;
		grid-auto-flow: column;
		justify-content: space-between;
		width: auto;
		border-top: 2px dashed var(--spos-ev-line);
		border-left: 0;
	}
	.spos-evb--minimal .spos-evb__cta {
		display: none;
	}
}
.spos-evb-host {
	container-type: inline-size;
}
.spos-evlist {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
	container-type: inline-size;
}
@media (prefers-reduced-motion: reduce) {
	.spos-evb__btn {
		transition: none;
	}
}

/* Account > Events form */
.spos-event-form {
	display: grid;
	gap: 14px;
	max-width: 760px;
}
.spos-event-form p {
	margin: 0;
}
.spos-event-form label {
	display: block;
	margin-bottom: 4px;
	font-weight: 600;
}
.spos-event-form input[type="text"],
.spos-event-form input[type="url"],
.spos-event-form input[type="date"],
.spos-event-form input[type="time"],
.spos-event-form input[type="number"],
.spos-event-form select,
.spos-event-form textarea {
	width: 100%;
}
.spos-event-form__row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 12px;
}
.spos-event-form fieldset {
	margin: 0;
	padding: 0;
	border: 0;
}
.spos-event-form legend {
	margin-bottom: 6px;
	font-weight: 600;
}
.spos-event-form__type label {
	display: inline-flex;
	gap: 6px;
	margin-right: 16px;
	font-weight: 400;
}
.spos-event-form__tt {
	width: 100%;
	border-collapse: collapse;
}
.spos-event-form__tt th {
	padding: 0 6px 4px 0;
	font-size: 0.85em;
	font-weight: 600;
	text-align: left;
}
.spos-event-form__tt td {
	padding: 0 6px 6px 0;
}
.spos-event-form__dgrid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 10px;
}
.spos-event-form__design {
	display: grid !important;
	gap: 6px;
	padding: 8px;
	border: 1px solid rgb(127 127 127 / 0.3);
	border-radius: 10px;
	font-weight: 400 !important;
	cursor: pointer;
}
.spos-event-form__design:has(input:checked) {
	border-color: var(--spos-ev-accent, #ff5a36);
	box-shadow: 0 0 0 1px var(--spos-ev-accent, #ff5a36);
}
.spos-event-form__design input {
	position: absolute;
	opacity: 0;
}
.spos-event-form__design:has(input:focus-visible) {
	outline: 2px solid currentColor;
}
/* Small drawings of each design in the form. */
.spos-evb-thumb {
	display: grid;
	grid-template-columns: 28% 1fr 22%;
	gap: 4px;
	height: 46px;
	padding: 4px;
	border-radius: 6px;
	background: #17151c;
}
.spos-evb-thumb i,
.spos-evb-thumb b,
.spos-evb-thumb s {
	border-radius: 3px;
	background: rgb(255 255 255 / 0.25);
}
.spos-evb-thumb b {
	background: linear-gradient(rgb(255 255 255 / 0.6) 0 30%, transparent 30% 45%, rgb(255 255 255 / 0.25) 45% 60%, transparent 60%);
}
.spos-evb-thumb s {
	background: #ff5a36;
	border-radius: 999px;
	align-self: center;
	height: 12px;
}
.spos-evb-thumb--ticket i {
	background: #ff5a36;
}
.spos-evb-thumb--ticket s {
	background: transparent;
	border: 1px dashed rgb(255 255 255 / 0.5);
	height: 100%;
	border-radius: 3px;
}
.spos-evb-thumb--neon {
	background: linear-gradient(90deg, #0b0614, #3a0f4d);
}
.spos-evb-thumb--neon i {
	background: transparent;
	box-shadow: inset 0 0 0 2px #ff5a36, 0 0 8px #ff5a36;
}
.spos-evb-thumb--minimal {
	background: transparent;
	border: 1px solid rgb(127 127 127 / 0.4);
	height: 26px;
	align-self: center;
}
.spos-evb-thumb--minimal i {
	background: #ff5a36;
}
.spos-evb-thumb--minimal b {
	background: rgb(127 127 127 / 0.35);
}
.spos-evb-thumb--minimal s {
	visibility: hidden;
}
.spos-events__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 18px;
}
.spos-events__top p {
	flex: 1 1 320px;
	margin: 0;
}

/* Several banners in a row (shortcodes, widgets). */
.spos-evb-host + .spos-evb-host {
	margin-top: 14px;
}
/* Poster without a picture: a gradient in the accent colour. */
.spos-evb--poster .spos-evb__media:empty {
	background: linear-gradient(120deg, color-mix(in srgb, var(--spos-ev-accent) 55%, transparent), transparent 75%);
}

/* Account > Events > Check entries (phone first). */
.spos-checkin {
	display: grid;
	gap: 14px;
	max-width: 520px;
}
.spos-checkin h2 {
	margin: 0;
}
.spos-checkin__date {
	margin: 0;
	opacity: 0.75;
}
.spos-checkin__count {
	margin: 0;
	font-size: 1.6rem;
	font-weight: 800;
}
.spos-checkin__cam {
	display: grid;
	gap: 10px;
}
.spos-checkin__cam video {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 14px;
	background: #000;
}
.spos-checkin__form {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	gap: 8px;
}
.spos-checkin__form label {
	flex-basis: 100%;
	font-weight: 600;
}
.spos-checkin__form input {
	flex: 1;
	min-width: 0;
	min-height: 44px;
	padding: 8px 12px;
	font-family: monospace;
}
.spos-checkin__result {
	display: grid;
	gap: 4px;
	padding: 16px 18px;
	border-radius: 14px;
	color: #fff;
	font-size: 1.15rem;
	background: #b42318;
}
.spos-checkin__result--ok,
.spos-checkin__result--undone {
	background: #067647;
}
.spos-checkin__result--used,
.spos-checkin__result--wrong_event {
	background: #b54708;
}
.spos-checkin__result span {
	font-size: 0.95rem;
	opacity: 0.9;
}
.spos-checkin__log {
	margin: 0;
	padding-left: 1.2em;
	font-size: 0.875rem;
	opacity: 0.85;
}
.spos-checkin__log--ok {
	color: #067647;
}
.spos-checkin [hidden] {
	display: none !important;
}

/* Vibe Streaming > Ticketing > To approve (admin). */
.spos-review {
	display: grid;
	gap: 16px;
	max-width: 980px;
	margin-bottom: 24px;
}
.spos-review__item {
	display: grid;
	gap: 10px;
	padding: 16px;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	background: #fff;
}
.spos-review__facts p,
.spos-review__facts ul {
	margin: 4px 0;
}
.spos-review__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

/* Account > My profiles / My videos / My package (0.18.0). Neutral base; the theme dresses it. */
.spos-member__table,
.spos-member__rights { width: 100%; border-collapse: collapse; margin: 12px 0 20px; }
.spos-member__table th,
.spos-member__table td,
.spos-member__rights th,
.spos-member__rights td { padding: 8px 10px; border-bottom: 1px solid rgba(127,127,127,.25); text-align: start; vertical-align: middle; }
.spos-member__verified { display: inline-grid; place-items: center; width: 1.25em; height: 1.25em; border-radius: 50%; background: var(--spos-ev-accent, #2563eb); color: var(--spos-ev-on-accent, #fff); font-size: .8em; font-weight: 700; line-height: 1; }
.spos-member__plan { padding: 12px 14px; border-radius: 10px; border: 1px solid var(--spos-ev-accent, #2563eb); }
.spos-member__plans { list-style: none; margin: 12px 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.spos-member__plan-card { display: flex; flex-direction: column; gap: 8px; padding: 16px; border: 1px solid rgba(127,127,127,.3); border-radius: 12px; }
.spos-member__plan-card.is-current { border-color: var(--spos-ev-accent, #2563eb); box-shadow: inset 0 0 0 1px var(--spos-ev-accent, #2563eb); }
.spos-member__plan-card h4 { margin: 0; }
.spos-member__plan-card ul { margin: 0; padding-inline-start: 1.1em; font-size: .92em; }
.spos-member__plan-card > :last-child { margin-top: auto; }
.spos-member__price { margin: 0; font-weight: 600; }
.spos-member__thumb, .spos-member__gal img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; }
.spos-member__gal { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; margin: 0 8px 8px 0; font-size: .85em; }
.spos-member__managers { list-style: none; padding: 0; margin: 8px 0 16px; display: grid; gap: 6px; }
.spos-member__managers li { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.spos-member-form input[type="file"] { max-width: 100%; }
.spos-member-form fieldset { border: 1px solid rgba(127,127,127,.3); border-radius: 10px; padding: 12px 14px; margin: 14px 0; }

/* qTranslate: one field per language in the member forms (0.18.1). */
.spos-ml { border: 1px solid rgba(127,127,127,.3); border-radius: 10px; padding: 10px 14px; margin: 14px 0; }
.spos-ml__lang { margin: 8px 0; }
.spos-ml__code { display: inline-block; min-width: 2.2em; padding: 1px 6px; border-radius: 999px; background: var(--spos-ev-accent, #2563eb); color: var(--spos-ev-on-accent, #fff); font-size: .75em; font-weight: 700; text-align: center; }

/* Step-by-step forms (0.19.0). Without the script every step is shown, one under the other. */
.spos-step { margin: 0 0 28px; }
.spos-step__title { margin: 0 0 8px; font-size: 1.25em; }
.spos-step__title:focus { outline: none; }
.spos-step__lead { font-size: 1.1em; font-weight: 600; }
.spos-step__list { padding-inline-start: 1.2em; }
.spos-wiz .spos-step { margin: 0; min-height: 220px; }
.spos-wiz__head { margin: 0 0 22px; }
.spos-wiz__count { margin: 0 0 8px; font-weight: 600; }
.spos-wiz__bar { height: 6px; border-radius: 999px; background: rgba(127,127,127,.25); overflow: hidden; }
.spos-wiz__bar span { display: block; height: 100%; width: 0; background: var(--spos-ev-accent, #2563eb); transition: width .25s ease; }
.spos-wiz__steps { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; counter-reset: spos-step; }
.spos-wiz__steps li { counter-increment: spos-step; }
.spos-wiz__dot { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border: 1px solid rgba(127,127,127,.35); border-radius: 999px; background: none; color: inherit; font: inherit; font-size: .82em; cursor: pointer; }
.spos-wiz__dot::before { content: counter(spos-step); display: inline-grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 50%; background: rgba(127,127,127,.2); font-weight: 700; }
.spos-wiz__dot.is-done::before { content: "✓"; background: var(--spos-ev-accent, #2563eb); color: var(--spos-ev-on-accent, #fff); }
.spos-wiz__dot.is-current { border-color: var(--spos-ev-accent, #2563eb); font-weight: 700; }
.spos-wiz__dot.is-current::before { background: var(--spos-ev-accent, #2563eb); color: var(--spos-ev-on-accent, #fff); }
.spos-wiz__dot:disabled { opacity: .5; cursor: default; }
.spos-wiz__nav { display: flex; justify-content: space-between; gap: 12px; margin: 22px 0 0; padding-top: 16px; border-top: 1px solid rgba(127,127,127,.25); }
.spos-wiz__nav [hidden] { display: none; }
.spos-wiz__nav .spos-btn:not(.spos-btn--ghost) { margin-inline-start: auto; }
@media (max-width: 600px) { .spos-wiz__steps { display: none; } }
.spos-choice { display: grid; gap: 10px; border: 0; padding: 0; }
.spos-choice__item { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid rgba(127,127,127,.35); border-radius: 12px; cursor: pointer; }
.spos-choice__item:has(input:checked) { border-color: var(--spos-ev-accent, #2563eb); box-shadow: inset 0 0 0 1px var(--spos-ev-accent, #2563eb); }
.spos-choice__item span { display: grid; gap: 2px; }
.spos-choice__item small { opacity: .8; }
.spos-chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; }
.spos-chips legend { margin-bottom: 8px; }
.spos-chips__item { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid rgba(127,127,127,.35); border-radius: 999px; cursor: pointer; }
.spos-chips__item:has(input:checked) { border-color: var(--spos-ev-accent, #2563eb); background: color-mix(in srgb, var(--spos-ev-accent, #2563eb) 14%, transparent); }
.spos-field-help { display: block; margin-top: 4px; font-size: .85em; opacity: .8; }
.spos-ai { margin: 0 0 16px; padding: 14px 16px; border: 1px dashed var(--spos-ev-accent, #2563eb); border-radius: 12px; }
.spos-ai__title { margin: 0 0 6px; }
.spos-ai__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.spos-ai.is-busy .spos-ai__status::before { content: ""; display: inline-block; width: .9em; height: .9em; margin-inline-end: 6px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; vertical-align: -.1em; animation: spos-spin .8s linear infinite; }
@keyframes spos-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spos-ai.is-busy .spos-ai__status::before { animation: none; } .spos-wiz__bar span { transition: none; } }
.spos-vprev { display: flex; gap: 12px; align-items: center; margin: 4px 0 12px; padding: 10px; border: 1px solid rgba(127,127,127,.3); border-radius: 12px; }
.spos-vprev img { width: 160px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; }
.spos-vprev__text { display: grid; gap: 4px; }
.spos-vprev__text p { margin: 0; }
.spos-vprev.is-bad { border-color: #c0392b; }
.spos-step__summary { display: grid; gap: 12px; margin: 0 0 16px; }
.spos-sum { padding: 12px 14px; border: 1px solid rgba(127,127,127,.3); border-radius: 12px; }
.spos-sum__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 6px; }
.spos-sum__edit { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.spos-sum dl { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: 4px 12px; margin: 0; }
.spos-sum dt { opacity: .75; }
.spos-sum dd { margin: 0; overflow-wrap: anywhere; white-space: pre-line; }
.spos-sum__empty { margin: 0; opacity: .7; }
@media (max-width: 520px) { .spos-sum dl { grid-template-columns: 1fr; } .spos-sum dd { margin-bottom: 6px; } .spos-vprev { flex-direction: column; align-items: stretch; } .spos-vprev img { width: 100%; } }
.spos-notice--info { padding: 10px 14px; border-radius: 10px; border-inline-start: 4px solid var(--spos-ev-accent, #2563eb); background: rgba(127,127,127,.1); }
.spos-member__thumb--wide { width: 160px; height: auto; aspect-ratio: 16 / 9; }
.spos-events__actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }

/* 0.21.0: profile picker, segments (sub-categories), classic editor. */
.spos-field { margin: 0 0 14px; }
.spos-field > label, .spos-ml__lang > label { display: block; margin-bottom: 6px; }
.spos-picker { border: 0; padding: 0; margin: 0 0 18px; }
.spos-picker__chosen { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; padding: 0; list-style: none; }
.spos-picker__chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px 4px 12px; border-radius: 999px; background: var(--spos-ev-accent, #2563eb); color: var(--spos-ev-on-accent, #fff); font-weight: 600; }
.spos-picker__chip small { font-weight: 400; opacity: .85; }
.spos-picker__remove { display: inline-grid; place-items: center; width: 26px; height: 26px; border: 0; border-radius: 50%; background: transparent; box-shadow: inset 0 0 0 1px currentColor; color: inherit; font-size: 1.1em; line-height: 1; cursor: pointer; }
.spos-picker__search { position: relative; }
.spos-picker__search input { width: 100%; }
.spos-picker__list { position: absolute; z-index: 20; inset-inline: 0; top: 100%; max-height: 300px; overflow: auto; margin: 4px 0 0; padding: 4px; list-style: none; border: 1px solid rgba(127,127,127,.35); border-radius: 10px; background: var(--spos-ev-surface, #fff); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.spos-picker__option { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; cursor: pointer; }
.spos-picker__option img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.spos-picker__option small { margin-inline-start: auto; opacity: .75; }
.spos-picker__option[aria-selected="true"], .spos-picker__option:hover { background: rgba(127,127,127,.15); }
.spos-picker__option.is-chosen { opacity: .5; }
.spos-picker__none { padding: 8px 10px; opacity: .8; }
.spos-seg { margin: 0 0 16px; }
.spos-seg .spos-chips__item--sub { font-size: .92em; }
.spos-seg .spos-chips__item--sub[data-depth="1"] { margin-inline-start: 0; border-style: dashed; }
.spos-req { color: #c0392b; }
.spos-group-error { flex-basis: 100%; margin: 6px 0 0; color: #c0392b; font-weight: 600; }
.spos-editor { margin: 0 0 6px; }
.spos-editor .wp-editor-container { border-radius: 8px; overflow: hidden; }
.spos-editor textarea.wp-editor-area { width: 100%; }

/* AI studio (0.22): web watch reports, social posts. */
.spos-studio__run { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 14px 0; }
.spos-studio__run.is-busy .spos-ai__status::before { content: ""; display: inline-block; width: .9em; height: .9em; margin-inline-end: 6px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; vertical-align: -2px; animation: spos-spin 1s linear infinite; }
@keyframes spos-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spos-studio__run.is-busy .spos-ai__status::before { animation: none; } }
.spos-studio__doc { max-width: 78ch; line-height: 1.6; }
.spos-studio__doc h2 { font-size: 1.15em; margin: 1.4em 0 .4em; }
.spos-studio__doc h3, .spos-studio__doc h4 { font-size: 1em; margin: 1.1em 0 .3em; }
.spos-studio__doc table { width: 100%; border-collapse: collapse; margin: .6em 0 1.2em; font-size: .92em; display: block; overflow-x: auto; }
.spos-studio__doc th, .spos-studio__doc td { border: 1px solid rgba(127,127,127,.35); padding: 6px 8px; text-align: start; vertical-align: top; }
.spos-studio__posts { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.spos-studio__group { grid-column: 1 / -1; margin: 10px 0 0; }
.spos-studio__post textarea { width: 100%; min-height: 6em; resize: vertical; font: inherit; line-height: 1.5; }
.spos-studio__net { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 6px; font-weight: 600; }
.spos-studio__date { opacity: .8; font-size: .92em; }
.spos-studio__items { padding-inline-start: 1.2em; }
.spos-studio__items li { margin: 4px 0; }

/* YouTube channels (account) */
.spos-channel-card { border: 1px solid var(--vs-border, rgba(127,127,127,.3)); border-radius: 10px; padding: 14px 16px; margin: 0 0 16px; }
.spos-channel-card__head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.spos-channel-card__head img { border-radius: 50%; }
.spos-channel-card__ok { color: var(--vs-success, #1a7f37); font-weight: 600; }
.spos-channel-code { font-size: 1.05em; padding: 2px 6px; user-select: all; }
.spos-inline-form { display: inline-block; margin: 0 6px 6px 0; }
.spos-channel-pick__list { list-style: none; margin: 0 0 12px; padding: 0; }
.spos-channel-pick__list li { padding: 6px 0; border-bottom: 1px solid var(--vs-border, rgba(127,127,127,.2)); }
.spos-channel-pick__list label { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.spos-channel-pick__list img { border-radius: 4px; object-fit: cover; flex: none; }
.spos-channel-pick__list input:disabled + img, .spos-channel-pick__list input:disabled ~ span { opacity: .55; }

/* Account: channel form (0.25.0). */
.spos-ch__media { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 6px 16px; max-height: 360px; overflow: auto; padding: 4px 0; }
.spos-ch__media label { display: flex; gap: 8px; align-items: baseline; }
.spos-ch__media small { opacity: .7; }
