.in2eye-flowfield-studio {
  --in2eye-flowfield-background: #ffffff;
  --in2eye-flowfield-base-color: #2d6668;
  --in2eye-flowfield-accent-color: #071c1d;
  --in2eye-flowfield-height: 720px;
  --in2eye-flowfield-bottom-fade-color: #ffffff;
  --in2eye-flowfield-bottom-fade-height: 35%;
  --in2eye-flowfield-bottom-fade-start: 8%;
  position: relative;
  display: block;
  width: 100%;
  min-height: var(--in2eye-flowfield-height);
  overflow: hidden;
  isolation: isolate;
  background: var(--in2eye-flowfield-background);
}

.in2eye-flowfield-studio__background-image,
.in2eye-flowfield-studio__background-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  pointer-events: none;
}

.in2eye-flowfield-studio__background-image {
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
}

.in2eye-flowfield-studio__background-overlay {
  background-color: var(--in2eye-flowfield-background);
}

.in2eye-flowfield-studio__canvas,
.in2eye-flowfield-studio__gpu-canvas,
.in2eye-flowfield-studio__fallback {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.in2eye-flowfield-studio__palette {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
}

.in2eye-flowfield-studio__palette--base {
  color: var(--in2eye-flowfield-base-color);
}

.in2eye-flowfield-studio__palette--accent {
  color: var(--in2eye-flowfield-accent-color);
}

.in2eye-flowfield-studio__canvas {
  z-index: 1;
  background: transparent;
}

.in2eye-flowfield-studio__gpu-canvas {
  z-index: 1;
  background: transparent;
}

.in2eye-flowfield-studio__chromatic-filter {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.in2eye-flowfield-studio__logo-overlay,
.in2eye-flowfield-studio__movement-map-overlay {
  position: absolute;
  left: 50%;
  top: 50%;
  display: none;
  box-sizing: border-box;
  object-fit: contain;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.in2eye-flowfield-studio__logo-overlay {
  z-index: 2;
}

.in2eye-flowfield-studio__movement-map-overlay {
  z-index: 3;
}

.in2eye-flowfield-studio__bottom-fade {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 3;
  display: none;
  height: var(--in2eye-flowfield-bottom-fade-height);
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent var(--in2eye-flowfield-bottom-fade-start),
    var(--in2eye-flowfield-bottom-fade-color) 100%
  );
  pointer-events: none;
}

.in2eye-flowfield-studio.has-bottom-fade .in2eye-flowfield-studio__bottom-fade {
  display: block;
}

.in2eye-flowfield-studio.has-logo-overlay .in2eye-flowfield-studio__logo-overlay {
  display: block;
}

.in2eye-flowfield-studio.has-movement-map-overlay .in2eye-flowfield-studio__movement-map-overlay {
  display: block;
}

.in2eye-flowfield-studio__preset-tools {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 5;
  display: flex;
  width: min(560px, calc(100% - 28px));
  box-sizing: border-box;
  flex-direction: column;
  gap: 7px;
  padding: 10px;
  border: 1px solid rgba(7, 28, 29, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 28px rgba(7, 28, 29, 0.12);
  color: #071c1d;
  font: 500 12px/1.35 system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  backdrop-filter: blur(8px);
  pointer-events: auto;
}

.in2eye-flowfield-studio__preset-row {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.in2eye-flowfield-studio__preset-tools input,
.in2eye-flowfield-studio__preset-tools select,
.in2eye-flowfield-studio__preset-tools button {
  min-height: 32px;
  box-sizing: border-box;
  border: 1px solid rgba(45, 102, 104, 0.28);
  border-radius: 7px;
  background: #ffffff;
  color: #2d6668;
  font: inherit;
}

.in2eye-flowfield-studio__preset-tools input,
.in2eye-flowfield-studio__preset-tools select {
  min-width: 150px;
  flex: 1 1 190px;
  padding: 5px 8px;
}

.in2eye-flowfield-studio__preset-tools button {
  flex: 0 0 auto;
  padding: 5px 9px;
  cursor: pointer;
}

.in2eye-flowfield-studio__preset-tools button:hover {
  border-color: #2d6668;
  background: #2d6668;
  color: #ffffff;
}

.in2eye-flowfield-studio__preset-tools [data-preset-status] {
  min-width: 120px;
  flex: 1 1 180px;
  color: #2d6668;
}

.in2eye-flowfield-studio__preset-tools [data-preset-status].is-error {
  color: #a82020;
}

.in2eye-flowfield-studio__pole-tools {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 4;
  display: none;
  gap: 8px;
  align-items: center;
  padding: 8px;
  border: 1px solid rgba(7, 28, 29, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 28px rgba(7, 28, 29, 0.12);
  color: #071c1d;
  font: 500 12px/1.35 system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  backdrop-filter: blur(8px);
  pointer-events: auto;
}

.in2eye-flowfield-studio.has-pole-editor {
  cursor: crosshair;
  touch-action: pan-y;
  pointer-events: auto !important;
}

.in2eye-flowfield-studio.has-pole-editor .in2eye-flowfield-studio__pole-tools {
  display: flex;
}

.in2eye-flowfield-studio__pole-markers {
  position: absolute;
  inset: 0;
  z-index: 4;
  overflow: hidden;
  pointer-events: none;
}

.in2eye-flowfield-studio__pole-marker {
  position: absolute;
  display: grid;
  width: 22px;
  height: 22px;
  border: 2px solid currentColor;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 9px rgba(7, 28, 29, 0.22);
  color: var(--in2eye-flowfield-base-color);
  font: 700 15px/1 system-ui, sans-serif;
}

.in2eye-flowfield-studio__pole-marker.is-negative {
  color: var(--in2eye-flowfield-accent-color);
}

.in2eye-flowfield-studio__pole-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  flex: 0 0 auto;
}

.in2eye-flowfield-studio__pole-tools button {
  appearance: none;
  min-height: 30px;
  padding: 5px 9px;
  border: 1px solid rgba(45, 102, 104, 0.28);
  border-radius: 7px;
  background: #ffffff;
  color: #2d6668;
  font: inherit;
  cursor: pointer;
}

.in2eye-flowfield-studio__pole-tools button:hover,
.in2eye-flowfield-studio__pole-tools button.is-active {
  border-color: #2d6668;
  background: #2d6668;
  color: #ffffff;
}

.in2eye-flowfield-studio__pole-tools button.is-copied {
  border-color: #071c1d;
  background: #071c1d;
  color: #ffffff;
}

.in2eye-flowfield-studio__pole-list {
  min-width: 0;
  overflow: hidden;
  color: #071c1d;
  text-overflow: ellipsis;
  white-space: nowrap;
  user-select: text;
}

.in2eye-flowfield-studio__fallback {
  z-index: 0;
  display: none;
  box-sizing: border-box;
  object-fit: contain;
  padding: clamp(36px, 8vw, 120px);
  opacity: 0.28;
}

.in2eye-flowfield-studio.is-static .in2eye-flowfield-studio__canvas,
.in2eye-flowfield-studio.is-static .in2eye-flowfield-studio__gpu-canvas {
  display: none;
}

.in2eye-flowfield-studio.is-static .in2eye-flowfield-studio__fallback {
  display: block;
}

.in2eye-flowfield-studio--background {
  position: absolute;
  inset: 0;
  min-height: 100%;
}

.elementor-widget-in2eye-flowfield-studio.in2eye-flowfield-widget-background {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  margin: 0 !important;
  pointer-events: none;
}

.elementor-widget-in2eye-flowfield-studio.in2eye-flowfield-widget-background.in2eye-flowfield-widget-interactive {
  z-index: 3;
  pointer-events: auto;
}

.elementor-widget-in2eye-flowfield-studio.in2eye-flowfield-widget-interactive {
  pointer-events: auto !important;
}

.elementor-edit-mode .elementor-widget-in2eye-flowfield-studio.in2eye-flowfield-widget-interactive > .elementor-element-overlay {
  pointer-events: none !important;
}

.in2eye-flowfield-studio-host {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.in2eye-flowfield-studio-host > .elementor-element:not(.elementor-widget-in2eye-flowfield-studio),
.in2eye-flowfield-studio-host > .e-con-inner > .elementor-element:not(.elementor-widget-in2eye-flowfield-studio) {
  position: relative;
  z-index: 1;
}

.in2eye-flowfield-studio--fixed {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  pointer-events: none;
}

.in2eye-flowfield-studio--fixed.has-preset-editor {
  pointer-events: auto;
}

@media (max-width: 767px) {
  .in2eye-flowfield-studio {
    --in2eye-flowfield-height: 560px;
  }

  .in2eye-flowfield-studio__fallback {
    padding: 48px 22px;
  }

  .in2eye-flowfield-studio__pole-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .in2eye-flowfield-studio__preset-tools {
    max-height: calc(100% - 28px);
    overflow: auto;
  }
}
