/* Shared demo chrome elements: backlink + terms modal/footer helpers */
.site-backlink {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 1080;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .45rem .75rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  color: #0d6efd;
  background: rgba(255, 255, 255, .95);
  border: 1px solid rgba(13, 110, 253, .25);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.site-backlink:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .16);
  background-color: #ffffff;
  color: #0a58ca;
}

.footer-line {
  font-size: 0.82rem;
  color: #52607a;
  line-height: 1.35;
  padding: 0.45rem 0 0.8rem;
}

.footer-line a {
  font-weight: 600;
  text-decoration: underline;
}

.footer-line a:hover {
  text-decoration: none;
}

.terms-modal-body {
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: left;
}

.modal-content .terms-modal-body h3,
.modal-content .terms-modal-body p {
  text-align: left;
}

.terms-modal-body h3 {
  color: #334155;
}
