/* ==========================================================================
   BoysXclusive — capa de modernización sobre Ultimate Theme 2
   Se carga DESPUÉS de black_orange.css. Todo lo nuevo usa el prefijo bx-.
   ========================================================================== */

/* ---------- Paleta ---------- */
html {
  --bx-brand: #0b5cff;
  --bx-brand-2: #39a0ff;
  --bx-grad: linear-gradient(90deg, #0b5cff, #39a0ff);
  --bx-panel: #0e1a38;
  --bx-panel-2: #16264d;
  --bx-line: rgba(140, 175, 255, .16);
  --bx-text-2: #b9c6e4;
  --bx-radius: 8px;
  --bx-page-bg: radial-gradient(1200px 700px at 100% 0%, #0d2a66 0%, transparent 60%),
                radial-gradient(900px 900px at 0% 45%, #0a1f4d 0%, transparent 65%),
                linear-gradient(180deg, #060d20 0%, #050a18 100%);
  --bx-header-bg: #060d20;
  --bx-drawer-bg: linear-gradient(160deg, #0c2052 0%, #071230 55%, #050a18 100%);

  --main-background: #050a18;
  --header-background: #060d20;
  --header-background2: #060d20;
  --thumb-box-bg: #0e1a38;
  --thumb-placeholder-bg: #0e1a38;
  --footer-bg: transparent;
  --footer-box-bg: #0e1a38;
  --pagination-bg: #0e1a38;
  --sort-bg: #0e1a38;
  --tags-link-bg: #0e1a38;
  --tags-link-bg-hover: #16264d;
  --input-bg: #0e1a38;
  --btn-bg: #0e1a38;
  --btn-report: #16264d;
  --input-bg2: #16264d;
  --input-upload-bg: #060d20;
  --member-menu-bg: #0e1a38;
  --img-placeholder-bg: #0a1430;
  --img-placeholder-bg2: #0e1a38;
  --img-placeholder-bg3: #0e1a38;
  --profile-bg: #0a1430;
  --profile-sort-bg: #0e1a38;
  --community-sort-bg: #0e1a38;
  --thumbs-bottom-btn-bg: #0e1a38;
  --checkbox-bg: #060d20;
  --radio-bg: #0e1a38;
  --comment-item-bg: #0a1430;
  --modal-bg: #0a1430;
  --subscribe-bg: #16264d;
  --video-sub-btn-count: #0a1430;
  --video-sub-btn-color: #fff;
  --sort-box-bg: #0e1a38;
  --embed-button-bg: #16264d;
  --profile-heading-btn-bg: #16264d;
  --profile-heading-btn-color: #fff;
  --subscription-bg: #0a1430;
  --subscription-btn-bg: #16264d;
  --suggestion-bg: #0e1a38;
  --suggestion-group-bg: #060d20;
  --comment-like-bg: #16264d;
  --main-grey-color: #b9c6e4;
  --subscribe-color: #8795b8;
  --upload-title-color: #8795b8;
  --comment-like-color: #8795b8;
  --input-color2: #8795b8;
  --header-border: 1px solid rgba(140, 175, 255, .16);
  --profile-sort-border: 1px solid rgba(140, 175, 255, .16);
  --video-controls-border: 1px solid rgba(140, 175, 255, .16);
  --community-item-border: 6px solid #050a18;
  --community-filter-border: 1px solid rgba(140, 175, 255, .16);
  --community-filter-input-border: 1px solid rgba(140, 175, 255, .25);
  --sort-box-pseudo: #060d20;
  --swiper-btn-prev: linear-gradient(90deg, #050a18 52.6%, rgba(5, 10, 24, 0) 100%);
  --swiper-btn-next: linear-gradient(270deg, #050a18 52.6%, rgba(5, 10, 24, 0) 100%);
}

html.light {
  --bx-panel: #e6edfb;
  --bx-panel-2: #d5e1f9;
  --bx-line: rgba(11, 60, 160, .16);
  --bx-text-2: #33456e;
  --bx-page-bg: radial-gradient(1200px 700px at 100% 0%, #cfe0ff 0%, transparent 60%), linear-gradient(180deg, #f6f9ff, #eef3fc);
  --bx-header-bg: #ffffff;
  --bx-drawer-bg: linear-gradient(160deg, #ffffff, #e6eefc);

  --main-background: #eef3fc;
  --header-background: #ffffff;
  --header-background2: #ffffff;
  --thumb-box-bg: #e6edfb;
  --thumb-placeholder-bg: #dbe5f8;
  --footer-bg: transparent;
  --footer-box-bg: #e6edfb;
  --pagination-bg: #e6edfb;
  --sort-bg: #e6edfb;
  --tags-link-bg: #e6edfb;
  --tags-link-bg-hover: #d5e1f9;
  --btn-bg: #e6edfb;
  --btn-report: #e6edfb;
  --member-menu-bg: #e6edfb;
  --img-placeholder-bg: #dbe5f8;
  --img-placeholder-bg2: #dbe5f8;
  --tags-link-border: none;
  --tags-link-color: #071230;
  --header-border: 1px solid rgba(11, 60, 160, .16);
  --swiper-btn-prev: linear-gradient(90deg, #eef3fc 52.6%, rgba(238, 243, 252, 0) 100%);
  --swiper-btn-next: linear-gradient(270deg, #eef3fc 52.6%, rgba(238, 243, 252, 0) 100%);
}

/* ---------- Base ---------- */
html body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--main-background);
  background-image: var(--bx-page-bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}
html body input, html body button, html body select, html body textarea { font-family: inherit; }
html .wrapper { background: transparent; }

/* ---------- Header ---------- */
html .header {
  position: sticky; top: 0; z-index: 50;
  display: flex; flex-direction: column;
  background: var(--bx-header-bg);
  border-bottom: 1px solid var(--bx-line);
}
html .header .header-holder { order: 1; background: transparent; border: 0; }
html .header .header-links { order: 2; background: transparent; border: 0; }
html .header .header-links .header-inner { gap: 6px; padding: 0 0 10px; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
html .header .header-links .header-inner::-webkit-scrollbar { display: none; }
html .header .header-links a {
  display: inline-flex; align-items: center; gap: 6px; margin: 0;
  padding: 6px 12px; border-radius: var(--bx-radius);
  font-weight: 600; font-size: 13px; white-space: nowrap; color: var(--general-color);
}
html .header .header-links a:hover { background: var(--bx-panel); color: var(--general-color); }
html .header .header-links a i { color: var(--bx-brand-2); }
html .header .container { max-width: none; padding-left: 20px; padding-right: 20px; }
html .header .header-holder .header-inner { gap: 14px; padding-top: 12px; padding-bottom: 12px; align-items: center; }

html .header .logo { flex: none; width: auto; max-width: none; margin: 0; }
html .header .logo img, html .footer .logo img { height: 20px; width: auto; max-width: 100%; display: block; }
html .header .logo img + img, html .footer .logo img + img { display: none !important; }
html .header .logo img:first-child, html .footer .logo img:first-child { display: block !important; }
html .footer .logo img { height: 20px; }

@media (min-width: 1025px) {
  html .header .search { flex: 1 1 auto; max-width: 560px; margin: 0 auto 0 24px; }
}
html .header .search .search-inner {
  display: flex; align-items: center; height: 40px; padding: 0 4px 0 6px;
  border-radius: var(--bx-radius); background: var(--bx-panel); border: 1px solid transparent;
}
html .header .search .search-inner:focus-within { border-color: var(--bx-brand-2); }
html .header .search input[type=text] {
  flex: 1; min-width: 0; height: 38px; padding: 0 10px; border: 0; background: transparent;
  color: var(--general-color); font-size: 14px; border-radius: 0; box-shadow: none;
}
html .header .search .btn-search {
  position: static; flex: none; width: 32px; height: 32px; border-radius: 6px;
  background: var(--bx-grad); color: #fff; display: grid; place-items: center; transform: none;
}
html .header .search .btn-search i, html .header .search .btn-search svg { color: #fff; fill: #fff; }

html .header .buttons-col { gap: 8px; align-items: center; margin: 0; }
html .header .buttons-col > * { margin: 0; }
html .header .buttons-col .upload-btn,
html .header .buttons-col .toggleTheme,
html .header .buttons-col .lang-item,
html .header .mebers-block > span,
html .header .mebers-block > a,
html .header .mebers-switcher {
  height: 40px; padding: 0 14px; border-radius: var(--bx-radius);
  background: var(--bx-panel); color: var(--general-color);
  font-weight: 600; font-size: 13px; line-height: 1; white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  box-shadow: none; border: 0; margin: 0; cursor: pointer;
  transition: background .15s, filter .15s;
}
html .header .buttons-col .upload-btn:hover,
html .header .buttons-col .toggleTheme:hover,
html .header .buttons-col .lang-item:hover,
html .header .mebers-block > span:hover,
html .header .mebers-block > a:hover,
html .header .mebers-switcher:hover { background: var(--bx-panel-2); color: var(--general-color); }
html .header .buttons-col .toggleTheme { width: 40px; padding: 0; }
html .header .mebers-block { gap: 8px; align-items: center; }
html .header .mebers-block #signup { background: var(--bx-grad); color: #fff; }
html .header .mebers-block #signup:hover { filter: brightness(1.1); background: var(--bx-grad); }
html .header .buttons-col .upload-btn i, html .header .buttons-col .upload-btn svg { color: inherit; fill: currentColor; }

/* iconos del menú */
.bx-ico { display: inline-grid; place-items: center; flex: none; font-style: normal; }
.bx-ico svg { width: 20px; height: 20px; fill: currentColor; display: block; }

/* ---------- Escritorio: barra lateral de iconos ---------- */
@media (min-width: 1025px) {
  html .header .header-nav {
    position: fixed; left: 0; top: 132px; z-index: 40; width: 78px;
    max-height: calc(100vh - 148px); overflow-y: auto; scrollbar-width: none;
    padding: 8px; background: var(--bx-header-bg);
    border: 1px solid var(--bx-line); border-left: 0; border-radius: 0 12px 12px 0;
  }
  html .header .header-nav::-webkit-scrollbar { display: none; }
  html .header .header-nav .container { padding: 0; width: auto; }
  html .header .header-nav .header-inner { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 2px; padding: 0; }
  html .header .header-nav .nav-link {
    display: grid; justify-items: center; gap: 4px; padding: 9px 2px;
    border-radius: var(--bx-radius); font-size: 10.5px; line-height: 1.2; font-weight: 600;
    white-space: normal; color: var(--bx-text-2);
  }
  html .header .header-nav .nav-link::before { display: none; }
  html .header .header-nav .nav-link:hover { background: var(--bx-panel); color: var(--general-color); }
  html .header .header-nav .nav-link.active { background: var(--bx-panel-2); color: var(--general-color); }
  html .header .header-nav .nav-link.active .bx-ico { color: var(--bx-brand-2); }
  html .main, html .footer { margin-left: 86px; }
}

/* ---------- Móvil: menú lateral ---------- */
@media (max-width: 1024px) {
  html .header .container { padding-left: 12px; padding-right: 12px; }
  html .header .header-holder .header-inner { padding-top: 10px; padding-bottom: 10px; }
  html .header .logo { margin: 0 auto; }
  html .header .logo img { height: 18px; }
  html .header .header-links .header-inner { padding-bottom: 8px; }
  html .menu-icon { width: 22px; height: 16px; flex: none; }

  html .header .header-nav {
    position: fixed; top: 0; left: 0; z-index: 70;
    width: min(330px, 86vw); height: 100vh; height: 100dvh; min-height: 0;
    background: var(--bx-drawer-bg); border-right: 1px solid var(--bx-line);
    transform: translateX(-102%); opacity: 1; visibility: hidden;
    transition: transform .28s cubic-bezier(.2, .7, .2, 1), visibility .28s;
    overflow-y: auto; overflow-x: hidden; display: block;
  }
  html body.nav-open .header .header-nav { transform: none; visibility: visible; box-shadow: 0 0 0 100vmax rgba(2, 6, 18, .7); }
  html .header .header-nav .container { padding: 0 20px; }
  html .header .header-nav .header-inner {
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 2px; padding: 72px 0 40px;
  }
  html body.nav-open .menu-icon { position: fixed; top: 24px; left: 22px; z-index: 80; }

  html .header .header-nav .nav-link {
    display: flex; align-items: center; gap: 16px; height: 50px; padding: 0 16px;
    border-radius: var(--bx-radius); font-size: 15px; font-weight: 700; text-align: left;
    color: var(--general-color);
  }
  html .header .header-nav .nav-link::before { display: none; }
  html .header .header-nav .nav-link:hover,
  html .header .header-nav .nav-link.active { background: var(--bx-panel); color: var(--general-color); }
  html .header .header-nav .nav-link.active .bx-ico { color: var(--bx-brand-2); }

  /* botones arriba del menú */
  html .header .header-nav .buttons-col.mobile {
    order: -2; display: flex; flex-direction: column; align-items: stretch; gap: 10px;
    padding: 0 0 14px; margin: 0 0 12px; border-bottom: 1px solid var(--bx-line); position: static; width: auto;
  }
  html .header .header-nav .buttons-col.mobile .mebers-block { order: -1; display: flex; flex-direction: column-reverse; gap: 10px; }
  html .header .header-nav .buttons-col.mobile .mebers-block a,
  html .header .header-nav .buttons-col.mobile .upload-btn,
  html .header .header-nav .buttons-col.mobile .lang-item {
    width: 100%; height: 42px; border-radius: var(--bx-radius); background: var(--bx-panel);
    font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; gap: 8px;
    color: var(--general-color); margin: 0; padding: 0 14px; box-shadow: none;
  }
  html .header .header-nav .buttons-col.mobile .mebers-block #signup { background: var(--bx-grad); color: #fff; }
  html .header .header-nav .buttons-col.mobile .upload-holder { width: 100%; }
  html .header .header-nav .toggleTheme.mobile {
    order: -1; position: absolute; top: 14px; right: 16px; width: 42px; height: 42px;
    border-radius: var(--bx-radius); background: var(--bx-panel); display: grid; place-items: center; margin: 0;
  }
}

/* ---------- Contenedor ---------- */
html .main > .container, html .footer .container { max-width: 1320px; }

/* ---------- Portada: intro + destacado ---------- */
.bx-intro { text-align: center; padding: 22px 0 16px; }
.bx-intro h1 { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.25; font-weight: 700; letter-spacing: -.01em; color: var(--general-color); margin: 0; }
.bx-intro p { margin: 8px auto 0; max-width: 820px; color: var(--bx-text-2); font-size: 14px; line-height: 1.5; }

.bx-hero { display: grid; grid-template-columns: 2.1fr 1fr; gap: 14px; margin-bottom: 38px; }
.bx-hero > :only-child { grid-column: 1 / -1; }
.bx-hero:empty { display: none; }
.bx-hero-card {
  position: relative; min-height: 420px; border-radius: 12px; overflow: hidden;
  display: flex; align-items: flex-end; color: #fff; text-decoration: none;
  background: radial-gradient(90% 120% at 70% 20%, #2f7dff, #0a2a78 55%, #050f2c);
}
.bx-hero-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.bx-hero-card:hover > img { transform: scale(1.03); }
.bx-hero-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(3, 8, 22, .92) 0%, rgba(3, 8, 22, .35) 45%, transparent 70%); }
.bx-hero-body { position: relative; z-index: 2; padding: 22px; max-width: 760px; }
.bx-hero-meta { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.bx-tag { font-size: 11.5px; font-weight: 600; line-height: 1.4; padding: 3px 9px; border-radius: 6px; background: rgba(3, 8, 22, .7); color: #fff; }
.bx-tag-hot { color: #6db8ff; }
.bx-hero-body h2 { font-size: clamp(20px, 2.6vw, 30px); line-height: 1.2; font-weight: 800; color: #fff; margin: 0; }
.bx-hero-model .bx-hero-body h2 { font-size: 22px; }
.bx-hero-body p { color: rgba(255, 255, 255, .82); margin: 10px 0 0; font-size: 14px; line-height: 1.5; }
.bx-hero-actions { margin-top: 16px; display: flex; gap: 8px; }
.bx-btn { height: 38px; padding: 0 16px; border-radius: var(--bx-radius); font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; }
.bx-btn-solid { background: var(--bx-grad); color: #fff; }
.bx-hero-card:hover .bx-btn-solid { filter: brightness(1.12); }

/* ---------- Títulos de sección ---------- */
html .heading { align-items: center; gap: 10px; margin-bottom: 14px; }
html .heading .title { font-size: 20px; line-height: 1.3; font-weight: 700; letter-spacing: 0; text-transform: none; }
html .heading .more-title,
html .sort .sort-title {
  height: 36px; padding: 0 14px; border-radius: var(--bx-radius); background: var(--bx-panel);
  color: var(--general-color); font-weight: 600; font-size: 13px;
  display: inline-flex; align-items: center; gap: 7px; border: 0; min-width: 0;
}
html .heading .more-title:hover, html .sort .sort-title:hover { background: var(--bx-panel-2); color: var(--general-color); }
html .sort .sort-drop { border-radius: var(--bx-radius); background: var(--bx-panel); border: 1px solid var(--bx-line); }
html .section-row { margin-top: 38px; }

/* ---------- Tarjetas ---------- */
html .thumb .img-holder { border-radius: var(--bx-radius); overflow: hidden; background: var(--thumb-placeholder-bg); }
html .thumb .img-holder img { transition: transform .4s; }
html .thumb:hover .img-holder img { transform: scale(1.05); }
html .thumb .img-holder .item-bottom { position: static; padding: 0; background: none; }
html .thumb .img-holder .item-bottom .qualtiy,
html .thumb .img-holder .item-bottom .time {
  position: absolute; z-index: 2; margin: 0; padding: 3px 7px; border-radius: 6px; border: 0;
  background: rgba(3, 8, 22, .78); color: #fff; font-size: 11px; line-height: 1.4; font-weight: 700;
}
html .thumb .img-holder .item-bottom .qualtiy { top: 8px; left: 8px; }
html .thumb .img-holder .item-bottom .time { right: 8px; bottom: 8px; }
html .thumb .title { margin-top: 9px; font-weight: 700; font-size: 13.5px; line-height: 1.35; color: var(--general-color); }
html .thumb a:hover .title { color: var(--bx-brand-2); }
html .thumb .thumb-bottom { margin-top: 3px; font-size: 12px; color: var(--bx-text-2); }
html .thumb .thumb-bottom .thumb-item { color: var(--bx-text-2); }

/* ---------- Paginación ---------- */
html .pagination a, html .pagination span { border-radius: 50%; font-weight: 700; }
html .pagination .active, html .pagination .page-current span { background: var(--bx-grad); color: #fff; }

/* ---------- Tags ---------- */
html .tags-row a { border-radius: var(--bx-radius); font-weight: 600; text-transform: none; }
html .tags-row a:hover { color: var(--bx-brand-2); }

/* ---------- Texto SEO ---------- */
html .description-holder { border-left: 3px solid var(--bx-brand-2); background: var(--bx-panel); border-radius: 0 var(--bx-radius) var(--bx-radius) 0; padding: 16px 18px; }

/* ---------- Footer ---------- */
html .footer { margin-top: 56px; background: transparent; border: 0; }
html .footer .container { background: var(--bx-panel); border-radius: 14px 14px 0 0; padding: 28px; }
html .footer .footer-nav a, html .footer .footer-nav span { text-transform: none; font-weight: 600; font-size: 13px; }
html .footer .footer-nav a:hover, html .footer .footer-nav span:hover { color: var(--bx-brand-2); }

/* ---------- Ventanas y formularios ---------- */
html .fancybox-skin { border-radius: 14px; }
html .btn, html input[type=submit], html .submit { border-radius: var(--bx-radius); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .bx-hero { grid-template-columns: 1fr; }
  .bx-hero-card { min-height: 300px; }
  .bx-hero-model { min-height: 260px; }
  .bx-intro { padding-top: 16px; }
  html .section-row { margin-top: 30px; }
  html .footer .container { padding: 22px 16px; border-radius: 12px 12px 0 0; }
}

/* ---------- Iconos de línea: subir, tema, idioma ---------- */
svg.bx-line { width: 18px; height: 18px; flex: none; display: block; fill: none !important; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
html .header .upload-btn i, html .header .toggleTheme i, html .header .lang-item i { display: inline-grid; place-items: center; width: auto; height: auto; margin: 0; padding: 0; background: none; font-style: normal; position: static; transform: none; }
html .header .toggleTheme .icon-moon { display: none; }
html.light .header .toggleTheme .icon-moon { display: inline-grid; }
html.light .header .toggleTheme .icon-sun { display: none; }
html .header .lang-item { gap: 7px; }
html .header .lang-item i svg.bx-line { width: 14px; height: 14px; transition: transform .2s; }
html .header .leng-holder.lang-open .lang-item i { transform: none; }
html .header .leng-holder.lang-open .lang-item i svg.bx-line { transform: rotate(180deg); }
.bx-lang-code { font-weight: 700; font-size: 12.5px; letter-spacing: .04em; }
html .header .leng-holder .drop { border-radius: var(--bx-radius); background: var(--bx-panel); border: 1px solid var(--bx-line); padding: 6px; min-width: 170px; overflow: hidden; }
html .header .leng-holder .drop a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 6px; font-weight: 600; font-size: 13px; color: var(--general-color); cursor: pointer; }
html .header .leng-holder .drop a:hover { background: var(--bx-panel-2); }
html .header .leng-holder .drop a .bx-lang-code { min-width: 30px; text-align: center; padding: 2px 0; border-radius: 4px; background: var(--bx-panel-2); color: var(--bx-brand-2); font-size: 11px; }
html .header .leng-holder .drop a:hover .bx-lang-code { background: var(--bx-brand); color: #fff; }

/* ==========================================================================
   Página de video
   ========================================================================== */
html { --bx-card: rgba(14, 26, 56, .72); }
html.light { --bx-card: #ffffff; }

.bx-card { background: var(--bx-card); border: 1px solid var(--bx-line); border-radius: 12px; padding: 18px; margin-bottom: 18px; }
.bx-card-title { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; color: var(--general-color); padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--bx-line); }
.bx-card-title svg { width: 18px; height: 18px; fill: var(--bx-brand-2); color: var(--bx-brand-2); }

html .bx-video-page .video-holder, html .bx-video-page .video-inner { background: none; padding: 0; border: 0; }
html .bx-video-page .video-cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
html .bx-video-page .col-video, html .bx-video-page .col-asside { width: auto; max-width: none; min-width: 0; margin: 0; padding: 0; flex: none; }

.bx-breadcrumb { display: flex; align-items: center; gap: 8px; margin: 4px 0 14px; font-size: 13px; font-weight: 500; color: var(--bx-text-2); min-width: 0; }
.bx-breadcrumb a { color: var(--bx-text-2); white-space: nowrap; }
.bx-breadcrumb a:hover { color: var(--bx-brand-2); }
.bx-breadcrumb i { font-style: normal; opacity: .6; }
.bx-breadcrumb span { color: var(--general-color); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

html .bx-video-page .player { border-radius: 10px; overflow: hidden; margin: 0; background: #000; }
html .bx-video-page .col-video > .link-offer, html .bx-video-page .col-video > .table { margin: 14px 0 0; }

.bx-vhead { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin: 16px 0 20px; }
.bx-vhead-main { min-width: 0; }
html .bx-vhead .title { font-size: 22px; line-height: 1.25; font-weight: 800; letter-spacing: -.01em; color: var(--general-color); margin: 0; text-transform: none; }
.bx-vmeta { margin-top: 8px; font-size: 13px; color: var(--bx-text-2); display: flex; flex-wrap: wrap; }
.bx-vmeta span + span::before { content: "•"; margin: 0 7px; opacity: .7; }
.bx-vactions { display: flex; align-items: center; gap: 8px; flex: none; }
html .bx-vactions .rate-holder, html .bx-vactions .btn-favourites { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; background: none; border: 0; }
html .bx-vactions .btn-holder { margin: 0; }
html .bx-vactions .btn {
  height: 38px; min-width: 38px; padding: 0 12px; margin: 0; border-radius: var(--bx-radius); border: 0;
  background: var(--bx-panel); color: var(--general-color); font-weight: 700; font-size: 13px; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; box-shadow: none;
}
html .bx-vactions .btn:hover { background: var(--bx-panel-2); color: var(--general-color); }
html .bx-vactions .btn i { display: inline-grid; place-items: center; margin: 0; }
html .bx-vactions .btn svg { width: 17px; height: 17px; fill: currentColor; }
html .bx-vactions .rate-like.voted, html .bx-vactions .rate-like:hover svg { color: var(--bx-brand-2); }
html .bx-vactions .voters:empty { display: none; }
html .bx-vactions .voters { font-size: 12px; color: var(--bx-text-2); }

html .bx-vdetails .video-controls { background: none; border: 0; padding: 0; margin: 0; display: block; }
html .bx-vdetails .sort-control { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; width: auto; margin: 0; padding: 0; justify-content: flex-start; }
html .bx-vdetails .sort-control .btn-holder { margin: 0; }
html .bx-vdetails .sort-control .btn-holder:has(a[href="#tab3"]) { margin-left: auto; }
html .bx-vdetails .sort-control .btn {
  height: 36px; padding: 0 14px; margin: 0; border-radius: var(--bx-radius); border: 0;
  background: var(--bx-panel-2); color: var(--general-color); font-weight: 700; font-size: 13px; line-height: 1;
  display: inline-flex; align-items: center; gap: 7px; box-shadow: none;
}
html .bx-vdetails .sort-control .btn i { display: inline-grid; place-items: center; margin: 0; }
html .bx-vdetails .sort-control .btn svg { width: 15px; height: 15px; fill: currentColor; }
html .bx-vdetails .sort-control .btn.active { background: var(--bx-grad); color: #fff; }
html .bx-vdetails .block-tabs { margin: 16px 0 0; padding: 0; background: none; border: 0; }
html .bx-vdetails .tab-content { padding: 0; background: none; }

.bx-vuser { display: inline-flex; align-items: center; gap: 10px; color: var(--general-color); }
.bx-vuser-av, .bx-chip-av { flex: none; border-radius: 50%; overflow: hidden; background: var(--bx-panel-2); display: grid; place-items: center; color: var(--bx-text-2); }
.bx-vuser-av { width: 40px; height: 40px; }
.bx-vuser-av img, .bx-chip-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bx-vuser-av svg { width: 18px; height: 18px; fill: currentColor; }
.bx-vuser-txt b { display: block; font-size: 14px; font-weight: 700; }
.bx-vuser-txt small { display: block; font-size: 12px; color: var(--bx-text-2); }
.bx-vuser:hover b { color: var(--bx-brand-2); }
.bx-vlabel { font-size: 13.5px; font-weight: 700; color: var(--general-color); margin: 18px 0 6px; }
html .bx-vdetails .description { font-size: 14px; line-height: 1.55; color: var(--bx-text-2); margin: 0; padding: 0; }
.bx-vrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.bx-vrow .bx-vlabel { margin: 0 4px 0 0; }
.bx-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: var(--bx-radius); background: var(--bx-panel-2); color: var(--general-color); font-size: 12.5px; font-weight: 600; line-height: 1.3; }
a.bx-chip[href]:hover { background: var(--bx-brand); color: #fff; }
.bx-chip-model { padding: 4px 14px 4px 4px; border-radius: 999px; }
.bx-chip-av { width: 28px; height: 28px; }
.bx-chip-av svg { width: 13px; height: 13px; fill: currentColor; }

html .bx-vcomments .comment-holder, html .bx-vcomments .block-comments { background: none; padding: 0; margin: 0; border: 0; }

/* columna derecha */
html .bx-video-page .asside-thumb, html .bx-video-page .asside-link { background: var(--bx-card); border: 1px solid var(--bx-line); border-radius: 12px; padding: 14px; margin: 0 0 18px; width: auto; }
html .bx-video-page .asside-thumb .title-asside { font-size: 14px; font-weight: 700; letter-spacing: 0; text-transform: none; text-align: left; color: var(--general-color); margin: 0 0 12px; padding: 0; }
html .bx-video-page .asside-thumb .thumbs { display: flex; flex-direction: column; gap: 10px; margin: 0; width: auto; }
html .bx-video-page .asside-thumb .thumb { width: auto; max-width: none; margin: 0; padding: 0; float: none; }
html .bx-video-page .asside-thumb .thumb > a { display: flex; align-items: center; gap: 10px; }
html .bx-video-page .asside-thumb .thumb .img-holder { width: 118px; flex: none; }
html .bx-video-page .asside-thumb .thumb .thumb-info { min-width: 0; flex: 1; padding: 0; position: static; background: none; }
html .bx-video-page .asside-thumb .thumb .title { margin: 0; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html .bx-video-page .asside-thumb .thumb .thumb-bottom { font-size: 11.5px; margin-top: 4px; }
html .bx-video-page .asside-thumb .thumb .thumb-item-date { display: none; }
html .bx-video-page .asside-thumb .item-top { display: none; }
html .bx-video-page .asside-link .title { font-size: 11px; letter-spacing: .3em; color: var(--bx-text-2); margin-bottom: 12px; }

/* relacionados */
html .bx-video-page .ralated-holder { margin-top: 30px; }
html .bx-video-page .ralated-holder .sort-holder { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 14px; padding: 0; border: 0; background: none; }
html .bx-video-page .ralated-holder .sort-holder span { font-size: 20px; font-weight: 700; color: var(--general-color); padding: 0; margin-right: 6px; }
html .bx-video-page .ralated-holder .sort-holder span::before { display: none; }
html .bx-video-page .ralated-holder .sort-holder a { height: 34px; padding: 0 14px; border-radius: var(--bx-radius); background: var(--bx-panel); color: var(--general-color); font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; cursor: pointer; margin: 0; }
html .bx-video-page .ralated-holder .sort-holder a:hover { background: var(--bx-panel-2); }

@media (max-width: 1024px) {
  html .bx-video-page .video-cols { grid-template-columns: minmax(0, 1fr); }
  .bx-vhead { flex-direction: column; gap: 12px; margin: 14px 0 16px; }
  html .bx-vhead .title { font-size: 19px; }
  .bx-card { padding: 14px; }
  html .bx-vdetails .sort-control .btn-holder:has(a[href="#tab3"]) { margin-left: 0; }
}

/* ---------- Tags populares (portada, al final) ---------- */
.bx-tags .heading .title { display: inline-flex; align-items: center; gap: 9px; }
.bx-tags-ico { width: 20px; height: 20px; fill: var(--bx-brand-2); flex: none; }
html .bx-tags .tags-row { margin: 0; padding: 0; overflow: visible; position: static; }
html .bx-tags .swiper { overflow: visible; }
html .bx-tags .swiper-wrapper { display: flex; flex-wrap: wrap; gap: 10px; transform: none !important; width: auto; height: auto; }
html .bx-tags .swiper-slide { width: auto !important; margin: 0 !important; flex: none; height: auto; }
html .bx-tags .swiper-button-prev, html .bx-tags .swiper-button-next { display: none !important; }
html .bx-tags .tags-row a { display: inline-flex; align-items: center; height: 38px; padding: 0 18px; border: 0; border-radius: var(--bx-radius); background: var(--bx-panel); color: var(--general-color); font-size: 13px; font-weight: 600; white-space: nowrap; }
html .bx-tags .tags-row a:hover { background: var(--bx-brand); color: #fff; }
.bx-tags:not(:has(.swiper-slide)) { display: none; }

/* ---------- Corrección: lista de recomendados (columna derecha de la página de video) ---------- */
html .bx-video-page .asside-thumb .thumbs { align-items: stretch; min-width: 0; }
html .bx-video-page .asside-thumb .thumbs .thumb { width: 100%; min-width: 0; max-width: 100%; flex: 0 0 auto; overflow: hidden; }
html .bx-video-page .asside-thumb .thumbs .thumb > a { width: 100%; min-width: 0; }
html .bx-video-page .asside-thumb .thumbs .thumb .img-holder { width: 128px; flex: 0 0 128px; height: auto; padding: 0; aspect-ratio: 16 / 9; position: relative; margin: 0; }
html .bx-video-page .asside-thumb .thumbs .thumb .img-holder img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
html .bx-video-page .asside-thumb .thumbs .thumb .img-holder .qualtiy { top: 5px; left: 5px; padding: 2px 5px; font-size: 10px; }
html .bx-video-page .asside-thumb .thumbs .thumb .img-holder .time { right: 5px; bottom: 5px; padding: 2px 5px; font-size: 10px; }
html .bx-video-page .asside-thumb .thumbs .thumb .line-premium, html .bx-video-page .asside-thumb .thumbs .thumb .line-private { font-size: 10px; }
html .bx-video-page .asside-thumb .thumbs .thumb .thumb-info { min-width: 0; flex: 1 1 0; overflow: hidden; }
html .bx-video-page .asside-thumb .thumbs .thumb .title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; white-space: normal; overflow: hidden; height: auto; max-height: none; line-height: 1.3; font-size: 13px; }
html .bx-video-page .asside-thumb .load-more { margin: 12px 0 0; }
html .bx-video-page .asside-thumb .load-more .btn { width: 100%; height: 36px; border-radius: var(--bx-radius); background: var(--bx-panel-2); color: var(--general-color); font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; border: 0; box-shadow: none; }
html .bx-video-page .asside-thumb .load-more .btn:hover { background: var(--bx-brand); color: #fff; }

/* ---------- Tags del video: 10 visibles + botón "más" ---------- */
.bx-vtags .bx-chip-extra { display: none; }
.bx-vtags.bx-open .bx-chip-extra { display: inline-flex; }
.bx-chip-more { cursor: pointer; border: 0; font-family: inherit; background: transparent; color: var(--bx-brand-2); box-shadow: inset 0 0 0 1px var(--bx-brand-2); }
.bx-chip-more:hover { background: var(--bx-brand); color: #fff; box-shadow: none; }
.bx-chip-more .bx-more-off, .bx-vtags.bx-open .bx-chip-more .bx-more-on { display: none; }
.bx-vtags.bx-open .bx-chip-more .bx-more-off { display: inline; }

/* ---------- Barra lateral más grande y contenido más ancho (escritorio) ---------- */
@media (min-width: 1025px) {
  html .header .header-nav { width: 108px; padding: 10px; top: 128px; max-height: calc(100vh - 144px); }
  html .header .header-nav .header-inner { gap: 4px; }
  html .header .header-nav .nav-link { padding: 12px 4px; gap: 6px; font-size: 12px; }
  html .header .header-nav .nav-link .bx-ico svg { width: 24px; height: 24px; }
  html .main, html .footer { margin-left: 124px; }
  html .main > .container, html .footer .container { max-width: 1720px; }
}
@media (min-width: 1025px) and (max-height: 820px) {
  html .header .header-nav .nav-link { padding: 8px 4px; gap: 4px; font-size: 11px; }
  html .header .header-nav .nav-link .bx-ico svg { width: 21px; height: 21px; }
}

/* ==========================================================================
   Ventanas modales (login, registro, soporte…) — Fancybox modernizado
   ========================================================================== */
html { --bx-modal-bg: linear-gradient(180deg, #0f1d42 0%, #0a1430 100%); --bx-field-bg: rgba(140, 175, 255, .08); --bx-field-line: rgba(140, 175, 255, .22); --bx-danger: #ff5d6c; }
html.light { --bx-modal-bg: #ffffff; --bx-field-bg: #f3f6fd; --bx-field-line: rgba(11, 60, 160, .2); }

html .fancybox-overlay { background: rgba(2, 6, 18, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
html .fancybox-wrap:not(.fancybox-type-image) { max-width: calc(100vw - 24px); }
html .fancybox-wrap:not(.fancybox-type-image) .fancybox-skin {
  background: var(--bx-modal-bg); border: 1px solid var(--bx-line); border-radius: 18px; padding: 0 !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55); overflow: hidden; animation: bx-modal-in .22s cubic-bezier(.2, .7, .2, 1);
}
@keyframes bx-modal-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
html .fancybox-wrap .fancybox-outer, html .fancybox-wrap .fancybox-inner { background: none; border-radius: 0; }

html .modal-inner { position: relative; background: none; padding: 30px 28px 28px; border-radius: 0; color: var(--general-color); }
html .modal-inner::before { content: ""; display: block; height: 18px; margin: 0 0 18px; background: url(../images/bxc-logo.png) left center / auto 100% no-repeat; }
html .modal-inner .modal-title { font-size: 22px; line-height: 1.2; font-weight: 800; letter-spacing: -.01em; text-transform: none; color: var(--general-color); margin: 0 0 20px; padding: 0; border: 0; }
html .modal-inner .close-btn {
  position: absolute; top: 20px; right: 20px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--bx-field-bg); color: var(--bx-text-2); display: grid; place-items: center; cursor: pointer; transition: background .15s, color .15s;
}
html .modal-inner .close-btn:hover { background: var(--bx-panel-2); color: var(--general-color); }
html .modal-inner .close-btn svg { width: 12px; height: 12px; fill: currentColor; }
html .modal-inner .modal-holder { padding: 0; background: none; }

html .modal-inner .row { margin: 0 0 14px; padding: 0; }
html .modal-inner .field-label, html .modal-inner .row > label { display: block; font-size: 12.5px; font-weight: 600; line-height: 1.4; color: var(--bx-text-2); margin: 0 0 6px; text-transform: none; }
html .modal-inner .textfield, html .modal-inner .textarea, html .modal-inner select, html .modal-inner input[type=text], html .modal-inner input[type=password], html .modal-inner input[type=email] {
  width: 100%; height: 46px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--bx-field-line);
  background: var(--bx-field-bg); color: var(--general-color); font-size: 14px; box-shadow: none; outline: 0;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
html .modal-inner .textarea { height: auto; min-height: 110px; padding: 12px 14px; line-height: 1.45; resize: vertical; }
html .modal-inner .textfield::placeholder, html .modal-inner .textarea::placeholder { color: var(--bx-text-2); opacity: .55; font-size: 13px; }
html .modal-inner .textfield:focus, html .modal-inner .textarea:focus, html .modal-inner select:focus { border-color: var(--bx-brand-2); box-shadow: 0 0 0 4px rgba(57, 160, 255, .18); }
html .modal-inner .textfield.error, html .modal-inner .textarea.error { border-color: var(--bx-danger); box-shadow: 0 0 0 4px rgba(255, 93, 108, .14); }
html .modal-inner .field-error { position: static; background: none; padding: 0; margin: 5px 0 0; font-size: 12px; line-height: 1.35; color: var(--bx-danger); box-shadow: none; border: 0; }
html .modal-inner .field-error::before, html .modal-inner .field-error::after { display: none; }
html .modal-inner .generic-error { background: rgba(255, 93, 108, .12); border: 1px solid rgba(255, 93, 108, .35); color: var(--bx-danger); border-radius: 10px; padding: 10px 12px; margin: 0 0 14px; font-size: 13px; }
html .modal-inner .success { background: rgba(61, 220, 132, .12); border: 1px solid rgba(61, 220, 132, .35); color: #3ddc84; border-radius: 10px; padding: 12px 14px; font-size: 14px; }

/* recordar sesión */
html .modal-inner .row.flex { display: flex; align-items: center; margin: 2px 0 16px; }
html .modal-inner .row.flex label { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 0; font-size: 13.5px; font-weight: 500; color: var(--general-color); cursor: pointer; text-transform: none; min-height: 0; }
html .modal-inner .row.flex label::before { content: ""; position: static; flex: none; width: 20px; height: 20px; margin: 0; border-radius: 6px; border: 1px solid var(--bx-field-line); background: var(--bx-field-bg); transition: background .15s, border-color .15s; }
html .modal-inner .row.flex label::after { display: none; }
html .modal-inner .row.flex input.checkbox:checked + label::before {
  border-color: var(--bx-brand); background: var(--bx-brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* enlaces y botón */
html .modal-inner .links { display: block; margin: 0 0 18px; padding: 0; text-align: left; }
html .modal-inner .links .link-item { display: inline; font-size: 13px; font-weight: 600; line-height: 1.5; color: var(--bx-brand-2); margin: 0; padding: 0; text-align: left; }
html .modal-inner .links .link-item:hover { color: var(--general-color); text-decoration: underline; }
html .modal-inner .links > .link-item { display: block; margin: 0 0 10px; }
html .modal-inner .links .link-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; margin: 0; padding: 0; }
html .modal-inner .links .link-row .link-item { font-weight: 500; color: var(--bx-text-2); }
html .modal-inner .bottom { display: block; margin: 0; padding: 0; text-align: left; }
html .modal-inner .submit, html .modal-inner input[type=submit] {
  display: block; width: 100%; height: 48px; margin: 0; padding: 0 18px; border: 0; border-radius: 10px;
  background: var(--bx-grad); color: #fff; font-size: 15px; font-weight: 700; letter-spacing: 0; text-transform: none;
  box-shadow: 0 10px 24px rgba(11, 92, 255, .32); cursor: pointer; transition: filter .15s, transform .1s, box-shadow .15s;
}
html .modal-inner .submit:hover, html .modal-inner input[type=submit]:hover { filter: brightness(1.08); box-shadow: 0 12px 28px rgba(11, 92, 255, .42); }
html .modal-inner .submit:active, html .modal-inner input[type=submit]:active { transform: scale(.985); }

/* código de seguridad */
html .modal-inner .bottom.captcha > label { display: block; font-size: 12.5px; line-height: 1.45; color: var(--bx-text-2); margin: 4px 0 10px; }
html .modal-inner .captcha-control, html .modal-inner .captcha-control .image { display: block; margin: 0; padding: 0; }
html .modal-inner .captcha-control .image img { display: block; height: 56px; width: auto; border-radius: 10px; border: 1px solid var(--bx-field-line); margin: 0 0 12px; }
html .modal-inner .captcha-control .image .textfield { margin-bottom: 16px; }

@media (max-width: 480px) {
  html .modal-inner { padding: 24px 18px 20px; }
  html .modal-inner .modal-title { font-size: 20px; }
}
html .modal-inner .bottom, html .modal-inner .bottom.captcha, html .modal-inner .captcha-control { display: block !important; width: 100%; text-align: left; }
html .modal-inner .submit, html .modal-inner input[type=submit] { width: 100% !important; max-width: none !important; min-width: 0; float: none; }
html .modal-inner .links, html .modal-inner .links .link-row { width: 100%; text-align: left; align-items: flex-start; }
html .modal-inner .links .link-row { display: flex !important; flex-direction: row !important; flex-wrap: wrap; justify-content: space-between !important; margin-top: 2px; }
html .modal-inner .links .link-row .link-item { width: auto; flex: none; }
html .modal-inner .links > .link-item { width: auto; text-align: left; }
html .modal-inner .links .link-row .link-item { color: var(--bx-text-2) !important; opacity: 1; }
html .modal-inner .links .link-row .link-item:hover { color: var(--bx-brand-2) !important; }

/* ---------- Modales: campos sin borde, diferenciados solo por color ---------- */
html { --bx-field-bg: rgba(140, 175, 255, .14); }
html.light { --bx-field-bg: #e8eefa; }
html .modal-inner .textfield, html .modal-inner .textarea, html .modal-inner select,
html .modal-inner input[type=text], html .modal-inner input[type=password], html .modal-inner input[type=email] { border: 0; }
html .modal-inner .textfield:focus, html .modal-inner .textarea:focus, html .modal-inner select:focus { box-shadow: 0 0 0 2px var(--bx-brand-2); }
html .modal-inner .textfield.error, html .modal-inner .textarea.error { box-shadow: 0 0 0 2px var(--bx-danger); }
html .modal-inner .row.flex label::before { border: 0; }
html .modal-inner .captcha-control .image img { border: 0; }

/* la animación de entrada no toca la opacidad (de eso ya se encarga Fancybox) */
@keyframes bx-modal-in { from { transform: translateY(10px) scale(.98); } to { transform: none; } }

/* ---------- Paginación: números redondos, "Prev Page / Next Page" como píldora ---------- */
html .pagination { flex-wrap: wrap; justify-content: center; row-gap: 8px; }
html .pagination a, html .pagination span { border-radius: 999px; }
html .pagination a.prev, html .pagination a.next, html .pagination span.prev, html .pagination span.next {
  width: auto; min-width: 0; padding: 0 18px; gap: 8px; white-space: nowrap; font-weight: 700; align-items: center; justify-content: center;
}
html .pagination a.prev svg, html .pagination a.next svg, html .pagination span.prev svg, html .pagination span.next svg { width: 12px; height: 12px; flex: none; fill: currentColor; margin: 0; }
html .pagination a.prev:hover, html .pagination a.next:hover { background: var(--bx-brand); color: #fff; }

/* ---------- Reproductor siempre apaisado (16:9): los videos verticales o cuadrados van centrados con franjas negras ---------- */
html .bx-video-page .player .player-wrap, html .bx-video-page .player .embed-wrap, html .bx-video-page .player .no-player {
  height: auto !important; padding-bottom: 0 !important; aspect-ratio: 16 / 9; position: relative; background: #000;
}
html .bx-video-page .player .no-player > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
html .bx-video-page .player .embed-wrap > iframe, html .bx-video-page .player .embed-wrap > embed, html .bx-video-page .player .embed-wrap > object { position: absolute; inset: 0; width: 100%; height: 100%; }
html .bx-video-page #kt_player img { object-fit: contain; }

/* ---------- Portada: 4 columnas en escritorio para miniaturas más grandes ---------- */
@media (min-width: 1024px) {
  html #list_videos_videos_watched_right_now_items ul.grid-temp { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  html #list_videos_videos_watched_right_now_items ul.grid-temp > li:nth-child(n+5) { display: none; }
  html #list_videos_most_recent_videos_items > .thumb { width: 25%; }
  html #list_videos_videos_watched_right_now_items .thumb .title, html #list_videos_most_recent_videos_items .thumb .title { font-size: 14.5px; }
}

/* ---------- Header: logo más grande y búsqueda desplazada hacia los botones ---------- */
html .header .logo img { height: 21px; }
@media (min-width: 1025px) {
  html .header .logo img { height: 28px; }
  html .header .search { margin: 0 24px 0 auto; max-width: 600px; }
  html .header .buttons-col { margin-left: 0; }
}

/* ---------- Header: logo con la misma altura que la búsqueda y los botones (40 px) ---------- */
@media (min-width: 1025px) {
  html .header .logo { display: flex; align-items: center; height: 40px; }
  html .header .logo img { height: 32px; }
}
@media (min-width: 1280px) {
  html .header .logo img { height: 40px; }
}

/* ---------- Búsqueda: icono de línea sin fondo ---------- */
html .header .search .btn-search { background: none; width: 36px; height: 36px; color: var(--bx-text-2); border-radius: 6px; transition: color .15s, background .15s; }
html .header .search .btn-search:hover { background: var(--bx-panel-2); color: var(--general-color); }
html .header .search .btn-search i { display: inline-grid; place-items: center; color: inherit; }
html .header .search .btn-search svg.bx-line { width: 19px; height: 19px; color: inherit; stroke: currentColor; }
html .header .search .search-inner:focus-within .btn-search { color: var(--bx-brand-2); }
/* logo en alta resolución (lleva un pequeño margen transparente) */
html .modal-inner::before { height: 23px; margin-left: -2px; }

/* ---------- Barra de enlaces superior: iconos de línea por enlace ---------- */
html .header .header-links a i { display: inline-grid; place-items: center; margin: 0; font-style: normal; }
html .header .header-links a svg.bx-line { width: 16px; height: 16px; color: var(--bx-brand-2); stroke: currentColor; }

/* ==========================================================================
   Miniaturas: acciones al pasar el cursor y etiquetas (HD, duración, Premium, Live)
   ========================================================================== */
/* acciones (favoritos / ver más tarde): arriba a la derecha, lejos de la etiqueta HD */
html .thumb .img-holder .item-top { left: auto; right: 8px; top: 8px; bottom: auto; width: auto; display: flex; gap: 6px; z-index: 3; }
html .thumb .img-holder .item-top .item-heart, html .thumb .img-holder .item-top .item-time {
  width: 32px; height: 32px; margin: 0; padding: 0; border: 0; border-radius: 50%;
  background: rgba(3, 8, 22, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  display: grid; place-items: center; cursor: pointer; transition: background .15s, transform .15s;
}
html .thumb .img-holder .item-top .item-heart svg, html .thumb .img-holder .item-top .item-time svg { display: none; }
html .thumb .img-holder .item-top .item-heart::before, html .thumb .img-holder .item-top .item-time::before { content: ""; width: 16px; height: 16px; background: center / contain no-repeat; }
html .thumb .img-holder .item-top .item-heart::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7-4.6-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.4-7 10-7 10Z'/%3E%3C/svg%3E"); }
html .thumb .img-holder .item-top .item-time::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7.5V12l3 2'/%3E%3C/svg%3E"); }
html .thumb .img-holder .item-top .item-heart:hover, html .thumb .img-holder .item-top .item-time:hover { background: var(--bx-brand); transform: scale(1.08); }
html .thumb .img-holder .item-top .item-heart.fixed, html .thumb .img-holder .item-top .item-time.fixed { background: var(--bx-brand); }
html .thumb .img-holder .item-top .item-heart.fixed::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7-4.6-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.4-7 10-7 10Z'/%3E%3C/svg%3E"); }

/* etiquetas HD y duración */
html .thumb .img-holder .item-bottom .qualtiy, html .thumb .img-holder .item-bottom .time {
  background: rgba(3, 8, 22, .58); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); border-radius: 6px; padding: 3px 7px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .05em; line-height: 1.4; color: #fff;
}
html .thumb .img-holder .item-bottom .time { letter-spacing: .02em; font-variant-numeric: tabular-nums; }

/* etiquetas Premium / Private / Live */
html .thumb .img-holder .line-premium, html .thumb .img-holder .line-private {
  left: 8px; bottom: 8px; top: auto; right: auto; width: auto; height: auto; margin: 0; z-index: 2;
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px 3px 6px; border-radius: 6px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .05em; line-height: 1.4; text-transform: uppercase;
}
html .thumb .img-holder .line-premium .ico-premium, html .thumb .img-holder .line-private .ico-private { font: inherit; letter-spacing: inherit; color: inherit; background: none; padding: 0; margin: 0; }
html .thumb .img-holder .line-premium .ico-premium::before, html .thumb .img-holder .line-private .ico-private::before { display: none; }
html .thumb .img-holder .line-premium::before, html .thumb .img-holder .line-private::before { content: ""; width: 12px; height: 12px; flex: none; background: center / contain no-repeat; }
html .thumb .img-holder .line-premium { background: linear-gradient(135deg, #ffd76a, #f5a623); color: #2a1a00; box-shadow: 0 2px 8px rgba(245, 166, 35, .35); }
html .thumb .img-holder .line-premium::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232a1a00' stroke='none' stroke-width='0' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8l4.5 4L12 5l4.5 7L21 8l-2 11H5z'/%3E%3C/svg%3E"); }
html .thumb .img-holder .line-private { background: rgba(3, 8, 22, .7); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
html .thumb .img-holder .line-private::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='10.5' width='14' height='10' rx='2'/%3E%3Cpath d='M8 10.5V8a4 4 0 0 1 8 0v2.5'/%3E%3C/svg%3E"); }
/* anuncios "Live" intercalados */
html .thumb.thumb-ad .img-holder .line-premium { background: #e0122f; color: #fff; box-shadow: 0 2px 8px rgba(224, 18, 47, .4); padding-left: 7px; }
html .thumb.thumb-ad .img-holder .line-premium::before { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: bx-live 1.4s ease-in-out infinite; }
@keyframes bx-live { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------- Botón "Get Premium" del header (solo usuarios no premium) ---------- */
html .header .bx-premium-btn {
  height: 40px; padding: 0 16px; margin: 0; border-radius: var(--bx-radius); flex: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; white-space: nowrap; cursor: pointer;
  background: linear-gradient(135deg, #ffd76a, #f5a623); color: #2a1a00; font-size: 13px; font-weight: 800; line-height: 1;
  box-shadow: 0 4px 14px rgba(245, 166, 35, .28); transition: filter .15s, transform .1s, box-shadow .15s;
}
html .header .bx-premium-btn:hover { filter: brightness(1.07); color: #2a1a00; box-shadow: 0 6px 18px rgba(245, 166, 35, .4); }
html .header .bx-premium-btn:active { transform: scale(.98); }
html .header .bx-premium-btn .bx-premium-ico { width: 16px; height: 16px; fill: currentColor; flex: none; }
@media (min-width: 1025px) and (max-width: 1199px) {
  html .header .bx-premium-btn { width: 40px; padding: 0; }
  html .header .bx-premium-btn span { display: none; }
}
@media (max-width: 1024px) {
  html .header .header-nav .buttons-col.mobile .bx-premium-btn { width: 100%; height: 42px; font-size: 14px; order: -1; }
  html .header .header-nav .buttons-col.mobile .mebers-block { order: -2; }
}

/* ---------- Menú lateral: tipografía Plus Jakarta Sans en negrita ---------- */
html .header .header-nav .nav-link { font-family: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-weight: 800; letter-spacing: -.01em; }
@media (min-width: 1025px) {
  html .header .header-nav .nav-link { font-size: 12.5px; line-height: 1.15; color: var(--general-color); }
  html .header .header-nav .nav-link .bx-ico { color: var(--bx-text-2); }
  html .header .header-nav .nav-link:hover .bx-ico, html .header .header-nav .nav-link.active .bx-ico { color: var(--bx-brand-2); }
}
@media (min-width: 1025px) and (max-height: 820px) {
  html .header .header-nav .nav-link { font-size: 11.5px; }
}
@media (max-width: 1024px) {
  html .header .header-nav .nav-link { font-size: 15.5px; }
}
@media (min-width: 1025px) {
  html .header .header-nav .nav-link { white-space: nowrap; padding-left: 0; padding-right: 0; }
}

/* ==========================================================================
   Portada: modelos más vistos en tarjetas verticales
   ========================================================================== */
.bx-model-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.bx-model-card { position: relative; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; display: flex; align-items: flex-end; color: #fff; text-decoration: none;
  background: radial-gradient(100% 90% at 40% 25%, #2f7dff, #0a2a78 60%, #050f2c); }
.bx-model-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .4s; }
.bx-model-card:hover > img { transform: scale(1.05); }
.bx-model-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(3, 8, 22, .92), rgba(3, 8, 22, .15) 55%, transparent 75%); }
.bx-model-rank { position: absolute; z-index: 2; top: 10px; left: 10px; padding: 3px 9px; border-radius: 6px; background: var(--bx-grad); color: #fff; font-size: 12px; font-weight: 800; line-height: 1.4; }
.bx-model-info { position: relative; z-index: 2; width: 100%; padding: 14px; min-width: 0; }
.bx-model-info b { display: block; font-size: 16px; font-weight: 800; line-height: 1.25; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bx-model-card:hover .bx-model-info b { color: #9fd0ff; }
.bx-model-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 4px; font-size: 12px; color: rgba(255, 255, 255, .8); }
@media (max-width: 1023px) {
  .bx-model-cards { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 30%; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
  .bx-model-cards::-webkit-scrollbar { display: none; }
  .bx-model-card { scroll-snap-align: start; }
}
@media (max-width: 640px) {
  .bx-model-cards { grid-auto-columns: 46%; gap: 10px; }
  .bx-model-info { padding: 10px; }
  .bx-model-info b { font-size: 14px; }
}

/* ==========================================================================
   Banner de promoción (Black Friday, noviembre 2026)
   ========================================================================== */
.bx-promo { padding: 14px 10px 0; }
.bx-promo-inner { position: relative; max-width: 1700px; margin: 0 auto; }
.bx-promo-link {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 16px;
  min-height: 52px; padding: 10px 56px 10px 16px; border-radius: 12px; text-decoration: none; color: #fff;
  background: linear-gradient(100deg, #0b0b0f 0%, #17130a 45%, #3a2a06 100%); border: 1px solid rgba(245, 166, 35, .45);
  box-shadow: 0 6px 22px rgba(245, 166, 35, .14); transition: border-color .15s, box-shadow .15s;
}
.bx-promo-link:hover { border-color: #f5a623; box-shadow: 0 8px 26px rgba(245, 166, 35, .26); color: #fff; }
.bx-promo-tag { flex: none; padding: 4px 10px; border-radius: 6px; background: linear-gradient(135deg, #ffd76a, #f5a623); color: #1a1202; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; line-height: 1.4; }
.bx-promo-text { font-size: 15px; font-weight: 600; line-height: 1.3; color: #fff; text-align: center; }
.bx-promo-text b { font-weight: 800; font-size: 18px; color: #ffd76a; }
.bx-promo-text em { font-style: normal; color: rgba(255, 255, 255, .78); }
.bx-promo-cta { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; border-radius: 8px; background: #fff; color: #14100a; font-size: 13px; font-weight: 800; white-space: nowrap; }
.bx-promo-link:hover .bx-promo-cta { background: #ffd76a; }
.bx-promo-cta svg, .bx-promo-close svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.bx-promo-close { position: absolute; top: 50%; right: 12px; transform: translateY(-50%); width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; display: grid; place-items: center; cursor: pointer; padding: 0; }
.bx-promo-close:hover { background: rgba(255, 255, 255, .22); }
@media (max-width: 640px) {
  .bx-promo { padding: 10px 10px 0; }
  .bx-promo-link { padding: 10px 44px 10px 12px; gap: 6px 10px; justify-content: flex-start; }
  .bx-promo-text { font-size: 13.5px; text-align: left; }
  .bx-promo-text b { font-size: 15.5px; }
  .bx-promo-close { right: 8px; top: 12px; transform: none; width: 26px; height: 26px; }
}
