.streams-page {
    min-height: 100vh;
}

.streams-shell {
    width: min(1500px, calc(100% - 72px));
    margin: 0 auto;
    padding: 54px 0 80px;
}

.streams-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.streams-kicker {
    margin-bottom: 8px;
    color: #8d97a8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.streams-heading h1 {
    margin: 0;
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1;
}

.streams-heading p {
    margin: 10px 0 0;
    color: #8d97a8;
    font-size: 15px;
}

.streams-live-count {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border: 1px solid rgba(255, 63, 63, .28);
    border-radius: 999px;
    background: rgba(255, 45, 45, .08);
    color: #ff6767;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.streams-live-dot,
.streams-empty-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f04444;
    box-shadow: 0 0 14px rgba(240, 68, 68, .6);
}

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

.stream-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    background: rgba(255, 255, 255, .035);
    color: inherit;
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.stream-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 72, 72, .35);
    background: rgba(255, 255, 255, .05);
}

.stream-card-preview {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0c0e12;
}

.stream-card-preview img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.stream-card:hover .stream-card-preview img {
    transform: scale(1.025);
}

.stream-live-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 9px;
    border-radius: 7px;
    background: #e91916;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
}

.stream-viewers {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 5px 8px;
    border-radius: 7px;
    background: rgba(0, 0, 0, .72);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    backdrop-filter: blur(5px);
}

.stream-card-body {
    padding: 16px 17px 18px;
}

.stream-name {
    margin-bottom: 8px;
    color: #fff;
    font-size: 18px;
    font-weight: 850;
}

.stream-title {
    min-height: 42px;
    overflow: hidden;
    color: #d8dde6;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.stream-game {
    margin-top: 12px;
    color: #8f9aac;
    font-size: 13px;
    font-weight: 700;
}

.streams-empty {
    min-height: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 13px;
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 18px;
    background: rgba(255, 255, 255, .02);
    color: #788293;
}

.streams-empty-dot {
    background: #505866;
    box-shadow: none;
}

.streams-empty strong {
    font-size: 15px;
    font-weight: 750;
}

.streams-service-note {
    margin: -14px 0 24px;
    color: #9ba4b3;
    font-size: 13px;
}

@media (max-width: 1050px) {
    .streams-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .streams-shell {
        width: min(100% - 28px, 1500px);
        padding-top: 34px;
    }

    .streams-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .streams-grid {
        grid-template-columns: 1fr;
    }
}
