/* Guest Root Map: one readable family, explicit locks instead of scroll gates. */
.rootmap-preview-note {
  margin: 8px 12px;
  color: #c3cbd2;
  font-size: 13px;
  line-height: 1.4;
}
.rootmap-preview-note strong { color: #e6c77f; }
.rootmap-family-content { position: relative; min-width: 0; }
.review-root-group-locked .review-root-row {
  filter: blur(5px);
  opacity: .35;
  pointer-events: none;
  user-select: none;
  max-height: 104px;
  overflow: hidden;
}
.rootmap-family-lock {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  border: 1px solid #675735;
  border-radius: 10px;
  color: #f4e0ad;
  background: rgb(18 21 26 / 70%);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.rootmap-family-lock svg { width: 20px; height: 20px; flex: none; }
.rootmap-family-lock:focus-visible { outline: 2px solid #e6b54a; outline-offset: 2px; }
body.is-root-map-guest-preview .site-footer { display: none; }
body.is-root-map-guest-preview .review-scroll-area { min-height: 0; overflow-y: auto; }
body.is-root-map-guest-preview .review-preview-more {
  width: 100%;
  min-height: 44px;
  flex-shrink: 0;
  border: 1px solid #675735;
  border-radius: 8px;
  padding: 10px 12px;
  color: #e6c77f;
  background: #17150f;
  font: inherit;
  cursor: pointer;
}
@media (max-width: 980px) {
  body.is-root-map-guest-preview .shell { display: block; overflow: hidden; }
  body.is-root-map-guest-preview .sidebar { display: none; }
  body.is-root-map-guest-preview #detailPane {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    height: 100dvh;
    min-height: 0;
    padding: 58px 0 0;
  }
  body.is-root-map-guest-preview .review-scroll-area { flex: 1 1 auto; }
  body.is-root-map-guest-preview .review-preview-more { flex: 0 0 auto; }
  body.is-root-map-guest-preview .review-root-group-locked { gap: 6px; }
  body.is-root-map-guest-preview .review-root-group-locked .review-root-header {
    min-height: 0;
    padding: 10px 12px;
  }
  body.is-root-map-guest-preview .review-root-group-locked .review-root-header span { font-size: 18px; }
  body.is-root-map-guest-preview .review-root-group-locked .review-root-header em { display: none; }
}
/* Card browsing and root-map actions must remain unobstructed.
   Preserve promo eligibility/dismissal state on lesson screens. */
body:has(#detailPane > .review-sticky-bar) #installPromo,
body:has(#detailPane .home-channel) #installPromo {
  display: none;
}

