/* Desktop/laptop only: preserve original radio layout and the existing Mic Gain widget. */
@media (min-width:1024px) {
  html:not(.digi-signed-out):has(#tab-radio[aria-selected="true"]) #view-radio > #vfoPanel {
    display:flex !important;
    flex-direction:column !important;
    padding-bottom:52px !important; /* Reserve space for the existing bottom-anchored gain bar. */
    overflow:hidden !important;
  }
  html:not(.digi-signed-out):has(#tab-radio[aria-selected="true"]) #view-radio > #vfoPanel > #talkingCurrent {
    flex:0 1 auto !important;
    max-height:clamp(42px,10vh,77px) !important;
    overflow-y:auto !important;
  }
  html:not(.digi-signed-out):has(#tab-radio[aria-selected="true"]) #view-radio > #vfoPanel > details:has(> #talkingLast) {
    display:block !important;
    flex:0 0 auto !important;
    margin-top:auto !important;
    margin-bottom:0 !important;
    min-height:0 !important;
    max-height:86px !important;
    overflow:hidden !important;
    padding:3px 7px !important;
    border-radius:7px !important;
    background:#0b2538 !important;
    border:1px solid #2e5268 !important;
    box-sizing:border-box !important;
  }
  #view-radio > #vfoPanel > details:has(> #talkingLast) > summary {
    display:list-item !important;
    font-size:11px !important;
    padding:0 0 2px !important;
    margin:0 !important;
    line-height:1.25 !important;
  }
  #view-radio > #vfoPanel #talkingLast {
    display:block !important;
    max-height:61px !important;
    overflow-y:auto !important;
    padding:0 !important;
    margin:0 !important;
    list-style:none !important;
    scrollbar-width:thin;
  }
  #view-radio > #vfoPanel #talkingLast > li {
    display:block !important;
    font-size:11px !important;
    line-height:1.28 !important;
    padding:2px 0 !important;
    margin:0 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }
  #view-radio > #vfoPanel #talkingLast > li:nth-child(n+4) {display:none !important;}
  /* The real Mic Gain slider keeps its established position and handlers. */
  #view-radio > #vfoPanel #dhlInlineMicGain {bottom:6px !important;}
}
