/* ==========================
   回収済み楽曲TOP（A案：帯見出し＋白カード）
========================== */

.cs-top-container{
    width:100%;
    max-width:1348px;
    margin:0;
    padding:14px 15px 30px;
    box-sizing:border-box;
}

.cs-section{
    margin:0 0 22px;
}

.cs-title{
    display:flex;
    align-items:center;
    gap:10px;
    margin:0 0 12px;
    color:var(--theme-heading);
    font-size:19px;
    font-weight:bold;
}

.cs-title::before{
    content:"";
    flex:0 0 auto;
    width:5px;
    height:22px;
    border-radius:3px;
    background:linear-gradient(180deg,var(--theme-btn-from),var(--theme-primary));
}


/* ==========================
   回収サマリー
========================== */

.cs-summary-grid{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.cs-summary-card{
    padding:16px 18px;
    box-sizing:border-box;
    background:#fff;
    border:1px solid var(--theme-border-soft);
    border-radius:20px;
    box-shadow:0 6px 18px rgba(61,44,46,.06);
}

.cs-summary-head{
    margin-bottom:8px;
}

.cs-scope-chip{
    display:inline-flex;
    align-items:center;
    padding:4px 12px;
    border-radius:999px;
    background:var(--theme-blush);
    color:var(--theme-primary);
    font-size:12px;
    font-weight:bold;
}

.cs-rate-row{
    display:flex;
    align-items:baseline;
    justify-content:space-between;
    gap:10px;
}

.cs-rate-label{
    color:var(--theme-text-sub);
    font-size:13px;
    font-weight:bold;
}

.cs-rate{
    color:var(--theme-heading);
    font-size:34px;
    font-weight:bold;
    line-height:1.1;
}

.cs-rate-unit{
    margin-left:2px;
    font-size:17px;
}

.cs-progress{
    height:9px;
    margin:10px 0 14px;
    border-radius:999px;
    background:var(--theme-blush);
    overflow:hidden;
}

.cs-progress-bar{
    height:100%;
    border-radius:999px;
    background:linear-gradient(90deg,var(--theme-btn-from),var(--theme-primary));
}

.cs-counts{
    display:flex;
    gap:10px;
}

.cs-count{
    flex:1;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    padding:9px 12px;
    border-radius:12px;
    background:var(--theme-tint);
}

.cs-count-label{
    color:var(--theme-text-sub);
    font-size:12px;
    font-weight:bold;
}

.cs-count-value{
    color:var(--theme-text);
    font-size:15px;
    font-weight:bold;
}


/* ==========================
   Xシェア
========================== */

.cs-share{
    display:flex;
    justify-content:flex-end;
    margin-top:14px;
}

.cs-share-btn{
    min-height:38px;
    padding:7px 16px;
    box-sizing:border-box;
    border:0;
    border-radius:999px;
    background:#111;
    color:#fff;
    font-family:inherit;
    font-size:13px;
    font-weight:bold;
    cursor:pointer;
}

.cs-share-btn:active{
    transform:scale(.98);
}


/* ==========================
   楽曲リストメニュー
========================== */

.cs-menu{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.cs-menu-row{
    display:flex;
    align-items:center;
    gap:12px;
    padding:14px 16px;
    box-sizing:border-box;
    background:#fff;
    border:1px solid var(--theme-border-soft);
    border-radius:18px;
    box-shadow:0 6px 18px rgba(61,44,46,.06);
    color:var(--theme-text);
    text-decoration:none;
}

.cs-menu-row:active{
    transform:scale(.99);
}

.cs-menu-icon{
    flex:0 0 auto;
    display:flex;
    align-items:center;
    justify-content:center;
    width:42px;
    height:42px;
    border-radius:50%;
    background:var(--theme-blush);
    color:var(--theme-primary);
}

.cs-menu-icon svg{
    width:22px;
    height:22px;
}

.cs-menu-label{
    flex:1;
    min-width:0;
    font-size:16px;
    font-weight:bold;
}

.cs-menu-count{
    flex:0 0 auto;
    padding:4px 11px;
    border-radius:999px;
    background:var(--theme-blush);
    color:var(--theme-primary);
    font-size:12px;
    font-weight:bold;
}

.cs-menu-arrow{
    flex:0 0 auto;
    color:var(--theme-text-muted);
    font-size:20px;
    line-height:1;
}


/* ==========================
   PC・タブレット
========================== */

@media(min-width:768px){
    .cs-top-container{
        padding:20px 30px 40px;
    }
}

@media(min-width:900px){
    .cs-summary-grid{
        display:grid;
        grid-template-columns:repeat(3,minmax(0,1fr));
        gap:16px;
    }

    .cs-menu{
        display:grid;
        grid-template-columns:repeat(3,minmax(0,1fr));
        gap:16px;
    }
}

/* 公開対応（None層）：未ログイン時の案内 */
.cs-login-note{
    background:#fff;
    border:1px solid var(--theme-border-soft);
    border-left:4px solid var(--theme-primary);
    border-radius:12px;
    box-shadow:0 6px 18px rgba(61,44,46,.06);
    color:var(--theme-text);
    font-size:14px;
    line-height:1.7;
    padding:12px 16px;
    margin:0 0 16px;
}
