/* =========================================================
   Rifa — Design System
   Tipografia Inter · superfícies suaves · mobile-first
   ========================================================= */

:root {
    /* Marca */
    --brand:        #16a34a;
    --brand-600:    #15a34a;
    --brand-700:    #128040;
    --brand-050:    #ecfdf5;
    --brand-100:    #d1fae5;
    --accent:       #7c3aed;   /* roxo p/ sorteio/ganhador */
    --accent-050:   #f5f3ff;

    /* Tinta / neutros */
    --ink:          #0f172a;
    --ink-2:        #334155;
    --muted:        #64748b;
    --muted-2:      #94a3b8;
    --line:         #e6e9ef;
    --line-2:       #eef1f5;
    --bg:           #f4f6f9;
    --card:         #ffffff;

    /* Status */
    --ok:           #16a34a;
    --ok-bg:        #ecfdf5;
    --ok-bd:        #a7f3d0;
    --warn-bg:      #fef9c3;
    --warn-fg:      #854d0e;
    --danger:       #dc2626;
    --danger-bg:    #fef2f2;
    --danger-bd:    #fecaca;

    /* Formas */
    --r-xs: 8px; --r-sm: 10px; --r: 14px; --r-lg: 18px; --r-xl: 24px; --r-full: 999px;
    --sh-sm: 0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.05);
    --sh:    0 2px 4px rgba(16,24,40,.05), 0 8px 24px rgba(16,24,40,.06);
    --sh-lg: 0 12px 32px rgba(16,24,40,.12);
    --ring:  0 0 0 4px rgba(22,163,74,.15);

    --wrap: 640px;
    --wrap-lg: 980px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 800; }
h2 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1rem; }
a { color: var(--brand-700); }
small { font-size: .82em; }

.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 24px 16px 40px; }
.container--lg { max-width: var(--wrap-lg); }

/* ---------- Header ---------- */
.topo {
    position: sticky; top: 0; z-index: 50;
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 16px;
    background: rgba(255,255,255,.85);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
}
.topo__logo {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; letter-spacing: -0.02em;
}
.topo__logo::before { content: "🎟️"; font-size: 1.1rem; }
.topo nav { display: flex; align-items: center; gap: 6px; }
.topo nav a {
    color: var(--ink-2); text-decoration: none; font-size: .9rem; font-weight: 600;
    padding: 8px 12px; border-radius: var(--r-full); transition: background .15s, color .15s;
}
.topo nav a:hover { background: var(--line-2); color: var(--ink); }
.topo nav a.nav-cta { color: var(--brand-700); background: var(--brand-050); }
.topo nav a.nav-cta:hover { background: var(--brand-100); }

/* ---------- Footer ---------- */
.rodape { text-align: center; color: var(--muted); font-size: .82rem; padding: 28px 16px 40px; }
.rodape strong { color: var(--ink-2); }

/* ---------- Utilitários ---------- */
.flash {
    display: flex; align-items: center; gap: 10px;
    background: var(--brand-050); border: 1px solid var(--ok-bd); color: #065f46;
    padding: 12px 16px; border-radius: var(--r); margin-bottom: 18px; font-size: .92rem; font-weight: 500;
}
.erro { background: var(--danger-bg); border: 1px solid var(--danger-bd); color: #991b1b; padding: 11px 14px; border-radius: var(--r-sm); font-size: .9rem; }
.dica { font-size: .82rem; color: var(--muted); margin: 6px 0 0; }
.vazio { color: var(--muted); text-align: center; padding: 24px; }
.vazio-grande { text-align: center; padding: 64px 0; color: var(--muted); }
.vazio-grande h1 { font-size: 4rem; margin: 0; color: var(--line); }

/* ---------- Botões ---------- */
.btn-principal, .btn-secundario, .btn-sortear {
    font-family: inherit; cursor: pointer; border: none; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    transition: transform .05s ease, background .15s ease, box-shadow .15s ease;
}
.btn-principal:active, .btn-sortear:active { transform: translateY(1px); }
.btn-principal {
    width: 100%; margin-top: 18px; padding: 15px 20px;
    background: var(--brand); color: #fff; font-size: 1.02rem; border-radius: var(--r);
    box-shadow: 0 6px 16px rgba(22,163,74,.28);
}
.btn-principal:hover { background: var(--brand-700); }
.btn-secundario {
    width: auto; padding: 10px 16px; background: #fff; color: var(--ink-2);
    border: 1px solid var(--line); border-radius: var(--r-sm); font-size: .9rem;
}
.btn-secundario:hover { background: var(--line-2); }
.aviso-reserva { font-size: .8rem; color: var(--muted); text-align: center; margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 6px; }

/* ---------- Formulários ---------- */
label { display: block; font-weight: 600; margin: 16px 0 7px; font-size: .9rem; color: var(--ink-2); }
label small { color: var(--muted); font-weight: 400; }
input, textarea, select {
    width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm);
    font-size: 1rem; font-family: inherit; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s;
}
input::placeholder, textarea::placeholder { color: var(--muted-2); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--brand); box-shadow: var(--ring); }
select { -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
.form-linha { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ---------- Cards de superfície ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-sm); }

/* ---------- Home ---------- */
.hero-home { text-align: center; margin: 8px 0 28px; }
.hero-home h1 { margin-bottom: 6px; }
.hero-home p { color: var(--muted); margin: 0; }
.grid-rifas { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 18px; }
.card-rifa {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
    text-decoration: none; color: inherit; box-shadow: var(--sh-sm); transition: transform .16s ease, box-shadow .16s ease;
    display: flex; flex-direction: column;
}
.card-rifa:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.card-rifa__img { height: 168px; background: linear-gradient(135deg,#e6f7ee,#d1fae5); background-size: cover; background-position: center; }
.card-rifa__corpo { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-rifa h2 { margin: 0; font-size: 1.08rem; }
.card-rifa .premio { color: var(--muted); font-size: .88rem; margin: 0; }
.card-rifa .preco { font-weight: 800; color: var(--brand-700); margin: 4px 0 0; font-size: 1.05rem; }
.card-rifa .preco small { color: var(--muted); font-weight: 500; }
.card-rifa__cta { margin-top: auto; padding-top: 10px; }
.card-rifa__cta span { display: block; text-align: center; background: var(--brand-050); color: var(--brand-700); font-weight: 700; padding: 10px; border-radius: var(--r-sm); font-size: .9rem; }

/* ---------- Detalhe da rifa ---------- */
.rifa-detalhe { }
.rifa-detalhe__img {
    aspect-ratio: 16/9; width: 100%; border-radius: var(--r-lg); margin-bottom: 20px;
    background: linear-gradient(135deg,#e6f7ee,#d1fae5); background-size: cover; background-position: center;
    box-shadow: var(--sh-sm);
}
.premio-grande { font-size: 1.05rem; font-weight: 600; color: var(--ink-2); margin: -2px 0 14px; }
.descricao { color: var(--muted); }

/* Barra de progresso */
.barra-progresso { height: 10px; background: var(--line); border-radius: var(--r-full); overflow: hidden; }
.barra-progresso__preenchida { height: 100%; background: linear-gradient(90deg, var(--brand), #22c55e); border-radius: var(--r-full); transition: width .4s ease; }
.progresso-info { font-size: .86rem; color: var(--muted); margin: 8px 0 0; }
.progresso-info strong { color: var(--ink); }

/* Ficha (selo loteria / data / whatsapp) */
.ficha-rifa { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 16px 0 8px; }
.selo-loteria { background: var(--brand-050); color: #166534; border: 1px solid var(--ok-bd); border-radius: var(--r-full); padding: 6px 13px; font-size: .82rem; font-weight: 700; }
.ficha-data { background: #fff; color: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r-full); padding: 6px 13px; font-size: .82rem; font-weight: 600; }
.btn-whats { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; background: #25d366; color: #fff; text-decoration: none; padding: 8px 15px; border-radius: var(--r-full); font-size: .84rem; font-weight: 700; box-shadow: 0 4px 12px rgba(37,211,102,.3); }
.btn-whats:hover { background: #1eb257; }

.preco-destaque { font-size: 1.55rem; font-weight: 800; color: var(--brand-700); margin: 18px 0 4px; letter-spacing: -.02em; }
.preco-destaque small { font-size: .85rem; color: var(--muted); font-weight: 500; }
.esgotado { font-size: 1.15rem; font-weight: 700; color: #991b1b; text-align: center; padding: 20px; background: var(--danger-bg); border-radius: var(--r); }

/* Form de compra como um cartão */
.form-compra { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh); padding: 20px; margin-top: 10px; }
.form-compra > label:first-child { margin-top: 0; }

/* Pacotes promocionais */
.pacotes-oferta { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); gap: 10px; }
.pacote-card {
    position: relative; text-align: left; padding: 14px; border: 2px solid var(--line); border-radius: var(--r);
    background: #fff; cursor: pointer; display: flex; flex-direction: column; gap: 2px; width: auto; font-family: inherit;
    transition: border-color .15s, box-shadow .15s, transform .05s;
}
.pacote-card:hover { border-color: var(--brand); }
.pacote-card:active { transform: translateY(1px); }
.pacote-card--ativo { border-color: var(--brand); background: var(--brand-050); box-shadow: var(--ring); }
.pacote-card__qtd { font-weight: 700; font-size: .95rem; color: var(--ink); }
.pacote-card__preco { color: var(--brand-700); font-weight: 800; font-size: 1.2rem; }
.pacote-card__unit { color: var(--muted); font-size: .76rem; }

/* Stepper de quantidade */
.qtd-stepper { display: flex; align-items: stretch; gap: 0; max-width: 220px; }
.qtd-step {
    flex: 0 0 52px; font-size: 1.4rem; font-weight: 700; color: var(--brand-700);
    background: var(--brand-050); border: 1.5px solid var(--line); cursor: pointer; user-select: none;
}
.qtd-step:first-child { border-radius: var(--r-sm) 0 0 var(--r-sm); border-right: none; }
.qtd-step:last-child { border-radius: 0 var(--r-sm) var(--r-sm) 0; border-left: none; }
.qtd-step:hover { background: var(--brand-100); }
.qtd-stepper input { text-align: center; border-radius: 0; font-weight: 700; font-size: 1.1rem; -moz-appearance: textfield; }
.qtd-stepper input::-webkit-outer-spin-button, .qtd-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.qtd-botoes { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.qtd-chip { flex: 0 0 auto; width: auto; padding: 8px 14px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-full); cursor: pointer; font-weight: 700; font-size: .88rem; color: var(--ink-2); font-family: inherit; }
.qtd-chip:hover { border-color: var(--brand); color: var(--brand-700); }

.subtotal-barra { display: flex; justify-content: space-between; align-items: center; margin: 18px 0 0; padding: 16px 0 4px; border-top: 1px solid var(--line); font-size: 1rem; color: var(--muted); }
.subtotal-barra strong { color: var(--brand-700); font-size: 1.4rem; font-weight: 800; }

/* Regulamento */
.regulamento { margin-top: 18px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; overflow: hidden; }
.regulamento summary { cursor: pointer; font-weight: 600; padding: 14px 16px; color: var(--ink-2); list-style: none; }
.regulamento summary::-webkit-details-marker { display: none; }
.regulamento summary::after { content: "⌄"; float: right; color: var(--muted); }
.regulamento div { color: var(--muted); font-size: .9rem; padding: 0 16px 14px; }

/* ---------- Barra de ação fixa (mobile) ---------- */
.sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: none; align-items: center; gap: 12px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(16,24,40,.06);
}
.sticky-cta__info { display: flex; flex-direction: column; line-height: 1.1; }
.sticky-cta__info span { font-size: .72rem; color: var(--muted); }
.sticky-cta__info strong { font-size: 1.15rem; color: var(--brand-700); font-weight: 800; }
.sticky-cta button { margin: 0; width: auto; flex: 1; }

/* ---------- Checkout: passos ---------- */
.passos { display: flex; align-items: center; gap: 8px; margin-bottom: 22px; }
.passo { display: flex; align-items: center; gap: 7px; font-size: .84rem; color: var(--muted); font-weight: 600; }
.passo span { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--line); color: #fff; font-size: .8rem; }
.passo--ativo { color: var(--ink); }
.passo--ativo span, .passo--feito span { background: var(--brand); box-shadow: 0 2px 6px rgba(22,163,74,.35); }
.passo-linha { flex: 1; height: 2px; background: var(--line); max-width: 64px; border-radius: 2px; }
.voltar { display: inline-block; color: var(--muted); text-decoration: none; font-size: .9rem; font-weight: 600; margin-bottom: 4px; }
.voltar:hover { color: var(--ink); }

/* Métodos de pagamento */
.metodos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.metodo { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 16px; border: 2px solid var(--line); border-radius: var(--r); cursor: pointer; transition: border-color .15s, background .15s; }
.metodo input { position: absolute; opacity: 0; pointer-events: none; }
.metodo--ativo { border-color: var(--brand); background: var(--brand-050); box-shadow: var(--ring); }
.metodo--off { opacity: .5; cursor: not-allowed; }
.metodo__icone { font-size: 1.5rem; }
.metodo__nome { font-weight: 700; color: var(--ink); }
.metodo__desc { font-size: .8rem; color: var(--muted); }

/* Resumo da compra */
.resumo-compra { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; margin: 20px 0; box-shadow: var(--sh-sm); }
.resumo-compra__linha { color: var(--muted); font-size: .9rem; }
.resumo-compra__total { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 1rem; }
.resumo-compra__total strong { color: var(--brand-700); font-size: 1.35rem; font-weight: 800; }

.form-checkout, .form-cartao { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh); padding: 20px; }
.form-checkout > label:first-of-type, .form-cartao > label:first-of-type { margin-top: 0; }

/* ---------- Pedido / Pix ---------- */
.pedido { }
.pedido__resumo { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; margin-bottom: 18px; box-shadow: var(--sh-sm); }
.numeros-lista { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.num { background: var(--brand-050); color: #166534; border: 1px solid var(--ok-bd); border-radius: var(--r-xs); padding: 5px 9px; font-family: 'SFMono-Regular', ui-monospace, Menlo, monospace; font-size: .88rem; font-weight: 700; }
.status-box { border-radius: var(--r-lg); padding: 26px; text-align: center; }
.status-box--pago { background: var(--brand-050); border: 1px solid var(--ok-bd); }
.status-box--expirado { background: var(--danger-bg); border: 1px solid var(--danger-bd); }
.status-box--pendente { background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh); }
.qr { width: 232px; height: 232px; margin: 12px auto; display: block; border-radius: var(--r); border: 1px solid var(--line); padding: 8px; background: #fff; }
.pix-label { font-weight: 600; margin-top: 14px; color: var(--ink-2); }
.pix-copia { display: flex; gap: 8px; align-items: stretch; }
.pix-copia textarea { height: 68px; font-family: ui-monospace, monospace; font-size: .8rem; resize: none; }
.pix-copia input { font-size: .85rem; }
.btn-copiar { flex: 0 0 auto; width: auto; padding: 0 18px; background: var(--brand); color: #fff; border: none; border-radius: var(--r-sm); cursor: pointer; font-weight: 700; text-decoration: none; display: flex; align-items: center; font-family: inherit; }
.btn-copiar:hover { background: var(--brand-700); }
.aguardando { color: var(--muted); margin-top: 16px; font-size: .9rem; }

/* ---------- Admin ---------- */
.admin-topo { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.admin-topo h1 { margin: 0; }
.admin-topo .btn-principal { width: auto; margin: 0; padding: 11px 18px; }
.login-box { max-width: 380px; margin: 48px auto; background: var(--card); padding: 30px; border-radius: var(--r-lg); box-shadow: var(--sh); }
.login-box h1 { font-size: 1.4rem; }
.form-admin { background: var(--card); padding: 22px; border-radius: var(--r-lg); box-shadow: var(--sh); }

.tabela { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm); border: 1px solid var(--line); }
.tabela th, .tabela td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line-2); font-size: .9rem; }
.tabela tbody tr:last-child td { border-bottom: none; }
.tabela th { background: #fbfcfd; font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 700; }
.tabela a { color: var(--brand-700); text-decoration: none; font-weight: 600; }
.tabela tbody tr:hover { background: #fbfcfd; }

.badge { padding: 3px 10px; border-radius: var(--r-full); font-size: .74rem; font-weight: 700; text-transform: capitalize; }
.badge--ativa, .badge--pago { background: var(--brand-100); color: #166534; }
.badge--rascunho, .badge--reservado { background: var(--warn-bg); color: var(--warn-fg); }
.badge--encerrada, .badge--expirado, .badge--cancelado { background: var(--line-2); color: var(--muted); }

.cards-metricas { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin: 18px 0; }
.metrica { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; text-align: center; box-shadow: var(--sh-sm); }
.metrica span { display: block; font-size: 1.3rem; font-weight: 800; color: var(--ink); }
.metrica small { color: var(--muted); font-size: .8rem; }

.link-publico { margin: 18px 0; }
.sorteio-box { background: var(--accent-050); border: 1px solid #e9d5ff; border-radius: var(--r-lg); padding: 20px; margin: 18px 0; }
.sorteio-box h2 { margin: 0 0 4px; }
.btn-sortear { width: 100%; padding: 14px; background: var(--accent); color: #fff; border: none; border-radius: var(--r); font-size: 1.02rem; font-weight: 700; cursor: pointer; margin: 12px 0 0; box-shadow: 0 6px 16px rgba(124,58,237,.28); }
.btn-sortear:hover { background: #6d28d9; }

/* Admin: form dinâmico (slug/thumb/pacotes) */
.slug-wrap { display: flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.slug-wrap:focus-within { border-color: var(--brand); box-shadow: var(--ring); }
.slug-base { background: #f8fafc; color: var(--muted); padding: 0 12px; font-size: .8rem; display: flex; align-items: center; white-space: nowrap; border-right: 1px solid var(--line); }
.slug-wrap input { border: none; border-radius: 0; }
.slug-wrap input:focus { box-shadow: none; }
.thumb-box { display: flex; gap: 16px; align-items: flex-start; }
.thumb-preview { width: 120px; height: 120px; flex: 0 0 120px; border: 2px dashed var(--line); border-radius: var(--r); display: flex; align-items: center; justify-content: center; overflow: hidden; background: #f8fafc; color: var(--muted-2); font-size: .8rem; }
.thumb-preview img { width: 100%; height: 100%; object-fit: cover; }
.thumb-controls { flex: 1; }
.pacote-linha { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; flex-wrap: nowrap; }
@media (max-width: 480px) { .pacote-linha { flex-wrap: wrap; } }
.pacote-linha .pac-qtd { width: 88px; } .pacote-linha .pac-preco { width: 108px; } .pacote-linha input { margin: 0; }
.pac-x { color: var(--muted); font-size: .9rem; }
.pac-unit { color: var(--brand-700); font-size: .82rem; font-weight: 600; flex: 1 1 0; min-width: 0; line-height: 1.3; }
.pac-remover { flex: 0 0 auto; width: 38px; height: 42px; border: 1.5px solid var(--line); background: #fff; border-radius: var(--r-sm); color: var(--danger); cursor: pointer; font-weight: 700; }
.pac-remover:hover { background: var(--danger-bg); }

/* ---------- Meus números ---------- */
.mn { max-width: 460px; margin: 0 auto; }
.mn__card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh); padding: 26px; }
.mn__icone { width: 56px; height: 56px; border-radius: 50%; background: var(--brand-050); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin: 0 auto 14px; }
.mn h1 { text-align: center; font-size: 1.5rem; }
.mn__sub { text-align: center; color: var(--muted); margin-top: -4px; }
.codigo-input { letter-spacing: .5em; text-align: center; font-size: 1.6rem; font-weight: 800; font-family: ui-monospace, monospace; }
.mn-reenviar { text-align: center; margin-top: 14px; font-size: .88rem; color: var(--muted); }
.mn-pedido { border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; margin-bottom: 12px; background: #fff; }
.mn-pedido__topo { display: flex; justify-content: space-between; font-size: .85rem; color: var(--muted); margin-bottom: 8px; }

/* ---------- Responsivo ---------- */
@media (max-width: 720px) {
    .sticky-cta { display: flex; }
    body.tem-sticky { padding-bottom: 84px; }
}
@media (max-width: 560px) {
    .form-linha, .cards-metricas, .metodos { grid-template-columns: 1fr; }
    .thumb-box { flex-direction: column; }
    .btn-whats { margin-left: 0; }
    .container { padding: 18px 14px 32px; }
    .cards-metricas { grid-template-columns: 1fr 1fr; }
}

/* ---- Edição de rifa ---- */
.aviso-edicao { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; padding: 12px 14px; border-radius: var(--r-sm); font-size: .9rem; line-height: 1.5; margin: 12px 0 18px; }
.aviso-edicao strong { display: block; margin-bottom: 2px; }
.check-inline { display: flex; align-items: center; gap: 8px; font-weight: 500; margin-top: 6px; }
.check-inline input { width: auto; margin: 0; }
.acoes-linha { white-space: nowrap; text-align: right; }
.acoes-linha a + a { margin-left: 14px; }
