:root {
	--goa-player-ink: #111111;
	--goa-player-paper: #ffffff;
	--goa-player-accent: #2b4b3a;
	--goa-player-muted: rgba(255, 255, 255, 0.72);
}

.goa-secure-player {
	width: 100%;
	max-width: 100%;
	margin: 28px 0;
	font-family: inherit;
	user-select: none;
	-webkit-user-select: none;
}

.goa-secure-player__stage {
	position: relative;
	overflow: hidden;
	background: #000;
	aspect-ratio: 16 / 9;
}

.goa-secure-player--audio .goa-secure-player__stage {
	aspect-ratio: auto;
	min-height: 92px;
	display: flex;
	align-items: flex-end;
	background: var(--goa-player-ink);
}

.goa-secure-player__media,
.goa-secure-player__poster,
.goa-secure-player__vimeo-frame {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: #000;
	border: 0;
}

.goa-secure-player__poster {
	position: absolute;
	inset: 0;
}

.goa-secure-player__poster-placeholder {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, #233c30, #111);
}

.goa-secure-player__vimeo-frame {
	position: absolute;
	inset: 0;
	z-index: 5;
}

.goa-secure-player--audio .goa-secure-player__media {
	position: absolute;
	inset: 0;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.goa-secure-player__big-play,
.goa-secure-player__vimeo-trigger {
	position: absolute;
	inset: 0;
	z-index: 3;
	width: 100%;
	height: 100%;
	border: 0;
	padding: 0;
	background: transparent;
	cursor: pointer;
}

.goa-secure-player__big-play {
	inset: 50% auto auto 50%;
	transform: translate(-50%, -50%);
	width: 78px;
	height: 78px;
	border: 2px solid rgba(255, 255, 255, 0.92);
	border-radius: 999px;
	background: rgba(17, 17, 17, 0.16);
	backdrop-filter: blur(3px);
	transition: transform 180ms ease, background 180ms ease, opacity 180ms ease;
}

.goa-secure-player__big-play:hover,
.goa-secure-player__big-play:focus-visible {
	transform: translate(-50%, -50%) scale(1.05);
	background: rgba(17, 17, 17, 0.28);
	outline: none;
}

.goa-secure-player__big-play span,
.goa-secure-player__vimeo-triangle {
	position: absolute;
	top: 50%;
	left: 53%;
	transform: translate(-50%, -50%);
	width: 0;
	height: 0;
	border-top: 11px solid transparent;
	border-bottom: 11px solid transparent;
	border-left: 17px solid #fff;
}

.goa-secure-player__vimeo-ring {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 78px;
	height: 78px;
	border: 2px solid rgba(255, 255, 255, 0.94);
	border-radius: 999px;
	background: rgba(17, 17, 17, 0.18);
	backdrop-filter: blur(3px);
	transition: transform 180ms ease, background 180ms ease;
}

.goa-secure-player__vimeo-trigger:hover .goa-secure-player__vimeo-ring,
.goa-secure-player__vimeo-trigger:focus-visible .goa-secure-player__vimeo-ring {
	transform: translate(-50%, -50%) scale(1.05);
	background: rgba(17, 17, 17, 0.30);
}

.goa-secure-player__vimeo-trigger:focus-visible {
	outline: 2px solid #fff;
	outline-offset: -4px;
}

.goa-secure-player.is-playing .goa-secure-player__big-play {
	opacity: 0;
	pointer-events: none;
}

.goa-secure-player.is-loaded .goa-secure-player__poster,
.goa-secure-player.is-loaded .goa-secure-player__poster-placeholder,
.goa-secure-player.is-loaded .goa-secure-player__vimeo-trigger {
	opacity: 0;
	pointer-events: none;
}

.goa-secure-player__controls {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 4;
	display: grid;
	grid-template-columns: auto auto minmax(80px, 1fr) auto auto minmax(55px, 92px) auto;
	align-items: center;
	gap: 10px;
	padding: 13px 16px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0));
	color: #fff;
}

.goa-secure-player--audio .goa-secure-player__controls {
	position: relative;
	width: 100%;
	background: transparent;
}

.goa-secure-player__button {
	width: 34px;
	height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	padding: 0;
	background: transparent;
	color: #fff;
	cursor: pointer;
	border-radius: 999px;
}

.goa-secure-player__button:hover,
.goa-secure-player__button:focus-visible {
	background: rgba(255, 255, 255, 0.14);
	outline: none;
}

.goa-icon {
	display: block;
	position: relative;
	width: 18px;
	height: 18px;
}

.goa-icon--play::before {
	content: "";
	position: absolute;
	top: 2px;
	left: 5px;
	border-top: 7px solid transparent;
	border-bottom: 7px solid transparent;
	border-left: 11px solid currentColor;
}

.is-playing .goa-icon--play::before {
	left: 3px;
	top: 2px;
	width: 4px;
	height: 14px;
	border: 0;
	border-left: 4px solid currentColor;
	border-right: 4px solid currentColor;
}

.goa-icon--volume::before {
	content: "";
	position: absolute;
	left: 1px;
	top: 6px;
	width: 5px;
	height: 6px;
	background: currentColor;
}

.goa-icon--volume::after {
	content: "";
	position: absolute;
	left: 5px;
	top: 3px;
	width: 9px;
	height: 12px;
	border-right: 2px solid currentColor;
	border-radius: 50%;
}

.is-muted .goa-icon--volume::after {
	left: 10px;
	top: 2px;
	width: 2px;
	height: 15px;
	border: 0;
	background: currentColor;
	transform: rotate(45deg);
}

.goa-icon--fullscreen::before,
.goa-icon--fullscreen::after {
	content: "";
	position: absolute;
	inset: 1px;
	border: 2px solid currentColor;
}

.goa-icon--fullscreen::before {
	border-right-color: transparent;
	border-bottom-color: transparent;
}

.goa-icon--fullscreen::after {
	border-left-color: transparent;
	border-top-color: transparent;
}

.goa-secure-player__time {
	font-size: 12px;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	color: var(--goa-player-muted);
	white-space: nowrap;
}

.goa-secure-player input[type="range"] {
	appearance: none;
	-webkit-appearance: none;
	height: 4px;
	margin: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.35);
	cursor: pointer;
}

.goa-secure-player input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 13px;
	height: 13px;
	border-radius: 50%;
	background: #fff;
	border: 0;
}

.goa-secure-player input[type="range"]::-moz-range-thumb {
	width: 13px;
	height: 13px;
	border-radius: 50%;
	background: #fff;
	border: 0;
}

.goa-secure-player__title {
	margin-top: 12px;
	font-size: 0.95rem;
	line-height: 1.4;
}

.goa-player-notice {
	padding: 16px;
	border: 1px dashed #b8b8b8;
	background: #fafafa;
}

@media (max-width: 680px) {
	.goa-secure-player__controls {
		grid-template-columns: auto auto minmax(60px, 1fr) auto auto;
		gap: 7px;
		padding: 10px;
	}

	.goa-secure-player__volume,
	.goa-secure-player__duration {
		display: none;
	}

	.goa-secure-player__big-play,
	.goa-secure-player__vimeo-ring {
		width: 62px;
		height: 62px;
	}
}
