.sgmtvl-video-section {
	margin-top: 2rem;
	--sgmtvl-button-bg: #0f2a62;
	--sgmtvl-button-color: #fff;
	--sgmtvl-button-radius: .8rem;
	--sgmtvl-button-padding: .72rem 1rem;
}
.sgmtvl-section-heading {
	margin-bottom: 1rem;
}
.sgmtvl-section-heading h2 {
	margin: 0 0 .35rem;
	font-size: 1.5rem;
	font-weight: 800;
	letter-spacing: -.02em;
	color: #0f172a;
}
.sgmtvl-section-heading p {
	margin: 0;
	font-size: .875rem;
	color: #64748b;
}
.sgmtvl-video-grid {
	display: grid;
	grid-template-columns: repeat(var(--sgmtvl-columns, 3), minmax(0, 1fr));
	gap: 1rem;
}
.sgmtvl-video-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 1rem;
	box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
	overflow: hidden;
}
.sgmtvl-video-card__head {
	padding: .9rem 1rem .75rem;
	border-bottom: 1px solid #f1f5f9;
	background: var(--sgmtvl-header-bg, #fff);
}
.sgmtvl-provider {
	display: inline-flex;
	align-items: center;
	padding: .18rem .5rem;
	border-radius: 999px;
	background: var(--sgmtvl-badge-bg, #eff6ff);
	color: var(--sgmtvl-badge-color, #1d4ed8);
	font-size: .68rem;
	font-family: var(--sgmtvl-badge-font-family, inherit);
	font-weight: var(--sgmtvl-badge-font-weight, 800);
	text-transform: uppercase;
	letter-spacing: .08em;
}
.sgmtvl-video-card h3 {
	margin: .55rem 0 0;
	font-size: .98rem;
	font-family: var(--sgmtvl-title-font-family, inherit);
	font-weight: var(--sgmtvl-title-font-weight, 800);
	color: var(--sgmtvl-title-color, #0f172a);
}
.sgmtvl-frame {
	position: relative;
	aspect-ratio: 16 / 9;
	background: #0f172a;
}
.sgmtvl-frame--vertical {
	aspect-ratio: 9 / 16;
	max-width: 380px;
	margin: 0 auto;
}
.sgmtvl-frame iframe,
.sgmtvl-frame video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	background: #0f172a;
}
.sgmtvl-link-fallback {
	background: #fff;
}
.sgmtvl-thumb {
	text-decoration: none;
	color: inherit;
	position: relative;
	min-height: 150px;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
	isolation: isolate;
	overflow: hidden;
}
.sgmtvl-thumb::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(15,42,98,.95), rgba(251,146,60,.75));
	z-index: -1;
}
.sgmtvl-thumb--tiktok::before {
	background: linear-gradient(135deg, #0f172a, #111827 45%, #fb7185);
}
.sgmtvl-thumb--instagram::before {
	background: radial-gradient(circle at 25% 15%, #fde047, transparent 28%), linear-gradient(135deg, #7c3aed, #db2777 50%, #f97316);
}
.sgmtvl-thumb--facebook::before {
	background: linear-gradient(135deg, #0f2a62, #2563eb);
}
.sgmtvl-thumb--external_link::before {
	background: linear-gradient(135deg, #0f2a62, #f59e0b);
}

.sgmtvl-thumb--custom-cover::before {
	background: linear-gradient(180deg, rgba(15,23,42,.08), rgba(15,23,42,.34));
}
.sgmtvl-thumb--custom-cover .sgmtvl-thumb-label {
	background: rgba(255,255,255,.96);
}
.sgmtvl-thumb:hover .sgmtvl-play {
	transform: scale(1.06);
}
.sgmtvl-play {
	width: 56px;
	height: 56px;
	border-radius: 999px;
	background: rgba(255,255,255,.95);
	color: #0f2a62;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.25rem;
	font-weight: 900;
	box-shadow: 0 15px 35px rgba(15,23,42,.25);
	transition: transform .18s ease, box-shadow .18s ease;
	padding-left: .15rem;
}
.sgmtvl-thumb-label {
	position: absolute;
	left: .85rem;
	bottom: .75rem;
	padding: .28rem .58rem;
	border-radius: 999px;
	background: rgba(255,255,255,.93);
	color: #0f2a62;
	font-size: .72rem;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: .06em;
}
.sgmtvl-fallback-body {
	padding: 1rem;
	background: linear-gradient(180deg, #fff, #f8fafc);
}
.sgmtvl-fallback-body p {
	margin: 0 0 .85rem;
	font-size: .875rem;
	line-height: 1.5;
	color: #475569;
}
.sgmtvl-fallback-body a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .4rem;
	padding: var(--sgmtvl-button-padding, .72rem 1rem);
	border-radius: var(--sgmtvl-button-radius, .8rem);
	background: var(--sgmtvl-button-bg, #0f2a62);
	color: var(--sgmtvl-button-color, #fff);
	font-size: .86rem;
	font-weight: 800;
	text-decoration: none;
}
.sgmtvl-fallback-body a:hover {
	filter: brightness(1.07);
}
@media (max-width: 980px) {
	.sgmtvl-video-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 640px) {
	.sgmtvl-video-grid {
		grid-template-columns: 1fr;
	}
}


/* v1.1.1 — acabamento visual dos cards públicos */
.sgmtvl-video-grid {
	align-items: stretch;
	grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
	gap: 1.15rem;
}

.sgmtvl-video-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 1px solid rgba(15, 42, 98, .10);
	border-radius: 1.15rem;
	box-shadow: 0 14px 35px rgba(15, 23, 42, .075);
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.sgmtvl-video-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 22px 45px rgba(15, 23, 42, .13);
	border-color: rgba(15, 42, 98, .22);
}

.sgmtvl-video-card__head {
	min-height: 78px;
	padding: .95rem 1rem .8rem;
}

.sgmtvl-provider {
	background: #eef4ff;
	color: #0f2a62;
	border: 1px solid rgba(15, 42, 98, .08);
	font-size: .66rem;
}

.sgmtvl-video-card h3 {
	font-size: 1rem;
	line-height: 1.25;
	min-height: 1.25em;
}

.sgmtvl-link-fallback {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.sgmtvl-thumb {
	aspect-ratio: 16 / 9;
	min-height: 0;
	width: 100%;
	border-top: 1px solid rgba(15, 23, 42, .03);
	border-bottom: 1px solid rgba(15, 23, 42, .05);
}

.sgmtvl-thumb--custom-cover::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(15, 23, 42, .03), rgba(15, 23, 42, .32));
	pointer-events: none;
}

.sgmtvl-play {
	position: relative;
	z-index: 2;
	width: 58px;
	height: 58px;
	font-size: 1.15rem;
	background: rgba(255,255,255,.96);
	backdrop-filter: blur(6px);
}

.sgmtvl-thumb-label {
	z-index: 2;
	left: .75rem;
	bottom: .7rem;
	font-size: .66rem;
	max-width: calc(100% - 1.5rem);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.sgmtvl-fallback-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 1rem;
}

.sgmtvl-fallback-body p {
	flex: 1;
	min-height: 4.2em;
	margin-bottom: .95rem;
}

.sgmtvl-fallback-body a {
	width: 100%;
	min-height: 42px;
	text-align: center;
	border-radius: .85rem;
	box-shadow: 0 8px 18px rgba(15, 42, 98, .16);
	transition: transform .16s ease, filter .16s ease, box-shadow .16s ease;
}

.sgmtvl-fallback-body a:hover {
	transform: translateY(-1px);
	box-shadow: 0 12px 24px rgba(15, 42, 98, .22);
}

@media (max-width: 640px) {
	.sgmtvl-video-grid {
		grid-template-columns: 1fr;
	}
	.sgmtvl-video-card__head {
		min-height: auto;
	}
	.sgmtvl-fallback-body p {
		min-height: auto;
	}
}


/* v1.1.3 — correção: 3 cards por linha no desktop e botão com cor única configurável */
.sgmtvl-video-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: .9rem !important;
}
.sgmtvl-video-card {
	min-width: 0;
}
.sgmtvl-video-card__head {
	padding: .82rem .85rem .7rem;
	min-height: 72px;
}
.sgmtvl-provider {
	font-size: .62rem;
	padding: .16rem .45rem;
}
.sgmtvl-video-card h3 {
	font-size: .94rem;
	line-height: 1.2;
}
.sgmtvl-fallback-body {
	padding: .86rem;
}
.sgmtvl-fallback-body p {
	font-size: .82rem;
	min-height: 4.05em;
}
.sgmtvl-fallback-body a.sgmtvl-video-open-button,
.sgmtvl-video-card--instagram .sgmtvl-fallback-body a.sgmtvl-video-open-button,
.sgmtvl-video-card--facebook .sgmtvl-fallback-body a.sgmtvl-video-open-button,
.sgmtvl-video-card--tiktok .sgmtvl-fallback-body a.sgmtvl-video-open-button {
	background: var(--sgmtvl-button-bg, #0f2a62) !important;
	color: var(--sgmtvl-button-color, #fff) !important;
	border-radius: var(--sgmtvl-button-radius, .8rem) !important;
	padding: var(--sgmtvl-button-padding, .72rem 1rem) !important;
}
@media (max-width: 860px) {
	.sgmtvl-video-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}
@media (max-width: 640px) {
	.sgmtvl-video-grid {
		grid-template-columns: 1fr !important;
	}
}


/* v1.2.0 — Story MP4 vertical */
.sgmtvl-video-card--story_mp4 .sgmtvl-link-fallback {
	background: linear-gradient(180deg, #fff, #fff7ed);
}
.sgmtvl-video-card--story_mp4 .sgmtvl-thumb {
	aspect-ratio: 9 / 16;
	width: min(100%, 260px);
	margin: 0 auto;
	border: 0;
	border-radius: 0 0 1rem 1rem;
	cursor: pointer;
	background-color: #0f172a;
	background-size: cover;
	background-position: center;
}
.sgmtvl-video-card--story_mp4 .sgmtvl-thumb::before {
	background: radial-gradient(circle at 30% 15%, rgba(245,158,11,.9), transparent 28%), linear-gradient(180deg, #0f2a62, #0f172a 70%);
}
.sgmtvl-video-card--story_mp4 .sgmtvl-thumb--custom-cover::before {
	background: linear-gradient(180deg, rgba(15,23,42,.08), rgba(15,23,42,.48));
}
.sgmtvl-video-card--story_mp4 .sgmtvl-video-open-button {
	border: 0;
	cursor: pointer;
	width: 100%;
	min-height: 42px;
	text-align: center;
	border-radius: var(--sgmtvl-button-radius, .8rem);
	background: var(--sgmtvl-button-bg, #0f2a62);
	color: var(--sgmtvl-button-color, #fff);
	font-size: .86rem;
	font-weight: 800;
	padding: var(--sgmtvl-button-padding, .72rem 1rem);
	box-shadow: 0 8px 18px rgba(15, 42, 98, .16);
}
.sgmtvl-story-modal[hidden] {
	display: none !important;
}
.sgmtvl-story-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 18px;
}
.sgmtvl-story-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(2, 6, 23, .78);
	backdrop-filter: blur(5px);
}
.sgmtvl-story-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(420px, 92vw);
	max-height: 92vh;
	display: flex;
	align-items: center;
	justify-content: center;
}
.sgmtvl-story-modal__dialog video {
	width: auto;
	max-width: 100%;
	height: min(82vh, 760px);
	aspect-ratio: 9 / 16;
	background: #000;
	border-radius: 18px;
	box-shadow: 0 30px 90px rgba(0,0,0,.45);
}
.sgmtvl-story-modal__close {
	position: absolute;
	top: -14px;
	right: -14px;
	z-index: 2;
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: 999px;
	background: #fff;
	color: #0f172a;
	cursor: pointer;
	font-size: 28px;
	line-height: 1;
	font-weight: 700;
	box-shadow: 0 10px 24px rgba(0,0,0,.25);
}
.sgmtvl-story-modal-open {
	overflow: hidden;
}
@media (max-width: 640px) {
	.sgmtvl-video-card--story_mp4 .sgmtvl-thumb {
		width: min(100%, 300px);
	}
	.sgmtvl-story-modal__close {
		top: 8px;
		right: 8px;
	}
}

/* v1.2.3 — correção visual: Story MP4 não estica a grade */
.sgmtvl-video-grid {
	align-items: start !important;
}

.sgmtvl-video-card--story_mp4 {
	height: auto !important;
	align-self: start !important;
}

.sgmtvl-video-card--story_mp4 .sgmtvl-link-fallback {
	display: flex;
	flex-direction: column;
	flex: 1;
	background: #fff;
}

/* O vídeo continua vertical no popup, mas o CARD público fica no mesmo padrão dos outros. */
.sgmtvl-video-card--story_mp4 .sgmtvl-thumb,
.sgmtvl-video-card--story_mp4 .sgmtvl-thumb.sgmtvl-thumb--story_mp4 {
	aspect-ratio: 16 / 9 !important;
	width: 100% !important;
	min-height: 0 !important;
	max-height: none !important;
	margin: 0 !important;
	border-radius: 0 !important;
	border-top: 1px solid rgba(15, 23, 42, .03);
	border-bottom: 1px solid rgba(15, 23, 42, .05);
	background-size: cover !important;
	background-position: center !important;
}

.sgmtvl-video-card--story_mp4 .sgmtvl-fallback-body {
	padding: .86rem;
	min-height: 0 !important;
}

.sgmtvl-video-card--story_mp4 .sgmtvl-fallback-body p {
	min-height: 4.05em !important;
	font-size: .82rem;
}

.sgmtvl-video-card--story_mp4 .sgmtvl-thumb-label {
	max-width: calc(100% - 1.5rem);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

@media (max-width: 640px) {
	.sgmtvl-video-card--story_mp4 .sgmtvl-thumb,
	.sgmtvl-video-card--story_mp4 .sgmtvl-thumb.sgmtvl-thumb--story_mp4 {
		width: 100% !important;
		aspect-ratio: 16 / 9 !important;
	}
	.sgmtvl-video-card--story_mp4 .sgmtvl-fallback-body p {
		min-height: auto !important;
	}
}


/* v1.2.4 — Story sem capa copiada */
.sgmtvl-video-card--story_mp4 .sgmtvl-thumb {
	background-image: none !important;
}
.sgmtvl-video-card--story_mp4 .sgmtvl-thumb::before {
	background: radial-gradient(circle at 24% 18%, rgba(245,158,11,.92), transparent 30%), linear-gradient(135deg, #0f2a62, #f59e0b 92%) !important;
}


/* v1.2.5 — Story mostra o próprio vídeo pausado no card */
.sgmtvl-video-card--story_mp4 .sgmtvl-thumb,
.sgmtvl-video-card--story_mp4 .sgmtvl-thumb.sgmtvl-thumb--story_mp4 {
	position: relative !important;
	overflow: hidden !important;
	background: #0f172a !important;
	background-image: none !important;
}

.sgmtvl-video-card--story_mp4 .sgmtvl-thumb::before {
	display: none !important;
}

.sgmtvl-video-card--story_mp4 .sgmtvl-thumb::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(15,23,42,.04), rgba(15,23,42,.28));
	pointer-events: none;
}

.sgmtvl-story-card-video {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: #0f172a;
	pointer-events: none;
	display: block;
}

.sgmtvl-video-card--story_mp4 .sgmtvl-play {
	position: relative;
	z-index: 2;
}


/* v1.5.7 — ações no Story MP4: curtir e WhatsApp */
.sgmtvl-story-modal__dialog {
	flex-direction: column;
}

.sgmtvl-story-modal__actions {
	position: absolute;
	left: 50%;
	bottom: 18px;
	transform: translateX(-50%);
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: max-content;
	max-width: calc(100% - 28px);
	padding: 8px;
	border-radius: 999px;
	background: rgba(15, 23, 42, .58);
	backdrop-filter: blur(10px);
	box-shadow: 0 14px 40px rgba(0,0,0,.28);
}

.sgmtvl-story-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 38px;
	padding: 9px 13px;
	border: 0;
	border-radius: 999px;
	background: rgba(255,255,255,.94);
	color: #0f172a;
	cursor: pointer;
	font-size: 13px;
	font-weight: 900;
	line-height: 1;
	text-decoration: none !important;
	transition: transform .16s ease, filter .16s ease, background .16s ease, color .16s ease;
}

.sgmtvl-story-action:hover {
	transform: translateY(-1px);
	filter: brightness(1.03);
}

.sgmtvl-story-action span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 17px;
	line-height: 1;
}

.sgmtvl-story-action strong {
	font: inherit;
	font-weight: 900;
}

.sgmtvl-story-action--like.is-liked {
	background: #fff1f2;
	color: #e11d48;
}

.sgmtvl-story-action--message {
	background: #25D366;
	color: #fff !important;
}

.sgmtvl-story-action--message[hidden] {
	display: none !important;
}

@media (max-width: 640px) {
	.sgmtvl-story-modal__actions {
		bottom: 14px;
		gap: 8px;
		padding: 7px;
	}

	.sgmtvl-story-action {
		min-height: 36px;
		padding: 8px 11px;
		font-size: 12px;
	}
}



/* v1.5.8 — contador de curtidas e barra de carregamento do Story */
.sgmtvl-story-action small {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	border-radius: 999px;
	background: rgba(15,23,42,.08);
	color: inherit;
	font-size: 11px;
	font-weight: 900;
	line-height: 1;
}

.sgmtvl-story-action--like.is-liked small {
	background: rgba(225, 29, 72, .12);
	color: #e11d48;
}

/* v1.5.9 — loader mais profissional e visível */
.sgmtvl-story-modal__loader {
	position: absolute;
	left: 50%;
	bottom: 86px;
	z-index: 4;
	width: min(320px, calc(100% - 34px));
	transform: translateX(-50%);
	display: none;
	padding: 14px 16px 16px;
	border-radius: 18px;
	background: rgba(15, 23, 42, .86);
	border: 1px solid rgba(255,255,255,.08);
	color: #fff;
	text-align: left;
	backdrop-filter: blur(12px);
	box-shadow: 0 18px 48px rgba(0,0,0,.34);
	pointer-events: none;
}

.sgmtvl-story-modal.is-loading .sgmtvl-story-modal__loader {
	display: block;
}

.sgmtvl-story-modal__loader span {
	display: block;
	margin-bottom: 10px;
	font-size: 13px;
	font-weight: 900;
	letter-spacing: .01em;
}

.sgmtvl-story-modal__loader i {
	position: relative;
	display: block;
	width: 100%;
	height: 11px;
	overflow: hidden;
	border-radius: 999px;
	background: rgba(255,255,255,.16);
	box-shadow: inset 0 1px 3px rgba(0,0,0,.18);
}

.sgmtvl-story-modal__loader i::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,0));
	pointer-events: none;
}

.sgmtvl-story-modal__loader i b {
	position: absolute;
	inset: 0 auto 0 0;
	width: 36%;
	border-radius: inherit;
	background: linear-gradient(90deg, #25D366 0%, #14b8a6 45%, #f59e0b 100%);
	box-shadow: 0 0 12px rgba(37,211,102,.25);
	animation: sgmtvl-story-loading 1.15s ease-in-out infinite;
}

@keyframes sgmtvl-story-loading {
	0% { transform: translateX(-115%); }
	50% { transform: translateX(110%); }
	100% { transform: translateX(250%); }
}

@media (max-width: 640px) {
	.sgmtvl-story-modal__loader {
		bottom: 74px;
		width: calc(100% - 24px);
		padding: 12px 14px 14px;
	}

	.sgmtvl-story-modal__loader span {
		font-size: 12px;
		margin-bottom: 9px;
	}

	.sgmtvl-story-modal__loader i {
		height: 10px;
	}
}


/* v1.6.4 — capa padrão bonita para vídeos por link sem capa personalizada */
.sgmtvl-thumb--default-cover {
	min-height: 178px !important;
	flex-direction: column !important;
	gap: .45rem !important;
	text-align: center !important;
	padding: 1.15rem !important;
}

.sgmtvl-thumb--default-cover::before {
	background:
		radial-gradient(circle at 18% 18%, rgba(245, 158, 11, .92), transparent 28%),
		radial-gradient(circle at 82% 22%, rgba(59, 130, 246, .36), transparent 30%),
		linear-gradient(135deg, #071225 0%, #0f2a62 58%, #f59e0b 100%) !important;
}

.sgmtvl-thumb--default-cover::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,0) 38%),
		linear-gradient(135deg, rgba(255,255,255,.10) 0 1px, transparent 1px 18px);
	opacity: .72;
	pointer-events: none;
}

.sgmtvl-default-cover-brand {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: .26rem .55rem;
	border-radius: 999px;
	background: rgba(255,255,255,.92);
	color: #0f2a62;
	font-size: .68rem;
	font-weight: 900;
	letter-spacing: .02em;
	box-shadow: 0 8px 22px rgba(15,23,42,.15);
}

.sgmtvl-thumb--default-cover .sgmtvl-play {
	width: 54px !important;
	height: 54px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	border-radius: 999px !important;
	background: rgba(255,255,255,.95) !important;
	color: #0f2a62 !important;
	font-size: 1.28rem !important;
	box-shadow: 0 14px 36px rgba(15,23,42,.25) !important;
	transform: translateY(2px);
}

.sgmtvl-thumb--default-cover .sgmtvl-thumb-label {
	position: static !important;
	max-width: 100% !important;
	margin-top: .15rem !important;
	padding: .32rem .7rem !important;
	border-radius: 999px !important;
	background: rgba(15,23,42,.46) !important;
	color: #fff !important;
	font-size: .78rem !important;
	font-weight: 900 !important;
	line-height: 1.2 !important;
	box-shadow: none !important;
}

.sgmtvl-thumb--default-cover .sgmtvl-thumb-cta {
	position: relative;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: .06rem;
	padding: .42rem .82rem;
	border-radius: 999px;
	background: rgba(255,255,255,.92);
	color: #0f2a62;
	font-size: .76rem;
	font-weight: 900;
	line-height: 1;
	box-shadow: 0 10px 26px rgba(15,23,42,.15);
}

.sgmtvl-thumb--default-cover.sgmtvl-thumb--instagram::before,
.sgmtvl-thumb--instagram.sgmtvl-thumb--default-cover::before {
	background:
		radial-gradient(circle at 20% 18%, #fde047, transparent 28%),
		linear-gradient(135deg, #7c3aed 0%, #db2777 52%, #f97316 100%) !important;
}

.sgmtvl-thumb--default-cover.sgmtvl-thumb--tiktok::before,
.sgmtvl-thumb--tiktok.sgmtvl-thumb--default-cover::before {
	background:
		radial-gradient(circle at 22% 16%, rgba(34,211,238,.70), transparent 27%),
		linear-gradient(135deg, #020617 0%, #111827 55%, #fb7185 100%) !important;
}

.sgmtvl-thumb--default-cover.sgmtvl-thumb--facebook::before,
.sgmtvl-thumb--facebook.sgmtvl-thumb--default-cover::before {
	background:
		radial-gradient(circle at 22% 18%, rgba(147,197,253,.75), transparent 30%),
		linear-gradient(135deg, #0f2a62 0%, #2563eb 100%) !important;
}

.sgmtvl-thumb--default-cover.sgmtvl-thumb--youtube_shorts::before,
.sgmtvl-thumb--youtube_shorts.sgmtvl-thumb--default-cover::before {
	background:
		radial-gradient(circle at 20% 18%, rgba(255,255,255,.52), transparent 28%),
		linear-gradient(135deg, #7f1d1d 0%, #dc2626 52%, #f59e0b 100%) !important;
}


/* v1.7.2 — Story Foto 24h */
.sgmtvl-video-card--story_photo .sgmtvl-link-fallback {
	display: flex;
	flex-direction: column;
	flex: 1;
	background: #fff;
}

.sgmtvl-video-card--story_photo .sgmtvl-thumb,
.sgmtvl-video-card--story_photo .sgmtvl-thumb.sgmtvl-thumb--story_photo {
	position: relative !important;
	overflow: hidden !important;
	aspect-ratio: 16 / 9 !important;
	width: 100% !important;
	min-height: 0 !important;
	max-height: none !important;
	margin: 0 !important;
	border-radius: 0 !important;
	border-top: 1px solid rgba(15, 23, 42, .03);
	border-bottom: 1px solid rgba(15, 23, 42, .05);
	background: #0f172a !important;
}

.sgmtvl-video-card--story_photo .sgmtvl-thumb::before {
	display: none !important;
}

.sgmtvl-video-card--story_photo .sgmtvl-thumb::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(15,23,42,.04), rgba(15,23,42,.30));
	pointer-events: none;
}

.sgmtvl-story-card-image {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: #0f172a;
	pointer-events: none;
	display: block;
}

.sgmtvl-video-card--story_photo .sgmtvl-play,
.sgmtvl-video-card--story_photo .sgmtvl-thumb-label {
	position: relative;
	z-index: 2;
}

.sgmtvl-video-card--story_photo .sgmtvl-fallback-body {
	padding: .86rem;
	min-height: 0 !important;
}

.sgmtvl-video-card--story_photo .sgmtvl-fallback-body p {
	min-height: 4.05em !important;
	font-size: .82rem;
}

.sgmtvl-story-modal__dialog video[hidden],
.sgmtvl-story-modal__dialog img[hidden] {
	display: none !important;
}

.sgmtvl-story-modal__dialog .sgmtvl-story-modal__image {
	width: auto;
	max-width: 100%;
	height: min(82vh, 760px);
	aspect-ratio: 9 / 16;
	object-fit: contain;
	background: #000;
	border-radius: 18px;
	box-shadow: 0 30px 90px rgba(0,0,0,.45);
}

@media (max-width: 640px) {
	.sgmtvl-video-card--story_photo .sgmtvl-fallback-body p {
		min-height: auto !important;
	}
}


/* v1.7.3 — Compartilhamento no popup do Story */
.sgmtvl-story-action--share {
	background: #0f2a62;
	color: #fff !important;
}

.sgmtvl-story-share-menu[hidden] {
	display: none !important;
}

.sgmtvl-story-share-menu {
	position: absolute;
	left: 50%;
	bottom: 74px;
	transform: translateX(-50%);
	z-index: 4;
	display: grid;
	grid-template-columns: repeat(2, minmax(120px, 1fr));
	gap: 8px;
	width: min(320px, calc(100% - 34px));
	padding: 10px;
	border-radius: 18px;
	background: rgba(255, 255, 255, .96);
	box-shadow: 0 22px 55px rgba(0,0,0,.25);
	backdrop-filter: blur(10px);
}

.sgmtvl-story-share-menu a,
.sgmtvl-story-share-menu button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	border: 1px solid rgba(15, 42, 98, .10);
	border-radius: 12px;
	background: #f8fafc;
	color: #0f2a62;
	cursor: pointer;
	font-size: 13px;
	font-weight: 900;
	text-decoration: none !important;
}

.sgmtvl-story-share-menu a:hover,
.sgmtvl-story-share-menu button:hover {
	background: #eff6ff;
}

@media (max-width: 640px) {
	.sgmtvl-story-share-menu {
		bottom: 68px;
		grid-template-columns: 1fr 1fr;
		width: min(300px, calc(100% - 24px));
	}
}


/* v1.7.4 — Compartilhar link + texto padrão */
.sgmtvl-story-action--share strong {
	white-space: nowrap;
}

.sgmtvl-story-share-menu {
	grid-template-columns: 1fr 1fr;
}

.sgmtvl-story-share-menu [data-sgmtvl-copy-text-link] {
	grid-column: 1 / -1;
	background: #0f2a62;
	color: #fff;
}



/* v1.7.5 — menu de compartilhamento visível e botão maior no mobile */
.sgmtvl-story-action--share {
	min-width: 48px;
	background: #0f2a62 !important;
	color: #fff !important;
}

.sgmtvl-story-action--share span {
	font-size: 18px !important;
}

.sgmtvl-story-action--share strong {
	display: inline-flex !important;
	white-space: nowrap;
}

.sgmtvl-story-share-menu {
	bottom: 78px !important;
	grid-template-columns: 1fr 1fr !important;
	width: min(360px, calc(100% - 24px)) !important;
	max-height: min(58vh, 420px);
	overflow: auto;
}

.sgmtvl-story-share-menu__title {
	grid-column: 1 / -1;
	color: #0f172a;
	font-size: 13px;
	font-weight: 1000;
	text-align: center;
	padding: 3px 0 6px;
}

.sgmtvl-story-share-photo {
	grid-column: 1 / -1;
	background: #22c55e !important;
	color: #fff !important;
	border-color: #22c55e !important;
}

.sgmtvl-story-share-menu [data-sgmtvl-copy-text-link] {
	grid-column: 1 / -1;
	background: #0f2a62 !important;
	color: #fff !important;
}

@media (max-width: 640px) {
	.sgmtvl-story-modal__actions {
		width: calc(100% - 28px);
		max-width: 560px;
		justify-content: center;
	}

	.sgmtvl-story-action {
		padding: 8px 10px !important;
	}

	.sgmtvl-story-action--share strong {
		display: inline-flex !important;
		font-size: 12px;
	}

	.sgmtvl-story-share-menu {
		bottom: 76px !important;
	}
}

@media (max-width: 380px) {
	.sgmtvl-story-action--share strong {
		font-size: 11px;
	}
}


/* v1.7.6 — Menu simples de compartilhamento */
.sgmtvl-story-action--share {
	background: #0f2a62 !important;
	color: #fff !important;
	min-width: auto !important;
}

.sgmtvl-story-action--share strong {
	display: inline-flex !important;
	white-space: nowrap;
}

.sgmtvl-story-share-menu[hidden] {
	display: none !important;
}

.sgmtvl-story-share-menu {
	position: absolute !important;
	left: 50% !important;
	bottom: 72px !important;
	transform: translateX(-50%) !important;
	z-index: 20 !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 12px !important;
	width: min(420px, calc(100% - 24px)) !important;
	max-height: min(70vh, 520px) !important;
	overflow: auto !important;
	padding: 22px 18px 18px !important;
	border-radius: 16px !important;
	background: #ffffff !important;
	box-shadow: 0 24px 70px rgba(0,0,0,.32) !important;
	border: 1px solid rgba(15, 42, 98, .08) !important;
	backdrop-filter: none !important;
}

.sgmtvl-story-share-menu h3 {
	margin: 0 34px 8px 0 !important;
	color: #111827 !important;
	font-size: clamp(21px, 5vw, 32px) !important;
	line-height: 1.12 !important;
	font-weight: 1000 !important;
	letter-spacing: -.04em !important;
}

.sgmtvl-story-share-menu__close {
	position: absolute !important;
	top: 14px !important;
	right: 14px !important;
	width: 24px !important;
	height: 24px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	border: 2px solid #111827 !important;
	border-radius: 5px !important;
	background: #fff !important;
	color: #111827 !important;
	font-size: 18px !important;
	font-weight: 1000 !important;
	line-height: 1 !important;
	padding: 0 !important;
	cursor: pointer !important;
}

.sgmtvl-story-share-option {
	width: 100% !important;
	min-height: 58px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 16px !important;
	padding: 14px 16px !important;
	border: 2px solid #0b63ce !important;
	border-radius: 7px !important;
	background: #fff !important;
	color: #0b63ce !important;
	text-decoration: none !important;
	cursor: pointer !important;
	box-shadow: none !important;
}

.sgmtvl-story-share-option span {
	width: 28px !important;
	min-width: 28px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-size: 21px !important;
	line-height: 1 !important;
}

.sgmtvl-story-share-option strong {
	color: inherit !important;
	font-size: 15px !important;
	font-weight: 1000 !important;
	letter-spacing: .01em !important;
	text-transform: uppercase !important;
}

.sgmtvl-story-share-option:hover {
	background: #eff6ff !important;
}

@media (max-width: 640px) {
	.sgmtvl-story-modal__actions {
		width: calc(100% - 28px) !important;
		max-width: 560px !important;
		justify-content: center !important;
	}

	.sgmtvl-story-action--share strong {
		display: inline-flex !important;
		font-size: 12px !important;
	}

	.sgmtvl-story-share-menu {
		bottom: 74px !important;
		width: min(360px, calc(100% - 18px)) !important;
		padding: 20px 14px 14px !important;
	}

	.sgmtvl-story-share-option {
		min-height: 54px !important;
		padding: 13px 14px !important;
	}
}

/* v1.7.7 — menu compartilhar mais profissional */
.sgmtvl-story-share-menu {
	padding: 22px 18px 18px !important;
	border-radius: 18px !important;
}

.sgmtvl-story-share-menu__header {
	margin: 0 38px 12px 0 !important;
}

.sgmtvl-story-share-menu h3 {
	margin: 0 0 6px 0 !important;
	color: #0f172a !important;
	font-size: clamp(26px, 5vw, 34px) !important;
	line-height: 1.04 !important;
	font-weight: 900 !important;
	letter-spacing: -0.04em !important;
}

.sgmtvl-story-share-menu__header p {
	margin: 0 !important;
	color: #64748b !important;
	font-size: 13px !important;
	line-height: 1.45 !important;
	font-weight: 500 !important;
}

.sgmtvl-story-share-menu__close {
	width: 30px !important;
	height: 30px !important;
	border: 2px solid #1e293b !important;
	border-radius: 8px !important;
	font-size: 20px !important;
}

.sgmtvl-story-share-option {
	justify-content: flex-start !important;
	gap: 0 !important;
	padding: 16px 18px !important;
	border: 2px solid #0b63ce !important;
	border-radius: 10px !important;
	background: #ffffff !important;
	transition: background .2s ease, transform .12s ease, box-shadow .2s ease !important;
}

.sgmtvl-story-share-option strong {
	font-size: 16px !important;
	font-weight: 800 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
}

.sgmtvl-story-share-option:hover,
.sgmtvl-story-share-option:focus {
	background: #eff6ff !important;
	box-shadow: 0 8px 18px rgba(11,99,206,.10) !important;
	transform: translateY(-1px) !important;
}

.sgmtvl-story-share-option span {
	display: none !important;
}

@media (max-width: 640px) {
	.sgmtvl-story-share-menu {
		padding: 20px 14px 14px !important;
		border-radius: 18px !important;
	}
	.sgmtvl-story-share-menu h3 {
		font-size: 29px !important;
	}
	.sgmtvl-story-share-menu__header p {
		font-size: 12px !important;
	}
	.sgmtvl-story-share-option strong {
		font-size: 15px !important;
	}
}
