/* ============================================================
   Dear 1 Crore — Site CSS  v2
   Mobile-first. 90% mobile users.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&family=Hind:wght@400;500;600&display=swap');

:root {
  --navy:       #0a1628;
  --navy-mid:   #112240;
  --navy-light: #1a3460;
  --gold:       #f5a623;
  --gold-light: #ffc85a;
  --gold-dim:   #fff8e6;
  --red:        #e63946;
  --green:      #2a9d5c;
  --white:      #ffffff;
  --off-white:  #f4f6fb;
  --border:     #e2e8f0;
  --text:       #1a202c;
  --text2:      #4a5568;
  --text3:      #718096;
  --card-bg:    #ffffff;
  --radius:     10px;
  --radius-sm:  6px;
  --shadow:     0 1px 8px rgba(0,0,0,.07);
  --shadow-md:  0 4px 20px rgba(0,0,0,.11);
  --font-head:  'Rajdhani', sans-serif;
  --font-body:  'Hind', sans-serif;
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{font-size:16px;scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:var(--font-body);background:var(--off-white);color:var(--text);line-height:1.6;-webkit-font-smoothing:antialiased;padding-bottom:64px}
@media(min-width:768px){body{padding-bottom:0}}
a{color:var(--navy-light);text-decoration:none}
img{max-width:100%;height:auto;display:block}

/* ── Header ── */
.site-header{background:var(--navy);position:sticky;top:0;z-index:100;box-shadow:0 2px 8px rgba(0,0,0,.3)}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:0 14px;height:50px;max-width:1200px;margin:0 auto}
.site-logo{font-family:var(--font-head);font-size:22px;font-weight:700;color:var(--white);letter-spacing:-.5px;line-height:1;flex-shrink:0;display:flex;align-items:center;text-decoration:none}
.site-logo span{color:var(--gold)}
.live-badge{background:var(--red);color:#fff;font-size:11px;font-weight:700;padding:3px 9px;border-radius:20px;letter-spacing:.5px;animation:pulse 1.8s ease-in-out infinite;flex-shrink:0}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.55}}

/* ── Nav ── */
.site-nav{background:var(--navy-mid);border-top:1px solid rgba(255,255,255,.08);overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.site-nav::-webkit-scrollbar{display:none}
.nav-links{display:flex;white-space:nowrap;padding:0 6px;min-width:max-content}
.nav-link{color:rgba(255,255,255,.72);font-size:13px;font-weight:500;font-family:var(--font-body);padding:9px 11px;display:inline-block;border-bottom:2px solid transparent;transition:color .15s,border-color .15s;white-space:nowrap}
.nav-link:hover,.nav-link.active{color:var(--gold);border-bottom-color:var(--gold)}

/* ── Page Wrap ── */
.page-wrap{max-width:1200px;margin:0 auto;padding:12px 12px 32px}
@media(min-width:768px){.page-wrap{padding:20px 20px 56px}}

/* ── Breadcrumb ── */
.breadcrumb{display:flex;align-items:center;gap:4px;font-size:12px;color:var(--text3);margin-bottom:10px;flex-wrap:wrap}
.breadcrumb a{color:var(--text3)}
.breadcrumb a:hover{color:var(--navy-light)}
.breadcrumb-sep{opacity:.45}

/* ── Page Head ── */
.page-head{margin-bottom:14px}
.page-title{font-family:var(--font-head);font-size:clamp(18px,4.5vw,26px);font-weight:700;color:var(--navy);line-height:1.2;margin-bottom:3px;word-break:break-word}
.page-sub{font-size:12px;color:var(--text3)}
.page-sub .updated{color:var(--green);font-weight:600}

/* ── Card ── */
.card{background:var(--card-bg);border-radius:var(--radius);box-shadow:var(--shadow);border:1px solid var(--border);overflow:hidden}
.card-header{padding:11px 14px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.card-title{font-family:var(--font-head);font-size:14px;font-weight:700;color:var(--navy)}
.card-title{font-family:var(--font-head);font-size:15px;font-weight:700;color:var(--navy);letter-spacing:.2px}
.card-body{padding:14px}
.mb-12{margin-bottom:12px}
.mb-16{margin-bottom:16px}
.mb-20{margin-bottom:20px}
.mt-12{margin-top:12px}

/* ── Quick Nav ── */
.quick-nav{display:flex;gap:6px;overflow-x:auto;overflow-y:hidden;padding-bottom:6px;margin-bottom:14px;scrollbar-width:none;-webkit-overflow-scrolling:touch;align-items:center}
.quick-nav::-webkit-scrollbar{display:none}
.qnav-btn{flex-shrink:0;padding:6px 10px;font-size:13px;font-weight:500;font-family:var(--font-body);color:var(--text2);text-decoration:none;white-space:nowrap;transition:color .15s,border-color .15s;display:inline-block;border-bottom:2px solid transparent}
.qnav-btn:hover{color:var(--navy);border-bottom-color:var(--navy)}
.qnav-btn.active{color:var(--navy);font-weight:700;border-bottom-color:var(--navy)}
.qnav-btn.gold{color:var(--gold);font-weight:700;border-bottom-color:var(--gold)}
.qnav-label{font-size:11px;color:var(--text3);white-space:nowrap;flex-shrink:0}

/* ── Draw Status Bar ── */
.draw-status-bar{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:14px}
@media(min-width:480px){.draw-status-bar{grid-template-columns:repeat(5,1fr)}}
.draw-status-item{background:var(--card-bg);border:1.5px solid var(--border);border-radius:var(--radius-sm);padding:10px 6px;text-align:center;cursor:pointer;transition:all .15s;text-decoration:none;display:block}
.draw-status-item.published{border-color:var(--green);background:#edfaf3}
.draw-status-icon{font-size:16px;margin-bottom:2px}
.draw-status-time{font-family:var(--font-head);font-size:15px;font-weight:700;color:var(--navy);line-height:1.2}
.draw-status-label{font-size:10px;color:var(--text3);text-transform:uppercase;letter-spacing:.3px;margin-top:2px}
.draw-status-item.published .draw-status-label{color:var(--green)}

/* ── Draw Card ── */
.draw-card{background:var(--card-bg);border-radius:var(--radius);box-shadow:var(--shadow);border:1px solid var(--border);overflow:hidden;margin-bottom:12px}
.draw-cards-grid{display:grid;grid-template-columns:1fr;gap:12px}
@media(min-width:560px){.draw-cards-grid{grid-template-columns:repeat(2,1fr)}.draw-card{margin-bottom:0}}
@media(min-width:900px){.draw-cards-grid{grid-template-columns:repeat(3,1fr)}}

.draw-card-header{padding:10px 14px;display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.draw-card-header.morning{background:linear-gradient(135deg,#e67e22,#f39c12)}
.draw-card-header.evening{background:linear-gradient(135deg,#7b2d8b,#9b59b6)}
.draw-card-header.night{background:linear-gradient(135deg,#0a1628,#1a3460)}
.draw-time-label{color:#fff;font-family:var(--font-head);font-size:17px;font-weight:700;letter-spacing:.3px;line-height:1.2}
.draw-name-label{color:rgba(255,255,255,.85);font-size:11px;font-weight:500;margin-top:1px}

.draw-card-body{display:flex;align-items:stretch;min-height:110px}
.draw-thumb{flex-shrink:0;width:80px}
@media(min-width:400px){.draw-thumb{width:90px}}
.draw-thumb img{width:100%;height:110px;object-fit:cover;display:block}
@media(min-width:400px){.draw-thumb img{height:120px}}
.draw-thumb-placeholder{width:100%;height:110px;background:var(--off-white);display:flex;align-items:center;justify-content:center;font-size:10px;color:var(--text3);text-align:center;padding:8px}

.draw-info{flex:1;padding:10px 12px;display:flex;flex-direction:column;gap:5px;min-width:0}
.draw-info-label{font-size:10px;color:var(--text3);text-transform:uppercase;letter-spacing:.5px;font-weight:600}
.draw-number{font-family:var(--font-head);font-size:28px;font-weight:700;color:var(--gold);letter-spacing:-1px;line-height:1}
.draw-number-pending{font-size:13px;color:var(--text3);font-style:italic;margin-top:2px}
.draw-hint{font-size:10px;color:var(--text3);margin-top:1px}
.draw-actions{display:flex;gap:5px;margin-top:4px;flex-wrap:wrap}

/* ── Buttons ── */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:6px 12px;border-radius:var(--radius-sm);font-size:12px;font-weight:600;font-family:var(--font-body);border:none;cursor:pointer;text-decoration:none;transition:opacity .15s,background .15s;white-space:nowrap;line-height:1.3}
.btn:active{opacity:.8}
.btn-primary{background:var(--navy);color:#fff}
.btn-primary:hover{background:var(--navy-light);color:#fff}
.btn-gold{background:var(--gold);color:var(--navy)}
.btn-gold:hover{background:var(--gold-light);color:var(--navy)}
.btn-outline{background:transparent;color:var(--navy-light);border:1px solid var(--navy-light)}
.btn-outline:hover{background:var(--navy-light);color:#fff}
.btn-red{background:var(--red);color:#fff}
.btn-sm{padding:4px 9px;font-size:11px}
.btn-lg{padding:11px 22px;font-size:14px}
.btn-block{width:100%}

/* ── Section Title ── */
.section-title{font-family:var(--font-head);font-size:17px;font-weight:700;color:var(--navy);margin-bottom:10px;padding-bottom:7px;border-bottom:2px solid var(--gold);display:block;max-width:100%}
@media(min-width:560px){.section-title{display:inline-block}}

/* ── Badges ── */
.badge{display:inline-flex;align-items:center;gap:3px;padding:2px 8px;border-radius:10px;font-size:10px;font-weight:700;white-space:nowrap}
.badge-success{background:#edfaf3;color:var(--green)}
.badge-pending{background:var(--gold-dim);color:#9a6500}
.badge-grey{background:var(--off-white);color:var(--text3);border:1px solid var(--border)}

/* ── Tables ── */
.tbl-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
table{width:100%;border-collapse:collapse;font-size:12px;min-width:280px}
th{background:var(--navy);color:#fff;padding:9px 10px;text-align:left;font-family:var(--font-head);font-size:13px;font-weight:600;white-space:nowrap}
td{padding:8px 10px;border-bottom:1px solid var(--border);color:var(--text2);vertical-align:middle}
tr:last-child td{border-bottom:none}
tr:nth-child(even) td{background:#f9fafb}
tr.today-row td{background:var(--gold-dim);font-weight:600;color:var(--navy)}
tr.today-row td:first-child{border-left:3px solid var(--gold)}

/* ── Prize Grid ── */
.prize-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:7px;margin:4px 0}
@media(min-width:360px){.prize-grid{grid-template-columns:repeat(3,1fr)}}
@media(min-width:480px){.prize-grid{grid-template-columns:repeat(6,1fr)}}
.prize-item{background:var(--card-bg);border:1px solid var(--border);border-radius:var(--radius-sm);padding:9px 5px;text-align:center}
.prize-item.top{background:var(--navy);border-color:var(--navy)}
.prize-rank{font-size:9px;color:var(--text3);text-transform:uppercase;letter-spacing:.4px;font-weight:600;line-height:1.3}
.prize-item.top .prize-rank{color:rgba(255,255,255,.65)}
.prize-amount{font-family:var(--font-head);font-size:13px;font-weight:700;color:var(--navy);line-height:1.2;margin-top:2px;word-break:break-word}
.prize-item.top .prize-amount{color:var(--gold)}

/* ── Result Image ── */
.result-image-wrap{text-align:center;margin:12px 0}
.result-image-wrap img{max-width:100%;border-radius:var(--radius-sm);box-shadow:var(--shadow-md);margin:0 auto;height:auto}

/* ── Countdown ── */
.countdown-wrap{background:var(--navy);border-radius:var(--radius);padding:16px 12px;text-align:center;margin-bottom:14px;color:#fff}
.countdown-label{font-size:11px;color:rgba(255,255,255,.6);text-transform:uppercase;letter-spacing:1px;margin-bottom:6px}
.countdown-draw{font-family:var(--font-head);font-size:15px;font-weight:700;color:var(--gold);margin-bottom:12px;word-break:break-word}
.countdown-timer{display:flex;justify-content:center;align-items:center;gap:6px}
.countdown-unit{display:flex;flex-direction:column;align-items:center}
.countdown-number{font-family:var(--font-head);font-size:clamp(22px,7vw,40px);font-weight:700;color:var(--white);line-height:1;min-width:40px;background:rgba(255,255,255,.1);border-radius:7px;padding:5px 8px}
.countdown-sep{font-size:24px;font-weight:700;color:var(--gold);margin-bottom:16px}
.countdown-unit-label{font-size:9px;color:rgba(255,255,255,.5);text-transform:uppercase;letter-spacing:.5px;margin-top:3px}

/* ── FAQ ── */
.faq-item{border-bottom:1px solid var(--border);padding:12px 0}
.faq-item:last-child{border-bottom:none}
.faq-q{font-weight:600;color:var(--navy);font-size:14px;cursor:pointer;display:flex;align-items:flex-start;justify-content:space-between;gap:10px;line-height:1.4}
.faq-q::after{content:'▾';color:var(--gold);font-size:16px;flex-shrink:0;transition:transform .2s;margin-top:1px}
.faq-item.open .faq-q::after{transform:rotate(180deg)}
.faq-a{font-size:13px;color:var(--text2);margin-top:8px;display:none;line-height:1.75}
.faq-item.open .faq-a{display:block}

/* ── Info Box ── */
.info-box{background:var(--off-white);border-radius:var(--radius-sm);border-left:3px solid var(--navy-light);padding:11px 13px;margin:12px 0;font-size:13px;color:var(--text2);line-height:1.6}
.info-box.gold{border-left-color:var(--gold);background:var(--gold-dim)}
.info-box a{color:var(--navy-light);font-weight:600}
.info-box a:hover{text-decoration:underline}

/* ── Prev Next ── */
.prev-next{display:flex;gap:8px;margin:14px 0}
.prev-next a{flex:1;text-align:center;padding:10px 6px;background:var(--card-bg);border:1px solid var(--border);border-radius:var(--radius-sm);font-size:12px;color:var(--navy-light);font-weight:600;transition:all .15s;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.prev-next a:hover{background:var(--navy);color:#fff;border-color:var(--navy)}

/* ── Archive ── */
.archive-month{margin-bottom:18px}
.archive-month-title{font-family:var(--font-head);font-size:15px;font-weight:700;color:var(--navy);margin-bottom:8px;background:var(--off-white);padding:6px 10px;border-radius:var(--radius-sm);border-left:3px solid var(--gold)}
.archive-dates{display:flex;flex-wrap:wrap;gap:5px}
.archive-date-btn{padding:5px 10px;background:var(--card-bg);border:1px solid var(--border);border-radius:var(--radius-sm);font-size:12px;color:var(--text2);text-decoration:none;transition:all .15s;font-weight:500}
.archive-date-btn:hover{background:var(--navy);border-color:var(--navy);color:#fff}
.archive-date-btn.today{background:var(--gold);border-color:var(--gold);color:var(--navy);font-weight:700}

/* ── Download Grid ── */
.download-grid{display:grid;grid-template-columns:1fr;gap:12px;margin:12px 0}
@media(min-width:560px){.download-grid{grid-template-columns:repeat(3,1fr)}}
.download-card{background:var(--card-bg);border:1px solid var(--border);border-radius:var(--radius);padding:16px 12px;text-align:center;box-shadow:var(--shadow)}
.download-card-label{font-family:var(--font-head);font-size:17px;font-weight:700;color:var(--navy);margin-bottom:3px}
.download-card-name{font-size:11px;color:var(--text3);margin-bottom:10px;min-height:16px}

/* ── Info Tiles (schedule page) ── */
.info-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:16px}
.info-tile{background:var(--card-bg);border:1px solid var(--border);border-radius:var(--radius);padding:14px 8px;text-align:center;box-shadow:var(--shadow)}
.info-tile-icon{font-size:24px;margin-bottom:5px}
.info-tile-value{font-family:var(--font-head);font-size:18px;font-weight:700;color:var(--gold);line-height:1.2;word-break:break-word}
.info-tile-label{font-size:11px;color:var(--text3);margin-top:2px}

/* ── Footer ── */
.site-footer{background:var(--navy);color:rgba(255,255,255,.65);padding:24px 16px;margin-top:28px}
.footer-inner{max-width:1200px;margin:0 auto}
.footer-brand{font-family:var(--font-head);font-size:20px;font-weight:700;color:#fff;margin-bottom:4px}
.footer-brand span{color:var(--gold)}
.footer-tagline{font-size:12px;color:rgba(255,255,255,.45);margin-bottom:14px}
.footer-links{display:flex;flex-wrap:wrap;gap:8px 14px;margin-bottom:14px}
.footer-links a{color:rgba(255,255,255,.55);font-size:12px;transition:color .15s}
.footer-links a:hover{color:var(--gold)}
.footer-disclaimer{font-size:11px;color:rgba(255,255,255,.3);line-height:1.65;border-top:1px solid rgba(255,255,255,.07);padding-top:12px;margin-top:12px}
.footer-copy{font-size:11px;color:rgba(255,255,255,.3);margin-top:6px}

/* .sticky-bar — replaced by .bottom-bar */

/* ── Utilities ── */
.text-center{text-align:center}
.text-gold{color:var(--gold)}
.text-navy{color:var(--navy)}
.text-green{color:var(--green)}
.text-muted{color:var(--text3)}
.font-head{font-family:var(--font-head)}
.fw-700{font-weight:700}
.font-size-11{font-size:11px}

/* ── Desktop sidebar layout ── */
@media(min-width:1024px){
  .layout-with-sidebar{display:grid;grid-template-columns:1fr 300px;gap:20px;align-items:start}
}

/* ── Portal Home ─────────────────────────────────────────────── */
.portal-hero{margin-bottom:16px}
.portal-title{font-family:var(--font-head);font-size:clamp(22px,5vw,32px);font-weight:700;color:var(--navy);line-height:1.2;margin-bottom:4px}
.portal-sub{font-size:13px;color:var(--text3)}

/* Featured lottery cards - 1 col mobile, 2 col tablet, 4 col desktop */
.portal-featured-grid{display:grid;grid-template-columns:1fr;gap:12px}
@media(min-width:560px){.portal-featured-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:960px){.portal-featured-grid{grid-template-columns:repeat(4,1fr)}}

.portal-lottery-card{background:var(--card-bg);border-radius:var(--radius);box-shadow:var(--shadow);border:1px solid var(--border);overflow:hidden;text-decoration:none;display:block;transition:box-shadow .18s,transform .18s}
.portal-lottery-card:hover{box-shadow:var(--shadow-md);transform:translateY(-2px)}

.plc-header{display:flex;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid var(--border);background:linear-gradient(135deg,var(--navy),var(--navy-light));flex-wrap:wrap}
.plc-icon{font-size:22px;flex-shrink:0}
.plc-name{font-family:var(--font-head);font-size:14px;font-weight:700;color:#fff;line-height:1.2}
.plc-state{font-size:10px;color:rgba(255,255,255,.6);margin-top:1px}
.plc-badge{margin-left:auto;font-size:10px;font-weight:700;padding:3px 8px;border-radius:10px;white-space:nowrap;flex-shrink:0}
.plc-badge.live{background:rgba(45,156,83,.25);color:#7dffb3;border:1px solid rgba(45,156,83,.4)}
.plc-badge.pending{background:rgba(255,255,255,.1);color:rgba(255,255,255,.6)}

.plc-body{padding:0}
.plc-thumb{overflow:hidden;max-height:180px;display:flex;align-items:center;justify-content:center;background:var(--off-white)}
.plc-thumb img{width:100%;height:auto;max-height:180px;object-fit:contain}
.plc-no-result{height:120px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:var(--text3);font-size:13px;font-weight:600;background:var(--off-white)}
.plc-cta{text-align:center;padding:10px 14px;font-size:12px;font-weight:700;color:var(--navy-light);background:var(--off-white);border-top:1px solid var(--border);font-family:var(--font-head);letter-spacing:.3px}
.portal-lottery-card:hover .plc-cta{color:var(--gold)}

/* Other lotteries grid */
.portal-others-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}
@media(min-width:560px){.portal-others-grid{grid-template-columns:repeat(3,1fr)}}
@media(min-width:768px){.portal-others-grid{grid-template-columns:repeat(4,1fr)}}

.portal-other-card{background:var(--card-bg);border:1px solid var(--border);border-radius:var(--radius-sm);padding:12px;box-shadow:var(--shadow)}
.poc-name{font-family:var(--font-head);font-size:13px;font-weight:700;color:var(--navy);margin-bottom:3px;line-height:1.3}
.poc-meta{font-size:11px;color:var(--text3);margin-bottom:6px}

/* Quick links row */
.portal-quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
@media(max-width:400px){.portal-quick-grid{grid-template-columns:repeat(2,1fr)}}

.pql-item{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:14px 8px;border-radius:var(--radius);text-decoration:none;gap:5px;transition:opacity .15s}
.pql-item:active{opacity:.8}
.pql-item.red{background:var(--red)}
.pql-item.navy{background:var(--navy)}
.pql-item.gold{background:var(--gold)}
.pql-item.green{background:var(--green)}
.pql-icon{font-size:22px}
.pql-label{font-size:11px;font-weight:700;color:#fff;text-transform:uppercase;letter-spacing:.5px;text-align:center;line-height:1.3}
.pql-item.gold .pql-label{color:var(--navy)}

/* ── Desktop Layout improvements ─────────────────────────────── */
/* On large screens, draw card body adjusts for wider cards */
@media(min-width:768px){
  /* Draw cards are 1/3 width on desktop - make thumb proportional */
  .draw-cards-grid .draw-thumb{width:80px}
  .draw-cards-grid .draw-thumb img{height:106px}

  /* Prize grid on desktop - remove individual item borders, just show as inline list */
  .prize-grid{gap:0;border:1px solid var(--border);border-radius:var(--radius-sm);overflow:hidden}
  .prize-item{border:none;border-right:1px solid var(--border);border-radius:0;padding:10px 8px}
  .prize-item:last-child{border-right:none}
  .prize-item.top{border-right:1px solid rgba(255,255,255,.15)}

  /* Section title full width on desktop */
  .section-title{display:block;font-size:18px}
}

/* ── Sticky bar home button ──────────────────────────────────── */
.sticky-bar-btn.home-btn{color:rgba(255,255,255,.55)}

/* ══════════════════════════════════════════════════════════
   NAVIGATION v2 — 3-row header + context-aware bottom bar
   ══════════════════════════════════════════════════════════ */

/* ── Row 1: Main Header ─────────────────────────────────── */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  height: 48px;
  max-width: 1200px;
  margin: 0 auto;
}
.site-logo {
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.5px;
  line-height: 1;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
}
.site-logo span { color: var(--gold); }

/* Live badge — now a link */
.live-badge {
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: .5px;
  animation: pulse 1.8s ease-in-out infinite;
  text-decoration: none;
  flex-shrink: 0;
  display: inline-block;
}
.live-badge:hover { background: #c0392b; color: #fff; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.55} }

/* ── Row 2: Lottery Switcher — underline style ───────────── */
.lottery-switcher{background:var(--navy-mid);border-top:1px solid rgba(255,255,255,.06);border-bottom:1px solid rgba(0,0,0,.25);overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-webkit-overflow-scrolling:touch;position:sticky;top:48px;z-index:190}
.lottery-switcher::-webkit-scrollbar{display:none}
.ls-inner{display:flex;white-space:nowrap;padding:0 6px;max-width:1200px;margin:0 auto}
.ls-item{color:rgba(255,255,255,.55);font-size:13px;font-weight:500;font-family:var(--font-body);padding:9px 12px;display:inline-block;border-bottom:3px solid transparent;transition:color .15s,border-color .15s;white-space:nowrap;text-decoration:none}
.ls-item:hover{color:rgba(255,255,255,.85)}
.ls-item.active{color:var(--gold);border-bottom-color:var(--gold);font-weight:700}

/* ── Row 3: Section Sub-nav — underline style ───────────── */
.section-subnav{background:#eef0f5;border-bottom:2px solid #d0d5e0;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-webkit-overflow-scrolling:touch;position:sticky;top:92px;z-index:180}
.section-subnav::-webkit-scrollbar{display:none}
.subnav-inner{display:flex;white-space:nowrap;padding:0 6px;max-width:1200px;margin:0 auto}
.subnav-link{color:var(--text3);font-size:12px;font-weight:500;font-family:var(--font-body);padding:8px 12px;display:inline-block;white-space:nowrap;text-decoration:none;border-bottom:3px solid transparent;transition:color .15s,border-color .15s}
.subnav-link:hover{color:var(--navy)}
.subnav-link.active{color:var(--navy);font-weight:700;border-bottom-color:var(--navy)}

/* ── Hide old single nav bar ─────────────────────────────── */
.site-nav{display:none}

/* ══════════════════════════════════════════════════════════
   BOTTOM BAR v2
   ══════════════════════════════════════════════════════════ */
.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0d1b2a;
  border-top: 2px solid rgba(255,255,255,.1);
  display: flex;
  z-index: 9999;
  height: 56px;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -2px 12px rgba(0,0,0,.3);
}
@media (min-width: 768px) { .bottom-bar { display: none; } }

.bb-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px 2px 5px;
  color: rgba(255,255,255,.5);
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .3px;
  text-decoration: none;
  transition: color .15s;
  border-right: 1px solid rgba(255,255,255,.06);
  min-height: 52px;
  position: relative;
  gap: 2px;
}
.bb-btn:last-child { border-right: none; }
.bb-btn:hover, .bb-btn.bb-active { color: var(--gold); }
.bb-icon { font-size: 18px; line-height: 1; }
.bb-label { font-size: 9px; line-height: 1; }

/* "Soon" badge on Account slot */
.bb-soon {
  position: absolute;
  top: 5px;
  right: 50%;
  transform: translateX(8px);
  background: var(--gold);
  color: var(--navy);
  font-size: 7px;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 4px;
  letter-spacing: .3px;
  line-height: 1.4;
}

/* Body padding for bottom bar */
body { padding-bottom: 64px; }
@media (min-width: 768px) { body { padding-bottom: 0; } }

/* ══════════════════════════════════════════════════════════
   ACCOUNT PLACEHOLDER PAGE
   ══════════════════════════════════════════════════════════ */
.account-hero {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  margin-bottom: 20px;
  color: #fff;
}
.account-hero-icon { font-size: 48px; margin-bottom: 12px; }
.account-hero-title {
  font-family: var(--font-head);
  font-size: clamp(22px, 5vw, 30px);
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}
.account-hero-sub {
  font-size: 14px;
  color: rgba(255,255,255,.7);
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto;
}

/* Feature cards grid */
.account-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
@media (min-width: 560px) { .account-features { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .account-features { grid-template-columns: repeat(3, 1fr); } }

.account-feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 12px;
  text-align: center;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.afc-icon { font-size: 28px; }
.afc-title {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}
.afc-desc {
  font-size: 12px;
  color: var(--text3);
  line-height: 1.6;
}
.afc-badge {
  font-size: 10px;
  font-weight: 700;
  background: var(--gold-dim);
  color: #9a6500;
  padding: 2px 8px;
  border-radius: 10px;
  margin-top: auto;
  letter-spacing: .3px;
}

/* Notify card */
.account-notify-card {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 20px 16px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
@media (min-width: 600px) {
  .account-notify-card {
    flex-direction: row;
    text-align: left;
    gap: 16px;
  }
  .account-notify-action { margin-left: auto; min-width: 280px; }
}
.account-notify-icon { font-size: 36px; flex-shrink: 0; }
.account-notify-title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 3px;
}
.account-notify-sub { font-size: 13px; color: rgba(255,255,255,.65); line-height: 1.6; }
.account-notify-action { width: 100%; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: #0a1628;
  color: rgba(255,255,255,.6);
  padding: 32px 16px 20px;
  margin-top: 32px;
  border-top: 2px solid rgba(245,166,35,.2);
}
.footer-inner { max-width: 1200px; margin: 0 auto; }

/* ── Brand + social row ── */
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-brand-row { display: flex; flex-direction: column; gap: 4px; }
.footer-brand {
  display: flex;
  align-items: center;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}
.footer-brand span { color: var(--gold); }
.footer-tagline { font-size: 12px; color: rgba(255,255,255,.35); }
.footer-social { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.footer-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: all .15s;
  white-space: nowrap;
}
.footer-social-btn:hover { border-color: rgba(255,255,255,.3); color: #fff; background: rgba(255,255,255,.05); }

/* ── Columns ── */
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
@media (max-width: 768px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 400px) {
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 16px; }
}
.footer-col { display: flex; flex-direction: column; gap: 6px; }
.footer-col-title {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 3px;
}
.footer-col a {
  color: rgba(255,255,255,.45);
  font-size: 12px;
  text-decoration: none;
  transition: color .15s;
  line-height: 1.45;
}
.footer-col a:hover { color: #fff; }

/* ── Disclaimer + copy ── */
.footer-disclaimer {
  font-size: 11px;
  color: rgba(255,255,255,.25);
  line-height: 1.75;
  margin-bottom: 12px;
}
.footer-disclaimer strong { color: rgba(255,255,255,.4); }
.footer-copy {
  font-size: 11px;
  color: rgba(255,255,255,.22);
  text-align: center;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.06);
  line-height: 1.6;
}

/* ── Bottom Bar — WhatsApp & Telegram slot colors ─────────── */
.bb-whatsapp:hover, .bb-whatsapp.bb-active { color: #25D366; }
.bb-telegram:hover, .bb-telegram.bb-active { color: #229ED9; }

/* Override icon color for svg-based icons */
.bb-whatsapp .bb-icon svg,
.bb-telegram .bb-icon svg { filter: none; }

/* ── Ad Slots — 3 strategic placements ───────────────────── */
.ad-slot {
  text-align: center;
  overflow: hidden;
  /* No layout shift when slot is empty */
}
.ad-slot:empty { display: none; margin: 0; }

/* after_status — before result cards, full width */
.ad-slot--after_status {
  margin: 12px 0;
}
/* mid_content — between sections, centered square */
.ad-slot--mid_content {
  margin: 14px auto;
  max-width: 336px;
}
/* before_footer — full width, above footer */
.ad-slot--before_footer {
  margin: 16px 0 0;
}

/* ── Result Fallback Notice ───────────────────────────────── */
.result-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  font-size: 13px;
  line-height: 1.5;
  flex-wrap: wrap;
}
.result-notice--fallback {
  background: #fff8e6;
  border: 1px solid #f5c842;
  border-left: 3px solid var(--gold);
}
.result-notice--partial {
  background: #edfaf3;
  border: 1px solid #a3dfc0;
  border-left: 3px solid var(--green);
}
.rn-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.rn-body { flex: 1; color: var(--text2); }
.rn-body strong { color: var(--navy); }
.rn-times {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--text3);
}
.rn-cta {
  flex-shrink: 0;
  align-self: center;
  padding: 5px 12px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.rn-cta:hover { background: var(--navy-light); color: #fff; }

/* ── Per-Draw Pending Notice ──────────────────────────────── */
.draw-pending-notice {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 4px;
}

/* Top bar: icon + text + live link */
.dpn-top {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: #fff8e6;
  border-bottom: 1px solid #f5e6b0;
  flex-wrap: nowrap;   /* keep icon+text+actions on one row */
}
.dpn-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.dpn-text {
  flex: 1;
  font-size: 13px;
  color: var(--text2);
  min-width: 0;
}
.dpn-text strong { display: block; color: var(--navy); margin-bottom: 2px; }
.dpn-text span   { font-size: 12px; color: var(--text3); }
.dpn-live {
  flex-shrink: 0;
  padding: 5px 12px;
  background: var(--red);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  animation: pulse 1.8s ease-in-out infinite;
  align-self: flex-start;
}
.dpn-live:hover { background: #c0392b; color: #fff; }

/* Yesterday fallback section */
.dpn-yesterday {
  padding: 12px 14px;
  background: var(--off-white);
  border-top: 1px solid var(--border);
}
.dpn-yday-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}
/* Image is inline-styled full-width — no dpn-img class needed */
.dpn-yday-links {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 2px;
}

/* Remove old result-notice styles (replaced by per-draw) */

/* ── Pending Notice — Refresh Button ─────────────────────── */
.dpn-actions {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
  align-items: stretch;
  min-width: 80px;
}
@media (min-width: 480px) {
  .dpn-actions {
    flex-direction: row;
    align-items: center;
    min-width: 0;
  }
}
.dpn-refresh {
  padding: 5px 12px;
  background: var(--navy-light);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-body);
  white-space: nowrap;
  transition: background .15s;
}
.dpn-refresh:hover  { background: var(--navy); }
.dpn-refresh:active { transform: scale(.97); }

/* ── Result Image Lightbox Modal ─────────────────────────── */
#result-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
#result-modal.rm-visible { display: flex; }

.rm-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  animation: rm-fade-in .2s ease;
}
@keyframes rm-fade-in { from{opacity:0} to{opacity:1} }

.rm-box {
  position: relative;
  background: var(--navy);
  border-radius: var(--radius);
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: rm-slide-up .22s ease;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
}
@keyframes rm-slide-up { from{transform:translateY(24px);opacity:0} to{transform:translateY(0);opacity:1} }

.rm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  flex-shrink: 0;
}
.rm-title {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: calc(100% - 40px);
}
.rm-close {
  background: rgba(255,255,255,.1);
  border: none;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .15s;
}
.rm-close:hover { background: rgba(255,255,255,.25); }

.rm-body {
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  flex: 1;
  background: #000;
}
.rm-body img {
  width: 100%;
  display: block;
  /* Allow pinch-zoom on mobile */
  touch-action: pinch-zoom;
}

.rm-footer {
  display: flex;
  gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid rgba(255,255,255,.1);
  flex-shrink: 0;
  flex-wrap: wrap;
}
.rm-btn {
  flex: 1;
  text-align: center;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-body);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity .15s;
}
.rm-btn:active { opacity: .8; }
.rm-btn-primary { background: var(--gold); color: var(--navy); }
.rm-btn-outline { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.2); }
.rm-btn-outline:hover { background: rgba(255,255,255,.2); color: #fff; }

/* ══════════════════════════════════════════════════════════
   KOLKATA FF — Result Block (competitor-style table)
   ══════════════════════════════════════════════════════════ */

.kff-block {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #e8c84a;
  box-shadow: var(--shadow);
}

/* Yellow date header — like kolkataff.tv */
.kff-date-header {
  background: #f5c842;
  color: #0a1628;
  text-align: center;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  padding: 8px 12px;
  letter-spacing: .3px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.kff-live-dot {
  color: var(--red);
  font-size: 12px;
  animation: pulse 1.5s ease-in-out infinite;
}

/* 8-cell result row — full width, no scroll, no cell borders */
.kff-row {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  background: #fff;
  padding: 10px 0 8px;
}

.kff-cell {
  text-align: center;
  padding: 4px 2px;
}
.kff-cell--done    { }
.kff-cell--next    { animation: kff-pulse 1.5s ease-in-out infinite; }
.kff-cell--pending { opacity: .55; }
.kff-cell--na      { opacity: .2; }
@keyframes kff-pulse { 0%,100%{opacity:1} 50%{opacity:.5} }

/* Bazi label — B1, B2 etc. small grey above patti */
.kff-bazi-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .2px;
  margin-bottom: 3px;
  opacity: .7;
}

/* Patti — 3-digit number, bold black */
.kff-patti-num {
  font-family: var(--font-head);
  font-size: clamp(14px, 4vw, 22px);
  font-weight: 700;
  color: #111;
  line-height: 1.15;
  margin-bottom: 3px;
}

/* Single — larger, orange-bold like competitor */
.kff-single-num {
  font-family: var(--font-head);
  font-size: clamp(15px, 4.5vw, 24px);
  font-weight: 800;
  color: #d4720a;
  line-height: 1;
}
.kff-waiting { font-size: 20px; color: var(--gold); line-height:1; }

/* ── Portal Home — Kolkata FF card bazi grid ─────────────── */
.plc-kff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 10px;
  background: var(--off-white);
}
.plc-kff-cell {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 5px 3px;
  text-align: center;
}
.plc-kff-cell.done    { border-color: var(--green); background: #edfaf3; }
.plc-kff-cell.pending { background: var(--off-white); }
.plc-kff-bazi  { font-size: 8px; color: var(--text3); font-weight: 700; text-transform: uppercase; }
.plc-kff-result {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  margin-top: 2px;
  word-break: break-all;
}

/* ── Portal Home — Kolkata FF card bazi grid ─────────────── */
.plc-kff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 10px;
  background: var(--off-white);
}
.plc-kff-cell {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 5px 3px;
  text-align: center;
}
.plc-kff-cell.done  { border-color: var(--green); background: #edfaf3; }
.plc-kff-cell.pending { background: var(--off-white); }
.plc-kff-bazi  { font-size: 8px; color: var(--text3); font-weight: 700; text-transform: uppercase; }
.plc-kff-result {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  margin-top: 2px;
  word-break: break-all;
}
.plc-kff-cell.done .plc-kff-result { color: var(--navy); }
.plc-kff-cell.pending .plc-kff-result { color: var(--text3); }

/* ── KFF block spacing in multi-day lists ────────────────── */
.kff-block + .kff-block {
  margin-top: 10px;
  border-top: 2px solid #f5c842;
}

/* ══════════════════════════════════════════════════════════
   PLAY INDIA LOTTERY — Result Table
   ══════════════════════════════════════════════════════════ */

.pi-block {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #d0d8e8;
  box-shadow: var(--shadow);
}

/* Date header — navy like the official site */
.pi-date-header {
  background: var(--navy);
  color: #fff;
  text-align: center;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 12px;
  letter-spacing: .3px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.pi-live-dot { color: #ff4444; animation: pulse 1.5s ease-in-out infinite; }

/* Table — no scroll, fits on one page like competitor */
.pi-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  table-layout: fixed; /* key: fixed layout prevents overflow */
}
.pi-table thead th {
  background: var(--navy);
  color: #fff;
  padding: 7px 3px;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: .2px;
  overflow: hidden;
}
/* DrawTime column — fixed narrow width */
.pi-table thead th:first-child,
.pi-time-cell { width: 72px; }

.pi-time-cell {
  padding: 5px 4px 5px 6px;
  color: var(--navy);
  font-weight: 700;
  font-size: 11px;
  white-space: nowrap;
  border-bottom: 1px solid #eee;
}
.pi-result-cell {
  text-align: center;
  padding: 5px 2px;
  border-bottom: 1px solid #eee;
}
.pi-num {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  display: block;
}
.pi-blank { color: var(--text3); font-size: 12px; }

/* Alternating rows — light grey like competitor */
.pi-alt-row td { background: #f5f5f5; }

/* Latest row — gold highlight */
.pi-latest-row td {
  background: var(--gold-dim) !important;
  border-bottom: 2px solid var(--gold) !important;
}
.pi-latest-row .pi-num { color: var(--navy); }
.pi-new-badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 3px;
  margin-left: 3px;
  vertical-align: middle;
  animation: pulse 1.5s ease-in-out infinite;
}

/* Latest strip on hub */
.pi-latest-strip {
  display: flex;
  border-top: 1px solid var(--border);
}
.pi-latest-cell {
  flex: 1;
  text-align: center;
  padding: 10px 4px;
  border-right: 1px solid var(--border);
}
.pi-latest-cell:last-child { border-right: none; }
.pi-latest-game {
  font-size: 9px;
  font-weight: 700;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: .3px;
  margin-bottom: 4px;
}
.pi-latest-num {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
}

/* ── Date Picker — universal jump widget ─────────────────── */
.dp-wrap {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.dp-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  flex-wrap: wrap;
}
.dp-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  flex-shrink: 0;
}
.dp-controls {
  display: flex;
  gap: 6px;
  flex: 1;
  min-width: 0;
}
.dp-input {
  flex: 1;
  padding: 7px 10px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--off-white);
  min-width: 0;
}
.dp-input:focus {
  outline: none;
  border-color: var(--navy-light);
  background: #fff;
}
.dp-btn {
  padding: 7px 14px;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-body);
  white-space: nowrap;
  transition: background .15s;
  flex-shrink: 0;
}
.dp-btn:hover  { background: var(--navy-light); }
.dp-btn:active { transform: scale(.97); }

/* ── Date Picker — hint text ─────────────────────────────── */
.dp-hint {
  padding: 4px 14px 8px;
  font-size: 11px;
  font-weight: 600;
}
.dp-hint--ok { color: var(--green); }
.dp-hint--na { color: var(--red); }

/* Disabled Go button */
.dp-btn:disabled {
  background: var(--border);
  color: var(--text3);
  cursor: not-allowed;
  transform: none;
}

/* ══════════════════════════════════════════════════════════
   SUNLOTT — Draw Cards
   ══════════════════════════════════════════════════════════ */

.sl-draws-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 700px) {
  .sl-draws-grid { grid-template-columns: repeat(4, 1fr); }
}

.sl-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--card-bg);
}
.sl-card--done   { border-color: var(--green); }
.sl-card--next   { border-color: var(--gold); animation: kff-pulse 1.5s ease-in-out infinite; }
.sl-card--pending { opacity: .7; }

.sl-card-header {
  background: var(--navy);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sl-card--done .sl-card-header   { background: linear-gradient(135deg, #1a6b3a, #2a9d5c); }
.sl-card--next .sl-card-header   { background: linear-gradient(135deg, #9a6500, var(--gold)); }

.sl-card-title {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.sl-card-time {
  font-size: 11px;
  color: rgba(255,255,255,.75);
}

.sl-draw-name {
  font-size: 11px;
  color: var(--text3);
  padding: 4px 12px;
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  text-transform: uppercase;
  letter-spacing: .3px;
}

.sl-prizes {
  padding: 10px 12px;
}

.sl-prize {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
}
.sl-prize:last-child { border-bottom: none; }

.sl-prize-label {
  font-size: 11px;
  color: var(--text3);
  font-weight: 600;
}
.sl-prize-amt {
  display: block;
  font-size: 10px;
  color: var(--green);
  font-weight: 700;
}
.sl-prize--3d .sl-prize-label { color: var(--navy); }

.sl-prize-num {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
}
.sl-prize--3d .sl-prize-num { color: var(--gold); font-size: 22px; }

.sl-pending-msg {
  text-align: center;
  padding: 12px 4px;
  font-size: 12px;
  color: var(--text3);
  font-weight: 500;
}

/* ══════════════════════════════════════════════════════════
   SKY LUCKY — KFF-style 6-cell grid
   ══════════════════════════════════════════════════════════ */

.sky-block {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #feb4b9;
  box-shadow: var(--shadow);
}

/* Yellow date header — matches KFF */
.sky-date-header {
  background: #fe4e5b;
  color: #fff;
  text-align: center;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.sky-live-dot { color: #fff; animation: pulse 1.5s ease-in-out infinite; font-size: 12px; }

/* 6-cell row — no scroll, fixed layout */
.sky-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  background: #fff;
  padding: 10px 0 8px;
}

.sky-cell {
  text-align: center;
  padding: 4px 2px;
}
.sky-cell--done    { }
.sky-cell--latest  { }
.sky-cell--next    { animation: kff-pulse 1.5s ease-in-out infinite; }
.sky-cell--pending { opacity: .35; }

.sky-cell-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
  opacity: .7;
  margin-bottom: 2px;
}
.sky-cell-time {
  font-size: 9px;
  color: var(--text3);
  margin-bottom: 4px;
}
.sky-cell-num {
  font-family: var(--font-head);
  font-size: clamp(13px, 3.8vw, 20px);
  font-weight: 800;
  color: #d4720a;
  line-height: 1.2;
}
.sky-cell--done .sky-cell-num  { color: var(--navy); }
.sky-cell--latest .sky-cell-num { color: #d4720a; }
.sky-cell-waiting { font-size: 16px; color: var(--gold); }
.sky-cell-empty   { color: var(--text3); font-size: 16px; }

/* Spacing between day blocks */
.sky-block + .sky-block {
  margin-top: 10px;
  border-top: 2px solid #fe4e5b;
}

/* ── Download Page Cards ──────────────────────────────────── */
.dl-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 560px) { .dl-cards-grid { grid-template-columns: repeat(3,1fr); } }

.dl-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.dl-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  background: var(--off-white);
}
.dl-card-emoji { font-size: 20px; flex-shrink: 0; }
.dl-card-title {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
.dl-card-name {
  font-size: 11px;
  color: var(--text3);
  margin-top: 1px;
}

/* Image container — fixed height, image fills it, no overflow */
.dl-img-wrap {
  flex: 1;
  overflow: hidden;
  background: #000;
  max-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dl-img-wrap a {
  display: block;
  width: 100%;
  height: 100%;
}
.dl-img-wrap img {
  width: 100%;
  height: 220px;
  object-fit: contain;  /* contain = no crop, full result visible */
  background: #f8f8f8;
  display: block;
}

.dl-pending {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 12px;
  background: var(--off-white);
  text-align: center;
}

.dl-card-actions {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid var(--border);
}

/* ══════════════════════════════════════════════════════════
   KHANAPARA TEER — Result Cards
   ══════════════════════════════════════════════════════════ */

.kt-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* ── New clean horizontal card design ── */
.kt-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

/* Left accent bar via border-left on header */
.kt-card--done    { border-left: 4px solid var(--green); }
.kt-card--next    { border-left: 4px solid var(--gold); }
.kt-card--pending { border-left: 4px solid #bbb; opacity: .7; }

.kt-card-header {
  padding: 10px 14px 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
  background: var(--off-white);
}

/* Round badge — F/R or S/R pill */
.kt-card-round {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  background: var(--navy);
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: .5px;
  flex-shrink: 0;
}
.kt-card--done .kt-card-round  { background: var(--green); }
.kt-card--next .kt-card-round  { background: var(--gold); color: var(--navy); }

.kt-card-meta { flex: 1; }
.kt-card-label { font-size: 12px; font-weight: 700; color: var(--navy); }
.kt-card-time  { font-size: 10px; color: var(--text3); margin-top: 1px; }

/* Status badge on the right */
.kt-card-header .badge { margin-left: auto; flex-shrink: 0; }

/* Result body */
.kt-card-result {
  padding: 18px 14px 14px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.kt-number {
  font-family: var(--font-head);
  font-size: 52px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  letter-spacing: 4px;
}
.kt-sub {
  font-size: 11px;
  color: var(--text3);
  background: var(--off-white);
  padding: 3px 10px;
  border-radius: 20px;
}
.kt-pending  { font-size: 13px; color: var(--gold); font-weight: 600; }
.kt-upcoming { font-size: 12px; color: var(--text3); font-weight: 400; }

/* No draw message */
.kt-no-draw {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  font-size: 14px;
  color: var(--text2);
}

/* Common number badges */
.kt-common-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.kt-common-badge {
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 800;
}

/* House / Ending row */
.kt-he-row {
  display: flex;
  gap: 16px;
  justify-content: center;
}
.kt-he-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.kt-he-label {
  font-size: 10px;
  color: var(--text3);
  font-weight: 600;
  text-transform: uppercase;
}
.kt-he-num {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
}

/* Archive no-draw button */
.archive-date-btn.no-draw {
  opacity: .4;
  cursor: default;
  text-decoration: line-through;
}

/* ── Khanapara Common Numbers Card ──────────────────────────── */
.kt-cn-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #c8d8f0;
  box-shadow: var(--shadow);
  background: #fff;
}

/* Dark blue header */
.kt-cn-header {
  background: #1a3a6b;
  color: #fff;
  text-align: center;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  padding: 12px 16px;
  letter-spacing: .5px;
}

/* Live timestamp row */
.kt-cn-live {
  background: #f5f7fa;
  border-bottom: 1px solid #e8eef5;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #444;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.kt-cn-dot {
  width: 8px; height: 8px;
  background: #e53935;
  border-radius: 50%;
  display: inline-block;
  animation: pulse 1.5s ease-in-out infinite;
}

/* Body */
.kt-cn-body {
  padding: 16px 16px 8px;
  text-align: center;
}
.kt-cn-label {
  font-size: 11px;
  font-weight: 700;
  color: #888;
  letter-spacing: .8px;
  margin-bottom: 14px;
}

/* Number badges — bordered circles like the image */
.kt-cn-badges {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.kt-cn-badge {
  width: 48px; height: 48px;
  border: 2px solid #1a3a6b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 800;
  color: #1a3a6b;
  background: #fff;
}

/* House & Ending row */
.kt-cn-he {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 16px 16px 8px;
  border-top: 1px solid #eef1f5;
}
.kt-cn-he-item {
  text-align: center;
}
.kt-cn-he-num {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 800;
  color: #1a3a6b;
  line-height: 1;
  margin-bottom: 4px;
}
.kt-cn-he-label {
  font-size: 10px;
  font-weight: 700;
  color: #888;
  letter-spacing: .5px;
  text-transform: uppercase;
}

/* Disclaimer */
.kt-cn-disclaimer {
  text-align: center;
  font-size: 10px;
  color: #bbb;
  padding: 6px 16px 10px;
}

/* kt-card placeholder (XX) */
.kt-number--placeholder {
  color: #d0d5e0;
  letter-spacing: 6px;
}
.kt-sub--placeholder {
  color: #c5cad4;
  background: transparent;
}

/* Section H2 — used on Juwai/Khanapara today pages */
.section-h2 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 10px 0;
  padding: 8px 12px;
  background: var(--off-white);
  border-left: 4px solid var(--navy);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ── Shillong Teer "Also check" widget ─────────────────────── */
.st-also-check {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 8px 12px;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.st-also-check a {
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  padding: 3px 8px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid var(--border);
}
.st-also-check a:hover { background: var(--navy); color: #fff; }

/* Archive sunday badge */
.archive-date-btn.sunday { opacity: .6; font-style: italic; }


/* ══════════════════════════════════════════════════════════
   COMBINED NAV (Row 2) — Hamburger + Lottery Name + Sub-nav
   ══════════════════════════════════════════════════════════ */

/* Remove old row 2 sticky offset — combined nav is now at top:48px */
.section-subnav { display: none; } /* old row 3 hidden */
.lottery-switcher { display: none; } /* old row 2 hidden */

/* ══ Combined Nav — Row 2 ════════════════════════════════════
   Layout: [TRIGGER fixed-left] [SCROLL AREA → Today · Yest · ...]
   Trigger never scrolls. Links scroll independently.
   ═══════════════════════════════════════════════════════════ */
.combined-nav {
  background: var(--navy-mid);
  border-bottom: 1px solid rgba(0,0,0,.25);
  position: sticky;
  top: 48px;
  z-index: 190;
  min-height: 40px;
}
/* Inner row — same max-width as .page-wrap and .header-inner */
.combined-nav-row {
  display: flex;
  align-items: stretch;
  min-height: 40px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* ── Trigger: always visible, never scrolls ───────────────── */
.cnav-trigger {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: 40px;
  cursor: pointer;
  border-right: 1px solid rgba(255,255,255,.12);
  touch-action: manipulation;   /* removes 300ms tap delay on iOS/Android */
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  transition: background .12s;
  position: relative;
  z-index: 2;
}
.cnav-trigger:hover  { background: rgba(255,255,255,.06); }
.cnav-trigger:active { background: rgba(255,255,255,.12); }

/* Hamburger bars */
.cnav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 0 11px;
  height: 40px;
  border-right: 1px solid rgba(255,255,255,.08);
  pointer-events: none;  /* clicks pass through to trigger */
}
.cnav-hamburger span {
  display: block;
  width: 16px;
  height: 2px;
  background: rgba(255,255,255,.8);
  border-radius: 1px;
  pointer-events: none;
}

/* Gold pill — lottery name */
.cnav-name {
  background: var(--gold);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 20px;
  margin: 0 8px;
  white-space: nowrap;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
  pointer-events: none;
}

/* Plain "Menu" label (homepage) */
.cnav-name-plain {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,.85);
  margin: 0 6px;
  white-space: nowrap;
  pointer-events: none;
}

/* Chevron ▾ */
.cnav-chevron {
  font-size: 9px;
  color: rgba(255,255,255,.4);
  margin-right: 10px;
  flex-shrink: 0;
  pointer-events: none;
}

/* Fixed › separator between trigger and scroll area */
.cnav-sep-fixed {
  color: rgba(255,255,255,.22);
  font-size: 13px;
  line-height: 40px;
  padding: 0 2px;
  flex-shrink: 0;
  pointer-events: none;
}

/* ── Scrollable links area ────────────────────────────────── */
.cnav-scroll {
  display: flex;
  align-items: center;
  flex: 1;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  white-space: nowrap;
}
.cnav-scroll::-webkit-scrollbar { display: none; }

/* Nav links */
.cnav-link {
  color: rgba(255,255,255,.5);
  font-size: 12px;
  font-weight: 500;
  padding: 0 11px;
  height: 40px;
  line-height: 40px;
  display: inline-block;
  border-bottom: 3px solid transparent;
  transition: color .12s, border-color .12s;
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
}
.cnav-link:hover { color: rgba(255,255,255,.85); }
.cnav-link.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
  font-weight: 700;
}

/* ── Lottery Drawer ──────────────────────────────────────── */
.lottery-drawer {
  position: fixed;
  top: 0;
  left: -280px;
  width: 270px;
  height: 100%;
  background: var(--navy);
  z-index: 500;
  overflow-y: auto;
  overscroll-behavior: contain;
  transition: left .25s cubic-bezier(.4,0,.2,1);
  box-shadow: 4px 0 20px rgba(0,0,0,.4);
  padding-bottom: 40px;
}
.lottery-drawer.open { left: 0; }

.lottery-drawer-inner { padding: 0 0 20px; }

/* Drawer header with title + close button */
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  position: sticky;
  top: 0;
  background: var(--navy);
  z-index: 1;
}
.drawer-title {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .8px;
}
.drawer-close {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  background: rgba(255,255,255,.08);
  border: none;
  color: rgba(255,255,255,.7);
  font-size: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.drawer-close:hover  { background: rgba(255,255,255,.15); }
.drawer-close:active { background: rgba(255,255,255,.22); }

/* drawer groups removed — flat list */

.drawer-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  font-size: 13px;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: color .12s, background .12s;
}
.drawer-item:hover {
  color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.05);
}
.drawer-item.active {
  color: var(--gold);
  border-left-color: var(--gold);
  background: rgba(245,200,66,.07);
  font-weight: 600;
}
.drawer-active-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* Overlay */
.drawer-overlay {
  touch-action: manipulation;
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 499;
}
.drawer-overlay.show { display: block; }
body.drawer-open { overflow: hidden; }

/* Adjust page-wrap top spacing — sub-nav is now shorter */
@media (min-width: 768px) {
  .cnav-lottery-name { max-width: 200px; }
}

/* ── Global Mobile Fixes ─────────────────────────────────── */
@media (max-width: 400px) {
  .btn-lg { width: 100%; justify-content: center; }
  .draw-time-label { font-size: 15px; }
  .card-body { padding: 10px; }
  .prize-amount { font-size: 12px; }
  th, td { padding: 6px 8px; }
}

/* ── Page title responsive ───────────────────────────────── */
.page-title { font-family: var(--font-head); font-size: clamp(17px,4.5vw,26px); font-weight: 700; color: var(--navy); line-height: 1.25; margin-bottom: 5px; }
.page-sub { font-size: 12px; color: var(--text3); line-height: 1.5; }

/* ── Info box ────────────────────────────────────────────── */
.info-box { background: #e8f4fd; border-left: 3px solid var(--navy-light); border-radius: var(--radius-sm); padding: 10px 12px; font-size: 13px; color: var(--text2); margin-bottom: 12px; line-height: 1.5; }
.info-box.gold { background: var(--gold-dim); border-left-color: var(--gold); }

/* ── FAQ accordion ───────────────────────────────────────── */
.faq-q { font-size: 13px; font-weight: 600; color: var(--navy); cursor: pointer; padding: 2px 0; line-height: 1.4; }
.faq-a { font-size: 13px; color: var(--text2); line-height: 1.7; padding-top: 6px; display: none; }
.faq-item.open .faq-a { display: block; }

/* ── mb utilities ────────────────────────────────────────── */
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }

/* ── Legal / Info Pages ──────────────────────────────────────── */
.legal-wrap { max-width: 780px; margin: 0 auto; padding: 16px 0 40px; }
.legal-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  margin-bottom: 24px;
}
.legal-hero-icon { font-size: 32px; margin-bottom: 8px; line-height: 1; }
.legal-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(20px, 4vw, 28px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
  line-height: 1.2;
}
.legal-hero-sub { font-size: 13px; color: rgba(255,255,255,.6); }
.legal-body { font-size: 14px; color: var(--text2); line-height: 1.9; }
.legal-body h2 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin: 24px 0 8px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.legal-body h3 {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-light);
  margin: 18px 0 6px;
}
.legal-body p  { margin: 0 0 12px; }
.legal-body ul, .legal-body ol {
  padding-left: 20px;
  margin: 0 0 12px;
}
.legal-body li { margin-bottom: 5px; }
.legal-body a  { color: var(--navy-light); text-decoration: underline; }
.legal-body a:hover { color: var(--navy); }
.legal-body strong { color: var(--navy); font-weight: 600; }
.legal-notice {
  background: #fff8e6;
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--text2);
  margin-bottom: 16px;
  line-height: 1.6;
}
.legal-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin: 16px 0;
}
.legal-contact-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.legal-contact-icon { font-size: 20px; flex-shrink: 0; }
.legal-contact-label { font-size: 11px; color: var(--text3); text-transform: uppercase; letter-spacing: .5px; font-weight: 600; margin-bottom: 2px; }
.legal-contact-val { font-size: 13px; font-weight: 600; color: var(--navy); }
.legal-contact-val a { color: var(--navy-light); text-decoration: none; }
.legal-nav-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.legal-nav-pills a {
  padding: 5px 12px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: var(--navy-light);
  text-decoration: none;
  transition: all .15s;
  white-space: nowrap;
}
.legal-nav-pills a:hover, .legal-nav-pills a.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
