/*
  Thotianas 2026 UI/UX Upgrade
  Scoped enhancement layer. It modernizes the shell, navigation, listing cards,
  galleries, search, accessibility, and performance presentation without changing
  the legacy video player controls or player CSS.
*/
:root{
  --ux-bg:#111314;
  --ux-bg-2:#202526;
  --ux-panel:#181b1c;
  --ux-panel-2:#23282a;
  --ux-soft:#2d3335;
  --ux-text:#fff7ee;
  --ux-muted:#bdb6ad;
  --ux-accent:#fe8200;
  --ux-accent-2:#ffad42;
  --ux-green:#35bd00;
  --ux-line:rgba(255,255,255,.115);
  --ux-hot:rgba(254,130,0,.34);
  --ux-shadow:0 18px 54px rgba(0,0,0,.42);
  --ux-shadow-soft:0 10px 28px rgba(0,0,0,.25);
  --ux-radius:18px;
  --ux-radius-sm:12px;
  --ux-ease:cubic-bezier(.2,.8,.2,1);
}
*{box-sizing:border-box}
html{background:#080909;scroll-behavior:smooth}
body.ux-next{
  min-height:100vh;
  color:var(--ux-text);
  background:
    radial-gradient(circle at 88% -12%, rgba(254,130,0,.23), transparent 28rem),
    radial-gradient(circle at 0% 8%, rgba(53,189,0,.12), transparent 26rem),
    linear-gradient(180deg,#2b3032 0%,#1b1f20 46%,#090a0a 100%);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
body.ux-next img{max-width:100%;height:auto}
body.ux-next a{transition:color .18s var(--ux-ease),background .18s var(--ux-ease),border-color .18s var(--ux-ease),box-shadow .18s var(--ux-ease),transform .18s var(--ux-ease),opacity .18s var(--ux-ease)}
body.ux-next a:hover,body.ux-next a:focus{text-decoration:none;color:#fff}
body.ux-next :focus-visible{outline:3px solid rgba(53,189,0,.82);outline-offset:3px;border-radius:10px}

body.ux-next:before{
  content:"";
  position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:.32;
  background-image:linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size:48px 48px;
  mask-image:linear-gradient(to bottom, #000 0%, transparent 82%);
}
body.ux-next .ux-scroll-progress{position:fixed;left:0;top:0;height:3px;width:0;background:linear-gradient(90deg,var(--ux-accent),var(--ux-green));z-index:99999;box-shadow:0 0 20px rgba(254,130,0,.65)}
body.ux-next .ux-skip-link{position:fixed;left:14px;top:-80px;z-index:100000;padding:.85rem 1.2rem;background:#fff;color:#111;border-radius:999px;font-weight:800;box-shadow:var(--ux-shadow)}
body.ux-next .ux-skip-link:focus{top:14px}

/* Header */
body.ux-next .navbar.navbar-inverse.navbar-fixed-top{
  min-height:66px!important;
  background:rgba(19,22,23,.9)!important;
  border:0!important;
  border-bottom:1px solid rgba(254,130,0,.24)!important;
  box-shadow:0 10px 32px rgba(0,0,0,.34)!important;
  backdrop-filter:blur(16px) saturate(1.25);
}
body.ux-next .navbar-header{min-height:66px;display:flex;align-items:center}
body.ux-next .navbar-toggle{margin-top:15px;border-color:rgba(255,255,255,.18)!important;border-radius:12px;background:rgba(255,255,255,.06)!important}
body.ux-next .navbar-toggle:hover,body.ux-next .navbar-toggle:focus{background:rgba(254,130,0,.2)!important}
body.ux-next .navbar-brand{
  height:66px!important;
  padding:8px 14px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  position:relative;
  z-index:5;
}
body.ux-next .navbar-brand img{
  width:auto!important;
  max-width:170px!important;
  max-height:50px!important;
  display:block!important;
  object-fit:contain!important;
  filter:drop-shadow(0 8px 18px rgba(0,0,0,.42));
}
body.ux-next .top-search{position:relative;margin-left:.4rem}
body.ux-next .top-search .navbar-form{margin-top:14px!important;margin-bottom:0!important}
body.ux-next .top-search input[type="text"]{
  width:min(38vw,440px)!important;
  min-width:220px!important;
  min-height:40px!important;
  border:1px solid rgba(255,255,255,.15)!important;
  border-radius:999px!important;
  background:#f7f8f8!important;
  color:#111!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.65),0 10px 24px rgba(0,0,0,.22)!important;
  padding:9px 46px 9px 18px!important;
}
body.ux-next .top-search input[type="text"]::placeholder{color:#676767}
body.ux-next .top-search input[type="text"]:focus{box-shadow:0 0 0 4px rgba(254,130,0,.22),0 12px 26px rgba(0,0,0,.28)!important;border-color:rgba(254,130,0,.8)!important}
body.ux-next .top-search input[type="submit"]{top:13px!important;right:18px!important;opacity:.86;filter:contrast(1.25)}
body.ux-next .header-top-right{display:flex;align-items:center;gap:.55rem;margin-right:.8rem}
body.ux-next .header-top-right>div a,
body.ux-next .file a,
body.ux-next .signin a,
body.ux-next .signin1 a{
  border-radius:999px!important;
  border:1px solid rgba(255,255,255,.12)!important;
  background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.025))!important;
  color:#fff!important;
  box-shadow:0 8px 18px rgba(0,0,0,.22)!important;
}
body.ux-next .file a:hover,body.ux-next .signin a:hover,body.ux-next .signin1 a:hover{background:linear-gradient(135deg,var(--ux-accent),var(--ux-accent-2))!important;color:#111!important;transform:translateY(-1px)}

/* Sidebar */
body.ux-next .sidebar{
  background:linear-gradient(180deg,rgba(18,20,21,.96),rgba(10,11,11,.98))!important;
  border-right:1px solid rgba(255,255,255,.08)!important;
  box-shadow:12px 0 36px rgba(0,0,0,.28)!important;
}
body.ux-next .sidebar .nav-sidebar>li>a,
body.ux-next .drop-navigation li a{
  border-radius:13px!important;
  margin:.15rem .5rem!important;
  color:#f0eee9!important;
}
body.ux-next .sidebar .nav-sidebar>li>a:hover,
body.ux-next .drop-navigation li a:hover{
  background:linear-gradient(90deg,rgba(254,130,0,.22),rgba(53,189,0,.08))!important;
  color:#fff!important;
}
body.ux-next .sidebar .glyphicon{color:var(--ux-accent)!important;text-shadow:0 0 18px rgba(254,130,0,.28)}
body.ux-next .copyright{color:#aca7a1;margin:2rem auto 1rem;max-width:210px;font-size:10.5px!important;line-height:1.35!important;opacity:.74;text-align:center!important}
body.ux-next .copyright img{max-width:128px!important;margin-bottom:.35rem;opacity:.92}
body.ux-next .copyright a{color:#c9c1ba!important}
body.ux-next .copyright .ux-copyright-full{display:inline}

/* Layout */
body.ux-next .main{padding-top:88px!important}
body.ux-next .main-grids,body.ux-next .single-main,body.ux-next .show-top-grids,body.ux-next .recommended{position:relative}
body.ux-next .main-grids:before,
body.ux-next .recommended:before{
  content:"";position:absolute;inset:-10px -10px auto -10px;height:1px;background:linear-gradient(90deg,transparent,rgba(254,130,0,.45),transparent);pointer-events:none
}
body.ux-next .recommended-info h3,
body.ux-next .show-top-grids h3,
body.ux-next .single-right h3{
  color:#fff!important;
  letter-spacing:.01em;
  text-shadow:0 8px 26px rgba(0,0,0,.42);
}
body.ux-next .recommended-info h3:after,
body.ux-next .show-top-grids h3:after{content:"";display:block;width:74px;height:3px;border-radius:999px;margin:.55rem 0 0;background:linear-gradient(90deg,var(--ux-accent),var(--ux-green))}
body.ux-next .banner{border-radius:22px;overflow:hidden;box-shadow:var(--ux-shadow);border:1px solid rgba(255,255,255,.1);background:#050505;position:relative}
body.ux-next .banner:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(135deg,rgba(255,255,255,.11),transparent 28%,transparent 70%,rgba(254,130,0,.1))}
body.ux-next .banner video,body.ux-next .banner img{width:100%!important;display:block;border-radius:22px}

/* Cards and thumbnails */
body.ux-next .resent-grid:not(.slider-first),
body.ux-next .movie-video-grid{
  background:linear-gradient(180deg,rgba(255,255,255,.065),rgba(255,255,255,.025));
  border:1px solid rgba(255,255,255,.105);
  border-radius:var(--ux-radius);
  padding:10px!important;
  margin-bottom:24px!important;
  box-shadow:var(--ux-shadow-soft);
  overflow:hidden;
  transition:transform .2s var(--ux-ease),box-shadow .2s var(--ux-ease),border-color .2s var(--ux-ease),background .2s var(--ux-ease);
}
body.ux-next .resent-grid:not(.slider-first):hover,
body.ux-next .movie-video-grid:hover{
  transform:translateY(-5px);
  border-color:rgba(254,130,0,.48);
  box-shadow:0 24px 58px rgba(0,0,0,.44),0 0 0 1px rgba(254,130,0,.12) inset;
}
body.ux-next .resent-grid-img,
body.ux-next .recommended-grid-img{
  position:relative!important;
  overflow:hidden!important;
  border-radius:15px!important;
  background:radial-gradient(circle at 50% 25%,#3a3f40 0%,#111 75%)!important;
  isolation:isolate;
}
body.ux-next .resent-grid-img>a:first-child,
body.ux-next .recommended-grid-img>a:first-child{display:block!important;position:relative!important;z-index:1!important}
body.ux-next .resent-grid:not(.slider-first):not(.movie-video-grid) .resent-grid-img,
body.ux-next .resent-grid:not(.slider-first):not(.movie-video-grid) .recommended-grid-img{aspect-ratio:16/10!important}
body.ux-next .resent-grid:not(.slider-first):not(.movie-video-grid) .resent-grid-img img:not(.ball):not(.ball2),
body.ux-next .resent-grid:not(.slider-first):not(.movie-video-grid) .recommended-grid-img img:not(.ball):not(.ball2),
body.ux-next .resent-grid-img video{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  display:block!important;
  transition:transform .26s var(--ux-ease),filter .26s var(--ux-ease),opacity .2s var(--ux-ease);
}
body.ux-next .resent-grid:not(.slider-first):hover .resent-grid-img img:not(.ball):not(.ball2),
body.ux-next .resent-grid:not(.slider-first):hover .resent-grid-img video{transform:scale(1.035);filter:saturate(1.08) contrast(1.04)}
body.ux-next .resent-grid-img .ball{width:52px!important;height:52px!important;left:50%!important;top:50%!important;z-index:7!important;border-radius:50%;filter:drop-shadow(0 12px 26px rgba(0,0,0,.65));opacity:.9;pointer-events:none!important;transform:translate(-50%,-50%)!important;position:absolute!important}
body.ux-next .resent-grid:not(.slider-first):hover .ball{opacity:1;transform:translate(-50%,-50%) scale(1.06)!important}
body.ux-next .time,body.ux-next .movie-time{
  z-index:8!important;
  left:auto!important;
  right:10px!important;
  bottom:10px!important;
  top:auto!important;
  border-radius:999px!important;
  background:rgba(0,0,0,.72)!important;
  border:1px solid rgba(255,255,255,.18)!important;
  backdrop-filter:blur(8px);
  box-shadow:0 8px 18px rgba(0,0,0,.35);
}
body.ux-next .time p,body.ux-next .movie-time p{font-size:11px!important;line-height:1!important;padding:5px 8px!important;color:#fff!important;margin:0!important}
body.ux-next .clck{display:none!important}
body.ux-next .resent-grid-info{position:relative!important;z-index:3!important;padding:11px 4px 2px!important;min-height:76px!important;background:transparent!important}
body.ux-next .resent-grid-info h3,body.ux-next .resent-grid-info h5{margin:0 0 7px!important;line-height:1.22!important;position:relative;z-index:3}
body.ux-next .resent-grid-info h3 a,body.ux-next .resent-grid-info h5 a,body.ux-next a.title{
  color:#fff!important;
  font-weight:800!important;
  letter-spacing:.005em;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
body.ux-next .resent-grid-info h3 a:hover,body.ux-next .resent-grid-info h5 a:hover{color:var(--ux-accent-2)!important}
body.ux-next .resent-grid-info ul{display:flex!important;align-items:center!important;gap:.4rem!important;flex-wrap:wrap!important;margin:0!important;padding:0!important;position:relative;z-index:3}
body.ux-next .resent-grid-info li{float:none!important;list-style:none!important;margin:0!important}
body.ux-next .author-info a,body.ux-next .views-info{color:#bbb!important;font-size:11px!important;line-height:1.2!important}
body.ux-next .views-info{background:rgba(255,255,255,.065);border:1px solid rgba(255,255,255,.08);padding:3px 7px!important;border-radius:999px!important}
body.ux-next .right-list{margin-left:auto!important}
body.ux-next .ux-rank{
  position:absolute;top:10px;left:10px;z-index:9;
  width:auto!important;height:auto!important;min-width:0!important;
  display:inline-flex;align-items:center;justify-content:center;
  padding:4px 8px 3px!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,var(--ux-accent),var(--ux-accent-2));
  color:#141414!important;
  font-size:10px!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:.11em;
  box-shadow:0 10px 24px rgba(254,130,0,.36);
  text-transform:uppercase;
}
body.ux-next .ux-view-meter{height:3px;background:rgba(255,255,255,.08);border-radius:999px;overflow:hidden;margin-top:8px}
body.ux-next .ux-view-meter span{display:block;height:100%;width:var(--ux-meter,35%);background:linear-gradient(90deg,var(--ux-accent),var(--ux-green));border-radius:999px}
body.ux-next img[src=""],body.ux-next img:not([src]){display:none!important}

/* Homepage dashboard and filters */
body.ux-next .ux-home-dashboard{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0 26px}
body.ux-next .ux-stat-card{border-radius:16px;border:1px solid rgba(255,255,255,.1);background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.028));padding:15px 16px;box-shadow:var(--ux-shadow-soft)}
body.ux-next .ux-stat-card strong{display:block;font-size:clamp(22px,3vw,34px);line-height:1;color:var(--ux-accent-2)}
body.ux-next .ux-stat-card span{display:block;margin-top:4px;color:var(--ux-muted);font-size:12px;text-transform:uppercase;letter-spacing:.08em}
body.ux-next .ux-discovery-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:10px 0 22px;clear:both}
body.ux-next .ux-chip{appearance:none;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.055);color:#fff;border-radius:999px;padding:8px 12px;font-size:12px;font-weight:800;letter-spacing:.02em;cursor:pointer;box-shadow:0 8px 18px rgba(0,0,0,.18);transition:transform .18s var(--ux-ease),background .18s var(--ux-ease),border-color .18s var(--ux-ease)}
body.ux-next .ux-chip:hover{transform:translateY(-1px);border-color:rgba(254,130,0,.55);background:rgba(254,130,0,.18)}
body.ux-next .ux-chip.is-active{background:linear-gradient(135deg,var(--ux-accent),var(--ux-accent-2));color:#111;border-color:transparent}
body.ux-next .ux-hidden-by-search{display:none!important}
body.ux-next .ux-no-results{display:none;clear:both;border:1px dashed rgba(255,255,255,.24);border-radius:16px;padding:18px;margin:18px 0;color:var(--ux-muted);text-align:center;background:rgba(0,0,0,.18)}
body.ux-next .ux-no-results.is-visible{display:block}

/* Most Viewed: do not override ResponsiveSlides layout; only polish it. */
body.ux-next #slider3{position:relative;z-index:1}
body.ux-next #slider3 .slider-first{border-radius:15px;overflow:hidden;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.08);padding:8px!important;box-shadow:var(--ux-shadow-soft)}
body.ux-next #slider3 .slider-first .resent-grid-img{aspect-ratio:16/10}
body.ux-next #slider3 .slider-first .resent-grid-img img:not(.ball):not(.ball2){width:100%;height:100%;object-fit:cover;display:block}
body.ux-next.ux-mostviewed-static #slider3{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
body.ux-next.ux-mostviewed-static #slider3 li{position:static!important;opacity:1!important;display:block!important;width:auto!important;float:none!important}

/* Picture gallery: full-body / no crop */
body.ux-next .ux-gallery-section .recommended-grids{display:flex;flex-wrap:wrap;gap:16px;align-items:stretch;clear:both}
body.ux-next .ux-gallery-section .recommended-grids>br{display:none}
body.ux-next .ux-gallery-section .recommended-info,body.ux-next .ux-gallery-section .center,body.ux-next .ux-gallery-section .clearfix{flex:0 0 100%;max-width:100%}
body.ux-next .ux-gallery-section .movie-video-grid{float:none!important;width:auto!important;flex:1 1 calc(25% - 12px);max-width:calc(25% - 12px);padding:10px!important;margin:0 0 10px!important}
body.ux-next .ux-gallery-section .movie-video-grid .resent-grid-img{aspect-ratio:2/3!important;background:radial-gradient(circle at center,#262b2c 0%,#080909 74%)!important;display:flex;align-items:center;justify-content:center}
body.ux-next .ux-gallery-section .movie-video-grid .resent-grid-img>a:first-child{display:flex!important;width:100%;height:100%;align-items:center;justify-content:center}
body.ux-next .ux-gallery-section .movie-video-grid .resent-grid-img img:not(.ball):not(.ball2){width:100%!important;height:100%!important;object-fit:contain!important;object-position:center center!important;display:block!important;transform:none!important}
body.ux-next .ux-gallery-section .movie-video-grid:hover .resent-grid-img img:not(.ball):not(.ball2){transform:scale(1.012)!important;filter:saturate(1.06) contrast(1.02)}
body.ux-next .ux-gallery-section .movie-time{right:10px!important;bottom:10px!important;top:auto!important}

/* Signup/forms */
body.ux-next input,body.ux-next select,body.ux-next textarea{border-radius:12px!important}
body.ux-next input[type="submit"],body.ux-next .button,body.ux-next .continue-button a{box-shadow:0 12px 28px rgba(53,189,0,.26)!important;border-radius:999px!important}
body.ux-next input[type="submit"]:hover,body.ux-next .button:hover,body.ux-next .continue-button a:hover{transform:translateY(-1px)}
body.ux-next .mfp-content{border-radius:20px;overflow:hidden}
body.ux-next #small-dialog,body.ux-next #small-dialog2,body.ux-next #small-dialog3,body.ux-next #small-dialog4,body.ux-next #small-dialog5,body.ux-next #small-dialog6,body.ux-next #small-dialog7{border-radius:20px!important;background:linear-gradient(180deg,#242829,#121414)!important;color:#fff!important;border:1px solid rgba(255,255,255,.1)!important}

/* Floating UX */
body.ux-next .ux-dock{position:fixed;right:18px;bottom:18px;z-index:9997;display:flex;flex-direction:column;gap:9px}
body.ux-next .ux-dock button,body.ux-next .ux-command-open{width:46px;height:46px;border-radius:50%;border:1px solid rgba(255,255,255,.14);background:rgba(18,20,21,.88);color:#fff;box-shadow:var(--ux-shadow-soft);backdrop-filter:blur(14px);font-weight:900;cursor:pointer}
body.ux-next .ux-dock button:hover{background:linear-gradient(135deg,var(--ux-accent),var(--ux-accent-2));color:#111;transform:translateY(-2px)}
body.ux-next .ux-toast{position:fixed;left:50%;bottom:26px;z-index:100000;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:rgba(0,0,0,.86);color:#fff;border:1px solid rgba(255,255,255,.16);border-radius:999px;padding:10px 14px;box-shadow:var(--ux-shadow);transition:opacity .2s var(--ux-ease),transform .2s var(--ux-ease)}
body.ux-next .ux-toast.is-visible{opacity:1;transform:translate(-50%,0)}
body.ux-next .ux-fav-button{position:absolute;right:10px;top:10px;z-index:10;width:34px;height:34px;border-radius:50%;border:1px solid rgba(255,255,255,.18);background:rgba(0,0,0,.58);color:#fff;font-size:20px;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;backdrop-filter:blur(8px);box-shadow:0 10px 22px rgba(0,0,0,.32)}
body.ux-next .ux-fav-button.is-active{background:linear-gradient(135deg,var(--ux-accent),var(--ux-accent-2));color:#111;border-color:transparent}
body.ux-next .ux-command{position:fixed;inset:0;z-index:99998;display:none;align-items:flex-start;justify-content:center;background:rgba(0,0,0,.62);backdrop-filter:blur(10px);padding:9vh 18px 18px}
body.ux-next .ux-command.is-open{display:flex}
body.ux-next .ux-command-panel{width:min(760px,100%);border-radius:22px;border:1px solid rgba(255,255,255,.14);background:linear-gradient(180deg,#24292a,#111313);box-shadow:0 30px 90px rgba(0,0,0,.55);overflow:hidden}
body.ux-next .ux-command-panel input{width:100%;border:0!important;border-bottom:1px solid rgba(255,255,255,.1)!important;border-radius:0!important;background:#fff!important;color:#111!important;font-size:18px!important;padding:18px 20px!important;outline:0!important}
body.ux-next .ux-command-results{max-height:54vh;overflow:auto;padding:10px}
body.ux-next .ux-command-item{display:block;border-radius:14px;padding:12px 14px;color:#fff!important;border:1px solid transparent}
body.ux-next .ux-command-item:hover,body.ux-next .ux-command-item.is-active{background:rgba(254,130,0,.18);border-color:rgba(254,130,0,.36)}
body.ux-next .ux-command-item span{display:block;color:var(--ux-muted);font-size:12px;margin-top:3px}
body.ux-next .ux-age{position:fixed;inset:0;z-index:100001;display:flex;align-items:center;justify-content:center;padding:20px;background:radial-gradient(circle at 50% 10%,rgba(254,130,0,.25),rgba(0,0,0,.92) 56%),rgba(0,0,0,.94)}
body.ux-next .ux-age-card{width:min(460px,100%);border:1px solid rgba(255,255,255,.16);border-radius:24px;background:linear-gradient(180deg,#262b2c,#111313);box-shadow:0 36px 96px rgba(0,0,0,.6);padding:26px;text-align:center;color:#fff}
body.ux-next .ux-age-card img{max-width:150px;margin-bottom:12px}
body.ux-next .ux-age-card h2{margin:0 0 8px!important;color:#fff!important;font-weight:900!important}
body.ux-next .ux-age-card p{color:var(--ux-muted);line-height:1.55;margin-bottom:18px}
body.ux-next .ux-age-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
body.ux-next .ux-age-actions button,body.ux-next .ux-age-actions a{border:0;border-radius:999px;padding:11px 18px;font-weight:900;cursor:pointer}
body.ux-next .ux-age-actions button{background:linear-gradient(135deg,var(--ux-accent),var(--ux-accent-2));color:#111}
body.ux-next .ux-age-actions a{background:rgba(255,255,255,.1);color:#fff;border:1px solid rgba(255,255,255,.14)}
body.ux-next .ux-reveal{opacity:0;transform:translateY(18px);transition:opacity .45s var(--ux-ease),transform .45s var(--ux-ease)}
body.ux-next .ux-reveal.is-visible{opacity:1;transform:none}

@media (max-width:991px){
  body.ux-next .main{padding-top:84px!important}
  body.ux-next .top-search input[type="text"]{width:320px!important;min-width:220px!important}
  body.ux-next .ux-gallery-section .movie-video-grid{flex-basis:calc(33.333% - 12px);max-width:calc(33.333% - 12px)}
  body.ux-next.ux-mostviewed-static #slider3{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:767px){
  body.ux-next .navbar-header{display:block;min-height:60px}
  body.ux-next .navbar-brand{height:60px!important;padding:7px 10px!important;justify-content:flex-start!important}
  body.ux-next .navbar-brand img{max-height:44px!important;max-width:142px!important}
  body.ux-next .top-search .navbar-form{margin:8px 0 12px!important;padding:0 10px!important;border:0!important;box-shadow:none!important}
  body.ux-next .top-search input[type="text"]{width:100%!important;min-width:0!important}
  body.ux-next .header-top-right{justify-content:center;margin:0 0 12px;flex-wrap:wrap}
  body.ux-next .main{padding-left:15px!important;padding-right:15px!important}
  body.ux-next .ux-home-dashboard{grid-template-columns:1fr}
  body.ux-next .ux-gallery-section .movie-video-grid{flex-basis:calc(50% - 8px);max-width:calc(50% - 8px)}
  body.ux-next .copyright{display:none}
  body.ux-next .ux-dock{right:12px;bottom:12px}
}
@media (max-width:520px){
  body.ux-next .ux-gallery-section .movie-video-grid{flex-basis:100%;max-width:100%}
  body.ux-next.ux-mostviewed-static #slider3{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){
  body.ux-next *,body.ux-next *:before,body.ux-next *:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}
}


/* === 2026.06.24 hotfix overrides === */
body.ux-next,html{overflow-x:hidden!important}
body.ux-next{padding-top:0!important}
body.ux-next .ux-img-error{display:none!important}
body.ux-next .navbar.navbar-inverse.navbar-fixed-top{
  min-height:74px!important;
  background:linear-gradient(180deg,#fe952e 0%, #f68514 100%)!important;
  border-bottom:1px solid rgba(0,0,0,.16)!important;
  box-shadow:0 10px 28px rgba(0,0,0,.18)!important;
  backdrop-filter:none!important;
}
body.ux-next.ux-scrolled .navbar.navbar-inverse.navbar-fixed-top{
  background:rgba(13,16,17,.84)!important;
  border-bottom:1px solid rgba(254,130,0,.34)!important;
  box-shadow:0 16px 34px rgba(0,0,0,.34)!important;
  backdrop-filter:blur(14px) saturate(1.08)!important;
}
body.ux-next .navbar-header{min-height:74px!important}
body.ux-next .navbar-brand{height:74px!important;padding:10px 16px!important;min-width:186px!important;justify-content:flex-start!important}
body.ux-next .navbar-brand img{max-height:56px!important;max-width:155px!important;filter:none!important}
body.ux-next .top-search .navbar-form{margin-top:17px!important}
body.ux-next .top-search input[type="text"]{
  width:min(42vw,520px)!important; min-width:240px!important; min-height:40px!important;
  padding:9px 16px!important; border:0!important; box-shadow:0 10px 22px rgba(0,0,0,.18)!important;
}
body.ux-next .top-search input[type="submit"],
body.ux-next .top-search .glyphicon-search,
body.ux-next .top-search .fa-search{display:none!important}
body.ux-next .header-top-right{gap:.65rem!important;margin-right:.9rem!important}
body.ux-next .header-top-right>div a{padding:.78rem 1.25rem!important;font-weight:800!important}
body.ux-next .header-top-right>.file a{background:#111!important;color:#fff!important;border:1px solid rgba(254,130,0,.75)!important}
body.ux-next .header-top-right>div:nth-child(2) a{background:linear-gradient(180deg,#35bd00,#279300)!important;color:#fff!important;border:1px solid rgba(255,255,255,.14)!important}
body.ux-next .header-top-right>div:nth-child(3) a{background:linear-gradient(180deg,#fe8200,#d96b00)!important;color:#fff!important;border:1px solid rgba(255,255,255,.14)!important}
body.ux-next .header-top-right>div a:hover{transform:translateY(-1px)!important;filter:brightness(1.03)}

/* Sidebar shell */
body.ux-next .sidebar{
  top:0!important; bottom:0!important; height:100vh!important; padding:88px 0 0!important;
  overflow:hidden!important; width:16.66666667%!important; min-width:230px!important;
  background:linear-gradient(180deg,#151819 0%,#050606 100%)!important; border-right:1px solid rgba(255,255,255,.06)!important;
}
body.ux-next .drop-navigation{display:flex!important;flex-direction:column!important;height:calc(100vh - 88px)!important;padding-top:14px!important;overflow:hidden!important}
body.ux-next .drop-navigation > br{display:none!important}
body.ux-next .top-navigation{display:none!important}
body.ux-next .nav-sidebar{margin:0!important;padding:6px 0 0!important;flex:1 1 auto!important;overflow:visible!important}
body.ux-next .sidebar .nav-sidebar>li>a,
body.ux-next .drop-navigation li a{margin:.18rem .65rem!important;padding:12px 16px!important;display:flex!important;align-items:center!important;gap:12px!important}
body.ux-next .sidebar .nav-sidebar>li:first-child>a{margin-top:8px!important}
body.ux-next .sidebar .glyphicon{min-width:16px!important;text-align:center!important}
body.ux-next .copyright{margin-top:auto!important;padding:10px 18px 16px!important;max-width:none!important;font-size:9.75px!important;line-height:1.25!important}
body.ux-next .copyright img{max-width:122px!important;margin:0 auto .25rem!important;display:block!important}

/* Main layout */
body.ux-next .main{padding-top:96px!important;overflow-x:hidden!important}
@media (min-width:768px){
  body.ux-next .main{margin-left:16.66666667%!important;width:83.33333333%!important;padding-left:28px!important;padding-right:28px!important}
  body.ux-next .col-sm-offset-3, body.ux-next .col-md-offset-2{margin-left:16.66666667%!important}
  body.ux-next .col-sm-9, body.ux-next .col-md-10{width:83.33333333%!important}
}
body.ux-next .main-grids,body.ux-next .top-grids,body.ux-next .recommended,body.ux-next .single-main,body.ux-next .show-top-grids,body.ux-next .recommended-grids,body.ux-next .show-grid-right{overflow-x:hidden!important}
body.ux-next .row,[class*="col-"]{max-width:100%}
body.ux-next .container-fluid,body.ux-next .main-grids,body.ux-next .top-grids,body.ux-next .recommended{padding-right:0!important}
body.ux-next .row{margin-left:0!important;margin-right:0!important}
body.ux-next .rslides,body.ux-next #slider3,body.ux-next .callbacks_container{max-width:100%!important;overflow:hidden!important}

/* Card/title fixes */
body.ux-next .resent-grid-info ul{column-gap:.55rem!important;row-gap:.3rem!important}
body.ux-next .author-info,body.ux-next .author-info a{display:inline-flex!important;align-items:center!important;gap:0!important;padding-left:0!important;margin-left:0!important}
body.ux-next .author-info img,body.ux-next .author img,body.ux-next .author-info .avatar,body.ux-next .author-info .glyphicon-user{display:none!important}
body.ux-next .resent-grid-info h3,body.ux-next .resent-grid-info h5{padding-left:0!important}
body.ux-next .ux-rank{font-size:9px!important;padding:3px 7px 3px!important;letter-spacing:.08em!important}

/* GIFs and media should remain animated, keep full body gallery treatment */
body.ux-next .movie-video-grid .recommended-grid-img img,
body.ux-next .movie-video-grid .resent-grid-img img{object-fit:contain!important;background:#111!important}

/* Mobile */
@media (max-width:767px){
  body.ux-next .navbar.navbar-inverse.navbar-fixed-top{min-height:86px!important}
  body.ux-next .navbar-brand{min-width:0!important;height:86px!important;padding:12px 14px!important}
  body.ux-next .navbar-brand img{max-height:54px!important;max-width:150px!important}
  body.ux-next .top-search{clear:both;width:100%!important;padding:0 14px 10px!important}
  body.ux-next .top-search .navbar-form{margin:0!important;float:none!important;padding:0!important}
  body.ux-next .top-search input[type="text"]{width:100%!important;min-width:0!important}
  body.ux-next .header-top-right{display:flex!important;justify-content:flex-end!important;gap:.45rem!important;padding:0 14px 10px!important;flex-wrap:wrap!important}
  body.ux-next .header-top-right>div a{padding:.6rem 1rem!important}
  body.ux-next .sidebar{position:fixed!important;top:86px!important;left:0!important;z-index:1000!important;min-width:0!important;width:245px!important;height:calc(100vh - 86px)!important;padding:0!important;overflow:hidden!important}
  body.ux-next .drop-navigation{height:100%!important;padding-top:12px!important}
  body.ux-next .main{margin-left:0!important;width:100%!important;padding-top:118px!important;padding-left:14px!important;padding-right:14px!important}
  body.ux-next .col-sm-offset-3, body.ux-next .col-md-offset-2{margin-left:0!important}
  body.ux-next .col-sm-9, body.ux-next .col-md-10{width:100%!important}
}


/* === 2026.06.24 mobile/player optimization pass === */
/* Header action button hover/highlight */
body.ux-next .header-top-right>div a{
  position:relative!important;
  overflow:hidden!important;
  transition:transform .18s var(--ux-ease), box-shadow .18s var(--ux-ease), filter .18s var(--ux-ease), background .18s var(--ux-ease), border-color .18s var(--ux-ease)!important;
}
body.ux-next .header-top-right>div a:before{
  content:"";position:absolute;inset:-1px;z-index:-1;border-radius:inherit;
  background:linear-gradient(120deg,rgba(255,255,255,.0),rgba(255,255,255,.42),rgba(255,255,255,0));
  transform:translateX(-140%);transition:transform .38s var(--ux-ease);
}
body.ux-next .header-top-right>div a:hover:before,
body.ux-next .header-top-right>div a:focus-visible:before{transform:translateX(140%)}
body.ux-next .header-top-right>div a:hover,
body.ux-next .header-top-right>div a:focus-visible{
  transform:translateY(-2px) scale(1.025)!important;
  box-shadow:0 14px 30px rgba(0,0,0,.34),0 0 0 3px rgba(255,255,255,.18),0 0 24px rgba(254,130,0,.42)!important;
  filter:saturate(1.15) brightness(1.08)!important;
}
body.ux-next .header-top-right>.file a:hover,
body.ux-next .header-top-right>.file a:focus-visible{background:linear-gradient(180deg,#272727,#050505)!important;border-color:#fff!important;color:#fff!important}
body.ux-next .header-top-right>div:nth-child(2) a:hover,
body.ux-next .header-top-right>div:nth-child(2) a:focus-visible{background:linear-gradient(180deg,#42e600,#25a100)!important;color:#fff!important}
body.ux-next .header-top-right>div:nth-child(3) a:hover,
body.ux-next .header-top-right>div:nth-child(3) a:focus-visible{background:linear-gradient(180deg,#ffab45,#fe8200)!important;color:#111!important}
body.ux-next .header-top-right>div a:active{transform:translateY(0) scale(.985)!important}

/* Multi-screen responsive player shell - CSS-only, no playback/script changes */
body.ux-next .playerDiv{
  display:block!important;
  position:relative!important;
  width:min(100%,1080px)!important;
  max-width:1080px!important;
  height:clamp(220px,56.25vw,591px)!important;
  margin:clamp(14px,3vw,40px) auto 0!important;
  overflow:hidden!important;
  border-radius:clamp(12px,2vw,22px)!important;
  border:1px solid rgba(255,255,255,.12)!important;
  background-position:center center!important;
  background-size:cover!important;
  box-shadow:0 22px 60px rgba(0,0,0,.42)!important;
  touch-action:manipulation!important;
  -webkit-tap-highlight-color:transparent!important;
}
body.ux-next .playerDiv:after{
  content:"";position:absolute;inset:0;pointer-events:none;z-index:1;
  background:linear-gradient(180deg,rgba(0,0,0,.06) 0%,transparent 40%,rgba(0,0,0,.24) 100%);
}
body.ux-next .playerDiv > a{display:block!important;position:relative!important;width:100%!important;height:100%!important;z-index:2!important;border:0!important}
body.ux-next .playerDiv #mainForm{
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:100%!important;
  z-index:20!important;overflow:hidden!important;background-color:rgba(0,0,0,.72)!important;
}
body.ux-next .playerDiv #mainForm img[src*="video-logo"]{
  width:clamp(90px,18vw,180px)!important;height:auto!important;left:clamp(10px,2vw,18px)!important;bottom:clamp(10px,2vw,18px)!important;
}
body.ux-next .playerDiv #mainForm > a > div,
body.ux-next .playerDiv #mainForm > div{
  width:min(669px,88vw)!important;
  max-width:calc(100% - 24px)!important;
  height:clamp(210px,44vw,400px)!important;
  margin:clamp(24px,8vw,92px) auto!important;
  background-size:contain!important;
  background-position:center center!important;
}
body.ux-next .playerDiv #mainForm div[style*="50.gif"]{
  left:10%!important;top:23%!important;width:45%!important;height:45%!important;max-width:302px!important;max-height:190px!important;background-position:center!important;background-size:cover!important;
}
body.ux-next .playerDiv .submitButton{
  position:absolute!important;left:50%!important;right:auto!important;bottom:8%!important;top:auto!important;
  width:min(464px,72%)!important;height:clamp(32px,5vw,47px)!important;
  margin:0!important;transform:translateX(-50%)!important;background-size:100% auto!important;background-repeat:no-repeat!important;
}
body.ux-next .playBar,
body.ux-next .banner{max-width:100%!important;overflow:hidden!important}
body.ux-next .playBar img,
body.ux-next .banner img,
body.ux-next .banner video,
body.ux-next video{max-width:100%!important;height:auto!important}
body.ux-next video{object-fit:contain!important;background:#050505!important}

/* Tablet polish */
@media (max-width:991px){
  body.ux-next .navbar.navbar-inverse.navbar-fixed-top{min-height:72px!important}
  body.ux-next .navbar-brand{height:72px!important;min-width:160px!important}
  body.ux-next .navbar-brand img{max-height:52px!important;max-width:148px!important}
  body.ux-next .top-search input[type="text"]{width:min(36vw,360px)!important;min-width:190px!important}
  body.ux-next .header-top-right>div a{padding:.68rem 1rem!important;font-size:14px!important}
  body.ux-next .playerDiv{height:clamp(230px,54vw,560px)!important}
}

/* Mobile-first experience */
@media (max-width:767px){
  html,body.ux-next{width:100%!important;max-width:100%!important;overflow-x:hidden!important}
  body.ux-next .navbar.navbar-inverse.navbar-fixed-top{
    min-height:126px!important;
    background:linear-gradient(180deg,#fe952e,#f68514)!important;
  }
  body.ux-next.ux-scrolled .navbar.navbar-inverse.navbar-fixed-top{background:rgba(13,16,17,.88)!important}
  body.ux-next .navbar-header{min-height:62px!important;display:flex!important;align-items:center!important;width:100%!important}
  body.ux-next .navbar-toggle{display:block!important;order:1;margin:12px 12px 10px auto!important;float:none!important;border-radius:14px!important;background:rgba(0,0,0,.24)!important;border-color:rgba(255,255,255,.3)!important}
  body.ux-next .navbar-toggle:hover,body.ux-next .navbar-toggle:focus{background:rgba(0,0,0,.48)!important;box-shadow:0 0 0 3px rgba(255,255,255,.14)!important}
  body.ux-next .navbar-brand{order:0;min-width:0!important;height:62px!important;padding:8px 12px!important}
  body.ux-next .navbar-brand img{max-height:48px!important;max-width:142px!important}
  body.ux-next #navbar{display:block!important;visibility:visible!important;height:auto!important;border:0!important;box-shadow:none!important;overflow:visible!important}
  body.ux-next .top-search{width:100%!important;clear:both!important;padding:0 12px 8px!important;margin:0!important}
  body.ux-next .top-search .navbar-form{margin:0!important;padding:0!important;width:100%!important;float:none!important}
  body.ux-next .top-search input[type="text"]{width:100%!important;min-width:0!important;min-height:42px!important;border-radius:999px!important;font-size:16px!important}
  body.ux-next .header-top-right{width:100%!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;margin:0!important;padding:0 12px 10px!important}
  body.ux-next .header-top-right>div{width:100%!important;text-align:center!important}
  body.ux-next .header-top-right>div a{display:block!important;width:100%!important;padding:10px 6px!important;font-size:13px!important;line-height:1.1!important;border-radius:13px!important}

  body.ux-next .sidebar{
    top:126px!important;left:0!important;width:min(82vw,292px)!important;height:calc(100vh - 126px)!important;
    min-width:0!important;padding:0!important;transform:translateX(-105%)!important;transition:transform .24s var(--ux-ease)!important;
    box-shadow:18px 0 54px rgba(0,0,0,.58)!important;z-index:9998!important;overflow:hidden!important;
  }
  body.ux-next.ux-sidebar-open .sidebar{transform:translateX(0)!important}
  body.ux-next .drop-navigation{height:100%!important;padding-top:10px!important;overflow-y:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important}
  body.ux-next .copyright{display:block!important;margin-top:20px!important;padding-bottom:22px!important}
  body.ux-next .ux-mobile-scrim{position:fixed;inset:126px 0 0 0;background:rgba(0,0,0,.55);z-index:9997;opacity:0;pointer-events:none;transition:opacity .2s var(--ux-ease)}
  body.ux-next.ux-sidebar-open .ux-mobile-scrim{opacity:1;pointer-events:auto}
  body.ux-next .main{margin-left:0!important;width:100%!important;padding-top:144px!important;padding-left:12px!important;padding-right:12px!important;overflow-x:hidden!important}
  body.ux-next .main-grids,body.ux-next .top-grids,body.ux-next .recommended{width:100%!important;max-width:100%!important}
  body.ux-next .resent-grid:not(.slider-first),body.ux-next .movie-video-grid{width:100%!important;float:none!important;margin-left:0!important;margin-right:0!important;padding:9px!important;border-radius:16px!important}
  body.ux-next .resent-grid:not(.slider-first):not(.movie-video-grid) .resent-grid-img,
  body.ux-next .resent-grid:not(.slider-first):not(.movie-video-grid) .recommended-grid-img{aspect-ratio:16/10!important}
  body.ux-next .resent-grid-info{min-height:auto!important;padding:9px 2px 0!important}
  body.ux-next .resent-grid-info h3 a,body.ux-next .resent-grid-info h5 a{font-size:15px!important;line-height:1.22!important}
  body.ux-next .time,body.ux-next .movie-time{right:8px!important;bottom:8px!important}
  body.ux-next .ux-rank{top:8px!important;left:8px!important}
  body.ux-next .ux-dock{right:10px!important;bottom:10px!important;transform:scale(.92);transform-origin:right bottom}
  body.ux-next .ux-command{padding:10px!important;align-items:flex-start!important;padding-top:18vh!important}
  body.ux-next .ux-command-panel{border-radius:18px!important}
  body.ux-next .ux-home-dashboard{grid-template-columns:1fr!important;gap:10px!important}
  body.ux-next .ux-discovery-bar{overflow-x:auto!important;flex-wrap:nowrap!important;padding-bottom:4px!important;-webkit-overflow-scrolling:touch!important}
  body.ux-next .ux-chip{white-space:nowrap!important}

  body.ux-next .playerDiv{
    width:100%!important;max-width:100%!important;height:clamp(198px,56.25vw,430px)!important;
    margin:12px auto 0!important;border-radius:15px!important;background-size:contain!important;background-color:#050505!important;
    box-shadow:0 16px 42px rgba(0,0,0,.36)!important;
  }
  body.ux-next .playerDiv #mainForm > a > div,
  body.ux-next .playerDiv #mainForm > div{width:92vw!important;max-width:calc(100% - 16px)!important;height:clamp(180px,48vw,320px)!important;margin:clamp(16px,5vw,34px) auto!important}
  body.ux-next .playerDiv #mainForm div[style*="50.gif"]{left:8%!important;top:24%!important;width:48%!important;height:42%!important}
  body.ux-next .playerDiv .submitButton{width:72%!important;height:36px!important;bottom:9%!important}
  body.ux-next .playBar{margin-top:10px!important}
  body.ux-next .playBar img{width:100%!important}
}

/* Smaller phones */
@media (max-width:420px){
  body.ux-next .navbar.navbar-inverse.navbar-fixed-top{min-height:132px!important}
  body.ux-next .sidebar{top:132px!important;height:calc(100vh - 132px)!important}
  body.ux-next .ux-mobile-scrim{inset:132px 0 0 0}
  body.ux-next .main{padding-top:150px!important;padding-left:10px!important;padding-right:10px!important}
  body.ux-next .navbar-brand img{max-width:128px!important}
  body.ux-next .header-top-right{gap:6px!important;padding-left:10px!important;padding-right:10px!important}
  body.ux-next .header-top-right>div a{font-size:12px!important;padding:9px 4px!important}
  body.ux-next .playerDiv{height:clamp(188px,57vw,300px)!important}
  body.ux-next .playerDiv #mainForm > a > div,
  body.ux-next .playerDiv #mainForm > div{height:clamp(162px,52vw,260px)!important}
  body.ux-next .playerDiv .submitButton{height:32px!important}
}

/* Landscape phones */
@media (max-width:767px) and (orientation:landscape){
  body.ux-next .navbar.navbar-inverse.navbar-fixed-top{min-height:72px!important}
  body.ux-next .navbar-header{min-height:72px!important;width:auto!important;float:left!important}
  body.ux-next .top-search{width:38%!important;clear:none!important;float:left!important;padding:14px 8px 0!important}
  body.ux-next .header-top-right{width:auto!important;display:flex!important;float:right!important;padding:14px 8px 0 0!important}
  body.ux-next .header-top-right>div a{min-width:68px!important;padding:9px 10px!important}
  body.ux-next .sidebar{top:72px!important;height:calc(100vh - 72px)!important}
  body.ux-next .ux-mobile-scrim{inset:72px 0 0 0}
  body.ux-next .main{padding-top:88px!important}
  body.ux-next .playerDiv{height:calc(100vh - 116px)!important;max-height:430px!important;background-size:contain!important}
}


/* === 2026.06.24 desktop button + avatar cleanup === */
/* Remove legacy avatar/placeholder icon from video card author text */
body.ux-next .resent-grid-info p.author a.author,
body.ux-next .recommended-grid-info p.author a.author,
body.ux-next .resent-grid-info p.author-info a.author,
body.ux-next .recommended-grid-info p.author-info a.author,
body.ux-next .resent-grid-info .author-info a,
body.ux-next .recommended-grid-info .author-info a{
  background:none!important;
  background-image:none!important;
  padding-left:0!important;
  margin-left:0!important;
  text-indent:0!important;
  min-height:0!important;
  display:inline!important;
}
body.ux-next .resent-grid-info p.author,
body.ux-next .recommended-grid-info p.author,
body.ux-next .resent-grid-info p.author-info,
body.ux-next .recommended-grid-info p.author-info{
  background:none!important;
  padding-left:0!important;
  margin-left:0!important;
  min-height:0!important;
}
body.ux-next .resent-grid-info p.author:before,
body.ux-next .resent-grid-info p.author a.author:before,
body.ux-next .recommended-grid-info p.author:before,
body.ux-next .recommended-grid-info p.author a.author:before{
  content:none!important;
  display:none!important;
}
body.ux-next .resent-grid-info ul li,
body.ux-next .recommended-grid-info ul li{
  vertical-align:middle!important;
}

/* Desktop-safe header buttons: remove broken shine pseudo-element and use clean hover highlights */
body.ux-next .header-top-right>div a:before,
body.ux-next .header-top-right>div a:after,
body.ux-next .file a:before,
body.ux-next .file a:after,
body.ux-next .signin a:before,
body.ux-next .signin a:after,
body.ux-next .signin1 a:before,
body.ux-next .signin1 a:after{
  content:none!important;
  display:none!important;
}
body.ux-next .header-top-right>div a{
  isolation:auto!important;
  overflow:visible!important;
  z-index:auto!important;
  text-shadow:0 1px 1px rgba(0,0,0,.24)!important;
  transition:transform .16s var(--ux-ease), box-shadow .16s var(--ux-ease), background .16s var(--ux-ease), border-color .16s var(--ux-ease), filter .16s var(--ux-ease)!important;
}
body.ux-next .header-top-right>.file a{
  background:linear-gradient(180deg,#151515,#060606)!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.15)!important;
}
body.ux-next .header-top-right>div:nth-child(2) a{
  background:linear-gradient(180deg,#2fc900,#229000)!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.18)!important;
}
body.ux-next .header-top-right>div:nth-child(3) a{
  background:linear-gradient(180deg,#ff941f,#ef7600)!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.18)!important;
}
body.ux-next .header-top-right>.file a:hover,
body.ux-next .header-top-right>.file a:focus-visible{
  background:linear-gradient(180deg,#2b2b2b,#111)!important;
  border-color:#fe8200!important;
  color:#fff!important;
  box-shadow:0 12px 26px rgba(0,0,0,.35),0 0 0 3px rgba(254,130,0,.22)!important;
}
body.ux-next .header-top-right>div:nth-child(2) a:hover,
body.ux-next .header-top-right>div:nth-child(2) a:focus-visible{
  background:linear-gradient(180deg,#42e600,#26ad00)!important;
  border-color:#caffb8!important;
  color:#fff!important;
  box-shadow:0 12px 26px rgba(0,0,0,.3),0 0 0 3px rgba(53,189,0,.24)!important;
}
body.ux-next .header-top-right>div:nth-child(3) a:hover,
body.ux-next .header-top-right>div:nth-child(3) a:focus-visible{
  background:linear-gradient(180deg,#ffad42,#fe8200)!important;
  border-color:#ffe0bd!important;
  color:#fff!important;
  box-shadow:0 12px 26px rgba(0,0,0,.3),0 0 0 3px rgba(254,130,0,.28)!important;
}
body.ux-next .header-top-right>div a:hover,
body.ux-next .header-top-right>div a:focus-visible{
  transform:translateY(-2px)!important;
  filter:brightness(1.06) saturate(1.05)!important;
}
body.ux-next .header-top-right>div a:active{transform:translateY(0)!important;filter:brightness(.98)!important}

/* Keep mobile buttons compact and clean, without the desktop ghost/shine effect */
@media (max-width:767px){
  body.ux-next .header-top-right>div a{overflow:hidden!important;box-shadow:0 7px 16px rgba(0,0,0,.2)!important}
  body.ux-next .header-top-right>div a:hover,
  body.ux-next .header-top-right>div a:focus-visible{transform:translateY(-1px)!important}
}

/* === Legacy overlay normalization: reuse PSC-style CTA behavior only on legacy player pages. === */
body.ux-next .playerDiv.psc-legacy-normalized-player {
  isolation: isolate !important;
}
body.ux-next .playerDiv.psc-legacy-normalized-player .psc-player-hit {
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  cursor: pointer !important;
  -webkit-tap-highlight-color: transparent !important;
}
body.ux-next .playerDiv.psc-legacy-normalized-player #mainForm.psc-legacy-access-overlay {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  z-index: 30 !important;
  overflow: hidden !important;
  background-color: rgba(0, 0, 0, 0.74) !important;
}
body.ux-next .playerDiv.psc-legacy-normalized-player #mainForm.psc-legacy-access-overlay > a.psc-legacy-overlay-link {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  text-decoration: none !important;
}
body.ux-next .playerDiv.psc-legacy-normalized-player #mainForm.psc-legacy-access-overlay > a.psc-legacy-overlay-link > .psc-legacy-overlay-panel {
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  width: min(669px, 88vw) !important;
  max-width: calc(100% - 24px) !important;
  height: clamp(210px, 44vw, 400px) !important;
  margin: clamp(24px, 8vw, 92px) auto !important;
  position: relative !important;
  overflow: visible !important;
}
body.ux-next .playerDiv.psc-legacy-normalized-player .psc-overlay-preview-gif {
  left: 10% !important;
  top: 23% !important;
  width: 45% !important;
  height: 45% !important;
  max-width: 302px !important;
  max-height: 190px !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}
body.ux-next .playerDiv.psc-legacy-normalized-player .psc-conversion-button {
  position: absolute !important;
  left: 50% !important;
  right: auto !important;
  top: auto !important;
  bottom: 24px !important;
  transform: translateX(-50%) !important;
  width: min(560px, 82%) !important;
  min-height: 48px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 10px 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  background: linear-gradient(#b5f238 0%, #79d70f 45%, #41ad00 100%) !important;
  background-image: linear-gradient(#b5f238 0%, #79d70f 45%, #41ad00 100%) !important;
  border: 1px solid rgba(255,255,255,.35) !important;
  border-radius: 9px !important;
  box-shadow: 0 4px 0 #2f7800, 0 10px 18px rgba(0,0,0,.38) !important;
  color: #fff !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: clamp(18px, 4vw, 31px) !important;
  font-weight: 900 !important;
  line-height: 1.05 !important;
  letter-spacing: .01em !important;
  text-align: center !important;
  text-transform: uppercase !important;
  text-shadow: 0 2px 3px rgba(0,0,0,.72), 0 0 2px rgba(0,0,0,.8) !important;
  white-space: normal !important;
  cursor: pointer !important;
  z-index: 5 !important;
  overflow: visible !important;
}
body.ux-next .playerDiv.psc-legacy-normalized-player .psc-legacy-overlay-link:hover .psc-conversion-button,
body.ux-next .playerDiv.psc-legacy-normalized-player .psc-legacy-overlay-link:focus .psc-conversion-button {
  filter: brightness(1.08) !important;
  box-shadow: 0 4px 0 #2f7800, 0 12px 24px rgba(80,210,0,.42) !important;
}
@media (max-width: 767px) {
  body.ux-next .playerDiv.psc-legacy-normalized-player #mainForm.psc-legacy-access-overlay > a.psc-legacy-overlay-link > .psc-legacy-overlay-panel {
    width: 94vw !important;
    max-width: calc(100% - 16px) !important;
    height: min(58vw, 300px) !important;
    margin: clamp(10px, 4vw, 28px) auto !important;
  }
  body.ux-next .playerDiv.psc-legacy-normalized-player .psc-overlay-preview-gif {
    left: 8% !important;
    top: 25% !important;
    width: 48% !important;
    height: 40% !important;
  }
  body.ux-next .playerDiv.psc-legacy-normalized-player .psc-conversion-button {
    bottom: 8% !important;
    width: 74% !important;
    min-height: 38px !important;
    padding: 8px 10px !important;
    font-size: clamp(15px, 4vw, 20px) !important;
    border-radius: 7px !important;
  }
}



/* === Final legacy overlay CTA correction: prevent old submitButton sprite/link styles from mixing with PSC CTA. === */
body.ux-next .playerDiv.psc-legacy-normalized-player #mainForm.psc-legacy-access-overlay > a.psc-legacy-overlay-link {
  color: inherit !important;
  text-decoration: none !important;
}
body.ux-next .playerDiv.psc-legacy-normalized-player #mainForm.psc-legacy-access-overlay > a.psc-legacy-overlay-link:link,
body.ux-next .playerDiv.psc-legacy-normalized-player #mainForm.psc-legacy-access-overlay > a.psc-legacy-overlay-link:visited,
body.ux-next .playerDiv.psc-legacy-normalized-player #mainForm.psc-legacy-access-overlay > a.psc-legacy-overlay-link:hover,
body.ux-next .playerDiv.psc-legacy-normalized-player #mainForm.psc-legacy-access-overlay > a.psc-legacy-overlay-link:active {
  color: inherit !important;
  text-decoration: none !important;
}
body.ux-next .playerDiv.psc-legacy-normalized-player #mainForm.psc-legacy-access-overlay .psc-conversion-button {
  position: absolute !important;
  left: 50% !important;
  right: auto !important;
  top: auto !important;
  bottom: 24px !important;
  transform: translateX(-50%) !important;
  width: min(560px, 82%) !important;
  min-height: 48px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 10px 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  background-color: #63d400 !important;
  background-image: linear-gradient(#b5f238 0%, #79d70f 45%, #41ad00 100%) !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: 100% 100% !important;
  border: 1px solid rgba(255,255,255,.35) !important;
  border-radius: 9px !important;
  box-shadow: 0 4px 0 #2f7800, 0 10px 18px rgba(0,0,0,.38) !important;
  color: #fff !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: clamp(18px, 4vw, 31px) !important;
  font-weight: 900 !important;
  line-height: 1.05 !important;
  letter-spacing: .01em !important;
  text-align: center !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  text-shadow: 0 2px 3px rgba(0,0,0,.72), 0 0 2px rgba(0,0,0,.8) !important;
  white-space: normal !important;
  cursor: pointer !important;
  z-index: 5 !important;
  overflow: visible !important;
  opacity: 1 !important;
  visibility: visible !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}
@media (max-width: 767px) {
  body.ux-next .playerDiv.psc-legacy-normalized-player #mainForm.psc-legacy-access-overlay .psc-conversion-button {
    bottom: 8% !important;
    width: 74% !important;
    min-height: 38px !important;
    padding: 8px 10px !important;
    font-size: clamp(15px, 4vw, 20px) !important;
    border-radius: 7px !important;
  }
}


/* === Legacy sprite overlay fallback: final correction after PSC-style attempt ===
   Scope: only old legacy player pages that use .submitButton without .psc-conversion-button.
   Excludes newer PSC player pages: .playerDiv.psc-video-player and .submitButton.psc-conversion-button.
   Purpose: restore original sprite CTA while clipping one sprite state on mobile/desktop. */
body.ux-next .playerDiv:not(.psc-video-player) .submitButton:not(.psc-conversion-button) {
  position: absolute !important;
  left: 50% !important;
  right: auto !important;
  top: auto !important;
  bottom: 8% !important;
  width: min(464px, 72%) !important;
  max-width: 464px !important;
  height: auto !important;
  aspect-ratio: 464 / 47 !important;
  min-height: 0 !important;
  margin: 0 !important;
  transform: translateX(-50%) !important;
  display: block !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  background-image: url("../images/submitButton.png") !important;
  background-repeat: no-repeat !important;
  background-position: top center !important;
  background-size: 100% 200% !important;
  border: 0 !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-indent: -9999px !important;
  text-shadow: none !important;
  cursor: pointer !important;
  z-index: 1001 !important;
  -webkit-tap-highlight-color: transparent !important;
}
body.ux-next .playerDiv:not(.psc-video-player) .submitButton:not(.psc-conversion-button):hover,
body.ux-next .playerDiv:not(.psc-video-player) a:hover .submitButton:not(.psc-conversion-button),
body.ux-next .playerDiv:not(.psc-video-player) a:focus .submitButton:not(.psc-conversion-button) {
  background-position: bottom center !important;
}
@media (max-width: 767px) {
  body.ux-next .playerDiv:not(.psc-video-player) .submitButton:not(.psc-conversion-button) {
    width: 72% !important;
    max-width: 464px !important;
    bottom: 8% !important;
  }
}
@media (max-width: 420px) {
  body.ux-next .playerDiv:not(.psc-video-player) .submitButton:not(.psc-conversion-button) {
    width: 74% !important;
    bottom: 8% !important;
  }
}

/* === Site-wide mobile landscape theater mode for legacy player pages ===
   Based on the approved /site/play-promo/ first test patch.
   Scope: legacy players only: /site/play-promo/ and /site/thot/#/.
   Excludes newer PSC player pages via :not(.psc-video-player).
   No outbound links, JS, media, or player source paths are changed. */
@media screen and (orientation: landscape) and (max-height: 520px) {
  html,
  body.ux-next {
    overflow: hidden !important;
  }

  body.ux-next .playerDiv:not(.psc-video-player) {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 2147483000 !important;
    overflow: hidden !important;
    background-position: center center !important;
    background-size: cover !important;
    border-radius: 0 !important;
  }

  body.ux-next .playerDiv:not(.psc-video-player) > a[onclick] {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
  }

  body.ux-next .playerDiv:not(.psc-video-player) #mainForm {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    margin: 0 !important;
    overflow: hidden !important;
    background-color: rgba(0, 0, 0, 0.72) !important;
  }

  body.ux-next .playerDiv:not(.psc-video-player) #mainForm > img,
  body.ux-next .playerDiv:not(.psc-video-player) #mainForm img[src*="video-logo"] {
    left: 8px !important;
    bottom: 8px !important;
    max-width: 18vw !important;
    height: auto !important;
    opacity: 0.7 !important;
  }

  body.ux-next .playerDiv:not(.psc-video-player) #mainForm > a {
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 8px !important;
    box-sizing: border-box !important;
    color: transparent !important;
    text-decoration: none !important;
  }

  body.ux-next .playerDiv:not(.psc-video-player) #mainForm > a > div,
  body.ux-next .playerDiv:not(.psc-video-player) #mainForm > div {
    position: relative !important;
    width: min(76vw, calc((100dvh - 16px) * 1.6725), 669px) !important;
    max-width: calc(100vw - 16px) !important;
    height: auto !important;
    max-height: calc(100dvh - 16px) !important;
    aspect-ratio: 669 / 400 !important;
    margin: 0 auto !important;
    overflow: visible !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
  }

  body.ux-next .playerDiv:not(.psc-video-player) #mainForm > a > div > div[style*="50.gif"],
  body.ux-next .playerDiv:not(.psc-video-player) #mainForm div[style*="50.gif"] {
    left: 9.7% !important;
    top: 23.75% !important;
    width: 45.15% !important;
    height: 47.5% !important;
    background-position: center center !important;
    background-size: cover !important;
  }

  body.ux-next .playerDiv:not(.psc-video-player) #mainForm .submitButton:not(.psc-conversion-button) {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    top: auto !important;
    bottom: 7% !important;
    width: 70% !important;
    max-width: 464px !important;
    height: auto !important;
    aspect-ratio: 464 / 47 !important;
    min-height: 0 !important;
    margin: 0 !important;
    transform: translateX(-50%) !important;
    display: block !important;
    overflow: hidden !important;
    background-image: url("../images/submitButton.png") !important;
    background-repeat: no-repeat !important;
    background-position: top center !important;
    background-size: 100% 200% !important;
    border: 0 !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-indent: -9999px !important;
    text-shadow: none !important;
    z-index: 1002 !important;
  }

  body.ux-next .playerDiv:not(.psc-video-player) #mainForm a:hover .submitButton:not(.psc-conversion-button),
  body.ux-next .playerDiv:not(.psc-video-player) #mainForm a:focus .submitButton:not(.psc-conversion-button),
  body.ux-next .playerDiv:not(.psc-video-player) #mainForm a:active .submitButton:not(.psc-conversion-button) {
    background-position: bottom center !important;
  }
}

/* THOTIANAS MOBILE TOP GAP CLEANUP - legacy player pages only
   Scope: mobile/coarse-pointer devices. Removes the empty first banner spacer
   above legacy player content without changing player overlays, buttons, or links. */
@media (max-width: 767px), (hover: none) and (pointer: coarse) {
  body.ux-next .top-grids:has(> .playerDiv) > .banner:first-child,
  body.ux-next .top-grids > .banner:empty:first-child {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }

  body.ux-next .top-grids:has(> .playerDiv) > .banner:first-child + .banner,
  body.ux-next .top-grids > .banner:empty:first-child + .banner {
    margin-top: 0 !important;
  }

  body.ux-next .main-grids:has(.top-grids > .playerDiv),
  body.ux-next .top-grids:has(> .playerDiv) {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}

/* THOTIANAS MOBILE MAIN TOP OFFSET CORRECTION - legacy/shared pages
   Scope: mobile and coarse-pointer devices, including mobile "desktop site" mode.
   This directly overrides the remaining .main top padding gap without changing
   overlays, buttons, links, video sources, or media. */
@media (max-width: 767px), (hover: none) and (pointer: coarse) {
  body.ux-next:not(.psc-directory-page) .main {
    padding-top: 16px !important;
  }
}

@media (max-width: 420px), (hover: none) and (pointer: coarse) {
  body.ux-next:not(.psc-directory-page) .main {
    padding-top: 16px !important;
  }
}

/* THOTIANAS MOBILE LANDSCAPE HEADER + SCROLL FIX - 2026-06-27
   Scope: phones/tablets in landscape only. This does not target normal desktop.
   Purpose: restore scrolling on non-player pages and arrange the fixed orange header
   into a compact landscape row without changing overlays, links, player markup, or media. */
@media screen and (orientation: landscape) and (max-height: 520px) and (hover: none) and (pointer: coarse) {
  html:has(body.ux-next.psc-home-page),
  html:has(body.ux-next.psc-directory-page),
  body.ux-next.psc-home-page,
  body.ux-next.psc-directory-page {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    height: auto !important;
    min-height: 100% !important;
  }

  body.ux-next.psc-home-page .navbar.navbar-inverse.navbar-fixed-top,
  body.ux-next.psc-directory-page .navbar.navbar-inverse.navbar-fixed-top {
    min-height: 86px !important;
    height: 86px !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  body.ux-next.psc-home-page .navbar.navbar-inverse.navbar-fixed-top > .container-fluid,
  body.ux-next.psc-directory-page .navbar.navbar-inverse.navbar-fixed-top > .container-fluid {
    display: grid !important;
    grid-template-columns: clamp(150px, 23vw, 190px) minmax(0, 1fr) !important;
    align-items: center !important;
    column-gap: 10px !important;
    height: 86px !important;
    min-height: 86px !important;
    padding: 0 10px !important;
  }

  body.ux-next.psc-home-page .navbar-header,
  body.ux-next.psc-directory-page .navbar-header {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 6px !important;
    width: auto !important;
    min-height: 86px !important;
    height: 86px !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.ux-next.psc-home-page .navbar-brand,
  body.ux-next.psc-directory-page .navbar-brand {
    order: 1 !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
    height: 86px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }

  body.ux-next.psc-home-page .navbar-brand img,
  body.ux-next.psc-directory-page .navbar-brand img {
    max-width: clamp(100px, 18vw, 148px) !important;
    max-height: 52px !important;
    width: auto !important;
    height: auto !important;
  }

  body.ux-next.psc-home-page .navbar-toggle,
  body.ux-next.psc-directory-page .navbar-toggle {
    order: 2 !important;
    flex: 0 0 42px !important;
    display: block !important;
    position: static !important;
    float: none !important;
    width: 42px !important;
    height: 42px !important;
    margin: 0 !important;
    padding: 9px 8px !important;
    border-radius: 12px !important;
  }

  body.ux-next.psc-home-page #navbar,
  body.ux-next.psc-directory-page #navbar {
    display: grid !important;
    grid-template-columns: minmax(180px, 1fr) auto !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    height: 86px !important;
    min-height: 86px !important;
    margin: 0 !important;
    padding: 0 !important;
    clear: none !important;
    float: none !important;
    border: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    visibility: visible !important;
  }

  body.ux-next.psc-home-page .top-search,
  body.ux-next.psc-directory-page .top-search {
    grid-column: 1 !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    clear: none !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.ux-next.psc-home-page .top-search .navbar-form,
  body.ux-next.psc-directory-page .top-search .navbar-form {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  body.ux-next.psc-home-page .top-search input[type="text"],
  body.ux-next.psc-directory-page .top-search input[type="text"] {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 38px !important;
    height: 38px !important;
    padding: 8px 14px !important;
    font-size: 14px !important;
    line-height: 20px !important;
  }

  body.ux-next.psc-home-page .header-top-right,
  body.ux-next.psc-directory-page .header-top-right {
    grid-column: 2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 7px !important;
    width: auto !important;
    min-width: 0 !important;
    float: none !important;
    clear: none !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-wrap: nowrap !important;
  }

  body.ux-next.psc-home-page .header-top-right > div,
  body.ux-next.psc-directory-page .header-top-right > div {
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    text-align: center !important;
  }

  body.ux-next.psc-home-page .header-top-right > .clearfix,
  body.ux-next.psc-directory-page .header-top-right > .clearfix {
    display: none !important;
  }

  body.ux-next.psc-home-page .header-top-right > div a,
  body.ux-next.psc-directory-page .header-top-right > div a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: clamp(74px, 10vw, 96px) !important;
    min-width: 74px !important;
    max-width: 96px !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 8px !important;
    font-size: 12px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    border-radius: 13px !important;
    overflow: hidden !important;
  }

  body.ux-next.psc-home-page .main,
  body.ux-next.psc-directory-page .main {
    padding-top: 102px !important;
  }
}

/* THOTIANAS MOBILE LANDSCAPE HEADER BUTTON OVERLAP FIX - 2026-06-27
   Scope: mobile/tablet landscape only. Corrects the previous landscape header
   arrangement so Webcam / Sign Up / Sign In sit in one row and do not stack or
   overlap. No desktop, HTML, JS, overlay, link, player, or media behavior is changed. */
@media screen and (orientation: landscape) and (max-height: 520px) and (hover: none) and (pointer: coarse) {
  body.ux-next.psc-home-page .navbar.navbar-inverse.navbar-fixed-top,
  body.ux-next.psc-directory-page .navbar.navbar-inverse.navbar-fixed-top {
    min-height: 96px !important;
    height: 96px !important;
    overflow: visible !important;
  }

  body.ux-next.psc-home-page .navbar.navbar-inverse.navbar-fixed-top > .container-fluid,
  body.ux-next.psc-directory-page .navbar.navbar-inverse.navbar-fixed-top > .container-fluid {
    display: grid !important;
    grid-template-columns: clamp(150px, 22vw, 190px) minmax(0, 1fr) !important;
    align-items: center !important;
    column-gap: 10px !important;
    height: 96px !important;
    min-height: 96px !important;
    padding: 0 10px !important;
  }

  body.ux-next.psc-home-page .navbar-header,
  body.ux-next.psc-directory-page .navbar-header,
  body.ux-next.psc-home-page .navbar-brand,
  body.ux-next.psc-directory-page .navbar-brand {
    height: 96px !important;
    min-height: 96px !important;
  }

  body.ux-next.psc-home-page .navbar-brand img,
  body.ux-next.psc-directory-page .navbar-brand img {
    max-width: clamp(112px, 17vw, 154px) !important;
    max-height: 50px !important;
  }

  body.ux-next.psc-home-page #navbar,
  body.ux-next.psc-directory-page #navbar {
    display: grid !important;
    grid-template-columns: minmax(210px, 1fr) minmax(250px, 330px) !important;
    align-items: center !important;
    column-gap: 10px !important;
    height: 96px !important;
    min-height: 96px !important;
    overflow: visible !important;
  }

  body.ux-next.psc-home-page .top-search,
  body.ux-next.psc-directory-page .top-search {
    grid-column: 1 !important;
    align-self: center !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
  }

  body.ux-next.psc-home-page .header-top-right,
  body.ux-next.psc-directory-page .header-top-right {
    grid-column: 2 !important;
    align-self: center !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 7px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 330px !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: none !important;
    overflow: visible !important;
  }

  body.ux-next.psc-home-page .header-top-right > .file,
  body.ux-next.psc-home-page .header-top-right > .signin,
  body.ux-next.psc-directory-page .header-top-right > .file,
  body.ux-next.psc-directory-page .header-top-right > .signin {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: none !important;
    position: relative !important;
    text-align: center !important;
    overflow: visible !important;
  }

  body.ux-next.psc-home-page .header-top-right > .clearfix,
  body.ux-next.psc-directory-page .header-top-right > .clearfix,
  body.ux-next.psc-home-page .header-top-right .mfp-hide,
  body.ux-next.psc-directory-page .header-top-right .mfp-hide,
  body.ux-next.psc-home-page .header-top-right script,
  body.ux-next.psc-directory-page .header-top-right script,
  body.ux-next.psc-home-page .header-top-right link,
  body.ux-next.psc-directory-page .header-top-right link {
    display: none !important;
  }

  body.ux-next.psc-home-page .header-top-right > .file > a,
  body.ux-next.psc-home-page .header-top-right > .signin > a,
  body.ux-next.psc-directory-page .header-top-right > .file > a,
  body.ux-next.psc-directory-page .header-top-right > .signin > a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 8px !important;
    font-size: 12px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    border-radius: 13px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  body.ux-next.psc-home-page .main,
  body.ux-next.psc-directory-page .main {
    padding-top: 112px !important;
  }
}

@media screen and (orientation: landscape) and (max-height: 520px) and (max-width: 760px) and (hover: none) and (pointer: coarse) {
  body.ux-next.psc-home-page #navbar,
  body.ux-next.psc-directory-page #navbar {
    grid-template-columns: minmax(180px, 1fr) minmax(222px, 292px) !important;
    column-gap: 8px !important;
  }

  body.ux-next.psc-home-page .header-top-right,
  body.ux-next.psc-directory-page .header-top-right {
    max-width: 292px !important;
    gap: 6px !important;
  }

  body.ux-next.psc-home-page .header-top-right > .file > a,
  body.ux-next.psc-home-page .header-top-right > .signin > a,
  body.ux-next.psc-directory-page .header-top-right > .file > a,
  body.ux-next.psc-directory-page .header-top-right > .signin > a {
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 6px !important;
    font-size: 11px !important;
  }
}
