/* Share and save bar (templates/_share.html). */
.share-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 22px 0 6px;
  padding: 14px 0 0;
  border-top: 1px solid var(--edge-soft, #edf2f8);
}
.share-label { font-size: 14px; font-weight: 700; color: #29466f; }
.share-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.share-save-form { display: contents; }
.share-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 7px 14px;
  border: 1px solid var(--edge, #dbe5f1);
  border-radius: 999px;
  background: #fff;
  color: #29466f;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  line-height: 1;
  cursor: pointer;
}
.share-button:hover { border-color: #9dbbe6; background: #f5f9ff; }
.share-button[hidden] { display: none; }
.share-button .icon { width: 16px; height: 16px; }
.share-button b {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
.share-facebook b { background: #1877f2; }
.share-band b { background: #06c755; }
.share-native { border-color: #f7d94c; background: #fff8cf; color: #3b2e00; }
.share-native:hover { border-color: #e7c62b; background: #fff2a8; }
.share-copy.is-done { border-color: #8fd3b0; background: #eefaf3; color: #1f7a57; }
.share-save.is-saved { border-color: #f1b8bd; background: #fff1f2; color: #b3121f; }
.share-save.is-saved .icon { fill: currentColor; }
@media (max-width: 620px) {
  .share-bar { gap: 8px; }
  .share-label { width: 100%; }
  .share-button { padding: 7px 12px; }
}
.place-share { padding: 4px 22px 16px; }
.place-share .share-bar { border-top: 0; margin-top: 8px; }

/* "Install the app" bar (templates/_install.html) */
.install-bar {
  position: fixed;
  z-index: 60;
  left: 50%;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(560px, calc(100% - 24px));
  padding: 12px 12px 12px 14px;
  border: 1px solid #d6e6f5;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px -16px #17366580;
  transform: translateX(-50%);
}
.install-bar[hidden] { display: none; }
.install-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; }
.install-copy { display: grid; gap: 2px; flex: 1; min-width: 0; }
.install-copy strong { font-size: 15px; color: var(--ink, #1b2a41); }
.install-copy span { font-size: 13px; line-height: 1.4; color: #5f6e86; }
.install-ios[hidden] { display: none; }
.install-bar .button[hidden] { display: none; }
.install-close {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #f1f5fa;
  color: #465e7c;
  cursor: pointer;
}
.install-close .icon { width: 14px; height: 14px; }
