:root { --f: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif; --g1: #1fb871; --g2: #0e9b59; --gd: #0b7a47; --ink: #0f172a; --mut: #5f6c82; --line: #e6ebf1; --soft: #f5f7fa; --bg: #f6f8fb; --sl: #3a4866; --sand: #8a6a3b; }
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--f); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
button { font: inherit; cursor: pointer; color: inherit; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
.fl1 { animation: fl 6s ease-in-out infinite; transform-box: fill-box; }
.fl2 { animation: fl 7.5s ease-in-out infinite reverse; transform-box: fill-box; }
@keyframes fl { 50% { transform: translateY(-6px); } }
.tw { animation: tw 2.8s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes tw { 50% { opacity: .3; transform: scale(.75); } }


/* estructura */
.app { display: grid; grid-template-columns: 252px 1fr; min-height: 100vh; }
.nav { position: sticky; top: 0; height: 100vh; background: #fff; border-right: 1px solid var(--line); padding: 22px 16px; display: flex; flex-direction: column; gap: 4px; }
.nav .logo { padding: 4px 10px 22px; } .nav .logo img { height: 28px; }
.nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 13px; font-size: 14.5px; font-weight: 700; color: var(--mut); transition: background .2s, color .2s; }
.nav a svg { width: 22px; height: 22px; flex: none; }
.nav a:hover { background: var(--soft); color: var(--ink); }
.nav a.on { background: #eaf7f0; color: var(--ink); font-weight: 800; }
.nav a .cnt { margin-left: auto; font-size: 11.5px; font-weight: 800; background: var(--g1); color: #fff; border-radius: 999px; padding: 2px 8px; }
.nav .sep { height: 1px; background: var(--line); margin: 10px 8px; }
.nav .me { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 16px; }
.av { width: 38px; height: 38px; border-radius: 50%; background: #e3f5ec; color: var(--gd); font-weight: 800; font-size: 14px; display: grid; place-items: center; flex: none; }
.av.lg { width: 64px; height: 64px; font-size: 22px; }
.me > div { min-width: 0; flex: 1; }
.me small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me b { display: block; font-size: 13.5px; font-weight: 800; }
.me small { font-size: 12px; color: var(--mut); font-weight: 600; }
.me button { margin-left: auto; border: none; background: none; color: #94a3b8; padding: 6px; border-radius: 9px; } .me button svg { width: 19px; height: 19px; }

.main { min-width: 0; padding: 0 40px 110px; }
.topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 14px; height: 74px; background: rgba(246,248,251,.86); backdrop-filter: blur(14px); }
.topbar h1 { margin: 0; font-size: 22px; letter-spacing: -.03em; font-weight: 800; }
.topbar .mlogo { display: none; } .topbar .mlogo img { height: 24px; }
.tb-act { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.icb { width: 42px; height: 42px; border-radius: 13px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; position: relative; }
.icb svg { width: 21px; height: 21px; }
.icb .dot { position: absolute; top: 9px; right: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--g1); border: 2px solid #fff; }
.b-main { border: none; border-radius: 14px; color: #fff; background: linear-gradient(180deg, var(--g1), var(--g2)); font-size: 14.5px; font-weight: 800; box-shadow: 0 12px 24px -14px rgba(14,155,89,.75); display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px; white-space: nowrap; }
.b-main svg { width: 18px; height: 18px; }
.b-main.full { width: 100%; min-height: 52px; }
.b-main:disabled { background: #d9e0e8; box-shadow: none; color: #8592a6; cursor: not-allowed; }
.b-sec { border: 1px solid var(--line); border-radius: 14px; background: #fff; font-size: 14px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 16px; white-space: nowrap; }
.b-sec svg { width: 18px; height: 18px; }
.b-sec.full { width: 100%; }
.b-txt { border: none; background: none; font-weight: 800; font-size: 14px; color: var(--mut); min-height: 44px; }

.view { display: none; animation: in .4s cubic-bezier(.2,.8,.2,1); }
.view.on { display: block; }
@keyframes in { from { opacity: 0; transform: translateY(8px); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: 22px; }
.h2 { display: flex; align-items: center; justify-content: space-between; margin: 30px 0 14px; }
.h2 h2 { margin: 0; font-size: 18px; letter-spacing: -.02em; font-weight: 800; }
.h2 a { font-size: 13.5px; font-weight: 800; color: var(--gd); }

/* estados */
.st { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.st::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st.ok { color: var(--gd); background: #e3f5ec; }
.st.used { color: var(--sl); background: #eef1f6; }
.st.exp { color: var(--sand); background: #fbf3e4; }

/* INICIO */
.hello { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; }
.next { position: relative; overflow: hidden; background: linear-gradient(135deg, #0f1a2e 0%, #17263f 60%, #13324a 100%); color: #fff; border-radius: 26px; padding: 26px; display: grid; grid-template-columns: 1fr 170px; gap: 22px; align-items: center; }
.next::before { content: ''; position: absolute; width: 360px; height: 360px; right: -110px; top: -140px; border-radius: 50%; background: radial-gradient(closest-side, rgba(47,196,136,.3), rgba(47,196,136,0)); }
.next > * { position: relative; }
.kick { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #9fe3c1; }
.next h3 { margin: 10px 0 12px; font-size: 26px; letter-spacing: -.035em; line-height: 1.12; font-weight: 800; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: #dbe4f0; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); padding: 7px 10px; border-radius: 10px; }
.chips svg { width: 15px; height: 15px; }
.count { display: flex; gap: 8px; margin: 18px 0 20px; }
.count div { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 13px; padding: 9px 12px; min-width: 62px; text-align: center; }
.count b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.count small { font-size: 11px; font-weight: 700; color: #9fb0c8; }
.next .b-main { box-shadow: none; }
.qrmini { background: #fff; border-radius: 20px; padding: 14px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); }
.qrmini small { display: block; text-align: center; color: var(--mut); font-size: 11.5px; font-weight: 700; margin-top: 8px; }
.quick { display: grid; grid-template-rows: auto 1fr; gap: 14px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px; }
.stat i { display: block; width: 30px; height: 30px; border-radius: 10px; margin-bottom: 10px; display: grid; place-items: center; }
.stat i svg { width: 18px; height: 18px; }
.stat b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
.stat small { font-size: 12.5px; font-weight: 700; color: var(--mut); }
.redeem-cta { display: flex; gap: 16px; align-items: center; background: linear-gradient(150deg, #f2faf6, #e2f3ea); border: 1px solid #d7efe2; border-radius: 22px; padding: 18px 20px; }
.redeem-cta svg.art { width: 92px; height: 80px; flex: none; }
.redeem-cta b { display: block; font-size: 16px; font-weight: 800; margin-bottom: 3px; }
.redeem-cta p { margin: 0 0 12px; font-size: 13.5px; color: var(--mut); font-weight: 500; line-height: 1.45; }

.acts { padding: 6px 18px; }
.act { display: flex; align-items: center; gap: 14px; padding: 13px 0; }
.act + .act { border-top: 1px solid #f0f3f7; }
.act .ai { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; flex: none; }
.act .ai svg { width: 21px; height: 21px; }
.act b { display: block; font-size: 14px; font-weight: 800; }
.act small { font-size: 12.5px; color: var(--mut); font-weight: 600; }
.act time { margin-left: auto; font-size: 12.5px; color: #94a3b8; font-weight: 700; white-space: nowrap; }

/* MIS BOLETOS */
.toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 8px 0 18px; }
.seg { display: flex; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px; }
.seg button { border: none; background: none; font-size: 13.5px; font-weight: 800; color: var(--mut); padding: 8px 14px; border-radius: 10px; display: inline-flex; gap: 6px; align-items: center; }
.seg button em { font-style: normal; font-size: 11.5px; background: var(--soft); color: var(--mut); border-radius: 999px; padding: 1px 7px; }
.seg button.on { background: var(--ink); color: #fff; } .seg button.on em { background: rgba(255,255,255,.16); color: #fff; }
.search { flex: 1; min-width: 200px; position: relative; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: #94a3b8; }
.search input { width: 100%; height: 46px; border-radius: 14px; border: 1px solid var(--line); background: #fff; padding: 0 14px 0 42px; font: 600 14px var(--f); outline: none; }
.search input:focus { border-color: var(--g1); box-shadow: 0 0 0 4px #e3f5ec; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 16px; }
.tk { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; text-align: left; padding: 0; transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.tk:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -24px rgba(15,23,42,.45); }
.tk .cov { position: relative; height: 112px; }
.tk .cov svg { width: 100%; height: 100%; }
.tk .cov .st { position: absolute; left: 14px; top: 14px; background: rgba(255,255,255,.92); }
.tk .perf { position: relative; height: 0; border-top: 2px dashed #e6ebf1; margin: 0 18px; }
.tk .perf::before, .tk .perf::after { content: ''; position: absolute; top: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); }
.tk .perf::before { left: -30px; } .tk .perf::after { right: -30px; }
.tk .bd { padding: 16px 18px 18px; display: flex; gap: 12px; align-items: center; }
.tk .bd > div:first-child { flex: 1; min-width: 0; }
.q svg, [data-qr] svg, .qrbig > svg { width: 100%; height: auto; }
.tk b { display: block; font-size: 15.5px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 6px; }
.tk small { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--mut); font-weight: 600; margin-top: 3px; }
.tk small svg { width: 14px; height: 14px; flex: none; }
.tk .q { width: 54px; height: 54px; border-radius: 12px; border: 1px solid var(--line); padding: 5px; flex: none; }
.tk.dim .q { opacity: .35; }
.empty { text-align: center; padding: 50px 20px; }
.empty svg { width: 170px; height: auto; margin: 0 auto 14px; }
.empty b { display: block; font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.empty p { margin: 0 auto 18px; max-width: 340px; color: var(--mut); font-size: 14px; line-height: 1.55; font-weight: 500; }

/* DETALLE */
.back { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 14px; color: var(--mut); border: none; background: none; padding: 0; }
.back svg { width: 18px; height: 18px; }
.det { display: grid; grid-template-columns: 400px 1fr; gap: 22px; align-items: start; }
.pass { background: #fff; border: 1px solid var(--line); border-radius: 26px; overflow: hidden; }
.pass .ph { padding: 22px 22px 18px; background: linear-gradient(150deg, #f2faf6, #dff2e8); }
.pass.used .ph { background: linear-gradient(150deg, #f5f7fb, #e8ecf3); }
.pass.exp .ph { background: linear-gradient(150deg, #fdf9f1, #f5ead6); }
.pass .ph .kick { color: var(--gd); }
.pass.used .ph .kick { color: var(--sl); } .pass.exp .ph .kick { color: var(--sand); }
.pass h3 { margin: 8px 0 12px; font-size: 22px; letter-spacing: -.03em; font-weight: 800; }
.pass .chips span { color: #3f5367; background: rgba(255,255,255,.75); border-color: rgba(15,23,42,.06); }
.pass .perf { position: relative; height: 0; border-top: 2px dashed #e6ebf1; margin: 0 22px; }
.pass .perf::before, .pass .perf::after { content: ''; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); }
.pass .perf::before { left: -34px; } .pass .perf::after { right: -34px; }
.qrbig { position: relative; width: 250px; margin: 24px auto 14px; padding: 14px; border: 1px solid var(--line); border-radius: 22px; }
.qrbig .lock { position: absolute; inset: 0; border-radius: 22px; background: rgba(255,255,255,.82); backdrop-filter: blur(2px); display: grid; place-items: center; text-align: center; }
.qrbig .lock div { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; }
.qrbig .lock svg { width: 46px; height: 46px; }
.pass .who { text-align: center; font-size: 13px; color: var(--mut); font-weight: 700; }
.pass .who b { color: var(--ink); }
.pass .ft { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #f0f3f7; margin-top: 18px; }
.pass .ft div { padding: 14px 18px; }
.pass .ft div + div { border-left: 1px solid #f0f3f7; }
.pass .ft small { display: block; font-size: 11.5px; font-weight: 800; color: #94a3b8; text-transform: uppercase; letter-spacing: .06em; }
.pass .ft b { font-size: 14px; font-weight: 800; }
.side-col { display: flex; flex-direction: column; gap: 16px; }
.box { padding: 20px; }
.box h4 { margin: 0 0 14px; font-size: 16px; font-weight: 800; }
.steps { display: flex; flex-direction: column; gap: 14px; }
.steps div { display: flex; gap: 12px; align-items: flex-start; }
.steps i { width: 28px; height: 28px; border-radius: 9px; background: #e3f5ec; color: var(--gd); font-style: normal; font-weight: 800; font-size: 13px; display: grid; place-items: center; flex: none; }
.steps b { display: block; font-size: 14px; font-weight: 800; }
.steps small { font-size: 13px; color: var(--mut); font-weight: 500; line-height: 1.45; }
.warn { display: flex; gap: 14px; align-items: flex-start; border-radius: 20px; padding: 16px 18px; background: #fbf6ec; border: 1px solid #efe3cc; }
.warn svg { width: 44px; height: 44px; flex: none; }
.warn b { display: block; font-size: 14.5px; font-weight: 800; margin-bottom: 3px; }
.warn small { display: block; font-size: 13px; color: #6f5a3a; line-height: 1.5; font-weight: 500; }
.note { display: flex; gap: 12px; align-items: center; border-radius: 16px; padding: 12px 14px; border: 1px solid var(--line); background: #fff; font-size: 13px; font-weight: 600; color: var(--mut); line-height: 1.45; }
.note svg { width: 22px; height: 22px; flex: none; }
.note.mint { background: #f1faf5; border-color: #d7efe2; color: #2e5a45; }
.note.slate { background: #f5f7fb; border-color: #e4e9f1; color: #3a4866; }

/* CANJEAR */
.redeem { display: grid; grid-template-columns: 1fr 340px; gap: 22px; align-items: start; }
.rd-card { padding: 26px; }
.rd-card h3 { margin: 0 0 6px; font-size: 22px; letter-spacing: -.03em; font-weight: 800; }
.rd-card > p { margin: 0 0 20px; font-size: 14.5px; color: var(--mut); font-weight: 500; line-height: 1.5; }
.scan { display: flex; gap: 14px; align-items: center; width: 100%; text-align: left; border: 1.5px dashed #bfe6d2; background: #f4fbf7; border-radius: 18px; padding: 16px; }
.scan .si { width: 52px; height: 52px; border-radius: 15px; background: #fff; display: grid; place-items: center; flex: none; }
.scan .si svg { width: 30px; height: 30px; }
.scan b { display: block; font-size: 15px; font-weight: 800; }
.scan small { font-size: 13px; color: var(--mut); font-weight: 600; }
.or { display: flex; align-items: center; gap: 12px; margin: 20px 0; font-size: 12.5px; font-weight: 700; color: #94a3b8; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.lbl { font-size: 13px; font-weight: 800; margin-bottom: 8px; display: block; }
.code { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 10px; }
.code input { width: 100%; height: 54px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--soft); text-align: center; font: 800 18px var(--f); letter-spacing: .18em; text-transform: uppercase; outline: none; color: var(--ink); }
.code input:focus { border-color: var(--g1); background: #fff; box-shadow: 0 0 0 4px #e3f5ec; }
.hint { display: flex; gap: 7px; align-items: center; font-size: 12.5px; color: var(--mut); font-weight: 600; margin-bottom: 18px; }
.hint svg { width: 15px; height: 15px; flex: none; }
.anat { padding: 20px; }
.anat svg { width: 100%; height: auto; margin-bottom: 12px; }
.anat b { display: block; font-size: 15px; font-weight: 800; margin-bottom: 4px; }
.anat p { margin: 0; font-size: 13px; color: var(--mut); line-height: 1.5; font-weight: 500; }

/* ACTIVIDAD */
.tl { padding: 8px 22px; }
.tl .day { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #94a3b8; padding: 16px 0 4px; }

/* CUENTA */
.acc { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.prof { display: flex; gap: 16px; align-items: center; padding: 22px; }
.prof b { display: block; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.prof small { display: block; font-size: 13.5px; color: var(--mut); font-weight: 600; margin-top: 2px; }
.badge { display: inline-flex; align-items: center; gap: 7px; margin-top: 8px; font-size: 12px; font-weight: 800; background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px 5px 6px; }
.badge img { height: 14px; }
.badge i { width: 18px; height: 18px; border-radius: 50%; background: #e3f5ec; display: grid; place-items: center; }
.badge i svg { width: 12px; height: 12px; }
.prof .b-sec { margin-left: auto; }
.grp { overflow: hidden; }
.grp > h4 { margin: 0; padding: 18px 20px 6px; font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: #94a3b8; }
.row { display: flex; align-items: center; gap: 14px; padding: 13px 20px; width: 100%; border: none; background: none; text-align: left; }
.row + .row { border-top: 1px solid #f0f3f7; }
.row .ri { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; flex: none; }
.row .ri svg { width: 22px; height: 22px; }
.row div { flex: 1; min-width: 0; }
.row b { display: block; font-size: 14.5px; font-weight: 800; }
.row small { display: block; font-size: 12.5px; color: var(--mut); font-weight: 600; margin-top: 1px; }
.row .chev { width: 18px; height: 18px; color: #b6c0cf; flex: none; }
.row .tag { font-size: 11.5px; font-weight: 800; color: var(--gd); background: #e3f5ec; border-radius: 999px; padding: 4px 9px; white-space: nowrap; }
.row .tag.mut { color: var(--mut); background: var(--soft); }
.row .end { font-size: 13px; font-weight: 800; color: #b26b5c; border: none; background: none; }
.row.danger b { color: #a4564a; }
.sw { width: 44px; height: 26px; border-radius: 999px; background: #d9e0e8; position: relative; flex: none; border: none; transition: background .2s; }
.sw::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(15,23,42,.25); transition: transform .2s; }
.sw.on { background: var(--g1); } .sw.on::after { transform: translateX(18px); }

/* AYUDA */
.help { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.hc { padding: 20px; text-align: left; }
.hc svg { width: 54px; height: 54px; margin-bottom: 12px; }
.hc b { display: block; font-size: 15px; font-weight: 800; margin-bottom: 4px; }
.hc small { font-size: 13px; color: var(--mut); font-weight: 500; line-height: 1.45; }
.faq { margin-top: 18px; overflow: hidden; }
.faq details + details { border-top: 1px solid #f0f3f7; }
.faq summary { list-style: none; cursor: pointer; padding: 16px 20px; font-size: 14.5px; font-weight: 800; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 18px; height: 18px; color: #94a3b8; transition: transform .2s; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { margin: 0; padding: 0 20px 16px; font-size: 13.5px; color: var(--mut); line-height: 1.55; font-weight: 500; }

/* VENTANAS (boleto agregado, términos nuevos) */
.ov { position: fixed; inset: 0; z-index: 70; background: rgba(15,23,42,.48); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; padding: 20px; }
.ov.show { display: flex; animation: fade .25s; }
@keyframes fade { from { opacity: 0; } }
.dlg { position: relative; width: 100%; max-width: 440px; max-height: calc(100vh - 40px); overflow-y: auto; background: #fff; border-radius: 28px; padding: 26px; box-shadow: 0 40px 80px -30px rgba(15,23,42,.6); animation: pop .35s cubic-bezier(.2,.8,.2,1); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.grab { display: none; width: 42px; height: 5px; border-radius: 5px; background: #dbe2ea; margin: -10px auto 14px; }
.dlg .art { display: grid; place-items: center; margin-bottom: 10px; }
.dlg .art svg { width: 150px; height: auto; }
.dlg h3 { margin: 0 0 6px; font-size: 22px; letter-spacing: -.03em; font-weight: 800; text-align: center; }
.dlg > p { margin: 0 0 18px; font-size: 14.5px; color: var(--mut); text-align: center; line-height: 1.5; font-weight: 500; }
.x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 11px; border: none; background: var(--soft); display: grid; place-items: center; color: var(--mut); }
.x svg { width: 18px; height: 18px; }
.mini-tk { display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 18px; padding: 12px; margin-bottom: 16px; }
.mini-tk .q { width: 58px; height: 58px; border-radius: 12px; border: 1px solid var(--line); padding: 5px; flex: none; }
.mini-tk b { display: block; font-size: 15px; font-weight: 800; }
.mini-tk small { display: block; font-size: 12.5px; color: var(--mut); font-weight: 600; margin-top: 2px; }
.mini-tk .st { margin-left: auto; }
.dlg .acts2 { display: grid; gap: 8px; }

.ver { display: flex; align-items: center; gap: 10px; justify-content: center; margin-bottom: 16px; }
.ver span { font-size: 12.5px; font-weight: 800; padding: 6px 11px; border-radius: 10px; background: var(--soft); color: var(--mut); }
.ver span.new { background: #e3f5ec; color: var(--gd); }
.ver svg { width: 18px; height: 18px; color: #94a3b8; }
.chg { border: 1px solid var(--line); border-radius: 18px; padding: 6px 16px; margin-bottom: 16px; }
.chg div { display: flex; gap: 12px; align-items: center; padding: 11px 0; }
.chg div + div { border-top: 1px dashed #edf1f5; }
.chg svg { width: 22px; height: 22px; flex: none; }
.chg i { display: block; height: 10px; border-radius: 5px; background: #e8edf2; }
.docs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.docs a { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 15px; padding: 11px 12px; font-size: 13.5px; font-weight: 800; }
.docs a svg { width: 30px; height: 30px; flex: none; }
.docs a small { display: block; font-size: 11.5px; color: var(--mut); font-weight: 700; }
.chk { display: flex; gap: 11px; align-items: flex-start; font-size: 13.5px; color: var(--ink); font-weight: 600; line-height: 1.5; margin: 0 0 16px; cursor: pointer; padding: 13px 14px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--soft); transition: border-color .2s, background .2s; }
.chk input { display: none; }
.chk > i { width: 22px; height: 22px; border-radius: 7px; border: 1.6px solid #cbd3de; flex: none; display: grid; place-items: center; background: #fff; transition: .2s; }
.chk input:checked + i { background: var(--g1); border-color: var(--g1); }
.chk input:checked + i::after { content: ''; width: 9px; height: 4.5px; border: solid #fff; border-width: 0 0 2.2px 2.2px; transform: rotate(-45deg) translate(1px, -1px); }
.chk:has(input:checked) { border-color: #bfe6d2; background: #f1faf5; }
.chk a { color: var(--gd); font-weight: 800; }
.sml { text-align: center; font-size: 12.5px; color: var(--mut); font-weight: 600; margin: 12px 0 0; line-height: 1.5; }

/* barra inferior en celular */
.tabbar { display: none; }

@media (max-width: 1100px) {
  .hello, .det, .redeem, .acc { grid-template-columns: 1fr; }
  .det .pass { max-width: 460px; width: 100%; margin: 0 auto; }
  .help { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .app { grid-template-columns: 1fr; }
  .nav { display: none; }
  .main { padding: 0 18px 170px; }
  .topbar { height: 64px; margin: 0 -18px; padding: 0 18px; }
  .topbar .mlogo { display: block; }
  .topbar h1 { display: none; }
  .tb-act .b-main { display: none; }
  .ptitle { display: block !important; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; background: rgba(255,255,255,.95); backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding: 8px 6px 14px; }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; font-weight: 800; color: #94a3b8; }
  .tabbar a svg { width: 24px; height: 24px; }
  .tabbar a.on { color: var(--ink); }
  .tabbar a.mid span { width: 52px; height: 52px; border-radius: 17px; margin-top: -26px; background: linear-gradient(180deg, var(--g1), var(--g2)); display: grid; place-items: center; box-shadow: 0 12px 22px -10px rgba(14,155,89,.8); border: 4px solid #fff; color: #fff; }
  .next { grid-template-columns: 1fr; padding: 22px; }
  .next .qrmini { display: none; }
  .next h3 { font-size: 22px; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .help { grid-template-columns: 1fr; }
  .prof { flex-wrap: wrap; } .prof .b-sec { margin-left: 0; width: 100%; }
  .toolbar .seg { width: 100%; overflow-x: auto; scrollbar-width: none; }
  .ov { align-items: flex-end; padding: 0; }
  .dlg { max-width: none; border-radius: 28px 28px 0 0; padding: 24px 20px 26px; max-height: 92vh; animation: up .35s cubic-bezier(.2,.8,.2,1); }
  @keyframes up { from { transform: translateY(100%); } }
  .grab { display: block; }
  .x { display: none; }
}
.ptitle { display: none; margin: 4px 0 14px; font-size: 24px; letter-spacing: -.035em; font-weight: 800; }
.note.sand { background: #fbf6ec; border-color: #efe3cc; color: #7a5d2f; }
.note[hidden], .cnt[hidden], .row[hidden] { display: none; }
.fl { display: block; margin-bottom: 12px; text-align: left; }
.fl span { display: block; font-size: 13px; font-weight: 800; margin-bottom: 6px; }
.fl input { width: 100%; height: 48px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; padding: 0 14px; font: 600 15px var(--f); outline: none; }
.fl input:focus { border-color: var(--g1); box-shadow: 0 0 0 4px #e3f5ec; }
.fl-h { display: block; font-size: 12.5px; color: var(--mut); font-weight: 600; margin: -4px 0 12px; }
.dlg .note { margin: 0 0 14px; }
.qrmini { display: block; color: inherit; text-decoration: none; }
