/* ════════════════════════════════════════════════
   Highlights / Key Moments
   ════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════
   HIGHLIGHTS / KEY MOMENTS
   ═══════════════════════════════════════════════ */
.highlights-strip {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.highlight-card {
    position: relative;
    padding: 14px 14px 14px 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
    transition: all var(--transition);
    overflow: hidden;
}
.highlight-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    border-radius: 3px 0 0 3px;
    transition: width var(--transition);
}
.highlight-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.3); }
.highlight-card:hover::before { width: 4px; }

/* Type color schemes */
.hl-key_insight  { border-color: rgba(139, 92, 246, 0.25); }
.hl-key_insight::before  { background: #8b5cf6; }
.hl-key_insight:hover    { border-color: rgba(139, 92, 246, 0.5); background: rgba(139,92,246,0.07); }

.hl-definition   { border-color: rgba(96, 165, 250, 0.25); }
.hl-definition::before   { background: #60a5fa; }
.hl-definition:hover     { border-color: rgba(96,165,250,0.5); background: rgba(96,165,250,0.07); }

.hl-example      { border-color: rgba(251, 146, 60, 0.25); }
.hl-example::before      { background: #fb923c; }
.hl-example:hover        { border-color: rgba(251,146,60,0.5); background: rgba(251,146,60,0.07); }

.hl-turning_point { border-color: rgba(239, 68, 68, 0.25); }
.hl-turning_point::before { background: #ef4444; }
.hl-turning_point:hover  { border-color: rgba(239,68,68,0.5); background: rgba(239,68,68,0.07); }

.hl-summary      { border-color: rgba(16, 185, 129, 0.25); }
.hl-summary::before      { background: #10b981; }
.hl-summary:hover        { border-color: rgba(16,185,129,0.5); background: rgba(16,185,129,0.07); }

.hl-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; gap: 8px; }

.hl-type-badge {
    font-size: 9px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.6px; padding: 2px 7px;
    border-radius: 4px; white-space: nowrap;
}
.hl-key_insight  .hl-type-badge { background: rgba(139,92,246,0.15); color: var(--accent-light); }
.hl-definition   .hl-type-badge { background: rgba(96,165,250,0.15); color: #93c5fd; }
.hl-example      .hl-type-badge { background: rgba(251,146,60,0.15); color: #fdba74; }
.hl-turning_point .hl-type-badge { background: rgba(239,68,68,0.15); color: #fca5a5; }
.hl-summary      .hl-type-badge { background: rgba(16,185,129,0.15); color: #6ee7b7; }

.hl-timestamp {
    font-size: 11px; font-weight: 700;
    color: var(--text-muted);
    font-family: var(--font-mono);
    background: rgba(255,255,255,0.06);
    padding: 2px 7px; border-radius: 4px;
    white-space: nowrap;
}
.highlight-card:hover .hl-timestamp { color: var(--text-secondary); }

.hl-title {
    font-size: 13px; font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4; margin-bottom: 5px;
}
.hl-desc {
    font-size: 11.5px; color: var(--text-muted);
    line-height: 1.55;
}
.hl-seek {
    display: flex; align-items: center; gap: 4px;
    margin-top: 10px; font-size: 11px;
    font-weight: 600; color: var(--text-muted);
    transition: color var(--transition);
}
.highlight-card:hover .hl-seek { color: var(--text-secondary); }

/* Topics / chapter timeline */
.topics-list { display: flex; flex-direction: column; gap: 2px; }
.topic-item {
    display: flex;
    gap: 14px;
    padding: 14px 12px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
    border: 1px solid transparent;
}
.topic-item::before {
    content: '';
    position: absolute;
    left: 0; top: 10px; bottom: 10px;
    width: 2px;
    background: linear-gradient(180deg, var(--accent), var(--accent-light));
    border-radius: 1px;
    opacity: 0;
    transition: opacity var(--transition);
}
.topic-item:hover { background: rgba(139,92,246,0.07); border-color: rgba(139,92,246,0.15); }
.topic-item:hover::before { opacity: 1; }

.topic-emoji {
    font-size: 20px; flex-shrink: 0;
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
}
.topic-content { flex: 1; min-width: 0; }
.topic-header { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; flex-wrap: wrap; }
.topic-title { font-size: 14px; font-weight: 600; }
.topic-timestamp {
    font-size: 11px; font-weight: 600;
    color: var(--accent-light);
    background: rgba(139,92,246,0.1);
    padding: 2px 8px; border-radius: 4px;
    font-family: var(--font-mono);
    transition: background var(--transition);
    flex-shrink: 0;
}
.topic-item:hover .topic-timestamp { background: rgba(139,92,246,0.22); }
.topic-summary { font-size: 12px; color: var(--text-muted); line-height: 1.55; }

