
        body {
            margin: 0;
            padding: 20px;
            display: flex;
            flex-direction: column;
            font-family: Arial, sans-serif;
            background-color: #1a1a1a;
            min-height: 100vh;
            color: white;
        }
        footer {
            text-align: center;
            padding: 20px;
            background-color: #1a1a1a; 
            color: #ccc; 
            font-size: 0.9em;
            border-top: 1px solid #333; 
            margin-top: auto; 
        }

        footer p {
            margin: 0;
        }

        @media (max-width: 900px) {
            footer {
                padding: 15px;
                font-size: 0.8em;
            }
        }
        .standings-container select {
            margin-bottom: 0 !important;
        }
        .iframe-scroll-wrapper {
            width: 320px;
            height: 480px;
            overflow: auto;
            border-radius: 13px;
            box-shadow: 0 4px 16px rgba(0,0,0,0.25);
            background: #23272f;
            position: relative;
        }
        .iframe-scroll-wrapper iframe {
            width: 100%;
            height: 100%;
            border-radius: 12px;
            background: #23272f;
        }
        .iframe-scroll-wrapper::-webkit-scrollbar {
            width: 0 !important;
            display: none !important;
        }
        
        .iframe-scroll-wrapper::-webkit-scrollbar-track {
            background: #23272f;
            border-radius: 8px;
        }
        .iframe-scroll-wrapper {
            scrollbar-width: none !important;
            scrollbar-color: transparent transparent !important;
        }
        
        
        .controls-container {
            display: flex;
            flex-direction: column;
            gap: 15px;
            margin-bottom: 20px;
        }
        
        .settings-container {
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
        }
        
        .tab-container {
            width: 100%;
            margin-top: 10px;
        }
        
        .tab-buttons {
            display: flex;
            margin-bottom: 10px;
            width: 100%; 
        }
        
        .tab-button {
            flex: 1;
            padding: 8px 12px;
            background-color: #333;
            color: white;
            border: none;
            cursor: pointer;
            border-radius: 5px;
            margin-right: 5px;
            outline: none;
            text-align: center;
        }
        .tab-button:nth-last-child(2) {
            margin-right: 10px; 
        }
        .tab-button:last-child {
            margin-right: 0;
        }
        
        .tab-button.active {
            background-color: #2196F3;
            color: white;
            box-shadow: 0 0 5px #2196F3;
        }
        
        
        
        .tab-pane {
            display: none;
        }
        
        .tab-pane.active {
            display: block;
        }

        .main-container {
            display: flex;
            width: 100%;
            gap: 20px; 
            align-items: flex-start; 
        }
        .player-container {
            flex: 3; 
            display: flex; 
            flex-direction: column; 
        }
        .tab-content {  
            flex: 1;
            min-width: 320px; 
            max-width: 320px; 
            display: flex;
            flex-direction: column;
            background-color: #2a2a2a; 
            border-radius: 12px;
            padding-bottom: 10px;
            padding-left: 15px;
            padding-right: 7px; 
        }
        .channels-container {
            width: 100%;
            background: #2a2a2a;
            border-radius: 0 0 12px 12px;
            padding: 0; 
            display: flex;
            flex-direction: column;
            gap: 15px;
            height: calc(52.25vw * 0.7); 
            max-height: 600px; 
            
        }
        .channel-list {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 10px;
            overflow-y: auto;
            overflow-x: hidden;
            scrollbar-width: thin;
            scrollbar-color: #666 #2a2a2a;
        }
        .channel-list::-webkit-scrollbar {
            width: 8px;
        }
        .channel-list::-webkit-scrollbar-track {
            background: #2a2a2a;
        }
        .channel-list::-webkit-scrollbar-thumb {
            background-color: #666;
            border-radius: 4px;
        }
        .channel-item {
            padding: 10px;
            background-color: #333;
            border-radius: 5px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .channel-item:hover {
            background-color: #444;
            transform: translateX(5px);
        }
        .channel-item.active {
            background-color: #2196F3;
        }
        .channel-item.favorite {
            border: 2px solid #FFD700;
        }
        .favorite-button {
            font-size: 1.7em;
        }
        .channel-logo {
            width: 40px;
            height: 40px;
            border-radius: 5px;
            object-fit: contain;
        }
        #player {
            width: 100%;
            aspect-ratio: 16/9;
            background-color: #000;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
        }
        #videojs-player {
            width: 100%;
            aspect-ratio: 16/9;
            background-color: #000;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
            display: none;
        }
        .search-container {
            display: flex;
            gap: 10px;
            margin-bottom: 10px;
        }
        #countrySelect {
            width: 30%;
            padding: 10px;
            border: 2px solid #2196F3;
            border-radius: 5px;
            background-color: #333;
            color: white;
            box-sizing: border-box;
        }
        #channelSearch {
            flex: 1;
            padding: 10px;
            border: 2px solid #2196F3;
            border-radius: 5px;
            background-color: #333;
            color: white;
            box-sizing: border-box;
        }
        #channelSearch:focus {
            outline: none;
            border-color: #64b5f6;
        }
        
        
        .proxy-switch {
            position: relative;
            display: inline-block;
            width: 50px;
            height: 28px;
            margin-left: 10px;
        }
        
        .proxy-switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }
        
        .slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #ccc;
            transition: .4s;
            border-radius: 34px;
        }
        
        .slider:before {
            position: absolute;
            content: "";
            height: 20px;
            width: 20px;
            left: 4px;
            bottom: 4px;
            background-color: white;
            transition: .4s;
            border-radius: 50%;
        }
        
        input:checked + .slider {
            background-color: #2196F3;
        }
        
        input:checked + .slider:before {
            transform: translateX(22px);
        }
        
        .proxy-container {
            display: flex;
            align-items: center;
            margin-top: 10px;
            margin-bottom: 15px;
            background-color: #333;
            padding: 8px 15px;
            border-radius: 8px;
            width: fit-content;
        }
        
        .proxy-container span {
            font-size: 14px;
            color: white;
        }
        .proxy-switch {
            position: relative;
            display: inline-block;
            width: 60px;
            height: 34px;
            margin-left: 10px;
        }
        
        .standings-selects {
            margin-bottom: 10px;
            display: flex;
            gap: 10px;
            align-items: center;
            width: 100%; 
        }
        
        #viewSelect, #leagueSelect {
            padding: 8px;
            border: 2px solid #2196F3;
            border-radius: 5px;
            background-color: #333;
            color: white;
            width: 48%;
            font-size: 14px;
        }
        
        .proxy-switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }
        
        .slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #ccc;
            transition: .4s;
            border-radius: 34px;
        }
        
        .slider:before {
            position: absolute;
            content: "";
            height: 26px;
            width: 26px;
            left: 4px;
            bottom: 4px;
            background-color: white;
            transition: .4s;
            border-radius: 50%;
        }
        
        input:checked + .slider {
            background-color: #2196F3;
        }
        
        input:checked + .slider:before {
            transform: translateX(26px);
        }
        
        .proxy-text {
            position: absolute;
            right: -40px;
            top: 8px;
            color: white;
        }

        
        .player-select-container {
            display: flex;
            align-items: center;
            margin-top: 10px;
            margin-bottom: 15px;
            background-color: #333;
            padding: 8px 15px;
            border-radius: 8px;
            width: fit-content;
            margin-left: 15px;
        }
        
        .player-select-container span {
            font-size: 14px;
            color: white;
        }

        .date-selector {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 15px;
            background-color: #333;
            border-radius: 8px;
            padding: 10px;
        }

        .day-dropdown {
            flex: 1;
            padding: 8px 12px;
            background-color: #444;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: all 0.3s ease;
            margin: 0 10px;
            outline: none;
        }

        .day-dropdown:focus {
            box-shadow: 0 0 0 2px #2196F3;
        }

        #prevDay, #nextDay {
            background-color: #2196F3;
            color: white;
            border: none;
            border-radius: 5px;
            padding: 8px 12px;
            cursor: pointer;
            font-weight: bold;
        }

        .broadcasts-table {
            width: 100%;
            margin-top: 10px;
            color: white;
            border-radius: 8px;
            max-height: 500px;
            overflow-y: auto;
            display: block;
            padding-right: 5px;
        }

        .broadcasts-table::-webkit-scrollbar {
            width: 8px;
        }

        .broadcasts-table::-webkit-scrollbar-thumb {
            background-color: #2196F3;
            border-radius: 4px;
        }

        .broadcasts-table::-webkit-scrollbar-track {
            background-color: #333;
        }

        .broadcasts-table table {
            width: 100%;
            border-collapse: collapse;
        }

        .broadcasts-table th {
            background-color: #2196F3;
            padding: 10px;
            text-align: left;
            font-weight: bold;
        }

        .broadcasts-table td {
            padding: 10px;
            border-bottom: 1px solid #444;
        }

        .broadcasts-table tr:nth-child(even) {
            background-color: #333;
        }

        .broadcasts-table tr:nth-child(odd) {
            background-color: #3a3a3a;
        }

        .broadcasts-table tr:hover {
            background-color: #444;
        }

        .live-badge {
            background-color: #f44336;
            color: white;
            padding: 3px 6px;
            border-radius: 3px;
            font-size: 12px;
            font-weight: bold;
        }

        @media (max-width: 900px) {
            body {
                padding: 10px;
            }
            .main-container {
                flex-direction: column;
                gap: 10px;
            }
            .player-container, .tab-content {
                flex: none;
                width: 100%;
                max-width: 100%;
                min-width: auto;
            }
            .tab-content {
                margin-top: 10px;
                padding: 10px;
            }
            .channels-container {
                width: 100%; 
                max-height: 60vh; 
                height: 60vh; 
                margin-top: 0; 
                padding: 0; 
                box-sizing: border-box; 
            }
            .channel-list {
                display: flex;
                flex-direction: column;
                overflow-x: hidden;
            }
            .channel-item {
                width: auto;
                min-width: unset;
            }
            .settings-container {
                flex-direction: row;
                justify-content: center;
                align-items: center;
                gap: 20px;
            }
            .proxy-container, .player-select-container {
                margin: 10px 0;
                padding: 6px 12px;
                width: auto;
                flex: 1;
                justify-content: center;
            }
            .proxy-switch {
                width: 40px;
                height: 24px;
            }
            .slider:before {
                height: 16px;
                width: 16px;
            }
            input:checked + .slider:before {
                transform: translateX(16px);
            }
            .proxy-container span, .player-select-container span {
                font-size: 12px;
            }
            .search-container {
                flex-direction: column;
                gap: 5px;
            }
            #countrySelect, #yearSelect, #channelSearch {
                width: 100% !important;
                margin-left: 0 !important;
            }
            .tab-buttons {
                flex-wrap: wrap;
            }
            .tab-button {
                flex: 1;
                min-width: 120px;
                text-align: center;
                padding: 8px 10px;
                font-size: 14px;
            }
            .standings-selects {
                flex-direction: column;
                gap: 5px;
            }
            #viewSelect, #leagueSelect {
                width: 100%;
            }
            .date-selector {
                flex-direction: column;
                gap: 10px;
            }
            
            .date-buttons {
                width: 100%;
                justify-content: flex-start;
            }
            
            #prevDay, #nextDay {
                width: 100%;
            }
            
            .broadcasts-table th, .broadcasts-table td {
                padding: 8px 5px;
                font-size: 14px;
            }
        }
        
        
        
        
        
        

        body.loading-active {
            overflow: hidden;
        }
    