/* JLJAM v7.10.33: mobile reachability + scroll performance. Original dock untouched. */
@media(max-width:700px){
  /* Shrink the independent history rail to two icon buttons. No wrapped words. */
  body > #jljamNavRail,
  body > #jljamNavRail:not([hidden]){
    position:fixed!important;display:flex!important;flex-direction:row!important;
    left:auto!important;right:14px!important;top:auto!important;
    bottom:calc(116px + env(safe-area-inset-bottom,0px))!important;
    width:120px!important;min-width:120px!important;max-width:120px!important;
    height:54px!important;min-height:54px!important;max-height:54px!important;
    gap:5px!important;padding:4px!important;
    align-items:center!important;justify-content:space-between!important;
    background:rgba(26,17,45,.98)!important;border:1px solid #9872b9!important;
    border-radius:17px!important;backdrop-filter:none!important;
    box-shadow:0 3px 11px rgba(0,0,0,.3)!important;
    pointer-events:auto!important;transform:none!important;
    z-index:2147481000!important;overflow:hidden!important;
  }
  body > #jljamNavRail[hidden]{display:none!important}
  body > #jljamNavRail > .jljam-nav-button{
    flex:0 0 52px!important;width:52px!important;min-width:52px!important;
    max-width:52px!important;height:44px!important;min-height:44px!important;max-height:44px!important;
    display:grid!important;place-items:center!important;position:static!important;
    padding:0!important;margin:0!important;gap:0!important;
    overflow:hidden!important;white-space:nowrap!important;
    line-height:1!important;word-break:normal!important;overflow-wrap:normal!important;
    background:rgba(97,58,152,.63)!important;border:1px solid rgba(212,164,248,.38)!important;
    border-radius:12px!important;
  }
  body > #jljamNavRail > .jljam-nav-button > span{
    display:block!important;font:900 27px/1 system-ui,sans-serif!important;
    width:auto!important;position:static!important;white-space:nowrap!important;
    overflow-wrap:normal!important;word-break:normal!important;
  }
  body > #jljamNavRail > .jljam-nav-button > b{display:none!important}
  body > #jljamNavRail > .jljam-nav-position{display:none!important}
  body > #jljamNavRail > .jljam-nav-button[disabled]{opacity:.42!important;filter:none!important}
  body > #jljamNavRail.jljam-nav-native{bottom:calc(16px + env(safe-area-inset-bottom,0px))!important}
  /* Retain full data access while reducing paint cost on the rendered cards. */
  #app .cin-work-page[data-scene="deals"] .data-grid-cards .data-card{
    content-visibility:auto;contain-intrinsic-size:auto 265px;
    will-change:auto!important;transition:none!important;
    animation:none!important;backdrop-filter:none!important;
  }
  #app .cin-work-page[data-scene="deals"] .workspace-body{padding-bottom:calc(240px + env(safe-area-inset-bottom,0px))!important}
  #app .cin-work-page[data-scene="deals"] .jljam-deals-more{padding-bottom:26px}
}
@media(max-width:350px){body > #jljamNavRail{right:10px!important}}
.jljam-deals-more{display:flex;flex-direction:column;align-items:center;gap:9px;padding:18px 6px 34px;text-align:center}
.jljam-deals-more button{min-height:48px;min-width:170px}
.jljam-deals-more button[hidden]{display:none!important}
.jljam-deals-window-status{font-size:14px;color:#d9c8ed;font-weight:650}
