/* Keep the status-bar edge outside the scrollable area on phones.
   The default viewport keeps the time and camera outside the page controls. */
@media (max-width: 620px), (pointer: coarse) and (max-height: 520px) {
  :root {
    height: 100%;
    overflow: hidden;
    background: var(--brand-green);
    overscroll-behavior-y: none;
  }
  body.pond-layout {
    position: fixed;
    inset: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: var(--brand-green);
  }
  .pond-layout > .pond-page { height: 100%; }
  .pond-layout > .pond-page > .wallet-shell {
    display: grid;
    grid-template: auto minmax(0, 1fr) / minmax(0, 1fr);
    width: 100%;
    height: 100%;
    min-height: 0;
    max-width: none;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .brand-header { position: relative; touch-action: pinch-zoom; }
  .brand-ripples::after { top: auto; bottom: -4rem; }
  .wallet-content {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior-y: none;
    padding-block-end: var(--pond-clearance);
    scroll-padding-block: .75rem calc(var(--pond-clearance) + .75rem);
  }
}
