/* XNXX.VIDEO V9.1 - visual polish only; additive overrides after v90.css.
   No changes to player, catalog, video URLs, indexing, or importer. */
:root{--v91-outline:#ffe34c;--v91-soft-border:#465dd2;--v91-rail:#05036b}
.site-header{isolation:isolate}
.header-inner{column-gap:16px}
.header-right{align-items:flex-start;gap:10px;padding-top:11px}
.header-right>a{min-height:35px;display:inline-flex;align-items:center;padding-inline:7px}
.header-right>a:hover,.header-right>a:focus-visible{background:#162cae}
.v90-section-switcher summary,.v8-language-picker summary{transition:background-color .15s ease,border-color .15s ease;outline-offset:2px}
.v90-section-switcher summary{border:1px solid #3858cf;background:#0e2697;min-height:36px;padding-inline:10px}
.v90-section-switcher[open] summary{background:#1547d3;border-color:#a5b3ff}
.v90-section-switcher summary:focus-visible,.v8-language-picker summary:focus-visible,
.v90-section-options a:focus-visible,.v8-language-list a:focus-visible,
.v90-drawer-head button:focus-visible,.sidebar a:focus-visible,.mobile-tools a:focus-visible,
.mobile-tools button:focus-visible,.header-inner button:focus-visible{outline:2px solid var(--v91-outline);outline-offset:2px}
.v90-section-options{border-color:#627df4;background:#03023e;box-shadow:0 14px 34px rgba(0,0,20,.75);padding:5px;border-radius:2px}
.v90-section-options a{border-radius:2px;min-height:44px;padding:9px 11px;transition:background-color .13s ease}
.v90-section-options a[aria-current="page"]{background:#173ec4;font-weight:700;box-shadow:inset 3px 0 0 #ffe000}
.v90-section-options a[aria-current="page"]:after{content:"✓";margin-inline-start:auto;color:#ffe346;font-size:15px}
.v90-section-options a:hover{background:#1b40c0}
.v8-language-picker[open] summary{background:#1b3eb5}
.v8-language-list{box-shadow:0 14px 34px rgba(0,0,18,.7)}
/* Desktop rail: compact and legible, close to the reference without reducing hit areas. */
@media(min-width:761px){
  .sidebar{background:var(--v91-rail);padding:13px 12px}
  .sidebar-heading{margin-bottom:8px;gap:10px}
  .sidebar .side-link{line-height:1.25;padding:3px 2px;font-size:14px}
  .sidebar-list{gap:0}
  .sidebar .side-link:hover,.sidebar .side-link:focus-visible{background:#10299b;color:#fff;text-decoration:none}
  .main-content{min-width:0}
  .v90-empty{max-width:800px;margin:10px auto;padding:24px 22px;border-color:#4969ec}
}
/* Empty Gay/Trans panels: visually deliberate, not an apparent missing page. */
.v90-empty{line-height:1.55;color:#e3e9ff;background:linear-gradient(155deg,#0a1488,#06045d);border:1px solid #5268ce;border-inline-start:4px solid #ffe000;border-radius:3px;box-shadow:0 5px 18px #0003}
/* Mobile header, five touch targets, compact logo. Drawer always sits above menus. */
@media(max-width:760px){
  .site-header{position:relative;z-index:10}
  .header-inner{height:86px;min-height:86px;grid-template-columns:minmax(38px,44px) minmax(0,1fr) minmax(38px,44px);gap:2px;padding:7px 9px}
  .brand-block{justify-self:center;max-width:100%;min-width:0;overflow:visible}
  .wordmark{display:block;font-size:clamp(23px,7.4vw,33px);letter-spacing:-1.7px;line-height:1;white-space:nowrap}
  .wordmark span{letter-spacing:-.8px}
  .brand-subtitle{font-size:9px;line-height:1.15;margin-top:5px;white-space:normal;max-width:100%;text-align:center}
  .icon-button{width:40px;height:40px;min-height:40px;min-width:40px;font-size:25px;justify-self:center;border:1px solid #5e70cb;border-radius:2px;background:#26328e}
  .mobile-tools{height:48px;min-height:48px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;padding:0 4px;background:#030358;border-bottom:1px solid #334aca}
  .mobile-tools>a,.mobile-tools>button,.mobile-tools>details{min-width:0;max-width:100%;min-height:46px}
  .mobile-tools>a,.mobile-tools>button{display:flex;align-items:center;justify-content:center;border-radius:2px}
  .mobile-tools>a:focus-visible,.mobile-tools>button:focus-visible{outline-offset:-2px}
  .mobile-tools .v90-section-switcher,.mobile-tools .v8-language-picker{min-height:46px;height:46px}
  .mobile-tools .v90-section-switcher summary,.mobile-tools .v8-language-picker summary{min-height:44px;height:44px;padding:2px;outline-offset:-2px;border-color:transparent;background:transparent}
  .mobile-tools .v90-section-switcher[open] summary,.mobile-tools .v8-language-picker[open] summary{background:#1d36a7;border-color:#5d78ff}
  .mobile-tools .v90-rainbow{font-size:21px}
  .mobile-tools .v90-chevron,.mobile-tools .v8-chevron{font-size:11px}
  .mobile-tools .v90-section-options{position:fixed;top:calc(134px + env(safe-area-inset-top,0px));right:8px;left:auto;width:min(228px,calc(100vw - 16px));max-height:min(65dvh,360px);overflow-y:auto;z-index:150}
  .mobile-tools .v8-language-list{top:calc(134px + env(safe-area-inset-top,0px));max-height:65dvh}
  .v90-section-options a{min-height:46px;font-size:14px}
  .v90-menu-backdrop:not([hidden]){z-index:190}
  .sidebar,.sidebar.is-open,html[dir="rtl"] .sidebar,html[dir="rtl"] .sidebar.is-open{z-index:200!important;width:min(320px,88vw)!important;max-width:88vw!important;padding:14px 13px 20px!important;background:#06045e}
  .v90-drawer-head{min-height:45px;margin-bottom:10px;padding-bottom:12px;border-color:#4054c3}
  .v90-drawer-head strong{font-size:14px;letter-spacing:.1px}
  .v90-drawer-head button{min-width:42px;min-height:42px;display:grid;place-items:center;border-radius:3px;background:#1939b6;border:1px solid #7085f7}
  .v90-mobile-nav{margin-bottom:12px;padding-bottom:10px}
  .v90-mobile-nav a{display:flex;align-items:center;min-height:44px;padding:10px 12px;font-size:14px;line-height:1.2;border-bottom:1px solid #2837a0;border-radius:2px}
  .v90-mobile-nav a[aria-current="page"]{background:#173fba;border-inline-start:3px solid #ffe000;font-weight:700;padding-inline-start:9px}
  .v90-mobile-nav a:hover,.v90-mobile-nav a:focus-visible{background:#173dab}
  .sidebar-heading{padding-top:5px;margin:0 2px 12px;font-size:14px}
  .sidebar .side-link{padding:8px 5px;font-size:14px;line-height:1.2}
  .sidebar-list{gap:1px}
  .v90-empty{margin:16px 0 0;padding:19px 14px;min-height:90px;font-size:14px}
  .v90-section-home .section-heading{margin-bottom:14px}
  .main-content{padding-inline:11px}
  .category-grid{margin-top:18px}
  .v90-home-videos{gap:20px}
}
/* Tight mobile devices: prevent the logo and control icons from colliding. */
@media(max-width:360px){
  .header-inner{grid-template-columns:38px minmax(0,1fr) 38px;padding-inline:6px}
  .wordmark{font-size:clamp(21px,7.15vw,25px)}
  .brand-subtitle{font-size:8px}
  .main-content{padding-inline:9px}
  .v90-section-options{width:min(215px,calc(100vw - 12px))}
}
/* Tablet: reduce header crowding before mobile breakpoint. */
@media(min-width:761px) and (max-width:1050px){
  .header-inner{gap:10px}
  .header-right{gap:4px}
  .header-center{min-width:0}
  .wordmark{font-size:clamp(28px,3.4vw,39px)}
  .header-right .v8-current-name{max-width:75px}
}
/* Keep drawer direction and scrolling correct on RTL pages. */
@media(max-width:760px){
  html[dir="rtl"] .sidebar .side-link,html[dir="rtl"] .v90-mobile-nav a{text-align:right}
  html[dir="rtl"] .v90-section-options{right:auto;left:8px}
  html[dir="rtl"] .v90-section-options a[aria-current="page"]{box-shadow:inset -3px 0 0 #ffe000}
  html[dir="rtl"] .mobile-tools .v8-language-list{left:8px;right:8px}
}
@media(prefers-reduced-motion:reduce){.v90-section-switcher summary,.v90-section-options a,.v8-language-picker summary{transition:none}}

/* V9.1.1 desktop language dropdown fix */
@media (min-width: 761px) {

  .header-right .v8-language-picker .v8-language-list {
    position: absolute;
    left: auto;
    right: 0;
    inset-inline-end: 0;
    width: min(490px, calc(100vw - 24px));
    max-width: calc(100vw - 24px);
    max-height: min(65vh, 520px);
    overflow-x: hidden;
    overflow-y: auto;
  }

  html[dir="rtl"] .header-right
  .v8-language-picker .v8-language-list {
    right: auto;
    inset-inline-end: auto;
    left: 0;
  }
}
/* V9.1.2 desktop dropdown stacking fix */
@media (min-width: 761px) {

  /* Place the entire header above the video grids */
  .site-header {
    position: relative;
    z-index: 1000;
    overflow: visible;
  }

  .header-inner,
  .header-right {
    overflow: visible;
  }

  /* Ensure the language dropdown remains above content */
  .header-right .v8-language-picker[open] {
    z-index: 1001;
  }

  .header-right .v8-language-picker .v8-language-list {
    z-index: 1002;
  }
}