/* ── Reset & Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:       #ffc100;
  --gold-dark:  #ff9500;
  --purple:     #7C3AED;
  --dark:       #0d0d0d;
  --dark2:      #161616;
  --card:       #1e1e1e;
  --card2:      #242424;
  --text:       #e8e8f0;
  --text-muted: #6b6b80;
  --success:    #22c55e;
  --warning:    #f59e0b;
  --radius:     14px;
  --radius-sm:  10px;
  --shadow:     0 4px 24px rgba(0,0,0,0.5);
  /* compat alias */
  --pink: var(--gold);
  --pink-light: var(--gold-dark);
}

html { font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--dark);
  color: var(--text);
  min-height: 100vh;
  padding-bottom: 24px;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ── Sidebar ─────────────────────────────────────────────────────────────── */
.sidebar-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 140;
  display: none;
}
.sidebar-overlay.open { display: block; }
.sidebar {
  position: fixed;
  left: 0; top: 0; bottom: 0;
  width: 260px;
  background: #111111;
  z-index: 150;
  transform: translateX(-260px);
  transition: transform .3s ease;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255,193,0,0.10);
}
.sidebar.open { transform: translateX(0); }
.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 20px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.sidebar-title { font-size: 15px; font-weight: 800; color: var(--gold); letter-spacing: .3px; }
.sidebar-close {
  background: none; border: none;
  color: var(--text-muted);
  font-size: 22px; cursor: pointer; padding: 4px;
  line-height: 1;
}
.sidebar-links {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 12px 0;
  gap: 2px;
}
.sidebar-link {
  padding: 14px 24px;
  font-size: 14px; font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  background: none; border: none; text-align: left;
  font-family: inherit;
  transition: all .2s;
  border-left: 3px solid transparent;
  letter-spacing: .2px;
}
.sidebar-link:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.sidebar-link.active { color: var(--gold); border-left-color: var(--gold); background: rgba(255,193,0,0.06); }
.sidebar-logout {
  padding: 20px 24px;
  font-size: 13px; font-weight: 600;
  color: var(--text-muted); cursor: pointer;
  background: none; border: none; text-align: left;
  font-family: inherit;
  border-top: 1px solid rgba(255,255,255,0.05);
  transition: color .2s;
}
.sidebar-logout:hover { color: var(--text); }
.topbar-menu-btn {
  background: none; border: none;
  color: var(--text);
  font-size: 20px; cursor: pointer;
  padding: 4px 8px; margin-right: 10px;
  line-height: 1;
}

/* ── Login ───────────────────────────────────────────────────────────────── */
.login-screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: transparent;
}
.login-title { font-size: 26px; font-weight: 800; margin-bottom: 4px; letter-spacing: -.3px; }
.login-sub { color: var(--text-muted); margin-bottom: 40px; font-size: 14px; }
.login-card {
  background: rgba(17, 17, 17, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius);
  padding: 32px 24px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 8px 48px rgba(0,0,0,0.7), 0 0 32px rgba(255,193,0,0.10);
  border: 1px solid rgba(255,193,0,0.20);
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 8px; color: var(--text-muted); letter-spacing: .8px; text-transform: uppercase; }
.form-group input {
  width: 100%;
  background: var(--card);
  border: 1.5px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--text);
  font-size: 16px;
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
}
.form-group input:focus { border-color: var(--gold); }
.login-error { color: #ff6b6b; font-size: 13px; margin-bottom: 12px; display: none; }
.login-error.show { display: block; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: all .2s;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0d0d0d;
  font-weight: 700;
}
.btn-primary:hover { opacity: .9; transform: translateY(-1px); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0d0d0d;
  font-weight: 700;
}
.btn-gold:hover { opacity: .9; transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
}
.btn-outline:hover { background: rgba(255,193,0,.1); }
.btn-full { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 18px 32px; font-size: 16px; }
.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: var(--text-muted);
  border: 1px solid rgba(255,255,255,0.07);
}
.btn-ghost:hover { background: rgba(255,255,255,0.09); }
.btn-success { background: var(--success); color: #fff; }

/* ── Top bar ─────────────────────────────────────────────────────────────── */
.topbar {
  display: flex;
  align-items: center;
  padding: 20px 20px 0;
}
.topbar-brand { font-size: 17px; font-weight: 800; flex: 1; }

/* ── Main Content ────────────────────────────────────────────────────────── */
.page { padding: 20px; }
.page-title { font-size: 24px; font-weight: 800; margin-bottom: 4px; }
.page-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }

/* ── Cards ───────────────────────────────────────────────────────────────── */
.card {
  background: var(--dark2);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.05);
}
.card + .card { margin-top: 16px; }

/* ── Hero Dashboard ──────────────────────────────────────────────────────── */
.hero-dash {
  background: linear-gradient(135deg, #1a1200 0%, #1a0a00 100%);
  border: 1px solid rgba(255,193,0,0.25);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.hero-dash::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,193,0,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-dash h2 { font-size: 21px; font-weight: 800; margin-bottom: 6px; color: var(--text); }
.hero-dash p { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; }

/* ── Stats ───────────────────────────────────────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.stat-card {
  background: var(--dark2);
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.05);
  text-align: center;
}
.stat-icon { font-size: 20px; margin-bottom: 8px; color: var(--gold); font-weight: 700; }
.stat-val { font-size: 22px; font-weight: 800; color: var(--gold); }
.stat-label { font-size: 11px; color: var(--text-muted); margin-top: 4px; text-transform: uppercase; letter-spacing: .5px; }

/* ── Semana strip ────────────────────────────────────────────────────────── */
.semana-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 20px;
  scrollbar-width: none;
}
.semana-strip::-webkit-scrollbar { display: none; }
.dia-pill {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  border-radius: 50px;
  background: var(--dark2);
  border: 1.5px solid rgba(255,255,255,0.06);
  font-size: 12px;
  cursor: pointer;
  transition: all .2s;
  min-width: 52px;
}
.dia-pill.hoje { border-color: var(--gold); background: rgba(255,193,0,0.10); }
.dia-pill.treino { border-color: rgba(255,193,0,0.35); }
.dia-pill.descanso { opacity: .4; }
.dia-pill .dia-num { font-size: 17px; font-weight: 700; }
.dia-pill .dia-nome { font-size: 10px; color: var(--text-muted); text-transform: uppercase; }
.dia-pill .dia-status { font-size: 12px; font-weight: 700; color: var(--gold); min-height: 16px; }

/* ── Treino do dia ───────────────────────────────────────────────────────── */
.treino-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.treino-badge {
  background: rgba(255,193,0,0.12);
  color: var(--gold);
  border: 1px solid rgba(255,193,0,0.25);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
}
.exercicio-card {
  background: var(--dark2);
  border-radius: var(--radius);
  margin-bottom: 10px;
  border: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
}
.exercicio-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  cursor: pointer;
}
.exercicio-num {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,193,0,0.15);
  border: 1.5px solid rgba(255,193,0,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800;
  color: var(--gold);
  flex-shrink: 0;
}
.exercicio-info { flex: 1; min-width: 0; }
.exercicio-nome { font-size: 14px; font-weight: 600; margin-bottom: 4px; text-transform: capitalize; }
.exercicio-meta { font-size: 13px; font-weight: 700; color: var(--gold); }
.exercicio-expand { font-size: 18px; color: var(--text-muted); transition: transform .3s; }
.exercicio-card.open .exercicio-expand { transform: rotate(180deg); }
.exercicio-card.open { border-color: rgba(255,193,0,0.15); }

.exercicio-body { display: none; padding: 0 16px 16px; }
.exercicio-card.open .exercicio-body { display: block; }

.exercicio-gif {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  background: var(--card);
  object-fit: cover;
  margin-bottom: 12px;
}
.exercicio-gif-placeholder {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  background: var(--card);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--text-muted); letter-spacing: 1px;
  margin-bottom: 12px;
}
.instrucoes { list-style: none; }
.instrucoes li {
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  line-height: 1.5;
}
.instrucoes li:last-child { border-bottom: none; }
.instrucoes li .step-num {
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: rgba(255,193,0,0.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: var(--gold);
}
.musculos-tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0; }
.tag {
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(255,193,0,0.10);
  color: var(--gold);
  border: 1px solid rgba(255,193,0,0.20);
}
.tag.alt { background: rgba(124,58,237,0.12); color: #a78bfa; border-color: rgba(124,58,237,0.25); }
.tag.equip { background: rgba(34,197,94,0.10); color: #4ade80; border-color: rgba(34,197,94,0.25); }

.alternativa-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px dashed rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  margin-top: 12px;
  transition: all .2s;
}
.alternativa-btn:hover { background: rgba(255,193,0,0.06); border-color: rgba(255,193,0,0.25); color: var(--gold); }

.concluido-btn { width: 100%; margin-top: 12px; }
.exercicio-card.concluido .exercicio-header { opacity: .5; }
.exercicio-card.concluido .exercicio-num { background: rgba(34,197,94,0.15); border-color: rgba(34,197,94,0.3); color: var(--success); }

/* check button no header do card */
.ex-check-btn {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.18);
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  transition: all .2s;
  display: flex; align-items: center; justify-content: center;
  margin-right: 4px;
}
.ex-check-btn::after { content: ''; }
.ex-check-btn.checked {
  background: var(--success);
  border-color: var(--success);
}
.ex-check-btn.checked::after {
  content: '✓';
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

/* ── Planner ─────────────────────────────────────────────────────────────── */
.config-section { margin-bottom: 24px; }
.config-label { font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.config-hint { font-size: 11px; color: var(--text-muted); opacity: .5; margin-bottom: 12px; }
.btn-group-wrap { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-option {
  padding: 9px 18px;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,0.10);
  background: transparent;
  color: var(--text-muted);
  font-size: 13px; font-weight: 500;
  cursor: pointer; font-family: inherit;
  transition: all .2s;
}
.btn-option:hover { border-color: rgba(255,255,255,0.2); color: var(--text); }
.btn-option.active { border-color: var(--gold); background: rgba(255,193,0,0.12); color: var(--gold); font-weight: 600; }
.btn-option:active { transform: scale(.97); }

.dias-treino-grid { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }

.divisao-item {
  background: var(--card);
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 10px;
}
.divisao-item h4 { font-size: 14px; font-weight: 700; margin-bottom: 12px; color: var(--gold); }
.musculos-select { display: flex; gap: 8px; flex-wrap: wrap; }
.musculo-btn {
  padding: 6px 12px;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,0.08);
  background: transparent;
  color: var(--text-muted);
  font-size: 12px; cursor: pointer;
  font-family: inherit; transition: all .2s;
}
.musculo-btn.sel { border-color: var(--gold); background: rgba(255,193,0,0.12); color: var(--gold); }

/* ── Biblioteca de Exercicios ────────────────────────────────────────────── */
.search-bar { position: relative; margin-bottom: 16px; }
.search-bar input {
  width: 100%;
  background: var(--dark2);
  border: 1.5px solid rgba(255,255,255,0.07);
  border-radius: 50px;
  padding: 14px 20px 14px 48px;
  color: var(--text);
  font-size: 15px; font-family: inherit; outline: none;
  transition: border-color .2s;
}
.search-bar input:focus { border-color: var(--gold); }
.search-icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 16px; }
.filtros-scroll { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 16px; scrollbar-width: none; }
.filtros-scroll::-webkit-scrollbar { display: none; }
.filtro-chip {
  flex: 0 0 auto;
  padding: 8px 16px;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,0.08);
  background: transparent;
  color: var(--text-muted);
  font-size: 13px; cursor: pointer;
  font-family: inherit; transition: all .2s; white-space: nowrap;
}
.filtro-chip.active { border-color: var(--gold); background: rgba(255,193,0,0.12); color: var(--gold); }

.exercicios-lista { display: flex; flex-direction: column; gap: 10px; }
.ex-list-card {
  background: var(--dark2);
  border-radius: var(--radius);
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.05);
  display: flex; align-items: center; gap: 12px;
  cursor: pointer; transition: all .2s;
}
.ex-list-card:hover { border-color: rgba(255,193,0,0.2); }
.ex-list-card:active { transform: scale(.99); }
.ex-list-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; color: #fff;
  flex-shrink: 0;
}
.ex-list-info { flex: 1; min-width: 0; }
.ex-list-nome { font-size: 14px; font-weight: 600; margin-bottom: 4px; text-transform: capitalize; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ex-list-meta { font-size: 12px; color: var(--text-muted); display: flex; gap: 8px; flex-wrap: wrap; }
.ex-list-arrow { color: var(--text-muted); font-size: 18px; }

/* ── Modal ───────────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 200;
  display: flex; align-items: flex-end;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-sheet {
  background: var(--dark2);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 24px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(100%); transition: transform .3s;
  border: 1px solid rgba(255,193,0,0.18);
  box-shadow: 0 -8px 48px rgba(0,0,0,0.7), 0 0 40px rgba(255,193,0,0.08);
}
.modal-overlay.open .modal-sheet { transform: translateY(0); }
.modal-drag { width: 40px; height: 4px; background: rgba(255,193,0,0.3); border-radius: 2px; margin: 0 auto 20px; }
.modal-title { font-size: 19px; font-weight: 800; margin-bottom: 16px; text-transform: capitalize; }

/* ── Loading ─────────────────────────────────────────────────────────────── */
.loading-wrap { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px; gap: 16px; }
.spinner { width: 36px; height: 36px; border: 3px solid rgba(255,193,0,.2); border-top-color: var(--gold); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Empty state ─────────────────────────────────────────────────────────── */
.empty { text-align: center; padding: 48px 24px; }
.empty .empty-icon { font-size: 48px; margin-bottom: 12px; }
.empty p { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; }

/* ── Progresso ───────────────────────────────────────────────────────────── */
.progress-bar { background: rgba(255,255,255,0.06); border-radius: 50px; height: 6px; margin-top: 8px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 50px; background: linear-gradient(90deg, var(--gold), var(--gold-dark)); transition: width .5s; }
.progress-label { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-muted); margin-top: 6px; }

/* ── Descanso banner ─────────────────────────────────────────────────────── */
.descanso-banner {
  text-align: center;
  padding: 48px 24px;
  background: var(--dark2);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.05);
}
.descanso-banner h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.descanso-banner p { color: var(--text-muted); font-size: 14px; }

/* ── Utilities ───────────────────────────────────────────────────────────── */
.section-title { font-size: 16px; font-weight: 700; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .5px; color: var(--text-muted); }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mt-12 { margin-top: 12px; }
.flex { display: flex; }
.gap-8 { gap: 8px; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.text-sm { font-size: 13px; }
.font-bold { font-weight: 700; }
.capitalize { text-transform: capitalize; }

/* ── Toast ───────────────────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%; transform: translateX(-50%);
  background: var(--card2);
  border: 1px solid rgba(255,193,0,0.3);
  color: var(--text);
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 13px; font-weight: 600;
  z-index: 300;
  opacity: 0; transition: opacity .3s;
  pointer-events: none; white-space: nowrap;
}
.toast.show { opacity: 1; }

/* ── Swipe animation ─────────────────────────────────────────────────────── */
@keyframes slideIn { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:translateY(0); } }
.slide-in { animation: slideIn .25s ease; }

/* ── Modo Esportivo ──────────────────────────────────────────────────────── */
.sport-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: var(--dark);
  flex-direction: column;
  overflow-y: auto;
  padding-bottom: 24px;
}
.sport-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  background: var(--dark2);
  border-bottom: 1px solid rgba(255,193,0,0.1);
  position: sticky; top: 0; z-index: 10;
}
.sport-back-btn {
  background: none; border: none; color: var(--text-muted);
  font-size: 14px; cursor: pointer; padding: 4px 0; font-family: inherit;
}
.sport-timer {
  font-size: 28px; font-weight: 800; letter-spacing: -1px;
  color: var(--gold); font-variant-numeric: tabular-nums;
}
.sport-motivacional {
  margin: 16px 20px;
  font-size: 14px; font-weight: 500; color: var(--text-muted);
  font-style: italic; text-align: center; line-height: 1.5;
}
.sport-stats { display: flex; gap: 12px; margin: 0 20px 20px; }
.sport-stat { flex: 1; background: var(--card); border-radius: var(--radius-sm); padding: 14px; text-align: center; }
.sport-stat-val { font-size: 22px; font-weight: 800; color: var(--gold); }
.sport-stat-lbl { font-size: 10px; color: var(--text-muted); margin-top: 2px; text-transform: uppercase; letter-spacing: .5px; }
.sport-lista { padding: 0 20px; display: flex; flex-direction: column; gap: 10px; }
.sport-ex-item {
  display: flex; align-items: center; gap: 14px;
  background: var(--card); border-radius: var(--radius-sm); padding: 14px 16px;
  transition: opacity .3s;
}
.sport-ex-item.concluido { opacity: .4; }
.sport-ex-check {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2);
  flex-shrink: 0; cursor: pointer; transition: all .2s;
  display: flex; align-items: center; justify-content: center;
}
.sport-ex-check.marcado { background: var(--success); border-color: var(--success); }
.sport-ex-check.marcado::after { content: '✓'; color: #fff; font-size: 13px; font-weight: 700; }
.sport-ex-nome { font-size: 14px; font-weight: 600; color: var(--text); line-height: 1.3; }
.sport-ex-cfg { font-size: 15px; font-weight: 800; color: var(--gold); margin-top: 3px; }
.sport-ex-grupo { font-size: 11px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; }
.sport-footer {
  display: flex;
  gap: 10px;
  margin: 20px 20px 0;
}
.sport-pausar-btn {
  padding: 16px 24px;
  border-radius: 50px;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.12);
  color: var(--text);
  font-size: 15px; font-weight: 700;
  cursor: pointer; font-family: inherit;
  transition: all .2s;
  white-space: nowrap;
}
.sport-pausar-btn.retomar {
  background: rgba(255,193,0,0.12);
  border-color: rgba(255,193,0,0.4);
  color: var(--gold);
}
.sport-encerrar-btn {
  flex: 1;
  padding: 16px; border-radius: 50px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0d0d0d; font-size: 16px; font-weight: 800;
  border: none; cursor: pointer;
}
.resumo-grid { display: flex; gap: 12px; justify-content: center; margin-top: 8px; }
.resumo-item { flex: 1; background: var(--card); border-radius: var(--radius-sm); padding: 14px 8px; text-align: center; }
.resumo-val { font-size: 22px; font-weight: 800; color: var(--gold); }
.resumo-lbl { font-size: 11px; color: var(--text-muted); margin-top: 2px; text-transform: uppercase; letter-spacing: .5px; }

/* ── MagicRings login background ────────────────────────────────────────── */
.login-rings-bg {
  position: fixed; inset: 0; z-index: 0;
  width: 100vw; height: 100vh;
  background: #0a0a0a;
  pointer-events: none;
}
.login-rings-overlay {
  position: fixed; inset: 0; z-index: 1;
  background: radial-gradient(ellipse at center, rgba(10,10,10,0.35) 0%, rgba(10,10,10,0.75) 100%);
  pointer-events: none;
}
.login-screen { position: fixed; inset: 0; z-index: 10; }
