html.tour-open body { overflow: hidden; }

.nexa-tour {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.nexa-tour[hidden] { display: none !important; }
.nexa-tour-backdrop {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, #000 64%, transparent);
  backdrop-filter: blur(10px) saturate(120%);
  animation: nexa-tour-fade 0.22s ease both;
}
.nexa-tour-card {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--primary) 28%, var(--line));
  border-radius: 24px;
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  box-shadow: 0 30px 100px color-mix(in srgb, #000 48%, transparent);
  animation: nexa-tour-rise 0.28s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.nexa-tour-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.1rem 0.75rem;
  border-bottom: 1px solid var(--line-soft);
}
.nexa-tour-brand { display: flex; align-items: center; gap: 0.55rem; font-weight: 700; letter-spacing: -0.01em; }
.nexa-tour-brand-mark { display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 9px; border: 1px solid color-mix(in srgb, var(--primary) 35%, var(--line)); background: color-mix(in srgb, var(--primary) 12%, var(--surface)); color: var(--primary); }
.nexa-tour-count { margin-left: auto; padding: 0.22rem 0.55rem; border: 1px solid var(--line); border-radius: 999px; color: var(--text-soft); font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.04em; }
.nexa-tour-close { display: grid; place-items: center; width: 2rem; height: 2rem; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--text-soft); cursor: pointer; }
.nexa-tour-close:hover { color: var(--text); border-color: color-mix(in srgb, var(--primary) 35%, var(--line)); }
.nexa-tour-dots { display: flex; gap: 0.3rem; justify-content: center; padding: 0.7rem 0 0; }
.nexa-tour-dot { width: 7px; height: 7px; border-radius: 999px; background: color-mix(in srgb, var(--line) 70%, transparent); transition: width 0.2s ease, background 0.2s ease; }
.nexa-tour-dot.is-active { width: 24px; background: var(--primary); }
.nexa-tour-slide { display: grid; grid-template-columns: 122px minmax(0, 1fr); gap: 1.2rem; align-items: center; padding: 1.15rem 1.35rem 1rem; min-height: 250px; }
.nexa-tour-slide[hidden] { display: none !important; }
.nexa-tour-art { position: relative; display: grid; place-items: center; width: 112px; height: 112px; border-radius: 28px; border: 1px solid color-mix(in srgb, var(--primary) 32%, var(--line)); background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--primary) 22%, transparent), transparent 70%), color-mix(in srgb, var(--field-bg) 80%, var(--surface)); color: var(--primary); font-size: 2rem; box-shadow: 0 16px 38px color-mix(in srgb, var(--primary) 12%, transparent); }
.nexa-tour-art::after { content: ""; position: absolute; inset: -8px; border: 1px dashed color-mix(in srgb, var(--primary) 24%, var(--line)); border-radius: 34px; pointer-events: none; }
.nexa-tour-copy { display: grid; gap: 0.55rem; }
.nexa-tour-kicker { color: var(--primary); font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; }
.nexa-tour-title { margin: 0; font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.12; letter-spacing: -0.035em; }
.nexa-tour-text { margin: 0; color: var(--text-soft); line-height: 1.65; font-size: 0.9rem; }
.nexa-tour-list { display: grid; gap: 0.35rem; margin: 0; padding: 0; list-style: none; }
.nexa-tour-list li { display: flex; align-items: flex-start; gap: 0.45rem; color: var(--text-soft); font-size: 0.84rem; line-height: 1.5; }
.nexa-tour-list i { color: #22c55e; margin-top: 0.1rem; }
.nexa-tour-foot { display: flex; align-items: center; justify-content: space-between; gap: 0.7rem; flex-wrap: wrap; padding: 0.85rem 1.1rem 1rem; border-top: 1px solid var(--line-soft); background: color-mix(in srgb, var(--field-bg) 30%, transparent); }
.nexa-tour-foot-actions { display: flex; gap: 0.45rem; }
.nexa-tour-skip { border: 0; background: transparent; color: var(--text-soft); font: inherit; font-size: 0.8rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.nexa-tour-skip:hover { color: var(--text); }
@keyframes nexa-tour-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes nexa-tour-rise { from { opacity: 0; transform: translateY(14px) scale(0.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (max-width: 640px) {
  .nexa-tour-card { border-radius: 18px; }
  .nexa-tour-slide { grid-template-columns: 1fr; gap: 0.8rem; padding: 1rem; min-height: 0; }
  .nexa-tour-art { width: 72px; height: 72px; border-radius: 20px; font-size: 1.4rem; }
  .nexa-tour-art::after { inset: -6px; border-radius: 25px; }
  .nexa-tour-foot { padding: 0.8rem 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .nexa-tour-backdrop, .nexa-tour-card { animation: none; }
}
