/* Modern Cinema & Sports TV Style (Responsive 10-foot UI, Zero Emojis) */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  background-color: #0B0C10;
  color: #FFFFFF;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
  scroll-behavior: smooth;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}

/* Фоновые градиенты */
.ambient-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(30, 58, 138, 0.25) 0%, transparent 50%),
    radial-gradient(circle at 15% 80%, rgba(76, 130, 251, 0.1) 0%, transparent 50%),
    #0B0C10;
  z-index: 0;
  pointer-events: none;
}

/* Верхняя панель навигации (безрамочная, с быстрым поиском по центру) */
.top-bar {
  position: sticky;
  top: 0;
  width: 100%;
  height: 70px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(11, 12, 16, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 30;
}
/* Верхняя панель навигации (безрамочная > * + * { margin-left: 24px; }
с быстрым поиском по центру) */ .top-bar > * + * { margin-left: 24px; }

.brand-block {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  cursor: pointer;
}
.brand-block > * + * { margin-left: 12px; }

.brand-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #FFFFFF;
  white-space: nowrap;
}

.brand-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 3px 7px;
  border-radius: 4px;
  background: rgba(59, 130, 246, 0.18);
  color: #60A5FA;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Поиск прямо в шапке (рядом с центром) */
.header-search-wrap {
  flex: 1;
  max-width: 440px;
  position: relative;
  display: flex;
  align-items: center;
}

.header-search-icon {
  position: absolute;
  left: 14px;
  color: #9CA3AF;
  pointer-events: none;
}

.header-search-input {
  width: 100%;
  height: 40px;
  padding: 0 44px 0 40px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #FFFFFF;
  font-size: 14px;
  outline: none;
  transition: background 0.18s ease, box-shadow 0.18s ease;
}

.header-search-input::placeholder {
  color: #9CA3AF;
}

.header-search-input:focus {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.6);
}

.header-mic-btn {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #9CA3AF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.header-mic-btn:hover, .header-mic-btn:focus, .header-mic-btn.focused {
  background: rgba(255, 255, 255, 0.18);
  color: #38BDF8;
  transform: translateY(-50%) scale(1.1);
}

.mic-listening {
  background: rgba(239, 68, 68, 0.25) !important;
  color: #F87171 !important;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.7) !important;
}

.nav-tabs {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-tabs > * + * { margin-left: 6px; }

.nav-tabs::-webkit-scrollbar {
  display: none;
}

.nav-tab {
  height: 38px;
  padding: 0 15px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  color: #9CA3AF;
  cursor: pointer;
  transition: all 0.16s ease;
  outline: none;
  border: none;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-tab > * + * { margin-left: 7px; }

.nav-tab:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}

.nav-tab.active {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.15);
}

.nav-tab:focus, .nav-tab.focused {
  background: #FFFFFF;
  color: #0B0C10;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.3);
}

/* Основной безрамочный контейнер на всю ширину */
.content-scroll {
  position: relative;
  width: 100%;
  padding: 16px 28px 80px 28px;
  z-index: 5;
}

/* Двухколоночный макет Главной со сворачивающейся левой панелью */
.home-layout {
  display: flex;
  align-items: flex-start;
}
/* Двухколоночный макет Главной со сворачивающейся левой панелью */ .home-layout > * + * { margin-left: 24px; }

.side-nav {
  position: fixed;
  left: 24px;
  top: 88px;
  width: 74px;
  background: rgba(18, 21, 30, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 14px 10px;
  max-height: calc(100vh - 108px);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  transition: width 0.24s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.2s ease;
  z-index: 40;
}

.side-nav:hover, .side-nav:focus-within {
  width: 360px;
  background: rgba(18, 21, 30, 0.97);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.65);
}

.side-nav::-webkit-scrollbar {
  display: none;
}

.side-nav-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #9CA3AF;
  padding: 4px 14px 12px 14px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.side-nav:hover .side-nav-title,
.side-nav:focus-within .side-nav-title {
  opacity: 1;
}

.side-nav-list {
  display: flex;
  flex-direction: column;
}
.side-nav-list > * + * { margin-top: 6px; }

.side-nav-item {
  width: 100%;
  height: 52px;
  padding: 0 14px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 500;
  color: #CBD5E1;
  background: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  display: flex;
  align-items: center;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.side-nav-item > * + * { margin-left: 14px; }

.side-nav-icon {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.side-nav-icon svg {
  width: 24px;
  height: 24px;
}

.side-nav-label {
  opacity: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.15s ease;
}

.side-nav:hover .side-nav-label,
.side-nav:focus-within .side-nav-label {
  opacity: 1;
}

.side-nav-item:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}

.side-nav-item.active {
  color: #FFFFFF;
  font-weight: 700;
  background: rgba(59, 130, 246, 0.22);
}

.side-nav-item:focus, .side-nav-item.focused {
  background: #FFFFFF;
  color: #0B0C10;
  font-weight: 700;
}

.home-main {
  flex: 1;
  min-width: 0;
  padding-left: 96px;
}

.view-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.view-header-row > * + * { margin-left: 16px; }

.view-header-left {
  display: flex;
  align-items: center;
}
.view-header-left > * + * { margin-left: 16px; }

.btn-back-nav {
  padding: 9px 16px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  color: #E5E7EB;
  border: 1px solid rgba(255, 255, 255, 0.14);
  cursor: pointer;
  outline: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.15s ease;
}
.btn-back-nav > * + * { margin-left: 6px; }

.btn-back-nav:hover, .btn-back-nav:focus, .btn-back-nav.focused {
  background: #FFFFFF;
  color: #0B0C10;
}

/* Главный Hero Баннер (безрамочный) */
.hero-container {
  width: 100%;
  min-height: 340px;
  margin-bottom: 36px;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(125deg, #111625 0%, #161F38 45%, #0F131D 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
}

.hero-arena-deco {
  position: absolute;
  right: -40px;
  top: -40px;
  width: 650px;
  height: 440px;
  background:
    radial-gradient(circle at 60% 45%, rgba(59, 130, 246, 0.25) 0%, transparent 60%),
    radial-gradient(circle at 80% 70%, rgba(229, 9, 20, 0.18) 0%, transparent 50%);
  pointer-events: none;
}

.hero-arena-lines {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero-arena-lines::after {
  content: "";
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1px solid rgba(76, 130, 251, 0.15);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  padding: 40px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.hero-tags > * { margin-right: 8px; margin-bottom: 8px; }

.tag-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 5px;
}

.tag-red {
  background: #E11D48;
  color: #FFFFFF;
}

.tag-blue {
  background: #2563EB;
  color: #FFFFFF;
}

.tag-gray {
  background: rgba(255, 255, 255, 0.12);
  color: #E5E7EB;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-title {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
  color: #FFFFFF;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 17px;
  color: #9CA3AF;
  margin-bottom: 26px;
  line-height: 1.45;
  max-width: 720px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
}
.hero-actions > * { margin-right: 14px; margin-bottom: 14px; }

.btn-primary {
  padding: 13px 28px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  background: #FFFFFF;
  color: #0B0C10;
  border: none;
  cursor: pointer;
  outline: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease;
}
.btn-primary > * + * { margin-left: 10px; }

.btn-primary:hover {
  background: #E5E7EB;
  transform: translateY(-1px);
}

.btn-primary:focus, .btn-primary.focused {
  background: #3B82F6;
  color: #FFFFFF;
  transform: scale(1.04);
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.6);
}

.btn-secondary {
  padding: 13px 24px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.09);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.16);
  cursor: pointer;
  outline: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease;
}
.btn-secondary > * + * { margin-left: 8px; }

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.btn-secondary:focus, .btn-secondary.focused {
  background: #FFFFFF;
  color: #0B0C10;
  transform: scale(1.04);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

/* Полки с фильмами (Carousels с кнопками листинга) */
.shelf-container {
  margin-bottom: 40px;
  position: relative;
}

.shelf-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.shelf-title {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #F9FAFB;
}

.shelf-controls {
  display: flex;
}
.shelf-controls > * + * { margin-left: 8px; }

.shelf-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  transition: all 0.15s ease;
}

.shelf-nav-btn:hover, .shelf-nav-btn:focus {
  background: #FFFFFF;
  color: #0B0C10;
  transform: scale(1.08);
}

.shelf-track {
  display: flex;
  overflow-x: auto;
  overflow-y: visible;
  padding: 12px 4px 16px 4px;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.shelf-track > * + * { margin-left: 20px; }

.shelf-track::-webkit-scrollbar {
  display: none;
}

/* Карточка фильма */
.movie-card {
  flex: 0 0 210px;
  width: 210px;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  outline: none;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.movie-poster-box {
  width: 210px;
  height: 310px;
  border-radius: 12px;
  overflow: hidden;
  background: #161923;
  position: relative;
  border: 2px solid transparent;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.movie-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rating-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(11, 12, 16, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FBBF24;
  font-size: 12px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
}

.platforms-badge-row {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  display: flex;
  flex-wrap: wrap;
}
.platforms-badge-row > * { margin-right: 4px; margin-bottom: 4px; }

.platform-pill {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(11, 12, 16, 0.82);
  color: #E5E7EB;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.movie-info {
  margin-top: 12px;
  padding: 0 2px;
}

.movie-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  color: #F9FAFB;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.movie-meta {
  font-size: 16px;
  color: #B4BCC8;
  margin-top: 5px;
}

.movie-card:hover, .movie-card:focus, .movie-card.focused {
  transform: scale(1.05);
  z-index: 15;
}

.movie-card:hover .movie-poster-box,
.movie-card:focus .movie-poster-box,
.movie-card.focused .movie-poster-box {
  border-color: #FFFFFF;
  box-shadow: 0 14px 32px rgba(255, 255, 255, 0.22);
}

/* Модальное окно фильма с листингом "Предыдущий / Следующий" */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 6, 9, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 100;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 32px;
}

.modal-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  max-width: min(1520px, calc(100vw - 48px));
  width: 100%;
}
.modal-wrapper > * + * { margin-left: 16px; }

.modal-side-nav {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  transition: all 0.18s ease;
}

.modal-side-nav:hover, .modal-side-nav:focus, .modal-side-nav.focused {
  background: #FFFFFF;
  color: #0B0C10;
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.35);
}

.modal-card {
  flex: 1;
  min-height: 660px;
  max-height: 88vh;
  background: #12151E;
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
}

.modal-top-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  z-index: 30;
  transition: all 0.16s ease;
}

.modal-card.drawer-active > .modal-top-close {
  display: none !important;
}

.modal-top-close:hover, .modal-top-close:focus, .modal-top-close.focused {
  background: #FFFFFF;
  color: #0B0C10;
  transform: scale(1.08);
}

.modal-left {
  flex: 0 0 410px;
  padding: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #0D1017;
}

.modal-poster {
  width: 322px;
  height: 478px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.modal-right {
  flex: 1;
  padding: 40px 48px 32px 48px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  overflow-y: auto;
}

.modal-nav-counter {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #60A5FA;
  margin-bottom: 10px;
}

.modal-title {
  font-size: clamp(28px, 2.5vw, 40px);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 12px;
  line-height: 1.15;
}

.modal-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 18px;
}
.modal-meta-row > * { margin-right: 12px; margin-bottom: 12px; }

.modal-rating {
  font-size: 15px;
  font-weight: 800;
  color: #FBBF24;
  background: rgba(251, 191, 36, 0.14);
  border: 1px solid rgba(251, 191, 36, 0.3);
  padding: 4px 10px;
  border-radius: 6px;
}

.modal-meta-text {
  font-size: 15px;
  color: #9CA3AF;
}

.modal-desc {
  font-size: 15px;
  color: #D1D5DB;
  line-height: 1.55;
  margin-bottom: 22px;
  max-width: 760px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.modal-actions > * { margin-right: 12px; margin-bottom: 12px; }

/* Дровер ручного выбора раздач и модалка спорта */
.torrent-drawer {
  position: absolute;
  inset: 0;
  background: #12151E;
  padding: 36px 44px;
  display: none;
  flex-direction: column;
  z-index: 35;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.drawer-header-left {
  display: flex;
  align-items: center;
}
.drawer-header-left > * + * { margin-left: 16px; }

.drawer-close-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  transition: all 0.16s ease;
  flex-shrink: 0;
}

.drawer-close-btn:hover, .drawer-close-btn:focus, .drawer-close-btn.focused {
  background: #FFFFFF;
  color: #0B0C10;
  transform: scale(1.08);
}

.drawer-back-btn {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 999px;
}
.drawer-back-btn > * + * { margin-left: 8px; }

.drawer-title {
  font-size: 24px;
  font-weight: 700;
}

.torrent-row {
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 10px;
  cursor: pointer;
  outline: none;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.15s ease;
}

.torrent-row:hover, .torrent-row:focus, .torrent-row.focused {
  background: #FFFFFF;
  color: #0B0C10;
}

.torrent-row:hover .tag-gray,
.torrent-row:focus .tag-gray,
.torrent-row.focused .tag-gray {
  background: #E5E7EB;
  color: #111827;
  border-color: #D1D5DB;
}

.torrent-row:hover .torrent-subtext,
.torrent-row:focus .torrent-subtext,
.torrent-row.focused .torrent-subtext {
  color: #4B5563;
}

.torrent-main {
  font-size: 15px;
  font-weight: 600;
  flex: 1;
  padding-right: 16px;
}

.torrent-subtext {
  font-size: 13px;
  color: #9CA3AF;
  margin-top: 3px;
}

.torrent-stats {
  display: flex;
  align-items: center;
}
.torrent-stats > * + * { margin-left: 10px; }

/* Вьюха Спорта / Поиска */
.section-view {
  display: none;
}

.tag-gold {
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #FBBF24;
  font-weight: 700;
}

/* Премиальная карточка Евгения Дадонова */
.dadonov-card {
  display: flex;
  background: linear-gradient(135deg, #131722 0%, #171E30 55%, #0F131E 100%);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 22px;
  padding: 36px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
/* Премиальная карточка Евгения Дадонова */ .dadonov-card > * + * { margin-left: 36px; }

.dadonov-left {
  flex: 0 0 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dadonov-photo-wrap {
  position: relative;
  width: 230px;
  height: 275px;
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid rgba(245, 158, 11, 0.4);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.7);
  background: #11141D;
}

.dadonov-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.dadonov-jersey-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: #E11D48;
  color: #FFFFFF;
  font-weight: 900;
  font-size: 17px;
  padding: 4px 12px;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
  letter-spacing: 0.5px;
}

.dadonov-quick-meta {
  width: 100%;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  font-size: 13px;
}
.dadonov-quick-meta > * + * { margin-top: 7px; }

.dadonov-meta-item {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 6px 0;
}

.dadonov-meta-label {
  color: #9CA3AF;
}

.dadonov-meta-val {
  color: #FFFFFF;
  font-weight: 600;
  text-align: right;
}

.dadonov-right {
  flex: 1;
}

.dadonov-title {
  font-size: clamp(28px, 2.5vw, 38px);
  font-weight: 800;
  color: #FFFFFF;
  margin: 6px 0 14px 0;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
}

.dadonov-num {
  color: #FBBF24;
  font-size: 28px;
  font-weight: 900;
  margin-left: 10px;
}

.dadonov-bio {
  font-size: 15px;
  color: #D1D5DB;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 920px;
}

.dadonov-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.stat-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 16px;
  text-align: center;
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.stat-box:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 158, 11, 0.4);
}

.stat-num {
  font-size: 26px;
  font-weight: 900;
  color: #FBBF24;
}

.stat-label {
  font-size: 12px;
  font-weight: 700;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.stat-sub {
  font-size: 11px;
  color: #9CA3AF;
  margin-top: 4px;
}

.dadonov-trophies-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #60A5FA;
  margin-bottom: 10px;
}

.dadonov-trophies-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.dadonov-trophies-list > * + * { margin-top: 7px; }

.dadonov-trophies-list li {
  font-size: 14px;
  color: #E5E7EB;
  display: flex;
  align-items: center;
}
.dadonov-trophies-list li > * + * { margin-left: 8px; }

/* Двухколоночные виджеты КХЛ и новостей */
.sports-widgets-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
}

.table-wrap {
  overflow-x: auto;
}

.standings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.standings-table th {
  color: #9CA3AF;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}

.standings-table td {
  padding: 11px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #E5E7EB;
}

.row-traktor {
  background: rgba(245, 158, 11, 0.12);
  border-left: 3px solid #FBBF24;
}

.form-pills {
  display: inline-flex;
  align-items: center;
}
.form-pills > * + * { margin-left: 4px; }

.form-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #FFFFFF;
}

.form-win { background: #16A34A; }
.form-loss { background: #DC2626; }

.playoff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.playoff-conf-title {
  font-size: 13px;
  font-weight: 700;
  color: #60A5FA;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
}

.playoff-pair-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
}

.playoff-pair-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #9CA3AF;
  margin-bottom: 6px;
}

.playoff-team-row {
  font-size: 14px;
  font-weight: 600;
  color: #F3F4F6;
  padding: 2px 0;
}

.news-item.clickable {
  cursor: pointer;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.16s ease, border-color 0.16s ease;
  outline: none;
}

.news-item.clickable:hover, .news-item.clickable:focus, .news-item.clickable.focused {
  background: rgba(59, 130, 246, 0.14);
  border-color: rgba(59, 130, 246, 0.45);
}

.dadonov-extra-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.dadonov-videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.dadonov-video-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  outline: none;
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.dadonov-video-card:hover, .dadonov-video-card:focus, .dadonov-video-card.focused {
  transform: translateY(-3px);
  border-color: #3B82F6;
}

.dadonov-video-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0F172A;
}

.dadonov-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dadonov-video-dur {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(0, 0, 0, 0.8);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
}

.dadonov-video-title {
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 600;
  color: #E5E7EB;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.td-pos {
  font-weight: 700;
}

.td-pos.pos-top {
  color: #FBBF24;
  font-weight: 900;
}

.td-pts {
  color: #60A5FA;
  font-weight: 800;
}

.td-form {
  font-size: 12px;
  color: #9CA3AF;
}

.news-list {
  display: flex;
  flex-direction: column;
}
.news-list > * + * { margin-top: 12px; }

.news-item {
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.16s ease;
}

.news-item:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(4px);
}

.news-meta {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
}
.news-meta > * + * { margin-left: 10px; }

.news-source {
  font-size: 12px;
  color: #9CA3AF;
}

.news-title {
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.35;
  margin-bottom: 5px;
}

.news-text {
  font-size: 13px;
  color: #9CA3AF;
  line-height: 1.45;
}

.sports-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.club-section-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #60A5FA;
  margin-top: 12px;
  margin-bottom: 6px;
}

@media (max-width: 1100px) {
  .sports-grid {
    grid-template-columns: 1fr;
  }
}

.club-card {
  background: #12151E;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
}

.club-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.club-name {
  font-size: 20px;
  font-weight: 700;
}

.match-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.match-item:last-child {
  border-bottom: none;
}

.match-teams {
  font-size: 15px;
  font-weight: 600;
}

.match-date {
  font-size: 13px;
  color: #9CA3AF;
  margin-top: 2px;
}

.match-score {
  font-size: 16px;
  font-weight: 800;
  color: #60A5FA;
}

/* Поиск */
.search-box {
  display: flex;
  margin-bottom: 30px;
}
/* Поиск */ .search-box > * + * { margin-left: 12px; }

.search-input {
  flex: 1;
  padding: 16px 24px;
  border-radius: 12px;
  background: #141824;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  font-size: 18px;
  outline: none;
}

.search-mic-btn {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background: #141824;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #9CA3AF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  transition: all 0.18s ease;
}

.search-mic-btn:hover, .search-mic-btn:focus, .search-mic-btn.focused {
  background: rgba(59, 130, 246, 0.22);
  border-color: #3B82F6;
  color: #38BDF8;
  transform: scale(1.06);
}

.search-input:focus {
  border-color: #3B82F6;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.25);
}

.search-results-grid {
  display: flex;
  flex-wrap: wrap;
}
.search-results-grid > * { margin-right: 20px; margin-bottom: 20px; }

/* Полноэкранный плеер */
.player-container {
  position: fixed;
  inset: 0;
  background: #000000;
  z-index: 200;
  display: none;
}

#videoPlayer {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.player-osd-wrapper {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.player-osd-wrapper.hidden {
  opacity: 0;
}

.player-top-osd {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 28px 48px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.88), transparent);
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: auto;
}

.player-osd {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 32px 48px 36px 48px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.94), transparent);
  pointer-events: auto;
}

.osd-title {
  font-size: 22px;
  font-weight: 700;
}

.osd-progress-wrap {
  padding: 14px 0;
  cursor: pointer;
}

.osd-progress-box {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  overflow: hidden;
  transition: height 0.15s ease;
}

.osd-progress-wrap:hover .osd-progress-box {
  height: 12px;
}
  border-radius: 4px;
  overflow: hidden;
  transition: height 0.15s ease;
}

.osd-progress-wrap:hover .osd-progress-box {
  height: 10px;
}

.osd-progress-bar {
  width: 0%;
  height: 100%;
  background: #3B82F6;
}

.osd-time-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: #D1D5DB;
  margin-bottom: 14px;
}

.osd-controls-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.osd-controls-row > * + * { margin-left: 16px; }

.osd-btn-group {
  display: flex;
  align-items: center;
}
.osd-btn-group > * + * { margin-left: 10px; }

.osd-btn {
  padding: 10px 18px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.16);
  cursor: pointer;
  outline: none;
  transition: all 0.15s ease;
}

.osd-btn-main {
  background: #FFFFFF;
  color: #0B0C10;
  font-weight: 700;
  padding: 10px 26px;
}

.osd-btn:hover, .osd-btn:focus, .osd-btn.focused {
  background: #3B82F6;
  color: #FFFFFF;
  border-color: #60A5FA;
}

.track-menu {
  position: absolute;
  bottom: 155px;
  right: 48px;
  min-width: 300px;
  max-height: 320px;
  overflow-y: auto;
  background: rgba(17, 24, 39, 0.96);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 10px;
  display: none;
  flex-direction: column;
  z-index: 250;
  pointer-events: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75);
}
.track-menu > * + * { margin-top: 6px; }

.track-item {
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #E5E7EB;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  outline: none;
}

.track-item:hover, .track-item:focus, .track-item.focused {
  background: rgba(59, 130, 246, 0.35);
  color: #FFFFFF;
}

.track-item.active {
  background: #2563EB;
  color: #FFFFFF;
}

video::cue {
  font-size: 32px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 600;
  color: #FFFFFF;
  background-color: rgba(0, 0, 0, 0.78);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95);
  line-height: 1.4;
}

.star-btn {
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 700;
  color: #CBD5E1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  cursor: pointer;
  outline: none;
  transition: all 0.16s ease;
}

.star-btn:hover, .star-btn:focus, .star-btn.focused {
  background: rgba(250, 204, 21, 0.25);
  border-color: #FACC15;
  color: #FEF08A;
}

.star-btn.active {
  background: #F59E0B;
  border-color: #FBBF24;
  color: #0B0C10;
}

.player-loading {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 280px;
  max-width: 400px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: #F3F4F6;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(16px);
  padding: 18px 26px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75);
  z-index: 300;
  display: none;
}

.loading-row {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.loading-row > * + * { margin-left: 12px; }

.loading-spinner {
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.2);
  border-top-color: #60A5FA;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  flex-shrink: 0;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-text {
  line-height: 1.3;
}

.loading-progress-track {
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.loading-progress-bar {
  width: 15%;
  height: 100%;
  border-radius: 999px;
  background: #60A5FA;
  transition: width 0.35s ease;
}

/* Умные сгруппированные карточки поиска (с сезонами) */
.smart-group-card {
  display: flex;
  background: #12151E;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 24px;
  cursor: pointer;
  outline: none;
  transition: all 0.18s ease;
}
/* Умные сгруппированные карточки поиска (с сезонами) */ .smart-group-card > * + * { margin-left: 28px; }

.smart-group-card:hover, .smart-group-card:focus, .smart-group-card.focused {
  border-color: #3B82F6;
  background: #171B26;
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 0 2px rgba(59, 130, 246, 0.4);
}

.smart-group-poster {
  flex: 0 0 150px;
  width: 150px;
  height: 220px;
  border-radius: 12px;
  object-fit: cover;
  background: #1A1E2B;
}

.smart-group-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.smart-group-title {
  font-size: 26px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.smart-group-desc {
  font-size: 15px;
  color: #9CA3AF;
  line-height: 1.5;
  margin-bottom: 18px;
  max-width: 850px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.seasons-row {
  display: flex;
  flex-wrap: wrap;
}
.seasons-row > * { margin-right: 10px; margin-bottom: 10px; }

.season-pill {
  padding: 10px 18px;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  outline: none;
  transition: all 0.16s ease;
}

.season-pill:hover, .season-pill:focus, .season-pill.focused {
  background: #FFFFFF;
  color: #0B0C10;
  transform: scale(1.04);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.35);
}

/* Полоса актёров в карточке фильма */
.actors-section {
  margin-top: 24px;
}

.actors-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #9CA3AF;
  margin-bottom: 10px;
}

.actors-strip {
  display: flex;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.actors-strip > * + * { margin-left: 12px; }

.actors-strip::-webkit-scrollbar {
  display: none;
}

.actor-chip {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  cursor: pointer;
  outline: none;
  transition: all 0.16s ease;
}
.actor-chip > * + * { margin-left: 10px; }

.actor-chip:hover, .actor-chip:focus, .actor-chip.focused {
  background: #FFFFFF;
  color: #0B0C10;
  transform: scale(1.04);
}

.actor-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  background: #1E293B;
}

.actor-name {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.actor-role {
  font-size: 11px;
  color: #9CA3AF;
}

.actor-chip:hover .actor-role, .actor-chip:focus .actor-role, .actor-chip.focused .actor-role {
  color: #4B5563;
}

/* Отзывы и профиль актёра */
.review-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 12px;
}

.review-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 13px;
  color: #60A5FA;
  font-weight: 600;
}

.review-text {
  font-size: 14px;
  color: #E5E7EB;
  line-height: 1.5;
}

.actor-profile-header {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.actor-profile-header > * + * { margin-left: 20px; }

.actor-films-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
  padding: 4px;
}

.actor-film-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  outline: none;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.actor-film-card:hover, .actor-film-card:focus, .actor-film-card.focused {
  transform: translateY(-4px);
  border-color: #3B82F6;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6);
}

.actor-film-poster {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  display: block;
  background: #1B2030;
}

.actor-film-info {
  padding: 10px;
}

.actor-film-title {
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.actor-film-year {
  font-size: 12px;
  color: #9CA3AF;
  margin-top: 4px;
}

.similar-section {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.similar-strip {
  display: flex;
  overflow-x: auto;
  padding: 4px 2px 8px 2px;
  scrollbar-width: none;
}
.similar-strip > * + * { margin-left: 12px; }

.similar-strip::-webkit-scrollbar {
  display: none;
}

.similar-card {
  flex: 0 0 116px;
  width: 116px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  cursor: pointer;
  outline: none;
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.similar-card:hover, .similar-card:focus, .similar-card.focused {
  transform: translateY(-3px);
  border-color: #3B82F6;
}

.similar-card-poster {
  width: 100%;
  height: 166px;
  object-fit: cover;
  display: block;
  background: #1B2030;
}

.similar-card-title {
  padding: 8px 10px;
  font-size: 16px;
  font-weight: 600;
  color: #E5E7EB;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.actor-profile-photo {
  width: 84px;
  height: 110px;
  border-radius: 10px;
  object-fit: cover;
  background: #1E293B;
}

/* Фильтры каталога */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 24px;
  align-items: center;
}
/* Фильтры каталога */ .filter-bar > * { margin-right: 10px; margin-bottom: 10px; }

.filter-group {
  display: flex;
  background: rgba(255, 255, 255, 0.04);
  padding: 5px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.filter-group > * + * { margin-left: 6px; }

.filter-chip {
  padding: 7px 14px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  color: #9CA3AF;
  cursor: pointer;
  outline: none;
  border: none;
  background: transparent;
  transition: all 0.15s ease;
}

.filter-chip.active {
  background: #2563EB;
  color: #FFFFFF;
}

.filter-chip:hover, .filter-chip:focus {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.14);
}

.filter-chip.active:hover, .filter-chip.active:focus {
  background: #3B82F6;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 24px 20px;
}

.shelves-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.shelves-toolbar-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #6B7280;
}

.filter-modal-card {
  width: min(760px, 92vw);
  background: #12151E;
  border-radius: 22px;
  padding: 36px 40px;
  position: relative;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.85);
}

.filter-section-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #9CA3AF;
  margin-top: 18px;
  margin-bottom: 10px;
}

.btn-scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  z-index: 50;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: all 0.22s ease;
}

.btn-scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.btn-scroll-top:hover, .btn-scroll-top:focus {
  background: #FFFFFF;
  color: #0B0C10;
  transform: scale(1.08);
}

/* Всплывающие подсказки и статус (Toast) */
.toast-notification {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: rgba(18, 21, 30, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 999px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.85);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 9999;
}

.toast-notification.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Супер-адаптивный отклик на указку Magic Remote */
.movie-card, .btn-primary, .btn-secondary, .nav-tab, .filter-chip, .season-pill,
.actor-chip, .osd-btn, .modal-side-nav, .modal-top-close, .header-mic-btn, .search-mic-btn,
.drawer-back-btn, .btn-scroll-top {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.movie-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.movie-card:active {
  transform: scale(0.98);
}

@media (max-width: 1024px) {
  .modal-card { flex-direction: column; overflow-y: auto; }
  .modal-left { flex: none; padding: 24px; }
  .modal-poster { width: 180px; height: 270px; }
  .modal-right { padding: 24px; }
  .smart-group-card { flex-direction: column; }
  .smart-group-card > * + * { margin-left: 0; margin-top: 28px; }
  .dadonov-card { flex-direction: column; padding: 24px; }
  .dadonov-card > * + * { margin-left: 0; margin-top: 24px; }
  .dadonov-left { flex: none; width: 100%; }
  .sports-widgets-row { grid-template-columns: 1fr; }
  .dadonov-stats-grid { grid-template-columns: repeat(2, 1fr); }
}
