:root {
  --uz-bg: #0b0c12;
  --uz-surface: #151824;
  --uz-surface-2: #1d2130;
  --uz-text: #f5f6fb;
  --uz-muted: #a8adbd;
  --uz-accent: #ff4f86;
  --uz-accent-2: #9b5cff;
  --uz-line: rgba(255,255,255,.10);
  --uz-shadow: 0 16px 42px rgba(0,0,0,.32);
}
html { background: var(--uz-bg); }
body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  color: var(--uz-text);
  background: radial-gradient(circle at 18% -8%, #2b1740 0, transparent 30rem), radial-gradient(circle at 90% 0, #132a42 0, transparent 29rem), var(--uz-bg);
  font-family: Roboto, Open Sans, Arial, sans-serif;
}
a { color: #ff86aa; }
a:hover, a:focus { color: #ffffff; text-decoration: none; }
.navbar {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 76px;
  margin: 0;
  padding: 8px 20px;
  border: 0;
  border-bottom: 1px solid var(--uz-line);
  border-radius: 0;
  background: rgba(13,15,24,.92);
  box-shadow: 0 8px 30px rgba(0,0,0,.25);
  backdrop-filter: blur(16px);
}
.navbar .container-fluid { max-width: 1500px; }
.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: 24px;
  padding: 12px 0;
  color: var(--uz-text) !important;
  font-size: 28px;
  letter-spacing: -.8px;
  text-transform: lowercase;
}
.navbar-brand:before {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 12px;
  color: white;
  font-size: 25px;
  background: linear-gradient(135deg, var(--uz-accent), var(--uz-accent-2));
  box-shadow: 0 8px 20px rgba(255,79,134,.28);
}
.navbar-nav { font-size: 13px; font-weight: 700; letter-spacing: .35px; }
.navbar-nav > li > a {
  margin: 7px 2px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--uz-muted) !important;
}
.navbar-nav > li > a:hover, .navbar-nav > li.active > a {
  color: #fff !important;
  background: rgba(255,255,255,.08) !important;
}
.favorites_badge {
  display: inline-grid;
  min-width: 19px;
  height: 19px;
  place-items: center;
  margin-left: 4px;
  border-radius: 50%;
  color: #fff;
  background: var(--uz-accent);
  font-size: 11px;
}
.navbar-form { margin-top: 8px; margin-bottom: 8px; }
.navbar-form .input-group { overflow: hidden; border: 1px solid var(--uz-line); border-radius: 14px; background: rgba(255,255,255,.06); }
.navbar-form .form-control { height: 42px; color: #fff; background: transparent; }
.navbar-form .form-control::placeholder { color: #a8adbd; }
.navbar-form .btn { height: 42px; min-width: 48px; color: white; background: linear-gradient(135deg, var(--uz-accent), var(--uz-accent-2)); }
.main { flex: 1; padding: 30px 16px 54px; }
.main > .container-fluid, .footer-inner .container-fluid { max-width: 1500px; margin: 0 auto; }
.main > .container-fluid > a {
  display: inline-flex;
  margin: 0 6px 12px 0;
  padding: 7px 11px;
  border: 1px solid var(--uz-line);
  border-radius: 999px;
  color: var(--uz-muted);
  background: rgba(255,255,255,.035);
  font-size: 12px;
}
.tag {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 12px 0 22px;
  padding: 18px 20px;
  border: 1px solid var(--uz-line);
  border-radius: 18px;
  background: linear-gradient(120deg, rgba(255,79,134,.12), rgba(155,92,255,.08));
}
.tag:after { content: ""; width: 54px; height: 4px; border-radius: 99px; background: linear-gradient(90deg, var(--uz-accent), var(--uz-accent-2)); }
.tag h1, .tag h2, .site h1 { margin: 0; color: #fff; font-weight: 700; font-size: clamp(22px,2.3vw,34px); letter-spacing: -.5px; }
.text-top-h1 { margin-left: auto; color: var(--uz-muted); font-size: 13px; }
.video-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 18px;
  margin: 0;
}
.video-grid > [class*="col-"] { float: none; width: auto; min-width: 0; padding: 0; }
.thumbnail {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--uz-line);
  border-radius: 16px;
  background: var(--uz-surface);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.thumbnail:before { display: none; }
.thumbnail:hover { transform: translateY(-5px); border-color: rgba(255,79,134,.75); box-shadow: var(--uz-shadow); }
.thumbnail-content { display: flex; height: 100%; flex-direction: column; color: var(--uz-text); }
.thumbnail-img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--uz-surface-2); }
.thumbnail-content span { display: -webkit-box; overflow: hidden; min-height: 50px; padding: 11px 12px 12px; color: #f3f4f9; font-size: 14px; font-weight: 500; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.time-video { display: block; right: 9px; bottom: 60px; padding: 3px 7px; border-radius: 7px; color: white; background: rgba(5,7,12,.82); font-size: 12px; }
.hd { top: 9px; left: 9px; padding: 3px 7px; border-radius: 7px; background: linear-gradient(135deg, var(--uz-accent), var(--uz-accent-2)); font-size: 11px; }
.favorite { top: 9px; right: 9px; z-index: 4; border-radius: 50%; background-color: rgba(8,10,17,.78); box-shadow: 0 4px 12px rgba(0,0,0,.3); }
.tag .switch { margin-left: 7px; }
input[type="checkbox"].switch { background: #3d4355; }
input[type="checkbox"].switch:checked { background: linear-gradient(90deg, var(--uz-accent), var(--uz-accent-2)); }
.content-row, .player, .player-footer, .site, .list li a {
  border-radius: 18px;
}
.player, .player-footer, .site { border: 1px solid var(--uz-line); background: var(--uz-surface); box-shadow: var(--uz-shadow); }
.player-footer { margin-top: 16px; padding: 22px; }
.player-title { color: #fff; }
.player-info, .player-info a { color: var(--uz-muted); }
.btn-download { display: inline-flex; margin-top: 14px; padding: 11px 17px; border-radius: 11px; color: #fff; background: linear-gradient(135deg, var(--uz-accent), var(--uz-accent-2)); font-weight: 700; }
.list { margin: 0; padding: 0; list-style: none; }
.list li { margin: 0 0 10px; }
.list li a { display: flex; align-items: center; justify-content: space-between; padding: 13px 15px; border: 1px solid var(--uz-line); color: #f1f2f7; background: var(--uz-surface); transition: border-color .2s ease, transform .2s ease; }
.list li a:hover { border-color: var(--uz-accent); transform: translateX(3px); background: var(--uz-surface-2); }
.list-label { border-radius: 999px; color: #fff; background: rgba(255,79,134,.2); }
.pagination { margin: 34px 0 0; }
.pagination > li > a, .pagination > li > span { min-width: 38px; margin: 0 3px; border: 1px solid var(--uz-line); border-radius: 10px; color: #fff; background: var(--uz-surface); }
.pagination > li > a:hover, .pagination > li.active > span { border-color: var(--uz-accent); background: var(--uz-accent); }
.text-warning { padding: 18px; border: 1px solid rgba(255,184,77,.35); border-radius: 14px; color: #ffd180; background: rgba(255,184,77,.08); }
.footer-inner { margin-top: auto; padding: 36px 20px 30px; border-top: 1px solid var(--uz-line); color: var(--uz-muted); background: #090a0f; }
.footer-intro { color: #d9dbea; }
.footer-inner a { color: #ff8faf; }
.copyright { max-width: 900px; margin: 20px auto 0; line-height: 1.7; text-align: center; }
@media (max-width: 1240px) { .video-grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }
@media (max-width: 980px) { .navbar { padding: 6px 12px; } .navbar-collapse { border: 0; } .navbar-nav { display: block; text-align: left; } .navbar-nav > li > a { margin: 2px 0; } .video-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } .text-top-h1 { display: none; } }
@media (max-width: 650px) { .main { padding: 18px 10px 34px; } .navbar-brand { font-size: 23px; } .tag { padding: 15px; border-radius: 15px; } .tag:after { display: none; } .video-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; } .thumbnail { border-radius: 13px; } .thumbnail-content span { min-height: 47px; padding: 9px; font-size: 13px; } .time-video { right: 6px; bottom: 54px; font-size: 11px; } .main > .container-fluid > a { margin-bottom: 8px; } }

.video-grid:before, .video-grid:after { display: none !important; content: none !important; }
.favorite, .favorite_file { display: none !important; }
/* Compact partners, footer and neutral pagination. */
.partner-links { display:flex; flex-wrap:wrap; gap:6px; max-width:760px; margin:0 0 16px; }
.partner-links br, .footer-partners br { display:none; }
.main > .container-fluid > .partner-links > a { margin:0; padding:5px 9px; border:1px solid #252b39; border-radius:8px; color:#aeb6c9; background:transparent; font-size:11px; line-height:1.2; }
.main > .container-fluid > .partner-links > a:hover { color:#fff; border-color:#46506a; background:#171b25; }
.footer-inner { padding:24px 16px 20px; }
.footer-intro { max-width:760px; margin:0 auto 14px; font-size:15px; line-height:1.45; }
.footer-partners { display:flex; flex-wrap:wrap; justify-content:center; gap:6px 12px; max-width:760px; margin:12px auto; }
.footer-inner .footer-partners a { color:#aeb6c9; font-size:12px; }
.footer-inner .footer-partners a:hover { color:#fff; }
.copyright { max-width:760px; margin:12px auto 0; font-size:11px; line-height:1.55; }
.pagination > li > a, .pagination > li > span { border-color:#252b39; color:#d8dce7; background:#151923; }
.pagination > li > a:hover, .pagination > li.active > span { border-color:#e6e8ed; color:#12131b; background:#e6e8ed; }
.pagination > li.active > a { border-color:#e6e8ed; color:#12131b; background:#e6e8ed; }
/* Mobile pagination and compact type. */
.tag h1, .tag h2, .site h1 { font-size:clamp(21px, 1.8vw, 28px); letter-spacing:0; }
.footer-inner h2, .site h2 { font-size:clamp(20px, 1.6vw, 25px); line-height:1.2; }
.pagination { margin:14px 0 6px; padding:0; }
.pagination > ul { margin:6px 0; }
.pagination > ul > li { margin:0 2px 3px; }
.pagination > ul > li > a, .pagination > ul > li > span { min-width:36px; padding:6px 10px; border:1px solid #28456b; border-radius:8px; color:#e7f0ff; background:#16263f; font-size:14px; line-height:1.35; }
.pagination > ul > li > a:hover, .pagination > ul > li > a:focus, .pagination > ul > .active > a, .pagination > ul > .active > span { border-color:#4aa3ff; color:#fff; background:#2f80ed; }
.pagination-prev > a, .pagination-prev > span, .pagination-next > a, .pagination-next > span { width:36px !important; height:36px !important; padding:0 !important; border-radius:50% !important; line-height:34px !important; font-size:22px !important; }
@media (max-width: 767px) {
  .main { padding:12px 10px 20px; }
  .page-pc { display:inline-block !important; }
  .page-mobile { display:none !important; }
  .pagination > ul { margin:5px 0; }
  .pagination > ul > li { margin:0 1px 3px; }
  .pagination > ul > li > a, .pagination > ul > li > span { min-width:32px; padding:6px 8px; font-size:13px; }
  .tag h1, .tag h2, .site h1 { font-size:22px; }
  .footer-inner h2, .site h2 { font-size:22px; }
}
/* Video page: focused heading and full-width responsive player. */
.video-heading { max-width:1180px; margin:4px auto 14px; padding:0 2px; }
.video-heading-title { margin:0; color:#f4f6fb; font-size:clamp(22px, 2.25vw, 32px); font-weight:700; line-height:1.18; letter-spacing:-.25px; }
.content-row { max-width:1180px; margin:0 auto; }
.content-row > .content > .player { overflow:hidden; border:1px solid var(--uz-line); border-radius:18px; background:#05070b; box-shadow:var(--uz-shadow); }
.content-row .player-content, .content-row .player-content .video { width:100%; min-width:0; margin:0; }
#player8807 { width:100% !important; height:auto !important; aspect-ratio:16 / 9; margin:0 !important; overflow:hidden; background:#05070b; }
#player8807 iframe { display:block; width:100%; height:100%; border:0; }
.player-footer { max-width:1180px; margin:14px auto 0; padding:18px 20px; }
.player-footer .player-info { font-size:14px; line-height:1.55; }
.player-footer .list-inline { margin:10px 0 0; }
@media (max-width: 767px) {
  .video-heading { margin:2px auto 10px; }
  .video-heading-title { font-size:22px; line-height:1.25; }
  .content-row > .content > .player { border-radius:13px; }
  .player-footer { margin-top:10px; padding:15px; border-radius:13px; }
}
/* Tighten the list-to-footer transition. */
.main { padding-bottom:18px; }
.footer-inner { padding-top:20px; padding-bottom:16px; }
.footer-inner .copyright { padding-top:0; margin-top:8px; }
.footer-partners { margin:8px auto; }
.footer-intro { margin-bottom:8px; }
/* Targeted type scale. */
.main > .container-fluid > .partner-links > a { padding:7px 12px; font-size:13px; }
.home-heading h1 { font-size:clamp(19px, 1.55vw, 24px); font-weight:650; }
.video-related-heading h2 { font-size:clamp(18px, 1.35vw, 22px); font-weight:650; }
@media (max-width:767px) {
  .main > .container-fluid > .partner-links > a { padding:6px 10px; font-size:12px; }
  .home-heading h1 { font-size:20px; }
  .video-related-heading h2 { font-size:19px; }
}
/* Remove title ornament; reuse the search accent for pagination. */
.tag:after { display:none; }
.pagination > ul > li > a, .pagination > ul > li > span { border-color:transparent; color:#fff; background:linear-gradient(135deg, var(--uz-accent), var(--uz-accent-2)); }
.pagination > ul > li > a:hover, .pagination > ul > li > a:focus, .pagination > ul > .active > a, .pagination > ul > .active > span { border-color:transparent; color:#fff; background:linear-gradient(135deg, #ff5b9c, #b869ff); box-shadow:0 4px 12px rgba(185,105,255,.28); }
/* Consistent section headings and aligned result counts. */
.tag h1 { font-size:clamp(20px, 1.5vw, 24px); font-weight:650; letter-spacing:0; }
.list-link { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.list-label { display:inline-flex; flex:0 0 58px; min-width:58px; align-items:center; justify-content:center; padding:3px 8px; font-variant-numeric:tabular-nums; text-align:center; line-height:1.2; }
@media (max-width:767px) {
  .tag h1 { font-size:21px; }
  .list-label { flex-basis:52px; min-width:52px; padding:3px 6px; }
}
/* Video taxonomy: high-contrast text without the legacy yellow hover. */
.player-footer .link-file { padding:2px 4px; border:1px solid #30283a; border-radius:5px; color:#fff; background:#211b29; line-height:1.55; text-shadow:0 1px 0 rgba(0,0,0,.35); }
.player-footer .link-file:hover { color:#fff; border-color:#716282; background:#332b3e; text-decoration:none; }
.player-footer .link-file:focus { outline:2px solid #d9dcff; outline-offset:1px; color:#fff; background:#332b3e; }
/* Separate video title from the screenshot in every thumbnail grid. */
.thumbnail-content { position:relative; }
.thumbnail-content span { position:relative !important; right:auto !important; bottom:auto !important; left:auto !important; display:-webkit-box; flex:1 0 56px; min-height:56px; margin:0; padding:9px 10px 10px; color:#fff; background:#131622; text-shadow:none; z-index:1; }
.time-video { position:absolute !important; top:auto !important; right:8px; bottom:66px !important; z-index:2; }
@media (max-width:650px) {
  .thumbnail-content span { flex-basis:52px; min-height:52px; padding:8px 9px 9px; }
  .time-video { right:6px; bottom:61px !important; }
}
/* Mobile menu must form a layer above page content. */
@media (max-width:980px) {
  .navbar { position:relative; z-index:1000; overflow:visible; }
  .navbar .navbar-collapse { position:absolute; top:100%; right:0; left:0; z-index:1001; padding:10px 14px 14px; border:1px solid var(--uz-line); border-radius:0 0 16px 16px; background:#10131d; box-shadow:0 18px 36px rgba(0,0,0,.46); }
  .navbar .navbar-collapse.in { overflow:visible; }
  .navbar .navbar-nav { margin:0 0 8px; }
  .navbar .navbar-nav > li > a { padding:9px 2px; }
  .navbar .navbar-form { margin:8px 0 0; padding:0; border:0; }
}
/* Keep duration tight to the screenshot corner. */
.time-video { right:4px; bottom:60px !important; }
@media (max-width:650px) { .time-video { right:3px; bottom:55px !important; } }

/* Accessibility contrast: keep secondary video text readable on dark surfaces. */
.player-footer { color: #f1f3f8; }
.player-info, .player-info a, .share-video, .share-video span { color: #f1f3f8; }
.player-info .link-file { color: #ffffff; background: #9b3f68; }
