/* ══════════════════════════════════════════════════════════════
   SCROLL INSIGHTS OVERLAY
   Greenhouse scroll hotspot → data summary with Bloom grey-outs
   ══════════════════════════════════════════════════════════════ */

.scroll-insights-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 210;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.scroll-insights-overlay.visible {
    opacity: 1;
    pointer-events: auto;
}

.scroll-insights-back {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 14px;
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    z-index: 5;
}

.scroll-insights-panel {
    background: linear-gradient(180deg, #f8f0e0 0%, #ece0c8 100%);
    border: 4px solid #4a3728;
    border-radius: 20px;
    padding: 24px 20px;
    max-width: 400px;
    width: 92%;
    max-height: 75vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(40, 30, 20, 0.5);
    position: relative;
}

.scroll-insights-title {
    font-size: 18px;
    font-weight: bold;
    color: #4a3728;
    text-align: center;
    margin: 0 0 4px;
}

.scroll-insights-subtitle {
    font-size: 13px;
    color: #8b7355;
    text-align: center;
    margin: 0 0 16px;
}

/* ── Section cards ── */

.scroll-insights-sections {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.scroll-insight-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    border: 2px solid #d8c8b0;
    border-radius: 12px;
    padding: 12px;
    transition: transform 0.15s ease;
}

.scroll-insight-card:not(.scroll-bloom-locked):hover {
    transform: translateY(-1px);
    border-color: #8b7355;
}

.scroll-insight-icon {
    font-size: 24px;
    flex-shrink: 0;
    width: 36px;
    text-align: center;
}

.scroll-insight-body {
    flex: 1;
    min-width: 0;
}

.scroll-insight-name {
    font-size: 13px;
    font-weight: bold;
    color: #4a3728;
    margin-bottom: 2px;
}

.scroll-insight-preview {
    font-size: 13px;
    color: #8b7355;
    line-height: 1.3;
}

/* ── Bloom locked sections ── */

.scroll-insight-card.scroll-bloom-locked {
    position: relative;
    filter: saturate(0.4) brightness(0.85);
    cursor: pointer;
}

.scroll-insight-card.scroll-bloom-locked::after {
    content: '🌸 Bloom';
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #e8b4d8 0%, #d4a0c8 100%);
    color: #6b3a5c;
    font-size: 13px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 8px;
    letter-spacing: 0.3px;
    filter: none;
}

/* ── Disclaimer ── */

.scroll-insights-disclaimer {
    text-align: center;
    font-size: 13px;
    color: #b0a090;
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px solid #d8c8b0;
}

/* ── Reuse bloom toast from shop.css ──
   .bloom-toast class is defined in shop.css and works
   inside any container with position: relative */
