
.sce-shell{min-height:100vh;background:#f5f7fb;padding:1px 16px 60px;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#111827}
.sce-header{width:min(94vw,1040px);min-height:68px;margin:14px auto 36px;padding:6px 14px 6px 16px;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;border-radius:34px;background:linear-gradient(180deg,rgba(12,20,55,.82),rgba(5,10,35,.76));border:2px solid rgba(148,163,184,.46);backdrop-filter:blur(14px) saturate(135%)}
.sce-logo img{display:block;width:112px;max-height:48px}
.sce-back{color:#fff;text-decoration:none;font-weight:700}
.sce-app{width:min(94vw,720px);margin:0 auto}
.sce-card{background:#fff;border:1px solid #e2e8f0;border-radius:22px;padding:32px;box-shadow:0 20px 55px rgba(15,23,42,.09)}
.sce-kicker{font-size:12px;font-weight:900;letter-spacing:.12em;color:#4f46e5;margin:0 0 7px}
.sce-card h1{font-size:34px;line-height:1.12;margin:0 0 16px;color:#111827}
.sce-event-meta{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 18px}
.sce-event-meta span{background:#f1f5f9;border-radius:999px;padding:7px 11px;color:#475569;font-weight:700;font-size:14px}
.sce-availability{font-weight:800;color:#0f766e}
#sce-reg-form{display:grid;gap:14px;margin-top:24px}
#sce-reg-form label{display:grid;gap:6px;font-weight:700;color:#334155}
#sce-reg-form input:not([type=checkbox]){width:100%;box-sizing:border-box;padding:12px 13px;border:1px solid #cbd5e1;border-radius:12px;font:inherit;background:#fff}
.sce-privacy{display:flex!important;grid-template-columns:auto 1fr!important;align-items:flex-start;gap:9px!important;font-weight:500!important;font-size:14px}
.sce-btn{border:0;border-radius:999px;padding:13px 18px;background:#4358f5;color:#fff;font-weight:800;font:inherit;cursor:pointer}
.sce-msg{min-height:24px;color:#475569}
.sce-ticket{text-align:center}
.sce-ticket-name{font-size:22px;font-weight:800;margin:4px 0 15px}
.sce-ticket .sce-event-meta{justify-content:center}
.sce-qr{width:min(320px,90%);margin:26px auto 18px;padding:18px;background:#fff;border:1px solid #e2e8f0;border-radius:18px}
.sce-qr svg{display:block;width:100%;height:auto}
.sce-ticket-note{color:#64748b}
.sce-checked{display:inline-block;background:#dcfce7;color:#166534;padding:9px 12px;border-radius:999px;font-weight:800}
.sce-loading{padding:30px;text-align:center;color:#64748b}
@media(max-width:640px){.sce-card{padding:22px}.sce-card h1{font-size:28px}.sce-header{width:calc(100% - 4px);margin-top:8px}}

.sce-soldout{padding:14px 16px;border-radius:14px;background:#fee2e2;color:#991b1b;font-weight:800}

.sce-poster{display:block;width:100%;max-height:520px;object-fit:contain;border-radius:16px;margin:0 0 20px;background:#f8fafc}

.sce-cancel-box{margin-top:28px;padding-top:20px;border-top:1px solid #e2e8f0}.sce-btn-danger{background:#fff;color:#b91c1c;border:1px solid #fecaca}.sce-btn-danger:hover{background:#fef2f2}.sce-btn:disabled{opacity:.65;cursor:wait}
#sce-reg-form .sce-choice{border:0;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px 18px;align-items:center}
#sce-reg-form .sce-choice legend{width:100%;padding:0;margin:0 0 6px;font-weight:700;color:#334155}
#sce-reg-form .sce-choice label{display:inline-flex;align-items:center;gap:8px;font-weight:600;min-height:40px}
#sce-reg-form .sce-choice input{width:20px;height:20px;margin:0;padding:0;flex:0 0 auto;accent-color:#2563eb}
.sce-status-title{margin:18px 0 6px;font-size:1.15rem;color:#1e293b}
/* Dalla 1.12.69: i campi nascosti restano nascosti (es. matricola finché non si spunta "studente UniME") */
#sce-reg-form [hidden]{display:none!important}
#sce-reg-form label small{font-weight:400;color:#64748b}
