/* Layout específico do site público (não usado pelo /admin) — extraído de old/styles.css. */

/* Tela de autenticação — visual de marketing (a base .auth-screen/.auth-panel/.auth-box
   fica em components.css porque o /admin também usa, com layout mais simples) */
.auth-visual { position: relative; overflow: hidden; display: grid; align-items: center; padding: 8%; color: white; background: radial-gradient(circle at 70% 10%, #344a50 0, transparent 35%), linear-gradient(145deg, #10151d, #243039); }
.auth-visual::after { content: ""; position: absolute; width: 440px; height: 440px; border: 1px solid rgba(185,255,74,.18); border-radius: 50%; right: -100px; bottom: -150px; box-shadow: 0 0 0 70px rgba(185,255,74,.03), 0 0 0 140px rgba(185,255,74,.02); }
.auth-character { position: absolute; right: -4%; bottom: -5%; z-index: 0; width: min(58%,620px); border-radius: 42px 0 0 0; opacity: .64; filter: saturate(1.1) contrast(1.08); box-shadow: -30px -20px 90px rgba(0,0,0,.3); }
.auth-copy { position: relative; z-index: 2; max-width: 600px; text-shadow: 0 2px 20px rgba(0,0,0,.55); }
.auth-copy h1 { font-size: clamp(3rem, 5vw, 5.8rem); line-height: .94; letter-spacing: -.075em; margin: 18px 0 24px; }
.auth-copy h1 em { color: var(--lime); font-style: normal; }
.auth-copy p { max-width: 520px; color: #cbd5e1; line-height: 1.7; }
.auth-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.auth-points span { padding: 10px 13px; border: 1px solid rgba(255,255,255,.13); border-radius: 999px; font-size: .78rem; color: #e5e7eb; }
.floating-model { position: absolute; z-index: 1; width: 115px; height: 115px; border-radius: 24px; display: grid; place-content: center; text-align: center; font-weight: 900; backdrop-filter: blur(10px); transform: rotate(8deg); border: 1px solid rgba(255,255,255,.15); box-shadow: 0 25px 50px rgba(0,0,0,.25); color: white; }
.floating-model small { font-size: .55rem; letter-spacing: .12em; margin-top: 4px; }
.model-a { right: 8%; top: 10%; background: rgba(139,92,246,.45); }
.model-b { right: 2%; top: 32%; background: rgba(185,255,74,.16); transform: rotate(-9deg); color: var(--lime); }
.mobile-brand { display: none; }
.brand-light { color: white; position: absolute; left: 7%; top: 5%; z-index: 2; }

/* Cabeçalho e navegação do site — grid de 3 colunas (marca / nav / ações) em vez de flex simples,
   pra nav ficar centralizada no espaço disponível mesmo com poucos itens, em vez de grudada na
   marca e sobrando vão vazio até as ações. Some ao rolar pra baixo, volta ao rolar pra cima
   (toggle de .topbar-hidden feito em app.js). */
.topbar { height: 72px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding: 0 max(20px, calc((100vw - 1280px) / 2)); background: var(--topbar); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(14px); transition: transform .25s ease; }
.topbar.topbar-hidden { transform: translateY(-100%); }
.nav-button, .nav-link { border: 0; background: none; }
.desktop-nav { justify-self: center; display: flex; align-self: stretch; align-items: center; gap: 26px; }
.nav-link { position: relative; display: inline-flex; align-items: center; white-space: nowrap; color: var(--muted); font-weight: 700; font-size: .92rem; }
.nav-link:hover { color: var(--orange); }
.nav-link.active { color: var(--orange); }
.nav-link.active::after { content: ""; position: absolute; bottom: -1px; left: 0; right: 0; height: 3px; background: var(--lime-dark); border-radius: 3px 3px 0 0; }
.top-actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.top-actions .profile-button { font-size: .92rem; }
.bottom-nav { display: none; }

/* Menu do perfil (dropdown na topbar — Meu perfil/Ajuda/Painel admin/Sair reunidos, pra não
   espalhar tudo lado a lado na topbar) */
.profile-menu-wrap { position: relative; }
.profile-chevron { display: inline-block; transition: transform .15s; }
#profileMenuButton[aria-expanded="true"] .profile-chevron { transform: rotate(180deg); }
.profile-menu { position: absolute; z-index: 20; top: calc(100% + 10px); right: 0; display: grid; gap: 2px; width: 210px; padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); }
.profile-menu.hidden { display: none; }
.profile-menu-item { display: block; width: 100%; padding: 11px 13px; border: 0; border-radius: 9px; background: none; color: var(--ink); font-size: .88rem; font-weight: 700; text-align: left; text-decoration: none; }
.profile-menu-item:hover { background: var(--surface-soft); color: var(--orange); }
.profile-menu-item.danger { color: #b91c1c; }
[data-theme="dark"] .profile-menu-item.danger { color: #ff9b9b; }
.profile-menu-item.danger:hover { background: color-mix(in srgb, #b91c1c 12%, var(--surface-soft)); }
.profile-menu-divider { border: 0; border-top: 1px solid var(--line); margin: 6px 4px; }
/* Minhas Participações/Ranking/Feedback só têm entrada no .desktop-nav, que some em telas
   estreitas — sem isso, essas 3 telas ficam sem nenhum jeito de navegar no mobile. Duplica no
   menu de perfil só abaixo de 980px (mesmo ponto em que .desktop-nav some), pra não repetir os
   itens no desktop onde a nav de cima já dá conta. */
.mobile-nav-item { display: none; }

/* Home / hero */
.hero { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.05fr .95fr; gap: 30px; min-height: 430px; padding: 45px; border-radius: 28px; color: white; background: radial-gradient(circle at 85% 20%, rgba(185,255,74,.13), transparent 30%), linear-gradient(125deg,var(--hero-start),var(--hero-end)); box-shadow: var(--shadow); }
.hero::before { content: ""; position: absolute; inset: auto -8% -70% auto; width: 520px; height: 520px; border-radius: 50%; background: var(--lime); opacity: .12; }
.hero h1 { max-width: 720px; margin: 12px 0 15px; font-size: clamp(2.4rem, 5vw, 4.8rem); line-height: .98; letter-spacing: -.07em; }
.hero p { color: #cbd5e1; max-width: 600px; line-height: 1.65; }
.hero-actions { display: flex; gap: 10px; margin-top: 26px; }
.hero-copy { position: relative; z-index: 2; align-self: center; }
.hero-brand-visual { position: relative; align-self: stretch; min-height: 340px; }
.hero-brand-visual > img { position: absolute; inset: -45px -45px -45px 0; width: calc(100% + 45px); height: calc(100% + 90px); object-fit: cover; object-position: center 28%; opacity: .78; mask-image: linear-gradient(to right,transparent 0,#000 22%,#000 100%); }
.hero-card { position: absolute; z-index: 2; right: 0; bottom: 0; padding: 20px; border: 1px solid rgba(255,255,255,.16); border-radius: 18px; background: rgba(7,10,14,.64); backdrop-filter: blur(14px); }
.hero-card strong { display: block; font-size: 3rem; color: var(--lime); letter-spacing: -.05em; }
.brand-signature { margin-top: 24px; color: #cbd5e1; font-size: .75rem; }
.brand-signature strong { color: #ff8b33; }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 42px; }
.feature-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.feature-card > span { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; color: #111827; background: var(--lime); font-size: .72rem; font-weight: 950; }
.feature-card h3 { margin: 20px 0 7px; }
.feature-card p, .benefit-banner p { color: var(--muted); line-height: 1.6; }
.benefit-banner { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 42px; padding: 34px; border-radius: 24px; color: white; background: linear-gradient(120deg,#19232c,#25382c); }
.benefit-banner h2 { margin: 9px 0 0; font-size: 2rem; letter-spacing: -.04em; }
.benefit-banner p { color: #cdd5cd; }

/* Campanhas (listagem e cartão) */
.campaign-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.campaign-card { overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(17,24,39,.04); cursor: pointer; position: relative; outline: none; transition: transform .2s, box-shadow .2s; }
.campaign-card:hover, .campaign-card:focus-visible { transform: translateY(-6px); border-color: color-mix(in srgb, var(--lime) 55%, var(--line)); box-shadow: 0 22px 55px rgba(0,0,0,.24); }
.campaign-card:focus-visible { box-shadow: 0 0 0 3px color-mix(in srgb, var(--lime) 50%, transparent), var(--shadow); }
.campaign-card:hover .model-icon { transform: translateY(-7px) rotate(-7deg) scale(1.08); }
.card-art { position: relative; aspect-ratio: 1; padding: 16px; display: flex; align-items: end; overflow: hidden; color: white; background: radial-gradient(circle at 72% 28%, rgba(255,255,255,.35), transparent 18%), linear-gradient(140deg, color-mix(in srgb,var(--card-color) 70%,#111), var(--card-color)); }
.card-art .card-cover, .detail-art .card-cover { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.card-art::before, .card-art::after { content: ""; position: absolute; border-radius: 28px; background: rgba(255,255,255,.18); transform: rotate(25deg); }
.card-art::before { width: 120px; height: 160px; right: 15%; top: -25px; }
.card-art::after { width: 85px; height: 95px; right: 5%; bottom: -20px; }
.model-icon { position: absolute; right: 16%; top: 27%; z-index: 1; font-size: 4.3rem; filter: drop-shadow(0 14px 16px rgba(0,0,0,.3)); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.art-label { position: relative; z-index: 1; font-size: 2.4rem; font-weight: 950; letter-spacing: -.06em; text-shadow: 0 3px 18px rgba(0,0,0,.3); }
.status-chip, .type-chip { position: absolute; z-index: 2; top: 12px; padding: 6px 9px; border-radius: 999px; font-size: .65rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.status-chip { left: 12px; color: #190b03; background: linear-gradient(135deg,#ff9b22,var(--orange)); }
.type-chip { right: 12px; background: rgba(17,24,39,.55); color: white; backdrop-filter: blur(7px); }
.campaign-body { padding: 18px; }
.campaign-body h3 { margin: 0 0 8px; font-size: 1rem; line-height: 1.35; }
.campaign-meta, .detail-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .75rem; }
.progress { height: 7px; margin: 16px 0 8px; overflow: hidden; border-radius: 999px; background: var(--surface-soft); }
.progress span { display: block; height: 100%; border-radius: inherit; background: var(--lime-dark); }
.card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.price strong { display: block; font-size: 1.15rem; }
.price small { color: var(--muted); }
.card-button { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 12px; background: var(--orange); color: #190b03; font-size: 1.1rem; font-weight: 900; }
.card-button:hover { background: #ff8b33; }
.card-actions { display: flex; align-items: center; gap: 8px; }
.card-cart-button { width: 38px; height: 38px; padding: 0; display: grid; place-items: center; border-radius: 12px; font-size: 1.15rem; font-weight: 900; border: 1px solid var(--line); background: var(--surface-soft); color: var(--ink); }
.card-cart-button:hover:not(:disabled) { border-color: var(--orange); color: var(--orange); }
.card-cart-button.in-cart { color: var(--lime-dark); border-color: var(--lime-dark); }
.card-cart-button:disabled, .card-button:disabled { opacity: .45; cursor: not-allowed; }
.cart-badge, .notification-badge { position: absolute; top: 2px; right: 2px; min-width: 16px; height: 16px; padding: 0 4px; display: grid; place-items: center; border-radius: 999px; background: var(--orange); color: #190b03; font-size: .62rem; font-weight: 900; line-height: 1; }
.cart-badge.hidden, .notification-badge.hidden { display: none; }

/* Detalhe de campanha */
.detail-layout { display: grid; grid-template-columns: 1fr 380px; gap: 26px; }
.detail-art { position: relative; min-height: 440px; border-radius: 26px; padding: 30px; display: flex; align-items: end; color: white; overflow: hidden; font-weight: 950; font-size: clamp(3rem, 7vw, 7rem); letter-spacing: -.08em; background: radial-gradient(circle at 72% 28%, rgba(255,255,255,.3), transparent 18%), linear-gradient(140deg, color-mix(in srgb,var(--card-color) 70%,#111), var(--card-color)); }
.detail-art .model-icon { font-size: clamp(7rem,15vw,12rem); top: 18%; right: 15%; }
.detail-copy, .side-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.detail-copy { margin-top: 18px; line-height: 1.7; }
.side-panel { position: sticky; top: 94px; align-self: start; }
.side-panel .big-price { font-size: 2.5rem; font-weight: 950; letter-spacing: -.06em; }
/* Carrossel de fotos da campanha (capa + galeria juntas, capa sempre primeiro) */
.photo-item { flex: 0 0 min(320px, 78vw); aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; }
.photo-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.library-photo-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.photo-item.sm { flex: 0 0 84px; border-radius: 12px; }

/* Lightbox — clique na foto expande em tela cheia */
.lightbox { position: fixed; inset: 0; z-index: 60; display: none; align-items: center; justify-content: center; padding: 28px; background: rgba(6,8,11,.9); }
.lightbox.show { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 14px; object-fit: contain; }
.lightbox-close { position: absolute; top: 20px; right: 22px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff; font-size: 1.4rem; }
.lightbox-close:hover { background: rgba(255,255,255,.25); }

/* Pagamento */
.payment-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pix-box { display: grid; place-items: center; min-height: 280px; margin: 22px 0; border-radius: 18px; background: var(--surface-soft); }
.fake-qr { width: 180px; height: 180px; padding: 10px; border: 10px solid white; background: repeating-conic-gradient(#111 0 25%, #fff 0 50%) 0 / 22px 22px; box-shadow: 0 10px 30px rgba(17,24,39,.12); }
.copy-field { display: flex; gap: 8px; padding: 7px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-raised); }
.copy-field code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 8px; font-size: .7rem; color: var(--ink); }

/* Biblioteca (Minhas Assinaturas / arquivos) */
.library-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.library-card { display: grid; grid-template-columns: 180px 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); cursor: pointer; transition: transform .2s,border-color .2s,box-shadow .2s; }
.library-card:hover, .library-card:focus-visible { transform: translateY(-3px); border-color: var(--orange); box-shadow: var(--shadow); }
.library-cover { position: relative; overflow: hidden; display: grid; place-content: center; text-align: center; color: white; background: linear-gradient(145deg,color-mix(in srgb,var(--card-color) 60%,#111),var(--card-color)); }
.library-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.library-cover span { position: relative; font-size: 4rem; }
.library-cover b { margin-top: 10px; font-size: 1.8rem; }
.library-cover small { opacity: .75; }
.library-body { padding: 20px; }
.library-body h3 { margin: 14px 0 18px; }
.library-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.library-stats span { color: var(--muted); font-size: .66rem; }
.library-stats strong { display: block; margin-top: 4px; color: var(--ink); font-size: .75rem; }

/* Assinaturas */
.subscription-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 24px 0 6px; }
.subscription-tabs button { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 2px 12px; align-items: center; padding: 20px; text-align: left; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.subscription-tabs button > span { grid-row: 1 / 3; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: var(--orange); background: color-mix(in srgb,var(--orange) 12%,var(--surface-soft)); font-size: 1.3rem; }
.subscription-tabs small { color: var(--muted); }
.subscription-tabs b { grid-column: 3; grid-row: 1 / 3; font-size: 1.5rem; }
.subscription-tabs button.active { border-color: var(--orange); box-shadow: 0 0 0 2px color-mix(in srgb,var(--orange) 20%,transparent); }

/* Ranking */
.rank-avatar { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: white; font-weight: 900; font-size: .85rem; flex-shrink: 0; background: linear-gradient(145deg, color-mix(in srgb, var(--card-color) 65%, #111), var(--card-color)); }
.rank-avatar.sm { width: 40px; height: 40px; font-size: .72rem; }
.level-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; background: var(--surface-soft); font-size: .68rem; font-weight: 800; color: var(--muted); white-space: nowrap; }
.username-tag { font-size: .78rem; font-weight: 700; color: var(--muted); vertical-align: middle; }
.suggestion-credit { display: inline-flex; align-items: center; gap: 6px; margin: 10px 0 0; padding: 7px 14px; border-radius: 999px; background: color-mix(in srgb, var(--orange) 12%, var(--surface-soft)); color: var(--ink-soft); font-size: .82rem; font-weight: 650; }
.rank-progress { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 14px 0; padding: 12px 18px; }
.rank-progress-level { font-weight: 800; font-size: .9rem; white-space: nowrap; }
.rank-progress .progress { flex: 1 1 140px; min-width: 100px; margin: 0; }
.rank-progress-points { color: var(--muted); font-size: .78rem; white-space: nowrap; }
.podium { display: flex; align-items: flex-end; justify-content: center; gap: 14px; margin: 22px 0 26px; }
.podium-item { display: grid; justify-items: center; gap: 8px; flex: 1 1 0; max-width: 220px; padding: 22px 14px 18px; border: 1px solid var(--line); border-radius: 20px 20px 10px 10px; background: var(--surface); text-align: center; }
.podium-item.place-1 { order: 2; padding-top: 30px; background: linear-gradient(160deg, color-mix(in srgb, var(--orange) 16%, var(--surface)), var(--surface)); border-color: color-mix(in srgb, var(--orange) 45%, var(--line)); }
.podium-item.place-1 .rank-avatar { width: 76px; height: 76px; font-size: 1.15rem; }
.podium-item.place-2 { order: 1; margin-bottom: 4px; }
.podium-item.place-3 { order: 3; margin-bottom: -14px; }
.podium-item.me { box-shadow: 0 0 0 2px color-mix(in srgb, var(--orange) 45%, transparent); }
.podium-rank { font-size: 1.5rem; line-height: 1; }
.podium-item strong { font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.podium-item b { font-size: 1.15rem; }
.rank-list { display: grid; gap: 8px; }
.rank-row { display: grid; grid-template-columns: 34px auto 1fr auto; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.rank-row.me { border-color: color-mix(in srgb, var(--orange) 50%, var(--line)); background: color-mix(in srgb, var(--orange) 6%, var(--surface)); }
.rank-position { font-weight: 900; color: var(--muted); text-align: center; }
.rank-info { display: grid; gap: 5px; min-width: 0; }
.rank-info strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-points { font-weight: 900; white-space: nowrap; }
.earn-points-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; margin-top: 14px; }
.earn-points-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-soft); }
.earn-points-item span { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0; font-size: .85rem; background: var(--surface); }
.earn-points-item div { display: grid; gap: 1px; min-width: 0; }
.earn-points-item strong { font-size: .8rem; }
.earn-points-item small { color: var(--muted); font-size: .7rem; line-height: 1.3; }
@media (max-width: 640px) {
  .podium { flex-wrap: wrap; }
  .podium-item { min-width: 40%; margin-bottom: 0 !important; order: initial !important; }
  .podium-item.place-1 { order: -1 !important; flex-basis: 100%; max-width: 100%; }
  .rank-row { grid-template-columns: 26px auto 1fr auto; gap: 8px; padding: 10px; }
  .earn-points-list { grid-template-columns: 1fr; }
}

/* Minhas campanhas */
.participation-list { display: grid; gap: 12px; }
.participation-card { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); cursor: pointer; transition: transform .2s, border-color .2s, box-shadow .2s; }
.participation-card.has-select { grid-template-columns: auto 96px 1fr auto; }
.participation-card:hover, .participation-card:focus-visible { transform: translateY(-3px); border-color: color-mix(in srgb, var(--lime) 45%, var(--line)); box-shadow: var(--shadow); }
.participation-art { position: relative; overflow: hidden; display: grid; place-items: center; height: 96px; border-radius: 13px; color: white; font-size: 2rem; background: linear-gradient(145deg,color-mix(in srgb,var(--card-color) 60%,#111),var(--card-color)); }
.participation-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.participation-body { min-width: 0; display: grid; gap: 8px; }
.participation-card h3 { margin: 0; font-size: 1rem; line-height: 1.3; }
.participation-actions { display: grid; gap: 8px; justify-items: end; text-align: right; }
.participation-actions .muted { max-width: 150px; font-size: .72rem; line-height: 1.4; }
.pay-select-box { display: grid; place-items: center; padding: 10px; margin: -10px; }
.pay-select-box input { appearance: none; width: 24px; height: 24px; margin: 0; border-radius: 50%; border: 2px solid var(--line); background-color: var(--surface); background-repeat: no-repeat; background-position: center; background-size: 13px; cursor: pointer; transition: background-color .15s, border-color .15s; }
.pay-select-box input:hover { border-color: color-mix(in srgb, var(--orange) 55%, var(--line)); }
.pay-select-box input:checked { border-color: var(--orange); background-color: var(--orange); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23190b03' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4 12 9 17 20 6'/%3E%3C/svg%3E"); }

/* Ajuda e feedback */
.feedback-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.feedback-grid h3 { margin: 18px 0 4px; }
.suggestion-card h3 { margin: 6px 0 6px; }
.suggestion-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.reaction-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-soft); color: var(--ink); font-weight: 800; font-size: .8rem; transition: transform .15s, border-color .15s, background-color .15s; }
.reaction-btn:hover:not(:disabled) { transform: translateY(-1px); border-color: color-mix(in srgb, var(--lime) 45%, var(--line)); }
.reaction-btn:disabled { opacity: .5; cursor: not-allowed; }
.reaction-btn.active-like { background: color-mix(in srgb, var(--lime) 22%, var(--surface-soft)); border-color: var(--lime-dark); color: var(--lime-dark); }
.reaction-btn.active-dislike { background: color-mix(in srgb, #ff5c5c 18%, var(--surface-soft)); border-color: #ff5c5c; color: #ff5c5c; }
.suggestion-comments { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.suggestion-comments.hidden { display: none; }
.comment-list { display: grid; gap: 12px; margin-bottom: 10px; }
.feature-card { transition: transform .2s, border-color .2s, box-shadow .2s; }
.feature-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--lime) 45%, var(--line)); box-shadow: var(--shadow); }
.help-timeline { position: relative; display: flex; justify-content: space-between; gap: 8px; margin: 26px 0 6px; }
.help-timeline::before { content: ""; position: absolute; top: 26px; left: 6%; right: 6%; height: 2px; background: var(--line); z-index: 0; }
.help-timeline-step { position: relative; z-index: 1; display: grid; justify-items: center; gap: 8px; text-align: center; flex: 1; }
.help-timeline-circle { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 1.3rem; background: var(--surface); border: 2px solid var(--line); transition: transform .25s ease, border-color .25s ease, background-color .25s ease; }
.help-timeline-step:hover .help-timeline-circle { transform: translateY(-4px) scale(1.06); border-color: var(--orange); background: color-mix(in srgb, var(--orange) 14%, var(--surface)); }
.help-timeline-step strong { color: var(--lime-dark); font-size: .78rem; font-weight: 900; }
.help-timeline-step small { color: var(--muted); font-size: .74rem; line-height: 1.4; max-width: 110px; }
.help-search { margin: 18px 0 20px; }
.help-category { margin-top: 22px; }
.help-category:first-child { margin-top: 6px; }
.help-category-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.help-category-head span { font-size: 1.2rem; }
.help-category-head h3 { margin: 0; }
.help-faq-item { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; margin-bottom: 10px; transition: border-color .2s; }
.help-faq-item.open { border-color: color-mix(in srgb, var(--orange) 40%, var(--line)); }
.help-faq-question { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; padding: 16px 18px; border: 0; background: none; color: var(--ink); font-weight: 800; font-size: .9rem; text-align: left; cursor: pointer; }
.help-faq-chevron { flex-shrink: 0; color: var(--muted); transition: transform .25s ease, color .25s ease; }
.help-faq-item.open .help-faq-chevron { transform: rotate(180deg); color: var(--orange); }
.help-faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.help-faq-answer p { margin: 0; padding: 0 18px 16px; color: var(--muted); line-height: 1.65; }
.help-cta { margin-top: 32px; }
.faq-grid { display: grid; gap: 10px; }
details { padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
summary { cursor: pointer; font-weight: 800; color: var(--ink); }
details p { color: var(--muted); line-height: 1.65; }

@media (max-width: 980px) {
  .auth-screen { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
  .mobile-brand { display: flex; position: absolute; top: 24px; left: 24px; }
  .auth-panel { min-height: 100vh; padding-top: 90px; }
  .desktop-nav { display: none; gap: 10px; }
  .profile-name { display: none; }
  .mobile-nav-item { display: block; }
  .campaign-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-layout, .payment-layout { grid-template-columns: minmax(0, 1fr); }
  .side-panel { position: static; }
  .hero { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .feature-grid { grid-template-columns: repeat(2,1fr); }
  .library-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .topbar { height: 62px; padding: 0 16px; }
  .topbar .brand span:last-child { display: none; }
  .view { width: min(100% - 28px, 1280px); padding-top: 24px; }
  .bottom-nav { position: fixed; z-index: 12; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr); padding: 8px 10px max(8px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--topbar); backdrop-filter: blur(12px); }
  .bottom-nav button { display: grid; gap: 2px; place-items: center; border: 0; background: none; color: var(--muted); font-size: .62rem; font-weight: 800; }
  .bottom-nav button:hover { color: var(--orange); }
  .bottom-nav button.active { color: var(--orange); }
  .bottom-nav button.active svg { filter: drop-shadow(0 0 7px rgba(255,106,0,.6)); }
  .bottom-nav svg { width: 21px; height: 21px; }
  .campaign-grid { grid-template-columns: 1fr; }
  .hero { padding: 27px 22px; min-height: 360px; border-radius: 22px; }
  .hero h1 { font-size: 2.65rem; }
  .hero-actions { flex-direction: column; }
  .section-head, .page-head { align-items: start; }
  .page-head { flex-direction: column; }
  .stat-card { padding: 15px; }
  .stat-card strong { font-size: 1.3rem; }
  .detail-art { min-height: 260px; }
  .campaign-tools { grid-template-columns: 1fr; }
  .modal-actions { flex-direction: column-reverse; }
  .modal-actions button { width: 100%; }
  .feature-grid, .feedback-grid, .split-grid { grid-template-columns: 1fr; }
  .help-timeline { flex-direction: column; gap: 14px; }
  .help-timeline::before { display: none; }
  .help-timeline-step { display: flex; align-items: center; text-align: left; gap: 12px; }
  .help-timeline-step small { max-width: none; }
  .benefit-banner { align-items: start; flex-direction: column; padding: 24px; }
  .benefit-banner h2 { font-size: 1.6rem; }
  .subscription-tabs { grid-template-columns: 1fr; }
  .library-card { grid-template-columns: 1fr; }
  .library-cover { min-height: 170px; }
  .notification-card { grid-template-columns: auto 1fr; }
  .notification-card button { grid-column: 1 / -1; }
  .participation-card { grid-template-columns: 70px 1fr; }
  .participation-card.has-select { grid-template-columns: auto 70px 1fr; }
  .participation-actions { grid-column: 1 / -1; justify-items: stretch; text-align: left; }
  .participation-actions button { width: 100%; }
  .stat-grid.cols-2, .stat-grid.cols-3 { grid-template-columns: 1fr 1fr; }
  .profile-hero { flex-direction: column; align-items: stretch; gap: 16px; }
  .profile-hero .danger-button { width: 100%; }
}
.campaign-tools { display: grid; grid-template-columns: 1fr 220px; gap: 12px; margin-bottom: 14px; }

/* Perfil */
.rank-avatar.lg { width: 68px; height: 68px; font-size: 1.15rem; }
.profile-hero { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.profile-hero-main { display: flex; align-items: center; gap: 18px; }
.profile-hero-main h1 { margin: 0; font-size: 1.7rem; letter-spacing: -.03em; }
.profile-hero-meta { display: flex; align-items: center; gap: 10px; margin-top: 8px; flex-wrap: wrap; font-size: .78rem; }
.referral-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.referral-stats > div { text-align: center; }
.referral-stats strong { display: block; font-size: 1.3rem; font-weight: 900; }
.referral-stats span { color: var(--muted); font-size: .68rem; }
.activity-list { display: grid; gap: 8px; margin-top: 14px; }
.activity-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.activity-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--surface-soft); font-size: 1rem; }
.activity-body { display: grid; gap: 3px; min-width: 0; }
.activity-body strong { font-size: .85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.activity-body time { color: var(--muted); font-size: .68rem; }

.avatar img, .rank-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.profile-avatar-wrap { position: relative; flex-shrink: 0; }
.avatar-edit-badge { position: absolute; z-index: 1; right: -4px; bottom: -4px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--surface); background: var(--orange); color: #190b03; }
.avatar-edit-badge:hover { background: #ff812b; }
.avatar-edit-badge svg { width: 13px; height: 13px; }
.avatar-picker-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.avatar-picker-section { margin-top: 14px; }
.avatar-picker-section h3 { margin: 0 0 10px; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.avatar-picker-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: 10px; }
.avatar-picker-grid button { padding: 0; border: 2px solid transparent; border-radius: 50%; width: 56px; height: 56px; overflow: hidden; cursor: pointer; background: var(--surface-soft); }
.avatar-picker-grid button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar-picker-grid button:hover { border-color: color-mix(in srgb, var(--orange) 45%, transparent); }
.avatar-picker-grid button.active { border-color: var(--orange); }
.activity-points { color: var(--lime); font-weight: 900; }

.site-footer { padding: 22px max(20px, calc((100vw - 1280px) / 2)) max(22px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--topbar); }
.site-footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; color: var(--muted); font-size: .78rem; }
.site-footer-inner a { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 700; }
.site-footer-inner a:hover { color: var(--lime); }
.site-footer-inner a svg { width: 15px; height: 15px; }
.site-footer-inner .text-button { color: var(--muted); font-weight: 700; font-size: .78rem; }
.site-footer-inner .text-button:hover { color: var(--lime); }
.site-footer-sep { opacity: .5; }
@media (max-width: 720px) { .site-footer { padding-bottom: max(78px, env(safe-area-inset-bottom)); } .site-footer-sep { display: none; } .site-footer-inner { flex-direction: column; align-items: flex-start; gap: 6px; } }

.legal-content { display: grid; gap: 4px; max-height: 60vh; overflow-y: auto; padding-right: 6px; }
.legal-content h3 { margin: 16px 0 4px; font-size: .92rem; }
.legal-content h3:first-of-type { margin-top: 6px; }
.legal-content p { color: var(--ink-soft); line-height: 1.65; margin: 0 0 4px; }
.legal-content a { color: var(--lime-dark); font-weight: 700; }
