/* DIGI HAM LINK v61 — CSS-only for authenticated, verified Personal AllStarLink.
   No changes to existing radio operations, audio, PTT, network tiles or backend. */
html body #view-radio.dhl-asl-v61-verified #vfoPanel {
  box-sizing:border-box!important;
  padding:12px!important;
  overflow:hidden!important;
  margin-bottom:12px!important;
}
html body #view-radio.dhl-asl-v61-verified #vfoPanel > * {box-sizing:border-box;max-width:100%;min-width:0;}
/* Existing v53 status banner: one compact line (wrap naturally on mobile). */
html body #view-radio.dhl-asl-v61-verified #vfoPanel #dhl-asl-v48-radio-state {
  display:block!important;position:relative!important;inset:auto!important;
  min-height:33px!important;height:auto!important;max-height:none!important;
  line-height:1.35!important;font-size:12px!important;
  margin:5px 0 8px!important;padding:7px 12px!important;
  box-sizing:border-box!important;white-space:normal!important;overflow-wrap:anywhere!important;
  overflow:hidden!important;
}
/* Fix compressed v52 details bar and unwanted double scrollbars. */
html body #view-radio.dhl-asl-v61-verified #vfoPanel details#dhl-asl-v52-details {
  display:block!important;position:relative!important;inset:auto!important;
  box-sizing:border-box!important;width:100%!important;min-width:0!important;
  min-height:35px!important;height:auto!important;max-height:none!important;
  margin:0 0 8px!important;padding:0 10px!important;
  overflow:hidden!important;float:none!important;transform:none!important;
}
html body #view-radio.dhl-asl-v61-verified #vfoPanel details#dhl-asl-v52-details > summary {
  display:list-item!important;box-sizing:border-box!important;min-height:34px!important;
  padding:9px 0!important;margin:0!important;line-height:1.4!important;
  font-size:12px!important;white-space:normal!important;overflow:visible!important;
  cursor:pointer;
}
html body #view-radio.dhl-asl-v61-verified #vfoPanel details#dhl-asl-v52-details[open] {
  max-height:190px!important;overflow:auto!important;
}
html body #view-radio.dhl-asl-v61-verified #vfoPanel #dhl-asl-v52-details pre {
  overflow:auto!important;max-height:130px!important;margin:2px 0 8px!important;
}
/* The v53 <strong> stays in the DOM, unchanged for the verifier and v57. */
html body #view-radio.dhl-asl-v61-verified #vfoPanel #dhl-asl-v53-hero {
  margin:6px 0!important;padding:8px 4px!important;
  min-width:0!important;max-width:100%!important;
  overflow:hidden!important;box-sizing:border-box!important;
}
html body #view-radio.dhl-asl-v61-verified #vfoPanel #dhl-asl-v53-hero.dhl-asl-v61-has-call > strong,
html body #view-radio.dhl-asl-v61-verified #vfoPanel #dhl-asl-v53-hero.dhl-asl-v61-has-call > span {
  display:none!important;
}
html body #view-radio.dhl-asl-v61-verified #vfoPanel #dhl-asl-v61-node-identity {
  display:flex;flex-direction:column;justify-content:center;align-items:center;
  gap:4px;box-sizing:border-box;min-width:0;max-width:100%;
  text-align:center;margin:0 auto;overflow:hidden;
}
html body #view-radio.dhl-asl-v61-verified #vfoPanel #dhl-asl-v53-hero:not(.dhl-asl-v61-has-call) #dhl-asl-v61-node-identity {
  display:none;
}
html body #view-radio.dhl-asl-v61-verified #vfoPanel .dhl-v61-call {
  display:block;color:#44e1dc;font-size:clamp(25px,3.2vw,43px);font-weight:850;
  line-height:1.13;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  font-family:ui-monospace,'DejaVu Sans Mono',monospace;
}
html body #view-radio.dhl-asl-v61-verified #vfoPanel .dhl-v61-node {
  display:block;color:#afd5e0;font-size:12px;line-height:1.45;
  max-width:100%;overflow-wrap:anywhere;
}
/* The existing station-readout remains separate: node callsign != on-air operator. */
html body #view-radio.dhl-asl-v61-verified #vfoPanel #dhl-asl-v57-speaker,
html body #view-radio.dhl-asl-v61-verified #vfoPanel #dhl-asl-v58-station {
  position:relative!important;inset:auto!important;min-height:48px!important;
  height:58px!important;max-height:58px!important;
  margin:3px 0!important;overflow:hidden!important;
}
/* Keep Last Heard inside the card without covering Mic Gain or controls. */
html body #view-radio.dhl-asl-v61-verified #vfoPanel details.dhl-asl-v61-lastheard {
  position:relative!important;inset:auto!important;float:none!important;
  transform:none!important;clear:both!important;z-index:auto!important;
  width:100%!important;max-width:100%!important;
  min-height:55px!important;height:auto!important;max-height:112px!important;
  overflow:auto!important;margin:8px 0!important;
  box-sizing:border-box!important;
}
html body #view-radio.dhl-asl-v61-verified #vfoPanel details.dhl-asl-v61-lastheard #talkingLast {
  max-height:66px!important;overflow:auto!important;
}
/* The mic gain control remains interactive but no longer overlays Last Heard. */
html body #view-radio.dhl-asl-v61-verified #vfoPanel .dhl-asl-v61-mic-wrap {
  position:relative!important;inset:auto!important;float:none!important;
  transform:none!important;clear:both!important;
  box-sizing:border-box!important;width:100%!important;max-width:100%!important;
  z-index:auto!important;margin:8px 0 0!important;min-height:36px!important;
}
@media(max-width:767px){
  /* Mobile's dedicated Last Heard and gain layout stay authoritative. */
  html body #view-radio.dhl-asl-v61-verified #vfoPanel details.dhl-asl-v61-lastheard {max-height:112px!important;}
  html body #view-radio.dhl-asl-v61-verified #vfoPanel .dhl-v61-call {font-size:clamp(24px,7vw,36px);}
}
