/* First-visit Künstlerportal tour — px sizes (avoid rem vs theme root). */

body.gkp-app .gkp-tour-root {
  position: fixed;
  inset: 0;
  z-index: 100000;
  pointer-events: none;
}

body.gkp-app .gkp-tour-root.is-live {
  pointer-events: auto;
}

body.gkp-app .gkp-tour-shade {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 12, 0.78);
  opacity: 0;
  transition: opacity 0.35s ease;
}

body.gkp-app .gkp-tour-root.is-live .gkp-tour-shade {
  opacity: 1;
}

body.gkp-app .gkp-tour-spot {
  position: absolute;
  border-radius: 12px;
  box-shadow:
    0 0 0 9999px rgba(10, 10, 12, 0.78),
    0 0 0 2px rgba(250, 248, 244, 0.9),
    0 14px 36px rgba(0, 0, 0, 0.35);
  transition: top 0.4s ease, left 0.4s ease, width 0.4s ease, height 0.4s ease;
  pointer-events: none;
}

body.gkp-app .gkp-tour-card {
  position: absolute;
  z-index: 2;
  width: min(380px, calc(100vw - 32px));
  padding: 18px 18px 16px;
  border-radius: 16px;
  font-size: 16px;
  background: #faf8f4;
  color: #16151a;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

body.gkp-app .gkp-tour-root.is-live .gkp-tour-card {
  opacity: 1;
  transform: translateY(0);
}

body.gkp-app .gkp-tour-card__step {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.55;
}

body.gkp-app .gkp-tour-card h3 {
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 650;
}

body.gkp-app .gkp-tour-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  opacity: 0.9;
}

body.gkp-app .gkp-tour-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  align-items: center;
}

body.gkp-app .gkp-tour-card__actions .gkp-tour-skip {
  margin-right: auto;
  border: 0;
  background: transparent;
  color: inherit;
  opacity: 0.65;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  padding: 7px 3px;
}

body.gkp-app .gkp-tour-card__actions .gkp-tour-next {
  border: 0;
  border-radius: 999px;
  padding: 9px 17px;
  background: #16151a;
  color: #faf8f4;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

body.gkp-app .gkp-tour-card__actions button:hover,
body.gkp-app .gkp-tour-card__actions button:focus-visible {
  outline: none;
  filter: brightness(1.06);
}

body.gkp-app .gkp-tour-replay {
  position: fixed;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 40;
  border: 1px solid rgba(22, 21, 26, 0.18);
  background: #faf8f4;
  color: #16151a;
  border-radius: 999px;
  padding: 9px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

body.gkp-app .gkp-tour-replay:hover,
body.gkp-app .gkp-tour-replay:focus-visible {
  outline: none;
  filter: brightness(0.97);
}

@media (prefers-reduced-motion: reduce) {
  body.gkp-app .gkp-tour-shade,
  body.gkp-app .gkp-tour-spot,
  body.gkp-app .gkp-tour-card {
    transition: none !important;
  }
}
