:root {
  --navy: #0d2a5c;
  --navy-2: #163a7a;
  --ink: #0f1b33;
  --muted: #5b6784;
  --orange: #f26419;
  --orange-2: #ff8a3d;
  --orange-soft: #fff1e8;
  --paper: #f6f8fc;
  --card: #ffffff;
  --line: #e3e8f2;
  --green: #12925a;
  --green-soft: #e6f6ee;
  --red: #c62f2f;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(13, 42, 92, .10);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Poppins", "Inter", system-ui, sans-serif;
  --telugu: "Noto Sans Telugu", "Poppins", sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.55; min-height: 100vh; }
a { color: var(--navy-2); }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0 0 .4em; color: var(--navy); }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 560px; }

/* Header */
.top { background: var(--navy); color: #fff; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 62px; }
.brand { color: #fff; text-decoration: none; display: flex; flex-direction: column; line-height: 1.1; }
.brand b { font-family: var(--display); font-size: 1.02rem; letter-spacing: .06em; }
.brand small { font-size: .66rem; opacity: .7; letter-spacing: .08em; text-transform: uppercase; margin-top: 3px; }
.top .pill { font-size: .72rem; font-weight: 600; background: var(--orange); color: #fff; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }

/* Brush-stroke highlight, echoing the creative */
.mark { position: relative; white-space: nowrap; z-index: 0; color: #fff; padding: 0 .18em; }
.mark::before { content: ""; position: absolute; inset: .08em -.06em .02em; background: var(--orange); transform: skew(-8deg) rotate(-1.2deg); border-radius: 4px; z-index: -1; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; cursor: pointer; font: 600 1rem var(--display); text-decoration: none; padding: 15px 26px; border-radius: 999px; background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(242, 100, 25, .32); transition: transform .15s ease, box-shadow .15s ease, background .15s; }
.btn:hover { background: #e2560d; transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn.block { width: 100%; }
.btn.ghost { background: transparent; color: var(--navy); box-shadow: none; border: 1.5px solid var(--line); }
.btn.ghost:hover { background: #fff; }
.btn.navy { background: var(--navy); box-shadow: 0 8px 20px rgba(13, 42, 92, .25); }
.btn.green { background: var(--green); box-shadow: 0 8px 20px rgba(18, 146, 90, .3); }
.btn.sm { padding: 8px 14px; font-size: .82rem; box-shadow: none; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link-btn { background: none; border: 0; color: var(--muted); font: inherit; cursor: pointer; text-decoration: underline; padding: 0; }

/* Landing */
.hero { background: radial-gradient(1200px 500px at 90% -20%, #1f4d9c 0%, transparent 60%), var(--navy); color: #fff; padding: 34px 0 90px; }
.hero h1 { color: #fff; font-size: clamp(1.9rem, 5.2vw, 3.2rem); font-weight: 800; letter-spacing: -.01em; }
.hero p.lead { font-size: clamp(1rem, 2.4vw, 1.15rem); color: #cfd9ef; max-width: 620px; margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-2); margin-bottom: 14px; }
.featured { margin-top: -64px; background: var(--card); border-radius: 24px; box-shadow: var(--shadow); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); overflow: hidden; }
.featured .art { background: #e9eef8; }
.featured .art img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1 / 1; }
.featured .body { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.telugu { font-family: var(--telugu); font-weight: 700; color: var(--orange); font-size: 1.05rem; }
.meta { display: grid; gap: 8px; margin: 4px 0; padding: 0; list-style: none; }
.meta li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.meta svg { flex: none; width: 20px; height: 20px; color: var(--orange); margin-top: 2px; }
.badge { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--orange-soft); color: var(--orange); padding: 4px 10px; border-radius: 999px; }
.badge.navy { background: #e8eefb; color: var(--navy-2); }
.badge.green { background: var(--green-soft); color: var(--green); }
.badge.grey { background: #eef0f4; color: var(--muted); }

.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.countdown div { background: var(--navy); color: #fff; border-radius: 14px; padding: 10px 4px; text-align: center; }
.countdown b { display: block; font: 800 1.6rem/1 var(--display); font-variant-numeric: tabular-nums; }
.countdown span { font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
.cd-label { font-size: .82rem; color: var(--muted); font-weight: 600; margin-bottom: -6px; }

.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.perk { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 12px; font-size: .84rem; font-weight: 600; color: var(--navy); text-align: center; }
.perk i { display: block; font-style: normal; font-size: 1.3rem; margin-bottom: 4px; }

.section { padding: 44px 0 20px; }
.section h2 { font-size: 1.4rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.ev-card { background: var(--card); border: 2px solid transparent; border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 10px rgba(13, 42, 92, .06); text-decoration: none; color: inherit; cursor: pointer; text-align: left; font: inherit; padding: 0; transition: border-color .15s, transform .15s; }
.ev-card:hover { transform: translateY(-2px); }
.ev-card.selected { border-color: var(--orange); }
.ev-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; background: #e9eef8; }
.ev-card .in { padding: 14px 16px 16px; }
.ev-card h3 { font-size: 1.02rem; margin: 6px 0 4px; }
.ev-card p { margin: 0; color: var(--muted); font-size: .88rem; }
.ev-card.past { filter: grayscale(.85); opacity: .8; cursor: default; }
.empty { background: var(--card); border-radius: var(--radius); padding: 28px; text-align: center; color: var(--muted); }

.autogo { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); width: min(460px, calc(100% - 32px)); background: var(--ink); color: #fff; border-radius: 16px; padding: 12px 14px; display: flex; gap: 12px; align-items: center; box-shadow: 0 16px 40px rgba(0, 0, 0, .25); z-index: 20; font-size: .9rem; overflow: hidden; }
.autogo .bar { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--orange); width: 100%; transform-origin: left; animation: shrink 5s linear forwards; }
.autogo button { margin-left: auto; background: rgba(255, 255, 255, .12); color: #fff; border: 0; border-radius: 999px; padding: 7px 12px; font: 600 .8rem var(--font); cursor: pointer; white-space: nowrap; }
@keyframes shrink { to { transform: scaleX(0); } }

footer.foot { padding: 34px 0 110px; color: var(--muted); font-size: .8rem; text-align: center; }

/* Registration: one question at a time */
.reg { min-height: calc(100vh - 62px); display: flex; flex-direction: column; }
.reg-head { background: var(--navy); color: #fff; padding: 18px 0 22px; }
.reg-head h1 { color: #fff; font-size: 1.15rem; margin: 0; }
.reg-head p { margin: 2px 0 0; color: #cfd9ef; font-size: .85rem; }
.progress { height: 6px; background: rgba(255, 255, 255, .15); border-radius: 99px; margin-top: 14px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: var(--orange); border-radius: 99px; transition: width .35s ease; }
.steps { flex: 1; padding: 28px 0 40px; }
.step { animation: rise .35s ease both; }
.js .step { display: none; }
.js .step.active { display: block; }
.no-js .step { margin-bottom: 30px; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.step .q-no { font: 700 .78rem var(--display); color: var(--orange); letter-spacing: .1em; text-transform: uppercase; }
.step h2 { font-size: clamp(1.4rem, 4.6vw, 1.9rem); margin: 6px 0 6px; }
.step .hint { color: var(--muted); margin: 0 0 18px; font-size: .95rem; }
.field { width: 100%; font: 500 1.15rem var(--font); padding: 16px 18px; border: 2px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); outline: none; transition: border-color .15s, box-shadow .15s; }
.field:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(242, 100, 25, .12); }
.phone-wrap { display: flex; align-items: stretch; gap: 8px; }
.phone-wrap .cc { display: flex; align-items: center; padding: 0 14px; border: 2px solid var(--line); border-radius: 14px; background: #fff; font-weight: 600; color: var(--muted); }
.choices { display: grid; gap: 10px; }
.choice { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 2px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; font-weight: 600; color: var(--navy); transition: border-color .15s, background .15s, transform .1s; }
.choice:hover { border-color: #c9d3e6; }
.choice:active { transform: scale(.99); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice .key { flex: none; width: 30px; height: 30px; border-radius: 9px; border: 1.5px solid var(--line); display: grid; place-items: center; font-size: .8rem; color: var(--muted); }
.choice .sub { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; margin-top: 2px; }
.choice:has(input:checked) { border-color: var(--orange); background: var(--orange-soft); }
.choice:has(input:checked) .key { background: var(--orange); border-color: var(--orange); color: #fff; }
.consent { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 2px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; font-weight: 500; }
.consent:has(input:checked) { border-color: var(--green); background: var(--green-soft); }
.consent input { width: 22px; height: 22px; accent-color: var(--green); flex: none; margin-top: 2px; }
.step-actions { display: flex; align-items: center; gap: 16px; margin-top: 22px; }
.step-actions .enter { font-size: .78rem; color: var(--muted); }
.err { color: var(--red); font-size: .88rem; font-weight: 500; margin-top: 10px; min-height: 1em; }
.closed { background: var(--card); border-radius: var(--radius); padding: 30px 24px; text-align: center; box-shadow: var(--shadow); }

/* Pass */
.pass-page { padding: 26px 0 50px; }
.pass { background: var(--card); border-radius: 26px; box-shadow: var(--shadow); overflow: hidden; position: relative; }
.pass-top { background: var(--navy); color: #fff; padding: 22px 22px 34px; }
.pass-top h1 { color: #fff; font-size: 1.5rem; margin: 6px 0 4px; }
.pass-top p { margin: 0; color: #cfd9ef; font-size: .9rem; }
.ticket-type { display: inline-block; background: var(--orange); color: #fff; font: 700 .78rem var(--display); letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.tear { height: 24px; position: relative; margin-top: -12px; background: radial-gradient(circle at 0 50%, var(--paper) 12px, transparent 13px), radial-gradient(circle at 100% 50%, var(--paper) 12px, transparent 13px); }
.tear::after { content: ""; position: absolute; left: 22px; right: 22px; top: 50%; border-top: 2px dashed var(--line); }
.pass-body { padding: 6px 22px 24px; display: grid; gap: 16px; }
.qr { width: min(240px, 70vw); margin: 0 auto; background: #fff; padding: 8px; border-radius: 16px; border: 1px solid var(--line); }
.qr svg { width: 100%; height: auto; display: block; }
.pass-no { text-align: center; font: 800 1.3rem var(--display); letter-spacing: .08em; color: var(--navy); margin-top: -6px; }
.pass-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; font-size: .9rem; }
.pass-grid span { display: block; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.pass-grid b { font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.pass-grid .full { grid-column: 1 / -1; }
.checked { display: flex; gap: 10px; align-items: center; background: var(--green-soft); color: var(--green); font-weight: 600; border-radius: 12px; padding: 12px 14px; }
.pass-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.note { font-size: .85rem; color: var(--muted); text-align: center; margin: 0; }
#confetti { position: fixed; inset: 0; pointer-events: none; z-index: 30; }

/* Admin */
.admin-top .wrap { max-width: 1280px; }
.admin-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.admin-nav a, .admin-nav button { color: #cfd9ef; text-decoration: none; font: 600 .85rem var(--font); padding: 8px 12px; border-radius: 10px; background: none; border: 0; cursor: pointer; }
.admin-nav a.on, .admin-nav a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.admin { max-width: 1280px; padding-top: 22px; padding-bottom: 60px; }
.flash { background: var(--green-soft); color: #0c6b41; padding: 12px 16px; border-radius: 12px; margin-bottom: 16px; font-weight: 500; overflow-wrap: anywhere; }
.flash.bad { background: #fdecec; color: var(--red); }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin-bottom: 18px; }
.stat { background: var(--card); border-radius: 14px; padding: 14px 16px; border: 1px solid var(--line); }
.stat b { display: block; font: 800 1.6rem var(--display); color: var(--navy); }
.stat span { font-size: .78rem; color: var(--muted); font-weight: 600; }
.stat.hl b { color: var(--green); }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; margin-bottom: 16px; }
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.toolbar .field, .input { font-size: .9rem; padding: 10px 12px; border-radius: 10px; border-width: 1.5px; width: auto; }
.input { font-family: var(--font); border: 1.5px solid var(--line); background: #fff; color: var(--ink); }
.input.full { width: 100%; }
.grow { flex: 1 1 200px; }
.table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
table { width: 100%; border-collapse: collapse; font-size: .87rem; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: #fafbfe; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td .small { color: var(--muted); font-size: .78rem; }
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.row-actions form { margin: 0; }
details.import summary { cursor: pointer; font-weight: 600; color: var(--navy); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
label.lbl { display: block; font-size: .8rem; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }
.pager a, .pager span { padding: 7px 12px; border-radius: 8px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-size: .85rem; }
.pager .on { background: var(--navy); color: #fff; }
.login-box { max-width: 400px; margin: 60px auto; }
#reader { width: 100%; max-width: 480px; margin: 0 auto; border-radius: 16px; overflow: hidden; background: #000; }
.scan-card { max-width: 520px; margin: 0 auto; }
.big-status { text-align: center; padding: 18px; border-radius: 16px; font: 800 1.2rem var(--display); }
.big-status.ok { background: var(--green-soft); color: var(--green); }
.big-status.wait { background: var(--orange-soft); color: var(--orange); }
.big-status.bad { background: #fdecec; color: var(--red); }

@media (max-width: 820px) {
  .featured { grid-template-columns: 1fr; margin-top: -60px; }
  .featured .art img { aspect-ratio: 1 / 1; }
  .featured .body { padding: 20px; }
}
@media (max-width: 480px) {
  .perks { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
  .perk { padding: 10px 6px; font-size: .74rem; }
  .countdown b { font-size: 1.35rem; }
  .top .pill { display: none; }
  .hide-sm { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Activity timeline */
.badge.red { background: #fdecec; color: var(--red); }
.tl-day { font-size: .95rem; margin: 22px 0 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 4px; }
.tl-item { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 14px; padding: 0 0 14px 18px; border-left: 2px solid var(--line); }
.tl-item::before { content: ""; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--muted); box-shadow: 0 0 0 3px var(--paper); }
.tl-orange::before { background: var(--orange); }
.tl-navy::before { background: var(--navy-2); }
.tl-green::before { background: var(--green); }
.tl-red::before { background: var(--red); }
.tl-item time { font-size: .8rem; font-weight: 600; color: var(--muted); padding-top: 2px; white-space: nowrap; }
.tl-body { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: grid; gap: 4px; min-width: 0; }
.tl-text { font-size: .9rem; overflow-wrap: anywhere; }
.tl-body .small { color: var(--muted); font-size: .76rem; overflow-wrap: anywhere; }
@media (max-width: 480px) { .tl-item { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Main-site header (mirrors laxmisaiassociates.com) ---------- */
body.site { padding-top: 88px; }
@media (max-width: 900px) { body.site { padding-top: 96px; } }
.mh { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255, 255, 255, .9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid #e7eaee; font-family: "Inter", sans-serif; }
.mh-inner { display: flex; align-items: center; gap: 12px; padding: 10px 20px; max-width: 1180px; margin: 0 auto; min-height: 76px; }
.mh-logo { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; text-decoration: none; color: #16202b; flex: 0 1 auto; }
.mh-logo-img { height: 30px; width: auto; }
.mh-logo-text { display: flex; flex-direction: column; line-height: 1.2; font-size: .82rem; font-weight: 500; }
.mh-logo-text span { font-family: "JetBrains Mono", monospace; font-weight: 500; font-size: .54rem; letter-spacing: .04em; color: #5b6472; text-transform: uppercase; margin-top: 3px; }
.mh-nav { flex: 1 1 auto; min-width: 0; display: flex; justify-content: center; }
.mh-nav ul { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; white-space: nowrap; }
.mh-nav ul a { color: #16202b; font-size: .82rem; font-weight: 400; padding: 6px 0; text-decoration: none; display: inline-flex; transition: color .2s; }
.mh-nav ul a:hover, .mh-nav ul a.on { color: #0072bb; }
.mh-nav .mh-pill-fill { color: #fff; }
.mh-nav .mh-pill-outline { color: #0072bb; }
.mh-nav ul a.on { font-weight: 500; box-shadow: inset 0 -2px 0 #d72048; }
.mh-actions { display: flex; align-items: center; gap: 10px; flex: none; margin-left: auto; }
.mh-ctas { display: flex; gap: 8px; }
.mh-pill { display: inline-flex; align-items: center; justify-content: center; padding: 14px 24px; border-radius: 100px; font: 500 .92rem "Inter", sans-serif; border: 1.5px solid transparent; text-decoration: none; white-space: nowrap; transition: transform .18s, background .18s; }
.mh-pill-sm { padding: 10px 18px; font-size: .8rem; }
.mh-pill-fill { background: #0072bb; color: #fff; box-shadow: 0 8px 20px rgba(0, 114, 187, .28); }
.mh-pill-fill:hover { background: #005a94; transform: translateY(-2px); }
.mh-pill-outline { background: #fff; border-color: #0072bb; color: #0072bb; }
.mh-pill-outline:hover { background: #eaf4fc; transform: translateY(-2px); }
.mh-icon { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: #f8fafc; border: 1px solid #e7eaee; color: #16202b; }
.mh-icon:hover { background: #eaf4fc; border-color: #0072bb; color: #0072bb; }
.mh-toggle { display: none; background: none; border: 0; color: #16202b; cursor: pointer; padding: 6px; }
.mh-mobile-ctas { display: none; }
@media (max-width: 1100px) { .mh-ctas { display: none; } }
@media (max-width: 900px) {
  .mh-nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 8px 20px 20px; display: none; border-bottom: 1px solid #e7eaee; max-height: calc(100vh - 76px); overflow-y: auto; }
  .mh-nav.open { display: flex; }
  .mh-nav ul { flex-direction: column; gap: 0; }
  .mh-nav ul a { display: flex; padding: 14px 0; border-bottom: 1px solid #e7eaee; }
  .mh-nav ul a.on { box-shadow: none; }
  .mh-toggle { display: block; }
  .mh-logo { max-width: 70%; }
  .mh-icon { width: 34px; height: 34px; }
  .mh-mobile-ctas { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
  .mh-mobile-ctas .mh-pill { width: 100%; }
}

/* Footer credit: present but quiet */
.foot .powered { display: block; margin-top: 14px; font-size: .68rem; color: inherit; opacity: .45; text-decoration: none; letter-spacing: .02em; }
.foot .powered:hover { opacity: .75; }

/* Directions link */
.directions { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; color: var(--orange); text-decoration: none; white-space: nowrap; }
.directions:hover { text-decoration: underline; }
.venue-link { color: inherit; text-decoration: none; border-bottom: 1px dashed currentColor; }
.reg-head .venue-link { color: #fff; }
.reg-head .directions { color: var(--orange-2); }

/* OTP */
.otp-inputs { display: flex; gap: 8px; justify-content: flex-start; }
.otp-inputs input { width: 48px; height: 58px; text-align: center; font: 700 1.5rem var(--display); border: 2px solid var(--line); border-radius: 12px; background: #fff; color: var(--navy); outline: none; padding: 0; }
.otp-inputs input:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(242, 100, 25, .12); }
.otp-meta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 14px; font-size: .88rem; color: var(--muted); }
@media (max-width: 380px) { .otp-inputs { gap: 5px; } .otp-inputs input { width: 42px; height: 52px; } }

/* ---------- Tear-off ticket: styled like an insurance policy ---------- */
.ticket { --notch: 16px; position: relative; filter: drop-shadow(0 14px 28px rgba(13, 42, 92, .16)); }
.ticket-part { background: #fff; position: relative; }
.ticket-head { border-radius: 22px 22px 0 0; background: linear-gradient(135deg, var(--navy) 0%, #1a4390 100%); color: #fff; padding: 20px 22px 22px; overflow: hidden; }
.ticket-head::after { content: "POLICY"; position: absolute; right: -8px; bottom: -18px; font: 800 4.6rem var(--display); color: rgba(255, 255, 255, .05); letter-spacing: .05em; pointer-events: none; }
.ticket-brand { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: #cfd9ef; }
.ticket-head h1 { color: #fff; font-size: 1.45rem; margin: 14px 0 4px; }
.ticket-head p { margin: 0; color: #cfd9ef; font-size: .88rem; position: relative; z-index: 1; }
/* The perforation: notches cut from both edges + a dashed line between them */
.perf { height: 28px; background:
  radial-gradient(circle at 0 50%, transparent var(--notch), #fff calc(var(--notch) + .5px)) left / 51% 100% no-repeat,
  radial-gradient(circle at 100% 50%, transparent var(--notch), #fff calc(var(--notch) + .5px)) right / 51% 100% no-repeat; position: relative; }
.perf::after { content: ""; position: absolute; left: calc(var(--notch) + 8px); right: calc(var(--notch) + 8px); top: 50%; border-top: 2.5px dashed #d5dcea; }
.perf .scissors { position: absolute; left: calc(var(--notch) + 2px); top: 50%; transform: translateY(-55%); font-size: .8rem; color: #b3bdd0; z-index: 1; background: #fff; padding: 0 3px; }
.perf.dark { background:
  radial-gradient(circle at 0 50%, transparent var(--notch), #1a4390 calc(var(--notch) + .5px)) left / 51% 100% no-repeat,
  radial-gradient(circle at 100% 50%, transparent var(--notch), #1a4390 calc(var(--notch) + .5px)) right / 51% 100% no-repeat; }
.ticket-body { padding: 8px 22px 18px; }
.policy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; font-size: .9rem; }
.policy-grid span { display: block; color: var(--muted); font-size: .66rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.policy-grid b { font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.policy-grid .full { grid-column: 1 / -1; }
.policy-grid .accent b { color: var(--orange); }
.ticket-stub { border-radius: 0 0 22px 22px; padding: 6px 22px 22px; text-align: center; }
.stub-label { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.ticket .qr { width: min(250px, 72vw); margin: 10px auto 8px; border: 0; padding: 0; }
.ticket .pass-no { margin: 0; }
.stamp { position: absolute; right: 18px; top: 50%; transform: translateY(-50%) rotate(-14deg); border: 2.5px solid var(--green); color: var(--green); font: 800 .8rem var(--display); letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border-radius: 8px; opacity: .85; background: rgba(255, 255, 255, .9); }
.stamp.pending { border-color: var(--orange); color: var(--orange); }
.ticket-fine { font-size: .72rem; color: var(--muted); margin: 12px 0 0; line-height: 1.5; }
@media print {
  .mh, .foot, .pass-actions, .no-print { display: none !important; }
  body.site { padding-top: 0; background: #fff; }
  .ticket { filter: none; }
}

/* WhatsApp Community invite */
.wa-card { display: flex; align-items: center; gap: 14px; background: #fff; border: 1.5px solid #c9ecd8; border-radius: 18px; padding: 16px 18px; box-shadow: 0 6px 20px rgba(18, 146, 90, .08); }
.wa-icon { flex: none; width: 48px; height: 48px; border-radius: 14px; background: #25d366; color: #fff; display: grid; place-items: center; }
.wa-text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.wa-text b { font-family: var(--display); color: var(--navy); font-size: 1rem; }
.wa-text span { color: var(--muted); font-size: .86rem; }
.btn.wa-btn { background: #1faa55; box-shadow: 0 8px 20px rgba(31, 170, 85, .28); padding: 12px 20px; flex: none; }
.btn.wa-btn:hover { background: #178a45; }
@media (max-width: 560px) { .wa-card { flex-wrap: wrap; } .btn.wa-btn { width: 100%; } }
.foot .wa-foot { display: inline-block; margin-top: 8px; color: #1faa55; font-weight: 600; text-decoration: none; }
.section-gap { margin-top: 20px; }

/* Admin event form */
.event-form .panel { padding: 18px 20px; }
.form-h { font-size: .95rem; margin: 0 0 14px; color: var(--navy); }
.help { font-size: .78rem; color: var(--muted); margin: 6px 0 0; line-height: 1.45; }
.req { color: var(--red); }
.rec { font-size: .7rem; font-weight: 600; color: var(--orange); background: var(--orange-soft); padding: 2px 7px; border-radius: 99px; margin-left: 4px; }
.span-2 { grid-column: 1 / -1; }
.img-preview { width: 150px; height: 150px; object-fit: cover; border-radius: 12px; margin-top: 10px; border: 1px solid var(--line); }
.slug-row { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 10px; background: #fafbfe; overflow: hidden; }
.slug-row span { padding: 0 4px 0 12px; font-size: .78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 55%; }
.slug-row .input { border: 0; border-radius: 0; flex: 1; min-width: 0; background: #fff; }
.check-row { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; cursor: pointer; }
.check-row input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--green); flex: none; }
.share-panel { border-color: #c9ecd8; background: #f4fbf7; }
.btn.sm.add-event { background: var(--orange); color: #fff; }
.featured .desc { margin: 0; color: var(--muted); font-size: .95rem; }
