html,
body {
  max-width: 100%;
  overflow-x: clip;
}

.mobile-header-actions {
  display: none;
}

[data-pwa-install][hidden] {
  display: none !important;
}

.page-qr-share {
  position: fixed;
  z-index: 80;
  right: 18px;
  bottom: 18px;
}

.page-qr-share > summary {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #f04497, #6d36f3);
  box-shadow: 0 14px 32px rgba(55, 25, 125, .28);
  cursor: pointer;
  font-size: .72rem;
  font-weight: 900;
  list-style: none;
}

.page-qr-share > summary::-webkit-details-marker {
  display: none;
}

.page-qr-panel {
  position: absolute;
  right: 0;
  bottom: 58px;
  width: min(260px, calc(100vw - 28px));
  padding: 18px;
  border: 1px solid #ded5f1;
  border-radius: 18px;
  background: #fff;
  color: #291846;
  box-shadow: 0 22px 55px rgba(43, 22, 91, .25);
  text-align: center;
}

.page-qr-panel p {
  margin: 4px 0 12px;
  color: #786d89;
  font-size: .78rem;
}

.page-qr-panel img {
  display: block;
  width: 196px;
  height: 196px;
  max-width: 100%;
  margin: 0 auto 12px;
}

.page-qr-panel button {
  width: 100%;
  min-height: 40px;
  border: 0;
  border-radius: 10px;
  background: #eee8ff;
  color: #5325c8;
  font: inherit;
  font-size: .8rem;
  font-weight: 850;
  cursor: pointer;
}

@media (max-width: 430px) {
  .site-header .desktop-nav {
    display: none;
  }

  .mobile-header-actions {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-left: auto;
  }

  .mobile-menu {
    position: relative;
  }

  .mobile-menu > summary {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid #d8cdf6;
    border-radius: 12px;
    color: #5325c8;
    background: #f5f1ff;
    cursor: pointer;
    font-size: 1.05rem;
    list-style: none;
  }

  .mobile-menu > summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu nav {
    position: absolute;
    z-index: 90;
    top: 46px;
    right: 0;
    display: grid;
    width: min(260px, calc(100vw - 30px));
    overflow: hidden;
    padding: 8px;
    border: 1px solid #ddd4f1;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 22px 48px rgba(45, 22, 98, .24);
  }

  .mobile-menu nav a,
  .mobile-menu nav button {
    display: block;
    width: 100%;
    padding: 11px 12px;
    border: 0;
    border-radius: 10px;
    color: #382250;
    background: transparent;
    text-align: left;
    font: inherit;
    font-size: .84rem;
    font-weight: 750;
  }

  .mobile-menu nav a:hover,
  .mobile-menu nav button:hover {
    background: #f3efff;
    text-decoration: none;
  }

  .mobile-menu form {
    margin: 0;
  }

  .page-qr-share {
    right: 12px;
    bottom: 12px;
  }
}
