:root{--red:#a41f2e;--red-dark:#771526;--gold:#f6cf77;--ink:#222737;--muted:#6d7280;--bg:#f5f5f7;--card:#fff;--line:#e8e9ee;--green:#167253;--radius:22px;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0;-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button,a,input,select{ -webkit-tap-highlight-color:transparent }button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}a{color:var(--red)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #d3a638;outline-offset:3px}a{text-decoration:none}.test-banner{background:#2d2533;color:#fff2dc;font-size:10px;text-align:center;padding:8px 10px;letter-spacing:.04em;font-weight:650}.test-banner span{padding:0 7px;color:var(--gold)}.topbar{max-width:980px;margin:auto;padding:23px 22px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:10px;color:var(--ink)}.brand-mark{display:grid;place-items:center;width:43px;height:43px;border-radius:14px;background:var(--red);color:var(--gold);font-family:Georgia,serif;font-size:32px;font-weight:bold}.brand strong{font-weight:900;letter-spacing:.13em;line-height:1}.brand small{display:block;font-size:11px;color:var(--muted);margin-top:5px}.icon-button{width:45px;height:45px;border:1px solid var(--line);border-radius:50%;background:#fff;color:var(--ink);display:grid;place-items:center}.icon{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.app{max-width:480px;margin:0 auto;padding:0 20px 114px}.app.wide{max-width:980px}h1,h2,h3,p{margin-top:0}h1{font-size:28px;letter-spacing:-1px;line-height:1.2;margin-bottom:10px}h2{font-size:20px;letter-spacing:-.5px;margin-bottom:14px}h3{font-size:16px;line-height:1.4;margin-bottom:7px}p{font-size:14px;line-height:1.6;color:var(--muted)}.eyebrow{font-size:11px;font-weight:750;letter-spacing:.12em;text-transform:uppercase;color:var(--red);margin:4px 0 8px}.section-head{margin:9px 0 23px}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:22px;margin-bottom:16px;box-shadow:0 3px 15px #24273504}.hero{padding:25px;background:linear-gradient(125deg,#a41f2e,#79162a);color:#fff;border:0;position:relative;overflow:hidden}.hero:after{content:"";position:absolute;width:170px;height:170px;border:30px solid #ffffff08;border-radius:50%;top:-55px;right:-40px;pointer-events:none}.hero p{color:#f2cdd2}.hero .eyebrow{color:var(--gold);font-size:10px}.balance{font-size:44px;font-weight:800;letter-spacing:-2px;line-height:1.1;margin:8px 0 18px}.balance small{font-size:21px;letter-spacing:0;font-weight:500;margin-right:5px}.progress-track{height:6px;background:#ffffff24;border-radius:20px;overflow:hidden;margin-bottom:12px}.progress-fill{height:100%;width:0;background:var(--gold);border-radius:20px;transition:width .35s}.hero-foot{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:12px;line-height:1.5;color:#f6e7e9}.hero-foot strong{color:#fff}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:12px}.stat-card{display:flex;flex-direction:column;gap:5px;text-align:left;border:1px solid var(--line);background:#fff;border-radius:20px;padding:18px;margin-bottom:20px;color:var(--ink)}.stat-card .symbol{background:#fff4de;color:#936019;width:37px;height:37px;border-radius:12px;display:grid;place-items:center;margin-bottom:8px}.stat-card.green .symbol{background:#e7f4ed;color:var(--green)}.stat-card strong{font-size:27px;line-height:1}.stat-card span{font-size:12px;color:var(--muted)}.btn{min-height:51px;border-radius:15px;border:0;background:var(--red);color:#fff;padding:12px 19px;display:inline-flex;align-items:center;justify-content:center;gap:10px;font-size:14px;font-weight:700;line-height:1.3;transition:transform .12s,background .12s;text-align:center}.btn:active{transform:scale(.985)}.btn.full{width:100%}.btn.secondary{background:#fff;color:var(--red);border:1px solid #e9cdd1}.btn.gold{background:var(--gold);color:#512f07}.btn.subtle{background:#f2f3f6;color:#4d5364}.btn.danger{background:#a42424}.btn.small{min-height:44px;padding:9px 13px;font-size:13px}.scan-cta{margin-bottom:22px}.btn-row{display:flex;gap:10px;flex-wrap:wrap}.btn-row>*{flex:1}.muted{color:var(--muted)}.tiny{font-size:11px;line-height:1.55}.label{display:block;font-size:12px;font-weight:650;color:#4c5260;margin:0 0 7px}input,select{width:100%;height:51px;border:1px solid #dddfe7;border-radius:13px;background:#fff;padding:0 14px;color:var(--ink);font-size:16px}input::placeholder{color:#9b9eaa}input:focus,select:focus{border-color:var(--red)}.field{margin-bottom:16px}.form-help{margin-top:-4px;margin-bottom:16px;font-size:11px}.text-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border:0;background:none;color:var(--red);font-size:13px;font-weight:650;padding:8px}.auth-hero{text-align:center;padding:14px 0 10px}.auth-hero .large-icon{width:76px;height:76px;border-radius:25px;display:grid;place-items:center;margin:5px auto 22px;background:linear-gradient(145deg,#f9e0aa,#fff2d9);color:#854b1f;box-shadow:0 8px 25px #ae732318}.large-icon .icon{width:36px;height:36px}.separator{height:1px;background:var(--line);margin:19px 0}.form-error{padding:12px;border-radius:12px;background:#fff0ee;color:#9c2d1c;font-size:13px;line-height:1.5;margin:12px 0}.notice{display:flex;gap:10px;align-items:flex-start;padding:14px 15px;border-radius:15px;background:#fff3dd;color:#7b581e;font-size:12px;line-height:1.6;margin-bottom:17px}.notice p{margin:0;color:inherit;font-size:12px}.notice.success{background:#e8f4ec;color:#276642}.section-label{display:flex;align-items:center;justify-content:space-between;margin:26px 0 14px;gap:10px}.section-label h2{font-size:17px;margin:0}.section-label a{font-size:12px;font-weight:650}.steps{display:flex;gap:13px;align-items:flex-start;margin:0 0 17px}.steps:last-child{margin-bottom:0}.steps>span{flex:none;width:27px;height:27px;border-radius:10px;background:#f4f0ed;color:var(--red);display:grid;place-items:center;font-size:12px;font-weight:750}.steps p{font-size:12px;margin:2px 0 0}.steps strong{font-size:13px}.bottom-nav{position:fixed;bottom:0;left:0;right:0;max-width:520px;margin:auto;padding:11px 12px calc(10px + env(safe-area-inset-bottom));background:#fffffff5;backdrop-filter:blur(12px);border:1px solid var(--line);border-radius:23px 23px 0 0;display:flex;justify-content:space-around;z-index:20;box-shadow:0 -6px 24px #20273807}.bottom-nav[hidden]{display:none}.nav-item{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:49px;border:0;background:none;color:#858997;font-size:10px;font-weight:650}.nav-item .icon{width:23px;height:23px}.nav-item.active{color:var(--red)}.nav-item.active .icon{stroke-width:2.4}.ticket{position:relative;overflow:hidden;border:1px solid var(--line);border-radius:20px;background:#fff;padding:20px;margin-bottom:15px}.ticket.unopened{background:linear-gradient(120deg,#fff1ce,#fff9ed);border-color:#ecd4a1}.ticket:before,.ticket:after{content:"";width:18px;height:18px;position:absolute;background:var(--bg);border:1px solid var(--line);border-radius:50%;top:48px}.ticket:before{left:-10px}.ticket:after{right:-10px}.ticket-head{display:flex;justify-content:space-between;gap:10px;margin-bottom:19px}.badge{display:inline-flex;align-items:center;padding:5px 9px;border-radius:8px;background:#f0f1f4;color:#626977;font-size:10px;font-weight:750;letter-spacing:.02em}.badge.green{background:#e6f2e9;color:#236541}.badge.gold{background:#ffedc0;color:#7e5913}.badge.red{background:#fae8e8;color:#982b2b}.code{display:block;overflow-wrap:anywhere;font-family:ui-monospace,monospace;letter-spacing:.03em;font-size:14px;font-weight:650;line-height:1.6;padding:12px;background:#f6f6f8;border:1px dashed #cfd1da;border-radius:12px;margin:12px 0}.ticket p{margin-bottom:12px;font-size:12px}.empty{text-align:center;padding:32px 18px}.empty>.icon{width:45px;height:45px;margin-bottom:15px;color:#ab8690}.empty h3{margin-bottom:8px}.empty p{font-size:13px}.history-row{border-bottom:1px solid var(--line);padding:14px 0;display:flex;justify-content:space-between;gap:12px}.history-row:last-child{border:0}.history-row small{display:block;font-size:11px;color:var(--muted);margin-top:5px}.history-row strong{font-size:14px}.right{text-align:right}.camera{width:100%;border-radius:18px;background:#17151c;margin:8px 0}.camera-wrap{position:relative}.scan-frame{position:absolute;inset:20%;border:2px solid var(--gold);border-radius:18px;pointer-events:none}.toast{position:fixed;bottom:99px;left:20px;right:20px;max-width:470px;margin:auto;padding:15px 18px;border-radius:14px;background:#272833;color:white;font-size:13px;line-height:1.6;box-shadow:0 5px 25px #0002;z-index:90}.toast[hidden]{display:none}dialog{border:0;border-radius:25px;padding:29px 22px;width:calc(100% - 36px);max-width:410px;box-shadow:0 20px 80px #0004;text-align:center}dialog::backdrop{background:#211623bb;backdrop-filter:blur(4px)}.close-dialog{position:absolute;right:12px;top:8px;border:0;background:none;color:#807580;font-size:28px;width:40px;height:40px}.scratch-box{position:relative;border-radius:18px;background:#fff5d7;margin:22px 0;min-height:175px;overflow:hidden;border:1px solid #e9ce8e}.scratch-result{padding:26px 16px;min-height:175px;display:flex;flex-direction:column;justify-content:center;align-items:center}.scratch-result strong{font-size:23px}.scratch-result p{margin:8px 0 0;font-size:13px}.scratch-box canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none}.desktop-note{text-align:center;color:#9a9fac;font-size:10px;margin:0 20px 110px}.admin-grid{display:grid;grid-template-columns:1fr;gap:0 20px}.table-scroll{overflow:auto}.table{width:100%;border-collapse:collapse;font-size:12px;text-align:left}.table th{color:#79808d;font-size:10px;text-transform:uppercase;letter-spacing:.03em;padding:12px 10px;border-bottom:1px solid var(--line);white-space:nowrap}.table td{padding:13px 10px;border-bottom:1px solid var(--line);vertical-align:top;max-width:280px;overflow-wrap:anywhere}.table tr:last-child td{border:0}.mono{font-family:ui-monospace,monospace}.kpi-row{display:grid;grid-template-columns:repeat(3,1fr);gap:11px;margin-bottom:18px}.kpi{padding:17px 12px;background:white;border:1px solid var(--line);border-radius:18px}.kpi strong{font-size:23px;display:block}.kpi span{font-size:10px;color:var(--muted)}.result-panel{margin-top:20px}.loading{padding:80px 20px;text-align:center}.spinner{width:29px;height:29px;border:3px solid #eee;border-top-color:var(--red);border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 15px}@keyframes spin{to{transform:rotate(360deg)}}.amount-positive{color:var(--green)}.stack{display:grid;gap:10px}.account-name{font-size:19px;font-weight:750}.mt{margin-top:20px}.mb{margin-bottom:20px}@media(min-width:760px){.admin-grid{grid-template-columns:1fr 1fr}.topbar{padding-top:28px}.app{padding-top:6px}.bottom-nav{bottom:16px;border-radius:23px}.desktop-note{margin-bottom:120px}.app.wide .section-head h1{font-size:33px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}@media(max-width:345px){.app{padding-left:14px;padding-right:14px}.hero{padding:20px}.balance{font-size:39px}.stat-card{padding:15px}.topbar{padding:19px 16px}.test-banner{font-size:9px}}
/* Identidade substituível sem alterar a release. */
.brand-logo{max-width:150px;height:44px;object-fit:contain}.topbar{top:0}.secret-box{width:100%;min-height:100px;font:13px monospace;overflow-wrap:anywhere}.check-line{display:flex;gap:10px;align-items:center;padding:10px 0;min-height:44px}.check-line input{width:22px;height:22px;flex-shrink:0}.notice-body{white-space:pre-wrap;overflow-wrap:anywhere}textarea{width:100%;min-height:100px;border:1px solid #ddd;border-radius:14px;padding:12px;font:inherit}.mascot-wrap{height:110px;position:relative;text-align:center;pointer-events:none}.mascot{height:110px;max-width:100%;object-fit:contain;transform-origin:50% 95%;transition:transform .2s}.mascot-paw{height:48px;position:absolute;left:52%;bottom:0;transform-origin:left center}.scratching .mascot{animation:leao-bob .55s ease-in-out infinite}.scratching .mascot-paw{animation:leao-scratch .35s ease-in-out infinite}#notice-dialog{max-width:430px;width:calc(100% - 28px);padding:26px;border:0;border-radius:24px}#notice-dialog::backdrop{background:#20141ab0}#notice-close{margin-top:20px}.history-row>div{min-width:0}.table td{overflow-wrap:anywhere}input,select,textarea{font-size:16px}@keyframes leao-bob{50%{transform:rotate(-4deg) translateY(3px)}}@keyframes leao-scratch{50%{transform:translateX(-24px) rotate(-12deg)}}@media(prefers-reduced-motion:reduce){.scratching .mascot,.scratching .mascot-paw{animation:none}} 

.table td small{display:block;margin-top:5px;color:var(--muted);white-space:nowrap}.table th{padding-left:6px;padding-right:6px}.table td{padding-left:6px;padding-right:6px}

.prize-qr{display:block;width:180px;max-width:100%;height:180px;margin:14px auto;background:white;border-radius:14px;padding:4px}
/* Leão Vantagens — carteira e catálogo mobile-first */
.hero-explain{color:#fff9;position:relative;z-index:1}.hero .btn{position:relative;z-index:2}.balance{overflow-wrap:anywhere;font-size:clamp(30px,8vw,44px)}.point-symbol{display:inline-grid;place-items:center;width:37px;height:37px;border-radius:12px;background:#e8f4ed;color:#236c4d;font-weight:900;font-size:23px;margin-bottom:8px}.balance-strip{display:flex;justify-content:space-between;gap:14px}.balance-strip div{min-width:0}.balance-strip span{display:block;font-size:11px;color:var(--muted)}.balance-strip strong{display:block;font-size:21px;margin-top:5px;overflow-wrap:anywhere}.points-hero{display:flex;gap:14px;align-items:center}.points-hero p{font-size:10px;letter-spacing:.1em;margin-bottom:4px}.points-hero h2{font-size:30px;margin:0}.points-hero .btn{margin-left:auto;min-height:44px;padding:10px;font-size:12px}.conversion-preview{background:#f7f5ed;padding:12px;border-radius:10px;font-size:13px}.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:24px}.product-card{min-width:0;background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;display:flex;flex-direction:column}.product-photo{width:100%;aspect-ratio:1;object-fit:contain;background:#faf9f6}.product-placeholder{aspect-ratio:1.4;display:grid;place-items:center;background:linear-gradient(135deg,#fff3d6,#f8e9c4);color:#987122}.product-placeholder .icon{width:45px;height:45px}.product-body{padding:14px;display:flex;flex:1;flex-direction:column;min-width:0}.product-body h3{font-size:15px;overflow-wrap:anywhere}.product-body p{font-size:12px;overflow-wrap:anywhere}.product-body>small{font-size:10px;color:var(--muted)}.price-points{font-size:24px;letter-spacing:-.5px;color:var(--red);margin-top:auto;padding-top:12px}.price-points small{font-size:10px;font-weight:500}.product-body .btn{font-size:12px;min-height:46px;padding:10px 6px}.mb{margin-bottom:16px}.history-row>div{min-width:0;overflow-wrap:anywhere}.secret-box{max-width:100%}.point-symbol+.symbol{margin-left:0}@media(max-width:350px){.product-grid{grid-template-columns:1fr}.bottom-nav{padding-left:4px;padding-right:4px}.nav-item{font-size:9px}.card{padding:18px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
