/*
 * One stylesheet, no framework. The whole point of this build is that a
 * performer page ships its own markup and this file, rather than a builder's
 * per-layout CSS.
 */

:root {
	--bg: #14090e;
	--surface: #1e1015;
	--line: #33202a;
	--ink: #f2e9ec;
	--muted: #b193a0;
	--accent: #e0466f;
	--radius: 4px;
	--gap: 14px;
	--max: 1400px;
}

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

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover, a:focus-visible { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
img { max-width: 100%; height: auto; display: block; }

.site-head, .site-foot, #content {
	max-width: var(--max);
	margin-inline: auto;
	padding-inline: 16px;
}

.site-head {
	display: flex; align-items: center; justify-content: space-between;
	gap: var(--gap); padding-block: 14px; border-bottom: 1px solid var(--line);
}
.brand { font-weight: 700; font-size: 20px; letter-spacing: -.01em; }
.site-nav ul { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; font-size: 15px; }

h1, h2 { line-height: 1.15; text-wrap: balance; margin: 28px 0 12px; }
h1 { font-size: clamp(24px, 3.4vw, 34px); }
h2 { font-size: clamp(18px, 2.2vw, 22px); }

/* Performer grid ------------------------------------------------------- */
.grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: var(--gap);
}
.card {
	border-radius: var(--radius); overflow: hidden;
	background: linear-gradient(158deg, hsl(var(--h, 340) 36% 24%), hsl(var(--h, 340) 30% 13%));
}
/* Holds its shape with or without an image, so a blocked CDN cannot collapse
   the grid. The card background below the image is the placeholder. */
.card-link { display: block; position: relative; aspect-ratio: 4 / 3; }
.card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-name {
	position: absolute; left: 0; right: 0; bottom: 0;
	padding: 6px 8px; font-size: 14px; font-weight: 600;
	background: linear-gradient(to top, rgba(0,0,0,.82), transparent);
}

/* Performer page ------------------------------------------------------- */
.model-title { margin-top: 22px; }
/* The embed and the poster both sit on hosts that blocklists commonly catch.
   When either is blocked the element is hidden or removed, and this drawn-in-CSS
   panel underneath is what the visitor sees - never an empty black box. The
   aspect ratio lives on the container so the page does not reflow either way. */
/* 4:3 matches what the networks actually send - Chaturbate 360x270, CamSoda
   320x240, StripCash square or portrait. A 16:9 frame threw away a third of
   every picture and turned portrait mobile broadcasts into a close-up. The
   width cap is there because the source images are small: past about 640px
   they are visibly upscaled. */
.player {
	position: relative; aspect-ratio: 4 / 3; max-width: 640px;
	background: #000; border-radius: var(--radius); overflow: hidden;
}
.player-fallback {
	position: absolute; inset: 0; z-index: 0;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: 2px; padding: 16px; text-align: center;
	background:
		radial-gradient(115% 85% at 50% 0, hsl(var(--h, 340) 46% 27%), transparent 70%),
		linear-gradient(158deg, hsl(var(--h, 340) 32% 16%), hsl(var(--h, 340) 26% 10%));
}
.player-fallback-name { margin: 0; font-size: clamp(21px, 3.2vw, 30px); font-weight: 700; letter-spacing: -.01em; }
.player-fallback-note { margin: 0; color: var(--muted); font-size: 15px; }

.player-poster-img {
	position: absolute; inset: 0; z-index: 1;
	width: 100%; height: 100%; object-fit: cover;
}

/* The play control is a link to the network, not a player. It covers the whole
   frame so anywhere in the picture is a click through, and the disc is drawn in
   CSS so it survives a blocked image along with everything else. */
.player-play {
	position: absolute; inset: 0; z-index: 2;
	display: grid; place-items: center;
}
.player-play::before {
	content: ""; width: 76px; height: 76px; border-radius: 50%;
	background: rgba(0, 0, 0, .42);
	border: 2px solid rgba(255, 255, 255, .92);
	box-shadow: 0 2px 20px rgba(0, 0, 0, .5);
	transition: background-color .12s ease, transform .12s ease;
}
.player-play::after {
	content: ""; position: absolute; top: 50%; left: 50%;
	transform: translate(-40%, -50%);
	border-style: solid; border-width: 13px 0 13px 21px;
	border-color: transparent transparent transparent #fff;
}
.player-play:hover::before, .player-play:focus-visible::before {
	background: var(--accent); transform: scale(1.06);
}
/* Announced to screen readers, off the screen for everyone else. */
.player-play-label {
	position: absolute; width: 1px; height: 1px; overflow: hidden;
	clip-path: inset(50%); white-space: nowrap;
}

.cta { margin: 16px 0; }
.btn {
	display: inline-block; padding: 13px 26px; border-radius: var(--radius);
	background: var(--accent); color: #fff; font-weight: 700;
}
.btn:hover, .btn:focus-visible { background: #f25a82; color: #fff; }

.model-subject { color: var(--muted); margin: 12px 0 0; }

.termlist { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.termlist a {
	display: inline-block; padding: 5px 11px; font-size: 14px;
	background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
}
.termlist--tags { margin-top: 14px; }

.stats { display: grid; grid-template-columns: max-content 1fr; gap: 4px 18px; margin: 0; }
.stats dt { color: var(--muted); }
.stats dd { margin: 0; }

.prose { max-width: 68ch; }
.prose h1 { margin-top: 22px; }

.pager { display: flex; gap: 8px; justify-content: center; margin: 28px 0; flex-wrap: wrap; }
.pager .page-numbers { padding: 8px 13px; background: var(--surface); border-radius: var(--radius); }
.pager .current { background: var(--accent); color: #fff; }

.site-foot {
	margin-top: 44px; padding-block: 22px; border-top: 1px solid var(--line);
	color: var(--muted); font-size: 14px;
}
.site-foot ul { display: flex; flex-wrap: wrap; gap: 16px; list-style: none; margin: 0 0 8px; padding: 0; }
.disclaimer { margin: 0; }

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