/* hindicouplesex.com — оформление в стиле rat.xxx. Mobile-first: базовые правила = телефон,
   media-запросы только вверх (min-width). Палитра и размеры сняты с rat.xxx (main.min.css). */
:root {
	--navy: #1e2743;
	--navy-2: #291e3b;
	--pink: #dc2d7c;
	--pink-2: #ee6190;
	--purple: #922fd7;
	--bg: #f4f4f4;
	--card: #fff;
	--line: #d3dee2;
	--line-2: #e1e1e1;
	--muted: #7c7c7c;
	--muted-2: #a7b2b6;
	--muted-3: #676f72;
	--text: #1e2743;
	--text-2: #474d59;
	--green: #3dc3a3;
	--yellow: #eaa948;
	--red: #dc6b64;
}
* { -webkit-tap-highlight-color: rgba(30, 39, 67, .15); }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 14px/1.4 Verdana, Arial, Helvetica, sans-serif;
	overflow-x: hidden;
}
img, svg { border: 0; }
a { color: var(--text); text-decoration: none; }
button, input { font: inherit; }
.ic { width: 1em; height: 1em; fill: currentColor; flex-shrink: 0; }
.wrap { box-sizing: border-box; margin: 0 auto; max-width: 1408px; padding: 0 8px; position: relative; }

/* ---------- шапка + меню (липнут вместе, как на rat.xxx) ---------- */
.top { position: sticky; top: 0; z-index: 60; }
.hdr { background: var(--navy); }
.hdr-in { align-items: center; display: flex; justify-content: space-between; min-height: 50px; }
.hbtn {
	align-items: center;
	background: none;
	border: 0;
	color: #fff;
	cursor: pointer;
	display: flex;
	font-size: 26px;
	justify-content: center;
	height: 44px;
	padding: 0;
	width: 40px;
}
.logo { align-items: center; display: flex; gap: 6px; margin: 0 auto; }
.logo-m {
	background: linear-gradient(135deg, var(--purple), var(--pink));
	border-radius: 50%;
	color: #fff;
	font-size: 20px;
	height: 30px;
	padding: 5px;
	box-sizing: border-box;
	width: 30px;
}
.logo-w { color: #fff; font-size: 17px; font-weight: 700; letter-spacing: -.3px; white-space: nowrap; }
@media (max-width: 359px) { .logo-w { font-size: 15px; } .logo-m { font-size: 18px; height: 26px; width: 26px; } }
.logo-w b { color: var(--pink); font-weight: 700; }
.sbox { display: none; }
.sfield { display: flex; position: relative; }
.sfield input {
	background: #fff;
	border: 0;
	border-radius: 5px 0 0 5px;
	box-sizing: border-box;
	color: var(--text);
	height: 38px;
	outline: 0;
	padding: 0 12px;
	width: 100%;
}
.sfield button {
	align-items: center;
	background: var(--pink);
	border: 0;
	border-radius: 0 5px 5px 0;
	color: #fff;
	cursor: pointer;
	display: flex;
	font-size: 18px;
	justify-content: center;
	width: 48px;
}
.smob { display: none; padding: 0 0 8px; }
body.s-open .smob { display: block; }
body.s-open .smob .sbox { display: block; }

/* быстрое меню */
.nav { background: #fff; box-shadow: 0 1px 0 var(--line); }
.nav-in {
	-webkit-overflow-scrolling: touch;
	display: flex;
	overflow-x: auto;
	scrollbar-width: none;
}
.nav-in::-webkit-scrollbar { display: none; }
.nav-in > a {
	align-items: center;
	display: flex;
	flex-shrink: 0;
	font-size: 14px;
	gap: 7px;
	line-height: 20px;
	padding: 12px 10px;
	position: relative;
	white-space: nowrap;
}
.nav-in > a .ic { color: var(--navy); font-size: 19px; }
.nav-in > a.on:after {
	background: var(--pink);
	bottom: 0;
	content: "";
	height: 3px;
	left: 10px;
	position: absolute;
	right: 10px;
}
.nav-in > a.on .ic { color: var(--pink); }

/* выдвижное меню: панель поверх контента, как .nav-aside на rat.xxx (шапка 50px + меню 44px) */
.drawer {
	-webkit-overflow-scrolling: touch;
	background: var(--bg);
	bottom: 0;
	display: none;
	left: 0;
	overflow-y: auto;
	position: fixed;
	right: 0;
	top: 94px;
	z-index: 55;
}
body.m-open { overflow: hidden; }
body.m-open .drawer { display: block; }
.dr-reg { background: #fff; display: flex; gap: 10px; padding: 8px; }
.dr-reg a {
	align-items: center;
	border: 1px solid var(--line);
	border-radius: 5px;
	display: flex;
	flex: 1;
	gap: 8px;
	justify-content: center;
	padding: 9px 10px;
}
.dr-reg a.pink { background: var(--pink); border-color: var(--pink); color: #fff; }
.dr-nav { display: block; }
.dr-nav a {
	align-items: center;
	border-bottom: 1px solid #e6e6e6;
	display: flex;
	font-size: 15px;
	gap: 14px;
	line-height: 44px;
	padding: 0 20px 0 30px;
	position: relative;
}
.dr-nav a .ic { color: var(--muted); font-size: 20px; }
.dr-nav a.on:before {
	background: var(--pink);
	bottom: 0;
	content: "";
	height: 26px;
	left: 0;
	margin: auto 0;
	position: absolute;
	top: 0;
	width: 4px;
}
.dr-nav a.on .ic { color: var(--pink); }
.dr-nav a span { color: var(--muted-2); font-size: 12px; margin-left: auto; }

/* ---------- заголовки секций ---------- */
.sec-head {
	align-items: center;
	display: flex;
	gap: 10px;
	justify-content: space-between;
	margin: 12px 0 8px;
}
h1, h2, h3 { font-weight: 700; margin: 0; }
.sec-title { font-size: 16px; line-height: 20px; }
.sec-title span { color: var(--muted-2); font-size: 12px; font-weight: 400; white-space: nowrap; }
.sec-more {
	align-items: center;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 5px;
	color: var(--text-2);
	display: flex;
	flex-shrink: 0;
	font-size: 12px;
	gap: 6px;
	padding: 6px 8px;
}
.sec-more .ic { font-size: 11px; }

/* сортировки — выпадающий список как на rat.xxx */
.sorts { flex-shrink: 0; position: relative; }
.sorts > input { display: none; }
.btn-sort {
	align-items: center;
	color: var(--muted-3);
	cursor: pointer;
	display: flex;
	font-size: 13px;
	gap: 8px;
	line-height: 20px;
	white-space: nowrap;
}
.btn-sort .ic { font-size: 11px; }
.sorts-list {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 5px;
	box-shadow: 0 4px 12px rgba(30, 39, 67, .15);
	display: none;
	min-width: 160px;
	position: absolute;
	right: 0;
	top: 100%;
	z-index: 40;
}
.sorts > input:checked ~ .sorts-list { display: block; }
.sorts > input:checked ~ .btn-sort .ic { transform: rotate(180deg); }
.sorts-list a {
	border-bottom: 1px solid #eee;
	display: block;
	font-size: 14px;
	padding: 10px 14px;
}
.sorts-list a:last-child { border: 0; }
.sorts-list a.on { color: var(--pink); font-weight: 700; }

/* ---------- сетка видео ---------- */
.thumbs { display: grid; gap: 10px 5px; grid-template-columns: repeat(2, 1fr); }
.th { display: block; min-width: 0; }
.th-img {
	background: #d9d9d9;
	display: block;
	overflow: hidden;
	padding: 56.25% 0 0;
	position: relative;
}
.th-img img { height: 100%; left: 0; object-fit: cover; position: absolute; top: 0; width: 100%; }
.dur {
	background: rgba(30, 39, 67, .6);
	border-radius: 3px;
	bottom: 3px;
	color: #fff;
	font-size: 10px;
	line-height: 16px;
	padding: 0 5px;
	position: absolute;
	right: 3px;
}
.th-t {
	color: var(--text);
	display: block;
	font-size: 13px;
	line-height: 16px;
	margin: 4px 0 3px;
	max-height: 32px;
	overflow: hidden;
}
.th:hover .th-t { color: var(--pink); }
.th-m { align-items: center; display: flex; font-size: 12px; justify-content: space-between; gap: 4px; }
.th-m .date { color: var(--muted-2); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.th-rate { align-items: center; display: flex; flex-shrink: 0; }
.th-rate i {
	align-items: center;
	background: var(--green);
	border-radius: 50%;
	color: #fff;
	display: inline-flex;
	font-size: 10px;
	height: 16px;
	justify-content: center;
	width: 16px;
}
.th-rate.yellow i { background: var(--yellow); }
.th-rate.red i { background: var(--red); }
.th-rate span { color: var(--text-2); font-size: 11px; margin: 0 0 0 4px; }

/* карточка категории */
.th-cat .th-t { font-size: 13px; max-height: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cnt {
	background: var(--line);
	border-radius: 3px;
	color: var(--navy);
	font-size: 11px;
	line-height: 14px;
	margin: 0 0 0 5px;
	padding: 0 4px;
}
/* горизонтальная лента (Top Categories на rat.xxx) */
.one-row {
	-webkit-overflow-scrolling: touch;
	display: flex;
	gap: 5px;
	overflow-x: auto;
	scrollbar-width: none;
}
.one-row::-webkit-scrollbar { display: none; }
.one-row .th { flex-shrink: 0; width: 176px; }

/* ---------- чипсы (категории/поиски) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
	align-items: center;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 5px;
	color: var(--text-2);
	display: flex;
	font-size: 13px;
	gap: 6px;
	line-height: 18px;
	padding: 7px 10px;
}
.chip .ic { color: var(--muted); font-size: 14px; }
.chip span { color: var(--muted-2); font-size: 11px; }
.chip:hover { border-color: var(--pink); color: var(--pink); }
.chip:hover .ic { color: var(--pink); }
.chip.pink { border-color: var(--pink); color: var(--pink); }
.chip.pink .ic { color: var(--pink); }

/* ---------- пагинация ---------- */
.pager {
	-webkit-overflow-scrolling: touch;
	display: flex;
	justify-content: flex-start;
	margin: 14px 0;
	overflow-x: auto;
	scrollbar-width: none;
}
.pager::-webkit-scrollbar { display: none; }
.pager a, .pager span {
	align-items: center;
	background: #fff;
	border: 1px solid #8b8b8b;
	border-radius: 5px;
	box-sizing: border-box;
	color: var(--muted);
	display: flex;
	flex-shrink: 0;
	height: 36px;
	justify-content: center;
	margin: 0 2px;
	min-width: 40px;
	padding: 0 5px;
}
.pager .cur { background: var(--navy); border-color: var(--navy); color: #fff; }
.pager .gap { background: none; border: 0; color: var(--muted); min-width: 20px; }
.pager .arr { font-size: 18px; }

/* ---------- рекламные споты ---------- */
.spot { margin: 10px 0; overflow: hidden; text-align: center; }
.spot-label {
	color: var(--muted-2);
	display: block;
	font-size: 10px;
	letter-spacing: 1px;
	margin: 0 0 4px;
	text-transform: uppercase;
}
.spot img { max-width: 100%; }

/* ---------- страница видео ---------- */
.view { margin: 0 auto; }
.view-title { font-size: 16px; line-height: 20px; margin: 10px 0 8px; }
/* Геометрия бокса 16:9 и постера задана инлайном в шаблоне, чтобы плеер не зависел от этого файла.
   Пре-ролл выводится ОТДЕЛЬНЫМ блоком над боксом: внутри он распирал бокс и ролик уезжал в часть поля. */
.player { background: #000; display: block; overflow: hidden; position: relative; width: 100%; }
.player > a { display: block; }
/* реальный плеер xvideos (вкладка ?play=1) — на месте постера */
.player video.vid { background: #000; display: block; height: 100%; left: 0; position: absolute; top: 0; width: 100%; }
.pre-roll { margin: 0 0 5px; overflow: hidden; text-align: center; }
.pre-roll img { max-width: 100%; }
.under-player { margin: 5px 0 0; text-align: center; }
.view-info { border-bottom: 1px solid var(--line); padding: 5px 0; }
.view-actions {
	align-items: center;
	border-bottom: 1px solid var(--line);
	display: flex;
	justify-content: space-around;
	margin: 0 0 5px;
	padding: 0 0 5px;
}
.act {
	align-items: center;
	background: none;
	border: 0;
	color: inherit;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	gap: 7px;
	min-height: 38px;
	padding: 5px 8px;
}
.act .ic { color: var(--navy); font-size: 22px; }
.act b { color: var(--muted-3); font-size: 12px; font-weight: 400; white-space: nowrap; }
.act.up .ic { color: var(--green); }
.act.down .ic { color: var(--red); }
.act.pct { cursor: default; }
.act.on b { color: var(--pink); font-weight: 700; }
.view-actions.rated .act { cursor: default; }
.view-actions.rated .act:not(.on) { opacity: .55; }
.view-details { align-items: center; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.det { align-items: center; color: #6b6b6b; display: inline-flex; font-size: 12px; gap: 8px; }
.det .ic { color: var(--navy); font-size: 15px; }
.view-chips { margin: 10px 0; }

/* ---------- подвал ---------- */
.ftr { background: var(--navy); font-size: 13px; margin: 10px 0 0; padding: 15px 0; }
.ftr-nav {
	border-bottom: 1px solid var(--pink-2);
	margin: 0 10px 10px;
	padding: 0 10px 10px;
	text-align: center;
}
.ftr-nav a { color: #f4f4fb; display: inline-block; font-size: 12px; line-height: 20px; margin: 0 10px 0 0; }
.ftr-nav a:last-child { margin: 0; }
.ftr-nav a:hover { color: var(--pink); }
.ftr p { color: #f4f4fb; font-size: 12px; line-height: 16px; margin: 4px 0 0; text-align: center; }
.blk { margin: 16px 0; }
.seo { color: var(--muted-3); font-size: 13px; line-height: 20px; margin: 20px 0; }

/* ---------- планшет ---------- */
@media (min-width: 481px) {
	.thumbs { gap: 12px 10px; grid-template-columns: repeat(3, 1fr); }
	.th-t { font-size: 14px; }
	.sec-title { font-size: 18px; line-height: 24px; }
	.view-title { font-size: 18px; line-height: 24px; }
}
@media (min-width: 761px) {
	.wrap { padding: 0 18px; }
	.thumbs { grid-template-columns: repeat(4, 1fr); }
	.hdr-in { min-height: 80px; }
	.hbtn { display: none; }
	.logo { margin: 0 30px 0 0; }
	.logo-m { font-size: 30px; height: 46px; width: 46px; }
	.logo-w { font-size: 30px; }
	.sbox { display: block; flex-grow: 1; margin-right: auto; max-width: 560px; }
	.sfield input { height: 42px; }
	.smob { display: none !important; }
	.nav-in { justify-content: flex-start; }
	.nav-in > a { font-size: 15px; padding: 15px 14px; }
	.nav-in > a.on:after { left: 14px; right: 14px; }
	.drawer { display: none !important; }
	body.m-open { overflow: visible; }
	.dur { bottom: 5px; right: 5px; }
	.sec-head { margin: 18px 0 12px; }
	.sec-title { font-size: 20px; line-height: 26px; }
	.view-title { font-size: 20px; line-height: 26px; }
	.view { max-width: 980px; }
	.view-info { align-items: center; display: flex; flex-wrap: wrap; justify-content: space-between; padding: 10px 0; }
	.view-actions { border: 0; justify-content: flex-start; margin: 0; padding: 0; }
	.act { margin: 0 0 0 15px; }
	.act:first-child { margin: 0; }
	.ftr { padding: 25px 0; }
	.ftr-nav { text-align: right; }
	.ftr-nav a { margin: 0 20px 0 0; }
	.ftr p { text-align: left; }
}
@media (min-width: 1201px) {
	.thumbs { grid-template-columns: repeat(5, 1fr); }
}
