:root {
	--maxw: 500px;
	--bg: #000;
	--ink: #fff;
	--line: #e2e8f0;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
/* ponytail: block copy + mobile long-press callout; JS in footer blocks the right-click/long-press menu */
body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
img { -webkit-user-drag: none; user-drag: none; }
body {
	font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
	color: var(--ink);
	background: #000;
}
.app {
	position: relative; /* containing block for the header overlay */
	max-width: var(--maxw);
	margin: 0 auto;
	background: var(--bg);
	/* header floats over the top, banner pinned to the bottom, video centered between. */
	min-height: 100svh;
	display: flex;
	flex-direction: column;
}
/* Transparent overlay: only the logo/text floats over the top of the content. */
.site-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 10;
	background: transparent;
	display: flex;
	align-items: center;
	justify-content: center;
	height: clamp(48px, 12vw, 56px);
}
.content { margin-block: auto; }   /* center the video between the top and the bottom banner */
.site-header .logo { font-weight: 800; font-size: clamp(1.05rem, 4vw, 1.2rem); color: var(--ink); text-decoration: none; }
.site-header img { max-height: 100%; width: auto; display: block; }

/* Homepage: nothing but the logo, centered dead-center on screen. */
body.home .content { display: none; }
body.home .site-header { position: static; margin: auto; height: auto; }
body.home .site-header img { max-height: 40svh; max-width: 80%; width: auto; }

/* GM Media player: plugin owns the ratio via aspect-ratio: var(--gmwp-ratio) (W/H).
   Cap the WIDTH from that ratio so any orientation fits one screen height with no
   black bars — a tall portrait shrinks in width instead of overflowing. svh keeps
   the banner visible even when the mobile address bar is shown; old browsers that
   ignore the calc fall back to full-width (video-first). */
.gmwp-player {
	position: relative; /* positioning context for the pre-play overlay */
	width: 100%;
	max-width: min( 100%, calc( 80svh * var(--gmwp-ratio, 16 / 9) ) );
	margin-inline: auto;
	background: #000;
}

/* ---- Pre-play ad overlay (theme feature, sits over the player before play) ---- */
/* z-index above the plugin's own play button (.gmwp-play-btn, z-index 10) so the
   ad covers it — otherwise the plugin button pokes through the ad overlay. */
.gm-preplay { position: absolute; inset: 0; z-index: 20; background: #000; }
.gm-preplay__ad { position: absolute; inset: 0; display: block; }
.gm-preplay__ad img { width: 100%; height: 100%; object-fit: contain; display: block; }
.gm-preplay__skip {
	position: absolute;
	right: 10px;
	bottom: 10px;
	z-index: 6;
	background: rgba(0, 0, 0, .72);
	color: #fff;
	border: 0;
	border-radius: 8px;
	padding: 9px 14px;
	font-size: .9rem;
	font-weight: 700;
	cursor: pointer;
}

/* ---- Client banner (theme feature) — pinned to the bottom, in flow (never overlaps the video) ---- */
.banner {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #000;
}
.banner img { max-width: 100%; max-height: 20svh; height: auto; display: block; }
