/* ============================================================
   Nova Travel — App Mobile Shell
   O sistema inteiro renderiza como um celular (largura fixa)
   mesmo no desktop. Em telas pequenas vira tela cheia.
   ============================================================ */

:root {
  --shell-width: 420px;
  --shell-radius: 28px;
  --bg-page: #0a0e14;
  --bg-shell: #f4f6fb;
  --bg-card: #ffffff;
  --bg-soft: #eef2f8;
  --text-strong: #0f1a33;
  --text-soft: #5b6a85;
  --text-muted: #94a3b8;
  --primary: #2563eb;
  --primary-strong: #1d4ed8;
  --orange: #ea7a17;
  --green: #10b981;
  --danger: #dc2626;
  --border: #e3e8f1;
  --shadow-card: 0 6px 18px rgba(15, 26, 51, 0.06);
}

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

html {
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-feature-settings: "cv11", "ss01", "tnum";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--text-strong);
  line-height: 1.45;
  min-height: 100vh;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: stretch;
}

a {
  color: var(--primary);
  text-decoration: none;
}

/* —— Shell (moldura do "celular") —— */
.shell {
  position: relative;
  width: 100%;
  max-width: var(--shell-width);
  min-height: 100vh;
  background: var(--bg-shell);
  color: var(--text-strong);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

@media (min-width: 768px) {
  body {
    padding: 24px 0;
    align-items: flex-start;
  }
  .shell {
    margin: 0 auto;
    min-height: calc(100vh - 48px);
    max-height: calc(100vh - 48px);
    border-radius: var(--shell-radius);
    box-shadow:
      0 24px 48px rgba(15, 26, 51, 0.18),
      0 6px 14px rgba(15, 26, 51, 0.08),
      inset 0 0 0 1px rgba(15, 26, 51, 0.06);
    overflow: hidden;
  }
  .shell-inner {
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
}

/* Esconde a barra de rolagem (mantém o scroll funcional) */
html,
body,
.shell-inner {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
.shell-inner::-webkit-scrollbar,
*::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.shell-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* —— Topbar interna do app —— */
.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.topbar h1 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.online {
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
}

/* —— Conteúdo —— */
.content {
  flex: 1;
  padding: 14px 14px 100px;
}

.msg {
  margin: 12px 14px 0;
  padding: 10px 14px;
  background: #fff7df;
  border: 1px solid #f7d179;
  color: #9a5b00;
  border-radius: 12px;
  font-size: 14px;
}

/* —— Cards —— */
.card {
  background: var(--bg-card);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-card);
}

.card.orange {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 60%, #b45309 100%);
  color: #fff;
}

.card.dark {
  background: #0f172a;
  color: #fff;
}

.card h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.card p {
  margin: 6px 0;
  font-size: 14px;
}

/* —— Form —— */
label {
  display: block;
  margin: 12px 0 6px;
  color: var(--text-soft);
  font-weight: 600;
  font-size: 13px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
  background: #fff;
  color: var(--text-strong);
  font-family: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.btn {
  display: inline-block;
  border: 0;
  background: var(--orange);
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  margin-top: 12px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  width: 100%;
}

.btn.mini {
  padding: 8px 12px;
  margin-top: 0;
  width: auto;
}

.btn.danger {
  background: var(--danger);
}

.btn.primary {
  background: linear-gradient(135deg, #3d8bfd 0%, var(--primary) 50%, var(--primary-strong) 100%);
}

.center {
  text-align: center;
}

/* —— Tiles (grid de atalhos) —— */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.tile {
  background: var(--bg-card);
  border-radius: 14px;
  padding: 18px 12px;
  text-decoration: none;
  color: var(--text-strong);
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid #edf2f7;
  font-size: 14px;
}

.line:last-child {
  border-bottom: 0;
}

.ok {
  color: #0f9d58;
  font-weight: 700;
}

/* —— Barra inferior (estilo app) —— */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, var(--shell-width));
  z-index: 20;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0;
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0));
  background: #ffffff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(15, 26, 51, 0.08);
}

.bottom-nav__item {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 6px 2px 8px;
  text-decoration: none;
  color: #94a3b8;
  -webkit-tap-highlight-color: transparent;
  border-radius: 12px;
  transition: color 0.2s, background 0.2s;
}

.bottom-nav__item:hover {
  color: #64748b;
  text-decoration: none;
  background: rgba(15, 23, 42, 0.04);
}

.bottom-nav__item--active {
  color: #ea580c;
}

.bottom-nav__item--active .bottom-nav__icon {
  color: #ea580c;
}

.bottom-nav__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: currentColor;
  transition: transform 0.2s ease;
}

.bottom-nav__icon svg {
  width: 26px;
  height: 26px;
  display: block;
  overflow: visible;
}

.bottom-nav__item--active .bottom-nav__icon {
  transform: translateY(-1px) scale(1.05);
  filter: drop-shadow(0 4px 10px rgba(234, 88, 12, 0.25));
}

.bottom-nav__label {
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ============================================================
   Login (estilo Nova Travel) — usa o mesmo shell mobile
   ============================================================ */
.shell.login-shell {
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(249, 115, 22, 0.15), transparent 45%),
    radial-gradient(90% 65% at 0% 100%, rgba(234, 122, 23, 0.12), transparent 55%),
    linear-gradient(180deg, #fffdf9 0%, #fff7ed 100%);
  color: #1f2937;
}

.page-login {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

@media (min-width: 768px) {
  .page-login {
    min-height: 100%;
  }
}

.page-login .bg-layer {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 105% 75% at 50% -25%, rgba(249, 115, 22, 0.22), transparent 58%),
    radial-gradient(ellipse 75% 52% at 100% 40%, rgba(234, 122, 23, 0.15), transparent 54%),
    linear-gradient(180deg, #fff 0%, #fff7ed 100%);
  z-index: 0;
}

.page-login .bg-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.18;
  pointer-events: none;
}

.login-content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 5vw, 1.75rem);
}

.brand-section {
  margin-bottom: 1.5rem;
  text-align: center;
}

.brand-mark {
  display: inline-block;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #b45309 0%, var(--brand-accent, #ea7a17) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 4px 20px rgba(234, 122, 23, 0.22);
}

.brand-section .logo {
  max-width: 180px;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 8px 20px rgba(234, 122, 23, 0.24));
}

.login-card {
  width: 100%;
  max-width: 360px;
  padding: 1.5rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(234, 122, 23, 0.18);
  box-shadow:
    0 18px 38px rgba(180, 83, 9, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.login-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.02em;
}

.login-card .subtitle {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  color: #6b7280;
}

.page-login .field {
  margin-bottom: 1rem;
}

.page-login .field label {
  display: block;
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 500;
  color: #4b5563;
  text-transform: none;
}

.page-login .field label .opt {
  margin-left: 4px;
  font-weight: 400;
  color: #9ca3af;
}

.page-login .input-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.85rem;
  min-height: 48px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #fed7aa;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.page-login .input-wrap:focus-within {
  border-color: var(--brand-accent, #ea7a17);
  box-shadow: 0 0 0 3px rgba(234, 122, 23, 0.14);
}

.page-login .input-wrap svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: #9ca3af;
}

.page-login .area-code {
  flex-shrink: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #374151;
  user-select: none;
}

.page-login .input-wrap input {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 0.65rem 0;
  border: none;
  background: transparent;
  color: #111827;
  font-size: 1rem;
  outline: none;
  box-shadow: none;
}

.page-login .input-wrap input::placeholder {
  color: #9ca3af;
}

.page-login .input-wrap input::-webkit-outer-spin-button,
.page-login .input-wrap input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.page-login .eye-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-right: -0.35rem;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #9ca3af;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.page-login .eye-btn:hover {
  color: #374151;
  background: rgba(234, 122, 23, 0.1);
}

.page-login .eye-btn svg {
  width: 20px;
  height: 20px;
}

.page-login .btn-primary {
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.85rem 1.25rem;
  border: none;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, #fb923c 0%, var(--brand-accent, #ea7a17) 55%, #c2410c 100%);
  box-shadow: 0 8px 22px rgba(234, 122, 23, 0.34);
  transition: transform 0.15s, box-shadow 0.2s;
}

.page-login .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(234, 122, 23, 0.42);
}

.page-login .btn-primary:active {
  transform: translateY(0);
}

.page-login .bottom-link {
  margin-top: 1.25rem;
  text-align: center;
  font-size: 0.88rem;
  color: #6b7280;
}

.page-login .bottom-link a {
  margin-left: 0.35rem;
  color: var(--brand-accent, #ea7a17);
  font-weight: 600;
}

.page-login .bottom-link a:hover {
  color: #c2410c;
}

.shell.login-shell .msg {
  position: relative;
  z-index: 3;
  margin: 12px 16px 0;
  background: #fff7ed;
  border-color: #fdba74;
  color: #9a3412;
}

/* ============================================================
   Perfil — moderno (header laranja + cards de estatísticas)
   ============================================================ */
.profile-header {
  position: relative;
  margin: -14px -14px 14px;
  padding: 18px 16px 22px;
  background: linear-gradient(135deg, #f59e0b 0%, #ea7a17 45%, #d9560f 100%);
  color: #fff;
  overflow: hidden;
  border-radius: 0 0 22px 22px;
  box-shadow: 0 12px 24px rgba(217, 86, 15, 0.18);
}

.profile-header__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.profile-header__blob {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  filter: blur(2px);
}

.profile-header__blob--1 {
  top: -60px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
}

.profile-header__blob--2 {
  bottom: -70px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 220, 180, 0.25), rgba(255, 255, 255, 0));
}

.profile-header__main {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: start;
}

.profile-avatar {
  position: relative;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.profile-avatar__ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.6) 100%);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

.profile-avatar__inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #fde68a 0%, #fbbf24 60%, #f59e0b 100%);
  color: #7c2d12;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-avatar__star {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  color: #f59e0b;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.profile-avatar__star svg {
  width: 14px;
  height: 14px;
}

.profile-info {
  min-width: 0;
}

.profile-info__name {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-info__id {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 8px;
}

.profile-copy {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  padding: 2px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.profile-copy:hover {
  background: rgba(255, 255, 255, 0.18);
}

.profile-copy.copied {
  color: #fde68a;
}

.profile-copy svg {
  width: 14px;
  height: 14px;
}

.profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.badge svg {
  width: 13px;
  height: 13px;
}

.badge--score {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  backdrop-filter: blur(4px);
}

.badge--level {
  background: linear-gradient(135deg, #fde68a, #fbbf24);
  color: #7c2d12;
}

.profile-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-self: start;
}

.profile-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  background: #fff;
  color: #d9560f;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.15s, box-shadow 0.2s;
}

.profile-action svg {
  width: 14px;
  height: 14px;
}

.profile-action:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.profile-action--ghost {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: none;
}

.profile-action--ghost:hover {
  background: rgba(255, 255, 255, 0.28);
}

.profile-level-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 14px;
  padding: 12px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f59e0b 0%, #ea7a17 50%, #d9560f 100%);
  color: #fff;
  box-shadow: 0 8px 18px rgba(217, 86, 15, 0.22);
}

.profile-level-strip__left {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.profile-level-strip__lv {
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.14);
  font-size: 13px;
  font-weight: 800;
}

.profile-level-strip__name {
  font-weight: 800;
}

.profile-level-strip__pct {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  opacity: 0.95;
}

.profile-level-strip__right {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  text-align: right;
  max-width: 48%;
  line-height: 1.25;
}

/* —— Card de saldo —— */
.balance-card {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 16px 14px;
  text-align: center;
}

.balance-col__label {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 4px;
}

.balance-col__value {
  font-size: 22px;
  font-weight: 800;
  color: #0f1a33;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  letter-spacing: -0.01em;
}

.balance-col__value--date {
  font-size: 16px;
  color: #ea7a17;
}

.balance-refresh {
  border: 0;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  padding: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: color 0.2s, transform 0.4s;
}

.balance-refresh:hover {
  color: #2563eb;
  transform: rotate(180deg);
}

.balance-refresh svg {
  width: 16px;
  height: 16px;
}

.balance-divider {
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, transparent, #e2e8f0, transparent);
}

/* —— Estatísticas —— */
.stats-card {
  padding: 18px 16px;
}

.stats-card__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.stats-card__head h3 {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.stats-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #fde68a, #fbbf24);
  color: #b45309;
}

.stats-card__icon svg {
  width: 16px;
  height: 16px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.stat {
  background: #f5f7fb;
  border-radius: 14px;
  padding: 14px 14px 12px;
}

.stat__label {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 12.5px;
  color: #94a3b8;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.005em;
  min-height: 32px;
}

.stat__value {
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
  color: var(--stat-color, #0f1a33);
  margin-top: 4px;
}

.stat--full {
  grid-column: 1 / -1;
}

.stat--orange   { --stat-color: #ea7a17; }
.stat--purple   { --stat-color: #7c3aed; }
.stat--yellow   { --stat-color: #d97706; }
.stat--blue     { --stat-color: #2563eb; }
.stat--red      { --stat-color: #dc2626; }
.stat--orange-2 { --stat-color: #c2410c; }
.stat--green    { --stat-color: #059669; }

/* —— Linhas de configuração —— */
.config-card {
  padding: 4px 4px;
}

.config-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  text-decoration: none;
  color: #0f1a33;
  border-radius: 12px;
  transition: background 0.2s;
}

.config-row + .config-row {
  border-top: 1px solid #f1f5f9;
}

.config-row:hover {
  background: #f7f8fc;
  text-decoration: none;
}

.config-row__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef3fe;
  color: #2563eb;
}

.config-row__icon svg {
  width: 20px;
  height: 20px;
}

.config-row__icon--blue   { background: #eef3fe; color: #2563eb; }
.config-row__icon--green  { background: #e7f6f0; color: #059669; }
.config-row__icon--red    { background: #fdecec; color: #dc2626; }
.config-row__icon--pink   { background: #fee2e2; color: #e11d48; }
.config-row__icon--purple { background: #f3eefd; color: #7c3aed; }

.config-row__label {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
}

.config-row__chev {
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.config-row__chev svg {
  width: 16px;
  height: 16px;
}

.config-row--danger .config-row__label {
  color: #dc2626;
}

/* —— Botão flutuante de suporte —— */
.floating-help {
  position: fixed;
  right: max(16px, calc(50% - var(--shell-width) / 2 + 16px));
  bottom: 96px;
  z-index: 25;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 8px 18px rgba(22, 163, 74, 0.35),
    0 0 0 4px rgba(22, 163, 74, 0.12);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
}

.floating-help:hover {
  transform: translateY(-2px);
}

.floating-help svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 767px) {
  .floating-help {
    right: 16px;
  }
}

/* ============================================================
   Tarefas — moderno (resumo + tabs + cards com thumb)
   ============================================================ */
.task-summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  margin: 4px 0 14px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, #f59e0b 0%, #ea7a17 45%, #d9560f 100%);
  box-shadow: 0 12px 24px rgba(217, 86, 15, 0.18);
}

.task-summary::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -35px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.task-summary::after {
  content: "";
  position: absolute;
  bottom: -55px;
  left: -40px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 220, 180, 0.25), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.task-summary__progress {
  position: relative;
  z-index: 1;
  width: 88px;
  height: 88px;
  flex-shrink: 0;
}

.task-summary__progress .ring {
  width: 100%;
  height: 100%;
  display: block;
}

.task-summary .ring-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.task-summary__stats {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 6px;
}

.task-stat {
  text-align: center;
  min-width: 0;
}

.task-summary .task-stat__value {
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1;
}

.task-summary .task-stat__value--orange {
  color: #fef9c3;
}

.task-summary .task-stat__value--green {
  color: #bbf7d0;
}

.task-summary .task-stat__label {
  margin-top: 4px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
}

.task-summary .task-stat__sep {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.28);
}

/* Tabs */
.task-tabs {
  display: flex;
  align-items: stretch;
  gap: 4px;
  padding: 6px;
  margin-bottom: 12px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-card);
}

.task-tab {
  flex: 1;
  text-align: center;
  padding: 9px 8px;
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.2s, color 0.2s;
}

.task-tab:hover {
  text-decoration: none;
  color: #475569;
  background: #f7f8fc;
}

.task-tab--active {
  color: #fff;
  background: linear-gradient(135deg, #f59e0b 0%, #ea7a17 100%);
  box-shadow: 0 4px 10px rgba(234, 122, 23, 0.25);
}

.task-tab--active:hover {
  color: #fff;
  background: linear-gradient(135deg, #f59e0b 0%, #ea7a17 100%);
}

/* Lista */
.task-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.task-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding: 10px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
}

.task-card__thumb {
  position: relative;
  width: 110px;
  height: 100%;
  min-height: 100px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.task-card__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.35), transparent 60%);
  pointer-events: none;
}

.task-card__thumb-icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  color: #fff;
  backdrop-filter: blur(2px);
}

.task-card__thumb-icon svg {
  width: 24px;
  height: 24px;
}

.task-card__body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 4px 6px 4px 0;
  min-width: 0;
}

.task-card__title {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #0f1a33;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.task-card__reward {
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ea7a17;
  margin: 4px 0;
}

.task-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
  padding: 7px 16px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff7e6, #fde68a);
  color: #b45309;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.2s;
}

.task-card__btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(234, 122, 23, 0.2);
}

.task-card__btn--done {
  background: linear-gradient(135deg, #d1fae5, #6ee7b7);
  color: #065f46;
  cursor: default;
}

.task-card__btn--done:hover {
  transform: none;
  box-shadow: none;
}

.task-card__form {
  margin: 0;
  align-self: flex-end;
}

.task-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0;
}

.task-card__chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: #f1f5f9;
  color: #475569;
}

.task-card__chip svg {
  width: 13px;
  height: 13px;
}

.task-card__chip--reward {
  background: linear-gradient(135deg, #fff7e6, #fde68a);
  color: #b45309;
}

.task-card__btn--running {
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
  color: #475569;
  cursor: progress;
}

.task-card__btn--running:hover {
  transform: none;
  box-shadow: none;
}

.task-card__btn--ready {
  background: linear-gradient(135deg, #fde68a, #f59e0b);
  color: #7c2d12;
  box-shadow: 0 6px 14px rgba(245, 158, 11, 0.3);
  animation: taskBtnPulse 1.4s ease-in-out infinite;
}

@keyframes taskBtnPulse {
  0%, 100% { box-shadow: 0 6px 14px rgba(245, 158, 11, 0.3); }
  50%      { box-shadow: 0 6px 20px rgba(245, 158, 11, 0.55); }
}

.task-card__thumb--video {
  position: relative;
}

.task-card__thumb--video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.35) 100%);
  border-radius: inherit;
  pointer-events: none;
}

.task-card__thumb--video .task-card__thumb-icon {
  position: relative;
  z-index: 1;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.task-card__thumb--video .task-card__thumb-icon svg {
  width: 18px;
  height: 18px;
  margin-left: 2px;
}

/* —— Modal de tarefa (player + timer moderno) —— */
.task-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  align-items: stretch;
  justify-content: center;
}

.task-modal.is-open {
  display: flex;
}

.task-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: taskFadeIn 0.2s ease both;
}

.task-modal__sheet {
  position: relative;
  margin-top: auto;
  width: 100%;
  max-width: 460px;
  align-self: end;
  border-radius: 24px 24px 18px 18px;
  background: linear-gradient(180deg, #0f1a33 0%, #0b1227 100%);
  color: #fff;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  animation: taskSlideUp 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@media (min-width: 540px) {
  .task-modal {
    align-items: center;
    padding: 24px;
  }
  .task-modal__sheet {
    align-self: auto;
    margin: 0;
    border-radius: 22px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  }
}

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

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

.task-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.55);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.task-modal__close svg {
  width: 18px;
  height: 18px;
}

.task-modal__player {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
}

.task-modal__player-frame {
  position: absolute;
  inset: 0;
}

.task-modal__player-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.task-modal__player-shade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 60px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, #0f1a33 100%);
  pointer-events: none;
}

.task-modal__body {
  padding: 14px 20px 22px;
}

.task-modal__title {
  margin: 0 0 4px;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.task-modal__sub {
  margin: 0 0 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.task-modal__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.task-modal__ring {
  position: relative;
  width: 88px;
  height: 88px;
  flex-shrink: 0;
}

.task-modal__ring svg {
  width: 100%;
  height: 100%;
}

.task-modal__ring circle {
  transition: stroke-dashoffset 0.25s linear;
}

.task-modal__ring-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.task-modal__reward {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.task-modal__reward-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}

.task-modal__reward-value {
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fde68a, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.task-modal__reward-hint {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
}

.task-modal__cta {
  margin-top: 16px;
  width: 100%;
  border: 0;
  padding: 14px 18px;
  border-radius: 14px;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
  cursor: not-allowed;
  transition: transform 0.18s, box-shadow 0.2s, background 0.2s, color 0.2s;
}

.task-modal__cta.is-ready {
  background: linear-gradient(135deg, #f59e0b 0%, #ea7a17 50%, #d9560f 100%);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(217, 86, 15, 0.45);
  animation: taskCtaPulse 1.6s ease-in-out infinite;
}

.task-modal__cta.is-ready:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

@keyframes taskCtaPulse {
  0%, 100% { box-shadow: 0 10px 24px rgba(217, 86, 15, 0.35); }
  50%      { box-shadow: 0 14px 30px rgba(217, 86, 15, 0.65); }
}

body.no-scroll {
  overflow: hidden;
}

.task-reset-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff7e6, #fde68a);
  color: #7c2d12;
  font-size: 13px;
  font-weight: 600;
}

.task-reset-banner form {
  margin: 0;
}

.task-reset-banner__btn {
  border: 0;
  padding: 7px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f59e0b 0%, #ea7a17 55%, #d9560f 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(217, 86, 15, 0.25);
}

.task-reset-banner__btn:hover {
  filter: brightness(1.05);
}

/* ============================================================
   Equipe — banner laranja + tabs + cards de níveis
   ============================================================ */
.team-summary {
  position: relative;
  margin: 4px 0 14px;
  padding: 18px 18px 20px;
  border-radius: 18px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #f59e0b 0%, #ea7a17 45%, #d9560f 100%);
  box-shadow: 0 12px 24px rgba(217, 86, 15, 0.18);
}

.team-summary::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -35px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.team-summary::after {
  content: "";
  position: absolute;
  bottom: -55px;
  left: -40px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 220, 180, 0.25), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.team-summary__title {
  position: relative;
  margin: 0 0 14px;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.team-summary__row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 8px;
}

.team-stat {
  text-align: center;
  min-width: 0;
}

.team-stat__value {
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.team-stat__label {
  margin-top: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
  line-height: 1.25;
}

.team-stat__sep {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.28);
}

/* Tabs específicas (reaproveitam .task-tab base) */
.team-tabs {
  margin-bottom: 14px;
}

/* Lista de tiers */
.team-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.team-tier-card {
  background: #fff;
  border-radius: 16px;
  padding: 14px 16px 16px;
  box-shadow: var(--shadow-card);
}

.team-tier-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.team-tier-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.005em;
}

.team-tier--a {
  background: linear-gradient(135deg, #fbbf24, #ea7a17);
  box-shadow: 0 4px 10px rgba(234, 122, 23, 0.3);
}

.team-tier--b {
  background: linear-gradient(135deg, #fb923c, #c2410c);
  box-shadow: 0 4px 10px rgba(194, 65, 12, 0.3);
}

.team-tier--c {
  background: linear-gradient(135deg, #34d399, #059669);
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.3);
}

.team-tier-card__count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
}

.team-tier-card__count svg {
  width: 16px;
  height: 16px;
}

.team-tier-card__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  text-align: center;
}

.team-tier-stat__value {
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f1a33;
  font-variant-numeric: tabular-nums;
}

.team-tier-stat__value--accent {
  color: #ea7a17;
}

.team-tier-stat__label {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 500;
  color: #94a3b8;
  line-height: 1.25;
}

/* Card de convite */
.invite-card {
  padding: 20px 18px;
}

.invite-card__title {
  margin: 0 0 4px;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.invite-card__subtitle {
  margin: 0 0 14px;
  color: #64748b;
  font-size: 13px;
}

.invite-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  margin-bottom: 8px;
  background: #f5f7fb;
  border-radius: 12px;
}

.invite-row__label {
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  flex-shrink: 0;
}

.invite-row__value {
  flex: 1;
  min-width: 0;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #0f1a33;
  letter-spacing: 0.01em;
  word-break: break-all;
}

.invite-row__value--link {
  font-size: 12px;
  font-weight: 500;
  color: #2563eb;
}

.invite-copy {
  flex-shrink: 0;
  border: 0;
  padding: 7px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f59e0b, #ea7a17);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
}

.invite-copy:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(234, 122, 23, 0.3);
}

.invite-copy.copied {
  background: linear-gradient(135deg, #34d399, #059669);
}

.invite-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.invite-tier {
  text-align: center;
  padding: 12px 8px;
  border-radius: 12px;
  background: #fff7ed;
  border: 1px solid rgba(234, 122, 23, 0.18);
}

.invite-tier__lv {
  display: block;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #ea7a17;
  margin-bottom: 4px;
}

.invite-tier__txt {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: #64748b;
  line-height: 1.25;
}

/* Estado vazio */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: #94a3b8;
}

.empty-state__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 16px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
}

.empty-state__icon svg {
  width: 28px;
  height: 28px;
}

.empty-state p {
  margin: 0;
  font-size: 14px;
}

.empty-state--rest {
  padding: 22px 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #0b1227 100%);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: #e2e8f0;
}

.empty-state__icon--rest {
  width: 64px;
  height: 64px;
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  font-size: 28px;
}

.empty-state__title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #f8fafc;
}

.empty-state__subtitle {
  margin: 6px 0 0;
  font-size: 13px;
  color: rgba(226, 232, 240, 0.8);
}

.empty-state--lg {
  padding: 48px 20px 60px;
}

.empty-state__icon--lg {
  width: 96px;
  height: 96px;
  background: transparent;
  color: #cbd5e1;
}

.empty-state__icon--lg svg {
  width: 80px;
  height: 80px;
}

/* ============================================================
   Page header (← + título + Online)
   ============================================================ */
.page-header {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 14px 14px 16px;
  margin: 0 -14px 14px;
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
}

.page-header__back {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #0f1a33;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.2s;
}

.page-header__back:hover {
  background: #e2e8f0;
}

.page-header__back svg {
  width: 18px;
  height: 18px;
}

.page-header__title {
  margin: 0;
  text-align: center;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: #0f1a33;
}

.page-header__online {
  font-size: 12px;
  font-weight: 700;
  color: #16a34a;
  white-space: nowrap;
}

.page-header__spacer {
  width: 36px;
}

.page-header--dark {
  background: #0a0e14;
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.page-header--dark .page-header__title { color: #fff; }
.page-header--dark .page-header__back { background: rgba(255, 255, 255, 0.08); color: #fff; }
.page-header--dark .page-header__back:hover { background: rgba(255, 255, 255, 0.16); }

/* ============================================================
   Histórico Financeiro — tabs + tabela
   ============================================================ */
.finance-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 6px;
  margin-bottom: 14px;
  background: #f5f7fb;
  border-radius: 14px;
}

.finance-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: #94a3b8;
  background: transparent;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.finance-tab:hover {
  color: #475569;
  text-decoration: none;
}

.finance-tab svg {
  width: 16px;
  height: 16px;
}

.finance-tab--active {
  background: #fff;
  color: #ea7a17;
  box-shadow: 0 4px 12px rgba(15, 26, 51, 0.08);
}

.finance-table {
  background: #fff;
  border-radius: 14px;
  padding: 0 0 8px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.finance-table__head {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 8px;
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
  background: #f8fafc;
  border-bottom: 1px solid #f1f5f9;
}

.finance-table__head span:nth-child(2),
.finance-table__head span:nth-child(3) {
  text-align: center;
}

.finance-rows {
  list-style: none;
  margin: 0;
  padding: 0;
}

.finance-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 8px;
  padding: 14px 16px;
  align-items: center;
  border-bottom: 1px solid #f1f5f9;
  font-size: 13px;
}

.finance-row:last-child {
  border-bottom: 0;
}

.finance-row__id {
  color: #475569;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.finance-row__value {
  text-align: center;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-weight: 800;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.finance-row__value--deposito { color: #059669; }
.finance-row__value--saque    { color: #dc2626; }

.status-pill {
  justify-self: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: #f1f5f9;
  color: #475569;
}

.status-pill--success { background: #dcfce7; color: #166534; }
.status-pill--warning { background: #fef3c7; color: #92400e; }
.status-pill--danger  { background: #fee2e2; color: #991b1b; }

/* ============================================================
   Dashboard — hero + ações + grupo + tiles + níveis
   ============================================================ */
.dash {
  margin: -14px -14px 0;
  display: flex;
  flex-direction: column;
}

.dash-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px 10px;
}

.dash-header__logo {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 12px;
  border-radius: 12px;
  background: transparent;
  border: none;
  box-shadow: none;
}
.dash-header__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.dash-header__brand {
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dash-header__marquee {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.88));
  color: #0f1a33;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.dash-header__marquee > svg {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  color: #ea7a17;
}

.dash-header__marquee-track {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 600;
}

.dash-header__marquee-track span {
  display: inline-block;
  padding-right: 100%;
  animation: dash-marquee 22s linear infinite;
}

.dash-header__marquee-track span b {
  color: #ea7a17;
  font-weight: 800;
}

@keyframes dash-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.dash-header__profile {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #0f1a33;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: background 0.2s;
}

.dash-header__profile:hover {
  background: #fff;
}

.dash-header__profile svg {
  width: 18px;
  height: 18px;
}

/* —— Hero (banner) —— */
.dash-hero {
  position: relative;
  height: 240px;
  overflow: hidden;
  border-bottom-left-radius: 22px;
  border-bottom-right-radius: 22px;
  background:
    radial-gradient(ellipse 70% 50% at 50% 100%, #93c5fd 0%, transparent 60%),
    linear-gradient(180deg, #0c4a6e 0%, #0369a1 35%, #1d4ed8 65%, #1e3a8a 100%);
}
.dash-hero[style*="--hero-banner-image"] {
  background-image:
    linear-gradient(180deg, rgba(4, 15, 32, 0.2), rgba(4, 15, 32, 0.35)),
    var(--hero-banner-image);
  background-size: cover;
  background-position: center;
}

.dash-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.dash-hero__sun {
  position: absolute;
  top: 36px;
  right: 20%;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle, #fde68a, #f59e0b 60%, transparent 75%);
  filter: blur(2px);
  opacity: 0.7;
}

.dash-hero__cloud {
  position: absolute;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  filter: blur(12px);
}

.dash-hero__cloud--1 {
  top: 60px;
  left: 12%;
  width: 80px;
  height: 16px;
}

.dash-hero__cloud--2 {
  top: 90px;
  right: 8%;
  width: 110px;
  height: 18px;
  opacity: 0.7;
}

.dash-hero__wave {
  position: absolute;
  left: -10%;
  right: -10%;
  height: 30px;
  background:
    radial-gradient(circle 18px at 18px 0, transparent 18px, rgba(255, 255, 255, 0.18) 18px) 0 0/36px 30px;
}

.dash-hero__wave--1 {
  bottom: 28px;
  opacity: 0.5;
}

.dash-hero__wave--2 {
  bottom: 6px;
  opacity: 0.8;
  background-size: 28px 24px;
}

.dash-hero__ship {
  position: absolute;
  bottom: 18px;
  left: 50%;
  width: 80px;
  height: 80px;
  transform: translateX(-50%);
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.4));
  animation: dash-ship 4s ease-in-out infinite;
}

.dash-hero__ship svg { width: 100%; height: 100%; display: block; }

@keyframes dash-ship {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, -4px); }
}

.dash-hero__title {
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.dash-hero__sub {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
}

.dash-hero__brand {
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff, #fde68a 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* —— Ações principais —— */
.dash-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: -28px 14px 14px;
  position: relative;
  z-index: 2;
}

.dash-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 6px;
  border-radius: 12px;
  background: #0f172a;
  color: #fff;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.01em;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.25);
  transition: transform 0.15s, box-shadow 0.2s;
}

.dash-action:hover {
  transform: translateY(-2px);
  text-decoration: none;
  color: #fff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.35);
}

.dash-action svg {
  width: 18px;
  height: 18px;
}

.dash-action--accent {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  box-shadow: 0 6px 14px rgba(217, 119, 6, 0.35);
}

.dash-action--accent:hover {
  box-shadow: 0 10px 22px rgba(217, 119, 6, 0.45);
}

/* —— Grupo oficial —— */
.dash-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 14px 18px;
  padding: 14px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #6ee7b7 0%, #10b981 50%, #059669 100%);
  color: #fff;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.01em;
  box-shadow: 0 6px 14px rgba(16, 185, 129, 0.35);
  transition: transform 0.15s, box-shadow 0.2s;
}

.dash-group:hover {
  transform: translateY(-2px);
  text-decoration: none;
  color: #fff;
  box-shadow: 0 10px 22px rgba(16, 185, 129, 0.45);
}

.dash-group__chat {
  width: 18px;
  height: 18px;
}

/* —— Tiles —— */
.dash-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 0 14px;
  margin-bottom: 18px;
}

.dash-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 6px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: #0f1a33;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  transition: transform 0.15s, box-shadow 0.2s;
}

.dash-tile:hover {
  transform: translateY(-2px);
  text-decoration: none;
  color: #0f1a33;
  box-shadow: 0 10px 22px rgba(15, 26, 51, 0.1);
}

.dash-tile__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #eef2ff;
  color: #4f46e5;
}

.dash-tile__icon svg {
  width: 20px;
  height: 20px;
}

.dash-tile__icon--blue   { background: #eef3fe; color: #2563eb; }
.dash-tile__icon--cyan   { background: #ecfeff; color: #0891b2; }
.dash-tile__icon--pink   { background: #fdf2f8; color: #db2777; }
.dash-tile__icon--purple { background: #f3eefd; color: #7c3aed; }
.dash-tile__icon--green  { background: #ecfdf5; color: #059669; }
.dash-tile__icon--orange { background: #fff7ed; color: #ea7a17; }

.dash-tile--wide {
  grid-column: 1 / -1;
  flex-direction: row;
  justify-content: flex-start;
  padding: 12px 16px;
}

.dash-tile--wide span:nth-child(2) {
  flex: 1;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
}

.dash-tile__chev {
  color: #cbd5e1;
}

.dash-tile__chev svg {
  width: 16px;
  height: 16px;
}

/* —— Níveis —— */
.dash-levels {
  padding: 0 14px 8px;
}

.dash-levels__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.dash-levels__head h3 {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.dash-badge {
  padding: 5px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fbbf24, #ea7a17);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 10px rgba(234, 122, 23, 0.3);
}

.dash-level-current {
  padding: 14px 18px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #d97706, #ea7a17 50%, #b45309);
  color: #fff;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  margin-bottom: 10px;
  box-shadow: 0 6px 14px rgba(180, 83, 9, 0.3);
}

.dash-level-current__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.dash-level-current__txt {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.dash-level-current__pct {
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.dash-level-current__sub {
  margin-top: 2px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

.dash-level-current__sub strong {
  font-weight: 800;
  color: #fff;
}

.dash-level-current__bar {
  margin-top: 10px;
  height: 6px;
  background: rgba(0, 0, 0, 0.18);
  border-radius: 999px;
  overflow: hidden;
}

.dash-level-current__bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #fde68a, #fbbf24);
  border-radius: 999px;
  transition: width 0.4s ease;
  box-shadow: 0 0 12px rgba(253, 224, 71, 0.55);
}

.dash-progress-card {
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-card);
  margin-bottom: 12px;
}

.dash-progress-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #475569;
  margin-bottom: 8px;
}

.dash-progress-card__top strong {
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #0f1a33;
}

.dash-progress-bar {
  height: 6px;
  background: #f1f5f9;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 10px;
}

.dash-progress-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, #f59e0b, #ea7a17);
  border-radius: 999px;
  transition: width 0.4s ease;
}

.dash-progress-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #94a3b8;
}

.dash-progress-card__foot span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.dash-progress-card__foot svg {
  width: 14px;
  height: 14px;
}

.dash-levels__task-label {
  margin: 16px 0 10px;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #334155;
}

.dash-levels__task-empty {
  margin: 0 0 8px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f1f5f9;
  font-size: 13px;
  color: #64748b;
}

.dash-rest-card {
  margin: 0 0 8px;
  padding: 14px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #0b1227 100%);
  border: 1px solid rgba(148, 163, 184, 0.24);
}

.dash-rest-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.dash-rest-card__text strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #f8fafc;
}

.dash-rest-card__text small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: rgba(226, 232, 240, 0.78);
}

.dash-levels__task-cta {
  display: block;
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #f59e0b 0%, #ea7a17 55%, #d9560f 100%);
  box-shadow: 0 6px 14px rgba(217, 86, 15, 0.25);
}

.dash-levels__task-cta:hover {
  color: #fff;
  text-decoration: none;
  filter: brightness(1.05);
}

.dash-level-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dash-level {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #ffffff;
  color: #0f172a;
  position: relative;
  overflow: hidden;
  border: 1px solid #eef2f7;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.dash-level:hover {
  transform: translateY(-1px);
  border-color: #fde7c8;
  box-shadow: 0 10px 22px rgba(234, 122, 23, 0.10);
}

.dash-level::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #f59e0b, #ea7a17);
}

.dash-level::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234, 122, 23, 0.10), transparent 65%);
  pointer-events: none;
}

.dash-level--ok::before {
  background: linear-gradient(180deg, #34d399, #059669);
}

.dash-level--ok::after {
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12), transparent 65%);
}

.dash-level__icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fde7c8, #fcd9b1);
  color: #c2410c;
  font-size: 20px;
  box-shadow: inset 0 0 0 1px rgba(234, 122, 23, 0.18);
}

.dash-level__icon--video svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

.dash-level--ok .dash-level__icon {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  color: #047857;
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.25);
}

.dash-level__info {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.dash-level__info strong {
  display: block;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #0f172a;
}

.dash-level__info span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 3px;
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
}

.dash-level__info svg {
  width: 12px;
  height: 12px;
}

.dash-level__reward {
  position: relative;
  z-index: 1;
  text-align: right;
  flex-shrink: 0;
}

.dash-level__reward span {
  display: block;
  font-size: 10px;
  color: #94a3b8;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dash-level__reward strong {
  display: inline-block;
  margin-top: 4px;
  padding: 5px 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff7ed, #ffe5cc);
  color: #c2410c;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.01em;
  border: 1px solid #fcd9b1;
  box-shadow: 0 4px 10px rgba(234, 122, 23, 0.12);
}

.dash-level--ok .dash-level__reward strong {
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  color: #047857;
  border-color: #a7f3d0;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.12);
}

/* ============================================================
   Depósito — banner saldo + presets + métodos
   ============================================================ */
.balance-banner {
  position: relative;
  margin: 0 0 14px;
  padding: 22px 18px;
  border-radius: 18px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #f59e0b 0%, #ea7a17 45%, #d9560f 100%);
  box-shadow: 0 12px 24px rgba(217, 86, 15, 0.18);
  text-align: center;
}

.balance-banner__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.balance-banner__blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.balance-banner__blob--1 {
  top: -50px;
  right: -35px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
}

.balance-banner__blob--2 {
  bottom: -55px;
  left: -40px;
  width: 170px;
  height: 170px;
  background: radial-gradient(circle, rgba(255, 220, 180, 0.25), rgba(255, 255, 255, 0));
}

.balance-banner__inner {
  position: relative;
  z-index: 1;
}

.balance-banner__label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 6px;
}

.balance-banner__value {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.balance-banner__cur {
  font-size: 18px;
  opacity: 0.85;
}

.balance-banner__amount {
  font-size: 38px;
  font-variant-numeric: tabular-nums;
}

/* —— Cards do depósito —— */
.dep-card {
  padding: 16px;
}

.dep-card__title {
  margin: 0 0 12px;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: #0f1a33;
}

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

.dep-preset {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  padding: 14px 8px;
  border: 1.5px solid #e3e8f1;
  background: #fff;
  border-radius: 12px;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  cursor: pointer;
  transition: all 0.2s;
  color: #0f1a33;
}

.dep-preset span {
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
}

.dep-preset strong {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.dep-preset:hover {
  border-color: #f59e0b;
  background: #fffaf3;
}

.dep-preset--active {
  border-color: #ea7a17;
  background: #fff7ed;
  box-shadow: 0 4px 12px rgba(234, 122, 23, 0.18);
}

.dep-preset--active span {
  color: #ea7a17;
}

.dep-preset--active strong {
  color: #c2410c;
}

.dep-custom {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  background: #f5f7fb;
  border-radius: 12px;
  border: 1.5px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}

.dep-custom:focus-within {
  border-color: #ea7a17;
  background: #fff7ed;
}

.dep-custom__cur {
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #94a3b8;
}

.dep-custom__input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 14px 0;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #0f1a33;
  outline: none;
  -moz-appearance: textfield;
}

.dep-custom__input::-webkit-outer-spin-button,
.dep-custom__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.dep-custom__input::placeholder {
  font-weight: 500;
  color: #94a3b8;
}

/* Métodos de pagamento */
.dep-methods {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dep-method {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1.5px solid #e3e8f1;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.dep-method:hover {
  border-color: #cbd5e1;
}

.dep-method--active {
  border-color: #ea7a17;
  background: #fff7ed;
  box-shadow: 0 4px 12px rgba(234, 122, 23, 0.15);
}

.dep-method__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.dep-method__info strong {
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #0f1a33;
}

.dep-method__info span {
  font-size: 12px;
  color: #94a3b8;
}

.dep-method__radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.dep-method__check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s;
}

.dep-method__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: transparent;
  transition: background 0.2s, transform 0.15s;
}

.dep-method--active .dep-method__check {
  border-color: #ea7a17;
}

.dep-method--active .dep-method__dot {
  background: #ea7a17;
  transform: scale(1.05);
}

/* Botão de envio */
.dep-submit {
  width: 100%;
  margin-top: 6px;
  padding: 16px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #f59e0b 0%, #ea7a17 50%, #d9560f 100%);
  color: #fff;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 8px 18px rgba(234, 122, 23, 0.35);
  transition: transform 0.15s, box-shadow 0.2s, opacity 0.2s;
}

.dep-submit__amt {
  font-weight: 700;
  opacity: 0.92;
}

.dep-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(234, 122, 23, 0.45);
}

.dep-submit:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  box-shadow: none;
}

.dep-submit.shake {
  animation: dep-shake 0.4s;
}

@keyframes dep-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

/* —— Saque (extras) —— */
.dep-preset--off {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.dep-custom__max {
  flex-shrink: 0;
  border: 0;
  padding: 6px 12px;
  margin-right: -4px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f59e0b, #ea7a17);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: filter 0.2s, transform 0.15s;
}

.dep-custom__max:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.dep-custom__cur--icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
}

.dep-custom__cur--icon svg {
  width: 18px;
  height: 18px;
}

.dep-custom--simple {
  padding: 0 14px;
}

.sq-hint {
  margin: 12px 0 0;
  padding: 10px 14px;
  background: #fff7ed;
  border-radius: 10px;
  color: #9a3412;
  font-size: 12px;
  line-height: 1.4;
}

.sq-hint strong {
  font-weight: 800;
}

/* ============================================================
   Histórico de Transações — tabs roláveis + linhas
   ============================================================ */
.history-tabs {
  display: flex;
  gap: 4px;
  padding: 6px;
  margin-bottom: 14px;
  background: #f5f7fb;
  border-radius: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.history-tab {
  flex: 0 0 auto;
  scroll-snap-align: start;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  color: #94a3b8;
  background: transparent;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.history-tab:hover {
  color: #475569;
  text-decoration: none;
}

.history-tab--active {
  background: linear-gradient(135deg, #f59e0b 0%, #ea7a17 100%);
  color: #fff;
  box-shadow: 0 4px 10px rgba(234, 122, 23, 0.3);
}

.history-tab--active:hover {
  color: #fff;
}

.history-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.history-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-card);
}

.history-row__left {
  min-width: 0;
}

.history-row__title {
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #0f1a33;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.history-row__sub {
  margin-top: 2px;
  font-size: 12px;
  color: #94a3b8;
  font-variant-numeric: tabular-nums;
}

.history-row__right {
  text-align: right;
  flex-shrink: 0;
}

.history-row__value {
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #16a34a;
  font-variant-numeric: tabular-nums;
}

.history-row__time {
  margin-top: 2px;
  font-size: 11px;
  color: #94a3b8;
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   Roleta — Roda da Sorte
   ============================================================ */
.wheel-section {
  margin: -14px -14px 0;
  padding: 18px 16px 24px;
  background: linear-gradient(180deg, #0b0f1a 0%, #050810 100%);
  color: #fff;
  border-radius: 18px 18px 0 0;
  min-height: calc(100vh - 200px);
}

.wheel-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.wheel-section__head h2 {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.wheel-section__rewards {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.wheel-section__rewards:hover {
  background: rgba(255, 255, 255, 0.1);
}

.wheel-section__rewards svg {
  width: 14px;
  height: 14px;
}

.wheel-section__attempts {
  display: inline-flex;
  align-items: center;
  margin: 12px auto 18px;
  padding: 7px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
}

.wheel-section__attempts strong {
  color: #f59e0b;
  margin-left: 4px;
}

.wheel-stage {
  position: relative;
  width: min(320px, 88vw);
  aspect-ratio: 1;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wheel-pointer {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 18px solid #f59e0b;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.4));
  z-index: 2;
}

.wheel {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  padding: 6px;
  background: radial-gradient(circle at 30% 30%, #4b5563, #111827);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.5),
    inset 0 0 0 4px rgba(255, 255, 255, 0.06);
}

.wheel__face {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.wheel__label {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  margin: -10px 0 0 -30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #fff;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

.wheel__coin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fde68a, #f59e0b 60%, #b45309);
  color: #7c2d12;
  font-size: 9px;
  font-weight: 800;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.wheel__center-form {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  z-index: 1;
}

.wheel__center {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.15);
  background: radial-gradient(circle at 30% 30%, #4b5563, #111827);
  color: #fff;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: transform 0.15s, box-shadow 0.2s;
}

.wheel__center:hover:not(:disabled) {
  transform: translate(0, -2px);
}

.wheel__center:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.wheel-banner {
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(234, 122, 23, 0.15), rgba(0, 0, 0, 0.2));
  border: 1px solid rgba(234, 122, 23, 0.3);
}

.wheel-banner__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #ea7a17;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wheel-banner__icon svg {
  width: 22px;
  height: 22px;
}

.wheel-banner h4 {
  margin: 0 0 4px;
  color: #f59e0b;
  font-size: 14px;
  font-weight: 800;
}

.wheel-banner p {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.wheel-history {
  margin-top: 18px;
}

.wheel-history h4 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}

.wheel-history__empty {
  margin: 0;
  padding: 18px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
}

.wheel-history ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wheel-history li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  margin-bottom: 6px;
  font-size: 13px;
}

.wheel-history li strong {
  color: #f59e0b;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
}

.wheel-history li small {
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
}
