@media (max-width: 760px) {
  .portal-mobile-header.qt-mobile-header,
  .landing-header.qt-mobile-header,
  .landing-header.qt-mobile-header.scrolled {
    position: fixed;
    z-index: 46;
    left: 10px;
    right: 10px;
    top: 10px;
    width: auto;
    height: 58px;
    min-height: 58px;
    padding: 0 10px 0 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    box-sizing: border-box;
    border: 1px solid #1c1b2d;
    border-radius: 16px;
    background: rgba(13,13,21,.9);
    box-shadow: 0 14px 50px rgba(0,0,0,.18);
    backdrop-filter: blur(20px);
    transform: none;
  }

  .portal-brand.qt-mobile-brand,
  .landing-brand.qt-mobile-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 1 auto;
    min-width: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
    font-weight: 750;
    line-height: 1;
    letter-spacing: -.02em;
    white-space: nowrap;
  }

  .portal-brand-logo.qt-mobile-brand-logo,
  .landing-brand-logo.qt-mobile-brand-logo {
    width: 36px;
    height: 36px;
    display: block;
    flex: 0 0 36px;
    object-fit: contain;
    border-radius: 10px;
  }

  .landing-header.qt-mobile-header .landing-header-actions { display: contents; }

  .portal-menu-button.qt-mobile-menu-button,
  .landing-menu-button.qt-mobile-menu-button {
    position: relative;
    width: 40px;
    height: 40px;
    padding: 0;
    display: block;
    flex: 0 0 40px;
    color: inherit;
    border: 0;
    border-radius: 10px;
    background: transparent;
  }

  .portal-menu-button.qt-mobile-menu-button span,
  .landing-menu-button.qt-mobile-menu-button span {
    position: absolute;
    left: 8px;
    right: 8px;
    height: 1px;
    background: #fff;
    transition: .22s;
  }

  .portal-menu-button.qt-mobile-menu-button span:first-child,
  .landing-menu-button.qt-mobile-menu-button span:first-child { top: 16px; }
  .portal-menu-button.qt-mobile-menu-button span:last-child,
  .landing-menu-button.qt-mobile-menu-button span:last-child { top: 24px; }
  .portal-menu-button.qt-mobile-menu-button[aria-expanded="true"] span:first-child,
  .landing-menu-button.qt-mobile-menu-button[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
  .portal-menu-button.qt-mobile-menu-button[aria-expanded="true"] span:last-child,
  .landing-menu-button.qt-mobile-menu-button[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

  html[data-theme="light"] .portal-mobile-header.qt-mobile-header,
  html[data-theme="light"] .landing-header.qt-mobile-header,
  html[data-theme="light"] .landing-header.qt-mobile-header.scrolled {
    border-color: #ddd7e4;
    background: rgba(255,255,255,.9);
    box-shadow: 0 24px 70px rgba(48,34,65,.11);
  }

  html.landing-mobile-open .landing-header.qt-mobile-header,
  html.landing-mobile-open .landing-header.qt-mobile-header.scrolled {
    z-index: 80;
    background: #0d0d15;
  }

  html[data-theme="light"].landing-mobile-open .landing-header.qt-mobile-header,
  html[data-theme="light"].landing-mobile-open .landing-header.qt-mobile-header.scrolled {
    background: #fff;
  }

  html[data-theme="light"] .portal-menu-button.qt-mobile-menu-button span,
  html[data-theme="light"] .landing-menu-button.qt-mobile-menu-button span { background: #211a29; }
}

@media (max-width: 430px) {
  .portal-brand.qt-mobile-brand > span,
  .landing-brand.qt-mobile-brand > span {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
