.phone-pick-wrap {
  display: flex;
  align-items: stretch;
  gap: 0.45rem;
}

.phone-pick-wrap .input,
.phone-pick-wrap input[type='tel'] {
  flex: 1;
  min-width: 0;
}

.phone-pick-btn {
  flex: 0 0 auto;
  width: 2.65rem;
  border-radius: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(84, 148, 255, 0.14);
  color: #dbe8ff;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.phone-pick-btn:active {
  transform: scale(0.97);
}

.phone-pick-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(0, 0, 0, 0.55);
}

.phone-pick-backdrop.hidden {
  display: none;
}

.phone-pick-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 121;
  max-height: min(72vh, 34rem);
  overflow: auto;
  border-radius: 1rem 1rem 0 0;
  background: #151922;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.45);
  padding: 0.85rem 0.85rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
}

.phone-pick-sheet.hidden {
  display: none;
}

.phone-pick-sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.phone-pick-sheet__title {
  margin: 0;
  font-family: var(--ff-heading, inherit);
  color: #fff;
  font-size: 1rem;
}

.phone-pick-sheet__close {
  border: 0;
  background: transparent;
  color: #9aa8bc;
  font-size: 1.35rem;
  line-height: 1;
  padding: 0.15rem 0.35rem;
}

.phone-pick-sheet__actions {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

.phone-pick-sheet__action {
  width: 100%;
  text-align: left;
  border-radius: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #eef2f8;
  padding: 0.7rem 0.8rem;
  font: inherit;
}

.phone-pick-sheet__section {
  margin: 0.15rem 0 0.45rem;
  font-size: 0.78rem;
  color: #9aa8bc;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.phone-pick-sheet__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.phone-pick-sheet__item {
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: #eef2f8;
  padding: 0.65rem 0.15rem;
  font: inherit;
}

.phone-pick-sheet__item:last-child {
  border-bottom: 0;
}

.phone-pick-sheet__phone {
  display: block;
  font-weight: 600;
}

.phone-pick-sheet__name {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.82rem;
  color: #9aa8bc;
}

.phone-pick-sheet__hint {
  margin: 0.75rem 0 0;
  font-size: 0.78rem;
  color: #7d8798;
  line-height: 1.45;
}

.phone-pick-sheet__empty {
  margin: 0.35rem 0 0.5rem;
  font-size: 0.85rem;
  color: #9aa8bc;
}

html:not(.mobile-console) .phone-pick-btn {
  display: none;
}

html:not(.mobile-console) .phone-pick-wrap .input,
html:not(.mobile-console) .phone-pick-wrap input[type='tel'] {
  width: 100%;
}
