.slotmaru-freeslot-page {
	--free-slot-ink: #071525;
	--free-slot-muted: #5a6878;
	--free-slot-line: rgba(15, 155, 142, 0.18);
	--free-slot-teal: #0f9b8e;
	--free-slot-gold: #f5b43f;
	--free-slot-red: #e84a4a;
	--free-slot-surface: #ffffff;
	--free-slot-soft: #f5fbfa;
	max-width: 100%;
	overflow-x: hidden;
}

.slotmaru-freeslot-page, .slotmaru-freeslot-page * { box-sizing: border-box; }

.free-slot-hub {
	display: flex;
	flex-direction: column;
	gap: 18px;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	padding: 18px;
	background: var(--free-slot-surface);
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 8px;
	box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
	color: var(--free-slot-ink);
}

.free-slot-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 18px;
	align-items: stretch;
	min-width: 0;
	padding: 24px;
	min-height: 154px;
	overflow: hidden;
	border-radius: 8px;
	background:
		linear-gradient(120deg, rgba(245, 180, 63, 0.12), rgba(15, 155, 142, 0.16) 38%, rgba(232, 74, 74, 0.10)),
		#071525;
	color: #ffffff;
	border: 1px solid rgba(245, 180, 63, 0.28);
}

.free-slot-hero__copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}

.free-slot-hero__eyebrow,
.free-slot-section__head span {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	padding: 5px 9px;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.2;
	color: #fff5d9;
	background: rgba(245, 180, 63, 0.18);
	border: 1px solid rgba(245, 180, 63, 0.32);
	border-radius: 999px;
}

.free-slot-hero h2 {
	margin: 10px 0 8px;
	font-size: 30px;
	line-height: 1.18;
	font-weight: 900;
	color: #fff;
}

.free-slot-hero p {
	margin: 0;
	max-width: 680px;
	font-size: 14px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.82);
	word-break: keep-all;
}

.free-slot-hero__stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(84px, 1fr));
	gap: 10px;
	align-content: center;
	min-width: 330px;
}

.free-slot-hero__stats div {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 82px;
	padding: 13px 12px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 8px;
}

.free-slot-hero__stats strong {
	display: block;
	font-size: 24px;
	line-height: 1.15;
	color: #f8c256;
}

.free-slot-hero__stats span {
	margin-top: 6px;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.72);
}

.free-slot-provider-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	min-width: 0;
	padding: 12px;
	background: #f7fafb;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 8px;
}

.free-slot-provider-nav a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 36px;
	padding: 8px 12px;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.2;
	color: #223044;
	background: #fff;
	border: 1px solid rgba(15, 23, 42, 0.12);
	border-radius: 8px;
	text-decoration: none;
	transition: border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.free-slot-provider-nav a:hover,
.free-slot-provider-nav a:focus-visible,
.free-slot-provider-nav a.is-active {
	color: #071525;
	border-color: var(--free-slot-accent, var(--free-slot-gold));
	box-shadow: inset 0 -3px 0 var(--free-slot-accent, var(--free-slot-gold));
	transform: translateY(-1px);
}

.free-slot-provider-nav span {
	display: inline-flex;
	justify-content: center;
	min-width: 22px;
	padding: 2px 6px;
	font-size: 11px;
	color: #0f766e;
	background: #e7fffb;
	border-radius: 999px;
}

.free-slot-toolbar {
	display: grid;
	grid-template-columns: minmax(240px, 1fr) auto;
	gap: 12px;
	align-items: center;
}

.free-slot-search {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 46px;
	padding: 0 14px;
	background: #fff;
	border: 1px solid rgba(15, 23, 42, 0.12);
	border-radius: 8px;
}

.free-slot-search i {
	color: var(--free-slot-teal);
}

.free-slot-search input {
	width: 100%;
	min-width: 0;
	border: 0;
	outline: 0;
	font-size: 14px;
	color: var(--free-slot-ink);
	background: transparent;
}

.free-slot-search input::placeholder {
	color: #94a3b8;
}

.free-slot-category-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
}

.free-slot-category-filter button {
	min-width: 0;
	min-height: 38px;
	padding: 8px 12px;
	font-size: 13px;
	font-weight: 800;
	color: #334155;
	background: #fff;
	border: 1px solid rgba(15, 23, 42, 0.12);
	border-radius: 8px;
	cursor: pointer;
	overflow-wrap: anywhere;
}

.free-slot-category-filter button:hover,
.free-slot-category-filter button:focus-visible { color: #07333a; background: #eef7f6; border-color: rgba(15, 140, 124, 0.36); }

.free-slot-category-filter button.is-active { color: #07251f; background: #fff8e8; border-color: rgba(245, 180, 63, 0.75); }

.free-slot-section {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.free-slot-section__head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 12px;
	align-items: end;
}

.free-slot-section__head h3 {
	margin: 8px 0 0;
	font-size: 24px;
	font-weight: 900;
	line-height: 1.25;
	color: var(--free-slot-ink);
}

.free-slot-section__head p {
	margin: 0;
	font-size: 13px;
	color: var(--free-slot-muted);
}

.free-slot-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.free-slot-grid--related {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.free-slot-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	background: #fff;
	border: 1px solid rgba(15, 155, 142, 0.18);
	border-radius: 8px;
	box-shadow: 0 6px 16px rgba(15, 23, 42, 0.035);
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.free-slot-card:hover {
	transform: translateY(-3px);
	border-color: var(--free-slot-accent, var(--free-slot-teal));
	box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.free-slot-card__visual {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	min-height: 150px;
	overflow: hidden;
	background: #071525;
	color: #fff;
	text-decoration: none;
}

.free-slot-card__visual::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background: linear-gradient(180deg, rgba(7, 21, 37, 0.10), rgba(7, 21, 37, 0.58)), var(--free-slot-thumb) center / cover no-repeat;
	filter: blur(16px); opacity: 0.72; transform: scale(1.08);
	pointer-events: none;
}

.free-slot-card__visual::after {
	content: attr(data-provider-label);
	position: absolute;
	inset: 20px;
	display: none;
	align-items: center;
	justify-content: center;
	font-size: 36px;
	font-weight: 900;
	color: rgba(255, 255, 255, 0.86);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 8px;
}

.free-slot-card--image-error .free-slot-card__visual::after {
	display: flex;
}

.free-slot-card__visual img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	position: relative; z-index: 1;
	display: block;
	transition: filter 0.25s ease;
}

.free-slot-card:hover .free-slot-card__visual img {
	filter: brightness(1.05);
}

.free-slot-card__badge,
.free-slot-card__provider {
	position: absolute;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 27px;
	padding: 5px 9px;
	font-size: 11px;
	font-weight: 900;
	line-height: 1.1;
	color: #071525;
	border-radius: 999px;
}

.free-slot-card__badge {
	top: 10px;
	left: 10px;
	background: #f8c256;
	box-shadow: 0 6px 16px rgba(245, 180, 63, 0.35);
}

.free-slot-card__provider {
	right: 10px;
	bottom: 10px;
	color: #fff;
	background: var(--free-slot-accent, var(--free-slot-teal));
	box-shadow: 0 6px 16px rgba(15, 23, 42, 0.25);
}

.free-slot-card__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 14px 14px 12px;
	flex: 1 1 auto;
}

.free-slot-card__kicker {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
	font-size: 12px;
	font-weight: 800;
	color: var(--free-slot-teal);
}

.free-slot-card__kicker a,
.free-slot-card h3 a {
	color: inherit;
	text-decoration: none;
}

.free-slot-card__kicker span {
	color: #8a5b09;
	background: #fff6df;
	padding: 3px 7px;
	border-radius: 999px;
}

.free-slot-card h3 {
	margin: 0;
	font-size: 18px;
	font-weight: 900;
	line-height: 1.25;
	color: var(--free-slot-ink);
	word-break: keep-all;
}

.free-slot-card p {
	margin: 0;
	font-size: 13px;
	line-height: 1.45;
	color: var(--free-slot-muted);
	overflow-wrap: anywhere;
}

.free-slot-card__meta {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin-top: 2px;
}

.free-slot-card__meta span {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-height: 48px;
	padding: 8px 9px;
	background: var(--free-slot-soft);
	border: 1px solid var(--free-slot-line);
	border-radius: 8px;
	font-size: 13px;
	font-weight: 800;
	color: var(--free-slot-ink);
}

.free-slot-card__meta b {
	font-size: 10px;
	color: var(--free-slot-muted);
}

.free-slot-card__play {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	margin: 0 14px 14px;
	padding: 10px 14px;
	font-size: 14px;
	font-weight: 900;
	color: #fff;
	background: linear-gradient(110deg, var(--free-slot-teal), #13bda5 62%, var(--free-slot-gold));
	border-radius: 8px;
	text-decoration: none;
	box-shadow: 0 12px 24px rgba(15, 155, 142, 0.22);
}

.free-slot-card__play:hover,
.free-slot-card__play:focus-visible {
	color: #fff;
	filter: brightness(1.04);
}

.free-slot-card--compact .free-slot-card__visual {
	min-height: 124px;
}

.free-slot-player-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 18px;
	align-items: start;
	min-width: 0;
}

.free-slot-player,
.free-slot-detail-panel,
.free-slot-empty-state {
	background: #fff;
	border: 1px solid rgba(15, 23, 42, 0.1);
	border-radius: 8px;
	box-shadow: 0 6px 16px rgba(15, 23, 42, 0.03);
}

.free-slot-player {
	min-width: 0;
	overflow: hidden;
}

.free-slot-player__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 16px;
	background: #071525;
	color: #fff;
}

.free-slot-player__top > div { min-width: 0; }

.free-slot-player__provider {
	display: inline-flex;
	margin-bottom: 6px;
	font-size: 12px;
	font-weight: 900;
	color: #f8c256;
}

.free-slot-player__top h3 {
	margin: 0;
	font-size: 22px;
	font-weight: 900;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

.free-slot-player__top p {
	margin: 4px 0 0;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.72);
	overflow-wrap: anywhere;
}

.free-slot-player__actions {
	display: flex;
	flex: 0 0 auto;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
	min-width: 0;
}

.free-slot-player__state {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 8px 11px;
	font-size: 12px;
	font-weight: 900;
	color: #fff;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 8px;
	white-space: nowrap;
}

.free-slot-player__state--external { color: #07333a; background: #eef7f6; border-color: rgba(15, 140, 124, 0.36); }

.free-slot-player__top a,
.free-slot-player__launch-only a,
.free-slot-detail-panel > a,
.free-slot-empty-state a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 9px 13px;
	font-size: 13px;
	font-weight: 900;
	color: #071525;
	background: #f8c256;
	border-radius: 8px;
	text-decoration: none;
	white-space: nowrap;
}

.free-slot-player__frame {
	position: relative;
	height: clamp(620px, 74vh, 860px);
	min-height: 620px;
	background: #020617;
}

.free-slot-player__frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	background: #020617;
}

.free-slot-player__missing,
.free-slot-player__launch-only {
	display: grid;
	place-items: center;
	gap: 6px;
	min-height: 320px;
	padding: 30px;
	text-align: center;
	background: #f7fbfb;
}

.free-slot-player__launch-only {
	min-height: 460px;
	padding: 34px;
}

.free-slot-player__launch-only div {
	display: grid;
	gap: 8px;
	max-width: 560px;
}

.free-slot-player__missing strong,
.free-slot-player__launch-only strong {
	font-size: 18px;
	color: var(--free-slot-ink);
}

.free-slot-player__missing span,
.free-slot-player__launch-only span {
	color: var(--free-slot-muted);
}

.free-slot-detail-panel {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 14px;
}

.free-slot-hub--player .free-slot-detail-panel {
	display: grid;
	grid-template-columns: minmax(180px, 280px) minmax(0, 1fr) minmax(180px, 220px);
	align-items: center;
}

.free-slot-detail-panel img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: contain;
	background: #071525;
	border-radius: 8px;
}

.free-slot-detail-panel dl {
	display: grid;
	gap: 8px;
	margin: 0;
}

.free-slot-detail-panel dl div {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 0;
	border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.free-slot-detail-panel dt {
	color: var(--free-slot-muted);
	font-size: 12px;
	font-weight: 800;
}

.free-slot-detail-panel dd {
	margin: 0;
	font-size: 13px;
	font-weight: 900;
	color: var(--free-slot-ink);
	text-align: right;
	overflow-wrap: anywhere;
}

.free-slot-detail-panel > a {
	width: 100%;
	color: #fff;
	background: var(--free-slot-teal);
}

.free-slot-empty-state {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 220px;
	padding: 26px;
	text-align: center;
}

.free-slot-empty-state strong {
	font-size: 20px;
	color: var(--free-slot-ink);
}

.free-slot-empty-state p {
	margin: 0;
	color: var(--free-slot-muted);
}

.free-slot-empty-state--search {
	min-height: 160px;
	box-shadow: none;
	background: #f8fafc;
}

.free-slot-card.is-hidden {
	display: none;
}

@media (max-width: 1180px) {
	.free-slot-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.free-slot-player-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.free-slot-detail-panel {
		display: grid;
		grid-template-columns: 220px minmax(0, 1fr) 180px;
		align-items: center;
	}
}

@media (max-width: 860px) {
	.free-slot-hub {
		padding: 14px;
	}

	.free-slot-hero {
		grid-template-columns: 1fr;
		padding: 18px;
	}

	.free-slot-hero h2 {
		font-size: 25px;
	}

	.free-slot-hero__stats {
		min-width: 0;
	}

	.free-slot-toolbar,
	.free-slot-section__head {
		grid-template-columns: 1fr;
	}

	.free-slot-category-filter {
		justify-content: flex-start;
	}

	.free-slot-player__frame {
		height: clamp(420px, 70vh, 640px);
		min-height: 420px;
	}

	.free-slot-hub--player .free-slot-detail-panel {
		display: flex;
		align-items: stretch;
	}
}

@media (max-width: 640px) {
	.free-slot-grid,
	.free-slot-grid--related {
		grid-template-columns: 1fr;
	}

	.free-slot-hero__stats {
		grid-template-columns: 1fr;
	}

	.free-slot-provider-nav {
		overflow-x: auto;
		flex-wrap: nowrap;
		padding-bottom: 14px;
	}

	.free-slot-provider-nav a {
		flex: 0 0 auto;
	}

	.free-slot-player__top {
		align-items: stretch;
		flex-direction: column;
	}

	.free-slot-player__actions {
		justify-content: stretch;
	}

	.free-slot-player__top a,
	.free-slot-player__state {
		width: 100%;
	}

	.free-slot-player__frame {
		height: clamp(340px, 68vh, 520px);
		min-height: 340px;
	}
}
