:root {
  --bg: #F6F8F7;
  --surface: #FFFFFF;
  --text: #14201D;
  --muted: #66756F;
  --accent: #00614A;
  --on-accent: #FFFFFF;
  --border: #E1E1E1;
  --shadow: rgba(20, 32, 29, 0.07);
  --danger: #C0392B;
  /* Fixed top profile header's total rendered height (safe-area clearance +
     its own vertical padding + the icon-button row + its hairline border).
     Content below uses this single source of truth to clear it exactly. */
  --app-header-height: calc(env(safe-area-inset-top) + 65px);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0A1512;
    --surface: #101E1A;
    --text: #F3F6F4;
    --muted: #8FA39D;
    --accent: #1FBA8F;
    --on-accent: #04231C;
    --border: #1E2E29;
    --shadow: rgba(0, 0, 0, 0.3);
    --danger: #FF6B5E;
  }
}

:root[data-theme="dark"] {
  --bg: #0A1512;
  --surface: #101E1A;
  --text: #F3F6F4;
  --muted: #8FA39D;
  --accent: #1FBA8F;
  --on-accent: #04231C;
  --border: #1E2E29;
  --shadow: rgba(0, 0, 0, 0.3);
  --danger: #FF6B5E;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-x: hidden;
  overscroll-behavior-y: none;
  -webkit-tap-highlight-color: transparent;
}

body {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  touch-action: manipulation;
  overscroll-behavior-y: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

/* ---------- smooth theme switching ---------- */
/* Appearance can change data-theme live on this page (no reload) — these
   are the surfaces that visibly recolor, transitioning together so it
   reads as one calm shift rather than a flash or a jump. Layout-affecting
   properties are never touched, only color. */
body,
.profile-header,
.avatar,
.avatar-edit-btn,
.hero-edit-btn,
.profile-list,
.profile-row,
.delete-account-link,
.bottom-nav,
.nav-item,
.nav-add,
.pull-refresh,
.toast,
.sheet-backdrop,
.action-sheet,
.confirm-sheet,
.appearance-option,
.appearance-option-icon {
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}

.ph-silhouette {
  transition: fill 200ms ease;
}

/* Standalone/PWA mode needs this exemption explicitly — the app-wide
   user-select: none above is for tap-friendly chrome (buttons, rows,
   nav), not for text the user actually needs to type into or copy. */
input,
textarea {
  -webkit-user-select: text;
  user-select: text;
  -webkit-touch-callout: default;
}

img,
svg {
  -webkit-user-drag: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- ambient signal (very subtle, whole-page) ---------- */
.ambient-signal {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 100% 40% at 50% 0%, color-mix(in srgb, var(--accent) 5%, transparent), transparent 70%);
}

/* ---------- fixed top profile header (permanent app chrome) ---------- */
/* Always fixed — no scroll detection, no state switching, no JS. A soft
   glass surface (semi-transparent + blur) so it reads as premium chrome
   rather than a flat website bar; because it's translucent, the content
   scrolling behind it naturally shifts its look as it passes underneath —
   no scroll-linked JS needed for that "smooth transition" feel. */
.profile-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: calc(env(safe-area-inset-top) + 12px) max(14px, env(safe-area-inset-right)) 12px max(14px, env(safe-area-inset-left));
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.header-icon-btn {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  transition: transform 120ms ease, background-color 120ms ease;
}

.header-icon-btn:active {
  transform: scale(0.9);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}

.header-icon-btn svg {
  width: 19px;
  height: 19px;
}

.header-title {
  flex: 1;
  min-width: 0;
  text-align: center;
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- top pull-to-refresh ---------- */
/* Both the indicator and the scrollable content move purely via
   transform/opacity (never margin/height/scroll position), driven
   frame-by-frame from touch deltas via requestAnimationFrame — no
   transition while a gesture is actively tracking the finger (it has to
   feel attached 1:1), only .is-resetting turns transitions on for the
   snap-back/settle after release. */
.page-scroll {
  will-change: transform;
}

.page-scroll.is-resetting {
  transition: transform 220ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.pull-refresh {
  position: fixed;
  top: var(--app-header-height);
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 14px 0;
  color: var(--muted);
  opacity: 0;
  transform: translate3d(0, -8px, 0);
  pointer-events: none;
  will-change: transform, opacity;
}

.pull-refresh.is-resetting {
  transition: opacity 220ms cubic-bezier(0.22, 0.61, 0.36, 1), transform 220ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.pull-refresh-icon {
  flex: none;
  width: 20px;
  height: 20px;
}

.pull-refresh.is-ready .pull-refresh-icon,
.pull-refresh.is-refreshing .pull-refresh-icon {
  color: var(--accent);
}

.pull-refresh.is-refreshing .pull-refresh-icon {
  animation: dvr-spin 0.7s linear infinite;
}

.pull-refresh-label {
  font-size: 11.5px;
  font-weight: 600;
}

.pull-refresh.is-ready .pull-refresh-label,
.pull-refresh.is-refreshing .pull-refresh-label {
  color: var(--accent);
}

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

/* ---------- toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  top: calc(var(--app-header-height) + 10px);
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 40px);
  padding: 11px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 10px 26px var(--shadow);
  color: var(--text);
  font-size: 13.5px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, -10px, 0);
  transition: opacity 220ms ease, transform 220ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate3d(-50%, 0, 0);
}

.toast svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--accent);
}

/* ---------- main content ---------- */
.profile-content {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: 0 auto;
  padding: calc(var(--app-header-height) + 20px) max(20px, env(safe-area-inset-right)) calc(104px + env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
}

.profile-content {
  --space-lg: 28px;
}

section + section {
  margin-top: var(--space-lg);
}

/* ---------- profile hero ---------- */
.profile-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.avatar-frame {
  position: relative;
  width: 116px;
  margin-bottom: 16px;
}

.avatar {
  width: 116px;
  height: 116px;
  border-radius: 50%;
  overflow: hidden;
  background: color-mix(in srgb, var(--accent) 9%, var(--surface));
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px var(--shadow);
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.avatar-img[hidden] {
  display: none;
}

.avatar-placeholder {
  width: 72%;
  height: 72%;
  color: var(--accent);
}

.ph-silhouette {
  fill: color-mix(in srgb, var(--accent) 55%, transparent);
}

/* Same "expanding ring, fading out" signal language as the Login/OTP
   screens, tuned down to a small, slow, low-opacity accent — a hint of
   the DVR identity living inside the empty-avatar state, not a repeat of
   the full illustration. */
.ph-pulse {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.3;
  opacity: 0;
  transform-origin: 60px 60px;
  animation: avatar-pulse 3.8s ease-out infinite;
}

.ph-pulse-delay {
  animation-delay: 1.6s;
}

@keyframes avatar-pulse {
  0%   { transform: scale(0.75); opacity: 0.5; }
  70%  { opacity: 0.12; }
  100% { transform: scale(1.28); opacity: 0; }
}

.avatar-edit-btn {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--accent);
  cursor: pointer;
  transition: transform 120ms ease;
  animation: avatar-edit-glow 3.5s ease-in-out infinite;
}

.avatar-edit-btn svg {
  width: 16px;
  height: 16px;
}

.avatar-edit-btn:active {
  transform: scale(0.86);
}

@keyframes avatar-edit-glow {
  0%, 100% { box-shadow: 0 4px 14px color-mix(in srgb, var(--accent) 20%, transparent); }
  50%      { box-shadow: 0 4px 18px color-mix(in srgb, var(--accent) 40%, transparent); }
}

.profile-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.profile-username {
  margin-top: 2px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
}

.profile-bio {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 30ch;
}

.hero-edit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  padding: 10px 22px;
  border-radius: 13px;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border));
  background: color-mix(in srgb, var(--accent) 10%, var(--surface));
  color: var(--accent);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 120ms ease, opacity 150ms ease;
}

.hero-edit-btn:active {
  transform: scale(0.96);
  opacity: 0.85;
}

/* ---------- entrance ---------- */
/* A single calm fade + rise on load, staggered slightly across the hero
   and each section — not a repeating loop, not attention-seeking, just
   enough to feel like the page arrived rather than snapped into place. */
@keyframes profile-enter {
  from { opacity: 0; transform: translate3d(0, 10px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

.profile-hero {
  animation: profile-enter 420ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.profile-section {
  animation: profile-enter 420ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
  animation-delay: 70ms;
}

.profile-section + .profile-section {
  animation-delay: 120ms;
}

/* ---------- account / activity sections ---------- */
.section-title {
  padding: 0 2px;
  margin-bottom: 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.profile-list {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
}

.profile-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  background: none;
  text-align: left;
  text-decoration: none;
  color: inherit;
  font-family: inherit;
  cursor: pointer;
  transition: background-color 120ms ease;
}

.profile-row + .profile-row {
  border-top: 1px solid var(--border);
}

.profile-row:active {
  background: color-mix(in srgb, var(--accent) 6%, transparent);
}

.row-icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  color: var(--accent);
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 18%, var(--surface)), color-mix(in srgb, var(--accent) 5%, var(--surface)));
}

.row-icon svg {
  width: 19px;
  height: 19px;
}

.row-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.row-title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.row-desc {
  font-size: 12px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.row-chevron {
  flex: none;
  width: 17px;
  height: 17px;
  color: var(--muted);
}

/* ---------- delete account ---------- */
/* Deliberately outside the bordered row list and unstyled as a "button" —
   a quiet, centered text action is enough weight for how rarely it's
   used, while the danger color alone signals what it does. The actual
   destructive confirmation lives in the two-step sheet, not here. */
.delete-account-link {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding: 10px;
  border: 0;
  background: none;
  text-align: center;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--danger);
  cursor: pointer;
  transition: opacity 120ms ease;
}

.delete-account-link:active {
  opacity: 0.55;
}

.profile-meta {
  margin-top: 20px;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
}

.profile-meta {
  margin-top: 20px;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- photo action sheet ---------- */
.sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 220ms ease;
}

.sheet-backdrop.is-open {
  opacity: 1;
}

.action-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 41;
  max-width: 480px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: 20px 20px 0 0;
  padding: 10px max(20px, env(safe-area-inset-right)) calc(20px + env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  box-shadow: 0 -10px 30px var(--shadow);
  transform: translate3d(0, 100%, 0);
  transition: transform 260ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.action-sheet.is-open {
  transform: translate3d(0, 0, 0);
}

.sheet-handle {
  width: 36px;
  height: 4px;
  margin: 0 auto 14px;
  border-radius: 2px;
  background: var(--border);
}

.sheet-title {
  margin-bottom: 8px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.sheet-action {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: 52px;
  padding: 0 6px;
  border: 0;
  border-top: 1px solid var(--border);
  background: none;
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: opacity 120ms ease;
}

.sheet-action svg {
  flex: none;
  width: 19px;
  height: 19px;
  color: var(--muted);
}

.sheet-action:active {
  opacity: 0.55;
}

.sheet-action-danger {
  color: var(--danger);
}

.sheet-action-danger svg {
  color: var(--danger);
}

.sheet-cancel {
  justify-content: center;
  margin-top: 10px;
  border-top: 0;
  border-radius: 14px;
  background: var(--bg);
  color: var(--muted);
}

.sheet-subtitle {
  margin: -4px 2px 12px;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- appearance picker ---------- */
.appearance-options {
  border-radius: 14px;
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 6px;
}

.appearance-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 14px;
  border: 0;
  background: var(--surface);
  text-align: left;
  font-family: inherit;
  cursor: pointer;
}

.appearance-option + .appearance-option {
  border-top: 1px solid var(--border);
}

.appearance-option:active {
  background: color-mix(in srgb, var(--accent) 6%, transparent);
}

.appearance-option[aria-checked="true"] {
  background: color-mix(in srgb, var(--accent) 7%, transparent);
}

.appearance-option-icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: var(--muted);
  background: color-mix(in srgb, var(--text) 6%, transparent);
}

.appearance-option-icon svg {
  width: 17px;
  height: 17px;
}

.currency-symbol {
  font-size: 13.5px;
  font-weight: 700;
}

.appearance-option[aria-checked="true"] .appearance-option-icon {
  background: var(--accent);
  color: var(--on-accent);
}

.appearance-option-label {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  transition: color 200ms ease;
}

.appearance-option[aria-checked="true"] .appearance-option-label {
  color: var(--accent);
}

.appearance-option-check {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--accent);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 180ms ease, transform 180ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.appearance-option[aria-checked="true"] .appearance-option-check {
  opacity: 1;
  transform: scale(1);
}

/* ---------- reusable confirm sheet (unsaved-changes style, danger variant) ---------- */
.confirm-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 41;
  max-width: 480px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: 20px 20px 0 0;
  padding: 22px max(20px, env(safe-area-inset-right)) calc(20px + env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  box-shadow: 0 -10px 30px var(--shadow);
  transform: translate3d(0, 100%, 0);
  transition: transform 260ms cubic-bezier(0.22, 0.61, 0.36, 1);
  text-align: center;
}

.confirm-sheet.is-open {
  transform: translate3d(0, 0, 0);
}

.confirm-sheet-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--danger) 12%, var(--surface));
  color: var(--danger);
}

.confirm-sheet-icon svg {
  width: 26px;
  height: 26px;
}

.confirm-sheet-title {
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 6px;
}

.confirm-sheet-desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
  margin-bottom: 20px;
}

.confirm-sheet-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 50px;
  border-radius: 14px;
  border: 0;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 120ms ease, opacity 150ms ease;
}

.confirm-sheet-action:active:not(:disabled) {
  transform: scale(0.98);
  opacity: 0.9;
}

.confirm-sheet-action:disabled {
  opacity: 0.7;
  cursor: default;
}

.confirm-sheet-action-primary {
  background: var(--accent);
  color: var(--on-accent);
  margin-bottom: 10px;
}

.confirm-sheet-action-danger-solid {
  background: var(--danger);
  color: #fff;
  margin-bottom: 10px;
}

.confirm-sheet-action-plain {
  background: var(--bg);
  color: var(--muted);
}

.confirm-sheet-spinner {
  display: none;
  width: 17px;
  height: 17px;
  border: 2.2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: dvr-spin 0.7s linear infinite;
}

.confirm-sheet-action.is-loading .confirm-sheet-spinner {
  display: inline-block;
}

.delete-step {
  animation: profile-enter 220ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

/* ---------- bottom navigation (same app frame as Home) ---------- */
.bottom-nav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(14px + env(safe-area-inset-bottom));
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 32px);
  max-width: 420px;
  padding: 8px 10px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 10px 28px var(--shadow);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex: 1;
  min-width: 0;
  height: 48px;
  border: 0;
  border-radius: 14px;
  background: none;
  color: var(--muted);
  font-family: inherit;
  font-size: 10.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: color 120ms ease, background-color 120ms ease, transform 120ms ease;
}

.nav-item svg {
  width: 21px;
  height: 21px;
}

.nav-item.is-active {
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}

.nav-item:active {
  transform: scale(0.94);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}

.nav-add {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-top: -18px;
  border-radius: 50%;
  border: 0;
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 8px 18px color-mix(in srgb, var(--accent) 45%, transparent);
  cursor: pointer;
  transition: transform 100ms ease;
}

.nav-add:active {
  transform: scale(0.92);
}

.nav-add svg {
  width: 24px;
  height: 24px;
}

@media (prefers-reduced-motion: reduce) {
  .ph-pulse,
  .avatar-edit-btn,
  .pull-refresh.is-refreshing .pull-refresh-icon,
  .profile-hero,
  .profile-section,
  .delete-step {
    animation: none;
  }
  .header-icon-btn,
  .avatar-edit-btn,
  .hero-edit-btn,
  .profile-row,
  .delete-account-link,
  .nav-add,
  .nav-item,
  .sheet-action,
  .sheet-backdrop,
  .action-sheet,
  .page-scroll.is-resetting,
  .pull-refresh.is-resetting,
  .toast,
  .appearance-option,
  .appearance-option-check,
  .appearance-option-label,
  .confirm-sheet,
  .confirm-sheet-action {
    transition: none;
  }
}

@media (min-width: 560px) {
  .bottom-nav {
    bottom: calc(24px + env(safe-area-inset-bottom));
  }
}
