/* v6.0.203 — Christmas home-screen corrections from the installed iPhone screenshot.
   Fix the inherited 66px/87px banner margin, mobile ribbon wrapping,
   emoji glyphs and undersized/oversized decoration. Does not touch payment logic.
   ALL rules limited to active Christmas theme. */
@media (max-width:699px){
  /* Earlier v199 rules added 66px of EMPTY space above the holiday ribbon. */
  html.otml-season-christmas body:not(.otml-mode-staff) #otmlSeasonRibbon,
  html.otml-season-christmas body.otml-mode-staff #otmlSeasonRibbon{
    margin:7px 6px 10px!important;
    padding:7px 10px!important;
    min-height:31px!important;
    height:auto!important;
    gap:6px!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    border-radius:13px!important;
    font-size:10px!important;
    line-height:1.25!important;
    white-space:nowrap!important;
  }
  html.otml-season-christmas #otmlSeasonRibbon strong{
    font-size:clamp(9px,2.7vw,11px)!important;
    line-height:1.25!important;
    letter-spacing:.025em!important;
    white-space:nowrap!important;
  }
  html.otml-season-christmas #otmlSeasonRibbon .otml-season-ribbon-star{
    font-size:12px!important;flex:none!important;
  }
  /* Mobile keeps the important headline; the long subtitle caused a second line. */
  html.otml-season-christmas #otmlSeasonRibbon>span:last-child:not(.otml-season-ribbon-star){
    display:none!important;
  }
  /* Keep the festive navigation compact without changing its six destinations. */
  html.otml-season-christmas body:not(.otml-mode-staff)>#otmlCustomerFixedNav,
  html.otml-season-christmas body:not(.otml-mode-staff)>#publicMobileNav,
  html.otml-season-christmas body.otml-mode-staff>.otml-hub-tabs{
    height:auto!important;
    min-height:0!important;
    box-sizing:border-box!important;
    padding-top:5px!important;
    padding-bottom:max(6px, env(safe-area-inset-bottom,0px))!important;
  }
  html.otml-season-christmas body:not(.otml-mode-staff)>#otmlCustomerFixedNav button,
  html.otml-season-christmas body:not(.otml-mode-staff)>#publicMobileNav button{
    min-height:59px!important;
    height:59px!important;
    max-height:59px!important;
  }
  /* Allow the final home cards/CTAs to scroll ABOVE fixed bottom navigation. */
  html.otml-season-christmas body:not(.otml-mode-staff) #clientTabCard,
  html.otml-season-christmas body:not(.otml-mode-staff) #viewCardHub{
    scroll-padding-bottom:calc(110px + env(safe-area-inset-bottom,0px))!important;
  }
  html.otml-season-christmas body:not(.otml-mode-staff) #clientTabCard{
    padding-bottom:calc(65px + env(safe-area-inset-bottom,0px))!important;
  }
}
/* Monochrome gold direction arrow, not iOS's blue emoji arrow. */
html.otml-season-christmas .otml-v181-member-arrow{
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:25px!important;height:25px!important;min-width:25px!important;
  font-family:Arial,sans-serif!important;color:#f8d89f!important;
}
html.otml-season-christmas .otml-v181-member-arrow svg{
  display:block!important;width:19px!important;height:19px!important;
  stroke:#f8d89f!important;fill:none!important;
}
/* Never let decorative snow turn into large blue emoji flakes on iOS. */
html.otml-season-christmas #otmlSeasonSnow .otml-snow-flake,
html.otml-season-christmas #otmlSeasonSnow .otml-snow-star{
  font-family:Arial,Helvetica,sans-serif!important;
  font-variant-emoji:text!important;
  color:#fff6e7!important;
  -webkit-text-fill-color:#fff6e7!important;
  font-weight:400!important;
  text-shadow:0 0 3px rgba(255,255,255,.6)!important;
}
@media(prefers-reduced-motion:reduce){
  html.otml-season-christmas #otmlSeasonSnow .otml-flake{animation:none!important}
}

/* The screenshot also shows too-bright / oversized perimeter bulbs.
   Keep the full loop and twinkle, with smaller dots and less glare. */
@media(max-width:760px){
 html.otml-season-christmas body:not(.otml-mode-staff)>#otmlCustomerFixedNav::before,
 html.otml-season-christmas body:not(.otml-mode-staff)>#publicMobileNav::before,
 html.otml-season-christmas body.otml-mode-staff>.otml-hub-tabs::before{
    background-size:180px 8px,180px 8px,8px 180px,8px 180px!important;
    filter:drop-shadow(0 0 1px rgba(255,226,166,.36))!important;
    opacity:.85!important;
 }
 html.otml-season-christmas body:not(.otml-mode-staff)>#otmlCustomerFixedNav::after,
 html.otml-season-christmas body:not(.otml-mode-staff)>#publicMobileNav::after,
 html.otml-season-christmas body.otml-mode-staff>.otml-hub-tabs::after{
    background-size:180px 8px,180px 8px,8px 180px,8px 180px!important;
 }
}
