/* The streamer box on the new home page, copied from app.css (which the home page does not load). Owner, 2026-11-04. */
.home-streambox {
    position: fixed;
    z-index: 12;
    bottom: 8px;
    left: 8px;
    display: grid;
    width: 304px;
    max-width: calc(100vw - 16px);
    background: rgba(0, 0, 0, .86);
    box-shadow: 0 18px 38px rgba(0, 0, 0, .46);
}
.home-streambox__list {
    display: grid;
    gap: 8px;
    padding: 0 0 5px;
}
.home-stream-card {
    position: relative;
    display: grid;
    min-width: 0;
}
.home-stream-card__bar {
    position: absolute;
    z-index: 2;
    top: 2px;
    right: 4px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 20px;
    padding: 0 3px;
    background: rgba(0, 0, 0, .78);
    color: #fff;
    font-family: Inter, system-ui, sans-serif;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .9);
}
.home-stream-card__bar span {
    width: 18px;
    height: 12px;
    background:
        linear-gradient(#b22234 0 14%, #fff 14% 28%, #b22234 28% 42%, #fff 42% 56%, #b22234 56% 70%, #fff 70% 84%, #b22234 84%),
        linear-gradient(#58292c, #58292c);
    background-size: 100% 100%, 8px 7px;
    background-repeat: no-repeat;
}
.home-stream-card__bar::after {
    content: '';
    width: 7px;
    height: 14px;
    border-radius: 999px;
    background: #ffb000;
    box-shadow: 0 8px 0 -3px #ffb000;
}
.home-stream-card__video {
    position: relative;
    overflow: hidden;
    width: 304px;
    max-width: 100%;
    height: 171px;
    background: #080808;
    cursor: default;
}
.home-stream-card__preview {
    position: absolute;
    inset: 0;
    display: block;
    padding: 0;
    border: 0;
    background: #000;
    cursor: pointer;
}
.home-stream-card__preview img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.home-stream-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    margin: -22px 0 0 -14px;
    border-style: solid;
    border-width: 22px 0 22px 36px;
    border-color: transparent transparent transparent #fff;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .7));
    transition: transform .15s ease;
}
.home-stream-card__preview:hover .home-stream-card__play {
    transform: scale(1.12);
}
.home-streambox__foot {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px auto;
    align-items: center;
    min-height: 30px;
    padding: 0 8px;
    border: 1px solid rgba(240, 198, 116, .5);
    background: rgba(59, 30, 5, .72);
    color: #fff;
    font-family: Inter, system-ui, sans-serif;
    font-size: 12px;
    text-decoration: none;
}
.home-streambox__foot span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.home-streambox__foot strong {
    justify-self: center;
    width: 12px;
    height: 12px;
    border-right: 1px solid rgba(238, 242, 255, .86);
    border-bottom: 1px solid rgba(238, 242, 255, .86);
    transform: rotate(45deg) translateY(-3px);
}
.home-streambox__foot em {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--modern-green);
    font-style: normal;
    font-size: 12px;
    font-weight: 900;
}
.home-streambox__foot em::before {
    content: '';
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--modern-green);
    box-shadow: 0 0 9px rgba(46, 204, 113, .45);
}
@media (max-width: 920px) {
.home-streambox {
        max-width: calc(100vw - 16px);
}
}
@media (max-width: 620px) {
.home-streambox {
        position: relative;
        width: 100%;
        max-width: 304px;
        justify-self: end;
}
}
.home-streambox__foot a {
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.home-streambox__foot a:hover {
    color: var(--gold, #f0c674);
}
.home-streambox__foot button {
    display: grid;
    place-items: center;
    width: 42px;
    height: 30px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}
.home-streambox__foot button:hover strong {
    border-color: #fff;
}
.home-streambox.is-collapsed .home-streambox__foot strong {
    transform: rotate(-135deg) translate(-3px, -3px);
}
.home-streambox__list[hidden],
.home-streambox[hidden],
.home-streambox__pager {
    display: none;
}
@media (max-width: 767px) {
.home-streambox:not(.is-mobile) {
        display: none !important;
}
.home-streambox.is-mobile {
        position: static;
        justify-self: stretch;
        width: auto;
        max-width: none;
        margin: -30px 8px 18px;
        overflow: hidden;
        border: 1px solid rgba(240, 198, 116, .28);
        border-radius: 10px;
        background: radial-gradient(rgba(240, 198, 116, .08), transparent 70%), rgba(9, 8, 9, .78);
        box-shadow: none;
}
.home-streambox.is-mobile .home-streambox__list {
        padding: 0;
}
.home-streambox.is-mobile .home-streambox__foot {
        border: 0;
        border-top: 1px solid rgba(240, 198, 116, .28);
        background: transparent;
        padding: 0 12px;
}
.home-streambox.is-mobile [data-streambox-toggle] {
        display: none;
}
.home-streambox.is-mobile .home-stream-card[hidden] {
        display: none;
}
.home-streambox.is-mobile .home-stream-card__video {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
}
.home-streambox.is-mobile .home-streambox__foot {
        grid-template-columns: minmax(0, 1fr) auto auto;
        gap: 8px;
        min-height: 36px;
}
.home-streambox.is-mobile .home-streambox__pager {
        display: inline-flex;
        align-items: center;
        gap: 4px;
}
.home-streambox__pager button {
        width: 32px;
        height: 30px;
        padding: 0;
        border: 1px solid rgba(240, 198, 116, .4);
        background: rgba(0, 0, 0, .35);
        color: #fff;
        font-size: 20px;
        line-height: 1;
        cursor: pointer;
}
.home-streambox__pager b {
        min-width: 38px;
        font-size: 12px;
        text-align: center;
}
}
.stream-platform {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 3px 8px;
    border-radius: 4px;
    color: #fff;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .04em;
}
.stream-platform--twitch {
    background: #ebb750;
}
.stream-platform--youtube {
    background: #ff0033;
}
.stream-platform--tiktok {
    background: #0b0a0b;
    box-shadow: -1px -1px 0 #25f4ee, 1px 1px 0 #fe2c55;
}
.home-stream-card__preview .stream-platform {
    top: 6px;
    right: 6px;
    font-size: 10px;
}
.streamers-schedule__list .stream-platform {
    position: static;
    justify-self: start;
    text-decoration: none;
}
.home-stream-card__soon {
    display: grid;
    justify-items: center;
    gap: 3px;
    width: 304px;
    max-width: 100%;
    padding: 30px 12px 12px;
    background: linear-gradient(180deg, rgba(59, 30, 5, .55), rgba(0, 0, 0, .9));
    color: #fff;
    font-family: Inter, system-ui, sans-serif;
    text-align: center;
    text-decoration: none;
}
.home-stream-card__soon .stream-platform {
    position: absolute;
    top: 4px;
    right: auto;
    left: 6px;
    font-size: 10px;
}
.home-stream-card__soon small {
    color: rgba(255, 255, 255, .62);
    font-size: 11px;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.home-stream-card__soon b {
    color: var(--modern-gold);
    font-size: 20px;
    font-weight: 900;
    line-height: 1.15;
}
.home-stream-card__soon time {
    font-size: 12px;
    color: rgba(255, 255, 255, .8);
}
.home-stream-card__soon em {
    overflow: hidden;
    max-width: 100%;
    color: rgba(255, 255, 255, .7);
    font-style: normal;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.home-stream-card__soon:hover b {
    color: #fff;
}
.home-streambox__foot em.is-soon {
    color: var(--modern-gold);
    text-transform: uppercase;
}
.home-streambox__foot em.is-soon::before {
    background: var(--modern-gold);
    box-shadow: 0 0 9px rgba(240, 198, 116, .45);
}
.home-stream-card__soon:has(.home-stream-card__soon-avatar) {
    grid-template-columns: 64px minmax(0, 1fr);
    column-gap: 12px;
    justify-items: start;
    align-items: center;
    padding-left: 14px;
    text-align: left;
}
.home-stream-card__soon-avatar {
    grid-row: 1 / span 4;
    width: 64px;
    height: 64px;
    border: 2px solid rgba(240, 198, 116, .55);
    border-radius: 50%;
    object-fit: cover;
}
.home-stream-card__soon:has(.home-stream-card__soon-avatar) > :not(.stream-platform):not(.home-stream-card__soon-avatar) {
    grid-column: 2;
}
@keyframes streamers-pulse{ 70% { box-shadow: 0 0 0 8px rgba(255, 77, 77, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 77, 77, 0); } }
