/* TATVANVESHI — Compact Home UI / Universal Search / 5-icon footer — 2026-11-09.
 * Presentation only: no changes to Firebase, calendar calculation, CMS or content records. */
:root{--tvui1187-orange:#a84f0d;--tvui1187-line:#ecd8b7}
.app-shell .main-content:has(.tv-main-home1156){padding-top:11px!important;padding-bottom:calc(80px + env(safe-area-inset-bottom,0px))!important}
.app-shell .bt-devotional-grid1130.tv-main-home1156{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px 7px!important;align-items:start!important;margin:0!important;
}
.app-shell .bt-devotional-grid1130.tv-main-home1156 .category-card{
  min-height:0!important;padding:2px 0 3px!important;margin:0!important;
  background:transparent!important;border:0!important;box-shadow:none!important;
  border-radius:12px!important;gap:5px!important;display:flex!important;align-items:center!important;
  flex-direction:column!important;justify-content:flex-start!important;
}
.app-shell .bt-devotional-grid1130.tv-main-home1156 .thumb.bt-circle-thumb1130{
  width:min(100%,92px)!important;max-width:100%!important;height:auto!important;
  aspect-ratio:1/1!important;margin:0 auto!important;border-radius:20%!important;
  overflow:hidden!important;border:0!important;padding:0!important;
  background:#f6dfb5!important;box-shadow:0 3px 9px #6e401923!important;
}
.app-shell .bt-devotional-grid1130.tv-main-home1156 .thumb.bt-circle-thumb1130 img{
  display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;
  border:0!important;border-radius:20%!important;
}
.app-shell .bt-devotional-grid1130.tv-main-home1156 .body{padding:0!important;margin:0!important;width:100%!important;min-height:32px!important}
.app-shell .bt-devotional-grid1130.tv-main-home1156 h3{
  display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;
  overflow:hidden!important;max-width:100%!important;min-height:30px!important;max-height:35px!important;
  margin:0!important;padding:0 1px!important;line-height:1.36!important;
  font-size:clamp(10px,2.55vw,12px)!important;font-weight:700!important;overflow-wrap:anywhere!important;
}
.app-shell .bt-main-heading1156{margin:12px 1px 10px!important;padding:0!important}
.app-shell .bt-main-heading1156 h2{font-size:clamp(19px,4.5vw,23px)!important}
.app-shell .bt-main-heading1156 span{font-size:12px!important}
.tv-search-home1187{display:flex;align-items:center;gap:10px;text-align:left;box-sizing:border-box;
  width:100%;max-width:100%;margin:0 0 9px;padding:10px 13px;min-height:43px;
  border:1px solid #e8cda3;border-radius:15px;background:#fffdf9;color:#7a5a3f;
  box-shadow:0 1px 7px #6e44140c;font-family:inherit;font-weight:500;font-size:clamp(12px,3vw,14px);line-height:1.3;cursor:pointer}
.tv-search-glyph1187{font:bold 25px/1 Arial,sans-serif;color:#ad611e;flex:0 0 auto}
.app-shell .bt-continue-compact{margin:6px 0 9px!important;gap:7px!important}
.app-shell .bt-continue-compact .item-row{min-height:40px!important;padding:6px 8px!important}
.app-shell .bt-continue-label{font-size:12px!important;max-width:90px!important}
.tv-recent1187{margin:2px 0 9px;min-width:0}
.tv-recent-head1187{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 1px 4px}
.tv-recent-head1187 h3{margin:0;font-size:13px;line-height:1.45;color:#744121}
.tv-recent-clear1187{border:0;background:transparent;padding:4px 6px;color:#995822;font-family:inherit;font-weight:600;font-size:12px;cursor:pointer}
.tv-recent-scroll1187{display:flex;gap:6px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scroll-snap-type:x proximity;padding:0 0 4px}
.tv-recent-chip1187{display:inline-flex;align-items:center;gap:5px;flex:0 0 auto;max-width:185px;min-height:30px;border:1px solid #ead7bb;
  background:#fff8ec;color:#6c3918;border-radius:11px;padding:5px 8px;font-family:inherit;font-weight:600;font-size:11px;line-height:1.3;scroll-snap-align:start;cursor:pointer}
.tv-recent-chip1187 span:last-child{max-width:155px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tv-search-page1187{max-width:800px;margin:0 auto 80px;padding:0 0 12px}
.tv-search-box1187{display:flex;align-items:center;gap:8px;margin:2px 0 10px;padding:0 12px;border:1px solid #e7c898;border-radius:14px;background:#fffdf8}
.tv-search-box1187>span{font:700 24px Arial,sans-serif;color:#a65517}
.tv-search-box1187 .search-input{flex:1;min-width:0;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;padding:12px 0!important;font-size:15px!important}
.tv-search-box1187:focus-within{outline:2px solid #efbb78;outline-offset:1px}
.tv-search-count-line1187{display:flex;align-items:center;justify-content:space-between;padding:0 4px 6px}
.tv-search-count-line1187 h2{font-size:18px;margin:0;color:#7d3c16}
.tv-search-count-line1187 span{color:#8d785d;font-size:12px}
.tv-search-results1187{display:grid;grid-template-columns:1fr;gap:5px}
.tv-search-result1187{display:flex;align-items:center;gap:10px;min-height:54px;padding:7px 10px;border:1px solid #f0dfc2;
  border-radius:13px;background:#fffdf8;color:#69391d;text-align:left;cursor:pointer;font-family:inherit}
.tv-search-result-icon1187{display:grid;place-items:center;width:35px;height:35px;border-radius:10px;background:#fff0d9;font-size:20px;flex:0 0 auto}
.tv-search-result-copy1187{min-width:0;flex:1;display:grid;gap:2px}
.tv-search-result-copy1187 strong{font-size:14px;line-height:1.35;overflow-wrap:anywhere}
.tv-search-result-copy1187 small{font-size:11px;color:#98714f}
.tv-search-empty1187{padding:23px 12px;background:#fffaf0;border-radius:14px;color:#89634b;font-size:14px;text-align:center}
/* Five consistent Lucide-style outline icons, with original controls retained behind the scenes. */
.app-shell .bottom-nav.bt-unified-v1120{height:calc(68px + env(safe-area-inset-bottom,0px))!important;
  padding-bottom:env(safe-area-inset-bottom,0px)!important;box-sizing:border-box!important}
.app-shell .bottom-nav .bt-v1105-bar{
  display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:0!important;height:62px!important;align-items:center!important;
}
.app-shell .bottom-nav .bt-v1105-bar #btVisibleSubmit{display:none!important}
.app-shell .bottom-nav .bt-v1105-bar .bt-v1105-item{min-width:0!important;max-width:100%!important;
  height:59px!important;gap:2px!important;padding:2px 1px!important;display:flex!important;
  flex-direction:column!important;justify-content:center!important;align-items:center!important;
  background:transparent!important;border:0!important;visibility:visible!important;cursor:pointer}
.app-shell .bottom-nav .bt-v1105-bar .bt-v1105-item .tv-nav-icon1187{width:23px!important;height:23px!important;flex-shrink:0!important;
  color:#945023;display:grid;place-items:center;border-radius:9px}
.app-shell .bottom-nav .bt-v1105-bar .bt-v1105-item .tv-nav-icon1187 svg{width:23px;height:23px;display:block;fill:none;stroke:currentColor;stroke-width:1.85;stroke-linecap:round;stroke-linejoin:round}
.app-shell .bottom-nav .bt-v1105-bar .bt-v1105-item small{font-size:clamp(9px,2.3vw,11px)!important;font-weight:700!important;line-height:1.18!important;
  text-align:center!important;overflow-wrap:normal!important;white-space:normal!important;color:#824517!important}
.app-shell .bottom-nav .bt-v1105-bar .bt-v1105-item.tv-nav-active1187 .tv-nav-icon1187{color:#a45408;background:#fff0d6;box-shadow:0 0 0 1px #edcb97}
.app-shell .bottom-nav .bt-v1105-bar .bt-v1105-item.tv-nav-active1187 small{color:#a45408!important}
.app-shell .bottom-nav .bt-v1105-bar .bt-v1105-item:focus-visible{outline:2px solid #d18436!important;outline-offset:-2px}
html.dark .tv-search-home1187,html.dark .tv-search-box1187,html.dark .tv-search-result1187{background:#302419;color:#f2dfc6;border-color:#705333}
html.dark .tv-recent-chip1187{background:#302419;color:#f2dfc6;border-color:#705333}
@media(max-width:720px){.app-shell .bt-devotional-grid1130.tv-main-home1156{gap:10px 7px!important}
  .app-shell .bt-devotional-grid1130.tv-main-home1156 .thumb.bt-circle-thumb1130{width:min(100%,86px)!important;max-width:100%!important}
  .app-shell .main-content:has(.tv-main-home1156){padding-left:9px!important;padding-right:9px!important}
  .app-shell .bottom-nav.bt-unified-v1120{height:calc(66px + env(safe-area-inset-bottom,0px))!important}
}
@media(max-width:350px){.app-shell .bt-devotional-grid1130.tv-main-home1156 h3{font-size:10px!important}
  .app-shell .bottom-nav .bt-v1105-bar .bt-v1105-item small{font-size:9px!important}}
@media(prefers-reduced-motion:reduce){.tv-recent-scroll1187{scroll-behavior:auto}}
