/* Android-only chapter separation. iOS and desktop retain the accepted V15.1 layout. */
@media(max-width:700px){
 html.android-device .chapter-navigation{
  display:flex;grid-template-columns:none;gap:10px;max-width:none;
  margin:0 -24px 22px;padding:3px 24px 12px;
  border:0;background:#102027;overflow-x:auto;
  overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;
  scroll-snap-type:x mandatory;scroll-padding-inline:24px;
  scrollbar-width:thin;scrollbar-color:#a9b39f #24373b;
 }
 html.android-device .chapter-navigation::-webkit-scrollbar{height:3px}
 html.android-device .chapter-navigation::-webkit-scrollbar-track{background:#24373b}
 html.android-device .chapter-navigation::-webkit-scrollbar-thumb{background:#a9b39f;border-radius:3px}
 html.android-device .chapter-choice,
 html.android-device .chapter-choice:last-child{
  flex:0 0 154px;min-width:154px;min-height:78px;padding:11px 13px;
  border:1px solid #52615f;border-radius:3px;background:#14272d;
  scroll-snap-align:start;scroll-snap-stop:always;
 }
 html.android-device .chapter-choice[aria-current=step]{
  border-color:#f0bb90;background:#f0bb90;color:#102027;
  box-shadow:0 0 0 1px #f0bb90 inset;
 }
 html.android-device .chapter-stage[data-chapter="4"] .chapter-choice[aria-current=step]{border-color:#f0d282;background:#f0d282;box-shadow:0 0 0 1px #f0d282 inset}
 html.android-device .chapter-stage[data-chapter="5"] .chapter-choice[aria-current=step]{border-color:#8cdbc8;background:#8cdbc8;box-shadow:0 0 0 1px #8cdbc8 inset}
 html.android-device .chapter-choice:after{font-size:16px;line-height:1.16;margin-top:8px}
 html.android-device:not(.chapters-ready) .chapter-navigation{
  position:sticky;top:var(--chapter-top,77px);z-index:7;
  box-shadow:0 12px 24px rgba(4,14,18,.18);
 }
 html.android-device:not(.chapters-ready) .chapter-panels{
  display:grid;gap:clamp(56px,12svh,96px);
 }
 html.android-device:not(.chapters-ready) .business-chapter{
  min-height:min(720px,calc(100svh - var(--chapter-top,77px) - 20px));
  align-content:center;padding:18px 0 44px;
  border-bottom:1px solid rgba(169,179,159,.42);
  scroll-margin-top:calc(var(--chapter-top,77px) + 104px);
 }
 html.android-device:not(.chapters-ready) .business-chapter:last-child{border-bottom:0}
}
@media(prefers-reduced-motion:reduce){
 html.android-device .chapter-navigation{scroll-behavior:auto}
}
