html {
  background: #070b0c;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  font-family: 'Instrument Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

.font-display {
  font-family: 'Barlow Condensed', sans-serif;
}

.clip-panel {
  border-radius: 0 14px 0 14px;
}

.clip-hero {
  border-radius: 0 24px 0 24px;
}

.squad-card-photo {
  background-color: rgba(0, 0, 0, 0.7);
}

.squad-card-photo img,
.squad-card-photo > div {
  transition: transform 320ms ease;
}

.squad-card:hover .squad-card-photo img,
.squad-card:focus-visible .squad-card-photo img,
.squad-card:hover .squad-card-photo > div,
.squad-card:focus-visible .squad-card-photo > div {
  transform: scale(1.04);
}

.ui-btn {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 4px;
  padding: 0 1rem;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  transition: background-color 160ms ease, color 160ms ease, opacity 160ms ease;
  cursor: pointer;
}

.ui-btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.ui-btn-primary {
  background: #d4b178;
  color: #090d0d;
}

.ui-btn-primary:hover:not(:disabled) {
  background: #e6c797;
}

.ui-btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.96);
}

.ui-btn-secondary:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.16);
}

.ui-tab-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ui-tab-button {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.55);
  padding: 0 1rem;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.74);
  transition: background-color 160ms ease, color 160ms ease;
  cursor: pointer;
}

.ui-tab-button:hover {
  background: rgba(0, 0, 0, 0.65);
  color: rgba(255, 255, 255, 0.96);
}

.ui-tab-button.is-active {
  background: #d4b178;
  color: #090d0d;
}

.ui-tab-button-naked {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0 1rem;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.55);
  transition: color 200ms ease;
  cursor: pointer;
}

.ui-tab-button-naked:hover {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
}

.ui-tab-button-naked.is-active {
  background: transparent;
  color: #ffffff;
}

.ui-tab-row-naked {
  position: relative;
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.ui-tab-row-naked::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: calc(100% / var(--ui-tab-count, 2));
  height: 2px;
  background: #d4b178;
  transform: translateX(calc(var(--ui-tab-active, 0) * 100%));
  transition: transform 320ms cubic-bezier(0.32, 1, 0.42, 1);
  pointer-events: none;
}

.mobile-nav-item svg[data-lucide] {
  transition: fill 200ms ease, stroke 200ms ease;
}

.mobile-nav-item.is-active svg[data-lucide] {
  fill: #d4b178;
  stroke: #d4b178;
  stroke-width: 1.5;
}

@media (max-width: 1023px) {
  [data-scroll-header][data-scrolled="true"] {
    background-color: #050708;
  }
}

.bottom-sheet {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  visibility: hidden;
}

.bottom-sheet.is-open {
  pointer-events: auto;
  visibility: visible;
}

.bottom-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 8, 0.78);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 220ms ease;
}

.bottom-sheet.is-open .bottom-sheet-backdrop {
  opacity: 1;
}

.bottom-sheet-panel {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  max-height: 80vh;
  overflow-y: auto;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  background: #0a0e0f;
  padding: 0.75rem 1rem 1.5rem 1rem;
  box-shadow: 0 -22px 60px rgba(0, 0, 0, 0.45);
  transform: translate3d(0, 100%, 0);
  transition: transform 300ms cubic-bezier(0.34, 1.2, 0.42, 1);
}

.bottom-sheet.is-open .bottom-sheet-panel {
  transform: translate3d(0, 0, 0);
}

@keyframes dashboard-sidebar-enter {
  0% {
    opacity: 0;
    transform: translate3d(-100%, 0, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.dashboard-sidebar {
  animation: dashboard-sidebar-enter 480ms cubic-bezier(0.32, 1, 0.42, 1) both;
}

.side-drawer-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(86vw, 320px);
  overflow-y: auto;
  background: #0a0e0f;
  box-shadow: 22px 0 60px rgba(0, 0, 0, 0.5);
  transform: translate3d(-100%, 0, 0);
  transition: transform 320ms cubic-bezier(0.32, 1, 0.42, 1);
}

.bottom-sheet.is-open .side-drawer-panel {
  transform: translate3d(0, 0, 0);
}

.header-bottom-sheet {
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
  visibility: hidden;
}

.header-bottom-sheet.is-open {
  pointer-events: auto;
  visibility: visible;
}

.header-bottom-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 8, 0.78);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 240ms ease;
}

.header-bottom-sheet.is-open .header-bottom-sheet-backdrop {
  opacity: 1;
}

.header-bottom-sheet-panel {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  max-height: 80vh;
  overflow-y: auto;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  background: #0a0e0f;
  padding: 0.75rem 1rem 1.5rem 1rem;
  box-shadow: 0 -22px 60px rgba(0, 0, 0, 0.45);
  transform: translate3d(0, 100%, 0);
  transition: transform 320ms cubic-bezier(0.34, 1.2, 0.42, 1);
  opacity: 1;
}

.header-bottom-sheet.is-open .header-bottom-sheet-panel {
  transform: translate3d(0, 0, 0);
}

@media (min-width: 768px) {
  .header-bottom-sheet {
    inset: auto;
  }

  .header-bottom-sheet-backdrop {
    display: none;
  }

  .header-bottom-sheet-panel {
    inset: auto;
    right: 12px;
    top: 64px;
    bottom: auto;
    width: 340px;
    max-height: 70vh;
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
    transform: translate3d(0, -8px, 0);
    opacity: 0;
    transition: transform 240ms ease, opacity 240ms ease;
  }

  .header-bottom-sheet.is-open .header-bottom-sheet-panel {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}
