#site-wrapper .smartphone header,
#site-wrapper .smartphone #top_addd {
    display: none;
}

#site-wrapper .smartphone .back-button {
    width: calc(100% - 15px);
    position: absolute;
    left: 5px;
    z-index: 10;
    opacity: 0;
    top: -20%;
    visibility: hidden;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}

#site-wrapper .smartphone .back-button .shrink,
#site-wrapper .smartphone .back-button .fullscreen {
    width: 40px;
    height: 40px;
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
    position: absolute;
    right: 5px;
    top: 10px;
}

#site-wrapper .smartphone .back-button.show {
    visibility: visible;
    opacity: 0.75;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    top: 5px;
}

#site-wrapper .smartphone .back-button .logo-back {
    max-width: 120px;
}

#site-wrapper .smartphone .smart-list-container {
    height: 100vh;
}

#site-wrapper .smartphone .smart-list-container .splide__arrows {
    display: none;
}

#site-wrapper .smartphone .smart-list-container .splide__list .splide__slide[data-type=video] {
    -ms-touch-action: manipulation;
    touch-action: manipulation;
}

#site-wrapper .smartphone .smart-list-container .splide__list .splide__slide[data-type=video] video {
    -o-object-fit: contain;
    object-fit: contain;
    width: 100%;
    height: 100%;
}

#site-wrapper .smartphone .smart-list-container .splide__list .splide__slide[data-type=video] video.landscape {
    -o-object-fit: contain;
    object-fit: contain;
}

#site-wrapper .smartphone .smart-list-container .splide__list .splide__slide[data-type=video] video.vertical {
    -o-object-fit: cover;
    object-fit: cover;
}

#site-wrapper .smartphone .smart-list-container .splide__list .splide__slide .video-js {
    height: 100%;
    width: 100%;
}

#site-wrapper .smartphone .smart-list-container .splide__list .splide__slide .controls {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    z-index: 1;
}

#site-wrapper .smartphone #site-footer {
    display: none;
}

.promotext {
    color: #fff;
    position: absolute;
    padding-left: 10px;
    z-index: 9;
    top: 25vw;
    left: 0;
    display: none;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    -webkit-transform: scale(0);
    transform: scale(0);
}

.promotext.show {
    display: block;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    -webkit-transform: scale(1);
    transform: scale(1);
}

.promotext:before {
    content: "";
    position: absolute;
    width: 5px;
    height: 100%;
    background: #f0f;
    left: 0;
    top: 0;
}

.promotext .subtext {
    text-shadow: 0 0 3px #222;
    font-size: 11px;
    margin: 0;
}

.promotext .maintext {
    font-size: 14px;
    text-shadow: 0 0 3px #222;
    margin: 0;
}

.mask-layer {
    background: rgba(0, 0, 0, 0);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
}

.turn-on-sound {
    position: absolute;
    left: 3%;
    top: 35%;
    width: auto;
    height: auto;
    z-index: 21;
    background: #fff;
    border-radius: 3px;
    padding: 5px;
    color: #222;
    overflow: hidden;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    cursor: pointer;
}

.turn-on-sound.hidden {
    -webkit-transform: scale(0);
    transform: scale(0);
    left: -50%;
}

.turn-on-sound .ico {
    background-image: url(../images/volume_off.png);
    background-size: 100%;
    background-repeat: no-repeat;
    width: 25px;
    height: 25px;
    display: inline-block;
    vertical-align: middle;
    -webkit-filter: brightness(0%);
    filter: brightness(0%);
}

.video-holder {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.poster {
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
}

.seekbar {
    height: 35px;
    width: 100%;
    position: absolute;
    bottom: 10px;
    left: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 20;
    visibility: hidden;
    overflow: hidden;
}

.seekbar.show {
    visibility: visible;
}

.seekbar .metadata {
    color: #fff;
    left: 15px;
    top: 3px;
    font-size: 13px;
    position: absolute;
}

.seekbar .rangeslider--horizontal {
    height: 100%;
    width: calc(100% - 180px);
    min-width: 100px;
    opacity: 0 !important;
    z-index: 15;
    position: absolute;
    left: 115px;
    top: -5px;
}

.seekbar .rangeslider--horizontal .rangeslider__handle {
    top: 6px;
    width: 20px;
    height: 20px;
}

.seekbar .rangeslider--horizontal+.mask-seek+.rangeslider--horizontal {
    opacity: 1 !important;
    height: 10px;
    z-index: 11;
    top: 12px;
}

.seekbar .rangeslider--horizontal+.mask-seek+.rangeslider--horizontal .rangeslider__handle {
    top: -6px;
}

.seekbar .volume {
    position: absolute;
    right: 15px;
    top: 6px;
    height: 25px;
    width: 25px;
}

.seekbar .volume:after {
    width: 25px;
    background-image: url(../images/volume_off.png);
    background-size: 100%;
    background-repeat: no-repeat;
    height: 25px;
    opacity: 0;
    content: "";
    position: absolute;
    left: 0;
    top: 0;
}

.seekbar .volume .ico {
    width: 25px;
    background-image: url(../images/volume_on.png);
    height: 25px;
    background-size: 100%;
    display: inline-block;
    background-repeat: no-repeat;
    background-position: left top;
}

.seekbar .volume.off .ico {
    background-image: url(../images/volume_off.png);
}
.rangeslider__fill {
  background: #e91e63;
}

.chapter-btn {
    position: fixed;
    top: 35%;
    right: 20px;
    background-color: #e91e63;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 10px 20px;
    z-index: 9999;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.chapter-modal {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.95);
    padding: 10px;
    z-index: 9998;
    display: none;
    flex-direction: column;
/*    max-height: 55vh;*/
    overflow-y: auto;
}

.chapter-modal h3 {
    color: white;
    margin-bottom: 12px;
}

.tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.tab {
    padding: 6px 12px;
    background: #444;
    color: gray;
    border-radius: 8px;
    cursor: pointer;
}

.tab.active {
    background: #f0f;
    color: white;
}

.chapter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
    gap: 10px;
}

.chapter-item {
    background-color: #333;
    color: white;
    padding: 10px 0;
    text-align: center;
    border-radius: 5px;
    cursor: pointer;
}

.chapter-item.active {
    background-color: #f0f;
}