/* Athletics page. The phone mockup has a dark screen, but the shared note style is dark ink. */
.phone-screen .phone-head .mono-note { color: rgba(244, 241, 234, 0.65); }

/* Phone mockup bezel. The old bezel was a fixed 13px with a fixed 38px corner, while the
   screen corner scales with the phone, so on small phones the two curves stopped matching.
   Now the bezel is a spread shadow of the screen itself: it follows the screen corner, so
   both curves stay concentric at every size. The padding keeps the same 13/290 ratio
   (percent padding resolves against the grid cell, the same box the width uses), so the
   inner cqw calibration (264px content at 290px) is unchanged. */
.phone {
  border: 0; background: transparent; box-shadow: none;
  padding: min(13px, 4.483%);
}
.phone-screen {
  box-shadow: 0 0 0 4.924cqw var(--ink), 0 30px 80px 4.924cqw rgba(10, 10, 14, 0.35);
  overflow: hidden;
}
/* iPhone home indicator, so the photos do not run into the bottom edge. */
.phone-screen::after {
  content: ""; position: absolute; z-index: 7; left: 50%; bottom: 2.6cqw;
  width: 36cqw; height: 1.6cqw; transform: translateX(-50%);
  border-radius: 1cqw; background: rgba(244, 241, 234, 0.55);
  pointer-events: none;
}
.phone-gallery { padding-bottom: 8cqw; }
/* The "Demo complete" line stays for screen readers only. */
.phone-found {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Header sat too close to the notch; push it down and take a little back under the selfie
   row so the six photos still clear the home indicator. */
.phone-head { padding-top: 8cqw; }
.selfie-row { padding-bottom: 3cqw; }
.phone-gallery { padding-bottom: 7cqw; }
