/* Small square pop-up docked above the chat launcher at the bottom right.
   It does not cover the page, blur it, or block clicks. Raise
   --sk-ad-offset if the chat window is taller than the default. */
.sk-ad {
  --sk-ad-size: 260px;
  --sk-ad-offset: 104px;
  position: fixed;
  right: 20px;
  bottom: var(--sk-ad-offset);
  z-index: 1150; /* above the site top bar (nav.css, 1030) and the phone widget (1090) */
}
.sk-ad[hidden] { display: none !important; }

.sk-ad-card {
  position: relative;
  width: var(--sk-ad-size);
  max-width: calc(100vw - 40px);
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.25);
}

.sk-ad-card--plain { background: rgba(15, 23, 42, 0.9); }

.sk-ad-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sk-ad-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 60%;
  overflow-y: auto;
  padding: 28px 14px 12px;
  color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.sk-ad-card--plain .sk-ad-panel {
  position: static;
  height: 100%;
  max-height: none;
  padding: 20px 18px;
  background: none;
  text-shadow: none;
  overflow: hidden;
}

.sk-ad-title {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  color: inherit;
}

.sk-ad-text,
.sk-ad-body {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.45;
  white-space: pre-line;
}
.sk-ad-body :where(p, ul, ol) { margin: 0 0 8px; }
.sk-ad-body a { color: #93c5fd; }

.sk-ad-cta {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 14px;
  font-size: 0.85rem;
  border-radius: 999px;
  background: #fff;
  color: #0f172a;
  font-weight: 600;
  text-decoration: none;
}
.sk-ad-cta:focus-visible,
.sk-ad-close:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 2px;
}

.sk-ad-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.65);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
