/* BetWinner Nigeria: slot pages — hero with the players' rating, the player and the details card,
   the review in a white card, similar slots. Loaded only there. */

/* Hero ---------------------------------------------------------------------- */

.shero {
	padding-top: 22px;
	padding-bottom: 80px;
	background: var(--ink-dark);
}

.shero__title {
	margin: 10px 0 8px;
	font-size: 36px;
	line-height: 1.15;
	letter-spacing: -.02em;
}

.shero__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	font-size: 13px;
	color: var(--mint);
}

.shero__meta > * {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

/* A small dot between the parts of the line. */
.shero__meta > * + *::before {
	content: "";
	width: 3px;
	height: 3px;
	margin-right: 4px;
	border-radius: 50%;
	background: var(--g5);
}

.shero__meta .i {
	font-size: 16px;
}

.shero__prov {
	padding: 3px 10px;
	border-radius: 999px;
	background: rgb(255 255 255 / .08);
	color: #fff;
}

.shero__prov:hover {
	background: rgb(255 255 255 / .14);
}

.shero__fact {
	color: var(--new);
}

/* Players' rating in the line under the title (base styles in site.css): on the dark green. */
.shero .rate {
	gap: 4px 8px;
	color: var(--mint);
}

.shero .rate__label,
.shero .rate__score b {
	font-size: 13px;
	color: #fff;
}

.shero .rate__star {
	width: 22px;
	height: 22px;
	color: rgb(255 255 255 / .22);
}

.shero .rate__star svg,
.shero .rate__fill svg {
	width: 18px;
	height: 18px;
}

.shero .rate__star:hover,
.shero .rate__star:hover ~ .rate__star,
.shero .rate__star.is-picked,
.shero .rate__star.is-picked ~ .rate__star {
	color: var(--y);
}

.shero .rate__msg {
	flex-basis: auto;
	color: var(--y);
}

.shero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 24px;
	align-items: start;
	margin-top: 20px;
}

/* Player: the panes stand on a 16:9 stage, the tabs under it. --------------------- */

.splayer {
	overflow: hidden;
	border: 1px solid rgb(255 255 255 / .08);
	border-radius: 18px;
	background: #0c1310;
}

.splayer__pane {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	aspect-ratio: 16 / 9;
	padding: 20px;
	overflow: hidden;
	background: radial-gradient(ellipse at 50% 40%, var(--g7), var(--g9) 75%);
	text-align: center;
}

.splayer__pane::before {
	content: "";
	position: absolute;
	right: -80px;
	bottom: -90px;
	width: 240px;
	height: 240px;
	border: 30px solid rgb(255 209 0 / .07);
	border-radius: 50%;
}

/* With the script one pane shows at a time; without it they stand one under another. */
.js [data-player] .splayer__pane:not(.is-on) {
	display: none;
}

.splayer__cover {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: .5;
}

.splayer__label {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	padding: 2px 10px;
	border-radius: 999px;
	background: rgb(0 0 0 / .35);
	font-size: 12px;
	color: #fff;
}

.splayer__start {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.splayer__name {
	font-size: 32px;
	line-height: 1.1;
	color: #fff;
	text-shadow: 0 2px 14px rgb(0 0 0 / .45);
}

.splayer__play {
	display: grid;
	place-items: center;
	width: 84px;
	height: 84px;
	border-radius: 50%;
	background: var(--y);
	box-shadow: 0 0 0 8px rgb(255 209 0 / .18);
	font-size: 30px;
	color: var(--y-ink);
	transition: background-color .15s, transform .15s;
}

.splayer__play:hover {
	background: var(--y-hover);
	transform: scale(1.05);
}

/* The running demo or video fills the stage. */
.splayer__frame {
	position: absolute;
	inset: 0;
	z-index: 3;
	width: 100%;
	height: 100%;
	border: 0;
	background: #000;
}

.splayer__full {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 4;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 32px;
	padding: 0 12px;
	border: 0;
	border-radius: 8px;
	background: rgb(0 0 0 / .6);
	font: 700 12px/1 var(--font);
	color: #fff;
	cursor: pointer;
}

.splayer__full .i {
	font-size: 16px;
}

.splayer__media {
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: #000;
}

.splayer__shots {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	width: 92%;
	margin: 0;
	padding: 0;
	list-style: none;
}

.splayer__shots img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 10px;
}

.splayer__shots a:hover img {
	outline: 2px solid var(--y);
}

.splayer__tabs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	padding: 10px 12px;
	border-top: 1px solid rgb(255 255 255 / .08);
}

.splayer__tabs button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 34px;
	padding: 0 12px;
	border: 1px solid rgb(255 255 255 / .12);
	border-radius: 8px;
	background: transparent;
	font: 600 13px/1 var(--font);
	color: var(--mint);
	cursor: pointer;
}

.splayer__tabs button:hover {
	color: #fff;
}

.splayer__tabs button[aria-selected="true"] {
	border-color: var(--g6);
	background: var(--g6);
	color: #fff;
}

.splayer__tabs .splayer__alt {
	height: auto;
	margin-left: auto;
	padding: 0;
	border: 0;
	font-size: 12px;
	font-weight: 400;
	text-decoration: underline;
}

.no-js .splayer__tabs {
	display: none;
}

/* The «Play» bar under the player. */
.splay {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 14px;
	padding: 16px 18px;
	border-radius: 16px;
	background: var(--g7);
}

.splay b {
	display: block;
	font-size: 18px;
}

.splay small {
	display: block;
	font-size: 13px;
	color: var(--mint);
}

.splay .splay__btn {
	flex: none;
	height: 56px;
	padding: 0 28px;
	border-radius: 12px;
	font-size: 17px;
}

/* Slot details. */
.sdet {
	padding: 18px;
	border: 1px solid rgb(255 255 255 / .08);
	border-radius: 18px;
	background: var(--g8);
}

.sdet__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
}

.sdet__head b {
	font-size: 16px;
}

.sdet__head span {
	font-size: 12px;
	color: var(--mint);
}

.sdet__rtp {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 10px;
	padding: 12px 14px;
	border-radius: 12px;
	background: rgb(255 255 255 / .05);
}

.sdet__rtp small {
	display: block;
	font-size: 12px;
	color: var(--mint);
}

.sdet__rtp b {
	font-size: 32px;
	line-height: 1;
	color: var(--y);
}

.sdet__rtp > small {
	max-width: 130px;
	text-align: right;
}

.sdet__list {
	margin: 6px 0 0;
}

.sdet__list div {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 9px 0;
	border-top: 1px solid rgb(255 255 255 / .08);
	font-size: 14px;
}

.sdet__list div:first-child {
	border-top: 0;
}

.sdet__list dt {
	color: var(--mint);
}

.sdet__list dd {
	margin: 0;
	font-weight: 700;
	text-align: right;
}

.vbars {
	display: inline-flex;
	gap: 3px;
	margin-right: 8px;
	vertical-align: -2px;
}

.vbars i {
	width: 6px;
	height: 14px;
	border-radius: 2px;
	background: rgb(255 255 255 / .16);
}

.vbars .is-on {
	background: var(--y);
}

/* The review: one white card -------------------------------------------------- */

.slotp__main > * {
	margin-bottom: 24px;
}

.slotp__review {
	padding: 32px;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: #fff;
	line-height: 1.7;
	color: var(--text);
}

.slotp__review > h2 {
	margin-top: 36px;
}

.slotp__review > :first-child {
	margin-top: 0;
}

.slotp__review .sec__head {
	margin-bottom: 12px;
}

/* Similar slots. */
.ssim__grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Screenshots in a window over the page: the picture, arrows, zoom, close. ------ */

.lbox-open {
	overflow: hidden;
}

.lbox {
	position: fixed;
	inset: 0;
	z-index: 1000;
	background: rgb(6 15 11 / .94);
	color: #fff;
}

.lbox[hidden] {
	display: none;
}

.lbox__stage {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	overflow: hidden;
	touch-action: none;
}

.lbox__img {
	max-width: calc(100vw - 180px);
	max-height: calc(100vh - 160px);
	border-radius: 12px;
	box-shadow: 0 30px 80px rgb(0 0 0 / .5);
	cursor: zoom-in;
	transition: transform .2s;
	user-select: none;
	-webkit-user-drag: none;
}

.lbox.is-zoomed .lbox__img {
	cursor: grab;
}

.lbox.is-dragging .lbox__img {
	cursor: grabbing;
	transition: none;
}

/* Controls stay readable over a zoomed picture: dark plates above it. */
.lbox__btn,
.lbox__bar,
.lbox__cap {
	z-index: 2;
}

.lbox__btn {
	position: absolute;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid rgb(255 255 255 / .14);
	border-radius: 50%;
	background: rgb(8 20 14 / .78);
	font-size: 22px;
	color: #fff;
	cursor: pointer;
	transition: background-color .15s, color .15s;
}

.lbox__btn:hover,
.lbox__btn:focus-visible {
	background: var(--y);
	color: var(--y-ink);
}

.lbox__close {
	top: 18px;
	right: 18px;
}

.lbox__prev,
.lbox__next {
	top: 50%;
	margin-top: -24px;
}

.lbox__prev {
	left: 24px;
}

.lbox__next {
	right: 24px;
}

.lbox__bar {
	position: absolute;
	bottom: 20px;
	left: 50%;
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 6px 6px 6px 16px;
	border: 1px solid rgb(255 255 255 / .14);
	border-radius: 999px;
	background: rgb(8 20 14 / .82);
	font-size: 14px;
	font-weight: 700;
	transform: translateX(-50%);
}

.lbox__count {
	min-width: 48px;
}

.lbox__bar .lbox__btn {
	position: static;
	width: 36px;
	height: 36px;
	border: 0;
	background: rgb(255 255 255 / .1);
	font-size: 18px;
}

.lbox__cap {
	position: absolute;
	top: 24px;
	left: 24px;
	max-width: calc(100% - 120px);
	margin: 0;
	padding: 4px 12px;
	overflow: hidden;
	border-radius: 999px;
	background: rgb(8 20 14 / .72);
	font-size: 14px;
	white-space: nowrap;
	text-overflow: ellipsis;
	color: #dfe9e3;
}

/* Tablets and phones ------------------------------------------------------- */

@media (max-width: 1100px) {
	.shero__grid {
		grid-template-columns: minmax(0, 1fr) 300px;
	}
}

@media (max-width: 980px) {
	.shero {
		padding-bottom: 66px;
	}

	.shero__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
	}

	.shero__title {
		font-size: 30px;
	}
}

@media (max-width: 640px) {
	.shero__title {
		font-size: 26px;
	}

	.shero__meta > * + *::before {
		content: none;
	}

	/* Bigger stars for fingers. */
	.shero .rate__star {
		width: 28px;
		height: 28px;
	}

	.shero .rate__star svg,
	.shero .rate__fill svg {
		width: 24px;
		height: 24px;
	}

	.splayer__name {
		font-size: 22px;
	}

	.splayer__play {
		width: 64px;
		height: 64px;
		font-size: 24px;
	}

	.splayer__shots {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	/* The picture takes the width; the arrows sit by the zoom buttons at the bottom. */
	.lbox__img {
		max-width: 100vw;
		max-height: calc(100vh - 170px);
		border-radius: 0;
	}

	.lbox__prev,
	.lbox__next {
		top: auto;
		bottom: 20px;
		margin: 0;
	}

	.lbox__prev {
		left: 16px;
	}

	.lbox__next {
		right: 16px;
	}

	.lbox__cap {
		left: 16px;
		max-width: calc(100% - 96px);
		border-radius: 12px;
		white-space: normal;
	}

	.splay {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
	}

	.splay .splay__btn {
		height: 52px;
	}

	.slotp__review {
		padding: 20px;
	}

	.ssim__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
