/* =========================================================
   UMEED FINAL MOBILE NAV + INLINE PHOTO PREVIEW FIX
   Loaded after all previous CSS. Fixes Android safe-area gap,
   bulky mobile header, and album photo preview jumping upward.
   ========================================================= */
html,
body,
body.home-page{
  margin:0 !important;
  padding:0 !important;
  background:#05070a !important;
  overflow-x:hidden !important;
}
body.home-page{
  padding-top:0 !important;
  min-height:100% !important;
}
/* The previous file added safe-area padding to all headers. On Android Chrome it creates the white blank strip. Remove it. */
html body header,
html body .nav,
html body .navbar,
html body .topbar,
html body.home-page header,
html body.home-page .nav,
html body.home-page .navbar,
html body.home-page .topbar{
  padding-top:0 !important;
  margin-top:0 !important;
}
html body.home-page header.nav,
html body.home-page .nav{
  position:relative !important;
  top:auto !important;
  left:auto !important;
  right:auto !important;
  bottom:auto !important;
  display:block !important;
  width:100% !important;
  min-height:0 !important;
  height:auto !important;
  margin:0 !important;
  padding:0 !important;
  background:rgba(5,7,10,.96) !important;
  border-top:0 !important;
  border-bottom:1px solid rgba(226,194,111,.20) !important;
  box-shadow:0 8px 24px rgba(0,0,0,.28) !important;
  backdrop-filter:blur(12px) !important;
  -webkit-backdrop-filter:blur(12px) !important;
  transform:none !important;
  z-index:300 !important;
}
html body.home-page .nav::before,
html body.home-page .nav::after,
html body.home-page header.nav::before,
html body.home-page header.nav::after{
  display:none !important;
  content:none !important;
}
html body.home-page .navbar{
  height:54px !important;
  min-height:54px !important;
  max-height:54px !important;
  padding:0 10px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:8px !important;
  background:transparent !important;
  overflow:hidden !important;
}
html body.home-page .brand{
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
  min-width:0 !important;
  flex:1 1 auto !important;
  overflow:hidden !important;
}
html body.home-page .brandMark{
  width:36px !important;
  height:36px !important;
  min-width:36px !important;
  flex:0 0 36px !important;
  border-radius:999px !important;
}
html body.home-page .brandMark img{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
}
html body.home-page .brandName{
  color:#fff4d4 !important;
  font-size:13px !important;
  line-height:1.05 !important;
  font-weight:900 !important;
  letter-spacing:.01em !important;
  max-width:calc(100vw - 232px) !important;
  overflow:hidden !important;
  white-space:nowrap !important;
  text-overflow:ellipsis !important;
  text-shadow:0 1px 10px rgba(0,0,0,.55) !important;
}
html body.home-page .brandSub{
  display:none !important;
}
html body.home-page .actions{
  flex:0 0 auto !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:6px !important;
  margin:0 !important;
  padding:0 !important;
}
html body.home-page .actions > button,
html body.home-page .actions > a,
html body.home-page .notice-bell,
html body.home-page #themeBtn,
html body.home-page .hamb{
  width:36px !important;
  height:36px !important;
  min-width:36px !important;
  min-height:36px !important;
  max-width:36px !important;
  max-height:36px !important;
  padding:0 !important;
  margin:0 !important;
  border-radius:999px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  line-height:1 !important;
  font-size:17px !important;
}
html body.home-page .actions .btn-primary{
  width:auto !important;
  max-width:none !important;
  min-width:49px !important;
  height:36px !important;
  padding:0 10px !important;
  font-size:14px !important;
  font-family:var(--font-head, serif) !important;
  color:#17110a !important;
}
@media (min-width:721px){
  html body.home-page .navbar{height:58px !important;min-height:58px !important;max-height:58px !important;padding-inline:18px !important;}
  html body.home-page .brandMark{width:42px !important;height:42px !important;min-width:42px !important;flex-basis:42px !important;}
  html body.home-page .brandName{font-size:16px !important;max-width:360px !important;}
  html body.home-page .brandSub{display:block !important;font-size:9px !important;line-height:1.1 !important;}
  html body.home-page .actions > button,
  html body.home-page .actions > a,
  html body.home-page .notice-bell,
  html body.home-page #themeBtn,
  html body.home-page .hamb{width:40px !important;height:40px !important;min-width:40px !important;min-height:40px !important;max-width:40px !important;max-height:40px !important;}
  html body.home-page .actions .btn-primary{height:40px !important;min-width:58px !important;}
}
@media (max-width:390px){
  html body.home-page .navbar{padding-inline:7px !important;gap:5px !important;}
  html body.home-page .brand{gap:6px !important;}
  html body.home-page .brandMark{width:32px !important;height:32px !important;min-width:32px !important;flex-basis:32px !important;}
  html body.home-page .brandName{font-size:12px !important;max-width:calc(100vw - 218px) !important;}
  html body.home-page .actions{gap:4px !important;}
  html body.home-page .actions > button,
  html body.home-page .actions > a,
  html body.home-page .notice-bell,
  html body.home-page #themeBtn,
  html body.home-page .hamb{width:34px !important;height:34px !important;min-width:34px !important;min-height:34px !important;max-width:34px !important;max-height:34px !important;}
  html body.home-page .actions .btn-primary{height:34px !important;min-width:45px !important;padding:0 8px !important;font-size:13px !important;}
}
/* Remove any blank reserve created by hero or main wrappers */
html body.home-page main,
html body.home-page #home,
html body.home-page .hero,
html body.home-page .hero-full{
  margin-top:0 !important;
}
/* Inline album photo preview: stays inside the open album drawer */
html body.home-page .inlineAlbumPanel{
  scroll-margin-top:12px !important;
}
html body.home-page .inlineAlbumPreview{
  display:none;
  margin:0 0 12px !important;
  border-radius:18px !important;
  overflow:hidden !important;
  border:1px solid rgba(227,194,111,.22) !important;
  background:rgba(3,5,9,.92) !important;
  box-shadow:0 16px 42px rgba(0,0,0,.34) !important;
}
html body.home-page .inlineAlbumPreview.open{
  display:block !important;
}
html body.home-page .inlineAlbumPreview img{
  display:block !important;
  width:100% !important;
  height:min(48vh, 420px) !important;
  object-fit:contain !important;
  background:#020306 !important;
}
html body.home-page .inlineAlbumPreviewCaption{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:10px !important;
  padding:10px 12px !important;
  color:#fff4d4 !important;
  background:linear-gradient(180deg, rgba(15,18,24,.94), rgba(8,10,14,.94)) !important;
  font-size:13px !important;
  font-weight:800 !important;
}
html body.home-page .inlineAlbumPreviewCaption small{
  color:rgba(255,255,255,.68) !important;
  font-size:10px !important;
  font-weight:600 !important;
}
@media(max-width:640px){
  html body.home-page .inlineAlbumPreview img{height:min(38vh, 280px) !important;}
  html body.home-page .inlineAlbumPreviewCaption{padding:8px 10px !important;font-size:12px !important;}
  html body.home-page .inlineAlbumGrid{max-height:38vh !important;}
}
/* Disable old top-centered global lightbox for inline album photo cards */
html body.home-page #lightbox.inline-disabled{
  display:none !important;
  visibility:hidden !important;
  opacity:0 !important;
  pointer-events:none !important;
}
