:root {
  --motora-edge: 8px;
  --motora-url-bar-reserve: 0px;
  --motora-inset-top: calc(env(safe-area-inset-top, 0px) + var(--motora-edge));
  --motora-inset-bottom: max(0px, env(safe-area-inset-bottom, 0px));
  --motora-inset-left: calc(env(safe-area-inset-left, 0px) + var(--motora-edge));
  --motora-inset-right: calc(env(safe-area-inset-right, 0px) + var(--motora-edge));
  --motora-native-top: 0px;
}
.auth-top {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.auth-top .brand-link {
  min-width: 0;
  flex: 1 1 auto;
}
.auth-top .motora-top-nav-wrap {
  flex: 0 0 auto;
  margin-top: 0;
  margin-left: auto;
  align-self: center;
}
.motora-page-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color: #e8ecff;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
}
.motora-page-back:hover {
  border-color: rgba(110,168,255,.45);
  background: rgba(110,168,255,.12);
}
.motora-page-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: nowrap;
  margin-bottom: 12px;
}
.motora-page-top__main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0;
}
.motora-page-top__title {
  font-weight: 950;
  font-size: 15px;
  line-height: 1.25;
}
.motora-page-top__aside {
  flex: 0 0 auto;
  align-self: center;
}
.motora-page-footer-back {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.1);
}
html.motora-app-webview .top,
html.motora-native-app .top,
html.motora-app-webview .auth-top,
html.motora-native-app .auth-top {
  align-items: center;
}
html.motora-app-webview .motora-top-nav-wrap,
html.motora-native-app .motora-top-nav-wrap {
  align-self: center;
  margin-top: 0;
  margin-left: auto;
}
html.motora-app-webview .nav,
html.motora-native-app .nav {
  align-items: flex-start;
  gap: 10px;
}
html.motora-app-webview .topbar,
html.motora-native-app .topbar,
html.motora-app-webview .inst-site-header,
html.motora-native-app .inst-site-header {
  padding-top: 0;
}
.motora-ptr {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 2147483000;
  display: flex;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-28px);
  transition: opacity .12s ease;
  padding-top: calc(8px + env(safe-area-inset-top, 0px));
}
.motora-ptr.is-on { opacity: 1; }
.motora-ptr__pill {
  min-height: 34px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(11, 16, 32, .92);
  border: 1px solid rgba(110, 168, 255, .45);
  color: #e8ecff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .01em;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
}
.motora-ptr.is-ready .motora-ptr__pill {
  background: rgba(34, 197, 94, .18);
  border-color: rgba(74, 222, 128, .55);
  color: #d1fae5;
}
