.kmayer-growth-audit-app .kmga-core360 {
  --kmga-core360-cyan: #72e7ff;
  --kmga-core360-teal: #7af0c1;
  --kmga-core360-amber: #ffd58a;
  --kmga-core360-red: #ff6f8d;
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 430px;
  border: 1px solid rgba(158, 231, 255, 0.2);
  border-radius: 30px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 38%, rgba(114, 231, 255, 0.24), transparent 25%),
    radial-gradient(circle at 30% 72%, rgba(122, 240, 193, 0.16), transparent 28%),
    linear-gradient(145deg, rgba(2, 9, 20, 0.96), rgba(7, 25, 44, 0.95));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  touch-action: none;
}

.kmayer-growth-audit-app .kmga-core360::before,
.kmayer-growth-audit-app .kmga-core360::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.kmayer-growth-audit-app .kmga-core360::before {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at 50% 48%, #000 36%, transparent 76%);
}

.kmayer-growth-audit-app .kmga-core360::after {
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 0%, rgba(114, 231, 255, 0.11) 46%, transparent 68%);
  mix-blend-mode: screen;
}

.kmayer-growth-audit-app .kmga-core360:focus-visible {
  outline: 3px solid rgba(122, 240, 193, 0.82);
  outline-offset: 4px;
}

.kmayer-growth-audit-app .kmga-core360__canvas {
  width: 100%;
  height: 100%;
  min-height: 430px;
  display: block;
  cursor: grab;
}

.kmayer-growth-audit-app .kmga-core360.is-dragging .kmga-core360__canvas {
  cursor: grabbing;
}

.kmayer-growth-audit-app .kmga-core360__fallback {
  position: absolute;
  inset: 24px;
  z-index: 3;
  display: grid;
  place-content: center;
  gap: 10px;
  text-align: center;
  border: 1px solid rgba(114, 231, 255, 0.2);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 40%, rgba(122, 240, 193, 0.18), transparent 30%),
    rgba(2, 9, 20, 0.86);
  color: #f4fbff;
}

.kmayer-growth-audit-app .kmga-core360__fallback[hidden] {
  display: none;
}

.kmayer-growth-audit-app .kmga-core360.is-fallback .kmga-core360__canvas {
  opacity: 0.12;
}

.kmayer-growth-audit-app .kmga-core360__hud {
  position: absolute;
  z-index: 4;
  top: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  pointer-events: none;
}

.kmayer-growth-audit-app .kmga-core360__hud span,
.kmayer-growth-audit-app .kmga-core360__hud strong {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 7px 12px;
  color: #eaf8ff;
  background: rgba(4, 16, 30, 0.64);
  backdrop-filter: blur(12px);
}

.kmayer-growth-audit-app .kmga-core360__hud span {
  color: var(--kmga-core360-teal);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.kmayer-growth-audit-app .kmga-core360__hud strong {
  max-width: min(46vw, 280px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.86rem;
}

.kmayer-growth-audit-app .kmga-core360__hud button {
  pointer-events: auto;
  border: 1px solid rgba(122, 240, 193, 0.32);
  border-radius: 999px;
  padding: 8px 12px;
  color: #06131f;
  background: linear-gradient(135deg, var(--kmga-core360-teal), var(--kmga-core360-cyan));
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.kmayer-growth-audit-app .kmga-core360__chips {
  position: absolute;
  z-index: 4;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  pointer-events: auto;
}

.kmayer-growth-audit-app .kmga-core360__chips span {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  padding: 7px 10px;
  color: rgba(234, 248, 255, 0.88);
  background: rgba(4, 16, 30, 0.62);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.kmayer-growth-audit-app .kmga-core360__chips span:hover,
.kmayer-growth-audit-app .kmga-core360__chips span:focus-visible {
  transform: translateY(-2px);
  outline: none;
  border-color: rgba(122, 240, 193, 0.56);
}

.kmayer-growth-audit-app .kmga-core360[data-kmga-core360-active-layer="1"] .kmga-core360__chips span:nth-child(2),
.kmayer-growth-audit-app .kmga-core360[data-kmga-core360-active-layer="2"] .kmga-core360__chips span:nth-child(3),
.kmayer-growth-audit-app .kmga-core360[data-kmga-core360-active-layer="0"] .kmga-core360__chips span:nth-child(1),
.kmayer-growth-audit-app .kmga-core360[data-kmga-core360-active-layer="3"] .kmga-core360__chips span:nth-child(4),
.kmayer-growth-audit-app .kmga-core360[data-kmga-core360-active-layer="4"] .kmga-core360__chips span:nth-child(5),
.kmayer-growth-audit-app .kmga-core360[data-kmga-core360-active-layer="5"] .kmga-core360__chips span:nth-child(6),
.kmayer-growth-audit-app .kmga-core360[data-kmga-core360-active-layer="6"] .kmga-core360__chips span:nth-child(7),
.kmayer-growth-audit-app .kmga-core360[data-kmga-core360-active-layer="7"] .kmga-core360__chips span:nth-child(8) {
  color: #06131f;
  background: linear-gradient(135deg, var(--kmga-core360-teal), var(--kmga-core360-cyan));
}

.kmayer-growth-audit-app .kmga-core360__assist {
  position: absolute;
  z-index: 4;
  right: 20px;
  bottom: 74px;
  width: min(260px, calc(100% - 40px));
  margin: 0;
  color: rgba(234, 248, 255, 0.78);
  font-size: 0.82rem;
  line-height: 1.45;
  text-align: right;
  pointer-events: none;
}

.kmayer-growth-audit-app .kmga-core360--result {
  min-height: 310px;
  margin-bottom: 22px;
  border-radius: 24px;
}

.kmayer-growth-audit-app .kmga-core360--result .kmga-core360__canvas {
  min-height: 310px;
}

.kmayer-growth-audit-app .kmga-core360--result .kmga-core360__hud {
  top: 14px;
  left: 14px;
  right: 14px;
}

.kmayer-growth-audit-app .kmga-core360--result .kmga-core360__chips {
  bottom: 14px;
}

.kmayer-growth-audit-app .kmga-core360--result + .kmga-score {
  margin-top: 0;
}

@media (max-width: 760px) {
  .kmayer-growth-audit-app .kmga-core360 {
    min-height: 380px;
    border-radius: 24px;
  }

  .kmayer-growth-audit-app .kmga-core360__canvas {
    min-height: 380px;
  }

  .kmayer-growth-audit-app .kmga-core360__hud {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .kmayer-growth-audit-app .kmga-core360__hud strong {
    order: 3;
    width: 100%;
    max-width: 100%;
  }

  .kmayer-growth-audit-app .kmga-core360__assist {
    display: none;
  }
}

@media (max-width: 430px) {
  .kmayer-growth-audit-app .kmga-core360 {
    min-height: 350px;
  }

  .kmayer-growth-audit-app .kmga-core360__canvas {
    min-height: 350px;
  }

  .kmayer-growth-audit-app .kmga-core360__chips {
    gap: 6px;
  }

  .kmayer-growth-audit-app .kmga-core360__chips span {
    padding: 6px 8px;
    font-size: 0.66rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kmayer-growth-audit-app .kmga-core360::after {
    display: none;
  }
}
