/* UGCHost Global Header V15 — high-detail textile enhancement.
   Runs after V14. Keeps the full-frame vector composition, adds visible micro-weave,
   embossed edge detail, and breathing room between Creator ID utilities and nav. */

#ugcGlobalHeader,
body.ugc-home-light-v30 #ugcGlobalHeader{
  overflow:visible!important;
  border-bottom-color:rgba(244,203,103,.72)!important;
  box-shadow:0 18px 46px rgba(0,0,0,.34),inset 0 -1px 0 rgba(255,220,130,.10)!important;
}

/* Fine woven detail is concentrated near the top/bottom bands so the menu's
   dark emerald center remains readable. This is procedural/vector detail and
   therefore stays sharp on Retina, 4K and mobile screens. */
#ugcGlobalHeader::after,
body.ugc-home-light-v30 #ugcGlobalHeader::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  user-select:none;
  opacity:.82;
  background:
    repeating-linear-gradient(132deg,rgba(255,219,126,.18) 0 1px,rgba(72,47,10,.04) 1px 2px,transparent 2px 6px),
    repeating-linear-gradient(48deg,rgba(42,115,64,.19) 0 1px,transparent 1px 5px),
    repeating-linear-gradient(90deg,rgba(255,214,104,.055) 0 1px,transparent 1px 9px),
    radial-gradient(ellipse at 14% 20%,rgba(238,185,69,.13),transparent 26%),
    radial-gradient(ellipse at 84% 77%,rgba(36,107,57,.18),transparent 30%);
  background-size:7px 7px,9px 9px,11px 11px,100% 100%,100% 100%;
  mix-blend-mode:soft-light;
  -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 30%,rgba(0,0,0,.26) 43%,rgba(0,0,0,.16) 57%,#000 71%,#000 100%);
  mask-image:linear-gradient(to bottom,#000 0%,#000 30%,rgba(0,0,0,.26) 43%,rgba(0,0,0,.16) 57%,#000 71%,#000 100%);
}

/* Keep content above all decorative layers. */
#ugcGlobalHeader>.ugh-top,
#ugcGlobalHeader>.ugh-nav,
#ugcGlobalHeader>.ugh-mobile{
  position:relative!important;
  z-index:2!important;
}

/* Stronger frame highlights make the embossed gold/emerald textile legible. */
#ugcGlobalHeader>.ugh-top{
  box-shadow:inset 0 1px 0 rgba(255,221,133,.12),inset 0 -1px 0 rgba(231,183,74,.18)!important;
}
#ugcGlobalHeader>.ugh-nav{
  box-shadow:inset 0 1px 0 rgba(250,208,108,.11),inset 0 -1px 0 rgba(245,196,82,.16)!important;
}

/* More breathing room around the Creator ID search and between the two rows. */
@media(min-width:1181px){
  #ugcGlobalHeader.ugh-two-row-v10 .ugh-top-inner{
    gap:30px!important;
    min-height:84px!important;
  }
  #ugcGlobalHeader .ugh-creator-id-search-v11{
    margin-right:14px!important;
  }
  #ugcGlobalHeader.ugh-two-row-v10 .ugh-utilities{
    gap:13px!important;
  }
  #ugcGlobalHeader.ugh-two-row-v10 .ugh-nav{
    margin-top:9px!important;
  }
  #ugcGlobalHeader.ugh-two-row-v10 .ugh-nav-inner{
    min-height:50px!important;
  }
}

/* Keep the More panel premium, legible and roomy for the opportunity links. */
#ugcGlobalHeader .ugh-more-panel.ugh-opportunity-panel-v15{
  min-width:330px!important;
  padding:10px!important;
  border:1px solid rgba(238,193,89,.42)!important;
  border-radius:16px!important;
  background:
    linear-gradient(180deg,rgba(5,24,15,.97),rgba(3,15,10,.98)),
    repeating-linear-gradient(135deg,rgba(232,186,74,.05) 0 1px,transparent 1px 6px)!important;
  box-shadow:0 24px 56px rgba(0,0,0,.46),inset 0 1px 0 rgba(255,226,149,.05)!important;
}
#ugcGlobalHeader .ugh-opportunity-link-v15{
  display:grid!important;
  grid-template-columns:34px 1fr 18px!important;
  align-items:center!important;
  gap:10px!important;
  min-height:58px!important;
  padding:9px 10px!important;
  border-radius:11px!important;
  color:#f2f4ef!important;
}
#ugcGlobalHeader .ugh-opportunity-link-v15:hover{
  background:rgba(229,180,69,.10)!important;
  color:#ffe09a!important;
}
#ugcGlobalHeader .ugh-opportunity-icon-v15{
  width:32px;height:32px;border-radius:50%;display:grid;place-items:center;
  border:1px solid rgba(238,193,89,.38);background:rgba(238,193,89,.07);
  color:#f1ca70;font-size:13px;font-weight:800;
}
#ugcGlobalHeader .ugh-opportunity-copy-v15{display:grid;gap:3px;min-width:0}
#ugcGlobalHeader .ugh-opportunity-copy-v15 strong{font-size:11.5px;font-weight:600;color:inherit}
#ugcGlobalHeader .ugh-opportunity-copy-v15 small{font-size:9.5px;line-height:1.35;color:#aeb9b0;white-space:normal}
#ugcGlobalHeader .ugh-opportunity-arrow-v15{color:#d9b45c;font-size:13px}

#ugcGlobalHeader .ugh-mobile-opportunities-v15{
  margin-top:14px;padding-top:12px;border-top:1px solid rgba(230,184,84,.18);
}
#ugcGlobalHeader .ugh-mobile-opportunities-v15 h4{
  margin:0 0 8px;color:#eac46a;font-size:10px;letter-spacing:.14em;text-transform:uppercase;
}
#ugcGlobalHeader .ugh-mobile-opportunities-v15 a{
  display:flex;justify-content:space-between;gap:12px;padding:11px 8px;
  border-bottom:1px solid rgba(255,255,255,.05);color:#edf2ec;font-size:12.5px;
}
#ugcGlobalHeader .ugh-mobile-opportunities-v15 a:last-child{border-bottom:0}

@media(max-width:1180px){
  #ugcGlobalHeader::after,body.ugc-home-light-v30 #ugcGlobalHeader::after{opacity:.72;background-size:6px 6px,8px 8px,10px 10px,100% 100%,100% 100%}
}
@media(max-width:640px){
  #ugcGlobalHeader::after,body.ugc-home-light-v30 #ugcGlobalHeader::after{opacity:.62}
}
