:root {
  --evilz-black: #050505;
  --evilz-shell: #0d0d0f;
  --evilz-panel: #151518;
  --evilz-line: #29292e;
  --evilz-text: #e8e8ea;
  --evilz-muted: #7c7c84;
}

#evilz-intro {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 50% 44%,
      #19191d 0,
      #0b0b0d 34%,
      var(--evilz-black) 72%
    );
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 280ms ease,
    visibility 280ms ease;
}

#evilz-intro.evilz-intro-visible {
  opacity: 1;
  visibility: visible;
}

#evilz-intro.evilz-intro-leaving {
  opacity: 0;
}

.evilz-intro-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  transform: translateY(8px) scale(.96);
  transition: transform 520ms ease;
}

.evilz-intro-visible .evilz-intro-shell {
  transform: translateY(0) scale(1);
}

.evilz-mark {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border: 1px solid var(--evilz-line);
  border-radius: 23px;
  color: var(--evilz-text);
  background:
    linear-gradient(
      145deg,
      #1a1a1e,
      #0b0b0d
    );
  box-shadow:
    0 24px 70px rgba(0, 0, 0, .65),
    inset 0 1px rgba(255, 255, 255, .045);
}

.evilz-mark span {
  font-family:
    Inter,
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -5px;
  transform: translateX(-2px);
}

.evilz-wordmark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.evilz-wordmark strong {
  color: var(--evilz-text);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .34em;
  text-indent: .34em;
}

.evilz-wordmark small {
  color: var(--evilz-muted);
  font-size: 11px;
  letter-spacing: .08em;
}

@media (prefers-reduced-motion: reduce) {
  #evilz-intro,
  .evilz-intro-shell {
    transition-duration: 1ms;
  }
}

/* ===== EVILZ MOBILE NAV V1 ===== */

#pulse-app .pulse-nav.evilz-mobile-nav {
  grid-template-columns:
    repeat(5, minmax(0, 1fr));
  gap: 0;
  min-height: 64px;
  padding:
    5px
    max(4px, env(safe-area-inset-right))
    calc(5px + env(safe-area-inset-bottom))
    max(4px, env(safe-area-inset-left));
  border-top:
    1px solid var(--evilz-line);
  background:
    rgba(8, 8, 10, .97);
  box-shadow:
    0 -12px 34px
    rgba(0, 0, 0, .3);
}

#pulse-app
.pulse-nav.evilz-mobile-nav
button {
  position: relative;
  min-width: 0;
  min-height: 53px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  margin: 0 1px;
  padding: 4px 1px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #77777f;
  background: transparent;
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color:
    transparent;
}

#pulse-app
.pulse-nav.evilz-mobile-nav
button:active {
  transform: scale(.96);
  background:
    rgba(255, 255, 255, .045);
}

#pulse-app
.pulse-nav.evilz-mobile-nav
button.selected,
#pulse-app
.pulse-nav.evilz-mobile-nav
button.active,
#pulse-app
.pulse-nav.evilz-mobile-nav
button[aria-current="page"] {
  color: #eeeeef;
  border-color: #29292e;
  background:
    rgba(255, 255, 255, .045);
}

#pulse-app
.pulse-nav.evilz-mobile-nav
.evilz-tab-icon {
  font-size: 20px;
  font-weight: 650;
  line-height: 1;
}

#pulse-app
.pulse-nav.evilz-mobile-nav
small {
  max-width: 100%;
  overflow: hidden;
  color: inherit;
  font-size: 8px;
  font-weight: 650;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#pulse-app
.pulse-nav.evilz-mobile-nav
.evilz-z-tab {
  overflow: visible;
}

#pulse-app
.pulse-nav.evilz-mobile-nav
.evilz-z-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-top: -11px;
  border: 1px solid #35353b;
  border-radius: 11px;
  color: #ededee;
  background:
    linear-gradient(
      145deg,
      #202024,
      #0b0b0d
    );
  box-shadow:
    0 9px 22px
    rgba(0, 0, 0, .46),
    inset 0 1px
    rgba(255, 255, 255, .055);
  font-size: 21px;
  font-weight: 800;
}

#pulse-app
.pulse-nav.evilz-mobile-nav
.evilz-nav-badge {
  position: absolute;
  top: 2px;
  right: max(4px, 12%);
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #08080a;
  border-radius: 999px;
  color: #fff;
  background: #c6424f;
  box-shadow:
    0 3px 10px
    rgba(0, 0, 0, .42);
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
}

#pulse-app
.pulse-nav.evilz-mobile-nav
.evilz-nav-badge[hidden] {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  #pulse-app
  .pulse-nav.evilz-mobile-nav
  button {
    transition: none;
  }
}
