.streamers-bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(135deg, rgba(7, 10, 18, 0.76), rgba(20, 25, 38, 0.74) 52%, rgba(7, 10, 18, 0.9)),
        url('/img/bg/Aion0036.jpg') center top / cover no-repeat;
}

.streamers-page {
    min-height: 100vh;
    padding: 116px 0 72px;
    color: #f4f7fb;
}

.streamers-shell {
    width: min(1420px, calc(100% - 28px));
    margin: 0 auto;
}

.streamers-page-head {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    padding: 30px 0;
    border-bottom: 1px solid rgba(138, 180, 248, 0.16);
}

.streamers-title-block {
    display: flex;
    gap: 18px;
    align-items: center;
    min-width: 0;
}

.streamers-signal {
    position: relative;
    width: 54px;
    height: 54px;
    flex: 0 0 auto;
    border: 1px solid rgba(239, 68, 68, 0.42);
    border-radius: 16px;
    background: rgba(31, 41, 55, 0.7);
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.12);
}

.streamers-signal::before,
.streamers-signal::after {
    content: "";
    position: absolute;
    inset: 14px;
    border: 2px solid transparent;
    border-left-color: #ef4444;
    border-right-color: #ef4444;
    border-radius: 50%;
}

.streamers-signal::after {
    inset: 23px;
    border: 0;
    background: #ef4444;
    box-shadow: 0 0 18px rgba(239, 68, 68, 0.72);
}

.streamers-kicker {
    margin-bottom: 6px;
    color: #8ab4f8;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.streamers-page-head h1 {
    margin: 0;
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 3.5vw, 3.4rem);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.06;
}

.streamers-page-head p {
    max-width: 700px;
    margin: 8px 0 0;
    color: #aab6c7;
    font-size: 0.98rem;
}

.streamers-refresh-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 122px;
    min-height: 44px;
    flex: 0 0 auto;
    border: 1px solid rgba(138, 180, 248, 0.24);
    border-radius: 10px;
    background: rgba(138, 180, 248, 0.1);
    color: #a8c8ff;
    font-size: 0.78rem;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
}

.streamers-refresh-button:hover {
    border-color: rgba(138, 180, 248, 0.58);
    background: rgba(138, 180, 248, 0.18);
    color: #ffffff;
}

.streamers-summary {
    display: grid;
    grid-template-columns: 1.05fr 1fr 1.35fr 1.35fr;
    gap: 12px;
    margin: 22px 0;
}

.streamers-summary-item {
    min-height: 94px;
    padding: 17px 18px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.streamers-summary-item span,
.streamers-summary-item strong {
    display: block;
}

.streamers-summary-item span {
    color: #7f8ea3;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.streamers-summary-item strong {
    margin-top: 8px;
    color: #f8fafc;
    font-family: 'Cinzel', serif;
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.1;
}

.streamers-summary-item.is-live-stat {
    border-color: rgba(34, 197, 94, 0.28);
    background: linear-gradient(145deg, rgba(20, 83, 45, 0.38), rgba(15, 23, 42, 0.74));
}

.streamers-summary-item.is-live-stat strong {
    color: #86efac;
    font-size: 2.3rem;
}

.streamers-board {
    overflow: hidden;
    border: 1px solid rgba(138, 180, 248, 0.14);
    border-radius: 16px;
    background: rgba(10, 15, 25, 0.84);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

.streamers-board-head {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    padding: 22px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    background: rgba(31, 41, 55, 0.58);
}

.streamers-board-head span {
    color: #8ab4f8;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.streamers-board-head h2 {
    margin: 4px 0 0;
    color: #ffffff;
    font-family: 'Cinzel', serif;
    font-size: 1.55rem;
    font-weight: 700;
}

.streamers-board-head p {
    margin: 5px 0 0;
    color: #8794a7;
    font-size: 0.86rem;
}

.streamers-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.streamers-tab,
.streamers-empty-action {
    min-height: 38px;
    padding: 0 16px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.035);
    color: #aab6c7;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
}

.streamers-tab:hover,
.streamers-tab.is-active,
.streamers-empty-action:hover {
    border-color: rgba(145, 70, 255, 0.62);
    background: rgba(145, 70, 255, 0.15);
    color: #ffffff;
}

.streamers-tab.is-active {
    box-shadow: inset 0 -2px 0 #9146ff, 0 0 22px rgba(145, 70, 255, 0.14);
}

.streamers-alert,
.streamers-empty {
    margin: 18px;
    padding: 30px;
    border: 1px solid rgba(239, 68, 68, 0.24);
    border-radius: 12px;
    background: rgba(127, 29, 29, 0.18);
}

.streamers-alert {
    color: #fecaca;
}

.streamers-empty {
    border-color: rgba(138, 180, 248, 0.16);
    background: rgba(15, 23, 42, 0.58);
    color: #aab6c7;
    text-align: center;
}

.streamers-empty h2 {
    margin: 0 0 8px;
    color: #ffffff;
    font-family: 'Cinzel', serif;
    font-size: 1.65rem;
}

.streamers-empty p {
    max-width: 560px;
    margin: 0 auto;
}

.streamers-empty-action {
    margin-top: 18px;
}

.streamers-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px;
    padding: 16px;
}

.streamer-card {
    min-height: 100%;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.76);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.streamer-card:hover {
    transform: translateY(-2px);
    border-color: rgba(138, 180, 248, 0.36);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

.streamer-card.is-live {
    border-color: rgba(34, 197, 94, 0.36);
}

.streamer-card.is-featured {
    display: grid;
    grid-column: span 2;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
    min-height: 280px;
}

.streamer-card.is-offline {
    opacity: 0.72;
}

.streamer-thumb {
    position: relative;
    display: flex;
    min-height: 168px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(20, 30, 50, 0.78), rgba(6, 10, 18, 0.95)),
        url('/img/bg/abyss.jpg') center / cover no-repeat;
    color: #dbe8ff;
    text-align: center;
    text-decoration: none;
}

.streamer-card:not(.is-featured) .streamer-thumb {
    aspect-ratio: 16 / 9;
}

.streamer-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 20%, rgba(0, 0, 0, 0.62));
    pointer-events: none;
}

.streamer-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 180ms ease, filter 180ms ease;
}

.streamer-card:hover .streamer-thumb img {
    transform: scale(1.035);
}

.is-offline .streamer-thumb img,
.is-offline .streamer-thumb {
    filter: saturate(0.7) brightness(0.82);
}

.streamer-thumb-label {
    position: relative;
    z-index: 1;
    color: #8ab4f8;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.streamer-thumb strong {
    position: relative;
    z-index: 1;
    margin-top: 6px;
    color: #ffffff;
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.streamer-live-pill {
    position: absolute;
    left: 13px;
    top: 13px;
    z-index: 2;
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(6, 10, 18, 0.72);
    color: #dbe8ff;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.is-live .streamer-live-pill {
    border-color: rgba(34, 197, 94, 0.64);
    background: rgba(20, 83, 45, 0.82);
    color: #dcfce7;
}

.streamer-body {
    display: flex;
    min-height: 166px;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 14px;
}

.streamer-card.is-featured .streamer-body {
    justify-content: center;
    padding: 20px;
}

.streamer-head {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    justify-content: space-between;
}

.streamer-head h2 {
    margin: 0;
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 900;
}

.streamer-card.is-featured .streamer-head h2 {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.22rem, 1.7vw, 1.65rem);
}

.streamer-head span {
    display: block;
    margin-top: 5px;
    color: #94a3b8;
    font-size: 0.76rem;
}

.streamer-dot {
    width: 11px;
    height: 11px;
    flex: 0 0 auto;
    margin-top: 7px;
    border-radius: 50%;
    background: #64748b;
    box-shadow: 0 0 0 4px rgba(100, 116, 139, 0.16);
}

.is-live .streamer-dot {
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18), 0 0 22px rgba(34, 197, 94, 0.26);
}

.streamer-title {
    min-height: 40px;
    margin: 11px 0;
    font-size: 0.9rem;
    color: #d7dee9;
    line-height: 1.48;
}

.streamer-card.is-featured .streamer-title {
    min-height: 0;
    margin: 13px 0;
    font-size: 0.94rem;
}

.is-offline .streamer-title {
    color: #8792a4;
}

.streamer-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.streamer-meta span {
    padding: 4px 8px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: #cbd5e1;
    font-size: 0.7rem;
}

.streamer-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 36px;
    margin-top: 12px;
    border: 1px solid rgba(145, 70, 255, 0.48);
    border-radius: 10px;
    background: rgba(145, 70, 255, 0.14);
    color: #e9ddff;
    font-size: 0.72rem;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
}

.streamer-card.is-featured .streamer-action {
    width: auto;
    min-width: 145px;
    align-self: flex-start;
    padding: 0 16px;
}

.streamer-action:hover {
    border-color: rgba(145, 70, 255, 0.74);
    background: rgba(145, 70, 255, 0.24);
    color: #ffffff;
}

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

    .streamers-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

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

    .streamer-card.is-featured {
        grid-column: span 2;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .streamers-page {
        padding-top: 100px;
    }

    .streamers-shell {
        width: min(100% - 22px, 1240px);
    }

    .streamers-page-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .streamers-title-block {
        align-items: flex-start;
    }

    .streamers-signal {
        width: 46px;
        height: 46px;
        border-radius: 12px;
    }

    .streamers-signal::before {
        inset: 12px;
    }

    .streamers-signal::after {
        inset: 19px;
    }

    .streamers-refresh-button {
        width: 100%;
    }

    .streamers-summary,
    .streamers-grid {
        grid-template-columns: 1fr;
    }

    .streamers-board-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .streamers-tabs {
        justify-content: flex-start;
    }

    .streamer-card.is-featured {
        grid-column: span 1;
    }

    .streamer-card.is-featured .streamer-body {
        padding: 20px;
    }
}
