/*! Plotter (plotter 1.0.0) by Frontier Templates. Styles for the vanilla build.
Licensed gem: Licensed with Full Access, for the sites you build; do not resell the gem itself. https://frontiertemplates.com/gems/plotter */
/* Plotter. Every rule is scoped to .plt so the gem drops into any page. Give it a width and a height (about 460 px). */
.plt {
  --plt-ink: #1f3a9e;
  --plt-paper: #f3efe6;
  --plt-row: 460px;
  --plt-cols: 3;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 300px;
  background: #d9d4c9;
  color: #3f3d45;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  user-select: none;
  -webkit-user-select: none;
}
/* the root sizes itself the same whatever the host page's reset says */
.plt, .plt *, .plt *::before, .plt *::after { box-sizing: border-box; }
.plt-sheet {
  position: absolute;
  inset: 14px;
  overflow: hidden;
  border-radius: 3px;
  background:
    linear-gradient(rgba(31, 58, 158, 0.06) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(31, 58, 158, 0.06) 1px, transparent 1px) 0 0 / 24px 24px,
    radial-gradient(120% 120% at 30% 10%, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0) 60%),
    var(--plt-paper);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18), 0 8px 24px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}
.plt-ink { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.plt-stats { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; pointer-events: none; }
.plt-stat { position: absolute; left: 50%; top: 50%; width: max-content; max-width: 90%; transform: translateX(-50%); text-align: center; }
.plt-label { display: block; font-size: 15px; font-weight: 500; letter-spacing: 0.01em; line-height: 1.3; color: #4a4852; }
.plt-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
/* the rig: a rail across the sheet and the carriage that holds the pen */
.plt-rig { position: absolute; inset: 14px; pointer-events: none; }
.plt-rail {
  position: absolute;
  left: -14px;
  right: -14px;
  top: -4px;
  height: 8px;
  border-radius: 3px;
  background: linear-gradient(#f7f8fa, #b8bcc6 45%, #8a8f9b 55%, #c7cbd3);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.16), 0 1px 1px rgba(0, 0, 0, 0.3);
}
.plt-car {
  --down: 0;
  position: absolute;
  left: -13px;
  top: -40px;
  width: 26px;
  height: 36px;
  border-radius: 5px;
  background: linear-gradient(135deg, #3b3e47, #1d1f24);
  box-shadow: 0 calc(8px - var(--down) * 4px) calc(12px - var(--down) * 6px) rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
/* the pen tip, below the carriage's centre: its shadow tightens as it touches the paper */
.plt-pen {
  position: absolute;
  left: 50%;
  top: 40px;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: var(--plt-ink);
  box-shadow: 0 0 0 2px #e9ebef, 0 calc(5px - var(--down) * 5px) calc(4px - var(--down) * 3px) rgba(0, 0, 0, 0.35);
}
.plt-btn {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: #2b2a30;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}
.plt-btn:hover { background: #fff; border-color: rgba(0, 0, 0, 0.4); }
.plt-btn:focus-visible { outline: 2px solid var(--plt-ink); outline-offset: 2px; }
.plt-btn svg { width: 14px; height: 14px; }
.plt-ico-play { display: none; }
.plt-paused .plt-ico-play { display: block; }
.plt-paused .plt-ico-pause { display: none; }
@media (prefers-reduced-motion: reduce) {
  .plt-btn { transition: none; }
}
