* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: #0a111d; color: #e9f0ff; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
body { padding-bottom: calc(4.2rem + env(safe-area-inset-bottom)); font-size: 16px; }
#app { max-width: 720px; margin: 0 auto; }
.topo { position: sticky; top: 0; z-index: 5; background: #0a111d; padding: calc(.6rem + env(safe-area-inset-top)) 1rem .5rem; border-bottom: 1px solid #1f3050; display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.logo { font-weight: 800; letter-spacing: .2em; color: #f5c400; font-size: .85rem; }
.estado { font-size: .75rem; padding: .15rem .55rem; border-radius: 1rem; font-weight: 700; }
.estado.ok { background: #0f3d22; color: #5be08a; } .estado.warn { background: #473410; color: #ffc457; } .estado.bad { background: #4a1414; color: #ff7b7b; }
.sub { font-size: .72rem; color: #8ea3c4; padding: .25rem 1rem 0; }
.sec { padding: .8rem 1rem; }
.card { background: linear-gradient(145deg, #162239, #0e1727); border: 1px solid #243556; border-radius: 1rem; padding: .8rem 1rem; margin-bottom: .7rem; }
.rot { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: #8ea3c4; font-weight: 700; }
.gg { font-size: 2.3rem; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.lin { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; padding: .3rem 0; border-top: 1px solid #1c2c4a; font-size: .95rem; }
.lin:first-of-type { border-top: 0; } .lin b { font-variant-numeric: tabular-nums; text-align: right; }
.mut { color: #8ea3c4; } .pos { color: #4be27f; } .neg { color: #ff5c5c; } .amb { color: #ffc03a; } .amarelo { color: #ffe600; font-weight: 800; } .azul { color: #5ab4ff; }
.nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; background: #0c1526; border-top: 1px solid #1f3050; display: flex; padding-bottom: env(safe-area-inset-bottom); }
.nav button { flex: 1; background: none; border: 0; color: #8ea3c4; padding: .65rem .2rem; font-size: .7rem; font-weight: 700; }
.nav button b { display: block; font-size: 1.15rem; }
.nav button.at { color: #f5c400; }
.chips { display: flex; gap: .4rem; overflow-x: auto; padding: .1rem 0 .6rem; }
.chip { flex: none; background: #14213a; color: #cfd9ea; border: 1px solid #28406b; border-radius: 1rem; padding: .35rem .8rem; font-size: .85rem; font-weight: 700; }
.chip.at { background: #f5c400; color: #1a1300; border-color: #f5c400; }
.item { padding: .55rem 0; border-top: 1px solid #1c2c4a; } .item:first-child { border-top: 0; }
.item .t { font-weight: 700; font-size: .95rem; line-height: 1.25; } .item .d { display: flex; flex-wrap: wrap; gap: .2rem .9rem; font-size: .8rem; color: #8ea3c4; margin-top: .2rem; } .item .d b { color: #e9f0ff; }
.hora { color: #8fd3ff; font-weight: 800; }
.vazio { padding: 2rem 1rem; text-align: center; color: #8ea3c4; }
.codigo { font-size: 2.6rem; font-weight: 900; letter-spacing: .15em; text-align: center; background: #14213a; border: 2px solid #f5c400; border-radius: 1rem; padding: 1rem; margin: 1rem 0; color: #fff; }
.pass { color: #cfd9ea; font-size: .95rem; line-height: 1.5; }
.btn { background: #f5c400; color: #1a1300; border: 0; border-radius: .8rem; padding: .8rem 1rem; font-weight: 800; font-size: 1rem; width: 100%; }
.faixa { background: #473410; color: #ffc457; padding: .5rem 1rem; font-size: .8rem; font-weight: 600; }
.red { position: fixed; left: 0; right: 0; top: 0; z-index: 20; background: #ff3b3b; color: #fff; padding: .7rem 1rem; font-weight: 800; }
.tela-cheia { position: fixed; inset: 0; z-index: 30; display: flex; align-items: center; justify-content: center; text-align: center; padding: 1.5rem; }
.tela-cheia.am { background: #ffd800; color: #1a1300; } .tela-cheia.vd { background: #0b8f3c; color: #fff; }
.tela-cheia .g { font-size: 2.2rem; font-weight: 900; line-height: 1.1; } .tela-cheia .p { font-size: 1.4rem; font-weight: 800; margin-top: .7rem; } .tela-cheia .m { font-size: 1.6rem; font-weight: 900; margin-top: .8rem; } .tela-cheia .f { margin-top: 1rem; font-size: .8rem; opacity: .85; }
.tela-cheia button { margin-top: 1.4rem; background: rgba(0,0,0,.75); color: #fff; border: 0; border-radius: .8rem; padding: .7rem 1.4rem; font-weight: 800; }
.tela-cheia.am { -webkit-animation: pm .8s steps(1) infinite; animation: pm .8s steps(1) infinite; }
@-webkit-keyframes pm { 0% { background: #ffd800; } 50% { background: #fff6a8; } 100% { background: #ffd800; } } @keyframes pm { 0% { background: #ffd800; } 50% { background: #fff6a8; } 100% { background: #ffd800; } }
.txt { width: 100%; background: #0c1526; color: #e9f0ff; border: 1px solid #28406b; border-radius: .6rem; padding: .6rem; font: inherit; margin-bottom: .6rem; }
.destinos { display: flex; flex-direction: column; gap: .45rem; margin: .4rem 0 .6rem; }
.chip-dest { display: flex; align-items: center; gap: .4rem; font-size: .9rem; padding: .4rem .5rem; border: 1px solid #28406b; border-radius: .6rem; }
.btn:disabled { opacity: .5; }

.linha-compra { display: flex; gap: .5rem; align-items: center; margin-top: .45rem; }
.qtd-in { width: 8.5rem; background: #0c1526; color: #fff; border: 1px solid #28406b; border-radius: .6rem; padding: .5rem .6rem; font: inherit; font-size: 1rem; }
.tag-cob { flex: 1; font-size: .78rem; font-weight: 800; padding: .3rem .5rem; border-radius: .5rem; }
.tag-cob.cor-ok { background: #0f3d22; color: #5be08a; } .tag-cob.cor-am { background: #5a4308; color: #ffd23a; } .tag-cob.cor-vm { background: #6b1212; color: #ff9b9b; }
.flash-vm { -webkit-animation: pisca-vm-m .8s steps(1) 3; animation: pisca-vm-m .8s steps(1) 3; border-left: 4px solid #ff3b3b; padding-left: .5rem; }
@-webkit-keyframes pisca-vm-m { 0% { background: rgba(255,59,59,.28); } 50% { background: transparent; } 100% { background: rgba(255,59,59,.28); } }
@keyframes pisca-vm-m { 0% { background: rgba(255,59,59,.28); } 50% { background: transparent; } 100% { background: rgba(255,59,59,.28); } }
.nav button { font-size: .62rem; } .nav button b { font-size: 1.05rem; }
.chips.quebra { flex-wrap: wrap; overflow: visible; }
.lin.dest { background: #12294d; border-radius: .5rem; padding: .45rem .5rem; font-weight: 800; margin-top: .25rem; }
.meta-rem { margin-top: .6rem; padding: .6rem; border: 1px solid #28406b; border-radius: .7rem; background: #0c1526; } .meta-rem .t { font-size: .8rem; color: #9fb3d9; text-transform: uppercase; letter-spacing: .05em; }

.just-in { width: 100%; margin-top: .4rem; background: #0c1526; color: #fff; border: 1px solid #28406b; border-radius: .6rem; padding: .45rem .6rem; font: inherit; font-size: .85rem; box-sizing: border-box; }
.just-in.ativa { border-color: #f5c400; } .just-in.falta { border-color: #ff4d4d; background: #2a1010; }
.amb.sug-menos, b.sug-menos { color: #1a1300; background: #ffd23a; padding: .05rem .4rem; border-radius: .4rem; }
.btn.fim { background: #1b9c4b; color: #fff; margin-top: .5rem; } .btn.sec { background: #1c2c4a; color: #cfe0ff; margin-top: .4rem; } .btn:disabled { opacity: .45; }
.nav { overflow-x: auto; } .nav button { flex: 1 0 auto; min-width: 46px; }

.meta-ating { font-size: 2.1rem; font-weight: 800; margin: .5rem 0 .2rem; } .meta-ating span { font-size: .85rem; font-weight: 600; color: #9fb3d9; }
.meta-ating.pos, .lin .pos { color: #5be08a; } .meta-ating.amb { color: #ffd23a; } .meta-ating.neg { color: #ff7b7b; }
.meta-bar { height: .7rem; background: #1b2735; border-radius: .5rem; overflow: hidden; margin-bottom: .5rem; } .meta-bar i { display: block; height: 100%; background: #8a94a3; border-radius: .5rem; } .meta-bar i.pos { background: #2fbf6b; } .meta-bar i.amb { background: #f5c400; } .meta-bar i.neg { background: #ff4d4d; }

.logo::before{content:"";display:block;width:8rem;height:2.4rem;background:url("/brait.png") left center/contain no-repeat;}
