.match-pwa-install[hidden] {
  display: none !important;
}

@media (min-width: 769px) {
  .match-pwa-install {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .match-pwa-install {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    z-index: 9999;
    padding: 14px;
    border: 1px solid rgba(67, 56, 202, 0.18);
    border-radius: 14px;
    background: #ffffff;
    color: #111827;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.18);
  }

  .match-pwa-install__title {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
  }

  .match-pwa-install__body {
    margin: 0;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.45;
  }

  .match-pwa-install__actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
  }

  .match-pwa-install__button {
    min-height: 42px;
    padding: 10px 14px;
    border: 1px solid transparent;
    border-radius: 10px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
  }

  .match-pwa-install__button--primary {
    flex: 1 1 auto;
    background: #4338ca;
    color: #ffffff;
  }

  .match-pwa-install__button--secondary {
    flex: 0 0 auto;
    background: #ffffff;
    color: #4338ca;
    border-color: rgba(67, 56, 202, 0.28);
  }
}

@media (max-width: 480px) {
  .match-pwa-install {
    left: 10px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    padding: 12px;
  }

  .match-pwa-install__actions {
    flex-direction: column;
  }

  .match-pwa-install__button {
    width: 100%;
  }
}
