.ogh-directory {
	--ogh-bg: var(--xms-bg, #08060c);
	--ogh-panel: var(--xms-panel, #151019);
	--ogh-panel-2: var(--xms-panel-2, #1e1622);
	--ogh-text: var(--xms-text, #f7f2ed);
	--ogh-muted: var(--xms-muted, #afa3b8);
	--ogh-dim: var(--xms-dim, #77697f);
	--ogh-border: var(--xms-line, rgba(255,255,255,.09));
	--ogh-border-strong: var(--xms-line-strong, rgba(255,255,255,.16));
	--ogh-pink: var(--xms-pink, #ff3d8a);
	--ogh-orange: var(--xms-orange, #ff7a45);
	--ogh-amber: var(--xms-amber, #ffc24b);
	min-height: 65vh;
	color: var(--ogh-text);
	background: var(--ogh-bg);
	font-family: "Montserrat", sans-serif;
}

.ogh-directory .ogh-container {
	width: min(100% - 48px, var(--xms-container, 1240px));
	margin-inline: auto;
}

.ogh-directory .section { padding: clamp(48px, 6vw, 76px) 0; }
.ogh-directory .section.alt { border-top: 1px solid var(--ogh-border); background: var(--ogh-panel); }
.ogh-directory a { color: inherit; }
.ogh-directory h1, .ogh-directory h2, .ogh-directory h3, .ogh-directory strong { color: var(--ogh-text); }

.ogh-directory-hero {
	position: relative;
	overflow: hidden;
	padding: 58px 0 42px;
	border-bottom: 1px solid var(--ogh-border);
	background:
		radial-gradient(520px 260px at 26% 0%, color-mix(in srgb, var(--ogh-pink) 18%, transparent), transparent 72%),
		radial-gradient(500px 260px at 72% 10%, color-mix(in srgb, var(--ogh-orange) 13%, transparent), transparent 72%),
		var(--ogh-bg);
}
.ogh-directory-hero h1 { margin: 18px 0 8px; color: var(--ogh-text); font-size: clamp(36px, 5vw, 58px); line-height: 1.06; letter-spacing: -.045em; }
.ogh-directory-hero p, .ogh-directory-intro { max-width: 800px; margin: 0; color: var(--ogh-muted); line-height: 1.7; }
.ogh-directory-intro p { margin: 8px 0; }
.ogh-breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--ogh-dim); font-size: 13px; }
.ogh-breadcrumbs a { color: var(--ogh-amber); }

.ogh-directory-filters {
	display: grid;
	grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(150px, .65fr)) minmax(130px, auto) auto;
	gap: 10px;
	margin-top: 28px;
	padding: 11px;
	border: 1px solid var(--ogh-border-strong);
	border-radius: 18px;
	background: var(--ogh-panel);
	box-shadow: 0 28px 65px -38px color-mix(in srgb, var(--ogh-pink) 55%, transparent);
}
.ogh-directory-filters input, .ogh-directory-filters select {
	width: 100%;
	height: 48px;
	padding: 0 14px;
	color: var(--ogh-text);
	border: 1px solid var(--ogh-border);
	border-radius: 12px;
	outline: 0;
	background: var(--ogh-panel-2);
	font: inherit;
}
.ogh-directory-filters input::placeholder { color: var(--ogh-dim); }
.ogh-directory-filters input:focus, .ogh-directory-filters select:focus { border-color: var(--ogh-pink); }
.ogh-directory-filters select { color-scheme: dark; }
.ogh-directory-filters button {
	padding: 0 23px;
	color: #fff;
	border: 0;
	border-radius: 12px;
	background: linear-gradient(120deg, var(--ogh-pink), var(--ogh-orange));
	font: 800 14px/1 "Montserrat", sans-serif;
	cursor: pointer;
}
.ogh-directory-filters > a { display: grid; place-items: center; padding: 0 12px; color: var(--ogh-muted); font-weight: 700; }

.creator-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.ogh-empty { padding: 58px 24px; color: var(--ogh-muted); border: 1px dashed var(--ogh-border-strong); border-radius: 22px; background: var(--ogh-panel); text-align: center; }
.ogh-empty h1, .ogh-empty h2 { margin-top: 0; }
.ogh-empty p { color: var(--ogh-muted); }

.ogh-pagination { margin-top: 38px; }
.ogh-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0; list-style: none; }
.ogh-pagination a, .ogh-pagination span { min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 10px; color: var(--ogh-muted); border: 1px solid var(--ogh-border); border-radius: 11px; background: var(--ogh-panel); }
.ogh-pagination .current { color: #fff; border-color: var(--ogh-pink); background: var(--ogh-pink); }

.ogh-entity-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ogh-entity-grid > a { min-height: 112px; padding: 20px; display: flex; flex-direction: column; justify-content: end; border: 1px solid var(--ogh-border); border-radius: 16px; background: var(--ogh-panel); transition: .2s ease; }
.ogh-entity-grid > a:hover { border-color: var(--ogh-pink); background: var(--ogh-panel-2); transform: translateY(-3px); }
.ogh-entity-grid strong { font-size: 16px; line-height: 1.35; }
.ogh-entity-grid span { margin-top: 6px; color: var(--ogh-dim); font-size: 12px; }
.ogh-seo-copy, .ogh-directory-seo { max-width: 920px; margin-top: 42px; padding: 30px; color: var(--ogh-muted); border: 1px solid var(--ogh-border); border-radius: 20px; background: var(--ogh-panel); line-height: 1.78; }
.ogh-seo-copy h2, .ogh-seo-copy h3, .ogh-directory-seo h2, .ogh-directory-seo h3 { color: var(--ogh-text); }
.ogh-directory-seo details { border-top: 1px solid var(--ogh-border); }
.ogh-directory-seo summary { padding: 15px 0; font-weight: 800; cursor: pointer; }

.ogh-featured-strip { margin-top: 34px; }
.ogh-featured-strip-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 15px; }
.ogh-featured-strip-heading > span { color: var(--ogh-amber); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ogh-featured-strip-heading h2 { margin: 0; font-size: clamp(22px, 3vw, 32px); }
.ogh-featured-strip-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ogh-featured-mini-card { display: none; min-width: 0; overflow: hidden; align-items: center; gap: 13px; padding: 10px; color: var(--ogh-text); border: 1px solid var(--ogh-border); border-radius: 15px; background: var(--ogh-panel); }
.ogh-featured-mini-card.is-selected { display: flex; }
.ogh-featured-mini-card img { width: 62px; height: 78px; flex: 0 0 auto; object-fit: cover; border-radius: 10px; }
.ogh-featured-mini-card > span { min-width: 0; }
.ogh-featured-mini-card b, .ogh-featured-mini-card strong, .ogh-featured-mini-card small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ogh-featured-mini-card b { color: var(--ogh-pink); font-size: 10px; text-transform: uppercase; }
.ogh-featured-mini-card strong { margin-top: 5px; font-size: 14px; }
.ogh-featured-mini-card small { margin-top: 4px; color: var(--ogh-dim); font-size: 11px; }

.ogh-profile-wrap { padding-top: 34px; padding-bottom: 74px; }
.ogh-profile { display: grid; grid-template-columns: minmax(300px, .75fr) 1.25fr; gap: 42px; margin-top: 24px; padding: 28px; border: 1px solid var(--ogh-border); border-radius: 24px; background: var(--ogh-panel); box-shadow: 0 32px 70px -45px rgba(0,0,0,.9); }
.ogh-profile-gallery { min-width: 0; }
.ogh-profile-media { overflow: hidden; aspect-ratio: 4/5; border-radius: 18px; background: linear-gradient(145deg, #602a71, #a23c54); }
.ogh-profile-media img { width: 100%; height: 100%; object-fit: cover; }
.ogh-gallery-open { width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.ogh-profile-thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: 72px; gap: 8px; margin-top: 10px; overflow-x: auto; padding: 2px 2px 8px; }
.ogh-profile-thumbs button { width: 72px; aspect-ratio: 1; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 10px; background: var(--ogh-panel-2); cursor: pointer; }
.ogh-profile-thumbs button.is-active { border-color: var(--ogh-pink); }
.ogh-profile-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.ogh-image-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: rgba(255,255,255,.45); font-size: 50px; font-weight: 900; }
.ogh-profile-copy { align-self: center; }
.ogh-profile-copy h1 { margin: 12px 0 0; color: var(--ogh-text); font-size: clamp(38px, 5vw, 62px); line-height: 1.04; letter-spacing: -.045em; }
.ogh-profile-handle, .ogh-profile-note { color: var(--ogh-muted); }
.ogh-profile-handle { font-size: 18px; }
.ogh-profile-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.ogh-profile-badges span { padding: 6px 10px; color: var(--ogh-amber); border: 1px solid color-mix(in srgb, var(--ogh-amber) 35%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--ogh-amber) 12%, transparent); font-size: 11px; font-weight: 800; }
.ogh-profile-badges .is-free { color: #60e0a0; border-color: rgba(96,224,160,.28); background: rgba(96,224,160,.1); }
.ogh-profile-badges .is-paid { color: #ff77aa; border-color: rgba(255,61,138,.3); background: rgba(255,61,138,.11); }
.ogh-profile-lead { color: var(--ogh-muted); font-size: 17px; line-height: 1.7; }
.ogh-profile-cta { min-height: 52px; margin-top: 25px; display: inline-grid; place-items: center; padding: 0 25px; color: #fff; border-radius: 999px; background: linear-gradient(120deg, var(--ogh-pink), var(--ogh-orange)); font-weight: 800; }
.ogh-profile-note { max-width: 560px; font-size: 12px; }
.ogh-profile-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 18px 0; }
.ogh-profile-stat { min-height: 92px; display: grid; align-content: center; gap: 2px; padding: 15px; border: 1px solid var(--ogh-border); border-radius: 16px; background: var(--ogh-panel-2); }
.ogh-profile-stat > span { color: var(--ogh-pink); font-size: 16px; }
.ogh-profile-stat strong { font-size: 24px; line-height: 1.1; }
.ogh-profile-stat small { color: var(--ogh-dim); font-size: 12px; }
.ogh-profile-stat.is-subscription { border-color: rgba(255,61,138,.28); background: rgba(255,61,138,.08); }
.ogh-profile-stat.is-subscription strong { color: var(--ogh-pink); }
.ogh-profile-taxonomies { margin-top: 16px; }
.ogh-profile-taxonomies > strong { display: block; margin-bottom: 8px; font-size: 13px; }
.ogh-profile-taxonomies .tag-list { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; }
.ogh-profile-taxonomies .tag-list a, .ogh-profile-taxonomies .tag-list span { padding: 7px 10px; color: var(--ogh-muted); border: 1px solid var(--ogh-border); border-radius: 999px; background: var(--ogh-panel-2); font-size: 11px; font-weight: 700; }
.ogh-profile-socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ogh-profile-socials a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 11px; color: var(--ogh-muted); border: 1px solid var(--ogh-border); border-radius: 999px; background: var(--ogh-panel-2); font-size: 12px; font-weight: 700; }
.ogh-profile-socials a span { color: var(--ogh-pink); font-size: 15px; }
.ogh-profile-socials a:hover { color: #fff; border-color: var(--ogh-pink); background: var(--ogh-pink); }
.ogh-profile-socials a:hover span { color: #fff; }
.ogh-profile-about { margin-top: 24px; padding: 30px; color: var(--ogh-muted); border: 1px solid var(--ogh-border); border-radius: 22px; background: var(--ogh-panel); line-height: 1.75; }
.ogh-profile-about h2 { margin-top: 0; color: var(--ogh-text); }
.ogh-profile-seo p { max-width: 900px; }
.ogh-profile-faq-list { display: grid; gap: 10px; }
.ogh-profile-faq details { border: 1px solid var(--ogh-border); border-radius: 14px; background: var(--ogh-panel-2); }
.ogh-profile-faq summary { padding: 16px 18px; color: var(--ogh-text); font-weight: 800; cursor: pointer; }
.ogh-profile-faq details p { margin: 0; padding: 0 18px 18px; color: var(--ogh-muted); }
.ogh-directory-fallback-card { overflow: hidden; padding: 16px; border: 1px solid var(--ogh-border); border-radius: 18px; background: var(--ogh-panel); }
.ogh-directory-fallback-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 12px; }

.ogh-lightbox { width: min(92vw, 900px); max-width: 900px; padding: 0; border: 0; border-radius: 18px; background: #08060c; box-shadow: 0 25px 90px rgba(0,0,0,.75); }
.ogh-lightbox::backdrop { background: rgba(8,6,12,.9); }
.ogh-lightbox img { display: block; width: 100%; max-height: 88vh; object-fit: contain; }
.ogh-lightbox-close, .ogh-lightbox-prev, .ogh-lightbox-next { position: absolute; z-index: 2; width: 44px; height: 44px; color: #fff; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: rgba(21,16,25,.9); font-size: 28px; cursor: pointer; }
.ogh-lightbox-close { top: 12px; right: 12px; }
.ogh-lightbox-prev, .ogh-lightbox-next { top: 50%; transform: translateY(-50%); }
.ogh-lightbox-prev { left: 12px; }
.ogh-lightbox-next { right: 12px; }

@media (max-width: 1050px) {
	.ogh-directory-filters { grid-template-columns: 1fr 1fr; }
	.ogh-directory-filters label { grid-column: 1 / -1; }
	.creator-grid, .ogh-entity-grid, .ogh-featured-strip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.ogh-profile { grid-template-columns: 1fr; }
	.ogh-profile-media { max-width: 520px; }
}
@media (max-width: 600px) {
	.ogh-directory .ogh-container { width: min(100% - 28px, var(--xms-container, 1240px)); }
	.ogh-directory-hero { padding: 40px 0 30px; }
	.ogh-directory-filters { grid-template-columns: 1fr; padding: 9px; }
	.ogh-directory-filters label { grid-column: auto; }
	.ogh-directory-filters button, .ogh-directory-filters > a { min-height: 46px; }
	.creator-grid, .ogh-entity-grid, .ogh-featured-strip-grid { grid-template-columns: 1fr; }
	.ogh-profile { padding: 16px; gap: 24px; }
	.ogh-profile-copy h1 { font-size: 38px; }
	.ogh-profile-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
