/* =====================================================
   TFZ MEGA PUBLIC
   ===================================================== */

.tfz-mega-event-host{
    position:relative !important;
}

.tfz-mega-countdown{
    position:absolute;
    z-index:20;
    top:14px;
    right:14px;
    display:flex;
    gap:4px;
    padding:3px;
    background:rgba(5,6,8,.92);
    border:1px solid rgba(255,255,255,.17);
    border-radius:5px;
}

.tfz-mega-countdown .cell{
    min-width:65px;
    padding:8px 9px;
    text-align:center;
    border-right:1px solid rgba(255,255,255,.13);
}

.tfz-mega-countdown .cell:last-child{
    border-right:0;
}

.tfz-mega-countdown strong{
    display:block;
    color:#fff;
    font-size:19px;
}

.tfz-mega-countdown small{
    display:block;
    color:#b9bdc5;
    font-size:8px;
    margin-top:3px;
}

.tfz-mega-countdown.ended{
    color:#fff;
    padding:12px 18px;
    font-weight:900;
    background:rgba(145,10,24,.94);
    border-color:#e21a31;
}

.tfz-event-disabled{
    opacity:.45 !important;
    pointer-events:none !important;
}

#tfz-event-modal{
    position:fixed;
    z-index:99999;
    inset:0;
    background:rgba(0,0,0,.84);
    display:none;
    align-items:center;
    justify-content:center;
    padding:25px;
}

#tfz-event-modal.open{
    display:flex;
}

.tfz-event-modal-card{
    width:min(900px,96vw);
    max-height:90vh;
    overflow:auto;
    background:#0d0f12;
    border:1px solid #363a42;
    box-shadow:0 30px 100px rgba(0,0,0,.65);
}

.tfz-event-modal-image{
    width:100%;
    max-height:420px;
    object-fit:cover;
    display:block;
}

.tfz-event-modal-content{
    padding:25px;
}

.tfz-event-modal-content h2{
    margin:0 0 12px;
    font-size:30px;
}

.tfz-event-modal-meta{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin:15px 0;
}

.tfz-event-modal-meta span{
    padding:7px 10px;
    background:#181b20;
    border:1px solid #2c3037;
    font-size:12px;
}

.tfz-event-modal-close{
    float:right;
    border:0;
    background:#ef172f;
    color:white;
    padding:10px 14px;
    font-weight:900;
    cursor:pointer;
}


/* NEWS GRÖSSER */

.tfz-mega-news-grid{
    display:grid !important;
    grid-template-columns:repeat(
        auto-fit,
        minmax(390px,1fr)
    ) !important;
    gap:22px !important;
}

.tfz-mega-news-grid > *{
    min-height:330px !important;
}

.tfz-mega-news-grid img{
    width:100% !important;
    min-height:210px !important;
    max-height:300px !important;
    object-fit:cover !important;
}

.tfz-mega-news-section h2,
.tfz-mega-news-section h3{
    font-size:clamp(24px,3vw,38px);
}

.tfz-mega-news-section p{
    font-size:15px;
    line-height:1.65;
}


/* AUTO-MITGLIEDER */

.tfz-auto-members{
    padding:65px 4vw;
    background:#090a0c;
}

.tfz-auto-members-head{
    display:flex;
    justify-content:space-between;
    align-items:end;
    gap:20px;
    margin-bottom:25px;
}

.tfz-auto-members h2{
    margin:0;
    font-size:32px;
}

.tfz-auto-members-head a{
    color:white;
    text-decoration:none;
    padding:10px 14px;
    background:#ef172f;
    font-weight:900;
}

.tfz-auto-members-grid{
    display:grid;
    grid-template-columns:repeat(
        auto-fit,
        minmax(210px,1fr)
    );
    gap:14px;
}

.tfz-member-card{
    background:#111317;
    border:1px solid #282c32;
    padding:18px;
}

.tfz-member-card img{
    width:70px;
    height:70px;
    border-radius:50%;
    object-fit:cover;
    margin-bottom:12px;
}

.tfz-member-avatar-placeholder{
    width:70px;
    height:70px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:#ef172f;
    color:white;
    font-size:24px;
    font-weight:900;
    margin-bottom:12px;
}

.tfz-member-card h3{
    margin:0 0 6px;
}

.tfz-member-card small{
    color:#ef172f;
    font-weight:900;
}

.tfz-member-card p{
    color:#aeb4bd;
    line-height:1.5;
}

.tfz-server-live-pill{
    display:inline-flex;
    margin:8px 0;
    padding:6px 10px;
    border-radius:20px;
    font-size:11px;
    font-weight:900;
}

.tfz-server-live-pill.online{
    color:#76e99a;
    border:1px solid #286d40;
    background:#102218;
}

.tfz-server-live-pill.offline{
    color:#ff7881;
    border:1px solid #702832;
    background:#251014;
}

@media(max-width:700px){

    .tfz-mega-countdown{
        position:relative;
        top:auto;
        right:auto;
        margin:10px;
        justify-content:center;
    }

    .tfz-mega-countdown .cell{
        min-width:52px;
    }

    .tfz-mega-news-grid{
        grid-template-columns:1fr !important;
    }
}
