/* ============================================================
   GRUPO EPICENTRO — Student App CSS
   Mobile-first, dark, gamified
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ============================================================
   TEMA — alunos pediram uma opção clara (sugestões 01/10/2026)
   ------------------------------------------------------------
   Os tokens abaixo são a fonte única de cor. O escuro continua
   sendo o padrão; `html[data-tema="claro"]` troca só os valores.

   Acentos (laranja, verde, azul, vermelho) têm duas variantes:
   a cheia (--gold, --green...) para preencher áreas, e a de
   TEXTO (--gold-text...), que no tema claro escurece — amarelo
   #fbbf24 sobre branco é ilegível.
   ============================================================ */
:root {
  --bg: #0a0a14;
  --bg-card: #13131f;
  --bg-elevated: #1c1c2e;
  --purple: #f5a800;
  --purple-glow: #d4900a;
  --gold: #f59e0b;
  --green: #10b981;
  --blue: #3b82f6;
  --red: #ef4444;
  --text: #f1f5f9;
  --text-dim: #64748b;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-purple: 0 0 20px rgba(245,168,0,0.3);

  /* texto */
  --text-soft: #94a3b8;          /* secundário, um passo acima do dim */
  --text-strong: #ffffff;        /* títulos; no claro vira quase-preto */
  --text-on-accent: #ffffff;     /* sobre botão colorido — branco nos dois temas */

  /* superfícies translúcidas (eram rgba(255,255,255,.0x) fixos) */
  --surface-1: rgba(255,255,255,0.04);
  --surface-2: rgba(255,255,255,0.06);
  --surface-3: rgba(255,255,255,0.08);
  --border-soft: rgba(255,255,255,0.10);
  --border-mid: rgba(255,255,255,0.15);

  /* acentos em texto */
  --gold-text: #fbbf24;
  --green-text: #34d399;
  --red-text: #f87171;
  --blue-text: #60a5fa;
}

html[data-tema="claro"] {
  --bg: #f4f6fb;
  --bg-card: #ffffff;
  --bg-elevated: #eef1f7;
  --purple: #c97f00;
  --purple-glow: #a66700;
  --gold: #b45309;
  --green: #047857;
  --blue: #1d4ed8;
  --red: #b91c1c;
  --text: #0f172a;
  --text-dim: #5b6676;
  --shadow-purple: 0 2px 14px rgba(15,23,42,0.10);

  --text-soft: #475569;
  --text-strong: #0b1220;
  --text-on-accent: #ffffff;

  --surface-1: rgba(15,23,42,0.03);
  --surface-2: rgba(15,23,42,0.05);
  --surface-3: rgba(15,23,42,0.07);
  --border-soft: rgba(15,23,42,0.12);
  --border-mid: rgba(15,23,42,0.18);

  --gold-text: #b45309;
  --green-text: #047857;
  --red-text: #b91c1c;
  --blue-text: #1d4ed8;
}

/* Tema neutro: cinza suave, meio-termo entre o escuro e o claro (sugestão da coordenação). */
html[data-tema="neutro"] {
  --bg: #dfe3ea;
  --bg-card: #eceff4;
  --bg-elevated: #d2d8e1;
  --purple: #c97f00;
  --purple-glow: #a66700;
  --gold: #b45309;
  --green: #047857;
  --blue: #1d4ed8;
  --red: #b91c1c;
  --text: #1e293b;
  --text-dim: #475569;
  --shadow-purple: 0 2px 14px rgba(15,23,42,0.10);

  --text-soft: #334155;
  --text-strong: #0b1220;
  --text-on-accent: #ffffff;

  --surface-1: rgba(15,23,42,0.05);
  --surface-2: rgba(15,23,42,0.08);
  --surface-3: rgba(15,23,42,0.11);
  --border-soft: rgba(15,23,42,0.16);
  --border-mid: rgba(15,23,42,0.24);

  --gold-text: #b45309;
  --green-text: #047857;
  --red-text: #b91c1c;
  --blue-text: #1d4ed8;
}

/* O fundo da página acompanha o tema mesmo fora do body. */
html:is([data-tema="claro"],[data-tema="neutro"]) body { background: var(--bg); color: var(--text); }

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100vh;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
}

a { color: inherit; text-decoration: none; }

/* ============================================================
   BOTTOM NAVIGATION (mobile app style)
   ============================================================ */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  background: var(--bg-elevated);
  border-top: 1px solid var(--surface-3);
  display: flex;
  justify-content: space-around;
  padding: 8px 0 env(safe-area-inset-bottom);
  z-index: 100;
}
.bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  color: var(--text-dim);
  text-decoration: none;
  padding: 4px 12px;
  transition: color 0.2s;
}
.bottom-nav a.active { color: var(--purple); }
.bottom-nav a .nav-icon { font-size: 22px; }

/* ============================================================
   STUDENT HEADER
   ============================================================ */
.student-header {
  background: linear-gradient(135deg, var(--bg-elevated), #0d1357);
  padding: 20px 16px 16px;
}
/* App instalado (PWA): respeita a barra de status do iPhone (notch).
   No Android o safe-area-inset-top é 0, então não muda nada. */
@media (display-mode: standalone) {
  .student-header { padding-top: calc(20px + env(safe-area-inset-top)); }
  .fixed-header   { padding-top: calc(16px + env(safe-area-inset-top)); }
  .trilha-hero    { padding-top: calc(24px + env(safe-area-inset-top)); }
}
.xp-bar-container {
  background: var(--border-soft);
  border-radius: 99px;
  height: 8px;
  margin-top: 8px;
}
.xp-bar-fill {
  background: linear-gradient(90deg, var(--purple), var(--gold));
  height: 100%;
  border-radius: 99px;
  transition: width 1s ease;
}

/* ============================================================
   LEVEL BADGE
   ============================================================ */
.level-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--purple), #c27d00);
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
}

/* ============================================================
   ACTION CARDS
   ============================================================ */
.action-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--surface-2);
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: transform 0.15s, border-color 0.15s;
  text-decoration: none;
}
.action-card:active { transform: scale(0.97); }
.action-card:hover { border-color: var(--purple); }
.action-card .card-icon { font-size: 36px; flex-shrink: 0; }
.action-card .card-title { font-size: 16px; font-weight: 700; color: var(--text); }
.action-card .card-desc { font-size: 12px; color: var(--text-dim); margin-top: 2px; }
.action-card .card-xp {
  font-size: 11px;
  color: var(--gold);
  font-weight: 700;
  margin-top: 4px;
}
.action-card .card-badge {
  background: var(--red);
  color: white;
  font-size: 10px;
  font-weight: 900;
  border-radius: 99px;
  padding: 2px 7px;
  margin-left: 6px;
}
.action-card .card-arrow {
  margin-left: auto;
  color: var(--text-dim);
  font-size: 18px;
  flex-shrink: 0;
}

/* ============================================================
   MISSION CARDS
   ============================================================ */
.mission-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border-left: 4px solid var(--purple);
  padding: 16px;
  margin-bottom: 12px;
}
.mission-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
  margin-bottom: 8px;
}
.mission-badge.comunicacao { background: rgba(59,130,246,0.2); color: var(--blue-text); }
.mission-badge.lideranca   { background: rgba(245,158,11,0.2);  color: var(--gold-text); }
.mission-badge.equipe      { background: rgba(16,185,129,0.2);  color: var(--green-text); }
.mission-badge.conflito    { background: rgba(239,68,68,0.2);   color: var(--red-text); }
.mission-badge.emocional   { background: rgba(245,168,0,0.2);  color: var(--gold-text); }
.mission-badge.adaptabilidade { background: rgba(20,184,166,0.2); color: #2dd4bf; }

/* ============================================================
   SCORE RING
   ============================================================ */
.score-ring {
  position: relative;
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}
.score-ring svg { transform: rotate(-90deg); }
.score-ring .score-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.score-ring .score-number { font-size: 28px; font-weight: 900; color: var(--text); }
.score-ring .score-label { font-size: 10px; color: var(--text-dim); }

/* ============================================================
   STAR RATING
   ============================================================ */
.stars { display: flex; gap: 6px; }
.stars .star {
  font-size: 28px;
  cursor: pointer;
  color: #374151;
  transition: color 0.1s, transform 0.1s;
}
.stars .star.active { color: var(--gold); }
.stars .star:hover { color: var(--gold); transform: scale(1.1); }

/* Escolha por palavras no lugar das estrelas (sugestão da coordenação, item 3): quem marcava 5 estrelas em tudo
   saía semanas depois; palavras obrigam a escolher o que de fato aconteceu. */
.nivel-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.nivel-chip { flex: 1 1 calc(33% - 8px); min-width: 92px; padding: 12px 8px; border-radius: 12px; border: 1px solid var(--border-soft);
  background: var(--surface-1); color: var(--text); font-size: 13px; font-weight: 700; line-height: 1.25; text-align: center;
  cursor: pointer; font-family: inherit; }
.nivel-chip.active { border-color: var(--purple); background: var(--surface-3); color: var(--gold-text); }


/* ============================================================
   PROGRESS STEPS
   ============================================================ */
.steps { display: flex; gap: 4px; margin-bottom: 24px; }
.steps .step {
  height: 4px;
  flex: 1;
  border-radius: 2px;
  background: var(--border-soft);
}
.steps .step.done    { background: var(--purple); }
.steps .step.current { background: linear-gradient(90deg, var(--purple), var(--gold)); }

/* ============================================================
   ACHIEVEMENT BADGES
   ============================================================ */
.badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.3;
  transition: opacity 0.3s;
}
.badge-item.earned { opacity: 1; }
.badge-icon {
  font-size: 36px;
  background: var(--bg-elevated);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border-soft);
}
.badge-item.earned .badge-icon {
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(245,158,11,0.4);
}
.badge-name { font-size: 10px; text-align: center; color: var(--text-dim); }
.badge-item.earned .badge-name { color: var(--text); }

/* ============================================================
   XP FLOAT ANIMATION
   ============================================================ */
@keyframes xpFloat {
  0%   { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-60px); }
}
.xp-float {
  position: fixed;
  pointer-events: none;
  font-size: 18px;
  font-weight: 900;
  color: var(--gold);
  text-shadow: 0 0 10px rgba(245,158,11,0.8);
  animation: xpFloat 1.5s ease forwards;
  z-index: 9999;
}

/* ============================================================
   TOAST
   ============================================================ */
.toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-elevated);
  border: 1px solid var(--purple);
  color: var(--text);
  padding: 12px 20px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 600;
  z-index: 9999;
  white-space: nowrap;
  animation: slideUp 0.3s ease;
  box-shadow: var(--shadow-purple);
}
@keyframes slideUp {
  from { transform: translate(-50%, 20px); opacity: 0; }
  to   { transform: translate(-50%, 0);    opacity: 1; }
}

/* ============================================================
   MODAL BOTTOM SHEET
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  z-index: 500;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.modal-sheet {
  background: var(--bg-elevated);
  border-radius: 20px 20px 0 0;
  padding: 24px;
  width: 100%;
  max-width: 480px;
  max-height: 85vh;
  overflow-y: auto;
}
.modal-handle {
  width: 36px;
  height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  margin: 0 auto 20px;
}

/* ============================================================
   RANKING PODIUM
   ============================================================ */
.podium {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  margin: 24px 0;
}
.podium-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.podium-bar {
  width: 80px;
  border-radius: 8px 8px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 12px;
  font-size: 22px;
}
.podium-bar.first  { height: 120px; background: linear-gradient(180deg, #f59e0b, #b45309); }
.podium-bar.second { height: 90px;  background: linear-gradient(180deg, #94a3b8, #475569); }
.podium-bar.third  { height: 70px;  background: linear-gradient(180deg, #b45309, #78350f); }

/* ============================================================
   RADAR CHART SVG
   ============================================================ */
.radar-container { display: flex; justify-content: center; padding: 16px 0; }

/* ============================================================
   FORMS
   ============================================================ */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-input {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
}
.form-input:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(245,168,0,0.2);
}
.form-input::placeholder { color: var(--text-dim); }
textarea.form-input { resize: vertical; min-height: 90px; }
select.form-input { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
select.form-input option { background: var(--bg-elevated); color: var(--text); }

/* ============================================================
   OPTION CHIPS
   ============================================================ */
.option-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.option-chip {
  background: var(--bg-elevated);
  border: 2px solid var(--surface-3);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
  cursor: pointer;
  font-size: 13px;
  font-family: inherit;
  color: var(--text);
  transition: all 0.15s;
}
.option-chip.selected {
  background: rgba(245,168,0,0.2);
  border-color: var(--purple);
  color: var(--purple);
}
.option-chip:active { transform: scale(0.96); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  background: linear-gradient(135deg, var(--purple), #c27d00);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 700;
  width: 100%;
  cursor: pointer;
  margin-top: 8px;
  box-shadow: 0 4px 20px rgba(245,168,0,0.4);
  transition: transform 0.15s, box-shadow 0.15s;
  font-family: inherit;
}
.btn-primary:active { transform: scale(0.97); box-shadow: none; }
.btn-primary.pulse {
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(245,168,0,0.4); }
  50% { box-shadow: 0 4px 30px rgba(245,168,0,0.8), 0 0 0 8px rgba(245,168,0,0.1); }
}
.btn-secondary {
  background: var(--bg-elevated);
  color: var(--text);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  width: 100%;
  cursor: pointer;
  margin-top: 8px;
  font-family: inherit;
}
.btn-copy {
  background: rgba(16,185,129,0.15);
  color: var(--green-text);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: 99px;
  padding: 8px 16px;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 20px 16px; }
.section-title { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.section-subtitle { font-size: 13px; color: var(--text-dim); margin-bottom: 20px; }

/* ============================================================
   DIVIDER
   ============================================================ */
.divider { height: 1px; background: var(--surface-2); margin: 8px 0; }

/* ============================================================
   MINI STATS
   ============================================================ */
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0; }
.mini-stat {
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
}
.mini-stat .value { font-size: 22px; font-weight: 900; }
.mini-stat .label { font-size: 10px; color: var(--text-dim); margin-top: 2px; }

/* ============================================================
   TOGGLE
   ============================================================ */
.toggle-container {
  display: flex;
  gap: 8px;
}
.toggle-btn {
  flex: 1;
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--surface-3);
  background: var(--bg-elevated);
  color: var(--text-dim);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s;
  font-family: inherit;
}
.toggle-btn.active-yes {
  background: rgba(16,185,129,0.2);
  border-color: var(--green);
  color: var(--green);
}
.toggle-btn.active-no {
  background: rgba(239,68,68,0.2);
  border-color: var(--red);
  color: var(--red);
}

/* ============================================================
   CHECK LIST ITEMS
   ============================================================ */
.check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  border: 2px solid var(--surface-2);
  cursor: pointer;
  transition: all 0.15s;
}
.check-item.checked {
  border-color: var(--green);
  background: rgba(16,185,129,0.1);
}
.check-item.checked-no {
  border-color: var(--red);
  background: rgba(239,68,68,0.1);
}
.check-item .check-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  transition: all 0.15s;
}
.check-item.checked .check-circle {
  background: var(--green);
  border-color: var(--green);
}
.check-item.checked-no .check-circle {
  background: var(--red);
  border-color: var(--red);
}
.check-item .check-text { font-size: 14px; font-weight: 600; }

/* ============================================================
   HABILIDADE CARD (formulario step 7)
   ============================================================ */
.hab-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
  border: 2px solid var(--surface-2);
  transition: border-color 0.2s;
}
.hab-card.rated { border-color: rgba(245,168,0,0.4); }
.hab-emoji { font-size: 32px; }
.hab-title { font-size: 16px; font-weight: 700; }
.hab-desc { font-size: 12px; color: var(--text-dim); margin: 4px 0 10px; }

/* ============================================================
   RANKING LIST
   ============================================================ */
.rank-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
  background: var(--bg-card);
  transition: background 0.2s;
}
.rank-item.me {
  background: rgba(245,168,0,0.15);
  border: 1px solid rgba(245,168,0,0.4);
}
.rank-pos { font-size: 14px; font-weight: 900; color: var(--text-dim); width: 28px; text-align: center; }
.rank-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bg-elevated);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800;
  flex-shrink: 0;
}
.rank-info { flex: 1; }
.rank-name { font-size: 14px; font-weight: 700; }
.rank-level { font-size: 11px; color: var(--text-dim); }
.rank-xp { font-size: 13px; font-weight: 700; color: var(--gold); }

/* ============================================================
   TABS
   ============================================================ */
.tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 0 16px;
  margin-bottom: 8px;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab-btn {
  white-space: nowrap;
  padding: 8px 16px;
  border-radius: 99px;
  border: none;
  background: var(--bg-elevated);
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}
.tab-btn.active {
  background: var(--purple);
  color: white;
}

/* ============================================================
   INDICACAO PIPELINE
   ============================================================ */
.pipeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 16px 0;
}
.pipeline-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-card);
  position: relative;
}
.pipeline-step:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.pipeline-step:last-child  { border-radius: 0 0 var(--radius) var(--radius); }
.pipeline-dot {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.pipeline-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 34px;
  bottom: -8px;
  width: 2px;
  height: 8px;
  background: var(--border-soft);
  z-index: 1;
}

/* ============================================================
   STATUS BADGES
   ============================================================ */
.status-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
}
.status-badge.pendente    { background: rgba(239,68,68,0.2);   color: var(--red-text); }
.status-badge.andamento   { background: rgba(245,158,11,0.2);  color: var(--gold-text); }
.status-badge.concluida   { background: rgba(16,185,129,0.2);  color: var(--green-text); }
.status-badge.enviado     { background: rgba(59,130,246,0.2);  color: var(--blue-text); }
.status-badge.respondido  { background: rgba(245,168,0,0.2);  color: var(--gold-text); }
.status-badge.agendado    { background: rgba(245,158,11,0.2);  color: var(--gold-text); }
.status-badge.compareceu  { background: rgba(16,185,129,0.2);  color: var(--green-text); }
.status-badge.matriculado { background: rgba(245,158,11,0.3);  color: #f59e0b; border: 1px solid var(--gold); }

/* ============================================================
   DISC COLORS
   ============================================================ */
.disc-d { color: #ef4444; }
.disc-i { color: #f59e0b; }
.disc-s { color: #10b981; }
.disc-c { color: #3b82f6; }
.disc-card-d { background: rgba(239,68,68,0.1);  border: 1px solid rgba(239,68,68,0.3); }
.disc-card-i { background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.3); }
.disc-card-s { background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.3); }
.disc-card-c { background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.3); }

/* ============================================================
   PROFILE AVATAR
   ============================================================ */
.avatar-circle {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), #c27d00);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 900;
  flex-shrink: 0;
  border: 3px solid rgba(245,168,0,0.4);
}

/* ============================================================
   LOGIN SCREEN
   ============================================================ */
.login-screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  background: radial-gradient(ellipse at 50% 0%, rgba(245,168,0,0.2), transparent 70%), var(--bg);
}
.login-logo { font-size: 60px; margin-bottom: 16px; }
.login-title { font-size: 26px; font-weight: 900; text-align: center; margin-bottom: 8px; }
.login-sub { font-size: 14px; color: var(--text-dim); text-align: center; margin-bottom: 40px; }

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-dim);
}
.empty-state .empty-icon { font-size: 48px; margin-bottom: 16px; }
.empty-state .empty-title { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.empty-state .empty-desc { font-size: 13px; line-height: 1.6; }

/* ============================================================
   HIGHLIGHT BOX
   ============================================================ */
.highlight-box {
  background: linear-gradient(135deg, rgba(245,168,0,0.15), rgba(200,125,0,0.1));
  border: 1px solid rgba(245,168,0,0.3);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
  text-align: center;
}

/* ============================================================
   LOADING
   ============================================================ */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.spinner {
  width: 48px; height: 48px;
  border: 4px solid rgba(245,168,0,0.2);
  border-top-color: var(--purple);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* ============================================================
   SKILL BAR
   ============================================================ */
.skill-bar-wrap { margin-bottom: 12px; }
.skill-bar-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
  font-size: 13px;
}
.skill-bar-track {
  height: 6px;
  background: var(--surface-3);
  border-radius: 3px;
  overflow: hidden;
}
.skill-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--purple), var(--gold));
  transition: width 1s ease;
}

/* ============================================================
   SAFE AREA & SCROLLBAR
   ============================================================ */
.safe-bottom { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 2px; }

/* ============================================================
   RESPONSIVE DESKTOP CONTAINER
   ============================================================ */
@media (min-width: 480px) {
  body { border-left: 1px solid rgba(255,255,255,0.05); border-right: 1px solid rgba(255,255,255,0.05); }
}

/* ─── VAGAS ─────────────────────────────────── */
.vaga-card { background: var(--bg-card); border-radius: 16px; padding: 18px;
  margin-bottom: 12px; border: 1px solid var(--surface-2);
  transition: border-color 0.2s; }
.vaga-card:hover { border-color: rgba(245,168,0,0.4); }
.vaga-card.epicentro { border-left: 3px solid var(--purple); }
.vaga-card.parceiro { border-left: 3px solid var(--blue); }
.vaga-card.destaque { border-left: 3px solid var(--gold); }

.company-logo { width: 44px; height: 44px; background: var(--bg-elevated); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }

.compat-bar { height: 6px; background: var(--surface-3); border-radius: 3px; flex: 1; }
.compat-fill { height: 100%; border-radius: 3px; transition: width 0.8s ease; }
.compat-high   { background: #10b981; }
.compat-mid    { background: #f59e0b; }
.compat-low    { background: #ef4444; }

.compat-badge { font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 99px; }
.compat-badge.high { background: rgba(16,185,129,0.15); color: var(--green-text); }
.compat-badge.mid  { background: rgba(245,158,11,0.15);  color: var(--gold-text); }
.compat-badge.low  { background: rgba(239,68,68,0.15);   color: var(--red-text); }

.benefit-chip { display: inline-block; font-size: 11px; background: rgba(16,185,129,0.12);
  color: var(--green-text); padding: 3px 8px; border-radius: 99px; margin: 2px; }

.tipo-badge { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 99px; }
.tipo-estagio     { background: rgba(59,130,246,0.15); color: var(--blue-text); }
.tipo-clt         { background: rgba(16,185,129,0.15); color: var(--green-text); }
.tipo-comissionado{ background: rgba(245,158,11,0.15); color: var(--gold-text); }

/* ─── EMPREGABILIDADE ────────────────────────── */
.emprego-index { display: flex; flex-direction: column; align-items: center;
  padding: 24px 16px; background: linear-gradient(135deg, var(--bg-elevated), #0d1357);
  border-radius: 16px; margin-bottom: 20px; }
.emprego-ring { position: relative; width: 140px; height: 140px; }
.emprego-ring svg { transform: rotate(-90deg); }
.emprego-ring .ring-text { position: absolute; inset: 0; display: flex;
  flex-direction: column; align-items: center; justify-content: center; }
.emprego-ring .ring-num { font-size: 36px; font-weight: 900; }
.emprego-ring .ring-lbl { font-size: 10px; color: var(--text-dim); }

.trilha-card { background: var(--bg-card); border-radius: 14px; padding: 16px;
  margin-bottom: 12px; border-top: 3px solid; }
.trilha-cargos { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.trilha-cargo { font-size: 11px; background: var(--bg-elevated); border-radius: 99px;
  padding: 3px 10px; color: var(--text-dim); }

.habilidade-certificada { display: flex; align-items: center; gap: 12px; padding: 14px;
  background: var(--bg-elevated); border-radius: 12px; margin-bottom: 8px; }
.hab-level { font-size: 10px; font-weight: 800; padding: 2px 8px; border-radius: 99px; }
.hab-level.iniciante    { background: rgba(100,116,139,0.2); color: var(--text-soft); }
.hab-level.em-dev       { background: rgba(245,158,11,0.15); color: var(--gold-text); }
.hab-level.intermediario{ background: rgba(59,130,246,0.15); color: var(--blue-text); }
.hab-level.avancado     { background: rgba(245,168,0,0.15); color: var(--gold-text); }
.hab-level.expert       { background: rgba(245,158,11,0.2);  color: #f59e0b; box-shadow: 0 0 8px rgba(245,158,11,0.3); }

.cert-card { background: linear-gradient(135deg, rgba(245,168,0,0.1), rgba(245,158,11,0.08));
  border: 1px solid rgba(245,158,11,0.2); border-radius: 12px; padding: 16px;
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.btn-cert { background: rgba(245,158,11,0.15); color: #f59e0b; border: 1px solid rgba(245,158,11,0.3);
  border-radius: 8px; padding: 8px 14px; font-size: 12px; font-weight: 700; cursor: pointer; }

.perfil-preview { background: var(--bg-elevated); border-radius: 14px; padding: 16px;
  border: 1px solid var(--surface-3); font-size: 13px; }
.perfil-preview .hab-bar { height: 6px; background: var(--surface-3); border-radius: 3px;
  flex: 1; margin: 0 8px; }
.perfil-preview .hab-fill { height: 100%; border-radius: 3px; background: var(--purple); }

/* ─── STREAK / ENGAJAMENTO ────────────────────── */
.streak-banner { background: linear-gradient(135deg, rgba(245,158,11,0.15), rgba(239,68,68,0.1));
  border: 1px solid rgba(245,158,11,0.3); border-radius: 14px; padding: 16px;
  display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.streak-fire { font-size: 40px; }
.streak-count { font-size: 32px; font-weight: 900; color: var(--gold); }
.streak-label { font-size: 12px; color: var(--text-dim); }

.desafio-card { background: var(--bg-card); border-radius: 14px; padding: 16px;
  border: 1px solid var(--surface-2); margin-bottom: 10px; }
.desafio-progress { height: 8px; background: var(--surface-3); border-radius: 4px; margin-top: 10px; }
.desafio-fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--purple), var(--gold)); transition: width 0.6s; }

/* ─── LOJA DE RECOMPENSAS ────────────────────── */
.loja-item { background: var(--bg-card); border-radius: 14px; padding: 16px;
  border: 1px solid var(--surface-2); text-align: center; }
.loja-item .loja-icon { font-size: 40px; margin-bottom: 8px; }
.loja-item .loja-price { font-size: 14px; font-weight: 800; color: var(--gold); }
.loja-item.indisponivel { opacity: 0.5; }
.loja-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }

/* Profile preview card */
.profile-preview-card { background: rgba(245,168,0,0.1); border: 1px solid rgba(245,168,0,0.3);
  border-radius: 12px; padding: 14px; margin-bottom: 16px; font-size: 13px; }
.profile-preview-card ul { list-style: none; margin-top: 8px; }
.profile-preview-card li { padding: 3px 0; color: var(--text-dim); }
.profile-preview-card li::before { content: '✓ '; color: var(--green); font-weight: 700; }

/* ─── BOTTOM NAV LABELS ─────────────────────── */
.bottom-nav a span:not(.nav-icon) {
  font-size: 10px;
}
.bottom-nav {
  padding-bottom: calc(8px + env(safe-area-inset-bottom));
}

/* ─── MENU DRAWER ──────────────────────────── */
.menu-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 200;
  display: none;
  align-items: flex-end;
  justify-content: center;
}
.menu-overlay.open { display: flex; }
.menu-sheet {
  background: var(--bg-elevated);
  border-radius: 20px 20px 0 0;
  padding: 20px 16px calc(16px + env(safe-area-inset-bottom));
  width: 100%;
  animation: slideUp 0.25s ease;
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  background: var(--bg-card);
  border-radius: 12px;
  padding: 14px 6px;
  font-size: 11px;
  color: var(--text-dim);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  border: 1px solid rgba(255,255,255,0.05);
}
.menu-item:hover, .menu-item:active {
  background: rgba(245,168,0,0.15);
  color: var(--gold-text);
  border-color: rgba(245,168,0,0.3);
}
.menu-item span:first-child { font-size: 22px; }

/* ============================================================
   EXTRA SMALL SCREENS (< 380px)
   ============================================================ */
@media (max-width: 380px) {
  .mini-stats { grid-template-columns: 1fr 1fr; }
  .mini-stat .value { font-size: 18px; }
  .stars .star { font-size: 24px; }
  .score-ring { width: 100px; height: 100px; }
  .score-ring .score-number { font-size: 22px; }
  .toast { white-space: normal; text-align: center; max-width: 90vw; font-size: 13px; }
  .action-card { gap: 12px; padding: 16px 12px; }
  .action-card .card-icon { font-size: 28px; }
  .action-card .card-title { font-size: 14px; }
  .login-title { font-size: 22px; }
  .student-header { padding: 16px 14px 12px; }
  .mission-card { padding: 14px; }
  .tabs { gap: 4px; padding: 8px; }
  .tab-btn { font-size: 12px; padding: 8px 10px; }
}

/* ── Fluxo: barra de progresso com fases (js/fluxo.js) ─────────────────── */
.fx { --fx-de: #f5a800; --fx-ate: #ffe08a; width: 100%; max-width: 420px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.fx-rotulo { position: relative; width: 100%; height: 44px; perspective: 800px; display: flex; align-items: center; justify-content: center; text-align: center; user-select: none; }
.fx-texto { display: inline-flex; flex-wrap: wrap; justify-content: center; font-size: 22px; font-weight: 700; letter-spacing: -.01em; color: var(--text-soft); animation: fx-voo .9s cubic-bezier(.22,1,.36,1) both; transform-style: preserve-3d; }
.fx-letra { display: inline-block; animation: fx-letra .45s cubic-bezier(.22,1,.36,1) both; }
.fx-trilho { position: relative; width: 100%; height: 16px; border-radius: 999px; overflow: hidden; background: var(--bg-elevated); box-shadow: inset 0 2px 3px rgba(0,0,0,.25), inset 0 -1px 2px rgba(255,255,255,.05); }
.fx-barra { position: relative; height: 100%; width: 0; border-radius: 999px; transition: width .55s cubic-bezier(.22,1,.36,1);
  background: linear-gradient(90deg, var(--fx-de) 0%, color-mix(in oklab, var(--fx-de), var(--fx-ate)) 35%, var(--fx-ate) 55%, color-mix(in oklab, var(--fx-de), var(--fx-ate)) 78%, var(--fx-de) 100%);
  box-shadow: 0 0 16px color-mix(in oklab, var(--fx-de) 55%, transparent), 0 0 28px color-mix(in oklab, var(--fx-ate) 35%, transparent), inset 0 1.5px 0 rgba(255,255,255,.5), inset 0 -2px 3px rgba(140,70,0,.35); }
.fx-brilho { position: absolute; top: 0; bottom: 0; left: 0; width: 50%; border-radius: 999px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); mix-blend-mode: screen; animation: fx-passa 1.6s linear infinite; }
@keyframes fx-voo { 0% { opacity: 0; transform: translateZ(-380px) scale(.65); filter: blur(14px); } 55% { opacity: 1; transform: translateZ(60px) scale(1.08); filter: blur(0); } 80% { transform: translateZ(-8px) scale(.985); } 100% { opacity: 1; transform: none; filter: blur(0); } }
@keyframes fx-letra { from { opacity: 0; transform: translateY(12px); filter: blur(8px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes fx-passa { from { transform: translateX(-110%); } to { transform: translateX(210%); } }
@media (prefers-reduced-motion: reduce) { .fx-texto, .fx-letra, .fx-brilho { animation: none; } .fx-barra { transition: none; } }

.fx-bloco { padding: 32px 16px; }

/* ============================================================
   DESKTOP (>= 1024px): menu lateral + conteúdo centralizado e mais largo.
   No celular nada muda. A barra inferior vira o menu lateral; "Mais" abre o menu completo no centro.
   ============================================================ */
@media (min-width: 1024px) {
  body { max-width: none; margin: 0; padding-left: 236px; border: 0; }
  body:has(#loginScreen[style*="flex"]) { padding-left: 0; }

  .bottom-nav {
    top: 0; bottom: 0; left: 0; transform: none; width: 236px; max-width: none;
    flex-direction: column; justify-content: flex-start; gap: 4px;
    padding: 76px 14px 24px; border-top: 0; border-right: 1px solid var(--surface-3);
  }
  .bottom-nav::before {
    content: 'Epicentro'; position: absolute; top: 26px; left: 28px;
    font-size: 20px; font-weight: 900; letter-spacing: -.01em; color: var(--gold-text, #f5a800);
  }
  .bottom-nav a {
    flex-direction: row; justify-content: flex-start; gap: 14px; font-size: 15px; font-weight: 600;
    padding: 12px 14px; border-radius: 12px; color: var(--text-soft);
  }
  .bottom-nav a:hover { background: var(--surface-1); color: var(--text-strong); }
  .bottom-nav a.active { background: rgba(245,168,0,.14); color: var(--gold-text, #f5a800); }
  .bottom-nav a .nav-icon { font-size: 20px; width: 26px; text-align: center; }
  .bottom-nav a span:not(.nav-icon) { font-size: 15px; }

  /* Coluna de conteúdo centralizada (as telas internas ficam mais largas que no celular, mas legíveis) */
  :where(.student-header, .tabs, .safe-bottom, .loja-tab-bar, #podiumEl, #ofertaXPBanner, main.page) {
    max-width: 880px; margin-left: auto; margin-right: auto; width: 100%;
  }
  .student-header { border-radius: 0 0 22px 22px; }
  .safe-bottom { padding-bottom: 48px; }

  /* Tela inicial: duas colunas */
  #dashScreen { max-width: 1120px; margin: 0 auto; }
  #dashScreen .student-header { max-width: none; border-radius: 0 0 22px 22px; padding: 26px 28px 20px; }
  #dashScreen .safe-bottom { max-width: none; display: block; column-count: 2; column-gap: 20px; padding: 8px 12px 48px; }
  #dashScreen .safe-bottom > * { min-width: 0; break-inside: avoid; }
  #dashScreen .safe-bottom > #bannerEmbaixador,
  #dashScreen .safe-bottom > #bannerNotif,
  #dashScreen .safe-bottom > .section:first-of-type,
  #dashScreen .safe-bottom > #acaoDoDiaEl { column-span: all; }

  /* Janelas e menu "Mais" no centro da tela, em vez de subir de baixo */
  .modal-overlay, .menu-overlay { align-items: center; }
  .modal-sheet { border-radius: 20px; max-width: 560px; }
  .menu-sheet { max-width: 680px; border-radius: 20px; padding: 24px; }
  .menu-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .menu-item { padding: 18px 8px; font-size: 13px; }

  .toast { bottom: 28px; }
}
@media (min-width: 1500px) {
  :where(.student-header, .tabs, .safe-bottom, .loja-tab-bar, #podiumEl, #ofertaXPBanner, main.page) { max-width: 980px; }
  #dashScreen { max-width: 1240px; }
  #dashScreen .safe-bottom { column-count: 3; }
}

/* ============================================================
   HOME DESKTOP (>= 1024px): busca, faixa de destaque, desenvolvimento, objetivo, jornada,
   desafios / conteúdos / vagas e o restante em colunas. Só a tela inicial (#dashScreen).
   No celular os blocos .hd-only ficam escondidos e nada muda.
   ============================================================ */
.hd-only { display: none; }
.hd-linha3, .hd-resto { display: contents; }
@media (min-width: 0px) {
  #dashScreen { max-width: 1280px; }
  .hd-only { display: block; }
  #dashScreen svg { flex: none; }

  /* topo: busca + sino + avatar (a saudação passa para a faixa de destaque) */
  #dashScreen .student-header { background: transparent; border-radius: 0; padding: 20px 24px 6px; }
  #dashScreen #xpBarEl, #dashScreen .hd-saud { display: none; }
  #dashScreen .hd-topo-linha { margin-bottom: 0 !important; gap: 18px; }
  #dashScreen .hd-topo-linha > div:last-child { margin-left: auto; }
  .hd-busca { position: relative; flex: 1; max-width: 760px; display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 18px; border-radius: 16px; background: var(--bg-card); border: 1px solid rgba(80,110,220,.35); box-shadow: 0 0 0 4px rgba(60,90,220,.06); }
  .hd-busca > svg { width: 20px; height: 20px; color: var(--text-dim); }
  .hd-busca input { flex: 1; background: none; border: 0; outline: 0; font: inherit; font-size: 14px; color: var(--text); }
  .hd-res { display: none; position: absolute; top: 58px; left: 0; right: 0; z-index: 30; background: var(--bg-elevated); border: 1px solid var(--surface-3); border-radius: 14px; padding: 6px; box-shadow: 0 14px 40px rgba(0,0,0,.4); }
  .hd-res a { display: block; padding: 10px 12px; border-radius: 10px; font-size: 14px; color: var(--text); }
  .hd-res a:hover { background: rgba(245,168,0,.14); color: var(--gold-text, #f5a800); }
  .hd-res .vz { display: block; padding: 10px 12px; font-size: 13px; color: var(--text-dim); }

  #dashScreen .safe-bottom { display: grid; column-count: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 8px 24px 48px; align-items: stretch; }
  #dashScreen .safe-bottom > .section:first-of-type { display: none; }
  #dashScreen .safe-bottom > #bannerEmbaixador, #dashScreen .safe-bottom > #bannerNotif { grid-column: 1 / -1; order: 2; margin: 0 !important; }

  /* faixa de destaque (igual à arte aprovada: texto à esquerda, rapaz ao centro, 4 metas à direita, faixa de atalhos embaixo) */
  .hd-hero { grid-column: 1 / -1; order: 1; position: relative; overflow: hidden; min-height: 490px; border-radius: 26px; color: #fff; isolation: isolate;
    border: 1px solid rgba(80,110,230,.45); box-shadow: -8px 0 34px rgba(60,90,230,.22), 8px 0 34px rgba(245,168,0,.22);
    background: radial-gradient(ellipse at 15% 0%, rgba(40,70,180,.32), transparent 55%), linear-gradient(135deg, #070b1f 0%, #0a1130 60%, #0d1540 100%); }
  /* o fundo da direita continua a cidade da foto, desfocada, para o rapaz não ficar "recortado" */
  .hd-hero::before { content: ''; position: absolute; z-index: 0; top: 0; right: 0; bottom: 0; width: 62%; background: url(../img/home/hero.jpg) right center / cover; filter: blur(26px) saturate(1.1); opacity: .55;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%); mask-image: linear-gradient(90deg, transparent 0%, #000 55%); }
  .hd-hero::after { content: ''; position: absolute; z-index: 1; top: -40px; right: 270px; width: 560px; height: 560px; border-radius: 50%; border: 1.5px solid rgba(245,168,0,.45); border-right-color: transparent; border-bottom-color: transparent; transform: rotate(-12deg); pointer-events: none; }
  .hd-hero-txt { position: relative; z-index: 3; max-width: 56%; padding: 38px 44px 0; }
  .hd-ola { font-size: 26px; font-weight: 900; }
  .hd-ola-sub { font-size: 15px; color: rgba(190,200,240,.8); margin-top: 3px; }
  .hd-traco { display: block; width: 54px; height: 4px; border-radius: 3px; background: #f5a800; margin: 24px 0 18px; }
  .hd-hero h2 { font-size: clamp(30px, 2.7vw, 42px); line-height: 1.08; font-weight: 900; letter-spacing: -.015em; }
  .hd-hero h2 span { color: #f5a800; }
  .hd-hero p { margin-top: 16px; font-size: 17px; line-height: 1.5; color: rgba(190,200,240,.88); max-width: 470px; }
  .hd-hero-foto { position: absolute; z-index: 2; top: 0; bottom: 0; right: 255px; height: 100%; width: auto; max-width: 46%; object-fit: cover; object-position: center top;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 26%, #000 84%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 26%, #000 84%, transparent 100%); }
  .hd-metas { position: absolute; z-index: 4; top: 26px; right: 28px; width: 250px; display: flex; flex-direction: column; gap: 12px; }
  .hd-metas a { display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 14px; border-radius: 16px; background: rgba(12,20,56,.9); border: 1px solid rgba(90,110,220,.45); backdrop-filter: blur(6px); transition: transform .15s, border-color .15s; }
  .hd-metas a:hover { transform: translateX(-3px); border-color: rgba(245,168,0,.8); }
  .hd-metas b { flex: 1; font-size: 13px; line-height: 1.15; font-weight: 800; letter-spacing: .02em; }
  .hd-metas .ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; flex: none; }
  .hd-metas .ico svg, .hd-faixa i svg { width: 21px; height: 21px; }
  .hd-metas .seta { width: 16px; height: 16px; color: rgba(255,255,255,.8); }
  .m-ouro { border-color: rgba(245,168,0,.75) !important; box-shadow: 0 0 16px rgba(245,168,0,.2); } .m-ouro .ico { background: rgba(245,168,0,.16); color: #f5a800; }
  .m-azul .ico { background: rgba(59,110,255,.22); color: #6f9bff; }
  .m-roxo .ico { background: rgba(139,92,246,.24); color: #b69cff; }
  .m-verde { border-color: rgba(52,211,153,.55) !important; } .m-verde .ico { background: rgba(52,211,153,.18); color: #34d399; }
  .hd-faixa { position: absolute; z-index: 5; left: 28px; right: 28px; bottom: 22px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; border-radius: 20px; padding: 14px 8px; background: rgba(7,12,38,.92); border: 1px solid rgba(90,110,220,.32); backdrop-filter: blur(8px); }
  .hd-faixa span { display: flex; align-items: center; gap: 14px; padding: 0 20px; font-size: 15px; font-weight: 600; line-height: 1.3; border-left: 1px solid rgba(255,255,255,.08); }
  .hd-faixa span:first-child { border-left: 0; }
  .hd-faixa i { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; flex: none; border: 1px solid; }
  .c-ouro { background: rgba(245,168,0,.12); color: #f5a800; border-color: rgba(245,168,0,.55) !important; }
  .c-azul { background: rgba(59,110,255,.16); color: #6f9bff; border-color: rgba(59,110,255,.55) !important; }
  .c-roxo { background: rgba(139,92,246,.18); color: #b69cff; border-color: rgba(139,92,246,.55) !important; }
  .c-verde { background: rgba(52,211,153,.14); color: #34d399; border-color: rgba(52,211,153,.55) !important; }

  /* cartões */
  .hd-dev, .hd-obj, .hd-jornada, .hd-conteudos, .hd-vagas { background: var(--bg-card); border: 1px solid var(--surface-2); border-radius: 20px; padding: 20px 22px; min-width: 0; }
  .hd-titulo { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; color: var(--text-strong); }
  .hd-titulo .ti { width: 24px; height: 24px; color: #f5a800; }
  .hd-titulo .ti-rosa { color: #ec4899; } .hd-titulo .ti-marrom { color: #c2410c; }
  .hd-btn-ouro { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; color: #1a1205; background: #fbbf24; padding: 11px 18px; border-radius: 12px; border: 0; cursor: pointer; font-family: inherit; white-space: nowrap; }
  .hd-btn-ouro svg { width: 14px; height: 14px; }
  .hd-btn-ouro.peq { padding: 9px 14px; }
  .hd-jor-topo .hd-btn-ouro { background: rgba(245,168,0,.10); color: #fbbf24; border: 1px solid rgba(245,168,0,.55); }

  /* desenvolvimento */
  .hd-dev { grid-column: span 2; order: 3; }
  .hd-dev .hd-titulo { margin-bottom: 14px; }
  .hd-dev-corpo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 24px; align-items: center; }
  .hd-aneis { display: flex; align-items: center; justify-content: center; gap: 12px; }
  .hd-anel { position: relative; width: 150px; height: 150px; flex: none; }
  .hd-anel svg { width: 100%; height: 100%; }
  .hd-anel circle { fill: none; stroke-width: 13; }
  .hd-anel .trilho { stroke: var(--surface-2); }
  .hd-anel .arco { stroke-linecap: round; }
  .hd-anel .amarelo { stroke: #f5a800; } .hd-anel .azul { stroke: #3b82f6; }
  .hd-anel div { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
  .hd-anel b { font-size: 30px; font-weight: 900; color: var(--text-strong); line-height: 1; }
  .hd-anel small { font-size: 11px; line-height: 1.25; color: var(--text-soft); margin-top: 4px; }
  .hd-mais { font-size: 24px; color: var(--text-dim); }
  .hd-prog { background: var(--bg-elevated); border-radius: 16px; padding: 16px 18px; }
  .hd-prog-topo { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 10px; font-size: 15px; color: var(--text-strong); }
  .hd-prog-topo span { font-size: 12px; color: var(--text-dim); }
  .hd-prog-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
  .hd-prog-nums div { background: var(--bg-card); border-radius: 12px; padding: 10px; text-align: center; }
  .hd-prog-nums b { display: block; font-size: 22px; font-weight: 900; color: #f5a800; }
  .hd-prog-nums small { font-size: 11px; line-height: 1.25; color: var(--text-dim); }
  .hd-cita { margin-top: 12px; font-size: 13px; font-style: italic; color: var(--text-soft); }

  /* objetivo */
  .hd-obj { order: 4; display: flex; flex-direction: column; }
  .hd-obj-topo { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--surface-2); }
  .hd-editar { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: 13px; font-weight: 700; color: #fbbf24; background: none; border: 1px solid var(--surface-3); border-radius: 12px; padding: 8px 14px; cursor: pointer; }
  .hd-editar svg { width: 14px; height: 14px; }
  .hd-obj-corpo { flex: 1; display: flex; align-items: center; gap: 10px; padding: 14px 0; }
  .hd-obj-texto { flex: 1; font-size: 19px; line-height: 1.35; font-weight: 600; color: var(--text-strong); }
  .hd-obj-texto.vazio { color: var(--text-dim); font-weight: 500; }
  .hd-obj-texto textarea { width: 100%; font: inherit; font-size: 14px; padding: 10px; border-radius: 12px; border: 1.5px solid #f5a800; background: var(--bg-elevated); color: var(--text); resize: none; margin-bottom: 8px; }
  .hd-obj-arte { width: 42%; max-width: 170px; border-radius: 14px; }
  .hd-obj-barra { display: flex; align-items: center; gap: 14px; }
  .hd-obj-trilho { flex: 1; height: 10px; border-radius: 6px; background: var(--surface-2); overflow: hidden; }
  .hd-obj-trilho i { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, #f5a800, #fbbf24); box-shadow: 0 0 12px rgba(245,168,0,.5); transition: width .6s; }
  .hd-obj-barra span { font-size: 13px; color: var(--text-soft); white-space: nowrap; } .hd-obj-barra b { color: #f5a800; font-size: 15px; }

  /* jornada */
  .hd-jornada { grid-column: 1 / -1; order: 5; }
  .hd-jor-topo { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
  .hd-jor-tit { display: flex; align-items: center; gap: 14px; }
  .hd-jor-tit b { display: block; font-size: 19px; font-weight: 800; color: var(--text-strong); }
  .hd-jor-tit small { font-size: 13px; color: var(--text-dim); }
  .hd-jor-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--bg-elevated); color: #fbbf24; }
  .hd-jor-ico svg { width: 22px; height: 22px; }
  .hd-passos { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); margin: 0; padding: 0; }
  .hd-passos li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; color: var(--text-dim); }
  .hd-passos li::before { content: ''; position: absolute; top: 25px; left: -50%; width: 100%; height: 3px; background: var(--surface-3); z-index: 0; }
  .hd-passos li:first-child::before { display: none; }
  .hd-passos li.ok::before, .hd-passos li.atual::before { background: linear-gradient(90deg, #34d399, #f5a800); }
  .hd-passos .bola { position: relative; z-index: 1; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--surface-3); background: var(--bg-card); }
  .hd-passos .bola svg { width: 22px; height: 22px; }
  .hd-passos .num { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--surface-3); font-size: 11px; font-weight: 800; }
  .hd-passos .rot { font-size: 13px; font-weight: 600; line-height: 1.3; max-width: 150px; }
  .hd-passos li.ok { color: var(--text-strong); } .hd-passos li.ok .bola { border-color: #34d399; color: #34d399; background: rgba(52,211,153,.12); box-shadow: 0 0 14px rgba(52,211,153,.35); } .hd-passos li.ok .num { border-color: #34d399; color: #34d399; }
  .hd-passos li.atual { color: var(--text-strong); } .hd-passos li.atual .bola { border-color: #f5a800; color: #f5a800; background: rgba(245,168,0,.12); box-shadow: 0 0 16px rgba(245,168,0,.45); } .hd-passos li.atual .num { background: #f5a800; border-color: #f5a800; color: #1a1205; }

  /* desafios | conteúdos | vagas */
  .hd-linha3 { grid-column: 1 / -1; order: 6; display: grid; grid-template-columns: 1fr 1.55fr 1fr; gap: 18px; align-items: stretch; }
  .hd-linha3 > .section { padding: 20px 22px; background: var(--bg-card); border: 1px solid var(--surface-2); border-radius: 20px; min-width: 0; }
  .hd-cab { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
  .hd-vermais { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #fbbf24; white-space: nowrap; }
  .hd-vermais.cinza { color: var(--text-soft); }
  .hd-vermais svg { width: 13px; height: 13px; }
  .hd-abas { display: flex; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
  .hd-abas button { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: 13px; font-weight: 800; padding: 10px 16px; border-radius: 12px; cursor: pointer; background: var(--bg-elevated); color: var(--text-soft); border: 1px solid var(--surface-3); }
  .hd-abas button svg { width: 16px; height: 16px; }
  .hd-abas button.on { background: #fbbf24; color: #1a1205; border-color: #fbbf24; }
  .hd-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .hd-card { position: relative; display: flex; flex-direction: column; border-radius: 16px; background: var(--bg-elevated); border: 1px solid var(--surface-2); padding: 8px; transition: transform .15s, border-color .15s; }
  .hd-card:hover { transform: translateY(-3px); border-color: rgba(245,168,0,.6); }
  .hd-card .foto { position: relative; height: 112px; border-radius: 11px; background-size: cover; background-position: center; }
  .hd-card .tile { position: absolute; top: 8px; left: 8px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(10,14,40,.82); border: 1px solid; }
  .hd-card .tile svg { width: 18px; height: 18px; }
  .t-ouro { color: #f5a800; border-color: rgba(245,168,0,.6) !important; } .t-roxo { color: #b69cff; border-color: rgba(139,92,246,.6) !important; } .t-verde { color: #34d399; border-color: rgba(52,211,153,.6) !important; }
  .hd-card .tx { padding: 10px 4px 4px; flex: 1; }
  .hd-card .tx b { display: block; font-size: 13.5px; line-height: 1.3; font-weight: 800; color: var(--text-strong); margin-bottom: 8px; padding-right: 30px; }
  .hd-card .tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 999px; border: 1px solid; }
  .hd-card .tag svg { width: 12px; height: 12px; }
  .tg-ouro { color: #fbbf24; border-color: rgba(245,168,0,.6); } .tg-roxo { color: #b69cff; border-color: rgba(139,92,246,.6); }
  .hd-card .play { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fbbf24; color: #1a1205; }
  .hd-card .play svg { width: 14px; height: 14px; }
  .hd-vazio { display: block; padding: 18px; border-radius: 14px; background: var(--bg-elevated); font-size: 14px; color: var(--text-soft); }
  .hd-vazio a { color: #fbbf24; font-weight: 700; }
  .hd-cgd-corpo { display: flex; align-items: center; gap: 16px; }
  .hd-cgd-corpo .ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; font-size: 28px; background: rgba(245,168,0,.14); border: 1px solid rgba(245,168,0,.45); flex: none; }
  .hd-cgd-corpo b { display: block; font-size: 16px; color: var(--text-strong); margin-bottom: 4px; }
  .hd-cgd-corpo p { font-size: 13px; line-height: 1.45; color: var(--text-dim); }
  .hd-cgd-corpo > div { flex: 1; min-width: 0; }
  .hd-cgd-corpo .hd-btn-ouro { color: #1a1205; font-weight: 800; }
  .hd-cgd-aviso { margin-top: 14px; padding: 12px 14px; border-radius: 12px; font-size: 13px; line-height: 1.5; color: #fcd34d; background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.35); }
  .hd-vaga { display: flex; align-items: center; gap: 12px; padding: 12px; margin-bottom: 10px; border-radius: 16px; background: var(--bg-elevated); border: 1px solid var(--surface-2); }
  .hd-vaga .ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; flex: none; background: var(--bg-card); color: #b69cff; }
  .hd-vaga .ic svg { width: 22px; height: 22px; }
  .hd-vaga .tx { flex: 1; min-width: 0; }
  .hd-vaga .tx b { display: block; font-size: 14px; font-weight: 800; color: var(--text-strong); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hd-vaga .tx span { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--text-dim); }
  .hd-vaga .pin { width: 12px; height: 12px; color: #fbbf24; }
  .hd-vazio-p { padding: 14px; font-size: 13px; color: var(--text-dim); }

  /* restante em colunas */
  /* Parte de baixo (números, score, você vs turma, ação do dia, para você agora, explore): removida no computador a pedido. Para voltar, troque none por block. */
  #dashScreen .hd-resto { display: none; }
  #dashScreen .hd-resto-ANTIGO { grid-column: 1 / -1; order: 7; display: block; column-count: 3; column-gap: 18px; }
  #dashScreen .hd-resto > * { break-inside: avoid; min-width: 0; }
  #dashScreen .hd-resto > .section { padding-left: 0; padding-right: 0; }
  #dashScreen .hd-resto > #acaoDoDiaEl { column-span: all; }
  #dashScreen .hd-resto > #bannersDestaque { padding: 0 !important; }
}
@media (max-width: 1279px) {
  .hd-hero-txt { max-width: 58%; padding: 36px 32px 0; }
  .hd-hero h2 { font-size: 32px; }
  .hd-hero p { font-size: 15px; }
  .hd-metas { width: 214px; right: 20px; }
  .hd-metas b { font-size: 12px; }
  .hd-hero-foto { right: 215px; max-width: 40%; }
  .hd-faixa span { font-size: 13px; padding: 0 12px; gap: 10px; } .hd-faixa i { width: 42px; height: 42px; }
  .hd-dev { grid-column: 1 / -1; } .hd-obj { grid-column: 1 / -1; }
  .hd-linha3 { grid-template-columns: 1fr 1fr; } .hd-linha3 .hd-conteudos { grid-column: 1 / -1; order: -1; }
  .hd-passos .rot { font-size: 12px; }
  #dashScreen .hd-resto { column-count: 2; }
}
@media (min-width: 1500px) {
  #dashScreen { max-width: 1360px; }
}

/* ===== Home no celular: o mesmo layout do computador, empilhado ===== */
@media (max-width: 767px) {
  #dashScreen .student-header { padding: 14px 12px 4px; }
  #dashScreen .hd-topo-linha { gap: 10px; flex-wrap: wrap; }
  #dashScreen .hd-busca { height: 46px; max-width: none; flex: 1 1 100%; order: 3; padding: 0 14px; }
  #dashScreen .safe-bottom { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 8px 12px calc(92px + env(safe-area-inset-bottom)); }
  .hd-hero { min-height: 0; display: flex; flex-direction: column; border-radius: 22px; padding-bottom: 16px; }
  .hd-hero::after { display: none; } .hd-hero::before { width: 100%; opacity: .45; }
  .hd-hero-txt { max-width: 100%; padding: 22px 18px 4px; }
  .hd-ola { font-size: 20px; } .hd-traco { margin: 14px 0 12px; } .hd-hero h2 { font-size: 26px; } .hd-hero p { margin-top: 10px; font-size: 14px; }
  .hd-hero-foto { position: static; order: 2; width: 100%; max-width: none; height: 230px; right: auto; object-position: center 28%; -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); }
  .hd-hero-txt { order: 1; }
  .hd-metas { position: static; order: 3; width: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 16px; }
  .hd-metas a { height: 56px; padding: 0 10px; gap: 8px; } .hd-metas b { font-size: 11px; } .hd-metas .ico { width: 34px; height: 34px; } .hd-metas .seta { display: none; }
  .hd-faixa { position: static; order: 4; margin: 12px 16px 0; grid-template-columns: 1fr 1fr; gap: 12px 0; padding: 12px; }
  .hd-faixa span { padding: 0 8px; font-size: 12px; gap: 8px; } .hd-faixa span:nth-child(odd) { border-left: 0; } .hd-faixa i { width: 36px; height: 36px; border-radius: 10px; }
  .hd-dev, .hd-obj, .hd-jornada { grid-column: 1 / -1; } .hd-dev-corpo { grid-template-columns: minmax(0, 1fr); gap: 16px; } .hd-anel { width: 122px; height: 122px; } .hd-anel b { font-size: 26px; }
  .hd-linha3 { grid-template-columns: minmax(0, 1fr); } .hd-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hd-passos { grid-template-columns: repeat(3, 1fr); row-gap: 18px; } .hd-passos li::before { display: none; } .hd-passos .bola { width: 44px; height: 44px; } .hd-passos .rot { font-size: 12px; }
  .hd-jor-topo { flex-wrap: wrap; }
  .hd-dev, .hd-obj, .hd-jornada, .hd-conteudos, .hd-vagas { padding: 16px; }
  .hd-linha3 > .section { padding: 16px; }
  .hd-obj-corpo { flex-wrap: wrap; } .hd-obj-texto { font-size: 17px; } .hd-obj-arte { display: none; }
}

/* ============================================================
   MENU LATERAL DO ALUNO (>= 1024px) — montado por js/sidebar.js. Substitui a barra inferior no computador.
   ============================================================ */
@media (min-width: 1024px) {
  body { padding-left: 264px; }
  body:has(#loginScreen[style*="flex"]) { padding-left: 0; }
  .bottom-nav { display: none !important; }

  .sb-aluno { position: fixed; z-index: 100; top: 0; left: 0; bottom: 0; width: 264px; display: flex; flex-direction: column; padding: 26px 14px 16px; overflow-y: auto;
    background: linear-gradient(180deg, var(--bg-card), var(--bg)); border-right: 1px solid var(--surface-3); scrollbar-width: none; }
  .sb-aluno::-webkit-scrollbar { display: none; }
  .sb-marca { display: block; padding: 4px 14px 24px; }
  .sb-marca img { display: block; width: 100%; max-width: 190px; height: auto; }
  .sb-logo-claro { display: none !important; }
  html:is([data-tema="claro"],[data-tema="neutro"]) .sb-logo-escuro { display: none !important; }
  html:is([data-tema="claro"],[data-tema="neutro"]) .sb-logo-claro { display: block !important; }
  .sb-itens { display: flex; flex-direction: column; gap: 4px; }
  .sb-it { position: relative; display: flex; align-items: center; gap: 16px; padding: 11px 14px; border-radius: 14px; font-size: 16px; font-weight: 700; color: var(--text-soft); transition: background .15s, color .15s; }
  .sb-it .ic { width: 30px; font-size: 24px; text-align: center; flex: none; }
  .sb-it:hover { background: var(--surface-1); color: var(--text-strong); }
  .sb-it.on { color: #fbbf24; background: linear-gradient(90deg, rgba(245,168,0,.28), rgba(245,168,0,.1)); box-shadow: 0 0 22px rgba(245,168,0,.2); border: 1px solid rgba(245,168,0,.45); }
  .sb-it.on::before { content: ''; position: absolute; left: -1px; top: 8px; bottom: 8px; width: 4px; border-radius: 0 4px 4px 0; background: #f5a800; }
  .sb-it .ponto { width: 10px; height: 10px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 8px rgba(239,68,68,.7); margin-left: -4px; }
  .sb-it .ponto[hidden] { display: none; }

  .sb-rodape { margin-top: auto; padding-top: 16px; display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--surface-2); }
  .sb-ajuda { padding: 14px; border-radius: 18px; background: var(--bg-elevated); border: 1px solid var(--surface-2); }
  .sb-ajuda .topo { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
  .sb-ajuda .ic { font-size: 30px; }
  .sb-ajuda b { display: block; font-size: 15px; color: var(--text-strong); }
  .sb-ajuda small { display: block; font-size: 12.5px; line-height: 1.35; color: var(--text-dim); margin-top: 2px; }
  .sb-ajuda .btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 12px; border-radius: 12px; font-size: 14px; font-weight: 800; color: #1a1205; background: linear-gradient(135deg, #fbbf24, #d99200); box-shadow: 0 0 16px rgba(245,168,0,.3); }
  .sb-ajuda .btn i { font-style: normal; font-size: 18px; }
  .sb-perfil { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 18px; background: var(--bg-elevated); border: 1px solid var(--surface-2); }
  .sb-perfil .av { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; flex: none; font-size: 18px; font-weight: 900; color: #fff; background: linear-gradient(135deg, #8b5cf6, #3b82f6) center / cover; border: 2px solid rgba(245,168,0,.7); }
  .sb-perfil .av::after { content: ''; position: absolute; right: -2px; bottom: -2px; width: 13px; height: 13px; border-radius: 50%; background: #22c55e; border: 2px solid var(--bg-elevated); }
  .sb-perfil > div { flex: 1; min-width: 0; }
  .sb-perfil b { display: block; font-size: 16px; color: var(--text-strong); }
  .sb-perfil .niv { display: inline-block; margin-top: 4px; font-size: 11.5px; font-weight: 800; color: #fbbf24; padding: 3px 9px; border-radius: 999px; border: 1px solid rgba(245,168,0,.5); background: rgba(245,168,0,.1); }
  .sb-perfil .niv:empty { display: none; }
  .sb-perfil .seta { font-style: normal; font-size: 22px; color: var(--text-dim); }
}
@media (min-width: 1024px) and (max-height: 760px) {
  .sb-it { padding: 8px 14px; } .sb-ajuda .topo small { display: none; } .sb-marca { padding-bottom: 12px; }
}
