/* ViralXXXPorn (VX theme) adaptation of the features brought over from SheeshFans.

   The feature stylesheets (continue_watching, notifications, push, personal_feed, player_extras)
   are shared with SheeshFans and read that theme's custom properties. Rather than keep a second copy
   of each, the properties they use are defined here from the VX palette, and the few rules that
   depend on markup are repeated for the VX class names. Loaded last, after main.css and the feature
   stylesheets. */

/* ---- continue_watching.css (merged here 2026-10-20 - one request less; the SheeshFans copy stays separate) ---- */

/* Continue watching.

   Colors come from the theme's own custom properties, so the light and dark stylesheets keep
   working without a second copy of these rules.

   The watch bar sits at the bottom of the card and is a separate element from the theme's
   existing .progress-bar, which is the hover animation at the top of the thumbnail and fills
   0-100% on every hover regardless of what was watched. Reusing it would have meant losing that
   effect. */

.card-media .watched-bar {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 4px;
	background-color: rgba(0, 0, 0, 0.45);
	z-index: 2;
	pointer-events: none;
}

.card-media .watched-bar i {
	display: block;
	height: 100%;
	width: 0;
	background-color: rgb(var(--bg-rgb-active-progress-bar));
}

/* The hover preview scales the thumbnail and slides its own bar in at the top; the watch bar
   stays put so the two never read as one control. */
.card-media:hover .watched-bar {
	background-color: rgba(0, 0, 0, 0.6);
}

/* Fallback anchor only. The prompt is normally appended into the player's own .fp-ui layer, which
   is already absolute over the whole player; this covers the case where the player has not built
   its UI and the prompt lands on .player-wrap instead. */
.player-wrap {
	position: relative;
}

/* Inside .fp-ui the stacking context is the player's own. .fp-ui:before is a full-size overlay
   carrying the click-to-play target, so the prompt needs to sit above it - it does so by document
   order already, and the z-index makes that explicit rather than incidental. */
.cw-resume {
	position: absolute;
	left: 12px;
	bottom: 62px;
	z-index: 20;
	display: flex;
	align-items: center;
	gap: 10px;
	max-width: calc(100% - 24px);
	padding: 8px 10px 8px 14px;
	border-radius: 10px;
	background-color: rgba(0, 0, 0, 0.82);
	color: #fff;
	font-size: 14px;
	line-height: 1.2;
}

.cw-resume-text {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.cw-resume-go {
	flex: none;
	padding: 6px 12px;
	border: 0;
	border-radius: 6px;
	background-color: rgb(var(--bg-rgb-active-progress-bar));
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.cw-resume-close {
	flex: none;
	width: 24px;
	height: 24px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background-color: transparent;
	color: #fff;
	font-size: 20px;
	line-height: 1;
	opacity: 0.7;
	cursor: pointer;
}

.cw-resume-close:hover {
	opacity: 1;
}

/* The control bar takes a larger share of a small player, so the prompt moves down out of its way
   and drops the padding it cannot afford. */
@media screen and (max-width: 640px) {
	.cw-resume {
		left: 8px;
		right: 8px;
		bottom: 48px;
		max-width: none;
		gap: 8px;
		padding: 6px 6px 6px 10px;
		font-size: 13px;
	}
}

.cw-clear-holder {
	display: flex;
	justify-content: center;
	margin: 10px 0 20px;
}

/* Continue watching skeleton.

   Only the text lines need styling: .card-media already carries the aspect ratio and the item
   background from the theme, so an empty one is a correctly sized placeholder box on its own.
   That is also what keeps the swap for real cards free of any height change. */

.cw-skel-line {
	display: block;
	border-radius: 4px;
	background-color: var(--bg-item);
}

.cw-skel-title {
	height: 14px;
	width: 90%;
	margin-bottom: 8px;
}

.cw-skel-meta {
	height: 12px;
	width: 55%;
}

.cw-skeleton .card-media,
.cw-skel-line {
	animation: cw-skel-pulse 1.4s ease-in-out infinite;
}

@keyframes cw-skel-pulse {
	0%, 100% { opacity: 1; }
	50%      { opacity: 0.55; }
}

/* Someone who asked for less motion gets the reserved space without the pulsing. */
@media (prefers-reduced-motion: reduce) {
	.cw-skeleton .card-media,
	.cw-skel-line {
		animation: none;
	}
}

/* ---- end of continue_watching.css ---- */


:root {
	--bg-active: var(--color-active);
	--bg-item: rgba(var(--bg-rgb-second), 0.08);
	--bg-border-input: rgba(var(--bg-rgb-second), 0.15);
	--bg-dropped-user: #2a0a24;
	--bg-rgb-active-progress-bar: 232, 107, 34;
	--color-primary: #fff;
	--color-secondary: var(--color-second);
	--color-active-darkness: var(--color-active-second);
}

/* The light theme puts .light on an element inside :root, the same way main.css does. */
:root .light {
	--bg-dropped-user: #fff;
	--color-active-darkness: #C94C00;
}

/* ---------------------------------------------------------------- continue watching */

/* .vx-main-card .vx-media is already position:relative with the 16:9 padding, so the bar can sit
   on it the same way it sits on .card-media in the other theme. */
.vx-media .watched-bar {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 4px;
	background-color: rgba(0, 0, 0, 0.45);
	z-index: 2;
	pointer-events: none;
}

.vx-media .watched-bar i {
	display: block;
	height: 100%;
	width: 0;
	background-color: var(--color-active);
}

.vx-media:hover .watched-bar {
	background-color: rgba(0, 0, 0, 0.6);
}

/* The skeleton card has no .vx-main-card around its .vx-media, so the box is sized here. */
.cw-skeleton .vx-media {
	display: block;
	position: relative;
	padding-bottom: 56.1%;
	border-radius: 15px;
	background-color: var(--bg-item);
	animation: cw-skel-pulse 1.4s ease-in-out infinite;
}

.cw-skeleton .vx-text {
	display: block;
	padding-top: 10px;
}

@media (prefers-reduced-motion: reduce) {
	.cw-skeleton .vx-media {
		animation: none;
	}
}

/* ---------------------------------------------------------------- personal feed */

/* The chips reuse .btn, which this theme styles only inside its drop-downs and button groups, so
   the look of the sorting button is given to them here. */
.pf-picker .btn.pf-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: none;
	color: var(--color-main);
	padding: 0 16px;
	border-radius: 10px;
	background-color: rgba(var(--bg-rgb-second), 0.1);
	cursor: pointer;
	font-family: inherit;
	font-weight: 600;
	font-size: 14px;
	min-height: 36px;
}

.pf-picker .btn.pf-chip.pf-chip--on {
	background-color: var(--color-active);
	color: #fff;
}

.pf-picker .btn.pf-chip.pf-chip--on:hover {
	background-color: var(--color-active-second);
}

/* ---------------------------------------------------------------- notifications bell */

/* The bell is the theme's own Alerts button, so it keeps that button's look; notifications.css
   strips the background and padding a bare icon needs in the other theme. */
.notif-block .vx-btn-action.notif-bell {
	padding: 0 10px;
	background-color: rgba(var(--bg-rgb-second), 0.1);
	color: var(--color-main);
}

.notif-block .vx-btn-action.notif-bell .svg-icon {
	width: 20px;
	height: 20px;
}

.notif-block .notif-badge {
	top: -6px;
	right: -4px;
	z-index: 2;
}

.notif-block .notif-drop {
	z-index: 20;
	color: var(--color-main);
}

/* ---------------------------------------------------------------- web push */

/* The floating invitation's button is a bare .btn here as well; give it the action button look. */
[data-push-floating] .btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border: none;
	border-radius: 10px;
	padding: 10px 14px;
	background-color: var(--color-active);
	color: #fff;
	font-family: inherit;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
}

[data-push-floating] .btn .svg-icon {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

/* ---------------------------------------------------------------- featured model (homepage) */

/* The card beside the featured video. Its text used to sit at the top of a light photo with no
   backing and the whole biography in it; now it reads like the video card: everything at the
   bottom over a gradient that darkens towards the text, three lines of description at most. */
.vx-general-grid .vx-model-hero .vx-media::before {
	top: auto;
	bottom: 0;
	height: 70%;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.55) 45%, rgba(0, 0, 0, 0.9) 100%);
}

.vx-general-grid .vx-model-hero .vx-content {
	top: auto;
	bottom: 0;
}

.vx-general-grid .vx-model-hero .vx-text {
	font-size: 24px;
	margin-bottom: 6px;
}

.vx-general-grid .vx-model-hero .vx-subtitle {
	font-size: 14px;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.85);
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

.vx-general-grid .vx-model-hero .vx-group {
	margin-top: 14px;
	pointer-events: auto;
}

/* The photo is a portrait; keep the face in frame rather than the middle of the body. */
.vx-general-grid .vx-model-hero .vx-media img {
	object-position: center 20%;
}

@media screen and (max-width: 1366px) {
	.vx-general-grid .vx-model-hero .vx-text {
		font-size: 20px;
	}

	.vx-general-grid .vx-model-hero .vx-subtitle {
		-webkit-line-clamp: 2;
	}
}

/* ---------------------------------------------------------------- model page header */

/* Name, counters and aliases on the left, socials / rating / subscribe on the right. Both halves
   used to grow with their content, so a model with a long alias list pushed the right half around
   (client, 2026-10-12). Now the left half takes the free space and wraps, the right half keeps its
   own width at the right edge and its icons wrap inside it. Below 860px the theme stacks the two
   anyway, so nothing changes there. */
@media screen and (min-width: 861px) {
	.vx-viewlist-head .vx-model-head-main {
		flex: 1 1 0;
		min-width: 0;
	}

	.vx-viewlist-head .vx-model-head-main + .vx-wrapped {
		flex: 0 0 auto;
		max-width: 320px;
		justify-content: flex-end;
		align-content: flex-start;
	}

	.vx-viewlist-head .vx-model-head-main + .vx-wrapped .vx-social-list {
		flex: 1 1 100%;
		justify-content: flex-end;
		flex-wrap: wrap;
	}
}

.vx-model-aka {
	overflow-wrap: anywhere;
}

/* ---------------------------------------------------------------- model biography page */

/* Client brief, 2026-10-13: social links with their names, a short lead with links to the parts of the page,
   "at a glance" facts and site stats cards, biography + FAQ, similar models. Only new class names; the social
   rules are scoped to the model header because the footer uses .vx-social-list too. */
.vx-viewlist-head .vx-social-list {
	flex-wrap: wrap;
}

.vx-viewlist-head .vx-social-list a {
	gap: 6px;
	padding: 9px 12px;
	font-size: 13px;
	color: var(--color-second);
}

/* White text on the orange hover background (the grey text was barely visible on the light theme) */
@media screen and (min-width: 1025px) {
	.vx-social-list a:hover {
		color: var(--color-white);
	}
}

.vx-viewlist-head .vx-social-list .svg-icon {
	width: 16px;
	height: 16px;
	flex: none;
}

.vx-info-list a {
	color: inherit;
}

.vx-info-list a:hover {
	color: var(--color-active-second);
}

.vx-bio-lead {
	margin: 14px 0 0;
	line-height: 1.5;
	color: var(--color-second);
	max-width: 900px;
	overflow-wrap: anywhere;
}

.vx-bio-lead a {
	color: var(--color-active-second);
	white-space: nowrap;
}

.vx-bio-jump {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 14px;
}

.vx-bio-jump a {
	font-size: 13px;
	padding: 6px 12px;
	border-radius: 999px;
	border: 1px solid rgba(var(--bg-rgb-second), .18);
	color: var(--color-second);
	transition: border-color .3s, color .3s;
}

.vx-bio-jump a:hover {
	border-color: var(--color-active);
	color: var(--color-main); /* --color-white is white in the light theme too, the text disappeared on hover */
}

/* Facts + stats: always open on desktop and tablets, folded behind the toggle on phones (no script on load,
   so nothing shifts) */
.vx-bio-toggle {
	display: none;
}

.vx-bio-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(280px, .9fr);
	gap: 20px;
	margin-top: 22px;
}

.vx-bio-card {
	background: rgba(var(--bg-rgb-second), .06);
	border: 1px solid rgba(var(--bg-rgb-second), .08);
	border-radius: 12px;
	padding: 16px 18px;
	min-width: 0;
}

.vx-bio-card h2,
.vx-bio-card h3 {
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 12px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.vx-bio-card h2::before,
.vx-bio-card h3::before {
	content: '';
	flex: none;
	width: 4px;
	height: 16px;
	border-radius: 2px;
	background: var(--bg-tools-gradient);
}

.vx-bio-card h3 {
	margin-top: 16px;
}

.vx-facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 24px;
	margin: 0;
}

.vx-facts > div {
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding: 9px 0;
	border-bottom: 1px solid rgba(var(--bg-rgb-second), .08);
}

.vx-facts dt {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .4px;
	color: rgba(var(--bg-rgb-second), .55);
}

.vx-facts dd {
	margin: 0;
	font-size: 15px;
	font-weight: 500;
	overflow-wrap: anywhere;
}

.vx-facts dd small {
	font-weight: 400;
	color: var(--color-second);
}

.vx-bio-meta {
	margin-top: 12px;
	font-size: 12px;
	color: rgba(var(--bg-rgb-second), .55);
}

.vx-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.vx-stat {
	display: block;
	background: rgba(var(--bg-rgb-dark), .25);
	border-radius: 10px;
	padding: 12px 8px;
	text-align: center;
	color: inherit;
}

.vx-stat b {
	display: block;
	font-size: 20px;
	line-height: 1.1;
}

.vx-stat span {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	color: var(--color-second);
}

a.vx-stat:hover {
	background: rgba(var(--bg-rgb-dark), .45);
}

.vx-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.vx-chips a {
	font-size: 13px;
	padding: 6px 10px;
	border-radius: 8px;
	background: rgba(var(--bg-rgb-tools), .1);
	color: var(--color-second);
	transition: background .3s, color .3s;
}

.vx-chips a:hover {
	background: var(--color-active);
	color: var(--color-white);
}

.vx-chips a span {
	opacity: .6;
	margin-left: 4px;
	font-size: 12px;
}

/* Biography + FAQ */
.vx-bio-two {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(280px, .8fr);
	gap: 20px;
	align-items: start;
}

.vx-bio-two--faq {
	grid-template-columns: minmax(0, 1fr);
	max-width: 900px;
}

.vx-bio-body {
	line-height: 1.6;
	font-size: 15.5px;
	color: var(--color-second);
	max-width: 880px;
}

.vx-bio-body h3 {
	color: var(--color-main); /* was --color-white: white headings on the light theme */
	font-size: 18px;
	margin: 22px 0 8px;
}

/* Section headings keep the orange bar of the card titles (client mockup, 2026-10-14) */
.vx-bio-body h3::before {
	height: 18px;
}

.vx-bio-body h3:first-child {
	margin-top: 0;
}

.vx-bio-body p {
	margin: 0 0 12px;
}

.vx-bio-body p:empty {
	display: none;
}

.vx-bio-sources {
	margin-top: 16px;
	padding-top: 12px;
	border-top: 1px solid rgba(var(--bg-rgb-second), .08);
	font-size: 13px;
	color: rgba(var(--bg-rgb-second), .6);
}

.vx-bio-sources a {
	color: var(--color-active-second);
}

.vx-faq details {
	border-bottom: 1px solid rgba(var(--bg-rgb-second), .08);
	padding: 10px 0;
}

.vx-faq details:last-child {
	border-bottom: none;
}

.vx-faq summary {
	cursor: pointer;
	font-weight: 500;
	font-size: 15px;
	list-style: none;
	display: flex;
	justify-content: space-between;
	gap: 10px;
}

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

.vx-faq summary::after {
	content: '+';
	flex: none;
	color: var(--color-active-second);
	font-weight: 700;
}

.vx-faq details[open] summary::after {
	content: '\2013';
}

.vx-faq p {
	margin: 8px 0 0;
	color: var(--color-second);
	line-height: 1.5;
	font-size: 14.5px;
}

@media screen and (max-width: 980px) {
	.vx-bio-grid,
	.vx-bio-two {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media screen and (max-width: 640px) {
	.vx-facts {
		grid-template-columns: minmax(0, 1fr);
	}

	.vx-bio-jump,
	.vx-viewlist-head .vx-social-list {
		justify-content: center;
	}

	.vx-bio-lead {
		text-align: center;
	}

	.vx-bio-toggle {
		display: flex;
		width: 100%;
		justify-content: space-between;
		align-items: center;
		margin-top: 16px;
		padding: 12px 14px;
		border-radius: 10px;
		border: none;
		background: rgba(var(--bg-rgb-tools), .1);
		color: var(--color-main);
		font: inherit;
		font-weight: 500;
		cursor: pointer;
	}

	.vx-bio-toggle i {
		font-style: normal;
		color: var(--color-active-second);
		transition: transform .2s;
	}

	.vx-bio-collapse.is-open .vx-bio-toggle i {
		transform: rotate(180deg);
	}

	.vx-bio-collapse:not(.is-open) .vx-bio-grid {
		display: none;
	}

	.vx-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Similar models (client mockup, 2026-10-14): portrait cards, six in a row on desktop, a swipeable row on
   tablets and phones; the mode switch reuses the theme's sort dropdown. */
.vx-sim-mode {
	margin-left: auto;
}

.vx-sim-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 12px;
}

.vx-sim-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	border-radius: 10px;
	overflow: hidden;
	background: rgba(var(--bg-rgb-tools), .1);
	color: var(--color-main); /* was --color-white: white names on the light theme */
}

.vx-sim-img {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 2 / 3;
	overflow: hidden;
	background: linear-gradient(180deg, #4a1d45 0%, #2c0010 100%);
}

.vx-sim-img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .3s;
}

.vx-sim-img .svg-icon {
	width: 40%;
	height: 40%;
	opacity: .3;
}

.vx-sim-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 10px 10px 12px;
}

.vx-sim-name {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: color .3s;
}

.vx-sim-count {
	font-size: 12px;
	color: var(--color-second);
}

.vx-sim-card:hover .vx-sim-img img {
	transform: scale(1.04);
}

.vx-sim-card:hover .vx-sim-name {
	color: var(--color-active-second);
}

@media (max-width: 1024px) {
	.vx-sim-grid {
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: calc((100% - 36px) / 4);
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	.vx-sim-grid::-webkit-scrollbar {
		display: none;
	}

	.vx-sim-card {
		scroll-snap-align: start;
	}
}

@media (max-width: 600px) {
	.vx-sim-grid {
		gap: 10px;
		grid-auto-columns: calc((100% - 20px) / 2.4);
	}
}

/* Model photo follows the page while the header scrolls (client request, 2026-10-14): the photo column is sticky
   inside the header row, desktop layout only (the theme stacks the header at 1160px). The theme's page wrapper
   clips with overflow:hidden, which turns it into a scroll container and kills sticky; overflow:clip clips the
   same way without that, and only on the model page. Browsers without clip keep hidden and a static photo. */
@media (min-width: 1161px) {
	.vx-wrapper:has(#profile) {
		overflow: clip;
	}

	#profile .vx-posted-model {
		position: sticky;
		top: 20px;
	}
}

/* Native ad cells in video lists (include_list_videos_block_common.tpl), moved here from an inline <style>
   in the head (2026-10-20): a spot without an active ad prints nothing, and the empty cell must not leave a
   gap in the grid; an ad network iframe fills the thumb frame the same way a thumb image does. */
.spot-native:empty { display: none; }
.spot-native .vx-media iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* KVS's video preview plugin adds a span.touch-preview to each thumb on touch devices. This theme has no
   style for it, so it is an empty inline line. While the sliders were display: none at start-up the span
   landed outside them; now that a slider is laid out before Swiper starts (main.css, 2026-10-20) it lands
   in the card and made the slider 18px taller. Hidden there, as it effectively was before. */
.swiper .touch-preview {
	display: none;
}

/* Player extras buttons (picture in picture, autoplay next) in the VX player skin. player_extras.css
   sizes them for the stock KVS skin - 30px boxes, 20px glyphs - while this skin's controls are 40x46
   with 24px icons placed 8px down, so the PiP icon sat smaller and 7px lower than fullscreen. The
   -2px top margin lines the float up with .fp-screen (measured in the browser, 2026-10-20). */
.kt-player .fp-controls .pe-btn {
	width: 40px;
	height: 46px;
	margin: -2px 0 0 0;
	opacity: 1;
}

.kt-player .fp-controls .pe-btn svg {
	top: 8px;
	left: 8px;
	width: 24px;
	height: 24px;
	margin: 0;
	fill: #fff;
}
