/* The center slot in the existing mobile action bar offers a choice on shared pages. */
:is(#pedias-home, #pedias-pages) .pc-mobile-actions .pcvn-call-picker {
  position: static;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--ink, #243c31);
  color: var(--paper, #fffdf6);
}

:is(#pedias-home, #pedias-pages) .pc-mobile-actions .pcvn-call-picker > summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  box-sizing: border-box;
  min-height: 52px;
  height: 100%;
  padding: 10px 6px;
  border: 0;
  color: inherit;
  font: 600 12px/1.3 Arial, sans-serif;
  text-align: center;
  list-style: none;
  cursor: pointer;
}

.pcvn-call-picker > summary::-webkit-details-marker { display: none; }
:is(#pedias-home, #pedias-pages) .pc-mobile-actions .pcvn-call-picker > summary::after {
  content: "";
  width: 6px;
  height: 6px;
  border: solid currentColor;
  border-width: 1.5px 1.5px 0 0;
  transform: translateY(2px) rotate(-45deg);
}
:is(#pedias-home, #pedias-pages) .pc-mobile-actions .pcvn-call-picker[open] > summary::after {
  transform: translateY(-2px) rotate(135deg);
}

:is(#pedias-home, #pedias-pages) .pc-mobile-actions .pcvn-call-options {
  position: absolute;
  inset: auto 8px calc(100% + 4px);
  box-sizing: border-box;
  width: min(352px, calc(100% - 16px));
  max-height: 50vh;
  overflow: auto;
  margin-inline: auto;
  padding: 4px;
  border: 1px solid #bfc7ba;
  border-radius: 7px;
  background: #fffdf6;
  box-shadow: 0 4px 16px rgb(30 47 37 / 14%);
}

:is(#pedias-home, #pedias-pages) .pc-mobile-actions .pcvn-call-options > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  box-sizing: border-box;
  min-height: 46px;
  padding: 9px 12px;
  border: 0;
  border-radius: 3px;
  background: #fffdf6;
  color: #253e32;
  font: 600 15px/1.35 Arial, sans-serif;
  text-align: start;
  text-decoration: none;
}

.pcvn-call-options small {
  color: #415749;
  font: 400 13px/1.3 Arial, sans-serif;
  white-space: nowrap;
}

:is(#pedias-home, #pedias-pages) .pc-mobile-actions .pcvn-call-options > a:is(:hover, :focus-visible) {
  background: #edf1e9;
}
:is(#pedias-home, #pedias-pages) .pcvn-call-picker :focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -3px;
}
