/* ============================================================
   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);
  --body-bg: #ffffff;
  --topbar-bg: rgba(255, 255, 255, 0.92);
  --bottom-nav-bg: #ffffff;
  --bottom-nav-shadow: 0 -4px 20px rgba(15, 26, 51, 0.08);
  --msg-bg: #fff7df;
  --msg-border: #f7d179;
  --msg-text: #9a5b00;
  --nav-inactive: #94a3b8;
  --nav-active: #ea580c;
  --input-bg: #ffffff;
  --input-border: #e3e8f1;
  --line-border: #edf2f7;
  --input-focus-ring: rgba(37, 99, 235, 0.18);
  --bg-well: #f5f7fb;
  --bg-table-head: #f8fafc;
  --header-bg: #ffffff;
  --header-border: #f1f5f9;
  --progress-track: #f1f5f9;
  --task-tab-hover-bg: #f7f8fc;
  --config-row-hover: #f7f8fc;
  --chip-bg: #f1f5f9;
  --invite-tier-bg: #fff7ed;
  --invite-tier-border: rgba(234, 122, 23, 0.18);
}

*,
*::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: var(--body-bg);
  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: var(--topbar-bg);
  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: var(--msg-bg);
  border: 1px solid var(--msg-border);
  color: var(--msg-text);
  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: var(--input-bg);
  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 var(--input-focus-ring);
}

.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 var(--line-border);
  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: var(--bottom-nav-bg);
  border-top: 1px solid var(--border);
  box-shadow: var(--bottom-nav-shadow);
}

.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: var(--nav-inactive);
  -webkit-tap-highlight-color: transparent;
  border-radius: 12px;
  transition: color 0.2s, background 0.2s;
}

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

.bottom-nav__item--active {
  color: var(--nav-active);
}

.bottom-nav__item--active .bottom-nav__icon {
  color: var(--nav-active);
}

.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: var(--text-soft);
  margin-bottom: 4px;
}

.balance-col__value {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-strong);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  letter-spacing: -0.01em;
}

.balance-col__value--date {
  font-size: 16px;
  color: var(--orange);
}

.balance-refresh {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  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: var(--primary);
  transform: rotate(180deg);
}

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

.balance-divider {
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, transparent, var(--border), 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: var(--bg-well);
  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; }

.login-forgot {
  margin: 0 0 14px;
  text-align: center;
  font-size: 14px;
}

.login-forgot a {
  color: #ea7a17;
  font-weight: 700;
  text-decoration: none;
}

.login-forgot a:hover {
  text-decoration: underline;
}

.forgot-cancel-form {
  margin: 10px 0 0;
  text-align: center;
}

.link-btn {
  border: none;
  background: none;
  padding: 0;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}

#conta-config {
  scroll-margin-top: 72px;
}

.account-settings-card {
  padding: 16px;
}

.account-settings-card__head h3 {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 800;
  color: var(--text-strong);
}

.account-settings-card__head p {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--text-muted);
}

.account-settings-card__block + .account-settings-card__block--sep {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line-border);
}

.account-settings-card__label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-soft);
}

.account-settings-card__email {
  margin: 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--bg-soft);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-strong);
  word-break: break-all;
}

.account-settings-card__hint {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-muted);
}

.account-settings-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.account-settings-form__field input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line-border);
  background: var(--input-bg);
  color: var(--text-strong);
  font-size: 15px;
}

.account-settings-form__btn {
  align-self: flex-start;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid var(--line-border);
  background: var(--bg-soft);
  color: var(--text-strong);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.account-settings-form__btn--primary {
  border: none;
  background: linear-gradient(135deg, #f59e0b, #ea7a17);
  color: #fff;
  box-shadow: 0 4px 12px rgba(234, 122, 23, 0.28);
}

/* —— 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: var(--text-strong);
  border-radius: 12px;
  transition: background 0.2s;
}

.config-row + .config-row {
  border-top: 1px solid var(--line-border);
}

.config-row:hover {
  background: var(--config-row-hover);
  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: var(--text-muted);
  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: var(--bg-card);
  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: var(--text-muted);
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.2s, color 0.2s;
}

.task-tab:hover {
  text-decoration: none;
  color: var(--text-soft);
  background: var(--task-tab-hover-bg);
}

.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: var(--bg-card);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
}

.task-card__plan-strip {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px;
  margin: -2px -2px 6px;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--line-border);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-soft);
}

.task-card__plan-strip-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.task-card__plan-strip-name {
  color: var(--text-strong);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  word-break: break-word;
  min-width: 0;
  flex: 1 1 120px;
}

.task-card__plan-strip-cap {
  font-variant-numeric: tabular-nums;
  color: var(--text-strong);
  font-size: 11px;
  white-space: nowrap;
  flex-shrink: 0;
}

.task-card__plan-strip-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.35);
  overflow: hidden;
}

.task-card__plan-strip-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #34d399, #10b981);
  min-width: 0;
  transition: width 0.35s ease;
}

.task-card__btn--locked {
  background: var(--bg-soft) !important;
  color: var(--text-muted) !important;
  box-shadow: none !important;
  cursor: not-allowed;
}

.planos-user-card {
  margin: 0 14px 14px;
  padding: 16px;
}

.planos-user-card__title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
  color: var(--text-strong);
}

.planos-user-card__hint {
  margin: 0 0 14px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-muted);
}

.planos-user-card__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

.planos-user-card__label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-soft);
  letter-spacing: 0.02em;
}

.planos-user-card__choices {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 520px) {
  .planos-user-card__choices {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}

.planos-user-card__choice {
  display: block;
  cursor: pointer;
  margin: 0;
}

.planos-user-card__choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}

.planos-user-card__choice-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 2px solid var(--line-border);
  background: var(--input-bg);
  color: var(--text-strong);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  min-height: 88px;
  box-sizing: border-box;
}

.planos-user-card__choice:hover .planos-user-card__choice-body {
  border-color: rgba(234, 122, 23, 0.45);
  background: var(--bg-soft);
}

.planos-user-card__choice input:checked + .planos-user-card__choice-body {
  border-color: #ea7a17;
  box-shadow: 0 0 0 1px rgba(234, 122, 23, 0.2), 0 6px 18px rgba(234, 122, 23, 0.12);
  background: linear-gradient(160deg, rgba(251, 191, 36, 0.08), var(--input-bg));
}

.planos-user-card__choice input:focus-visible + .planos-user-card__choice-body {
  outline: 2px solid #ea7a17;
  outline-offset: 2px;
}

.planos-user-card__choice-name {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  word-break: break-word;
}

.planos-user-card__choice-meta {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-soft);
  line-height: 1.4;
}

.planos-user-card__choice-hint {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.35;
}

.planos-user-card__actions {
  margin-top: 2px;
}

.planos-user-card__btn {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #f59e0b, #ea7a17);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(234, 122, 23, 0.28);
}

.planos-user-card__btn--ghost {
  background: var(--bg-soft);
  color: var(--text-strong);
  border: 1px solid var(--line-border);
  box-shadow: none;
  font-weight: 600;
  font-size: 13px;
  padding: 10px 14px;
}

.planos-user-card__btn--undo {
  margin-top: 4px;
}

.planos-user-card__undo {
  margin: 0;
}

@media (min-width: 520px) {
  .planos-user-card__actions .planos-user-card__btn {
    width: auto;
    min-width: 200px;
    align-self: flex-start;
  }
}

.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: var(--text-strong);
  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: var(--chip-bg);
  color: var(--text-soft);
}

.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: var(--bg-card);
  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: var(--text-muted);
}

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

.team-tier-card__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  margin: -6px -10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  color: inherit;
  font: inherit;
  transition: background 0.15s ease;
}

.team-tier-card__toggle:hover {
  background: var(--bg-soft);
}

.team-tier-card__chevron {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.team-tier-card--open .team-tier-card__chevron {
  transform: rotate(180deg);
}

.team-tier-members {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-border);
}

.team-tier-members__title {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.team-tier-members__empty {
  margin: 0;
  font-size: 13px;
  color: var(--text-soft);
}

.team-tier-members__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 280px;
  overflow-y: auto;
}

.team-tier-member {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--line-border);
}

.team-tier-member__avatar {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #f59e0b 0%, var(--brand-accent, #ea7a17) 100%);
}

.team-tier-member__info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.team-tier-member__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-strong);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-tier-member__meta {
  font-size: 11px;
  color: var(--text-muted);
}

.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: var(--text-strong);
  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: var(--text-muted);
  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: var(--text-soft);
  font-size: 13px;
}

.invite-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  margin-bottom: 8px;
  background: var(--bg-well);
  border-radius: 12px;
}

.invite-row__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  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: var(--text-strong);
  letter-spacing: 0.01em;
  word-break: break-all;
}

.invite-row__value--link {
  font-size: 12px;
  font-weight: 500;
  color: var(--primary);
}

.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: var(--invite-tier-bg);
  border: 1px solid var(--invite-tier-border);
}

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

.invite-tier__txt {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-soft);
  line-height: 1.25;
}

/* Estado vazio */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
}

.empty-state__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 16px;
  background: var(--chip-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.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: var(--text-muted);
}

.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: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
}

.page-header__back {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--text-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.2s;
}

.page-header__back:hover {
  background: var(--bg-well);
}

.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: var(--text-strong);
}

.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: var(--bg-well);
  border-radius: 14px;
}

.finance-tabs--3 {
  grid-template-columns: 1fr 1fr;
}

.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: var(--text-muted);
  background: transparent;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.finance-tab:hover {
  color: var(--text-soft);
  text-decoration: none;
}

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

.finance-tab--active {
  background: var(--bg-card);
  color: var(--orange);
  box-shadow: 0 4px 12px rgba(15, 26, 51, 0.08);
}

/* Financeiro — relatório de equipe */
.fin-team-summary {
  margin: 0 14px 14px;
  padding: 14px;
  border-radius: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.fin-team-summary__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  text-align: center;
}

.fin-team-summary__item strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-strong);
}

.fin-team-summary__item span {
  display: block;
  margin-top: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.fin-team-summary__hint {
  margin: 12px 0 0;
  font-size: 0.8rem;
  color: var(--text-soft);
  text-align: center;
}

.fin-tier-block {
  margin: 0 14px 12px;
  padding: 12px 0 4px;
}

.fin-tier-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 14px 10px;
  flex-wrap: wrap;
}

.fin-tier-block__meta {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

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

.fin-team-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  text-decoration: none;
  color: inherit;
  border-top: 1px solid var(--line-border);
  transition: background 0.15s;
}

.fin-team-row:hover {
  background: var(--bg-well);
  text-decoration: none;
}

.fin-team-row__avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  background: linear-gradient(135deg, rgba(234, 122, 23, 0.2), rgba(251, 191, 36, 0.15));
  color: var(--brand-accent, #ea7a17);
}

.fin-team-row__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fin-team-row__name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-strong);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fin-team-row__sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.fin-team-row__amount {
  text-align: right;
  flex-shrink: 0;
}

.fin-team-row__amount strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--brand-accent, #ea7a17);
}

.fin-team-row__amount small {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
}

.fin-team-row__chev {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--text-muted);
}

.fin-member-hero {
  margin: 0 14px 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
}

.fin-member-hero__avatar {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand-accent, #ea7a17), #fbbf24);
  color: #fff;
}

.fin-member-hero__name {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-strong);
}

.fin-member-hero__meta {
  margin: 4px 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.fin-member-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 14px 12px;
}

.fin-member-stat {
  padding: 14px;
  border-radius: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  text-align: center;
  box-shadow: var(--shadow-card);
}

.fin-member-stat strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--brand-accent, #ea7a17);
}

.fin-member-stat span {
  display: block;
  margin-top: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.fin-bonus-card {
  margin: 0 14px 20px;
  padding: 0;
  overflow: hidden;
}

.fin-bonus-card__title {
  margin: 0;
  padding: 14px 16px 10px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-strong);
}

.fin-bonus-card__empty {
  margin: 0;
  padding: 8px 16px 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.fin-bonus-list {
  margin: 0;
}

.fin-extrato-links {
  list-style: none;
  margin: 0 14px 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fin-extrato-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-card);
  transition: background 0.15s;
}

.fin-extrato-link:hover {
  background: var(--bg-well);
  text-decoration: none;
}

.fin-extrato-link__label {
  flex: 1;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-strong);
}

.fin-extrato-link__value {
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--brand-accent, #ea7a17);
}

.fin-extrato-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--text-muted);
}

.dash-finance--page {
  margin: 0 14px 14px;
  padding: 0;
}

.dash-finance__main--compact {
  padding: 14px 16px;
}

.dash-finance__main--compact .dash-finance__balance {
  margin: 0;
  font-size: 1.6rem;
}

.dash-finance__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.dash-finance__cta--secondary {
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.fin-wallet {
  margin-bottom: 12px;
}

.fin-wallet__alert {
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #fef3c7;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(251, 191, 36, 0.35);
}

.fin-wallet__cta--disabled {
  opacity: 0.55;
  pointer-events: none;
}

.team-summary__fin-link {
  margin: 12px 16px 0;
  text-align: center;
  font-size: 0.82rem;
}

.team-summary__fin-link a {
  font-weight: 700;
  color: var(--brand-accent, #ea7a17);
  text-decoration: none;
}

.team-summary__fin-link a:hover {
  text-decoration: underline;
}

.team-tier-member__link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}

.team-tier-member__link:hover {
  background: var(--bg-well);
  text-decoration: none;
}

.team-tier-member__chev {
  width: 16px;
  height: 16px;
  margin-left: auto;
  flex-shrink: 0;
  color: var(--text-muted);
}

.finance-table {
  background: var(--bg-card);
  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: var(--text-muted);
  background: var(--bg-table-head);
  border-bottom: 1px solid var(--header-border);
}

.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 var(--line-border);
  font-size: 13px;
}

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

.finance-row__id {
  color: var(--text-soft);
  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; }
.finance-row--ajuste { align-items: start; }
.finance-row--ajuste .finance-row__id { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.finance-row__tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  background: #e0f2fe;
  color: #0369a1;
}
.finance-row__note { font-size: 12px; font-weight: 500; color: var(--muted, #64748b); line-height: 1.4; margin: 0; }
.finance-row__note--full {
  grid-column: 1 / -1;
  padding: 10px 12px;
  background: #f8fafc;
  border-radius: 10px;
  border-left: 3px solid #0ea5e9;
  color: #334155;
}
.finance-row__note--full strong { color: #0f172a; font-weight: 700; }
.history-row__value--debit { 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__spacer {
  flex: 1;
  min-width: 0;
}

.dash-header__trailing {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.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;
}

/* Grupo + faixa de avisos + Depositar/Sacar (sobre o hero) */
.dash-mid {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: -28px;
  padding: 0 14px 18px;
}

.dash-mid .dash-groups {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dash-mid .dash-group {
  margin: 0;
}

.dash-mid .dash-header__marquee {
  flex: 0 0 auto;
  width: 100%;
  box-sizing: border-box;
}

/* —— 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-mid .dash-actions {
  margin: 0;
}

.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);
}

/* —— Grupos WhatsApp / Telegram —— */
.dash-groups {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 14px 18px;
}

.dash-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 14px 20px;
  border-radius: 999px;
  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;
  transition: transform 0.15s, box-shadow 0.2s;
}

.dash-group--whatsapp {
  background: linear-gradient(135deg, #6ee7b7 0%, #10b981 50%, #059669 100%);
  box-shadow: 0 6px 14px rgba(16, 185, 129, 0.35);
}

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

.dash-group--telegram {
  background: linear-gradient(135deg, #5eb3f6 0%, #229ed9 50%, #1d8ccc 100%) !important;
  box-shadow: 0 6px 14px rgba(34, 158, 217, 0.35) !important;
  color: #fff !important;
}

.dash-group--telegram:hover {
  transform: translateY(-2px);
  text-decoration: none;
  color: #fff !important;
  background: linear-gradient(135deg, #5eb3f6 0%, #229ed9 50%, #1d8ccc 100%) !important;
  box-shadow: 0 10px 22px rgba(34, 158, 217, 0.45) !important;
}

.dash-group__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: currentColor;
  background: none;
}

/* —— Menu expansível (dashboard) —— */
.dash-more-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: calc(100% - 28px);
  margin: 0 14px 14px;
  padding: 12px 16px;
  border: 1px dashed var(--line-border);
  border-radius: 12px;
  background: var(--bg-card);
  color: var(--text-soft);
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.dash-more-toggle:hover {
  border-color: rgba(234, 122, 23, 0.45);
  color: var(--text-strong);
}

.dash-more-toggle--open {
  border-style: solid;
  border-color: rgba(234, 122, 23, 0.35);
  color: var(--text-strong);
}

.dash-more-toggle__chev {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}

.dash-more-toggle--open .dash-more-toggle__chev {
  transform: rotate(180deg);
}

.dash-more[hidden] {
  display: none !important;
}

.dash-more:not([hidden]) {
  animation: dash-more-in 0.28s ease;
}

@keyframes dash-more-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Resumo financeiro (dashboard) */
.dash-finance {
  padding: 0 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.dash-finance-chip {
  display: flex;
  align-items: stretch;
  background: var(--bg-card);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  overflow: hidden;
  min-height: 72px;
}

.dash-finance-chip__accent {
  width: 4px;
  flex-shrink: 0;
  background: linear-gradient(180deg, #fbbf24, var(--brand-accent, #ea7a17));
}

.dash-finance-chip__accent--alt {
  background: linear-gradient(180deg, #fb923c, #c2410c);
}

.dash-finance-chip__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 10px;
  text-align: center;
}

.dash-finance-chip__value {
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-strong);
  line-height: 1.2;
}

.dash-finance-chip__label {
  margin-top: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.dash-finance__main {
  border-radius: 18px;
  padding: 16px 16px 14px;
  color: #fff;
  background: linear-gradient(135deg, #1a1520 0%, #3d2a14 38%, var(--brand-accent, #ea7a17) 100%);
  box-shadow: 0 12px 28px rgba(234, 122, 23, 0.28);
  border: 1px solid rgba(251, 191, 36, 0.22);
}

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

.dash-finance__brand {
  display: flex;
  gap: 4px;
}

.dash-finance__brand span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.dash-finance__brand span:last-child {
  margin-left: -10px;
  background: rgba(251, 191, 36, 0.55);
}

.dash-finance__head-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.92;
}

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

.dash-finance__balance-wrap {
  text-align: center;
  margin: 8px 0 14px;
}

.dash-finance__balance {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.dash-finance__balance-hint {
  margin: 6px 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
}

.dash-finance__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.dash-finance__split-item {
  text-align: center;
  padding: 10px 8px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dash-finance__split-item strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.dash-finance__pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dash-finance__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff !important;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.dash-finance__cta:hover {
  background: rgba(15, 23, 42, 0.75);
  transform: translateY(-1px);
  color: #fff !important;
  text-decoration: none;
}

.dash-finance__cta svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

html[data-theme="dark"] .dash-finance-chip {
  border-color: var(--border);
}

html[data-theme="dark"] .dash-finance__main {
  background: linear-gradient(135deg, #0c0e12 0%, #2a2010 42%, #b45309 100%);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.dash-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 6px;
  border-radius: 14px;
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: var(--text-strong);
  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: var(--text-strong);
  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__icon--slate  { background: #f1f5f9; color: #64748b; }

button.dash-tile {
  width: 100%;
  border: none;
  font: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.dash-tile--noop {
  cursor: default;
}

.dash-tile--noop:hover {
  transform: none;
  box-shadow: var(--shadow-card);
}

.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: var(--text-muted);
}

.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: var(--bg-card);
  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: var(--text-soft);
  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: var(--text-strong);
}

.dash-progress-bar {
  height: 6px;
  background: var(--progress-track);
  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: var(--text-muted);
}

.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: var(--text-soft);
}

.dash-levels__task-empty {
  margin: 0 0 8px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--bg-well);
  font-size: 13px;
  color: var(--text-soft);
}

.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: var(--bg-card);
  color: var(--text-strong);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.dash-level:hover {
  transform: translateY(-1px);
  border-color: rgba(251, 191, 36, 0.28);
  box-shadow: 0 10px 22px rgba(234, 122, 23, 0.12);
}

.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: var(--text-strong);
}

.dash-level__info span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 3px;
  font-size: 11px;
  color: var(--text-soft);
  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: var(--text-muted);
  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: var(--msg-bg);
  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 var(--msg-border);
  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: var(--text-strong);
}

.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 var(--border);
  background: var(--input-bg);
  border-radius: 12px;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-strong);
}

.dep-preset span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.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: var(--msg-bg);
}

.dep-preset--active {
  border-color: var(--orange);
  background: var(--msg-bg);
  box-shadow: 0 4px 12px rgba(234, 122, 23, 0.18);
}

.dep-preset--active span {
  color: var(--orange);
}

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

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

.dep-custom:focus-within {
  border-color: var(--orange);
  background: var(--msg-bg);
}

.dep-custom__cur {
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--text-muted);
}

.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: var(--text-strong);
  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: var(--text-muted);
}

/* 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 var(--border);
  background: var(--bg-card);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.dep-method:hover {
  border-color: var(--text-muted);
}

.dep-method--active {
  border-color: var(--orange);
  background: var(--msg-bg);
  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: var(--text-strong);
}

.dep-method__info span {
  font-size: 12px;
  color: var(--text-muted);
}

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

.dep-method__check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--border);
  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;
}

.sq-hint--blocked {
  margin-bottom: 12px;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid rgba(245, 158, 11, 0.45);
}

.sq-fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.sq-fieldset:disabled {
  opacity: 0.65;
  pointer-events: none;
}

.sq-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sq-pix-card__hint {
  margin: 0 0 12px;
  font-size: 0.82rem;
  color: var(--text-soft);
  line-height: 1.45;
}

.sq-pix-field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  min-height: 52px;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  background: var(--input-bg);
  cursor: text;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sq-pix-field:focus-within {
  border-color: var(--brand-accent, #ea7a17);
  box-shadow: 0 0 0 3px var(--input-focus-ring);
}

.sq-pix-field__icon {
  flex-shrink: 0;
  color: var(--brand-accent, #ea7a17);
  display: inline-flex;
}

.sq-pix-field__icon svg {
  width: 22px;
  height: 22px;
}

.sq-pix-field__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: 600;
  color: var(--text-strong);
  outline: none;
  min-width: 0;
}

.sq-pix-field__input::placeholder {
  color: var(--text-muted);
  font-weight: 500;
}

html[data-theme="dark"] .sq-pix-field {
  background: var(--input-bg);
  border-color: var(--border);
}

html[data-theme="dark"] .sq-pix-field__input {
  color: var(--text-strong);
}

/* ============================================================
   Histórico de Transações — tabs roláveis + linhas
   ============================================================ */
.history-tabs {
  display: flex;
  gap: 4px;
  padding: 6px;
  margin-bottom: 14px;
  background: var(--bg-well);
  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: var(--text-muted);
  background: transparent;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.history-tab:hover {
  color: var(--text-soft);
  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: var(--bg-card);
  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: var(--text-strong);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.history-row__sub {
  margin-top: 2px;
  font-size: 12px;
  color: var(--text-muted);
  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: var(--green);
  font-variant-numeric: tabular-nums;
}

.history-row__time {
  margin-top: 2px;
  font-size: 11px;
  color: var(--text-muted);
  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;
}

/* ========== Tema: botão discreto no canto (fixo + ícone minúsculo) ========== */
.header-theme-toggle {
  position: fixed;
  z-index: 9999;
  top: calc(10px + env(safe-area-inset-top, 0px));
  /* alinha ao canto direito da “moldura” 420px centrada no ecrã */
  right: max(10px, calc((100vw - min(100vw, var(--shell-width))) / 2 + 8px));
  width: 30px;
  height: 30px;
  max-width: 30px;
  max-height: 30px;
  padding: 0;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.94);
  color: #64748b;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.14);
  transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.header-theme-toggle--inline {
  position: relative;
  top: auto;
  right: auto;
  z-index: 6;
  flex-shrink: 0;
}

.header-theme-toggle:hover {
  background: #ffffff;
  color: #334155;
  transform: scale(1.04);
}

.header-theme-toggle:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.header-theme-toggle__icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 15px !important;
  height: 15px !important;
  max-width: 15px !important;
  max-height: 15px !important;
  flex-shrink: 0;
  display: block;
  pointer-events: none;
}

.header-theme-toggle .header-theme-toggle__sun {
  display: none;
}

html[data-theme="dark"] .header-theme-toggle {
  background: rgba(22, 26, 34, 0.92);
  color: #fbbf24;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(251, 191, 36, 0.22);
}

html[data-theme="dark"] .header-theme-toggle:hover {
  background: #1e293b;
  color: #fde68a;
}

html[data-theme="dark"] .header-theme-toggle .header-theme-toggle__moon {
  display: none;
}

html[data-theme="dark"] .header-theme-toggle .header-theme-toggle__sun {
  display: block;
}

/* ========== Modo escuro (fundo escuro + detalhes dourados) ========== */
html[data-theme="dark"] {
  --body-bg: #050506;
  --bg-shell: #0b0d11;
  --bg-card: #141920;
  --bg-soft: #1a202c;
  --text-strong: #f5f1eb;
  --text-soft: #b4aea4;
  --text-muted: #7c7469;
  --primary: #e8b318;
  --primary-strong: #c79412;
  --orange: #f0a814;
  --green: #3ecf8e;
  --danger: #f87171;
  --border: rgba(224, 179, 54, 0.16);
  --shadow-card: 0 12px 36px rgba(0, 0, 0, 0.55);
  --topbar-bg: rgba(11, 13, 17, 0.94);
  --bottom-nav-bg: #090b0f;
  --bottom-nav-shadow: 0 -10px 40px rgba(0, 0, 0, 0.65);
  --msg-bg: #1f1c16;
  --msg-border: rgba(224, 179, 54, 0.28);
  --msg-text: #fde68a;
  --nav-inactive: #7a7268;
  --nav-active: #fbbf24;
  --input-bg: #10141c;
  --line-border: rgba(255, 255, 255, 0.06);
  --input-focus-ring: rgba(232, 179, 24, 0.25);
  --brand-accent: #e8b318;
  --bg-well: #151a22;
  --bg-table-head: #1a222c;
  --header-bg: #0c0e12;
  --header-border: rgba(224, 179, 54, 0.12);
  --progress-track: #2a303c;
  --task-tab-hover-bg: rgba(255, 255, 255, 0.06);
  --config-row-hover: rgba(255, 255, 255, 0.05);
  --chip-bg: #252a36;
  --invite-tier-bg: rgba(40, 36, 24, 0.75);
  --invite-tier-border: rgba(251, 191, 36, 0.22);
}

@media (min-width: 768px) {
  html[data-theme="dark"] .shell {
    box-shadow:
      0 24px 56px rgba(0, 0, 0, 0.55),
      0 8px 20px rgba(0, 0, 0, 0.4),
      inset 0 0 0 1px rgba(224, 179, 54, 0.1);
  }
}

html[data-theme="dark"] .bottom-nav__item:hover {
  background: rgba(224, 179, 54, 0.07);
}

html[data-theme="dark"] .bottom-nav__item--active .bottom-nav__icon {
  filter: drop-shadow(0 4px 12px rgba(251, 191, 36, 0.35));
}

html[data-theme="dark"] .shell.login-shell {
  background:
    radial-gradient(110% 70% at 85% 5%, rgba(224, 179, 54, 0.16), transparent 45%),
    radial-gradient(70% 50% at 0% 95%, rgba(120, 90, 30, 0.12), transparent 48%),
    linear-gradient(180deg, #0a0a0c 0%, #12151c 100%);
  color: var(--text-strong);
}

html[data-theme="dark"] .page-login .bg-layer {
  background:
    radial-gradient(ellipse 100% 70% at 50% -20%, rgba(224, 179, 54, 0.2), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 35%, rgba(180, 140, 50, 0.12), transparent 52%),
    linear-gradient(180deg, #0d0f14 0%, #151a22 100%);
}

html[data-theme="dark"] .page-login .bg-layer::after {
  opacity: 0.12;
  filter: invert(1);
}

html[data-theme="dark"] .login-card {
  background: rgba(18, 22, 30, 0.92);
  border: 1px solid rgba(224, 179, 54, 0.22);
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html[data-theme="dark"] .login-card h2 {
  color: var(--text-strong);
}

html[data-theme="dark"] .login-card .subtitle {
  color: var(--text-soft);
}

html[data-theme="dark"] .page-login .field label {
  color: var(--text-soft);
}

html[data-theme="dark"] .page-login .input-wrap {
  background: #0c0f14;
  border-color: rgba(224, 179, 54, 0.22);
}

html[data-theme="dark"] .page-login .input-wrap:focus-within {
  border-color: #e8b318;
  box-shadow: 0 0 0 3px rgba(232, 179, 24, 0.18);
}

html[data-theme="dark"] .page-login .input-wrap input {
  color: var(--text-strong);
}

html[data-theme="dark"] .page-login .area-code {
  color: #d6c4a8;
}

html[data-theme="dark"] .bottom-link {
  color: var(--text-soft);
}

html[data-theme="dark"] .bottom-link a {
  color: #fbbf24;
}

html[data-theme="dark"] .dash-header__marquee {
  background: linear-gradient(90deg, rgba(22, 26, 34, 0.96), rgba(18, 22, 30, 0.92));
  color: var(--text-strong);
  border: 1px solid rgba(224, 179, 54, 0.15);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .dash-header__marquee > svg {
  color: #fbbf24;
}

html[data-theme="dark"] .dash-header__marquee-track span b {
  color: #fbbf24;
}

html[data-theme="dark"] .dash-header__profile {
  background: rgba(22, 26, 34, 0.95);
  color: #f5f1eb;
  border: 1px solid rgba(224, 179, 54, 0.18);
}

html[data-theme="dark"] .dash-header__profile:hover {
  background: #1a1f28;
}

html[data-theme="dark"] .dash-header__brand {
  background: linear-gradient(135deg, #fbbf24, #d97706);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

html[data-theme="dark"] .dash-hero:not([style*="--hero-banner-image"]) {
  background:
    radial-gradient(ellipse 80% 55% at 50% 100%, rgba(224, 179, 54, 0.15), transparent 58%),
    linear-gradient(180deg, #050508 0%, #12151c 40%, #1a1510 100%);
}

html[data-theme="dark"] .dash-action:not(.dash-action--accent) {
  background: #121926;
  color: #f8fafc;
  border: 1px solid rgba(224, 179, 54, 0.12);
}

html[data-theme="dark"] .dash-action:not(.dash-action--accent):hover {
  background: #1a2233;
  border-color: rgba(251, 191, 36, 0.25);
}

html[data-theme="dark"] .dash-action--accent {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 55%, #b45309 100%);
  color: #fff;
  border: none;
}

html[data-theme="dark"] .dash-tile {
  background: var(--bg-card);
  border: 1px solid rgba(224, 179, 54, 0.1);
}

html[data-theme="dark"] .dash-tile:hover {
  border-color: rgba(251, 191, 36, 0.28);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .dash-tile__icon--blue {
  background: rgba(37, 99, 235, 0.15);
  color: #93c5fd;
}

html[data-theme="dark"] .dash-tile__icon--cyan {
  background: rgba(8, 145, 178, 0.15);
  color: #67e8f9;
}

html[data-theme="dark"] .dash-tile__icon--pink {
  background: rgba(219, 39, 119, 0.15);
  color: #f9a8d4;
}

html[data-theme="dark"] .dash-tile__icon--purple {
  background: rgba(124, 58, 237, 0.15);
  color: #d8b4fe;
}

html[data-theme="dark"] .dash-tile__icon--green {
  background: rgba(5, 150, 105, 0.15);
  color: #6ee7b7;
}

html[data-theme="dark"] .dash-tile__icon--orange {
  background: rgba(217, 119, 6, 0.2);
  color: #fbbf24;
}

html[data-theme="dark"] .dash-tile__icon--slate {
  background: rgba(71, 85, 105, 0.35);
  color: #94a3b8;
}

html[data-theme="dark"] .dash-more-toggle {
  background: rgba(18, 25, 38, 0.9);
  border-color: rgba(224, 179, 54, 0.2);
  color: #cbd5e1;
}

html[data-theme="dark"] .dash-group--whatsapp {
  background: linear-gradient(135deg, #14532d 0%, #166534 100%) !important;
  color: #ecfdf5 !important;
  box-shadow: 0 6px 14px rgba(16, 185, 129, 0.2) !important;
}

html[data-theme="dark"] .dash-group--whatsapp:hover {
  background: linear-gradient(135deg, #14532d 0%, #166534 100%) !important;
  color: #ecfdf5 !important;
}

html[data-theme="dark"] .dash-group--telegram {
  background: linear-gradient(135deg, #5eb3f6 0%, #229ed9 50%, #1d8ccc 100%) !important;
  color: #fff !important;
  box-shadow: 0 6px 14px rgba(34, 158, 217, 0.35) !important;
}

html[data-theme="dark"] .dash-group--telegram:hover {
  background: linear-gradient(135deg, #5eb3f6 0%, #229ed9 50%, #1d8ccc 100%) !important;
  color: #fff !important;
}

html[data-theme="dark"] .dash-levels__head h3 {
  color: var(--text-strong);
}

html[data-theme="dark"] .dash-badge {
  background: rgba(224, 179, 54, 0.15);
  color: #fde68a;
}

html[data-theme="dark"] .dash-level-current {
  background: linear-gradient(135deg, #b45309 0%, #92400e 55%, #78350f 100%);
}

html[data-theme="dark"] .dash-level-current__bar {
  background: rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .dash-level {
  background: var(--bg-card);
  border: 1px solid rgba(224, 179, 54, 0.08);
}

html[data-theme="dark"] .dash-level:hover {
  border-color: rgba(251, 191, 36, 0.2);
}

html[data-theme="dark"] .dash-rest-card {
  background: linear-gradient(135deg, #1e293b, #1a1520);
  border: 1px solid rgba(224, 179, 54, 0.12);
}

html[data-theme="dark"] .profile-header {
  background:
    radial-gradient(ellipse 120% 90% at 20% 0%, rgba(224, 179, 54, 0.28), transparent 52%),
    linear-gradient(135deg, #0c0a08 0%, #1f1610 42%, #12151c 100%);
  color: #fef3c7;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5);
}

html[data-theme="dark"] .profile-level-strip {
  background: linear-gradient(135deg, #78350f 0%, #92400e 50%, #6b3010 100%);
  color: #fff;
  border: 1px solid rgba(251, 191, 36, 0.28);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .stats-card,
html[data-theme="dark"] .config-card,
html[data-theme="dark"] .balance-card {
  border: 1px solid rgba(224, 179, 54, 0.08);
}

html[data-theme="dark"] .config-row {
  border-color: rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] .config-row__icon--blue {
  background: rgba(37, 99, 235, 0.18);
  color: #93c5fd;
}

html[data-theme="dark"] .config-row__icon--green {
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
}

html[data-theme="dark"] .config-row__icon--red {
  background: rgba(248, 113, 113, 0.12);
  color: #fca5a5;
}

html[data-theme="dark"] .config-row__icon--pink {
  background: rgba(244, 63, 94, 0.12);
  color: #fda4af;
}

html[data-theme="dark"] .config-row__icon--purple {
  background: rgba(139, 92, 246, 0.15);
  color: #d8b4fe;
}

html[data-theme="dark"] .stat {
  border-color: rgba(255, 255, 255, 0.05);
}

html[data-theme="dark"] .status-pill {
  background: #1c2230;
  color: var(--text-soft);
}

html[data-theme="dark"] .status-pill--success {
  background: rgba(22, 101, 52, 0.35);
  color: #bbf7d0;
}

html[data-theme="dark"] .status-pill--warning {
  background: rgba(120, 90, 30, 0.35);
  color: #fde68a;
}

html[data-theme="dark"] .status-pill--danger {
  background: rgba(127, 29, 29, 0.35);
  color: #fecaca;
}

html[data-theme="dark"] .page-header {
  background: rgba(11, 13, 17, 0.92);
  border-bottom-color: rgba(224, 179, 54, 0.12);
}

html[data-theme="dark"] .page-header__title {
  color: var(--text-strong);
}

html[data-theme="dark"] .page-header__back {
  background: var(--bg-soft);
  color: var(--text-strong);
}

html[data-theme="dark"] .page-header__back:hover {
  background: var(--bg-well);
}

html[data-theme="dark"] .finance-card,
html[data-theme="dark"] .tx-card {
  border: 1px solid rgba(224, 179, 54, 0.08);
}

html[data-theme="dark"] .floating-help {
  background: linear-gradient(135deg, #b45309, #92400e);
  color: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

html[data-theme="dark"] .btn.primary {
  background: linear-gradient(135deg, #ca8a04 0%, var(--primary) 48%, var(--primary-strong) 100%);
}

html[data-theme="dark"] .task-tab {
  background: transparent;
  color: var(--text-soft);
}

html[data-theme="dark"] .task-tab--active {
  color: #fff;
  background: linear-gradient(135deg, #f59e0b 0%, #ea7a17 100%);
  box-shadow: 0 4px 12px rgba(234, 122, 23, 0.35);
}

html[data-theme="dark"] .task-tab--active:hover {
  color: #fff;
  background: linear-gradient(135deg, #f59e0b 0%, #ea7a17 100%);
}
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.42);
}

html[data-theme="dark"] .finance-tab--active {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .task-reset-banner {
  background: linear-gradient(135deg, rgba(40, 36, 24, 0.96), rgba(70, 55, 22, 0.88));
  color: #fde68a;
  border: 1px solid rgba(251, 191, 36, 0.28);
}

html[data-theme="dark"] .task-card__btn {
  background: linear-gradient(135deg, rgba(55, 48, 28, 0.95), rgba(95, 75, 28, 0.88));
  color: #fef9c3;
  border: 1px solid rgba(251, 191, 36, 0.35);
}

html[data-theme="dark"] .task-card__btn--running {
  background: var(--bg-soft);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

html[data-theme="dark"] .task-card__btn--ready {
  background: linear-gradient(135deg, #ca8a04, #eab308);
  color: #1a1520;
}

html[data-theme="dark"] .task-card__btn--done {
  background: rgba(6, 78, 59, 0.5);
  color: #6ee7b7;
  border: 1px solid rgba(52, 211, 153, 0.25);
}

html[data-theme="dark"] .task-card__chip--reward {
  background: rgba(120, 90, 30, 0.4);
  color: #fde68a;
  border: 1px solid rgba(251, 191, 36, 0.22);
}

html[data-theme="dark"] .task-card__plan-strip {
  background: rgba(22, 26, 34, 0.95);
  border: 1px solid rgba(224, 179, 54, 0.12);
}

html[data-theme="dark"] .task-card__plan-strip-track {
  background: rgba(71, 85, 105, 0.45);
}

html[data-theme="dark"] .planos-user-card {
  border: 1px solid rgba(224, 179, 54, 0.12);
}

html[data-theme="dark"] .planos-user-card__choice-body {
  background: rgba(18, 25, 38, 0.85);
  border-color: rgba(224, 179, 54, 0.15);
}

html[data-theme="dark"] .planos-user-card__choice:hover .planos-user-card__choice-body {
  border-color: rgba(251, 191, 36, 0.35);
}

html[data-theme="dark"] .planos-user-card__choice input:checked + .planos-user-card__choice-body {
  border-color: #f59e0b;
  box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.25), 0 8px 22px rgba(0, 0, 0, 0.35);
  background: linear-gradient(165deg, rgba(251, 191, 36, 0.12), rgba(18, 25, 38, 0.95));
}

html[data-theme="dark"] .planos-user-card__btn--ghost {
  background: #121926;
  color: #f5f1eb;
  border-color: rgba(224, 179, 54, 0.2);
}

html[data-theme="dark"] .sq-hint {
  background: rgba(40, 36, 24, 0.85);
  color: #fde68a;
  border: 1px solid rgba(251, 191, 36, 0.22);
}

html[data-theme="dark"] .sq-hint--blocked {
  background: rgba(55, 48, 28, 0.92);
  color: #fde68a;
  border: 1px solid rgba(251, 191, 36, 0.35);
}

html[data-theme="dark"] .dep-preset--active strong {
  color: #fde68a;
}

html[data-theme="dark"] .task-modal__sheet {
  background: linear-gradient(180deg, #12151c 0%, #0a0c10 100%);
  box-shadow: 0 -24px 60px rgba(0, 0, 0, 0.65);
  border-top: 1px solid rgba(251, 191, 36, 0.12);
}

html[data-theme="dark"] .task-modal__player-shade {
  background: linear-gradient(180deg, rgba(10, 12, 16, 0) 0%, #12151c 100%);
}

html[data-theme="dark"] .stats-card__head h3 {
  color: var(--text-strong);
}

html[data-theme="dark"] .stat__label {
  color: var(--text-muted);
}

html[data-theme="dark"] .invite-card__title {
  color: var(--text-strong);
}

html[data-theme="dark"] .history-tab--active {
  color: #1a1520;
}

html[data-theme="dark"] .history-tab--active:hover {
  color: #1a1520;
}

/* Planos comprados (depósito) — paleta padrão do app */
.bots-intro {
  padding: 16px 16px 8px;
}
.bots-intro__title {
  margin: 0 0 6px;
  font-size: 1.15rem;
  font-weight: 700;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  color: var(--text-strong);
}
.bots-intro__hint {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.45;
}
.bots-intro__hint strong {
  color: var(--brand-accent, var(--orange));
}
.bots-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 8px 16px 24px;
}
.bot-card {
  background: var(--bg-card);
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  padding: 14px 14px 16px;
}
.bot-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.bot-card__name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  color: var(--text-strong);
}
.bot-card__meta {
  margin: 4px 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.bot-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--invite-tier-bg);
  border: 1px solid var(--invite-tier-border);
  color: var(--brand-accent, var(--orange));
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}
.bot-card__badge--locked {
  background: var(--chip-bg);
  border-color: var(--border);
  color: var(--text-muted);
}
.bot-card__body {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: stretch;
}
.bot-card__progress {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.bot-card__bar {
  width: 12px;
  height: 88px;
  border-radius: 999px;
  background: var(--progress-track);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.bot-card__bar-fill {
  display: block;
  width: 100%;
  border-radius: 999px;
  background: linear-gradient(180deg, #fbbf24 0%, var(--brand-accent, var(--orange)) 100%);
  min-height: 4px;
}
.bot-card__progress-text {
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.3;
}
.bot-card__pct {
  display: block;
  color: var(--brand-accent, var(--orange));
  font-size: 0.95rem;
  font-weight: 800;
}
.bot-card__earn {
  display: block;
  font-weight: 700;
  color: var(--text-strong);
  font-size: 0.82rem;
}
.bot-card__progress-text small {
  color: var(--text-muted);
}
.bot-card__side {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.bot-card__invest {
  font-size: 0.85rem;
  color: var(--text-soft);
}
.bot-card__invest strong {
  display: block;
  color: var(--text-strong);
  font-size: 1rem;
  font-weight: 800;
}
.bot-card__reward-box {
  background: var(--invite-tier-bg);
  border: 1px solid var(--invite-tier-border);
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 0.78rem;
  color: var(--text-soft);
}
.bot-card__reward-box strong {
  display: block;
  margin-top: 4px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--brand-accent, var(--orange));
}
.bot-card__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f59e0b 0%, var(--brand-accent, #ea7a17) 55%, #d9560f 100%);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  text-align: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(234, 122, 23, 0.28);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.bot-card__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(234, 122, 23, 0.35);
  color: #fff !important;
  text-decoration: none;
}
.bot-card__cta--locked {
  background: var(--chip-bg);
  color: var(--text-muted) !important;
  box-shadow: none;
  cursor: default;
  transform: none;
}
.bot-card__cta--locked:hover {
  transform: none;
  box-shadow: none;
}
.bots-empty__cta {
  display: inline-block;
  margin-top: 12px;
  padding: 12px 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f59e0b 0%, var(--brand-accent, #ea7a17) 55%, #d9560f 100%);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(234, 122, 23, 0.28);
}
.bots-empty__cta:hover {
  color: #fff;
  text-decoration: none;
}
.bot-back {
  display: inline-block;
  margin: 12px 16px 0;
  color: var(--brand-accent, var(--orange));
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
}
.bot-back:hover {
  color: var(--brand-accent, var(--orange));
  text-decoration: underline;
}
.bot-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 16px 12px;
}
.bot-detail-head h2 {
  margin: 0 0 4px;
  font-size: 1.1rem;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  color: var(--text-strong);
}
.bot-detail-head p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-soft);
}
.bot-detail-head__sorteio {
  margin-top: 6px !important;
  font-size: 0.78rem !important;
  color: var(--text-muted) !important;
}
.bots-alert {
  margin: 0 16px 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--msg-bg);
  border: 1px solid var(--msg-border);
  color: var(--msg-text);
  font-size: 0.88rem;
}
html[data-theme="dark"] .bot-card__cta {
  background: linear-gradient(135deg, #f59e0b 0%, var(--brand-accent) 55%, #b45309 100%);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}
html[data-theme="dark"] .bots-empty__cta {
  background: linear-gradient(135deg, #ca8a04 0%, var(--brand-accent) 55%, #92400e 100%);
}
