/* CompSkins Extra front end.
   Uses CompKit Skins' colours when the theme is active, and falls back to a
   dark default anywhere else. Plain text with line icons; only buttons get
   a shape. */

:root {
	--cse-accent: var(--ck-accent, #7c5cff);
	--cse-accent-2: var(--ck-accent-2, #00c2ff);
	--cse-surface: var(--ck-surface, #15161c);
	--cse-surface-2: var(--ck-surface-2, #1d1f27);
	--cse-line: var(--ck-line, rgba(255, 255, 255, .1));
	--cse-text: var(--ck-text, #f4f5f8);
	--cse-muted: var(--ck-muted, #9aa0ad);
	--cse-good: var(--ck-instant, #2ad37a);
	--cse-live: var(--ck-urgent, #ff3b4d);
	--cse-radius: var(--ck-radius, 14px);
	--cse-heading: var(--ck-font-heading, inherit);
}

.cse-icon {
	flex: none;
	height: 1.1em;
	vertical-align: -.18em;
	width: 1.1em;
}

.cse-h {
	align-items: center;
	color: var(--cse-text);
	display: flex;
	font-family: var(--cse-heading);
	font-size: 22px;
	gap: 10px;
	margin: 0 0 16px;
}

.cse-h .cse-icon {
	color: var(--cse-accent-2);
}

.cse-btn {
	align-items: center;
	background: var(--cse-accent);
	border: 0;
	border-radius: 10px;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-weight: 700;
	gap: 8px;
	justify-content: center;
	line-height: 1.2;
	padding: 12px 18px;
	text-decoration: none;
}

.cse-btn:hover,
.cse-btn:focus-visible {
	filter: brightness(1.1);
}

.cse-btn--ghost {
	background: transparent;
	box-shadow: inset 0 0 0 1px var(--cse-line);
	color: var(--cse-text);
}

.cse-empty,
.cse-muted {
	color: var(--cse-muted);
}

.cse-more {
	align-items: center;
	color: var(--cse-accent-2);
	display: inline-flex;
	font-weight: 700;
	gap: 6px;
	text-decoration: none;
}

/* Sections added above the footer. */
.cse-section {
	padding: 40px 16px;
}

.cse-section__inner {
	margin: 0 auto;
	max-width: 1200px;
}

.cse-section__head {
	align-items: baseline;
	display: flex;
	gap: 16px;
	justify-content: space-between;
}

/* Live dot. */
.cse-live-dot {
	animation: cse-pulse 1.6s ease-in-out infinite;
	background: var(--cse-live);
	border-radius: 50%;
	box-shadow: 0 0 0 0 color-mix(in srgb, var(--cse-live) 60%, transparent);
	display: inline-block;
	flex: none;
	height: 9px;
	width: 9px;
}

@keyframes cse-pulse {
	50% { box-shadow: 0 0 0 6px transparent; }
}

@media (prefers-reduced-motion: reduce) {
	.cse-live-dot { animation: none; }
}

/* Strip under the header. */
.cse-strip {
	background: var(--cse-surface-2);
	border-bottom: 1px solid var(--cse-line);
	color: var(--cse-text);
	font-size: 14px;
}

.cse-strip__inner {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	justify-content: center;
	margin: 0 auto;
	max-width: 1200px;
	padding: 9px 16px;
}

.cse-strip .cse-icon {
	color: var(--cse-accent-2);
}

.cse-strip__when {
	color: var(--cse-muted);
}

.cse-strip__count {
	font-variant-numeric: tabular-nums;
	font-weight: 700;
}

.cse-strip__link {
	align-items: center;
	background: none;
	border: 0;
	color: var(--cse-accent-2);
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-weight: 700;
	gap: 5px;
	padding: 0;
	text-decoration: none;
}

.cse-strip.is-live {
	background: color-mix(in srgb, var(--cse-live) 14%, var(--cse-surface-2));
}

/* Floating live player. */
.cse-player {
	background: var(--cse-surface);
	border: 1px solid var(--cse-line);
	border-radius: var(--cse-radius);
	bottom: 16px;
	box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
	color: var(--cse-text);
	overflow: hidden;
	position: fixed;
	transition: width .25s ease;
	width: 340px;
	z-index: 9990;
}

.cse-player--right { right: 16px; }
.cse-player--left { left: 16px; }

.cse-player.is-big {
	width: min(720px, calc(100vw - 32px));
}

.cse-player[hidden],
.cse-player-reopen[hidden] {
	display: none;
}

.cse-player__bar {
	align-items: center;
	display: flex;
	font-size: 13px;
	gap: 8px;
	padding: 8px 8px 8px 12px;
}

.cse-player__bar strong {
	flex: 1;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.cse-player__btn {
	align-items: center;
	background: none;
	border: 0;
	border-radius: 8px;
	color: var(--cse-muted);
	cursor: pointer;
	display: inline-flex;
	height: 30px;
	justify-content: center;
	padding: 0;
	width: 30px;
}

.cse-player__btn:hover {
	background: var(--cse-surface-2);
	color: var(--cse-text);
}

.cse-player__btn svg {
	height: 16px;
	width: 16px;
}

.cse-player__screen,
.cse-video {
	aspect-ratio: 16 / 9;
	background: #000;
	position: relative;
}

.cse-player__screen iframe,
.cse-video iframe {
	border: 0;
	height: 100%;
	inset: 0;
	position: absolute;
	width: 100%;
}

/* Waiting screen: Live now is on but no stream link is set. */
.cse-player__wait {
	align-items: center;
	background:
		radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--cse-live) 18%, transparent), transparent 60%),
		var(--cse-surface-2);
	display: flex;
	flex-direction: column;
	gap: 4px;
	inset: 0;
	justify-content: center;
	overflow: hidden;
	padding: 12px 16px;
	position: absolute;
	text-align: center;
}

/* A soft band sweeping across, like a screen waiting for a feed. */
.cse-player__wait::before {
	animation: cse-sweep 3.2s ease-in-out infinite;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .06), transparent);
	content: "";
	inset: 0 auto 0 -60%;
	position: absolute;
	width: 60%;
}

.cse-player__wait strong {
	font-family: var(--cse-heading);
	font-size: 15px;
	line-height: 1.25;
	position: relative;
}

.cse-player__wait span:last-child {
	color: var(--cse-muted);
	font-size: 12px;
	line-height: 1.35;
	position: relative;
}

.cse-player__signal {
	color: var(--cse-text);
	display: grid;
	height: 56px;
	margin-bottom: 6px;
	place-items: center;
	position: relative;
	width: 56px;
}

.cse-player__signal svg {
	background: var(--cse-live);
	border-radius: 50%;
	box-sizing: content-box;
	height: 20px;
	padding: 9px;
	position: relative;
	width: 20px;
}

.cse-player__signal i {
	animation: cse-ring 2.4s ease-out infinite;
	border: 2px solid var(--cse-live);
	border-radius: 50%;
	inset: 0;
	opacity: 0;
	position: absolute;
}

.cse-player__signal i:nth-child(2) { animation-delay: .8s; }
.cse-player__signal i:nth-child(3) { animation-delay: 1.6s; }

.cse-player.is-big .cse-player__wait strong { font-size: 20px; }
.cse-player.is-big .cse-player__wait span:last-child { font-size: 14px; }

@keyframes cse-ring {
	0% { opacity: .7; transform: scale(.7); }
	100% { opacity: 0; transform: scale(1.9); }
}

@keyframes cse-sweep {
	0% { left: -60%; }
	100% { left: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.cse-player__wait::before,
	.cse-player__signal i { animation: none; }
}

.cse-player-reopen {
	align-items: center;
	background: var(--cse-surface);
	border: 1px solid var(--cse-line);
	border-radius: 10px;
	bottom: 16px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
	color: var(--cse-text);
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	gap: 8px;
	padding: 10px 14px;
	position: fixed;
	z-index: 9990;
}

.cse-player-reopen--right { right: 16px; }
.cse-player-reopen--left { left: 16px; }

@media (max-width: 600px) {
	.cse-player,
	.cse-player.is-big {
		bottom: 10px;
		left: 10px;
		right: 10px;
		width: auto;
	}
}

/* Recording and results. */
.cse-recording,
.cse-product-winners,
.cse-notify-closed {
	clear: both;
	margin: 32px 0;
}

.cse-video {
	border-radius: var(--cse-radius);
	overflow: hidden;
}

.cse-results {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
}

.cse-result {
	background: var(--cse-surface);
	border: 1px solid var(--cse-line);
	border-radius: var(--cse-radius);
	overflow: hidden;
}

.cse-result .cse-video {
	border-radius: 0;
}

.cse-result__img img {
	aspect-ratio: 16 / 9;
	display: block;
	object-fit: cover;
	width: 100%;
}

.cse-result__body {
	padding: 16px 18px 18px;
}

.cse-result__body h3 {
	font-size: 18px;
	margin: 0 0 10px;
}

.cse-result__body h3 a {
	color: var(--cse-text);
	text-decoration: none;
}

.cse-result__date,
.cse-result__winner {
	align-items: center;
	display: flex;
	gap: 8px;
	margin: 0 0 6px;
}

.cse-result__date {
	color: var(--cse-muted);
	font-size: 13px;
}

.cse-result__winner .cse-icon {
	color: var(--cse-accent-2);
}

.cse-result__winner span {
	color: var(--cse-muted);
}

.cse-pages {
	margin-top: 24px;
	text-align: center;
}

.cse-pages .page-numbers {
	color: var(--cse-muted);
	padding: 6px 10px;
	text-decoration: none;
}

.cse-pages .current {
	border-bottom: 2px solid var(--cse-accent);
	color: var(--cse-text);
}

/* Winners. */
.cse-winners {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
}

.cse-winners--strip {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cse-winner {
	background: var(--cse-surface);
	border: 1px solid var(--cse-line);
	border-radius: var(--cse-radius);
	margin: 0;
	overflow: hidden;
}

.cse-winner__photo img {
	aspect-ratio: 1;
	display: block;
	object-fit: cover;
	width: 100%;
}

.cse-winner__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 14px 16px 16px;
}

.cse-winner__name {
	color: var(--cse-text);
	font-family: var(--cse-heading);
	font-size: 18px;
}

.cse-winner__prize {
	align-items: center;
	color: var(--cse-muted);
	display: flex;
	font-size: 14px;
	gap: 7px;
}

.cse-winner__prize .cse-icon {
	color: var(--cse-accent-2);
}

.cse-winner__prize a {
	color: inherit;
}

.cse-winner__quote {
	border: 0;
	color: var(--cse-text);
	font-size: 15px;
	font-style: italic;
	margin: 4px 0 0;
	padding: 0;
}

.cse-winner__quote::before { content: "\201C"; }
.cse-winner__quote::after { content: "\201D"; }

.cse-winner__date {
	color: var(--cse-muted);
	font-size: 12px;
}

@media (max-width: 900px) {
	.cse-winners--strip {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Age check. */
.cse-age {
	align-items: center;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	background: rgba(5, 6, 10, .82);
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 16px;
	position: fixed;
	z-index: 99999;
}

.cse-age[hidden],
.cse-cookies[hidden] {
	display: none;
}

.cse-age__box {
	background: var(--cse-surface);
	border: 1px solid var(--cse-line);
	border-radius: var(--cse-radius);
	color: var(--cse-text);
	max-width: 420px;
	padding: 28px 24px;
	text-align: center;
	width: 100%;
}

.cse-age__mark {
	color: var(--cse-accent-2);
	display: block;
	font-family: var(--cse-heading);
	font-size: 44px;
	font-weight: 800;
	line-height: 1;
	margin-bottom: 8px;
}

.cse-age__box h2 {
	color: var(--cse-text);
	font-size: 22px;
	margin: 0 0 8px;
}

.cse-age__box p {
	color: var(--cse-muted);
	margin: 0 0 20px;
}

.cse-age__buttons {
	display: grid;
	gap: 10px;
}

/* Cookie banner. */
.cse-cookies {
	align-items: center;
	background: var(--cse-surface);
	border: 1px solid var(--cse-line);
	border-radius: var(--cse-radius);
	bottom: 16px;
	box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
	color: var(--cse-text);
	display: flex;
	gap: 14px;
	left: 50%;
	max-width: 760px;
	padding: 14px 16px;
	position: fixed;
	transform: translateX(-50%);
	width: calc(100% - 32px);
	z-index: 99990;
}

.cse-cookies > .cse-icon {
	color: var(--cse-accent-2);
	height: 26px;
	width: 26px;
}

.cse-cookies p {
	flex: 1;
	font-size: 14px;
	margin: 0;
}

.cse-cookies a {
	color: var(--cse-accent-2);
}

.cse-cookies__buttons {
	display: flex;
	flex: none;
	gap: 8px;
}

@media (max-width: 600px) {
	.cse-cookies {
		align-items: stretch;
		bottom: 10px;
		flex-direction: column;
		width: calc(100% - 20px);
	}

	.cse-cookies > .cse-icon {
		display: none;
	}

	.cse-cookies__buttons .cse-btn {
		flex: 1;
	}
}

/* Odds without the theme. */
.cse-odds {
	color: var(--cse-muted);
}

/* Notify me. */
.cse-notify {
	align-items: center;
	background: var(--cse-surface);
	border: 1px solid var(--cse-line);
	border-radius: var(--cse-radius);
	display: grid;
	gap: 16px 32px;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	padding: 24px;
}

.cse-notify .cse-h {
	margin-bottom: 6px;
}

.cse-notify__text p {
	color: var(--cse-muted);
	margin: 0;
}

.cse-notify__row {
	display: flex;
	gap: 8px;
}

.cse-notify__row input {
	background: var(--cse-surface-2);
	border: 1px solid var(--cse-line);
	border-radius: 10px;
	color: var(--cse-text);
	flex: 1;
	font: inherit;
	min-width: 0;
	padding: 11px 14px;
}

.cse-notify__consent {
	align-items: flex-start;
	color: var(--cse-muted);
	display: flex;
	font-size: 13px;
	gap: 8px;
	margin-top: 10px;
}

.cse-notify__consent input {
	accent-color: var(--cse-accent);
	margin-top: 3px;
}

.cse-notify__msg {
	font-size: 14px;
	margin: 8px 0 0;
	min-height: 1em;
}

.cse-notify__msg.is-good { color: var(--cse-good); }
.cse-notify__msg.is-bad { color: var(--cse-live); }

@media (max-width: 760px) {
	.cse-notify {
		grid-template-columns: 1fr;
		padding: 20px 16px;
	}

	.cse-notify__row {
		flex-direction: column;
	}
}

/* Refer a friend. */
.cse-refer__lead {
	margin: 0 0 16px;
}

.cse-refer__link {
	display: flex;
	gap: 8px;
	margin-bottom: 12px;
}

.cse-refer__link input {
	background: var(--cse-surface-2);
	border: 1px solid var(--cse-line);
	border-radius: 10px;
	color: var(--cse-text);
	flex: 1;
	font: inherit;
	min-width: 0;
	padding: 11px 14px;
}

.cse-refer__share {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 22px;
	margin: 0 0 24px;
}

.cse-refer__share a {
	color: var(--cse-accent-2);
	font-weight: 700;
	text-decoration: none;
}

.cse-refer__stats {
	display: flex;
	gap: 40px;
}

.cse-stat {
	display: flex;
	flex-direction: column;
	gap: 3px;
	margin: 0;
}

.cse-stat span {
	color: var(--cse-muted);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.cse-stat strong {
	font-family: var(--cse-heading);
	font-size: 24px;
}

/* Recent entry note. */
.cse-toast {
	align-items: center;
	background: var(--cse-surface);
	border: 1px solid var(--cse-line);
	border-radius: var(--cse-radius);
	bottom: 16px;
	box-shadow: 0 14px 40px rgba(0, 0, 0, .4);
	color: var(--cse-text);
	display: flex;
	font-size: 13px;
	gap: 12px;
	max-width: 330px;
	opacity: 0;
	padding: 10px 34px 10px 10px;
	pointer-events: none;
	position: fixed;
	text-decoration: none;
	transform: translateY(12px);
	transition: opacity .3s ease, transform .3s ease;
	z-index: 9980;
}

.cse-toast--left { left: 16px; }
.cse-toast--right { right: 16px; }

.cse-toast.is-on {
	opacity: 1;
	pointer-events: auto;
	transform: none;
}

.cse-toast img {
	border-radius: 8px;
	flex: none;
	height: 48px;
	object-fit: cover;
	width: 48px;
}

.cse-toast b {
	display: block;
}

.cse-toast small {
	color: var(--cse-muted);
	display: block;
	margin-top: 2px;
}

.cse-toast__x {
	background: none;
	border: 0;
	color: var(--cse-muted);
	cursor: pointer;
	padding: 4px;
	position: absolute;
	right: 6px;
	top: 6px;
}

.cse-toast__x svg {
	height: 14px;
	width: 14px;
}

@media (max-width: 600px) {
	.cse-toast {
		bottom: 10px;
		left: 10px;
		max-width: none;
		right: 10px;
	}
}

/* Policies. */
.cse-policy-links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 20px;
	justify-content: center;
	padding: 14px 16px;
}

.cse-policy-links a {
	color: var(--cse-muted);
	font-size: 13px;
	text-decoration: none;
}

.cse-policy-links a:hover {
	color: var(--cse-text);
}

.cse-missing {
	background: color-mix(in srgb, #ffb020 25%, transparent);
	color: inherit;
	padding: 0 3px;
}

/* Policy pages: a comfortable reading width, and FAQs as an accordion. */
.cse-policy-text {
	font-size: 16px;
	line-height: 1.7;
	max-width: 820px;
}

.cse-policy-text h2 {
	font-family: var(--cse-heading);
	font-size: 22px;
	line-height: 1.3;
	margin: 40px 0 12px;
}

.cse-policy-text > h2:first-child,
.cse-policy-text > p:first-child + h2 {
	margin-top: 8px;
}

.cse-policy-text ul {
	margin: 0 0 1.2em 1.2em;
}

.cse-policy-text li {
	margin-bottom: 8px;
}

.cse-policy-text a {
	color: var(--cse-accent);
}

.cse-policy-text em:only-child {
	color: var(--cse-muted);
	font-size: 14px;
}

.cse-faq {
	display: grid;
	gap: 10px;
	max-width: 820px;
}

.cse-faq details {
	background: var(--cse-surface);
	border: 1px solid var(--cse-line);
	border-radius: var(--cse-radius);
	transition: border-color .2s;
}

.cse-faq details[open] {
	border-color: color-mix(in srgb, var(--cse-accent) 55%, var(--cse-line));
}

.cse-faq summary {
	align-items: center;
	cursor: pointer;
	display: flex;
	font-family: var(--cse-heading);
	font-size: 17px;
	font-weight: 700;
	gap: 16px;
	justify-content: space-between;
	list-style: none;
	padding: 18px 22px;
}

.cse-faq summary::-webkit-details-marker {
	display: none;
}

.cse-faq summary::after {
	border-bottom: 2px solid currentColor;
	border-right: 2px solid currentColor;
	content: "";
	flex: none;
	height: 9px;
	margin-top: -4px;
	transform: rotate(45deg);
	transition: transform .2s;
	width: 9px;
}

.cse-faq details[open] summary::after {
	margin-top: 4px;
	transform: rotate(-135deg);
}

.cse-faq__a {
	color: var(--cse-muted);
	padding: 0 22px 18px;
}

.cse-faq__a p:last-child {
	margin-bottom: 0;
}
