@charset "UTF-8";
/* Shared header presentation. */
.uilab-root.uilab-header-shell {
  font-family: sans-serif;
  color: #16233a;
  margin: 0;
  line-height: 1.6;
}

.uilab-root.uilab-header-shell * {
  box-sizing: border-box;
}

@keyframes uilab-header-flow {
  0% {
    background-position: 0 50%;
  }

  100% {
    background-position: 220% 50%;
  }
}

@keyframes uilab-header-drop {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes uilab-header-pulse {
  50% {
    transform: scale(1.1);
  }
}

@keyframes uilab-header-slide {
  from {
    opacity: 0;
    transform: translateX(-12px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes uilab-header-bounce {
  40% {
    transform: translateY(-4px);
  }
}

@keyframes uilab-header-wiggle {
  25% {
    transform: rotate(-11deg);
  }

  75% {
    transform: rotate(11deg);
  }
}

@keyframes uilab-header-pop {
  50% {
    transform: scale(1.28) rotate(14deg);
  }
}

@keyframes uilab-header-flip {
  to {
    transform: rotateY(360deg);
  }
}

.uilab-root.uilab-header-shell .uilab-header {
  position: relative;
  background: #fff;
  box-shadow: 0 4px 24px rgba(10,25,55,.14);
  animation: uilab-header-drop .5s both;
}

.uilab-root.uilab-header-shell .uilab-header::after {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg,#2563eb,#06b6d4,#8b5cf6,#2563eb);
  background-size: 220% 100%;
  animation: uilab-header-flow 6s linear infinite;
}

.uilab-root.uilab-header-shell .uilab-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.uilab-root.uilab-header-shell .uilab-logo {
  display: flex;
  flex: 0 0 185px;
  height: 44px;
  align-items: center;
}

.uilab-root.uilab-header-shell .uilab-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.uilab-root.uilab-header-shell .uilab-search {
  flex: 1;
  min-width: 0;
  max-width: 340px;
  margin-inline-start: auto;
  display: flex;
  background: #eef3fa;
  border: 1.5px solid #d7e2f0;
  border-radius: 999px;
  overflow: hidden;
}

.uilab-root.uilab-header-shell .uilab-search:focus-within {
  border-color: #0284c7;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(2,132,199,.18);
}

.uilab-root.uilab-header-shell .uilab-search-in {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 10px 16px;
  font-size: 14px;
  color: #16233a;
  outline: none;
  min-width: 0;
}

.uilab-root.uilab-header-shell .uilab-search-btn {
  border: 0;
  background: linear-gradient(135deg,#2563eb,#0284c7);
  color: #fff;
  font-weight: 800;
  font-size: 13.5px;
  padding: 0 20px;
  cursor: pointer;
  white-space: nowrap;
}

.uilab-root.uilab-header-shell .uilab-burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1.5px solid #d7e2f0;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}

.uilab-root.uilab-header-shell .uilab-bar {
  display: block;
  width: 20px;
  height: 2.5px;
  background: #0f2547;
  border-radius: 2px;
}

.uilab-root.uilab-header-shell .uilab-toggle {
  position: absolute;
  display: none;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}

.uilab-root.uilab-header-shell .uilab-nav {
  flex: none;
}

.uilab-root.uilab-header-shell .uilab-nav-in {
  display: flex;
  align-items: center;
  gap: 2px;
}

.uilab-root.uilab-header-shell .uilab-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  color: #33475e;
  font-weight: 700;
  font-size: 14.5px;
  padding: 10px 13px;
  white-space: nowrap;
  z-index: 0;
}

.uilab-root.uilab-header-shell .uilab-nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg,#2563eb,#06b6d4);
  transition: left .22s ease,right .22s ease;
}

.uilab-root.uilab-header-shell .uilab-nav-link:hover {
  color: #0284c7;
}

.uilab-root.uilab-header-shell .uilab-nav-link:hover::after,
.uilab-root.uilab-header-shell .uilab-nav-link.uilab-is-active::after {
  left: 13px;
  right: 13px;
}

.uilab-root.uilab-header-shell .uilab-is-active {
  color: #0284c7;
}

.uilab-root.uilab-header-shell .uilab-ico {
  width: 27px;
  height: 27px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-style: normal;
}

.uilab-root.uilab-header-shell .uilab-ico-home {
  background: #dbeafe;
  color: #2563eb;
}

.uilab-root.uilab-header-shell .uilab-ico-game {
  background: #ede9fe;
  color: #7c3aed;
}

.uilab-root.uilab-header-shell .uilab-ico-tips {
  background: #fef3c7;
  color: #d97706;
}

.uilab-root.uilab-header-shell .uilab-ico-coin {
  background: #fef9c3;
  color: #b45309;
}

.uilab-root.uilab-header-shell .uilab-nav-link:hover .uilab-ico-home {
  animation: uilab-header-bounce .5s ease;
}

.uilab-root.uilab-header-shell .uilab-nav-link:hover .uilab-ico-game {
  animation: uilab-header-wiggle .5s ease;
}

.uilab-root.uilab-header-shell .uilab-nav-link:hover .uilab-ico-tips {
  animation: uilab-header-pop .5s ease;
}

.uilab-root.uilab-header-shell .uilab-nav-link:hover .uilab-ico-coin {
  animation: uilab-header-flip .6s ease;
}

.uilab-root.uilab-header-shell .uilab-nav-badge {
  background: #f97316;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  border-radius: 999px;
  padding: 1px 7px;
  animation: uilab-header-pulse 1.8s infinite;
}

.uilab-root.uilab-header-shell .uilab-drawer {
  display: none;
  border-top: 1px solid #e6edf6;
  background: #f4f8fd;
  padding: 14px 16px 18px;
}

.uilab-root.uilab-header-shell .uilab-drawer-link {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  padding: 11px 8px;
  border-bottom: 1px dashed #dbe5f1;
  color: #16233a;
  border-radius: 8px;
}

.uilab-root.uilab-header-shell .uilab-drawer-link:hover {
  background: rgba(37,99,235,.07);
}

.uilab-root.uilab-header-shell .uilab-dl-t {
  font-weight: 800;
  font-size: 15px;
}

.uilab-root.uilab-header-shell .uilab-dl-d {
  font-size: 12px;
  color: #64748b;
}

.uilab-root.uilab-header-shell .uilab-dl-a {
  color: #0284c7;
  font-weight: 900;
  margin-left: auto;
}

@media (max-width: 860px) {
  .uilab-root.uilab-header-shell .uilab-toggle {
    display: block;
  }

  .uilab-root.uilab-header-shell .uilab-main {
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 14px;
  }

  .uilab-root.uilab-header-shell .uilab-burger {
    display: flex;
    margin-left: auto;
  }

  .uilab-root.uilab-header-shell .uilab-main .uilab-search {
    order: 1;
    flex: 0 0 100%;
    max-width: none;
  }

  .uilab-root.uilab-header-shell .uilab-nav {
    display: none;
  }

  .uilab-root.uilab-header-shell .uilab-toggle:checked ~ .uilab-drawer {
    display: block;
  }

  .uilab-root.uilab-header-shell .uilab-toggle:checked ~ .uilab-drawer .uilab-drawer-link {
    animation: uilab-header-slide .4s both;
  }

  .uilab-root.uilab-header-shell .uilab-toggle:checked ~ .uilab-main .uilab-burger .uilab-bar:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
  }

  .uilab-root.uilab-header-shell .uilab-toggle:checked ~ .uilab-main .uilab-burger .uilab-bar:nth-child(2) {
    opacity: 0;
  }

  .uilab-root.uilab-header-shell .uilab-toggle:checked ~ .uilab-main .uilab-burger .uilab-bar:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
  }
}

@media (min-width: 861px) and (max-width: 1024px) {
  .uilab-root.uilab-header-shell .uilab-main {
    gap: 10px;
  }

  .uilab-root.uilab-header-shell .uilab-logo {
    flex-basis: 150px;
  }

  .uilab-root.uilab-header-shell .uilab-nav-link {
    gap: 5px;
    padding-inline: 8px;
  }

  .uilab-root.uilab-header-shell .uilab-nav-link:hover::after,
  .uilab-root.uilab-header-shell .uilab-nav-link.uilab-is-active::after {
    left: 8px;
    right: 8px;
  }

  .uilab-root.uilab-header-shell .uilab-search-in {
    padding-inline: 12px;
  }

  .uilab-root.uilab-header-shell .uilab-search-btn {
    padding-inline: 14px;
  }
}

/* The wrapper sticks to the viewport while the inner header runs its entrance animation. */
.uilab-root.uilab-header-shell {
  width: var(--uilab-header-viewport-width, 100%);
  max-width: none;
  margin-inline: calc((100% - var(--uilab-header-viewport-width, 100%)) / 2);
  padding: 0;
  position: sticky;
  top: var(--wp-admin--admin-bar--height, 0px);
  z-index: 50;
}


.uilab-root.uilab-header-shell .uilab-search-in,
.uilab-root.uilab-header-shell .uilab-search-btn {
  margin: 0;
  font-family: inherit;
  box-shadow: none;
}

.uilab-root.uilab-header-shell .uilab-nav-link:focus-visible,
.uilab-root.uilab-header-shell .uilab-drawer-link:focus-visible,
.uilab-root.uilab-header-shell .uilab-search-btn:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: -2px;
}

.uilab-root.uilab-header-shell .uilab-logo:focus-visible,
.uilab-root.uilab-header-shell .uilab-toggle:focus-visible ~ .uilab-main .uilab-burger {
  outline: 2px solid #2563eb;
  outline-offset: 3px;
}

.uilab-root.uilab-header-shell .uilab-drawer-link:nth-child(2) { animation-delay: .04s; }
.uilab-root.uilab-header-shell .uilab-drawer-link:nth-child(3) { animation-delay: .08s; }
.uilab-root.uilab-header-shell .uilab-drawer-link:nth-child(4) { animation-delay: .12s; }

@media (max-width: 860px) {
  .uilab-root.uilab-header-shell {
    transition: transform .3s ease;
  }

  .uilab-root.uilab-header-shell.uilab-header--hidden {
    transform: translateY(calc(-100% - var(--wp-admin--admin-bar--height, 0px)));
  }

  .uilab-root.uilab-header-shell .uilab-logo {
    flex: 1 1 0;
    min-width: 0;
    height: 38px;
  }

  .uilab-root.uilab-header-shell .uilab-logo img {
    width: min(132px, 100%);
    height: auto;
  }

  .uilab-root.uilab-header-shell .uilab-drawer {
    max-height: max(9rem, calc(100dvh - var(--uilab-header-bar-size, 150px) - var(--wp-admin--admin-bar--height, 0px)));
    overflow-y: auto;
    overscroll-behavior-y: contain;
  }
}

@media (prefers-reduced-motion: reduce) {
  .uilab-root.uilab-header-shell,
  .uilab-root.uilab-header-shell .uilab-nav-link::after {
    transition: none;
  }

  .uilab-root.uilab-header-shell .uilab-header,
  .uilab-root.uilab-header-shell .uilab-header::after,
  .uilab-root.uilab-header-shell .uilab-nav-badge,
  .uilab-root.uilab-header-shell .uilab-nav-link:hover .uilab-ico,
  .uilab-root.uilab-header-shell .uilab-toggle:checked ~ .uilab-drawer .uilab-drawer-link {
    animation: none;
  }
}
