:root {
  --bg: #050508;
  --glass: rgba(255,255,255,0.04);
  --glass-border: rgba(255,255,255,0.09);
  --glass-hover: rgba(255,255,255,0.07);
  --glass-strong: rgba(255,255,255,0.1);
  --blur: blur(24px);
  --blur-sm: blur(12px);
  --accent: #7c6aff;
  --accent2: #a78bfa;
  --cyan: #22d3ee;
  --green: #34d399;
  --rose: #f472b6;
  --orange: #fb923c;
  --yellow: #fbbf24;
  --text: rgba(255,255,255,0.92);
  --text-muted: rgba(255,255,255,0.5);
  --text-dim: rgba(255,255,255,0.25);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --glow-purple: 0 0 60px rgba(124,106,255,0.35), 0 0 120px rgba(124,106,255,0.15);
  --glow-cyan: 0 0 60px rgba(34,211,238,0.3), 0 0 120px rgba(34,211,238,0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── BACKGROUND ORBS ─────────────────────────── */
.bg-orbs {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: drift 18s ease-in-out infinite;
}
.orb-1 { width: 600px; height: 600px; background: radial-gradient(circle, #6d28d9, transparent); top: -200px; left: -200px; }
.orb-2 { width: 500px; height: 500px; background: radial-gradient(circle, #0e7490, transparent); top: 20%; right: -150px; animation-delay: -6s; }
.orb-3 { width: 400px; height: 400px; background: radial-gradient(circle, #7c3aed, transparent); bottom: 10%; left: 30%; animation-delay: -12s; }
.orb-4 { width: 300px; height: 300px; background: radial-gradient(circle, #be185d, transparent); bottom: -100px; right: 20%; animation-delay: -4s; }
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ── GLASS COMPONENT ─────────────────────────── */
.glass {
  background: var(--glass);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
}
.glass-sm {
  background: var(--glass);
  backdrop-filter: var(--blur-sm);
  -webkit-backdrop-filter: var(--blur-sm);
  border: 1px solid var(--glass-border);
}

/* ── PROFILE SCREEN ──────────────────────────── */
#profile-screen {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.profile-wrap {
  width: 100%;
  max-width: 480px;
}

.profile-logo {
  text-align: center;
  margin-bottom: 40px;
}

/* ── QF LOGO MARK ───────────────────────────── */
.qf-logo-scene {
  perspective: 700px;
  width: 88px; height: 88px;
  margin: 0 auto 20px;
}

.qf-logo-card {
  width: 88px; height: 88px;
  border-radius: 26px;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 8px 32px rgba(124,106,255,0.35), inset 0 1px 0 rgba(255,255,255,0.22), inset 0 -1px 0 rgba(0,0,0,0.15);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.12s ease-out, box-shadow 0.2s ease;
  cursor: pointer;
  will-change: transform;
}

/* Frosted glass inner shards */
.qf-shard {
  position: absolute;
  border-radius: 6px;
  pointer-events: none;
}
.qf-shard-1 {
  width: 52px; height: 18px;
  background: linear-gradient(120deg, rgba(124,106,255,0.45), rgba(167,139,250,0.1) 70%, transparent);
  top: 10px; left: -8px;
  transform: rotate(-22deg);
  border: 1px solid rgba(196,181,253,0.2);
  backdrop-filter: blur(6px);
  transition: transform 0.12s ease-out;
}
.qf-shard-2 {
  width: 44px; height: 14px;
  background: linear-gradient(300deg, rgba(34,211,238,0.4), rgba(103,232,249,0.08) 70%, transparent);
  bottom: 12px; right: -6px;
  transform: rotate(-22deg);
  border: 1px solid rgba(103,232,249,0.2);
  backdrop-filter: blur(6px);
  transition: transform 0.12s ease-out;
}
.qf-shard-3 {
  width: 28px; height: 10px;
  background: linear-gradient(90deg, rgba(255,255,255,0.1), transparent);
  top: 28px; right: 8px;
  transform: rotate(-22deg);
  border: 1px solid rgba(255,255,255,0.12);
}

/* SVG Q mark */
.qf-mark {
  width: 52px; height: 52px;
  position: relative; z-index: 2;
  filter: drop-shadow(0 0 6px rgba(124,106,255,0.6));
  transition: filter 0.2s;
}

/* Shimmer sweep */
.qf-shimmer {
  position: absolute; inset: -100%;
  width: 300%; height: 300%;
  background: conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(255,255,255,0.06) 40deg, transparent 80deg);
  animation: qfSpin 6s linear infinite;
  pointer-events: none; z-index: 1;
}
@keyframes qfSpin { to { transform: rotate(360deg); } }

/* Surface highlight */
.qf-surface {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 50%);
  border-radius: inherit;
  pointer-events: none; z-index: 3;
}

/* Pulse ring */
.qf-pulse {
  position: absolute;
  inset: -2px;
  border-radius: 28px;
  border: 1.5px solid rgba(124,106,255,0.5);
  animation: qfPulse 2.8s ease-out infinite;
  pointer-events: none;
}
@keyframes qfPulse {
  0%   { transform: scale(1);   opacity: 0.7; }
  70%  { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(1.45); opacity: 0; }
}

.qf-logo-card:hover .qf-mark {
  filter: drop-shadow(0 0 10px rgba(124,106,255,0.9)) drop-shadow(0 0 20px rgba(34,211,238,0.4));
}

.logo-title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #c4b5fd, #7c6aff 40%, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-sub {
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 6px;
}

.profile-card {
  border-radius: 28px;
  padding: 36px;
  box-shadow: 0 32px 64px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.12);
}

.form-section-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 16px;
  margin-top: 28px;
}
.form-section-label:first-child { margin-top: 0; }

.form-group { margin-bottom: 14px; }

label.field-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 7px;
  letter-spacing: 0.04em;
}

input[type="text"], input[type="number"], input[type="password"], select {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 16px;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  -webkit-appearance: none;
  appearance: none;
  font-family: inherit;
}

input:focus, select:focus {
  border-color: rgba(124,106,255,0.6);
  background: rgba(124,106,255,0.08);
  box-shadow: 0 0 0 3px rgba(124,106,255,0.15), 0 0 20px rgba(124,106,255,0.1);
}

input::placeholder { color: var(--text-dim); }
select option { background: #0f0f1a; color: var(--text); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.option-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.option-btn {
  padding: 14px 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
  line-height: 1.3;
}

.option-btn .opt-icon { font-size: 22px; display: block; margin-bottom: 6px; }

.option-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
  color: var(--text);
}

.option-btn.selected {
  background: rgba(124,106,255,0.2);
  border-color: rgba(124,106,255,0.7);
  color: #c4b5fd;
  box-shadow: 0 0 16px rgba(124,106,255,0.2);
}

.goal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.goal-btn {
  padding: 14px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s;
}

.goal-btn .g-icon { font-size: 20px; flex-shrink: 0; }
.goal-btn .g-text { text-align: left; }
.goal-btn .g-title { font-weight: 700; color: var(--text); font-size: 15px; }
.goal-btn .g-sub { font-size: 12px; color: var(--text-dim); margin-top: 1px; }

.goal-btn:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.15);
}

.goal-btn.selected {
  background: rgba(124,106,255,0.18);
  border-color: rgba(124,106,255,0.6);
  box-shadow: 0 0 20px rgba(124,106,255,0.15);
}

.goal-btn.selected .g-sub { color: rgba(196,181,253,0.7); }

.btn-generate {
  width: 100%;
  padding: 16px;
  margin-top: 8px;
  background: linear-gradient(135deg, #7c6aff, #22d3ee);
  border: none;
  border-radius: var(--radius-sm);
  color: white;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 30px rgba(124,106,255,0.4);
  font-family: inherit;
}

.btn-generate::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
}

.btn-generate:hover { opacity: 0.92; box-shadow: 0 8px 40px rgba(124,106,255,0.55); }
.btn-generate:active { transform: scale(0.99); }

/* ── APP SCREEN ───────────────────────────────── */
#app-screen { display: none; position: relative; z-index: 1; min-height: 100vh; }

.app-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5,5,8,0.7);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 14px 20px 0;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.app-brand {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #a78bfa, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  padding: 6px 12px 6px 8px;
}

.user-avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c6aff, #22d3ee);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; color: white;
  flex-shrink: 0;
}

.user-name { font-size: 13px; font-weight: 600; color: var(--text); }
.user-auth-state {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 1px;
}

.header-auth-btn,
.auth-entry-btn {
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(124,106,255,0.35);
  background: rgba(124,106,255,0.12);
  color: #d9d1ff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.auth-entry-btn {
  width: 100%;
  margin-bottom: 6px;
}

.tab-bar {
  display: flex;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 1px;
}
.tab-bar::-webkit-scrollbar { display: none; }

.tab-btn {
  flex: 1;
  min-width: 72px;
  padding: 9px 14px 12px;
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  transition: color 0.2s;
  font-family: inherit;
}

.tab-btn.active { color: var(--text); }

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 2px;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(90deg, #7c6aff, #22d3ee);
  transition: width 0.25s cubic-bezier(0.4,0,0.2,1);
}

.tab-btn.active::after { width: 70%; }

/* ── CONTENT ─────────────────────────────────── */
.app-body {
  padding: 24px 18px;
  max-width: 600px;
  margin: 0 auto;
}

.tab-panel { display: none; animation: fadeUp 0.3s ease; }
.tab-panel.active { display: block; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.page-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.page-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

/* ── STATS ROW ─────────────────────────────── */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}

.stat-tile {
  border-radius: var(--radius);
  padding: 16px 12px;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}

.stat-num {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #c4b5fd, #7c6aff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-lbl {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 3px;
}

/* ── SCHEDULE ─────────────────────────────── */
.schedule-list { display: flex; flex-direction: column; gap: 8px; }

.sched-row {
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: background 0.2s;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.sched-row.is-workout {
  background: rgba(124,106,255,0.08);
  border: 1px solid rgba(124,106,255,0.2);
}

.sched-row.is-rest {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  opacity: 0.6;
}

.sched-day-lbl {
  width: 38px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.sched-badge {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800;
  flex-shrink: 0;
}

.badge-A { background: rgba(124,106,255,0.25); color: #c4b5fd; }
.badge-B { background: rgba(34,211,238,0.2); color: #67e8f9; }
.badge-C { background: rgba(52,211,153,0.2); color: #6ee7b7; }
.badge-R { background: rgba(255,255,255,0.06); color: var(--text-dim); }

.sched-info { flex: 1; min-width: 0; }
.sched-name { font-size: 15px; font-weight: 700; }
.sched-focus { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

.sched-sets {
  font-size: 12px;
  font-weight: 600;
  color: rgba(196,181,253,0.8);
  background: rgba(124,106,255,0.15);
  padding: 4px 10px;
  border-radius: 100px;
  white-space: nowrap;
}

/* ── EXERCISES ───────────────────────────────── */
.day-switcher {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.day-sw-btn {
  flex: 1;
  border-radius: var(--radius-sm);
  padding: 12px 8px;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
  font-family: inherit;
}

.day-sw-btn .dsb-day { font-size: 16px; color: var(--text); }
.day-sw-btn .dsb-sub { font-size: 11px; margin-top: 2px; }

.day-sw-btn.active-A { background: rgba(124,106,255,0.15); border-color: rgba(124,106,255,0.5); color: #c4b5fd; }
.day-sw-btn.active-A .dsb-day { color: #c4b5fd; }
.day-sw-btn.active-B { background: rgba(34,211,238,0.12); border-color: rgba(34,211,238,0.4); color: #67e8f9; }
.day-sw-btn.active-B .dsb-day { color: #67e8f9; }
.day-sw-btn.active-C { background: rgba(52,211,153,0.12); border-color: rgba(52,211,153,0.4); color: #6ee7b7; }
.day-sw-btn.active-C .dsb-day { color: #6ee7b7; }

.day-panel-ex { display: none; }
.day-panel-ex.active { display: block; }

/* Exercise card */
.ex-card {
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color 0.2s;
}

.ex-card.open { border-color: rgba(124,106,255,0.3); }

.ex-header {
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s;
}

.ex-header:hover { background: rgba(255,255,255,0.03); }

.ex-num {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800;
  flex-shrink: 0;
}

.ex-info { flex: 1; min-width: 0; }
.ex-name { font-size: 15px; font-weight: 700; }
.ex-muscle { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.ex-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.exercise-sign {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(124,106,255,0.14);
  border: 1px solid rgba(124,106,255,0.24);
  color: #c4b5fd;
  flex-shrink: 0;
}

.exercise-sign svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ex-badge {
  font-size: 13px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 100px;
  background: rgba(124,106,255,0.18);
  color: #c4b5fd;
  white-space: nowrap;
  flex-shrink: 0;
}

.ex-chevron {
  color: var(--text-dim);
  font-size: 16px;
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1);
  flex-shrink: 0;
}

.ex-card.open .ex-chevron { transform: rotate(180deg); }

.ex-body {
  display: none;
  padding: 0 16px 18px;
}

.ex-card.open .ex-body { display: block; }

.ex-divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(124,106,255,0.3), rgba(34,211,238,0.2), transparent);
  margin-bottom: 16px;
}

.detail-block { margin-bottom: 16px; }
.detail-block:last-child { margin-bottom: 0; }

.detail-head {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.steps li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.55;
}

.step-n {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: rgba(124,106,255,0.2);
  color: #c4b5fd;
  font-size: 11px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.pill-box {
  border-radius: var(--radius-xs);
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.55;
}

.mod-box {
  background: rgba(34,211,238,0.06);
  border: 1px solid rgba(34,211,238,0.18);
  color: rgba(103,232,249,0.9);
}

.cue-box {
  background: rgba(52,211,153,0.06);
  border: 1px solid rgba(52,211,153,0.2);
  color: rgba(110,231,183,0.9);
  font-style: italic;
}

/* ── NUTRITION ───────────────────────────────── */
.nut-card {
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nut-card-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.macro-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.macro-cell {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-sm);
  padding: 14px 10px;
  text-align: center;
}

.macro-val {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.macro-lbl {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.mv-cal { color: #c4b5fd; }
.mv-pro { color: #f9a8d4; }
.mv-carb { color: #fcd34d; }
.mv-fat { color: #fdba74; }
.mv-water { color: #67e8f9; }

.info-rows { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.info-rows li {
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.55;
}

.idot {
  width: 6px; height: 6px;
  background: linear-gradient(135deg, #7c6aff, #22d3ee);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 7px;
}

.tags-wrap { display: flex; flex-wrap: wrap; gap: 7px; }

.protein-tag {
  background: rgba(244,114,182,0.1);
  border: 1px solid rgba(244,114,182,0.25);
  color: #f9a8d4;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
}

/* ── PROGRESSION ─────────────────────────────── */
.prog-card {
  border-radius: var(--radius);
  padding: 0;
  margin-bottom: 12px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.prog-accent-bar { height: 3px; }

.prog-inner { padding: 20px; }

.prog-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}

.prog-weeks {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.prog-name { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }

.prog-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
}

.prog-items { list-style: none; display: flex; flex-direction: column; gap: 9px; }

.prog-items li {
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.55;
}

.prog-check {
  width: 18px; height: 18px;
  border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── RESPONSIVE ──────────────────────────────── */
@media (min-width: 600px) {
  .profile-card { padding: 44px; }
  .app-body { padding: 28px 24px; }
}

/* ── SHIMMER LOADING ─────────────────────────── */
.shimmer {
  background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 6px;
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* ── TOOLTIP ─────────────────────────────────── */
.note-bar {
  background: rgba(124,106,255,0.1);
  border: 1px solid rgba(124,106,255,0.25);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 13px;
  color: rgba(196,181,253,0.85);
  line-height: 1.55;
  margin-bottom: 20px;
}

/* ── WORKOUT TIMER BAR ───────────────────────── */
.timer-bar {
  position: sticky;
  top: 84px;
  z-index: 40;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  box-shadow: 0 14px 30px rgba(0,0,0,0.28);
}

.timer-left { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 120px; }

.timer-label {
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.09em;
  color: var(--text-dim);
}

.timer-display {
  font-size: 30px; font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  color: rgba(255,255,255,0.7);
  font-family: 'SF Mono', ui-monospace, monospace;
  transition: color 0.3s;
  line-height: 1;
}

.timer-display.live {
  background: linear-gradient(135deg, #c4b5fd, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.timer-status {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--text-muted);
  margin-top: 2px;
}

.timer-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--text-dim);
  transition: all 0.3s;
}

.timer-dot.live {
  background: #34d399;
  box-shadow: 0 0 8px rgba(52,211,153,0.8);
  animation: blink 1.2s ease-in-out infinite;
}

@keyframes blink {
  0%,100% { opacity: 1; } 50% { opacity: 0.4; }
}

.timer-btns { display: flex; gap: 8px; align-items: center; }

.tbtn {
  padding: 9px 18px; border-radius: 100px; border: none;
  font-size: 13px; font-weight: 700; cursor: pointer;
  font-family: inherit; transition: all 0.15s; white-space: nowrap;
}

.tbtn-start {
  background: linear-gradient(135deg, #7c6aff, #22d3ee);
  color: white;
  box-shadow: 0 4px 18px rgba(124,106,255,0.4);
}
.tbtn-start:hover { box-shadow: 0 6px 26px rgba(124,106,255,0.6); opacity: 0.92; }

.tbtn-pause {
  background: rgba(251,191,36,0.15);
  color: #fbbf24;
  border: 1px solid rgba(251,191,36,0.3);
}
.tbtn-pause:hover { background: rgba(251,191,36,0.25); }

.tbtn-stop {
  background: rgba(248,113,113,0.12);
  color: #fca5a5;
  border: 1px solid rgba(248,113,113,0.25);
}
.tbtn-stop:hover { background: rgba(248,113,113,0.22); }

/* ── SET LOGGER ──────────────────────────────── */
.set-logger {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.set-logger-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
}

.set-logger-title {
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-dim);
}

.set-prog-label {
  font-size: 11px; font-weight: 700; color: var(--accent2);
}

.sets-grid { display: flex; flex-direction: column; gap: 7px; }

.set-row {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 9px 12px;
  transition: all 0.2s;
}

.set-row.done {
  background: rgba(52,211,153,0.07);
  border-color: rgba(52,211,153,0.25);
}

.set-num-badge {
  width: 24px; height: 24px; border-radius: 6px;
  background: rgba(124,106,255,0.2); color: #c4b5fd;
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.set-row.done .set-num-badge {
  background: rgba(52,211,153,0.22); color: #6ee7b7;
}

.set-target-txt {
  font-size: 12px; color: var(--text-dim); flex: 1;
}

.set-row.done .set-target-txt { color: rgba(110,231,183,0.65); }

.reps-input {
  width: 54px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: var(--text); font-size: 15px; font-weight: 700;
  text-align: center; padding: 5px 4px;
  outline: none; font-family: inherit;
  transition: border-color 0.15s, background 0.15s;
  -moz-appearance: textfield;
}

.reps-input::-webkit-inner-spin-button,
.reps-input::-webkit-outer-spin-button { opacity: 0; }

.reps-input:focus {
  border-color: rgba(124,106,255,0.6);
  background: rgba(124,106,255,0.1);
}

.set-row.done .reps-input {
  background: rgba(52,211,153,0.1);
  border-color: rgba(52,211,153,0.3);
  color: #6ee7b7;
}

.set-check {
  width: 32px; height: 32px; border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,0.12);
  background: transparent; color: var(--text-dim);
  font-size: 15px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: all 0.15s; font-family: inherit;
}

.set-check:hover {
  border-color: rgba(52,211,153,0.5);
  color: #6ee7b7;
  background: rgba(52,211,153,0.1);
}

.set-row.done .set-check {
  background: rgba(52,211,153,0.2);
  border-color: rgba(52,211,153,0.5);
  color: #34d399;
}

.sets-prog-bar-wrap {
  height: 3px; background: rgba(255,255,255,0.07);
  border-radius: 3px; overflow: hidden; margin-top: 10px;
}

.sets-prog-bar {
  height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, #7c6aff, #34d399);
  transition: width 0.4s cubic-bezier(0.4,0,0.2,1);
  width: 0%;
}

/* ── WORKOUT SUMMARY MODAL ───────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex; align-items: flex-end; justify-content: center;
  animation: modalFadeIn 0.2s ease;
}

@keyframes modalFadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-sheet {
  background: #0d0d1a;
  border: 1px solid rgba(255,255,255,0.1);
  border-bottom: none;
  border-radius: 28px 28px 0 0;
  padding: 24px 22px 44px;
  width: 100%; max-width: 600px;
  box-shadow: 0 -24px 60px rgba(0,0,0,0.7);
  animation: sheetUp 0.3s cubic-bezier(0.34,1.56,0.64,1);
  max-height: 88vh; overflow-y: auto;
}

@keyframes sheetUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

.modal-handle {
  width: 40px; height: 4px;
  background: rgba(255,255,255,0.14);
  border-radius: 2px;
  margin: 0 auto 22px;
}

.modal-title { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 4px; }
.modal-sub   { font-size: 14px; color: var(--text-muted); margin-bottom: 22px; }

.sum-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px; margin-bottom: 22px;
}

.sum-stat {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px; padding: 14px; text-align: center;
}

.sum-val { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.sum-lbl { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 4px; }

.sum-day-label {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--text-dim);
  margin: 16px 0 8px;
}

.sum-ex-block {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px; padding: 12px 14px; margin-bottom: 8px;
}

.sum-ex-name { font-size: 14px; font-weight: 700; margin-bottom: 8px; }

.chips-row { display: flex; flex-wrap: wrap; gap: 6px; }

.chip {
  font-size: 12px; font-weight: 600;
  padding: 4px 11px; border-radius: 100px;
}

.chip-done {
  background: rgba(52,211,153,0.15);
  color: #6ee7b7;
  border: 1px solid rgba(52,211,153,0.3);
}

.chip-skip {
  background: rgba(255,255,255,0.05);
  color: var(--text-dim);
  border: 1px solid rgba(255,255,255,0.08);
}

.btn-close-modal {
  width: 100%; padding: 15px; margin-top: 20px;
  background: linear-gradient(135deg, #7c6aff, #22d3ee);
  border: none; border-radius: 14px;
  color: white; font-size: 15px; font-weight: 700;
  cursor: pointer; font-family: inherit;
  box-shadow: 0 4px 24px rgba(124,106,255,0.35);
}

/* ── HISTORY TAB ──────────────────────────────── */
.history-empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-dim);
  font-size: 14px;
}

.history-loading {
  text-align: center;
  padding: 32px;
  color: var(--text-muted);
  font-size: 14px;
}

.history-error {
  background: rgba(248,113,113,0.08);
  border: 1px solid rgba(248,113,113,0.2);
  border-radius: var(--radius-sm);
  padding: 14px;
  color: #fca5a5;
  font-size: 13px;
}

.hist-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.hist-header {
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.hist-header:hover { background: rgba(255,255,255,0.03); }

.hist-day-badge {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800;
  flex-shrink: 0;
}

.hist-info { flex: 1; }
.hist-date { font-size: 15px; font-weight: 700; }
.hist-meta { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

.hist-completion {
  font-size: 13px; font-weight: 700;
  padding: 5px 11px;
  border-radius: 100px;
  background: rgba(52,211,153,0.15);
  color: #6ee7b7;
}

.hist-body {
  display: none;
  padding: 0 16px 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.hist-card.open .hist-body { display: block; }
.hist-card.open .ex-chevron { transform: rotate(180deg); }

.hist-ex-row {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.hist-ex-row:last-child { border-bottom: none; }
.hist-ex-name { font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.hist-chips { display: flex; flex-wrap: wrap; gap: 5px; }

.hist-chip-done {
  font-size: 11px; font-weight: 600;
  padding: 3px 9px; border-radius: 100px;
  background: rgba(52,211,153,0.12);
  color: #6ee7b7;
  border: 1px solid rgba(52,211,153,0.25);
}

.hist-chip-skip {
  font-size: 11px; font-weight: 600;
  padding: 3px 9px; border-radius: 100px;
  background: rgba(255,255,255,0.04);
  color: var(--text-dim);
  border: 1px solid rgba(255,255,255,0.07);
}

.conn-status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
  padding: 9px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
}

.conn-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.conn-dot.ok   { background: #34d399; box-shadow: 0 0 6px #34d399; }
.conn-dot.warn { background: #fbbf24; }
.conn-dot.err  { background: #f87171; }

.option-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.option-grid-7 {
  grid-template-columns: repeat(7, 1fr);
}

.day-opt-btn {
  min-height: 52px;
  padding: 10px 4px;
  font-size: 12px;
}

.plan-overview {
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}

.plan-overview-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

.plan-overview-title {
  font-size: 18px;
  font-weight: 800;
  margin-top: 4px;
}

.plan-overview-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
  max-width: 380px;
}

.plan-overview-meta {
  font-size: 12px;
  color: #c4b5fd;
  background: rgba(124,106,255,0.15);
  border: 1px solid rgba(124,106,255,0.2);
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.swap-btn {
  width: 100%;
  margin: 6px 0 14px;
  padding: 11px 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  font-family: inherit;
}

.swap-btn:hover {
  background: rgba(124,106,255,0.12);
  border-color: rgba(124,106,255,0.3);
}

.home-grid {
  display: grid;
  gap: 12px;
}

.home-hero {
  border-radius: var(--radius);
  padding: 18px;
}

.home-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

.home-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-top: 4px;
}

.home-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
}

.home-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.feed-row {
  display: flex;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.feed-row:last-child {
  border-bottom: none;
}

.feed-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c6aff, #22d3ee);
  flex-shrink: 0;
  margin-top: 6px;
}

.feed-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.76);
  line-height: 1.5;
}

.social-grid {
  display: grid;
  gap: 12px;
}

.profile-section {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 16px;
}

.profile-section-title {
  font-size: 20px;
  margin-bottom: 4px;
}

.profile-section-sub {
  margin-bottom: 14px;
}

.profile-edit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.profile-days-grid {
  margin-bottom: 0;
}

.profile-stats-strip {
  margin-bottom: 14px;
}

.social-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 16px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.social-search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin: 12px 0;
}

.social-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.social-row:last-child {
  border-bottom: none;
}

.social-rank {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(124,106,255,0.18);
  color: #c4b5fd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

.social-main {
  flex: 1;
}

.social-title {
  font-size: 14px;
  font-weight: 700;
}

.social-sub,
.profile-line {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 3px;
}

.social-pill {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(52,211,153,0.14);
  color: #6ee7b7;
  font-size: 12px;
  font-weight: 700;
}

.social-actions-inline {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.social-action-btn {
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px solid rgba(124,106,255,0.28);
  background: rgba(124,106,255,0.14);
  color: #d9d2ff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  font-family: inherit;
}

.social-action-btn:hover {
  background: rgba(124,106,255,0.2);
  border-color: rgba(124,106,255,0.4);
  transform: translateY(-1px);
}

.social-action-btn.ghost {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.12);
  color: var(--text-muted);
}

.detail-grid {
  display: grid;
  gap: 10px;
  margin: 14px 0 6px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}

.detail-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 700;
}

.detail-value {
  font-size: 12px;
  color: var(--text-main);
  font-weight: 700;
  text-align: right;
}

.social-card .profile-line {
  margin-bottom: 10px;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
}

.auth-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.auth-sheet {
  position: relative;
  z-index: 1;
  width: min(92vw, 460px);
  margin: 8vh auto 0;
  padding: 24px;
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}

.auth-title,
.auth-sub {
  text-align: left;
}

.auth-actions {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.auth-actions .btn-generate,
.auth-actions .swap-btn {
  width: 100%;
}

.oauth-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 16px;
  margin-bottom: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  font-family: inherit;
}

.oauth-btn:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-1px);
}

.oauth-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff;
  color: #111827;
  font-size: 12px;
  font-weight: 800;
}

.auth-divider {
  position: relative;
  text-align: center;
  margin: 4px 0 16px;
}

.auth-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255,255,255,0.08);
}

.auth-divider span {
  position: relative;
  display: inline-block;
  padding: 0 10px;
  background: rgba(18,18,26,0.94);
  color: var(--text-dim);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.swap-choice {
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  margin-bottom: 10px;
  cursor: pointer;
  font-family: inherit;
}

.swap-choice-title {
  font-size: 14px;
  font-weight: 800;
}

.swap-choice-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.45;
}

@media (max-width: 640px) {
  .header-actions {
    gap: 8px;
  }

  .header-auth-btn {
    padding: 8px 11px;
  }

  .option-grid-7 {
    grid-template-columns: repeat(4, 1fr);
  }

  .plan-overview {
    flex-direction: column;
  }

  .home-stats {
    grid-template-columns: 1fr;
  }

  .timer-bar {
    top: 76px;
    flex-direction: column;
    align-items: stretch;
  }

  .profile-edit-grid {
    grid-template-columns: 1fr;
  }
}
