:root {
  --notch-mobile-actions-height: 62px;
}

#inquiry {
  scroll-margin-top: 96px;
}

.notch-mobile-actions,
.notch-mobile-actions-spacer {
  display: none;
}

@media (max-width: 780px) {
  .notch-mobile-actions {
    position: fixed;
    inset-inline: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    z-index: 12000;
    display: grid;
    grid-template-columns: minmax(0, .84fr) minmax(0, 1fr) minmax(0, 1.35fr);
    gap: 4px;
    min-height: var(--notch-mobile-actions-height);
    padding: 5px;
    overflow: hidden;
    color: #151817;
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(20, 64, 53, .18);
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(13, 31, 26, .2);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    backdrop-filter: blur(14px) saturate(140%);
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(100% + 24px + env(safe-area-inset-bottom, 0px)));
    transition: transform .32s cubic-bezier(.22, 1, .36, 1), opacity .2s ease;
  }

  .notch-mobile-actions.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
  }

  .notch-mobile-actions__item {
    display: flex;
    min-width: 0;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 6px 5px;
    color: #1d2724;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: transform .15s ease, opacity .15s ease;
  }

  .notch-mobile-actions__item:active {
    background: rgba(20, 64, 53, .09);
  }

  .notch-mobile-actions__item:focus-visible {
    outline: 2px solid #174f41;
    outline-offset: -2px;
  }

  .notch-mobile-actions__item--primary {
    color: #fff;
    background: #174f41;
  }

  .notch-mobile-actions__item--primary:active {
    background: #103c31;
  }

  .notch-mobile-actions__icon {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .notch-mobile-actions__text {
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.2;
    letter-spacing: 0;
  }

  .notch-mobile-actions-spacer {
    display: block;
    height: calc(var(--notch-mobile-actions-height) + 24px + env(safe-area-inset-bottom, 0px));
  }

  body.intro-active .notch-mobile-actions,
  body.image-zoom-lock .notch-mobile-actions,
  body.lang-switching .notch-mobile-actions,
  body.mobile-action-input-focus .notch-mobile-actions,
  body.is-leaving .notch-mobile-actions,
  body.fs-mode .notch-mobile-actions {
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(100% + 24px + env(safe-area-inset-bottom, 0px)));
  }
}

@media (max-width: 360px) {
  .notch-mobile-actions {
    inset-inline: 7px;
    bottom: calc(7px + env(safe-area-inset-bottom, 0px));
  }

  .notch-mobile-actions__item {
    gap: 3px;
    padding-inline: 3px;
  }

  .notch-mobile-actions__text {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .notch-mobile-actions {
    transition-duration: .01ms;
  }
}

@media print {
  .notch-mobile-actions,
  .notch-mobile-actions-spacer {
    display: none !important;
  }
}
