/* 2026-10-14: Samsung Internet / Fold8 mobile nav viewport hotfix.
   Inherited v8/v12 translateX(-50%) remained active after left:0 in v14.
   CSS only. No D1 reads/writes, record changes or schedule changes. */
html.v12-fold8-light #bottomNav,
html.v12-fold8-light .bottom-nav {
  position:fixed!important;
  left:0!important;
  right:0!important;
  bottom:0!important;
  transform:none!important;
  margin:0!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}

html.podium-v14 #bottomNav {
  position:fixed!important;
  inset-inline:0!important;
  left:0!important;
  right:0!important;
  transform:none!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  min-height:64px!important;
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:0!important;
  padding:5px max(6px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-left))!important;
  margin:0!important;
  border-radius:0!important;
  border-left:0!important;
  border-right:0!important;
  border-bottom:0!important;
  box-shadow:0 -4px 15px rgba(13,48,66,.08)!important;
  z-index:1500!important;
}
html.podium-v14 #bottomNav button {
  min-width:0!important;
  max-width:100%!important;
  min-height:49px!important;
  margin:0!important;
  padding:5px 1px!important;
  font-size:11px!important;
  overflow:hidden!important;
}
html.podium-v14 #bottomNav button b {
  font-size:21px!important;
  line-height:1!important;
}
html.podium-v14 #bottomNav button span {
  max-width:100%!important;
  font-size:11px!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
  overflow:hidden!important;
}

html.podium-v14,
html.podium-v14 body {
  margin:0!important;
  width:100%!important;
  max-width:100%!important;
  overflow-x:clip!important;
}
html.podium-v14 #app,
html.podium-v14 .p14-page,
html.podium-v14 .p14-month,
html.podium-v14 .p14-month-head,
html.podium-v14 .p14-grid,
html.podium-v14 .p14-detail-wrap,
html.podium-v14 .p14-details-grid,
html.podium-v14 .p14-home-grid {
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
html.podium-v14 .p14-grid,
html.podium-v14 .p14-weekdays {
  width:100%!important;
  grid-template-columns:repeat(7,minmax(0,1fr))!important;
}
html.podium-v14 .p14-day {
  min-width:0!important;
  max-width:100%!important;
}
html.podium-v14 .p14-page {
  padding-bottom:max(88px,calc(74px + env(safe-area-inset-bottom)))!important;
}
@media(max-width:400px) {
  html.podium-v14 #bottomNav button b{font-size:19px!important}
  html.podium-v14 #bottomNav button span{font-size:10px!important}
}
