/* CS GLOBAL HEADER R1 START */

#csGlobalHeader,
#csGlobalHeader *{
  box-sizing:border-box;
}

#csGlobalHeader{
  position:relative;
  z-index:1000;
  width:100%;
  margin:0;
  padding:0;
  border:0;
  border-bottom:1px solid #4A151B;
  background:
    linear-gradient(
      180deg,
      #140507 0%,
      #1d070a 100%
    );
  box-shadow:
    0 6px 22px rgba(0,0,0,.28);

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Microsoft YaHei",
    Arial,
    sans-serif;
}

#csGlobalHeader .cs-gh-inner{
  width:min(1420px,calc(100% - 48px));
  min-height:86px;
  margin:0 auto;

  display:flex;
  align-items:center;
  gap:28px;
}

#csGlobalHeader .cs-gh-brand{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  text-decoration:none;
}

#csGlobalHeader .cs-gh-logo{
  display:block;
  width:auto;
  height:66px;
  max-width:330px;
  object-fit:contain;
}

#csGlobalHeader .cs-gh-logo-fallback{
  display:none;
  color:#F0D987;
  font-size:24px;
  font-weight:800;
  white-space:nowrap;
}

#csGlobalHeader .cs-gh-nav{
  flex:1 1 auto;
  min-width:0;

  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:6px;

  overflow-x:auto;
  overflow-y:hidden;

  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}

#csGlobalHeader .cs-gh-nav::-webkit-scrollbar{
  display:none;
}

#csGlobalHeader .cs-gh-nav a{
  position:relative;

  flex:0 0 auto;

  height:44px;
  padding:0 15px;

  display:flex;
  align-items:center;
  justify-content:center;

  border:1px solid transparent;
  border-radius:7px;

  background:transparent;

  color:#F0E6D2;

  font-size:15px;
  font-weight:700;
  line-height:1;

  text-decoration:none;
  white-space:nowrap;

  transition:.18s ease;
}

#csGlobalHeader .cs-gh-nav a:hover{
  color:#F0D987;
  border-color:rgba(212,175,55,.28);
  background:#26080d;
}

#csGlobalHeader .cs-gh-nav a.active,
#csGlobalHeader .cs-gh-nav a[aria-current="page"]{
  color:#F0D987;
  border-color:#D4AF37;
  background:#260A0E;
}

#csGlobalHeader .cs-gh-nav a.active::after,
#csGlobalHeader .cs-gh-nav a[aria-current="page"]::after{
  content:"";

  position:absolute;

  left:14px;
  right:14px;
  bottom:5px;

  height:2px;

  border-radius:999px;

  background:#D4AF37;
}

/* SPORTS 原旧 Header */
body.cs-global-header-ready .cs-header{
  display:none !important;
}

/* DRAW 原旧 Header */
body.cs-global-header-ready[data-draw-page="latest"] > .site-header{
  display:none !important;
}

body.cs-global-header-ready .draw-page-home-nav{
  display:none !important;
}

@media(max-width:1180px){

  #csGlobalHeader .cs-gh-inner{
    width:calc(100% - 28px);
    gap:18px;
  }

  #csGlobalHeader .cs-gh-logo{
    height:58px;
    max-width:290px;
  }

  #csGlobalHeader .cs-gh-nav a{
    padding:0 11px;
    font-size:14px;
  }
}

@media(max-width:850px){

  #csGlobalHeader .cs-gh-inner{
    width:calc(100% - 20px);

    min-height:0;

    padding:8px 0 9px;

    flex-wrap:wrap;

    gap:6px;
  }

  #csGlobalHeader .cs-gh-brand{
    width:100%;
    justify-content:center;
  }

  #csGlobalHeader .cs-gh-logo{
    height:54px;
    max-width:min(330px,82vw);
  }

  #csGlobalHeader .cs-gh-nav{
    width:100%;
    flex:0 0 100%;

    justify-content:flex-start;

    gap:4px;

    padding:2px 0 1px;
  }

  #csGlobalHeader .cs-gh-nav a{
    height:38px;
    padding:0 11px;
    font-size:13px;
  }
}

@media(max-width:480px){

  #csGlobalHeader .cs-gh-inner{
    width:calc(100% - 14px);
  }

  #csGlobalHeader .cs-gh-logo{
    height:48px;
    max-width:78vw;
  }

  #csGlobalHeader .cs-gh-nav a{
    height:36px;
    padding:0 9px;
    font-size:12.5px;
  }
}


/* CS GLOBAL HEADER TRUE CENTER R2 START */

@media (min-width:1181px){

  #csGlobalHeader .cs-gh-inner{
    display:grid;
    grid-template-columns:
      300px
      minmax(0,1fr)
      300px;
    align-items:center;
    gap:0;
  }

  #csGlobalHeader .cs-gh-brand{
    grid-column:1;
    grid-row:1;
    justify-self:start;
  }

  #csGlobalHeader .cs-gh-logo{
    max-width:290px;
  }

  #csGlobalHeader .cs-gh-nav{
    grid-column:2;
    grid-row:1;

    width:100%;

    flex:none;

    justify-content:center;

    gap:6px;

    overflow:visible;
  }
}

@media (min-width:851px) and (max-width:1180px){

  #csGlobalHeader .cs-gh-inner{
    display:grid;
    grid-template-columns:
      205px
      minmax(0,1fr)
      205px;
    align-items:center;
    gap:0;
  }

  #csGlobalHeader .cs-gh-brand{
    grid-column:1;
    grid-row:1;
    justify-self:start;
  }

  #csGlobalHeader .cs-gh-logo{
    height:52px;
    max-width:195px;
  }

  #csGlobalHeader .cs-gh-nav{
    grid-column:2;
    grid-row:1;

    width:100%;

    flex:none;

    justify-content:center;

    gap:3px;

    overflow:visible;
  }

  #csGlobalHeader .cs-gh-nav a{
    padding:0 8px;
    font-size:13px;
  }
}

/* CS GLOBAL HEADER TRUE CENTER R2 END */

/* CS GLOBAL HEADER R1 END */

/* CS GLOBAL NAV BACKGROUND R1 START */

/*
 * cx168168.win shared navigation background lock.
 * Background properties only.
 * Do not change typography, size, spacing, borders or layout.
 */

#csGlobalHeader{
  background:
    linear-gradient(
      180deg,
      #140507 0%,
      #1D070A 100%
    ) !important;
}

#csGlobalHeader .cs-gh-inner{
  background:transparent !important;
}

#csGlobalHeader .cs-gh-nav{
  background:transparent !important;
}

#csGlobalHeader .cs-gh-nav a{
  background:transparent !important;
}

#csGlobalHeader .cs-gh-nav a:hover{
  background:#26080D !important;
}

#csGlobalHeader .cs-gh-nav a.active,
#csGlobalHeader .cs-gh-nav a[aria-current="page"]{
  background:#260A0E !important;
}

/* CS GLOBAL NAV BACKGROUND R1 END */
