/* =====================================================================
   Palpitano — design system
   Tema escuro de propósito (app de uso noturno, foco em números).
   ===================================================================== */
:root {
  /* superfícies */
  --bg: #0b1220;
  --bg-2: #0e1729;
  --surface: #111827;
  --surface-2: #172033;
  --surface-3: #1f2a3e;
  --line: rgba(120, 160, 255, .10);
  --line-2: rgba(120, 160, 255, .18);
  --overlay: rgba(11, 18, 32, .82);

  /* texto */
  --text: #f2f5f4;
  --text-2: #9ca3af;
  --text-3: #6b7280;

  /* marca e status */
  --brand: #2563eb;
  --brand-hover: #3b82f6;
  --brand-ink: #ffffff;
  --brand-text: #4da3ff;   /* azul claro para texto e ícones sobre fundo escuro (contraste AA) */
  --brand-2: #1e40af;
  --brand-cyan: #0bc2fd;
  --brand-grad: linear-gradient(135deg, #0bc2fd 0%, #2563eb 55%, #1e40af 100%);
  --brand-soft: rgba(59, 130, 246, .15);
  --brand-line: rgba(59, 130, 246, .45);
  --pos: #34d07c;
  --neg: #ff6b6b;
  --neg-soft: rgba(255, 107, 107, .12);
  --warn: #f5b546;
  --warn-soft: rgba(245, 181, 70, .12);
  --vip: #e9b949;
  --vip-soft: rgba(233, 185, 73, .13);
  --info: #5b9bff;

  /* forma */
  --r-xs: 6px;
  --r-sm: 9px;
  --r: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .35);
  --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 10px 30px rgba(0, 0, 0, .28);
  --ring: 0 0 0 3px rgba(59, 130, 246, .28);

  /* medidas */
  --tabbar-h: 64px;
  --topbar-h: 60px;
  --sidebar-w: 256px;
  --col: 720px;
  --gutter: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body {
  font: 400 15px/1.5 var(--font);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  min-height: 100dvh; -webkit-tap-highlight-color: transparent;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
svg { display: block; flex-shrink: 0; }
h1, h2, h3, h4, p { margin: 0; }
[hidden] { display: none !important; }
.num { font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: var(--r-sm); }
::selection { background: rgba(59, 130, 246, .35); }
.i { width: 20px; height: 20px; }
.i-sm { width: 16px; height: 16px; }
.i-xs { width: 14px; height: 14px; }

/* ---------------------------------------------------------------- layout */
.layout { min-height: 100dvh; }
.screen { min-height: 100dvh; display: flex; flex-direction: column; }
.screen.has-tabbar { padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); }
.screen.has-sticky { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
.content { flex: 1; width: 100%; max-width: var(--col); margin: 0 auto; padding: 8px var(--gutter) 32px; }
.content.flush { padding: 0; max-width: none; }

.topbar {
  position: sticky; top: 0; z-index: 20;
  padding-top: env(safe-area-inset-top);
  background: var(--overlay); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.topbar.scrolled, .topbar.solid { border-bottom-color: var(--line); }
.topbar-in { height: var(--topbar-h); max-width: var(--col); margin: 0 auto; display: flex; align-items: center; gap: 8px; padding: 0 10px 0 var(--gutter); }
.topbar.has-back .topbar-in { padding-left: 6px; }
.topbar-title { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar-title h1 { font-size: 22px; font-weight: 750; letter-spacing: -.025em; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar.has-back .topbar-title h1 { font-size: 17px; font-weight: 650; letter-spacing: -.01em; }
.topbar-title small { font-size: 12.5px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-actions { display: flex; align-items: center; gap: 4px; }

.icon-btn {
  width: 40px; height: 40px; border-radius: var(--r); display: inline-grid; place-items: center;
  color: var(--text-2); transition: background .15s, color .15s;
}
.icon-btn:hover { background: var(--surface-2); color: var(--text); }
.icon-btn:active { transform: scale(.94); }
.icon-btn .i { width: 21px; height: 21px; }

/* barra inferior (celular) */
.tabbar {
  position: fixed; inset: auto 0 0 0; z-index: 30;
  height: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); padding: 0 8px env(safe-area-inset-bottom);
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(14, 17, 18, .94); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-top: 1px solid var(--line);
}
.tab { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--text-3); font-size: 11px; font-weight: 600; letter-spacing: .01em; }
.tab .i { width: 22px; height: 22px; transition: transform .2s var(--ease); }
.tab.on { color: var(--text); }
.tab.on .tab-ic { background: var(--brand-soft); color: var(--brand-text); }
.tab-ic { width: 52px; height: 30px; border-radius: 15px; display: grid; place-items: center; transition: background .2s; }
.tab:active .i { transform: scale(.9); }
.count-badge {
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--brand); color: var(--brand-ink);
  font-size: 11px; font-weight: 750; display: inline-grid; place-items: center; font-variant-numeric: tabular-nums;
}
.tab .count-badge { position: absolute; top: 6px; left: calc(50% + 8px); box-shadow: 0 0 0 2px var(--bg-2); }

/* barra lateral (computador) */
.sidebar { display: none; }
@media (min-width: 960px) {
  .layout { display: grid; grid-template-columns: var(--sidebar-w) minmax(0, 1fr); }
  .sidebar {
    display: flex; flex-direction: column; gap: 4px; position: sticky; top: 0; height: 100dvh;
    padding: 22px 14px 18px; border-right: 1px solid var(--line); background: var(--bg-2);
  }
  .tabbar { display: none; }
  .screen.has-tabbar { padding-bottom: 0; }
  .screen.has-sticky { padding-bottom: 96px; }
  .content { padding: 16px 32px 48px; }
  .topbar-in { padding: 0 24px 0 32px; }
  .topbar.has-back .topbar-in { padding-left: 22px; }
  :root { --col: 760px; }
}
.side-brand { display: flex; align-items: center; gap: 10px; padding: 4px 10px 22px; font-weight: 800; font-size: 19px; letter-spacing: -.03em; }
.side-brand .logo-mark { height: 28px; } .side-brand .wordmark { height: 21px; }
.side-link { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 12px; border-radius: var(--r); color: var(--text-2); font-weight: 550; transition: background .15s, color .15s; }
.side-link:hover { background: var(--surface); color: var(--text); }
.side-link.on { background: var(--surface-2); color: var(--text); }
.side-link.on .i { color: var(--brand-text); }
.side-link .count-badge { margin-left: auto; }
.side-cta { margin: 14px 0 0; }
.side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.side-user { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: var(--r); border: 1px solid var(--line); }
.side-user:hover { background: var(--surface); }
.side-user b { display: block; font-size: 14px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-user small { font-size: 12px; color: var(--text-3); }
.side-user > div { min-width: 0; flex: 1; }
.side-rg { font-size: 11.5px; color: var(--text-3); padding: 0 10px; line-height: 1.4; }

/* ------------------------------------------------------------- tipografia */
.h-section { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 28px 0 12px; }
.h-section:first-child { margin-top: 8px; }
.h-section h2 { font-size: 17px; font-weight: 700; letter-spacing: -.015em; }
.h-section p, .h-section a { font-size: 13px; color: var(--text-3); }
.h-section a { color: var(--text-2); font-weight: 600; }
.lbl { font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-3); }
.muted { color: var(--text-2); }
.faint { color: var(--text-3); }
.pos, .up { color: var(--brand-text); }
.neg { color: var(--neg); }

/* --------------------------------------------------------------- botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 20px; border-radius: var(--r); font-weight: 650; font-size: 15px; letter-spacing: -.005em;
  background: var(--surface-2); color: var(--text); border: 1px solid var(--line-2); white-space: nowrap;
  transition: background .15s, border-color .15s, transform .1s, opacity .15s; user-select: none;
}
.btn:hover { background: var(--surface-3); }
.btn:active { transform: scale(.98); }
.btn .i { width: 18px; height: 18px; }
.btn-primary { background: var(--brand) linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0)); border-color: var(--brand); color: var(--brand-ink); box-shadow: 0 6px 18px -6px rgba(37, 99, 235, .6); }
.btn-primary:hover { background-color: var(--brand-hover); border-color: var(--brand-hover); }
.btn-vip { background: var(--vip); border-color: var(--vip); color: #261a00; }
.btn-vip:hover { background: #f2c75e; }
.btn-ghost { background: transparent; border-color: var(--line-2); }
.btn-ghost:hover { background: var(--surface); }
.btn-quiet { background: transparent; border-color: transparent; color: var(--text-2); }
.btn-quiet:hover { background: var(--surface); color: var(--text); }
.btn-danger { background: transparent; border-color: rgba(255, 107, 107, .35); color: var(--neg); }
.btn-danger:hover { background: var(--neg-soft); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13.5px; border-radius: var(--r-sm); gap: 6px; }
.btn-sm .i { width: 16px; height: 16px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-busy { opacity: .55; pointer-events: none; }
.btn-row { display: flex; gap: 10px; }
.btn-row > .btn { flex: 1; }

/* -------------------------------------------------------------- avatares */
.avatar {
  --sz: 44px; width: var(--sz); height: var(--sz); border-radius: 50%; flex-shrink: 0; position: relative;
  display: inline-grid; place-items: center; color: #fff; font-weight: 700; font-size: calc(var(--sz) * .36); letter-spacing: .01em;
  background: radial-gradient(120% 120% at 25% 15%, color-mix(in srgb, var(--av) 82%, #fff) 0%, var(--av) 48%, color-mix(in srgb, var(--av) 70%, #000) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
  text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
}
.avatar.sq { border-radius: 28%; }
.avatar .dot-unread { position: absolute; right: -1px; top: -1px; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 2.5px var(--bg); }

/* ---------------------------------------------------------- badges, chips */
.badge { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 650; background: var(--surface-2); color: var(--text-2); white-space: nowrap; }
.badge .i { width: 13px; height: 13px; }
.badge-free { background: var(--brand-soft); color: var(--brand-text); }
.badge-vip { background: var(--vip-soft); color: var(--vip); }
.badge-owner { background: rgba(91, 155, 255, .13); color: var(--info); }
.badge-outline { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }

.chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter) 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  height: 36px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-size: 13.5px; font-weight: 600; color: var(--text-2); background: var(--surface); border: 1px solid var(--line);
  transition: background .15s, color .15s, border-color .15s;
}
.chip:hover { color: var(--text); border-color: var(--line-2); }
.chip.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip .count { font-size: 12px; opacity: .7; font-variant-numeric: tabular-nums; }

.segmented { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.segmented a, .segmented button, .segmented label { height: 36px; border-radius: var(--r-sm); display: grid; place-items: center; font-size: 14px; font-weight: 600; color: var(--text-2); transition: background .15s, color .15s; cursor: pointer; text-align: center; }
.segmented .on, .segmented input:checked + span { background: var(--surface-3); color: var(--text); box-shadow: var(--shadow-sm); }
.segmented label { position: relative; }
.segmented label input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label span { width: 100%; height: 100%; display: grid; place-items: center; border-radius: var(--r-sm); }
.segmented label:has(input:focus-visible) span { box-shadow: var(--ring); }

/* ---------------------------------------------------------------- cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.card-pad { padding: 18px; }
.card + .card, .stack > * + * { margin-top: 12px; }
.card-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card-title h3 { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }

/* --------------------------------------------------------- estados vazios */
.empty { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 56px 24px; }
.empty-ic { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--surface-2); color: var(--text-2); margin-bottom: 18px; box-shadow: inset 0 0 0 1px var(--line); }
.empty-ic .i { width: 28px; height: 28px; }
.empty h3 { font-size: 17px; font-weight: 700; letter-spacing: -.015em; margin-bottom: 6px; }
.empty p { color: var(--text-2); max-width: 320px; margin-bottom: 22px; }
.empty.compact { padding: 32px 16px; }
.empty.compact p { margin-bottom: 0; }

/* ------------------------------------------------------------ esqueletos */
.sk { background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 40%, var(--surface) 80%); background-size: 300% 100%; animation: shimmer 1.4s linear infinite; border-radius: var(--r-sm); }
.sk-row { display: flex; gap: 12px; align-items: center; padding: 14px 0; }
.sk-circle { width: 48px; height: 48px; border-radius: 50%; }
.sk-lines { flex: 1; display: grid; gap: 8px; }
.sk-line { height: 12px; }
.sk-card { height: 180px; border-radius: var(--r-lg); margin-bottom: 12px; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -200% 0; } }

.splash { min-height: 100dvh; display: grid; place-items: center; }
.splash-logo { width: 64px; height: 64px; background: url(/brand/symbol.png) center / contain no-repeat; animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(.92); opacity: .7; } }

/* ----------------------------------------------------------------- toast */
#toast {
  position: fixed; left: 50%; z-index: 100; bottom: calc(var(--tabbar-h) + 16px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 10px; max-width: min(420px, calc(100% - 32px));
  padding: 12px 16px; border-radius: var(--r); background: #f2f5f4; color: #0b1220; font-weight: 600; font-size: 14px;
  box-shadow: var(--shadow); transform: translate(-50%, 16px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .25s var(--ease);
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }
#toast .i { width: 18px; height: 18px; color: #16a34a; }
#toast.error { background: #2a1416; color: #ffd4d4; box-shadow: inset 0 0 0 1px rgba(255, 107, 107, .35), var(--shadow); }
#toast.error .i { color: var(--neg); }
@media (min-width: 960px) { #toast { bottom: auto; top: 20px; left: calc(50% + var(--sidebar-w) / 2); transform: translate(-50%, -16px); } }

/* ------------------------------------------------------------ formulários */
.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field > span:first-child, .field-label { font-size: 13px; font-weight: 600; color: var(--text-2); display: flex; justify-content: space-between; gap: 8px; }
.field-label small, .field > span:first-child small { font-weight: 500; color: var(--text-3); }
.input, .select, .textarea {
  width: 100%; min-width: 0; height: 48px; padding: 0 14px; border-radius: var(--r); border: 1px solid var(--line-2);
  background: var(--bg-2); color: var(--text); font-size: 16px; outline: none; transition: border-color .15s, box-shadow .15s, background .15s;
}
.textarea { height: auto; min-height: 104px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3ada9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
.input::placeholder, .textarea::placeholder { color: var(--text-3); }
.input:hover, .select:hover, .textarea:hover { border-color: rgba(255, 255, 255, .18); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--brand); box-shadow: var(--ring); background: var(--bg); }
.input-affix { position: relative; display: flex; align-items: center; }
.input-affix .prefix { position: absolute; left: 14px; color: var(--text-3); font-weight: 600; pointer-events: none; }
.input-affix .input { padding-left: 44px; }
.input-affix .suffix-btn { position: absolute; right: 4px; }
.input-search .i { position: absolute; left: 14px; color: var(--text-3); pointer-events: none; }
.input-search .input { padding-left: 44px; background: var(--surface); }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.hint { font-size: 12.5px; color: var(--text-3); }
.form-error { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r); background: var(--neg-soft); color: #ffb3b3; font-size: 14px; }
.form-error .i { width: 18px; height: 18px; margin-top: 1px; color: var(--neg); }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text-2); line-height: 1.45; cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: 1px 0 0; border-radius: 6px; border: 1.5px solid var(--line-2); background: var(--bg-2); flex-shrink: 0; display: grid; place-items: center; transition: .15s; cursor: pointer; }
.check input:checked { background: var(--brand); border-color: var(--brand); }
.check input:checked::after { content: ""; width: 10px; height: 6px; border: 2px solid var(--brand-ink); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.check input:focus-visible { box-shadow: var(--ring); }

.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; }
.switch-row b { display: block; font-weight: 600; font-size: 15px; }
.switch-row small { color: var(--text-3); font-size: 13px; }
.switch { appearance: none; -webkit-appearance: none; width: 46px; height: 28px; border-radius: 14px; background: var(--surface-3); position: relative; flex-shrink: 0; transition: background .2s; cursor: pointer; margin: 0; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease); }
.switch:checked { background: var(--brand); }
.switch:checked::after { transform: translateX(18px); }
.switch:focus-visible { box-shadow: var(--ring); }

.choice { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: var(--r-lg); border: 1px solid var(--line-2); background: var(--bg-2); cursor: pointer; transition: border-color .15s, background .15s; }
.choice:hover { border-color: rgba(255, 255, 255, .2); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--text-2); flex-shrink: 0; transition: .15s; }
.choice b { display: block; font-weight: 650; font-size: 15px; }
.choice small { display: block; color: var(--text-3); font-size: 13px; margin-top: 2px; line-height: 1.4; }
.choice .tick { margin-left: auto; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-2); flex-shrink: 0; display: grid; place-items: center; transition: .15s; }
.choice:has(input:checked) { border-color: var(--brand); background: rgba(59, 130, 246, .06); }
.choice:has(input:checked) .choice-ic { background: var(--brand-soft); color: var(--brand-text); }
.choice:has(input:checked) .tick { border-color: var(--brand); background: var(--brand); box-shadow: inset 0 0 0 4px var(--bg-2); }
.choice:has(input:focus-visible) { box-shadow: var(--ring); }
.choices { display: grid; gap: 10px; }
@media (min-width: 560px) { .choices.two { grid-template-columns: 1fr 1fr; } }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-opt { position: relative; cursor: pointer; }
.pill-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pill-opt span { height: 38px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text-2); font-size: 14px; font-weight: 600; transition: .15s; }
.pill-opt input:checked + span { border-color: var(--brand); color: var(--text); background: rgba(59, 130, 246, .1); }
.pill-opt input:focus-visible + span { box-shadow: var(--ring); }

/* barra fixa inferior para ações principais */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: rgba(14, 17, 18, .94); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-top: 1px solid var(--line);
}
.sticky-in { max-width: var(--col); margin: 0 auto; display: flex; align-items: center; gap: 14px; }
.sticky-in .grow { flex: 1; min-width: 0; }
.sticky-sum b { display: block; font-size: 18px; font-weight: 750; letter-spacing: -.02em; }
.sticky-sum small { color: var(--text-3); font-size: 12.5px; }
@media (min-width: 960px) { .sticky-bar { left: var(--sidebar-w); padding-left: 32px; padding-right: 32px; } }

/* ----------------------------------------------------------- autenticação */
.auth { min-height: 100dvh; display: grid; }
.auth-aside { display: none; }
.auth-main { display: flex; flex-direction: column; justify-content: center; padding: calc(32px + env(safe-area-inset-top)) 20px 32px; width: 100%; max-width: 440px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 11px; font-size: 22px; font-weight: 800; letter-spacing: -.035em; }
.brand .logo-mark { height: 34px; } .brand .wordmark { height: 26px; }
.logo-mark, .wordmark { display: block; width: auto; flex-shrink: 0; user-select: none; -webkit-user-drag: none; }
.auth-main .brand { margin-bottom: 28px; }
.auth-main h1 { font-size: 28px; font-weight: 750; letter-spacing: -.035em; line-height: 1.15; margin-bottom: 8px; }
.auth-main > p.muted { margin-bottom: 26px; font-size: 15.5px; }
.auth-switch { text-align: center; color: var(--text-2); margin-top: 22px; font-size: 14.5px; }
.auth-switch a { color: var(--brand-text); font-weight: 650; }
.auth-legal { text-align: center; color: var(--text-3); font-size: 12px; margin-top: 18px; display: flex; justify-content: center; align-items: center; gap: 6px; }
.age-chip { display: inline-grid; place-items: center; height: 20px; padding: 0 6px; border-radius: 5px; border: 1px solid var(--line-2); font-size: 11px; font-weight: 700; color: var(--text-2); }
@media (min-width: 960px) {
  .auth { grid-template-columns: 1.05fr 1fr; }
  .auth-aside {
    display: flex; flex-direction: column; justify-content: space-between; padding: 44px 56px;
    background: radial-gradient(80% 60% at 20% 10%, rgba(59, 130, 246, .18), transparent 70%), radial-gradient(60% 50% at 90% 90%, rgba(91, 155, 255, .10), transparent 70%), var(--bg-2);
    border-right: 1px solid var(--line);
  }
  .auth-aside h2 { font-size: 40px; line-height: 1.08; letter-spacing: -.045em; font-weight: 800; max-width: 460px; margin: 0 0 18px; }
  .auth-aside > div > p { color: var(--text-2); font-size: 17px; max-width: 440px; margin-bottom: 36px; }
  .auth-main .brand { display: none; }
}
.value-list { display: grid; gap: 18px; list-style: none; padding: 0; margin: 0; max-width: 440px; }
.value-list li { display: flex; gap: 14px; }
.value-list .vi { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--brand-text); box-shadow: inset 0 0 0 1px var(--line); flex-shrink: 0; }
.value-list b { display: block; font-weight: 650; }
.value-list span { color: var(--text-2); font-size: 14px; }
.pw-toggle { color: var(--text-3); }

/* ------------------------------------------------------- lista de canais */
.kpi-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 8px; }
.kpi { padding: 14px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.kpi .lbl { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi .lbl .i { width: 14px; height: 14px; }
.kpi b { display: block; font-size: 22px; font-weight: 750; letter-spacing: -.03em; line-height: 1.1; }
.kpi small { display: block; font-size: 12px; color: var(--text-3); margin-top: 4px; }
.kpi-trend { display: inline-flex; align-items: center; gap: 4px; }
.kpi-trend .i { width: 16px; height: 16px; }

.list { list-style: none; margin: 0 calc(var(--gutter) * -1); padding: 0; }
.list-row { display: flex; align-items: center; gap: 14px; padding: 12px var(--gutter); border-radius: 0; transition: background .12s; position: relative; }
.list-row:hover { background: var(--surface); }
.list-row + .list-row::before, li + li > .list-row::before { content: ""; position: absolute; top: 0; right: var(--gutter); left: calc(var(--gutter) + 64px); border-top: 1px solid var(--line); }
@media (min-width: 960px) { .list { margin: 0; } .list-row { border-radius: var(--r); } .list-row + .list-row::before, li + li > .list-row::before { display: none; } }
.row-main { flex: 1; min-width: 0; }
.row-top { display: flex; align-items: center; gap: 8px; }
.row-top b { font-size: 15.5px; font-weight: 650; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-top .i { color: var(--vip); }
.row-time { margin-left: auto; font-size: 12.5px; color: var(--text-3); flex-shrink: 0; font-variant-numeric: tabular-nums; }
.row-time.unread { color: var(--brand-text); font-weight: 600; }
.row-bottom { display: flex; align-items: center; gap: 10px; margin-top: 3px; }
.row-preview { flex: 1; min-width: 0; font-size: 14px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 6px; }
.row-preview .i { width: 14px; height: 14px; color: var(--warn); }
.row-preview.unread { color: var(--text); }

/* ------------------------------------------------------------ explorar */
.featured {
  position: relative; overflow: hidden; display: block; padding: 20px; border-radius: var(--r-xl); margin: 8px 0 4px;
  background: radial-gradient(90% 120% at 100% 0%, color-mix(in srgb, var(--av) 38%, transparent), transparent 60%), linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-2); transition: transform .2s var(--ease), border-color .2s;
}
.featured:hover { border-color: rgba(255, 255, 255, .2); }
.featured:active { transform: scale(.995); }
.featured-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--warn); margin-bottom: 14px; }
.featured-tag .i { width: 15px; height: 15px; }
.featured-id { display: flex; align-items: center; gap: 14px; }
.featured-id h3 { font-size: 20px; font-weight: 750; letter-spacing: -.025em; }
.featured-id p { color: var(--text-2); font-size: 13.5px; }
.featured-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 18px 0; }
.featured-kpis b { display: block; font-size: 20px; font-weight: 750; letter-spacing: -.03em; }
.featured .spark { height: 44px; margin: -4px 0 16px; }

.toolbar { display: flex; flex-direction: column; gap: 12px; margin: 22px 0 14px; }
.toolbar-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.toolbar-row h2 { font-size: 17px; font-weight: 700; letter-spacing: -.015em; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.toolbar-row .select { width: auto; flex-shrink: 0; }
.select-sm { height: 36px; padding: 0 34px 0 12px; border-radius: var(--r-sm); font-size: 13.5px; font-weight: 600; background-color: var(--surface); border-color: var(--line); background-position: right 9px center; background-size: 16px; }

.gcards { display: grid; gap: 12px; }
@media (min-width: 640px) { .gcards { grid-template-columns: 1fr 1fr; } }
.gcard { display: flex; flex-direction: column; gap: 14px; padding: 16px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: border-color .15s, background .15s, transform .15s var(--ease); }
.gcard:hover { border-color: var(--line-2); background: var(--surface-2); }
.gcard:active { transform: scale(.99); }
.gcard-top { display: flex; align-items: center; gap: 12px; }
.gcard-id { flex: 1; min-width: 0; }
.gcard-id b { display: block; font-size: 15.5px; font-weight: 650; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gcard-id span { display: block; font-size: 13px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.kpi-row > div { min-width: 0; }
.kpi-row .lbl { display: block; font-size: 10.5px; margin-bottom: 3px; }
.kpi-row b { display: flex; align-items: center; gap: 4px; font-size: 16px; font-weight: 700; letter-spacing: -.02em; }
.kpi-row b .i { width: 15px; height: 15px; }
.gcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-2); }
.gcard-foot span { display: inline-flex; align-items: center; gap: 6px; }
.gcard-foot .i { width: 15px; height: 15px; color: var(--text-3); }
.spark { width: 100%; height: 40px; }

.form-dots { display: inline-flex; gap: 3px; align-items: center; }
.form-dots i { width: 8px; height: 8px; border-radius: 2px; background: var(--surface-3); }
.form-dots i.green { background: var(--pos); }
.form-dots i.red { background: var(--neg); }
.form-dots.lg i { width: 18px; height: 6px; border-radius: 3px; }

/* --------------------------------------------------------- cartão do tip */
.tip { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.tip::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--tip-c, var(--warn)); }
.tip.s-green { --tip-c: var(--pos); }
.tip.s-red { --tip-c: var(--neg); }
.tip.s-void { --tip-c: var(--text-3); }
.tip-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px 0 18px; }
.tip-kind { font-size: 12px; font-weight: 650; color: var(--text-3); letter-spacing: .02em; display: inline-flex; align-items: center; gap: 6px; }
.tip-kind .i { width: 14px; height: 14px; }
.status { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.status .i { width: 14px; height: 14px; }
.status-pending { background: var(--warn-soft); color: var(--warn); }
.status-green { background: rgba(52, 208, 124, .13); color: var(--pos); }
.status-red { background: var(--neg-soft); color: var(--neg); }
.status-void { background: var(--surface-3); color: var(--text-2); }
.legs { list-style: none; margin: 0; padding: 6px 16px 4px 18px; }
.leg { padding: 10px 0; }
.leg + .leg { border-top: 1px dashed var(--line-2); }
.leg-meta { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--text-3); }
.leg-meta span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.leg-time { color: var(--text-2); font-weight: 600; flex-shrink: 0; display: inline-flex; align-items: center; gap: 4px; }
.leg-time.soon { color: var(--warn); }
.leg-time .i { width: 13px; height: 13px; }
.leg-event { font-weight: 650; font-size: 15px; letter-spacing: -.01em; margin-top: 2px; }
.leg-pick { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 10px 12px; border-radius: var(--r); background: var(--bg-2); }
.leg-pick-main { flex: 1; min-width: 0; }
.leg-pick-main b { display: block; font-size: 14.5px; font-weight: 650; }
.leg-pick-main small { display: block; font-size: 12.5px; color: var(--text-3); }
.leg-dot { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; border: 1.5px solid var(--line-2); color: var(--bg); }
.leg-dot .i { width: 12px; height: 12px; stroke-width: 3.2; }
.s-green .leg-dot { background: var(--pos); border-color: var(--pos); }
.s-red .leg-dot { background: var(--neg); border-color: var(--neg); }
.s-void .leg-dot { background: var(--text-3); border-color: var(--text-3); }
.leg-odd { font-weight: 700; font-size: 15px; color: var(--text); }
.tip-metrics { display: grid; grid-template-columns: 1.3fr .8fr 1fr; gap: 10px; margin: 6px 16px 0 18px; padding: 12px 0 14px; border-top: 1px solid var(--line); }
.tip-metrics .lbl { display: block; font-size: 10.5px; margin-bottom: 5px; }
.tip-metrics b { font-size: 15px; font-weight: 700; }
.tip-metrics .right { text-align: right; }
.tip-metrics .big { font-size: 24px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.conf { display: flex; align-items: center; gap: 8px; }
.meter { display: inline-flex; gap: 2px; align-items: flex-end; height: 14px; }
.meter i { width: 4px; border-radius: 1.5px; background: var(--surface-3); }
.meter i:nth-child(1) { height: 5px; } .meter i:nth-child(2) { height: 7px; } .meter i:nth-child(3) { height: 9px; } .meter i:nth-child(4) { height: 11px; } .meter i:nth-child(5) { height: 14px; }
.meter i.on { background: var(--text); }
.meter.l4 i.on, .meter.l5 i.on { background: var(--warn); }
.tip-analysis { margin: 0 16px 0 18px; border-top: 1px solid var(--line); }
.tip-analysis summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 12px 0; font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.tip-analysis summary::-webkit-details-marker { display: none; }
.tip-analysis summary .i { width: 16px; height: 16px; transition: transform .2s var(--ease); margin-left: auto; }
.tip-analysis[open] summary .i { transform: rotate(180deg); }
.tip-analysis p { padding: 0 0 14px; font-size: 14px; color: var(--text-2); white-space: pre-wrap; line-height: 1.55; }
.tip-f { display: flex; align-items: center; gap: 10px; padding: 10px 16px 12px 18px; border-top: 1px solid var(--line); }
.react { height: 32px; padding: 0 12px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 650; color: var(--text-2); background: var(--surface-2); border: 1px solid var(--line); transition: .15s; font-variant-numeric: tabular-nums; }
.react .i { width: 16px; height: 16px; }
.react:hover { color: var(--text); border-color: var(--line-2); }
.react.on { color: #ff9f43; background: rgba(255, 159, 67, .12); border-color: rgba(255, 159, 67, .35); }
.react.on .i { fill: currentColor; }
.react:active { transform: scale(.94); }
.tip-book { font-size: 12.5px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tip-book b { color: var(--text-2); font-weight: 650; }
.tip-time { margin-left: auto; font-size: 12px; color: var(--text-3); white-space: nowrap; }
.settle { padding: 12px 16px 14px 18px; border-top: 1px solid var(--line); background: var(--bg-2); }
.settle .lbl { display: block; margin-bottom: 8px; }
.settle-btns { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.settle-btns button { height: 38px; border-radius: var(--r-sm); font-size: 13.5px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line-2); background: var(--surface); transition: .15s; }
.settle-btns button .i { width: 15px; height: 15px; }
.settle-btns .g { color: var(--pos); } .settle-btns .g:hover { background: rgba(52, 208, 124, .1); border-color: rgba(52, 208, 124, .4); }
.settle-btns .r { color: var(--neg); } .settle-btns .r:hover { background: var(--neg-soft); border-color: rgba(255, 107, 107, .4); }
.settle-btns .v { color: var(--text-2); } .settle-btns .v:hover { background: var(--surface-2); }

/* ------------------------------------------------------------ feed de tips */
.feed { display: grid; gap: 20px; }
.feed-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.feed-head .row-main b { display: block; font-size: 14.5px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed-head .row-main small { display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--text-3); }
.filterbar { display: flex; gap: 8px; align-items: center; margin-bottom: 18px; }
.filterbar .chips { flex: 1; margin-right: 0; }

/* ------------------------------------------------------------------ chat */
.screen.chat { height: 100dvh; min-height: 0; }
.chat-scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; scroll-behavior: auto; }
.chat-inner { max-width: var(--col); margin: 0 auto; padding: 12px var(--gutter) 20px; display: flex; flex-direction: column; gap: 10px; }
.chat-head { display: flex; align-items: center; gap: 11px; min-width: 0; flex: 1; border-radius: var(--r); padding: 4px; margin: -4px; }
.chat-head:hover { background: var(--surface); }
.chat-head > span { display: flex; flex-direction: column; min-width: 0; }
.chat-head b { font-size: 15.5px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -.01em; }
.chat-head small { font-size: 12.5px; color: var(--text-3); white-space: nowrap; }
.day-sep { position: sticky; top: 8px; z-index: 2; align-self: center; height: 26px; padding: 0 12px; border-radius: 999px; display: grid; place-items: center; font-size: 12px; font-weight: 650; color: var(--text-2); background: rgba(25, 30, 31, .92); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px var(--line); margin: 6px 0; }
.bubble { max-width: min(82%, 520px); align-self: flex-start; padding: 9px 13px 7px; border-radius: 6px 18px 18px 18px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.bubble.mine { align-self: flex-end; border-radius: 18px 6px 18px 18px; background: #16295a; box-shadow: inset 0 0 0 1px rgba(59, 130, 246, .2); }
.bubble .who { font-size: 12.5px; font-weight: 700; margin-bottom: 2px; }
.bubble .who .badge { height: 18px; font-size: 10.5px; padding: 0 6px; margin-left: 6px; vertical-align: 1px; }
.bubble p { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; line-height: 1.45; }
.bubble p a { color: #7ee2a8; text-decoration: underline; text-underline-offset: 2px; }
.bubble time { display: block; text-align: right; font-size: 11px; color: var(--text-3); margin-top: 3px; font-variant-numeric: tabular-nums; }
.tip-msg { align-self: stretch; max-width: 560px; width: 100%; }
.tip-msg .tip-by { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-3); margin: 0 0 6px 4px; }
.tip-msg .tip-by .i { width: 14px; height: 14px; color: var(--warn); }
.load-older { align-self: center; }
.composer-wrap { border-top: 1px solid var(--line); background: var(--bg-2); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); }
.composer { max-width: var(--col); margin: 0 auto; display: flex; gap: 8px; align-items: flex-end; }
.composer .input { height: 46px; border-radius: 23px; background: var(--surface); padding: 0 18px; }
.composer .send { width: 46px; height: 46px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; flex-shrink: 0; transition: .15s; }
.composer .send:disabled { background: var(--surface-2); color: var(--text-3); }
.composer .send .i { width: 20px; height: 20px; }
.composer .tip-btn { height: 46px; padding: 0 14px; border-radius: 23px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--warn); background: var(--warn-soft); flex-shrink: 0; }
.composer .tip-btn .i { width: 18px; height: 18px; }
.composer-note { max-width: var(--col); margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--text-3); font-size: 13.5px; min-height: 46px; text-align: center; }
.composer-note .i { width: 16px; height: 16px; }
.composer-join { max-width: var(--col); margin: 0 auto; display: flex; align-items: center; gap: 14px; }
.composer-join .grow { flex: 1; min-width: 0; font-size: 13.5px; color: var(--text-2); }
.composer-join b { display: block; color: var(--text); font-size: 14.5px; }
.jump { position: absolute; right: 16px; bottom: 90px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); color: var(--text); box-shadow: var(--shadow); z-index: 5; }

/* ----------------------------------------------------- página do grupo */
.cover { height: 132px; margin: 0 calc(var(--gutter) * -1); background: radial-gradient(70% 140% at 20% 0%, color-mix(in srgb, var(--av) 55%, transparent), transparent 70%), radial-gradient(60% 120% at 100% 100%, color-mix(in srgb, var(--av) 25%, transparent), transparent 70%), var(--surface); border-bottom: 1px solid var(--line); }
@media (min-width: 960px) { .cover { margin: 0; border-radius: var(--r-xl); border: 1px solid var(--line); height: 150px; } }
.profile-head { margin-top: -46px; padding: 0 2px; }
.profile-head .avatar { box-shadow: 0 0 0 4px var(--bg), inset 0 0 0 1px rgba(255, 255, 255, .12); }
.profile-head h1 { font-size: 26px; font-weight: 800; letter-spacing: -.035em; margin-top: 12px; line-height: 1.15; }
.profile-by { color: var(--text-2); font-size: 14.5px; margin-top: 2px; }
.profile-by a { color: var(--text); font-weight: 600; }
.profile-by a:hover { text-decoration: underline; text-underline-offset: 3px; }
.profile-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.profile-actions { display: flex; gap: 10px; margin-top: 18px; }
.profile-actions > .btn:first-child { flex: 1; }
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.trust .kpi b { font-size: 21px; }
.form-strip { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; padding: 12px 14px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; color: var(--text-2); }
.tabs { margin: 22px 0 18px; }
.about p { white-space: pre-wrap; color: var(--text); line-height: 1.6; }
.facts { list-style: none; margin: 0; padding: 0; }
.facts li { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.facts li:first-child { border-top: 0; padding-top: 0; }
.facts li:last-child { padding-bottom: 0; }
.facts .fi { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); color: var(--text-2); flex-shrink: 0; }
.facts .fi .i { width: 17px; height: 17px; }
.facts span.k { color: var(--text-2); flex: 1; }
.facts span.v { font-weight: 600; text-align: right; }
.facts a.v { color: var(--brand-text); }
.note { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; color: var(--text-2); line-height: 1.5; }
.note .i { width: 18px; height: 18px; color: var(--brand-text); margin-top: 1px; }
.note.warn { background: var(--warn-soft); border-color: rgba(245, 181, 70, .28); color: #f3d79e; }
.note.warn .i { color: var(--warn); }
.note b { color: var(--text); }

/* estatísticas */
.period { margin-bottom: 14px; }
.stat-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 560px) { .stat-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.stat-tiles .kpi b { font-size: 20px; }
.chart-card { margin-top: 12px; padding: 18px 18px 14px; }
.chart-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.chart-head .lbl { display: block; margin-bottom: 4px; }
.chart-head b { font-size: 26px; font-weight: 800; letter-spacing: -.035em; }
.chart-wrap { position: relative; height: 180px; touch-action: pan-y; }
.chart-wrap svg { width: 100%; height: 100%; overflow: visible; }
.chart-axis { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--text-3); margin-top: 8px; font-variant-numeric: tabular-nums; }
.chart-y { position: absolute; left: 0; font-size: 11px; color: var(--text-3); font-variant-numeric: tabular-nums; background: var(--surface); padding: 0 4px 0 0; transform: translateY(-50%); }
.chart-tip { position: absolute; top: 0; transform: translateX(-50%); pointer-events: none; padding: 6px 10px; border-radius: var(--r-sm); background: var(--surface-3); box-shadow: var(--shadow); font-size: 12px; white-space: nowrap; opacity: 0; transition: opacity .12s; z-index: 2; }
.chart-tip b { display: block; font-size: 14px; font-variant-numeric: tabular-nums; }
.chart-tip span { color: var(--text-3); }
.chart-empty { height: 140px; display: grid; place-items: center; text-align: center; padding: 16px; color: var(--text-3); font-size: 13.5px; border: 1px dashed var(--line-2); border-radius: var(--r); }
.results-bar { display: flex; gap: 2px; height: 10px; border-radius: 5px; overflow: hidden; margin: 6px 0 12px; background: var(--surface-3); }
.results-bar i { height: 100%; }
.results-bar i:first-child { border-radius: 5px 0 0 5px; } .results-bar i:last-child { border-radius: 0 5px 5px 0; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--text-2); }
.legend span { display: inline-flex; align-items: center; gap: 7px; font-variant-numeric: tabular-nums; }
.legend i { width: 10px; height: 10px; border-radius: 3px; }
.legend b { color: var(--text); font-weight: 650; }
.month-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 26px 0 12px; }
.month-h h3 { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.month-h span { font-size: 13px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.month-h span b { color: var(--text); }
.history { display: grid; gap: 12px; }
.locked { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 28px 20px; }
.locked .empty-ic { margin: 0; color: var(--vip); background: var(--vip-soft); }

/* ----------------------------------------------------------- novo tip */
.leg-form { position: relative; padding: 16px; }
.leg-form-h { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.leg-num { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--surface-3); font-size: 13px; font-weight: 750; }
.leg-form-h b { font-size: 14.5px; font-weight: 650; flex: 1; }
.leg-form .form { gap: 12px; }
.preview-label { display: flex; align-items: center; gap: 8px; margin: 26px 0 10px; }
.counter { font-size: 12px; color: var(--text-3); text-align: right; font-variant-numeric: tabular-nums; }

/* -------------------------------------------------------------- checkout */
.order { display: flex; align-items: center; gap: 14px; }
.order .grow { flex: 1; min-width: 0; }
.order b { display: block; font-weight: 650; font-size: 16px; }
.order small { color: var(--text-3); font-size: 13px; }
.price-big { font-size: 26px; font-weight: 800; letter-spacing: -.035em; }
.price-big small { font-size: 13px; color: var(--text-3); font-weight: 500; letter-spacing: 0; }
.perks { list-style: none; margin: 16px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.perks li { display: flex; gap: 10px; align-items: center; font-size: 14.5px; color: var(--text-2); }
.perks .i { width: 18px; height: 18px; color: var(--brand-text); }

/* ---------------------------------------------------------------- perfil */
.me-card { display: flex; align-items: center; gap: 16px; }
.me-card h2 { font-size: 20px; font-weight: 750; letter-spacing: -.025em; }
.me-card p { color: var(--text-3); font-size: 13.5px; }
.menu { list-style: none; margin: 0; padding: 4px 0; }
.menu-item { width: 100%; display: flex; align-items: center; gap: 14px; padding: 12px 16px; text-align: left; transition: background .12s; }
.menu-item:hover { background: var(--surface-2); }
.menu-item .mi { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); color: var(--text-2); flex-shrink: 0; }
.menu-item .mi .i { width: 18px; height: 18px; }
.menu-item .grow { flex: 1; min-width: 0; }
.menu-item b { display: block; font-weight: 600; font-size: 15px; }
.menu-item small { display: block; font-size: 13px; color: var(--text-3); }
.menu-item > .i { color: var(--text-3); width: 18px; height: 18px; }
.menu li + li .menu-item { border-top: 1px solid var(--line); }
.menu-item:disabled { cursor: default; }
.menu-item:disabled:hover { background: transparent; }
.menu-item.danger b, .menu-item.danger .mi { color: var(--neg); }

/* ---------------------------------------------------------- utilidades */
.mt-0 { margin-top: 0 !important; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.center { text-align: center; }
.gap-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

@media (max-width: 380px) {
  :root { --gutter: 14px; }
  .kpi { padding: 12px; }
  .kpi b { font-size: 19px; }
  .trust .kpi b { font-size: 18px; }
  .tip-metrics { grid-template-columns: 1.2fr .8fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* =====================================================================
   Páginas públicas (apresentação para apostadores e tipsters)
   ===================================================================== */
.lp { min-height: 100dvh; overflow-x: hidden; }
.lp-wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.lp-nav { position: sticky; top: 0; z-index: 40; padding-top: env(safe-area-inset-top); background: rgba(11, 18, 32, .78); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid var(--line); }
.lp-nav .lp-wrap { height: 64px; display: flex; align-items: center; gap: 24px; }
.lp-nav .brand { font-size: 19px; }
.lp-nav .brand .logo-mark { height: 28px; } .lp-nav .brand .wordmark { height: 21px; }
.lp-links { display: none; gap: 4px; margin-left: 12px; }
.lp-links a { height: 36px; padding: 0 12px; border-radius: var(--r-sm); display: inline-flex; align-items: center; color: var(--text-2); font-size: 14.5px; font-weight: 550; }
.lp-links a:hover { color: var(--text); background: var(--surface); }
.lp-links a.on { color: var(--text); }
.lp-nav-cta { margin-left: auto; display: flex; gap: 8px; }
@media (min-width: 860px) { .lp-links { display: flex; } }
@media (max-width: 420px) { .lp-nav .lp-wrap { gap: 12px; padding: 0 14px; } .lp-nav .brand .logo-mark { height: 24px; } .lp-nav .brand .wordmark { height: 18px; } .lp-nav-cta { gap: 4px; } .lp-nav-cta .btn-sm { padding: 0 12px; } }

.lp-hero { position: relative; padding: 56px 0 40px; }
.lp-hero::before { content: ""; position: absolute; inset: -120px -20% auto; height: 640px; pointer-events: none; background: radial-gradient(45% 55% at 30% 30%, rgba(59, 130, 246, .16), transparent 70%), radial-gradient(35% 45% at 80% 20%, rgba(91, 155, 255, .10), transparent 70%); }
.lp-hero .lp-wrap { position: relative; display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .lp-hero { padding: 88px 0 72px; } .lp-hero .lp-wrap { grid-template-columns: 1.05fr 1fr; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px 0 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); font-size: 13px; font-weight: 600; color: var(--text-2); }
.eyebrow .live { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(59, 130, 246, .18); }
.lp-hero h1 { font-size: clamp(40px, 7.4vw, 68px); line-height: 1.02; letter-spacing: -.05em; font-weight: 800; margin: 22px 0 20px; }
.lp-hero h1 em { font-style: normal; color: var(--brand-text); }
.lp-hero .lead { font-size: clamp(16px, 2.2vw, 19px); color: var(--text-2); max-width: 520px; line-height: 1.55; }
.lp-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.lp-ctas .btn { height: 52px; padding: 0 24px; font-size: 16px; border-radius: 14px; }
.lp-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; font-size: 13.5px; color: var(--text-3); }
.lp-trust span { display: inline-flex; align-items: center; gap: 7px; }
.lp-trust .i { width: 16px; height: 16px; color: var(--brand-text); }

/* celulares de demonstração */
.devices { position: relative; height: 560px; display: flex; justify-content: center; }
.phone {
  position: absolute; width: 270px; height: 556px; border-radius: 46px; padding: 10px;
  background: linear-gradient(160deg, #2a3032, #101314); box-shadow: 0 40px 80px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 37px; overflow: hidden; background: var(--bg); }
.phone-screen::before { content: ""; position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 84px; height: 24px; border-radius: 14px; background: #000; z-index: 3; }
.phone-inner { zoom: .74; padding-top: 52px; height: 135%; }
.phone.front { z-index: 2; transform: translateX(-62px) rotate(-3deg); }
.phone.back { transform: translateX(118px) translateY(36px) rotate(5deg); opacity: .96; }
@media (max-width: 520px) {
  .devices { height: 470px; }
  .phone { width: 228px; height: 470px; border-radius: 40px; }
  .phone-screen { border-radius: 31px; }
  .phone-inner { zoom: .63; }
  .phone.front { transform: translateX(-46px) rotate(-3deg); }
  .phone.back { transform: translateX(86px) translateY(30px) rotate(5deg); }
}
.mock-top { display: flex; align-items: center; justify-content: space-between; padding: 0 18px 12px; }
.mock-top b { font-size: 24px; font-weight: 750; letter-spacing: -.03em; }
.mock-tabbar { position: absolute; left: 0; right: 0; bottom: 0; height: 74px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); background: var(--bg-2); padding-bottom: 12px; }
.mock-tabbar span { display: grid; place-items: center; color: var(--text-3); }
.mock-tabbar span.on { color: var(--brand-text); }
.phone .list { margin: 0; }
.phone .list-row { padding: 11px 18px; }
.phone .list-row::before { left: 82px !important; right: 18px !important; }
.mock-pad { padding: 0 14px; }
.float-card { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: rgba(25, 30, 31, .92); backdrop-filter: blur(12px); box-shadow: var(--shadow), inset 0 0 0 1px var(--line-2); font-size: 13px; white-space: nowrap; }
.float-card b { display: block; font-size: 14px; }
.float-card small { color: var(--text-3); }
.float-card .fc-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-text); }
.float-card.one { left: 4%; bottom: 72px; }
.float-card.two { right: 2%; top: 44px; }
.float-card.two .fc-ic { background: var(--warn-soft); color: var(--warn); }
@media (max-width: 520px) { .float-card.one { left: 0; bottom: 40px; } .float-card.two { right: 0; top: 10px; } }

/* números ao vivo */
.lp-stats { border-block: 1px solid var(--line); background: var(--bg-2); }
.lp-stats .lp-wrap { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .lp-stats .lp-wrap { grid-template-columns: repeat(4, 1fr); } }
.lp-stat { padding: 26px 8px; text-align: center; }
.lp-stat b { display: block; font-size: 32px; font-weight: 800; letter-spacing: -.04em; }
.lp-stat span { font-size: 13.5px; color: var(--text-3); }

.lp-section { padding: 80px 0; }
.lp-section.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.lp-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.lp-head .kicker { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-text); margin-bottom: 12px; }
.lp-head h2 { font-size: clamp(30px, 4.6vw, 44px); font-weight: 800; letter-spacing: -.04em; line-height: 1.08; }
.lp-head p { color: var(--text-2); font-size: 17px; margin-top: 14px; }
.features { display: grid; gap: 14px; }
@media (min-width: 700px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { padding: 26px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, transform .2s var(--ease); }
.feature:hover { border-color: var(--line-2); transform: translateY(-2px); }
.feature .f-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-text); margin-bottom: 18px; }
.feature .f-ic .i { width: 22px; height: 22px; }
.feature h3 { font-size: 18px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 6px; }
.feature p { color: var(--text-2); font-size: 15px; line-height: 1.55; }
.feature.hl { background: radial-gradient(90% 120% at 100% 0%, rgba(59, 130, 246, .14), transparent 60%), var(--surface); border-color: var(--brand-line); }

.steps { display: grid; gap: 14px; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(var(--n, 3), 1fr); } }
.step { position: relative; padding: 26px; border-radius: var(--r-xl); border: 1px dashed var(--line-2); }
.step-n { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--text); color: var(--bg); font-weight: 800; font-size: 15px; margin-bottom: 18px; font-variant-numeric: tabular-nums; }
.step h3 { font-size: 17px; font-weight: 700; letter-spacing: -.015em; margin-bottom: 6px; }
.step p { color: var(--text-2); font-size: 14.5px; }

.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.split h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; margin-bottom: 16px; }
.split > div > p { color: var(--text-2); font-size: 17px; margin-bottom: 24px; }
.checks { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; color: var(--text-2); }
.checks .i { width: 20px; height: 20px; color: var(--brand-text); margin-top: 1px; }
.checks b { color: var(--text); }

.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-weight: 650; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--text-3); transition: transform .2s var(--ease); }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--text-2); line-height: 1.6; }

.guides { display: grid; gap: 14px; }
@media (min-width: 760px) { .guides { grid-template-columns: repeat(3, 1fr); } }
.guide { padding: 24px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); }
.guide .lbl { color: var(--brand-text); margin-bottom: 12px; display: block; }
.guide h3 { font-size: 17px; font-weight: 700; letter-spacing: -.015em; margin-bottom: 8px; }
.guide p { color: var(--text-2); font-size: 14.5px; }
.guide ul { margin: 12px 0 0; padding-left: 18px; color: var(--text-2); font-size: 14.5px; display: grid; gap: 6px; }

.cta-band { padding: 0 0 80px; }
.cta-box { position: relative; overflow: hidden; padding: 48px 28px; border-radius: 28px; text-align: center; background: radial-gradient(60% 120% at 50% 0%, rgba(59, 130, 246, .22), transparent 70%), var(--surface); border: 1px solid var(--brand-line); }
.cta-box h2 { font-size: clamp(28px, 4.4vw, 42px); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; }
.cta-box p { color: var(--text-2); font-size: 17px; margin: 14px auto 28px; max-width: 520px; }
.cta-box .lp-ctas { justify-content: center; margin-top: 0; }

.lp-foot { border-top: 1px solid var(--line); padding: 36px 0 calc(36px + env(safe-area-inset-bottom)); }
.lp-foot .lp-wrap { display: grid; gap: 22px; }
@media (min-width: 760px) { .lp-foot .lp-wrap { grid-template-columns: 1fr auto; align-items: start; } }
.lp-foot p { color: var(--text-3); font-size: 13px; max-width: 560px; line-height: 1.55; }
.lp-foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; color: var(--text-2); }
.lp-foot nav a:hover { color: var(--text); }
.back-home { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); font-size: 14px; font-weight: 600; margin-bottom: 22px; }
.back-home .i { width: 18px; height: 18px; }
.back-home:hover { color: var(--text); }


/* =====================================================================
   Identidade visual Palpitano — superfícies com brilho azul, botão em degradê,
   página do grupo e card de tip
   ===================================================================== */
.card, .kpi, .gcard, .tip, .trust-card, .stats-card {
  background: linear-gradient(180deg, rgba(37, 99, 235, .08), rgba(37, 99, 235, 0) 55%), var(--surface);
  border-color: var(--line-2);
}
.btn-primary {
  background: linear-gradient(90deg, #1f86f7 0%, #2563eb 60%, #1d4ed8 100%);
  border-color: transparent;
  box-shadow: 0 8px 24px -8px rgba(37, 99, 235, .75), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.btn-primary:hover { background: linear-gradient(90deg, #2b92ff 0%, #2f6cf2 60%, #2459e6 100%); border-color: transparent; }
.lp-hero { overflow: hidden; }
.lp-swoosh { position: absolute; inset: auto 0 0 0; width: 100%; height: 70%; pointer-events: none; filter: drop-shadow(0 0 10px rgba(11, 194, 253, .55)); opacity: .8; }
.lockup { height: 46px; width: auto; display: block; }

/* selo verificado (check branco em círculo azul) */
.verified { width: 18px; height: 18px; border-radius: 50%; background: var(--brand); color: #fff; display: inline-grid; place-items: center; flex-shrink: 0; box-shadow: 0 0 0 2px rgba(37, 99, 235, .25); }
.verified .i { width: 11px; height: 11px; stroke-width: 3.4; }

/* cabeçalho centralizado do grupo */
.gp-head { position: relative; text-align: center; padding: 18px 0 6px; }
.gp-head::before { content: ""; position: absolute; left: 50%; top: -30px; width: 340px; height: 220px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(37, 99, 235, .28), transparent); }
.gp-avatar { position: relative; width: 96px; margin: 0 auto 26px; }
.gp-avatar .avatar { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px rgba(37, 99, 235, .7), 0 0 28px rgba(11, 194, 253, .35); }
.gp-pill { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); white-space: nowrap; display: inline-flex; align-items: center; gap: 5px;
  height: 26px; padding: 0 12px; border-radius: 999px; font-size: 12.5px; font-weight: 650; color: #dbe8ff; background: #16244a; border: 1px solid rgba(77, 163, 255, .55); }
.gp-pill.vip { color: var(--vip); background: #2a2410; border-color: rgba(233, 185, 73, .55); }
.gp-head h1 { position: relative; font-size: 28px; font-weight: 800; letter-spacing: -.035em; line-height: 1.15; }
.gp-by { position: relative; display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; color: var(--text-2); font-size: 14.5px; }
.gp-by b { color: var(--text); font-weight: 650; }
.gp-by:hover b { text-decoration: underline; text-underline-offset: 3px; }
.gp-meta { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin-top: 12px; font-size: 14px; color: var(--text-2); }
.gp-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.gp-meta .i { width: 16px; height: 16px; }
.gp-member { color: var(--brand-text); font-weight: 600; }
.gp-head .profile-actions { justify-content: center; max-width: 420px; margin-left: auto; margin-right: auto; }

/* abas sublinhadas */
.utabs { display: grid; grid-template-columns: 1fr 1fr; margin: 22px calc(var(--gutter) * -1) 18px; border-bottom: 1px solid var(--line-2); }
.utabs a { position: relative; height: 48px; display: grid; place-items: center; font-size: 15.5px; font-weight: 600; color: var(--text-3); transition: color .15s; }
.utabs a:hover { color: var(--text-2); }
.utabs a.on { color: var(--text); }
.utabs a.on::after { content: ""; position: absolute; left: 16%; right: 16%; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: linear-gradient(90deg, #0bc2fd, #2563eb); box-shadow: 0 0 12px rgba(37, 99, 235, .8); }

/* card de confiança (aba Info) */
.trust-card { padding: 18px 16px 14px; }
.trust3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: center; }
.trust3 > div { min-width: 0; padding: 0 6px; }
.trust3 > div + div { border-left: 1px solid var(--line-2); }
.trust3 b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -.035em; line-height: 1.15; }
.trust3 span { display: block; font-size: 12.5px; color: var(--text-2); margin-top: 4px; }
.trust-form { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-3); }

/* card de estatísticas (aba Estatísticas) */
.stats-card { padding: 18px 18px 14px; }
.stats-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.stats-h h3 { min-width: 0; font-size: 13px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--text-2); }
.pill-select { flex-shrink: 0; position: relative; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text); font-size: 14px; font-weight: 600; cursor: pointer; }
.pill-select:focus-within { border-color: var(--brand); box-shadow: var(--ring); }
.pill-select .i-xs { color: var(--text-2); pointer-events: none; }
.pill-select select { appearance: none; -webkit-appearance: none; background: none; border: 0; outline: 0; color: inherit; font: inherit; padding: 0 2px; cursor: pointer; width: auto; min-width: 0; max-width: 132px; height: auto; box-shadow: none; }
.pill-select select option, .pill-select select optgroup { background: var(--surface); color: var(--text); }
.stat-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
.stat-list li { display: flex; align-items: center; gap: 9px; min-width: 0; font-size: 13.5px; color: var(--text-2); line-height: 1.25; }
.stat-list li > span:last-child { min-width: 0; }
.stat-list b { color: var(--text); font-size: 16px; font-weight: 750; letter-spacing: -.02em; }
.sl-ic { width: 18px; display: grid; place-items: center; flex-shrink: 0; color: var(--brand-text); }
.sl-ic .i { width: 18px; height: 18px; }
.stats-chart { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.stats-chart .chart-wrap { height: 150px; }
.stats-chart .chart-y { background: transparent; text-shadow: 0 0 6px var(--surface), 0 0 6px var(--surface); }

/* card de tip */
.tip::before { display: none; }
.tip.s-pending { border-color: rgba(77, 163, 255, .55); box-shadow: 0 0 0 1px rgba(37, 99, 235, .25), 0 0 26px -8px rgba(37, 99, 235, .55); }
.tip.s-green { border-color: rgba(52, 208, 124, .32); }
.tip.s-red { border-color: rgba(255, 107, 107, .32); }
.tip-h { padding: 14px 16px 0; }
.legs { padding: 4px 16px 6px; }
.leg { padding: 12px 0 10px; }
.leg-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.leg-top .leg-event { font-size: 15.5px; font-weight: 700; letter-spacing: -.015em; margin: 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.leg-top .status, .leg-top .leg-time { flex-shrink: 0; }
.leg-time { font-size: 12.5px; }
.leg-time.soon { color: #ff9f43; }
.leg-meta { justify-content: flex-start; align-items: center; gap: 6px; margin-top: 3px; font-size: 13px; }
.leg-meta .i { width: 14px; height: 14px; }
.leg-pick { position: relative; margin-top: 6px; padding: 6px 0 0 22px; background: none; border-radius: 0; }
.leg-branch { position: absolute; left: 6px; top: 0; width: 12px; height: 22px; border-left: 1.5px solid var(--line-2); border-bottom: 1.5px solid var(--line-2); border-bottom-left-radius: 6px; }
.leg-pick-main b { font-size: 15.5px; font-weight: 750; }
.tip-band { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px 16px; background: rgba(11, 18, 32, .55); border-top: 1px solid var(--line); }
.cbar { position: relative; width: 10px; height: 38px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.cbar i { position: absolute; left: 0; right: 0; bottom: 0; border-radius: 999px; background: linear-gradient(0deg, #1e40af, #2563eb 50%, #0bc2fd); }
.cbar.l5 { box-shadow: 0 0 12px rgba(11, 194, 253, .6); }
.tb-conf .lbl, .tb-odd .lbl { display: block; font-size: 12px; margin-bottom: 2px; }
.tb-row { display: flex; align-items: center; gap: 8px; }
.tb-row b { font-size: 17px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.stake-chip { height: 22px; padding: 0 8px; border-radius: 6px; border: 1px solid rgba(77, 163, 255, .5); color: var(--brand-text); font-size: 11px; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; display: inline-flex; align-items: center; }
.tb-odd { text-align: right; }
.tb-odd b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.tip-analysis { margin: 0 16px; }
.tip-f { padding: 10px 16px 12px; }


/* =====================================================================
   Cadastro de tipster (compliance) e painel do administrador
   ===================================================================== */
.content.wide { max-width: 1080px; }
.sticky-in.sticky-wide { max-width: 1080px; }
.role-hint { display: flex; gap: 8px; align-items: flex-start; margin: -4px 0 0; font-size: 13px; color: var(--brand-text); line-height: 1.45; }
.role-hint .i { margin-top: 2px; }

.cs-pill { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.cs-pill .i { width: 13px; height: 13px; }
.cs-none { --cs: var(--text-2); --cs-bg: var(--surface-3); }
.cs-wait { --cs: var(--brand-text); --cs-bg: var(--brand-soft); }
.cs-warn { --cs: var(--warn); --cs-bg: var(--warn-soft); }
.cs-ok { --cs: var(--pos); --cs-bg: rgba(52, 208, 124, .13); }
.cs-bad { --cs: var(--neg); --cs-bg: var(--neg-soft); }
.cs-pill { color: var(--cs); background: var(--cs-bg); }

.side-kyc { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; padding: 12px; border-radius: var(--r); border: 1px solid var(--brand-line); background: var(--brand-soft); }
.side-kyc > .i { color: var(--brand-text); margin-top: 2px; }
.side-kyc b { display: block; font-size: 13.5px; margin-bottom: 6px; }
.kyc-banner { display: flex; align-items: center; gap: 12px; padding: 14px 16px; margin-bottom: 14px; border-radius: var(--r-lg); background: var(--cs-bg); border: 1px solid color-mix(in srgb, var(--cs) 40%, transparent); }
.kyc-banner > .i:first-child { color: var(--cs); width: 22px; height: 22px; }
.kyc-banner b { display: block; font-size: 14.5px; }
.kyc-banner small { display: block; font-size: 13px; color: var(--text-2); }
.kyc-link { display: flex; align-items: center; gap: 14px; }
.kyc-link .mi { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-text); flex-shrink: 0; }
.kyc-link b { display: block; font-size: 15px; }
.kyc-link small { display: block; font-size: 13px; color: var(--text-3); }

.kyc-hero { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-color: color-mix(in srgb, var(--cs) 45%, transparent) !important; }
.kyc-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; background: var(--cs-bg); color: var(--cs); }
.kyc-ic .i { width: 24px; height: 24px; }
.kyc-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 6px; }
.kyc-top h2 { font-size: 19px; font-weight: 750; letter-spacing: -.02em; }
.kyc-hero p { color: var(--text-2); font-size: 14.5px; line-height: 1.5; }
.stepper { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; counter-reset: s; }
.stepper li { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text-3); padding-top: 10px; border-top: 3px solid var(--surface-3); }
.stepper li span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: var(--surface-3); color: var(--text-2); flex-shrink: 0; }
.stepper li span .i { width: 13px; height: 13px; stroke-width: 3; }
.stepper li.now { color: var(--text); border-top-color: var(--brand); }
.stepper li.now span { background: var(--brand); color: #fff; }
.stepper li.done { color: var(--text-2); border-top-color: var(--pos); }
.stepper li.done span { background: var(--pos); color: #04210f; }
.kyc { gap: 14px; }
.kyc .card { display: flex; flex-direction: column; gap: 14px; }
.kyc-h { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.kyc-h span { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-text); font-size: 13px; font-weight: 800; }
.grid2 { display: grid; gap: 14px; }
@media (min-width: 560px) { .grid2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.uploads { display: grid; gap: 10px; }
@media (min-width: 640px) { .uploads { grid-template-columns: 1fr 1fr; } }
.upload { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--r); border: 1.5px dashed var(--line-2); background: var(--bg-2); cursor: pointer; transition: border-color .15s, background .15s; }
.upload:hover { border-color: var(--brand-line); }
.upload:focus-within { box-shadow: var(--ring); }
.upload.has { border-style: solid; border-color: rgba(52, 208, 124, .4); }
.up-prev { width: 52px; height: 52px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); color: var(--text-2); overflow: hidden; flex-shrink: 0; }
.up-prev img { width: 100%; height: 100%; object-fit: cover; }
.up-txt { flex: 1; min-width: 0; }
.up-txt b { display: block; font-size: 14px; }
.up-txt small { display: flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload.has .up-txt small, .up-txt small .i { color: var(--pos); }
.kyc-lock { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-3); }
.rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.rules li { display: flex; gap: 10px; font-size: 14px; color: var(--text-2); line-height: 1.45; }
.rules .i { width: 17px; height: 17px; color: var(--brand-text); flex-shrink: 0; margin-top: 2px; }
.btn-lg { height: 52px; font-size: 16px; }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; display: flex; gap: 12px; padding-bottom: 16px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 5px; top: 14px; bottom: -2px; width: 2px; background: var(--line-2); }
.timeline li:last-child::before { display: none; }
.tl-dot { width: 12px; height: 12px; border-radius: 50%; margin-top: 4px; flex-shrink: 0; background: var(--text-3); box-shadow: 0 0 0 3px var(--surface); }
.tl-aprovar .tl-dot, .tl-reativar .tl-dot { background: var(--pos); }
.tl-recusar .tl-dot, .tl-suspender .tl-dot { background: var(--neg); }
.tl-pendente .tl-dot { background: var(--warn); }
.tl-enviado .tl-dot, .tl-reenviado .tl-dot { background: var(--brand); }
.timeline b { display: block; font-size: 14px; }
.timeline small { display: block; font-size: 12.5px; color: var(--text-3); }
.timeline p { margin-top: 6px; font-size: 13.5px; color: var(--text-2); padding: 8px 10px; border-radius: var(--r-sm); background: var(--bg-2); }

/* painel admin */
.adm-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 4px; }
@media (min-width: 760px) { .adm-kpis { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.adm-kpi { padding: 14px; border-radius: var(--r-lg); border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(37, 99, 235, .08), rgba(37, 99, 235, 0) 55%), var(--surface); min-width: 0; }
.adm-kpi span { display: block; font-size: 12.5px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-kpi b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.03em; margin-top: 4px; }
.adm-kpi.hot { border-color: rgba(77, 163, 255, .6); box-shadow: 0 0 24px -10px rgba(37, 99, 235, .9); }
.adm-kpi.hot b { color: var(--brand-text); }
.utabs .count-badge { position: static; margin-left: 6px; vertical-align: 1px; }
.adm-hint { font-size: 12.5px; margin: 10px 2px; }
.adm-list { padding: 4px 0; overflow: hidden; }
.adm-list .empty { padding: 36px 16px; }
.adm-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "av id st" "av phone go" "av when go"; align-items: center; gap: 2px 12px; padding: 12px 16px; border-top: 1px solid var(--line); transition: background .12s; }
.adm-row:first-child { border-top: 0; }
a.adm-row:hover { background: var(--surface-2); }
.adm-row .avatar { grid-area: av; align-self: start; }
.adm-id { grid-area: id; min-width: 0; }
.adm-id b { display: block; font-size: 15px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-id small { display: block; font-size: 12.5px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-phone { grid-area: phone; display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--text-2); }
.adm-when { grid-area: when; font-size: 12px; color: var(--text-3); }
.adm-st { grid-area: st; justify-self: end; }
.adm-go { grid-area: go; justify-self: end; color: var(--text-3); }
@media (min-width: 860px) {
  .adm-row { grid-template-columns: auto minmax(0, 1.4fr) 170px 170px 130px 18px; grid-template-areas: "av id phone when st go"; gap: 14px; }
  .adm-row .avatar { align-self: center; }
}

/* análise de um cadastro */
.rv-head { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 8px 0 18px; }
.rv-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.rv-title h1 { font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
.rv-head p { font-size: 13px; margin-top: 4px; }
.rv-contact { display: flex; gap: 8px; }
.rv-grid { display: grid; gap: 12px; }
@media (min-width: 860px) { .rv-grid { grid-template-columns: 1fr 1fr; } .rv-wide { grid-column: 1 / -1; } }
.rv-h { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); margin-bottom: 12px; }
.rv-grid .facts li { gap: 16px; }
.rv-grid .facts span.v, .rv-grid .facts a.v { min-width: 0; overflow-wrap: anywhere; }
.rv-text { margin-top: 12px; font-size: 14px; color: var(--text-2); line-height: 1.55; white-space: pre-wrap; }
.docs { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.doc { position: relative; display: block; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-2); background: var(--bg-2); aspect-ratio: 4 / 3; }
.doc img { width: 100%; height: 100%; object-fit: contain; background: #0a0f1a; }
.doc > span { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 8px; background: rgba(11, 18, 32, .85); font-size: 12.5px; font-weight: 600; }
.doc-empty { display: grid; place-items: center; text-align: center; color: var(--text-3); gap: 6px; padding: 16px; }
.doc-empty > span { position: static; background: none; flex-direction: column; font-weight: 600; color: var(--text-2); }
.doc-empty small { font-weight: 500; color: var(--text-3); }
.rv-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.rv-checks li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.rv-checks li.auto .i, .rv-checks li.fail .i { width: 20px; height: 20px; padding: 3px; border-radius: 6px; stroke-width: 3; }
.rv-checks li.auto .i { background: rgba(52, 208, 124, .15); color: var(--pos); }
.rv-checks li.fail .i { background: var(--neg-soft); color: var(--neg); }
.rv-checks small { color: var(--text-3); font-size: 12.5px; margin-left: auto; }
.rv-checks .check { font-size: 14px; color: var(--text); }
.rv-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 640px) { .sticky-wide { flex-direction: column; align-items: stretch; gap: 10px; } .sticky-wide .sticky-sum { display: none; } .rv-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); } .rv-actions .btn { padding: 0 10px; } }
.btn-danger-solid { background: var(--neg); border-color: var(--neg); color: #2a0606; }
.btn-danger-solid:hover { filter: brightness(1.08); }

/* janela de decisão */
.sheet { width: min(520px, calc(100vw - 24px)); padding: 0; border: 1px solid var(--line-2); border-radius: var(--r-xl); background: var(--surface); color: var(--text); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.sheet::backdrop { background: rgba(5, 9, 18, .72); backdrop-filter: blur(3px); }
.sheet-in { padding: 22px; display: flex; flex-direction: column; }
.sheet h2 { font-size: 19px; font-weight: 750; letter-spacing: -.02em; margin-bottom: 6px; }
.sheet .muted { font-size: 14px; }
.reason-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.reason-chips .chip { height: auto; min-height: 32px; padding: 6px 12px; white-space: normal; text-align: left; line-height: 1.3; font-size: 13px; }
.stepper { margin: 6px 0 4px; }
.stepper { margin: 6px 0 4px; }
.utabs a { display: flex; align-items: center; justify-content: center; gap: 6px; }
.utabs .count-badge { margin-left: 0; }
.docs { grid-template-columns: repeat(2, minmax(0, 340px)); }
@media (max-width: 759px) {
  .adm-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .adm-kpi { padding: 10px 12px; }
  .adm-kpi span { font-size: 11.5px; white-space: normal; line-height: 1.25; min-height: 2.5em; }
  .adm-kpi b { font-size: 22px; margin-top: 2px; }
}
.choice.disabled { opacity: .55; cursor: not-allowed; }

/* =====================================================================
   Novidades: verificação de tips, denúncias, 2 etapas, tutorial, banca,
   páginas públicas, painel do tipster e admin
   ===================================================================== */
.mt-12 { margin-top: 12px; }
.link-btn { color: var(--brand-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; gap: 5px; }
.link-btn.faint { color: var(--text-3); font-weight: 500; font-size: 13px; }
.center .link-btn { margin-top: 6px; }

/* avatar com foto */
.avatar.has-img { background: var(--surface-3); overflow: hidden; }
.avatar.has-img img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.avatar-edit { position: relative; border-radius: 50%; flex-shrink: 0; }
.av-cam { position: absolute; right: -2px; bottom: -2px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; box-shadow: 0 0 0 3px var(--surface); }

/* cartão de tip */
.leg-time.live { color: var(--pos); }
.leg-time.live .i { animation: pulse 1.4s ease-in-out infinite; }
.react.on-blue { color: var(--brand-text); background: var(--brand-soft); border-color: var(--brand-line); }
.icon-btn-sm { width: 32px; height: 32px; color: var(--text-3); }
.icon-btn-sm:hover { color: var(--text); }
.tip-f .tip-time { margin-left: auto; }
.tip-proof { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 8px 16px 10px; border-top: 1px solid var(--line); font-size: 12px; color: var(--text-3); }
.tip-proof span { display: inline-flex; align-items: center; gap: 5px; }
.tip-proof .i { color: var(--brand-text); }

/* janelas (denúncia, banca, avisos, tutorial) */
.sheet-in h2 { font-size: 19px; }
.sheet-in .form { gap: 14px; }
.radio-list { display: grid; gap: 6px; margin: 14px 0 6px; }
.radio-row { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 11px 12px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--bg-2); cursor: pointer; font-size: 14.5px; }
.radio-row input { accent-color: var(--brand); width: 18px; height: 18px; flex-shrink: 0; }
.radio-row b { display: block; font-size: 14.5px; }
.radio-row small { display: block; color: var(--text-3); font-size: 12.5px; }
.radio-row > span { flex: 1; min-width: 0; }
.radio-row.on, .radio-row:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.radio-row > .i:first-child { color: var(--text-2); }
.radio-row > .i:last-child { color: var(--brand-text); }

/* tutorial */
.sheet.tour { text-align: center; }
.tour-ic { width: 64px; height: 64px; margin: 6px auto 16px; border-radius: 20px; display: grid; place-items: center; background: var(--brand-grad); color: #fff; box-shadow: 0 10px 30px -10px rgba(37, 99, 235, .8); }
.tour-ic .i { width: 30px; height: 30px; }
.sheet.tour h2 { font-size: 22px; margin-bottom: 8px; }
.sheet.tour p { font-size: 15px; line-height: 1.55; }
.tour-dots { display: flex; justify-content: center; gap: 6px; margin: 20px 0; }
.tour-dots i { width: 7px; height: 7px; border-radius: 99px; background: var(--surface-3); transition: width .2s; }
.tour-dots i.on { width: 22px; background: var(--brand); }

/* checklist do tipster */
.checklist { margin-bottom: 14px; }
.cl-bar { height: 6px; border-radius: 99px; background: var(--surface-3); overflow: hidden; margin: 4px 0 12px; }
.cl-bar i { display: block; height: 100%; background: var(--brand-grad); border-radius: inherit; }
.checklist ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.checklist a { display: flex; align-items: center; gap: 10px; padding: 8px 4px; font-size: 14.5px; font-weight: 550; }
.checklist a .i-sm { margin-left: auto; color: var(--text-3); }
.checklist li.ok a { color: var(--text-3); text-decoration: line-through; }
.cl-dot { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; flex-shrink: 0; }
.checklist li.ok .cl-dot { background: var(--pos); border-color: var(--pos); color: #04210f; }
.cl-dot .i { width: 12px; height: 12px; stroke-width: 3; }

/* 2 etapas, senha */
.auth.single .auth-main .brand { display: flex; }
.code-input { font-size: 26px; letter-spacing: .35em; text-align: center; font-variant-numeric: tabular-nums; height: 58px; }
.forgot-link { align-self: flex-end; font-size: 13.5px; color: var(--brand-text); font-weight: 600; margin-top: -6px; }
.steps-card { display: grid; gap: 22px; }
.step { display: flex; gap: 14px; }
.step-n { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; background: var(--brand-soft); color: var(--brand-text); font-weight: 800; font-size: 14px; }
.step b { display: block; font-size: 15px; margin-bottom: 4px; }
.step p { color: var(--text-2); font-size: 14px; line-height: 1.5; }
.secret-box { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; padding: 12px; border-radius: var(--r); background: var(--bg-2); border: 1px dashed var(--line-2); }
.secret-box code { flex: 1; min-width: 0; font-size: 15px; letter-spacing: .06em; color: var(--text); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

/* páginas públicas */
.pub-wrap { padding-top: 28px; padding-bottom: 48px; max-width: 760px; }
.pub-head { text-align: center; padding: 10px 0 8px; }
.pub-head .avatar { margin: 0 auto 14px; box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px rgba(37, 99, 235, .7), 0 0 28px rgba(11, 194, 253, .35); }
.pub-head h1 { font-size: 30px; font-weight: 800; letter-spacing: -.035em; }
.verified-pill { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 650; color: #dbe8ff; background: #16244a; border: 1px solid rgba(77, 163, 255, .5); }
.verified-pill .i { width: 14px; height: 14px; color: var(--brand-text); }
.pub-actions { justify-content: center; max-width: 460px; margin: 18px auto 0; }
.pub-title { margin: 6px 0 18px; }
.pub-title h1 { font-size: clamp(26px, 5vw, 36px); font-weight: 800; letter-spacing: -.04em; margin: 4px 0 8px; }
.kicker { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-text); }
.rank-list { list-style: none; margin: 14px 0 0; padding: 4px 0; }
.rank-list a { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); }
.rank-list li:first-child a { border-top: 0; }
.rank-list a:hover { background: var(--surface-2); }
.rank-n { width: 28px; text-align: center; font-weight: 800; color: var(--text-3); font-variant-numeric: tabular-nums; flex-shrink: 0; }
.rank-n.top { color: var(--vip); }
.rank-id { flex: 1; min-width: 0; }
.rank-id b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-id small { display: block; font-size: 12.5px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-kpi { text-align: right; flex-shrink: 0; min-width: 62px; }
.rank-kpi b { display: block; font-size: 16px; font-weight: 800; }
.rank-kpi small { font-size: 11.5px; color: var(--text-3); }
@media (max-width: 480px) { .hide-sm { display: none; } }
.post-list { display: grid; gap: 12px; }
.post-card h3 { font-size: 17px; margin-bottom: 6px; }
.post-card p { font-size: 14.5px; }
.link-more { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; color: var(--brand-text); font-weight: 650; font-size: 14px; }
.post { max-width: 680px; }
.post h1 { font-size: clamp(26px, 5vw, 36px); font-weight: 800; letter-spacing: -.035em; margin: 6px 0 10px; line-height: 1.12; }
.post .lead { font-size: 17px; color: var(--text-2); margin-bottom: 8px; }
.post h2 { font-size: 19px; margin: 26px 0 8px; }
.post p { color: var(--text-2); font-size: 16px; line-height: 1.7; }

/* minha banca */
.limit-bar { height: 10px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.limit-bar i { display: block; height: 100%; background: var(--brand); border-radius: inherit; }
.limit-bar.warn i { background: var(--warn); }
.limit-bar.over i { background: var(--neg); }
.limit-form { display: flex; gap: 10px; }
.limit-form .input-affix { flex: 1; }
.pill-btn { height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg-2); font-weight: 600; font-size: 14px; }
.pill-btn:hover { border-color: var(--brand-line); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.bet-list { list-style: none; margin: 0; padding: 4px 0; }
.bet-list a { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); }
.bet-list li:first-child a { border-top: 0; }
.bet-list b { display: block; font-size: 14.5px; }
.bet-list small { display: block; font-size: 12.5px; color: var(--text-3); }
.bet-r { text-align: right; display: grid; justify-items: end; gap: 4px; flex-shrink: 0; }

/* painel do tipster */
.bars { display: flex; align-items: flex-end; gap: 3px; height: 120px; margin-top: 8px; }
.bars i { flex: 1; min-height: 2px; border-radius: 3px 3px 0 0; background: linear-gradient(0deg, #1e40af, #2563eb 50%, #0bc2fd); }
.dash-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.dash-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.dash-kpis span { font-size: 11.5px; color: var(--text-3); }
.dash-kpis b { display: block; font-size: 17px; font-weight: 750; color: var(--text); }
@media (max-width: 520px) { .dash-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* grupo: capa e imagens */
.gp-head.has-cover { padding-top: 0; }
.gp-cover { height: 150px; margin: -8px calc(var(--gutter) * -1) -48px; background: center / cover no-repeat; position: relative; }
.gp-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 18, 32, 0) 40%, var(--bg) 100%); }
.gp-head.has-cover::before { display: none; }
.gp-head.has-cover .gp-avatar { position: relative; z-index: 1; }
@media (min-width: 960px) { .gp-cover { height: 200px; border-radius: 0 0 var(--r-lg) var(--r-lg); margin-left: 0; margin-right: 0; } }
.img-edit { display: grid; gap: 14px; }
.img-row { display: flex; align-items: center; gap: 14px; }
.img-row b { display: block; font-size: 14.5px; }
.img-row small { display: block; color: var(--text-3); font-size: 12.5px; }
.cover-prev { width: 96px; height: 34px; border-radius: 8px; background: var(--surface-3) center / cover no-repeat; flex-shrink: 0; }
.group-picks { display: grid; gap: 10px; }

/* admin */
.utabs.four { grid-template-columns: repeat(4, 1fr); }
.utabs.four a { font-size: 14px; }
@media (max-width: 480px) { .utabs.four a { font-size: 12.5px; } }
.count-badge.warn { background: var(--neg); }
.adm-kpis.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rep-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.rep-top b { font-size: 15px; }
.rep-target { font-size: 14px; color: var(--text-2); }
.rep-target a { color: var(--brand-text); font-weight: 600; }
.rep-details { margin: 8px 0; padding: 10px 12px; border-radius: var(--r-sm); background: var(--bg-2); font-size: 14px; color: var(--text); }
.rep-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; align-items: center; }
.input-sm { height: 36px; font-size: 14px; min-width: 160px; }
.rep-res { margin-top: 10px; font-size: 13px; color: var(--pos); display: flex; gap: 6px; align-items: center; }
.err-list { padding: 4px 0; }
.err-list details { border-top: 1px solid var(--line); padding: 10px 16px; }
.err-list details:first-child { border-top: 0; }
.err-list summary { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 13.5px; list-style: none; }
.err-list summary .grow { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.err-list summary .faint { font-size: 12px; flex-shrink: 0; }
.err-list pre { margin: 8px 0 0; padding: 10px; border-radius: 8px; background: var(--bg-2); font-size: 11.5px; overflow: auto; max-height: 240px; color: var(--text-2); }
.adm-go.btn { padding: 0 8px; }
.dash-g { display: block; }
.secret-box code { flex: 1 1 100%; word-break: break-all; }
.utabs.four { display: flex; overflow-x: auto; scrollbar-width: none; }
.utabs.four::-webkit-scrollbar { display: none; }
.utabs.four a { flex: 1 0 auto; padding: 0 14px; white-space: nowrap; }
.mfa-opt { display: flex; align-items: center; gap: 14px; }
.mfa-opt .mi { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-text); flex-shrink: 0; }
.mfa-opt b { display: block; font-size: 15px; }
.mfa-opt small { display: block; font-size: 13px; color: var(--text-2); margin-top: 2px; }
.mfa-opt small.faint { color: var(--warn); }
.mfa-opt.disabled { opacity: .7; cursor: default; }

/* pagamentos */
.pay-pill { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; background: var(--surface-2); color: var(--text-2); }
.pay-pill.pos { background: color-mix(in srgb, var(--pos) 16%, transparent); color: var(--pos); }
.pay-pill.warn { background: color-mix(in srgb, var(--warn) 16%, transparent); color: var(--warn); }
.pay-pill.neg { background: color-mix(in srgb, var(--neg) 16%, transparent); color: var(--neg); }
.pix-card { display: grid; gap: 14px; justify-items: stretch; }
.pix-h { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 16px; }
.pay-wait { width: 12px; height: 12px; border-radius: 50%; background: var(--warn); box-shadow: 0 0 0 0 color-mix(in srgb, var(--warn) 60%, transparent); animation: payPulse 1.6s infinite; }
@keyframes payPulse { 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.pix-qr { width: min(240px, 70vw); aspect-ratio: 1; justify-self: center; background: #fff; padding: 10px; border-radius: 14px; image-rendering: pixelated; }
.pix-code { padding: 10px 12px; border-radius: var(--r-sm); background: var(--bg-2); max-height: 76px; overflow: auto; }
.pix-code code { font-size: 12px; word-break: break-all; color: var(--text-2); }
.pix-foot { font-size: 13px; margin: 0; }
.center { text-align: center; }
.sale-tip { display: grid; gap: 10px; }
.sale-top { display: flex; align-items: center; gap: 12px; }
.sale-top b { display: block; font-size: 15px; }
.sale-top small { display: block; color: var(--text-3); font-size: 12.5px; }
.sale-top > .num { font-size: 16px; color: var(--vip, #e9b949); }
.sale-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--surface-2); color: var(--text-2); flex-shrink: 0; }
.sale-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--text-2); }
.sale-meta span { display: inline-flex; align-items: center; gap: 4px; }
.sub-top { display: flex; align-items: center; gap: 10px; }
.sub-top a b { font-size: 15.5px; }
.sub-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; font-size: 13.5px; color: var(--text-2); }
.buy-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 2px 8px; font-size: 14px; font-weight: 600; }
.buy-h a { color: var(--brand-text); }
.bal-card { display: grid; gap: 8px; }
.bal-card .bal { font-size: 34px; letter-spacing: -.02em; }
.bal-card .kpi-row { margin-top: 6px; }
.ledger { padding: 0; margin: 0; list-style: none; }
.ledger li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); }
.ledger li:first-child { border-top: 0; }
.ledger b { display: block; font-size: 14.5px; }
.ledger small { display: block; font-size: 12.5px; color: var(--text-3); }
.ledger .grow { min-width: 0; }
.ledger .grow b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ledger .right { text-align: right; display: grid; justify-items: end; gap: 3px; flex-shrink: 0; }
.strike { text-decoration: line-through; }
.pix-now { display: flex; align-items: center; gap: 12px; }
.pix-now .mi { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-text); flex-shrink: 0; }
.pix-now b { display: block; font-size: 15px; }
.pix-now small { display: block; font-size: 12.5px; color: var(--text-3); }

/* print do bilhete */
.tip-slip { display: flex; align-items: center; gap: 12px; width: calc(100% - 32px); margin: 0 16px 14px; padding: 8px 12px 8px 8px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text); text-align: left; cursor: pointer; }
.tip-slip:hover { border-color: var(--brand-text); }
.tip-slip img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; object-position: top; flex-shrink: 0; background: var(--surface-2); }
.tip-slip span { flex: 1; min-width: 0; display: grid; font-size: 14px; font-weight: 600; }
.tip-slip span svg { display: none; }
.tip-slip small { font-size: 12px; font-weight: 400; color: var(--text-3); }
.tip-slip.add { border-style: dashed; padding: 10px 12px; color: var(--text-2); }
.tip-slip.add > svg { flex-shrink: 0; }
.slip-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.slip-pick small { flex: 1 1 200px; font-size: 12.5px; }
.slip-thumb { width: 72px; height: 96px; object-fit: cover; object-position: top; border-radius: 10px; border: 1px solid var(--line-2); }
.slip-view { max-height: 70vh; overflow: auto; border-radius: var(--r-sm); background: #000; }
.slip-view img { display: block; width: 100%; height: auto; }
.slip-note { font-size: 12.5px; margin: 10px 0 12px; }
.mail-prev { padding: 0; overflow: hidden; background: #eef2f7; }
.mail-prev iframe { display: block; width: 100%; min-height: 600px; border: 0; background: #eef2f7; }
