/* DIGI HAM LINK — mobile fixed PTT dock clearance v3
   Keeps the dock fixed but makes all Radio content scroll completely above it.
   Does not alter callsign, audio, or navigation behavior. */
@media (max-width: 640px) {
  html:not(.digi-signed-out) #view-radio {
    box-sizing: border-box;
    min-height: 0;
    overflow: visible !important;
    /* Measured dock height + breathing room. Takes precedence over old 165px rule. */
    padding-bottom: calc(var(--dhl-radio-dock-height, 90px) + 28px + env(safe-area-inset-bottom, 0px)) !important;
  }
  /* Make room for the dock at the document bottom, where scroll occurs. */
  html:not(.digi-signed-out):has(#tab-radio[aria-selected="true"]) main {
    padding-bottom: calc(var(--dhl-radio-dock-height, 90px) + 32px + env(safe-area-inset-bottom, 0px)) !important;
    overflow: visible;
  }
  html:not(.digi-signed-out) .radioDock {
    bottom: env(safe-area-inset-bottom, 0px) !important;
    box-sizing: border-box;
    max-height: min(120px, 28dvh);
    overflow: visible;
  }
  #view-radio .panel, #view-radio .bmPanel, #view-radio .bmHome,
  #view-radio .bmHomeCard, #view-radio .bmQuickCard {
    overflow: visible;
  }
  /* Old nonmatching negative-offset rule explicitly neutralized. */
  #view-radio .your-radio { top: auto !important; transform: none !important; }
  #view-radio .dhlMicShortcutRow { justify-content: center !important; }
}
