@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');
/* As cores vêm de /css/theme.css (theme-light.css ou theme-dark.css, conforme SITE_THEME). */
:root { --ok: #3fb673; --bad: #dc3545; --radius: 5px; --col: 600px; --shadow-s: 0 4px 3px rgba(0, 0, 0, .08); }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--text); font: 400 16px/1.3 Montserrat, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--link); text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.2; font-weight: 600; }
h1 { font-size: 18px; margin-bottom: 8px; } h2 { font-size: 16px; margin-bottom: 8px; }
button { font-family: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); } .small { font-size: 12px; } .center { text-align: center; }
.hidden { display: none !important; }

/* ---------- topo, menu e rodapé ---------- */
.notice { background: var(--notice); color: var(--notice-text); font-size: 11px; font-weight: 600; text-align: center; padding: 4px 12px; }
header.top { background: var(--header-bg); height: 60px; position: sticky; top: 0; z-index: 31; }
.header-content { max-width: var(--col); height: 60px; margin: 0 auto; padding: 0 10px; display: flex; justify-content: space-between; align-items: center; }
.logo { display: block; color: var(--header-text); font-weight: 600; font-size: 18px; letter-spacing: .4px; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 75%; }
.logo img { display: block; height: 45px; width: auto; max-width: 200px; object-fit: contain; }
.toggle-menu { background: none; border: 0; padding: 0; color: #aaaaaa; font-size: 28px; line-height: 1; cursor: pointer; display: grid; place-items: center; width: 31px; height: 31px; }
.menu { position: fixed; top: 60px; left: -100%; width: 100%; bottom: 0; z-index: 30; padding: 30px 15px; background: var(--drawer-bg); overflow-y: auto; transition: left .2s linear; visibility: hidden; }
.menu.opened { left: 0; visibility: visible; }
@media (prefers-reduced-motion: reduce) { .menu { transition: none; } }
.menu .container { max-width: var(--col); margin: 0 auto; padding: 0 15px; }
.menu .hello { margin: 0 0 30px; font-size: 16px; line-height: 16px; font-weight: 500; color: #fff; }
.menu ul { list-style: none; margin: 0 0 30px; padding: 0; }
.menu li { padding: 15px 0; } .menu li:first-child { padding-top: 0; }
.menu a { display: flex; align-items: center; color: #fff; font-size: 16px; line-height: 20px; text-transform: capitalize; }
.menu a .bi { font-size: 20px; line-height: 1; margin-right: 15px; display: grid; }

.menu .login-link { width: 100%; height: 50px; display: flex; align-items: center; justify-content: center; padding: 10px; border: 0; border-radius: 20px; background: #fff; color: #333; font: 500 20px Montserrat, system-ui, sans-serif; cursor: pointer; }
.menu .login-link .bi { font-size: 28px; line-height: 1; margin-right: 10px; display: grid; }
.main-fill { height: 15px; margin-bottom: -15px; background: var(--header-bg); }
body.app main { position: relative; max-width: var(--col); margin: 0 auto; padding: 10px; background: var(--bg); border-radius: 15px; min-height: 60vh; }
body.has-bar main { padding-bottom: 20px; }
body.has-bar { padding-bottom: 130px; }
body.app main > h1 { margin: 6px 0 10px; }
footer { padding: 35px 10px 76px; color: var(--text); font-size: 10px; font-weight: 500; text-align: center; }
.footer-social { display: flex; justify-content: center; gap: 10px; margin-bottom: 20px; }
.footer-social a { width: 30px; height: 30px; display: grid; place-items: center; color: var(--text); font-size: 22px; }
.fab { position: fixed; right: 10px; bottom: 30%; z-index: 25; display: grid; place-items: center; width: 34px; height: 30px; background: #198754; color: #fff; border-radius: 5px; font-size: 20px; }

/* ---------- blocos genéricos ---------- */
.card { background: var(--panel); border-radius: 5px; padding: 12px; box-shadow: var(--shadow-s); }
.list { display: grid; gap: 10px; }
.camp { display: block; color: var(--text); overflow: hidden; padding: 0; }
.camp .body { padding: 10px 12px 12px; font-size: 13px; }
.cover { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.cover.ph, .hero .ph { display: grid; place-items: center; text-align: center; padding: 16px; font-size: 30px; font-weight: 600; color: #fff;
  background: radial-gradient(120% 90% at 50% 0%, #3a4250 0%, #1c2029 55%, #0c0e12 100%); }
.tag { display: inline-block; font-size: 10px; font-weight: 600; padding: 3.5px 6.5px; border-radius: 4px; background: var(--panel2); color: var(--muted); text-transform: uppercase; white-space: nowrap; }
.tag.ok { background: #d9f3e3; color: #14663a; } .tag.warn { background: #fdeeb5; color: #6b5200; } .tag.bad { background: #fbd9da; color: #8f1d22; }
.bar { height: 7px; background: var(--panel2); border-radius: 99px; overflow: hidden; margin: 10px 0 4px; }
.bar i { display: block; height: 100%; background: var(--primary); border-radius: 99px; }

/* ---------- campanha: topo ---------- */
.hero { position: relative; margin: -10px -10px 0; height: 340px; overflow: hidden; background: #0c0e12; color: #fff; border-radius: 8px 8px 0 0; }
.hero img, .hero .ph { width: 100%; height: 100%; }
.hero img { object-fit: cover; display: block; }
.hero .ph { padding-bottom: 80px; }
.hero .stage { position: absolute; inset: 0; }
.hero .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .3s ease; }
.hero .slide.on { opacity: 1; }
.hero .slide img, .hero .slide video, .hero .stage .ph { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero .slide video { pointer-events: none; }
/* botões do vídeo (referência: 34 px, redondos, preto 40% de opacidade, no topo) */
.hero .slide .vbar { position: absolute; z-index: 4; top: 0; left: 0; right: 0; display: none; gap: 4px; padding: 6px 10px; }
.hero .slide.on .vbar { display: flex; }
.hero .vbar .sp { flex: 1; }
.hero .vbtn { width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .4); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.hero .vbtn:hover { background: rgba(0, 0, 0, .55); }
.hero .vbtn:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
@media (prefers-reduced-motion: reduce) { .hero .slide { transition: none; } }
.hero .over { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 10px 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .85)); }
.hero h1 { font-size: 15px; font-weight: 500; margin: 6px 0 0; line-height: 19px; }
.hero p { font-size: 12.5px; line-height: 15px; }
.hero .nav { position: absolute; top: 50%; margin-top: -22px; width: 27px; height: 44px; border: 0; background: none; color: #fff; font-size: 26px; cursor: pointer; z-index: 2; padding: 0; text-shadow: 0 1px 4px rgba(0, 0, 0, .6); }
.hero .nav.prev { left: 10px; } .hero .nav.next { right: 10px; }
.hurry { display: inline-block; background: var(--primary); color: #fff; font-size: 10px; line-height: 10px; font-weight: 600; padding: 3.5px 6.5px; border-radius: 4px; animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .hurry { animation: none; } }
.mine { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 -10px; padding: 6px 0; background: #000; color: #fff; font-weight: 500; font-size: 14px; box-shadow: var(--shadow-s); }
.mine .bi { font-size: 17px; }
.progress { position: relative; display: flex; margin: 0 -10px; height: 22px; background: #e9ecef; overflow: hidden; }
.progress i { position: relative; display: block; height: 100%; font-style: normal; background-color: var(--primary); background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); background-size: 16px 16px; }
/* percentual centralizado na parte preenchida; com barra muito curta ele fica logo depois dela */
.progress span { position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); display: grid; place-items: center; padding: 0 4px; white-space: nowrap; font-size: 14px; font-weight: 600; color: #fff; }
.progress i.short span { left: 100%; transform: none; color: #444; }
.meta { display: flex; justify-content: center; align-items: center; gap: 5px; flex-wrap: wrap; margin: 8px 0; font-size: 12px; font-weight: 600; }
.pill { background: var(--pill); color: #fff; border-radius: 3px; padding: 4px 8px; font-size: 12px; font-weight: 600; margin-right: 12px; }
.pill.price { background: var(--primary); font-size: 15.5px; line-height: 15.5px; padding: 4px 10px; margin: 0; box-shadow: var(--shadow-s); }
.pill.price small { font-size: 12px; margin-right: 3px; }

/* ---------- campanha: grade ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 8px; }
.stat { display: flex; align-items: stretch; background: var(--well); border: 0; border-radius: 5px; overflow: hidden; padding: 0; color: var(--text); font-weight: 600; font-size: 13px; cursor: pointer; box-shadow: var(--shadow-s); }
.stat span { flex: 1; padding: 7px 4px; text-align: center; }
.stat b { min-width: 34px; padding: 7px 6px; text-align: center; color: #fff; font-weight: 600; }
.stat.free b { background: var(--free); } .stat.res b { background: var(--res); } .stat.paid b { background: var(--paid); }
.stat.on { outline: 2px solid var(--text); }
.numbers { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; }
@media (min-width: 520px) { .numbers { grid-template-columns: repeat(8, 1fr); } }
.numbers.wide { grid-template-columns: repeat(5, 1fr); }
.numbers.long { max-height: 62vh; overflow-y: auto; }
.num { position: relative; font: 500 15px/1 Montserrat, system-ui, sans-serif; padding: 9px 0; border-radius: 5px; border: 2px solid transparent; background: var(--free); color: #fff; cursor: pointer; }
.num:hover { filter: brightness(1.12); }
.num.res { background: var(--res); cursor: default; }
.num.paid { background: var(--paid); cursor: default; }
.num.sel { background: var(--sel); border-color: var(--sel-ring); font-weight: 600; }
.num[data-tip]:hover::after, .num[data-tip]:focus::after { content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 3px); transform: translateX(-50%); background: #000; color: #fff; font-size: 10px; font-weight: 500; padding: 3px 7px; border-radius: 4px; white-space: nowrap; z-index: 5; pointer-events: none; }
.numbers.f-free .num:not(.free), .numbers.f-res .num:not(.res), .numbers.f-paid .num:not(.paid) { display: none; }

/* ---------- campanha: compra automática (na página) ---------- */
.slogan { background: var(--panel); border-radius: 4px; padding: 5px 10px; margin-bottom: 4px; text-align: center; font-size: 12px; line-height: 12px; font-weight: 600; color: var(--soft); }
.qtybox { display: flex; align-items: center; justify-content: space-between; min-height: 50px; background: var(--panel); border-radius: 5px; padding: 6px 0; margin-bottom: 5px; }
.qtybox .side { flex: 0 0 70px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.qtybox .rnd { border: 0; background: none; padding: 0; font-size: 19px; line-height: 1; color: var(--pill); cursor: pointer; display: grid; }
.qtybox .rnd.clear { color: var(--primary); }
.qtybox .field { flex: 1; display: flex; align-items: center; justify-content: center; gap: 5px; height: 36px; margin: 0; border: 1px solid var(--line); border-radius: 5px; font-size: 15px; font-weight: 600; color: var(--muted); background: var(--well); cursor: text; }
.qtybox input { width: 3.4em; border: 0; background: transparent; padding: 0; text-align: right; font-size: 15px; font-weight: 600; color: inherit; -moz-appearance: textfield; }
.qtybox input:focus { outline: none; color: var(--text); } .qtybox .field:focus-within { border-color: var(--primary); }
.qtybox input::-webkit-outer-spin-button, .qtybox input::-webkit-inner-spin-button { -webkit-appearance: none; }
/* botões de pacote como na referência: 1 = linha inteira, 2 e 3 lado a lado, 4 = dois por linha, 5 a 8 = três por linha */
.packs { display: flex; flex-wrap: wrap; column-gap: 1%; row-gap: 0; justify-content: space-between; margin-top: 0; }
.packs .pack { flex: 1 1 100%; min-width: 100px; }
.packs.qtd2 .pack, .packs.qtd4 .pack { flex-basis: 49%; }
.packs.qtd3 .pack, .packs.qtd5 .pack, .packs.qtd6 .pack, .packs.qtd7 .pack, .packs.qtd8 .pack { flex-basis: 32.33%; }
.pack { position: relative; height: 55px; border: 0; border-radius: 5px; background: var(--pack-bg); color: var(--pack-text); padding: 0 2px; margin-bottom: 1%; cursor: pointer; box-shadow: var(--shadow-s); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.pack b { display: block; font-size: 22px; line-height: 22px; font-weight: 500; white-space: nowrap; margin-bottom: 3px; }
.pack b small { font-size: 12px; font-weight: 500; } .pack b small:first-child { font-size: 16px; }
.pack span { font-size: 10px; line-height: 10px; font-weight: 500; }
.pack.pop { background: color-mix(in srgb, var(--primary) 20%, transparent); border: 2px solid var(--primary); color: var(--text); }
.pack.pop::before { content: 'Popular'; position: absolute; top: -8px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; font-size: 10px; line-height: 10px; font-weight: 500; padding: 3px 10px; border-radius: 4px; white-space: nowrap; }
.pack:hover { filter: brightness(1.12); }
.buynow { width: 100%; min-height: 60px; display: flex; align-items: center; gap: 8px; text-align: left; border: 0; border-radius: 5px; background: var(--primary-grad); color: #fff; padding: 10px; cursor: pointer; box-shadow: var(--shadow-s); }
.buynow:hover:not(:disabled) { filter: brightness(1.1); }
.buynow:disabled { opacity: .55; cursor: not-allowed; }
.buynow .bi { font-size: 25px; line-height: 1; display: grid; }
.buynow .t { flex: 1; min-width: 0; padding-left: 3px; } .buynow .t b { display: block; font-size: 18px; line-height: 23.4px; font-weight: 600; } .buynow .t span { display: block; font-size: 10.7px; line-height: 13.9px; font-weight: 600; }
.buynow .p { display: flex; flex-direction: column; align-items: flex-end; font-size: 11px; font-weight: 600; white-space: nowrap; } .buynow .p b { font-size: 17px; font-weight: 600; }

.sec-title { display: flex; align-items: baseline; margin: 15px 0 10px; font-size: 16px; line-height: 16px; font-weight: 600; }
.sec-title .t { padding-right: 7px; }
.sec-title small { font-size: 12px; font-weight: 500; color: var(--soft); }
.sec-title .count { margin-left: auto; font-size: 11px; font-weight: 600; color: var(--soft); }
.tier { width: 100%; display: flex; flex-wrap: wrap; justify-content: space-around; align-items: center; gap: 4px; text-align: center; background: var(--primary-grad); color: #fff; border: 0; border-radius: 5px; padding: 7px; margin-bottom: 5px; font-family: inherit; cursor: pointer; }
.tier:hover { filter: brightness(1.1); } .tier .c { display: block; } .tier .p { display: block; }
.tier:nth-child(even) { background: linear-gradient(90deg, var(--primary), #42101a); }
.tier .p { font-size: 12px; line-height: 16.2px; } .tier .p.hl { font-size: 14.5px; line-height: 19.6px; font-weight: 600; }
.tier .q { display: flex; align-items: center; gap: 5px; }
.tier .ic { font-size: 26px; line-height: 35px; }
.tier .foot { flex: 0 0 100%; }
.tier.on { outline: 2px solid var(--notice); outline-offset: -2px; }
/* linhas de prêmio em 3 colunas: selo à esquerda | valor sempre no centro da linha | ganhador à direita */
.prize { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; min-height: 30px; background: #fafafa; color: #444; border-radius: 5px; padding: 4px; margin-bottom: 4px; font-size: 11px; line-height: 11px; font-weight: 600; box-shadow: var(--shadow-s); }
.prize .badge { justify-self: start; background: var(--primary); color: #fff; border-radius: 5px; padding: 5px; line-height: 12.1px; letter-spacing: .5px; text-align: center; white-space: nowrap; }
.prize .badge.tnum { width: 62px; } .prize .badge.tnum.z7 { width: 71px; }
.prize .val { justify-self: center; min-width: 90px; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prize .badge.wide { min-width: 90px; }
.prize .who { justify-self: end; padding-right: 4px; white-space: nowrap; text-transform: capitalize; }
.prize.won { background: var(--primary); color: #fff; } .prize.won .badge { background: #fff; color: #444; }
.more { width: 100%; height: 30px; border: 0; border-radius: 4px; background: #a9a9a9; color: #fff; font-weight: 500; font-size: 11px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; box-shadow: 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px rgba(0, 0, 0, .14), 0 1px 5px rgba(0, 0, 0, .12); }
.more .bi { font-size: 9px; }
.share { display: flex; gap: 10px; margin-bottom: 10px; }
.share a, .share button { width: 30px; height: 30px; border-radius: 4px; border: 0; padding: 0; display: grid; place-items: center; color: #fff; font-size: 16px; cursor: pointer; }
.age { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 16px auto 0; padding: 14px 10px; font-size: 11px; color: var(--muted); max-width: var(--col); }
.age .c { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; border: 3px solid #a9a9a9; display: grid; place-items: center; font-weight: 600; font-size: 14px; color: var(--soft); }
.age b { display: block; color: var(--soft); font-weight: 600; }

details.reg { margin: 15px 0; background: var(--panel); border-radius: 5px; box-shadow: var(--shadow-s); }
details.reg summary { list-style: none; cursor: pointer; padding: 10px 0; font-size: 13px; line-height: 16px; font-weight: 600; color: var(--soft); display: flex; align-items: center; justify-content: center; gap: 7px; }
details.reg summary::-webkit-details-marker { display: none; }
details.reg summary .bi { font-size: 16px; transition: transform .15s; }
details.reg[open] summary .bi { transform: rotate(180deg); }
details.reg .in { padding: 10px; font-size: 14px; }
.pre { white-space: pre-wrap; color: var(--text); font-size: 14px; line-height: 17px; }

/* ---------- barra fixa de compra (campanha com grade) ---------- */
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--bar-bg); backdrop-filter: blur(8px); border-top: 1px solid var(--line); padding: 10px 10px calc(10px + env(safe-area-inset-bottom)); }
.buybar .in { max-width: calc(var(--col) - 20px); margin: 0 auto; }
.buybar h3 { color: var(--accent-text); font-size: 1rem; font-weight: 600; margin: 0; }
.buybar .sub { color: var(--muted); font-size: .76rem; margin: 0 0 8px; }
.buyrow { display: flex; gap: 12px; align-items: stretch; }
.stepper { flex: 1; display: flex; border-radius: 8px; overflow: hidden; background: var(--well); border: 1px solid var(--line); }
.stepper button { width: 42px; border: 0; background: var(--pill); color: #fff; font-size: 1.2rem; cursor: pointer; }
.stepper input { flex: 1; min-width: 0; border: 0; border-radius: 0; background: transparent; text-align: center; padding: 8px 0; font-weight: 600; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy { display: flex; align-items: center; gap: 10px; border: 0; border-radius: 9px; background: var(--primary); color: #fff; font-weight: 700; font-size: 1rem; padding: 8px 12px 8px 16px; cursor: pointer; }
.buy:hover:not(:disabled) { background: var(--primary-hi); }
.buy em { font-style: normal; font-size: .72rem; font-weight: 700; background: rgba(0, 0, 0, .28); padding: 4px 8px; border-radius: 6px; white-space: nowrap; }
.buy:disabled, .cta:disabled { opacity: .5; cursor: not-allowed; }
.picks { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.picks::-webkit-scrollbar { display: none; }
.pick { flex: 0 0 auto; min-width: 62px; border: 0; background: var(--chip-bg); color: var(--chip-text); font: 500 .9rem Montserrat, system-ui, sans-serif; padding: 7px 10px; border-radius: 5px; cursor: pointer; }
.cta { width: 100%; display: flex; align-items: center; gap: 11px; text-align: left; border: 0; border-radius: 10px; background: var(--cta); color: #fff; padding: 9px 16px 9px 12px; cursor: pointer; }
.cta:hover:not(:disabled) { background: var(--cta-hi); }
.cta .arrow { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: var(--cta); display: grid; place-items: center; font-weight: 800; }
.cta .t { flex: 1; min-width: 0; } .cta .t b { display: block; font-size: 1rem; font-weight: 700; text-transform: uppercase; } .cta .t span { font-size: .7rem; opacity: .9; }
.cta .p { text-align: right; font-size: .7rem; white-space: nowrap; } .cta .p b { display: block; font-size: .9rem; }
.barmsg { color: var(--bad); font-size: .8rem; font-weight: 600; margin-top: 6px; }
.barmsg:empty { display: none; }


/* ---------- modais (medidas da referência) ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .5); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); overflow-y: auto; }
.sheet { width: calc(100% - 20px); max-width: 580px; margin: 10px; max-height: calc(100% - 20px); display: flex; flex-direction: column; background: var(--panel); color: var(--text); border-radius: 4px; box-shadow: 0 11px 15px -7px rgba(0, 0, 0, .2), 0 24px 38px 3px rgba(0, 0, 0, .14), 0 9px 46px 8px rgba(0, 0, 0, .12); }
.sheet-head { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 16px; height: 50px; border-bottom: 1px solid var(--line); }
.sheet-head h2 { margin: 0; font-size: 18px; font-weight: 500; }
.icon-btn { width: 34px; height: 34px; margin-right: -11px; display: grid; place-items: center; background: none; border: 0; color: #9e9e9e; font-size: 16px; cursor: pointer; border-radius: 50%; padding: 0; }
.icon-btn:hover { background: rgba(128, 128, 128, .15); }
.sheet-body { padding: 16px; overflow-y: auto; font-size: 13px; }
.upsell { display: flex; flex-direction: column; align-items: center; background: linear-gradient(#fef5cd, #fde6a4, #fbdc7b); color: #5b5b5b; border-radius: 4px; padding: 15px; text-align: center; margin-bottom: 10px; box-shadow: 0 4px 6px rgba(0, 0, 0, .1); }
.upsell.active { background: linear-gradient(#c8f1e4, #a2e4cf, #81d7b9); }
.upsell.active button { background: linear-gradient(90deg, #fbdc7b, #f8c75a); }
.upsell .ut { font-size: 13px; font-weight: 600; } .upsell .ut strong { color: #333; font-weight: 700; }
.upsell small { display: block; font-size: 12px; color: #6d6d6d; margin: 10px 0; }
.upsell button { border: 0; border-radius: 4px; background: linear-gradient(90deg, #81d7b9, #69c3a5); color: #fff; font-size: 13px; font-weight: 700; padding: 10px 25px; cursor: pointer; }
.summary { background: var(--panel2); color: var(--soft); border-radius: 5px; padding: 8px 13px; font-size: 13px; margin-bottom: 10px; box-shadow: var(--shadow-s); }
.summary b { font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 5px; margin: 0 0 10px; }
.chips:empty { display: none; }
.chip { min-width: 62px; text-align: center; font-size: 11px; line-height: 12px; font-weight: 600; background: var(--chip-bg); color: var(--chip-text); border-radius: 5px; padding: 5px; }
.chip.win { background: var(--notice); color: var(--notice-text); }
.sheet label { font-size: 13px; font-weight: 600; color: var(--soft); margin: 13px 0 6px; }
/* caixas de texto dos modais: iguais às da referência (borda cinza 1 px, mais escura no hover, azul 2 px no foco) */
.sheet input:not([type=checkbox]), .paycard.lookup input { height: 40px; padding: 0 10px; border-radius: 4px; border: 1px solid rgba(0, 0, 0, .2); background: #fff; color: rgba(0, 0, 0, .87); font-size: 13px; margin-bottom: 10px; }
.sheet input:not([type=checkbox])::placeholder { color: rgba(0, 0, 0, .87); opacity: .42; }
.sheet input:not([type=checkbox]):hover { border-color: rgba(0, 0, 0, .45); }
.sheet input:not([type=checkbox]):focus, .sheet input:not([type=checkbox]):focus-visible { outline: none; border-color: #1976d2; box-shadow: inset 0 0 0 1px #1976d2; }
.hint { font-size: 13px; color: var(--soft); margin: 0 0 15px; }
.hint.box { display: flex; align-items: center; gap: 5px; background: #fff3cd; color: #664d03; border-radius: 5px; padding: 8px; box-shadow: var(--shadow-s); }
.go { width: 100%; height: 36px; display: flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 4px; background: var(--primary-grad); color: #fff; font-weight: 500; font-size: 14px; padding: 6px 16px; cursor: pointer; box-shadow: 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px rgba(0, 0, 0, .14), 0 1px 5px rgba(0, 0, 0, .12); }
.go .bi { font-size: 22px; line-height: 1; display: grid; }
.go:hover:not(:disabled) { filter: brightness(1.1); }
.go:disabled { background: rgba(128, 128, 128, .24); color: rgba(128, 128, 128, .75); box-shadow: none; cursor: default; }
.sheet .err:empty { display: none; }
.linkbtn { display: flex; align-items: center; justify-content: center; gap: 10px; height: 36px; margin: 8px auto 0; background: none; border: 0; border-radius: 4px; color: var(--soft); font-size: 12px; font-weight: 500; cursor: pointer; padding: 4px 5px; }
.linkbtn:hover { background: var(--panel2); }
.linkbtn .bi { font-size: 15px; }
.usercard { display: flex; align-items: center; height: 120px; padding: 5px; margin: 10px 0 15px; background: var(--panel); border-radius: 8px; box-shadow: var(--shadow-s); color: var(--soft); }
.usercard .ph { flex: 0 0 90px; height: 110px; margin-right: 10px; border-radius: 8px; background: var(--page); display: grid; place-items: center; font-size: 24px; }
.usercard .tx { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.usercard h3 { font-size: 17px; line-height: 21px; font-weight: 500; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.usercard p { font-size: 12.5px; line-height: 15px; }
.check { display: flex !important; gap: 9px; align-items: flex-start; margin: 10px 0 12px !important; font-size: 12px !important; color: var(--text); }
.check input { width: 17px; height: 17px; flex: 0 0 auto; margin: 0; accent-color: var(--primary); }
.sheet h3.sec { font-size: 11px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: var(--accent-text); margin: 6px 0 0; padding-top: 12px; border-top: 1px solid var(--line); }
.sheet h3.sec:first-of-type { border-top: 0; padding-top: 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
@media (max-width: 360px) { .two { grid-template-columns: 1fr; } }
.opt { font-weight: 500; color: var(--muted); }

/* ---------- formulários, botões, tabelas (site e painel) ---------- */
label { display: block; font-size: .82rem; font-weight: 700; margin: 12px 0 6px; }
input, select, textarea { width: 100%; padding: 11px 12px; border-radius: 6px; border: 1px solid var(--line); background: var(--well); color: var(--text); font: inherit; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--primary); outline-offset: 0; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
textarea { min-height: 110px; resize: vertical; }
.err { color: var(--bad); font-size: .82rem; font-weight: 600; margin: 8px 0; min-height: 1.1em; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 13px 18px; border: 0; border-radius: 8px; background: var(--primary); color: #fff; font: 700 .95rem Montserrat, system-ui, sans-serif; cursor: pointer; }
.btn:hover { background: var(--primary-hi); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); font-weight: 600; }
.btn.ghost:hover { background: var(--panel2); }
.btn.sm { width: auto; padding: 7px 12px; font-size: .8rem; border-radius: 6px; white-space: nowrap; }
.btn.danger { background: var(--bad); }
.btn.ok { background: #198754; } .btn.ok:hover { background: #157347; }
.row { display: flex; gap: 10px; align-items: center; } .row > * { flex: 1; }

/* ---------- pedido aguardando pagamento (medidas da referência) ---------- */
.pay-title { display: flex; justify-content: center; align-items: center; margin: 10px 0 15px; }
.pay-title .bi { font-size: 44px; line-height: 49px; color: #ffc107; display: grid; }
.pay-title div { margin-left: 8px; } .pay-title h2 { font-size: 16.7px; line-height: 17px; font-weight: 500; margin: 0 0 3px; } .pay-title p { font-size: 13px; line-height: 13px; }
hr.divider { border: 0; border-top: 1px solid rgba(128, 128, 128, .45); margin: 0 0 15px; }
.paycard { background: var(--panel); padding: 10px; margin: 15px 0 10px; border-radius: 8px; box-shadow: var(--shadow-s); }
.paycard .time { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 0 17px; }
.paycard .time p { font-size: 14px; display: flex; align-items: center; gap: 4px; }
.paycard .time span { font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; margin: 0 5px; }
.bar-track { width: 100%; height: 16px; background: #e9ecef; border-radius: 4px; overflow: hidden; }
.bar-fill { height: 100%; background-color: var(--primary); background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); background-size: 16px 16px; animation: stripes 1s linear infinite; transition: width 1s linear; }
@keyframes stripes { from { background-position: 16px 0; } to { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { .bar-fill { animation: none; } }
.pixstep { display: flex; align-items: flex-start; margin-top: 10px; }
.pixstep .n { flex: 0 0 auto; font-size: 12px; line-height: 11.6px; font-weight: 700; color: #fff; background: var(--primary); padding: 4.2px 7.8px; border-radius: 5px; }
.pixstep .t { font-size: 14.4px; line-height: 16px; color: var(--text); margin-left: 5px; }
.paycard .time + .pixstep { margin-top: 0; }
.pix-copy { display: flex; align-items: center; margin-top: 10px; }
.pix-code { flex: 1; min-width: 0; height: 38px; line-height: 24px; padding: 6px 12px; border: 1px solid var(--line); border-right: 0; border-radius: 5px 0 0 5px; background: var(--well); font-size: 16px; white-space: nowrap; overflow: hidden; }
.btn-copy { flex: 0 0 80px; height: 38px; border: 0; border-radius: 0 5px 5px 0; background: var(--primary); color: #fff; font-size: 16px; font-weight: 600; padding: 0; cursor: pointer; }
.paid-btn { width: 100%; min-height: 32px; margin-top: 12px; border: 0; border-radius: 5px; background: var(--primary); color: #fff; font-size: 13px; font-weight: 600; padding: 8px 14px; cursor: pointer; box-shadow: var(--shadow-s); }
.paid-btn:disabled { opacity: .75; cursor: default; }
.qr-line { display: flex; justify-content: center; margin-top: 20px; }
.qr-toggle { border: 0; border-radius: 4px; background: #dbdbea; color: #333; font-size: 12px; line-height: 12px; padding: 4px 8px; cursor: pointer; }
.qrbox { text-align: center; }
.qrbox img { display: block; margin: 0 auto; width: 300px; max-width: 100%; height: auto; }
.qrbox h3 { font-size: 20px; font-weight: 500; margin: 0 0 8px; } .qrbox p { font-size: 13.8px; }
.paycard .warn { display: flex; align-items: center; gap: 5px; margin-top: 15px; padding: 8px; font-size: 13px; color: #664d03; background: #fff3cd; border-radius: 5px; box-shadow: var(--shadow-s); }
.paycard .warn .bi { font-size: 16px; }
.campcard { display: flex; align-items: center; height: 120px; padding: 5px; margin-bottom: 10px; background: var(--panel); color: var(--soft); border-radius: 8px; box-shadow: var(--shadow-s); }
.campcard img, .campcard .ph { flex: 0 0 90px; width: 90px; height: 110px; margin-right: 10px; border-radius: 8px; object-fit: cover; }
.campcard .ph { display: grid; place-items: center; background: var(--page); font-size: 24px; }
.campcard .tx { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; }
.campcard h2 { font-size: 15px; line-height: 19px; font-weight: 500; margin: 0; } .campcard p { font-size: 12.5px; line-height: 15px; } .campcard .hurry { margin-top: 2px; }
.paycard.od { margin: 10px 0 0; font-size: 13px; line-height: 13px; }
.od-head { margin-bottom: 10px; font-size: 13px; } .od-head p { display: flex; align-items: center; gap: 4px; } .od-head .bi { font-size: 15px; }
.od-head .token { padding-top: 4px; font-size: 13px; word-break: break-all; }
.od-row { display: flex; align-items: flex-start; padding-bottom: 4px; margin-bottom: 4px; }
.od-row p { font-weight: 500; margin-right: 4px; white-space: nowrap; } .od-row span { min-width: 0; line-height: 16px; margin-top: -1.5px; }

.pay-title.ok .bi { color: #198754; }
.pay-title.bad .bi { color: #dc3545; }
.order-problems { margin: 8px 0 0; font-size: 13px; color: #6c757d; } .order-problems a { font-size: 14px; color: #333; }
.warn-text { margin: 10px 0 0; padding: 8px; font-size: 13px; color: #664d03; background: #fff3cd; border-radius: 5px; }
main + .age { max-width: var(--col); margin: 0 auto; padding: 22px 10px; }
.od-row { border-bottom: 1px solid var(--line); } .od-row:last-child { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.od-row .nums { display: flex; flex-wrap: wrap; max-height: 160px; overflow-y: auto; margin: 0; } .od-row .nums span { margin: 0 3px 0 0; }
.group-btn { display: flex; justify-content: center; align-items: center; gap: 5px; min-height: 40px; margin-top: 20px; padding: 10px; border-radius: 5px; background: #198754; color: #fff; font-size: 15px; font-weight: 500; box-shadow: var(--shadow-s); }
.group-btn .bi { font-size: 20px; line-height: 1; display: grid; }
#app > .card { margin-top: 10px; text-align: center; }

/* aviso flutuante "Grupo VIP" */
.wpp-card { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 999; max-width: 400px; margin: 0 auto; overflow: hidden; display: flex; flex-direction: column; gap: 14px; padding: 18px 16px 16px; border-radius: 8px; color: #fff; background: linear-gradient(155deg, #1f8a6d, #14705a 45%, #0d5a49); box-shadow: 0 12px 28px rgba(6, 48, 38, .28); animation: wpp-in .35s ease-out; }
@keyframes wpp-in { from { transform: translateY(24px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .wpp-card { animation: none; } }
.wpp-card > * { position: relative; }
.wpp-card .x { position: absolute; top: 10px; right: 10px; z-index: 2; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .31); color: rgba(255, 255, 255, .7); font-size: 12px; cursor: pointer; display: grid; place-items: center; }
.wpp-card .glow { position: absolute; right: -50px; top: 40px; width: 190px; height: 190px; border-radius: 50%; background: rgba(255, 255, 255, .05); pointer-events: none; }
.wpp-card .hd { display: flex; gap: 10px; padding-right: 22px; }
.wpp-card .logo { flex: 0 0 42px; height: 42px; border-radius: 50%; background: #fff; color: #25d366; font-size: 26px; display: grid; place-items: center; box-shadow: 0 4px 10px rgba(0, 0, 0, .18); }
.wpp-card .logo .bi { display: grid; }
.wpp-card .hg { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.wpp-card .badge { display: flex; align-items: center; gap: 2px; font-size: 9px; line-height: 12px; font-weight: 800; color: #4a3600; background: #ffd233; padding: 3px 8px 3px 5px; border-radius: 999px; }
.wpp-card .badge .bi { font-size: 11px; }
.wpp-card h3 { font-size: 17px; line-height: 20px; font-weight: 800; margin: 0; }
.wpp-card .hg p { font-size: 11.5px; line-height: 15px; color: rgba(255, 255, 255, .75); }
.wpp-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.wpp-card li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; line-height: 17px; font-weight: 600; color: rgba(255, 255, 255, .95); }
.wpp-card .ck { flex: 0 0 17px; height: 17px; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #b7f5d4; font-size: 13px; display: grid; place-items: center; }
.wpp-card .social { display: flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 700; color: rgba(255, 255, 255, .9); }
.wpp-card .avs { display: flex; }
.wpp-card .avs span { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #14705a; display: grid; place-items: center; font-size: 10px; font-weight: 700; color: #fff; }
.wpp-card .avs span + span { margin-left: -7px; }
.wpp-card .cta { display: flex; justify-content: center; align-items: center; gap: 8px; min-height: 44px; padding: 12px; border-radius: 12px; background: #fff; color: #0d5a49; font-size: 14px; font-weight: 800; }
.wpp-card .cta .bi { font-size: 20px; line-height: 1; color: #25d366; display: grid; }

/* ---------- página inicial e Minhas Compras (medidas da referência) ---------- */
.sec-title.first { margin-top: 0; }
.featcard { display: flex; flex-direction: column; margin-bottom: 10px; background: var(--panel); color: var(--soft); border-radius: 8px; box-shadow: var(--shadow-s); }
.featcard .im { position: relative; height: 340px; border-radius: 8px 8px 0 0; overflow: hidden; background: #0c0e12; }
.featcard .im img, .featcard .im .ph { width: 100%; height: 100%; object-fit: cover; display: grid; place-items: center; color: #fff; font-size: 30px; font-weight: 600; text-align: center; }
.featcard .im .hurry { position: absolute; left: 10px; bottom: 10px; }
.featcard .tx { padding: 10px; display: flex; flex-direction: column; gap: 1px; }
.featcard h2 { font-size: 15px; line-height: 19px; font-weight: 500; margin: 0; } .featcard .tx > p { font-size: 12.5px; line-height: 15px; }
.featcard .buynow { margin-top: 8px; } .featcard .buynow .p b small { font-size: 14px; }
.campcard { position: relative; }
.hurry.dark { background: rgba(0, 0, 0, .7); animation: none; } .hurry.still { animation: none; }
.date-inline { position: absolute; right: 10px; bottom: 10px; display: flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 500; color: var(--muted); }
.date-inline .bi { font-size: 14px; }
.wincard { height: auto; min-height: 120px; margin-bottom: 5px; }
.wincard .tx p { font-size: 12.5px; line-height: 15px; } .wincard .tx strong { font-size: 11.5px; font-weight: 600; }
details.faq { background: var(--panel); border-radius: 7px; padding: 10px; margin-bottom: 10px; font-size: 14px; }
details.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; line-height: 14px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: ''; width: 7px; height: 7px; margin-right: 4px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); }
details.faq[open] summary::after { transform: rotate(-135deg); }
details.faq .a { font-size: 13px; padding-top: 10px; } details.faq .a b { font-weight: 600; }
.alertbox { display: flex; align-items: flex-start; gap: 5px; padding: 8px; margin-bottom: 15px; background: var(--panel); color: var(--soft); border-radius: 5px; box-shadow: var(--shadow-s); font-size: 13px; }
.alertbox .bi { font-size: 16px; line-height: 17px; } .alertbox strong { font-weight: 700; } .alertbox strong.big { font-size: 14px; }
.paycard.lookup { margin: 0 0 15px; padding: 16px; font-size: 13px; }
.paycard.lookup label { font-size: 13px; font-weight: 600; color: var(--soft); margin: 0 0 6px; }
.paycard.lookup input { height: 40px; padding: 0 10px; border-radius: 4px; border: 1px solid rgba(128, 128, 128, .45); font-size: 13px; margin-bottom: 10px; }
.paycard.lookup .err:empty { display: none; }
.campcard.order { box-shadow: 0 3px 3px rgba(220, 53, 69, .44); padding-right: 30px; }
.campcard.order.paid { box-shadow: 0 3px 3px rgba(25, 135, 84, .75); } .campcard.order.pending { box-shadow: 0 3px 3px rgba(255, 193, 7, .8); }
.campcard.order .tx p { font-size: 11px; line-height: 13px; } .campcard.order h2 { font-size: 12px; line-height: 15px; font-weight: 600; }
.campcard.order .st { font-size: 12px !important; line-height: 15px !important; font-weight: 600; color: #dc3545; }
.campcard.order.paid .st { color: #198754; } .campcard.order.pending .st { color: #a87400; }
.campcard.order .go-ic { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 16px; color: #dc3545; }
.campcard.order.paid .go-ic { color: #198754; } .campcard.order.pending .go-ic { color: #a87400; }
.page-info { margin-top: 20px; font-size: 16px; }
.pagination { margin-top: 10px; } .pagination button { font: 14px Montserrat, system-ui, sans-serif; padding: 5px 10px; margin-right: 5px; cursor: pointer; } .pagination button:disabled { cursor: default; }

/* ---------- pedido / PIX / roleta ---------- */
.pix { text-align: center; }
.pix p { margin: 8px 0; } .pix h1 { margin: 6px 0; } .pix .card { box-shadow: none; border: 1px solid var(--line); }
.pix img { background: #fff; border-radius: 10px; padding: 8px; width: 230px; height: 230px; border: 1px solid var(--line); }
.code { font: .74rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; word-break: break-all; background: var(--panel2); border: 1px dashed var(--line); border-radius: 8px; padding: 10px; margin: 12px 0; text-align: left; }
.amount { font-size: 1.6rem; font-weight: 800; margin: 2px 0 12px; }
.timer { font-size: 1.7rem; font-weight: 800; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.big { font-size: 2.8rem; line-height: 1; margin-bottom: 8px; }
.pix .chips { justify-content: center; max-height: 180px; overflow-y: auto; }
.winbox { background: #fff3c4; color: #3b2c00; border-radius: 8px; padding: 10px 12px; margin: 10px 0; font-weight: 700; font-size: .9rem; }
/* ---------- roletas instantâneas (medidas e tempos da referência) ---------- */
.paycard.rl { margin: 10px 0 0; }
.rl-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 13px; line-height: 14px; }
.rl-head strong { font-size: 13.5px; font-weight: 700; } .rl-head .cnt { font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.rl-all { width: 100%; min-height: 64px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; padding: 14px 20px; border: 0; border-radius: 8px; background: var(--primary-grad); color: #fff; cursor: pointer; }
.rl-all .r1 { display: flex; align-items: center; gap: 8px; font-size: 15px; line-height: 15px; font-weight: 700; } .rl-all .r1 .bi { font-size: 20px; display: grid; }
.rl-all .r2 { font-size: 12px; line-height: 12px; color: rgba(255, 255, 255, .85); }
.rl-all .bi.spinning { animation: rl-turn 1s linear infinite; }
@keyframes rl-turn { to { transform: rotate(1turn); } }
.rl-item { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; min-height: 42px; padding: 8px; margin-top: 4px; border-radius: 4px; background: linear-gradient(90deg, #ffc409, #c29e40); color: #fff; }
.rl-item.opened { background: linear-gradient(90deg, #a13838, #e25a8b); }
.rl-item.opened.won { background: linear-gradient(90deg, #38a143, #02c7d2); }
.rl-item .tx { display: flex; align-items: center; gap: 5px; font-size: 13.5px; line-height: 1.1; font-weight: 500; }
.rl-item .tx span { font-size: 12px; }
.box-button { min-width: 64px; height: 26px; padding: 7px 13px; border: 0; border-radius: 4px; background: #fff; color: #333; font-size: 12px; line-height: 12px; font-weight: 500; cursor: pointer; }
.box-button { opacity: .7; } .box-button:hover:not(:disabled) { opacity: 1; }
.box-button:disabled { cursor: default; }
.rl-item.won .box-button { font-weight: 600; opacity: 1; }
.rl-item .gift { width: 100%; margin-top: 10px; padding: 25px 10px; border-radius: 4px; background: #f0f0f0; color: #333; text-align: center; font-size: 13.5px; }
.rl-item .gift p { margin-top: 5px; } .rl-item .gift .ic { font-size: 44px; line-height: 1; margin: 0 0 15px; }
.rl-item .gift small { font-size: 12px; } .rl-item .gift strong { font-weight: 600; text-transform: uppercase; }

.rw-modal { position: fixed; inset: 0; z-index: 1300; display: flex; flex-direction: column; justify-content: center; align-items: center; background: rgba(0, 0, 0, .9); color: #fff; animation: rw-in .225s cubic-bezier(.4, 0, .2, 1); }
@keyframes rw-in { from { opacity: 0; } }
.rw-msg { font-size: 16px; margin-bottom: 15px; padding: 0 12px; text-align: center; opacity: 0; visibility: hidden; }
.rw-msg.show { opacity: 1; visibility: visible; }
.rw-msg.zoom { animation: zoomInOut 1.5s ease-in-out infinite; }
@keyframes zoomInOut { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.5); } }
@media (prefers-reduced-motion: reduce) { .rw-msg.zoom { animation: none; } }
.rw-confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 6; }
.rw-wheel { position: relative; width: 80vw; max-width: 445px; height: 80vw; max-height: 445px; flex-shrink: 0; pointer-events: none; }
.rw-rot { position: absolute; inset: 0; display: flex; justify-content: center; align-items: center; transform: rotate(var(--start)); }
.rw-rot canvas { width: 98%; height: 98%; }
.rw-rot.started-spinning { animation: rw-spin 2.08s cubic-bezier(.71, -.29, .96, .9) 0s 1 normal forwards, rw-continue .6s linear 2.08s 1 normal forwards, rw-stop 6.4s cubic-bezier(0, 0, .35, 1.02) 2.68s 1 normal forwards; }
@keyframes rw-spin { from { transform: rotate(var(--start)); } to { transform: rotate(calc(var(--start) + 360deg)); } }
@keyframes rw-continue { from { transform: rotate(var(--start)); } to { transform: rotate(calc(var(--start) + 360deg)); } }
@keyframes rw-stop { from { transform: rotate(var(--start)); } to { transform: rotate(var(--final)); } }
@media (prefers-reduced-motion: reduce) { .rw-rot.started-spinning { animation: rw-stop .3s linear forwards; } }
/* ponteiro da biblioteca react-custom-roulette (MIT), nas mesmas medidas: 17% da roda, a 6 px da direita e 15 px do topo */
.rw-pointer { position: absolute; z-index: 5; width: 17%; right: 6px; top: 15px; object-fit: contain; }
.rw-go { margin-top: 10px; min-width: 151px; height: 28px; padding: 6px 30px; border: 0; border-radius: 4px; background: #d0d0d0; color: #000; font-size: 16px; line-height: 16px; font-weight: 500; cursor: pointer; }
.rw-go:disabled { cursor: default; }
.rw-go.gone { visibility: hidden; }

table { width: 100%; border-collapse: collapse; font-size: .84rem; }
th, td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: .72rem; text-transform: uppercase; }
.scroll { overflow-x: auto; }
.form2 { display: grid; grid-template-columns: 1fr; gap: 0 14px; }
@media (min-width: 700px) { .form2 { grid-template-columns: 1fr 1fr; } .form2 .full { grid-column: 1 / -1; } }
.form2 h3 { grid-column: 1 / -1; margin: 22px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: .78rem; text-transform: uppercase; letter-spacing: .6px; color: var(--accent-text); }
.help { font-size: .74rem; color: var(--muted); margin: 4px 0 0; }
.assign { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 6px 0; }
.assign input { width: 200px; padding: 7px 10px; font-size: 13px; }
.assign .err { margin: 0; flex-basis: 100%; }
.assign .err:empty { display: none; }
tr.assign-row td { background: var(--panel2); }
.logo-edit { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.logo-preview { flex: 0 0 240px; height: 60px; display: flex; align-items: center; padding: 0 12px; border-radius: 8px; background: #111; color: #aaa; font-size: 12px; }
.logo-preview img { height: 45px; width: auto; max-width: 216px; object-fit: contain; }
#logo-drop { padding: 12px; margin-bottom: 6px; }
.order-cell { white-space: nowrap; } .order-cell .grip { cursor: grab; color: var(--muted); margin-right: 4px; vertical-align: middle; }
.ord { width: 26px; height: 26px; padding: 0; border: 1px solid var(--line); border-radius: 5px; background: #fff; color: #333; cursor: pointer; vertical-align: middle; }
.ord:disabled { opacity: .35; cursor: default; }
tr.camp-row.dragging { opacity: .45; background: #eef5fd; }
.star { width: 32px; height: 32px; padding: 0; border: 0; border-radius: 6px; background: none; color: #b0b0b0; font-size: 20px; cursor: pointer; }
.star.on { color: #f5b800; } .star:hover { background: var(--panel2); }
.chk-list { display: flex; flex-wrap: wrap; gap: 8px; min-height: 40px; align-items: center; }
.chk { display: inline-flex !important; align-items: center; gap: 6px; margin: 0 !important; padding: 7px 12px; border: 1px solid var(--line); border-radius: 6px; font-size: 13px !important; cursor: pointer; }
.chk input { width: 16px; height: 16px; margin: 0; accent-color: var(--primary); }
.dropzone { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px 12px; margin-bottom: 8px; border: 2px dashed var(--line); border-radius: 8px; background: var(--panel2); color: var(--soft); text-align: center; cursor: pointer; font-size: 13px; }
.dropzone .bi { font-size: 28px; line-height: 1; color: var(--muted); } .dropzone small { color: var(--muted); font-size: 11px; }
.dropzone:hover, .dropzone:focus-visible, .dropzone.over { border-color: #1976d2; background: #eef5fd; outline: none; }
.dropzone.busy { opacity: .6; pointer-events: none; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.thumbs:empty { display: none; }
.thumb { position: relative; width: 120px; height: 90px; border-radius: 6px; overflow: hidden; background: #ddd; box-shadow: var(--shadow-s); }
.thumb img, .thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb .vid { position: absolute; left: 4px; bottom: 4px; display: flex; align-items: center; gap: 2px; background: rgba(0, 0, 0, .7); color: #fff; font-size: 10px; font-weight: 600; padding: 2px 6px; border-radius: 4px; }
.thumb .cap { position: absolute; left: 4px; top: 4px; background: var(--primary); color: #fff; font-size: 10px; font-weight: 600; padding: 2px 6px; border-radius: 4px; }
.thumb .acts { position: absolute; right: 4px; bottom: 4px; display: flex; gap: 3px; }
.thumb .acts button { width: 22px; height: 22px; padding: 0; border: 0; border-radius: 4px; background: rgba(0, 0, 0, .65); color: #fff; font-size: 14px; line-height: 1; cursor: pointer; }
.thumb .acts .rm { background: var(--bad); }
body:not(.app) main { padding: 22px 0 40px; }

/* painel: API de consulta de CPF */
label.inline { display: flex; align-items: center; gap: 6px; font-weight: 400; font-size: .78rem; margin-top: 4px; }
label.inline input { width: auto; }
.ok-msg { color: #198754; font-size: .82rem; font-weight: 600; align-self: center; }
.ca-result { background: #f4f6f8; border: 1px solid #dde2e7; border-radius: 6px; padding: 10px 12px; font-size: .8rem; white-space: pre-wrap; margin: 10px 0 0; }
.ck-terms { font-size: .72rem; color: #6c757d; text-align: center; margin: 8px 0 0; }

/* sem-zoom */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; touch-action: pan-x pan-y; }
* { touch-action: manipulation; }
/* iPhone dá zoom ao focar campo com fonte < 16px */
@media (hover: none) and (pointer: coarse) { input, select, textarea { font-size: 16px !important; } }

/* excluir-campanha */
.btn.ghost.del { color: var(--bad, #c62828); border-color: currentColor; }
.btn.ghost.del:hover { background: var(--bad, #c62828); color: #fff; }

/* descricao-compacta */
.pre.desc > p { margin: 0 0 7px; } .pre.desc > p:last-child { margin-bottom: 0; }

/* meta-utmify: integrações no painel */
.tk-h { font-size: .9rem; margin: 14px 0 6px; }
.tk-log summary { cursor: pointer; font-size: .85rem; }
.tk-line { padding: 4px 0; border-bottom: 1px solid #eef0f2; font-size: .78rem; word-break: break-word; }
