.olos-player {
	--olos-player-accent: #8d1612;
	--olos-player-accent-hover: #6c0f0c;
	--olos-player-icon-color: #fff;
	--olos-player-controls-bg: #000;
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border: 1px solid rgba(243, 235, 220, .18);
	background: #080808;
	color: #fff;
}

.olos-player__frame,
.olos-player__mount,
.olos-player__mount iframe,
.olos-player__poster {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.olos-player__poster {
	z-index: 1;
	display: block;
	object-fit: cover;
}

.olos-player__mount {
	z-index: 2;
}

.olos-player__mount iframe {
	display: block;
	border: 0;
}

.olos-player__big-play {
	position: absolute;
	z-index: 4;
	top: 50%;
	left: 50%;
	display: inline-grid;
	width: 72px;
	height: 58px;
	padding: 0;
	transform: translate(-50%, -50%);
	place-items: center;
	border: 0;
	border-radius: 0;
	background: var(--olos-player-accent);
	color: #fff;
	cursor: pointer;
	transition: background-color .18s ease, transform .18s ease;
}

.olos-player__big-play:hover,
.olos-player__big-play:focus-visible {
	background: var(--olos-player-accent-hover);
	transform: translate(-50%, -50%) scale(1.05);
}

.olos-player__big-play svg {
	width: 28px;
	height: 28px;
	fill: currentColor;
}

.olos-player__controls {
	position: absolute;
	z-index: 5;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 54px;
	padding: 8px 12px;
	background: var(--olos-player-controls-bg);
	box-shadow: 0 -10px 0 var(--olos-player-controls-bg);
	opacity: 0;
	pointer-events: none;
	transform: translateY(100%);
	transition: opacity .18s ease, transform .18s ease;
}

.olos-player.is-started:hover .olos-player__controls,
.olos-player.is-started:focus-within .olos-player__controls,
.olos-player.is-paused .olos-player__controls {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.olos-player.is-started .olos-player__big-play,
.olos-player.is-started .olos-player__poster {
	opacity: 0;
	pointer-events: none;
}

.olos-player__control {
	display: inline-grid;
	flex: 0 0 38px;
	width: 38px;
	height: 38px;
	padding: 0;
	place-items: center;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--olos-player-icon-color);
	cursor: pointer;
}

.olos-player__control:hover,
.olos-player__control:focus-visible {
	background: var(--olos-player-accent);
}

.olos-player__control svg {
	width: 21px;
	height: 21px;
	fill: currentColor;
}

.olos-player__settings {
	position: relative;
	display: flex;
	flex: 0 0 38px;
}

.olos-player__settings-menu {
	position: absolute;
	right: 0;
	bottom: calc(100% + 12px);
	width: 180px;
	padding: 6px;
	border: 1px solid rgba(255, 255, 255, .24);
	background: #000;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .42);
}

.olos-player__settings-menu[hidden] {
	display: none;
}

.olos-player__settings-option {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	width: 100%;
	min-height: 40px;
	padding: 8px 10px;
	border: 0;
	background: transparent;
	color: #fff;
	cursor: pointer;
	font-family: Montserrat, Arial, sans-serif;
	font-size: 12px;
	letter-spacing: 0;
	text-align: left;
}

.olos-player__settings-option:hover,
.olos-player__settings-option:focus-visible,
.olos-player__settings-option.is-active {
	background: var(--olos-player-accent);
}

.olos-player__settings-option strong {
	font-size: 11px;
	font-weight: 700;
}

.olos-player__pause-icon {
	display: none;
}

.olos-player.is-playing .olos-player__play-icon {
	display: none;
}

.olos-player.is-playing .olos-player__pause-icon {
	display: block;
}

.olos-player__progress {
	flex: 1 1 auto;
	min-width: 70px;
	accent-color: var(--olos-player-accent);
	cursor: pointer;
}

.olos-player__time {
	flex: 0 0 auto;
	color: rgba(255, 255, 255, .9);
	font-family: Montserrat, Arial, sans-serif;
	font-size: 11px;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0;
	white-space: nowrap;
}

.olos-player__notice {
	position: absolute;
	inset: 0;
	display: grid;
	padding: 24px;
	place-items: center;
	color: rgba(243, 235, 220, .72);
	font: 600 13px/1.5 Montserrat, Arial, sans-serif;
	text-align: center;
}

@media (max-width: 600px) {
	.olos-player__big-play {
		width: 58px;
		height: 48px;
	}

	.olos-player__controls {
		gap: 5px;
		padding-inline: 6px;
	}

	.olos-player__time {
		display: none;
	}
}
