/* v155 — restore home scroll stories on phones where they fit.
   Preserve v154 natural-flow reading on truly short screens and reduced motion. */
@media (max-width:800px) {
  body.sober-home #allianz-trade-pay[data-at84-ready] .at84-track {display:block!important}
  body.sober-home #allianz-trade-pay[data-at84-ready] .ap-reading {display:none!important}
  body.sober-home #apphalt-produit[data-ah-ready] .ah-track {display:block!important}
  body.sober-home #apphalt-produit[data-ah-ready] .ah-product-reading {display:none!important}
}
/* The position word used to leak as a cropped fragment at the foot of the
   animated viewport. Progress ticks remain the visual navigation affordance. */
@media (max-width:800px) {
  body.sober-home #allianz-trade-pay[data-at84-ready] .client-story-position .gn93-progress,
  body.sober-home #apphalt-produit[data-ah-ready] .client-story-position .gn93-progress {
    display:none!important;
  }
}
/* Compact, but still animated, phones: give the stage real room for both
   its short explanation and the interface without either sitting on top. */
@media (max-width:800px) and (max-height:720px) {
  body.sober-home #allianz-trade-pay[data-at84-ready] .at84-stage-inner {
    padding-top:7px;
    padding-bottom:10px;
    gap:6px;
  }
  body.sober-home #allianz-trade-pay[data-at84-ready] .at84-beat h3 {
    font-size:26px;
    line-height:1.03;
    margin-bottom:7px;
  }
  body.sober-home #allianz-trade-pay[data-at84-ready] .at84-beat p {
    font-size:11.5px;
    line-height:1.33;
  }
  body.sober-home #allianz-trade-pay[data-at84-ready] .at84-beat--4 .project-result-label {
    font-size:13px;
    line-height:1.26;
  }
}
@media (max-width:800px) and (max-height:720px) {
  body.sober-home #allianz-trade-pay[data-at84-ready] .ap-toolbar {height:30px}
  body.sober-home #allianz-trade-pay[data-at84-ready] .ap-workspace {padding:7px}
}
@media (max-width:800px) and (max-height:720px) {
  body.sober-home #allianz-trade-pay[data-at84-ready] .ap-art[data-ap-phase="0"] .ap-module {
    padding:11px;
  }
  body.sober-home #allianz-trade-pay[data-at84-ready] .ap-context {margin-bottom:3px}
}
@media (max-width:800px) and (max-height:720px) {
  /* Reserve caption space beneath the AppHalt screenshot on short phones. */
  body.sober-home #apphalt-produit[data-ah-ready][data-ah-phase="3"] .ah-real-capture img {
    height:auto!important;
    max-height:300px!important;
    width:auto!important;
  }
}
