/* v0.5 – Pashmin Coach-Modus */
body.tour-active {
  overflow-x: hidden;
}
.tour-overlay {
  position: fixed;
  inset: 0;
  z-index: 9990;
  background: rgba(5, 4, 3, .58);
  backdrop-filter: blur(9px) saturate(.85);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}
body.tour-active .tour-overlay {
  opacity: 1;
  pointer-events: auto;
}
.tour-highlight {
  position: relative !important;
  z-index: 10001 !important;
  outline: 2px solid rgba(240, 215, 155, .96) !important;
  box-shadow: 0 0 0 8px rgba(215, 180, 106, .15), 0 22px 80px rgba(0,0,0,.58) !important;
  border-radius: 1rem;
  background-clip: padding-box;
}
.tour-card-popover {
  position: fixed;
  z-index: 10002;
  width: min(420px, calc(100vw - 1.5rem));
  border: 1px solid rgba(240, 215, 155, .42);
  background: linear-gradient(180deg, rgba(37,31,25,.98), rgba(18,15,12,.98));
  color: var(--text);
  border-radius: 1.15rem;
  box-shadow: 0 30px 110px rgba(0,0,0,.68);
  padding: 1rem;
}
.tour-card-popover.centered {
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%);
}
.tour-card-popover h2 {
  margin: .1rem 0 .45rem;
  line-height: 1.1;
}
.tour-card-popover p {
  margin: .45rem 0;
  color: var(--muted);
}
.tour-progress-line {
  height: .35rem;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,.08);
  margin: .75rem 0 .9rem;
}
.tour-progress-line span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
}
.tour-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .55rem;
  margin-top: .9rem;
}
.tour-controls .left,
.tour-controls .right {
  display: flex;
  gap: .45rem;
  flex-wrap: wrap;
}
.tour-mini-button {
  border: 1px solid rgba(215,180,106,.25);
  border-radius: 999px;
  padding: .55rem .75rem;
  cursor: pointer;
  font-weight: 850;
  color: var(--text);
  background: rgba(255,255,255,.065);
}
.tour-mini-button.primary {
  color: #1b1307;
  border: 0;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
}
.tour-mini-button:hover { transform: translateY(-1px); }
.tour-step-counter {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--gold-soft);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tour-quickstart {
  position: fixed;
  right: 1.05rem;
  bottom: 1.05rem;
  z-index: 30;
  border: 1px solid rgba(240,215,155,.38);
  color: #1b1307;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  border-radius: 999px;
  padding: .72rem 1rem;
  font-weight: 950;
  box-shadow: 0 14px 42px rgba(0,0,0,.38);
  cursor: pointer;
}
.tour-quickstart:hover { transform: translateY(-1px); }
.tutorial-card { min-height: 220px; }
@media (max-width: 700px) {
  .tour-card-popover { left: .75rem !important; right: .75rem !important; top: auto !important; bottom: .75rem !important; transform: none !important; width: auto; }
  .tour-quickstart { right: .7rem; bottom: .7rem; }
}
