/* ------------------------------------------------------------------ */
/* Me                                                                  */
/* ------------------------------------------------------------------ */

.settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.settings-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.profile-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.profile-name {
  font-size: 17px;
  font-weight: 650;
  line-height: 1.2;
}

.profile-handle {
  font-size: 12px;
  color: var(--ink-faint);
  margin: 2px 0 7px;
}

.switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.switch-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.switch-label strong {
  font-size: 13.5px;
  font-weight: 650;
}

.switch-label span {
  font-size: 11.5px;
  color: var(--ink-faint);
}

.switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: none;
  cursor: pointer;
}

.switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-track {
  width: 46px;
  height: 26px;
  border-radius: 999px;
  background: var(--line-strong);
  transition: background-color 0.18s ease;
  position: relative;
}

.switch-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: transform 0.18s ease;
}

.switch input:checked + .switch-track {
  background: var(--accent);
}

.switch input:checked + .switch-track::after {
  transform: translateX(20px);
}

.switch input:focus-visible + .switch-track {
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.password-form {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.form-note {
  font-size: 11.5px;
  color: var(--ink-faint);
  line-height: 1.5;
  margin-top: 2px;
}

.code-status {
  border: 1px solid var(--line);
  background: var(--surface-2);
  border-radius: 9px;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.code-status.is-set {
  background: var(--ok-soft);
  border-color: transparent;
  color: var(--ok);
}

.about-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.about-list div {
  display: flex;
  gap: 8px;
}

.about-list .icon {
  color: var(--accent);
  margin-top: 1px;
}
