:root {
	--bg: #fff; --bg-darker: #ededed; --bg-darker-1: #e1e1e1; --bg-black: #1e1e1e; --bg-blackest: #111111;
	--tt: #444; --tt-fade-0: #4b4640; --tt-fade: #80776c; 
	--bdc: rgba(0,0,0,0.1); --bsh-long: 0 0 60px rgba(0,0,0,0.5); --bsh: 0 0 3px 0 rgba(0,0,0,0.25);
	--bsh-block: 0 1px 5px 0 rgba(0,0,0,0.15);
	--accent: #79c142; --green: #3bb33b; --red: #eb4d4b; --orange: #f0932b; 
	--grey: #888; --yellow: #ffda4a; --blue: #486bed;

	--ui-elem-height: 40px; --ui-elem-padding: 20px; --ui-elem-gap: 10px; --ui-elem-bdrs: 4px; 
	--ui-bg-btn: #79c142; --ui-tt-btn: #fff; --ui-bg-btn-hover: #66aa32; 
	--ui-bg-inp: #fff; --ui-bdc-inp: #e3e3e3; --ui-bdc-inp-focus: #35c535;
	
	--ui-bg: #fff; --ui-bg-darker: #f2f6f8; --ui-bg-darkest: #e4ebef; --ui-accent: #06c;
	--ui-bdc: rgba(0,0,0,0.1); --ui-tt-fade: #80776c; --ui-fw-bolder: 500; --ui-fw-fa: 300;
	--ui-bsh: 0 12px 40px rgba(0,0,0,0.3); --ui-bsh-inset: inset 1px 2px 5px rgba(0,0,0,0.1); --ui-bdrs: 4px;
	--ui-gradient: linear-gradient(to bottom, #5c4f68, #352d3c); --ui-bg-black: #352d3c;
	 --ui-bg-attention: #fceedf; --ui-bd-attention: #fc9a07;
	--indent-negative: -20px; --indent: 20px; --max-width: 1250px;
}

/* RESET, BASIC UI SETTINGS
----------------------------------------------- */
* {background: none; margin: 0; padding: 0; outline: none; border: 0; box-sizing: border-box;}
ol, ul {list-style: none;}
table {border-collapse: collapse; border-spacing: 0;}
img, table, iframe, video, frame, embed, object {max-width: 100%;}
body {font-family: 'inter', sans-serif; font-size: 14px; font-weight: 400; line-height: calc(1em + 0.5rem); 
	color: var(--tt); background-color: #111; width: 100%;}
a {color: var(--tt); text-decoration: none;}
a:focus {color: var(--tt); text-decoration: none;}
h1, h2, h3, h4, h5 {font-weight: 500; font-size: 24px;}
::selection {background: #ff0000; color: #fff;}
b, strong, .bolder {font-weight: 500;}

button, select, textarea, input[type="text"], input[type="password"], input[type="button"], [type="reset"], input[type="submit"] 
{appearance: none; -webkit-appearance: none; font-size: 16px; font-family: inherit; font-weight: inherit;}
input[type="button"], input[type="submit"] {font-size: 14px; font-weight: 400;}
button, .btn, [type="button"], [type="reset"], [type="submit"], .pmessages__links a, .qq-upload-button, .plupload_button, 
.pagination__btn-loader a 
{display: inline-flex; justify-content: center; align-items: center; cursor: pointer; white-space: nowrap;
	height: var(--ui-elem-height); padding: 0 var(--ui-elem-padding); gap: var(--ui-elem-gap);
	border-radius: var(--ui-elem-bdrs); background-color: var(--ui-bg-btn); color: var(--ui-tt-btn);
	font-size: 14px; font-weight: 500; text-transform: uppercase;}
button:active, input[type="button"]:active, input[type="submit"]:active {box-shadow: inset 0 1px 4px 0 rgba(0,0,0,0.1);}
.color-btn, [class*=fr], [class*=plyr], .owl-prev, .owl-next, .owl-dot, [id*=mceu], [class*=tox-], .ui-dialog-titlebar-close {padding: 0; margin: 0; 
	line-height: 1.4; border: 0; box-shadow: none; background: none; border-radius: 0;}

[type="text"], [type="password"], [type="email"], select, textarea  {height: var(--ui-elem-height); 
	padding: 0 var(--ui-elem-padding); line-height: calc(var(--ui-elem-height) - 1px); 
	width: 100%; background-color: var(--ui-bg-inp); border: 1px solid var(--ui-bdc-inp); 
	border-radius: var(--ui-elem-bdrs); box-shadow: none; font-size: 14px; display: block;}
[type="text"]:focus, [type="password"]:focus, [type="email"]:focus, textarea:focus {border-color: var(--ui-bdc-inp-focus);}

select:not([multiple]) {background-image: url(../dleimages/chevron-down.svg); padding-right: 30px;
	background-repeat: no-repeat; background-position: right 15px top 50%; background-size: 12px auto;}
select option {padding: 6px 10px; font-weight: 400;}
select[multiple] option {padding: 3px 10px; font-weight: 400;}
select[multiple] {padding: 9px 5px;}
textarea {padding-top: 20px; padding-bottom: 20px; overflow: auto; resize: vertical;}
input::placeholder, textarea::placeholder {color: var(--tt-fade); opacity: 1; font-size: 14px;} 
input:focus::placeholder, textarea:focus::placeholder {color: transparent}


/* USEFUL CLASSES
----------------------------------------------- */
.img-wide, .img-responsive, .img-fixed-size, .expand-link, .p-relative, .img-block {position: relative;}
.img-responsive {padding-top: 60%;}
.img-responsive > img, .img-fixed-size img, .img-block img {width: 100%; height: 100%; object-fit: cover; border-radius: inherit;}
.img-responsive > img {position: absolute; left: 0; top: 0;}
.img-wide img, .img-wide > a, .img-block img {width: 100%; display: block;}
.img-block > img {position: absolute; left: 0; top: 0; width: 100%; height: 100%; 
	border-radius: inherit; display: block; object-fit: cover;}
.clr {clear: both;}
.clearfix::after {content: ""; display: table; clear: both;}
.ws-nowrap {white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block;}
.line-clamp-2, .line-clamp-3, .line-clamp-4, .line-clamp-5, .line-clamp-6 
{display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;}
.line-clamp-3 {-webkit-line-clamp: 3; line-clamp: 3;} .line-clamp-4 {-webkit-line-clamp: 4; line-clamp: 4;}
.line-clamp-5 {-webkit-line-clamp: 5; line-clamp: 5;} .line-clamp-6 {-webkit-line-clamp: 6; line-clamp: 6;}
.vw100 {margin:0 calc((100% - 100vw)/2); padding:0 calc((100vw - 100%)/2);}
.img-mask::after {content: ''; position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 60%; 
	background: linear-gradient(to top, #000 0%, transparent 100%); opacity: 1;}
.expand-link__trg::after {content: ''; position: absolute; inset: 0; z-index: 10;}
.img-overlay-icon::before {position: absolute; inset: 0; z-index: 5; border-radius: inherit; opacity: 0;
	background-color: rgba(0,0,0,0.66); color: #fff; font-size: 34px; display: grid; place-items: center;}

.d-flex {display: flex; flex-wrap: wrap; flex-direction: row;}
.fd-column {flex-direction: column; flex-wrap: nowrap;} 
.jc-space-between {justify-content: space-between;}
.jc-flex-start {justify-content: flex-start;}
.jc-center {justify-content: center;}
.jc-flex-end {justify-content: flex-end;}
.ai-flex-start {align-items: flex-start;}
.ai-center {align-items: center;}
.ai-flex-end {align-items: flex-end;}
.order-first {order: -1;}
.order-last {order: 10;}
.flex-grow-1, .ui-dialog-title, .ac-form__bottom .comments_subscribe, .flex-1 {flex: 1 1 0; max-width: 100%; min-width: 50px;}
.flex-grow-1-column, .flex-1-col {flex: 1 0 min-content}
.pi-center {display: grid; place-items: center;}
.ta-center {text-align: center;}

.grid-items {display: grid; gap: 10px; grid-template-columns: repeat(auto-fill,minmax(min(40vw,170px),1fr));}
.grid-items > *:not(.grid-items__item), #dle-content > *:not(.grid-items__item) {grid-column: 1 / -1;}
.grid-items > #dle-content {display: inherit; gap: inherit; grid-template-columns: inherit;}

.r-gap-5 {row-gap: 5px;} .r-gap-10 {row-gap: 10px;} .r-gap-15 {row-gap: 15px;} .r-gap-20 {row-gap: 20px;}
.r-gap-25 {row-gap: 25px;} .r-gap-30 {row-gap: 30px;} .r-gap-35 {row-gap: 35px;} .r-gap-40 {row-gap: 40px;}
.c-gap-5 {column-gap: 5px;} .c-gap-10 {column-gap: 10px;} .c-gap-15 {column-gap: 15px;} .c-gap-20 {column-gap: 20px;}
.c-gap-25 {column-gap: 25px;} .c-gap-30 {column-gap: 30px;} .c-gap-35 {column-gap: 35px;} .c-gap-40 {column-gap: 40px;}
.p-relative {position: relative;} .o-hidden {overflow: hidden;} .d-block {display: block;} 
.w-100 {width: 100%; min-width: 100% !important; grid-column: 1 / -1;} .bdrs-50 {border-radius: 50%;}
.ml-auto {margin-left: auto;} .mr-auto {margin-right: auto;} .mt-auto {margin-top: auto;} .mb-auto {margin-bottom: auto;}
.ratio-3-2 {aspect-ratio: 3 / 2;} .ratio-2-3 {aspect-ratio: 2 / 3;} .ratio-1-1 {aspect-ratio: 1 / 1;}

.btn-smaller {--ui-elem-height: 30px; font-size: 12px; padding: 0 10px;}
.btn-bigger {--ui-elem-height: 50px; --ui-elem-padding: 40px}
.btn-square {aspect-ratio: 1 / 1; padding: 0;}
.btn-rounded {border-radius: calc(var(--ui-elem-height)/2);}
.btn-border {background: none; border: 1px solid var(--bdc); color: var(--tt); box-shadow: none;}
.btn-nobg {background: none; color: var(--tt); box-shadow: none; padding: 0;}
.btn-fade {background-color: var(--bg-darker); color: var(--tt-fade); --ui-btn-bsh: var(--bg-darkest);}

.hidden, .d-none, .full-text .quote + br, 
#category option:empty, .ui-helper-hidden-accessible:empty, #related_news:empty, #result-registration:empty, 
.info br, #fullsearch + form .mass_comments_action, .bb-sep, .bb-pane > .clr, .comm__ctrl-menu li:empty, 
.has-checkbox:empty {display: none;} 
.login__social:has(.login__social-caption:last-child), .serv__social:has(.serv__subtitle:last-child) {display: none;}
.anim, button, .btn, a, .anim-before::before, .anim-after::after
{transition: color 0.3s, background-color 0.3s, opacity 0.3s, box-shadow 0.3s, 
	transform 0.3s, border-color 0.3s, scale 0.3s, rotate 0.3s, translate 0.3s;}

@font-face {font-family: 'inter'; src: url('../webfonts/inter-400.woff2') format('woff2');
	font-weight: 400; font-style: normal; font-display: swap;}
@font-face {font-family: 'inter'; src: url('../webfonts/inter-500.woff2') format('woff2');
	font-weight: 500; font-style: normal; font-display: swap;}
@font-face {font-family: 'Oswald'; src: url('../webfonts/oswald-700.woff2') format('woff2');
	font-weight: 700; font-style: normal; font-display: swap;}
@font-face {font-family: 'Righteous-Regular'; src: url('../webfonts/Righteous-Regular.woff2') format('woff2');
	font-weight: 400; font-style: normal; font-display: swap;}


@media (hover: hover) and (pointer: fine) {
	a:hover {color: var(--tt); text-decoration: none;}
	button:hover, .btn:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover, 
	.pmessages__links a:hover, .qq-upload-button:hover, .us__btn a:hover, .plupload_button:hover, 
	#searchsuggestions span.seperator a:hover, .pagination__btn-loader a:hover 
	{background-color: var(--ui-bg-btn-hover); color: var(--ui-tt-btn); border-color: var(--ui-bg-btn-hover);}
	.ui-dialog-titlebar-close:hover, .login__close:hover, .trl__close:hover {background-color: var(--ui-red); color: var(--tt-btn);}
	.xfieldimagegallery a:hover, .comments-image-gallery a:hover {opacity: 0.8;}
	.fs-result:hover {background-color: var(--ui-bg-darker);}

	.header__menu li:hover > a {opacity: 1; color: var(--accent);}
	.header__menu li:hover .header__menu-hidden {opacity: 1; visibility: visible; translate: 0 0;}
	.item:hover .item__btn-info {translate: 0 0; opacity: 1;}
	.header__menu-hidden a:hover, .footer__menu a:hover, .header__login a:hover, .lgn__ctrl > a:hover, .lgn__menu a:hover,  
	.speedbar a:hover, .page__complaint a:hover, .comm__action a:hover, .comm__ctrl-menu a:hover, 
	.fr__title:hover, .page__fav > *:hover, .tuser__name a:hover {text-decoration: underline;}
	.owl-nav button:hover {opacity: 1; background-color: var(--accent); color: #fff;}
	.sect__tabs button:not(.is-active):hover, .pagination > a:hover, .header__btn1:hover, .page__likes a:hover, 
	.pagination__pages a:hover, .sect__grid-select button:hover {background-color: var(--accent); color: #fff;}
	.item:hover .img-overlay-icon::before {opacity: 1;}
	.header__ava:hover, .comm__rating a:hover {opacity: 0.8;}

	.trl__close:hover, .mobile-menu__btn-close:hover, .lgn__btn-close:hover {background-color: var(--red); color: #fff;}
	.page__rating-ext a:hover .fal, .page__likes a:hover {background-color: var(--accent) !important;}
	.comm__ctrl-btn:hover {color: var(--accent); background: none;}
}


.dt {
	--bg: #222222; --bg-darker: #111111; --bg-darker-1: #050505; --bg-black: #131313; --bg-blackest: #050505;
	--tt: #ccc; --tt-fade-0: #c0c0c0; --tt-fade: #acacac; 
	--bdc: rgba(255,255,255,0.2); --bsh-long: 0 0 60px rgba(0,0,0,0.5); --bsh: 0 0 3px 0 rgba(0,0,0,0.55);
	--bsh-block: 0 1px 5px 0 rgba(0,0,0,0.45);
	
	--ui-bg-inp: rgba(0,0,0,0.15); --ui-bdc-inp: rgba(0,0,0,0.5); 

	--ui-bg: #222; --ui-bg-darker: #111; --ui-bg-darkest: #050505; --ui-accent: #60afff;
	--ui-bdc: rgba(0,0,0,0.5); --ui-tt-fade: #a1a1a1;
	--ui-bsh: 0 12px 40px rgba(0,0,0,0.5); --ui-bsh-inset: inset 1px 2px 5px rgba(0,0,0,0.4); 
	--ui-gradient: linear-gradient(to bottom, #5c4f68, #352d3c); --ui-bg-black: #352d3c;
	 --ui-bg-attention: #24221f; --ui-bd-attention: #a76605;
}
.dt {color-scheme: dark;}
.dt select:not([multiple]) {background-image: url(../dleimages/chevron-down-light.svg);}
.dt .header__menu > li > a:not(:hover) {opacity: 1; color: #fff;}
.dt .search-block__input, .dt .search-block__input:focus {box-shadow: inset 0 0 0 1px #000, inset 1px 2px 5px rgba(0,0,0,0.2);}
.dt .logo, .dt .sect__title, .dt .lgn__title, .dt .sect__tabs button.is-active, .dt .header__menu-hidden li:not(:has(a)), 
.dt .th-text h1, .dt .page__header h1, .dt .top-users__title {--tt: #fff; color: #fff;}

.dt .page__poster, .dt .show-text {box-shadow:0 0 0 1px #000,2px 3px 3px 0 rgba(0,0,0,0.4);}
.dt .page__text .full-text, .dt .rkl--holder {color: #ccc;}
.dt .page__list a {--blue: #60afff;}
.dt .page__cols-right {background-color: rgba(255,255,255,0.06);}
.dt .page__cols:has(.page__player) .page__cols-right {background-color: var(--bg-black);}
.dt .ac-form__header input, .dt .ac-form__editor textarea, .dt .top-users, .dt .comm {background-color: rgba(0,0,0,0.3);}
.dt .comm.pos {background-color: rgba(59, 179, 59, 0.15);}
.dt .comm.neg {background-color: rgba(235, 77, 75,0.15);}

.dt .filter__cell select, .dt .tail-select-container, .dt .select-label, .dt .irs-line {background-color: rgba(0,0,0,0.3);}

.descr ul li::before, .tail-select .select-label::before, .tail-select .select-label::after, 
.tail-select .select-dropdown ul li.dropdown-option.selected::before {font-weight: 300; font-family:'Font Awesome 5 Pro';}

/* =====================================================================
   2026 MODERN REFRESH (green + white, gradients, softer UI)
   This block overrides legacy variables/styles without breaking markup.
   ===================================================================== */
:root{
	/* Brand palette */
	--brand-950:#06110c;
	--brand-900:#0b241a;
	--brand-800:#0f3a2a;   /* dark green */
	--brand-700:#13513a;
	--brand-600:#1a7a57;
	--brand-500:#22a46f;   /* accent */
	--brand-200:#d7f3e7;
	--brand-100:#eefbf5;

	/* Base surfaces */
	--bg:#ffffff;
	--bg-darker:#f3f6f5;
	--bg-darker-1:#eaf0ee;
	--bg-black:#0b241a;
	--bg-blackest:#06110c;

	/* Text */
	--tt:#1f2a24;
	--tt-fade-0:#3a4941;
	--tt-fade:#6a7a72;

	/* Accent */
	--accent: var(--brand-500);
	--green: var(--brand-600);

	/* Borders & shadows */
	--bdc: rgba(8, 26, 18, 0.12);
	--bsh: 0 10px 24px rgba(6, 17, 12, 0.10);
	--bsh-block: 0 10px 28px rgba(6, 17, 12, 0.12);
	--bsh-long: 0 30px 80px rgba(6, 17, 12, 0.22);

	/* UI elements */
	--ui-elem-height: 42px;
	--ui-elem-padding: 18px;
	--ui-elem-gap: 10px;
	--ui-elem-bdrs: 12px;

	/* Buttons: allow gradients via background (not background-color) */
	--ui-bg-btn: linear-gradient(135deg, var(--brand-700), var(--brand-500));
	--ui-bg-btn-hover: linear-gradient(135deg, var(--brand-800), var(--brand-600));
	--ui-tt-btn: #ffffff;

	/* Inputs */
	--ui-bg-inp:#ffffff;
	--ui-bdc-inp: rgba(8, 26, 18, 0.18);
	--ui-bdc-inp-focus: rgba(34, 164, 111, 0.65);

	/* Helper */
	--ring: 0 0 0 4px rgba(34, 164, 111, 0.18);
}

html{scroll-behavior:smooth;}
body{
	color: var(--tt);
	background:
		radial-gradient(1200px 600px at 20% -10%, rgba(34,164,111,0.12), transparent 55%),
		radial-gradient(900px 500px at 90% 0%, rgba(19,81,58,0.12), transparent 55%),
		var(--bg-darker);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Buttons: enable gradient backgrounds + modern hover/active feel */
button, .btn, [type="button"], [type="reset"], [type="submit"],
.pmessages__links a, .qq-upload-button, .plupload_button, .pagination__btn-loader a{
	background: var(--ui-bg-btn);
	background-color: transparent;
	box-shadow: 0 10px 20px rgba(6,17,12,0.14);
	border: 1px solid rgba(255,255,255,0.10);
}
button:hover, .btn:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover,
.pmessages__links a:hover, .qq-upload-button:hover, .plupload_button:hover, .pagination__btn-loader a:hover{
	background: var(--ui-bg-btn-hover);
}
button:focus-visible, .btn:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{
	outline: none;
	box-shadow: var(--ring);
}

/* Inputs: softer borders + better focus */
input, textarea, select{
	border-radius: var(--ui-elem-bdrs);
}
input:focus, textarea:focus, select:focus{
	border-color: var(--ui-bdc-inp-focus);
	box-shadow: var(--ring);
}

/* Cards / blocks: slightly rounder everywhere without markup changes */
.bdrs, [class*="bdrs-"], .wrapper__container--main, .item__img, .carou, .descr{
	border-radius: 16px;
}



/* ==========================================================
   2026 MODERN REFRESH — PATCH 02 (menu, bg gradient, player, hovers, spoiler)
   ========================================================== */

/* 1) Site background: subtle shimmering gradient (dark green + deep graphite) */
html, body {
  background: linear-gradient(120deg,
    rgba(6, 20, 16, 1) 0%,
    rgba(10, 34, 26, 1) 18%,
    rgba(5, 16, 14, 1) 40%,
    rgba(14, 46, 34, 1) 62%,
    rgba(6, 20, 16, 1) 82%,
    rgba(10, 34, 26, 1) 100%);
  background-size: 420% 420%;
  animation: lf-bg-shimmer 18s ease-in-out infinite;
}
@keyframes lf-bg-shimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* keep inner layout readable */
.wrapper, .content, .page, .main {
  background: transparent;
}

/* 2) Header dropdown menu: fix white-on-white */
.header__menu-hidden {
  background: rgba(8, 24, 19, 0.94) !important;
  color: rgba(255,255,255,0.86) !important;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 18px 70px rgba(0,0,0,0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.header__menu-hidden li { color: rgba(255,255,255,0.70) !important; }
.header__menu-hidden a {
  color: rgba(234, 255, 246, 0.90) !important;
  text-decoration: none;
}
.header__menu-hidden a:hover {
  color: #ffffff !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.header__menu-hidden-col li:first-child {
  color: rgba(255,255,255,0.55) !important;
  letter-spacing: 0.02em;
}

/* 3) Fullstory: remove spoiler/collapse completely */
.page__text .full-text.js-text-collapse,
.full-text.js-text-collapse {
  max-height: none !important;
  height: auto !important;
  overflow: visible !important;
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
}
.page__text .text-collapse__btn,
.text-collapse__btn {
  display: none !important;
}

/* 4) Player: nicer frame, a bit lower height, rounded corners */
#page__player .tabs-block__content.video-inside.video-responsive {
  aspect-ratio: 16 / 9;
  max-height: 520px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(0,0,0,0.35);
  box-shadow: 0 18px 60px rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.10);
}
#page__player #iframeez,
#page__player #iframeez iframe,
#page__player iframe {
  border-radius: 18px !important;
}

/* 5) Film hover: replace “just darken” with modern lift + glow + play hint */
.grid-items__item.item {
  transform: translateZ(0);
  transition: transform .25s ease, box-shadow .25s ease;
}
.grid-items__item.item:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 60px rgba(0,0,0,0.45);
}
.item__img {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  transition: border-radius .25s ease;
}
.item__img img {
  transition: transform .35s ease, filter .35s ease;
  will-change: transform;
}
.item__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 520px at 20% 10%,
      rgba(0, 255, 170, 0.18) 0%,
      rgba(0, 255, 170, 0.00) 55%),
    linear-gradient(180deg,
      rgba(0,0,0,0.00) 0%,
      rgba(0,0,0,0.12) 55%,
      rgba(0,0,0,0.38) 100%);
  opacity: 0.55;
  transition: opacity .35s ease;
  pointer-events: none;
}
.item__img::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 68px;
  height: 68px;
  transform: translate(-50%, -50%) scale(0.92);
  border-radius: 999px;
  background: rgba(8, 24, 19, 0.55);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
  opacity: 0;
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}
.item__img::before {
  /* triangle play via conic-ish: use pseudo + clip-path for broad support */
  clip-path: circle(50% at 50% 50%);
}
.item__img .lf-playhint {
  display:none; /* placeholder if ever added */
}
.item:hover .item__img img {
  transform: scale(1.05);
  filter: saturate(1.06) contrast(1.04);
}
.item:hover .item__img::after { opacity: 0.78; }
.item:hover .item__img::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.0);
}

/* add actual play triangle using another pseudo on the image wrapper */
.item__img span, .item__img a { position: relative; }
.item__img::marker { content: ""; }
.item__img::before {
  /* keep circle (above); triangle via background image */
  background-image:
    radial-gradient(circle at 50% 50%, rgba(8,24,19,0.55) 0 70%, rgba(8,24,19,0.0) 71%),
    linear-gradient(135deg, rgba(255,255,255,0.95) 0 0);
}
.item__img::before {
  background:
    rgba(8, 24, 19, 0.55);
}
.item__img::before {
  /* triangle overlay */
}
.item__img::after { }

/* triangle via separate pseudo on img itself for compatibility */
.item__img img::after { content:none; }

/* Use a lightweight SVG play icon as background */
.item__img::before{
  background: rgba(8,24,19,0.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='%23ffffff' d='M26 20.5v23l18-11.5z'/%3E%3C/svg%3E") no-repeat 54% 50%;
  background-size: 22px 22px;
}

/* 6) Mobile tweaks */
@media (max-width: 768px) {
  #page__player .tabs-block__content.video-inside.video-responsive { max-height: 42vh; border-radius: 16px; }
  .item__img { border-radius: 16px; }
}

/* =========================================================
   2026 PATCH 3: player sidebar + убрать белые "края" у шапки/карусели/футера
   ========================================================= */

/* 1) Две колонки рекомендаций справа от плеера */
.page__player-row{ align-items: stretch; }
.page__player-reco{
  width: clamp(280px, 0px, 0px);
}
.player-reco__head{ padding: 8px 2px 12px; }
.player-reco__title{ font-size: 18px; font-weight: 800; letter-spacing: .2px; color: rgba(255,255,255,0.92); }
.player-reco__sub{ margin-top: 4px; font-size: 12px; color: rgba(255,255,255,0.58); }
.player-reco__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.player-reco__item{
  border-radius: 16px;
  overflow: hidden;
  background: rgba(8,24,19,0.52);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.player-reco__link{ display:block; color: inherit; }
.player-reco__poster{ position: relative; display:block; aspect-ratio: 2/3; overflow:hidden; }
.player-reco__poster img{ width:100%; height:100%; object-fit: cover; transform: scale(1.001); transition: transform .25s ease, filter .25s ease; }
.player-reco__play{
  position:absolute; inset:0;
  background:
    radial-gradient(ellipse at 50% 70%, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0) 60%),
    linear-gradient(180deg, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0.62) 100%);
  opacity: .92;
  transition: opacity .25s ease;
}
.player-reco__play::after{
  content:"";
  position:absolute; left:50%; top:50%; transform: translate(-50%,-50%) scale(.96);
  width: 54px; height: 54px;
  border-radius: 999px;
  background: rgba(8,24,19,0.55);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 12px 28px rgba(0,0,0,0.40);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='%23ffffff' d='M26 20.5v23l18-11.5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 54% 50%;
  background-size: 22px 22px;
  opacity: 0;
  transition: opacity .25s ease, transform .25s ease;
}
.player-reco__meta{ display:block; padding: 10px 10px 12px; }
.player-reco__name{ display:block; font-size: 13px; font-weight: 800; line-height: 1.2; color: rgba(255,255,255,0.94); }
.player-reco__mini{ display:block; margin-top: 6px; font-size: 11px; color: rgba(255,255,255,0.60); }

.player-reco__item:hover .player-reco__poster img{ transform: scale(1.06); filter: saturate(1.06) contrast(1.04); }
.player-reco__item:hover .player-reco__play{ opacity: .75; }
.player-reco__item:hover .player-reco__play::after{ opacity: 1; transform: translate(-50%,-50%) scale(1.0); }

@media (max-width: 1100px){
  .page__player-row{ flex-direction: column; }
  .page__player-reco{ width: 100%; }
  .player-reco__grid{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 680px){
  .player-reco__grid{ grid-template-columns: repeat(2, 1fr); }
}

/* ВАЖНО: хедер НЕ должен быть overflow:hidden — иначе выпадалка категорий/меню режется */
.header{ overflow: visible !important; }

/* Карусель можно аккуратно обрезать внутри себя */
.page__related.carou{ overflow: hidden; }

/* Подстраховка по слоям для меню */
.header, .header *{ position: relative; }
.header .dropdown, .header .menu, .header .sub-menu, .header .cats, .header .catmenu{
  z-index: 9999;
}
.header::before, .header::after{ pointer-events:none; }


/* =========================
   2026 PATCH 6 – Fullstory player sidebar list + tighter gap
   ========================= */

/* Убираем лишний зазор между плеером и правой колонкой (только на странице с плеером) */
.page__cols:has(.page__player) .page__cols-left{ padding-right: 0 !important; }
.page__cols:has(.page__player) .page__cols-right.page__player-reco{ padding-left: 5% !important; }

/* Рекомендации справа – список-кнопки (без постеров) */
.player-reco__grid{ display:flex !important; flex-direction:column !important; gap:10px !important; }
.player-reco__item, .player-reco__row{ background: transparent !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; overflow: visible !important; }

.player-reco__btn{
  display:flex; flex-direction:column; gap:4px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(8,24,19,0.55);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.92);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.player-reco__btn:hover{
  transform: translateY(-2px);
  background: rgba(13,45,32,0.68);
  border-color: rgba(106, 255, 179, 0.22);
  box-shadow: 0 12px 30px rgba(0,0,0,0.28);
}
.player-reco__btn-title{
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .2px;
  display:-webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow:hidden;
}
.player-reco__btn-meta{
  font-size: 12px;
  color: rgba(255,255,255,0.62);
}

/* На всякий случай отключаем стили постера, если где-то кешируется старый шаблон */
.player-reco__poster, .player-reco__play{ display:none !important; }
