/*
 * Premium layer.
 *
 * Sits on top of the ported stylesheet and restyles it: a gold accent on
 * near-black, a text wordmark instead of the source's logo image, refined
 * card surfaces and a chip-based video page.
 *
 * The port itself is untouched. Nothing here changes the layout geometry -
 * colours, radii, shadows and type only - so the three-column grid, the
 * 17px column stagger and the footer height all stay exactly as they were.
 * Drop this file and the theme is the original clone again.
 */

:root {
	--pk-gold: #e3b34f;
	--pk-gold-light: #f7dc9a;
	--pk-gold-deep: #a87b22;
	--pk-ink: #0d0e12;
	--pk-surface: #16181f;
	--pk-line: rgba(227, 179, 79, .22);
	--pk-text: #eceef2;
	--pk-muted: #9aa0ac;
	--pk-radius: 10px;
	--pk-radius-lg: 14px;
	--pk-shadow: 0 18px 40px -24px rgba(0, 0, 0, .95);
	--pk-shadow-lift: 0 26px 50px -26px rgba(0, 0, 0, 1);
}

/* --------------------------------------------------------------------- *
 * Type
 * --------------------------------------------------------------------- */

/*
 * iOS Safari inflates the text in landscape, which breaks the fixed heights
 * the layout relies on. This puts it back to the size the CSS asks for.
 */
html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

/*
 * The ported font stack reads "Tahoma sans-serif" as one family name, so the
 * chain never reaches a real fallback. It is split back into two.
 */
html.dark body,
html.light body {
	font-family: Verdana, Arial, Tahoma, sans-serif;
}

/*
 * The card titles are two lines tall. The port cut a third line in half;
 * this clamps it properly and adds an ellipsis instead, and the line height
 * is set so that two lines still fill exactly the same box.
 */
.dark .pornkvideos h2 a,
.dark .pornkvideos h2.vttitle,
.light .pornkvideos h2 a,
.light .pornkvideos h2.vttitle {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	line-height: 20px;
}

/* The headings the theme adds get a line height of their own. */
.pk-related__title {
	line-height: 1.3;
}

.pk-cats__label {
	line-height: 1.6;
}


/* --------------------------------------------------------------------- *
 * Base
 * --------------------------------------------------------------------- */

html.dark body {
	background-color: var(--pk-ink);
	color: var(--pk-text);
}

html.dark body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background:
		radial-gradient(900px 420px at 10% -10%, rgba(227, 179, 79, .11), transparent 62%),
		radial-gradient(760px 380px at 90% 2%, rgba(112, 86, 196, .10), transparent 60%);
}

html.light body {
	background-color: #eef0f4;
	color: #23252b;
}

html.light body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background:
		radial-gradient(900px 420px at 10% -10%, rgba(227, 179, 79, .12), transparent 62%),
		radial-gradient(760px 380px at 90% 2%, rgba(116, 128, 158, .13), transparent 60%);
}

::selection {
	background: rgba(227, 179, 79, .32);
	color: #fff;
}

/* --------------------------------------------------------------------- *
 * Header and wordmark
 * --------------------------------------------------------------------- */

.dark .header {
	background: linear-gradient(180deg, #101219 0%, #0d0e12 100%);
	border-bottom: 1px solid var(--pk-line);
	box-shadow: 0 10px 30px -26px rgba(0, 0, 0, 1);
}

/*
 * The source site keeps a dark bar above the content in both colour modes,
 * so the wordmark sits on a dark surface either way and needs only one
 * treatment.
 */
.light .header {
	background: linear-gradient(180deg, #17181c 0%, #0f1116 100%);
	border-bottom: 1px solid var(--pk-line);
	box-shadow: 0 10px 30px -26px rgba(0, 0, 0, .8);
}

/*
 * On a narrow screen the bar is fixed and scrolls over the content, so it
 * needs its own background - the header behind it is only a few pixels tall.
 * The port gives the bar a dark background in both colour modes; this keeps
 * it that way.
 */
.dark .fpart,
.light .fpart {
	background: linear-gradient(180deg, #17181c 0%, #0f1116 100%);
}

a.toplogo {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 16px 20px;
	float: left;
	text-decoration: none;
}

.toplogo__mark {
	width: 11px;
	height: 11px;
	flex: 0 0 11px;
	transform: rotate(45deg);
	border-radius: 2px;
	background: linear-gradient(135deg, var(--pk-gold-light), var(--pk-gold-deep));
	box-shadow: 0 0 14px rgba(227, 179, 79, .55);
}

.toplogo__text {
	font-family: 'PT Sans', Verdana, Arial, sans-serif;
	font-size: 24px;
	font-weight: 700;
	letter-spacing: 3px;
	text-transform: uppercase;
	line-height: 1;
	white-space: nowrap;
	background: linear-gradient(92deg, #ffffff 8%, var(--pk-gold-light) 52%, var(--pk-gold) 94%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: var(--pk-gold-light);
}

html.light .toplogo__text {
	background: linear-gradient(92deg, #ffffff 8%, var(--pk-gold-light) 52%, var(--pk-gold) 94%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

/* The search field: a pill that grows on focus. */
.porn_search .s_inp {
	background-color: rgba(255, 255, 255, .08);
	border: 1px solid var(--pk-line);
	border-radius: 999px;
	color: var(--pk-text);
}

.porn_search .s_inp::placeholder {
	color: var(--pk-muted);
}

.porn_search .s_inp:focus {
	background-color: rgba(255, 255, 255, .06);
	border-color: var(--pk-gold);
	box-shadow: 0 0 0 3px rgba(227, 179, 79, .16);
	outline: none;
}

/* The top navigation. */
.nav_menu .nav_links a {
	position: relative;
	color: #cdd2dc;
	transition: color .18s ease;
}

.nav_menu .nav_links a:hover {
	color: var(--pk-gold-light);
	background-color: transparent;
}

.nav_menu .nav_links a.selected {
	color: var(--pk-gold-light);
}

.nav_menu .nav_links a.selected::after {
	content: "";
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: -9px;
	height: 2px;
	border-radius: 2px;
	background: linear-gradient(90deg, transparent, var(--pk-gold), transparent);
}

.nav_menu .nav_links a:hover [id^=item]:before,
.nav_menu .nav_links a:hover [id*=" item"]:before,
.nav_menu .nav_links a.selected [id^=item]:before,
.nav_menu .nav_links a.selected [id*=" item"]:before {
	color: var(--pk-gold);
}

/* The drawer. */
.dark #mobomenu {
	background: linear-gradient(180deg, #12141b, #0d0e12);
}

.dark #layout {
	background: rgba(6, 7, 10, .74);
	backdrop-filter: blur(3px);
}

/* The dark / light switch and the account buttons. */
#chthemel,
#chthemed {
	background: linear-gradient(135deg, rgba(227, 179, 79, .16), rgba(227, 179, 79, .05));
	border: 1px solid var(--pk-line);
	color: var(--pk-gold-light);
	border-radius: 999px;
	width: 120px;
}

.get_login,
.get_signup {
	background: var(--pk-surface);
	border: 1px solid var(--pk-line);
	border-radius: 999px;
	color: var(--pk-gold-light);
	transition: all .18s ease;
}

.get_login:hover,
.get_signup:hover {
	background: rgba(227, 179, 79, .14);
}

/* --------------------------------------------------------------------- *
 * Category column (desktop only - on small screens it is the drawer)
 * --------------------------------------------------------------------- */

@media (min-width: 801px) {
	.dark #l_categories {
		background: linear-gradient(180deg, rgba(227, 179, 79, .05), transparent 45%);
		border-radius: var(--pk-radius-lg) 0 0 var(--pk-radius-lg);
		padding-top: 12px;
	}

	.dark #l_categories a {
		width: auto;
		background: rgba(255, 255, 255, .035);
		border: 1px solid transparent;
		border-bottom-color: rgba(255, 255, 255, .05);
		border-radius: 8px;
		margin: 0 6px 4px 0;
		padding: 7px 10px;
		color: #c9ced8;
		font-size: 16px;
		transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
	}

	.dark #l_categories a:hover {
		background: rgba(227, 179, 79, .13);
		border-color: var(--pk-line);
		color: var(--pk-gold-light);
		transform: translateX(3px);
	}
}

/* --------------------------------------------------------------------- *
 * Video cards
 * --------------------------------------------------------------------- */

.dark .pornkvideos .wrap {
	border-radius: var(--pk-radius-lg);
	background: var(--pk-surface);
	box-shadow: var(--pk-shadow), 0 0 0 1px rgba(255, 255, 255, .05);
	transition: transform .2s ease, box-shadow .2s ease;
}

.dark .pornkvideos .wrap:hover {
	transform: translateY(-3px);
	box-shadow: var(--pk-shadow-lift), 0 0 0 1px var(--pk-line);
}

.dark .pornkvideos .vid_info {
	background: #0b0c10;
}

/*
 * The title bar keeps its padding, but the link inside carries the text.
 *
 * The port put the padding on the link, so its overflow box was the padding
 * box and a third line painted straight through it. With the padding on the
 * heading instead, the link is exactly two lines tall and clips the rest.
 */
.dark .pornkvideos h2,
.light .pornkvideos h2 {
	padding: 8px 10px;
	line-height: 20px;
}

.dark .pornkvideos h2 {
	background: var(--pk-surface);
}

.light .pornkvideos h2 {
	background: #fff;
}

.dark .pornkvideos h2 > a.hl,
.light .pornkvideos h2 > a.hl {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	height: 44px;
	padding: 0;
	background: transparent;
	font-size: 18px;
	line-height: 20px;
	color: var(--pk-text);
}

.light .pornkvideos h2 > a.hl {
	color: #1a1b20;
}

.dark .pornkvideos h2 > a.hl:hover {
	color: var(--pk-gold-light);
	text-decoration: none;
}

.dark .pornkvideos h2 a:hover {
	color: var(--pk-gold-light);
	text-decoration: none;
}

/* The badges on the artwork. */
.dark .pornkvideos .likes,
.dark .pornkvideos .dislikes,
.dark .pornkvideos .vlength {
	background: rgba(9, 10, 13, .72);
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 6px;
	backdrop-filter: blur(6px);
	padding: 4px 8px 5px;
	height: auto;
	font-size: 12px;
}

.dark .pornkvideos .vlength {
	background: rgba(9, 10, 13, .82);
	border-color: var(--pk-line);
	color: var(--pk-gold-light);
}

/* --------------------------------------------------------------------- *
 * Pagination
 * --------------------------------------------------------------------- */

.dark .pagination .block_content {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 18px 0 6px;
}

.dark .pagination a,
.dark .pagination span {
	float: none;
	min-width: 34px;
	height: 34px;
	line-height: 32px;
	padding: 0 10px;
	font-size: 14px;
	text-align: center;
	background: var(--pk-surface);
	border: 1px solid rgba(255, 255, 255, .09);
	border-radius: 8px;
	color: #c9ced8;
	transition: all .18s ease;
}

.dark .pagination a:hover {
	background: rgba(227, 179, 79, .14);
	border-color: var(--pk-gold);
	color: var(--pk-gold-light);
	transform: translateY(-1px);
}

.dark .pagination span.fpages {
	background: linear-gradient(135deg, var(--pk-gold-light), var(--pk-gold-deep));
	border-color: transparent;
	color: #17130a;
	font-weight: 700;
}

.dark .pagination a.mpages {
	background: transparent;
	border-color: var(--pk-line);
	color: var(--pk-gold-light);
	letter-spacing: 1px;
}

/* --------------------------------------------------------------------- *
 * Footer
 * --------------------------------------------------------------------- */

.dark .bottom {
	background: linear-gradient(180deg, #101219, #0a0b0e);
	border-top: 1px solid var(--pk-line);
}

.dark .bott {
	color: var(--pk-muted);
	letter-spacing: .4px;
}

/* --------------------------------------------------------------------- *
 * Video page
 * --------------------------------------------------------------------- */

.dark .porntitle,
.dark h1.porntitle {
	color: var(--pk-text);
	font-weight: 700;
	line-height: 1.25;
}

.light .porntitle,
.light h1.porntitle {
	line-height: 1.25;
}

.dark .pk-player {
	border-radius: var(--pk-radius-lg);
	overflow: hidden;
	box-shadow: var(--pk-shadow-lift);
}

.dark .pk-player__frame {
	background: #000;
}

/* The gold play button. */
.dark .pk-player__play {
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity .25s ease;
}

.dark .pk-player__play-icon {
	width: 74px;
	height: 74px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--pk-gold-light), var(--pk-gold-deep));
	box-shadow: 0 14px 40px -10px rgba(227, 179, 79, .7);
	display: flex;
	align-items: center;
	justify-content: center;
}

.dark .pk-player__play-icon::before {
	content: "";
	width: 0;
	height: 0;
	margin-left: 6px;
	border-left: 21px solid #17130a;
	border-top: 13px solid transparent;
	border-bottom: 13px solid transparent;
}

/* Once the video runs the overlay steps out of the way. */
.dark .pk-player.is-playing .pk-player__play {
	opacity: 0;
	pointer-events: none;
}

.dark .pk-player__menu {
	display: flex;
	gap: 8px;
	padding: 14px 0 4px;
}

.dark .pk-player__quality {
	background: var(--pk-surface);
	border: 1px solid rgba(255, 255, 255, .09);
	border-radius: 999px;
	color: #c9ced8;
	padding: 8px 18px;
	font-size: 13px;
	transition: all .18s ease;
}

.dark .pk-player__quality:hover {
	background: rgba(227, 179, 79, .14);
	border-color: var(--pk-gold);
	color: var(--pk-gold-light);
}

.dark .pk-player__quality.is-active {
	background: linear-gradient(135deg, var(--pk-gold-light), var(--pk-gold-deep));
	border-color: transparent;
	color: #17130a;
	font-weight: 700;
}

/* The counters. */
.dark .pk-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	padding: 18px 0 6px;
}

.dark .pk-chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: var(--pk-surface);
	border: 1px solid rgba(255, 255, 255, .09);
	border-radius: 999px;
	padding: 7px 15px;
	font-size: 14px;
	color: #d4d8e0;
}

.dark .pk-chip__icon {
	font-family: icomoon;
	font-style: normal;
	font-weight: normal;
	font-size: 16px;
	color: var(--pk-gold);
}

.dark .pk-chip__icon--time::before { content: "\e8b5"; }
.dark .pk-chip__icon--like::before { content: "\e905"; }
.dark .pk-chip__icon--dislike::before { content: "\e904"; }

.dark .pk-chip.pk-duration {
	border-color: var(--pk-line);
	color: var(--pk-gold-light);
}

/*
 * The categories.
 *
 * The row is styled on its own class, not on the port's ".video_cats". The
 * port's rules - ".video_cats a" and ".video_cats span" - float the links
 * and give them square corners, and they outrank a plain ".pk-cat", so
 * fighting them rule by rule is how the row ended up broken in one colour
 * mode only. Owning the markup is the fix.
 *
 * The layout is the same in both colour modes - only the colours change.
 */
.pk-cats {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	padding: 5px 0 20px;
	margin: 18px 0 4px;
}

.pk-cats__label {
	float: none;
	margin: 0 4px 0 0;
	padding: 0;
	font-size: 13px;
	letter-spacing: 1.6px;
	text-transform: uppercase;
}

.dark .pk-cats__label {
	color: var(--pk-muted);
}

.pk-cat {
	display: inline-block;
	float: none;
	border-radius: 999px;
	padding: 6px 14px;
	margin: 0;
	font-size: 14px;
	text-decoration: none;
	transition: all .18s ease;
}

.dark .pk-cat {
	background: rgba(227, 179, 79, .09);
	border: 1px solid var(--pk-line);
	color: var(--pk-gold-light);
}

.dark .pk-cat:hover {
	background: rgba(227, 179, 79, .18);
	border-color: var(--pk-gold);
}

/* --------------------------------------------------------------------- *
 * The votes
 * --------------------------------------------------------------------- */

.dark #flagging_container {
	display: inline-flex;
	gap: 8px;
	align-items: center;
}

/*
 * The ported stylesheet turns every link inside .maininfo into a third of
 * the row, which is right for the source site but not for the vote buttons
 * that sit next to the counters.
 */
.dark .maininfo #flagging_container a,
.light .maininfo #flagging_container a {
	width: auto;
	float: none;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	text-align: left;
	padding: 7px 15px;
	border-radius: 999px;
}

.dark .maininfo #flagging_container a:before,
.light .maininfo #flagging_container a:before {
	display: inline-block;
	width: auto;
	clear: none;
	font-size: 16px;
	margin-right: 0;
}

.dark #flagging_container a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: var(--pk-surface);
	border: 1px solid rgba(255, 255, 255, .09);
	border-radius: 999px;
	padding: 7px 15px;
	font-size: 14px;
	color: #d4d8e0;
	text-decoration: none;
	transition: all .18s ease;
}

.dark #flagging_container a:hover {
	transform: translateY(-1px);
	text-decoration: none;
}

.dark #flag_like_this_video:hover {
	border-color: rgba(143, 208, 104, .55);
	background: rgba(143, 208, 104, .12);
}

.dark #flag_dislike_this_video:hover {
	border-color: rgba(237, 112, 96, .55);
	background: rgba(237, 112, 96, .12);
}

.dark #flagging_container a.is-voted {
	opacity: .55;
	cursor: default;
}

.dark .g_hint {
	border-radius: var(--pk-radius);
	padding: 10px 16px;
	margin-top: 10px;
	font-size: 14px;
}

.dark .g_hint.ok {
	background: rgba(143, 208, 104, .12);
	border: 1px solid rgba(143, 208, 104, .35);
	color: #b6e39a;
}

.dark .g_hint.bad {
	background: rgba(237, 112, 96, .12);
	border: 1px solid rgba(237, 112, 96, .35);
	color: #f0a396;
}

/* --------------------------------------------------------------------- *
 * The download options
 * --------------------------------------------------------------------- */

.dark .pk-download {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 16px 0 6px;
	padding: 9px 20px;
	background: var(--pk-surface);
	border: 1px solid var(--pk-line);
	border-radius: 999px;
	color: var(--pk-gold-light);
	font-size: 15px;
	cursor: pointer;
	transition: all .18s ease;
}

.dark .pk-download:hover {
	background: rgba(227, 179, 79, .14);
	border-color: var(--pk-gold);
}

.dark .pk-download.is-open {
	background: linear-gradient(135deg, var(--pk-gold-light), var(--pk-gold-deep));
	border-color: transparent;
	color: #17130a;
}

.dark .pk-downloads {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 10px 0 4px;
}

.dark .pk-downloads a {
	display: inline-block;
	background: var(--pk-surface);
	border: 1px solid rgba(255, 255, 255, .09);
	border-radius: 999px;
	padding: 8px 18px;
	color: #c9ced8;
	font-size: 14px;
	text-decoration: none;
	transition: all .18s ease;
}

.dark .pk-downloads a:hover {
	background: rgba(227, 179, 79, .14);
	border-color: var(--pk-gold);
	color: var(--pk-gold-light);
}

/* --------------------------------------------------------------------- *
 * Related videos
 * --------------------------------------------------------------------- */

.pk-related {
	margin: 34px 0 10px;
}

.pk-related__title {
	font-family: 'PT Sans', Verdana, Arial, sans-serif;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	color: var(--pk-text);
	margin: 0 0 4px;
}

.dark .pk-related__title::after {
	content: "";
	display: block;
	width: 54px;
	height: 2px;
	margin-top: 8px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--pk-gold), transparent);
}

/* The cards are inline-block, so the whitespace between them has to go. */
.pk-related__grid {
	font-size: 0;
	margin: 0 -6px;
}

/* --------------------------------------------------------------------- *
 * The player
 * --------------------------------------------------------------------- */

.dark .pk-player--jw {
	/* The quality switcher sits below the video inside this box, so the box
	   must not clip it - the rounded frame goes on the player itself. */
	overflow: visible;
	border-radius: 0;
	box-shadow: none;
}

.dark .pk-player--jw .jwplayer {
	border-radius: var(--pk-radius-lg);
	overflow: hidden;
	box-shadow: var(--pk-shadow-lift);
}

.dark .pk-player__jw {
	width: 100%;
	height: 100%;
}

.dark .pk-player--jw .pk-player__menu {
	padding: 14px 0 2px;
}

/* The remaining description. */
.dark .pk-details {
	background: var(--pk-surface);
	border: 1px solid rgba(255, 255, 255, .06);
	border-left: 3px solid var(--pk-gold);
	border-radius: var(--pk-radius);
	color: #c9ced8;
	line-height: 1.75;
}

.light .pk-details {
	background: #fff;
	border-color: rgba(0, 0, 0, .07);
	border-left-color: var(--pk-gold-deep);
	color: #3a3d45;
}

/* --------------------------------------------------------------------- *
 * Light theme
 * --------------------------------------------------------------------- */

.light .pornkvideos .wrap {
	background: #fff;
	border-radius: var(--pk-radius-lg);
	box-shadow: 0 12px 30px -24px rgba(0, 0, 0, .5), 0 0 0 1px rgba(0, 0, 0, .07);
}

.light .pornkvideos h2 a,
.light .pornkvideos h2.vttitle {
	background: #fff;
	color: #1a1b20;
	line-height: 20px;
}

.light #l_categories a {
	background: #fff;
	border: 1px solid rgba(0, 0, 0, .06);
	border-radius: 8px;
	color: #3a3d45;
}

.light #l_categories a:hover {
	background: rgba(227, 179, 79, .16);
	border-color: var(--pk-line);
	color: var(--pk-gold-deep);
}

.light .pagination a,
.light .pagination span {
	background: #fff;
	border: 1px solid rgba(0, 0, 0, .1);
	color: #3a3d45;
}

.light .pagination span.fpages {
	background: linear-gradient(135deg, var(--pk-gold-light), var(--pk-gold-deep));
	border-color: transparent;
	color: #17130a;
}

/* --------------------------------------------------------------------- *
 * The pills
 * --------------------------------------------------------------------- */

/*
 * Every pill is sized with the border box, so the 44px touch target is the
 * whole button rather than the content box plus its padding. Without it the
 * chips grew to 58px and the row stopped lining up.
 */
.dark .pk-chip,
.light .pk-chip,
.dark #flagging_container a,
.light #flagging_container a,
.dark .pk-download,
.light .pk-download,
.dark .pk-cat,
.light .pk-cat,
.dark .pk-player__quality,
.light .pk-player__quality,
.dark .pk-downloads a,
.light .pk-downloads a,
.dark .pagination a,
.dark .pagination span,
.light .pagination a,
.light .pagination span {
	box-sizing: border-box;
}

/* The counters on the video page. */
.light .pk-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	padding: 18px 0 6px;
}

.light .pk-chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, .09);
	border-radius: 999px;
	padding: 7px 15px;
	font-size: 14px;
	color: #3a3d45;
}

.light .pk-chip__icon {
	font-family: icomoon;
	font-style: normal;
	font-weight: normal;
	font-size: 16px;
	color: var(--pk-gold-deep);
}

.light .pk-chip.pk-duration {
	border-color: rgba(168, 123, 34, .35);
	color: var(--pk-gold-deep);
}

/* The votes. */
.light #flagging_container {
	display: inline-flex;
	gap: 8px;
	align-items: center;
}

.light #flagging_container a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, .1);
	border-radius: 999px;
	padding: 7px 15px;
	font-size: 14px;
	color: #3a3d45;
	text-decoration: none;
	transition: all .18s ease;
}

.light #flag_like_this_video:hover {
	border-color: rgba(143, 208, 104, .6);
	background: rgba(143, 208, 104, .16);
}

.light #flag_dislike_this_video:hover {
	border-color: rgba(237, 112, 96, .6);
	background: rgba(237, 112, 96, .16);
}

.light #flagging_container a.is-voted {
	opacity: .55;
	cursor: default;
}

.light .g_hint.ok {
	background: rgba(143, 208, 104, .16);
	border: 1px solid rgba(143, 208, 104, .45);
	color: #4d7a33;
}

.light .g_hint {
	border-radius: var(--pk-radius);
	padding: 10px 16px;
	margin-top: 10px;
	font-size: 14px;
}

.light .g_hint.bad {
	background: rgba(237, 112, 96, .16);
	border: 1px solid rgba(237, 112, 96, .45);
	color: #a8402f;
}

/* The download options. */
.light .pk-download {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 16px 0 6px;
	padding: 9px 20px;
	background: #fff;
	border: 1px solid rgba(168, 123, 34, .35);
	border-radius: 999px;
	color: var(--pk-gold-deep);
	font-size: 15px;
	cursor: pointer;
	transition: all .18s ease;
}

.light .pk-download:hover {
	background: rgba(227, 179, 79, .18);
	border-color: var(--pk-gold-deep);
}

.light .pk-download.is-open {
	background: linear-gradient(135deg, var(--pk-gold-light), var(--pk-gold-deep));
	border-color: transparent;
	color: #17130a;
}

.light .pk-downloads {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 10px 0 4px;
}

.light .pk-downloads a {
	display: inline-block;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, .1);
	border-radius: 999px;
	padding: 8px 18px;
	color: #3a3d45;
	font-size: 14px;
	text-decoration: none;
	transition: all .18s ease;
}

.light .pk-downloads a:hover {
	background: rgba(227, 179, 79, .18);
	border-color: var(--pk-gold-deep);
	color: var(--pk-gold-deep);
}

/* The quality switcher. */
.light .pk-player__quality {
	background: #fff;
	border: 1px solid rgba(0, 0, 0, .12);
	border-radius: 999px;
	color: #3a3d45;
	padding: 8px 18px;
	font-size: 13px;
	transition: all .18s ease;
}

.light .pk-player__quality:hover {
	background: rgba(227, 179, 79, .18);
	border-color: var(--pk-gold-deep);
	color: var(--pk-gold-deep);
}

.light .pk-player__quality.is-active {
	background: linear-gradient(135deg, var(--pk-gold-light), var(--pk-gold-deep));
	border-color: transparent;
	color: #17130a;
	font-weight: 700;
}

/* Related videos. */
.light .pk-related__title {
	color: #23252b;
}

.light .pk-cat {
	background: rgba(227, 179, 79, .16);
	border: 1px solid rgba(168, 123, 34, .3);
	color: var(--pk-gold-deep);
}

.light .pk-cat:hover {
	background: rgba(227, 179, 79, .3);
	border-color: var(--pk-gold-deep);
}

.light .pk-cats__label {
	font-size: 13px;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	color: #6c707a;
	margin-right: 4px;
}

/* --------------------------------------------------------------------- *
 * Responsive
 * --------------------------------------------------------------------- */

@media (max-width: 1200px) {
	.toplogo__text {
		font-size: 21px;
		letter-spacing: 2px;
	}
}

@media (max-width: 800px) {
	a.toplogo {
		padding: 12px 10px;
	}

	.toplogo__text {
		font-size: 18px;
		letter-spacing: 1.4px;
	}

	.toplogo__mark {
		width: 9px;
		height: 9px;
		flex-basis: 9px;
	}

	.dark .pk-meta {
		padding-top: 14px;
	}

	.dark .pk-chip {
		padding: 6px 12px;
		font-size: 13px;
	}

	.dark .pk-player__play-icon {
		width: 60px;
		height: 60px;
	}
}

/* --------------------------------------------------------------------- *
 * The light theme
 *
 * The same design as the dark theme with light surfaces: the same gold
 * accent, the same radii, the same shadows, the same hairline borders and
 * the same hover behaviour. Only the surfaces change.
 * --------------------------------------------------------------------- */

/* The navigation strip. The chrome is the same in both themes - the bar and
   the strip stay dark - so only the content surfaces change. */
.nav_menu {
	background-color: #35363b;
	border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.light .nav_menu .nav_links a {
	position: relative;
	color: #cdd2dc;
	transition: color .18s ease;
}

.light .nav_menu .nav_links a:hover {
	color: var(--pk-gold-light);
	background-color: transparent;
}

.light .nav_menu .nav_links a.selected {
	color: var(--pk-gold-light);
}

.light .nav_menu .nav_links a.selected::after {
	content: "";
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: -9px;
	height: 2px;
	border-radius: 2px;
	background: linear-gradient(90deg, transparent, var(--pk-gold), transparent);
}

.light .nav_menu .nav_links a:hover [id^=item]:before,
.light .nav_menu .nav_links a:hover [id*=" item"]:before,
.light .nav_menu .nav_links a.selected [id^=item]:before,
.light .nav_menu .nav_links a.selected [id*=" item"]:before {
	color: var(--pk-gold);
}

/* The search field. */
/* The theme switch and the account buttons. */
/*
 * The drawer. On a wide screen it holds the navigation and sits inside the
 * header, so it must not paint over the dark bar. On a narrow screen it is
 * the drawer panel and keeps the dark surface of its own.
 */
#mobomenu {
	background: linear-gradient(180deg, #12141b, #0d0e12);
}

#layout {
	background: rgba(6, 7, 10, .74);
	backdrop-filter: blur(3px);
}

@media (min-width: 801px) {
	.light #mobomenu {
		background: transparent;
	}
}

/* The cards. */
.light .pornkvideos .wrap {
	background: #fff;
	border-radius: var(--pk-radius-lg);
	box-shadow: 0 18px 40px -26px rgba(18, 22, 30, .45), 0 0 0 1px rgba(0, 0, 0, .07);
	transition: transform .2s ease, box-shadow .2s ease;
}

.light .pornkvideos .wrap:hover {
	transform: translateY(-3px);
	box-shadow: 0 26px 50px -26px rgba(18, 22, 30, .5), 0 0 0 1px rgba(168, 123, 34, .4);
}

.light .pornkvideos .vid_info {
	background: #fff;
}

.light .pornkvideos h2 {
	background: #fff;
}

.light .pornkvideos h2 > a.hl {
	color: #23252b;
}

.light .pornkvideos h2 > a.hl:hover {
	color: var(--pk-gold-deep);
}

/* The badges sit on the artwork, so they stay dark in both themes. */
.light .pornkvideos .likes,
.light .pornkvideos .dislikes,
.light .pornkvideos .vlength {
	background: rgba(16, 18, 24, .72);
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 6px;
	backdrop-filter: blur(6px);
	padding: 4px 8px 5px;
	height: auto;
	font-size: 12px;
}

.light .pornkvideos .vlength {
	background: rgba(16, 18, 24, .84);
	border-color: rgba(227, 179, 79, .38);
	color: var(--pk-gold-light);
}

/* The category column. */
.light #l_categories a {
	background: #fff;
	border: 1px solid rgba(0, 0, 0, .07);
	border-radius: 8px;
	color: #3a3d45;
}

.light #l_categories a:hover {
	background: rgba(227, 179, 79, .16);
	border-color: rgba(168, 123, 34, .4);
	color: var(--pk-gold-deep);
}

/* The pagination. */
.light .pagination a,
.light .pagination span {
	background: #fff;
	border: 1px solid rgba(0, 0, 0, .1);
	color: #3a3d45;
}

.light .pagination a:hover {
	background: rgba(227, 179, 79, .16);
	border-color: var(--pk-gold-deep);
	color: var(--pk-gold-deep);
}

.light .pagination span.fpages {
	background: linear-gradient(135deg, var(--pk-gold-light), var(--pk-gold-deep));
	border-color: transparent;
	color: #17130a;
	font-weight: 700;
}

.light .pagination a.mpages {
	background: transparent;
	border-color: rgba(168, 123, 34, .32);
	color: var(--pk-gold-deep);
}

/* The footer. */
.light .bottom {
	background: linear-gradient(180deg, #ffffff, #f5f6f8);
	border-top: 1px solid rgba(0, 0, 0, .08);
	color: #6c707a;
}

.light .bott {
	color: #6c707a;
}

/* The video page. */
.light .porntitle,
.light h1.porntitle {
	color: #23252b;
	font-weight: 700;
	line-height: 1.25;
}

.light .pk-chip {
	background: #fff;
	border: 1px solid rgba(0, 0, 0, .09);
	border-radius: 999px;
	padding: 7px 15px;
	font-size: 14px;
	color: #3a3d45;
}

.light .pk-chip__icon {
	color: var(--pk-gold-deep);
}

.light .pk-chip.pk-duration {
	border-color: rgba(168, 123, 34, .32);
	color: #8a6316;
}

.light .pk-cats__label {
	color: #6c707a;
}

.light .pk-cat {
	background: rgba(227, 179, 79, .14);
	border: 1px solid rgba(168, 123, 34, .28);
	color: #8a6316;
}

.light .pk-cat:hover {
	background: rgba(227, 179, 79, .24);
	border-color: var(--pk-gold-deep);
}

.light #flagging_container a {
	background: #fff;
	border: 1px solid rgba(0, 0, 0, .09);
	border-radius: 999px;
	padding: 7px 15px;
	font-size: 14px;
	color: #3a3d45;
}

.light #flag_like_this_video:hover {
	border-color: rgba(143, 208, 104, .6);
	background: rgba(143, 208, 104, .14);
}

.light #flag_dislike_this_video:hover {
	border-color: rgba(237, 112, 96, .6);
	background: rgba(237, 112, 96, .14);
}

.light .pk-download {
	background: #fff;
	border: 1px solid rgba(168, 123, 34, .32);
	border-radius: 999px;
	color: #8a6316;
}

.light .pk-downloads a {
	background: #fff;
	border: 1px solid rgba(0, 0, 0, .1);
	border-radius: 999px;
	color: #3a3d45;
}

.light .pk-player__quality {
	background: #fff;
	border: 1px solid rgba(0, 0, 0, .1);
	border-radius: 999px;
	color: #3a3d45;
}

.light .pk-player__quality:hover {
	background: rgba(227, 179, 79, .16);
	border-color: var(--pk-gold-deep);
	color: var(--pk-gold-deep);
}

.light .pk-player__quality.is-active {
	background: linear-gradient(135deg, var(--pk-gold-light), var(--pk-gold-deep));
	border-color: transparent;
	color: #17130a;
	font-weight: 700;
}

.light .pk-details {
	background: #fff;
	border: 1px solid rgba(0, 0, 0, .07);
	border-left: 3px solid var(--pk-gold);
	color: #3a3d45;
}

.light .pk-related__title {
	color: #23252b;
}

/* --------------------------------------------------------------------- *
 * Mobile ergonomics
 * --------------------------------------------------------------------- */

@media (max-width: 800px) {
	/*
	 * The header bar was 39px tall with a 5px left padding on a 100% wide
	 * box, so the whole page was 5px wider than the screen. The border box
	 * keeps the padding inside the width.
	 */
	.fpart {
		box-sizing: border-box;
		height: 50px;
		padding-bottom: 0;
	}

	/*
	 * The bar is fixed on a narrow screen and the content starts under it,
	 * so the offset has to match the bar's height.
	 */
	#main_content {
		margin-top: 50px;
	}

	/* Touch targets: 44px is the comfortable minimum for a finger. */
	.menumob,
	.searchmob {
		box-sizing: border-box;
		width: 44px;
		height: 44px;
		padding: 3px 6px 0 0;
		font-size: 34px;
	}

	.nav_menu .nav_links a {
		padding: 14px 15px;
	}

	#l_categories a {
		padding: 12px 10px;
	}

	/* iOS zooms the whole page when a field is smaller than 16px. */
	.s_inp,
	.s_inp:focus,
	.dark .s_inp,
	.dark .s_inp:focus {
		font-size: 16px;
	}

	/* The wordmark has to fit inside the bar. */
	a.toplogo {
		box-sizing: border-box;
		padding: 13px 10px;
		min-height: 44px;
	}

	.toplogo__text {
		font-size: 17px;
		letter-spacing: 1.2px;
	}

	.toplogo__mark {
		width: 9px;
		height: 9px;
		flex-basis: 9px;
	}

	/* The theme's own controls get the same 44px touch target. */
	.dark .pk-chip,
	.light .pk-chip,
	.dark #flagging_container a,
	.light #flagging_container a,
	.dark .pk-download,
	.light .pk-download,
	.dark .pk-cat,
	.light .pk-cat,
	.dark .pk-player__quality,
	.light .pk-player__quality {
		min-height: 44px;
	}

	.dark .pk-downloads a,
	.light .pk-downloads a {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
	}

	.dark .pagination a,
	.dark .pagination span,
	.light .pagination a,
	.light .pagination span {
		min-height: 44px;
		line-height: 42px;
	}

	/*
	 * The dark/light switch is an icon on a narrow screen, so it has to be
	 * as wide as the icon. Left at 120px it wrapped onto its own line and
	 * sat under the account buttons.
	 */
	.dark #chthemel,
	.dark #chthemed,
	.light #chthemel,
	.light #chthemed {
		box-sizing: border-box;
		width: auto;
		min-width: 44px;
		text-align: center;
	}
}
