/*
 * The embeddable widgets (/embed/compass/, /embed/qibla/ in every language):
 * the tool alone, compact, on a page made to sit in another site's iframe.
 * No ads, no analytics, no app banner; a small link back to the site.
 */

body.embed {
  box-sizing: border-box; /* the padding stays inside the frame's width */
  min-height: 0;
  padding: 12px 10px 8px;
}

.embed .floating-btn {
  margin-bottom: 14px;
}

.embed .compass {
  width: min(280px, 86vw);
  height: min(280px, 86vw);
}

.embed .compass > .compass-circle > .dir {
  font-size: calc((min(280px, 86vw) + 24px) * 0.0731);
}

.embed .degree-display {
  margin-top: 14px;
}

.embed-credit {
  margin: 14px 0 0;
  text-align: center;
  font-size: 12px;
}

.embed-credit a {
  color: var(--ink-soft, #4a5568);
}
