.cyp-container {
position: relative;
width: 100%;
overflow: hidden; 
background-size: cover;
background-position: center;
cursor: pointer;
background-color: #000;
display: grid;
grid-template-areas: "stack";
align-items: start;
}
.cyp-container::before {
content: "";
grid-area: stack;
display: block;
padding-bottom: 56.25%;
z-index: 0;
}
.cyp-container video,
.cyp-container .cyp-youtube-player,
.cyp-container .cyp-vast-container {
grid-area: stack;
width: 100%;
height: 100%;
object-fit: contain;
}
.cyp-ad-video {
display: none;
z-index: 10;
background-color: #000;
}
.cyp-vast-container {
display: none;
z-index: 11;
background-color: #000; position: absolute;
top: 0;
left: 0;
overflow: hidden;
} .cyp-vast-container .video-js.vjs-fluid,
.cyp-vast-container .video-js[class*="-dimensions"] {
padding-top: 56.25% !important;
}
.cyp-youtube-player {
z-index: 5;
}
.cyp-play-button {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 80px;
height: 80px;
background-image: url(//fashionup.cz/wp-content/plugins/preroll_fixed1/play-button.png);
background-size: contain;
background-repeat: no-repeat;
background-position: center;
transition: opacity 0.2s;
z-index: 20;
opacity: 0.85;
}
.cyp-container:hover .cyp-play-button {
opacity: 1;
}
.cyp-skip-button {
position: absolute;
bottom: 15px;
right: 15px;
z-index: 21;
background: rgba(0, 0, 0, 0.5);
color: white;
border: 1px solid rgba(255, 255, 255, 0.5);
padding: 8px 12px;
cursor: pointer;
display: none;
font-size: 14px;
border-radius: 4px;
min-height: 36px;
box-sizing: border-box;
align-items: center;
gap: 6px;
}
.cyp-skip-button.show {
display: flex;
}
.cyp-skip-button:hover {
background: rgba(255, 255, 255, 1);
color: black;
border-color: transparent;
}
.cyp-skip-button::after {
content: '';
width: 0;
height: 0;
border-style: solid;
border-width: 4px 0 4px 6px;
border-color: transparent transparent transparent currentColor;
flex-shrink: 0;
}
.cyp-countdown {
position: absolute;
bottom: 15px;
right: 15px;
z-index: 21;
background: rgba(0, 0, 0, 0.5);
color: white;
border: 1px solid rgba(255, 255, 255, 0.3);
padding: 8px 12px;
font-size: 14px;
border-radius: 4px;
display: none;
min-height: 36px;
box-sizing: border-box;
align-items: center;
}
.cyp-countdown.show {
display: flex;
}