.fastrade-tour {
  position: fixed;
  inset: 0;
  z-index: 10000;
  pointer-events: none;
}

.fastrade-tour.is-welcome {
  background: rgba(0, 0, 0, 0.72);
  pointer-events: auto;
}

.fastrade-tour.is-welcome .fastrade-tour-spotlight {
  display: none;
}

.fastrade-tour-spotlight {
  position: fixed;
  border: 2px solid #ffbd45;
  border-radius: 10px;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.7), 0 0 0 3px rgba(255, 189, 69, 0.1), 0 5px 14px rgba(0, 0, 0, 0.24);
  transition: top 0.2s ease, left 0.2s ease, width 0.2s ease, height 0.2s ease, opacity 0.15s ease;
  pointer-events: none;
}

.dropdown-content.fastrade-tour-menu-open {
  animation: none;
}

.fastrade-tour-card {
  position: fixed;
  z-index: 1;
  width: min(340px, calc(100vw - 28px));
  padding: 16px;
  border: 1px solid rgba(255, 189, 69, 0.58);
  border-radius: 8px;
  background: #141414;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.58);
  color: #f4f4f4;
  pointer-events: auto;
}

.fastrade-tour-card.fastrade-tour-welcome {
  width: min(460px, calc(100vw - 28px));
  padding: 30px;
}

.fastrade-tour-welcome .fastrade-tour-title {
  font-size: 24px;
}

.fastrade-tour-welcome .fastrade-tour-text {
  max-width: 380px;
  margin: 0 auto;
}

.fastrade-tour-welcome .fastrade-tour-actions {
  justify-content: flex-end;
  margin-top: 24px;
}

.fastrade-tour-card.is-above::after,
.fastrade-tour-card.is-below::after,
.fastrade-tour-card.is-left::after {
  content: "";
  position: absolute;
  left: var(--tour-arrow-left, 28px);
  width: 12px;
  height: 12px;
  background: #141414;
  border: solid rgba(255, 189, 69, 0.58);
  transform: rotate(45deg);
}

.fastrade-tour-card.is-below::after {
  top: -7px;
  border-width: 1px 0 0 1px;
}

.fastrade-tour-card.is-above::after {
  bottom: -7px;
  border-width: 0 1px 1px 0;
}

.fastrade-tour-card.is-left::after {
  top: calc(var(--tour-arrow-top, 28px) - 6px);
  right: -7px;
  left: auto;
  border-width: 1px 1px 0 0;
}

.fastrade-tour-progress {
  margin-bottom: 7px;
  color: #ffcc66;
  font-size: 12px;
  font-weight: 700;
}

.fastrade-tour-title {
  margin: 0 0 7px;
  color: #fff;
  font-size: 18px;
  line-height: 1.2;
}

.fastrade-tour-text {
  margin: 0;
  color: #d2d2d2;
  font-size: 14px;
  line-height: 1.45;
}

.fastrade-tour-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 15px;
}

.fastrade-tour-actions-right {
  display: flex;
  gap: 8px;
}

.fastrade-tour-button {
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 189, 69, 0.42);
  border-radius: 6px;
  background: rgba(255, 165, 0, 0.1);
  color: #ffcc66;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.fastrade-tour-button:hover {
  background: rgba(255, 165, 0, 0.22);
}

.fastrade-tour-button-secondary {
  border-color: transparent;
  background: transparent;
  color: #b8b8b8;
}

.fastrade-tour-button-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

body.light-theme .fastrade-tour-card,
body.light-theme .fastrade-tour-card.is-above::after,
body.light-theme .fastrade-tour-card.is-below::after,
body.light-theme .fastrade-tour-card.is-left::after {
  background: #fff;
}

body.light-theme .fastrade-tour-spotlight {
  border: 0;
  box-shadow: 0 0 0 9999px rgba(28, 35, 43, 0.5);
}

body.light-theme .fastrade-tour.is-welcome {
  background: rgba(28, 35, 43, 0.58);
}

body.light-theme .fastrade-tour-card {
  color: #222;
  border-color: #bbb;
  box-shadow: none;
}

body.light-theme .fastrade-tour-card.is-above::after,
body.light-theme .fastrade-tour-card.is-below::after,
body.light-theme .fastrade-tour-card.is-left::after {
  border-color: #bbb;
}

body.light-theme .fastrade-tour-progress {
  color: #647483;
}

body.light-theme .fastrade-tour-title {
  color: #17212b;
}

body.light-theme .fastrade-tour-text {
  color: #566473;
}

body.light-theme .fastrade-tour-button {
  background: #283543;
  border-color: #283543;
  color: #fff;
}

body.light-theme .fastrade-tour-button:hover {
  background: #3a4a59;
  border-color: #3a4a59;
}

body.light-theme .fastrade-tour-button-secondary {
  background: transparent;
  border-color: transparent;
  color: #647483;
}

body.light-theme .fastrade-tour-button-secondary:hover {
  background: #e7edf1;
  color: #1d2935;
}

@media (max-width: 600px) {
  .fastrade-tour-card {
    padding: 14px;
  }

  .fastrade-tour-card.fastrade-tour-welcome {
    padding: 24px 18px;
  }
}
