/* Bagui · club, pedido, seguimiento, premio y entrada (la de baguivm) */

/* ───── CLUB ───── */
#view.v-club { background: var(--papel); }
.club-top { padding: calc(74px + var(--sat)) 18px 22px; border-radius: 0 0 34px 34px; background: linear-gradient(rgba(0, 0, 0, .1) 2px, transparent 2px) 0 -1px/100% 40px, linear-gradient(90deg, rgba(0, 0, 0, .1) 2px, transparent 2px) -1px 0/40px 100%, var(--rojo); }
.mtilt { perspective: 900px; --rx: 0deg; --ry: 0deg; }
.mcard { --hx: 50%; position: relative; aspect-ratio: 1.6; transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .6s var(--out); cursor: pointer; animation: cardin .8s var(--spring) backwards; }
.mcard.flip { transform: rotateX(var(--rx)) rotateY(calc(var(--ry) + 180deg)); }
.mface { position: absolute; inset: 0; border-radius: 24px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .75), inset 0 0 0 1.5px rgba(255, 255, 255, .14); }
.mfront { padding: 18px; color: #fff; background: radial-gradient(90% 120% at 100% 50%, #3A0306, var(--negro) 62%); }
.m-graf { position: absolute; inset: 0; overflow: hidden; pointer-events: none; font-family: var(--fs); color: rgba(255, 255, 255, .05); font-size: 96px; line-height: .8; }
.m-graf span { position: absolute; white-space: nowrap; }
.m-graf span:nth-child(1) { top: -8px; left: -14px; transform: rotate(-10deg); }
.m-graf span:nth-child(2) { bottom: 4px; right: -30px; transform: rotate(8deg); font-size: 80px; }
.m-logo { position: absolute; right: 6%; top: 50%; width: 52%; aspect-ratio: 226/136; margin-top: -19%; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .6)); }
.m-logo svg { width: 100%; height: 100%; display: block; }
.m-holo { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 60, 70, .22) 46%, rgba(255, 220, 160, .22) 54%, transparent 65%) var(--hx) 0/260% 100%; mix-blend-mode: screen; transition: background-position .3s; pointer-events: none; animation: holo 5s ease-in-out infinite; }
.m-club { position: relative; font: 900 condensed 17px var(--fb); text-transform: uppercase; letter-spacing: .03em; }
.m-club .scr { font-size: 22px; color: var(--rojov); text-transform: none; }
.m-name { position: absolute; left: 18px; bottom: 60px; font: 900 condensed 28px/1 var(--fb); max-width: 50%; }
.m-lvl { position: absolute; left: 18px; bottom: 36px; display: inline-flex; align-items: center; gap: 4px; font: 800 11px var(--fb); text-transform: uppercase; letter-spacing: .08em; color: var(--ched); }
.m-lvl svg { width: 13px; height: 13px; }
.m-n { position: absolute; left: 18px; bottom: 17px; font: 500 9.5px var(--fb); opacity: .7; letter-spacing: .03em; }
.m-chk { position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--chk) 0 0/8px 8px; }
.mback { transform: rotateY(180deg); background: var(--crema); color: var(--tinta); display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 6px 16px; padding: 18px 18px 24px; }
.m-qr { grid-row: span 2; width: 118px; height: 118px; padding: 8px; background: #fff; border-radius: 14px; box-shadow: inset 0 0 0 2px var(--tinta); }
.m-qr svg { width: 100%; height: 100%; display: block; }
.mback p { font: 700 14px/1.25 var(--fb); align-self: end; }
.mback b { font: 800 13px ui-monospace, Menlo, monospace; letter-spacing: .08em; color: var(--rojo); align-self: start; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.stats > * { padding: 11px 8px 10px; border-radius: 18px; background: rgba(255, 255, 255, .9); text-align: center; display: grid; gap: 2px; color: var(--tinta); }
.stats b { font: 900 condensed 26px/1 var(--fb); }
.stats small { font-size: 13px; font-weight: 700; opacity: .55; }
.stats span { font: 700 10px var(--fb); text-transform: uppercase; letter-spacing: .09em; opacity: .7; }

.hcard { position: relative; padding: 24px 16px 16px; border-radius: 28px; background: #fff; border: 2px solid var(--rojo); overflow: hidden; }
.hcard::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: var(--chk) 0 0/10px 10px; }
.hcard-h { display: grid; gap: 4px; }
.hcard-h h3 { font: 900 condensed 28px/1 var(--fb); text-transform: uppercase; }
.hcard-h h3 .scr { font-size: 24px; color: var(--rojo); text-transform: none; }
.hcard-h p { font-size: 12px; color: var(--mut); }
.hc-body { display: grid; grid-template-columns: 100px 1fr; align-items: center; gap: 14px; margin-top: 14px; }
.hc-torre { display: grid; place-items: end center; padding: 8px 0 6px; border-radius: 20px; background: radial-gradient(60% 40% at 50% 100%, rgba(227, 10, 23, .12), transparent); }
.hc-torre .torre { width: 84px; filter: drop-shadow(0 8px 8px rgba(0, 0, 0, .25)); }
.stamps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 10px; padding-bottom: 18px; }
.st { position: relative; aspect-ratio: 1; border-radius: 50%; border: 2px dashed #F2A7A3; display: grid; place-items: center; color: var(--rojo); }
.st > span { font: 900 condensed 20px var(--fb); color: #F4BDB9; }
.st.on > span { display: none; }
.st .ink { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; transform: rotate(var(--r)); }
.st.on { border: 2.5px solid var(--rojo); background: #FFF1EF; }
.st.hito { border-color: var(--ched2); }
.st.hito.on { border-color: var(--rojo); }
.st em { position: absolute; top: calc(100% + 4px); left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 3px; font: 800 9.5px var(--fb); font-style: normal; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; color: var(--chedd); }
.st em svg { width: 11px; height: 11px; }
.st.hito.on em { color: var(--verde); }
.hcard.seen .st.on .ink { animation: stampin .5s var(--spring) backwards; animation-delay: calc(var(--k) * 110ms + .25s); }
.hcard-m { font-size: 13px; margin-top: 4px; }

/* la tarjeta de Apple Wallet (la de baguivm) */
.wal { display: grid; gap: 14px; justify-items: center; }
.pase { width: 100%; max-width: 360px; margin: 0 auto; background: #0b0b0b; color: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 18px 36px rgba(60, 10, 10, .28), inset 0 0 0 1px rgba(255, 255, 255, .07); font-family: -apple-system, 'SF Pro Text', 'Helvetica Neue', Helvetica, Arial, sans-serif; }
.pase-top { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px 10px; }
.pase-top svg { height: 36px; width: auto; display: block; }
.pase-campo small { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .03em; color: #ff6060; text-transform: uppercase; line-height: 1.3; }
.pase-campo b { display: block; font-size: 15.5px; font-weight: 500; line-height: 1.25; letter-spacing: -.01em; }
.pase-campo.der { text-align: right; }
.pase-tira { position: relative; }
.pase-tira img { display: block; width: 100%; aspect-ratio: 375/123; object-fit: cover; }
.pase-tira .pase-campo { position: absolute; left: 14px; top: 9px; }
.pase-tira .pase-campo b { font-size: 30px; font-weight: 400; letter-spacing: -.02em; }
.pase-fila { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px 0; }
.pase-fila .pase-campo { min-width: 0; }
.pase-fila .pase-campo b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pase-qr { background: #fff; border-radius: 7px; width: 122px; margin: 16px auto 6px; padding: 9px; }
.pase-qr svg { display: block; width: 100%; height: auto; }
.pase-alt { text-align: center; font-size: 11.5px; color: #bdbdbd; padding: 0 0 16px; }
.wallet-acc { display: grid; gap: 10px; justify-items: center; width: 100%; }
.badge-wallet { display: block; height: 50px; padding: 0; background: none; border-radius: 10px; cursor: pointer; transition: transform .12s; }
.badge-wallet:active { transform: scale(.97); }
.badge-wallet svg { height: 100%; width: auto; display: block; }
.wa-nota { font-size: 13px; color: var(--mut); text-align: center; line-height: 1.4; max-width: 330px; }
.wa-lista { width: 100%; background: #fff; border-radius: 16px; padding: 12px 14px; border: 2px solid var(--verde); }
.wa-lista b { display: block; color: var(--verde); font: 900 condensed 18px var(--fb); }
.wa-lista span { display: block; font-size: 13px; color: var(--mut); margin-top: 2px; }
.wallet-acc .btn { width: 100%; }
.wsheet, .csheet { padding: 26px 18px calc(22px + var(--sab)); display: grid; gap: 10px; }
.wsheet .scr, .csheet .scr { font-size: 22px; color: var(--rojo); transform: rotate(-3deg); }
.wsheet h2, .csheet h2 { font-size: 32px; padding-right: 46px; }
.wsheet p { color: var(--mut); font-size: 14px; }
.wsheet small { color: var(--mut); text-align: center; font-size: 12px; }
.wq-qr { width: min(240px, 70vw); margin: 8px auto; background: #fff; border-radius: 16px; padding: 16px; box-shadow: 0 8px 20px rgba(0, 0, 0, .12); }
.wq-qr svg { display: block; width: 100%; height: auto; }
.wsheet .sx, .csheet .sx { background: rgba(11, 11, 11, .1); color: var(--tinta); }

.cups { display: grid; gap: 10px; }
.cup { position: relative; display: flex; align-items: center; gap: 12px; padding-right: 12px; border-radius: 20px; background: #fff; overflow: hidden; box-shadow: inset 0 0 0 1.5px var(--line); }
.cup-l { flex: none; width: 78px; align-self: stretch; min-height: 86px; display: grid; place-content: center; justify-items: center; gap: 2px; color: #fff; border-right: 2.5px dashed #fff; }
.cup-l b { font: 900 condensed 28px/1 var(--fb); }
.cup-l span { font: 800 10.5px var(--fb); text-transform: uppercase; letter-spacing: .1em; }
.cup-l svg { width: 26px; height: 26px; }
.cup-l .cup-i { width: 44px; height: 44px; border-radius: 50%; background: #fff; display: grid; place-items: center; overflow: hidden; }
.cup-l .cup-i img { width: 90%; }
.cup-l .cup-b { width: 46px; }
.cup.pct .cup-l { background: var(--rojo); }
.cup.item .cup-l { background: var(--negro); }
.cup::before, .cup::after { content: ""; position: absolute; left: 69px; width: 18px; height: 18px; border-radius: 50%; background: var(--papel); z-index: 1; }
.cup::before { top: -10px; }
.cup::after { bottom: -10px; }
.cup-m { flex: 1; min-width: 0; padding: 10px 0; }
.cup-m h4 { font: 800 15px/1.15 var(--fb); }
.cup-m p { font-size: 12px; color: var(--mut); line-height: 1.3; margin-top: 2px; }
.cup-m small { font-size: 10.5px; color: var(--rojo); font-weight: 700; }
.cup.sel { box-shadow: inset 0 0 0 2.5px var(--verde); }
.cup.sel .btn { background: var(--verde); }
.empty-s { padding: 18px; border-radius: 22px; border: 2px dashed var(--rojo); display: grid; gap: 10px; justify-items: start; font-size: 13px; }

.valec { border-radius: 28px; overflow: hidden; background: #D9B88F; color: var(--tinta); }
.valec img { display: block; width: 100%; aspect-ratio: 1/.62; object-fit: cover; object-position: 50% 56%; }
.valec-in { padding: 16px; background: repeating-linear-gradient(0deg, transparent 0 22px, rgba(120, 80, 40, .1) 22px 23px), #D9B88F; }
.valec h3 { font: 900 condensed 32px/1 var(--fb); text-transform: uppercase; }
.valec p { font-size: 13px; margin-top: 6px; }
.valec form { display: flex; gap: 8px; margin-top: 12px; }
.valec input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border-radius: 99px; border: 2px solid var(--tinta); background: #fff; font: 600 14px var(--fb); color: var(--tinta); outline: 0; }
.valec input:focus { box-shadow: 0 0 0 3px rgba(227, 10, 23, .35); }
.valec .btn { height: 44px; }
.vsheet { padding: 60px 18px calc(22px + var(--sab)); display: grid; gap: 12px; }
.vsheet .sx { background: rgba(11, 11, 11, .1); color: var(--tinta); }
.vsheet .btn { width: 100%; }
/* el vale es una bolsa de papel madera, como la de sus pedidos */
.vale { position: relative; padding: 18px 14px 14px; border-radius: 22px; background: repeating-linear-gradient(0deg, #D9B88F 0 15px, #CFAC80 15px 17px); box-shadow: inset 0 0 0 3px #B88F5E, 0 16px 30px -14px rgba(11, 11, 11, .55); transform: rotate(-1.5deg); animation: pop .6s var(--spring) .1s backwards; text-align: center; }
.vale-t { display: inline-block; font: 800 10.5px var(--fb); text-transform: uppercase; letter-spacing: .14em; background: var(--rojo); color: #fff; padding: 6px 11px; border-radius: 99px; }
.vale-fr { display: grid; gap: 6px; margin: 16px 0; justify-items: center; }
.fr-l { display: flex; gap: 3px; }
.fr-l i { display: inline-block; font: 900 extra-condensed 42px/1 var(--fb); font-size: clamp(32px, 11cqw, 48px); font-style: normal; color: #fff; -webkit-text-stroke: 1.5px var(--rojod); text-shadow: 2px 3px 0 var(--rojo), 3px 6px 4px rgba(0, 0, 0, .25); transform: rotate(var(--r)); animation: letter .5s var(--spring) backwards; animation-delay: calc(.25s + var(--i) * 45ms); }
.fr-l .sp { width: 10px; }
.vale-b { display: flex; justify-content: space-between; align-items: center; gap: 10px; font: 700 11.5px var(--fb); }
.vale-b b { font: 800 12.5px ui-monospace, Menlo, monospace; background: #fff; padding: 5px 9px; border-radius: 8px; letter-spacing: .06em; }
.vale-p { font-size: 13px; text-align: center; }

.lv { padding: 16px; border-radius: 26px; background: var(--tinta); color: #fff; }
.lv-now { display: flex; align-items: center; gap: 12px; }
.lv-now > span { width: 44px; height: 44px; border-radius: 50%; background: var(--rojo); color: #fff; display: grid; place-items: center; box-shadow: 0 0 18px rgba(227, 10, 23, .6); flex: none; }
.lv-now svg { width: 22px; height: 22px; }
.lv-now b { font: 900 condensed 25px/1 var(--fb); text-transform: uppercase; }
.lv-now small { display: block; font-size: 12px; opacity: .75; margin-top: 3px; }
.lv-bar { position: relative; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .14); margin: 20px 8px 18px; }
.lv-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--rojo), var(--ched)); transition: width 1.3s var(--out) .3s; }
.lv.seen .lv-bar i { width: var(--w); }
.lv-bar em { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px; border-radius: 50%; background: #3a3a3a; box-shadow: 0 0 0 3px var(--tinta); }
.lv-bar em.on { background: var(--ched); }
.lv ul { list-style: none; display: grid; gap: 6px; }
.lv li { display: grid; grid-template-columns: 1fr auto; gap: 1px 10px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .05); opacity: .6; }
.lv li b { font: 800 13.5px var(--fb); }
.lv li small { font-size: 10.5px; opacity: .7; text-align: right; }
.lv li span { grid-column: 1/-1; font-size: 12px; opacity: .88; }
.lv li.ok { opacity: .85; }
.lv li.act { opacity: 1; background: rgba(227, 10, 23, .18); box-shadow: inset 0 0 0 1.5px rgba(227, 10, 23, .7); }

.rank { padding: 18px 16px; border-radius: 26px; color: #fff; background: linear-gradient(rgba(227, 10, 23, .08) 1px, transparent 1px) 0 0/100% 4px, var(--negro); box-shadow: inset 0 0 0 2px var(--rojo), 0 0 26px -4px rgba(227, 10, 23, .65); }
.rank-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.rank-h b { font: 400 23px var(--ft); letter-spacing: .04em; color: var(--rojov); text-shadow: 0 0 10px rgba(255, 42, 53, .8); animation: flick 6s infinite; }
.rank-h small { font-size: 11px; opacity: .7; }
.rank ol { list-style: none; margin: 12px 0 10px; display: grid; gap: 4px; }
.rank li { display: flex; align-items: baseline; gap: 10px; font: 400 18px var(--ft); letter-spacing: .06em; padding: 5px 8px 3px; border-radius: 8px; }
.rank li i { font-style: normal; width: 18px; color: var(--rojov); }
.rank li span { flex: 1; border-bottom: 2px dotted rgba(255, 255, 255, .25); transform: translateY(-4px); }
.rank li em { font-style: normal; }
.rank li.yo { background: var(--rojo); color: #fff; }
.rank li.yo i { color: #fff; }
.rank li.yo span { border-color: rgba(255, 255, 255, .5); }
.rank p { font-size: 12px; opacity: .75; }

.cumple { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 22px; background: #fff; border: 2px dashed var(--rojo); }
.cumple b { display: block; font: 800 15px var(--fb); }
.cumple small { font-size: 12px; color: var(--mut); }
.cumple input { height: 42px; padding: 0 10px; border-radius: 12px; border: 1.5px solid var(--line); font: 600 13px var(--fb); background: var(--papel); color: var(--tinta); max-width: 150px; }
.movs { list-style: none; padding: 4px 14px; border-radius: 24px; background: #fff; border: 1px solid var(--line); }
.movs li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1.5px dashed var(--line); }
.movs li:last-child { border: 0; }
.movs b { display: block; font: 700 13.5px/1.2 var(--fb); }
.movs small { font-size: 11px; color: var(--mut); }
.movs em { font: 700 11.5px/1.25 var(--fb); font-style: normal; color: var(--rojo); text-align: right; }

/* ───── PEDIDO ───── */
.papel { position: relative; margin: 16px 16px 0; padding: 24px 16px 28px; background: #fff; filter: drop-shadow(0 14px 14px rgba(11, 11, 11, .14)); -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50%/16px 100%; mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50%/16px 100%; }
.papel-chk { position: absolute; left: 0; right: 0; top: 0; height: 12px; background: var(--chk) 0 0/12px 12px; }
.ci { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1.5px dashed var(--line); }
.ci > div:not(.stp) { flex: 1; min-width: 0; }
.ci h4 { font: 800 14.5px/1.2 var(--fb); }
.ci p { font-size: 11.5px; color: var(--mut); line-height: 1.3; margin-top: 1px; }
.ci b { font: 900 condensed 16px var(--fb); color: var(--rojo); }
.ci.free { background: #FFF6DC; margin: 0 -16px; padding: 12px 16px; }
.ci.free b { color: var(--verde); }
.pc { padding: 14px 0 4px; }
.pc-t { font: 800 10.5px var(--fb); text-transform: uppercase; letter-spacing: .1em; color: var(--mut); }
.pc-l { display: flex; gap: 8px; overflow-x: auto; margin-top: 8px; scrollbar-width: none; }
.pcb { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px 0 10px; border-radius: 99px; box-shadow: inset 0 0 0 2px var(--rojo); color: var(--rojo); font: 800 12.5px var(--fb); }
.pcb svg { width: 16px; height: 16px; }
.pcb.on { background: var(--verde); box-shadow: none; color: #fff; }
.tot { margin-top: 12px; display: grid; gap: 6px; }
.tot div { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; }
.tot dd { margin: 0; white-space: nowrap; }
.tot .d { color: var(--verde); font-weight: 700; }
.tot .t { margin-top: 6px; padding-top: 10px; border-top: 2px solid var(--tinta); font: 900 condensed 26px var(--fb); }
.earn { display: flex; align-items: center; gap: 12px; margin: 18px 16px 0; padding: 12px 14px; border-radius: 20px; background: var(--tinta); color: #fff; }
.earn p { font-size: 13px; line-height: 1.3; }
.earn b { color: var(--ched); }
.mini-med { flex: none; width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; overflow: hidden; }
.mini-med img { width: 90%; }
.papel.p2 { margin-top: 20px; }
.papel.p2 .ci.free:first-of-type { margin-top: -10px; }
.send { padding: 16px; display: grid; gap: 8px; text-align: center; }
.send-n { font-size: 12.5px; color: #5a4410; background: #FFF3CC; border: 1.5px dashed #C99A1A; padding: 9px 12px; border-radius: 12px; }
.btn.big { height: 62px; width: 100%; justify-content: space-between; padding: 0 9px 0 20px; font-size: 16.5px; gap: 10px; }
.btn.big span { flex: 1; text-align: left; }
.btn.big em { font: 900 condensed 18px/1 var(--fb); font-style: normal; background: #fff; color: var(--rojo); padding: 12px 14px; border-radius: 99px; }
.btn-az.big em { color: var(--tinta); }
.btn.load { pointer-events: none; animation: loadp .9s ease-in-out infinite; }
.send small { font-size: 11.5px; color: var(--mut); }
.cerrado-av { display: grid; grid-template-columns: 14px 1fr; gap: 10px; background: var(--negro); color: #fff; border-radius: 18px; padding: 14px 16px; text-align: left; }
.cerrado-av > i { width: 12px; height: 12px; border-radius: 50%; background: #FF5A4F; box-shadow: 0 0 0 4px rgba(255, 90, 79, .22); margin-top: 4px; }
.cerrado-av b { display: block; font: 900 condensed 20px var(--fb); }
.cerrado-av span { display: block; font-size: 13.5px; color: #c9c9c9; margin-top: 3px; line-height: 1.35; }
.cerrado-av button { margin-top: 12px; background: #fff; color: var(--negro); border-radius: 12px; padding: 10px 14px; font-weight: 800; font-size: 14px; }

/* los datos del pedido, como en Pedix */
.datos { margin: 20px 16px 0; padding: 18px 16px; border-radius: 26px; background: #fff; border: 1px solid var(--line); display: grid; gap: 10px; }
.datos h3 { font: 900 condensed 26px/1 var(--fb); text-transform: uppercase; margin-bottom: 4px; }
.datos h3 .scr { display: block; font-size: 21px; color: var(--rojo); transform: rotate(-3deg); transform-origin: left; text-transform: none; }
.campo { display: grid; gap: 5px; }
.campo > span, .campo-t { font: 800 12px var(--fb); text-transform: uppercase; letter-spacing: .06em; color: var(--mut); }
.campo small { text-transform: none; letter-spacing: 0; font-weight: 600; }
.campo input { height: 48px; padding: 0 14px; border-radius: 14px; border: 2px solid rgba(11, 11, 11, .14); background: var(--papel); font: 600 16px var(--fb); color: var(--tinta); outline: 0; width: 100%; }
.campo input:focus { border-color: var(--tinta); background: #fff; }
.campo input.mal { border-color: var(--rojo); background: #FFF1EF; }
.datos .seg { margin-top: 0; }
.aviso { font-size: 12.5px; color: var(--mut); }

.vacio { min-height: 100%; padding: calc(100px + var(--sat)) 24px 30px; display: grid; justify-items: center; align-content: start; gap: 6px; text-align: center; }
.vacio-b { width: 200px; height: 200px; display: grid; place-items: center; border-radius: 50%; background: var(--chk-s) 0 0/28px 28px; box-shadow: inset 0 0 0 2px var(--rojo); }
.vacio-b img { width: 118px; filter: drop-shadow(0 12px 10px rgba(0, 0, 0, .25)); animation: float 4s ease-in-out infinite; }
.vacio .scr { font-size: 26px; color: var(--rojo); margin-top: 16px; transform: rotate(-3deg); }
.vacio h1 { font: 900 condensed 46px/.95 var(--fb); text-transform: uppercase; }
.vacio p { color: var(--mut); margin-bottom: 14px; }
.vacio .btn { width: 100%; }
.vacio .btn-ol { height: auto; min-height: 50px; padding: 10px 18px; white-space: normal; font-size: 13px; line-height: 1.25; margin-top: 8px; }

/* seguimiento */
#view.v-track { background: var(--negro); }
.tr-ph { position: relative; height: 340px; overflow: hidden; background: #000; }
.tr-ph > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; animation: kb 14s ease-out both; display: block; }
.tr-ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(11, 11, 11, .7), transparent 36%, transparent 60%, rgba(11, 11, 11, .92)); }
.tr-ph .top { z-index: 3; }
.tr-card { position: relative; z-index: 4; margin: -60px 14px 0; padding: 20px 18px; border-radius: 30px; background: var(--papel); display: grid; gap: 10px; box-shadow: 0 -10px 40px -10px rgba(0, 0, 0, .55); animation: sheetup .7s var(--spring) both; }
.tr-card > .scr { font-size: 23px; color: var(--rojo); transform: rotate(-3deg); transform-origin: left; }
.tr-card h1 { font: 900 extra-condensed 60px/.9 var(--fb); margin-top: -6px; }
.tr-tipo { font-size: 12.5px; color: var(--mut); margin-top: -4px; }
.tr-st { display: grid; }
.tr-st b { font: 900 condensed 24px var(--fb); text-transform: uppercase; }
.tr-st span { font-size: 12.5px; color: var(--mut); min-height: 18px; }
.tr-st.mal b { color: var(--rojo); }
.track { --p: 6; }
.track[data-e="1"] { --p: 36; }
.track[data-e="2"] { --p: 68; }
.track[data-e="3"] { --p: 100; }
.track[data-e="0"] .tr-b { animation: float 1.2s ease-in-out infinite; }
.tr-bar { position: relative; height: 12px; border-radius: 99px; background: rgba(11, 11, 11, .08); margin: 40px 0 4px; }
.tr-bar i { position: absolute; inset: 0 auto 0 0; width: calc(var(--p) * 1%); border-radius: 99px; background: repeating-linear-gradient(-45deg, var(--rojo) 0 10px, #FF4A52 10px 20px) 0 0/28.28px 100%; animation: stripes .8s linear infinite; transition: width 1.4s var(--out); }
.tr-b { position: absolute; top: 50%; left: clamp(28px, calc(var(--p) * 1%), calc(100% - 28px)); width: 60px; margin: -50px 0 0 -30px; transition: left 1.4s var(--out); animation: float 1.2s ease-in-out infinite; }
.tr-b .envuelto img { filter: drop-shadow(0 5px 4px rgba(0, 0, 0, .3)); }
.tr-b .envuelto .stk { font-size: 10px; opacity: 0; }
.tr-b .envuelto.pegado .stk { opacity: 1; }
.tr-b .envuelto.pega .stk { animation: pega .5s cubic-bezier(.3, 1.6, .5, 1) .3s both; }
.tr-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); font: 700 9.5px var(--fb); text-transform: uppercase; letter-spacing: .03em; color: #B8ADA2; text-align: center; }
.tr-steps li:first-child { text-align: left; }
.tr-steps li:last-child { text-align: right; }
.tr-steps li.on { color: var(--tinta); }
.tr-acc { display: grid; gap: 6px; justify-items: center; }
.tr-acc .btn { width: 100%; }
.lnk-x { font: 700 12.5px var(--fb); color: var(--mut); text-decoration: underline; text-underline-offset: 3px; padding: 6px; }
.tr-earn { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.tr-earn > div { flex: 1; min-width: 96px; display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 16px; background: var(--tinta); color: #fff; animation: pop .5s var(--spring) .3s backwards; }
.tr-earn > div:nth-child(2) { animation-delay: .42s; }
.tr-earn > div:nth-child(3) { animation-delay: .54s; }
.tr-earn b { font: 900 condensed 22px var(--fb); color: var(--ched); }
.tr-earn span { font-size: 11px; opacity: .8; }
.tr-earn .coin { --cs: 22px; }
.tr-earn .mini-med { width: 28px; height: 28px; }
.tr-earn .hit { flex-basis: 100%; background: var(--verde); }
.tr-earn .hit svg { width: 20px; height: 20px; flex: none; }
.tr-earn .hit b { color: #fff; font-size: 16px; }
.tr-it { list-style: none; padding-top: 12px; margin-top: 4px; border-top: 1.5px dashed var(--line); display: grid; gap: 6px; font-size: 13px; }
.tr-it li { display: flex; justify-content: space-between; gap: 12px; }
.tr-it b { white-space: nowrap; }
.tr-it small { display: block; font-size: 11px; color: var(--mut); }
.tr-it .d { color: var(--verde); font-weight: 700; }
.tr-it .t { font: 900 condensed 20px var(--fb); border-top: 2px solid var(--tinta); padding-top: 8px; margin-top: 4px; }
.tr-card .btn { width: 100%; margin-top: 4px; }
.sgw { background: #fff; border-radius: 18px; padding: 14px; display: grid; justify-items: center; gap: 12px; text-align: center; }
.sgw p { font-size: 13.5px; color: var(--mut); }
.sgw p b { color: var(--tinta); }
.sg-demo { display: block; padding: 13px 14px; border-radius: 18px; background: #FFF3CC; border: 1.5px dashed #C99A1A; text-decoration: none; }
.sg-demo b { display: block; font: 900 condensed 18px var(--fb); text-transform: uppercase; color: var(--tinta); }
.sg-demo span { display: block; font-size: 12.5px; color: #5a4410; margin-top: 2px; }

/* ───── premio ───── */
.win { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; color: #fff; text-align: center; background: radial-gradient(90% 60% at 50% 40%, #E30A17, #6B0309 70%, #1A0102); animation: fade .3s both; overflow: hidden; }
.win-rays { position: absolute; left: 50%; top: 42%; width: 1400px; height: 1400px; margin: -700px; background: repeating-conic-gradient(rgba(255, 255, 255, .14) 0 8deg, transparent 8deg 16deg); -webkit-mask: radial-gradient(circle, #000 0, transparent 65%); mask: radial-gradient(circle, #000 0, transparent 65%); animation: spin 18s linear infinite; }
.win-in { position: relative; display: grid; justify-items: center; gap: 10px; width: 100%; max-width: 330px; }
.win-in > .scr { font-size: 30px; color: #fff; transform: rotate(-4deg); animation: pop .5s var(--spring) .1s backwards; }
.win-t { font: 900 extra-condensed 80px/1 var(--fb); font-size: clamp(66px, 22cqw, 92px); white-space: nowrap; }
.win-t i { display: inline-block; font-style: normal; color: #fff; text-shadow: 3px 4px 0 var(--negro), 6px 8px 0 rgba(0, 0, 0, .35); animation: letter .7s var(--spring) backwards, wob 1.4s ease-in-out infinite; animation-delay: calc(.15s + var(--i) * 60ms), calc(1.1s + var(--i) * 90ms); }
.slot { width: 100%; margin: 10px 0 8px; border-top: 9px solid var(--negro); border-radius: 6px 6px 0 0; overflow: hidden; box-shadow: 0 -2px 0 #fff; }
.ticket { position: relative; background: var(--crema); color: var(--tinta); padding: 16px 18px 30px; display: grid; justify-items: center; gap: 4px; animation: print 1.3s steps(16) .55s backwards; -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50%/18px 100%; mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50%/18px 100%; }
.tk-h { display: flex; align-items: center; gap: 8px; font: 800 11px var(--fb); text-transform: uppercase; letter-spacing: .12em; }
.tk-logo { width: 50px; height: 30px; display: block; }
.tk-logo svg { width: 100%; height: 100%; display: block; }
.tk-big { font: 900 extra-condensed 64px/1.05 var(--fb); color: var(--rojo); text-shadow: 3px 3px 0 var(--negro); }
.ticket p { font: 700 14px/1.25 var(--fb); }
.tk-code { margin-top: 8px; padding: 8px 16px; border: 2px dashed var(--tinta); border-radius: 10px; font: 800 17px ui-monospace, Menlo, monospace; letter-spacing: .12em; }
.ticket small { font-size: 11px; color: var(--mut); margin-top: 4px; }
.win .btn { width: 100%; animation: rise .5s var(--out) 1.75s backwards; }
.win .btn-y { background: #fff; color: var(--rojo); box-shadow: 0 5px 0 #B9B9B9; }
.win .btn-gl { animation-delay: 1.9s; }
.shake { animation: shake .6s; }

/* ───── entrada (la de baguivm, sin cambios) ───── */
#intro { position: fixed; inset: 0; z-index: 100; }
#intro .in-negro { position: absolute; inset: 0; background: var(--negro); clip-path: circle(150% at 50% 50%); }
#intro .in-rojo { position: absolute; inset: 0; background: var(--rojo); }
#intro .in-tela { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
#intro.tela-lista .in-tela { transition: opacity .22s; opacity: 1; }
#intro.tela-lista .in-rojo { transition: opacity 0s .24s; opacity: 0; }
#intro.sin-tela.chupa .in-rojo { transition: opacity .5s .2s; opacity: 0; }
#intro .in-logo { position: absolute; left: 50%; top: 48%; width: min(86vw, 430px); aspect-ratio: 226/136; transform: translate(-50%, -50%); transform-origin: 0 0; }
#intro .in-logo-in { position: absolute; inset: 0; transform-origin: 50% 55%; }
#intro .in-logo svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
#intro .trazo { stroke-dasharray: 1; stroke-dashoffset: 1; }
#intro .in-letra { -webkit-mask-image: linear-gradient(105deg, #000 44%, transparent 56%); mask-image: linear-gradient(105deg, #000 44%, transparent 56%); -webkit-mask-size: 260% 100%; mask-size: 260% 100%; -webkit-mask-position: 100% 0; mask-position: 100% 0; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
#intro.escribe .in-letra { transition: -webkit-mask-position .6s cubic-bezier(.3, 0, .7, 1), mask-position .6s cubic-bezier(.3, 0, .7, 1); -webkit-mask-position: 0 0; mask-position: 0 0; }
#intro.escrito .in-letra { -webkit-mask-image: none; mask-image: none; }
#intro.salida { pointer-events: none; }
#intro.salida .in-negro { transition: clip-path .6s cubic-bezier(.7, 0, .25, 1); clip-path: circle(0px at var(--cx) var(--cy)); }
#intro.salida .in-logo { transition: transform .6s cubic-bezier(.7, 0, .25, 1); will-change: transform; }

@keyframes flick { 0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; } 20%, 24%, 55% { opacity: .45; } }
@keyframes holo { 0%, 100% { background-position: 20% 0; } 50% { background-position: 80% 0; } }
@keyframes stampin { 0% { transform: rotate(var(--r)) scale(2.6); opacity: 0; } 60% { transform: rotate(var(--r)) scale(.9); opacity: 1; } }
@keyframes stripes { to { background-position: 28.28px 0; } }
@keyframes loadp { 50% { transform: scale(.96); filter: brightness(1.15); } }
@keyframes print { from { transform: translateY(-102%); } }
@keyframes wob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-6px) rotate(-3deg); } }
@keyframes shake { 0%, 100% { transform: none; } 15% { transform: translate(-7px, 3px) rotate(-.6deg); } 30% { transform: translate(6px, -4px) rotate(.6deg); } 45% { transform: translate(-5px, 2px); } 60% { transform: translate(4px, -2px); } 80% { transform: translate(-2px, 1px); } }
@keyframes pega { from { transform: translate(-50%, -50%) rotate(-30deg) scale(2); opacity: 0; } to { transform: translate(-50%, -50%) rotate(-6deg) scale(1); opacity: 1; } }
