/*! Isobars (isobars 1.0.0) by Frontier Templates. Styles for the vanilla build.
Free gem: Free for personal and commercial sites; do not resell the gem itself. https://frontiertemplates.com/gems/isobars */
/* Isobars. Every rule is scoped to .isb so the gem drops into any page. Size the element; the map fills it. */
.isb {
  --isb-bg: #0a1020;
  --isb-ink: #eef2f6;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 280px;
  background: var(--isb-bg);
  color: var(--isb-ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
/* the root sizes itself the same whatever the host page's reset says */
.isb, .isb *, .isb *::before, .isb *::after { box-sizing: border-box; }
.isb-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}
/* a soft edge so overlaid copy reads on any palette */
.isb::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(120% 90% at 30% 50%, transparent 40%, rgba(0, 0, 0, 0.32) 100%);
}
.isb-content {
  position: relative;
  z-index: 2;
  height: 100%;
}
.isb-ui {
  position: absolute;
  right: clamp(12px, 2.4vw, 28px);
  bottom: clamp(12px, 2.4vw, 28px);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
}
.isb-note {
  font-size: 11px;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  opacity: 0.7;
}
.isb-btn {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  color: var(--isb-ink);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}
.isb-btn:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.6); }
.isb-btn:focus-visible { outline: 2px solid var(--isb-ink); outline-offset: 3px; }
.isb-btn svg { width: 16px; height: 16px; }
.isb-ico-play { display: none; }
.isb-paused .isb-ico-play { display: block; }
.isb-paused .isb-ico-pause { display: none; }
@media (prefers-reduced-motion: reduce) {
  .isb-btn { transition: none; }
}
