/* ── PROFILE SCREEN ── */
.profile-hero { background: #18181B; padding: 28px 20px 20px; display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; overflow: hidden; flex-shrink: 0; }
.profile-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(55,48,163,0.18) 0%, transparent 55%); pointer-events: none; }
.profile-av-wrap { width: 72px; height: 72px; border-radius: var(--r); display: flex; align-items: center; justify-content: center; font-family: var(--font-body); font-size: 22px; font-weight: 600; color: #fff; margin-bottom: 10px; position: relative; z-index: 1; border: 1px solid rgba(255,255,255,0.12); }
.profile-hero-name { font-family: var(--font-display); font-size: 20px; font-weight: 400; color: #fff; margin-bottom: 3px; position: relative; z-index: 1; }
.profile-hero-sub { font-size: 12px; font-weight: 300; color: rgba(255,255,255,0.45); position: relative; z-index: 1; letter-spacing: 0.3px; }
.profile-stats { display: flex; gap: 0; margin-top: 16px; position: relative; z-index: 1; background: rgba(255,255,255,0.06); border-radius: var(--r-sm); overflow: hidden; border: 1px solid rgba(255,255,255,0.08); width: 100%; }
.profile-stat { flex: 1; padding: 10px 8px; text-align: center; border-right: 1px solid rgba(255,255,255,0.08); }
.profile-stat:last-child { border-right: none; }
.profile-stat-num { font-family: var(--font-display); font-size: 18px; font-weight: 400; color: #fff; line-height: 1; }
.profile-stat-label { font-size: 9px; color: rgba(255,255,255,0.4); font-weight: 500; margin-top: 3px; text-transform: uppercase; letter-spacing: 0.7px; }
.profile-section { margin: 0 16px 12px; }
.profile-section-title { font-size: 10px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 7px; padding-top: 16px; }
.profile-card { background: var(--surface); border-radius: var(--r); border: 1px solid var(--border); overflow: visible; }
.profile-row { display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; border-bottom: 1px solid var(--border); }
.profile-row:last-child { border-bottom: none; }
.profile-row-label { font-size: 12px; color: var(--ink-muted); font-weight: 500; flex-shrink: 0; min-width: 80px; }
.profile-row-value { font-size: 13px; color: var(--ink); font-weight: 450; text-align: right; flex: 1; }
.profile-row-input { font-size: 13px; color: var(--ink); font-weight: 450; text-align: right; flex: 1; background: none; border: none; outline: none; font-family: var(--font-body); cursor: text; }
.profile-row-input::placeholder { color: var(--ink-faint); }
.pref-toggle-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.pref-toggle-row:last-child { border-bottom: none; }
.pref-toggle-label { font-size: 13px; color: var(--ink); font-weight: 450; display: flex; align-items: center; gap: 6px; }
.pref-toggle-sub { font-size: 11px; color: var(--ink-muted); margin-top: 1px; }
.toggle-switch { width: 40px; height: 23px; border-radius: 12px; background: var(--border-strong); position: relative; cursor: pointer; transition: background 0.2s; flex-shrink: 0; border: none; outline: none; }
.toggle-switch.on { background: var(--accent); }
.toggle-switch::after { content: ''; position: absolute; top: 2.5px; left: 2.5px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform 0.2s; box-shadow: 0 1px 3px rgba(0,0,0,0.18); }
.toggle-switch.on::after { transform: translateX(17px); }
.save-profile-btn { width: calc(100% - 32px); height: 44px; background: var(--accent); color: #fff; border: none; border-radius: var(--r-sm); font-family: var(--font-body); font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.15s; margin: 0 16px; letter-spacing: 0.2px; }
.save-profile-btn:hover { background: var(--accent-dark); }
.save-profile-btn:active { transform: scale(0.98); }
.danger-btn { width: calc(100% - 32px); height: 40px; background: var(--red-light); color: var(--red); border: 1px solid rgba(185,28,28,0.15); border-radius: var(--r-sm); font-family: var(--font-body); font-size: 13px; font-weight: 500; cursor: pointer; transition: all 0.15s; margin: 0 16px; }
.danger-btn:active { transform: scale(0.98); }

