.gate-top-banner {
  color: #d4d7e4;
  font-family: 'Manrope', sans-serif;
}

.gate-header--expanded .gate-skip:not(:focus) {
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.gate-entertainment-strip {
  display: flex;
  align-items: stretch;
  min-height: 32px;
  overflow: hidden;
  background: #0d0e17;
}

.gate-entertainment-window {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 22px, #000 calc(100% - 22px), transparent);
}

.gate-entertainment-track {
  display: flex;
  width: max-content;
  animation: gate-entertainment-scroll 42s linear infinite;
  will-change: transform;
}

.gate-entertainment-track[data-paused="true"] {
  animation-play-state: paused;
}

.gate-entertainment-group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-around;
  gap: 48px;
  width: max-content;
  min-width: 100vw;
  margin: 0;
  padding: 8px 28px;
  list-style: none;
}

.gate-entertainment-group li {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 13px;
  color: #bfc3d5;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.6;
  white-space: nowrap;
}

.gate-entertainment-group li::before {
  content: '';
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #74788d;
}

.gate-entertainment-control {
  display: inline-flex;
  flex: 0 0 75px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 32px;
  padding: 6px 10px;
  background: #0d0e17;
  color: #bfc3d5;
  font-size: 10px;
  line-height: 1.5;
  cursor: pointer;
}

.gate-entertainment-control:hover {
  color: #fff;
  background: #171925;
}

.gate-top-banner .gate-announcement {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 27px;
  padding: 5px 20px;
  background: #171522;
  color: #aaa9bc;
  font-size: 9px;
  line-height: 1.6;
}

.gate-top-banner .gate-announcement strong {
  color: #d3d0e5;
  font-weight: 600;
}

.gate-top-banner .gate-announcement a {
  display: inline;
  margin-left: 0;
  color: #d3d0e5;
  white-space: nowrap;
  text-underline-offset: 3px;
}

.gate-header.gate-header--expanded .gate-nav {
  height: 84px;
  gap: 22px;
}

.gate-header--expanded .gate-brand {
  gap: 8px;
  font-size: 23px;
  letter-spacing: -1px;
}

.gate-header--expanded .gate-brand img {
  width: 29px;
  height: 31px;
}

.gate-header--expanded .gate-nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.2vw, 19px);
  font-size: 11px;
  line-height: 1.6;
}

.gate-header--expanded .gate-nav-links a {
  padding-block: 12px;
  color: #b9bdcd;
  white-space: nowrap;
}

.gate-header--expanded .gate-nav-links a:hover,
.gate-header--expanded .gate-nav-links a[aria-current="page"] {
  color: #fff;
}

.gate-header--expanded .gate-nav-actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 9px;
}

.gate-header--expanded .gate-navigation-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 42px;
  padding: 11px 17px;
  border: 1px solid #373a48;
  border-radius: 7px;
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.6;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color .18s, color .18s, filter .18s;
}

.gate-header--expanded .gate-navigation-button--trial {
  background: #11131c;
  color: #e5e6f0;
}

.gate-header--expanded .gate-navigation-button--trial:hover {
  background: #1c1e2c;
  color: #fff;
}

.gate-header--expanded .gate-navigation-button--renew {
  border-color: transparent;
  background: linear-gradient(110deg, #4c2ce0, #6975f8);
  color: #fff;
}

.gate-header--expanded .gate-navigation-button--renew:hover {
  filter: brightness(1.12);
}

.gate-header--expanded .gate-mobile-nav {
  display: none;
}

.gate-header--expanded .gate-mobile-nav summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0 12px 12px;
  color: #e5e6f0;
  font-size: 12px;
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
}

.gate-header--expanded .gate-mobile-nav summary::-webkit-details-marker {
  display: none;
}

.gate-header--expanded .gate-mobile-nav[open] summary {
  color: #c4c3ff;
}

.gate-header--expanded .gate-mobile-nav > .gate-mobile-panel {
  position: absolute;
  inset: 100% 0 auto;
  display: block;
  max-height: calc(100dvh - 84px);
  overflow-y: auto;
  padding: 18px 28px 24px;
  border-bottom: 1px solid #343744;
  background: #11131d;
  box-shadow: 0 18px 30px rgb(0 0 0 / .3);
}

.gate-header--expanded .gate-mobile-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
}

.gate-header--expanded .gate-mobile-panel .gate-mobile-links a {
  display: block;
  padding: 13px 5px;
  border-radius: 5px;
  color: #c1c5d7;
  font-size: 14px;
  line-height: 1.7;
}

.gate-header--expanded .gate-mobile-links a[aria-current="page"],
.gate-header--expanded .gate-mobile-links a:hover {
  color: #fff;
  background: #1a1d2b;
}

.gate-header--expanded .gate-mobile-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 15px;
  padding-top: 18px;
  border-top: 1px solid #2d303d;
}

.gate-header--expanded .gate-mobile-panel .gate-mobile-actions a {
  display: inline-flex;
  padding: 12px 16px;
  font-size: 12px;
}

.gate-top-banner :focus-visible,
.gate-header--expanded :focus-visible {
  outline: 2px solid #b7b0ff;
  outline-offset: 4px;
}

@keyframes gate-entertainment-scroll {
  to { transform: translateX(-50%); }
}

@media (max-width: 1120px) {
  .gate-header--expanded .gate-nav-links,
  .gate-header--expanded .gate-nav-actions {
    display: none;
  }

  .gate-header--expanded .gate-mobile-nav {
    display: block;
  }
}

@media (max-width: 760px) {
  .gate-header.gate-header--expanded .gate-nav {
    height: 76px;
    gap: 14px;
  }

  .gate-header--expanded .gate-brand {
    font-size: 23px;
  }

  .gate-header--expanded .gate-brand img {
    width: 28px;
    height: 30px;
  }

  .gate-top-banner .gate-announcement {
    flex-wrap: wrap;
    gap: 2px 10px;
    padding: 5px 18px;
    font-size: 8px;
  }

  .gate-entertainment-group {
    gap: 32px;
    padding-inline: 20px;
  }

  .gate-entertainment-control {
    flex-basis: 66px;
  }

  .gate-header--expanded .gate-mobile-nav > .gate-mobile-panel {
    max-height: calc(100dvh - 76px);
    padding: 14px 20px 22px;
  }

  .gate-header--expanded .gate-mobile-links {
    grid-template-columns: 1fr;
  }

  .gate-header--expanded .gate-mobile-panel .gate-mobile-links a {
    padding: 11px 6px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gate-entertainment-track {
    width: 100%;
    animation: none;
    transform: none;
    will-change: auto;
  }

  .gate-entertainment-group {
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px 22px;
    width: 100%;
    min-width: 0;
    padding: 7px 20px;
  }

  .gate-entertainment-group[aria-hidden="true"],
  .gate-entertainment-control {
    display: none;
  }

  .gate-entertainment-window {
    mask-image: none;
  }

  .gate-header--expanded .gate-navigation-button {
    transition: none;
  }
}
