/* [project]/components/shell/GameSidebar.css [app-client] (css) */
.game-sidebar {
  top: 0;
  bottom: 0;
  background: var(--bg-deep);
  border-inline-end: 1px solid var(--line);
  overscroll-behavior: contain;
  z-index: 100;
  width: clamp(14.5rem, 17vw, 17.5rem);
  font-family: var(--sans);
  flex-direction: column;
  padding: clamp(.75rem, 1vw, 1rem) 0 .5rem;
  display: flex;
  position: fixed;
  inset-inline-start: 0;
  overflow: hidden;
}

:is(.game-sidebar[data-collapsed="true"], html[data-sidebar-collapsed="true"] .game-sidebar) {
  width: 4.5rem;
}

.game-sidebar__nav {
  overscroll-behavior: contain;
  flex: auto;
  min-height: 0;
  padding: 0 clamp(.5rem, .75vw, .75rem);
  overflow-y: auto;
}

.game-sidebar__heading {
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink-dim);
  margin: 0;
  padding: .25rem .6rem .3rem;
  font-size: clamp(.66rem, .62rem + .12vw, .72rem);
  font-weight: 600;
}

:is(.game-sidebar[data-collapsed="true"], html[data-sidebar-collapsed="true"] .game-sidebar) .game-sidebar__heading {
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
}

.game-sidebar__list {
  flex-direction: column;
  gap: .125rem;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.game-sidebar__group {
  margin-bottom: clamp(.5rem, .75vw, .75rem);
}

.game-sidebar__link {
  color: var(--ink-2);
  min-height: var(--hit-min, 2.75rem);
  border-radius: .7rem;
  align-items: center;
  gap: .65rem;
  padding: .3rem .6rem;
  font-size: clamp(.85rem, .8rem + .15vw, .92rem);
  font-weight: 600;
  text-decoration: none;
  transition: background .15s, color .15s;
  display: flex;
}

.game-sidebar__link:hover {
  color: var(--ink);
  background: var(--panel-2);
}

.game-sidebar__link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.game-sidebar__link[data-active="true"] {
  color: var(--ink);
  background: color-mix(in srgb, var(--accent) 22%, var(--panel-2));
  box-shadow: none;
}

.game-sidebar__icon {
  background: color-mix(in srgb, var(--ink) 6%, transparent);
  width: 1.95rem;
  height: 1.95rem;
  color: inherit;
  border-radius: .55rem;
  flex: 0 0 1.95rem;
  justify-content: center;
  align-items: center;
  display: inline-flex;
}

.game-sidebar__link:hover .game-sidebar__icon, .game-sidebar__link[data-active="true"] .game-sidebar__icon {
  background: color-mix(in srgb, var(--accent) 28%, transparent);
}

.game-sidebar__icon > img {
  object-fit: contain;
  width: 86%;
  height: 86%;
}

.game-sidebar__link[data-active="true"] .game-sidebar__icon {
  color: var(--accent);
}

.game-sidebar__link[data-active="true"] .game-sidebar__icon > img {
  filter: drop-shadow(0 0 6px color-mix(in srgb, var(--accent) 55%, transparent));
}

:is(.game-sidebar[data-collapsed="true"], html[data-sidebar-collapsed="true"] .game-sidebar) .game-sidebar__icon {
  flex: 0 0 2.2rem;
  width: 2.2rem;
  height: 2.2rem;
}

.game-sidebar__label {
  white-space: nowrap;
  text-overflow: ellipsis;
  flex: auto;
  min-width: 0;
  transition: opacity .15s, transform .15s;
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .game-sidebar__label {
    transition: none;
  }
}

:is(.game-sidebar[data-collapsed="true"], html[data-sidebar-collapsed="true"] .game-sidebar) .game-sidebar__label {
  opacity: 0;
  transform: translateX(-6px);
}

:is(.game-sidebar[data-collapsed="true"], html[data-sidebar-collapsed="true"] .game-sidebar) .game-sidebar__link {
  justify-content: center;
  gap: 0;
  padding: .5rem 0;
}

:is(.game-sidebar[data-collapsed="true"], html[data-sidebar-collapsed="true"] .game-sidebar) .game-sidebar__label {
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .game-sidebar__link {
    transition: none;
  }
}

.game-sidebar__footer {
  border-top: 1px solid var(--line);
  flex-direction: column;
  flex: none;
  padding-top: .25rem;
  display: flex;
}

.game-sidebar__discord {
  width: calc(100% - 1.5rem);
  color: var(--ink-2);
  border: 1px solid var(--line-bright);
  font: inherit;
  min-height: var(--hit-min, 2.75rem);
  background: none;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  margin: .5rem auto 0;
  padding: .5rem .75rem;
  font-size: clamp(.78rem, .7rem + .15vw, .85rem);
  font-weight: 600;
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
  display: inline-flex;
}

.game-sidebar__discord:hover {
  color: #fff;
  background: #5865f2;
  border-color: #5865f2;
}

.game-sidebar__discord:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.game-sidebar__discord-icon {
  flex: none;
  justify-content: center;
  align-items: center;
  width: 1.125rem;
  height: 1.125rem;
  display: inline-flex;
}

@media (prefers-reduced-motion: reduce) {
  .game-sidebar__discord {
    transition: none;
  }
}

:is(.game-sidebar[data-collapsed="true"], html[data-sidebar-collapsed="true"] .game-sidebar) .game-sidebar__discord-label {
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
}

:is(.game-sidebar[data-collapsed="true"], html[data-sidebar-collapsed="true"] .game-sidebar) .game-sidebar__discord {
  gap: 0;
  width: calc(100% - 1rem);
  margin: .5rem .5rem 0;
  padding: .5rem 0;
}

.game-sidebar__collapse {
  width: calc(100% - 1.5rem);
  color: var(--ink-dim);
  border: 1px solid var(--line-bright);
  cursor: pointer;
  font: inherit;
  min-height: var(--hit-min, 2.75rem);
  background: none;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  margin: .75rem auto;
  padding: .5rem .75rem;
  font-size: clamp(.78rem, .7rem + .15vw, .85rem);
  display: none;
}

.game-sidebar__collapse:hover {
  color: var(--ink);
  background: var(--panel-2);
}

.game-sidebar__collapse:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

:is(.game-sidebar[data-collapsed="true"], html[data-sidebar-collapsed="true"] .game-sidebar) .game-sidebar__collapse-label {
  display: none;
}

:is(.game-sidebar[data-collapsed="true"], html[data-sidebar-collapsed="true"] .game-sidebar) .game-sidebar__collapse {
  width: calc(100% - 1rem);
  margin: .75rem .5rem;
  padding: .5rem 0;
}

@media (min-width: 768px) {
  .game-sidebar__collapse {
    display: inline-flex;
  }
}

@media (max-width: 767px) {
  .game-sidebar {
    z-index: 300;
    width: min(85vw, 20rem);
    transition: transform .2s;
    transform: translateX(-100%);
    box-shadow: 0 4px 24px #00000073;
  }

  .game-sidebar[data-open="true"] {
    transform: translateX(0);
  }

  :is(.game-sidebar[data-collapsed="true"], html[data-sidebar-collapsed="true"] .game-sidebar) {
    width: min(85vw, 20rem);
  }

  @media (prefers-reduced-motion: reduce) {
    .game-sidebar {
      transition: none;
    }
  }
}

@media (min-width: 768px) {
  .game-sidebar[data-open] {
    transform: none;
  }
}

/*# sourceMappingURL=15kfdh2t1rk73.css.map*/