
/* =====================================================
   CLASTIE V38
   viewers + clean caption + natural fox loader
   ===================================================== */

/* No branding attribution at footer */
.cl14-powered,
.cl25-powered-final,
footer a[href*="leaderos.com"],
footer a[href*="leaderos.com.tr"]{
    display:none!important;
}

/* Story views button is clickable */
.cl36-views{
    border:0!important;
    cursor:pointer!important;
    transition:transform .16s ease, background .16s ease!important;
}
.cl36-views:hover{
    transform:translateY(-1px)!important;
    background:#151515!important;
}

/* Remove the ugly heavy black caption box */
.cl36-caption{
    background:transparent!important;
    min-height:54px!important;
    max-height:105px!important;
    padding:10px 2px 0!important;
}
#cl14-story-text{
    padding:0!important;
}
#cl25-story-tags{
    margin-top:6px!important;
}

/* Viewers modal */
.cl38-viewers-modal{
    position:fixed;
    inset:0;
    z-index:2147483647;
    display:none;
    align-items:center;
    justify-content:center;
    padding:18px;
}
.cl38-viewers-modal.is-open{display:flex}
.cl38-viewers-backdrop{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.68);
    backdrop-filter:blur(5px);
}
.cl38-viewers-card{
    position:relative;
    z-index:2;
    width:min(390px,92vw);
    max-height:min(620px,82vh);
    overflow:hidden;
    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;
    background:#111318;
    box-shadow:0 28px 80px rgba(0,0,0,.55);
}
.cl38-viewers-head{
    display:flex;
    align-items:center;
    gap:12px;
    padding:17px 18px;
    border-bottom:1px solid rgba(255,255,255,.07);
}
.cl38-viewers-head>div{
    display:flex;
    min-width:0;
    flex:1;
    flex-direction:column;
}
.cl38-viewers-head b{color:#fff;font-size:16px}
.cl38-viewers-head small{margin-top:3px;color:#7f899a;font-size:11px}
.cl38-viewers-head button{
    display:grid;
    width:34px;
    height:34px;
    place-items:center;
    border:0;
    border-radius:50%;
    background:#1d2129;
    color:#fff;
    cursor:pointer;
    font-size:23px;
}
.cl38-viewers-list{
    max-height:500px;
    overflow-y:auto;
    padding:8px;
}
.cl38-viewer-row{
    display:flex;
    align-items:center;
    gap:11px;
    padding:10px;
    border-radius:12px;
}
.cl38-viewer-row:hover{background:rgba(255,255,255,.035)}
.cl38-viewer-row img,
.cl38-guest-avatar{
    display:grid;
    width:42px;
    height:42px;
    flex:0 0 42px;
    place-items:center;
    border-radius:10px;
    background:#1d2532;
    object-fit:cover;
    color:#97a4b8;
}
.cl38-viewer-row>div{
    display:flex;
    min-width:0;
    flex-direction:column;
}
.cl38-viewer-row b{
    overflow:hidden;
    color:#eef3fb;
    font-size:13px;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.cl38-viewer-row small{
    margin-top:3px;
    color:#778296;
    font-size:10px;
}
.cl38-viewers-empty{
    padding:32px 18px;
    color:#7f899a;
    text-align:center;
    font-size:13px;
}

/* Natural fox page loader */
.cl10-loader{
    background:
      radial-gradient(circle at 50% 42%,rgba(229,119,45,.09),transparent 31%),
      linear-gradient(180deg,#07101b,#0b1624)!important;
}
.cl10-loader-track{
    width:min(610px,86vw)!important;
    height:145px!important;
}
.cl38-fox-runner{
    position:absolute;
    left:-180px;
    bottom:17px;
    width:180px;
    height:88px;
    animation:cl38FoxCross 2.7s linear infinite;
    filter:drop-shadow(0 8px 10px rgba(0,0,0,.34));
    will-change:transform,left;
}
.cl38-fox-runner img{
    display:block;
    width:100%;
    height:100%;
    object-fit:contain;
}
@keyframes cl38FoxCross{
    0%{left:-180px;transform:translateY(1px) scaleX(1)}
    18%{transform:translateY(-3px) scaleX(1)}
    38%{transform:translateY(1px) scaleX(1)}
    58%{transform:translateY(-2px) scaleX(1)}
    78%{transform:translateY(1px) scaleX(1)}
    100%{left:calc(100% + 15px);transform:translateY(0) scaleX(1)}
}
.cl10-ground{
    bottom:21px!important;
    opacity:.66;
}

/* Remove old geometric fox if cached */
.cl10-fox-runner,
.cl10-fox-body,
.cl10-fox-head,
.cl10-tail,
.cl10-leg{
    display:none!important;
}
.cl38-fox-runner{display:block!important}

@media(max-width:620px){
    .cl38-fox-runner{
        width:150px;
        height:74px;
    }
}
