.platform-mobile-chrome {
  display: none !important;
}

@media (max-width: 767px) {
  :root {
    --platform-mobile-appbar-h: 2.75rem;
    --platform-chrome-top: calc(
      var(--platform-mobile-appbar-h) + env(safe-area-inset-top, 0px)
    );
  }

  .platform-desktop-chrome {
    display: none !important;
  }

  .platform-mobile-chrome:not([hidden]) {
    display: block !important;
  }

  .platform-mobile-chrome--fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
  }

  body.platform-mobile-active .site-main {
    padding-top: calc(1.25rem + var(--platform-chrome-top));
  }

  .platform-mobile-appbar {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
  }

  .platform-mobile-appbar-row {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    min-height: var(--platform-mobile-appbar-h);
    padding: 0.12rem 0.75rem;
    padding-top: calc(0.12rem + env(safe-area-inset-top, 0px));
  }

  .platform-mobile-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
    flex: 1;
    text-decoration: none;
    color: #0f766e;
  }

  .platform-mobile-brand-icon {
    flex-shrink: 0;
    border-radius: 0.5rem;
  }

  .platform-mobile-brand-name {
    font-size: 0.9375rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .platform-mobile-trail {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-left: auto;
  }

  .platform-mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding: 0;
    border: none;
    border-radius: 0.5rem;
    background: transparent;
    color: #0f766e;
    cursor: pointer;
  }

  .platform-mobile-menu-btn:active {
    background: #f1f5f9;
  }

  .platform-mobile-icon {
    width: 1.125rem;
    height: 1.125rem;
  }

  .platform-overflow-menu {
    border-top: 1px solid #e2e8f0;
    background: #fff;
    padding: 0.75rem 0.85rem 1rem;
    max-height: min(70vh, 28rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .platform-overflow-menu[hidden] {
    display: none !important;
  }

  .platform-overflow-section + .platform-overflow-section {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
  }

  .platform-overflow-heading {
    margin: 0 0 0.35rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
  }

  .platform-overflow-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .platform-overflow-list a {
    display: block;
    padding: 0.65rem 0.5rem;
    min-height: 44px;
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #1e293b;
    text-decoration: none;
  }

  .platform-overflow-list a:active {
    background: #f1f5f9;
  }

  .platform-overflow-lang {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.65rem 0.5rem;
    min-height: 44px;
  }

  .platform-overflow-lang a {
    display: inline;
    padding: 0;
    min-height: 0;
    color: #0f766e;
    font-weight: 600;
  }

  .platform-overflow-lang a[aria-current="page"] {
    color: #1e293b;
    text-decoration: underline;
  }

  .platform-overflow-lang-sep {
    color: #64748b;
  }

  .site-shell {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .site-main {
    padding-left: 0;
    padding-right: 0;
  }

  .site-main-inner {
    max-width: 100%;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .site-main-inner.content-form {
    max-width: 100%;
  }

  .site-main-inner.content-wide {
    max-width: 100%;
  }

  .site-main-inner.content-wide section.pt-8 h1 {
    font-size: 1.75rem;
    line-height: 1.25;
  }

  .site-main-inner.content-wide .flex.justify-center.gap-3 {
    flex-wrap: wrap;
  }

  .site-main-inner.content-wide .flex.justify-center.gap-3 a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .auth-center .rounded-2xl.bg-white {
    padding: 1.25rem;
  }

  .auth-center input,
  .auth-center button[type="submit"] {
    min-height: 44px;
  }

  #reg-sendcode {
    min-height: 44px;
  }
}

@media (min-width: 768px) {
  .platform-mobile-chrome {
    display: none !important;
  }
}
