/* Omni 0.2.64 — Premium open fullscreen without desktop scrolling.
   Artwork, typography, theme and existing checkout security remain intact. */

/* Fix: the gold tooltip was positioned ABOVE the crown and therefore clipped
   by the existing miniprofile cover (overflow:hidden). Keep it INSIDE cover. */
#nexoMiniProfile #nexoMiniPremium::after {
  content:none !important;display:none !important;
}
#nexoMiniProfile .nexo-premium-hover-tip {
  position:absolute;right:70px;top:58px;z-index:5;
  display:inline-flex;align-items:center;justify-content:center;
  padding:8px 13px;min-height:31px;width:max-content;max-width:170px;
  border:1px solid #e3be7791;border-radius:9px;
  background:linear-gradient(135deg,#3d2e1ddf,#231e18f2);
  color:#ffdea0;box-shadow:0 10px 28px #0008,inset 0 1px #fff2c224;
  white-space:nowrap;font-size:11px;line-height:1.1;font-weight:800;
  letter-spacing:.018em;opacity:0;visibility:hidden;pointer-events:none;
  transform:translateY(-4px);
  transition:opacity .14s ease,transform .14s ease,visibility .14s;
}
#nexoMiniProfile .nexo-premium-hover-tip::before {
  content:"";position:absolute;top:-6px;right:32px;width:10px;height:10px;
  transform:rotate(45deg);background:#3d2e1d;border-left:1px solid #e3be7791;
  border-top:1px solid #e3be7791;
}
#nexoMiniProfile #nexoMiniPremium:is(:hover,:focus-visible) + .nexo-premium-hover-tip {
  visibility:visible;opacity:1;transform:translateY(0);
}

/* The sales screen uses the entire Omni window (no inner page scroll). */
#nexoPremiumDialog {
  position:fixed;inset:0;
  width:100vw;height:100dvh;min-height:0;
  max-width:100vw;max-height:100dvh;
  margin:0;border:0;border-radius:0;padding:0;
  overflow:hidden;
}
#nexoPremiumDialog .nexo-premium-shell {
  width:100%;height:100%;min-height:0;
  display:grid;grid-template-rows:55px minmax(0,1fr);
}
#nexoPremiumDialog .nexo-premium-header {
  min-width:0;padding:0 clamp(18px,3.4vw,58px);
}
#nexoPremiumDialog .nexo-premium-scroll {
  min-width:0;min-height:0;overflow:hidden;scrollbar-width:none;
  display:grid;grid-template-rows:clamp(163px,26dvh,238px) minmax(0,1fr) auto;
}
#nexoPremiumDialog .nexo-premium-scroll::-webkit-scrollbar{display:none}
#nexoPremiumDialog .nexo-premium-hero {
  min-width:0;min-height:0;height:100%;
  padding:14px clamp(28px,4.3vw,72px);
  grid-template-columns:minmax(0,1.24fr) minmax(180px,.76fr);
  align-items:center;gap:18px;
}
#nexoPremiumDialog .nexo-premium-hero h2 {
  font-size:clamp(30px,3vw,45px);margin:0 0 6px;
}
#nexoPremiumDialog .nexo-premium-eyebrow{margin:0 0 8px}
#nexoPremiumDialog .nexo-premium-hero-copy>p {
  margin:0 0 6px;font-size:clamp(10px,.9vw,12px);line-height:1.45;
}
#nexoPremiumDialog .nexo-premium-hero-note {
  font-size:9px;line-height:1.25;max-width:570px;
}
#nexoPremiumDialog .nexo-premium-hero-feature {
  display:inline-flex;align-items:center;gap:8px;min-height:27px;
  padding:6px 10px;margin-top:8px;border-radius:7px;
  background:linear-gradient(100deg,#b889332b,#3d311a78);
  border:1px solid #ebc06c8a;color:#fbe0a7;
  font-size:10px;letter-spacing:.09em;font-weight:850;
  white-space:nowrap;max-width:100%;
}
#nexoPremiumDialog .nexo-premium-hero-feature>span{
  font-size:13px;color:#ffdb91;
}
#nexoPremiumDialog .nexo-premium-hero-feature>small{
  color:#bca371;letter-spacing:.05em;font-size:8px;font-weight:750;
}
#nexoPremiumDialog .nexo-premium-crown-scene {
  height:100%;min-height:0;max-height:206px;
}
#nexoPremiumDialog .nexo-premium-crown-scene>svg {
  height:clamp(100px,15dvh,157px);width:clamp(120px,15vw,170px);
}
#nexoPremiumDialog .nexo-premium-body {
  min-width:0;min-height:0;overflow:visible;
  display:grid;
  grid-template-columns:minmax(0,1fr) clamp(285px,27vw,365px);
  gap:clamp(12px,2.1vw,29px);
  padding:clamp(11px,1.65dvh,20px) clamp(22px,3.3vw,54px);
  align-items:stretch;
}
#nexoPremiumDialog .nexo-premium-benefits {
  min-width:0;min-height:0;display:flex;flex-direction:column;
}
#nexoPremiumDialog .nexo-premium-section-top {
  margin:0 0 clamp(7px,1dvh,12px);min-height:39px;
}
#nexoPremiumDialog .nexo-premium-section-top h3 {font-size:clamp(17px,1.55vw,22px);margin:3px 0 0}
#nexoPremiumDialog .nexo-premium-feature-grid{
  min-width:0;min-height:0;
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  grid-template-rows:minmax(76px,1.0fr) repeat(2,minmax(75px,1fr));
  flex:1;gap:clamp(6px,1dvh,10px);
}
#nexoPremiumDialog .nexo-premium-feature{
  min-height:0;min-width:0;height:100%;
  display:flex;align-items:center;
  padding:clamp(8px,1.15dvh,13px) clamp(9px,1vw,15px);
  gap:clamp(7px,.9vw,13px);
}
#nexoPremiumDialog .nexo-premium-feature-icon {
  width:clamp(29px,2.7vw,38px);height:clamp(29px,2.7vw,38px);
  font-size:clamp(17px,1.5vw,22px);
}
#nexoPremiumDialog .nexo-premium-feature h4{
  font-size:clamp(10px,1vw,13px);margin:0 0 4px;line-height:1.18;
}
#nexoPremiumDialog .nexo-premium-feature p{
  font-size:clamp(9px,.84vw,11px);margin:0 0 4px;line-height:1.35;
}
#nexoPremiumDialog .nexo-premium-feature small{
  font-size:8px;white-space:nowrap;
}
#nexoPremiumDialog .nexo-premium-feature--stream {
  grid-column:1/-1;
  min-height:0;
  position:relative;
  overflow:hidden;
  border-color:#dcb76b9f;
  background:
    radial-gradient(ellipse at 95% 45%,#e9b65f34,transparent 49%),
    linear-gradient(108deg,#493821,#342b22 55%,#252326);
  box-shadow:inset 0 1px #ffe3a228,0 4px 18px #0003;
}
#nexoPremiumDialog .nexo-premium-feature--stream::before{
  content:"";position:absolute;right:0;top:0;bottom:0;width:40%;
  opacity:.3;pointer-events:none;
  background-image:repeating-linear-gradient(-32deg,transparent 0px,transparent 12px,#a8834a15 12px,#a8834a15 13px);
}
#nexoPremiumDialog .nexo-premium-feature-icon--stream {
  background:linear-gradient(145deg,#f3d895,#bf934b);
  color:#493014;border-color:#fff1bb93;
  flex:none;
}
#nexoPremiumDialog .nexo-premium-stream-eyebrow {
  display:block;margin:0 0 4px;color:#f4d499;
  font-size:8px;letter-spacing:.15em;font-weight:900;
}
#nexoPremiumDialog .nexo-premium-feature--stream h4{
  font-size:clamp(14px,1.35vw,19px);margin:0 0 4px;
  letter-spacing:-.01em;color:#ffeac0;
}
#nexoPremiumDialog .nexo-premium-feature--stream p{
  max-width:760px;color:#d8c5a3;font-size:clamp(9px,.88vw,11px);
  margin:0 0 2px;line-height:1.25;
}
#nexoPremiumDialog .nexo-premium-feature--stream small{
  color:#f6d18d;
}
#nexoPremiumDialog .nexo-premium-feature-copy{
  min-width:0;flex:1;position:relative;z-index:1;
}
#nexoPremiumDialog .nexo-premium-stream-quality{
  position:relative;z-index:1;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  padding:8px 16px;min-width:90px;flex:none;
  border-radius:11px;border:1px solid #ffe1a35c;
  background:#120f0a55;box-shadow:inset 0 1px #ffffff16;
}
#nexoPremiumDialog .nexo-premium-stream-quality b {
  color:#ffdda0;font-family:"Space Grotesk","Segoe UI",sans-serif;
  font-size:clamp(24px,2.2vw,38px);line-height:1;letter-spacing:-.05em;
}
#nexoPremiumDialog .nexo-premium-stream-quality i{
  font-style:normal;color:#d7b77c;font-size:9px;
  letter-spacing:.08em;margin-top:4px;
}
#nexoPremiumDialog .nexo-premium-foot-note{
  flex:none;min-width:0;min-height:0;margin:clamp(6px,1dvh,11px) 0 0;
  padding:clamp(7px,.9dvh,10px) 11px;
}
#nexoPremiumDialog .nexo-premium-foot-note p{
  font-size:clamp(9px,.75vw,10px);line-height:1.4;
}
#nexoPremiumDialog .nexo-premium-checkout {
  min-width:0;min-height:0;max-height:100%;height:100%;
  align-self:stretch;
  padding:clamp(12px,1.6dvh,20px) clamp(13px,1.35vw,21px);
  display:flex;flex-direction:column;
}
#nexoPremiumDialog .nexo-premium-checkout h3{
  font-size:clamp(23px,2vw,30px);margin:clamp(4px,.75dvh,11px) 0 2px;
}
#nexoPremiumDialog .nexo-premium-checkout-subtitle{font-size:10px;line-height:1.4}
#nexoPremiumDialog .nexo-premium-price-row{margin:clamp(5px,.7dvh,11px) 0 2px}
#nexoPremiumDialog .nexo-premium-price-row strong{font-size:clamp(32px,3.1vw,45px)}
#nexoPremiumDialog .nexo-premium-billing{font-size:10px;line-height:1.3}
#nexoPremiumDialog .nexo-premium-divider{margin:clamp(8px,1dvh,13px) 0}
#nexoPremiumDialog .nexo-premium-what-you-get{gap:clamp(4px,.75dvh,9px)}
#nexoPremiumDialog .nexo-premium-what-you-get span{font-size:clamp(9px,.78vw,11px)}
#nexoPremiumDialog .nexo-premium-membership{
  margin:clamp(6px,.8dvh,12px) 0 clamp(6px,.65dvh,9px);
  padding:clamp(5px,.65dvh,8px) 9px;font-size:10px;line-height:1.25;
}
#nexoPremiumDialog .nexo-premium-buy{min-height:38px;height:clamp(38px,4.5dvh,47px)}
#nexoPremiumDialog .nexo-premium-feedback{
  margin:clamp(5px,.6dvh,8px) 0 0;font-size:10px;line-height:1.25;
  min-height:0;
}
#nexoPremiumDialog .nexo-premium-payment-note {
  margin:clamp(5px,.65dvh,9px) 0 0;
  font-size:9px;line-height:1.3;
}
#nexoPremiumDialog .nexo-premium-footer {
  margin:0 clamp(22px,3.3vw,54px);
  min-height:46px;padding:8px 0;
  align-items:center;
}
#nexoPremiumDialog .nexo-premium-footer button{white-space:nowrap}

/* Typical laptop 720p and compact Omni windows. */
@media(max-height:800px){
  #nexoPremiumDialog .nexo-premium-scroll{
    grid-template-rows:clamp(147px,25dvh,189px) minmax(0,1fr) auto;
  }
  #nexoPremiumDialog .nexo-premium-hero{padding-block:9px}
  #nexoPremiumDialog .nexo-premium-hero h2{font-size:clamp(29px,3vw,38px);margin-bottom:3px}
  #nexoPremiumDialog .nexo-premium-eyebrow{margin-bottom:5px}
  #nexoPremiumDialog .nexo-premium-hero-copy>p{font-size:10px;line-height:1.25;margin-bottom:2px}
  #nexoPremiumDialog .nexo-premium-hero-note{display:none}
  #nexoPremiumDialog .nexo-premium-hero-feature{margin-top:7px;min-height:23px;padding:4px 8px;font-size:9px}
  #nexoPremiumDialog .nexo-premium-crown-scene>svg{height:clamp(100px,14dvh,138px)}
  #nexoPremiumDialog .nexo-premium-body{padding-block:9px}
  #nexoPremiumDialog .nexo-premium-section-top{min-height:33px;margin-bottom:6px}
  #nexoPremiumDialog .nexo-premium-feature-grid{gap:6px;grid-template-rows:minmax(73px,1fr) repeat(2,minmax(70px,1fr))}
  #nexoPremiumDialog .nexo-premium-feature{padding:7px 9px}
  #nexoPremiumDialog .nexo-premium-feature p{font-size:9px;line-height:1.27}
  #nexoPremiumDialog .nexo-premium-foot-note{margin-top:6px;padding:7px 9px}
  #nexoPremiumDialog .nexo-premium-checkout{padding:10px 13px}
  #nexoPremiumDialog .nexo-premium-checkout h3{font-size:24px;margin:5px 0 1px}
  #nexoPremiumDialog .nexo-premium-price-row strong{font-size:36px}
  #nexoPremiumDialog .nexo-premium-price-row{margin:5px 0 1px}
  #nexoPremiumDialog .nexo-premium-what-you-get{gap:4px}
  #nexoPremiumDialog .nexo-premium-membership{margin:7px 0 6px;padding:6px 8px}
  #nexoPremiumDialog .nexo-premium-footer{min-height:40px;padding:5px 0}
}

/* Narrow but still desktop windows: keep the side-by-side information. */
@media(min-width:701px) and (max-width:1080px){
  #nexoPremiumDialog .nexo-premium-body{
    grid-template-columns:minmax(0,1fr) clamp(270px,31vw,310px);
    gap:12px;padding-inline:20px;
  }
  #nexoPremiumDialog .nexo-premium-hero{padding-inline:25px}
  #nexoPremiumDialog .nexo-premium-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  #nexoPremiumDialog .nexo-premium-feature-icon:not(.nexo-premium-feature-icon--stream){
    width:27px;height:27px;
  }
  #nexoPremiumDialog .nexo-premium-feature h4{font-size:10px}
  #nexoPremiumDialog .nexo-premium-feature p{font-size:9px}
}

/* A truly small phone-sized window cannot fit all five benefits and checkout
   legibly at once. Preserve access to every item via a normal responsive
   one-column layout rather than clipping details. Desktop never scrolls. */
@media(max-width:700px){
  #nexoPremiumDialog{height:100dvh;width:100vw;border-radius:0}
  #nexoPremiumDialog .nexo-premium-shell{grid-template-rows:51px minmax(0,1fr)}
  #nexoPremiumDialog .nexo-premium-scroll{display:block;overflow-y:auto;scrollbar-width:thin}
  #nexoPremiumDialog .nexo-premium-hero{
    display:grid;grid-template-columns:minmax(0,1fr);
    height:auto;min-height:0;padding:20px 20px 15px;
  }
  #nexoPremiumDialog .nexo-premium-crown-scene{display:none}
  #nexoPremiumDialog .nexo-premium-body{
    display:grid;grid-template-columns:1fr;gap:14px;padding:15px 17px;
  }
  #nexoPremiumDialog .nexo-premium-feature-grid{
    flex:none;grid-template-columns:repeat(2,minmax(0,1fr));
    grid-template-rows:repeat(3,minmax(93px,auto));
  }
  #nexoPremiumDialog .nexo-premium-feature{min-height:93px}
  #nexoPremiumDialog .nexo-premium-checkout{height:auto;max-height:none}
  #nexoPremiumDialog .nexo-premium-footer{
    padding:14px 0;margin:0 17px 10px;
  }
}
@media(max-width:440px){
  #nexoPremiumDialog .nexo-premium-feature-grid{
    grid-template-columns:1fr;
    grid-template-rows:none;
    grid-auto-rows:minmax(78px,auto);
  }
  #nexoPremiumDialog .nexo-premium-feature--stream{grid-column:1}
  #nexoPremiumDialog .nexo-premium-feature{min-height:78px}
  #nexoPremiumDialog .nexo-premium-hero-feature{
    white-space:normal;flex-wrap:wrap;
  }
}
@media(prefers-reduced-motion:reduce){
  #nexoMiniProfile .nexo-premium-hover-tip{transition:none}
}

/* Reduced-height Omni windows: compact, single-line hero and every action
   in view at 800x600 / 1024x576 without scrolling or hidden purchase notes. */
@media(max-height:630px) and (min-width:701px){
  #nexoPremiumDialog .nexo-premium-shell{grid-template-rows:47px minmax(0,1fr)}
  #nexoPremiumDialog .nexo-premium-scroll{
    grid-template-rows:122px minmax(0,1fr) 36px;
  }
  #nexoPremiumDialog .nexo-premium-header{padding-block:2px}
  #nexoPremiumDialog .nexo-premium-hero{padding-block:7px}
  #nexoPremiumDialog .nexo-premium-hero h2{
    font-size:clamp(23px,2.4vw,30px);margin-bottom:5px;line-height:1;
  }
  #nexoPremiumDialog .nexo-premium-hero h2 br{display:none}
  #nexoPremiumDialog .nexo-premium-eyebrow{margin-bottom:4px;font-size:9px}
  #nexoPremiumDialog .nexo-premium-hero-copy>p{
    font-size:9px;line-height:1.15;margin-bottom:2px;
  }
  #nexoPremiumDialog .nexo-premium-hero-feature{margin-top:4px;padding:3px 7px}
  #nexoPremiumDialog .nexo-premium-crown-scene>svg{height:96px;width:105px}
  #nexoPremiumDialog .nexo-premium-body{padding-block:7px}
  #nexoPremiumDialog .nexo-premium-checkout-subtitle{display:none}
  #nexoPremiumDialog .nexo-premium-checkout h3{font-size:22px;margin:2px 0 0}
  #nexoPremiumDialog .nexo-premium-price-row strong{font-size:31px}
  #nexoPremiumDialog .nexo-premium-price-row{margin:3px 0 1px}
  #nexoPremiumDialog .nexo-premium-divider{margin:6px 0}
  #nexoPremiumDialog .nexo-premium-membership{margin:5px 0;padding:4px 7px}
  #nexoPremiumDialog .nexo-premium-what-you-get{gap:3px}
  #nexoPremiumDialog .nexo-premium-checkout{padding:9px 12px}
  #nexoPremiumDialog .nexo-premium-buy{height:35px;min-height:35px}
  #nexoPremiumDialog .nexo-premium-feedback{font-size:9px;margin-top:4px}
  #nexoPremiumDialog .nexo-premium-payment-note{font-size:8.5px;margin-top:4px}
  #nexoPremiumDialog .nexo-premium-foot-note{padding-block:5px}
  #nexoPremiumDialog .nexo-premium-footer{min-height:36px;padding:3px 0}
  #nexoPremiumDialog .nexo-premium-footer button{padding:6px 9px}
}
