/* 从对应 Web SCSS 同步，请运行 npm run sync:styles -w web-native。 */
.settings-page {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background: #f5f5f7;
  color: #1a1a1a;
}

.settings-page__header {
  display: flex;
  align-items: center;
  gap: 8rem;
  padding: 12rem 16rem;
  background: #fff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.settings-page__back {
  border: 0;
  background: transparent;
  font-size: 21.6rem;
  padding: 4rem 6.4rem;
  cursor: pointer;
}

.settings-page__title {
  flex: 1;
  margin: 0;
  text-align: center;
  font-size: 16.8rem;
  font-weight: 700;
}

.settings-page__header-spacer {
  width: 32rem;
}

.settings-page__body {
  padding: 16rem;
}

.settings-page__card {
  background: #fff;
  border-radius: 12rem;
  overflow: hidden;
}

.settings-page__row {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 16rem 17.6rem;
  font-size: 16rem;
  font-weight: 600;
  cursor: pointer;
}

.settings-page__row:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.settings-page__switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.settings-page__switch-row small {
  display: block;
  margin-top: 4rem;
  font-size: 13rem;
  font-weight: 400;
  color: #6b6b78;
}
.settings-page__switch-row input {
  appearance: none;
  flex: 0 0 auto;
  width: 42rem;
  height: 24rem;
  margin: 0;
  border-radius: 24rem;
  background: #696978;
  cursor: pointer;
}
.settings-page__switch-row input::before {
  display: block;
  width: 18rem;
  height: 18rem;
  margin: 3rem;
  border-radius: 50%;
  background: #fff;
  content: "";
}
.settings-page__switch-row input:checked {
  background: #2563eb;
}
.settings-page__switch-row input:checked::before {
  transform: translateX(18rem);
}
.settings-page__switch-row input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.settings-page__retry {
  font-size: 13rem;
  color: #9d2424;
}

.settings-page__hint {
  margin: 12rem 4rem 0;
  font-size: 13rem;
  color: #8b8b9a;
}

.settings-page__modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(15, 23, 42, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24rem;
}

.settings-page__modal {
  width: min(100%, 320rem);
  background: #fff;
  border-radius: 13.6rem;
  padding: 20rem 16rem 12rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.settings-page__modal-title {
  margin: 0;
  text-align: center;
  font-size: 16rem;
  font-weight: 600;
  line-height: 1.4;
}

.settings-page__modal-actions {
  display: flex;
  margin-top: 16rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.settings-page__modal-btn {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 13.6rem 8rem;
  font-size: 16rem;
  font-weight: 510;
  cursor: pointer;
  color: #6b6b78;
}

.settings-page__modal-btn + .settings-page__modal-btn {
  border-left: 1px solid rgba(15, 23, 42, 0.08);
}

.settings-page__modal-btn--danger {
  color: #ff4e3d;
  font-weight: 700;
}

.settings-page__back img {
  width: 24rem;
  height: 24rem;
  display: block;
}
