/* === YMS Styles === */
.yms-search-wrap { max-width:760px; margin:20px auto; font-family: Arial, sans-serif; }
.yms-search-box { display:flex; gap:8px; }
#yms_search_input { flex:1; padding:12px 14px; border-radius:30px; border:1px solid #ddd; font-size:16px; }
#yms_search_btn { padding:10px 16px; border-radius:20px; background:#ff6a00; color:#fff; border:none; cursor:pointer; }
.yms-results { margin-top:12px; }
.yms-result { display:flex; gap:12px; align-items:center; padding:8px; border-bottom:1px solid #eee; }
.yms-result img { width:120px; height:67px; object-fit:cover; border-radius:6px; }
.yms-result .meta { flex:1; }
.yms-result .title { font-weight:700; margin-bottom:6px; }
.yms-result .channel { color:#666; font-size:13px; margin-bottom:6px; }
.yms-result .actions { display:flex; gap:8px; }
.yms-btn { padding:6px 10px; border-radius:6px; background:#222; color:#fff; display:inline-block; text-decoration:none; cursor:pointer; }
.yms-btn.alt { background:#888; }

/* Single song card */
.yms-single-wrap {
    max-width: 760px;
    margin: 30px auto;
    font-family: Arial, sans-serif;
    background: #2e2a2a;
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}
.yms-single-wrap h2 { font-size:22px; font-weight:700; margin-bottom:12px; }
.yms-single-wrap img { width:300px; max-width:100%; border-radius:6px; margin-bottom:12px; }
.yms-single-wrap audio { width:100%; margin:14px 0; background:#000; }
.yms-details { margin-top:20px; text-align:left; font-size:15px; max-width:680px; margin-left:auto; margin-right:auto; }
.yms-details div { margin:6px 0; }
.yms-details strong { color:#ff6a00; }

/* Fake player */
.yms-fake-player {
    display:flex;
    justify-content:center;
    align-items:center;
    gap:12px;
    background:#1e1e1e;
    padding:12px 18px;
    border-radius:6px;
    margin:15px 0;
    box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
    max-width:520px;
    margin-left:auto;
    margin-right:auto;
}
.yms-fake-player button {
    background:#ff6a00;
    border:none;
    color:#fff;
    font-size:14px;
    font-weight:700;
    padding:8px 14px;
    border-radius:6px;
    cursor:pointer;
    transition:background .2s ease;
}
.yms-fake-player button:disabled { background:#888; cursor:not-allowed; }
.yms-fake-player button:hover:not(:disabled) { background:#e65c00; }

/* Small visual progress stub (purely decorative) */
.yms-progress-stub {
    width:240px;
    height:8px;
    background:#2f2f2f;
    border-radius:6px;
    overflow:hidden;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
}
.yms-progress-stub .bar { width:0%; height:100%; background:#ff6a00; transition: width 0.2s linear; }

/* Download button */
.yms-download { display:inline-block; margin:10px 0; padding:10px 20px; background:#ff6a00; color:#fff; border-radius:6px; text-decoration:none; font-weight:600; transition:background .2s ease; }
.yms-download:hover { background:#e65c00; }

/* Responsive */
@media (max-width:600px){
    .yms-single-wrap img { width:200px; }
    .yms-fake-player { flex-direction:column; gap:8px; }
    .yms-progress-stub { width:90%; }
}