/* ============================================================
   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: #000000;
  --app-content-max: 1520px;
  --app-content-gutter: clamp(16px, 2vw, 24px);
  --app-sidebar-width: 260px;
  --app-main-gap: 24px;
  --site-bg-fallback: #000000;
  --site-bg-gradient:
    radial-gradient(ellipse 130% 90% at 0% 0%, rgba(196, 168, 94, 0.24) 0%, transparent 55%),
    radial-gradient(ellipse 110% 85% at 100% 100%, rgba(166, 139, 75, 0.18) 0%, transparent 52%),
    linear-gradient(165deg, #000000 0%, #080604 42%, #12100a 72%, #000000 100%);
  --site-surface: rgba(8, 6, 4, 0.82);
  --site-surface-strong: rgba(0, 0, 0, 0.88);
  --bg-shell: transparent;
  --bg-card: rgba(12, 10, 8, 0.72);
  --bg-soft: rgba(10, 8, 6, 0.65);
  --text-strong: #ffffff;
  --text-soft: #ffffff;
  --text-muted: #ffffff;
  --primary: #5d9180;
  --primary-strong: #4a7c6c;
  --orange: #c4a85e;
  --green: #3ecf8e;
  --danger: #f87171;
  --border: rgba(255, 255, 255, 0.1);
  --shadow-card: 0 12px 36px rgba(0, 0, 0, 0.6);
  --body-bg: var(--site-bg-fallback);
  --topbar-bg: rgba(0, 0, 0, 0.55);
  --bottom-nav-bg: rgba(0, 0, 0, 0.85);
  --bottom-nav-shadow: 0 -10px 40px rgba(0, 0, 0, 0.65);
  --msg-bg: rgba(196, 168, 94, 0.12);
  --msg-border: rgba(196, 168, 94, 0.28);
  --msg-text: #ffffff;
  --nav-inactive: #ffffff;
  --nav-active: #c4a85e;
  --input-bg: #0a0a0a;
  --input-border: rgba(255, 255, 255, 0.12);
  --line-border: rgba(255, 255, 255, 0.06);
  --input-focus-ring: rgba(93, 145, 128, 0.28);
  --bg-well: rgba(10, 8, 6, 0.65);
  --bg-table-head: rgba(10, 8, 6, 0.75);
  --header-bg: rgba(0, 0, 0, 0.72);
  --header-border: rgba(196, 168, 94, 0.12);
  --progress-track: #1a1a1a;
  --task-tab-hover-bg: rgba(255, 255, 255, 0.05);
  --config-row-hover: rgba(255, 255, 255, 0.04);
  --chip-bg: #1a1a1a;
  --invite-tier-bg: #0a0a0a;
  --invite-tier-border: rgba(196, 168, 94, 0.22);

  /* Paleta profissional — landing, login e backoffice */
  --brand-bg: transparent;
  --brand-bg-deep: #000000;
  --brand-bg-elevated: rgba(10, 8, 6, 0.88);
  --brand-bg-card: rgba(12, 10, 8, 0.72);
  --brand-border: rgba(196, 168, 94, 0.14);
  --brand-border-accent: rgba(74, 124, 108, 0.26);
  --brand-text: #ffffff;
  --brand-text-muted: #ffffff;
  --brand-text-subtle: #ffffff;
  --brand-accent: #4a7c6c;
  --brand-accent-light: #5d9180;
  --brand-accent-soft: rgba(74, 124, 108, 0.12);
  --brand-accent-glow: rgba(74, 124, 108, 0.2);
  --brand-gold: #a68b4b;
  --brand-gold-light: #c4a85e;
  --brand-gold-soft: rgba(166, 139, 75, 0.12);
  --brand-gold-border: rgba(166, 139, 75, 0.3);
  --brand-btn-gold: #c4a85e;
  --brand-btn-text: #000000;
  --brand-success-text: #ffffff;
}

html:not([data-theme="dark"]) {
  --bg-shell: #f4f6fb;
  --bg-card: #ffffff;
  --bg-soft: #eef2f8;
  --text-strong: #0f1a33;
  --text-soft: #5b6a85;
  --text-muted: #94a3b8;
  --primary: #2563eb;
  --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;
  --header-bg: #ffffff;
  --header-border: #f1f5f9;
  --progress-track: #f1f5f9;
  --chip-bg: #f1f5f9;
}

html:not([data-theme="dark"]) body {
  background: var(--body-bg);
  background-image: none;
}

html:not([data-theme="dark"]) .shell {
  background: var(--bg-shell);
}

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

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

html[data-theme="dark"] {
  background-color: var(--site-bg-fallback);
}

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-color: var(--site-bg-fallback);
  background-image: var(--site-bg-gradient);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  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: transparent;
  color: var(--text-strong);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

@media (min-width: 768px) {
  .dash-hero[style*="--hero-banner-image"] {
    height: clamp(200px, 32vw, 360px);
    background-size: contain;
    background-position: center center;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  :root {
    --shell-width: min(720px, 96vw);
  }
  body:has(.login-shell),
  body:has(.landing-shell) {
    padding: 0;
    background-color: var(--site-bg-fallback);
    background-image: var(--site-bg-gradient);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    align-items: stretch;
  }
  body:not(:has(.login-shell)):not(:has(.landing-shell)) {
    padding: 16px;
    background-color: var(--site-bg-fallback);
    background-image: var(--site-bg-gradient);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    align-items: flex-start;
  }
  .shell.login-shell,
  .shell.landing-shell {
    margin: 0 auto;
    width: 100%;
    max-width: none;
    min-height: 100vh;
    max-height: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }
  .shell:not(.login-shell):not(.landing-shell):not(.shell--app) {
    margin: 0 auto;
    width: 100%;
    max-width: var(--shell-width);
    min-height: calc(100vh - 32px);
    max-height: none;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    background: var(--brand-bg-elevated);
  }
  .shell-inner {
    overflow-y: auto;
    max-height: none;
  }
}

/* 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;
}

/* —— Flash Modal —— */
.fmodal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fmodal-in 0.2s ease;
}
@keyframes fmodal-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.fmodal {
  background: var(--bg-card);
  border-radius: 22px;
  padding: 32px 24px 24px;
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: fmodal-slide 0.25s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes fmodal-slide {
  from { transform: translateY(30px) scale(0.92); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.fmodal__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fmodal__icon svg { width: 32px; height: 32px; }
.fmodal__icon--success {
  background: #dcfce7;
  color: #16a34a;
}
.fmodal__icon--pending {
  background: #fef3c7;
  color: #d97706;
}
.fmodal__icon--error {
  background: #fee2e2;
  color: #dc2626;
}
.fmodal__msg {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  color: var(--text-strong);
  line-height: 1.45;
}
.fmodal__btn {
  margin-top: 4px;
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 14px;
  background: var(--orange);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s;
}
.fmodal__btn:active { opacity: 0.82; }
html[data-theme="dark"] .fmodal {
  background: #1e2330;
}
html[data-theme="dark"] .fmodal__icon--success {
  background: rgba(22,163,74,0.2);
  color: #4ade80;
}
html[data-theme="dark"] .fmodal__icon--pending {
  background: rgba(217,119,6,0.2);
  color: #fbbf24;
}
html[data-theme="dark"] .fmodal__icon--error {
  background: rgba(220,38,38,0.2);
  color: #f87171;
}

/* —— 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;
}

/* Fundo global da marca (mesmo da página inicial) */
body:has(.landing-shell),
body:has(.login-shell),
body:has(.shell--app) {
  background-color: var(--site-bg-fallback);
  background-image: var(--site-bg-gradient);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

.shell.landing-shell,
.shell.login-shell,
.shell.shell--app {
  background: transparent;
}

.shell.landing-shell .shell-inner,
.shell.login-shell .shell-inner,
.shell.shell--app .shell-inner {
  background: transparent;
}

.page-landing,
.landing-pro {
  background: transparent;
}

.app-shell {
  background: transparent;
}

.app-main,
.app-content,
.bo-dashboard {
  background: transparent;
}

body:has(.login-shell) {
  padding: 0;
  align-items: stretch;
}

.shell.login-shell {
  color: var(--brand-text);
}

.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: transparent;
  z-index: 0;
}

.page-login .bg-layer::after {
  display: 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;
  color: var(--brand-gold-light);
}

.brand-section .logo {
  max-width: 180px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.login-card {
  width: 100%;
  max-width: 360px;
  padding: 1.5rem;
  border-radius: 20px;
  background: var(--brand-bg-elevated);
  border: 1px solid var(--brand-border);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.45);
}

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

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

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

.login-ident-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 14px;
  padding: 4px;
  border-radius: 14px;
  background: rgba(5, 8, 7, 0.65);
  border: 1px solid rgba(74, 124, 108, 0.22);
}

.login-ident-switch__btn {
  margin: 0;
  padding: 10px 12px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.login-ident-switch__btn:hover {
  color: #ffffff;
  background: rgba(74, 124, 108, 0.1);
}

.login-ident-switch__btn--active {
  color: #000000;
  background: #c4a85e;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
}

.login-ident-switch__btn--active:hover {
  color: #000000;
}

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

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

.page-login .input-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.85rem;
  min-height: 48px;
  border-radius: 14px;
  background: rgba(5, 8, 7, 0.75);
  border: 1px solid rgba(74, 124, 108, 0.28);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.page-login .input-wrap:focus-within {
  border-color: rgba(74, 124, 108, 0.65);
  box-shadow: 0 0 0 3px rgba(74, 124, 108, 0.14);
}

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

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

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

.page-login .input-wrap input::placeholder {
  color: #ffffff;
  opacity: 0.55;
}

.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: #ffffff;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.page-login .eye-btn:hover {
  color: #5d9180;
  background: rgba(74, 124, 108, 0.12);
}

.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: 1px solid var(--brand-gold-border);
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--brand-btn-text);
  background: var(--brand-btn-gold);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
  transition: transform 0.15s, box-shadow 0.2s;
}

.page-login .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}

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

.page-login .input-wrap input:-webkit-autofill,
.page-login .input-wrap input:-webkit-autofill:hover,
.page-login .input-wrap input:-webkit-autofill:focus {
  -webkit-text-fill-color: #f8fafc;
  -webkit-box-shadow: 0 0 0 1000px rgba(5, 8, 7, 0.75) inset;
  box-shadow: 0 0 0 1000px rgba(5, 8, 7, 0.75) inset;
  transition: background-color 9999s ease-out 0s;
  caret-color: #f8fafc;
}

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

.page-login .bottom-link a {
  margin-left: 0.35rem;
  color: #5d9180;
  font-weight: 600;
}

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

.shell.login-shell .msg {
  position: relative;
  z-index: 3;
  margin: 12px 16px 0;
  background: rgba(74, 124, 108, 0.1);
  border-color: rgba(74, 124, 108, 0.35);
  color: #ffffff;
}

/* ============================================================
   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);
}

.balance-col--progress {
  text-align: center;
}

.balance-col__value--small {
  font-size: 14px;
  font-weight: 700;
  color: var(--orange);
  display: block;
  margin-bottom: 6px;
}

.balance-progress-bar {
  height: 8px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
  margin: 0 auto 4px;
  max-width: 140px;
}

.balance-progress-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--orange), #f59e0b);
  border-radius: 99px;
  transition: width 0.6s ease;
  min-width: 4px;
}

.balance-progress-bar__pct {
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
}

/* —— 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: var(--text-muted);
  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: #5d9180;
  font-weight: 700;
  text-decoration: none;
}

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

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

.link-btn {
  border: none;
  background: none;
  padding: 0;
  color: var(--text-soft);
  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: #9eb8aa;
}

.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: #000000;
}

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

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

.task-modal__player-frame video {
  object-fit: contain;
  background: #000000;
}

.task-modal__no-video {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 16px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

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

.task-modal__sheet--proof {
  max-height: 96vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

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

.task-proof-form {
  margin: 0;
}

.task-proof-reward {
  margin: 0 0 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.task-proof-reward strong {
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-weight: 800;
  color: #fde68a;
}

.task-proof-upload {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 255, 255, 0.22);
  transition: border-color 0.2s, background 0.2s;
}

.task-proof-upload.has-file {
  border-color: rgba(34, 197, 94, 0.55);
  background: rgba(34, 197, 94, 0.08);
}

.task-proof-upload__label {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.task-proof-upload__hint {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.4;
}

.task-proof-upload__btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  width: 100%;
  min-height: 48px;
  border: 0;
  padding: 12px 16px;
  border-radius: 12px;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.9), rgba(234, 122, 23, 0.95));
  cursor: pointer;
  overflow: hidden;
}

.task-proof-upload__btn input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
  font-size: 0;
  z-index: 2;
}

.task-proof-upload__btn-text {
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.task-proof-upload__btn.has-file {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.85), rgba(22, 163, 74, 0.95));
}

.task-proof-upload__btn:hover {
  filter: brightness(1.05);
}

.task-proof-upload__name {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  word-break: break-all;
}

.task-proof-upload__name.is-selected {
  color: #86efac;
}

.task-proof-upload__preview {
  width: 100%;
  max-height: 160px;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.task-proof-upload__preview:not([hidden]) {
  display: block;
}

.task-modal__sheet--proof .task-modal__cta {
  cursor: pointer;
  animation: none;
}

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

.empty-state__subtitle {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--text-soft);
}

/* Variante de descanso tem fundo escuro: mantém texto claro */
.empty-state--rest .empty-state__title {
  color: #f8fafc;
}
.empty-state--rest .empty-state__subtitle {
  color: rgba(226, 232, 240, 0.85);
}

.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: var(--site-surface-strong);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: rgba(196, 168, 94, 0.12);
}

.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(--text-muted); 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: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  padding: 12px 14px 10px;
}

.dash-header__logo {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  max-width: min(220px, 52vw);
  padding: 6px 14px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.dash-header__logo img {
  width: auto;
  max-width: 100%;
  height: 100%;
  max-height: 44px;
  object-fit: contain;
  border-radius: 8px;
}

.dash-header__spacer {
  display: none;
}

.dash-header__trailing {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dash-header__brand {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  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: rgba(255, 255, 255, 0.08);
}

.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.12), rgba(4, 15, 32, 0.22)),
    var(--hero-banner-image);
  background-size: 100% 100%, contain;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #0a0a0c;
  height: clamp(180px, 56vw, 280px);
}

/* Com banner customizado, esconde sol/nuvens decorativos */
.dash-hero[style*="--hero-banner-image"] .dash-hero__bg {
  display: none;
}

.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__icon-wrap {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.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, #0d1a10 0%, #1a4a28 45%, #16a34a 100%);
  box-shadow: 0 12px 28px rgba(22, 163, 74, 0.28);
  border: 1px solid rgba(74, 222, 128, 0.2);
}

.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, #060e08 0%, #0f3320 42%, #15803d 100%);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

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

/* —— Tela de seleção de saque —— */
.sq-sel {
  padding: 8px 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sq-sel__hint {
  margin: 0 0 4px;
  font-size: 0.9rem;
  color: var(--text-soft);
}
.sq-sel__card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 14px;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: var(--text-strong);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.sq-sel__card:active {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(234, 122, 23, 0.15);
}
.sq-sel__icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sq-sel__icon svg { width: 22px; height: 22px; }
.sq-sel__icon--tarefas {
  background: linear-gradient(135deg, #fde68a, #f59e0b);
  color: #92400e;
}
.sq-sel__icon--indicacao {
  background: linear-gradient(135deg, #9eb8aa, #16a34a);
  color: #14532d;
}
.sq-sel__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sq-sel__label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-strong);
}
.sq-sel__value {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--orange);
}
.sq-sel__sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.3;
}
.sq-sel__arrow {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  flex-shrink: 0;
}
html[data-theme="dark"] .sq-sel__card {
  background: var(--bg-card);
  border-color: rgba(255,255,255,0.08);
}
html[data-theme="dark"] .sq-sel__icon--tarefas {
  background: linear-gradient(135deg, #92400e, #b45309);
  color: #fde68a;
}
html[data-theme="dark"] .sq-sel__icon--indicacao {
  background: linear-gradient(135deg, #14532d, #15803d);
  color: #9eb8aa;
}

.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: #000000;
  --bg-shell: #000000;
  --bg-card: #0a0a0a;
  --bg-soft: #0a0a0a;
  --text-strong: #ffffff;
  --text-soft: #ffffff;
  --text-muted: #ffffff;
  --primary: #c4a85e;
  --primary-strong: #a68b4b;
  --orange: #c4a85e;
  --green: #3ecf8e;
  --danger: #f87171;
  --border: rgba(255, 255, 255, 0.1);
  --shadow-card: 0 12px 36px rgba(0, 0, 0, 0.65);
  --topbar-bg: #000000;
  --bottom-nav-bg: #000000;
  --bottom-nav-shadow: 0 -10px 40px rgba(0, 0, 0, 0.65);
  --msg-bg: #0a0a0a;
  --msg-border: rgba(196, 168, 94, 0.28);
  --msg-text: #ffffff;
  --nav-inactive: #ffffff;
  --nav-active: #c4a85e;
  --input-bg: #0a0a0a;
  --line-border: rgba(255, 255, 255, 0.06);
  --input-focus-ring: rgba(196, 168, 94, 0.25);
  --brand-accent: #5d9180;
  --bg-well: #0a0a0a;
  --bg-table-head: #0a0a0a;
  --header-bg: #000000;
  --header-border: rgba(255, 255, 255, 0.08);
  --progress-track: #1a1a1a;
  --task-tab-hover-bg: rgba(255, 255, 255, 0.05);
  --config-row-hover: rgba(255, 255, 255, 0.04);
  --chip-bg: #1a1a1a;
  --invite-tier-bg: #0a0a0a;
  --invite-tier-border: rgba(196, 168, 94, 0.22);
}

@media (min-width: 768px) {
  html[data-theme="dark"] .shell:not(.login-shell):not(.landing-shell):not(.shell--app) {
    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: transparent;
  color: var(--brand-text);
}

html[data-theme="dark"] .page-login .bg-layer {
  background: transparent;
}

html[data-theme="dark"] .page-login .bg-layer::after {
  opacity: 0.55;
}

html[data-theme="dark"] .login-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(74, 124, 108, 0.2);
  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: #f8fafc;
}

html[data-theme="dark"] .login-card .subtitle {
  color: #ffffff;
}

html[data-theme="dark"] .page-login .field label {
  color: #ffffff;
}

html[data-theme="dark"] .page-login .input-wrap {
  background: rgba(5, 8, 7, 0.75);
  border-color: rgba(74, 124, 108, 0.28);
}

html[data-theme="dark"] .page-login .input-wrap:focus-within {
  border-color: rgba(74, 124, 108, 0.65);
  box-shadow: 0 0 0 3px rgba(74, 124, 108, 0.14);
}

html[data-theme="dark"] .page-login .input-wrap input {
  color: #f8fafc;
}

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

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

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

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: #ffffff;
}

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: #9eb8aa;
}

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

.clube-vip-page { max-width: 560px; }
.clube-vip-hero {
  padding: 24px 20px;
  border-radius: 16px;
  border: 1px solid rgba(196, 168, 94, 0.35);
  background: linear-gradient(135deg, rgba(196, 168, 94, 0.12) 0%, rgba(15, 23, 42, 0.85) 100%);
  margin-bottom: 20px;
}
.clube-vip-hero__badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fde68a;
  background: rgba(196, 168, 94, 0.2);
  margin-bottom: 10px;
}
.clube-vip-hero h2 { margin: 0 0 8px; font-size: 1.35rem; }
.clube-vip-hero p { margin: 0; color: #94a3b8; line-height: 1.5; }
.clube-vip-benefits {
  margin: 0 0 20px;
  padding-left: 1.2rem;
  color: #cbd5e1;
  line-height: 1.7;
}
.clube-vip-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  color: #0f172a;
  background: linear-gradient(135deg, #c4a85e 0%, #a68b4b 100%);
}

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__teto-info {
  font-size: 0.82rem;
  color: var(--text-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
  background: #ecfdf5;
  border: 1px solid #9eb8aa;
  border-radius: 10px;
}
.bot-card__teto-info strong {
  font-size: 0.92rem;
  font-weight: 800;
  color: #15803d;
}
html[data-theme="dark"] .bot-card__teto-info {
  background: #052e16;
  border-color: #166534;
}
html[data-theme="dark"] .bot-card__teto-info strong {
  color: #4ade80;
}
.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;
}
.bots-alert--teto {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #991b1b;
}
.bots-alert--lembrete {
  background: #fef3c7;
  border-color: #fcd34d;
  color: #92400e;
}
html[data-theme="dark"] .bots-alert--teto {
  background: rgba(220, 38, 38, 0.18);
  border-color: rgba(220, 38, 38, 0.4);
  color: #fca5a5;
}
html[data-theme="dark"] .bots-alert--lembrete {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.35);
  color: #fcd34d;
}
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%);
}

/* ============================================================
   Desktop (PC) — layout largo; celular permanece até 767px
   ============================================================ */
@media (min-width: 1024px) {
  :root {
    --shell-width: 1280px;
    --shell-radius: 0;
  }

  body {
    padding: 0;
    background-color: var(--site-bg-fallback);
    background-image: var(--site-bg-gradient);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    align-items: stretch;
    justify-content: center;
  }

  body:has(.shell--app) {
    justify-content: flex-start;
    align-items: stretch;
  }

  .shell:not(.login-shell):not(.landing-shell):not(.shell--app) {
    width: 100%;
    max-width: var(--shell-width);
    margin: 0 auto;
    min-height: 100vh;
    max-height: none;
    border-radius: 0;
    box-shadow: none;
  }

  .shell.shell--app {
    width: 100%;
    max-width: none;
    margin: 0;
    min-height: 100vh;
    max-height: none;
    border-radius: 0;
    box-shadow: none;
  }

  .shell.login-shell,
  .shell.landing-shell {
    width: 100%;
    max-width: none;
    min-height: 100vh;
    box-shadow: none;
    background: transparent;
  }

  .shell-inner {
    max-height: none;
    overflow-y: visible;
  }

  .content {
    padding: 0 40px 100px;
    max-width: var(--shell-width);
    margin: 0 auto;
  }

  .shell--app .app-content.content {
    padding: 0 0 24px;
    width: 100%;
    max-width: var(--app-content-max);
  }

  .msg {
    margin: 12px 40px 0;
  }

  .card {
    padding: 22px 24px;
  }

  /* —— Dashboard desktop —— */
  .shell--dashboard:not(.shell--app) .content {
    padding: 0 0 96px;
    max-width: none;
    width: 100%;
  }

  .dash {
    margin: 0;
    max-width: 100%;
    width: 100%;
  }

  .dash-hero {
    border-radius: 0 0 32px 32px;
  }

  .dash-hero:not([style*="--hero-banner-image"]) {
    height: 300px;
  }

  .dash-hero[style*="--hero-banner-image"] {
    height: clamp(220px, 24vw, 420px);
    background-size: contain;
    background-position: center center;
    background-color: #0a0a0c;
  }

  .dash-mid {
    margin-top: -32px;
    padding: 0 40px 24px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
  }

  .dash-mid .dash-groups {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }

  .dash-mid .dash-group {
    flex: 1 1 calc(50% - 6px);
    min-width: 280px;
  }

  .dash-actions {
    margin: 0 auto;
    max-width: 900px;
    gap: 16px;
  }

  .dash-action {
    padding: 18px 12px;
    font-size: 15px;
  }

  .dash-tiles {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    padding: 0 40px 20px;
    max-width: var(--shell-width);
    margin-left: auto;
    margin-right: auto;
  }

  .dash-finance {
    display: grid;
    grid-template-columns: minmax(280px, 380px) 1fr;
    gap: 20px;
    align-items: stretch;
    padding: 0 40px 40px;
    max-width: var(--shell-width);
    margin: 0 auto;
  }

  .dash-finance__top {
    max-width: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    grid-row: 1 / span 2;
  }

  .dash-finance-chip {
    min-height: 0;
    flex: 1;
  }

  .dash-finance__main {
    min-height: 280px;
  }

  .dash-finance__balance {
    font-size: 2.5rem;
  }

  .dash-header {
    padding: 16px 40px 12px;
  }

  .dash-header__logo {
    height: 64px;
  }

  /* —— Outras páginas —— */
  .bots-intro {
    padding: 12px 40px 8px;
    max-width: var(--shell-width);
    margin: 0 auto;
  }

  .bots-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    padding: 12px 40px 40px;
    max-width: var(--shell-width);
    margin: 0 auto;
  }

  .bot-card {
    padding: 20px 22px;
  }

  .bot-card__body {
    grid-template-columns: 96px 1fr;
    gap: 20px;
  }

  .bot-detail-head,
  .bots-alert,
  .bot-back {
    max-width: var(--shell-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 40px;
    padding-right: 40px;
  }

  .task-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding: 0 24px;
    max-width: var(--shell-width);
    margin: 0 auto;
  }

  .task-card {
    grid-template-columns: 140px 1fr;
    padding: 16px;
  }

  .task-modal__sheet {
    max-width: 760px;
  }

  .shell.login-shell .login-content {
    max-width: 460px;
    margin: 0 auto;
  }

  .bottom-nav {
    max-width: var(--shell-width);
    border-radius: 0;
  }
}

@media (min-width: 1400px) {
  :root {
    --shell-width: 1360px;
  }

  .task-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ============================================================
   Landing page (home) — layout nativo alta resolução
   ============================================================ */
body:has(.landing-shell) {
  padding: 0;
  margin: 0;
  align-items: stretch;
  overflow-x: hidden;
}

.shell.landing-shell {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  color: var(--brand-text);
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.shell.landing-shell .shell-inner {
  min-height: 100%;
  height: auto;
}

.page-landing {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
}

.page-landing--video-hero {
  position: relative;
}

.landing-header--overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: none;
}

.landing-header--nav-only {
  justify-content: flex-end;
}

.landing-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px clamp(20px, 4vw, 48px);
  background: var(--site-surface-strong);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(196, 168, 94, 0.14);
}

.landing-header__brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.landing-header__brand img {
  height: 42px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  display: block;
}

.landing-header__name {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--brand-gold-light);
}

.landing-header__nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.landing-header__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.landing-header__btn:hover {
  transform: translateY(-1px);
}

.landing-header__btn--ghost {
  color: var(--brand-accent-light);
  border: 1px solid var(--brand-border-accent);
  background: var(--brand-accent-soft);
}

.landing-header__btn--ghost:hover {
  background: rgba(74, 124, 108, 0.18);
}

.landing-header__btn--gold {
  color: var(--brand-btn-text);
  border: 1px solid var(--brand-gold-border);
  background: var(--brand-btn-gold);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
}

.landing-header__btn--gold:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}

.landing-pro {
  flex: 1;
}

.landing-pro__hero {
  position: relative;
  overflow: hidden;
  background: transparent;
}

.landing-pro__hero--video {
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
}

.landing-pro__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #000000;
}

.landing-pro__hero--video .landing-pro__bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  transform: none;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.landing-pro__bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.landing-pro__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.55) 45%,
    rgba(0, 0, 0, 0.72) 100%
  );
  pointer-events: none;
}

.landing-pro__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(96px, 14vh, 132px) clamp(20px, 4vw, 48px) clamp(48px, 8vh, 88px);
}

.landing-pro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 72px) clamp(20px, 4vw, 48px) clamp(40px, 6vw, 80px);
  min-height: calc(100vh - 72px);
  min-height: calc(100dvh - 72px);
}

.landing-pro__brand-logo {
  width: min(220px, 56vw);
  height: auto;
  margin-bottom: clamp(16px, 3vw, 28px);
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
}

.landing-pro__brand--minimal {
  display: inline-block;
  margin-bottom: clamp(16px, 3vw, 24px);
  text-decoration: none;
}

.landing-pro__logo-minimal {
  display: block;
  width: min(160px, 38vw);
  height: auto;
}

.landing-pro__logo-minimal--header {
  width: auto;
  height: 56px;
  max-width: 120px;
}

.landing-header__brand--minimal img {
  height: 56px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

.landing-pro__title {
  margin: 0 0 18px;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--brand-text);
}

.landing-pro__title-accent {
  display: block;
  color: var(--brand-gold-light);
}

.landing-pro__desc {
  margin: 0 0 28px;
  max-width: 620px;
  font-size: clamp(0.95rem, 1.35vw, 1.08rem);
  line-height: 1.65;
  color: var(--brand-text-muted);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.landing-pro__hero--video .landing-pro__title {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
}

.landing-pro__hero--video .landing-pro__badge {
  background: var(--brand-bg-elevated);
}

.landing-pro__hero--video .landing-pro__btn--secondary {
  background: var(--brand-bg-elevated);
}

.landing-pro__desc strong {
  color: var(--brand-text);
  font-weight: 700;
}

.landing-pro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.landing-pro__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.landing-pro__btn:hover {
  transform: translateY(-2px);
}

.landing-pro__btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.landing-pro__btn--primary {
  color: var(--brand-btn-text);
  background: var(--brand-btn-gold);
  border: 1px solid var(--brand-gold-border);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
}

.landing-pro__btn--primary:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.34);
}

.landing-pro__btn--secondary {
  color: var(--brand-accent-light);
  background: #0a0a0a;
  border: 1px solid var(--brand-border-accent);
  backdrop-filter: blur(8px);
}

.landing-pro__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.landing-pro__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand-text-muted);
  background: #0a0a0a;
  border: 1px solid var(--brand-border);
}

.landing-pro__badge-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
}

.landing-pro__badge-icon--gold {
  background: var(--brand-gold-soft);
  color: var(--brand-gold-light);
}

.landing-pro__badge-icon--green {
  background: var(--brand-accent-soft);
  color: var(--brand-accent-light);
}

.landing-pro__visual {
  position: relative;
  min-height: 420px;
}

.landing-pro__glow {
  position: absolute;
  inset: 10% 5% 5% 15%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 124, 108, 0.18), transparent 68%);
  filter: blur(24px);
  pointer-events: none;
}

.landing-pro__phone {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 720px;
  height: auto;
  margin: 0 auto;
  display: block;
  object-fit: contain;
}

.landing-pro__phone--video {
  border-radius: 12px;
  background: transparent;
}

.landing-pro__float {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(21, 27, 36, 0.88);
  border: 1px solid var(--brand-gold-border);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.landing-pro__float small {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand-text-subtle);
}

.landing-pro__float strong {
  display: block;
  font-size: 0.82rem;
  color: var(--brand-gold-light);
}

.landing-pro__float-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand-gold-soft);
  font-size: 1rem;
}

.landing-pro__float--cashback {
  top: 14%;
  left: 0;
}

.landing-pro__float--trophy {
  right: 0;
  bottom: 12%;
}

.landing-pro__features {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px) 48px;
}

.landing-pro__feature {
  padding: 22px 20px;
  border-radius: 16px;
  text-align: center;
  background: #0a0a0a;
  border: 1px solid var(--brand-border);
}

.landing-pro__feature-icon {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.landing-pro__feature h3 {
  margin: 0 0 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-gold-light);
}

.landing-pro__feature p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--brand-text-muted);
}

@media (max-width: 1023px) {
  .landing-pro__hero--video {
    align-items: flex-end;
  }

  .landing-pro__hero--video .landing-pro__bg-video {
    object-fit: cover;
    object-position: center center;
  }

  .landing-pro__overlay {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.5) 0%,
      rgba(0, 0, 0, 0.62) 50%,
      rgba(0, 0, 0, 0.82) 100%
    );
  }

  .landing-pro__content {
    padding-top: clamp(88px, 12vh, 108px);
    padding-bottom: clamp(36px, 6vh, 56px);
  }

  .landing-pro__grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 28px;
  }

  .landing-pro__visual {
    order: -1;
    min-height: 280px;
  }

  .landing-pro__phone {
    max-width: 100%;
  }

  .landing-pro__float--cashback {
    top: 8%;
    left: 4%;
  }

  .landing-pro__float--trophy {
    right: 4%;
    bottom: 8%;
  }

  .landing-pro__features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .landing-header {
    padding: 10px 14px;
  }

  .landing-header__brand img {
    height: 34px;
    max-width: 240px;
  }

  .landing-header__btn {
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.8rem;
  }

  .landing-pro__actions {
    flex-direction: column;
  }

  .landing-pro__btn {
    width: 100%;
  }

  .landing-pro__badges {
    flex-direction: column;
  }

  .landing-pro__badge {
    width: 100%;
  }

  .landing-pro__float {
    padding: 8px 10px;
  }

  .landing-pro__float strong {
    font-size: 0.72rem;
  }
}

@media (min-width: 1024px) {
  body:has(.landing-shell) {
    padding: 0;
    align-items: stretch;
  }

  .shell.landing-shell {
    max-width: none;
    margin: 0;
    width: 100%;
  }
}

@media (min-width: 1600px) {
  .landing-pro__grid {
    max-width: 1600px;
  }

  .landing-pro__phone {
    max-width: 820px;
  }
}

/* ============================================================
   Back office — layout sidebar + topbar (cores da landing)
   ============================================================ */
body:has(.shell--app) {
  padding: 0;
  margin: 0;
  align-items: stretch;
  color: #ffffff;
}

.shell.shell--app {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  border-radius: 0;
  box-shadow: none;
  color: #ffffff;
}

.shell.shell--app .shell-inner {
  min-height: 100vh;
  max-height: none;
  overflow: visible;
}

.app-shell {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

.app-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  min-height: 100vh;
  margin-left: var(--app-sidebar-width);
  padding-left: var(--app-content-gutter);
  padding-right: var(--app-content-gutter);
  box-sizing: border-box;
}

.app-content {
  flex: 1;
  width: 100%;
  max-width: var(--app-content-max);
  padding: 0 0 24px;
  box-sizing: border-box;
}

.shell--app .app-content.content {
  max-width: var(--app-content-max);
  padding-top: 0;
  padding-bottom: 24px;
}

/* Sidebar */
.app-sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: var(--app-sidebar-width);
  height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  padding: 18px 14px 18px 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.92) 0%, rgba(10, 8, 5, 0.88) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-right: 1px solid rgba(196, 168, 94, 0.22);
  box-shadow: 1px 0 0 rgba(196, 168, 94, 0.08);
  overflow-y: auto;
  z-index: 50;
  box-sizing: border-box;
}

.app-sidebar__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  text-decoration: none;
}

.app-sidebar__brand img {
  max-height: 144px;
  max-width: 100%;
  object-fit: contain;
}

.app-sidebar__brand span {
  font-weight: 800;
  font-size: 1rem;
  background: linear-gradient(135deg, #c4a85e, #5d9180);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.app-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.app-sidebar__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 12px;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.15s, color 0.15s, opacity 0.15s;
}

.app-sidebar__link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.app-sidebar__link--active {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: none;
}

.app-sidebar__icon {
  width: 20px;
  height: 20px;
  border-radius: 0;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: transparent !important;
  color: #ffffff;
}

.app-sidebar__icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.6;
}

.app-sidebar__icon--blue,
.app-sidebar__icon--cyan,
.app-sidebar__icon--pink,
.app-sidebar__icon--slate,
.app-sidebar__icon--green,
.app-sidebar__icon--orange,
.app-sidebar__icon--gold {
  background: transparent;
  color: #ffffff;
}

.app-sidebar__link--logout {
  margin-top: 4px;
}

.app-sidebar__link--logout:hover {
  background: rgba(248, 113, 113, 0.1);
  color: #fecaca;
}

/* Topbar */
.app-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: var(--app-content-max);
  padding: 12px 0;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(196, 168, 94, 0.1);
}

.app-topbar__menu {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(74, 124, 108, 0.2);
  border-radius: 10px;
  background: rgba(74, 124, 108, 0.06);
  color: #5d9180;
  cursor: pointer;
}

.app-topbar__menu svg {
  width: 20px;
  height: 20px;
}

.app-topbar__tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
}

.app-topbar__tab {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
}

.app-topbar__tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
}

.app-topbar__tab--active {
  color: #5d9180;
  background: rgba(74, 124, 108, 0.12);
  border-color: rgba(74, 124, 108, 0.28);
}

.app-topbar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.app-topbar__deposit {
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--brand-btn-text);
  background: var(--brand-btn-gold);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.app-topbar__balance {
  display: flex;
  align-items: center;
  padding: 0;
  line-height: 1;
  border: none;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.app-topbar__balance-value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  color: #3ecf8e;
  border: 1px solid rgba(93, 145, 128, 0.45);
  background: rgba(74, 124, 108, 0.18);
  box-shadow: inset 0 0 0 1px rgba(62, 207, 142, 0.08);
  transition: background 0.15s, border-color 0.15s, padding 0.15s;
}

.app-topbar__balance-value.is-visible {
  padding: 0 12px;
}

.app-topbar__balance-amount {
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
}

.app-topbar__balance-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.app-topbar__balance:hover .app-topbar__balance-value {
  background: rgba(74, 124, 108, 0.28);
  border-color: rgba(93, 145, 128, 0.65);
}

.app-topbar__user {
  position: relative;
}

.app-topbar__user-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  cursor: pointer;
  padding: 6px 10px 6px 6px;
  border-radius: 999px;
  border: 1px solid rgba(74, 124, 108, 0.18);
  background: rgba(255, 255, 255, 0.03);
}

.app-topbar__user-btn::-webkit-details-marker {
  display: none;
}

.app-topbar__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--brand-btn-text);
  background: linear-gradient(135deg, #c4a85e, #4a7c6c);
}

.app-topbar__user-info {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}

.app-topbar__user-info strong {
  font-size: 0.82rem;
  color: #f8fafc;
}

.app-topbar__user-info small {
  font-size: 0.7rem;
  color: #ffffff;
}

.app-topbar__chevron {
  width: 16px;
  height: 16px;
  color: #ffffff;
}

.app-topbar__dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 180px;
  padding: 6px;
  border-radius: 12px;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.app-topbar__dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
}

.app-topbar__dropdown a:hover {
  background: rgba(74, 124, 108, 0.1);
  color: #5d9180;
}

.app-topbar__dropdown-danger {
  color: #f87171 !important;
}

/* Dashboard back office */
.bo-dashboard {
  position: relative;
  width: 100%;
  max-width: var(--app-content-max);
  margin: 0 auto;
  padding: 0 0 28px;
  isolation: isolate;
}

.bo-dashboard::before,
.bo-dashboard::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: -1;
  opacity: 0.14;
  background-repeat: no-repeat;
  background-size: contain;
}

.bo-dashboard::before {
  width: 220px;
  height: 220px;
  left: calc(var(--app-sidebar-width) + var(--app-main-gap));
  bottom: 48px;
  background-image: radial-gradient(circle at center, rgba(74, 124, 108, 0.35), transparent 68%);
}

.bo-dashboard::after {
  width: 180px;
  height: 180px;
  right: 24px;
  top: 120px;
  background-image: radial-gradient(circle at center, rgba(196, 168, 94, 0.22), transparent 70%);
}

.bo-banner {
  position: relative;
  min-height: 240px;
  margin: 0 0 20px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(196, 168, 94, 0.18);
  background: linear-gradient(135deg, rgba(8, 6, 4, 0.92) 0%, rgba(18, 14, 8, 0.88) 55%, rgba(0, 0, 0, 0.9) 100%);
}

.bo-banner--image {
  min-height: 0;
  line-height: normal;
}

.bo-banner--flag {
  min-height: clamp(200px, 22vw, 280px);
}

.bo-banner--flag .bo-banner__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.bo-banner--hero {
  min-height: 0;
  line-height: 0;
}

.bo-banner--hero .bo-banner__img {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  object-fit: unset;
  object-position: initial;
}

.bo-banner--copy-right {
  min-height: 0;
  aspect-ratio: 1024 / 438;
}

.bo-banner--copy-right .bo-banner__img {
  object-position: center left;
}

.bo-banner--copy-right .bo-banner__inner {
  margin-left: auto;
  justify-content: flex-end;
  max-width: min(44%, 500px);
  padding: 24px 32px 24px 16px;
  text-align: right;
}

.bo-banner--flag .bo-banner__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 100%;
  padding: 24px 28px;
  max-width: min(56%, 520px);
}

.bo-banner--flag .bo-banner__tag {
  margin-bottom: 10px;
  padding: 6px 14px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

.bo-banner--flag h2 {
  margin-bottom: 8px;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  line-height: 1.15;
}

.bo-banner--flag p {
  font-size: clamp(0.8rem, 1.2vw, 0.92rem);
  line-height: 1.5;
  max-width: 100%;
}

.bo-banner__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.bo-banner__glow {
  position: absolute;
  right: 18%;
  top: 50%;
  width: 220px;
  height: 220px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 124, 108, 0.16), transparent 70%);
  filter: blur(8px);
  pointer-events: none;
}

.bo-banner__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(74, 124, 108, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 124, 108, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.45;
  pointer-events: none;
}

.bo-banner__inner {
  position: relative;
  z-index: 1;
  padding: 26px 28px 30px;
}

.bo-banner__copy {
  min-width: 0;
}

.bo-banner__tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-gold-light);
  background: var(--brand-gold-soft);
  border: 1px solid var(--brand-gold-border);
}

.bo-banner h2 {
  margin: 0 0 8px;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--brand-text);
}

.bo-banner p {
  margin: 0;
  max-width: 620px;
  color: var(--brand-text-muted);
  font-size: clamp(0.88rem, 1.4vw, 0.98rem);
  line-height: 1.55;
}

.bo-banner--copy-right h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(0.95rem, 1.8vw, 1.45rem);
  line-height: 1.25;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.65);
}

@media (max-width: 767px) {
  .bo-banner__inner {
    padding: 20px 18px 22px;
  }

  .bo-banner--flag {
    min-height: 200px;
  }

  .bo-banner--hero,
  .bo-banner--copy-right {
    min-height: 0;
  }

  .bo-banner--flag .bo-banner__inner {
    max-width: 62%;
    padding: 12px 14px;
  }

  .bo-banner--copy-right .bo-banner__inner {
    max-width: 48%;
    padding: 14px 16px 14px 8px;
  }

  .bo-banner--copy-right h2 {
    font-size: clamp(0.72rem, 3.2vw, 0.95rem);
    line-height: 1.3;
  }

  .bo-banner--flag .bo-banner__tag {
    padding: 4px 10px;
    font-size: 0.62rem;
  }

  .bo-banner--flag h2 {
    font-size: 0.95rem;
  }

  .bo-banner--flag p {
    font-size: 0.68rem;
    line-height: 1.4;
  }
}

.bo-section__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.bo-section__head h2 {
  margin: 0 0 4px;
  font-size: 1.15rem;
  color: #f8fafc;
}

.bo-section__head p {
  margin: 0;
  font-size: 0.85rem;
  color: #ffffff;
}

.bo-section__badges {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.bo-badge {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #5d9180;
  background: rgba(74, 124, 108, 0.1);
  border: 1px solid rgba(74, 124, 108, 0.22);
}

.bo-badge--gold {
  color: #c4a85e;
  background: rgba(166, 139, 75, 0.1);
  border-color: rgba(166, 139, 75, 0.28);
}

.bo-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.bo-video-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(12, 10, 8, 0.72);
  border: 1px solid rgba(196, 168, 94, 0.14);
  transition: transform 0.15s, box-shadow 0.15s;
}

.bo-video-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.bo-video-card--hot {
  border-color: var(--brand-border-accent);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28);
}

.bo-video-card__tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #e8edf3;
  background: var(--brand-accent);
}

.bo-video-card__thumb {
  position: relative;
  display: block;
  height: 140px;
  background-size: cover;
  background-position: center;
  text-decoration: none;
}

.bo-video-card__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(5, 8, 7, 0.85) 100%);
}

.bo-video-card__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 1;
}

.bo-video-card__play svg {
  width: 42px;
  height: 42px;
  color: rgba(255, 255, 255, 0.9);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

.bo-video-card__body {
  padding: 12px;
}

.bo-video-card__body h3 {
  margin: 0 0 8px;
  font-size: 0.88rem;
  color: #f8fafc;
  line-height: 1.3;
}

.bo-video-card__meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  font-size: 0.72rem;
  color: #ffffff;
}

.bo-video-card__reward {
  color: #5d9180;
  font-weight: 700;
}

.bo-video-card__cta {
  display: block;
  text-align: center;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--brand-btn-text);
  background: var(--brand-btn-gold);
}

.bo-video-card__status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  padding: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #ffffff;
}

.bo-video-card__status--done {
  color: #ffffff;
}

.bo-video-card__verified {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.bo-video-card--done {
  opacity: 0.85;
}

.bo-platform-block {
  margin-bottom: 28px;
}

.bo-platform-block:last-child {
  margin-bottom: 0;
}

.bo-platform-block__head {
  margin: 0 0 14px;
}

.bo-platform-block__head h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
}

.bo-platform-block__head p {
  margin: 0;
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.45;
}

.bo-video-card__platform {
  position: absolute;
  top: 10px;
  right: 10px;
  left: auto;
  z-index: 2;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
}

.bo-video-card__platform--youtube {
  background: rgba(185, 28, 28, 0.88);
}

.bo-video-card__platform--instagram {
  background: linear-gradient(135deg, #833ab4, #fd1d1d);
}

.bo-video-card__platform--kwai {
  background: linear-gradient(135deg, #ff6b00, #ff9500);
}

.bo-video-card__platform--tiktok {
  background: linear-gradient(135deg, #010101, #69c9d0);
}

.bo-video-card__platform--x {
  background: linear-gradient(135deg, #15202b, #1d9bf0);
}

.bo-video-card__platform--truth_social {
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
}

.task-platform-block {
  margin-bottom: 24px;
}

.task-platform-block__head h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 800;
}

.task-platform-block__head p {
  margin: 0 0 12px;
  font-size: 0.85rem;
  color: #94a3b8;
}

.task-card__platform {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
}

.task-card--instagram .task-card__platform,
.task-card--kwai .task-card__platform,
.task-card--tiktok .task-card__platform,
.task-card--x .task-card__platform,
.task-card--truth_social .task-card__platform {
  background: rgba(0, 0, 0, 0.55);
}

.task-card--youtube .task-card__platform {
  background: rgba(185, 28, 28, 0.9);
}

.task-card__thumb {
  position: relative;
}

button.bo-video-card__thumb {
  width: 100%;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: left;
}

button.bo-video-card__cta {
  width: 100%;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.bo-video-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s, visibility 0.2s;
}

.bo-video-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.bo-video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 6, 5, 0.82);
  backdrop-filter: blur(4px);
}

.bo-video-modal__dialog {
  position: relative;
  width: min(640px, 100%);
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 20px 18px 22px;
  border-radius: 18px;
  background: #0c1210;
  border: 1px solid rgba(74, 124, 108, 0.22);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55);
}

.bo-video-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  cursor: pointer;
  display: grid;
  place-items: center;
}

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

.bo-video-modal__title {
  margin: 0 36px 4px 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #f1f5f9;
}

.bo-video-modal__reward {
  margin: 0 0 14px;
  font-size: 0.82rem;
  color: #5d9180;
  font-weight: 600;
}

.bo-video-watch {
  position: relative;
}

.bo-video-watch__ring {
  --progress: 0deg;
  padding: 4px;
  border-radius: 14px;
  background: conic-gradient(
    #a68b4b var(--progress),
    rgba(74, 124, 108, 0.22) var(--progress)
  );
  transition: background 0.25s linear;
}

.bo-video-watch__inner {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #000000;
  aspect-ratio: 16 / 9;
}

.bo-video-watch__frame {
  position: absolute;
  inset: 0;
}

.bo-video-watch__frame iframe,
.bo-video-watch__frame video,
.bo-video-watch__frame > div {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.bo-video-watch__frame video {
  object-fit: contain;
  background: #000000;
}

.bo-video-watch__overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(5, 10, 8, 0.88);
  color: #e8edf3;
  text-align: center;
  padding: 16px;
}

.bo-video-watch__overlay[hidden] {
  display: none !important;
}

.bo-video-watch__overlay svg {
  width: 42px;
  height: 42px;
  color: #a68b4b;
}

.bo-video-watch__overlay strong {
  font-size: 1.1rem;
}

.bo-video-watch__overlay span {
  font-size: 0.85rem;
  color: #5d9180;
}

.bo-video-watch__bar {
  margin-top: 8px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.bo-video-watch__bar-fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #4a7c6c, #a68b4b);
  transition: width 0.25s linear;
}

.bo-video-watch__pct {
  display: block;
  margin-top: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  text-align: right;
}

.bo-video-watch__hint {
  margin: 12px 0 0;
  font-size: 0.8rem;
  color: #ffffff;
  line-height: 1.45;
}

.bo-video-social {
  margin-top: 14px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(74, 124, 108, 0.22);
}

.bo-video-social__title {
  margin: 0 0 6px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
}

.bo-video-social__status {
  margin: 0 0 12px;
  font-size: 0.78rem;
  color: #5d9180;
}

.bo-video-social__note {
  margin: 8px 0 0;
  font-size: 0.72rem;
  color: #ffffff;
}

.bo-video-social__google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  background: #fff;
  color: #1f2937;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
}

.bo-video-social__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bo-video-social__btn {
  width: 100%;
  padding: 10px 14px;
  border: none;
  border-radius: 10px;
  background: rgba(74, 124, 108, 0.2);
  color: #e8edf3;
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
  font-family: inherit;
}

.bo-video-social__btn.is-done,
.bo-video-social__btn:disabled {
  opacity: 0.75;
  cursor: default;
}

.bo-video-social__btn--outline {
  background: transparent;
  border: 1px solid rgba(74, 124, 108, 0.35);
}

.bo-video-social__btn--gold {
  background: linear-gradient(135deg, #c4a85e, #a68b4b);
  color: #000000;
}

.bo-video-social__comment textarea {
  width: 100%;
  margin-bottom: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(74, 124, 108, 0.28);
  background: rgba(5, 8, 7, 0.65);
  color: #e8edf3;
  font-family: inherit;
  font-size: 0.84rem;
  resize: vertical;
  box-sizing: border-box;
}

.bo-video-watch__empty,
.bo-video-watch__fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

.bo-video-watch__fallback a {
  color: #a68b4b;
  font-weight: 700;
  text-decoration: none;
}

.bo-empty {
  padding: 48px 24px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px dashed rgba(74, 124, 108, 0.22);
}

.bo-empty p {
  margin: 0 0 14px;
  color: #ffffff;
}

.bo-under-construction {
  margin-top: 8px;
  padding: 48px 24px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(74, 124, 108, 0.22);
}

.bo-btn {
  display: inline-flex;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.88rem;
}

.bo-btn--gold {
  color: var(--brand-btn-text);
  background: var(--brand-btn-gold);
}

.bo-btn--outline {
  color: #5d9180;
  border: 1px solid rgba(74, 124, 108, 0.35);
}

.bo-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 18px;
}

.bo-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(12, 10, 8, 0.72);
  border: 1px solid rgba(196, 168, 94, 0.14);
  min-height: 88px;
}

.bo-stat__ring {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
}

.bo-stat__ring svg {
  width: 100%;
  height: 100%;
  display: block;
}

.bo-stat__ring-track {
  stroke: rgba(74, 124, 108, 0.18);
}

.bo-stat__ring-fill {
  stroke: #5d9180;
  stroke-linecap: round;
}

.bo-stat__body {
  min-width: 0;
}

.bo-stat span {
  display: block;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 4px;
}

.bo-stat strong {
  font-size: 1.2rem;
  color: #f8fafc;
  letter-spacing: -0.02em;
}

.bo-stat--highlight {
  border-color: rgba(93, 145, 128, 0.45);
  background: rgba(74, 124, 108, 0.14);
}

.bo-stat--highlight .bo-stat__ring-fill {
  stroke: #3ecf8e;
}

.bo-stat--highlight span,
.bo-stat--highlight strong {
  color: #3ecf8e;
}

.bo-workspace {
  display: grid;
  grid-template-columns: minmax(210px, 250px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.bo-workspace__main {
  min-width: 0;
}

.bo-video-sidebar {
  border-radius: 16px;
  padding: 16px 14px;
  background: rgba(12, 10, 8, 0.72);
  border: 1px solid rgba(196, 168, 94, 0.14);
}

.bo-video-sidebar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.bo-video-sidebar__head h3 {
  margin: 0;
  font-size: 0.95rem;
  color: #f8fafc;
}

.bo-video-sidebar__count {
  font-size: 0.72rem;
  font-weight: 700;
  color: #c4a85e;
  white-space: nowrap;
}

.bo-video-sidebar__progress {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  margin-bottom: 14px;
}

.bo-video-sidebar__progress-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #5d9180, #3ecf8e);
  transition: width 0.25s ease;
}

.bo-video-sidebar__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bo-video-sidebar__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(74, 124, 108, 0.1);
}

.bo-video-sidebar__item--active {
  cursor: pointer;
  border-color: rgba(74, 124, 108, 0.28);
  transition: border-color 0.15s, background 0.15s;
}

.bo-video-sidebar__item--active:hover {
  background: rgba(74, 124, 108, 0.12);
  border-color: rgba(74, 124, 108, 0.35);
}

.bo-video-sidebar__item--locked {
  opacity: 0.72;
}

.bo-video-sidebar__item--done {
  opacity: 0.85;
}

.bo-video-sidebar__num {
  font-size: 0.8rem;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bo-video-sidebar__tag {
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.bo-video-sidebar__tag--gold {
  color: #c4a85e;
  background: rgba(196, 168, 94, 0.12);
  border: 1px solid rgba(196, 168, 94, 0.28);
}

.bo-video-sidebar__tag--green {
  color: #3ecf8e;
  background: rgba(62, 207, 142, 0.1);
  border: 1px solid rgba(62, 207, 142, 0.28);
}

.bo-video-sidebar__tag--done {
  color: #94a3b8;
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.22);
}

.bo-section {
  border-radius: 16px;
  padding: 18px 18px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(74, 124, 108, 0.12);
}

.bo-footer {
  margin-top: 28px;
  padding: 16px 8px 8px;
  text-align: center;
}

.bo-footer p {
  margin: 0;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.42);
  letter-spacing: 0.02em;
}

/* Páginas internas no tema escuro */
.shell--app .content,
.shell--app .app-content {
  background: transparent;
}

.shell--app .card,
.shell--app .topbar,
.shell--app .page-header {
  background: rgba(12, 10, 8, 0.72);
  border-color: rgba(196, 168, 94, 0.16);
  color: #ffffff;
}

.shell--app .msg {
  margin: 12px auto 0;
  width: min(100% - 2 * var(--app-content-gutter), var(--app-content-max));
  background: rgba(74, 124, 108, 0.1);
  border-color: rgba(74, 124, 108, 0.3);
  color: #ffffff;
}

.shell--app input,
.shell--app select,
.shell--app textarea {
  background: rgba(5, 8, 7, 0.8);
  border-color: rgba(74, 124, 108, 0.25);
  color: #f8fafc;
}

.shell--app .btn,
.shell--app .btn-primary {
  background: var(--brand-btn-gold);
  color: var(--brand-btn-text);
  border: none;
}

@media (max-width: 1023px) {
  body:has(.shell--app) {
    padding: 0;
  }

  .shell.shell--app {
    max-width: none;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .app-main {
    flex: 1;
    margin-left: 0;
    align-items: stretch;
    padding-left: var(--app-content-gutter);
    padding-right: var(--app-content-gutter);
  }

  .app-sidebar {
    width: min(var(--app-sidebar-width), 86vw);
    transform: translateX(-105%);
    transition: transform 0.2s ease;
    box-shadow: 8px 0 32px rgba(0, 0, 0, 0.45);
  }

  .app-shell--sidebar-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 45;
  }

  .app-shell--sidebar-open .app-sidebar {
    transform: translateX(0);
  }

  .app-topbar__menu {
    display: grid;
    place-items: center;
  }

  .app-topbar__balance,
  .app-topbar__user-info {
    display: none;
  }

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

  .bo-workspace {
    grid-template-columns: 1fr;
  }

  .bo-section__head {
    flex-direction: column;
  }
}

@media (min-width: 1024px) {
  body:has(.shell--app) {
    padding: 0;
    align-items: stretch;
  }

  .shell.shell--app {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  .app-main {
    flex: 1;
    margin-left: var(--app-sidebar-width);
    align-items: center;
    padding-left: var(--app-content-gutter);
    padding-right: var(--app-content-gutter);
  }
}

/* Textos brancos — tema escuro (hardcoded restantes) */
html[data-theme="dark"] .dep-custom__cur--icon,
html[data-theme="dark"] .bo-video-card__reward,
html[data-theme="dark"] .bo-video-card__status--done,
html[data-theme="dark"] .bo-video-social__status,
html[data-theme="dark"] .app-topbar__tab--active {
  color: #ffffff;
}
