.rs-lph-tooltip {
  position: fixed;
  z-index: 999999;
  width: 350px;
  max-width: calc(100vw - 24px);
  height: 300px;
  background: #fff;
  border: 1px solid rgba(16, 24, 40, .08);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(2, 6, 23, .18);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
}

.rs-lph-tooltip.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.rs-lph-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  font-size: 13px;
  color: #475467;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.rs-lph-card {
  display: flex;
  gap: 10px;
  padding: 12px;
  border-bottom: 1px solid rgba(16, 24, 40, .08);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.rs-lph-thumb {
  width: 84px;
  min-width: 84px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  background: #eef2f6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rs-lph-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rs-lph-thumb.rs-lph-thumb--favicon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.rs-lph-meta {
  min-width: 0;
  flex: 1;
}

.rs-lph-title {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.35;
  color: #101828;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rs-lph-domain {
  font-size: 11px;
  color: #667085;
  margin-bottom: 6px;
}

.rs-lph-desc {
  font-size: 12px;
  line-height: 1.45;
  color: #475467;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rs-lph-iframe-wrap {
  position: relative;
  flex: 1;
  min-height: 120px;
  background: #f8fafc;
}

.rs-lph-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #fff;
}

.rs-lph-note {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  padding: 7px 9px;
  font-size: 11px;
  line-height: 1.3;
  color: #344054;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(16,24,40,.08);
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(2,6,23,.08);
}

.rs-lph-open-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: transparent;
}

.rs-lph-link {
  text-decoration-thickness: from-font;
}

@media (max-width: 767px) {
  .rs-lph-tooltip {
    display: none !important;
  }
}
