/* Phone contact bar, styled after the supplied reference. */
.yzipi-contact-dock,
.yzipi-contact-feedback {
  display: none;
}

@media only screen and (max-width: 700px) {
  .yzipi-mobile-bottom-nav {
    display: none !important;
  }

  .yzipi-contact-dock {
    position: fixed;
    z-index: 1002;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    box-sizing: border-box;
    padding: 6px 10px calc(6px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid #f1dbe1;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 -3px 16px rgba(120, 20, 40, .09);
  }

  .yzipi-contact-accounts {
    display: flex;
    gap: 8px;
    max-width: 460px;
    margin: 0 auto;
  }

  .yzipi-contact-account {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
    box-sizing: border-box;
    min-width: 0;
    min-height: 48px;
    padding: 6px 9px;
    border: 1px solid #f5e0e5;
    border-radius: 8px;
    background: linear-gradient(135deg, #fff8fa, #fff);
    box-shadow: 0 1px 5px rgba(180, 25, 55, .05);
    color: #333;
    font: inherit;
    text-align: left;
    cursor: pointer;
  }

  .yzipi-contact-account:hover {
    border-color: #ec2b42;
    background: #fff8fa;
  }

  .yzipi-contact-account:focus-visible {
    outline: 2px solid #bc1b32;
    outline-offset: 2px;
  }

  .yzipi-contact-account-text {
    display: block;
    flex: 1;
    min-width: 0;
  }

  .yzipi-contact-account-label {
    display: block;
    color: #666;
    font-size: 10px;
    line-height: 1.25;
    white-space: nowrap;
  }

  .yzipi-contact-account strong {
    display: block;
    color: #c91b33;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    overflow-wrap: anywhere;
    user-select: text;
  }

  .yzipi-contact-copy-icon {
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    color: #ec2b42;
  }

  .yzipi-contact-feedback {
    position: fixed;
    z-index: 1100;
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    left: 50%;
    display: block;
    box-sizing: border-box;
    width: max-content;
    max-width: calc(100% - 32px);
    padding: 11px 17px;
    border-radius: 8px;
    background: #383039;
    box-shadow: 0 5px 20px rgba(51, 34, 43, .13);
    color: #fff;
    font-size: 13px;
    line-height: 1.7;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow-wrap: anywhere;
    transform: translateX(-50%);
  }

  .yzipi-contact-feedback.is-visible {
    opacity: 1;
    visibility: visible;
  }

  #dibu .scroll {
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }
}

@media only screen and (max-width: 360px) {
  .yzipi-contact-dock { padding-right: 7px; padding-left: 7px; }
  .yzipi-contact-accounts { gap: 6px; }
  .yzipi-contact-account { gap: 6px; padding-right: 7px; padding-left: 7px; }
  .yzipi-contact-account-label { font-size: 9px; }
  .yzipi-contact-account strong { font-size: 13px; }
}

@media print {
  .yzipi-contact-dock,
  .yzipi-contact-feedback { display: none !important; }
}
