/**
 * Lyrics3s Song Page Stylesheet (song.css)
 * Tông màu chủ đạo: Trắng & Tím (Logo Astronaut)
 * < 350 dòng code theo quy ước rules.md
 */

/* Container & Breadcrumb */
.l3s-song-page-container { width: 100%; padding: 16px 0 40px; }
.l3s-inner-container { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.l3s-breadcrumb-bar { margin-bottom: 16px; }
.l3s-breadcrumb-list { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; list-style: none; padding: 0; margin: 0; font-size: 13px; color: var(--text-muted, #9c92b0); }
.l3s-breadcrumb-item a { color: var(--text-sub, #6c6180); text-decoration: none; transition: color 0.2s; }
.l3s-breadcrumb-item a:hover { color: var(--primary, #7c3aed); }
.l3s-breadcrumb-item.is-active { color: var(--text-primary, #181126); font-weight: 500; }
.l3s-breadcrumb-sep { color: var(--border-color, #e9e5f2); }

/* Mục 3 & 4: Hero Header Card */
.l3s-song-hero-card { background: var(--bg-card, #ffffff); border: 1px solid var(--border-color, #e9e5f2); border-radius: 14px; padding: 24px; margin-bottom: 20px; box-shadow: 0 2px 8px rgba(124, 58, 237, 0.04); }
.l3s-song-hero-body { display: flex; gap: 24px; align-items: stretch; }
.l3s-song-hero-cover { width: 180px; min-height: 180px; align-self: stretch; flex-shrink: 0; border-radius: 14px; overflow: hidden; background: var(--bg-subtle, #f3f0f9); border: 1px solid var(--border-color, #e9e5f2); }
.l3s-hero-cover-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.l3s-hero-cover-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--primary, #a78bfa); }
.l3s-song-hero-details { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.l3s-hero-top-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; width: 100%; }
.l3s-badge-genre { display: inline-block; padding: 3px 10px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; color: var(--primary, #7c3aed); background: var(--primary-light, #f5f3ff); border: 1px solid var(--primary-border, #ddd6fe); border-radius: 6px; text-decoration: none; }
.l3s-hero-stats { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--text-muted, #6c6180); margin-left: auto; }

.l3s-stat-item { display: inline-flex; align-items: center; gap: 4px; }
.l3s-like-btn { cursor: pointer; user-select: none; transition: all 0.2s ease; border-radius: 6px; padding: 2px 6px; margin: -2px -6px; }
.l3s-like-btn:hover { background: rgba(239, 68, 68, 0.08); }
.l3s-like-btn.is-liked { color: #ef4444; }
.l3s-like-btn.is-liked .l3s-heart-icon { fill: #ef4444; stroke: #ef4444; }
.l3s-btn.is-copied { background: #10b981 !important; color: #ffffff !important; border-color: #10b981 !important; }
.l3s-hero-title { font-size: 26px; font-weight: 800; color: var(--text-primary, #181126); margin: 4px 0 6px; line-height: 1.3; }
.l3s-hero-performer { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.l3s-hero-performer a { color: var(--primary, #7c3aed); text-decoration: none; }
.l3s-verified-badge { display: inline-flex; align-items: center; }
.l3s-hero-credits, .l3s-hero-meta-line { font-size: 13.5px; color: var(--text-sub, #6c6180); margin-bottom: 4px; display: flex; flex-wrap: wrap; align-items: center; row-gap: 4px; }
.l3s-hero-meta-line a { color: var(--text-secondary, #3b314d); text-decoration: none; transition: color 0.15s ease; font-weight: 500; }
.l3s-hero-meta-line a:hover { color: var(--primary, #7c3aed); text-decoration: underline; }
.l3s-dot-sep { margin: 0 7px; color: var(--border-color, #e9e5f2); }
.l3s-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: auto; padding-top: 14px; }
.l3s-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 38px; padding: 0 16px; font-size: 13.5px; font-weight: 600; border-radius: 8px; cursor: pointer; text-decoration: none; transition: all 0.2s; border: 1px solid transparent; }
.l3s-btn-primary { background: var(--primary-gradient, linear-gradient(135deg, #8b5cf6, #7c3aed)); color: #ffffff !important; box-shadow: 0 4px 10px rgba(124, 58, 237, 0.25); }
.l3s-btn-primary:hover { opacity: 0.92; transform: translateY(-1px); }
.l3s-btn-outline { background: var(--bg-card, #ffffff); border-color: var(--border-color, #e9e5f2); color: var(--text-primary, #3b314d); }
.l3s-btn-outline:hover { background: var(--primary-light, #f5f3ff); border-color: var(--primary-border, #ddd6fe); color: var(--primary, #7c3aed); }
.l3s-btn-icon { width: 38px; height: 38px; padding: 0; background: var(--bg-card, #ffffff); border-color: var(--border-color, #e9e5f2); color: var(--text-secondary, #3b314d); border-radius: 8px; }
.l3s-btn-icon:hover { background: var(--primary-light, #f5f3ff); color: var(--primary, #7c3aed); border-color: var(--primary-border, #ddd6fe); }

/* AdSense Top & Mid */
.l3s-ad-top-wrapper, .l3s-ad-mid-wrapper { margin-bottom: 20px; }

/* 2-Column Grid Layout */
.l3s-song-main-grid { display: grid; grid-template-columns: 1fr 340px; gap: 24px; }
.l3s-song-content-col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }

/* Shared Card & Section Header */
.l3s-song-section, .l3s-song-sidebar-widget { background: var(--bg-card, #ffffff); border: 1px solid var(--border-color, #e9e5f2); border-radius: 12px; padding: 20px; }
.l3s-section-header, .l3s-widget-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.l3s-section-title, .l3s-widget-title { font-size: 15px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: var(--text-primary, #181126); display: flex; align-items: center; gap: 8px; margin: 0; }
.l3s-accordion-icon { display: none; color: #6c6180; transition: transform 0.25s ease; }

/* Mục 6: Lời bài hát */
.l3s-lyrics-toolbar { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--border-subtle, #f3f0f9); }
.l3s-btn-tool, .l3s-btn-tool-sm { display: inline-flex; align-items: center; gap: 5px; background: var(--bg-subtle, #f9f8fc); border: 1px solid var(--border-color, #e9e5f2); color: var(--text-primary, #3b314d); padding: 6px 12px; font-size: 13px; font-weight: 500; border-radius: 6px; cursor: pointer; transition: all 0.2s; }
.l3s-btn-tool:hover, .l3s-btn-tool-sm:hover { background: var(--primary-light, #f5f3ff); color: var(--primary, #7c3aed); border-color: var(--primary-border, #ddd6fe); }
.l3s-lyrics-body { font-size: 17px; line-height: 1.85; color: var(--text-primary, #181126); }
.l3s-lyrics-body img, .l3s-lyrics-plain img { max-width: 100%; height: auto; border-radius: 8px; margin: 14px 0; display: block; }
.l3s-lyrics-plain p { margin: 0 0 10px 0; }
.l3s-lyrics-block { margin-bottom: 18px; }
.l3s-lyrics-block.is-chorus { font-weight: 500; }
.l3s-lyrics-tag { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--primary, #7c3aed); margin-bottom: 6px; }
.l3s-lyrics-line { margin: 0 0 3px; }
.l3s-lyrics-expander-wrap { display: flex; justify-content: center; margin-top: 16px; position: relative; z-index: 2; }
.l3s-lyrics-expand-btn { display: inline-flex; align-items: center; gap: 6px; background: var(--bg-subtle, #f9f8fc); border: 1px solid var(--border-color, #e9e5f2); color: var(--primary, #7c3aed); font-size: 13.5px; font-weight: 600; cursor: pointer; padding: 7px 22px; border-radius: var(--radius-full, 9999px); transition: all 0.2s ease; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03); }
.l3s-lyrics-expand-btn:hover { background: var(--primary-light, #f5f3ff); color: var(--primary-hover, #6d28d9); border-color: var(--primary-border, #ddd6fe); transform: translateY(-1px); }
.l3s-lyrics-expand-btn svg { transition: transform 0.25s ease; }
.l3s-lyrics-body.is-truncated { max-height: 280px; overflow: hidden; position: relative; }
.l3s-lyrics-body.is-truncated::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 90px; background: linear-gradient(to bottom, transparent, var(--bg-card, #ffffff)); pointer-events: none; }

/* Mục 8: Thông tin bài hát & Lời bài hát xem nhiều (Sidebar) */
.l3s-song-sidebar-col { display: flex; flex-direction: column; gap: 20px; height: 100%; }
.l3s-facts-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.l3s-facts-table th, .l3s-facts-table td { padding: 8px 0; border-bottom: 1px solid var(--border-subtle, #f3f0f9); text-align: left; }
.l3s-facts-table th { width: 36%; color: var(--text-muted, #6c6180); font-weight: 500; }
.l3s-facts-table td { color: var(--text-primary, #181126); }
.l3s-facts-table a { color: var(--primary, #7c3aed); text-decoration: none; }

/* Sticky Container cho Quảng cáo + Lời bài hát xem nhiều */
.l3s-sidebar-sticky-group {
    position: -webkit-sticky;
    position: sticky;
    top: 130px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 10;
}
body.admin-bar .l3s-sidebar-sticky-group {
    top: 162px;
}
.l3s-sidebar-ad-card { display: block; width: 100%; }

/* Lời bài hát xem nhiều (Top Trending Sidebar Widget) */
.l3s-popular-songs-widget { padding: 20px; }
.l3s-popular-list { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.l3s-popular-item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; background: transparent; transition: all 0.2s ease; text-decoration: none; }
.l3s-popular-item:hover { background: var(--bg-subtle, #f8fafc); transform: translateX(3px); }
.l3s-popular-item.is-current-playing { background: var(--primary-light, #f5f3ff); border: 1px solid var(--primary-border, #ddd6fe); }
.l3s-popular-rank { width: 34px; flex-shrink: 0; font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif; font-size: 20px; font-weight: 800; line-height: 1; text-align: center; letter-spacing: -0.5px; }
.l3s-popular-rank .l3s-rank-hash { font-size: 13px; font-weight: 700; opacity: 0.75; margin-right: 1px; }
.l3s-popular-rank.rank-1 { color: #ef4444; text-shadow: 0 2px 8px rgba(239, 68, 68, 0.25); }
.l3s-popular-rank.rank-2 { color: #10b981; text-shadow: 0 2px 8px rgba(16, 185, 129, 0.25); }
.l3s-popular-rank.rank-3 { color: #f59e0b; text-shadow: 0 2px 8px rgba(245, 158, 11, 0.25); }
.l3s-popular-rank.rank-4, .l3s-popular-rank.rank-5 { color: var(--text-muted, #94a3b8); }
.l3s-popular-thumb { position: relative; width: 46px; height: 46px; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: var(--bg-subtle, #f1f5f9); border: 1px solid var(--border-color, #e9e5f2); display: block; }
.l3s-popular-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.2s ease; }
.l3s-popular-item:hover .l3s-popular-thumb img { transform: scale(1.08); }
.l3s-popular-thumb-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--text-muted, #94a3b8); background: var(--bg-subtle, #f8fafc); }
.l3s-popular-play-overlay { position: absolute; inset: 0; background: rgba(15, 23, 42, 0.55); display: flex; align-items: center; justify-content: center; color: #ffffff; opacity: 0; transition: opacity 0.15s ease; border-radius: 7px; }
.l3s-popular-item:hover .l3s-popular-play-overlay { opacity: 1; }
.l3s-popular-info { flex: 1; min-width: 0; }
.l3s-popular-title { display: block; font-size: 13.5px; font-weight: 600; color: var(--text-primary, #181126); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.4; transition: color 0.15s ease; }
.l3s-popular-title:hover { color: var(--primary, #7c3aed); }
.l3s-popular-sub { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--text-sub, #6c6180); margin-top: 3px; }
.l3s-popular-artist { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0; }
.l3s-popular-artist a { color: inherit; text-decoration: none; }
.l3s-popular-artist a:hover { color: var(--primary, #7c3aed); text-decoration: underline; }
.l3s-popular-views { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 600; color: var(--text-muted, #64748b); flex-shrink: 0; background: var(--bg-subtle, #f1f5f9); padding: 2px 6px; border-radius: 4px; }

/* Mục 9: Giới thiệu bài hát */
.l3s-intro-text-wrap { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.l3s-intro-text-wrap.is-expanded { display: block; -webkit-line-clamp: unset; }
.l3s-intro-paragraph { font-size: 16.5px; line-height: 1.75; color: var(--text-secondary, #3b314d); margin: 0; }
.l3s-intro-paragraph p { margin-bottom: 14px; }
.l3s-intro-paragraph ul { list-style-type: disc !important; padding-left: 24px !important; margin: 10px 0 16px 0 !important; }
.l3s-intro-paragraph ol { list-style-type: decimal !important; padding-left: 24px !important; margin: 10px 0 16px 0 !important; }
.l3s-intro-paragraph li { display: list-item !important; margin-bottom: 6px !important; line-height: 1.65; color: var(--text-secondary, #3b314d); }
.l3s-intro-paragraph h2, .l3s-intro-paragraph h3, .l3s-intro-paragraph h4 { color: var(--text-primary); margin: 18px 0 8px 0; font-weight: 700; }
.l3s-intro-paragraph strong { color: var(--text-primary); font-weight: 600; }
.l3s-intro-paragraph a { color: var(--primary); text-decoration: underline; }
.l3s-link-expand { display: inline-flex; align-items: center; gap: 6px; background: var(--bg-subtle, #f9f8fc); border: 1px solid var(--border-color, #e9e5f2); color: var(--primary, #7c3aed); font-size: 13px; font-weight: 600; padding: 6px 16px; border-radius: var(--radius-full, 9999px); margin-top: 12px; cursor: pointer; transition: all 0.2s ease; }
.l3s-link-expand:hover { background: var(--primary-light, #f5f3ff); color: var(--primary-hover, #6d28d9); border-color: var(--primary-border, #ddd6fe); }

/* Mục 10: Media & Nền tảng nghe nhạc */
.l3s-media-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; align-items: center; }
.l3s-youtube-card { position: relative; border-radius: 10px; overflow: hidden; background: #000; cursor: pointer; aspect-ratio: 16 / 9; }
.l3s-youtube-thumb { width: 100%; height: 100%; object-fit: cover; opacity: 0.88; transition: opacity 0.2s; }
.l3s-youtube-card:hover .l3s-youtube-thumb { opacity: 0.98; }
.l3s-youtube-meta { position: absolute; top: 10px; left: 12px; right: 12px; z-index: 2; display: flex; flex-direction: column; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8); }
.l3s-yt-song-title { color: #ffffff; font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.l3s-yt-channel { color: #ddd6fe; font-size: 11.5px; }
.l3s-yt-brand { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; color: #fff; font-size: 11px; }
.l3s-youtube-play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(124, 58, 237, 0.9); display: flex; align-items: center; justify-content: center; transition: transform 0.2s; }
.l3s-youtube-card:hover .l3s-youtube-play-btn { transform: translate(-50%, -50%) scale(1.08); }
.l3s-platforms-list { display: flex; flex-direction: column; gap: 8px; }
.l3s-platform-item { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; background: var(--bg-subtle, #f9f8fc); border: 1px solid var(--border-color, #e9e5f2); border-radius: 8px; text-decoration: none; color: var(--text-primary, #181126); font-size: 13.5px; font-weight: 600; transition: all 0.2s; }
.l3s-platform-item:hover { background: var(--bg-card, #ffffff); border-color: var(--primary-border, #ddd6fe); box-shadow: 0 2px 6px rgba(124, 58, 237, 0.08); }
.l3s-platform-item.is-disabled { background: var(--bg-subtle, #f8fafc); border-color: var(--border-color, #e2e8f0); color: var(--text-muted, #94a3b8); cursor: not-allowed; opacity: 0.52; user-select: none; pointer-events: none; }
.l3s-platform-item.is-disabled .l3s-platform-icon { filter: grayscale(100%); opacity: 0.6; }
.l3s-platform-item.is-disabled:hover { background: var(--bg-subtle, #f8fafc); border-color: var(--border-color, #e2e8f0); box-shadow: none; transform: none; }
.l3s-platform-disabled-note { font-size: 11px; font-weight: 600; color: var(--text-muted, #94a3b8); background: var(--border-subtle, #e2e8f0); padding: 2px 8px; border-radius: 4px; }
.l3s-platform-icon { display: inline-flex; margin-right: 8px; }
.l3s-platform-label { flex: 1; }
.l3s-platform-arrow { color: var(--text-muted, #9c92b0); }

/* Mục 11: Hợp âm */
.l3s-chords-meta-bar { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; background: var(--bg-subtle, #f9f8fc); border: 1px solid var(--border-color, #e9e5f2); border-radius: 8px; font-size: 13.5px; color: var(--text-primary); }
.l3s-btn-sm { height: 32px; padding: 0 12px; font-size: 12.5px; }
.l3s-chords-sheet-wrap { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border-color, #e9e5f2); }
.l3s-chords-actions { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-size: 12.5px; color: var(--text-muted, #6c6180); }
.l3s-chords-transpose { display: flex; align-items: center; gap: 6px; }
.l3s-current-tone { font-weight: 700; color: var(--primary, #7c3aed); padding: 0 4px; }
.l3s-chords-content { background: #181126; color: #f1f5f9; padding: 18px 22px; border-radius: 12px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 14.5px; line-height: 1.85; white-space: pre-wrap; overflow-x: auto; border: 1px solid rgba(255, 255, 255, 0.08); }
.l3s-chord-note { font-weight: 700; color: #38bdf8; background: transparent; border: none; padding: 0 1px; display: inline; cursor: pointer; transition: color 0.15s ease, text-shadow 0.15s ease; letter-spacing: 0.2px; }
.l3s-chord-note:hover { color: #7dd3fc; text-shadow: 0 0 8px rgba(56, 189, 248, 0.6); }
.l3s-chord-section { font-weight: 700; font-size: 14.5px; color: #fbbf24; background: transparent; border: none; display: block; margin: 1.25em 0 0.25em 0; padding: 0; letter-spacing: 0.3px; }

/* Chord Modal */
.l3s-chord-modal-overlay { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.7); display: flex; align-items: center; justify-content: center; z-index: 99999; opacity: 0; visibility: hidden; transition: all 0.2s ease; backdrop-filter: blur(3px); }
.l3s-chord-modal-overlay.is-active { opacity: 1; visibility: visible; }
.l3s-chord-modal { background: #ffffff; width: 90%; max-width: 320px; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); transform: translateY(20px); transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.l3s-chord-modal-overlay.is-active .l3s-chord-modal { transform: translateY(0); }
.l3s-chord-modal-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: #f8fafc; border-bottom: 1px solid #e2e8f0; }
.l3s-chord-modal-title { font-size: 15px; font-weight: 700; color: #1e293b; margin: 0; }
.l3s-chord-modal-title span { color: #7c3aed; }
.l3s-chord-modal-close { background: none; border: none; font-size: 24px; line-height: 1; color: #64748b; cursor: pointer; padding: 0 4px; }
.l3s-chord-modal-close:hover { color: #ef4444; }
.l3s-chord-modal-body { padding: 24px 16px; text-align: center; }
.l3s-chord-placeholder { font-size: 13.5px; color: #64748b; line-height: 1.6; }

/* Mục 12: Album Tracklist */
.l3s-album-body { display: flex; gap: 18px; align-items: flex-start; }
.l3s-album-cover-wrap { width: 80px; height: 80px; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: var(--bg-subtle, #f3f0f9); border: 1px solid var(--border-color, #e9e5f2); }
.l3s-album-cover-img { width: 100%; height: 100%; object-fit: cover; }
.l3s-album-tracklist-grid { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.l3s-album-track-item { font-size: 13.5px; display: flex; align-items: center; gap: 6px; }
.l3s-track-num { color: var(--text-muted, #9c92b0); font-weight: 600; }
.l3s-track-title { color: var(--text-secondary, #3b314d); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.l3s-album-track-item.is-active-track .l3s-track-title { color: var(--primary, #7c3aed); font-weight: 700; }
.l3s-album-footer-link { text-align: right; margin-top: 12px; }

/* Mục 13, 14, 15: Liên quan & Cùng tâm trạng */
.l3s-section-header-flex { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.l3s-related-title { font-size: 14px; font-weight: 700; letter-spacing: 0.4px; color: var(--text-primary, #181126); display: flex; align-items: center; gap: 4px; margin: 0; }
.l3s-link-arrow { display: inline-flex; align-items: center; gap: 3px; font-size: 12.5px; font-weight: 600; color: var(--primary, #7c3aed); text-decoration: none; }
.l3s-cards-scroll-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.l3s-mini-song-card { text-decoration: none; display: block; border-radius: 8px; overflow: hidden; transition: transform 0.2s; }
.l3s-mini-song-card:hover { transform: translateY(-2px); }
.l3s-mini-card-thumb { width: 100%; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--bg-subtle, #f3f0f9); border: 1px solid var(--border-color, #e9e5f2); display: flex; }
.l3s-mini-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.l3s-thumb-icon-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--primary, #a78bfa); background: var(--bg-subtle, #f8fafc); }
.l3s-mini-card-title { display: block; font-size: 13px; font-weight: 600; color: var(--text-primary, #181126); margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.l3s-mini-card-artist { display: block; font-size: 11.5px; color: var(--text-muted, #9c92b0); }
.l3s-mood-chips-row { display: flex; flex-wrap: wrap; gap: 8px; }
.l3s-mood-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; background: var(--bg-subtle, #f9f8fc); border: 1px solid var(--border-color, #e9e5f2); border-radius: 20px; font-size: 13px; font-weight: 500; color: var(--text-primary, #3b314d); text-decoration: none; }
.l3s-mood-chip:hover { background: var(--primary-light, #f5f3ff); border-color: var(--primary-border, #ddd6fe); color: var(--primary, #7c3aed); }
.l3s-chip-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary, #7c3aed); }

/* Mục 16: Thông tin biên tập & Toast */
.l3s-song-editorial-meta { padding-top: 14px; border-top: 1px solid var(--border-color, #e9e5f2); font-size: 12.5px; color: var(--text-muted, #9c92b0); }
.l3s-editorial-meta-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.l3s-meta-item { display: inline-flex; align-items: center; gap: 4px; }
.l3s-toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(100px); background: #181126; color: #ffffff; padding: 10px 20px; border-radius: 8px; font-size: 13.5px; font-weight: 500; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2); transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); z-index: 9999; }
.l3s-toast.show { transform: translateX(-50%) translateY(0); }

/* Utility */
.l3s-order-item { display: contents; }
.l3s-show-mobile { display: none; }

/* Mobile & Tablet Responsive (< 768px) */
@media (max-width: 768px) {
    .l3s-song-hero-body { flex-direction: column; align-items: center; text-align: center; }
    .l3s-song-hero-cover { width: 160px; height: 160px; min-height: 160px; align-self: center; margin-bottom: 14px; }
    .l3s-hero-top-row { justify-content: center; gap: 12px; }
    .l3s-hero-performer, .l3s-hero-credits, .l3s-hero-meta-line { justify-content: center; width: 100%; }
    .l3s-hero-actions { justify-content: center; width: 100%; }
    .l3s-song-main-grid { display: flex; flex-direction: column; gap: 20px; }
    .l3s-song-content-col, .l3s-song-sidebar-col { display: contents; }
    .l3s-order-item { display: block; order: var(--mob-order, 1); width: 100%; min-width: 0; }
    .l3s-song-sidebar-col { height: auto; }
    .l3s-sidebar-sticky-group { position: static; }
    .l3s-accordion-mobile .l3s-accordion-header { cursor: pointer; user-select: none; }
    .l3s-accordion-mobile .l3s-accordion-icon { display: inline-flex; }
    .l3s-accordion-mobile.is-collapsed .l3s-accordion-content { display: none; }
    .l3s-accordion-mobile.is-collapsed .l3s-accordion-icon { transform: rotate(-90deg); }
    .l3s-media-grid { grid-template-columns: 1fr; }
    .l3s-album-body { flex-direction: column; }
    .l3s-album-tracklist-grid { grid-template-columns: 1fr; }
    
    .l3s-hide-mobile { display: none !important; }
    .l3s-show-mobile { display: flex !important; }
    .l3s-view-more-bottom { justify-content: center; width: 100%; margin-top: 14px; padding: 10px; background: var(--bg-subtle, #f9f8fc); border-radius: 8px; border: 1px solid var(--border-color, #e9e5f2); color: var(--primary, #7c3aed); text-align: center; }
}

.l3s-chords-info-badges { flex: 1; min-width: 0; line-height: 1.6; display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.l3s-chords-meta-bar .l3s-btn-sm { flex-shrink: 0; margin-left: 10px; white-space: pre-line; text-align: center; line-height: 1.2; height: auto; padding: 6px 12px; }

/* Dark Mode Overrides for Song Page */
body.l3s-dark-mode .l3s-lyrics-body.is-truncated::after {
    background: linear-gradient(to bottom, transparent, var(--bg-card, #181126));
}
body.l3s-dark-mode .l3s-lyrics-expand-btn {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
