:root {
  --primary: #6d5dfc;
  --primary-strong: #5144d8;
  --primary-soft: #eeecff;
  --ink: #17152b;
  --muted: #74718a;
  --surface: #ffffff;
  --surface-2: #f7f7fc;
  --line: #e8e7f0;
  --green: #0f9f6e;
  --yellow: #c98712;
  --red: #d14b62;
  --shadow-sm: 0 1px 2px rgba(25, 22, 58, .04), 0 8px 22px rgba(25, 22, 58, .05);
  --shadow-md: 0 18px 45px rgba(39, 31, 103, .13);
  --radius: 16px;
}

body { line-height: 1.5; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, .btn, a { transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(109, 93, 252, .28); outline-offset: 2px; }

/* Shared admin components */
main > h1, .toolbar h1 { color: var(--ink); letter-spacing: -.035em; font-size: clamp(1.55rem, 2.4vw, 2.1rem); line-height: 1.15; margin: 0; }
main > h2 { color: var(--ink); letter-spacing: -.02em; }
.card, .stat-card, .lv-live-tools { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.card { padding: 1.25rem; }
.grid-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 1.35rem 0 1.65rem; }
.stat-card { padding: 1.1rem 1.15rem; min-height: 108px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.stat-card::after { content: ''; position: absolute; width: 78px; height: 78px; right: -25px; top: -28px; border-radius: 50%; background: var(--primary-soft); }
.stat-card .num { position: relative; z-index: 1; color: var(--primary-strong); font-size: 1.75rem; line-height: 1; font-weight: 800; letter-spacing: -.04em; }
.stat-card .label { position: relative; z-index: 1; color: var(--muted); font-size: .78rem; margin-top: .55rem; font-weight: 650; }
.toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin: .2rem 0 1.25rem; }
.actions, .quick-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: .58rem .82rem; border: 1px solid transparent; border-radius: 10px; background: var(--primary); color: #fff; font-size: .82rem; font-weight: 750; cursor: pointer; text-decoration: none; box-shadow: 0 5px 12px rgba(109, 93, 252, .16); }
.btn:hover { background: var(--primary-strong); color: #fff; text-decoration: none; transform: translateY(-1px); box-shadow: 0 8px 16px rgba(109, 93, 252, .2); }
.btn.secondary { background: #fff; border-color: var(--line); color: #4c4774; box-shadow: none; }
.btn.secondary:hover { background: var(--primary-soft); border-color: #d9d4ff; color: var(--primary-strong); }
.btn.danger { background: #fff; border-color: #f2cbd2; color: var(--red); box-shadow: none; }
.btn.danger:hover { background: #fff1f3; }
.btn.small { min-height: 31px; padding: .38rem .58rem; border-radius: 8px; font-size: .74rem; }
.inline { display: inline-block; margin: 2px 3px 2px 0; }
.empty-state { text-align: center; color: var(--muted); padding: 3.5rem 1.25rem; }
.empty-state p { margin: 0 0 1rem; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
table.data { width: 100%; min-width: 680px; border-collapse: separate; border-spacing: 0; background: #fff; font-size: .84rem; }
table.data th { padding: .85rem .95rem; background: #fafaff; color: #76728e; border-bottom: 1px solid var(--line); text-align: left; font-size: .71rem; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
table.data td { padding: .85rem .95rem; border-bottom: 1px solid #f0eff5; color: #292642; vertical-align: middle; }
table.data tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: #fbfaff; }
main > table.data { display: block; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.pill, .badge { display: inline-flex; align-items: center; border-radius: 999px; padding: .25rem .58rem; font-size: .68rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.pill.active, .pill.accepted, .pill.allowed { background: #e6f8f1; color: #087853; }
.pill.used, .pill.pending, .pill.draft { background: #fff4d9; color: #99650b; }
.pill.revoked, .pill.cancelled, .pill.expired, .pill.invalid, .pill.rejected { background: #ffeaee; color: #ad334a; }
form:not(.inline) input:not([type=checkbox]):not([type=radio]), form:not(.inline) select, form:not(.inline) textarea { width: 100%; min-height: 42px; padding: .65rem .75rem; border: 1px solid #dcdbe8; border-radius: 10px; background: #fff; color: var(--ink); }
form:not(.inline) textarea { min-height: 100px; resize: vertical; }
.field-label, label { color: #494562; font-size: .79rem; font-weight: 750; }
.field-label { display: block; margin: 0 0 .35rem; }
.flash { box-shadow: var(--shadow-sm); }
.topbar-tools { display: flex; align-items: center; gap: 12px; }
.appearance-toggle { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--primary-strong); cursor: pointer; font-size: 1rem; }
.appearance-toggle:hover { background: var(--primary-soft); transform: rotate(15deg); }

/* Landing page */
.landing { background: #fbfbfe; color: var(--ink); }
.landing header.site { position: sticky; top: 0; z-index: 10; padding: 1rem max(5%, calc((100vw - 1180px) / 2)); background: rgba(255,255,255,.82); backdrop-filter: blur(16px); }
.landing header.site .brand { letter-spacing: -.02em; }
.landing header.site .brand::first-letter { filter: saturate(1.2); }
.landing .hero { position: relative; max-width: none; overflow: hidden; padding: clamp(5rem, 10vw, 8.5rem) 5% 6rem; background: radial-gradient(circle at 50% 18%, #e6e2ff 0, rgba(238,236,255,.7) 20%, transparent 50%), linear-gradient(145deg, #f7f6ff, #fff 62%); }
.landing .hero::before, .landing .hero::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; }
.landing .hero::before { width: 260px; height: 260px; right: -70px; top: 48px; background: rgba(109,93,252,.08); }
.landing .hero::after { width: 170px; height: 170px; left: -70px; bottom: -45px; background: rgba(41,201,167,.08); }
.landing .hero > * { position: relative; z-index: 1; }
.landing .hero h1 { max-width: 820px; margin-inline: auto; color: #1b1738; letter-spacing: -.055em; line-height: 1.04; }
.landing .hero p { line-height: 1.7; }
.landing .hero .cta { gap: .7rem; }
.landing .event-hero { min-height: 650px; display: flex; flex-direction: column; align-items: center; justify-content: center; background-color: #201b4b; background-position: center; background-size: cover; color: #fff; }
.landing .event-hero::before { width: 340px; height: 340px; right: -90px; top: 24px; background: color-mix(in srgb, var(--event-secondary) 32%, transparent); }
.landing .event-hero::after { width: 230px; height: 230px; left: -90px; bottom: -50px; background: color-mix(in srgb, var(--event-primary) 42%, transparent); }
.event-hero-content { position: relative; z-index: 1; max-width: 820px; margin-bottom: 1.5rem; text-align: center; }
.event-kicker { display: inline-flex; align-items: center; gap: .45rem; padding: .42rem .75rem; border: 1px solid rgba(255,255,255,.22); border-radius: 99px; background: rgba(255,255,255,.1); color: #f5f2ff; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #61e4b7; box-shadow: 0 0 0 4px rgba(97,228,183,.18); }
.event-logo { display: block; width: 74px; height: 74px; object-fit: contain; margin: 1.2rem auto .8rem; border-radius: 18px; background: rgba(255,255,255,.92); padding: .45rem; box-shadow: 0 12px 28px rgba(0,0,0,.2); }
.event-hero-content h1 { max-width: 900px; margin: 1rem auto .8rem; color: #fff; font-size: clamp(2.5rem, 7vw, 5.2rem); text-shadow: 0 5px 24px rgba(0,0,0,.24); }
.event-hero-content p { max-width: 680px; margin: 0 auto 1.2rem; color: rgba(255,255,255,.85); font-size: 1.08rem; }
.event-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: .65rem 1.2rem; color: #fff; font-size: .82rem; font-weight: 750; }
.event-hero .product-preview { border-color: rgba(255,255,255,.5); }
.event-hero .hero-proof { color: rgba(255,255,255,.82); }
.landing .btn { min-height: 46px; padding-inline: 1.15rem; }
.hero-proof { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem 1.5rem; margin: 1.5rem auto 2.2rem; color: #625d7b; font-size: .78rem; font-weight: 700; }
.hero-proof span { display: inline-flex; align-items: center; gap: .4rem; }
.proof-dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.proof-dot.green { background: #21b486; box-shadow: 0 0 0 4px #dff7ee; }
.proof-dot.purple { background: #7666fa; box-shadow: 0 0 0 4px #e9e6ff; }
.proof-dot.orange { background: #e5a23c; box-shadow: 0 0 0 4px #fff1d7; }
.product-preview { position: relative; display: flex; width: min(900px, 100%); min-height: 310px; margin: 0 auto; padding: 12px; text-align: left; border: 1px solid rgba(255,255,255,.78); border-radius: 22px; background: rgba(255,255,255,.55); box-shadow: 0 28px 70px rgba(69, 54, 167, .18), 0 3px 8px rgba(69, 54, 167, .06); backdrop-filter: blur(16px); transform: perspective(1000px) rotateX(2deg); }
.product-preview::after { content: ''; position: absolute; inset: 10px; border-radius: 16px; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.78); }
.preview-sidebar { width: 82px; padding: 14px 10px; border-radius: 14px; background: linear-gradient(180deg,#28214e,#4e42a5); }
.preview-logo { display: block; width: 30px; height: 7px; margin: 3px auto 30px; border-radius: 99px; background: #fff; opacity: .9; }
.preview-sidebar i { display: block; height: 7px; margin: 18px 9px; border-radius: 99px; background: rgba(255,255,255,.25); }
.preview-sidebar i:first-of-type { background: #fff; }
.preview-main { flex: 1; padding: 18px 20px; background: #fcfcff; border-radius: 14px; }
.preview-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.preview-title { color: #29234d; font-size: .9rem; font-weight: 800; }
.preview-avatar { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #e8e5ff; color: #594bd5; font-size: .72rem; font-weight: 800; }
.preview-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.preview-stats span { padding: 12px; border: 1px solid #ebeaf4; border-radius: 11px; background: #fff; }
.preview-stats b { display: block; color: #2a2255; font-size: 1.18rem; letter-spacing: -.04em; }
.preview-stats small, .chart-label { color: #8a87a0; font-size: .64rem; font-weight: 700; }
.preview-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10px; margin-top: 10px; }
.preview-chart, .preview-feed { min-height: 145px; padding: 13px; border: 1px solid #ebeaf4; border-radius: 11px; background: #fff; }
.chart-bars { display: flex; align-items: end; gap: 8px; height: 95px; margin-top: 10px; padding: 0 4px; background: repeating-linear-gradient(to bottom,transparent 0,transparent 30px,#f0eff8 31px); }
.chart-bars i { flex: 1; min-width: 8px; height: 30%; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg,#9184ff,#6251e8); animation: barFloat 3s ease-in-out infinite alternate; }
.chart-bars i:nth-child(2) { height: 48%; animation-delay: -.5s; }.chart-bars i:nth-child(3) { height: 35%; animation-delay: -1s; }.chart-bars i:nth-child(4) { height: 68%; animation-delay: -1.5s; }.chart-bars i:nth-child(5) { height: 55%; animation-delay: -2s; }.chart-bars i:nth-child(6) { height: 82%; animation-delay: -2.5s; }.chart-bars i:nth-child(7) { height: 74%; animation-delay: -3s; }.chart-bars i:nth-child(8) { height: 92%; animation-delay: -3.5s; }
@keyframes barFloat { to { opacity: .72; transform: scaleY(.9); transform-origin: bottom; } }
.preview-feed p { display: flex; align-items: center; gap: 6px; margin: 13px 0 0; color: #4e4a68; font-size: .68rem; }.preview-feed p b { width: 6px; height: 6px; border-radius: 50%; background: #22b789; }.preview-feed em { margin-left: auto; color: #20a87d; font-size: .58rem; font-style: normal; font-weight: 800; }
.preview-feed p:last-child b { background: #e3a43b; }.preview-feed p:last-child em { color: #b27b21; }
.landing section { max-width: 1180px; }
.landing h2.section-title { letter-spacing: -.04em; color: #1b1738; }
.landing .features { gap: 16px; }
.landing .feature { padding: 1.4rem; background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s; }
.landing .feature:hover { transform: translateY(-4px); border-color: #d8d2ff; box-shadow: var(--shadow-md); }
.landing .feature .icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--primary-soft); font-size: 1.25rem; }
.landing .feature h3 { color: #252043; }
.landing .stats { border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.landing .stats .num { color: var(--primary-strong); }
.landing .step .n { box-shadow: 0 7px 16px rgba(109,93,252,.24); }
.landing footer { background: #191631; color: #c9c5e0; border: 0; }
.landing footer a { color: #eeeaff; }

/* Auth */
.auth-page { background: radial-gradient(circle at 20% 15%, #eae6ff, transparent 32%), linear-gradient(140deg, #f7f6ff, #fff); }
.auth-card { background: rgba(255,255,255,.92); border: 1px solid rgba(232,231,240,.9); box-shadow: var(--shadow-md); }
.auth-card h1 { letter-spacing: -.04em; }
.ticket-page { background: radial-gradient(circle at 50% 0, #eae6ff, transparent 30%), #f7f7fc; }
.ticket-page .wrap { padding-top: 1rem; }
.ticket-page .actions a, .ticket-page .actions button { min-height: 42px; }
.request-page { min-height: 100vh; background: radial-gradient(circle at 80% 0, #e8e4ff, transparent 35%), #f8f8fc; }
.request-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem max(1rem, calc((100vw - 1000px) / 2)); background: rgba(255,255,255,.8); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.request-brand { color: var(--ink); font-weight: 800; text-decoration: none; }
.request-main { width: 100%; max-width: 650px; margin: 0 auto; padding: 4rem 1rem; }
.request-card { padding: clamp(1.3rem, 4vw, 2.3rem); border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.93); box-shadow: var(--shadow-md); }
.request-card h1 { margin: .5rem 0 .5rem; color: var(--ink); letter-spacing: -.045em; font-size: clamp(1.8rem, 6vw, 2.6rem); }
.request-eyebrow { color: var(--request-primary); font-size: .75rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.request-intro { color: var(--muted); margin: 0 0 1.5rem; }
.request-card form { display: grid; gap: .7rem; }
.request-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.request-submit { width: 100%; margin-top: .65rem; background: var(--request-primary); }
.request-success { text-align: center; }.success-icon { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 1rem; border-radius: 50%; background: #e5f8f0; color: #0f9f6e; font-size: 1.7rem; font-weight: 900; }
.request-count { padding: .5rem .75rem; border-radius: 99px; background: var(--primary-soft); color: var(--primary-strong); font-size: .78rem; font-weight: 800; }
.request-tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }.request-tabs a { padding: .48rem .75rem; border-radius: 9px; color: var(--muted); font-size: .78rem; font-weight: 750; text-decoration: none; }.request-tabs a:hover, .request-tabs a.active { background: var(--primary-soft); color: var(--primary-strong); }
.request-actions { display: flex; flex-wrap: wrap; gap: .3rem; }.event-request-cta { background: var(--event-primary, var(--primary)) !important; }
.profile-layout { display: grid; grid-template-columns: minmax(230px, .75fr) minmax(0, 1.5fr); gap: 1.2rem; align-items: start; }
.profile-card { text-align: center; }.profile-avatar { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto .8rem; border-radius: 20px; background: var(--primary-soft); color: var(--primary-strong); font-size: 1.6rem; font-weight: 850; }.profile-card h2, .profile-section-head h2 { margin: 0; color: var(--ink); letter-spacing: -.035em; }.profile-event { color: var(--muted); font-size: .82rem; margin: .25rem 0 1.2rem; }.profile-card dl { margin: 0 0 1.1rem; text-align: left; border-top: 1px solid var(--line); }.profile-card dt { float: left; clear: left; width: 80px; padding-top: .65rem; color: var(--muted); font-size: .72rem; font-weight: 750; }.profile-card dd { margin-left: 90px; padding-top: .65rem; color: var(--ink); font-size: .8rem; overflow-wrap: anywhere; }.profile-section-head { display: flex; justify-content: space-between; margin-bottom: 1rem; }.profile-section-head p { margin: .25rem 0 0; color: var(--muted); font-size: .8rem; }.profile-tickets { display: grid; gap: .7rem; }.profile-ticket { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }.profile-ticket-type, .profile-used-at { display: block; margin: .2rem 0; color: var(--muted); font-size: .75rem; }.profile-ticket-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: .35rem; }.profile-ticket-actions .btn { white-space: nowrap; }
.lv-dark { background: #151426 !important; color: #eeeef8 !important; --surface: #211f36; --surface-2: #19182b; --line: #35324e; --ink: #f1f0ff; --muted: #aaa6c7; }
.lv-dark .topbar, .lv-dark .card, .lv-dark .stat-card, .lv-dark .lv-live-tools, .lv-dark table.data, .lv-dark table.data th, .lv-dark table.data td, .lv-dark .appearance-toggle { background: #211f36; color: #eeeef8; border-color: #35324e; }
.lv-dark table.data th { background: #292641; color: #b9b4d2; }.lv-dark table.data td { color: #e1def3; border-bottom-color: #302d47; }.lv-dark table.data tbody tr:hover { background: #292641; }.lv-dark .btn.secondary { background: #292641; color: #ddd9f5; border-color: #454061; }.lv-dark form:not(.inline) input:not([type=checkbox]):not([type=radio]), .lv-dark form:not(.inline) select, .lv-dark form:not(.inline) textarea { background: #19182b; color: #f1f0ff; border-color: #454061; }

@media (max-width: 1050px) { .grid-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) {
  html, body { width: 100%; min-width: 0; }
  .page-shell { width: 100%; overflow: hidden; }
  .topbar-tools { width: 100%; justify-content: flex-end; }
  .who { max-width: calc(100vw - 90px); overflow: hidden; text-overflow: ellipsis; }
  main { width: 100%; max-width: 100%; padding: 22px 14px 38px; }
  main > h1, .toolbar h1 { font-size: 1.55rem; }
  .toolbar { align-items: flex-start; flex-direction: column; width: 100%; }
  .toolbar > div { max-width: 100%; }
  .actions, .quick-actions { width: 100%; }
  .actions .btn, .quick-actions .btn { flex: 1 1 auto; min-width: 130px; }
  .card { padding: 1rem; }
  .grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat-card { min-width: 0; padding: .9rem; }
  .stat-card .num { font-size: 1.5rem; overflow-wrap: anywhere; }
  .table-wrap, main > table.data { width: 100%; max-width: 100%; -webkit-overflow-scrolling: touch; }
  table.data { min-width: 620px; }
  table.data th, table.data td { padding: .72rem .7rem; }
  form:not(.inline) { max-width: 100%; }
  form:not(.inline) > div[style*="grid"], form:not(.inline) .form-grid, form:not(.inline) .grid { grid-template-columns: 1fr !important; }
  .lv-live-tools { position: sticky; top: 66px; align-items: stretch; }
  .lv-live-tools input, .lv-live-tools select, .lv-live-tools button { width: 100%; flex: 1 1 100%; }
  .lv-live-tools .lv-live-count { margin-left: 0; width: 100%; }
  .lv-chart-tools { align-items: stretch; }
  .lv-chart-metric, .lv-chart-export { flex: 1 1 45%; text-align: center; }
  .ticket-page { padding: 1rem .7rem; }
  .ticket-card { width: 100%; }
  .ticket-body { align-items: flex-start; gap: .75rem; padding: 1rem; }
  .ticket-body .qr canvas { width: 112px; height: 112px; }
  .ticket-info { min-width: 0; overflow-wrap: anywhere; }
  .ticket-foot { gap: .7rem; align-items: flex-start; flex-direction: column; }
  .ticket-page .actions { width: 100%; }
  .ticket-page .actions a, .ticket-page .actions button { min-width: 0; }
  .request-main { padding: 2.5rem .8rem; }
  .request-grid { grid-template-columns: 1fr; gap: .7rem; }
  .request-header { padding-inline: .8rem; }
  .request-header .btn { min-height: 34px; padding: .4rem .6rem; }
  .profile-layout { grid-template-columns: 1fr; }
  .profile-ticket { align-items: flex-start; flex-direction: column; }
  .profile-ticket-actions { width: 100%; justify-content: flex-start; }
  .profile-ticket-actions .btn { min-width: 120px; }
  .landing header.site { padding: .85rem 1rem; }
  .landing header.site nav { display: flex; align-items: center; gap: .5rem; }
  .landing header.site nav .btn { padding: .5rem .7rem; font-size: .76rem; }
  .landing .hero { padding: 4.5rem 1rem 3.5rem; }
  .landing .event-hero { min-height: 590px; padding-top: 3.5rem; }
  .event-hero-content h1 { font-size: clamp(2.2rem, 11vw, 4rem); }
  .event-hero-content p { font-size: .94rem; }
  .landing .hero h1 { font-size: clamp(2.1rem, 10vw, 3.2rem); }
  .landing .hero p { font-size: .98rem; }
  .landing section { padding: 2.7rem 1rem; }
  .landing .features, .landing .steps { grid-template-columns: 1fr; }
  .landing .feature { padding: 1.15rem; }
  .landing .stats { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .landing .stats .stat { padding: 1.15rem .6rem; }
  .landing footer { padding: 1.8rem 1rem; }
  .product-preview { min-height: 250px; padding: 7px; }
  .preview-sidebar { width: 48px; padding-inline: 5px; }
  .preview-sidebar i { margin-inline: 5px; }
  .preview-main { padding: 12px; }
  .preview-grid { grid-template-columns: 1fr; }
  .preview-feed { display: none; }
}
@media (max-width: 520px) {
  .topbar { padding-left: 62px; padding-right: 10px; }
  .topbar form { width: 100%; }
  .topbar-tools { gap: 7px; }
  .appearance-toggle { flex: 0 0 34px; }
  .who { font-size: .75rem; }
  .who .badge { display: none; }
  .logout { margin-left: 3px; }
  .grid-cards { grid-template-columns: 1fr 1fr; gap: 8px; }
  .stat-card { min-height: 88px; padding: .75rem; }
  .stat-card .num { font-size: 1.3rem; }
  .stat-card .label { font-size: .68rem; }
  .actions .btn, .quick-actions .btn { min-width: 100%; }
  .ticket-body { flex-direction: column; align-items: center; text-align: center; }
  .ticket-info { width: 100%; }
  .ticket-info .row { overflow-wrap: anywhere; }
  .ticket-page .actions a, .ticket-page .actions button { flex: 1 1 100%; }
  .hero-proof { align-items: flex-start; flex-direction: column; width: max-content; margin-left: auto; margin-right: auto; }
  .preview-stats { gap: 5px; }
  .preview-stats span { padding: 8px 6px; }
  .preview-stats b { font-size: .95rem; }
  .preview-stats small { font-size: .55rem; }
  .landing .stats .num { font-size: 1.3rem; }
}
@media (max-width: 360px) { .grid-cards { grid-template-columns: 1fr; } .lv-chart-metric, .lv-chart-export { flex-basis: 100%; } }
@media print { .landing header.site, .no-print { display: none !important; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

/* Apno Event event landing */
.event-landing{--ink-deep:#1d1b2d;--paper:#f7f3ed;--muted-warm:#756d68;background:var(--paper);color:var(--ink-deep);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.event-landing a{text-decoration:none}.event-nav{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:28px;padding:17px max(20px,calc((100vw - 1240px)/2));background:rgba(247,243,237,.88);border-bottom:1px solid rgba(29,27,45,.1);backdrop-filter:blur(16px)}.event-brand{display:flex;align-items:center;gap:10px;color:var(--ink-deep);font-weight:850;letter-spacing:-.03em;white-space:nowrap}.brand-mark{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:var(--ink-deep);color:#f4b860;font-size:.64rem;letter-spacing:-.05em}.event-nav nav{display:flex;gap:24px;margin-left:auto}.event-nav nav a{color:#69615d;font-size:.77rem;font-weight:750}.nav-ticket,.ticket-button{display:inline-flex;align-items:center;justify-content:center;gap:16px;border-radius:999px;background:var(--ink-deep);color:#fff!important;font-size:.78rem;font-weight:800;box-shadow:0 10px 20px rgba(29,27,45,.16);transition:transform .18s,box-shadow .18s}.nav-ticket{padding:11px 17px}.ticket-button{padding:16px 20px}.ticket-button span{font-size:1.1rem}.nav-ticket:hover,.ticket-button:hover{transform:translateY(-2px);box-shadow:0 14px 26px rgba(29,27,45,.23)}
.event-hero-modern{position:relative;isolation:isolate;overflow:hidden;min-height:690px;padding:82px max(20px,calc((100vw - 1240px)/2)) 0;background:radial-gradient(circle at 12% 90%,rgba(236,91,72,.22),transparent 31%),radial-gradient(circle at 85% 14%,rgba(244,184,96,.25),transparent 32%),linear-gradient(135deg,#f7f3ed 0%,#e9e3d9 100%)}.event-hero-modern[style*="--event-banner"]{background-image:linear-gradient(90deg,rgba(29,27,45,.93),rgba(29,27,45,.7)),var(--event-banner);background-position:center;background-size:cover;color:#fff}.hero-noise{position:absolute;inset:0;z-index:-1;opacity:.28;background-image:radial-gradient(rgba(29,27,45,.25) .7px,transparent .7px);background-size:13px 13px;mix-blend-mode:multiply}.hero-copy{max-width:1240px;margin:0 auto}.eyebrow,.section-kicker{font-size:.68rem;font-weight:850;letter-spacing:.16em;text-transform:uppercase}.eyebrow{display:inline-flex;align-items:center;gap:9px;color:var(--event-primary)}.eyebrow span{width:8px;height:8px;border-radius:50%;background:var(--event-primary);box-shadow:0 0 0 5px color-mix(in srgb,var(--event-primary) 17%,transparent)}.hero-layout{display:grid;grid-template-columns:minmax(0,1fr) 380px;align-items:center;gap:80px;padding:38px 0 84px}.hero-presenter{margin:0 0 14px;color:var(--event-primary);font-size:.73rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.event-logo-modern{width:62px;height:62px;object-fit:contain;padding:8px;margin-bottom:15px;border-radius:17px;background:#fff}.hero-layout h1{max-width:720px;margin:0;color:inherit;font-size:clamp(4rem,9vw,8.5rem);line-height:.84;letter-spacing:-.085em}.hero-subtitle{margin:27px 0 10px;color:var(--event-primary);font-size:.82rem;font-weight:900;letter-spacing:.16em}.hero-description{max-width:520px;margin:0;color:inherit;opacity:.7;font-size:1rem;line-height:1.7}.hero-actions{display:flex;align-items:center;gap:22px;margin-top:30px}.scroll-button{color:inherit;opacity:.72;font-size:.78rem;font-weight:800}.scroll-button span{margin-left:8px;font-size:1.05rem}.poster-card{position:relative;min-height:485px;padding:14px;border:1px solid rgba(255,255,255,.35);border-radius:22px;background:#241e2e;box-shadow:22px 25px 60px rgba(29,27,45,.28);transform:rotate(3deg);overflow:hidden}.poster-topline,.poster-bottom{display:flex;justify-content:space-between;color:#f9dbc0;font-size:.6rem;font-weight:850;letter-spacing:.14em}.poster-art{position:relative;display:grid;align-content:end;min-height:407px;margin:13px 0;padding:25px;background:linear-gradient(145deg,#f15d4d,#792d48 53%,#251c37);overflow:hidden}.poster-glow{position:absolute;width:270px;height:270px;top:-60px;right:-70px;border-radius:50%;background:#f4b860;filter:blur(10px);opacity:.75}.poster-silhouette{position:absolute;top:70px;left:20px;color:rgba(255,255,255,.19);font-size:10rem;font-weight:950;letter-spacing:-.15em}.poster-artist{position:relative;color:#fff;font-size:2.1rem;font-weight:900;line-height:.82;letter-spacing:-.08em}.poster-artist strong{color:#f4b860;font-size:3.4rem}.poster-bottom{color:#fff}.hero-marquee{position:absolute;bottom:0;left:0;display:flex;width:100%;gap:65px;padding:14px 0;border-top:1px solid rgba(29,27,45,.14);overflow:hidden;color:rgba(29,27,45,.42);font-size:.62rem;font-weight:850;letter-spacing:.16em;text-transform:uppercase;white-space:nowrap}.event-hero-modern[style*="--event-banner"] .hero-marquee{color:rgba(255,255,255,.68);border-color:rgba(255,255,255,.2)}
.event-details-section,.sponsors-section,.artists-section{max-width:1240px;margin:0 auto;padding:112px 20px}.section-intro{max-width:560px;margin-bottom:42px}.section-kicker{margin:0 0 12px;color:var(--event-primary)}.section-intro h2,.final-cta h2{margin:0;font-size:clamp(2.7rem,5vw,5rem);line-height:.92;letter-spacing:-.075em}.section-intro h2 em,.final-cta h2 em{color:var(--event-primary);font-family:Georgia,serif;font-weight:400}.section-intro>p:last-child{margin:22px 0 0;color:var(--muted-warm);line-height:1.6}.detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.detail-card{display:flex;min-height:220px;flex-direction:column;padding:25px;border:1px solid rgba(29,27,45,.13);border-radius:17px;background:rgba(255,255,255,.46);transition:transform .2s,background .2s}.detail-card:hover{transform:translateY(-4px);background:#fff}.detail-card-featured{background:var(--ink-deep);color:#fff}.detail-icon{font-size:1.45rem;color:var(--event-primary)}.detail-card small{margin-top:auto;color:var(--muted-warm);font-size:.68rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase}.detail-card-featured small{color:#b7b1be}.detail-card strong{margin:8px 0 4px;font-size:1.25rem;letter-spacing:-.04em}.detail-card>span:not(.detail-icon){color:var(--muted-warm);font-size:.79rem}.detail-card-featured>span:not(.detail-icon){color:#d9d2d7}.inline-link{margin-top:14px;color:var(--event-primary);font-size:.75rem;font-weight:850}.event-note{display:flex;gap:14px;margin-top:16px;padding:18px 20px;border-radius:14px;background:#efe6d8;color:#59504d;font-size:.78rem;line-height:1.6}.event-note span{color:var(--event-primary);font-size:1.2rem}.event-note p{margin:0}
.sponsors-section{border-top:1px solid rgba(29,27,45,.1)}.sponsor-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.sponsor-card{display:flex;align-items:center;gap:16px;min-height:154px;padding:18px;border:1px solid rgba(29,27,45,.13);border-radius:15px;color:var(--ink-deep);background:rgba(255,255,255,.38);transition:transform .2s,background .2s}.sponsor-card:hover{transform:translateY(-4px);background:#fff}.sponsor-mark{display:grid;place-items:center;flex:none;width:52px;height:52px;border-radius:50%;background:var(--ink-deep);color:#f4b860;font-size:.77rem;font-weight:900}.sponsor-card small,.sponsor-card em,.sponsor-card b{display:block}.sponsor-card small{color:var(--event-primary);font-size:.58rem;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.sponsor-card strong{display:block;margin:5px 0;color:var(--ink-deep);font-size:1rem}.sponsor-card em{color:var(--muted-warm);font-size:.68rem;font-style:normal}.sponsor-card b{margin-top:12px;color:var(--ink-deep);font-size:.64rem}
.artists-section{padding-top:0}.artist-slider{position:relative;min-height:450px;border-radius:22px;overflow:hidden;background:#241e2e}.artist-slide{position:absolute;inset:0;opacity:0;transition:opacity .45s;pointer-events:none}.artist-slide.is-active{opacity:1;pointer-events:auto}.artist-slide img{width:100%;height:450px;object-fit:cover;filter:saturate(.76)}.artist-overlay{position:absolute;inset:auto 28px 28px;color:#fff}.artist-overlay small{color:#f4b860;font-size:.7rem;font-weight:850;letter-spacing:.12em;text-transform:uppercase}.artist-overlay h3{margin:6px 0 0;font-size:clamp(2rem,5vw,4.5rem);line-height:.9;letter-spacing:-.08em}.slider-controls{position:absolute;right:24px;bottom:25px;z-index:2;display:flex;align-items:center;gap:16px;color:#fff;font-size:.73rem}.slider-controls button{display:grid;place-items:center;width:36px;height:36px;border:1px solid rgba(255,255,255,.45);border-radius:50%;background:rgba(29,27,45,.4);color:#fff;cursor:pointer}.slider-controls b{color:#f4b860}.final-cta{display:flex;align-items:center;justify-content:space-between;gap:30px;max-width:1240px;margin:0 auto 110px;padding:60px 20px;border-top:1px solid rgba(29,27,45,.12);border-bottom:1px solid rgba(29,27,45,.12)}.final-cta .ticket-button{padding:20px 25px}.whatsapp-float{position:fixed;right:20px;bottom:20px;z-index:40;display:grid;grid-template-columns:37px auto;column-gap:9px;align-items:center;padding:11px 16px 11px 10px;border-radius:999px;background:#25d366;color:#0d3b21;box-shadow:0 12px 25px rgba(37,211,102,.35)}.whatsapp-float span{grid-row:span 2;display:grid;place-items:center;width:37px;height:37px;border-radius:50%;background:#fff;font-size:1.45rem}.whatsapp-float b{font-size:.7rem}.whatsapp-float small{font-size:.62rem}.event-footer{display:flex;justify-content:space-between;gap:20px;padding:25px max(20px,calc((100vw - 1240px)/2));background:var(--ink-deep);color:#bdb5bd;font-size:.68rem}.event-footer a{color:#f4b860}.empty-event{max-width:900px;margin:auto;padding:160px 20px;text-align:center}.empty-event h1{font-size:clamp(3rem,8vw,6rem);letter-spacing:-.08em}
@media(max-width:800px){.event-nav{gap:12px;padding:13px 16px}.event-nav nav{display:none}.event-brand{font-size:.83rem}.nav-ticket{margin-left:auto;padding:10px 12px;font-size:.65rem}.event-hero-modern{min-height:auto;padding:55px 20px 0}.hero-layout{grid-template-columns:1fr;gap:42px;padding:30px 0 74px}.hero-layout h1{font-size:clamp(3.8rem,18vw,7rem)}.hero-description{font-size:.9rem}.poster-card{width:min(100%,330px);min-height:410px;margin:0 auto;transform:rotate(2deg)}.poster-art{min-height:338px}.hero-actions{flex-wrap:wrap;gap:16px}.event-details-section,.sponsors-section,.artists-section{padding:75px 20px}.detail-grid,.sponsor-grid{grid-template-columns:1fr}.detail-card{min-height:180px}.artist-slider,.artist-slide img{min-height:360px;height:360px}.final-cta{align-items:flex-start;flex-direction:column;margin-bottom:70px;padding:45px 20px}.final-cta h2{font-size:3.5rem}.event-footer{flex-direction:column;gap:9px}.whatsapp-float{right:12px;bottom:12px}.hero-marquee{gap:35px}.hero-marquee span{display:none}.hero-marquee span:first-child{display:block}}
@media(prefers-reduced-motion:reduce){.artist-slide,.detail-card,.sponsor-card,.ticket-button{transition:none!important}}

.public-copyright{padding:0 20px 24px;text-align:center;color:#8a8290;font-size:.7rem}.public-copyright a{color:var(--primary-strong);font-weight:800}

.payment-choice{display:flex;flex-wrap:wrap;gap:12px;margin:1rem 0 0;padding:0;border:0}.payment-choice legend{width:100%;margin-bottom:.35rem;color:#494562;font-size:.79rem;font-weight:750}.payment-choice label{display:flex;align-items:center;gap:7px;padding:.65rem .8rem;border:1px solid var(--line);border-radius:10px;background:#fff;cursor:pointer}.payment-choice input{accent-color:var(--primary)}.payment-box{margin:10px 0 16px;padding:14px;border:1px solid #e3e0ee;border-radius:14px;background:#faf9ff;color:#514d67}.payment-box[hidden]{display:none}.payment-box p{margin:.35rem 0;font-size:.78rem;line-height:1.55}.upi-payment-content{display:flex;align-items:center;gap:16px;margin-bottom:12px}.upi-payment-content canvas{flex:none;width:150px;height:150px;border-radius:8px;background:#fff}.upi-id{font-weight:800;color:var(--primary-strong)}@media(max-width:520px){.upi-payment-content{align-items:flex-start;flex-direction:column}.upi-payment-content canvas{width:170px;height:170px}.payment-choice label{flex:1;justify-content:center}}

/* Final landing polish and legacy-selector isolation */
.event-landing,.event-landing body{overflow-x:hidden}.event-landing main{width:100%;max-width:none;padding:0}.event-landing section{max-width:none}.event-landing .event-nav{width:100%;min-height:68px}.event-landing .event-nav a:focus-visible,.event-landing .ticket-button:focus-visible,.event-landing .whatsapp-float:focus-visible,.event-landing .slider-controls button:focus-visible{outline:3px solid color-mix(in srgb,var(--event-primary) 45%,white);outline-offset:4px}.event-landing .hero-noise{pointer-events:none}.event-landing .poster-card{will-change:transform}.event-landing .poster-card:hover{transform:rotate(1deg) translateY(-5px);transition:transform .25s cubic-bezier(.23,1,.32,1)}.event-landing .sponsor-card>span:last-child{min-width:0}.event-landing .sponsor-card strong,.event-landing .sponsor-card em{overflow-wrap:anywhere}.event-landing .artist-slide[aria-hidden="true"]{visibility:hidden}.event-landing .artist-slide.is-active{visibility:visible}.event-landing .event-footer{min-height:76px}.event-landing .whatsapp-float{max-width:calc(100vw - 24px)}
@media(max-width:1050px) and (min-width:801px){.event-landing .hero-layout{grid-template-columns:minmax(0,1fr) 310px;gap:42px}.event-landing .poster-card{min-height:420px}.event-landing .poster-art{min-height:350px}.event-landing .hero-layout h1{font-size:clamp(4rem,8vw,6.5rem)}}
@media(max-width:800px){.event-landing .event-nav{min-height:62px}.event-landing .event-hero-modern{padding-left:16px;padding-right:16px}.event-landing .hero-copy{width:100%}.event-landing .hero-layout{padding-top:26px}.event-landing .hero-layout h1{max-width:100%;font-size:clamp(3.5rem,17vw,6.4rem);overflow-wrap:break-word}.event-landing .hero-description{max-width:38rem}.event-landing .event-details-section,.event-landing .sponsors-section,.event-landing .artists-section{padding-left:16px;padding-right:16px}.event-landing .detail-grid,.event-landing .sponsor-grid{gap:10px}.event-landing .sponsor-card{min-height:136px;padding:15px}.event-landing .sponsor-mark{width:46px;height:46px}.event-landing .artist-slider,.event-landing .artist-slide img{height:390px;min-height:390px}.event-landing .final-cta{padding-left:16px;padding-right:16px}.event-landing .event-footer{padding-left:16px;padding-right:16px}.event-landing .whatsapp-float{right:12px;bottom:max(12px,env(safe-area-inset-bottom));padding:9px 13px 9px 8px}.event-landing .whatsapp-float span{width:34px;height:34px}.event-landing .whatsapp-float b{font-size:.65rem}.event-landing .whatsapp-float small{font-size:.58rem}}
@media(max-width:480px){.event-landing .event-brand{gap:7px;font-size:.76rem}.event-landing .brand-mark{width:29px;height:29px}.event-landing .nav-ticket{padding:9px 10px;font-size:.6rem}.event-landing .eyebrow{font-size:.57rem;letter-spacing:.11em}.event-landing .hero-presenter{font-size:.62rem}.event-landing .hero-subtitle{font-size:.68rem;letter-spacing:.11em;line-height:1.45}.event-landing .hero-description{font-size:.84rem}.event-landing .hero-actions{align-items:stretch;flex-direction:column;gap:13px}.event-landing .ticket-button{width:100%;min-height:52px}.event-landing .scroll-button{text-align:center}.event-landing .poster-card{width:min(100%,310px);min-height:385px}.event-landing .poster-art{min-height:315px}.event-landing .poster-silhouette{font-size:8rem}.event-landing .poster-artist{font-size:1.75rem}.event-landing .poster-artist strong{font-size:2.8rem}.event-landing .event-details-section,.event-landing .sponsors-section,.event-landing .artists-section{padding-top:65px;padding-bottom:65px}.event-landing .section-intro{margin-bottom:28px}.event-landing .section-intro h2,.event-landing .final-cta h2{font-size:clamp(2.55rem,14vw,4rem)}.event-landing .detail-card{min-height:165px;padding:20px}.event-landing .artist-slider,.event-landing .artist-slide img{height:320px;min-height:320px}.event-landing .artist-overlay{inset:auto 18px 22px}.event-landing .artist-overlay h3{font-size:2.5rem}.event-landing .slider-controls{right:15px;bottom:17px}.event-landing .final-cta{gap:25px;margin-bottom:55px;padding-top:42px;padding-bottom:42px}.event-landing .final-cta .ticket-button{padding:17px 18px}.event-landing .event-footer{font-size:.62rem}.event-landing .event-footer span:nth-child(2){display:none}}
@media(prefers-reduced-motion:reduce){.event-landing .poster-card:hover{transform:none}.event-landing .artist-slide{transition:none}}

/* Mobile-first final pass: landing + ticket request */
.request-page{overflow-x:hidden}.request-page input,.request-page select,.request-page textarea{width:100%;min-height:48px;font-size:16px}.request-page textarea{min-height:104px;resize:vertical}.request-page input[type=file]{min-height:48px;padding:12px 10px;font-size:13px;background:#fff}.request-page .request-header{min-height:66px}.request-page .request-brand{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.request-page .request-main{box-sizing:border-box}.request-page .payment-box{overflow:hidden}.request-page .upi-payment-content canvas{max-width:100%;height:auto}.request-page .public-copyright{padding-bottom:calc(22px + env(safe-area-inset-bottom))}
@media(max-width:600px){.request-page .request-header{padding:12px 14px}.request-page .request-header .btn{flex:none;min-height:42px}.request-page .request-main{padding:24px 12px 34px}.request-page .request-card{padding:22px 16px;border-radius:18px}.request-page .request-card h1{font-size:clamp(2rem,10vw,2.65rem);line-height:1}.request-page .request-intro{font-size:.88rem;line-height:1.55}.request-page .request-grid{grid-template-columns:1fr;gap:.7rem}.request-page .field-label{margin-top:.15rem;font-size:.78rem}.request-page .payment-choice{gap:8px}.request-page .payment-choice label{flex:1 1 100%;justify-content:flex-start;min-height:48px;padding:12px 14px}.request-page .payment-box{padding:14px 12px;border-radius:14px}.request-page .upi-payment-content{gap:12px}.request-page .upi-payment-content canvas{width:170px;height:170px;align-self:center}.request-page .request-submit{min-height:54px;font-size:.9rem}.request-page .request-success{padding:30px 18px}.request-page .request-success p{font-size:.9rem;line-height:1.6}}
@media(max-width:380px){.event-landing .event-nav{gap:7px;padding-left:10px;padding-right:10px}.event-landing .event-brand{font-size:.69rem;gap:5px}.event-landing .brand-mark{width:27px;height:27px;border-radius:8px}.event-landing .nav-ticket{padding:9px 8px;font-size:.56rem;white-space:nowrap}.event-landing .hero-layout h1{font-size:clamp(3.15rem,16.5vw,5rem)}.event-landing .poster-card{width:calc(100vw - 42px)}.event-landing .whatsapp-float{right:8px;left:8px;justify-content:center;max-width:none}.event-landing .event-footer{padding-left:12px;padding-right:12px}.event-landing .event-footer a{overflow-wrap:anywhere}}

/* Verified mobile overflow correction */
.event-landing,.event-landing *,.event-landing *::before,.event-landing *::after,.request-page,.request-page *,.request-page *::before,.request-page *::after{box-sizing:border-box}.event-landing .event-nav{width:100%;max-width:100%;box-sizing:border-box}.event-landing .nav-ticket{min-width:0;max-width:165px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.request-page .request-card,.request-page input,.request-page select,.request-page textarea,.request-page .request-header{box-sizing:border-box;max-width:100%}
@media(max-width:480px){.event-landing .event-nav{gap:8px}.event-landing .event-brand{min-width:0;flex:1 1 auto;overflow:hidden}.event-landing .event-brand>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.event-landing .nav-ticket{flex:0 1 auto;max-width:145px}.request-page .request-header{width:100%}.request-page .request-main{width:100%}}

/* Admin ticket requests: readable stacked cards on small screens */
@media (max-width: 760px){
  .ticket-requests-wrap{overflow:visible;margin-inline:-2px}
  .ticket-requests-table,.ticket-requests-table tbody,.ticket-requests-table tr,.ticket-requests-table td{display:block;width:100%;min-width:0}
  .ticket-requests-table{border-collapse:separate;border-spacing:0}
  .ticket-requests-table thead{display:none}
  .ticket-requests-table tbody{display:grid;gap:14px}
  .ticket-requests-table tr{background:var(--surface);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow-sm);overflow:hidden;padding:14px 16px}
  .ticket-requests-table td{border:0;padding:8px 0 8px 38%;position:relative;text-align:right;min-height:38px;overflow-wrap:anywhere}
  .ticket-requests-table td+td{border-top:1px solid var(--line)}
  .ticket-requests-table td::before{position:absolute;left:0;top:8px;width:34%;color:var(--muted);content:'';font-size:.68rem;font-weight:800;letter-spacing:.08em;text-align:left;text-transform:uppercase}
  .ticket-requests-table td:nth-child(1)::before{content:'Visitor'}
  .ticket-requests-table td:nth-child(2)::before{content:'Event'}
  .ticket-requests-table td:nth-child(3)::before{content:'Payment'}
  .ticket-requests-table td:nth-child(4)::before{content:'Ticket'}
  .ticket-requests-table td:nth-child(5)::before{content:'Requested'}
  .ticket-requests-table td:nth-child(6)::before{content:'Status'}
  .ticket-requests-table td:nth-child(7)::before{content:'Actions'}
  .ticket-requests-table td:nth-child(7){padding-left:0;padding-top:12px;text-align:left}
  .ticket-requests-table td:nth-child(7)::before{position:static;display:block;width:auto;margin-bottom:9px}
  .ticket-requests-table .request-actions{display:flex;flex-wrap:wrap;gap:8px}
  .ticket-requests-table .request-actions form,.ticket-requests-table .request-actions .btn,.ticket-requests-table td:nth-child(7)>.btn{width:100%;margin:0}
  .ticket-requests-table td:nth-child(7) .btn{min-height:44px}
  .ticket-requests-table a{overflow-wrap:anywhere}
  .ticket-requests-table .pill{display:inline-block}
}

/* Admin mobile UX: cards, forms, dashboard stats and analytics */
@media (max-width:820px){
  .grid-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .grid-cards .stat-card{min-height:96px;padding:14px}
  .grid-cards .stat-card .num{font-size:1.45rem}
  .toolbar{align-items:stretch;flex-direction:column;gap:10px}
  .toolbar .actions{width:100%}
  .toolbar .actions .btn{flex:1 1 180px;text-align:center}
  .user-form-grid{grid-template-columns:1fr!important;gap:.2rem!important}
  .user-create-form input,.user-create-form select,.user-create-form button{min-height:46px;width:100%;font-size:16px}
  .mobile-users-table,.mobile-dashboard-table{min-width:0!important}
}
@media (max-width:560px){
  .grid-cards{grid-template-columns:1fr}
  .grid-cards .stat-card{min-height:84px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px}
  .grid-cards .stat-card .label{margin-top:0;text-align:right}
  .page-shell main h1{font-size:clamp(1.5rem,7vw,2rem)}
  .lv-chart-tools{display:grid;grid-template-columns:1fr 1fr}
  .lv-chart-tools .lv-chart-export{grid-column:1/-1;width:100%}
  .mobile-users-table,.mobile-dashboard-table{border-collapse:separate;border-spacing:0}
  .mobile-users-table,.mobile-users-table tbody,.mobile-users-table tr,.mobile-users-table td,.mobile-dashboard-table,.mobile-dashboard-table tbody,.mobile-dashboard-table tr,.mobile-dashboard-table td{display:block;width:100%}
  .mobile-users-table thead,.mobile-dashboard-table thead{display:none}
  .mobile-users-table tbody,.mobile-dashboard-table tbody{display:grid;gap:12px}
  .mobile-users-table tr,.mobile-dashboard-table tr{background:var(--surface);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow-sm);overflow:hidden;padding:12px 14px}
  .mobile-users-table td,.mobile-dashboard-table td{border:0;border-top:1px solid var(--line);min-height:38px;padding:8px 0 8px 38%;position:relative;text-align:right;overflow-wrap:anywhere}
  .mobile-users-table td:first-child,.mobile-dashboard-table td:first-child{border-top:0}
  .mobile-users-table td::before,.mobile-dashboard-table td::before{position:absolute;left:0;top:8px;width:34%;color:var(--muted);font-size:.66rem;font-weight:800;letter-spacing:.07em;text-align:left;text-transform:uppercase}
  .mobile-users-table td:nth-child(1)::before{content:'Name'} .mobile-users-table td:nth-child(2)::before{content:'Email'} .mobile-users-table td:nth-child(3)::before{content:'Role'} .mobile-users-table td:nth-child(4)::before{content:'Status'} .mobile-users-table td:nth-child(5)::before{content:'Last login'} .mobile-users-table td:nth-child(6)::before{content:'Actions'}
  .mobile-dashboard-table td:nth-child(1)::before{content:'Gate / Time'} .mobile-dashboard-table td:nth-child(2)::before{content:'Entries / Result'} .mobile-dashboard-table td:nth-child(3)::before{content:'Customer'}
  .mobile-users-table td:nth-child(6){padding-left:0;text-align:left}.mobile-users-table td:nth-child(6)::before{position:static;display:block;width:auto;margin-bottom:8px}
  .mobile-users-table td:nth-child(6) form{display:block!important;margin:0 0 8px!important}.mobile-users-table td:nth-child(6) .btn{width:100%;min-height:44px}
  .mobile-users-table select{min-height:42px;max-width:100%;font-size:16px}
}

/* Auth form mobile spacing and touch targets */
.auth-page{padding:16px}.auth-page .auth-card{padding:clamp(22px,7vw,40px);max-width:400px}.auth-page .auth-card input{min-height:48px;font-size:16px}.auth-page .auth-card button{min-height:50px;margin-top:1.25rem}.auth-page .remember{min-height:44px}.auth-page .remember input{width:20px;height:20px}.auth-page .remember label{font-size:.9rem}
@media(max-width:380px){.auth-page{padding:10px}.auth-page .auth-card{padding:22px 18px}.auth-page h1{font-size:1.3rem}.auth-page .auth-card button{min-height:52px}}

/* Ensure the request approval card layout can override the shared table minimum width. */
@media(max-width:760px){.ticket-requests-table{min-width:0!important}}

/* Ticket approval search/date filters */
.request-filters{display:flex;align-items:flex-end;flex-wrap:wrap;gap:10px;margin:0 0 14px;padding:12px;border:1px solid var(--line);border-radius:14px;background:var(--surface);box-shadow:var(--shadow-sm)}
.request-filters label{display:flex;flex:1 1 170px;flex-direction:column;gap:5px;color:var(--muted);font-size:.7rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.request-filters label:first-of-type{flex:2 1 260px}.request-filters input{box-sizing:border-box;width:100%;min-height:42px;padding:9px 11px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink);font-size:.9rem;letter-spacing:normal;text-transform:none}.request-filters .btn{min-height:42px;white-space:nowrap}
@media(max-width:560px){.request-filters{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:11px}.request-filters label,.request-filters label:first-of-type{grid-column:1/-1;flex:auto}.request-filters label:nth-of-type(2),.request-filters label:nth-of-type(3){grid-column:span 1}.request-filters .btn{width:100%;min-height:46px}.request-filters .btn:last-child{grid-column:span 1}}

/* District-inspired Apno Event discovery landing */
.district-inspired{--ink:#191919;--muted:#737373;--paper:#fffdf9;--line:#e9e4dd;background:var(--paper);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;overflow-x:hidden}.district-inspired *{box-sizing:border-box}.district-inspired a{color:inherit}.discover-header{position:sticky;top:0;z-index:20;background:rgba(255,253,249,.94);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}.discover-top,.discover-search,.discover-tabs,.discover-main,.discover-footer{width:min(1180px,calc(100% - 40px));margin-inline:auto}.discover-top{display:flex;align-items:center;gap:24px;height:74px}.discover-brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-size:1.12rem;letter-spacing:-.03em}.discover-mark{display:grid;place-items:center;width:35px;height:35px;border-radius:11px;background:var(--ink);color:#fff;font-weight:900;font-size:.8rem}.location-button{display:flex;align-items:center;gap:9px;margin-left:20px;border:0;background:none;color:var(--ink);text-align:left;cursor:pointer}.location-button>span:first-child{font-size:1.25rem}.location-button small,.location-button b{display:block}.location-button small{color:var(--muted);font-size:.65rem;font-weight:700}.location-button b{font-size:.82rem}.location-button i{color:var(--muted);font-style:normal}.discover-help{margin-left:auto;text-decoration:none;font-weight:750;font-size:.84rem}.discover-search{display:flex;align-items:center;gap:10px;height:48px;padding:0 15px;border:1px solid var(--line);border-radius:13px;background:#f5f2ed;color:var(--muted)}.discover-search>span{font-size:1.35rem}.discover-search input{width:100%;border:0;outline:0;background:transparent;color:var(--ink);font-size:.92rem}.discover-search kbd{padding:4px 7px;border:1px solid #ddd6ce;border-radius:6px;color:#999;font-size:.65rem;white-space:nowrap}.discover-tabs{display:flex;gap:28px;height:53px;align-items:flex-end}.discover-tabs a{position:relative;padding:0 0 14px;color:#777;text-decoration:none;font-size:.84rem;font-weight:750}.discover-tabs a.is-active{color:var(--ink)}.discover-tabs a.is-active:after{position:absolute;right:0;bottom:0;left:0;height:3px;border-radius:3px;background:var(--event-primary);content:""}.discover-main{padding:62px 0 80px}.discover-hero{display:flex;align-items:center;justify-content:space-between;min-height:170px;padding-bottom:38px}.discover-eyebrow,.discover-kicker{margin:0 0 10px;color:var(--event-primary);font-size:.7rem;font-weight:850;letter-spacing:.12em;text-transform:uppercase}.discover-hero h1{max-width:650px;margin:0;font-size:clamp(2.5rem,6vw,5rem);line-height:.94;letter-spacing:-.075em}.discover-hero h1 em,.discover-section h2 em{color:var(--event-primary);font-style:normal}.discover-intro{max-width:470px;margin:18px 0 0;color:var(--muted);font-size:1rem}.hero-orbit{display:grid;place-items:center;width:145px;height:145px;margin-right:8%;border:1px solid #e7ddd0;border-radius:50%;background:radial-gradient(circle,#fff 0 42%,#f4eee7 43% 44%,transparent 45%);transform:rotate(9deg)}.hero-orbit span{font-size:.63rem;font-weight:900;letter-spacing:.16em}.hero-orbit b{color:var(--event-primary);font-size:1.35rem}.hero-orbit small{text-align:center;font-size:.55rem;line-height:1.2;letter-spacing:.1em}.discover-section{padding:38px 0}.discover-section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:20px}.discover-section-heading h2{margin:0;font-size:clamp(1.6rem,3vw,2.35rem);letter-spacing:-.06em}.discover-section-heading>a{color:var(--event-primary);font-size:.82rem;font-weight:850;text-decoration:none}.discover-muted{color:var(--muted);font-size:.75rem}.featured-event-card{display:grid;grid-template-columns:minmax(0,1.42fr) minmax(290px,.78fr);min-height:390px;overflow:hidden;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 16px 40px rgba(61,42,21,.08)}.featured-event-image{position:relative;display:flex;align-items:end;min-height:390px;background:var(--featured-image),linear-gradient(135deg,var(--event-primary),#1b1b1b);background-position:center;background-size:cover}.featured-image-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.72))}.featured-badge{position:absolute;top:20px;left:20px;padding:7px 10px;border-radius:999px;background:#fff;color:var(--ink);font-size:.66rem;font-weight:850}.featured-image-copy{position:relative;padding:28px;color:#fff}.featured-image-copy small{font-size:.72rem;font-weight:700;opacity:.82}.featured-image-copy h2{max-width:580px;margin:8px 0 0;font-size:clamp(2rem,4vw,3.5rem);line-height:.94;letter-spacing:-.07em}.featured-event-info{display:flex;flex-direction:column;justify-content:center;padding:34px}.event-info-line{display:flex;align-items:center;gap:10px;margin:0 0 14px}.event-info-line span{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#fff1e9;color:var(--event-primary)}.event-info-line strong{font-size:.84rem}.featured-event-info p{margin:10px 0 26px;color:var(--muted);font-size:.9rem;line-height:1.6}.discover-ticket-button{display:inline-flex;align-items:center;justify-content:space-between;gap:18px;width:max-content;min-height:46px;padding:0 16px;border-radius:10px;background:var(--ink);color:#fff!important;text-decoration:none;font-size:.8rem;font-weight:800}.discover-ticket-button span{font-size:1.1rem}.artist-row,.partner-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.artist-card{position:relative;min-height:230px;overflow:hidden;border-radius:16px;background:#222}.artist-card img{width:100%;height:270px;object-fit:cover;opacity:.87;transition:transform .25s ease}.artist-card:hover img{transform:scale(1.04)}.artist-card>div{position:absolute;right:0;bottom:0;left:0;padding:34px 18px 16px;background:linear-gradient(transparent,rgba(0,0,0,.82));color:#fff}.artist-card small,.artist-card strong{display:block}.artist-card small{font-size:.67rem;opacity:.76}.artist-card strong{margin-top:4px;font-size:1.2rem;letter-spacing:-.04em}.partner-row{grid-template-columns:repeat(4,minmax(0,1fr))}.partner-card{position:relative;display:flex;flex-direction:column;gap:16px;min-height:164px;padding:18px;border:1px solid var(--line);border-radius:15px;background:#fff;text-decoration:none;transition:transform .2s ease,box-shadow .2s ease}.partner-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(61,42,21,.08)}.partner-mark{display:grid;place-items:center;width:39px;height:39px;border-radius:11px;background:#fff0df;color:var(--event-primary);font-size:.72rem;font-weight:900}.partner-card small,.partner-card strong,.partner-card em{display:block}.partner-card small{color:var(--muted);font-size:.62rem;font-weight:800;text-transform:uppercase}.partner-card strong{margin-top:4px;font-size:.95rem;letter-spacing:-.03em}.partner-card em{margin-top:5px;color:var(--muted);font-size:.7rem;font-style:normal}.partner-card>b{position:absolute;right:15px;bottom:15px;color:var(--event-primary)}.discover-help-card{display:flex;align-items:center;justify-content:space-between;gap:30px;margin-top:45px;padding:28px 32px;border-radius:18px;background:#fff0df}.discover-help-card h2{margin:0;font-size:1.6rem;letter-spacing:-.05em}.discover-help-card p:not(.discover-kicker){margin:7px 0 0;color:var(--muted);font-size:.86rem}.discover-footer{display:flex;justify-content:space-between;gap:18px;padding:24px 0 36px;border-top:1px solid var(--line);color:var(--muted);font-size:.72rem}.discover-footer a{color:var(--event-primary);font-weight:800;text-decoration:none}.discover-empty{padding:45px;border:1px dashed var(--line);border-radius:16px;text-align:center}.discover-empty h2{margin:0}.discover-empty p{color:var(--muted)}
@media(max-width:760px){.discover-top,.discover-search,.discover-tabs,.discover-main,.discover-footer{width:min(100% - 28px,600px)}.discover-top{height:65px;gap:12px}.discover-brand strong{font-size:.98rem}.location-button{margin-left:auto}.discover-help{display:none}.discover-search{height:45px}.discover-tabs{gap:22px;height:48px;overflow:auto}.discover-tabs a{padding-bottom:12px;white-space:nowrap}.discover-main{padding-top:36px}.discover-hero{min-height:0;padding-bottom:20px}.discover-hero h1{font-size:clamp(2.35rem,12vw,4rem)}.discover-intro{font-size:.88rem;line-height:1.5}.hero-orbit{width:92px;height:92px;margin-right:0;flex:none}.hero-orbit span{font-size:.5rem}.hero-orbit small{font-size:.42rem}.discover-section{padding:28px 0}.discover-section-heading{align-items:flex-start;flex-direction:column;gap:8px;margin-bottom:15px}.discover-section-heading h2{font-size:1.7rem}.discover-section-heading>a{align-self:flex-start}.featured-event-card{display:block;border-radius:16px}.featured-event-image{min-height:260px}.featured-image-copy{padding:20px}.featured-image-copy h2{font-size:2.15rem}.featured-event-info{padding:21px}.featured-event-info p{margin-bottom:20px}.discover-ticket-button{width:100%;min-height:50px}.artist-row{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:4px}.artist-card{min-width:78%;scroll-snap-align:start}.partner-row{grid-template-columns:1fr 1fr;gap:10px}.partner-card{min-height:150px;padding:14px}.partner-card strong{font-size:.86rem}.discover-help-card{align-items:stretch;flex-direction:column;gap:16px;margin-top:24px;padding:22px}.discover-footer{align-items:flex-start;flex-direction:column;gap:8px}.discover-footer span:nth-child(2){display:none}}
@media(max-width:380px){.discover-brand strong{display:none}.location-button{margin-left:auto}.discover-hero{gap:10px}.hero-orbit{width:78px;height:78px}.partner-row{grid-template-columns:1fr}.discover-tabs{gap:17px}}

/* Interactive discovery filters */
.discover-tabs button{position:relative;padding:0 0 14px;border:0;background:none;color:#777;cursor:pointer;font:inherit;font-size:.84rem;font-weight:750;white-space:nowrap}.discover-tabs button.is-active{color:var(--ink)}.discover-tabs button.is-active:after{position:absolute;right:0;bottom:0;left:0;height:3px;border-radius:3px;background:var(--event-primary);content:""}.discover-filter-empty{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 36px;padding:24px;border:1px dashed #ddcfc0;border-radius:16px;background:#fff8ef}.discover-filter-empty strong{font-size:1rem}.discover-filter-empty span{color:var(--muted);font-size:.82rem}@media(max-width:560px){.discover-tabs button{padding-bottom:12px;font-size:.78rem}.discover-filter-empty{align-items:flex-start;flex-direction:column;gap:6px;margin-bottom:22px;padding:18px}}
