/* Round only: painted chapters can extend below floating browser UI, while
   their border-free content/scrollport remains the usable visual height.
   No guessed toolbar pixels, and no duplicate compensation for fixed arrows. */
@media (max-width:700px) {
  body.abc-round-experience {
    --round-action-edge:max(20px,env(safe-area-inset-bottom,0px));
  }
  body.abc-round-experience .orbit-journey,
  body.abc-round-experience .orbit-journey>.experience,
  body.abc-round-experience [data-abc-product-screen] {
    box-sizing:border-box;
    height:var(--round-mobile-chapter-height,var(--round-mobile-screen-height,100dvh))!important;
    min-height:var(--round-mobile-chapter-height,var(--round-mobile-screen-height,100dvh))!important;
    max-height:var(--round-mobile-chapter-height,var(--round-mobile-screen-height,100dvh))!important;
    margin-block:0;
  }
  body.abc-round-experience .orbit-journey {border-bottom:0}
  body.abc-round-experience .orbit-journey>.experience,
  body.abc-round-experience [data-abc-product-screen]:not(.orbit-journey) {
    border-bottom:var(--round-mobile-paint-reserve,0px) solid transparent;
    background-clip:border-box;
  }
  body.abc-round-experience .orbit-journey>.experience {
    position:relative;
    top:auto;
    display:grid;
    grid-template-rows:auto minmax(0,1fr) auto auto;
    overflow:hidden;
    /* Its photograph covers the padding box; never expose the old white
       canvas in the newly reserved, non-interactive browser-underlay strip. */
    background-color:#090c0b!important;
  }
  body.abc-round-experience .experience>.topbar {
    grid-row:1;
    min-width:0;
  }
  body.abc-round-experience .experience>.hero {
    grid-row:2;
    min-width:0;
    min-height:0;
    display:flex;
    align-items:flex-start;
    padding:12px 20px;
    overflow-y:auto;
    overscroll-behavior-y:contain;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:thin;
    scrollbar-color:#b99766 transparent;
  }
  body.abc-round-experience .hero__content {
    width:100%;
    min-width:0;
    padding:0;
    flex:none;
    display:flex;
    flex-direction:column;
  }
  body.abc-round-experience .experience>.hero-size {
    grid-row:3;
    position:relative;
    inset:auto;
    width:auto;
    max-width:none;
    min-width:0;
    margin:8px 20px 0;
    padding:0;
  }
  body.abc-round-experience .hero-size__order {
    min-height:44px;
    margin-bottom:8px;
    padding-block:4px;
  }
  body.abc-round-experience .hero-size__options button {
    min-height:44px;
  }
  body.abc-round-experience .hero__actions {
    order:-1;
    flex:none;
    gap:4px 20px;
    align-items:center;
    margin:0 0 16px;
  }
  body.abc-round-experience .hero__actions :is(.film-link,.topbar__model) {
    min-height:44px;
    padding-block:4px;
    max-width:100%;
  }
  body.abc-round-experience .experience>.scene-footer {
    grid-row:4;
    position:relative;
    inset:auto;
    min-width:0;
    min-height:0;
    margin:0 20px;
    padding:8px 0 var(--round-action-edge);
  }
  body.abc-round-experience .scene-footer>a {
    display:inline-flex;
    align-items:center;
    min-height:44px;
    padding-block:4px;
  }
  body.abc-round-experience .back-to-top,
  body.abc-round-experience .back-to-top.is-over-specs {
    bottom:calc(var(--round-viewport-bottom-offset,0px) + var(--round-action-edge))!important;
    min-width:44px;
    min-height:44px;
  }
  /* The pager already tests native overflow before changing chapters. Keep
     dense/text-zoomed content readable within its one visible screen. */
  body.abc-round-experience [data-abc-product-screen]:not(.orbit-journey) {
    overflow-y:auto;
    overscroll-behavior-y:contain;
    -webkit-overflow-scrolling:touch;
  }
}

/* Text actions stay ink-and-line links on touch, hover and keyboard focus.
   Native pickers, option states, play controls and their hit areas are untouched. */
body.abc-round-experience :is(.section-actions a,.round-video-stage__project,.closing-cta a,.hero-size__order) {
  min-height:44px;
  align-items:center;
  background-color:transparent!important;
  background-image:none!important;
  -webkit-tap-highlight-color:transparent;
}
body.abc-round-experience :is(.section-actions a,.round-video-stage__project,.closing-cta a,.hero-size__order):focus-visible {
  outline:2px solid #edbf89;
  outline-offset:4px;
}
@media (max-width:374px) {
  body.abc-round-experience .experience>.hero {padding-inline:16px}
  body.abc-round-experience .experience>:is(.hero-size,.scene-footer) {margin-inline:16px}
  body.abc-round-experience .hero__actions {gap:4px 12px}
}
@media (max-width:700px) and (max-height:640px) {
  body.abc-round-experience .hero-title--architecture {font-size:clamp(32px,8.8vw,44px);margin-bottom:14px}
  body.abc-round-experience .hero__content h1.eyebrow {margin-bottom:14px}
  body.abc-round-experience .hero__description {margin-bottom:12px}
  body.abc-round-experience .experience>.hero {align-items:flex-start;padding-block:8px}
}
