/* ═══════════════════════════════════════════
   GIEESK — Settings list and sub-pages
   Rows that look and behave the same on a phone and on the website.
═══════════════════════════════════════════ */

.st-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 4px 0 40px;
}

/* ── Who you are, at the top ──────────────── */
.st-me {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 16px 18px;
}
.st-me-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #3a3833, #1b1a17);
  border: 1px solid var(--border-subtle);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700; color: var(--gold);
}
.st-me-avatar img { width: 100%; height: 100%; object-fit: cover; }
.st-me-text { flex: 1; min-width: 0; line-height: 1.3; }
.st-me-text strong {
  display: block; font-size: 16px; font-weight: 700; color: var(--text-primary);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.st-me-text small {
  display: block; font-size: 12.5px; color: var(--text-muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.st-me-view { flex-shrink: 0; font-size: 12.5px; padding: 7px 12px; }

/* ── Sections and rows ────────────────────── */
.st-section { margin-top: 10px; }
.st-section-title {
  padding: 0 18px 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}
.st-group {
  background: var(--bg-card, #121110);
  border-top: 1px solid var(--border-dim);
  border-bottom: 1px solid var(--border-dim);
}
/* On the website the groups read better as cards. */
@media (min-width: 720px) {
  .st-group { border: 1px solid var(--border-dim); border-radius: var(--r-lg, 14px); overflow: hidden; }
}

.st-row {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 15px 18px;
  background: none;
  border: none;
  border-bottom: 1px solid var(--border-dim);
  font-family: inherit;
  font-size: 15px;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
}
.st-row:last-child { border-bottom: none; }
.st-row:active { background: rgba(255,255,255,0.03); }
.st-row.is-danger strong { color: #F08060; }

.st-row-icon {
  width: 26px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 20px;
}
.st-row-icon svg.gk-verified { width: 19px; height: 19px; }

.st-row-text { flex: 1; min-width: 0; line-height: 1.3; }
.st-row-text strong { display: block; font-weight: 600; font-size: 14.5px; }
.st-row-text small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.35;
}
.st-row-value { flex-shrink: 0; font-size: 13px; color: var(--text-muted); }
.st-row-badge {
  flex-shrink: 0;
  font-size: 11px; font-weight: 700;
  padding: 3px 8px; border-radius: 999px;
  background: rgba(212,160,57,0.15); color: var(--gold);
}
.st-row-chev { flex-shrink: 0; color: var(--text-hint, #6b6a64); font-size: 17px; }

/* A row carrying a switch is a <label>, so the whole row toggles it. */
label.st-row { cursor: pointer; }
label.st-row .vs-switch { flex-shrink: 0; }
label.st-row input:disabled { opacity: 0.4; }

/* ── Log out and version ──────────────────── */
.st-signout {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: calc(100% - 32px);
  margin: 26px 16px 0;
  padding: 14px;
  border-radius: 999px;
  background: none;
  border: 1px solid rgba(240,128,96,0.35);
  color: #F08060;
  font-family: inherit; font-size: 14.5px; font-weight: 700;
  cursor: pointer;
}
.st-signout:active { background: rgba(240,128,96,0.08); }
.st-version {
  margin: 16px 0 0;
  text-align: center;
  font-size: 12px;
  color: var(--text-hint, #6b6a64);
}

/* ── Sub-page header ──────────────────────── */
.st-subhead {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px 14px;
}
.st-subhead h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
}
.st-back {
  width: 38px; height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 18px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.st-back:active { background: rgba(255,255,255,0.06); }

.st-body { padding: 0 12px; }
/* Sub-pages reuse the dashboard cards, which carry their own margins
   in the two-column layout; flatten that here. */
.st-body .dash-card { margin-top: 0 !important; }
.st-body .dash-card + .dash-card { margin-top: 14px !important; }
.st-body .profile-grid { display: block; }

.st-note {
  margin: 14px 4px 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text-muted);
}

/* ── The verified-badge checklist ──────────────────────────────────
   Replaces the old "get verified" paywall. The badge is earned, so the
   page's job is to show exactly how far along someone is rather than
   to sell anything. */
.bp-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
  font-size: 15.5px; color: var(--text-primary);
}
.bp-head svg.gk-verified { width: 22px; height: 22px; }

.bp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bp-step {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; line-height: 1.45;
  color: var(--text-muted);
}
.bp-step i { font-size: 18px; flex-shrink: 0; line-height: 1.2; color: var(--text-hint, #6b6a64); }
/* Done steps read as done at a glance, not only by the icon — colour
   alone would be invisible to anyone who can't distinguish it. */
.bp-step.is-done { color: var(--text-primary); }
.bp-step.is-done i { color: var(--emerald, #1D9E75); }
.bp-step.is-done span { text-decoration: none; font-weight: 600; }
