/*! Tide Line (tide-line 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/tide-line */
/* Tide Line. Every rule is scoped to .tdl so the gem drops into any page. Size the element; the gem fills it. */
.tdl {
  --tdl-ink: #fff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 320px;
  background: #0b0c10;
  color: var(--tdl-ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  touch-action: pan-y;
}
/* the root sizes itself the same whatever the host page's reset says */
.tdl, .tdl *, .tdl *::before, .tdl *::after { box-sizing: border-box; }
.tdl-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}
.tdl-content {
  position: relative;
  z-index: 2;
  height: 100%;
  pointer-events: none;
}
.tdl-content a, .tdl-content button { pointer-events: auto; }
/* the handle sits on the resting line at the right edge; it is the slider keyboard users move */
.tdl-handle {
  position: absolute;
  top: -20px;
  right: clamp(12px, 2.4vw, 28px);
  z-index: 3;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(10, 12, 16, 0.4);
  color: var(--tdl-ink);
  cursor: ns-resize;
  touch-action: none;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background-color 0.2s, border-color 0.2s;
}
.tdl-handle:hover { background: rgba(255, 255, 255, 0.18); border-color: #fff; }
.tdl-handle:focus-visible { outline: 2px solid var(--tdl-ink); outline-offset: 3px; }
.tdl-handle svg { width: 18px; height: 18px; }
.tdl-handle.tdl-bare { opacity: 0; }
.tdl-handle.tdl-bare:focus-visible { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .tdl-handle { transition: none; }
}
