@import url("https://webchnl.live/assets/font/gtstandard/load.css");
                
        :root {
        	--color-mono-50: rgb(250, 250, 250);
        	--color-mono-100: rgb(245, 245, 245);
        	--color-mono-200: rgb(229, 229, 229);
        	--color-mono-300: rgb(212, 212, 212);
        	--color-mono-400: rgb(161, 161, 161);
        	--color-mono-500: rgb(115, 115, 115);
        	--color-mono-600: rgb(82, 82, 82);
        	--color-mono-700: rgb(64, 64, 64);
        	--color-mono-800: rgb(38, 38, 38);
        	--color-mono-900: rgb(23, 23, 23);
        	--color-mono-950: rgb(12, 12, 12);
        	--color-mono-1000: rgb(5, 5, 5);
        }
        
        :root {
            --color-red-50: rgb(254, 230, 233);
            --color-red-100: rgb(254, 205, 212);
            --color-red-200: rgb(252, 151, 165);
            --color-red-300: rgb(250, 101, 121);
            --color-red-400: rgb(249, 48, 74);
            --color-red-500: rgb(238, 8, 38);
            --color-red-600: rgb(188, 7, 30);
            --color-red-700: rgb(144, 4, 23);
            --color-red-800: rgb(94, 4, 15);
            --color-red-900: rgb(50, 1, 8);
            --color-red-950: rgb(25, 1, 4);
            --color-red-1000: rgb(11, 0, 2);
        }
        
        :root {
            --padding: 24px;
            --radius: 12px;
            --transition: 0.1s;
        }
        
        * {
            font-family: "GT Standard", sans-serif;
            font-style: normal;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'GT Standard', sans-serif;
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            width: 100vw;
            height: 100dvh;
            color: var(--color-mono-50);
            background-color: var(--color-mono-1000);
            font-variation-settings: "slnt" 0;
            overflow: hidden;
        }

        
        .content {
            display: flex;
            flex-direction: column;
            box-sizing: inherit;
            width: 100%;
            height: 100%;
        }
        
        header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 72px;
            flex-shrink: 0;
            padding-inline: 32px;
            user-select:none;
        }
        
        header img {
            height: 30px;
            
        }
        
        .logo {
            font-weight: 600;
            color: #fff;
            font-size:30px;
        }
        
        .subtitle {
            color: #888;
            font-size: 0.95em;
            font-variation-settings: 'wght' 400, 'slnt' 0;;
            transition: all 0.3s cubic-bezier(1,.02,0,1);
        }
        
        .subtitle:hover{
            font-variation-settings: 'wght' 1000, 'slnt' 6;
            color: #aaa;
            font-size: 1em;
            transition: all 0.3s cubic-bezier(0,.33,0,1);
        }
        .main {
            display: flex;
            flex-direction: column;
            overflow-x: hidden;
            gap: 16px;
            width: 100%;
            height: 100%;
            padding-inline: 32px;
            padding-bottom: 32px;
        }
        
        .main-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            margin-bottom: 10px;
        }
        
        @media (max-width: 968px) {
            .main-grid {
                grid-template-columns: 1fr;
            }
        }
        
        .panel {
            background: #151515;
            border: 1px solid #222;
            border-radius: 8px;
            padding: 25px;
        }
        
        .panel h2 {
            font-size: 1.4em;
            margin-bottom: 20px;
            color: #fff;
            font-weight: 500;
        }
        
        .form-group {
            margin-bottom: 18px;
        }
        
        label {
            display: block;
            margin-bottom: 8px;
            color: #aaa;
            font-size: 0.9em;
        }
        
        input, textarea, select {
            width: 100%;
            padding: 12px;
            background: #0a0a0a;
            border: 1px solid #333;
            border-radius: 6px;
            color: #e0e0e0;
            font-family: 'GT Standard', sans-serif;
            font-size: 0.95em;
            transition: border-color 0.2s;
        }
        
        input:focus, textarea:focus, select:focus {
            outline: none;
            border-color: rgb(238, 7, 38);
        }
        
        textarea {
            resize: vertical;
            min-height: 80px;
        }
        
        button {
            border: solid;
            border-radius: 8px;
            border-color: rgba(247, 248, 252, 0.075);
            border-width: 2px;
            padding: 8px;
            background: rgb(238, 7, 38);
            color: white;
            font-weight: 700;
            transition: 0.1;
            cursor: pointer;
            user-select: none; 
            transition: background 0.2s;
        }
        
        button:hover {
            background: rgb(151, 5, 25);
        }
        
        button.secondary {
            background: #222;
            margin-left: 10px;
        }
        
        button.secondary:hover {
            background: #333;
        }
        
        button.danger {
            background: #d63031;
        }
        
        button.danger:hover {
            background: #c62828;
        }

        button.edit {
            background: #f39c12;
        }
        
        button.edit:hover {
            background: #e67e22;
        }
        
        .search-results {
            margin-top: 15px;
            max-height: 300px;
            overflow-y: auto;
        }
        
        .search-result-item {
            background: #0a0a0a;
            border: 1px solid #333;
            border-radius: 6px;
            padding: 12px;
            margin-bottom: 10px;
            cursor: pointer;
            transition: border-color 0.2s;
        }
        
        .search-result-item:hover {
            border-color: rgb(238, 7, 38);
        }
        
        .search-result-item h4 {
            color: #fff;
            margin-bottom: 5px;
        }
        
        .search-result-item p {
            color: #888;
            font-size: 0.85em;
        }
        
        .program-list {
            margin-top: 20px;
        }
        
        .program-item {
            background: #0a0a0a;
            border: 1px solid #333;
            border-radius: 6px;
            padding: 15px;
            margin-bottom: 12px;
            display: flex;
            justify-content: space-between;
            align-items: start;
        }
        
        .program-info h4 {
            color: #fff;
            margin-bottom: 5px;
        }
        
        .program-info p {
            color: #888;
            font-size: 0.85em;
            margin: 3px 0;
        }
        
        .program-actions {
            display: flex;
            gap: 8px;
        }
        
        .program-actions button {
            padding: 8px 12px;
            font-size: 0.85em;
        }
        
        .export-section {
            text-align: center;
            padding: 30px;
        }
        
        .export-section button {
            padding: 15px 30px;
            font-size: 1.1em;
        }
        
        .tabs {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
            border-bottom: 1px solid #222;
        }
        
        .tab {
            padding: 10px 20px;
            background: transparent;
            border: none;
            color: #888;
            cursor: pointer;
            border: 2px solid transparent;
            transition: all 0.2s;
            font-family: 'GT Standard', sans-serif;
        }
        
        .tab.active {
            color: rgb(238, 7, 38);
            border-color: rgb(238, 7, 38);
        }
        
        .tab-content {
            display: none;
        }
        
        .tab-content.active {
            display: block;
        }
        
        .loading {
            text-align: center;
            color: #888;
            padding: 20px;
        }
        
        ::-webkit-scrollbar {
            width: 8px;
        }
        
        ::-webkit-scrollbar-track {
            background: #0a0a0a;
        }
        
        ::-webkit-scrollbar-thumb {
            background: #333;
            border-radius: 4px;
        }
        
        ::-webkit-scrollbar-thumb:hover {
            background: #444;
        }
        
        .channel-info {
            margin-bottom: 10px;
        }
        
        .grid-2 {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
        }
        
        footer {
            display: flex;
            flex-direction: column;
            color: var(--color-mono-400);
            gap: 12px
        }
        
        footer a {
            color: var(--color-mono-400);
            font-weight: 700;
            text-decoration: none;
            transition: all 0.3s cubic-bezier(0,.33,0,1);
        }
                
        footer a:hover {
            color: rgb(238, 7, 38);
        }
        
        ::selection,
        ::-moz-selection {
            color: var(--color-mono-50);
            background: var(--color-red-500);
        }
        
        ::-webkit-scrollbar {
            width: 4px;
            height: 4px;
        }
        
        ::-webkit-scrollbar-track {
            background: transparent;
        }
        
        ::-webkit-scrollbar-thumb {
            background: var(--color-red-500);
        }
        
        @supports (-moz-appearance: none) {
            * {
                scrollbar-width: thin;
                scrollbar-color: var(--color-red-500);
            }
        }

        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            z-index: 1000;
            align-items: center;
            justify-content: center;
        }

        .modal.active {
            display: flex;
        }

        .modal-content {
            background: #151515;
            border: 1px solid #222;
            border-radius: 8px;
            padding: 25px;
            max-width: 600px;
            width: 90%;
            max-height: 90vh;
            overflow-y: auto;
        }

        .modal-content h2 {
            margin-top: 0;
        }