/* AajKaGoldRate app theme (Oct 2026) — reskins every page; loaded last, overrides old theme */
html:root:not(#_):not(#__){
  --bg:#0a0f1e;--surface:#141c33;--ink:#eef1f8;--muted:#9aa6c4;--line:#243055;
  --vault:#141c33;--vault-2:#1a2442;--vault-ink:#eef1f8;--vault-mute:#9aa6c4;
  --gold:#f4c25b;--gold-hi:#f7d27e;--gold-lo:#e2a52b;--gold-soft:#1d2440;--accent:#f4c25b;
  --up:#3ccf8e;--down:#ff6b6b;--tick-up:#3ccf8e;--tick-down:#ff6b6b;--live:#3ccf8e;
  --card2:#1a2442;--r:18px;
  --display:system-ui,-apple-system,"Segoe UI",Roboto,"Noto Sans","Noto Sans Devanagari",sans-serif;
  --body:system-ui,-apple-system,"Segoe UI",Roboto,"Noto Sans","Noto Sans Devanagari",sans-serif;
  color-scheme:dark
}
html[lang^="te"]:root:not(#_):not(#__){--body:"Noto Sans Telugu",system-ui,sans-serif;--display:"Noto Sans Telugu",system-ui,sans-serif}
html body{background:#0a0f1e!important;color:var(--ink);font-family:var(--body);font-size:16px;line-height:1.6;padding-bottom:72px}
@media(min-width:781px){html body{padding-bottom:0}}
html body .wrap{max-width:1120px;padding-inline:16px}

/* top app bar */
html body nav.top{position:sticky;top:0;z-index:40;background:rgba(10,15,30,.9);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid #243055;margin:0 -16px;padding:10px 16px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
html body .brand{font-family:var(--body);font-weight:800;font-size:1.1rem;letter-spacing:-.02em;color:#eef1f8!important;text-decoration:none;display:inline-flex;align-items:center;gap:10px}
html body .brand b{font-weight:800;-webkit-text-fill-color:#f4c25b;color:#f4c25b;background:none}
html body .brand img{width:32px;height:32px;border-radius:9px;padding:0;background:linear-gradient(135deg,#f4c25b,#e2a52b);box-shadow:none}
html body nav.top a.l,html body .wrap .aib-nav a{color:#9aa6c4;font-weight:600;font-size:.88rem;border-radius:10px;padding:7px 11px;min-height:0;text-decoration:none}
html body nav.top a.l:hover,html body .wrap .aib-nav a:hover{background:#1a2442;color:#eef1f8}
html body .wrap .aib-nav a.hl{border:1px solid #243055;color:#f4c25b}
html body .aib-strip{border-top:1px solid #243055;color:#9aa6c4;font-size:.85rem;gap:8px 18px}
html body .aib-strip strong{color:#eef1f8}
html body .aib-strip b{color:#3ccf8e}
html body .aib-strip .dot{background:#3ccf8e;box-shadow:0 0 0 0 rgba(60,207,142,.6);animation:agrpulse 2s infinite}
@keyframes agrpulse{70%{box-shadow:0 0 0 8px rgba(60,207,142,0)}100%{box-shadow:0 0 0 0 rgba(60,207,142,0)}}

/* headings & text */
html body h1,html body .board h1{font-family:var(--display);font-weight:800;letter-spacing:-.025em;color:#eef1f8;line-height:1.15}
html body h1{font-size:clamp(1.65rem,4.4vw,2.5rem)}
html body h2{font-family:var(--display);font-weight:750;letter-spacing:-.015em;color:#eef1f8;font-size:clamp(1.25rem,2.4vw,1.5rem)}
html body h2::before{background:#f4c25b}
html body h3{font-family:var(--display);font-weight:700;color:#eef1f8}
html body .crumb,html body .crumb a{color:#9aa6c4;font-size:.82rem}
html body .muted,html body .fine{color:#9aa6c4}
html body article a,html body .wrap a{color:#f4c25b}
html body .aib-eyebrow,html body .eyebrow,html body .prow .k{color:#9aa6c4!important;letter-spacing:.08em;font-weight:700}
html body .aib-ans{color:#c8d0e4}
html body .aib-ans b{color:#eef1f8}html body .aib-ans b.gn{color:#3ccf8e}

/* search + quick chips */
html body .aib-search input{background:#141c33;border:1px solid #243055;border-radius:14px;color:#eef1f8}
html body .wrap .aib-quick a,html body .chip{background:#141c33;border:1px solid #243055;border-radius:999px;color:#eef1f8;font-weight:600}
html body .wrap .aib-quick a.p{border-color:#f4c25b;background:#1d2440;color:#f4c25b}
html body .chip:hover,html body .wrap .aib-quick a:hover{border-color:#f4c25b}
html body .chip a,html body a.chip{color:#eef1f8}
html body .wrap .aib-cta a{border:1px solid #243055;border-radius:14px;background:#141c33;color:#eef1f8}
html body .wrap .aib-cta a.p{background:linear-gradient(135deg,#f4c25b,#e2a52b);border-color:transparent;color:#1a1200}

/* rate cards */
html body .main,html body .prow{background:radial-gradient(120% 140% at 0% 0%,#2a2a3a 0%,#141c33 55%)!important;border:1px solid #243055!important;border-radius:18px!important;box-shadow:0 10px 30px rgba(0,0,0,.35)}
html body .prow{background:#141c33!important;box-shadow:none}
html body .big,html body .prow .v{-webkit-text-fill-color:#f4c25b;color:#f4c25b;font-family:var(--display);font-weight:800;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
html body .prow .pct,html body .prow .g,html body .sub,html body #asof,html body .clock{color:#9aa6c4!important}
html body .sub b{color:#eef1f8}
html body .pill{background:#1a2442;border:1px solid #243055;color:#3ccf8e;letter-spacing:.08em}
html body .chg{background:#1a2442!important;border:1px solid #243055}
html body .main .wa-share,html body .wa-share{background:#1c8c4c;color:#fff;border-radius:12px}

/* section cards */
html body .wrap>section,html body .wrap>article>section{background:#141c33;border:1px solid #243055;border-radius:18px;padding:clamp(16px,3vw,26px);margin-top:18px}
html body .tool,html body .chart,html body details,html body .cards a,html body .cform,html body .qa{background:#141c33!important;border:1px solid #243055!important;border-radius:16px!important}
html body .wrap>section .tool,html body .wrap>section details,html body .wrap>section .cards a{background:#1a2442!important}
html body .qa{border-left:3px solid #f4c25b!important}
html body .cards a b,html body .tool h3,html body .out .total{color:#f4c25b}
html body .cards a:hover{border-color:#f4c25b!important}
html body summary{color:#eef1f8;font-weight:700}

/* tables */
html body .tbl{background:none;border:0}
html body table{font-variant-numeric:tabular-nums}
html body th{color:#9aa6c4;font-weight:600;letter-spacing:.02em;text-transform:none}
html body th,html body td{border-bottom:1px solid #243055!important}
html body tbody tr:hover{background:#1a2442}
html body td.city{color:#eef1f8;font-weight:700}
html body td.num{color:#eef1f8}

/* forms */
html body input,html body select,html body textarea{background:#0f1629;border:1px solid #243055;color:#eef1f8;border-radius:10px}
html body input:focus,html body select:focus,html body textarea:focus{outline:2px solid #f4c25b;outline-offset:1px}
html body button,html body .cform button{border-radius:10px}
html body .cform button,html body .tool button{background:linear-gradient(135deg,#f4c25b,#e2a52b);color:#1a1200;border:0;font-weight:700}
html body .conv div,html body .out div{background:#1a2442;border-radius:12px}

/* footer */
html body footer{border-top:1px solid #243055;color:#9aa6c4}
html body footer a{color:#c8d0e4}
html body footer a:hover{color:#f4c25b}

/* bottom app tab bar */
.agr-tabbar{position:fixed;bottom:0;left:0;right:0;z-index:50;background:rgba(15,22,41,.95);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-top:1px solid #243055;display:none}
.agr-tabbar nav{display:grid;grid-template-columns:repeat(4,1fr)}
.agr-tabbar a{text-decoration:none;color:#9aa6c4!important;font:600 11px system-ui,sans-serif;text-align:center;padding:9px 0 calc(9px + env(safe-area-inset-bottom))}
.agr-tabbar a svg{display:block;margin:0 auto 2px;width:22px;height:22px}
.agr-tabbar a.on{color:#f4c25b!important}
@media(max-width:780px){.agr-tabbar{display:block}}
html body .wrap .cards a{color:#c8d0e4}
html body .wrap .cards a b{color:#f4c25b}
