#header.sc-has-top-navigation {
  align-items: center;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid rgba(84, 84, 84, .1);
  box-shadow: 0 8px 30px rgba(48, 36, 40, .06);
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr);
  height: auto !important;
  min-height: 74px;
  padding: 10px clamp(20px, 4vw, 64px) !important;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1100;
}

#header.sc-has-top-navigation > a:first-child {
  align-items: center;
  display: inline-flex;
  justify-self: start;
  min-width: 0;
  text-decoration: none;
}

.sc-top-navigation {
  justify-self: center;
  min-width: 0;
}

.sc-top-navigation ul {
  align-items: center;
  background: rgba(248, 248, 248, .92);
  border: 1px solid rgba(84, 84, 84, .08);
  border-radius: 999px;
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 5px;
}

.sc-top-navigation li {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
}

.sc-top-nav-link {
  align-items: center;
  border-radius: 999px;
  color: #666;
  display: inline-flex;
  font-size: 15px;
  font-weight: 750;
  justify-content: center;
  letter-spacing: .02em;
  min-height: 42px;
  min-width: 72px;
  padding: 0 20px;
  position: relative;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.sc-top-nav-link:hover {
  background: #fff;
  color: #d93165;
  transform: translateY(-1px);
}

.sc-top-nav-link.sc-active {
  background: linear-gradient(135deg, #f17289, #d93165);
  box-shadow: 0 9px 22px rgba(217, 49, 101, .25);
  color: #fff;
}

.sc-top-nav-link:focus-visible {
  outline: 3px solid rgba(217, 49, 101, .24);
  outline-offset: 2px;
}

body.dark-mode #header.sc-has-top-navigation {
  background: rgba(35, 35, 35, .9);
  border-bottom-color: rgba(255, 255, 255, .1);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .22);
}

body.dark-mode .sc-top-navigation ul {
  background: rgba(55, 55, 55, .9);
  border-color: rgba(255, 255, 255, .08);
}

body.dark-mode .sc-top-nav-link {
  color: #e2e2e2;
}

body.dark-mode .sc-top-nav-link:hover {
  background: #545454;
  color: #fff;
}

@media (max-width: 767.98px) {
  #header.sc-has-top-navigation {
    grid-template-columns: 1fr;
    height: auto !important;
    min-height: 0;
    padding: 8px 0 0 !important;
  }

  #header.sc-has-top-navigation > a:first-child {
    margin: 0 16px 7px;
  }

  .sc-top-navigation {
    justify-self: stretch;
    max-width: 100vw;
    overflow-x: auto;
    padding: 0 12px 8px;
    scrollbar-width: none;
  }

  .sc-top-navigation::-webkit-scrollbar {
    display: none;
  }

  .sc-top-navigation ul {
    background: transparent;
    border: 0;
    border-radius: 0;
    gap: 6px;
    justify-content: space-between;
    min-width: max-content;
    padding: 0;
  }

  .sc-top-nav-link {
    font-size: 14px;
    min-height: 38px;
    min-width: 60px;
    padding: 0 16px;
  }
}

@media (max-width: 380px) {
  .sc-top-nav-link {
    min-width: 56px;
    padding-inline: 13px;
  }
}

#lside .sc-sidebar-story-btn:not(.sc-active) {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  color: #545454 !important;
  text-shadow: none !important;
}

#lside .sc-sidebar-nav-item {
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

#lside .sc-legacy-story-row,
#lside .row:has(.sc-sidebar-story-btn) {
  display: none !important;
}

#menuHolder .mnav-btn[data-sc-nav="works"] {
  color: #fff !important;
  font-weight: 800;
}

#menuHolder .mnav-btn[data-sc-nav="works"] .icon,
#menuHolder .mnav-btn[data-sc-nav="works"] .text {
  color: inherit !important;
}

#menuHolder .mnav-btn.sc-active {
  color: #ec5f78;
}

#lside .sc-vr-device-icon {
  fill: none;
  height: 1.55rem;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
  width: 1.55rem;
}

@media (min-width: 992px) {
  #lside .col-12.py-4.px-3:has(> .sc-sidebar-story-btn) {
    padding-bottom: .35rem !important;
    padding-top: 1rem !important;
  }

  #lside .navigation-holder {
    padding-top: 1rem !important;
  }

  #lside .navigation ul {
    display: flex;
    flex-direction: column;
    gap: .35rem;
  }

  #lside .navigation li {
    margin: 0 !important;
  }

  #lside:hover .sc-sidebar-story-btn > .icon,
  #lside:hover .sc-sidebar-nav-item > .icon {
    align-items: center;
    display: inline-flex;
    flex: 0 0 47px;
    justify-content: center;
    margin: 0 !important;
    min-width: 47px;
    width: 47px;
  }

  #lside:hover .sc-vr-device-icon {
    height: 1.55rem;
  }
}

#lside .sc-sidebar-story-btn:hover,
#lside .sc-sidebar-nav-item:hover {
  background: #e2e2e2 !important;
  border-color: transparent !important;
  color: #545454 !important;
}

#lside .sc-sidebar-nav-item.sc-active,
#lside .sc-sidebar-story-btn.sc-active {
  background: #ec5f78 !important;
  border-color: #ec5f78 !important;
  box-shadow: 0 8px 18px rgba(236, 95, 120, .28) !important;
  color: #fff !important;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, .16) !important;
}

#lside .sc-sidebar-nav-item.sc-active .icon,
#lside .sc-sidebar-story-btn.sc-active .icon,
#lside .sc-sidebar-nav-item.sc-active .text {
  color: inherit !important;
}

body.dark-mode #lside .sc-sidebar-story-btn:not(.sc-active) {
  color: #e2e2e2 !important;
}

body.dark-mode #lside .sc-sidebar-story-btn:hover,
body.dark-mode #lside .sc-sidebar-nav-item:hover {
  background: #545454 !important;
  color: #e2e2e2 !important;
}

.sc-header-auth {
  align-items: center;
  gap: 10px;
}

.sc-header-auth .btn {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 40px;
  min-width: 86px;
  padding: 0 22px;
  text-decoration: none;
}

.sc-header-auth .sc-auth-login {
  background: #fff;
  border: 1px solid #ececec;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .08);
  color: #545454;
}

.sc-header-auth .sc-auth-login:hover {
  background: #f8f8f8;
  border-color: #e4e4e4;
  box-shadow: 0 7px 18px rgba(0, 0, 0, .1);
  color: #ec5f78;
}

.sc-header-auth .sc-auth-register {
  box-shadow: 0 10px 24px rgba(236, 95, 120, .28);
  color: #fff;
}

body.dark-mode .sc-header-auth .sc-auth-login {
  background: #232323;
  border-color: rgba(255, 255, 255, .18);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .22);
  color: #f8f8f8;
}

body.dark-mode .sc-header-auth .sc-auth-login:hover {
  border-color: rgba(255, 255, 255, .26);
  box-shadow: 0 7px 18px rgba(0, 0, 0, .26);
  color: #ec5f78;
}

.sc-header-login-compact {
  display: none !important;
}

#logo,
#logoLS {
  height: auto;
  max-height: 54px;
  object-fit: contain;
  width: auto;
}

@media (max-width: 575.98px) {
  #logo,
  #logoLS {
    max-height: 40px;
  }
}

@media (min-width: 992px) {
  #lside:not(:hover) .sc-sidebar-story-btn {
    align-items: center;
    border-radius: 999px;
    display: flex;
    font-size: 0;
    height: 47px;
    justify-content: center;
    overflow: hidden;
    padding: 0;
    white-space: nowrap;
    width: 47px !important;
  }

  #lside:not(:hover) .sc-sidebar-story-btn .icon {
    font-size: 1.45rem;
    margin: 0;
  }

  #lside:hover .sc-sidebar-story-btn {
    gap: 0;
    overflow: hidden;
    white-space: nowrap;
  }
}
