:root {
    /* Logo-matched palette */
    --navy: #0F2A5F;
    --navy-deep: #081A3D;
    --navy-light: #1E3A8A;
    --navy-pale: #E8EEF8;
    --orange: #F97316;
    --orange-bright: #FB923C;
    --orange-deep: #EA580C;
    --orange-pale: #FFF4E8;
    --gold: #D4A454;
    --gold-light: #E8C078;
    --cream: #FDFAF4;
    --cream-2: #F6F0E4;
    --white: #FFFFFF;
    --ink: #0A1428;
    --ink-soft: #2A3752;
    --muted: #5A6578;
    --muted-light: #8A94A8;
    --line: #E2E8F0;
    --line-soft: #EEF2F7;
    --green: #16A34A;
    --sky: #38BDF8;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-deva: 'Noto Sans Devanagari', serif;
    --font-mono: 'JetBrains Mono', monospace;

    --radius: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 2px 8px rgba(15, 42, 95, 0.06);
    --shadow-md: 0 8px 24px rgba(15, 42, 95, 0.08);
    --shadow-lg: 0 20px 48px rgba(15, 42, 95, 0.12);
    --shadow-orange: 0 12px 32px rgba(249, 115, 22, 0.25);
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  a { color: inherit; text-decoration: none; }
  img { max-width: 100%; display: block; }
  button { font-family: inherit; cursor: pointer; border: none; background: none; }
  .container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
  }
  .deva { font-family: var(--font-deva); }
  .display { font-family: var(--font-display); }
  .mono { font-family: var(--font-mono); }

  /* ======================================== */
  /* NAVIGATION */
  /* ======================================== */
  nav.main-nav {
    position: sticky; top: 0;
    background: rgba(253, 250, 244, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line-soft);
    z-index: 100;
    transition: all 0.2s;
  }
  nav.main-nav .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
  }
  .brand {
    display: flex; align-items: center; gap: 12px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    color: var(--navy);
    letter-spacing: -0.01em;
  }
  .brand em { color: var(--orange); font-style: italic; }
  .brand .logo-mark {
    width: 48px; height: 48px;
    flex-shrink: 0;
    object-fit: contain;
    display: block;
  }
  .nav-links {
    display: flex; align-items: center; gap: 32px;
  }
  .nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-soft);
    transition: color 0.15s;
  }
  .nav-links a:hover { color: var(--orange); }
  .nav-links a.nav-cta,
  a.nav-cta {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--navy);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
  }
  .nav-links a.nav-cta:hover,
  a.nav-cta:hover {
    background: var(--orange);
    color: var(--white) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-orange);
  }
  .hamburger {
    display: none;
    width: 32px; height: 32px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
  }
  .hamburger span {
    display: block; width: 22px; height: 2px;
    background: var(--navy);
    transition: all 0.2s;
  }

  /* ======================================== */
  /* BUTTONS */
  /* ======================================== */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s;
    cursor: pointer;
    white-space: nowrap;
  }
  .btn-primary {
    background: var(--orange);
    color: var(--white);
    box-shadow: var(--shadow-orange);
  }
  .btn-primary:hover { background: var(--orange-deep); transform: translateY(-2px); }
  .btn-navy {
    background: var(--navy);
    color: var(--white);
  }
  .btn-navy:hover { background: var(--navy-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }
  .btn-ghost {
    background: transparent;
    color: var(--navy);
    border: 1.5px solid var(--navy);
  }
  .btn-ghost:hover { background: var(--navy); color: var(--white); }
  .btn-outline-orange {
    background: transparent;
    color: var(--orange);
    border: 1.5px solid var(--orange);
  }
  .btn-outline-orange:hover { background: var(--orange); color: var(--white); }

  /* ======================================== */
  /* HERO */
  /* ======================================== */
  section.hero {
    position: relative;
    padding: 60px 0 100px;
    overflow: hidden;
    background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
  }
  section.hero::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--orange-pale) 0%, transparent 60%);
    opacity: 0.6;
    pointer-events: none;
  }
  section.hero::after {
    content: '';
    position: absolute;
    bottom: -100px; left: -200px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--navy-pale) 0%, transparent 60%);
    opacity: 0.5;
    pointer-events: none;
  }
  .hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
  }
  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid var(--orange-pale);
    padding: 7px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: var(--orange-deep);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
  }
  .hero-badge .dot {
    width: 7px; height: 7px; background: var(--orange); border-radius: 50%;
    animation: pulse 2s infinite;
  }
  @keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
  .hero h1 {
    font-family: var(--font-display);
    font-size: clamp(40px, 5.5vw, 68px);
    line-height: 1.05;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.02em;
    margin-bottom: 24px;
  }
  .hero h1 em {
    color: var(--orange);
    font-style: italic;
    font-weight: 600;
  }
  .hero h1 .deva-accent {
    font-family: var(--font-deva);
    color: var(--orange);
    font-size: 0.75em;
    font-weight: 600;
    font-style: normal;
  }
  .hero p.lead {
    font-size: 19px;
    line-height: 1.6;
    color: var(--ink-soft);
    margin-bottom: 36px;
    max-width: 540px;
  }
  .hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
  }
  .hero-trust {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  .avatars {
    display: flex;
  }
  .avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 2px solid var(--cream);
    margin-left: -10px;
    font-family: var(--font-deva);
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 14px;
  }
  .avatar:first-child { margin-left: 0; }
  .avatar.a1 { background: linear-gradient(135deg, var(--navy), var(--navy-light)); }
  .avatar.a2 { background: linear-gradient(135deg, var(--orange), var(--orange-bright)); }
  .avatar.a3 { background: linear-gradient(135deg, var(--gold), var(--orange-bright)); }
  .avatar.a4 { background: linear-gradient(135deg, var(--navy-light), var(--sky)); }
  .hero-trust-text { font-size: 13px; color: var(--muted); }
  .hero-trust-text strong { color: var(--navy); display: block; font-size: 14px; font-weight: 700; }

  /* Hero visual - stylized phone with app preview */
  .hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  /* Floating decorative cards */
  .float-card {
    position: absolute;
    background: var(--white);
    border: 1px solid var(--line-soft);
    border-radius: 14px;
    padding: 10px 14px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 5;
    animation: floaty 6s ease-in-out infinite;
    max-width: 220px;
  }
  @keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
  .float-card.top-left {
    top: -32px; left: -24px;
    animation-delay: -2s;
  }
  .float-card.bot-right {
    bottom: -32px; right: -24px;
    animation-delay: -4s;
  }
  .float-card .ic {
    width: 36px; height: 36px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    font-family: var(--font-deva);
    font-weight: 700;
    color: var(--white);
  }
  .float-card .ic.orange { background: linear-gradient(135deg, var(--orange), var(--orange-bright)); }
  .float-card .ic.navy { background: linear-gradient(135deg, var(--navy), var(--navy-light)); }
  .float-card .txt .t { font-size: 11px; font-weight: 700; color: var(--navy); }
  .float-card .txt .s { font-size: 10px; color: var(--muted); }

  /* ======================================== */
  /* STATS STRIP */
  /* ======================================== */
  section.stats {
    background: var(--navy);
    color: var(--white);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
  }
  section.stats::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(249, 115, 22, 0.15) 0%, transparent 50%);
    pointer-events: none;
  }
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    z-index: 2;
  }
  .stat {
    text-align: center;
  }
  .stat .num {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    color: var(--orange-bright);
    line-height: 1;
    letter-spacing: -0.02em;
  }
  .stat .lbl {
    font-size: 13px;
    color: var(--gold-light);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 10px;
    font-weight: 600;
  }

  /* ======================================== */
  /* SECTION HEADERS */
  /* ======================================== */
  section { padding: 100px 0; }
  .section-label {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 14px;
    display: inline-block;
  }
  .section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4.5vw, 48px);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
  }
  .section-title em {
    font-style: italic;
    color: var(--orange);
    font-weight: 600;
  }
  .section-sub {
    font-size: 18px;
    color: var(--ink-soft);
    max-width: 640px;
    line-height: 1.6;
  }
  .section-head {
    text-align: center;
    margin-bottom: 60px;
  }
  .section-head.left {
    text-align: left;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: end;
  }
  .section-head.left .section-sub { margin: 0; }

  /* ======================================== */
  /* FEATURES SECTION */
  /* ======================================== */
  .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .feature-card {
    background: var(--white);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
  }
  .feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--orange-pale);
  }
  .feature-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px;
    font-family: var(--font-deva);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 22px;
  }
  .feature-icon.orange { background: linear-gradient(135deg, var(--orange) 0%, var(--orange-bright) 100%); }
  .feature-icon.navy { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); }
  .feature-icon.gold { background: linear-gradient(135deg, var(--gold) 0%, var(--orange-bright) 100%); }
  .feature-icon.mixed { background: linear-gradient(135deg, var(--navy) 0%, var(--orange) 100%); }
  .feature-card h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 10px;
    line-height: 1.2;
  }
  .feature-card p {
    font-size: 15px;
    color: var(--ink-soft);
    line-height: 1.6;
  }
  .feature-tag {
    display: inline-block;
    background: var(--orange-pale);
    color: var(--orange-deep);
    font-size: 10px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100px;
    margin-top: 14px;
  }
  .feature-tag.new { background: var(--navy); color: var(--white); }

  /* ======================================== */
  /* GROUP TOURS SECTION (NEW HIGHLIGHT) */
  /* ======================================== */
  section.tours {
    background: linear-gradient(180deg, var(--cream-2) 0%, var(--cream) 100%);
    position: relative;
    overflow: hidden;
  }
  section.tours::before {
    content: '';
    position: absolute;
    top: 100px; right: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, var(--orange-pale) 0%, transparent 70%);
    pointer-events: none;
  }
  .tours-intro {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
  }
  .solo-highlight {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
    border-left: 5px solid var(--orange);
  }
  .solo-highlight .top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
  }
  .solo-highlight .top .ic {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, var(--orange), var(--orange-bright));
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    font-size: 22px;
    flex-shrink: 0;
  }
  .solo-highlight h4 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
  }
  .solo-highlight ul {
    list-style: none;
    padding: 0;
  }
  .solo-highlight li {
    display: flex;
    gap: 10px;
    padding: 8px 0;
    font-size: 15px;
    color: var(--ink-soft);
  }
  .solo-highlight li .check {
    color: var(--orange);
    font-weight: 700;
    flex-shrink: 0;
  }
  .tours-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 2;
  }
  .tour-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
  }
  .tour-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
  .tour-image {
    height: 180px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
  }
  .tour-image.v1 { background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, var(--orange) 160%); }
  .tour-image.v2 { background: linear-gradient(135deg, var(--navy) 0%, #2A4A8F 60%, var(--gold) 160%); }
  .tour-image.v3 { background: linear-gradient(135deg, var(--orange-deep) 0%, var(--orange) 80%); }
  .tour-image.v4 { background: linear-gradient(135deg, var(--navy-deep) 0%, #1A3A6F 70%); }
  .tour-image.v5 { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, var(--gold-light) 180%); }
  .tour-image.v6 { background: linear-gradient(135deg, var(--navy-deep) 0%, var(--orange) 180%); }
  .tour-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 70% 30%, rgba(249, 115, 22, 0.25) 0%, transparent 40%),
      radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
  }
  .tour-image .glyph {
    font-family: var(--font-deva);
    font-size: 72px;
    font-weight: 700;
    color: rgba(232, 192, 120, 0.75);
    position: relative;
    z-index: 2;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  }
  .tour-badge {
    position: absolute;
    top: 14px; left: 14px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--navy);
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 3;
    backdrop-filter: blur(10px);
  }
  .tour-badge.popular { background: var(--orange); color: var(--white); }
  .tour-badge.solo { background: var(--navy); color: var(--gold-light); }
  .tour-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  .tour-content h4 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
    line-height: 1.2;
  }
  .tour-content .deva-sub {
    font-family: var(--font-deva);
    font-size: 13px;
    color: var(--orange);
    margin-bottom: 12px;
  }
  .tour-content > p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
  }
  .tour-meta {
    display: flex;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--line-soft);
    margin-bottom: 16px;
    font-size: 12px;
    color: var(--muted);
  }
  .tour-meta div { display: flex; align-items: center; gap: 5px; }
  .tour-meta strong { color: var(--navy); font-weight: 700; }
  .tour-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .tour-price {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--orange);
  }
  .tour-price span {
    font-family: var(--font-body);
    font-size: 11px;
    color: var(--muted);
    font-weight: 500;
  }
  .tour-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.15s;
  }
  .tour-link:hover { color: var(--orange); }

  .tours-cta {
    margin-top: 48px;
    text-align: center;
  }

  /* ======================================== */
  /* TEMPLES SHOWCASE */
  /* ======================================== */
  section.temples {
    background: var(--cream);
  }
  .temples-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  .temple-tile {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid var(--line-soft);
    cursor: pointer;
  }
  .temple-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--orange-pale);
  }
  .temple-tile-icon {
    width: 70px; height: 70px;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    font-family: var(--font-deva);
    font-weight: 700;
    font-size: 24px;
  }
  .temple-tile h4 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 4px;
  }
  .temple-tile p {
    font-size: 13px;
    color: var(--muted);
  }
  .temple-tile .count {
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--orange);
    margin-top: 10px;
    font-weight: 700;
  }

  /* ======================================== */
  /* SCRIPTURE / AUDIO SPLIT */
  /* ======================================== */
  section.content-library {
    background: var(--white);
  }
  .split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .split-card {
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .split-card.navy-bg {
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
    color: var(--white);
  }
  .split-card.orange-bg {
    background: linear-gradient(135deg, var(--orange-deep) 0%, var(--orange) 100%);
    color: var(--white);
  }
  .split-card .deco-glyph {
    position: absolute;
    right: -30px; top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-deva);
    font-size: 220px;
    color: rgba(255, 255, 255, 0.08);
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
  }
  .split-card .lbl {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--gold-light);
    margin-bottom: 10px;
    font-weight: 700;
    position: relative;
    z-index: 2;
  }
  .split-card.orange-bg .lbl { color: rgba(255, 255, 255, 0.9); }
  .split-card h3 {
    font-family: var(--font-display);
    font-size: 36px;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
  }
  .split-card h3 em { font-style: italic; color: var(--orange-bright); }
  .split-card.orange-bg h3 em { color: var(--white); }
  .split-card p {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.92;
    max-width: 400px;
    position: relative;
    z-index: 2;
  }
  .split-stats {
    display: flex;
    gap: 24px;
    margin-top: 28px;
    position: relative;
    z-index: 2;
  }
  .split-stats .n {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    display: block;
    color: var(--orange-bright);
  }
  .split-card.orange-bg .split-stats .n { color: var(--white); }
  .split-stats .l {
    font-size: 12px;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
  }


  /* ======================================== */
  /* HERO PANCHANG CARD (replaces phone mockup) */
  /* ======================================== */
  .hero-panchang-card {
    width: 340px;
    background: linear-gradient(145deg, var(--white) 0%, var(--cream) 100%);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 28px;
    box-shadow: var(--shadow-lg), 0 20px 40px rgba(15, 42, 95, 0.15);
    position: relative;
    z-index: 2;
    transform: rotate(-2deg);
  }
  .hpc-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
  }
  .hpc-today-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--orange-deep);
    font-weight: 700;
    margin-bottom: 2px;
  }
  .hpc-date {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.1;
  }
  .hpc-samvat {
    font-size: 11px;
    color: var(--muted);
    margin-top: 3px;
    font-weight: 600;
  }
  .hpc-om {
    width: 42px; height: 42px;
    background: linear-gradient(135deg, var(--orange), var(--orange-bright));
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-deva);
    font-size: 22px;
    color: var(--white);
    font-weight: 700;
  }
  .hpc-divider {
    height: 1px;
    background: var(--line);
    margin: 16px 0;
    position: relative;
  }
  .hpc-divider::before, .hpc-divider::after {
    content: '✦';
    position: absolute;
    top: -8px;
    color: var(--gold);
    background: var(--cream);
    padding: 0 4px;
    font-size: 10px;
  }
  .hpc-divider::before { left: 20px; }
  .hpc-divider::after { right: 20px; }
  .hpc-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .hpc-cell {
    text-align: left;
  }
  .hpc-cell-lbl {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 1.5px;
    color: var(--muted);
    font-weight: 700;
    margin-bottom: 4px;
  }
  .hpc-cell-lbl.warn { color: #B8425A; }
  .hpc-cell-val {
    font-family: var(--font-deva);
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.1;
  }
  .hpc-cell-sub {
    font-size: 11px;
    color: var(--muted);
    margin-top: 2px;
  }
  .hpc-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
  }
  .hpc-time {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    margin-top: 2px;
  }
  .hpc-time.warn { color: #B8425A; }
  .hpc-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
    padding: 12px;
    background: var(--navy);
    color: var(--white);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.2s;
  }
  .hpc-cta:hover { background: var(--orange); transform: translateY(-1px); }
  .hpc-cta span { font-size: 16px; }

  /* ======================================== */
  /* LIVE PANCHANG WIDGET */
  /* ======================================== */
  section.panchang-live {
    background: var(--white);
  }
  .panchang-controls {
    background: linear-gradient(135deg, var(--cream) 0%, var(--navy-pale) 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
    flex-wrap: wrap;
    box-shadow: var(--shadow-sm);
  }
  .date-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
  }
  .date-btn {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--line);
    color: var(--navy);
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s;
  }
  .date-btn:hover { background: var(--navy); color: var(--white); border-color: var(--navy); transform: scale(1.08); }
  #pch-date {
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 15px;
    font-family: var(--font-body);
    background: var(--white);
    color: var(--navy);
    font-weight: 600;
    cursor: pointer;
    outline: none;
    transition: all 0.15s;
  }
  #pch-date:focus, #pch-date:hover { border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-pale); }
  .btn-today {
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    background: var(--orange);
    color: var(--white);
    border: none;
    cursor: pointer;
    transition: all 0.15s;
    letter-spacing: 0.5px;
  }
  .btn-today:hover { background: var(--orange-deep); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
  .loc-select {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 2px 2px 2px 14px;
  }
  .loc-icon { font-size: 16px; }
  #pch-location {
    padding: 10px 32px 10px 8px;
    border: none;
    font-size: 14px;
    font-family: var(--font-body);
    background: transparent;
    color: var(--navy);
    font-weight: 600;
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3e%3cpath fill='%230F2A5F' d='M5 6L0 0h10z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px;
  }
  .pch-date-header {
    text-align: center;
    padding: 24px 0 32px;
    border-bottom: 1px dashed var(--line);
    margin-bottom: 32px;
  }
  .main-date {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.01em;
    line-height: 1.1;
  }
  .deva-date {
    font-family: var(--font-deva);
    font-size: 18px;
    color: var(--orange);
    margin-top: 8px;
    font-weight: 600;
  }
  .pch-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
  }
  .pch-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
  }
  .pch-card.samvat-card {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 70%, var(--navy-light) 100%);
    color: var(--white);
    border: none;
    position: relative;
    overflow: hidden;
  }
  .pch-card.samvat-card::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, var(--orange) 0%, transparent 60%);
    opacity: 0.25;
  }
  .pch-card.samvat-card .pch-item-val {
    color: var(--white);
  }
  .pch-card.samvat-card .pch-item-lbl {
    color: var(--gold-light);
  }
  .pch-card.five-limbs {
    grid-row: span 1;
    background: linear-gradient(135deg, var(--cream) 0%, var(--orange-pale) 100%);
    border-color: var(--orange-pale);
  }
  .pch-right-col {
    display: grid;
    gap: 20px;
  }
  .pch-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--orange-deep);
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
  }
  .pch-label.light { color: var(--orange-bright); }
  .pch-label.warn { color: #B8425A; }
  .pch-label.good { color: var(--green); }
  .samvat-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    position: relative;
    z-index: 2;
  }
  .samvat-item {
    text-align: left;
  }
  .pch-item-lbl {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 1.3px;
    color: var(--muted);
    font-weight: 700;
    margin-bottom: 6px;
  }
  .pch-item-val {
    font-family: var(--font-deva);
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
  }
  .limb-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px dashed rgba(15, 42, 95, 0.12);
  }
  .limb-row:last-child { border-bottom: 0; padding-bottom: 0; }
  .limb-row:first-of-type { padding-top: 0; }
  .limb-icon {
    font-family: var(--font-deva);
    font-size: 11px;
    font-weight: 700;
    color: var(--navy);
    background: var(--white);
    border: 1.5px solid var(--orange);
    padding: 7px 10px;
    border-radius: 8px;
    min-width: 54px;
    text-align: center;
    flex-shrink: 0;
  }
  .limb-info { flex: 1; min-width: 0; }
  .limb-name {
    font-family: var(--font-deva);
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.1;
  }
  .limb-sub {
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px;
  }
  .limb-time {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--navy);
    font-weight: 700;
    white-space: nowrap;
  }
  .limb-time.status { font-family: var(--font-body); color: var(--green); font-weight: 700; }
  .sun-moon-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .sm-item {
    background: var(--cream);
    padding: 16px 12px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--line-soft);
  }
  .sm-icon { font-size: 20px; color: var(--orange); margin-bottom: 4px; }
  .sm-label {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 1.3px;
    color: var(--muted);
    font-weight: 700;
    margin: 4px 0 4px;
  }
  .sm-val {
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
  }
  .time-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed rgba(15, 42, 95, 0.08);
  }
  .time-row:last-child { border-bottom: 0; padding-bottom: 0; }
  .time-row:first-of-type { padding-top: 0; }
  .time-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
  }
  .time-note {
    font-weight: 400;
    font-size: 11px;
    color: var(--muted);
  }
  .time-val {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    white-space: nowrap;
    margin-left: 10px;
  }
  .pch-card.inauspicious {
    background: linear-gradient(135deg, #FEF5F5 0%, #FDE8E8 100%);
    border-color: #FDE8E8;
  }
  .pch-card.inauspicious .time-val { color: #B8425A; }
  .pch-card.auspicious {
    background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
    border-color: #DCFCE7;
  }
  .pch-card.auspicious .time-val { color: var(--green); }
  .pch-disclaimer {
    margin-top: 32px;
    padding: 18px 22px;
    background: var(--cream);
    border-left: 4px solid var(--orange);
    border-radius: 10px;
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.6;
  }
  .pch-disclaimer strong { color: var(--navy); }

  @media (max-width: 980px) {
    .pch-grid { grid-template-columns: 1fr; }
    .pch-card.samvat-card { grid-column: span 1; }
    .samvat-grid { grid-template-columns: 1fr 1fr; }
    .panchang-controls { flex-direction: column; align-items: stretch; }
    .date-nav { justify-content: space-between; }
    .main-date { font-size: 26px; }
    .hero-panchang-card { transform: rotate(0deg); width: 100%; max-width: 360px; }
  }
  @media (max-width: 680px) {
    .samvat-grid { grid-template-columns: 1fr; gap: 14px; }
    .sun-moon-grid { grid-template-columns: 1fr; gap: 10px; }
    .hpc-grid-2, .hpc-row-3 { gap: 8px; }
  }

  /* ======================================== */
  /* VOLUNTEER SECTION */
  /* ======================================== */
  section.volunteer {
    background: linear-gradient(180deg, var(--cream-2) 0%, var(--cream) 100%);
  }
  .vol-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
  }
  .vol-tiers {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .vol-tier {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.2s;
  }
  .vol-tier:hover { border-color: var(--orange-pale); box-shadow: var(--shadow-sm); }
  .vol-tier-badge {
    width: 56px; height: 56px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    font-family: var(--font-deva);
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
  }
  .vol-tier-badge.t1 { background: linear-gradient(135deg, var(--navy), var(--navy-light)); }
  .vol-tier-badge.t2 { background: linear-gradient(135deg, var(--orange), var(--orange-bright)); }
  .vol-tier-badge.t3 { background: linear-gradient(135deg, var(--gold), var(--orange-bright)); }
  .vol-tier-badge.t4 { background: linear-gradient(135deg, var(--navy), var(--orange)); }
  .vol-tier .tier-info { flex: 1; }
  .vol-tier .tier-info h5 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 2px;
  }
  .vol-tier .tier-info p {
    font-size: 13px;
    color: var(--muted);
  }
  .vol-tier .tier-count {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--orange-deep);
    font-weight: 700;
    text-align: right;
    letter-spacing: 1px;
  }

  /* ======================================== */
  /* TESTIMONIALS */
  /* ======================================== */
  section.testimonials {
    background: var(--navy-deep);
    color: var(--white);
    position: relative;
    overflow: hidden;
  }
  section.testimonials::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 600px; height: 600px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(249, 115, 22, 0.08) 0%, transparent 60%);
    pointer-events: none;
  }
  section.testimonials .section-title { color: var(--white); }
  section.testimonials .section-sub { color: var(--gold-light); }
  .test-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 2;
  }
  .test-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(232, 192, 120, 0.2);
    border-radius: var(--radius);
    padding: 32px;
    backdrop-filter: blur(10px);
  }
  .test-stars {
    color: var(--orange-bright);
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 16px;
  }
  .test-quote {
    font-family: var(--font-display);
    font-size: 18px;
    line-height: 1.5;
    font-style: italic;
    color: var(--white);
    margin-bottom: 24px;
  }
  .test-author {
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .test-author .avatar {
    width: 46px; height: 46px;
    border: 2px solid var(--orange-bright);
  }
  .test-author .name {
    font-weight: 700;
    font-size: 14px;
    color: var(--white);
  }
  .test-author .role {
    font-size: 12px;
    color: var(--gold-light);
  }

  /* ======================================== */
  /* DOWNLOAD CTA */
  /* ======================================== */
  section.download-cta {
    background: var(--cream);
    padding: 60px 0 100px;
  }
  .cta-box {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--orange) 160%);
    border-radius: var(--radius-lg);
    padding: 60px 48px;
    color: var(--white);
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: center;
    box-shadow: var(--shadow-lg);
  }
  .cta-box::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, var(--orange-bright) 0%, transparent 60%);
    opacity: 0.4;
    pointer-events: none;
  }
  .cta-box .deva-watermark {
    position: absolute;
    left: -20px; bottom: -30px;
    font-family: var(--font-deva);
    font-size: 180px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.06);
    line-height: 1;
    pointer-events: none;
  }
  .cta-content {
    position: relative;
    z-index: 2;
  }
  .cta-content .lbl {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--orange-bright);
    font-weight: 700;
    margin-bottom: 10px;
  }
  .cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 16px;
  }
  .cta-content h2 em { font-style: italic; color: var(--orange-bright); }
  .cta-content p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 28px;
    max-width: 440px;
    line-height: 1.6;
  }
  .store-badges {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
  }
  .store-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    color: var(--navy);
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }
  .store-badge:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.2); }
  .store-badge .ic { font-size: 24px; }
  .store-badge .txt { line-height: 1.1; }
  .store-badge .txt small { font-size: 10px; font-weight: 500; opacity: 0.7; display: block; }
  .cta-qr {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
  .qr-code {
    width: 180px; height: 180px;
    background: var(--white);
    border-radius: 20px;
    padding: 18px;
    box-shadow: var(--shadow-lg);
  }
  .qr-code svg { width: 100%; height: 100%; }
  .cta-qr-label {
    font-size: 13px;
    color: var(--gold-light);
    text-align: center;
  }

  /* ======================================== */
  /* FAQ */
  /* ======================================== */
  section.faq {
    background: var(--white);
    padding: 100px 0;
  }
  .faq-grid {
    max-width: 820px;
    margin: 0 auto;
  }
  .faq-item {
    border-bottom: 1px solid var(--line);
    padding: 24px 0;
  }
  .faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    font-family: var(--font-display);
  }
  .faq-q .toggle {
    width: 32px; height: 32px;
    background: var(--orange-pale);
    color: var(--orange-deep);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
    transition: all 0.2s;
  }
  .faq-item.open .faq-q .toggle {
    background: var(--navy);
    color: var(--white);
    transform: rotate(45deg);
  }
  .faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, margin-top 0.3s;
    font-size: 15px;
    color: var(--ink-soft);
    line-height: 1.7;
    padding-right: 40px;
  }
  .faq-item.open .faq-a {
    max-height: 300px;
    margin-top: 14px;
  }

  /* ======================================== */
  /* FOOTER */
  /* ======================================== */
  footer {
    background: var(--navy-deep);
    color: var(--gold-light);
    padding: 70px 0 32px;
  }
  .footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
  }
  .footer-brand .brand {
    color: var(--white);
    margin-bottom: 18px;
  }
  .footer-brand p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.85;
    margin-bottom: 20px;
    max-width: 320px;
  }
  .social-row {
    display: flex;
    gap: 10px;
  }
  .social {
    width: 38px; height: 38px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold-light);
    font-size: 16px;
    transition: all 0.2s;
  }
  .social:hover { background: var(--orange); color: var(--white); transform: translateY(-2px); }
  .footer-col h5 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 18px;
  }
  .footer-col ul {
    list-style: none;
  }
  .footer-col li {
    margin-bottom: 10px;
  }
  .footer-col a {
    font-size: 14px;
    opacity: 0.8;
    transition: all 0.15s;
  }
  .footer-col a:hover { color: var(--orange-bright); opacity: 1; }
  .footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(232, 192, 120, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    opacity: 0.7;
    flex-wrap: wrap;
    gap: 12px;
  }
  .footer-bottom a { color: var(--gold-light); margin-left: 20px; }
  .footer-bottom a:first-of-type { margin-left: 0; }

  /* ======================================== */
  /* RESPONSIVE */
  /* ======================================== */
  @media (max-width: 980px) {
    .hero-grid, .tours-intro, .panchang-grid, .vol-grid { grid-template-columns: 1fr; gap: 50px; }
    .features-grid, .tours-grid, .test-grid { grid-template-columns: 1fr 1fr; }
    .temples-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .section-head.left { grid-template-columns: 1fr; gap: 20px; }
    .split-grid { grid-template-columns: 1fr; }
    .cta-box { grid-template-columns: 1fr; text-align: center; padding: 48px 32px; }
    .cta-qr { margin: 0 auto; }
    .cta-content p { margin: 0 auto 28px; }
    .store-badges { justify-content: center; }
    section { padding: 70px 0; }
  }
  @media (max-width: 680px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .features-grid, .tours-grid, .test-grid, .temples-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .hero { padding: 40px 0 70px; }
    .hero-visual { order: 2; }
    .float-card.top-left { left: 12px; top: -24px; }
    .float-card.bot-right { right: 12px; bottom: -24px; }
    .split-card { padding: 36px 28px; }
    .section-title { font-size: 32px; }
    .cta-box { padding: 40px 24px; }
  }


/* ===== SCRIPTURE LIBRARY MARKETING CSS ===== */

/* ========= SCRIPTURE LIBRARY SHOWCASE ========= */
section.scripture-showcase {
  background: var(--cream-2);
  position: relative;
}
.ss-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 56px;
}
@media (max-width: 900px) {
  .ss-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* --- Interactive Preview --- */
.ss-preview-wrap { position: sticky; top: 100px; }
@media (max-width: 900px) { .ss-preview-wrap { position: static; } }

.ss-preview-head { margin-bottom: 12px; }
.ss-preview-chips {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
}
.ss-chip-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 4px;
}
.ss-chip {
  padding: 7px 14px;
  border-radius: 100px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  font-family: var(--font-body);
}
.ss-chip:hover { border-color: var(--navy); }
.ss-chip.ss-chip-active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* Preview card (fakes the real reader for one verse) */
.ss-preview-card {
  background: #FDFAF4;
  color: #0A1428;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: background 0.3s ease, color 0.3s ease;
  border: 1px solid rgba(10, 20, 40, 0.08);
}
.ss-preview-card[data-ssth="night"]  { background: #0B1726; color: #F5F0E4; border-color: rgba(255,255,255,0.08); }
.ss-preview-card[data-ssth="sepia"]  { background: #F4E8CF; color: #4A3A1E; border-color: rgba(74,58,30,0.14); }
.ss-preview-card[data-ssth="oled"]   { background: #000000; color: #F0E7D5; border-color: rgba(255,255,255,0.06); }

.ss-preview-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid currentColor;
  border-bottom-color: rgba(10, 20, 40, 0.08);
}
.ss-preview-card[data-ssth="night"] .ss-preview-topbar { border-bottom-color: rgba(255,255,255,0.08); }
.ss-preview-card[data-ssth="sepia"] .ss-preview-topbar { border-bottom-color: rgba(74,58,30,0.14); }
.ss-preview-card[data-ssth="oled"]  .ss-preview-topbar { border-bottom-color: rgba(255,255,255,0.06); }
.ss-pt-back, .ss-pt-settings { opacity: 0.6; font-size: 16px; }
.ss-pt-title { flex: 1; text-align: center; }
.ss-pt-title strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
}
.ss-pt-title small {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-top: 2px;
}

.ss-preview-progress {
  height: 3px;
  background: rgba(10, 20, 40, 0.08);
}
.ss-preview-card[data-ssth="night"] .ss-preview-progress { background: rgba(255,255,255,0.08); }
.ss-preview-card[data-ssth="sepia"] .ss-preview-progress { background: rgba(74,58,30,0.14); }
.ss-preview-card[data-ssth="oled"]  .ss-preview-progress { background: rgba(255,255,255,0.06); }
.ss-pp-fill {
  width: 7%;
  height: 100%;
  background: linear-gradient(90deg, #F97316, #FB923C);
}

.ss-preview-body { padding: 24px 20px 18px; }

.ss-verse-num {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 14px;
}
.ss-vn-badge {
  width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(10, 20, 40, 0.06);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
}
.ss-preview-card[data-ssth="night"] .ss-vn-badge { background: rgba(255,255,255,0.08); }
.ss-preview-card[data-ssth="sepia"] .ss-vn-badge { background: rgba(74,58,30,0.1); }
.ss-preview-card[data-ssth="oled"]  .ss-vn-badge { background: rgba(255,255,255,0.06); }
.ss-vn-tag {
  padding: 2px 8px;
  border-radius: 4px;
  background: #DBEAFE;
  color: #1E40AF;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ss-verse-dev {
  font-family: var(--font-deva);
  font-size: 22px;
  line-height: 1.65;
  text-align: center;
  margin-bottom: 14px;
  font-weight: 500;
}
.ss-verse-trans {
  font-size: 13px;
  font-style: italic;
  text-align: center;
  opacity: 0.65;
  line-height: 1.55;
  margin-bottom: 14px;
}
.ss-verse-mean {
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(249, 115, 22, 0.1);
  border-left: 3px solid #F97316;
  font-size: 14px;
  line-height: 1.6;
}
.ss-preview-card[data-ssth="night"] .ss-verse-mean { background: rgba(249,115,22,0.12); }
.ss-preview-card[data-ssth="sepia"] .ss-verse-mean { background: rgba(180,83,26,0.1); border-left-color: #B4531A; }
.ss-preview-card[data-ssth="oled"]  .ss-verse-mean { background: rgba(249,115,22,0.08); }

.ss-vm-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #F97316;
  font-weight: 600;
  margin-bottom: 4px;
}

.ss-preview-bottom {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-top: 1px solid rgba(10, 20, 40, 0.08);
}
.ss-preview-card[data-ssth="night"] .ss-preview-bottom { border-top-color: rgba(255,255,255,0.08); }
.ss-preview-card[data-ssth="sepia"] .ss-preview-bottom { border-top-color: rgba(74,58,30,0.14); }
.ss-preview-card[data-ssth="oled"]  .ss-preview-bottom { border-top-color: rgba(255,255,255,0.06); }
.ss-pb-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  border-radius: 100px;
  background: rgba(10, 20, 40, 0.05);
  color: currentColor;
  font-size: 13px;
  font-weight: 500;
  border: none;
  cursor: default;
  font-family: var(--font-body);
}
.ss-preview-card[data-ssth="night"] .ss-pb-btn { background: rgba(255,255,255,0.06); }
.ss-preview-card[data-ssth="sepia"] .ss-pb-btn { background: rgba(74,58,30,0.08); }
.ss-preview-card[data-ssth="oled"]  .ss-pb-btn { background: rgba(255,255,255,0.04); }
.ss-pb-btn.ss-pb-primary {
  background: #F97316;
  color: white;
  padding: 0 14px;
  flex: 1;
}
.ss-pb-counter {
  flex: 1;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.6;
}

.ss-preview-caption {
  text-align: center;
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
}

/* Features list */
.ss-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ss-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.ss-feat-icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px;
  box-shadow: var(--shadow-sm);
}
.ss-feat-text h5 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ss-feat-text p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.ss-beta {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--orange);
  color: white;
  letter-spacing: 0.1em;
  vertical-align: middle;
}

/* Catalog */
.ss-catalog {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 32px;
}
.ss-cat-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 8px;
}
.ss-cat-head h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
}
.ss-cat-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.ss-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}
.ss-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: all 0.15s;
}
.ss-tile:hover { border-color: var(--navy); transform: translateY(-2px); }
.ss-tile-cover {
  width: 40px; height: 54px;
  border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-deva);
  font-size: 22px;
  color: white;
  flex-shrink: 0;
  font-weight: 500;
}
.ss-tile-cover.c1 { background: linear-gradient(135deg, #F97316, #EA580C); }
.ss-tile-cover.c2 { background: linear-gradient(135deg, #D4A454, #B8862B); }
.ss-tile-cover.c3 { background: linear-gradient(135deg, #0F2A5F, #081A3D); }
.ss-tile-cover.c4 { background: linear-gradient(135deg, #7C2D12, #991B1B); }
.ss-tile-cover.c5 { background: linear-gradient(135deg, #4C1D95, #312E81); }
.ss-tile-cover.c6 { background: linear-gradient(135deg, #065F46, #047857); }
.ss-tile-cover.c7 { background: linear-gradient(135deg, #1E40AF, #1E3A8A); }
.ss-tile-cover.c8 { background: linear-gradient(135deg, #92400E, #78350F); }
.ss-tile-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
}
.ss-tile-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 2px;
}
.ss-tile.ss-more {
  justify-content: center;
  align-items: center;
  color: var(--navy);
  font-weight: 600;
  cursor: pointer;
  background: var(--cream-2);
}
.ss-tile.ss-more:hover { background: var(--navy); color: var(--white); }

/* Launch CTA */
.ss-launch {
  text-align: center;
}
.ss-launch-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 36px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(15, 42, 95, 0.3);
  transition: all 0.2s;
  border: none;
}
.ss-launch-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(15, 42, 95, 0.4);
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
}
.ss-launch-note {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Scripture Library Overlay (contains the embedded reader) */
#scripture-library-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--white);
  display: none;
  overflow-y: auto;
  overflow-x: hidden;
}
#scripture-library-overlay.show { display: block; animation: slOverlayIn 0.3s ease; }
@keyframes slOverlayIn { from { opacity: 0; } to { opacity: 1; } }

.sl-close-overlay {
  position: fixed;
  top: 16px; right: 16px;
  z-index: 10001;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(10, 20, 40, 0.75);
  color: white;
  font-size: 22px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
#scripture-library-overlay.show ~ .sl-close-overlay { display: inline-flex; }

@media (max-width: 500px) {
  .ss-launch-btn { padding: 14px 24px; font-size: 15px; gap: 10px; }
  .ss-catalog { padding: 20px; }
  .ss-cat-head h3 { font-size: 18px; }
}


/* ===== SCRIPTURE LIBRARY EMBEDDED READER CSS ===== */

/* ============================================================
   DESIGN TOKENS — Themes, Font Scales, Line Spacing
   ============================================================ */
#sl-root {
  /* Brand constants (match TheHinduBook theme) */
  --navy: #0F2A5F;
  --navy-deep: #081A3D;
  --orange: #F97316;
  --orange-bright: #FB923C;
  --gold: #D4A454;

  /* Font families */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-dev-sans: 'Noto Sans Devanagari', 'Noto Sans', sans-serif;
  --font-dev-serif: 'Noto Serif Devanagari', 'Noto Serif', serif;
  --font-dev-kurale: 'Kurale', 'Noto Serif Devanagari', serif;

  /* Day theme — DEFAULT */
  --bg: #FDFAF4;
  --bg-elevated: #FFFFFF;
  --bg-soft: #F6F0E4;
  --ink: #0A1428;
  --ink-soft: #2A3752;
  --ink-muted: #5A6578;
  --accent: #F97316;
  --accent-soft: #FEF3C7;
  --highlight-current: #FDE68A;
  --highlight-matched: #BBF7D0;
  --highlight-missed: #FECACA;
  --line: rgba(10, 20, 40, 0.08);
  --line-strong: rgba(10, 20, 40, 0.15);
  --shadow-sm: 0 2px 8px rgba(10, 20, 40, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 20, 40, 0.10);
  --shadow-lg: 0 16px 48px rgba(10, 20, 40, 0.14);
}

#sl-root[data-theme="night"] {
  --bg: #0B1726;
  --bg-elevated: #152235;
  --bg-soft: #1E2E44;
  --ink: #F5F0E4;
  --ink-soft: #D4C8B5;
  --ink-muted: #8A9BB0;
  --accent: #FB923C;
  --accent-soft: #4A3B20;
  --highlight-current: #78350F;
  --highlight-matched: #14532D;
  --highlight-missed: #7F1D1D;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.6);
}

#sl-root[data-theme="sepia"] {
  --bg: #F4E8CF;
  --bg-elevated: #FAF2DE;
  --bg-soft: #EADDBB;
  --ink: #4A3A1E;
  --ink-soft: #6B5637;
  --ink-muted: #8A7555;
  --accent: #B4531A;
  --accent-soft: #F5DBB8;
  --highlight-current: #F4CE86;
  --highlight-matched: #B8D4A4;
  --highlight-missed: #E8A5A5;
  --line: rgba(74, 58, 30, 0.14);
  --line-strong: rgba(74, 58, 30, 0.22);
  --shadow-sm: 0 2px 8px rgba(74, 58, 30, 0.1);
  --shadow-md: 0 8px 24px rgba(74, 58, 30, 0.14);
  --shadow-lg: 0 16px 48px rgba(74, 58, 30, 0.18);
}

#sl-root[data-theme="oled"] {
  --bg: #000000;
  --bg-elevated: #0A0A0A;
  --bg-soft: #141414;
  --ink: #F0E7D5;
  --ink-soft: #BAAE97;
  --ink-muted: #7A7060;
  --accent: #FB923C;
  --accent-soft: #241812;
  --highlight-current: #3A2810;
  --highlight-matched: #0F2A17;
  --highlight-missed: #2A0F10;
  --line: rgba(255, 255, 255, 0.06);
  --line-strong: rgba(255, 255, 255, 0.12);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.8);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.9);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 1);
}

/* Font size steps */
#sl-root[data-size="1"] { --fs-dev: 20px; --fs-trans: 12px; --fs-mean: 14px; --fs-title: 22px; }
#sl-root[data-size="2"] { --fs-dev: 26px; --fs-trans: 13px; --fs-mean: 15px; --fs-title: 26px; }
#sl-root[data-size="3"] { --fs-dev: 32px; --fs-trans: 14px; --fs-mean: 16px; --fs-title: 30px; }
#sl-root[data-size="4"] { --fs-dev: 40px; --fs-trans: 15px; --fs-mean: 17px; --fs-title: 34px; }

/* Line spacing */
#sl-root[data-line="compact"] { --lh-dev: 1.55; --lh-trans: 1.45; --lh-mean: 1.55; }
#sl-root[data-line="normal"]  { --lh-dev: 1.75; --lh-trans: 1.6;  --lh-mean: 1.72; }
#sl-root[data-line="relaxed"] { --lh-dev: 2.0;  --lh-trans: 1.8;  --lh-mean: 1.9;  }

/* Devanagari font family */
#sl-root[data-font="dev-sans"]   { --font-dev: var(--font-dev-sans); }
#sl-root[data-font="dev-serif"]  { --font-dev: var(--font-dev-serif); }
#sl-root[data-font="dev-kurale"] { --font-dev: var(--font-dev-kurale); }

/* ============================================================
   BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

#sl-root {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  transition: background 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

button {
  background: none;
  border: none;
  font-family: inherit;
  color: inherit;
  cursor: pointer;
}

a { color: var(--accent); text-decoration: none; }

/* ============================================================
   SCREENS
   ============================================================ */
.screen { display: none; min-height: 100vh; }
.screen.screen-active { display: block; }

/* ============================================================
   CATALOG SCREEN
   ============================================================ */
.cat-header {
  padding: 24px 20px 16px;
  max-width: 1200px;
  margin: 0 auto;
}
.cat-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.cat-nav h1 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.cat-stats {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.icon-btn {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 18px;
  transition: all 0.15s;
}
.icon-btn:hover { background: var(--bg-soft); transform: translateY(-1px); }

.cat-continue, .cat-daily {
  max-width: 1200px;
  margin: 0 auto 20px;
  padding: 0 20px;
}

.continue-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #F0E7D5;
  padding: 24px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-md);
}
.continue-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.continue-cover {
  width: 70px; height: 90px;
  background: linear-gradient(135deg, var(--orange), var(--orange-bright));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-dev-sans);
  font-size: 36px;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.4);
}
.continue-info { flex: 1; min-width: 0; }
.continue-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-bright);
  margin-bottom: 4px;
}
.continue-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
}
.continue-meta {
  font-size: 13px;
  color: rgba(240, 231, 213, 0.75);
  margin-bottom: 10px;
}
.continue-progress {
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  overflow: hidden;
}
.continue-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--orange-bright));
  border-radius: 2px;
  transition: width 0.4s;
}
.continue-arrow {
  color: var(--orange-bright);
  font-size: 22px;
  flex-shrink: 0;
}

.daily-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: 16px;
  text-align: center;
}
.daily-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.daily-dev {
  font-family: var(--font-dev);
  font-size: var(--fs-dev);
  line-height: var(--lh-dev);
  color: var(--ink);
  margin-bottom: 8px;
}
.daily-trans {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-muted);
  margin-bottom: 10px;
}
.daily-meaning {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 12px;
}
.daily-source {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.cat-tabs {
  max-width: 1200px;
  margin: 24px auto 16px;
  padding: 0 20px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tabs button {
  padding: 10px 18px;
  border-radius: 100px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: all 0.15s;
  flex-shrink: 0;
}
.cat-tabs button:hover { background: var(--bg-soft); }
.cat-tabs button.tab-active {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

.cat-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 60px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.tile {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
.tile-cover {
  width: 60px; height: 80px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-dev-sans);
  font-size: 30px;
  flex-shrink: 0;
  color: white;
}
.tile-cover.c-chalisa { background: linear-gradient(135deg, #F97316, #EA580C); }
.tile-cover.c-aarti   { background: linear-gradient(135deg, #D4A454, #B8862B); }
.tile-cover.c-mantra  { background: linear-gradient(135deg, #0F2A5F, #081A3D); }
.tile-cover.c-stotra  { background: linear-gradient(135deg, #7C2D12, #991B1B); }
.tile-cover.c-sukta   { background: linear-gradient(135deg, #4C1D95, #312E81); }

.tile-body { flex: 1; min-width: 0; }
.tile-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
  line-height: 1.25;
}
.tile-title-dev {
  font-family: var(--font-dev-sans);
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.tile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.tile-meta span { white-space: nowrap; }
.tile-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 100px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 8px;
}
.tile-tag.tag-full { background: #D1FAE5; color: #065F46; }
.tile-tag.tag-preview { background: var(--accent-soft); color: var(--accent); }

/* ============================================================
   READER SCREEN
   ============================================================ */
.reader-top {
  position: sticky; top: 0;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s;
}
.reader-title { flex: 1; min-width: 0; text-align: center; }
.reader-title h2 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.reader-title small {
  display: block;
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 2px;
}

.reader-progress-bar {
  height: 3px;
  background: var(--line);
  position: sticky;
  top: 68px;
  z-index: 9;
}
.rpb-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--orange-bright));
  transition: width 0.3s ease;
  width: 0%;
}

.reader-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 24px 160px;
}

.scripture-intro {
  text-align: center;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}
.scripture-intro-dev {
  font-family: var(--font-dev);
  font-size: calc(var(--fs-title) + 8px);
  color: var(--ink);
  margin-bottom: 8px;
}
.scripture-intro-title {
  font-family: var(--font-display);
  font-size: var(--fs-title);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}
.scripture-intro-author {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-muted);
  margin-bottom: 14px;
}
.scripture-intro-desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto;
}
.scripture-intro-divider {
  font-family: var(--font-dev);
  font-size: 20px;
  color: var(--accent);
  margin: 18px auto 0;
  letter-spacing: 1em;
  padding-left: 1em;
}

.verse {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 90px;
  transition: background 0.3s;
}
.verse:last-child { border-bottom: none; }
.verse.verse-active { }
.verse.verse-bookmarked { }

.verse-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.verse-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: inline-flex; align-items: center; gap: 8px;
}
.verse-num-badge {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-mono);
}
.verse-type-tag {
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.verse-type-tag.doha { background: #FEF3C7; color: #B45309; }
.verse-type-tag.chaupai { background: #DBEAFE; color: #1E40AF; }

.verse-actions {
  display: flex;
  gap: 6px;
}
.v-act {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px;
  color: var(--ink-muted);
  font-size: 14px;
  opacity: 0.7;
  transition: all 0.15s;
}
.v-act:hover { background: var(--bg-soft); opacity: 1; color: var(--accent); }
.v-act.active { color: var(--accent); opacity: 1; }

.verse-dev {
  font-family: var(--font-dev);
  font-size: var(--fs-dev);
  line-height: var(--lh-dev);
  color: var(--ink);
  margin-bottom: 14px;
  text-align: center;
  letter-spacing: 0.01em;
  white-space: pre-line;
  font-weight: 500;
}

.verse-trans {
  font-family: var(--font-body);
  font-size: var(--fs-trans);
  line-height: var(--lh-trans);
  color: var(--ink-muted);
  margin-bottom: 14px;
  font-style: italic;
  text-align: center;
  white-space: pre-line;
}

.verse-mean {
  font-family: var(--font-body);
  font-size: var(--fs-mean);
  line-height: var(--lh-mean);
  color: var(--ink-soft);
  padding: 14px 16px;
  background: var(--bg-soft);
  border-radius: 12px;
  border-left: 3px solid var(--accent);
}
.verse-mean-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
  display: block;
}

/* View modes */
#sl-root[data-view="dev-only"] .verse-trans,
#sl-root[data-view="dev-only"] .verse-mean { display: none; }

#sl-root[data-view="side-by-side"] .verse-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
#sl-root[data-view="side-by-side"] .verse-dev { text-align: left; }
#sl-root[data-view="side-by-side"] .verse-trans { grid-column: 1 / -1; }
@media (max-width: 760px) {
  #sl-root[data-view="side-by-side"] .verse-content { grid-template-columns: 1fr; }
}

#sl-root[data-view="flowing"] .verse { border-bottom: none; padding: 12px 0; }
#sl-root[data-view="flowing"] .verse-head { display: none; }
#sl-root[data-view="flowing"] .verse-dev { text-align: left; margin-bottom: 8px; }
#sl-root[data-view="flowing"] .verse-mean { display: none; }

/* Hide controls based on state */
#sl-root[data-show-trans="false"] .verse-trans { display: none; }
#sl-root[data-show-mean="false"] .verse-mean { display: none; }

/* Word highlighting for mic reading */
.verse-trans .word {
  display: inline;
  padding: 1px 2px;
  margin: 0 1px;
  border-radius: 3px;
  transition: background 0.2s;
}
.word.word-current {
  background: var(--highlight-current);
  color: var(--ink);
  font-weight: 600;
  font-style: normal;
}
.word.word-matched {
  background: var(--highlight-matched);
  color: var(--ink);
}

/* Bottom reader toolbar */
.reader-bottom {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 10;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: var(--bg-elevated);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--bg-elevated) 85%, transparent);
  transition: transform 0.3s;
}
.reader-bottom.hidden { transform: translateY(100%); }

.rb-btn {
  min-width: 44px; height: 44px;
  padding: 0 14px;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: 100px;
  background: var(--bg-soft);
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  transition: all 0.15s;
}
.rb-btn:hover { background: var(--line); }
.rb-btn.rb-primary {
  background: var(--accent);
  color: white;
  padding: 0 20px;
}
.rb-btn.rb-primary:hover { background: var(--orange-bright); }
.rb-btn.active { background: var(--accent); color: white; }

.rb-info {
  flex: 1;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  text-transform: uppercase;
}

/* ============================================================
   OVERLAYS
   ============================================================ */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10, 20, 40, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: flex-end;
  justify-content: center;
}
.overlay.show { display: flex; animation: fadeIn 0.25s; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

@media (min-width: 760px) {
  .overlay { align-items: center; }
}

.panel {
  background: var(--bg);
  width: 100%;
  max-width: 520px;
  max-height: 85vh;
  overflow-y: auto;
  border-radius: 24px 24px 0 0;
  padding: 24px 24px calc(24px + env(safe-area-inset-bottom, 0px));
  animation: slideUp 0.3s ease;
}
@media (min-width: 760px) {
  .panel { border-radius: 24px; }
}
@keyframes slideUp { from { transform: translateY(40px); } to { transform: translateY(0); } }

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.panel-head h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
}
.panel-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--ink);
  font-size: 20px;
  display: inline-flex; align-items: center; justify-content: center;
}

/* Settings panel */
.setting-group { margin-bottom: 22px; }
.setting-group-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 10px;
}
.setting-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chip {
  padding: 10px 14px;
  border-radius: 100px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 500;
  transition: all 0.15s;
  display: inline-flex; align-items: center; gap: 6px;
}
.chip:hover { border-color: var(--line-strong); }
.chip.chip-active {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
.chip-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  display: inline-block;
}
.chip-dot.day { background: #FDFAF4; border: 1px solid var(--line-strong); }
.chip-dot.night { background: #0B1726; }
.chip-dot.sepia { background: #F4E8CF; }
.chip-dot.oled { background: #000000; }

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.toggle-row:last-child { border-bottom: none; }
.toggle-row-text { flex: 1; min-width: 0; }
.toggle-row-title { font-size: 14px; font-weight: 500; color: var(--ink); }
.toggle-row-sub { font-size: 12px; color: var(--ink-muted); margin-top: 2px; }
.sl-toggle {
  position: relative;
  width: 44px; height: 24px;
  background: var(--line-strong);
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}
.sl-toggle::after {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 20px; height: 20px;
  background: white;
  border-radius: 50%;
  transition: left 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.sl-toggle.on { background: var(--accent); }
.sl-toggle.on::after { left: 22px; }

/* Mic modal */
.panel-mic {
  max-width: 420px;
  text-align: center;
  padding-top: 32px;
}
.mic-visualizer {
  width: 140px; height: 140px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--orange-bright));
  display: flex; align-items: center; justify-content: center;
  font-size: 56px;
  color: white;
  position: relative;
  transition: transform 0.3s;
}
.mic-visualizer.listening {
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.5); }
  50% { box-shadow: 0 0 0 24px rgba(249, 115, 22, 0); }
}
.mic-status {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.mic-hint {
  font-size: 13px;
  color: var(--ink-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}
.mic-lang-switch {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-bottom: 18px;
}
.mic-last-heard {
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--bg-soft);
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--ink-soft);
  margin-bottom: 20px;
  min-height: 42px;
  text-align: left;
}
.mic-last-heard-label {
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 4px;
}
.mic-beta-note {
  padding: 10px 12px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  border-radius: 8px;
  margin-bottom: 20px;
  text-align: left;
  line-height: 1.5;
}
.mic-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.mic-btn-big {
  padding: 14px 24px;
  border-radius: 100px;
  background: var(--accent);
  color: white;
  font-weight: 600;
  font-size: 14px;
}
.mic-btn-big.secondary {
  background: var(--bg-soft);
  color: var(--ink);
}

/* Bookmarks panel */
.bm-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
}
.bm-item:last-child { border-bottom: none; }
.bm-item:hover { background: var(--bg-soft); margin: 0 -12px; padding-left: 12px; padding-right: 12px; border-radius: 10px; }
.bm-icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.bm-body { flex: 1; min-width: 0; }
.bm-title { font-size: 14px; font-weight: 500; color: var(--ink); }
.bm-meta { font-size: 11px; color: var(--ink-muted); margin-top: 2px; font-family: var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; }
.bm-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--ink-muted);
}
.bm-empty-icon { font-size: 48px; margin-bottom: 12px; opacity: 0.4; }

/* Streak card */
.streak-card {
  background: linear-gradient(135deg, var(--accent), var(--orange-bright));
  color: white;
  padding: 20px;
  border-radius: 16px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.streak-num {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
}
.streak-label { font-size: 13px; opacity: 0.9; }
.streak-sub { font-size: 11px; opacity: 0.8; margin-top: 4px; }

/* Toast */
.toast {
  position: fixed;
  bottom: 100px; left: 50%;
  transform: translateX(-50%);
  background: var(--navy-deep);
  color: white;
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 13px;
  z-index: 200;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.toast.show { opacity: 1; }

/* Responsive tweaks */
@media (max-width: 500px) {
  .cat-nav h1 { font-size: 24px; }
  .reader-main { padding: 20px 16px 160px; }
  .scripture-intro-dev { font-size: calc(var(--fs-title) + 2px); }
  .verse { padding: 20px 0; }
  .continue-card { padding: 16px; gap: 14px; }
  .continue-cover { width: 56px; height: 72px; font-size: 28px; }
  .continue-title { font-size: 17px; }
  .reader-bottom { padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); gap: 6px; }
  .rb-btn { min-width: 42px; height: 42px; padding: 0 10px; font-size: 14px; }
  .rb-btn.rb-primary { padding: 0 14px; }
}



/* ===== FESTIVALS SECTION CSS ===== */

/* ========= FESTIVALS SECTION ========= */
section.festivals-section {
  background: var(--white);
  position: relative;
}

/* Season tabs */
.fv-season-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 24px;
}
.fv-tab {
  padding: 9px 18px;
  border-radius: 100px;
  background: var(--cream-2);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  font-family: var(--font-body);
}
.fv-tab:hover { border-color: var(--navy); }
.fv-tab.fv-tab-active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* Month strip */
.fv-month-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 4px 16px;
  margin-bottom: 24px;
  scrollbar-width: thin;
}
.fv-month-strip::-webkit-scrollbar { height: 6px; }
.fv-month-strip::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.fv-month-pill {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--cream-2);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: all 0.15s;
  flex-shrink: 0;
  min-width: 90px;
  font-family: var(--font-body);
}
.fv-month-pill:hover { border-color: var(--navy); background: var(--white); }
.fv-month-pill.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.fv-month-pill .fv-m-name {
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.fv-month-pill .fv-m-count {
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-display);
}

/* Timeline grid */
.fv-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.fv-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
}
.fv-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--navy);
}

.fv-card-top {
  padding: 20px;
  color: white;
  position: relative;
  overflow: hidden;
}
.fv-card-top::before {
  content: '';
  position: absolute;
  right: -20px; top: -20px;
  width: 120px; height: 120px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  pointer-events: none;
}
.fv-card-glyph {
  font-family: var(--font-deva);
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}
.fv-card-date-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

.fv-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.fv-card-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1.2;
}
.fv-card-name-dev {
  font-family: var(--font-deva);
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.fv-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.fv-card-sig {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 14px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fv-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

/* Modal */
.fv-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(10, 20, 40, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.fv-modal.show { display: flex; animation: fvFadeIn 0.25s; }
@keyframes fvFadeIn { from { opacity: 0; } to { opacity: 1; } }

.fv-modal-inner {
  background: var(--white);
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  border-radius: 20px;
  overflow-y: auto;
  position: relative;
  animation: fvSlideUp 0.3s ease;
}
@keyframes fvSlideUp { from { transform: translateY(20px); } to { transform: translateY(0); } }

.fv-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  font-size: 20px;
  border: none;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fv-hero {
  padding: 40px 32px 32px;
  color: white;
  position: relative;
  overflow: hidden;
}
.fv-hero::before {
  content: '';
  position: absolute;
  right: -50px; top: -50px;
  width: 240px; height: 240px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}
.fv-hero-glyph {
  font-family: var(--font-deva);
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.fv-hero-date {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}
.fv-hero-name {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}
.fv-hero-name-dev {
  font-family: var(--font-deva);
  font-size: 22px;
  opacity: 0.9;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.fv-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
  z-index: 1;
}
.fv-hero-chip {
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(255,255,255,0.18);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}

.fv-body { padding: 24px 32px 32px; }
.fv-section {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.fv-section:last-child { border-bottom: none; margin-bottom: 0; }
.fv-section h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.fv-section p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.fv-section ul {
  padding-left: 20px;
  margin: 0;
}
.fv-section li {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 6px;
}

.fv-dodont {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) {
  .fv-dodont { grid-template-columns: 1fr; }
}
.fv-dd-box {
  padding: 16px;
  border-radius: 12px;
}
.fv-dd-box.do { background: #D1FAE5; }
.fv-dd-box.dont { background: #FEE2E2; }
.fv-dd-box h5 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-mono);
}
.fv-dd-box.do h5 { color: #065F46; }
.fv-dd-box.dont h5 { color: #991B1B; }
.fv-dd-box ul { padding-left: 18px; margin: 0; }
.fv-dd-box li { font-size: 13px; margin-bottom: 4px; }
.fv-dd-box.do li { color: #065F46; }
.fv-dd-box.dont li { color: #991B1B; }

/* Launch note */
.fv-launch {
  text-align: center;
  padding: 24px;
  background: var(--cream-2);
  border-radius: 16px;
  margin-top: 24px;
}
.fv-launch-note {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

@media (max-width: 500px) {
  .fv-hero { padding: 28px 20px 24px; }
  .fv-hero-name { font-size: 26px; }
  .fv-hero-glyph { font-size: 52px; }
  .fv-body { padding: 20px; }
  .fv-section h4 { font-size: 16px; }
}



/* ===== TEMPLE DIRECTORY CSS ===== */

/* ========= TEMPLE DIRECTORY MODULE ========= */
section.temples-module-section {
  background: var(--cream);
  position: relative;
}

/* Stats strip */
.td-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}
@media (max-width: 600px) {
  .td-stats { grid-template-columns: repeat(2, 1fr); }
}
.td-stat {
  background: var(--white);
  padding: 20px 16px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--line);
}
.td-stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}
.td-stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Controls panel */
.td-controls {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 24px;
}

.td-search-wrap {
  position: relative;
  margin-bottom: 16px;
}
.td-search {
  width: 100%;
  padding: 12px 44px 12px 16px;
  font-size: 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: var(--font-body);
  background: var(--cream-2);
  color: var(--ink);
  box-sizing: border-box;
}
.td-search:focus {
  outline: none;
  border-color: var(--navy);
  background: var(--white);
}
.td-search-clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cream-2);
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 16px;
  display: none;
  color: var(--ink);
}
.td-search-clear.show { display: inline-flex; align-items: center; justify-content: center; }

.td-filter-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.td-filter {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--cream-2);
  font-size: 13px;
  font-family: var(--font-body);
  color: var(--ink);
  cursor: pointer;
  min-width: 140px;
}
.td-filter:focus { outline: none; border-color: var(--navy); }

.td-view-toggle {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.td-view-btn {
  padding: 9px 16px;
  border-radius: 8px;
  background: var(--cream-2);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.15s;
}
.td-view-btn:hover { border-color: var(--navy); }
.td-view-btn.td-view-active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.td-add-btn {
  padding: 10px 18px;
  border-radius: 100px;
  background: var(--orange);
  color: var(--white);
  border: none;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  font-family: var(--font-body);
  box-shadow: 0 2px 6px rgba(249,115,22,0.3);
}
.td-add-btn:hover { background: #ea580c; }

/* Results bar */
.td-results-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--muted);
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.td-sort-wrap { display: flex; align-items: center; gap: 8px; }
.td-sort {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  font-size: 12px;
  font-family: var(--font-mono);
  cursor: pointer;
  color: var(--ink);
}

/* Grid view */
.td-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.td-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
}
.td-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--navy);
}

.td-card-top {
  padding: 16px;
  background: linear-gradient(135deg, var(--navy), #1a3a7a);
  color: white;
  position: relative;
}
.td-card.verified .td-card-top::after {
  content: '✓ Verified';
  position: absolute;
  top: 12px;
  right: 12px;
  background: #10b981;
  color: white;
  padding: 3px 10px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.td-card:not(.verified) .td-card-top::after {
  content: 'Community';
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255,255,255,0.2);
  color: white;
  padding: 3px 10px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.td-card-tier {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 6px;
}

.td-card-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 4px;
  max-width: 80%;
}
.td-card-name-dev {
  font-family: var(--font-deva);
  font-size: 13px;
  opacity: 0.85;
}

.td-card-body {
  padding: 14px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.td-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.td-card-deity {
  color: var(--orange);
  font-weight: 600;
}
.td-card-sig {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  flex: 1;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.td-card-tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.td-card-tag {
  background: var(--cream-2);
  color: var(--ink-soft);
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 10px;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* List view */
.td-list {
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.td-list-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background 0.15s;
}
.td-list-row:hover { background: var(--cream-2); }
.td-list-row:last-child { border-bottom: none; }
.td-list-main h4 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--ink);
}
.td-list-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.td-list-aside {
  text-align: right;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}
.td-badge-v {
  display: inline-block;
  background: #10b981;
  color: white;
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.td-badge-c {
  display: inline-block;
  background: var(--cream-2);
  color: var(--ink-soft);
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--line);
}

/* Map view */
.td-map-view {
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--line);
  overflow: hidden;
  margin-bottom: 24px;
}
.td-map-placeholder {
  display: grid;
  grid-template-columns: 2fr 1fr;
  min-height: 500px;
}
@media (max-width: 800px) {
  .td-map-placeholder { grid-template-columns: 1fr; }
}
.td-map-visual {
  background: linear-gradient(135deg, #f1f5f9, #e0e7ff);
  position: relative;
  overflow: hidden;
  padding: 20px;
}
.td-map-pin {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50% 50% 50% 0;
  background: var(--orange);
  transform: rotate(-45deg);
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  transition: transform 0.15s;
}
.td-map-pin:hover { transform: rotate(-45deg) scale(1.5); z-index: 2; }
.td-map-pin.verified { background: #10b981; }
.td-map-sidebar {
  padding: 20px;
  border-left: 1px solid var(--line);
  overflow-y: auto;
  max-height: 500px;
}

/* Pagination */
.td-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.td-page {
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 13px;
  color: var(--ink-soft);
  font-family: var(--font-body);
}
.td-page:hover { border-color: var(--navy); color: var(--navy); }
.td-page.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.td-page:disabled { opacity: 0.4; cursor: not-allowed; }

/* Sevak CTA */
.td-sevak-cta {
  background: linear-gradient(135deg, #fff7ed, #fef3c7);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}
.td-sevak-cta-inner {
  display: flex;
  gap: 20px;
  align-items: center;
}
@media (max-width: 600px) {
  .td-sevak-cta-inner { flex-direction: column; align-items: stretch; }
}

/* ============ MODAL (detail) ============ */
.td-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(10, 20, 40, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.td-modal.show { display: flex; animation: tdFadeIn 0.25s; }
@keyframes tdFadeIn { from { opacity: 0; } to { opacity: 1; } }

.td-modal-inner {
  background: var(--white);
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  border-radius: 20px;
  overflow-y: auto;
  position: relative;
  animation: tdSlideUp 0.3s ease;
}
.td-modal-form { max-width: 640px; }
@keyframes tdSlideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.td-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  font-size: 20px;
  border: none;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Temple detail hero */
.td-detail-hero {
  padding: 40px 32px 32px;
  color: white;
  background: linear-gradient(135deg, var(--navy), #1a3a7a);
  position: relative;
  overflow: hidden;
}
.td-detail-hero.verified { background: linear-gradient(135deg, #065f46, #047857); }
.td-detail-hero::before {
  content: '';
  position: absolute;
  right: -50px; top: -50px;
  width: 240px; height: 240px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}
.td-detail-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(255,255,255,0.2);
  color: white;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.td-detail-hero.verified .td-detail-badge { background: rgba(255,255,255,0.25); }
.td-detail-name {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}
.td-detail-name-dev {
  font-family: var(--font-deva);
  font-size: 20px;
  opacity: 0.9;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.td-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
  z-index: 1;
}
.td-detail-chip {
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(255,255,255,0.18);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}

.td-detail-body { padding: 24px 32px 32px; }
.td-detail-section {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.td-detail-section:last-child { border-bottom: none; }
.td-detail-section h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.td-detail-section p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.td-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}
.td-info-item {
  background: var(--cream-2);
  padding: 10px 14px;
  border-radius: 10px;
}
.td-info-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}
.td-info-value {
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
}
.td-aarti-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.td-aarti-chip {
  background: var(--navy);
  color: white;
  padding: 6px 14px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.td-action-row {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.td-action-btn {
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--cream-2);
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 13px;
  font-family: var(--font-body);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.td-action-btn:hover { background: var(--navy); color: white; border-color: var(--navy); }
.td-action-btn.active { background: var(--orange); color: white; border-color: var(--orange); }

/* ============ ADD/EDIT FLOW ============ */
.td-add-step { padding: 32px; }
.td-add-header { text-align: center; margin-bottom: 24px; }

.td-choice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.td-choice-card {
  text-align: left;
  padding: 20px;
  border-radius: 14px;
  background: var(--cream-2);
  border: 2px solid var(--line);
  cursor: pointer;
  transition: all 0.15s;
  font-family: var(--font-body);
}
.td-choice-card:hover {
  background: var(--white);
  border-color: var(--navy);
  transform: translateY(-2px);
}
.td-choice-icon { font-size: 32px; margin-bottom: 10px; }
.td-choice-card h4 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--navy);
}
.td-choice-card p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.td-back-btn {
  background: none;
  border: none;
  color: var(--navy);
  cursor: pointer;
  font-size: 13px;
  font-family: var(--font-body);
  padding: 4px 8px;
  border-radius: 6px;
}
.td-back-btn:hover { background: var(--cream-2); }

/* Form */
.td-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.td-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.td-field > span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.td-field input[type="text"],
.td-field input[type="search"],
.td-field select,
.td-field textarea {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-family: var(--font-body);
  background: var(--white);
  color: var(--ink);
  width: 100%;
  box-sizing: border-box;
}
.td-field input:focus,
.td-field select:focus,
.td-field textarea:focus {
  outline: none;
  border-color: var(--navy);
}
.td-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 480px) { .td-field-row { grid-template-columns: 1fr; } }

/* Success state */
.td-success {
  text-align: center;
  padding: 20px 0;
}
.td-success-icon {
  width: 72px;
  height: 72px;
  background: #10b981;
  color: white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(16,185,129,0.3);
}
.td-success-stats {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 10px;
}
.td-success-stat {
  background: var(--cream-2);
  border-radius: 12px;
  padding: 12px 20px;
  min-width: 100px;
}
.td-success-num {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
}
.td-success-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

/* Admin queue */
.td-admin-queue {
  max-height: 60vh;
  overflow-y: auto;
  border-top: 1px solid var(--line);
}
.td-queue-row {
  padding: 16px 32px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}
.td-queue-type {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 100px;
  background: var(--cream-2);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: var(--ink-soft);
}
.td-queue-type.new { background: #dbeafe; color: #1e40af; }
.td-queue-type.edit { background: #fef3c7; color: #92400e; }
.td-queue-type.photo { background: #e0e7ff; color: #4338ca; }
.td-queue-row h5 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--ink);
}
.td-queue-info {
  font-size: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}
.td-queue-actions { display: flex; gap: 6px; }
.td-queue-btn {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--line);
  background: var(--white);
  font-family: var(--font-body);
}
.td-queue-btn.approve { background: #10b981; color: white; border-color: #10b981; }
.td-queue-btn.reject { background: #ef4444; color: white; border-color: #ef4444; }

@media (max-width: 500px) {
  .td-detail-name { font-size: 24px; }
  .td-detail-hero { padding: 28px 20px; }
  .td-detail-body { padding: 20px; }
  .td-add-step { padding: 24px 20px; }
}



/* ===== USER ACCOUNT MODULE CSS ===== */

/* ============================================================
   USER ACCOUNT MODULE — STYLES
   ============================================================ */

/* ===== NAV AVATAR BUTTON ===== */
.user-nav-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 12px;
}
.user-nav-signin {
  padding: 7px 16px;
  border-radius: 100px;
  background: var(--orange);
  color: white;
  border: none;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  box-shadow: 0 2px 6px rgba(249,115,22,0.25);
  transition: all 0.15s;
}
.user-nav-signin:hover { background: #ea580c; transform: translateY(-1px); }

.user-avatar-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 4px;
  border-radius: 100px;
  background: var(--white);
  border: 1px solid var(--line);
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.15s;
}
.user-avatar-btn:hover { border-color: var(--navy); }
.user-avatar-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0;
}
.user-avatar-name {
  font-size: 12px;
  color: var(--ink);
  font-weight: 500;
}
.user-avatar-tier {
  font-size: 14px;
  margin-left: 2px;
}

/* ===== DROPDOWN MENU ===== */
.user-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 20px;
  width: 260px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  padding: 8px;
  display: none;
  z-index: 1000;
}
.user-dropdown.show { display: block; animation: udFade 0.2s; }
@keyframes udFade { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

.user-dropdown-header {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
}
.user-dropdown-name {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--ink);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.user-dropdown-tier {
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}
.user-dropdown-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  color: var(--ink);
  font-size: 14px;
  font-family: var(--font-body);
  text-decoration: none;
  transition: background 0.1s;
}
.user-dropdown-menu-item:hover { background: var(--cream-2); }
.user-dropdown-menu-item.danger { color: #DC2626; }
.user-dropdown-menu-item .ud-icon { font-size: 16px; width: 20px; text-align: center; }
.user-dropdown-divider { height: 1px; background: var(--line); margin: 6px 0; }

/* ===== AUTH / SIGNUP OVERLAY ===== */
.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 11000;
  background: rgba(10, 20, 40, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.auth-overlay.show { display: flex; animation: udFade 0.3s; }

.auth-modal {
  background: var(--white);
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  animation: authSlide 0.3s ease;
}
@keyframes authSlide { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.auth-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--cream-2);
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: var(--ink);
  z-index: 2;
}

.auth-content {
  padding: 36px 32px 32px;
  max-height: 90vh;
  overflow-y: auto;
}
.auth-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.auth-logo-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--orange));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-deva);
  font-size: 32px;
  font-weight: 700;
}
.auth-title {
  text-align: center;
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--navy);
  margin: 0 0 6px;
  font-weight: 700;
}
.auth-subtitle {
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 0 0 24px;
  line-height: 1.5;
}

/* ===== OAUTH BUTTONS ===== */
.auth-oauth-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.auth-oauth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.15s;
}
.auth-oauth-btn:hover { border-color: var(--navy); background: var(--cream-2); }
.auth-oauth-btn .oauth-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
}

.auth-divider {
  text-align: center;
  margin: 18px 0;
  position: relative;
  color: var(--muted);
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 42%;
  height: 1px;
  background: var(--line);
}
.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }

/* ===== FORM FIELDS ===== */
.auth-field {
  margin-bottom: 14px;
}
.auth-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 600;
}
.auth-field input,
.auth-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 15px;
  font-family: var(--font-body);
  background: var(--white);
  color: var(--ink);
  box-sizing: border-box;
  transition: border-color 0.15s;
}
.auth-field input:focus,
.auth-field select:focus {
  outline: none;
  border-color: var(--navy);
}

.auth-phone-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 10px;
}

.auth-submit {
  width: 100%;
  padding: 13px 20px;
  background: var(--navy);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.15s;
  margin-top: 6px;
}
.auth-submit:hover { background: #0a1f52; }
.auth-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.auth-footer-note {
  margin-top: 18px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
.auth-footer-note a { color: var(--navy); text-decoration: underline; cursor: pointer; }

.auth-switch {
  text-align: center;
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-soft);
}
.auth-switch a { color: var(--navy); font-weight: 600; cursor: pointer; }

/* OTP input boxes */
.otp-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 20px 0;
}
.otp-digit {
  width: 48px;
  height: 56px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--ink);
  background: var(--white);
}
.otp-digit:focus {
  outline: none;
  border-color: var(--navy);
}
.otp-hint {
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  margin-top: 6px;
}
.otp-resend {
  text-align: center;
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink-soft);
}
.otp-resend a { color: var(--navy); font-weight: 600; cursor: pointer; }

/* ===== GUEST ACTION PROMPT ===== */
.guest-prompt {
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  border: 1px solid #fdba74;
  border-radius: 14px;
  padding: 20px;
  margin: 20px 0;
}
.guest-prompt-title {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--navy);
  margin: 0 0 8px;
  font-weight: 700;
}
.guest-prompt-text {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0 0 14px;
  line-height: 1.5;
}
.guest-prompt-buttons {
  display: flex;
  gap: 10px;
}

/* ===== PROFILE OVERLAY (full-screen) ===== */
.profile-overlay {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 11000;
  display: none;
  overflow-y: auto;
}
.profile-overlay.show { display: block; animation: udFade 0.3s; }

.profile-top-bar {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  position: sticky;
  top: 0;
  z-index: 10;
}
.profile-back {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--navy);
  font-size: 16px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.profile-back:hover { background: var(--cream-2); }
.profile-top-title {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--ink);
  font-weight: 600;
  flex: 1;
}

/* Profile layout: sidebar + content */
.profile-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  max-width: 1200px;
  margin: 24px auto;
  padding: 0 20px;
}
@media (max-width: 900px) {
  .profile-layout {
    grid-template-columns: 1fr;
    padding: 0 12px;
    gap: 16px;
  }
}

.profile-sidebar {
  background: var(--white);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  align-self: start;
  position: sticky;
  top: 80px;
}
@media (max-width: 900px) {
  .profile-sidebar { position: static; }
}

.profile-sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--ink-soft);
  font-size: 14px;
  cursor: pointer;
  margin-bottom: 2px;
  transition: all 0.1s;
  font-family: var(--font-body);
}
.profile-sidebar-nav-item:hover { background: var(--cream-2); color: var(--ink); }
.profile-sidebar-nav-item.active {
  background: var(--navy);
  color: white;
  font-weight: 600;
}
.profile-sidebar-nav-item.danger { color: #DC2626; }
.profile-sidebar-nav-item .psn-icon { font-size: 16px; width: 20px; text-align: center; }

.profile-content {
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--line);
  min-height: 500px;
}
@media (max-width: 600px) { .profile-content { padding: 24px 20px; } }

.profile-page-title {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--navy);
  margin: 0 0 6px;
  font-weight: 700;
}
.profile-page-sub {
  color: var(--muted);
  font-size: 13px;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

/* ===== PROFILE HOME ===== */
.profile-hero {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 24px;
  background: linear-gradient(135deg, var(--navy), #1a3a7a);
  border-radius: 16px;
  color: white;
  margin-bottom: 24px;
}
.profile-hero-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}
.profile-hero-info { flex: 1; min-width: 0; }
.profile-hero-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 4px;
}
.profile-hero-meta {
  display: flex;
  gap: 10px;
  font-size: 12px;
  opacity: 0.9;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-wrap: wrap;
}
.profile-hero-tier {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(255,255,255,0.2);
  border-radius: 100px;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
}

/* Stats grid */
.profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
@media (max-width: 600px) { .profile-stats-grid { grid-template-columns: repeat(2, 1fr); } }

.profile-stat {
  background: var(--cream-2);
  padding: 16px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--line);
}
.profile-stat-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.profile-stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

/* Section titles */
.profile-section {
  margin-bottom: 32px;
}
.profile-section-title {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--ink);
  margin: 0 0 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Tier progress bar */
.tier-progress-wrap {
  background: var(--cream-2);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 24px;
}
.tier-progress-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.tier-progress-current {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--ink);
  font-size: 14px;
}
.tier-progress-next {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.tier-progress-bar {
  height: 8px;
  background: var(--line);
  border-radius: 100px;
  overflow: hidden;
}
.tier-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--navy), var(--orange));
  border-radius: 100px;
  transition: width 0.5s ease;
}

/* Badges grid */
.badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px;
}
.badge-item {
  background: var(--cream-2);
  border-radius: 12px;
  padding: 12px 10px;
  text-align: center;
  border: 1px solid var(--line);
  position: relative;
  cursor: pointer;
  transition: transform 0.15s;
}
.badge-item:hover { transform: translateY(-2px); border-color: var(--navy); }
.badge-item.locked { opacity: 0.3; filter: grayscale(1); }
.badge-item.rare {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-color: #D4A454;
}
.badge-icon {
  font-size: 28px;
  line-height: 1;
  margin-bottom: 4px;
}
.badge-name {
  font-size: 10px;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.3;
}

/* Favorites list */
.fav-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}
.fav-item {
  background: var(--cream-2);
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: all 0.15s;
}
.fav-item:hover { border-color: var(--navy); transform: translateY(-1px); }
.fav-item-title {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 4px;
  font-weight: 600;
}
.fav-item-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ===== SETTINGS LIST ===== */
.settings-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.settings-row:last-child { border-bottom: none; }
.settings-row-title {
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 2px;
  font-weight: 500;
}
.settings-row-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.settings-row-value {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-soft);
  text-align: right;
}

/* Toggle switch */
.toggle {
  position: relative;
  width: 44px;
  height: 24px;
  background: var(--line);
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}
.toggle::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  background: white;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.toggle.on {
  background: var(--navy);
}
.toggle.on::after { transform: translateX(20px); }

/* Settings field inline */
.settings-field-inline {
  min-width: 160px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream-2);
  font-size: 13px;
  color: var(--ink);
  font-family: var(--font-body);
  cursor: pointer;
}

/* ===== DANGER / DELETE ===== */
.danger-zone {
  background: #FEE2E2;
  border: 1px solid #FCA5A5;
  border-radius: 12px;
  padding: 20px;
  margin-top: 24px;
}
.danger-zone-title {
  font-weight: 700;
  color: #991B1B;
  margin: 0 0 8px;
  font-size: 15px;
}
.danger-zone-text {
  color: #7F1D1D;
  font-size: 13px;
  margin-bottom: 12px;
  line-height: 1.5;
}
.danger-btn {
  padding: 9px 16px;
  background: #DC2626;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
}
.danger-btn:hover { background: #B91C1C; }

/* ===== PUBLIC PROFILE OVERLAY (viewing other users) ===== */
.pub-profile-hero {
  background: linear-gradient(135deg, var(--navy), var(--orange));
  padding: 40px 32px;
  color: white;
  text-align: center;
  border-radius: 16px 16px 0 0;
}
.pub-profile-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 14px;
}
.pub-profile-name {
  font-family: var(--font-display);
  font-size: 26px;
  margin: 0 0 4px;
  font-weight: 700;
}
.pub-profile-tier-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: rgba(255,255,255,0.22);
  border-radius: 100px;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
}

/* ===== LEADERBOARD ===== */
.leaderboard-row {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--cream-2);
  margin-bottom: 8px;
  align-items: center;
  cursor: pointer;
  transition: all 0.15s;
}
.leaderboard-row:hover { background: var(--white); border: 1px solid var(--line); }
.leaderboard-row.me { background: linear-gradient(135deg, #fff7ed, #ffedd5); }
.leaderboard-rank {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
}
.leaderboard-rank.gold { color: #D4A454; }
.leaderboard-rank.silver { color: #9CA3AF; }
.leaderboard-rank.bronze { color: #B45309; }
.leaderboard-name {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--ink);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.leaderboard-city {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.leaderboard-points {
  text-align: right;
}
.leaderboard-points-num {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--orange);
}
.leaderboard-points-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ===== TOAST ===== */
.auth-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: white;
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 13px;
  z-index: 20000;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  animation: udFade 0.3s;
}
.auth-toast.success { background: #10b981; }
.auth-toast.error { background: #DC2626; }

/* ===== BADGE UNLOCK CELEBRATION ===== */
.badge-unlock {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 40, 0.85);
  backdrop-filter: blur(8px);
  z-index: 12000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.badge-unlock.show { display: flex; animation: udFade 0.3s; }
.badge-unlock-card {
  background: linear-gradient(135deg, var(--navy), var(--orange));
  color: white;
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  max-width: 320px;
  animation: badgePop 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
@keyframes badgePop {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.badge-unlock-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 10px;
}
.badge-unlock-icon {
  font-size: 72px;
  line-height: 1;
  margin-bottom: 10px;
}
.badge-unlock-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}
.badge-unlock-desc {
  font-size: 13px;
  opacity: 0.9;
  margin-bottom: 20px;
  line-height: 1.5;
}
.badge-unlock-btn {
  padding: 10px 24px;
  background: white;
  color: var(--navy);
  border: none;
  border-radius: 100px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 13px;
}



/* ===== USER ACCOUNT MODULE CSS ===== */

/* ============================================================
   USER ACCOUNT MODULE — CSS
   ============================================================ */

/* ----- Nav profile button (replaces/adds to CTA) ----- */
.acc-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 6px;
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: 100px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink);
  text-decoration: none;
  transition: all 0.15s;
}
.acc-nav-btn:hover { background: var(--white); border-color: var(--navy); }
.acc-nav-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), #ea580c);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 12px;
  flex-shrink: 0;
}
.acc-nav-name {
  font-weight: 500;
  white-space: nowrap;
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.acc-nav-tier {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: 2px;
}
.acc-signin-btn {
  padding: 8px 18px;
  background: var(--navy);
  color: white;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.acc-signin-btn:hover { background: #0a1f4a; }

/* ----- Overlay container ----- */
.acc-overlay {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: rgba(10,20,40,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.acc-overlay.show { display: flex; animation: accFadeIn 0.25s; }
@keyframes accFadeIn { from{opacity:0;} to{opacity:1;} }

.acc-shell {
  background: var(--white);
  border-radius: 20px;
  width: 100%;
  max-width: 1100px;
  height: 90vh;
  max-height: 760px;
  overflow: hidden;
  position: relative;
  display: flex;
  animation: accSlideUp 0.3s ease;
}
@keyframes accSlideUp { from{transform:translateY(20px);opacity:0;} to{transform:translateY(0);opacity:1;} }

.acc-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  color: var(--ink);
  font-size: 20px;
  border: none;
  cursor: pointer;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ----- Sidebar (visible when logged in) ----- */
.acc-sidebar {
  width: 240px;
  background: linear-gradient(180deg, #0F2A5F 0%, #1a3a7a 100%);
  color: white;
  padding: 24px 16px;
  overflow-y: auto;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}
.acc-sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  margin-bottom: 20px;
}
.acc-side-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), #ea580c);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
  color: white;
}
.acc-side-info { min-width: 0; }
.acc-side-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.acc-side-tier {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-top: 2px;
}

.acc-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}
.acc-nav-group {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  padding: 10px 12px 4px;
  margin-top: 8px;
}
.acc-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  cursor: pointer;
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  margin-bottom: 2px;
  transition: all 0.15s;
}
.acc-nav-item:hover { background: rgba(255,255,255,0.08); color: white; }
.acc-nav-item.active { background: var(--orange); color: white; }
.acc-nav-icon {
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}
.acc-nav-badge {
  margin-left: auto;
  background: var(--orange);
  color: white;
  padding: 2px 7px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}

.acc-sidebar-foot {
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  text-align: center;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}

/* ----- Main pane ----- */
.acc-main {
  flex: 1;
  overflow-y: auto;
  background: var(--white);
}
.acc-screen { display: none; padding: 40px 48px; animation: accFade 0.25s; }
.acc-screen.active { display: block; }
@keyframes accFade { from{opacity:0;transform:translateY(8px);} to{opacity:1;transform:translateY(0);} }

.acc-screen-head { margin-bottom: 28px; }
.acc-screen-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.acc-screen-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 6px;
  line-height: 1.15;
}
.acc-screen-sub {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.5;
  max-width: 600px;
}

/* ----- Auth screens (login/signup/OTP) ----- */
.acc-auth-screen {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: linear-gradient(135deg, #fef7ed, #fff);
}
.acc-auth-card {
  max-width: 420px;
  width: 100%;
  text-align: center;
}
.acc-auth-logo {
  font-family: var(--font-deva);
  font-size: 56px;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 16px;
}
.acc-auth-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
}
.acc-auth-sub {
  color: var(--ink-soft);
  font-size: 15px;
  margin-bottom: 32px;
}

.acc-input-group {
  text-align: left;
  margin-bottom: 16px;
}
.acc-input-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}
.acc-input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-size: 16px;
  font-family: var(--font-body);
  background: var(--white);
  color: var(--ink);
  box-sizing: border-box;
  transition: border-color 0.15s;
}
.acc-input:focus { outline: none; border-color: var(--navy); }
.acc-input-phone {
  display: flex;
  gap: 8px;
}
.acc-input-cc {
  width: 80px;
  flex-shrink: 0;
}

.acc-btn-primary {
  display: block;
  width: 100%;
  padding: 14px 20px;
  background: var(--navy);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.15s;
  box-sizing: border-box;
}
.acc-btn-primary:hover { background: #0a1f4a; }
.acc-btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

.acc-btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 20px;
  background: white;
  color: #333;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-body);
  margin-bottom: 12px;
  box-sizing: border-box;
}
.acc-btn-google:hover { background: #f8f9fa; border-color: #999; }
.acc-btn-google svg { flex-shrink: 0; }

.acc-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--muted);
  font-size: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.acc-divider::before, .acc-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

.acc-tiny {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 16px;
}
.acc-tiny a { color: var(--navy); }

.acc-link-btn {
  background: none;
  border: none;
  color: var(--navy);
  cursor: pointer;
  text-decoration: underline;
  font-size: 13px;
  font-family: var(--font-body);
  padding: 4px;
}

/* OTP screen */
.acc-otp-inputs {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 24px 0;
}
.acc-otp-digit {
  width: 50px;
  height: 56px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  font-family: var(--font-display);
  color: var(--ink);
}
.acc-otp-digit:focus { outline: none; border-color: var(--navy); }

.acc-otp-info {
  font-size: 13px;
  color: var(--muted);
  margin: 8px 0 16px;
}
.acc-otp-info strong { color: var(--ink); }

/* ----- Dashboard screen ----- */
.acc-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}
.acc-stat-card {
  background: var(--cream-2);
  padding: 18px 16px;
  border-radius: 14px;
  text-align: left;
}
.acc-stat-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}
.acc-stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.acc-section-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin: 32px 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.acc-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

.acc-row-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.acc-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--cream-2);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.15s;
}
.acc-row:hover { background: var(--white); border: 1px solid var(--navy); padding: 13px 15px; }
.acc-row-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), #1a3a7a);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.acc-row-main { flex: 1; min-width: 0; }
.acc-row-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 2px;
}
.acc-row-sub {
  font-size: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}
.acc-row-arrow { color: var(--muted); font-size: 20px; }

/* ----- Profile screens ----- */
.acc-field-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
@media (max-width: 640px) {
  .acc-field-group { grid-template-columns: 1fr; }
}
.acc-field {
  display: flex;
  flex-direction: column;
}
.acc-field-full { grid-column: 1 / -1; }
.acc-field label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 6px;
}
.acc-field input, .acc-field select, .acc-field textarea {
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  font-family: var(--font-body);
  background: var(--white);
  color: var(--ink);
}
.acc-field input:focus, .acc-field select:focus, .acc-field textarea:focus {
  outline: none; border-color: var(--navy);
}
.acc-field-hint {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
  font-style: italic;
}

.acc-form-actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
.acc-btn-secondary {
  padding: 12px 20px;
  background: var(--cream-2);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-body);
}
.acc-btn-secondary:hover { border-color: var(--navy); }

.acc-btn-danger {
  padding: 12px 20px;
  background: #dc2626;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
}
.acc-btn-danger:hover { background: #b91c1c; }

/* Tag chips (for preferences, interests) */
.acc-tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.acc-tag {
  padding: 8px 14px;
  background: var(--cream-2);
  border: 1.5px solid var(--line);
  border-radius: 100px;
  font-size: 13px;
  cursor: pointer;
  font-family: var(--font-body);
  color: var(--ink-soft);
  transition: all 0.15s;
}
.acc-tag:hover { border-color: var(--navy); }
.acc-tag.selected {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

/* Sevak tier bar */
.acc-tier-card {
  padding: 24px;
  background: linear-gradient(135deg, var(--navy), #1a3a7a);
  color: white;
  border-radius: 16px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.acc-tier-card::before {
  content: '🪔';
  position: absolute;
  right: -10px;
  bottom: -10px;
  font-size: 100px;
  opacity: 0.15;
}
.acc-tier-current {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 6px;
}
.acc-tier-name {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 4px;
}
.acc-tier-dev {
  font-family: var(--font-deva);
  font-size: 18px;
  opacity: 0.8;
  margin-bottom: 16px;
}
.acc-tier-progress-wrap {
  background: rgba(255,255,255,0.15);
  border-radius: 100px;
  height: 10px;
  overflow: hidden;
  margin-bottom: 8px;
}
.acc-tier-progress {
  background: linear-gradient(90deg, var(--orange), #fbbf24);
  height: 100%;
  border-radius: 100px;
  transition: width 0.4s ease;
}
.acc-tier-progress-text {
  font-size: 13px;
  opacity: 0.9;
}

.acc-tier-ladder {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: 16px;
}
@media (max-width: 700px) {
  .acc-tier-ladder { grid-template-columns: repeat(3, 1fr); }
}
.acc-tier-step {
  text-align: center;
  padding: 12px 6px;
  background: var(--cream-2);
  border-radius: 10px;
  border: 2px solid transparent;
}
.acc-tier-step.achieved {
  background: #d1fae5;
  border-color: #10b981;
}
.acc-tier-step.current {
  background: #fef3c7;
  border-color: var(--orange);
  transform: scale(1.05);
}
.acc-tier-step-icon {
  font-size: 20px;
  margin-bottom: 4px;
}
.acc-tier-step-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}
.acc-tier-step-min {
  font-size: 9px;
  color: var(--muted);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}

/* Contributions timeline */
.acc-contrib-timeline { display: flex; flex-direction: column; gap: 10px; }
.acc-contrib-item {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 14px;
  padding: 14px 16px;
  background: var(--cream-2);
  border-radius: 12px;
  align-items: center;
}
.acc-contrib-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--navy);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.acc-contrib-icon.approved { background: #10b981; }
.acc-contrib-icon.pending { background: #f59e0b; }
.acc-contrib-icon.rejected { background: #ef4444; }
.acc-contrib-main h5 {
  margin: 0 0 2px;
  font-size: 14px;
  color: var(--ink);
}
.acc-contrib-main p {
  margin: 0;
  font-size: 11px;
  color: var(--muted);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}
.acc-contrib-status {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
}
.acc-contrib-status.approved { background: #d1fae5; color: #065f46; }
.acc-contrib-status.pending { background: #fef3c7; color: #92400e; }
.acc-contrib-status.rejected { background: #fee2e2; color: #991b1b; }

/* Notifications */
.acc-notif-item {
  display: flex;
  gap: 14px;
  padding: 14px 16px;
  background: var(--cream-2);
  border-radius: 12px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: all 0.15s;
}
.acc-notif-item:hover { background: var(--white); border: 1px solid var(--navy); padding: 13px 15px; }
.acc-notif-item.unread { background: #fef3c7; }
.acc-notif-item.unread:hover { background: #fef3c7; border-color: var(--orange); }

.acc-notif-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), #1a3a7a);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.acc-notif-main { flex: 1; }
.acc-notif-title { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 3px; }
.acc-notif-text { font-size: 13px; color: var(--ink-soft); line-height: 1.5; margin-bottom: 4px; }
.acc-notif-time {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Public profile */
.acc-public-hero {
  padding: 32px;
  background: linear-gradient(135deg, var(--navy), #1a3a7a);
  color: white;
  border-radius: 16px;
  margin-bottom: 24px;
  display: flex;
  gap: 24px;
  align-items: center;
}
.acc-public-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), #ea580c);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  flex-shrink: 0;
}
.acc-public-info h3 {
  font-family: var(--font-display);
  font-size: 26px;
  margin: 0 0 4px;
}
.acc-public-tier {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
}
.acc-public-stats {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}
.acc-public-stat {
  font-size: 13px;
  opacity: 0.9;
}
.acc-public-stat strong { font-size: 18px; font-weight: 700; }

/* Danger zone */
.acc-danger-zone {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 12px;
  padding: 20px;
  margin-top: 24px;
}
.acc-danger-zone h4 {
  color: #991b1b;
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 16px;
}
.acc-danger-zone p {
  color: #7f1d1d;
  font-size: 13px;
  margin: 0 0 14px;
}

/* DPDP export card */
.acc-export-card {
  padding: 20px;
  background: var(--cream-2);
  border-radius: 12px;
  margin-bottom: 12px;
  display: flex;
  gap: 14px;
  align-items: center;
}
.acc-export-card h4 { margin: 0 0 4px; color: var(--ink); font-size: 15px; font-family: var(--font-display); }
.acc-export-card p { margin: 0; color: var(--muted); font-size: 12px; }
.acc-export-icon {
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: white;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

/* Toggle switch */
.acc-toggle {
  display: inline-block;
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}
.acc-toggle input { opacity: 0; width: 0; height: 0; }
.acc-toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--line);
  border-radius: 100px;
  cursor: pointer;
  transition: 0.2s;
}
.acc-toggle-slider::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  top: 2px;
  left: 2px;
  transition: 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.acc-toggle input:checked + .acc-toggle-slider { background: var(--navy); }
.acc-toggle input:checked + .acc-toggle-slider::before { transform: translateX(20px); }

.acc-pref-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.acc-pref-row:last-child { border-bottom: none; }
.acc-pref-main { flex: 1; }
.acc-pref-title { font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 2px; }
.acc-pref-sub { font-size: 12px; color: var(--muted); }

/* Mobile */
@media (max-width: 760px) {
  .acc-shell { height: 100vh; max-height: 100vh; border-radius: 0; }
  .acc-sidebar { position: absolute; z-index: 100; left: -100%; transition: left 0.3s; height: 100%; width: 260px; }
  .acc-sidebar.mobile-open { left: 0; }
  .acc-screen { padding: 24px; }
  .acc-screen-title { font-size: 24px; }
  .acc-mobile-menu-btn {
    display: inline-flex !important;
    position: absolute;
    top: 16px; left: 16px;
    width: 36px; height: 36px;
    border-radius: 8px;
    background: var(--cream-2);
    border: 1px solid var(--line);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 50;
  }
}
.acc-mobile-menu-btn { display: none; }


/* ========== YATRA MODULE ========== */

/* ============ YATRA MODULE CSS ============ */
section.yatra-section {
  background: var(--cream);
  position: relative;
}

/* Tabs */
.yt-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 20px;
}
.yt-tab {
  padding: 10px 20px;
  border-radius: 100px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.15s;
}
.yt-tab:hover { border-color: var(--navy); }
.yt-tab.yt-tab-active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* Filters */
.yt-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding: 16px;
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--line);
}
.yt-filter {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream-2);
  font-size: 13px;
  font-family: var(--font-body);
  color: var(--ink);
  cursor: pointer;
  min-width: 150px;
}
.yt-filter:focus { outline: none; border-color: var(--navy); }

/* Package grid */
.yt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.yt-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
}
.yt-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.1);
  border-color: var(--navy);
}

.yt-card-hero {
  padding: 24px 22px 20px;
  color: white;
  position: relative;
  overflow: hidden;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.yt-card-hero::before {
  content: '';
  position: absolute;
  right: -30px;
  top: -30px;
  width: 160px;
  height: 160px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}
.yt-card-hero::after {
  content: '';
  position: absolute;
  left: -20px;
  bottom: -40px;
  width: 100px;
  height: 100px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}
.yt-card-glyph {
  font-family: var(--font-deva);
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
}
.yt-card-tier-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(255,255,255,0.2);
  color: white;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
}
.yt-card-theme {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
  position: relative;
  z-index: 1;
}

.yt-card-body {
  padding: 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.yt-card-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 4px;
}
.yt-card-name-dev {
  font-family: var(--font-deva);
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.yt-card-tagline {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 14px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.yt-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.yt-card-price-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.yt-card-price-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}
.yt-card-price {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.yt-card-price-sub {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}
.yt-card-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

/* Trip builder cards */
.yt-builder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.yt-builder-card {
  background: var(--white);
  border: 2px dashed var(--line);
  border-radius: 18px;
  padding: 28px 22px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}
.yt-builder-card:hover {
  border-color: var(--navy);
  background: var(--cream-2);
  transform: translateY(-3px);
}
.yt-builder-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: white;
}
.yt-builder-card h4 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ink);
  margin: 0 0 4px;
}
.yt-builder-card .yt-builder-dev {
  font-family: var(--font-deva);
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.yt-builder-card p {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 14px;
}
.yt-builder-card .yt-builder-cta {
  display: inline-block;
  background: var(--navy);
  color: white;
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
}

/* CTA banner */
.yt-cta-banner {
  padding: 32px;
  background: linear-gradient(135deg, var(--navy), #1a3a7a);
  border-radius: 20px;
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 24px;
}
@media (max-width: 640px) {
  .yt-cta-banner { flex-direction: column; align-items: stretch; }
}
.yt-cta-text { flex: 1; }

/* Modal */
.yt-modal {
  position: fixed;
  inset: 0;
  z-index: 10002;
  background: rgba(10,20,40,0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.yt-modal.show { display: flex; animation: ytFadeIn 0.25s; }
@keyframes ytFadeIn { from{opacity:0;} to{opacity:1;} }

.yt-modal-inner {
  background: var(--white);
  width: 100%;
  max-width: 820px;
  max-height: 92vh;
  border-radius: 20px;
  overflow-y: auto;
  position: relative;
  animation: ytSlideUp 0.3s ease;
}
.yt-modal-form { max-width: 560px; }
@keyframes ytSlideUp { from{transform:translateY(20px);opacity:0;} to{transform:translateY(0);opacity:1;} }

.yt-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  color: var(--ink);
  font-size: 22px;
  border: none;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Yatra detail hero */
.yt-detail-hero {
  padding: 48px 36px 36px;
  color: white;
  position: relative;
  overflow: hidden;
}
.yt-detail-hero::before {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 280px;
  height: 280px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}
.yt-detail-hero::after {
  content: '';
  position: absolute;
  left: -40px;
  bottom: -40px;
  width: 180px;
  height: 180px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}
.yt-detail-glyph {
  font-family: var(--font-deva);
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.yt-detail-theme {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.yt-detail-name {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}
.yt-detail-name-dev {
  font-family: var(--font-deva);
  font-size: 22px;
  opacity: 0.9;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.yt-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
  z-index: 1;
}
.yt-detail-chip {
  padding: 5px 14px;
  border-radius: 100px;
  background: rgba(255,255,255,0.2);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

/* Pricing + CTA sticky section */
.yt-detail-pricing {
  padding: 24px 36px;
  background: #f1f5f9;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.yt-detail-pricing-main { flex: 1; }
.yt-detail-pricing-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.yt-detail-price {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}
.yt-detail-pricing-note {
  font-size: 12px;
  color: var(--ink-soft);
}
.yt-detail-cta-group {
  display: flex;
  gap: 10px;
}

/* Detail content */
.yt-detail-body { padding: 24px 36px 32px; }
.yt-detail-section {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.yt-detail-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.yt-detail-section h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.yt-detail-section p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
}

.yt-highlight-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}
.yt-highlight-item {
  padding: 12px 14px;
  background: var(--cream-2);
  border-radius: 10px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--ink);
}
.yt-highlight-item::before {
  content: '✦';
  color: var(--orange);
  flex-shrink: 0;
}

/* Itinerary */
.yt-itinerary {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.yt-day {
  background: var(--cream-2);
  border-left: 3px solid var(--navy);
  padding: 16px 18px;
  border-radius: 10px;
}
.yt-day-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.yt-day-number {
  background: var(--navy);
  color: white;
  padding: 4px 12px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}
.yt-day-title {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  font-size: 15px;
}
.yt-day-items {
  list-style: none;
  padding: 0;
  margin: 0;
}
.yt-day-items li {
  font-size: 13px;
  color: var(--ink-soft);
  padding: 4px 0 4px 20px;
  line-height: 1.5;
  position: relative;
}
.yt-day-items li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--navy);
  font-weight: 600;
}

/* Inclusions/Exclusions dual grid */
.yt-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 640px) { .yt-dual-grid { grid-template-columns: 1fr; } }
.yt-dual-box {
  padding: 20px;
  border-radius: 14px;
}
.yt-dual-box.inc { background: #d1fae5; }
.yt-dual-box.exc { background: #fee2e2; }
.yt-dual-box h5 {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-mono);
}
.yt-dual-box.inc h5 { color: #065f46; }
.yt-dual-box.exc h5 { color: #991b1b; }
.yt-dual-box ul { padding-left: 18px; margin: 0; }
.yt-dual-box li {
  font-size: 12.5px;
  margin-bottom: 4px;
  line-height: 1.5;
}
.yt-dual-box.inc li { color: #065f46; }
.yt-dual-box.exc li { color: #991b1b; }

/* Info grid */
.yt-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}
.yt-info-card {
  background: var(--cream-2);
  padding: 12px 14px;
  border-radius: 10px;
}
.yt-info-card-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.yt-info-card-value {
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
}

/* Dates */
.yt-dates-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.yt-date-chip {
  padding: 8px 14px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 13px;
  color: var(--ink);
  font-family: var(--font-body);
  cursor: pointer;
}
.yt-date-chip:hover { border-color: var(--navy); background: var(--navy); color: white; }

/* FAQ accordion */
.yt-faq-item {
  background: var(--cream-2);
  border-radius: 10px;
  margin-bottom: 8px;
  overflow: hidden;
}
.yt-faq-q {
  padding: 14px 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}
.yt-faq-q::after {
  content: '+';
  font-size: 22px;
  color: var(--muted);
  transition: transform 0.2s;
}
.yt-faq-item.open .yt-faq-q::after {
  content: '−';
}
.yt-faq-a {
  padding: 0 16px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s, padding 0.25s;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.yt-faq-item.open .yt-faq-a {
  padding: 0 16px 14px;
  max-height: 500px;
}

/* Enquiry form */
.yt-contact-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 500px) { .yt-contact-choice-grid { grid-template-columns: 1fr; } }
.yt-contact-choice {
  text-align: center;
  padding: 24px 20px;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  cursor: pointer;
  transition: all 0.15s;
  font-family: var(--font-body);
}
.yt-contact-choice:hover {
  transform: translateY(-2px);
  border-color: var(--navy);
}
.yt-choice-whatsapp:hover { border-color: #25D366; background: #F0FDF4; }
.yt-choice-callback:hover { border-color: var(--navy); background: #EFF6FF; }

.yt-form-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 14px;
}
.yt-form-field label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.yt-form-field input,
.yt-form-field select,
.yt-form-field textarea {
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-family: var(--font-body);
  background: var(--white);
  color: var(--ink);
  box-sizing: border-box;
}
.yt-form-field input:focus,
.yt-form-field select:focus,
.yt-form-field textarea:focus {
  outline: none; border-color: var(--navy);
}

.yt-form-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.yt-back-btn {
  background: none;
  border: none;
  color: var(--navy);
  cursor: pointer;
  font-size: 13px;
  font-family: var(--font-body);
  padding: 4px 8px;
  border-radius: 6px;
}
.yt-back-btn:hover { background: var(--cream-2); }

/* Success */
.yt-success { text-align: center; }
.yt-success-icon {
  width: 72px;
  height: 72px;
  background: #10b981;
  color: white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(16,185,129,0.3);
}
.yt-success-id {
  display: inline-block;
  background: var(--cream-2);
  padding: 10px 20px;
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--ink);
}

/* Builder modal */
.yt-builder-head {
  padding: 32px 32px 20px;
  color: white;
}
.yt-builder-head h3 {
  font-family: var(--font-display);
  font-size: 28px;
  margin: 0 0 6px;
}
.yt-builder-head p {
  font-size: 14px;
  opacity: 0.9;
  margin: 0;
}
.yt-builder-body { padding: 24px 32px 32px; }
.yt-builder-choices {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}
.yt-choice-pill {
  padding: 12px 14px;
  background: var(--cream-2);
  border: 2px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s;
  font-family: var(--font-body);
}
.yt-choice-pill:hover { border-color: var(--navy); }
.yt-choice-pill.selected {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
.yt-choice-pill h5 {
  margin: 0 0 2px;
  font-size: 14px;
  font-weight: 600;
}
.yt-choice-pill .yt-choice-loc {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
}
.yt-choice-rec {
  display: inline-block;
  padding: 1px 6px;
  background: var(--orange);
  color: white;
  border-radius: 100px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-left: 6px;
}
.yt-selected-count {
  padding: 14px 16px;
  background: var(--cream-2);
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-family: var(--font-body);
}
.yt-combos-section h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 20px 0 10px;
}
.yt-combo-row {
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 8px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.yt-combo-row:hover { border-color: var(--navy); background: var(--cream-2); }

/* Mobile */
@media (max-width: 640px) {
  .yt-detail-hero { padding: 32px 24px 24px; }
  .yt-detail-name { font-size: 26px; }
  .yt-detail-pricing { padding: 20px 24px; }
  .yt-detail-body { padding: 20px 24px; }
  .yt-card-hero { padding: 20px 18px 16px; }
}
/* ========== MULTI-PAGE SITE ADDITIONS ========== */
/* Active nav link highlight */
.nav-links a.active {
  color: var(--orange);
  font-weight: 600;
  position: relative;
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

/* Mobile nav */
@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px;
    flex-direction: column;
    gap: 16px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .nav-links.mobile-open {
    display: flex;
  }
  .nav-links a.active::after { display: none; }
  .hamburger { display: flex !important; }
}

/* Scripture page wrapper (standalone, not in overlay) */
.scripture-page-wrap {
  padding: 20px 0 60px;
}
.scripture-page-wrap #scripture-library-overlay,
.scripture-page-wrap .scrp-shell {
  position: static !important;
  display: block !important;
  background: transparent !important;
}

/* Ensure footer has proper spacing from main content */
footer { margin-top: 40px; }
