/* Watch Live watch page (/watch-live/{id}) — player, then tags + title +
   actions. Markup: shared/_watch_live_detail.php. The play button comes from
   components/watch-live-card.css. */

.wlive-watch {
	max-width: 64rem;
	margin: 0 auto;
	padding-top: 1.25rem;
}

.m-wlive-page .wlive-watch {
	padding: 0.875rem 0.875rem 0;
}

/* ── Back link ── */
.wlive-back {
	display: inline-flex;
	align-items: center;
	gap: 0.125rem;
	margin: 0 0 0.875rem -0.25rem;
	color: var(--text-secondary);
	font-size: 0.8125rem;
	font-weight: 600;
	text-decoration: none;
	transition: color 0.2s ease;
}

.wlive-back iconify-icon {
	font-size: 1.25rem;
}

@media (hover: hover) {
	.wlive-back:hover {
		color: var(--gold-text);
	}
}

/* ── Player: 16:9 embed, link-out poster, or empty note ── */
.wlive-player {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: 0.875rem;
	overflow: hidden;
	background: #000;
	box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.45);
}

.wlive-player-embed iframe,
.wlive-player-embed video,
.wlive-player-embed object,
.wlive-player-embed embed {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.wlive-player-poster {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #1a0533 0%, #0a0a26 100%) center / cover no-repeat;
}

.wlive-player-poster .watch-live-play {
	width: 4rem;
	height: 4rem;
	font-size: 1.875rem;
}

@media (hover: hover) {
	.wlive-player-poster:hover .watch-live-play {
		transform: scale(1.1);
	}
}

.wlive-player-empty {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 1rem;
	text-align: center;
	color: var(--text-secondary);
	font-size: 0.875rem;
}

/* ── Tags · title · subtitle ── */
.wlive-meta {
	padding: 1.125rem 0.125rem 0;
}

.wlive-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 0.625rem;
}

.wlive-tag {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.25rem 0.625rem;
	border-radius: 62.4375rem;
	background: var(--bg-card);
	border: 0.0625rem solid var(--border);
	color: var(--gold-text);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.wlive-tag--live {
	background: var(--red);
	border-color: var(--red);
	color: #fff;
	border-radius: 0.3125rem;
	letter-spacing: 0.1em;
}

.wlive-tag-dot {
	width: 0.375rem;
	height: 0.375rem;
	border-radius: 50%;
	background: #fff;
	animation: live-pulse 1.4s ease-in-out infinite;
}

.wlive-title {
	margin: 0;
	color: var(--text-primary);
	font-size: 1.625rem;
	font-weight: 800;
	line-height: 1.25;
}

.wlive-subtitle {
	margin: 0.375rem 0 0;
	color: var(--gold-text);
	font-size: 0.9375rem;
	font-weight: 600;
}

/* ── Actions ── */
.wlive-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.625rem;
	margin-top: 1.125rem;
}

.wlive-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 2.75rem;
	padding: 0 1.25rem;
	border-radius: 0.625rem;
	font-size: 0.875rem;
	font-weight: 700;
	text-decoration: none;
	transition: filter 0.2s ease, transform 0.15s ease;
}

.wlive-btn iconify-icon {
	font-size: 1.25rem;
}

.wlive-btn:active {
	transform: scale(0.97);
}

.wlive-btn--primary {
	background: var(--gold-gradient);
	color: var(--text-on-gold);
	box-shadow: var(--shadow-glow);
}

.wlive-btn--whatsapp {
	background: #25D366;
	color: #fff;
}

@media (hover: hover) {
	.wlive-btn:hover {
		filter: brightness(1.08);
	}
}

/* ── Phones: full-width buttons, slightly smaller title ── */
.m-wlive-page .wlive-title {
	font-size: 1.3125rem;
}

.m-wlive-page .wlive-actions {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
}

/* Full-width shell (layouts/mobile.css) on a tablet: cap the column and let the
   buttons sit side by side again. */
@media (min-width: 48rem) {
	.m-wlive-page .wlive-watch {
		padding: 1.25rem 1.5rem 0;
	}

	.m-wlive-page .wlive-actions {
		display: flex;
	}
}
