.wsp-wrapper {
    background: #1e1e1e;
    padding: 15px;
    border-radius: 8px;
    color: #fff;
    margin-bottom: 30px;
    max-width: 100%;
}

.wsp-video-box {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    background: #000;
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 4px;
}

.wsp-iframe-placeholder {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}

.wsp-sub-overlay {
    position: absolute;
    bottom: 10%;
    left: 5%;
    right: 5%;
    text-align: center;
    pointer-events: none;
    z-index: 20;
    font-size: 1.2em;
    line-height: 1.4;
    color: #ffeaa7;
    text-shadow: 2px 2px 2px #000, -1px -1px 0 #000, 1px -1px 0 #000;
    font-weight: 600;
}

.wsp-controls {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 15px;
}

.wsp-nav-btn {
    background: #2d3436;
    color: #fff;
    border: 1px solid #636e72;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 4px;
    transition: 0.2s;
}

.wsp-nav-btn:hover:not(:disabled) {
    background: #0984e3;
    border-color: #0984e3;
}

.wsp-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.wsp-server-label {
    color: #ff7675;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9em;
    border-left: 3px solid #ff7675;
    padding-left: 8px;
}

.wsp-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 8px;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 5px;
}

/* Scrollbar đẹp */
.wsp-list-grid::-webkit-scrollbar { width: 6px; }
.wsp-list-grid::-webkit-scrollbar-thumb { background: #636e72; border-radius: 3px; }

.wsp-ep-btn {
    background: #353b48;
    color: #b2bec3;
    border: none;
    padding: 10px 5px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 13px;
    transition: 0.2s;
}

.wsp-ep-btn:hover {
    background: #555;
    color: #fff;
}

.wsp-ep-btn.active {
    background: #d63031;
    color: white;
    font-weight: bold;
    box-shadow: 0 0 5px rgba(214, 48, 49, 0.5);
}