/* Roomly share sheet (2026-10-07) — меню roomly-share.js. */
.rt-share {
  position: fixed; inset: 0; z-index: 1200;
  display: flex; align-items: center; justify-content: center; padding: 16px;
  background: rgba(15, 20, 30, .45);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  font-family: 'Onest', Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  animation: rt-share-in .15s ease-out;
}
@keyframes rt-share-in { from { opacity: 0; } to { opacity: 1; } }
.rt-share__sheet {
  width: min(420px, 100%); padding: 18px; border-radius: 24px; background: #fff; color: #17181b;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 32px 80px -24px rgba(16, 24, 40, .45);
}
.rt-share__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.rt-share__head b { font-size: 16px; font-weight: 600; }
.rt-share__x { width: 32px; height: 32px; border: 0; border-radius: 999px; background: #f4f6f8; color: #5b6170; font-size: 20px; line-height: 1; cursor: pointer; }
.rt-share__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.rt-share__item {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px;
  border: 0; border-radius: 16px; background: #f4f6f8; color: #17181b !important; text-decoration: none;
  font: inherit; font-size: 12.5px; font-weight: 500; cursor: pointer; transition: background .15s ease, transform .15s ease;
}
.rt-share__item:hover { background: #eceff3; transform: translateY(-1px); }
.rt-share__item span { width: 40px; height: 40px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.rt-share__item--tg span { background: #2aabee; }
.rt-share__item--wa span { background: #25d366; }
.rt-share__item--vk span { background: #0077ff; }
.rt-share__item--ok span { background: #ee8208; }
.rt-share__item--mail span { background: #5b6170; }
.rt-share__item--more span { background: #3d7ff2; }
.rt-share__url { display: flex; gap: 8px; margin-top: 14px; }
.rt-share__url input {
  flex: 1; min-width: 0; height: 40px; padding: 0 12px; border-radius: 12px;
  border: 1px solid rgba(16, 24, 40, .1); background: #f4f6f8; color: #17181b; font: inherit; font-size: 13px;
}
.rt-share__url button {
  height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: #3d7ff2; color: #fff;
  font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
}
.rt-share__url button:hover { background: #2f6fe0; }
body:not(.light-theme) .rt-share__sheet { background: #1c2029; color: #f2f4f8; }
body:not(.light-theme) .rt-share__item { background: rgba(255, 255, 255, .06); color: #f2f4f8 !important; }
body:not(.light-theme) .rt-share__item:hover { background: rgba(255, 255, 255, .1); }
body:not(.light-theme) .rt-share__x,
body:not(.light-theme) .rt-share__url input { background: rgba(255, 255, 255, .06); color: #f2f4f8; border-color: rgba(255, 255, 255, .1); }
@media (prefers-reduced-motion: reduce) { .rt-share, .rt-share__item { animation: none; transition: none; } }
