/* Вход, профиль, админка. */

.guest [data-auth] { display: none !important; }

.auth { max-width: 420px; margin: 0 auto; }
.auth-hero { text-align: center; padding: 10px 0 24px; }
.auth-hero img { border-radius: 16px; margin-bottom: 14px; }
.auth-hero .h1 { margin-bottom: 8px; }
.auth-hero p { margin: 0; }
.auth-alt { text-align: center; color: var(--text-2); margin-top: 22px; }
.auth-alt a, .link { color: var(--gold); font-weight: 700; }
.link:disabled { color: var(--text-3); font-weight: 600; cursor: default; }


.input.big { font-size: 20px; padding: 14px 16px; font-weight: 600; }
.code-input {
  text-align: center; font-family: var(--display); font-size: 30px; letter-spacing: .45em;
  padding: 16px 0 16px .45em; font-weight: 700;
}

.check { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 14px; color: var(--text-2); font-size: 14px; line-height: 1.45; }
.check input { width: 22px; height: 22px; flex: none; margin: 1px 0 0; accent-color: var(--gold); }

/* Переключатель «как в iPhone» */
.toggle {
  appearance: none; -webkit-appearance: none; flex: none;
  width: 52px; height: 32px; border-radius: 999px; position: relative; cursor: pointer;
  background: var(--night-3); border: 1px solid var(--line-2); transition: background .2s;
}
.toggle::after {
  content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--text); transition: transform .2s;
}
.toggle:checked { background: var(--gold); border-color: transparent; }
.toggle:checked::after { transform: translateX(20px); background: #251a02; }
.toggle-row { cursor: pointer; }

a.avatar { color: #1a1530; }
.avatar.big { width: 84px; height: 84px; font-size: 34px; font-family: var(--display); margin: 0 auto 14px; }
.profile-head { text-align: center; margin-bottom: 22px; }
.profile-head p { margin: 6px 0 0; }

.setup {
  display: grid; gap: 6px; padding: 14px 16px; border-radius: var(--r-md); font-size: 14.5px;
  background: rgba(79, 209, 192, .08); border: 1px solid rgba(79, 209, 192, .25); color: var(--text-2);
}
.setup b { color: var(--text); }
.log-item { align-items: flex-start; }
.toggle-row .item-sub { white-space: normal; }

.push-card {
  padding: 16px; border-radius: var(--r-md);
  background: var(--night-2); border: 1px solid var(--line-2);
}
.push-card p { margin: 6px 0 14px; color: var(--text-2); font-size: 14.5px; }
.push-card.on { background: rgba(79, 209, 192, .08); border-color: rgba(79, 209, 192, .3); }
