.page-wrap {
  width: 100%;
}

.page-pad {
  padding: 12px;
}

.simple-header {
  width: 100%;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: center;
}

.simple-header h1 {
  font-size: 1rem;
  text-align: center;
}

.app-header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  height: 58px;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(14, 19, 28, 0.96);
  border-bottom: 1px solid var(--line);
}

.app-content {
  width: 100%;
  padding: 70px 10px 12px;
  min-height: calc(100vh - 58px);
  display: flex;
  flex-direction: column;
}

.sticky-nextvp {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  min-height: 170px;
  padding: 12px 12px calc(12px + env(safe-area-inset-bottom));
  border-radius: 14px 14px 0 0;
  border-top: 3px solid #f59e0b;
  box-shadow: 0 -8px 22px rgba(0, 0, 0, 0.45);
}

.header-logo {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.header-logo span {
  font-size: 0.74rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-page-title {
  min-width: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: #dbeafe;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

.burger-button {
  min-width: 46px;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--fg);
}

.burger-menu {
  position: fixed;
  right: 10px;
  top: 60px;
  z-index: 60;
  width: 236px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #0f1826;
}

.burger-menu a {
  display: block;
  min-height: 48px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}

.burger-menu a:active {
  background: rgba(30, 64, 175, 0.3);
}

.burger-menu a:last-child {
  border-bottom: 0;
}
