/* ============================================================
   Comsik Shaadi — Cosmik Jodi Design System
   Mobile-first. Wrapper-app safe (WebView/Capacitor ready).
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  /* Cosmic base */
  --cj-bg-0: #0d0420;
  --cj-bg-1: #1a0838;
  --cj-bg-purple: #4b1d8a;
  --cj-surface: rgba(13, 4, 32, 0.6);
  --cj-surface-2: rgba(75, 29, 138, 0.32);

  /* Gold */
  --cj-gold: #d4af37;
  --cj-gold-bright: #f5d77a;
  --cj-gold-soft: #f7ead1;
  --cj-gold-deep: #b8932c;
  --cj-gold-dark: #9b7a1f;

  /* Text */
  --cj-text: #f5e9c5;
  --cj-text-ivory: #f7ead1;
  --cj-text-mute: rgba(216, 201, 179, 0.7);
  --cj-text-faint: rgba(216, 201, 179, 0.62);   /* ≥4.5:1 on bg-0/bg-1 (0.5 was 3.6:1) */

  /* Lines */
  --cj-line: rgba(212, 175, 55, 0.22);
  --cj-line-strong: rgba(212, 175, 55, 0.45);

  /* Semantic */
  --cj-success: #4ade80;
  --cj-success-soft: #6ee79a;
  --cj-warn: #f5b942;
  --cj-error: #ff6b6b;
  --cj-whatsapp: #25d366;

  /* Rose (matrimonial whisper) */
  --cj-rose: #ff9ec1;
  --cj-rose-deep: #e26d9a;
  --cj-blush: rgba(255, 158, 193, 0.14);

  /* Fluid spacing rhythm */
  --space-section: clamp(3.5rem, 9vw, 7rem);
  --container: 1180px;
  --nav-h: clamp(64px, 11vw, 78px);

  /* Fonts */
  --font-display: 'Cinzel', serif;
  --font-serif: 'Cormorant Garamond', serif;
  --font-body: 'Montserrat', sans-serif;

  /* Safe-area (wrapper app notches) */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--cj-text);
  background: var(--cj-bg-0);
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Cosmic gradient */
  background-image:
    radial-gradient(50% 40% at 16% 14%, rgba(212, 175, 55, 0.16), transparent 60%),
    radial-gradient(55% 50% at 86% 82%, rgba(75, 29, 138, 0.42), transparent 65%),
    linear-gradient(180deg, #0d0420 0%, #1a0838 100%);
  background-attachment: fixed;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
input, select, textarea { font: inherit; }

:focus-visible {
  outline: 2px solid var(--cj-gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 3. Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.18; color: var(--cj-text-ivory); font-weight: 600; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 700; letter-spacing: 0.01em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.5rem); }

.lead {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  color: var(--cj-text-mute);
  line-height: 1.6;
}

em, .gold-text {
  font-style: italic;
  background: linear-gradient(135deg, #f5d77a 0%, #d4af37 50%, #9b7a1f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cj-gold);
}

/* ---------- 4. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 5vw, 2.5rem);
}

section { padding-block: var(--space-section); }
.section-tight { padding-block: clamp(2.5rem, 6vw, 4rem); }

/* Eyebrow / section head */
.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin-bottom: 0.9rem;
}
.eyebrow span { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--cj-gold); white-space: nowrap; }
.eyebrow::before, .eyebrow::after {
  content: "";
  height: 1px;
  width: clamp(28px, 8vw, 64px);
  background: linear-gradient(90deg, transparent, var(--cj-gold));
}
.eyebrow::after { background: linear-gradient(90deg, var(--cj-gold), transparent); }

.section-head { text-align: center; max-width: 720px; margin-inline: auto; margin-bottom: clamp(2rem, 5vw, 3.2rem); }
.section-head p { color: var(--cj-text-mute); margin-top: 0.8rem; }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 54px;
  padding: 0 1.7rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  touch-action: manipulation;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
  will-change: transform;
}
.btn-primary {
  color: #0d0420;
  background: linear-gradient(135deg, #f5d77a 0%, #d4af37 48%, #b8932c 100%);
  box-shadow: 0 16px 40px rgba(212, 175, 55, 0.38);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 52px rgba(212, 175, 55, 0.5); }
.btn-ghost { color: var(--cj-gold); border: 1px solid rgba(212, 175, 55, 0.4); }
.btn-ghost:hover { border-color: var(--cj-gold); background: rgba(212, 175, 55, 0.08); }
.btn-whatsapp { background: var(--cj-whatsapp); color: #07270f; box-shadow: 0 14px 34px rgba(37, 211, 102, 0.32); }
.btn-whatsapp:hover { transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn:active { transform: translateY(0) scale(0.985); }

/* ---------- 6. Cards / glass ---------- */
.card {
  position: relative;
  border-radius: 22px;
  background: linear-gradient(165deg, rgba(75, 29, 138, 0.45) 0%, rgba(15, 6, 32, 0.92) 100%);
  border: 1px solid rgba(212, 175, 55, 0.32);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
  padding: clamp(1.4rem, 4vw, 2rem);
  overflow: hidden;
}
.card--hairline::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 46%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cj-gold), transparent);
}

/* visually hidden, still read by screen readers */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid var(--cj-line);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cj-gold-soft);
}
.badge--rose { background: var(--cj-blush); border-color: rgba(255, 158, 193, 0.3); color: var(--cj-rose); }
.badge--success { background: rgba(74, 222, 128, 0.12); border-color: rgba(74, 222, 128, 0.3); color: var(--cj-success-soft); }

/* ---------- 7. Navbar ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: calc(var(--nav-h) + var(--safe-top));
  padding-top: var(--safe-top);
  display: flex;
  align-items: center;
  background: rgba(13, 4, 32, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--cj-line);
  transition: background 0.3s ease;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav__logo { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; color: var(--cj-text-ivory); }
.nav__logo .mark { color: var(--cj-gold); }
.nav__links { display: none; }
.nav__actions { display: flex; align-items: center; gap: 0.7rem; }

/* Language toggle */
.lang-toggle { display: inline-flex; border: 1px solid var(--cj-line); border-radius: 999px; overflow: hidden; }
.lang-toggle button { padding: 0.4rem 0.7rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; color: var(--cj-text-mute); min-height: 40px; }
.lang-toggle button[aria-pressed="true"] { background: linear-gradient(135deg, #f5d77a, #d4af37); color: #0d0420; }

/* Hamburger */
.nav__toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 10px;
  border-radius: 10px;
}
.nav__toggle span { height: 2px; width: 100%; background: var(--cj-gold); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav__drawer {
  position: fixed;
  inset: calc(var(--nav-h) + var(--safe-top)) 0 0 0;
  z-index: 99;
  background: rgba(13, 4, 32, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: clamp(1.5rem, 6vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
  padding-bottom: calc(2rem + var(--safe-bottom));
}
.nav__drawer.open { transform: translateX(0); }
.nav__drawer a { padding: 1rem 0.4rem; font-family: var(--font-display); font-size: 1.25rem; border-bottom: 1px solid var(--cj-line); color: var(--cj-text-ivory); }
.nav__drawer a:hover { color: var(--cj-gold); }
.nav__drawer .btn { margin-top: 1.4rem; }
body.no-scroll { overflow: hidden; }

/* ---------- 8. Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + var(--safe-top) + clamp(2.5rem, 8vw, 5rem));
  padding-bottom: clamp(3rem, 8vw, 5rem);
  text-align: center;
  overflow: hidden;
}
/* Full-viewport home hero */
.hero--full {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--nav-h) + var(--safe-top) + clamp(2rem, 6vw, 4rem));
  padding-bottom: clamp(4.5rem, 10vw, 7rem);
}
.hero__inner { position: relative; z-index: 2; max-width: 820px; margin-inline: auto; }
.hero h1 { margin: 1rem 0 1.1rem; }
.hero .lead { max-width: 620px; margin: 0 auto 2rem; }
.hero__cta { display: flex; flex-direction: column; gap: 0.9rem; align-items: stretch; max-width: 480px; margin-inline: auto; }
.hero__cta .btn { letter-spacing: 0.1em; padding-inline: 1.4rem; }
.hero__glow {
  position: absolute;
  width: 70vw; height: 70vw;
  max-width: 620px; max-height: 620px;
  top: -10%; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(212, 175, 55, 0.18), transparent 65%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 1;
}

/* Trust row */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 1.5rem;
  margin-top: 2.6rem;
  color: var(--cj-text-mute);
  font-size: 0.84rem;
  letter-spacing: 0.05em;
}
.trust-row > span { display: inline-flex; align-items: baseline; gap: 0.4rem; }
.trust-row strong {
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  background: linear-gradient(135deg, #f5d77a, #d4af37, #9b7a1f);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.trust-row .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--cj-gold); opacity: 0.5; align-self: center; }

/* Hero credibility badge pill */
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1.1rem; margin-bottom: 1.4rem;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--cj-line-strong);
  color: var(--cj-gold-soft);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}
.hero__badge svg { color: var(--cj-gold); flex-shrink: 0; }

/* Hero star rating / social proof */
.hero__rating {
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  margin-top: 1.6rem;
}
.hero__rating .stars { display: inline-flex; gap: 0.2rem; color: var(--cj-gold); }
.hero__rating .stars svg { width: 18px; height: 18px; filter: drop-shadow(0 1px 4px rgba(212, 175, 55, 0.4)); }
.hero__rating p { font-size: 0.9rem; color: var(--cj-text-mute); letter-spacing: 0.02em; }
.hero__rating strong { color: var(--cj-gold-soft); font-weight: 700; font-variant-numeric: tabular-nums; }

/* Hero trust strip — glass pills */
.hero__trust {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem;
  margin-top: 2rem; padding: 0;
}
.hero__trust li {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.55rem 0.95rem; border-radius: 999px;
  background: var(--cj-surface); border: 1px solid var(--cj-line);
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.06em; color: var(--cj-text);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.hero__trust li:hover { border-color: var(--cj-line-strong); transform: translateY(-2px); }
.hero__trust li svg { width: 15px; height: 15px; color: var(--cj-gold); flex-shrink: 0; }

/* Hero scroll cue */
.hero__scroll {
  position: absolute; left: 50%; bottom: clamp(1rem, 3vw, 2rem);
  transform: translateX(-50%);
  width: 26px; height: 42px; border-radius: 999px;
  border: 1.5px solid var(--cj-line-strong);
  display: grid; place-items: start center; padding-top: 8px;
  z-index: 3; opacity: 0.8;
}
.hero__scroll span { width: 4px; height: 8px; border-radius: 4px; background: var(--cj-gold); animation: cj-scroll 1.7s ease-in-out infinite; }
@keyframes cj-scroll { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
.hero__scroll:hover { opacity: 1; border-color: var(--cj-gold); }

/* ---------- 9. Grids ---------- */
.grid { display: grid; gap: clamp(1rem, 3vw, 1.5rem); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr 1fr; }

/* Feature card */
.feature { text-align: left; }
.feature__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--cj-line);
  color: var(--cj-gold);
  margin-bottom: 1rem;
}
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { margin-bottom: 0.5rem; }
.feature p { color: var(--cj-text-mute); font-size: 0.94rem; }

/* How it works step */
.step { position: relative; }
.step__num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  background: linear-gradient(135deg, #f5d77a, #d4af37, #9b7a1f);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 0.7rem;
}

/* Stats */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 3vw, 1.6rem); }
.stat { text-align: center; }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 7vw, 3rem); color: var(--cj-gold-soft); line-height: 1; }
.stat__label { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cj-text-mute); margin-top: 0.5rem; }

/* Gallery */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.gallery figure { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--cj-line); aspect-ratio: 1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(13, 4, 32, 0.6)); }

/* Compatibility hero stat (matrimonial) */
.compat {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.4rem;
}
.compat__score {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(3rem, 13vw, 5rem);
  background: linear-gradient(135deg, #f5d77a, #d4af37, #9b7a1f);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1;
  position: relative;
}
.compat__ring {
  width: clamp(150px, 45vw, 200px); height: clamp(150px, 45vw, 200px);
  border-radius: 50%; display: grid; place-items: center;
  border: 2px solid var(--cj-line-strong);
  box-shadow: 0 0 0 8px var(--cj-blush), inset 0 0 40px rgba(212, 175, 55, 0.1);
  position: relative;
}

/* Testimonials */
.quote { font-family: var(--font-serif); font-style: italic; font-size: 1.12rem; color: var(--cj-text); line-height: 1.6; }
.quote-author { display: flex; align-items: center; gap: 0.8rem; margin-top: 1.2rem; }
.quote-author img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 1px solid var(--cj-line-strong); }
.quote-author b { font-family: var(--font-display); font-weight: 600; color: var(--cj-text-ivory); }
.quote-author small { display: block; color: var(--cj-text-faint); font-size: 0.78rem; }

/* Pricing */
.price { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 7vw, 2.6rem); color: var(--cj-gold-soft); }
.price small { font-size: 0.9rem; color: var(--cj-text-mute); font-family: var(--font-body); font-weight: 400; }
.price-list { display: grid; gap: 0.7rem; margin: 1.2rem 0; }
.price-list li { display: flex; gap: 0.6rem; align-items: flex-start; color: var(--cj-text-mute); font-size: 0.92rem; }
.price-list svg { width: 18px; height: 18px; color: var(--cj-success); flex-shrink: 0; margin-top: 3px; }

/* ---------- 10. FAQ accordion ---------- */
.faq { max-width: 760px; margin-inline: auto; display: grid; gap: 0.7rem; }
.faq__item { border: 1px solid var(--cj-line); border-radius: 14px; background: var(--cj-surface); overflow: hidden; }
.faq__q {
  width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem 1.3rem; font-family: var(--font-display); font-size: 1.02rem; color: var(--cj-text-ivory); min-height: 56px;
}
.faq__q .chev { transition: transform 0.3s; color: var(--cj-gold); flex-shrink: 0; }
.faq__item.open .chev { transform: rotate(180deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.34s ease; }
.faq__a p { padding: 0 1.3rem 1.2rem; color: var(--cj-text-mute); font-size: 0.92rem; }

/* ---------- 11. Forms ---------- */
.form-field { margin-bottom: 1.1rem; }
.form-field label { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cj-gold-soft); margin-bottom: 0.45rem; }
.input, .textarea, select.input {
  width: 100%; min-height: 50px; padding: 0.7rem 1rem; font-size: 16px;
  background: rgba(13, 4, 32, 0.62); border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 12px; color: var(--cj-text-ivory);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.input::placeholder, .textarea::placeholder { color: var(--cj-text-faint); }
.input:focus, .textarea:focus, select.input:focus {
  outline: none; border-color: var(--cj-gold); box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}
.form-error { color: var(--cj-error); font-size: 0.8rem; margin-top: 0.35rem; display: none; }
.form-error.show { display: block; }

/* ---------- 12. Contact info list ---------- */
.info-list { display: grid; gap: 1.1rem; }
.info-item { display: flex; gap: 0.9rem; align-items: flex-start; }
.info-item .info-icon { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; background: rgba(212, 175, 55, 0.12); border: 1px solid var(--cj-line); color: var(--cj-gold); }
.info-item small { color: var(--cj-text-faint); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.68rem; }
.info-item b { display: block; color: var(--cj-text-ivory); font-weight: 500; font-family: var(--font-body); }

/* ---------- 13. Footer ---------- */
/* bottom padding clears the floating WhatsApp button (16px offset + 56px) */
.footer { border-top: 1px solid var(--cj-line); padding-block: clamp(2.5rem, 7vw, 4rem) calc(5.5rem + var(--safe-bottom)); background: rgba(8, 3, 20, 0.6); }
.footer__grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.footer h4 { font-family: var(--font-body); font-size: 0.76rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cj-gold); margin-bottom: 0.4rem; }
.footer ul { display: grid; gap: 0; }
.footer ul a { display: inline-flex; align-items: center; min-height: 44px; }
.footer a { color: var(--cj-text-mute); font-size: 0.92rem; }
.footer a:hover { color: var(--cj-gold-soft); }
.footer__brand p { color: var(--cj-text-mute); font-size: 0.92rem; margin-top: 0.8rem; max-width: 320px; }
.footer__bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--cj-line); text-align: center; color: var(--cj-text-faint); font-size: 0.82rem; }
.footer__bottom a { color: var(--cj-gold-soft); }

/* ---------- 14. Floating WhatsApp ---------- */
.fab-wa {
  position: fixed; z-index: 90;
  right: clamp(1rem, 4vw, 1.6rem);
  bottom: calc(clamp(1rem, 4vw, 1.6rem) + var(--safe-bottom));
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--cj-whatsapp); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s;
}
.fab-wa:hover { transform: scale(1.06); }
.fab-wa svg { width: 30px; height: 30px; }

/* ---------- 15. Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 16. Hindi language ---------- */
[data-lang="hi"] body, [data-lang="hi"] .lead, [data-lang="hi"] p, [data-lang="hi"] .input, [data-lang="hi"] li { font-family: 'Noto Sans Devanagari', var(--font-body); }
[data-lang="hi"] h1, [data-lang="hi"] h2, [data-lang="hi"] h3, [data-lang="hi"] h4, [data-lang="hi"] .nav__logo { font-family: 'Noto Serif Devanagari', var(--font-display); }
[data-lang="hi"] .label, [data-lang="hi"] .eyebrow span { letter-spacing: 0.08em; }

/* ---------- 16b. Legal prose ---------- */
.legal { max-width: 820px; margin-inline: auto; }
.legal h2 { font-size: clamp(1.25rem, 3vw, 1.6rem); margin: 2.2rem 0 0.8rem; color: var(--cj-gold-soft); }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { color: var(--cj-text-mute); font-size: 0.96rem; margin-bottom: 0.9rem; }
.legal ul { list-style: disc; padding-left: 1.3rem; display: grid; gap: 0.4rem; margin-bottom: 1rem; }
.legal ul li { margin-bottom: 0; }
.legal a { color: var(--cj-gold-soft); text-decoration: underline; text-underline-offset: 3px; }
.legal .updated { color: var(--cj-text-faint); font-size: 0.82rem; margin-bottom: 2rem; }

/* ---------- 16c. Professional polish ---------- */
/* Anchor offset under fixed navbar (fixes jump-to-section hiding under nav) */
section[id], [id="how"], [id="faq"], [id="features"], [id="intro"], [id="trust"] { scroll-margin-top: calc(var(--nav-h) + var(--safe-top) + 12px); }

/* Selection */
::selection { background: rgba(212, 175, 55, 0.3); color: var(--cj-gold-soft); }

/* Crisp focus ring */
:focus-visible { outline: 2px solid var(--cj-gold); outline-offset: 3px; box-shadow: 0 0 0 5px rgba(212, 175, 55, 0.15); }

/* Tabular figures for numbers (no layout shift / aligned) */
.stat__num, .compat__score, .step__num, .price, .trust-row strong { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

/* Card hover lift — premium feel */
.card { transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, box-shadow 0.3s ease; }
.feature, .step, figure.card { cursor: default; }
.card.feature:hover, .card.step:hover, figure.card:hover {
  transform: translateY(-4px);
  border-color: var(--cj-line-strong);
  box-shadow: 0 38px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(212, 175, 55, 0.18);
}

/* Feature icon glow on card hover */
.feature__icon { transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease; }
.card.feature:hover .feature__icon { background: rgba(212, 175, 55, 0.2); border-color: var(--cj-line-strong); transform: scale(1.05); }

/* Animated nav-link underline */
@media (min-width: 980px) {
  .nav__links a { position: relative; padding-bottom: 4px; }
  .nav__links a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0;
    height: 1.5px; background: linear-gradient(90deg, var(--cj-gold-bright), var(--cj-gold-deep));
    transform: scaleX(0); transform-origin: left; transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .nav__links a:hover::after, .nav__links a.active::after { transform: scaleX(1); }
}

/* Gallery zoom on hover */
.gallery figure img { transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.gallery figure:hover img { transform: scale(1.06); }

/* Info-item card hover (contact) */
a.info-item { transition: transform 0.2s ease; }
a.info-item:hover { transform: translateX(3px); }
a.info-item:hover .info-icon { background: rgba(212, 175, 55, 0.2); border-color: var(--cj-line-strong); }
.info-item .info-icon { transition: background 0.25s, border-color 0.25s; }

/* Badge hover */
.badge { transition: border-color 0.25s ease, background 0.25s ease; }

/* Lang toggle press feel */
.lang-toggle button { transition: background 0.2s ease, color 0.2s ease; }

/* FAQ row hover */
.faq__item { transition: border-color 0.25s ease; }
.faq__item:hover { border-color: var(--cj-line-strong); }
.faq__q { transition: color 0.2s ease; }
.faq__q:hover { color: var(--cj-gold-soft); }

/* Moving gold sheen on primary CTA */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-18deg); transition: left 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn-primary:hover::after { left: 120%; }

/* Compatibility ring soft pulse */
@keyframes cj-pulse { 0%, 100% { box-shadow: 0 0 0 8px var(--cj-blush), inset 0 0 40px rgba(212,175,55,0.1); } 50% { box-shadow: 0 0 0 12px var(--cj-blush), inset 0 0 56px rgba(212,175,55,0.18); } }
.compat__ring { animation: cj-pulse 4s ease-in-out infinite; }

/* Smooth lift on FAB */
.fab-wa { transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease; }
.fab-wa:active { transform: scale(0.94); }

/* Stagger hero entrance reveal cadence */
.hero .reveal:nth-child(1) { transition-delay: 0.05s; }
.hero .reveal:nth-child(2) { transition-delay: 0.12s; }

/* ============================================================
   16d. MODERN MOTION LAYER
   ============================================================ */

/* Animated starfield canvas (injected by JS) */
#starfield {
  position: fixed; inset: 0; z-index: -1;
  pointer-events: none; opacity: 0.9;
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, var(--cj-gold-bright), var(--cj-gold), var(--cj-rose));
  z-index: 200; box-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
  will-change: transform;
}

/* Gold text living shimmer */
.gold-text, em {
  background-size: 220% auto;
  animation: cj-shimmer 6s linear infinite;
}
@keyframes cj-shimmer { to { background-position: 220% center; } }

/* Hero glow slow drift + breathe */
.hero__glow { animation: cj-glow-drift 14s ease-in-out infinite; }
@keyframes cj-glow-drift {
  0%, 100% { transform: translateX(-50%) translateY(0) scale(1); opacity: 0.85; }
  50% { transform: translateX(-46%) translateY(18px) scale(1.08); opacity: 1; }
}

/* Floating drift for accent elements */
.float-y { animation: cj-float 6s ease-in-out infinite; }
@keyframes cj-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Card pointer spotlight */
.card { --mx: 50%; --my: 0%; }
.card::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(280px circle at var(--mx) var(--my), rgba(212,175,55,0.14), transparent 60%);
  opacity: 0; transition: opacity 0.4s ease; pointer-events: none;
}
.card:hover::after { opacity: 1; }
.card > * { position: relative; z-index: 1; }

/* Richer reveal — fade + rise + blur + slight scale */
.reveal {
  opacity: 0; transform: translateY(28px) scale(0.985); filter: blur(6px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.7s ease;
}
.reveal.in { opacity: 1; transform: none; filter: none; }
/* Directional variants */
.reveal-l { transform: translateX(-32px); }
.reveal-r { transform: translateX(32px); }
.reveal-l.in, .reveal-r.in { transform: none; }

/* Eyebrow line draw-in */
.eyebrow::before, .eyebrow::after { transition: width 0.6s cubic-bezier(0.22,1,0.36,1) 0.15s; }
.reveal .eyebrow::before, .reveal:not(.in) .eyebrow::before { }

/* Nav entrance */
.nav { animation: cj-nav-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes cj-nav-in { from { transform: translateY(-100%); opacity: 0; } to { transform: none; opacity: 1; } }

/* Animated gradient hairline on cards */
.card--hairline::before { background-size: 200% 100%; animation: cj-line-flow 5s linear infinite; }
@keyframes cj-line-flow { to { background-position: 200% 0; } }

/* Press scale on cards/links treated as buttons */
.btn { will-change: transform; }

/* Badge subtle shine */
.badge { position: relative; overflow: hidden; }

/* Stagger utility (JS adds --i) */
[data-stagger] { transition-delay: calc(var(--i, 0) * 70ms); }

/* Count-up number lock width */
.stat__num { display: inline-block; min-width: 2ch; }

/* Hero zodiac ring — masked halo behind the title */
.hero__ring {
  position: absolute; top: 38%; left: 50%;
  width: min(540px, 92vw); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  z-index: 0; opacity: 0.5; pointer-events: none;
  -webkit-mask: radial-gradient(closest-side, #000 50%, rgba(0,0,0,0.35) 70%, transparent 84%);
  mask: radial-gradient(closest-side, #000 50%, rgba(0,0,0,0.35) 70%, transparent 84%);
}
.hero__ring svg { width: 100%; height: 100%; overflow: visible; }
.hero__ring .ring-outer { transform-origin: 200px 200px; animation: cj-spin 70s linear infinite; }
.hero__ring .ring-inner { transform-origin: 200px 200px; animation: cj-spin 48s linear infinite reverse; }
@keyframes cj-spin { to { transform: rotate(360deg); } }
@media (min-width: 720px) { .hero__ring { opacity: 0.6; } }

/* Infinity pairing knot — draws in on reveal */
.pair-knot { width: 92px; height: auto; display: block; margin: 0 auto 0.3rem; filter: drop-shadow(0 0 6px rgba(212,175,55,0.35)); }
.pair-knot path {
  fill: none; stroke: var(--cj-gold); stroke-width: 2.4; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.9s cubic-bezier(0.65, 0, 0.35, 1) 0.35s;
}
.reveal.in .pair-knot path { stroke-dashoffset: 0; }

@media (prefers-reduced-motion: reduce) {
  .hero__ring .ring-outer, .hero__ring .ring-inner { animation: none !important; }
  .pair-knot path { stroke-dashoffset: 0 !important; transition: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  #starfield { display: none; }
  .scroll-progress { display: none; }
  .gold-text, em, .hero__glow, .card--hairline::before, .compat__ring, .float-y { animation: none !important; }
}

/* ============================================================
   16f. FEATURES GRID polish
   ============================================================ */
#features { position: relative; }
#features::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 50% 0%, rgba(212,175,55,0.06), transparent 70%);
}
#features .feature {
  position: relative; overflow: hidden;
  padding-top: 1.9rem;
}
/* growing top accent */
#features .feature::before {
  content: ""; position: absolute; top: 0; left: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--cj-gold-bright), var(--cj-gold), transparent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
#features .feature:hover::before { transform: scaleX(1); }
/* icon: gradient fill on hover */
#features .feature__icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: rgba(212, 175, 55, 0.1);
  box-shadow: inset 0 0 0 1px var(--cj-line);
}
#features .feature:hover .feature__icon {
  background: linear-gradient(135deg, #f5d77a, #d4af37, #b8932c);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.4);
  color: #0d0420;
}
#features .feature h3 { transition: color 0.25s ease; }
#features .feature:hover h3 { color: var(--cj-gold-soft); }
/* corner sparkle */
#features .feature::after { transition: opacity 0.4s ease, transform 0.4s ease; }
#features .feature .spark {
  position: absolute; top: 1.1rem; right: 1.2rem; color: var(--cj-gold);
  opacity: 0; transform: scale(0.6) rotate(-30deg); transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.22,1,0.36,1);
  pointer-events: none;
}
#features .feature:hover .spark { opacity: 0.85; transform: scale(1) rotate(0); }

/* ============================================================
   16g. MATCHMAKING (listing, filters, detail sheet)
   ============================================================ */

/* Filter bar — sticky under app header */
.filterbar {
  position: sticky; top: calc(58px + var(--safe-top)); z-index: 60;
  background: rgba(13, 4, 32, 0.86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--cj-line);
  margin: 0 calc(-1 * clamp(1rem, 4vw, 1.4rem)) 1.2rem;
  padding: 0.7rem clamp(1rem, 4vw, 1.4rem);
}
.filterbar__row { display: flex; align-items: center; gap: 0.5rem; }
.filterbar__top { display: flex; align-items: center; gap: 0.5rem; }
.filterbar__top .sort-wrap { margin-left: auto; }
.filterbar .chip-scroll { margin-top: 0.65rem; }
.filter-btn {
  display: inline-flex; align-items: center; gap: 0.45rem; flex-shrink: 0;
  padding: 0.55rem 1rem; min-height: 42px; border-radius: 999px;
  border: 1px solid var(--cj-line-strong); background: var(--cj-surface);
  color: var(--cj-gold-soft); font-weight: 600; font-size: 0.82rem;
}
.filter-btn svg { width: 16px; height: 16px; }
.filter-btn .count { background: var(--cj-gold); color: #0d0420; border-radius: 999px; min-width: 18px; height: 18px; display: inline-grid; place-items: center; font-size: 0.66rem; padding: 0 4px; }
.chip-scroll { display: flex; gap: 0.45rem; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; flex: 1; min-width: 0; }
.chip-scroll::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0; padding: 0.5rem 0.9rem; min-height: 40px; border-radius: 999px;
  border: 1px solid var(--cj-line); background: transparent; color: var(--cj-text-mute);
  font-size: 0.78rem; font-weight: 600; white-space: nowrap; transition: all 0.2s;
}
.chip[aria-pressed="true"] { background: rgba(212, 175, 55, 0.14); border-color: var(--cj-gold); color: var(--cj-gold-soft); }
.match-count { font-size: 0.82rem; color: var(--cj-text-mute); margin-bottom: 1rem; }
.match-count strong { color: var(--cj-gold-soft); font-variant-numeric: tabular-nums; }

/* Match grid + cards */
.match-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.match-card {
  border-radius: 20px; overflow: hidden; position: relative;
  background: linear-gradient(165deg, rgba(75,29,138,0.4), rgba(15,6,32,0.94));
  border: 1px solid var(--cj-line); box-shadow: 0 24px 56px rgba(0,0,0,0.5);
  transition: transform 0.28s cubic-bezier(0.22,1,0.36,1), border-color 0.28s;
  display: flex; flex-direction: column;
}
.match-card:hover { transform: translateY(-4px); border-color: var(--cj-line-strong); }
.match-photo {
  position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center;
  color: rgba(247,234,209,0.5); font-family: var(--font-display); font-size: 2.6rem;
  text-decoration: none; cursor: pointer;
}
.match-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(13,4,32,0.85)); }
.match-photo .match-badges { position: absolute; top: 0.7rem; left: 0.7rem; right: 0.7rem; display: flex; gap: 0.4rem; flex-wrap: wrap; z-index: 2; }
.match-photo .match-name { position: absolute; bottom: 0.7rem; left: 0.9rem; right: 0.9rem; z-index: 2; }
.match-photo .match-name h3 { font-size: 1.2rem; }
.match-photo .match-name span { color: var(--cj-text-mute); font-size: 0.84rem; display: inline-flex; align-items: center; gap: 0.3rem; }
.match-body { padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; gap: 0.7rem; }
.match-rows { display: grid; gap: 0.4rem; }
.match-rows div { display: flex; justify-content: space-between; gap: 0.8rem; font-size: 0.84rem; }
.match-rows dt { color: var(--cj-text-faint); }
.match-rows dd { color: var(--cj-text); text-align: right; font-weight: 500; }
.match-actions { display: flex; gap: 0.6rem; margin-top: 0.3rem; }
.match-actions .btn { flex: 1; min-height: 46px; font-size: 0.78rem; padding-inline: 0.8rem; }

/* Interest button states */
.btn-interest { background: var(--cj-blush); border: 1px solid var(--cj-rose-deep); color: var(--cj-rose); }
.btn-interest:hover { background: rgba(255,158,193,0.22); }
.btn-interest.sent { background: rgba(74,222,128,0.14); border-color: var(--cj-success); color: var(--cj-success-soft); pointer-events: none; }
.btn-interest svg { width: 16px; height: 16px; }

/* Empty state */
.match-empty { text-align: center; padding: 3rem 1rem; color: var(--cj-text-mute); }
.match-empty svg { color: var(--cj-gold); opacity: 0.6; margin: 0 auto 1rem; }

/* Bottom sheet */
.sheet-backdrop {
  position: fixed; inset: 0; z-index: 150; background: rgba(6,3,16,0.6);
  backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.sheet-backdrop.open { opacity: 1; visibility: visible; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 151;
  max-height: 88dvh; overflow-y: auto;
  background: linear-gradient(180deg, rgba(26,8,56,0.98), rgba(13,4,32,0.99));
  border-top: 1px solid var(--cj-line-strong); border-radius: 24px 24px 0 0;
  padding: 0.6rem clamp(1.1rem, 4vw, 1.6rem) calc(1.4rem + var(--safe-bottom));
  transform: translateY(100%); transition: transform 0.36s cubic-bezier(0.22,1,0.36,1);
  box-shadow: 0 -20px 60px rgba(0,0,0,0.55);
}
.sheet.open { transform: translateY(0); }
.sheet__grip { width: 44px; height: 4px; border-radius: 4px; background: var(--cj-line-strong); margin: 0.4rem auto 1.1rem; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; }
.sheet__close { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; color: var(--cj-text-mute); border: 1px solid var(--cj-line); }
.sheet__close:hover { color: var(--cj-gold); border-color: var(--cj-line-strong); }
.sheet .form-field { margin-bottom: 1rem; }
.range-row { display: flex; align-items: center; gap: 0.6rem; }
.range-row select { flex: 1; }
.range-row span { color: var(--cj-text-faint); }
@media (min-width: 620px) { .sheet { left: 50%; right: auto; width: 480px; transform: translate(-50%, calc(100% + 6vh)); border-radius: 24px; bottom: 4vh; max-height: 86dvh; } .sheet.open { transform: translate(-50%, 0); } }

/* Detail sheet: locked premium block */
.detail-photo { aspect-ratio: 16/10; border-radius: 16px; display: grid; place-items: center; font-family: var(--font-display); font-size: 3rem; color: rgba(247,234,209,0.55); margin-bottom: 1rem; position: relative; overflow: hidden; }
.locked {
  position: relative; margin-top: 1rem; padding: 1.4rem; border-radius: 16px;
  border: 1px dashed var(--cj-line-strong); background: var(--cj-surface); text-align: center;
}
.locked__icon { width: 48px; height: 48px; margin: 0 auto 0.7rem; display: grid; place-items: center; border-radius: 50%; background: rgba(212,175,55,0.12); border: 1px solid var(--cj-line); color: var(--cj-gold); }
.locked ul { display: grid; gap: 0.4rem; margin: 0.8rem 0 1.1rem; text-align: left; }
.locked li { display: flex; gap: 0.5rem; align-items: center; color: var(--cj-text-mute); font-size: 0.86rem; }
.locked li svg { width: 15px; height: 15px; color: var(--cj-gold); flex-shrink: 0; }
.locked .price { display: block; margin-bottom: 0.2rem; }

@media (min-width: 620px) { .match-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .match-grid { grid-template-columns: repeat(3, 1fr); } .app-main--wide .app-wrap { max-width: 1100px; } }

/* ============================================================
   16h. PROFILE PHOTO GALLERY (detail sheet)
   ============================================================ */
.pgallery { margin-bottom: 1.1rem; }
.pgallery__main {
  position: relative; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--cj-line-strong); box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  cursor: zoom-in;
}
.pgallery__slide {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 5rem; color: rgba(247,234,209,0.22);
  opacity: 0; transition: opacity 0.45s ease; pointer-events: none;
}
.pgallery__slide.active { opacity: 1; }
.pgallery__slide::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 30%, transparent, rgba(8,3,20,0.55)); }
.pgallery__counter {
  position: absolute; top: 0.8rem; right: 0.8rem; z-index: 3;
  background: rgba(8,3,20,0.7); border: 1px solid var(--cj-line); color: var(--cj-gold-soft);
  padding: 0.3rem 0.7rem; border-radius: 999px; font-size: 0.74rem; font-weight: 600;
  font-variant-numeric: tabular-nums; backdrop-filter: blur(6px);
}
.pgallery__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(8,3,20,0.6); border: 1px solid var(--cj-line-strong); color: var(--cj-gold);
  backdrop-filter: blur(6px); transition: background 0.2s, transform 0.2s;
}
.pgallery__nav:hover { background: rgba(212,175,55,0.2); }
.pgallery__nav.prev { left: 0.7rem; }
.pgallery__nav.next { right: 0.7rem; }
.pgallery__nav:active { transform: translateY(-50%) scale(0.9); }
.pgallery__thumbs { display: flex; gap: 0.5rem; margin-top: 0.6rem; }
.pgallery__thumb {
  flex: 1; aspect-ratio: 1; border-radius: 11px; overflow: hidden; cursor: pointer;
  border: 2px solid transparent; opacity: 0.55; transition: opacity 0.2s, border-color 0.2s, transform 0.2s;
  display: grid; place-items: center; font-family: var(--font-display); color: rgba(247,234,209,0.3);
}
.pgallery__thumb:hover { opacity: 0.85; }
.pgallery__thumb.active { opacity: 1; border-color: var(--cj-gold); transform: translateY(-2px); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(4,2,12,0.94);
  display: flex; align-items: center; justify-content: center; padding: 2rem 1rem;
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
  backdrop-filter: blur(8px);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox__img {
  width: min(560px, 92vw); aspect-ratio: 4/5; border-radius: 18px; overflow: hidden;
  display: grid; place-items: center; font-family: var(--font-display); font-size: 8rem; color: rgba(247,234,209,0.25);
  border: 1px solid var(--cj-line-strong); box-shadow: 0 40px 100px rgba(0,0,0,0.7);
}
.lightbox__close { position: absolute; top: calc(1rem + var(--safe-top)); right: 1rem; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: var(--cj-text-ivory); background: rgba(13,4,32,0.7); border: 1px solid var(--cj-line-strong); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: var(--cj-gold); background: rgba(13,4,32,0.7); border: 1px solid var(--cj-line-strong); }
.lightbox__nav.prev { left: clamp(0.5rem, 3vw, 2rem); }
.lightbox__nav.next { right: clamp(0.5rem, 3vw, 2rem); }
.lightbox__counter { position: absolute; bottom: calc(1.4rem + var(--safe-bottom)); left: 50%; transform: translateX(-50%); color: var(--cj-text-mute); font-size: 0.84rem; font-variant-numeric: tabular-nums; }

/* Detail info grid */
.detail-head { display: flex; align-items: flex-start; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 0.3rem; }
.detail-head h3 { margin: 0; font-size: 1.4rem; }
.detail-loc { color: var(--cj-text-mute); font-size: 0.88rem; display: inline-flex; align-items: center; gap: 0.35rem; margin-bottom: 1rem; }
.detail-loc svg { width: 14px; height: 14px; color: var(--cj-gold); }
.detail-info { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; margin-bottom: 0.4rem; }
.detail-info > div { padding: 0.7rem 0.85rem; border-radius: 12px; background: var(--cj-surface); border: 1px solid var(--cj-line); }
.detail-info dt { font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cj-gold); margin-bottom: 0.2rem; }
.detail-info dd { font-size: 0.92rem; color: var(--cj-text); font-weight: 500; }
.detail-info .wide { grid-column: 1 / -1; }

body.no-scroll { overflow: hidden; }

/* Profile detail: 2-zone split on desktop (sticky gallery rail + content) */
.detail-layout { display: grid; gap: 1.4rem; }
@media (min-width: 980px) {
  .detail-layout { grid-template-columns: minmax(0, 460px) 1fr; gap: 2.4rem; align-items: start; }
  .detail-media { position: sticky; top: calc(58px + var(--safe-top) + 1.4rem); }
  .detail-content { padding-top: 0.2rem; }
  .detail-content .detail-head h3 { font-size: 1.8rem; }
  .detail-info { grid-template-columns: 1fr 1fr; }
  .locked { padding: 1.8rem; }
}
@media (min-width: 1200px) {
  .detail-layout { grid-template-columns: minmax(0, 500px) 1fr; }
}
@media (prefers-reduced-motion: reduce) { .pgallery__slide { transition: none; } }

/* ============================================================
   16l. APP HOME DASHBOARD (onboarding)
   ============================================================ */
.dash-hi { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1.3rem; }
.dash-av { width: 54px; height: 54px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: #0d0420; background: linear-gradient(135deg, #f5d77a, #d4af37); box-shadow: 0 8px 24px rgba(212, 175, 55, 0.32); }
.dash-hi__sub { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cj-gold); }
.dash-hi__name { font-size: clamp(1.5rem, 5vw, 2rem); line-height: 1.1; }

.status-card { display: flex; align-items: center; gap: 0.9rem; padding: 1rem 1.1rem; border-radius: 16px; background: linear-gradient(165deg, rgba(75, 29, 138, 0.42), rgba(15, 6, 32, 0.92)); border: 1px solid var(--cj-line); text-decoration: none; color: var(--cj-text); transition: border-color 0.25s, transform 0.25s; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4); }
.status-card:hover { border-color: var(--cj-line-strong); transform: translateY(-2px); }
.status-card__ic { width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0; display: grid; place-items: center; background: rgba(212, 175, 55, 0.12); border: 1px solid var(--cj-line); color: var(--cj-gold); }
.status-card__ic svg { width: 22px; height: 22px; }
.status-card b { display: block; font-size: 0.95rem; color: var(--cj-text-ivory); }
.status-card small { font-size: 0.8rem; color: var(--cj-text-mute); }
.status-card .chev { margin-left: auto; color: var(--cj-gold); flex-shrink: 0; }
.status-card.active .status-card__ic { background: rgba(74, 222, 128, 0.14); border-color: rgba(74, 222, 128, 0.4); color: var(--cj-success); }
.status-card.review .status-card__ic { background: rgba(245, 200, 80, 0.12); border-color: rgba(245, 200, 80, 0.4); color: var(--cj-warn); }

.dash-h { font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cj-gold); margin: 1.8rem 0 0.9rem; }

.tile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.tile { position: relative; display: flex; flex-direction: column; gap: 0.7rem; padding: 1.1rem; border-radius: 18px; background: var(--cj-surface); border: 1px solid var(--cj-line); text-decoration: none; color: var(--cj-text); min-height: 108px; transition: border-color 0.25s, transform 0.25s, background 0.25s; }
.tile:hover { border-color: var(--cj-line-strong); transform: translateY(-3px); background: rgba(212, 175, 55, 0.06); }
.tile__ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(212, 175, 55, 0.12); color: var(--cj-gold); }
.tile__ic svg { width: 22px; height: 22px; }
.tile b { font-size: 0.92rem; color: var(--cj-text-ivory); }
.tile span { font-size: 0.76rem; color: var(--cj-text-mute); margin-top: -0.3rem; }
.tile__badge { position: absolute; top: 0.9rem; right: 0.9rem; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--cj-rose-deep); color: #fff; font-size: 0.68rem; font-weight: 700; display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.hdr-bell { position: relative; }
.hdr-bell .dot { position: absolute; top: 7px; right: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--cj-rose-deep); border: 2px solid var(--cj-bg-0); }

@media (min-width: 720px) {
  .choice-grid { grid-template-columns: 1fr 1fr; }
  .tile-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
}

/* Notifications panel */
.notif-backdrop { position: fixed; inset: 0; z-index: 160; background: rgba(6, 3, 16, 0.6); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; }
.notif-backdrop.open { opacity: 1; visibility: visible; }
.notif-panel { position: fixed; top: 0; right: 0; bottom: 0; z-index: 161; width: min(400px, 90vw); display: flex; flex-direction: column; background: linear-gradient(180deg, rgba(26, 8, 56, 0.99), rgba(13, 4, 32, 0.99)); border-left: 1px solid var(--cj-line-strong); box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5); transform: translateX(100%); transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1); }
.notif-panel.open { transform: none; }
.notif-head { display: flex; align-items: center; gap: 0.5rem; padding: calc(1rem + var(--safe-top)) 1rem 1rem; border-bottom: 1px solid var(--cj-line); }
.notif-head h3 { flex: 1; font-size: 1.1rem; min-width: 0; }
.notif-clear { font-size: 0.74rem; color: var(--cj-gold); font-weight: 600; white-space: nowrap; }
.notif-clear:hover { color: var(--cj-gold-soft); }
.notif-clear--danger { color: var(--cj-error, #e06c75); }
.notif-clear--danger:hover { color: #ff9a9a; }
.notif-list { flex: 1; overflow-y: auto; padding: 0.6rem; display: flex; flex-direction: column; gap: 0.4rem; }
.notif-item { display: flex; gap: 0.8rem; padding: 0.85rem; border-radius: 13px; background: var(--cj-surface); border: 1px solid var(--cj-line); }
.notif-item.unread { background: rgba(212, 175, 55, 0.07); border-color: var(--cj-line-strong); }
.notif-ic { width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0; display: grid; place-items: center; background: rgba(212, 175, 55, 0.12); color: var(--cj-gold); }
.notif-ic svg { width: 18px; height: 18px; }
.notif-item.success .notif-ic { background: rgba(74, 222, 128, 0.14); color: var(--cj-success); }
.notif-item.rose .notif-ic { background: var(--cj-blush); color: var(--cj-rose); }
.notif-item.warn .notif-ic { background: rgba(245, 200, 80, 0.12); color: var(--cj-warn); }
.notif-body { flex: 1; min-width: 0; }
.notif-body p { font-size: 0.86rem; color: var(--cj-text); }
.notif-item.unread .notif-body p { color: var(--cj-text-ivory); }
.notif-body time { font-size: 0.72rem; color: var(--cj-text-faint); }
.notif-empty { text-align: center; color: var(--cj-text-mute); padding: 3rem 1rem; }
.notif-empty svg { color: var(--cj-gold); opacity: 0.5; margin: 0 auto 0.8rem; }

/* ============================================================
   16n. PREMIUM UNLOCK (₹21,999 · 5-day countdown · reveal/refund)
   ============================================================ */
.unlock-price { text-align: center; margin: 0.4rem 0 1.4rem; }
.unlock-price .pay-amount { font-size: clamp(2.6rem, 10vw, 3.4rem); }
.unlock-price small { display: block; color: var(--cj-text-mute); font-size: 0.86rem; margin-top: 0.2rem; }
.unlock-status { display: flex; gap: 0.8rem; align-items: center; padding: 1rem 1.1rem; border-radius: 16px; border: 1px solid var(--cj-line); background: var(--cj-surface); margin-bottom: 1.2rem; }
.unlock-status__ic { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center; }
.unlock-status.you .unlock-status__ic { background: rgba(74, 222, 128, 0.14); color: var(--cj-success); }
.unlock-status.wait .unlock-status__ic { background: rgba(245, 200, 80, 0.12); color: var(--cj-warn); }
.unlock-status b { display: block; font-size: 0.95rem; color: var(--cj-text-ivory); }
.unlock-status span { font-size: 0.82rem; color: var(--cj-text-mute); }

.countdown { display: flex; gap: 0.6rem; justify-content: center; margin: 0.4rem 0 1.4rem; }
.cd-pill { min-width: 62px; padding: 0.7rem 0.4rem; border-radius: 14px; text-align: center; background: linear-gradient(165deg, rgba(75, 29, 138, 0.4), rgba(15, 6, 32, 0.92)); border: 1px solid var(--cj-line); }
.cd-pill b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; color: var(--cj-gold-soft); font-variant-numeric: tabular-nums; line-height: 1; }
.cd-pill span { font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cj-text-faint); }

.unlock-perks { display: grid; gap: 0.5rem; margin: 0.4rem 0 1.4rem; }
.unlock-perks li { display: flex; gap: 0.6rem; align-items: center; color: var(--cj-text-mute); font-size: 0.88rem; }
.unlock-perks li svg { width: 16px; height: 16px; color: var(--cj-gold); flex-shrink: 0; }

.reveal-contact { display: grid; gap: 0.7rem; }
.reveal-contact a.contact-row, .reveal-contact .contact-row { display: flex; gap: 0.8rem; align-items: center; padding: 0.9rem 1rem; border-radius: 13px; background: var(--cj-surface); border: 1px solid var(--cj-line); text-decoration: none; color: var(--cj-text); transition: border-color 0.2s; }
.reveal-contact a.contact-row:hover { border-color: var(--cj-line-strong); }
.contact-row__ic { width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0; display: grid; place-items: center; background: rgba(212, 175, 55, 0.12); color: var(--cj-gold); }
.contact-row__ic svg { width: 18px; height: 18px; }
.contact-row dt { font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cj-gold); }
.contact-row dd { font-size: 0.92rem; color: var(--cj-text-ivory); font-weight: 500; }

.refund-grid { display: grid; gap: 0.8rem; }
.refund-opt { display: flex; gap: 0.9rem; align-items: flex-start; padding: 1.1rem; border-radius: 16px; background: var(--cj-surface); border: 1px solid var(--cj-line); width: 100%; text-align: left; transition: border-color 0.2s, transform 0.2s; }
.refund-opt:hover { border-color: var(--cj-gold); transform: translateY(-2px); }
.refund-opt__ic { width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center; background: rgba(212, 175, 55, 0.12); color: var(--cj-gold); }
.refund-opt b { display: block; color: var(--cj-text-ivory); margin-bottom: 0.2rem; }
.refund-opt span { font-size: 0.84rem; color: var(--cj-text-mute); }
.demo-controls { margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px dashed var(--cj-line); }
.demo-controls p { font-size: 0.74rem; color: var(--cj-text-faint); text-align: center; margin-bottom: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* ============================================================
   16m. PROFILE PHOTO MANAGER (my-profile)
   ============================================================ */
.pm-card { padding: 1.2rem; margin-bottom: 1.3rem; }
.pm-head { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.2rem; }
.pm-avatar { width: 92px; height: 92px; border-radius: 22px; flex-shrink: 0; position: relative; overflow: hidden; display: grid; place-items: center; font-family: var(--font-display); font-size: 2rem; color: rgba(247, 234, 209, 0.75); border: 1px solid var(--cj-line-strong); background: linear-gradient(160deg, rgba(75, 29, 138, 0.5), rgba(15, 6, 32, 0.9)); }
.pm-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pm-cam { position: absolute; bottom: 5px; right: 5px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #f5d77a, #d4af37); color: #0d0420; border: 2px solid var(--cj-bg-0); cursor: pointer; z-index: 2; }
.pm-cam svg { width: 16px; height: 16px; }
.pm-cam input { display: none; }
.pm-head b { display: block; font-size: 1.05rem; color: var(--cj-text-ivory); }
.pm-head small { font-size: 0.82rem; color: var(--cj-text-mute); }
.pm-count { font-size: 0.78rem; color: var(--cj-text-mute); margin: 0 0 0.7rem; }
.pm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
@media (min-width: 560px) { .pm-grid { grid-template-columns: repeat(6, 1fr); } }
.pm-tile { position: relative; aspect-ratio: 1; border-radius: 13px; overflow: hidden; border: 1px solid var(--cj-line); background: var(--cj-surface); }
.pm-tile img { width: 100%; height: 100%; object-fit: cover; }
.pm-tile.empty { border-style: dashed; display: grid; place-items: center; color: var(--cj-text-faint); cursor: pointer; }
.pm-tile.empty:hover { border-color: var(--cj-gold); color: var(--cj-gold); }
.pm-tile.empty input { display: none; }
.pm-del { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(8, 3, 20, 0.72); color: #fff; border: 1px solid var(--cj-line-strong); backdrop-filter: blur(4px); z-index: 2; }
.pm-del:hover { color: var(--cj-error); border-color: rgba(255, 107, 107, 0.5); }
.pm-del svg { width: 14px; height: 14px; }
.pm-star { position: absolute; bottom: 4px; left: 4px; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(8, 3, 20, 0.72); color: var(--cj-gold); border: 1px solid var(--cj-line-strong); backdrop-filter: blur(4px); z-index: 2; }
.pm-star.active { background: var(--cj-gold); color: #0d0420; }
.pm-star svg { width: 14px; height: 14px; }
.verified-note { display: flex; gap: 0.6rem; align-items: center; padding: 0.85rem 1rem; border-radius: 12px; background: rgba(74, 222, 128, 0.1); border: 1px solid rgba(74, 222, 128, 0.3); color: var(--cj-success-soft); font-size: 0.84rem; margin-bottom: 1.2rem; }
.verified-note svg { flex-shrink: 0; color: var(--cj-success); }
.lock-chip { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.64rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cj-text-faint); border: 1px solid var(--cj-line); border-radius: 999px; padding: 0.2rem 0.55rem; margin-left: auto; }
.lock-chip svg { width: 11px; height: 11px; }
.compat-sec-title.locked-row { align-items: center; }

/* Nav auth button (desktop only; mobile uses drawer) */
.nav__auth { display: none; }
@media (min-width: 980px) {
  .nav__auth {
    display: inline-flex; min-height: 42px; padding: 0 1.2rem;
    font-size: 0.76rem; letter-spacing: 0.1em; white-space: nowrap;
    box-shadow: 0 10px 26px rgba(212, 175, 55, 0.32);
  }
}

/* ============================================================
   16i. MATCHMAKING POLISH (skeleton, sort, active chips, card micro-details)
   ============================================================ */

/* Page intro band */
.match-intro { margin-bottom: 0.4rem; }
.match-intro h2 { font-size: clamp(1.5rem, 4vw, 1.9rem); }
.match-intro p { color: var(--cj-text-mute); font-size: 0.9rem; margin-top: 0.2rem; }

/* Filter bar: sort on the right */
.filterbar__row { gap: 0.5rem; }
.sort-wrap { position: relative; flex-shrink: 0; margin-left: auto; }
.sort-select {
  appearance: none; -webkit-appearance: none;
  min-height: 42px; padding: 0 2rem 0 0.9rem; border-radius: 999px;
  background: var(--cj-surface); border: 1px solid var(--cj-line); color: var(--cj-gold-soft);
  font-weight: 600; font-size: 0.8rem; cursor: pointer;
}
.sort-wrap svg { position: absolute; right: 0.7rem; top: 50%; transform: translateY(-50%); width: 14px; height: 14px; color: var(--cj-gold); pointer-events: none; }

/* Active filter chips */
.active-filters { display: flex; gap: 0.45rem; flex-wrap: wrap; margin-bottom: 1rem; }
.active-filters:empty { display: none; }
.afchip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.4rem 0.5rem 0.4rem 0.8rem; border-radius: 999px;
  background: rgba(212, 175, 55, 0.12); border: 1px solid var(--cj-line-strong);
  color: var(--cj-gold-soft); font-size: 0.74rem; font-weight: 600;
}
.afchip button { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; color: inherit; background: rgba(212, 175, 55, 0.18); }
.afchip button:hover { background: rgba(212, 175, 55, 0.32); }
.afchip svg { width: 11px; height: 11px; }

/* Card micro-details */
.match-card { animation: cj-card-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes cj-card-in { from { opacity: 0; transform: translateY(20px) scale(0.98); } to { opacity: 1; transform: none; } }
.match-card .match-top { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.1rem; }
.match-live { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.74rem; color: var(--cj-text-mute); font-weight: 600; }
.match-live i { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.match-live.online i { background: var(--cj-success); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55); animation: cj-livedot 2.2s infinite; }
.match-live.online { color: var(--cj-success-soft); }
.match-live.away i { background: var(--cj-gold); opacity: 0.7; }
@keyframes cj-livedot { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5); } 70% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
.match-astro {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.28rem 0.6rem; border-radius: 999px;
  background: var(--cj-blush); border: 1px solid rgba(226, 109, 154, 0.5); color: var(--cj-rose);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.02em; font-variant-numeric: tabular-nums;
}
.match-astro svg { width: 12px; height: 12px; }
/* gold sheen sweep on card hover */
.match-card::before {
  content: ""; position: absolute; top: 0; left: -70%; width: 50%; height: 100%; z-index: 4;
  background: linear-gradient(100deg, transparent, rgba(245, 215, 122, 0.12), transparent);
  transform: skewX(-18deg); transition: left 0.7s cubic-bezier(0.22, 1, 0.36, 1); pointer-events: none;
}
.match-card:hover::before { left: 130%; }

/* Skeleton loading */
.skel-card { border-radius: 20px; overflow: hidden; border: 1px solid var(--cj-line); background: rgba(15, 6, 32, 0.6); }
.skel { background: linear-gradient(100deg, rgba(255,255,255,0.04) 30%, rgba(245,215,122,0.1) 50%, rgba(255,255,255,0.04) 70%); background-size: 220% 100%; animation: cj-skel 1.3s linear infinite; }
@keyframes cj-skel { to { background-position: -220% 0; } }
.skel-photo { aspect-ratio: 4 / 3; }
.skel-body { padding: 1rem 1.1rem 1.1rem; display: grid; gap: 0.6rem; }
.skel-line { height: 12px; border-radius: 6px; }
.skel-line.w60 { width: 60%; } .skel-line.w40 { width: 40%; } .skel-line.w80 { width: 80%; }
.skel-btn { height: 46px; border-radius: 999px; margin-top: 0.4rem; }

@media (prefers-reduced-motion: reduce) {
  .match-card, .skel { animation: none; }
  .match-live.online i { animation: none; }
  .match-card::before { display: none; }
}

/* ============================================================
   16j. REQUESTS / INTEREST INBOX (tabs + request cards)
   ============================================================ */
.tabs {
  display: flex; gap: 0.3rem; padding: 4px; border-radius: 999px;
  background: var(--cj-surface); border: 1px solid var(--cj-line);
  position: sticky; top: calc(58px + var(--safe-top)); z-index: 40;
  margin-bottom: 1.4rem; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.tab {
  flex: 1; min-height: 44px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  color: var(--cj-text-mute); font-weight: 600; font-size: 0.84rem; transition: color 0.2s;
}
.tab[aria-selected="true"] { background: linear-gradient(135deg, #f5d77a, #d4af37); color: #0d0420; box-shadow: 0 6px 18px rgba(212, 175, 55, 0.3); }
.tab-badge { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--cj-rose-deep); color: #fff; font-size: 0.66rem; font-weight: 700; display: inline-grid; place-items: center; font-variant-numeric: tabular-nums; }
.tab[aria-selected="true"] .tab-badge { background: rgba(13, 4, 32, 0.85); color: var(--cj-gold-soft); }

.req-list { display: grid; gap: 0.9rem; }
.req-card {
  display: flex; gap: 0.9rem; align-items: center; padding: 0.9rem; border-radius: 18px;
  background: linear-gradient(165deg, rgba(75, 29, 138, 0.4), rgba(15, 6, 32, 0.94));
  border: 1px solid var(--cj-line); box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4);
  transition: border-color 0.25s, transform 0.25s; animation: cj-card-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.req-card:hover { border-color: var(--cj-line-strong); transform: translateY(-2px); }
.req-avatar { width: 64px; height: 64px; border-radius: 14px; flex-shrink: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: 1.6rem; color: rgba(247, 234, 209, 0.6); text-decoration: none; position: relative; overflow: hidden; }
.req-avatar::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 30%, transparent, rgba(8, 3, 20, 0.4)); }
.req-info { flex: 1; min-width: 0; }
.req-info h3 { font-size: 1.05rem; }
.req-info h3 a { color: inherit; text-decoration: none; }
.req-info h3 a:hover { color: var(--cj-gold-soft); }
.req-meta { color: var(--cj-text-mute); font-size: 0.8rem; margin-top: 0.2rem; display: flex; gap: 0.4rem 0.6rem; flex-wrap: wrap; align-items: center; }
.req-meta .match-astro { padding: 0.2rem 0.5rem; font-size: 0.66rem; }
.req-actions { display: flex; flex-direction: column; gap: 0.5rem; flex-shrink: 0; }
.icon-btn { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--cj-line); background: var(--cj-surface); transition: all 0.2s; }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn.accept { color: var(--cj-success); border-color: rgba(74, 222, 128, 0.4); }
.icon-btn.accept:hover { background: rgba(74, 222, 128, 0.16); transform: scale(1.05); }
.icon-btn.reject { color: var(--cj-text-mute); }
.icon-btn.reject:hover { color: var(--cj-error); border-color: rgba(255, 107, 107, 0.4); }
.req-status { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.74rem; font-weight: 600; }
.req-status.pending { color: var(--cj-gold-soft); }
.req-status.matched { color: var(--cj-success-soft); }
.req-cta { flex-shrink: 0; }
.req-card .btn-sm { min-height: 40px; font-size: 0.74rem; padding: 0 0.9rem; }

/* match-created celebratory strip */
.match-banner {
  display: flex; align-items: center; gap: 0.7rem; padding: 0.9rem 1.1rem; margin-bottom: 1.2rem;
  border-radius: 16px; background: var(--cj-blush); border: 1px solid rgba(226, 109, 154, 0.4); color: var(--cj-rose);
  font-size: 0.88rem;
}
.match-banner svg { flex-shrink: 0; color: var(--cj-rose); }

@media (prefers-reduced-motion: reduce) { .req-card { animation: none; } }

/* ============================================================
   16k. COMPATIBILITY RESULT (Gun Milan)
   ============================================================ */
:root { --cj-warn: #f5c850; --cj-warn-soft: #ffe199; }

/* Pair header */
.compat-pair { display: flex; align-items: center; justify-content: center; gap: clamp(0.8rem, 4vw, 1.6rem); margin-bottom: 1.4rem; }
.compat-pair__node { text-align: center; }
.compat-pair__av { width: clamp(64px, 16vw, 80px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-size: 1.7rem; color: rgba(247, 234, 209, 0.75); border: 2px solid var(--cj-line-strong); }
.compat-pair__name { font-size: 0.82rem; color: var(--cj-text-mute); margin-top: 0.45rem; }
.compat-pair__heart { color: var(--cj-rose); animation: cj-heart 1.8s ease-in-out infinite; }
@keyframes cj-heart { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }

/* Score gauge */
.gauge { position: relative; width: clamp(200px, 60vw, 240px); aspect-ratio: 1; margin: 0 auto 0.6rem; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge__track { fill: none; stroke: rgba(212, 175, 55, 0.14); }
.gauge__fill { fill: none; stroke: url(#gaugeGrad); stroke-linecap: round; transition: stroke-dashoffset 1.5s cubic-bezier(0.22, 1, 0.36, 1); filter: drop-shadow(0 0 7px rgba(212, 175, 55, 0.45)); }
.gauge__label { font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cj-gold); white-space: nowrap; }
.gauge__center { position: absolute; inset: 22%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 0.15rem; }
.gauge__score { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.3rem, 9vw, 3rem); line-height: 1; background: linear-gradient(135deg, #f5d77a, #d4af37, #9b7a1f); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-variant-numeric: tabular-nums; }
.gauge__score small { font-size: 0.36em; color: var(--cj-text-mute); -webkit-text-fill-color: var(--cj-text-mute); }
.gauge__pct { font-size: 0.74rem; color: var(--cj-text-mute); letter-spacing: 0.02em; white-space: nowrap; }
.compat-verdict { text-align: center; margin-bottom: 1.6rem; }
.compat-verdict .badge { font-size: 0.78rem; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.5rem 1rem; }
.compat-verdict .badge svg { width: 14px; height: 14px; flex-shrink: 0; }
.compat-verdict p { color: var(--cj-text-mute); max-width: 460px; margin: 0.8rem auto 0; font-size: 0.92rem; }

/* Summary prose card */
.summary-prose { position: relative; padding: 1.6rem clamp(1.2rem, 4vw, 1.8rem); overflow: hidden; }
.summary-quote { position: absolute; top: -0.4rem; left: 0.6rem; font-family: var(--font-display); font-size: 5rem; line-height: 1; color: var(--cj-gold); opacity: 0.18; pointer-events: none; }
.summary-prose p { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.15rem, 2.4vw, 1.32rem); line-height: 1.7; color: var(--cj-text); position: relative; }
.summary-prose p strong { color: var(--cj-gold-soft); font-weight: 600; }
.summary-prose p em { font-style: italic; color: var(--cj-gold-soft); }
.summary-by { display: flex; align-items: center; gap: 0.7rem; margin-top: 1.3rem; padding-top: 1.1rem; border-top: 1px solid var(--cj-line); }
.summary-av { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; font-family: var(--font-display); color: #0d0420; background: linear-gradient(135deg, #f5d77a, #d4af37); font-weight: 700; }
.summary-by > span:last-child { display: flex; flex-direction: column; }
.summary-by b { font-size: 0.88rem; color: var(--cj-text-ivory); }
.summary-by b + span { font-size: 0.76rem; color: var(--cj-text-mute); }

/* Dosha / manglik flags */
.flags { display: grid; gap: 0.6rem; margin: 1.6rem 0; }
@media (min-width: 620px) { .flags { grid-template-columns: 1fr 1fr; } }
.flag { display: flex; gap: 0.7rem; align-items: center; padding: 0.85rem 1rem; border-radius: 12px; border: 1px solid var(--cj-line); background: var(--cj-surface); }
.flag__i { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; }
.flag.ok { border-color: rgba(74, 222, 128, 0.35); } .flag.ok .flag__i { color: var(--cj-success); background: rgba(74, 222, 128, 0.12); }
.flag.warn { border-color: rgba(245, 200, 80, 0.4); } .flag.warn .flag__i { color: var(--cj-warn); background: rgba(245, 200, 80, 0.12); }
.flag b { display: block; font-size: 0.9rem; color: var(--cj-text); }
.flag span { font-size: 0.78rem; color: var(--cj-text-mute); }

/* Section title */
.compat-sec-title { display: flex; align-items: center; gap: 0.6rem; margin: 1.8rem 0 1rem; }
.compat-sec-title h2 { font-size: 1.3rem; }
.compat-sec-title small { color: var(--cj-text-faint); font-size: 0.8rem; margin-left: auto; }

/* Koota grid */
.koota-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
@media (min-width: 720px) { .koota-grid { grid-template-columns: repeat(4, 1fr); } }
.koota { padding: 0.9rem; border-radius: 14px; background: var(--cj-surface); border: 1px solid var(--cj-line); }
.koota__top { display: flex; align-items: center; justify-content: space-between; gap: 0.4rem; }
.koota__name { font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cj-gold); }
.koota__status { width: 18px; height: 18px; flex-shrink: 0; }
.koota__status.ok { color: var(--cj-success); } .koota__status.warn { color: var(--cj-warn); }
.koota__val { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--cj-text-ivory); margin-top: 0.3rem; font-variant-numeric: tabular-nums; }
.koota__val small { font-size: 0.5em; color: var(--cj-text-faint); font-weight: 400; }
.koota__desc { font-size: 0.72rem; color: var(--cj-text-faint); margin-top: 0.15rem; }
.kbar { height: 5px; border-radius: 4px; background: var(--cj-surface-2); margin-top: 0.6rem; overflow: hidden; }
.kbar i { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, #f5d77a, #d4af37); transition: width 1s cubic-bezier(0.22, 1, 0.36, 1); }
.koota.warn .kbar i { background: linear-gradient(90deg, var(--cj-warn-soft), var(--cj-warn)); }

/* Astrologer verdict (voice-note style) */
.verdict-card { display: flex; gap: 1rem; align-items: center; padding: 1.1rem; border-radius: 18px; background: linear-gradient(165deg, rgba(37, 211, 102, 0.12), rgba(15, 6, 32, 0.92)); border: 1px solid rgba(37, 211, 102, 0.32); margin-top: 1rem; }
.verdict-card__play { width: 50px; height: 50px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: var(--cj-whatsapp); color: #07120a; }
.wave { display: flex; align-items: center; gap: 3px; height: 26px; margin-top: 0.4rem; }
.wave i { width: 3px; border-radius: 2px; background: var(--cj-whatsapp); opacity: 0.85; animation: cj-wave 1.1s ease-in-out infinite; }
@keyframes cj-wave { 0%, 100% { height: 6px; } 50% { height: 22px; } }

/* Pending (30-min admin grace) */
.gauge.cd .gauge__fill { animation: cj-cd-glow 2.4s ease-in-out infinite; }
@keyframes cj-cd-glow { 0%, 100% { filter: drop-shadow(0 0 6px rgba(212,175,55,0.35)); } 50% { filter: drop-shadow(0 0 14px rgba(212,175,55,0.6)); } }
.pending { text-align: center; max-width: 520px; margin: 0.4rem auto 0; }
.pending h2 { font-size: clamp(1.4rem, 4vw, 1.8rem); margin-bottom: 0.6rem; }
.pending > p { color: var(--cj-text-mute); margin-bottom: 1.5rem; }
.pending > p strong { color: var(--cj-gold-soft); }
.pending-steps { display: grid; gap: 0.7rem; text-align: left; max-width: 320px; margin: 0 auto 1.5rem; }
.pstep { display: flex; align-items: center; gap: 0.7rem; color: var(--cj-text-mute); font-size: 0.9rem; }
.pstep__dot { width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; border: 1px solid var(--cj-line); background: var(--cj-surface); }
.pstep__dot svg { width: 15px; height: 15px; }
.pstep.done { color: var(--cj-text); }
.pstep.done .pstep__dot { background: rgba(74, 222, 128, 0.14); border-color: rgba(74, 222, 128, 0.4); color: var(--cj-success); }
.pstep.active { color: var(--cj-gold-soft); }
.pstep.active .pstep__dot { border-color: var(--cj-line-strong); }
.spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--cj-line); border-top-color: var(--cj-gold); animation: cj-spin 0.8s linear infinite; }

@media (prefers-reduced-motion: reduce) {
  .gauge__fill, .kbar i { transition: none; }
  .compat-pair__heart, .wave i, .gauge.cd .gauge__fill, .spin { animation: none; }
  .wave i { height: 14px; }
}

/* ============================================================
   16p. BOTTOM TAB BAR (native-app navigation)
   ============================================================ */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  display: flex; gap: 0.2rem;
  background: rgba(13, 4, 32, 0.93);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--cj-line);
  padding: 0.35rem 0.3rem calc(0.35rem + var(--safe-bottom));
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.4);
}
.bottom-nav a {
  position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 0.15rem;
  padding: 0.45rem 0.2rem; border-radius: 12px;
  color: var(--cj-text-mute); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.02em;
  text-decoration: none; transition: color 0.2s, transform 0.12s; -webkit-tap-highlight-color: transparent;
}
.bottom-nav a svg { width: 23px; height: 23px; transition: transform 0.2s; }
.bottom-nav a:active { transform: scale(0.9); }
.bottom-nav a[aria-current="page"] { color: var(--cj-gold-soft); }
.bottom-nav a[aria-current="page"] svg { color: var(--cj-gold); transform: translateY(-1px); }
.bottom-nav a[aria-current="page"]::before {
  content: ""; position: absolute; top: 0; width: 22px; height: 3px; border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--cj-gold-bright), var(--cj-gold));
}
.bottom-nav .nav-badge {
  position: absolute; top: 0.35rem; left: 50%; margin-left: 4px;
  min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px;
  background: var(--cj-rose-deep); color: #fff; font-size: 0.58rem; font-weight: 700;
  display: grid; place-items: center; font-variant-numeric: tabular-nums;
}
body.has-tabbar .app-main { padding-bottom: calc(80px + var(--safe-bottom)); }
@media (min-width: 980px) {
  .bottom-nav { max-width: 540px; left: 50%; right: auto; transform: translateX(-50%); border: 1px solid var(--cj-line); border-bottom: none; border-radius: 20px 20px 0 0; }
}
@media (prefers-reduced-motion: reduce) { .bottom-nav a, .bottom-nav a svg { transition: none; } }

/* ============================================================
   16o. ADMIN PANEL
   ============================================================ */
.admin-login { min-height: 100dvh; display: grid; place-items: center; padding: 1.4rem; }
.admin-login .card { width: 100%; max-width: 380px; text-align: center; }
.admin-login .lock { width: 56px; height: 56px; margin: 0 auto 1rem; border-radius: 16px; display: grid; place-items: center; background: rgba(212,175,55,0.12); border: 1px solid var(--cj-line); color: var(--cj-gold); }

.admin { display: none; min-height: 100dvh; }
.admin.on { display: grid; grid-template-columns: 1fr; }
.admin-side {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 80;
  display: flex; justify-content: space-around;
  background: rgba(13,4,32,0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--cj-line); padding: 0.4rem 0.3rem calc(0.4rem + var(--safe-bottom));
}
.admin-side__logo { display: none; }
.admin-nav { display: contents; }
.admin-nav button {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 0.2rem;
  padding: 0.5rem 0.2rem; border-radius: 12px; color: var(--cj-text-mute); font-size: 0.64rem; font-weight: 600;
}
.admin-nav button svg { width: 22px; height: 22px; }
.admin-nav button[aria-current="true"] { color: var(--cj-gold-soft); }
.admin-nav button[aria-current="true"] svg { color: var(--cj-gold); }
.admin-main { padding: calc(1.2rem + var(--safe-top)) clamp(1rem,4vw,1.6rem) calc(86px + var(--safe-bottom)); max-width: 1100px; margin-inline: auto; width: 100%; }
.admin-topbar { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1.4rem; }
.admin-topbar h1 { font-size: clamp(1.5rem,5vw,2rem); }
.admin-topbar .admin-out { margin-left: auto; font-size: 0.78rem; color: var(--cj-gold); border: 1px solid var(--cj-line); border-radius: 999px; padding: 0.4rem 0.9rem; }

.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-bottom: 1.6rem; }
.stat-card { padding: 1.1rem; border-radius: 16px; background: linear-gradient(165deg, rgba(75,29,138,0.4), rgba(15,6,32,0.92)); border: 1px solid var(--cj-line); }
.stat-card .k { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cj-gold); }
.stat-card .v { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem,6vw,2.2rem); color: var(--cj-text-ivory); font-variant-numeric: tabular-nums; margin-top: 0.2rem; }
.stat-card .sub { font-size: 0.74rem; color: var(--cj-text-faint); }

.admin-card { padding: 1.1rem; border-radius: 16px; background: var(--cj-surface); border: 1px solid var(--cj-line); margin-bottom: 1rem; }
.admin-h { font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cj-gold); margin: 1.4rem 0 0.8rem; }

.arow { display: flex; align-items: center; gap: 0.8rem; padding: 0.85rem 0; border-bottom: 1px solid var(--cj-line); }
.arow:last-child { border-bottom: none; }
.arow__av { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center; font-family: var(--font-display); color: rgba(247,234,209,0.6); }
.arow__info { flex: 1; min-width: 0; }
.arow__info b { display: block; font-size: 0.94rem; color: var(--cj-text-ivory); }
.arow__info span { font-size: 0.78rem; color: var(--cj-text-mute); }
.arow__actions { display: flex; gap: 0.4rem; flex-shrink: 0; }
.admin-section { display: none; }
.admin-section.active { display: block; animation: cj-step-in 0.35s ease; }
.pill-status { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.04em; padding: 0.2rem 0.55rem; border-radius: 999px; text-transform: uppercase; }
.pill-status.pending { background: rgba(245,200,80,0.14); color: var(--cj-warn); }
.pill-status.approved, .pill-status.active, .pill-status.paid { background: rgba(74,222,128,0.14); color: var(--cj-success-soft); }
.pill-status.rejected, .pill-status.suspended, .pill-status.failed { background: rgba(255,107,107,0.14); color: var(--cj-error); }
.btn-xs { min-height: 36px; padding: 0 0.8rem; font-size: 0.72rem; border-radius: 10px; }
.icon-btn-sm { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--cj-line); background: var(--cj-surface); }
.icon-btn-sm svg { width: 17px; height: 17px; }
.icon-btn-sm.ok { color: var(--cj-success); border-color: rgba(74,222,128,0.4); }
.icon-btn-sm.no { color: var(--cj-text-mute); }
.icon-btn-sm.no:hover { color: var(--cj-error); }

@media (min-width: 900px) {
  .admin.on { grid-template-columns: 232px 1fr; }
  .admin-side { position: sticky; top: 0; flex-direction: column; justify-content: flex-start; height: 100dvh; bottom: auto; right: auto; border-top: none; border-right: 1px solid var(--cj-line); padding: 1.4rem 0.9rem; gap: 0.3rem; }
  .admin-side__logo { display: flex; align-items: center; gap: 0.5rem; color: var(--cj-gold); font-family: var(--font-display); font-size: 1.05rem; padding: 0 0.6rem 1.2rem; }
  .admin-nav { display: flex; flex-direction: column; gap: 0.25rem; width: 100%; }
  .admin-nav button { flex-direction: row; justify-content: flex-start; gap: 0.7rem; font-size: 0.88rem; padding: 0.7rem 0.8rem; border-radius: 11px; }
  .admin-nav button[aria-current="true"] { background: rgba(212,175,55,0.1); }
  .admin-main { padding: 2rem clamp(1.2rem,3vw,2rem) 2rem; }
  .stat-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================
   16e. APP SHELL (wrapper-app screens: auth, onboarding, wizard)
   ============================================================ */

/* App top bar — slim, app-like */
.app-header {
  position: sticky; top: 0; z-index: 100;
  height: calc(58px + var(--safe-top)); padding-top: var(--safe-top);
  display: flex; align-items: center;
  background: rgba(13, 4, 32, 0.82);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--cj-line);
}
.app-header__inner { display: flex; align-items: center; gap: 0.75rem; width: 100%; max-width: 560px; margin-inline: auto; padding-inline: clamp(1rem, 4vw, 1.4rem); }
.app-back {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 11px;
  display: grid; place-items: center; color: var(--cj-gold);
  border: 1px solid var(--cj-line); background: var(--cj-surface);
  transition: border-color 0.2s, background 0.2s;
}
.app-back:hover { border-color: var(--cj-line-strong); background: rgba(212, 175, 55, 0.1); }
.app-header__title { font-family: var(--font-display); font-size: 1.02rem; color: var(--cj-text-ivory); }
.app-header__title small { display: block; font-family: var(--font-body); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cj-gold); }
.app-header__logo { margin-left: auto; color: var(--cj-gold); }

/* App page body */
.app-main { min-height: calc(100dvh - 58px); display: flex; flex-direction: column; padding: clamp(1.4rem, 5vw, 2.4rem) clamp(1rem, 4vw, 1.4rem) calc(2rem + var(--safe-bottom)); }
.app-wrap { width: 100%; max-width: 560px; margin-inline: auto; flex: 1; display: flex; flex-direction: column; }
.app-lead { color: var(--cj-text-mute); margin-top: 0.5rem; margin-bottom: 1.6rem; }
.app-title { margin-bottom: 0.3rem; }

/* Segmented control */
.segmented { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--cj-surface); border: 1px solid var(--cj-line); width: 100%; margin-bottom: 1.6rem; }
.segmented button { flex: 1; min-height: 44px; border-radius: 999px; font-weight: 600; font-size: 0.88rem; letter-spacing: 0.04em; color: var(--cj-text-mute); transition: color 0.2s; }
.segmented button[aria-selected="true"] { background: linear-gradient(135deg, #f5d77a, #d4af37); color: #0d0420; box-shadow: 0 8px 22px rgba(212, 175, 55, 0.3); }

/* OTP inputs */
.otp-group { display: flex; gap: 0.55rem; justify-content: space-between; margin: 0.4rem 0 0.4rem; }
.otp-box {
  flex: 1; min-width: 0; aspect-ratio: 1; max-width: 56px;
  text-align: center; font-family: var(--font-display); font-size: 1.4rem; font-weight: 600;
  background: rgba(13, 4, 32, 0.62); border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 12px; color: var(--cj-text-ivory);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.otp-box:focus { outline: none; border-color: var(--cj-gold); box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2); transform: translateY(-2px); }
.otp-box.filled { border-color: var(--cj-line-strong); }
.otp-resend { text-align: center; margin-top: 1rem; color: var(--cj-text-mute); font-size: 0.86rem; }
.otp-resend button { color: var(--cj-gold); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.otp-resend button:disabled { color: var(--cj-text-faint); text-decoration: none; cursor: default; }

/* Stepper (wizard progress) */
.stepper { display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.5rem; }
.stepper__seg { flex: 1; height: 4px; border-radius: 4px; background: var(--cj-surface-2); overflow: hidden; }
.stepper__seg i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #f5d77a, #d4af37); transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.stepper__seg.done i { width: 100%; }
.stepper__seg.active i { width: 100%; }
.stepper-label { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cj-gold); margin-bottom: 1.4rem; }
.stepper-label b { color: var(--cj-text-ivory); }

/* Choice cards (onboarding) */
.choice-grid { display: grid; gap: 1rem; margin-top: 0.5rem; }
.choice-card {
  display: flex; align-items: center; gap: 1rem; text-align: left;
  padding: 1.4rem; border-radius: 20px; width: 100%;
  background: linear-gradient(165deg, rgba(75, 29, 138, 0.45), rgba(15, 6, 32, 0.92));
  border: 1px solid var(--cj-line); color: var(--cj-text);
  transition: transform 0.25s cubic-bezier(0.22,1,0.36,1), border-color 0.25s, box-shadow 0.25s;
}
.choice-card:hover { transform: translateY(-3px); border-color: var(--cj-line-strong); box-shadow: 0 28px 60px rgba(0,0,0,0.5); }
.choice-card__icon { width: 56px; height: 56px; flex-shrink: 0; display: grid; place-items: center; border-radius: 16px; background: rgba(212, 175, 55, 0.12); border: 1px solid var(--cj-line); color: var(--cj-gold); }
.choice-card__icon svg { width: 28px; height: 28px; }
.choice-card h3 { margin-bottom: 0.2rem; }
.choice-card p { color: var(--cj-text-mute); font-size: 0.88rem; }
.choice-card .chev { margin-left: auto; color: var(--cj-gold); flex-shrink: 0; }

/* Selectable cards (radio/checkbox grid) */
.select-grid { display: grid; gap: 0.7rem; grid-template-columns: 1fr 1fr; }
.select-grid.cols-1 { grid-template-columns: 1fr; }
.select-card { position: relative; cursor: pointer; }
.select-card input { position: absolute; opacity: 0; pointer-events: none; }
.select-card__box {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.85rem 1rem; min-height: 52px; border-radius: 14px;
  background: var(--cj-surface); border: 1px solid var(--cj-line);
  font-size: 0.9rem; font-weight: 500; color: var(--cj-text);
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.select-card__dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--cj-line-strong); flex-shrink: 0; display: grid; place-items: center; transition: border-color 0.2s; }
.select-card__dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--cj-gold); transform: scale(0); transition: transform 0.2s cubic-bezier(0.22,1,0.36,1); }
.select-card:hover .select-card__box { border-color: var(--cj-line-strong); }
.select-card input:checked + .select-card__box { border-color: var(--cj-gold); background: rgba(212, 175, 55, 0.1); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(212, 175, 55, 0.18); }
.select-card input:checked + .select-card__box .select-card__dot { border-color: var(--cj-gold); }
.select-card input:checked + .select-card__box .select-card__dot::after { transform: scale(1); }
.select-card input:focus-visible + .select-card__box { outline: 2px solid var(--cj-gold); outline-offset: 2px; }
.select-grid.err { position: relative; }
.select-grid.err::after { content: "Please select an option."; grid-column: 1 / -1; color: var(--cj-error); font-size: 0.8rem; }
.select-grid.err .select-card__box { border-color: rgba(255, 107, 107, 0.5); }

/* File upload dropzone */
.upload { display: block; cursor: pointer; }
.upload input { position: absolute; opacity: 0; width: 0; height: 0; }
.upload__zone {
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem; text-align: center;
  padding: 1.6rem 1rem; border-radius: 14px;
  border: 1.5px dashed var(--cj-line-strong); background: var(--cj-surface);
  color: var(--cj-text-mute); font-size: 0.86rem; transition: border-color 0.2s, background 0.2s;
}
.upload:hover .upload__zone { border-color: var(--cj-gold); background: rgba(212, 175, 55, 0.06); }
.upload__zone svg { color: var(--cj-gold); }
.upload__zone b { color: var(--cj-gold-soft); }
.upload.has-file .upload__zone { border-style: solid; border-color: var(--cj-success); color: var(--cj-success-soft); }

/* Gallery upload tiles */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.photo-tile { aspect-ratio: 1; border-radius: 14px; border: 1.5px dashed var(--cj-line); display: grid; place-items: center; color: var(--cj-text-faint); background: var(--cj-surface); cursor: pointer; transition: border-color 0.2s, color 0.2s; }
.photo-tile:hover { border-color: var(--cj-gold); color: var(--cj-gold); }

/* Wizard steps visibility */
.wizard-step { display: none; }
.wizard-step.active { display: block; animation: cj-step-in 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes cj-step-in { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }

/* Sticky bottom action bar */
.app-actions {
  position: sticky; bottom: 0; z-index: 50;
  display: flex; gap: 0.7rem; margin-top: auto;
  padding: 1.4rem 0 calc(0.6rem + var(--safe-bottom));
  background: linear-gradient(180deg, rgba(13, 4, 32, 0) 0%, rgba(13, 4, 32, 0.55) 45%, rgba(13, 4, 32, 0.88) 100%);
}
.app-actions .btn { flex: 1; }
.app-actions .btn-ghost { flex: 0 0 auto; min-width: 56px; padding-inline: 1rem; }

/* Helper / consent rows */
.checkbox-row { display: flex; gap: 0.7rem; align-items: flex-start; padding: 0.9rem; border-radius: 12px; background: var(--cj-surface); border: 1px solid var(--cj-line); }
.checkbox-row input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--cj-gold); flex-shrink: 0; }
.checkbox-row label { font-size: 0.88rem; color: var(--cj-text-mute); }
.app-note { font-size: 0.82rem; color: var(--cj-text-faint); text-align: center; margin-top: 1rem; }
.pay-amount { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 9vw, 3.4rem); color: var(--cj-gold-soft); font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  .wizard-step.active { animation: none; }
}

/* ============================================================
   16q. APP POLISH — native wrapper-app feel
   ============================================================ */
* { -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body { overscroll-behavior-y: none; }
.btn, a.btn, button, .tile, .choice-card, .match-card, .tab, .chip, .bottom-nav a,
.select-card, .otp-box, .filter-btn, .icon-btn, .nav__toggle { touch-action: manipulation; }

/* chrome elements not text-selectable (feels native) */
.app-header, .bottom-nav, .nav, .btn, .tab, .chip, .segmented, .stepper,
.badge, .app-header__title, .dash-h, .admin-h, label, .pill-status { -webkit-user-select: none; user-select: none; }

/* page entrance (expo-out) */
.app-main { animation: cj-page-in 0.42s cubic-bezier(0.16, 1, 0.3, 1) both; }
@keyframes cj-page-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* unified press feedback */
.btn, a.btn, .tile, .choice-card, .chip, .tab, .select-card, .filter-btn,
.icon-btn, .status-card, .app-back, .bottom-nav a, .sheet__close, .req-card {
  transition: transform 0.13s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s, border-color 0.2s, box-shadow 0.2s, color 0.2s;
}
.btn:active, a.btn:active, .tile:active, .choice-card:active, .match-card:active, .chip:active, .tab:active,
.select-card:active, .filter-btn:active, .icon-btn:active, .status-card:active, .req-card:active,
.bottom-nav a:active, .sheet__close:active, .app-back:active { transform: scale(0.965); }

/* tactile ripple */
.cj-ripple { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.28); transform: scale(0); animation: cj-ripple 0.55s ease-out; pointer-events: none; z-index: 1; }
.btn-ghost .cj-ripple, .chip .cj-ripple, .tab .cj-ripple, .icon-btn .cj-ripple, .filter-btn .cj-ripple { background: rgba(212, 175, 55, 0.22); }
@keyframes cj-ripple { to { transform: scale(2.4); opacity: 0; } }

/* crisper glass header + active bottom-nav glow */
.app-header { box-shadow: 0 1px 0 rgba(212, 175, 55, 0.06), 0 8px 24px rgba(0, 0, 0, 0.28); }
.bottom-nav a[aria-current="page"] svg { filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.5)); }

/* hairline top-highlight on surfaces (depth) */
.card, .match-card, .req-card, .stat-card, .tile, .choice-card, .admin-card, .pm-card {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045), 0 22px 52px rgba(0, 0, 0, 0.42);
}

/* inputs */
.input, .textarea, .sort-select { border-radius: 13px; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; }

/* thin gold scrollbar */
* { scrollbar-width: thin; scrollbar-color: rgba(212, 175, 55, 0.4) transparent; }
*::-webkit-scrollbar { width: 7px; height: 7px; }
*::-webkit-scrollbar-thumb { background: rgba(212, 175, 55, 0.32); border-radius: 999px; }
*::-webkit-scrollbar-track { background: transparent; }

/* spring sheets */
.sheet { transition: transform 0.46s cubic-bezier(0.16, 1, 0.3, 1); }

@media (prefers-reduced-motion: reduce) {
  .app-main { animation: none; }
  .cj-ripple { display: none; }
  .btn:active, a.btn:active, .tile:active, .choice-card:active, .match-card:active, .chip:active, .tab:active,
  .select-card:active, .filter-btn:active, .icon-btn:active, .status-card:active, .req-card:active,
  .bottom-nav a:active, .app-back:active { transform: none; }
}

/* ---------- 17. Breakpoints ---------- */
@media (min-width: 560px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .hero__cta { flex-direction: row; justify-content: center; }
  .hero__cta .btn { flex: 1; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 720px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr; }
}

@media (min-width: 980px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .nav__links { display: flex; align-items: center; gap: 1.8rem; }
  .nav__links a { font-size: 0.86rem; font-weight: 600; letter-spacing: 0.06em; color: var(--cj-text-mute); transition: color 0.2s; }
  .nav__links a:hover, .nav__links a.active { color: var(--cj-gold-soft); }
  .nav__toggle { display: none; }
  .nav__drawer { display: none !important; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .footer__grid { grid-template-columns: 1.8fr 1fr 1fr 1fr; }
  .split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
}

/* ---------- 18. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
}

/* ============================================================
   19. SUPPORT / HELP DESK
   ============================================================ */
:root {
  --st-pending: #e3b23c;
  --st-progress: #5b8def;
  --st-fixed: #48c78e;
  --st-closed: #e06c75;
}

/* status badge */
.st-badge { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.24rem 0.62rem; border-radius: 999px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.03em; line-height: 1; white-space: nowrap;
  border: 1px solid transparent; }
.st-badge i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.st-badge.st-pending  { color: var(--st-pending);  background: rgba(227,178,60,0.12);  border-color: rgba(227,178,60,0.35); }
.st-badge.st-progress { color: var(--st-progress); background: rgba(91,141,239,0.14);  border-color: rgba(91,141,239,0.38); }
.st-badge.st-fixed    { color: var(--st-fixed);    background: rgba(72,199,142,0.14);  border-color: rgba(72,199,142,0.4); }
.st-badge.st-closed   { color: var(--st-closed);   background: rgba(224,108,117,0.13); border-color: rgba(224,108,117,0.36); }

/* ---- user compose ---- */
.sup-compose { padding: 1.15rem 1.15rem 1.25rem; }
.sup-compose__head { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1rem; }
.sup-compose__ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  color: var(--cj-gold); background: rgba(212,175,55,0.12); border: 1px solid rgba(212,175,55,0.25); }
.sup-compose__ic svg { width: 20px; height: 20px; }
.sup-compose__head b { display: block; font-family: var(--font-display, 'Cinzel'), serif; font-size: 1rem; color: var(--cj-text-ivory); }
.sup-compose__head small { color: var(--cj-text-mute); font-size: 0.8rem; }
.sup-textarea { min-height: 120px; resize: vertical; }
.form-field label .opt { color: var(--cj-text-faint); font-weight: 400; font-size: 0.78em; }
.sup-attach { margin: 0.2rem 0 1rem; border: 1px solid var(--cj-line); border-radius: 12px; background: rgba(255,255,255,0.02); overflow: hidden; }
.sup-attach summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 0.5rem; padding: 0.7rem 0.85rem;
  font-size: 0.82rem; color: var(--cj-text-mute); font-weight: 600; }
.sup-attach summary::-webkit-details-marker { display: none; }
.sup-attach summary svg { width: 16px; height: 16px; color: var(--cj-gold-soft); }
.sup-attach[open] summary { border-bottom: 1px solid var(--cj-line); }
.sup-attach__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.1rem 1rem; padding: 0.8rem 0.95rem; margin: 0; }
.sup-attach__grid dt { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--cj-text-faint); }
.sup-attach__grid dd { margin: 0 0 0.5rem; font-size: 0.85rem; color: var(--cj-text-ivory); word-break: break-word; }
#sup-send svg { width: 17px; height: 17px; margin-right: 0.45rem; vertical-align: -3px; }
.btn.loading { opacity: 0.7; pointer-events: none; position: relative; }

/* ---- user history ---- */
.sup-h { font-family: var(--font-display, 'Cinzel'), serif; font-size: 0.95rem; color: var(--cj-text-ivory);
  margin: 1.6rem 0 0.7rem; display: flex; align-items: center; gap: 0.5rem; }
.sup-count { font-size: 0.72rem; background: rgba(212,175,55,0.14); color: var(--cj-gold-soft); border-radius: 999px; padding: 0.1rem 0.5rem; }
.sup-list { display: flex; flex-direction: column; gap: 0.7rem; }
.sup-card { text-align: left; width: 100%; display: block; padding: 0.95rem 1rem; border-radius: 14px;
  background: linear-gradient(165deg, rgba(75,29,138,0.28), rgba(15,6,32,0.85)); border: 1px solid var(--cj-line);
  color: inherit; cursor: pointer; transition: transform 0.16s, border-color 0.16s; }
.sup-card:hover { transform: translateY(-2px); border-color: var(--cj-line-strong); }
.sup-card__top { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; margin-bottom: 0.4rem; }
.sup-ref { font-family: var(--font-body, 'Montserrat'), sans-serif; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.05em; color: var(--cj-gold-soft); }
.sup-card__subj { font-weight: 600; color: var(--cj-text-ivory); font-size: 0.9rem; margin-bottom: 0.2rem; }
.sup-card__preview { color: var(--cj-text-mute); font-size: 0.84rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sup-card__meta { display: flex; align-items: center; gap: 0.6rem; margin-top: 0.55rem; font-size: 0.74rem; color: var(--cj-text-faint); }
.sup-card__meta .chev { margin-left: auto; color: var(--cj-text-faint); }
.sup-newdot { color: var(--st-progress); font-weight: 700; display: inline-flex; align-items: center; gap: 0.3rem; }
.sup-newdot::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--st-progress); box-shadow: 0 0 8px var(--st-progress); }

/* ---- empty + skeleton ---- */
.sup-empty { text-align: center; padding: 2.6rem 1rem; color: var(--cj-text-mute); }
.sup-empty svg { color: var(--cj-line-strong); margin-bottom: 0.8rem; }
.sup-empty h3 { font-family: var(--font-display, 'Cinzel'), serif; color: var(--cj-text-ivory); margin: 0 0 0.35rem; }
.sup-empty p { font-size: 0.86rem; max-width: 22rem; margin: 0 auto; }
.sk { border-radius: 6px; background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.09) 37%, rgba(255,255,255,0.04) 63%);
  background-size: 400% 100%; animation: skimmer 1.4s ease infinite; }
.sk-line { height: 11px; margin: 0.35rem 0; }
.sup-card.skel { pointer-events: none; }
.chat-bubble.skel { min-width: 140px; }
@keyframes skimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* ---- chat thread (shared user + admin) ---- */
.chat-status { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.9rem; padding: 0.7rem 0.2rem 0.9rem; }
.chat-status__meta { font-size: 0.74rem; color: var(--cj-text-faint); }
.chat-scroll { display: flex; flex-direction: column; gap: 0.7rem; padding: 0.6rem 0.1rem; max-height: 58vh; overflow-y: auto; scroll-behavior: smooth; }
.chat-row { display: flex; }
.chat-row.me { justify-content: flex-end; }
.chat-bubble { max-width: 82%; padding: 0.6rem 0.8rem 0.5rem; border-radius: 15px; position: relative; }
.chat-row.them .chat-bubble { background: rgba(255,255,255,0.05); border: 1px solid var(--cj-line); border-bottom-left-radius: 5px; }
.chat-row.me .chat-bubble { background: linear-gradient(160deg, rgba(212,175,55,0.22), rgba(212,175,55,0.08)); border: 1px solid rgba(212,175,55,0.3); border-bottom-right-radius: 5px; }
.chat-who { display: block; font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; color: var(--cj-gold-soft); margin-bottom: 0.15rem; }
.chat-row.them .chat-who { color: var(--cj-text-faint); }
.chat-bubble p { margin: 0; color: var(--cj-text-ivory); font-size: 0.9rem; line-height: 1.5; word-break: break-word; }
.chat-bubble time { display: block; margin-top: 0.25rem; font-size: 0.66rem; color: var(--cj-text-faint); text-align: right; }
.chat-closed { text-align: center; font-size: 0.8rem; color: var(--cj-text-mute); padding: 0.8rem; background: rgba(255,255,255,0.02); border-radius: 10px; }
.chat-compose { display: flex; align-items: flex-end; gap: 0.5rem; margin-top: 0.7rem; padding: 0.4rem 0.4rem 0.4rem 0.2rem;
  position: sticky; bottom: 0; background: linear-gradient(180deg, transparent, var(--cj-bg-0) 40%); }

/* thread view fills the screen so the reply bar pins to the bottom */
body.sup-thread { height: 100dvh; overflow: hidden; display: flex; flex-direction: column; }
body.sup-thread .app-main { flex: 1 1 auto; display: flex; flex-direction: column; min-height: 0; }
body.sup-thread .app-wrap { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
body.sup-thread #sup-root { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
body.sup-thread .chat-scroll { flex: 1 1 auto; max-height: none; min-height: 0; }
body.sup-thread .chat-compose { margin-top: 0; padding-bottom: 0.5rem;
  background: linear-gradient(180deg, transparent, var(--cj-bg-0) 55%); }
.chat-input { flex: 1; resize: none; min-height: 44px; max-height: 120px; padding: 0.7rem 0.9rem; border-radius: 14px;
  background: var(--cj-surface, rgba(255,255,255,0.04)); border: 1px solid var(--cj-line-strong); color: var(--cj-text-ivory); font-size: 16px; font-family: inherit; }
.chat-input:focus { outline: none; border-color: var(--cj-gold); }
.chat-send { flex: none; width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer; display: grid; place-items: center;
  color: #1a0838; background: linear-gradient(150deg, var(--cj-gold-bright, #f0d67a), var(--cj-gold, #d4af37)); }
.chat-send svg { width: 19px; height: 19px; }

/* ============================================================
   ADMIN — support desk
   ============================================================ */
.admin-nav button { position: relative; }
.admin-nav__badge { position: absolute; right: 0.7rem; top: 50%; transform: translateY(-50%); min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--st-progress); color: #fff; font-size: 0.66rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }

.sup-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.55rem; margin-bottom: 1rem; }
.sup-stat { text-align: left; padding: 0.7rem 0.8rem; border-radius: 12px; cursor: pointer; color: inherit;
  background: rgba(255,255,255,0.03); border: 1px solid var(--cj-line); transition: border-color 0.15s, transform 0.15s; }
.sup-stat:hover { transform: translateY(-2px); border-color: var(--cj-line-strong); }
.sup-stat .k { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--cj-text-faint); }
.sup-stat .v { font-family: var(--font-display, 'Cinzel'), serif; font-size: 1.35rem; color: var(--cj-text-ivory); line-height: 1.2; }
.sup-stat.st-pending .v { color: var(--st-pending); }
.sup-stat.st-progress .v { color: var(--st-progress); }
.sup-stat.st-fixed .v { color: var(--st-fixed); }
.sup-stat.st-closed .v { color: var(--st-closed); }

.sup-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; align-items: center; }
.sup-filter { background: rgba(255,255,255,0.04); border: 1px solid var(--cj-line-strong); color: var(--cj-text-ivory);
  border-radius: 10px; padding: 0.5rem 0.7rem; font-size: 0.84rem; font-family: inherit; }
.sup-filter:focus { outline: none; border-color: var(--cj-gold); }
.sup-search { position: relative; flex: 1 1 240px; display: flex; align-items: center; }
.sup-search svg { position: absolute; left: 0.7rem; width: 16px; height: 16px; color: var(--cj-text-faint); pointer-events: none; }
.sup-search .sup-filter { width: 100%; padding-left: 2.1rem; }

.sup-table-wrap { overflow-x: auto; border: 1px solid var(--cj-line); border-radius: 14px; }
.sup-table { width: 100%; border-collapse: collapse; min-width: 860px; font-size: 0.84rem; }
.sup-table thead th { text-align: left; padding: 0.7rem 0.8rem; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--cj-text-faint); background: rgba(255,255,255,0.03); border-bottom: 1px solid var(--cj-line); white-space: nowrap; }
.sup-table tbody td { padding: 0.7rem 0.8rem; border-bottom: 1px solid var(--cj-line); color: var(--cj-text); vertical-align: middle; }
.sup-table tbody tr { cursor: pointer; transition: background 0.14s; }
.sup-table tbody tr:hover { background: rgba(212,175,55,0.06); }
.sup-table tbody tr.unseen { background: rgba(91,141,239,0.07); }
.sup-table tbody tr:last-child td { border-bottom: none; }
.sup-table td.mono, .mono { font-family: var(--font-body, 'Montserrat'), sans-serif; font-weight: 700; color: var(--cj-gold-soft); white-space: nowrap; position: relative; }
.sup-table td b { color: var(--cj-text-ivory); font-weight: 600; }
.sup-table td .sub { display: block; font-size: 0.74rem; color: var(--cj-text-faint); }
.sup-table td.prev { max-width: 220px; color: var(--cj-text-mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--st-progress); box-shadow: 0 0 8px var(--st-progress); margin-left: 0.35rem; vertical-align: middle; }
.v-badge { display: inline-block; padding: 0.14rem 0.5rem; border-radius: 999px; font-size: 0.7rem; font-weight: 700; }
.v-badge.yes { color: var(--st-fixed); background: rgba(72,199,142,0.14); }
.v-badge.no { color: var(--cj-text-mute); background: rgba(255,255,255,0.05); }
.prio { text-transform: capitalize; font-size: 0.76rem; font-weight: 600; }
.prio-urgent { color: var(--st-closed); }
.prio-high { color: var(--st-pending); }
.prio-normal { color: var(--cj-text-mute); }
.prio-low { color: var(--cj-text-faint); }
.sup-pager { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1rem; font-size: 0.82rem; color: var(--cj-text-mute); }

/* ticket sheet */
.sheet--wide { max-width: 640px; }
.sup-meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: 0.6rem 0 1rem; }
.sup-meta-row label { font-size: 0.74rem; color: var(--cj-text-faint); text-transform: uppercase; letter-spacing: 0.04em; }
.sup-meta-row .sup-filter { flex: 1 1 120px; }
.sup-actions { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0.4rem 0 0.6rem; }
.sup-actions .danger { color: var(--st-closed); border-color: rgba(224,108,117,0.35); }
.admin-chat { max-height: 40vh; border: 1px solid var(--cj-line); border-radius: 12px; padding: 0.7rem; background: rgba(0,0,0,0.15); }
.sup-hist { display: flex; flex-direction: column; gap: 0.4rem; }
.sup-hist__row { display: flex; align-items: center; gap: 0.6rem; padding: 0.55rem 0.7rem; border-radius: 10px; cursor: pointer;
  background: rgba(255,255,255,0.03); border: 1px solid var(--cj-line); color: var(--cj-text); text-align: left; }
.sup-hist__row:hover { border-color: var(--cj-line-strong); }
.sup-hist__row span:nth-child(2) { flex: 1; color: var(--cj-text-mute); font-size: 0.82rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* confirm dialog */
.confirm-backdrop { position: fixed; inset: 0; z-index: 300; background: rgba(6,2,16,0.7); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center; padding: 1.5rem; }
.confirm-backdrop.open { display: flex; }
.confirm-card { width: 100%; max-width: 360px; padding: 1.4rem 1.3rem 1.2rem; border-radius: 18px; text-align: center;
  background: linear-gradient(165deg, rgba(75,29,138,0.5), rgba(15,6,32,0.96)); border: 1px solid var(--cj-line-strong);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5); animation: confpop 0.2s ease; }
@keyframes confpop { from { opacity: 0; transform: translateY(10px) scale(0.97); } to { opacity: 1; transform: none; } }
.confirm-card h4 { font-family: var(--font-display, 'Cinzel'), serif; font-size: 1.05rem; color: var(--cj-text-ivory); margin: 0 0 0.5rem; }
.confirm-card p { font-size: 0.86rem; color: var(--cj-text-mute); margin: 0 0 1.2rem; line-height: 1.5; }
.confirm-actions { display: flex; gap: 0.6rem; }
.confirm-actions .btn { flex: 1; }

@media (min-width: 620px) {
  .sup-stat-row { grid-template-columns: repeat(6, 1fr); }
}

/* ---- screenshot attachments ---- */
.attach-row { display: flex; align-items: center; gap: 0.6rem; margin: 0.2rem 0 0.7rem; }
.attach-hint { font-size: 0.78rem; color: var(--cj-text-mute); }
.attach-btn { flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; cursor: pointer;
  color: var(--cj-gold-soft); background: rgba(212,175,55,0.08); border: 1px solid var(--cj-line-strong); transition: border-color 0.15s, background 0.15s; }
.attach-btn:hover { border-color: var(--cj-gold); background: rgba(212,175,55,0.14); }
.attach-btn svg { width: 19px; height: 19px; }
.attach-thumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.attach-thumbs:empty { display: none; }
.attach-thumbs.thread-thumbs { margin: 0.4rem 0 0; }
.shot-thumb { position: relative; width: 62px; height: 62px; border-radius: 10px; overflow: hidden; border: 1px solid var(--cj-line-strong); }
.shot-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot-remove { position: absolute; top: 2px; right: 2px; width: 20px; height: 20px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(6,2,16,0.75); color: #fff; font-size: 15px; line-height: 1; display: grid; place-items: center; }

.chat-shots { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.35rem 0 0.1rem; }
.chat-shot { padding: 0; border: 1px solid var(--cj-line-strong); border-radius: 10px; overflow: hidden; cursor: pointer; background: none;
  width: 108px; height: 108px; transition: transform 0.14s; }
.chat-shot:hover { transform: scale(1.02); }
.chat-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }

.lightbox-simple { position: fixed; inset: 0; z-index: 400; background: rgba(4,1,12,0.92); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 1.5rem; cursor: zoom-out; animation: lbfade 0.18s ease; }
.lightbox-simple img { max-width: 100%; max-height: 90vh; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,0.6); }
.lb-close { position: absolute; top: 1rem; right: 1.1rem; width: 40px; height: 40px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,0.12); color: #fff; font-size: 22px; line-height: 1; }
@keyframes lbfade { from { opacity: 0; } to { opacity: 1; } }

/* ============================================================
   21. STAR DECK — 3D cover-flow match browser
   ============================================================ */
.match-grid[hidden], .deck-wrap[hidden] { display: none !important; }
.view-toggle { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; flex: none;
  background: rgba(255,255,255,0.04); border: 1px solid var(--cj-line-strong); }
.view-toggle button { width: 40px; height: 32px; border-radius: 999px; display: grid; place-items: center;
  color: var(--cj-text-mute); cursor: pointer; transition: background 0.18s, color 0.18s; }
.view-toggle button svg { width: 17px; height: 17px; }
.view-toggle button[aria-pressed="true"] { color: #1a0838;
  background: linear-gradient(150deg, var(--cj-gold-bright, #f5d77a), var(--cj-gold, #d4af37)); }

.deck-wrap { position: relative; }
.deck { --deck-w: min(76vw, 330px);
  display: flex; gap: 1rem; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  padding: 1.1rem calc(50% - var(--deck-w) / 2) 1.4rem; }
.deck::-webkit-scrollbar { display: none; }

.deck-card { flex: 0 0 var(--deck-w); width: var(--deck-w); position: relative;
  border-radius: 24px; transform-style: preserve-3d; will-change: transform;
  transform: perspective(1100px); }
.deck-in { border-radius: 24px; overflow: hidden; position: relative;
  background: linear-gradient(165deg, rgba(75,29,138,0.45), rgba(15,6,32,0.92));
  border: 1px solid var(--cj-line-strong); box-shadow: 0 18px 50px rgba(0,0,0,0.45);
  animation: deckDeal 0.55s cubic-bezier(0.22, 1, 0.36, 1) both; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes deckDeal { from { opacity: 0; transform: translateY(34px) scale(0.94); } to { opacity: 1; transform: none; } }
.deck-card.is-active .deck-in { border-color: rgba(212,175,55,0.55); box-shadow: 0 22px 60px rgba(0,0,0,0.5), 0 0 34px rgba(212,175,55,0.12); }

.deck-photo { position: relative; height: clamp(280px, 44vh, 400px); overflow: hidden; cursor: pointer; display: block; }
.deck-photo__img { position: absolute; inset: -8% -14%; background-size: cover; background-position: center;
  will-change: transform; display: grid; place-items: center; }
.deck-photo__img > span { font-family: var(--font-display, 'Cinzel'), serif; font-size: 4.4rem; color: rgba(255,255,255,0.24); }
.deck-photo::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,2,16,0.22), transparent 32%, transparent 52%, rgba(6,2,16,0.9)); }
.deck-badges { position: absolute; top: 0.8rem; left: 0.8rem; right: 0.8rem; display: flex; gap: 0.4rem; z-index: 2; }
.deck-name { position: absolute; left: 1rem; right: 1rem; bottom: 0.85rem; z-index: 2; }
.deck-name h3 { font-family: var(--font-display, 'Cinzel'), serif; font-size: 1.4rem; color: #fff; margin: 0;
  text-shadow: 0 2px 14px rgba(0,0,0,0.55); }
.deck-name p { margin: 0.2rem 0 0; display: flex; align-items: center; gap: 0.3rem;
  color: rgba(255,255,255,0.82); font-size: 0.8rem; }
.deck-name svg { width: 13px; height: 13px; flex: none; }
.deck-save { position: absolute; top: 0.7rem; right: 0.7rem; z-index: 3; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; color: #fff;
  background: rgba(13,4,32,0.55); border: 1px solid rgba(255,255,255,0.22); backdrop-filter: blur(6px);
  transition: transform 0.18s cubic-bezier(0.34,1.56,0.64,1), color 0.18s, background 0.18s, border-color 0.18s; }
.deck-save svg { width: 18px; height: 18px; }
.deck-save:active { transform: scale(0.86); }
.deck-save.on { color: var(--cj-gold); border-color: rgba(212,175,55,0.6); background: rgba(212,175,55,0.16); }
.deck-save.on svg { animation: savePop 0.35s cubic-bezier(0.34,1.56,0.64,1); }
@keyframes savePop { 0% { transform: scale(0.6); } 60% { transform: scale(1.2); } 100% { transform: scale(1); } }
.deck-astro { position: absolute; right: 0.85rem; bottom: 0.95rem; z-index: 2; display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.32rem 0.62rem; border-radius: 999px; font-size: 0.74rem; font-weight: 700; color: var(--cj-gold-soft);
  background: rgba(13,4,32,0.66); border: 1px solid rgba(212,175,55,0.4); backdrop-filter: blur(6px); }
.deck-astro svg { width: 12px; height: 12px; }

.deck-body { padding: 0.85rem 1rem 1rem; }
.deck-rows { display: flex; flex-wrap: wrap; gap: 0.35rem 0.9rem; margin: 0 0 0.8rem; }
.deck-rows span { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.8rem; color: var(--cj-text-mute); }
.deck-rows svg { width: 13px; height: 13px; color: var(--cj-gold-soft); flex: none; }
.deck-actions { display: flex; gap: 0.55rem; }
.deck-actions .btn { flex: 1; padding: 0.66rem; font-size: 0.88rem; }

/* heart burst (double-tap) */
.deck-burst { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; z-index: 4; }
.deck-burst svg { width: 84px; height: 84px; color: var(--cj-rose, #ff9ec1); filter: drop-shadow(0 4px 18px rgba(255,158,193,0.5));
  animation: heartPop 0.8s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes heartPop { 0% { transform: scale(0); opacity: 0; } 25% { transform: scale(1.25); opacity: 1; }
  55% { transform: scale(0.96); opacity: 1; } 100% { transform: scale(1.1) translateY(-14px); opacity: 0; } }
.deck-burst i { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--cj-gold, #d4af37);
  animation: sparkFly 0.7s ease-out both; }
@keyframes sparkFly { from { transform: none; opacity: 1; } to { transform: translate(var(--sx), var(--sy)) scale(0.4); opacity: 0; } }

/* deck footer ui */
.deck-ui { display: flex; flex-direction: column; align-items: center; gap: 0.55rem; margin-top: -0.2rem; }
.deck-counter { font-family: var(--font-display, 'Cinzel'), serif; font-size: 0.82rem; color: var(--cj-text-mute); letter-spacing: 0.08em; }
.deck-counter b { color: var(--cj-gold-soft); }
.deck-dots { display: flex; gap: 0.4rem; }
.deck-dots button { width: 7px; height: 7px; border-radius: 999px; background: var(--cj-line-strong); padding: 0;
  transition: width 0.25s, background 0.25s; cursor: pointer; }
.deck-dots button.on { width: 20px; background: linear-gradient(90deg, var(--cj-gold-bright, #f5d77a), var(--cj-gold, #d4af37)); }
.deck-hint { display: flex; align-items: center; justify-content: center; gap: 0.4rem; margin-top: 0.55rem;
  font-size: 0.72rem; color: var(--cj-text-faint); }
.deck-hint svg { width: 14px; height: 14px; animation: hintSlide 1.6s ease-in-out infinite; }
@keyframes hintSlide { 0%, 100% { transform: translateX(0); opacity: 0.5; } 50% { transform: translateX(6px); opacity: 1; } }

@media (min-width: 760px) { .deck { --deck-w: 340px; } }
@media (prefers-reduced-motion: reduce) {
  .deck-in { animation: none; }
  .deck-card { transform: none !important; }
  .deck-photo__img { transform: none !important; }
  .deck-hint svg { animation: none; }
}

/* ============================================================
   22. APP FEEL 2.0 — global native-app polish layer
   ============================================================ */

/* no double-tap zoom (keeps "double-tap to like" and taps instant), but pinch-zoom
   stays available for low-vision users — WCAG 1.4.4. The crop frame opts out
   with touch-action: none so its own pinch handler still wins. */
html, body { touch-action: manipulation; }
a, button, input, select, textarea, label { touch-action: manipulation; }

/* ---- page enter / exit transitions ---- */
@keyframes pgIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
body.pg-enter .app-main, body.pg-enter .admin-main { animation: pgIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) both; }
body.pg-exit { opacity: 0; transition: opacity 0.15s ease; pointer-events: none; }

/* staggered entrance for dashboard blocks */
body.pg-enter .dash-hi, body.pg-enter .dash-hero { animation: pgIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.03s both; }
body.pg-enter .dash-hero .dash-hi { animation: none; }
body.pg-enter .status-card { animation: pgIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both; }
body.pg-enter .choice-card:nth-child(1) { animation: pgIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both; }
body.pg-enter .choice-card:nth-child(2) { animation: pgIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.17s both; }
body.pg-enter .tile:nth-child(1) { animation: pgIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.16s both; }
body.pg-enter .tile:nth-child(2) { animation: pgIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both; }
body.pg-enter .tile:nth-child(3) { animation: pgIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.24s both; }
body.pg-enter .tile:nth-child(4) { animation: pgIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.28s both; }
body.pg-enter .tile:nth-child(5) { animation: pgIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.32s both; }
body.pg-enter .tile:nth-child(6) { animation: pgIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.36s both; }

/* ---- app header: deeper glass + gold hairline ---- */
.app-header { position: sticky; background: linear-gradient(180deg, rgba(13,4,32,0.97), rgba(13,4,32,0.85));
  backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%); }
.app-header::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent 8%, rgba(212,175,55,0.35), transparent 92%); pointer-events: none; }

/* ---- bottom nav: active glow pill + springy icons ---- */
.bottom-nav { background: linear-gradient(180deg, rgba(13,4,32,0.9), rgba(10,3,26,0.97));
  backdrop-filter: blur(24px) saturate(150%); -webkit-backdrop-filter: blur(24px) saturate(150%); }
.bottom-nav a::after { content: ''; position: absolute; inset: 3px 10%; border-radius: 13px; z-index: -1;
  background: radial-gradient(60% 90% at 50% 0%, rgba(212,175,55,0.16), rgba(212,175,55,0.04) 70%, transparent);
  opacity: 0; transform: scale(0.72); transition: opacity 0.25s, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
.bottom-nav a[aria-current="page"]::after { opacity: 1; transform: none; }
.bottom-nav a[aria-current="page"] svg { animation: navPop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes navPop { 0% { transform: scale(0.82); } 60% { transform: scale(1.12) translateY(-1px); } 100% { transform: translateY(-1px); } }

/* ---- surfaces: consistent elevation + inner light ---- */
.card, .status-card, .choice-card, .tile, .sup-card, .match-card {
  box-shadow: 0 12px 32px rgba(0,0,0,0.34), inset 0 1px 0 rgba(255,255,255,0.05); }
.tile__ic, .choice-card__icon { transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s; }
.tile:active .tile__ic, .choice-card:active .choice-card__icon { transform: scale(0.9); }
.tile:hover .tile__ic, .choice-card:hover .choice-card__icon { box-shadow: 0 0 0 5px rgba(212,175,55,0.08), 0 0 18px rgba(212,175,55,0.18); }

/* ---- primary button: sheen + depth ---- */
.btn-primary { position: relative; overflow: hidden; box-shadow: 0 10px 26px rgba(212,175,55,0.26), inset 0 1px 0 rgba(255,255,255,0.35); }
.btn-primary::after { content: ''; position: absolute; top: -30%; bottom: -30%; width: 36%; left: -55%;
  transform: skewX(-18deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.55s ease; pointer-events: none; }
.btn-primary:hover::after { left: 130%; }
.btn-primary:active { box-shadow: 0 4px 12px rgba(212,175,55,0.2), inset 0 2px 6px rgba(0,0,0,0.15); }

/* ---- inputs: focused glow lift ---- */
.input:focus, .textarea:focus, .sort-select:focus, .chat-input:focus, .sup-filter:focus {
  border-color: var(--cj-gold); box-shadow: 0 0 0 3px rgba(212,175,55,0.14); background: rgba(255,255,255,0.055); outline: none; }
.otp-box { transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s; }
.otp-box:focus { transform: scale(1.07); border-color: var(--cj-gold); box-shadow: 0 0 0 3px rgba(212,175,55,0.16); }

/* ---- sheets & panels: softer top, deeper glass ---- */
.sheet { border-radius: 26px 26px 0 0; backdrop-filter: blur(24px) saturate(150%); -webkit-backdrop-filter: blur(24px) saturate(150%); }
.sheet__grip { transition: width 0.2s; }
.sheet.open .sheet__grip { width: 52px; }
.notif-panel { backdrop-filter: blur(24px) saturate(150%); -webkit-backdrop-filter: blur(24px) saturate(150%); }
.notif-item { transition: background 0.16s, transform 0.16s; }
.notif-item:active { transform: scale(0.985); }

/* ---- badges & dots: gentle life ---- */
.tile__badge, .nav-badge { animation: badgePulse 2.4s ease-in-out infinite; }
@keyframes badgePulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(214,66,110,0.35); } 50% { box-shadow: 0 0 0 5px rgba(214,66,110,0); } }

@media (prefers-reduced-motion: reduce) {
  body.pg-enter .app-main, body.pg-enter .admin-main, body.pg-enter .dash-hi, body.pg-enter .dash-hero, body.pg-enter .status-card,
  body.pg-enter .choice-card, body.pg-enter .tile,
  .bottom-nav a[aria-current="page"] svg, .tile__badge, .nav-badge { animation: none !important; }
  body.pg-exit { opacity: 1; transition: none; }
  .btn-primary::after { display: none; }
}

/* ============================================================
   23. DASHBOARD 2.0 (onboarding home)
   ============================================================ */
.dash-hero { position: relative; overflow: hidden; margin: 0.3rem 0 1.4rem; padding: 1.15rem 1.1rem 1.05rem; border-radius: 22px;
  background:
    radial-gradient(130% 150% at 88% -30%, rgba(212,175,55,0.16), transparent 55%),
    radial-gradient(90% 130% at 0% 110%, rgba(157,78,221,0.14), transparent 60%),
    linear-gradient(165deg, rgba(75,29,138,0.5), rgba(15,6,32,0.93));
  border: 1px solid var(--cj-line-strong);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 16px 44px rgba(0,0,0,0.38); }
.dash-hero .dash-hi { margin-bottom: 0.95rem; }

/* twinkling sparks */
.spk { position: absolute; width: 4px; height: 4px; border-radius: 50%; pointer-events: none;
  background: var(--cj-gold-soft); box-shadow: 0 0 8px var(--cj-gold); animation: twinkle 3.2s ease-in-out infinite; }
.spk.s1 { top: 16%; right: 10%; }
.spk.s2 { top: 58%; right: 26%; width: 3px; height: 3px; animation-delay: 1.1s; }
.spk.s3 { top: 26%; right: 44%; width: 2.5px; height: 2.5px; animation-delay: 2s; }
.spk.s4 { bottom: 20%; right: 6%; width: 2.5px; height: 2.5px; animation-delay: 0.6s; }
@keyframes twinkle { 0%, 100% { opacity: 0.2; transform: scale(0.8); } 50% { opacity: 0.9; transform: scale(1.2); } }

/* avatar: orbiting gold ring */
.dash-av { position: relative; }
.dash-av::before { content: ''; position: absolute; inset: -5px; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--cj-gold) 0 22%, rgba(212,175,55,0.12) 22% 47%, var(--cj-gold-soft) 47% 58%, rgba(212,175,55,0.12) 58% 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px));
  animation: avOrbit 14s linear infinite; }
@keyframes avOrbit { to { transform: rotate(360deg); } }

/* daily cosmic note */
.cosmic-note { display: flex; align-items: flex-start; gap: 0.6rem; padding: 0.65rem 0.8rem; border-radius: 13px;
  background: rgba(212,175,55,0.06); border: 1px solid rgba(212,175,55,0.2); }
.cosmic-note__ic { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center;
  color: var(--cj-gold); background: rgba(212,175,55,0.14); }
.cosmic-note__ic svg { width: 13px; height: 13px; animation: noteStar 5s ease-in-out infinite; }
@keyframes noteStar { 0%, 100% { transform: rotate(0) scale(1); } 50% { transform: rotate(72deg) scale(1.12); } }
.cosmic-note p { margin: 0.1rem 0 0; font-family: var(--font-accent, 'Cormorant Garamond'), serif; font-style: italic;
  font-size: 0.95rem; line-height: 1.4; color: var(--cj-text-ivory); }

/* status card: journey banner */
.status-card { border-color: rgba(212,175,55,0.3);
  background: linear-gradient(120deg, rgba(212,175,55,0.1), rgba(75,29,138,0.3) 45%, rgba(15,6,32,0.92)); }
.status-card .chev { animation: chevNudge 1.9s ease-in-out infinite; }
@keyframes chevNudge { 0%, 100% { transform: translateX(0); opacity: 0.65; } 50% { transform: translateX(4px); opacity: 1; } }
.status-card__ic { box-shadow: 0 0 0 5px rgba(212,175,55,0.06), 0 0 18px rgba(212,175,55,0.14); }

/* section headers: gold kicker */
.dash-h { display: flex; align-items: center; gap: 0.55rem; }
.dash-h::before { content: ''; width: 16px; height: 2px; border-radius: 2px; flex: none;
  background: linear-gradient(90deg, var(--cj-gold), transparent); }

/* choice cards: gold wash + sliding arrow */
.choice-card { position: relative; overflow: hidden; }
.choice-card > :not(.cj-ripple) { position: relative; z-index: 1; }
.choice-card > .cj-ripple { position: absolute; }
.choice-card::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(100% 130% at 100% 0%, rgba(212,175,55,0.09), transparent 55%); }
.choice-card__icon { background: linear-gradient(160deg, rgba(212,175,55,0.2), rgba(212,175,55,0.05));
  border-color: rgba(212,175,55,0.35); }
.choice-card .chev { transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1); }
.choice-card:hover .chev, .choice-card:active .chev { transform: translateX(4px); color: var(--cj-gold); }

/* quick-access tiles: tinted icon system */
.tile:nth-child(1) .tile__ic { color: var(--cj-gold); background: rgba(212,175,55,0.13); }
.tile:nth-child(2) .tile__ic { color: var(--cj-rose, #ff9ec1); background: rgba(255,158,193,0.11); }
.tile:nth-child(3) .tile__ic { color: #5b8def; background: rgba(91,141,239,0.13); }
.tile:nth-child(4) .tile__ic { color: #48c78e; background: rgba(72,199,142,0.12); }
.tile:nth-child(5) .tile__ic { color: var(--cj-gold-soft); background: rgba(212,175,55,0.13); }
.tile:nth-child(6) .tile__ic { color: #e3b23c; background: rgba(227,178,60,0.13); }

/* signed-in pill */
.dash-note { margin-top: 1.7rem; text-align: center; padding: 0.6rem 1rem; border-radius: 999px;
  border: 1px dashed var(--cj-line-strong); background: rgba(255,255,255,0.02); }

@media (prefers-reduced-motion: reduce) {
  .spk, .dash-av::before, .cosmic-note__ic svg, .status-card .chev { animation: none; }
}

/* ============================================================
   25. SHORTLIST / SAVED
   ============================================================ */
.sl-list { display: grid; gap: 0.75rem; }
.sl-card { position: relative; display: flex; gap: 0.85rem; padding: 0.7rem; border-radius: 16px;
  background: linear-gradient(165deg, rgba(75,29,138,0.3), rgba(15,6,32,0.9)); border: 1px solid var(--cj-line);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3); }
.sl-photo { flex: none; width: 84px; height: 96px; border-radius: 13px; display: grid; place-items: center;
  font-family: var(--font-display, 'Cinzel'), serif; font-size: 2rem; color: rgba(255,255,255,0.85);
  text-decoration: none; overflow: hidden; }
.sl-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.15rem; }
.sl-info b { font-family: var(--font-display, 'Cinzel'), serif; font-size: 1.02rem; color: var(--cj-text-ivory); display: flex; align-items: center; gap: 0.35rem; }
.sl-v { color: var(--cj-success, #48c78e); flex: none; }
.sl-info span { font-size: 0.82rem; color: var(--cj-text-mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sl-actions { display: flex; gap: 0.45rem; margin-top: 0.5rem; }
.sl-actions .btn { flex: 1; min-height: 38px; padding: 0 0.7rem; font-size: 0.8rem; }
.sl-remove { position: absolute; top: 0.55rem; right: 0.55rem; width: 30px; height: 30px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; color: var(--cj-gold); background: rgba(212,175,55,0.12); border: 1px solid rgba(212,175,55,0.3); }
.sl-remove svg { width: 15px; height: 15px; }
.sl-remove:active { transform: scale(0.88); }

/* ============================================================
   26. PROFILE VIEW (immersive)
   ============================================================ */
.pv .pgallery__main { aspect-ratio: 3 / 4; }
.pv-scrim { position: absolute; left: 0; right: 0; bottom: 0; height: 62%; z-index: 4; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(6,2,16,0.35) 45%, rgba(6,2,16,0.94)); }
.pv-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; padding: 1rem 1.1rem 1.05rem; pointer-events: none; }
.pv-cap__badges { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.5rem; }
.pv-vbadge, .pv-mbadge, .pv-astro { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.28rem 0.6rem;
  border-radius: 999px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.02em; backdrop-filter: blur(6px); }
.pv-vbadge { color: #7ff0b8; background: rgba(72,199,142,0.2); border: 1px solid rgba(72,199,142,0.45); }
.pv-vbadge svg { width: 11px; height: 11px; }
.pv-mbadge { color: #ffc0d6; background: rgba(255,158,193,0.18); border: 1px solid rgba(255,158,193,0.4); }
.pv-astro { color: var(--cj-gold-bright, #f5d77a); background: rgba(13,4,32,0.5); border: 1px solid rgba(212,175,55,0.5); }
.pv-astro svg { width: 11px; height: 11px; }
.pv-cap h2 { margin: 0; font-family: var(--font-display, 'Cinzel'), serif; font-size: clamp(1.55rem, 6vw, 2.1rem);
  line-height: 1.05; color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,0.6); }
.pv-cap p { margin: 0.3rem 0 0; display: flex; align-items: center; gap: 0.35rem; font-size: 0.86rem; color: rgba(255,255,255,0.86); }
.pv-cap p svg { width: 14px; height: 14px; color: var(--cj-gold-soft); flex: none; }

/* action bar */
.pv-actions { display: flex; gap: 0.55rem; margin-bottom: 1.4rem; }
.pv-interest { flex: 1; }
.pv-iconbtn { flex: none; width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; cursor: pointer;
  color: var(--cj-gold); background: rgba(212,175,55,0.08); border: 1px solid var(--cj-line-strong);
  transition: transform 0.18s cubic-bezier(0.34,1.56,0.64,1), background 0.18s, border-color 0.18s, color 0.18s; }
.pv-iconbtn svg { width: 21px; height: 21px; }
.pv-iconbtn:active { transform: scale(0.9); }
.pv-iconbtn.on { color: #1a0838; background: linear-gradient(150deg, var(--cj-gold-bright, #f5d77a), var(--cj-gold, #d4af37)); border-color: var(--cj-gold); }

/* section headers */
.pv-sec { display: flex; align-items: center; gap: 0.55rem; font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cj-gold); margin: 1.4rem 0 0.75rem; }
.pv-sec::before { content: ''; width: 16px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--cj-gold), transparent); }

/* info chips */
.pv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.pv-chip { display: flex; align-items: center; gap: 0.65rem; padding: 0.7rem 0.8rem; border-radius: 14px;
  background: linear-gradient(165deg, rgba(75,29,138,0.24), rgba(15,6,32,0.82)); border: 1px solid var(--cj-line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04); }
.pv-chip--wide { grid-column: 1 / -1; }
.pv-chip__ic { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  color: var(--cj-gold-soft); background: rgba(212,175,55,0.12); border: 1px solid rgba(212,175,55,0.22); }
.pv-chip__ic svg { width: 17px; height: 17px; }
.pv-chip__t { min-width: 0; display: flex; flex-direction: column; }
.pv-chip__t small { font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cj-text-faint); }
.pv-chip__t b { font-size: 0.92rem; color: var(--cj-text-ivory); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* premium unlock */
.pv-unlock { margin-top: 1.6rem; padding: 1.15rem 1.15rem 1.2rem; border-radius: 20px; position: relative; overflow: hidden;
  background: linear-gradient(165deg, rgba(212,175,55,0.14), rgba(75,29,138,0.32) 45%, rgba(15,6,32,0.94));
  border: 1px solid rgba(212,175,55,0.4); box-shadow: 0 18px 44px rgba(0,0,0,0.4); }
.pv-unlock::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 100% 0%, rgba(212,175,55,0.16), transparent 55%); }
.pv-unlock__head { position: relative; display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.9rem; }
.pv-unlock__ic { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  color: var(--cj-gold); background: rgba(212,175,55,0.16); border: 1px solid rgba(212,175,55,0.35); }
.pv-unlock__ic svg { width: 20px; height: 20px; }
.pv-unlock__head b { display: block; font-family: var(--font-display, 'Cinzel'), serif; font-size: 1rem; color: var(--cj-text-ivory); }
.pv-unlock__head small { font-size: 0.78rem; color: var(--cj-text-mute); }
.pv-unlock__price { margin-left: auto; font-family: var(--font-display, 'Cinzel'), serif; font-size: 1.25rem;
  color: var(--cj-gold-bright, #f5d77a); white-space: nowrap; }
.pv-unlock__list { position: relative; list-style: none; margin: 0 0 0.8rem; padding: 0; display: grid; gap: 0.5rem; }
.pv-unlock__list li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.86rem; color: var(--cj-text-ivory); }
.pv-unlock__list svg { width: 15px; height: 15px; color: var(--cj-gold-soft); flex: none; }
.pv-unlock__note { position: relative; margin: 0; font-size: 0.78rem; color: var(--cj-text-faint); }

/* entrance */
.pv-hero { animation: pgIn 0.5s cubic-bezier(0.22,1,0.36,1) both; }
.pv-actions { animation: pgIn 0.5s cubic-bezier(0.22,1,0.36,1) 0.06s both; }
.detail-content .pv-sec, .detail-content .pv-grid { animation: pgIn 0.5s cubic-bezier(0.22,1,0.36,1) 0.1s both; }
@media (prefers-reduced-motion: reduce) {
  .pv-hero, .pv-actions, .detail-content .pv-sec, .detail-content .pv-grid { animation: none; }
}
@media (min-width: 860px) {
  .pv .pgallery__main { aspect-ratio: 4 / 5; }
}

/* ============================================================
   24. PHOTO CROPPER
   ============================================================ */
.crop-ov { position: fixed; inset: 0; z-index: 500; display: flex; flex-direction: column;
  background: rgba(8, 2, 18, 0.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: calc(env(safe-area-inset-top) + 1rem) 1.2rem calc(env(safe-area-inset-bottom) + 1rem);
  animation: lbfade 0.2s ease; }
.crop-head { text-align: center; flex: none; margin-bottom: 0.6rem; }
.crop-head h3 { font-family: var(--font-display, 'Cinzel'), serif; font-size: 1.15rem; color: var(--cj-text-ivory); margin: 0; }
.crop-head p { margin: 0.25rem 0 0; font-size: 0.78rem; color: var(--cj-text-mute); }
.crop-stage { flex: 1 1 auto; min-height: 0; display: grid; place-items: center; }
.crop-frame { position: relative; overflow: hidden; border-radius: 18px; touch-action: none; cursor: grab;
  border: 2px solid var(--cj-gold); box-shadow: 0 0 0 4000px rgba(8, 2, 18, 0.55), 0 10px 50px rgba(0,0,0,0.5); }
.crop-frame:active { cursor: grabbing; }
.crop-frame img { position: absolute; top: 50%; left: 50%; max-width: none; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.crop-frame .g { position: absolute; background: rgba(255,255,255,0.18); pointer-events: none; }
.crop-frame .g1 { left: 33.33%; top: 0; bottom: 0; width: 1px; }
.crop-frame .g2 { left: 66.66%; top: 0; bottom: 0; width: 1px; }
.crop-frame .g3 { top: 33.33%; left: 0; right: 0; height: 1px; }
.crop-frame .g4 { top: 66.66%; left: 0; right: 0; height: 1px; }
.crop-zoom { flex: none; display: flex; align-items: center; gap: 0.7rem; max-width: 22rem; width: 100%; margin: 1rem auto 0; color: var(--cj-text-mute); }
.crop-zoom svg { width: 18px; height: 18px; flex: none; }
.crop-zoom input[type="range"] { flex: 1; appearance: none; -webkit-appearance: none; height: 4px; border-radius: 999px;
  background: linear-gradient(90deg, var(--cj-gold), rgba(212,175,55,0.2)); outline: none; }
.crop-zoom input[type="range"]::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(150deg, var(--cj-gold-bright, #f5d77a), var(--cj-gold, #d4af37));
  border: 2px solid #1a0838; box-shadow: 0 2px 10px rgba(212,175,55,0.5); cursor: pointer; }
.crop-zoom input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%;
  background: var(--cj-gold); border: 2px solid #1a0838; cursor: pointer; }
.crop-actions { flex: none; display: flex; gap: 0.6rem; max-width: 22rem; width: 100%; margin: 0.9rem auto 0; }
.crop-actions .btn { flex: 1; }

/* ============================================================
   20. APP WELCOME SCREEN (index — single fixed viewport, no scroll)
   ============================================================ */
.app-welcome {
  position: fixed; inset: 0; z-index: 1;
  height: 100dvh; display: flex; flex-direction: column; overflow: hidden;
  padding: calc(env(safe-area-inset-top) + 0.6rem) clamp(1.1rem, 5vw, 2rem) calc(env(safe-area-inset-bottom) + 0.9rem);
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(75,29,138,0.55), transparent 60%),
    radial-gradient(90% 60% at 50% 108%, rgba(212,175,55,0.12), transparent 60%),
    var(--cj-bg-0, #0d0420);
}
.app-welcome.page-in .aw-content { animation: awIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both; }
.app-welcome.page-in .aw-dock { animation: awIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both; }
.app-welcome.page-in .aw-ring { animation: awRingIn 0.9s ease both; }
@keyframes awIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes awRingIn { from { opacity: 0; transform: translate(-50%, -54%) scale(0.9); } to { opacity: 0.55; transform: translate(-50%, -54%) scale(1); } }
.aw-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex: none; }
.aw-brand { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-display, 'Cinzel'), serif;
  font-size: 1.02rem; letter-spacing: 0.02em; color: var(--cj-text-ivory); }
.aw-brand svg { color: var(--cj-gold); filter: drop-shadow(0 0 6px rgba(212,175,55,0.4)); }
.aw-brand .mark { color: var(--cj-gold-soft); }

/* hero zone */
.aw-hero { position: relative; flex: 1 1 auto; display: grid; place-items: center; min-height: 0; }
.aw-ring { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -54%);
  width: min(92vw, 430px); aspect-ratio: 1; opacity: 0.55; pointer-events: none; }
.aw-ring svg { width: 100%; height: 100%; }
.aw-glow { position: absolute; top: 42%; left: 50%; width: min(70vw, 320px); aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(212,175,55,0.22), transparent 65%); filter: blur(20px); pointer-events: none; }
.aw-content { position: relative; z-index: 2; text-align: center; max-width: 30rem; padding: 0.5rem 0; }
.aw-eyebrow { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.34rem 0.85rem; border-radius: 999px;
  font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; color: var(--cj-gold-soft);
  background: rgba(212,175,55,0.1); border: 1px solid rgba(212,175,55,0.28); backdrop-filter: blur(6px); }
.aw-eyebrow svg { width: 13px; height: 13px; }
.aw-title { font-family: var(--font-display, 'Cinzel'), serif; font-weight: 700; line-height: 1.08;
  font-size: clamp(2rem, 8.5vw, 3.1rem); color: var(--cj-text-ivory); margin: 0.9rem 0 0; letter-spacing: 0.01em;
  text-shadow: 0 2px 30px rgba(0,0,0,0.5); }
.aw-title em { font-family: var(--font-accent, 'Cormorant Garamond'), serif; font-style: italic; font-weight: 500;
  background: linear-gradient(100deg, var(--cj-gold-bright, #f5d77a), var(--cj-gold, #d4af37) 60%, var(--cj-gold-soft, #e8c96a));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.aw-knot { width: 88px; height: 40px; margin: 0.55rem auto 0; display: block; color: var(--cj-gold); opacity: 0.9; }
.aw-knot path { fill: none; stroke: url(#awknotg); stroke-width: 2.4; stroke-linecap: round; }
.aw-lead { color: var(--cj-text-mute); font-size: clamp(0.9rem, 3.6vw, 1rem); line-height: 1.55; margin: 0.9rem auto 0; max-width: 26rem; }
.aw-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem; margin-top: 1.1rem; }
.aw-chip { display: inline-flex; align-items: center; gap: 0.32rem; padding: 0.34rem 0.7rem; border-radius: 999px;
  font-size: 0.72rem; font-weight: 600; color: var(--cj-text-ivory);
  background: rgba(255,255,255,0.045); border: 1px solid var(--cj-line-strong); backdrop-filter: blur(8px); }
.aw-chip svg { width: 13px; height: 13px; color: var(--cj-gold-soft); }
.aw-rating { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1rem; font-size: 0.76rem; color: var(--cj-text-mute); }
.aw-rating .stars { display: inline-flex; gap: 1px; color: var(--cj-gold); }
.aw-rating .stars svg { width: 13px; height: 13px; }
.aw-rating strong { color: var(--cj-text-ivory); font-weight: 700; }

/* action dock */
.aw-dock { flex: none; margin-top: 0.6rem; padding: 0.95rem 1rem 1rem; border-radius: 22px;
  background: linear-gradient(165deg, rgba(75,29,138,0.4), rgba(15,6,32,0.86)); border: 1px solid var(--cj-line-strong);
  box-shadow: 0 -8px 40px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.06); backdrop-filter: blur(16px); }
.aw-dock .btn { width: 100%; }
.aw-dock .btn-primary { font-size: 1rem; padding: 0.95rem; box-shadow: 0 8px 26px rgba(212,175,55,0.28); }
.aw-actions2 { display: flex; gap: 0.6rem; margin-top: 0.6rem; }
.aw-actions2 .btn { flex: 1; padding: 0.72rem; font-size: 0.9rem; }
.aw-legal { display: flex; align-items: center; justify-content: center; gap: 0.7rem; margin-top: 0.85rem; flex-wrap: wrap; }
.aw-legal a { font-size: 0.72rem; color: var(--cj-text-faint); }
.aw-legal a:hover { color: var(--cj-gold-soft); }
.aw-legal span { color: var(--cj-line-strong); font-size: 0.6rem; }

@media (min-height: 760px) {
  .aw-title { margin-top: 1.2rem; }
  .aw-lead { margin-top: 1.1rem; }
  .aw-dock { padding: 1.1rem 1.1rem 1.15rem; }
}
@media (max-height: 620px) {
  .aw-knot, .aw-rating { display: none; }
  .aw-chips { margin-top: 0.7rem; }
}
/* Landscape phones: the fixed full-height layout has nowhere to put the hero,
   so it used to overflow on top of the action dock. Let the screen scroll. */
@media (max-height: 520px) {
  .app-welcome { position: static; height: auto; min-height: 100dvh; overflow-y: auto; }
  .aw-ring, .aw-glow { display: none; }
  .aw-hero { padding-block: 1.1rem; }
  .aw-title { font-size: clamp(1.5rem, 5vw, 2.1rem); }
  .aw-lead { margin-top: 0.7rem; }
  .aw-dock { margin-top: 1.1rem; }
}
/* desktop: keep the app feel, centered card column */
@media (min-width: 760px) {
  .app-welcome { padding-top: 1.4rem; }
  .aw-content { max-width: 34rem; }
  .aw-dock { max-width: 30rem; margin-left: auto; margin-right: auto; width: 100%; }
  .aw-top { max-width: 60rem; margin: 0 auto; width: 100%; }
}

/* ============================================================
   23. BRAND MARKS — assets/img (logo-nav = emblem + wordmark,
   icon-96 = square app icon). Height drives size; width follows
   the intrinsic ratio from the width/height attributes (no CLS).
   ============================================================ */
.brand-lockup { display: block; height: 38px; width: auto; max-width: 100%; object-fit: contain; object-position: left center;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.45)); }
.brand-icon { display: block; width: 32px; height: 32px; border-radius: 9px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4); }

.nav__logo .brand-lockup { height: 40px; }
.footer__brand .brand-lockup { height: 52px; }
.aw-brand { min-width: 0; }
.aw-brand .brand-lockup { height: 40px; }
.app-header__brand { margin: 0; min-width: 0; line-height: 0; }
.app-header__brand .brand-lockup { height: 36px; }
.app-header__logo .brand-icon { width: 34px; height: 34px; }
.admin-side__logo .brand-icon { width: 28px; height: 28px; border-radius: 8px; }
.admin-login__icon { display: block; width: 72px; height: 72px; margin: 0 auto 1rem; border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 0 1px var(--cj-line); }
.legal-brand { display: inline-block; margin: 0 0 1.4rem; }
.legal-brand .brand-lockup { height: 46px; }
@media (min-width: 760px) {
  .nav__logo .brand-lockup { height: 46px; }
  .aw-brand .brand-lockup { height: 46px; }
}

/* welcome-screen legal row: 44px hit area without changing the look */
.aw-legal a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.3rem; font-size: 0.78rem; }

/* even line lengths on headings — no one-word orphans (progressive; ignored by old engines) */
h1, h2, h3 { text-wrap: balance; }
