.app-wrap {
  position: relative;
  max-width: var(--max-w);
  min-height: 100vh;
  margin: 0 auto;
}

.page-view {
  display: none;
  min-height: 100vh;
  padding-bottom: calc(var(--tab-h) + var(--safe-b) + 8px);
}

.page-view.active {
  display: block;
}

#pg-home.active {
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 0;
  overflow: hidden;
}

#pg-home .home-fixed {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  background: #f5f6fa;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

#pg-home .feed-scroll {
  flex: 1;
  min-height: 0;
  padding-bottom: calc(var(--tab-h) + var(--safe-b) + 8px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.v3-page-shell {
  padding: 18px 14px calc(var(--tab-h) + var(--safe-b) + 18px);
  background: #f5f6fa;
}

.v3-page-head {
  margin: 0 auto 14px;
  max-width: 760px;
}

.v3-page-head h1 {
  margin: 0 0 6px;
  color: #152033;
  font-size: 24px;
  font-weight: 740;
  letter-spacing: 0;
}

.v3-page-head p {
  margin: 0;
  color: #66758c;
  font-size: 14px;
  line-height: 1.55;
}

.v3-page-panel,
.v3-page-list {
  max-width: 760px;
  margin: 0 auto;
}

.v3-page-panel {
  padding: 14px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.v3-page-message {
  color: #334155;
  font-size: 14px;
  line-height: 1.6;
}

.v3-page-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 12px;
}

.v3-page-input-row input,
.v3-page-input-row button {
  min-height: 42px;
  border-radius: 12px;
  font: inherit;
}

.v3-page-input-row input {
  min-width: 0;
  padding: 0 12px;
  border: 1px solid #d8e1ee;
  background: #fff;
}

.v3-page-input-row button {
  padding: 0 16px;
  color: #fff;
  font-weight: 760;
  background: #1d4ed8;
  border: 1px solid #1d4ed8;
}

.v3-page-list {
  display: grid;
  gap: 10px;
}

.v3-page-list article {
  padding: 14px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.v3-page-list b,
.v3-page-list span {
  display: block;
}

.v3-page-list b {
  margin-bottom: 5px;
  color: #152033;
  font-size: 15px;
}

.v3-page-list span {
  color: #53627a;
  font-size: 13px;
  line-height: 1.55;
}

@media (max-width: 520px) {
  .v3-page-input-row {
    grid-template-columns: 1fr;
  }
}
