/* Shared CTA border; inline layout stays in the article stylesheet. */
@property --exnovin-preferred-border-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
@supports (background: conic-gradient(from 0deg, #60a5fa, #38bdf8)) and ((mask-composite: exclude) or (-webkit-mask-composite: xor)) {
  .sectionBlogSingle .singleArticlePreferredSource__inline::before,
  .exvPreferredSource::before {
    content: "";
    position: absolute;
    inset: 0;
    box-sizing: border-box;
    padding: 2px;
    border-radius: inherit;
    pointer-events: none;
    background: conic-gradient(from var(--exnovin-preferred-border-angle, 0deg), #60a5fa, #38bdf8, #a78bfa, #f0a6ca, #7bc8ac, #e6d28a, #60a5fa);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    animation: exnovinPreferredBorderTurn 8s linear infinite;
  }
}
@keyframes exnovinPreferredBorderTurn {
  from { --exnovin-preferred-border-angle: 0deg; }
  to { --exnovin-preferred-border-angle: 360deg; }
}
@media (prefers-reduced-motion: reduce) {
  .sectionBlogSingle .singleArticlePreferredSource__inline::before,
  .exvPreferredSource::before { animation: none; }
}
/* Floating card presentation; its existing entry/exit motion is independent. */
.exvPreferredSource[hidden] { display: none; }
.exvPreferredSource {
  position: fixed;
  inset: auto;
  right: max(20px, env(safe-area-inset-right, 0px));
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 900;
  margin: 0;
  box-sizing: border-box;
  width: 370px;
  max-width: calc(100% - 40px);
  max-height: calc(100vh - 40px - env(safe-area-inset-bottom, 0px));
  max-height: calc(100dvh - 40px - env(safe-area-inset-bottom, 0px));
  overflow: auto;
  padding: 20px;
  border: 1px solid #e6e8ef;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 24px rgb(16 24 40 / 12%);
  color: #172033;
  font-family: inherit;
  text-align: start;
}
.exvPreferredSource:not([hidden]) { animation: exnovinPreferredCardIn 200ms ease-out both; }
.exvPreferredSource[data-closing="true"] { animation: exnovinPreferredCardOut 140ms ease-in both; }
@keyframes exnovinPreferredCardIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes exnovinPreferredCardOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(6px); }
}
.exvPreferredSource .singleArticlePreferredSource__heading {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding-inline-end: 24px;
}
.exvPreferredSource .singleArticlePreferredSource__heading > p {
  margin: 0;
  color: #172033;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.9;
  text-align: start;
}
.exvPreferredSource .singleArticlePreferredSource__logo {
  flex: 0 0 20px;
  width: 20px;
  max-width: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  object-fit: contain;
}
.exvPreferredSource .singleArticlePreferredSource__description {
  margin: 12px 0 16px;
  color: #172033;
  font-size: 14px;
  line-height: 1.9;
  text-align: start;
}
.exvPreferredSource .singleArticlePreferredSource__actions {
  display: flex;
  align-items: center;
  justify-content: center;
}
.exvPreferredSource .singleArticlePreferredSource__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 160px;
  min-height: 46px;
  max-width: 100%;
  padding: 10px 14px;
  border: 1px solid #1664df;
  border-radius: 10px;
  background: #1664df;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.8;
  text-align: start;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.exvPreferredSource .singleArticlePreferredSource__button:hover { filter: brightness(0.94); }
.exvPreferredSource .singleArticlePreferredSource__close {
  min-width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #172033;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.exvPreferredSource .singleArticlePreferredSource__close {
  position: absolute;
  inset-inline-end: 4px;
  top: 4px;
  font-size: 26px;
}
.exvPreferredSource .singleArticlePreferredSource__close:hover { background: #f6f8fc; }
.exvPreferredSource :is(a, button):focus-visible {
  outline: 2px solid #1664df;
  outline-offset: 3px;
}
@media (max-width: 600px) {
  .exvPreferredSource {
    right: max(12px, env(safe-area-inset-right, 0px));
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    width: calc(100% - 24px);
    max-width: min(390px, calc(100% - 24px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)));
    padding: 18px;
  }
  .exvPreferredSource .singleArticlePreferredSource__button { padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .exvPreferredSource:not([hidden]) { animation: none; }
  .exvPreferredSource .singleArticlePreferredSource__button { transition: none; }
}
