/* Mobile shell and copy for the heart-overlay consumer. Sponsor artwork comes from checkout. */
@media (max-width:900px){
  body:is(.tell-partners-overlay,.tell-partners-closing):not(.tell-post-purchase) #tell-content-overlay{
    top:var(--tell-overlay-top,92px)!important;bottom:var(--tell-overlay-footer-clearance,0px)!important;
    overflow:hidden!important;background:#E8E5E2!important
  }
  body:is(.tell-partners-overlay,.tell-partners-closing):not(.tell-post-purchase) #tell-content-overlay .tell-overlay-shell{
    display:flex!important;flex-direction:column!important;box-sizing:border-box;height:100%!important;min-height:0!important;
    gap:0!important;overflow:hidden!important;padding:12px 12px 0!important
  }
  body:is(.tell-partners-overlay,.tell-partners-closing):not(.tell-post-purchase) #tell-content-overlay .tell-overlay-main{
    display:flex!important;position:relative!important;flex:1 1 auto!important;flex-direction:column!important;
    align-items:stretch!important;justify-content:flex-start!important;width:100%!important;min-width:0!important;
    min-height:0!important;overflow:hidden!important
  }
  body:is(.tell-partners-overlay,.tell-partners-closing):not(.tell-post-purchase) #tell-content-overlay .tell-overlay-partners:not([hidden]){
    display:block!important;position:relative!important;flex:1 1 auto!important;width:100%!important;height:100%!important;
    min-width:0!important;min-height:0!important;overflow-x:hidden!important;overflow-y:auto!important;
    overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch;background:#E8E5E2!important
  }
  body:is(.tell-partners-overlay,.tell-partners-closing):not(.tell-post-purchase) #tell-content-overlay .tell-partner-stage{
    box-sizing:border-box!important;display:flex!important;position:relative!important;flex-direction:column!important;
    align-items:stretch!important;gap:0!important;width:100%!important;height:auto!important;min-height:100%!important;
    overflow:visible!important;padding:24px 20px calc(34px + env(safe-area-inset-bottom,0px))!important;
    background:transparent!important
  }
  body:is(.tell-partners-overlay,.tell-partners-closing):not(.tell-post-purchase) #tell-content-overlay .tell-partner-heading,
  body:is(.tell-partners-overlay,.tell-partners-closing):not(.tell-post-purchase) #tell-content-overlay .tell-partner-orbit,
  body:is(.tell-partners-overlay,.tell-partners-closing):not(.tell-post-purchase) #tell-content-overlay .tell-ticket-link{display:none!important}
  body:is(.tell-partners-overlay,.tell-partners-closing):not(.tell-post-purchase) #tell-content-overlay .tell-footer-sponsors{
    display:block!important;position:relative!important;inset:auto!important;order:1!important;flex:0 0 auto!important;
    box-sizing:border-box!important;width:100%!important;max-width:520px!important;max-height:none!important;
    margin:0 auto 20px!important;padding:0!important;overflow:visible!important;background:transparent!important
  }
  body:is(.tell-partners-overlay,.tell-partners-closing):not(.tell-post-purchase) #tell-content-overlay .tell-footer-sponsors.has-mobile-sponsor-frame{
    height:0;margin-bottom:20px!important;overflow:hidden!important;pointer-events:auto!important
  }
  body:is(.tell-partners-overlay,.tell-partners-closing):not(.tell-post-purchase) #tell-content-overlay .tell-footer-sponsors.has-mobile-sponsor-frame>.ticket-sponsors{
    visibility:hidden!important;pointer-events:none!important
  }
  body:is(.tell-partners-overlay,.tell-partners-closing):not(.tell-post-purchase) #tell-content-overlay .tell-footer-sponsor-frame{
    display:block!important;position:absolute!important;left:0!important;top:0!important;width:1600px!important;height:1000px!important;
    border:0!important;background:transparent!important;pointer-events:auto!important;transform-origin:top left!important
  }
  body:is(.tell-partners-overlay,.tell-partners-closing):not(.tell-post-purchase) #tell-content-overlay .tell-partner-thanks-group{
    display:flex!important;position:relative!important;inset:auto!important;order:2!important;flex:0 0 auto!important;
    flex-direction:column!important;align-items:center!important;gap:18px!important;width:100%!important;
    min-width:0!important;margin:0!important;padding:0!important;transform:none!important;background:transparent!important
  }
  body:is(.tell-partners-overlay,.tell-partners-closing):not(.tell-post-purchase) #tell-content-overlay .tell-partner-thanks-group>.tell-partner-heart{
    display:block!important;position:relative!important;inset:auto!important;order:0!important;flex:0 0 2px!important;
    box-sizing:border-box!important;width:60vw!important;max-width:100%!important;height:2px!important;min-height:0!important;
    aspect-ratio:auto!important;margin:0!important;padding:0!important;transform:none!important;border:0!important;
    border-radius:2px!important;background:#3b3937!important;box-shadow:none!important
  }
  body:is(.tell-partners-overlay,.tell-partners-closing):not(.tell-post-purchase) #tell-content-overlay .tell-partner-thanks-group>.tell-partner-heart svg,
  body:is(.tell-partners-overlay,.tell-partners-closing):not(.tell-post-purchase) #tell-content-overlay .tell-partner-thanks-group>.tell-partner-heart .tell-partner-wordmark-crop{display:none!important}
  body:is(.tell-partners-overlay,.tell-partners-closing):not(.tell-post-purchase) #tell-content-overlay .tell-partner-thanks-group>.tell-partner-thanks{
    display:block!important;order:1!important;align-self:center!important;box-sizing:border-box!important;width:100%!important;
    max-width:580px!important;margin:0!important;padding:0!important;color:#292725!important;
    font-size:16.38px!important;line-height:1.4!important;text-align:left!important;transform:none!important
  }
  body.tell-overlay-open:is(.tell-partners-overlay,.tell-partners-closing):not(.tell-post-purchase) .tell-overlay-bottom{
    display:flex!important;position:relative!important;inset:auto!important;flex:0 0 auto!important;align-self:center!important;
    justify-content:center!important;width:100%!important;min-height:46px!important;margin:12px auto calc(8px + env(safe-area-inset-bottom,0px))!important;
    padding:0!important;background:transparent!important
  }
  body.tell-overlay-open:is(.tell-partners-overlay,.tell-partners-closing):not(.tell-post-purchase) .tell-overlay-bottom .tell-overlay-close{
    display:grid!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important
  }
  body.tell-overlay-open:is(.tell-partners-overlay,.tell-partners-closing):not(.tell-post-purchase)>footer .tell-footer-close,
  body.tell-overlay-open:is(.tell-partners-overlay,.tell-partners-closing):not(.tell-post-purchase)>footer>#tell-footer-close{
    display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important
  }
}

/* Keep the mobile footer overlay fully clear of the header at both ends of its slide. */
@media (max-width:900px){
  body.tell-overlay-open.tell-partners-overlay:not(.tell-post-purchase) #tell-content-overlay:not(.is-active){
    transform:translate3d(0,calc(-100% - 2px),0)
  }
  body.tell-overlay-open.tell-partners-overlay:not(.tell-post-purchase) #tell-content-overlay.is-active{
    transform:translate3d(0,0,0)
  }
  body.tell-overlay-open.tell-partners-closing:not(.tell-post-purchase) #tell-content-overlay{
    transform:translate3d(0,calc(-100% - 2px),0)
  }
  body.tell-overlay-open:is(.tell-partners-overlay,.tell-partners-closing):not(.tell-post-purchase) #tell-content-overlay{z-index:19}
}

@media (max-width:760px){
  body:is(.tell-partners-overlay,.tell-partners-closing):not(.tell-post-purchase) #tell-content-overlay .tell-footer-sponsors,
  body:is(.tell-partners-overlay,.tell-partners-closing):not(.tell-post-purchase) #tell-content-overlay .tell-footer-sponsors.has-mobile-sponsor-frame{
    margin-bottom:clamp(8px,calc(27px - 3.1vw),17px)!important
  }
  body:is(.tell-partners-overlay,.tell-partners-closing):not(.tell-post-purchase) #tell-content-overlay .tell-partner-thanks-group>.tell-partner-thanks{
    color:#181614!important;font-size:16.4px!important;line-height:1.5!important
  }
}

@media (max-width:760px){
  body:is(.tell-partners-overlay,.tell-partners-closing):not(.tell-post-purchase) #tell-content-overlay .tell-overlay-shell{
    padding-top:0!important
  }
  body:is(.tell-partners-overlay,.tell-partners-closing):not(.tell-post-purchase) #tell-content-overlay .tell-partner-stage{
    padding-top:max(0px,calc(25.4px - 3.06vw))!important
  }
}
