/* L ♥ Studio — mobile promo popups as a compact bottom sheet (v35pop1).
   Desktop unchanged. Texts unchanged. */
@media (max-width:600px){
  /* ── Delayed application promo (#lsPop): no blocking backdrop ── */
  #lsPop.ls__popup-overlay,
  .ls__popup-overlay#lsPop{
    background:transparent !important;
    align-items:flex-end !important;
    justify-content:stretch !important;
    padding:0 !important;
    pointer-events:none !important;
    opacity:1;
    top:auto !important;
    bottom:0 !important;
    height:100vh !important;
    height:100svh !important;
    max-height:100svh !important;
  }
  #lsPop:not(.open){
    visibility:hidden !important;
  }
  #lsPop.open{
    visibility:visible !important;
  }
  #lsPop .ls__popup,
  #lsPop .ls__popup--v1{
    pointer-events:auto !important;
    box-sizing:border-box !important;
    width:100% !important;
    max-width:100% !important;
    max-height:min(30vh, 30svh, 30dvh) !important;
    overflow-x:hidden;
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
    border-radius:16px 16px 0 0 !important;
    margin:0 !important;
    padding:14px 16px calc(12px + env(safe-area-inset-bottom, 0px)) 16px !important;
    box-shadow:0 -12px 40px rgba(0,0,0,.45) !important;
    transform:translateY(110%) !important;
    position:relative;
  }
  #lsPop.open .ls__popup,
  #lsPop.open .ls__popup--v1{
    transform:translateY(0) !important;
  }
  #lsPop .ls__popup-x,
  #lsPop #lsPopX{
    position:absolute;
    top:6px !important;
    right:6px !important;
    width:44px !important;
    height:44px !important;
    min-width:44px;
    min-height:44px;
    font-size:22px !important;
    z-index:2;
    flex-shrink:0;
  }
  #lsPop .ls__popup-ph{display:none !important} /* decorative only, keeps copy visible in 30vh */
  #lsPop .ls__popup-title{font-size:16px !important;margin:0 48px 8px 0 !important;line-height:1.3 !important}
  #lsPop .ls__popup-eye{margin-bottom:6px !important}
  #lsPop .ls__popup-list{margin:0 0 10px !important;padding:0}
  #lsPop .ls__popup-cta{margin:0;min-height:44px;display:flex;align-items:center;justify-content:center}
  #lsPop .ls__popup::before{display:none}

  /* swipe affordance (no copy) */
  #lsPop .ls__popup::after{
    content:'';
    position:absolute;
    top:6px;left:50%;
    width:36px;height:4px;
    margin-left:-18px;
    border-radius:2px;
    background:rgba(255,255,255,.28);
    pointer-events:none;
  }

  /* ── Rotating promo toasts: bottom sheet, not top:72px under the header ── */
  .ab69-popup{
    box-sizing:border-box !important;
    top:auto !important;
    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    width:100% !important;
    max-width:100% !important;
    max-height:min(30vh, 30svh, 30dvh) !important;
    overflow-x:hidden;
    overflow-y:auto;
    border-radius:16px 16px 0 0 !important;
    padding:14px 52px calc(12px + env(safe-area-inset-bottom, 0px)) 14px !important;
    z-index:10050 !important;
    transform:translateY(110%) scale(1) !important;
    box-shadow:0 -12px 40px rgba(0,0,0,.45) !important;
    gap:10px !important;
  }
  .ab69-popup.ab69-popup--visible{
    transform:translateY(0) scale(1) !important;
    opacity:1 !important;
  }
  .ab69-popup.ab69-popup--hiding{
    transform:translateY(110%) scale(1) !important;
    opacity:0 !important;
  }
  .ab69-popup__close{
    position:absolute !important;
    top:4px !important;
    right:4px !important;
    width:44px !important;
    height:44px !important;
    min-width:44px;
    min-height:44px;
    padding:0 !important;
    display:flex !important;
    align-items:center;
    justify-content:center;
    font-size:24px !important;
    line-height:1 !important;
    z-index:2;
  }
  .ab69-popup::before{
    content:'';
    position:absolute;
    top:6px;left:50%;
    width:36px;height:4px;
    margin-left:-18px;
    border-radius:2px;
    background:rgba(255,255,255,.28);
    pointer-events:none;
  }
  .ab69-popup.ab69--light::before{background:rgba(26,21,48,.25)}

  /* ── PWA install banner: keep bottom bar, enlarge close, cap height ── */
  .lspwa{
    max-height:min(30vh, 30svh, 30dvh);
    z-index:2147482000;
    padding:0 !important;
  } /* v36audit1: keep above relocation FAB */
  .lspwa__in{
    box-sizing:border-box;
    max-width:none;
    max-height:min(30vh, 30svh, 30dvh);
    overflow:auto;
    border-radius:16px 16px 0 0;
    padding:12px 8px calc(12px + env(safe-area-inset-bottom, 0px)) 16px;
    width:100%;
  }
  .lspwa__x{
    width:44px !important;
    height:44px !important;
    min-width:44px;
    min-height:44px;
    padding:0 !important;
    display:flex !important;
    align-items:center;
    justify-content:center;
    font-size:24px !important;
    flex-shrink:0;
  }
}
