:root {
	--sgx-bg: #faf7f9;
	--sgx-surface: #ffffff;
	--sgx-surface-2: #f7eef3;
	--sgx-surface-3: #efe2e9;
	--sgx-border: rgba(56,36,48,.13);
	--sgx-text: #281c24;
	--sgx-muted: #74636d;
	--sgx-faint: #988792;
	--sgx-accent: #ff3366;
	--sgx-accent-soft: #ff6f91;
	--sgx-accent-2: #7c3aed;
	--sgx-cyan: #22d3ee;
	--sgx-success: #36d399;
	--sgx-yellow: #fbbf24;
	--sgx-radius: 18px;
	--sgx-container: 1200px;
	--sgx-shadow: 0 18px 50px rgba(74,43,58,.12);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	color-scheme: light;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background:
		radial-gradient(circle at 12% -4%, rgba(255,51,102,.10), transparent 30%),
		radial-gradient(circle at 92% 8%, rgba(124,58,237,.07), transparent 34%),
		linear-gradient(180deg, #fffefe 0%, #faf7f9 48%, #f8f3f6 100%);
	color: var(--sgx-text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

img,
video,
iframe {
	max-width: 100%;
}

img,
video {
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
select,
textarea {
	font: inherit;
}

button {
	cursor: pointer;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0,0,0,0);
	white-space: nowrap;
	border: 0;
}

.sgx-container {
	width: min(calc(100% - 32px), var(--sgx-container));
	margin-inline: auto;
}

.sgx-site-main {
	min-height: 70vh;
	padding-bottom: 52px;
}

/* Header */
.sgx-site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid var(--sgx-border);
	background: rgba(9,9,16,.84);
	backdrop-filter: blur(16px);
}

.admin-bar .sgx-site-header {
	top: 32px;
}

.sgx-header-inner {
	min-height: 70px;
	display: flex;
	align-items: center;
	gap: 26px;
}

.sgx-brand {
	flex: 0 0 auto;
	font-size: 24px;
	font-weight: 900;
	letter-spacing: -.04em;
}

.sgx-logo {
	display: block;
	width: auto;
	max-width: 220px;
	max-height: 46px;
}

.sgx-primary-nav {
	flex: 1 1 auto;
	min-width: 0;
}

.sgx-menu,
.sgx-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sgx-menu {
	display: flex;
	align-items: center;
	gap: 6px;
}

.sgx-menu > li {
	position: relative;
}

.sgx-menu > li > a {
	display: block;
	padding: 9px 11px;
	border-radius: 9px;
	color: #e2e2e8;
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
}

.sgx-menu > li > a:hover,
.sgx-menu > li.current-menu-item > a {
	background: var(--sgx-surface-2);
	color: #fff;
}

.sgx-menu .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 200px;
	padding: 8px;
	border: 1px solid var(--sgx-border);
	border-radius: 10px;
	background: var(--sgx-surface-2);
	box-shadow: var(--sgx-shadow);
}

.sgx-menu li:hover > .sub-menu,
.sgx-menu li:focus-within > .sub-menu {
	display: block;
}

.sgx-menu .sub-menu a {
	display: block;
	padding: 8px 10px;
	border-radius: 7px;
	font-size: 14px;
}

.sgx-menu .sub-menu a:hover {
	background: var(--sgx-surface-3);
}

.sgx-header-search {
	flex: 0 0 210px;
	display: flex;
	border: 1px solid var(--sgx-border);
	border-radius: 10px;
	background: var(--sgx-surface);
	overflow: hidden;
}

.sgx-header-search input {
	width: 100%;
	min-width: 0;
	padding: 8px 4px 8px 12px;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--sgx-text);
	font-size: 14px;
}

.sgx-header-search button {
	width: 42px;
	border: 0;
	background: transparent;
	color: var(--sgx-muted);
	font-size: 22px;
}

.sgx-nav-toggle {
	display: none;
	width: 42px;
	height: 42px;
	padding: 9px;
	border: 1px solid var(--sgx-border);
	border-radius: 9px;
	background: var(--sgx-surface);
}

.sgx-nav-toggle > span:not(.screen-reader-text) {
	display: block;
	height: 2px;
	margin: 4px 0;
	background: var(--sgx-text);
}


.sgx-global-category-bar {
	border-bottom: 1px solid var(--sgx-border);
	background: rgba(9,9,16,.62);
}

.sgx-global-category-bar .sgx-category-pills {
	padding: 10px 0;
}

.sgx-category-pills a.is-current {
	border-color: rgba(255,51,102,.55);
	background: rgba(255,51,102,.12);
	color: #fff;
}

/* Intro */
.sgx-home-intro {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 28px;
	padding: 42px 0 22px;
}

.sgx-home-intro h1,
.sgx-page-head h1,
.sgx-game-hero-copy h1,
.sgx-play-head h1 {
	margin: 0;
	font-size: clamp(30px, 4vw, 46px);
	line-height: 1.05;
	letter-spacing: -.045em;
}

.sgx-home-intro-copy {
	max-width: 760px;
	margin-top: 12px;
	color: var(--sgx-muted);
}

.sgx-home-intro-copy > *:first-child {
	margin-top: 0;
}

.sgx-home-intro-copy > *:last-child {
	margin-bottom: 0;
}

.sgx-listing-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.sgx-listing-tabs a,
.sgx-category-pills a,
.sgx-tag {
	border: 1px solid var(--sgx-border);
	border-radius: 999px;
	background: rgba(255,255,255,.025);
	color: #d9d9e1;
	transition: border-color .16s ease, background .16s ease, color .16s ease;
}

.sgx-listing-tabs a {
	padding: 8px 12px;
	font-size: 13px;
	font-weight: 700;
}

.sgx-listing-tabs a:hover,
.sgx-category-pills a:hover,
.sgx-tag:hover {
	border-color: rgba(255,51,102,.48);
	background: rgba(255,51,102,.09);
	color: #fff;
}

.sgx-category-pills {
	display: flex;
	gap: 8px;
	padding: 0 0 24px;
	overflow-x: auto;
	scrollbar-width: none;
}

.sgx-category-pills::-webkit-scrollbar {
	display: none;
}

.sgx-category-pills a {
	flex: 0 0 auto;
	padding: 8px 13px;
	font-size: 13px;
	font-weight: 700;
}

/* Premium ads */
.sgx-premium-wrap {
	margin-bottom: 38px;
}

.sgx-premium-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.sgx-premium-card {
	min-width: 0;
}

.sgx-premium-link {
	position: relative;
	display: block;
	overflow: hidden;
	border: 1px solid var(--sgx-border);
	border-radius: var(--sgx-radius);
	background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.035));
	box-shadow: 0 16px 36px rgba(0,0,0,.22);
	transform: translateZ(0);
}

.sgx-premium-media {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 285 / 214;
	object-fit: cover;
	background: var(--sgx-surface-2);
	transition: transform .25s ease;
}

.sgx-premium-link:hover .sgx-premium-media {
	transform: scale(1.025);
}

.sgx-premium-placeholder {
	background: linear-gradient(135deg, var(--sgx-surface-2), #28233f);
}

.sgx-premium-title {
	position: absolute;
	color: #fff;
	left: 10px;
	right: 38px;
	bottom: 10px;
	z-index: 3;
	overflow: hidden;
	padding: 7px 9px;
	border: 1px solid rgba(255,255,255,.09);
	border-radius: 8px;
	background: rgba(8,8,14,.78);
	backdrop-filter: blur(8px);
	font-size: 13px;
	font-weight: 800;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.sgx-external-icon {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 4;
	display: grid;
	width: 30px;
	height: 30px;
	place-items: center;
	border: 1px solid rgba(255,255,255,.15);
	border-radius: 50%;
	background: rgba(5,5,10,.72);
	font-size: 16px;
	font-weight: 900;
}

/* Listing */
.sgx-listing-section {
	margin-top: 8px;
}

.sgx-section-head,
.sgx-friends-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 0 0 16px;
}

.sgx-section-head h2,
.sgx-friends-head h2 {
	margin: 0;
	font-size: 22px;
	line-height: 1.2;
	letter-spacing: -.025em;
}

.sgx-view-all,
.sgx-friends-head > a {
	color: var(--sgx-muted);
	font-size: 13px;
	font-weight: 800;
}

.sgx-view-all:hover,
.sgx-friends-head > a:hover {
	color: #fff;
}

.sgx-game-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px 20px;
}

.sgx-game-card {
	min-width: 0;
}

.sgx-card-media-link {
	display: block;
}

.sgx-card-media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 370 / 278;
	border: 1px solid var(--sgx-border);
	border-radius: var(--sgx-radius);
	background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.035));
	box-shadow: 0 16px 36px rgba(0,0,0,.20);
}

.sgx-card-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	background: var(--sgx-surface-2);
	transition: transform .22s ease, filter .22s ease;
}

.sgx-card-media:hover {
	border-color: rgba(255,51,102,.34);
}

.sgx-card-media:hover .sgx-card-image {
	transform: scale(1.025);
	filter: brightness(.84);
}

.sgx-card-badge {
	position: absolute;
	color: #fff;
	top: 10px;
	left: 10px;
	z-index: 3;
	max-width: calc(100% - 56px);
	padding: 5px 8px;
	border: 1px solid rgba(255,255,255,.12);
	border-radius: 7px;
	background: rgba(10,10,16,.74);
	backdrop-filter: blur(7px);
	font-size: 11px;
	font-weight: 850;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: .035em;
}

.sgx-card-badge-sponsored {
	border-color: rgba(255,51,102,.42);
	background: rgba(255,51,102,.86);
	color: #fff;
}

.sgx-card-play {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 2;
	display: grid;
	width: 48px;
	height: 48px;
	place-items: center;
	border: 1px solid rgba(255,255,255,.16);
	border-radius: 50%;
	background: rgba(9,9,15,.68);
	opacity: 0;
	transform: translate(-50%, -44%) scale(.94);
	transition: opacity .18s ease, transform .18s ease;
}

.sgx-card-media:hover .sgx-card-play {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
}

.sgx-card-body {
	padding: 10px 2px 0;
}

.sgx-card-body h3 {
	overflow: hidden;
	margin: 0;
	min-height: 2.6em;
	font-size: 15px;
	font-weight: 780;
	line-height: 1.3;
	letter-spacing: -.012em;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.sgx-card-body h3 a:hover {
	color: #fff;
	text-decoration: underline;
	text-decoration-color: rgba(255,51,102,.7);
	text-underline-offset: 3px;
}

.sgx-card-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-top: 7px;
	color: var(--sgx-muted);
	font-size: 12px;
}

.sgx-sponsored-card .sgx-card-meta {
	color: #c6a8ff;
}

.sgx-traffic-trade-card .sgx-card-meta {
	color: var(--sgx-faint);
}

.sgx-pagination {
	margin: 34px 0 0;
}

.sgx-pagination .page-numbers {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 7px;
	margin: 0;
	padding: 0;
}

.sgx-pagination a,
.sgx-pagination span {
	display: grid;
	width: 40px;
	min-width: 40px;
	height: 40px;
	place-items: center;
	padding: 0;
	border: 1px solid var(--sgx-border);
	border-radius: 9px;
	background: var(--sgx-surface);
	font-size: 13px;
	font-weight: 750;
}

.sgx-pagination .prev,
.sgx-pagination .next {
	width: 88px;
	min-width: 88px;
	padding-inline: 12px;
	white-space: nowrap;
}

.sgx-pagination .current,
.sgx-pagination a:hover {
	border-color: rgba(255,51,102,.5);
	background: rgba(255,51,102,.13);
}

.sgx-discovery-links {
	display: grid;
	grid-template-columns: repeat(4, minmax(0,1fr));
	gap: 12px;
	margin: 42px 0 0;
}

.sgx-discovery-links a {
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding: 16px;
	border: 1px solid var(--sgx-border);
	border-radius: 12px;
	background: var(--sgx-surface);
}

.sgx-discovery-links a:hover {
	border-color: rgba(255,51,102,.35);
	background: var(--sgx-surface-2);
}

.sgx-discovery-links strong {
	font-size: 15px;
}

.sgx-discovery-links span {
	color: var(--sgx-muted);
	font-size: 12px;
}

/* Archive / page */
.sgx-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 25px 0 13px;
	color: var(--sgx-muted);
	font-size: 12px;
}

.sgx-breadcrumbs a:hover {
	color: #fff;
}

.sgx-page-head {
	padding: 10px 0 24px;
}

.sgx-page-head-row {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
}

.sgx-page-head h1 {
	font-size: clamp(28px, 4vw, 42px);
}

/* Dedicated New/Top/Played/Rating pages stay intentionally compact so the
 * first game row remains visible without a large decorative hero. */
.sgx-listing-page-head {
	padding: 4px 0 14px;
}

.sgx-listing-page-head h1 {
	font-size: clamp(30px, 3.25vw, 40px);
}

.sgx-listing-page-head + .sgx-listing-tabs {
	margin-bottom: 16px;
}

.sgx-term-intro {
	max-width: 820px;
	margin-top: 12px;
	color: var(--sgx-muted);
}

.sgx-sort-form {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--sgx-muted);
	font-size: 13px;
}

.sgx-sort-form select {
	padding: 8px 34px 8px 10px;
	border: 1px solid var(--sgx-border);
	border-radius: 9px;
	background: var(--sgx-surface);
	color: var(--sgx-text);
}

.sgx-seo-content,
.sgx-content-card {
	margin-top: 42px;
	padding: clamp(20px, 3vw, 34px);
	border: 1px solid var(--sgx-border);
	border-radius: 16px;
	background: var(--sgx-surface);
}

.sgx-seo-content {
	content-visibility: auto;
	contain-intrinsic-size: 800px;
}

.sgx-seo-content h2,
.sgx-content-card h2,
.sgx-prose h2 {
	margin: 1.8em 0 .6em;
	font-size: 25px;
	line-height: 1.2;
	letter-spacing: -.025em;
}

.sgx-seo-content h2:first-child,
.sgx-content-card h2:first-child,
.sgx-prose h2:first-child {
	margin-top: 0;
}

.sgx-seo-content h3,
.sgx-prose h3 {
	margin: 1.6em 0 .5em;
	font-size: 19px;
}

.sgx-seo-content p,
.sgx-seo-content li,
.sgx-prose p,
.sgx-prose li {
	color: #cdccd5;
}

.sgx-seo-content a,
.sgx-prose a,
.sgx-term-intro a {
	color: rgba(255, 51, 102, 1);
	text-decoration: underline;
	text-decoration-color: rgba(255, 51, 102, 1);
	text-underline-offset: 3px;
}

.sgx-seo-content a:hover,
.sgx-prose a:hover,
.sgx-term-intro a:hover {
	color: rgba(255, 51, 102, .85);
	text-decoration-color: rgba(255, 51, 102, .85);
}

.sgx-seo-content ul,
.sgx-seo-content ol,
.sgx-prose ul,
.sgx-prose ol {
	padding-left: 23px;
}

.sgx-standard-page {
	padding-top: 8px;
}

.sgx-content-card > h1 {
	margin: 0 0 20px;
	font-size: clamp(28px, 4vw, 42px);
	line-height: 1.08;
}

.sgx-article-list {
	display: grid;
	gap: 14px;
}

.sgx-article-card {
	padding: 18px 20px;
	border: 1px solid var(--sgx-border);
	border-radius: 12px;
	background: var(--sgx-surface);
}

.sgx-article-card h2 {
	margin: 0 0 6px;
	font-size: 20px;
}

.sgx-article-card p {
	margin: 0;
	color: var(--sgx-muted);
}

/* Game landing */
.sgx-game-landing {
	padding-bottom: 20px;
}

.sgx-ad-slot {
	display: grid;
	place-items: center;
	max-width: 100%;
	margin: 6px auto 20px;
	overflow: hidden;
	text-align: center;
}

.sgx-game-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
	gap: clamp(24px, 4vw, 52px);
	align-items: center;
	margin-top: 10px;
	padding: clamp(18px, 3vw, 28px);
	border: 1px solid var(--sgx-border);
	border-radius: 18px;
	background:
		radial-gradient(circle at 90% 0%, rgba(124,58,237,.14), transparent 34%),
		radial-gradient(circle at 0% 100%, rgba(255,51,102,.10), transparent 34%),
		linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.025)),
		var(--sgx-surface);
}

.sgx-game-hero-media {
	position: relative;
	overflow: hidden;
	border-radius: 14px;
	background: var(--sgx-surface-2);
}

.sgx-hero-image {
	width: 100%;
	aspect-ratio: 370 / 278;
	object-fit: cover;
}

.sgx-game-kicker,
.sgx-game-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.sgx-game-kicker {
	margin-bottom: 12px;
}

.sgx-game-kicker > * {
	padding: 5px 8px;
	border: 1px solid var(--sgx-border);
	border-radius: 7px;
	background: var(--sgx-surface-2);
	color: #d9d9e2;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.sgx-game-hero-copy h1 {
	font-size: clamp(30px, 4vw, 48px);
}

.sgx-game-stats {
	margin-top: 13px;
	color: var(--sgx-muted);
	font-size: 13px;
}

.sgx-game-summary {
	margin: 18px 0 0;
	color: #ceced8;
}

.sgx-primary-button,
.sgx-small-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	border: 1px solid rgba(255,255,255,.08);
	border-radius: 10px;
	font-weight: 850;
}

.sgx-primary-button {
	margin-top: 22px;
	padding: 13px 18px;
	background: linear-gradient(135deg, var(--sgx-accent), #ef2858);
	color: #fff;
	box-shadow: 0 16px 36px rgba(255,51,102,.24);
}

.sgx-primary-button:hover {
	filter: brightness(1.07);
	transform: translateY(-1px);
}

.sgx-small-button {
	padding: 9px 12px;
	background: var(--sgx-surface-2);
	font-size: 13px;
}

.sgx-play-note {
	margin: 8px 0 0;
	color: var(--sgx-muted);
	font-size: 12px;
}

.sgx-detail-row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0,1fr));
	gap: 12px;
}

.sgx-detail-row > div {
	padding: 13px;
	border: 1px solid var(--sgx-border);
	border-radius: 10px;
	background: var(--sgx-surface-2);
}

.sgx-detail-row span {
	display: block;
	margin-bottom: 3px;
	color: var(--sgx-muted);
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.sgx-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-top: 18px;
}

.sgx-tag {
	padding: 6px 9px;
	font-size: 12px;
}

.sgx-tag-hidden {
	display: none;
}

.sgx-tags-more {
	padding: 6px 10px;
	border: 1px solid var(--sgx-border);
	border-radius: 999px;
	background: var(--sgx-surface-3);
	color: #fff;
	font-size: 12px;
	font-weight: 750;
}

.sgx-related-section {
	margin-top: 42px;
}

/* Play page */
.sgx-play-page {
	padding-bottom: 18px;
}

.sgx-play-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 8px 0 18px;
}

.sgx-play-head h1 {
	font-size: clamp(25px, 3vw, 38px);
}

.sgx-play-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 8px;
	color: var(--sgx-muted);
	font-size: 12px;
}

.sgx-player-area {
	border: 1px solid var(--sgx-border);
	border-radius: 16px;
	background: #07070b;
	overflow: hidden;
	box-shadow: var(--sgx-shadow);
}

.sgx-player-shell {
	position: relative;
	display: grid;
	min-height: min(68vh, 720px);
	place-items: center;
	overflow: auto;
	background:
		radial-gradient(circle at 50% 24%, rgba(255,51,102,.12), transparent 280px),
		radial-gradient(circle at 58% 58%, rgba(124,58,237,.17), transparent 400px),
		#060609;
}

.sgx-player-stage {
	display: grid;
	width: 100%;
	min-height: inherit;
	place-items: center;
}

.sgx-player-stage iframe {
	display: block;
	max-width: 100%;
	border: 0;
	background: #000;
}

.sgx-player-start {
	position: absolute;
	inset: 0;
	z-index: 4;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	border: 0;
	background:
		linear-gradient(rgba(5,5,9,.72), rgba(5,5,9,.82));
	color: #fff;
	font-size: 18px;
	font-weight: 900;
}

.sgx-player-start span {
	display: grid;
	width: 52px;
	height: 52px;
	place-items: center;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--sgx-accent), var(--sgx-accent-2));
	box-shadow: 0 18px 46px rgba(255,51,102,.30);
}

.sgx-player-controls {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 10px;
	border-top: 1px solid var(--sgx-border);
	background: var(--sgx-surface);
}

.sgx-player-controls button,
.sgx-player-controls a {
	padding: 8px 11px;
	border: 1px solid var(--sgx-border);
	border-radius: 8px;
	background: var(--sgx-surface-2);
	color: #dedee6;
	font-size: 12px;
	font-weight: 750;
}

.sgx-player-error {
	padding: 30px;
	color: #ffabbf;
}

/* Friends + footer */
.sgx-friends-strip {
	border-top: 1px solid var(--sgx-border);
	border-bottom: 1px solid var(--sgx-border);
	background: #0f0f17;
}

.sgx-friends-strip .sgx-container {
	padding-top: 24px;
	padding-bottom: 24px;
}

.sgx-friends-links {
	color: #b7b7c2;
	font-size: 13px;
	line-height: 1.9;
}

.sgx-friends-links a {
	display: inline-block;
	margin: 0 15px 3px 0;
	color: #cfcfd8;
}

.sgx-friends-links a:hover {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.sgx-site-footer {
	background: #08080d;
}

.sgx-footer-inner {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 20px;
	align-items: center;
	padding-top: 28px;
	padding-bottom: 28px;
	color: var(--sgx-muted);
	font-size: 13px;
}

.sgx-footer-inner strong {
	color: #fff;
	font-size: 15px;
}

.sgx-footer-inner p {
	margin: 4px 0 0;
}

.sgx-footer-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.sgx-footer-menu a:hover {
	color: #fff;
}

.sgx-copyright {
	grid-column: 1 / -1;
	padding-top: 16px;
	border-top: 1px solid var(--sgx-border);
}

/* Responsive */
@media (max-width: 1100px) {
	.sgx-header-inner {
		gap: 14px;
	}

	.sgx-header-search {
		flex-basis: 180px;
	}

	.sgx-menu > li > a {
		padding-inline: 8px;
	}

	.sgx-game-grid,
	.sgx-premium-grid {
		grid-template-columns: repeat(3, minmax(0,1fr));
	}

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

@media (max-width: 860px) {
	.admin-bar .sgx-site-header {
		top: 46px;
	}

	.sgx-header-inner {
		min-height: 62px;
	}

	.sgx-nav-toggle {
		display: block;
		margin-left: auto;
	}

	.sgx-primary-nav {
		position: absolute;
		top: 100%;
		left: 16px;
		right: 16px;
		display: none;
		padding: 9px;
		border: 1px solid var(--sgx-border);
		border-radius: 12px;
		background: #11111a;
		box-shadow: var(--sgx-shadow);
	}

	.sgx-primary-nav.is-open {
		display: block;
	}

	.sgx-menu {
		display: grid;
		gap: 2px;
	}

	.sgx-menu > li > a {
		padding: 10px;
	}

	.sgx-menu .sub-menu {
		position: static;
		display: block;
		margin-left: 14px;
		border: 0;
		background: transparent;
		box-shadow: none;
	}

	.sgx-header-search {
		flex: 0 0 190px;
	}

	.sgx-home-intro {
		align-items: flex-start;
		flex-direction: column;
		padding-top: 32px;
	}

	.sgx-game-hero {
		grid-template-columns: 1fr;
	}

	.sgx-detail-row {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 700px) {
	.sgx-container {
		width: min(calc(100% - 24px), var(--sgx-container));
	}

	.sgx-site-main {
		padding-bottom: 38px;
	}

	.sgx-header-search {
		display: none;
	}

	.sgx-game-grid,
	.sgx-premium-grid {
		grid-template-columns: repeat(2, minmax(0,1fr));
		gap: 18px 12px;
	}

	.sgx-card-body h3 {
		min-height: 2.55em;
		font-size: 13px;
	}

	.sgx-card-meta {
		font-size: 10.5px;
	}

	.sgx-card-badge {
		top: 7px;
		left: 7px;
		padding: 4px 6px;
		font-size: 9px;
	}

	.sgx-external-icon {
		top: 7px;
		right: 7px;
		width: 25px;
		height: 25px;
		font-size: 13px;
	}

	.sgx-card-play {
		display: none;
	}

	.sgx-page-head-row,
	.sgx-play-head {
		align-items: flex-start;
		flex-direction: column;
	}

	.sgx-game-hero {
		padding: 14px;
	}

	.sgx-content-card,
	.sgx-seo-content {
		margin-top: 28px;
		padding: 18px;
	}

	.sgx-player-shell {
		min-height: 58vh;
	}

	.sgx-player-stage iframe {
		width: 100% !important;
	}

	.sgx-footer-inner {
		grid-template-columns: 1fr;
	}

	.sgx-copyright {
		grid-column: auto;
	}

	.sgx-friends-links a {
		margin-right: 10px;
	}
}

@media (max-width: 430px) {
	.sgx-brand {
		font-size: 20px;
	}

	.sgx-logo {
		max-width: 175px;
		max-height: 39px;
	}

	.sgx-home-intro h1,
	.sgx-page-head h1,
	.sgx-game-hero-copy h1 {
		font-size: 30px;
	}

	.sgx-listing-tabs a,
	.sgx-category-pills a {
		font-size: 11.5px;
	}

	.sgx-card-body h3 {
		font-size: 12.5px;
	}

	.sgx-card-meta span:nth-child(2) {
		display: none;
	}

	.sgx-premium-title {
		font-size: 11px;
	}

	.sgx-detail-row {
		grid-template-columns: 1fr;
	}

	.sgx-discovery-links {
		grid-template-columns: 1fr 1fr;
		gap: 9px;
	}

	.sgx-discovery-links a {
		padding: 12px;
	}

	.sgx-player-controls {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}

	.sgx-player-controls > * {
		text-align: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		scroll-behavior: auto !important;
		animation-duration: .01ms !important;
		transition-duration: .01ms !important;
	}
}


/* Interactive WP-PostRatings */
.sgx-ratings-ui {
	display: flex;
	align-items: center;
	min-height: 28px;
	margin-top: 12px;
	color: var(--sgx-muted);
	font-size: 12px;
}

.sgx-ratings-ui .post-ratings {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 2px;
	margin: 0;
	padding: 0;
	border: 0;
}

.sgx-ratings-ui .post-ratings img {
	display: inline-block;
	width: 20px !important;
	height: 20px !important;
	margin: 0 2px 0 0 !important;
	padding: 0 !important;
	vertical-align: middle;
}

.sgx-ratings-ui .post-ratings-text {
	margin-left: 7px;
	color: var(--sgx-muted);
	font-size: 12px;
}

.sgx-ratings-ui .post-ratings-loading {
	display: none !important;
}

/* True click-to-load Ruffle */
.sgx-ruffle-mount {
	width: min(100%, 1100px);
	max-height: 78vh;
	margin: auto;
	background: #000;
}

.sgx-ruffle-mount ruffle-player {
	display: block;
	width: 100% !important;
	height: 100% !important;
}

.sgx-player-start.is-loading {
	opacity: .9;
	cursor: wait;
}

.sgx-player-start.is-loading span {
	animation: sgxPulse 1s ease-in-out infinite alternate;
}

@keyframes sgxPulse {
	from { transform: scale(.92); opacity: .72; }
	to { transform: scale(1.05); opacity: 1; }
}

/* v0.3.0: keep the pre-game poster locked to the intended landscape ratio. */
.sgx-game-hero-media {
	aspect-ratio: 370 / 278;
	align-self: center;
	width: 100%;
}

.sgx-game-hero-media .sgx-hero-image {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: auto;
	object-fit: cover;
}

.sgx-player-controls .sgx-report-form {
	margin: 0;
}

.sgx-player-controls .sgx-report-form button {
	font: inherit;
	cursor: pointer;
}

.sgx-status-message {
	margin: 0 0 14px;
	padding: 11px 14px;
	border: 1px solid rgba(54, 211, 153, .24);
	border-radius: 10px;
	background: rgba(54, 211, 153, .08);
	color: #d9fff0;
	font-size: 13px;
	font-weight: 700;
}

/* AI Girlfriends directory */
.sgx-girlfriend-page {
	padding-top: 30px;
}

.sgx-girlfriend-head {
	max-width: 820px;
	margin: 18px 0 30px;
}

.sgx-girlfriend-head p {
	max-width: 720px;
	margin: 12px 0 0;
	color: var(--sgx-muted);
}

.sgx-girlfriend-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px 20px;
}

.sgx-girlfriend-card {
	min-width: 0;
	overflow: hidden;
	border: 1px solid rgba(255,255,255,.11);
	border-radius: 24px;
	background:
		linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,51,102,.055)),
		var(--sgx-surface);
	box-shadow: 0 18px 44px rgba(0,0,0,.24);
	transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.sgx-girlfriend-card:hover {
	transform: translateY(-3px);
	border-color: rgba(255,51,102,.34);
	box-shadow: 0 22px 52px rgba(0,0,0,.32);
}

.sgx-girlfriend-media {
	display: block;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background: var(--sgx-surface-2);
}

.sgx-girlfriend-image,
.sgx-girlfriend-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .25s ease;
}

.sgx-girlfriend-card:hover .sgx-girlfriend-image {
	transform: scale(1.018);
}

.sgx-girlfriend-placeholder {
	background:
		radial-gradient(circle at 30% 20%, rgba(255,51,102,.22), transparent 34%),
		linear-gradient(145deg, var(--sgx-surface-2), #26172a);
}

.sgx-girlfriend-body {
	padding: 18px;
}

.sgx-girlfriend-body h2 {
	margin: 0 0 16px;
	font-size: 22px;
	line-height: 1.15;
	letter-spacing: -.025em;
}

.sgx-girlfriend-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 16px;
	border: 1px solid rgba(255,255,255,.08);
	border-radius: 13px;
	background: linear-gradient(100deg, #c2185b, var(--sgx-accent) 66%, #ff7a45);
	color: #fff;
	font-size: 14px;
	font-weight: 850;
	box-shadow: 0 10px 24px rgba(255,51,102,.16);
	transition: transform .16s ease, filter .16s ease;
}

.sgx-girlfriend-button:hover {
	transform: translateY(-1px);
	filter: brightness(1.06);
}

.sgx-girlfriend-seo {
	margin-top: 42px;
}

@media (max-width: 980px) {
	.sgx-girlfriend-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.sgx-girlfriend-page {
		padding-top: 20px;
	}

	.sgx-girlfriend-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px 12px;
	}

	.sgx-girlfriend-card {
		border-radius: 18px;
	}

	.sgx-girlfriend-body {
		padding: 13px;
	}

	.sgx-girlfriend-body h2 {
		margin-bottom: 12px;
		font-size: 17px;
	}

	.sgx-girlfriend-button {
		width: 100%;
		min-height: 40px;
		padding: 8px 9px;
		font-size: 12px;
	}
}

/* Command And Obey collection */
.sgx-command-page {
	padding-top: 30px;
}

.sgx-command-head {
	max-width: 860px;
	margin: 18px 0 30px;
}

.sgx-command-head p {
	max-width: 760px;
	margin: 12px 0 0;
	color: var(--sgx-muted);
}

.sgx-command-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px 20px;
}

.sgx-command-card {
	min-width: 0;
	overflow: hidden;
	border: 1px solid rgba(255,255,255,.11);
	border-radius: 20px;
	background:
		linear-gradient(180deg, rgba(255,255,255,.035), rgba(124,58,237,.05)),
		var(--sgx-surface);
	box-shadow: 0 18px 42px rgba(0,0,0,.22);
	transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.sgx-command-card:hover {
	transform: translateY(-3px);
	border-color: rgba(255,51,102,.34);
	box-shadow: 0 22px 50px rgba(0,0,0,.3);
}

.sgx-command-media {
	display: block;
	aspect-ratio: 370 / 278;
	overflow: hidden;
	background: var(--sgx-surface-2);
}

.sgx-command-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .24s ease;
}

.sgx-command-card:hover .sgx-command-image {
	transform: scale(1.018);
}

.sgx-command-body {
	padding: 16px;
}

.sgx-command-body h2 {
	margin: 0 0 14px;
	font-size: 20px;
	line-height: 1.18;
	letter-spacing: -.02em;
}

.sgx-command-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 42px;
	padding: 9px 15px;
	border: 1px solid rgba(255,255,255,.08);
	border-radius: 12px;
	background: linear-gradient(100deg, #c2185b, var(--sgx-accent) 66%, #ff7a45);
	color: #fff;
	font-size: 14px;
	font-weight: 850;
	box-shadow: 0 10px 24px rgba(255,51,102,.15);
	transition: transform .16s ease, filter .16s ease;
}

.sgx-command-button:hover {
	transform: translateY(-1px);
	filter: brightness(1.06);
}

.sgx-command-seo {
	margin-top: 42px;
}

@media (max-width: 980px) {
	.sgx-command-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.sgx-command-page {
		padding-top: 20px;
	}

	.sgx-command-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px 12px;
	}

	.sgx-command-card {
		border-radius: 16px;
	}

	.sgx-command-body {
		padding: 12px;
	}

	.sgx-command-body h2 {
		margin-bottom: 11px;
		font-size: 16px;
	}

	.sgx-command-button {
		width: 100%;
		min-height: 39px;
		padding: 8px;
		font-size: 12px;
	}
}


/* PornGames.club light palette */
.sgx-site-header {
	background: rgba(255,255,255,.92);
	box-shadow: 0 5px 20px rgba(74,43,58,.05);
}

.sgx-menu > li > a { color: #473740; }
.sgx-menu > li > a:hover,
.sgx-menu > li.current-menu-item > a {
	background: var(--sgx-surface-2);
	color: #241821;
}
.sgx-menu .sub-menu { background: #fff; }
.sgx-menu .sub-menu a:hover { background: var(--sgx-surface-2); }
.sgx-global-category-bar { background: rgba(255,255,255,.78); }
.sgx-global-category-bar .sgx-category-pills { padding-bottom: 10px; }
.sgx-category-pills a.is-current,
.sgx-listing-tabs a:hover,
.sgx-category-pills a:hover,
.sgx-tag:hover {
	color: #8c2047;
}
.sgx-listing-tabs a,
.sgx-category-pills a,
.sgx-tag {
	background: rgba(255,255,255,.88);
	color: #62515b;
}
.sgx-premium-link,
.sgx-card-media {
	background: linear-gradient(180deg, #ffffff, #fbf4f7);
	box-shadow: 0 12px 28px rgba(74,43,58,.10);
}
.sgx-premium-placeholder { background: linear-gradient(135deg, #f8edf3, #eee5fb); }
.sgx-view-all:hover,
.sgx-friends-head > a:hover,
.sgx-card-body h3 a:hover,
.sgx-breadcrumbs a:hover { color: var(--sgx-accent); }
.sgx-card-meta { color: #7a6873; }
.sgx-sponsored-card .sgx-card-meta { color: #8a54b7; }
.sgx-seo-content p,
.sgx-seo-content li,
.sgx-prose p,
.sgx-prose li { color: #554750; }
.sgx-content-card,
.sgx-seo-content,
.sgx-article-card,
.sgx-discovery-links a { box-shadow: 0 10px 30px rgba(74,43,58,.045); }
.sgx-play-head { align-items: center; }
.sgx-play-head .sgx-ratings-ui { margin-left: auto; }
.sgx-player-area { border-color: rgba(40,24,34,.16); }
.sgx-player-controls { background: #fff; }
.sgx-player-controls button,
.sgx-player-controls a {
	background: #f7eef3;
	color: #46343f;
}
.sgx-friends-strip { background: #fff; }
.sgx-friends-links { color: #75636d; }
.sgx-friends-links a { color: #574650; }
.sgx-friends-links a:hover { color: var(--sgx-accent); }
.sgx-site-footer { background: #f3eaf0; }
.sgx-footer-inner strong { color: #2c2028; }
.sgx-footer-menu a:hover { color: var(--sgx-accent); }
.sgx-status-message { color: #28634d; }
.sgx-girlfriend-card,
.sgx-command-card {
	border-color: rgba(56,36,48,.11);
	box-shadow: 0 14px 36px rgba(74,43,58,.10);
}
.sgx-girlfriend-card:hover,
.sgx-command-card:hover { box-shadow: 0 18px 42px rgba(74,43,58,.14); }
.sgx-girlfriend-placeholder { background: radial-gradient(circle at 30% 20%, rgba(255,51,102,.16), transparent 34%), linear-gradient(145deg, #f8edf3, #eee5fb); }

.sgx-language-switch {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 7px 11px;
	border: 1px solid var(--sgx-border);
	border-radius: 999px;
	background: #fff;
	color: #5d4b55;
	font-size: 13px;
	font-weight: 800;
}
.sgx-language-switch:hover {
	border-color: rgba(255,51,102,.36);
	color: var(--sgx-accent);
}

@media (max-width: 860px) {
	.sgx-primary-nav { background: #fff; }
	.sgx-nav-toggle { background: #fff; }
}
