/* V18 — Centered streaming-style dot controls and 5-second visual countdown */
.cinema-carousel{position:relative}
.cinema-viewport{cursor:grab;touch-action:pan-y;user-select:none}
.cinema-viewport:active{cursor:grabbing}
.cinema-slide-content a{user-select:auto}
.cinema-controls{
 position:absolute;left:16px;right:16px;bottom:18px;z-index:10;
 display:grid;grid-template-columns:1fr auto 1fr;align-items:center;
 gap:12px;margin:0;pointer-events:none;
}
.cinema-count{justify-self:start;pointer-events:auto;color:#f8f2f4;text-shadow:0 2px 9px #000}
.cinema-dots{
 justify-self:center;display:flex;align-items:center;justify-content:center;
 gap:2px;margin:0;padding:4px 9px;border-radius:999px;
 background:rgba(0,0,0,.28);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
 pointer-events:auto;
}
.cinema-dot,.cinema-dot:not(.is-active){
 box-sizing:border-box;display:grid;place-items:center;width:18px;height:29px;padding:0;
 background:transparent;border:0;border-radius:999px;cursor:pointer;
 transition:width .25s ease;
}
.cinema-dot.is-active{width:39px}
.cinema-dot span{width:7px;height:7px;background:rgba(255,255,255,.47);border-radius:999px;position:relative;overflow:hidden;transition:width .25s ease,background .2s ease}
.cinema-dot.is-active span,.cinema-dot[aria-pressed=true] span{width:31px;height:7px;border-radius:999px;background:rgba(255,255,255,.38)}
.cinema-dot.is-active span::after{
 content:'';position:absolute;left:0;top:0;bottom:0;width:0;background:#fff;
 border-radius:999px;animation:cinema-dot-fill 5s linear forwards;
}
.cinema-paused .cinema-dot.is-active span::after{animation-play-state:paused}
@keyframes cinema-dot-fill{from{width:0}to{width:100%}}
.cinema-dot:hover span,.cinema-dot:focus-visible span{background:#fff}
.cinema-dot:focus-visible{outline:2px solid #fff;outline-offset:2px}
.cinema-arrows{justify-self:end;pointer-events:auto;display:flex;gap:7px}
.cinema-arrows button{background:rgba(0,0,0,.32);backdrop-filter:blur(10px);border-color:rgba(255,255,255,.45);width:38px;height:38px;font-size:17px}
#cinemaPause{font-size:16px;font-weight:700}
.cinema-slide-content{bottom:clamp(74px,10vw,138px)}
@media(max-width:900px){
 .cinema-controls{bottom:13px;left:12px;right:12px}
 .cinema-slide-content{bottom:88px}
 .cinema-arrows button{width:34px;height:34px;font-size:15px}
}
@media(max-width:640px){
 .cinema-controls{grid-template-columns:1fr;justify-items:center;bottom:11px;left:5px;right:5px;margin:0}
 .cinema-count,.cinema-arrows{display:none}
 .cinema-dots{grid-column:1;max-width:calc(100vw - 34px);gap:1px;padding:4px 6px}
 .cinema-dot,.cinema-dot:not(.is-active){width:18px;height:28px}
 .cinema-dot.is-active{width:37px}
 .cinema-dot.is-active span{width:29px}
 .cinema-slide-content{bottom:63px}
 .cinema-slide-content p{display:none}
 .cinema-slide-content h3{font-size:clamp(25px,6vw,35px)}
 .cinema-viewport{min-height:380px}
}
@media(prefers-reduced-motion:reduce){
 .cinema-dot,.cinema-dot span{transition:none!important}
 .cinema-dot.is-active span::after{animation:none!important;width:100%}
}
