/* =========================================================================
 * Eventario Tickets — «Mis boletas» (1.20.0)
 * Tarjetas tipo boleta, hoja de detalle, QR a pantalla completa. Claro/oscuro.
 * ========================================================================= */
.evt-mt{
	--mt-bg:#f5f6fb; --mt-card:#ffffff; --mt-ink:#151a33; --mt-mute:#626a8a; --mt-soft:#8d93ad;
	--mt-line:#e3e6f2; --mt-chip:#eef0fa; --mt-brand:#161F47; --mt-brand-ink:#ffffff; --mt-brand-soft:#e9ecfb;
	--mt-ok:#047857; --mt-ok-soft:#e3f6ee; --mt-warn:#b45309; --mt-warn-soft:#fdf2e2; --mt-bad:#b42318; --mt-bad-soft:#fde8e7;
	--mt-shadow:0 1px 2px rgba(20,24,51,.05),0 8px 24px rgba(20,24,51,.07);
	--mt-r:18px;
	font-family:inherit; color:var(--mt-ink); font-size:15px; line-height:1.45; -webkit-font-smoothing:antialiased;
	max-width:1120px; margin:0 auto; box-sizing:border-box;
}
.evt-mt *,.evt-mt *::before,.evt-mt *::after{box-sizing:border-box}
.evt-mt[data-theme="dark"],.mt-layer[data-theme="dark"]{
	--mt-bg:#0f1222; --mt-card:#181c33; --mt-ink:#eef0fb; --mt-mute:#a6abc6; --mt-soft:#7d83a3;
	--mt-line:#2a2f4d; --mt-chip:#232847; --mt-brand:#7d8ff0; --mt-brand-ink:#0f1222; --mt-brand-soft:#232a52;
	--mt-ok:#4ade9b; --mt-ok-soft:#123327; --mt-warn:#fbbf6a; --mt-warn-soft:#3a2a12; --mt-bad:#ff8a80; --mt-bad-soft:#3d1a1a;
	--mt-shadow:0 1px 2px rgba(0,0,0,.3),0 10px 30px rgba(0,0,0,.35);
}
.evt-mt[data-theme="dark"]{background:var(--mt-bg);border-radius:24px;padding:16px}
.evt-mt button{font:inherit;cursor:pointer}
.evt-mt a{color:inherit}
.mt-ico{width:18px;height:18px;flex:none;display:inline-block;vertical-align:-3px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}

/* ---------- Esqueleto ---------- */
.evt-mt-sk{display:grid;gap:14px}
.evt-mt-sk i{display:block;height:132px;border-radius:var(--mt-r);background:linear-gradient(90deg,var(--mt-chip) 25%,var(--mt-line) 37%,var(--mt-chip) 63%);background-size:400% 100%;animation:mt-sh 1.3s ease infinite}
.evt-mt-sk i:first-child{height:210px}
.evt-mt.is-compact .evt-mt-sk i{height:76px}
@keyframes mt-sh{0%{background-position:100% 50%}100%{background-position:0 50%}}

/* ---------- Botones ---------- */
.mt-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 18px;border-radius:12px;border:1px solid transparent;background:var(--mt-brand);color:var(--mt-brand-ink);font-weight:600;font-size:15px;line-height:1.2;text-decoration:none;transition:transform .12s,background .15s,box-shadow .15s;white-space:nowrap}
.mt-btn:hover{box-shadow:0 6px 18px rgba(22,31,71,.25)}
.mt-btn:active{transform:scale(.98)}
.mt-btn:focus-visible,.mt-iconbtn:focus-visible,.mt-tab:focus-visible,.mt-card:focus-visible{outline:3px solid color-mix(in srgb,var(--mt-brand) 45%,transparent);outline-offset:2px}
.mt-btn.is-ghost{background:var(--mt-card);color:var(--mt-ink);border-color:var(--mt-line)}
.mt-btn.is-ghost:hover{border-color:var(--mt-brand);box-shadow:none}
.mt-btn.is-soft{background:var(--mt-brand-soft);color:var(--mt-brand)}
.mt-btn.is-soft:hover{box-shadow:none;filter:brightness(.97)}
.mt-btn.is-sm{min-height:36px;padding:7px 12px;font-size:14px;border-radius:10px}
.mt-btn.is-block{width:100%}
.mt-btn.is-danger{background:var(--mt-bad);color:#fff}
.mt-btn[disabled]{opacity:.55;cursor:not-allowed;box-shadow:none}
.mt-iconbtn{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:12px;border:1px solid var(--mt-line);background:var(--mt-card);color:var(--mt-ink)}
.mt-iconbtn:hover{border-color:var(--mt-brand);color:var(--mt-brand)}
.mt-link{background:none;border:0;padding:0;color:var(--mt-brand);font-weight:600;text-decoration:none}
.mt-link:hover{text-decoration:underline}

/* ---------- Cabecera ---------- */
.mt-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:0 0 18px}
.mt-head h2{font-size:clamp(24px,3.2vw,32px);line-height:1.15;margin:0;font-weight:800;letter-spacing:-.02em;color:var(--mt-ink)}
.mt-head p{margin:4px 0 0;color:var(--mt-mute)}
.mt-head-tools{display:flex;gap:8px;align-items:center}
.mt-who{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--mt-mute);background:var(--mt-chip);border-radius:99px;padding:4px 10px}
.mt-stats{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 20px}
.mt-stat{display:flex;align-items:center;gap:10px;background:var(--mt-card);border:1px solid var(--mt-line);border-radius:14px;padding:10px 14px;min-width:120px}
.mt-stat b{font-size:20px;line-height:1;display:block}
.mt-stat span{font-size:12px;color:var(--mt-mute)}
.mt-stat .mt-ico{color:var(--mt-brand);width:22px;height:22px}

/* ---------- Próximo evento (destacado) ---------- */
.mt-hero{position:relative;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);border-radius:24px;overflow:hidden;background:var(--mt-card);box-shadow:var(--mt-shadow);margin:0 0 26px;border:1px solid var(--mt-line)}
.mt-hero-media{position:relative;min-height:260px;background:#1d2350 center/cover no-repeat}
.mt-hero-media::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,12,30,0) 40%,rgba(10,12,30,.65))}
.mt-hero-tag{position:absolute;left:16px;top:16px;z-index:1;display:inline-flex;align-items:center;gap:6px;background:rgba(255,255,255,.94);color:#151a33;font-weight:700;font-size:12px;letter-spacing:.06em;text-transform:uppercase;padding:6px 10px;border-radius:99px}
.mt-hero-tag i{width:8px;height:8px;border-radius:50%;background:#07bc6f;box-shadow:0 0 0 0 rgba(7,188,111,.6);animation:mt-pulse 1.6s infinite}
@keyframes mt-pulse{0%{box-shadow:0 0 0 0 rgba(7,188,111,.55)}70%{box-shadow:0 0 0 9px rgba(7,188,111,0)}100%{box-shadow:0 0 0 0 rgba(7,188,111,0)}}
.mt-hero-body{padding:24px 26px;display:flex;flex-direction:column;gap:12px;position:relative}
.mt-hero-body::before{content:"";position:absolute;left:-1px;top:18px;bottom:18px;border-left:2px dashed var(--mt-line)}
.mt-hero h3{font-size:clamp(20px,2.4vw,26px);line-height:1.2;margin:0;font-weight:800;letter-spacing:-.01em}
.mt-hero h3 a{text-decoration:none}
.mt-meta{display:grid;gap:6px;color:var(--mt-mute);font-size:14px}
.mt-meta div{display:flex;gap:8px;align-items:flex-start}
.mt-cd{display:flex;gap:8px;margin:2px 0}
.mt-cd div{background:var(--mt-chip);border-radius:12px;padding:8px 10px;text-align:center;min-width:58px}
.mt-cd b{display:block;font-size:22px;line-height:1.05;font-variant-numeric:tabular-nums}
.mt-cd span{font-size:11px;color:var(--mt-mute);text-transform:uppercase;letter-spacing:.06em}
.mt-cd-live{display:inline-flex;align-items:center;gap:8px;font-weight:700;color:var(--mt-ok);background:var(--mt-ok-soft);border-radius:12px;padding:8px 12px;width:max-content}
.mt-hero-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:auto}

/* ---------- Pestañas y búsqueda ---------- */
.mt-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 14px}
.mt-tabs{display:inline-flex;background:var(--mt-chip);border-radius:14px;padding:4px;gap:2px}
.mt-tab{border:0;background:transparent;color:var(--mt-mute);font-weight:600;padding:8px 16px;border-radius:10px;min-height:40px}
.mt-tab[aria-selected="true"]{background:var(--mt-card);color:var(--mt-ink);box-shadow:0 1px 3px rgba(20,24,51,.12)}
.mt-tab small{opacity:.7;font-weight:600;margin-left:4px}
.mt-search{position:relative;flex:1;max-width:320px}
.mt-search input{width:100%;min-height:42px;border:1px solid var(--mt-line);background:var(--mt-card);color:var(--mt-ink);border-radius:12px;padding:8px 12px 8px 38px;font:inherit}
.mt-search .mt-ico{position:absolute;left:12px;top:12px;color:var(--mt-soft)}

/* ---------- Tarjeta tipo boleta ---------- */
.mt-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,500px),1fr));gap:16px}
.mt-card{--cut:var(--mt-page,#fff);position:relative;display:grid;grid-template-columns:120px minmax(0,1fr) 128px;background:var(--mt-card);border:1px solid var(--mt-line);border-radius:var(--mt-r);box-shadow:var(--mt-shadow);overflow:hidden;cursor:pointer;transition:transform .15s,box-shadow .15s;text-align:left}
.evt-mt[data-theme="dark"] .mt-card{--cut:var(--mt-bg)}
.mt-card:hover{transform:translateY(-2px);box-shadow:0 2px 4px rgba(20,24,51,.06),0 16px 34px rgba(20,24,51,.12)}
.mt-card-media{position:relative;background:#1d2350 center/cover no-repeat;min-height:150px}
.mt-card-media .mt-pill{position:absolute;left:8px;top:8px}
.mt-card-main{padding:14px 16px;min-width:0;display:flex;flex-direction:column;gap:6px}
.mt-card-main h3{margin:0;font-size:17px;line-height:1.25;font-weight:750;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.mt-card-main .mt-meta{font-size:13px;gap:3px}
.mt-card-main .mt-meta div{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
.mt-card-main .mt-meta .mt-ico{width:15px;height:15px;margin-right:5px;vertical-align:-2px}
.mt-chips{display:flex;gap:6px;flex-wrap:wrap;margin-top:auto}
.mt-chip{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:600;background:var(--mt-chip);color:var(--mt-mute);border-radius:99px;padding:3px 9px}
.mt-card-stub{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:12px 10px;border-left:2px dashed var(--mt-line);text-align:center}
.mt-card-stub::before,.mt-card-stub::after{content:"";position:absolute;left:-12px;width:22px;height:22px;border-radius:50%;background:var(--cut);border:1px solid var(--mt-line)}
.mt-card-stub::before{top:-12px}
.mt-card-stub::after{bottom:-12px}
.mt-stub-day{font-size:34px;font-weight:800;line-height:1;letter-spacing:-.03em}
.mt-stub-mon{font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--mt-brand)}
.mt-stub-wd{font-size:12px;color:var(--mt-mute)}
.mt-stub-qr{margin-top:8px;display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:700;color:var(--mt-brand);background:var(--mt-brand-soft);border-radius:99px;padding:5px 10px}
.mt-card.is-past{filter:saturate(.35)}
.mt-card.is-past .mt-card-media{opacity:.75}
.mt-pill{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;border-radius:99px;padding:4px 9px;background:rgba(255,255,255,.95);color:#151a33}
.mt-pill.is-today{background:#05774a;color:#fff}
.mt-pill.is-live{background:#e11d48;color:#fff}
.mt-pill.is-soon{background:#ffcc33;color:#3b2a00}
.mt-pill.is-past{background:rgba(20,24,51,.75);color:#fff}

/* ---------- Estados vacíos / acceso ---------- */
.mt-empty{text-align:center;padding:44px 20px;background:var(--mt-card);border:1px dashed var(--mt-line);border-radius:var(--mt-r)}
.mt-empty .mt-art{width:84px;height:84px;margin:0 auto 12px;border-radius:24px;background:var(--mt-brand-soft);color:var(--mt-brand);display:flex;align-items:center;justify-content:center}
.mt-empty .mt-art .mt-ico{width:40px;height:40px}
.mt-empty h3{margin:0 0 6px;font-size:20px}
.mt-empty p{margin:0 auto 16px;color:var(--mt-mute);max-width:440px}
.mt-access{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);background:var(--mt-card);border:1px solid var(--mt-line);border-radius:24px;overflow:hidden;box-shadow:var(--mt-shadow)}
.mt-access-art{background:linear-gradient(135deg,#161F47,#6a3fc4 55%,#e2457a);color:#fff;padding:34px;display:flex;flex-direction:column;justify-content:flex-end;min-height:300px;position:relative;overflow:hidden}
.mt-access-art::before{content:"";position:absolute;right:-60px;top:-60px;width:220px;height:220px;border-radius:50%;background:rgba(255,255,255,.12)}
.mt-access-art h2{color:#fff;font-size:30px;line-height:1.1;margin:0 0 8px;font-weight:800;position:relative}
.mt-access-art p{margin:0;opacity:.9;position:relative}
.mt-ticket-art{position:relative;width:196px;height:96px;border-radius:14px;background:rgba(255,255,255,.95);margin:0 0 22px;transform:rotate(-6deg);box-shadow:0 18px 40px rgba(0,0,0,.25);display:flex;align-items:center;gap:12px;padding:12px;color:#151a33}
.mt-ticket-art::after{content:"";position:absolute;right:46px;top:8px;bottom:8px;border-left:2px dashed #cfd3ea}
.mt-ticket-art b{font-size:28px;line-height:1}
.mt-ticket-art span{font-size:12px;line-height:1.25;max-width:84px;font-weight:600}
.mt-ticket-art .mt-ico{position:absolute;right:12px;width:26px;height:26px;color:#161F47}
.mt-access-form{padding:34px;display:flex;flex-direction:column;justify-content:center;gap:14px}
.mt-access-form h3{margin:0;font-size:20px}
.mt-access-form p{margin:0;color:var(--mt-mute)}
.mt-field label{display:block;font-size:13px;font-weight:600;margin:0 0 6px;color:var(--mt-ink)}
.mt-field input,.mt-field select{width:100%;min-height:46px;border:1px solid var(--mt-line);background:var(--mt-card);color:var(--mt-ink);border-radius:12px;padding:10px 14px;font:inherit;font-size:16px}
.mt-field input:focus{outline:none;border-color:var(--mt-brand);box-shadow:0 0 0 3px color-mix(in srgb,var(--mt-brand) 20%,transparent)}
.mt-or{display:flex;align-items:center;gap:10px;color:var(--mt-soft);font-size:13px}
.mt-or::before,.mt-or::after{content:"";flex:1;border-top:1px solid var(--mt-line)}
.mt-note{font-size:13px;color:var(--mt-mute)}
.mt-alert{border-radius:12px;padding:12px 14px;font-size:14px;display:flex;gap:10px;align-items:flex-start}
.mt-alert.is-ok{background:var(--mt-ok-soft);color:var(--mt-ok)}
.mt-alert.is-bad{background:var(--mt-bad-soft);color:var(--mt-bad)}
.mt-alert.is-info{background:var(--mt-brand-soft);color:var(--mt-brand)}
.mt-alert.is-warn{background:var(--mt-warn-soft);color:var(--mt-warn)}

/* ---------- Recomendaciones ---------- */
.mt-section-title{display:flex;align-items:center;justify-content:space-between;margin:32px 0 12px}
.mt-section-title h3{margin:0;font-size:19px;font-weight:800}
.mt-recos{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(220px,260px);gap:14px;overflow-x:auto;padding:2px 2px 10px;scroll-snap-type:x mandatory;scrollbar-width:thin}
.mt-reco{scroll-snap-align:start;background:var(--mt-card);border:1px solid var(--mt-line);border-radius:16px;overflow:hidden;text-decoration:none;color:var(--mt-ink);display:flex;flex-direction:column;transition:transform .15s}
.mt-reco:hover{transform:translateY(-2px)}
.mt-reco-img{aspect-ratio:16/10;background:#1d2350 center/cover no-repeat}
.mt-reco-b{padding:10px 12px 12px;display:grid;gap:3px}
.mt-reco-b b{font-size:14px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.mt-reco-b span{font-size:12px;color:var(--mt-mute)}
.mt-reco-b em{font-style:normal;font-size:12px;font-weight:700;color:var(--mt-ok)}

/* ---------- Vista compacta (perfil) ---------- */
.evt-mt.is-compact{max-width:none}
.mt-compact{background:var(--mt-card);border:1px solid var(--mt-line);border-radius:var(--mt-r);box-shadow:var(--mt-shadow);overflow:hidden}
.mt-compact-h{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid var(--mt-line)}
.mt-compact-h h3{margin:0;font-size:16px;font-weight:800;display:flex;align-items:center;gap:8px}
.mt-row{display:grid;grid-template-columns:56px minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 16px;border-bottom:1px solid var(--mt-line);cursor:pointer;background:none;border-left:0;border-right:0;border-top:0;width:100%;text-align:left;color:inherit}
.mt-row:last-child{border-bottom:0}
.mt-row:hover{background:var(--mt-chip)}
.mt-row-date{width:56px;height:56px;border-radius:14px;background:var(--mt-brand-soft);color:var(--mt-brand);display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1}
.mt-row-date b{font-size:20px}
.mt-row-date span{font-size:10px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;margin-top:2px}
.mt-row-t{min-width:0}
.mt-row-t b{display:block;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mt-row-t span{display:block;font-size:13px;color:var(--mt-mute);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mt-compact-f{padding:12px 16px;background:var(--mt-chip);text-align:center}

/* =========================================================================
 * Capas (hoja de detalle, diálogos, QR) — van en <body>
 * ========================================================================= */
.mt-layer{
	--mt-bg:#f5f6fb; --mt-card:#ffffff; --mt-ink:#151a33; --mt-mute:#626a8a; --mt-soft:#8d93ad;
	--mt-line:#e3e6f2; --mt-chip:#eef0fa; --mt-brand:#161F47; --mt-brand-ink:#ffffff; --mt-brand-soft:#e9ecfb;
	--mt-ok:#047857; --mt-ok-soft:#e3f6ee; --mt-warn:#b45309; --mt-warn-soft:#fdf2e2; --mt-bad:#b42318; --mt-bad-soft:#fde8e7;
	position:fixed;inset:0;z-index:999990;display:flex;align-items:center;justify-content:center;padding:20px;
	font-family:inherit;color:var(--mt-ink);font-size:15px;line-height:1.45;-webkit-font-smoothing:antialiased
}
.mt-layer *,.mt-layer *::before,.mt-layer *::after{box-sizing:border-box}
.mt-layer button{font:inherit;cursor:pointer}
.mt-layer .mt-ico{width:18px;height:18px;flex:none;display:inline-block;vertical-align:-3px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.mt-backdrop{position:absolute;inset:0;background:rgba(10,12,30,.55);backdrop-filter:blur(3px);animation:mt-fade .2s ease}
@keyframes mt-fade{from{opacity:0}to{opacity:1}}
@keyframes mt-up{from{transform:translateY(24px);opacity:0}to{transform:none;opacity:1}}
.mt-sheet{position:relative;width:min(760px,100%);max-height:calc(100vh - 40px);overflow:auto;background:var(--mt-bg);border-radius:24px;box-shadow:0 30px 80px rgba(0,0,0,.35);animation:mt-up .25s ease;overscroll-behavior:contain}
.mt-sheet-hero{position:relative;min-height:190px;background:#1d2350 center/cover no-repeat;display:flex;align-items:flex-end;padding:20px 22px;color:#fff}
.mt-sheet-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,12,30,.15),rgba(10,12,30,.85))}
.mt-sheet-hero > *{position:relative}
.mt-sheet-hero h2{margin:6px 0 0;font-size:clamp(21px,3vw,28px);line-height:1.15;font-weight:800;color:#fff}
.mt-sheet-hero a{color:#fff;text-decoration:none}
.mt-close{position:absolute;right:14px;top:14px;z-index:2;width:42px;height:42px;border-radius:50%;border:0;background:rgba(255,255,255,.92);color:#151a33;display:flex;align-items:center;justify-content:center}
.mt-grab{display:none}
.mt-sheet-body{padding:18px 20px 24px;display:grid;gap:14px}
.mt-box{background:var(--mt-card);border:1px solid var(--mt-line);border-radius:16px;padding:14px 16px}
.mt-box h4 > span{display:inline-flex;align-items:center;gap:6px}
.mt-box h4{margin:0 0 10px;font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--mt-mute);font-weight:800;display:flex;align-items:center;justify-content:space-between;gap:8px}
.mt-info-row{display:flex;gap:12px;align-items:flex-start}
.mt-info-row + .mt-info-row{margin-top:12px;padding-top:12px;border-top:1px solid var(--mt-line)}
.mt-info-ic{width:40px;height:40px;border-radius:12px;background:var(--mt-brand-soft);color:var(--mt-brand);display:flex;align-items:center;justify-content:center;flex:none}
.mt-info-tx{flex:1;min-width:0}
.mt-info-tx b{display:block}
.mt-info-tx span{color:var(--mt-mute);font-size:14px}
.mt-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.mt-menu{position:relative;display:inline-block}
.mt-menu-list{position:absolute;left:0;top:calc(100% + 6px);z-index:5;min-width:220px;background:var(--mt-card);border:1px solid var(--mt-line);border-radius:14px;box-shadow:0 14px 40px rgba(20,24,51,.18);padding:6px;display:none}
.mt-menu.is-open .mt-menu-list{display:block;animation:mt-up .15s ease}
.mt-menu-list a,.mt-menu-list button{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;border-radius:10px;border:0;background:none;color:var(--mt-ink);text-decoration:none;font-size:14px;text-align:left}
.mt-menu-list a:hover,.mt-menu-list button:hover{background:var(--mt-chip)}

/* Boletas dentro de la hoja */
.mt-tks{display:grid;gap:10px}
.mt-tk{display:grid;grid-template-columns:92px minmax(0,1fr);gap:14px;align-items:start;border:1px solid var(--mt-line);border-radius:14px;padding:10px;background:var(--mt-card)}
.mt-tk-qr{width:92px;height:92px;border-radius:10px;background:#fff;border:1px solid var(--mt-line);display:flex;align-items:center;justify-content:center;padding:4px;cursor:zoom-in;position:relative}
.mt-tk-qr svg{width:100%;height:100%;display:block}
.mt-tk-qr.is-off{cursor:default;background:var(--mt-chip);color:var(--mt-soft)}
.mt-tk-qr.is-off svg{opacity:.25}
.mt-tk-qr .mt-zoom{position:absolute;right:-6px;bottom:-6px;width:26px;height:26px;border-radius:50%;background:var(--mt-brand);color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 6px rgba(0,0,0,.2)}
.mt-tk-qr .mt-zoom .mt-ico{width:14px;height:14px}
.mt-tk-t{min-width:0}
.mt-tk-top{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.mt-tk-type{font-weight:800;font-size:16px}
.mt-tk-name{font-size:14px;color:var(--mt-mute);margin:2px 0}
.mt-tk-code{font:700 13px ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.12em;color:var(--mt-ink)}
.mt-st{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:700;border-radius:99px;padding:2px 9px}
.mt-st::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
.mt-st.is-valid{background:var(--mt-ok-soft);color:var(--mt-ok)}
.mt-st.is-used{background:var(--mt-chip);color:var(--mt-mute)}
.mt-st.is-void,.mt-st.is-expired{background:var(--mt-bad-soft);color:var(--mt-bad)}
.mt-st.is-pending,.mt-st.is-transferred{background:var(--mt-warn-soft);color:var(--mt-warn)}
.mt-kind{font-size:12px;font-weight:700;color:var(--mt-brand);background:var(--mt-brand-soft);border-radius:99px;padding:2px 8px}
.mt-tk-acts{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}
.mt-wallet{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:6px 12px;border-radius:10px;background:#000;color:#fff;font-size:13px;font-weight:600;text-decoration:none}
.mt-wallet.is-google{background:#1f1f1f}
.mt-list-guest{display:flex;gap:12px;align-items:center;border:1px dashed var(--mt-line);border-radius:14px;padding:12px}
.mt-orders{display:grid;gap:8px}
.mt-order{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:14px}
.mt-order b{font-weight:700}
.mt-help{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px}
.mt-help a,.mt-help button{display:flex;align-items:center;gap:10px;padding:12px;border-radius:12px;border:1px solid var(--mt-line);background:var(--mt-card);color:var(--mt-ink);text-decoration:none;font-weight:600;font-size:14px}
.mt-help a:hover,.mt-help button:hover{border-color:var(--mt-brand);color:var(--mt-brand)}
.mt-help .is-wa .mt-ico{color:#128C4A} /* 1.41.0: mismo verde WhatsApp del plugin */
.mt-sheet-foot{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;padding-top:4px}

/* Diálogos (transferir / cambiar fecha / confirmar) */
.mt-dialog{position:relative;width:min(460px,100%);max-height:calc(100vh - 40px);overflow:auto;background:var(--mt-card);border-radius:22px;padding:22px;box-shadow:0 30px 80px rgba(0,0,0,.35);animation:mt-up .2s ease;display:grid;gap:14px}
.mt-dialog h3{margin:0;font-size:20px;font-weight:800;padding-right:40px}
.mt-dialog p{margin:0;color:var(--mt-mute);font-size:14px}
.mt-dialog .mt-close{background:var(--mt-chip)}
.mt-check{display:flex;gap:10px;align-items:flex-start;font-size:14px}
.mt-check input{margin-top:3px;width:18px;height:18px;flex:none;accent-color:var(--mt-brand)}
.mt-slots{display:grid;gap:8px;max-height:46vh;overflow:auto}
.mt-slot{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid var(--mt-line);border-radius:12px;padding:12px 14px;cursor:pointer;background:var(--mt-card)}
.mt-slot input{accent-color:var(--mt-brand);width:18px;height:18px}
.mt-slot:has(input:checked){border-color:var(--mt-brand);background:var(--mt-brand-soft)}
.mt-slot span{flex:1}
.mt-slot small{color:var(--mt-mute);white-space:nowrap}

/* QR a pantalla completa (modo puerta) */
.mt-qrfull{background:#0b0d1d;padding:0;flex-direction:column;justify-content:center}
.mt-q-wrap{width:100%;display:flex;flex-direction:column;align-items:center;padding:16px 0}
.mt-qrfull .mt-q-card{margin:0 auto;width:min(400px,calc(100vw - 32px));background:#fff;color:#151a33;border-radius:26px;padding:20px 20px 18px;text-align:center;position:relative;box-shadow:0 30px 80px rgba(0,0,0,.5);animation:mt-up .2s ease;touch-action:pan-y}
.mt-q-ev{font-weight:800;font-size:17px;line-height:1.25;margin:0 30px 2px}
.mt-q-when{font-size:13px;color:#626a8a;margin:0 0 12px}
.mt-q-code{width:100%;aspect-ratio:1;max-width:320px;margin:0 auto;background:#fff;border-radius:12px}
.mt-q-code svg{width:100%;height:100%;display:block}
.mt-q-tx{font:800 20px ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.16em;margin:10px 0 2px}
.mt-q-who{font-size:14px;color:#626a8a}
.mt-q-type{display:inline-block;margin-top:8px;background:#e9ecfb;color:#3346a8;font-weight:800;font-size:13px;border-radius:99px;padding:4px 12px}
.mt-q-live{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:12px;font-size:13px;font-weight:700;color:#047857}
.mt-q-live i{width:9px;height:9px;border-radius:50%;background:#07bc6f;animation:mt-pulse 1.6s infinite}
.mt-q-live time{font-variant-numeric:tabular-nums;color:#151a33}
.mt-q-shine{position:absolute;inset:0;border-radius:26px;pointer-events:none;background:linear-gradient(115deg,transparent 30%,rgba(22,31,71,.08) 45%,transparent 60%);background-size:250% 100%;animation:mt-shine 3.5s linear infinite}
@keyframes mt-shine{from{background-position:120% 0}to{background-position:-120% 0}}
.mt-q-bad{background:#fde8e7;color:#b42318;border-radius:12px;padding:10px;font-weight:700;margin-top:10px}
.mt-q-nav{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:18px;color:#fff}
.mt-q-nav button{width:48px;height:48px;border-radius:50%;border:0;background:rgba(255,255,255,.14);color:#fff;display:flex;align-items:center;justify-content:center}
.mt-q-nav button[disabled]{opacity:.3}
.mt-q-nav span{font-weight:700;font-variant-numeric:tabular-nums;min-width:64px;text-align:center}
.mt-q-dots{display:flex;gap:6px;justify-content:center;margin-top:10px}
.mt-q-dots i{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.3)}
.mt-q-dots i.is-on{background:#fff;width:20px;border-radius:99px}
.mt-q-tip{color:rgba(255,255,255,.7);font-size:13px;margin-top:12px;text-align:center;padding:0 20px}
.mt-qrfull .mt-close{position:fixed;top:16px;right:16px;background:rgba(255,255,255,.14);color:#fff}

/* Aviso flotante */
.mt-toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:999999;background:#151a33;color:#fff;border-radius:14px;padding:12px 16px;box-shadow:0 14px 40px rgba(0,0,0,.3);font-size:14px;max-width:calc(100vw - 32px);animation:mt-up .2s ease}
.mt-toast.is-bad{background:#b42318}
body.mt-lock{overflow:hidden}

/* ---------- Responsive ---------- */
@media (max-width:860px){
	.mt-hero{grid-template-columns:1fr}
	.mt-hero-media{min-height:200px}
	.mt-hero-body::before{display:none}
	.mt-access{grid-template-columns:1fr}
	.mt-access-art{min-height:220px;padding:26px}
}
@media (max-width:600px){
	.evt-mt{font-size:15px}
	.mt-head{align-items:flex-start}
	.mt-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
	.mt-stat{min-width:0;padding:10px;flex-direction:column;align-items:flex-start;gap:4px}
	.mt-stat .mt-ico{display:none}
	.mt-card{grid-template-columns:minmax(0,1fr) 92px;grid-template-rows:auto auto}
	.mt-card-media{grid-column:1 / -1;min-height:128px}
	.mt-card-main{padding:12px 14px}
	.mt-card-stub{padding:10px 6px}
	.mt-card-stub::before{top:-12px}
	.mt-stub-day{font-size:28px}
	.mt-bar{flex-direction:column;align-items:stretch}
	.mt-tabs{width:100%}
	.mt-tab{flex:1}
	.mt-search{max-width:none}
	.mt-hero-body{padding:18px}
	.mt-cd div{min-width:0;flex:1}
	.mt-layer{padding:0;align-items:flex-end}
	.mt-sheet{width:100%;max-height:94vh;border-radius:22px 22px 0 0;animation:mt-up .28s ease}
	.mt-grab{display:block;position:absolute;left:50%;top:8px;transform:translateX(-50%);width:42px;height:5px;border-radius:99px;background:rgba(255,255,255,.7);z-index:2}
	.mt-sheet-body{padding:14px 14px 28px}
	.mt-dialog{width:100%;border-radius:22px 22px 0 0;max-height:92vh}
	.mt-tk{grid-template-columns:76px minmax(0,1fr)}
	.mt-tk-qr{width:76px;height:76px}
	.mt-qrfull{align-items:center}
}
@media (prefers-reduced-motion:reduce){
	.evt-mt *,.mt-layer *{animation:none!important;transition:none!important}
}
@media print{.mt-layer{display:none}}

/* ===== 1.25.0: aviso de ingreso ===== */
.mt-stat.is-in{border-color:color-mix(in srgb,var(--mt-ok) 35%,var(--mt-line));background:var(--mt-ok-soft)}
.mt-stat.is-in .mt-ico,.mt-stat.is-in b{color:var(--mt-ok)}
.mt-chip.is-in{background:var(--mt-ok-soft);color:var(--mt-ok)}
.mt-entry{display:flex;align-items:center;gap:12px;background:var(--mt-ok-soft);border:1px solid color-mix(in srgb,var(--mt-ok) 30%,transparent);color:var(--mt-ink);border-radius:16px;padding:12px 14px;margin:0 0 14px}
.mt-entry-ic{width:36px;height:36px;border-radius:50%;background:var(--mt-ok);color:#fff;display:flex;align-items:center;justify-content:center;flex:none}
.mt-entry-ic .mt-ico{width:20px;height:20px;stroke-width:2.6}
.mt-entry-tx{flex:1;min-width:0}
.mt-entry-tx b{display:block;font-size:15px;line-height:1.25;color:var(--mt-ok)}
.mt-entry-tx span{display:block;font-size:13px;color:var(--mt-mute);margin-top:2px}
.mt-entry em{font-style:normal;font-weight:800;font-size:18px;font-variant-numeric:tabular-nums;color:var(--mt-ok)}
.mt-entry-bar{height:6px;border-radius:99px;background:color-mix(in srgb,var(--mt-ok) 18%,transparent);margin-top:8px;overflow:hidden}
.mt-entry-bar i{display:block;height:100%;background:var(--mt-ok);border-radius:99px;transition:width .4s ease}
.mt-entry.is-big{margin:4px 0 16px;width:100%;max-width:440px}
.mt-entry.is-all .mt-entry-ic{animation:mt-pulse 1.8s 2}
/* QR ya escaneado */
.mt-q-in{padding-top:28px}
.mt-q-ok{width:96px;height:96px;margin:0 auto 10px;border-radius:50%;background:#05774a;color:#fff;display:flex;align-items:center;justify-content:center;animation:mt-pop .35s ease}
.mt-q-ok .mt-ico{width:54px;height:54px;stroke-width:2.6}
.mt-q-in .mt-q-ev{font-size:26px;margin:0 0 4px}
.mt-q-live.is-in .mt-ico{width:16px;height:16px;stroke-width:2.6}
@keyframes mt-pop{0%{transform:scale(.4);opacity:0}70%{transform:scale(1.08)}100%{transform:none;opacity:1}}
@media (max-width:600px){
	.mt-stats{grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);grid-template-columns:none}
	.mt-entry.is-big{max-width:none}
}

/* 1.29.0: aviso en vivo del organizador */
.mt-notice{display:flex;flex-direction:column;gap:2px;background:#fff7e0;color:#5c3b00;border:1px solid #f3d27a;border-radius:12px;padding:10px 12px;margin:8px 0;font-size:14px;line-height:1.4}.mt-notice b{font-size:12px;text-transform:uppercase;letter-spacing:.03em}
.mt-chip.is-notice{background:#fff1c2;color:#7a4b00}
[data-theme="dark"] .mt-notice{background:#3a2c08;color:#ffe3a1;border-color:#6b5414}[data-theme="dark"] .mt-chip.is-notice{background:#4a3708;color:#ffe3a1}

/* 1.30.0: encuesta y galería */
.mt-post{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0}
/* 1.36.0: vendido y facturado por */
.mt-seller{margin:10px 0 0;font-size:13px;line-height:1.5}
.mt-seller small{display:block;margin-top:2px;font-size:12px;opacity:.7}
/* 1.36.1: mensaje al volver del pago */
.mt-ret{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 14px}
.mt-ret>span{flex:1 1 220px}
.mt-ret .mt-ico{flex:none}
.mt-ret-spin{flex:none!important;width:16px;height:16px;border-radius:50%;border:2px solid currentColor;border-right-color:transparent;animation:mt-ret-spin .8s linear infinite}
@keyframes mt-ret-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.mt-ret-spin{animation:none}}
.mt-inv{display:block;flex-basis:100%;font-size:12px;opacity:.75;margin-top:4px}

/* 1.42.1: el tema/Elementor pinta los enlaces (a, a:visited, a:hover) con su propio color y
   el botón «Explorar eventos» quedaba con texto oscuro sobre fondo azul. Se fija el color. */
.evt-mt a.mt-btn,.evt-mt a.mt-btn:visited,.evt-mt a.mt-btn:hover,.evt-mt a.mt-btn:focus,
.mt-layer a.mt-btn,.mt-layer a.mt-btn:visited,.mt-layer a.mt-btn:hover,.mt-layer a.mt-btn:focus{color:var(--mt-brand-ink)!important;text-decoration:none!important}
.evt-mt a.mt-btn.is-ghost,.evt-mt a.mt-btn.is-ghost:visited,.evt-mt a.mt-btn.is-ghost:hover,
.mt-layer a.mt-btn.is-ghost,.mt-layer a.mt-btn.is-ghost:visited,.mt-layer a.mt-btn.is-ghost:hover{color:var(--mt-ink)!important}
.evt-mt a.mt-btn.is-soft,.evt-mt a.mt-btn.is-soft:visited,.evt-mt a.mt-btn.is-soft:hover,
.mt-layer a.mt-btn.is-soft,.mt-layer a.mt-btn.is-soft:visited,.mt-layer a.mt-btn.is-soft:hover{color:var(--mt-brand)!important}
.evt-mt a.mt-btn.is-danger,.mt-layer a.mt-btn.is-danger{color:#fff!important}
.evt-mt a.mt-wallet,.evt-mt a.mt-wallet:visited,.evt-mt a.mt-wallet:hover,.mt-layer a.mt-wallet,.mt-layer a.mt-wallet:visited,.mt-layer a.mt-wallet:hover{color:#fff!important;text-decoration:none!important}
.evt-mt a.mt-reco,.evt-mt a.mt-reco:visited,.evt-mt a.mt-reco:hover{color:var(--mt-ink)!important;text-decoration:none!important}
