.pc-tour-lock {
  overflow: hidden;
}

.pc-tour-launcher[hidden] {
  display: none !important;
}

.pc-tour-launcher[data-floating-eligible="false"] {
  display: none !important;
}

.pc-tour-launcher {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 1040;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  min-width: 154px;
  min-height: 42px;
  padding: 8px 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 11px;
  background: linear-gradient(135deg, #5d58df 0%, #7772f2 100%);
  color: #fff;
  box-shadow: 0 10px 28px rgba(48, 44, 145, 0.24), 0 2px 6px rgba(25, 23, 72, 0.14);
  font-family: jostFont, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1;
  cursor: pointer;
  transform: translateX(-50%);
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.pc-tour-launcher:hover,
.pc-tour-launcher:focus-visible {
  background: linear-gradient(135deg, #514ccb 0%, #6964e5 100%);
  color: #fff;
  box-shadow: 0 13px 34px rgba(48, 44, 145, 0.3), 0 3px 8px rgba(25, 23, 72, 0.16);
  outline: 3px solid rgba(118, 114, 251, 0.18);
  outline-offset: 2px;
  transform: translateX(-50%) translateY(-2px);
}

.pc-tour-launcher__icon {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.9rem;
}

.pc-tour-launcher__label {
  white-space: nowrap;
}

.pc-tour-replay-trigger[hidden] {
  display: none !important;
}

.pc-tour-replay-trigger {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.pc-tour-replay-trigger:hover,
.pc-tour-replay-trigger:focus-visible {
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.24);
  color: #fff;
  outline: 2px solid rgba(255, 255, 255, 0.12);
  outline-offset: 1px;
  transform: translateY(-1px);
}

.sidebar-collapse-control:has(.pc-tour-replay-trigger) {
  align-items: center;
  bottom: 0;
  gap: 0.45rem;
  justify-content: center;
  left: 0;
  min-height: 3.75rem;
  position: fixed;
  width: 14rem;
  z-index: 1040;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  background: inherit;
  box-shadow: 0 -5px 14px rgba(24, 27, 82, 0.12);
}

#accordionSidebar:has(.pc-tour-replay-trigger--sidebar) {
  padding-bottom: 4.25rem;
}

.sidebar.toggled .sidebar-collapse-control:has(.pc-tour-replay-trigger) {
  width: 6.5rem;
}

.pc-tour-replay-trigger--sidebar {
  width: auto;
  min-width: 72px;
  padding: 0 0.65rem;
  gap: 0.35rem;
  border-radius: 999px;
}

.pc-tour-replay-trigger--sidebar span {
  font-size: 0.72rem;
  font-weight: 700;
}

.pc-tour-replay-trigger--sidebar.pc-tour-replay-trigger--new {
  position: relative;
  min-width: 92px;
  border-color: rgba(255, 255, 255, 0.9);
  background: #fff;
  color: #5955df;
  box-shadow: 0 5px 14px rgba(17, 18, 57, 0.22);
}

.pc-tour-replay-trigger--sidebar.pc-tour-replay-trigger--new::after {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 9px;
  height: 9px;
  border: 2px solid #5955df;
  border-radius: 50%;
  background: #f7c948;
  content: "";
}

.pc-tour-replay-trigger--sidebar.pc-tour-replay-trigger--new:hover,
.pc-tour-replay-trigger--sidebar.pc-tour-replay-trigger--new:focus-visible {
  border-color: #fff;
  background: #f4f3ff;
  color: #4a46c5;
}

.sidebar.toggled .pc-tour-replay-trigger--sidebar {
  width: 34px;
  min-width: 34px;
  padding: 0;
}

.sidebar.toggled .pc-tour-replay-trigger--sidebar.pc-tour-replay-trigger--new {
  min-width: 34px;
}

.sidebar.toggled .pc-tour-replay-trigger--sidebar span {
  display: none;
}

.pc-tour-replay-trigger--mobile {
  margin: 0.55rem 0.2rem;
  border-color: rgba(91, 85, 223, 0.26);
  background: rgba(112, 108, 244, 0.1);
  color: #5955df !important;
}

.pc-tour-replay-trigger--mobile.pc-tour-replay-trigger--new {
  position: relative;
  border-color: rgba(91, 85, 223, 0.5);
  background: rgba(112, 108, 244, 0.16);
}

.pc-tour-replay-trigger--mobile.pc-tour-replay-trigger--new::after {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f2b84b;
  content: "";
}

.pc-tour {
  --pc-tour-accent: #7672fb;
  --pc-tour-accent-dark: #5955df;
  --pc-tour-ink: #24243a;
  --pc-tour-muted: #71738a;
  --pc-tour-surface: #ffffff;
  --pc-tour-border: rgba(70, 67, 140, 0.14);
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  font-family: jostFont, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  pointer-events: none;
}

.pc-tour__shade {
  position: fixed;
  background: transparent;
  transition: top 180ms ease, left 180ms ease, width 180ms ease, height 180ms ease;
  pointer-events: auto;
}

.pc-tour__spotlight {
  position: fixed;
  border: 3px solid rgba(255, 255, 255, 0.96);
  border-radius: 14px;
  box-shadow:
    0 0 0 3px rgba(118, 114, 251, 0.9),
    0 0 0 9999px rgba(20, 20, 38, 0.68),
    0 12px 36px rgba(11, 11, 30, 0.28);
  transition: top 180ms ease, left 180ms ease, width 180ms ease, height 180ms ease;
  pointer-events: none;
}

.pc-tour__dialog {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.pc-tour__card {
  position: fixed;
  width: min(390px, calc(100vw - 28px));
  max-height: min(560px, calc(100vh - 104px));
  overflow: auto;
  border: 1px solid var(--pc-tour-border);
  border-radius: 18px;
  background: var(--pc-tour-surface);
  color: var(--pc-tour-ink);
  box-shadow: 0 24px 70px rgba(16, 15, 50, 0.32);
  pointer-events: auto;
  animation: pc-tour-card-in 180ms ease-out;
}

.pc-tour__card--video {
  width: min(560px, calc(100vw - 28px));
}

@keyframes pc-tour-card-in {
  from { opacity: 0; transform: translateY(7px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.pc-tour__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 18px 8px;
}

.pc-tour__icon {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, #ecebff, #f7f6ff);
  color: var(--pc-tour-accent-dark);
  font-size: 18px;
}

.pc-tour__eyebrow {
  margin: 0 32px 2px 0;
  color: var(--pc-tour-accent-dark);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.2;
  text-transform: uppercase;
}

.pc-tour__title {
  margin: 0;
  color: inherit;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.25;
}

.pc-tour__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--pc-tour-muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.pc-tour__close:hover,
.pc-tour__close:focus-visible {
  background: rgba(118, 114, 251, 0.1);
  color: var(--pc-tour-accent-dark);
  outline: none;
}

.pc-tour__body {
  padding: 8px 18px 16px;
  color: var(--pc-tour-muted);
  font-size: 0.91rem;
  line-height: 1.55;
}

.pc-tour__body p:last-child { margin-bottom: 0; }
.pc-tour__body strong { color: var(--pc-tour-ink); }

.pc-tour__video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-bottom: 9px;
  border: 1px solid rgba(70, 67, 140, 0.16);
  border-radius: 12px;
  background: #111;
  box-shadow: 0 8px 24px rgba(16, 15, 50, 0.14);
}

.pc-tour__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.pc-tour__video-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
  color: var(--pc-tour-accent-dark);
  font-size: 0.78rem;
  font-weight: 750;
}

.pc-tour__video-link:hover,
.pc-tour__video-link:focus-visible {
  color: var(--pc-tour-accent-dark);
  text-decoration: underline;
}

.pc-tour__progress {
  height: 4px;
  margin: 0 18px;
  overflow: hidden;
  border-radius: 999px;
  background: #ececf4;
}

.pc-tour__progress-bar {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--pc-tour-accent), #9d7cf7);
  transition: width 180ms ease;
}

.pc-tour__footer {
  position: fixed;
  right: auto;
  bottom: max(14px, env(safe-area-inset-bottom));
  left: 50%;
  z-index: 3;
  display: grid;
  grid-template-columns: 82px minmax(56px, 1fr) 120px;
  align-items: center;
  gap: 8px;
  width: min(350px, calc(100vw - 24px));
  padding: 8px;
  border: 1px solid var(--pc-tour-border);
  border-radius: 14px;
  background: var(--pc-tour-surface);
  box-shadow: 0 14px 38px rgba(16, 15, 50, 0.3);
  pointer-events: auto;
  transform: translateX(-50%);
}

.pc-tour__count {
  grid-column: 2;
  justify-self: center;
  margin: 0;
  color: var(--pc-tour-muted);
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
}

.pc-tour__back {
  grid-column: 1;
  grid-row: 1;
}

.pc-tour__next {
  grid-column: 3;
  grid-row: 1;
}

.pc-tour__button {
  box-sizing: border-box;
  width: 100%;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--pc-tour-border);
  border-radius: 10px;
  background: #fff;
  color: var(--pc-tour-ink);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 750;
  cursor: pointer;
  white-space: nowrap;
}

.pc-tour__button:hover,
.pc-tour__button:focus-visible {
  border-color: rgba(118, 114, 251, 0.45);
  background: #f6f5ff;
  outline: none;
}

.pc-tour__button--primary {
  border-color: var(--pc-tour-accent);
  background: var(--pc-tour-accent);
  color: #fff;
  box-shadow: 0 6px 16px rgba(118, 114, 251, 0.25);
}

.pc-tour__button--primary:hover,
.pc-tour__button--primary:focus-visible {
  border-color: var(--pc-tour-accent-dark);
  background: var(--pc-tour-accent-dark);
  color: #fff;
}

.pc-tour__arrow {
  position: fixed;
  width: 14px;
  height: 14px;
  border: solid var(--pc-tour-border);
  border-width: 1px 0 0 1px;
  background: var(--pc-tour-surface);
  pointer-events: none;
  transform: rotate(45deg);
}

.pc-tour--dark {
  --pc-tour-ink: #f4f3ff;
  --pc-tour-muted: #b7b7c9;
  --pc-tour-surface: #292b36;
  --pc-tour-border: rgba(216, 213, 255, 0.16);
}

.pc-tour--dark .pc-tour__icon { background: rgba(118, 114, 251, 0.18); color: #c7c3ff; }
.pc-tour--dark .pc-tour__progress { background: rgba(255, 255, 255, 0.1); }
.pc-tour--dark .pc-tour__button { background: #343642; color: var(--pc-tour-ink); }
.pc-tour--dark .pc-tour__button--primary { background: var(--pc-tour-accent); }

@media (max-width: 575.98px) {
  .pc-tour-launcher {
    display: none !important;
  }
  .pc-tour-launcher:hover,
  .pc-tour-launcher:focus-visible {
    transform: translateX(-50%) translateY(-2px);
  }
  .pc-tour__card {
    top: auto !important;
    right: 10px !important;
    bottom: calc(max(14px, env(safe-area-inset-bottom)) + 68px) !important;
    left: 10px !important;
    width: auto;
    max-height: min(48vh, calc(100vh - 150px), 430px);
    border-radius: 18px;
  }
  .pc-tour__arrow { display: none; }
  .pc-tour__header { padding-top: 15px; }
  .pc-tour__body { font-size: 0.86rem; }
  .pc-tour__footer {
    grid-template-columns: 70px minmax(44px, 1fr) 112px;
    width: min(310px, calc(100vw - 20px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .pc-tour-launcher,
  .pc-tour__card { animation: none; }
  .pc-tour-launcher,
  .pc-tour-replay-trigger { transition: none; }
  .pc-tour__shade,
  .pc-tour__spotlight,
  .pc-tour__progress-bar { transition: none; }
}
