/* "განაგრძე ყურება" მთავარ გვერდზე (kk-cw.js).
 * ბარათის ზომა = "ახალი ფილმების" ბარათი: --kkcw-w / --kkcw-h / --kkcw-gap JS ზომავს (სათადარიგო: 288×183, 10px) */
#kk-cw { --kkcw-w: 288px; --kkcw-h: 183px; --kkcw-gap: 10px; margin: 10px 0 30px; }
#kk-cw .kkcw-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
#kk-cw .kkcw-head h5 { margin: 0; display: flex; align-items: center; gap: 10px; }
#kk-cw .kkcw-dot { width: 8px; height: 8px; border-radius: 50%; background: #7b61ff; box-shadow: 0 0 0 4px rgba(123, 97, 255, .2); }
#kk-cw .kkcw-clear {
    padding: 0 !important; height: auto !important; border: 0 !important; background: none !important;
    font-size: 12.5px; color: #8b8ea6 !important; cursor: pointer;
}
#kk-cw .kkcw-clear:hover { color: #fff !important; }
#kk-cw .kkcw-row {
    display: flex; gap: var(--kkcw-gap); overflow-x: auto; scroll-snap-type: x mandatory;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
#kk-cw .kkcw-row::-webkit-scrollbar { display: none; }
#kk-cw .kkcw-card { flex: 0 0 var(--kkcw-w); width: var(--kkcw-w); display: block; color: #fff; text-decoration: none; scroll-snap-align: start; }
#kk-cw .kkcw-img {
    position: relative; height: var(--kkcw-h); overflow: hidden; border-radius: 5px; background: #111;
    transition: box-shadow .25s;
}
#kk-cw .kkcw-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
#kk-cw .kkcw-card:hover .kkcw-img { box-shadow: 0 0 0 2px rgba(123, 97, 255, .7); }
#kk-cw .kkcw-card:hover .kkcw-img img { transform: scale(1.04); }
#kk-cw .kkcw-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 3, 28, 0) 55%, rgba(0, 3, 28, .75) 100%); }
#kk-cw .kkcw-play {
    position: absolute; left: 50%; top: 50%; z-index: 2; width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; transform: translate(-50%, -50%) scale(.85);
    background: rgba(123, 97, 255, .92); box-shadow: 0 6px 18px rgba(123, 97, 255, .5); opacity: 0; transition: .25s;
}
#kk-cw .kkcw-play::before { content: ""; margin-left: 3px; border-left: 13px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
#kk-cw .kkcw-card:hover .kkcw-play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
#kk-cw .kkcw-ep { position: absolute; left: 8px; top: 8px; z-index: 2; padding: 2px 7px; border-radius: 5px; font-size: 11px; background: rgba(0, 3, 28, .75); backdrop-filter: blur(4px); }
#kk-cw .kkcw-x {
    position: absolute; right: 7px; top: 7px; z-index: 3; width: 24px; height: 24px; padding: 0 !important;
    display: flex; align-items: center; justify-content: center; border: 0 !important; border-radius: 50% !important;
    background: rgba(0, 3, 28, .7) !important; color: #cfd0dc !important; font: 12px Arial, sans-serif !important;
    cursor: pointer; opacity: 0; transition: .2s;
}
#kk-cw .kkcw-card:hover .kkcw-x { opacity: 1; }
#kk-cw .kkcw-x:hover { background: #e0577f !important; color: #fff !important; }
#kk-cw .kkcw-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 3px; background: rgba(255, 255, 255, .18); }
#kk-cw .kkcw-bar span { display: block; height: 100%; border-radius: 0 3px 3px 0; background: linear-gradient(90deg, #7b61ff, #a996ff); }
#kk-cw .kkcw-info { padding: 9px 0 0; }
#kk-cw .kkcw-t { font-size: 15px; font-weight: 600; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#kk-cw .kkcw-m { margin-top: 3px; font-size: 12px; color: #8b8ea6; }
#kk-cw .kkcw-m b { font-weight: 500; color: #a996ff; }
@media (hover: none) {
    #kk-cw .kkcw-x { opacity: 1; }
}
