/* ============================================
   TURKUSERIALAI.LIVE — PREMIUM THEME v4
   Plus Jakarta Sans · Cinematic Dark
   ============================================ */

:root {
  --bg-deep: #05090e;
  --bg-primary: #091119;
  --bg-card: #0e1821;
  --bg-elevated: #162030;
  --bg-glass: rgba(11, 16, 24, 0.8);
  --border-subtle: rgba(255,255,255,0.06);
  --border-light: rgba(255,255,255,0.10);
  --border-hover: rgba(255,255,255,0.16);
  --text-primary: #eaeff5;
  --text-secondary: #94a7be;
  --text-muted: #586b82;
  --accent: #e8443a;
  --accent-warm: #f2784b;
  --accent-glow: rgba(232, 68, 58, 0.14);
  --accent-gradient: linear-gradient(135deg, #f2784b 0%, #e8443a 50%, #c2293f 100%);
  --gold: #d4a855;
  --green: #34d399;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --shadow-card: 0 4px 24px rgba(0,0,0,0.3);
  --shadow-hover: 0 20px 60px rgba(0,0,0,0.55);
  --shadow-glow: 0 0 40px rgba(232, 68, 58, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* === RESET === */
*{background:0 0;margin:0;padding:0;outline:0;border:0;box-sizing:border-box}
ol,ul{list-style:none}blockquote,q{quotes:none}
table{border-collapse:collapse;border-spacing:0}
input,select{vertical-align:middle}
article,aside,figure,figure img,footer,header,hgroup,main,nav,section{display:block}
img{max-width:100%}.clr{clear:both}
.clearfix::after{content:"";display:table;clear:both}

/* === BASE === */
body {
  font: 400 14px/1.6 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  padding: 0; margin: 0; color: var(--text-primary);
  background: var(--bg-deep);
  min-height: 100vh; width: 100%;
}
/* Noise overlay */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}
a { color: var(--text-primary); text-decoration: none; transition: color 0.25s ease; }
a:focus, a:hover { color: var(--accent); text-decoration: none; }
h1,h2,h3,h4,h5 { font-weight: 700; font-size: 17px; letter-spacing: -0.02em; }

/* === BUTTONS === */
button, input[type=button], input[type=password], input[type=submit], input[type=text], select, textarea {
  appearance: none; font-size: 14px; font-family: inherit;
}
.btn, .button, .meta-fav a, .pagi-load a, .qq-upload-button, .self_delete_link,
.up-second li a, .usp-btn a, .usp-edit a, button:not(.color-btn):not(.tox-tbtn):not(.f-button):not([class*=fr]):not(.search-btn):not([class*=owl-]),
html input[type=button], input[type=reset], input[type=submit] {
  display: inline-block; text-align: center; padding: 0 24px;
  height: 42px; line-height: 42px; cursor: pointer; font-weight: 700;
  background: var(--accent-gradient); color: #fff; font-size: 13px;
  border-radius: var(--radius-md); transition: all 0.35s var(--ease);
  letter-spacing: 0.02em;
}
.btn:hover, .button:hover, .meta-fav a:hover, .pagi-load a:hover, .qq-upload-button:hover,
.up-second li a:hover, .usp-btn a:hover, .usp-edit a:hover, .self_delete_link:hover,
button:not(.color-btn):not([class*=fr]):not(.tox-tbtn):not(.f-button):not(.search-btn):not([class*=owl-]):hover,
html input[type=button]:hover, input[type=reset]:hover, input[type=submit]:hover {
  background: var(--accent-gradient); color: #fff; border-radius: var(--radius-md);
  transform: translateY(-2px); box-shadow: 0 8px 30px rgba(232,68,58,0.35);
}
button:active, input[type=button]:active, input[type=submit]:active { transform: translateY(0); box-shadow: none; }

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent-gradient); border-radius: 3px; }

/* === FORM INPUTS === */
input[type=password], input[type=text] { height: 42px; line-height: 42px; border-radius: var(--radius-md); padding: 0 16px; }
select { height: 42px; padding: 0 16px; border-radius: var(--radius-md); }
textarea { padding: 16px; overflow: auto; vertical-align: top; resize: vertical; border-radius: var(--radius-md); }
input[type=password], input[type=text], select, textarea {
  width: 100%; background: rgba(255,255,255,0.04); color: var(--text-primary);
  border: 1px solid var(--border-subtle); transition: all 0.3s var(--ease);
}
select { width: auto; }
input[type=password]:focus, input[type=text]:focus, textarea:focus {
  border-color: rgba(232,68,58,0.3); box-shadow: 0 0 0 3px rgba(232,68,58,0.06), 0 8px 30px rgba(0,0,0,0.15);
  background: rgba(255,255,255,0.06);
}
input::placeholder, textarea::placeholder { color: var(--text-muted); opacity: 1; font-size: 13px; }
input:focus::placeholder, textarea:focus::placeholder { color: transparent; }

/* === IMAGE UTILS === */
.img-box,.img-fit,.img-resp,.img-resp-vert,.img-wide{overflow:hidden;position:relative}
.img-resp{padding-top:70%}.img-resp-vert{padding-top:140%}
.img-box img,.img-resp img,.img-resp-vert img{width:100%;min-height:100%;display:block}
.img-resp img,.img-resp-vert img{position:absolute;left:0;top:0}
.img-wide img{width:100%;display:block}.img-fit img{width:100%;height:100%;object-fit:cover}
.nowrap{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* === FLEX UTILS === */
#dle-content,.fx-row{display:flex;flex-wrap:wrap}
.fx-col{display:flex;flex-direction:column}.fx-center{justify-content:center}
.fx-middle{align-items:center}.fx-start{justify-content:flex-start}
.fx-first{order:-1}.fx-last{order:10}
.fx-1{flex-basis:0px;flex-grow:1;max-width:100%;min-width:50px}
.fx-between{justify-content:space-between;z-index:111}
.fw700,b,strong{font-weight:600}
.icon-left .icon,.icon-left [class*=fa-]{margin-right:6px}
.icon-right .icon,.icon-right [class*=fa-]{margin-left:10px}
#dofullsearch,.hidden{display:none}
.anim,.btn,.footer a,.header-btn,.popular-item-img::before,.short-img,.short-item a,
.side-nav a,.sidebar a,button{transition:all 0.35s var(--ease)}
.form-wrap h1,.mtitle,.sub-title h1{margin-bottom:30px;font-weight:800;font-size:24px!important}
#dle-content>:not(.th-item){width:100%}

/* ========== LAYOUT ========== */
.wrap { min-width: 320px; position: relative; padding: 16px; }
.wrap-center { max-width: 1400px; margin: 0 auto; position: relative; z-index: 20; }
.wrap-main {
  background: var(--bg-primary);
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 0 120px rgba(0,0,0,0.6);
  overflow: hidden;
}

/* ========== HEADER ========== */
.header {
  padding: 0 34px; display: flex; align-items: center; height: 64px;
  background: var(--bg-glass);
  backdrop-filter: blur(30px) saturate(1.3); -webkit-backdrop-filter: blur(30px) saturate(1.3);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky; top: 0; z-index: 100;
  gap: 0;
}
.logo {
  display: flex; align-items: center;
  height: 64px; line-height: 64px; font-size: 24px; font-weight: 300;
  color: var(--text-primary); white-space: nowrap;
  letter-spacing: -0.02em;
  flex-shrink: 0; margin-right: 8px;
}
.logo-icon {
  width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(232,68,58,0.3));
  margin-right: 10px;
}
.logo span {
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.logo span.logo-domain {
  font-size: 13px; font-weight: 400; color: var(--text-muted);
  -webkit-text-fill-color: var(--text-muted); margin-left: 2px;
}

/* Header inline nav */
.header-nav {
  display: flex; align-items: center; height: 64px;
  margin: 0 auto; padding: 0 16px;
}
.header-nav a {
  display: flex; align-items: center; height: 64px;
  padding: 0 15px; font-size: 11px; font-weight: 700;
  color: var(--text-muted); text-decoration: none;
  text-transform: uppercase; letter-spacing: 0.06em;
  position: relative; transition: color 0.25s ease;
  white-space: nowrap;
}
.header-nav a::after {
  content: ''; position: absolute; bottom: 0; left: 12px; right: 12px;
  height: 2px; background: var(--accent-gradient);
  border-radius: 2px 2px 0 0;
  transform: scaleX(0); transition: transform 0.3s var(--ease);
}
.header-nav a:hover { color: var(--text-primary); }
.header-nav a:hover::after { transform: scaleX(1); }
.header-nav a.active { color: var(--text-primary); }
.header-nav a.active::after { transform: scaleX(1); }
/* Pulsing dot for active page */
.header-nav a.active::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent); margin-right: 7px; flex-shrink: 0;
  animation: navPulse 2s ease-in-out infinite;
  box-shadow: 0 0 6px rgba(232,68,58,0.5);
}
@keyframes navPulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.8); } }

.header-btn { padding: 0 24px; border-radius: var(--radius-md); font-size: 13px; }

/* Search - right aligned */
.search-wrap { position: relative; width: 220px; flex-shrink: 0; margin-left: auto; }
.search-box { position: relative; }
.search-box input, .search-box input:focus {
  padding: 0 40px 0 14px; height: 36px; line-height: 36px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle); border-radius: 10px;
  font-size: 13px; width: 100%;
}
.search-box input:focus {
  border-color: rgba(232,68,58,0.3);
  box-shadow: 0 0 0 3px rgba(232,68,58,0.06), 0 4px 20px rgba(0,0,0,0.15);
  background: rgba(255,255,255,0.06); width: 280px;
  transition: all 0.35s var(--ease);
}
.search-box input { transition: all 0.35s var(--ease); }
.search-box input:not(:focus)::placeholder { color: var(--text-muted); font-size: 12px; }
.search-box button {
  position: absolute; right: 0; top: 0; z-index: 10;
  width: 40px; height: 36px; cursor: pointer; background: 0 0;
  line-height: 36px; color: var(--text-muted); text-align: center;
  border-radius: 0 10px 10px 0; transition: color 0.25s ease;
}
.search-box button:hover { color: var(--accent); }

/* Old f-menu hidden - nav is in header now */
.f-menu { display: none; }

/* ========== CAROUSEL / HERO ========== */
.carou-sect {
  position: relative; padding: 24px 28px;
  background: linear-gradient(180deg, rgba(232,68,58,0.03) 0%, transparent 60%);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}
.carou-sect::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(232,68,58,0.25) 50%, transparent 100%);
}
.carou-content { height: 230px; counter-reset: rank; }
.carou-title {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--accent); margin-bottom: 18px;
}
.carou-title .line { flex: 0 0 20px; height: 2px; background: var(--accent-gradient); border-radius: 1px; }
.carou-title [class*=fa-] {
  color: var(--accent); margin-right: 0;
  width: auto; height: auto; line-height: 1; text-align: center;
  border-radius: 0; background: transparent; display: inline;
}

.popular-item { transition: all 0.45s var(--ease); counter-increment: rank; position: relative; }
.popular-item-img {
  display: block; height: 230px; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-card);
}
.popular-item-img img { transition: transform 0.6s var(--ease); }
.popular-item:hover .popular-item-img img { transform: scale(1.06); }
.popular-item:hover {
  transform: translateY(-6px);
  z-index: 2;
}
/* Ranking number badge - uniform accent style */
.popular-item::after {
  content: counter(rank); position: absolute; top: 8px; right: 8px; z-index: 12;
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--accent-gradient);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; color: #fff;
  line-height: 30px; text-align: center;
  box-shadow: 0 3px 12px rgba(232,68,58,0.45);
}
.popular-item-title {
  position: absolute; z-index: 10; left: 0; bottom: 0; right: 0;
  padding: 12px 14px; text-align: center;
  color: #fff; font-weight: 700; font-size: 13px; overflow-wrap: break-word;
  line-height: 1.3;
}
.popular-item-img::before {
  content: ""; position: absolute; z-index: 5;
  left: 0; right: 0; bottom: 0; height: 65%;
  background: linear-gradient(transparent, rgba(6,8,12,0.95));
  opacity: 1;
}

/* ========== COLUMNS ========== */
.cols { padding: 28px; gap: 28px; }
.main { min-height: 100vh; }
.sidebar { width: 300px; margin-left: 0; order: 1; flex-shrink: 0; }

/* ========== FOOTER ========== */
.footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(8,12,18,0.95);
}
.footer-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 28px; gap: 24px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo-icon { width: 36px; height: 36px; border-radius: 9px; flex-shrink: 0; }
.footer-brand-text { display: flex; flex-direction: column; }
.footer-name { font-size: 16px; font-weight: 300; color: var(--text-primary); letter-spacing: -0.01em; }
.footer-name b { font-weight: 800; background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.footer-name small { font-size: 11px; color: var(--text-muted); margin-left: 2px; }
.footer-desc { font-size: 11px; color: var(--text-muted); margin-top: 1px; }
.footer-links { display: flex; gap: 6px; flex-wrap: wrap; }
.footer-links a {
  padding: 6px 14px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.03); border: 1px solid var(--border-subtle);
  font-size: 12px; font-weight: 600; color: var(--text-secondary);
  text-decoration: none; transition: all 0.25s ease; text-transform: uppercase;
  letter-spacing: 0.03em;
}
.footer-links a:hover { color: var(--accent); border-color: rgba(232,68,58,0.2); background: var(--accent-glow); }
.footer-social { display: flex; gap: 8px; }
.footer-social-btn {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border-subtle);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 14px; text-decoration: none;
  transition: all 0.25s ease;
}
.footer-social-btn:hover { color: #fff; background: var(--accent-gradient); border-color: transparent; transform: translateY(-2px); box-shadow: 0 4px 16px rgba(232,68,58,0.3); }
.footer-bottom {
  padding: 14px 28px; border-top: 1px solid var(--border-subtle);
  font-size: 11px; color: var(--text-muted); text-align: center;
}
.footer a { color: var(--accent); text-decoration: none; font-weight: 600; }
.footer a:hover { text-decoration: underline; }

#gotop {
  position: fixed; width: 44px; height: 44px; line-height: 44px;
  right: 16px; bottom: 16px; z-index: 990; display: none;
  background: var(--bg-glass); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); cursor: pointer; font-size: 18px; text-align: center;
  backdrop-filter: blur(16px); transition: all 0.3s var(--ease);
}
#gotop:hover { background: var(--accent-gradient); color: #fff; border-color: transparent; }

/* ========== SIDEBAR ========== */
.side-box {
  margin-bottom: 20px; background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
  overflow: hidden; transition: border-color 0.3s ease;
}
.side-box:hover { border-color: var(--border-light); }
.side-bt {
  padding: 14px 16px; background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--text-muted);
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 0;
}
.mb-remove { margin-bottom: -10px; }
.nav-col { width: 50%; padding: 14px; }
.nav-col + .nav-col { width: 50%; }
.nav-title {
  font-size: 10px; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px;
}
.nav-menu + .nav-title { margin-top: 12px; }
.nav-menu a {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; font-size: 12px; color: var(--text-secondary);
  margin: 0 0 6px; padding: 9px 12px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm); transition: all 0.25s ease; font-weight: 600;
}
.nav-menu a:hover, .side-popular-item:hover .side-popular-item-title, a.short-title:hover {
  color: var(--accent); background: var(--accent-glow);
  border-color: rgba(232,68,58,0.2); transform: translateY(-1px);
}
.side-popular-item:nth-child(2n+1) {
  background: rgba(255,255,255,0.01); border-radius: var(--radius-md); position: relative;
}
.side-popular-item:nth-child(2n+1):before { display: none; }
.side-popular-item { margin-bottom: 0; padding: 12px 16px; cursor: pointer; transition: all 0.25s ease; }
.side-popular-item:hover { background: rgba(255,255,255,0.03); }
.side-popular-item + .side-popular-item { border-top: 1px solid var(--border-subtle); }
.side-popular-item-img { width: 54px; height: 72px; margin-right: 14px; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border-subtle); }
.side-popular-item-title { font-weight: 600; font-size: 13px; line-height: 1.3; }
.side-popular-item-info {
  font-size: 10px; color: var(--accent); text-align: center;
  background: var(--accent-glow); padding: 3px 8px; border-radius: 5px;
  display: inline-block; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
}
.side-popular-item-date { color: var(--text-muted); margin-top: 4px; font-size: 11px; }
.side-recommend-item { display: block; margin: 4px; margin-top: 0; margin-bottom: 15px; width: 45%; transition: all 0.35s var(--ease); }
.side-recommend-item-img { border-radius: var(--radius-md); overflow: hidden; }
.side-recommend-item:hover { opacity: 0.85; transform: translateY(-3px); }

/* Latest comments sidebar */
.lcomm { margin-bottom: 10px; position: relative; z-index: 111; padding: 14px 16px; background: rgba(255,255,255,0.02); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); transition: all 0.25s ease; }
.lcomm:hover { border-color: var(--border-light); }
.ltitle { display: block; line-height: 1; font-weight: 300; font-size: 13px; margin-top: 10px; padding-left: 2px; position: relative; }
.ltext { line-height: 1.5; padding: 0; background: transparent; border: none; font-size: 13px; }
.ltext:after { display: none; }
.lmeta { font-size: 12px; margin: 8px 0 0; color: var(--text-muted); display: flex; align-items: center; gap: 10px; }
.lav, .ldate, .lname { display: inline-block; vertical-align: middle; }
.lav { width: 26px; height: 26px; border-radius: 8px; margin-right: 0; }
.lcomm .comm-letter { line-height: 26px; font-size: 11px; border-radius: 8px; background: linear-gradient(135deg, var(--bg-elevated), #1e2838); color: var(--accent); }
.lname { font-weight: 600; }
.ldate { margin-left: auto; }

/* ========== SECTIONS ========== */
.sect { margin-bottom: 24px; }
.sect-header { display: flex; align-items: center; margin-bottom: 20px; }
.sect:last-child { margin-bottom: 0; }
.sect-title {
  font-weight: 700; font-size: 15px; text-transform: uppercase;
  letter-spacing: 0.05em; display: flex; align-items: center; gap: 10px;
}
.carou-title [class*=fa-], .sect-title [class*=fa-], .side-bt [class*=fa-], .speedbar [class*=fa-] {
  color: var(--accent); margin-right: 8px;
  width: 28px; height: 28px; line-height: 28px; text-align: center;
  border-radius: 8px; background: var(--accent-glow); display: inline-block;
}

/* Sorter */
.sect-link, .sorter {
  position: relative; cursor: pointer; height: 30px; line-height: 28px; margin-left: 12px;
  padding: 0 12px; background: rgba(255,255,255,0.03); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm); font-size: 12px; display: block; transition: all 0.25s ease;
  color: var(--text-secondary); font-family: inherit;
}
.sorter::before { content: attr(data-label); display: inline-block; vertical-align: top; }
.sorter > span { display: inline-block; vertical-align: top; margin-left: 2px; }
.sorter form {
  display: none; background: var(--bg-elevated); border: 1px solid var(--border-light);
  border-radius: var(--radius-md); padding: 10px; line-height: 26px;
  position: absolute; right: -1px; top: 100%; width: 160px; z-index: 999;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.sorter a:hover { text-decoration: underline; }
.sect-link:hover, .sorter:hover { border-color: var(--border-hover); color: var(--text-primary); }

/* ========== SHORT STORY CARDS (list) ========== */
.short-item {
  margin-bottom: 16px; padding: 20px;
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); transition: all 0.4s var(--ease);
}
.short-item:hover {
  border-color: var(--border-hover); transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.short-img { width: 170px; height: 250px; margin-right: 20px; display: block; border-radius: var(--radius-md); overflow: hidden; }
.short-header { margin-bottom: 5px; }
.short-title { display: block; font-size: 18px; font-weight: 700; line-height: 1.5; letter-spacing: -0.02em; }
.short-text { font-size: 14px; line-height: 1.7; }
.short-list li { position: relative; padding: 0 0 4px 120px; margin: 3px 0; font-size: 14px; line-height: 1.7; border-bottom: 1px solid var(--border-subtle); }
.short-list li > span:first-child { position: absolute; left: 0; top: 0; color: var(--text-muted); font-weight: 500; }
.short-list a { color: var(--accent); }
.short-meta { font-size: 13px; }
.short-metafuls { margin-top: 15px; padding: 10px 14px; font-size: 13px; border: 1px solid var(--border-subtle); background: rgba(255,255,255,0.02); border-radius: var(--radius-md); }

/* Play mask overlay — image lives inside .mask so it must stay visible */
.mask {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%;
  text-align: center; padding: 0;
  background: transparent; color: #fff; font-size: 20px;
  align-items: center; border-radius: inherit;
  z-index: 2;
}
.mask img { position: relative; z-index: 1; transition: transform 0.5s var(--ease), filter 0.5s ease; }
.th-item:hover .mask img, .popular-item:hover .mask img { transform: scale(1.06); filter: brightness(0.85); }
.mask::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(6,10,16,0.7) 0%, rgba(6,10,16,0.2) 40%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease; z-index: 2;
  border-radius: inherit;
}
.mask span.fal {
  width: 52px; height: 52px; border-radius: 50%; text-align: center; line-height: 52px;
  background: var(--accent-gradient); margin: 0 auto; padding-left: 3px; font-size: 18px;
  box-shadow: 0 4px 24px rgba(232,68,58,0.5); transition: all 0.4s var(--ease);
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.6);
  opacity: 0; z-index: 3;
}
.th-item:hover .mask::before, .popular-item:hover .mask::before,
.side-recommend-item:hover .mask::before, .side-popular-item:hover .mask::before { opacity: 1; }
.th-item:hover .mask span.fal, .popular-item:hover .mask span.fal,
.side-recommend-item:hover .mask span.fal, .side-popular-item:hover .mask span.fal {
  opacity: 1; transform: translate(-50%, -50%) scale(1);
  box-shadow: 0 4px 24px rgba(232,68,58,0.5), 0 0 0 8px rgba(232,68,58,0.15);
}
.ps-link { cursor: pointer; }
.flex-col { display: flex; flex-direction: column; justify-content: center; }
.short-meta-item { margin-right: 20px; }
.short-rating { line-height: 28px; background: rgba(255,255,255,0.04); padding: 0 12px; font-size: 13px; border-radius: var(--radius-sm); border: 1px solid var(--border-subtle); margin-right: 20px; }
.short-rating .fa-thumbs-up { color: #4ade80; margin-right: 10px; }
.short-rating .fa-thumbs-down { color: #ef4444; margin: 0 10px; }
.short-label {
  background: var(--accent-gradient); color: #fff; padding: 4px 10px;
  position: absolute; left: 10px; top: 10px; z-index: 10;
  font-size: 10px; font-weight: 700; border-radius: var(--radius-sm);
  text-transform: uppercase; letter-spacing: 0.04em;
  box-shadow: 0 2px 10px rgba(232,68,58,0.4);
}
.short-btn { height: 32px; line-height: 32px; font-size: 12px; padding: 0 12px; border-radius: var(--radius-sm); }
.short-rate-in { line-height: 30px; border-radius: var(--radius-sm); text-align: center; font-size: 13px; opacity: 0.9; padding: 0 8px; margin-left: 10px; font-weight: 600; }
.short-rate-in::before { content: attr(data-text); display: inline; margin-right: 3px; text-transform: uppercase; }
.short-rate-kp { background: #f60; color: #fff; }
.short-rate-imdb { background: #f5c518; color: #000; }
.mrating { margin-right: 10px; overflow: hidden; }
.mrating a { transition: none; }

/* SEO desc */
.site-desc { line-height: 1.7; font-size: 14px; padding: 24px; background: rgba(255,255,255,0.02); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); }
.site-desc h1,.site-desc h2,.site-desc h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; text-align: center; text-transform: uppercase; }
.site-desc li { list-style-type: disc; margin-left: 40px; }
.site-desc p { margin-bottom: 10px; }
.site-desc > :last-child { margin-bottom: 0; }
.site-desc a { color: var(--accent); text-decoration: underline; }
.site-desc img { float: left; max-width: 200px; margin: 0 10px 10px 0; border-radius: var(--radius-sm); }

/* Pagination */
.bottom-nav { margin-bottom: -10px; text-align: center; }
.navigation a, .navigation span, .pnext a, .pnext > span, .pprev a, .pprev > span {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 10px; margin: 0 3px 10px; line-height: 38px; min-width: 38px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm); font-size: 13px; font-weight: 600;
  color: var(--text-secondary); transition: all 0.25s ease;
}
.navigation a:hover { border-color: var(--border-hover); color: var(--text-primary); background: rgba(255,255,255,0.05); }
.navigation span:not(.nav_ext), .pagi-nav a:hover {
  background: var(--accent-gradient); color: #fff; border: 0;
  box-shadow: 0 2px 12px rgba(232,68,58,0.3);
}

/* Breadcrumbs */
.speedbar { font-size: 13px; margin-bottom: 16px; padding: 12px 16px; background: rgba(255,255,255,0.02); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); }
.speedbar .fal { margin-right: 8px; }

/* ========== FULL STORY ========== */
.fleft { width: 220px; margin-right: 24px; flex-shrink: 0; }
.fimg { border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 8px 30px rgba(0,0,0,0.4); position: relative; }
.fimg img { width: 100%; display: block; }
.ftext { margin: 20px 0; font-size: 14px; line-height: 1.7; color: var(--text-secondary); }
.fcols .short-list li { font-size: 13px; line-height: 1.7; }
.fcols .short-meta-item:last-child { margin-right: 0; }
h1 a { margin-left: 10px; font-size: 15px; }
.fcols { padding: 28px; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); position: relative; overflow: hidden; }
.fcols::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--accent-gradient); opacity: 0.5; }
.fcols .short-title { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }

/* Info list */
.short-list li { position: relative; padding: 8px 0 8px 130px; margin: 0; font-size: 14px; line-height: 1.6; border-bottom: 1px solid var(--border-subtle); color: var(--text-primary); }
.short-list li:last-child { border-bottom: none; }
.short-list li > span:first-child { position: absolute; left: 0; top: 8px; color: var(--text-muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; }
.short-list a { color: var(--accent-warm); font-weight: 500; transition: color 0.2s; }
.short-list a:hover { color: var(--accent); }

.short-metafuls { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border-subtle); }
.mrating { font-size: 14px; }

.frels .popular-item-img::before { background: linear-gradient(transparent, rgba(6,8,12,0.95)); opacity: 1; }
.fsubtitle { text-align: center; font-size: 18px; font-weight: 700; margin: 24px 0 16px; letter-spacing: -0.01em; }

/* Player modern */
.fplayer { position: relative; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); overflow: hidden; }
.fctrl { padding: 0 20px 0 0; display: flex; align-items: center; min-height: 48px; border-bottom: 1px solid var(--border-subtle); background: rgba(255,255,255,0.015); }
.fplayer .tabs-sel span {
  display: inline-block; padding: 0 20px; height: 48px; line-height: 48px; cursor: pointer;
  background: rgba(255,255,255,0.02); border-right: 1px solid var(--border-subtle);
  font-weight: 600; font-size: 13px; transition: all 0.25s ease;
}
.fplayer .tabs-sel span.current { background: var(--accent-gradient); color: #fff; }
.fplayer .tabs-sel span:hover { color: var(--accent); }
.fplayer .tabs-sel span.current:hover { color: #fff; }
.js .tabs-b { background-color: #000; display: none; }
.js .tabs-b.visible { display: block; }
.fcompl a:hover, .ffav a:hover, .ffav span:hover { color: var(--accent); cursor: pointer; }
.fcompl, .ffav { margin-left: 20px; font-size: 13px; }
.ffav .fal, .ffav .fas { color: var(--accent); margin-right: 5px; }
.fcompl .fal { margin-right: 5px; color: var(--text-muted); }
.fshare { padding: 12px; text-align: center; white-space: nowrap; }
.fshare .fab, .fshare .fas { width: 38px; height: 32px; border-radius: var(--radius-sm); text-align: center; line-height: 32px; background: var(--accent); color: #fff; font-size: 14px; margin: 0 2px; cursor: pointer; transition: all 0.25s ease; }
.fshare .fa:hover { opacity: 0.8; transform: translateY(-2px); }
.fab.fa-vk { background: #5075a5; }
.fab.fa-facebook-f { background: #4b6baf; }
.fab.fa-twitter { background: #2daae1; }
.fa.fa-rss, .fab.fa-odnoklassniki { background: #fc6d00; }
.fas.fa-paper-plane { background: #5682a3; }
.video-box embed, .video-box frame, .video-box iframe, .video-box object, .video-box video { display: block; width: 100%; height: 480px; max-width: 100% !important; }
.mejs-container { max-width: 100% !important; }

/* Full text */
.full-text { line-height: 1.8; margin-bottom: 16px; padding: 24px; background: rgba(255,255,255,0.02); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); color: var(--text-secondary); }
.full-text img:not(.emoji) { max-width: 100%; margin-top: 10px; margin-bottom: 10px; border-radius: var(--radius-sm); }
.full-text > .highslide img[style*=left], .full-text > img[style*=left] { margin: 0 10px 10px 0; }
.full-text > .highslide img[style*=right], .full-text > img[style*=right] { margin: 0 0 10px 10px; }
.full-text a { text-decoration: underline; color: var(--accent); }
.full-text a:hover { text-decoration: none; }
.full-text h2,.full-text h3,.full-text h4,.full-text h5 { margin: 10px 0; font-size: 22px; font-weight: 700; }
.full-text p { margin-bottom: 10px; }
.full-text > ol,.full-text > ul { margin: 0; }
.full-text > ul li { list-style: disc; margin-left: 40px; }
.full-text > ol li { list-style: decimal; margin-left: 40px; }

/* Comments */
.add-comms { margin-bottom: 24px; padding: 24px; background: rgba(255,255,255,0.02); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); }
.ac-inputs input { width: 48.5%; margin-bottom: 15px; }
.ac-textarea textarea { height: 100px; margin-bottom: 15px; }
.ac-protect, .ac-textarea .bb-editor + br { display: none; }
.comments_subscribe input { margin-right: 10px; }
.comments_subscribe { display: block; }
.mass_comments_action { display: none; }
.last-comm-link { display: inline-block; padding-bottom: 20px; color: var(--accent); font-size: 18px; }
.comm-avatar { position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: var(--radius-md); }
.comm-letter {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%;
  line-height: 40px; text-align: center;
  background: linear-gradient(135deg, var(--bg-elevated), #1e2838);
  color: var(--accent); font-size: 16px; font-weight: 700;
  text-transform: uppercase; border-radius: var(--radius-md);
}
.comm-item { font-size: 13px; padding-left: 55px; position: relative; min-height: 40px; margin-bottom: 20px; }
.comm-two { margin: 5px 0 10px; }
.comm-one > span { margin-right: 15px; opacity: 0.5; }
.comm-one > span.comm-author, .comm-one > span.comm-author a { font-weight: 600; opacity: 1; }
.comm-three-left > a, .comm-three-right li a { opacity: 0.6; }
.comm-three-right li { display: inline-block; margin-left: 15px; }
.comm-rate3 { white-space: nowrap; margin-right: 15px; height: 20px; line-height: 20px; display: inline-block; vertical-align: top; position: relative; top: -3px; }
.comm-rate3 a { display: inline-block; vertical-align: middle; position: relative; opacity: 0.8; }
.comm-rate3 a:first-child { top: -5px; }
.comm-rate3 > span { margin: 0 5px; }
.comm-rate3 > span > span.ratingtypeplus { color: #4ade80; }
.comm-rate3 > span > span.ratingplus { color: #a3e635; }
.comm-rate3 > span > span.ratingminus { color: #ef4444; }
.comm-three a:hover { border-bottom-color: transparent; }
.comm-three-left > a { opacity: 1; color: var(--accent); border-bottom: 1px dotted var(--accent); }

/* Login */
.overlay-box { position: fixed; z-index: 998; left: 0; top: 0; width: 100%; height: 100%; opacity: 0.9; background: var(--bg-deep); cursor: pointer; }
.login-box { position: fixed; z-index: 999; left: 50%; top: 50%; transform: translate(-50%,-50%); background: var(--bg-elevated); padding: 30px 40px 40px; border-radius: var(--radius-xl); border-top: 3px solid var(--accent); width: 400px; box-shadow: 0 25px 80px rgba(0,0,0,0.7); }
.login-close { width: 30px; height: 30px; line-height: 30px; text-align: center; font-size: 18px; cursor: pointer; position: absolute; top: 12px; right: 12px; color: var(--text-muted); border-radius: var(--radius-sm); transition: all 0.2s ease; }
.login-close:hover { color: var(--accent); background: var(--accent-glow); }
.login-title { font-size: 22px; font-weight: 800; margin-bottom: 20px; text-align: center; }
.login-avatar { width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 15px; text-align: center; line-height: 60px; font-size: 24px; background: linear-gradient(135deg, var(--bg-elevated), #1e2838); color: var(--accent); }
.login-input { margin-bottom: 15px; }
.login-btn button { width: 100%; margin: 15px 0; }
.login-btm a { border-bottom: 1px dotted var(--accent); color: var(--accent); font-size: 13px; }
.login-check { position: relative; font-size: 14px; }
.login-check input { opacity: 0; position: absolute; cursor: pointer; }
.login-check span { display: block; padding-left: 36px; height: 30px; line-height: 30px; color: var(--text-muted); }
.login-check span::after, .login-check span::before { content: ""; position: absolute; top: 50%; transition: all 0.3s ease; }
.login-check span::before { left: 0; height: 12px; margin-top: -6px; width: 28px; border-radius: 6px; background: rgba(255,255,255,0.1); }
.login-check span::after { left: 1px; height: 14px; width: 14px; margin-top: -7px; background: var(--accent); border-radius: 7px; }
.login-check input:checked + span::before { background: rgba(232,68,58,0.2); }
.login-check input:checked + span::after { left: 13px; }
.login-menu { border-top: 1px solid var(--border-subtle); margin-top: -1px; }
.login-menu li { text-align: center; border-right: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); width: 50%; }
.login-menu a { display: block; padding: 10px 5px; font-size: 13px; }
.login-menu li .fa { display: none; height: 28px; font-size: 22px; color: var(--accent); }
.login-admin { text-align: center; margin: -10px 0 25px; }
.login-soc-title { display: flex; align-items: center; margin: 20px 0 15px; font-size: 13px; color: var(--text-muted); }
.login-soc-title::after, .login-soc-title::before { content: ""; height: 1px; background: var(--border-subtle); flex: 1; }
.login-soc-title::before { margin-right: 15px; }
.login-soc-title::after { margin-left: 15px; }
.login-soc-btns { text-align: center; }
.login-soc-btns a { display: inline-block; margin: 0 3px; vertical-align: top; }
.login-soc-btns img { display: block; width: 32px; height: 32px; border-radius: 50%; }

/* Owl carousel */
.owl-carousel{display:none;opacity:0;transition:opacity .3s linear;width:100%;position:relative;z-index:10}
.owl-carousel .owl-stage{position:relative;display:flex;justify-content:flex-start}
.owl-carousel .owl-stage-outer{position:relative;overflow:hidden;transform:translate3d(0,0,0)}
.owl-carousel .owl-item{position:relative;min-height:1px}
.owl-carousel .owl-dots.disabled,.owl-carousel .owl-nav.disabled,.owl-carousel.owl-refresh .owl-item{display:none}
.no-js .owl-carousel,.owl-carousel.owl-loaded,.owl-carousel.owl-loading{display:block;opacity:1}
.owl-carousel.owl-hidden,.owl-carousel.owl-loading{opacity:0}
.owl-carousel.owl-drag .owl-item{user-select:none}
.owl-carousel.owl-grab{cursor:grab}
.owl-carousel .animated{animation-duration:1s;animation-fill-mode:both}
.owl-carousel .owl-animated-in{z-index:0}
.owl-carousel .owl-animated-out{z-index:1}
.owl-carousel .fadeOut{animation-name:fadeOut}
@keyframes fadeOut{0%{opacity:1}100%{opacity:0}}
.owl-height{transition:height .5s ease-in-out}
.owl-carousel .owl-item .owl-lazy{opacity:0;transition:opacity .4s ease}
.owl-carousel .owl-item img.owl-lazy{transform-style:preserve-3d}
.owl-nav{position:absolute;right:0;top:-8px;z-index:1}
.owl-next,.owl-prev{display:block;cursor:pointer;height:24px;line-height:24px;position:absolute;top:-46px;box-shadow:none;font-size:22px;background:var(--accent-gradient);-webkit-background-clip:text;-webkit-text-fill-color:transparent;transition:all .25s ease}
.owl-prev{right:40px}.owl-next{right:0}
.owl-next:hover,.owl-prev:hover{transform:scale(1.2)}

/* Mobile menu */
.btn-menu{display:none}
.side-panel{width:300px;height:100%;overflow:hidden auto;background:var(--bg-primary);padding:24px;z-index:9999;position:fixed;left:-340px;top:0;transition:left .35s var(--ease);border-right:1px solid var(--border-subtle)}
.side-panel.active{left:0}
.close-overlay{width:100%;height:100%;background:rgba(6,8,12,0.75);position:fixed;left:0;top:0;z-index:9998;display:none;backdrop-filter:blur(6px)}
.btn-close{cursor:pointer;display:block;left:300px;top:-50px;position:fixed;z-index:9999;width:44px;height:44px;line-height:44px;text-align:center;font-size:18px;background:var(--accent);color:#fff;transition:top .35s ease;border-radius:0 var(--radius-md) var(--radius-md) 0}
.btn-close.active{top:0}
body.opened-menu{overflow:hidden;width:100%;height:100%}
.side-panel .side-nav a{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.side-panel .side-box{margin-bottom:20px}
.section{text-align:center;padding-bottom:20px}
.sectbtn{display:inline-block;text-align:center;padding:0 16px;height:36px;line-height:36px;cursor:pointer;margin-left:5px;background:var(--accent-gradient);color:#fff;border-radius:var(--radius-sm);transition:all .25s ease;font-weight:700;font-size:12px}
.sectbtn:hover{transform:translateY(-2px);box-shadow:0 4px 15px rgba(232,68,58,0.35)}

/* Series groups */
.group_series-content{margin-bottom:16px;position:relative}
.group_series-title{position:absolute;left:0;top:0;background:rgba(255,255,255,0.03);border:1px solid var(--border-subtle);border-radius:var(--radius-md);padding:6px 8px;color:var(--text-muted);width:80px;text-align:center;font-size:12px}
.group_series-title strong{color:var(--accent);display:block;font-size:22px;background:var(--accent-gradient);-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.group_series-list{padding-left:96px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;grid-auto-flow:dense}
.group_series-item{background:var(--bg-card);position:relative;display:flex;align-items:center;border-radius:var(--radius-md);overflow:hidden;border:1px solid var(--border-subtle);transition:all .25s ease}
.group_series-item:before{display:none}
.group_series-item:hover{border-color:rgba(232,68,58,0.2);background:rgba(232,68,58,0.04);transform:translateY(-1px)}
.group_series-item img{display:block;max-width:44px;min-width:44px;height:44px;object-fit:cover;margin:8px 10px 8px 8px;position:relative;border-radius:6px}
.group_series-item-title{line-height:22px;font-weight:600;margin:0 8px 0 0;font-size:13px;min-width:0;position:relative}
.group_series-item span:last-child{text-transform:uppercase}
.group_series-item-num{margin:0;color:var(--text-muted);line-height:22px;display:block;width:100%;font-size:11px;position:relative}

/* ========== THUMBNAIL GRID ========== */
.th-item {
  float: left; width: 24%; padding: 0 7px; margin-bottom: 18px; position: relative;
}
.th-item .th-in {
  display: block; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  transition: all 0.4s var(--ease);
  position: relative;
}
.th-item:hover .th-in {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover), 0 0 30px rgba(232,68,58,0.06);
  border-color: rgba(232,68,58,0.12);
}
.th-item:hover .th-in .img-resp-vert img { transform: scale(1.06); }
.th-img { border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden; }
.th-img img { transition: transform 0.6s var(--ease); }
.th-desc {
  padding: 12px 14px; min-height: 56px; margin-top: 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  position: relative;
}
.th-desc::before {
  content: ''; position: absolute; top: -1px; left: 20%; right: 20%;
  height: 1px; background: var(--accent-gradient); opacity: 0;
  transition: opacity 0.35s ease;
}
.th-item:hover .th-desc::before { opacity: 1; }
.th-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; }
.th-cat { margin-top: 5px; font-size: 11px; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }
.th-meta { position: absolute; z-index: 10; font-size: 13px; }
.th-trl { right: 12px; bottom: 65px; display: inline-block; padding: 4px 10px; font-size: 9px; background: var(--accent-gradient); color: #fff; cursor: pointer; border-radius: 6px; font-weight: 700; }
.th-qual {
  left: 14px; top: 14px; display: inline-block; padding: 4px 10px;
  background: var(--accent-gradient); color: #fff; border-radius: var(--radius-sm);
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; box-shadow: 0 2px 10px rgba(232,68,58,0.4);
}
.seotexts { order: 2; padding-top: 20px; }
.namrecoms { font-size: 12px; margin-top: 6px; text-align: center; }

/* ========== TOASTS ========== */
.toasts{position:fixed;right:10px;top:20px;z-index:990;display:grid;gap:16px}
.toast{background:var(--bg-elevated);color:var(--text-primary);border-radius:var(--radius-lg);overflow:hidden;position:relative;width:400px;display:flex;align-items:center;gap:16px;padding:16px 20px;box-shadow:0 12px 40px rgba(0,0,0,0.5);border:1px solid var(--border-subtle);--accent:#e8443a;animation:showToast .5s ease forwards;max-width:calc(100vw - 40px)}
.toast__icon{font-size:24px;color:var(--accent)}.toast__descr{flex:1 1 0;max-width:100%;min-width:50px}
.toast__title{font-weight:700;color:var(--text-primary)}.toast__text{font-size:13px}
.toast__close{font-size:16px;margin:0 -8px;display:grid;place-items:center;cursor:pointer;opacity:.5;width:36px;height:36px;border-radius:var(--radius-sm);transition:all .2s ease}
.toast__close:hover{opacity:1;background:rgba(255,255,255,0.05)}
.toast::after{content:'';width:100%;height:3px;background:var(--accent);position:absolute;left:0;bottom:0;animation:progressToast var(--toast-timer) linear forwards}
.toast--success{--accent:#4ade80}.toast--warning{--accent:#fbbf24}.toast--error{--accent:#ef4444}
.toast--is-hiding{animation:hideToast .5s ease forwards}
@keyframes progressToast{100%{width:0}}
@keyframes showToast{0%{transform:translateX(calc(100% + 20px));opacity:0}100%{transform:translateX(0);opacity:1}}
@keyframes hideToast{0%{transform:translateX(0);opacity:1}100%{transform:translateX(calc(100% + 20px));opacity:0}}

/* Card entrance animation */
.th-item { animation: cardFadeIn 0.4s var(--ease) both; }
.th-item:nth-child(1) { animation-delay: 0.02s; }
.th-item:nth-child(2) { animation-delay: 0.06s; }
.th-item:nth-child(3) { animation-delay: 0.1s; }
.th-item:nth-child(4) { animation-delay: 0.14s; }
.th-item:nth-child(5) { animation-delay: 0.18s; }
.th-item:nth-child(6) { animation-delay: 0.22s; }
.th-item:nth-child(7) { animation-delay: 0.26s; }
.th-item:nth-child(8) { animation-delay: 0.3s; }
@keyframes cardFadeIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

/* ========== RESPONSIVE ========== */
@media screen and (max-width: 1220px) {
  .wrap { padding: 0; overflow: hidden; }
  .carou-sect,.cols,.footer,.header { padding-left: 20px; padding-right: 20px; }
  .wrap-center { max-width: 1000px; border-radius: 0; }
  .wrap-main { border-radius: 0; border: none; }
  .sidebar { display: none; }
  .header-nav { display: none; }
  .search-wrap { margin-left: auto; }
  .btn-menu { display: flex; align-items: center; justify-content: center; font-size: 20px; margin-left: 12px; cursor: pointer; color: var(--accent); width: 40px; height: 40px; border-radius: var(--radius-md); background: rgba(255,255,255,0.04); border: 1px solid var(--border-subtle); transition: all 0.25s ease; flex-shrink: 0; }
  .btn-menu:hover { background: rgba(255,255,255,0.08); }
  .cols { padding-top: 20px; }
  .video-box embed,.video-box frame,.video-box iframe,.video-box object,.video-box video { height: 400px; }
}
@media screen and (max-width: 950px) {
  .wrap-center { max-width: 768px; }
  .short-meta-item:not(.mrating-count) { display: none; }
  .footer-top { flex-wrap: wrap; gap: 16px; }
  .footer-links { order: 3; width: 100%; justify-content: center; }
}
@media screen and (max-width: 760px) {
  .wrap-center { max-width: 640px; }
  .not-logged .login-avatar { display: none; }
  .login-close { top: 12px; right: 12px; }
  .login-title { font-size: 18px; }
  .login-box { max-width: calc(100% - 32px); padding: 20px; }
  .search-wrap { position: static; width: 40px; flex-shrink: 0; }
  .search-box { position: static; display: flex; align-items: center; }
  .search-box input { opacity: 0; width: 0; height: 0; min-height: 0; padding: 0; margin: 0; border: 0; line-height: 0; pointer-events: none; }
  .search-box button {
    position: static; display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; flex-shrink: 0; font-size: 20px;
    color: var(--text-secondary); border-radius: var(--radius-md);
    background: rgba(255,255,255,0.04); border: 1px solid var(--border-subtle);
    transition: all 0.25s ease;
  }
  .search-box button:hover { background: rgba(255,255,255,0.08); }

  /* When opened: drop a full-width search bar below the sticky header
     instead of expanding in place, so it never overlaps the logo/menu. */
  .search-wrap.active .search-box {
    position: fixed; top: 58px; left: 0; right: 0;
    display: flex; align-items: center; gap: 8px;
    padding: 12px 16px; z-index: 150;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-card);
  }
  .search-wrap.active .search-box input {
    opacity: 1; width: 100%; flex: 1; padding: 0 14px; height: 44px;
    pointer-events: auto; background: var(--bg-card);
  }
  .search-wrap.active .search-box button {
    position: static; flex-shrink: 0;
  }
  .header-btn { padding: 0 12px; }
  .logo { flex: 1; max-width: 100%; min-width: 50px; position: relative; margin-right: 8px; font-size: 20px; }
  .owl-nav { display: none; }
  .group_series-list { grid-template-columns: repeat(1,minmax(0,1fr)); }
  .fcols { display: block; padding: 16px; background: var(--bg-card); border-radius: var(--radius-lg); }
  .fleft { margin: 0 auto 16px; width: 180px; }
  .fcols::before { display: none; }
  .fcols::after { content: ""; display: table; clear: both; }
  .short-rates { width: 100%; margin: 10px 0 0 -10px; justify-content: flex-start; }
  .fcols .short-list li { padding-left: 100px; font-size: 13px; }
  .mrating-count { text-align: right; margin-right: 0; margin-left: -20px; }
  .fcompl,.ffav { display: none; }
  .fplayer .tabs-sel > span { width: 50%; text-align: center; }
  .fctrl { padding: 0; flex-wrap: wrap; }
  .fplayer { margin-left: 0; margin-right: 0; }
  .f-menu { display: none; }
  .popular-item-img { height: 230px; }
  .carou-content { height: 230px; }
  .footer-top { flex-direction: column; align-items: center; text-align: center; gap: 16px; }
  .footer-links { justify-content: center; }
  .video-box embed,.video-box frame,.video-box iframe,.video-box object,.video-box video { height: 280px; }
  .dcont button { font-size: 12px; padding: 0 15px !important; }
  .comments-tree-list .comments-tree-list { padding-left: 0 !important; }
  .comments-tree-list .comments-tree-list::before { display: none; }
  .mass_comments_action { display: none; }
  .site-desc { margin-right: 0; }
  .th-item { width: 33.33%; }
}
@media screen and (max-width: 590px) {
  .wrap-center { max-width: 480px; }
  .short-item { margin-bottom: 8px; padding: 0; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); width: 47% !important; overflow: hidden; }
  .short-item .short-img { width: 100%; margin: 0 0 5px; padding-top: 140%; height: auto; border-radius: 0; }
  .sect-title .fal,.short-item .short-list,.short-item .short-meta,.short-item .short-rates { display: none; }
  .short-item .short-title { white-space: normal; font-size: 12px; padding: 0 10px 10px; font-weight: 700; }
  .short-item .short-img img { position: absolute; left: 0; top: 0; }
  .navigation { justify-content: center; }
  .logo,.sect-title { font-size: 15px; }
  .ac-inputs input { width: 100%; }
  .th-item { width: 50%; }
  .th-desc { padding: 10px; }
  .th-title { font-size: 11px; }
  .site-desc { margin-right: 0; }
  .short-header { margin-bottom: 5px; text-align: center; }
  .video-box embed,.video-box frame,.video-box iframe,.video-box object,.video-box video { height: 240px; }
  .f-menu { display: none; }
  .nav-col { width: 100%; }
  .nav-col + .nav-col { width: 100%; }
  .popular-item-img { height: 200px; }
  .carou-content { height: 200px; }
  .bottom-nav { margin-top: 10px; }
  .ui-dialog { width: 100% !important; }
  .upop-left,.upop-right { margin: 0; padding: 0 20px; float: none !important; width: 100% !important; }
  .upop-left { margin-bottom: 10px; text-align: center; }
  .ui-dialog-buttonset button { display: block; margin: 0 0 5px; width: 100%; }
  #dofullsearch,#searchsuggestions span.seperator { display: none !important; }
  .attach .download-link { margin: 0 -15px 0 0; float: none; display: block; padding: 0 10px; }
  .attach-info { float: none; }
  .sect-header { margin-bottom: 16px; }
  .footer-links a { padding: 5px 10px; font-size: 11px; }
}
@media screen and (max-width: 470px) {
  .f-menu { display: none; }
  .short-header { margin-bottom: 5px; text-align: center; }
  .sect-header { margin-bottom: 16px; }
  .fleft { width: 100%; }
  .nav-col { width: 100%; }
  .nav-col + .nav-col { width: 100%; }
  .popular-item-img { height: 200px; }
  .carou-content { height: 200px; }
  .fimg { height: auto; width: 100%; max-width: 280px; margin: 0 auto 16px; }
  .fimg img { width: 100%; height: auto; object-fit: cover; }
  .video-box embed,.video-box frame,.video-box iframe,.video-box object,.video-box video { height: 200px; }
  .header { padding: 0 12px; }
  .carou-sect { padding-left: 12px; padding-right: 12px; }
  .cols { padding: 12px; }
  .footer-top { padding: 20px 16px; }
  .footer-bottom { padding: 12px 16px; }
  .logo-icon { width: 28px; height: 28px; border-radius: 7px; }
}

/* Language badge in cards */
.card-lang {
  display: inline-flex; align-items: center;
  padding: 1px 6px; border-radius: 4px;
  background: rgba(255,255,255,0.06);
  font-size: 10px; font-weight: 700; color: var(--text-secondary);
  text-transform: uppercase; letter-spacing: 0.04em;
  vertical-align: middle;
}
.dot-sep { color: var(--text-muted); margin: 0 2px; vertical-align: middle; }

/* === EXTRA POLISH === */
/* Smooth scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.14); }

/* Selection */
::selection { background: rgba(232,68,58,0.25); color: #fff; }

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* Section titles */
.sect { margin-top: 28px; }
.sect .carou-title { margin-bottom: 16px; }

/* Comments section */
.fcomms .sect-content { padding: 20px; }

/* Status badge in fullstory */
.short-list a[href="#"] { pointer-events: none; }

/* Smooth page transitions */
.article { animation: pageIn 0.4s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ==========================================================
   HEADER ACTIONS — notification bell + account button
   ========================================================== */
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: 14px; flex-shrink: 0; }
.icon-btn {
  position: relative; width: 40px; height: 40px; border-radius: var(--radius-md);
  background: rgba(255,255,255,0.04); border: 1px solid var(--border-subtle);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary); font-size: 16px; flex-shrink: 0;
  transition: all 0.25s ease;
}
.icon-btn:hover { background: rgba(255,255,255,0.08); color: var(--text-primary); border-color: var(--border-light); }
.notif-badge {
  position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px;
  padding: 0 4px; border-radius: 9px; background: var(--accent-gradient);
  color: #fff; font-size: 10px; font-weight: 800; line-height: 18px; text-align: center;
  box-shadow: 0 2px 8px rgba(232,68,58,0.4);
}
.account-btn {
  display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 6px;
  border-radius: var(--radius-md); background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle); cursor: pointer; flex-shrink: 0;
  transition: all 0.25s ease;
}
.account-btn:hover { background: rgba(255,255,255,0.08); border-color: var(--border-light); }
.account-avatar { width: 28px; height: 28px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 1px solid var(--border-light); }
.account-avatar img { width: 100%; height: 100%; object-fit: cover; }
.account-name { font-size: 13px; font-weight: 600; color: var(--text-primary); max-width: 100px; overflow: hidden; text-overflow: ellipsis; }
.account-btn > .fal.fa-user { font-size: 15px; color: var(--text-secondary); margin-left: 4px; }
.account-btn > .fal.fa-angle-down { font-size: 11px; color: var(--text-muted); }

/* ==========================================================
   HERO BANNER
   ========================================================== */
.hero-sect { position: relative; border-bottom: 1px solid var(--border-subtle); }
.hero-sect .owl-carousel, .hero-sect .owl-stage-outer, .hero-sect .owl-stage, .hero-sect .owl-item { height: 100%; }
.hero-slide { position: relative; height: 420px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center top;
  transform: scale(1.02);
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6,8,12,0.96) 0%, rgba(6,8,12,0.75) 32%, rgba(6,8,12,0.25) 62%, rgba(6,8,12,0.05) 100%),
    linear-gradient(0deg, rgba(6,8,12,0.9) 0%, transparent 40%);
}
.hero-content { position: relative; z-index: 5; height: 100%; max-width: 640px; padding: 0 60px; display: flex; flex-direction: column; justify-content: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  padding: 6px 14px; margin-bottom: 16px; border-radius: 20px;
  background: rgba(232,68,58,0.14); border: 1px solid rgba(232,68,58,0.3);
  color: var(--accent-warm); font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.hero-badge .fas { color: var(--accent); }
.hero-title { font-size: 40px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; color: #fff; margin-bottom: 14px; }
.hero-tags { display: flex; gap: 8px; margin-bottom: 16px; }
.hero-tag {
  padding: 4px 12px; border-radius: var(--radius-sm); font-size: 12px; font-weight: 600;
  background: rgba(255,255,255,0.08); border: 1px solid var(--border-light); color: var(--text-secondary);
}
.hero-desc { font-size: 14px; line-height: 1.7; color: var(--text-secondary); margin-bottom: 26px; max-width: 520px; }
.hero-actions { display: flex; gap: 12px; }
.hero-btn-play { display: inline-flex; align-items: center; gap: 10px; padding: 0 26px; }
.hero-btn-info {
  display: inline-flex; align-items: center; height: 42px; padding: 0 22px;
  border-radius: var(--radius-md); font-size: 13px; font-weight: 700;
  background: rgba(255,255,255,0.06); border: 1px solid var(--border-light); color: var(--text-primary);
  transition: all 0.3s var(--ease);
}
.hero-btn-info:hover { background: rgba(255,255,255,0.1); border-color: var(--border-hover); }

/* Hero nav arrows (owl-nav) */
.hero-sect .owl-nav button {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 6;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(8,12,18,0.55); border: 1px solid rgba(255,255,255,0.14);
  color: #fff; font-size: 16px; display: flex; align-items: center; justify-content: center;
  transition: all 0.25s ease; backdrop-filter: blur(6px);
}
.hero-sect .owl-nav button:hover { background: var(--accent-gradient); border-color: transparent; }
.hero-sect .owl-nav .owl-prev { left: 20px; }
.hero-sect .owl-nav .owl-next { right: 20px; }

/* Hero dots — thin bars, bottom-left */
.hero-sect .owl-dots {
  position: absolute; z-index: 6; left: 60px; bottom: 24px; display: flex; gap: 6px;
}
.hero-sect .owl-dots .owl-dot span {
  display: block; width: 24px; height: 4px; border-radius: 2px;
  background: rgba(255,255,255,0.25); transition: all 0.3s ease;
}
.hero-sect .owl-dots .owl-dot.active span { background: var(--accent-gradient); width: 34px; }

/* ==========================================================
   "NAUJA" ribbon on grid cards
   ========================================================== */
.th-new {
  position: absolute; z-index: 10; right: 12px; top: 14px;
  padding: 4px 9px; border-radius: var(--radius-sm);
  background: rgba(6,8,12,0.75); border: 1px solid rgba(232,68,58,0.5);
  color: var(--accent-warm); font-size: 9px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.06em;
}

/* ==========================================================
   PROMO / FEATURES STRIP
   ========================================================== */
.promo-strip {
  display: flex; align-items: center; gap: 28px; margin-top: 28px; padding: 32px;
  background: linear-gradient(120deg, rgba(232,68,58,0.08), rgba(11,16,24,0.4));
  border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
  position: relative; overflow: hidden;
}
.promo-strip::after {
  content: ''; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(232,68,58,0.16) 0%, transparent 70%);
  pointer-events: none;
}
.promo-strip-icon {
  flex-shrink: 0; width: 64px; height: 64px; border-radius: var(--radius-lg);
  background: var(--accent-gradient); display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 26px; box-shadow: 0 8px 24px rgba(232,68,58,0.35);
}
.promo-strip-title { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 8px; }
.promo-strip-desc { font-size: 13px; line-height: 1.7; color: var(--text-secondary); max-width: 720px; margin-bottom: 20px; }
.promo-strip-feats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.promo-feat { display: flex; align-items: center; gap: 12px; }
.promo-feat .fal { flex-shrink: 0; width: 38px; height: 38px; border-radius: var(--radius-md); background: rgba(255,255,255,0.05); border: 1px solid var(--border-subtle); display: flex; align-items: center; justify-content: center; font-size: 16px; color: var(--accent-warm); }
.promo-feat b { display: block; font-size: 13px; font-weight: 700; }
.promo-feat small { display: block; font-size: 11px; color: var(--text-muted); margin-top: 2px; }

/* ==========================================================
   RESPONSIVE — new sections
   ========================================================== */
@media screen and (max-width: 1220px) {
  .hero-slide { height: 360px; }
  .hero-title { font-size: 32px; }
}
@media screen and (max-width: 950px) {
  .promo-strip { flex-direction: column; align-items: flex-start; }
  .promo-strip-feats { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media screen and (max-width: 760px) {
  .account-name { display: none; }
  .account-btn { padding: 0 10px; gap: 0; }
  .header-actions { margin-left: 8px; gap: 6px; }
  .hero-slide { height: 300px; }
  .hero-content { padding: 0 24px; max-width: 100%; }
  .hero-title { font-size: 24px; }
  .hero-desc { display: none; }
  .hero-sect .owl-nav { display: flex; }
  .hero-sect .owl-dots { left: 24px; }
  .promo-strip-feats { grid-template-columns: 1fr; }
}
@media screen and (max-width: 470px) {
  .hero-slide { height: 260px; }
  .hero-title { font-size: 19px; }
  .hero-badge { font-size: 9px; padding: 4px 10px; }
  .hero-btn-info { display: none; }
}

/* ========== LIVE CINEMA REFINEMENT ========== */
/* Kept as a final layer so the stock DLE components stay fully compatible. */
body {
  background:
    radial-gradient(900px 500px at 18% -10%, rgba(218, 69, 34, .10), transparent 60%),
    radial-gradient(700px 440px at 100% 28%, rgba(18, 55, 78, .20), transparent 64%),
    var(--bg-deep);
}
.wrap { padding: 18px; }
.header-actions { display: flex; align-items: center; gap: 9px; margin-left: 14px; }
.icon-btn, .account-btn {
  min-width: 38px; height: 38px; padding: 0 11px; display: inline-flex;
  align-items: center; justify-content: center; gap: 8px; border-radius: 11px;
  color: var(--text-secondary); background: rgba(255,255,255,.035);
  border: 1px solid var(--border-subtle); transition: all .25s ease;
}
.icon-btn:hover, .account-btn:hover { color: #fff; border-color: rgba(232,68,58,.35); background: var(--accent-glow); }
.account-avatar { width: 24px; height: 24px; border-radius: 50%; overflow: hidden; }
.account-name { font-size: 12px; font-weight: 600; }
.hero-sect { border-bottom: 0; }
.hero-slide { height: 450px; }
.hero-bg { transform: scale(1.01); filter: saturate(.92) contrast(1.05); }
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5,9,14,.94) 0%, rgba(5,9,14,.66) 34%, rgba(5,9,14,.08) 71%, rgba(5,9,14,.30) 100%),
    linear-gradient(0deg, rgba(5,9,14,.92) 0%, transparent 38%);
}
.hero-content { padding: 34px 54px 44px; max-width: 600px; }
.hero-title { font-size: clamp(30px, 3.1vw, 46px); line-height: 1.08; text-shadow: 0 5px 22px rgba(0,0,0,.38); }
.hero-badge { color: #ff6941; background: rgba(8,12,18,.55); border: 1px solid rgba(255,111,73,.20); }
.hero-tag { background: rgba(4,8,12,.55); border-color: rgba(255,255,255,.13); backdrop-filter: blur(8px); }
.hero-desc { color: #c0cad4; text-shadow: 0 2px 8px rgba(0,0,0,.35); }
.hero-btn-play { border-radius: 8px; min-height: 44px; }
.hero-btn-info { border-radius: 8px; }
.carou-sect { margin: 0 16px; padding: 20px 20px 16px; border: 1px solid var(--border-subtle); border-radius: 10px; background: rgba(4,10,15,.5); }
.carou-content { height: 196px; }
.popular-item-img { height: 196px; border-radius: 9px; }
.popular-item-title { font-size: 12px; padding: 11px 9px; }
.cols { padding: 28px 22px 20px; gap: 22px; }
.sidebar { width: 320px; }
.side-box { border-radius: 10px; background: linear-gradient(145deg, rgba(20,31,41,.78), rgba(10,19,27,.78)); }
.side-bt { padding: 14px 15px; color: #f1f4f7; font-size: 12px; }
.nav-col { padding: 10px; }
.nav-menu a { padding: 8px 10px; margin-bottom: 3px; background: transparent; border-color: transparent; }
.nav-menu a:hover { background: rgba(232,68,58,.09); }
.sect-title { font-size: 14px; }
.th-item { padding: 0 6px 14px; }
.th-item .th-in { border-radius: 9px; background: #0a121a; box-shadow: 0 8px 22px rgba(0,0,0,.17); }
.th-new, .th-meta { border-radius: 5px; }
.footer { margin: 0 22px 18px; border: 1px solid var(--border-subtle); border-radius: 10px; overflow: hidden; }
.footer-top { padding: 22px 24px; }
@media screen and (max-width: 1220px) {
  .carou-sect { margin: 0; border-left: 0; border-right: 0; border-radius: 0; }
  .footer { margin: 0; border-left: 0; border-right: 0; border-bottom: 0; border-radius: 0; }
}
@media screen and (max-width: 760px) {
  .wrap { padding: 0; }
  .wrap-main { border-radius: 0; border-left: 0; border-right: 0; }
  .header { padding: 0 16px; }
  .hero-slide { height: 330px; }
  .hero-content { padding: 28px 24px; }
  .header-actions .account-name, .header-actions .fa-angle-down { display: none; }
}

/* ========== REFERENCE LAYOUT: SMALL 5-COLUMN CARDS ========== */
/* Main content deliberately stays on the left and sidebar on the right. */
@media screen and (min-width: 761px) {
  #dle-content { margin-left: -5px; margin-right: -5px; }
  .th-item { width: 20%; padding: 0 5px; margin-bottom: 12px; }
  .th-item .th-in { border-radius: 8px; }
  .th-img { border-radius: 8px 8px 0 0; }
  .th-desc { min-height: 49px; padding: 8px 9px; }
  .th-title { font-size: 10px; line-height: 1.35; }
  .th-cat { margin-top: 3px; font-size: 9px; }
  .th-qual { top: 7px; left: 7px; padding: 3px 6px; font-size: 8px; }
  .th-new { top: 7px; right: 7px; padding: 3px 6px; font-size: 8px; }
  .sidebar { width: 284px; }
  .cols { gap: 20px; }
}

/* One-column genre panel matching the supplied design. */
.side-nav > .side-bc.fx-row { display: none; }
.side-bt .side-all {
  margin-left: auto; padding: 0; color: var(--text-muted); font-size: 10px;
  font-weight: 500; letter-spacing: 0; text-transform: none;
}
.side-bt .side-all:hover { color: var(--accent); }
.category-list { padding: 8px 14px 12px; }
.category-list a {
  display: flex; align-items: center; gap: 11px; min-height: 31px;
  padding: 5px 2px; color: #b9c4cf; font-size: 12px; font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,.045); transition: color .2s ease;
}
.category-list a:last-child { border-bottom: 0; }
.category-list a > span { width: 18px; text-align: center; color: #e8753d; font-size: 13px; }
.category-list a b { margin-left: auto; color: #e7edf3; font-size: 11px; font-weight: 500; }
.category-list a:hover { color: #fff; background: transparent; transform: none; border-color: rgba(255,111,73,.22); }

/* Compact, poster-first popular slider. */
.carou-sect { padding: 16px 18px 14px; }
.carou-title { margin-bottom: 12px; }
.carou-content, .popular-item-img { height: 156px; }
.popular-item-img { border-radius: 8px; }
.popular-item-title { padding: 8px 7px; font-size: 10px; }
.popular-item::after {
  content: counter(rank); position: absolute; z-index: 8; top: 7px; right: 7px;
  width: 24px; height: 24px; line-height: 24px; border-radius: 7px;
  text-align: center; color: #fff; font-size: 12px; font-weight: 800;
  background: var(--accent-gradient); box-shadow: 0 4px 12px rgba(232,68,58,.35);
}
@media screen and (max-width: 760px) {
  .th-item { width: 33.333%; }
  .category-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
}
@media screen and (max-width: 590px) {
  .th-item { width: 50%; }
  .category-list { grid-template-columns: 1fr; }
  .carou-content, .popular-item-img { height: 140px; }
}

/* ========== COMPLETE HOME PAGE COMPOSITION ========== */
/* Header controls are icon buttons on desktop, as in the supplied reference. */
.header { height: 70px; padding: 0 26px; background: rgba(5,9,13,.92); }
.logo, .header-nav, .header-nav a { height: 70px; }
.header-nav { margin-left: 28px; margin-right: auto; }
.header-nav a { padding: 0 14px; }
.search-wrap { width: 44px; margin-left: 0; }
.search-box input, .search-box input:focus {
  position: absolute; right: 0; top: 0; width: 44px; height: 44px; padding: 0;
  opacity: 0; cursor: pointer; z-index: 2; border-radius: 12px;
}
.search-box input:focus { width: 260px; opacity: 1; padding: 0 42px 0 14px; background: #111a23; cursor: text; }
.search-box button { width: 44px; height: 44px; line-height: 44px; border: 1px solid var(--border-subtle); border-radius: 12px; background: rgba(255,255,255,.035); font-size: 16px; }
.header-actions { margin-left: 10px; }
.account-btn { width: 44px; padding: 0; }
.account-btn .account-name, .account-btn > .fa-angle-down { display: none; }

/* Distinct hero, carousel and card geometry. */
.hero-slide { height: 405px; }
.hero-content { padding-left: 40px; }
.hero-title { max-width: 500px; }
.hero-sect .owl-dots { bottom: 14px; left: 40px; }
.carou-sect { margin: 12px 14px 0; border-radius: 10px; padding: 18px 18px 14px; }
.carou-content, .popular-item-img { height: 138px; }
.popular-item-title { font-size: 10px; padding: 7px; }
.popular-item::after { width: 22px; height: 22px; line-height: 22px; font-size: 11px; }

/* DLE cards: five small posters in a row on desktop. */
.cols { padding: 22px 20px 26px; gap: 20px; }
.main { order: 0; }
.sidebar { order: 1; width: 292px; }
#dle-content { align-items: flex-start; }
@media screen and (min-width: 761px) {
  .th-item { width: 20% !important; padding: 0 5px; margin-bottom: 13px; }
  .th-desc { min-height: 47px; padding: 8px 8px; }
  .th-title { font-size: 10px; }
  .th-cat { font-size: 9px; }
}

/* Fully rebuilt sidebar patterns: genres, top-5 ranking, and compact comments. */
.side-box { border-radius: 10px; margin-bottom: 12px; background: linear-gradient(145deg,#101b24,#0b151d); }
.side-bt { min-height: 42px; padding: 12px 14px; color: #f2f5f7; font-size: 11px; }
.side-bt::first-letter { color: var(--accent); }
.side-nav > .side-bc.fx-row { display: none !important; }
.category-list { display: block; padding: 8px 14px 10px; }
.category-list a { min-height: 29px; font-size: 11px; }
.category-list a > span { color: #f08245; }
.side-box .side-bc.fx-row.mb-remove { display: block; margin: 0; padding: 4px 12px 10px; counter-reset: sideRank; }
.side-top-item {
  display: grid; grid-template-columns: 28px 38px 1fr; grid-template-rows: 22px 16px;
  align-items: center; column-gap: 8px; min-height: 54px; padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,.055); counter-increment: sideRank;
}
.side-top-item:last-child { border-bottom: 0; }
.side-top-rank { grid-row: 1 / 3; width: 23px; height: 23px; line-height: 23px; border-radius: 6px; text-align: center; color: #fff; font-size: 11px; font-weight: 800; background: #25313c; }
.side-top-rank::after { content: counter(sideRank); }
.side-top-item:nth-child(-n+3) .side-top-rank { background: var(--accent-gradient); }
.side-top-item img { grid-row: 1 / 3; width: 38px; height: 42px; object-fit: cover; border-radius: 5px; }
.side-top-title { color: #e7edf2; font-size: 11px; font-weight: 600; line-height: 1.2; }
.side-top-views { color: #718092; font-size: 9px; }
.side-top-item:hover .side-top-title { color: #ff7250; }
.lcomm { padding: 10px 12px; margin: 0; border: 0; border-radius: 0; background: transparent; border-bottom: 1px solid rgba(255,255,255,.055); }
.lcomm:last-child { border-bottom: 0; }
.lcomm .lmeta { margin-bottom: 6px; font-size: 10px; }
.lcomm .ltext { font-size: 11px; line-height: 1.42; color: #9eabba; }
.lcomm .ltitle { margin-top: 5px; font-size: 10px; color: #dce4ec; }

/* Bottom service panel and footer are split into clear cards. */
.promo-strip { display: block; margin: 0 20px 18px; padding: 22px 24px; border-radius: 11px; background: linear-gradient(105deg,rgba(232,68,58,.12),rgba(16,25,36,.85) 35%); border: 1px solid rgba(255,255,255,.07); }
.promo-strip-icon { float: left; width: 62px; height: 62px; margin: 0 18px 0 0; border-radius: 15px; background: var(--accent-gradient); }
.promo-strip-main { overflow: hidden; }
.promo-strip-title { margin: 0 0 3px; font-size: 16px; }
.promo-strip-desc { max-width: 760px; font-size: 12px; }
.promo-strip-feats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; margin-top: 17px; }
.promo-feat { min-width: 0; padding: 9px 10px; border-radius: 8px; background: rgba(0,0,0,.15); }
.promo-feat > span { font-size: 18px; }
.promo-feat b { font-size: 11px; }
.promo-feat small { font-size: 9px; }
.footer { margin: 0 20px 18px; border-radius: 11px; }
.footer-top { padding: 20px 24px; }
.footer-links { gap: 8px; }
.footer-links a { padding: 7px 12px; background: transparent; border: 0; color: #cbd4dc; }
.footer-bottom { padding: 12px 24px; }
@media screen and (max-width: 1220px) {
  .sidebar { display: block; }
  .header-nav { display: flex; }
}
@media screen and (max-width: 900px) {
  .sidebar { display: none; }
  .header-nav { display: none; }
  .promo-strip-feats { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media screen and (max-width: 590px) {
  .hero-slide { height: 300px; }
  .carou-sect { margin: 0; border-radius: 0; }
  .promo-strip, .footer { margin: 0; border-radius: 0; }
  .promo-strip-feats { grid-template-columns: 1fr 1fr; }
}

/* ========== HEADER OVER HERO / FINAL REFERENCE ALIGNMENT ========== */
body { background: #060b11; }
.wrap { padding: 0; }
.wrap-main { max-width: none; border: 0; border-radius: 0; box-shadow: none; overflow: visible; }
.header {
  position: absolute; inset: 0 0 auto; height: 64px; z-index: 120;
  padding: 0 42px; background: linear-gradient(180deg,rgba(2,5,8,.87),rgba(2,5,8,.60));
  border-bottom-color: rgba(255,255,255,.05); backdrop-filter: blur(12px);
}
.logo, .header-nav, .header-nav a { height: 64px; }
.header-nav { margin-left: 30px; }
.header-nav a { color: rgba(255,255,255,.76); font-size: 11px; padding: 0 16px; }
.header-nav a.active::before { display: none; }
.header-nav a::after { left: 10px; right: 10px; height: 2px; }
.header-actions { height: 64px; gap: 8px; }
.search-wrap, .search-box { height: 40px; width: 40px; }
.search-box input, .search-box input:focus {
  width: 40px; height: 40px; right: 0; padding: 0; opacity: 0; border-radius: 11px;
}
.search-box input:focus { width: 230px; padding-left: 13px; padding-right: 42px; opacity: 1; }
.search-box button, .icon-btn, .account-btn, .btn-menu.hidden {
  width: 40px; min-width: 40px; height: 40px; line-height: 40px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center; border-radius: 11px;
  background: rgba(12,19,27,.72); border: 1px solid rgba(255,255,255,.10); color: #f2f5f8;
}
.search-box button { position: absolute; font-size: 15px; }
.account-btn .account-avatar { margin: 0; }
.account-btn .account-name, .account-btn > .fa-angle-down { display: none; }
.btn-menu.hidden { margin-left: 8px; font-size: 16px; cursor: pointer; }
.hero-slide { height: 450px; }
.hero-content { padding: 112px 0 48px 54px; }
.hero-sect .owl-dots { left: 54px; bottom: 18px; }
.hero-overlay { background: linear-gradient(90deg,rgba(4,8,12,.82) 0%,rgba(4,8,12,.50) 36%,rgba(4,8,12,.03) 75%),linear-gradient(0deg,rgba(4,8,12,.93),transparent 48%); }

/* The popular row is a dedicated full-width, tall poster rail. */
.carou-sect { margin: 0; padding: 18px 44px 20px; border: 0; border-radius: 0; background: #071018; }
.carou-sect::before { display: none; }
.carou-title { margin-bottom: 14px; }
.carou-title .line { width: 18px; flex-basis: 18px; }
.carou-content, .popular-item-img { height: 164px; }
.popular-item-img { border-radius: 8px; }
.popular-item-title { padding: 9px 8px; font-size: 10px; }
.popular-item::after { top: 7px; right: 7px; }

@media screen and (max-width: 900px) {
  .header { position: sticky; padding: 0 16px; background: #081019; }
  .hero-content { padding-left: 25px; }
  .carou-sect { padding-left: 18px; padding-right: 18px; }
  .btn-menu.hidden { display: flex; }
}
@media screen and (max-width: 590px) {
  .header { height: 58px; }
  .logo { height: 58px; }
  .hero-slide { height: 310px; }
  .hero-content { padding: 82px 20px 25px; }
  .hero-sect .owl-dots { left: 20px; }
  .carou-sect { padding: 14px 12px; }
  .carou-content, .popular-item-img { height: 145px; }
}

/* ========== REFERENCE HERO SLIDER: NUMBERED PROGRESS CONTROL ========== */
.hero-sect { position: relative; margin: 0; border: 0; overflow: hidden; }
.hero-slide { height: 370px; }
.hero-bg { background-position: center; }
.hero-content { padding: 104px 0 42px 46px; }
.hero-sect .owl-dots { display: none !important; }
.hero-sect .owl-nav { display: none !important; }
.hero-pagination {
  position: absolute; z-index: 20; right: 28px; bottom: 22px; display: flex;
  align-items: flex-end; gap: 4px; color: #fff; font-variant-numeric: tabular-nums;
  text-shadow: 0 2px 8px rgba(0,0,0,.6); pointer-events: none;
}
.hero-pagination-current { font-size: 24px; line-height: 1; font-weight: 500; letter-spacing: -.04em; }
.hero-pagination-total { font-size: 11px; line-height: 16px; color: rgba(255,255,255,.65); }
.hero-pagination-bars { display: flex; gap: 5px; align-items: center; margin-left: 13px; padding-bottom: 3px; }
.hero-pagination-bars i { display: block; width: 18px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.45); }
.hero-pagination-bars i.is-active { background: #e84b37; width: 28px; }

/* The popular rail is a separate compact panel, as in the reference image. */
.carou-sect { margin: 0 20px; padding: 18px 26px 16px; border: 1px solid rgba(255,255,255,.09); border-radius: 10px; background: linear-gradient(145deg,rgba(14,25,34,.96),rgba(7,15,21,.97)); }
.carou-content, .popular-item-img { height: 136px; }
.popular-item-img { border-radius: 8px; }
.popular-item-title { font-size: 10px; padding: 8px 6px; }
@media screen and (max-width: 760px) {
  .hero-slide { height: 320px; }
  .hero-content { padding: 80px 24px 30px; }
  .hero-pagination { right: 18px; bottom: 16px; }
  .hero-pagination-bars i { width: 11px; }
  .hero-pagination-bars i.is-active { width: 19px; }
  .carou-sect { margin: 0; border-radius: 0; border-left: 0; border-right: 0; padding: 15px 16px; }
}

/* ========== RESPONSIVE FULL-BLEED HERO AND WORKING HEADER CONTROLS ========== */
/* Keep the header over the image at tablet widths too; it becomes a solid
   bar only on a real phone. */
@media screen and (max-width: 900px) {
  .header { position: absolute; padding: 0 20px; background: linear-gradient(180deg,rgba(3,7,11,.80),rgba(3,7,11,.22)); }
  .hero-slide { height: 440px; }
  .hero-content { padding: 104px 0 46px 34px; }
  .header-nav.menu-open {
    display: flex; position: absolute; top: 64px; right: 14px; width: 210px; height: auto;
    padding: 7px; flex-direction: column; align-items: stretch; background: #0b131b;
    border: 1px solid rgba(255,255,255,.12); border-radius: 10px; box-shadow: 0 16px 40px rgba(0,0,0,.45);
  }
  .header-nav.menu-open a { height: 39px; padding: 0 12px; }
}
.search-wrap { position: relative; flex: 0 0 40px; transition: flex-basis .28s ease; }
.search-box { position: relative; width: 100%; }
.search-box input, .search-box input:focus { pointer-events: none; z-index: 1; transition: opacity .2s ease, width .28s ease; }
.search-box button { z-index: 3; cursor: pointer; }
.search-wrap.active { flex-basis: 260px; }
.search-wrap.active .search-box input, .search-wrap.active .search-box input:focus {
  width: 260px; opacity: 1; pointer-events: auto; padding: 0 45px 0 14px;
  background: rgba(9,16,24,.98); border-color: rgba(255,255,255,.16);
}
.search-wrap.active .search-box button { background: transparent; border-color: transparent; }
@media screen and (max-width: 590px) {
  .header { position: absolute; padding: 0 12px; }
  .hero-slide { height: 360px; }
  .hero-content { padding: 88px 20px 28px; }
  .search-wrap.active { flex-basis: min(230px, calc(100vw - 122px)); }
  .search-wrap.active .search-box input, .search-wrap.active .search-box input:focus { width: min(230px, calc(100vw - 122px)); }
}

/* ========== TRUE FULL-BLEED HERO: HEADER HAS NO SEPARATE BAR ========== */
.header {
  background: transparent !important; border-bottom: 0; box-shadow: none;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.header::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg,rgba(0,0,0,.48),rgba(0,0,0,.15) 65%,transparent);
}
.header .logo, .header .header-nav, .header .search-wrap, .header .header-actions, .header .btn-menu { position: relative; z-index: 1; }
.hero-slide { height: 455px; }
.hero-content { padding-top: 122px; }
.hero-bg { background-size: cover; background-position: center center; }
.hero-overlay {
  background: linear-gradient(90deg,rgba(4,8,12,.78) 0%,rgba(4,8,12,.45) 38%,rgba(4,8,12,.02) 77%),linear-gradient(0deg,rgba(4,8,12,.88),transparent 48%);
}
@media screen and (max-width: 900px) {
  .header { background: transparent !important; }
  .hero-slide { height: 430px; }
  .hero-content { padding-top: 108px; }
}
@media screen and (max-width: 590px) {
  .hero-slide { height: 370px; }
  .hero-content { padding-top: 90px; }
}

/* ==========================================================
   LOAD MORE — AJAX-enhanced pagination
   ========================================================== */
.loadmore-wrap { text-align: center; margin: 12px 0 24px; }
.loadmore-btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 26px; border-radius: 999px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border-light);
  color: var(--text-primary); font-size: 12px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.05em; cursor: pointer;
  transition: all 0.3s var(--ease);
}
.loadmore-btn:hover { background: rgba(255,255,255,0.09); border-color: var(--border-hover); transform: translateY(-1px); }
.loadmore-btn.is-loading { opacity: 0.55; pointer-events: none; }
.loadmore-btn .fal { font-size: 11px; color: var(--accent-warm); }

/* Category count badge (real DLE {categorys} data) */
.cat-count {
  font-size: 11px; font-weight: 700; color: var(--text-muted);
  background: rgba(255,255,255,0.05); padding: 1px 8px; border-radius: 999px;
  flex-shrink: 0; margin-left: 8px;
}
.nav-menu a:hover .cat-count { color: var(--accent); background: rgba(232,68,58,0.12); }
.nav-menu a.is-active { color: var(--accent); border-color: rgba(232,68,58,0.3); background: var(--accent-glow); }

/* ==========================================================================
   Nemokamos peržiūros (trial) / VIP overlay
   ========================================================================== */

.sv-vip-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 10, 16, 0.72);
  backdrop-filter: blur(5px) saturate(120%);
  -webkit-backdrop-filter: blur(5px) saturate(120%);
  padding: 20px;
}

.sv-vip-card {
  max-width: 400px;
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  text-align: center;
  box-shadow: var(--shadow-hover);
}

.sv-vip-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.sv-vip-card h3 {
  color: var(--text-primary);
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px;
}

.sv-vip-card p {
  color: var(--text-secondary);
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0 0 22px;
}

.sv-vip-features {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  text-align: left;
  display: inline-block;
}

.sv-vip-features li {
  color: var(--text-secondary);
  font-size: 13.5px;
  margin-bottom: 9px;
  padding-left: 24px;
  position: relative;
}

.sv-vip-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-warm);
  font-weight: 700;
}

.sv-vip-btn {
  display: inline-block;
  width: 100%;
  padding: 13px 24px;
  background: var(--accent-gradient);
  color: #fff;
  font-weight: 600;
  font-size: 14.5px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: var(--shadow-glow);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease);
}

.sv-vip-btn:hover {
  transform: translateY(-2px);
  color: #fff;
}

.sv-vip-timer {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 11.5px;
}

/* ===========================================================
   V7 — GALUTINIS SLUOKSNIS: header, populiariausi, sidebar, grid
   Šis blokas sąmoningai eina failo gale, kad perrašytų visus
   ankstesnius tarpusavyje konfliktuojančius override'us aukščiau.
   =========================================================== */

/* --- HEADER: tikras "sticky" stiklinis barelis, visada matomas --- */
.header {
  position: sticky !important;
  top: 0 !important;
  z-index: 200 !important;
  background: rgba(9, 14, 21, 0.78) !important;
  backdrop-filter: blur(22px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(22px) saturate(160%) !important;
  border-bottom: 1px solid rgba(255,255,255,0.07) !important;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25) !important;
}
.header::before { content: none !important; }
.hero-content { padding-top: 46px !important; }
.hero-slide { height: 420px !important; }

/* Paieška + user ikona — vienodo dizaino, šiek tiek didesnės */
.search-box button, .icon-btn, .account-btn {
  width: 42px !important; min-width: 42px !important; height: 42px !important;
  border-radius: 12px !important;
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid var(--border-subtle) !important;
  color: var(--text-secondary) !important;
}
.search-box button:hover, .icon-btn:hover, .account-btn:hover {
  background: var(--accent-gradient) !important; color: #fff !important; border-color: transparent !important;
}
/* Burger meniu — tik telefonui, PC visada rodo pilną meniu */
.btn-menu { display: none !important; }
@media screen and (max-width: 900px) { .btn-menu { display: flex !important; } }
@media screen and (max-width: 900px) { .header-nav { display: none !important; } }
@media screen and (min-width: 901px) { .header-nav { display: flex !important; } }

/* --- POPULIARIAUSI: švaresnis gradientas, rango ženkliukas prie pavadinimo --- */
.popular-item-img::before {
  background: linear-gradient(180deg, transparent 30%, rgba(4,7,11,0.94) 100%) !important;
  height: 75% !important;
  opacity: 1 !important;
}
.popular-item::after {
  top: auto !important; right: auto !important; bottom: 11px !important; left: 11px !important;
  width: 24px !important; height: 24px !important; line-height: 24px !important;
  border-radius: 7px !important; font-size: 11px !important;
}
.popular-item-title {
  text-align: left !important; padding: 10px 12px 10px 44px !important;
}

/* --- ŠONINĖ JUOSTA: didesni šriftai/elementai, proporcingi turiniui --- */
.side-bt { font-size: 12.5px !important; padding: 16px !important; }
.category-list a { font-size: 13px !important; min-height: 40px !important; padding: 9px 4px !important; }
.category-list a > span { font-size: 15px !important; }
.side-top-item {
  grid-template-columns: 30px 58px 1fr !important;
  grid-template-rows: auto auto !important;
  min-height: 72px !important; padding: 11px 0 !important;
}
.side-top-item img { width: 58px !important; height: 72px !important; border-radius: 7px !important; }
.side-top-rank { width: 27px !important; height: 27px !important; line-height: 27px !important; font-size: 12px !important; }
.side-top-title { font-size: 13.5px !important; line-height: 1.35 !important; }
.side-top-views { font-size: 11px !important; }
.lcomm { padding: 13px 14px !important; }
.lcomm .ltext { font-size: 12.5px !important; line-height: 1.5 !important; }
.lcomm .lmeta { font-size: 11px !important; }
.lcomm .ltitle { font-size: 11px !important; }

/* --- NAUJIENŲ KORTELĖS: 4 stulpeliai vietoj 5, didesnės ir suderintos --- */
@media screen and (min-width: 761px) {
  .th-item { width: 25% !important; padding: 0 9px !important; margin-bottom: 22px !important; }
  .th-desc { min-height: 60px !important; padding: 14px 15px !important; }
  .th-title { font-size: 13px !important; }
  .th-cat { font-size: 11px !important; margin-top: 6px !important; }
  .th-qual { top: 12px !important; left: 12px !important; padding: 5px 11px !important; font-size: 10px !important; }
  .th-new { top: 12px !important; right: 12px !important; padding: 5px 11px !important; font-size: 9px !important; }
}
#dle-content { margin-left: -9px !important; margin-right: -9px !important; }

/* NAUJA ženkliukas suvienodintas su serijos numerio ženkliuku (tas pats akcento stilius) */
.th-new {
  background: var(--accent-gradient) !important;
  border: none !important;
  color: #fff !important;
  box-shadow: 0 2px 10px rgba(232,68,58,0.4) !important;
}

/* ===========================================================
   V8 — kompaktiškesnis hero, "Top" stiliaus populiariausi,
   subalansuoto dydžio (5 stulpelių) kortelių tinklelis
   =========================================================== */

/* --- HERO: kompaktiškesnis, mažiau tuščios vietos --- */
.hero-slide { height: 380px !important; }
.hero-content { padding-top: 38px !important; max-width: 560px !important; }
.hero-title { font-size: clamp(26px, 2.6vw, 38px) !important; margin-bottom: 10px !important; }
.hero-desc { -webkit-line-clamp: 2 !important; display: -webkit-box !important; -webkit-box-orient: vertical !important; overflow: hidden !important; }
.carou-sect { padding-top: 14px !important; padding-bottom: 12px !important; }

/* --- POPULIARIAUSI: didelis "Top 10" stiliaus numeris, be dėžutės --- */
.popular-item::after {
  top: auto !important; right: auto !important; left: 10px !important; bottom: 6px !important;
  width: auto !important; height: auto !important; line-height: 1 !important;
  background: none !important; box-shadow: none !important; border-radius: 0 !important;
  font-size: 36px !important; font-weight: 800 !important;
  color: rgba(255,255,255,0.94);
  text-shadow: 0 3px 12px rgba(0,0,0,0.85), 0 0 3px rgba(0,0,0,0.9) !important;
}
.popular-item:nth-child(-n+3)::after {
  background: var(--accent-gradient) !important;
  -webkit-background-clip: text !important; background-clip: text !important;
  -webkit-text-fill-color: transparent !important; color: transparent !important;
  text-shadow: none !important; filter: drop-shadow(0 2px 8px rgba(232,68,58,0.5));
}
.popular-item-title {
  padding: 10px 12px 10px 58px !important; font-size: 12.5px !important;
}
.popular-item-img::before {
  background: linear-gradient(180deg, transparent 20%, rgba(4,7,11,0.96) 100%) !important;
  height: 80% !important;
}

/* --- KORTELĖS: 5 stulpeliai, bet skaitomo dydžio (ne 4 per dideli, ne 10px per maži) --- */
@media screen and (min-width: 761px) {
  .th-item { width: 20% !important; padding: 0 8px !important; margin-bottom: 20px !important; }
  .th-desc { min-height: 54px !important; padding: 12px 13px !important; }
  .th-title { font-size: 12.5px !important; }
  .th-cat { font-size: 10.5px !important; margin-top: 5px !important; }
  .th-qual { top: 11px !important; left: 11px !important; padding: 4px 10px !important; font-size: 10px !important; }
  .th-new { top: 11px !important; right: 11px !important; padding: 4px 10px !important; font-size: 9px !important; }
}
@media screen and (min-width: 1400px) {
  .th-item { width: 20% !important; }
  .th-title { font-size: 13px !important; }
}

/* ===========================================================
   V9 — švelnesnis gradientas, 2 eilučių pavadinimai,
   suderintas sidebar ranking, vienodas "žiūrėti visus" mygtukas
   =========================================================== */

/* --- Švelnesnis, ilgesnis gradientas po "Populiariausi" nuotraukomis --- */
.popular-item-img::before {
  background: linear-gradient(180deg, transparent 0%, rgba(4,7,11,0.35) 45%, rgba(4,7,11,0.92) 100%) !important;
  height: 68% !important;
}

/* --- Kortelių pavadinimai: 2 eilutės vietoj nuobodaus "..." nukirpimo --- */
.th-title {
  white-space: normal !important; overflow: visible !important; text-overflow: clip !important;
  display: -webkit-box !important; -webkit-box-orient: vertical !important; -webkit-line-clamp: 2 !important;
  overflow: hidden !important; line-height: 1.32 !important; min-height: 2.64em !important;
}
.popular-item-title { white-space: normal !important; }

/* --- Sidebar "Šiandien žiūrimiausi": tas pats "Top" stiliaus skaičius kaip Populiariausi juostoje --- */
.side-top-rank {
  background: none !important; width: auto !important; height: auto !important;
  font-size: 22px !important; font-weight: 800 !important; line-height: 1 !important;
  color: rgba(255,255,255,0.85) !important; text-align: left !important;
}
.side-top-item:nth-child(-n+3) .side-top-rank {
  background: var(--accent-gradient) !important;
  -webkit-background-clip: text !important; background-clip: text !important;
  -webkit-text-fill-color: transparent !important; color: transparent !important;
}

/* --- "Žiūrėti visus" mygtukas suderintas su likusiais mygtukais --- */
.sect-link {
  height: 34px !important; line-height: 32px !important; padding: 0 16px !important;
  border-radius: var(--radius-md) !important; font-weight: 700 !important;
}
.sect-link:hover {
  background: var(--accent-gradient) !important; color: #fff !important; border-color: transparent !important;
}

/* ===========================================================
   V10 — hero fono talpinimas, ikonos prie LT/sezono,
   subalansuota serija/nauja ženkliukų hierarchija
   =========================================================== */

/* --- HERO: aukštesnė juosta ir fokusas į viršų, kad nenupjautų galvų --- */
.hero-slide { height: 440px !important; }
.hero-bg {
  background-position: center 18% !important;
  transform: scale(1) !important;
}
.hero-content { padding-top: 0 !important; justify-content: center !important; }

/* --- LT / sezono ikonos: tvarkingos, mažos, vienos spalvos --- */
.card-lang { display: inline-flex !important; align-items: center; gap: 5px; }
.card-lang .fal { font-size: 11px; color: var(--accent-warm); }
.dot-sep { display: inline-flex !important; align-items: center; opacity: 0.55; }
.dot-sep .fal { font-size: 10px; }
.th-cat { gap: 6px !important; }

/* --- SERIJA ženkliukas: kompaktiškesnis, jis yra svarbiausia info --- */
.th-qual {
  padding: 3px 9px !important; font-size: 9px !important;
  letter-spacing: 0.03em !important;
}

/* --- NAUJA ženkliukas: subtilesnis, kad nesivaržytų su serijos numeriu --- */
.th-new {
  background: rgba(6,8,12,0.68) !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  color: #f2f5f8 !important;
  box-shadow: none !important;
  padding: 3px 8px 3px 7px !important; font-size: 8px !important;
  display: inline-flex !important; align-items: center; gap: 4px;
}
.th-new::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent-warm); flex-shrink: 0;
  box-shadow: 0 0 5px rgba(242,120,75,0.8);
}

/* ===========================================================
   V11 — hero natūraliai pereina į "Populiariausi" juostą
   (be aiškios ribos, be atskiro "plaukiojančio" rėmelio)
   =========================================================== */

.hero-sect { border-bottom: 0 !important; }
.hero-sect::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 110px;
  z-index: 6; pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(5,9,13,0.55) 55%, rgba(6,10,15,0.98) 100%);
}

.carou-sect {
  margin: 0 !important; border: 0 !important; border-radius: 0 !important;
  padding: 22px 42px 20px !important;
  background: linear-gradient(180deg, rgba(6,10,15,0.98) 0%, rgba(7,12,18,1) 100%) !important;
}

@media screen and (max-width: 900px) {
  .carou-sect { padding-left: 20px !important; padding-right: 20px !important; }
}

/* ===========================================================
   V12 — pagrindinio turinio antraštė gauna tą patį "panelės"
   karkasą kaip šoninės juostos blokai (side-box), kad abi
   pusės atrodytų vienos vizualinės sistemos dalimi
   =========================================================== */
.sect-header {
  background: rgba(255,255,255,0.025) !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: var(--radius-lg) !important;
  padding: 14px 18px !important;
  margin-bottom: 20px !important;
}
.sect-title { font-size: 12.5px !important; }
.sorter { background: rgba(255,255,255,0.04) !important; }

/* ===========================================================
   V13 — antraštės juostos ("Turkiški serialai online" ir
   "Kategorijos") priverstinai to paties aukščio, kad lygiuotų
   =========================================================== */
.sect-header, .side-bt {
  height: 58px !important;
  min-height: 58px !important;
  padding: 0 18px !important;
  display: flex !important;
  align-items: center !important;
  box-sizing: border-box !important;
}

/* ===========================================================
   V14 — griežtesnis lygiavimas: apkarpom aukštį, kad joks
   vidinis elementas (select/rūšiavimas, h1) negalėtų jo ištempti
   =========================================================== */
.sect-header, .side-bt {
  height: 56px !important;
  min-height: 56px !important;
  max-height: 56px !important;
  overflow: hidden !important;
  line-height: 1 !important;
}
.sect-header *, .side-bt * { margin: 0 !important; }
.sect-title, .sect-title .fal, .side-bt .fal { line-height: 1 !important; }
.sorter { height: 30px !important; line-height: 28px !important; }

/* ===========================================================
   V15 — pataisom V14 regresiją: grąžinam ikonų centravimą
   ir tarpą tarp "Rūšiuoti" / "Naujienos datą"
   =========================================================== */
.sect-header *, .side-bt * { margin: unset !important; }
.carou-title [class*=fa-], .sect-title [class*=fa-], .side-bt [class*=fa-], .speedbar [class*=fa-] {
  margin-right: 8px !important; line-height: 28px !important; width: 28px !important; height: 28px !important;
}
.sorter::before { margin-right: 4px !important; }
.sorter > span { margin-left: 4px !important; }
.side-bt .side-all { margin-left: auto !important; }
.sect-title { gap: 10px !important; }

/* ===========================================================
   V16 — TIKROJI PRIEŽASTIS: .sect { margin-top: 28px } stūmė
   pagrindinį turinį žemyn, o šoninė juosta tokio margin neturi.
   Panaikinam jį pirmajam .sect main viduje.
   =========================================================== */
.main > .sect:first-child { margin-top: 0 !important; }

/* ===========================================================
   V17 — švelnesnis header virš hero: daugiau nuotraukos matosi
   pro apačią, mažiau sunkaus tamsaus fono
   =========================================================== */
.header {
  background: linear-gradient(180deg, rgba(6,10,16,0.55) 0%, rgba(6,10,16,0.32) 100%) !important;
  backdrop-filter: blur(14px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(150%) !important;
  border-bottom: 1px solid rgba(255,255,255,0.05) !important;
  box-shadow: none !important;
}

/* ===========================================================
   V18 — priverčiam naršyklę iš karto (be scroll'inimo) teisingai
   atvaizduoti backdrop-filter ant "position: sticky" header'io.
   Be šito Chrome kartais rodo tik tamsų foną, kol nepajudini puslapio.
   =========================================================== */
.header {
  will-change: backdrop-filter, transform !important;
  transform: translateZ(0) !important;
  -webkit-transform: translateZ(0) !important;
}

/* ===========================================================
   V19 — ATŠAUKIAM V18: "transform" ant "position: sticky"
   elemento sugadina jo lipnumą (naršyklės elgsena). Naudojam
   saugesnį būdą priversti GPU sluoksnį, kuris nepažeidžia sticky.
   =========================================================== */
.header {
  transform: none !important;
  -webkit-transform: none !important;
  will-change: backdrop-filter !important;
  isolation: isolate !important;
}

/* ===========================================================
   V20 — grąžinam senesnę header pozicionavimo elgseną (juda/
   dingsta scrollinant, kaip buvo anksčiau), o kadangi jis
   nebe "sticky", GALIME saugiai naudoti transform triuką, kad
   backdrop-filter blur veiktų iškart nuo pat puslapio įkrovimo.
   =========================================================== */
.header {
  position: absolute !important;
  top: 0 !important; left: 0 !important; right: 0 !important;
  transform: translateZ(0) !important;
  -webkit-transform: translateZ(0) !important;
  will-change: backdrop-filter, transform !important;
}

/* ===========================================================
   V21 — be atskiros header juostos: tik švelnus blur, o
   logotipas/meniu tekstas skaitomas per teksto šešėlį
   =========================================================== */
.header {
  background: transparent !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}
.logo, .header-nav a {
  text-shadow: 0 2px 12px rgba(0,0,0,0.9), 0 1px 3px rgba(0,0,0,0.8) !important;
}
.logo-icon { filter: drop-shadow(0 2px 10px rgba(0,0,0,0.7)) !important; }

/* ===========================================================
   V22 — TAISOM: permatomas/plaukiojantis header'is turi būti
   TIK pagrindiniame puslapyje (kur yra hero po juo). Visuose
   kituose (kategorijos, naujausi ir t.t.) — įprastas, solidus,
   prilipęs prie viršaus, kad nedengtų turinio be foną.
   =========================================================== */

/* --- Numatytasis (visų puslapių) header'is: solidus, sticky, saugus --- */
.header {
  position: sticky !important;
  top: 0 !important; left: auto !important; right: auto !important;
  z-index: 200 !important;
  background: rgba(8, 12, 18, 0.92) !important;
  backdrop-filter: blur(18px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(150%) !important;
  border-bottom: 1px solid rgba(255,255,255,0.07) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25) !important;
  transform: none !important; -webkit-transform: none !important;
}
.logo, .header-nav a { text-shadow: none !important; }

/* --- TIK pagrindiniame puslapyje: permatomas, plūduriuoja ant hero --- */
.has-hero .header {
  position: absolute !important;
  top: 0 !important; left: 0 !important; right: 0 !important;
  background: transparent !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}
.has-hero .logo, .has-hero .header-nav a {
  text-shadow: 0 2px 12px rgba(0,0,0,0.9), 0 1px 3px rgba(0,0,0,0.8) !important;
}

/* ===========================================================
   V23 — kokybiškesnis hero header: vienodas švelnus patamsinimas
   POD blur, kad neatrodytų dėmėtai/netolygiai priklausomai nuo
   to, kas vaizde po juo (šviesu/tamsu)
   =========================================================== */
.has-hero .header {
  background: linear-gradient(180deg, rgba(4,7,11,0.55) 0%, rgba(4,7,11,0.20) 100%) !important;
  backdrop-filter: blur(10px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(10px) saturate(140%) !important;
}

/* ===========================================================
   V24 — pašalinam "saturate" (jis ryškino po juo esančias
   spalvas ir sukūrė keistą žalsvą/mėlyną juostą). Sustiprinam
   pastovų tamsų sluoksnį, kad dominuotų prieš bet kokį foną.
   =========================================================== */
.has-hero .header {
  background: linear-gradient(180deg, rgba(4,7,11,0.72) 0%, rgba(4,7,11,0.38) 100%) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}

/* ===========================================================
   V25 — GALUTINIS SPRENDIMAS: vienas patikimas, solidus header'is
   VISUR (tiek pagrindiniame, tiek kituose puslapiuose). Jokių
   permatomumo/blur eksperimentų virš hero — stabilu ir vienodai
   gerai atrodo visada.
   =========================================================== */
.has-hero .header {
  position: sticky !important;
  background: rgba(8, 12, 18, 0.92) !important;
  backdrop-filter: blur(18px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(150%) !important;
  border-bottom: 1px solid rgba(255,255,255,0.07) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25) !important;
}
.has-hero .logo, .has-hero .header-nav a { text-shadow: none !important; }

/* ===========================================================
   V26 — FULLSTORY (serialo/serijos) puslapio atnaujinimas:
   backdrop hero po info bloku + veiksmų mygtukai
   =========================================================== */
.fs-hero {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  margin-bottom: 20px; border: 1px solid var(--border-subtle);
}
.fs-hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center 20%;
  filter: saturate(0.9);
}
.fs-hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6,9,14,0.97) 0%, rgba(6,9,14,0.88) 40%, rgba(6,9,14,0.55) 100%),
    linear-gradient(0deg, rgba(6,9,14,0.9) 0%, transparent 45%);
}
.fs-hero .fcols {
  position: relative; z-index: 2;
  background: transparent !important; border: 0 !important; box-shadow: none !important;
  padding: 32px !important;
}
.fs-hero .fcols::before { display: none; }
.fs-hero .fimg { box-shadow: 0 12px 40px rgba(0,0,0,0.55); }

/* --- Veiksmų mygtukai (Žiūrėti dabar / Pažymėti) --- */
.fs-actions { gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.fs-btn-play { padding: 0 26px; }
.fs-btn-fav {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 20px;
  border-radius: var(--radius-md); background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-subtle); font-weight: 700; font-size: 13px;
  cursor: pointer; transition: all 0.25s ease;
}
.fs-btn-fav:hover { background: rgba(255,255,255,0.1); border-color: var(--border-hover); }
.fs-btn-fav .fal, .fs-btn-fav .fas { color: var(--accent-warm); }

/* --- Papildomo turinio ("Apie serialą" tekstas) kortelė, suderinta su likusiu dizainu --- */
.ftext {
  background: rgba(255,255,255,0.02); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); padding: 20px 22px;
}

@media screen and (max-width: 760px) {
  .fs-hero .fcols { padding: 18px !important; }
  .fs-hero-bg { background-position: center 15%; }
  .fs-actions { width: 100%; }
  .fs-btn-play, .fs-btn-fav { flex: 1 1 auto; justify-content: center; }
}

/* ===========================================================
   V27 — kokybiškesnis fullstory hero: matoma backdrop nuotrauka,
   kompaktiškos "chip" žymos vietoj ilgo sąrašo, švaresnis reitingas
   =========================================================== */

/* --- Švelnesnis overlay, kad backdrop nuotrauka realiai matytųsi --- */
.fs-hero-overlay {
  background:
    linear-gradient(90deg, rgba(6,9,14,0.92) 0%, rgba(6,9,14,0.68) 45%, rgba(6,9,14,0.30) 85%, rgba(6,9,14,0.15) 100%),
    linear-gradient(0deg, rgba(6,9,14,0.75) 0%, transparent 55%) !important;
}
.fs-hero { min-height: 400px; }
.fs-hero .fright { justify-content: center !important; }

/* --- Kompaktiškos "chip" žymos vietoj ilgo vertikalaus sąrašo --- */
.fs-chip-list {
  display: flex !important; flex-wrap: wrap; gap: 8px !important;
  margin: 14px 0 0 !important;
}
.fs-chip-list li {
  position: static !important; padding: 7px 14px !important; margin: 0 !important;
  border: 1px solid var(--border-light) !important; border-radius: 999px !important;
  background: rgba(255,255,255,0.05); font-size: 12px !important; line-height: 1.3 !important;
  color: var(--text-primary) !important; white-space: nowrap;
}
.fs-chip-list li > span:first-child {
  position: static !important; display: inline !important; color: var(--text-muted) !important;
  font-size: 11px !important; text-transform: none !important; font-weight: 500 !important;
  margin-right: 4px !important;
}
.fs-actors {
  margin-top: 14px; font-size: 13px; color: var(--text-secondary); line-height: 1.6;
}
.fs-actors > span { color: var(--text-muted); font-weight: 600; margin-right: 6px; }

/* --- Reitingas: be atskiro rėmelio, natūraliai integruotas --- */
.fs-rating-row {
  margin-top: 16px !important; padding: 0 !important; border: 0 !important;
  background: transparent !important;
}

/* ===========================================================
   V28 — pilno pločio ("banner" stiliaus) fullstory hero:
   be rėmelio/dėžutės jausmo, tik švelnus šešėlis ir žemėjantis
   perėjimas į turinį apačioje. Header'is lieka solidus (saugu).
   =========================================================== */
.fs-hero {
  border-radius: var(--radius-lg) !important;
  border: 0 !important;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  min-height: 420px;
}
.fs-hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 60px;
  background: linear-gradient(180deg, transparent, rgba(9,17,25,0.5));
  pointer-events: none; z-index: 3;
}
.fs-hero .fcols { padding: 36px !important; }
.fs-title, .short-title {
  font-size: 26px !important; letter-spacing: -0.02em !important;
  text-shadow: 0 2px 14px rgba(0,0,0,0.5);
}
.fs-hero .short-title { font-size: 26px !important; }
@media screen and (max-width: 760px) {
  .fs-hero { min-height: 320px; }
  .fs-hero .short-title, .fs-title { font-size: 20px !important; }
}

/* ===========================================================
   V29 — TIKRAS pilno pločio ("full-bleed") fullstory hero.
   Naudojame "100vw ištrūkimo" CSS techniką, kad blokas nueitų
   per visą naršyklės plotį, nepaisant to, kad jis yra šalia
   šoninės juostos. Header'io neliečiame — jis lieka toks, koks yra.
   =========================================================== */
body { overflow-x: hidden; }
.fs-hero {
  width: 100vw !important;
  position: relative !important;
  left: 50% !important; right: 50% !important;
  margin-left: -50vw !important; margin-right: -50vw !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.fs-hero .fcols {
  max-width: 1360px !important; margin: 0 auto !important;
  padding: 40px 42px !important;
}
@media screen and (max-width: 900px) {
  .fs-hero .fcols { padding: 24px 20px !important; }
}

/* ===========================================================
   V30 — ATŠAUKIAM V29: "100vw" triukas susikirto su šonine
   juosta ir sugadino išdėstymą. Grąžinam saugų, konteineryje
   telpantį pilno stulpelio pločio variantą (kaip V28).
   =========================================================== */
.fs-hero {
  width: auto !important;
  position: relative !important;
  left: auto !important; right: auto !important;
  margin-left: 0 !important; margin-right: 0 !important;
  border-radius: var(--radius-lg) !important;
}
.fs-hero .fcols {
  max-width: none !important; margin: 0 !important;
  padding: 36px !important;
}

/* ===========================================================
   V31 — .fs-hero dabar realiai iškeltas (per JS) virš .cols,
   tad jis natūraliai užima visą .wrap-main plotį — kaip ir
   pagrindinio puslapio .hero-sect. Jokių vw/negative margin
   triukų nebereikia.
   =========================================================== */
.fs-hero {
  border-radius: 0 !important;
  border: 0 !important; border-bottom: 1px solid var(--border-subtle) !important;
  box-shadow: none !important;
}
.fs-hero .fcols {
  max-width: 1360px !important; margin: 0 auto !important;
  padding: 40px 42px !important; background: transparent !important;
}
@media screen and (max-width: 1220px) {
  .fs-hero .fcols { padding: 32px 24px !important; }
}
@media screen and (max-width: 760px) {
  .fs-hero .fcols { padding: 20px 16px !important; }
}

/* ===========================================================
   V32 — naršymo kelias (breadcrumb) perkeltas per JS į patį
   viršų, virš hero, modernesnis/plonesnis stilius. Taip pat
   ryškesnės, geriau matomos "chip" žymos.
   =========================================================== */
.speedbar-top {
  margin: 0 !important; border: 0 !important; border-radius: 0 !important;
  background: rgba(255,255,255,0.02) !important;
  border-bottom: 1px solid var(--border-subtle) !important;
  padding: 10px 34px !important; font-size: 11.5px !important;
  color: var(--text-muted) !important;
}
.speedbar-top .fal { margin-right: 6px !important; color: var(--text-muted) !important; background: none !important; width: auto !important; height: auto !important; }
.speedbar-top a { color: var(--text-secondary); }
.speedbar-top a:hover { color: var(--accent); }
@media screen and (max-width: 760px) {
  .speedbar-top { padding: 10px 16px !important; }
}

/* --- Ryškesnės, geriau matomos "chip" žymos (žanras, metai ir t.t.) --- */
.fs-chip-list li {
  background: rgba(6,9,14,0.75) !important;
  border: 1px solid rgba(255,255,255,0.16) !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.35);
}
.fs-chip-list li > span:first-child {
  color: rgba(255,255,255,0.55) !important;
}
.fs-chip-list li, .fs-chip-list li a {
  color: #fff !important;
}
.fs-chip-list li a { font-weight: 700 !important; }
.fs-actors {
  background: rgba(6,9,14,0.55); border-radius: var(--radius-sm);
  padding: 8px 12px; display: inline-block;
}

/* ===========================================================
   V33 — 4 pataisymai: 1) speedbar be rėmelio, 2) backdrop eina
   po header'iu TIK serialo puslapyje (per fs-hero-active klasę,
   nepaliečia pagrindinio puslapio ar kitų), 3) žanro nuorodos
   vėl oranžinės, 4) aktoriai nebesitęsia per visą plotį.
   =========================================================== */

/* 1) Speedbar — jokio rėmelio, tik ant fono */
.speedbar-top { border-bottom: 0 !important; background: transparent !important; }

/* 2) Backdrop po header'iu — TIK serialo (fs-hero) puslapyje */
.fs-hero-active .header {
  position: absolute !important;
  top: 0 !important; left: 0 !important; right: 0 !important;
  background: linear-gradient(180deg, rgba(4,7,11,0.75) 0%, rgba(4,7,11,0.30) 100%) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border-bottom: 0 !important; box-shadow: none !important;
}
.fs-hero-active .logo, .fs-hero-active .header-nav a {
  text-shadow: 0 2px 12px rgba(0,0,0,0.9), 0 1px 3px rgba(0,0,0,0.8) !important;
}
.fs-hero-active .speedbar-top {
  position: relative; z-index: 5; margin-top: 64px !important;
  background: linear-gradient(180deg, rgba(4,7,11,0.4), transparent) !important;
}
@media screen and (max-width: 590px) {
  .fs-hero-active .speedbar-top { margin-top: 58px !important; }
}

/* 3) Žanro ir kitos nuorodos žymose — vėl oranžinės (ne baltos) */
.fs-chip-list li a { color: var(--accent-warm) !important; font-weight: 700 !important; }

/* 4) Aktorių eilutė — nebesitęsia per visą plotį */
.fs-actors { align-self: flex-start !important; width: auto !important; max-width: 100%; }

/* ===========================================================
   V34 — TAISOM V33 BUG: speedbar dabar yra hero VIDUJE (jo
   pirmas elementas), o ne prieš jį — todėl hero nuotrauka vėl
   prasideda nuo pat viršaus (y=0), be tuščio juodo tarpo.
   =========================================================== */
.fs-hero-active .speedbar-top {
  position: relative !important; z-index: 5 !important;
  margin: 0 !important; padding: 84px 42px 0 !important;
  background: transparent !important;
}
@media screen and (max-width: 1220px) {
  .fs-hero-active .speedbar-top { padding: 80px 24px 0 !important; }
}
@media screen and (max-width: 590px) {
  .fs-hero-active .speedbar-top { padding: 72px 16px 0 !important; font-size: 10.5px !important; }
}
/* fcols eina po speedbar viduje, todėl mažiname jo viršutinį tarpą */
.fs-hero-active .fs-hero .fcols { padding-top: 20px !important; }

/* ===========================================================
   V35 — švelnesnis, pereinamas header virš serialo puslapio
   hero (be kietos juostos, kuri temdė logotipą)
   =========================================================== */
.fs-hero-active .header {
  background: linear-gradient(180deg, rgba(4,7,11,0.58) 0%, rgba(4,7,11,0.12) 100%) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
}
