/* Скрытые скроллбары в сценах VK (лента, профиль, edit, home) */
.phone-screen .home-content,
.phone-screen .vk-login-layout,
.phone-screen .vk-login-main,
.phone-screen .vk-feed-list,
.phone-screen .vk-stories,
.phone-screen .vk-wall-scroll,
.phone-screen .vk-edit-scroll,
.phone-screen .vk-myinfo-scroll {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.phone-screen .home-content::-webkit-scrollbar,
.phone-screen .vk-login-main::-webkit-scrollbar,
.phone-screen .vk-feed-list::-webkit-scrollbar,
.phone-screen .vk-stories::-webkit-scrollbar,
.phone-screen .vk-wall-scroll::-webkit-scrollbar,
.phone-screen .vk-edit-scroll::-webkit-scrollbar,
.phone-screen .vk-myinfo-scroll::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/* VK theme overrides */
.vk-app-body {
  --vk-blue: #0077ff;
  --vk-blue-dark: #0066dd;
  --accent-focus: var(--vk-blue);
}

.vk-app-body .setup-form input:focus {
  border-color: var(--vk-blue);
}

.vk-app-body .btn-primary {
  background: var(--vk-blue);
}

.vk-app-body .btn-primary:hover:not(:disabled) {
  background: var(--vk-blue-dark);
}

.vk-app-body .progress-fill {
  background: linear-gradient(90deg, var(--vk-blue), #5eb3ff);
}

.platform-link,
.disclaimer a {
  color: var(--vk-blue);
}

.vk-app-body .by-sourness {
  background: linear-gradient(120deg, #ffffff 5%, #a8d4ff 45%, #5eb3ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.btn-fetch {
  width: 100%;
  margin-top: -0.25rem;
}

.fetch-status {
  font-size: 0.72rem;
  color: var(--text-muted);
  min-height: 1.1em;
}

.fetch-status.is-error {
  color: #f85149;
}

.fetch-status.is-ok {
  color: #3fb950;
}

/* Scene 1 — Login (dark ref) */
.scene-vk-login {
  background: #000;
  color: #fff;
}

.scene-vk-login.active {
  z-index: 3;
}

.vk-login-layout {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  padding: 52px 16px 10px;
}

.vk-login-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 0;
  overflow-y: auto;
}

.vk-logo {
  align-self: center;
  margin-bottom: 14px;
}

.vk-login-title {
  font-size: 1.12rem;
  font-weight: 700;
  text-align: center;
  color: #fff;
  margin: 0 0 22px;
  letter-spacing: -0.02em;
}

.vk-input-box {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 48px;
  margin-bottom: 10px;
  padding: 0 14px;
  background: #1a1a1a;
  border: 1px solid #3a3a3c;
  border-radius: 12px;
  box-sizing: border-box;
}

.vk-input-box.is-active {
  border-color: #5a5a5e;
}

.vk-input-ph {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  font-size: 0.88rem;
  color: #8e8e93;
  pointer-events: none;
  transition: opacity 0.15s;
  line-height: 1.2;
}

.vk-input-box.has-value .vk-input-ph,
.vk-input-box.is-active .vk-input-ph {
  opacity: 0;
}

.vk-input-row {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 22px;
  position: relative;
  z-index: 1;
}

.vk-input-value {
  flex: 0 1 auto;
  min-width: 0;
  font-size: 0.9rem;
  color: #fff;
  line-height: 22px;
  word-break: break-all;
}

.vk-input-value:empty {
  display: inline-block;
  width: 0;
  min-height: 22px;
}

.vk-input-masked {
  letter-spacing: 0.14em;
}

/* Email / логин с буквами — размытие при вводе */
.vk-input-value.vk-input-email-blur {
  filter: blur(5px);
  opacity: 0.72;
  user-select: none;
  pointer-events: none;
}

.vk-input-caret {
  display: inline-block;
  width: 2px;
  height: 22px;
  flex-shrink: 0;
  align-self: center;
  background: var(--vk-blue);
  margin-left: 1px;
  vertical-align: middle;
  animation: blink 1s step-end infinite;
}

.vk-input-caret.hidden {
  display: none;
}

.vk-btn-signin {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin-top: 6px;
  padding: 14px 16px;
  box-sizing: border-box;
  border: none;
  border-radius: 12px;
  background: #e1e3e6;
  color: #000;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  cursor: default;
  transition: transform 0.12s, opacity 0.15s;
}

.vk-btn-signin.pressed {
  transform: scale(0.98);
  opacity: 0.88;
}

.vk-btn-signin.loading span {
  visibility: hidden;
}

.vk-btn-signin.loading::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 20px;
  margin: 0;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-top-color: #000;
  border-radius: 50%;
  animation: vk-btn-spin 0.7s linear infinite;
}

@keyframes vk-btn-spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.vk-login-or {
  text-align: center;
  font-size: 0.82rem;
  color: #8e8e93;
  margin: 14px 0 12px;
}

.vk-btn-qr {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 500;
  font-family: inherit;
  cursor: default;
}

.vk-btn-qr svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.vk-login-footer {
  flex-shrink: 0;
  padding-top: 12px;
  padding-bottom: 4px;
}

.vk-btn-signup {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 10px;
  border: none;
  border-radius: 12px;
  background: #4bb34b;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  cursor: default;
}

.vk-btn-business {
  width: 100%;
  padding: 13px 16px;
  margin-bottom: 14px;
  border-radius: 12px;
  border: 1px solid #636366;
  background: transparent;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 500;
  font-family: inherit;
  cursor: default;
}

.vk-login-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.72rem;
  color: #636366;
  margin: 0;
}

.vk-login-info svg {
  width: 14px;
  height: 14px;
  opacity: 0.85;
}

.phone-screen.keyboard-visible .scene-vk-login.active .vk-login-layout {
  padding-bottom: 8px;
}

.phone-screen.keyboard-visible .scene-vk-login.active .vk-login-footer {
  display: none;
}

/* Inline content loading (подгрузка) */
.vk-inline-load {
  position: absolute;
  top: 44px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.42);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.12s ease, visibility 0.12s;
}

.vk-inline-load.is-active {
  opacity: 1;
  visibility: visible;
}

.vk-inline-load--light {
  background: rgba(242, 242, 247, 0.82);
}

.vk-inline-load-spinner {
  width: 28px;
  height: 28px;
  border: 2.5px solid rgba(255, 255, 255, 0.22);
  border-top-color: var(--vk-blue);
  border-radius: 50%;
  animation: vk-spin 0.75s linear infinite;
}

.vk-inline-load--light .vk-inline-load-spinner {
  border-color: rgba(0, 0, 0, 0.1);
  border-top-color: var(--vk-blue);
}

.vk-inline-load-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(235, 235, 245, 0.92);
}

.vk-inline-load--light .vk-inline-load-label {
  color: #636366;
}

@keyframes vk-spin {
  to { transform: rotate(360deg); }
}

/* Scene 2 — Feed (dark ref) */
.scene-vk-feed {
  background: #000;
  color: #fff;
  flex-direction: column;
}

.vk-feed-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 46px 12px 8px;
  flex-shrink: 0;
  background: #000;
}

.vk-feed-home {
  display: flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: none;
  padding: 4px 0;
  color: #fff;
  font-family: inherit;
  cursor: default;
  max-width: 58%;
}

.vk-feed-home.pressed {
  opacity: 0.65;
}

.vk-feed-top-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  background: #2c2c2e;
  flex-shrink: 0;
}

.vk-feed-home-text {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.vk-feed-home-chevron {
  width: 18px;
  height: 18px;
  opacity: 0.85;
}

.vk-feed-top-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.vk-top-icon {
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: default;
}

.vk-top-icon svg {
  width: 24px;
  height: 24px;
}

/* Stories */
.vk-stories {
  display: flex;
  gap: 14px;
  padding: 6px 14px 14px;
  flex-shrink: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.vk-story {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.vk-story-ring {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  padding: 2px;
  background: #3a3a3c;
}

.vk-story-ring--purple {
  background: linear-gradient(135deg, #7b61ff, #c738ab);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vk-story-thumb {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #2c2c2e center/cover no-repeat;
  border: 2px solid #000;
  box-sizing: border-box;
}

.vk-story-add {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--vk-blue);
  border: 2px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.vk-story-add svg {
  width: 14px;
  height: 14px;
}

.vk-story-icon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.vk-story-icon svg {
  width: 28px;
  height: 28px;
}

.vk-story-label {
  font-size: 0.72rem;
  color: #ebebf5;
}

/* Feed list */
.vk-feed-list {
  flex: 1;
  overflow-y: auto;
  padding: 0 0 54px;
  -webkit-overflow-scrolling: touch;
}

.vk-post {
  padding: 12px 12px 14px;
  border-bottom: 1px solid #1c1c1e;
}

.vk-post-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.vk-post-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  filter: blur(4px);
  background: linear-gradient(135deg, #9bb8d9, #6a8fb8);
}

.vk-post-author {
  flex: 1;
  min-width: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vk-post-follow {
  flex-shrink: 0;
  padding: 6px 14px;
  border: none;
  border-radius: 999px;
  background: #3a3a3c;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: inherit;
  cursor: default;
}

.vk-post-more {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  color: #8e8e93;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
}

.vk-post-more svg {
  width: 20px;
  height: 20px;
}

.vk-post-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #fff;
  margin: 0 0 8px;
  line-height: 1.3;
}

.vk-post-media {
  position: relative;
  width: 100%;
  height: 200px;
  border-radius: 10px;
  background: linear-gradient(145deg, #3a3a3c 0%, #2c2c2e 45%, #48484a 100%);
  filter: blur(6px);
  opacity: 0.85;
  margin-bottom: 10px;
}

.vk-post-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.55);
  font-size: 0.72rem;
  font-weight: 600;
  color: #fff;
  filter: none;
  opacity: 1;
}

.vk-post-caption {
  margin-bottom: 10px;
}

.vk-post-line {
  font-size: 0.82rem;
  color: #ebebf5;
  margin: 0 0 4px;
  line-height: 1.35;
}

.vk-post-text {
  font-size: 0.82rem;
  color: #ebebf5;
  margin: 0;
  line-height: 1.4;
}

.vk-post-showmore {
  display: inline-block;
  margin-top: 4px;
  border: none;
  background: none;
  padding: 0;
  font-size: 0.82rem;
  color: #8e8e93;
  font-family: inherit;
  cursor: default;
}

.vk-post-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.vk-post-stats {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.8rem;
  color: #fff;
}

.vk-post-stats span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.vk-post-stats svg {
  width: 20px;
  height: 20px;
  color: #fff;
}

.vk-post-ago {
  font-size: 0.75rem;
  color: #8e8e93;
  flex-shrink: 0;
}

.vk-blur {
  filter: blur(6px);
  opacity: 0.68;
  user-select: none;
}

/* Bottom tab bar */
.vk-tab-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: #000;
  border-top: 0.5px solid #1c1c1e;
  z-index: 28;
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.3s, visibility 0.3s;
  padding-bottom: 2px;
}

.vk-tab-bar.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.vk-tab-item {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  border: none;
  background: none;
  color: #8e8e93;
  cursor: default;
}

.vk-tab-item svg {
  width: 26px;
  height: 26px;
}

.vk-tab-item.active {
  color: #fff;
}

.vk-tab-badge {
  position: absolute;
  top: 6px;
  right: calc(50% - 22px);
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: #ff3b30;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.phone-screen:has(.vk-tab-bar.is-visible) .vk-home-indicator {
  background: rgba(255, 255, 255, 0.35);
}

/* Scene 3 — Profile wall */
.scene-vk-wall {
  background: #000;
  color: #fff;
  flex-direction: column;
}

.vk-wall-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 46px 8px 4px 4px;
  flex-shrink: 0;
}

.vk-wall-back {
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vk-wall-back svg {
  width: 26px;
  height: 26px;
}

.vk-wall-top-actions {
  display: flex;
  gap: 2px;
}

.vk-wall-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 0 12px 54px;
  -webkit-overflow-scrolling: touch;
}

.vk-wall-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 8px 16px;
}

.vk-wall-avatar-wrap {
  position: relative;
  margin-bottom: 12px;
}

.vk-wall-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  background: #2c2c2e;
  display: block;
}

.vk-wall-online {
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #4bb34b;
  border: 2px solid #000;
}

.vk-wall-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.vk-wall-personal {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: none;
  background: none;
  padding: 4px 0;
  color: var(--vk-blue);
  font-size: 0.9rem;
  font-weight: 500;
  font-family: inherit;
  cursor: default;
}

.vk-wall-personal.pressed {
  opacity: 0.6;
}

.vk-wall-personal svg {
  width: 18px;
  height: 18px;
}

.vk-wall-friends {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  margin-bottom: 10px;
  background: #1c1c1e;
  border-radius: 12px;
}

.vk-wall-friends-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #2c2c2e;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--vk-blue);
  flex-shrink: 0;
}

.vk-wall-friends-icon svg {
  width: 22px;
  height: 22px;
}

.vk-wall-friends-text p {
  font-size: 0.88rem;
  margin: 0 0 4px;
  color: #fff;
}

.vk-wall-link {
  border: none;
  background: none;
  padding: 0;
  color: var(--vk-blue);
  font-size: 0.88rem;
  font-weight: 500;
  font-family: inherit;
  cursor: default;
}

.vk-wall-post-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  margin-bottom: 14px;
  border: none;
  border-radius: 12px;
  background: #2c2c2e;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  font-family: inherit;
  cursor: default;
}

.vk-wall-post-btn svg {
  width: 20px;
  height: 20px;
}

.vk-wall-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
  -webkit-overflow-scrolling: touch;
}

.vk-wall-tab {
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #8e8e93;
  background: transparent;
}

.vk-wall-tab.active {
  background: #3a3a3c;
  color: #fff;
}

.vk-wall-post-preview {
  padding-bottom: 16px;
}

.vk-wall-post-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.vk-wall-post-av {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: #2c2c2e;
}

.vk-wall-post-name {
  font-size: 0.88rem;
  font-weight: 600;
}

.vk-wall-post-sub {
  font-size: 0.75rem;
  color: #8e8e93;
  margin-top: 2px;
}

.vk-wall-post-media-blur {
  width: 100%;
  height: 180px;
  border-radius: 10px;
  background: linear-gradient(145deg, #3a3a3c, #2c2c2e 50%, #48484a);
  filter: blur(8px);
  opacity: 0.9;
}

.vk-tab-bar--wall {
  position: absolute;
}

/* Scene 4 — Edit profile */
.scene-vk-edit {
  background: #000;
  color: #fff;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.vk-edit-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 48px 14px 8px;
  flex-shrink: 0;
}

.vk-edit-nav-btn {
  border: none;
  background: none;
  color: var(--vk-blue);
  font-size: 1rem;
  font-family: inherit;
  cursor: default;
  padding: 6px 4px;
}

.vk-edit-nav-btn--done {
  font-weight: 600;
}

.vk-edit-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0 14px 24px;
}

.vk-edit-cover-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.vk-edit-cover-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: none;
  color: #fff;
  font-size: 0.9rem;
  font-family: inherit;
  cursor: default;
  padding: 0;
}

.vk-edit-cover-btn svg {
  width: 18px;
  height: 18px;
}

.vk-edit-trash {
  width: 36px;
  height: 36px;
  border: none;
  background: none;
  color: #8e8e93;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
}

.vk-edit-trash svg {
  width: 20px;
  height: 20px;
}

.vk-edit-hero {
  text-align: center;
  margin-bottom: 16px;
}

.vk-edit-avatar-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 10px;
}

.vk-edit-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  background: #2c2c2e;
  display: block;
}

.vk-edit-camera {
  position: absolute;
  left: 50%;
  bottom: -4px;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #3a3a3c;
  border: 2px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.vk-edit-camera svg {
  width: 14px;
  height: 14px;
}

.vk-edit-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 4px;
}

.vk-edit-id {
  font-size: 0.82rem;
  color: #8e8e93;
  margin: 0;
}

.vk-edit-promo {
  position: relative;
  padding: 14px 14px 12px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--vk-blue);
  color: #fff;
  font-size: 0.82rem;
  line-height: 1.35;
}

.vk-edit-promo-close {
  position: absolute;
  top: 8px;
  right: 8px;
  border: none;
  background: none;
  color: rgba(255, 255, 255, 0.85);
  padding: 4px;
  cursor: default;
}

.vk-edit-promo-close svg {
  width: 16px;
  height: 16px;
}

.vk-edit-promo-cta {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 10px;
  border: none;
  border-radius: 10px;
  background: #fff;
  color: #000;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: inherit;
  cursor: default;
}

.vk-edit-field {
  margin-bottom: 14px;
}

.vk-edit-label {
  display: block;
  font-size: 0.78rem;
  color: #8e8e93;
  margin-bottom: 6px;
}

.vk-edit-bio-box {
  position: relative;
  min-height: 72px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #1c1c1e;
}

.vk-edit-bio-ph {
  color: #636366;
  font-size: 0.88rem;
  line-height: 1.4;
}

.vk-edit-bio-text {
  display: none;
  font-size: 0.88rem;
  line-height: 1.4;
  color: #fff;
  white-space: pre-wrap;
  word-break: break-word;
}

.vk-edit-bio-box.has-bio .vk-edit-bio-ph {
  display: none;
}

.vk-edit-bio-box.has-bio .vk-edit-bio-text {
  display: block;
}

.vk-edit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  margin-bottom: 8px;
}

.vk-edit-row-title {
  font-size: 0.92rem;
  font-weight: 500;
}

.vk-edit-learn {
  border: none;
  background: none;
  padding: 0;
  margin-top: 2px;
  color: var(--vk-blue);
  font-size: 0.82rem;
  font-family: inherit;
  cursor: default;
}

.vk-edit-toggle {
  width: 48px;
  height: 28px;
  border-radius: 14px;
  background: #3a3a3c;
  flex-shrink: 0;
  position: relative;
}

.vk-edit-toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s;
}

.vk-edit-toggle.is-on::after {
  transform: translateX(20px);
}

.vk-edit-menu-list {
  padding-bottom: 24px;
}

.vk-edit-scroll.is-scrolling {
  scroll-behavior: smooth;
}

.vk-edit-section-label {
  font-size: 0.72rem;
  color: #636366;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 8px 0 6px;
}

.vk-edit-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 0;
  border: none;
  border-top: 0.5px solid #1c1c1e;
  background: none;
  color: #fff;
  font-size: 0.92rem;
  font-family: inherit;
  cursor: default;
  text-align: left;
}

.vk-edit-menu-item svg {
  width: 18px;
  height: 18px;
  color: #636366;
}

.vk-edit-menu-item.pressed {
  background: rgba(255, 255, 255, 0.06);
}

/* Scene 5 — My information */
.scene-vk-myinfo {
  background: #000;
  color: #fff;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.vk-myinfo-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 48px 10px 10px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.vk-myinfo-back {
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vk-myinfo-back svg {
  width: 26px;
  height: 26px;
}

.vk-myinfo-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  flex: 1;
  text-align: center;
}

.vk-myinfo-done {
  border: none;
  background: none;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--vk-blue);
  padding: 6px 8px;
  cursor: default;
}

.vk-myinfo-done--disabled {
  color: #636366;
  font-weight: 400;
}

.vk-myinfo-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0 14px 24px;
  -webkit-overflow-scrolling: touch;
}

.vk-myinfo-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.vk-myinfo-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: #2c2c2e;
  flex-shrink: 0;
}

.vk-myinfo-name {
  font-size: 1rem;
  font-weight: 700;
}

.vk-myinfo-id {
  font-size: 0.82rem;
  color: #8e8e93;
  margin-top: 2px;
}

.vk-myinfo-verify {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 0;
  margin-bottom: 12px;
  border: none;
  border-bottom: 0.5px solid #1c1c1e;
  background: none;
  color: inherit;
  font-family: inherit;
  text-align: left;
  cursor: default;
}

.vk-myinfo-verify-title {
  font-size: 0.92rem;
  font-weight: 500;
}

.vk-myinfo-verify-sub {
  font-size: 0.82rem;
  color: #8e8e93;
  margin-top: 2px;
}

.vk-myinfo-verify svg {
  width: 18px;
  height: 18px;
  color: #636366;
  flex-shrink: 0;
}

.vk-myinfo-field {
  margin-bottom: 14px;
}

.vk-myinfo-label {
  display: block;
  font-size: 0.78rem;
  color: #8e8e93;
  margin-bottom: 6px;
}

.vk-myinfo-input {
  padding: 12px 14px;
  border-radius: 10px;
  background: #1c1c1e;
  font-size: 0.9rem;
  color: #fff;
}

.vk-myinfo-select {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vk-myinfo-select svg {
  width: 18px;
  height: 18px;
  color: #636366;
  flex-shrink: 0;
}

.vk-myinfo-birth-row {
  display: flex;
  gap: 8px;
}

.vk-myinfo-birth-row .vk-myinfo-input {
  flex: 1;
  min-width: 0;
}

.vk-myinfo-birth-row span.is-placeholder {
  color: #636366;
}

.vk-myinfo-hint {
  font-size: 0.78rem;
  color: #8e8e93;
  margin: 8px 0 0;
  line-height: 1.35;
}

.vk-myinfo-hint a,
.vk-myinfo-id-link {
  color: var(--vk-blue);
  text-decoration: none;
}

.vk-myinfo-hint--block {
  margin-top: 8px;
}

.vk-myinfo-nick-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vk-myinfo-copy {
  width: 18px;
  height: 18px;
  color: #8e8e93;
}

