#krytes-tour {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: none;
  font-family: inherit;
  pointer-events: none;
}
#krytes-tour.kt-open { display: block; }

.kt-blocker {
  position: absolute;
  inset: 0;
  pointer-events: auto;
  cursor: default;
  background: transparent;
}

.kt-spotlight {
  position: absolute;
  left: 0; top: 0; width: 0; height: 0;
  border-radius: 12px;
  pointer-events: none;
  box-shadow:
    0 0 0 3px rgba(255, 208, 0, 0.9),
    0 0 0 9999px rgba(6, 9, 15, 0.74),
    0 0 24px 5px rgba(255, 190, 0, 0.38);
  transition:
    left 0.34s cubic-bezier(0.4, 0.1, 0.2, 1),
    top 0.34s cubic-bezier(0.4, 0.1, 0.2, 1),
    width 0.34s cubic-bezier(0.4, 0.1, 0.2, 1),
    height 0.34s cubic-bezier(0.4, 0.1, 0.2, 1),
    border-radius 0.2s;
}

.kt-tooltip {
  position: absolute;
  width: 336px;
  max-width: calc(100vw - 24px);
  pointer-events: auto;
  background: linear-gradient(180deg, rgba(20, 25, 34, 0.985), rgba(12, 16, 23, 0.985));
  border: 1px solid rgba(255, 208, 0, 0.24);
  border-radius: 14px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.62), 0 0 0 1px rgba(0, 0, 0, 0.4);
  color: #e6eaf2;
  padding: 16px 18px 14px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.22s ease, transform 0.22s ease, left 0.28s ease, top 0.28s ease;
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}
.kt-tooltip.kt-shown { opacity: 1; transform: translateY(0); }

.kt-tooltip::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; top: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #ffd000, #ff7a18);
  opacity: 0.85;
}

.kt-eyebrow {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #ffce3a;
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.kt-eyebrow .kt-spark { font-size: 11px; }
.kt-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  color: #f3f6fb;
  margin: 0 0 7px;
}
.kt-body {
  font-size: 13.5px;
  line-height: 1.56;
  color: #c2cad6;
  margin: 0 0 13px;
}

.kt-progress {
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.09);
  overflow: hidden;
  margin-bottom: 12px;
}
.kt-progress-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 4px;
  background: linear-gradient(90deg, #ffd000, #ff7a18);
  transition: width 0.34s cubic-bezier(0.4, 0.1, 0.2, 1);
}

.kt-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.kt-count {
  font-size: 12px;
  color: #8b94a4;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.4px;
  white-space: nowrap;
}
.kt-actions { display: flex; align-items: center; gap: 8px; }

.kt-btn {
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  border-radius: 9px;
  padding: 7px 13px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.08s, box-shadow 0.15s;
  white-space: nowrap;
}
.kt-btn:active { transform: scale(0.96); }
.kt-prev {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.16);
  color: #c2cad6;
}
.kt-prev:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.28); }
.kt-skip {
  background: transparent;
  border-color: transparent;
  color: #828c9c;
  padding: 7px 6px;
}
.kt-skip:hover { color: #c2cad6; }
.kt-primary {
  background: linear-gradient(135deg, #ffd000, #ff7a18);
  color: #1a1206;
  box-shadow: 0 4px 14px rgba(255, 150, 0, 0.32);
}
.kt-primary:hover { filter: brightness(1.06); box-shadow: 0 6px 18px rgba(255, 150, 0, 0.42); }

.kt-close {
  position: absolute;
  top: 9px; right: 10px;
  width: 24px; height: 24px;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: #6f7888;
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.kt-close:hover { background: rgba(255, 255, 255, 0.08); color: #e6eaf2; }

.kt-arrow {
  position: absolute;
  width: 13px; height: 13px;
  background: rgba(20, 25, 34, 0.985);
  border: 1px solid rgba(255, 208, 0, 0.24);
  transform: rotate(45deg);
  display: none;
}
.kt-tooltip.kt-place-right .kt-arrow { display: block; left: -7px; top: 50%; margin-top: -6px; border-right: none; border-top: none; }
.kt-tooltip.kt-place-left  .kt-arrow { display: block; right: -7px; top: 50%; margin-top: -6px; border-left: none; border-bottom: none; }
.kt-tooltip.kt-place-bottom .kt-arrow { display: block; top: -7px; left: 50%; margin-left: -6px; border-right: none; border-bottom: none; }
.kt-tooltip.kt-place-top    .kt-arrow { display: block; bottom: -7px; left: 50%; margin-left: -6px; border-left: none; border-top: none; }
.kt-tooltip.kt-place-center .kt-arrow { display: none; }

@media (max-width: 768px) {
  .kt-tooltip {
    left: 10px !important;
    right: 10px !important;
    width: auto !important;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 64px);
    top: auto !important;
  }
  .kt-tooltip .kt-arrow { display: none !important; }
  .kt-spotlight { box-shadow: 0 0 0 3px rgba(255, 208, 0, 0.9), 0 0 0 9999px rgba(6, 9, 15, 0.8), 0 0 22px 4px rgba(255, 190, 0, 0.35); }
}

@media (prefers-reduced-motion: reduce) {
  .kt-spotlight, .kt-tooltip, .kt-progress-fill { transition: none !important; }
}
