.iwsb-wrap {
    max-width: 1100px;
    margin: 0 auto;
    font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.iwsb-toolbar {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.iwsb-search {
    flex: 1;
    min-width: 200px;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
}

.iwsb-cat-filter,
.iwsb-order-filter {
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
}

.iwsb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}

.iwsb-card {
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: #fafafa;
    transition: box-shadow .15s ease, transform .15s ease;
}

.iwsb-card:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
    transform: translateY(-2px);
}

.iwsb-play-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: #6c5ce7;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s ease, transform .1s ease;
}

.iwsb-play-btn:hover {
    background: #5a4bd1;
}

.iwsb-play-btn:active {
    transform: scale(.94);
}

.iwsb-play-btn.playing {
    background: #00b894;
    animation: iwsb-pulse 1s infinite;
}

@keyframes iwsb-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(0, 184, 148, .5); }
    70%  { box-shadow: 0 0 0 10px rgba(0, 184, 148, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 184, 148, 0); }
}

.iwsb-name {
    font-weight: 600;
    text-align: center;
    font-size: 14px;
    word-break: break-word;
    color: #222;
    text-decoration: none;
}

.iwsb-name:hover {
    color: #6c5ce7;
    text-decoration: underline;
}

.iwsb-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #777;
    width: 100%;
    justify-content: center;
}

.iwsb-plays {
    flex: 1;
    text-align: left;
}

.iwsb-copy,
.iwsb-download {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    color: #555;
}

.iwsb-copy:hover,
.iwsb-download:hover {
    color: #000;
}

.iwsb-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: #999;
    padding: 40px 0;
}
