:root {
    --wine-950: #1f060d;
    --wine-900: #2e0a15;
    --wine-800: #45101f;
    --wine-700: #5e1428;
    --wine: #7a1c34;
    --rose: #a8405a;
    --gold: #c8a45c;
    --gold-light: #ecd9a8;
    --gold-deep: #9c7630;
    --gold-grad: linear-gradient(135deg, #f4e4b8 0%, #d4b06a 38%, #b08a3e 72%, #e2c98c 100%);
    --ivory: #fbf7f0;
    --sand: #f4ecdd;
    --paper: #fffdf9;
    --ink: #2b1d20;
    --muted: #7d6c6f;
    --line: #e9decb;
    --ok: #1c7a4c;
    --warn: #9a6200;
    --bad: #b3261e;
    --radius: 18px;
    --shadow-sm: 0 2px 10px rgba(69, 16, 31, .06);
    --shadow: 0 14px 40px -12px rgba(69, 16, 31, .18);
    --shadow-lg: 0 30px 70px -20px rgba(46, 10, 21, .35);
    --serif: 'Marcellus', 'Tiro Devanagari Hindi', Georgia, serif;
    --sans: 'Mukta', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; font-variant-numeric: lining-nums !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--ivory); -webkit-font-smoothing: antialiased; font-variant-numeric: lining-nums; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0 0 .45em; color: var(--wine-800); letter-spacing: -.005em; }
html[lang="hi"] h1, html[lang="hi"] h2, html[lang="hi"] h3 { font-family: 'Tiro Devanagari Hindi', var(--serif); font-weight: 400; line-height: 1.35; }
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 .8em; }
a { color: var(--wine); }
img { max-width: 100%; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.inline { display: inline; }
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
::selection { background: var(--gold-light); color: var(--wine-900); }

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Header ---------- */
.topline { height: 3px; background: var(--gold-grad); }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 247, 240, .88); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(200, 164, 92, .3); transition: background .3s, box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 10px 30px -18px rgba(46, 10, 21, .4); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, #7a1c34, #2e0a15); color: var(--gold-light); font-size: 1.35rem; box-shadow: 0 0 0 2px var(--ivory), 0 0 0 3.5px var(--gold); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: 'Marcellus', serif; font-weight: 700; font-size: 1.62rem; color: var(--wine-800); letter-spacing: .01em; }
.brand-tag { font-size: .64rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-deep); margin-top: 5px; font-weight: 600; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .linklike { position: relative; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; padding: 9px 13px; border-radius: 999px; transition: color .2s, background .2s; }
.nav > a:hover, .linklike:hover { color: var(--wine); background: rgba(200, 164, 92, .14); }
.nav > a.on { color: var(--wine); }
.nav > a.on::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--gold-grad); }
.linklike { background: none; border: 0; cursor: pointer; font-family: inherit; }
.nav .lang { border: 1px solid rgba(200, 164, 92, .6); font-size: .86rem; padding: 5px 14px; margin-left: 8px; color: var(--gold-deep); font-weight: 600; }
.nav .btn { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 1px solid rgba(200, 164, 92, .5); border-radius: 12px; width: 44px; height: 44px; font-size: 1.3rem; color: var(--wine); cursor: pointer; }
.badge { display: inline-block; background: var(--gold-grad); color: var(--wine-900); border-radius: 999px; font-size: .7rem; font-weight: 700; padding: 0 7px; line-height: 1.55; vertical-align: 2px; }

/* Transparent header on the landing page until scrolled */
.is-home .site-header { position: fixed; left: 0; right: 0; top: 3px; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: rgba(236, 217, 168, .16); }
.is-home .topline { position: fixed; top: 0; left: 0; right: 0; z-index: 51; }
.is-home .site-header:not(.scrolled) .brand-name { color: #fff; }
.is-home .site-header:not(.scrolled) .brand-tag { color: var(--gold-light); }
.is-home .site-header:not(.scrolled) .nav > a:not(.btn) { color: #f5e9da; }
.is-home .site-header:not(.scrolled) .nav > a:not(.btn):hover { background: rgba(255, 255, 255, .1); color: #fff; }
.is-home .site-header:not(.scrolled) .nav .lang { color: var(--gold-light); border-color: rgba(236, 217, 168, .5); }
.is-home .site-header:not(.scrolled) .nav-toggle { color: var(--gold-light); border-color: rgba(236, 217, 168, .4); }
.is-home .site-header.scrolled { background: rgba(251, 247, 240, .92); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px; overflow: hidden; background: linear-gradient(135deg, var(--wine), var(--wine-800)); color: #fff !important; border: 1px solid rgba(236, 217, 168, .35); border-radius: 999px; padding: 13px 30px; font: 600 1rem var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer; box-shadow: 0 10px 24px -12px rgba(94, 20, 40, .7); transition: transform .2s, box-shadow .2s, filter .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(94, 20, 40, .75); filter: brightness(1.08); }
.btn::after { content: ''; position: absolute; top: 0; bottom: 0; left: -80%; width: 50%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent); transform: skewX(-20deg); transition: left .6s; }
.btn:hover::after { left: 130%; }
.btn-sm { padding: 8px 18px; font-size: .92rem; }
.btn-lg { padding: 16px 38px; font-size: 1.06rem; }
.btn-gold { background: var(--gold-grad); color: var(--wine-900) !important; border-color: rgba(255, 255, 255, .5); box-shadow: 0 12px 28px -12px rgba(156, 118, 48, .8); }
.btn-ghost { background: var(--paper); color: var(--wine) !important; border-color: rgba(200, 164, 92, .65); box-shadow: none; }
.btn-ghost:hover { background: #fff; box-shadow: var(--shadow-sm); }
.btn-outline { background: transparent; color: var(--gold-light) !important; border-color: rgba(236, 217, 168, .55); box-shadow: none; }
.btn-outline:hover { background: rgba(255, 255, 255, .08); }
.btn-danger { background: #fff; color: var(--bad) !important; border-color: #e7b9b5; box-shadow: none; }
.btn[disabled] { opacity: .65; cursor: default; transform: none; filter: none; }
.btn-block { width: 100%; }

/* ---------- Forms ---------- */
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: #4c3a3e; letter-spacing: .01em; }
input[type=text], input[type=tel], input[type=password], input[type=date], input[type=time], input[type=number], select, textarea {
    width: 100%; padding: 12px 14px; border: 1px solid #decfb8; border-radius: 12px; font: inherit; background: var(--paper); color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; -webkit-appearance: none; appearance: none;
}
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%239c7630' stroke-width='1.8'%3E%3Cpath d='M1 1.500l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(200, 164, 92, .2); }
input[type=file] { font: inherit; font-size: .92rem; max-width: 100%; }
input[type=file]::file-selector-button { font: 600 .9rem var(--sans); margin-right: 12px; padding: 9px 18px; border-radius: 999px; border: 1px solid rgba(200, 164, 92, .7); background: var(--paper); color: var(--wine); cursor: pointer; }
textarea { min-height: 110px; resize: vertical; }
.field { margin-bottom: 16px; }
.req { color: var(--bad); }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 20px; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 500; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--wine); }

/* ---------- Surfaces ---------- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.panel { padding: 30px; margin-bottom: 24px; }
.panel > h2 { font-size: 1.75rem; display: flex; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.panel > h2::before { content: ''; width: 9px; height: 9px; transform: rotate(45deg); background: var(--gold-grad); flex: none; }
.page { padding: 40px 0 72px; }
.page-title { margin-bottom: 26px; }
.page-title h1 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: .15em; }

.flash { margin: 18px 0 0; padding: 13px 18px; border-radius: 12px; border: 1px solid; font-weight: 500; animation: drop .5s ease; }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }
.flash-ok, .notice.ok { background: #eaf6ef; border-color: #b9dfc9; color: var(--ok); }
.flash-warn, .notice.warn { background: #fff5df; border-color: #efd7a2; color: var(--warn); }
.flash-bad, .notice.bad { background: #fdecea; border-color: #f1c0bb; color: var(--bad); }
.notice { padding: 13px 18px; border-radius: 12px; margin-bottom: 20px; border: 1px solid var(--line); background: var(--paper); }
.notice.unknown { color: var(--muted); }

/* ---------- Section heads ---------- */
.section { padding: 96px 0; position: relative; }
.section.tint { background: linear-gradient(180deg, var(--sand), var(--ivory)); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.eyebrow { display: inline-block; font-size: .76rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 14px; }
.sec-sub { color: var(--muted); font-size: 1.08rem; margin: 16px 0 0; }
.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 6px; }
.ornament::before, .ornament::after { content: ''; height: 1px; width: 84px; background: linear-gradient(90deg, transparent, var(--gold)); }
.ornament::after { transform: scaleX(-1); }
.ornament i { width: 9px; height: 9px; transform: rotate(45deg); background: var(--gold-grad); box-shadow: 16px -16px 0 -2.5px var(--gold), -16px 16px 0 -2.5px var(--gold); }
.dark .ornament::before, .dark .ornament::after { background: linear-gradient(90deg, transparent, var(--gold-light)); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; padding: 170px 0 150px; background:
    radial-gradient(ellipse 60% 55% at 78% 38%, rgba(200, 164, 92, .26), transparent 62%),
    radial-gradient(ellipse 50% 60% at 8% 100%, rgba(168, 64, 90, .45), transparent 60%),
    linear-gradient(155deg, var(--wine-950) 0%, var(--wine-800) 48%, var(--wine) 100%); }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--gold-grad); opacity: .85; }
.mandala { position: absolute; pointer-events: none; animation: spin 180s linear infinite; }
.hero .mandala.m1 { width: 820px; right: -210px; top: -120px; opacity: .3; }
.hero .mandala.m2 { width: 420px; left: -170px; bottom: -190px; opacity: .2; animation-direction: reverse; animation-duration: 140s; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.mangal { display: inline-flex; align-items: center; gap: 14px; font-family: 'Tiro Devanagari Hindi', serif; color: var(--gold-light); font-size: 1.02rem; letter-spacing: .06em; margin-bottom: 22px; }
.mangal::before, .mangal::after { content: ''; width: 34px; height: 1px; background: var(--gold); }
.hero h1 { color: #fff; margin-bottom: .32em; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.hero h1 em, .gold-text { font-style: italic; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
html[lang="hi"] .hero h1 em { font-style: normal; }
.hero .lead { font-size: 1.2rem; color: #ecd9cf; max-width: 560px; margin-bottom: 34px; font-weight: 300; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 40px; padding-top: 26px; border-top: 1px solid rgba(236, 217, 168, .2); }
.trust span { display: inline-flex; align-items: center; gap: 8px; color: #e9d8cd; font-size: .95rem; }
.trust .ico { color: var(--gold); }

.glass { position: relative; background: linear-gradient(160deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .05)); border: 1px solid rgba(236, 217, 168, .38); border-radius: 26px; padding: 34px 32px; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, .25); }
.glass::before { content: ''; position: absolute; inset: 9px; border: 1px solid rgba(236, 217, 168, .22); border-radius: 19px; pointer-events: none; }
.glass h3 { color: #fff; font-size: 1.85rem; margin-bottom: 4px; }
.glass p.sub { color: #e2cfc4; font-size: .95rem; margin-bottom: 20px; }
.glass label { color: var(--gold-light); }
.glass input, .glass select { background-color: rgba(255, 255, 255, .94); border-color: transparent; }
.glass .grid2 { grid-template-columns: 1fr 1fr; gap: 0 12px; }

/* Stats strip that overlaps the hero */
.statbar { position: relative; z-index: 3; margin-top: -62px; }
.statbar .card { display: grid; grid-template-columns: repeat(4, 1fr); padding: 30px 10px; box-shadow: var(--shadow); border-color: rgba(200, 164, 92, .4); }
.statbar .item { text-align: center; padding: 4px 14px; border-right: 1px solid var(--line); }
.statbar .item:last-child { border-right: 0; }
.statbar b { display: block; font: 700 2.9rem/1 'Marcellus', serif; background: linear-gradient(135deg, var(--wine), var(--gold-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.statbar span { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { position: relative; padding: 36px 30px 30px; overflow: hidden; transition: transform .35s, box-shadow .35s, border-color .35s; }
.feature::before { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform .45s; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(200, 164, 92, .55); }
.feature:hover::before { transform: scaleX(1); }
.feature .ring { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 20px; color: var(--wine); font-size: 1.5rem; background: radial-gradient(circle at 30% 25%, #fff, var(--sand)); box-shadow: 0 0 0 1px var(--gold), 0 0 0 6px rgba(200, 164, 92, .14); }
.feature p { color: var(--muted); margin: 0; }

/* Kundli band and other dark sections */
.dark { position: relative; overflow: hidden; color: #f0e2d8; background: radial-gradient(ellipse 55% 80% at 85% 50%, rgba(200, 164, 92, .2), transparent 60%), linear-gradient(140deg, var(--wine-950), var(--wine-800)); }
.dark h2, .dark h3 { color: #fff; }
.dark .eyebrow { color: var(--gold-light); }
.dark .mandala { width: 620px; right: -150px; top: 50%; margin-top: -310px; opacity: .22; }
.split { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.split .lead { font-size: 1.12rem; color: #e6d3c8; font-weight: 300; }
.ticks { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .ico { color: var(--gold); margin-top: 4px; font-size: 1.05rem; }
.section:not(.dark) .ticks .ico { color: var(--gold-deep); }

/* Guna ring */
.guna-ring { position: relative; width: 240px; height: 240px; margin: 0 auto; }
.guna-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.guna-ring .track { stroke: rgba(200, 164, 92, .22); }
.guna-ring .bar { stroke-linecap: round; animation: ring 1.6s cubic-bezier(.2, .7, .2, 1) .2s backwards; }
@keyframes ring { from { stroke-dashoffset: 326.73; } }
.guna-ring .num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.guna-ring .num b { font: 700 4.4rem/1 'Marcellus', serif; color: var(--wine-800); }
.guna-ring .num small { margin-top: 8px; letter-spacing: .2em; text-transform: uppercase; font-size: .72rem; color: var(--muted); font-weight: 600; }
.dark .guna-ring .num b { color: #fff; }
.dark .guna-ring .num small { color: var(--gold-light); }
.guna-ring.sm { width: 150px; height: 150px; }
.guna-ring.sm .num b { font-size: 2.7rem; }
table.koota { width: 100%; border-collapse: collapse; font-size: .96rem; }
table.koota th, table.koota td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
table.koota th { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
table.koota td small { display: block; color: var(--muted); }
table.koota .pts { font: 700 1.25rem 'Marcellus', serif; color: var(--wine); white-space: nowrap; }
.meter { height: 6px; border-radius: 6px; background: var(--sand); overflow: hidden; min-width: 70px; }
.meter i { display: block; height: 100%; border-radius: 6px; background: var(--gold-grad); }
.kv { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.kv .card { padding: 20px 22px; }
.kv h4 { font-size: 1.3rem; margin-bottom: 6px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; position: relative; }
.steps::before { content: ''; position: absolute; top: 37px; left: 12.5%; right: 12.5%; height: 1px; background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 16px); }
.step { position: relative; text-align: center; padding: 0 8px; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: grid; place-items: center; width: 74px; height: 74px; margin: 0 auto 20px; border-radius: 50%; background: radial-gradient(circle at 30% 25%, var(--wine), var(--wine-900)); color: var(--gold-light); font: 600 1.7rem 'Marcellus', serif; box-shadow: 0 0 0 5px var(--ivory), 0 0 0 6px var(--gold), var(--shadow); }
.section.tint .step::before { box-shadow: 0 0 0 5px var(--sand), 0 0 0 6px var(--gold), var(--shadow); }
.step h3 { font-size: 1.3rem; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: .98rem; margin: 0; }

/* Final call to action */
.cta { position: relative; overflow: hidden; text-align: center; border-radius: 30px; padding: 74px 28px; color: #fff; background: radial-gradient(ellipse at 50% 0%, rgba(200, 164, 92, .35), transparent 60%), linear-gradient(140deg, var(--wine-900), var(--wine)); box-shadow: var(--shadow-lg); }
.cta::before { content: ''; position: absolute; inset: 12px; border: 1px solid rgba(236, 217, 168, .35); border-radius: 22px; pointer-events: none; }
.cta h2 { color: #fff; }
.cta p { color: #ead8cd; max-width: 560px; margin: 0 auto 28px; font-size: 1.1rem; font-weight: 300; }
.cta .mandala { width: 460px; left: 50%; margin-left: -230px; top: -250px; opacity: .22; }

/* ---------- Profile cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.pcard { display: block; text-decoration: none; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .4s cubic-bezier(.2, .7, .2, 1), box-shadow .4s, border-color .4s; }
.pcard:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(200, 164, 92, .7); }
.pcard-media { position: relative; aspect-ratio: 4 / 4.7; overflow: hidden; background: var(--wine-900); }
.pcard-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.pcard:hover .pcard-img { transform: scale(1.06); }
.pcard-over { position: absolute; left: 0; right: 0; bottom: 0; padding: 56px 18px 14px; background: linear-gradient(180deg, transparent, rgba(31, 6, 13, .9)); color: #fff; }
.pcard-over h3 { color: #fff; font-size: 1.5rem; margin: 0; }
.pcard-over p { margin: 2px 0 0; color: var(--gold-light); font-size: .92rem; letter-spacing: .03em; }
.seal { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px 4px 9px; border-radius: 999px; background: var(--gold-grad); color: var(--wine-900); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .5); }
.pcard-body { padding: 16px 18px 18px; }
.pcard-body p { margin: 0 0 5px; font-size: .95rem; display: flex; gap: 9px; align-items: flex-start; color: #4c3a3e; }
.pcard-body .ico { color: var(--gold-deep); margin-top: 4px; }
.chips { display: flex !important; flex-wrap: wrap; gap: 6px !important; margin-top: 12px !important; }
.chip { background: var(--sand); color: #6a4c1a; border: 1px solid rgba(200, 164, 92, .4); border-radius: 999px; padding: 1px 12px; font-size: .8rem; font-weight: 500; }

.avatar-empty { position: relative; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 35%, var(--wine), var(--wine-950)); }
.avatar-empty::before { content: ''; position: absolute; inset: -18%; background: url(mandala.svg) center / contain no-repeat; opacity: .28; }
.avatar-empty.female { background: radial-gradient(circle at 50% 35%, #94324e, #3a0c1b); }
.avatar-empty span { position: relative; font: 600 5rem/1 'Marcellus', serif; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.avatar { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--gold); }
.avatar.avatar-empty span { font-size: 1.6rem; }
.avatar.avatar-empty::before { display: none; }
.avatar.lg { width: 96px; height: 96px; }
.avatar.lg span { font-size: 2.6rem; }
.tick { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--gold-grad); color: var(--wine-900); font: 700 .78rem sans-serif; vertical-align: 4px; }

/* ---------- Inner page banner ---------- */
.banner { position: relative; overflow: hidden; color: #fff; padding: 46px 0 50px; background: radial-gradient(ellipse 50% 90% at 88% 40%, rgba(200, 164, 92, .24), transparent 62%), linear-gradient(140deg, var(--wine-950), var(--wine-700)); border-bottom: 3px solid var(--gold); }
.banner .mandala { width: 440px; right: -110px; top: -150px; opacity: .24; }
.banner .wrap { position: relative; z-index: 2; }
.banner h1 { color: #fff; font-size: clamp(2rem, 4.2vw, 3.1rem); margin: 0 0 .1em; }
.banner p { color: #e6d3c8; margin: 0; font-weight: 300; font-size: 1.06rem; }
.banner .eyebrow { color: var(--gold-light); margin-bottom: 8px; }
.banner.tall { padding: 60px 0 120px; }
.pull-up { margin-top: -84px; position: relative; z-index: 3; }

/* ---------- Browse ---------- */
.browse { display: grid; grid-template-columns: 290px 1fr; gap: 30px; align-items: start; }
.filters { padding: 26px 24px; position: sticky; top: 100px; }
.filters h3 { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.filters h3 .ico { color: var(--gold-deep); }
.result-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; color: var(--muted); }
.result-bar b { font: 700 1.6rem 'Marcellus', serif; color: var(--wine); }
.pager { display: flex; justify-content: center; gap: 14px; align-items: center; margin-top: 36px; }
.empty { text-align: center; padding: 64px 24px; color: var(--muted); }
.empty .ring { width: 78px; height: 78px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; font-size: 1.8rem; color: var(--gold-deep); background: var(--sand); box-shadow: 0 0 0 1px var(--gold), 0 0 0 8px rgba(200, 164, 92, .12); }

/* ---------- Profile page ---------- */
.profile-top { display: grid; grid-template-columns: 340px 1fr; gap: 38px; align-items: start; }
.photo-frame { position: relative; padding: 9px; background: var(--paper); border: 1px solid rgba(200, 164, 92, .6); border-radius: 24px; box-shadow: var(--shadow); }
.profile-photo { width: 100%; aspect-ratio: 4 / 4.8; object-fit: cover; border-radius: 16px; display: block; }
.profile-photo.avatar-empty, .pcard-img.avatar-empty, .photos .avatar-empty { display: grid; }
.profile-photo.avatar-empty span { font-size: 8rem; }
.thumbs { display: flex; gap: 8px; margin-top: 9px; flex-wrap: wrap; }
.thumbs img { width: 58px; height: 58px; object-fit: cover; border-radius: 10px; cursor: pointer; border: 2px solid transparent; transition: border-color .2s, transform .2s; }
.thumbs img:hover, .thumbs img.on { border-color: var(--gold); transform: translateY(-2px); }
.profile-head h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: .1em; }
.quick { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 20px; }
.quick span { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px; background: var(--sand); border: 1px solid rgba(200, 164, 92, .4); font-size: .94rem; font-weight: 500; }
.quick .ico { color: var(--gold-deep); }
.actions-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.about-text { font-size: 1.08rem; color: #4c3a3e; padding-left: 18px; border-left: 2px solid var(--gold); }
.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 24px; }
dl.rows { margin: 0; }
dl.rows div { display: flex; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
dl.rows div:last-child { border-bottom: 0; }
dl.rows dt { flex: 0 0 42%; color: var(--muted); font-size: .93rem; }
dl.rows dd { margin: 0; font-weight: 500; word-break: break-word; }
.guna-box { display: grid; grid-template-columns: 170px 1fr; gap: 26px; align-items: center; }
.verdict { display: inline-block; padding: 4px 16px; border-radius: 999px; font-weight: 600; font-size: .92rem; border: 1px solid; }
.verdict.ok { background: #eaf6ef; border-color: #b9dfc9; color: var(--ok); }
.verdict.warn { background: #fff5df; border-color: #efd7a2; color: var(--warn); }
.verdict.bad { background: #fdecea; border-color: #f1c0bb; color: var(--bad); }

/* ---------- Auth ---------- */
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 79px); }
.auth-art { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 60px 64px; color: #fff; background: radial-gradient(ellipse at 70% 20%, rgba(200, 164, 92, .28), transparent 60%), linear-gradient(150deg, var(--wine-950), var(--wine)); }
.auth-art .mandala { width: 640px; right: -220px; bottom: -220px; opacity: .26; }
.auth-art > * { position: relative; z-index: 2; }
.auth-art h2 { color: #fff; font-size: clamp(2.2rem, 3.6vw, 3.3rem); }
.auth-art p { color: #e6d3c8; font-weight: 300; font-size: 1.1rem; max-width: 440px; }
.auth-form { display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.auth-form .inner { width: 100%; max-width: 420px; }
.auth-form h1 { font-size: 2.5rem; margin-bottom: .15em; }
.auth-form .sub { color: var(--muted); margin-bottom: 26px; }
.or { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: .85rem; margin: 20px 0; letter-spacing: .14em; text-transform: uppercase; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.otp-demo { text-align: center; padding: 14px; border-radius: 12px; border: 1px dashed var(--gold); background: var(--sand); margin-bottom: 18px; }
.otp-demo b { font: 700 2rem 'Marcellus', serif; letter-spacing: .3em; color: var(--wine); }
.narrow { max-width: 560px; margin-left: auto; margin-right: auto; }

/* ---------- Lists, tabs ---------- */
.tabs { display: flex; gap: 8px; margin-bottom: 22px; flex-wrap: wrap; }
.tabs a { padding: 9px 22px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); text-decoration: none; color: var(--ink); font-weight: 500; transition: all .2s; }
.tabs a:hover { border-color: var(--gold); }
.tabs a.on { background: linear-gradient(135deg, var(--wine), var(--wine-800)); border-color: var(--wine); color: #fff; box-shadow: 0 8px 18px -10px rgba(94, 20, 40, .8); }
.rowlist { overflow: hidden; }
.rowlist .row { display: flex; align-items: center; gap: 16px; padding: 18px 24px; border-bottom: 1px solid var(--line); transition: background .2s; flex-wrap: wrap; }
.rowlist .row:hover { background: #fff; }
.rowlist .row:last-child { border-bottom: 0; }
.rowlist .grow { flex: 1; min-width: 180px; }
.rowlist .grow a { font: 600 1.3rem 'Marcellus', serif; text-decoration: none; color: var(--wine-800); }
.rowlist form { display: inline-flex; gap: 8px; }
.status { display: inline-block; font-size: .8rem; font-weight: 600; border-radius: 999px; padding: 3px 13px; background: var(--sand); letter-spacing: .04em; }
.status.accepted, .status.approved { background: #eaf6ef; color: var(--ok); }
.status.declined, .status.rejected, .status.blocked { background: #fdecea; color: var(--bad); }

/* ---------- Photo manager ---------- */
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 14px; margin-bottom: 18px; }
.photos figure { margin: 0; position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--sand); }
.photos img, .photos .avatar-empty { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.photos figcaption { display: flex; gap: 6px; padding: 8px; justify-content: center; flex-wrap: wrap; }
.photos .main-tag { position: absolute; top: 8px; left: 8px; }
.mini { font: 600 .78rem var(--sans); padding: 4px 11px; border-radius: 999px; border: 1px solid rgba(200, 164, 92, .7); background: var(--paper); color: var(--wine); cursor: pointer; }
.mini.del { color: var(--bad); border-color: #e7b9b5; }

/* ---------- Chat ---------- */
.chat { display: flex; flex-direction: column; height: min(72vh, 680px); overflow: hidden; box-shadow: var(--shadow); }
.chat-head { display: flex; align-items: center; gap: 14px; padding: 14px 22px; color: #fff; background: linear-gradient(135deg, var(--wine-900), var(--wine)); border-bottom: 2px solid var(--gold); }
.chat-head a { color: #fff; text-decoration: none; }
.chat-head strong { font: 600 1.4rem 'Marcellus', serif; }
.chat-log { flex: 1; overflow-y: auto; padding: 22px; display: flex; flex-direction: column; gap: 10px; background: var(--ivory) url(mandala.svg) center / 420px no-repeat; background-blend-mode: soft-light; }
.msg { max-width: 76%; padding: 10px 16px; border-radius: 18px 18px 18px 5px; background: #fff; border: 1px solid var(--line); white-space: pre-wrap; word-break: break-word; box-shadow: var(--shadow-sm); }
.msg.me { align-self: flex-end; border-radius: 18px 18px 5px 18px; background: linear-gradient(135deg, var(--wine), var(--wine-800)); color: #fff; border-color: transparent; }
.msg small { display: block; opacity: .6; font-size: .7rem; margin-top: 3px; }
.chat-form { display: flex; gap: 10px; padding: 14px 16px; border-top: 1px solid var(--line); background: var(--paper); }
.chat-form input { flex: 1; border-radius: 999px; padding-left: 20px; }

/* ---------- Admin ---------- */
table.admin { width: 100%; border-collapse: collapse; font-size: .94rem; }
table.admin th, table.admin td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.admin th { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); background: var(--sand); }
table.admin tr:hover td { background: #fff; }
.table-scroll { overflow-x: auto; }
.statgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-bottom: 28px; }
.stat { padding: 22px 16px; text-align: center; border-top: 3px solid var(--gold); }
.stat b { display: block; font: 700 2.5rem/1.1 'Marcellus', serif; color: var(--wine); }
.stat span { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

.prose { max-width: 780px; }
.prose h2 { font-size: 1.7rem; margin-top: 1.3em; }
.prose li { margin-bottom: .4em; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--wine-950), var(--wine-900)); color: #d9c3b8; padding: 70px 0 0; font-size: .97rem; border-top: 3px solid var(--gold); }
.site-footer .mandala { width: 520px; left: -200px; bottom: -260px; opacity: .14; }
.foot-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 46px; }
.site-footer h4 { color: var(--gold-light); font: 700 .78rem var(--sans); letter-spacing: .24em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer a { color: #d9c3b8; text-decoration: none; display: block; padding: 4px 0; transition: color .2s, padding .2s; }
.site-footer a:hover { color: var(--gold-light); padding-left: 5px; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-tag { color: var(--gold-light); }
.site-footer .brand { margin-bottom: 18px; }
.foot-bottom { position: relative; z-index: 2; border-top: 1px solid rgba(236, 217, 168, .16); padding: 20px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .88rem; color: #b79d93; }

@media (max-width: 980px) {
    .nav-toggle { display: block; }
    .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--ivory); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 14px 22px 22px; gap: 2px; box-shadow: var(--shadow); }
    .nav-open .nav { display: flex; }
    .nav > a, .linklike { padding: 12px 6px; border-radius: 8px; text-align: left; width: 100%; }
    .nav .lang, .nav .btn { margin: 10px 0 0; text-align: center; justify-content: center; }
    .is-home .site-header:not(.scrolled) .nav > a:not(.btn) { color: var(--ink); }
    .is-home .site-header:not(.scrolled) .nav .lang { color: var(--gold-deep); }
    .hero { padding: 130px 0 120px; }
    .hero-grid, .split, .auth, .browse, .profile-top { grid-template-columns: 1fr; }
    .hero .mandala.m1 { width: 560px; right: -260px; }
    .features { grid-template-columns: 1fr 1fr; }
    .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
    .steps::before { display: none; }
    .statbar .card { grid-template-columns: 1fr 1fr; row-gap: 22px; }
    .statbar .item:nth-child(2) { border-right: 0; }
    .auth-art { display: none; }
    .auth { min-height: 0; }
    .filters { position: static; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .section { padding: 68px 0; }
    .photo-frame { max-width: 360px; }
}
@media (max-width: 620px) {
    body { font-size: 16px; }
    .wrap { padding: 0 16px; }
    .features, .grid2, .detail-grid, .kv, .guna-box { grid-template-columns: 1fr; }
    .brand-tag { display: none; }
    .brand-name { font-size: 1.4rem; }
    .panel { padding: 22px 18px; }
    .glass { padding: 28px 22px; }
    .foot-grid { grid-template-columns: 1fr; gap: 28px; }
    .statbar b { font-size: 2.2rem; }
    .cta { padding: 54px 20px; border-radius: 22px; }
    table.koota th:nth-child(4), table.koota td:nth-child(4) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .mandala, .guna-ring .bar { animation: none; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
}
@media print {
    .site-header, .topline, .site-footer, .actions-row, .flash, .no-print, .banner .mandala, .thumbs { display: none !important; }
    body { background: #fff; font-size: 11.5pt; }
    .banner { background: none; color: #000; padding: 0 0 6px; border-bottom: 2px solid #9c7630; margin-bottom: 12px; }
    .banner h1 { color: #45101f; font-size: 20pt; }
    .banner p, .banner .eyebrow { color: #555; }
    .pull-up { margin-top: 0; }
    .card, .photo-frame { box-shadow: none; }
    .panel { padding: 10px 14px; margin-bottom: 10px; break-inside: avoid; }
    .panel > h2 { font-size: 13pt; margin-bottom: 6px; padding-bottom: 4px; }
    .page { padding: 0; }
    .profile-top { grid-template-columns: 170px 1fr; gap: 18px; }
    .detail-grid { grid-template-columns: repeat(2, 1fr); gap: 0 12px; }
    dl.rows div { padding: 3px 0; }
    .js .reveal { opacity: 1 !important; transform: none !important; }
}

/* ================= Kundli Milan page ================= */
.k-hero, .k-result { position: relative; overflow: hidden; color: #fff; background:
    radial-gradient(ellipse 55% 70% at 82% 45%, rgba(200, 164, 92, .22), transparent 62%),
    radial-gradient(ellipse 60% 80% at 0% 100%, rgba(122, 28, 52, .75), transparent 62%),
    linear-gradient(160deg, #12040c 0%, #230a1c 42%, #3a0d1d 100%); }
.k-hero { padding: 92px 0 190px; }
.k-hero .wrap, .k-result .wrap { position: relative; z-index: 2; }
.k-stars { position: absolute; inset: 0; pointer-events: none; opacity: .9; background-image:
    radial-gradient(1.4px 1.4px at 12% 22%, #fff, transparent 60%), radial-gradient(1px 1px at 27% 68%, #f4e4b8, transparent 60%),
    radial-gradient(1.6px 1.6px at 41% 14%, #fff, transparent 60%), radial-gradient(1px 1px at 55% 80%, #fff, transparent 60%),
    radial-gradient(1.3px 1.3px at 66% 30%, #f4e4b8, transparent 60%), radial-gradient(1px 1px at 78% 62%, #fff, transparent 60%),
    radial-gradient(1.5px 1.5px at 90% 18%, #fff, transparent 60%), radial-gradient(1px 1px at 6% 84%, #f4e4b8, transparent 60%),
    radial-gradient(1.2px 1.2px at 34% 40%, #fff, transparent 60%), radial-gradient(1px 1px at 96% 78%, #fff, transparent 60%),
    radial-gradient(1.2px 1.2px at 48% 52%, #f4e4b8, transparent 60%), radial-gradient(1px 1px at 19% 48%, #fff, transparent 60%);
    background-size: 620px 420px; animation: twinkle 5s ease-in-out infinite alternate; }
.k-stars::after { content: ''; position: absolute; inset: 0; background: inherit; background-size: 380px 300px; background-position: 130px 70px; opacity: .55; animation: twinkle 7s ease-in-out infinite alternate-reverse; }
@keyframes twinkle { from { opacity: .35; } to { opacity: 1; } }
.k-hero h1 { color: #fff; font-size: clamp(2.7rem, 6.4vw, 5rem); margin-bottom: .25em; }
.k-hero h1 em { font-style: italic; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
html[lang="hi"] .k-hero h1 em { font-style: normal; }
.k-hero .lead { max-width: 560px; font-size: 1.2rem; font-weight: 300; color: #e8d5ca; margin-bottom: 30px; }
.k-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.k-chips span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 999px; font-size: .93rem; color: #f1e2d6; background: rgba(255, 255, 255, .07); border: 1px solid rgba(236, 217, 168, .3); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.k-chips .ico { color: var(--gold); }
.k-hero-wheel { position: absolute; z-index: 1; width: 640px; right: -90px; top: 50%; margin-top: -350px; opacity: .55; animation: spin 240s linear infinite; }

/* Rashi chakra */
.k-wheel-svg { width: 100%; height: auto; display: block; overflow: visible; }
.w-line { fill: none; stroke: rgba(200, 164, 92, .55); stroke-width: 1; }
.w-seg { fill: rgba(255, 255, 255, .025); stroke: rgba(200, 164, 92, .6); stroke-width: 1; }
.w-seg.groom { fill: rgba(212, 176, 106, .5); stroke: #f4e4b8; stroke-width: 1.6; }
.w-seg.bride { fill: rgba(214, 92, 128, .55); stroke: #f6c1d0; stroke-width: 1.6; }
.w-seg.both { fill: url(#bothGrad) rgba(212, 150, 110, .6); stroke: #f4e4b8; stroke-width: 1.6; }
.w-glyph { fill: #ecd9a8; font: 400 21px 'Apple Symbols', 'Segoe UI Symbol', 'Noto Sans Symbols 2', 'DejaVu Sans', serif; text-anchor: middle; }
.w-name { fill: rgba(236, 217, 168, .75); font: 500 9.5px 'Mukta', sans-serif; text-anchor: middle; }
.w-mark circle { stroke: #fff; stroke-width: 1.5; }
.w-mark.groom circle { fill: #c8a45c; }
.w-mark.bride circle { fill: #c8456b; }
.w-mark text { fill: #fff; font: 700 10.5px 'Mukta', sans-serif; text-anchor: middle; }
.w-mark.groom text { fill: #2e0a15; }
.w-track { fill: none; stroke: rgba(236, 217, 168, .16); stroke-width: 9; }
.w-bar { fill: none; stroke: #e2c98c; stroke-width: 9; stroke-linecap: round; filter: drop-shadow(0 0 7px rgba(226, 201, 140, .75)); animation: kring 2s cubic-bezier(.2, .7, .2, 1) .35s backwards; }
@keyframes kring { from { stroke-dashoffset: var(--c); } }

/* Form */
.k-form-wrap { position: relative; z-index: 4; margin-top: -120px; padding-bottom: 30px; }
.k-form-wrap.after-result { margin-top: 0; padding: 0 0 96px; }
.k-form { padding: 44px 44px 38px; border-color: rgba(200, 164, 92, .55); box-shadow: var(--shadow-lg); position: relative; }
.k-form::before { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(200, 164, 92, .28); border-radius: 12px; pointer-events: none; }
.k-form-grid { position: relative; display: grid; grid-template-columns: 1fr 80px 1fr; gap: 10px; align-items: stretch; }
.k-side-head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.k-side-head h3 { margin: 0; font-size: 1.9rem; }
.k-side-head .eyebrow { margin: 0 0 2px; font-size: .68rem; }
.k-mark { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; flex: none; font: 400 1.25rem 'Tiro Devanagari Hindi', serif; color: var(--wine-900); background: var(--gold-grad); box-shadow: 0 0 0 5px rgba(200, 164, 92, .16), 0 10px 22px -10px rgba(156, 118, 48, .9); }
.k-side.bride .k-mark { color: #fff; background: linear-gradient(135deg, #d0587b, #8c2545); box-shadow: 0 0 0 5px rgba(200, 69, 107, .14), 0 10px 22px -10px rgba(140, 37, 69, .9); }
.k-knot { position: relative; display: grid; place-items: center; }
.k-knot::before { content: ''; position: absolute; top: 6px; bottom: 6px; left: 50%; width: 1px; background: linear-gradient(180deg, transparent, var(--gold), transparent); }
.k-knot span { position: relative; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 1.3rem; color: var(--wine); background: var(--paper); box-shadow: 0 0 0 1px var(--gold), 0 0 0 7px var(--paper), 0 0 0 8px rgba(200, 164, 92, .35); animation: pulse 3s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.08); } }
.k-submit { position: relative; text-align: center; margin-top: 18px; padding-top: 28px; border-top: 1px solid var(--line); }
.k-submit p { margin: 16px 0 0; font-size: .9rem; color: var(--muted); }
.k-submit .ico { color: var(--gold-deep); }

/* Result */
.k-result { padding: 84px 0 92px; border-top: 3px solid var(--gold); }
.k-result-head { text-align: center; margin-bottom: 40px; }
.k-result-head h2 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.k-result-head .eyebrow { color: var(--gold-light); }
.k-result-head .ornament::before, .k-result-head .ornament::after { background: linear-gradient(90deg, transparent, var(--gold-light)); }
.k-result-grid { display: grid; grid-template-columns: 1fr minmax(320px, 440px) 1fr; gap: 34px; align-items: center; }
.k-wheel { position: relative; }
.k-score { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.k-score b { font: 700 5.2rem/1 'Marcellus', serif; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 18px rgba(0, 0, 0, .45)); }
.k-score small { margin-top: 6px; font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-light); font-weight: 600; }
.k-person { position: relative; padding: 28px 26px 22px; border-radius: 22px; background: linear-gradient(160deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .035)); border: 1px solid rgba(236, 217, 168, .32); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .16); }
.k-person::before { content: ''; position: absolute; left: 26px; right: 26px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--gold-grad); }
.k-person.bride::before { background: linear-gradient(90deg, #f6c1d0, #c8456b); }
.k-person-top { display: flex; align-items: center; gap: 16px; padding-bottom: 18px; margin-bottom: 8px; border-bottom: 1px solid rgba(236, 217, 168, .2); }
.k-glyph { width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; flex: none; font: 400 2rem 'Apple Symbols', 'Segoe UI Symbol', 'Noto Sans Symbols 2', 'DejaVu Sans', serif; color: var(--wine-900); background: var(--gold-grad); box-shadow: 0 0 0 5px rgba(200, 164, 92, .18); }
.k-person.bride .k-glyph { color: #fff; background: linear-gradient(135deg, #d0587b, #8c2545); box-shadow: 0 0 0 5px rgba(200, 69, 107, .2); }
.k-person h3 { color: #fff; margin: 0; font-size: 1.7rem; word-break: break-word; }
.k-person .eyebrow { margin: 0; font-size: .66rem; color: var(--gold-light); }
.k-person p { margin: 2px 0 0; color: #e6d3c8; font-size: .95rem; }
.k-person dl { margin: 0; }
.k-person dl div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(236, 217, 168, .12); }
.k-person dl div:last-child { border-bottom: 0; }
.k-person dt { color: #cdb6ab; font-size: .9rem; }
.k-person dd { margin: 0; font-weight: 500; text-align: right; }
.k-verdict { text-align: center; max-width: 760px; margin: 44px auto 0; }
.k-verdict .verdict { font-size: 1.05rem; padding: 7px 26px; }
.k-verdict > p { color: #ead8cd; font-size: 1.1rem; font-weight: 300; margin: 18px 0 34px; }
.k-verdict .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 40px; }
.k-scale { position: relative; display: flex; gap: 4px; padding-top: 40px; }
.k-scale > div { text-align: center; }
.k-scale i { display: block; height: 8px; border-radius: 8px; margin-bottom: 8px; }
.k-scale .bad i { background: #c0504a; } .k-scale .warn i { background: #d9a441; } .k-scale .ok i { background: #7fb069; } .k-scale .best i { background: var(--gold-grad); }
.k-scale span { display: block; font: 600 1.05rem 'Marcellus', serif; color: #fff; }
.k-scale small { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #cdb6ab; }
.k-pin { position: absolute; top: 0; transform: translateX(-50%); padding: 1px 12px; border-radius: 999px; background: #fff; color: var(--wine-900); font: 700 1rem 'Marcellus', serif; box-shadow: 0 6px 16px -4px rgba(0, 0, 0, .6); }
.k-pin::after { content: ''; position: absolute; left: 50%; top: 100%; margin-left: -5px; border: 5px solid transparent; border-top-color: #fff; }

/* Koota cards */
.k-kootas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.k-koota { position: relative; padding: 24px 22px 20px; overflow: hidden; transition: transform .35s, box-shadow .35s, border-color .35s; }
.k-koota:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(200, 164, 92, .6); }
.k-koota-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.k-hi { display: block; font: 400 .98rem 'Tiro Devanagari Hindi', serif; color: var(--gold-deep); }
.k-koota h3 { margin: 0; font-size: 1.5rem; }
.k-pts { text-align: right; white-space: nowrap; line-height: 1; }
.k-pts b { font: 700 2.3rem/1 'Marcellus', serif; color: var(--wine); }
.k-pts span { font-size: .85rem; color: var(--muted); margin-left: 3px; }
.k-koota p { font-size: .92rem; color: var(--muted); margin: 14px 0 0; }
.k-koota.full { border-top: 3px solid #7fb069; } .k-koota.part { border-top: 3px solid var(--gold); } .k-koota.zero { border-top: 3px solid #c0504a; }
.k-koota.zero .k-pts b { color: var(--bad); }
.k-koota.full .meter i { background: linear-gradient(90deg, #7fb069, #4f8a3c); }
.k-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.k-pair span { font-weight: 500; font-size: .95rem; }
.k-pair small { display: block; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.k-doshas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.k-dosha { display: flex; gap: 16px; align-items: flex-start; padding: 22px; }
.k-dosha h4 { font-size: 1.25rem; margin: 0 0 4px; }
.k-dosha p { margin: 0; font-size: .93rem; color: var(--muted); }
.k-dot { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none; font-weight: 700; }
.k-dosha.ok .k-dot { background: #eaf6ef; color: var(--ok); box-shadow: 0 0 0 1px #b9dfc9; }
.k-dosha.bad .k-dot { background: #fdecea; color: var(--bad); box-shadow: 0 0 0 1px #f1c0bb; }
.k-dosha.bad { border-color: #f1c0bb; }
.k-note { text-align: center; color: var(--muted); font-size: .9rem; max-width: 760px; margin: 30px auto 0; }

/* Guide and FAQ */
.k-guide { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.k-bands { display: grid; gap: 10px; margin: 22px 0; }
.k-bands div { display: flex; align-items: center; gap: 18px; padding: 14px 20px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); border-left: 5px solid; }
.k-bands b { font: 700 1.6rem 'Marcellus', serif; color: var(--wine-800); min-width: 84px; }
.k-bands .bad { border-left-color: #c0504a; } .k-bands .warn { border-left-color: #d9a441; } .k-bands .ok { border-left-color: #7fb069; } .k-bands .best { border-left-color: var(--gold-deep); }
.k-faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 12px; overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.k-faq details[open] { border-color: rgba(200, 164, 92, .65); box-shadow: var(--shadow-sm); }
.k-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font: 600 1.3rem 'Marcellus', serif; color: var(--wine-800); }
html[lang="hi"] .k-faq summary { font: 400 1.1rem 'Tiro Devanagari Hindi', serif; }
.k-faq summary::-webkit-details-marker { display: none; }
.k-faq summary::after { content: '+'; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 400 1.3rem var(--sans); color: var(--gold-deep); border: 1px solid rgba(200, 164, 92, .6); transition: transform .3s; }
.k-faq details[open] summary::after { transform: rotate(45deg); }
.k-faq details p { margin: 0; padding: 0 22px 20px; color: #4c3a3e; }

@media (max-width: 980px) {
    .k-hero { padding: 64px 0 170px; }
    .k-hero-wheel { width: 460px; right: -210px; margin-top: -230px; opacity: .35; }
    .k-result-grid { grid-template-columns: 1fr 1fr; }
    .k-wheel { grid-column: 1 / -1; grid-row: 1; max-width: 420px; margin: 0 auto; width: 100%; }
    .k-kootas { grid-template-columns: 1fr 1fr; }
    .k-doshas, .k-guide { grid-template-columns: 1fr; }
    .k-guide { gap: 36px; }
}
@media (max-width: 720px) {
    .k-form { padding: 30px 20px 26px; }
    .k-form-grid { grid-template-columns: 1fr; }
    .k-knot { height: 70px; }
    .k-knot::before { top: 50%; bottom: auto; left: 6px; right: 6px; width: auto; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
    .k-result-grid, .k-kootas { grid-template-columns: 1fr; }
    .k-score b { font-size: 4rem; }
    .k-scale small { font-size: .58rem; letter-spacing: .02em; }
}
@media (prefers-reduced-motion: reduce) {
    .k-stars, .k-stars::after, .k-hero-wheel, .w-bar, .k-knot span { animation: none; }
}
@media print {
    .k-hero { display: none; }
    .k-result { background: none; color: #000; padding: 0; border: 0; }
    .k-stars { display: none; }
    .k-result-head h2, .k-person h3, .k-scale span { color: #45101f; }
    .k-person { background: none; border: 1px solid #c8a45c; box-shadow: none; backdrop-filter: none; }
    .k-person p, .k-person dt, .k-verdict > p, .k-scale small { color: #444; }
    .k-score b { color: #45101f; background: none; filter: none; }
    .k-score small, .k-result-head .eyebrow, .k-person .eyebrow { color: #7a5a1e; }
    .w-glyph, .w-name { fill: #7a5a1e; }
    .w-bar { stroke: #9c7630; filter: none; animation: none; }
    .w-track { stroke: #e9decb; }
    .k-result-grid { grid-template-columns: 1fr 240px 1fr; gap: 14px; }
    .k-wheel { grid-column: auto; grid-row: auto; }
    .k-score b { font-size: 2.6rem; }
    .section.k-detail { padding: 14px 0 0; }
    .k-detail .sec-head { margin-bottom: 12px; }
    .k-kootas { grid-template-columns: repeat(4, 1fr); gap: 8px; }
    .k-koota { padding: 10px; break-inside: avoid; }
    .k-koota p { display: none; }
    .k-doshas { gap: 8px; margin-top: 10px; }
    .k-dosha { padding: 10px; }
}

/* ================= Premium inner pages ================= */
.banner { background: radial-gradient(ellipse 50% 90% at 88% 40%, rgba(200, 164, 92, .24), transparent 62%), radial-gradient(ellipse 60% 90% at 0% 100%, rgba(122, 28, 52, .7), transparent 62%), linear-gradient(150deg, #12040c, #2a0b1a 50%, #45101f); padding: 58px 0 62px; }
.banner.tall { padding: 62px 0 130px; }
.h-ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; color: var(--wine); font-size: 1.15rem; background: radial-gradient(circle at 30% 25%, #fff, var(--sand)); box-shadow: 0 0 0 1px var(--gold), 0 0 0 5px rgba(200, 164, 92, .13); }
.panel.ic > h2::before { display: none; }
.panel.ic > h2 { gap: 16px; }
.panel.ic > h2 small { margin-left: auto; font: 600 .72rem var(--sans); letter-spacing: .2em; color: var(--gold-deep); }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 4px 14px; border-radius: 999px; font-size: .8rem; font-weight: 600; letter-spacing: .04em; border: 1px solid; }
.pill.ok { background: #eaf6ef; border-color: #b9dfc9; color: var(--ok); }
.pill.warn { background: #fff5df; border-color: #efd7a2; color: var(--warn); }
.pill.bad { background: #fdecea; border-color: #f1c0bb; color: var(--bad); }
.pill.gold { background: var(--gold-grad); border-color: transparent; color: var(--wine-900); }
.pill.unknown { background: var(--sand); border-color: var(--line); color: var(--muted); }

/* Profile page */
.p-hero { position: relative; overflow: hidden; color: #fff; padding: 64px 0 150px; border-bottom: 3px solid var(--gold); background: radial-gradient(ellipse 50% 80% at 85% 35%, rgba(200, 164, 92, .24), transparent 62%), radial-gradient(ellipse 60% 90% at 0% 100%, rgba(122, 28, 52, .75), transparent 62%), linear-gradient(155deg, #12040c, #2a0b1a 48%, #45101f); }
.p-hero .mandala { width: 620px; right: -160px; top: -200px; opacity: .22; }
.p-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 330px 1fr; gap: 50px; align-items: end; }
.p-hero .photo-frame { margin-bottom: -210px; background: linear-gradient(160deg, #fffdf9, #f4ecdd); border-color: var(--gold); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .75), 0 0 0 1px rgba(236, 217, 168, .5); }
.p-hero .eyebrow { color: var(--gold-light); }
.p-hero h1 { color: #fff; font-size: clamp(2.5rem, 5.4vw, 4.3rem); margin: 0 0 .12em; }
.p-sub { font-size: 1.18rem; font-weight: 300; color: #ead8cd; margin-bottom: 20px; }
.p-hero .actions-row { margin: 26px 0 0; }
.p-hero .btn-ghost { background: rgba(255, 255, 255, .07); color: #fff !important; border-color: rgba(236, 217, 168, .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.p-hero .btn-ghost:hover { background: rgba(255, 255, 255, .15); }
.p-hero .btn[disabled] { background: rgba(255, 255, 255, .12); border-color: rgba(236, 217, 168, .3); }
.p-body { display: grid; grid-template-columns: 330px 1fr; gap: 50px; align-items: start; padding-top: 40px; }
.p-aside { padding-top: 190px; display: grid; gap: 20px; position: sticky; top: -90px; }
.p-aside .card { padding: 24px; }
.p-aside h4 { font-size: 1.35rem; display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.p-aside h4 .ico { color: var(--gold-deep); }
.p-aside p { font-size: .95rem; margin: 0; }
.p-contact .num { display: block; font: 700 2rem 'Marcellus', serif; color: var(--wine); text-decoration: none; margin: 4px 0 2px; }
.p-contact.locked { background: repeating-linear-gradient(135deg, var(--paper) 0 14px, var(--sand) 14px 28px); }
.p-mini { text-align: center; }
.p-mini .guna-ring { margin-bottom: 14px; }
.p-glance { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 26px; }
.p-glance div { padding: 18px 16px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--gold); text-align: center; box-shadow: var(--shadow-sm); }
.p-glance b { display: block; font: 700 1.55rem/1.2 'Marcellus', serif; color: var(--wine-800); word-break: break-word; }
.p-glance span { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.p-quote { position: relative; padding: 30px 34px 30px 74px; font: 500 1.4rem/1.5 'Marcellus', serif; font-style: italic; color: var(--wine-800); }
.p-quote::before { content: '\201C'; position: absolute; left: 22px; top: 2px; font: 700 5.5rem/1 'Marcellus', serif; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.p-kundli { position: relative; overflow: hidden; border-radius: 24px; color: #fff; padding: 36px; margin-bottom: 24px; box-shadow: var(--shadow-lg); background: radial-gradient(ellipse 60% 80% at 15% 40%, rgba(200, 164, 92, .2), transparent 62%), linear-gradient(150deg, #12040c, #2a0b1a 55%, #45101f); border: 1px solid rgba(200, 164, 92, .5); }
.p-kundli-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 300px 1fr; gap: 36px; align-items: center; }
.p-kundli h2 { color: #fff; font-size: 2rem; margin-bottom: .2em; }
.p-kundli .eyebrow { color: var(--gold-light); margin-bottom: 6px; }
.p-kundli p { color: #ead8cd; font-weight: 300; }
.p-kundli .k-scale { margin-top: 8px; }
.p-kundli .k-score b { font-size: 3.9rem; }
.p-kundli-more { margin-bottom: 24px; }
.p-kundli-more > summary { cursor: pointer; list-style: none; text-align: center; padding: 14px; border-radius: 14px; border: 1px dashed var(--gold); color: var(--wine); font-weight: 600; background: var(--paper); margin-bottom: 20px; }
.p-kundli-more > summary::-webkit-details-marker { display: none; }
.p-kundli-more .k-kootas { grid-template-columns: repeat(2, 1fr); }
.p-kundli-more .k-doshas { grid-template-columns: 1fr; gap: 12px; margin-top: 20px; }
.lineage { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 12px; align-items: center; margin-bottom: 22px; }
.lineage .col { display: grid; gap: 12px; }
.lineage .node { padding: 14px 16px; border-radius: 14px; background: var(--ivory); border: 1px solid var(--line); text-align: center; }
.lineage .node small { display: block; font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; }
.lineage .node b { font: 600 1.2rem/1.25 'Marcellus', serif; color: var(--wine-800); }
.lineage .node.me { background: linear-gradient(135deg, var(--wine), var(--wine-800)); border-color: var(--gold); box-shadow: var(--shadow); padding: 22px 16px; }
.lineage .node.me b { color: #fff; font-size: 1.4rem; }
.lineage .node.me small { color: var(--gold-light); }
.lineage .arrow { color: var(--gold); font-size: 1.3rem; }

/* Profile form */
.e-layout { display: grid; grid-template-columns: 290px 1fr; gap: 34px; align-items: start; }
.e-side { position: sticky; top: 100px; padding: 26px 22px; }
.e-side .guna-ring { margin-bottom: 16px; }
.e-nav { display: grid; gap: 2px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.e-nav a { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); font-size: .95rem; font-weight: 500; transition: background .2s, color .2s; }
.e-nav a:hover, .e-nav a.on { background: var(--sand); color: var(--wine); }
.e-nav i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex: none; font-style: normal; font-size: .7rem; font-weight: 700; border: 1px solid #d9cbb8; color: var(--muted); }
.e-nav a.done i { background: var(--gold-grad); border-color: transparent; color: var(--wine-900); }
.e-nav a.on i { border-color: var(--wine); }
.e-save { position: sticky; bottom: 16px; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px 14px 26px; border-radius: 999px; background: rgba(46, 10, 21, .93); color: #ead8cd; border: 1px solid rgba(200, 164, 92, .6); box-shadow: var(--shadow-lg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.e-save span { font-size: .93rem; }
.drop { display: block; padding: 22px; border-radius: 16px; border: 1.5px dashed var(--gold); background: var(--ivory); text-align: center; cursor: pointer; transition: background .2s, border-color .2s; }
.drop:hover { background: #fff; border-color: var(--wine); }
.drop b { display: block; font: 600 1.25rem 'Marcellus', serif; color: var(--wine-800); }
.drop small { display: block; color: var(--muted); margin-bottom: 12px; }

/* Account page */
.a-layout { display: grid; grid-template-columns: 340px 1fr; gap: 34px; align-items: start; }
.a-card { position: relative; overflow: hidden; text-align: center; padding: 0 26px 26px; }
.a-card .cover { height: 96px; margin: 0 -26px; background: linear-gradient(140deg, #12040c, var(--wine)) ; position: relative; overflow: hidden; }
.a-card .cover .mandala { width: 300px; right: -90px; top: -110px; opacity: .3; }
.a-card .avatar.lg { margin: -48px auto 12px; position: relative; box-shadow: 0 0 0 4px var(--paper), 0 0 0 5.5px var(--gold); }
.a-card h3 { font-size: 1.8rem; margin: 0; }
.a-card dl { margin: 20px 0 0; text-align: left; }
.a-card dl div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: .95rem; }
.a-card dt { color: var(--muted); }
.a-card dd { margin: 0; font-weight: 600; }
.a-card .btn { margin-top: 16px; }
.pw { position: relative; }
.pw input { padding-right: 76px; }
.pw button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: var(--sand); color: var(--wine); font: 600 .78rem var(--sans); padding: 5px 12px; border-radius: 999px; cursor: pointer; }
.pw button.on { background: var(--wine); color: #fff; }
.danger { border-color: #f1c0bb; background: linear-gradient(180deg, #fff8f7, var(--paper)); }
.danger .h-ico { color: var(--bad); box-shadow: 0 0 0 1px #e7b9b5, 0 0 0 5px rgba(179, 38, 30, .08); }
.lang-switch { display: flex; gap: 10px; }
.lang-switch a { flex: 1; text-align: center; padding: 12px; border-radius: 12px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; background: var(--ivory); }
.lang-switch a.on { border-color: var(--gold); background: var(--sand); color: var(--wine); box-shadow: inset 0 0 0 1px var(--gold); }

/* Interests */
.i-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.i-card { display: grid; grid-template-columns: 150px 1fr; overflow: hidden; transition: transform .35s, box-shadow .35s, border-color .35s; }
.i-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(200, 164, 92, .65); }
.i-card.is-new { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), var(--shadow-sm); }
.i-photo { position: relative; display: block; min-height: 190px; }
.i-photo .i-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.i-photo .avatar-empty { display: grid; }
.i-photo .avatar-empty span { font-size: 3.6rem; }
.i-body { padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.i-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.i-body h3 { margin: 0; font-size: 1.55rem; }
.i-body h3 a { text-decoration: none; color: var(--wine-800); }
.i-meta { color: var(--muted); font-size: .93rem; margin: 0; }
.i-when { font-size: .78rem; color: var(--muted); white-space: nowrap; }
.i-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.i-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 10px; }
.i-actions form { display: inline-flex; gap: 8px; }
.tabs a b { display: inline-block; min-width: 22px; margin-left: 6px; padding: 0 7px; border-radius: 999px; background: var(--sand); color: var(--wine); font-size: .78rem; text-align: center; }
.tabs a.on b { background: var(--gold-grad); color: var(--wine-900); }

/* Filters */
.filters details { border-top: 1px solid var(--line); margin: 6px -24px 16px; padding: 0 24px; }
.filters summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-weight: 600; color: var(--wine); }
.filters summary::-webkit-details-marker { display: none; }
.filters summary::after { content: '+'; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(200, 164, 92, .6); color: var(--gold-deep); transition: transform .3s; }
.filters details[open] summary::after { transform: rotate(45deg); }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.active-filters a { display: inline-flex; align-items: center; gap: 8px; padding: 4px 8px 4px 14px; border-radius: 999px; background: var(--sand); border: 1px solid rgba(200, 164, 92, .5); color: #5c4310; font-size: .86rem; text-decoration: none; }
.active-filters a::after { content: '\00d7'; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--wine); font-weight: 700; }

@media (max-width: 980px) {
    .p-hero { padding: 40px 0 46px; }
    .p-hero-grid, .p-body, .e-layout, .a-layout, .p-kundli-grid { grid-template-columns: 1fr; }
    .p-hero .photo-frame { margin: 0 auto; max-width: 320px; }
    .p-aside { padding-top: 0; position: static; order: 2; }
    .p-body { gap: 24px; }
    .e-side { position: static; }
    .e-nav { grid-template-columns: 1fr 1fr; }
    .i-grid { grid-template-columns: 1fr; }
    .p-kundli .k-wheel { max-width: 300px; margin: 0 auto; width: 100%; }
}
@media (max-width: 620px) {
    .p-glance { grid-template-columns: 1fr 1fr; }
    .lineage { grid-template-columns: 1fr; }
    .lineage .arrow { transform: rotate(90deg); text-align: center; }
    .i-card { grid-template-columns: 104px 1fr; }
    .p-kundli { padding: 24px 18px; }
    .p-kundli-more .k-kootas { grid-template-columns: 1fr; }
    .e-save { border-radius: 20px; padding: 12px 14px; }
    .e-save span { display: none; }
    .e-save .btn { width: 100%; }
    .p-quote { padding: 26px 20px 22px 54px; font-size: 1.2rem; }
    .p-quote::before { left: 12px; font-size: 4.4rem; }
}
@media print {
    .p-hero { background: none; color: #000; padding: 0 0 8px; border-bottom: 2px solid #9c7630; }
    .p-hero .mandala, .p-kundli, .p-kundli-more, .p-mini, .p-gotra { display: none !important; }
    .p-hero-grid { grid-template-columns: 150px 1fr; gap: 18px; align-items: center; }
    .p-hero .photo-frame { margin: 0; box-shadow: none; padding: 4px; }
    .p-hero h1 { color: #45101f; font-size: 22pt; }
    .p-sub, .p-hero .eyebrow { color: #444; }
    .k-chips span { color: #333; border-color: #c8a45c; background: none; padding: 2px 10px; }
    .p-body { grid-template-columns: 1fr; padding-top: 10px; gap: 8px; }
    .p-aside { padding: 0; position: static; order: 3; }
    .p-aside .card { padding: 10px 14px; }
    .p-glance { gap: 6px; margin-bottom: 10px; }
    .p-glance div { padding: 6px; box-shadow: none; }
    .p-glance b { font-size: 12pt; }
    .p-quote { padding: 8px 12px 8px 40px; font-size: 12pt; }
    .p-quote::before { font-size: 30pt; left: 8px; color: #9c7630; background: none; }
    .lineage .node { padding: 5px 8px; }
    .lineage .node.me { background: none; border: 1.5px solid #9c7630; box-shadow: none; padding: 8px; }
    .lineage .node.me b { color: #45101f; }
    .lineage .node.me small { color: #7a5a1e; }
    .h-ico { display: none; }
}

/* Fixes after visual review */
.p-hero { overflow: visible; }
.p-hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.photos .avatar-empty { display: grid; }
.photos .avatar-empty span { font-size: 3.4rem; }
.filters { max-height: calc(100vh - 124px); overflow-y: auto; scrollbar-width: thin; }
@media (max-width: 980px) { .filters { max-height: none; } }
.p-aside { padding-top: 50px; top: 50px; }
@media (max-width: 980px) { .p-aside { padding-top: 0; } }

/* ================= Home v2 ================= */
.h-hero { position: relative; overflow: hidden; color: #fff; padding: 168px 0 0; min-height: 100vh; display: flex; flex-direction: column; background:
    radial-gradient(ellipse 48% 55% at 76% 42%, rgba(200, 164, 92, .3), transparent 64%),
    radial-gradient(ellipse 60% 70% at 0% 100%, rgba(140, 37, 69, .7), transparent 62%),
    linear-gradient(160deg, #0d0308 0%, #230a1c 40%, #45101f 100%); }
.h-hero .mandala.m1 { width: 980px; right: -260px; top: 50%; margin-top: -520px; opacity: .26; }
.h-hero .mandala.m2 { width: 520px; left: -240px; bottom: -200px; opacity: .16; animation-direction: reverse; }
.h-hero-grid { position: relative; z-index: 2; flex: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: center; padding-bottom: 80px; }
.h-hero h1 { color: #fff; font-size: clamp(3rem, 7.2vw, 6rem); line-height: 1.02; margin-bottom: .3em; text-shadow: 0 4px 40px rgba(0, 0, 0, .35); }
.h-hero h1 em { font-style: italic; background: var(--gold-grad); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 6s linear infinite; }
html[lang="hi"] .h-hero h1 { line-height: 1.25; font-size: clamp(2.6rem, 6vw, 5rem); }
html[lang="hi"] .h-hero h1 em { font-style: normal; }
@keyframes sheen { to { background-position: 200% center; } }
.h-hero .lead { font-size: 1.24rem; font-weight: 300; color: #ecd9cf; max-width: 540px; margin-bottom: 36px; }
.h-hero .actions, .cta .actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.cta .actions { justify-content: center; }
.h-stats { display: flex; gap: 0; margin-top: 54px; }
.h-stats div { padding: 0 30px; border-left: 1px solid rgba(236, 217, 168, .28); }
.h-stats div:first-child { padding-left: 0; border-left: 0; }
.h-stats b { display: block; font: 600 3rem/1 'Marcellus', serif; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h-stats span { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: #d9c3b8; font-weight: 600; }

/* Floating gold dust */
.h-sparks { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.h-sparks i { position: absolute; bottom: -10px; width: 4px; height: 4px; border-radius: 50%; background: #f4e4b8; box-shadow: 0 0 10px 2px rgba(244, 228, 184, .7); opacity: 0; animation: rise 14s linear infinite; }
.h-sparks i:nth-child(1) { left: 6%; animation-delay: 0s; } .h-sparks i:nth-child(2) { left: 14%; animation-delay: 5s; animation-duration: 18s; }
.h-sparks i:nth-child(3) { left: 23%; animation-delay: 9s; } .h-sparks i:nth-child(4) { left: 31%; animation-delay: 2s; animation-duration: 20s; }
.h-sparks i:nth-child(5) { left: 40%; animation-delay: 7s; } .h-sparks i:nth-child(6) { left: 48%; animation-delay: 12s; animation-duration: 17s; }
.h-sparks i:nth-child(7) { left: 57%; animation-delay: 3s; } .h-sparks i:nth-child(8) { left: 65%; animation-delay: 10s; animation-duration: 21s; }
.h-sparks i:nth-child(9) { left: 72%; animation-delay: 6s; } .h-sparks i:nth-child(10) { left: 80%; animation-delay: 1s; animation-duration: 16s; }
.h-sparks i:nth-child(11) { left: 87%; animation-delay: 8s; } .h-sparks i:nth-child(12) { left: 93%; animation-delay: 4s; animation-duration: 19s; }
.h-sparks i:nth-child(13) { left: 36%; animation-delay: 13s; width: 3px; height: 3px; } .h-sparks i:nth-child(14) { left: 61%; animation-delay: 11s; width: 3px; height: 3px; }
@keyframes rise { 0% { transform: translate(0, 0); opacity: 0; } 12% { opacity: .9; } 80% { opacity: .5; } 100% { transform: translate(40px, -92vh); opacity: 0; } }

/* Mehrab (arch) card */
.arch { position: relative; text-align: center; padding: 96px 38px 38px; border-radius: 240px 240px 30px 30px; background: linear-gradient(170deg, rgba(255, 255, 255, .17), rgba(255, 255, 255, .05) 60%); border: 1px solid rgba(236, 217, 168, .55); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .3); }
.arch::before { content: ''; position: absolute; inset: 11px; border-radius: 230px 230px 21px 21px; border: 1px solid rgba(236, 217, 168, .3); pointer-events: none; }
.arch::after { content: ''; position: absolute; inset: -14px; border-radius: 254px 254px 44px 44px; border: 1px dashed rgba(236, 217, 168, .22); pointer-events: none; }
.arch-crest { position: absolute; left: 50%; top: 26px; transform: translateX(-50%); width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; color: var(--wine-900); background: var(--gold-grad); box-shadow: 0 0 0 6px rgba(200, 164, 92, .18), 0 0 34px rgba(226, 201, 140, .55); }
.arch .eyebrow { color: var(--gold-light); margin-bottom: 4px; }
.arch h3 { color: #fff; font-size: 2.3rem; margin-bottom: 2px; }
.arch .ornament { margin: 0 0 22px; }
.arch .ornament::before, .arch .ornament::after { width: 50px; background: linear-gradient(90deg, transparent, var(--gold-light)); }
.arch .field { text-align: left; }
.arch label { color: var(--gold-light); }
.arch input, .arch select { background-color: rgba(255, 255, 255, .95); border-color: transparent; }
.arch .grid2 { grid-template-columns: 1fr 1fr; gap: 0 12px; }

/* Place names strip */
.h-marquee { position: relative; z-index: 2; overflow: hidden; border-top: 1px solid rgba(236, 217, 168, .25); background: rgba(13, 3, 8, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-bottom: 3px solid var(--gold); padding: 16px 0; }
.h-marquee .track { display: flex; align-items: center; gap: 34px; width: max-content; animation: slide 46s linear infinite; }
.h-marquee span { font: 500 1.35rem 'Marcellus', serif; letter-spacing: .14em; text-transform: uppercase; color: #ecd9a8; white-space: nowrap; }
.h-marquee i { font-style: normal; color: var(--gold); font-size: .8rem; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.bn { position: relative; overflow: hidden; padding: 34px 32px; border-radius: 26px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s, border-color .45s; }
.bn:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: rgba(200, 164, 92, .7); }
.bn::after { content: ''; position: absolute; right: -90px; bottom: -90px; width: 240px; height: 240px; background: url(mandala.svg) center / contain no-repeat; opacity: .1; transition: opacity .45s, transform 1.2s; pointer-events: none; }
.bn:hover::after { opacity: .2; transform: rotate(25deg); }
.bn .ring { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px; color: var(--wine); font-size: 1.4rem; background: radial-gradient(circle at 30% 25%, #fff, var(--sand)); box-shadow: 0 0 0 1px var(--gold), 0 0 0 6px rgba(200, 164, 92, .14); }
.bn h3 { font-size: 1.75rem; margin-bottom: .3em; }
.bn p { color: var(--muted); margin: 0; }
.bn-a { grid-column: span 7; display: grid; grid-template-columns: 1fr 250px; gap: 26px; align-items: center; background: linear-gradient(140deg, var(--paper), var(--sand)); }
.bn-b { grid-column: span 5; display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; }
.bn-c, .bn-d, .bn-e { grid-column: span 4; }
.bn-f, .bn-g { grid-column: span 6; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.bn.dark { color: #ead8cd; border-color: rgba(200, 164, 92, .5); background: radial-gradient(ellipse 70% 90% at 90% 50%, rgba(200, 164, 92, .22), transparent 62%), linear-gradient(150deg, #12040c, #2a0b1a 55%, #45101f); }
.bn.dark h3 { color: #fff; }
.bn.dark p { color: #dcc7bc; }
.bn.dark .bn-text, .bn.dark .bn-mock { position: relative; z-index: 2; }
.bn.dark .guna-ring .num b { color: #fff; }
.bn.dark .guna-ring .num small { color: var(--gold-light); }
.bn.dark .guna-ring .track { stroke: rgba(236, 217, 168, .2); }
.bn-mock { position: relative; z-index: 2; margin-top: 22px; }
.bn-a .bn-mock, .bn-b .bn-mock, .bn-f .bn-mock, .bn-g .bn-mock { margin-top: 0; }
.bn-mock.checks { display: grid; gap: 9px; padding: 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transform: rotate(1.5deg); }
.bn-mock.checks span { display: flex; align-items: center; gap: 10px; font-size: .92rem; font-weight: 500; padding-bottom: 9px; border-bottom: 1px dashed var(--line); }
.bn-mock.checks span .ico { color: var(--ok); }
.bn-mock.checks .seal { position: static; justify-self: start; margin-top: 2px; font-size: .64rem; }
.bn-mock.gotra { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.bn-mock.gotra i { font-style: normal; color: var(--gold-deep); font-size: .8rem; }
.bn-mock.gotra .pill { margin-left: auto; }
.bn-mock.masked { display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px; border-radius: 999px; background: var(--sand); border: 1px dashed var(--gold); font: 600 1.35rem 'Marcellus', serif; letter-spacing: .12em; color: var(--wine-800); }
.bn-mock.masked .ico { color: var(--gold-deep); font-size: 1rem; }
.bn-mock.tree { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bn-mock.tree span { padding: 6px 14px; border-radius: 10px; background: var(--ivory); border: 1px solid var(--line); font-size: .88rem; font-weight: 600; }
.bn-mock.tree span.me { background: linear-gradient(135deg, var(--wine), var(--wine-800)); color: #fff; border-color: var(--gold); }
.bn-mock.tree i { font-style: normal; color: var(--gold); }
.bn-mock.paper { width: 122px; padding: 16px 14px; border-radius: 8px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transform: rotate(-4deg); display: grid; gap: 7px; }
.bn-mock.paper b { width: 34px; height: 40px; border-radius: 5px; background: linear-gradient(135deg, var(--wine), var(--wine-900)); margin-bottom: 3px; }
.bn-mock.paper i { height: 5px; border-radius: 5px; background: var(--sand); }
.bn-mock.paper i.s { width: 62%; background: var(--gold-light); }
.bn-mock.langs { display: grid; gap: 8px; }
.bn-mock.langs a { padding: 9px 26px; border-radius: 999px; text-align: center; text-decoration: none; font-weight: 600; color: var(--ink); border: 1px solid var(--line); background: var(--ivory); transition: all .25s; }
.bn-mock.langs a.on, .bn-mock.langs a:hover { background: linear-gradient(135deg, var(--wine), var(--wine-800)); color: #fff; border-color: var(--gold); }

/* Profile glimpse */
.h-peek { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.peek { display: block; text-decoration: none; color: var(--ink); border-radius: 22px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s, border-color .45s; }
.peek:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(200, 164, 92, .7); }
.peek-top { position: relative; height: 190px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 35%, var(--wine), var(--wine-950)); }
.peek-top.female { background: radial-gradient(circle at 50% 35%, #94324e, #3a0c1b); }
.peek-top::before { content: ''; position: absolute; inset: -30%; background: url(mandala.svg) center / contain no-repeat; opacity: .3; transition: transform 1.4s; }
.peek:hover .peek-top::before { transform: rotate(30deg); }
.peek-mono { position: relative; font: 600 5.2rem/1 'Marcellus', serif; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: blur(.4px); }
.peek-lock { position: absolute; right: 14px; bottom: 14px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--wine-900); background: var(--gold-grad); box-shadow: 0 6px 16px -4px rgba(0, 0, 0, .6); }
.peek-body { padding: 20px 20px 22px; }
.peek-body .eyebrow { margin-bottom: 2px; font-size: .66rem; }
.peek-body h3 { font-size: 1.6rem; margin-bottom: 4px; }
.peek-body p { margin: 0 0 3px; font-size: .93rem; color: var(--muted); }
.peek-body .chip { display: inline-block; margin-top: 10px; }

/* Kundli band */
.h-kundli { position: relative; overflow: hidden; color: #f0e2d8; padding: 120px 0; background: radial-gradient(ellipse 50% 70% at 78% 50%, rgba(200, 164, 92, .2), transparent 62%), radial-gradient(ellipse 60% 80% at 0% 100%, rgba(122, 28, 52, .7), transparent 62%), linear-gradient(160deg, #0d0308, #230a1c 45%, #3a0d1d); border-top: 3px solid var(--gold); border-bottom: 3px solid var(--gold); }
.h-kundli h2 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.h-kundli .eyebrow { color: var(--gold-light); }
.h-kundli .k-wheel { max-width: 460px; margin: 0 auto; width: 100%; }
.h-kundli .ticks .ico { color: var(--gold); }

/* Steps */
.h-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid rgba(200, 164, 92, .45); border-radius: 26px; overflow: hidden; background: var(--paper); box-shadow: var(--shadow); }
.h-step { position: relative; padding: 46px 30px 40px; border-right: 1px solid var(--line); transition: background .4s; }
.h-step:last-child { border-right: 0; }
.h-step:hover { background: linear-gradient(180deg, var(--sand), var(--paper)); }
.h-step .ghost { display: block; font: 600 5.6rem/1 'Marcellus', serif; color: transparent; -webkit-text-stroke: 1.2px var(--gold); margin-bottom: 14px; transition: color .4s; }
.h-step:hover .ghost { color: rgba(200, 164, 92, .25); }
.h-step h3 { font-size: 1.7rem; margin-bottom: 6px; }
.h-step p { color: var(--muted); margin: 0; }
.h-step::after { content: ''; position: absolute; left: 30px; bottom: 0; width: 46px; height: 3px; background: var(--gold-grad); transition: width .5s; }
.h-step:hover::after { width: calc(100% - 60px); }

/* Vow band */
.h-vow { position: relative; overflow: hidden; text-align: center; padding: 110px 0; color: #fff; background: linear-gradient(135deg, var(--wine-900), var(--wine) 55%, #8c2545); }
.h-vow .mandala { width: 760px; left: 50%; margin-left: -380px; top: 50%; margin-top: -380px; opacity: .16; }
.h-vow .wrap { position: relative; z-index: 2; }
.h-vow .eyebrow { color: var(--gold-light); }
.h-vow blockquote { margin: 6px 0 14px; font: 400 clamp(1.9rem, 4.6vw, 3.5rem)/1.5 'Tiro Devanagari Hindi', serif; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h-vow p { margin: 18px auto 0; max-width: 560px; font: italic 500 1.5rem 'Marcellus', serif; color: #f1e2d6; }
.h-vow .ornament::before, .h-vow .ornament::after { background: linear-gradient(90deg, transparent, var(--gold-light)); }
.h-final .cta { padding: 110px 28px 84px; border-radius: 300px 300px 34px 34px; max-width: 880px; margin: 0 auto; }
.h-final .cta::before { border-radius: 290px 290px 24px 24px; }
.h-final .cta .arch-crest { top: 34px; }
.h-final .cta .mandala { top: -160px; }

/* ================= Footer v2 ================= */
.site-footer { padding: 0; border-top: 0; background: linear-gradient(170deg, #0d0308, #230a1c 55%, #2e0a15); }
.site-footer .toran { position: relative; z-index: 3; height: 34px; background:
    radial-gradient(circle at 50% 0, var(--gold) 0 5px, transparent 6px) 0 20px / 44px 14px repeat-x,
    radial-gradient(ellipse 22px 20px at 50% 0, transparent 0 18px, var(--gold) 18.5px 20px, transparent 20.5px) 0 4px / 44px 22px repeat-x,
    linear-gradient(var(--gold), var(--gold)) 0 0 / 100% 4px no-repeat; }
.site-footer .k-stars { opacity: .5; }
.site-footer .mandala { width: 900px; left: 50%; margin-left: -450px; top: -330px; bottom: auto; opacity: .1; }
.site-footer .wrap { position: relative; z-index: 2; }
.foot-top { text-align: center; padding: 64px 0 50px; max-width: 640px; margin: 0 auto; }
.foot-top .mangal { margin-bottom: 14px; }
.foot-brand { display: flex !important; align-items: center; justify-content: center; gap: 18px; font: 700 clamp(2.4rem, 5vw, 3.6rem)/1 'Marcellus', serif; color: #fff !important; padding: 0 !important; margin-bottom: 18px; }
.foot-brand .brand-mark { width: 62px; height: 62px; font-size: 1.8rem; box-shadow: 0 0 0 2px #230a1c, 0 0 0 3.5px var(--gold), 0 0 34px rgba(226, 201, 140, .4); }
.foot-top p { color: #cdb6ab; font-weight: 300; font-size: 1.05rem; }
.foot-top .ornament { margin-top: 26px; }
.foot-top .ornament::before, .foot-top .ornament::after { width: 140px; background: linear-gradient(90deg, transparent, var(--gold)); }
.foot-grid { grid-template-columns: 1fr 1fr 1.7fr 1.2fr; gap: 50px; padding: 46px 0 40px; border-top: 1px solid rgba(236, 217, 168, .14); }
.site-footer h4 { margin-bottom: 20px; }
.site-footer .foot-grid a:not(.btn) { position: relative; padding: 6px 0; }
.site-footer .foot-grid > div > a:not(.btn)::before { content: ''; display: inline-block; width: 0; height: 1px; background: var(--gold); vertical-align: middle; margin-right: 0; transition: width .3s, margin .3s; }
.site-footer .foot-grid > div > a:not(.btn):hover { padding-left: 0; }
.site-footer .foot-grid > div > a:not(.btn):hover::before { width: 18px; margin-right: 10px; }
.foot-promise p { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; color: #d9c3b8; }
.foot-promise .ico { color: var(--gold); margin-top: 4px; font-size: 1.1rem; }
.foot-lang { display: flex; gap: 8px; margin-bottom: 18px; }
.site-footer .foot-lang a { flex: 1; text-align: center; padding: 8px 10px !important; border-radius: 999px; border: 1px solid rgba(236, 217, 168, .3); font-weight: 600; font-size: .92rem; }
.site-footer .foot-lang a.on { background: var(--gold-grad); color: var(--wine-900); border-color: transparent; }
.foot-phone { display: flex; gap: 10px; align-items: center; color: #fff; font: 600 1.4rem 'Marcellus', serif; }
.site-footer a.foot-cta { display: inline-flex; padding: 10px 22px; color: var(--wine-900); }
.site-footer a.foot-cta:hover { padding-left: 22px; color: var(--wine-900); }
.foot-mark { position: relative; z-index: 1; text-align: center; white-space: nowrap; overflow: hidden; font: 700 clamp(4rem, 15.5vw, 14rem)/.82 'Marcellus', serif; letter-spacing: -.01em; color: transparent; -webkit-text-stroke: 1px rgba(200, 164, 92, .3); -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent 95%); mask-image: linear-gradient(180deg, #000 20%, transparent 95%); margin-top: 10px; user-select: none; }
.foot-bottom { position: relative; z-index: 2; border-top: 1px solid rgba(236, 217, 168, .16); padding: 18px 0; margin-top: -30px; background: rgba(13, 3, 8, .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.foot-bottom .wrap { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; font-size: .88rem; color: #b79d93; }
.site-footer a.foot-up { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; padding: 0; color: var(--gold-light); border: 1px solid rgba(236, 217, 168, .45); transition: all .3s; }
.site-footer a.foot-up:hover { background: var(--gold-grad); color: var(--wine-900); padding: 0; transform: translateY(-4px); }

/* ================= Ashtakoot chakra ================= */
.ak { display: grid; grid-template-columns: 440px 1fr; border-radius: 30px; overflow: hidden; background: var(--paper); border: 1px solid rgba(200, 164, 92, .55); box-shadow: var(--shadow-lg); }
.ak-chakra { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 44px 34px; color: #ead8cd; text-align: center; background: radial-gradient(ellipse 70% 50% at 50% 42%, rgba(200, 164, 92, .22), transparent 66%), linear-gradient(170deg, #0d0308, #230a1c 50%, #45101f); }
.ak-chakra > p { position: relative; z-index: 2; margin: 22px 0 0; font-size: .92rem; font-weight: 300; max-width: 320px; }
.ak-ring { position: relative; z-index: 2; width: 100%; max-width: 360px; }
.ak-ring svg { width: 100%; display: block; overflow: visible; }
.ak-line { fill: none; stroke: rgba(200, 164, 92, .4); stroke-width: 1; }
.ak-seg path { fill: none; stroke-width: 34; transition: stroke-width .3s, opacity .3s, stroke .3s; cursor: pointer; }
.ak-seg .t { stroke: rgba(236, 217, 168, .14); }
.ak-seg .f { stroke: #c8a45c; filter: drop-shadow(0 0 6px rgba(226, 201, 140, .45)); }
.ak-seg.full .f { stroke: #ecd9a8; }
.ak-seg.zero .t { stroke: rgba(214, 92, 96, .5); }
.ak-seg text { fill: #ecd9a8; font: 400 13px 'Tiro Devanagari Hindi', serif; text-anchor: middle; transition: fill .3s, font-size .3s; pointer-events: none; }
.ak-seg.hot path { stroke-width: 42; }
.ak-seg.hot text { fill: #fff; font-size: 15px; }
.ak-ring.dim .ak-seg:not(.hot) { opacity: .35; }
.ak-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; }
.ak-center b { font: 700 4.6rem/1 'Marcellus', serif; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ak-center small { margin-top: 6px; font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-light); font-weight: 600; }
.ak-list { list-style: none; margin: 0; padding: 10px 0; counter-reset: none; }
.ak-row { position: relative; display: grid; grid-template-columns: 46px 150px 1fr 92px; gap: 18px; align-items: center; padding: 18px 34px 18px 28px; border-bottom: 1px solid var(--line); transition: background .3s, padding .3s; cursor: default; }
.ak-row:last-child { border-bottom: 0; }
.ak-row::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--gold-grad); transform: scaleY(0); transition: transform .3s; }
.ak-row.hot { background: linear-gradient(90deg, var(--sand), transparent); }
.ak-row.hot::before { transform: scaleY(1); }
.ak-row.zero::before { background: #c0504a; transform: scaleY(1); }
.ak-no { font: 600 1.05rem 'Marcellus', serif; color: var(--gold-deep); letter-spacing: .08em; }
.ak-name b { display: block; font: 400 1.55rem/1.3 'Tiro Devanagari Hindi', serif; color: var(--wine-800); }
.ak-name span { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.ak-desc p { margin: 0 0 8px; font-size: .92rem; color: var(--muted); }
.ak-desc .ak-pair { display: flex; gap: 22px; flex-wrap: wrap; color: var(--ink); font-weight: 500; }
.ak-pair small { display: block; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; }
.ak-desc .meter { height: 5px; }
.ak-row.full .meter i { background: linear-gradient(90deg, #7fb069, #4f8a3c); }
.ak-pts { text-align: right; white-space: nowrap; }
.ak-pts b { font: 700 2.5rem/1 'Marcellus', serif; color: var(--wine); }
.ak-pts span { display: block; font-size: .78rem; color: var(--muted); letter-spacing: .06em; }
.ak-row.zero .ak-pts b { color: var(--bad); }
.p-kundli-more .ak { grid-template-columns: 1fr; }
.p-kundli-more .ak-row { grid-template-columns: 34px 110px 1fr 70px; padding: 16px 20px; gap: 12px; }

@media (max-width: 1100px) {
    .ak { grid-template-columns: 1fr; }
    .bn-a { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
    .h-hero { padding-top: 124px; min-height: 0; }
    .h-hero-grid { grid-template-columns: 1fr; gap: 70px; }
    .arch { max-width: 440px; margin: 0 auto; width: 100%; }
    .bn-a, .bn-b, .bn-f, .bn-g { grid-column: span 12; }
    .bn-c, .bn-d, .bn-e { grid-column: span 12; }
    .h-peek { grid-template-columns: 1fr 1fr; }
    .h-steps { grid-template-columns: 1fr 1fr; }
    .h-step:nth-child(2) { border-right: 0; }
    .h-step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .h-kundli { padding: 80px 0; }
    .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 620px) {
    .h-stats { flex-wrap: wrap; row-gap: 22px; }
    .h-stats div { padding: 0 18px; flex: 0 0 50%; }
    .h-stats div:nth-child(odd) { padding-left: 0; border-left: 0; }
    .h-stats b { font-size: 2.3rem; }
    .arch { padding: 88px 24px 28px; border-radius: 180px 180px 24px 24px; }
    .arch::before { border-radius: 170px 170px 16px 16px; }
    .bn { padding: 26px 22px; }
    .bn-b, .bn-f, .bn-g { grid-template-columns: 1fr; }
    .h-peek, .h-steps { grid-template-columns: 1fr; }
    .h-step { border-right: 0; border-bottom: 1px solid var(--line); }
    .h-step:last-child { border-bottom: 0; }
    .h-final .cta { border-radius: 160px 160px 24px 24px; padding: 96px 20px 56px; }
    .h-final .cta::before { border-radius: 150px 150px 16px 16px; }
    .foot-grid { grid-template-columns: 1fr; }
    .ak-row { grid-template-columns: 30px 1fr 64px; padding: 16px 18px; row-gap: 6px; }
    .ak-row .ak-desc { grid-column: 2 / -1; grid-row: 2; }
    .ak-chakra { padding: 34px 18px; }
    .ak-pts b { font-size: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
    .h-sparks i, .h-marquee .track, .h-hero h1 em { animation: none; }
}
@media print {
    .ak { box-shadow: none; grid-template-columns: 240px 1fr; }
    .ak-chakra { background: none; color: #333; padding: 10px; }
    .ak-seg .t { stroke: #eee; } .ak-seg .f { stroke: #9c7630; filter: none; } .ak-seg text { fill: #7a5a1e; }
    .ak-center b { color: #45101f; background: none; font-size: 2.4rem; }
    .ak-row { padding: 5px 10px; grid-template-columns: 26px 90px 1fr 60px; }
    .ak-desc p:first-child, .ak-desc .meter { display: none; }
}
.foot-bottom { display: block; }
.h-hero { min-height: min(100vh, 960px); }
@media (max-width: 980px) { .h-hero { min-height: 0; } }
.ak-ring { max-width: 400px; }
.ak-chakra { padding: 44px 20px; }

/* ================= Playfair Display sizing =================
   Playfair is wider and heavier than the previous heading face, so display sizes come down a step. */
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -.012em; line-height: 1.16; }
h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.45rem); }
h3 { font-size: 1.25rem; }
.brand-name { font-size: 1.36rem; font-weight: 700; letter-spacing: 0; }
.h-hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.7rem); line-height: 1.08; }
.k-hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); }
.p-hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); }
.banner h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.auth-art h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); }
.auth-form h1 { font-size: 2.05rem; }
.k-result-head h2, .h-kundli h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
.panel > h2 { font-size: 1.42rem; }
.arch h3 { font-size: 1.9rem; }
.bn h3 { font-size: 1.4rem; }
.h-step h3, .peek-body h3, .k-person h3 { font-size: 1.32rem; }
.pcard-over h3 { font-size: 1.24rem; }
.i-body h3 { font-size: 1.26rem; }
.rowlist .grow a { font-size: 1.08rem; }
.k-side-head h3 { font-size: 1.55rem; }
.k-koota h3, .a-card h3 { font-size: 1.4rem; }
.p-aside h4, .k-dosha h4 { font-size: 1.1rem; }
.p-kundli h2 { font-size: 1.65rem; }
.filters h3 { font-size: 1.2rem; }
.chat-head strong { font-size: 1.15rem; }
.k-faq summary { font-size: 1.08rem; }
.drop b { font-size: 1.05rem; }
.lineage .node b { font-size: 1rem; }
.lineage .node.me b { font-size: 1.15rem; }
.p-quote { font-size: 1.18rem; font-weight: 500; }
.h-vow p { font-size: 1.25rem; }
.h-marquee span { font-size: 1.1rem; }
.foot-brand { font-size: clamp(2rem, 4.2vw, 3rem); }
.foot-mark { font-size: clamp(3.4rem, 13vw, 11.5rem); }
/* Numerals */
.h-stats b { font-size: 2.5rem; }
.statbar b, .stat b { font-size: 2.1rem; }
.k-score b { font-size: 4.3rem; }
.p-kundli .k-score b { font-size: 3.2rem; }
.ak-center b { font-size: 3.8rem; }
.ak-pts b, .k-pts b { font-size: 2rem; }
.guna-ring .num b { font-size: 3.6rem; }
.guna-ring.sm .num b { font-size: 2.15rem; }
.h-step .ghost { font-size: 4.6rem; }
.peek-mono { font-size: 4.4rem; }
.avatar-empty span { font-size: 4.2rem; }
.profile-photo.avatar-empty span { font-size: 6.6rem; }
.p-glance b { font-size: 1.28rem; }
.p-contact .num { font-size: 1.65rem; }
.k-bands b { font-size: 1.3rem; }
.result-bar b { font-size: 1.35rem; }
.ak-no { font-size: .95rem; }
.k-scale span { font-size: .92rem; }
.bn-mock.masked { font-size: 1.12rem; }
.foot-phone { font-size: 1.2rem; }
[hidden] { display: none !important; }

/* ================= Member header =================
   Wordmark in the centre, text links split either side, ॐ medallion hanging below the bar. */
.site-header.mh { background: linear-gradient(180deg, #12040c, #2a0b1a); border-bottom: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.mh::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(200, 164, 92, .7) 18%, var(--gold-light) 50%, rgba(200, 164, 92, .7) 82%, transparent); }
.site-header.mh::after { content: ''; position: absolute; left: 0; right: 0; bottom: 5px; height: 1px; background: linear-gradient(90deg, transparent, rgba(200, 164, 92, .3) 25%, rgba(200, 164, 92, .3) 75%, transparent); }
.site-header.mh.scrolled { box-shadow: 0 20px 44px -24px rgba(0, 0, 0, .9); }
.mh-row { position: relative; display: grid; grid-template-columns: 1fr auto auto auto 1fr; align-items: center; gap: 0 34px; min-height: 92px; }
.mh-greet { justify-self: start; font: 400 1.02rem 'Tiro Devanagari Hindi', 'Marcellus', serif; font-style: italic; color: #cdb6ab; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
html[lang="hi"] .mh-greet { font-style: normal; }
.mh-greet b { font-weight: 400; color: var(--gold-light); }

.mh-brand { display: flex; flex-direction: column; align-items: center; text-decoration: none; padding: 0 6px; }
.mh-word { font: 700 1.72rem/1 'Marcellus', serif; letter-spacing: .01em; white-space: nowrap; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mh-tag { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: .56rem; font-weight: 600; letter-spacing: .34em; text-transform: uppercase; color: #cdb6ab; white-space: nowrap; }
.mh-tag::before, .mh-tag::after { content: ''; width: 22px; height: 1px; background: var(--gold); opacity: .7; }

.mh-nav { display: flex; align-items: center; gap: 30px; }
.mh-nav.left { justify-self: end; }
.mh-nav.right { justify-self: start; }
.mh-nav a { position: relative; display: inline-flex; align-items: flex-start; gap: 6px; padding: 14px 0; text-decoration: none; color: #e6d3c8; font: 600 .73rem var(--sans); letter-spacing: .22em; text-transform: uppercase; white-space: nowrap; transition: color .3s; }
html[lang="hi"] .mh-nav a { font-size: .98rem; letter-spacing: .02em; font-weight: 500; }
.mh-nav a::before { content: ''; position: absolute; left: 50%; bottom: 4px; width: 0; height: 1px; background: var(--gold); transform: translateX(-50%); transition: width .35s cubic-bezier(.2, .7, .2, 1); }
.mh-nav a::after { content: ''; position: absolute; left: 50%; bottom: 1px; width: 7px; height: 7px; margin-left: -3.5px; background: var(--gold-grad); transform: rotate(45deg) scale(0); transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.mh-nav a:hover { color: #fff; }
.mh-nav a:hover::before { width: 100%; }
.mh-nav a.on { color: var(--gold-light); }
.mh-nav a.on::before { width: 100%; }
.mh-nav a.on::after { transform: rotate(45deg) scale(1); }
.mh-nav a b { min-width: 16px; height: 16px; padding: 0 4px; margin-top: -5px; border-radius: 999px; display: grid; place-items: center; background: var(--gold-grad); color: var(--wine-900); font: 700 .62rem/1 var(--sans); letter-spacing: 0; }

/* ॐ medallion hanging from the bar */
.mh-crest { position: absolute; left: 50%; top: 100%; width: 46px; height: 46px; margin: -17px 0 0 -23px; border-radius: 50%; display: grid; place-items: center; text-decoration: none; font-size: 1.25rem; color: var(--wine-900); background: var(--gold-grad); box-shadow: 0 0 0 3px #1d0712, 0 0 0 4.5px var(--gold), 0 10px 24px -6px rgba(0, 0, 0, .7), 0 0 26px rgba(226, 201, 140, .35); z-index: 2; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.mh-crest:hover { transform: rotate(360deg); }
.is-member main > .wrap:first-child .flash:first-child { margin-top: 40px; }

/* Account menu */
.umenu { position: relative; justify-self: end; }
.umenu summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 11px; color: #e6d3c8; font: 600 .73rem var(--sans); letter-spacing: .22em; text-transform: uppercase; white-space: nowrap; transition: color .3s; }
html[lang="hi"] .umenu summary { font-size: .98rem; letter-spacing: .02em; font-weight: 500; }
.umenu summary::-webkit-details-marker { display: none; }
.umenu summary:hover, .umenu[open] summary, .umenu.on summary { color: var(--gold-light); }
.umenu summary .avatar { width: 42px; height: 42px; box-shadow: 0 0 0 2px #1d0712, 0 0 0 3px var(--gold); transition: box-shadow .3s; }
.umenu summary:hover .avatar, .umenu[open] summary .avatar { box-shadow: 0 0 0 2px #1d0712, 0 0 0 3px var(--gold-light), 0 0 20px rgba(226, 201, 140, .5); }
.umenu summary .avatar.avatar-empty span { font-size: 1.15rem; }
.umenu summary > .ico { color: var(--gold); font-size: .85rem; transition: transform .3s; }
.umenu[open] summary > .ico { transform: rotate(180deg); }
.umenu-pop { position: absolute; right: 0; top: calc(100% + 22px); width: 292px; padding: 8px; border-radius: 6px 6px 22px 22px; background: var(--paper); border: 1px solid rgba(200, 164, 92, .6); border-top: 3px solid var(--gold); box-shadow: 0 34px 70px -24px rgba(18, 4, 12, .75); z-index: 60; animation: pop .25s cubic-bezier(.2, .7, .2, 1); }
@keyframes pop { from { opacity: 0; transform: translateY(-8px); } }
.umenu-head { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 22px 16px 18px; margin-bottom: 8px; border-radius: 4px 4px 14px 14px; text-align: center; color: #fff; background: radial-gradient(ellipse at 50% 0, rgba(200, 164, 92, .3), transparent 65%), linear-gradient(150deg, #12040c, var(--wine)); }
.umenu-head::after { content: ''; position: absolute; right: -70px; top: -70px; width: 190px; height: 190px; background: url(mandala.svg) center / contain no-repeat; opacity: .25; }
.umenu-head .avatar.lg { width: 68px; height: 68px; margin-bottom: 8px; box-shadow: 0 0 0 3px var(--wine-900), 0 0 0 4.5px var(--gold); position: relative; z-index: 1; }
.umenu-head .avatar.lg span { font-size: 1.9rem; }
.umenu-head b { font: 600 1.12rem 'Marcellus', serif; position: relative; z-index: 1; }
.umenu-head small { color: #dcc7bc; font-size: .85rem; margin-bottom: 8px; position: relative; z-index: 1; }
.umenu-head .pill { position: relative; z-index: 1; }
.umenu-pop > a, .umenu-pop form button { display: flex; align-items: center; gap: 13px; width: 100%; padding: 11px 14px; border-radius: 10px; border: 0; background: none; cursor: pointer; text-decoration: none; text-align: left; color: var(--ink); font: 500 .96rem var(--sans); letter-spacing: 0; text-transform: none; transition: background .2s, color .2s, padding .2s; }
.umenu-pop > a .ico, .umenu-pop form button .ico { color: var(--gold-deep); font-size: 1.05rem; }
.umenu-pop > a:hover { background: var(--sand); color: var(--wine); padding-left: 18px; }
.umenu-pop form { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }
.umenu-pop form button, .umenu-pop form button .ico { color: var(--bad); }
.umenu-pop form button:hover { background: #fdecea; }

/* Mobile tab bar: a flat bar with a gold marker over the current tab */
.tabbar { display: none; }
.dock-ico { position: relative; display: inline-flex; }
.dock-ico b { position: absolute; top: -6px; right: -10px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; display: grid; place-items: center; background: var(--gold-grad); color: var(--wine-900); font: 700 .6rem/1 var(--sans); }
@media (max-width: 1240px) {
    .mh-greet { display: none; }
    .mh-row { grid-template-columns: 1fr auto 1fr auto; gap: 0 24px; }
    .mh-nav { gap: 22px; }
    .u-text { display: none; }
}
@media (max-width: 960px) {
    .mh-nav { display: none; }
    .mh-row { grid-template-columns: 1fr auto; min-height: 70px; }
    .mh-brand { align-items: flex-start; padding: 0; }
    .mh-word { font-size: 1.4rem; }
    .mh-tag::before { display: none; }
    .mh-crest { display: none; }
    .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: grid; grid-template-columns: repeat(5, 1fr); padding: 0 6px env(safe-area-inset-bottom); background: #1a0610; border-top: 1px solid var(--gold); box-shadow: 0 -14px 34px -14px rgba(0, 0, 0, .7); }
    .tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 13px 2px 10px; text-decoration: none; color: #b79d93; font-size: .6rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
    .tabbar a::before { content: ''; position: absolute; top: -1px; left: 50%; width: 0; height: 3px; margin: 0; background: var(--gold-grad); border-radius: 0 0 3px 3px; transform: translateX(-50%); transition: width .3s; }
    .tabbar .dock-ico { font-size: 1.35rem; color: #cdb6ab; }
    .tabbar a.on { color: var(--gold-light); }
    .tabbar a.on::before { width: 34px; }
    .tabbar a.on .dock-ico { color: var(--gold); }
    .tabbar .dock-label { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    body.is-member { padding-bottom: 70px; }
    body.is-member .e-save { bottom: 84px; }
    .umenu-pop { position: fixed; left: 12px; right: 12px; top: 80px; width: auto; }
    .is-member main > .wrap:first-child .flash:first-child { margin-top: 18px; }
}
@media (max-width: 1560px) {
    .mh-greet { display: none; }
    .mh-row { grid-template-columns: 1fr auto 1fr auto; }
}
@media (max-width: 960px) {
    .mh-row { grid-template-columns: 1fr auto; }
    .mh-tag::after { display: none; }
}
/* Wordmark exactly in the centre: links on the left, links plus account on the right */
.mh-row { grid-template-columns: 1fr auto 1fr !important; }
.mh-nav.left { grid-column: 1; grid-row: 1; }
.mh-brand { grid-column: 2; grid-row: 1; }
.mh-nav.right { grid-column: 3; grid-row: 1; justify-self: start; }
.umenu { grid-column: 3; grid-row: 1; justify-self: end; }
@media (max-width: 960px) {
    .mh-row { grid-template-columns: 1fr auto !important; }
    .mh-brand { grid-column: 1; }
    .umenu { grid-column: 2; }
}
.umenu .u-text { display: none; }

/* ================= Biodata wizard (profile-edit) ================= */
.w-hero { position: relative; overflow: hidden; color: #fff; padding: 64px 0 96px; background: radial-gradient(ellipse 45% 90% at 88% 40%, rgba(200, 164, 92, .26), transparent 62%), radial-gradient(ellipse 60% 90% at 0% 100%, rgba(122, 28, 52, .7), transparent 62%), linear-gradient(150deg, #12040c, #2a0b1a 50%, #45101f); }
.w-hero .mandala { width: 520px; right: -150px; top: -190px; opacity: .2; }
.w-hero-row { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.w-id { display: flex; align-items: center; gap: 24px; min-width: 0; }
.w-id .avatar.lg { width: 104px; height: 104px; box-shadow: 0 0 0 4px #1d0712, 0 0 0 5.5px var(--gold), 0 0 40px rgba(226, 201, 140, .35); }
.w-id .avatar.lg span { font-size: 2.9rem; }
.w-id .eyebrow { color: var(--gold-light); margin-bottom: 6px; }
.w-id h1 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin: 0 0 12px; }
.w-id p { margin: 0; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.w-note { color: #dcc7bc; font-size: .93rem; font-weight: 300; }
.w-score { display: flex; align-items: center; gap: 26px; }
.w-score .guna-ring .num b { color: #fff; font-size: 2rem; }
.w-score .guna-ring .num small { color: var(--gold-light); }
.w-score .guna-ring .track { stroke: rgba(236, 217, 168, .2); }
.w-links { display: grid; gap: 10px; }
.w-links a { display: inline-flex; align-items: center; gap: 10px; color: #ead8cd; text-decoration: none; font-size: .93rem; padding: 8px 18px; border-radius: 999px; border: 1px solid rgba(236, 217, 168, .32); background: rgba(255, 255, 255, .05); transition: all .25s; }
.w-links a:hover { background: rgba(255, 255, 255, .12); border-color: var(--gold); color: #fff; }
.w-links .ico { color: var(--gold); }

/* Stepper */
.w-stepper-wrap { position: sticky; top: 92px; z-index: 30; margin-top: -46px; }
.w-stepper { list-style: none; margin: 0; padding: 14px 18px; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; border-radius: 22px; background: rgba(255, 253, 249, .96); border: 1px solid rgba(200, 164, 92, .6); box-shadow: var(--shadow); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.w-stepper::-webkit-scrollbar { display: none; }
.w-stepper li { flex: 1 0 auto; position: relative; }
.w-stepper li + li::before { content: ''; position: absolute; left: -2px; right: calc(100% - 4px); top: 19px; height: 1px; background: var(--line); }
.w-stepper button { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 0 10px; border: 0; background: none; cursor: pointer; font: 600 .68rem var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; transition: color .25s; }
html[lang="hi"] .w-stepper button { font-size: .86rem; letter-spacing: 0; text-transform: none; }
.w-stepper i { position: relative; z-index: 1; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font: 600 .95rem 'Marcellus', serif; font-style: normal; color: var(--muted); background: var(--paper); border: 1px solid #d9cbb8; transition: all .3s cubic-bezier(.2, .7, .2, 1); }
.w-stepper li.done i { color: var(--wine-900); background: var(--gold-grad); border-color: transparent; }
.w-stepper li.done i .ico { font-size: .95rem; }
.w-stepper li.on button { color: var(--wine); }
.w-stepper li.on i { color: var(--gold-light); background: radial-gradient(circle at 30% 25%, var(--wine), var(--wine-900)); border-color: var(--gold); transform: scale(1.14); box-shadow: 0 0 0 4px rgba(200, 164, 92, .2), 0 10px 20px -8px rgba(94, 20, 40, .8); }
.w-stepper button:hover { color: var(--wine); }
.w-stepper button:hover i { border-color: var(--gold); }

/* Layout */
.w-page { padding-top: 34px; }
.w-layout { display: grid; grid-template-columns: 1fr 300px; gap: 38px; align-items: start; }
.js .w-step { display: none; }
.js .w-step.on { display: block; animation: stepIn .5s cubic-bezier(.2, .7, .2, 1); }
@keyframes stepIn { from { opacity: 0; transform: translateY(18px); } }
.w-step + .w-step { margin-top: 26px; }
.js .w-step + .w-step { margin-top: 0; }

/* Invitation-style card */
.w-card { position: relative; padding: 46px 48px 34px; border-radius: 6px; background: linear-gradient(180deg, #fffdf9, #fbf5ea); border: 1px solid var(--gold); box-shadow: var(--shadow-lg); }
.w-card::before { content: ''; position: absolute; inset: 9px; border: 1px solid rgba(200, 164, 92, .45); pointer-events: none; }
.w-corner { position: absolute; width: 34px; height: 34px; pointer-events: none; }
.w-corner::before, .w-corner::after { content: ''; position: absolute; background: var(--gold-grad); }
.w-corner::before { width: 9px; height: 9px; transform: rotate(45deg); }
.w-corner::after { width: 34px; height: 34px; background: none; border: 1.5px solid var(--gold); }
.w-corner.tl { left: 3px; top: 3px; } .w-corner.tl::after { border-right: 0; border-bottom: 0; } .w-corner.tl::before { left: 13px; top: 13px; }
.w-corner.tr { right: 3px; top: 3px; } .w-corner.tr::after { border-left: 0; border-bottom: 0; } .w-corner.tr::before { right: 13px; top: 13px; }
.w-corner.bl { left: 3px; bottom: 3px; } .w-corner.bl::after { border-right: 0; border-top: 0; } .w-corner.bl::before { left: 13px; bottom: 13px; }
.w-corner.br { right: 3px; bottom: 3px; } .w-corner.br::after { border-left: 0; border-top: 0; } .w-corner.br::before { right: 13px; bottom: 13px; }
.w-head { position: relative; display: flex; align-items: center; gap: 22px; padding-bottom: 24px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.w-head::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 92px; height: 2px; background: var(--gold-grad); }
.w-head > div { flex: 1; min-width: 0; }
.w-ghost { font: 600 4.4rem/1 'Marcellus', serif; color: transparent; -webkit-text-stroke: 1.2px var(--gold); }
.w-head .eyebrow { margin-bottom: 4px; font-size: .68rem; }
.w-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 4px; }
.w-head p { margin: 0; color: var(--muted); font-size: .98rem; }
.w-head .h-ico { width: 56px; height: 56px; font-size: 1.4rem; }

.w-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 28px; }
.w-fields .field.wide { grid-column: 1 / -1; }
.w-fields label { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; margin-bottom: 8px; }
html[lang="hi"] .w-fields label { font-size: .9rem; letter-spacing: 0; text-transform: none; }
.w-fields input[type=text], .w-fields input[type=tel], .w-fields input[type=date], .w-fields input[type=time], .w-fields input[type=number], .w-fields select, .w-fields textarea { padding: 14px 16px; border-radius: 4px; border: 1px solid #decfb8; border-bottom: 2px solid var(--gold); background-color: #fff; font-size: 1.05rem; }
.w-fields input:focus, .w-fields select:focus, .w-fields textarea:focus { border-color: var(--wine); border-bottom-color: var(--wine); box-shadow: 0 10px 24px -14px rgba(94, 20, 40, .55); }
.w-fields textarea { min-height: 150px; }

/* Choice chips instead of small dropdowns */
.w-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.w-chips label { margin: 0; cursor: pointer; text-transform: none; letter-spacing: 0; }
.w-chips input { position: absolute; opacity: 0; pointer-events: none; }
.w-chips span { display: inline-flex; align-items: center; gap: 9px; padding: 11px 22px; border-radius: 999px; border: 1px solid #decfb8; background: #fff; color: var(--ink); font: 500 1rem var(--sans); transition: all .25s cubic-bezier(.2, .7, .2, 1); }
.w-chips span::before { content: ''; width: 9px; height: 9px; transform: rotate(45deg); border: 1px solid var(--gold); background: transparent; transition: background .25s; }
.w-chips label:hover span { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.w-chips input:checked + span { color: #fff; border-color: var(--gold); background: linear-gradient(135deg, var(--wine), var(--wine-800)); box-shadow: 0 12px 24px -12px rgba(94, 20, 40, .8); }
.w-chips input:checked + span::before { background: var(--gold-grad); border-color: transparent; }
.w-chips input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Photos step */
.w-photos { display: grid; grid-template-columns: 250px 1fr; gap: 40px; align-items: start; }
.w-photo-main { position: relative; text-align: center; }
.w-photo-main .seal { top: 16px; left: 16px; }
.w-photo-main .mini { margin-top: 14px; }
.w-frame { position: relative; display: block; margin: 0; padding: 8px; cursor: pointer; background: #fff; border: 1px solid var(--gold); box-shadow: var(--shadow); border-radius: 130px 130px 12px 12px; overflow: hidden; }
.w-frame img, .w-frame .w-empty { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; border-radius: 122px 122px 6px 6px; }
.w-frame .w-empty { display: grid; }
.w-frame-over { position: absolute; left: 8px; right: 8px; bottom: 8px; padding: 34px 10px 14px; display: flex; align-items: center; justify-content: center; gap: 8px; color: #fff; font: 600 .86rem var(--sans); text-transform: none; letter-spacing: 0; background: linear-gradient(180deg, transparent, rgba(18, 4, 12, .9)); border-radius: 0 0 6px 6px; transition: padding .3s; }
.w-frame:hover .w-frame-over { padding-bottom: 22px; }
.w-frame input, .w-add input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.w-photos h3 { font-size: 1.2rem; margin-bottom: 14px; }
.w-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 14px; }
.w-gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: 10px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.w-gallery figure img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.w-gallery figcaption { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; padding: 8px 6px; }
.w-gallery figure.w-new { border-color: var(--gold); }
.w-gallery figure.w-new::after { content: attr(data-tag); position: absolute; left: 6px; top: 6px; padding: 1px 9px; border-radius: 999px; background: var(--gold-grad); color: var(--wine-900); font: 700 .62rem var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.w-add { position: relative; margin: 0; aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer; border-radius: 10px; border: 1.5px dashed var(--gold); background: var(--ivory); color: var(--wine); text-transform: none; letter-spacing: 0; transition: background .25s, transform .25s; }
.w-add:hover { background: #fff; transform: translateY(-3px); }
.w-add b { font: 400 2.4rem/1 'Marcellus', serif; color: var(--gold-deep); }
.w-add span { font: 600 .8rem var(--sans); }

.w-foot { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.w-hint { text-align: center; font-size: .86rem; color: var(--muted); }

/* Live preview */
.w-aside { position: sticky; top: 196px; }
.w-aside > .eyebrow { display: block; text-align: center; margin-bottom: 12px; }
.w-preview { overflow: hidden; border-radius: 20px; background: var(--paper); border: 1px solid rgba(200, 164, 92, .7); box-shadow: var(--shadow-lg); transform: rotate(1.2deg); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.w-aside:hover .w-preview { transform: rotate(0); }
.w-preview-media { position: relative; aspect-ratio: 4 / 4.5; background: var(--wine-900); }
.w-preview-media img, .w-preview-media .w-empty { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.w-preview-media .w-empty { display: grid; }
.w-preview .pcard-over p span:not(:empty) + span:not(:empty)::before { content: '\00b7  '; }
.w-preview [data-pv] { transition: color .3s; }
.w-aside-note { text-align: center; font-size: .86rem; color: var(--muted); margin: 18px 6px 0; }

@media (max-width: 1100px) {
    .w-layout { grid-template-columns: 1fr; }
    .w-aside { display: none; }
}
@media (max-width: 960px) {
    .w-stepper-wrap { top: 70px; }
    .w-hero { padding: 40px 0 82px; }
}
@media (max-width: 720px) {
    .w-card { padding: 34px 22px 26px; }
    .w-fields, .w-photos { grid-template-columns: 1fr; }
    .w-photo-main { max-width: 230px; margin: 0 auto; }
    .w-ghost { font-size: 3rem; }
    .w-head { gap: 14px; }
    .w-head .h-ico { display: none; }
    .w-id .avatar.lg { width: 76px; height: 76px; }
    .w-score { width: 100%; justify-content: space-between; }
    .w-foot { grid-template-columns: 1fr 1fr; }
    .w-hint { display: none; }
    .w-foot .btn { padding: 12px 14px; }
    .w-stepper { padding: 12px 8px; border-radius: 16px; }
    .w-stepper i { width: 32px; height: 32px; font-size: .85rem; }
    .w-stepper li + li::before { top: 16px; }
}

/* ================= Toast messages (replace the in-page flash strip) ================= */
.toasts { position: fixed; z-index: 80; top: 112px; right: 22px; display: grid; gap: 12px; width: min(420px, calc(100vw - 32px)); pointer-events: none; }
.toast { pointer-events: auto; display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 14px; padding: 16px 14px 16px 16px; border-radius: 16px; color: #f3e6dc; background: linear-gradient(150deg, #1a0610, #3a0d1d); border: 1px solid rgba(200, 164, 92, .65); border-left: 4px solid var(--gold); box-shadow: 0 26px 50px -18px rgba(0, 0, 0, .7); animation: toastIn .55s cubic-bezier(.2, .9, .3, 1.2) both; font-weight: 500; line-height: 1.45; word-break: break-word; }
.toast i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 700; color: var(--wine-900); background: var(--gold-grad); }
.toast i .ico { font-size: .95rem; }
.toast span { padding-top: 3px; }
.toast button { border: 0; background: none; color: #cdb6ab; font-size: 1.4rem; line-height: 1; cursor: pointer; padding: 2px 6px; border-radius: 8px; }
.toast button:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.toast-warn { border-left-color: #e0a93b; }
.toast-warn i { background: #e0a93b; }
.toast-bad { border-left-color: #e0605a; }
.toast-bad i { background: #e0605a; color: #fff; }
/* Success messages leave by themselves; warnings and errors stay until closed. */
.toast-ok { animation: toastIn .55s cubic-bezier(.2, .9, .3, 1.2) both, toastOut .5s ease 5.5s forwards; }
.toast.bye { animation: toastOut .35s ease forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateX(40px); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(40px); visibility: hidden; } }
@media (max-width: 960px) { .toasts { top: 84px; right: 16px; } }

/* ================= Account page ================= */
.a-stats { display: flex; gap: 14px; flex-wrap: wrap; }
.a-stats a { position: relative; min-width: 132px; padding: 18px 20px 16px; border-radius: 18px; text-decoration: none; color: #ead8cd; text-align: left; background: linear-gradient(160deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .04)); border: 1px solid rgba(236, 217, 168, .32); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform .3s, border-color .3s; }
.a-stats a:hover { transform: translateY(-4px); border-color: var(--gold); }
.a-stats .ico { position: absolute; right: 16px; top: 16px; color: var(--gold); font-size: 1.1rem; }
.a-stats b { display: block; font: 600 2.3rem/1 'Marcellus', serif; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.a-stats span { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }
.a-page { margin-top: -46px; position: relative; z-index: 3; padding-top: 0; }
.a-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.a-col { display: grid; gap: 30px; }
.a-box { padding: 38px 40px 34px; }
.a-box .w-head { margin-bottom: 22px; padding-bottom: 20px; }
.a-box .w-head h2 { font-size: 1.6rem; }
.a-rows { list-style: none; margin: 0; padding: 0; }
.a-rows li { display: flex; align-items: center; gap: 16px; padding: 15px 0; border-bottom: 1px dashed var(--line); }
.a-rows li:last-child { border-bottom: 0; padding-bottom: 0; }
.a-rows li > .ico { width: 40px; height: 40px; padding: 10px; border-radius: 50%; color: var(--wine); background: var(--sand); box-shadow: 0 0 0 1px rgba(200, 164, 92, .6); }
.a-rows li > div { flex: 1; min-width: 0; }
.a-rows small { display: block; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; }
.a-rows b { font-weight: 600; font-size: 1.06rem; word-break: break-word; }
.a-rows .mini { text-decoration: none; }
.a-tip { display: flex; gap: 12px; align-items: flex-start; margin: 20px 0 0; padding: 14px 16px; border-radius: 10px; background: #fff5df; border: 1px solid #efd7a2; color: var(--warn); font-size: .93rem; }
.a-tip .ico { margin-top: 3px; }
.a-lang { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.a-lang a { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 6px; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid #decfb8; border-bottom: 2px solid var(--gold); transition: all .3s; }
.a-lang a b { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font: 600 1.3rem 'Marcellus', 'Tiro Devanagari Hindi', serif; color: var(--wine); background: var(--sand); }
.a-lang a span { font-weight: 600; font-size: 1.05rem; }
.a-lang a:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.a-lang a.on { color: #fff; border-color: var(--gold); background: linear-gradient(135deg, var(--wine), var(--wine-800)); box-shadow: 0 16px 30px -16px rgba(94, 20, 40, .8); }
.a-lang a.on b { background: var(--gold-grad); color: var(--wine-900); }
.a-box .pw input { padding-right: 84px; }
.a-strength { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: -6px 0 14px; }
.a-strength i { height: 5px; border-radius: 5px; background: var(--line); transition: background .3s; }
.a-strength span { grid-column: 1 / -1; font-size: .84rem; color: var(--muted); margin-top: 2px; }
.a-strength[data-level="1"] i:nth-child(-n+1) { background: #c0504a; }
.a-strength[data-level="2"] i:nth-child(-n+2) { background: #d9a441; }
.a-strength[data-level="3"] i:nth-child(-n+3) { background: #7fb069; }
.a-strength[data-level="4"] i:nth-child(-n+4) { background: var(--gold-deep); }
.a-danger { border-radius: 6px; border: 1px solid #e7b9b5; background: linear-gradient(180deg, #fff8f7, var(--paper)); overflow: hidden; }
.a-danger summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 20px 24px; }
.a-danger summary::-webkit-details-marker { display: none; }
.a-danger summary > div { flex: 1; }
.a-danger summary b { display: block; font: 600 1.2rem 'Marcellus', serif; color: var(--bad); }
.a-danger summary small { color: var(--muted); font-size: .88rem; }
.a-danger summary .h-ico { color: var(--bad); box-shadow: 0 0 0 1px #e7b9b5, 0 0 0 5px rgba(179, 38, 30, .07); }
.a-danger summary > .ico { color: var(--bad); transition: transform .3s; }
.a-danger[open] summary > .ico { transform: rotate(180deg); }
.a-danger-body { padding: 4px 24px 26px; border-top: 1px dashed #e7b9b5; }
.a-danger-body p { color: var(--muted); margin: 18px 0; }
@media (max-width: 960px) {
    .a-grid { grid-template-columns: 1fr; }
    .a-stats { width: 100%; }
    .a-stats a { flex: 1; min-width: 0; padding: 14px; }
    .a-box { padding: 30px 22px 26px; }
}

/* ================= Browse page ================= */
.b-hero { padding: 58px 0 118px; }
.b-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.8vw, 3.6rem); margin: 0 0 8px; }
.b-hero h1 em { font-style: italic; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.b-hero .eyebrow { color: var(--gold-light); }
.b-hero .w-note { font-size: 1.08rem; margin: 0; }
.b-page { margin-top: -84px; position: relative; z-index: 3; padding-top: 0; }
.b-dock { position: relative; padding: 22px 24px 0; margin-bottom: 30px; border-radius: 26px; background: rgba(255, 253, 249, .98); border: 1px solid rgba(200, 164, 92, .7); box-shadow: var(--shadow-lg); }
.b-dock::before { content: ''; position: absolute; inset: 8px; border-radius: 19px; border: 1px solid rgba(200, 164, 92, .25); pointer-events: none; }
.b-row { position: relative; display: grid; grid-template-columns: auto 190px 1fr 1fr auto; gap: 14px; align-items: end; }
.b-f label, .b-more .field label { display: block; font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; margin-bottom: 6px; }
html[lang="hi"] .b-f label, html[lang="hi"] .b-more .field label { font-size: .86rem; letter-spacing: 0; text-transform: none; }
.b-dock input[type=text], .b-dock input[type=number], .b-dock select { height: 54px; border-radius: 14px; background-color: #fff; }
.b-age > div { display: flex; align-items: center; gap: 6px; }
.b-age i { font-style: normal; color: var(--gold-deep); }
.b-age input { text-align: center; padding: 12px 6px; }
.b-seg { display: grid; grid-template-columns: 1fr 1fr; height: 54px; padding: 5px; border-radius: 14px; background: var(--sand); border: 1px solid #decfb8; }
.b-seg label { margin: 0; cursor: pointer; }
.b-seg input { position: absolute; opacity: 0; pointer-events: none; }
.b-seg span { display: grid; place-items: center; height: 100%; padding: 0 22px; border-radius: 10px; font: 600 .98rem var(--sans); color: #6a4c1a; transition: all .3s cubic-bezier(.2, .7, .2, 1); }
.b-seg input:checked + span { color: #fff; background: linear-gradient(135deg, var(--wine), var(--wine-800)); box-shadow: 0 10px 20px -10px rgba(94, 20, 40, .8); }
.b-seg input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.b-go { height: 54px; padding: 0 30px; border-radius: 14px; }
.b-row2 { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 16px; }
.b-toggles { display: flex; flex-wrap: wrap; gap: 8px; }
.b-toggle { margin: 0; cursor: pointer; }
.b-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.b-toggle span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; border: 1px solid #decfb8; background: #fff; color: #4c3a3e; font: 500 .9rem var(--sans); transition: all .25s; }
.b-toggle span .ico { color: var(--gold-deep); }
.b-toggle:hover span { border-color: var(--gold); }
.b-toggle input:checked + span { color: var(--wine-900); border-color: transparent; background: var(--gold-grad); font-weight: 600; box-shadow: 0 8px 18px -10px rgba(156, 118, 48, .9); }
.b-toggle input:checked + span .ico { color: var(--wine-800); }
.b-toggle input:focus-visible + span { outline: 2px solid var(--wine); outline-offset: 2px; }
.b-more-btn { display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px; border-radius: 999px; border: 1px dashed var(--gold); background: none; color: var(--wine); font: 600 .9rem var(--sans); cursor: pointer; transition: background .25s; }
.b-more-btn:hover, .b-more-btn.has { background: var(--sand); }
.b-more-btn b { min-width: 20px; height: 20px; border-radius: 999px; display: grid; place-items: center; background: var(--wine); color: #fff; font-size: .7rem; }
.b-more-btn .ico:last-child { transition: transform .3s; font-size: .85rem; }
.b-more-btn[aria-expanded="true"] .ico:last-child { transform: rotate(180deg); }
.b-more { position: relative; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.2, .7, .2, 1); }
.b-more > * { min-height: 0; }
.b-more.open { grid-template-rows: 1fr; }
.b-more-grid { overflow: hidden; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0 14px; }
.b-more.open .b-more-grid { margin-top: 20px; padding-top: 20px; border-top: 1px dashed var(--line); overflow: visible; }
.b-more .field { margin-bottom: 14px; }
.b-more-foot { display: none; justify-content: space-between; align-items: center; padding-bottom: 6px; }
.b-more.open .b-more-foot { display: flex; }
.b-more:not(.open) .b-more-grid { visibility: hidden; height: 0; }
.b-bar { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin: 18px -24px 0; padding: 14px 28px; border-top: 1px solid var(--line); border-radius: 0 0 26px 26px; background: linear-gradient(180deg, var(--sand), #fbf5ea); }
.b-count { display: flex; align-items: baseline; gap: 12px; }
.b-count b { font: 700 1.9rem/1 'Marcellus', serif; color: var(--wine); }
.b-count span { color: var(--muted); font-size: .95rem; }
.b-sort { display: flex; align-items: center; gap: 12px; }
.b-sort label { margin: 0; font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; white-space: nowrap; }
.b-dock .b-sort select { height: 42px; padding-top: 0; padding-bottom: 0; min-width: 230px; border-radius: 999px; }
.b-cards { grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* Card badges */
.pcard-guna { position: absolute; top: 12px; right: 12px; width: 62px; height: 62px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; color: #fff; background: radial-gradient(circle at 30% 25%, rgba(69, 16, 31, .92), rgba(18, 4, 12, .94)); box-shadow: 0 0 0 2px var(--gold), 0 0 0 5px rgba(18, 4, 12, .45), 0 10px 22px -6px rgba(0, 0, 0, .7); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.pcard:hover .pcard-guna { transform: scale(1.1) rotate(-6deg); }
.pcard-guna b { font: 700 1.25rem/1 'Marcellus', serif; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pcard-guna small { font-size: .56rem; letter-spacing: .08em; color: var(--gold-light); margin-top: 3px; }
.pcard-new { position: absolute; left: 0; bottom: 96px; padding: 3px 14px 3px 12px; border-radius: 0 999px 999px 0; background: #d0587b; color: #fff; font: 700 .64rem var(--sans); letter-spacing: .14em; text-transform: uppercase; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .6); }
.pcard-gotra { margin: 12px 0 0 !important; padding-top: 12px; border-top: 1px dashed var(--line); font-size: .84rem !important; font-weight: 600; align-items: center !important; gap: 9px !important; }
.pcard-gotra i { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.pcard-gotra.ok { color: var(--ok) !important; } .pcard-gotra.ok i { background: #3fa372; box-shadow: 0 0 0 4px rgba(63, 163, 114, .18); }
.pcard-gotra.warn { color: var(--warn) !important; } .pcard-gotra.warn i { background: #e0a93b; box-shadow: 0 0 0 4px rgba(224, 169, 59, .2); }
.pcard-gotra.bad { color: var(--bad) !important; } .pcard-gotra.bad i { background: #d6504a; box-shadow: 0 0 0 4px rgba(214, 80, 74, .18); }

.b-pager { gap: 8px; flex-wrap: wrap; }
.b-pg { min-width: 42px; height: 42px; padding: 0 10px; border-radius: 50%; display: grid; place-items: center; text-decoration: none; font: 600 1rem 'Marcellus', serif; color: var(--wine); border: 1px solid var(--line); background: var(--paper); transition: all .25s; }
.b-pg:hover { border-color: var(--gold); }
.b-pg.on { color: var(--wine-900); background: var(--gold-grad); border-color: transparent; box-shadow: 0 8px 18px -8px rgba(156, 118, 48, .9); }

@media (max-width: 1180px) { .b-cards { grid-template-columns: repeat(3, 1fr); } .b-more-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 960px) {
    .b-row { grid-template-columns: 1fr 1fr; }
    .b-seg, .b-go { grid-column: 1 / -1; }
    .b-cards { grid-template-columns: repeat(2, 1fr); }
    .b-more-grid { grid-template-columns: 1fr 1fr; }
    .b-hero { padding: 40px 0 104px; }
}
@media (max-width: 560px) {
    .b-dock { padding: 16px 16px 0; border-radius: 20px; }
    .b-bar { margin: 16px -16px 0; padding: 12px 18px; border-radius: 0 0 20px 20px; }
    .b-cards { grid-template-columns: 1fr; }
    .b-dock .b-sort select { min-width: 0; }
    .b-sort label { display: none; }
}

/* ================= Contact page ================= */
.c-hero { padding: 76px 0 150px; }
.c-hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.9rem); margin: 0 0 10px; }
.c-hero h1 em { font-style: italic; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
html[lang="hi"] .c-hero h1 em { font-style: normal; }
.c-hero .w-note { font-size: 1.12rem; max-width: 600px; margin: 0; }
.c-page { margin-top: -104px; position: relative; z-index: 3; padding-top: 0; }
.c-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 34px; align-items: stretch; }
.c-form .w-ghost { font-size: 3.4rem; font-family: 'Tiro Devanagari Hindi', serif; }
.c-form textarea { min-height: 170px; }
.c-count { display: block; text-align: right; font-size: .8rem; color: var(--muted); margin-top: 6px; }
.c-count b { color: var(--wine); }
.c-send { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; margin: 6px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.c-send span { display: inline-flex; align-items: center; gap: 9px; font-size: .88rem; color: var(--muted); }
.c-send .ico { color: var(--gold-deep); }
.c-done { text-align: center; padding: 40px 10px 30px; }
.c-done-ring { width: 96px; height: 96px; margin: 0 auto 24px; border-radius: 50%; display: grid; place-items: center; font-size: 2.4rem; color: var(--wine-900); background: var(--gold-grad); box-shadow: 0 0 0 8px rgba(200, 164, 92, .18), 0 0 0 16px rgba(200, 164, 92, .08), 0 18px 40px -14px rgba(156, 118, 48, .9); animation: donePop .7s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes donePop { from { transform: scale(.4); opacity: 0; } }
.c-done h2 { font-size: 2rem; }
.c-done p { color: var(--muted); max-width: 440px; margin: 0 auto 26px; }

.c-side { position: relative; overflow: hidden; padding: 44px 38px 38px; border-radius: 6px; color: #ead8cd; background: radial-gradient(ellipse 80% 50% at 80% 0%, rgba(200, 164, 92, .26), transparent 64%), linear-gradient(165deg, #12040c, #2a0b1a 55%, #45101f); border: 1px solid var(--gold); box-shadow: var(--shadow-lg); }
.c-side::before { content: ''; position: absolute; inset: 9px; border: 1px solid rgba(236, 217, 168, .28); pointer-events: none; }
.c-side::after { content: ''; position: absolute; right: -150px; bottom: -150px; width: 400px; height: 400px; background: url(mandala.svg) center / contain no-repeat; opacity: .16; animation: spin 200s linear infinite; }
.c-side > * { position: relative; z-index: 2; }
.c-side .eyebrow { color: var(--gold-light); }
.c-side h2 { color: #fff; font-size: 1.9rem; }
.c-side .ornament { justify-content: flex-start; margin: 4px 0 26px; }
.c-side .ornament::before { display: none; }
.c-side .ornament::after { background: linear-gradient(90deg, transparent, var(--gold-light)); width: 110px; }
.c-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.c-side li { display: flex; gap: 18px; align-items: flex-start; }
.c-ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 1.15rem; color: var(--wine-900); background: var(--gold-grad); box-shadow: 0 0 0 5px rgba(200, 164, 92, .16); }
.c-side li b { display: block; font: 600 1.16rem 'Marcellus', serif; color: #fff; margin-bottom: 3px; }
.c-side li p { margin: 0; font-size: .95rem; font-weight: 300; color: #dcc7bc; }
.c-phone { display: flex; align-items: center; gap: 16px; margin-top: 30px; padding: 16px 20px; border-radius: 14px; text-decoration: none; color: #fff; background: rgba(255, 255, 255, .07); border: 1px solid rgba(236, 217, 168, .35); transition: background .25s, border-color .25s; }
.c-phone:hover { background: rgba(255, 255, 255, .14); border-color: var(--gold); }
.c-phone > .ico { font-size: 1.4rem; color: var(--gold); }
.c-phone small { display: block; font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); }
.c-phone b { font: 600 1.4rem 'Marcellus', serif; }
.c-faq { max-width: 860px; margin: 96px auto 0; }
@media (max-width: 960px) {
    .c-grid { grid-template-columns: 1fr; }
    .c-hero { padding: 48px 0 130px; }
    .c-side { padding: 36px 26px 30px; }
    .c-faq { margin-top: 64px; }
}
@media (prefers-reduced-motion: reduce) { .c-side::after, .c-done-ring { animation: none; } }

/* Number captcha */
.c-captcha { display: grid; grid-template-columns: auto auto 1fr; gap: 12px; align-items: stretch; }
.c-captcha img { display: block; height: 58px; width: auto; border-radius: 4px; border: 1px solid var(--gold); box-shadow: inset 0 0 0 3px #fff; background: #fbf5ea; }
.c-cap-new { width: 58px; border-radius: 4px; border: 1px solid #decfb8; background: #fff; color: var(--wine); font-size: 1.5rem; cursor: pointer; transition: transform .5s cubic-bezier(.2, .7, .2, 1), border-color .25s, background .25s; }
.c-cap-new:hover { border-color: var(--gold); background: var(--sand); transform: rotate(180deg); }
.w-fields .c-captcha input { height: 58px; text-align: center; font: 600 1.5rem 'Marcellus', serif; letter-spacing: .4em; padding: 0 10px; }
@media (max-width: 560px) { .c-captcha { grid-template-columns: 1fr auto; } .c-captcha input { grid-column: 1 / -1; } .c-captcha img { width: 100%; height: auto; } }

/* ================= FAQ panel ================= */
.fq { position: relative; overflow: hidden; margin-top: 90px; padding: 70px 64px; border-radius: 34px; color: #ead8cd; background: radial-gradient(ellipse 55% 70% at 8% 20%, rgba(200, 164, 92, .24), transparent 62%), radial-gradient(ellipse 60% 80% at 100% 100%, rgba(140, 37, 69, .6), transparent 62%), linear-gradient(155deg, #0d0308, #230a1c 50%, #45101f); border: 1px solid rgba(200, 164, 92, .6); box-shadow: var(--shadow-lg); }
.fq::before { content: ''; position: absolute; inset: 12px; border-radius: 24px; border: 1px solid rgba(236, 217, 168, .22); pointer-events: none; }
.fq .mandala { width: 560px; left: -230px; bottom: -260px; opacity: .16; }
.fq-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.fq-intro { position: sticky; top: 130px; }
.fq-mark { width: 74px; height: 74px; margin-bottom: 26px; border-radius: 50%; display: grid; place-items: center; font: italic 600 2.3rem 'Marcellus', serif; color: var(--wine-900); background: var(--gold-grad); box-shadow: 0 0 0 7px rgba(200, 164, 92, .16), 0 0 0 14px rgba(200, 164, 92, .07), 0 0 40px rgba(226, 201, 140, .35); }
.fq-intro .eyebrow { color: var(--gold-light); }
.fq-intro h2 { color: #fff; font-size: clamp(2rem, 3.8vw, 3rem); }
.fq-intro .ornament { justify-content: flex-start; margin: 4px 0 22px; }
.fq-intro .ornament::before { display: none; }
.fq-intro .ornament::after { width: 120px; background: linear-gradient(90deg, transparent, var(--gold-light)); }
.fq-intro p { font-size: 1.08rem; font-weight: 300; color: #dcc7bc; margin-bottom: 28px; max-width: 360px; }
.fq-list { border-top: 1px solid rgba(236, 217, 168, .25); }
.fq-list details { position: relative; border-bottom: 1px solid rgba(236, 217, 168, .25); transition: background .35s; }
.fq-list details::before { content: ''; position: absolute; left: 0; top: -1px; bottom: -1px; width: 3px; background: var(--gold-grad); transform: scaleY(0); transform-origin: top; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.fq-list details[open] { background: linear-gradient(90deg, rgba(255, 255, 255, .07), transparent 85%); }
.fq-list details[open]::before { transform: scaleY(1); }
.fq-list summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding: 28px 8px 28px 26px; }
.fq-list summary::-webkit-details-marker { display: none; }
.fq-no { font: 600 2.5rem/1 'Marcellus', serif; color: transparent; -webkit-text-stroke: 1px var(--gold); transition: color .35s; }
.fq-list details[open] .fq-no, .fq-list summary:hover .fq-no { color: rgba(226, 201, 140, .32); }
.fq-q { font: 600 1.32rem/1.3 'Marcellus', serif; color: #fff; transition: color .3s; }
html[lang="hi"] .fq-q { font: 400 1.22rem/1.5 'Tiro Devanagari Hindi', serif; }
.fq-list summary:hover .fq-q, .fq-list details[open] .fq-q { color: var(--gold-light); }
.fq-tog { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(236, 217, 168, .5); transition: background .35s, transform .45s cubic-bezier(.2, .7, .2, 1), border-color .35s; }
.fq-tog::before, .fq-tog::after { content: ''; position: absolute; left: 50%; top: 50%; width: 15px; height: 1.5px; margin: -.75px 0 0 -7.5px; background: var(--gold-light); transition: transform .45s cubic-bezier(.2, .7, .2, 1), background .35s; }
.fq-tog::after { transform: rotate(90deg); }
.fq-list details[open] .fq-tog { background: var(--gold-grad); border-color: transparent; transform: rotate(180deg); }
.fq-list details[open] .fq-tog::before, .fq-list details[open] .fq-tog::after { background: var(--wine-900); }
.fq-list details[open] .fq-tog::after { transform: rotate(0); }
.fq-a { padding: 0 78px 30px 102px; animation: fqIn .5s cubic-bezier(.2, .7, .2, 1); }
.fq-a p { margin: 0; font-size: 1.05rem; font-weight: 300; line-height: 1.75; color: #e6d3c8; }
@keyframes fqIn { from { opacity: 0; transform: translateY(-10px); } }
@media (max-width: 960px) {
    .fq { padding: 46px 26px; border-radius: 24px; margin-top: 60px; }
    .fq::before { inset: 8px; border-radius: 18px; }
    .fq-grid { grid-template-columns: 1fr; gap: 36px; }
    .fq-intro { position: static; }
    .fq-list summary { gap: 16px; padding: 22px 4px 22px 16px; }
    .fq-no { font-size: 1.9rem; }
    .fq-q { font-size: 1.12rem; }
    .fq-tog { width: 38px; height: 38px; }
    .fq-a { padding: 0 16px 24px 16px; }
}

/* Score guide as a row of four cards (kundli page) */
.k-bands.row { grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; }
.k-bands.row > div { position: relative; overflow: hidden; flex-direction: column; align-items: flex-start; gap: 6px; padding: 30px 26px 34px; border-radius: 22px; border: 1px solid var(--line); border-left: 1px solid var(--line); border-top: 4px solid; background: var(--paper); box-shadow: var(--shadow-sm); transition: transform .4s cubic-bezier(.2, .7, .2, 1), box-shadow .4s; }
.k-bands.row > div:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.k-bands.row b { min-width: 0; font: 600 2.6rem/1 'Marcellus', serif; }
.k-bands.row span { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
html[lang="hi"] .k-bands.row span { font-size: .95rem; letter-spacing: 0; text-transform: none; }
.k-bands.row i { position: absolute; left: 0; bottom: 0; height: 5px; border-radius: 0 5px 0 0; }
.k-bands.row .bad { border-top-color: #c0504a; } .k-bands.row .bad i { background: #c0504a; } .k-bands.row .bad b { color: #a8403a; }
.k-bands.row .warn { border-top-color: #d9a441; } .k-bands.row .warn i { background: #d9a441; } .k-bands.row .warn b { color: #9a6200; }
.k-bands.row .ok { border-top-color: #7fb069; } .k-bands.row .ok i { background: #7fb069; } .k-bands.row .ok b { color: #3f7a34; }
.k-bands.row .best { border-top-color: var(--gold-deep); } .k-bands.row .best i { background: var(--gold-grad); } .k-bands.row .best b { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 960px) { .k-bands.row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .k-bands.row { grid-template-columns: 1fr; } }

/* ================= Callout strip ================= */
.callout { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; padding: 22px 28px; margin-bottom: 28px; border-radius: 22px; color: #ead8cd; background: radial-gradient(ellipse 50% 140% at 0% 50%, rgba(200, 164, 92, .28), transparent 62%), linear-gradient(120deg, #1a0610, #3a0d1d 55%, #5e1428); border: 1px solid rgba(200, 164, 92, .65); box-shadow: var(--shadow); }
.callout::before { content: ''; position: absolute; inset: 6px; border-radius: 17px; border: 1px solid rgba(236, 217, 168, .2); pointer-events: none; }
.callout::after { content: ''; position: absolute; right: -60px; top: 50%; width: 260px; height: 260px; margin-top: -130px; background: url(mandala.svg) center / contain no-repeat; opacity: .16; animation: spin 160s linear infinite; pointer-events: none; }
.callout > * { position: relative; z-index: 1; }
.callout-ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 1.4rem; color: var(--wine-900); background: var(--gold-grad); box-shadow: 0 0 0 6px rgba(200, 164, 92, .16), 0 0 30px rgba(226, 201, 140, .4); }
.callout b { display: block; font: 600 1.28rem/1.25 'Marcellus', serif; color: #fff; margin-bottom: 3px; }
html[lang="hi"] .callout b { font: 400 1.2rem/1.5 'Tiro Devanagari Hindi', serif; }
.callout p { margin: 0; font-weight: 300; color: #e2cfc4; }
.callout .btn { white-space: nowrap; }
/* The plain notice, used elsewhere, gets a matching accent */
.notice { position: relative; padding: 15px 20px 15px 24px; border-radius: 14px; overflow: hidden; }
.notice::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--gold-grad); }
.notice.ok::before { background: #3fa372; } .notice.bad::before { background: #d6504a; } .notice.warn::before { background: #e0a93b; }
@media (max-width: 720px) { .callout { grid-template-columns: auto 1fr; padding: 20px; } .callout .btn { grid-column: 1 / -1; } }
@media (prefers-reduced-motion: reduce) { .callout::after { animation: none; } }

/* ================= Home: seven promises showcase ================= */
.h-vachan { padding-bottom: 110px; }
.vachan { display: grid; grid-template-columns: 370px 1fr; border-radius: 30px; overflow: hidden; background: var(--paper); border: 1px solid rgba(200, 164, 92, .6); box-shadow: var(--shadow-lg); }
.vachan-list { list-style: none; margin: 0; padding: 14px 0; background: linear-gradient(180deg, #fffdf9, #f8f0e2); border-right: 1px solid var(--line); }
.vachan-list button { position: relative; width: 100%; display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 16px; padding: 17px 26px 17px 28px; border: 0; background: none; cursor: pointer; text-align: left; transition: background .35s; }
.vachan-list li + li button { border-top: 1px solid var(--line); }
.vn { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font: 400 1.5rem/1 'Tiro Devanagari Hindi', serif; color: var(--gold-deep); background: #fff; border: 1px solid #decfb8; transition: all .4s cubic-bezier(.2, .7, .2, 1); }
.vt small { display: block; font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: var(--gold-deep); }
html[lang="hi"] .vt small { font-size: .8rem; letter-spacing: 0; text-transform: none; }
.vt b { font: 600 1.12rem/1.3 'Marcellus', serif; color: var(--wine-800); transition: color .3s; }
html[lang="hi"] .vt b { font: 400 1.1rem/1.5 'Tiro Devanagari Hindi', serif; }
.vachan-list button:hover { background: rgba(200, 164, 92, .1); }
.vachan-list li.on button { background: linear-gradient(90deg, rgba(200, 164, 92, .22), transparent); }
.vachan-list li.on .vn { color: var(--gold-light); background: radial-gradient(circle at 30% 25%, var(--wine), var(--wine-900)); border-color: var(--gold); transform: scale(1.08); box-shadow: 0 0 0 5px rgba(200, 164, 92, .18), 0 10px 22px -8px rgba(94, 20, 40, .8); }
.vachan-list li.on .vt b { color: var(--wine); }
.vbar { position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--gold-grad); transform: scaleY(0); transform-origin: top; }
.vachan-list li.on .vbar { transform: scaleY(1); }
.vachan.auto .vachan-list li.on .vbar { animation: vfill 6s linear both; }
@keyframes vfill { from { transform: scaleY(0); } to { transform: scaleY(1); } }

.vachan-stage { position: relative; overflow: hidden; min-height: 560px; color: #ead8cd; background: radial-gradient(ellipse 55% 70% at 78% 45%, rgba(200, 164, 92, .24), transparent 64%), radial-gradient(ellipse 60% 80% at 0% 100%, rgba(140, 37, 69, .55), transparent 62%), linear-gradient(155deg, #0d0308, #230a1c 50%, #45101f); }
.vachan-stage .mandala { width: 620px; right: -220px; bottom: -260px; opacity: .14; }
.vachan-panel { position: relative; z-index: 2; height: 100%; min-height: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 56px 56px 56px 60px; }
.js .vachan-panel { display: none; }
.js .vachan-panel.on { display: grid; animation: vIn .7s cubic-bezier(.2, .7, .2, 1); }
@keyframes vIn { from { opacity: 0; transform: translateX(30px); } }
.vghost { position: absolute; right: 30px; top: 6px; font: 400 13rem/1 'Tiro Devanagari Hindi', serif; color: transparent; -webkit-text-stroke: 1px rgba(226, 201, 140, .28); pointer-events: none; }
.vachan-text .ring { width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 22px; font-size: 1.6rem; color: var(--wine-900); background: var(--gold-grad); box-shadow: 0 0 0 7px rgba(200, 164, 92, .16), 0 0 36px rgba(226, 201, 140, .4); }
.vachan-text .eyebrow { color: var(--gold-light); margin-bottom: 8px; }
.vachan-text h3 { color: #fff; font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin-bottom: .4em; }
.vachan-text p { font-size: 1.1rem; font-weight: 300; color: #e2cfc4; margin: 0; }
.vachan-mock { display: grid; place-items: center; }
.vachan-mock .bn-mock { margin: 0; }
.vachan-mock .bn-mock.checks { width: 100%; max-width: 300px; padding: 26px; transform: rotate(2deg); }
.vachan-mock .bn-mock.checks span { font-size: 1.02rem; padding-bottom: 12px; }
.vachan-mock .k-wheel { width: 100%; max-width: 330px; }
.vachan-mock .k-score b { font-size: 3.3rem; }
.v-gotra { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; width: 100%; max-width: 330px; text-align: center; }
.v-gotra > div { padding: 20px 10px; border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(236, 217, 168, .35); }
.v-gotra small { display: block; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); font-weight: 700; }
.v-gotra b { font: 600 1.25rem 'Marcellus', serif; color: #fff; }
.v-gotra i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--wine-900); background: var(--gold-grad); font-style: normal; }
.v-gotra .pill { grid-column: 1 / -1; justify-self: center; margin-top: 6px; font-size: .9rem; padding: 6px 20px; }
.v-lock { display: grid; justify-items: center; gap: 18px; text-align: center; }
.v-lock-ico { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; font-size: 2rem; color: var(--gold-light); border: 1px solid rgba(236, 217, 168, .5); background: rgba(255, 255, 255, .06); box-shadow: 0 0 0 10px rgba(200, 164, 92, .08), 0 0 0 22px rgba(200, 164, 92, .04); }
.v-lock small { color: #dcc7bc; font-size: .9rem; max-width: 240px; }
.v-lock .bn-mock.masked { font-size: 1.3rem; }
.v-tree { width: 100%; max-width: 380px; margin: 0; gap: 8px; }
.v-tree .node { background: rgba(255, 255, 255, .08); border-color: rgba(236, 217, 168, .32); padding: 12px 8px; }
.v-tree .node small { color: var(--gold-light); }
.v-tree .node b { color: #fff; }
.v-tree .node.me { background: var(--gold-grad); border-color: transparent; }
.v-tree .node.me small, .v-tree .node.me b { color: var(--wine-900); }
.vachan-mock .v-paper { width: 190px; padding: 26px 22px; gap: 11px; transform: rotate(-5deg); }
.vachan-mock .v-paper b { width: 54px; height: 64px; }
.vachan-mock .v-paper i { height: 7px; }
.v-langs { width: 100%; max-width: 250px; gap: 12px !important; }
.v-langs a { padding: 14px 26px !important; font-size: 1.1rem; background: rgba(255, 255, 255, .08) !important; color: #fff !important; border-color: rgba(236, 217, 168, .4) !important; }
.v-langs a.on, .v-langs a:hover { background: var(--gold-grad) !important; color: var(--wine-900) !important; border-color: transparent !important; }

/* ================= Home: profile gallery rail ================= */
.h-vault { position: relative; overflow: hidden; padding: 110px 0 100px; color: #ead8cd; background: radial-gradient(ellipse 50% 60% at 50% 0%, rgba(200, 164, 92, .2), transparent 64%), linear-gradient(170deg, #0d0308, #230a1c 55%, #3a0d1d); border-top: 3px solid var(--gold); border-bottom: 3px solid var(--gold); }
.h-vault > .mandala { width: 720px; left: 50%; margin-left: -360px; top: -400px; opacity: .14; }
.h-vault .wrap { position: relative; z-index: 2; }
.h-vault .sec-head h2 { color: #fff; }
.h-vault .sec-head .eyebrow { color: var(--gold-light); }
.h-vault .sec-sub { color: #dcc7bc; }
.h-vault .ornament::before, .h-vault .ornament::after { background: linear-gradient(90deg, transparent, var(--gold-light)); }
.vault-rail { position: relative; z-index: 2; overflow: hidden; padding: 16px 0 30px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.vault-track { display: flex; gap: 26px; width: max-content; animation: slide 70s linear infinite; }
.vault-rail:hover .vault-track { animation-play-state: paused; }
.vault-card { flex: none; width: 268px; display: block; text-decoration: none; color: var(--ink); border-radius: 150px 150px 20px 20px; overflow: hidden; background: var(--paper); border: 1px solid var(--gold); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .8); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.vault-card:nth-child(odd) { margin-top: 26px; }
.vault-card:hover { transform: translateY(-12px); }
.vault-top { position: relative; height: 250px; margin: 7px 7px 0; border-radius: 143px 143px 10px 10px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 40%, var(--wine), var(--wine-950)); }
.vault-card.female .vault-top { background: radial-gradient(circle at 50% 40%, #94324e, #3a0c1b); }
.vault-top::before { content: ''; position: absolute; inset: -22%; background: url(mandala.svg) center / contain no-repeat; opacity: .32; }
.vault-mono { position: relative; font: 600 6rem/1 'Marcellus', serif; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: blur(1.2px); }
.vault-top .seal { top: auto; bottom: 14px; left: 14px; }
.vault-lock { position: absolute; right: 14px; bottom: 14px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--wine-900); background: var(--gold-grad); box-shadow: 0 6px 16px -4px rgba(0, 0, 0, .6); }
.vault-body { padding: 20px 22px 24px; }
.vault-body .eyebrow { margin-bottom: 2px; font-size: .64rem; }
.vault-body h3 { font-size: 1.4rem; margin-bottom: 10px; }
.vault-bar { display: block; height: 9px; width: 70%; border-radius: 9px; margin-bottom: 12px; background: repeating-linear-gradient(90deg, var(--sand) 0 14px, #eadfcb 14px 20px); }
.vault-body p { margin: 0 0 3px; font-size: .93rem; color: var(--muted); }
.vault-body .chip { display: inline-block; margin-top: 10px; }
.vault-cta { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; max-width: 980px; margin: 36px auto 0; padding: 26px 30px; border-radius: 24px; background: linear-gradient(160deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .04)); border: 1px solid rgba(236, 217, 168, .4); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15); }
.vault-key { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 1.5rem; color: var(--wine-900); background: var(--gold-grad); box-shadow: 0 0 0 7px rgba(200, 164, 92, .16), 0 0 34px rgba(226, 201, 140, .4); }
.vault-cta b { display: block; font: 600 1.4rem/1.25 'Marcellus', serif; color: #fff; margin-bottom: 4px; }
html[lang="hi"] .vault-cta b { font: 400 1.3rem/1.5 'Tiro Devanagari Hindi', serif; }
.vault-cta p { margin: 0; font-weight: 300; color: #e2cfc4; }

/* ================= Home: framed vow ================= */
.h-vow { position: relative; overflow: hidden; text-align: center; padding: 120px 0; color: #fff; background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(200, 164, 92, .22), transparent 66%), linear-gradient(135deg, #2e0a15, #7a1c34 55%, #8c2545); }
.h-vow .mandala { left: auto; margin: 0; top: 50%; }
.h-vow .mandala.a { width: 780px; left: -330px; margin-top: -390px; opacity: .2; }
.h-vow .mandala.b { width: 780px; right: -330px; margin-top: -390px; opacity: .2; animation-direction: reverse; }
.h-vow .k-stars { opacity: .6; }
.vow-frame { position: relative; z-index: 2; max-width: 940px; margin: 0 auto; padding: 84px 56px 64px; border: 1px solid rgba(236, 217, 168, .75); background: linear-gradient(160deg, rgba(18, 4, 12, .5), rgba(46, 10, 21, .35)); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7); }
.vow-frame::before { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(236, 217, 168, .35); pointer-events: none; }
.vow-frame .w-corner::after { border-color: var(--gold-light); }
.vow-crest { position: absolute; left: 50%; top: -34px; width: 68px; height: 68px; margin-left: -34px; border-radius: 50%; display: grid; place-items: center; font-size: 1.9rem; color: var(--wine-900); background: var(--gold-grad); box-shadow: 0 0 0 5px #5e1428, 0 0 0 6.5px var(--gold-light), 0 0 44px rgba(226, 201, 140, .6); }
.h-vow .eyebrow { color: var(--gold-light); }
.h-vow blockquote { margin: 10px 0 18px; font: 400 clamp(2rem, 5vw, 3.9rem)/1.45 'Tiro Devanagari Hindi', serif; color: #fff; background: none; -webkit-text-fill-color: currentColor; }
.h-vow blockquote em { font-style: normal; background: var(--gold-grad); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; animation: sheen 6s linear infinite; font-size: 1.18em; }
.vow-roman { margin: 22px 0 6px; font: italic 500 1.3rem 'Marcellus', serif; color: var(--gold-light); letter-spacing: .02em; }
.h-vow p.vow-mean { margin: 0 auto; max-width: 560px; font: 300 1.08rem var(--sans); font-style: normal; color: #ecd9cf; }

/* ================= Home: invitation ================= */
.h-invite { position: relative; overflow: hidden; padding: 120px 0 130px; background: radial-gradient(ellipse 50% 60% at 50% 100%, rgba(200, 164, 92, .28), transparent 64%), linear-gradient(180deg, var(--ivory), var(--sand)); }
.h-invite::before, .h-invite::after { content: ''; position: absolute; top: 50%; width: 640px; height: 640px; margin-top: -320px; background: url(mandala.svg) center / contain no-repeat; opacity: .5; animation: spin 200s linear infinite; }
.h-invite::before { left: -330px; } .h-invite::after { right: -330px; animation-direction: reverse; }
.h-invite .h-sparks i { background: var(--gold); box-shadow: 0 0 10px 2px rgba(200, 164, 92, .6); }
.invite { position: relative; z-index: 2; max-width: 860px; margin: 0 auto; text-align: center; padding: 92px 60px 66px; background: linear-gradient(180deg, #fffdf9, #fbf3e4); border: 1px solid var(--gold); box-shadow: 0 50px 100px -40px rgba(69, 16, 31, .55), 0 0 0 10px rgba(255, 253, 249, .7), 0 0 0 11px rgba(200, 164, 92, .5); }
.invite::before { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(200, 164, 92, .5); pointer-events: none; }
.invite-crest { position: absolute; left: 50%; top: -40px; width: 80px; height: 80px; margin-left: -40px; border-radius: 50%; display: grid; place-items: center; font-size: 2.2rem; color: var(--gold-light); background: radial-gradient(circle at 30% 25%, var(--wine), var(--wine-950)); box-shadow: 0 0 0 5px #fffdf9, 0 0 0 6.5px var(--gold), 0 20px 40px -14px rgba(69, 16, 31, .8); }
.invite .mangal { color: var(--gold-deep); margin-bottom: 14px; }
.invite h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
.invite > p { color: var(--muted); font-size: 1.14rem; margin: 20px auto 26px; max-width: 520px; }
.invite-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; margin-bottom: 34px; }
.invite-points span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 999px; background: #fff; border: 1px solid rgba(200, 164, 92, .55); font-size: .93rem; font-weight: 500; }
.invite-points .ico { color: var(--gold-deep); }
.invite .actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

@media (max-width: 1100px) {
    .vachan { grid-template-columns: 1fr; }
    .vachan-list { display: flex; overflow-x: auto; padding: 10px; gap: 6px; border-right: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; }
    .vachan-list::-webkit-scrollbar { display: none; }
    .vachan-list li { flex: none; }
    .vachan-list li + li button { border-top: 0; }
    .vachan-list button { grid-template-columns: 40px auto; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; }
    .vn { width: 40px; height: 40px; font-size: 1.15rem; }
    .vt b { display: none; }
    .vbar { display: none; }
    .vault-cta { grid-template-columns: auto 1fr; }
    .vault-cta .btn { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
    .vachan-panel { grid-template-columns: 1fr; padding: 40px 26px; gap: 30px; min-height: 0; }
    .vachan-stage { min-height: 0; }
    .vghost { font-size: 8rem; right: 14px; }
    .vault-card { width: 224px; }
    .vault-top { height: 204px; }
    .vow-frame { padding: 70px 24px 48px; }
    .invite { padding: 78px 24px 46px; }
    .h-invite, .h-vow, .h-vault { padding: 84px 0; }
}
@media (prefers-reduced-motion: reduce) {
    .vault-track, .h-invite::before, .h-invite::after, .h-vow blockquote em { animation: none; }
    .vachan.auto .vachan-list li.on .vbar { animation: none; transform: scaleY(1); }
}

/* Fixes after visual review of the new home sections */
.w-corner::after { left: 0; top: 0; }
.h-vow blockquote em { display: inline-block; padding: .28em .12em .05em; line-height: 1.35; }
.vachan-mock .bn-mock.checks, .vachan-mock .bn-mock.paper { color: var(--ink); }
.vachan-mock .bn-mock.checks span { color: var(--ink); }

/* ================= Home: lighter rhythm =================
   Hero dark, promises light, kundli dark, profiles light, vow dark (slim), steps + invitation light. */
.section, .h-vachan { padding: 88px 0; }
.sec-head { margin-bottom: 44px; }

/* Promises: the stage is now light */
.vachan { box-shadow: var(--shadow); }
.vachan-stage { min-height: 500px; color: var(--ink); background: radial-gradient(ellipse 60% 70% at 80% 40%, rgba(200, 164, 92, .2), transparent 66%), linear-gradient(160deg, #fffdf9, #f6ecd9); }
.vachan-stage .k-stars { display: none; }
.vachan-stage .mandala { opacity: .5; }
.vachan-panel { min-height: 500px; padding: 48px 52px; }
.vghost { -webkit-text-stroke: 1px rgba(200, 164, 92, .55); }
.vachan-text .eyebrow { color: var(--gold-deep); }
.vachan-text h3 { color: var(--wine-800); }
.vachan-text p { color: var(--muted); font-weight: 400; }
.vachan-list { background: var(--paper); }
.v-gotra > div { background: #fff; border-color: rgba(200, 164, 92, .55); box-shadow: var(--shadow-sm); }
.v-gotra small { color: var(--gold-deep); }
.v-gotra b { color: var(--wine-800); }
.v-lock-ico { color: var(--wine); border-color: var(--gold); background: #fff; box-shadow: 0 0 0 10px rgba(200, 164, 92, .12), 0 0 0 22px rgba(200, 164, 92, .06); }
.v-lock small { color: var(--muted); }
.v-tree .node { background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }
.v-tree .node small { color: var(--gold-deep); }
.v-tree .node b { color: var(--wine-800); }
.v-tree .node.me { background: linear-gradient(135deg, var(--wine), var(--wine-800)); border-color: var(--gold); }
.v-tree .node.me small { color: var(--gold-light); }
.v-tree .node.me b { color: #fff; }
.v-langs a { background: #fff !important; color: var(--ink) !important; border-color: #decfb8 !important; }
.v-langs a.on, .v-langs a:hover { background: linear-gradient(135deg, var(--wine), var(--wine-800)) !important; color: #fff !important; border-color: var(--gold) !important; }
.vachan-mock .guna-ring { width: 230px; height: 230px; }

/* Kundli: the one dark band in the middle */
.h-kundli { padding: 92px 0; }

/* Profiles: now a light section */
.h-vault { padding: 88px 0 84px; color: var(--ink); background: linear-gradient(180deg, var(--sand), var(--ivory)); border-top: 0; border-bottom: 0; }
.h-vault .k-stars { display: none; }
.h-vault > .mandala { opacity: .5; top: -430px; }
.h-vault .sec-head h2 { color: var(--wine-800); }
.h-vault .sec-head .eyebrow { color: var(--gold-deep); }
.h-vault .sec-sub { color: var(--muted); }
.h-vault .ornament::before, .h-vault .ornament::after { background: linear-gradient(90deg, transparent, var(--gold)); }
.vault-card { box-shadow: 0 24px 44px -24px rgba(69, 16, 31, .45); }
.vault-cta { background: var(--paper); border-color: rgba(200, 164, 92, .6); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: var(--shadow); margin-top: 26px; }
.vault-cta b { color: var(--wine-800); }
.vault-cta p { color: var(--muted); font-weight: 400; }
.vault-cta .btn-gold { background: linear-gradient(135deg, var(--wine), var(--wine-800)); color: #fff !important; border-color: rgba(236, 217, 168, .35); box-shadow: 0 10px 24px -12px rgba(94, 20, 40, .7); }

/* Vow: slimmer */
.h-vow { padding: 84px 0; }
.vow-frame { max-width: 820px; padding: 62px 44px 44px; }
.h-vow blockquote { font-size: clamp(1.7rem, 3.8vw, 2.9rem); margin: 6px 0 10px; }
.vow-roman { margin-top: 16px; font-size: 1.12rem; }
.h-vow .mandala.a, .h-vow .mandala.b { width: 600px; margin-top: -300px; }
.h-vow .mandala.a { left: -260px; } .h-vow .mandala.b { right: -260px; }

/* Steps + invitation share the last light section */
.h-invite { padding: 88px 0 110px; background: linear-gradient(180deg, var(--ivory), var(--sand)); }
.h-invite .h-steps { position: relative; z-index: 2; margin-bottom: 110px; box-shadow: var(--shadow-sm); }
.h-invite .sec-head { position: relative; z-index: 2; }
.h-invite::before, .h-invite::after { top: auto; bottom: -180px; margin-top: 0; opacity: .4; }
.h-step { padding: 36px 28px 32px; }
.h-step .ghost { font-size: 3.8rem; margin-bottom: 10px; }
.invite { padding: 84px 56px 58px; }

@media (max-width: 760px) {
    .section, .h-vachan, .h-vault, .h-vow, .h-kundli { padding: 64px 0; }
    .h-invite { padding: 64px 0 84px; }
    .h-invite .h-steps { margin-bottom: 84px; }
    .vachan-panel { padding: 36px 24px; min-height: 0; }
    .vachan-stage { min-height: 0; }
}

/* ================= Hero city strip (v2) ================= */
.h-marquee { display: flex; align-items: stretch; padding: 0; overflow: hidden; background: linear-gradient(180deg, rgba(13, 3, 8, .72), rgba(13, 3, 8, .5)); border-top: 1px solid rgba(236, 217, 168, .22); border-bottom: 3px solid var(--gold); }
.mq-label { position: relative; z-index: 3; flex: none; display: flex; align-items: center; gap: 10px; padding: 0 34px 0 max(22px, calc((100vw - 1136px) / 2)); font: 700 .7rem var(--sans); letter-spacing: .26em; text-transform: uppercase; white-space: nowrap; color: var(--wine-900); background: var(--gold-grad); clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 50%, calc(100% - 26px) 100%, 0 100%); }
html[lang="hi"] .mq-label { font: 400 1.05rem 'Tiro Devanagari Hindi', serif; letter-spacing: .02em; }
.mq-label .ico { font-size: 1.05rem; }
.mq-rail { flex: 1; min-width: 0; overflow: hidden; padding: 20px 0 18px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 90%, transparent); }
.h-marquee .track { gap: 0; align-items: center; animation: slide 64s linear infinite; }
.h-marquee:hover .track { animation-play-state: paused; }
.mq-city { display: inline-flex; flex-direction: column; align-items: center; gap: 3px; padding: 0 34px; line-height: 1; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.mq-city small { font: 400 .82rem/1 'Tiro Devanagari Hindi', var(--sans); letter-spacing: .08em; color: rgba(236, 217, 168, .75); text-transform: none; }
html[lang="hi"] .mq-city small { font: 600 .6rem/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; }
.mq-city b { font: 600 2.05rem/1.05 'Marcellus', serif; font-style: italic; letter-spacing: .01em; text-transform: none; white-space: nowrap; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
html[lang="hi"] .mq-city b { font: 400 1.9rem/1.35 'Tiro Devanagari Hindi', serif; font-style: normal; }
/* every second city is drawn as a gold outline */
.mq-city.line b { background: none; color: transparent; -webkit-text-stroke: 1px rgba(236, 217, 168, .85); font-style: normal; }
.mq-city:hover { transform: translateY(-3px) scale(1.06); }
.mq-city.line:hover b { -webkit-text-stroke: 0; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; }
.mq-sep { flex: none; width: 30px; height: 30px; opacity: .85; animation: spin 14s linear infinite; }
.h-marquee span { font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; }
.h-marquee i { display: none; }
@media (max-width: 760px) {
    .mq-label { padding: 0 26px 0 16px; font-size: .58rem; letter-spacing: .18em; clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%); }
    .mq-rail { padding: 14px 0 12px; }
    .mq-city { padding: 0 20px; }
    .mq-city b { font-size: 1.45rem; }
    html[lang="hi"] .mq-city b { font-size: 1.35rem; }
    .mq-sep { width: 22px; height: 22px; }
}
@media (prefers-reduced-motion: reduce) { .mq-sep { animation: none; } }
.h-marquee .mq-label { font: 700 .7rem var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--wine-900); }
html[lang="hi"] .h-marquee .mq-label { font: 400 1.05rem 'Tiro Devanagari Hindi', serif; letter-spacing: .02em; text-transform: none; }
.h-stats.words b { font-size: 2.1rem; }
.h-stats span { display: block; margin-top: 8px; line-height: 1.4; white-space: nowrap; }
.h-stats div { padding: 0 26px; }

/* City strip: clean, even lettering (no outlined or italic names) */
.mq-rail { padding: 17px 0 16px; }
.mq-city { gap: 6px; padding: 0 30px; }
.mq-city b, .mq-city.line b { font: 600 1.02rem/1 var(--sans); font-style: normal; letter-spacing: .34em; text-transform: uppercase; -webkit-text-stroke: 0; background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #f3e6d2; padding-left: .34em; }
.mq-city.line b { color: var(--gold); }
.mq-city small { font: 400 .86rem/1 'Tiro Devanagari Hindi', var(--sans); letter-spacing: .04em; color: rgba(236, 217, 168, .7); }
.mq-city:hover { transform: translateY(-2px); }
.mq-city:hover b, .mq-city.line:hover b { color: #fff; background: none; -webkit-text-stroke: 0; }
html[lang="hi"] .mq-city b, html[lang="hi"] .mq-city.line b { font: 400 1.4rem/1.3 'Tiro Devanagari Hindi', serif; letter-spacing: .02em; text-transform: none; padding-left: 0; }
html[lang="hi"] .mq-city small { font: 600 .58rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; }
.mq-sep { width: 20px; height: 20px; opacity: .7; }
@media (max-width: 760px) {
    .mq-city { padding: 0 20px; }
    .mq-city b, .mq-city.line b { font-size: .86rem; letter-spacing: .26em; }
    html[lang="hi"] .mq-city b, html[lang="hi"] .mq-city.line b { font-size: 1.15rem; }
}
html[lang="hi"] .h-stats span { letter-spacing: 0; text-transform: none; font-size: .9rem; font-weight: 500; }

/* Recently approved profiles: four fixed cards of equal size (no moving rail) */
.vault-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; align-items: stretch; }
.vault-grid .vault-card { width: auto; margin-top: 0; display: flex; flex-direction: column; }
.vault-grid .vault-card:nth-child(odd) { margin-top: 0; }
.vault-grid .vault-top { height: auto; aspect-ratio: 1 / .96; flex: none; }
.vault-grid .vault-body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.vault-grid .vault-body h3, .vault-grid .vault-body p { width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vault-grid .vault-body .chip { margin-top: auto; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vault-grid .vault-body p:last-of-type { margin-bottom: 14px; }
.vault-cta { margin-top: 44px; }
@media (max-width: 1000px) { .vault-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .vault-grid { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; } }

/* ================= Sign-in pages (v2): one compact card on a dark stage ================= */
.auth { position: relative; overflow: hidden; display: grid; grid-template-columns: 360px minmax(0, 500px); justify-content: center; align-content: center; min-height: calc(100vh - 136px); padding: 44px 20px; background: radial-gradient(ellipse 50% 60% at 78% 30%, rgba(200, 164, 92, .24), transparent 64%), radial-gradient(ellipse 60% 80% at 0% 100%, rgba(140, 37, 69, .6), transparent 62%), linear-gradient(160deg, #0d0308, #230a1c 45%, #45101f); }
.auth::before { content: ''; position: absolute; left: -260px; bottom: -300px; width: 700px; height: 700px; background: url(mandala.svg) center / contain no-repeat; opacity: .16; animation: spin 220s linear infinite; }
.auth::after { content: ''; position: absolute; right: -240px; top: -280px; width: 640px; height: 640px; background: url(mandala.svg) center / contain no-repeat; opacity: .14; animation: spin 260s linear infinite reverse; }
.auth-art { position: relative; z-index: 2; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 40px 34px; border-radius: 28px 0 0 28px; border: 1px solid rgba(200, 164, 92, .75); border-right: 0; background: radial-gradient(ellipse at 50% 0%, rgba(200, 164, 92, .3), transparent 62%), linear-gradient(165deg, #2e0a15, #5e1428); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8); }
.auth-art .mandala { width: 420px; right: -170px; bottom: -190px; opacity: .22; }
.auth-art .k-stars { opacity: .5; }
.auth-crest { width: 60px; height: 60px; margin-bottom: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 1.7rem; color: var(--wine-900); background: var(--gold-grad); box-shadow: 0 0 0 6px rgba(200, 164, 92, .18), 0 0 34px rgba(226, 201, 140, .5); }
.auth-art .mangal { margin-bottom: 12px; font-size: .92rem; }
.auth-art .mangal::before { display: none; }
.auth-art h2 { font-size: 1.85rem; line-height: 1.2; margin-bottom: 20px; }
.auth-art .ticks { margin: 0; gap: 13px; }
.auth-art .ticks li { align-items: center; font-size: .96rem; color: #ecd9cf; }
.auth-art .ticks .ico { margin: 0; width: 34px; height: 34px; padding: 8px; border-radius: 50%; color: var(--gold-light); border: 1px solid rgba(236, 217, 168, .4); background: rgba(255, 255, 255, .06); }
.auth-form { position: relative; z-index: 2; display: block; padding: 36px 42px 30px; border-radius: 0 28px 28px 0; border: 1px solid rgba(200, 164, 92, .75); border-left: 0; background: linear-gradient(180deg, #fffdf9, #fbf5ea); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8); }
.auth-form::before { content: ''; position: absolute; inset: 9px 9px 9px 0; border: 1px solid rgba(200, 164, 92, .35); border-left: 0; border-radius: 0 20px 20px 0; pointer-events: none; }
.auth-form .inner { position: relative; max-width: none; }
.auth-form .eyebrow { margin-bottom: 4px; font-size: .66rem; }
.auth-form h1 { font-size: 1.75rem; margin-bottom: .1em; }
.auth-form .sub { margin-bottom: 18px; font-size: .95rem; }
.auth-form .field { margin-bottom: 12px; }
.auth-form label { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; margin-bottom: 5px; }
html[lang="hi"] .auth-form label { font-size: .88rem; letter-spacing: 0; text-transform: none; }
.auth-form input[type=text], .auth-form input[type=tel], .auth-form input[type=password] { padding: 11px 14px; border-radius: 6px; border-bottom: 2px solid var(--gold); background: #fff; }
.auth-form .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.auth-form .check { align-items: flex-start; gap: 10px; font-size: .9rem; text-transform: none; letter-spacing: 0; color: var(--ink); font-weight: 500; line-height: 1.4; }
.auth-form .check input { margin-top: 2px; flex: none; }
.auth-form .btn-block { padding: 12px 20px; }
.auth-form .or { margin: 14px 0; }
.auth-form .notice { padding: 10px 14px 10px 18px; margin-bottom: 14px; font-size: .92rem; }
.auth-form .inner > p.center { margin-top: 16px !important; font-size: .94rem; }
.auth-form .otp-demo { padding: 10px; margin-bottom: 14px; }

.slim-footer { background: #12040c; color: #b79d93; font-size: .86rem; border-top: 1px solid rgba(200, 164, 92, .5); }
.slim-footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; min-height: 56px; padding-top: 10px; padding-bottom: 10px; }
.slim-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.slim-footer a { color: #d9c3b8; text-decoration: none; }
.slim-footer a:hover { color: var(--gold-light); }

@media (max-width: 900px) {
    .auth { grid-template-columns: minmax(0, 480px); padding: 28px 16px; min-height: 0; }
    .auth-art { display: none; }
    .auth-form { border-radius: 24px; border-left: 1px solid rgba(200, 164, 92, .75); padding: 30px 24px 26px; }
    .auth-form::before { inset: 8px; border-left: 1px solid rgba(200, 164, 92, .35); border-radius: 17px; }
}
@media (max-width: 480px) { .auth-form .pair { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .auth::before, .auth::after { animation: none; } }
.auth-art > .mandala, .auth-art > .k-stars { position: absolute; z-index: 0; }
.auth-art > .k-stars { inset: 0; }

/* ================= Not-found page, report box ================= */
.nf { position: relative; overflow: hidden; text-align: center; color: #ead8cd; min-height: calc(100vh - 136px); display: grid; align-items: center; padding: 70px 0; background: radial-gradient(ellipse 50% 60% at 50% 30%, rgba(200, 164, 92, .24), transparent 64%), linear-gradient(160deg, #0d0308, #230a1c 45%, #45101f); }
.nf .mandala { width: 760px; left: 50%; margin-left: -380px; top: 50%; margin-top: -380px; opacity: .14; }
.nf .wrap { position: relative; z-index: 2; }
.nf-code { display: flex; justify-content: center; align-items: center; gap: 10px; font: 700 clamp(6rem, 18vw, 11rem)/1 'Marcellus', serif; color: transparent; -webkit-text-stroke: 1.5px var(--gold); margin-bottom: 18px; }
.nf-code i { width: .92em; height: .92em; border-radius: 50%; display: grid; place-items: center; font: 400 .5em/1 'Tiro Devanagari Hindi', serif; font-style: normal; -webkit-text-stroke: 0; color: var(--wine-900); background: var(--gold-grad); box-shadow: 0 0 0 8px rgba(200, 164, 92, .16), 0 0 60px rgba(226, 201, 140, .45); animation: pulse 3.4s ease-in-out infinite; }
.nf .eyebrow { color: var(--gold-light); }
.nf h1 { color: #fff; font-size: clamp(1.9rem, 4.4vw, 3rem); }
.nf .ornament::before, .nf .ornament::after { background: linear-gradient(90deg, transparent, var(--gold-light)); }
.nf p { font-size: 1.1rem; font-weight: 300; margin: 18px auto 30px; max-width: 480px; }
.nf .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.p-report { border-radius: 14px; border: 1px dashed #e0c9c4; background: transparent; }
.p-report summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 13px 18px; font-size: .9rem; color: var(--muted); }
.p-report summary::-webkit-details-marker { display: none; }
.p-report summary:hover, .p-report[open] summary { color: var(--bad); }
.p-report form { padding: 0 16px 16px; display: grid; gap: 10px; }
.p-report textarea { min-height: 90px; font-size: .95rem; }
.p-report .btn { justify-self: start; }

/* ================= Messages ================= */
.m-hero { padding: 54px 0 120px; }
.m-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 6px; }
.m-hero .eyebrow { color: var(--gold-light); }
.m-hero .w-note { margin: 0; font-size: 1.05rem; }
.m-page { margin-top: -84px; position: relative; z-index: 3; padding-top: 0; }
.m-shell { display: grid; grid-template-columns: 340px 1fr; height: min(74vh, 720px); min-height: 520px; border-radius: 26px; overflow: hidden; background: var(--paper); border: 1px solid rgba(200, 164, 92, .7); box-shadow: var(--shadow-lg); }
.m-list { display: flex; flex-direction: column; overflow-y: auto; background: linear-gradient(180deg, #fffdf9, #f8f0e2); border-right: 1px solid var(--line); }
.m-list > header { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; background: #fffdf9; border-bottom: 1px solid var(--line); }
.m-list > header b { font: 600 1.2rem 'Marcellus', serif; color: var(--wine-800); }
.m-list > header span { min-width: 28px; height: 28px; padding: 0 9px; border-radius: 999px; display: grid; place-items: center; background: var(--sand); color: var(--wine); font-weight: 700; font-size: .85rem; }
.m-item { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 15px 20px; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); transition: background .25s; }
.m-item::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--gold-grad); transform: scaleY(0); transition: transform .3s; }
.m-item:hover { background: rgba(200, 164, 92, .1); }
.m-item.on { background: linear-gradient(90deg, rgba(200, 164, 92, .24), transparent); }
.m-item.on::before { transform: scaleY(1); }
.m-item .avatar { width: 50px; height: 50px; }
.m-item-text { min-width: 0; }
.m-item-text b { display: block; font: 600 1.05rem/1.25 'Marcellus', serif; color: var(--wine-800); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-item-text small { display: block; color: var(--muted); font-size: .86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-item i { min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: .72rem; color: #fff; background: #d0587b; }
.m-none { margin: auto; padding: 30px 20px; text-align: center; color: var(--muted); }
.m-none .ring, .m-blank-ring { width: 76px; height: 76px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font-size: 1.8rem; color: var(--gold-deep); background: var(--sand); box-shadow: 0 0 0 1px var(--gold), 0 0 0 9px rgba(200, 164, 92, .12); }
.m-chat { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.m-head { display: flex; align-items: center; gap: 14px; padding: 14px 22px; color: #fff; background: linear-gradient(120deg, #1a0610, #45101f 60%, #5e1428); border-bottom: 2px solid var(--gold); }
.m-head .avatar { width: 48px; height: 48px; box-shadow: 0 0 0 2px #2a0b1a, 0 0 0 3px var(--gold); }
.m-head > div { flex: 1; min-width: 0; }
.m-head b { display: block; font: 600 1.2rem/1.2 'Marcellus', serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-head small { color: #dcc7bc; font-size: .86rem; }
.m-act, .m-back { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex: none; text-decoration: none; color: var(--gold-light); border: 1px solid rgba(236, 217, 168, .4); background: rgba(255, 255, 255, .06); transition: all .25s; }
.m-act:hover, .m-back:hover { background: var(--gold-grad); color: var(--wine-900); border-color: transparent; }
.m-back { display: none; }
.m-log { flex: 1; min-height: 0; overflow-y: auto; padding: 24px 26px; display: flex; flex-direction: column; gap: 9px; background: var(--ivory) url(mandala.svg) center / 440px no-repeat; background-blend-mode: soft-light; }
.m-log .msg { max-width: 72%; padding: 11px 16px 8px; border-radius: 18px 18px 18px 5px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); white-space: pre-wrap; word-break: break-word; animation: stepIn .35s ease both; }
.m-log .msg.me { align-self: flex-end; border-radius: 18px 18px 5px 18px; color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--wine), var(--wine-800)); }
.m-log .msg small { display: block; margin-top: 3px; font-size: .68rem; opacity: .6; text-align: right; }
.m-day { align-self: center; margin: 8px 0 4px; padding: 3px 16px; border-radius: 999px; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--gold-deep); background: var(--paper); border: 1px solid rgba(200, 164, 92, .45); }
.m-empty { margin: auto; color: var(--muted); font-style: italic; }
.m-form { display: flex; gap: 10px; padding: 14px 18px; border-top: 1px solid var(--line); background: var(--paper); }
.m-form input { flex: 1; border-radius: 999px; padding-left: 22px; }
.m-form .btn { padding: 11px 24px; }
.m-blank { margin: auto; padding: 40px 24px; text-align: center; max-width: 440px; }
.m-blank h2 { font-size: 1.6rem; }
.m-blank p { color: var(--muted); margin-bottom: 22px; }
@media (max-width: 860px) {
    .m-shell { grid-template-columns: 1fr; height: auto; min-height: 0; }
    .m-shell.open .m-list { display: none; }
    .m-shell:not(.open) .m-chat { display: none; }
    .m-shell.open .m-chat { height: calc(100vh - 230px); min-height: 420px; }
    .m-back { display: grid; }
    .m-log .msg { max-width: 86%; }
    .m-form .btn .ico { display: none; }
}

/* ================= Info pages (About, Privacy, Terms) ================= */
.pg-grid { display: grid; grid-template-columns: 250px 1fr; gap: 34px; align-items: start; }
.pg-nav { position: sticky; top: 124px; display: grid; gap: 6px; padding: 14px; border-radius: 20px; background: var(--paper); border: 1px solid rgba(200, 164, 92, .6); box-shadow: var(--shadow); }
.pg-nav a { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 500; transition: all .25s; }
.pg-nav a .ico { color: var(--gold-deep); }
.pg-nav a:hover { background: var(--sand); color: var(--wine); }
.pg-nav a.on { color: #fff; background: linear-gradient(135deg, var(--wine), var(--wine-800)); box-shadow: 0 12px 24px -12px rgba(94, 20, 40, .8); }
.pg-nav a.on .ico { color: var(--gold-light); }
.pg-body { max-width: none; padding: 54px 60px 46px; counter-reset: sec; }
.pg-body h2 { counter-increment: sec; display: flex; align-items: baseline; gap: 16px; font-size: 1.5rem; margin: 1.6em 0 .5em; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.pg-body h2:first-of-type { margin-top: 0; }
.pg-body h2::before { content: counter(sec, decimal-leading-zero); font: 600 1.6rem/1 'Marcellus', serif; color: transparent; -webkit-text-stroke: 1px var(--gold); }
.pg-body p, .pg-body li { font-size: 1.06rem; line-height: 1.75; color: #4c3a3e; }
.pg-body ul { padding-left: 0; list-style: none; }
.pg-body li { position: relative; padding-left: 28px; margin-bottom: .6em; }
.pg-body li::before { content: ''; position: absolute; left: 4px; top: .7em; width: 8px; height: 8px; transform: rotate(45deg); background: var(--gold-grad); }
.pg-body .btn { margin-top: 10px; }

/* ================= Admin panel ================= */
.ad-stats { margin-top: 26px; }
.ad-stats a { min-width: 150px; flex: 1; }
.ad-page { margin-top: -62px; position: relative; z-index: 3; padding-top: 0; }
.ad-search { display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 22px; margin-bottom: 22px; border-radius: 999px; background: var(--paper); border: 1px solid rgba(200, 164, 92, .7); box-shadow: var(--shadow); }
.ad-search > .ico { color: var(--gold-deep); font-size: 1.2rem; }
.ad-search input { flex: 1; border: 0; background: none; padding: 10px 4px; box-shadow: none !important; }
.ad-search .mini { text-decoration: none; }
.ad-page .table-scroll { border-radius: 22px; border-color: rgba(200, 164, 92, .55); box-shadow: var(--shadow); overflow: auto; }
table.admin th { position: sticky; top: 0; background: linear-gradient(180deg, #2e0a15, #45101f); color: var(--gold-light); padding: 16px; }
table.admin td { padding: 18px 16px; }
table.admin tr:nth-child(odd) td { background: rgba(244, 236, 221, .35); }
table.admin tr:hover td { background: #fff; }
table.admin td a strong { font: 600 1.1rem 'Marcellus', serif; color: var(--wine-800); }
table.admin .btn { margin-bottom: 6px; }
@media (max-width: 960px) {
    .pg-grid { grid-template-columns: 1fr; }
    .pg-nav { position: static; grid-template-columns: 1fr 1fr; }
    .pg-body { padding: 40px 24px 32px; }
    .ad-stats a { min-width: 46%; }
}

/* Fixes after visual review */
.m-head > .avatar, .m-item > .avatar { flex: none; }
.m-head > div:not(.avatar) { flex: 1; min-width: 0; }
.m-head > div.avatar { flex: none; width: 48px; }
.a-stats span { display: block; line-height: 1.45; margin-top: 4px; }
.w-hero .eyebrow { color: var(--gold-light); }

/* Mobile fixes found in review */
@media (max-width: 980px) {
    .p-hero .photo-frame { width: 100%; max-width: 300px; margin: 0 auto; }
    .p-hero-grid { justify-items: stretch; }
}
@media (max-width: 560px) {
    .c-captcha { grid-template-columns: auto auto 1fr; }
    .c-captcha img { width: auto; height: 54px; }
    .c-cap-new { width: 54px; }
    .c-captcha input { grid-column: 1 / -1; }
}

/* ================= Home: "How it works" as a journey ================= */
.journey { position: relative; z-index: 2; margin-bottom: 110px; }
.journey-path { position: absolute; left: 0; top: 0; width: 100%; height: 150px; overflow: visible; }
.journey-path path { fill: none; vector-effect: non-scaling-stroke; }
.jp-base { stroke: rgba(200, 164, 92, .45); stroke-width: 1.5; stroke-dasharray: 2 9; stroke-linecap: round; }
.jp-flow { stroke: var(--gold-deep); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 90 1400; animation: jflow 7s linear infinite; }
@keyframes jflow { from { stroke-dashoffset: 1490; } to { stroke-dashoffset: 0; } }
.journey ol { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.j-step { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 3px; }
.j-step.low { padding-top: 63px; }
.j-medal { position: relative; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; font-size: 1.9rem; color: var(--gold-light); background: radial-gradient(circle at 30% 25%, var(--wine), var(--wine-950)); box-shadow: 0 0 0 6px var(--ivory), 0 0 0 7.5px var(--gold), 0 18px 34px -14px rgba(69, 16, 31, .7); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.j-medal b { position: absolute; right: -6px; top: -6px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 700 .9rem 'Marcellus', serif; color: var(--wine-900); background: var(--gold-grad); box-shadow: 0 0 0 3px var(--ivory); }
.j-step.last .j-medal { color: var(--wine-900); background: var(--gold-grad); box-shadow: 0 0 0 6px var(--ivory), 0 0 0 7.5px var(--wine), 0 0 40px rgba(226, 201, 140, .7); }
.j-step.last .j-medal b { color: var(--gold-light); background: var(--wine); }
.j-step:hover .j-medal { transform: translateY(-6px) rotate(-6deg); }
.j-card { position: relative; width: 100%; margin-top: 34px; padding: 26px 22px 24px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .4s cubic-bezier(.2, .7, .2, 1), box-shadow .4s, border-color .4s; }
.j-card::before { content: ''; position: absolute; left: 50%; top: -9px; width: 16px; height: 16px; margin-left: -8px; transform: rotate(45deg); background: var(--paper); border-left: 1px solid var(--line); border-top: 1px solid var(--line); transition: border-color .4s; }
.j-card::after { content: ''; position: absolute; left: 50%; top: -34px; width: 1px; height: 25px; background: linear-gradient(180deg, var(--gold), transparent); }
.j-step:hover .j-card { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(200, 164, 92, .7); }
.j-step:hover .j-card::before { border-color: rgba(200, 164, 92, .7); }
.j-card .eyebrow { margin-bottom: 4px; font-size: .64rem; }
.j-card h3 { font-size: 1.35rem; margin-bottom: 6px; }
.j-card p { margin: 0; color: var(--muted); font-size: .97rem; }
.j-step.last .j-card { border-color: rgba(200, 164, 92, .7); background: linear-gradient(180deg, #fffdf9, #f8eeda); }
.j-step.last .j-card::before { border-color: rgba(200, 164, 92, .7); background: #fffdf9; }
@media (max-width: 860px) {
    .journey { margin-bottom: 84px; }
    .journey-path { display: none; }
    .journey ol { grid-template-columns: 1fr; gap: 0; }
    .j-step, .j-step.low { position: relative; flex-direction: row; align-items: flex-start; gap: 20px; text-align: left; padding: 0 0 26px; }
    .j-step:not(:last-child)::before { content: ''; position: absolute; left: 31px; top: 64px; bottom: 0; width: 1px; background: repeating-linear-gradient(180deg, var(--gold) 0 5px, transparent 5px 11px); }
    .j-medal { width: 64px; height: 64px; font-size: 1.4rem; flex: none; }
    .j-medal b { width: 24px; height: 24px; font-size: .75rem; }
    .j-card { margin-top: 0; padding: 18px 18px 16px; }
    .j-card::before, .j-card::after { display: none; }
}
@media (prefers-reduced-motion: reduce) { .jp-flow { animation: none; display: none; } }
.j-card { min-height: 158px; }
@media (max-width: 860px) { .j-card { min-height: 0; flex: 1; } }

/* ================= Family profiles, email settings ================= */
.a-fam { list-style: none; margin: 0 0 16px; padding: 0; }
.a-fam li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.a-fam li:last-child { border-bottom: 0; }
.a-fam li > div:not(.avatar) { flex: 1; min-width: 0; }
.a-fam .avatar { width: 46px; height: 46px; flex: none; }
.a-fam b { display: block; font: 600 1.05rem 'Marcellus', serif; color: var(--wine-800); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-fam small { color: var(--muted); font-size: .85rem; }
.a-fam li.on b { color: var(--wine); }
.a-add { display: flex; gap: 10px; }
.a-add input { flex: 1; min-width: 0; padding: 11px 14px; border-radius: 6px; border: 1px solid #decfb8; border-bottom: 2px solid var(--gold); background: #fff; font: inherit; }
.a-add .btn { white-space: nowrap; }
.a-mail { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.umenu-fam { margin-bottom: 6px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.umenu-pop .umenu-fam form { margin: 0; padding: 0; border: 0; }
.umenu-pop .umenu-fam form button, .umenu-pop .umenu-fam form button .ico { color: var(--wine); }
.umenu-pop .umenu-fam form button:hover { background: var(--sand); }

/* ================= Secure chat bar ================= */
.m-secure { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 9px 22px; font-size: .86rem; background: var(--sand); border-bottom: 1px solid var(--line); color: var(--muted); }
.m-secure b { font-weight: 500; }
.m-secure.ok { background: #eaf6ef; color: var(--ok); border-bottom-color: #b9dfc9; }
.m-secure.ok b::before { content: '\1F512  '; }
.m-secure.wait, .m-secure.ask { background: #fff5df; color: var(--warn); border-bottom-color: #efd7a2; }
.m-secure form { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; width: 100%; }
.m-secure label { margin: 0; flex: 1 1 260px; font-size: .86rem; font-weight: 500; color: inherit; text-transform: none; letter-spacing: 0; }
.m-secure input { width: 170px; padding: 8px 12px; border-radius: 999px; }
.e2e-err { color: var(--bad); font-weight: 600; }
.m-log .msg.unread { font-style: italic; opacity: .7; }
.m-form input:disabled { background: var(--sand); }

/* Mobile-only sign up */
.tel { display: flex; align-items: stretch; border: 1px solid #decfb8; border-bottom: 2px solid var(--gold); border-radius: 6px; background: #fff; overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.tel:focus-within { border-color: var(--wine); box-shadow: 0 0 0 4px rgba(200, 164, 92, .2); }
.tel span { display: grid; place-items: center; padding: 0 16px; font: 600 1.15rem 'Marcellus', serif; color: var(--wine); background: var(--sand); border-right: 1px solid #decfb8; }
.auth-form .tel input { border: 0; border-radius: 0; box-shadow: none; font-size: 1.3rem; letter-spacing: .16em; padding: 13px 14px; }
.otp-links { display: flex; justify-content: center; align-items: center; gap: 10px; margin: 14px 0 0; font-size: .93rem; }
.otp-links i { font-style: normal; color: var(--gold-deep); }
.otp-links .linklike { padding: 4px 6px; color: var(--wine); font-weight: 600; font-size: .93rem; }
.otp-links .linklike:disabled { color: var(--muted); cursor: default; background: none; }
.auth-form .otp-code { text-align: center; font: 600 1.6rem 'Marcellus', serif; letter-spacing: .5em; padding-left: .5em; }

/* ================= Stories, block button, photo cropper ================= */
.st-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.st-card { position: relative; margin: 0; padding: 44px 30px 28px; border-radius: 6px; background: linear-gradient(180deg, #fffdf9, #fbf5ea); border: 1px solid var(--gold); box-shadow: var(--shadow); }
.st-card::before { content: ''; position: absolute; inset: 8px; border: 1px solid rgba(200, 164, 92, .4); pointer-events: none; }
.st-mark { position: absolute; left: 24px; top: 2px; font: 700 5rem/1 'Marcellus', serif; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.st-card blockquote { margin: 0 0 20px; font: italic 500 1.08rem/1.6 'Marcellus', serif; color: var(--wine-800); }
html[lang="hi"] .st-card blockquote { font: 400 1.05rem/1.7 'Tiro Devanagari Hindi', serif; }
.st-card figcaption { padding-top: 16px; border-top: 1px solid var(--line); }
.st-card figcaption b { display: block; font: 600 1.2rem 'Marcellus', serif; color: var(--wine); }
.st-card figcaption b i { font-style: italic; color: var(--gold-deep); }
.st-card figcaption small { color: var(--muted); font-size: .86rem; }
.p-block button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 13px 18px; border-radius: 14px; border: 1px dashed #e0c9c4; background: none; cursor: pointer; font: inherit; font-size: .9rem; color: var(--muted); text-align: left; }
.p-block button:hover { color: var(--bad); border-color: #e7b9b5; }
.crop { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: rgba(18, 4, 12, .82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.crop-card { width: min(440px, 100%); padding: 24px; border-radius: 22px; background: var(--paper); border: 1px solid var(--gold); box-shadow: var(--shadow-lg); text-align: center; }
.crop-card h3 { margin-bottom: 2px; }
.crop-card p { font-size: .9rem; margin-bottom: 14px; }
.crop-card canvas { width: 100%; max-width: 320px; height: auto; border-radius: 12px; border: 1px solid var(--gold); cursor: grab; touch-action: none; background: #fff; }
.crop-card canvas:active { cursor: grabbing; }
.crop-tools { display: flex; align-items: center; gap: 14px; margin: 14px 0; }
.crop-tools input { flex: 1; accent-color: var(--wine); }
.crop-actions { display: flex; justify-content: space-between; gap: 12px; }
@media (max-width: 900px) { .st-grid { grid-template-columns: 1fr; } }

/* ================= Admin dashboard ================= */
.ad-hero { padding: 56px 0 96px; }
.ad-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 6px; }
.ad-hero-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.ad-todo { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 16px; border-radius: 18px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(236, 217, 168, .4); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.ad-todo b { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); margin-right: 4px; }
.ad-todo a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; text-decoration: none; color: #fff; font-size: .9rem; background: rgba(255, 255, 255, .08); transition: background .25s; }
.ad-todo a:hover { background: rgba(255, 255, 255, .18); }
.ad-todo i { min-width: 26px; height: 26px; padding: 0 7px; border-radius: 999px; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: .8rem; color: var(--wine-900); background: var(--gold-grad); }
.ad-stats { margin-top: 30px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.ad-stats > div { position: relative; padding: 18px 20px 16px; border-radius: 18px; color: #ead8cd; background: linear-gradient(160deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .04)); border: 1px solid rgba(236, 217, 168, .32); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.ad-stats > div .ico { position: absolute; right: 16px; top: 16px; color: var(--gold); font-size: 1.1rem; }
.ad-page { margin-top: -54px; }
.ad-shell { display: grid; grid-template-columns: 250px 1fr; gap: 28px; align-items: start; }
.ad-nav { position: sticky; top: 118px; display: grid; gap: 3px; padding: 16px 12px; border-radius: 22px; background: var(--paper); border: 1px solid rgba(200, 164, 92, .65); box-shadow: var(--shadow); }
.ad-nav-h { padding: 10px 14px 6px; font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 700; color: var(--gold-deep); }
.ad-nav-h:not(:first-child) { margin-top: 8px; border-top: 1px solid var(--line); padding-top: 16px; }
.ad-nav a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .96rem; transition: background .2s, color .2s; }
.ad-nav a .ico { color: var(--gold-deep); }
.ad-nav a:hover { background: var(--sand); color: var(--wine); }
.ad-nav a.on { color: #fff; background: linear-gradient(135deg, var(--wine), var(--wine-800)); box-shadow: 0 12px 24px -12px rgba(94, 20, 40, .8); }
.ad-nav a.on .ico { color: var(--gold-light); }
.ad-nav a b { min-width: 24px; height: 22px; padding: 0 7px; border-radius: 999px; display: grid; place-items: center; font-size: .72rem; font-weight: 700; color: var(--wine); background: var(--sand); }
.ad-nav a b.hot { color: #fff; background: #d0587b; }
.ad-nav a.on b { background: var(--gold-grad); color: var(--wine-900); }
.ad-main { min-width: 0; }
.ad-title { display: flex; align-items: center; gap: 14px; margin: 4px 0 18px; }
.ad-title h2 { margin: 0; font-size: 1.7rem; }
.ad-title span { min-width: 34px; height: 30px; padding: 0 10px; border-radius: 999px; display: grid; place-items: center; font-weight: 700; color: var(--wine-900); background: var(--gold-grad); }
.ad-list { display: grid; gap: 18px; }
.ad-card { position: relative; display: grid; grid-template-columns: 120px minmax(0, 1.2fr) minmax(0, 1fr) 230px; gap: 22px; padding: 20px 22px 20px 20px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow .3s, border-color .3s, transform .3s; }
.ad-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--gold-grad); }
.ad-card.s-pending::before { background: #e0a93b; } .ad-card.s-approved::before { background: #3fa372; } .ad-card.s-rejected::before, .ad-card.s-blocked::before { background: #d6504a; } .ad-card.s-draft::before { background: #c9bcae; }
.ad-card:hover { box-shadow: var(--shadow); border-color: rgba(200, 164, 92, .65); transform: translateY(-2px); }
.ad-photo { position: relative; display: block; align-self: start; border-radius: 14px; overflow: hidden; border: 1px solid var(--gold); }
.ad-photo .ad-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.ad-photo .avatar-empty { display: grid; }
.ad-photo .avatar-empty span { font-size: 2.8rem; }
.ad-photo .seal { top: 8px; left: 8px; padding: 4px 7px; }
.ad-info h3 { margin: 0 0 4px; font-size: 1.3rem; }
.ad-info h3 a { color: var(--wine-800); text-decoration: none; }
.ad-info h3 a:hover { color: var(--wine); text-decoration: underline; }
.ad-meta { margin: 0 0 2px; font-size: .93rem; color: var(--muted); }
.ad-info .chips { margin-top: 10px !important; }
.ad-flag { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 0; padding: 8px 12px; border-radius: 10px; font-size: .86rem; background: #fff5df; color: var(--warn); border: 1px solid #efd7a2; }
.ad-flag.bad { background: #fdecea; color: var(--bad); border-color: #f1c0bb; }
.ad-flag .ico { margin-top: 3px; }
.ad-fam { margin: 0; align-self: start; padding-left: 22px; border-left: 1px dashed var(--line); }
.ad-fam div { display: flex; gap: 10px; padding: 4px 0; font-size: .9rem; }
.ad-fam dt { flex: 0 0 92px; color: var(--gold-deep); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; padding-top: 4px; }
html[lang="hi"] .ad-fam dt { font-size: .82rem; letter-spacing: 0; text-transform: none; padding-top: 0; }
.ad-fam dd { margin: 0; font-weight: 500; word-break: break-word; }
.ad-fam .pill { font-size: .66rem; padding: 0 8px; }
.ad-act { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px; }
.ad-act > form.inline { display: contents; }
.ad-reject { display: flex; gap: 6px; width: 100%; }
.ad-reject input { flex: 1; min-width: 0; padding: 7px 12px; border-radius: 999px; font-size: .86rem; }
.ad-more { width: 100%; }
.ad-more summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; font-weight: 600; color: var(--muted); padding: 4px 2px; }
.ad-more summary::-webkit-details-marker { display: none; }
.ad-more summary .ico { font-size: .8rem; transition: transform .3s; }
.ad-more[open] summary .ico { transform: rotate(180deg); }
.ad-more > div { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ad-main .table-scroll { border-radius: 20px; border-color: rgba(200, 164, 92, .55); box-shadow: var(--shadow-sm); }
@media (max-width: 1180px) {
    .ad-card { grid-template-columns: 100px 1fr 1fr; }
    .ad-act { grid-column: 1 / -1; padding-top: 14px; border-top: 1px dashed var(--line); }
    .ad-reject { width: auto; flex: 1 1 260px; }
    .ad-more { width: auto; }
}
@media (max-width: 960px) {
    .ad-shell { grid-template-columns: 1fr; }
    .ad-nav { position: static; display: flex; overflow-x: auto; gap: 6px; padding: 10px; scrollbar-width: none; }
    .ad-nav::-webkit-scrollbar { display: none; }
    .ad-nav-h { display: none; }
    .ad-nav a { flex: none; padding: 9px 14px; }
    .ad-stats { grid-template-columns: repeat(2, 1fr); }
    .ad-search { flex-wrap: wrap; border-radius: 22px; }
    .ad-search input { flex: 1 1 100%; order: -1; }
}
@media (max-width: 640px) {
    .ad-card { grid-template-columns: 84px 1fr; gap: 16px; padding: 16px; }
    .ad-fam { grid-column: 1 / -1; padding-left: 0; border-left: 0; padding-top: 12px; border-top: 1px dashed var(--line); }
}

/* ================= Back office shell ================= */
body.bo { background: #f6f1e8; }
.bo-bar { position: sticky; top: 0; z-index: 50; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 0 26px; min-height: 64px; color: #ead8cd; background: #12040c; border-bottom: 1px solid rgba(200, 164, 92, .6); }
.bo-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.bo-brand .brand-mark { width: 38px; height: 38px; font-size: 1.1rem; background: var(--gold-grad); color: var(--wine-900); box-shadow: none; }
.bo-brand b { display: block; font: 700 1.15rem/1.1 'Marcellus', serif; color: #fff; }
.bo-brand small { font-size: .6rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-light); font-weight: 600; }
.bo-bar nav { display: flex; align-items: center; gap: 6px; }
.bo-bar nav a, .bo-bar nav button, .bo-who { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 0; background: none; cursor: pointer; text-decoration: none; color: #dcc7bc; font: 500 .92rem var(--sans); transition: background .2s, color .2s; }
.bo-bar nav a:hover, .bo-bar nav button:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.bo-bar nav .ico { color: var(--gold); }
.bo-who { color: var(--gold-light); border: 1px solid rgba(236, 217, 168, .35); cursor: default; }
.bo-bar form { margin: 0; }
.bo .ad-hero { padding-top: 44px; }
.bo .ad-nav { top: 84px; }
.bo .toasts { top: 82px; }
.bo-foot { padding: 22px; text-align: center; font-size: .82rem; color: var(--muted); border-top: 1px solid var(--line); }
/* profile cards: details across the top, actions in a row underneath */
.ad-card { grid-template-columns: 112px minmax(0, 1.15fr) minmax(0, 1fr); }
.ad-act { grid-column: 1 / -1; padding-top: 14px; border-top: 1px dashed var(--line); align-items: center; }
.ad-reject { width: auto; flex: 1 1 260px; max-width: 420px; }
.ad-more { width: auto; margin-left: auto; position: relative; }
.ad-more > div { margin-top: 0; position: absolute; right: 0; bottom: calc(100% + 8px); padding: 10px; border-radius: 14px; background: var(--paper); border: 1px solid rgba(200, 164, 92, .6); box-shadow: var(--shadow); flex-wrap: nowrap; z-index: 5; }
.ad-fam dt { flex: 0 0 104px; }
.ad-fam dd { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.ad-fam .pill { white-space: nowrap; }

/* Admin login */
body.bo-login { position: relative; overflow: hidden; min-height: 100vh; margin: 0; display: grid; place-items: center; padding: 20px; background: radial-gradient(ellipse 50% 60% at 50% 20%, rgba(200, 164, 92, .22), transparent 64%), linear-gradient(160deg, #0d0308, #230a1c 45%, #45101f); }
body.bo-login > .mandala { width: 820px; left: 50%; margin-left: -410px; top: 50%; margin-top: -410px; opacity: .12; }
.bo-login-card { position: relative; z-index: 2; width: min(420px, 100%); padding: 40px 36px 34px; text-align: center; border-radius: 26px; background: linear-gradient(180deg, #fffdf9, #fbf5ea); border: 1px solid var(--gold); box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .85); }
.bo-login-card .auth-crest { margin: 0 auto 16px; }
.bo-login-card h1 { font-size: 1.9rem; margin: 0 0 4px; }
.bo-login-card > p { color: var(--muted); margin-bottom: 22px; }
.bo-login-card .field { text-align: left; }
.bo-login-card input { border-radius: 8px; border-bottom: 2px solid var(--gold); background: #fff; }
@media (max-width: 700px) {
    .bo-bar { padding: 0 12px; }
    .bo-bar nav span, .bo-who { display: none; }
    .bo-brand small { display: none; }
    .ad-more { margin-left: 0; }
    .ad-more > div { position: static; flex-wrap: wrap; margin-top: 8px; box-shadow: none; }
}

/* =====================================================================
   Mobile app look (phones and small tablets)
   ===================================================================== */
.app-lead, .app-title, .app-lang, .tabbar.guest, .b-filter-btn, .b-sheet-head, .sheet-backdrop { display: none; }
.b-sheet { display: contents; }
html { -webkit-tap-highlight-color: transparent; }

@media (max-width: 960px) {
    body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); overscroll-behavior-y: none; }
    body.bo, body.bo-login { padding-bottom: 0; }
    main { animation: appIn .35s ease both; }
    @keyframes appIn { from { opacity: 0; transform: translateY(8px); } }
    input, select, textarea { font-size: 16px !important; }            /* stops phones zooming in on focus */
    .topline { display: none; }

    /* ---- app bar ---- */
    .site-header, .is-home .site-header { position: sticky; top: 0; padding-top: env(safe-area-inset-top); background: #12040c; border-bottom: 1px solid rgba(200, 164, 92, .5); backdrop-filter: none; -webkit-backdrop-filter: none; }
    .site-header .header-row, .site-header.mh .mh-row { min-height: 56px; }
    .site-header.mh::after, .mh-crest { display: none; }
    .mh-row { grid-template-columns: 44px 1fr 44px !important; gap: 8px !important; }
    .mh-brand { display: none; }
    .app-lead { grid-column: 1; grid-row: 1; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; text-decoration: none; font-size: 1.15rem; color: var(--wine-900); background: var(--gold-grad); }
    .app-lead.back { color: var(--gold-light); background: rgba(255, 255, 255, .08); border: 1px solid rgba(236, 217, 168, .35); font-size: 1.3rem; }
    .app-title { grid-column: 2; grid-row: 1; display: block; text-align: center; font: 600 1.12rem/1.2 'Marcellus', 'Tiro Devanagari Hindi', serif; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .site-header.mh .umenu { grid-column: 3; grid-row: 1; justify-self: end; }
    .umenu summary .avatar { width: 38px; height: 38px; }
    .umenu summary > .ico { display: none; }
    /* guests */
    .site-header:not(.mh) .brand-name, .is-home .site-header:not(.scrolled) .brand-name { color: #fff; font-size: 1.2rem; }
    .site-header:not(.mh) .brand-mark { width: 38px; height: 38px; font-size: 1.1rem; background: var(--gold-grad); color: var(--wine-900); box-shadow: none; }
    .site-header:not(.mh) .nav, .nav-toggle { display: none !important; }
    .app-lang { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; text-decoration: none; font-weight: 700; font-size: .88rem; color: var(--gold-light); border: 1px solid rgba(236, 217, 168, .4); }

    /* ---- bottom tab bar ---- */
    .tabbar, .tabbar.guest { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: grid; grid-template-columns: repeat(5, 1fr); padding: 0 4px env(safe-area-inset-bottom); background: rgba(18, 4, 12, .97); border-top: 1px solid rgba(200, 164, 92, .6); box-shadow: 0 -12px 30px -14px rgba(0, 0, 0, .8); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
    .tabbar a { min-height: 60px; justify-content: center; padding: 8px 2px 7px; transition: transform .15s; }
    .tabbar a:active { transform: scale(.92); }
    .tabbar .dock-label { font-size: .58rem; }
    .tabbar .tab-cta .dock-ico { width: 46px; height: 46px; margin-top: -22px; border-radius: 50%; display: grid; place-items: center; font-size: 1.25rem; color: var(--wine-900) !important; background: var(--gold-grad); box-shadow: 0 0 0 4px #12040c, 0 8px 20px -6px rgba(226, 201, 140, .7); }
    .tabbar .tab-cta { color: var(--gold-light); }
    .tabbar .tab-cta::before { display: none; }
    body.is-member { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }

    /* ---- sheets that rise from the bottom ---- */
    .umenu[open]::before, .sheet-backdrop.on { content: ''; display: block; position: fixed; inset: 0; z-index: 70; background: rgba(8, 2, 5, .6); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: fadeIn .25s ease both; }
    @keyframes fadeIn { from { opacity: 0; } }
    @keyframes sheetUp { from { transform: translateY(100%); } }
    .umenu-pop { position: fixed; left: 0; right: 0; top: auto; bottom: 0; width: auto; z-index: 75; max-height: 86vh; overflow-y: auto; padding: 10px 12px calc(16px + env(safe-area-inset-bottom)); border-radius: 26px 26px 0 0; border: 0; border-top: 3px solid var(--gold); animation: sheetUp .32s cubic-bezier(.2, .8, .2, 1) both; }
    .umenu-pop::before { content: ''; display: block; position: static; width: 44px; height: 4px; margin: 0 auto 10px; border: 0; border-radius: 4px; background: #d9cbb8; transform: none; }
    .umenu-pop > a, .umenu-pop form button { padding: 14px 16px; font-size: 1.02rem; }
    .b-sheet { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 75; max-height: 86vh; overflow-y: auto; padding: 0 16px calc(16px + env(safe-area-inset-bottom)); border-radius: 26px 26px 0 0; background: var(--paper); border-top: 3px solid var(--gold); transform: translateY(105%); transition: transform .32s cubic-bezier(.2, .8, .2, 1); visibility: hidden; }
    .b-sheet.open { transform: none; visibility: visible; }
    .b-sheet-head { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 16px 2px 12px; margin-bottom: 8px; background: var(--paper); border-bottom: 1px solid var(--line); }
    .b-sheet-head b { font: 600 1.25rem 'Marcellus', serif; color: var(--wine-800); }
    .b-sheet-head button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--ivory); font-size: 1.4rem; line-height: 1; color: var(--wine); }
    .b-sheet .b-go { position: sticky; bottom: 0; }
    .b-sheet .b-more { grid-template-rows: 1fr; }
    .b-sheet .b-more .b-more-grid { visibility: visible !important; height: auto !important; margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); overflow: visible; }
    .b-sheet .b-more-btn, .b-sheet .b-more-foot { display: none !important; }
    .b-dock { padding: 0; border-radius: 18px; }
    .b-dock::before { display: none; }
    .b-bar { margin: 0; border-top: 0; border-radius: 18px; padding: 12px 14px; flex-wrap: nowrap; gap: 10px; }
    .b-count span { display: none; }
    .b-filter-btn { display: inline-flex; align-items: center; gap: 8px; position: relative; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(200, 164, 92, .7); background: #fff; color: var(--wine); font: 600 .92rem var(--sans); }
    .b-filter-btn i { position: absolute; right: 4px; top: 2px; width: 10px; height: 10px; border-radius: 50%; background: #d0587b; box-shadow: 0 0 0 2px #fff; }
    .b-dock .b-sort select { min-width: 0; max-width: 150px; height: 40px; }
    .b-sort label { display: none; }

    /* ---- pages feel like screens ---- */
    .w-hero, .banner, .k-hero, .ad-hero { padding-top: 26px; }
    .w-hero h1, .b-hero h1, .m-hero h1, .c-hero h1 { font-size: 1.7rem; }
    .b-hero { padding-bottom: 96px; }
    .b-page, .m-page { margin-top: -70px; }
    .page { padding-bottom: 28px; }
    .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -16px; margin-right: -16px; padding: 2px 16px 6px; }
    .tabs::-webkit-scrollbar { display: none; }
    .tabs a { flex: none; }
    .toasts { top: auto; bottom: calc(78px + env(safe-area-inset-bottom)); left: 12px; right: 12px; width: auto; }
    .toast { animation-name: toastUp; }
    @keyframes toastUp { from { opacity: 0; transform: translateY(30px); } }
    .site-footer .foot-mark { display: none; }

    /* profile: actions stay within thumb reach */
    .p-hero .actions-row { position: fixed; left: 0; right: 0; bottom: calc(60px + env(safe-area-inset-bottom)); z-index: 54; margin: 0; padding: 10px 12px; flex-wrap: nowrap; gap: 8px; overflow-x: auto; scrollbar-width: none; background: rgba(18, 4, 12, .96); border-top: 1px solid rgba(200, 164, 92, .55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
    .p-hero .actions-row::-webkit-scrollbar { display: none; }
    .p-hero .actions-row .btn { flex: 1 0 auto; padding: 12px 18px; font-size: .95rem; white-space: nowrap; }
    .p-hero .actions-row form.inline { display: flex; flex: 1 0 auto; }
    .p-hero .actions-row [data-print] { display: none; }
    body:has(.p-hero .actions-row) { padding-bottom: calc(136px + env(safe-area-inset-bottom)); }

    /* biodata wizard: the step buttons stay above the tab bar */
    .w-foot { position: sticky; bottom: calc(66px + env(safe-area-inset-bottom)); z-index: 20; margin: 24px -22px -26px; padding: 12px 16px; background: rgba(255, 253, 249, .97); border-top: 1px solid rgba(200, 164, 92, .6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
    .w-stepper-wrap { top: calc(56px + env(safe-area-inset-top)); }

    /* chat fills the screen */
    .m-shell.open { border-radius: 18px; }
    .m-shell.open .m-chat { height: calc(100vh - 56px - 66px - 150px - env(safe-area-inset-bottom) - env(safe-area-inset-top)); min-height: 380px; }
}

@media (max-width: 560px) {
    /* profile cards two across, like an app grid */
    .b-cards, .cards { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .pcard { border-radius: 16px; }
    .pcard-over { padding: 34px 10px 9px; }
    .pcard-over h3 { font-size: .98rem; line-height: 1.2; }
    .pcard-over p { font-size: .72rem; letter-spacing: 0; }
    .pcard-body { padding: 10px 10px 12px; }
    .pcard-body p { font-size: .8rem; gap: 6px; margin-bottom: 3px; }
    .pcard-body p:nth-of-type(3) { display: none; }
    .pcard-body .chips { margin-top: 8px !important; gap: 4px !important; }
    .pcard-body .chip { font-size: .66rem; padding: 0 8px; }
    .pcard-body .chips .chip:nth-child(n+3) { display: none; }
    .pcard-gotra { margin-top: 8px !important; padding-top: 8px; font-size: .72rem !important; }
    .pcard-guna { width: 46px; height: 46px; top: 8px; right: 8px; }
    .pcard-guna b { font-size: .98rem; }
    .pcard-guna small { font-size: .48rem; margin-top: 1px; }
    .seal { top: 8px; left: 8px; padding: 3px 8px 3px 6px; font-size: .58rem; }
    .pcard-new { bottom: 62px; font-size: .54rem; padding: 2px 9px; }
    .avatar-empty span { font-size: 3rem; }
    .i-grid { gap: 14px; }
    .w-card { border-radius: 4px; }
}

/* touch screens: no hover lift, a quick press effect instead */
@media (hover: none) {
    .btn:hover, .pcard:hover, .feature:hover, .bn:hover, .i-card:hover, .vault-card:hover, .j-step:hover .j-card, .ad-card:hover { transform: none; }
    .btn:active, .pcard:active, .i-card:active, .mini:active, .b-filter-btn:active { transform: scale(.97); }
}
/* opened from the home screen icon */
@media (display-mode: standalone) {
    .site-footer { display: none; }
    body { -webkit-user-select: none; user-select: none; }
    input, textarea, .msg, .p-quote, dd { -webkit-user-select: text; user-select: text; }
}

/* The page fade must not move the page: a moving parent would trap the bottom bars and sheets inside it. */
@media (max-width: 960px) {
    main { animation: appFade .3s ease; }
    @keyframes appFade { from { opacity: 0; } }
    .js .p-hero .reveal, .js .b-page .reveal { transform: none; }
}
@media (max-width: 960px) {
    /* an open conversation takes the whole screen between the app bar and the tab bar */
    body:has(.m-shell.open) .m-hero { display: none; }
    body:has(.m-shell.open) .m-page { margin-top: 0; padding: 10px 0 0; }
    body:has(.m-shell.open) .site-footer { display: none; }
    .m-shell.open .m-chat { height: calc(100dvh - 56px - 66px - 22px - env(safe-area-inset-bottom) - env(safe-area-inset-top)); min-height: 360px; }
    .m-shell.open .m-head .m-back { display: none; }   /* the app bar already has the back arrow */
    /* sign-in screens fill the phone */
    .slim-footer { display: none; }
    .auth { min-height: calc(100dvh - 56px - 66px - env(safe-area-inset-bottom) - env(safe-area-inset-top)); align-content: center; }
}

/* ================= Suggestions, tips, events, reports ================= */
.sg { margin-bottom: 34px; padding: 26px 26px 20px; border-radius: 26px; background: radial-gradient(ellipse 60% 120% at 0% 0%, rgba(200, 164, 92, .22), transparent 60%), linear-gradient(140deg, #1a0610, #3a0d1d 60%, #5e1428); border: 1px solid rgba(200, 164, 92, .65); box-shadow: var(--shadow); }
.sg > header { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.sg h2 { color: #fff; margin: 0; font-size: 1.7rem; }
.sg .eyebrow { color: var(--gold-light); margin-bottom: 4px; }
.sg > header p { margin: 0; max-width: 420px; color: #dcc7bc; font-size: .92rem; font-weight: 300; }
.sg-row { display: grid; grid-auto-flow: column; grid-auto-columns: 232px; gap: 18px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--gold) transparent; }
.sg-item { scroll-snap-align: start; display: flex; flex-direction: column; }
.sg-item .pcard { flex: 1; }
.js .sg-item .reveal { opacity: 1; transform: none; }
.sg-why { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 10px 4px 0; font-size: .8rem; color: var(--gold-light); }
.sg-why span { display: inline-flex; align-items: center; gap: 5px; }
.sg-why .ico { font-size: .8rem; color: var(--gold); }
.sg-all { font-size: 1.5rem; margin: 0 0 18px; }
.w-tips-wrap { margin-top: -30px; margin-bottom: 44px; position: relative; z-index: 4; }
.w-tips-wrap + .w-stepper-wrap { margin-top: 0; }
.w-tips { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; padding: 14px 20px; border-radius: 18px; background: var(--paper); border: 1px solid rgba(200, 164, 92, .7); box-shadow: var(--shadow); }
.w-tips b { display: inline-flex; align-items: center; gap: 8px; font: 600 1.02rem 'Marcellus', serif; color: var(--wine-800); }
.w-tips b .ico { color: var(--gold-deep); }
.w-tips a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; text-decoration: none; font-size: .88rem; color: #5c4310; background: var(--sand); border: 1px solid rgba(200, 164, 92, .5); transition: background .2s, color .2s; }
.w-tips a:hover { background: var(--wine); color: #fff; border-color: var(--wine); }
.w-tips a .ico { font-size: .8rem; }
.ev-list { display: grid; gap: 16px; max-width: 880px; margin: 0 auto; }
.ev-card { display: grid; grid-template-columns: 104px 1fr; gap: 24px; align-items: center; padding: 20px 26px 20px 20px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .35s, box-shadow .35s, border-color .35s; }
.ev-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(200, 164, 92, .65); }
.ev-date { text-align: center; padding: 14px 8px; border-radius: 16px; color: #fff; background: linear-gradient(140deg, var(--wine-900), var(--wine)); border: 1px solid var(--gold); }
.ev-date b { display: block; font: 700 2.3rem/1 'Marcellus', serif; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ev-date span { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--gold-light); }
.ev-card h3 { margin: 0 0 4px; font-size: 1.35rem; }
.ev-card p { margin: 0 0 4px; color: var(--muted); }
.ev-place { display: flex; align-items: center; gap: 8px; color: var(--wine) !important; font-weight: 500; }
.ev-place .ico { color: var(--gold-deep); }
.ev-card.over { opacity: .7; }
.ev-card.over .ev-date { background: var(--sand); border-color: var(--line); }
.ev-card.over .ev-date b { background: none; color: var(--muted); }
.ev-card.over .ev-date span { color: var(--muted); }
.ev-past-h { text-align: center; font-size: 1.4rem; margin: 54px 0 20px; color: var(--muted); }
.ad-form { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 0 16px; padding: 22px 24px 10px; margin-bottom: 20px; border-radius: 20px; border-color: rgba(200, 164, 92, .55); }
.ad-form .wide { grid-column: 1 / -1; }
.ad-form label { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; }
.ad-form textarea { min-height: 80px; }
.rp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 18px; }
.rp-grid.two { grid-template-columns: repeat(3, 1fr); }
.rp-card { padding: 20px 22px; border-radius: 20px; border-color: rgba(200, 164, 92, .5); }
.rp-card header { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.rp-card header span { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--gold-deep); }
html[lang="hi"] .rp-card header span { font-size: .9rem; letter-spacing: 0; text-transform: none; }
.rp-card header b { font: 700 2rem/1 'Marcellus', serif; color: var(--wine); }
.rp-bars { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; align-items: end; height: 110px; }
.rp-bars div { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; gap: 5px; }
.rp-bars i { display: block; width: 100%; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #e2c98c, #b08a3e); opacity: .6; }
.rp-bars i.now { opacity: 1; background: linear-gradient(180deg, var(--wine), var(--wine-900)); }
.rp-bars small { font-size: .62rem; color: var(--muted); }
.rp-card footer { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: .84rem; color: var(--muted); }
.rp-row { display: grid; grid-template-columns: minmax(0, 1.2fr) 1fr auto; gap: 12px; align-items: center; padding: 8px 0; font-size: .93rem; }
.rp-row b { min-width: 40px; text-align: right; font: 700 1.05rem 'Marcellus', serif; color: var(--wine); }
.rp-row .meter { height: 8px; }
@media (max-width: 1180px) { .rp-grid { grid-template-columns: repeat(2, 1fr); } .rp-grid.two { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
    .sg { padding: 20px 16px 14px; border-radius: 20px; margin-left: -4px; margin-right: -4px; }
    .sg-row { grid-auto-columns: 168px; gap: 12px; }
    .sg > header p { display: none; }
    .w-tips-wrap { margin-top: -22px; margin-bottom: 36px; }
    .ev-card { grid-template-columns: 78px 1fr; gap: 16px; padding: 16px; }
    .ev-date b { font-size: 1.7rem; }
    .ad-form { grid-template-columns: 1fr; }
    .rp-grid { grid-template-columns: 1fr; }
}

/* ================= Blog ================= */
.bl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bl-card { position: relative; display: flex; flex-direction: column; padding: 30px 28px 26px; border-radius: 6px; text-decoration: none; color: var(--ink); background: linear-gradient(180deg, #fffdf9, #fbf5ea); border: 1px solid var(--gold); box-shadow: var(--shadow-sm); transition: transform .4s cubic-bezier(.2, .7, .2, 1), box-shadow .4s; }
.bl-card::before { content: ''; position: absolute; inset: 7px; border: 1px solid rgba(200, 164, 92, .35); pointer-events: none; }
.bl-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.bl-topic { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-bottom: 16px; padding: 4px 14px; border-radius: 999px; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--wine-900); background: var(--gold-grad); }
.bl-card h3 { font-size: 1.4rem; line-height: 1.25; margin-bottom: 10px; }
.bl-card p { color: var(--muted); margin: 0 0 20px; flex: 1; }
.bl-read { display: inline-flex; align-items: center; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .86rem; font-weight: 600; color: var(--wine); }
.bl-read .ico { margin-left: auto; transition: transform .3s; }
.bl-card:hover .bl-read .ico { transform: translateX(5px); }
.bl-card.lead { grid-column: span 2; padding: 44px 42px 34px; color: #ead8cd; border-color: rgba(200, 164, 92, .7); background: radial-gradient(ellipse 60% 90% at 90% 20%, rgba(200, 164, 92, .26), transparent 62%), linear-gradient(150deg, #12040c, #2a0b1a 55%, #5e1428); }
.bl-card.lead::after { content: ''; position: absolute; right: -70px; bottom: -90px; width: 300px; height: 300px; background: url(mandala.svg) center / contain no-repeat; opacity: .18; }
.bl-card.lead h3 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.bl-card.lead p { color: #dcc7bc; font-size: 1.08rem; font-weight: 300; }
.bl-card.lead .bl-read { color: var(--gold-light); border-top-color: rgba(236, 217, 168, .25); position: relative; z-index: 1; }
.bl-narrow { max-width: 860px; }
.bl-hero { padding: 54px 0 120px; }
.bl-hero h1 { color: #fff; font-size: clamp(1.9rem, 4.2vw, 3rem); margin: 0 0 14px; }
.bl-hero .w-note { font-size: 1.12rem; margin: 0; }
.bl-back { display: inline-block; margin-bottom: 18px; color: var(--gold-light); text-decoration: none; font-size: .9rem; font-weight: 600; }
.bl-page { margin-top: -84px; position: relative; z-index: 3; padding-top: 0; }
.bl-article { padding: 56px 64px 36px; margin-bottom: 28px; }
.bl-article p { font-size: 1.12rem; line-height: 1.85; color: #3d2c30; margin: 0 0 1.1em; }
.bl-article > p:first-of-type::first-letter { float: left; font: 700 4.1rem/.82 'Marcellus', serif; padding: 6px 12px 0 0; color: var(--wine); }
.bl-article h2 { font-size: 1.55rem; margin: 1.7em 0 .6em; padding-left: 18px; border-left: 3px solid var(--gold); }
.bl-article ul { list-style: none; padding: 0; margin: 0 0 1.2em; }
.bl-article li { position: relative; padding: 6px 0 6px 30px; font-size: 1.08rem; line-height: 1.7; color: #3d2c30; }
.bl-article li::before { content: ''; position: absolute; left: 6px; top: 1em; width: 8px; height: 8px; transform: rotate(45deg); background: var(--gold-grad); }
.bl-article footer { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.bl-article footer span { font: italic 600 1.05rem 'Marcellus', serif; color: var(--gold-deep); }
.bl-more-h { text-align: center; font-size: 1.5rem; margin: 46px 0 22px; }
.bl-grid.three .bl-card h3 { font-size: 1.15rem; }
.bl-grid.three .bl-card { padding: 24px 22px 20px; }
.bl-grid.three .bl-card p { font-size: .92rem; }

/* footer: latest articles */
.foot-blog { padding: 40px 0 34px; border-top: 1px solid rgba(236, 217, 168, .14); }
.foot-blog-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.site-footer .foot-blog-head h4 { margin: 0; }
.site-footer .foot-blog-head a { display: inline; padding: 0; color: var(--gold-light); font-size: .9rem; font-weight: 600; }
.foot-blog-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.site-footer .foot-blog-row a { display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 18px; border-radius: 16px; background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03)); border: 1px solid rgba(236, 217, 168, .24); transition: transform .35s, border-color .35s, background .35s; }
.site-footer .foot-blog-row a:hover { padding: 22px 22px 18px; transform: translateY(-4px); border-color: var(--gold); background: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .05)); }
.foot-blog-row small { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--gold); }
.foot-blog-row b { font: 600 1.12rem/1.35 'Marcellus', serif; color: #fff; flex: 1; }
.foot-blog-row span { font-size: .84rem; color: var(--gold-light); }
@media (max-width: 960px) {
    .bl-grid, .bl-grid.three { grid-template-columns: 1fr; }
    .bl-card.lead { grid-column: auto; padding: 32px 26px 26px; }
    .bl-article { padding: 40px 24px 28px; }
    .bl-article p { font-size: 1.04rem; }
    .foot-blog-row { grid-template-columns: 1fr; }
    .bl-hero { padding-bottom: 104px; }
}
.bl-back { display: block; width: max-content; }
.ad-hi { margin-top: 10px; padding-top: 16px; border-top: 1px dashed var(--line); color: var(--wine); }
html[lang="hi"] .bl-article > p:first-of-type::first-letter { float: none; font: inherit; padding: 0; color: inherit; }
html[lang="hi"] .bl-article p, html[lang="hi"] .bl-article li { line-height: 2; }
html[lang="hi"] .bl-article h2, html[lang="hi"] .bl-card h3, html[lang="hi"] .foot-blog-row b { font-family: "Tiro Devanagari Hindi", serif; font-weight: 400; line-height: 1.5; }

/* 404: solid gold numerals and a row of useful pages */
.nf { padding: 54px 0 64px; }
.nf-code { color: inherit; -webkit-text-stroke: 0; gap: 14px; font-size: clamp(5rem, 15vw, 9rem); margin-bottom: 14px; }
.nf-code b { font-weight: 700; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 10px 26px rgba(0, 0, 0, .45)); }
.nf p { max-width: 560px; margin-bottom: 26px; }
.nf-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; max-width: 900px; margin: 0 auto 30px; }
.nf-links a { display: grid; justify-items: center; gap: 4px; padding: 20px 14px 18px; border-radius: 18px; text-decoration: none; color: #ead8cd; background: rgba(255, 255, 255, .045); border: 1px solid rgba(226, 201, 140, .28); transition: transform .25s, background .25s, border-color .25s; }
.nf-links a:hover { transform: translateY(-4px); background: rgba(226, 201, 140, .1); border-color: var(--gold-light); }
.nf-links span { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 6px; font-size: 1.15rem; color: var(--wine-900); background: var(--gold-grad); }
.nf-links b { color: #fff; font: 600 1.05rem/1.3 'Marcellus', serif; }
html[lang="hi"] .nf-links b { font-family: 'Tiro Devanagari Hindi', serif; font-weight: 400; }
.nf-links small { font-size: .84rem; opacity: .8; line-height: 1.4; }
@media (max-width: 760px) { .nf-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .nf-links a { padding: 16px 10px 14px; } }

.ad-add { margin-bottom: 22px; padding: 26px 28px; border: 1px solid rgba(200, 164, 92, .7); }
.ad-add h3 { margin: 0 0 6px; }
.ad-add .muted { margin: 0 0 18px; max-width: 720px; }
.ad-add .form-grid { margin-bottom: 18px; }

/* ---- Browse filters: one search capsule, and advanced filters as three titled groups ---- */
.b-grp, .b-grp-f { display: contents; }
.b-grp h4 { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; margin: 6px 0 12px; font: 600 1.05rem/1.2 'Marcellus', serif; color: var(--wine-800); }
html[lang="hi"] .b-grp h4 { font-family: 'Tiro Devanagari Hindi', serif; font-weight: 400; }
.b-grp h4 span { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: .9rem; color: var(--wine-900); background: var(--gold-grad); box-shadow: 0 6px 14px -8px rgba(156, 118, 48, .9); }
.b-grp h4::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(200, 164, 92, .7), transparent); }
.b-more-foot .ornament { display: none; }
.b-more-foot a i { font-style: normal; }
.b-more-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

@media (min-width: 961px) {
    .b-dock { padding: 26px 28px 0; background: linear-gradient(180deg, #fffdf9, #fdf9f1); }
    /* search capsule */
    .b-row { grid-template-columns: auto 168px 1fr 1fr auto; gap: 0; align-items: stretch; padding: 7px; border-radius: 22px; background: #fff; border: 1px solid rgba(200, 164, 92, .75); box-shadow: 0 18px 40px -26px rgba(94, 20, 40, .55), inset 0 0 0 4px rgba(244, 236, 221, .55); }
    .b-row .b-seg { height: 58px; margin-right: 8px; border-radius: 16px; border-color: transparent; background: var(--sand); }
    .b-row .b-seg span { border-radius: 12px; padding: 0 24px; }
    .b-row .b-f { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 6px 20px 4px; border-radius: 14px; transition: background .25s; }
    .b-row .b-f::before { content: ''; position: absolute; left: 0; top: 12px; bottom: 12px; width: 1px; background: linear-gradient(180deg, transparent, rgba(200, 164, 92, .7), transparent); }
    .b-row .b-f:hover, .b-row .b-f:focus-within { background: var(--ivory); }
    .b-row .b-f label { margin: 0 0 1px; font-size: .6rem; }
    .b-dock .b-row .b-f input, .b-dock .b-row .b-f select { height: 30px; padding: 0; border: 0; border-radius: 0; background-color: transparent; box-shadow: none !important; outline: none; font-weight: 600; font-size: 1.04rem; color: var(--wine-900); }
    .b-dock .b-row .b-f select { padding-right: 26px; background-position: right 0 center; cursor: pointer; }
    .b-dock .b-row .b-f input::placeholder { color: #a8979a; font-weight: 400; }
    .b-dock .b-row .b-age input { width: 46px; text-align: left; -moz-appearance: textfield; }
    .b-dock .b-row .b-age input::-webkit-outer-spin-button, .b-dock .b-row .b-age input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
    .b-row .b-age > div { gap: 4px; }
    .b-row .b-age i { margin-right: 10px; }
    .b-row .b-go { height: 58px; margin-left: 8px; padding: 0 34px; border-radius: 16px; font-size: 1.02rem; }

    .b-row2 { margin-top: 18px; }
    .b-toggle span { padding: 9px 18px; background: #fff; box-shadow: 0 6px 14px -12px rgba(94, 20, 40, .5); }
    .b-more-btn { padding: 9px 20px; border: 1px solid var(--gold); background: #fff; transition: all .3s; }
    .b-more-btn[aria-expanded="true"] { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--wine), var(--wine-800)); box-shadow: 0 12px 22px -12px rgba(94, 20, 40, .9); }
    .b-more-btn[aria-expanded="true"] .ico { color: var(--gold-light); }
    .b-more-btn[aria-expanded="true"] b { background: var(--gold-grad); color: var(--wine-900); }

    /* advanced filters */
    .b-more.open .b-more-grid, .b-more-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
    .b-more.open .b-more-grid { margin-top: 22px; padding-top: 24px; border-top: 0; background: linear-gradient(90deg, transparent, rgba(200, 164, 92, .6), transparent) top / 100% 1px no-repeat; }
    .b-grp { position: relative; display: block; padding: 20px 20px 8px; border-radius: 20px; background: linear-gradient(160deg, #fff 0%, #fbf5ea 100%); border: 1px solid rgba(200, 164, 92, .42); box-shadow: 0 16px 34px -28px rgba(94, 20, 40, .6); transition: border-color .3s, box-shadow .3s, transform .3s; }
    .b-grp::before { content: ''; position: absolute; left: 22px; right: 22px; top: -1px; height: 2px; border-radius: 2px; background: var(--gold-grad); opacity: .9; }
    .b-grp:hover, .b-grp:focus-within { border-color: var(--gold); box-shadow: 0 22px 40px -26px rgba(94, 20, 40, .7); transform: translateY(-2px); }
    .b-grp h4 { margin: 0 0 16px; }
    .b-grp-f { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
    .b-grp-f .field:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .b-dock .b-grp input[type=text], .b-dock .b-grp select { height: 48px; border-radius: 12px; border-color: #e6d9c2; background-color: #fff; }
    .b-dock .b-grp input[type=text]:focus, .b-dock .b-grp select:focus { border-color: var(--gold); }
    .b-more .b-grp .field label { font-size: .6rem; }

    .b-more.open .b-more-foot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 20px 0 8px; }
    .b-more-foot .ornament { display: flex; margin: 0; width: 160px; }
    .b-more-foot a { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; border: 1px solid #decfb8; background: #fff; color: var(--wine); font: 600 .9rem var(--sans); text-decoration: none; transition: all .25s; }
    .b-more-foot a:hover { border-color: var(--wine); background: var(--sand); }
    .b-more-foot a i { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); font-size: .95rem; line-height: 1; }
    .b-more-foot .btn { justify-self: end; padding: 12px 28px; }

    .b-bar { margin: 20px -28px 0; padding: 16px 32px; background: linear-gradient(180deg, #f8f0e1, #f3e8d4); }
    .b-count b { font-size: 2.2rem; background: linear-gradient(135deg, var(--wine), var(--rose)); -webkit-background-clip: text; background-clip: text; color: transparent; }
}
@media (min-width: 961px) and (max-width: 1180px) {
    .b-row { grid-template-columns: auto 150px 1fr 1fr auto; }
    .b-row .b-f { padding: 6px 14px 4px; }
    .b-row .b-go { padding: 0 22px; }
    .b-grp-f { grid-template-columns: 1fr; }
}
@media (min-width: 961px) {
    .b-dock .b-grp input[type=text], .b-dock .b-grp select { padding-left: 14px; font-size: .97rem; }
    .b-dock .b-grp select { padding-right: 34px; background-position: right 12px center; text-overflow: ellipsis; }
    .b-dock .b-row .b-age input { width: 30px; text-align: center; }
    .b-row .b-age > div { gap: 8px; justify-content: flex-start; }
    .b-row .b-age i { margin-right: 0; }
}

/* Profile ID chip, profile visibility card */
.chip.chip-id { background: none; border: 1px dashed rgba(200, 164, 92, .8); color: var(--gold-deep); font-weight: 700; letter-spacing: .04em; font-variant-numeric: lining-nums; }
.a-vis-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.a-vis .pill { margin-bottom: 4px; }

/* Own form messages and confirm box (the browser's bubbles and alerts are not used) */
.f-err { display: flex; align-items: center; gap: 8px; margin-top: 8px; font: 500 .88rem/1.4 var(--sans); color: #a3261f; animation: fErr .3s ease; }
.f-err::before { content: '!'; flex: none; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; font-weight: 700; color: #fff; background: #c8443c; }
.b-f .f-err, .c-captcha + .f-err { font-size: .8rem; }
input.is-bad, select.is-bad, textarea.is-bad { border-color: #d6504a !important; box-shadow: 0 0 0 4px rgba(214, 80, 74, .12) !important; }
.c-captcha { flex-wrap: wrap; }
@keyframes fErr { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.cf { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(31, 6, 13, .62); backdrop-filter: blur(4px); animation: cfIn .2s ease; }
.cf-box { position: relative; width: min(440px, 100%); padding: 34px 30px 26px; text-align: center; border-radius: 24px; background: linear-gradient(180deg, #fffdf9, #fbf4e7); border: 1px solid rgba(200, 164, 92, .8); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.cf-box::before { content: ''; position: absolute; inset: 8px; border-radius: 17px; border: 1px solid rgba(200, 164, 92, .3); pointer-events: none; }
.cf-ico { width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; font: 700 1.5rem 'Marcellus', serif; color: var(--wine-900); background: var(--gold-grad); box-shadow: 0 0 0 7px rgba(200, 164, 92, .18); }
.cf-box h3 { margin: 0 0 8px; font-size: 1.4rem; color: var(--wine-800); }
.cf-box p { margin: 0 0 24px; color: var(--muted); line-height: 1.6; }
.cf-acts { position: relative; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cf-acts .btn { min-width: 130px; }
@keyframes cfIn { from { opacity: 0; } to { opacity: 1; } }
.cf .btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.cf .btn:focus { outline: none; box-shadow: 0 0 0 3px rgba(200, 164, 92, .55); }

/* Photo picker (story form) and story photos */
.pick { position: relative; display: flex; align-items: center; gap: 16px; margin: 0; padding: 14px 16px; border-radius: 16px; border: 1.5px dashed rgba(200, 164, 92, .9); background: #fff; cursor: pointer; text-transform: none; letter-spacing: 0; transition: border-color .25s, background .25s; }
.pick:hover, .pick:focus-within { border-color: var(--wine); background: var(--ivory); }
.pick.has { border-style: solid; }
.pick input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.pick-thumb { flex: none; width: 64px; height: 64px; border-radius: 14px; overflow: hidden; display: grid; place-items: center; font-size: 1.5rem; color: var(--gold-deep); background: var(--sand); border: 1px solid #decfb8; }
.pick-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pick.has .pick-thumb .ico { display: none; }
.pick-text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.pick-text b { font: 600 1rem var(--sans); color: var(--wine-900); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pick-text small { font-size: .84rem; font-weight: 400; color: var(--muted); line-height: 1.4; }
.pick-clear { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid #decfb8; background: #fff; color: var(--wine); font-size: 1.2rem; line-height: 1; cursor: pointer; }
.pick-clear:hover { background: var(--sand); }
.pick.has .pick-btn { display: none; }
.pick + .f-err { margin-top: 8px; }
@media (max-width: 560px) { .pick { flex-wrap: wrap; } .pick-btn { width: 100%; text-align: center; } }
.st-card.has-photo { padding-top: 0; overflow: hidden; }
.st-photo { margin: 0 -30px 34px; aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 1px solid var(--gold); }
.st-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s; }
.st-card.has-photo:hover .st-photo img { transform: scale(1.04); }
.st-card.has-photo .st-mark { top: auto; margin-top: -44px; }
.st-card.has-photo::before { z-index: 1; }
.ad-story-img { float: left; width: 64px; height: 64px; margin: 0 12px 6px 0; border-radius: 10px; object-fit: cover; border: 1px solid var(--gold); }
.st-card.has-photo .st-mark { font-size: 3.6rem; margin-top: -30px; }
.field label.pick, .field label.pick b, .field label.pick small, .field label.pick .btn { text-transform: none !important; letter-spacing: 0 !important; }
.field label.pick { font-size: 1rem; color: var(--ink, #2a1a1e); margin: 0; }
.field label.pick small { font-weight: 400; color: var(--muted); }

/* ---- Vanshavali (family tree) on the profile ---- */
.vv { position: relative; margin: 4px 0 26px; padding: 26px 24px 28px; border-radius: 20px; background: linear-gradient(170deg, #fffdf9, #fbf3e4); border: 1px solid rgba(200, 164, 92, .55); overflow: hidden; }
.vv::before { content: ''; position: absolute; right: -90px; top: -90px; width: 300px; height: 300px; background: url(mandala.svg) center / contain no-repeat; opacity: .07; pointer-events: none; }
.vv-title { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.vv-title .mangal { font: 400 1.5rem/1 'Tiro Devanagari Hindi', serif; color: var(--wine); margin: 0; }
.vv-title i { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(200, 164, 92, .8), transparent); }
.vv-tree { position: relative; display: grid; grid-template-columns: 1fr 64px 1fr; align-items: end; }
.vv-side { position: relative; display: grid; gap: 26px; }
.vv-tag { justify-self: center; padding: 3px 14px; border-radius: 999px; font: 700 .62rem/1.8 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); background: #fff; border: 1px solid rgba(200, 164, 92, .6); margin-bottom: -10px; }
.vv-node { position: relative; z-index: 1; padding: 14px 16px 13px; border-radius: 16px; text-align: center; background: #fff; border: 1px solid rgba(200, 164, 92, .55); box-shadow: 0 14px 28px -24px rgba(94, 20, 40, .7); }
.vv-node small { display: block; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; margin-bottom: 2px; }
.vv-node b { display: block; font: 600 1.14rem/1.3 'Marcellus', serif; color: var(--wine-800); }
.vv-node em { display: block; margin-top: 3px; font-style: normal; font-size: .84rem; color: var(--muted); }
.vv-node em:empty { display: none; }
.vv-node.elder { background: linear-gradient(180deg, #fbf4e6, #fff); }
/* line from grandparent down to parent */
.vv-node.elder::after { content: ''; position: absolute; left: 50%; top: 100%; width: 2px; height: 26px; margin-left: -1px; background: linear-gradient(180deg, var(--gold), rgba(200, 164, 92, .5)); }
/* line joining father and mother through the knot */
.vv-mid { position: relative; height: 100%; }
.vv-mid::before { content: ''; position: absolute; left: -2px; right: -2px; bottom: 34px; height: 2px; background: var(--gold); }
.vv-knot { position: absolute; left: 50%; bottom: 13px; width: 44px; height: 44px; margin-left: -22px; border-radius: 50%; display: grid; place-items: center; font: 400 1.25rem/1 'Tiro Devanagari Hindi', serif; color: var(--wine-900); background: var(--gold-grad); box-shadow: 0 0 0 5px #fdf8ee, 0 8px 18px -8px rgba(156, 118, 48, .9); z-index: 2; }
.vv-child { position: relative; display: grid; justify-items: center; padding-top: 34px; }
.vv-child::before { content: ''; position: absolute; left: 50%; top: -13px; width: 2px; height: 47px; margin-left: -1px; background: linear-gradient(180deg, var(--gold), rgba(200, 164, 92, .6)); }
.vv-node.me { min-width: min(340px, 100%); padding: 20px 26px 18px; border-color: var(--gold); background: linear-gradient(135deg, var(--wine), var(--wine-800)); box-shadow: 0 22px 40px -22px rgba(94, 20, 40, .9); }
.vv-node.me small { color: var(--gold-light); }
.vv-node.me b { color: #fff; font-size: 1.4rem; }
.vv-node.me em { color: #ead8cd; }
.vv-sibs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 16px 0 0; }
.vv-sibs span { padding: 6px 16px; border-radius: 999px; background: #fff; border: 1px solid #decfb8; font-size: .92rem; color: var(--wine-900); }
.vv-sibs small { margin-right: 8px; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--gold-deep); }
html[lang="hi"] .vv-node b { font-family: 'Tiro Devanagari Hindi', serif; font-weight: 400; }
@media (max-width: 640px) {
    .vv { padding: 20px 14px 22px; }
    .vv-tree { grid-template-columns: 1fr 26px 1fr; }
    .vv-knot { width: 30px; height: 30px; margin-left: -15px; bottom: 20px; font-size: .9rem; box-shadow: 0 0 0 3px #fdf8ee; }
    .vv-node { padding: 10px 8px; border-radius: 12px; }
    .vv-node b { font-size: .98rem; }
    .vv-node em { font-size: .76rem; }
    .vv-tag { font-size: .54rem; letter-spacing: .1em; padding: 2px 8px; }
    .vv-node.me b { font-size: 1.15rem; }
}
@media print { .vv { background: none; border-color: #9c7630; } .vv-node.me { background: none; border: 1.5px solid #9c7630; box-shadow: none; } .vv-node.me b { color: #45101f; } .vv-node.me small, .vv-node.me em { color: #7a5a1e; } }

/* ---- Compare profiles ---- */
.cmp-intro { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 12px 18px; border-radius: 14px; background: var(--paper); border: 1px dashed var(--gold); color: var(--wine-800); }
.cmp-intro .ico { color: var(--gold-deep); }
.cmp-item { position: relative; display: grid; }
.cmp-item.picked .pcard { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200, 164, 92, .45), var(--shadow); }
.cmp-pick { position: absolute; left: 12px; top: 12px; z-index: 3; margin: 0; cursor: pointer; }
.cmp-pick input { position: absolute; opacity: 0; pointer-events: none; }
.cmp-pick span { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px 6px 10px; border-radius: 999px; font: 600 .82rem var(--sans); color: var(--wine-900); background: rgba(255, 253, 249, .94); border: 1px solid rgba(200, 164, 92, .8); box-shadow: 0 8px 16px -10px rgba(0, 0, 0, .6); transition: all .25s; }
.cmp-pick span .ico { width: 16px; height: 16px; padding: 2px; border-radius: 50%; border: 1px solid var(--gold-deep); color: transparent; }
.cmp-pick input:checked + span { background: var(--gold-grad); border-color: transparent; }
.cmp-pick input:checked + span .ico { color: #fff; background: var(--wine); border-color: var(--wine); }
.cmp-pick input:disabled + span { opacity: .45; cursor: not-allowed; }
.cmp-pick input:focus-visible + span { outline: 2px solid var(--wine); outline-offset: 2px; }
.cmp-bar { position: sticky; bottom: 18px; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 18px; width: min(460px, 100%); margin: 26px auto 0; padding: 10px 10px 10px 24px; border-radius: 999px; color: #f3e6dc; background: linear-gradient(135deg, var(--wine-900), var(--wine-800)); border: 1px solid var(--gold); box-shadow: 0 24px 44px -20px rgba(31, 6, 13, .9); }
.cmp-bar[hidden] { display: none; }
.cmp-bar b { font: 700 1.3rem 'Marcellus', serif; color: var(--gold-light); margin-right: 4px; }
.cmp-bar .btn:disabled { opacity: .5; cursor: not-allowed; }
.cmp-top-acts { display: flex; gap: 12px; flex-wrap: wrap; }
.cmp { --label: 210px; position: relative; border-radius: 24px; background: var(--paper); border: 1px solid rgba(200, 164, 92, .7); box-shadow: var(--shadow-lg); overflow-x: auto; }
.cmp-row { display: grid; grid-template-columns: var(--label) repeat(var(--n), minmax(200px, 1fr)); min-width: calc(var(--label) + var(--n) * 200px); border-bottom: 1px solid var(--line); }
.cmp-row:last-child { border-bottom: 0; }
.cmp-label { position: sticky; left: 0; z-index: 1; padding: 14px 20px; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--gold-deep); background: #fdf8ef; border-right: 1px solid var(--line); display: flex; align-items: center; }
.cmp-row.diff .cmp-label { box-shadow: inset 3px 0 0 var(--gold); }
.cmp-cell { padding: 14px 20px; color: var(--wine-900); font-weight: 500; border-right: 1px solid var(--line); display: grid; align-content: center; gap: 6px; }
.cmp-cell:last-child, .cmp-head:last-child { border-right: 0; }
.cmp-heads { background: linear-gradient(180deg, #fffdf9, #fbf4e6); }
.cmp-heads .cmp-label { background: none; border-right-color: transparent; }
.cmp-head { position: relative; display: grid; justify-items: center; gap: 6px; padding: 26px 18px 22px; text-align: center; border-right: 1px solid var(--line); }
.cmp-photo { width: 108px; height: 108px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--gold), 0 14px 26px -14px rgba(94, 20, 40, .8); font-size: 2.2rem; }
.cmp-head small { margin-top: 8px; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--gold-deep); }
.cmp-head h3 { margin: 0 0 6px; font-size: 1.3rem; }
.cmp-head h3 a { color: var(--wine-800); text-decoration: none; }
.cmp-x { position: absolute; right: 12px; top: 12px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; text-decoration: none; font-size: 1.2rem; line-height: 1; color: var(--wine); background: #fff; border: 1px solid #decfb8; }
.cmp-x:hover { background: var(--sand); }
.cmp-group { position: sticky; left: 0; padding: 10px 20px; background: linear-gradient(90deg, var(--wine-900), var(--wine-800)); border-bottom: 1px solid var(--gold); min-width: calc(var(--label) + var(--n) * 200px); }
.cmp-group span { position: sticky; left: 20px; font: 600 1rem 'Marcellus', serif; color: var(--gold-light); letter-spacing: .02em; }
html[lang="hi"] .cmp-group span, html[lang="hi"] .cmp-head h3 { font-family: 'Tiro Devanagari Hindi', serif; font-weight: 400; }
.cmp-guna b { font: 700 1.5rem 'Marcellus', serif; color: var(--wine); font-variant-numeric: lining-nums; }
.cmp-guna.top b { color: var(--gold-deep); }
.cmp-guna.top::after { content: '★'; margin-left: 8px; color: var(--gold); }
.cmp-cell .meter { display: block; height: 6px; border-radius: 6px; background: var(--sand); overflow: hidden; max-width: 160px; }
.cmp-cell .meter i { display: block; height: 100%; background: var(--gold-grad); }
.cmp-flag { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.cmp-flag i { width: 9px; height: 9px; border-radius: 50%; background: #3fa372; }
.cmp-flag.warn i { background: #e0a93b; } .cmp-flag.bad i { background: #d6504a; } .cmp-flag.bad { color: #a3261f; }
.cmp-hint { display: flex; align-items: center; gap: 10px; margin: 16px 4px 0; color: var(--muted); font-size: .9rem; }
.cmp-hint i { width: 4px; height: 18px; border-radius: 2px; background: var(--gold); }
@media (max-width: 760px) {
    .cmp { --label: 112px; border-radius: 18px; }
    .cmp-row, .cmp-group { min-width: calc(var(--label) + var(--n) * 150px); }
    .cmp-row { grid-template-columns: var(--label) repeat(var(--n), minmax(150px, 1fr)); }
    .cmp-label { padding: 12px 10px; font-size: .58rem; letter-spacing: .08em; }
    .cmp-cell { padding: 12px; font-size: .93rem; }
    .cmp-photo { width: 76px; height: 76px; font-size: 1.6rem; }
    .cmp-head { padding: 18px 10px 16px; } .cmp-head h3 { font-size: 1.05rem; }
    .cmp-bar { bottom: 84px; }
}
@media print { .cmp { box-shadow: none; overflow: visible; } .cmp-group { background: none; border-bottom: 1.5px solid #9c7630; } .cmp-group span { color: #45101f; } }
/* Suggested matches: every box the same height (the reasons line keeps room for two lines, chips for three rows) */
.sg-why { min-height: 3.5em; align-content: flex-start; line-height: 1.6; }
.sg-item .pcard { display: flex; flex-direction: column; }
.sg-item .pcard-body { flex: 1; }
.sg-item .pcard-over h3 { min-height: 2.5em; display: flex; align-items: flex-end; }

/* ---- Compare page, premium layout ---- */
.cx-hero h1 em { font-style: italic; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cx { --label: 230px; --col: minmax(0, 1fr); display: grid; gap: 22px; }
.cx-stage { position: relative; overflow: hidden; border-radius: 28px; padding: 34px 30px 30px; color: #ead8cd; background: radial-gradient(ellipse at 20% 0%, #5e1428 0%, transparent 55%), linear-gradient(150deg, var(--wine-950), var(--wine-800)); border: 1px solid rgba(200, 164, 92, .75); box-shadow: var(--shadow-lg); }
.cx-stage::after { content: ''; position: absolute; inset: 9px; border-radius: 20px; border: 1px solid rgba(226, 201, 140, .22); pointer-events: none; }
.cx-stage .mandala { width: 560px; right: -160px; top: -200px; left: auto; opacity: .16; }
.cx-grid { position: relative; z-index: 2; display: grid; grid-template-columns: var(--label) repeat(var(--n), var(--col)); gap: 20px; align-items: stretch; }
.cx-intro { align-self: center; padding-right: 6px; }
.cx-intro .mangal { color: var(--gold-light); font-size: 1.15rem; }
.cx-big { margin: 10px 0 18px; font: 500 1.02rem/1.35 var(--sans); color: #f3e6dc; }
.cx-big b { display: block; font: 700 4.2rem/1 'Marcellus', serif; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: lining-nums; }
.cx-intro ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .9rem; }
.cx-intro li { display: flex; align-items: center; gap: 10px; line-height: 1.35; }
.cx-intro li i { flex: none; width: 18px; height: 18px; display: grid; place-items: center; font-style: normal; color: var(--gold); }
.cx-intro li i.d::before { content: ''; width: 4px; height: 16px; border-radius: 2px; background: var(--gold); }
.cx-intro li i.m::before { content: ''; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--gold); }
.cx-card { position: relative; display: grid; justify-items: center; align-content: start; gap: 6px; padding: 30px 18px 24px; text-align: center; border-radius: 22px; background: linear-gradient(180deg, rgba(255, 253, 249, .98), #fbf3e3); border: 1px solid rgba(200, 164, 92, .7); color: var(--ink); box-shadow: 0 26px 46px -28px rgba(0, 0, 0, .8); transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; }
.cx-card:hover { transform: translateY(-5px); box-shadow: 0 34px 54px -28px rgba(0, 0, 0, .9); }
.cx-card.top { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(226, 201, 140, .5), 0 30px 50px -26px rgba(0, 0, 0, .85); }
.cx-ribbon { position: absolute; top: -1px; left: 50%; transform: translateX(-50%); padding: 5px 16px 6px; border-radius: 0 0 12px 12px; font: 700 .62rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; color: var(--wine-900); background: var(--gold-grad); box-shadow: 0 8px 16px -8px rgba(156, 118, 48, .9); }
.cx-x { position: absolute; right: 12px; top: 12px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; text-decoration: none; font-size: 1.2rem; line-height: 1; color: var(--wine); background: #fff; border: 1px solid #decfb8; transition: all .25s; }
.cx-x:hover { background: var(--wine); color: #fff; border-color: var(--wine); }
.cx-face { position: relative; display: block; margin: 14px 0 8px; padding: 6px; border-radius: 50%; background: conic-gradient(from 210deg, #f4e4b8, #b08a3e, #f4e4b8, #9c7630, #f4e4b8); }
.cx-photo { display: grid; place-items: center; width: 128px; height: 128px; border-radius: 50%; object-fit: cover; border: 4px solid #fffdf9; font-size: 2.6rem; }
.cx-seal { position: absolute; right: 2px; bottom: 6px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: .9rem; color: var(--wine-900); background: var(--gold-grad); border: 3px solid #fffdf9; }
.cx-id { font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--gold-deep); }
.cx-card h3 { margin: 0; font-size: 1.4rem; line-height: 1.25; }
.cx-card h3 a { color: var(--wine-800); text-decoration: none; }
.cx-sub { margin: 0; color: var(--muted); font-size: .93rem; }
.cx-score { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; min-height: 84px; margin: 8px 0 10px; }
.cx-ring { position: relative; width: 78px; height: 78px; display: grid; place-content: center; text-align: center; }
.cx-ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.cx-ring circle { fill: none; stroke-width: 6; }
.cx-ring .t { stroke: rgba(200, 164, 92, .25); }
.cx-ring .b { stroke: #b08a3e; stroke-linecap: round; }
.cx-card.top .cx-ring .b { stroke: var(--wine); }
.cx-ring b { font: 700 1.45rem/1 'Marcellus', serif; color: var(--wine-800); font-variant-numeric: lining-nums; }
.cx-ring small { font-size: .6rem; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.cx-gotra { display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; border-radius: 999px; font: 600 .82rem var(--sans); color: #1d6b47; background: #e9f6ef; border: 1px solid #bfe3cf; }
.cx-gotra i { width: 8px; height: 8px; border-radius: 50%; background: #3fa372; }
.cx-gotra.warn { color: #8a5f0c; background: #fdf3dc; border-color: #f0d79c; } .cx-gotra.warn i { background: #e0a93b; }
.cx-gotra.bad { color: #a3261f; background: #fdecea; border-color: #f1c0bb; } .cx-gotra.bad i { background: #d6504a; }
.cx-card .btn { margin-top: 2px; }
/* slim name bar that stays in view while reading the rows */
.cx-names { position: sticky; top: 104px; z-index: 6; display: grid; grid-template-columns: var(--label) repeat(var(--n), var(--col)); gap: 20px; align-items: center; padding: 12px 30px; border-radius: 999px; color: #f3e6dc; background: linear-gradient(135deg, var(--wine-900), var(--wine-800)); border: 1px solid var(--gold); box-shadow: 0 18px 34px -20px rgba(31, 6, 13, .9); }
.cx-names span { display: flex; align-items: center; gap: 8px; font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--gold-light); }
.cx-names b { text-align: center; font: 600 1.05rem 'Marcellus', serif; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* sections */
.cx-sec { border-radius: 24px; background: var(--paper); border: 1px solid rgba(200, 164, 92, .55); box-shadow: var(--shadow); overflow: hidden; }
.cx-sec header { display: flex; align-items: center; gap: 14px; padding: 20px 30px 18px; background: linear-gradient(180deg, #fffdf9, #fbf5ea); border-bottom: 1px solid rgba(200, 164, 92, .45); }
.cx-sec header .h-ico { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--wine-900); background: var(--gold-grad); box-shadow: 0 0 0 5px rgba(200, 164, 92, .16); }
.cx-sec h2 { margin: 0; font-size: 1.45rem; white-space: nowrap; }
.cx-sec header > i { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(200, 164, 92, .8), transparent); }
.cx-sec header > small { font: 700 1.6rem 'Marcellus', serif; color: rgba(200, 164, 92, .55); font-variant-numeric: lining-nums; }
.cx-count { padding: 4px 14px; border-radius: 999px; font: 700 .64rem/1.7 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--wine-900); background: var(--gold-grad); white-space: nowrap; }
.cx-count.same { color: #1d6b47; background: #e9f6ef; border: 1px solid #bfe3cf; }
.cx-row { display: grid; grid-template-columns: var(--label) repeat(var(--n), var(--col)); gap: 0 20px; padding: 0 30px; border-bottom: 1px solid var(--line); transition: background .25s; }
.cx-row:last-child { border-bottom: 0; }
.cx-row:hover { background: #fdf8ee; }
.cx-row.diff { background: linear-gradient(90deg, rgba(244, 228, 184, .32), rgba(244, 228, 184, .08) 60%, transparent); box-shadow: inset 4px 0 0 var(--gold); }
.cx-label { display: flex; align-items: center; padding: 16px 0; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--gold-deep); }
.cx-cell { display: grid; align-content: center; justify-items: center; gap: 6px; padding: 16px 8px; text-align: center; font-weight: 500; font-size: 1.02rem; color: var(--wine-900); border-left: 1px dashed rgba(200, 164, 92, .4); }
.cx-row.diff .cx-cell { font-weight: 600; }
.cx-cell .meter { width: 140px; max-width: 100%; }
.cx-cell .cmp-guna b { font-size: 1.7rem; }
html[lang="hi"] .cx-card h3, html[lang="hi"] .cx-sec h2, html[lang="hi"] .cx-names b { font-family: 'Tiro Devanagari Hindi', serif; font-weight: 400; }
html[lang="hi"] .cx-label { letter-spacing: 0; font-size: .84rem; text-transform: none; }
@media (max-width: 1080px) { .cx { --label: 170px; } .cx-big b { font-size: 3.2rem; } }
@media (max-width: 860px) {
    .cx { --label: 104px; --col: minmax(150px, 1fr); gap: 16px; overflow-x: auto; padding-bottom: 6px; }
    .cx-stage, .cx-sec, .cx-names { min-width: calc(var(--label) + var(--n) * 162px + 28px); }
    .cx-stage { padding: 20px 14px; border-radius: 20px; }
    .cx-grid, .cx-row, .cx-names { gap: 0 12px; }
    .cx-grid { gap: 12px; }
    .cx-intro ul { display: none; } .cx-big { font-size: .8rem; } .cx-big b { font-size: 2.4rem; }
    .cx-card { padding: 24px 10px 18px; border-radius: 16px; } .cx-card h3 { font-size: 1.08rem; }
    .cx-photo { width: 84px; height: 84px; font-size: 1.8rem; } .cx-face { padding: 4px; margin-top: 10px; }
    .cx-names { position: static; padding: 10px 14px; border-radius: 16px; } .cx-names span { font-size: 0; }
    .cx-sec header { padding: 14px; gap: 10px; } .cx-sec h2 { font-size: 1.15rem; } .cx-sec header > small, .cx-sec header > i { display: none; } .cx-sec header .h-ico { width: 34px; height: 34px; }
    .cx-sec header { position: sticky; left: 0; }
    .cx-row { padding: 0 14px; } .cx-label { font-size: .58rem; letter-spacing: .06em; padding: 12px 0; } .cx-cell { font-size: .93rem; padding: 12px 4px; }
}
@media print {
    .cx-stage { background: none; color: #2a1a1e; border-color: #9c7630; box-shadow: none; } .cx-stage .mandala, .cx-stage .k-stars { display: none; }
    .cx-big, .cx-intro .mangal { color: #45101f; } .cx-card, .cx-sec { box-shadow: none; break-inside: avoid; }
}

.bl-article a { color: var(--wine); font-weight: 600; text-decoration: none; background: linear-gradient(var(--gold), var(--gold)) left bottom / 100% 1.5px no-repeat; transition: background-size .3s, color .3s; padding-bottom: 1px; }
.bl-article a:hover { color: var(--wine-900); background-size: 100% 100%; background-image: linear-gradient(rgba(236, 217, 168, .55), rgba(236, 217, 168, .55)); }

/* ================= Family opinion ================= */
.fam { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center; margin-bottom: 26px; padding: 28px 32px; border-radius: 24px; color: #ead8cd; background: radial-gradient(ellipse at 0% 0%, #5e1428, transparent 60%), linear-gradient(140deg, var(--wine-950), var(--wine-800)); border: 1px solid rgba(200, 164, 92, .75); box-shadow: var(--shadow-lg); }
.fam > * { position: relative; z-index: 1; }
.fam .mangal { color: var(--gold-light); font-size: 1.1rem; }
.fam h2 { margin: 6px 0 8px; color: #fff; font-size: 1.8rem; }
.fam p { margin: 0; font-weight: 300; line-height: 1.65; }
.fam-box { padding: 20px; border-radius: 18px; background: rgba(255, 253, 249, .97); color: var(--ink); border: 1px solid rgba(200, 164, 92, .8); }
.fam-box label { display: block; margin-bottom: 8px; font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--gold-deep); }
.fam-url { display: flex; gap: 8px; }
.fam-url input { flex: 1; min-width: 0; height: 44px; border-radius: 12px; font-size: .88rem; background: var(--ivory); color: var(--muted); }
.fam-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.fam-acts form { margin: 0; }
.fam-acts .btn-outline { color: var(--wine); border-color: #decfb8; }
.fam-box.start { display: grid; justify-items: center; gap: 10px; text-align: center; }
.fam-box.start small { color: var(--muted); }
.fam-said { margin: 8px 2px 0; font-size: .86rem; }
.fam-said summary { display: flex; flex-wrap: wrap; gap: 6px 12px; cursor: pointer; list-style: none; padding: 8px 12px; border-radius: 12px; background: var(--paper); border: 1px solid rgba(200, 164, 92, .6); font-weight: 600; color: var(--wine-900); }
.fam-said summary::-webkit-details-marker { display: none; }
.fam-said summary span, .fam-said li, .fm-said li { display: flex; align-items: baseline; gap: 6px; }
.fam-said i, .fm-said i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #3fa372; }
.fam-said .talk i, .fm-said .talk i { background: #e0a93b; } .fam-said .no i, .fm-said .no i { background: #d6504a; }
.fam-said ul, .fm-said { list-style: none; margin: 8px 0 0; padding: 10px 12px; display: grid; gap: 6px; border-radius: 12px; background: var(--ivory); border: 1px solid var(--line); }
.fam-said li span, .fm-said li span { color: var(--muted); }
.fm-hero h1 em, .dy-page em { font-style: italic; }
.fm-hero h1 em { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fm-who { display: grid; grid-template-columns: 1fr minmax(240px, 340px) auto; gap: 18px; align-items: center; padding: 22px 28px; margin-bottom: 24px; }
.fm-who p { margin: 4px 0 0; color: var(--muted); font-size: .92rem; }
.fm-who .field { margin: 0; }
.fm-list { display: grid; gap: 22px; }
.fm-card { display: grid; grid-template-columns: 250px 1fr 320px; border-radius: 24px; background: var(--paper); border: 1px solid rgba(200, 164, 92, .6); box-shadow: var(--shadow); overflow: hidden; scroll-margin-top: 120px; }
.fm-photo { position: relative; min-height: 300px; background: linear-gradient(160deg, var(--wine-800), var(--wine-950)); }
.fm-photo img, .fm-photo .fm-noimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; display: grid; place-items: center; font: 600 5rem 'Marcellus', serif; color: var(--gold-light); }
.fm-body { padding: 24px 26px; }
.fm-id { font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--gold-deep); }
.fm-body h2 { margin: 2px 0 14px; font-size: 1.7rem; }
.fm-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; margin: 0 0 14px; }
.fm-facts dt { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--gold-deep); }
.fm-facts dd { margin: 1px 0 0; font-weight: 500; color: var(--wine-900); }
.fm-about { margin: 12px 0 0; font: italic 500 1rem/1.6 'Marcellus', serif; color: var(--wine-800); }
.fm-vote { padding: 24px 22px; background: linear-gradient(180deg, #fbf5ea, #f7eeda); border-left: 1px solid rgba(200, 164, 92, .5); }
.fm-vote form { display: grid; gap: 10px; margin-top: 10px; }
.fm-choices { display: grid; gap: 8px; }
.fm-choice { margin: 0; cursor: pointer; }
.fm-choice input { position: absolute; opacity: 0; pointer-events: none; }
.fm-choice span { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 14px; background: #fff; border: 1px solid #decfb8; font: 600 .96rem var(--sans); color: var(--wine-900); transition: all .25s; }
.fm-choice:hover span { border-color: var(--gold); }
.fm-choice.yes input:checked + span { color: #fff; background: #2f8a5e; border-color: #2f8a5e; }
.fm-choice.talk input:checked + span { color: var(--wine-900); background: var(--gold-grad); border-color: transparent; }
.fm-choice.no input:checked + span { color: #fff; background: #b8433c; border-color: #b8433c; }
.fm-choice input:focus-visible + span { outline: 2px solid var(--wine); outline-offset: 2px; }
.fm-vote input[type=text] { height: 44px; border-radius: 12px; background: #fff; font-size: .93rem; }
.fm-vote .btn:disabled { opacity: .5; cursor: not-allowed; }
.fm-foot { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 26px 0 0; color: var(--muted); font-size: .9rem; text-align: center; }
html[lang="hi"] .fm-body h2, html[lang="hi"] .fam h2 { font-family: 'Tiro Devanagari Hindi', serif; font-weight: 400; }
@media (max-width: 1000px) { .fam { grid-template-columns: 1fr; padding: 22px; } .fm-card { grid-template-columns: 200px 1fr; } .fm-vote { grid-column: 1 / -1; border-left: 0; border-top: 1px solid rgba(200, 164, 92, .5); } .fm-choices { grid-template-columns: repeat(3, 1fr); } .fm-who { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .fm-card { grid-template-columns: 1fr; } .fm-photo { min-height: 260px; } .fm-choices { grid-template-columns: 1fr; } .fm-facts { grid-template-columns: 1fr; } .fam-url { flex-wrap: wrap; } }

/* ================= Rishta diary ================= */
.dy-pipe { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0; margin-bottom: 22px; border-radius: 20px; background: var(--paper); border: 1px solid rgba(200, 164, 92, .65); box-shadow: var(--shadow); overflow: hidden; }
.dy-pipe-step { position: relative; padding: 16px 10px 14px; text-align: center; border-right: 1px solid var(--line); opacity: .55; }
.dy-pipe-step:last-child { border-right: 0; }
.dy-pipe-step.has { opacity: 1; background: linear-gradient(180deg, #fffdf9, #fbf3e3); }
.dy-pipe-step b { display: block; font: 700 1.9rem/1 'Marcellus', serif; color: var(--wine); font-variant-numeric: lining-nums; }
.dy-pipe-step span { display: block; margin-top: 6px; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--gold-deep); line-height: 1.4; }
.dy-pipe-step.yes.has b { color: #2f8a5e; } .dy-pipe-step.no.has b { color: #b8433c; }
.dy-add { display: grid; grid-template-columns: auto 1fr minmax(220px, 340px) auto; gap: 16px; align-items: center; margin-bottom: 22px; padding: 16px 22px; border-radius: 18px; background: var(--paper); border: 1px dashed var(--gold); }
.dy-add .h-ico { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--wine-900); background: var(--gold-grad); }
.dy-add b { display: block; color: var(--wine-800); } .dy-add small { color: var(--muted); }
.dy-add select { height: 46px; border-radius: 12px; background-color: #fff; }
.dy-list { display: grid; gap: 20px; }
.dy-card { position: relative; display: grid; gap: 18px; padding: 24px 26px 20px; border-radius: 22px; background: var(--paper); border: 1px solid rgba(200, 164, 92, .6); box-shadow: var(--shadow); scroll-margin-top: 120px; }
.dy-card::before { content: ''; position: absolute; left: 0; top: 22px; bottom: 22px; width: 4px; border-radius: 0 4px 4px 0; background: var(--gold-grad); }
.dy-card.yes::before { background: #2f8a5e; } .dy-card.no::before { background: #b8433c; } .dy-card.no { opacity: .82; }
.dy-card.due { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(226, 201, 140, .45), var(--shadow); }
.dy-who { display: flex; align-items: center; gap: 16px; }
.dy-img { flex: none; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--gold); display: grid; place-items: center; font-size: 1.5rem; }
.dy-who small { font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--gold-deep); }
.dy-who h3 { margin: 0; font-size: 1.35rem; } .dy-who h3 a { color: var(--wine-800); text-decoration: none; }
.dy-who p { margin: 0; color: var(--muted); font-size: .92rem; }
.dy-due { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px; font: 700 .72rem var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--wine-900); background: var(--gold-grad); white-space: nowrap; }
.dy-steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); }
.dy-steps::before { content: ''; position: absolute; left: 10%; right: 10%; top: 17px; height: 2px; background: #e6d9c2; }
.dy-step { position: relative; margin: 0; display: grid; justify-items: center; gap: 8px; cursor: pointer; text-align: center; }
.dy-step input, .dy-end input { position: absolute; opacity: 0; pointer-events: none; }
.dy-step i { position: relative; z-index: 1; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 700 .95rem 'Marcellus', serif; font-style: normal; color: var(--gold-deep); background: #fff; border: 2px solid #e6d9c2; transition: all .25s; }
.dy-step span { font-size: .8rem; font-weight: 500; color: var(--muted); line-height: 1.3; padding: 0 4px; text-transform: none; letter-spacing: 0; }
.dy-step.past i { border-color: var(--gold); background: #fbf3e3; }
.dy-step:hover i { border-color: var(--wine); }
.dy-step input:checked ~ i { color: #fff; background: linear-gradient(135deg, var(--wine), var(--wine-800)); border-color: var(--gold); box-shadow: 0 0 0 5px rgba(200, 164, 92, .25); transform: scale(1.08); }
.dy-step input:checked ~ span { color: var(--wine-900); font-weight: 700; }
.dy-step input:focus-visible ~ i { outline: 2px solid var(--wine); outline-offset: 3px; }
.dy-ends { display: flex; flex-wrap: wrap; gap: 10px; }
.dy-end { margin: 0; cursor: pointer; }
.dy-end span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 999px; background: #fff; border: 1px solid #decfb8; font: 600 .88rem var(--sans); color: var(--wine-900); text-transform: none; letter-spacing: 0; transition: all .25s; }
.dy-end.yes input:checked + span { color: #fff; background: #2f8a5e; border-color: #2f8a5e; }
.dy-end.no input:checked + span { color: #fff; background: #b8433c; border-color: #b8433c; }
.dy-end input:focus-visible + span { outline: 2px solid var(--wine); outline-offset: 2px; }
.dy-fields { display: grid; grid-template-columns: 1fr 230px; gap: 18px; }
.dy-fields .field { margin: 0; } .dy-fields textarea { min-height: 96px; background: #fff; } .dy-fields input[type=date] { background: #fff; }
.dy-date small { display: block; margin-top: 8px; color: var(--muted); font-size: .8rem; }
.dy-acts { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px dashed var(--line); }
.i-diary { display: inline; margin: 0; } .i-diary .mini { display: inline-flex; align-items: center; gap: 6px; }
.p-diary { margin: 0 0 16px; }
.p-diary button { width: 100%; display: flex; align-items: center; gap: 14px; padding: 14px 18px; text-align: left; cursor: pointer; border-radius: 18px; background: linear-gradient(135deg, #fffdf9, #fbf3e3); border: 1px solid rgba(200, 164, 92, .75); color: var(--wine-900); font-family: var(--sans); transition: transform .25s, box-shadow .25s; }
.p-diary button:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.p-diary button > .ico:first-child { flex: none; width: 40px; height: 40px; padding: 10px; border-radius: 50%; color: var(--wine-900); background: var(--gold-grad); }
.p-diary span { flex: 1; display: grid; } .p-diary b { font-size: 1rem; } .p-diary small { color: var(--muted); font-size: .82rem; line-height: 1.4; }
html[lang="hi"] .dy-pipe-step span { letter-spacing: 0; text-transform: none; font-size: .78rem; }
@media (max-width: 860px) { .dy-pipe { grid-template-columns: repeat(4, 1fr); } .dy-pipe-step { border-bottom: 1px solid var(--line); } .dy-add { grid-template-columns: auto 1fr; } .dy-add select, .dy-add .btn { grid-column: 1 / -1; } .dy-fields { grid-template-columns: 1fr; } .dy-card { padding: 20px 16px 16px; } .dy-step span { font-size: .68rem; } .dy-who { flex-wrap: wrap; } .dy-due { margin-left: 0; } }

/* ================= Voice introduction ================= */
.vc-page { display: grid; grid-template-columns: 1.5fr 1fr; gap: 26px; align-items: start; }
.vc-card { padding: 34px 34px 30px; }
.vc-now { display: grid; gap: 10px; padding-bottom: 22px; margin-bottom: 24px; border-bottom: 1px dashed var(--line); }
.vc-now audio, .vc-form audio, .p-voice audio { width: 100%; height: 44px; }
.vc-now form { margin: 0; justify-self: start; }
.vc-rec { display: grid; justify-items: center; gap: 12px; padding: 30px 20px 24px; border-radius: 22px; color: #ead8cd; background: radial-gradient(ellipse at 50% 0%, #5e1428, transparent 65%), linear-gradient(160deg, var(--wine-950), var(--wine-800)); border: 1px solid rgba(200, 164, 92, .7); }
.vc-btn { position: relative; width: 96px; height: 96px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; font-size: 2.2rem; color: var(--wine-900); background: var(--gold-grad); box-shadow: 0 0 0 8px rgba(200, 164, 92, .2), 0 18px 34px -14px rgba(0, 0, 0, .8); transition: transform .2s; }
.vc-btn:hover { transform: scale(1.05); }
.vc-btn i { position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--gold-light); opacity: 0; }
.vc-rec.on .vc-btn { color: #fff; background: linear-gradient(135deg, #c8443c, #8f2620); }
.vc-rec.on .vc-btn i { animation: vcPulse 1.3s ease-out infinite; }
@keyframes vcPulse { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(1.5); } }
.vc-time b { font: 700 2.2rem/1 'Marcellus', serif; color: #fff; font-variant-numeric: lining-nums tabular-nums; } .vc-time span { color: var(--gold-light); margin-left: 6px; }
.vc-bars { display: flex; align-items: center; justify-content: center; gap: 4px; height: 36px; }
.vc-bars i { width: 4px; height: 8px; border-radius: 3px; background: var(--gold); opacity: .55; }
.vc-rec.on .vc-bars i { animation: vcBar 1s ease-in-out infinite; animation-delay: calc(var(--i) * -.137s); opacity: 1; }
.vc-bars.still i { height: calc(8px + (var(--i) * 37 % 23) * 1px); background: var(--gold-deep); opacity: .35; }
@keyframes vcBar { 0%, 100% { height: 8px; } 50% { height: 34px; } }
.vc-hint { margin: 0; font-size: .95rem; text-align: center; }
.vc-form { display: grid; gap: 18px; }
.vc-file { display: grid; gap: 8px; } .vc-file span { font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--gold-deep); }
.vc-file input { padding: 10px; border-radius: 12px; border: 1px dashed var(--gold); background: #fff; width: 100%; }
.vc-acts { display: flex; justify-content: flex-end; } .vc-acts .btn:disabled { opacity: .5; cursor: not-allowed; }
.vc-side { display: grid; gap: 20px; } .vc-side h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 1.2rem; } .vc-side h3 .ico { color: var(--gold-deep); }
.vc-side .ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; } .vc-side .ticks li { display: flex; gap: 10px; align-items: flex-start; } .vc-side .ticks .ico { flex: none; margin-top: 4px; color: var(--gold-deep); }
.p-voice { display: grid; grid-template-columns: auto 1fr; gap: 14px 16px; align-items: center; padding: 20px 22px; border: 1px solid rgba(200, 164, 92, .7); background: linear-gradient(135deg, #fffdf9, #fbf3e3); }
.p-voice-ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 1.25rem; color: var(--wine-900); background: var(--gold-grad); box-shadow: 0 0 0 6px rgba(200, 164, 92, .18); }
.p-voice-text b { display: block; font: 600 1.15rem 'Marcellus', serif; color: var(--wine-800); } .p-voice-text small { color: var(--muted); }
.p-voice audio, .p-voice .vc-bars { grid-column: 1 / -1; }
.p-voice.locked .p-voice-ico { background: var(--sand); color: var(--gold-deep); box-shadow: none; }
@media (max-width: 900px) { .vc-page { grid-template-columns: 1fr; } .vc-card { padding: 22px 18px; } }

/* ---- Mobile fixes: suggested boxes equal, browse bar label, compare page ---- */
.b-count small { display: none; }
@supports (grid-template-rows: subgrid) {
    .sg-row { grid-template-rows: 1fr auto; }
    .sg-item { display: grid; grid-template-rows: subgrid; grid-row: span 2; row-gap: 0; }
    .sg-why { min-height: 0; }
}
@media (max-width: 960px) {
    .b-count { align-items: center; gap: 8px; }
    .b-count b { font-size: 1.7rem; }
    .b-count small { display: block; font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--gold-deep); line-height: 1.2; }
    .sg-why { flex-direction: column; flex-wrap: nowrap; gap: 3px; font-size: .74rem; margin: 8px 2px 0; }
    .sg-item .pcard-over h3 { min-height: 2.5em; font-size: .98rem; }
}
@media (max-width: 860px) {
    .cx { --col: minmax(0, 1fr); overflow-x: visible; gap: 14px; padding-bottom: 0; }
    .cx-stage, .cx-sec, .cx-names { min-width: 0; }
    .cx-stage { padding: 14px 10px 12px; border-radius: 20px; }
    .cx-stage::after { display: none; }
    .cx-grid { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 8px; }
    .cx-intro { grid-column: 1 / -1; padding: 2px 6px 4px; }
    .cx-intro .mangal, .cx-intro ul { display: none; }
    .cx-big { margin: 0; display: flex; align-items: baseline; gap: 10px; font-size: .95rem; }
    .cx-big b { display: inline; font-size: 2rem; }
    .cx-card { padding: 26px 6px 14px; gap: 4px; border-radius: 16px; }
    .cx-card:hover { transform: none; }
    .cx-face { margin: 6px 0 4px; padding: 3px; }
    .cx-photo { width: 72px; height: 72px; font-size: 1.6rem; border-width: 3px; }
    .cx-seal { width: 24px; height: 24px; font-size: .7rem; border-width: 2px; right: -2px; bottom: 0; }
    .cx-id { font-size: .54rem; letter-spacing: .1em; }
    .cx-card h3 { font-size: 1rem; }
    .cx-sub { font-size: .76rem; line-height: 1.35; }
    .cx-score { flex-direction: column; gap: 8px; min-height: 0; margin: 6px 0 8px; }
    .cx-ring { width: 62px; height: 62px; } .cx-ring b { font-size: 1.15rem; } .cx-ring small { font-size: .52rem; }
    .cx-gotra { padding: 4px 10px; font-size: .7rem; white-space: nowrap; gap: 5px; }
    .cx-card .btn { padding: 8px 12px; font-size: .78rem; white-space: nowrap; min-height: 0; }
    .cx-card .btn .ico { display: none; }
    .cx-ribbon { font-size: .5rem; padding: 3px 8px 4px; letter-spacing: .08em; }
    .cx-x { width: 24px; height: 24px; right: 6px; top: 6px; font-size: 1rem; }
    .cx-names { position: sticky; top: 8px; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 8px; padding: 9px 10px; border-radius: 14px; }
    .cx-names span { display: none; } .cx-names b { font-size: .86rem; }
    .cx-sec { border-radius: 18px; }
    .cx-sec header { position: static; padding: 14px; }
    .cx-row { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 0; padding: 10px 8px 12px; }
    .cx-row.diff { box-shadow: inset 3px 0 0 var(--gold); }
    .cx-label { grid-column: 1 / -1; justify-content: center; padding: 0 0 6px; font-size: .58rem; letter-spacing: .12em; text-align: center; }
    .cx-cell { padding: 2px 6px; font-size: .9rem; border-left: 0; overflow-wrap: anywhere; }
    .cx-cell + .cx-cell { border-left: 1px dashed rgba(200, 164, 92, .5); }
    .cx-cell .cmp-guna b { font-size: 1.3rem; }
    .cx-cell .cmp-flag { font-size: .8rem; gap: 5px; }
    .cmp-top-acts .btn { padding: 9px 16px; font-size: .86rem; }
}
.fam > .k-stars { position: absolute; inset: 0; z-index: 0; }
.fam-acts .btn-outline { color: var(--wine); border: 1px solid var(--gold); background: #fff; }
.fam-acts .btn-outline:hover { background: var(--sand); }
.fm-said li, .fam-said li { flex-wrap: wrap; } .fm-said li b, .fam-said li b { white-space: nowrap; }
.fam .fam-acts .btn.btn-outline { color: var(--wine) !important; }

/* ================= Agents ================= */
.ref-by { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 10px 14px; border-radius: 12px; background: #e9f6ef; border: 1px solid #bfe3cf; color: #1d6b47; font-size: .92rem; }
.ref-box { margin: 0 0 14px; }
.ref-box summary { cursor: pointer; font-size: .88rem; color: var(--wine); font-weight: 600; }
.ref-box input { margin-top: 8px; text-transform: uppercase; letter-spacing: .12em; }
.ag-stats { display: grid; grid-template-columns: repeat(5, 1fr); margin-bottom: 24px; border-radius: 22px; background: var(--paper); border: 1px solid rgba(200, 164, 92, .7); box-shadow: var(--shadow-lg); overflow: hidden; }
.ag-stats div { position: relative; padding: 22px 18px 18px; text-align: center; border-right: 1px solid var(--line); }
.ag-stats div:last-child { border-right: 0; }
.ag-stats .ico { color: var(--gold-deep); font-size: 1.1rem; }
.ag-stats b { display: block; margin: 4px 0 2px; font: 700 2.4rem/1 'Marcellus', serif; color: var(--wine); font-variant-numeric: lining-nums; }
.ag-stats span { font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--gold-deep); }
.ag-stats .fixed { background: linear-gradient(180deg, #fffdf9, #fbf0d8); } .ag-stats .fixed b { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ag-top { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; align-items: stretch; margin-bottom: 30px; }
.ag-share { grid-template-columns: 1fr; margin: 0; align-content: center; }
.ag-code { margin-left: auto; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--gold-deep); }
.ag-code b { margin-left: 6px; padding: 5px 12px; border-radius: 8px; font: 700 1.05rem/1 var(--sans); letter-spacing: .2em; color: var(--wine-900); background: var(--sand); border: 1px dashed var(--gold); }
.ag-add { padding: 28px 30px; }
.ag-add h2 { margin: 4px 0 6px; font-size: 1.5rem; }
.ag-add .muted { margin: 0 0 16px; font-size: .93rem; }
.ag-table td { vertical-align: middle; }
.ag-table .pill + .pill { margin-left: 6px; }
.ad-link { width: 230px; max-width: 100%; height: 32px; padding: 4px 10px; margin-top: 6px; font-size: .78rem; border-radius: 8px; background: var(--ivory); color: var(--muted); }
html[lang="hi"] .ag-stats span { letter-spacing: 0; text-transform: none; font-size: .82rem; }
@media (max-width: 900px) { .ag-stats { grid-template-columns: repeat(2, 1fr); } .ag-stats div { border-bottom: 1px solid var(--line); } .ag-stats .month { grid-column: 1 / -1; } .ag-top { grid-template-columns: 1fr; } .ag-add { padding: 22px 18px; } .ag-code { margin-left: 0; } }

/* ================= Special sections on Browse ================= */
.b-sections { display: flex; gap: 10px; margin: 0 0 20px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.b-sections::-webkit-scrollbar { display: none; }
.b-sections a { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 999px; text-decoration: none; font: 600 .93rem var(--sans); color: var(--wine-900); background: var(--paper); border: 1px solid rgba(200, 164, 92, .65); transition: all .25s; }
.b-sections a .ico { color: var(--gold-deep); }
.b-sections a:hover { border-color: var(--wine); }
.b-sections a.on { color: #fff; border-color: var(--gold); background: linear-gradient(135deg, var(--wine), var(--wine-800)); box-shadow: 0 12px 22px -14px rgba(94, 20, 40, .9); }
.b-sections a.on .ico { color: var(--gold-light); }
.b-sec-note { display: flex; align-items: center; gap: 16px; margin: 0 0 22px; padding: 18px 22px; border-radius: 18px; background: linear-gradient(135deg, #fffdf9, #fbf3e3); border: 1px solid rgba(200, 164, 92, .7); }
.b-sec-note .h-ico { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: var(--wine-900); background: var(--gold-grad); box-shadow: 0 0 0 6px rgba(200, 164, 92, .16); }
.b-sec-note b { font: 600 1.2rem 'Marcellus', serif; color: var(--wine-800); }
.b-sec-note p { margin: 2px 0 0; color: var(--muted); }
html[lang="hi"] .b-sec-note b { font-family: 'Tiro Devanagari Hindi', serif; font-weight: 400; }

/* ================= Weekly card (admin and agent) ================= */
.ad-wcard { display: grid; grid-template-columns: 340px 1fr; gap: 26px; align-items: start; }
.ad-card-img { border-radius: 18px; overflow: hidden; border: 1px solid var(--gold); box-shadow: var(--shadow-lg); background: var(--wine-900); }
.ad-card-img img { display: block; width: 100%; height: auto; }
.ad-card-tabs { display: flex; gap: 8px; margin-bottom: 18px; }
.ag-card { display: grid; grid-template-columns: 220px 1fr; gap: 26px; align-items: center; margin-bottom: 30px; padding: 22px; border-radius: 22px; background: var(--paper); border: 1px solid rgba(200, 164, 92, .65); box-shadow: var(--shadow); }
.ag-card h2 { margin: 4px 0 6px; font-size: 1.5rem; } .ag-card .muted { margin: 0; }
@media (max-width: 800px) { .ad-wcard, .ag-card { grid-template-columns: 1fr; } .ag-card .ad-card-img { max-width: 260px; } }

/* ================= Badhai page ================= */
.bd-hero h1 em { font-style: italic; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bd-top { display: grid; grid-template-columns: 1fr 380px; gap: 26px; align-items: start; margin-bottom: 26px; scroll-margin-top: 120px; }
.bd-form { padding: 30px 32px; }
.bd-form h2 { margin: 4px 0 6px; } .bd-form .muted { margin: 0 0 18px; font-size: .93rem; }
.bd-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.bd-card { border-radius: 22px; overflow: hidden; background: var(--wine-900); border: 1px solid var(--gold); box-shadow: var(--shadow-lg); }
.bd-card img { display: block; width: 100%; height: auto; }
.bd-card-acts { display: flex; gap: 10px; justify-content: center; padding: 14px; background: linear-gradient(180deg, #fbf5ea, #f4e9d3); }
.bd-card-empty { aspect-ratio: 4 / 5; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 30px; text-align: center; color: #ead8cd; background: radial-gradient(ellipse at 50% 0%, #5e1428, transparent 65%), linear-gradient(160deg, var(--wine-950), var(--wine-800)); }
.bd-card-empty span { width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; font-size: 1.7rem; color: var(--wine-900); background: var(--gold-grad); }
.bd-card-empty p { margin: 0; max-width: 240px; font-weight: 300; }
.bd-cols { display: grid; grid-template-columns: 1fr 1.25fr; gap: 26px; align-items: start; }
.bd-cols h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-size: 1.45rem; }
.bd-cols h2 .h-ico { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 1rem; color: var(--wine-900); background: var(--gold-grad); }
.bd-cols h2 small { margin-left: auto; font: 700 1.2rem 'Marcellus', serif; color: var(--gold-deep); font-variant-numeric: lining-nums; }
.bd-dates-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bd-dates-list li { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-radius: 14px; background: var(--ivory); border: 1px solid var(--line); }
.bd-dates-list .d { flex: none; width: 56px; padding: 6px 0 5px; border-radius: 12px; text-align: center; color: #fff; background: linear-gradient(135deg, var(--wine), var(--wine-800)); border: 1px solid var(--gold); }
.bd-dates-list .d b { display: block; font: 700 1.4rem/1 'Marcellus', serif; font-variant-numeric: lining-nums; }
.bd-dates-list .d small { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); }
.bd-dates-list div b { display: block; color: var(--wine-900); } .bd-dates-list div small { color: var(--muted); }
.bd-note { margin: 16px 0 0; font-size: .9rem; line-height: 1.6; }
.bd-bar { height: 8px; border-radius: 8px; background: var(--sand); overflow: hidden; margin-bottom: 8px; }
.bd-bar i { display: block; height: 100%; border-radius: 8px; background: var(--gold-grad); transition: width .6s; }
.bd-prep h3 { margin: 20px 0 8px; font: 700 .68rem var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); }
.bd-item { display: flex; align-items: center; gap: 12px; margin: 0; padding: 10px 4px; border-bottom: 1px dashed var(--line); cursor: pointer; text-transform: none; letter-spacing: 0; font-size: 1rem; color: var(--wine-900); }
.bd-item input { position: absolute; opacity: 0; pointer-events: none; }
.bd-item span { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; color: transparent; border: 2px solid #decfb8; background: #fff; transition: all .25s; }
.bd-item em { flex: 1; font-style: normal; font-weight: 500; }
.bd-item input:checked + span { color: #fff; background: #2f8a5e; border-color: #2f8a5e; }
.bd-item input:checked ~ em { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(125, 108, 111, .5); }
.bd-item input:focus-visible + span { outline: 2px solid var(--wine); outline-offset: 2px; }
.bd-item a { font-size: .86rem; font-weight: 600; color: var(--wine); white-space: nowrap; }
html[lang="hi"] .bd-prep h3 { letter-spacing: 0; text-transform: none; font-size: .92rem; }
@media (max-width: 980px) { .bd-top, .bd-cols { grid-template-columns: 1fr; } .bd-card { max-width: 380px; justify-self: center; width: 100%; } .bd-form { padding: 22px 18px; } }

/* ---- Share and save buttons on profile cards ---- */
.pcard-body { position: relative; }
.pcard-acts { position: absolute; right: 12px; top: -21px; z-index: 3; display: flex; gap: 8px; }
.pc-act { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; font-size: 1.05rem; color: var(--wine); background: #fffdf9; border: 1px solid rgba(200, 164, 92, .85); box-shadow: 0 10px 20px -10px rgba(31, 6, 13, .7); transition: transform .2s, background .25s, color .25s; }
.pc-act .ico { margin: 0 !important; color: inherit !important; }
.pc-act:hover { transform: translateY(-2px) scale(1.06); background: var(--sand); }
.pc-act.on { color: var(--wine-900); background: var(--gold-grad); border-color: transparent; }
.pc-act.on .ico path { fill: currentColor; }
.pc-act:focus-visible { outline: 2px solid var(--wine); outline-offset: 2px; }
.pc-act:disabled { opacity: .6; }
.pcard-body > p:first-of-type { padding-right: 96px; }
.share-pop { position: absolute; z-index: 90; min-width: 170px; padding: 6px; border-radius: 14px; background: #fffdf9; border: 1px solid var(--gold); box-shadow: 0 22px 40px -18px rgba(31, 6, 13, .7); display: grid; }
.share-pop a, .share-pop button { padding: 10px 14px; border: 0; border-radius: 10px; background: none; text-align: left; cursor: pointer; text-decoration: none; font: 600 .93rem var(--sans); color: var(--wine-900); }
.share-pop a:hover, .share-pop button:hover { background: var(--sand); }
@media (max-width: 960px) { .pc-act { width: 36px; height: 36px; font-size: .92rem; } .pcard-acts { top: -18px; right: 8px; gap: 6px; } .pcard-body > p:first-of-type { padding-right: 0; padding-top: 14px; } }
.pcard:has(.pcard-acts) .pcard-over { padding-bottom: 30px; }
@media (max-width: 960px) { .pcard:has(.pcard-acts) .pcard-over { padding-bottom: 24px; } }

/* ---- Share / Save: a slim strip at the foot of the card (replaces the round buttons) ---- */
.pcard { display: flex; flex-direction: column; }
.pcard-body { flex: 1; display: flex; flex-direction: column; }
.pcard-body > p:first-of-type { padding-right: 0 !important; padding-top: 0 !important; }
.pcard:has(.pcard-acts) .pcard-over, .pcard:has(.pcard-foot) .pcard-over { padding-bottom: revert-layer; }
.pcard-foot { display: grid; grid-template-columns: 1fr 1fr; margin: auto -18px -18px; padding-top: 0; border-top: 1px solid var(--line); background: linear-gradient(180deg, #fffdf9, #fbf5ea); }
.pcard-body > .pcard-gotra + .pcard-foot, .pcard-body > .chips + .pcard-foot { margin-top: 14px; }
.pcard-body > :nth-last-child(2) { margin-bottom: 14px; }
.pcard-foot .pc-act { all: unset; box-sizing: border-box; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 6px; cursor: pointer; font: 600 .78rem var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-deep); transition: background .25s, color .25s; }
.pcard-foot .pc-act + .pc-act { border-left: 1px solid var(--line); }
.pcard-foot .pc-act .ico { margin: 0 !important; font-size: .9rem; color: inherit !important; }
.pcard-foot .pc-act:hover { background: var(--sand); color: var(--wine); transform: none; }
.pcard-foot .pc-act.on { color: var(--wine); background: none; }
.pcard-foot .pc-act.on .ico path { fill: var(--gold); stroke: var(--gold-deep); }
.pcard-foot .pc-act:focus-visible { outline: 2px solid var(--wine); outline-offset: -2px; }
.pcard-foot .pc-act:disabled { opacity: .6; }
html[lang="hi"] .pcard-foot .pc-act { letter-spacing: 0; text-transform: none; font-size: .86rem; }
@media (max-width: 960px) { .pcard-foot .pc-act { padding: 8px 4px; font-size: .68rem; gap: 5px; letter-spacing: .04em; } }
.pcard-body > .pcard-gotra + .pcard-foot, .pcard-body > .chips + .pcard-foot { margin-top: auto; }
@media (max-width: 960px) { .pcard-foot { margin: auto -10px -12px; } .pcard-body > :nth-last-child(2) { margin-bottom: 10px; } }

/* ---- Shorter profile cards: lower picture, tighter details ---- */
.pcard-media { aspect-ratio: 4 / 3.3; }
.pcard-over { padding: 40px 16px 10px; }
.pcard-over h3 { font-size: 1.16rem; line-height: 1.25; }
.pcard-over p { font-size: .86rem; margin-top: 1px; }
.pcard-body { padding: 12px 16px 16px; }
.pcard-body p { margin-bottom: 2px; font-size: .9rem; }
.pcard-body .chips { margin-top: 8px !important; gap: 5px !important; }
.pcard-body .chip { font-size: .74rem; padding: 0 10px; }
.pcard-gotra { margin-top: 8px !important; padding-top: 8px; font-size: .8rem !important; }
.pcard-body > :nth-last-child(2) { margin-bottom: 10px; }
.pcard-foot { margin: auto -16px -16px; }
.pcard-foot .pc-act { padding: 8px 6px; font-size: .72rem; }
.pcard-guna { transform: scale(.86); transform-origin: top right; }
.sg-item .pcard-over h3 { min-height: 0; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard-over h3 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 960px) {
    .pcard-media { aspect-ratio: 4 / 3.5; }
    .pcard-over { padding: 28px 10px 8px; }
    .pcard-over h3 { font-size: .95rem; }
    .pcard-over p { font-size: .7rem; }
    .pcard-body { padding: 9px 10px 12px; }
    .pcard-body p { font-size: .78rem; }
    .pcard-foot { margin: auto -10px -12px; }
    .pcard-foot .pc-act { padding: 7px 4px; font-size: .64rem; }
    .pcard-body > :nth-last-child(2) { margin-bottom: 8px; }
}

/* ---- Profile card details as a small ledger: label on the left, value on the right ---- */
.pcard-body { padding: 6px 16px 16px; }
.pc-facts { margin: 0; }
.pc-facts > div { display: flex; align-items: baseline; gap: 10px; padding: 7px 0 6px; border-bottom: 1px solid rgba(200, 164, 92, .28); }
.pc-facts > div:last-child { border-bottom: 0; }
.pc-facts dt { flex: none; width: 68px; font-size: .58rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--gold-deep); }
.pc-facts dd { flex: 1; min-width: 0; margin: 0; text-align: right; font: 600 .9rem/1.3 var(--sans); color: var(--wine-900); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-facts dd small { font-size: .78rem; font-weight: 400; color: var(--muted); }
.pc-facts dd small::before { content: '·'; margin: 0 5px 0 3px; color: var(--gold); }
.pc-meta { display: flex !important; flex-wrap: wrap; align-items: center !important; gap: 6px 8px !important; margin: 4px 0 10px !important; padding-top: 10px; border-top: 1px solid rgba(200, 164, 92, .55); font-size: .76rem !important; }
.pc-id { padding: 2px 9px; border-radius: 6px; font: 700 .7rem/1.5 var(--sans); letter-spacing: .1em; color: var(--wine-900); background: linear-gradient(135deg, #f6e9c6, #e7cf95); font-variant-numeric: lining-nums; }
.pc-tag { padding: 2px 10px; border-radius: 999px; font-weight: 600; color: #6a4c1a; background: var(--sand); border: 1px solid rgba(200, 164, 92, .45); }
.pc-gotra { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ok); white-space: nowrap; }
.pc-gotra i { width: 8px; height: 8px; border-radius: 50%; background: #3fa372; box-shadow: 0 0 0 3px rgba(63, 163, 114, .18); }
.pc-gotra.warn { color: var(--warn); } .pc-gotra.warn i { background: #e0a93b; box-shadow: 0 0 0 3px rgba(224, 169, 59, .2); }
.pc-gotra.bad { color: var(--bad); } .pc-gotra.bad i { background: #d6504a; box-shadow: 0 0 0 3px rgba(214, 80, 74, .18); }
.pcard-body > :nth-last-child(2) { margin-bottom: 10px; }
html[lang="hi"] .pc-facts dt { letter-spacing: 0; text-transform: none; font-size: .76rem; width: 56px; }
@media (max-width: 960px) {
    .pcard-body { padding: 4px 10px 12px; }
    .pc-facts > div { padding: 5px 0 4px; gap: 6px; }
    .pc-facts dt { width: 48px; font-size: .5rem; letter-spacing: .1em; }
    .pc-facts dd { font-size: .78rem; }
    .pc-facts dd small { display: none; }
    .pc-facts .pc-work { display: none; }
    .pc-meta { padding-top: 7px; margin: 2px 0 8px !important; font-size: .66rem !important; gap: 4px 6px !important; }
    .pc-id { font-size: .62rem; padding: 1px 7px; }
    .pc-tag { display: none; }
    .pc-gotra { font-size: .66rem; }
}
.pc-meta { margin-top: 6px !important; padding-top: 12px; }
@media (max-width: 960px) { .pc-meta { margin-top: 4px !important; padding-top: 9px; } }

/* ---- Card: profile number beside the name, Manglik as a ledger row, gotra result as one quiet strip ---- */
.pc-code { display: inline-block; margin-bottom: 3px; padding: 1px 8px; border-radius: 5px; font: 700 .62rem/1.6 var(--sans); letter-spacing: .14em; color: var(--wine-900); background: var(--gold-grad); font-variant-numeric: lining-nums; }
.pc-facts > div:last-child { border-bottom: 0; }
.pcard-body > .pc-facts { margin-bottom: 12px; }
.pc-status { display: flex !important; align-items: center !important; justify-content: center; gap: 8px !important; margin: auto -16px 0 !important; padding: 6px 10px; font: 700 .72rem/1.4 var(--sans) !important; letter-spacing: .06em; color: var(--ok) !important; background: #eef7f1; border-top: 1px solid #cfe8d9; }
.pc-status i { width: 7px; height: 7px; border-radius: 50%; background: #3fa372; }
.pc-status.warn { color: #8a5f0c !important; background: #fdf4df; border-top-color: #f0dba6; } .pc-status.warn i { background: #e0a93b; }
.pc-status.bad { color: var(--bad) !important; background: #fdeeec; border-top-color: #f3c9c4; } .pc-status.bad i { background: #d6504a; }
.pc-status + .pcard-foot { margin-top: 0 !important; }
.pcard-body > .pc-status:nth-last-child(2) { margin-bottom: 0; }
@media (max-width: 960px) {
    .pc-code { font-size: .52rem; padding: 0 6px; margin-bottom: 2px; }
    .pc-facts .pc-mang { display: none; }
    .pcard-body > .pc-facts { margin-bottom: 8px; }
    .pc-status { margin: auto -10px 0 !important; padding: 5px 6px; font-size: .62rem !important; letter-spacing: 0; }
}
@media (max-width: 960px) { .pc-facts > div:has(+ .pc-mang) { border-bottom: 0; } }

/* ---- Gotra result: a small seal between two gold hairlines (replaces the flat coloured bar) ---- */
.pc-status { margin: auto 0 10px !important; padding: 0; gap: 9px !important; background: none !important; border-top: 0 !important; font: 700 .64rem/1.4 var(--sans) !important; letter-spacing: .16em; text-transform: uppercase; color: #1d6b47 !important; white-space: nowrap; }
.pc-status::before, .pc-status::after { content: ''; flex: 1; height: 1px; min-width: 10px; }
.pc-status::before { background: linear-gradient(90deg, transparent, rgba(200, 164, 92, .9)); }
.pc-status::after { background: linear-gradient(90deg, rgba(200, 164, 92, .9), transparent); }
.pc-status i { position: relative; flex: none; width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(135deg, #4fb583, #2f8a5e); box-shadow: 0 0 0 3px rgba(63, 163, 114, .16), 0 4px 8px -4px rgba(47, 138, 94, .9); }
.pc-status i::after { content: ''; position: absolute; left: 6.5px; top: 3.5px; width: 4px; height: 8px; border: solid #fff; border-width: 0 1.8px 1.8px 0; transform: rotate(45deg); }
.pc-status.warn { color: #8a5f0c !important; }
.pc-status.warn i { background: linear-gradient(135deg, #f1c35c, #cf962a); box-shadow: 0 0 0 3px rgba(224, 169, 59, .2), 0 4px 8px -4px rgba(207, 150, 42, .9); }
.pc-status.warn i::after, .pc-status.bad i::after { left: 8px; top: 4px; width: 0; height: 6px; border-width: 0 2px 0 0; transform: none; box-shadow: 0 8.5px 0 -0.2px #fff; }
.pc-status.bad { color: #a3261f !important; }
.pc-status.bad i { background: linear-gradient(135deg, #e2685f, #b8433c); box-shadow: 0 0 0 3px rgba(214, 80, 74, .16), 0 4px 8px -4px rgba(184, 67, 60, .9); }
.pc-status + .pcard-foot { margin-top: 0 !important; }
.pcard-body > .pc-status:nth-last-child(2) { margin-bottom: 10px; }
html[lang="hi"] .pc-status { letter-spacing: 0; text-transform: none; font-size: .8rem !important; }
@media (max-width: 960px) {
    .pc-status { margin: auto 0 7px !important; gap: 6px !important; font-size: .54rem !important; letter-spacing: .08em; }
    .pc-status i { width: 14px; height: 14px; box-shadow: 0 0 0 2px rgba(63, 163, 114, .16); }
    .pc-status i::after { left: 5px; top: 2.5px; width: 3px; height: 6px; border-width: 0 1.5px 1.5px 0; }
    .pc-status.warn i::after, .pc-status.bad i::after { left: 6.2px; top: 3px; height: 5px; border-width: 0 1.6px 0 0; box-shadow: 0 6.5px 0 -0.2px #fff; }
}

/* Suggested matches: the explanation sits under the heading, not far away on the right */
.sg > header { display: block; margin-bottom: 20px; }
.sg > header p { max-width: 640px; margin: 6px 0 0; padding-left: 14px; border-left: 2px solid var(--gold); font-size: .95rem; line-height: 1.55; color: #e6d3c8; }
@media (max-width: 960px) { .sg > header p { display: block; font-size: .8rem; padding-left: 10px; margin-top: 6px; } }

/* ================= Profile page: each part of the biodata in its own style ================= */
.ps { position: relative; margin-bottom: 26px; padding: 30px 32px 30px; border-radius: 26px; background: var(--paper); border: 1px solid rgba(200, 164, 92, .6); box-shadow: var(--shadow); overflow: hidden; }
.ps-head { position: relative; z-index: 2; display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.ps-no { flex: none; font: 700 2.6rem/1 'Marcellus', serif; font-variant-numeric: lining-nums; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ps-head > div { flex: 1; padding-left: 16px; border-left: 1px solid rgba(200, 164, 92, .7); }
.ps-head h2 { margin: 0; font-size: 1.6rem; line-height: 1.2; }
.ps-head p { margin: 2px 0 0; font-size: .92rem; color: var(--muted); }
.ps-head .h-ico { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 1.15rem; color: var(--wine-900); background: var(--gold-grad); box-shadow: 0 0 0 6px rgba(200, 164, 92, .16); }
html[lang="hi"] .ps-head h2 { font-family: 'Tiro Devanagari Hindi', serif; font-weight: 400; }
/* plain rows for anything without a special place */
.ps-more { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 26px; margin: 22px 0 0; }
.ps-more > div { display: flex; gap: 14px; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed rgba(200, 164, 92, .5); }
.ps-more dt { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--gold-deep); }
.ps-more dd { margin: 0; text-align: right; font-weight: 600; color: var(--wine-900); }
/* tiles */
.ps-tiles, .ps-stars { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.ps-tile { position: relative; display: grid; justify-items: center; gap: 2px; padding: 22px 12px 18px; text-align: center; border-radius: 18px; background: linear-gradient(170deg, #fff, #fbf3e3); border: 1px solid rgba(200, 164, 92, .5); transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s, border-color .3s; }
.ps-tile:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 20px 34px -24px rgba(94, 20, 40, .8); }
.ps-tile > span { width: 42px; height: 42px; margin-bottom: 8px; border-radius: 50%; display: grid; place-items: center; font-size: 1rem; color: var(--wine); background: #fff; border: 1px solid var(--gold); box-shadow: 0 0 0 5px rgba(200, 164, 92, .14); }
.ps-tile small { font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--gold-deep); line-height: 1.5; }
.ps-tile b { font: 600 1.22rem/1.25 'Marcellus', serif; color: var(--wine-800); font-variant-numeric: lining-nums; overflow-wrap: anywhere; }
.ps-tile em { font-style: normal; font-size: .82rem; color: var(--muted); }
html[lang="hi"] .ps-tile b { font-family: 'Tiro Devanagari Hindi', serif; font-weight: 400; }
html[lang="hi"] .ps-tile small, html[lang="hi"] .ps-more dt { letter-spacing: 0; text-transform: none; font-size: .8rem; }
/* samaj: dark panel with gotra seals and the road from native place to home */
.ps-samaj, .ps-kundli { color: #ead8cd; border-color: rgba(200, 164, 92, .8); background: radial-gradient(ellipse at 0% 0%, #5e1428, transparent 58%), linear-gradient(150deg, var(--wine-950), var(--wine-800)); box-shadow: var(--shadow-lg); }
.ps-samaj .mandala { width: 520px; right: -170px; top: -150px; left: auto; opacity: .13; }
.ps-samaj .ps-head h2, .ps-kundli .ps-head h2 { color: #fff; }
.ps-samaj .ps-head p, .ps-kundli .ps-head p { color: var(--gold-light); }
.ps-samaj-grid { position: relative; z-index: 2; display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; }
.ps-seals { display: flex; gap: 22px; }
.ps-seal { position: relative; width: 168px; height: 168px; border-radius: 50%; display: grid; place-content: center; justify-items: center; gap: 4px; text-align: center; padding: 22px; background: radial-gradient(circle at 50% 35%, #fffdf9, #f4e6c6); border: 2px solid var(--gold); box-shadow: 0 0 0 7px rgba(226, 201, 140, .18), 0 22px 40px -22px rgba(0, 0, 0, .9); }
.ps-seal i { position: absolute; inset: 9px; border-radius: 50%; border: 1px dashed rgba(156, 118, 48, .8); }
.ps-seal small { font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--gold-deep); line-height: 1.4; }
.ps-seal b { font: 700 1.34rem/1.2 'Marcellus', serif; color: var(--wine-800); overflow-wrap: anywhere; }
.ps-seal.alt { width: 140px; height: 140px; align-self: center; background: radial-gradient(circle at 50% 35%, rgba(255, 253, 249, .14), rgba(255, 253, 249, .05)); border-color: rgba(226, 201, 140, .7); }
.ps-seal.alt i { border-color: rgba(226, 201, 140, .5); }
.ps-seal.alt small { color: var(--gold-light); } .ps-seal.alt b { color: #fff; font-size: 1.14rem; }
html[lang="hi"] .ps-seal b { font-family: 'Tiro Devanagari Hindi', serif; font-weight: 400; }
.ps-route { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.ps-route li { position: relative; padding: 0 0 22px 34px; }
.ps-route li:last-child { padding-bottom: 0; }
.ps-route li::before { content: ''; position: absolute; left: 7px; top: 14px; bottom: -6px; width: 2px; background: linear-gradient(180deg, var(--gold), rgba(200, 164, 92, .25)); }
.ps-route li:last-child::before { display: none; }
.ps-route i { position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--gold); background: var(--wine-900); }
.ps-route li.now i { background: var(--gold-grad); box-shadow: 0 0 0 5px rgba(226, 201, 140, .22); }
.ps-route small { display: block; font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--gold-light); }
.ps-route b { font: 600 1.35rem/1.25 'Marcellus', serif; color: #fff; }
.ps-route span { display: block; font-size: .9rem; color: #dcc7bc; }
.ps-samaj .ps-more > div, .ps-kundli .ps-more > div { border-bottom-color: rgba(226, 201, 140, .35); }
.ps-samaj .ps-more dt, .ps-kundli .ps-more dt { color: var(--gold-light); } .ps-samaj .ps-more dd, .ps-kundli .ps-more dd { color: #fff; }
/* education and career */
.ps-duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.ps-duo article { position: relative; padding: 26px 24px 22px 92px; border-radius: 20px; background: linear-gradient(160deg, #fff, #fbf3e3); border: 1px solid rgba(200, 164, 92, .5); min-height: 124px; }
.ps-medal { position: absolute; left: 22px; top: 24px; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.3rem; color: var(--gold-light); background: linear-gradient(135deg, var(--wine), var(--wine-900)); border: 1px solid var(--gold); box-shadow: 0 14px 24px -14px rgba(94, 20, 40, .9); transform: rotate(-4deg); }
.ps-duo small { font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--gold-deep); }
.ps-duo h3 { margin: 2px 0 4px; font-size: 1.4rem; line-height: 1.25; }
.ps-duo p { margin: 0; color: #4c3a3e; }
.ps-duo p.at { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: .9rem; color: var(--muted); } .ps-duo p.at .ico { color: var(--gold-deep); }
.ps-ribbon { display: flex; align-items: center; gap: 16px; margin-top: 18px; padding: 14px 24px; border-radius: 16px; color: #f3e6dc; background: linear-gradient(135deg, var(--wine-900), var(--wine-800)); border: 1px solid var(--gold); }
.ps-ribbon small { font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--gold-light); white-space: nowrap; }
.ps-ribbon i { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(226, 201, 140, .8), transparent); }
.ps-ribbon b { font: 700 1.4rem 'Marcellus', serif; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: lining-nums; white-space: nowrap; }
/* family: the tree keeps its own card look, without a second frame */
.ps-family .vv { margin: 0; }
/* horoscope: night sky */
.ps-kundli { background: radial-gradient(ellipse at 100% 0%, #3d1a4a, transparent 55%), radial-gradient(ellipse at 0% 100%, #5e1428, transparent 55%), linear-gradient(150deg, #150510, #2e0a15); }
.ps-kundli-grid { position: relative; z-index: 2; display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: center; }
.ps-rashi { display: grid; justify-items: center; gap: 2px; padding: 0 10px; text-align: center; }
.ps-glyph { width: 128px; height: 128px; margin-bottom: 10px; border-radius: 50%; display: grid; place-items: center; font-size: 3.6rem; line-height: 1; color: var(--wine-900); background: var(--gold-grad); box-shadow: 0 0 0 8px rgba(226, 201, 140, .16), 0 0 0 9px rgba(226, 201, 140, .5), 0 0 60px rgba(226, 201, 140, .35); }
.ps-rashi small { font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--gold-light); }
.ps-rashi b { font: 400 1.9rem/1.2 'Tiro Devanagari Hindi', serif; color: #fff; }
.ps-rashi em { font-style: normal; font-size: .9rem; color: #dcc7bc; }
.ps-kundli .ps-stars { grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 12px; }
.ps-kundli .ps-tile { padding: 16px 10px 14px; background: rgba(255, 253, 249, .06); border-color: rgba(226, 201, 140, .35); }
.ps-kundli .ps-tile:hover { background: rgba(255, 253, 249, .1); border-color: var(--gold-light); box-shadow: none; }
.ps-kundli .ps-tile > span { width: 34px; height: 34px; font-size: .85rem; color: var(--gold-light); background: transparent; border-color: rgba(226, 201, 140, .6); box-shadow: none; }
.ps-kundli .ps-tile small { color: var(--gold-light); } .ps-kundli .ps-tile b { color: #fff; font-size: 1.1rem; } .ps-kundli .ps-tile em { color: #dcc7bc; }
/* partner preference */
.ps-pref-grid { display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: stretch; }
.ps-age { display: grid; align-content: center; justify-items: center; gap: 2px; min-width: 210px; padding: 22px 26px; border-radius: 20px; text-align: center; color: #f3e6dc; background: linear-gradient(150deg, var(--wine), var(--wine-900)); border: 1px solid var(--gold); box-shadow: 0 22px 36px -24px rgba(94, 20, 40, .9); }
.ps-age small { font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--gold-light); }
.ps-age b { display: flex; align-items: baseline; gap: 10px; font: 700 2.8rem/1.1 'Marcellus', serif; color: #fff; font-variant-numeric: lining-nums; }
.ps-age b i { font: italic 400 1.1rem 'Marcellus', serif; color: var(--gold-light); }
.ps-age span { font-size: .86rem; color: var(--gold-light); }
.ps-wants { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; align-content: center; }
.ps-wants li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: linear-gradient(160deg, #fff, #fbf3e3); border: 1px solid rgba(200, 164, 92, .5); }
.ps-wants li > span { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--wine-900); background: var(--gold-grad); font-size: .9rem; }
.ps-wants small { display: block; font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--gold-deep); line-height: 1.5; }
.ps-wants b { font-weight: 600; color: var(--wine-900); }
.ps-note { margin: 18px 0 0; padding: 16px 22px; border-left: 3px solid var(--gold); border-radius: 0 14px 14px 0; background: var(--ivory); font: italic 500 1.05rem/1.6 'Marcellus', serif; color: var(--wine-800); }
@media (max-width: 900px) {
    .ps { padding: 22px 16px; border-radius: 20px; margin-bottom: 18px; }
    .ps-head { gap: 12px; margin-bottom: 18px; } .ps-no { font-size: 2rem; } .ps-head > div { padding-left: 12px; } .ps-head h2 { font-size: 1.3rem; } .ps-head .h-ico { width: 40px; height: 40px; font-size: 1rem; }
    .ps-tiles, .ps-stars, .ps-kundli .ps-stars { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .ps-tile { padding: 16px 8px 14px; } .ps-tile b { font-size: 1.05rem; }
    .ps-samaj-grid, .ps-kundli-grid, .ps-pref-grid { grid-template-columns: 1fr; gap: 24px; }
    .ps-seals { justify-content: center; gap: 14px; } .ps-seal { width: 138px; height: 138px; padding: 16px; } .ps-seal b { font-size: 1.1rem; } .ps-seal.alt { width: 120px; height: 120px; } .ps-seal.alt b { font-size: 1rem; }
    .ps-duo article { padding: 22px 16px 18px 78px; } .ps-medal { left: 14px; top: 20px; width: 46px; height: 46px; } .ps-duo h3 { font-size: 1.2rem; }
    .ps-ribbon { padding: 12px 16px; gap: 10px; } .ps-ribbon b { font-size: 1.15rem; }
    .ps-glyph { width: 100px; height: 100px; font-size: 2.8rem; }
    .ps-more { grid-template-columns: 1fr; }
    .ps-age { min-width: 0; } .ps-age b { font-size: 2.3rem; }
}
@media print {
    .ps { box-shadow: none; break-inside: avoid; padding: 14px 0; border: 0; border-bottom: 1px solid #c8a45c; border-radius: 0; margin-bottom: 8px; }
    .ps-samaj, .ps-kundli, .ps-age, .ps-ribbon { background: none !important; color: #2a1a1e; }
    .ps-samaj .mandala, .ps .k-stars { display: none; }
    .ps-samaj .ps-head h2, .ps-kundli .ps-head h2, .ps-route b, .ps-rashi b, .ps-kundli .ps-tile b, .ps-seal.alt b, .ps-age b, .ps-samaj .ps-more dd, .ps-kundli .ps-more dd { color: #45101f; }
    .ps-route small, .ps-rashi small, .ps-kundli .ps-tile small, .ps-seal.alt small, .ps-age small, .ps-ribbon small, .ps-samaj .ps-head p, .ps-kundli .ps-head p, .ps-route span, .ps-rashi em { color: #7a5a1e; }
    .ps-ribbon b { color: #45101f; background: none; -webkit-text-fill-color: #45101f; }
    .ps-tile, .ps-seal, .ps-duo article, .ps-wants li { box-shadow: none; background: none; } .ps-tile:hover { transform: none; }
}
.ps-glyph { font-size: 4.4rem; font-family: "Apple Symbols", "Segoe UI Symbol", "Noto Sans Symbols 2", serif; }
@media (max-width: 900px) { .ps-glyph { font-size: 3.4rem; } }

/* Rashi signs are drawn (SVG), not typed, so they show on every device */
.rashi-ico { width: 1em; height: 1em; display: block; }
.ps-glyph { font-size: 4.6rem; }
.ps-glyph .rashi-ico { stroke-width: 1.5; }
.k-glyph { font-size: 2.3rem; }
svg.w-glyph { overflow: visible; fill: none !important; stroke: currentColor; }
@media (max-width: 900px) { .ps-glyph { font-size: 3.6rem; } }

/* ================= Vanshavali as a medallion tree (replaces the boxes) ================= */
.vtr { position: relative; }
.vtr-title { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin: -6px 0 6px; }
.vtr-title .mangal { margin: 0; font: 400 1.6rem/1 'Tiro Devanagari Hindi', serif; color: var(--wine); }
.vtr-title p { margin: 0; color: var(--muted); font-size: .92rem; }
.vtr-tree { position: relative; height: 620px; margin-top: 8px; border-radius: 22px; background: radial-gradient(ellipse at 50% 100%, rgba(226, 201, 140, .35), transparent 60%), linear-gradient(180deg, #fffdf9, #fbf2df); border: 1px solid rgba(200, 164, 92, .5); overflow: hidden; }
.vtr-tree::before { content: ''; position: absolute; left: 50%; top: 50%; width: 560px; height: 560px; margin: -280px 0 0 -280px; background: url(mandala.svg) center / contain no-repeat; opacity: .06; pointer-events: none; }
.vtr-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.vtr-lines path { fill: none; stroke: #c8a45c; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.vtr-lines path.soft { stroke-dasharray: 2 6; stroke-width: 1.5; }
.vtr-side { position: absolute; top: 14px; transform: translateX(-50%); padding: 2px 14px; border-radius: 999px; font: 700 .58rem/1.9 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); background: #fff; border: 1px solid rgba(200, 164, 92, .6); white-space: nowrap; }
.vtr-side.l { left: 22%; } .vtr-side.r { left: 78%; }
.vtr-node { position: absolute; z-index: 2; width: 40%; max-width: 300px; transform: translate(-50%, -50%); display: grid; justify-items: center; text-align: center; }
.vtr-node.e1 { left: 22%; top: 22%; } .vtr-node.e2 { left: 78%; top: 22%; }
.vtr-node.p1 { left: 22%; top: 52%; } .vtr-node.p2 { left: 78%; top: 52%; }
.vtr-node.me { left: 50%; top: 84%; width: 60%; max-width: 380px; }
.vtr-coin { width: 62px; height: 62px; margin-bottom: 7px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; font: 600 1.6rem/1 'Marcellus', serif; color: var(--wine-800); background: radial-gradient(circle at 35% 30%, #fffdf9, #f1dfb4); border: 2px solid var(--gold); box-shadow: 0 0 0 5px #fdf7ea, 0 0 0 6px rgba(200, 164, 92, .55), 0 14px 24px -14px rgba(94, 20, 40, .8); }
.vtr-node.p1 .vtr-coin, .vtr-node.p2 .vtr-coin { width: 70px; height: 70px; font-size: 1.8rem; color: var(--wine-900); background: var(--gold-grad); }
.vtr-node.me .vtr-coin { width: 96px; height: 96px; font-size: 2.4rem; color: var(--gold-light); background: linear-gradient(135deg, var(--wine), var(--wine-900)); box-shadow: 0 0 0 6px #fdf7ea, 0 0 0 8px var(--gold), 0 22px 34px -16px rgba(94, 20, 40, .9); }
.vtr-photo { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: grid; place-items: center; background: none !important; }
.vtr-photo span { font: inherit; color: inherit; }
.vtr-node small { font-size: .56rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--gold-deep); }
.vtr-node b { font: 600 1.08rem/1.3 'Marcellus', serif; color: var(--wine-800); overflow-wrap: anywhere; }
.vtr-node em { font-style: normal; font-size: .8rem; color: var(--muted); line-height: 1.35; }
.vtr-node.me b { font-size: 1.4rem; }
.vtr-knot { position: absolute; left: 50%; top: 45%; z-index: 3; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; display: grid; place-items: center; font: 400 1.1rem/1 'Tiro Devanagari Hindi', serif; color: var(--wine-900); background: var(--gold-grad); box-shadow: 0 0 0 5px #fdf8ee; }
.vtr-sibs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 16px 0 0; }
.vtr-sibs span { padding: 6px 16px; border-radius: 999px; background: #fff; border: 1px solid #decfb8; font-size: .92rem; color: var(--wine-900); }
.vtr-sibs small { margin-right: 8px; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--gold-deep); }
html[lang="hi"] .vtr-node b { font-family: 'Tiro Devanagari Hindi', serif; font-weight: 400; }
html[lang="hi"] .vtr-node small, html[lang="hi"] .vtr-side { letter-spacing: 0; text-transform: none; font-size: .74rem; }
@media (max-width: 700px) {
    .vtr-tree { height: 560px; border-radius: 16px; }
    .vtr-node { width: 46%; } .vtr-node.me { width: 80%; }
    .vtr-node.e1, .vtr-node.p1 { left: 25%; } .vtr-node.e2, .vtr-node.p2 { left: 75%; } .vtr-side.l { left: 25%; } .vtr-side.r { left: 75%; }
    .vtr-coin { width: 48px; height: 48px; font-size: 1.2rem; box-shadow: 0 0 0 3px #fdf7ea, 0 0 0 4px rgba(200, 164, 92, .55); }
    .vtr-node.p1 .vtr-coin, .vtr-node.p2 .vtr-coin { width: 54px; height: 54px; font-size: 1.35rem; }
    .vtr-node.me .vtr-coin { width: 76px; height: 76px; font-size: 1.9rem; }
    .vtr-node b { font-size: .9rem; } .vtr-node em { font-size: .7rem; } .vtr-node.me b { font-size: 1.12rem; }
    .vtr-side { font-size: .5rem; padding: 1px 8px; letter-spacing: .1em; }
    .vtr-knot { width: 30px; height: 30px; margin: -15px 0 0 -15px; font-size: .9rem; }
}
@media print { .vtr-tree { background: none; border-color: #9c7630; } .vtr-node.me .vtr-coin { background: none; color: #45101f; } }
.vtr-node.e1, .vtr-node.e2 { top: 20%; }
.vtr-node.p1, .vtr-node.p2 { top: 51.5%; }
.vtr-node.me { top: 84.5%; }
.vtr-knot { top: 46.5%; }
.vtr-tree { height: 640px; }
@media (max-width: 700px) { .vtr-tree { height: 580px; } }

/* ================= Profile: left panel, at-a-glance band and about ================= */
.p-diary button { position: relative; padding: 16px 18px; border-radius: 20px; background: linear-gradient(135deg, var(--wine), var(--wine-900)); border: 1px solid var(--gold); color: #fff; box-shadow: 0 20px 34px -22px rgba(94, 20, 40, .9); }
.p-diary button b { color: #fff; font: 600 1.1rem 'Marcellus', serif; } .p-diary button small { color: #e6d3c8; }
.p-diary button > .ico:last-child { color: var(--gold-light); }
.pa-gotra { position: relative; overflow: hidden; display: grid; justify-items: center; gap: 2px; margin-bottom: 16px; padding: 26px 22px 22px; text-align: center; border-radius: 22px; color: #ead8cd; background: radial-gradient(ellipse at 50% 0%, #1f5a41, transparent 65%), linear-gradient(160deg, #0f2a20, #173a2c); border: 1px solid rgba(200, 164, 92, .8); box-shadow: var(--shadow-lg); }
.pa-gotra.warn { background: radial-gradient(ellipse at 50% 0%, #7a5a14, transparent 65%), linear-gradient(160deg, #2e2208, #4a370f); }
.pa-gotra.bad { background: radial-gradient(ellipse at 50% 0%, #8f2620, transparent 65%), linear-gradient(160deg, #2e0a0a, #521512); }
.pa-gotra.unknown { background: linear-gradient(160deg, var(--wine-950), var(--wine-800)); }
.pa-gotra > * { position: relative; z-index: 1; } .pa-gotra > .k-stars { position: absolute; inset: 0; z-index: 0; }
.pa-seal { width: 62px; height: 62px; margin-bottom: 10px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-grad); box-shadow: 0 0 0 6px rgba(226, 201, 140, .18), 0 0 0 7px rgba(226, 201, 140, .55); }
.pa-seal i { width: 12px; height: 22px; margin-top: -5px; border: solid var(--wine-900); border-width: 0 3.5px 3.5px 0; transform: rotate(45deg); }
.pa-gotra.warn .pa-seal i, .pa-gotra.bad .pa-seal i, .pa-gotra.unknown .pa-seal i { width: 4px; height: 20px; margin: 0; border: 0; border-radius: 2px; transform: none; background: var(--wine-900); box-shadow: 0 0 0 0 transparent; clip-path: polygon(0 0, 100% 0, 100% 62%, 0 62%, 0 80%, 100% 80%, 100% 100%, 0 100%); }
.pa-gotra small, .pa-contact small { font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--gold-light); }
.pa-gotra b { font: 600 1.6rem/1.2 'Marcellus', serif; color: #fff; }
.pa-gotra p { margin: 4px 0 0; font-size: .92rem; font-weight: 300; line-height: 1.5; }
.pa-pair { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(226, 201, 140, .35); }
.pa-pair span { display: grid; font: 600 1rem 'Marcellus', serif; color: #fff; }
.pa-pair em { font: 700 .54rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); }
.pa-pair u { width: 34px; height: 1px; background: var(--gold); position: relative; text-decoration: none; }
.pa-pair u::after { content: ''; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -3.5px; background: var(--gold-light); transform: rotate(45deg); }
.pa-contact { position: relative; display: grid; justify-items: center; gap: 2px; margin-bottom: 16px; padding: 24px 22px 20px; text-align: center; border-radius: 22px; background: linear-gradient(170deg, #fffdf9, #fbf2df); border: 1px solid rgba(200, 164, 92, .75); box-shadow: var(--shadow); }
.pa-contact::before { content: ''; position: absolute; inset: 7px; border-radius: 16px; border: 1px dashed rgba(200, 164, 92, .6); pointer-events: none; }
.pa-ico { width: 46px; height: 46px; margin-bottom: 8px; border-radius: 50%; display: grid; place-items: center; font-size: 1.1rem; color: var(--wine-900); background: var(--gold-grad); box-shadow: 0 0 0 5px rgba(200, 164, 92, .16); }
.pa-contact small { color: var(--gold-deep); }
.pa-contact .num { font: 700 1.7rem 'Marcellus', serif; color: var(--wine); text-decoration: none; font-variant-numeric: lining-nums; letter-spacing: .04em; }
.pa-dots { font: 700 1.3rem var(--sans); letter-spacing: .12em; color: rgba(122, 28, 52, .45); filter: blur(.4px); }
.pa-contact p { margin: 4px 0 0; font-size: .88rem; }
.pa-safe { padding: 14px 16px 10px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); }
.pa-safe > span { display: block; margin-bottom: 6px; font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.pa-safe .p-block, .pa-safe .p-report { margin: 0; border: 0; background: none; padding: 0; border-radius: 0; }
.pa-safe .p-block button, .pa-safe .p-report summary { width: 100%; display: flex; align-items: center; gap: 10px; padding: 9px 2px; border: 0; border-top: 1px dashed var(--line); background: none; cursor: pointer; font: 500 .92rem var(--sans); color: #6b5a5d; text-align: left; list-style: none; transition: color .2s; }
.pa-safe .p-block button:hover, .pa-safe .p-report summary:hover { color: var(--bad); }
.pa-safe .p-report summary::-webkit-details-marker { display: none; }
.pa-safe .p-report form { display: grid; gap: 8px; padding: 6px 0 6px; }
html[lang="hi"] .pa-gotra b { font-family: 'Tiro Devanagari Hindi', serif; font-weight: 400; }
/* at a glance: one gold-edged band instead of four boxes */
.p-glance { gap: 0; margin-bottom: 22px; border-radius: 22px; overflow: hidden; color: #ead8cd; background: linear-gradient(135deg, var(--wine-950), var(--wine-800)); border: 1px solid var(--gold); box-shadow: var(--shadow-lg); }
.p-glance div { position: relative; padding: 20px 12px 18px; border: 0; border-radius: 0; background: none; box-shadow: none; display: grid; justify-items: center; gap: 2px; }
.p-glance div + div::before { content: ''; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: linear-gradient(180deg, transparent, rgba(226, 201, 140, .7), transparent); }
.p-glance i { width: 30px; height: 30px; margin-bottom: 6px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: .82rem; color: var(--gold-light); border: 1px solid rgba(226, 201, 140, .55); }
.p-glance b { font-size: 1.6rem; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: lining-nums; }
.p-glance b small { margin-left: 5px; font: 500 .8rem var(--sans); -webkit-text-fill-color: #dcc7bc; }
.p-glance span { color: #dcc7bc; font-size: .6rem; }
.p-about2 { position: relative; margin: 0 0 26px; padding: 26px 40px 30px; text-align: center; border-radius: 22px; background: linear-gradient(170deg, #fffdf9, #fbf2df); border: 1px solid rgba(200, 164, 92, .6); box-shadow: var(--shadow); }
.p-about2::before, .p-about2::after { position: absolute; font: 700 5rem/1 'Marcellus', serif; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .55; }
.p-about2::before { content: '\201C'; left: 18px; top: 14px; } .p-about2::after { content: '\201D'; right: 18px; bottom: -22px; }
.p-about2 figcaption { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 12px; font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: var(--gold-deep); }
.p-about2 figcaption i { width: 46px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); } .p-about2 figcaption i:last-child { transform: scaleX(-1); }
.p-about2 blockquote { margin: 0; font: italic 500 1.22rem/1.7 'Marcellus', serif; color: var(--wine-800); }
html[lang="hi"] .p-about2 blockquote { font: 400 1.15rem/1.9 'Tiro Devanagari Hindi', serif; }
@media (max-width: 900px) { .p-glance { grid-template-columns: repeat(2, 1fr); } .p-glance div:nth-child(3)::before { display: none; } .p-glance div:nth-child(n+3) { border-top: 1px solid rgba(226, 201, 140, .25); } .p-glance b { font-size: 1.3rem; } .p-about2 { padding: 22px 22px 26px; } .p-about2 blockquote { font-size: 1.05rem; } }
@media print { .pa-gotra, .p-glance, .p-diary button { background: none !important; color: #2a1a1e; box-shadow: none; } .pa-gotra b, .pa-pair span, .p-glance b { color: #45101f; -webkit-text-fill-color: #45101f; background: none; } .pa-gotra small, .pa-pair em, .p-glance span { color: #7a5a1e; } }

/* Marcellus has one weight and no italic: never let the browser fake a bold or slanted version of it */
html { font-synthesis: none; }

/* ================= Kundli page: centred hero with the whole wheel, and a dark "two sides" form ================= */
.k-hero2 { padding: 84px 0 230px; text-align: center; }
.k-hero2 .k-hero-wheel { width: 860px; left: 50%; right: auto; top: 50%; margin: -400px 0 0 -430px; opacity: .3; }
.k-hero2::after { content: ''; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse 46% 52% at 50% 44%, rgba(31, 6, 13, .9), rgba(31, 6, 13, .35) 70%, transparent); pointer-events: none; }
.k-hero2 .mangal { display: inline-flex; }
.k-hero2 h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.k-hero2 .lead { margin: 0 auto 26px; max-width: 620px; }
.k-hero2 .k-chips { justify-content: center; }
.k-hero2.has-result { padding-bottom: 96px; }
.k-steps { list-style: none; display: flex; justify-content: center; gap: 0; margin: 34px auto 0; padding: 0; max-width: 860px; }
.k-steps li { position: relative; flex: 1; display: grid; justify-items: center; gap: 8px; padding: 0 14px; font-size: .95rem; color: #e8d5ca; }
.k-steps li + li::before { content: ''; position: absolute; left: -50%; right: 50%; top: 19px; margin: 0 28px; height: 1px; background: linear-gradient(90deg, rgba(226, 201, 140, .2), rgba(226, 201, 140, .8), rgba(226, 201, 140, .2)); }
.k-steps b { position: relative; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font: 700 1rem var(--sans); color: var(--wine-900); background: var(--gold-grad); box-shadow: 0 0 0 5px rgba(226, 201, 140, .16); }
.k-form-wrap { margin-top: -150px; }
.k-form2 { position: relative; overflow: hidden; padding: 16px; border-radius: 30px; color: #ead8cd; background: linear-gradient(150deg, #1a0610, #3a0d1d 55%, #4a1124); border: 1px solid var(--gold); box-shadow: 0 50px 90px -40px rgba(31, 6, 13, .95), 0 0 0 8px rgba(200, 164, 92, .12); }
.k-form2 > .k-stars { position: absolute; inset: 0; }
.k-form2 .k-form-grid { grid-template-columns: 1fr 0 1fr; gap: 16px; }
.k-form2 .k-side { position: relative; padding: 30px 30px 14px; border-radius: 20px; background: linear-gradient(170deg, rgba(236, 217, 168, .13), rgba(236, 217, 168, .04)); border: 1px solid rgba(226, 201, 140, .4); }
.k-form2 .k-side::before { content: ''; position: absolute; left: 28px; right: 28px; top: -1px; height: 3px; border-radius: 3px; background: var(--gold-grad); }
.k-form2 .k-side.bride { background: linear-gradient(170deg, rgba(208, 88, 123, .2), rgba(208, 88, 123, .05)); border-color: rgba(224, 138, 162, .45); }
.k-form2 .k-side.bride::before { background: linear-gradient(90deg, #e58aa5, #b23a60, #e58aa5); }
.k-form2 .k-side-head h3 { color: #fff; font-size: 2rem; }
.k-form2 .k-side-head .eyebrow { color: var(--gold-light); }
.k-form2 .k-mark { width: 68px; height: 68px; font-size: 1.35rem; }
.k-form2 .field label { color: var(--gold-light); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; }
.k-form2 .field input { height: 54px; border-radius: 14px; color: #fff; background: rgba(15, 3, 8, .45); border: 1px solid rgba(226, 201, 140, .4); color-scheme: dark; }
.k-form2 .field input::placeholder { color: rgba(234, 216, 205, .5); }
.k-form2 .field input:focus { border-color: var(--gold-light); background: rgba(15, 3, 8, .65); box-shadow: 0 0 0 4px rgba(226, 201, 140, .18); }
.k-form2 .req { color: #f0a9bd; }
.k-form2 .f-err { color: #ffc9c4; }
.k-form2 .k-knot { position: absolute; left: 50%; top: 50%; z-index: 3; width: 0; height: 0; }
.k-form2 .k-knot::before { display: none; }
.k-form2 .k-knot span { position: absolute; left: -45px; top: -45px; width: 90px; height: 90px; border-radius: 50%; display: grid; place-content: center; text-align: center; color: var(--wine-900); background: var(--gold-grad); box-shadow: 0 0 0 7px #2a0914, 0 0 0 8px rgba(226, 201, 140, .7), 0 0 44px rgba(226, 201, 140, .45); }
.k-form2 .k-knot b { font: 700 1.9rem/1 var(--sans); }
.k-form2 .k-knot small { font-size: .56rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; }
.k-form2 .k-submit { margin: 16px 0 0; padding: 22px 16px 16px; border-top: 0; }
.k-form2 .k-submit .btn { min-width: 300px; }
.k-form2 .k-submit p { color: #dcc7bc; } .k-form2 .k-submit .ico { color: var(--gold-light); }
.k-form-wrap.after-result .k-form2 { margin-top: 10px; }
/* small figures in a plain face read better than the display face */
.ak-no, .k-scale span, .k-bands b { font-family: var(--sans) !important; font-weight: 700; font-variant-numeric: lining-nums; }
html[lang="hi"] .k-form2 .field label { letter-spacing: 0; text-transform: none; font-size: .86rem; }
@media (max-width: 860px) {
    .k-hero2 { padding: 46px 0 190px; } .k-hero2 .k-hero-wheel { width: 560px; margin: -280px 0 0 -280px; }
    .k-steps { flex-direction: column; gap: 12px; align-items: flex-start; max-width: 320px; } .k-steps li { grid-template-columns: auto 1fr; justify-items: start; align-items: center; gap: 12px; text-align: left; padding: 0; } .k-steps li + li::before { display: none; }
    .k-form2 { padding: 10px; border-radius: 22px; } .k-form2 .k-form-grid { grid-template-columns: 1fr; gap: 44px; }
    .k-form2 .k-side { padding: 22px 16px 8px; } .k-form2 .k-side-head h3 { font-size: 1.5rem; } .k-form2 .k-mark { width: 54px; height: 54px; font-size: 1.1rem; }
    .k-form2 .k-knot span { left: -32px; top: -32px; width: 64px; height: 64px; } .k-form2 .k-knot b { font-size: 1.3rem; } .k-form2 .k-knot small { font-size: .46rem; }
    .k-form2 .k-submit .btn { min-width: 0; width: 100%; }
}
@media print { .k-form2 { display: none; } }
.k-form2 .k-form-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
.k-form2::before, .k-form2::after { display: none !important; }
@media (max-width: 860px) { .k-form2 .k-form-grid { grid-template-columns: 1fr; gap: 44px; } }
@media (min-width: 861px) {
    .k-form2 .k-form-grid { gap: 16px 56px; }
    .k-form2 .k-knot { top: 50%; }
    .k-form2 .k-knot span { left: -41px; top: -41px; width: 82px; height: 82px; }
    .k-form2 .k-knot::after { content: ''; position: absolute; left: -28px; width: 56px; top: -160px; height: 320px; z-index: -1; background: linear-gradient(180deg, transparent, rgba(226, 201, 140, .55), transparent) center / 1px 100% no-repeat; }
}

/* Chat: received = cream bubble with a gold edge on the left; sent = wine bubble on the right */
.m-log .msg { background: linear-gradient(135deg, #fff8e6, #f6e7c2); border: 1px solid rgba(200, 164, 92, .75); border-left: 4px solid var(--gold); color: var(--wine-900); }
.m-log .msg small { color: #7a5a1e; opacity: .85; }
.m-log .msg.me { background: linear-gradient(135deg, var(--wine), var(--wine-900)); border: 1px solid transparent; border-right: 4px solid var(--gold-light); color: #fff; }
.m-log .msg.me small { color: var(--gold-light); opacity: .9; }

/* ================= Messages: dark contact rail, patterned conversation, floating composer ================= */
.m-shell { grid-template-columns: 330px 1fr; border: 1px solid var(--gold); box-shadow: 0 50px 90px -44px rgba(31, 6, 13, .85), 0 0 0 7px rgba(200, 164, 92, .1); background: #fbf6ec; }
.m-list { color: #ead8cd; background: radial-gradient(ellipse at 0% 0%, #5e1428, transparent 60%), linear-gradient(170deg, var(--wine-950), var(--wine-800)); border-right: 1px solid rgba(200, 164, 92, .6); }
.m-list > header { padding: 22px 22px 18px; background: transparent; border-bottom: 1px solid rgba(226, 201, 140, .28); }
.m-list > header b { color: #fff; font-size: 1.3rem; }
.m-list > header span { color: var(--wine-900); background: var(--gold-grad); }
.m-item { margin: 8px 10px 0; padding: 12px 14px; border-radius: 16px; border: 1px solid transparent; color: #ead8cd; }
.m-item::before { display: none; }
.m-item:hover { background: rgba(255, 253, 249, .07); }
.m-item.on { background: linear-gradient(135deg, rgba(236, 217, 168, .22), rgba(236, 217, 168, .07)); border-color: rgba(226, 201, 140, .55); box-shadow: 0 14px 26px -18px rgba(0, 0, 0, .9); }
.m-item .avatar { box-shadow: 0 0 0 2px #2a0b1a, 0 0 0 3px var(--gold); }
.m-item-text b { color: #fff; }
.m-item-text small { color: #cdb6ab; }
.m-item i { color: var(--wine-900); background: var(--gold-grad); }
.m-none { color: #ead8cd; }
.m-head { padding: 16px 24px; background: linear-gradient(180deg, #fffdf9, #fbf3e3); color: var(--ink); border-bottom: 1px solid rgba(200, 164, 92, .6); }
.m-head .avatar { width: 52px; height: 52px; box-shadow: 0 0 0 3px #fffdf9, 0 0 0 4px var(--gold); }
.m-head b { color: var(--wine-800); font-size: 1.3rem; }
.m-head small { color: var(--muted); }
.m-act, .m-back { color: var(--wine); border: 1px solid rgba(200, 164, 92, .8); background: #fff; box-shadow: 0 8px 16px -12px rgba(94, 20, 40, .7); }
.m-secure { margin: 12px auto 0; width: fit-content; max-width: calc(100% - 32px); padding: 6px 18px; border-radius: 999px; border: 1px solid rgba(200, 164, 92, .6); background: #fffdf9; font-size: .78rem; text-align: center; box-shadow: 0 8px 18px -14px rgba(94, 20, 40, .6); }
.m-log { padding: 22px 30px 26px; gap: 10px; background: #fbf6ec url(mandala.svg) center / 520px no-repeat; background-blend-mode: normal; }
.m-log::before { content: ''; position: sticky; top: -22px; height: 0; }
.m-log .msg { position: relative; width: fit-content; max-width: 68%; padding: 12px 18px 9px; border-radius: 20px 20px 20px 6px; font-size: 1.02rem; line-height: 1.5; border: 1px solid rgba(200, 164, 92, .7); border-left-width: 1px; background: #fffdf9; box-shadow: 0 12px 22px -18px rgba(94, 20, 40, .7); }
.m-log .msg::before { content: ''; position: absolute; left: -1px; bottom: -1px; width: 4px; height: 60%; border-radius: 0 0 0 6px; background: var(--gold-grad); }
.m-log .msg.me { border-radius: 20px 20px 6px 20px; border: 1px solid rgba(226, 201, 140, .5); background: linear-gradient(135deg, #7a1c34, #45101f); box-shadow: 0 14px 24px -16px rgba(94, 20, 40, .95); }
.m-log .msg.me::before { left: auto; right: -1px; border-radius: 0 0 6px 0; background: var(--gold-grad); }
.m-log .msg small { margin-top: 4px; font-size: .66rem; letter-spacing: .06em; }
.m-day { margin: 10px 0 6px; padding: 4px 18px; background: #fffdf9; box-shadow: 0 8px 16px -14px rgba(94, 20, 40, .6); }
.m-form { align-items: center; gap: 12px; padding: 14px 20px 16px; border-top: 1px solid rgba(200, 164, 92, .45); background: linear-gradient(180deg, #fbf3e3, #f6ead2); }
.m-form input { height: 54px; padding-left: 26px; border-radius: 999px; background: #fff; border: 1px solid rgba(200, 164, 92, .75); box-shadow: 0 10px 22px -18px rgba(94, 20, 40, .7); }
.m-form input:focus { border-color: var(--wine); }
.m-form .btn { height: 54px; padding: 0 28px; border-radius: 999px; }
.m-blank-ring { box-shadow: 0 0 0 8px rgba(200, 164, 92, .16); }
@media (max-width: 960px) {
    .m-shell { box-shadow: none; }
    .m-log { padding: 16px 14px 18px; background-size: 340px; } .m-log .msg { max-width: 84%; font-size: .96rem; }
    .m-form { padding: 10px 12px 12px; gap: 8px; } .m-form input, .m-form .btn { height: 48px; } .m-form .btn { padding: 0 18px; }
    .m-head { padding: 12px 14px; } .m-head b { font-size: 1.1rem; } .m-head .avatar { width: 44px; height: 44px; }
}
.m-log { background: linear-gradient(rgba(251, 246, 236, .9), rgba(251, 246, 236, .9)), url(mandala.svg) center / 520px no-repeat, #fbf6ec; }
@media (max-width: 960px) { .m-log { background-size: auto, 340px, auto; } }

.tabs a .tab-new { margin-left: 6px; padding: 2px 9px; border-radius: 999px; font: 700 .64rem/1.6 var(--sans); font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: var(--wine-900); background: var(--gold-grad); }

/* ================= Admin profile list: framed photo, ledger, tinted action bar ================= */
.ad-hero b, .ad-stats b, .ad-title span, .ad-nav b, .status, .ad-fam dd { font-family: var(--sans) !important; font-variant-numeric: lining-nums; }
.ad-hero .a-stats b, .ad-stats b { font-weight: 700; }
.status { font-weight: 700; letter-spacing: .06em; }
.ad-list { gap: 22px; }
.ad-list .ad-card { grid-template-columns: 132px minmax(0, 1.15fr) minmax(0, 1fr); gap: 0 26px; padding: 0; border-radius: 24px; overflow: hidden; background: var(--paper); border: 1px solid rgba(200, 164, 92, .6); box-shadow: var(--shadow); }
.ad-list .ad-card::before { width: 100%; height: 4px; bottom: auto; }
.ad-list .ad-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.ad-list .ad-photo { margin: 26px 0 22px 24px; border-radius: 18px; border: 0; box-shadow: 0 0 0 4px #fffdf9, 0 0 0 5px var(--gold), 0 18px 30px -18px rgba(94, 20, 40, .9); }
.ad-list .ad-info { padding: 28px 0 22px; }
.ad-list .ad-info h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 1.5rem; }
.ad-list .ad-info h3 .status { padding: 2px 10px; border-radius: 6px; font-size: .66rem; color: var(--wine-900); background: linear-gradient(135deg, #f6e9c6, #e7cf95); }
.ad-list .ad-info h3 .status.rejected { color: #fff; background: #b8433c; }
.ad-list .ad-meta { font-size: .96rem; color: #5b4a4e; }
.ad-list .ad-info .chips { gap: 6px; margin-top: 12px !important; }
.ad-list .ad-info .chip { background: #fff; border-color: rgba(200, 164, 92, .6); }
.ad-list .ad-fam { margin: 26px 24px 22px 0; padding: 14px 18px; border-radius: 16px; background: linear-gradient(170deg, #fbf5e8, #f6ecd6); border: 1px solid rgba(200, 164, 92, .45); align-self: start; }
.ad-list .ad-fam > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 6px 0; border-bottom: 1px dashed rgba(200, 164, 92, .5); }
.ad-list .ad-fam > div:last-child { border-bottom: 0; }
.ad-list .ad-fam dt { font-size: .58rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--gold-deep); white-space: nowrap; }
.ad-list .ad-fam dd { margin: 0; text-align: right; font-weight: 600; font-size: .92rem; color: var(--wine-900); }
.ad-list .ad-act { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; padding: 14px 24px; border-top: 1px solid rgba(200, 164, 92, .5); background: linear-gradient(180deg, #f9f1df, #f3e7cd); }
.ad-list .ad-act .btn-gold { padding: 10px 26px; }
.ad-list .ad-act .btn-ghost { background: #fff; }
.ad-list .ad-reject { flex: 1; min-width: 260px; display: flex; gap: 8px; margin: 0 0 0 6px; padding: 4px 4px 4px 16px; border-radius: 999px; background: #fff; border: 1px solid #e2d2b4; }
.ad-list .ad-reject input { flex: 1; min-width: 0; height: 34px; padding: 0; border: 0; background: none; box-shadow: none !important; font-size: .9rem; }
.ad-list .ad-reject .mini { border-radius: 999px; padding: 6px 16px; color: #fff; background: #b8433c; border-color: #b8433c; }
.ad-list .ad-more { margin-left: auto; }
.ad-list .ad-flag { margin: 12px 0 0; padding: 8px 12px; border-radius: 10px; background: #fdf4df; border: 1px solid #f0dba6; font-size: .88rem; }
.ad-list .ad-flag.bad { background: #fdeeec; border-color: #f3c9c4; }
@media (max-width: 1100px) { .ad-list .ad-card { grid-template-columns: 110px 1fr; } .ad-list .ad-fam { grid-column: 1 / -1; margin: 0 20px 18px; } .ad-list .ad-photo { margin: 20px 0 16px 18px; } .ad-list .ad-info { padding: 22px 18px 16px 0; } }
@media (max-width: 620px) { .ad-list .ad-card { grid-template-columns: 84px 1fr; gap: 0 14px; } .ad-list .ad-info h3 { font-size: 1.2rem; } .ad-list .ad-act { padding: 12px 14px; } .ad-list .ad-reject { min-width: 100%; margin: 0; order: 5; } }

/* ================= Interests cards ================= */
.i-grid { gap: 26px; }
.i-card { grid-template-columns: 210px 1fr; border-radius: 24px; border: 1px solid rgba(200, 164, 92, .6); box-shadow: var(--shadow); background: var(--paper); }
.i-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.i-card.is-new { box-shadow: 0 0 0 3px rgba(226, 201, 140, .55), var(--shadow); }
.i-photo { min-height: 300px; background: var(--wine-900); }
.i-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(31, 6, 13, .55)); pointer-events: none; }
.i-photo .seal { z-index: 2; }
.i-photo .pcard-guna { z-index: 2; transform: none; top: auto; bottom: 14px; right: auto; left: 50%; margin-left: -32px; }
.i-body { padding: 20px 24px 0; gap: 4px; }
.i-top { align-items: center; }
.i-when { font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--gold-deep); }
.i-body h3 { font-size: 1.6rem; line-height: 1.2; }
.i-meta { font-size: .95rem; }
.i-facts { margin: 8px 0 10px; }
.i-body .pc-status { margin: 0 0 12px !important; }
.i-actions { align-items: center; margin: auto -24px 0; padding: 12px 20px; border-top: 1px solid rgba(200, 164, 92, .5); background: linear-gradient(180deg, #f9f1df, #f3e7cd); }
.i-actions .btn-ghost, .i-actions .mini { background: #fff; }
.i-actions .btn-gold { order: -1; }
.i-actions .i-diary { margin-left: auto; order: 9; }
html[lang="hi"] .i-when { letter-spacing: 0; text-transform: none; font-size: .78rem; }
@media (max-width: 1100px) { .i-grid { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .i-card { grid-template-columns: 112px 1fr; border-radius: 18px; } .i-photo { min-height: 0; } .i-body { padding: 14px 14px 0; } .i-body h3 { font-size: 1.2rem; } .i-actions { margin: auto -14px 0; padding: 10px 12px; gap: 6px; } .i-actions .btn { padding: 8px 12px; font-size: .82rem; } .i-photo .pcard-guna { transform: scale(.8); bottom: 6px; } .i-facts div:nth-child(3) { display: none; } }
.i-actions { gap: 8px; }
.i-actions .btn { padding: 9px 16px; font-size: .9rem; }
.i-actions .i-diary .mini { padding: 7px 12px; }

/* Phone notifications */
.push-ask { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0 0 20px; padding: 14px 18px; border-radius: 18px; background: linear-gradient(135deg, #fffdf9, #fbf3e3); border: 1px solid rgba(200, 164, 92, .8); box-shadow: var(--shadow); }
.push-ask[hidden] { display: none; }
.push-ask > span { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--wine-900); background: var(--gold-grad); }
.push-ask > div { flex: 1; min-width: 200px; display: grid; }
.push-ask b { color: var(--wine-800); font: 400 1.1rem 'Marcellus', serif; }
.push-ask small { color: var(--muted); }
.a-push [hidden] { display: none !important; }

/* a decorative mandala never widens the page */
:where(section, div, article, form, figure, aside, footer, header):has(> .mandala) { overflow: hidden; }

/* Numerals: Marcellus draws 0 and 1 like the letters O and I ("16" reads as "I6"). Wherever Marcellus is used,
   the ten digits come from this small Mukta subset instead, so numbers are always clear. */
@font-face { font-family: 'Marcellus'; src: url(fonts/num.woff2) format('woff2'), url(fonts/num.ttf) format('truetype'); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0030-0039; }
@media (max-width: 960px) { .site-footer .toran { z-index: 1; } }

/* ---- Activity, preference match, hide, saved searches ---- */
.pcard-foot { grid-template-columns: 1fr 1fr 1fr; }
.pc-live { display: inline-flex; align-items: center; gap: 5px; margin-left: 4px; padding: 1px 8px; border-radius: 999px; font: 600 .62rem/1.6 var(--sans); color: #ead8cd; background: rgba(31, 6, 13, .55); vertical-align: 2px; }
.pc-live i, .p-live i { width: 7px; height: 7px; border-radius: 50%; background: #c9b39a; }
.pc-live.now i, .p-live.now i { background: #4fd18b; box-shadow: 0 0 0 3px rgba(79, 209, 139, .25); }
.p-live { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 6px; padding: 3px 12px; border-radius: 999px; font: 600 .78rem var(--sans); color: #ead8cd; background: rgba(255, 253, 249, .1); border: 1px solid rgba(226, 201, 140, .35); }
.pc-pref { position: relative; display: flex !important; align-items: baseline; gap: 6px !important; margin: 4px 0 2px !important; padding-bottom: 7px; font-size: .78rem !important; color: var(--muted) !important; }
.pc-pref b { font: 700 .92rem var(--sans); color: var(--wine); }
.pc-pref i { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--gold) var(--w), #eee3cf var(--w)); }
.pm { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-bottom: 26px; }
.pm-side { padding: 20px 22px; border-radius: 22px; background: linear-gradient(170deg, #fffdf9, #fbf2df); border: 1px solid rgba(200, 164, 92, .6); box-shadow: var(--shadow); }
.pm-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.pm-head small { display: block; font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--gold-deep); }
.pm-head div b { font: 400 1.2rem 'Marcellus', serif; color: var(--wine-800); }
.pm-ring { flex: none; width: 62px; height: 62px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: radial-gradient(closest-side, #fffdf9 78%, transparent 80%), conic-gradient(var(--gold) calc(var(--p) * 1%), #eee3cf 0); }
.pm-ring b { font: 700 1.3rem/1 var(--sans); color: var(--wine); } .pm-ring small { font-size: .62rem; color: var(--muted); }
.pm ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pm li { display: flex; align-items: center; gap: 10px; font-size: .93rem; color: var(--wine-900); }
.pm li i { flex: none; width: 18px; height: 18px; border-radius: 50%; position: relative; background: #2f8a5e; }
.pm li i::after { content: ''; position: absolute; left: 6px; top: 3px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.pm li.no { color: var(--muted); } .pm li.no i { background: #d8cbb6; } .pm li.no i::after { left: 4px; top: 8px; width: 10px; height: 0; border-width: 0 0 2px 0; transform: none; }
.ss-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -6px 0 20px; }
.ss-h { display: inline-flex; align-items: center; gap: 6px; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--gold-deep); }
.ss-chip { display: inline-flex; align-items: center; border-radius: 999px; background: #fff; border: 1px solid rgba(200, 164, 92, .7); overflow: hidden; }
.ss-chip.on { border-color: var(--wine); box-shadow: 0 0 0 2px rgba(122, 28, 52, .12); }
.ss-chip a { padding: 6px 6px 6px 14px; font-size: .86rem; font-weight: 600; color: var(--wine-900); text-decoration: none; }
.ss-chip a b { margin-left: 4px; padding: 1px 7px; border-radius: 999px; font-size: .68rem; color: var(--wine-900); background: var(--gold-grad); }
.ss-chip form { margin: 0; } .ss-chip button { width: 28px; height: 30px; border: 0; background: none; color: var(--muted); font-size: 1.1rem; cursor: pointer; }
.ss-chip button:hover { color: var(--bad); }
.b-save-btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--gold); background: #fff; color: var(--wine); font: 600 .9rem var(--sans); cursor: pointer; }
.b-save-btn:hover { background: var(--sand); }
@media (max-width: 960px) { .b-save-btn span { display: none; } .b-save-btn { padding: 9px 12px; } .pc-live { display: none; } .pc-pref { font-size: .66rem !important; } .ss-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: -4px -16px 16px; padding: 0 16px; } .ss-chip { flex: none; } }

/* ---- Photo lock, ID badge, contact filter note, kundli file, privacy card, docs page ---- */
.pc-lock { position: absolute; left: 50%; top: 42%; z-index: 2; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; white-space: nowrap; font: 600 .72rem var(--sans); color: #fff; background: rgba(31, 6, 13, .72); border: 1px solid rgba(226, 201, 140, .6); backdrop-filter: blur(2px); }
.pc-idv { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 5px; font: 700 .58rem/1.6 var(--sans); letter-spacing: .08em; color: #fff; background: #2f8a5e; vertical-align: 2px; }
.p-idv { display: inline-flex; align-items: center; gap: 6px; margin: 4px 0 6px; padding: 3px 12px; border-radius: 999px; font: 700 .72rem var(--sans); color: #fff; background: #2f8a5e; }
.p-cf { display: inline-flex; align-items: center; gap: 8px; max-width: 360px; padding: 9px 14px; border-radius: 14px; font-size: .84rem; line-height: 1.4; color: #ead8cd; background: rgba(255, 253, 249, .08); border: 1px dashed rgba(226, 201, 140, .5); }
.ps-kfile { position: relative; z-index: 2; display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 14px 18px; border-radius: 16px; background: rgba(255, 253, 249, .07); border: 1px solid rgba(226, 201, 140, .4); }
.ps-kfile > .ico { font-size: 1.3rem; color: var(--gold-light); }
.ps-kfile span { flex: 1; display: grid; } .ps-kfile b { color: #fff; } .ps-kfile small { color: #dcc7bc; }
.ps-kfile-add { position: relative; z-index: 2; margin: 16px 0 0; } .ps-kfile-add a { color: var(--gold-light); font-weight: 600; }
.a-priv h3 { margin: 18px 0 8px; font: 700 .66rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); }
.a-opt { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 8px; padding: 12px 14px; border-radius: 14px; border: 1px solid #e6d9c2; background: #fff; cursor: pointer; text-transform: none; letter-spacing: 0; font-size: 1rem; }
.a-opt:has(input:checked) { border-color: var(--gold); background: #fdf7ea; }
.a-opt input { margin-top: 4px; accent-color: var(--wine); width: 18px; height: 18px; flex: none; }
.a-opt span { display: grid; gap: 2px; } .a-opt b { color: var(--wine-900); font-weight: 600; } .a-opt small { color: var(--muted); font-size: .86rem; }
.dc-page { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; align-items: start; }
.dc-card { padding: 28px 30px; }
.dc-have { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 6px 0 14px; } .dc-have form { margin: 0; }
.dc-up { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 10px; }
.dc-up input[type=file] { flex: 1; min-width: 200px; padding: 10px; border-radius: 12px; border: 1px dashed var(--gold); background: #fff; }
@media (max-width: 960px) { .pc-lock { font-size: .6rem; padding: 4px 8px; } .pc-idv { font-size: .5rem; } .dc-card { padding: 22px 16px; } }

/* ================= Profile hero, premium ================= */
.ph-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.ph-tags > * { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font: 700 .64rem/1.6 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); background: rgba(255, 253, 249, .07); border: 1px solid rgba(226, 201, 140, .35); }
.ph-tags .ph-id { color: var(--wine-900); background: var(--gold-grad); border-color: transparent; letter-spacing: .16em; }
.ph-tags .ph-ok { color: #c9f0da; background: rgba(47, 138, 94, .22); border-color: rgba(79, 209, 139, .45); }
.ph-tags .ph-ok .ico { font-size: .8rem; }
.ph-live i { width: 7px; height: 7px; border-radius: 50%; background: #c9b39a; }
.ph-live.now i { background: #4fd18b; box-shadow: 0 0 0 3px rgba(79, 209, 139, .25); }
.p-hero h1 { margin-bottom: 6px; line-height: 1.08; }
.ph-line { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; font-size: 1.08rem; color: #e6d3c8; }
.ph-line i { width: 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.ph-facts { display: flex; flex-wrap: wrap; margin: 0 0 20px; border-radius: 18px; background: rgba(255, 253, 249, .05); border: 1px solid rgba(226, 201, 140, .3); overflow: hidden; width: fit-content; max-width: 100%; }
.ph-facts > div { padding: 12px 24px 11px; display: grid; gap: 2px; }
.ph-facts > div + div { border-left: 1px solid rgba(226, 201, 140, .25); }
.ph-facts dt { font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--gold-light); opacity: .85; }
.ph-facts dd { margin: 0; font: 400 1.25rem/1.2 'Marcellus', serif; color: #fff; white-space: nowrap; }
.ph-facts dd small { font: 500 .78rem var(--sans); color: #dcc7bc; }
.p-hero .k-chips span { background: rgba(255, 253, 249, .06); border-color: rgba(226, 201, 140, .3); }
.p-hero .k-chips .ico { color: var(--gold-light); }
@media (min-width: 961px) {
    .p-hero .actions-row { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; margin: 26px 0 0; }
    .p-hero .actions-row > form.inline, .ph-more form.inline { display: flex; margin: 0; }
    .ph-main { min-height: 66px; padding: 0 34px !important; font-size: 1.05rem !important; border-radius: 20px !important; box-shadow: 0 18px 34px -16px rgba(200, 164, 92, .8) !important; }
    .ph-main .ico { font-size: 1.1rem; }
    .ph-more { display: flex; align-items: stretch; padding: 5px; border-radius: 20px; background: rgba(255, 253, 249, .06); border: 1px solid rgba(226, 201, 140, .35); }
    .ph-more .ph-tile { flex-direction: column; justify-content: center; gap: 4px; min-width: 84px; height: 56px; padding: 0 12px !important; border: 0 !important; border-radius: 15px !important; background: none !important; color: #ead8cd !important; font: 600 .66rem var(--sans) !important; letter-spacing: .08em; text-transform: uppercase; box-shadow: none !important; }
    .ph-more .ph-tile .ico { font-size: 1.05rem; color: var(--gold-light); }
    .ph-more .ph-tile:hover { background: rgba(236, 217, 168, .12) !important; color: #fff !important; }
    .ph-more .ph-tile.on .ico path { fill: var(--gold-light); }
    .ph-more > * + * { border-left: 1px solid rgba(226, 201, 140, .18); }
    .p-cf { min-height: 66px; }
}
html[lang="hi"] .ph-tags > *, html[lang="hi"] .ph-facts dt, html[lang="hi"] .ph-more .ph-tile { letter-spacing: 0; text-transform: none; font-size: .78rem !important; }
@media (max-width: 960px) {
    .ph-more { display: contents; }
    .ph-facts { width: 100%; } .ph-facts > div { flex: 1 1 45%; padding: 10px 14px; } .ph-facts > div:nth-child(3) { border-left: 0; } .ph-facts > div:nth-child(n+3) { border-top: 1px solid rgba(226, 201, 140, .25); }
    .ph-facts dd { font-size: 1.05rem; } .ph-line { font-size: .95rem; margin-bottom: 16px; }
}

/* Activity dot: green when active today, pulsing when online right now; on phones only the dot shows */
.pc-live.online i, .ph-live.online i { background: #35d07f; animation: liveDot 1.8s ease-out infinite; }
.ph-live.online { color: #c9f0da; border-color: rgba(79, 209, 139, .55); background: rgba(47, 138, 94, .2); }
@keyframes liveDot { 0% { box-shadow: 0 0 0 0 rgba(53, 208, 127, .7); } 100% { box-shadow: 0 0 0 7px rgba(53, 208, 127, 0); } }
@media (max-width: 960px) {
    .pcard-over .pc-live { display: inline-flex !important; font-size: 0; padding: 0; margin-left: 6px; background: none; gap: 0; vertical-align: 1px; }
    .pcard-over .pc-live i { width: 9px; height: 9px; border: 1.5px solid rgba(31, 6, 13, .8); }
}
@media (prefers-reduced-motion: reduce) { .pc-live.online i, .ph-live.online i { animation: none; } }

/* ---- Interest message, requests, similar profiles ---- */
.in-box { width: min(520px, 100%); text-align: left; }
.in-box .cf-ico, .in-box h3, .in-box > p { text-align: center; }
.in-picks { display: grid; gap: 8px; margin: 0 0 12px; }
.in-picks button { text-align: left; padding: 10px 14px; border-radius: 12px; border: 1px solid #e2d2b4; background: #fff; font: 500 .9rem var(--sans); color: var(--wine-900); cursor: pointer; }
.in-picks button.on, .in-picks button:hover { border-color: var(--gold); background: #fdf7ea; }
.in-box textarea { width: 100%; min-height: 84px; margin-bottom: 18px; border-radius: 14px; }
.i-note { margin: 0 0 12px; padding: 10px 14px; border-left: 3px solid var(--gold); border-radius: 0 12px 12px 0; background: #fdf7ea; font: italic 500 .95rem/1.5 var(--sans); color: var(--wine-800); }
.ir { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 22px; padding: 14px 18px; border-radius: 18px; background: var(--paper); border: 1px dashed rgba(200, 164, 92, .8); }
.ir-h { display: inline-flex; align-items: center; gap: 8px; margin-right: 4px; font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--gold-deep); }
.ir form { margin: 0; }
.ir-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--gold); background: #fff; font: 600 .88rem var(--sans); color: var(--wine); cursor: pointer; }
.ir-btn:hover { background: var(--sand); }
.ir-btn.done { border-color: #bfe3cf; background: #eef7f1; color: #1d6b47; cursor: default; }
.sim { margin-top: 10px; }
.sim-head { margin-bottom: 16px; } .sim-head h2 { margin: 2px 0 0; font-size: 1.7rem; }
.sim-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (min-width: 1200px) { .sim-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
html[lang="hi"] .ir-h { letter-spacing: 0; text-transform: none; font-size: .82rem; }

/* Chat: seen ticks and photos */
.m-tick { margin-left: 5px; font-style: normal; letter-spacing: -3px; opacity: .75; }
.m-tick.seen { color: var(--gold-light); opacity: 1; }
.m-log .msg:not(.me) .m-tick { display: none; }
.m-log .msg.has-photo { padding: 6px 6px 6px; }
.m-photo { display: block; max-width: min(280px, 100%); max-height: 320px; border-radius: 14px; cursor: zoom-in; }
.m-log .msg.has-photo small { padding: 0 8px 2px; }
.m-pic { flex: none; width: 54px; height: 54px; margin: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; font-size: 1.15rem; color: var(--wine); background: #fff; border: 1px solid rgba(200, 164, 92, .75); }
.m-pic:hover { background: var(--sand); }
@media (max-width: 960px) { .m-pic { width: 48px; height: 48px; } }

/* Mangal dosha on the kundli page */
.mg { margin: 0 auto 26px; max-width: 900px; padding: 22px 24px; border-radius: 22px; background: rgba(255, 253, 249, .06); border: 1px solid rgba(226, 201, 140, .45); }
.mg h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; color: #fff; font-size: 1.3rem; }
.mg h3 .ico { color: var(--gold-light); }
.mg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mg-side { display: grid; gap: 4px; padding: 16px 18px; border-radius: 16px; background: rgba(15, 3, 8, .35); border: 1px solid rgba(226, 201, 140, .3); }
.mg-side small { font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--gold-light); }
.mg-side b { font: 400 1.4rem 'Marcellus', serif; color: #fff; }
.mg-side.yes b { color: #ffb3a8; } .mg-side.partial b { color: #ffd98a; } .mg-side.no b { color: #9fe3bd; }
.mg-side span { font-size: .86rem; color: #dcc7bc; line-height: 1.45; }
.mg-pair { margin: 14px 0 0; padding: 10px 14px; border-radius: 12px; font-size: .93rem; }
.mg-pair.ok { color: #c9f0da; background: rgba(47, 138, 94, .2); } .mg-pair.warn { color: #ffe3a3; background: rgba(224, 169, 59, .16); }
.k-side .field label small { font-weight: 400; letter-spacing: 0; text-transform: none; opacity: .8; }
@media (max-width: 700px) { .mg-grid { grid-template-columns: 1fr; } }

/* Photo privacy note, welcome tour */
.w-privacy { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); }
.w-privacy h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 1.05rem; }
.photo-frame { position: relative; }
.pf-lock { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 3; display: grid; justify-items: center; gap: 4px; padding: 14px 16px; text-align: center; border-radius: 16px; color: #fff; background: rgba(31, 6, 13, .78); border: 1px solid rgba(226, 201, 140, .6); backdrop-filter: blur(4px); }
.pf-lock .ico { font-size: 1.2rem; color: var(--gold-light); }
.pf-lock b { font: 400 1.1rem 'Marcellus', serif; }
.pf-lock small { font-size: .82rem; color: #ead8cd; line-height: 1.45; }
.tour { position: fixed; inset: 0; z-index: 210; display: grid; place-items: center; padding: 18px; background: rgba(31, 6, 13, .72); backdrop-filter: blur(5px); }
.tour-box { position: relative; width: min(480px, 100%); padding: 30px 30px 24px; text-align: center; border-radius: 26px; background: linear-gradient(180deg, #fffdf9, #fbf2df); border: 1px solid var(--gold); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .8); }
.tour-box::before { content: ''; position: absolute; inset: 9px; border-radius: 19px; border: 1px solid rgba(200, 164, 92, .3); pointer-events: none; }
.tour-box .mangal { color: var(--wine); justify-content: center; }
.tour-step { display: grid; justify-items: center; gap: 6px; min-height: 230px; align-content: start; padding-top: 10px; }
.tour-ico { width: 74px; height: 74px; margin: 6px 0 6px; border-radius: 50%; display: grid; place-items: center; font-size: 1.7rem; color: var(--wine-900); background: var(--gold-grad); box-shadow: 0 0 0 8px rgba(200, 164, 92, .18); }
.tour-step small { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--gold-deep); }
.tour-step h2 { margin: 0; font-size: 1.55rem; }
.tour-step p { margin: 4px 0 0; color: #5b4a4e; line-height: 1.6; }
.tour-dots { display: flex; justify-content: center; gap: 7px; margin: 14px 0 18px; }
.tour-dots i { width: 8px; height: 8px; border-radius: 50%; background: #e2d2b4; transition: all .25s; }
.tour-dots i.on { width: 24px; border-radius: 6px; background: var(--gold); }
.tour-acts { position: relative; display: flex; justify-content: center; gap: 12px; }
.tour-acts [hidden] { display: none; }
html[lang="hi"] .tour-step small { letter-spacing: 0; text-transform: none; font-size: .8rem; }

/* Write-for-me button, directory pages */
.w-write { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--gold); background: linear-gradient(135deg, #fffdf9, #fbf2df); font: 600 .88rem var(--sans); color: var(--wine); cursor: pointer; }
.w-write:hover { background: var(--sand); }
.w-write-note { display: block; margin-top: 6px; color: var(--muted); font-size: .82rem; }
.sd-page { display: grid; gap: 26px; }
.sd-card { padding: 30px 34px; max-width: 900px; }
.sd-lead { font: 400 1.35rem/1.5 'Marcellus', serif; color: var(--wine-800); margin-top: 0; }
html[lang="hi"] .sd-lead { font-family: 'Tiro Devanagari Hindi', serif; }
.sd-card p { line-height: 1.7; }
.sd-stats { display: flex; flex-wrap: wrap; gap: 14px; margin: 18px 0; }
.sd-stats div { display: grid; padding: 14px 20px; border-radius: 16px; background: #fbf3e3; border: 1px solid rgba(200, 164, 92, .5); }
.sd-stats b { font: 600 1.3rem var(--sans); color: var(--wine); } .sd-stats span { font-size: .8rem; color: var(--muted); }
.sd-acts { display: flex; flex-wrap: wrap; gap: 12px; margin: 6px 0 14px; }
.sd-note { font-size: .88rem; color: var(--muted); }
.sd-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.sd-list { padding: 22px 24px; border-radius: 22px; background: var(--paper); border: 1px solid rgba(200, 164, 92, .55); }
.sd-list h2 { margin: 0 0 14px; font-size: 1.4rem; }
.sd-list div { display: flex; flex-wrap: wrap; gap: 8px; }
.sd-list a { padding: 7px 14px; border-radius: 999px; border: 1px solid #e2d2b4; background: #fff; text-decoration: none; font-weight: 600; font-size: .9rem; color: var(--wine-900); }
.sd-list a:hover, .sd-list a.on { border-color: var(--gold); background: var(--gold-grad); color: var(--wine-900); }
.c-hero .eyebrow a { color: inherit; text-decoration: none; }
@media (max-width: 760px) { .sd-lists { grid-template-columns: 1fr; } .sd-card { padding: 22px 18px; } }


/* === Header and footer a shade brighter (wine-brown); delete this block to return to the darker shade === */
.site-header.mh { background: linear-gradient(180deg, #26091a, #42112a) !important; }
.site-footer { background: linear-gradient(170deg, #22081a, #3c1026 55%, #4a1428) !important; }
.foot-bottom { background: rgba(28, 7, 17, .5) !important; }
.slim-footer { background: #2a0a1c !important; }
@media (max-width: 960px) { .tabbar { background: #2c0b1c !important; } }
/* === end === */

/* Android app: footer badge and download page */
.site-footer .foot-app { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; padding: 8px 16px 8px 12px; border-radius: 12px; text-decoration: none; color: #fff; background: #000; border: 1px solid rgba(236, 217, 168, .5); transition: border-color .25s, transform .25s; }
.site-footer .foot-app:hover { border-color: var(--gold-light); transform: translateY(-2px); }
.foot-app svg { width: 26px; height: 26px; color: #3ddc84; }
.foot-app span { display: grid; line-height: 1.1; } .foot-app small { font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: #ccc; } .foot-app b { font: 600 1.1rem var(--sans); }
.site-footer a.foot-app { padding: 9px 20px 9px 13px !important; white-space: nowrap; flex: none; }
.ap-card { max-width: 620px; margin: 0 auto; padding: 34px 34px 28px; text-align: center; }
.ap-icon { width: 96px; height: 96px; border-radius: 24px; box-shadow: 0 16px 30px -16px rgba(94, 20, 40, .8); }
.ap-card h2 { margin: 14px 0 0; }
.ap-acts { display: grid; justify-items: center; gap: 10px; margin: 18px 0 20px; }
.ap-acts [hidden] { display: none; }
.ap-done { display: flex; align-items: center; gap: 8px; color: #1d6b47; font-weight: 600; }
.ap-steps { text-align: left; margin: 0 auto 16px; padding-left: 22px; max-width: 460px; line-height: 1.7; }
.ap-ios { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .9rem; color: var(--muted); }

/* === Logo image (assets/logo.webp) on a cream plate so the maroon lettering reads on dark headers === */
.brand-logo, .mh-logo, .foot-logo { display: block; width: auto; box-sizing: content-box; background: radial-gradient(ellipse at 50% 40%, #fffdf8, #f6ecd9); border: 1px solid rgba(200, 164, 92, .75); border-radius: 14px; box-shadow: 0 0 0 3px rgba(236, 217, 168, .14), 0 6px 18px rgba(0, 0, 0, .22); }
.brand-logo { height: 50px; padding: 4px 12px; }
.mh-logo { height: 58px; padding: 4px 12px; }
.foot-logo { height: clamp(100px, 13vw, 132px); padding: 10px 26px; border-radius: 20px; }
.site-footer .foot-brand { gap: 0; }
.app-logo { display: block; margin: 0 auto; height: 38px; width: auto; padding: 2px 8px; border-radius: 9px; background: radial-gradient(ellipse at 50% 40%, #fffdf8, #f6ecd9); border: 1px solid rgba(200, 164, 92, .75); box-sizing: content-box; }
@media (max-width: 960px) { .brand-logo, .mh-logo { height: 40px; padding: 3px 9px; border-radius: 10px; } }

/* === Logo v2 (photo badge). Delete this block and copy assets/v1-logo* back over assets/logo* to return to logo v1 === */
.brand-logo, .mh-logo, .foot-logo, .app-logo { padding: 0 !important; background: #0b2c5c !important; object-fit: cover; border: 1px solid rgba(226, 201, 140, .85) !important; box-shadow: 0 0 0 3px rgba(226, 201, 140, .16), 0 8px 22px rgba(0, 0, 0, .3) !important; }
.brand-logo { height: 56px; border-radius: 12px; }
.mh-logo { height: 64px; border-radius: 12px; }
.app-logo { height: 40px; border-radius: 8px; }
.foot-logo { height: clamp(130px, 17vw, 190px); border-radius: 18px; }
@media (max-width: 960px) { .brand-logo, .mh-logo { height: 44px; border-radius: 9px; } }
/* === end logo v2 === */

/* === Header lockup: couple mark + "Pushkarna MATCH" set in type (the full logo stays in the footer) === */
.lk { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.lk-mark { width: 54px; height: 54px; flex: none; filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .3)); }
.lk-mark.sm { width: 38px; height: 38px; }
.lk-text { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.lk-text b { font: 400 1.75rem/1 'Marcellus', serif; letter-spacing: .01em; color: #fff; white-space: nowrap; }
.lk-text i { display: flex; align-items: center; gap: 8px; margin-top: 4px; font: 600 .62rem/1 var(--sans); font-style: normal; letter-spacing: .42em; padding-left: .42em; text-transform: uppercase; color: var(--gold-light); }
.lk-text i::before, .lk-text i::after { content: ''; width: 16px; height: 1px; background: var(--gold); opacity: .8; }
.lk-mh .lk-text b { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.site-header:not(.mh) .lk-text b { color: var(--wine-800); }
.site-header:not(.mh) .lk-text i { color: var(--gold-deep); }
.is-home .site-header:not(.scrolled) .lk-text b { color: #fff; }
.is-home .site-header:not(.scrolled) .lk-text i { color: var(--gold-light); }
.lk-app .lk-text b { font-size: 1.22rem; color: #fff; }
.lk-app .lk-text i { font-size: .5rem; margin-top: 3px; }
.lk-app .lk-text i::before, .lk-app .lk-text i::after { width: 10px; }
.lk-app { gap: 7px; justify-content: center; }
@media (max-width: 960px) {
    .lk-mark { width: 42px; height: 42px; }
    .lk-text b { font-size: 1.32rem; }
    .site-header:not(.mh) .lk-text b { color: #fff; }
    .site-header:not(.mh) .lk-text i { color: var(--gold-light); }
}
/* === end header lockup === */

/* === Footer logo v3 (transparent Mehrangarh logo, assets/logo-full.webp) === */
.site-footer .foot-logo { height: clamp(150px, 20vw, 230px); background: none !important; border: 0 !important; border-radius: 0; box-shadow: none !important; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .45)); max-width: 100%; object-fit: contain; }
@media (max-width: 600px) { .site-footer .foot-logo { height: auto; width: 100%; } }
/* === end footer logo v3 === */

/* === Header name: larger and higher-contrast === */
.lk-text b { font-size: 2.05rem; letter-spacing: .015em; text-shadow: 0 1px 0 rgba(0, 0, 0, .25); }
.lk-text i { font-size: .74rem; font-weight: 700; letter-spacing: .5em; padding-left: .5em; margin-top: 5px; }
.lk-text i::before, .lk-text i::after { width: 20px; height: 1.5px; }
.lk-mh .lk-text b { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #f6e7bf; }
.lk-mh .lk-text i { color: #e2c98c; }
.site-header:not(.mh) .lk-text b { color: #5e1428; text-shadow: none; }
.site-header:not(.mh) .lk-text i { color: #9a7330; }
.is-home .site-header:not(.scrolled) .lk-text b { color: #fff; text-shadow: 0 2px 8px rgba(0, 0, 0, .4); }
.is-home .site-header:not(.scrolled) .lk-text i { color: #ecd9a8; }
.lk-mark { width: 58px; height: 58px; }
.lk-app .lk-text b { font-size: 1.45rem; color: #fff; }
.lk-app .lk-text i { font-size: .58rem; letter-spacing: .42em; padding-left: .42em; color: #ecd9a8; }
.lk-mark.sm { width: 40px; height: 40px; }
@media (max-width: 960px) {
    .lk-mark { width: 44px; height: 44px; }
    .lk-text b { font-size: 1.55rem; }
    .lk-text i { font-size: .6rem; }
    .site-header:not(.mh) .lk-text b { color: #fff; text-shadow: 0 2px 8px rgba(0, 0, 0, .4); }
    .site-header:not(.mh) .lk-text i { color: #ecd9a8; }
}
/* === end === */

/* === Footer brand: heart emblem + name set in type (replaces the footer logo image) === */
.site-footer .foot-brand.fl { display: inline-flex !important; align-items: center; gap: clamp(14px, 2.4vw, 26px); font: inherit; text-decoration: none; }
.fl-mark { width: clamp(104px, 12vw, 150px); height: auto; flex: none; filter: drop-shadow(0 10px 28px rgba(0, 0, 0, .45)) drop-shadow(0 0 30px rgba(226, 201, 140, .18)); }
.fl-text { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.fl-text b { font: 400 clamp(2.6rem, 6vw, 4.4rem)/1 'Marcellus', serif; color: #fff; letter-spacing: .01em; text-shadow: 0 3px 14px rgba(0, 0, 0, .45); }
.fl-text i { display: flex; align-items: center; gap: 12px; margin-top: 10px; font: 700 clamp(.85rem, 1.5vw, 1.1rem)/1 var(--sans); font-style: normal; letter-spacing: .6em; padding-left: .6em; text-transform: uppercase; color: #e2c98c; }
.fl-text i::before, .fl-text i::after { content: ''; width: clamp(24px, 4vw, 48px); height: 1.5px; background: linear-gradient(90deg, transparent, var(--gold)); }
.fl-text i::after { background: linear-gradient(90deg, var(--gold), transparent); }
.fl-text em { margin-top: 12px; font: 500 clamp(.86rem, 1.4vw, 1.02rem)/1.3 var(--sans); font-style: normal; letter-spacing: .06em; color: #d9c3b8; }
@media (max-width: 600px) { .site-footer .foot-brand.fl { flex-direction: column; gap: 10px; } }
/* === end footer brand === */

/* === Footer Android badge, premium === */
.site-footer a.foot-app.fa2 { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 12px; padding: 9px 14px 9px 9px !important; border-radius: 16px; color: #fff; text-decoration: none; background: linear-gradient(160deg, #2a0b1c 0%, #12040c 60%, #1c0712 100%); border: 1px solid transparent; background-clip: padding-box; box-shadow: 0 0 0 1px rgba(226, 201, 140, .7), inset 0 1px 0 rgba(255, 255, 255, .08), 0 10px 26px rgba(0, 0, 0, .4); transition: transform .3s, box-shadow .3s; }
.site-footer a.foot-app.fa2::after { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 240, 200, .16), transparent); transform: skewX(-20deg); transition: left .7s ease; pointer-events: none; }
.site-footer a.foot-app.fa2:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px #ecd9a8, 0 0 22px rgba(226, 201, 140, .3), 0 14px 30px rgba(0, 0, 0, .45); }
.site-footer a.foot-app.fa2:hover::after { left: 130%; }
.fa2-ic { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 12px; background: radial-gradient(circle at 35% 30%, #1f3b2b, #0a1a12); box-shadow: inset 0 0 0 1px rgba(61, 220, 132, .45), 0 0 14px rgba(61, 220, 132, .25); }
.site-footer .fa2-ic svg { width: 26px; height: 26px; color: #3ddc84; filter: drop-shadow(0 0 6px rgba(61, 220, 132, .5)); }
.fa2-t { display: grid; line-height: 1.05; text-align: left; }
.site-footer .fa2-t small { font: 700 .6rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: #e2c98c; margin-bottom: 4px; }
.site-footer .fa2-t b { font: 400 1.22rem/1 'Marcellus', serif; color: #fff; white-space: nowrap; }
.fa2-dl { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 50%; margin-left: 4px; color: #2a0b1c; background: var(--gold-grad); box-shadow: 0 2px 8px rgba(0, 0, 0, .3); }
.site-footer .fa2-dl svg { width: 16px; height: 16px; color: #2a0b1c; filter: none; }
/* === end === */

/* === Seven promises v2: dark wine stage, diya intro tile and seven sealed cards === */
.h-vachan.v2 { position: relative; overflow: hidden; background: radial-gradient(ellipse at 15% 0%, #4a1430 0%, transparent 55%), radial-gradient(ellipse at 90% 100%, #3a0f26 0%, transparent 50%), linear-gradient(180deg, #1a0611, #12040c); color: #f3e6d8; isolation: isolate; }
.h-vachan.v2 > .mandala { position: absolute; width: 760px; right: -260px; top: -200px; opacity: .1; z-index: -1; pointer-events: none; }
.h-vachan.v2 .k-stars { z-index: -1; }
.v2-head { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.v2-eyebrow { display: inline-flex; align-items: center; gap: 14px; font: 700 .72rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: #e2c98c; }
.v2-eyebrow i { width: 34px; height: 1px; background: linear-gradient(90deg, transparent, #c8a45c); }
.v2-eyebrow i:last-child { background: linear-gradient(90deg, #c8a45c, transparent); }
.v2-head h2 { margin: 16px 0 12px; font: 400 clamp(2rem, 4.2vw, 3.1rem)/1.12 'Marcellus', serif; color: #fff; }
.v2-head p { margin: 0; color: #cdb6ab; font-size: 1.04rem; }
.v2-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.v2-intro { grid-row: span 2; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 34px 26px; border-radius: 22px; background: radial-gradient(ellipse at 50% 22%, rgba(255, 170, 60, .2), transparent 55%), linear-gradient(170deg, #5a1530, #2a0a1c 70%); box-shadow: inset 0 0 0 1px rgba(226, 201, 140, .55), 0 24px 50px rgba(0, 0, 0, .4); }
.v2-intro::before { content: ''; position: absolute; inset: 8px; border-radius: 16px; border: 1px dashed rgba(226, 201, 140, .3); pointer-events: none; }
.v2-big { font: 600 clamp(2.3rem, 3.6vw, 3rem)/1.1 'Tiro Devanagari Hindi', serif; background: linear-gradient(180deg, #fff3cf, #d9b264 60%, #a8792e); -webkit-background-clip: text; background-clip: text; color: transparent; margin-top: 8px; }
.v2-intro h3 { margin: 10px 0 10px; font: 400 1.32rem/1.25 'Marcellus', serif; color: #fff; }
.v2-intro p { margin: 0 0 22px; color: #dcc6bb; font-size: .95rem; line-height: 1.6; }
.v2-diya { position: relative; width: 92px; height: 92px; }
.v2-diya .bowl { position: absolute; left: 10px; right: 10px; bottom: 8px; height: 30px; border-radius: 6px 6px 46px 46px; background: linear-gradient(180deg, #f1d58f, #b9812f 60%, #7a4a14); box-shadow: inset 0 3px 0 rgba(255, 255, 255, .45), 0 6px 14px rgba(0, 0, 0, .45); }
.v2-diya .fl { position: absolute; left: 50%; bottom: 34px; width: 22px; height: 40px; margin-left: -11px; border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%; background: radial-gradient(ellipse at 50% 72%, #fff 0 18%, #ffe27a 34%, #ff9a1f 66%, rgba(255, 80, 0, 0) 76%); transform-origin: 50% 90%; animation: v2flick 1.8s ease-in-out infinite; }
.v2-diya .glow { position: absolute; left: 50%; bottom: 22px; width: 110px; height: 110px; margin-left: -55px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 176, 60, .45), rgba(255, 140, 30, 0) 65%); animation: v2glow 2.6s ease-in-out infinite; }
@keyframes v2flick { 0%, 100% { transform: scale(1) rotate(-2deg); } 35% { transform: scale(1.06, .95) rotate(2deg); } 70% { transform: scale(.96, 1.05) rotate(-1deg); } }
@keyframes v2glow { 0%, 100% { opacity: .85; } 50% { opacity: 1; transform: scale(1.06); } }
.v2-card { position: relative; overflow: hidden; padding: 24px 22px 24px; border-radius: 20px; background: linear-gradient(165deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .02)); box-shadow: inset 0 0 0 1px rgba(226, 201, 140, .22); transition: transform .4s cubic-bezier(.2, .7, .2, 1), box-shadow .4s, background .4s; transition-delay: var(--d, 0ms); }
.v2-card:hover { transform: translateY(-6px); background: linear-gradient(165deg, rgba(255, 236, 190, .12), rgba(255, 255, 255, .03)); box-shadow: inset 0 0 0 1px rgba(236, 217, 168, .7), 0 22px 44px rgba(0, 0, 0, .45), 0 0 40px rgba(226, 201, 140, .12); transition-delay: 0ms; }
.v2-ghost { position: absolute; right: -6px; bottom: -40px; font: 400 9rem/1 'Tiro Devanagari Hindi', serif; color: rgba(226, 201, 140, .06); pointer-events: none; transition: color .4s, transform .5s; }
.v2-card:hover .v2-ghost { color: rgba(226, 201, 140, .13); transform: translateY(-8px); }
.v2-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.v2-seal { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; font: 600 1.35rem/1 'Tiro Devanagari Hindi', serif; color: #3a0d22; background: radial-gradient(circle at 32% 28%, #fff1c6, #d6ad5e 55%, #9c6e26); box-shadow: 0 0 0 3px rgba(226, 201, 140, .18), 0 6px 16px rgba(0, 0, 0, .4), inset 0 -2px 4px rgba(0, 0, 0, .2); }
.v2-ic { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: #e2c98c; background: rgba(226, 201, 140, .08); box-shadow: inset 0 0 0 1px rgba(226, 201, 140, .25); }
.v2-ic svg { width: 19px; height: 19px; }
.v2-card small { display: block; font: 700 .64rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #c8a45c; }
.v2-card h3 { margin: 9px 0 9px; font: 400 1.26rem/1.25 'Marcellus', serif; color: #fff; }
.v2-card p { position: relative; margin: 0; font-size: .92rem; line-height: 1.6; color: #cdb6ab; }
.v2-grid { grid-template-columns: repeat(3, 1fr); }
.v2-intro { grid-row: auto; grid-column: span 2; display: grid; grid-template-columns: 170px 1fr; grid-template-rows: auto auto auto auto; align-content: center; justify-items: start; text-align: left; column-gap: 26px; padding: 30px 36px; }
.v2-intro .v2-diya { grid-row: 1 / -1; align-self: center; justify-self: center; width: 130px; height: 130px; transform: scale(1.25); }
.v2-intro .v2-big { margin-top: 0; }
.v2-intro p { max-width: 520px; margin-bottom: 18px; }
@media (max-width: 900px) {
    .v2-grid { grid-template-columns: repeat(2, 1fr); }
    .v2-intro { grid-column: 1 / -1; }
    .v2-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
    .v2-head { margin-bottom: 28px; }
    .v2-grid { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 4px 16px 18px; scrollbar-width: none; }
    .v2-grid::-webkit-scrollbar { display: none; }
    .v2-intro, .v2-card { flex: 0 0 84%; scroll-snap-align: center; }
    .v2-intro { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 26px 20px; }
    .v2-intro .v2-diya { transform: none; width: 92px; height: 92px; }
}
@media (prefers-reduced-motion: reduce) { .v2-diya .fl, .v2-diya .glow { animation: none; } }
/* === end seven promises v2 === */

/* === Seven promises v2: light ivory stage, dark wine intro tile (light/dark rhythm with the dark sections around it) === */
.h-vachan.v2 { color: var(--ink, #3a1a24); background: radial-gradient(ellipse at 50% -10%, rgba(226, 201, 140, .28), transparent 55%), radial-gradient(ellipse at 100% 100%, rgba(200, 164, 92, .14), transparent 50%), linear-gradient(180deg, #fbf7f0, #f5ecdd); }
.h-vachan.v2 .k-stars { display: none; }
.h-vachan.v2 > .mandala { opacity: .22; }
.v2-eyebrow { color: #9a7330; }
.v2-head h2 { color: #4a0f22; }
.v2-head p { color: #6e5a55; }
.v2-card { background: linear-gradient(170deg, #fff, #fffaf1); box-shadow: inset 0 0 0 1px rgba(200, 164, 92, .38), 0 10px 28px rgba(94, 20, 40, .07); }
.v2-card:hover { background: linear-gradient(170deg, #fff, #fff6e4); box-shadow: inset 0 0 0 1px rgba(200, 164, 92, .8), 0 22px 44px rgba(94, 20, 40, .14), 0 0 0 4px rgba(226, 201, 140, .15); }
.v2-card h3 { color: #4a0f22; }
.v2-card p { color: #6e5a55; }
.v2-card small { color: #a67c2e; }
.v2-ghost { color: rgba(200, 164, 92, .1); }
.v2-card:hover .v2-ghost { color: rgba(200, 164, 92, .2); }
.v2-seal { color: #fff6dc; background: radial-gradient(circle at 32% 28%, #9e2f55, #5e1428 60%, #3a0d1c); box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px rgba(200, 164, 92, .7), 0 8px 16px rgba(94, 20, 40, .25); }
.v2-ic { color: #9a7330; background: #fbf3e2; box-shadow: inset 0 0 0 1px rgba(200, 164, 92, .4); }
.v2-intro { background: radial-gradient(ellipse at 22% 50%, rgba(255, 180, 70, .28), transparent 55%), linear-gradient(165deg, #6e1d3c, #3e0d22 80%); box-shadow: inset 0 0 0 1px rgba(226, 201, 140, .6), 0 24px 50px rgba(94, 20, 40, .28); }
.v2-intro p { color: #ecd8cf; }
/* === end === */

/* === Feature showcase (replaces the vivah vow band) === */
.h-feat { position: relative; overflow: hidden; isolation: isolate; color: #f3e6d8; background: radial-gradient(ellipse at 85% 0%, rgba(160, 50, 90, .5), transparent 55%), radial-gradient(ellipse at 0% 100%, rgba(120, 30, 60, .5), transparent 55%), linear-gradient(170deg, #3a0d24, #24081a 60%, #2e0a1e); }
.h-feat > .mandala { position: absolute; width: 640px; left: -240px; bottom: -260px; opacity: .1; z-index: -1; pointer-events: none; }
.h-feat .k-stars { z-index: -1; }
.ft-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.ft-eyebrow { display: inline-flex; align-items: center; gap: 14px; font: 700 .72rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: #e2c98c; }
.ft-eyebrow i { width: 34px; height: 1px; background: linear-gradient(90deg, transparent, #c8a45c); }
.ft-eyebrow i:last-child { background: linear-gradient(90deg, #c8a45c, transparent); }
.ft-head h2 { margin: 16px 0 12px; font: 400 clamp(2rem, 4.2vw, 3.1rem)/1.12 'Marcellus', serif; color: #fff; }
.ft-head p { margin: 0; color: #d9c3b8; font-size: 1.04rem; }
.ft-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ft-tile { position: relative; overflow: hidden; padding: 26px 24px; border-radius: 22px; background: linear-gradient(165deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .025)); box-shadow: inset 0 0 0 1px rgba(226, 201, 140, .24); transition: transform .4s cubic-bezier(.2, .7, .2, 1), box-shadow .4s; }
.ft-tile:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 1px rgba(236, 217, 168, .65), 0 22px 44px rgba(0, 0, 0, .4); }
.ft-big { grid-column: span 2; display: grid; grid-template-columns: 1fr 1.05fr; gap: 22px; align-items: center; padding: 30px; background: radial-gradient(ellipse at 100% 0%, rgba(226, 201, 140, .14), transparent 60%), linear-gradient(165deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03)); }
.ft-ic { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; color: #3a0d22; background: radial-gradient(circle at 32% 28%, #fff1c6, #d6ad5e 55%, #9c6e26); box-shadow: 0 6px 16px rgba(0, 0, 0, .35); margin-bottom: 18px; }
.ft-ic svg { width: 22px; height: 22px; }
.ft-tile h3 { margin: 0 0 8px; font: 400 1.3rem/1.25 'Marcellus', serif; color: #fff; }
.ft-big h3 { font-size: 1.6rem; }
.ft-tile p { margin: 0; font-size: .93rem; line-height: 1.6; color: #d9c3b8; }
/* photo privacy mock */
.ft-photo { display: flex; gap: 12px; justify-content: center; }
.fp-card { width: 46%; max-width: 150px; padding: 8px 8px 12px; border-radius: 16px; background: #fffaf1; color: #4a0f22; text-align: center; box-shadow: 0 14px 30px rgba(0, 0, 0, .35); transform: rotate(-4deg); }
.fp-card.on { transform: rotate(4deg) translateY(10px); }
.fp-img { position: relative; height: 130px; border-radius: 11px; overflow: hidden; background: linear-gradient(160deg, #e9c9a0, #b5735a 70%, #7a3646); }
.fp-sil { position: absolute; left: 50%; bottom: -10px; width: 86px; height: 104px; margin-left: -43px; background: radial-gradient(circle at 50% 30%, #f6dcc0 0 22%, transparent 23%), radial-gradient(ellipse at 50% 100%, #8e1f3e 0 48%, transparent 49%); }
.fp-card:not(.on) .fp-img > .fp-sil { filter: blur(9px); }
.fp-lock { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; }
.fp-lock svg { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: rgba(40, 6, 20, .45); backdrop-filter: blur(4px); }
.fp-card b { display: block; margin-top: 8px; font: 400 1rem/1.2 'Marcellus', serif; }
.fp-card small { display: inline-flex; align-items: center; gap: 4px; font-size: .72rem; color: #8b6a60; }
.fp-card.on small { color: #2f7a4a; font-weight: 700; }
.fp-card small svg { width: 12px; height: 12px; }
/* chat mock */
.ft-chat { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 18px; background: #fbf5ea; box-shadow: 0 14px 30px rgba(0, 0, 0, .35); }
.fc-e2e { align-self: center; display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: .68rem; font-weight: 700; color: #7a5a1e; background: #f4e6c4; }
.fc-e2e svg { width: 11px; height: 11px; }
.ft-chat p { margin: 0; max-width: 84%; padding: 9px 12px; font-size: .84rem; line-height: 1.45; border-radius: 14px; }
.fc-in { align-self: flex-start; color: #3a1a24; background: #fff; border-bottom-left-radius: 4px; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.fc-out { align-self: flex-end; color: #fff; background: linear-gradient(160deg, #7a1c3c, #5e1428); border-bottom-right-radius: 4px; }
.fc-out i { margin-left: 6px; font-style: normal; font-size: .72rem; color: #8fd3ff; }
.fc-pic span { display: block; width: 120px; height: 70px; border-radius: 9px; background: linear-gradient(150deg, #f2c27a, #c96a4b 55%, #5b2a6e); }
@media (max-width: 1050px) { .ft-grid { grid-template-columns: repeat(2, 1fr); } .ft-big { grid-column: 1 / -1; } }
@media (max-width: 640px) {
    .ft-head { margin-bottom: 28px; }
    .ft-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .ft-big { grid-template-columns: 1fr; padding: 22px; }
    .ft-tile:not(.ft-big) { padding: 18px 16px; }
    .ft-tile:not(.ft-big) h3 { font-size: 1.08rem; }
    .ft-tile:not(.ft-big) p { font-size: .84rem; }
    .ft-tile:not(.ft-big) .ft-ic { width: 40px; height: 40px; margin-bottom: 12px; }
}
.ft-tile .ft-chat p.fc-in { color: #3a1a24; }
.ft-tile .ft-chat p.fc-out { color: #fff; }
.fp-card small { white-space: nowrap; font-size: .68rem; }
.ft-grid { grid-template-columns: repeat(6, 1fr); }
.ft-big { grid-column: span 3; }
.ft-tile:not(.ft-big) { grid-column: span 2; }
@media (max-width: 1050px) { .ft-grid { grid-template-columns: repeat(2, 1fr); } .ft-big { grid-column: 1 / -1; } .ft-tile:not(.ft-big) { grid-column: auto; } }
/* === end feature showcase === */

/* === How it works v2: four connected step cards === */
.h-howto { position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(ellipse at 50% 0%, rgba(226, 201, 140, .25), transparent 55%), linear-gradient(180deg, #fbf7f0, #f4eadb); }
.h-howto > .mandala { position: absolute; width: 620px; right: -240px; bottom: -240px; opacity: .2; z-index: -1; pointer-events: none; }
.hw-head { text-align: center; max-width: 680px; margin: 0 auto 54px; }
.hw-eyebrow { display: inline-flex; align-items: center; gap: 14px; font: 700 .72rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: #9a7330; }
.hw-eyebrow i { width: 34px; height: 1px; background: linear-gradient(90deg, transparent, #c8a45c); }
.hw-eyebrow i:last-child { background: linear-gradient(90deg, #c8a45c, transparent); }
.hw-head h2 { margin: 16px 0 12px; font: 400 clamp(2rem, 4.2vw, 3.1rem)/1.12 'Marcellus', serif; color: #4a0f22; }
.hw-head p { margin: 0; color: #6e5a55; font-size: 1.04rem; }
.hw-row { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: none; }
.hw-row::before { content: ''; position: absolute; left: 8%; right: 8%; top: 58px; height: 2px; background: repeating-linear-gradient(90deg, #c8a45c 0 10px, transparent 10px 18px); opacity: .7; z-index: 0; }
.hw-card { position: relative; z-index: 1; display: flex; flex-direction: column; padding: 30px 24px 28px; border-radius: 22px; background: linear-gradient(170deg, #fff, #fffaf1); box-shadow: inset 0 0 0 1px rgba(200, 164, 92, .38), 0 14px 34px rgba(94, 20, 40, .08); overflow: hidden; transition: transform .4s cubic-bezier(.2, .7, .2, 1), box-shadow .4s; }
.hw-card:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(200, 164, 92, .85), 0 24px 46px rgba(94, 20, 40, .15); }
.hw-num { position: absolute; right: 16px; top: 6px; font: 400 4.6rem/1 'Marcellus', serif; color: transparent; -webkit-text-stroke: 1.2px rgba(200, 164, 92, .55); pointer-events: none; }
.hw-top { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.hw-seal { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; color: #f6e2b0; background: radial-gradient(circle at 32% 28%, #9e2f55, #5e1428 60%, #3a0d1c); box-shadow: 0 0 0 4px #fff, 0 0 0 5.5px rgba(200, 164, 92, .75), 0 10px 20px rgba(94, 20, 40, .25); }
.hw-seal svg { width: 25px; height: 25px; }
.hw-tag { padding: 5px 11px; border-radius: 999px; font: 700 .66rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #8a6524; background: #f7ecd2; box-shadow: inset 0 0 0 1px rgba(200, 164, 92, .4); }
.hw-card h3 { margin: 0 0 10px; font: 400 1.45rem/1.2 'Marcellus', serif; color: #4a0f22; }
.hw-card p { margin: 0; font-size: .94rem; line-height: 1.62; color: #6e5a55; }
.hw-card.last { background: radial-gradient(ellipse at 100% 0%, rgba(255, 190, 90, .25), transparent 55%), linear-gradient(165deg, #7a2244, #4a0f26 80%); box-shadow: inset 0 0 0 1px rgba(226, 201, 140, .6), 0 22px 46px rgba(94, 20, 40, .3); }
.hw-card.last h3 { color: #fff; }
.hw-card.last p { color: #ecd8cf; }
.hw-card.last .hw-num { -webkit-text-stroke-color: rgba(236, 217, 168, .45); }
.hw-card.last .hw-seal { color: #4a0f22; background: radial-gradient(circle at 32% 28%, #fff1c6, #d6ad5e 55%, #9c6e26); box-shadow: 0 0 0 4px rgba(255, 255, 255, .15), 0 0 0 5.5px rgba(226, 201, 140, .8), 0 10px 20px rgba(0, 0, 0, .3); }
.hw-card.last .hw-tag { color: #4a0f22; background: var(--gold-grad); box-shadow: none; }
.hw-card .btn { align-self: flex-start; margin-top: 20px; }
@media (max-width: 960px) {
    .hw-head { margin-bottom: 32px; }
    .hw-row { grid-template-columns: 1fr; gap: 16px; padding-left: 26px; }
    .hw-row::before { left: 8px; right: auto; top: 20px; bottom: 20px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, #c8a45c 0 10px, transparent 10px 18px); }
    .hw-card { padding: 22px 20px; }
    .hw-card::before { content: ''; position: absolute; left: -26px; top: 46px; width: 14px; height: 14px; }
    .hw-card::after { content: ''; position: absolute; left: -24px; top: 44px; width: 12px; height: 12px; border-radius: 50%; background: #c8a45c; box-shadow: 0 0 0 4px #fbf7f0; }
    .hw-card { overflow: visible; }
    .hw-num { font-size: 3.4rem; }
    .hw-top { margin-bottom: 14px; }
    .hw-seal { width: 50px; height: 50px; }
}
/* === end how it works v2 === */

/* === Floating back-to-top button === */
.to-top { position: fixed; right: 22px; bottom: 24px; z-index: 60; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; color: #4a0f22; background: var(--gold-grad); box-shadow: 0 0 0 3px rgba(255, 255, 255, .7), 0 10px 26px rgba(40, 6, 20, .35); opacity: 0; visibility: hidden; transform: translateY(14px) scale(.9); transition: opacity .3s, transform .3s, visibility .3s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-3px); box-shadow: 0 0 0 3px #fff, 0 14px 30px rgba(40, 6, 20, .45); }
.to-top svg { width: 22px; height: 22px; }
@media (max-width: 960px) {
    .to-top { right: 14px; bottom: calc(84px + env(safe-area-inset-bottom)); width: 44px; height: 44px; }
    body:has(.p-hero .actions-row) .to-top { bottom: calc(140px + env(safe-area-inset-bottom)); }
}
@media print { .to-top { display: none !important; } }
/* === end === */
/* Android badge: no hover dash from the footer link style */
.site-footer .foot-grid > div > a.foot-app::before, .site-footer .foot-grid > div > a.foot-app:hover::before { content: none; display: none; }
.site-footer a.foot-app.fa2:hover { padding-left: 9px !important; }

/* === Video introduction page === */
.vd-stage { position: relative; aspect-ratio: 3 / 4; width: min(100%, 380px); margin: 0 auto; border-radius: 22px; overflow: hidden; background: radial-gradient(ellipse at 50% 30%, #4a1430, #1a0611 75%); box-shadow: inset 0 0 0 1px rgba(226, 201, 140, .5), 0 18px 40px rgba(40, 6, 20, .25); }
.vd-live { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #12040c; }
#vdLive { transform: scaleX(-1); }
.vd-idle { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; color: #e2c98c; font-size: .95rem; }
.vd-idle svg { width: 54px; height: 54px; padding: 16px; border-radius: 50%; background: rgba(226, 201, 140, .1); box-shadow: inset 0 0 0 1px rgba(226, 201, 140, .4); box-sizing: content-box; }
.vd-idle[hidden] { display: none; }
.vd-rec-dot { position: absolute; top: 14px; left: 14px; display: none; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; font: 700 .7rem/1 var(--sans); letter-spacing: .14em; color: #fff; background: rgba(0, 0, 0, .45); }
.vd-rec-dot::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: #ff3b30; animation: vdBlink 1s steps(2) infinite; }
.vd-stage.on .vd-rec-dot { display: inline-flex; }
@keyframes vdBlink { 50% { opacity: 0; } }
.vd-bar { grid-template-columns: auto auto 1fr; justify-items: start; align-items: center; gap: 16px; padding: 16px 20px; }
.vd-bar .vc-btn { width: 64px; height: 64px; font-size: 1.4rem; }
.vd-bar .vc-btn svg { width: 26px; height: 26px; }
.vd-bar .vc-time b { font-size: 1.6rem; }
.vd-bar .vc-hint { text-align: left; }
.vd-player { width: 100%; max-height: 420px; border-radius: 16px; background: #12040c; }
.p-video video { width: 100%; max-height: 480px; border-radius: 14px; background: #12040c; grid-column: 1 / -1; }
@media (max-width: 600px) { .vd-bar { grid-template-columns: auto 1fr; } .vd-bar .vc-hint { grid-column: 1 / -1; } }
/* === end video introduction === */

/* === Profile strength meter === */
.sm-card { display: flex; align-items: center; gap: 22px; margin: 0 0 22px; padding: 18px 22px; border-radius: 20px; background: radial-gradient(ellipse at 0% 50%, rgba(226, 201, 140, .22), transparent 55%), linear-gradient(170deg, #fff, #fffaf1); box-shadow: inset 0 0 0 1px rgba(200, 164, 92, .45), 0 10px 26px rgba(94, 20, 40, .07); }
.sm-ring { position: relative; width: 78px; height: 78px; flex: none; }
.sm-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.sm-ring circle { fill: none; stroke-width: 7; }
.sm-bg { stroke: #f1e5cc; }
.sm-fg { stroke: url(#none); stroke: #c8a45c; stroke-linecap: round; transition: stroke-dashoffset 1s ease; }
.lvl-basic .sm-fg { stroke: #c8443c; } .lvl-good .sm-fg { stroke: #d39a2c; } .lvl-strong .sm-fg { stroke: #3f8f5a; } .lvl-complete .sm-fg { stroke: #2f7a4a; }
.sm-ring b { position: absolute; inset: 0; display: grid; place-content: center; font: 400 1.5rem/1 'Marcellus', serif; color: #4a0f22; }
.sm-ring b { display: flex; align-items: center; justify-content: center; }
.sm-ring b small { align-self: center; margin-top: -.5em; }
.sm-ring b small { font: 700 .7rem/1 var(--sans); margin-left: 1px; color: #9a7330; }
.sm-text { min-width: 0; }
.sm-eyebrow { font: 700 .66rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: #9a7330; }
.sm-text h3 { margin: 6px 0 10px; font: 400 1.18rem/1.3 'Marcellus', serif; color: #4a0f22; }
.sm-text p { margin: 0; color: #6e5a55; font-size: .92rem; }
.sm-todo { display: flex; flex-wrap: wrap; gap: 8px; }
.sm-todo a { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; font-size: .84rem; font-weight: 600; color: #5e1428; text-decoration: none; background: #fbf3e2; box-shadow: inset 0 0 0 1px rgba(200, 164, 92, .45); transition: background .2s, transform .2s; }
.sm-todo a:hover { background: #f5e4bd; transform: translateY(-1px); }
.sm-todo em { font-style: normal; font-size: .72rem; font-weight: 800; color: #2f7a4a; }
.w-tips-wrap .sm-card { margin: 18px 0 0; }
@media (max-width: 600px) { .sm-card { align-items: flex-start; gap: 14px; padding: 16px; } .sm-ring { width: 62px; height: 62px; } .sm-ring b { font-size: 1.2rem; } .sm-text h3 { font-size: 1.02rem; } }
/* === end profile strength === */
/* Card name a size larger */
.pcard-over h3 { font-size: 1.42rem; line-height: 1.2; text-shadow: 0 2px 8px rgba(0, 0, 0, .5); }
.pcard-over p { font-size: .9rem; }
@media (max-width: 700px) { .pcard-over h3 { font-size: 1.12rem; } .pcard-over p { font-size: .76rem; } }

/* === Header wordmark: engraved Roman capitals in gold foil + a script "Match", like a wedding card === */
.lk-text { position: relative; align-items: flex-start; }
.lk-text b { font: 600 1.62rem/1 'Cinzel', 'Marcellus', serif; letter-spacing: .12em; text-transform: uppercase; color: transparent !important; background: linear-gradient(180deg, #fff6d8 0%, #f0d48a 38%, #c9973f 62%, #f5dd9c 100%); -webkit-background-clip: text; background-clip: text; text-shadow: none !important; filter: drop-shadow(0 1px 0 rgba(60, 10, 25, .55)) drop-shadow(0 3px 10px rgba(0, 0, 0, .35)); }
.lk-text i { display: block; align-self: flex-end; margin: -.12em -.15em 0 0; padding: 0; font: 400 1.75rem/1 'Pinyon Script', cursive; letter-spacing: 0; text-transform: none; color: #f3dfa6 !important; text-shadow: 0 2px 6px rgba(0, 0, 0, .45); }
.lk-text i::before, .lk-text i::after { content: none; display: none; }
/* public header on the light background */
.site-header:not(.mh) .lk-text b { background: linear-gradient(180deg, #8e2848 0%, #5e1428 55%, #3e0b1b 100%); -webkit-background-clip: text; background-clip: text; filter: none; }
.site-header:not(.mh) .lk-text i { color: #a87b2c !important; text-shadow: none; }
.is-home .site-header:not(.scrolled) .lk-text b { background: linear-gradient(180deg, #fff6d8 0%, #f0d48a 38%, #c9973f 62%, #f5dd9c 100%); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 1px 0 rgba(60, 10, 25, .55)) drop-shadow(0 3px 10px rgba(0, 0, 0, .35)); }
.is-home .site-header:not(.scrolled) .lk-text i { color: #f3dfa6 !important; text-shadow: 0 2px 6px rgba(0, 0, 0, .45); }
.lk-app .lk-text b { font-size: 1.12rem; letter-spacing: .1em; }
.lk-app .lk-text i { font-size: 1.22rem; }
@media (max-width: 960px) {
    .lk-text b { font-size: 1.22rem; }
    .lk-text i { font-size: 1.35rem; }
    .site-header:not(.mh) .lk-text b { background: linear-gradient(180deg, #fff6d8 0%, #f0d48a 38%, #c9973f 62%, #f5dd9c 100%); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 1px 0 rgba(60, 10, 25, .55)) drop-shadow(0 3px 10px rgba(0, 0, 0, .35)); }
    .site-header:not(.mh) .lk-text i { color: #f3dfa6 !important; }
}
html .lk-mh .lk-text b, html .lk-app .lk-text b { background: linear-gradient(180deg, #fff6d8 0%, #f0d48a 38%, #c9973f 62%, #f5dd9c 100%); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
html .lk .lk-text i { letter-spacing: 0; padding-left: 0; }
/* === end header wordmark === */

/* === Header wordmark, readable: solid colours, no script === */
html .lk .lk-text { align-items: center; }
html .lk .lk-text b { font: 600 1.7rem/1 'Cinzel', 'Marcellus', serif; letter-spacing: .08em; background: none !important; -webkit-background-clip: border-box !important; background-clip: border-box !important; color: #fbeec9 !important; filter: none !important; text-shadow: 0 2px 6px rgba(0, 0, 0, .35) !important; }
html .lk .lk-text i { display: flex; align-items: center; gap: 8px; align-self: center; margin: 6px 0 0; font: 700 .72rem/1 var(--sans); letter-spacing: .48em; padding-left: .48em; text-transform: uppercase; color: #e2c98c !important; text-shadow: none; }
html .lk .lk-text i::before, html .lk .lk-text i::after { content: ''; display: block; width: 18px; height: 1px; background: #c8a45c; }
html .site-header:not(.mh) .lk-text b { color: #5e1428 !important; text-shadow: none !important; }
html .site-header:not(.mh) .lk-text i { color: #9a7330 !important; }
html .is-home .site-header:not(.scrolled) .lk-text b { color: #fbeec9 !important; text-shadow: 0 2px 6px rgba(0, 0, 0, .35) !important; }
html .is-home .site-header:not(.scrolled) .lk-text i { color: #e2c98c !important; }
html .lk-app .lk-text b { font-size: 1.14rem; letter-spacing: .06em; }
html .lk-app .lk-text i { font-size: .56rem; margin-top: 4px; }
html .lk-app .lk-text i::before, html .lk-app .lk-text i::after { width: 10px; }
@media (max-width: 960px) {
    html .lk .lk-text b { font-size: 1.25rem; }
    html .lk .lk-text i { font-size: .6rem; }
    html .site-header:not(.mh) .lk-text b { color: #fbeec9 !important; text-shadow: 0 2px 6px rgba(0, 0, 0, .35) !important; }
    html .site-header:not(.mh) .lk-text i { color: #e2c98c !important; }
}
/* === end === */

/* === Account menu (desktop): compact head, tighter rows, never taller than the screen === */
@media (min-width: 961px) {
    .umenu-pop { max-height: calc(100vh - 120px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(200, 164, 92, .6) transparent; }
    .umenu-head { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto auto; column-gap: 14px; align-items: center; justify-items: start; text-align: left; padding: 14px 16px; }
    .umenu-head .avatar.lg { grid-row: 1 / 4; width: 52px; height: 52px; margin: 0; }
    .umenu-head .avatar.lg span { font-size: 1.45rem; }
    .umenu-head b { font-size: 1.02rem; line-height: 1.2; }
    .umenu-head small { margin: 0; font-size: .8rem; }
    .umenu-head .pill { margin-top: 4px; font-size: .68rem; padding: 2px 9px; }
    .umenu-pop > a, .umenu-pop form button { padding: 8px 14px; font-size: .92rem; }
    .umenu-pop form { margin-top: 4px; padding-top: 4px; }
}
/* === end === */

/* === Biodata editor, premium pass === */
.w-todo { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.w-todo > span { font: 700 .66rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: #e2c98c; margin-right: 2px; }
.w-todo a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: .82rem; font-weight: 600; color: #f6e9dc; text-decoration: none; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(226, 201, 140, .4); transition: background .2s, transform .2s; }
.w-todo a:hover { background: rgba(226, 201, 140, .18); transform: translateY(-1px); }
.w-todo em { font-style: normal; font-size: .7rem; font-weight: 800; color: #9be0b2; }
/* main photo: framed arch with a proper empty state */
.w-photo-main { width: 100%; }
.w-frame { background: linear-gradient(180deg, #fff, #fbf3e2); }
.w-empty-cta { display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 20px; text-align: center; color: #f3e2bd; background: radial-gradient(ellipse at 50% 35%, #7a2244, #3e0d22 75%); }
.w-empty-cta i { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; color: #4a0f22; background: radial-gradient(circle at 32% 28%, #fff1c6, #d6ad5e 55%, #9c6e26); box-shadow: 0 0 0 6px rgba(226, 201, 140, .15), 0 10px 22px rgba(0, 0, 0, .35); margin-bottom: 6px; }
.w-empty-cta i svg { width: 28px; height: 28px; }
.w-empty-cta b { font: 400 1.2rem/1.2 'Marcellus', serif; color: #fff; }
.w-empty-cta small { font-size: .8rem; color: #dcc6bb; max-width: 170px; }
.w-frame:has(.w-empty-cta) .w-frame-over { display: none; }
/* gallery: numbered empty slots show how many more photos fit */
.w-gallery figure, .w-add, .w-slot { border-radius: 14px; }
.w-add { border: 1.5px dashed #c8a45c; background: linear-gradient(180deg, #fffaf0, #fbf1dc); color: #7a5a1e; }
.w-add b { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; font: 400 1.7rem/1 var(--sans); color: #4a0f22; background: var(--gold-grad); box-shadow: 0 6px 14px rgba(94, 20, 40, .18); margin-bottom: 4px; }
.w-slot { aspect-ratio: 1; display: grid; place-items: center; font: 400 1.8rem/1 'Marcellus', serif; color: rgba(200, 164, 92, .55); border: 1px dashed rgba(200, 164, 92, .4); background: repeating-linear-gradient(135deg, rgba(200, 164, 92, .05) 0 8px, transparent 8px 16px); }
.w-gallery:has(.w-new) .w-slot { display: none; }
.w-ptips { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.w-ptips li { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px rgba(200, 164, 92, .3); }
.w-ptips li > svg { flex: none; width: 30px; height: 30px; padding: 7px; border-radius: 9px; color: #9a7330; background: #fbf3e2; box-sizing: border-box; }
.w-ptips b { display: block; font-size: .84rem; color: #4a0f22; line-height: 1.3; }
.w-ptips small { display: block; font-size: .74rem; color: #8b7670; line-height: 1.35; margin-top: 2px; }
.w-pnote { display: flex; align-items: center; gap: 7px; margin: 12px 0 0; font-size: .84rem; color: #8b7670; }
.w-pnote svg { width: 14px; height: 14px; color: #9a7330; flex: none; }
.w-privacy { margin-top: 26px; padding-top: 22px; border-top: 1px dashed rgba(200, 164, 92, .45); }
.w-foot .btn { white-space: nowrap; }
@media (max-width: 960px) {
    .w-gallery { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .w-add b { width: 34px; height: 34px; font-size: 1.4rem; }
    .w-add span { font-size: .72rem; }
    .w-slot { font-size: 1.3rem; }
    .w-photo-main { max-width: 250px; margin: 0 auto; }
    .w-ptips { grid-template-columns: 1fr; }
    .w-todo a { font-size: .78rem; padding: 5px 10px; }
}
@media (max-width: 960px) {
    .w-foot { grid-template-columns: auto 1fr !important; gap: 10px; bottom: calc(76px + env(safe-area-inset-bottom)) !important; }
    .w-foot .w-hint { display: none; }
    .w-foot .btn.w-next { justify-self: end; padding: 12px 20px; font-size: .95rem; }
    .w-foot .btn.w-back { padding: 12px 16px; }
}
/* === end biodata editor premium === */
@media (max-width: 960px) { body:has(.w-foot) .to-top { bottom: calc(150px + env(safe-area-inset-bottom)); } }
/* Hero ring label: two short lines that stay inside the circle */
.w-score .guna-ring .num { text-align: center; }
.w-score .guna-ring .num small { display: block; max-width: 84px; margin: 6px auto 0; font-size: .6rem; line-height: 1.35; letter-spacing: .14em; white-space: normal; }

/* === Biodata editor card: clean rounded card instead of the double gold frame === */
.w-step .w-card { border-radius: 24px; border: 0; background: #fff; overflow: hidden; box-shadow: 0 0 0 1px rgba(94, 20, 40, .07), 0 2px 4px rgba(94, 20, 40, .04), 0 24px 60px rgba(94, 20, 40, .1); }
.w-step .w-card::before { inset: 0 0 auto 0; height: 4px; border: 0; background: linear-gradient(90deg, #5e1428, #c8a45c 50%, #5e1428); }
.w-step .w-card > .w-corner { display: none; }
.w-step .w-head { margin: -46px -48px 30px; padding: 40px 48px 26px; background: radial-gradient(ellipse at 0% 0%, rgba(226, 201, 140, .22), transparent 60%), linear-gradient(180deg, #fffaf1, #fff); border-bottom: 1px solid rgba(94, 20, 40, .07); }
.w-step .w-head::after { display: none; }
.w-step .w-foot { border-top: 1px solid rgba(94, 20, 40, .07); }
@media (max-width: 960px) { .w-step .w-card { border-radius: 18px; } .w-step .w-head { margin: -34px -22px 22px; padding: 30px 22px 20px; } }
/* === end === */
/* once a photo is chosen the empty placeholder goes away */
.w-frame img:not([hidden]) ~ .w-empty-cta { display: none !important; }
.w-frame:has(img:not([hidden])) .w-frame-over { display: flex; }

/* === Biodata editor: modern inputs, chips and buttons === */
.w-step .w-fields .field { position: relative; }
.w-step .w-fields label:not(.w-chips label) { display: block; margin-bottom: 9px; font: 600 .82rem/1.2 var(--sans); letter-spacing: .01em; text-transform: none; color: #4a2a33; }
html[lang="hi"] .w-step .w-fields label { font-size: .92rem; }
.w-step .w-fields .req { color: #c8443c; }
.w-step .w-fields input[type=text], .w-step .w-fields input[type=tel], .w-step .w-fields input[type=date], .w-step .w-fields input[type=time], .w-step .w-fields input[type=number], .w-step .w-fields input[type=email], .w-step .w-fields select, .w-step .w-fields textarea {
    width: 100%; height: 54px; padding: 0 18px; border-radius: 14px; border: 1.5px solid #ece2d3; border-bottom-width: 1.5px; background: #fcfaf6;
    font: 500 1rem/1.3 var(--sans); color: #2c1218; box-shadow: inset 0 1px 2px rgba(94, 20, 40, .04);
    transition: border-color .2s, background .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.w-step .w-fields textarea { height: auto; min-height: 140px; padding: 15px 18px; line-height: 1.6; resize: vertical; }
.w-step .w-fields select { padding-right: 46px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a7330' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; }
.w-step .w-fields input::placeholder, .w-step .w-fields textarea::placeholder { color: #b5a39c; font-weight: 400; }
.w-step .w-fields input:hover, .w-step .w-fields select:hover, .w-step .w-fields textarea:hover { border-color: #dcc9a6; background-color: #fff; }
.w-step .w-fields input:focus, .w-step .w-fields select:focus, .w-step .w-fields textarea:focus { outline: none; background-color: #fff; border-color: #8e2848; box-shadow: 0 0 0 4px rgba(142, 40, 72, .12), 0 8px 20px -10px rgba(94, 20, 40, .35); }
.w-step .w-fields input[type=number]::-webkit-inner-spin-button, .w-step .w-fields input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.w-step .w-fields input[type=number] { -moz-appearance: textfield; }
.w-step .w-fields input[type=date]::-webkit-calendar-picker-indicator, .w-step .w-fields input[type=time]::-webkit-calendar-picker-indicator { opacity: .55; cursor: pointer; }
.w-step .w-fields .field.bad input, .w-step .w-fields .field.bad select, .w-step .w-fields .field.bad textarea, .w-step .w-fields [aria-invalid=true] { border-color: #d0574f; box-shadow: 0 0 0 4px rgba(208, 87, 79, .12); }
/* chips: segmented pills with a check */
.w-step .w-chips { gap: 8px; }
.w-step .w-chips span { height: 46px; padding: 0 18px 0 14px; gap: 9px; border-radius: 14px; border: 1.5px solid #ece2d3; background: #fcfaf6; font: 500 .95rem/1 var(--sans); color: #4a2a33; box-shadow: none; transform: none; }
.w-step .w-chips span::before { content: ''; width: 18px; height: 18px; border-radius: 50%; transform: none; border: 1.5px solid #d7c6a8; background: #fff; transition: all .2s; }
.w-step .w-chips label:hover span { border-color: #dcc9a6; background: #fff; transform: none; box-shadow: none; }
.w-step .w-chips input:checked + span { color: #5e1428; font-weight: 600; border-color: #8e2848; background: #fff6f3; box-shadow: 0 0 0 3px rgba(142, 40, 72, .1); }
.w-step .w-chips input:checked + span::before { border-color: #8e2848; background: #8e2848 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.w-step .w-chips input:focus-visible + span { outline: none; box-shadow: 0 0 0 4px rgba(142, 40, 72, .18); }
/* photo privacy options use the same language */
.w-step .a-opt { border-radius: 16px !important; border: 1.5px solid #ece2d3 !important; background: #fcfaf6 !important; transition: border-color .2s, box-shadow .2s, background .2s; }
.w-step .a-opt:has(input:checked) { border-color: #8e2848 !important; background: #fff6f3 !important; box-shadow: 0 0 0 3px rgba(142, 40, 72, .1); }
.w-step .a-opt input[type=radio] { accent-color: #8e2848; }
/* footer buttons */
.w-step .w-foot .btn { height: 52px; padding: 0 26px; border-radius: 14px; font: 600 .98rem/1 var(--sans); letter-spacing: .01em; text-transform: none; transition: transform .2s, box-shadow .2s, background .2s; }
.w-step .w-foot .btn.w-next { color: #fff !important; border: 0; background: linear-gradient(135deg, #8e2848 0%, #5e1428 100%); box-shadow: 0 1px 0 rgba(255, 255, 255, .15) inset, 0 12px 24px -10px rgba(94, 20, 40, .6); }
.w-step .w-foot .btn.w-next:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255, 255, 255, .15) inset, 0 18px 30px -12px rgba(94, 20, 40, .7); }
.w-step .w-foot .btn.w-next svg { transition: transform .2s; }
.w-step .w-foot .btn.w-next:hover svg { transform: translateX(3px); }
.w-step .w-foot .btn.w-back { color: #5e1428 !important; background: #fff; border: 1.5px solid #ece2d3; box-shadow: none; }
.w-step .w-foot .btn.w-back:hover { border-color: #dcc9a6; background: #fcfaf6; }
.w-step .w-foot .w-hint { font-size: .82rem; color: #9a8a84; }
/* small action buttons (rotate, remove, make main) */
.w-step .mini { height: 32px; padding: 0 12px; border-radius: 10px; border: 1.5px solid #ece2d3; background: #fff; font: 600 .78rem/1 var(--sans); color: #5e1428; }
.w-step .mini:hover { border-color: #dcc9a6; background: #fcfaf6; }
.w-step .mini.del { color: #b23a32; }
@media (max-width: 960px) { .w-step .w-foot .btn { height: 48px; padding: 0 18px; } }
/* === end editor inputs === */
/* Profile: even spacing between the intro cards and the about block; calmer about text */
.p-main .callout, .p-main .p-voice, .p-main .p-about2 { margin-bottom: 22px; }
.p-about2 blockquote { font-size: 1.02rem; line-height: 1.75; }
html[lang="hi"] .p-about2 blockquote { font-size: 1rem; }
/* Live preview card opens the full profile */
a.w-preview.is-link { display: block; color: inherit; text-decoration: none; cursor: pointer; transition: transform .3s, box-shadow .3s; }
a.w-preview.is-link:hover { transform: translateY(-4px) rotate(0deg); box-shadow: 0 30px 60px -20px rgba(94, 20, 40, .45); }
.w-preview-go { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-top: 1px solid rgba(200, 164, 92, .3); font: 600 .88rem/1 var(--sans); color: #5e1428; background: #fffaf1; }
.w-preview-go svg { width: 15px; height: 15px; transition: transform .2s; }
a.w-preview.is-link:hover .w-preview-go { background: #fbf0d9; }
a.w-preview.is-link:hover .w-preview-go svg { transform: translateX(3px); }

/* === Modern card + form language for every .w-card page (voice, video, docs, account, blog, story…) === */
.w-card { border-radius: 24px; border: 0; background: #fff; box-shadow: 0 0 0 1px rgba(94, 20, 40, .07), 0 2px 4px rgba(94, 20, 40, .04), 0 24px 60px rgba(94, 20, 40, .1); overflow: hidden; }
.w-card::before { inset: 0 0 auto 0; height: 4px; border: 0; background: linear-gradient(90deg, #5e1428, #c8a45c 50%, #5e1428); }
.w-card > .w-corner { display: none; }
.card.panel { border-radius: 20px; border: 0; background: #fff; box-shadow: 0 0 0 1px rgba(94, 20, 40, .07), 0 14px 34px rgba(94, 20, 40, .07); }
/* labels */
.w-card .field > label { display: block; margin-bottom: 9px; font: 600 .82rem/1.2 var(--sans); letter-spacing: .01em; text-transform: none; color: #4a2a33; }
html[lang="hi"] .w-card .field > label { font-size: .92rem; }
.w-card .req { color: #c8443c; }
/* text boxes, dropdowns, text areas */
.w-card input[type=text], .w-card input[type=tel], .w-card input[type=email], .w-card input[type=password], .w-card input[type=number], .w-card input[type=date], .w-card input[type=time], .w-card input[type=search], .w-card select, .w-card textarea {
    width: 100%; min-height: 54px; padding: 0 18px; border-radius: 14px; border: 1.5px solid #ece2d3; background-color: #fcfaf6;
    font: 500 1rem/1.3 var(--sans); color: #2c1218; box-shadow: inset 0 1px 2px rgba(94, 20, 40, .04); transition: border-color .2s, background-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.w-card textarea { min-height: 130px; padding: 15px 18px; line-height: 1.6; resize: vertical; }
.w-card select { padding-right: 46px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a7330' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; }
.w-card input::placeholder, .w-card textarea::placeholder { color: #b5a39c; font-weight: 400; }
.w-card input:not([type=radio]):not([type=checkbox]):not([type=file]):hover, .w-card select:hover, .w-card textarea:hover { border-color: #dcc9a6; background-color: #fff; }
.w-card input:not([type=radio]):not([type=checkbox]):not([type=file]):focus, .w-card select:focus, .w-card textarea:focus { outline: none; background-color: #fff; border-color: #8e2848; box-shadow: 0 0 0 4px rgba(142, 40, 72, .12), 0 8px 20px -10px rgba(94, 20, 40, .35); }
.w-card input[type=number]::-webkit-inner-spin-button, .w-card input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
/* file pickers */
.w-card input[type=file] { width: 100%; padding: 12px; border-radius: 14px; border: 1.5px dashed #dcc9a6; background: #fcfaf6; font: 500 .9rem var(--sans); color: #6e5a55; cursor: pointer; }
.w-card input[type=file]::file-selector-button { margin-right: 12px; padding: 9px 16px; border: 0; border-radius: 10px; font: 600 .86rem var(--sans); color: #fff; background: linear-gradient(135deg, #8e2848, #5e1428); cursor: pointer; }
/* chips and option boxes */
.w-card .w-chips span { height: 46px; padding: 0 18px 0 14px; gap: 9px; border-radius: 14px; border: 1.5px solid #ece2d3; background: #fcfaf6; font: 500 .95rem/1 var(--sans); color: #4a2a33; box-shadow: none; transform: none; }
.w-card .w-chips span::before { content: ''; width: 18px; height: 18px; border-radius: 50%; transform: none; border: 1.5px solid #d7c6a8; background: #fff; }
.w-card .w-chips label:hover span { border-color: #dcc9a6; background: #fff; transform: none; box-shadow: none; }
.w-card .w-chips input:checked + span { color: #5e1428; font-weight: 600; border-color: #8e2848; background: #fff6f3; box-shadow: 0 0 0 3px rgba(142, 40, 72, .1); }
.w-card .w-chips input:checked + span::before { border-color: #8e2848; background: #8e2848 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.w-card .a-opt { border-radius: 16px !important; border: 1.5px solid #ece2d3 !important; background: #fcfaf6 !important; }
.w-card .a-opt:has(input:checked) { border-color: #8e2848 !important; background: #fff6f3 !important; box-shadow: 0 0 0 3px rgba(142, 40, 72, .1); }
.w-card input[type=radio], .w-card input[type=checkbox] { accent-color: #8e2848; }
/* buttons */
.w-card .btn, .card.panel .btn { border-radius: 14px; font-family: var(--sans); font-weight: 600; letter-spacing: .01em; text-transform: none; transition: transform .2s, box-shadow .2s, background .2s; }
.w-card .btn-gold, .w-card .btn:not(.btn-ghost):not(.btn-gold) { color: #fff !important; border: 0; background: linear-gradient(135deg, #8e2848 0%, #5e1428 100%); box-shadow: 0 1px 0 rgba(255, 255, 255, .15) inset, 0 12px 24px -10px rgba(94, 20, 40, .6); }
.w-card .btn-gold:hover, .w-card .btn:not(.btn-ghost):not(.btn-gold):hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255, 255, 255, .15) inset, 0 18px 30px -12px rgba(94, 20, 40, .7); }
.w-card .btn-gold:disabled { opacity: .45; transform: none; box-shadow: none; }
.w-card .btn-ghost, .card.panel .btn-ghost { color: #5e1428 !important; background: #fff; border: 1.5px solid #ece2d3; box-shadow: none; }
.w-card .btn-ghost:hover, .card.panel .btn-ghost:hover { border-color: #dcc9a6; background: #fcfaf6; }
.w-card .btn-lg { height: 54px; padding: 0 28px; font-size: 1rem; }
.w-card .mini { height: 32px; padding: 0 12px; border-radius: 10px; border: 1.5px solid #ece2d3; background: #fff; font: 600 .78rem/1 var(--sans); color: #5e1428; }
.w-card .mini:hover { border-color: #dcc9a6; background: #fcfaf6; }
.w-card .mini.del { color: #b23a32; }
@media (max-width: 960px) { .w-card { border-radius: 18px; } }
/* === end modern card + form language === */
/* blog list cards: same clean card */
.bl-card { border-radius: 22px; border: 0; background: #fff; box-shadow: 0 0 0 1px rgba(94, 20, 40, .07), 0 18px 44px rgba(94, 20, 40, .08); overflow: hidden; }
.bl-card::before { inset: 0 0 auto 0; height: 4px; border: 0; background: linear-gradient(90deg, #5e1428, #c8a45c 50%, #5e1428); }
.bl-card:hover { box-shadow: 0 0 0 1px rgba(200, 164, 92, .5), 0 26px 54px rgba(94, 20, 40, .14); }
.bl-card.lead { border: 0; box-shadow: 0 0 0 1px rgba(226, 201, 140, .35), 0 24px 54px rgba(40, 6, 20, .3); }
.bl-card.lead::before { background: linear-gradient(90deg, #c8a45c, #f3dfa6 50%, #c8a45c); }
/* contact: dark side panel with the same rounded, single-line finish */
.c-side { border-radius: 24px; border: 0; box-shadow: 0 0 0 1px rgba(226, 201, 140, .3), 0 24px 60px rgba(40, 6, 20, .28); }
.c-side::before { inset: 0 0 auto 0; height: 4px; border: 0; background: linear-gradient(90deg, #c8a45c, #f3dfa6 50%, #c8a45c); }
.c-side > .w-corner { display: none; }

/* === Rishta diary, premium === */
/* pipeline: one connected strip, stage dots coloured, empty stages quiet */
.dy-pipe { position: relative; gap: 0; padding: 18px 10px; border: 0; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px rgba(94, 20, 40, .07), 0 18px 44px rgba(94, 20, 40, .1); overflow: hidden; }
.dy-pipe::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, #5e1428, #c8a45c 50%, #5e1428); }
.dy-pipe-step { border-right: 0; opacity: 1; padding: 6px 8px; }
.dy-pipe-step + .dy-pipe-step::before { content: ''; position: absolute; left: -12px; top: 22px; width: 24px; height: 2px; background: #eadfcd; }
.dy-pipe-step b { display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto; border-radius: 50%; font: 400 1.25rem/1 'Marcellus', serif; color: #b5a39c; background: #faf6ef; box-shadow: inset 0 0 0 1.5px #eadfcd; }
.dy-pipe-step.has b { color: #fff; background: linear-gradient(135deg, #8e2848, #5e1428); box-shadow: 0 8px 16px -6px rgba(94, 20, 40, .5); }
.dy-pipe-step.yes.has b { color: #fff; background: linear-gradient(135deg, #3f9a6a, #2a7550); box-shadow: 0 8px 16px -6px rgba(42, 117, 80, .5); }
.dy-pipe-step.no.has b { color: #fff; background: linear-gradient(135deg, #c95a52, #9e3730); }
.dy-pipe-step.has { background: none; }
.dy-pipe-step span { margin-top: 9px; font: 600 .7rem/1.25 var(--sans); letter-spacing: .02em; text-transform: none; color: #8b7670; }
.dy-pipe-step.has span { color: #4a2a33; }
/* add bar */
.dy-add { padding: 16px 18px 16px 20px; border: 0; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px rgba(94, 20, 40, .07), 0 12px 30px rgba(94, 20, 40, .07); }
.dy-add .h-ico { width: 46px; height: 46px; border-radius: 14px; color: #fff; background: linear-gradient(135deg, #8e2848, #5e1428); box-shadow: none; }
.dy-add .h-ico svg { width: 20px; height: 20px; }
.dy-add select { height: 50px; border-radius: 14px; border: 1.5px solid #ece2d3; background-color: #fcfaf6; padding: 0 44px 0 16px; font: 500 .95rem var(--sans); -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a7330' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.dy-add select:focus { outline: none; border-color: #8e2848; box-shadow: 0 0 0 4px rgba(142, 40, 72, .12); }
.dy-add .btn, .dy-acts .btn { height: 50px; padding: 0 26px; border-radius: 14px; border: 0; color: #fff !important; font: 600 .95rem var(--sans); text-transform: none; letter-spacing: .01em; background: linear-gradient(135deg, #8e2848, #5e1428); box-shadow: 0 12px 24px -10px rgba(94, 20, 40, .6); }
.dy-acts .btn { height: 44px; padding: 0 24px; }
/* entry cards */
.dy-card { gap: 20px; padding: 26px 28px 22px; border: 0; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px rgba(94, 20, 40, .07), 0 18px 44px rgba(94, 20, 40, .08); overflow: hidden; }
.dy-card::before { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 4px; border-radius: 0; background: linear-gradient(90deg, #8e2848, #c8a45c); }
.dy-card.yes::before { background: linear-gradient(90deg, #2a7550, #7fc69c); } .dy-card.no::before { background: linear-gradient(90deg, #9e3730, #e09a92); }
.dy-card.due { box-shadow: 0 0 0 2px #e2c98c, 0 18px 44px rgba(156, 118, 48, .2); }
.dy-img { width: 60px; height: 60px; border: 3px solid #fff; box-shadow: 0 0 0 1.5px #c8a45c, 0 8px 18px rgba(94, 20, 40, .18); }
.dy-who small { display: inline-block; padding: 3px 9px; border-radius: 999px; font: 700 .64rem/1.2 var(--sans); letter-spacing: .08em; color: #7a5a1e; background: #fbf3e2; }
.dy-who h3 { margin: 5px 0 2px; font: 400 1.4rem/1.2 'Marcellus', serif; }
.dy-who h3 a:hover { color: #8e2848; }
.dy-due { padding: 8px 14px; border-radius: 12px; font: 700 .76rem/1 var(--sans); letter-spacing: .02em; text-transform: none; color: #7a4a10; background: linear-gradient(135deg, #fff1cf, #f5dc9f); box-shadow: 0 0 0 1px rgba(200, 164, 92, .6); }
/* progress: track fills up to the current stage */
.dy-steps { padding: 6px 0 2px; }
.dy-steps::before { left: 10%; right: 10%; top: 23px; height: 4px; border-radius: 4px; background: #f1e8da; }
.dy-steps::after { content: ''; position: absolute; left: 10%; top: 23px; height: 4px; width: calc(80% * var(--p, 0%) / 100%); border-radius: 4px; background: linear-gradient(90deg, #c8a45c, #8e2848); }
.dy-steps::after { width: calc(var(--p, 0%) * .8); }
.dy-step i { width: 38px; height: 38px; border: 2px solid #eadfcd; background: #fff; font: 700 .85rem/1 var(--sans); color: #b5a39c; box-shadow: 0 0 0 4px #fff; }
.dy-step.past i { border-color: #c8a45c; color: #7a5a1e; background: #fbf3e2; }
.dy-step input:checked ~ i { border: 0; color: #fff; background: linear-gradient(135deg, #8e2848, #5e1428); box-shadow: 0 0 0 4px #fff, 0 0 0 6px rgba(142, 40, 72, .22), 0 8px 18px -6px rgba(94, 20, 40, .5); }
.dy-step span { font: 500 .78rem/1.3 var(--sans); color: #8b7670; }
/* outcome toggles */
.dy-end span { height: 42px; padding: 0 16px; border-radius: 12px; border: 1.5px solid #ece2d3; background: #fcfaf6; font: 600 .86rem/1 var(--sans); color: #4a2a33; }
.dy-end span svg { width: 15px; height: 15px; }
.dy-end.yes input:checked + span { color: #fff; border-color: transparent; background: linear-gradient(135deg, #3f9a6a, #2a7550); box-shadow: 0 8px 18px -8px rgba(42, 117, 80, .6); }
.dy-end.no input:checked + span { color: #fff; border-color: transparent; background: linear-gradient(135deg, #c95a52, #9e3730); }
/* note + reminder */
.dy-fields label { display: block; margin-bottom: 8px; font: 600 .8rem/1.2 var(--sans); letter-spacing: .01em; text-transform: none; color: #4a2a33; }
.dy-fields textarea, .dy-fields input[type=date] { width: 100%; border-radius: 14px; border: 1.5px solid #ece2d3; background: #fcfaf6; font: 500 .95rem/1.55 var(--sans); color: #2c1218; transition: border-color .2s, box-shadow .2s, background .2s; }
.dy-fields textarea { min-height: 92px; padding: 13px 16px; resize: vertical; }
.dy-fields input[type=date] { height: 50px; padding: 0 14px; }
.dy-fields textarea:focus, .dy-fields input[type=date]:focus { outline: none; background: #fff; border-color: #8e2848; box-shadow: 0 0 0 4px rgba(142, 40, 72, .12); }
.dy-date small { display: block; margin-top: 8px; font-size: .76rem; color: #9a8a84; }
.dy-acts { padding-top: 16px; border-top: 1px solid rgba(94, 20, 40, .07); }
.dy-acts .mini.del { height: 40px; padding: 0 14px; border-radius: 12px; border: 1.5px solid #f0dcd8; background: #fff; color: #b23a32; font: 600 .82rem var(--sans); }
/* empty state */
.dy-page .card.empty { border: 0; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px rgba(94, 20, 40, .07), 0 18px 44px rgba(94, 20, 40, .08); }
@media (max-width: 760px) {
    .dy-pipe { grid-template-columns: repeat(4, 1fr); row-gap: 14px; }
    .dy-pipe-step + .dy-pipe-step::before { display: none; }
    .dy-card { padding: 22px 18px 18px; }
    .dy-steps span { font-size: .66rem; }
    .dy-step i { width: 32px; height: 32px; }
    .dy-steps::before, .dy-steps::after { top: 20px; }
}
/* === end rishta diary === */

/* Top accent band follows the card's rounded corners (a masked ring, open everywhere but the top) */
.w-card::before, .dy-pipe::before, .dy-card::before, .bl-card::before, .c-side::before {
    inset: 0 !important; height: auto !important; width: auto !important; border: 0 !important; border-radius: inherit !important;
    padding: 3px 0 0 !important; box-sizing: border-box;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    pointer-events: none; z-index: 2;
}

/* === Admin dashboard === */
.db-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.db-live { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 12px; font-size: .88rem; color: #4a2a33; background: #fff; box-shadow: 0 0 0 1px rgba(94, 20, 40, .08); }
.db-live i { width: 9px; height: 9px; border-radius: 50%; background: #2fb26b; box-shadow: 0 0 0 4px rgba(47, 178, 107, .18); animation: dbPulse 1.6s infinite; }
@keyframes dbPulse { 50% { box-shadow: 0 0 0 7px rgba(47, 178, 107, 0); } }
.db-live b { color: #2c1218; }
.db-range { display: inline-flex; padding: 4px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px rgba(94, 20, 40, .08); }
.db-range a { padding: 8px 14px; border-radius: 9px; font: 600 .84rem/1 var(--sans); color: #6e5a55; text-decoration: none; }
.db-range a.on { color: #fff; background: linear-gradient(135deg, #8e2848, #5e1428); }
.db-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.db-kpi { position: relative; display: grid; gap: 4px; padding: 18px 20px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px rgba(94, 20, 40, .07), 0 12px 30px rgba(94, 20, 40, .06); }
.db-ic { position: absolute; right: 16px; top: 16px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: #8e2848; background: #fbf0f2; }
.db-ic svg { width: 18px; height: 18px; }
.db-kpi small { font: 600 .8rem/1.2 var(--sans); color: #6e5a55; }
.db-kpi b { font: 400 2.1rem/1.1 'Marcellus', serif; color: #2c1218; font-variant-numeric: lining-nums; }
.db-kpi em { font: 700 .76rem/1 var(--sans); font-style: normal; }
.db-kpi em span { font-weight: 500; color: #9a8a84; }
.db-kpi em.up { color: #2a8a55; } .db-kpi em.down { color: #c0453c; } .db-kpi em.flat { color: #9a8a84; }
.db-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.db-card { padding: 20px 22px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px rgba(94, 20, 40, .07), 0 12px 30px rgba(94, 20, 40, .06); min-width: 0; }
.db-wide { grid-column: 1 / -1; }
.db-card header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.db-card h3 { margin: 0; font: 400 1.15rem/1.2 'Marcellus', serif; color: #2c1218; }
.db-card header a { font: 600 .82rem var(--sans); color: #8e2848; text-decoration: none; }
.db-legend { display: flex; gap: 14px; font-size: .8rem; color: #6e5a55; }
.db-legend span::before { content: ''; display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 3px; background: #8e2848; vertical-align: -1px; }
.db-legend .b::before { background: #c8a45c; }
.db-legend.sm { font-size: .72rem; gap: 10px; }
.db-chart { width: 100%; height: 250px; display: block; overflow: visible; }
.db-gl { stroke: #f1e8da; stroke-width: 1; vector-effect: non-scaling-stroke; }
.db-la, .db-lb { fill: none; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.db-la { stroke: #8e2848; } .db-lb { stroke: #c8a45c; }
.db-chart text { font: 500 11px var(--sans); fill: #9a8a84; }
.db-note { margin: 10px 0 0; font-size: .82rem; color: #6e5a55; }
.db-note.warn { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; color: #7a4a10; background: #fff4dc; }
.db-note svg { width: 14px; height: 14px; }
.db-donut { position: relative; width: 160px; margin: 0 auto 14px; }
.db-donut svg { width: 100%; transform: rotate(-90deg); }
.db-donut circle { fill: none; stroke-width: 16; }
.dn-bg { stroke: #f4ece0; } .dn-m { stroke: #8e2848; } .dn-f { stroke: #c8a45c; }
.db-donut div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.db-donut b { font: 400 2rem/1 'Marcellus', serif; color: #2c1218; }
.db-donut small { font-size: .74rem; color: #9a8a84; }
.db-split { display: grid; gap: 8px; }
.db-split span { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: #4a2a33; }
.db-split i { width: 10px; height: 10px; border-radius: 3px; background: #8e2848; } .db-split .f i { background: #c8a45c; }
.db-split b { margin-left: auto; color: #2c1218; } .db-split small { width: 38px; text-align: right; color: #9a8a84; }
.db-ages { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; align-items: end; height: 190px; }
.db-ages > div { display: grid; grid-template-rows: 1fr auto; height: 100%; gap: 8px; text-align: center; }
.db-ages .bars { display: flex; align-items: flex-end; justify-content: center; gap: 4px; }
.db-ages .bars i { width: 14px; min-height: 3px; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #a83a5e, #5e1428); }
.db-ages .bars i.b { background: linear-gradient(180deg, #e2c98c, #b08636); }
.db-ages small { font-size: .74rem; color: #6e5a55; }
.db-row { display: grid; grid-template-columns: 96px 1fr 30px; align-items: center; gap: 10px; margin-bottom: 10px; font-size: .88rem; color: #4a2a33; }
.db-row .meter { height: 8px; border-radius: 6px; background: #f4ece0; overflow: hidden; }
.db-row .meter i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #c8a45c, #8e2848); }
.db-row b { text-align: right; color: #2c1218; }
.db-stat { display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin-bottom: 6px; border-radius: 12px; font-size: .9rem; color: #4a2a33; text-decoration: none; background: #fcfaf6; }
.db-stat:hover { background: #fbf3e2; }
.db-stat i { width: 10px; height: 10px; border-radius: 50%; background: #9a8a84; }
.db-stat.approved i { background: #2fb26b; } .db-stat.pending i { background: #e0a43a; } .db-stat.rejected i { background: #c0453c; }
.db-stat b { margin-left: auto; color: #2c1218; }
.db-recent { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #f4ece0; }
.db-recent:last-child { border-bottom: 0; }
.db-recent .av { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; font: 400 .95rem 'Marcellus', serif; color: #f3dfa6; background: linear-gradient(135deg, #8e2848, #5e1428); }
.db-recent div { min-width: 0; flex: 1; }
.db-recent b { display: block; font-size: .88rem; color: #2c1218; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.db-recent small { font-size: .74rem; color: #9a8a84; }
.db-recent .status { flex: none; font-size: .68rem; }
@media (max-width: 1100px) { .db-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .db-kpis { grid-template-columns: 1fr 1fr; gap: 10px; } .db-kpi { padding: 14px; } .db-kpi b { font-size: 1.6rem; } .db-ic { width: 32px; height: 32px; right: 12px; top: 12px; } .db-grid { grid-template-columns: 1fr; } .db-chart { height: 200px; } }
/* === end admin dashboard === */
.db-chart { height: 230px; }
.db-axis { position: relative; height: 18px; margin-top: 6px; }
.db-axis span { position: absolute; top: 0; transform: translateX(-50%); font: 500 .72rem/1 var(--sans); color: #9a8a84; white-space: nowrap; }
.db-axis span:first-child { transform: none; } .db-axis span:last-child { transform: translateX(-100%); }
.db-card header { flex-wrap: wrap; }
@media (max-width: 700px) { .db-chart { height: 180px; } .db-axis span:nth-child(even):not(:last-child) { display: none; } }

/* === Birth chart (North Indian) === */
.kc { margin: 0; }
.kc-svg { display: block; width: 100%; max-width: 360px; margin: 0 auto; }
.kc-box { fill: #fffaf1; stroke: #c8a45c; stroke-width: 2.5; }
.kc-ln { fill: none; stroke: #c8a45c; stroke-width: 1.6; }
.kc-num { font: 600 13px var(--sans); fill: #b08636; text-anchor: middle; dominant-baseline: middle; }
.kc-g { font: 700 15px var(--sans); fill: #5e1428; text-anchor: middle; dominant-baseline: middle; }
.kc-g.asc { fill: #2a7550; }
html[lang="hi"] .kc-g { font-family: 'Mukta', sans-serif; font-size: 16px; }
.kc figcaption { margin-top: 10px; text-align: center; font-size: .82rem; color: #8b7670; }
.ps-chart { display: grid; grid-template-columns: 1fr minmax(240px, 340px); gap: 24px; align-items: center; margin-top: 22px; padding: 20px; border-radius: 18px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(226, 201, 140, .3); }
.ps-chart-h b { display: block; font: 400 1.3rem/1.2 'Marcellus', serif; color: inherit; }
.ps-chart-h small { display: block; margin-top: 6px; font-size: .86rem; line-height: 1.5; opacity: .8; }
.ps-chart .kc figcaption { color: inherit; opacity: .75; }
@media (max-width: 700px) { .ps-chart { grid-template-columns: 1fr; } }
.k-report-top { display: flex; justify-content: center; margin: 18px 0 0; }
.k-report-top .btn svg { width: 16px; height: 16px; }
/* "Why this match" under suggested cards */
.sg-why { display: grid !important; gap: 5px; margin: 10px 0 0 !important; padding: 10px 12px; min-height: 0 !important; border-radius: 12px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(226, 201, 140, .28); font-size: .8rem; color: #f0dcd2; }
.sg-why b { display: flex; align-items: center; gap: 6px; font: 700 .64rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #e2c98c; margin-bottom: 2px; }
.sg-why b svg { width: 12px; height: 12px; }
.sg-why span { display: flex; align-items: flex-start; gap: 6px; line-height: 1.35; }
.sg-why span svg { flex: none; width: 13px; height: 13px; margin-top: 2px; color: #7fd4a0; }

/* === Meetings in chat === */
.mt-wrap { display: grid; gap: 8px; padding: 10px 16px; background: #fffaf1; border-bottom: 1px solid rgba(200, 164, 92, .35); }
.mt-card { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 10px 12px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(94, 20, 40, .08), 0 6px 16px rgba(94, 20, 40, .06); }
.mt-card.accepted { box-shadow: 0 0 0 1.5px rgba(47, 138, 94, .45), 0 6px 16px rgba(47, 138, 94, .1); }
.mt-date { width: 50px; height: 54px; display: grid; place-content: center; text-align: center; border-radius: 12px; color: #fff; background: linear-gradient(160deg, #8e2848, #5e1428); }
.mt-card.accepted .mt-date { background: linear-gradient(160deg, #3f9a6a, #2a7550); }
.mt-date b { font: 400 1.35rem/1 'Marcellus', serif; } .mt-date small { font: 700 .62rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.mt-info { min-width: 0; display: grid; gap: 2px; }
.mt-tag { font: 700 .62rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #9a7330; }
.mt-card.accepted .mt-tag { color: #2a7550; }
.mt-info b { font-size: .95rem; color: #2c1218; }
.mt-info small { display: flex; align-items: center; gap: 4px; font-size: .8rem; color: #6e5a55; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mt-info small svg { width: 12px; height: 12px; flex: none; }
.mt-acts { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; margin: 0; }
.mt-acts button, .mt-acts a { display: inline-flex; align-items: center; gap: 5px; height: 34px; padding: 0 12px; border-radius: 10px; border: 1.5px solid #ece2d3; background: #fff; font: 600 .8rem/1 var(--sans); color: #5e1428; cursor: pointer; text-decoration: none; }
.mt-acts svg { width: 14px; height: 14px; }
.mt-acts .mt-yes { color: #fff; border: 0; background: linear-gradient(135deg, #3f9a6a, #2a7550); }
.mt-acts .mt-no { color: #9e3730; }
.mt-new summary { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 10px; font: 600 .84rem/1 var(--sans); color: #5e1428; cursor: pointer; list-style: none; background: #fff; box-shadow: inset 0 0 0 1.5px #ece2d3; }
.mt-new summary::-webkit-details-marker { display: none; }
.mt-new summary svg { width: 15px; height: 15px; color: #9a7330; }
.mt-new[open] summary { background: #fbf3e2; }
.mt-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; padding: 14px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(94, 20, 40, .08); }
.mt-form label { display: grid; gap: 5px; margin: 0; }
.mt-form label.wide { grid-column: 1 / -1; }
.mt-form label span { font: 600 .78rem var(--sans); color: #4a2a33; }
.mt-form input { height: 44px; padding: 0 12px; border-radius: 12px; border: 1.5px solid #ece2d3; background: #fcfaf6; font: 500 .92rem var(--sans); }
.mt-form input:focus { outline: none; border-color: #8e2848; box-shadow: 0 0 0 4px rgba(142, 40, 72, .12); background: #fff; }
.mt-tip { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; margin: 0; font-size: .78rem; color: #6e5a55; }
.mt-tip svg { width: 13px; height: 13px; color: #9a7330; flex: none; }
.mt-form .btn { grid-column: 1 / -1; justify-self: end; height: 44px; border-radius: 12px; }
@media (max-width: 700px) { .mt-card { grid-template-columns: auto 1fr; } .mt-acts { grid-column: 1 / -1; justify-content: flex-start; } .mt-form { grid-template-columns: 1fr 1fr; } }
@media (max-width: 960px) { .m-shell { grid-template-columns: 1fr !important; } .mt-wrap { padding: 10px 12px; } }

/* === Festival greeting cards === */
.fc-pick { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.fc-pick a { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px 0 8px; border-radius: 12px; font: 600 .88rem/1 var(--sans); color: #4a2a33; text-decoration: none; background: #fff; box-shadow: 0 0 0 1.5px #ece2d3; transition: box-shadow .2s, transform .2s; }
.fc-pick a i { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--a), var(--b)); }
.fc-pick a:hover { transform: translateY(-1px); box-shadow: 0 0 0 1.5px #dcc9a6; }
.fc-pick a.on { color: #5e1428; box-shadow: 0 0 0 2px #8e2848, 0 8px 18px -8px rgba(94, 20, 40, .5); }
.fc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 26px; align-items: start; }
.fc-stage canvas { display: block; width: 100%; max-width: 560px; height: auto; margin: 0 auto; border-radius: 18px; box-shadow: 0 30px 60px -24px rgba(40, 6, 20, .55); }
.fc-side { padding: 28px 26px; }
.fc-side h2 { margin: 6px 0 18px; font: 400 1.6rem/1.2 'Marcellus', serif; color: #2c1218; }
.fc-acts { display: grid; gap: 10px; margin-top: 18px; }
.fc-acts .btn { height: 50px; justify-content: center; }
.fc-note { display: flex; gap: 8px; margin: 16px 0 0; font-size: .84rem; color: #6e5a55; }
.fc-note svg { flex: none; width: 15px; height: 15px; margin-top: 2px; color: #9a7330; }
.fc-cta { margin: 14px 0 0; font-weight: 600; } .fc-cta a { color: #8e2848; }
@media (max-width: 900px) { .fc-grid { grid-template-columns: 1fr; } .fc-pick { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 18px; padding: 2px 16px 6px; scrollbar-width: none; } .fc-pick a { flex: none; } }

/* === Invite family and friends === */
.a-invite .muted { margin: 0 0 16px; font-size: .92rem; }
.inv-meter { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 12px; row-gap: 8px; padding: 14px 16px; margin-bottom: 14px; border-radius: 14px; background: #fbf3e2; }
.inv-meter > b { grid-row: span 2; font: 400 2.4rem/1 'Marcellus', serif; color: #5e1428; }
.inv-meter > span:not(.inv-badge) { font-size: .86rem; color: #6e5a55; }
.inv-dots { display: flex; gap: 6px; }
.inv-dots i { width: 28px; height: 6px; border-radius: 6px; background: #eadfcd; }
.inv-dots i.on { background: linear-gradient(90deg, #c8a45c, #8e2848); }
.inv-badge, .ph-ok.sevak { display: inline-flex; align-items: center; gap: 5px; }
.inv-badge { grid-column: 1 / -1; justify-self: start; padding: 5px 11px; border-radius: 999px; font: 700 .76rem/1 var(--sans); color: #fff; background: linear-gradient(135deg, #c8a45c, #8e2848); }
.inv-badge svg { width: 13px; height: 13px; }
.inv-link { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-bottom: 10px; }
.inv-link input { min-height: 46px !important; font-size: .84rem !important; color: #6e5a55 !important; }
.inv-link .btn { height: 46px; }
.inv-wa { width: 100%; height: 50px; justify-content: center; }
/* Upload kundli: a full-width action tile */
a.ps-kfile-add { display: flex; align-items: center; gap: 14px; margin-top: 20px; padding: 14px 16px; border-radius: 16px; text-decoration: none; color: #fff; background: linear-gradient(135deg, rgba(255, 236, 190, .14), rgba(255, 255, 255, .04)); box-shadow: inset 0 0 0 1px rgba(226, 201, 140, .45); transition: transform .25s, box-shadow .25s, background .25s; }
a.ps-kfile-add:hover { transform: translateY(-2px); background: linear-gradient(135deg, rgba(255, 236, 190, .22), rgba(255, 255, 255, .06)); box-shadow: inset 0 0 0 1px rgba(236, 217, 168, .8), 0 14px 30px rgba(0, 0, 0, .3); }
a.ps-kfile-add .ki { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; color: #4a0f22; background: radial-gradient(circle at 32% 28%, #fff1c6, #d6ad5e 55%, #9c6e26); box-shadow: 0 6px 16px rgba(0, 0, 0, .3); }
a.ps-kfile-add .ki svg { width: 21px; height: 21px; }
a.ps-kfile-add .kt { flex: 1; min-width: 0; display: grid; gap: 3px; }
a.ps-kfile-add .kt b { font: 600 1rem/1.2 var(--sans); color: #fff; }
a.ps-kfile-add .kt small { font-size: .82rem; color: #e6d2c6; }
a.ps-kfile-add .ka { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: #4a0f22; background: var(--gold-grad); transition: transform .25s; }
a.ps-kfile-add .ka svg { width: 16px; height: 16px; }
a.ps-kfile-add:hover .ka { transform: translateX(3px); }
/* Biodata hero photo: opens the Photos step */
.w-av { position: relative; display: block; flex: none; border-radius: 50%; text-decoration: none; transition: transform .25s; }
.w-av:hover { transform: scale(1.03); }
.w-av-cam { position: absolute; right: 2px; bottom: 6px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: #4a0f22; background: var(--gold-grad); box-shadow: 0 0 0 3px #2a0a18, 0 6px 14px rgba(0, 0, 0, .4); }
.w-av-cam svg { width: 17px; height: 17px; }
.err-go { display: inline-block; margin-left: 4px; font-weight: 700; color: #8e2848; text-decoration: underline; }

/* === Biodata editor hero on phones: compact card, small ring, links as a chip row === */
@media (max-width: 700px) {
    .w-hero:has(.w-hero-row) { padding-top: 18px !important; padding-bottom: 64px !important; }
    .w-hero-row { gap: 16px; }
    .w-id { gap: 14px; align-items: flex-start; width: 100%; }
    .w-id .avatar.lg, .w-av .avatar.lg { width: 64px !important; height: 64px !important; box-shadow: 0 0 0 3px #1d0712, 0 0 0 4.5px var(--gold) !important; }
    .w-id .avatar.lg span { font-size: 1.8rem; }
    .w-av-cam { width: 26px; height: 26px; right: -4px; bottom: -2px; box-shadow: 0 0 0 2px #2a0a18; }
    .w-av-cam svg { width: 13px; height: 13px; }
    .w-id .eyebrow { display: none; }
    .w-id h1 { font-size: 1.45rem; line-height: 1.2; margin: 2px 0 8px; }
    .w-id p { gap: 8px; }
    .w-id p .w-note { font-size: .82rem; line-height: 1.45; }
    .w-todo { margin-top: 10px; }
    .w-score { width: 100%; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 16px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(226, 201, 140, .22); }
    .w-score .guna-ring.sm { width: 64px !important; height: 64px !important; flex: none; }
    .w-score .guna-ring .num b { font-size: 1.05rem !important; }
    .w-score .guna-ring .num small { display: none !important; }
    .w-links { display: flex !important; flex-wrap: wrap; gap: 6px; flex: 1; min-width: 0; }
    .w-links a { padding: 6px 11px !important; font-size: .76rem !important; gap: 6px !important; }
    .w-links a svg, .w-links .ico { width: 13px; height: 13px; font-size: .8rem; }
}
/* === end === */
/* Member app bar: the emblem on the left, the name in the middle on the main tabs */
@media (max-width: 960px) {
    .app-lead.brand { width: 44px; height: 44px; padding: 0; background: none !important; border: 0 !important; box-shadow: none !important; }
    .app-lead.brand img { width: 44px; height: 44px; display: block; filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .35)); }
    .lk-app .lk-mark.sm { display: none; }
    html .lk-app .lk-text b { font-size: 1.32rem; }
    html .lk-app .lk-text i { font-size: .6rem; margin-top: 4px; }
}
/* Phones: the save bar sits at the end of the step (a floating bar covered the last options) */
@media (max-width: 960px) {
    .w-step .w-foot { position: static !important; margin: 26px 0 0 !important; padding: 18px 0 0 !important; background: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; box-shadow: none !important; border-top: 1px solid rgba(94, 20, 40, .08) !important; }
    .w-step .w-foot .btn.w-next { width: 100%; justify-content: center; }
    .w-step .w-foot:has(.w-back) .btn.w-next { width: auto; }
    body:has(.w-foot) .to-top { bottom: calc(84px + env(safe-area-inset-bottom)); }
}
@media (max-width: 960px) { body:has(.w-foot) .to-top { display: none !important; } }

/* Footer links on phones: two-column tiles instead of one long list */
@media (max-width: 700px) {
    .foot-grid { gap: 22px !important; }
    .foot-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .foot-links h4 { grid-column: 1 / -1; margin: 0 0 4px !important; }
    .site-footer .foot-grid .foot-links > a:not(.btn) { display: flex; align-items: center; min-height: 44px; padding: 8px 12px !important; border-radius: 12px; font-size: .9rem; line-height: 1.25; color: #ecdcd2; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(236, 217, 168, .16); }
    .site-footer .foot-grid .foot-links > a:not(.btn)::before { display: none; }
    .site-footer .foot-grid .foot-links > a:not(.btn):active { background: rgba(236, 217, 168, .16); }
}
/* blog list titles are h2 now (one h2 per article card) */
.bl-card h2 { font-size: 1.4rem; line-height: 1.25; margin: 0 0 10px; }
.bl-grid.three .bl-card h2 { font-size: 1.15rem; }
html[lang="hi"] .bl-card h2 { font-family: "Tiro Devanagari Hindi", serif; }
.a-add.a-add-otp { display: block; }
.a-add-otp .otp-main { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; }
.a-add-otp .a-add-note { margin: 8px 0 0; font-size: .8rem; }
.a-add-otp .otp-step { margin-top: 12px; }
@media (max-width: 600px) { .a-add-otp .otp-main { grid-template-columns: 1fr; } }
/* "Terms of Use" inside the agree checkbox: a quiet, readable link on the same line */
label.check .terms-link { display: inline; font-weight: 700; color: #8e2848; text-decoration: none; border-bottom: 1.5px solid rgba(142, 40, 72, .3); padding-bottom: 1px; white-space: nowrap; transition: border-color .2s, color .2s; }
label.check .terms-link:hover { color: #5e1428; border-bottom-color: #8e2848; }
