/* Живые инструкции ГК ВЫСОТА — оверлей на реальном DOM */
.skald-tour-root {
  position: fixed;
  inset: 0;
  z-index: 9990;
  pointer-events: none;
}
.skald-tour-root * { pointer-events: auto; }
.skald-tour-dim {
  position: absolute; inset: 0;
  background: rgba(11, 29, 48, .62);
  pointer-events: auto;
}
.skald-tour-spot {
  position: absolute;
  border: 3px solid #c19c5c;
  border-radius: 14px;
  box-shadow: 0 0 0 9999px rgba(11, 29, 48, .62), 0 0 0 8px rgba(193, 156, 92, .35), 0 12px 32px rgba(11, 29, 48, .45);
  pointer-events: none;
  /* без transition — иначе после скролла квадрат «догоняет» элемент */
}
.skald-tour-badge {
  position: absolute;
  transform: translate(-30%, -110%);
  background: linear-gradient(135deg, #c19c5c, #eab308);
  color: #0b1d30;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(193, 156, 92, .45);
  pointer-events: none;
  z-index: 1;
}
.skald-tour-arrow {
  position: absolute;
  width: 56px; height: 56px;
  pointer-events: none;
  filter: drop-shadow(0 4px 8px rgba(11, 29, 48, .5));
  z-index: 1;
}
.skald-tour-pop {
  position: absolute;
  width: min(400px, calc(100vw - 24px));
  max-height: min(70vh, 420px);
  overflow: auto;
  background: #0b1d30;
  color: #fff;
  border: 1px solid rgba(193, 156, 92, .55);
  border-radius: 18px;
  box-shadow: 0 22px 50px rgba(11, 29, 48, .5);
  padding: 16px 16px 14px;
  z-index: 2;
  pointer-events: auto;
}
.skald-tour-pop h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 800;
  color: #c19c5c;
  letter-spacing: .01em;
}
.skald-tour-body p {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.5;
  color: #e2e8f0;
}
.skald-tour-body p:last-child { margin-bottom: 0; }
.skald-tour-meta {
  margin-top: 10px;
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.skald-tour-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  align-items: center;
}
.skald-tour-actions button {
  border: 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
  border-radius: 10px;
  padding: 8px 12px;
  font-family: inherit;
}
.skald-tour-next {
  background: linear-gradient(135deg, #c19c5c, #b08b4e);
  color: #fff;
}
.skald-tour-next:hover { filter: brightness(1.06); }
.skald-tour-back {
  background: transparent;
  color: #e2e8f0;
  border: 1px solid #334155 !important;
}
.skald-tour-back:disabled {
  opacity: .4;
  cursor: default;
}
.skald-tour-skip {
  margin-left: auto;
  background: transparent;
  color: #94a3b8;
}
.skald-tour-skip:hover { color: #fff; }
body.skald-tour-on {
  /* не ставим overflow:hidden на html/body — ломает scrollIntoView и позицию */
}
body.skald-tour-capture .skald-tour-actions { display: none !important; }
body.skald-tour-capture .skald-tour-dim { pointer-events: none; }

.skald-help-fab {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 70;
  width: 48px; height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0b1d30, #152c46);
  color: #c19c5c;
  border: 1px solid rgba(193, 156, 92, .45);
  box-shadow: 0 10px 24px rgba(11, 29, 48, .28);
  font-weight: 900;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.skald-help-fab:hover { color: #eab308; transform: translateY(-1px); }
@media (max-width: 1023px) {
  .skald-help-fab { bottom: calc(4.6rem + env(safe-area-inset-bottom, 0px)); right: 12px; }
}

.skald-section-tour {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #c19c5c;
  background: #fff8eb;
  border: 1px solid rgba(193, 156, 92, .45);
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
  white-space: nowrap;
}
.skald-section-tour:hover {
  background: #f8ecd3;
  color: #9a7a3a;
}
.skald-section-tour svg { width: 14px; height: 14px; flex-shrink: 0; }

.skald-shot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.skald-shot-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  padding: 0;
  width: 100%;
}
.skald-shot-card:hover { border-color: #c19c5c; box-shadow: 0 10px 24px -12px rgba(11, 29, 48, .2); }
.skald-shot-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  object-position: top;
  background: #0b1d30;
  display: block;
}
.skald-shot-card .cap { padding: 10px 12px 12px; }
.skald-shot-card .cap b { display: block; font-size: 13px; color: #0b1d30; }
.skald-shot-card .cap span { display: block; font-size: 11px; color: #64748b; margin-top: 3px; line-height: 1.35; }
.skald-kb-logic {
  border-top: 1px solid #e2e8f0;
  padding-top: 18px;
}
.skald-kb-logic h4 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #c19c5c;
  margin-bottom: 10px;
}
.skald-kb-logic p {
  font-size: 14px;
  line-height: 1.55;
  color: #334155;
  margin: 0 0 12px;
  white-space: pre-wrap;
}
.skald-kb-logic p:last-child { margin-bottom: 0; }
.skald-shot-missing {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  padding: 12px;
}
.skald-help-menu {
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 8px;
  width: 300px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 18px 40px -12px rgba(11, 29, 48, .28);
  z-index: 55;
  padding: 8px;
  text-align: left;
}
.skald-help-menu button {
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  color: #0b1d30;
}
.skald-help-menu button:hover { background: #f8f1e3; color: #c19c5c; }
.skald-help-menu .sub { display: block; font-size: 11px; font-weight: 500; color: #64748b; margin-top: 2px; }
.skald-help-menu .hint {
  padding: 8px 12px 6px;
  font-size: 11px;
  color: #64748b;
  line-height: 1.35;
}
