/**
 * Reels — isolated full-screen vertical video experience.
 * Loaded only by template-reels.php.
 */
	:root {
		--ec18-reel-black: #050607;
		--ec18-reel-panel: #111318;
		--ec18-reel-panel-2: #191c22;
		--ec18-reel-line: rgba(255,255,255,.18);
		--ec18-reel-text: #fff;
		--ec18-reel-muted: rgba(255,255,255,.74);
		--ec18-reel-accent: var(--ec18-accent, #ffd82f);
		--ec18-reel-danger: var(--ec18-danger, #ef4444);
	}

	html:has(body.ec18-reels-screen),
	body.ec18-reels-screen {
		width: 100%;
		height: 100%;
		margin: 0 !important;
		padding: 0 !important;
		overflow: hidden !important;
		background: var(--ec18-reel-black) !important;
		overscroll-behavior: none;
	}

	body.ec18-reels-screen #wpadminbar { display: none !important; }
	html:has(body.ec18-reels-screen) { margin-top: 0 !important; }
	body.ec18-reels-screen::before,
	body.ec18-reels-screen::after { display: none !important; }

	.ec18-reels-app {
		position: fixed;
		inset: 0;
		z-index: 100000;
		width: 100vw;
		height: 100dvh;
		background: var(--ec18-reel-black);
		color: var(--ec18-reel-text);
		font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
		isolation: isolate;
	}

	.ec18-reels-feed {
		position: absolute;
		inset: 0;
		height: 100dvh;
		overflow-x: hidden;
		overflow-y: auto;
		scroll-snap-type: y mandatory;
		scroll-behavior: smooth;
		overscroll-behavior-y: contain;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}
	.ec18-reels-feed::-webkit-scrollbar { display: none; }

	.ec18-reel {
		position: relative;
		display: grid;
		place-items: center;
		width: 100%;
		height: 100dvh;
		min-height: 100dvh;
		scroll-snap-align: start;
		scroll-snap-stop: always;
		background: var(--ec18-reel-black);
		overflow: hidden;
	}

	.ec18-reel__stage {
		position: relative;
		width: min(100vw, 560px);
		height: 100dvh;
		max-height: 100dvh;
		background: #000;
		overflow: hidden;
		box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 16px 60px rgba(0,0,0,.42);
	}

	.ec18-reel__poster,
	.ec18-reel__media {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		background: #000;
	}
	.ec18-reel__poster { z-index: 1; transition: opacity .18s ease; }
	.ec18-reel__poster img {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: contain;
		background: #000;
	}
	.ec18-reel.is-media-ready .ec18-reel__poster { opacity: 0; pointer-events: none; }

	.ec18-reel__media { z-index: 2; display: grid; place-items: center; }
	.ec18-reel__media video,
	.ec18-reel__media iframe {
		display: block;
		width: 100%;
		height: 100%;
		margin: 0;
		padding: 0;
		border: 0;
		background: #000;
	}
	.ec18-reel__media video { object-fit: contain; }
	.ec18-reel__media iframe { object-fit: fill; }

	.ec18-reel__bottom-gradient {
		position: absolute;
		z-index: 4;
		inset: auto 0 0;
		height: min(46vh, 390px);
		pointer-events: none;
		background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.18) 18%, rgba(0,0,0,.78) 74%, rgba(0,0,0,.93) 100%);
	}

	.ec18-reels-topbar {
		position: fixed;
		z-index: 40;
		top: max(12px, env(safe-area-inset-top));
		left: max(12px, env(safe-area-inset-left));
		right: max(12px, env(safe-area-inset-right));
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		pointer-events: none;
	}
	.ec18-reels-brand,
	.ec18-reels-topbar__actions { display: flex; align-items: center; gap: 8px; pointer-events: auto; }
	.ec18-reels-brand {
		min-height: 40px;
		padding: 6px 10px;
		border: 1px solid rgba(255,255,255,.18);
		border-radius: 10px;
		background: rgba(7,8,10,.82);
		box-shadow: 0 3px 10px rgba(0,0,0,.22);
		font-size: 12px;
		font-weight: 800;
		letter-spacing: .06em;
		text-transform: uppercase;
	}
	.ec18-reels-brand img { display: block; width: auto; max-width: 92px; max-height: 26px; object-fit: contain; }
	.ec18-reels-brand img + span { padding-left: 7px; border-left: 1px solid rgba(255,255,255,.22); }

	.ec18-reels-topbutton,
	.ec18-reels-nav button {
		display: inline-grid;
		place-items: center;
		width: 46px;
		height: 46px;
		margin: 0;
		padding: 0;
		border: 1px solid rgba(255,255,255,.24);
		border-radius: 11px;
		background: rgba(7,8,10,.88);
		box-shadow: 0 4px 12px rgba(0,0,0,.24);
		color: #fff;
		font-size: 18px;
		line-height: 1;
		text-decoration: none;
		cursor: pointer;
		transition: background .15s ease, border-color .15s ease, transform .15s ease, color .15s ease;
	}
	@media (hover:hover) {
		.ec18-reels-topbutton:hover,
		.ec18-reels-nav button:hover {
			border-color: var(--ec18-reel-accent);
			background: #17191e;
			color: var(--ec18-reel-accent);
			transform: translateY(-1px);
		}
	}
	.ec18-reels-topbutton:focus-visible,
	.ec18-reels-nav button:focus-visible,
	.ec18-reel-action:focus-visible,
	.ec18-reel__detail:focus-visible { outline: 3px solid var(--ec18-reel-accent); outline-offset: 2px; }

	.ec18-reels-nav {
		position: fixed;
		z-index: 42;
		top: 50%;
		right: max(12px, env(safe-area-inset-right));
		transform: translateY(-50%);
		display: flex;
		flex-direction: column;
		gap: 8px;
		pointer-events: auto;
	}
	.ec18-reels-nav button { width: 50px; height: 50px; font-size: 20px; }
	.ec18-reels-nav button:disabled { opacity: .32; cursor: default; transform: none; color: #fff; border-color: rgba(255,255,255,.14); }

	.ec18-reel__actions {
		position: absolute;
		z-index: 12;
		right: max(12px, env(safe-area-inset-right));
		top: calc(50% + 78px);
		bottom: auto;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 9px;
	}
	.ec18-reel-action {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 3px;
		min-width: 50px;
		margin: 0;
		padding: 0;
		border: 0;
		background: transparent;
		color: #fff;
		text-decoration: none;
		cursor: pointer;
	}
	.ec18-reel-action__icon {
		display: grid;
		place-items: center;
		width: 48px;
		height: 48px;
		border: 1px solid rgba(255,255,255,.22);
		border-radius: 14px;
		background: rgba(7,8,10,.78);
		box-shadow: 0 4px 12px rgba(0,0,0,.24);
		font-size: 20px;
		transition: transform .15s ease, border-color .15s ease, background .15s ease, color .15s ease;
	}
	.ec18-reel-action__count { min-height: 15px; color: #fff; font-size: 11px; line-height: 1.2; font-weight: 800; text-shadow: 0 1px 4px #000; }
	@media (hover:hover) {
		.ec18-reel-action:hover .ec18-reel-action__icon { transform: translateY(-2px); border-color: var(--ec18-reel-accent); background: #15171c; }
	}
	.ec18-reel-action--like.is-active .ec18-reel-action__icon,
	.ec18-reel-action--bookmark.is-active .ec18-reel-action__icon { border-color: var(--ec18-reel-accent); color: var(--ec18-reel-accent); }
	.ec18-reel-action--dislike.is-active .ec18-reel-action__icon { border-color: var(--ec18-reel-danger); color: var(--ec18-reel-danger); }

	.ec18-reel__meta {
		position: absolute;
		z-index: 10;
		left: max(16px, env(safe-area-inset-left));
		right: 84px;
		bottom: calc(max(52px, env(safe-area-inset-bottom) + 38px));
		max-width: 430px;
		text-shadow: 0 2px 7px rgba(0,0,0,.82);
	}
	.ec18-reel__title { margin: 0 0 5px; color: #fff; font-size: clamp(18px, 4vw, 24px); line-height: 1.2; font-weight: 850; letter-spacing: -.02em; }
	.ec18-reel__title a { color: inherit; text-decoration: none; }
	.ec18-reel__submeta { margin-bottom: 7px; color: var(--ec18-reel-muted); font-size: 12px; font-weight: 650; }
	.ec18-reel__description { display: -webkit-box; margin: 0 0 7px; overflow: hidden; color: rgba(255,255,255,.9); font-size: 13px; line-height: 1.45; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
	.ec18-reel__taxonomy { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0 0 8px; }
	.ec18-reel__taxonomy a { color: #fff; font-size: 12px; font-weight: 750; text-decoration: none; }
	@media (hover:hover) { .ec18-reel__taxonomy a:hover { color: var(--ec18-reel-accent); } }
	.ec18-reel__detail { display: inline-flex; align-items: center; gap: 5px; min-height: 30px; padding: 5px 9px; border: 1px solid rgba(255,255,255,.2); border-radius: 7px; background: rgba(0,0,0,.52); color: #fff; font-size: 12px; font-weight: 800; text-decoration: none; }

	.ec18-reel__progress {
		position: absolute;
		z-index: 15;
		left: 0;
		right: 0;
		bottom: max(0px, env(safe-area-inset-bottom));
		height: 26px;
		padding: 0 10px;
		pointer-events: auto;
	}
	.ec18-reel__progress[hidden] { display: none !important; }
	.ec18-reel__progress input[type="range"] {
		--reel-played: 0%;
		position: absolute;
		left: 10px;
		right: 10px;
		bottom: 3px;
		width: calc(100% - 20px);
		height: 18px;
		margin: 0;
		padding: 0;
		appearance: none;
		-webkit-appearance: none;
		border: 0;
		outline: 0;
		background: linear-gradient(to right, var(--ec18-reel-accent) 0 var(--reel-played), rgba(255,255,255,.35) var(--reel-played) 100%) center / 100% 3px no-repeat;
		cursor: pointer;
	}
	.ec18-reel__progress input[type="range"]::-webkit-slider-thumb { width: 10px; height: 10px; appearance: none; -webkit-appearance: none; border: 2px solid #fff; border-radius: 50%; background: var(--ec18-reel-accent); box-shadow: 0 1px 4px rgba(0,0,0,.55); }
	.ec18-reel__progress input[type="range"]::-moz-range-thumb { width: 8px; height: 8px; border: 2px solid #fff; border-radius: 50%; background: var(--ec18-reel-accent); box-shadow: 0 1px 4px rgba(0,0,0,.55); }
	.ec18-reel__time { position: absolute; right: 12px; bottom: 18px; display: none; padding: 2px 5px; border-radius: 4px; background: rgba(0,0,0,.78); color: #fff; font-size: 10px; font-variant-numeric: tabular-nums; }
	.ec18-reel__progress.is-seeking .ec18-reel__time { display: inline-block; }
	@media (hover:hover) { .ec18-reel__progress:hover .ec18-reel__time { display: inline-block; } }

	.ec18-reel__center-play {
		position: absolute;
		z-index: 13;
		top: 50%;
		left: 50%;
		width: 66px;
		height: 66px;
		transform: translate(-50%,-50%);
		border: 2px solid rgba(255,255,255,.78);
		border-radius: 50%;
		background: rgba(0,0,0,.74);
		color: #fff;
		font-size: 24px;
		cursor: pointer;
	}
	.ec18-reel__center-play[hidden] { display: none !important; }

	.ec18-reel__loading {
		position: absolute;
		z-index: 14;
		top: 50%; left: 50%;
		width: 34px; height: 34px;
		transform: translate(-50%,-50%);
	}
	.ec18-reel__loading[hidden] { display: none !important; }
	.ec18-reel__loading > span:first-child { display: block; width: 100%; height: 100%; border: 3px solid rgba(255,255,255,.24); border-top-color: #fff; border-radius: 50%; animation: ec18-reel-spin .7s linear infinite; }
	@keyframes ec18-reel-spin { to { transform: rotate(360deg); } }

	.ec18-reel__error {
		position: absolute;
		z-index: 16;
		top: 50%; left: 50%;
		width: min(82%, 340px);
		transform: translate(-50%,-50%);
		padding: 16px;
		border: 1px solid rgba(255,255,255,.2);
		border-radius: 12px;
		background: #111318;
		box-shadow: 0 8px 26px rgba(0,0,0,.4);
		text-align: center;
	}
	.ec18-reel__error[hidden] { display: none !important; }
	.ec18-reel__error strong { display: block; margin-bottom: 12px; font-size: 15px; }
	.ec18-reel__error div { display: flex; justify-content: center; gap: 8px; }
	.ec18-reel__error button { min-height: 38px; padding: 7px 11px; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; background: #1d2026; color: #fff; font-weight: 750; cursor: pointer; }

	.ec18-reels-app.is-iframe [data-reels-sound] { visibility: hidden; pointer-events: none; }

	.ec18-reel-comments { position: fixed; z-index: 80; inset: 0; pointer-events: none; visibility: hidden; }
	.ec18-reel-comments.is-open { pointer-events: auto; visibility: visible; }
	.ec18-reel-comments__backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(0,0,0,.58); opacity: 0; transition: opacity .18s ease; cursor: default; }
	.ec18-reel-comments.is-open .ec18-reel-comments__backdrop { opacity: 1; }
	.ec18-reel-comments__panel {
		position: absolute;
		top: 0; right: 0; bottom: 0;
		width: min(430px, 100vw);
		padding: max(10px, env(safe-area-inset-top)) 0 max(10px, env(safe-area-inset-bottom));
		background: #f7f7f8;
		color: #15171b;
		box-shadow: -12px 0 36px rgba(0,0,0,.3);
		transform: translateX(102%);
		transition: transform .2s ease;
		display: flex;
		flex-direction: column;
	}
	.ec18-reel-comments.is-open .ec18-reel-comments__panel { transform: translateX(0); }
	.ec18-reel-comments__panel > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 54px; padding: 8px 14px; border-bottom: 1px solid #dddfe3; }
	.ec18-reel-comments__panel > header > div { display: flex; align-items: baseline; gap: 7px; }
	.ec18-reel-comments__panel > header strong { font-size: 17px; }
	.ec18-reel-comments__panel > header span { color: #6c7078; font-size: 12px; font-weight: 700; }
	.ec18-reel-comments__panel > header button { width: 36px; height: 36px; border: 1px solid #d5d7db; border-radius: 9px; background: #fff; color: #16181c; cursor: pointer; }
	.ec18-reel-comments__content { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 12px 14px; }
	.ec18-reel-comments__loading,
	.ec18-reel-comments__empty,
	.ec18-reel-comments__closed { padding: 24px 10px; color: #686c74; text-align: center; }
	.ec18-reel-comment { display: grid; grid-template-columns: 36px minmax(0,1fr); gap: 10px; padding: 11px 0; border-bottom: 1px solid #e0e2e5; }
	.ec18-reel-comment__avatar img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
	.ec18-reel-comment__body { min-width: 0; }
	.ec18-reel-comment__body header { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
	.ec18-reel-comment__body header strong { overflow: hidden; color: #15171b; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
	.ec18-reel-comment__body header time { flex: none; color: #7a7e86; font-size: 10px; }
	.ec18-reel-comment__body p { margin: 0; color: #34373d; font-size: 13px; line-height: 1.45; }
	.ec18-reel-comment-form { position: sticky; bottom: 0; margin-top: 12px; padding-top: 12px; border-top: 1px solid #dddfe3; background: #f7f7f8; }
	.ec18-reel-comment-form__identity { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
	.ec18-reel-comment-form label span { display: block; margin-bottom: 3px; color: #545860; font-size: 11px; font-weight: 750; }
	.ec18-reel-comment-form input,
	.ec18-reel-comment-form textarea { width: 100%; border: 1px solid #cfd2d7; border-radius: 8px; background: #fff; color: #17191d; font: inherit; }
	.ec18-reel-comment-form input { height: 38px; padding: 7px 9px; }
	.ec18-reel-comment-form textarea { min-height: 76px; padding: 9px; resize: vertical; }
	.ec18-reel-comment-form__footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
	.ec18-reel-comment-form__footer span { color: #6b6f77; font-size: 11px; }
	.ec18-reel-comment-form__footer button { min-height: 38px; padding: 7px 13px; border: 1px solid #111318; border-radius: 8px; background: #111318; color: #fff; font-weight: 800; cursor: pointer; }

	.ec18-reels-toast {
		position: fixed;
		z-index: 100;
		left: 50%;
		bottom: calc(max(36px, env(safe-area-inset-bottom) + 22px));
		max-width: min(88vw, 420px);
		transform: translate(-50%, 12px);
		padding: 9px 12px;
		border: 1px solid rgba(255,255,255,.18);
		border-radius: 8px;
		background: #15171c;
		color: #fff;
		box-shadow: 0 6px 20px rgba(0,0,0,.35);
		font-size: 12px;
		font-weight: 700;
		opacity: 0;
		pointer-events: none;
		transition: opacity .16s ease, transform .16s ease;
	}
	.ec18-reels-toast.is-visible { opacity: 1; transform: translate(-50%,0); }

	.ec18-reels-empty {
		position: absolute;
		z-index: 20;
		top: 50%; left: 50%;
		width: min(88vw, 460px);
		transform: translate(-50%,-50%);
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 10px;
		padding: 24px;
		border: 1px solid rgba(255,255,255,.18);
		border-radius: 14px;
		background: #111318;
		color: #fff;
		text-align: center;
	}
	.ec18-reels-empty span { color: rgba(255,255,255,.7); font-size: 13px; }
	.ec18-reels-empty a { padding: 8px 12px; border-radius: 8px; background: var(--ec18-reel-accent); color: #111; font-weight: 850; text-decoration: none; }
	.ec18-reels-sentinel { width: 1px; height: 1px; }

	@media (max-width: 700px) {
		.ec18-reel__stage { width: 100vw; box-shadow: none; }
		.ec18-reels-nav { top: 42%; right: max(8px, env(safe-area-inset-right)); }
		.ec18-reel__actions { top: calc(42% + 70px); }
		.ec18-reels-nav button { width: 44px; height: 44px; border-radius: 11px; font-size: 18px; }
		.ec18-reel__actions { right: max(8px, env(safe-area-inset-right)); gap: 7px; }
		.ec18-reel-action { min-width: 46px; }
		.ec18-reel-action__icon { width: 44px; height: 44px; border-radius: 13px; font-size: 18px; }
		.ec18-reel-action__count { font-size: 10px; }
		.ec18-reel__meta { left: max(12px, env(safe-area-inset-left)); right: 68px; }
		.ec18-reel__description { font-size: 12px; }
		.ec18-reels-brand span { display: none; }
		.ec18-reels-brand img + span { border: 0; }
		.ec18-reels-brand { min-height: 42px; padding: 6px 9px; }
		.ec18-reels-topbutton { width: 42px; height: 42px; }
		.ec18-reel-comments__panel {
			top: auto;
			left: 0;
			right: 0;
			bottom: 0;
			width: 100%;
			height: min(72dvh, 620px);
			padding-top: 0;
			border-radius: 16px 16px 0 0;
			box-shadow: 0 -12px 36px rgba(0,0,0,.32);
			transform: translateY(102%);
		}
		.ec18-reel-comments.is-open .ec18-reel-comments__panel { transform: translateY(0); }
	}

	@media (max-height: 700px) {
		.ec18-reels-nav { top: 38%; }
		.ec18-reel__actions { top: calc(38% + 70px); bottom: auto; gap: 5px; }
		.ec18-reel-action__icon { width: 41px; height: 41px; font-size: 17px; }
		.ec18-reel__meta { bottom: calc(max(45px, env(safe-area-inset-bottom) + 32px)); }
		.ec18-reel__description { -webkit-line-clamp: 1; }
		.ec18-reel__taxonomy { display: none; }
	}

	@media (max-width: 390px), (max-height: 650px) {
		.ec18-reel-action--dislike { display: none; }
		.ec18-reel__description { display: none; }
		.ec18-reel__title { font-size: 17px; }
	}

	@media (prefers-reduced-motion: reduce) {
		.ec18-reels-feed { scroll-behavior: auto; }
		.ec18-reel__poster,
		.ec18-reels-topbutton,
		.ec18-reels-nav button,
		.ec18-reel-action__icon,
		.ec18-reel-comments__backdrop,
		.ec18-reel-comments__panel,
		.ec18-reels-toast { transition: none !important; }
		.ec18-reel__loading > span:first-child { animation-duration: 1.2s; }
	}

/* v2.19.8 — Reel navigation mode + draggable iframe player ---------------- */
.ec18-reels-mode{
	position:fixed;z-index:44;top:max(12px,env(safe-area-inset-top));left:50%;display:inline-flex;align-items:center;gap:4px;
	min-height:42px;padding:4px;border:1px solid rgba(255,255,255,.2);border-radius:11px;background:#111318;
	box-shadow:0 5px 16px rgba(0,0,0,.28);transform:translateX(-50%);pointer-events:auto
}
.ec18-reels-mode button{
	display:inline-flex;min-width:92px;height:34px;align-items:center;justify-content:center;gap:7px;margin:0;padding:0 10px;
	border:1px solid transparent;border-radius:7px;background:transparent;color:rgba(255,255,255,.72);
	font:800 10px/1 Inter,sans-serif;letter-spacing:.01em;white-space:nowrap;cursor:pointer;
	transition:background .15s ease,border-color .15s ease,color .15s ease,transform .15s ease
}
.ec18-reels-mode button i{font-size:14px}
.ec18-reels-mode button.is-active,.ec18-reels-mode button[aria-pressed="true"]{
	border-color:color-mix(in srgb,var(--ec18-reel-accent) 70%,#fff);background:var(--ec18-reel-accent);color:#111318
}
@media(hover:hover){.ec18-reels-mode button:not(.is-active):hover{border-color:rgba(255,255,255,.24);background:#20242b;color:#fff;transform:translateY(-1px)}}
.ec18-reels-mode button:focus-visible{outline:3px solid var(--ec18-reel-accent);outline-offset:2px}

.ec18-reel-iframe-frame{
	--reel-iframe-x:0px;--reel-iframe-y:0px;position:relative;width:calc(100% - 10px);height:calc(100% - 10px);
	border:1px solid rgba(255,255,255,.24);border-radius:12px;background:#000;box-shadow:0 12px 34px rgba(0,0,0,.42);
	overflow:hidden;transform:translate3d(var(--reel-iframe-x),var(--reel-iframe-y),0);will-change:transform
}
.ec18-reel-iframe-frame.is-dragging{border-color:var(--ec18-reel-accent);box-shadow:0 14px 38px rgba(0,0,0,.48)}
.ec18-reel-iframe-frame__viewport{position:absolute;z-index:1;inset:0;background:#000}
.ec18-reel-iframe-frame__viewport iframe{display:block;width:100%!important;height:100%!important;border:0!important;background:#000}
.ec18-reel-iframe-frame__handle{
	position:absolute;z-index:5;top:max(62px,calc(env(safe-area-inset-top) + 52px));left:50%;display:flex;min-height:34px;align-items:center;gap:7px;
	max-width:calc(100% - 96px);padding:4px 5px 4px 8px;border:1px solid rgba(255,255,255,.24);border-radius:9px;
	background:rgba(11,13,17,.92);color:#fff;box-shadow:0 5px 16px rgba(0,0,0,.32);transform:translateX(-50%);
	font:800 10px/1 Inter,sans-serif;cursor:grab;user-select:none;touch-action:none
}
.ec18-reel-iframe-frame.is-dragging .ec18-reel-iframe-frame__handle{cursor:grabbing;border-color:var(--ec18-reel-accent)}
.ec18-reel-iframe-frame__grip{display:grid;width:24px;height:24px;flex:0 0 24px;place-items:center;border-radius:6px;background:#242832;color:var(--ec18-reel-accent);font-size:11px}
.ec18-reel-iframe-frame__label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ec18-reel-iframe-frame__handle button{
	display:grid;width:25px;height:25px;flex:0 0 25px;place-items:center;margin:0 0 0 2px;padding:0;border:1px solid rgba(255,255,255,.2);
	border-radius:6px;background:#242832;color:#fff;font-size:11px;cursor:pointer
}
.ec18-reel-iframe-frame__handle button:hover,.ec18-reel-iframe-frame__handle button:focus-visible{border-color:var(--ec18-reel-accent);color:var(--ec18-reel-accent);outline:0}

@media(max-width:700px){
	.ec18-reels-mode{top:max(9px,env(safe-area-inset-top));min-height:40px;padding:3px}
	.ec18-reels-mode button{min-width:42px;width:42px;height:32px;padding:0;font-size:0}
	.ec18-reels-mode button i{font-size:15px}
	.ec18-reels-mode button span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
	.ec18-reel-iframe-frame{width:calc(100% - 6px);height:calc(100% - 6px);border-radius:9px}
	.ec18-reel-iframe-frame__handle{top:max(58px,calc(env(safe-area-inset-top) + 48px));max-width:calc(100% - 76px);min-height:32px;padding:3px 4px 3px 6px}
	.ec18-reel-iframe-frame__label{display:none}
}
@media(max-width:390px),(max-height:650px){
	.ec18-reel-iframe-frame__handle{top:max(52px,calc(env(safe-area-inset-top) + 42px))}
}
@media(prefers-reduced-motion:reduce){.ec18-reels-mode button{transition:none!important;transform:none!important}}


/* v2.19.10 — Dedicated Reel center advertisement -------------------------- */
.ec18-reel-ad{
  position:fixed;z-index:38;inset:0;display:grid;place-items:center;padding:max(70px,calc(env(safe-area-inset-top) + 58px)) max(76px,calc(env(safe-area-inset-right) + 66px)) max(72px,calc(env(safe-area-inset-bottom) + 58px)) max(18px,env(safe-area-inset-left));
  visibility:hidden;opacity:0;pointer-events:none
}
.ec18-reel-ad.is-visible{visibility:visible;opacity:1}
.ec18-reel-ad__card{
  width:max-content;max-width:min(336px,calc(100vw - 112px));max-height:calc(100dvh - 150px);overflow:visible;
  border:1px solid rgba(255,255,255,.24);border-radius:12px;background:#111318;box-shadow:0 16px 40px rgba(0,0,0,.48);color:#fff;pointer-events:auto;transform-origin:center center
}
.ec18-reel-ad__bar{display:flex;min-height:34px;align-items:center;justify-content:space-between;gap:10px;padding:4px 5px 4px 10px;border-bottom:1px solid rgba(255,255,255,.12);color:rgba(255,255,255,.64);font:850 9px/1 Inter,sans-serif;letter-spacing:.08em;text-transform:uppercase}
.ec18-reel-ad__close{display:inline-flex;min-width:68px;height:27px;align-items:center;justify-content:center;gap:5px;margin:0;padding:0 9px;border:1px solid rgba(255,255,255,.2);border-radius:7px;background:#252a33;color:#fff;font:800 10px/1 Inter,sans-serif;cursor:pointer;transition:background .14s ease,border-color .14s ease,transform .14s ease}
.ec18-reel-ad__close:hover,.ec18-reel-ad__close:focus-visible{border-color:var(--ec18-reel-accent);background:#313845;color:#fff;transform:translateY(-1px);outline:0}
.ec18-reel-ad__close:focus-visible{outline:3px solid var(--ec18-reel-accent);outline-offset:2px}
.ec18-reel-ad__content{display:grid;max-width:100%;max-height:calc(100dvh - 190px);place-items:center;overflow:auto;background:#08090b;border-radius:0 0 11px 11px}
.ec18-reel-ad__content>*{max-width:100%!important}
.ec18-reel-ad__content img{display:block;width:auto;max-width:100%!important;height:auto!important}
.ec18-reel-ad__content iframe{display:block;max-width:100%!important;border:0}
.ec18-reel-ad.effect-none .ec18-reel-ad__card{animation:none}
.ec18-reel-ad.effect-fade .ec18-reel-ad__card{animation:ec18-reel-ad-fade .22s ease both}
.ec18-reel-ad.effect-slide-up .ec18-reel-ad__card{animation:ec18-reel-ad-slide-up .28s cubic-bezier(.2,.72,.22,1) both}
.ec18-reel-ad.effect-slide-down .ec18-reel-ad__card{animation:ec18-reel-ad-slide-down .28s cubic-bezier(.2,.72,.22,1) both}
.ec18-reel-ad.effect-bomber .ec18-reel-ad__card{animation:ec18-reel-ad-bomber .32s cubic-bezier(.18,.85,.28,1.18) both}
.ec18-reel-ad.effect-flash .ec18-reel-ad__card{animation:ec18-reel-ad-flash .36s ease both}
@keyframes ec18-reel-ad-fade{from{opacity:0}to{opacity:1}}
@keyframes ec18-reel-ad-slide-up{from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:translateY(0)}}
@keyframes ec18-reel-ad-slide-down{from{opacity:0;transform:translateY(-28px)}to{opacity:1;transform:translateY(0)}}
@keyframes ec18-reel-ad-bomber{0%{opacity:0;transform:scale(.82)}65%{opacity:1;transform:scale(1.045)}100%{opacity:1;transform:scale(1)}}
@keyframes ec18-reel-ad-flash{0%{opacity:0}38%{opacity:1;filter:brightness(1.22)}62%{opacity:.72;filter:brightness(1)}100%{opacity:1;filter:none}}
@media(max-width:520px){
  .ec18-reel-ad{padding-right:max(72px,calc(env(safe-area-inset-right) + 62px));padding-left:max(10px,env(safe-area-inset-left))}
  .ec18-reel-ad__card{max-width:min(300px,calc(100vw - 94px));border-radius:10px}
  .ec18-reel-ad__content{border-radius:0 0 9px 9px}
  .ec18-reel-ad__close{min-width:40px;width:40px;padding:0;font-size:0}
  .ec18-reel-ad__close i{font-size:12px}
}
@media(max-width:360px){.ec18-reel-ad__card{max-width:calc(100vw - 86px)}}
@media(prefers-reduced-motion:reduce){
  .ec18-reel-ad.effect-slide-up .ec18-reel-ad__card,.ec18-reel-ad.effect-slide-down .ec18-reel-ad__card,.ec18-reel-ad.effect-bomber .ec18-reel-ad__card,.ec18-reel-ad.effect-flash .ec18-reel-ad__card{animation:ec18-reel-ad-fade .16s linear both}
  .ec18-reel-ad__close{transition:none!important;transform:none!important}
}
