/* IceColdSky Songs CSS */

/* ── SONGS LIST card ─────────────────────────────────────────── */
.ics-songs-list-card {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0 24px 0 24px;
    box-sizing: border-box;
}

.ics-songs-list-inner {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    padding-right: 12px;
    /* Custom scrollbar */
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.2) transparent;
}

.ics-songs-list-inner::-webkit-scrollbar {
    width: 4px;
}
.ics-songs-list-inner::-webkit-scrollbar-track {
    background: transparent;
}
.ics-songs-list-inner::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
}

/* Song row */
.ics-song-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    cursor: pointer;
    transition: background 0.2s ease;
    border-radius: 4px;
    padding-left: 8px;
}

.ics-song-row:hover {
    background: rgba(255,255,255,0.04);
}

.ics-song-row:last-child {
    border-bottom: none;
}

/* Thumbnail */
.ics-song-thumb {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 3px;
    overflow: hidden;
}

.ics-song-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ics-song-thumb-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.06);
    border-radius: 3px;
}

/* Song meta */
.ics-song-meta {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ics-song-title {
    font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    font-size: 15px;
    font-style: italic;
    color: rgba(255,255,255,0.90);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ics-song-details {
    display: flex;
    gap: 16px;
    align-items: center;
}

.ics-song-date,
.ics-song-duration {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 11px;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.38);
    font-variant-numeric: lining-nums;
}

.ics-songs-empty {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 14px;
    color: rgba(255,255,255,0.35);
    font-style: italic;
    padding: 20px 0;
}

/* ── SONG card ───────────────────────────────────────────────── */
.ics-song-card {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start;          
    justify-content: flex-start;
    padding-left: 2px;       /*!!!*/
    padding-right: 24px;
    padding-bottom: 20px;
    box-sizing: border-box;
}

.ics-song-card-content {
    min-width: 240px;
}

.ics-song-card-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Title */
.ics-song-card-title-row {
    display: flex;
    align-items: baseline;
}

.ics-song-card-title {
    font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    font-size: clamp(1.4rem, 5cqw, 2.2rem);
    font-weight: 400;
    font-style: italic;
    color: rgba(255,255,255,0.92);
    margin: 0;
}

/* SHARE and LYRICS — own row below title */
.ics-song-card-actions {
    display: flex;
    gap: 24px;
    align-items: center;
}

.ics-btn-share,
.ics-btn-lyrics {
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    padding: 0;
    transition: color 0.2s ease;
}

.ics-btn-share:hover,
.ics-btn-lyrics:hover {
    color: rgba(255,255,255,0.85);
}

/* Player */
.ics-song-card-player {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 16px 0 0;
}

.ics-song-card-player iframe {
    width: 100%;
    height: 215px;
    border-radius: 8px;
    display: block;
    border: none;
}

/* Prev/Next song navigation */
.ics-song-nav {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.ics-btn-prev,
.ics-btn-next {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 28px;
    color: rgba(255,255,255,0.45);
    padding: 0 4px;
    line-height: 1;
    transition: color 0.2s ease;
}

.ics-btn-prev:hover,
.ics-btn-next:hover {
    color: rgba(255,255,255,0.85);
}

/* ── LYRICS card ─────────────────────────────────────────────── */
.ics-lyrics-card {
    position: relative;
    width: 100%;
    height: 100%;
    min-width: var(--ics-content-min-width);
    display: flex;
    align-items: flex-start;
    padding: 0 24px 30px 24px;
    box-sizing: border-box;
}

.ics-lyrics-inner {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 600px;
}

.ics-lyrics-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 12px;
    flex-shrink: 0;
}

.ics-lyrics-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.2rem, 4cqw, 1.8rem);
    font-weight: 400;
    font-style: italic;
    color: rgba(255,255,255,0.92);
    margin: 0;
}

.ics-btn-back {
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.40);
    padding: 0;
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.ics-btn-back:hover {
    color: rgba(255,255,255,0.85);
}

.ics-lyrics-text {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 15px;
    line-height: 1.9;
    color: rgba(255,255,255,0.82);
    overflow-y: auto;
    white-space: pre-wrap;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.2) transparent;
}

.ics-lyrics-text::-webkit-scrollbar {
    width: 4px;
}
.ics-lyrics-text::-webkit-scrollbar-track {
    background: transparent;
}
.ics-lyrics-text::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
}
