:root {
  --red: #c8102e; --red-deep: #8a0a1e; --gold: #f2b705; --ink: #1d1416; --muted: #6b5a5c; --line: #e6d8da;
  --wa: #1fae55; --body: 'Noto Sans Telugu', 'Nirmala UI', 'Gautami', sans-serif; --display: 'Ramabhadra', 'Noto Sans Telugu', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: #f4eeee; line-height: 1.5; font-size: 1rem; }
a { color: inherit; }
.mono { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; letter-spacing: .02em; }

/* top bar */
.vtop { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
        padding: .6rem 1rem; background: var(--red-deep); color: #fff; }
.vtop-home { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 700; line-height: 1.2; }
.vtop-home img { width: 38px; height: 38px; background: #fff; border-radius: 50%; padding: 3px; }
.vtop-home small { display: block; font-weight: 400; opacity: .8; font-size: .8rem; }
.vtop-lang { min-width: 44px; height: 40px; display: grid; place-items: center; padding: 0 .8rem; border: 2px solid rgba(255,255,255,.6);
             border-radius: 999px; text-decoration: none; font-weight: 700; }

.vwrap { max-width: 760px; margin: 0 auto; padding: 1.2rem 1rem 3rem; }
.vcard { background: #fff; border-radius: 20px; padding: 1.4rem; box-shadow: 0 8px 30px rgba(60,10,20,.08); }
.vcard h1 { font-family: var(--display); font-weight: 400; color: var(--red-deep); font-size: 1.7rem; margin: 0 0 .3rem; line-height: 1.3; }
.vlead { color: var(--muted); margin: 0 0 1rem; }
.vempty { text-align: center; }

/* buttons */
.vbtn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 44px; padding: .5rem 1rem; border-radius: 10px;
        font: 700 .95rem/1.2 var(--body); border: 1.5px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap; }
.vbtn-red { background: var(--red); color: #fff; }
.vbtn-wa { background: var(--wa); color: #fff; }
.vbtn-line { background: #fff; color: var(--ink); border-color: #d9c9cb; }
.vbtn:disabled { opacity: .6; }

/* search */
.vform { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.vform label { display: flex; flex-direction: column; gap: .3rem; font-weight: 700; font-size: .95rem; }
.vform input { font: 400 1.05rem/1.4 var(--body); padding: .7rem .85rem; min-height: 50px; border: 1.5px solid #d9c9cb; border-radius: 12px; width: 100%; }
.vform input:focus { outline: 3px solid rgba(200,16,46,.2); border-color: var(--red); }
.vform > .vbtn { align-self: end; min-height: 50px; }
.vform-epic { margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed var(--line); grid-template-columns: 1fr auto; }
.vresults { margin-top: 1.2rem; }
.vmsg, .vcount { background: #fff; border-radius: 14px; padding: .9rem 1rem; margin: 0 0 .8rem; }
.vlist { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.vlist a { display: flex; align-items: center; gap: .8rem; background: #fff; border-radius: 14px; padding: .8rem 1rem; text-decoration: none;
           border: 1.5px solid transparent; }
.vlist a:hover, .vlist a:focus-visible { border-color: var(--red); }
.vl-serial { min-width: 3.2rem; text-align: center; font-weight: 800; color: var(--red-deep); background: #fdf0f1; border-radius: 8px; padding: .2rem .3rem; }
.vl-main { flex: 1; min-width: 0; }
.vl-en { color: var(--red-deep); font-weight: 600; }
.vl-main small { display: block; color: var(--muted); }
.vlist em, .vhouse em { font-style: normal; color: var(--red); font-weight: 700; white-space: nowrap; }

/* slip page */
.vsheet { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 40px rgba(60,10,20,.12); }
.vbar { display: flex; justify-content: space-between; align-items: center; background: #1b1617; color: #fff; padding: .8rem 1.1rem; }
.vbar-t { margin: 0; font-weight: 700; }
.vbar-t i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #e5293f; margin-right: .5rem; }
.vbar-x { text-decoration: none; font-size: 1.6rem; line-height: 1; opacity: .8; }
.vactions { display: flex; flex-wrap: wrap; gap: .5rem; padding: .8rem 1.1rem; border-bottom: 1px solid var(--line); background: #faf7f7; }
.vgrow { flex: 1; }

.vslip { --b: 1.5px solid #222; width: min(100%, 480px); margin: 1.4rem auto; border: 2px solid #111; border-radius: 12px; overflow: hidden;
         background: #fff; font-size: .95rem; box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.vs-head { background: #111; color: #fff; padding: .55rem .8rem .5rem; text-align: center; }
.vs-title { margin: 0; font-weight: 800; font-size: .98rem; }
.vs-sub { margin: .15rem 0 0; display: flex; justify-content: space-between; gap: .5rem; font-size: .82rem; }
.vs-area { color: var(--gold); font-weight: 700; }
.vs-refs { display: flex; justify-content: space-between; align-items: center; gap: .6rem; flex-wrap: wrap; padding: .55rem .8rem; border-bottom: var(--b); background: #f6f6f6; font-size: .85rem; }
.vs-serial { display: inline-block; border: 2px solid #111; padding: .05rem .55rem; font: 800 1.15rem/1.3 ui-monospace, Menlo, monospace; color: var(--red); background: #fff; }
.vs-rows { margin: 0; padding: .3rem .8rem .5rem; border-bottom: var(--b); }
.vs-rows > div { display: grid; grid-template-columns: 9.5rem 1fr; gap: .6rem; padding: .45rem 0; border-bottom: 1px solid #e5e5e5; }
.vs-rows > div:last-child { border-bottom: 0; }
.vs-rows dt { color: #444; font-size: .88rem; }
.vs-rows dd { margin: 0; }
.vs-rows dd small { display: block; color: #666; font-size: .82rem; }
.vs-epic { color: var(--red); font-size: 1.2rem; }
.vs-date { display: flex; justify-content: space-between; gap: .6rem; flex-wrap: wrap; margin: 0; padding: .55rem .8rem; background: #f6f6f6; border-bottom: var(--b); font-size: .9rem; }
.vs-booth { display: grid; grid-template-columns: 1fr auto; gap: .8rem; align-items: center; padding: .65rem .8rem; border-bottom: var(--b); }
.vs-booth-h { margin: 0 0 .2rem; color: var(--red); font-weight: 800; font-size: .85rem; }
.vs-booth-n { margin: 0; font-weight: 700; font-size: .9rem; line-height: 1.4; }
.vs-psno { display: inline-block; background: #111; color: #fff; padding: 0 .4rem; border-radius: 4px; margin-right: .2rem; }
.vs-booth-en { margin: .25rem 0 0; font-size: .8rem; color: #444; line-height: 1.35; }
.vs-muted { color: #555; font-weight: 600; }
.vs-qr { margin: 0; text-align: center; }
.vs-qr .qr-box { width: 96px; height: 96px; border: 1px solid #ccc; padding: 4px; background: #fff; }
.vs-qr .qr-box img, .vs-qr .qr-box canvas { width: 100% !important; height: 100% !important; display: block; }
.vs-qr figcaption { font-size: .66rem; color: #555; margin-top: .15rem; }
.vs-meta { display: flex; justify-content: space-between; gap: .5rem; flex-wrap: wrap; margin: 0; padding: .45rem .8rem; border-bottom: 1px solid #ddd; font-size: .82rem; color: #444; }
.vs-note { margin: 0; padding: .35rem .8rem; text-align: center; font-size: .76rem; color: #555; background: #fafafa; }
.vs-cut { display: flex; align-items: center; gap: .4rem; margin: 0; padding: .25rem .6rem; font-size: .7rem; font-weight: 800; }
.vs-cut i { flex: 1; border-top: 2px dashed #111; }
.vs-camp { display: grid; grid-template-columns: 70px 1fr 74px; gap: .5rem; align-items: center; padding: .7rem .7rem .8rem;
           background: linear-gradient(180deg, #9a1220, #6e0b15); color: #fff; text-align: center; border-top: 4px solid var(--gold); }
.vs-photo { width: 66px; height: 66px; border-radius: 50%; object-fit: cover; object-position: top; border: 3px solid var(--gold); background: #fff; }
.vs-camp-t p { margin: 0; font-size: .78rem; line-height: 1.35; }
.vs-support { color: var(--gold); font-weight: 700; }
.vs-cname { font-family: var(--display); font-size: 1.15rem !important; }
.vs-tag { font-style: italic; color: #ffe08a; }
.vs-sym img { width: 54px; height: 54px; border-radius: 50%; background: #fff; padding: 5px; border: 3px solid var(--gold); }
.vs-sym p { margin: .15rem 0 0; font-size: .68rem; line-height: 1.25; }

.vhouse { padding: 0 1.1rem 1rem; border-top: 1px solid var(--line); }
.vhouse h2 { font-size: 1rem; margin: 1rem 0 .7rem; }
.vhouse-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.vhouse-grid a { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .6rem .8rem; border: 1px solid var(--line);
                 border-radius: 12px; background: #faf7f7; text-decoration: none; }
.vhouse-grid a:hover { border-color: var(--red); }
.vhouse-grid small { display: block; color: var(--muted); font-size: .75rem; }
.vback { text-align: center; padding: 0 1rem 1.2rem; margin: 0; }
.vfoot { text-align: center; color: var(--muted); font-size: .85rem; padding: 1rem 1rem 2rem; }

@media (max-width: 600px) {
  .vwrap { padding: .8rem .6rem 2rem; }
  .vform, .vform-epic { grid-template-columns: 1fr; }
  .vactions .vbtn { flex: 1 1 45%; }
  .vgrow { display: none; }
  .vslip { margin: 1rem auto; font-size: .9rem; }
  .vs-rows > div { grid-template-columns: 7.2rem 1fr; }
  .vhouse-grid { grid-template-columns: 1fr; }
}

@media print {
  @page { margin: 8mm; }
  body { background: #fff; }
  .vtop, .vbar, .vactions, .vhouse, .vback, .vfoot { display: none !important; }
  .vwrap, .vsheet { padding: 0; margin: 0; box-shadow: none; border-radius: 0; }
  .vslip { margin: 0 auto; box-shadow: none; break-inside: avoid; }
  html { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
