/* Cashback V36.7.129 — keep the AI robot launcher, tighten the converter arrows, and size the portrait drawer. */

/* The floating chat launcher must keep its established robot artwork in the default theme. */
#btn-chat-trigger .default-chat-robot {
  display:block !important;
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  max-width:100% !important;
  max-height:100% !important;
  object-fit:contain !important;
  object-position:center !important;
  padding:2px !important;
  filter:drop-shadow(0 3px 5px rgba(13,31,54,.22)) !important;
}
#btn-chat-trigger .default-chat-robot[hidden] { display:none !important; }

/* Portrait phone drawer: about 72% of the viewport, with its own vertical scroll. */
@media (orientation:portrait) and (max-width:600px) {
  html body #app-sidebar.app-sidebar {
    height:72dvh !important;
    min-height:0 !important;
    max-height:min(76dvh, calc(100dvh - var(--v36-header-height, 180px) - 18px)) !important;
    bottom:auto !important;
    overflow:hidden !important;
    display:flex !important;
    flex-direction:column !important;
  }
  html body #app-sidebar > .sidebar-heading,
  html body #app-sidebar > .sidebar-foot {
    flex:0 0 auto !important;
  }
  html body #app-sidebar > #main-tabs-nav,
  html body #app-sidebar > #main-tabs-nav.tabs-nav {
    flex:1 1 auto !important;
    min-height:0 !important;
    height:auto !important;
    max-height:none !important;
    overflow-x:hidden !important;
    overflow-y:auto !important;
    -webkit-overflow-scrolling:touch !important;
    overscroll-behavior-y:contain !important;
    touch-action:pan-y !important;
    scrollbar-width:thin !important;
  }
}
