/* Bhakthi Tharangini V11.30 — approved cream/gold visual system.
   Scoped to home cards + panchang dialog; existing data / Deeksha / calendar untouched. */
:root{--bt1130-ink:#663018;--bt1130-gold:#e9b76a;--bt1130-paper:#fffaf0;--bt1130-edge:#efd9b4}
.app-shell .main-content{background:linear-gradient(160deg,#fffaf0 0%,#fff8e9 37%,#fffcf5 95%)!important}
.app-shell .topbar{background:#fffaf0!important;border-bottom:1px solid #f3e2c3!important}
.app-shell .topbar .brand-title{color:#78330f!important;font-weight:800!important}
.app-shell .topbar .bt-brand-logo{border-radius:12px!important;object-fit:cover}
.app-shell .topbar .brand-sub{color:#94755a!important}
.app-shell .bt-v1103-menu-btn{background:#fffdf8;border:1px solid var(--bt1130-edge);border-radius:14px}
.app-shell .section-heading.bt-home-heading1130{margin:16px 0 12px!important;align-items:baseline;gap:10px}
.app-shell .bt-home-heading1130 h2{font-weight:800;color:#58301b!important;letter-spacing:0}
.app-shell .bt-home-heading1130 span{color:#947d68!important;white-space:nowrap}
.app-shell .grid.bt-devotional-grid1130{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:13px}
.app-shell .bt-devotional-grid1130 .category-card{min-width:0;border:1px solid #f1d9b1!important;background:linear-gradient(#fffdf8,#fffaf0)!important;border-radius:18px!important;box-shadow:0 3px 12px #5d370b0c!important;display:flex;align-items:center;flex-direction:column;text-align:center!important;padding:12px 5px 9px!important;min-height:160px;transition:transform .18s,box-shadow .18s}
.app-shell .bt-devotional-grid1130 .category-card:hover{transform:translateY(-2px);box-shadow:0 8px 20px #79460d1a!important}
.app-shell .bt-devotional-grid1130 .category-card:focus-visible{outline:3px solid #cf8539;outline-offset:3px}
.app-shell .bt-devotional-grid1130 .thumb.bt-circle-thumb1130{width:min(100%,118px)!important;height:auto!important;aspect-ratio:1/1!important;max-height:none!important;border-radius:50%!important;background:radial-gradient(circle,#fff9e7,#f9dfab)!important;overflow:hidden!important;display:grid!important;place-items:center!important;border:2px solid #f0c883;box-shadow:0 2px 8px #bb741b24;flex-shrink:0!important;position:relative}
.app-shell .bt-devotional-grid1130 .thumb.bt-circle-thumb1130 img{display:block;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;padding:0!important;border:0!important;background:transparent!important}
.app-shell .bt-devotional-grid1130 .thumb.bt-circle-thumb1130 img[hidden]{display:none!important}
.app-shell .bt-devotional-grid1130 .bt-deity-fallback1130{font-size:clamp(28px,4vw,53px);width:100%;height:100%;display:grid;place-items:center;background:radial-gradient(circle,#ffecbd,#f1d292)}
.app-shell .bt-devotional-grid1130 .bt-deity-fallback1130[hidden]{display:none!important}
.app-shell .bt-devotional-grid1130 .body{padding:9px 1px 2px!important;flex:1;display:flex;align-items:center;justify-content:center;width:100%}
.app-shell .bt-devotional-grid1130 h3{color:#4d2617!important;font-size:clamp(12px,1.18vw,16px)!important;line-height:1.4!important;font-weight:700!important;margin:0!important;min-height:0!important;overflow-wrap:anywhere}
.app-shell .bt-devotional-grid1130 .category-card::after{content:'✦';display:block;font-size:10px;line-height:11px;color:#dfae62;margin:4px 0 0;opacity:.85}
.app-shell .bottom-nav.bt-unified-v1120{background:#fffcf7!important;border:1px solid #edd5af!important;box-shadow:0 -5px 22px #5b381528!important;border-radius:23px 23px 0 0!important}
.app-shell .bottom-nav.bt-unified-v1120 .bt-v1105-item{color:#87441d!important;border-radius:14px!important}
.app-shell .bottom-nav.bt-unified-v1120 .bt-v1105-item:focus-visible{outline:2px solid #bd691c!important;outline-offset:-4px!important}
.app-shell .bottom-nav.bt-unified-v1120 .bt-v1105-item span{font-size:25px!important}
.app-shell .bottom-nav.bt-unified-v1120 .bt-v1105-item small{font-size:11px!important}
@media(max-width:1000px){.app-shell .grid.bt-devotional-grid1130{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:720px){
 .app-shell .main-content{padding:12px 9px calc(95px + env(safe-area-inset-bottom))!important}
 .app-shell .grid.bt-devotional-grid1130{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important}
 .app-shell .bt-devotional-grid1130 .category-card{border-radius:15px!important;padding:8px 3px 7px!important;min-height:140px!important}
 .app-shell .bt-devotional-grid1130 .thumb.bt-circle-thumb1130{width:min(100%,78px)!important;max-height:78px!important}
 .app-shell .bt-devotional-grid1130 h3{font-size:clamp(10px,2.45vw,12px)!important;line-height:1.45!important;min-height:0!important}
 .app-shell .bt-devotional-grid1130 .body{padding:7px 1px 1px!important}
 .app-shell .bt-devotional-grid1130 .category-card::after{margin:1px 0 0}
 .app-shell .bt-home-heading1130 h2{font-size:1.1rem!important}
 .app-shell .bt-home-heading1130 span{font-size:.81rem!important}
 .app-shell .topbar .brand-sub{max-width:170px!important}
}
@media(max-width:380px){.app-shell .bt-devotional-grid1130 .category-card{min-height:128px!important}.app-shell .bt-devotional-grid1130 .thumb.bt-circle-thumb1130{max-width:66px!important}.app-shell .bt-devotional-grid1130 h3{font-size:10px!important}}
/* Panchangam hub */
#btPanchangHub.bt-ph-backdrop{background:#281c1685!important;align-items:center!important;padding:16px!important;overscroll-behavior:contain}
#btPanchangHub .bt-ph-sheet{box-sizing:border-box!important;width:min(100%,640px)!important;max-height:min(88dvh,900px)!important;overflow:auto!important;background:linear-gradient(160deg,#fffdf7,#fff9ed)!important;border:1px solid #f0dbb4!important;border-radius:26px!important;padding:20px 18px!important;box-shadow:0 18px 55px #1f100f48!important;color:#64321c!important}
#btPanchangHub .bt-ph-sheet>header{display:flex;align-items:center;gap:8px;margin:0 0 16px!important;border-bottom:1px solid #f0dfc3;padding-bottom:12px!important}
#btPanchangHub .bt-ph-sheet>header strong{font-size:clamp(18px,3.2vw,25px);font-weight:800;line-height:1.45;color:#78350f}
#btPanchangHub #btPhClose{margin-left:auto;flex-shrink:0;color:#70371c;font-size:26px;border-radius:12px;width:39px;height:39px;display:grid;place-items:center;cursor:pointer}
#btPanchangHub #btPhClose:focus-visible{outline:3px solid #cf8539}
#btPanchangHub .bt-ph-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#btPanchangHub .bt-ph-grid button{min-width:0!important;min-height:130px!important;padding:13px 8px!important;border-radius:18px!important;background:#fffdfa!important;border:1px solid #efd6ad!important;box-shadow:0 2px 8px #6740100a;gap:5px!important;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer}
#btPanchangHub .bt-ph-grid button:hover{background:#fff3df!important}
#btPanchangHub .bt-ph-grid button>span{display:block;font-size:35px!important;line-height:1.15}
#btPanchangHub .bt-ph-grid button b{font-size:clamp(13px,2.2vw,16px)!important;color:#713318!important;line-height:1.45;text-align:center}
#btPanchangHub .bt-ph-grid button small{font-size:clamp(10px,1.7vw,12px)!important;color:#90735e!important;line-height:1.4}
#btPanchangHub .bt-ph-note{margin:14px 0 0!important;padding:11px 12px;background:#fcf1de;border-radius:13px;border:1px solid #f1dfc0;color:#74513c!important;font-size:11px!important;line-height:1.55}
/* Detail form / calculated results */
#btPanchangHub .bt-ph-detail1121{padding:0 0 2px!important}
#btPanchangHub .bt-ph-detail-head1121{display:flex;align-items:center;gap:10px;margin-bottom:13px;border-bottom:1px solid #f0dfc3;padding-bottom:10px}
#btPanchangHub .bt-ph-detail-head1121 [data-back]{white-space:nowrap;font-size:13px;padding:8px 12px}
#btPanchangHub .bt-ph-detail-head1121 strong{font-size:clamp(17px,3vw,23px);color:#743417}
#btPanchangHub .bt-ph-intro1130{display:flex;gap:13px;align-items:center;padding:12px 13px;border:1px solid #f0dcb6;border-radius:15px;background:#fffaf0;color:#70472d;font-size:13px;line-height:1.55;margin-bottom:13px}
#btPanchangHub .bt-ph-intro1130>span{font-size:29px}
#btPanchangHub .bt-ph-intro1130 p{margin:0}
#btPanchangHub .bt-birth-form1130{display:grid;gap:12px;background:#fffdfa;border:1px solid #f0dcb6;border-radius:18px;padding:15px}
#btPanchangHub .bt-birth-form1130 label{display:grid;gap:7px;font-size:14px;font-weight:700;color:#693219}
#btPanchangHub .bt-birth-form1130 label>span{display:block}
#btPanchangHub .bt-birth-form1130 :is(input,select){display:block;width:100%;box-sizing:border-box;min-height:47px!important;border:1px solid #e9cda4;border-radius:13px!important;background:white!important;padding:8px 11px;font:inherit;font-size:16px;color:#3a261d}
#btPanchangHub .bt-ph-primary1130{display:block;width:100%;min-height:48px!important;background:linear-gradient(120deg,#bb6a1c,#8a370f)!important;color:white!important;border:1px solid #e3a15a!important;border-radius:13px!important;font-size:15px!important;font-weight:800!important;text-align:center!important;cursor:pointer}
#btPanchangHub .bt-ph-primary1130:hover{filter:brightness(1.07)}
#btPanchangHub .bt-ph-summary1130{background:#fffaf0;border:1px solid #efd7b1;border-radius:17px;padding:14px;margin:13px 0}
#btPanchangHub .bt-ph-summary1130 h3{font-size:17px;color:#73351b;text-align:center;margin:0 0 10px}
#btPanchangHub #btBirthResult1121{margin:0!important;font-size:13px;line-height:1.7;color:#573b2c;overflow-wrap:anywhere}
#btPanchangHub #btBirthResult1121 p{margin:6px 0;padding:7px 4px;border-bottom:1px solid #f3e4cf}
#btPanchangHub #btBirthResult1121 .bt-ph-empty1130{color:#947b63;border:0;font-style:italic}
@media(max-width:600px){
 #btPanchangHub.bt-ph-backdrop{align-items:flex-end!important;padding:0!important}
 #btPanchangHub .bt-ph-sheet{width:100%!important;max-height:calc(94dvh - env(safe-area-inset-bottom))!important;padding:16px 13px calc(15px + env(safe-area-inset-bottom))!important;border-radius:24px 24px 0 0!important}
 #btPanchangHub .bt-ph-grid{gap:9px}
 #btPanchangHub .bt-ph-grid button{min-height:120px!important;padding:9px 6px!important}
 #btPanchangHub .bt-ph-grid button>span{font-size:30px!important}
 #btPanchangHub .bt-ph-grid button b{font-size:13px!important}
 #btPanchangHub .bt-ph-grid button small{font-size:10px!important}
}
@media(prefers-reduced-motion:reduce){.app-shell .bt-devotional-grid1130 .category-card{transition:none}}
#btPanchangHub .bt-ph-grid button>span{width:56px;height:56px;display:grid!important;place-items:center;border:1px solid #ffe0a5;border-radius:50%;background:radial-gradient(circle,#fff9e5,#ffebc5);box-shadow:0 2px 10px #e7b26b20}
@media(max-width:600px){#btPanchangHub .bt-ph-grid button>span{width:48px;height:48px}}
