.tre{--tre-red:#ff1f4b;--tre-bg:#16161d;--tre-line:#2a2a33;--tre-ink:#f5f5f7;--tre-mute:#9a9aa8;max-width:640px;margin:24px auto;padding:20px;border-radius:20px;background:var(--tre-bg);border:1px solid var(--tre-line);color:var(--tre-ink);font:16px/1.5 Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;box-sizing:border-box}
.tre *{box-sizing:border-box}
.tre a{color:var(--tre-red)}
.tre-head{display:grid;gap:14px;margin-bottom:12px}
.tre-head img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:14px}
.tre .tre-title{margin:0!important;font:800 24px/1.15 Archivo,Inter,system-ui,sans-serif!important;color:#fff!important;text-transform:none!important;letter-spacing:-.01em!important}
.tre .tre-title a{color:#fff!important;text-decoration:none}
.tre-meta{list-style:none!important;margin:0 0 16px!important;padding:0!important;display:grid;gap:4px;color:#d8d8e0}
.tre-meta li{margin:0!important;padding:0!important}
.tre-meta b{color:#fff}
.tre-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
@media(max-width:560px){.tre-grid{grid-template-columns:1fr}}
.tre-form label{display:block;font-size:14px;font-weight:600;color:#e6e6ec}
.tre-form input[type=text],.tre-form input:not([type]),.tre-form input[type=email],.tre-form input[type=tel]{display:block;width:100%!important;height:48px!important;margin:6px 0 0!important;padding:0 14px!important;border-radius:12px!important;border:1px solid var(--tre-line)!important;background:#0e0e13!important;color:#fff!important;font:16px Inter,system-ui,sans-serif!important;box-shadow:none!important}
.tre-form input:focus{outline:2px solid var(--tre-red)!important;outline-offset:1px;border-color:transparent!important}
.tre-check{display:flex!important;gap:10px;align-items:flex-start;margin:14px 0 0;font-weight:400!important;font-size:14px!important;line-height:1.45;color:#cfcfd8!important}
.tre-check input{flex:none;width:20px!important;height:20px!important;margin:1px 0 0!important;accent-color:var(--tre-red)}
.tre-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.tre-btn{display:inline-flex;align-items:center;justify-content:center;width:100%;height:52px;margin-top:18px;border:0!important;border-radius:999px!important;background:var(--tre-red)!important;color:#fff!important;font:700 16px/1 Inter,system-ui,sans-serif!important;text-decoration:none!important;cursor:pointer;text-transform:none!important}
.tre-btn:disabled{opacity:.6;cursor:wait}
.tre-btn-ghost{background:transparent!important;border:1px solid var(--tre-red)!important;color:var(--tre-red)!important;margin-top:4px}
.tre-msg{min-height:1.2em;margin:10px 0 0;font-size:14px}
.tre-msg.is-err{color:#ff9db1}
.tre-msg.is-ok{color:#9be7b0}
.tre-legal{margin-top:16px;font-size:13px;color:var(--tre-mute)}
.tre-legal summary{cursor:pointer;color:#cfcfd8}
.tre-legal dl{margin:10px 0 0;display:grid;grid-template-columns:auto 1fr;gap:6px 12px}
.tre-legal dt{font-weight:700;color:#e6e6ec}
.tre-legal dd{margin:0}
@media(max-width:560px){.tre-legal dl{grid-template-columns:1fr}.tre-legal dd{margin-bottom:6px}}
.tre-closed,.tre-empty{margin:0;padding:14px;border-radius:12px;background:#0e0e13;color:#d8d8e0}
.tre-ok{color:#9be7b0;font-weight:600;margin:0 0 12px}
.tre-ticket{display:grid;gap:4px;justify-items:center;text-align:center;padding:20px;border:2px dashed var(--tre-red);border-radius:16px;background:#0e0e13}
.tre-ticket small{color:var(--tre-mute);text-transform:uppercase;letter-spacing:.08em;font-size:12px}
.tre-ticket .tre-code{font:800 34px/1.1 Archivo,Inter,monospace;letter-spacing:.06em;color:#fff}
.tre-ticket em{margin-top:6px;color:#ffb3c1;font-style:normal;font-weight:700}
.tre-hint{font-size:14px;color:var(--tre-mute);margin:12px 0 0}
.tre-qr{background:#fff;padding:8px;border-radius:12px;margin:8px 0;line-height:0}
.tre-qr svg{width:220px;height:220px;max-width:70vw;max-height:70vw;display:block}

.tre-sub{margin:4px 0 10px;font-size:1.25em;font-weight:800;line-height:1.25;color:#ff1f4b}
.tre-lock{margin:0 0 14px;padding:14px 16px;border-radius:14px;border:1px dashed #ff1f4b;background:rgba(255,31,75,.08)}
.tre-lock p{margin:0 0 10px}
.tre-lock input{text-transform:uppercase;letter-spacing:2px;font-weight:700}
