/* ============================================================
   LyricTribe — Artist detail page  (ltArtist__ namespace)
   Fresh build, independent from artist.css + ltartists.css.
   ============================================================ */
.page-artist-detail { background: #fafafa; color: #0f172a; }

.ltArtist {
    --vermillion: #FF3B5C;
    --vermillion-deep: #d62b48;
    --vermillion-soft: rgba(255,59,92,0.10);
    --ink: #0f172a;
    --ink-2: #475569;
    --ink-3: #8a96a3;
    --line: #e6e8ec;
    --line-strong: #cfd2d8;
    --paper: #fff;
    --paper-2: #f4f5f7;
    --max: 1240px;
    --shadow-s: 0 1px 2px rgba(15,23,42,0.04);
    --shadow-m: 0 8px 24px rgba(15,23,42,0.08);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
}
.ltArtist__wrap { max-width: var(--max); margin: 0 auto; padding-left: 1.25rem; padding-right: 1.25rem; }

/* =========================================================
   1. HERO — dark maroon banner, big avatar + meta + CTAs
   ========================================================= */
.ltArtist__hero {
    color: #fff;
    padding: 3.25rem 1.25rem 3rem;
    background:
        radial-gradient(ellipse 900px 460px at 50% 30%, rgba(140, 50, 80, 0.55), transparent 80%),
        radial-gradient(circle 280px at 8% 110%, rgba(255, 59, 92, 0.18), transparent 70%),
        radial-gradient(circle 320px at 100% 0%, rgba(124, 77, 255, 0.18), transparent 70%),
        linear-gradient(180deg, #2a0f1f 0%, #1b0a14 100%);
}
.ltArtist__hero-inner { max-width: var(--max); margin: 0 auto; }

.ltArtist__crumbs { display: flex; gap: 0.45rem; align-items: center; color: rgba(255,255,255,0.62); font-size: 0.82rem; margin-bottom: 1.5rem; }
.ltArtist__crumbs a { color: rgba(255,255,255,0.82); text-decoration: none; }
.ltArtist__crumbs a:hover { color: #fff; }
.ltArtist__crumbs span:last-child { color: #fff; font-weight: 600; }

.ltArtist__hero-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    align-items: center;
}

.ltArtist__avatar {
    width: 200px; height: 200px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--vermillion), #7c4dff);
    padding: 4px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.45);
    flex-shrink: 0;
}
.ltArtist__avatar > * {
    display: block;
    width: 100%; height: 100%;
    border-radius: 50%;
    border: 4px solid #fff;
    background: #1a1a2e;
    object-fit: cover;
}
.ltArtist__avatar img { object-fit: cover; }
.ltArtist__avatar-mono { display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 3rem; letter-spacing: 0.05em; }

.ltArtist__hero-body { min-width: 0; }
.ltArtist__kicker {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    border-radius: 9999px;
    background: rgba(255,59,92,0.18);
    color: #ffd0d8;
    font-size: 0.7rem; font-weight: 800; letter-spacing: 0.18em;
    margin-bottom: 0.85rem;
}
.ltArtist__name { margin: 0 0 1rem; font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 900; line-height: 1; letter-spacing: -0.025em; color: #fff; text-shadow: 0 4px 24px rgba(0,0,0,0.35); }

.ltArtist__chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 1.25rem; }
.ltArtist__chip {
    display: inline-block;
    padding: 0.32rem 0.8rem;
    border-radius: 9999px;
    background: hsla(var(--h, 354), 80%, 65%, 0.18);
    color: hsl(var(--h, 354), 85%, 88%);
    border: 1px solid hsla(var(--h, 354), 70%, 60%, 0.28);
    font-size: 0.78rem; font-weight: 700;
    letter-spacing: 0.02em;
}

.ltArtist__stats {
    list-style: none; margin: 0 0 1.5rem; padding: 0;
    display: flex; gap: 2rem; flex-wrap: wrap;
}
.ltArtist__stats li { display: flex; flex-direction: column; line-height: 1.1; }
.ltArtist__stats strong { font-size: 1.65rem; font-weight: 900; color: #fff; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ltArtist__stats span { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; color: rgba(255,255,255,0.62); text-transform: uppercase; margin-top: 0.35rem; }

.ltArtist__cta { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-bottom: 1.25rem; }
.ltArtist__btn {
    display: inline-flex; align-items: center; gap: 0.45rem;
    padding: 0.7rem 1.3rem;
    border-radius: 9999px;
    font-weight: 700; font-size: 0.88rem;
    text-decoration: none;
    transition: all 0.18s ease;
    border: 1px solid transparent;
}
.ltArtist__btn--primary {
    background: var(--vermillion);
    color: #fff;
    box-shadow: 0 8px 18px rgba(255,59,92,0.35);
}
.ltArtist__btn--primary:hover { background: var(--vermillion-deep); transform: translateY(-1px); }
.ltArtist__btn--ghost {
    background: rgba(255,255,255,0.05);
    color: #fff;
    border-color: rgba(255,255,255,0.18);
}
.ltArtist__btn--ghost:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.32); }

.ltArtist__socials { display: flex; gap: 0.4rem; }
.ltArtist__socials a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.14);
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.ltArtist__socials a:hover { background: var(--vermillion); border-color: var(--vermillion); transform: translateY(-2px); }

/* =========================================================
   2. STICKY CHAPTER NAV
   ========================================================= */
.ltArtist__chapters {
    position: sticky; top: 0; z-index: 30;
    background: rgba(255,255,255,0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.ltArtist__chapters-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0.55rem 1.25rem;
    display: flex; gap: 0.3rem;
    overflow-x: auto;
    scrollbar-width: none;
}
.ltArtist__chapters-inner::-webkit-scrollbar { display: none; }
.ltArtist__chapter {
    color: var(--ink-2);
    text-decoration: none;
    font-size: 0.85rem; font-weight: 700;
    padding: 0.55rem 0.95rem;
    border-radius: 8px;
    transition: all 0.15s ease;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}
.ltArtist__chapter:hover { color: var(--vermillion); }
.ltArtist__chapter.is-on { color: var(--vermillion); border-bottom-color: var(--vermillion); }

/* =========================================================
   3. AD STRIPS
   ========================================================= */
.ltArtist__ad--top { padding-top: 1.25rem; padding-bottom: 0; }
.ltArtist__ad--mid { margin: 1rem 0; }
.ltArtist__ad--bottom { padding-top: 1.5rem; padding-bottom: 3rem; }

/* =========================================================
   4. 2-COLUMN LAYOUT
   ========================================================= */
.ltArtist__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 2rem;
    padding-top: 1.75rem;
    padding-bottom: 1rem;
}
.ltArtist__main { min-width: 0; display: flex; flex-direction: column; gap: 1.5rem; }

/* =========================================================
   5. SECTION CARDS — every block sits in a clean rounded card
   ========================================================= */
.ltArtist__card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1.75rem 2rem;
    scroll-margin-top: 80px;
}
.ltArtist__section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.ltArtist__section-head h2 { margin: 0; font-size: 1.35rem; font-weight: 800; letter-spacing: -0.015em; color: var(--ink); }
.ltArtist__section-count { color: var(--ink-3); font-size: 0.82rem; font-weight: 600; }
.ltArtist__section-more { color: var(--vermillion); font-weight: 700; font-size: 0.85rem; text-decoration: none; }
.ltArtist__section-more:hover { color: var(--vermillion-deep); }

/* =========================================================
   6. POPULAR SONGS — ranked list
   ========================================================= */
.ltArtist__songs { list-style: none; margin: 0; padding: 0; }
.ltArtist__song { border-top: 1px solid var(--line); }
.ltArtist__song:first-child { border-top: 0; }
.ltArtist__song-link {
    display: grid;
    grid-template-columns: 36px 56px minmax(0, 1fr) auto 22px;
    gap: 0.9rem;
    align-items: center;
    padding: 0.7rem 0.25rem;
    text-decoration: none;
    color: var(--ink);
    transition: background 0.15s ease, padding 0.15s ease;
    border-radius: 6px;
}
.ltArtist__song-link:hover { background: var(--paper-2); padding-left: 0.7rem; }
.ltArtist__song-rank { font-weight: 800; color: var(--ink-3); text-align: center; font-variant-numeric: tabular-nums; font-size: 0.9rem; }
.ltArtist__song-cover { width: 56px; height: 56px; border-radius: 6px; overflow: hidden; background: linear-gradient(135deg, #1a1a2e, #3d1a2e); }
.ltArtist__song-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ltArtist__song-meta { min-width: 0; }
.ltArtist__song-title { font-weight: 700; font-size: 0.98rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ltArtist__song-link:hover .ltArtist__song-title { color: var(--vermillion); }
.ltArtist__song-sub { color: var(--ink-3); font-size: 0.8rem; margin-top: 0.15rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ltArtist__song-views { color: var(--ink-3); font-size: 0.8rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ltArtist__song-arrow { color: var(--ink-3); transition: color 0.15s ease, transform 0.15s ease; }
.ltArtist__song-link:hover .ltArtist__song-arrow { color: var(--vermillion); transform: translateX(3px); }

.ltArtist__view-all {
    display: inline-flex;
    align-items: center;
    margin-top: 1rem;
    color: var(--vermillion);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.88rem;
    transition: transform 0.15s ease;
}
.ltArtist__view-all:hover { transform: translateX(3px); }

/* =========================================================
   7. ALBUMS GRID
   ========================================================= */
.ltArtist__albums { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem 1rem; }
.ltArtist__album-card { display: block; text-decoration: none; color: var(--ink); transition: transform 0.18s ease; }
.ltArtist__album-card:hover { transform: translateY(-3px); }
.ltArtist__album-cover { aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: linear-gradient(135deg, #1a1a2e, #3d1a2e); box-shadow: var(--shadow-s); margin-bottom: 0.55rem; }
.ltArtist__album-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.ltArtist__album-card:hover .ltArtist__album-cover img { transform: scale(1.04); }
.ltArtist__album-name { font-weight: 700; font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ltArtist__album-card:hover .ltArtist__album-name { color: var(--vermillion); }
.ltArtist__album-meta { color: var(--ink-3); font-size: 0.78rem; margin-top: 0.15rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* =========================================================
   8. BIO — collapsible
   ========================================================= */
.ltArtist__bio { line-height: 1.7; color: var(--ink); font-size: 0.98rem; }
.ltArtist__bio-summary { list-style: none; cursor: pointer; display: block; }
.ltArtist__bio-summary::-webkit-details-marker { display: none; }
.ltArtist__bio-preview { color: var(--ink-2); }
.ltArtist__bio-toggle { display: inline-block; margin-top: 0.85rem; color: var(--vermillion); font-weight: 700; font-size: 0.88rem; }
.ltArtist__bio-toggle-close { display: none; }
.ltArtist[open] .ltArtist__bio-toggle-open,
.ltArtist__bio[open] .ltArtist__bio-toggle-open { display: none; }
.ltArtist__bio[open] .ltArtist__bio-toggle-close { display: inline; }
.ltArtist__bio[open] .ltArtist__bio-preview { display: none; }
.ltArtist__bio-full p { margin: 0 0 1em; }
.ltArtist__bio-full a { color: var(--vermillion); text-decoration: none; font-weight: 600; }
.ltArtist__bio-full a:hover { text-decoration: underline; }
.ltArtist__bio-full strong { color: var(--ink); }
.ltArtist__bio-full h2, .ltArtist__bio-full h3 { font-weight: 800; margin: 1.25rem 0 0.65rem; color: var(--ink); }

/* =========================================================
   9. LATEST RELEASES
   ========================================================= */
.ltArtist__releases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem 1rem; }
.ltArtist__release-card { display: block; text-decoration: none; color: var(--ink); transition: transform 0.18s ease; }
.ltArtist__release-card:hover { transform: translateY(-3px); }
.ltArtist__release-cover { aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: linear-gradient(135deg, #1a1a2e, #3d1a2e); box-shadow: var(--shadow-s); margin-bottom: 0.55rem; }
.ltArtist__release-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ltArtist__release-title { font-weight: 700; font-size: 0.93rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ltArtist__release-card:hover .ltArtist__release-title { color: var(--vermillion); }
.ltArtist__release-date { color: var(--ink-3); font-size: 0.78rem; margin-top: 0.15rem; }

/* =========================================================
   10. DISCOGRAPHY — accordion grouped by year
   ========================================================= */
.ltArtist__disco { display: flex; flex-direction: column; gap: 0.45rem; }
.ltArtist__disco-entry { background: var(--paper-2); border: 1px solid var(--line); border-radius: 8px; transition: border-color 0.18s ease; }
.ltArtist__disco-entry[open] { border-color: var(--vermillion); background: #fff; }
.ltArtist__disco-summary {
    list-style: none; cursor: pointer;
    display: grid;
    grid-template-columns: 60px 1fr auto 22px;
    gap: 1rem;
    align-items: center;
    padding: 0.7rem 1rem;
    font-weight: 600;
}
.ltArtist__disco-summary::-webkit-details-marker { display: none; }
.ltArtist__disco-year { color: var(--vermillion); font-weight: 900; font-variant-numeric: tabular-nums; }
.ltArtist__disco-name { color: var(--ink); }
.ltArtist__disco-count { color: var(--ink-3); font-size: 0.82rem; font-weight: 600; }
.ltArtist__disco-arrow { color: var(--ink-3); transition: transform 0.18s ease; }
.ltArtist__disco-entry[open] .ltArtist__disco-arrow { transform: rotate(180deg); }
.ltArtist__disco-tracks { list-style: none; margin: 0; padding: 0.3rem 1rem 0.85rem; }
.ltArtist__disco-tracks a {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 0.65rem;
    padding: 0.45rem 0.45rem;
    color: var(--ink);
    text-decoration: none;
    font-size: 0.92rem;
    border-radius: 5px;
}
.ltArtist__disco-tracks a:hover { background: var(--paper-2); color: var(--vermillion); }
.ltArtist__disco-tracknum { color: var(--ink-3); font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; font-size: 0.85rem; }

/* =========================================================
   11. NEWS
   ========================================================= */
.ltArtist__news { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.ltArtist__news-card { display: block; text-decoration: none; color: var(--ink); transition: transform 0.18s ease; }
.ltArtist__news-card:hover { transform: translateY(-3px); }
.ltArtist__news-cover { width: 100%; aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; background: linear-gradient(135deg, #1a1a2e, #3d1a2e); margin-bottom: 0.55rem; }
.ltArtist__news-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ltArtist__news-date { color: var(--ink-3); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.ltArtist__news-title { margin: 0.35rem 0 0; font-size: 1rem; font-weight: 700; line-height: 1.3; }
.ltArtist__news-card:hover .ltArtist__news-title { color: var(--vermillion); }

/* =========================================================
   12. FAQ
   ========================================================= */
.ltArtist__faq details { border-top: 1px solid var(--line); padding: 1rem 0; }
.ltArtist__faq details:first-child { border-top: 0; padding-top: 0; }
.ltArtist__faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; font-weight: 600; color: var(--ink); }
.ltArtist__faq summary::-webkit-details-marker { display: none; }
.ltArtist__faq summary::after { content: '＋'; color: var(--vermillion); }
.ltArtist__faq details[open] summary::after { content: '−'; }
.ltArtist__faq details div { padding-top: 0.65rem; color: var(--ink-2); line-height: 1.65; font-size: 0.92rem; }

/* =========================================================
   13. RELATED ARTISTS
   ========================================================= */
.ltArtist__related { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.ltArtist__related-card { display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; color: var(--ink); padding: 0.4rem; border-radius: 8px; transition: transform 0.18s ease; }
.ltArtist__related-card:hover { transform: translateY(-2px); }
.ltArtist__related-photo { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, var(--vermillion), #7c4dff); padding: 3px; margin-bottom: 0.5rem; transition: filter 0.15s ease; }
.ltArtist__related-photo > * { display: flex; width: 100%; height: 100%; border-radius: 50%; border: 3px solid #fff; background: #1a1a2e; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 1.05rem; object-fit: cover; }
.ltArtist__related-name { font-weight: 600; font-size: 0.84rem; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }

/* =========================================================
   14. AUTHOR BIO WRAPPER (matches card styling)
   ========================================================= */
.ltArtist__authorbio { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 1.5rem 1.75rem; }

/* =========================================================
   15. SIDEBAR
   ========================================================= */
.ltArtist__side { min-width: 0; }
.ltArtist__side-sticky { position: sticky; top: 4rem; display: flex; flex-direction: column; gap: 1rem; }
.ltArtist__side-card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 1.25rem 1.4rem; }
.ltArtist__side-card--ad { padding: 0.5rem; }
.ltArtist__side-card h3 { margin: 0 0 0.85rem; font-size: 0.95rem; font-weight: 800; color: var(--ink); padding-bottom: 0.65rem; border-bottom: 1px solid var(--line); }

.ltArtist__facts { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 0.4rem 0.85rem; font-size: 0.9rem; }
.ltArtist__facts dt { color: var(--ink-3); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; padding-top: 0.2rem; }
.ltArtist__facts dd { margin: 0; color: var(--ink); }
.ltArtist__facts a { color: var(--vermillion); text-decoration: none; font-weight: 600; }
.ltArtist__age { color: var(--ink-3); font-weight: 500; font-size: 0.82rem; }

.ltArtist__side-songs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.2rem; }
.ltArtist__side-songs a {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 0.7rem;
    align-items: center;
    padding: 0.45rem 0.55rem;
    text-decoration: none;
    color: var(--ink);
    font-size: 0.9rem;
    border-radius: 6px;
    transition: background 0.15s ease;
}
.ltArtist__side-songs a:hover { background: var(--paper-2); color: var(--vermillion); }
.ltArtist__side-rank { color: var(--vermillion); font-weight: 800; text-align: center; font-variant-numeric: tabular-nums; }
.ltArtist__side-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }

/* =========================================================
   16. Responsive
   ========================================================= */
@media (max-width: 1100px) {
    .ltArtist__layout { grid-template-columns: 1fr; }
    .ltArtist__side-sticky { position: static; }
    .ltArtist__albums { grid-template-columns: repeat(3, 1fr); }
    .ltArtist__releases { grid-template-columns: repeat(3, 1fr); }
    .ltArtist__news { grid-template-columns: repeat(2, 1fr); }
    .ltArtist__related { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 720px) {
    .ltArtist__hero { padding: 2rem 1.25rem 2rem; }
    .ltArtist__hero-row { grid-template-columns: 1fr; gap: 1.25rem; text-align: center; }
    .ltArtist__avatar { width: 150px; height: 150px; margin: 0 auto; }
    .ltArtist__chips, .ltArtist__stats, .ltArtist__cta, .ltArtist__socials { justify-content: center; }
    .ltArtist__name { font-size: 2rem; }
    .ltArtist__card { padding: 1.25rem 1.25rem; }
    .ltArtist__albums { grid-template-columns: repeat(2, 1fr); }
    .ltArtist__releases { grid-template-columns: repeat(2, 1fr); }
    .ltArtist__news { grid-template-columns: 1fr; }
    .ltArtist__related { grid-template-columns: repeat(3, 1fr); }
    .ltArtist__song-link { grid-template-columns: 26px 48px 1fr; gap: 0.65rem; padding: 0.6rem 0.25rem; }
    .ltArtist__song-views, .ltArtist__song-arrow { display: none; }
    .ltArtist__disco-summary { grid-template-columns: 48px 1fr 22px; gap: 0.7rem; }
    .ltArtist__disco-count { display: none; }
    .ltArtist__facts { grid-template-columns: 1fr; gap: 0.25rem; }
    .ltArtist__facts dt { padding-top: 0.5rem; }
}
@media (max-width: 380px) {
    .ltArtist__related { grid-template-columns: repeat(2, 1fr); }
}
