/* Daphne under the pitch.dog bar. Desktop: the bar is row 1 of Daphne's full-viewport grid.
   Narrow: Daphne's own bar scrolls away; only the pitch.dog bar and Daphne's tool rail stay. */
html[data-pdn-surface="daphne"] body > .pdn { --pdn-z: 40; }  /* Daphne's export scrim (z 50) covers the bar */
html[data-pdn-surface="daphne"] body { grid-template-rows: var(--pdn-h) 56px minmax(0, 1fr); }
@media (max-width: 860px) {
  html[data-pdn-surface="daphne"] body { grid-template-rows: var(--pdn-h) auto minmax(0, 1fr); }
  html[data-pdn-surface="daphne"] header.top { position: relative; top: auto; }
  html[data-pdn-surface="daphne"] .rail { top: var(--pdn-h); }
  /* Focus and in-page jumps land below the bar and the stuck rail (72px tall on phones), not under them. */
  html[data-pdn-surface="daphne"] { scroll-padding-top: calc(var(--pdn-h) + 72px); }
}
