:root {
  --navy: #0a1931;
  --navy-2: #12243f;
  --gold: #d4af37;
  --gold-2: #c49a2a;
  --bg: #f8f9fa;
  --paper: #ffffff;
  --ink: #0a1931;
  --muted: #5d6b7e;
  --line: rgba(10, 25, 49, 0.1);
  --shadow: 0 4px 24px rgba(10, 25, 49, 0.08);
  --green: #1f7a4d;
  --red: #b42318;
  --radius: 16px;
  --btn: 52px;
  --nav: 72px;
  --safe: env(safe-area-inset-bottom, 0px);
  --font: "Poppins", system-ui, sans-serif;
  --hindi: "Noto Sans Devanagari", "Poppins", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-weight: 500;
  color: var(--ink);
  background: #07111f;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
}
img { max-width: 100%; display: block; }
button, input { font-family: inherit; }
button { cursor: pointer; }
button:disabled { opacity: 0.55; cursor: default; }

.phone {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100dvh;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}
@media (min-width: 480px) {
  body { padding: 20px 0; }
  .phone {
    min-height: calc(100dvh - 40px);
    border-radius: 28px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  }
}

.screens { flex: 1; position: relative; overflow: hidden; z-index: 1; }
.screen {
  display: none;
  position: absolute;
  inset: 0;
  overflow: auto;
  padding: 16px 18px calc(var(--nav) + var(--safe) + 12px);
  -webkit-overflow-scrolling: touch;
}
.screen.is-on { display: block; }
.screen.map-screen {
  padding: 0;
  overflow: hidden;
  bottom: calc(var(--nav) + var(--safe));
  display: none;
  flex-direction: column;
}
.screen.map-screen.is-on { display: flex; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.brand h1 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.eyebrow {
  display: block;
  margin-top: 2px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold-2);
}
.top-meta { display: flex; align-items: center; gap: 8px; }
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.pts {
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  box-shadow: var(--shadow);
}
.pts svg { color: var(--gold); }

.hero {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 22px 20px 20px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  top: 0;
  height: 3px;
  background: var(--gold);
}
.hero h2 {
  margin: 8px 0 8px;
  font-family: var(--hindi);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.hero p {
  margin: 0 0 20px;
  font-family: var(--hindi);
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 500;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: var(--btn);
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: inherit;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-gold:active { background: var(--gold-2); }
.btn-navy {
  background: var(--navy);
  color: #fff;
}
.btn-ghost {
  background: #fff;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-text {
  height: auto;
  width: auto;
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 4px;
}
.btn-row { display: grid; gap: 8px; margin-top: 14px; }
.btn-row.two { grid-template-columns: 1fr 1fr; }
.actions-quiet {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
}

.section-h {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 22px 2px 12px;
}
.section-h h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}
.section-h span { color: var(--muted); font-size: 12px; }

.hscroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 6px 26px;
  margin: -4px -6px -14px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.hscroll::-webkit-scrollbar { display: none; }
.pop {
  position: absolute;
  inset: 0;
  z-index: 4400;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(6, 15, 30, 0.72);
  backdrop-filter: blur(4px);
}
.pop.is-on { display: flex; animation: pop-fade 0.22s ease; }
.pop-card {
  position: relative;
  width: 100%;
  max-width: 380px;
  background: linear-gradient(160deg, #13284a 0%, #0A1931 70%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 24px;
  padding: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  animation: pop-in 0.28s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
.pop-close {
  position: absolute;
  top: -12px;
  right: -12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: #fff;
  color: var(--navy);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}
.pop-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.pop-photos figure {
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  background: #0A1931;
}
.pop-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.pop-body { text-align: center; padding: 16px 6px 4px; }
.pop-body .eyebrow { color: var(--gold); }
.pop-body h3 { margin: 4px 0 14px; font-size: 20px; color: #fff; }
.pop-body .btn { width: 100%; }
@keyframes pop-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop-in { from { opacity: 0; transform: scale(0.92) translateY(12px); } to { opacity: 1; transform: none; } }
.spot-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 8px;
}
.spot-card {
  display: block;
  width: 100%;
  background: linear-gradient(160deg, #13284a 0%, #0A1931 70%);
  color: #fff;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  box-shadow: 0 12px 28px rgba(10, 25, 49, 0.22);
  overflow: hidden;
  padding: 0;
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.spot-card:active { transform: scale(0.98); }
@media (hover: hover) {
  .spot-card:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(10, 25, 49, 0.3); }
}
.sc-media {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 190px;
  background: #13284a;
}
.sc-media img { width: 100%; height: 190px; object-fit: cover; display: block; }
.sc-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 64px;
  background: linear-gradient(to top, rgba(10, 25, 49, 0.85), rgba(10, 25, 49, 0));
  pointer-events: none;
}
.sc-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--gold);
  transform: translateX(-50%);
  z-index: 1;
}
.sc-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid #fff;
  transform: translate(-50%, -50%);
  box-shadow: 0 2px 6px rgba(10, 25, 49, 0.3);
}
.sc-tag {
  position: absolute;
  bottom: 10px;
  z-index: 2;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}
.sc-l { left: 14px; }
.sc-r { right: 14px; color: #f3dc8a; }
.sc-status {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(10, 25, 49, 0.72);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
}
.sc-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #D4AF37;
}
.sc-status.is-clean::before { background: #1F7A4D; }
.sc-status.is-reported::before { background: #B42318; }
.sc-body { padding: 14px 16px 16px; }
.sc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.sc-place {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.sc-place svg { flex: none; color: var(--gold); }
.sc-row strong {
  font-size: 16px;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sc-type {
  flex: none;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.16);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: #f3dc8a;
}
.sc-sub {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}
.sc-sub svg { flex: none; color: var(--gold); }
.sc-sub span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.sc-foot em { font-style: normal; font-size: 12px; color: rgba(255, 255, 255, 0.6); }
.sc-go {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
}
.sc-go b { font-size: 15px; line-height: 1; }

.nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(var(--nav) + var(--safe));
  padding: 6px 8px var(--safe);
  background: #fff;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  z-index: 3000;
}
.nav button {
  background: none;
  border: 0;
  color: #8b97a8;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding-top: 6px;
}
.nav button.is-on { color: var(--navy); }
.nav button.is-on svg { color: var(--navy); }
.nav button span {
  position: relative;
}
.nav button.is-on span::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 14px;
  height: 2px;
  background: var(--gold);
  transform: translateX(-50%);
}

.back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  padding: 0;
}
.result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.result-head .place { font-weight: 700; font-size: 14px; }

.ba {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: var(--navy);
  user-select: none;
  touch-action: none;
  box-shadow: var(--shadow);
}
.ba img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
  pointer-events: none;
}
.ba-before-clip {
  position: absolute;
  inset: 0 auto 0 0;
  width: 50%;
  overflow: hidden;
}
.ba-before-clip img {
  inset: 0 auto 0 0;
  width: 100%;
  max-width: none;
  height: 100%;
}
.phone:has(#gate.is-on) .nav { display: none; }
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--gold);
  transform: translateX(-50%);
  pointer-events: none;
}
.ba-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 16px rgba(10, 25, 49, 0.25);
}
.ba-knob svg { width: 22px; height: 22px; }
.badge {
  position: absolute;
  top: 10px;
  z-index: 2;
  height: 22px;
  padding: 0 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  display: grid;
  place-items: center;
}
.badge-dark { left: 10px; background: #111; color: #fff; }
.badge-gold { right: 10px; background: var(--gold); color: var(--navy); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 12px 0 4px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e8f5ee;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}

.map-head {
  flex: 0 0 auto;
  padding: 14px 16px 12px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  z-index: 4;
}
.map-tools {
  position: static;
}
.map-tools input {
  width: 100%;
  height: 46px;
  border: 0;
  border-radius: 12px;
  padding: 0 14px;
  background: #fff;
  box-shadow: var(--shadow);
  font-size: 14px;
  font-weight: 500;
  outline: none;
}
.chips {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  overflow-x: auto;
}
.chips button {
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.chips button.is-on { background: var(--navy); color: #fff; border-color: var(--navy); }
.gmap-wrap {
  position: relative;
  flex: 1;
  min-height: 0;
  width: 100%;
  background: #dce3ea;
  z-index: 1;
}
.map-search { position: relative; }
.map-search input { padding-right: 40px; -webkit-appearance: none; appearance: none; }
.map-search input::-webkit-search-cancel-button { display: none; }
.map-clear {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
}
.map-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(10, 25, 49, 0.18);
  overflow: hidden;
  z-index: 20;
}
.map-suggest button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
  padding: 10px 14px;
  color: var(--navy);
}
.map-suggest button:last-child { border-bottom: 0; }
.map-suggest button:active { background: #f3f5f8; }
.map-suggest b { display: block; font-size: 14px; font-weight: 600; }
.map-suggest span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.chips .chip-near { border-color: var(--gold); color: var(--navy); }
.chips .chip-near.is-on { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.chips .chip-near.is-busy { opacity: 0.6; }
.sheet {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(10, 25, 49, 0.18);
  padding: 12px;
  transform: translateY(120%);
  transition: transform 0.22s ease;
  z-index: 6;
}
.sheet.is-on { transform: translateY(0); }
.sheet-row { display: grid; grid-template-columns: 148px 1fr; gap: 12px; align-items: center; }
.sheet h4 { margin: 0 0 4px; font-size: 15px; }
.sheet p { margin: 0; color: var(--muted); font-size: 12px; }
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(10, 25, 49, 0.2);
}
.dot-red { background: var(--red); }
.dot-gold { background: var(--gold); }
.dot-green { background: var(--green); }

.ghost-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
  box-shadow: var(--shadow);
}
.ghost-wrap img, .ghost-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ghost {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  pointer-events: none;
}
.file-btn { margin-top: 14px; position: relative; overflow: hidden; }
.after-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}
.screen[data-screen="after"] .ghost-wrap {
  aspect-ratio: 16 / 10;
  max-height: 32vh;
}
.after-choice {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 72px;
  padding: 12px 8px;
  border-radius: 16px;
  border: 1px solid rgba(10, 25, 49, 0.08);
  background: #fff;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(10, 25, 49, 0.05);
}
.after-choice.is-main {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}
.after-choice:active { transform: scale(0.98); }
.after-note {
  margin: 10px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}
.sc-media video {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  background: #000;
  pointer-events: none;
}
.cert-row video {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  background: #000;
}

.cert {
  margin-top: 16px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 16px 14px 14px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gold);
}
.cert .kicker {
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.16em;
  font-weight: 700;
}
.cert h3 { margin: 6px 0 12px; font-size: 15px; letter-spacing: 0.04em; }
.cert-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
.cert-row figure { margin: 0; }
.cert-row img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.cert-row figcaption {
  margin-top: 5px;
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--gold);
  font-weight: 700;
  text-align: center;
}
.cert p { margin: 12px 0 0; font-size: 12px; line-height: 1.45; color: rgba(255, 255, 255, 0.82); }

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: #fff;
  border-radius: 12px;
  padding: 4px;
  box-shadow: var(--shadow);
  margin-bottom: 14px;
}
.tabs button {
  height: 40px;
  border: 0;
  background: transparent;
  border-radius: 9px;
  font-weight: 700;
  font-size: 13px;
  color: var(--muted);
}
.tabs button.is-on { background: var(--navy); color: #fff; }

.list { display: flex; flex-direction: column; gap: 8px; padding-bottom: 72px; }
#boardList { padding-bottom: 0; }
.rank {
  display: grid;
  grid-template-columns: 28px 36px 1fr auto;
  gap: 10px;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: var(--shadow);
}
.rank.is-you { outline: 1px solid var(--gold); }
.rank b { font-variant-numeric: tabular-nums; font-size: 13px; }
.rank strong { display: block; font-size: 14px; }
.rank em { font-style: normal; color: var(--muted); font-size: 11px; }
.rank .score { text-align: right; font-size: 13px; font-weight: 700; }
.rank .score small { display: block; color: var(--muted); font-weight: 500; font-size: 11px; }
.sticky-you {
  position: sticky;
  bottom: 10px;
  margin-top: 14px;
  background: linear-gradient(135deg, #0A1931 0%, #13284a 100%);
  color: #fff;
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 10px 28px rgba(10, 25, 49, 0.3);
}
.sticky-you[hidden] { display: none; }
.you-rank {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gold);
  color: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
}
.you-rank small {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 3px;
  opacity: 0.75;
}
.you-text { flex: 1; min-width: 0; }
.you-text strong { display: block; font-size: 14px; }
.you-text span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.you-pts {
  flex: none;
  display: flex;
  align-items: baseline;
  gap: 3px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}
.you-pts b { font-size: 16px; color: var(--gold); font-variant-numeric: tabular-nums; }
.you-pts small { font-size: 11px; color: rgba(255, 255, 255, 0.75); font-weight: 600; }

.profile-hero {
  margin: -16px -18px 18px;
  padding: 28px 18px 24px;
  text-align: center;
  color: #fff;
  background: linear-gradient(165deg, #16325c 0%, #0a1931 72%);
  border-radius: 0 0 28px 28px;
}
.profile-hero .avatar {
  width: 84px;
  height: 84px;
  margin: 0 auto 12px;
  font-size: 28px;
  background: #0a1931;
  border: 3px solid var(--gold);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}
.profile-hero h2 { margin: 0; font-size: 26px; letter-spacing: -0.03em; color: #fff; }
.profile-hero p { margin: 6px 0 0; color: rgba(255, 255, 255, 0.72); font-size: 13px; }
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
.stat {
  background: #fff;
  border-radius: 16px;
  padding: 14px 6px 12px;
  text-align: center;
  border: 1px solid rgba(10, 25, 49, 0.06);
  box-shadow: 0 8px 22px rgba(10, 25, 49, 0.05);
}
.stat b { display: block; font-size: 22px; font-variant-numeric: tabular-nums; color: var(--navy); }
.stat span { display: block; margin-top: 3px; font-size: 11px; line-height: 1.25; color: var(--muted); }
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.grid .empty { grid-column: 1 / -1; }
.grid button {
  padding: 0;
  border: 0;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(10, 25, 49, 0.06);
  border: 1px solid rgba(10, 25, 49, 0.05);
  text-align: left;
  color: inherit;
}
.grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.grid .cap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 10px 10px 12px;
  font-size: 13px;
  font-weight: 700;
}
.status-tag {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  white-space: nowrap;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.16);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: #8a6814;
}
.profile-out { width: 100%; margin-top: 22px; }

.overlay {
  position: absolute;
  inset: 0;
  background: var(--bg);
  z-index: 40;
  display: none;
  overflow: auto;
  padding: 0 0 28px;
  scrollbar-width: none;
}
.overlay::-webkit-scrollbar { display: none; }
.overlay.is-on { display: block; }

.gate-hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  padding: 22px 22px 62px;
  overflow: hidden;
}
.gate-photos {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: minmax(0, 1fr);
  gap: 2px;
  height: clamp(170px, 28dvh, 240px);
  margin: -22px -22px -46px;
  overflow: hidden;
}
.gate-photos img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center 20%;
}
.gate-photos img:nth-child(2) { object-position: 60% 30%; }
.gate-photos::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 25, 49, 0.05) 30%, rgba(10, 25, 49, 0.75) 72%, #0A1931 100%);
  pointer-events: none;
}
.gate-brand {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.gate-brand .mark {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.55);
}
.gate-brand strong { display: block; font-size: 16px; line-height: 1.2; color: #fff; }
.gate-brand .eyebrow { color: var(--gold); }
.gate-hero h2 {
  position: relative;
  margin: 0 0 10px;
  font-size: 32px;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
}
.gate-hero h2 em { font-style: normal; color: var(--gold); }
.gate-hero .lead {
  position: relative;
  margin: 0 0 18px;
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.5;
}
.gate-steps {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 14px 0 0;
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.gate-steps li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.86);
  white-space: nowrap;
}
.gate-steps b {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 11px;
}
.gate-card {
  position: relative;
  margin: -38px 16px 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px 18px 16px;
  box-shadow: 0 18px 40px rgba(10, 25, 49, 0.12);
}
.gate-card h3 { margin: 0 0 14px; font-size: 18px; letter-spacing: -0.01em; }
.gate-card .err:empty { display: none; }
.field { position: relative; margin-bottom: 14px; }
.field > svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
.field:focus-within > svg { color: var(--navy); }
.gate-card .field input { display: block; margin-bottom: 0; padding-left: 44px; }
.field-prefix {
  position: absolute;
  left: 42px;
  top: 50%;
  transform: translateY(-50%);
  padding-right: 10px;
  border-right: 1px solid var(--line);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  pointer-events: none;
}
.gate-card .field-phone input { padding-left: 90px; }
.gate-card input[type="text"],
.gate-card input[type="tel"],
.gate-card .vselect-btn { background: #f6f8fb; }
.gate-card input:focus,
.gate-card .vselect.is-open .vselect-btn {
  background: #fff;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.22);
}
.gate-card input::placeholder { color: #9aa5b5; }
.gate-card .vselect-btn { position: relative; padding-left: 44px; }
.gate-card .vselect-btn span { flex: 1; }
.gate-card .vselect-btn .vselect-pin {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
}
.gate-card .vselect.is-open .vselect-btn .vselect-pin { transform: translateY(-50%); color: var(--navy); }
.grecaptcha-badge { visibility: hidden; }
.gate-legal {
  margin: 6px 0 0;
  text-align: center;
  font-size: 10px;
  line-height: 1.4;
  color: #9aa5b5;
}
.gate-legal a { color: inherit; text-decoration: underline; }
.gate-submit { width: 100%; gap: 8px; margin-top: 4px; }
.gate-note {
  margin: 14px 0 0;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.gate-side { display: none; }
@media (min-width: 1000px) {
  body.gate-open {
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
  }
  body.gate-open .phone { margin: 0; }
  body.gate-open .gate-side {
    display: block;
    position: relative;
    flex: 0 1 420px;
    min-width: 0;
    height: min(640px, calc(100dvh - 80px));
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.55);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
    animation: gateSideIn 0.6s ease both;
  }
  body.gate-open .gate-side img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center 25%;
  }
  body.gate-open .gate-side-right img { object-position: 58% 40%; }
  body.gate-open .gate-side-right { animation-delay: 0.1s; }
  body.gate-open .gate-photos { display: none; }
  body.gate-open .gate-hero { padding-top: 34px; }
}
@keyframes gateSideIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .gate-side { animation: none !important; }
}
label { display: block; font-size: 12px; font-weight: 700; margin: 0 0 6px; }
input[type="text"], input[type="tel"] {
  width: 100%;
  height: 52px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0 14px;
  font-size: 16px;
  margin-bottom: 14px;
  outline: none;
}
input:focus { border-color: var(--navy); }

.vselect { position: relative; margin-bottom: 14px; }
.vselect-btn {
  width: 100%;
  height: 52px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0 14px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}
.vselect-btn span { color: var(--muted); }
.vselect-btn.has-val span { color: var(--ink); }
.vselect.is-open .vselect-btn { border-color: var(--navy); }
.vselect.is-open .vselect-btn svg { transform: rotate(180deg); }
.vselect-btn svg { flex: 0 0 auto; color: var(--navy); }
.vselect-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 30;
  scrollbar-width: thin;
  scrollbar-color: rgba(10, 25, 49, 0.25) transparent;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  max-height: 220px;
  overflow-y: auto;
  padding: 6px;
}
.vselect-menu[hidden] { display: none; }
.vselect-menu { box-shadow: 0 16px 36px rgba(10, 25, 49, 0.18); }
.vselect-menu::-webkit-scrollbar { width: 4px; }
.vselect-menu::-webkit-scrollbar-thumb { background: rgba(10, 25, 49, 0.25); border-radius: 4px; }
.vselect-menu::-webkit-scrollbar-button { display: none; }
.vselect-menu button {
  display: block;
  width: 100%;
  height: 44px;
  border: 0;
  background: transparent;
  border-radius: 8px;
  text-align: left;
  padding: 0 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}
.vselect-menu button:hover,
.vselect-menu button.is-on {
  background: var(--navy);
  color: #fff;
}

.sheet-modal {
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 49, 0.46);
  z-index: 4000;
  display: none;
  align-items: flex-end;
}
.sheet-modal.is-on { display: flex; }
.sheet-card {
  width: 100%;
  background: #fff;
  border-radius: 20px 20px 0 0;
  padding: 16px 18px calc(var(--nav) + var(--safe) + 16px);
}
.grab {
  width: 36px;
  height: 4px;
  background: var(--line);
  border-radius: 4px;
  margin: 0 auto 14px;
}
.types { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0 8px; }
.types label {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  margin: 0;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 700;
  font-size: 14px;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.types label.is-on { border-color: var(--navy); background: var(--navy); color: #fff; }

.wait {
  position: absolute;
  inset: 0;
  background: var(--navy);
  color: #fff;
  z-index: 4100;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}
.wait.is-on { display: flex; }
.wait h2 { margin: 18px 0 8px; font-size: 22px; }
.wait p { margin: 0; color: rgba(255, 255, 255, 0.7); }
.ai-loader {
  position: relative;
  width: 132px;
  height: 132px;
}
.ai-loader-glow {
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.45), transparent 68%);
  filter: blur(6px);
  animation: ai-glow 1.8s ease-in-out infinite;
}
.ai-loader-spin {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: ai-spin 1.15s linear infinite;
  filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.45));
}
.ai-loader-spin-2 {
  animation-duration: 1.7s;
  animation-direction: reverse;
  filter: none;
}
.ai-loader-core {
  position: absolute;
  inset: 42px;
  border-radius: 50%;
  background: #12243f;
  border: 1px solid rgba(212, 175, 55, 0.45);
  display: grid;
  place-items: center;
  animation: ai-glow 1.8s ease-in-out infinite;
}
@keyframes ai-spin { to { transform: rotate(360deg); } }
@keyframes ai-glow {
  0%, 100% { opacity: 0.55; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .ai-loader-spin, .ai-loader-glow, .ai-loader-core { animation: none; }
}

.toast {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: calc(var(--nav) + var(--safe) + 12px);
  background: var(--navy);
  color: #fff;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13px;
  z-index: 4200;
  display: none;
}
.toast.is-on { display: block; }

.empty {
  color: var(--muted);
  font-size: 13px;
  padding: 8px 2px 20px;
}

.cam-hit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0.011;
  cursor: pointer;
  font-size: 48px;
  z-index: 3;
  border: 0;
  background: transparent;
  color: transparent;
}
.cam-hit::file-selector-button { opacity: 0; }
.cam-hit::-webkit-file-upload-button { opacity: 0; }
.btn[hidden], .btn-text[hidden] { display: none !important; }
.err { color: var(--red); font-size: 13px; margin: 0 0 12px; min-height: 1em; }

.map-empty {
  position: absolute;
  left: 24px;
  right: 24px;
  top: 58%;
  transform: translateY(-50%);
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  box-shadow: var(--shadow);
  z-index: 5;
  pointer-events: none;
}
.map-empty .btn-text { pointer-events: auto; display: block; margin: 6px auto 0; color: var(--navy); font-weight: 700; }
.map-empty.is-error { pointer-events: auto; color: var(--red); }
.sheet-row.is-plain { grid-template-columns: 1fr; }

#errSheet { z-index: 4300; }
.err-card { text-align: center; }
.err-card h3 { margin: 6px 0 6px; font-size: 19px; }
.err-card p { margin: 0 0 6px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.err-icon {
  width: 48px;
  height: 48px;
  margin: 4px auto 0;
  border-radius: 50%;
  background: rgba(180, 35, 24, 0.1);
  color: var(--red);
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 700;
}
.err-card .btn-row { margin-top: 16px; }
.err-card .file-btn { margin-top: 0; }
.sheet-row.is-plain .ba { display: none; }

html[lang="hi"] body { font-family: var(--hindi); }
html[lang="hi"] .eyebrow { letter-spacing: 0; font-size: 10px; }
html[lang="hi"] .gate-hero h2 { letter-spacing: 0; }
html[lang="hi"] .gate-steps li { white-space: normal; font-size: 11px; }
html[lang="hi"] .nav button { font-size: 9px; }
html[lang="hi"] .stat span { font-size: 10px; line-height: 1.25; }

.lang-chip {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.75);
  background: rgba(10, 25, 49, 0.45);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(6px);
}
.lang-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 0 18px;
  padding: 12px 14px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.lang-box > span { font-size: 14px; font-weight: 700; }
.lang-switch { display: flex; padding: 3px; background: #f1f4f8; border-radius: 999px; }
.lang-switch button {
  border: 0;
  background: transparent;
  color: var(--muted);
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.lang-switch button.is-on { background: var(--navy); color: #fff; }

.lang-pop {
  position: absolute;
  inset: 0;
  z-index: 5000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(6, 15, 30, 0.62);
  backdrop-filter: blur(6px);
}
.lang-pop.is-on { display: flex; }
.lang-pop-card {
  width: 100%;
  max-width: 320px;
  background: #fff;
  border-radius: 22px;
  padding: 22px 18px 18px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(212, 175, 55, 0.45);
}
.lang-pop-card .eyebrow { color: var(--gold-2); letter-spacing: 0.14em; font-size: 11px; }
.lang-pop-card h3 { margin: 8px 0 0; font-size: 20px; }
.lang-pop-card p { margin: 2px 0 16px; color: var(--muted); font-size: 15px; font-family: var(--hindi); }
.lang-pop-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lang-pop-opts button {
  border: 1px solid var(--line);
  background: #f7f9fc;
  border-radius: 16px;
  padding: 14px 8px 12px;
  color: var(--navy);
}
.lang-pop-opts button b {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-size: 16px;
}
.lang-pop-opts button span { display: block; font-size: 13px; font-weight: 700; }
.lang-pop-opts button:hover,
.lang-pop-opts button:focus-visible { border-color: var(--gold); background: #fff; }
