.lws-container {
    max-width: 100%;
    margin: 20px auto;
    font-family: system-ui, sans-serif;
}

.lws-main-video {
    position: relative;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 25px;
}

#main-video {
    width: 100%;
    height: 100%;
    margin: 5px;
    display: block;
}

.main-label, .viewer-count {
    position: absolute;
    background: rgba(0,0,0,0.75);
    color: white;
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: bold;
    z-index: 10;
}

.main-label {
    top: 12px;
    left: 12px;
}

.viewer-count {
    top: 12px;
    right: 12px;
    background: rgba(211, 47, 47, 0.9);
}

.lws-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
}

.lws-stream {
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.2s;
}

.lws-stream:hover { transform: scale(1.03); }

.lws-thumbnail {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.lws-name {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 13px;
}

.lws-controls {
    text-align: center;
    margin: 25px 0 15px;
}

.lws-controls button {
    padding: 14px 32px;
    font-size: 17px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin: 0 8px;
}

.lws-broadcast-btn { background: #d32f2f; color: white; }
.lws-stop-btn      { background: #666; color: white; }

@media (max-width: 900px) {
    .lws-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .lws-grid { grid-template-columns: 1fr; }
}