/* United Factions 0.18.112: dedicated mobile launcher navigation. */
.uf-mobile-launcher {
  display: none;
}

@media (max-width: 1100px) {
  .uf-header__inner {
    position: relative;
  }

  .uf-nav-toggle {
    display: inline-grid;
  }

  .uf-nav {
    position: fixed;
    top: 82px;
    right: 0;
    left: 0;
    display: none;
    box-sizing: border-box;
    width: 100%;
    max-height: calc(100vh - 82px);
    max-height: calc(100dvh - 82px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
  }

  .uf-nav.is-open {
    display: block;
    padding: 12px;
    border-top: 1px solid rgba(63, 208, 238, 0.22);
    border-bottom: 1px solid rgba(63, 208, 238, 0.18);
    background:
      radial-gradient(circle at 50% 0, rgba(63, 208, 238, 0.08), transparent 42%),
      linear-gradient(180deg, rgba(8, 26, 32, 0.99), rgba(3, 11, 15, 0.99));
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
  }

  .uf-nav > .uf-nav__list,
  .uf-nav > .uf-button {
    display: none !important;
  }

  .uf-mobile-launcher {
    display: grid;
    gap: 10px;
    width: min(100%, 620px);
    margin-inline: auto;
  }

  .uf-mobile-launcher a {
    color: rgba(248, 252, 253, 0.92);
    text-decoration: none;
  }

  .uf-mobile-launcher__play,
  .uf-mobile-launcher__account {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    box-sizing: border-box;
    width: 100%;
    padding: 10px 14px;
    border: 1px solid rgba(63, 208, 238, 0.48);
    background:
      linear-gradient(135deg, rgba(63, 208, 238, 0.22), transparent 58%),
      rgba(8, 46, 55, 0.98);
    color: #fff;
    font-size: clamp(10px, 2.8vw, 12px);
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .uf-mobile-launcher__play svg,
  .uf-mobile-launcher__account svg {
    width: 18px;
    height: 18px;
  }

  .uf-mobile-launcher__actions {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .uf-mobile-launcher__actions > a {
    min-width: 0;
  }

  .uf-mobile-launcher__grid {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .uf-mobile-launcher__grid > a {
    display: grid;
    min-width: 0;
    min-height: 62px;
    place-items: center;
    align-content: center;
    gap: 7px;
    box-sizing: border-box;
    padding: 8px 5px;
    border: 1px solid rgba(63, 208, 238, 0.2);
    background:
      linear-gradient(145deg, rgba(63, 208, 238, 0.055), transparent 54%),
      rgba(7, 23, 29, 0.96);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.035em;
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;
  }

  .uf-mobile-launcher__grid > a svg {
    width: 18px;
    height: 18px;
    color: var(--uf-v4-cyan);
  }

  .uf-mobile-launcher__grid > a:is(:hover, :focus-visible),
  .uf-mobile-launcher__play:is(:hover, :focus-visible),
  .uf-mobile-launcher__account:is(:hover, :focus-visible),
  .uf-mobile-launcher__more summary:is(:hover, :focus-visible) {
    border-color: var(--uf-v4-gold);
    background-color: #10242b;
    color: var(--uf-v4-gold);
    outline: 0;
  }

  .uf-mobile-launcher__more {
    border: 1px solid rgba(230, 185, 80, 0.28);
    background: rgba(24, 25, 17, 0.9);
  }

  .uf-mobile-launcher__more summary {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-sizing: border-box;
    padding: 9px 12px;
    color: #fff4d2;
    cursor: pointer;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.055em;
    list-style: none;
    text-transform: uppercase;
  }

  .uf-mobile-launcher__more summary::-webkit-details-marker {
    display: none;
  }

  .uf-mobile-launcher__more summary > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .uf-mobile-launcher__more summary svg {
    width: 17px;
    height: 17px;
  }

  .uf-mobile-launcher__more summary > svg {
    transition: transform 160ms ease;
  }

  .uf-mobile-launcher__more[open] summary > svg {
    transform: rotate(180deg);
  }

  .uf-mobile-launcher__more > div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid rgba(230, 185, 80, 0.18);
  }

  .uf-mobile-launcher__more a {
    display: flex;
    min-height: 42px;
    align-items: center;
    box-sizing: border-box;
    padding: 9px 12px;
    border-right: 1px solid rgba(230, 185, 80, 0.12);
    border-bottom: 1px solid rgba(230, 185, 80, 0.12);
    color: rgba(255, 248, 224, 0.82);
    font-size: 11px;
    font-weight: 800;
  }

  .uf-mobile-launcher__account {
    border-color: rgba(230, 185, 80, 0.34);
    background:
      linear-gradient(135deg, rgba(230, 185, 80, 0.16), transparent 58%),
      rgba(31, 27, 15, 0.98);
    color: #fff4d2;
  }
}

@media (max-width: 760px) {
  .uf-nav {
    top: 72px;
    max-height: calc(100vh - 72px);
    max-height: calc(100dvh - 72px);
  }
}

@media (max-width: 360px) {
  .uf-mobile-launcher {
    gap: 7px;
  }

  .uf-mobile-launcher__grid {
    gap: 6px;
  }

  .uf-mobile-launcher__grid > a {
    min-height: 58px;
    padding-inline: 3px;
    font-size: 9.2px;
  }

  .uf-mobile-launcher__actions {
    gap: 6px;
  }

  .uf-mobile-launcher__play,
  .uf-mobile-launcher__account {
    padding-inline: 7px;
    font-size: 9.6px;
    letter-spacing: 0.045em;
  }
}
