/* === app.css === */
/* =========================================================================
   Omaaa Astrology — application stylesheet
   Temple "mandir jyotish" theme: dark maroon + kumkum red + white, with a
   brass-gold accent and a distinct jewel colour for each of the twelve rashis.
   Self-contained: device-local system + Noto font stacks, no CDN.
   Sections: tokens, fonts, base, layout, header/nav, lang switcher, buttons,
   hero, signs, panchang, tools, features, articles, faq, languages, forms,
   results, horoscope pages, footer, flash, errors, responsive, RTL, rashi.
   ========================================================================= */

:root {
    /* Brand = kumkum red; darks = temple maroon; accent = brass gold. */
    --brand:        #c1121f;
    --brand-dark:   #9a0e18;
    --brand-light:  #e23b47;
    --accent:       #c99a2e;
    --gold:         #c99a2e;
    --gold-soft:    #e7c46b;
    --maroon:       #5a0a14;
    --maroon-2:     #7a1220;
    --ink:          #2a0b10;
    --ink-soft:     #5c4a4d;
    --muted:        #7b6569;
    --line:         #efe0db;
    --bg:           #ffffff;
    --bg-alt:       #fbf2ec;
    --bg-deep:      #3d060e;
    --card:         #ffffff;
    --ok:           #1f9d63;
    --ok-bg:        #e7f7ee;
    --warn:         #b3261e;
    --warn-bg:      #fdeceb;
    --radius:       16px;
    --radius-sm:    10px;
    --shadow:       0 10px 30px rgba(90, 10, 20, .10);
    --shadow-lg:    0 20px 50px rgba(90, 10, 20, .16);
    --wrap:         1140px;
    --gap:          24px;
}

/* ---- Per-script font stacks (device-local, offline-safe) --------------- */
/* --display is a warm serif for headings; it is defined only for Latin, so
   Indian-script pages fall back to their own sans stack via var(--display, var(--font)). */
.font-latin      { --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
                   --display: "Cambria", "Georgia", "Times New Roman", "Noto Serif", serif; }
.font-devanagari { --font: "Noto Sans Devanagari", "Nirmala UI", "Mangal", system-ui, sans-serif; }
.font-bengali    { --font: "Noto Sans Bengali", "Vrinda", "Nirmala UI", system-ui, sans-serif; }
.font-tamil      { --font: "Noto Sans Tamil", "Latha", "Nirmala UI", system-ui, sans-serif; }
.font-telugu     { --font: "Noto Sans Telugu", "Gautami", "Nirmala UI", system-ui, sans-serif; }
.font-gujarati   { --font: "Noto Sans Gujarati", "Shruti", "Nirmala UI", system-ui, sans-serif; }
.font-kannada    { --font: "Noto Sans Kannada", "Tunga", "Nirmala UI", system-ui, sans-serif; }
.font-malayalam  { --font: "Noto Sans Malayalam", "Kartika", "Nirmala UI", system-ui, sans-serif; }
.font-gurmukhi   { --font: "Noto Sans Gurmukhi", "Raavi", "Nirmala UI", system-ui, sans-serif; }
.font-urdu       { --font: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", "Segoe UI", system-ui, sans-serif; }

/* ---- Base -------------------------------------------------------------- */
* { box-sizing: border-box; }
html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100vw;
}
body {
    margin: 0;
    font-family: var(--font, system-ui, sans-serif);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    font-size: 17px;
    overflow-x: hidden;
    overflow-x: clip;
    max-width: 100vw;
}
#site-page, main#main {
    overflow-x: hidden;
    overflow-x: clip;
    max-width: 100%;
}
h1, h2, h3, h4 { font-family: var(--display, var(--font)); line-height: 1.25; color: var(--ink); font-weight: 700; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
ul { margin: 0; padding: 0; list-style: none; }
.muted { color: var(--muted); }

/* ---- Layout ------------------------------------------------------------ */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 780px; }
.section { padding: 56px 0; }
.section-tight { padding: 22px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 34px; }
.section-head h2 { font-size: clamp(24px, 3vw, 32px); }
.section-head h2::after { content: ""; display: block; width: 56px; height: 3px; margin: 14px auto 0; border-radius: 2px; background: linear-gradient(90deg, var(--gold), var(--brand)); }
.section-head p { color: var(--ink-soft); margin: 12px 0 0; }
.section-head-row { display: flex; align-items: center; justify-content: space-between; text-align: left; max-width: none; }
.section-head-row h2::after { margin-inline-start: 0; }
.section-more { font-weight: 600; white-space: nowrap; }

/* ---- Skip link --------------------------------------------------------- */
.skip-link {
    position: absolute; left: -999px; top: 0; z-index: 100;
    background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---- Header + nav ------------------------------------------------------ */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display, var(--font)); font-weight: 800; font-size: 21px; color: var(--maroon); letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand-mark { color: var(--gold); font-size: 22px; }
.site-nav { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.site-nav > ul { display: flex; align-items: center; gap: 4px; }
.site-nav a { color: var(--ink-soft); font-weight: 600; padding: 8px 12px; border-radius: 8px; font-size: 15px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--bg-alt); color: var(--brand-dark); text-decoration: none; }

.nav-toggle, .nav-toggle-btn { display: none; }
.nav-toggle-btn { cursor: pointer; width: 42px; height: 42px; border-radius: 8px; }
.nav-toggle-btn span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px auto; border-radius: 2px; transition: .2s; }

/* ---- Language switcher ------------------------------------------------- */
.lang-switch { position: relative; }
.lang-switch summary {
    list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; font-weight: 600; font-size: 15px;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch[open] > summary { border-color: var(--brand); }
.lang-menu {
    position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 60;
    background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg);
    padding: 8px; min-width: 220px; max-height: 70vh; overflow: auto;
}
.lang-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; color: var(--ink); }
.lang-menu a:hover { background: var(--bg-alt); text-decoration: none; }
.lang-menu .flag { font-size: 18px; }
.lang-menu .en { color: var(--muted); font-size: 13px; margin-inline-start: auto; }

/* ---- Buttons ----------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 22px; border-radius: 12px; font-weight: 700; font-size: 16px;
    border: 1px solid transparent; cursor: pointer; transition: transform .06s ease, box-shadow .2s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(193, 18, 31, .3); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-ghost { background: #fff; color: var(--brand-dark); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); }
.btn-lg { padding: 15px 30px; font-size: 18px; }
.btn-block { display: flex; width: 100%; }

/* ---- Hero -------------------------------------------------------------- */
.hero {
    position: relative;
    background: linear-gradient(135deg, #FFF9F0 0%, #FFF3E0 50%, #FFE9CC 100%);
    color: #2C1810; padding: 48px 0 56px;
    border: 1px solid #F6D8B3; border-radius: 24px;
    box-shadow: 0 10px 30px rgba(230, 81, 0, 0.07);
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero-eyebrow { color: #E65100; font-weight: 700; font-size: 13px; letter-spacing: 1.4px; margin: 0 0 12px; text-transform: uppercase; }
.hero-title { color: #541D24; font-size: clamp(31px, 4.4vw, 52px); margin: 0 0 16px; letter-spacing: -.5px; }
.hero-sub { color: #5C4033; font-size: clamp(16px, 1.5vw, 19px); max-width: 42ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-picker { background: #FFFFFF; border: 1px solid #EBD9C8; border-radius: 20px; padding: 22px; box-shadow: 0 4px 16px rgba(84, 29, 36, .05); }
.hero-picker-head { color: #541D24; font-size: 16px; font-weight: 700; letter-spacing: .3px; margin: 0 0 14px; }
.sign-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sign-chip {
    display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 11px 6px 9px;
    background: #fff; border: 1px solid rgba(255, 255, 255, .7);
    border-bottom: 3px solid var(--sign, var(--gold));
    border-radius: 12px; color: var(--ink); text-align: center;
    transition: transform .12s ease, box-shadow .2s;
}
.sign-chip:hover { text-decoration: none; transform: translateY(-3px); box-shadow: 0 12px 22px rgba(30, 3, 8, .38); }
.sign-chip-sym { font-family: "Segoe UI Symbol", "Apple Symbols", "Noto Sans Symbols 2", "Noto Sans Symbols", var(--font); font-size: 23px; line-height: 1; color: var(--sign, var(--brand)); }
.sign-chip-name { font-size: 12.5px; font-weight: 700; }

/* ---- Stars ------------------------------------------------------------- */
.stars { display: inline-flex; gap: 2px; font-size: 16px; }
.star { color: #e6d7d2; }
.star.on { color: var(--gold); }

/* ---- Sign grid / cards ------------------------------------------------- */
/* Each card carries a .s-<sign> class that sets --sign to that rashi's colour. */
.sign-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.sign-card {
    display: flex; flex-direction: column; gap: 12px; padding: 20px;
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow); color: var(--ink); transition: transform .12s, box-shadow .2s, border-color .2s;
    border-top: 4px solid var(--sign, var(--brand));
}
.sign-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--sign, var(--line)); text-decoration: none; }
.sign-card-top { display: flex; align-items: center; gap: 12px; }
.sign-card-sym {
    font-family: "Segoe UI Symbol", "Apple Symbols", "Noto Sans Symbols 2", "Noto Sans Symbols", var(--font);
    font-size: 26px; line-height: 1; width: 48px; height: 48px; display: grid; place-items: center;
    background: var(--sign, var(--brand)); color: #fff; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
}
.sign-card-name { display: block; font-weight: 700; font-size: 18px; }
a.sign-card:hover .sign-card-name { color: var(--sign, var(--brand-dark)); }
.sign-card-range { display: block; color: var(--muted); font-size: 13px; }
.sign-card-teaser { color: var(--ink-soft); font-size: 14px; margin: 0; flex: 1; }
.sign-card-foot { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--bg-alt); color: var(--ink-soft); }
.chip-lucky { background: #fbeecb; color: #8a5e08; }
/* Today's tone now rides on the tone chip, freeing the card border for the rashi colour. */
.sign-card.tone-strong  .chip-tone { background: #e4f6ec; color: #12814e; }
.sign-card.tone-good     .chip-tone { background: #eef7e0; color: #4c7a15; }
.sign-card.tone-mixed    .chip-tone { background: #fbefd6; color: #92620a; }
.sign-card.tone-caution  .chip-tone { background: #fbe6df; color: #b03f1f; }

/* ---- Period strip ------------------------------------------------------ */
.period-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 12px; margin: 12px auto 20px; }
.period-strip a {
    display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; font-weight: 600;
    font-size: 13.5px; white-space: nowrap;
    background: var(--bg-alt); color: var(--brand-dark); border: 1px solid var(--line);
}
.period-strip a:hover { background: var(--brand); color: #fff; text-decoration: none; }

/* ---- Tool grid / cards ------------------------------------------------- */
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.tool-grid-4 { grid-template-columns: repeat(4, 1fr); }
.tool-card {
    display: flex; flex-direction: column; gap: 8px; padding: 24px;
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow); color: var(--ink); transition: transform .12s, box-shadow .2s;
}
.tool-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); text-decoration: none; }
.tool-card-icon { font-size: 24px; color: var(--brand); }
.tool-card h3 { margin: 0; font-size: 18px; }
.tool-card p { margin: 0; color: var(--ink-soft); font-size: 14px; flex: 1; }
.tool-card-cta { color: var(--brand-dark); font-weight: 700; font-size: 14px; }

/* ---- Panchang card ----------------------------------------------------- */
.panchang-card { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--gap); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; }
.panchang-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.pf { display: flex; flex-direction: column; gap: 2px; }
.pf-k { color: var(--muted); font-size: 13px; font-weight: 600; }
.pf-v { font-weight: 700; font-size: 16px; }
.panchang-windows { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; border-inline-start: 1px solid var(--line); padding-inline-start: 20px; }
.window-col h3 { font-size: 15px; margin: 0 0 10px; }
.window-good h3 { color: var(--ok); }
.window-bad h3 { color: var(--warn); }
.window-col li { display: flex; flex-direction: column; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.window-col li:last-child { border-bottom: 0; }
.w-name { font-weight: 600; font-size: 14px; }
.w-time { color: var(--muted); font-size: 13px; }

/* ---- Feature grid ------------------------------------------------------ */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.feature { text-align: center; padding: 10px; }
.feature-icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--bg-alt); color: var(--brand); font-size: 24px; margin-bottom: 12px; }
.feature h3 { font-size: 17px; margin: 0 0 6px; }
.feature p { color: var(--ink-soft); font-size: 14px; margin: 0; }

/* ---- Article grid ------------------------------------------------------ */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.article-card { padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); color: var(--ink); transition: transform .12s, box-shadow .2s; }
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); text-decoration: none; }
.article-card h3 { font-size: 18px; margin: 0 0 8px; }
.article-card p { color: var(--ink-soft); font-size: 14px; }
.article-date { color: var(--muted); font-size: 13px; }

/* ---- FAQ --------------------------------------------------------------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq-item summary { cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 600; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; inset-inline-end: 20px; color: var(--brand); font-size: 20px; }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { padding: 0 20px 18px; color: var(--ink-soft); }

/* ---- Languages grid ---------------------------------------------------- */
.lang-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.lang-tile { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 16px 8px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-align: center; transition: transform .12s, border-color .2s; }
.lang-tile:hover { transform: translateY(-3px); border-color: var(--brand); text-decoration: none; }
.lang-flag { font-size: 22px; }
.lang-native { font-weight: 700; }
.lang-en { color: var(--muted); font-size: 12px; }

/* ---- CTA band ---------------------------------------------------------- */
.cta-band { background: radial-gradient(700px 300px at 50% -40%, rgba(201, 154, 46, .28), transparent 60%), linear-gradient(135deg, #5a0a14, #a30f1a); color: #fff; text-align: center; border-radius: 0; }
.cta-inner h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); }
.cta-band .btn-primary { background: var(--gold); color: #3d060e; box-shadow: 0 10px 26px rgba(0, 0, 0, .28); }
.cta-band .btn-primary:hover { background: var(--gold-soft); color: #3d060e; }
.cta-note { color: #f3d3c6; font-size: 13px; margin-top: 22px; }

/* ---- Forms (calculators) ---------------------------------------------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 15px; }
.form-row .hint { color: var(--muted); font-size: 13px; font-weight: 400; }
.input, .select, .textarea {
    width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
    font: inherit; color: var(--ink); background: #fff;
}
.input:focus, .select:focus, .textarea:focus { outline: 2px solid var(--brand-light); border-color: var(--brand); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-actions { display: flex; gap: 12px; margin-top: 8px; }
.field-error { color: var(--warn); font-size: 13px; margin-top: 4px; }

/* ---- Result blocks ----------------------------------------------------- */
.result { margin-top: 26px; }
.result-hero { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 24px; background: var(--bg-alt); border-radius: var(--radius); }
.result-number { font-size: 54px; font-weight: 800; color: var(--brand); line-height: 1; }
.result-meta h2 { margin: 0 0 4px; }
.calc-table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.calc-table th, .calc-table td { text-align: start; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 14px; }
.calc-table th { color: var(--muted); font-weight: 600; }
.letter-grid { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.letter { display: inline-grid; place-items: center; min-width: 42px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.letter b { font-size: 16px; }
.letter span { font-size: 12px; color: var(--muted); }

/* ---- Horoscope reading page ------------------------------------------- */
.page-head { background: radial-gradient(600px 260px at 100% -30%, rgba(201, 154, 46, .22), transparent 60%), linear-gradient(160deg, #4a0710, #7a1220); color: #fff; padding: 40px 0; }
.page-head h1 { color: #fff; font-size: clamp(26px, 3.4vw, 38px); margin: 0; }
.page-head p { color: #f2d3c5; margin: 8px 0 0; }
.breadcrumbs { font-size: 13px; margin-bottom: 14px; color: var(--muted); }
.breadcrumbs a { color: var(--brand-dark); }
.breadcrumbs span { margin: 0 6px; opacity: .6; }
.reading-grid { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; }
.rating-hero { display: flex; align-items: center; gap: 18px; padding: 22px; background: var(--bg-alt); border-radius: var(--radius); border-inline-start: 6px solid var(--sign, var(--brand)); margin-bottom: 24px; }
.rating-score { font-size: 42px; font-weight: 800; color: var(--sign, var(--brand)); }
.section-block { padding: 20px 0; border-bottom: 1px solid var(--line); }
.section-block:last-child { border-bottom: 0; }
.section-block h3 { display: flex; align-items: center; gap: 10px; font-size: 19px; }
.section-icon { font-size: 20px; }
.aside-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; margin-bottom: 20px; }
.aside-card h3 { font-size: 16px; margin: 0 0 12px; }
.lucky-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lucky-list .k { color: var(--muted); font-size: 13px; }
.lucky-list .v { font-weight: 700; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { padding: 5px 12px; border-radius: 999px; background: var(--bg-alt); font-size: 13px; font-weight: 600; }
.good-list li, .bad-list li { padding: 6px 0 6px 22px; position: relative; }
.good-list li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--ok); font-weight: 700; }
.bad-list li::before { content: "!"; position: absolute; inset-inline-start: 0; color: var(--warn); font-weight: 700; }
.factor-bar { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; margin-top: 4px; }
.factor-bar > span { display: block; height: 100%; background: var(--brand); }

/* ---- Horoscope reading / overview extras ------------------------------ */
.period-strip a.is-active { background: var(--brand); color: #fff; }
.sign-card .sign-card-name { color: var(--ink); }
.sign-card-link { margin-top: auto; font-weight: 600; color: var(--brand); font-size: 14px; }
a.sign-card-link:hover { text-decoration: underline; }

.reading-head { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.day-nav { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.day-nav a { padding: 6px 12px; border-radius: 999px; background: var(--bg-alt); font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.day-nav a:hover { background: var(--brand); color: #fff; text-decoration: none; }

.rating-hero .sign-card-sym { width: 60px; height: 60px; font-size: 32px; flex: none; }
.rating-body { flex: 1; min-width: 0; }
.rating-body h1 { margin: 0 0 2px; }
.rating-date { color: var(--muted); font-size: 14px; margin: 0 0 6px; }
.rating-tone { font-weight: 700; }
.rating-note { color: var(--ink-soft); font-size: 14px; margin: 2px 0 0; }
.rating-hero.tone-strong  .rating-tone { color: #12814e; }
.rating-hero.tone-good     .rating-tone { color: #4c7a15; }
.rating-hero.tone-mixed    .rating-tone { color: #92620a; }
.rating-hero.tone-caution  .rating-tone { color: #b03f1f; }

.section-block .sb-rating { display: flex; align-items: center; gap: 10px; margin: 2px 0 6px; }
.section-block .sb-tone { color: var(--muted); font-size: 13px; }
.lucky-big { font-size: 40px; font-weight: 800; color: var(--brand); line-height: 1; }
.remedy-title { font-weight: 700; margin: 0 0 4px; }
.factor-row { margin-bottom: 14px; }
.factor-row .fh { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; font-weight: 600; }
.factor-row .fd { color: var(--muted); font-size: 12px; margin-top: 2px; }
.mini-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; }
.mini-facts .k { color: var(--muted); font-size: 12px; display: block; }
.mini-facts .v { font-weight: 600; font-size: 14px; }
.window-mini { margin: 0; padding: 0; list-style: none; }
.window-mini li { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; font-size: 13px; }
.window-mini .wt { color: var(--muted); }

.sign-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.sign-nav a { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 600; color: var(--ink); }
.sign-nav a:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.sign-nav .nn { color: var(--muted); font-size: 12px; font-weight: 500; display: block; }
.sign-nav .sn-next { text-align: end; }

/* ---- Prose (articles, pages) ------------------------------------------ */
.prose { max-width: 720px; margin: 0 auto; }
.prose h2 { margin-top: 1.4em; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { list-style: disc; padding-inline-start: 22px; margin: 0 0 1em; }

/* ---- Footer ------------------------------------------------------------ */
.site-footer { background: var(--bg-deep); color: #eedecb; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: var(--gap); padding: 48px 20px 32px; }
.footer-col { min-width: 0; overflow-wrap: anywhere; }
.footer-col h2 { color: #fff9ed; font-size: 15px; text-transform: uppercase; letter-spacing: .5px; margin: 0 0 14px; }
.footer-col a { color: #eedecb; display: inline-block; max-width: 100%; overflow-wrap: anywhere; padding: 4px 0; }
.footer-col a:hover { color: var(--gold-soft); }
.brand-footer { color: #fff9ed; margin-bottom: 12px; }
.footer-about p { color: #d2beab; font-size: 14px; }
.footer-about-links { margin-top: 14px; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .12); }
.footer-legal .wrap { padding-top: 20px; padding-bottom: 24px; }
.disclaimer { color: #b8a390; font-size: 13px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; align-items: center; }
.footer-bottom p { margin: 0; font-size: 14px; }
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }

/* ---- Flash messages ---------------------------------------------------- */
.flash-region { padding-top: 16px; }
.flash { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 10px; font-weight: 600; }
.flash-ok { background: var(--ok-bg); color: var(--ok); }
.flash-err { background: var(--warn-bg); color: var(--warn); }

:where([data-site-warning]):not(:focus-visible) {
    --warning-outline: #b91c1c;
    outline: 2px solid var(--warning-outline);
    outline-offset: 2px;
}

@media (prefers-color-scheme: dark) {
    :where([data-site-warning]):not(:focus-visible) { --warning-outline: #f87171; }
}

@media (prefers-reduced-motion: no-preference) {
    :where([data-site-warning="pulse"]):not(:focus-visible) {
        animation: site-warning-pulse 1.15s ease-in-out 3;
    }
    @keyframes site-warning-pulse {
        50% { outline-color: color-mix(in srgb, var(--warning-outline) 42%, transparent); }
    }
}

/* ---- Error page -------------------------------------------------------- */
.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.error-card { padding: 40px; }
.error-code { font-size: 90px; font-weight: 800; color: var(--brand-light); line-height: 1; }
.error-card .actions { display: flex; gap: 12px; justify-content: center; margin-top: 20px; }

/* ---- Responsive -------------------------------------------------------- */
@media (max-width: 1024px) {
    .sign-grid, .tool-grid, .tool-grid-4 { grid-template-columns: repeat(3, 1fr); }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .lang-grid { grid-template-columns: repeat(4, 1fr); }
    .reading-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
    body { font-size: 16px; }
    .hero-inner { grid-template-columns: 1fr; }
    .sign-grid, .tool-grid, .tool-grid-4, .article-grid { grid-template-columns: repeat(2, 1fr); }
    .panchang-card { grid-template-columns: 1fr; }
    .panchang-windows { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid var(--line); padding-top: 16px; }
    .form-grid { grid-template-columns: 1fr; }
    .section-head-row { flex-direction: column; align-items: flex-start; gap: 8px; }

    /* Mobile nav: CSS-only toggle */
    .nav-toggle-btn { display: inline-grid; place-items: center; margin-inline-start: auto; }
    .site-nav {
        position: fixed; inset: 64px 0 auto 0; margin: 0; flex-direction: column; align-items: stretch; gap: 0;
        background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
        max-height: 0; overflow: hidden; transition: max-height .25s ease; padding: 0 20px;
    }
    .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
    .site-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
    .lang-switch { padding: 14px 0; }
    .nav-toggle:checked ~ .site-nav { max-height: 80vh; overflow: auto; padding: 8px 20px 20px; }
}
@media (max-width: 460px) {
    .sign-grid, .tool-grid, .tool-grid-4, .article-grid, .feature-grid { grid-template-columns: 1fr; }
    .lang-grid { grid-template-columns: repeat(2, 1fr); }
    .sign-chips { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
}

/* ---- RTL (Urdu) -------------------------------------------------------- */
[dir="rtl"] body { line-height: 1.9; }
[dir="rtl"] .hero-sub { max-width: none; }
[dir="rtl"] .btn { gap: 8px; }
[dir="rtl"] .tool-card-cta,
[dir="rtl"] .section-more { direction: rtl; }

/* ---- Print ------------------------------------------------------------- */
@media print {
    .site-header, .site-footer, .hero-actions, .period-strip, .cta-band, .nav-toggle-btn { display: none; }
    body { font-size: 12pt; color: #000; }
    .card, .sign-card, .tool-card { box-shadow: none; border-color: #ccc; }
    .calc-form, .calc-foot, .calc-how > summary { display: none; }
    .calc-how { border: 0; }
    .calc-how[open] > .calc-how-body { display: block; }
}

/* =========================================================================
   Calculators & numerology results
   ========================================================================= */
.hint { color: var(--muted); font-size: 13px; }

/* Form card + small button (btn-sm is also used by the horoscope pages) */
.calc-form { padding: 24px; margin-bottom: 8px; }
.calc-form .form-actions { margin-top: 4px; }
.btn-sm { padding: 8px 14px; font-size: 14px; }

.privacy-hint {
    display: flex; align-items: flex-start; gap: 6px;
    background: var(--bg-alt); border-radius: var(--radius-sm);
    padding: 10px 12px; margin: 4px 0 12px; color: var(--ink-soft); font-size: 13px;
}

/* Result section headings + multi-column card rows */
.result-title { font-size: 20px; margin: 28px 0 12px; }
.result-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.result-cols .aside-card { margin-bottom: 0; }

/* Vehicle: the two readings side by side */
.reading-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 20px 0; }
.reading-cols .aside-card { margin-bottom: 0; text-align: center; }
.mini-number { font-size: 40px; font-weight: 800; color: var(--brand); line-height: 1; margin: 6px 0; }

/* Stat grids (dob core numbers, mobile / personal-cycle stats) */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 16px 0; }
.stat { background: var(--bg-alt); border-radius: var(--radius-sm); padding: 14px 16px; }
.stat .k { display: block; color: var(--muted); font-size: 12px; font-weight: 600; margin-bottom: 2px; }
.stat .v { font-size: 20px; font-weight: 700; color: var(--ink); }
.stat .v.big { font-size: 30px; color: var(--brand); }
.stat-grid-lg .stat { text-align: center; }

/* Verdict badge + transparent reason breakdown */
.verdict-wrap {
    display: flex; gap: 20px; flex-wrap: wrap; align-items: center;
    margin: 18px 0; padding: 18px; border: 1px solid var(--line);
    border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow);
}
.verdict-badge {
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
    min-width: 116px; padding: 14px 18px; border-radius: var(--radius); color: #fff;
}
.vb-score { font-size: 30px; font-weight: 800; line-height: 1; }
.vb-score small { font-size: 14px; font-weight: 600; opacity: .85; }
.vb-label { font-size: 13px; font-weight: 700; margin-top: 4px; text-transform: uppercase; letter-spacing: .04em; }
.verdict-badge.tone-strong  { background: linear-gradient(135deg, #17a866, #0f8a52); }
.verdict-badge.tone-good    { background: linear-gradient(135deg, #5aab35, #4a9a2b); }
.verdict-badge.tone-mixed   { background: linear-gradient(135deg, #e79a1f, #d0850f); }
.verdict-badge.tone-caution { background: linear-gradient(135deg, #e0674a, #c74327); }
.reason-list { flex: 1 1 260px; display: grid; gap: 8px; }
.reason-list li { display: flex; align-items: baseline; gap: 10px; }
.reason-delta { flex: none; min-width: 34px; text-align: center; font-weight: 700; font-size: 13px; padding: 2px 6px; border-radius: 6px; }
.reason-up   { color: var(--ok); background: var(--ok-bg); }
.reason-down { color: var(--warn); background: var(--warn-bg); }
.reason-flat { color: var(--muted); background: var(--bg-alt); }
.reason-text { color: var(--ink-soft); font-size: 14px; }

/* Working / expression text */
.calc-expr {
    font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
    background: var(--bg-alt); border-radius: var(--radius-sm);
    padding: 8px 12px; font-size: 14px; word-break: break-word; margin: 8px 0;
}
.calc-chain { color: var(--muted); font-size: 14px; margin: 4px 0 12px; }

/* Harmony row + tone chip (green→red by tier) */
.harmony-row {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    padding: 14px 16px; background: var(--bg-alt); border-radius: var(--radius-sm); margin: 14px 0;
}
.hr-label { font-weight: 600; }
.tone-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; color: #fff; }
.tone-chip.tone-strong  { background: #17a866; }
.tone-chip.tone-good    { background: #5aab35; }
.tone-chip.tone-mixed   { background: #d0850f; }
.tone-chip.tone-caution { background: #c74327; }

/* "How this is calculated" disclosure */
.calc-how { border: 1px solid var(--line); border-radius: var(--radius); margin: 20px 0; overflow: hidden; }
.calc-how > summary { cursor: pointer; padding: 14px 18px; font-weight: 600; list-style: none; background: var(--bg-alt); }
.calc-how > summary::-webkit-details-marker { display: none; }
.calc-how > summary::after { content: "＋"; float: inline-end; color: var(--muted); }
.calc-how[open] > summary::after { content: "－"; }
.calc-how-body { padding: 18px; }
.calc-steps { display: grid; gap: 8px; }
.calc-steps li { padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: 14px; }
.calc-steps li:last-child { border-bottom: 0; padding-bottom: 0; }
.subhead { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 14px 0 6px; }

.calc-foot { display: flex; gap: 10px; margin-top: 20px; }
.calc-note { margin-top: 24px; font-size: 13px; color: var(--muted); text-align: center; }

/* Number-meaning profile card */
.meaning-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 12px 0; background: var(--card); box-shadow: var(--shadow); }
.meaning-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.num-badge { flex: none; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: #fff; font-size: 26px; font-weight: 800; }
.meaning-id { min-width: 0; }
.meaning-name { margin: 0 0 6px; font-size: 20px; }
.meaning-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.meaning-general, .meaning-rel { color: var(--ink-soft); }
.sw-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 8px 0; }

/* Business suggestions + lucky-number extras */
.suggest-table td { vertical-align: middle; }
.source-row { margin-top: 8px; }
.chip-caution { background: var(--warn-bg); color: var(--warn); }
.chip-lucky.is-primary { outline: 2px solid var(--brand); outline-offset: 1px; }
.note-list { display: grid; gap: 8px; }
.note-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.num-dot { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--bg-alt); font-weight: 700; font-size: 13px; }

@media (max-width: 760px) {
    .result-cols, .reading-cols, .sw-grid { grid-template-columns: 1fr; }
    .verdict-wrap { flex-direction: column; align-items: stretch; }
    .verdict-badge { width: 100%; }
}

/* ---- Matching / compatibility ------------------------------------------ */
.party-col { display: flex; flex-direction: column; }
.result-number small { font-size: 24px; font-weight: 700; }
.match-vs { font-size: 18px; margin: 8px 0 2px; }
.match-vs .mv-x { color: var(--muted); margin: 0 8px; }
.result-hero .tone-chip { align-self: flex-start; }
.aspect-table td { vertical-align: top; }
.tip-list { display: grid; gap: 8px; }
.tip-list li { position: relative; padding-inline-start: 22px; }
.tip-list li::before { content: "→"; position: absolute; inset-inline-start: 0; color: var(--brand); font-weight: 700; }

/* ---- Content & legal pages --------------------------------------------- */
.page-prose { color: var(--ink-soft); font-size: 16px; line-height: 1.75; }
.page-prose > p { margin: 0 0 16px; }
.page-prose h2 { color: var(--ink); font-size: 20px; margin: 28px 0 8px; }
.page-prose h3 { color: var(--ink); font-size: 17px; margin: 20px 0 6px; }
.page-prose a { color: var(--brand); }
.page-lead { font-size: 18px; color: var(--ink); line-height: 1.7; margin: 0 0 18px; }
.page-meta { color: var(--muted); font-size: 14px; margin: 0 0 20px; }

/* Article detail */
.article-head { margin-bottom: 18px; }
.article-head h1 { margin: 0 0 8px; }
.article-body { color: var(--ink-soft); font-size: 16px; line-height: 1.8; }
.article-body > p { margin: 0 0 16px; }
.article-body h2 { color: var(--ink); font-size: 22px; margin: 30px 0 10px; }
.article-body h3 { color: var(--ink); font-size: 18px; margin: 22px 0 8px; }
.article-body ul, .article-body ol { margin: 0 0 16px; padding-inline-start: 22px; }
.article-body li { margin: 4px 0; }
.article-body em { color: var(--muted); }
.article-body a { color: var(--brand); }
.article-foot { margin-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; }

/* Articles index pagination */
.pagination { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 28px; }
.pagination .page-status { color: var(--muted); font-size: 14px; }

/* Empty state */
.empty-state { text-align: center; padding: 40px 20px; color: var(--ink-soft); background: var(--bg-alt); border-radius: var(--radius); }
.empty-state p { margin: 0 0 16px; }

/* About page quick links */
.about-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

/* Contact form message box (textarea reuses the .input styling) */
textarea.input { min-height: 140px; resize: vertical; }

/* ---- Per-rashi identity colours ----------------------------------------
   Each zodiac sign carries its own hue, rooted in its traditional colour /
   ruling planet and spread across the wheel so no two are confusable in a
   4-column grid. Consumed via var(--sign) by .sign-card, .sign-chip and
   .rating-hero. The .s-<key> keys are the English sign keys (locale-neutral). */
.s-aries       { --sign: #e03131; }  /* Mars — kumkum red        */
.s-taurus      { --sign: #2f9e44; }  /* Venus / earth green      */
.s-gemini      { --sign: #6a9a1f; }  /* Mercury — olive-lime     */
.s-cancer      { --sign: #2f8fd4; }  /* Moon — silver-blue       */
.s-leo         { --sign: #f76707; }  /* Sun — orange             */
.s-virgo       { --sign: #0ca678; }  /* Mercury / earth — teal   */
.s-libra       { --sign: #12a5b8; }  /* Venus — sky / cyan       */
.s-scorpio     { --sign: #a61e4d; }  /* Mars — deep maroon       */
.s-sagittarius { --sign: #e8850c; }  /* Jupiter — amber-gold     */
.s-capricorn   { --sign: #3b5bdb; }  /* Saturn — indigo          */
.s-aquarius    { --sign: #7048e8; }  /* Saturn — violet          */
.s-pisces      { --sign: #9c36b5; }  /* Jupiter — sea magenta    */

/* ---- Motion: honour the OS "reduce motion" preference ------------------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
    .sign-chip:hover, .sign-card:hover { transform: none; }
}

/* =========================================================================
   Share-to-Unlock
   The gated content is always in the DOM (crawlable, accessible). When JS
   locks it, .is-locked clamps + fades the inner block and reveals the veil
   with its call-to-action. The share modal becomes a bottom sheet on phones.
   ========================================================================= */
.share-gate { position: relative; }
.share-gate.is-locked { overflow: hidden; }
.share-gate.is-locked .share-gate-inner {
    max-height: 320px;
    overflow: hidden;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(180deg, #000 42%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 42%, transparent 100%);
}

.share-gate-veil {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 72px 16px 6px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, var(--bg) 58%);
    pointer-events: none;
}
.share-gate-veil[hidden] { display: none; }
.sg-lock {
    pointer-events: auto;
    width: 100%;
    max-width: 440px;
    text-align: center;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 22px 24px;
}
.sg-lock-ic { font-size: 26px; }
.sg-lock-title { font-size: 18px; margin: 6px 0; }
.sg-lock-body { color: var(--ink-soft); font-size: 14px; line-height: 1.6; margin: 0 0 16px; }
.sg-open { display: inline-flex; }

/* ---- Share modal / bottom sheet ---------------------------------------- */
.share-modal-backdrop {
    position: fixed; inset: 0; z-index: 1000;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    background: rgba(42, 11, 16, .55);
    -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.share-modal-backdrop[hidden] { display: none; }
body.share-modal-open { overflow: hidden; }

.share-modal {
    width: 100%; max-width: 430px;
    background: var(--card); color: var(--ink);
    border-radius: var(--radius); box-shadow: var(--shadow-lg);
    padding: 22px;
    animation: sg-pop .18s ease-out;
}
@keyframes sg-pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }

.share-modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.share-modal-title { font-size: 19px; margin: 0; }
.share-modal-close {
    flex: none; border: 0; background: transparent; cursor: pointer;
    font-size: 26px; line-height: 1; color: var(--muted); padding: 0 4px;
}
.share-modal-close:hover { color: var(--ink); }
.share-modal-lead { color: var(--ink-soft); font-size: 14px; margin: 4px 0 16px; }

.share-modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.share-opt {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
    background: #fff; color: var(--ink); font: inherit; font-weight: 600;
    text-align: start; cursor: pointer;
}
.share-opt:hover { border-color: var(--brand); background: var(--bg-alt); }
.share-opt:active { transform: translateY(1px); }
.share-opt-ic {
    flex: none; width: 30px; height: 30px; display: grid; place-items: center;
    border-radius: 50%; background: var(--bg-alt); font-size: 15px; font-weight: 700;
}
.share-opt-tx { min-width: 0; }
.share-opt-whatsapp  .share-opt-ic { background: #25d366; color: #fff; }
.share-opt-facebook  .share-opt-ic { background: #1877f2; color: #fff; }
.share-opt-x         .share-opt-ic { background: #000;     color: #fff; }
.share-opt-telegram  .share-opt-ic { background: #0088cc; color: #fff; }
.share-opt-instagram .share-opt-ic { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); color: #fff; }
.share-opt-youtube   .share-opt-ic { background: #ff0000; color: #fff; }
.share-opt-copy      .share-opt-ic { background: var(--gold);  color: #3d060e; }
.share-opt-native    .share-opt-ic { background: var(--brand); color: #fff; }

.share-modal-hint {
    min-height: 18px; margin: 14px 0 0; text-align: center;
    font-size: 13px; color: var(--brand-dark);
}

@media (max-width: 560px) {
    .share-modal-backdrop { align-items: flex-end; padding: 0; }
    .share-modal {
        max-width: none; border-radius: 18px 18px 0 0;
        padding: 20px 18px calc(18px + env(safe-area-inset-bottom));
        animation: sg-sheet .22s ease-out;
    }
    .share-gate.is-locked .share-gate-inner { max-height: 260px; }
}
@keyframes sg-sheet { from { transform: translateY(100%); } to { transform: none; } }

[dir="rtl"] .share-opt { text-align: start; }


/* Free-tool results remain readable on narrow screens. */
.lo-shu-grid { width: min(100%, 24rem); border-collapse: collapse; margin: 1rem 0; }
.lo-shu-grid td { width: 33.333%; text-align: center; padding: 1rem; border: 1px solid currentColor; }
.calc-form select { max-width: 100%; }
.calc-form + .card dd { margin: .25rem 0 1rem; overflow-wrap: anywhere; }

.table-scroll { max-width:100%; overflow-x:auto; margin:1rem 0; }
.table-scroll table { min-width:28rem; width:100%; border-collapse:collapse; }
.table-scroll th, .table-scroll td { padding:.6rem; text-align:start; border-bottom:1px solid #ddd; }
.chat-log { min-height:8rem; max-height:28rem; overflow:auto; overflow-wrap:anywhere; }
.chat-log p { white-space:pre-wrap; }

/* === design-tokens.css === */
/**
 * Omaaa Astrology — Design Tokens & Base UI Kit Styles
 * Step S01 Deliverable (MASTER_PROMPT Part 2 §4)
 */

:root {
    /* Brand & Accent Palette (BhaktiLok Alignment — WCAG AA >= 4.5:1 on ivory/white) */
    --color-saffron: #C2410C;
    --color-saffron-light: #EA580C;
    --color-saffron-dark: #9A3412;
    --color-maroon: #541D24;
    --color-gold: #D97706;
    --color-ivory: #FFFDF9;
    --color-sand: #FDF6EE;
    --color-charcoal: #2C1810;
    --color-charcoal-soft: #5C4033;

    /* Calm Severity Tokens (Calm, non-alarmist, psychological comfort) */
    --severity-none-color: #2b6e4f;
    --severity-none-bg: #eef7f2;
    --severity-none-border: #cde7d8;

    --severity-mild-color: #8c5d17;
    --severity-mild-bg: #fdf7eb;
    --severity-mild-border: #f5e4c2;

    --severity-moderate-color: #9c4819;
    --severity-moderate-bg: #fdf3ed;
    --severity-moderate-border: #f8dacb;

    --severity-strong-color: #7d2a2a;
    --severity-strong-bg: #fcf1f1;
    --severity-strong-border: #f4d0d0;

    /* Typography (Devanagari-first) */
    --font-devanagari: "Noto Sans Devanagari", "Kohinoor Devanagari", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-serif-devanagari: "Noto Serif Devanagari", Georgia, serif;
    --font-latin: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    
    --lh-devanagari-body: 1.65;
    --lh-devanagari-heading: 1.35;

    /* Spacing Scale */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;

    /* Radius Scale */
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    /* Elevation / Shadows */
    --elevation-1: 0 1px 3px rgba(31, 39, 46, 0.06);
    --elevation-2: 0 4px 12px rgba(31, 39, 46, 0.08);
    --elevation-3: 0 10px 24px rgba(31, 39, 46, 0.12);
}

/* Base UI Component Styles */

/* 1. Calm Severity Badge */
.calm-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    border-radius: var(--radius-full);
    border: 1px solid transparent;
    text-transform: capitalize;
}
.calm-badge-none {
    color: var(--severity-none-color);
    background-color: var(--severity-none-bg);
    border-color: var(--severity-none-border);
}
.calm-badge-mild {
    color: var(--severity-mild-color);
    background-color: var(--severity-mild-bg);
    border-color: var(--severity-mild-border);
}
.calm-badge-moderate {
    color: var(--severity-moderate-color);
    background-color: var(--severity-moderate-bg);
    border-color: var(--severity-moderate-border);
}
.calm-badge-strong {
    color: var(--severity-strong-color);
    background-color: var(--severity-strong-bg);
    border-color: var(--severity-strong-border);
}

/* 2. Do / Don't Guidance Block */
.do-dont-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
    margin-block: var(--space-4);
}
@media (max-width: 680px) {
    .do-dont-card {
        grid-template-columns: 1fr;
    }
}
.guidance-box {
    border-radius: var(--radius-md);
    padding: var(--space-4);
    border: 1px solid transparent;
}
.guidance-do {
    background-color: var(--severity-none-bg);
    border-color: var(--severity-none-border);
}
.guidance-dont {
    background-color: var(--severity-mild-bg);
    border-color: var(--severity-mild-border);
}
.guidance-title {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: var(--space-2);
    display: flex;
    align-items: center;
    gap: 8px;
}
.guidance-do .guidance-title { color: var(--severity-none-color); }
.guidance-dont .guidance-title { color: var(--severity-mild-color); }

.guidance-list {
    margin: 0;
    padding-left: 20px;
    font-size: 14px;
    line-height: var(--lh-devanagari-body);
}

/* 3. Meaning / What it means for you Block */
.meaning-card {
    background: #fff;
    border: 1px solid #ebe5df;
    border-radius: var(--radius-md);
    padding: var(--space-5);
    margin-block: var(--space-4);
    box-shadow: var(--elevation-1);
}
.meaning-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-3);
    border-bottom: 1px solid #f4eee8;
    padding-bottom: var(--space-2);
}
.meaning-heading {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-charcoal);
    margin: 0;
}
.meaning-body {
    font-size: 15px;
    line-height: var(--lh-devanagari-body);
    color: var(--color-charcoal-soft);
}

/* 4. Honest Disclaimer Footer */
.honest-disclaimer {
    background-color: #faf7f2;
    border-left: 4px solid var(--color-gold);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: var(--space-3) var(--space-4);
    font-size: 13px;
    line-height: var(--lh-devanagari-body);
    color: var(--color-charcoal-soft);
    margin-top: var(--space-6);
}

/* 5. Astrological Timeline Meter */
.timeline-meter {
    background: #eef2f5;
    border-radius: var(--radius-full);
    height: 8px;
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-top: 6px;
}
.timeline-meter-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-gold), var(--color-saffron));
    border-radius: var(--radius-full);
    transition: width 0.3s ease;
}

/* === mega-menu.css === */
/**
 * Omaaa Astrology — Global Shell, 9-Group Mega-Menu & Quick-Tools Dock Styles
 * Step S03 Deliverable (MASTER_PROMPT Part 2 §1 & §5)
 */

/* 1. BhaktiLok Radiant Saffron Announcement Ticker */
.announcement-ticker {
    background: linear-gradient(90deg, #ff5e00 0%, #ff7800 50%, #ff9600 100%);
    color: #ffffff;
    font-size: 13px;
    padding: 7px 16px;
    overflow: hidden;
    position: relative;
    z-index: 50;
    box-shadow: 0 1px 4px rgba(230, 81, 0, 0.2);
}
.ticker-track {
    display: flex;
    align-items: center;
    gap: 32px;
    width: max-content;
    animation: tickerScroll 240s linear infinite;
}
.ticker-track:hover {
    animation-play-state: paused;
}
.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
.ticker-star {
    color: #ffe066;
    font-size: 14px;
}
.ticker-item a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.2px;
}
.ticker-item a:hover {
    text-decoration: underline;
}
@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* 2. BhaktiLok Floating Pill Header */
.site-header {
    position: sticky;
    top: 8px;
    z-index: 100;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 16px;
}
.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 6px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border-radius: 999px;
    border: 1px solid rgba(230, 81, 0, 0.18);
    box-shadow: 0 4px 20px rgba(180, 70, 0, 0.08);
    min-height: 58px;
    gap: 8px;
}
@media (max-width: 1024px) {
    .header-inner {
        border-radius: 16px;
        padding: 8px 14px;
    }
}
.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
}
.site-logo-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(230, 81, 0, 0.2);
}
.brand-text {
    font-size: 18px;
    font-weight: 800;
    color: #541D24;
    line-height: 1.1;
    letter-spacing: -0.3px;
}
.brand-tagline {
    font-size: 9.5px;
    color: #7A5C4D;
    display: block;
    font-weight: 500;
}

/* Nav & Mega-Menu Dropdowns */
.mega-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    position: static;
    flex-wrap: nowrap !important;
}
@media (max-width: 1240px) {
    .mega-nav {
        display: none;
    }
}
.mega-menu-item {
    position: static;
    flex-shrink: 0;
}
.mega-menu-btn {
    background: transparent;
    border: 1px solid transparent;
    padding: 6px 10px;
    font-size: 14.5px;
    font-weight: 700;
    color: #1c1917;
    cursor: pointer;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap !important;
    word-break: keep-all !important;
    text-wrap: nowrap !important;
    flex-shrink: 0;
    transition: all 0.18s ease;
}
.mega-menu-btn span {
    white-space: nowrap !important;
    word-break: keep-all !important;
    text-wrap: nowrap !important;
}
.mega-menu-btn:hover,
.mega-menu-btn:focus-visible,
.mega-menu-item.active .mega-menu-btn {
    background: #FFF7EE;
    border-color: #F8D8B8;
    color: #c2410c;
    outline: none;
    font-weight: 800;
}
.mega-menu-arrow {
    font-size: 8px;
    transition: transform 0.2s;
    opacity: 0.5;
}
.mega-menu-item.active .mega-menu-arrow {
    transform: rotate(180deg);
}

/* Mega-Menu Dropdown Panel — Centered within Header, Zero Viewport Clipping */
.mega-dropdown-panel {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 20px;
    right: 20px;
    width: auto;
    max-width: 1080px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(44, 24, 16, 0.15);
    border: 1px solid #ebd9c8;
    padding: 24px 28px;
    z-index: 120;
    grid-template-columns: 3.2fr 1.2fr;
    gap: 24px;
}
.mega-dropdown-panel::before {
    content: '';
    position: absolute;
    top: -18px;
    left: 0;
    right: 0;
    height: 18px;
    background: transparent;
    pointer-events: auto;
}
.mega-menu-item.active .mega-dropdown-panel {
    display: grid;
    animation: megaFadeIn 0.2s ease-out;
}
.mega-menu-item:not(.active) .mega-dropdown-panel {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}
@keyframes megaFadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.mega-columns-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.mega-columns-grid.cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.mega-columns-grid.cols-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.mega-dropdown-panel {
    max-height: calc(100dvh - 96px);
    overflow-y: auto;
    overscroll-behavior: contain;
}
.mega-col,
.mega-promo-card {
    min-width: 0;
}
.mega-menu-btn { min-height: 44px; }
.mega-menu-btn:focus-visible,
.drawer-group-btn:focus-visible,
.mobile-drawer a:focus-visible,
.mobile-drawer button:focus-visible,
.mobile-drawer summary:focus-visible,
#mobile-menu-open-btn:focus-visible {
    outline: 2px solid #9a3412;
    outline-offset: 2px;
}
.drawer-group-content[hidden] { display: none !important; }
.drawer-menu-link {
    font-size: 14px;
    color: #1f2937;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding: 8px 6px;
    border-radius: 7px;
    overflow-wrap: anywhere;
}
.drawer-menu-link:hover { background: #fff7ed; color: #9a3412; }
.drawer-menu-link > span:first-child { min-width: 0; }
.mobile-drawer { max-width: 100%; overscroll-behavior: contain; }
#mobile-drawer-close-btn { min-width: 44px; min-height: 44px; }
@media (prefers-reduced-motion: reduce) {
    .mega-menu-item.active .mega-dropdown-panel { animation: none; }
    .mega-menu-btn, .mega-menu-arrow, .mobile-drawer { transition: none; }
}
@media (max-width: 1220px) {
    .mega-dropdown-panel {
        grid-template-columns: 1fr;
        max-height: 80vh;
        overflow-y: auto;
    }
    .mega-columns-grid.cols-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
.mega-col-title {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
    overflow-wrap: anywhere;
    color: #9a3412;
    letter-spacing: 0.2px;
    margin-bottom: 10px;
    border-bottom: 2px solid #fed7aa;
    padding-bottom: 6px;
}
.mega-col-title-link {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
.mega-col-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mega-col-list li {
    margin-bottom: 4px;
}
.mega-col-list a {
    color: #1f2937;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
    transition: background-color 0.15s ease, color 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 5px 7px;
    border-radius: 7px;
    overflow-wrap: break-word;
}
.mega-col-link > span:first-child {
    min-inline-size: 0;
    overflow-wrap: anywhere;
}
.mega-col-list a:hover,
.mega-col-list a:focus-visible {
    color: #c2410c;
    background: #fff7ed;
    outline: 2px solid rgba(234, 88, 12, 0.35);
    outline-offset: 1px;
}
.mega-link-badge {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 800;
    line-height: 1.2;
    padding: 2px 6px;
    border-radius: 999px;
    white-space: nowrap;
    flex-shrink: 0;
}
.mega-link-badge--vip {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #f59e0b;
}
.mega-link-badge--trial {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #f87171;
}

/* Promo Card Slot (BhaktiLok Style) */
.mega-promo-card {
    background: #FFFDF9;
    border: 1px solid #ebd9c8;
    border-radius: 18px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
.mega-promo-badge {
    align-self: flex-start;
    background: #E8F8F5;
    color: #0E6251;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 6px;
    margin-bottom: 10px;
    border: 1px solid #A3E4D7;
}
.mega-promo-title {
    font-size: 16px;
    font-weight: 800;
    color: #541D24;
    margin: 0 0 8px 0;
    line-height: 1.3;
}
.mega-promo-desc {
    font-size: 12.5px;
    color: #5C4033;
    line-height: 1.6;
    margin-bottom: 16px;
}
.mega-promo-cta {
    display: block;
    width: 100%;
    text-align: center;
    padding: 9px 18px;
    background: #00796b;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 4px 12px rgba(0, 150, 136, 0.25);
}
.mega-promo-cta:hover {
    background: #00796B;
    transform: translateY(-1px);
}
.mega-promo-cta + .mega-promo-cta {
    margin-top: 8px;
}

/* Header Utilities & BhaktiLok Badges */
.header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.header-action-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.15s, box-shadow 0.15s;
    cursor: pointer;
    font-size: 14px;
}
.header-action-circle:hover {
    transform: scale(1.08);
}
.header-cal-badge {
    background: #E8F8F5;
    border-color: #A3E4D7;
    color: #0E6251;
    font-weight: 700;
    font-size: 12px;
}
.header-fav-badge {
    background: #FCE4EC;
    border-color: #F8BBD0;
    font-size: 14px;
}
.header-bell-badge {
    background: #FFF3E0;
    border-color: #FFE0B2;
    color: #E65100;
    font-size: 15px;
    padding: 0;
}
.header-actions .lang-switch {
    position: relative;
    flex-shrink: 0;
}
.header-actions .lang-switch summary {
    padding: 4px 10px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    min-height: 30px !important;
    border-radius: 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    background: #FFF7EE !important;
    border: 1.5px solid #F5C7A9 !important;
    color: #9A3412 !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    transition: all 0.2s ease !important;
}
.header-actions .lang-switch summary:hover {
    background: #FFEDD5 !important;
    border-color: #EA580C !important;
    color: #7C2D12 !important;
}
.header-actions .lang-switch summary .ui-icon {
    width: 14px !important;
    height: 14px !important;
}
.header-actions .lang-switch .lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    inset-inline-end: 0;
    min-width: 220px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #ebd9c8;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    padding: 6px;
    z-index: 1050;
    max-height: 380px;
    overflow-y: auto;
}
.header-icon-btn {
    background: #FFFDF9;
    border: 1px solid #ebd9c8;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    padding: 0;
    cursor: pointer;
    font-size: 15px;
    color: var(--color-charcoal);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.2s;
}
.header-icon-btn:hover {
    background: #fdf5ea;
    border-color: var(--color-gold);
}
.icon-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--color-saffron);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 10px;
    padding: 1px 5px;
}

/* 3. Mobile Bottom Bar */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #fffffffa;
    backdrop-filter: blur(8px);
    border-top: 1px solid #ebd9c8;
    z-index: 95;
    justify-content: space-around;
    align-items: center;
    padding: 0 6px;
}
@media (max-width: 900px) {
    .mobile-bottom-bar {
        display: flex;
    }
    body {
        padding-bottom: 64px;
    }
}
.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--color-charcoal-soft);
    font-size: 11px;
    font-weight: 600;
    gap: 2px;
    flex: 1;
    padding: 6px 0;
}
.mobile-nav-item.active,
.mobile-nav-item:hover {
    color: var(--color-saffron);
}
.mobile-nav-icon {
    font-size: 18px;
    line-height: 1;
}

/* 4. Slide-in Mobile Drawer */
.mobile-drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(31, 39, 46, 0.5);
    z-index: 150;
    backdrop-filter: blur(2px);
}
.mobile-drawer {
    --drawer-text: #30241c;
    --drawer-muted: #725547;
    --drawer-line: #e8d9ca;
    --drawer-accent: #862d19;
    --drawer-hover: #fff3e7;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 320px;
    max-width: 85vw;
    background: #fff;
    z-index: 160;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 24px rgba(31, 39, 46, 0.2);
}
.mobile-drawer.open {
    transform: translateX(0);
}
[dir="rtl"] .mobile-drawer {
    left: auto;
    right: 0;
    transform: translateX(100%);
    box-shadow: -4px 0 24px rgba(31, 39, 46, 0.2);
}
[dir="rtl"] .mobile-drawer.open {
    transform: translateX(0);
}
.mobile-drawer-overlay.open {
    display: block;
}
.drawer-header {
    flex: none;
    padding: max(7px, env(safe-area-inset-top)) 12px 7px;
    border-bottom: 1px solid var(--drawer-line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.drawer-brand {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    gap: 8px;
    color: var(--drawer-accent);
    font-size: 17px;
    font-weight: 750;
    text-decoration: none;
}
.drawer-scroll {
    min-height: 0;
    flex: 1;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    padding-block-end: max(8px, env(safe-area-inset-bottom));
}
.drawer-quick-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2px;
    padding: 4px 8px;
    border-bottom: 1px solid var(--drawer-line);
}
.drawer-quick-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 48px;
    padding: 3px 1px;
    color: var(--drawer-text);
    font-size: 12px;
    line-height: 1.25;
    text-decoration: none;
    text-align: center;
    overflow-wrap: anywhere;
}
.drawer-quick-btn .ui-icon,
.drawer-language-label .ui-icon {
    width: 18px;
    height: 18px;
    flex: none;
    color: var(--drawer-accent);
}
.drawer-language {
    border-bottom: 1px solid var(--drawer-line);
}
.drawer-language summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 44px;
    padding-inline: 12px;
    cursor: pointer;
    list-style: none;
    color: var(--drawer-text);
    font-size: 14px;
    font-weight: 650;
}
.drawer-language summary::-webkit-details-marker { display: none; }
.drawer-language-label,
.drawer-language-current {
    display: flex;
    align-items: center;
    gap: 8px;
}
.drawer-language-current { color: var(--drawer-muted); }
.drawer-language[open] .drawer-language-caret { transform: rotate(180deg); }
.drawer-language-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0 10px 6px;
    margin: 0;
    list-style: none;
}
.drawer-language-list a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding-inline: 6px;
    color: var(--drawer-text);
    text-decoration: none;
    font-size: 14px;
    overflow-wrap: anywhere;
}
.drawer-language-list [aria-current] {
    font-weight: 750;
    color: var(--drawer-accent);
    background: var(--drawer-hover);
}
.drawer-group-btn {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    min-height: 44px;
    padding: 6px 12px;
    font-size: 15px;
    font-weight: 700;
    color: var(--drawer-text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--drawer-line);
    cursor: pointer;
}
.drawer-group-chevron { color: var(--drawer-accent); }
.drawer-group.expanded .drawer-group-chevron { transform: rotate(45deg); }
.drawer-group-content {
    display: none;
    padding: 4px 12px 8px 20px;
    border-bottom: 1px solid var(--drawer-line);
}
.drawer-group.expanded .drawer-group-content {
    display: block;
}
.drawer-subgroup + .drawer-subgroup { margin-block-start: 6px; }
.drawer-subgroup ul { list-style: none; padding: 0; margin: 0; }
.drawer-subgroup-title {
    margin: 0;
    padding-block: 6px 2px;
    font-size: 13px;
    font-weight: 700;
    color: var(--drawer-muted);
}
.drawer-subgroup-link,
.drawer-actions a,
.drawer-actions button {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    gap: 5px;
    font-size: 14px;
    color: var(--drawer-accent);
    font-weight: 650;
    text-underline-offset: 3px;
}
.drawer-menu-link .mega-link-badge { margin-inline-start: auto; }
.drawer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    padding: 2px 12px;
}
.drawer-actions button { background: none; border: 0; padding: 0; cursor: pointer; }
.drawer-actions button[hidden] { display: none; }
.drawer-quick-btn:hover,
.drawer-language-list a:hover,
.drawer-group-btn:hover,
.drawer-menu-link:hover { background: var(--drawer-hover); color: var(--drawer-accent); }

/* 5. Floating Quick-Tools Dock */
.quick-dock-mobile-slot {
    display: none;
}
.quick-dock-trigger {
    position: fixed;
    bottom: 74px;
    right: 20px;
    z-index: 90;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-saffron), var(--color-saffron-dark));
    color: #fff;
    border: none;
    box-shadow: 0 4px 16px rgba(180, 75, 22, 0.35);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: transform 0.2s ease;
}
.quick-dock-trigger:hover {
    transform: scale(1.08);
}
@media (max-width: 768px) {
    .quick-dock-mobile-slot {
        display: contents;
    }
    .quick-dock-trigger {
        display: none;
    }
    .quick-dock-mobile-slot .quick-dock-trigger {
        display: inline-flex;
        position: static;
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        box-shadow: none;
    }
}
.quick-dock-tray {
    display: none;
    position: fixed;
    bottom: 130px;
    right: 12px;
    z-index: 91;
    background: #fff;
    border: 1px solid #ebd9c8;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(31, 39, 46, 0.18);
    padding: 14px;
    width: min(344px, calc(100vw - 24px));
    max-width: calc(100vw - 24px);
    box-sizing: border-box;
}
@media (min-width: 769px) {
    .quick-dock-tray {
        right: 20px;
        width: 344px;
    }
}
.quick-dock-tray.open {
    display: block;
    animation: dockSlideUp 0.2s ease-out;
}
@keyframes dockSlideUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.quick-dock-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}
.quick-dock-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--color-charcoal);
    font-size: 11px;
    line-height: 1.25;
    text-align: center;
    gap: 4px;
    min-width: 0;
    padding: 6px 3px;
    border-radius: 6px;
    overflow-wrap: anywhere;
    transition: background 0.15s;
}
.quick-dock-item span:last-child {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.quick-dock-item:hover {
    background: #faf7f2;
    color: var(--color-saffron);
}
.quick-dock-icon {
    font-size: 20px;
}

/* 6. Granular Consent Banner */
.site-footer .legal-links #footer-cookie-settings {
    background: none;
    border: 0;
    box-shadow: none;
    color: inherit;
    font: inherit;
    padding: 0;
    cursor: pointer;
}

#footer-cookie-settings:hover {
    text-decoration: underline;
}

.consent-banner {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #ebd9c8;
    border-radius: var(--radius-md);
    padding: 18px 22px;
    box-shadow: 0 12px 36px rgba(31, 39, 46, 0.15);
    z-index: 140;
}
.consent-banner.show {
    display: block;
}
@media (max-width: 900px) {
    .consent-banner {
        bottom: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
        left: 10px !important;
        right: 10px !important;
        max-width: none !important;
        padding: 10px 12px !important;
        z-index: 150 !important;
    }
    .consent-banner p {
        font-size: 12px !important;
        line-height: 1.4 !important;
    }
    .consent-banner .consent-actions {
        margin-top: 8px;
        gap: 8px;
    }
    body:has(.consent-banner.show) .quick-dock-trigger,
    .consent-banner.show ~ .quick-dock-trigger {
        display: none !important;
    }
}
body:has(#teleprompter-dock:not([hidden])) .consent-banner.show,
body:has(#teleprompter-dock:not([hidden])) .quick-dock-trigger {
    display: none !important;
}
.consent-actions {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
}
.consent-btn {
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
}
.consent-accept {
    background: var(--color-saffron);
    color: #fff;
}
.consent-essential {
    background: #fdf5ea;
    color: var(--color-charcoal);
    border-color: #ebd9c8;
}

/* 7. Dark Mode Overrides */
html[data-theme="dark"],
html[data-theme="dark"] body,
html[data-theme="dark"] #site-page,
html[data-theme="dark"] main,
html[data-theme="dark"] .hero,
html[data-theme="dark"] .stories-section {
    background-color: #14181c !important;
    color: #f1f5f9 !important;
}
[data-theme="dark"] {
    --color-saffron: #FB923C;
    --color-saffron-light: #FDBA74;
    --color-saffron-dark: #EA580C;
    --ink: #F1F5F9;
    --ink-soft: #CBD5E1;
    --muted: #94A3B8;
    --bg: #14181c;
    --bg-alt: #1a2026;
    --card: #1E252D;
    --line: #334155;
    --brand: #FB923C;
    --brand-dark: #FDBA74;
    --forest: #F8FAFC;
    --color-charcoal: #f0f3f6;
    --color-charcoal-soft: #cbd5e1;
    --color-ivory: #14181c;
    --color-sand: #1c2126;
    background: #14181c;
    color: #f0f3f6;
}
html[data-theme="dark"] .section-alt,
html[data-theme="dark"] .hero-picker,
html[data-theme="dark"] .tool-card,
html[data-theme="dark"] .sign-card,
html[data-theme="dark"] .card,
html[data-theme="dark"] .aside-card,
html[data-theme="dark"] .panchang-card,
html[data-theme="dark"] .feature,
html[data-theme="dark"] .article-card,
html[data-theme="dark"] .lang-tile,
html[data-theme="dark"] .puja-home-banner,
html[data-theme="dark"] .quick-path,
html[data-theme="dark"] .reassurance-row,
html[data-theme="dark"] .day-special-banner,
html[data-theme="dark"] .rashi-explorer-section,
html[data-theme="dark"] .cta-band,
html[data-theme="dark"] .bhaktilok-tile-card,
html[data-theme="dark"] .story-ring-inner {
    background: #1e252d !important;
    border-color: #334155 !important;
    color: #f1f5f9 !important;
}
html[data-theme="dark"] .bhaktilok-tile-card .tile-title,
html[data-theme="dark"] .story-ring-title,
html[data-theme="dark"] .stories-header h2,
html[data-theme="dark"] .section-head h2,
html[data-theme="dark"] .hero-picker-head,
html[data-theme="dark"] .pf-v,
html[data-theme="dark"] .feature h3,
html[data-theme="dark"] .article-card h3 {
    color: #f8fafc !important;
}
html[data-theme="dark"] .bhaktilok-tile-card .tile-sub,
html[data-theme="dark"] .sign-card-teaser,
html[data-theme="dark"] .breadcrumbs,
html[data-theme="dark"] .section-head p,
html[data-theme="dark"] .hero-sub,
html[data-theme="dark"] .pf-k {
    color: #cbd5e1 !important;
}
html[data-theme="dark"] .site-footer {
    background: #101418 !important;
    border-top: 1px solid #2e363e;
    color: #e2e8f0 !important;
}
html[data-theme="dark"] .site-footer a {
    color: #fdba74 !important;
}
[data-theme="dark"] .site-header,
[data-theme="dark"] .mobile-bottom-bar,
[data-theme="dark"] .mobile-drawer,
[data-theme="dark"] .mega-dropdown-panel,
[data-theme="dark"] .quick-dock-tray,
[data-theme="dark"] .consent-banner {
    background: #1a1f24f5;
    border-color: #2e363e;
    color: #f0f3f6;
}
[data-theme="dark"] .mobile-drawer a,
[data-theme="dark"] .mobile-drawer summary,
[data-theme="dark"] .mobile-nav-item,
[data-theme="dark"] .quick-dock-item,
[data-theme="dark"] .consent-essential {
    color: #f1f5f9 !important;
}
[data-theme="dark"] .mobile-drawer {
    --drawer-text: #f1f5f9;
    --drawer-muted: #ded1c6;
    --drawer-line: #38424d;
    --drawer-accent: #fed7aa;
    --drawer-hover: #28313b;
}
[data-theme="dark"] .consent-essential,
[data-theme="dark"] .header-icon-btn,
[data-theme="dark"] .lang-switch summary,
[data-theme="dark"] .lang-menu {
    background: #232a31 !important;
    border-color: #38424d !important;
    color: #f1f5f9 !important;
}
[data-theme="dark"] .lang-menu a {
    color: #f1f5f9 !important;
}
[data-theme="dark"] .mega-promo-card,
[data-theme="dark"] .guidance-box {
    background: #232a31;
    border-color: #35404b;
}

/* Dark mode accessible text contrast (WCAG AAA >= 7:1) */
[data-theme="dark"] .mega-col-title {
    color: #fdba74 !important;
}
[data-theme="dark"] .mega-col-list a {
    color: #f1f5f9 !important;
}
[data-theme="dark"] .mega-col-list a:hover,
[data-theme="dark"] .mega-col-list a:focus-visible {
    color: #fed7aa !important;
    background: #28313b !important;
}
[data-theme="dark"] .mega-promo-card h4 {
    color: #fef3c7 !important;
}
[data-theme="dark"] .mega-promo-desc {
    color: #cbd5e1 !important;
}
[data-theme="dark"] .nav-cat-btn {
    color: #f1f5f9;
    background: #222931;
    border-color: #38424d;
}
[data-theme="dark"] .nav-cat-btn:hover,
[data-theme="dark"] .nav-cat-btn[aria-expanded="true"] {
    color: #fed7aa;
    background: #2b3540;
    border-color: #ea580c;
}
/* 8. Quick Tools Modal System (Zero document-flow leakage) */
.modal {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1060;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
    background: rgba(0, 0, 0, 0.65);
    padding: 16px;
    box-sizing: border-box;
}
.modal.show,
.modal.is-active {
    display: flex !important;
    align-items: center;
    justify-content: center;
}
.modal-dialog {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: auto;
    pointer-events: auto;
}
.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #ffffff;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    border: 1px solid #ebd9c8;
}
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    background: #faf6f0;
    border-bottom: 1px solid #ebd9c8;
}
.modal-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #3b1e08;
}
.modal-body {
    position: relative;
    padding: 18px;
}
.btn-close {
    background: transparent;
    border: none;
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
    color: #7a5c4d;
}
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    opacity: 0.5;
    z-index: 1050;
}

/* Reduced-motion drawer rule must follow the base transition declaration. */
@media (prefers-reduced-motion: reduce) {
    .mobile-drawer { transition: none; }
}

/* Responsive Desktop Header Optimization (1241px+) to prevent action overflow inside bounded containers */
@media (min-width: 1241px) {
    .site-header {
        padding: 0 8px;
    }
    .site-header .header-inner {
        gap: 8px;
        padding: 4px 10px;
    }
    .site-header .brand {
        gap: 6px;
    }
    .site-header .site-logo-img {
        width: 32px;
        height: 32px;
    }
    .site-header .brand-text {
        font-size: 17px;
    }
    .site-header .brand-tagline {
        display: none;
    }
    .site-header .mega-nav {
        gap: 1px;
        min-width: 0;
    }
    .site-header .mega-menu-btn {
        padding: 5px 5px;
        font-size: 15px;
        line-height: 1.4;
        gap: 2px;
    }
    .site-header .header-actions {
        gap: 4px;
    }
    .site-header .header-actions .lang-switch summary {
        padding: 4px 8px !important;
        font-size: 11.5px !important;
        gap: 3px !important;
    }
    .site-header .header-actions [data-install] {
        padding: 4px 8px !important;
        font-size: 11px !important;
    }
    .site-header .header-action-circle {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }
    .site-header .header-icon-btn {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
}

@media (min-width: 1241px) and (max-width: 1360px) {
    .site-header .mega-menu-btn {
        font-size: 14px;
        padding: 5px 4px;
        gap: 2px;
    }
    .site-header .mega-menu-btn > span:first-child {
        font-size: 11px;
    }
    .site-header .mega-menu-arrow {
        font-size: 7px;
    }
    :is(:lang(ta), :lang(te), :lang(ml)) .site-header .mega-menu-btn {
        font-size: 13px;
    }
}

@media (min-width: 1241px) {
    :is(:lang(ta), :lang(te), :lang(ml)) .site-header .mobile-header-secondary {
        max-inline-size: 72px;
        white-space: normal;
        overflow-wrap: anywhere;
        line-height: 1.3;
    }
}

@media (min-width: 1440px) {
    .site-header .mega-menu-btn {
        font-size: 16px;
    }
}

@media (min-width: 1361px) {
    :lang(ml) .site-header .mega-menu-btn {
        font-size: 14px;
    }
}

/* ==========================================================================
   Mobile-First Header & Navigation Fixes (WCAG 2.1 AA, Viewports 320px - 768px)
   Resolves MA-001 (Header clipping & Hamburger visibility) and MA-014 (Touch targets)
   ========================================================================== */
@media (max-width: 1240px) {
    /* Anchor the language list to the full header on narrow screens. */
    .header-actions .lang-switch {
        position: static;
    }
    .header-actions .lang-switch .lang-menu {
        inset-inline-end: 8px;
        width: min(260px, calc(100% - 16px));
        min-width: 0;
        max-height: min(380px, calc(100dvh - 100px));
    }
    .site-header .brand { margin-inline-end: auto; }
    #mobile-menu-open-btn {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
        font-size: 22px !important;
        border-radius: 8px !important;
        background: transparent !important;
        border: 1px solid transparent !important;
        color: var(--color-saffron-dark, #862d19) !important;
        box-shadow: none;
        cursor: pointer;
    }
    #mobile-menu-open-btn:hover,
    #mobile-menu-open-btn:active {
        background: #FFEDD5 !important;
        border-color: #EA580C !important;
    }
    [data-theme="dark"] #mobile-menu-open-btn { color: #fed7aa !important; }
    [data-theme="dark"] #mobile-menu-open-btn:hover,
    [data-theme="dark"] #mobile-menu-open-btn:active { background: #28313b !important; }
}

@media (max-width: 768px) {
    .header-hide-mobile {
        display: none !important;
    }
    .header-actions .lang-switch { display: none; }
    .header-actions {
        gap: 6px;
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .site-header {
        padding: 0 6px;
    }
    .header-inner {
        padding: 5px 8px;
        gap: 6px;
        min-height: 54px;
        box-sizing: border-box;
    }
    .brand-tagline {
        display: none !important;
    }
    .brand-text {
        font-size: 15.5px !important;
        white-space: nowrap;
    }
    .site-logo-img {
        width: 32px !important;
        height: 32px !important;
    }
    .header-actions {
        gap: 4px;
        flex-shrink: 0;
    }
    .header-actions .lang-switch summary {
        padding: 4px 8px !important;
        font-size: 11px !important;
        min-height: 44px !important;
        min-width: 44px !important;
    }
    .header-icon-btn {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
    }
}

@media (max-width: 360px) {
    .site-header {
        padding: 0 4px;
    }
    .site-header .header-inner {
        padding: 4px 5px;
        gap: 6px;
    }
    .brand {
        gap: 4px;
    }
    .site-logo-img {
        width: 28px !important;
        height: 28px !important;
    }
    .brand-text {
        font-size: 13.5px !important;
    }
    .header-actions .lang-switch summary {
        padding: 3px 6px !important;
        font-size: 11px !important;
        gap: 2px !important;
        min-height: 44px !important;
        min-width: 44px !important;
    }
    .header-icon-btn {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
    }
    #mobile-menu-open-btn {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
        font-size: 20px !important;
    }
}

@media (max-width: 420px) {
    .header-actions [data-install] {
        display: none !important;
    }
}

/* === design.css === */
/* OMAAA design system — shared by the website and its installed app.
   Load after app.css, which supplies the existing calculator/result components.
   Reuse these tokens and components for new modules; see docs/UI_DESIGN_SYSTEM.md. */
:root {
    --brand: #c1121f;
    --brand-dark: #92370d;
    --brand-light: #e65100;
    --accent: #d97706;
    --gold: #c97c1a;
    --gold-soft: #f4ce8b;
    --maroon: #541d24;
    --maroon-2: #732630;
    --ink: #2a0b10;
    --ink-soft: #5c4a4d;
    --muted: #7b6569;
    --line: #ebd9c8;
    --bg: #ffffff;
    --bg-alt: #fffaf3;
    --bg-deep: #3d060e;
    --card: #ffffff;
    --ok: #286348;
    --ok-bg: #e9f1e8;
    --warn: #a03d28;
    --warn-bg: #faece5;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 4px 18px rgba(84, 29, 36, .06);
    --shadow-lg: 0 12px 32px rgba(84, 29, 36, .10);
    --wrap: 1240px;
    --gap: 20px;
    --header-height: 72px;
    --forest: #541d24;
    --surface-saffron: #fdf5ea;
    --midnight: #2a060d;
    --violet: #b44b16;
}

/* Base and accessible interactions */
body { font-size: 16px; line-height: 1.7; }
button, input, select, textarea { font-family: inherit; }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -.025em; }
h1 { font-size: clamp(28px, 4vw, 44px); }
a, button, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
[hidden] { display: none !important; }
::selection { color: var(--forest); background: #efdbad; }
.ui-icon { width: 24px; height: 24px; flex: none; vertical-align: middle; }
.wrap { padding-inline: 32px; }
.wrap-narrow { max-width: 820px; }
.section { padding-block: 68px; }
.section-tight { padding-block: 12px 48px; }
main { min-height: 55vh; }
:where(section, [id]) { scroll-margin-top: calc(var(--header-height) + 16px); }
.section-head { max-width: none; margin: 0 0 30px; text-align: start; }
.section-head h2 { font-size: clamp(27px, 3vw, 36px); margin-bottom: 10px; }
.section-head h2::after { display: none; }
.section-head p { max-width: 65ch; font-size: 15px; }
.section-head .section-kicker { color: var(--brand-dark); font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; margin: 0 0 9px; }
.section-more { display: inline-block; margin-top: 12px; font-size: 14px; }
.section-head-row { align-items: end; }
.section-alt { background: var(--bg-alt); }
.skip-link { position: fixed; left: 16px; top: 0; z-index: 100; transform: translateY(-120%); }
.skip-link:focus { left: 16px; transform: translateY(0); }

/* Quiet, spacious navigation */
.site-header { background: rgba(252, 250, 247, .97); backdrop-filter: blur(14px); }
.header-inner { min-height: var(--header-height); gap: 24px; position: relative; }
.brand { gap: 10px; flex: none; }
.brand-lockup { display: flex; flex-direction: column; }
.brand-text { font-size: 23px; letter-spacing: -.035em; line-height: 1.3; }
.brand-tagline { font-family: var(--font); font-size: 9px; font-weight: 500; letter-spacing: .02em; color: var(--muted); margin-top: 3px; }
.brand-mark { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: var(--gold-soft); }
.brand-mark .ui-icon { width: 26px; height: 26px; }
.site-nav { gap: 20px; }
.site-nav > ul { gap: 2px; }
.site-nav a { font-size: 13px; font-weight: 600; padding: 10px; border-radius: 8px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: #eeeee4; color: var(--forest); }
.lang-switch summary { min-height: 44px; font-size: 12px; padding: 9px 12px; background: var(--card); border-radius: 10px; }
.lang-switch summary .lang-flag { font-size: 15px; }
.lang-switch summary .ui-icon { width: 16px; height: 16px; }
.lang-menu .lang-flag { display: none; }
.lang-menu { min-width: 250px; background: var(--card); }
.lang-menu .lang-en { margin-inline-start: auto; }
.lang-menu .is-current { background: var(--bg-alt); }
.nav-toggle { position: absolute; width: 44px; height: 44px; inset-inline-end: 32px; opacity: 0; margin: 0; z-index: 2; cursor: pointer; }
.nav-toggle-btn { border: 1px solid var(--line); border-radius: 12px; background: var(--card); padding: 10px; flex: none; }
.nav-toggle-btn span { background: var(--forest); width: 20px; height: 1.5px; margin: 3px auto; }
.nav-toggle:focus-visible + .nav-toggle-btn { outline: 3px solid var(--brand); outline-offset: 3px; }
.nav-toggle:checked + .nav-toggle-btn span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle:checked + .nav-toggle-btn span:nth-child(2) { opacity: 0; }
.nav-toggle:checked + .nav-toggle-btn span:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }

/* Buttons and form surfaces */
.btn { min-height: 48px; padding: 12px 22px; border-radius: 10px; font-size: 14px; line-height: 1.5; font-weight: 600; transition: background .2s, box-shadow .2s, transform .2s; }
.btn .ui-icon { width: 18px; height: 18px; }
.btn-primary { box-shadow: 0 4px 10px rgba(173, 72, 37, .12); }
.btn-ghost { background: transparent; border-color: #d5dbd0; color: var(--forest); }
.btn-ghost:hover { background: #f0f2e9; border-color: var(--forest); }
.btn-sm { min-height: 44px; padding: 9px 15px; font-size: 13px; }
.btn-lg { padding: 14px 28px; }
.input, .select, .textarea { min-height: 52px; border-color: #d5dbd0; background: var(--card); font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.input:focus, .select:focus, .textarea:focus { outline: 2px solid var(--brand); outline-offset: 2px; border-color: var(--brand); }
.form-row label { color: var(--ink); font-size: 14px; }
.form-row label .hint { display: inline; font-size: 12px; }
.calc-form { max-width: 760px; margin: 0 auto 20px; padding: 32px; border-top: 3px solid #d7bc83; }
.calc-form + .result, .calc-form ~ .result { max-width: 960px; margin-inline: auto; }
main .wrap:has(> .calc-form) > .section-head { max-width: 760px; margin-inline: auto; }
.result-hero { background: var(--surface-saffron); border: 1px solid #eddfc5; }
.calc-note { color: var(--muted); }
.calc-table { overflow-wrap: anywhere; }
.calc-table th, .calc-table td { padding: 13px 12px; }
.calc-table tbody tr:nth-child(even) { background: #f8f9f3; }
.meaning-card, .aside-card, .card, .verdict-wrap { box-shadow: var(--shadow); }
.rating-hero { background: var(--card); border: 1px solid var(--line); border-inline-start: 4px solid var(--sign); }
.reading-grid > aside { position: sticky; top: calc(var(--header-height) + 24px); }
.section-block h3, .tool-card h3, .feature h3 { font-family: var(--font); letter-spacing: -.015em; }
.section-block { padding-block: 26px; }
.breadcrumbs { margin-bottom: 24px; font-size: 12px; }
.page-head { background: var(--forest); }
.page-head p { color: #d4e0d4; }
.cta-note { color: var(--muted); }

/* Hero: editorial copy alongside a locally drawn celestial chart */
.hero { color: var(--ink); background: var(--bg); padding: 48px 0 32px; }
.hero-inner { grid-template-columns: 1.05fr 1fr; gap: 70px; align-items: center; }
.hero-copy { padding-block: 18px; }
.hero-eyebrow { display: flex; align-items: center; gap: 9px; color: var(--brand-dark); font-size: 11px; letter-spacing: .15em; margin-bottom: 20px; }
.hero-eyebrow span { font-size: 18px; }
.hero-title { color: var(--forest); font-size: clamp(40px, 4.8vw, 65px); font-weight: 500; line-height: 1.1; text-shadow: none; letter-spacing: -.045em; max-width: 12ch; margin-bottom: 24px; }
.font-devanagari .hero-title { font-size: clamp(32px, 3.5vw, 48px); max-width: 16ch; line-height: 1.35; letter-spacing: -.025em; }
.hero-sub { color: var(--ink-soft); font-size: 16px; max-width: 45ch; line-height: 1.85; }
.hero-actions { gap: 12px; margin-top: 30px; }
.hero-actions .btn { font-size: 13px; }
.hero-note { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; margin: 18px 0 0; }
.hero-note .ui-icon { width: 14px; height: 14px; }
.hero-sky { position: relative; background: var(--forest); border-radius: 140px 140px 22px 22px; color: var(--gold-soft); padding: 30px 28px 22px; overflow: hidden; isolation: isolate; }
.hero-sky::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .4; background: radial-gradient(circle at 20% 30%, #cbaa62 0 1px, transparent 1.7px), radial-gradient(circle at 78% 18%, #cbaa62 0 1px, transparent 1.7px), radial-gradient(circle at 80% 74%, #cbaa62 0 1px, transparent 1.7px), radial-gradient(ellipse at 50% 50%, #356353, transparent 65%); }
.sky-heading { display: flex; align-items: center; justify-content: center; gap: 7px; color: #e8e9d3; font-size: 10px; letter-spacing: .09em; }
.sky-heading > span:last-child { color: #b9cdbb; border-inline-start: 1px solid #5a7966; padding-inline-start: 12px; margin-inline-start: 5px; }
.sky-dot { width: 5px; height: 5px; background: #edcc8c; border-radius: 50%; }
.celestial-wheel { display: block; width: min(100%, 346px); margin: 14px auto 0; }
.wheel-glyph { font-family: "Segoe UI Symbol", "Apple Symbols", "Noto Sans Symbols 2", sans-serif; font-size: 23px; }
.sky-caption { font-family: var(--display, var(--font)); text-align: center; font-size: 15px; color: #e2dbb6; margin: 8px 0 18px; }
.sky-almanac { display: flex; align-items: center; gap: 18px; border-top: 1px solid #456553; padding-top: 16px; }
.sky-almanac > div { flex: 1; min-width: 0; }
.sky-almanac > div + div { border-inline-start: 1px solid #456553; padding-inline-start: 18px; }
.sky-almanac span { display: block; font-size: 10px; color: #c1cfb7; margin-bottom: 3px; }
.sky-almanac strong { display: block; color: #f5ebd5; font-size: 14px; font-weight: 500; }
.sky-almanac a { color: #edcc8c; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #627d5e; border-radius: 50%; flex: none; }
.sky-almanac a:hover { background: #28594c; }

/* Sign selection is a genuine navigation component, independent of JS. */
.hero-picker { margin-top: 38px; padding: 22px 24px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.picker-heading { display: flex; align-items: baseline; gap: 16px; margin-bottom: 17px; }
.hero-picker-head { color: var(--forest); font-family: var(--font); font-size: 14px; font-weight: 600; margin: 0; }
.picker-heading > span { color: var(--muted); font-size: 11px; }
.sign-chips { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 5px; }
.sign-chip { background: transparent; border: 1px solid transparent; border-radius: 10px; gap: 9px; padding: 8px 2px; color: var(--ink); }
.sign-chip:hover { transform: translateY(-2px); background: var(--bg-alt); border-color: #d5dbd0; box-shadow: none; }
.sign-chip-sym { font-size: 24px; color: var(--forest); }
.sign-chip-name { font-size: 10px; font-weight: 500; }

/* Shortcut rows and restrained, readable content cards */
.quick-paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-block: 0 8px; }
.quick-path { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: #f4f2e8; color: var(--ink); transition: background .2s, border-color .2s; }
.quick-path:hover { text-decoration: none; border-color: #bfc9b9; background: #eeefe2; }
.quick-path > span:nth-child(2) { flex: 1; }
.quick-path strong { display: block; font-size: 14px; font-weight: 600; }
.quick-path small { display: block; font-size: 11px; color: var(--ink-soft); margin-top: 2px; }
.quick-icon { color: var(--brand); }
.quick-path > .ui-icon { width: 17px; height: 17px; color: var(--muted); }
.sign-grid { gap: 18px; }
.sign-card { padding: 22px; border: 1px solid var(--line); gap: 12px; position: relative; }
.sign-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #b6c7b5; }
.sign-card-sym { border-radius: 50%; color: var(--sign, var(--forest)); background: #f2f3eb; box-shadow: none; width: 46px; height: 46px; font-size: 25px; }
.sign-card-name { font-family: var(--font); font-size: 15px; font-weight: 600; }
.sign-card-id { min-width: 0; }
.sign-card-range { font-size: 10px; margin-top: 2px; }
.sign-card-teaser { font-size: 12px; line-height: 1.8; }
.stars { font-size: 12px; gap: 3px; }
.star.on { color: #96702c; }
.chip { font-size: 10px; padding: 4px 8px; }
.chip-lucky { background: var(--surface-saffron); color: #805214; }
.sign-card-link { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 2px; font-size: 11px; color: var(--forest); font-weight: 600; }
.sign-card-link span { font-size: 18px; font-weight: 400; }
.period-strip { gap: 8px; margin-bottom: 24px; }
.period-strip a { border-radius: 9px; padding: 11px 20px; background: var(--card); color: var(--ink-soft); font-size: 12px; min-height: 44px; }
.period-strip a:hover, .period-strip a.is-active { background: var(--forest); border-color: var(--forest); }
.tool-card { padding: 26px; gap: 10px; box-shadow: none; }
.tool-card:hover { border-color: #c8d1bf; transform: translateY(-3px); }
.tool-card-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--surface-saffron); color: var(--brand); margin-bottom: 6px; }
.tool-card:nth-child(3n + 2) .tool-card-icon { background: #eaf0e6; color: #3b644e; }
.tool-card:nth-child(3n) .tool-card-icon { background: #f1ecf3; color: #785c7e; }
.tool-card h3 { font-weight: 600; font-size: 17px; }
.tool-card p { font-size: 13px; line-height: 1.8; }
.tool-card-cta { display: block; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12px; color: var(--forest); }
.tool-grid-4 .tool-card { background: #f9f6f2; }
.tool-grid-4 .tool-card-icon { background: #f4e9e4; color: #995545; }
.panchang-card { padding: 30px; gap: 30px; }
.panchang-facts { gap: 20px; align-content: start; }
.pf { padding-bottom: 14px; border-bottom: 1px solid var(--line); gap: 5px; }
.pf-k { font-size: 11px; letter-spacing: .02em; }
.pf-v { font-size: 15px; font-weight: 600; }
.pf-v .muted { display: block; font-size: 11px; font-weight: 400; }
.window-col { background: #f3f6ed; border-radius: 12px; padding: 16px; }
.window-bad { background: #fbf2ec; }
.window-col h3 { font-family: var(--font); font-size: 12px; font-weight: 600; }
.window-col li { padding-block: 10px; }
.w-name { font-size: 12px; }
.w-time { font-size: 11px; color: var(--ink-soft); }
.panchang-windows { padding-inline-start: 24px; gap: 12px; }
.feature { text-align: start; padding: 18px 10px 10px 0; }
.feature-icon { width: 44px; height: 44px; border-radius: 50%; background: #eeefe2; color: var(--forest); }
.feature h3 { font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.feature p { font-size: 12px; line-height: 1.85; }
.article-card { padding: 26px; box-shadow: none; border-top: 3px solid #c5b484; }
.article-card h3 { line-height: 1.5; }
.faq-item summary { min-height: 56px; padding-inline-end: 52px; }
.lang-grid { gap: 12px; }
.lang-tile { padding: 17px 12px; border-radius: 12px; gap: 5px; }
.lang-tile .lang-flag { display: none; }
.lang-native { font-size: 16px; font-weight: 500; }
.lang-en { font-size: 10px; }
.cta-band { background: var(--forest); margin: 24px 32px 0; border-radius: 22px; padding-block: 48px; }
.cta-band .cta-inner { max-width: 720px; }
.cta-band .cta-note { color: #c4d2bd; font-size: 11px; }
.cta-band .btn-primary { background: #edcc8c; color: var(--forest); box-shadow: none; }
.cta-inner h2 { font-size: 34px; margin-bottom: 20px; }

/* Footer and mobile app shell */
.site-footer { background: var(--bg); color: var(--ink-soft); margin-top: 30px; }
.footer-grid { padding-block: 48px 32px; gap: 40px; }
.brand-footer { color: var(--forest); }
.brand-footer .brand-mark { width: 28px; height: 28px; font-size: 16px; }
.brand-footer .brand-mark .ui-icon { width: 19px; height: 19px; }
.footer-col h2 { color: var(--forest); font-family: var(--font); font-size: 11px; letter-spacing: .1em; }
.footer-col a { color: var(--ink-soft); font-size: 12px; padding-block: 6px; }
.footer-col a:hover { color: var(--brand); }
.footer-about p { color: var(--ink-soft); font-size: 12px; line-height: 1.9; }
.footer-about-links { display: flex; flex-wrap: wrap; gap: 0 15px; }
.footer-langs .lang-list { display: grid; grid-template-columns: 1fr 1fr; }
.footer-legal { border-color: var(--line); }
.disclaimer { color: var(--muted); font-size: 10px; max-width: 95ch; }
.footer-bottom p, .legal-links a { font-size: 11px; }
.mobile-dock { display: none; }
.install-button { margin-block: 6px; }
.offline-page { padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom); }
.offline-shell { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; padding-block: 48px; }
.offline-shell img { margin-bottom: 12px; }
.offline-shell h1 { font-size: clamp(36px, 7vw, 56px); margin-bottom: 12px; }
.offline-shell p { max-width: 48ch; color: var(--ink-soft); }
.offline-shell .section-kicker { font-size: 10px; letter-spacing: .12em; color: var(--brand-dark); margin: 0; }

/* Responsive: all widths use the same server-rendered pages. */
@media (max-width: 1180px) {
    .site-nav { gap: 10px; }
    .site-nav a { padding-inline: 7px; font-size: 12px; }
    .brand-text { font-size: 21px; }
    .brand-tagline { font-size: 8px; }
    .hero-inner { gap: 40px; }
    .sign-chips { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
    .sign-chip { flex-direction: row; justify-content: center; gap: 8px; padding-block: 10px; }
    .sign-chip-name { font-size: 11px; }
}
@media (max-width: 1024px) {
    :root { --header-height: 76px; }
    .site-nav > ul { gap: 0; }
    .header-inner { gap: 12px; }
    .brand-tagline { display: none; }
    .brand-text { font-size: 19px; }
    .brand-mark { width: 34px; height: 34px; }
    .hero-title { font-size: 52px; }
    .hero-inner { gap: 32px; }
    .sign-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .quick-path { padding: 16px; gap: 10px; }
    .quick-path small { font-size: 10px; }
    .tool-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .reading-grid > aside { position: static; }
}
@media (max-width: 900px) {
    :root { --header-height: 72px; }
    .site-nav { position: absolute; inset: 100% 0 auto; margin: 0; display: none; flex-direction: column; align-items: stretch; gap: 8px; padding: 18px 24px; background: var(--card); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); max-height: min(75vh, 560px); overflow-y: auto; }
    .site-nav > ul { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
    .site-nav a { display: block; padding: 13px 12px; font-size: 14px; border: 0; border-radius: 10px; }
    .nav-toggle { display: block; }
    .nav-toggle-btn { display: flex; flex-direction: column; justify-content: center; margin-inline-start: auto; width: 44px; height: 44px; }
    .nav-toggle:checked ~ .site-nav { display: flex; max-height: min(75vh, 560px); padding: 18px 24px; }
    .lang-switch { padding: 6px 0; }
    .lang-switch summary { display: flex; justify-content: center; }
    .lang-menu { position: static; box-shadow: none; margin-top: 8px; max-height: 200px; min-width: 0; }
    .brand-text { font-size: 22px; }
    .brand-tagline { display: block; font-size: 8px; }
    .brand-mark { width: 38px; height: 38px; }
    .hero-title { font-size: 45px; }
    .hero-actions { flex-direction: column; align-items: start; }
    .hero-sub { font-size: 14px; }
    .hero-sky { padding: 24px 22px 20px; border-radius: 100px 100px 20px 20px; }
    .sky-heading { font-size: 9px; }
    .quick-path > .ui-icon { display: none; }
    .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .panchang-card { grid-template-columns: 1fr; }
    .panchang-windows { padding-inline-start: 0; border-inline-start: 0; border-top: 1px solid var(--line); padding-top: 22px; }
}
@media (max-width: 760px) {
    :root { --header-height: 68px; }
    body { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
    .wrap { padding-inline: 22px; }
    .hero { padding-top: 22px; }
    .hero-inner { grid-template-columns: 1fr 1fr; gap: 26px; }
    .hero-title { font-size: 39px; }
    .sky-heading { flex-wrap: wrap; }
    .sky-almanac { gap: 10px; }
    .sky-almanac a { width: 36px; height: 36px; }
    .sky-almanac strong { font-size: 12px; }
    .sign-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .section { padding-block: 48px; }
    .section-tight { padding-block: 4px 30px; }
    .quick-paths { gap: 10px; }
    .quick-path { flex-direction: column; align-items: start; gap: 6px; padding: 14px; }
    .quick-path strong { font-size: 12px; }
    .quick-path small { line-height: 1.5; font-size: 10px; }
    .mobile-dock { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: fixed; z-index: 45; bottom: 0; inset-inline: 0; padding: 8px max(10px, env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 254, 250, .97); border-top: 1px solid var(--line); backdrop-filter: blur(14px); box-shadow: 0 -5px 24px rgba(24, 62, 54, .04); }
    .mobile-dock a { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 52px; gap: 5px; color: #647368; border-radius: 12px; padding: 5px 1px; }
    .mobile-dock a[aria-current="page"] { color: var(--brand-dark); background: #faf0e6; }
    .mobile-dock a:hover { text-decoration: none; background: var(--bg-alt); }
    .mobile-dock .ui-icon { width: 21px; height: 21px; }
    .mobile-dock span { max-width: 100%; overflow-wrap: anywhere; font-size: 9px; font-weight: 600; line-height: 1.5; text-align: center; }
    .calc-form { padding: 24px; }
    .cta-band { margin-inline: 22px; padding-block: 36px; }
    .cta-inner h2 { font-size: 28px; }
    .footer-grid { gap: 28px; }
}
@media (max-width: 600px) {
    .hero-inner { grid-template-columns: 1fr; gap: 24px; }
    .hero-copy { padding-top: 12px; padding-bottom: 0; }
    .hero-eyebrow { font-size: 10px; margin-bottom: 15px; }
    .hero-title { font-size: clamp(40px, 10vw, 54px); max-width: 13ch; line-height: 1.12; margin-bottom: 18px; }
    .font-devanagari .hero-title { font-size: 35px; max-width: 17ch; }
    .hero-sub { font-size: 14px; max-width: 45ch; }
    .hero-actions { flex-direction: row; margin-top: 20px; gap: 9px; }
    .hero-actions .btn { padding: 12px 15px; font-size: 12px; }
    .hero-sky { display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 20px; border-radius: 22px; }
    .sky-heading { grid-column: 1 / -1; justify-content: start; font-size: 10px; margin-bottom: 7px; }
    .celestial-wheel { grid-row: 2 / 4; width: 100%; margin: 8px 0 0; }
    .sky-caption { font-size: 14px; text-align: start; margin: 5px 0 0 20px; }
    .sky-almanac { flex-wrap: wrap; margin-inline-start: 20px; margin-top: 12px; padding-top: 12px; gap: 12px; }
    .sky-almanac > div { flex: 1 1 100%; }
    .sky-almanac > div + div { border: 0; padding: 0; }
    .sky-almanac a { display: none; }
    .hero-picker { margin-top: 22px; padding: 18px 12px; }
    .picker-heading { flex-direction: column; gap: 2px; padding-inline: 6px; margin-bottom: 14px; }
    .picker-heading > span { font-size: 10px; }
    .sign-chips { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
    .sign-chip { flex-direction: column; gap: 6px; padding: 9px 1px; background: #f7f7ef; }
    .sign-chip-name { font-size: 10px; }
    .sign-chip-sym { font-size: 22px; }
    .hero { padding-bottom: 22px; }
    .quick-paths { gap: 8px; }
    .quick-path { padding: 12px 10px; border-radius: 12px; }
    .quick-icon .ui-icon { width: 20px; height: 20px; }
    .quick-path strong { font-size: 11px; }
    .quick-path small { font-size: 9px; }
    .section-head { margin-bottom: 24px; }
    .section-head h2 { font-size: 27px; }
    .section-head p { font-size: 13px; }
    .sign-grid { gap: 12px; }
    .sign-card { padding: 15px; gap: 10px; border-radius: 15px; }
    .sign-card-top { flex-direction: column; align-items: start; gap: 10px; }
    .sign-card-name { font-size: 14px; }
    .sign-card-range { font-size: 10px; }
    .sign-card-sym { width: 38px; height: 38px; font-size: 22px; }
    .sign-card-teaser { font-size: 11px; }
    .sign-card-foot { gap: 5px; }
    .chip { font-size: 9px; padding: 4px 7px; }
    .period-strip { gap: 6px; }
    .period-strip a { padding: 10px 13px; font-size: 11px; }
    .tool-grid, .tool-grid-4 { grid-template-columns: 1fr; gap: 12px; }
    .tool-card { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; row-gap: 6px; padding: 20px; border-radius: 15px; }
    .tool-card-icon { grid-column: 1; grid-row: 1 / 4; width: 44px; height: 44px; margin: 0; border-radius: 12px; }
    .tool-card h3, .tool-card p, .tool-card-cta { grid-column: 2; }
    .tool-card h3 { font-size: 16px; }
    .tool-card p { font-size: 12px; }
    .tool-card-cta { border: 0; padding: 0; margin-top: 4px; font-size: 11px; }
    .panchang-card { padding: 20px; gap: 22px; }
    .panchang-facts { gap: 14px; }
    .pf-v { font-size: 13px; }
    .panchang-windows { gap: 8px; padding-top: 18px; }
    .window-col { padding: 12px; }
    .w-name { font-size: 11px; }
    .w-time { font-size: 10px; }
    .feature-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .feature { padding: 0; }
    .feature h3 { font-size: 14px; }
    .feature p { font-size: 11px; }
    .lang-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .lang-tile { padding: 14px 6px; }
    .lang-native { font-size: 14px; }
    .lang-en { font-size: 9px; }
    .calc-form { padding: 20px; }
    .form-actions { flex-wrap: wrap; }
    .form-actions .btn-primary { flex: 1; }
    .result-hero { padding: 20px; gap: 15px; }
    .result-number { font-size: 45px; }
    .result-meta h2 { font-size: 22px; }
    .result-number small { font-size: 18px; }
    .rating-hero { padding: 18px; }
    .rating-hero .sign-card-sym { width: 45px; height: 45px; }
    .rating-score { font-size: 30px; }
    .calc-table th, .calc-table td { padding: 10px 6px; font-size: 11px; }
    .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat { padding: 12px; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 18px; padding-top: 32px; }
    .footer-about { grid-column: 1 / -1; }
    .footer-bottom { align-items: start; }
    .brand-text { font-size: 20px; }
    .nav-toggle { inset-inline-end: 22px; }
}
@media (max-width: 360px) {
    .wrap { padding-inline: 16px; }
    .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .hero-title { font-size: 39px; }
    .font-devanagari .hero-title { font-size: 31px; }
    .hero-actions .btn { width: 100%; }
    .sign-card { padding: 12px; }
    .sky-caption { font-size: 12px; }
    .nav-toggle { inset-inline-end: 16px; }
    .brand-tagline { font-size: 7px; }
}
@media (display-mode: standalone) {
    .site-header { padding-top: env(safe-area-inset-top); }
    .hero { padding-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
    .tool-card:hover, .sign-card:hover, .sign-chip:hover { transform: none; }
}
[dir="rtl"] .hero-title { max-width: 16ch; line-height: 1.55; }
[dir="rtl"] .feature { padding-inline: 0 10px; }
/* Locale artwork edition — BhaktiLok sacred devotional radiance */
.hero {
    background: linear-gradient(135deg, #FFF9F0 0%, #FFF3E0 50%, #FFE9CC 100%);
    padding-top: 0; padding-bottom: 38px; color: #2C1810;
    border: 1px solid #F6D8B3; border-radius: 24px; box-shadow: 0 10px 30px rgba(230, 81, 0, 0.07);
}
.hero-topline { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding-block: 18px; border-bottom: 1px solid rgba(230, 81, 0, .15); margin-bottom: 34px; }
.hero-topline > span { display: flex; gap: 8px; align-items: center; font-size: 11px; letter-spacing: .035em; color: #E65100; font-weight: 700; }
.hero-topline .ui-icon { width: 16px; height: 16px; }
.hero-topline time { color: #5C4033; font-size: 11px; }
.hero-inner { gap: 48px; grid-template-columns: 1fr 1.05fr; }
.hero-eyebrow { color: #E65100; font-size: 11px; letter-spacing: .12em; font-weight: 700; }
.hero-title { color: #541D24; font-size: clamp(42px, 5.2vw, 64px); max-width: 15ch; line-height: 1.15; font-weight: 800; }
.hero-title-accent { display: block; color: #E65100; font-style: normal; }
.hero-sub { color: #5C4033; font-size: 16px; line-height: 1.8; max-width: 44ch; }
.hero-actions .btn-primary { color: #fff; background: linear-gradient(115deg, #E65100, #F57C00); box-shadow: 0 6px 22px rgba(230, 81, 0, .28); border: none; }
.hero-actions .btn-primary:hover { background: #C94000; box-shadow: 0 8px 24px rgba(230, 81, 0, .35); }
.hero-actions .btn-ghost { color: #541D24; background: #ffffff; border-color: #E65100; }
.hero-actions .btn-ghost:hover { background: #FFF3E0; color: #E65100; }
.hero-note { color: #7A5C4D; font-size: 12px; }
.hero .hero-artwork { min-height: 390px; aspect-ratio: 1.38; display: block; padding: 0; border-radius: 24px; border: 2px solid #F6D8B3; background: #FFF5EB; box-shadow: 0 16px 40px rgba(84, 29, 36, .08); }
.hero-artwork::before { display: none; }
.locale-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 22px; }
.hero-artwork .sky-heading { position: absolute; inset-block-start: 16px; inset-inline: 16px auto; justify-content: start; background: rgba(255, 255, 255, .92); color: #541D24; border: 1px solid rgba(230, 81, 0, .25); border-radius: 999px; padding: 8px 14px; font-size: 11px; font-weight: 700; backdrop-filter: blur(8px); }
.hero-artwork .sky-heading > span:last-child { color: #E65100; border-color: #F8D8B8; }
.hero-artwork .sky-caption { display: none; }
.hero-artwork .sky-almanac { position: absolute; inset-inline: 14px; bottom: 14px; display: flex; gap: 18px; flex-wrap: nowrap; margin: 0; padding: 14px 18px; border: 1px solid rgba(230, 81, 0, .2); border-radius: 14px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); box-shadow: 0 6px 20px rgba(84, 29, 36, 0.08); }
.hero-artwork .sky-almanac > div { flex: 1; }
.hero-artwork .sky-almanac > div + div { border-inline-start: 1px solid #F3D8B5; padding-inline-start: 18px; }
.hero-artwork .sky-almanac span { color: #7A5C4D; font-size: 11px; }
.hero-artwork .sky-almanac strong { color: #541D24; font-size: 16px; font-weight: 700; }
.hero-artwork .sky-almanac a { display: grid; border-color: #E65100; color: #E65100; background: #FFF3E0; border-radius: 50%; width: 32px; height: 32px; align-items: center; justify-content: center; }
.hero-picker { background: #FFFFFF; border: 1px solid #EBD9C8; box-shadow: 0 4px 16px rgba(84, 29, 36, .05); margin-top: 32px; padding: 20px 24px; border-radius: 18px; }
.hero-picker-head { color: #541D24; font-size: 16px; font-weight: 700; }
.picker-heading > span { color: #7A5C4D; font-size: 12px; }
.sign-chip { color: #541D24; min-height: 58px; background: #FFFDF9; border: 1px solid #EBD9C8; border-radius: 12px; }
.sign-chip-sym { color: #E65100; font-size: 20px; }
.sign-chip-name { font-size: 12px; font-weight: 600; }
.sign-chip:hover { background: #FFE8CC; border-color: #E65100; }
.reassurance-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding-block: 22px; border-bottom: 1px solid var(--line); }
.reassurance-row > span { display: flex; gap: 7px; align-items: center; color: #676171; font-size: 11px; }
.reassurance-row .ui-icon { width: 16px; height: 16px; color: #88634a; }
.quick-paths { margin-block: 30px 2px; }
.quick-path { background: #ffffff; padding: 22px; box-shadow: var(--shadow); border-radius: 18px; }
.quick-path:nth-child(1) .quick-icon { color: #79559b; }
.quick-path:nth-child(2) .quick-icon { color: #b25c26; }
.quick-path:nth-child(3) .quick-icon { color: #38766f; }
.quick-path strong { font-size: 16px; }
.quick-path small { font-size: 12px; }
.quick-path:hover { background: #faf6ff; border-color: #bfacce; }
.quick-icon { width: 44px; height: 44px; border-radius: 14px; background: #f5f0f9; display: grid; place-items: center; }
.section-head h2 { font-size: clamp(30px, 3vw, 39px); }
.section-head .section-kicker { color: #8b5734; font-size: 12px; }
.section-head p { font-size: 15px; line-height: 1.8; }
.updated-label { display: inline-flex; gap: 7px; align-items: center; color: #53725d; font-size: 11px; margin-top: 16px; padding: 6px 11px; background: #edf4eb; border: 1px solid #dce8d7; border-radius: 999px; }
.updated-label > span { width: 5px; height: 5px; background: #46785a; border-radius: 50%; }
.sign-card { border-top: 3px solid color-mix(in srgb, var(--sign) 45%, white); background: linear-gradient(160deg, #fff 0%, #fff 70%, #faf7fc); border-radius: 18px; box-shadow: var(--shadow); }
.sign-card:hover { border-color: color-mix(in srgb, var(--sign) 55%, white); }
.sign-card-sym { background: color-mix(in srgb, var(--sign) 9%, white); width: 50px; height: 50px; border: 1px solid color-mix(in srgb, var(--sign) 16%, white); }
.sign-card-name { font-size: 17px; }
.sign-card-range { font-size: 11px; }
.sign-card-teaser { font-size: 13px; }
.sign-card-link { font-size: 12px; padding-top: 14px; }
.stars { font-size: 13px; }
.chip { font-size: 11px; }
.tool-card { box-shadow: var(--shadow); border-radius: 18px; }
.tool-card h3 { font-size: 19px; }
.tool-card p { font-size: 14px; }
.tool-card-cta { font-size: 13px; color: #5f3b7a; }
.tool-card-icon { width: 54px; height: 54px; border-radius: 16px; background: #fff0db; }
.tool-card:nth-child(3n + 2) .tool-card-icon { background: #eee7f9; color: #76539e; }
.tool-card:nth-child(3n) .tool-card-icon { background: #e7f3f0; color: #33786e; }
.window-col { background: #f1f6ef; }
.window-bad { background: #fff1e9; }
.lang-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.lang-tile.locale-art-tile { padding: 0 0 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow); border-radius: 16px; gap: 3px; }
.locale-art-tile img { width: 100%; height: 116px; object-fit: cover; display: block; margin-bottom: 12px; }
.locale-art-tile .lang-native { font-weight: 600; font-size: 17px; }
.locale-art-tile .lang-en { font-size: 11px; }
.cta-band { background: radial-gradient(ellipse at 80% 0%, #583b69, transparent 65%), #241737; border: 1px solid #785483; }
.cta-band .btn-primary { background: #edc283; color: #2b1a35; }
.cta-band .cta-note { color: #d0c1da; }
.mobile-dock a[aria-current="page"] { background: #f2eaf7; color: #6d458c; }
.mobile-dock a { color: #736880; }
.mobile-dock { border-top-color: #e7ddec; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: #f0eaf6; color: #65477e; }
.font-devanagari .hero-title { max-width: 16ch; font-size: clamp(36px, 4.5vw, 56px); }
.font-devanagari .hero-title-accent { font-style: normal; }
[dir="rtl"] .hero-title { max-width: 16ch; }
.hero-copy, .hero-artwork { min-width: 0; }
.hero-title, .hero-sub, .sign-card-id, .tool-card h3 { overflow-wrap: anywhere; }
.section-head h1, .section-head h2, .quick-path strong, .quick-path small { overflow-wrap: anywhere; }
.quick-path > span { min-width: 0; }
.hero-artwork .sky-almanac > div { min-width: 0; overflow-wrap: anywhere; }
html:not(.font-latin) .hero-title-accent { font-style: normal; }
:is(.font-tamil, .font-telugu, .font-kannada, .font-malayalam) .hero-title { font-size: clamp(30px, 3.6vw, 47px); line-height: 1.45; letter-spacing: 0; max-width: none; }
@media (max-width: 1024px) {
    .hero-inner { gap: 28px; }
    .hero-title { font-size: 56px; }
    .hero .hero-artwork { min-height: 350px; }
    .reassurance-row { gap: 13px; }
    .reassurance-row > span { font-size: 10px; }
    .quick-path { padding: 18px; }
    .quick-path strong { font-size: 14px; }
    .lang-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .hero-title { font-size: 46px; }
    .hero-sub { font-size: 14px; }
    .hero .hero-artwork { min-height: 350px; }
    .hero-artwork .sky-almanac { padding: 12px; gap: 10px; }
    .hero-artwork .sky-almanac strong { font-size: 14px; }
    .hero-artwork .sky-almanac > div + div { padding-inline-start: 10px; }
    .hero-artwork .sky-almanac a { width: 34px; height: 34px; }
    .quick-path small { font-size: 11px; }
}
@media (max-width: 760px) {
    .hero-title { font-size: 43px; }
    .hero-topline { margin-bottom: 20px; }
    .hero-topline time { font-size: 10px; }
    .hero-topline > span { font-size: 10px; }
    .reassurance-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    .quick-path { padding: 15px; }
    .quick-path strong { font-size: 12px; }
    .quick-path small { font-size: 10px; }
    .quick-icon { width: 35px; height: 35px; border-radius: 10px; }
    .lang-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
    .locale-art-tile img { height: 100px; }
}
@media (max-width: 600px) {
    .hero { padding-top: 0; padding-bottom: 24px; }
    .hero-topline { padding-block: 12px; margin-bottom: 18px; }
    .hero-topline > span { font-size: 9px; letter-spacing: 0; }
    .hero-topline .ui-icon { display: none; }
    .hero-topline time { font-size: 9px; }
    .hero-inner { gap: 26px; grid-template-columns: 1fr; }
    .hero-copy { padding-top: 0; }
    .hero-title { font-size: 49px; max-width: 15ch; margin-bottom: 18px; }
    .font-devanagari .hero-title { font-size: 39px; }
    :is(.font-tamil, .font-telugu, .font-kannada, .font-malayalam) .hero-title { font-size: 32px; }
    .hero-title-accent { display: block; }
    .hero-eyebrow { font-size: 9px; line-height: 1.6; letter-spacing: .08em; }
    .hero-sub { font-size: 14px; line-height: 1.8; }
    .hero-actions { gap: 10px; flex-direction: row; }
    .hero-actions .btn { min-height: 48px; font-size: 12px; padding: 12px 15px; }
    .hero-note { font-size: 11px; }
    .hero .hero-artwork { min-height: 0; aspect-ratio: 1.35; border-radius: 19px; }
    .hero-artwork .sky-heading { padding: 6px 9px; font-size: 9px; inset-inline-start: 10px; top: 10px; margin: 0; }
    .hero-artwork .sky-almanac { padding: 10px 12px; gap: 12px; inset-inline: 10px; bottom: 10px; border-radius: 12px; }
    .hero-artwork .sky-almanac > div { flex: 1; }
    .hero-artwork .sky-almanac > div + div { border-inline-start: 1px solid #77637f; padding-inline-start: 12px; }
    .hero-artwork .sky-almanac span { font-size: 10px; }
    .hero-artwork .sky-almanac strong { font-size: 14px; }
    .hero-artwork .sky-almanac a { display: grid; width: 32px; height: 32px; }
    .hero-picker { padding: 17px 12px; margin-top: 22px; border-radius: 16px; }
    .hero-picker-head { font-size: 15px; }
    .picker-heading > span { font-size: 11px; }
    .sign-chip { background: rgba(255, 255, 255, .06); }
    .sign-chip-name { font-size: 11px; }
    .sign-chip-sym { font-size: 25px; }
    .reassurance-row { padding-block: 18px; gap: 12px 8px; }
    .reassurance-row > span { font-size: 9px; align-items: start; line-height: 1.6; }
    .reassurance-row .ui-icon { width: 14px; height: 14px; }
    .quick-paths { margin-top: 22px; }
    .quick-path { padding: 14px 10px; }
    .quick-path small { font-size: 10px; }
    .section-head h2 { font-size: 29px; }
    :is(.font-tamil, .font-telugu, .font-kannada, .font-malayalam) .section-head h2 { font-size: 25px; line-height: 1.5; }
    .section-head .section-kicker { font-size: 10px; }
    .section-head p { font-size: 14px; }
    .updated-label { font-size: 10px; margin-top: 12px; }
    .sign-card { padding: 16px; }
    .sign-card-name { font-size: 16px; }
    .sign-card-sym { width: 44px; height: 44px; }
    .sign-card-teaser { font-size: 12px; }
    .sign-card-range { font-size: 10px; }
    .sign-card-link { font-size: 11px; }
    .chip { font-size: 10px; }
    .tool-card h3 { font-size: 17px; }
    .tool-card p { font-size: 13px; }
    .tool-card-icon { width: 44px; height: 44px; }
    .tool-card-cta { font-size: 12px; }
    .lang-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .locale-art-tile img { height: 92px; }
    .locale-art-tile .lang-native { font-size: 16px; }
    .locale-art-tile .lang-en { font-size: 10px; }
}
@media (max-width: 360px) {
    .hero-title { font-size: 44px; }
    .font-devanagari .hero-title { font-size: 35px; }
    .hero-actions .btn { width: 100%; }
    .hero-artwork .sky-almanac strong { font-size: 12px; }
    .hero-artwork .sky-almanac { gap: 8px; padding: 9px; }
    .sign-card { padding: 13px; }
    .sign-card-name { font-size: 14px; }
}

/* Universal Layout, Grid & Flexbox Utilities (Anti-Overlap System) */
.d-flex { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }
.d-block { display: block !important; }
.d-inline-block { display: inline-block !important; }
.d-none { display: none !important; }

.flex-row { flex-direction: row !important; }
.flex-column { flex-direction: column !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-nowrap { flex-wrap: nowrap !important; }
.flex-grow-1 { flex-grow: 1 !important; }
.flex-shrink-0 { flex-shrink: 0 !important; }

.justify-content-start { justify-content: flex-start !important; }
.justify-content-end { justify-content: flex-end !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-around { justify-content: space-around !important; }

.align-items-start { align-items: flex-start !important; }
.align-items-center { align-items: center !important; }
.align-items-end { align-items: flex-end !important; }
.align-items-baseline { align-items: baseline !important; }

.gap-1 { gap: 4px !important; }
.gap-2 { gap: 8px !important; }
.gap-3 { gap: 16px !important; }
.gap-4 { gap: 24px !important; }

.row {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-left: -12px !important;
    margin-right: -12px !important;
}
.col-12 { width: 100% !important; padding: 0 12px !important; box-sizing: border-box !important; }
.col-md-5 { width: 100% !important; padding: 0 12px !important; box-sizing: border-box !important; }
.col-md-6 { width: 100% !important; padding: 0 12px !important; box-sizing: border-box !important; }
.col-md-7 { width: 100% !important; padding: 0 12px !important; box-sizing: border-box !important; }
.col-md-8 { width: 100% !important; padding: 0 12px !important; box-sizing: border-box !important; }
.col-md-9 { width: 100% !important; padding: 0 12px !important; box-sizing: border-box !important; }
.col-md-10 { width: 100% !important; padding: 0 12px !important; box-sizing: border-box !important; }
.col-lg-6 { width: 100% !important; padding: 0 12px !important; box-sizing: border-box !important; }
.col-lg-7 { width: 100% !important; padding: 0 12px !important; box-sizing: border-box !important; }
.col-lg-8 { width: 100% !important; padding: 0 12px !important; box-sizing: border-box !important; }
.col-lg-9 { width: 100% !important; padding: 0 12px !important; box-sizing: border-box !important; }
.col-lg-10 { width: 100% !important; padding: 0 12px !important; box-sizing: border-box !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }

@media (min-width: 768px) {
    .col-md-5 { width: 41.666667% !important; }
    .col-md-6 { width: 50% !important; }
    .col-md-7 { width: 58.333333% !important; }
    .col-md-8 { width: 66.666667% !important; }
    .col-md-9 { width: 75% !important; }
    .col-md-10 { width: 83.333333% !important; }
    .mt-md-0 { margin-top: 0 !important; }
}
@media (min-width: 992px) {
    .col-lg-6 { width: 50% !important; }
    .col-lg-7 { width: 58.333333% !important; }
    .col-lg-8 { width: 66.666667% !important; }
    .col-lg-9 { width: 75% !important; }
    .col-lg-10 { width: 83.333333% !important; }
}

.m-0 { margin: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 4px !important; }
.mb-2 { margin-bottom: 8px !important; }
.mb-3 { margin-bottom: 16px !important; }
.mb-4 { margin-bottom: 24px !important; }
.mt-1 { margin-top: 4px !important; }
.mt-2 { margin-top: 8px !important; }
.mt-3 { margin-top: 16px !important; }
.mt-4 { margin-top: 24px !important; }

.p-3 { padding: 16px !important; }
.p-4 { padding: 24px !important; }
.pb-2 { padding-bottom: 8px !important; }
.pt-2 { padding-top: 8px !important; }
.px-3 { padding-left: 16px !important; padding-right: 16px !important; }
.py-1 { padding-top: 4px !important; padding-bottom: 4px !important; }
.py-2 { padding-top: 8px !important; padding-bottom: 8px !important; }
.py-3 { padding-top: 16px !important; padding-bottom: 16px !important; }
.py-4 { padding-top: 24px !important; padding-bottom: 24px !important; }

.border-bottom { border-bottom: 1px solid #ebd9c8 !important; }
.border-0 { border: none !important; }
.rounded-2 { border-radius: 8px !important; }
.rounded-3 { border-radius: 12px !important; }
.rounded-4 { border-radius: 16px !important; }
.rounded-pill { border-radius: 999px !important; }
.shadow-sm { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05) !important; }

/* Universal Container & Tool Page Width Hardening */
.container {
    width: 100%;
    max-width: 1100px;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

#single-dosha-page,
#dosha-reality-page,
#deep-milan-page {
    max-width: 960px;
    margin: 24px auto 60px;
    padding: 0 16px;
    box-sizing: border-box;
}

#single-dosha-page .row,
#dosha-reality-page .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-left: -12px;
    margin-right: -12px;
}

#single-dosha-page .col-lg-9,
#single-dosha-page .col-lg-10,
#dosha-reality-page .col-lg-10 {
    width: 100%;
    max-width: 880px;
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
}

.text-center { text-align: center !important; }
.text-start { text-align: left !important; }
.text-end { text-align: right !important; }
.justify-content-center { justify-content: center !important; }
.align-items-center { align-items: center !important; }
.d-flex { display: flex !important; }
.flex-grow-1 { flex-grow: 1 !important; }

/* Universal Mobile-Friendly Content Hardening */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
    .wrap, .container {
        padding-left: 14px !important;
        padding-right: 14px !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    img, svg, video, iframe {
        max-width: 100% !important;
    }
    table {
        display: block;
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }
    .site-header {
        padding: 0 8px !important;
        top: 4px !important;
    }
    .header-inner {
        padding: 4px 12px !important;
        min-height: 52px !important;
    }
    .brand-text {
        font-size: 17px !important;
    }
    .brand-tagline {
        font-size: 9px !important;
    }
    .site-logo-img {
        width: 34px !important;
        height: 34px !important;
    }
    /* Touch friendly button sizes */
    button, .btn, a.btn {
        touch-action: manipulation;
    }
}
@media print {
    body { padding-bottom: 0; background: #fff; }
    .mobile-dock, .quick-paths, .hero-sky, .hero-picker { display: none !important; }
    .reading-grid > aside { position: static; }
    .section { padding-block: 20px; }
}

/* === audio-player.css === */
.devotional-audio { margin-block: 24px; }
.devotional-audio h2 { font-size: 1.3rem; margin-block: 0 12px; }
.devotional-audio p { margin-block: 12px; }
.devotional-audio small { display: block; }
.devotional-audio iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; margin-top: 16px; }
.audio-player { position: fixed; z-index: 150; bottom: max(16px, env(safe-area-inset-bottom)); inset-inline: 16px; max-width: 680px; margin-inline: auto; border: 1px solid #c6a460; border-radius: 18px; background: #251b43; color: #fff8ed; box-shadow: 0 12px 40px #160d3266; padding: 12px 16px; }
.audio-player[hidden] { display: none; }
.audio-player-top, .audio-player-progress, .audio-player-options { display: flex; align-items: center; gap: 10px; }
.audio-player-track { min-width: 0; flex: 1; }
.audio-player-track strong, .audio-player-track small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.audio-player-track small { font-size: 12px; color: #ddd1ed; }
.audio-player .audio-control { border: 1px solid #86769e; background: transparent; color: inherit; border-radius: 9px; min-height: 44px; min-width: 44px; padding: 6px 10px; cursor: pointer; font: inherit; }
.audio-player [aria-pressed="true"] { background: #c6a460; color: #251b43; }
.audio-player-progress { margin-top: 12px; font-size: 12px; font-variant-numeric: tabular-nums; }
.audio-player input[type="range"] { accent-color: #e7be72; flex: 1; min-width: 50px; width: 100%; margin: 0; }
.audio-player-options { flex-wrap: wrap; margin-top: 8px; font-size: 12px; }
.audio-player-options label { display: flex; align-items: center; gap: 6px; }
.audio-player select { background: #251b43; color: #fff8ed; border: 1px solid #86769e; border-radius: 6px; padding: 6px; min-height: 44px; }
.audio-player-volume { flex: 1; }
.audio-player [data-player-status] { margin: 6px 0 0; font-size: 12px; }
.audio-player [data-player-status]:empty { display: none; }
.audio-player :focus-visible { outline: 3px solid #e7be72; outline-offset: 3px; }
body.has-audio-player { padding-bottom: 235px; }
body.has-audio-player.audio-player-minimized { padding-bottom: 100px; }
@media (max-width: 760px) {
    .audio-player { bottom: calc(80px + env(safe-area-inset-bottom)); inset-inline: 8px; padding: 10px; }
    body.has-audio-player { padding-bottom: 325px; }
    body.has-audio-player.audio-player-minimized { padding-bottom: 175px; }
    .audio-player-options { gap: 6px; }
    .audio-player-volume { flex-basis: 100%; }
}
@media print { .audio-player, .devotional-audio { display: none !important; } }

/* === devotional-theme.css === */
/* OMAAA devotional edition. Shared final theme inspired by the user's
   Panchang/Rashifal references; all content and artwork remain OMAAA's. */
:root {
    --brand: #b44b16; --brand-dark: #92370d; --brand-light: #da6d35;
    --accent: #d88716; --gold: #d88716; --gold-soft: #f7d994;
    --ink: #193244; --ink-soft: #58636a; --muted: #687077;
    --line: #eae4de; --bg: #fff9ed; --bg-alt: #fff4e7;
    --card: #fff; --forest: #193244; --maroon: #193244; --maroon-2: #344e5f;
    --ok: #268260; --ok-bg: #edf9f0; --warn: #bf414c; --warn-bg: #fff0f0;
    --surface-saffron: #fff5e3; --radius: 18px; --radius-sm: 10px;
    --shadow: 0 3px 10px #28394a08, 0 1px 3px #28394a0a;
    --shadow-lg: 0 10px 28px #28394a10; --wrap: 1240px; --header-height: 76px;
}
body { background: linear-gradient(180deg, #fbe5eb 0, #fbeddf 560px, #fff8e9 1050px, #fffaf2 1600px); color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.section { padding-block: 38px; background: transparent; }
.section-alt { background: #fff7ed80; }
.section-tight { padding-block: 12px 30px; }
.wrap { padding-inline: 28px; }
.section-head { margin-bottom: 26px; }
.section-head h1, .section-head h2 { color: var(--ink); font-weight: 650; font-size: clamp(27px, 3.2vw, 37px); line-height: 1.4; }
.section-head p { font-size: 15px; color: var(--ink-soft); }
.section-head .section-kicker { color: var(--brand); }
.heading-accent { color: #b7690c; }
.breadcrumbs { color: var(--muted); margin-bottom: 18px; }
.breadcrumbs a { color: var(--ink-soft); }
.site-header { top: 12px; margin: 12px 28px 0; border: 1px solid #eee9e5; border-radius: 19px; background: #fffffff5; box-shadow: var(--shadow); }
.header-inner { min-height: var(--header-height); gap: 20px; }
.brand-text { color: var(--brand); font-size: 25px; }
.brand-mobile { display: none; }
.brand-mark { color: var(--brand); background: #fff3e5; }
.brand-tagline { color: var(--muted); font-size: 9px; }
.site-nav { gap: 14px; }
.site-nav > ul { gap: 6px; }
.site-nav a { color: var(--ink-soft); border-radius: 0; padding: 11px 8px; font-size: 14px; font-weight: 600; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); background: transparent; box-shadow: inset 0 -2px #e9ad4f; }
.header-inner > .lang-switch { flex: none; }
.lang-switch summary { border-radius: 24px; background: #fff; padding: 7px 12px; }
.lang-menu { border-radius: 15px; box-shadow: var(--shadow-lg); }
.knowledge-menu { position: relative; }
.knowledge-menu summary { cursor: pointer; list-style: none; min-height: 44px; display: flex; align-items: center; gap: 8px; padding: 10px 8px; font-size: 14px; }
.knowledge-menu summary::-webkit-details-marker { display: none; }
.knowledge-menu > ul { position: absolute; top: 100%; inset-inline-end: 0; width: 320px; padding: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; list-style: none; border-radius: 16px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-lg); z-index: 55; }
.knowledge-menu:not([open]) > ul { display: none; }
.knowledge-menu > ul a { display: block; border-radius: 8px; font-size: 13px; padding: 10px; }
.knowledge-menu > ul a:hover { background: #fff4e6; box-shadow: none; }
.btn { border-radius: 9px; }
.btn-primary, .hero-actions .btn-primary { background: linear-gradient(105deg, #b64d15, #ce6622); color: #fff; box-shadow: 0 3px 8px #b64d1515; }
.btn-primary:hover, .hero-actions .btn-primary:hover { background: #96380f; color: #fff; }
.btn-ghost, .hero-actions .btn-ghost { background: #fff; border-color: #ead9c5; color: var(--ink); }
.btn-ghost:hover, .hero-actions .btn-ghost:hover { background: #fff3e1; border-color: #deb781; }
.card, .aside-card, .tool-card, .article-card, .meaning-card, .panchang-card, .sign-card, .faq-item, .stat, .verdict-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.tool-grid-4 .tool-card { background: #fff; }
.tool-card:hover, .sign-card:hover { border-color: #dfbd9b; box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.tool-card-icon, .quick-icon { background: #fff2df; color: var(--brand); }
.tool-card:nth-child(3n + 2) .tool-card-icon { background: #eef8f3; color: #337c65; }
.tool-card:nth-child(3n) .tool-card-icon { background: #fff0f2; color: #b65469; }
.tool-card-cta, .sign-card-link { color: var(--brand); }
.input, .select, .textarea { border-color: var(--line); border-radius: 9px; }
.calc-form { border-top: 3px solid #e9ae63; }
.result-hero { background: #fff4e4; border-color: #f0dfc6; }
.result-number, .lucky-big { color: var(--brand); }
.calc-table { border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.calc-table th { background: #fff5e8; color: var(--ink); }
.calc-table tbody tr:nth-child(even) { background: #fffaf5; }
.period-strip { display: flex; flex-wrap: wrap; gap: 9px; }
.period-strip a { background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: 8px 16px; font-size: 13px; }
.period-strip a:hover, .period-strip a.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.page-head { background: #fff2e6; color: var(--ink); }
.page-head h1, .page-head p { color: var(--ink); }
.chip-lucky { color: #8a4d0d; background: #fff3d9; }
.window-col { background: linear-gradient(110deg, #fff, #eafbf0); }
.window-bad { background: linear-gradient(110deg, #fff, #ffecef); }
.hero { color: var(--ink); background: transparent; padding-block: 0 28px; }
.hero-topline { color: var(--ink); border-bottom-color: #e9dbd4; margin-bottom: 24px; }
.hero-topline > span, .hero-topline time, .hero-eyebrow { color: var(--brand); }
.hero-inner { grid-template-columns: 1fr 1fr; gap: 48px; }
.hero-copy { padding-block: 14px; }
.hero-title { color: var(--ink); font-size: clamp(38px, 4.7vw, 58px); max-width: 15ch; }
.hero-title-accent { color: #b66511; font-style: normal; }
.hero-sub { color: var(--ink-soft); }
.hero-note { color: var(--muted); }
.hero .hero-artwork { border-color: #e9d4b9; border-radius: 24px; min-height: 340px; box-shadow: var(--shadow-lg); }
.hero-artwork .sky-heading { background: #fffffff0; color: var(--ink); border-color: #ead6bd; }
.hero-artwork .sky-heading > span:last-child { color: var(--ink-soft); border-color: #dcc8ae; }
.hero-artwork .sky-almanac { background: #fffaf2f5; border-color: #edd9bd; }
.hero-artwork .sky-almanac span, .hero-artwork .sky-almanac strong { color: var(--ink); }
.hero-artwork .sky-almanac > div + div { border-color: #ddc9ad; }
.hero-artwork .sky-almanac a { color: var(--brand); background: #fff; border-color: #e4bb89; }
.hero-picker { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.hero-picker-head { color: var(--ink); }
.picker-heading > span { color: var(--muted); }
.sign-chip, .sign-chip:hover { color: var(--ink); background: transparent; border-color: transparent; }
.sign-chip { flex-direction: column; gap: 8px; }
.sign-chip-sym, .sign-card-sym { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: linear-gradient(145deg, color-mix(in srgb, var(--sign, #b9621c) 75%, #fff), var(--sign, #b9621c)); color: #fff; border: 1px solid #ffffff60; box-shadow: inset 0 2px 4px #ffffff20; }
.sign-chip:hover .sign-chip-sym { box-shadow: 0 0 0 3px #edceaa; }
.sign-card { border-top: 1px solid var(--line); background: #fff; }
.sign-card-name { color: var(--ink); }
.quick-path { background: #fff; border-color: var(--line); }
.quick-path:hover { background: #fff9f0; border-color: #dfbd9b; }
.quick-path:nth-child(n) .quick-icon { color: var(--brand); background: #fff3e3; }
.reassurance-row > span { color: var(--ink-soft); }
.cta-band { background: #fff0de; border-color: #edd7b9; color: var(--ink); }
.cta-band h2, .cta-band p, .cta-band .cta-note { color: var(--ink); }
.cta-band .btn-primary { color: #fff; background: var(--brand); }
.site-footer { background: #fffaf3; border-top: 1px solid var(--line); }
.brand-footer, .footer-col h2 { color: var(--ink); }
.mobile-dock { background: #fffffff7; border-top-color: var(--line); box-shadow: 0 -2px 12px #19324408; }
.mobile-dock a { color: var(--ink-soft); }
.mobile-dock a[aria-current="page"] { color: var(--brand); background: #fff0df; }
.audio-player { background: #193244; border-color: #e8ba76; color: #fffaf1; box-shadow: 0 10px 26px #19324426; }
.audio-player select { background: #193244; }
.audio-player .audio-control { border-color: #81919a; }
.audio-player [aria-pressed="true"] { background: #f4ce8b; color: var(--ink); }
.audio-player-track small { color: #d4e0e6; }

/* Panchang and daily horoscope: three balanced reading columns. */
.dashboard-heading { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-bottom: 28px; }
.dashboard-heading .section-head { margin: 0; flex: 1; min-width: 0; }
.dashboard-heading .section-head p { margin: 8px 0 0; }
.date-location-card { background: #fff; border: 1px solid var(--line); border-radius: 17px; box-shadow: var(--shadow); padding: 12px 16px; min-width: 380px; }
.date-stepper { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.date-stepper > a { display: grid; place-items: center; width: 36px; height: 40px; color: #ac6511; font-size: 24px; flex: none; }
.date-stepper strong { font-size: 14px; }
.panchang-filter { display: flex; gap: 8px; align-items: end; margin-top: 8px; border-top: 1px solid var(--line); padding-top: 10px; }
.panchang-filter label { font-size: 11px; color: var(--muted); display: block; flex: 1; min-width: 0; }
.panchang-filter input, .panchang-filter select { font: inherit; font-size: 13px; min-height: 40px; padding: 7px; border: 1px solid var(--line); border-radius: 7px; width: 100%; color: var(--ink); background: #fff; }
.panchang-filter .btn { min-height: 40px; padding: 8px 12px; font-size: 12px; }
.daily-columns { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(0,1fr); gap: 24px; align-items: start; }
.daily-column { min-width: 0; display: grid; gap: 22px; }
.daily-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 22px; overflow-wrap: anywhere; }
.daily-card h2, .daily-card h3 { font-family: var(--font); font-size: 18px; font-weight: 650; line-height: 1.5; }
.daily-card-title { position: relative; padding-bottom: 10px; margin-bottom: 18px; }
.daily-card-title::after { content: ''; display: block; width: 84px; height: 3px; margin-top: 8px; border-radius: 6px; background: linear-gradient(90deg, #efd1d8, #f7deba); }
.almanac-summary { display: flex; align-items: center; gap: 18px; position: relative; overflow: hidden; min-height: 138px; }
.calendar-date { display: flex; flex-direction: column; align-items: center; line-height: 1.5; flex: none; }
.calendar-date small { font-size: 12px; color: var(--muted); }
.calendar-date strong { font-size: 42px; line-height: 1.15; color: var(--ink); }
.almanac-summary h2 { margin: 0; font-size: 17px; }
.almanac-summary p { margin: 4px 0 0; font-size: 13px; }
.moon-disc { width: 60px; height: 60px; flex: none; margin-inline-start: auto; border-radius: 50%; background: linear-gradient(90deg, #f5d888 0 50%, #26323c 50%); box-shadow: inset 0 0 0 1px #ccbe9240; }
.daily-window-good { background: linear-gradient(100deg, #fff 5%, #edfcf1); }
.daily-window-bad { background: linear-gradient(100deg, #fff 5%, #ffecef); }
.window-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 12px; }
.window-grid h3 { font-size: 15px; color: #287c5c; margin-bottom: 4px; }
.daily-window-bad .window-grid h3 { color: #bd4753; }
.window-grid p { margin: 0; color: var(--ink-soft); font-size: 13px; }
.solar-card { display: grid; grid-template-columns: 1fr 1fr; padding: 0; overflow: hidden; }
.solar-stat { padding: 19px; background: #fff5e5; }
.solar-stat strong { display: block; color: #a4590c; font-size: 15px; margin-bottom: 7px; }
.solar-stat span { font-size: 15px; font-weight: 650; }
.solar-stat:nth-child(n+3) { background: #193244; color: #fff; }
.solar-stat:nth-child(n+3) strong { color: #e8d6b3; }
.almanac-entry + .almanac-entry { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 18px; }
.almanac-entry h3 { font-size: 16px; margin-bottom: 7px; }
.almanac-entry p { font-size: 14px; color: var(--ink-soft); margin: 0; }
.snapshot-note { font-size: 12px; color: var(--muted); margin: 16px 0 0; }
.festival-row { display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 14px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.festival-row:first-of-type { padding-top: 0; }
.festival-row h3 { font-size: 15px; margin-bottom: 6px; }
.festival-row p { font-size: 13px; color: var(--ink-soft); line-height: 1.75; margin: 0; }
.festival-row .calendar-date strong { font-size: 25px; color: #b85632; }
.daily-card .empty-state { padding: 12px 0; text-align: start; border: 0; background: transparent; font-size: 14px; }
.daily-links { display: grid; gap: 12px; }
.daily-links a { display: flex; align-items: center; gap: 12px; color: var(--ink); font-size: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.daily-links a .ui-icon { color: var(--brand); width: 22px; height: 22px; }
.daily-links a span { margin-inline-start: auto; color: var(--brand); }
.choghadiya-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
.choghadiya-columns h2 { font-size: 22px; }
.sign-rail { display: flex; gap: 12px; overflow-x: auto; padding: 6px 2px 14px; list-style: none; margin: 0; max-width: 100%; scrollbar-width: thin; }
.sign-rail li { flex: 0 0 70px; }
.sign-rail a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 3px; color: var(--ink); font-size: 12px; text-align: center; }
.sign-rail a[aria-current] .sign-chip-sym { outline: 3px solid #ddad6d; outline-offset: 3px; }
.dashboard-heading .sign-rail { width: 54%; }
.horoscope-profile { padding: 0 0 12px; }
.profile-head { display: flex; gap: 16px; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.profile-head h2 { font-size: 29px; line-height: 1.4; margin: 0; }
.profile-head p { color: var(--muted); font-size: 12px; margin-top: 5px; }
.profile-head .sign-card-sym { border-radius: 50%; width: 74px; height: 74px; font-size: 36px; flex: none; }
.score-summary { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: 18px; margin-block: 22px; }
.score-meter { margin-bottom: 14px; }
.score-meter .meter-track { height: 28px; background: #fff; border: 1px solid #ede4da; border-radius: 6px; overflow: hidden; }
.score-meter .meter-track span { display: block; width: var(--score); max-width: 100%; min-width: 32px; height: 100%; background: linear-gradient(90deg, #b24b11, #f4d4a4); color: #fff; font-size: 12px; text-align: center; font-weight: 700; }
.score-meter small { display: block; font-size: 13px; color: var(--ink-soft); margin-top: 4px; }
.lucky-mini { display: grid; gap: 12px; align-content: start; }
.lucky-mini > div { background: #fff; padding: 12px 9px; border: 1px solid var(--line); border-radius: 9px; text-align: center; }
.lucky-mini strong { display: block; font-family: var(--display, var(--font)); font-size: 20px; }
.lucky-mini small { font-size: 11px; color: var(--ink-soft); }
.advice-card { background: #fff6e6; }
.advice-card p, .forecast-card p { font-size: 14px; line-height: 1.85; color: var(--ink-soft); margin-bottom: 0; }
.forecast-card h3 { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-bottom: 2px solid #f0e7da; padding-bottom: 10px; margin-bottom: 13px; }
.forecast-card h3 small { color: #8c6837; font-size: 12px; }
.rating-hero { background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.reading-grid { gap: 26px; }
.reading-main > h2 { font-size: 22px; }
.reading-main .section-block { background: #fff; border: 1px solid var(--line); border-radius: 17px; padding: 23px; margin-bottom: 20px; box-shadow: var(--shadow); }
.reading-aside .aside-card { margin-bottom: 20px; }
.factor-bar span { background: linear-gradient(90deg, #bc5317, #edc98f); }
.sign-nav a { border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.devotional-audio { background: linear-gradient(110deg, #fff, #fff4df); }
.all-signs-heading { margin-top: 42px; }

/* Puja catalogue — organised exclusively by the named foundation. */
.puja-heading { text-align: center; max-width: 760px; margin-inline: auto; }
.puja-organizer { display: flex; align-items: center; gap: 18px; padding: 22px 26px; border: 1px solid #edddc9; border-radius: 18px; background: #fffbf3; margin-block: 22px; }
.puja-organizer-icon, .puja-banner-symbol { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #fff0db; color: var(--brand); }
.puja-organizer-icon .ui-icon, .puja-banner-symbol .ui-icon { width: 35px; height: 35px; }
.puja-organizer small { display: block; color: var(--muted); font-size: 12px; }
.puja-organizer strong { display: block; font-size: 20px; }
.puja-organizer p { margin: 6px 0 0; color: var(--ink-soft); font-size: 14px; line-height: 1.7; }
.puja-search { display: flex; gap: 10px; max-width: 760px; margin: 30px auto; }
.puja-search .input { flex: 1; min-width: 0; background: #fff; }
.puja-list-heading { font-size: 23px; margin-bottom: 20px; }
.puja-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.puja-card { background: #fff; border: 1px solid var(--line); border-radius: 19px; overflow: hidden; box-shadow: var(--shadow); }
.puja-card-art { display: grid; place-items: center; aspect-ratio: 1.52; background: radial-gradient(circle at 50% 45%, #fff6d1, #efd4b5 65%, #f3c9c9); color: #b34e16; }
.puja-card-art { position: relative; }
.puja-art-label { position: absolute; inset-block-end: 15px; inset-inline-start: 15px; background: #fffffff0; border-radius: 24px; padding: 6px 13px; color: var(--ink); font-size: 13px; }
.puja-card-art img { width: 100%; height: 100%; object-fit: cover; }
.puja-card-art > .ui-icon { width: 92px; height: 92px; stroke-width: 1.15; }
.puja-card-body { padding: 20px; }
.puja-card-body .section-kicker { margin-bottom: 8px; font-size: 11px; }
.puja-card h2 { font-size: 20px; line-height: 1.55; margin: 0 0 10px; }
.puja-card h2 a { color: var(--ink); text-decoration: none; }
.puja-card p { font-size: 14px; color: var(--ink-soft); }
.puja-card .puja-card-meta { font-size: 13px; margin-block: 8px; }
.puja-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; }
.puja-card-foot > span { font-size: 14px; font-weight: 650; }
.puja-card-foot small { display: block; color: var(--muted); font-weight: 400; font-size: 11px; }
.puja-categories { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-block: 24px; }
.puja-categories a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.puja-list-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.puja-list-head .puja-list-heading { margin: 0; }
.puja-list-head > span { color: var(--muted); font-size: 13px; }

.puja-catalogue-hi {
    padding-block: clamp(14px, 3vw, 30px);
}
.puja-catalogue-hi .puja-heading {
    text-align: start;
    max-width: none;
    margin-block: 0 12px;
}
.puja-catalogue-hi .puja-heading h1 {
    font-size: clamp(1.65rem, 4vw, 2.4rem);
    margin-block: 0 5px;
}
.puja-catalogue-hi .puja-heading p {
    margin: 0;
}
.puja-catalogue-hi .puja-welcome {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(12rem, 0.46fr);
    gap: clamp(1rem, 3vw, 2.5rem);
    align-items: center;
    padding: clamp(1rem, 3vw, 1.7rem);
    margin-block-end: 0.75rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(115deg, var(--surface-saffron), var(--card));
}
.puja-welcome-copy > p {
    max-width: 59ch;
    line-height: 1.6;
}
.puja-welcome-art {
    display: block;
    width: 100%;
    height: auto;
    max-height: 10rem;
    object-fit: cover;
    border-radius: var(--radius-sm);
}
.puja-welcome-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 1rem;
    margin-block-start: 0.8rem;
}
.puja-welcome-actions > a:not(.btn) {
    min-height: 44px;
    color: var(--brand-dark);
    display: inline-flex;
    align-items: center;
    gap: 0.3em;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}
.puja-catalogue-hi .puja-welcome-actions .btn-primary,
.puja-catalogue-hi .puja-search .btn-primary {
    background: var(--brand-dark, #92370d);
    border-color: var(--brand-dark, #92370d);
}
.puja-catalogue-hi .puja-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    max-width: 36rem;
    margin: 0 0 10px;
    scroll-margin-top: 8rem;
}
.puja-catalogue-hi .puja-search > label {
    grid-column: 1 / -1;
    font-weight: 600;
}
.puja-catalogue-hi .puja-search .input {
    min-height: 44px;
    margin: 0;
}
.puja-catalogue-hi .puja-search button {
    padding-inline: 12px;
}
.puja-catalogue-hi .puja-clear {
    grid-column: 1 / -1;
    justify-self: start;
}
.puja-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0 18px;
    margin-block-end: 10px;
}
.puja-quick-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.3em;
    min-height: 44px;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}
.puja-catalogue-hi .puja-categories {
    justify-content: flex-start;
    margin-block: 8px 14px;
    gap: 6px;
}
.puja-catalogue-hi .puja-categories a {
    min-height: 44px;
    padding: 5px 10px;
}
.puja-catalogue-hi .puja-categories a[aria-current="page"] {
    background: #f8e6d5;
    border-color: #aa4d21;
    color: #672a16 !important;
}
.puja-catalogue-hi .puja-list-head {
    margin-block: 0 6px;
}
.puja-catalogue-hi .puja-list-heading {
    overflow-wrap: anywhere;
}
.puja-list {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: grid;
    column-gap: 28px;
}
.puja-list-item {
    display: flex;
    min-width: 0;
    flex-direction: column;
    border-top: 1px solid var(--line, #e8dfd5);
}
.puja-list-link {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    padding-block: 10px;
    color: var(--ink);
    overflow-wrap: anywhere;
}
.puja-list-link:hover h3, .puja-list-link:focus-visible h3 {
    text-decoration: underline;
}
.puja-list-link img {
    display: block;
    width: clamp(56px, 17vw, 80px);
    height: clamp(52px, 15vw, 72px);
    border-radius: 8px;
    object-fit: cover;
}
.puja-list-copy h3 {
    font-size: 1.05rem;
    line-height: 1.4;
    margin: 0 0 4px;
}
.puja-list-copy p {
    font-size: .92rem;
    line-height: 1.5;
    margin: 0;
}
.puja-list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    margin-block-start: 5px;
    font-size: .84rem;
}
.puja-list-meta > :first-child, .puja-list-action {
    color: var(--brand-dark, #9c4819);
    font-weight: 650;
}
.puja-list-action {
    display: inline-block;
    font-size: .9rem;
    margin-block-start: 0.25rem;
}
.puja-list-link:hover .puja-list-action, .puja-list-link:focus-visible .puja-list-action {
    text-decoration: underline;
}
.puja-list-contact {
    margin-top: auto;
    padding-block-end: .8rem;
    padding-inline-start: calc(clamp(56px, 17vw, 80px) + 12px);
}
.btn.puja-whatsapp-link {
    min-height: 44px;
    border-color: #146145;
    border-radius: .55rem;
    background: #146145;
    color: #fff;
    white-space: normal;
    text-align: center;
}
.btn.puja-whatsapp-link:hover { background: #0c5137; color: #fff; }
.puja-detail-heading { margin-block: 1rem 1.3rem; }
.puja-detail-heading h1 { margin-block: 0 .4rem; overflow-wrap: anywhere; }
.puja-detail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.puja-detail-actions .btn { min-block-size: 44px; }
#puja-fee-heading { scroll-margin-block-start: 7rem; }
.puja-detail-contact-note { margin-block: .55rem 0; font-size: .94rem; }
.puja-package-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin-top: .55rem; }
.puja-list-help { margin-block: 1.4rem; padding-block-start: 1rem; border-top: 1px solid var(--line); }
.puja-list-help h2 { font-size: 1.25rem; margin: 0 0 .5rem; }
.puja-home-method { display: inline-flex; align-items: center; gap: .3rem; min-height: 44px; text-decoration: underline; }
.puja-catalogue-hi + [data-page-faq] .faq-item summary {
    padding-inline-end: 48px;
}
@media (max-width: 700px) {
    .puja-catalogue-hi .puja-welcome {
        display: block;
        padding: 0;
        background: none;
        border: 0;
    }
    .puja-welcome-picture {
        display: none;
    }
}
@media (max-width: 520px) {
    .puja-catalogue-hi .puja-categories {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .puja-catalogue-hi .puja-categories a {
        min-width: 0;
        padding-inline: 4px;
        text-align: center;
        font-size: .85rem;
    }
}
@media (min-width: 780px) {
    .puja-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.puja-packages { margin-block: 28px; }
.puja-packages h2 { font-size: 25px; margin-bottom: 20px; }
.puja-package-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.puja-package-grid small { color: var(--muted); }
.puja-price { display: block; color: var(--brand); font-size: 32px; margin-bottom: 20px; }
.puja-package-grid .btn { font-size: 13px; }
.puja-card-foot .btn { margin-inline-start: auto; }
.puja-empty { text-align: center; padding: 38px 28px; }
.puja-empty-symbol { color: var(--brand); }
.puja-empty-symbol .ui-icon { width: 58px; height: 58px; }
.puja-empty p { max-width: 630px; margin: 16px auto 24px; line-height: 1.9; }
.puja-process { margin-top: 42px; }
.puja-process > h2 { font-size: 25px; margin-bottom: 20px; }
.puja-process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.puja-step { display: inline-grid; place-items: center; background: #fff0db; color: var(--brand); width: 35px; height: 35px; border-radius: 50%; margin-bottom: 12px; }
.puja-process-grid p { color: var(--ink-soft); font-size: 14px; line-height: 1.8; }
.puja-detail-image { width: 100%; height: auto; max-height: 480px; object-fit: cover; border-radius: 18px; margin-bottom: 25px; }
.puja-enquiry { margin-block: 28px; }
.puja-enquiry p { color: var(--ink-soft); }
.puja-home-banner { display: flex; align-items: center; gap: 24px; padding: 28px; background: #fff9f0; border: 1px solid #eddcc4; border-radius: 20px; }
.puja-home-banner h2 { margin-block: 4px; font-size: 30px; }
.puja-home-banner p { font-size: 14px; color: var(--ink-soft); margin-block: 6px; }
.puja-home-banner > .btn { flex: none; margin-inline-start: auto; }
@media (max-width: 900px) { .puja-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .puja-home-banner { flex-wrap: wrap; } .puja-home-banner > div { flex: 1; min-width: 220px; } }
@media (max-width: 600px) {
    .puja-grid, .puja-process-grid, .puja-package-grid { grid-template-columns: 1fr; gap: 18px; }
    .puja-organizer { align-items: flex-start; padding: 18px; gap: 12px; }
    .puja-organizer-icon { width: 42px; height: 42px; }
    .puja-organizer-icon .ui-icon { width: 26px; height: 26px; }
    .puja-organizer strong { font-size: 17px; }
    .puja-search { flex-wrap: wrap; }
    .puja-search .input { flex-basis: 65%; }
    .puja-home-banner { padding: 22px; }
    .puja-home-banner > .btn { margin-inline-start: 0; }
}

@media (max-width: 1100px) {
    .header-inner { gap: 12px; }
    .site-nav { gap: 8px; }
    .site-nav a, .knowledge-menu summary { font-size: 12px; padding-inline: 6px; }
    .brand-text { font-size: 21px; }
    .daily-columns { gap: 18px; }
    .daily-card { padding: 18px; }
    .moon-disc { width: 42px; height: 42px; }
    .almanac-summary { gap: 12px; }
}
@media (max-width: 900px) {
    .site-header { margin-inline: 16px; }
    .header-inner { padding-inline: 16px; min-height: 68px; }
    .header-inner > .brand { margin-inline: auto; }
    .brand-tagline { display: none; }
    .brand-mark { display: none; }
    .brand-text { font-size: 25px; }
    .nav-toggle { inset-inline-start: 10px; inset-inline-end: auto; top: 12px; }
    .nav-toggle-btn { position: absolute; inset-inline-start: 10px; border: 0; background: transparent; }
    .header-inner > .lang-switch { position: absolute; inset-inline-end: 12px; }
    .lang-switch summary { padding: 6px 9px; font-size: 12px; }
    .lang-switch summary .lang-flag { display: none; }
    .lang-switch .lang-menu { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); width: min(260px, calc(100vw - 40px)); min-width: 230px; max-height: 360px; overflow: auto; box-shadow: var(--shadow-lg); }
    .site-nav { inset: calc(100% + 8px) 0 auto; border: 1px solid var(--line); border-radius: 16px; padding: 16px; gap: 16px; }
    .site-nav a { border-radius: 8px; font-size: 14px; padding: 12px; }
    .site-nav a[aria-current] { background: #fff2de; box-shadow: none; }
    .knowledge-menu summary { font-size: 14px; }
    .knowledge-menu > ul { position: static; width: auto; box-shadow: none; border: 0; padding: 0; }
    .knowledge-menu:not([open]) > ul { display: none; }
    .dashboard-heading { flex-direction: column; align-items: stretch; gap: 20px; }
    .dashboard-heading .sign-rail { width: 100%; }
    .date-location-card { min-width: 0; }
    .daily-columns { grid-template-columns: 1fr 1fr; }
    .daily-column:last-child { grid-column: 1/-1; grid-template-columns: 1fr 1fr; }
    .hero-inner { gap: 24px; }
}
@media (max-width: 600px) {
    :root { --header-height: 68px; }
    .header-inner .brand-text { display: none; }
    .brand-mobile { display: block; color: var(--brand); font-size: 26px; font-weight: 700; }
    .site-header { margin: 10px 12px 0; top: 10px; border-radius: 17px; }
    .wrap { padding-inline: 18px; }
    .section { padding-block: 28px; }
    .section-head h1, .section-head h2 { font-size: 27px; }
    .section-head p { font-size: 14px; }
    .section-head { margin-bottom: 22px; }
    .dashboard-heading .section-head { margin: 0; }
    .breadcrumbs { font-size: 11px; margin-bottom: 14px; }
    .daily-columns { display: flex; flex-direction: column; gap: 22px; }
    .daily-column, .daily-column:last-child { width: 100%; display: grid; grid-template-columns: 1fr; gap: 22px; }
    .daily-card { padding: 20px; }
    .almanac-summary { min-height: 128px; gap: 18px; }
    .almanac-summary h2 { font-size: 18px; }
    .moon-disc { width: 60px; height: 60px; }
    .daily-card.solar-card { padding: 0; }
    .window-grid { gap: 18px; }
    .choghadiya-columns { grid-template-columns: 1fr; }
    .date-location-card { padding: 12px 14px; }
    .panchang-filter input, .panchang-filter select { font-size: 16px; }
    .panchang-filter { flex-wrap: wrap; }
    .panchang-filter label { flex: 1 1 40%; }
    .panchang-filter .btn { flex: 1 1 100%; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-title, .font-devanagari .hero-title { font-size: 38px; line-height: 1.4; }
    .hero-topline { margin-bottom: 16px; padding-block: 14px; }
    .hero-topline time { font-size: 10px; }
    .hero-eyebrow { margin-bottom: 10px; }
    .hero-sub { font-size: 15px; }
    .hero .hero-artwork { min-height: 0; width: 100%; max-width: 100%; aspect-ratio: 1.35; }
    .hero-picker { padding: 17px; margin-top: 22px; }
    .hero-picker .sign-chips { display: flex; overflow-x: auto; gap: 16px; padding-bottom: 8px; }
    .hero-picker .sign-chips li { flex: 0 0 62px; }
    .hero-picker .sign-chip { padding: 3px; }
    .picker-heading { align-items: start; flex-direction: column; gap: 3px; }
    .sign-grid { gap: 12px; }
    .sign-card { padding: 16px 13px; }
    .sign-card-name { font-size: 16px; }
    .sign-card-sym { width: 43px; height: 43px; font-size: 23px; }
    .sign-card-teaser { font-size: 12px; }
    .sign-card-top { flex-wrap: wrap; }
    .quick-paths { gap: 9px; }
    .quick-path { padding: 14px 9px; }
    .quick-path strong { font-size: 13px; }
    .quick-path small { font-size: 10px; }
    .tool-card h3 { font-size: 18px; }
    .tool-card-cta { font-size: 12px; }
    .score-summary { grid-template-columns: 1.5fr 1fr; }
    .profile-head .sign-card-sym { width: 68px; height: 68px; }
    .reading-grid { display: flex; flex-direction: column; }
    .reading-main, .reading-aside { width: 100%; }
    .rating-score { font-size: 28px; }
    .period-strip { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 5px; }
    .period-strip li { flex: none; }
    .calc-table th, .calc-table td { font-size: 13px; padding: 11px 8px; }
    .cta-band { margin-inline: 18px; }
    .footer-grid { gap: 24px 16px; }
}
@media (max-width: 360px) {
    .header-inner > .brand { max-width: 53%; }
    .brand-mobile { font-size: 18px; }
    .lang-switch summary .ui-icon { display: none; }
    .lang-switch summary { gap: 4px; }
    .lang-switch .lang-name { max-width: 44px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .brand-text { font-size: 22px; }
    .wrap { padding-inline: 14px; }
    .daily-card { padding: 17px; }
    .moon-disc { width: 45px; height: 45px; }
    .hero-title, .font-devanagari .hero-title { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) { .tool-card:hover, .sign-card:hover { transform: none; } }
.payment-page { display: grid; gap: 22px; }
.payment-page .section-head, .payment-page .puja-filters { margin-bottom: 0; }
.puja-filters { display: flex; flex-wrap: wrap; gap: 10px; }
.puja-filter { display: inline-flex; padding: 8px 18px; border: 1px solid var(--line); border-radius: 30px; background: #fff; }
.puja-filter.is-active { color: #fff; background: var(--brand); border-color: var(--brand); }
.payment-summary h2 { margin-top: 0; }
.payment-page .field { margin-bottom: 18px; }
.payment-page input:not([type="radio"]):not([type="checkbox"]) { width: 100%; max-width: 100%; min-width: 0; }
.payment-options { border: 1px solid var(--line); border-radius: 14px; padding: 18px; margin: 18px 0; }
.payment-options legend { font-weight: 700; padding-inline: 8px; }
.payment-option { display: flex; align-items: flex-start; gap: 12px; margin: 14px 0; cursor: pointer; }
.payment-option input { flex: 0 0 auto; margin-top: 6px; accent-color: #b44b16; }
.payment-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.payment-facts dt { font-weight: 700; } .payment-facts dd { margin: 0; }
.payment-bank { overflow-wrap: anywhere; }
.payment-qr { display: block; width: 240px; max-width: 100%; height: auto; margin-block: 18px; }
.payment-page form + form { margin-top: 18px; }
.payment-page .btn[disabled] { opacity: .5; cursor: not-allowed; }
.payment-table-scroll { max-width: 100%; overflow-x: auto; }
@media (max-width: 600px) { .payment-facts { grid-template-columns: 1fr; gap: 5px; } .payment-facts dd { margin-bottom: 12px; } .payment-options { padding: 12px; } }
@media print { body { background: #fff; } .site-header, .date-location-card, .sign-rail { display: none !important; } .daily-columns { grid-template-columns: 1fr 1fr; } .daily-card { box-shadow: none; break-inside: avoid; } }
.push-preferences { width: min(520px, calc(100vw - 32px)); max-height: calc(100dvh - 40px); overflow: auto; border: 1px solid #e8d8cb; border-radius: 20px; padding: 24px; background: #fffaf5; color: #193244; box-shadow: 0 20px 70px #19324433; }
.push-preferences::backdrop { background: #19324488; }
.push-preferences p { margin: 12px 0; line-height: 1.6; }
.push-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.push-actions [hidden] { display: none; }


/* =====================================================================
   Period Horoscope Rich Layouts & Phase Breakdown (Vedic Depth)
   ===================================================================== */
.period-overall-card {
    background: #fff;
    border: 1px solid var(--line, #e2d8ce);
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    padding: 24px;
    margin-bottom: 28px;
}
.period-overall-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f0e6dc;
}
.period-overall-head h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #4a1c24;
}
.period-overall-prose {
    font-size: 15px;
    line-height: 1.7;
    color: #3b2a26;
    margin-bottom: 20px;
}
.period-domain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}
.period-domain-box {
    background: #fdfaf7;
    border: 1px solid #fae8d8;
    border-radius: 12px;
    padding: 14px 16px;
}
.period-domain-box h4 {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 650;
    color: #7b2938;
    display: flex;
    align-items: center;
    gap: 6px;
}
.period-domain-box p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.55;
    color: #4e3f3b;
}
.domain-remedy-pill {
    margin-top: 10px;
    padding: 7px 12px;
    background: #f0fdf4;
    border-radius: 8px;
    border: 1px solid #bbf7d0;
    font-size: 12.5px;
    color: #166534;
    line-height: 1.5;
}
.phase-precaution-box {
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    background: #fff1f2;
    border: 1px solid #fecdd3;
    font-size: 13px;
    color: #9f1239;
    line-height: 1.5;
}
.phase-remedy-box {
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    font-size: 13px;
    color: #065f46;
    line-height: 1.5;
}
.period-astro-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    background: #f9f5f0;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 16px;
    font-size: 13px;
    color: #554440;
}
.period-astro-strip span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.period-maha-remedy {
    background: linear-gradient(135deg, #fff7ed 0%, #fef3c7 100%);
    border-left: 4px solid #d97706;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 13.5px;
    line-height: 1.6;
    color: #78350f;
}

/* Phase Cards Grid */
.period-phase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 18px;
}
.phase-card {
    background: #fff;
    border: 1px solid var(--line, #e2d8ce);
    border-radius: 16px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.03);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.phase-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}
.phase-header {
    margin-bottom: 12px;
}
.phase-meta-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.phase-badge {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    background: #f3eae1;
    color: #63323a;
    padding: 3px 9px;
    border-radius: 12px;
    letter-spacing: 0.5px;
}
.phase-header h3 {
    margin: 0 0 6px;
    font-size: 16.5px;
    font-weight: 700;
    color: #2e1a1e;
}
.phase-meter {
    height: 6px;
    background: #f0e6dc;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 8px;
}
.phase-meter-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s ease;
}
.phase-meter-fill.strong { background: linear-gradient(90deg, #10b981, #059669); }
.phase-meter-fill.good { background: linear-gradient(90deg, #3b82f6, #2563eb); }
.phase-meter-fill.mixed { background: linear-gradient(90deg, #f59e0b, #d97706); }
.phase-meter-fill.caution { background: linear-gradient(90deg, #ef4444, #dc2626); }

.phase-theme-title {
    font-size: 14px;
    font-weight: 650;
    color: #832729;
    margin: 10px 0 8px;
    line-height: 1.45;
}
.phase-prose {
    font-size: 14px;
    line-height: 1.65;
    color: #3f2f2b;
    margin-bottom: 14px;
}
.phase-domains-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
    border-top: 1px dashed #eedfd5;
    padding-top: 12px;
}
.phase-domain-row {
    font-size: 13px;
    line-height: 1.5;
    color: #4b3d39;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.phase-domain-tag {
    font-weight: 700;
    color: #6b212f;
    white-space: nowrap;
    min-width: 58px;
}
.phase-tip-box {
    background: #fbf7ee;
    border-left: 3px solid #d97706;
    border-radius: 6px;
    padding: 10px 12px;
    margin-top: auto;
}
.phase-tip-text {
    font-size: 12.5px;
    line-height: 1.5;
    color: #713f12;
    margin: 0 0 4px;
}
.phase-micro-strip {
    display: flex;
    justify-content: space-between;
    font-size: 11.5px;
    color: #854d0e;
    margin: 0;
    font-weight: 600;
}

/* === readability.css === */
@font-face {
    font-family: 'Omaaa Devanagari';
    src: url('../fonts/OmaaaDevanagariText.woff2') format('woff2'), url('../fonts/NotoSansDevanagari.ttf') format('truetype');
    font-weight: 400 700;
    font-display: swap;
}
:root {
    --brand: #c34716; --brand-dark: #9e330d; --brand-light: #e56b31;
    --ink: #17324d; --ink-soft: #42576b; --muted: #56697a;
    --bg: #fffaf5; --bg-alt: #fff3e7; --line: #e6e2dc;
    --font-devanagari: 'Omaaa Devanagari', 'Nirmala UI', 'Mangal', sans-serif;
}
body { background: #fffaf5; color: var(--ink); font-size: 17px; line-height: 1.75; }
html[lang="hi"] body, html[lang="mr"] body, html[lang="hng"] body {
    font-family: 'Omaaa Devanagari', system-ui, sans-serif; font-weight: 450;
}
button, input, select, textarea { font: inherit; }
.section-head p, .horoscope-hero p, .prose, .article-body, .reading-body, .aside-card p { font-size: 17px; line-height: 1.8; }
.section-head h1, .section-head h2, h2, h3 { font-weight: 700; }
.site-header { top: 0; margin: 0; border-radius: 0; border: 0; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 2px 12px #17324d08; }
.site-nav a, .knowledge-menu summary, .knowledge-menu > ul a { font-size: 15px; font-weight: 600; }
.site-nav a[aria-current="page"] { color: var(--brand); box-shadow: inset 0 -3px var(--brand); }
.brand-tagline { font-size: 11px; }
.btn, .period-strip a { min-height: 44px; font-size: 15px; font-weight: 650; }
.btn-primary, .hero-actions .btn-primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-primary:hover, .hero-actions .btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn-ghost { border-color: #d7c9ba; }
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="range"]):not([type="submit"]), select, textarea {
    width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid #b5bfca;
    border-radius: 10px; color: #17324d; background: #fff; font-size: 16px;
}
input[type="checkbox"], input[type="radio"] { accent-color: var(--brand); }
label { color: #17324d; font-weight: 600; }
:is(input, select, textarea, button, a):focus-visible { outline: 3px solid #247d88; outline-offset: 3px; }
.site-footer, .site-footer p, .site-footer a, .footer-links a { font-size: 15px; line-height: 1.8; }
.breadcrumbs, .result-meta, .hint { font-size: 14px; color: var(--muted); }
.period-strip a.is-active { background: #17324d; color: #fff; }
.permission-option { display: flex; gap: 10px; align-items: center; margin-block: 9px; }
.admin { background: #f4f7fa; font-size: 15px; }
.admin .card { border: 1px solid #e1e7ef; }
@media (max-width: 640px) {
    body { font-size: 16px; }
    .section-head p, .prose, .article-body { font-size: 16px; }
    .site-header { top: 0; margin: 0; border-radius: 0; }
    .brand-text { font-size: 22px; }
    .knowledge-menu > ul { max-width: min(320px, 90vw); }
}
:root { --forecast-note-bg: #fff8e8; }
.forecast-method { background: var(--forecast-note-bg); border-inline-start: 4px solid #c45b16; padding: 14px 18px; color: #344454; font-size: 1rem; line-height: 1.85; border-radius: 10px; margin: 18px 0 24px; }
.editorial-prose { line-height: 1.9; overflow-wrap: anywhere; }
.install-help {
    position: fixed;
    inset: auto 0 90px;
    z-index: 1100;
    width: min(440px, calc(100% - 24px));
    max-height: 60dvh;
    margin: 0 auto;
    overflow: auto;
    padding: 16px 20px;
    color: var(--ink);
    background: #fffaf5;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 8px 28px #17324d33;
}
.install-help:not([open]) { display: none; }
.install-help h2 { font-size: 1.1rem; margin: 0 0 .35rem; }
.install-help p { line-height: 1.6; margin: 0 0 .75rem; }
.install-help button { min-height: 44px; }
.page-share-bar { display: flex; justify-content: flex-end; padding-top: 12px; padding-bottom: 8px; max-width: 100%; box-sizing: border-box; }
.page-share-dialog {
    --share-top: max(12px, min(8vh, 64px), env(safe-area-inset-top));
    position: fixed;
    inset: var(--share-top) 0 auto;
    margin: 0 auto;
    width: min(480px, calc(100% - 24px));
    max-height: calc(100vh - var(--share-top) - 12px);
    max-height: calc(100dvh - var(--share-top) - 12px - env(safe-area-inset-bottom));
    box-sizing: border-box;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0;
    color: var(--ink);
    background: var(--card, #fffaf5);
}
.page-share-dialog::backdrop { background: #17324d88; }
.page-share-dialog:not([open]) { display: none; }
.page-share-dialog[open] { display: flex; flex-direction: column; }
.page-share-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 3px 8px 3px 14px;
    border-bottom: 1px solid var(--line);
    flex: none;
}
.page-share-header h2 { font-size: 18px; line-height: 1.3; margin: 0; }
.page-share-close { min-width: 44px; min-height: 44px; background: none; color: inherit; border: 0; border-radius: 6px; cursor: pointer; }
.page-share-body { padding: 12px 14px; overflow: auto; min-height: 0; overscroll-behavior: contain; }
.page-share-heading { font-size: 15px; line-height: 1.45; font-weight: 700; margin: 0 0 8px; overflow-wrap: anywhere; }
.page-share-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.page-share-actions > :is(a, button) { min-width: 0; min-height: 44px; justify-content: center; text-align: center; padding: 6px 8px; font-size: 14px; line-height: 1.3; white-space: normal; }
.page-share-copy { grid-column: 1 / -1; }
.page-share-body [data-share-status] { font-size: 13px; line-height: 1.5; margin: 7px 0 0; }
.page-share-body [data-share-status]:empty { display: none; }
.page-share-downloads summary { display: list-item; align-content: center; min-height: 44px; font-size: 14px; cursor: pointer; }
[data-share-previews] { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
[data-share-previews] figure { margin: 0; min-width: 0; }
[data-share-previews] img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); margin-bottom: 8px; }
.page-share-dialog textarea { width: 100%; min-height: 180px; }
@media (max-width: 480px) { [data-share-previews] { grid-template-columns: 1fr; } }
@media print { .page-share-bar, .page-share-dialog { display: none; } }

.home-tool-shortcuts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-block: 10px 0;
}
.home-tool-shortcuts a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 64px;
    min-width: 0;
    padding: 6px;
    border-block-end: 1px solid var(--line);
    color: var(--ink);
    text-align: center;
    text-decoration: none;
    font-size: .875rem;
    line-height: 1.3;
    font-weight: 650;
    overflow-wrap: anywhere;
}
.home-tool-shortcuts .ui-icon {
    width: 25px;
    height: 25px;
    flex: none;
    color: var(--brand-dark);
}
.home-tool-shortcuts a:hover,
.home-tool-shortcuts a:focus-visible { background: var(--bg-alt); }
.home-tool-shortcuts a:focus-visible {
    outline: 2px solid var(--brand-dark);
    outline-offset: -3px;
}
@media (min-width: 901px) {
    .home-tool-shortcuts {
        grid-template-columns: repeat(8, minmax(0, 1fr));
        margin-block: 20px 0;
    }
    .home-tool-shortcuts a {
        padding-block: 10px;
        gap: 8px;
        font-size: 1rem;
    }
    .home-tool-shortcuts a + a { border-inline-start: 1px solid var(--line); }
    .footer-grid.footer-grid--compact { grid-template-columns: 1.6fr 1fr 1fr; }
}
.home-intent-search { padding-block: 12px; }
.home-intent-search form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: end; }
.home-intent-search form > .btn { min-height: 48px; }
.related-puja-links { list-style: none; margin: 0 0 18px; padding: 0; }
.related-puja-links a { display: flex; align-items: center; min-height: 44px; padding-block: 5px; border-block-end: 1px solid var(--line); }
@media (max-width: 768px) {
    .home-tool-shortcuts a { padding-inline: 3px; font-size: .8125rem; }
    .home-intent-search { padding-block: 8px 12px; }
}
/* Topic artwork and authored infographic summaries. */
.puja-card { transition: transform .18s ease, box-shadow .18s ease; }
.puja-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px #19374716; }
.puja-card:focus-within { outline: 3px solid #df8d38; outline-offset: 3px; }
.puja-card-art { aspect-ratio: 1.5; }
.puja-card-art img { display: block; transition: transform .25s ease; }
.puja-card-art:hover img { transform: scale(1.025); }
.knowledge-visual { margin-block: 26px 38px; border: 1px solid var(--line); padding: clamp(16px,3vw,30px); background: #fff; border-radius: 22px; }
.knowledge-visual-head h2 { margin: 8px 0 22px; font-size: clamp(22px,3vw,28px); }
.knowledge-hero { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); margin: 0 0 24px; background: #fff8ef; border-radius: 16px; overflow: hidden; }
.knowledge-hero a { display: block; min-width: 0; }
.knowledge-hero img { display: block; width: 100%; height: 100%; object-fit: cover; }
.content-image-full { display: block; max-inline-size: 100%; min-inline-size: 0; text-underline-offset: .18em; }
.content-image-full > img, .content-image-full > picture > img { display: block; inline-size: 100%; block-size: auto; max-block-size: none; aspect-ratio: auto; object-fit: contain; }
.content-image-full > .content-image-label { display: inline-flex; min-block-size: 44px; align-items: center; justify-content: center; padding-inline: .6rem; font-weight: 650; }
.knowledge-hero figcaption { padding: 24px; align-self: center; }
.knowledge-hero figcaption span { color: var(--saffron); font-size: 13px; font-weight: 650; }
.knowledge-hero figcaption p { font-size: 17px; line-height: 1.85; margin: 12px 0 0; }
.knowledge-points { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; list-style: none; padding: 0; margin: 22px 0 0; counter-reset: none; }
.knowledge-points li { display: flex; gap: 16px; align-items: start; padding: 20px; border: 1px solid #e8e3d9; border-radius: 16px; background: #fffdf8; }
.knowledge-points h3 { font-size: 19px; margin: 0 0 8px; line-height: 1.55; }
.knowledge-points p { font-size: 16px; margin: 0; line-height: 1.85; overflow-wrap: anywhere; }
.knowledge-point-symbol { position: relative; display: grid; place-items: center; width: 46px; height: 46px; flex: 0 0 46px; color: #b45421; background: #ffedda; border-radius: 13px; }
.knowledge-point-symbol .ui-icon { width: 26px; height: 26px; }
.knowledge-point-symbol b { position: absolute; inset-inline-end: -5px; top: -7px; width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; color: white; background: #193747; font-size: 12px; }
.knowledge-card-image { display: block; width: 100%; height: auto; aspect-ratio: 1.5; object-fit: cover; border-radius: 12px; margin-bottom: 16px; }
.vastu-diagram { margin: 24px 0; border: 1px solid #eedfcb; border-radius: 16px; overflow: hidden; background: #fcf3e4; }
.vastu-diagram svg { display: block; width: 100%; height: auto; max-height: 360px; }
.vastu-diagram-key { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; padding: 18px; background: #fffaf2; }
.vastu-diagram-key span { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.vastu-diagram-key b { border-radius: 50%; width: 26px; height: 26px; flex: 0 0 26px; display: grid; place-items: center; background: #193747; color: white; font-size: 14px; }
.vastu-diagram-note { padding: 0 18px 18px; color: var(--text-muted, #596a77); font-size: 14px; line-height: 1.7; }
@media (max-width: 620px) { .knowledge-hero,.knowledge-points { grid-template-columns: 1fr; } .knowledge-hero img { height: auto; } .knowledge-hero figcaption { padding: 18px; } .knowledge-points li { padding: 16px; gap: 12px; } .knowledge-points h3 { font-size: 18px; } .knowledge-points p { font-size: 16px; } }
@media (prefers-reduced-motion: reduce) { .puja-card,.puja-card-art img { transition: none; } .puja-card:hover,.puja-card-art:hover img { transform: none; } }

.puja-detail-figure { margin: 0 0 24px; }
.puja-detail-figure a { display: block; }
.puja-detail-figure figcaption { margin-top: 8px; color: var(--text-muted, #596a77); font-size: 14px; }
/* Devotional readings keep the Sanskrit text prominent on small screens. */
.mantra-readings blockquote { font-size: clamp(1.2rem, 2.2vw, 1.55rem); font-weight: 600; line-height: 1.9; font-style: normal; overflow-wrap: anywhere; }
.mantra-search label { font-weight: 600; }
.mantra-search input { flex: 1 1 260px; min-width: 0; padding: 12px 14px; border: 1px solid var(--line, #e5d8ce); border-radius: 12px; font: inherit; color: var(--ink, #193747); background: #fff; }
@media (max-width: 600px) { .mantra-search label, .mantra-search input { flex-basis: 100%; } }

/* Clearly separated, in-flow advertisements; no fixed/sticky overlays. */
.advertisement { margin-block: 24px; text-align: center; }
.knowledge-filters { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr)); gap:16px; align-items:end; margin-block:24px; }
.knowledge-filters .field { min-width:0; }
.knowledge-filters button { min-height:48px; }
.knowledge-detail-image { display:block; max-width:100%; height:auto; margin-block:24px; border-radius:12px; }
.knowledge-faq { padding-block:12px; border-bottom:1px solid var(--line); }
.knowledge-faq summary { font-weight:650; cursor:pointer; padding-block:8px; }
@media print { .knowledge-filters,.knowledge-faq summary::marker { display:none; } }
.advertisement-label { display: block; margin-bottom: 8px; color: var(--muted, #66717b); font: 500 11px/1.5 var(--font, sans-serif); letter-spacing: .04em; }
.advertisement-creative { width: 100%; min-width: 0; margin-inline: auto; }
.advertisement-creative > a { display: block; width: fit-content; max-width: 100%; margin-inline: auto; }
.advertisement-creative img { display: block; max-width: 100%; width: auto; max-height: 600px; height: auto; margin-inline: auto; border-radius: 10px; }
.advertisement-creative iframe { display: block; width: 100%; max-width: 100%; border: 0; background: transparent; }
.advertisement-creative ins { min-width: 0; }
.advertisement a:focus-visible { outline: 3px solid var(--brand, #a34423); outline-offset: 4px; }
@media print { .advertisement { display: none !important; } }
.forecast-dates { padding: 16px; margin-block: 18px 24px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.forecast-dates > span { display: block; margin-bottom: 10px; color: var(--ink); font-size: 14px; font-weight: 650; }
.forecast-dates ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.forecast-dates a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); font-size: 14px; text-decoration: none; }
.forecast-dates a:hover, .forecast-dates a[aria-current=date] { background: #fff0df; border-color: var(--brand); color: var(--brand-dark); }
.knowledge-image-frame{aspect-ratio:3/2;overflow:hidden;margin:0 0 1rem}.knowledge-image-frame>img{width:100%;height:100%;object-fit:contain;display:block}

.knowledge-hub-art{height:240px;overflow:hidden;border-radius:18px;margin-bottom:24px}.knowledge-hub-art img{width:100%;height:100%;object-fit:cover}@media(max-width:600px){.knowledge-hub-art{height:180px}}

/* Official calendars remain readable on small screens. */
.holiday-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:1rem;align-items:end;margin-bottom:1.5rem}.holiday-filters select,.holiday-filters input{width:100%;max-width:100%}.holiday-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:1rem;margin:1.5rem 0}.holiday-grid h2{font-size:1.15rem}.holiday-grid a,.holiday-grid p{overflow-wrap:anywhere}
@media (max-width: 768px) {
    .header-inner > .brand { min-width: 0; max-width: calc(100% - 104px); margin-inline: auto; }
    .header-inner .brand-lockup { min-width: 0; }
    .header-inner .brand-text { display: block; overflow: hidden; text-overflow: ellipsis; }
}


/* Original responsive banners and restrained motion; content never waits for animation. */
.home-carousel { margin-block:1.5rem 2rem; }
.carousel-stage { position:relative; min-height:22rem; overflow:hidden; border:1px solid var(--line); border-radius:24px; background:#fff3e7; }
.carousel-slide { display:flex !important; flex-direction:row; align-items:stretch; justify-content:space-between; min-height:380px; background:#fffdfa; position:relative; overflow:hidden; }
.carousel-slide[hidden] { display:none; }
.carousel-art { flex:1 1 46%; max-width:46%; position:relative !important; inset:auto !important; width:auto !important; height:auto !important; min-height:380px; overflow:hidden; background:#1c140f; display:flex; align-items:center; justify-content:center; z-index:1; }
.carousel-art img { width:100%; height:100%; object-fit:cover; object-position:center top; display:block; }
.carousel-copy { flex:1 1 54%; max-width:56%; padding:28px 32px; display:flex; flex-direction:column; justify-content:center; background:linear-gradient(135deg, #ffffff 0%, #fffdfa 55%, #fff7ed 100%); z-index:2; box-sizing:border-box; }
.carousel-copy h2 { font-size:clamp(1.7rem,3vw,2.7rem); line-height:1.3; margin:.5rem 0 1rem; }
.carousel-copy p { color:var(--ink-soft); }
.carousel-controls { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:.8rem; padding:.75rem; }
.carousel-controls button { min-width:44px; min-height:44px; border:1px solid var(--line); border-radius:10px; background:white; color:var(--ink); padding:.4rem .8rem; cursor:pointer; }
.carousel-controls button[aria-pressed="true"] { background:var(--ink); color:#fff; }
.motion-accent { display:block; width:64px; height:64px; margin-bottom:.6rem; }
.motion-accent img { width:64px; height:64px; }
.call-controls audio { max-width:100%; width:100%; margin-top:1rem; }
.tool-card > img { max-width:100%; object-fit:contain; border-radius:14px; }
input,select,textarea { max-width:100%; min-width:0; }
:focus-visible { outline:3px solid #b65b20; outline-offset:3px; }
@media (prefers-reduced-motion:no-preference) {
 .btn, .tool-card, .carousel-controls button { transition:transform 180ms ease,box-shadow 180ms ease,background-color 160ms ease; }
 @media (hover:hover) { .tool-card:hover { transform:translateY(-3px); } .btn:hover { transform:translateY(-1px); } }
 .btn:active { transform:translateY(1px); }
 .carousel-slide:not([hidden]) { animation:omaaa-banner-enter 420ms ease-out both; }
 .knowledge-menu[open] > ul { animation:omaaa-menu-enter 160ms ease-out; }
 [data-call-state] { transition:opacity 180ms ease; }
 @keyframes omaaa-banner-enter { from { opacity:.35; transform:translateX(18px); } to { opacity:1; transform:translateX(0); } }
 @keyframes omaaa-menu-enter { from { opacity:0; transform:translateY(-4px); } to { opacity:1; transform:translateY(0); } }
}
@media (max-width:640px) {
 .carousel-stage { min-height:auto; }
 .carousel-slide { flex-direction:column-reverse !important; min-height:auto; }
 .carousel-copy { max-width:100%; width:100%; padding:20px 18px 24px; }
 .carousel-art { max-width:100%; width:100%; height:240px; min-height:240px; }
 .carousel-art img { object-position:center; }
 .carousel-controls { gap:.5rem; }
 .home-carousel { width:calc(100% - 2rem); }
 .period-strip { overflow-x:auto; gap:.65rem; }
 .tool-card { min-width:0; }
}
@media (prefers-reduced-motion:reduce) {
 *,*::before,*::after { animation:none !important; transition:none !important; scroll-behavior:auto !important; }
}

.natal-diagram { display:block; width:min(100%,28rem); height:auto; margin:1.5rem auto; }
.kundli-result { margin: 24px auto; min-width: 0; }
.birth-report { min-width: 0; margin: 24px 0; }
.birth-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.birth-facts > div { padding: 12px; background: var(--bg-alt); border-radius: 8px; min-width: 0; }
.birth-facts dt, .guna-pair dt { font-size: .9rem; color: var(--muted); }
.birth-facts dd, .guna-pair dd { margin: 4px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.kundli-charts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.kundli-charts figure { margin: 0; min-width: 0; }
.kundli-charts figcaption { text-align: center; font-weight: 700; margin-top: 16px; }
.kundli-charts .natal-diagram { margin: 8px auto; width: 100%; max-width: 440px; }
.guna-summary { padding: 20px; border-radius: 12px; background: var(--bg-alt); text-align: center; }
.guna-total { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px; }
.guna-total strong { font-size: 2rem; color: var(--brand-dark); }
.guna-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin: 24px 0; }
.guna-koota { border: 1px solid var(--line); border-radius: 12px; padding: 18px; min-width: 0; }
.guna-koota h4 { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.guna-koota h4 span { white-space: nowrap; color: var(--brand-dark); }
.guna-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
.guna-koota p, .guna-koota li { font-size: 1rem; }
.kundli-details { padding: 16px 0; border-bottom: 1px solid var(--line); }
.kundli-details > summary { cursor: pointer; font-weight: 700; min-height: 44px; padding: 10px 0; }
.paired-birth-reports > .birth-report { border-top: 2px solid var(--line); padding-top: 24px; }
.degree-value { white-space: nowrap; }
.saved-kundlis, .saved-entry { min-width: 0; }
.saved-toolbar, .saved-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.saved-toolbar { justify-content: space-between; margin-block: 20px; }
.saved-count { font-weight: 700; color: var(--brand-dark); }
.saved-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.saved-card { min-width: 0; border-top: 4px solid var(--brand); overflow-wrap: anywhere; }
.saved-card h2 { font-size: 1.25rem; }
.saved-actions .btn { padding: 10px 14px; }
.saved-entry { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 20px; }
.saved-entry .input, .saved-editor .input, .saved-compare .input { min-width: 0; max-width: 100%; }
.saved-editor, .saved-compare { margin-block: 24px; }
@media(max-width:600px) { .saved-grid { grid-template-columns: 1fr; } .saved-card { padding: 16px; } }
.dasha-input { min-width:0; margin:1rem 0; padding:1rem; border:1px solid #d8cbb5; border-radius:12px; }
.dasha-active { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr)); gap:12px; }
.dasha-period { min-width:0; padding:14px; background:#f1f5fb; border-left:4px solid #315d87; border-radius:10px; overflow-wrap:anywhere; }
.dasha-period h5 { font-size:1rem; margin:0 0 8px; }
.dasha-current { background:#e9f3fb; }
.dasha-report { min-width:0; margin-block:1.5rem; overflow-wrap:anywhere; }
.city-widget { min-width:0; margin-block:1rem; }.city-widget select { max-width:100%; }.city-status { overflow-wrap:anywhere; }
.module-reading-guide { margin-block:1.5rem 2rem; overflow-wrap:anywhere; }.module-reading-guide>.knowledge-card-image { max-width:600px; height:auto; margin:1rem auto; border-radius:12px; }
.module-guide-sections { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }.module-guide-sections h3 { font-size:1.2rem; }.module-reading-guide details { margin-block:12px; }
@media(max-width:800px) { .module-guide-sections { grid-template-columns:1fr; gap:8px; } }
.city-suggestions { list-style:none; margin:0; padding:0; max-height:20rem; overflow:auto; border:1px solid #b7ad9d; border-radius:8px; background:#fff; }
.city-suggestions [role=option] { padding:12px; cursor:pointer; overflow-wrap:anywhere; border-bottom:1px solid #ddd; }.city-suggestions [aria-selected=true],.city-suggestions [role=option]:hover { background:#eee8ff; outline:2px solid #6b4595; outline-offset:-2px; }
.graha-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.graha-card { min-width:0; border:1px solid #d3cbbc; border-top:6px solid var(--graha-accent,#69717a); border-radius:12px; padding:16px; background:var(--graha-bg,#f3f3f3); color:#242424; overflow-wrap:anywhere; }
.graha-card h5 { font-size:1.1rem; margin:0 0 12px; }
.graha-card dt { font-weight:600; margin-top:10px; }.graha-card dd { margin:2px 0 6px; }
.graha-red { --graha-accent:#9a1930; --graha-bg:#fff0f2; }.graha-orange { --graha-accent:#ad4c08; --graha-bg:#fff3e8; }.graha-yellow { --graha-accent:#a47b00; --graha-bg:#fffbea; }.graha-light-green { --graha-accent:#568929; --graha-bg:#f2f9e9; }.graha-green { --graha-accent:#126442; --graha-bg:#ebf8f0; }
.strength-unknown { background:#e9e9ec; color:#3d4249; padding:4px 8px; border-radius:6px; }
@media(max-width:900px) { .graha-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:560px) { .graha-grid { grid-template-columns:minmax(0,1fr); } }
@media print {
    .skip-link { display:none !important; }
    .graha-grid { display:block; }.graha-card { break-inside:avoid; margin-block:12px; }
    .graha-card>dl { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.4fr); gap:6px 16px; }
    .graha-card dt,.graha-card dd { margin:0; }
    .graha-report details>* { display:block; }
    .graha-report .friendship-pairs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
    .friendship-pairs>div { break-inside:avoid; }
    /* Modern Chromium hides closed disclosures via this pseudo-element, beyond display. */
    .graha-report details::details-content,.dasha-report details::details-content { content-visibility:visible; }
}
@media print { .saved-toolbar, .saved-grid, .saved-entry, .saved-count { display: none !important; } .dasha-report details>*,.dasha-report details:not([open])>* { display:block; } .dasha-period { break-inside:avoid; } }
@media(max-width:900px) { .kundli-charts { grid-template-columns: 1fr; } }
@media(max-width:600px) { .guna-grid, .birth-facts { grid-template-columns: 1fr; } .kundli-result { padding: 16px; } }
.knowledge-menu > ul { max-height:70vh; overflow-y:auto; overscroll-behavior:contain; }

/* Keep full section geometry available to keyboard navigation and hit testing. */
.home-deferred { content-visibility:visible; }
@media print { .home-deferred { content-visibility:visible; } }
.sign-card.tone-strong .chip-tone { color:#0d7041; }
.mobile-dock a[aria-current="page"] { color:var(--brand-dark); }

.home-carousel { scroll-margin-top:100px; }

/* OMAAA 2026 premium palette: restrained purple, ivory and brass. */
:root { --brand:#654080; --brand-dark:#48255f; --brand-light:#846099; --ink:#28233b; --ink-soft:#5e5768; --muted:#6a6172; --gold:#a77a31; --gold-soft:#ebd3a1; --line:#e8e1ed; --bg:#fbf8f2; --bg-alt:#f3edf6; --maroon:#261c40; --forest:#261c40; --shadow:0 4px 20px #2b193608; --shadow-lg:0 12px 36px #2b193612; }
body { background:#fbf8f2; }
.site-header { background:#fffefa; backdrop-filter:none; }
.brand-text,.brand-mobile { color:#48255f; }
.brand-mark,.tool-card-icon,.quick-icon { background:#f2ebf7; color:#654080; }
.btn-primary,.hero-actions .btn-primary { background:#654080; color:#fff; border-color:#654080; box-shadow:none; }
.btn-primary:hover,.hero-actions .btn-primary:hover { background:#48255f; color:#fff; }
.hero { background:linear-gradient(120deg,#251b42,#34254d); color:#fcf7ed; margin:20px auto 0; padding:0 0 24px; border-radius:24px; max-width:calc(100% - 40px); }
.hero .hero-title,.hero .hero-topline,.hero .hero-picker-head { color:#fcf7ed; }
.hero .hero-title-accent { color:#eacb88; }
.hero .hero-sub,.hero .hero-note,.hero .hero-topline time,.hero .hero-topline>span,.hero .hero-eyebrow { color:#e1d8e9; }
.hero .hero-topline { border-bottom-color:#ffffff26; margin-bottom:12px; }
.hero .hero-picker { background:#fffdf7; margin-top:24px; }
.hero .hero-picker-head { color:#28233b; }
.hero .hero-artwork { border:1px solid #d9bd7d66; box-shadow:none; }
.hero .hero-actions .btn-primary { background:#edcf8b; color:#292039; border-color:#edcf8b; }
.hero .hero-actions .btn-ghost { background:transparent; color:#fff8eb; border-color:#a896b8; }
.hero .hero-actions .btn-ghost:hover { background:#ffffff15; }
.hero .hero-actions { flex-wrap:wrap; gap:10px; }
.hero-actions a { min-height:46px; }
.directory-heading { max-width:760px; padding-block:24px; }
.directory-heading h1 { font-size:clamp(30px,4vw,46px); line-height:1.35; }
.directory-heading .price-note { color:#48255f; font-weight:600; }
.discovery-filters { display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr 1fr auto; gap:14px; align-items:end; padding:24px; margin-bottom:28px; border:1px solid var(--line); border-radius:18px; background:#fff; }
.discovery-filters label { min-width:0; font-size:14px; font-weight:600; }
.discovery-filters input,.discovery-filters select { display:block; width:100%; min-height:46px; margin-top:8px; padding:10px; color:var(--ink); background:#fff; border:1px solid #bfb2c9; border-radius:8px; font:inherit; }
.practitioner-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.practitioner-card { display:flex; flex-direction:column; min-width:0; background:#fff; padding:24px; border:1px solid var(--line); border-radius:20px; box-shadow:var(--shadow); }
.practitioner-card-top { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; margin-bottom:20px; }
.practitioner-portrait { border-radius:50%; object-fit:cover; background:#eee6f4; border:3px solid #eadfce; aspect-ratio:1; }
.practitioner-card h2 { font-size:24px; margin-bottom:4px; }
.practitioner-card h2 a { color:var(--ink); }
.profile-badge { padding:5px 10px; border-radius:20px; background:#edf5ed; color:#285539; font-size:12px; font-weight:650; }
.demo-badge { background:#fff3d7; color:#795322; }
.profile-location { color:var(--muted); font-size:14px; }
.profile-specialties { color:#583476; font-weight:600; }
.practitioner-card p { font-size:14px; margin-bottom:12px; }
.profile-rating { color:#72521d; }
.profile-rating span { color:var(--ink-soft); }
.profile-price { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; border-top:1px solid var(--line); padding-top:16px; margin-top:auto; margin-bottom:18px; }
.availability { color:#655e6c; font-size:13px; }
.availability::before { content:'●'; display:inline-block; margin-inline-end:5px; }
.availability.available { color:#246143; }
.profile-empty { padding:36px; border:1px dashed #c9b8d5; border-radius:18px; background:#fff; text-align:center; }
.practitioner-detail { border:1px solid var(--line); border-radius:22px; background:#fff; overflow:hidden; }
.profile-identity { display:flex; align-items:center; gap:32px; padding:32px; background:#f2edf7; }
.profile-identity h1 { margin:14px 0 8px; font-size:clamp(28px,4vw,42px); }
.profile-identity p { margin-bottom:8px; }
.profile-body { display:grid; grid-template-columns:minmax(0,1.6fr) minmax(260px,1fr); gap:36px; padding:32px; }
.profile-body h2 { font-size:24px; margin-top:20px; }
.profile-booking { border:1px solid var(--line); padding:24px; border-radius:16px; align-self:start; }
.profile-booking .calc-form { border:0; box-shadow:none; padding:0; }
.profile-booking .btn { width:100%; margin-bottom:12px; }
.profile-reviews { margin-top:28px; }
.discovery-intro { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:18px; margin-bottom:24px; }
.discovery-intro h2 { margin-bottom:8px; }
.discovery-intro p { color:var(--ink-soft); margin:0; }
.service-shortcuts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; margin-block:24px; }
.service-shortcuts a { background:#fff; border:1px solid var(--line); border-radius:14px; padding:20px; display:flex; align-items:center; gap:14px; font-weight:600; color:var(--ink); }
.service-shortcuts .ui-icon { width:28px; height:28px; color:#654080; flex:none; }
.site-footer { background:#241b35; }
.site-footer,.site-footer p,.site-footer a,.site-footer h2,.site-footer h3,.site-footer h4,.site-footer .brand-text { color:#eee7f4; }
:focus-visible { outline-color:#9a6320; }
@media (prefers-reduced-motion:no-preference) and (hover:hover) { .practitioner-card { transition:box-shadow 180ms ease,border-color 180ms ease; } .practitioner-card:hover { border-color:#b29cc0; box-shadow:var(--shadow-lg); } }
@media(max-width:1000px) { .discovery-filters { grid-template-columns:repeat(3,minmax(0,1fr)); } .practitioner-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:640px) { .hero { max-width:calc(100% - 20px); margin-top:12px; border-radius:18px; } .hero .wrap { padding-inline:18px; } .hero .hero-title { font-size:34px; line-height:1.35; } .hero .hero-actions { flex-direction:row; } .hero .hero-actions .btn { flex:1 1 130px; justify-content:center; } .service-shortcuts { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; } .service-shortcuts a { padding:14px 12px; font-size:14px; } .practitioner-grid { grid-template-columns:minmax(0,1fr); gap:16px; } .discovery-filters { grid-template-columns:repeat(2,minmax(0,1fr)); padding:16px; gap:12px; } .discovery-filters label:first-child { grid-column:1/-1; } .profile-identity { flex-direction:column; align-items:flex-start; padding:24px; gap:20px; } .profile-identity .practitioner-portrait { width:136px; height:136px; } .profile-body { grid-template-columns:minmax(0,1fr); padding:24px; gap:20px; } .profile-booking { padding:18px; min-width:0; } .profile-empty { padding:24px; } }

/* Private consultation: readable replies and wallet state on small screens. */
.consultation-room{max-width:860px;margin:auto}.session-heading{display:flex;gap:1rem;align-items:center}.session-heading h1{font-size:clamp(1.45rem,4vw,2rem);margin:.2rem 0}.session-heading p{margin:.3rem 0}.session-wallet{display:flex;flex-wrap:wrap;gap:.6rem 1.5rem;align-items:center;margin:1rem 0}.session-wallet p{margin:0}.chat-log:not([hidden]){min-height:160px;max-height:420px;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:.8rem}.chat-message{max-width:88%;align-self:flex-start;padding:.7rem 1rem;background:#f0edf7;border-radius:14px;margin:0;overflow-wrap:anywhere}.chat-message.mine{align-self:flex-end;background:#e9f2eb}.chat-message strong,.chat-message span{display:block}.chat-message strong{font-size:.8rem;color:#514264}.chat-message span{white-space:pre-wrap}.consultation-room [hidden]{display:none!important}.consultation-room audio{max-width:100%}.consultation-room [data-session-connection],.consultation-room [data-chat-feedback]{min-height:1.5em}.session-heading .practitioner-portrait{width:80px;height:80px;flex-shrink:0}
/* Horoscope values: separate labels, scores and lucky details. */
.horoscope-score-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}
.horoscope-score-card{--score-accent:#654080;min-width:0;padding:14px;border:1px solid #e4dced;border-radius:14px;background:#faf8fd;display:flex;flex-direction:column;gap:8px}
.horoscope-score-label{display:block;color:#4c405d;font-weight:650;font-size:.88rem;line-height:1.5;overflow-wrap:anywhere}
.horoscope-score-value{display:block;font-size:1.65rem;line-height:1.2;color:var(--score-accent);font-variant-numeric:tabular-nums}
.horoscope-score-value small{font-size:.75rem;font-weight:600;color:#63566d;margin-left:3px}
.horoscope-score-track{height:6px;background:#e8e0ed;border-radius:8px;overflow:hidden;margin-top:auto}
.horoscope-score-track span{display:block;height:100%;border-radius:inherit;background:var(--score-accent)}
.score-tone-1{--score-accent:#8b4a12;background:#fff9f0;border-color:#eedcc5}.score-tone-2{--score-accent:#9a3f63;background:#fff6f9;border-color:#f0d8e1}.score-tone-3{--score-accent:#206354;background:#f2faf7;border-color:#cce4db}
.lucky-facts{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin:18px 0 0;padding:0}
.lucky-fact{--fact-ink:#654080;--fact-bg:#f0e8f7;display:grid;grid-template-columns:minmax(80px,.8fr) minmax(0,1.35fr);align-items:center;gap:12px;background:#fff;border:1px solid #e7e1ec;border-left:4px solid var(--fact-ink);border-radius:12px;padding:12px}
.lucky-fact dt{margin:0;color:#4d4659;font-size:.88rem;font-weight:650;line-height:1.5}
.lucky-fact dd{display:flex;flex-wrap:wrap;gap:6px;margin:0;min-width:0;align-items:center}
.lucky-value{display:inline-block;padding:5px 9px;max-width:100%;border-radius:8px;background:var(--fact-bg);color:var(--fact-ink);font-weight:750;font-size:1rem;line-height:1.5;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.lucky-fact-numbers{--fact-ink:#855114;--fact-bg:#fff1d6}.lucky-fact-direction{--fact-ink:#176153;--fact-bg:#e4f4ee}.lucky-fact-days{--fact-ink:#963d29;--fact-bg:#fff0e9}.lucky-fact-gem{--fact-ink:#435487;--fact-bg:#edf0fc}.lucky-fact-time_range{--fact-ink:#245c86;--fact-bg:#e9f3fb}
.lucky-facts-compact{grid-template-columns:repeat(2,minmax(0,1fr))}.lucky-facts-compact .lucky-fact{grid-template-columns:minmax(0,1fr);align-content:start;gap:8px}
/* Panchang and calculator summaries share readable label/value spacing. */
.mini-facts{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
.mini-facts>div{display:grid;grid-template-columns:minmax(80px,.9fr) minmax(0,1.2fr);align-items:start;gap:12px;padding:12px;border:1px solid #e6dfec;border-radius:10px;background:#faf8fd}
.mini-facts .k,.stat>.k{display:block;color:#5b5068;font-weight:650;font-size:.88rem;line-height:1.5}
.mini-facts .v,.stat>.v{display:block;color:#245c69;font-weight:750;line-height:1.55;overflow-wrap:anywhere}
.stat{min-width:0}.stat>.k{margin-bottom:8px}.stat>.v{font-size:1.15rem}.stat>.v.big{font-size:2rem}
.result-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}
.result-facts>div{min-width:0;background:#faf8fd;border:1px solid #e6dfec;border-radius:12px;padding:14px}
.result-facts dt{color:#5b5068;font-size:.9rem;font-weight:650;margin:0 0 8px}.result-facts dd{margin:0;color:#245c69;font-weight:750;overflow-wrap:anywhere;line-height:1.55}
.payment-facts dt{color:#5b5068}.payment-facts dd{color:#245c69;overflow-wrap:anywhere}
.reading-main,.reading-aside{min-width:0}.reading-aside .aside-card{padding:22px}
@media(min-width:1000px){.reading-grid{grid-template-columns:minmax(0,1fr) minmax(310px,360px)}}
@media(max-width:420px){.reading-aside .aside-card{padding:16px}.horoscope-score-card{padding:11px}.lucky-fact{padding:10px;gap:9px;grid-template-columns:minmax(70px,.8fr) minmax(0,1.3fr)}.lucky-facts-compact .lucky-fact{grid-template-columns:minmax(0,1fr)}.result-facts{grid-template-columns:minmax(0,1fr)}}
/* Consultation directory: independent sidebar and legible provider cards. */
.consult-directory-banner{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:30px;align-items:center;padding:30px 36px;background:#f4edf8;border:1px solid #e2d7ea;border-radius:20px;margin:22px 0}.consult-directory-banner h1{font-size:clamp(1.8rem,3vw,2.6rem);line-height:1.4;margin:.3em 0}.consult-directory-banner p{margin:.6em 0}.consult-directory-banner>img{width:100%;height:210px;object-fit:cover;object-position:center;border-radius:16px}.directory-pricing{display:flex;flex-wrap:wrap;gap:10px 24px;margin-top:20px;color:#532d6b}.consult-mode-tabs{display:flex;gap:12px;margin:24px 0}.consult-mode-tabs a{display:flex;justify-content:center;align-items:center;min-height:50px;padding:12px 26px;border:1px solid #d9cce2;border-radius:12px;background:#fff;color:#51316b;font-weight:700}.consult-mode-tabs a[aria-current]{background:#51316b;color:white;border-color:#51316b}.consult-directory-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:24px;align-items:start}.directory-filter-panel,.directory-results{min-width:0}.consult-directory-layout .discovery-filters{display:grid;grid-template-columns:minmax(0,1fr);padding:20px;gap:18px;margin:0}.filter-heading,.directory-results-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.filter-heading h2{margin:0;font-size:1.2rem}.directory-results-heading{min-height:50px;margin-bottom:18px}.directory-results-heading p{margin:0}.language-shortcut{color:#51316b;background:#f0e8f7;border:1px solid #dfd0ea;border-radius:20px;padding:7px 14px;font-weight:600}.consult-directory-layout .practitioner-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.practitioner-card{padding:20px}.practitioner-card-top{display:grid;grid-template-columns:80px minmax(0,1fr);align-items:center;gap:14px;flex-wrap:initial;margin-bottom:16px}.practitioner-card-top>div{min-width:0}.practitioner-card h2{font-size:1.25rem;line-height:1.5;margin:7px 0;overflow-wrap:anywhere}.practitioner-card p{line-height:1.65}.profile-card-facts{display:grid;gap:9px;margin:0 0 16px}.profile-card-facts>div{display:grid;grid-template-columns:85px minmax(0,1fr);gap:12px;border-radius:8px;padding:9px 10px;background:#f8f6fa}.profile-card-facts dt{color:#62536d}.profile-card-facts dd{margin:0;color:#253c53;font-weight:600;overflow-wrap:anywhere}.profile-price{margin-bottom:14px}.profile-contact-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.profile-contact-actions .btn{padding:10px 8px;text-align:center;white-space:normal;line-height:1.5}.profile-contact-actions button:disabled{opacity:1;color:#6b6270;background:#f4f1f5;border-color:#ded8e2;cursor:not-allowed}.profile-detail-link{display:block;text-align:center;margin-top:14px;color:#51316b;font-weight:600;padding:8px}.unrated{color:#62536d}.profile-empty .btn{margin:6px}
@media(min-width:1550px){.consult-directory-layout .practitioner-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1000px){.consult-directory-layout{grid-template-columns:minmax(0,1fr)}.consult-directory-layout .discovery-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.filter-heading{grid-column:1/-1}.consult-directory-banner{grid-template-columns:minmax(0,1fr) 170px;padding:24px}.consult-directory-banner>img{height:190px}}
@media(max-width:700px){.consult-directory-banner{grid-template-columns:minmax(0,1fr);padding:22px}.consult-directory-banner>img{display:none}.consult-directory-layout .practitioner-grid{grid-template-columns:minmax(0,1fr)}.consult-directory-layout .discovery-filters{grid-template-columns:repeat(2,minmax(0,1fr));padding:16px}.consult-mode-tabs a{flex:1;padding:12px}.directory-results-heading{align-items:flex-start}.profile-card-facts>div{grid-template-columns:85px minmax(0,1fr)}}
/* Site-wide reading size requested by the owner. rem units respect browser settings. */
html{font-size:112.5%;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body,body.admin{font-size:1rem;line-height:1.8}
body:not(.admin),html[lang="hi"] body.admin,html[lang="mr"] body.admin{font-size:1.05556rem;line-height:1.85;font-weight:450}
.section-head p,.horoscope-hero p,.prose,.article-body,.reading-body,.aside-card p,.practitioner-card p,.profile-card-facts,.chat-message,.site-footer,.site-footer p,.site-footer a,.footer-links a{font-size:1rem;line-height:1.8}
.site-nav a,.knowledge-menu summary,.knowledge-menu>ul a,.btn,.period-strip a,.discovery-filters label,.admin label,.admin table,.admin .input,.admin textarea,.admin select{font-size:.94445rem;line-height:1.6}
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="range"]),select,textarea{font-size:1rem;line-height:1.6;min-width:0}
.breadcrumbs,.result-meta,.hint,.brand-tagline,.profile-badge,.availability,.section-kicker,.profile-location,.lucky-fact dt,.horoscope-score-label,.mini-facts .k,.stat>.k,.result-facts dt,.session-heading small,.chat-message strong{font-size:.88889rem;line-height:1.65}
.lucky-value{font-size:1.05556rem}.brand-tagline{font-size:.83334rem}.horoscope-score-value small{font-size:.88889rem}
#main p,#main li,#main td,#main th{font-size:max(1em,1rem)}
#main small,.site-footer small{font-size:.88889rem}
.admin .muted,.admin small,.admin .nav-link,.admin-sidebar a,.admin-topbar{font-size:.88889rem;line-height:1.6}
@media(max-width:1100px){.site-nav{gap:8px}.site-nav a,.knowledge-menu summary{font-size:.88889rem}}
@media(max-width:420px){.practitioner-card{padding:16px}.practitioner-card-top{grid-template-columns:66px minmax(0,1fr);gap:12px}.practitioner-card-top .practitioner-portrait{width:66px;height:66px}.consult-directory-layout .discovery-filters{grid-template-columns:minmax(0,1fr)}.profile-contact-actions{grid-template-columns:minmax(0,1fr)}.profile-card-facts>div{grid-template-columns:75px minmax(0,1fr);gap:8px}.consult-mode-tabs a{padding:10px 8px}}
.rating-body h1{line-height:1.4}.rating-hero{min-width:0}.rating-score{white-space:nowrap}
.forecast-dates>span,.forecast-dates a,.sign-chip-name,.sign-rail a,.day-nav a,.section-block .sb-tone,.service-shortcuts a,.reading-date,.tool-card small,.puja-art-figure figcaption,.puja-detail-figure figcaption{font-size:.88889rem;line-height:1.6}
@media(max-width:640px){.rating-hero{display:grid;grid-template-columns:48px minmax(0,1fr);gap:14px;padding:18px}.rating-hero .sign-card-sym{width:44px;height:44px;align-self:start}.rating-body h1{font-size:1.5rem}.rating-score{grid-column:1/-1;text-align:center;border-top:1px solid var(--line);padding-top:12px;font-size:1.75rem}.rating-body{min-width:0}.rating-date{line-height:1.7}.section-block{padding:20px}.section-block h3{line-height:1.6}.session-heading{flex-wrap:wrap}.session-heading>div{min-width:0;flex:1 1 180px}}

/* One grouped navigation control keeps the header compact at every width. */
.site-nav { gap: 0; }
.site-menu { position: relative; }
.site-menu > summary { min-height: 44px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); cursor: pointer; list-style: none; display: flex; align-items: center; gap: 10px; font-weight: 650; }
.site-menu > summary::-webkit-details-marker { display: none; }
.site-menu[data-current="true"] > summary, .site-menu[open] > summary { border-color: var(--brand-light); color: var(--brand-dark); }
.site-menu-panel { position: absolute; top: calc(100% + 10px); inset-inline-end: 0; z-index: 60; width: min(780px, calc(100vw - 48px)); max-height: min(74vh, 650px); overflow: auto; overscroll-behavior: contain; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 22px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); box-shadow: var(--shadow-lg); }
.site-menu:not([open]) > .site-menu-panel { display: none; }
.site-menu-group { min-width: 0; }
.site-menu-group h2 { margin: 0 0 8px; padding: 0 8px 7px; border-bottom: 1px solid var(--line); color: var(--brand-dark); font-size: .88rem; letter-spacing: 0; }
.site-menu-group ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.site-menu-group a { display: block; padding: 7px 8px; border-radius: 8px; color: var(--ink-soft); font-size: .88rem; line-height: 1.45; }
.site-menu-group a:hover, .site-menu-group a[aria-current="page"] { background: var(--bg-alt); color: var(--brand-dark); }
.site-menu-priority { grid-column: 1 / -1; }
.site-menu-priority ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.site-menu-priority a { height: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); background: var(--bg-alt); color: var(--brand-dark); }
@media(max-width:1100px) and (min-width:901px) { .site-menu-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(620px, calc(100vw - 40px)); } }
@media(max-width:900px) {
    .site-menu { width: 100%; }
    .site-menu > summary { border-radius: 10px; }
    .site-menu-panel { position: static; width: 100%; max-height: none; overflow: visible; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; padding: 14px 4px 4px; border: 0; border-radius: 0; box-shadow: none; }
}
@media(max-width:520px) { .site-menu-panel { grid-template-columns: 1fr; gap: 14px; } }
@media(max-width:520px) { .site-menu-priority ul { grid-template-columns: 1fr; } }
.mobile-dock a span{font-size:.77778rem;line-height:1.45}.mobile-dock a{min-height:62px}.mobile-dock{padding-bottom:max(8px,env(safe-area-inset-bottom))}
.hero .hero-artwork{width:100%;max-width:100%;min-width:0}.hero .hero-inner>*{min-width:0}
.chip,.tool-card-cta,.sign-card-link,.sign-card-range,.updated-label{font-size:.88889rem;line-height:1.65}
.tool-card h3{font-size:1.11112rem;line-height:1.6}
.muhurat-results .tool-card>time{justify-self:start;font-size:.94445rem;line-height:1.6}
.muhurat-results .muhurat-windows,.muhurat-results .tool-card-cta{grid-column:1/-1}
.period-strip a{flex-shrink:0;display:inline-flex;align-items:center;gap:8px}
.calendar-card,.illustrated-card{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.calendar-card .knowledge-card-image,.illustrated-card .knowledge-card-image{width:100%;height:auto;margin-bottom:0;object-fit:cover}
.illustrated-card>.tool-card-icon{display:none}
.illustrated-card h2{font-size:1.22223rem;line-height:1.6}
.calendar-card .pill{font-size:.88889rem;line-height:1.6}
@media(max-width:640px){.period-strip{justify-content:flex-start}.period-strip a{white-space:nowrap}}
@media(max-width:480px){.period-strip.period-strip--wrap{flex-wrap:wrap;overflow-x:visible;gap:8px}}
@media(min-width:641px) and (max-width:900px){.hero .hero-inner{grid-template-columns:minmax(0,1fr)}.hero .hero-artwork{max-width:600px;justify-self:center}}
.muhurat-planner{margin-block:24px;padding:24px}.muhurat-filter-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:16px;align-items:end}.muhurat-filter-form label,.muhurat-date-form label{display:grid;gap:8px;min-width:0;font-weight:650}.muhurat-filter-form select,.muhurat-date-form input{width:100%;min-width:0;min-height:48px;box-sizing:border-box}.muhurat-date-form{display:flex;align-items:end;flex-wrap:wrap;gap:14px;margin-block:24px}.muhurat-date-form label{flex:0 1 330px}.muhurat-month-picker{margin-top:20px}.muhurat-month-picker summary,.muhurat-windows summary{cursor:pointer;min-height:44px;padding-block:8px;font-weight:650}.muhurat-month-links{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-block:16px}.muhurat-month-links a{padding:10px;border:1px solid var(--line);border-radius:10px;text-align:center;background:var(--bg)}.muhurat-month-links a[aria-current]{background:#f0e7fa;color:#503166;border-color:#735285;font-weight:700}.muhurat-month-nav{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-block:20px}.muhurat-results{align-items:start}.muhurat-results .tool-card{min-width:0}.muhurat-windows{width:100%;margin-block:8px}.muhurat-windows ul{margin:0;padding:0;list-style:none}.muhurat-windows li{display:grid;gap:3px;padding:12px 0;border-bottom:1px solid var(--line);font-size:1rem;line-height:1.7}.muhurat-windows strong{color:#365e61;font-size:1rem}.muhurat-results .tool-card-cta{display:inline-block;margin-top:16px}
@media(max-width:900px){.muhurat-filter-form{grid-template-columns:repeat(2,minmax(0,1fr))}.muhurat-month-links{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:540px){.muhurat-planner{padding:18px}.muhurat-filter-form{grid-template-columns:minmax(0,1fr)}.muhurat-month-links{grid-template-columns:repeat(2,minmax(0,1fr))}.muhurat-date-form label,.muhurat-date-form button{flex:1 1 100%}.muhurat-month-nav .btn{font-size:1rem}.muhurat-month-links a{padding-inline:6px}}

/* Store cards, demo previews and checkout use their own responsive layout. */
.store-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-block:24px}.store-heading>div{max-width:850px}.store-heading h1{margin-block:8px 12px}.store-heading>.btn{flex-shrink:0}
.store-categories{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-block:28px}.store-category{display:flex;gap:14px;align-items:center;padding:18px;background:#fff;border:1px solid var(--line);border-radius:16px;color:var(--ink)}.store-category>img{flex:none;width:54px;height:54px;object-fit:contain}.store-category strong{display:block;font-size:1rem;line-height:1.6}.store-category>span>span{display:block;font-size:.88889rem;line-height:1.65;color:var(--muted);margin-top:5px}.store-category.is-selected{border-color:#76548e;background:#f5edf9}
.store-filter,.store-add-form{display:flex;gap:14px;align-items:end;flex-wrap:wrap;margin-block:24px}.store-filter label{flex:1 1 280px;max-width:440px}.store-filter label,.store-add-form label,.store-cart-actions label{display:grid;gap:8px}.store-add-form label{width:140px}
.store-notice{padding:18px 22px;background:#fff5df;border:1px solid #ddc592;border-radius:14px;line-height:1.8}.store-empty,.store-guide{padding:26px;border:1px solid var(--line);border-radius:20px;background:#fff;margin-block:26px}.store-guide{background:#f4eff7}.store-empty h2,.store-guide h2{font-size:1.35rem;line-height:1.6;margin-block:0 12px}
.store-products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.store-product-card{display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-width:0;padding:18px;background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow)}.store-product-image{display:block;width:100%;background:#faf6f0;border-radius:14px;overflow:hidden}.store-product-image img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain}.store-product-card h2{font-size:1.15rem;line-height:1.6;margin:0}.store-product-card p{margin:0}.store-product-card>.btn{margin-top:auto;width:100%;justify-content:center}.store-product-meta{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-block:12px}.store-price{font-size:1.2rem;color:#503166;line-height:1.6}.store-stock{font-size:.88889rem;color:#246345;background:#eaf5ee;padding:5px 10px;border-radius:9px}.store-stock.is-unavailable{color:#6d5269;background:#f3edf4}.store-demo-badge{display:inline-block;background:#f2e7cc;color:#6d4b0c;border:1px solid #d4ba7e;border-radius:9px;padding:5px 10px;font-size:.88889rem;font-weight:650;line-height:1.6}.store-image-note{font-size:.88889rem!important;color:var(--muted);line-height:1.7}
.store-product-detail{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:36px;align-items:start;padding:28px;background:#fff;border:1px solid var(--line);border-radius:22px}.store-product-figure{margin:0;min-width:0}.store-product-figure img{display:block;width:100%;height:auto;aspect-ratio:5/4;object-fit:contain;background:#faf6f0;border-radius:18px}.store-product-figure figcaption{font-size:.88889rem;line-height:1.7;margin-top:10px}.store-product-detail h1{font-size:clamp(1.6rem,3vw,2.2rem);line-height:1.5}.store-description{overflow-wrap:anywhere}
.store-cart-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:24px;align-items:start}.store-cart-items{display:grid;gap:18px}.store-cart-item{display:grid;grid-template-columns:90px minmax(0,1fr);gap:16px;padding:22px;background:#fff;border:1px solid var(--line);border-radius:18px}.store-cart-item>img{width:90px;height:90px;object-fit:contain;border-radius:12px}.store-cart-item h2{font-size:1.15rem;line-height:1.6;margin:0}.store-cart-item p{margin-block:8px}.store-cart-actions{display:flex;align-items:end;gap:12px;flex-wrap:wrap;grid-column:1/-1}.store-cart-actions label{width:130px}.store-order-summary{padding:24px;background:#fff;border:1px solid var(--line);border-radius:18px}.store-order-summary h2{font-size:1.3rem;margin-top:0}.store-order-summary dl{margin:20px 0}.store-order-summary dl>div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;padding-block:12px;border-bottom:1px solid var(--line)}.store-order-summary dd{margin:0;font-weight:700;color:#503166}.store-order-summary .store-total{border-bottom:0;font-size:1.2rem;font-weight:700}.store-delivery{margin:28px 0;max-width:800px;padding:26px;background:#fff;border:1px solid var(--line);border-radius:20px}.store-delivery label{display:grid;gap:8px}.store-delivery label:has(input[type=checkbox]){display:block}.store-delivery input[type=checkbox]{width:auto}
@media(max-width:1100px){.store-products,.store-categories{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.store-product-detail,.store-cart-layout{grid-template-columns:minmax(0,1fr)}.store-heading{align-items:flex-start;flex-direction:column}}
@media(max-width:540px){.store-products{grid-template-columns:minmax(0,1fr)}.store-categories{gap:10px}.store-category{flex-direction:column;align-items:flex-start;padding:14px;gap:8px}.store-product-detail,.store-delivery,.store-order-summary,.store-empty,.store-guide{padding:18px}.store-cart-item{grid-template-columns:64px minmax(0,1fr);padding:16px;gap:12px}.store-cart-item>img{width:64px;height:64px}.store-cart-actions label{width:100%}.store-filter label{flex-basis:100%;max-width:none}.store-filter>.btn{flex:1}.store-product-meta{gap:8px}}

/* Public astrologer helpline: site-wide Call and WhatsApp block. */
.contact-quick{margin:20px 0;padding:20px 22px;border:1px solid #e2d7ec;border-radius:18px;background:#fbf8fd;color:#33243f}
.contact-quick-title{margin:0 0 8px;font-size:1.05rem;font-weight:700;color:#3d2a50}
.contact-quick-number{margin:0 0 14px;font-size:1.2rem;font-weight:700;line-height:1.6}
.contact-quick-number a{color:#5a3477;text-decoration:none}
.contact-quick-number a:hover{text-decoration:underline}
.contact-quick-label{font-size:.88889rem;font-weight:500;color:#6b5c78}
.contact-quick-actions{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 10px}
.contact-quick-note{margin:0;font-size:.88889rem;line-height:1.7;color:#655a70}
.contact-quick-compact{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin:16px 0;padding:12px 16px;background:#fff;border-color:#e2d7ec}
.contact-quick-compact .contact-quick-title,.contact-quick-compact .contact-quick-note{display:none}
.contact-quick-compact .contact-quick-number{margin:0;font-size:1rem}
.contact-quick-compact .contact-quick-actions{margin:0}
.contact-quick-compact .btn{width:auto;margin-bottom:0}
.site-footer .contact-quick-compact{background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.24);color:#f3ecf9}
.site-footer .contact-quick-compact .contact-quick-number,.site-footer .contact-quick-compact .contact-quick-number a,.site-footer .contact-quick-compact .contact-quick-label{color:#fff}
.site-footer .contact-quick-compact .btn-ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.5)}
.profile-booking .contact-quick-compact{width:100%;box-sizing:border-box}
@media(max-width:540px){.contact-quick{padding:16px}.contact-quick-compact .contact-quick-actions{width:100%}.contact-quick-compact .btn{flex:1 1 auto;justify-content:center}}

/* November 2026 BhaktiLok Sacred Devotional Theme. Authentic temple maroon, saffron, ivory & gold. */
@media screen {
    body:not(.admin) {
        --brand: #E65100; --brand-dark: #C94000; --brand-light: #FF7D33;
        --ink: #2C1810; --ink-soft: #5C4033; --muted: #7A5C4D;
        --line: #EBD9C8; --bg: #FFFDF9; --bg-alt: #FDF6EE;
        --violet: #8B1E22; --teal: #176b65; --rose: #A91B0D; --saffron: #E65100;
        --gold: #D97706; --gold-soft: #FDE68A; --forest: #541D24;
        --shadow: 0 4px 18px rgba(84, 29, 36, 0.06), 0 1px 3px rgba(84, 29, 36, 0.04);
        --shadow-lg: 0 14px 34px rgba(84, 29, 36, 0.12);
        background: #FFFDF9;
    }
    ::selection { background: #FFE0B2; color: #541D24; }
    .site-header {
        background: #ffffffFA;
        border-bottom: 1px solid #EBD9C8;
        box-shadow: 0 2px 14px rgba(84, 29, 36, 0.06);
    }
    .brand-text, .brand-mobile { color: #541D24; font-weight: 700; }
    .brand-mark { background: linear-gradient(135deg, #E65100, #D97706); color: #fff; box-shadow: 0 4px 12px rgba(230, 81, 0, 0.25); }
    .site-menu > summary, .site-menu[data-current="true"] > summary, .site-menu[open] > summary {
        background: linear-gradient(110deg, #E65100, #C94000); border-color: #E65100; color: #fff;
    }
    .lang-switch > summary { color: #541D24; background: #FFF7EE; border-color: #EBD9C8; }
    .site-menu-panel, .lang-menu { background: #FFFFFF; border-color: #EBD9C8; box-shadow: 0 16px 46px rgba(84, 29, 36, 0.12); }
    .site-menu-group h2 { color: var(--tile-ink); border-bottom: 2px solid var(--tile-line); }
    .site-menu-priority a { color: #E65100; background: #FFF7EE; border-color: #F8D8B8; }
    .site-menu-group a:hover, .site-menu-group a[aria-current="page"] { background: var(--tile-bg); color: var(--tile-ink); box-shadow: none; }
    .lang-menu .is-current { color: #E65100; background: #FFF3E0; }

    .hero {
        background: linear-gradient(135deg, #FFF9F0 0%, #FFF3E0 50%, #FFE9CC 100%);
        border: 1px solid #F6D8B3; box-shadow: 0 10px 30px rgba(230, 81, 0, 0.07);
        border-radius: 24px; color: #2C1810;
    }
    .hero .hero-title { color: #541D24; }
    .hero .hero-title-accent { color: #E65100; font-style: normal; }
    .hero .hero-sub { color: #5C4033; }
    .hero .hero-note { color: #7A5C4D; }
    .hero .hero-topline time, .hero .hero-topline > span { color: #5C4033; }
    .hero .hero-eyebrow { color: #E65100; font-weight: 700; }
    .hero .hero-artwork { border: 2px solid #F6D8B3; box-shadow: 0 12px 28px rgba(84, 29, 36, 0.1); }
    .hero .hero-picker { background: #FFFFFF; border-color: #EBD9C8; box-shadow: 0 4px 16px rgba(84, 29, 36, 0.05); }
    .hero .hero-picker-head { color: #541D24; }
    .hero .hero-actions .btn-primary { background: linear-gradient(110deg, #E65100, #F57C00); color: #fff; border-color: #E65100; box-shadow: 0 4px 14px rgba(230, 81, 0, 0.28); }
    .hero .hero-actions .btn-primary:hover { background: #C94000; color: #fff; }
    .hero .hero-actions .btn-ghost { color: #541D24; border-color: #E65100; background: #ffffff; }
    .hero .hero-actions .btn-ghost:hover { background: #FFF3E0; color: #E65100; }
    .carousel-stage { background: linear-gradient(110deg, #FFF9F0, #FFF5EB 60%, #FAF0E6); border-color: #EBD9C8; box-shadow: var(--shadow); }
    .carousel-controls button { border-color: #EBD9C8; background: #FFF7EE; color: #541D24; }
    .carousel-controls button[aria-pressed="true"] { color: #fff; background: #E65100; }

    #main > .section:nth-of-type(3n + 1) { background: linear-gradient(120deg, #FFFDF9, #FFF9F0 55%, #FFFDF9); }
    #main > .section:nth-of-type(3n + 2) { background: linear-gradient(120deg, #FFF8EE, #FFFDF9 55%, #FFF6EC); }
    #main > .section:nth-of-type(3n) { background: linear-gradient(120deg, #FFFDF9, #FAF2E8 55%, #FFFDF9); }
    #main > .section { border-bottom: 1px solid #EBD9C8; }
    .section-head h1, .section-head h2, .article-head h1 { color: #541D24; }
    .section-head .section-kicker { color: #E65100; font-weight: 700; }
    .section-head::before { content: ''; display: block; width: 52px; height: 4px; margin-bottom: 14px; border-radius: 4px; background: linear-gradient(90deg, #E65100, #D97706, #541D24); }
    #main > .section:first-of-type > .wrap > .section-head, .dashboard-heading, .article-head, .store-heading {
        padding: clamp(18px, 2.5vw, 30px); border: 1px solid #EBD9C8; border-radius: 20px;
        background: linear-gradient(115deg, #FFF9F0, #FFFDF9 56%, #FFF5EB); box-shadow: var(--shadow);
    }
    .dashboard-heading .section-head::before { margin-bottom: 12px; }
    .breadcrumbs a { color: #541D24; text-decoration-color: #D97706; }
    .page-share-bar .btn { color: #541D24; border-color: #EBD9C8; background: #FFF9F0; }
    .btn { border-radius: 12px; }
    .btn-primary { color: #fff; background: linear-gradient(110deg, #E65100, #F57C00); border-color: #E65100; box-shadow: 0 4px 14px rgba(230, 81, 0, 0.22); }
    .btn-primary:hover { color: #fff; background: #C94000; border-color: #C94000; }
    .btn-ghost { color: #541D24; background: #FFFDF9; border-color: #EBD9C8; }
    .btn-ghost:hover { color: #E65100; background: #FFF3E0; border-color: #E65100; }
    .btn:disabled, .btn[aria-disabled="true"] { box-shadow: none; }
    .period-strip a, .puja-filter, .puja-categories a { background: #FFFDF9; color: #541D24; border-color: #EBD9C8; }
    .period-strip a:hover, .period-strip a.is-active, .period-strip a[aria-current="page"], .puja-filter.is-active, .puja-categories a[aria-current], .consult-mode-tabs a[aria-current] {
        background: linear-gradient(110deg, #E65100, #C94000); border-color: #E65100; color: #fff;
    }

    /* Six coordinated accents distinguish discovery cards without recolouring status. */
    :is(.tool-card, .practitioner-card, .puja-card, .store-product-card, .quick-path, .service-shortcuts > a, .store-category, .site-menu-group, .feature, .lang-tile) {
        --tile-ink: #541D24; --tile-bg: #FFF5EB; --tile-line: #FDE0C7;
    }
    :is(.tool-card, .practitioner-card, .puja-card, .store-product-card, .quick-path, .service-shortcuts > a, .store-category, .site-menu-group, .feature, .lang-tile):nth-child(6n + 2) {
        --tile-ink: #176b65; --tile-bg: #E8F8F5; --tile-line: #C6EFEB;
    }
    :is(.tool-card, .practitioner-card, .puja-card, .store-product-card, .quick-path, .service-shortcuts > a, .store-category, .site-menu-group, .feature, .lang-tile):nth-child(6n + 3) {
        --tile-ink: #8B1E22; --tile-bg: #FEF9E7; --tile-line: #FBE8A6;
    }
    :is(.tool-card, .practitioner-card, .puja-card, .store-product-card, .quick-path, .service-shortcuts > a, .store-category, .site-menu-group, .feature, .lang-tile):nth-child(6n + 4) {
        --tile-ink: #E65100; --tile-bg: #FDF2E9; --tile-line: #F9D2B5;
    }
    :is(.tool-card, .practitioner-card, .puja-card, .store-product-card, .quick-path, .service-shortcuts > a, .store-category, .site-menu-group, .feature, .lang-tile):nth-child(6n + 5) {
        --tile-ink: #375f9b; --tile-bg: #F5EEF8; --tile-line: #E5CFEE;
    }
    :is(.tool-card, .practitioner-card, .puja-card, .store-product-card, .quick-path, .service-shortcuts > a, .store-category, .site-menu-group, .feature, .lang-tile):nth-child(6n) {
        --tile-ink: #2E7D32; --tile-bg: #EBF5FB; --tile-line: #CFE6F8;
    }
    .tool-card, .tool-grid-4 .tool-card, .practitioner-card, .puja-card, .store-product-card, .quick-path, .service-shortcuts > a, .store-category {
        background: linear-gradient(145deg, var(--tile-bg), #fff 76%); border-color: var(--tile-line);
        border-top: 3px solid var(--tile-ink); box-shadow: var(--shadow);
    }
    .tool-card .tool-card-icon, .quick-path:nth-child(n) .quick-icon, .feature .feature-icon {
        color: var(--tile-ink); background: var(--tile-bg); border: 1px solid var(--tile-line);
    }
    .tool-card h2, .tool-card h3, .tool-card-cta, .service-shortcuts .ui-icon { color: var(--tile-ink); }
    .tool-card-cta { border-top-color: var(--tile-line); }
    .tool-card:hover, .practitioner-card:hover, .puja-card:hover, .quick-path:hover, .store-category:hover {
        border-color: var(--tile-ink); box-shadow: var(--shadow-lg);
    }
    .store-category.is-selected { outline: 2px solid var(--tile-ink); outline-offset: 2px; }
    .sign-card { background: linear-gradient(140deg, color-mix(in srgb, var(--sign, #E65100) 12%, #fff), #fff 85%); border-color: color-mix(in srgb, var(--sign, #E65100) 28%, #fff); border-top: 3px solid var(--sign, #E65100); }
    .sign-chip:hover { background: #FFE8CC; }
    .lang-tile { background: var(--tile-bg); border-color: var(--tile-line); }
    .feature { min-width: 0; overflow-wrap: anywhere; padding: 22px; background: linear-gradient(135deg, var(--tile-bg), #fff); border: 1px solid var(--tile-line); border-radius: 18px; }
    .faq-item { border-color: #EBD9C8; background: #fff; }
    .faq-item summary { color: #541D24; background: #FFF7EE; border-radius: 16px; }
    .faq-item[open] { border-color: #E65100; }

    .consult-directory-banner { background: radial-gradient(ellipse at 100% 0, #d9eee7, transparent 65%), linear-gradient(120deg, #eee3fa, #f8f0fa); border-color: #d9c6e9; }
    .consult-directory-banner h1 { color: #392653; }
    .directory-pricing { color: #553385; }
    .directory-pricing strong { padding: 6px 12px; border-radius: 9px; background: #e9ddf7; }
    .directory-pricing span { align-self: center; }
    .discovery-filters, .consult-directory-layout .discovery-filters { background: linear-gradient(150deg, #f4edfb, #fff 80%); border-color: #ddceec; }
    .practitioner-portrait { border-color: var(--tile-line, #d9c6ed); box-shadow: 0 0 0 4px #ffffffc4; }
    .profile-identity { background: linear-gradient(110deg, #e9ddf7, #f5edfa 60%, #dff1eb); }
    .profile-booking { background: linear-gradient(150deg, #f7f1fc, #fff); border-color: #d9c6e9; }
    .contact-quick { background: linear-gradient(115deg, #f2e8fc, #e6f5ef); border-color: #c9d8df; }
    .contact-quick-actions a[href*="wa.me"], .profile-contact-actions a[href*="wa.me"] { background: #176b55; border-color: #176b55; color: #fff; }
    .contact-quick-actions a[href*="wa.me"]:hover, .profile-contact-actions a[href*="wa.me"]:hover { background: #11523f; border-color: #11523f; }
    .puja-organizer, .puja-home-banner { background: linear-gradient(115deg, #fff0d8, #fff5ed 60%, #fae9ee); border-color: #e5c6a4; }
    .puja-organizer-icon, .puja-banner-symbol, .puja-step { background: #fce1ba; color: #925014; }
    .puja-package-grid .card { background: linear-gradient(135deg, #faf0df, #fff); border-color: #e8d0a9; }
    .store-guide { background: linear-gradient(115deg, #eae0f7, #f3edf8 55%, #e2f1ee); border-color: #d9c8e8; }

    .calc-form { background: linear-gradient(145deg, #f5effc, #fff 60%); border-color: #ddd0ea; border-top: 4px solid #7951ab; }
    .result-hero, .guna-summary { background: linear-gradient(115deg, #ede2fa, #e5f5ee); border-color: #d6c5e6; }
    .calc-table th { background: #ede3f7; color: #49316a; }
    .calc-table tbody tr:nth-child(even) { background: #f8f4fc; }
    .stat, .mini-facts > div { background: linear-gradient(130deg, #f1eafb, #f4faf7); border-color: #ddd1ed; }
    .daily-card { border-color: #ddd5e8; box-shadow: var(--shadow); }
    .almanac-summary { background: linear-gradient(120deg, #faecd1, #f6ecf8); border-color: #e5d0b5; }
    .daily-card-title::after { background: linear-gradient(90deg, #7950b6, #d29652, #4d9a8b); }
    .daily-window-good { background: linear-gradient(120deg, #f7fdf9, #ddf3e7); border-color: #badfca; }
    .daily-window-bad { background: linear-gradient(120deg, #fff9fa, #fbe4ed); border-color: #ecc5d1; }
    .tone-chip.tone-strong { background: #107747; }
    .tone-chip.tone-mixed { background: #95600b; }
    .advice-card { background: linear-gradient(120deg, #fff4dd, #fffaf1); border-color: #ead2a4; }
    .holiday-grid .daily-card { border-top: 3px solid #367f77; background: linear-gradient(140deg, #eaf6f1, #fff 70%); }
    .forecast-card { background: linear-gradient(140deg, #f0e7fa, #fff 70%); }
    .knowledge-visual { background: linear-gradient(140deg, #f2eafa, #fff 65%); border-color: #ddceeb; }
    .knowledge-hero { background: linear-gradient(135deg, #f1e7fa, #e8f3ed); }
    .knowledge-points li { background: #f8f3fc; border-color: #decfec; }
    .knowledge-points li:nth-child(even) { background: #edf7f2; border-color: #c9e2d6; }
    .module-reading-guide { background: linear-gradient(135deg, #f5edfc, #fff 55%, #edf7f3); border-color: #dac8e9; }
    .module-guide-sections > section { padding: 18px; border-radius: 14px; background: #eee4f855; border: 1px solid #decfec; }
    .module-guide-sections > section:nth-child(2) { background: #e6f3eb88; border-color: #c9e0d3; }
    .module-guide-sections > section:nth-child(3) { background: #fff0df88; border-color: #e8d3b9; }
    .module-guide-sections h3 { color: #503572; }
    .article-body h2, .article-body h3 { color: #56317f; }
    .article-body blockquote { background: #f5eefc; border-inline-start-color: #8d66b6; }
    .empty-state, .profile-empty, .store-empty { background: linear-gradient(120deg, #f5edfc, #fcf7f0); border-color: #d8c5e8; }
    .daily-card .empty-state { background: transparent; }
    .cta-band { background: linear-gradient(115deg, #e9dcf8, #fff0db 60%, #e0f1e9); border-color: #d9c5e4; }

    .site-footer { background: radial-gradient(ellipse at 100% 0, #205456, transparent 70%), linear-gradient(115deg, #2b2045, #302348); border-top: 4px solid #bd9860; }
    .site-footer, .site-footer p, .site-footer a, .site-footer h2, .site-footer h3, .site-footer h4, .site-footer .brand-text { color: #f1eaf8; }
    .site-footer .footer-col h2 { color: #ffdf9d; }
    .site-footer .brand-mark { color: #ffdf9d; background: #ffffff18; }
    .site-footer .btn-primary { background: #f2d393; color: #342342; border-color: #f2d393; }
    .site-footer .contact-quick-compact { background: #ffffff0d; border-color: #ffffff38; }
    .site-footer .contact-quick-actions a[href*="wa.me"] { background: #176b55; color: #fff; border-color: #9ecbb7; }
    .mobile-dock { background: #fffcff; border-top: 2px solid #d1b9e9; box-shadow: 0 -4px 20px #3c265d12; }
    .mobile-dock a[aria-current="page"] { background: #eee2fa; color: #4d287c; border-radius: 12px; }
    :is(input, select, textarea, button, a, summary):focus-visible { outline: 3px solid #176b65; outline-offset: 3px; }
    .hero :focus-visible, .site-footer :focus-visible { outline-color: #ffe09a; }
}
@media screen and (max-width: 640px) {
    .hero { border-radius: 20px; }
    .module-guide-sections > section { padding: 16px; }
    .site-menu-panel { background: #fff; }
    .feature { padding: 18px; }
}
@media (forced-colors: active) {
    .site-header, .hero, .tool-card, .practitioner-card, .puja-card, .store-product-card, .sign-card, .btn, .site-menu > summary, .site-footer { border-color: CanvasText; }
}

/* Shared tactile buttons: a bright bevel, solid lower edge and pressed state.
   The repeated .btn gives this component precedence over earlier theme layers. */
@media screen {
    :where(.btn, button, input[type="submit"], input[type="button"], .nav-toggle-btn, .site-menu > summary, .lang-switch > summary, .period-strip a, .consult-mode-tabs a, .puja-filter, .puja-categories a) {
        --button-edge: #ebd9c8;
        --button-depth: 0px;
        --button-glow: rgba(84, 29, 36, 0.08);
    }
    .btn-primary, .site-menu > summary,
    .carousel-controls button[aria-pressed="true"],
    .period-strip a:is(.is-active, [aria-current="page"]),
    .consult-mode-tabs a[aria-current], .puja-filter.is-active, .puja-categories a[aria-current] {
        --button-edge: #c94000;
        --button-glow: rgba(230, 81, 0, 0.2);
    }
    .hero .hero-actions .btn-primary, .site-footer .btn-primary {
        --button-edge: #c94000;
        --button-glow: rgba(230, 81, 0, 0.2);
    }
    .hero .hero-actions .btn-ghost, .site-footer .btn-ghost, .audio-player button {
        --button-edge: #ebd9c8;
        --button-glow: rgba(84, 29, 36, 0.08);
    }
    .btn[href*="wa.me"] { --button-edge: #0c4636; --button-glow: #176b5533; }
    .btn-danger { --button-edge: #a35362; --button-glow: #a13b6529; }
    .btn-sm, .carousel-controls button, .lang-switch > summary, .period-strip a,
    .puja-filter, .puja-categories a, .audio-player button { --button-depth: 0px; }

    body :is(.btn.btn, button, input[type="submit"], input[type="button"], .nav-toggle-btn, .site-menu > summary, .lang-switch > summary, .period-strip a, .consult-mode-tabs a, .puja-filter, .puja-categories a) {
        box-shadow: 0 2px 6px rgba(84, 29, 36, 0.08);
        transform: translateY(0);
        touch-action: manipulation;
    }
    .btn { text-align: center; justify-content: center; font-weight: 600; border-radius: 10px; }
    .nav-toggle-btn { background: #ffffff; border: 1px solid #ebd9c8; border-radius: 10px; }
    .btn-primary {
        background: #e65100;
        background-image: linear-gradient(180deg, #f56e18 0%, #e65100 100%);
        color: #ffffff !important;
        border: 1px solid #c94000;
    }
    .btn-ghost, .btn-secondary {
        background: #ffffff;
        background-image: none;
        color: var(--maroon, #541d24) !important;
        border: 1px solid #ebd9c8;
    }
    .btn-ghost:hover, .btn-secondary:hover {
        background: #fdf5ea;
        color: #e65100 !important;
        border-color: #e65100;
    }
    .btn-danger { background-image: linear-gradient(180deg, #fff8fa, #f9e0e7); }
    .hero .hero-actions .btn-primary, .site-footer .btn-primary {
        background: #e65100;
        background-image: linear-gradient(180deg, #f56e18 0%, #e65100 100%);
        color: #ffffff !important;
        border: 1px solid #c94000;
    }
    .hero .hero-actions .btn-ghost, .site-footer .btn-ghost {
        background: #ffffff;
        background-image: none;
        color: var(--maroon, #541d24) !important;
        border: 1px solid #ebd9c8;
    }
    .btn[href*="wa.me"] { background-image: linear-gradient(180deg, #227c62, #176b55 55%, #12533f); }
    .btn:disabled, .btn[aria-disabled="true"] { opacity: .62; }
    .period-strip { padding-block: 3px 9px; }
    .carousel-controls { padding-bottom: 6px; }
    .hero-actions, .form-actions, .contact-quick-actions { row-gap: 16px; }

    @media (hover: hover) {
        body :is(.btn.btn, button, input[type="submit"], input[type="button"], .nav-toggle-btn, .site-menu > summary, .lang-switch > summary, .period-strip a, .consult-mode-tabs a, .puja-filter, .puja-categories a):hover {
            box-shadow: 0 4px 12px rgba(84, 29, 36, 0.14);
            transform: translateY(-1px);
        }
    }
    body :is(.btn.btn, button, input[type="submit"], input[type="button"], .nav-toggle-btn, .site-menu > summary, .lang-switch > summary, .period-strip a, .consult-mode-tabs a, .puja-filter, .puja-categories a):active {
        box-shadow: 0 1px 3px rgba(84, 29, 36, 0.12);
        transform: translateY(0);
    }
    body :is(.btn.btn, button, input[type="submit"], input[type="button"]):is(:disabled, [aria-disabled="true"]) {
        box-shadow: inset 0 1px 0 #ffffff40, 0 1px 0 var(--button-edge);
        transform: none;
        cursor: not-allowed;
    }
    @media (prefers-reduced-motion: no-preference) {
        body :is(.btn.btn, button, input[type="submit"], input[type="button"], .nav-toggle-btn, .site-menu > summary, .lang-switch > summary, .period-strip a, .consult-mode-tabs a, .puja-filter, .puja-categories a) {
            transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease;
        }
    }
    @media (prefers-reduced-motion: reduce) {
        body :is(.btn.btn, button, input[type="submit"], input[type="button"], .nav-toggle-btn, .site-menu > summary, .lang-switch > summary, .period-strip a, .consult-mode-tabs a, .puja-filter, .puja-categories a) {
            transition: none;
            transform: none !important;
        }
    }
    @media (forced-colors: active) {
        body :is(.btn.btn, button, input[type="submit"], input[type="button"], .nav-toggle-btn, .site-menu > summary, .lang-switch > summary, .period-strip a, .consult-mode-tabs a, .puja-filter, .puja-categories a) {
            box-shadow: none;
            border: 2px solid ButtonText;
            transform: none;
        }
    }
}

/* -------------------------------------------------------------
   Katha Sacred Reading & Devotional Layout System
   ------------------------------------------------------------- */
.katha-chapter-box {
    background: #fffcf8;
    border: 1px solid #fed7aa;
    border-left: 5px solid #c2410c;
    border-radius: 12px;
    padding: 24px 28px;
    margin: 28px 0;
    box-shadow: 0 2px 8px rgba(194, 65, 12, 0.04);
}
.katha-chapter-box h3 {
    color: #9a3412;
    margin-top: 0;
    font-size: 21px;
    border-bottom: 2px solid #ffedd5;
    padding-bottom: 10px;
    margin-bottom: 16px;
}
.katha-chapter-box p {
    margin-bottom: 14px;
    line-height: 1.85;
}
.katha-callout {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-left: 5px solid #16a34a;
    border-radius: 12px;
    padding: 22px 26px;
    margin: 26px 0;
}
.katha-callout h3, .katha-callout h2 {
    color: #166534;
    margin-top: 0;
    font-size: 20px;
    margin-bottom: 12px;
}
.katha-warning {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-left: 5px solid #ea580c;
    border-radius: 12px;
    padding: 22px 26px;
    margin: 26px 0;
}
.katha-warning h3, .katha-warning h2 {
    color: #9a3412;
    margin-top: 0;
    font-size: 20px;
    margin-bottom: 12px;
}
.katha-faq-box {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 24px 28px;
    margin: 32px 0;
}
.katha-faq-box h3, .katha-faq-box h2 {
    color: #0f172a;
    margin-top: 0;
    font-size: 21px;
    margin-bottom: 18px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 10px;
}
.katha-faq-item {
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px dashed #cbd5e1;
}
.katha-faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.katha-faq-q {
    font-weight: 700;
    color: #1e293b;
    font-size: 16.5px;
    margin-bottom: 6px;
}
.katha-faq-a {
    color: #475569;
    font-size: 15.5px;
    line-height: 1.8;
}
.katha-figure {
    margin: 26px auto;
    text-align: center;
    max-width: 680px;
}
.katha-figure img {
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.09);
    max-width: 100%;
    height: auto;
    border: 1px solid #eedfcb;
}
.katha-figure figcaption {
    font-size: 14px;
    color: #64748b;
    margin-top: 10px;
    font-style: italic;
}

/* The zodiac medallion used by the daily card and sign pickers. */
.wrap :is(.rashifal-symbol, .sign-card-sym, .sign-chip-sym, .sign-reading-symbol, .rashi-tab-glyph, .sign-nav a span[aria-hidden]) {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: inline-grid;
    place-items: center;
    flex: none;
    width: var(--rashi-medallion, 2.1rem);
    height: var(--rashi-medallion, 2.1rem);
    border: 1px solid #ba8b48;
    border-radius: 50%;
    background:
        radial-gradient(ellipse at 32% 8%, #ffffff59, transparent 54%),
        linear-gradient(147deg, #225e4c, #113c34 52%, #091a1a);
    box-shadow: inset 0 0 0 2px #eada9d2b, inset 0 1px 2px #ffefc08c, 0 2px 5px #14291f36;
    color: #ffdfa0;
    font: 650 var(--rashi-medallion-glyph, 1.3rem)/1 "Segoe UI Symbol", "Noto Sans Symbols 2", "Apple Symbols", sans-serif;
    font-variant-emoji: text;
    text-shadow: 0 1px 2px #061512;
    vertical-align: middle;
}

.wrap .sign-reading-symbol {
    --rashi-medallion: 3.4rem;
    --rashi-medallion-glyph: 2rem;
}

.wrap .rashifal-preview-heading > .rashifal-symbol,
.wrap .sign-card-sym {
    --rashi-medallion: 2.65rem;
    --rashi-medallion-glyph: 1.6rem;
}

.wrap :is(.rashifal-symbol, .sign-card-sym, .sign-chip-sym, .sign-reading-symbol, .rashi-tab-glyph, .sign-nav a span[aria-hidden])::after {
    content: "";
    position: absolute;
    inset: -20% -55%;
    pointer-events: none;
    background: linear-gradient(110deg, transparent 35%, #fff1c046 49%, transparent 63%);
    transform: translateX(-80%);
}

@media (prefers-reduced-motion: no-preference) {
    .wrap .sign-reading-symbol::after,
    .wrap :is(a, button):is(:hover, :focus-visible) :is(.rashifal-symbol, .sign-card-sym, .sign-chip-sym, .rashi-tab-glyph)::after {
        animation: rashi-medallion-shine .75s ease-out both;
    }
}

@keyframes rashi-medallion-shine {
    to { transform: translateX(80%); }
}

.sign-reading :is(#reading-lucky, #reading-ratings, #reading-good-signs, #reading-bad-signs, #reading-remedies) {
    scroll-margin-top: 6.5rem;
}

/* === contact-3d-buttons.css === */
/**
 * Omaaa Astro — 3D Embossed Call & WhatsApp Action Buttons
 * Designed for authentic tactile, raised ("उभरे हुए") appearance across the entire website.
 */

.btn-call-3d,
.btn-whatsapp-3d,
.btn-chat-3d {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 8px 18px !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    border-radius: 28px !important;
    transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.18s ease, filter 0.18s ease !important;
    cursor: pointer !important;
    user-select: none !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}

/* 1. Saffron-Amber 3D Call Button */
.btn-call-3d {
    background: linear-gradient(135deg, #FF7A00 0%, #E65100 65%, #C23800 100%) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    box-shadow: 
        0 4px 12px rgba(230, 81, 0, 0.45),
        inset 0 1.5px 0.5px rgba(255, 255, 255, 0.55),
        inset 0 -2px 0 rgba(0, 0, 0, 0.2),
        0 1px 3px rgba(0, 0, 0, 0.2) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25) !important;
}

.btn-call-3d:hover {
    color: #FFFFFF !important;
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 
        0 7px 18px rgba(230, 81, 0, 0.58),
        inset 0 1.5px 0.5px rgba(255, 255, 255, 0.75),
        inset 0 -2px 0 rgba(0, 0, 0, 0.2),
        0 2px 4px rgba(0, 0, 0, 0.25) !important;
}

.btn-call-3d:active {
    transform: translateY(1px) scale(0.99) !important;
    box-shadow: 
        0 2px 6px rgba(230, 81, 0, 0.4),
        inset 0 2px 3px rgba(0, 0, 0, 0.25) !important;
}

/* 2. Vibrant Emerald 3D WhatsApp Button */
.btn-whatsapp-3d {
    background: linear-gradient(135deg, #2ED76B 0%, #25D366 40%, #128C7E 100%) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    box-shadow: 
        0 4px 12px rgba(18, 140, 126, 0.48),
        inset 0 1.5px 0.5px rgba(255, 255, 255, 0.55),
        inset 0 -2px 0 rgba(0, 0, 0, 0.2),
        0 1px 3px rgba(0, 0, 0, 0.2) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25) !important;
}

.btn-whatsapp-3d:hover {
    color: #FFFFFF !important;
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 
        0 7px 18px rgba(18, 140, 126, 0.62),
        inset 0 1.5px 0.5px rgba(255, 255, 255, 0.75),
        inset 0 -2px 0 rgba(0, 0, 0, 0.2),
        0 2px 4px rgba(0, 0, 0, 0.25) !important;
}

.btn-whatsapp-3d:active {
    transform: translateY(1px) scale(0.99) !important;
    box-shadow: 
        0 2px 6px rgba(18, 140, 126, 0.4),
        inset 0 2px 3px rgba(0, 0, 0, 0.25) !important;
}

/* 3. Golden Saffron 3D Chat Button */
.btn-chat-3d {
    background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 50%, #D97706 100%) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    box-shadow: 
        0 4px 12px rgba(217, 119, 6, 0.45),
        inset 0 1.5px 0.5px rgba(255, 255, 255, 0.55),
        inset 0 -2px 0 rgba(0, 0, 0, 0.2),
        0 1px 3px rgba(0, 0, 0, 0.2) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25) !important;
}

.btn-chat-3d:hover {
    color: #FFFFFF !important;
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 
        0 7px 18px rgba(217, 119, 6, 0.58),
        inset 0 1.5px 0.5px rgba(255, 255, 255, 0.75),
        inset 0 -2px 0 rgba(0, 0, 0, 0.2),
        0 2px 4px rgba(0, 0, 0, 0.25) !important;
}

/* Size Modifiers */
.btn-call-3d.btn-sm,
.btn-whatsapp-3d.btn-sm,
.btn-chat-3d.btn-sm {
    padding: 6px 14px !important;
    font-size: 13px !important;
    gap: 6px !important;
    border-radius: 24px !important;
}

.btn-call-3d.btn-lg,
.btn-whatsapp-3d.btn-lg,
.btn-chat-3d.btn-lg {
    padding: 12px 24px !important;
    font-size: 16px !important;
    gap: 10px !important;
    border-radius: 32px !important;
}

/* 3D Icon Presentation */
.cta-3d-icon {
    width: 22px !important;
    height: 22px !important;
    flex-shrink: 0 !important;
    object-fit: contain !important;
    display: inline-block !important;
    vertical-align: middle !important;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.25)) !important;
    transition: transform 0.18s ease !important;
}

.btn-call-3d:hover .cta-3d-icon,
.btn-whatsapp-3d:hover .cta-3d-icon,
.btn-chat-3d:hover .cta-3d-icon {
    transform: scale(1.1) !important;
}

.btn-sm .cta-3d-icon,
.cta-3d-icon-sm {
    width: 17px !important;
    height: 17px !important;
}

.btn-lg .cta-3d-icon,
.cta-3d-icon-lg {
    width: 26px !important;
    height: 26px !important;
}

/* Container & Alignment in Contact CTA */
.contact-quick-actions {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    margin: 10px 0 !important;
}

.contact-quick-compact .contact-quick-actions {
    margin: 4px 0 !important;
}

/* Astrologer & Pandit Card Contact Actions */
.profile-contact-actions {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-top: 10px !important;
}

.profile-contact-actions .btn-call-3d,
.profile-contact-actions .btn-whatsapp-3d,
.profile-contact-actions .btn-chat-3d {
    flex: 1 1 auto !important;
}

@media (max-width: 576px) {
    .contact-quick-actions {
        width: 100% !important;
    }
    .contact-quick-actions .btn-call-3d,
    .contact-quick-actions .btn-whatsapp-3d {
        flex: 1 1 calc(50% - 6px) !important;
        padding: 8px 10px !important;
        font-size: 13.5px !important;
    }
}

/* === mobile-experience.css === */
.mobile-home-start {
    display: none;
}

@media (max-width: 380px) {
    .site-header .header-inner {
        padding-inline: 5px !important;
    }

    .site-header .header-inner .brand {
        gap: 5px !important;
    }

    .site-header .header-inner .site-logo-img {
        width: 28px !important;
        height: 28px !important;
    }
}

@media (max-width: 900px) {
    body {
        padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
    }

    .has-mobile-start .announcement-ticker,
    .has-mobile-start .home-intent-search,
    .site-header .mobile-header-secondary,
    .site-header .header-hide-mobile,
    #site-page .quick-dock-trigger {
        display: none !important;
    }

    .site-header {
        top: max(4px, env(safe-area-inset-top, 0px));
    }

    .mobile-home-save:has(> :not([hidden])) {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-block: 10px;
    }

    .mobile-home-save > button:not([hidden]) {
        flex: 1 1 auto;
        min-height: 44px;
        font-size: 0.875rem;
        white-space: normal;
    }

    .site-header .header-inner {
        position: relative;
        gap: 6px;
    }

    .site-header .brand {
        min-height: 44px;
        margin-inline-end: auto;
    }

    .site-header .header-actions {
        gap: 4px;
    }

    .site-header .header-actions .lang-switch {
        display: block;
        position: static;
        padding: 0;
    }

    .site-header .header-actions .lang-switch > summary {
        min-width: 44px !important;
        min-height: 44px !important;
    }

    .site-header .header-actions .lang-name {
        max-width: none;
        overflow: visible;
        text-overflow: clip;
        white-space: nowrap;
        font-size: 13px;
    }

    .site-header .header-actions .lang-item {
        min-height: 44px;
    }

    .site-header .header-actions > .header-icon-btn {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
    }

    .drawer-quick-tools {
        width: 100%;
        appearance: none;
        border: 0;
        background: transparent;
        font-family: inherit;
        cursor: pointer;
    }

    body #site-page > .mobile-bottom-bar {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 0;
        min-height: calc(60px + env(safe-area-inset-bottom, 0px));
        height: auto;
        padding: 2px max(3px, env(safe-area-inset-right, 0px))
            calc(2px + env(safe-area-inset-bottom, 0px)) max(3px, env(safe-area-inset-left, 0px));
        box-sizing: border-box;
    }

    .mobile-bottom-bar .mobile-nav-item {
        min-width: 0;
        min-height: 48px;
        gap: 4px;
        text-align: center;
        line-height: 1.2;
        overflow-wrap: anywhere;
    }

    .mobile-bottom-bar .ui-icon {
        width: 19px;
        height: 19px;
        flex: none;
    }

    .mobile-bottom-bar [aria-current] {
        color: var(--color-saffron-dark, #862d19);
        background: var(--color-saffron-soft, #fff1e4);
        border-radius: 9px;
        font-weight: 750;
    }

    .mobile-home-start {
        --mobile-home-ink: var(--color-charcoal, #29201c);
        --mobile-home-muted: var(--color-charcoal-soft, #635450);
        --mobile-home-accent: var(--color-saffron-dark, #862d19);
        --mobile-home-surface: var(--card, #fff);
        --mobile-home-warm: #fff2e1;
        --mobile-home-line: #ebd4bf;
        display: grid;
        width: min(calc(100% - 24px), 620px);
        gap: 11px;
        margin-block: 12px 18px;
    }

    .mobile-home-feature {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        gap: 12px;
        padding: 14px;
        border: 1px solid var(--mobile-home-line);
        border-radius: 15px;
        background: linear-gradient(120deg, var(--mobile-home-warm), var(--mobile-home-surface));
    }

    .mobile-home-feature-icon {
        display: grid;
        place-items: center;
        width: 40px;
        height: 40px;
        border-radius: 11px;
        color: var(--mobile-home-accent);
        background: var(--mobile-home-surface);
    }

    .mobile-home-feature-icon .ui-icon {
        width: 23px;
        height: 23px;
    }

    .mobile-home-feature p {
        margin: 0;
        color: var(--mobile-home-ink);
        font-size: .96rem;
        font-weight: 650;
        line-height: 1.42;
    }

    .mobile-home-primary {
        grid-column: 1 / -1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 9px 12px;
        min-height: 48px;
        border-radius: 9px;
        color: #fff;
        background: var(--mobile-home-accent);
        text-decoration: none;
        text-align: center;
        font-weight: 750;
        line-height: 1.3;
    }

    .mobile-home-primary:hover,
    .mobile-home-primary:focus-visible {
        color: #fff;
    }

    [dir="rtl"] .mobile-home-primary .ui-icon {
        transform: scaleX(-1);
    }

    .mobile-home-links,
    .mobile-home-today-links {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }

    .mobile-home-links a,
    .mobile-home-today-links a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        min-width: 0;
        min-height: 54px;
        padding: 6px 3px;
        border: 1px solid var(--mobile-home-line);
        border-radius: 9px;
        color: var(--mobile-home-ink);
        background: var(--mobile-home-surface);
        text-align: center;
        text-decoration: none;
        font-size: .81rem;
        line-height: 1.26;
        font-weight: 650;
        overflow-wrap: anywhere;
    }

    .mobile-home-start a:focus-visible,
    .mobile-home-start summary:focus-visible,
    .mobile-bottom-bar a:focus-visible {
        outline: 2px solid var(--color-saffron, #a73d16);
        outline-offset: -2px;
    }

    .mobile-home-links .ui-icon {
        width: 17px;
        height: 17px;
        color: var(--mobile-home-accent);
    }

    .mobile-home-today {
        padding: 8px 0 0;
    }

    .mobile-home-today h2 {
        margin: 0 0 8px;
        color: var(--mobile-home-ink);
        font-size: 1.15rem;
    }

    .mobile-home-today-links span {
        color: var(--mobile-home-muted);
        font-size: .73rem;
        font-weight: 500;
    }

    .mobile-home-continue,
    .mobile-home-settings summary {
        display: flex;
        min-height: 44px;
        align-items: center;
        align-self: start;
        color: var(--mobile-home-accent);
        font-size: .86rem;
        font-weight: 650;
    }

    .mobile-home-settings summary {
        display: list-item;
        min-height: 0;
        padding-block: 12px;
        cursor: pointer;
    }

    .mobile-home-settings form {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 5px;
        padding: 8px;
        border: 1px solid var(--mobile-home-line);
        border-radius: 9px;
        background: var(--mobile-home-surface);
        font-size: .85rem;
    }

    .mobile-home-settings p,
    .mobile-home-status {
        margin: 0;
        color: var(--mobile-home-muted);
    }

    .mobile-home-settings select {
        width: 100%;
        min-height: 44px;
        margin-block-end: 4px;
        background: var(--mobile-home-surface);
        color: var(--mobile-home-ink);
        font: inherit;
    }

    .mobile-home-start [hidden],
    .mobile-home-status:empty {
        display: none !important;
    }

    [data-theme="dark"] .mobile-home-start {
        --mobile-home-ink: #f7eee7;
        --mobile-home-muted: #e0c8b8;
        --mobile-home-accent: #f0b385;
        --mobile-home-surface: #28211d;
        --mobile-home-warm: #39271e;
        --mobile-home-line: #594638;
    }

    [data-theme="dark"] .mobile-home-primary,
    [data-theme="dark"] .mobile-home-primary:hover {
        color: #231913;
    }

    [data-theme="dark"] .mobile-bottom-bar [aria-current] {
        color: #ffd9ba;
        background: #3d2b20;
    }
}
