@media (max-width: 680px) {
  :root.sauti-mobile-drawer-enabled .mobile-header [data-theme-toggle],
  :root.sauti-mobile-drawer-enabled .mobile-header #mobile-signout-button {
    display: none !important;
  }

  .sauti-mobile-more-trigger {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--app-text);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .sauti-mobile-more-trigger[hidden] {
    display: none !important;
  }

  .sauti-mobile-more-trigger svg,
  .sauti-mobile-drawer svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .sauti-mobile-more-trigger:active {
    background: color-mix(in srgb, var(--app-text) 8%, transparent);
  }

  .sauti-mobile-more-trigger:focus-visible,
  .sauti-mobile-drawer button:focus-visible,
  .sauti-mobile-drawer a:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--app-text) 54%, transparent);
    outline-offset: 2px;
  }

  .sauti-mobile-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 980;
    padding: 0;
    border: 0;
    background: rgba(0, 0, 0, .48);
    opacity: 0;
    pointer-events: none;
    transition: opacity 190ms ease;
    -webkit-tap-highlight-color: transparent;
  }

  .sauti-mobile-drawer-backdrop[hidden],
  .sauti-mobile-drawer[hidden] {
    display: none !important;
  }

  .sauti-mobile-drawer-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .sauti-mobile-drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 981;
    display: flex;
    width: min(84vw, 340px);
    max-width: calc(100vw - 46px);
    flex-direction: column;
    overflow: hidden auto;
    overscroll-behavior: contain;
    padding: max(12px, env(safe-area-inset-top)) 14px max(16px, env(safe-area-inset-bottom));
    border: 0;
    border-right: 1px solid color-mix(in srgb, var(--app-line) 82%, transparent);
    background: var(--app-panel);
    color: var(--app-text);
    box-shadow: 18px 0 48px rgba(0, 0, 0, .2);
    transform: translateX(-104%);
    transition: transform 210ms cubic-bezier(.2, .8, .2, 1);
  }

  .sauti-mobile-drawer.is-open {
    transform: translateX(0);
  }

  :root.sauti-mobile-drawer-open,
  :root.sauti-mobile-drawer-open body {
    overflow: hidden;
    overscroll-behavior: none;
  }

  .sauti-mobile-drawer-head {
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 2px 8px;
  }

  .sauti-mobile-drawer-head > strong {
    font-size: 19px;
    font-weight: 780;
    letter-spacing: -.025em;
  }

  .sauti-mobile-drawer-close {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    cursor: pointer;
  }

  .sauti-mobile-drawer-close:active,
  .sauti-mobile-drawer-nav button:active,
  .sauti-mobile-drawer-nav a:active,
  .sauti-mobile-drawer-profile:active {
    background: color-mix(in srgb, var(--app-text) 8%, transparent);
  }

  .sauti-mobile-drawer-profile {
    display: flex;
    width: 100%;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    padding: 12px 8px 17px;
    border: 0;
    border-radius: 18px;
    background: transparent;
    color: inherit;
    text-align: center;
    cursor: pointer;
  }

  .sauti-mobile-drawer-avatar {
    position: relative;
    display: grid;
    width: 78px;
    height: 78px;
    overflow: hidden;
    place-items: center;
    border: 2px solid color-mix(in srgb, var(--app-line) 88%, transparent);
    border-radius: 50%;
    background: color-mix(in srgb, var(--app-text) 8%, var(--app-panel));
    color: var(--app-text);
    font-size: 23px;
    font-weight: 780;
    letter-spacing: -.02em;
    text-transform: uppercase;
  }

  .sauti-mobile-drawer-avatar > img,
  .sauti-mobile-drawer-avatar .profile-avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
  }

  .sauti-mobile-drawer-avatar .profile-avatar-fallback {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
  }

  .sauti-mobile-drawer-profile-copy {
    display: flex;
    min-width: 0;
    max-width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 3px;
  }

  .sauti-mobile-drawer-profile-copy > strong,
  .sauti-mobile-drawer-profile-copy > small {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .sauti-mobile-drawer-profile-copy > strong {
    font-size: 17px;
    font-weight: 770;
    letter-spacing: -.02em;
  }

  .sauti-mobile-drawer-profile-copy > small {
    color: var(--app-muted);
    font-size: 12px;
  }

  .sauti-mobile-drawer-member-status {
    display: inline-flex;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 5px;
    padding: 4px 9px 4px 5px;
    border: 1px solid color-mix(in srgb, var(--app-line) 86%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--app-text) 5%, var(--app-panel));
    color: var(--app-text);
    font-size: 10.5px;
    font-weight: 720;
    line-height: 1;
  }

  .sauti-mobile-drawer-member-icon {
    display: grid;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    place-items: center;
    border-radius: 50%;
    background: color-mix(in srgb, var(--app-text) 9%, var(--app-panel));
  }

  .sauti-mobile-drawer-member-icon > svg {
    width: 17px;
    height: 17px;
    stroke-width: 1.8;
  }

  .sauti-mobile-drawer-member-status.is-verified .sauti-mobile-drawer-member-icon {
    background: transparent;
  }

  .sauti-mobile-drawer-member-status .verification-badge {
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
  }

  .sauti-mobile-drawer-member-status .verification-badge img,
  .sauti-mobile-drawer-member-status img[data-verification-badge-image] {
    display: block;
    width: 22px;
    height: 22px;
    object-fit: contain;
  }

  .sauti-mobile-drawer-divider {
    height: 1px;
    margin: 2px 4px 10px;
    background: color-mix(in srgb, var(--app-line) 82%, transparent);
  }

  .sauti-mobile-drawer-nav {
    display: grid;
    gap: 2px;
  }

  .sauti-mobile-drawer-nav button,
  .sauti-mobile-drawer-nav a {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 11px;
    min-height: 56px;
    padding: 8px;
    border: 0;
    border-radius: 13px;
    background: transparent;
    color: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .sauti-mobile-drawer-nav > button > svg:first-child,
  .sauti-mobile-drawer-nav > a > svg:first-child,
  .sauti-mobile-drawer-settings-toggle > svg:first-child,
  .sauti-mobile-drawer-settings-panel > button > svg:first-child {
    width: 23px;
    height: 23px;
    stroke-width: 1.9;
  }

  .sauti-mobile-drawer-nav span {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
  }

  .sauti-mobile-drawer-nav strong {
    font-size: 14px;
    font-weight: 700;
  }

  .sauti-mobile-drawer-nav small {
    overflow: hidden;
    color: var(--app-muted);
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .sauti-mobile-drawer-section-title {
    margin: 13px 8px 5px;
    padding-top: 14px;
    border-top: 1px solid color-mix(in srgb, var(--app-line) 82%, transparent);
    color: var(--app-muted);
    font-size: 10px;
    font-weight: 780;
    letter-spacing: .08em;
    line-height: 1.4;
    text-transform: uppercase;
  }

  .sauti-mobile-drawer-chevron,
  .sauti-mobile-drawer-settings-chevron {
    width: 17px !important;
    height: 17px !important;
    color: var(--app-muted);
    stroke-width: 1.8 !important;
  }

  .sauti-mobile-drawer-settings-group {
    display: grid;
    min-width: 0;
  }

  .sauti-mobile-drawer-settings-toggle {
    width: 100%;
  }

  .sauti-mobile-drawer-settings-chevron {
    transition: transform 160ms ease;
  }

  .sauti-mobile-drawer-settings-toggle[aria-expanded="true"] .sauti-mobile-drawer-settings-chevron {
    transform: rotate(180deg);
  }

  .sauti-mobile-drawer-settings-panel {
    display: grid;
    gap: 1px;
    margin: 0 0 6px 19px;
    padding: 3px 0 5px 10px;
    border-left: 1px solid color-mix(in srgb, var(--app-line) 88%, transparent);
  }

  .sauti-mobile-drawer-settings-panel[hidden] {
    display: none !important;
  }

  .sauti-mobile-drawer-settings-panel > button {
    grid-template-columns: 26px minmax(0, 1fr) 16px;
    min-height: 52px;
    padding: 7px 6px 7px 8px;
    border-radius: 11px;
  }

  .sauti-mobile-drawer-settings-panel > button > svg:first-child {
    width: 21px;
    height: 21px;
  }

  .sauti-mobile-drawer-settings-panel strong {
    font-size: 13px;
  }

  .sauti-mobile-drawer-settings-panel small {
    font-size: 10.5px;
  }

  .sauti-mobile-drawer-nav [data-mobile-drawer-verification] {
    margin-top: 3px;
  }

  .sauti-mobile-drawer-verification-message {
    margin: -1px 8px 6px 47px;
    padding: 8px 10px;
    border: 1px solid color-mix(in srgb, var(--app-line) 78%, transparent);
    border-radius: 10px;
    background: color-mix(in srgb, var(--app-text) 5%, var(--app-panel));
    color: var(--app-muted);
    font-size: 10.5px;
    line-height: 1.35;
  }

  .sauti-mobile-drawer-verification-message[hidden] {
    display: none !important;
  }

  .sauti-mobile-drawer-spacer {
    flex: 1 1 20px;
    min-height: 18px;
  }

  .sauti-mobile-drawer-signout {
    display: flex;
    min-height: 46px;
    align-items: center;
    gap: 10px;
    padding: 0 10px;
    border: 0;
    border-radius: 13px;
    background: transparent;
    color: var(--app-text);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
  }

  .sauti-mobile-drawer-signout:active {
    background: color-mix(in srgb, var(--app-text) 8%, transparent);
  }

  .sauti-mobile-drawer-signout svg {
    width: 20px;
    height: 20px;
  }

  .sauti-mobile-drawer-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    padding: 14px 6px 2px;
    color: var(--app-muted);
    font-size: 10px;
  }

  .sauti-mobile-drawer-footer a {
    color: inherit;
    text-decoration: none;
  }

  :root[data-theme="dark"] .sauti-mobile-drawer {
    background: var(--app-panel);
    box-shadow: 18px 0 50px rgba(0, 0, 0, .42);
  }
}

@media (min-width: 681px) {
  .sauti-mobile-more-trigger,
  .sauti-mobile-drawer,
  .sauti-mobile-drawer-backdrop {
    display: none !important;
  }
}

@media (max-width: 360px) {
  .sauti-mobile-drawer {
    width: 88vw;
    max-width: calc(100vw - 36px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sauti-mobile-drawer,
  .sauti-mobile-drawer-backdrop,
  .sauti-mobile-drawer-settings-chevron {
    transition: none;
  }
}
