body {
    margin: 0;
    padding: 0;
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
    background-color: #000;
}
tr.logo img{width:80px}
.left{text-align:left}
.right{text-align:right}

table {
    background-image: url('https://res.cloudinary.com/dry7cujup/image/upload/swesjU5_hvfbvq.png'); 
    margin-top: 0;
    border-collapse: collapse;
    width: 100vw;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100dvh;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
}


td {
    text-align: center;
}


tr:nth-child(1) td:nth-child(1) {
    font-size: 2.5vw;
    font-weight: bold;
    background-color: transparent;
    
    width:15%
}


tr:nth-child(1) td:nth-child(2) {
    background-color: transparent;
    
    font-weight: bold;
    font-size: 2vw;
    width: 70%;
}


tr:nth-child(1) td:nth-child(3),
tr:nth-child(2) td:nth-child(3) {
    background-color: transparent;
    vertical-align: top;
    font-style: italic;
    width: 15%;
}


tr:nth-child(3) td {
    background-color: transparent;
    
    font-size: 1.8vw;
    height: 5%;
}


tr:nth-child(4) td {
    background-color: transparent;
    
    height: 65%;
}


tr:nth-child(6) td {
    background-color: transparent;
    
    font-weight: bold;
    font-size: 2vw;
    height: 3%;
}

tr:nth-child(6) td img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.mexit {
    font-size: 34px;
    letter-spacing: 0.5px; 
    font-weight: bold;
    color: limegreen;
    background: linear-gradient(to right, #00ff00, #006600);
    -webkit-background-clip: text;
    color: transparent;
    display: inline-block;
    text-align: center;
    text-shadow: 0 0 5px #00ff00;
    transform: perspective(200px) rotateX(10deg) rotateY(5deg);
}

.neon-text {
    font-family: 'Arial', sans-serif;
    font-size: 11vw;
    font-weight: bold;
    color: lime;
    animation: blink 1.5s infinite alternate;
}

@keyframes blink {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        text-shadow:
            0 0 5px #00ff00,
            0 0 10px #00ff00,
            0 0 20px #00ff00,
            0 0 40px #00ff00;
    }
    20%, 24%, 55% {
        text-shadow: none;
    }
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    background-color: black;
    z-index: 9999;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 4.5s ease, visibility 4.5s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-gif-container {
    width: 100vw;
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    background: transparent;
}

.popup-gif-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popup-buttons {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10000;
}

.popup-buttons button {
    padding: 2px 5px;
    font-size: 15px;
    background: #111;
    
    cursor: pointer;
}

.nav-button {
    font-size: 3rem;
    
    background: rgba(0, 0, 0, 0.4);
    opahcity:0.6;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.nav-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.record-player {
    width: 33px;
    height: 33px;
    margin: 8px auto;
    position: relative;
}

.record {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #111 0%, #333 50%, #111 100%);
    position: relative;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
    animation: none;
}

.record.playing {
    animation: spin 4s linear infinite;
}

.record::before {
    content: '';
    position: absolute;
    width: 94%;
    height: 94%;
    border-radius: 50%;
    background: radial-gradient(circle, #222 0%, #111 70%);
    top: 3%;
    left: 3%;
    box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.8);
}

.record-label {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
    font-size: 9px;
    font-weight: bold;
    color: yellow;
    text-align: center;
    text-trancsform: uppercase;
}

.record-arm {
    display: block;
    position: absolute;
    width: 2px;
    height: 10px;
    background: radial-gradient(circle, #222 0%, #111 70%);
    top: -1px;
    left: -1px;
    transform-origin: top center;
    transform: rotate(-55deg);
    border-radius: 4px;
    box-shadow: 0 0 5px rgba(0,0,0,0.4);
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}


html {
    background-image: none;
    background-repeat:no-repeat;
    background-size:cover;
    background-position:center;
    background-color:#000;
    width: 100%!important;
    font-family: Arial, Helvetica, sans-serif;
}

html:focus-within { 
    scroll-behavior: smooth; 
}

.jAudio, .jAudio * { 
    padding: 0; 
    margin: 0; 
    box-sizing: border-box; 
    outline: none;  
    
}

.jAudio {
    display: table; 
    overflow: hidden; 
    background: transparent; 
    opacity:0.85; 
    margin: 1.5vh auto; 
    width: 99%;
}

.jAudio:after {
    content: " "; 
    display: block; 
    width: 100%; 
    clear: both; 
}

.jAudio--ui {
    position: relative; 
    width: 100%;
}

.jAudio--status-bar {
    background:transparent;
    width: 100%; 
    z-index: 1; 
    position: relative; 
    padding: -1px 2rem 2rem 2rem; 
    display: table; 
}

.jAudio--status-bar:after {
    content: " "; 
    display: block; 
    width: 100%; 
    clear: both; 
}

.jAudio--controls {
    width: 100%; 
}

.jAudio--controls:after { 
    content: " "; 
    display: block; 
    width: 100%; 
    clear: both; 
}

.jAudio--controls ul { 
    display: table; 
    overflow: hidden; 
    width: 100%; 
}

.jAudio--controls ul:after { 
    content: " "; 
    display: block; 
    width: 100%; 
    clear: both; 
}

.jAudio--controls li { 
    position: relative; 
    width: 33.3333%; 
    height: 2rem; 
    line-height: 5rem; 
    float: left; 
    list-style: none; 
}

.jAudio--control { 
    position: relative; 
    overflow: hidden; 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: transparent; 
    border: 0; 
}

.jAudio--control span { 
    position: absolute; 
    display: table; 
    height: 15px; 
    top: 50%; 
    left: 50%; 
    -webkit-transform: translate(-50%, -50%); 
    -ms-transform: translate(-50%, -50%); 
    transform: translate(-50%, -50%); 
    overflow: hidden; 
}

.jAudio--control span:before, .jAudio--control span:after { 
    display: block; 
    content: " "; 
    height: 0; 
    float: left; 
    border-color: transparent; 
    border-style: solid; 
}

.jAudio--control:active { 
    background: black; 
    border-radius:4rem
}

.jAudio--control-prev span:before, .jAudio--control-prev span:after, .jAudio--control-next span:before, .jAudio--control-next span:after, .jAudio--control-play span:before, .jAudio--control-play span:after {
    border-top: 9.5px solid transparent; 
    border-bottom: 7.5px solid transparent; 
}

.jAudio--control-prev span:before, .jAudio--control-prev span:after { 
    border-right: 15px solid #ddd; 
    border-left: 0; 
}

.jAudio--control-prev:active span:before, .jAudio--control-prev:active span:after { 
    border-right-color: #FF6666 !important; 
}

.jAudio--control-next span:before, .jAudio--control-next span:after { 
    border-left: 15px solid #ddd; 
    border-right: 0; 
}

.jAudio--control-next:active span:before, .jAudio--control-next:active span:after { 
    border-left-color: #FF6666 !important; 
}

.jAudio--control-play span:before { 
    border-left: 15px solid #ddd; 
    border-right: 0; 
}

.jAudio--control-play span:after { 
    display: none; 
}

.jAudio--control-play:active span:before, .jAudio--control-play.active span:before { 
    border-left-color: #FF6666 !important; 
}

.jAudio--control-pause span:before, .jAudio--control-pause span:after { 
    width: 5px; 
    height: 15px; 
    background: #00ff00; 
    border: 0; 
}

.jAudio--control-pause span:before { 
    margin-right: 5px; 
}

.jAudio--control-pause span:active:before, .jAudio--control-pause span:active:after, .jAudio--control-pause span.active:before, .jAudio--control-pause span.active:after { 
    background: #fff; 
    margin-right: 5px; 
}

.jAudio--time {
    display: table; 
    width: 100%; 
}

.jAudio--time:after {
    content: " "; 
    display: block; 
    width: 100%; 
    clear: both; 
}

.jAudio--time * { 
    width: 100%; 
    display: block; 
    float: left; 
    color: #fff; 
    text-shadow: 0 1px 1px #000; 
    font-size: 1.15rem; 
}

.jAudio--time-elapsed { 
    text-align: center; 
}

.jAudio--time-total {
    color:#fff; 
    text-align: CENTER;
    background:#1f0000;
    opacity:0.7; 
    margin-left:8px;
    margin-right:0px;
    border-radius:8px
}

.jAudio--progress-bar-wrapper { 
    width: 100%; 
    position: relative; 
    background: rgba(255, 255, 255, 0.3); 
    cursor: pointer; 
    border-radius: 10px; 
    overflow: hidden; 
}

.jAudio--progress-bar-played { 
    height: 10px; 
    background: lime; 
    position: relative; 
    border-radius: 10px; 
}

.jAudio--progress-bar-pointer { 
    height: 10px; 
    width: 10px; 
    border-radius: 50%; 
    position: absolute; 
    right: 0; 
    background: #fff; 
}

.jAudio--playlist {
    border:#747691 solid 3px;
    margin:10px;
    text-align:left;
    height:66.66Dvh!important;
    background:#181b48; 
    color:#fff;
    opacity:0.8;
    overflow-y: scroll;
}

.jAudio--playlist-item {
    color:#fff; 
    border-radius: 50%;
    font-size: 16px;
}

.jAudio--playlist-item:after { 
    content: " "; 
    display: block; 
    width: 100%; 
    clear: both; 
    color:#fff;
}

.jAudio--playlist-item.active { 
    color: #fff;
    background: #d88118; 
    border-bottom-color: #58d02a;
    border-radius: 90%;
    font-size: 16px;
    margin-left: 5px;
    background: linear-gradient(to bottom, transparent 50%, #d88118 50%);
}

.jAudio--playlist-item.active * { 
    color: #fff; 
    text-shadow: 1px 1px 1px #000;
}

.jAudio--playlist-item:not(.active):hover { 
    color:#fff;
    background: #71f73d; 
}

.jAudio--playlist-item:last-of-type {
    color: #fff; 
    border: 0; 
    margin-bottom: 0;
}

.jAudio--playlist-meta-track-name { 
    font-size: 0.99rem; 
    color: #fff; 
}

.jAudio--playlist-meta-track-artist { 
    font-size: 0.99rem;
    color: #fff;
}

.jAudio--controls li button span:before, .jAudio--controls li button span:after { 
    -webkit-transition: border-color 0.3s ease 0s; 
    transition: border-color 0.3s ease 0s; 
}

.jAudio--progress-bar-played { 
    -webkit-transition: all 0.2s ease 0s; 
    transition: all 0.2s ease 0s; 
}

.jAudio--playlist-item {
    color: #fff; 
    -webkit-transition: all 0.5s ease 0s; 
    transition: all 0.5s ease 0s; 
}

.jAudio--playlist-item * {
    color: #fff; 
    -webkit-transition: all 0.3s ease 0s; 
    transition: all 0.3s ease 0s; 
}

.footer {
    position: relative;
    bottom:1%
}



.start-menu-overlay {
    position: fixed;
    bottom: 60px; 
    left: 10px; 
    width: 200px;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.start-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}


.start-menu-container {
    width: 100%;
    background: #060032;
    border: 2px solid #4e3466;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(78, 52, 102, 0.3);
    overflow: hidden;
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.start-menu-overlay.active .start-menu-container {
    transform: translateY(0);
}


.start-menu-item {
    display: block;
    padding: 8px 12px;
    font-size: 14px;
    font-family: Arial, sans-serif;
    color: #ffffff; 
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.2s ease;
}

.start-menu-item:hover {
    color: #71f73d; 
    transform: translateX(5px);
}


.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #060032;
    border: 2px solid #4e3466;
    border-radius: 8px;
    padding: 20px;
    width: 300px;
    box-shadow: 0 0 20px rgba(78, 52, 102, 0.5);
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #71f73d;
}

.form-group input {
    width: 100%;
    padding: 8px;
    background: #111;
    border: 1px solid #4e3466;
    color: white;
    border-radius: 4px;
}

.modal-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.modal-buttons button {
    padding: 5px 15px;
    background: #4e3466;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.modal-buttons button:hover {
    background: #71f73d;
    color: black;
}

.start-menu-container {
    overflow: visible !important; 
    z-index: 10000;
    width:140px;
}


.submenu-parent {
    position: relative;
    z-index: 10001;
}


.import-submenu {
    display: none;
    position: absolute;
    left: calc(100% + 5px); 
    bottom: 0px; 
    background: #060032;
    border: 2px solid #4e3466;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(78, 52, 102, 0.5);
    z-index: 10002; 
    min-width: 180px;
    padding: 5px 0;
}

.import-submenu.active {
    display: block;
}

.submenu-item {
    display: block;
    padding: 8px 15px;
    color: white !important;
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
}

.submenu-item:hover {
    background: rgba(113, 247, 61, 0.3);
    color: #71f73d !important;
}

.submenu-arrow {
    margin-left: 17px;
    transition: transform 0.2s ease;
    display: inline-block;
    font-size: 13px;
}




#addNewModal .modal-content {
    background: #060032;
    border: 2px solid #4e3466;
    border-radius: 8px;
    padding: 20px;
    width: 320px;
    box-shadow: 0 0 20px rgba(78, 52, 102, 0.5);
}

#addNewModal .form-group {
    margin-bottom: 15px;
}

#addNewModal .form-group label {
    display: block;
    margin-bottom: 5px;
    color: #71f73d;
    font-size: 14px;
}

#addNewModal .form-group input {
    width: 100%;
    padding: 10px;
    background: #111;
    border: 1px solid #4e3466;
    color: white;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

#addNewModal .form-group input:focus {
    outline: none;
    border-color: #71f73d;
    box-shadow: 0 0 5px rgba(113, 247, 61, 0.5);
}

#addNewModal .modal-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

#addNewModal .modal-buttons button {
    padding: 8px 16px;
    background: #4e3466;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
}

#addNewModal .modal-buttons button:hover {
    background: #71f73d;
    color: black;
}

#addNewModal .modal-buttons button[onclick="addNewTrack()"] {
    background: #006600;
    font-weight: bold;
}

#addNewModal .modal-buttons button[onclick="addNewTrack()"]:hover {
    background: #00aa00;
}
.modal-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.modal-buttons button[onclick="addNewTrack()"] {
    background: #00FF00; 
    color: black; 
    padding: 5px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.modal-buttons button[onclick="addNewTrack()"]:hover {
    background: #00CC00; 
    color: black;
}
        #loop {
            position: relative;
            display: flex;
            align-items: center;
        }

        #volumeContainer {
            margin-left: 10px;
            position: relative;
        }

        #volumeIcon {
            font-size: 20px;
            background: none;
            border: none;
            cursor: pointer;
        }

        #volumeControls {
            display: none;
            position: absolute;
            left: 0;
            bottom: 27px;
            height: 120px;
            width: 40px;
            background: none;
            border-radius: 10px;
            padding: 6px;
            z-index: 100;
        }

        .slider-container {
            height: 120px;
            width: 40px;
        }
        
.slider-container {
  position: relative;
  height: 120px;
  width: 40px;
}

.volumeSlider {
  -webkit-appearance: slider-vertical;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  background: transparent;
  position: absolute;
  z-index: 4;
  opacity: 0;
  cursor: pointer;
}

.volumeSlider[orient="vertical"] {
  writing-mode: bt-lr;
}

.track {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: none;
  opacity: 0.8;
  overflow: hidden;
  border-radius: 50px;
}

.fill {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.fill svg {
  width: 100%;
  height: 100%;
  display: block;
}

.custom-thumb {
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ff4500;
  left: 5px;
  bottom: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: bold;
  color: black;
  z-index: 3;
  pointer-events: none;
  box-shadow: 0 0 5px #ff4500;
}


.tube-popup-overlay {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100dvw;
    height: 100dvh;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 99999;
    display: flex;
    align-items: flex-end;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.tube-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.tube-popup-container {
    width: 100%;
    max-height: 100dvh;
    background: #060032;
    border-top: 2px solid #4e3466;
    border-radius: 15px 15px 0 0;
    overflow: hidden;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.tube-popup-overlay.active .tube-popup-container {
    transform: translateY(0);
}

.tube-search-container {
    padding: 15px;
    background: #0a0044;
    border-bottom: 1px solid #4e3466;
    display: flex;
    gap: 10px;
    align-items: center;
}
.search-input-wrapper {
    flex: 1;
    position: relative;
}


.tube-search-container input {
    width: 100%;
    padding: 10px 15px;
    padding-right: 35px; 
    background: #111;
    border: 1px solid #4e3466;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    box-sizing: border-box;
}

.clear-input {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #ff0000;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    user-select: none;
    z-index: 2;
}

.clear-input:hover {
    opacity: 1;
    background: rgba(255, 0, 0, 0.2);
    border-radius: 50%;
}

.tube-search-container button {
    padding: 10px 20px;
    background: #4e3466;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    white-space: nowrap;
}

.tube-search-container button:hover {
    background: #71f73d;
    color: black;
}

.tube-results-container {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    max-height: calc(80vh - 70px);
}

.tube-result-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(78, 52, 102, 0.3);
    transition: background 0.3s ease;
}

.tube-result-item:hover {
    background: rgba(113, 247, 61, 0.05);
}

.tube-thumbnail {
    position: relative;
    flex-shrink: 0;
    width: 120px;
    height: 68px;
    cursor: pointer;
}

.tube-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.tube-thumbnail img:hover {
    opacity: 0.8;
}

.tube-duration {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 12px;
    z-index: 1;
}


.tube-loading-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    border-radius: 5px;
    padding: 5px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}


.tube-pause-btn {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translate(-50%, -50%);
    width:100%;
    
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    z-index: 2;
    transition: background 0.3s ease;
}

.tube-pause-btn:hover {
    background: rgba(255, 0, 0, 0.8);
}

.tube-info {
    flex: 1;
    min-width: 0;
}

.tube-title {
    color: white;
    font-size: 14px;
    margin: 0 0 5px 0;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    cursor: pointer;
    transition: color 0.3s ease;
}

.tube-title:hover {
    color: #71f73d;
}

.tube-author {
    color: #71f73d;
    font-size: 12px;
    margin: 0 0 3px 0;
}

.tube-meta {
    color: #aaa;
    font-size: 11px;
    margin: 0 0 8px 0;
}
.tube-addplaylist {
    color: #aaa;
    background:#000;
    border-radius: 8px;
    font-size: 11px;
    margin: 0 0 8px 0;
}
.tube-addplaylist:active, .tube-addplaylist:hover {
    color: yellow;
    background: black;
    border-radius: 8px;
    font-size: 11px;
    margin: 0 0 8px 0;
}


.tube-loading {
    text-align: center;
    padding: 40px 20px;
    color: white;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tube-loading img {
    width: 41px;
    height: 41px;
    margin-bottom: 10px;
}
.tube-error {
    text-align: center;
    padding: 40px 20px;
    color: white;
    font-size: 16px;
}


.tube-close-btn {
opacity:0.7;
  position: absolute;          
  right: 42px;              
  bottom: 53px;             
  background: transparent; 
  border: none;
  font-size: 28px;
  cursor: pointer;
  padding: 0;
  z-index: 2000;            
}















#offlineLibraryModal .modal-content {
    max-width: 750px;
    width: 77vw;
    max-height: 85vh;
}


#offlineLibraryList {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 5px;
}


#offlineLibraryList::-webkit-scrollbar {
    width: 6px;
}

#offlineLibraryList::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.1);
    border-radius: 3px;
}

#offlineLibraryList::-webkit-scrollbar-thumb {
    background: #4e3466;
    border-radius: 3px;
}


.offline-item {
    transition: background 0.2s ease;
}
.offline-item img {
    width: 80px;
    height: 45px; 
    
    margin-right: 10px;
    object-fit: cover; 
}

.offline-item:hover {
    background: rgba(113, 247, 61, 0.05) !important;
}



.tube-thumbnail {
    position: relative;
    flex-shrink: 0;
    width: 120px;
    height: 68px;
    cursor: pointer;
    overflow: hidden;
}

.tube-thumbnail:hover .thumbnail-overlay {
    opacity: 1;
}

.thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
    border-radius: 5px;
}

.thumbnail-overlay-text {
    font-size: 11px;
    font-weight: bold;
    color: #71f73d;
    text-align: center;
    padding: 0 5px;
    margin-top: 5px;
    text-shadow: 0 0 3px black;
}

.download-icon {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 0 2px black);
}


.thumbnail-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    padding: 5px;
    border-radius: 5px;
    z-index: 4;
}

.thumbnail-loading img {
    width: 20px;
    height: 20px;
}


.download-success {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 100, 0, 0.9);
    color: #00ff00;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 10px;
    font-weight: bold;
    z-index: 4;
    animation: fadeOut 2s ease forwards;
}

@keyframes fadeOut {
    0% { opacity: 1; }
    70% { opacity: 1; }
    100% { opacity: 0; }
}