/* Modal de limite atingido (#limit-modal, montado por showLimitModal no app.js).
   Cores pelos tokens --sh-*: segue o tema Claro/Escuro do app. */
.lm-fundo{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(15,13,30,.48);animation:lm-fundo .2s ease both}
html[data-tema="escuro"]:has(#app.view.active) .lm-fundo{background:rgba(4,7,12,.66)}
.lm-caixa{position:relative;width:100%;max-width:440px;max-height:calc(100dvh - 32px);overflow-y:auto;padding:28px 26px 22px;border-radius:22px;
  background:var(--sh-surface,#fff);color:var(--sh-text,#16161d);border:1px solid var(--sh-border,#ececf1);
  box-shadow:0 1px 2px rgba(17,17,26,.06),0 30px 70px -20px rgba(17,17,26,.35);animation:lm-sobe .24s cubic-bezier(.23,1,.32,1) both}
html[data-tema="escuro"]:has(#app.view.active) .lm-caixa{background:var(--tm-elevated)}
@keyframes lm-fundo{from{opacity:0}}
@keyframes lm-sobe{from{opacity:0;transform:translateY(10px) scale(.98)}}
.lm-fechar{position:absolute;top:14px;right:14px;width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:10px;background:transparent;color:var(--sh-text-3,#6b6b78);cursor:pointer;transition:background-color .15s,color .15s}
.lm-fechar:hover{background:var(--sh-hover,#f4f4f7);color:var(--sh-text,#16161d)}
.lm-ico{width:48px;height:48px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;color:var(--sh-accent,#6C4DFF);
  background:linear-gradient(150deg,var(--sh-accent-soft,#f3f0ff),color-mix(in srgb,var(--sh-accent,#6C4DFF) 16%,transparent));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--sh-accent,#6C4DFF) 18%,transparent)}
.lm-titulo{margin:16px 0 6px;padding-right:28px;font-family:'Sora',sans-serif;font-size:1.22rem!important;font-weight:700;letter-spacing:-.02em;line-height:1.3;color:var(--sh-text,#16161d)}
.lm-sub{margin:0;font-size:.92rem;line-height:1.55;color:var(--sh-text-2,#3f3f4b)}
.lm-uso{margin-top:18px;padding:14px 16px;border-radius:14px;background:var(--sh-hover,#f4f4f7);border:1px solid var(--sh-border,#ececf1)}
.lm-uso-l{display:flex;justify-content:space-between;gap:12px;font-size:.85rem;color:var(--sh-text-2,#3f3f4b);font-weight:600}
.lm-uso-l b{color:var(--sh-text,#16161d);font-variant-numeric:tabular-nums;white-space:nowrap}
.lm-barra{height:6px;margin-top:10px;border-radius:99px;background:color-mix(in srgb,var(--sh-accent,#6C4DFF) 14%,transparent);overflow:hidden}
.lm-barra i{display:block;height:100%;border-radius:inherit;background:var(--sh-accent,#6C4DFF)}
.lm-renova{margin:10px 0 0;font-size:.8rem;line-height:1.45;color:var(--sh-text-3,#6b6b78)}
.lm-of-tit{margin:20px 0 8px;font-size:.82rem;font-weight:650;color:var(--sh-text-3,#6b6b78)}
.lm-ofertas{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:8px}
.lm-oferta{--c:#6C4DFF;padding:12px 14px;border-radius:13px;border:1px solid color-mix(in srgb,var(--c) 28%,var(--sh-border,#ececf1));background:color-mix(in srgb,var(--c) 5%,var(--sh-surface,#fff))}
.lm-premium{--c:#0ea5e9}
.lm-of-cab{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.lm-of-cab b{font-family:'Sora',sans-serif;font-size:.95rem;color:color-mix(in srgb,var(--c) 80%,var(--sh-text,#16161d))}
.lm-of-cab span{font-weight:750;font-size:.92rem;color:var(--sh-text,#16161d);white-space:nowrap}
.lm-of-cab small{font-weight:500;font-size:.72rem;color:var(--sh-text-3,#6b6b78)}
.lm-oferta p{margin:6px 0 2px;font-size:.84rem;font-weight:650;color:var(--sh-text,#16161d)}
.lm-oferta>small{font-size:.75rem;color:var(--sh-text-3,#6b6b78)}
html[data-tema="escuro"]:has(#app.view.active) .lm-of-cab b{color:color-mix(in srgb,var(--c) 55%,#fff)}
.lm-acoes{display:flex;flex-direction:column;gap:8px;margin-top:20px}
.lm-btn{min-height:46px;border-radius:12px;font:inherit;font-size:.92rem;font-weight:700;cursor:pointer;transition:filter .15s,background-color .15s,transform .12s}
.lm-btn:active{transform:scale(.98)}
.lm-btn-pri{border:0;background:var(--sh-accent,#6C4DFF);color:#fff}
.lm-btn-pri:hover{filter:brightness(1.06)}
.lm-btn-sec{border:1px solid var(--sh-border-strong,#dcdce4);background:transparent;color:var(--sh-text-2,#3f3f4b)}
.lm-btn-sec:hover{background:var(--sh-hover,#f4f4f7)}
.lm-caixa :focus-visible{outline:2px solid var(--sh-accent,#6C4DFF);outline-offset:2px}
@media (max-width:480px){
  .lm-fundo{align-items:flex-end;padding:0}
  .lm-caixa{max-width:none;border-radius:22px 22px 0 0;padding:24px 18px calc(18px + env(safe-area-inset-bottom));max-height:92dvh}
}
@media (prefers-reduced-motion:reduce){.lm-fundo,.lm-caixa{animation:none}}
/* Card de fim do teste Pro (mostrarFimDoTeste no app.js) */
.ft-caixa{max-width:560px}
.ft-caixa .lm-ico{font-size:1.4rem}
.ft-tab-wrap{margin-top:16px;overflow-x:auto;border:1px solid var(--sh-border,#ececf1);border-radius:14px}
.ft-tab{width:100%;border-collapse:collapse;font-size:.84rem}
.ft-tab th,.ft-tab td{padding:8px 12px;text-align:left;border-bottom:1px solid var(--sh-border,#ececf1)}
.ft-tab tbody tr:last-child th,.ft-tab tbody tr:last-child td{border-bottom:0}
.ft-tab thead th{font-size:.75rem;font-weight:650;color:var(--sh-text-3,#6b6b78);background:var(--sh-hover,#f4f4f7)}
.ft-tab tbody th{font-weight:600;color:var(--sh-text,#16161d)}
.ft-tab td{font-variant-numeric:tabular-nums;color:var(--sh-text-2,#3f3f4b);white-space:nowrap}
.ft-lista{margin:8px 0 10px;padding-left:18px;font-size:.8rem;line-height:1.5;color:var(--sh-text-2,#3f3f4b)}
.ft-quero{width:100%;min-height:40px;font-size:.86rem}
