/* KinoVio v0.1.2 — compact catalog / inline header / pill search */

/* Safety: the old green loader must never flash even if cached markup survives. */
.preloader { display: none !important; }

/* Temporary KinoVio wordmark. Final 3D artwork can replace this without layout changes. */
.kv-brand {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  min-width: 165px;
}
.kv-brand-mark {
  display: inline-grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 12px;
  background: linear-gradient(145deg, #37f3a1 0%, #11a968 55%, #087d50 100%);
  color: #06120d;
  font-size: 24px;
  line-height: 1;
  font-weight: 900;
  font-style: italic;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.38), 0 7px 18px rgba(24,220,132,.22), 0 2px 0 #055737;
}
.kv-brand-text {
  color: #fff;
  font-size: 25px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.7px;
  text-shadow: 0 2px 0 rgba(0,0,0,.32), 0 0 16px rgba(29,214,128,.18);
}
.offcanvas .kv-brand-text,
.kv-brand--auth .kv-brand-text { color: var(--color-dark); }

/* Header is part of the page, FanFilm-style: it scrolls away and does not reappear mid-page. */
.kv-inline-header .navbar,
.kv-inline-header .navbar.fixed-top {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
  animation: none !important;
  background: var(--footer-bg2) !important;
  box-shadow: none !important;
}
.kv-inline-header .navbar.fixed-top .kv-brand-text,
.kv-inline-header .navbar.fixed-top .nav-item .nav-link,
.kv-inline-header .navbar.fixed-top .nav-right-link {
  color: #fff !important;
}

/* Inline rounded search field, directly after "Сериалы". */
.kv-nav-search {
  position: relative;
  width: clamp(230px, 20vw, 315px);
  height: 44px;
  flex: 0 1 315px;
  margin-left: 4px;
}
.kv-nav-search input[type="search"] {
  width: 100%;
  height: 100%;
  padding: 0 48px 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.20);
  outline: none;
  background: rgba(255,255,255,.075);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.kv-nav-search input[type="search"]::placeholder { color: rgba(255,255,255,.64); }
.kv-nav-search input[type="search"]:focus {
  border-color: rgba(69,207,107,.85);
  background: rgba(255,255,255,.105);
  box-shadow: 0 0 0 3px rgba(69,207,107,.10);
}
.kv-nav-search input[type="search"]::-webkit-search-cancel-button { display: none; }
.kv-nav-search button {
  position: absolute;
  top: 50%;
  right: 7px;
  width: 34px;
  height: 34px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(255,255,255,.86);
  font-size: 19px;
  transition: color .2s ease, background-color .2s ease;
}
.kv-nav-search button:hover {
  color: var(--theme-color);
  background: rgba(255,255,255,.07);
}

/* Remove the small green decorative strokes under section titles everywhere. */
.site-heading-inline .site-title::before,
.site-heading-inline .site-title::after {
  content: none !important;
  display: none !important;
}

/* Home: compact horizontal New Movies strip + catalog. Header now occupies normal flow. */
.home-2 .kv-new-movies .hero-single {
  padding-top: 42px;
  padding-bottom: 42px;
}
.home-2 .kv-new-movies .hero-single::before {
  background: linear-gradient(180deg, rgba(4,18,34,.78), rgba(4,18,34,.92));
}
.kv-new-movies .site-heading-inline { margin-bottom: 22px; }
.kv-catalog { position: relative; }
.kv-catalog-heading { margin-bottom: 24px; }
.kv-catalog-grid > .navigation,
.kv-catalog-grid > .pagi-nav { flex: 0 0 100%; width: 100%; }

/* Movie page: no giant backdrop header. Compact info card first, player right below. */
.kv-movie-page { padding-top: 34px !important; }
.kv-movie-card {
  margin-top: 0 !important;
  border-top: 0;
  border-radius: 20px;
  box-shadow: 0 14px 40px rgba(0,0,0,.14);
  overflow: hidden;
}
.kv-movie-card .movie-img img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}
.kv-movie-card .movie-name {
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.12;
  margin-bottom: 14px;
}
.kv-movie-card .movie-info > p,
.kv-movie-card .movie-info > .text { line-height: 1.65; }
.kv-player-section .movie-player {
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 16px 44px rgba(0,0,0,.18);
}
.kv-player-section + .movie-cast-wrap { margin-top: 38px; }

/* Compact footer — removes the long newsletter/partner-style tail. */
.kv-footer { margin-top: 0; }
.kv-footer .copyright { padding: 18px 0; }
.kv-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.kv-footer .copyright-text { margin: 0; }
.kv-footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.kv-footer-links a { color: var(--body-text-color); }
.kv-footer-links a:hover { color: var(--theme-color); }

/* Pagination: compact bar. JS keeps max five numeric buttons visible. */
.navigation {
  flex: 0 0 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 34px auto 4px !important;
}
.navigation .pages { display: flex; align-items: center; justify-content: center; gap: 8px; }
.navigation > a,
.navigation .pages > a,
.navigation .pages > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border-radius: 11px;
  background: var(--theme-bg2);
  border: 1px solid var(--border-info-color);
  color: var(--color-dark);
  font-weight: 700;
  text-decoration: none;
  transition: .2s ease;
}
.navigation .pages > span,
.navigation .pages > .current,
.navigation .pages > a:hover,
.navigation > a:hover {
  color: #07130e;
  background: var(--theme-color);
  border-color: var(--theme-color);
}
.navigation .kv-page-hidden { display: none !important; }

@media (max-width: 1399.98px) and (min-width: 1200px) {
  .kv-nav-search { width: 235px; flex-basis: 235px; }
  .navbar .nav-item .nav-link { margin-right: 7px; }
}

@media (max-width: 1199.98px) and (min-width: 992px) {
  .kv-nav-search { width: 200px; flex-basis: 200px; }
}

@media (max-width: 991.98px) {
  .kv-nav-search {
    width: 100%;
    max-width: none;
    flex-basis: auto;
    margin: 18px 0 8px;
  }
  .kv-nav-search input[type="search"] {
    border-color: var(--border-info-color);
    background: var(--theme-bg2);
    color: var(--color-dark);
  }
  .kv-nav-search input[type="search"]::placeholder { color: var(--body-text-color); }
  .kv-nav-search button { color: var(--theme-color); }
  .kv-movie-card { padding: 20px; }
  .kv-movie-card .movie-info { padding: 20px 0 0; }
  .kv-footer-row { align-items: flex-start; flex-direction: column; }
  .kv-brand-text { font-size: 22px; }
}

@media (max-width: 575.98px) {
  .kv-brand { min-width: auto; gap: 8px; }
  .kv-brand-mark { width: 34px; height: 34px; font-size: 21px; border-radius: 10px; }
  .kv-brand-text { font-size: 20px; }
  .home-2 .kv-new-movies .hero-single { padding-top: 28px; padding-bottom: 28px; }
  .kv-movie-page { padding-top: 18px !important; }
  .navigation > a,
  .navigation .pages > a,
  .navigation .pages > span { min-width: 36px; height: 36px; padding: 0 9px; }
}

/* ===== KinoVio v0.2 visual polish ===== */

/* Catalog cards: cleaner, more cinematic, no + / share / heart clutter. */
.kv-movie-item { height: 100%; }
.kv-card-poster {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #07182b;
  box-shadow: 0 12px 28px rgba(0,0,0,.16);
}
.kv-card-poster img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform .35s ease, filter .35s ease;
}
.kv-card-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.14) 0%, transparent 35%, transparent 66%, rgba(1,12,24,.55) 100%);
  opacity: .72;
  transition: opacity .25s ease;
}
.kv-card-hit { position: absolute; inset: 0; z-index: 2; }
.kv-card-badges {
  position: absolute;
  z-index: 5;
  top: 11px;
  left: 11px;
  right: 11px;
  display: flex;
  align-items: center;
  gap: 7px;
  pointer-events: none;
  flex-wrap: wrap;
}
.kv-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(3,15,29,.84);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.kv-card-imdb { margin-left: auto; color: #ffd76a; }
.kv-card-quality { background: rgba(25,173,101,.88); color: #fff; border-color: rgba(255,255,255,.12); }
.kv-card-play {
  z-index: 6 !important;
  width: 58px !important;
  height: 58px !important;
  opacity: 0;
  transform: translate(-50%,-50%) scale(.86) !important;
  transition: opacity .22s ease, transform .22s ease !important;
}
.kv-card-poster:hover img { transform: scale(1.045); filter: brightness(.82); }
.kv-card-poster:hover::after { opacity: 1; }
.kv-card-poster:hover .kv-card-play { opacity: 1; transform: translate(-50%,-50%) scale(1) !important; }
.kv-card-content { padding-top: 13px; }
.kv-card-content .movie-title {
  margin-bottom: 8px;
  font-size: 17px;
  line-height: 1.28;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.kv-card-meta { min-width: 0; gap: 9px; }
.kv-card-meta .movie-time { white-space: nowrap; }
.kv-card-meta .movie-genre {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.kv-card-meta .movie-genre a:not(:first-child) { display: none; }

/* Movie detail: compact card, player stays untouched directly below it. */
.kv-movie-card-v2 {
  padding: 24px;
  border: 1px solid rgba(128,164,195,.14);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(14,39,63,.86), rgba(8,28,48,.82));
  box-shadow: 0 18px 48px rgba(0,0,0,.16);
}
.kv-detail-poster { position: relative; height: 100%; min-height: 300px; overflow: hidden; border-radius: 17px; }
.kv-detail-poster img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; display: block; }
.kv-detail-poster-badges { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 7px; flex-wrap: wrap; }
.kv-detail-poster-badges span {
  padding: 6px 10px; border-radius: 999px; background: rgba(2,14,27,.86); color: #fff; font-size: 12px; font-weight: 750;
  border: 1px solid rgba(255,255,255,.15); backdrop-filter: blur(7px);
}
.kv-detail-info { height: 100%; display: flex; flex-direction: column; padding: 4px 2px; }
.kv-detail-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.kv-detail-title { margin: 0; color: #fff; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.08; letter-spacing: -.8px; }
.kv-detail-original { margin-top: 8px; color: rgba(223,234,244,.62); font-size: 15px; }
.kv-detail-edit { flex: 0 0 auto; }
.kv-detail-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 23px; }
.kv-detail-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 999px;
  background: rgba(255,255,255,.075); border: 1px solid rgba(255,255,255,.11); color: rgba(246,249,252,.9); font-size: 13px; font-weight: 700;
}
.kv-detail-chip-imdb { color: #ffd76a; }
.kv-detail-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 26px; }
.kv-detail-row { display: grid; grid-template-columns: 110px minmax(0,1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.075); }
.kv-detail-row strong { color: rgba(224,235,244,.60); font-weight: 600; }
.kv-detail-row span, .kv-detail-row a { color: rgba(255,255,255,.92); }
.kv-detail-row-wide { grid-column: 1 / -1; }
.kv-detail-player-hint { margin-top: auto; padding-top: 18px; color: rgba(208,224,237,.55); font-size: 13px; }
.kv-detail-player-hint i { color: var(--theme-color); margin-right: 5px; }
.kv-player-section { margin-top: 20px !important; }

/* KinoVio-branded error / empty page, without the old giant DLE breadcrumb background. */
.kv-error-page { min-height: 58vh; display: flex; align-items: center; }
.kv-error-card {
  max-width: 720px;
  padding: clamp(28px,5vw,54px);
  border-radius: 24px;
  border: 1px solid rgba(128,164,195,.15);
  background: linear-gradient(145deg, rgba(14,39,63,.86), rgba(7,27,46,.9));
  box-shadow: 0 20px 56px rgba(0,0,0,.18);
  text-align: center;
}
.kv-error-code { color: rgba(255,255,255,.08); font-size: clamp(72px,13vw,150px); font-weight: 900; line-height: .8; letter-spacing: -7px; margin-bottom: -18px; }
.kv-error-icon { width: 66px; height: 66px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 19px; background: rgba(50,210,124,.12); color: var(--theme-color); font-size: 29px; }
.kv-error-kicker { margin-bottom: 7px; color: var(--theme-color); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.4px; }
.kv-error-card h1 { margin-bottom: 13px; color: #fff; font-size: clamp(27px,4vw,42px); }
.kv-error-card p { max-width: 580px; margin: 0 auto 25px; color: rgba(214,228,239,.68); font-size: 16px; }
.kv-error-actions { display: flex; justify-content: center; align-items: center; gap: 18px; flex-wrap: wrap; }
.kv-error-link { color: rgba(255,255,255,.82); font-weight: 700; }
.kv-error-link:hover { color: var(--theme-color); }

@media (max-width: 767.98px) {
  .kv-card-poster { border-radius: 14px; }
  .kv-card-badge { min-height: 24px; padding: 4px 7px; font-size: 11px; }
  .kv-card-play { opacity: 1; width: 48px !important; height: 48px !important; }
  .kv-movie-card-v2 { padding: 16px; border-radius: 18px; }
  .kv-detail-poster { min-height: auto; max-height: none; }
  .kv-detail-poster img { min-height: 0; aspect-ratio: 2 / 3; }
  .kv-detail-grid { grid-template-columns: 1fr; }
  .kv-detail-row-wide { grid-column: auto; }
  .kv-detail-title { font-size: 30px; }
  .kv-detail-player-hint { display: none; }
}


/* ===== KinoVio v0.2.1 layout fixes ===== */

/* Keep the KinoVio brand strictly inside the header flow on every page. */
.kv-inline-header,
.kv-inline-header .main-navigation {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
}
.kv-inline-header .navbar .container {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
}
.kv-inline-header .navbar-brand.kv-brand {
  position: static !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  float: none !important;
  transform: none !important;
  margin: 0 !important;
  flex: 0 0 auto;
  align-self: center;
}

/* Movie info: one clean vertical stack — Country directly under Genre. */
.kv-detail-grid {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 0 !important;
}
.kv-detail-row,
.kv-detail-row-wide {
  grid-column: 1 / -1 !important;
  width: 100%;
}

/* The player already sits directly below the card; no explanatory helper text needed. */
.kv-detail-player-hint { display: none !important; }

/* ===== KinoVio v0.2.2 — catalog hover play centering fix ===== */
/* The original Stremio .movie-play is a full-poster overlay positioned at 0/0.
   Our compact play button inherits those coordinates, so explicitly center it. */
.kv-card-poster .kv-card-play {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  right: auto !important;
  bottom: auto !important;
  width: 62px !important;
  height: 62px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -50%) scale(.86) !important;
  z-index: 7 !important;
}

/* We already dim the poster with .kv-card-poster::after, so do not inherit
   Stremio's full-overlay pseudo element on the small play button. */
.kv-card-poster .kv-card-play::before {
  display: none !important;
  content: none !important;
}

.kv-card-poster .kv-card-play i {
  width: 62px !important;
  height: 62px !important;
  line-height: 62px !important;
  display: block !important;
  text-align: center !important;
  padding-left: 4px !important;
  border-radius: 50% !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  font-size: 32px !important;
}

.kv-card-poster:hover .kv-card-play,
.kv-movie-item:hover .kv-card-play {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translate(-50%, -50%) scale(1) !important;
}

/* Touch devices: keep it unobtrusive; reveal on interaction, not permanently. */
@media (hover: none) {
  .kv-card-poster .kv-card-play { opacity: 0 !important; visibility: hidden !important; }
}

/* ===== KinoVio v0.3.0 — unified emerald accent + movie page polish ===== */
:root {
  --theme-color: #11A968;
  --kv-accent: #11A968;
  --kv-accent-hover: #0D915A;
  --kv-accent-soft: rgba(17,169,104,.16);
  --kv-gold: #FFC84A;
  --kv-danger: #EF565D;
}

/* One KinoVio green everywhere, including old Stremio components that use --theme-color. */
.kv-brand-mark {
  background: linear-gradient(145deg, #35D98D 0%, #11A968 56%, #0B7E50 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.36), 0 7px 18px rgba(17,169,104,.22), 0 2px 0 #075E3C !important;
}
.kv-brand-text { text-shadow: 0 2px 0 rgba(0,0,0,.32), 0 0 16px rgba(17,169,104,.16) !important; }
.kv-nav-search input[type="search"]:focus {
  border-color: rgba(17,169,104,.88) !important;
  box-shadow: 0 0 0 3px rgba(17,169,104,.12) !important;
}

/* Catalog: larger year/rating, filled star, readable in both light and dark themes. */
.kv-card-badges { top: 12px; left: 12px; right: 12px; gap: 8px; }
.kv-card-badge {
  min-height: 33px;
  padding: 6px 11px;
  border-radius: 10px;
  background: rgba(3,15,29,.94);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff !important;
  font-size: 13.5px;
  font-weight: 800;
  box-shadow: 0 5px 16px rgba(0,0,0,.20);
}
.kv-card-year {
  background: #0B2237 !important;
  color: #fff !important;
  border-color: rgba(255,255,255,.18) !important;
}
.kv-card-imdb {
  margin-left: auto;
  background: rgba(7,24,38,.95) !important;
  color: #fff !important;
}
.kv-card-imdb i {
  color: var(--kv-gold) !important;
  font-size: 15px;
  text-shadow: 0 0 10px rgba(255,200,74,.22);
}
.kv-card-quality {
  background: var(--theme-color) !important;
  color: #fff !important;
  border-color: rgba(255,255,255,.14) !important;
}
.kv-card-content .movie-title { font-size: 18px; font-weight: 750; margin-bottom: 9px; }
.kv-card-meta { font-size: 14px; line-height: 1.35; }
.kv-card-meta .movie-genre a { color: var(--theme-color) !important; font-weight: 650; }

/* Detail card typography and rating. */
.kv-movie-card-v2 { padding: 26px; }
.kv-detail-title { font-size: clamp(33px, 3.55vw, 50px); }
.kv-detail-original { font-size: 16px; }
.kv-detail-ratings { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 19px; }
.kv-score-card {
  min-width: 112px;
  padding: 10px 14px 9px;
  border-radius: 14px;
  background: rgba(3,19,33,.70);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}
.kv-score-value { display: flex; align-items: center; gap: 8px; line-height: 1; }
.kv-score-value i { color: var(--kv-gold); font-size: 19px; }
.kv-score-value strong { color: #fff; font-size: 23px; letter-spacing: -.3px; }
.kv-score-card > span { display: block; margin-top: 6px; color: rgba(218,231,241,.60); font-size: 12px; font-weight: 700; letter-spacing: .25px; }
.kv-detail-chips { margin: 15px 0 20px; gap: 9px; }
.kv-detail-chip {
  padding: 8px 12px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 750;
  color: rgba(255,255,255,.94);
}
.kv-detail-chip i { color: var(--theme-color); }
.kv-detail-year { background: rgba(17,169,104,.12); border-color: rgba(17,169,104,.28); }
.kv-detail-quality { background: var(--theme-color); border-color: var(--theme-color); color: #fff; }
.kv-detail-row { grid-template-columns: 118px minmax(0,1fr); padding: 11px 0; font-size: 15px; }
.kv-detail-row strong { font-size: 14px; }

/* Native DLE reactions: use rating type 4 for separate likes/dislikes counts. */
.kv-reactions {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 18px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(9,31,51,.92), rgba(5,24,41,.92));
  border: 1px solid rgba(128,164,195,.14);
  box-shadow: 0 12px 34px rgba(0,0,0,.12);
}
.kv-reactions-title { min-width: 0; }
.kv-reactions-title strong { display: block; color: var(--color-dark); font-size: 16px; }
.theme-mode-variables .kv-reactions-title strong { color: #fff; }
.kv-reactions-title span { display: block; margin-top: 3px; color: var(--body-text-color); font-size: 12.5px; }
.kv-reactions-actions { display: flex; align-items: center; justify-content: flex-end; gap: 9px; flex-wrap: wrap; }
.kv-reactions-actions > a,
.kv-reactions-actions .ratingplus,
.kv-reactions-actions .ratingminus { text-decoration: none !important; }
.kv-reaction-btn {
  min-width: 82px;
  height: 48px;
  padding: 0 16px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 12px;
  color: #fff !important;
  font-size: 17px;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 7px 18px rgba(0,0,0,.16);
  transition: transform .18s ease, filter .18s ease;
}
.kv-reaction-btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.kv-reaction-like { background: var(--theme-color); }
.kv-reaction-dislike { background: var(--kv-danger); }
.kv-reaction-btn i { font-size: 18px; }
.kv-reaction-score { min-width: 54px; text-align: center; color: var(--color-dark); font-weight: 800; }
.theme-mode-variables .kv-reaction-score { color: #fff; }
.kv-reaction-stars .rating { margin: 0; }

/* Compact, noticeable description under the player/reactions. */
.kv-description-card,
.kv-screens-section {
  margin-top: 22px;
  padding: 20px 22px;
  border-radius: 18px;
  background: var(--theme-bg);
  border: 1px solid var(--border-info-color);
  box-shadow: 0 10px 32px rgba(0,0,0,.08);
}
.kv-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.kv-section-head h2 { margin: 0; color: var(--color-dark); font-size: 21px; line-height: 1.2; }
.kv-description-text {
  position: relative;
  overflow: hidden;
  color: var(--body-text-color);
  font-size: 15px;
  line-height: 1.65;
  max-height: 7.0em;
  transition: max-height .28s ease;
}
.kv-description-text > :last-child { margin-bottom: 0; }
.kv-description-text.is-expanded { max-height: 1200px; }
.kv-description-text:not(.is-expanded).is-clamped::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 34px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0), var(--theme-bg));
}
.theme-mode-variables .kv-description-text:not(.is-expanded).is-clamped::after {
  background: linear-gradient(180deg, rgba(7,38,67,0), var(--theme-bg));
}
.kv-description-toggle {
  margin-top: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--theme-color);
  font-size: 14px;
  font-weight: 800;
}
.kv-description-toggle i { margin-left: 5px; transition: transform .2s ease; }
.kv-description-toggle.is-expanded i { transform: rotate(180deg); }

/* Frames: four wide screenshots on desktop, horizontal snap, rounded corners + dots. */
.kv-screens { overflow: hidden; }
.kv-screens .contenedor_scroll {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding-bottom: 2px;
}
.kv-screens .contenedor_scroll::-webkit-scrollbar { display: none; }
.kv-screens .contenedor {
  height: auto !important;
  min-height: 0 !important;
  display: flex !important;
  align-items: stretch;
  gap: 14px !important;
  padding: 0 !important;
  white-space: normal !important;
}
.kv-screens .contenedor > * {
  flex: 0 0 calc((100% - 42px) / 4);
  min-width: 0;
  scroll-snap-align: start;
}
.kv-screens .photo-item,
.kv-screens .photo-item a,
.kv-screens .photo-link,
.kv-screens .photo-link img,
.kv-screens .movie-photo-content .photo-img img,
.kv-screens .contenedor > a,
.kv-screens .contenedor > a > img,
.kv-screens .contenedor > img {
  width: 100% !important;
  height: 150px !important;
  min-height: 150px !important;
  display: block;
  object-fit: cover;
  border-radius: 14px;
}
.kv-screens .contenedor > a,
.kv-screens .photo-item { overflow: hidden; background: #07182b; box-shadow: 0 8px 22px rgba(0,0,0,.12); }
.kv-screens img { transition: transform .28s ease, filter .28s ease; }
.kv-screens a:hover img { transform: scale(1.035); filter: brightness(.88); }
.kv-gallery-dots { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 15px; min-height: 8px; }
.kv-gallery-dot {
  width: 7px; height: 7px; padding: 0; border: 0; border-radius: 999px;
  background: rgba(117,127,149,.38); transition: width .2s ease, background .2s ease;
}
.kv-gallery-dot.is-active { width: 21px; background: var(--theme-color); }
.kv-comments { margin-top: 28px; }

/* Dark page-specific components when theme is dark; light mode stays readable. */
.theme-mode-variables .kv-description-card,
.theme-mode-variables .kv-screens-section { background: #072643; border-color: rgba(255,255,255,.08); }
.theme-mode-variables .kv-card-year { background: #0A2034 !important; }

@media (max-width: 991.98px) {
  .kv-screens .contenedor > * { flex-basis: calc((100% - 14px) / 2); }
  .kv-screens .photo-item,
  .kv-screens .photo-item a,
  .kv-screens .photo-link,
  .kv-screens .photo-link img,
  .kv-screens .contenedor > a,
  .kv-screens .contenedor > a > img,
  .kv-screens .contenedor > img { height: 170px !important; min-height: 170px !important; }
}

@media (max-width: 575.98px) {
  .kv-card-badge { min-height: 29px; padding: 5px 9px; font-size: 12px; }
  .kv-card-imdb i { font-size: 13px; }
  .kv-card-content .movie-title { font-size: 16px; }
  .kv-card-meta { font-size: 13px; }
  .kv-movie-card-v2 { padding: 15px; }
  .kv-reactions { align-items: stretch; flex-direction: column; padding: 14px; }
  .kv-reactions-actions { justify-content: flex-start; }
  .kv-reaction-btn { min-width: 74px; height: 44px; }
  .kv-description-card, .kv-screens-section { padding: 16px; border-radius: 15px; }
  .kv-section-head h2 { font-size: 19px; }
  .kv-screens .contenedor > * { flex-basis: 86%; }
  .kv-screens .photo-item,
  .kv-screens .photo-item a,
  .kv-screens .photo-link,
  .kv-screens .photo-link img,
  .kv-screens .contenedor > a,
  .kv-screens .contenedor > a > img,
  .kv-screens .contenedor > img { height: 180px !important; min-height: 180px !important; }
}

/* ===== KinoVio v0.3.1 — readability pass ===== */
/* Description text: comfortable desktop reading, still compact on mobile. */
.kv-description-text {
  font-size: 18px !important;
  line-height: 1.72 !important;
  max-height: 7.05em;
  letter-spacing: .01em;
}
.kv-description-card {
  padding: 22px 24px;
}
.kv-section-head h2 {
  font-size: 22px;
  font-weight: 800;
}
@media (max-width: 767.98px) {
  .kv-description-text {
    font-size: 16px !important;
    line-height: 1.68 !important;
  }
  .kv-description-card { padding: 17px; }
  .kv-section-head h2 { font-size: 20px; }
}

/* ===== KinoVio v0.3.2 — movie-page readability ===== */
/* User-facing movie header: keep the title size, but make supporting text much easier to read. */
.kv-detail-title {
  color: var(--theme-color) !important;
}
.kv-detail-original {
  color: #fff !important;
  font-size: 17px !important;
  line-height: 1.55 !important;
  font-weight: 550;
}
.kv-detail-chip {
  color: #fff !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
  font-weight: 750 !important;
}
.kv-detail-row {
  grid-template-columns: 128px minmax(0,1fr) !important;
  padding: 13px 0 !important;
  font-size: 17px !important;
  line-height: 1.58 !important;
}
.kv-detail-row strong {
  color: #fff !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
  font-weight: 750 !important;
}
.kv-detail-row span,
.kv-detail-row a {
  color: #fff !important;
  font-size: 17px !important;
  line-height: 1.58 !important;
}
.kv-score-card > span {
  color: #fff !important;
  font-size: 13px !important;
}

/* Description: preserve the compact block, use a dark surface and high-contrast text in both themes. */
.kv-description-card,
.theme-mode-variables .kv-description-card {
  background: #072643 !important;
  border-color: rgba(255,255,255,.10) !important;
}
.kv-section-head h2,
.theme-mode-variables .kv-section-head h2 {
  color: var(--theme-color) !important;
}
.kv-description-text,
.kv-description-text p,
.kv-description-text div,
.kv-description-text span,
.kv-description-text a {
  color: #fff !important;
  font-size: 18px !important;
  line-height: 1.78 !important;
}
.kv-description-text a {
  color: var(--theme-color) !important;
}
.kv-description-text:not(.is-expanded).is-clamped::after,
.theme-mode-variables .kv-description-text:not(.is-expanded).is-clamped::after {
  background: linear-gradient(180deg, rgba(7,38,67,0), #072643) !important;
}

@media (max-width: 767.98px) {
  .kv-detail-original { font-size: 16px !important; }
  .kv-detail-chip { font-size: 15px !important; }
  .kv-detail-row { grid-template-columns: 105px minmax(0,1fr) !important; font-size: 16px !important; }
  .kv-detail-row strong { font-size: 15px !important; }
  .kv-detail-row span,
  .kv-detail-row a { font-size: 16px !important; }
  .kv-description-text,
  .kv-description-text p,
  .kv-description-text div,
  .kv-description-text span,
  .kv-description-text a { font-size: 16px !important; line-height: 1.72 !important; }
}

/* ===== KinoVio v0.3.3 — year badge contrast fix ===== */
/* Keep the year badge readable in both dark and light/day themes. */
.kv-card-poster .kv-card-badges .kv-card-badge.kv-card-year,
.theme-mode-variables .kv-card-poster .kv-card-badges .kv-card-badge.kv-card-year,
body.theme-mode-variables .kv-card-poster .kv-card-badges .kv-card-badge.kv-card-year {
  background: #0A2034 !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  border: 1px solid rgba(17,169,104,.58) !important;
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  text-shadow: 0 1px 2px rgba(0,0,0,.45) !important;
  box-shadow: 0 5px 16px rgba(0,0,0,.20) !important;
}

/* Some Stremio light-theme rules recolor nested content; force it back to white. */
.kv-card-poster .kv-card-year *,
.theme-mode-variables .kv-card-poster .kv-card-year * {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  opacity: 1 !important;
}


/* ===== KinoVio v0.3.4 — administrator name color in comments ===== */
.comment-item .kv-admin-author,
.comment-item .kv-admin-author a {
  color: #11A968 !important;
  font-weight: 800 !important;
}
.comment-item .kv-admin-author a:hover { color: #15C27A !important; }

/* ===== KinoVio v0.3.5 — hard admin-author color fallback ===== */
.comment-item .comment-author .author-info h5.kv-admin-author,
.comment-item .comment-author .author-info h5.kv-admin-author a,
.comment-item .comment-author .author-info h5 a.kv-admin-author-link {
  color: #11A968 !important;
  -webkit-text-fill-color: #11A968 !important;
  font-weight: 800 !important;
  opacity: 1 !important;
}
.comment-item .comment-author .author-info h5 a.kv-admin-author-link:hover {
  color: #15C27A !important;
  -webkit-text-fill-color: #15C27A !important;
}

/* ===== KinoVio v0.3.6 — comment submit button: no red hover, no ripple animation ===== */
.comment-form .theme-btn[type="submit"] {
  background: #11A968 !important;
  color: #fff !important;
  border: 0 !important;
  transition: none !important;
  animation: none !important;
  transform: none !important;
  filter: none !important;
}
.comment-form .theme-btn[type="submit"]::before,
.comment-form .theme-btn[type="submit"]::after {
  content: none !important;
  display: none !important;
  transition: none !important;
  animation: none !important;
  transform: none !important;
}
.comment-form .theme-btn[type="submit"]:hover,
.comment-form .theme-btn[type="submit"]:focus,
.comment-form .theme-btn[type="submit"]:active {
  background: #11A968 !important;
  color: #fff !important;
  transform: none !important;
  filter: none !important;
  box-shadow: var(--box-shadow) !important;
}


/* ===== KinoVio v0.3.7 — hard fix for comment submit button ===== */
.comment-form button.kv-comment-submit,
.comment-form button.kv-comment-submit:hover,
.comment-form button.kv-comment-submit:focus,
.comment-form button.kv-comment-submit:active {
  background: #11A968 !important;
  background-color: #11A968 !important;
  color: #fff !important;
  border-color: #11A968 !important;
  box-shadow: none !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
  filter: none !important;
}
.comment-form button.kv-comment-submit::before,
.comment-form button.kv-comment-submit::after,
.comment-form button.kv-comment-submit:hover::before,
.comment-form button.kv-comment-submit:hover::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
}
.comment-form button.kv-comment-submit i {
  color: #fff !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
}

/* ===== KinoVio v0.3.8 — dark cinematic DLE star rating ===== */
/* Replaces DLE's legacy white/grey sprite only inside the movie reaction panel. */
.kv-reaction-stars {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 49px;
  padding: 10px 13px;
  border-radius: 14px;
  background: linear-gradient(145deg, #071d30, #061725) !important;
  border: 1px solid rgba(17,169,104,.34) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 8px 22px rgba(0,0,0,.16);
}
.kv-reaction-stars .rating,
.kv-reaction-stars .unit-rating {
  width: 135px !important;
  height: 27px !important;
  margin: 0 !important;
  padding: 0 !important;
  background-color: transparent !important;
}
.kv-reaction-stars .unit-rating,
.kv-reaction-stars .unit-rating li a:hover,
.kv-reaction-stars .unit-rating li.current-rating {
  background-image: url('../images/kinovio-rating-stars.svg') !important;
  background-repeat: no-repeat !important;
  background-size: 135px 81px !important;
}
.kv-reaction-stars .unit-rating {
  background-position: 0 -54px !important;
  list-style: none !important;
  position: relative !important;
}
.kv-reaction-stars .unit-rating li {
  margin: 0 !important;
  padding: 0 !important;
}
.kv-reaction-stars .unit-rating li a {
  width: 27px !important;
  height: 27px !important;
  border: 0 !important;
  background-color: transparent !important;
  box-shadow: none !important;
}
.kv-reaction-stars .unit-rating li a:hover {
  left: 0 !important;
  z-index: 2 !important;
  background-position: 0 -27px !important;
}
.kv-reaction-stars .unit-rating a.r1-unit { left: 0 !important; }
.kv-reaction-stars .unit-rating a.r1-unit:hover { width: 27px !important; }
.kv-reaction-stars .unit-rating a.r2-unit { left: 27px !important; }
.kv-reaction-stars .unit-rating a.r2-unit:hover { width: 54px !important; }
.kv-reaction-stars .unit-rating a.r3-unit { left: 54px !important; }
.kv-reaction-stars .unit-rating a.r3-unit:hover { width: 81px !important; }
.kv-reaction-stars .unit-rating a.r4-unit { left: 81px !important; }
.kv-reaction-stars .unit-rating a.r4-unit:hover { width: 108px !important; }
.kv-reaction-stars .unit-rating a.r5-unit { left: 108px !important; }
.kv-reaction-stars .unit-rating a.r5-unit:hover { width: 135px !important; }
.kv-reaction-stars .unit-rating li.current-rating {
  height: 27px !important;
  background-position: 0 0 !important;
}

/* Keep the whole rating strip dark in light/day mode too. */
body:not(.theme-mode-variables) .kv-reaction-stars,
[data-theme="light"] .kv-reaction-stars {
  background: linear-gradient(145deg, #071d30, #061725) !important;
  border-color: rgba(17,169,104,.38) !important;
}

@media (max-width: 575.98px) {
  .kv-reaction-stars { min-height: 45px; padding: 8px 10px; border-radius: 12px; }
}

/* ===== KinoVio v0.3.9 — FanFilm-inspired graphite background ===== */
/* Dark mode: neutral black/graphite cinema backdrop, keeping KinoVio Emerald accents. */
body.theme-mode-variables {
  --body-bg: #07090b;
  --theme-bg: #0d1115;
  --theme-bg2: #10151a;
  --theme-bg-light: #12181e;
  --body-text-color: #aeb7c0;
  --border-info-color: rgba(183,195,205,.15);
  --border-white-color: rgba(255,255,255,.075);
  --footer-bg: #080a0c;
  --footer-bg2: #07090b;
  --box-shadow: 0 18px 45px rgba(0,0,0,.26);
  --box-shadow2: 0 10px 28px rgba(0,0,0,.34);
  background:
    radial-gradient(900px 420px at 50% -120px, rgba(17,169,104,.055), transparent 62%),
    linear-gradient(180deg, #0a0d10 0%, #07090b 48%, #050607 100%) fixed !important;
}

body.theme-mode-variables .main,
body.theme-mode-variables .kv-catalog {
  background: transparent !important;
}

/* Header/footer become graphite instead of blue, closer to the cinematic reference. */
body.theme-mode-variables .kv-inline-header .navbar,
body.theme-mode-variables .kv-inline-header .navbar.fixed-top {
  background: rgba(8,10,12,.96) !important;
  border-bottom: 1px solid rgba(255,255,255,.055);
}
body.theme-mode-variables .kv-footer,
body.theme-mode-variables .kv-footer .copyright {
  background: #080a0c !important;
  border-top-color: rgba(255,255,255,.06) !important;
}

/* New Movies strip: remove the old cinema wallpaper; use a restrained graphite surface. */
body.theme-mode-variables .home-2 .kv-new-movies .kv-graphite-hero,
body.theme-mode-variables .kv-new-movies .kv-graphite-hero {
  background:
    radial-gradient(620px 260px at 14% 10%, rgba(17,169,104,.055), transparent 65%),
    linear-gradient(180deg, #0c1013 0%, #080b0e 100%) !important;
  border-bottom: 1px solid rgba(255,255,255,.055);
}
body.theme-mode-variables .home-2 .kv-new-movies .kv-graphite-hero::before,
body.theme-mode-variables .kv-new-movies .kv-graphite-hero::before {
  background: linear-gradient(180deg, rgba(5,7,9,.04), rgba(5,7,9,.10)) !important;
}

/* Movie/detail surfaces: near-black graphite cards with a subtle blue-green depth. */
body.theme-mode-variables .kv-movie-card-v2,
body.theme-mode-variables .kv-reactions,
body.theme-mode-variables .kv-description-card,
body.theme-mode-variables .kv-screens-section,
body.theme-mode-variables .comment-item,
body.theme-mode-variables .comment-form {
  background: linear-gradient(145deg, rgba(16,21,26,.98), rgba(10,14,17,.98)) !important;
  border-color: rgba(255,255,255,.075) !important;
  box-shadow: 0 14px 36px rgba(0,0,0,.22) !important;
}

/* Preserve high readability after changing the surface from navy to graphite. */
body.theme-mode-variables .kv-description-text:not(.is-expanded).is-clamped::after {
  background: linear-gradient(180deg, rgba(10,14,17,0), #0a0e11) !important;
}
body.theme-mode-variables .kv-detail-row {
  border-bottom-color: rgba(255,255,255,.07) !important;
}
body.theme-mode-variables .kv-card-poster {
  background: #0c1013 !important;
  box-shadow: 0 14px 30px rgba(0,0,0,.28) !important;
}

/* Rating panel follows the same graphite family. */
body.theme-mode-variables .kv-reaction-stars {
  background: linear-gradient(145deg, #10161a, #0a0e11) !important;
  border-color: rgba(17,169,104,.30) !important;
}

/* Light/day mode stays light and clean; only remove the old wallpaper. */
body:not(.theme-mode-variables) .kv-new-movies .kv-graphite-hero {
  background: linear-gradient(180deg, #f7f9fb 0%, #eef2f5 100%) !important;
  border-bottom: 1px solid rgba(7,38,67,.08);
}
body:not(.theme-mode-variables) .kv-new-movies .kv-graphite-hero::before {
  background: transparent !important;
}

/* ===== KinoVio v0.4.0 — dense 20-card catalog ===== */
/* Goal: on wide desktop show 20 movies as two compact rows (10 x 2).
   Keep only the title below the poster; duration/genre are removed in the tpl. */
.kv-dense-grid {
  --bs-gutter-x: 18px;
  --bs-gutter-y: 18px;
  align-items: flex-start;
}
.kv-dense-grid > .kv-card-col {
  margin-bottom: 0 !important;
}
.kv-dense-grid .kv-card-content {
  padding-top: 8px !important;
}
.kv-dense-grid .kv-card-content .movie-title {
  margin: 0 !important;
  font-size: 15px !important;
  line-height: 1.22 !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.kv-dense-grid .kv-card-content .movie-title a {
  color: var(--color-dark) !important;
}
body.theme-mode-variables .kv-dense-grid .kv-card-content .movie-title a {
  color: #fff !important;
}
.kv-dense-grid .kv-card-meta,
.kv-dense-grid .movie-info.kv-card-meta {
  display: none !important;
}
.kv-dense-grid .kv-card-poster {
  border-radius: 15px !important;
}
.kv-dense-grid .kv-card-badges {
  top: 8px !important;
  left: 8px !important;
  right: 8px !important;
  gap: 5px !important;
}
.kv-dense-grid .kv-card-badge {
  min-height: 25px !important;
  padding: 4px 7px !important;
  font-size: 11px !important;
}
.kv-dense-grid .kv-card-play,
.kv-dense-grid .kv-card-play i {
  width: 52px !important;
  height: 52px !important;
  line-height: 52px !important;
}
.kv-dense-grid .kv-card-play i { font-size: 27px !important; }

/* Wide desktop: exactly 10 cards per row. With DLE set to 20 items/page => 2 rows. */
@media (min-width: 1400px) {
  .kv-dense-grid > .kv-card-col {
    flex: 0 0 10% !important;
    width: 10% !important;
    max-width: 10% !important;
  }
  .kv-catalog {
    padding-top: 34px !important;
    padding-bottom: 38px !important;
  }
  .kv-catalog-heading { margin-bottom: 18px !important; }
}

/* Slightly narrower desktops: keep cards usable rather than microscopic. */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .kv-dense-grid > .kv-card-col {
    flex: 0 0 12.5% !important;
    width: 12.5% !important;
    max-width: 12.5% !important;
  }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .kv-dense-grid > .kv-card-col {
    flex: 0 0 16.666667% !important;
    width: 16.666667% !important;
    max-width: 16.666667% !important;
  }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .kv-dense-grid > .kv-card-col {
    flex: 0 0 25% !important;
    width: 25% !important;
    max-width: 25% !important;
  }
}
@media (max-width: 767.98px) {
  .kv-dense-grid { --bs-gutter-x: 12px; --bs-gutter-y: 16px; }
  .kv-dense-grid > .kv-card-col {
    flex: 0 0 50% !important;
    width: 50% !important;
    max-width: 50% !important;
  }
  .kv-dense-grid .kv-card-content .movie-title { font-size: 14px !important; }
}

/* ===== KinoVio v0.4.2 - rating hover: instant Emerald, no yellow flash/animation ===== */
.kv-reaction-stars .unit-rating,
.kv-reaction-stars .unit-rating *,
.kv-reaction-stars .unit-rating *::before,
.kv-reaction-stars .unit-rating *::after {
  transition: none !important;
  animation: none !important;
  -webkit-animation: none !important;
}
.kv-reaction-stars .unit-rating li a,
.kv-reaction-stars .unit-rating li a:hover,
.kv-reaction-stars .unit-rating li a:focus,
.kv-reaction-stars .unit-rating li a:active,
.kv-reaction-stars .unit-rating li.current-rating {
  transition: none !important;
  animation: none !important;
  filter: none !important;
  box-shadow: none !important;
}
.kv-reaction-stars .unit-rating li a:hover,
.kv-reaction-stars .unit-rating li a:focus {
  background-position: 0 -27px !important;
}
.kv-reaction-stars .unit-rating li.current-rating {
  background-position: 0 0 !important;
}

/* ===== KinoVio v0.4.3 - exactly 5 catalog cards per desktop row ===== */
/* DLE items/page = 20 -> 4 rows x 5 cards. */
@media (min-width: 992px) {
  .kv-dense-grid > .kv-card-col {
    flex: 0 0 20% !important;
    width: 20% !important;
    max-width: 20% !important;
  }

  .kv-dense-grid {
    --bs-gutter-x: 26px;
    --bs-gutter-y: 24px;
  }

  .kv-dense-grid .kv-card-content {
    padding-top: 10px !important;
  }

  .kv-dense-grid .kv-card-content .movie-title {
    font-size: 17px !important;
    line-height: 1.22 !important;
  }
}

/* Tablet: 4 cards; phone: 2 cards. */
@media (min-width: 768px) and (max-width: 991.98px) {
  .kv-dense-grid > .kv-card-col {
    flex: 0 0 25% !important;
    width: 25% !important;
    max-width: 25% !important;
  }
}
@media (max-width: 767.98px) {
  .kv-dense-grid > .kv-card-col {
    flex: 0 0 50% !important;
    width: 50% !important;
    max-width: 50% !important;
  }
}


/* ===== KinoVio v0.4.4 — cleaner profile + branded copyright ===== */
/* The profile summary cards and user ID were removed from userinfo.tpl. */
.profile-intro .intro-left { width: 100%; }

.kv-footer .kv-copyright-brand {
  font-weight: 800;
  letter-spacing: -.25px;
}
.kv-footer .kv-copyright-brand .kv-copy-year,
.kv-footer .kv-copyright-brand .kv-copy-kino {
  color: var(--kv-gold, #FFC84A) !important;
}
.kv-footer .kv-copyright-brand .kv-copy-vio {
  color: var(--kv-danger, #EF565D) !important;
}
.kv-footer .kv-copyright-brand a {
  text-decoration: none !important;
}
.kv-footer .kv-copyright-brand a:hover .kv-copy-kino,
.kv-footer .kv-copyright-brand a:hover .kv-copy-vio {
  filter: brightness(1.08);
}

/* ===== KinoVio v0.4.5 — emerald footer year ===== */
.kv-footer .kv-copyright-brand .kv-copy-symbol {
  color: var(--kv-gold, #FFC84A) !important;
}
.kv-footer .kv-copyright-brand .kv-copy-year {
  color: #10B981 !important;
}
.kv-footer .kv-copyright-brand .kv-copy-kino {
  color: var(--kv-gold, #FFC84A) !important;
}
.kv-footer .kv-copyright-brand .kv-copy-vio {
  color: var(--kv-danger, #EF565D) !important;
}
/* ===== /KinoVio v0.4.5 ===== */
