/* Buyer "My tickets" (host sites use the template's variables; .th-* = main domain page).
   Built from the approved preview (22-Nov-2026). */
/* ---------- host-site additions (use the template's variables) ---------- */
.mt-hostlogo{width:36px;height:36px;border-radius:10px;display:inline-grid;place-items:center;background:var(--brand,#E4572E);color:#fff;font-weight:900;font-size:13px;letter-spacing:.02em;margin-right:10px;flex:none}
.mt-navtix{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.mt-short{display:none}
.s-header .s-logo{white-space:nowrap}.s-nav a{white-space:nowrap}
@media(max-width:480px){.s-nav{gap:12px}.mt-long{display:none}.mt-short{display:inline}.s-header{padding:12px 16px;gap:10px}}
.mt-wrap{display:grid;place-items:start center;padding:40px 18px 80px;min-height:520px}
.mt-card{width:100%;max-width:440px;background:var(--card,#fff);border:1px solid var(--line,#e5e5e5);border-radius:20px;padding:30px 26px;box-shadow:0 20px 50px rgba(0,0,0,.22)}
.mt-ico{width:52px;height:52px;border-radius:14px;display:grid;place-items:center;background:color-mix(in srgb,var(--brand,#8A1730) 16%,transparent);color:var(--brand,#8A1730);margin:0 auto 14px}
.mt-ico svg{width:28px;height:28px}
.mt-card h1{text-align:center;margin:0 0 6px;font-family:var(--display);font-size:1.7rem;line-height:1.15;letter-spacing:-.01em}
.mt-sub{margin:0 0 20px;color:var(--muted);font-size:.97rem}.mt-sub b{color:var(--ink)}
.mt-label{display:block;font-weight:600;font-size:.92rem;margin-bottom:6px}
.mt-input{font:inherit;width:100%;min-height:50px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--input,#fff);color:inherit;box-sizing:border-box}
.mt-input:focus,.mt-digit:focus{outline:2px solid var(--brand);outline-offset:1px}
.mt-input[aria-invalid=true]{border-color:#E5484D}
.mt-hint{margin:8px 0 0;font-size:.9rem;min-height:0;color:var(--muted)}.mt-hint:empty{display:none}
.mt-hint .mt-fix{font:inherit;font-weight:700;color:var(--brand);background:none;border:0;padding:0;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.mt-hint.mt-bad{color:#E5484D}
.mt-btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin-top:16px;min-height:52px;border:0;border-radius:14px;background:var(--brand,#8A1730);color:var(--on-brand,#fff);font:inherit;font-weight:800;font-size:1rem;cursor:pointer;box-shadow:0 10px 24px color-mix(in srgb,var(--brand,#8A1730) 35%,transparent);transition:transform .06s,filter .15s}
.mt-btn:hover{filter:brightness(1.07)}.mt-btn:active{transform:scale(.99)}.mt-btn:disabled{opacity:.6;cursor:default}
.mt-btn-sm{width:auto;margin-top:0;padding:0 18px;flex:none;min-height:50px}
.mt-spin{width:18px;height:18px;border-radius:50%;border:2.5px solid rgba(255,255,255,.45);border-top-color:#fff;animation:spin 1s linear infinite}
.mt-fine{display:flex;gap:8px;align-items:flex-start;margin:16px 0 0;font-size:.84rem;color:var(--muted)}.mt-fine svg{flex:none;margin-top:2px}
.mt-demo{margin:10px 0 0;padding:8px 10px;border-radius:10px;border:1px dashed var(--brand);color:var(--brand);font-weight:600;font-size:.84rem}
.mt-help{margin-top:14px;border-top:1px solid var(--line);padding-top:12px;font-size:.9rem}.mt-help summary{cursor:pointer;font-weight:600;min-height:32px;display:flex;align-items:center}.mt-help p{margin:6px 0 0;color:var(--muted)}
.mt-digits{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.mt-digit{font:inherit;font-size:1.5rem;font-weight:800;text-align:center;min-height:58px;width:100%;box-sizing:border-box;border:1px solid var(--line);border-radius:12px;background:var(--input,#fff);color:inherit;padding:0}
.mt-digits.mt-shake{animation:mtshake .35s}@keyframes mtshake{20%,60%{transform:translateX(-6px)}40%,80%{transform:translateX(6px)}}
.mt-err{margin:10px 0 0;color:#E5484D;font-size:.92rem;font-weight:600}
.mt-check{display:flex;gap:10px;align-items:center;margin-top:16px;font-size:.93rem;cursor:pointer;min-height:32px}.mt-check input{width:18px;height:18px;accent-color:var(--brand)}
.mt-row{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;margin:14px 0 0}
.mt-link{font:inherit;font-size:.9rem;font-weight:600;color:var(--brand);background:none;border:0;padding:0;cursor:pointer;text-decoration:none;min-height:32px;display:inline-flex;align-items:center}
.mt-link:disabled{color:var(--muted);cursor:default}
/* list */
.mt-listwrap{max-width:820px;padding-top:24px}
.mt-h1{font-family:var(--display);font-size:clamp(1.9rem,5vw,2.6rem);margin:0 0 4px;letter-spacing:-.01em}
.mt-top p{margin:0}
.mt-tabs{display:flex;gap:6px;margin:22px 0 16px;border-bottom:1px solid var(--line)}
.mt-tabs button{font:inherit;font-weight:700;background:none;border:0;color:var(--muted);padding:10px 14px;min-height:44px;cursor:pointer;border-bottom:3px solid transparent;margin-bottom:-1px}
.mt-tabs button[aria-selected=true]{color:var(--ink);border-bottom-color:var(--brand)}
.mt-tabs span{display:inline-block;min-width:22px;padding:1px 7px;margin-left:4px;border-radius:99px;background:var(--line);font-size:.8rem}
.mt-ev{display:flex;gap:18px;background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:18px;margin-bottom:14px}
.mt-date{flex:none;width:64px;height:70px;border-radius:14px;display:grid;place-content:center;text-align:center;background:var(--brand);color:#fff;line-height:1.05}
.mt-date b{font-size:1.6rem;font-weight:900}.mt-date span{font-size:.75rem;font-weight:800;letter-spacing:.08em}
.mt-past .mt-date{background:var(--line);color:var(--muted)}
.mt-evbody{min-width:0;flex:1}.mt-evbody h3{margin:0 0 2px;font-family:var(--display);font-size:1.25rem}
.mt-when{margin:0;font-weight:700}.mt-where{margin:2px 0 0;color:var(--muted);display:flex;gap:5px;align-items:center;font-size:.93rem}
.mt-chips{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 0}
.mt-chip{font-size:.8rem;font-weight:700;padding:3px 10px;border-radius:99px;background:var(--line)}
.mt-chip.mt-ok{background:rgba(34,197,94,.16);color:color-mix(in srgb,#22C55E 65%,var(--ink))}
.mt-chip.mt-wait{background:rgba(245,158,11,.16);color:color-mix(in srgb,#F59E0B 65%,var(--ink))}.mt-chip.mt-dim{background:transparent;border:1px solid var(--line);color:var(--muted)}
.mt-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-top:14px}.mt-actions .s-btn{min-height:46px;padding:10px 20px}
.mt-tix{margin-top:6px;max-width:420px}
.mt-foot{margin:22px 0 0;color:var(--muted);font-size:.92rem}
@media(max-width:560px){.mt-ev{flex-direction:column;gap:12px;padding:16px}.mt-date{width:auto;height:auto;display:flex;gap:6px;align-items:baseline;justify-content:flex-start;padding:6px 12px;border-radius:10px;place-content:normal}.mt-date b{font-size:1.1rem}}
/* add email */
.mt-addmail{background:var(--card);border:1px solid color-mix(in srgb,var(--brand) 45%,var(--line));border-radius:var(--r);padding:18px;margin:18px 0}
.mt-addhead{display:flex;gap:10px;align-items:center;color:var(--brand)}.mt-addhead b{color:var(--ink)}
.mt-addmail p{margin:8px 0 0;font-size:.94rem;color:var(--muted)}.mt-addmail p b{color:var(--ink)}
.mt-addrow{display:flex;gap:8px;margin-top:12px}.mt-addrow .mt-input{flex:1;min-width:0}

@media(max-width:480px){.mt-addrow{flex-direction:column}.mt-btn-sm{width:100%}}
/* ---------- thouram.com (from the live page's styles) ---------- */
.th{background:#F6F3EE;color:#12142B;font-family:'Inter',system-ui,sans-serif;line-height:1.55;min-height:100vh;display:flex;flex-direction:column}.th>main{flex:1;width:100%;box-sizing:border-box}
.th a{color:#8A1730}
.th-head{position:sticky;top:0;z-index:5;background:rgba(18,20,43,.94);border-bottom:1px solid rgba(246,243,238,.08)}
.th-headin{max-width:1280px;margin:0 auto;padding:12px 22px;display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.th-logo{display:flex}.th-logo img{height:38px;width:auto}
.th-nav{display:flex;gap:2px;flex-wrap:wrap;flex:1 1 auto}
.th-nav a{padding:8px 12px;border-radius:8px;text-decoration:none;color:#CFD1E0;font-weight:500;display:inline-flex;align-items:center;gap:6px;min-height:40px;box-sizing:border-box}
.th-nav a.th-on{color:#fff;background:rgba(232,163,179,.14)}
.th-cta{display:inline-flex;align-items:center;padding:10px 16px;border-radius:10px;text-decoration:none;color:#F6F3EE!important;background:linear-gradient(135deg,#B8324F,#8A1730);font-weight:700;min-height:44px;box-sizing:border-box;box-shadow:0 10px 24px rgba(138,23,48,.45);margin-left:auto}
.th .mt-card{--brand:#8A1730;--line:#E4DED3;--muted:#5E6178;--ink:#12142B;--input:#fff;--card:#fff;--display:'Fraunces',Georgia,serif;box-shadow:0 1px 2px rgba(18,20,43,.06),0 24px 60px rgba(18,20,43,.14)}
.th .mt-card h1{font-weight:600;font-size:2rem}
.th .mt-btn{background:linear-gradient(135deg,#B8324F,#8A1730);box-shadow:0 12px 28px rgba(138,23,48,.35)}
.th-main{max-width:1180px;margin:0 auto;padding:34px 22px 70px}
.th-main.mt-wrap{padding-top:50px;--brand:#8A1730;--muted:#5E6178;--line:#E4DED3;--ink:#12142B}
.th-titlerow{display:flex;flex-wrap:wrap;gap:20px;align-items:flex-end;justify-content:space-between}
.th-eyebrow{margin:0 0 4px;color:#5E6178;font-size:14px}
.th h1{margin:0;font-family:'Fraunces',Georgia,serif;font-weight:600;font-size:clamp(36px,5vw,56px);line-height:1.05;letter-spacing:-.03em}
.th-stats{display:flex;gap:10px;flex-wrap:wrap}
.th-stats div{background:#fff;border:1px solid #E4DED3;border-radius:14px;padding:10px 16px;min-width:96px}
.th-stats b{display:block;font-family:'Fraunces',Georgia,serif;font-size:26px;line-height:1.1;color:#8A1730}.th-stats span{font-size:12.5px;color:#5E6178}
.th-info{margin:22px 0 0;padding:12px 16px;border-radius:12px;background:#fff;border:1px solid #E4DED3;font-size:14.5px;color:#3A3D57}
.th-h2{font-family:'Fraunces',Georgia,serif;font-weight:600;font-size:26px;margin:34px 0 14px}
.th-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px}
.th-tk{background:#fff;border-radius:18px;overflow:hidden;border:1px solid #E4DED3;box-shadow:0 1px 2px rgba(18,20,43,.05),0 14px 34px rgba(18,20,43,.08);display:flex;flex-direction:column;transition:transform .15s,box-shadow .15s}
.th-tk:hover{transform:translateY(-3px);box-shadow:0 20px 44px rgba(18,20,43,.14)}
.th-art{height:118px;position:relative;padding:12px}
.th-date{display:inline-grid;text-align:center;background:#F6F3EE;color:#12142B;border-radius:12px;padding:6px 10px;line-height:1.05}
.th-date b{font-family:'Fraunces',Georgia,serif;font-size:24px}.th-date span{font-size:11px;font-weight:800;letter-spacing:.08em;color:#8A1730}
.th-count{position:absolute;right:12px;bottom:12px;display:inline-flex;gap:6px;align-items:center;padding:5px 10px;border-radius:99px;background:rgba(18,20,43,.55);color:#fff;font-size:12.5px;font-weight:700;backdrop-filter:blur(6px)}
.th-count svg{width:15px;height:15px}
.th-tkbody{padding:14px 16px 16px;display:flex;flex-direction:column;flex:1}
.th-host{margin:0;font-size:13px;color:#5E6178}.th-host b{color:#8A1730}
.th-tk h3{margin:2px 0 6px;font-family:'Fraunces',Georgia,serif;font-weight:600;font-size:20px;line-height:1.2}
.th-when{margin:0;font-weight:600;font-size:14.5px}.th-where{margin:2px 0 0;color:#5E6178;font-size:14px;display:flex;gap:5px;align-items:center}
.th-open{margin-top:auto;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:46px;margin-top:14px;border-radius:12px;background:#12142B;color:#F6F3EE!important;text-decoration:none;font-weight:700}
.th-open:hover{background:#2B2E4E}
.th-site{margin:6px 0 0;font-size:12px;color:#8A8DA5;text-align:center}
.th-past{list-style:none;margin:0;padding:0;background:#fff;border:1px solid #E4DED3;border-radius:16px;overflow:hidden}
.th-past li{display:flex;gap:16px;align-items:center;padding:14px 16px;border-top:1px solid #EFEAE2}.th-past li:first-child{border-top:0}
.th-pd{flex:none;width:70px;color:#5E6178;font-size:13px}.th-pd b{font-family:'Fraunces',Georgia,serif;font-size:20px;color:#12142B}
.th-pt{display:grid;min-width:0}.th-pt small{color:#5E6178;font-size:13px}
.th-foot{background:#12142B;color:#BFC2D6}
.th-band{height:10px;background:repeating-linear-gradient(90deg,#F6F3EE 0 10px,#12142B 10px 14px,#F6F3EE 14px 26px,#8A1730 26px 30px)}
.th-footin{max-width:1280px;margin:0 auto;padding:30px 22px 38px;display:flex;flex-wrap:wrap;gap:16px 28px;align-items:center;justify-content:space-between;font-size:14px}
.th-footin p{margin:0;display:flex;align-items:center;gap:14px;flex-wrap:wrap}.th-footin nav{display:flex;flex-wrap:wrap;gap:20px}.th-footin a{color:#E4E5EE!important}
@media(max-width:640px){.th-nav{order:3;flex-basis:100%}.th-cta{padding:8px 12px}}

.mt-flash{max-width:440px;margin:0 auto 14px;padding:12px 16px;border-radius:12px;background:#fee2e2;color:#7f1d1d;font-weight:600;font-size:.94rem}
.mt-flash.ok{background:#dcfce7;color:#14532d}
.mt-card form{margin:0}.mt-inline{display:inline}
.mt-empty{background:var(--card);border:1px dashed var(--line);border-radius:var(--r);padding:28px 20px;text-align:center;color:var(--muted)}
.mt-empty b{display:block;color:var(--ink);font-size:1.1rem;margin-bottom:4px}
.th .mt-empty{--card:#fff;--line:#D9D2C5;--muted:#5E6178;--ink:#12142B;--r:16px}
.th-banner{background-size:cover;background-position:center}
.th-footin form{display:inline}
.s-ticket.mt-used{opacity:.6}
.mt-who{margin:0}.mt-who .mt-link,.th-eyebrow .mt-link{display:inline;min-height:0;padding:0;vertical-align:baseline}
.mt-or{display:flex;align-items:center;gap:12px;margin:16px 0 0;color:var(--muted);font-size:.85rem;font-weight:600}
.mt-or::before,.mt-or::after{content:"";flex:1;height:1px;background:var(--line)}
.mt-google{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;margin-top:14px;min-height:52px;box-sizing:border-box;border-radius:14px;background:#fff;color:#1f1f1f!important;border:1px solid #DADCE0;font-weight:700;font-size:1rem;text-decoration:none;box-shadow:0 1px 2px rgba(0,0,0,.08);transition:box-shadow .15s,background .15s}
.mt-google:hover{background:#F8F9FA;box-shadow:0 2px 8px rgba(0,0,0,.14)}
.mt-google img{width:20px;height:20px;flex:none}
.mt-google.mt-going{opacity:.7;pointer-events:none}

/* WhatsApp opt-in switches */
.mt-wa{margin:30px 0 10px}
.mt-wa h2{margin:0 0 4px;font-size:1.3rem}
.mt-warow{display:flex;gap:14px;align-items:center;padding:14px 16px;border-radius:16px;background:var(--card,#fff);border:1px solid var(--line,#E4DED6);margin-top:10px}
.mt-warow img{flex:none;display:block}
.mt-warow div{min-width:0;flex:1}.mt-warow b{display:block}.mt-warow small{display:block;opacity:.72;font-size:.85rem}
.mt-sw{position:relative;flex:none;width:48px;height:28px;border-radius:99px;background:#CFCBD8;border:0;cursor:pointer;transition:background .2s;padding:0;min-height:0}
.mt-sw::after{content:"";position:absolute;left:3px;top:3px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:transform .2s}
.mt-sw[aria-checked="true"]{background:#1E8E4E}.mt-sw[aria-checked="true"]::after{transform:translateX(20px)}
.mt-sw[aria-busy="true"]{opacity:.6;pointer-events:none}
.mt-wa-note{font-size:.88rem;opacity:.75;margin:10px 0 0}
.mt-wa-err{margin:10px 0 0;padding:9px 12px;border-radius:10px;background:#FCE8E6;color:#8C1D18;font-weight:600;font-size:.9rem}
