.overlay-mode-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.chord-result-prompt-button {
  display: inline-block;
  margin-top: 0.75rem;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border: 1px solid #efd58c !important;
  border-radius: 8px;
  background: #d2a449 !important;
  color: #171109 !important;
  box-shadow: none !important;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.chord-result-prompt-button:hover,
.chord-result-prompt-button:focus-visible {
  border-color: #f5dda0 !important;
  background: #e0b65d !important;
  color: #171109 !important;
  box-shadow: none !important;
  outline: none;
  transform: translateY(-3px);
}

.chord-tour-shade,
.chord-tour-spotlight,
.chord-tour-popover,
.chord-tour-option-list {
  position: fixed;
}

.chord-tour-shade {
  z-index: 12000;
  background: rgba(3, 7, 18, 0.76);
  pointer-events: auto;
}

.chord-tour-spotlight {
  z-index: 12001;
  border: 2px solid #f6c24a;
  border-radius: 10px;
  box-shadow: 0 0 0 4px rgba(246, 194, 74, 0.2), 0 0 28px rgba(246, 194, 74, 0.32);
  pointer-events: none;
  transition: top 160ms ease, left 160ms ease, width 160ms ease, height 160ms ease;
}

.chord-tour-option-list {
  z-index: 12001;
  max-height: calc(100vh - 20px);
  overflow-y: auto;
  border: 2px solid #f6c24a;
  border-radius: 7px;
  background: #131313;
  color: #f6f1e7;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.48);
  pointer-events: none;
}

.chord-tour-option-list__item {
  min-height: 32px;
  padding: 0.38rem 0.75rem;
  border-bottom: 1px solid rgba(255, 215, 120, 0.12);
  font-size: 0.9rem;
  line-height: 1.25;
  white-space: nowrap;
}

.chord-tour-option-list__item:last-child {
  border-bottom: 0;
}

.chord-tour-option-list__item.is-selected {
  background: #f6c24a;
  color: #12131a;
  font-weight: 700;
}

.chord-tour-popover {
  z-index: 12002;
  width: min(330px, calc(100vw - 24px));
  padding: 1rem;
  border: 1px solid rgba(246, 194, 74, 0.72);
  border-radius: 12px;
  background: #111827;
  color: #f8fafc;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
}

.chord-tour-popover__topline,
.chord-tour-popover__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.chord-tour-popover__progress {
  margin: 0;
  color: #f6c24a;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chord-tour-popover__close {
  border: 0;
  background: transparent;
  color: #f8fafc;
  font-size: 1.35rem;
  line-height: 1;
}

.chord-tour-popover__title {
  margin: 0.65rem 0 0.35rem;
  color: #fff;
  font-size: 1.05rem;
}

.chord-tour-popover__text {
  margin: 0 0 1rem;
  color: rgba(248, 250, 252, 0.82);
  font-size: 0.9rem;
  line-height: 1.5;
}

.chord-tour-popover__learn-link {
  display: block;
  width: 100%;
  margin: 0 0 1rem;
  text-align: center;
}

.chord-tour-popover__learn-link[hidden] {
  display: none;
}

.chord-tour-popover__actions {
  justify-content: flex-end;
}

.chord-tour-popover .btn[disabled] {
  opacity: 0.42;
}

.chord-tour-control-demo {
  border-color: #f6c24a !important;
  box-shadow: 0 0 0 3px rgba(246, 194, 74, 0.3) !important;
}

.chord-tour-control-demo--selected {
  background-color: rgba(246, 194, 74, 0.16) !important;
}

body.chord-tour-active {
  overflow-x: hidden;
}

@media (max-width: 700px) {
  .overlay-mode-row {
    align-items: stretch;
    flex-direction: column;
  }

  .chord-tour-popover {
    padding: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chord-tour-spotlight {
    transition: none;
  }
}
