:root {
            --bg-main: #091825;
            --bg-surface: rgba(10, 24, 42, 0.7);
            --bg-glass: rgba(12, 28, 48, 0.6);
            --primary-accent: #92d955;
            --primary-accent-dark: #58a83b;
            --primary-accent-light: #b9e871;
            --primary-glow: rgba(146, 217, 85, 0.4);
            --gradient-primary: linear-gradient(135deg, #92d955 0%, #58a83b 50%, #379030 100%);
            --gradient-card: linear-gradient(135deg, rgba(146, 217, 85, 0.1) 0%, rgba(88, 168, 59, 0.08) 100%);
            --gradient-shine: linear-gradient(135deg, #b9e871 0%, #92d955 50%, #58a83b 100%);
            --text-light: #f0f0f0;
            --text-muted: #a0a0a0;
            --border-color: rgba(255, 255, 255, 0.08);
            --border-glow: rgba(146, 217, 85, 0.4);
            --font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
            --font-display: 'Outfit', sans-serif;
            --border-radius: 16px;
            --glass-blur: blur(20px);
            --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            overflow-x: hidden;
            scroll-behavior: smooth;
        }

        body {
            font-family: var(--font-family);
            background-color: var(--bg-main);
            background-image: none;
            background-size: cover;
            background-position: center center;
            background-attachment: fixed;
            background-repeat: no-repeat;
            color: var(--text-light);
            display: flex;
            flex-direction: column;
            align-items: center;
            min-height: 100vh;
            padding-bottom: 120px;
            overflow-x: hidden;
            width: 100%;
            max-width: 100vw;
            position: relative;
        }

        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(9, 24, 37, 0);
            z-index: -1;
        }

        .background-link {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
            pointer-events: none;
        }

        .background-link a {
            display: block;
            width: 100%;
            height: 100%;
            pointer-events: auto;
        }

        a {
            color: inherit;
            text-decoration: none;
        }

        .content-container {
            width: 100%;
            max-width: 1100px;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 1rem;
            margin: 0 auto;
            position: relative;
            z-index: 10;
            overflow-x: hidden;
        }

        /* --- MOBİL ÜST BANNER --- */
        .mobile-top-banner {
            display: none;
            width: 100%;
            margin: 0;
            padding: 0;
            position: relative;
            z-index: 10;
        }

        .mobile-top-banner img {
            width: 100%;
            height: auto;
            display: block;
        }

        @media (max-width: 768px) {
            .mobile-top-banner {
                display: block;
            }
        }

        /* --- ÜST BAR (MODERN GLASS) --- */
        .topmost-bar {
            background: var(--bg-glass);
            backdrop-filter: var(--glass-blur);
            -webkit-backdrop-filter: var(--glass-blur);
            color: #fff;
            padding: 0.5rem 1rem;
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
            max-width: 1100px;
            margin: 0 auto;
            font-size: 0.8rem;
            position: relative;
            min-height: 40px;
            z-index: 10;
            border-bottom: 1px solid rgba(146, 217, 85, 0.2);
        }

        .topmost-bar-text {
            font-family: var(--font-display);
            font-weight: 600;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            padding: 0;
            text-align: center;
            min-width: 0;
            letter-spacing: 0.3px;
            color: rgba(255, 255, 255, 0.9);
            font-size: 0.75rem;
        }

        @media (max-width: 768px) {
            .topmost-bar {
                padding: 0.5rem 0.8rem;
                font-size: 0.7rem;
                min-height: auto;
            }

            .topmost-bar-text {
                white-space: normal;
                font-size: 0.7rem;
                line-height: 1.4;
            }

        }

        @media (max-width: 480px) {
            .topmost-bar {
                padding: 0.5rem 0.5rem;
                font-size: 0.65rem;
            }

            .topmost-bar-text {
                font-size: 0.65rem;
                white-space: normal;
            }
        }

        @media (max-width: 360px) {
            .topmost-bar {
                padding: 0.4rem 0.4rem;
                font-size: 0.6rem;
            }

            .topmost-bar-text {
                font-size: 0.6rem;
            }
        }

        .social-links {
            display: flex;
            align-items: center;
            gap: 0.3rem;
            flex-shrink: 0;
        }

        .social-link {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 26px;
            height: 26px;
            border-radius: 5px;
            font-size: 0.85rem;
            transition: transform 0.2s, opacity 0.2s;
            opacity: 0.7;
        }

        .social-link:hover {
            transform: scale(1.15);
            opacity: 1;
        }

        .social-link.instagram {
            color: #E4405F;
        }

        .social-link.telegram {
            color: #0088cc;
        }

        .social-link.youtube {
            color: #FF0000;
        }

        @keyframes bounce {
            from {
                transform: translateY(0);
            }

            to {
                transform: translateY(-3px);
            }
        }

        .fa-beat-fade {
            animation-duration: 2s;
        }

        @media (max-width: 900px) {

            .social-links {
                flex-shrink: 0;
                order: 2;
                gap: 0.25rem;
            }

            .social-link {
                width: 24px;
                height: 24px;
                font-size: 0.8rem;
            }
        }

        @media (max-width: 480px) {

            .social-link {
                width: 22px;
                height: 22px;
                font-size: 0.75rem;
            }
        }

        /* --- BANNERS --- */
        .top-banner-header {
            width: 100%;
            max-width: 1100px;
            margin: 1.5rem 0;
        }

        .banner-container {
            max-width: 728px;
            width: 100%;
            margin: 0 auto;
        }

        .banner-container img {
            width: 100%;
            height: auto;
            display: block;
            border-radius: var(--border-radius);
        }

        /* --- DUAL BANNER WRAPPER --- */
        .dual-banner-wrapper {
            display: flex;
            gap: 1rem;
            justify-content: center;
            align-items: center;
            width: 100%;
            max-width: 1100px;
        }

        .dual-banner-wrapper .banner-item {
            flex: 1;
            max-width: 540px;
        }

        .dual-banner-wrapper .banner-item img {
            width: 100%;
            height: auto;
            display: block;
            border-radius: var(--border-radius);
        }

        @media (max-width: 992px) {
            .dual-banner-wrapper {
                flex-direction: column;
                gap: 0.5rem;
            }
            
            .dual-banner-wrapper .banner-item {
                max-width: 728px;
                width: 100%;
            }
        }

        .banner-468 {
            margin-top: 0;
        }

        .hellobar {
            background: var(--bg-glass);
            backdrop-filter: var(--glass-blur);
            -webkit-backdrop-filter: var(--glass-blur);
            color: #fff;
            text-align: center;
            padding: 1rem 1.5rem;
            font-family: var(--font-display);
            font-weight: 700;
            font-size: 0.9rem;
            line-height: 1.5;
            max-width: 1100px;
            width: 100%;
            margin: 1.5rem 0;
            border-radius: var(--border-radius);
            border: 1px solid rgba(146, 217, 85, 0.2);
            box-shadow:
                0 8px 32px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
            position: relative;
            overflow: visible;
        }

        .hellobar::before {
            content: '';
            position: absolute;
            inset: 0;
            background: var(--gradient-primary);
            border-radius: inherit;
            opacity: 0.1;
            pointer-events: none;
        }

        .hellobar.player-promo {
            margin-top: 0;
            margin-bottom: 1.5rem;
            max-width: 728px;
            width: 100%;
            white-space: nowrap;
            padding: 0.7rem 1rem;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .hellobar.player-promo a {
            display: block;
            white-space: nowrap;
            line-height: 1.3;
            font-size: 0.72rem;
            letter-spacing: 0.3px;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        /* --- MAIN CONTENT --- */
        .content-wrapper {
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100%;
            max-width: 1100px;
            gap: 1.5rem;
        }

        main {
            width: 100%;
            max-width: 728px;
            position: relative;
        }

        .cinema-mode-toggle {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            padding: 0.35rem 0.9rem;
            background: rgba(146, 217, 85, 0.15);
            border: 1px solid rgba(146, 217, 85, 0.4);
            border-radius: 6px;
            color: #92d955;
            font-size: 0.7rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            user-select: none;
            white-space: nowrap;
            margin: 0;
        }

        .cinema-mode-toggle:hover {
            background: rgba(146, 217, 85, 0.2);
            border-color: rgba(146, 217, 85, 0.5);
        }

        .cinema-mode-toggle.active {
            background: rgba(146, 217, 85, 0.25);
            border-color: #92d955;
            color: #fff;
        }

        .cinema-mode-toggle svg {
            width: 18px;
            height: 18px;
            fill: currentColor;
        }

        /* Sinema modunda kanal listesi görünür kalır. */

        /* Sinema modunda sadece bannerları ve gereksiz reklamları gizle */
        body.cinema-mode .hellobar,
        body.cinema-mode .banner-container-std,
        body.cinema-mode .top-banner-header {
            display: none !important;
        }

        /* Sinema modunda sidebar'ı gizle - video büyüsün */
        body.cinema-mode aside.channel-list {
            display: none !important;
        }

        /* Sinema modunda content-wrapper tam genişlik */
        body.cinema-mode .content-wrapper {
            max-width: 100% !important;
            width: 100% !important;
            flex-direction: column !important;
            align-items: center !important;
            padding: 0 !important;
            margin: 0 !important;
        }

        /* Sinema modunda main tam genişlik */
        body.cinema-mode main {
            max-width: 100% !important;
            width: 100% !important;
            margin: 0 !important;
            padding: 0 1rem !important;
        }

        /* Sinema modunda video player büyüsün */
        body.cinema-mode .player-wrapper {
            border-radius: 0 !important;
            box-shadow: none !important;
            border: none !important;
            max-width: 100% !important;
            width: 100% !important;
            margin: 0 !important;
        }

        /* Sinema modunda player-info container'ı da genişlet */
        body.cinema-mode .player-info-container {
            max-width: 100% !important;
            width: 100% !important;
            padding: 0 1rem !important;
        }

        @media (max-width: 768px) {
            .player-info-container {
                gap: 0.5rem;
            }

            .cinema-mode-toggle {
                font-size: 0.65rem;
                padding: 0.3rem 0.7rem;
                gap: 4px;
            }

            .cinema-mode-toggle svg {
                width: 14px;
                height: 14px;
            }
        }

        .player-wrapper {
            position: relative;
            width: 100%;
            aspect-ratio: 16 / 9;
            background: linear-gradient(135deg, rgba(9, 24, 37, 0.95) 0%, rgba(12, 30, 50, 0.95) 100%);
            border-radius: var(--border-radius);
            overflow: visible;
            box-shadow:
                0 25px 50px -12px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(255, 255, 255, 0.05),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.08);
            transition: var(--transition-smooth);
        }

        .player-wrapper::before {
            content: '';
            position: absolute;
            inset: -2px;
            background: var(--gradient-primary);
            border-radius: calc(var(--border-radius) + 2px);
            opacity: 0;
            z-index: -1;
            transition: opacity 0.4s ease;
        }

        .player-wrapper:hover::before {
            opacity: 0.3;
        }

        .player-wrapper:hover {
            transform: translateY(-4px);
            box-shadow:
                0 35px 60px -15px rgba(0, 0, 0, 0.6),
                0 0 40px rgba(146, 217, 85, 0.15);
        }

        iframe#player {
            width: 100%;
            height: 100%;
            border: none;
            /* Mobil performans iyileştirmeleri */
            -webkit-transform: translateZ(0);
            transform: translateZ(0);
            -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
        }

        .player-info-container {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.75rem;
            margin: 1rem auto 0.8rem;
            width: calc(100% - 4rem);
            max-width: 700px;
            flex-wrap: wrap;
        }

        .player-info {
            position: relative;
            width: auto;
            max-width: 400px;
            margin: 0;
            background: var(--bg-glass);
            backdrop-filter: var(--glass-blur);
            -webkit-backdrop-filter: var(--glass-blur);
            color: #fff;
            padding: 0.5rem 1.2rem;
            border-radius: 30px;
            font-size: 0.75rem;
            font-weight: 700;
            text-align: center;
            box-shadow:
                0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.1);
            display: block;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            flex: 1;
            min-width: 0;
            transition: var(--transition-smooth);
        }

        .player-info:hover {
            border-color: var(--border-glow);
            box-shadow:
                0 8px 32px rgba(0, 0, 0, 0.3),
                0 0 20px rgba(146, 217, 85, 0.2);
        }

        .player-info-icon {
            display: inline-block;
            margin-right: 5px;
            font-size: 0.65rem;
            vertical-align: middle;
        }

        @media (max-width: 480px) {
            .player-info-container {
                width: calc(100% - 2rem);
                max-width: 100%;
                gap: 0.5rem;
                margin: 0.8rem auto 0.6rem;
            }

            .player-info {
                max-width: 350px;
                padding: 0.35rem 0.9rem;
                font-size: 0.7rem;
                border-radius: 22px;
            }

            .cinema-mode-toggle {
                font-size: 0.65rem;
                padding: 0.3rem 0.7rem;
            }

            .player-info-icon {
                font-size: 0.6rem;
                margin-right: 4px;
            }

            .hellobar.player-promo {
                margin-bottom: 1rem;
                padding: 0.6rem 0.8rem;
            }

            .hellobar.player-promo a {
                font-size: 0.6rem;
            }
        }

        aside.channel-list {
            width: 100%;
            max-width: 320px;
            background: var(--bg-glass);
            backdrop-filter: var(--glass-blur);
            -webkit-backdrop-filter: var(--glass-blur);
            border-radius: var(--border-radius);
            border: 1px solid rgba(255, 255, 255, 0.08);
            display: flex;
            flex-direction: column;
            box-shadow:
                0 25px 50px -12px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
            overflow: hidden;
        }

        #channelList {
            overflow-y: auto;
            max-height: 400px;
            flex-grow: 1;
            -webkit-overflow-scrolling: touch;
        }

        @media (max-width: 1023px) {
            .content-wrapper {
                flex-direction: column;
                gap: 1rem;
            }

            aside.channel-list {
                width: 100%;
                max-width: 100%;
                order: 2;
            }

            main {
                order: 1;
                width: 100%;
                max-width: 100%;
            }
        }


        /* --- LİSTE ELEMANI STİLLERİ (MODERN KART) --- */
        .channel-item {
            padding: 7px 10px;
            margin: 0;
            border-radius: 0;
            background: transparent;
            border: none;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            transition: var(--transition-smooth);
            cursor: pointer;
            display: block;
            position: relative;
            overflow: hidden;
        }

        .channel-item:hover {
            background: rgba(146, 217, 85, 0.1);
        }

        /* Çoklu ekran modunda checkbox ekle */
        .multi-screen-mode .channel-item {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            padding: 0.8rem;
            touch-action: manipulation;
            /* Mobilde daha iyi dokunma */
            -webkit-tap-highlight-color: rgba(146, 217, 85, 0.3);
        }

        .multi-screen-checkbox {
            width: 20px;
            height: 20px;
            border: 2px solid var(--border-color);
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            transition: all 0.2s;
        }

        .multi-screen-mode .channel-item.selected .multi-screen-checkbox {
            background-color: var(--primary-accent);
            border-color: var(--primary-accent);
        }

        .multi-screen-checkbox i {
            color: #fff;
            font-size: 0.7rem;
            display: none;
        }

        .multi-screen-mode .channel-item.selected .multi-screen-checkbox i {
            display: block;
        }

        .multi-screen-hint {
            position: fixed;
            bottom: 120px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(146, 217, 85, 0.9);
            color: #fff;
            padding: 0.8rem 1.5rem;
            border-radius: 8px;
            font-size: 0.85rem;
            font-weight: 600;
            z-index: 1000;
            display: none;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
            pointer-events: none;
        }

        .multi-screen-mode .multi-screen-hint {
            display: block;
        }

        .channel-item.active {
            background: rgba(146, 217, 85, 0.15);
            border-left: 3px solid var(--primary-accent);
        }

        .channel-item.active .channel-name-text,
        .channel-item.selected .channel-name-text {
            color: var(--primary-accent) !important;
        }

        .channel-ad-item {
            padding: 0;
            margin: 0;
            border-bottom: 1px solid var(--border-color);
            background-color: var(--bg-main);
            display: block;
            width: 100%;
        }

        .channel-ad-item img {
            width: 100%;
            height: auto;
            display: block;
        }

        @keyframes blinker {
            50% {
                opacity: 0;
            }
        }

        /* --- KANAL TASARIMI (KOMPAKT & BÜYÜK LOGO) --- */
        .channel-row {
            display: flex;
            flex: 1;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            height: 42px;
            /* SATIR YÜKSEKLİĞİ İDEAL SEVİYEYE ÇEKİLDİ */
            pointer-events: none;
        }

        .channel-left {
            display: flex;
            align-items: center;
            gap: 6px;
            flex: 1;
            overflow: hidden;
            min-width: 0;
            max-width: calc(100% - 140px);
        }

        .tv-icon-box {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 18px;
            height: 14px;
            border: 1.2px solid #aaa;
            border-radius: 3px;
            position: relative;
            flex-shrink: 0;
        }

        .tv-icon-box::after {
            content: '';
            width: 0;
            height: 0;
            border-top: 2px solid transparent;
            border-bottom: 2px solid transparent;
            border-left: 4px solid #aaa;
        }

        .tv-icon-box::before {
            content: '';
            position: absolute;
            bottom: -2px;
            width: 7px;
            height: 1.2px;
            background: #aaa;
        }

        .channel-name-text {
            font-size: 0.68rem;
            font-weight: 700;
            color: #eee;
            text-transform: uppercase;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            letter-spacing: 0.2px;
            flex: 1;
            min-width: 0;
        }

        .channel-right {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: 6px;
            flex-shrink: 0;
            min-width: 140px;
            width: 140px;
            position: relative;
        }

        .channel-live-badge {
            background: #92d955;
            color: #fff;
            font-size: 0.6rem;
            font-weight: 700;
            padding: 4px 10px;
            border-radius: 4px;
            text-transform: uppercase;
            margin: 0;
            flex-shrink: 0;
            white-space: nowrap;
            line-height: 1.2;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            animation: blinker 1.5s linear infinite;
            min-width: 45px;
            text-align: center;
        }

        .channel-logo-right {
            height: 45px;
            width: auto;
            max-width: 110px;
            object-fit: contain;
            filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.9)) brightness(1.15) contrast(1.1);
            flex-shrink: 0;
            opacity: 1;
        }

        .banner-container-std {
            max-width: 728px;
            width: 100%;
            margin: 0 auto;
        }

        .banner-container-std img {
            width: 100%;
            height: auto;
            display: block;
            border-radius: var(--border-radius);
        }

        .player-wrapper.multi-screen-active {
            display: grid;
            gap: 0.5rem;
            aspect-ratio: 16 / 9;
            width: 100%;
            max-width: 728px;
            min-height: 0;
            overflow: hidden;
        }

        /* 1 yayın: 1x1 */
        .player-wrapper.multi-screen-active.grid-1 {
            grid-template-columns: 1fr;
            grid-template-rows: 1fr;
        }

        /* 2 yayın: 1x2 (yan yana) */
        .player-wrapper.multi-screen-active.grid-2 {
            grid-template-columns: repeat(2, 1fr);
            grid-template-rows: 1fr;
        }

        /* 3 yayın: 2x2 grid (3 kutu, 1 boş) */
        .player-wrapper.multi-screen-active.grid-3 {
            grid-template-columns: repeat(2, 1fr);
            grid-template-rows: repeat(2, 1fr);
        }

        /* 4 yayın: 2x2 grid */
        .player-wrapper.multi-screen-active.grid-4 {
            grid-template-columns: repeat(2, 1fr);
            grid-template-rows: repeat(2, 1fr);
        }

        .player-wrapper.multi-screen-active iframe {
            width: 100%;
            height: 100%;
            border-radius: 8px;
        }

        .multi-screen-player-item {
            position: relative;
            width: 100%;
            height: 100%;
            background-color: var(--bg-main);
            border-radius: 8px;
            overflow: hidden;
            border: 1px solid var(--border-color);
            min-height: 0;
            min-width: 0;
        }

        .multi-screen-player-item iframe {
            width: 100%;
            height: 100%;
            border: none;
            display: block;
        }

        .multi-screen-player-info {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
            color: #fff;
            padding: 0.4rem;
            font-size: 0.65rem;
            font-weight: 600;
            text-align: center;
            z-index: 5;
            pointer-events: none;
        }

        .channel-item.selected {
            background: linear-gradient(90deg, rgba(146, 217, 85, 0.3), transparent);
            border-left-color: var(--primary-accent) !important;
        }

        .multi-screen-hint {
            padding: 0.5rem;
            background-color: rgba(146, 217, 85, 0.1);
            color: var(--primary-accent);
            font-size: 0.7rem;
            text-align: center;
            border-top: 1px solid var(--border-color);
            display: none;
        }

        .multi-screen-mode .multi-screen-hint {
            display: block;
        }

        /* --- ÇOKLU EKRAN MODAL --- */
        .multi-screen-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0, 0, 0, 0.95);
            z-index: 10000;
            overflow-y: auto;
            padding: 1rem;
        }

        .multi-screen-modal.active {
            display: block;
        }

        .multi-screen-modal-content {
            max-width: 600px;
            margin: 0 auto;
            background-color: var(--bg-surface);
            border-radius: var(--border-radius);
            padding: 1.5rem;
            border: 1px solid var(--border-color);
        }

        .multi-screen-modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
        }

        .multi-screen-modal-title {
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--text-light);
        }

        .multi-screen-modal-close {
            background: none;
            border: none;
            color: var(--text-muted);
            font-size: 1.5rem;
            cursor: pointer;
            padding: 0.5rem;
            line-height: 1;
            transition: color 0.2s;
        }

        .multi-screen-modal-close:hover {
            color: var(--text-light);
        }

        .multi-screen-modal-search {
            display: flex;
            gap: 0.5rem;
            margin-bottom: 1rem;
        }

        .multi-screen-modal-search input {
            flex: 1;
            padding: 0.7rem;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            background-color: var(--bg-main);
            color: var(--text-light);
            font-size: 0.9rem;
            outline: none;
        }

        .multi-screen-modal-search input:focus {
            border-color: var(--primary-accent);
        }

        .multi-screen-modal-search-btn {
            background-color: #92d955;
            color: #fff;
            border: none;
            padding: 0.7rem 1.5rem;
            border-radius: 6px;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            transition: background 0.2s;
        }

        .multi-screen-modal-search-btn:hover {
            background-color: #58a83b;
        }

        .multi-screen-modal-actions {
            display: flex;
            gap: 0.5rem;
            margin-bottom: 1rem;
        }

        .multi-screen-modal-btn {
            flex: 1;
            padding: 0.8rem;
            border: none;
            border-radius: 6px;
            font-weight: 600;
            font-size: 0.9rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            transition: all 0.2s;
        }

        .multi-screen-modal-btn.apply {
            background-color: #92d955;
            color: #fff;
        }

        .multi-screen-modal-btn.apply:hover {
            background-color: #58a83b;
        }

        .multi-screen-modal-btn.clear {
            background-color: #92d955;
            color: #fff;
        }

        .multi-screen-modal-btn.clear:hover {
            background-color: #58a83b;
        }

        .multi-screen-modal-instruction {
            background-color: rgba(146, 217, 85, 0.1);
            color: var(--text-light);
            padding: 0.8rem;
            border-radius: 6px;
            margin-bottom: 1rem;
            font-size: 0.85rem;
            line-height: 1.5;
        }

        .multi-screen-modal-list {
            max-height: 60vh;
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
        }

        .multi-screen-modal-item {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            padding: 0.8rem;
            margin-bottom: 0.5rem;
            background-color: var(--bg-main);
            border: 1px solid var(--border-color);
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.2s;
        }

        .multi-screen-modal-item:hover {
            background-color: rgba(255, 255, 255, 0.05);
            border-color: var(--primary-accent);
        }

        .multi-screen-modal-item.selected {
            background-color: rgba(146, 217, 85, 0.2);
            border-color: var(--primary-accent);
        }

        .multi-screen-modal-checkbox {
            width: 20px;
            height: 20px;
            border: 2px solid var(--border-color);
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            transition: all 0.2s;
        }

        .multi-screen-modal-item.selected .multi-screen-modal-checkbox {
            background-color: var(--primary-accent);
            border-color: var(--primary-accent);
        }

        .multi-screen-modal-checkbox i {
            color: #fff;
            font-size: 0.7rem;
            display: none;
        }

        .multi-screen-modal-item.selected .multi-screen-modal-checkbox i {
            display: block;
        }

        .multi-screen-modal-item-content {
            flex: 1;
            min-width: 0;
        }

        .multi-screen-modal-item-name {
            font-weight: 600;
            color: var(--text-light);
            margin-bottom: 0.2rem;
            font-size: 0.9rem;
        }

        .multi-screen-modal-item-time {
            font-size: 0.75rem;
            color: var(--text-muted);
        }

        .multi-screen-modal-item-live {
            background-color: #92d955;
            color: #fff;
            font-size: 0.65rem;
            font-weight: 800;
            padding: 2px 6px;
            border-radius: 3px;
            text-transform: uppercase;
            animation: blinker 1.5s linear infinite;
            margin-left: auto;
            flex-shrink: 0;
        }

        @media (max-width: 768px) {
            .multi-screen-modal {
                padding: 0.5rem;
            }

            .multi-screen-modal-content {
                padding: 1rem;
            }

            .multi-screen-modal-list {
                max-height: 50vh;
            }
        }

        @media (max-width: 768px) {

            /* Mobilde grid düzenleri */
            .player-wrapper.multi-screen-active.grid-1 {
                grid-template-columns: 1fr;
                grid-template-rows: 1fr;
            }

            /* Mobilde 2 ekran yan yana */
            .player-wrapper.multi-screen-active.grid-2 {
                grid-template-columns: repeat(2, 1fr);
                grid-template-rows: 1fr;
            }

            /* 3 ve 4 ekran için alt alta */
            .player-wrapper.multi-screen-active.grid-3,
            .player-wrapper.multi-screen-active.grid-4 {
                grid-template-columns: 1fr;
            }

            .player-wrapper.multi-screen-active.grid-3 {
                grid-template-rows: repeat(3, 1fr);
            }

            .player-wrapper.multi-screen-active.grid-4 {
                grid-template-rows: repeat(4, 1fr);
            }
        }

        footer {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background: transparent;
            padding-top: 0;
            border-top: none;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .footer-powered-by {
            color: rgba(255, 255, 255, 0.9);
            font-family: var(--font-display);
            font-size: 0.8rem;
            padding: 0.85rem 1rem;
            text-align: center;
            width: 100%;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            background: rgba(9, 24, 37, 0.95);
            backdrop-filter: var(--glass-blur);
            -webkit-backdrop-filter: var(--glass-blur);
        }

        .footer-powered-by a {
            color: var(--primary-accent);
            font-weight: 700;
            transition: opacity 0.3s ease;
        }

        .footer-powered-by a:hover {
            opacity: 0.8;
        }

        @media (max-width: 600px) {
            .footer-powered-by {
                font-size: 0.68rem;
                line-height: 1.25;
                padding: 0.45rem 0.65rem;
            }
        }

        @media(min-width: 1024px) {
            .content-wrapper {
                flex-direction: row;
                align-items: flex-start;
                justify-content: center;
            }

            aside.channel-list {
                max-height: calc((728px * 9 / 16) + 120px + 3rem);
            }

            #channelList {
                max-height: calc(100% - 120px);
            }
        }

        @media (max-width: 900px) {
            .content-container {
                padding: 0.75rem;
            }

            .top-banner-header {
                margin: 1rem 0;
            }

            .banner-container {
                margin: 0 auto;
            }

            .hellobar {
                margin: 1rem 0;
                padding: 0.6rem 0.8rem;
                font-size: 0.85rem;
            }

            .player-wrapper {
                margin-bottom: 1rem;
            }
        }

        @media (max-width: 480px) {
            .content-container {
                padding: 0.5rem;
            }

            .top-banner-header {
                margin: 0.75rem 0;
            }

            .hellobar {
                margin: 0.75rem 0;
                padding: 0.5rem 0.7rem;
                font-size: 0.8rem;
            }

            .banner-container-std {
                margin: 0.75rem auto 0;
            }
        }

        /* --- MOBİL OVERFLOW FİX --- */
        @media (max-width: 768px) {
            html, body {
                overflow-x: hidden !important;
                width: 100% !important;
                max-width: 100vw !important;
            }

            .player-wrapper:hover {
                transform: none;
            }

            .channel-item:hover {
                transform: none;
            }

            .hellobar.player-promo {
                white-space: normal;
                font-size: 0.65rem;
            }

            .hellobar.player-promo a {
                white-space: normal;
                font-size: 0.65rem;
                line-height: 1.4;
            }

            .content-wrapper {
                overflow-x: hidden;
                width: 100%;
                max-width: 100%;
            }

            main {
                overflow-x: hidden;
                width: 100%;
                max-width: 100%;
            }

            aside.channel-list {
                overflow-x: hidden;
                width: 100%;
                max-width: 100%;
            }
        }
    
[hidden] { display: none !important; }




.tabs-container,
.search-bar,
#multiScreenControls,
#multiScreenCount,
#scorePanel {
  --page-width: 1184px;
  --bg-inset: #101610;
  --bg-raised: #1c281b;
  --border-color: rgba(160, 176, 154, .18);
  --border-subtle: rgba(160, 176, 154, .09);
  --header-divider: #92d955;
  --interactive-hover: rgba(146, 217, 85, .055);
  --interactive-pressed: rgba(146, 217, 85, .095);
  --selection-bg: #22351c;
  --duration-fast: 180ms;
  --duration-normal: 260ms;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.tab-btn, .search-bar input, .multi-screen-action-btn { font-family: inherit; }
.tabs-container button:focus-visible,
.multi-screen-action-btn:focus-visible,
#scorePanel a:focus-visible,
#scorePanel summary:focus-visible {
  outline: 2px solid var(--primary-accent-light);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .tabs-container *,
.multi-screen-action-btn,
#scorePanel * {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
.tab-motion-indicator {
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary-accent);
  z-index: 2;
  pointer-events: none;
}
.tabs-container.has-motion .tab-btn.active::after {
  opacity: 0;
}
.tabs-container {
  position: relative;
  display: flex;
  gap: 4px;
  margin: 0 10px;
  padding: 5px;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  background: var(--bg-inset);
}
.tab-btn {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
  min-height: 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 24px 13px 13px;
  align-items: center;
  justify-items: center;
  align-content: center;
  gap: 0;
  padding: 8px 3px 12px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 650;
  line-height: 1.3;
  transition:
    color var(--duration-fast),
    background-color var(--duration-normal);
}
.tab-icon {
  font-size: 18px;
  width: auto;
  margin: 0;
}
.tab-btn .ms-line {
  display: inline;
}
.tab-btn > span:not(.ms-line) {
  grid-row: 2 / span 2;
  align-self: center;
}
.tab-btn.active {
  background: var(--selection-bg);
  color: var(--primary-accent-light);
}
.tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: calc(50% - 12px);
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary-accent);
}
.tab-btn:hover {
  color: var(--text-light);
  background-color: var(--bg-raised);
}
.search-bar {
  padding: 14px 14px 12px;
}
.search-bar input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--bg-inset);
  color: var(--text-light);
  font-size: 13px;
  line-height: 20px;
  transition:
    border-color var(--duration-fast),
    box-shadow var(--duration-normal);
}
.search-bar input::placeholder {
  color: var(--text-muted);
}
.search-bar input:focus {
  outline: none;
  border-color: var(--primary-accent);
  box-shadow: 0 0 0 3px rgba(146, 217, 85, 0.12);
}
.multi-screen-mode #normalSearchBar {
  display: none;
}
.multi-screen-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 2px 14px 14px;
}
.multi-screen-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--bg-inset);
  color: var(--text-light);
  font-size: 13px;
  font-weight: 650;
  line-height: 20px;
  transition:
    background-color var(--duration-normal),
    border-color var(--duration-fast),
    box-shadow var(--duration-normal);
}
.multi-screen-action-btn.apply {
  background: var(--primary-accent);
  border-color: var(--primary-accent);
  color: var(--bg-main);
}
.multi-screen-action-btn:hover {
  border-color: var(--primary-accent);
  background-color: var(--interactive-hover);
}
.multi-screen-action-btn.apply:hover {
  background-color: var(--primary-accent-light);
}
.multi-screen-instruction {
  margin: 0 14px 12px;
  padding: 11px 12px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--bg-inset);
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-muted);
}
.multi-screen-count {
  display: none;
  padding: 0 14px 12px;
  text-align: center;
  color: var(--text-muted);
  font-size: 11px;
}
.multi-screen-mode .multi-screen-count {
  display: block;
}

/* Connection help */
#scorePanel {
  max-height: 600px;
  overflow-y: auto;
  padding: 16px;
  scrollbar-width: thin;
}
.vpn-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.vpn-hero {
  padding: 0 0 16px;
  border-bottom: 1px solid var(--border-color);
}
.vpn-badge {
  color: var(--primary-accent);
  font-size: 10px;
  font-weight: 700;
}
.vpn-hero h3 {
  font-size: 18px;
  line-height: 1.3;
  margin: 12px 0 8px;
  letter-spacing: -0.3px;
}
.vpn-hero p,
.vpn-card p,
.vpn-step p,
.vpn-faq p {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.7;
  margin: 6px 0 0;
}
.vpn-cta {
  margin-top: 16px;
}
.vpn-cta-main {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  background: var(--primary-accent);
  color: var(--bg-main);
  border-radius: 6px;
  font-weight: 750;
  font-size: 12px;
}
.vpn-cta-note {
  text-align: center;
  margin-top: 7px;
  color: var(--text-muted);
  font-size: 10px;
}
.vpn-section-title {
  font-size: 10px;
  letter-spacing: 0.8px;
  font-weight: 750;
  text-transform: uppercase;
}
.vpn-platforms,
.vpn-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.vpn-dl-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 10px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background: var(--bg-inset);
}
.vpn-dl-btn > i {
  font-size: 18px;
  color: var(--primary-accent);
}
.vpn-dl-btn strong,
.vpn-dl-btn em {
  display: block;
  font-size: 10px;
  font-style: normal;
}
.vpn-dl-btn em {
  color: var(--text-muted);
  font-size: 9px;
  margin-top: 3px;
}
.vpn-dl-btn:hover,
.vpn-dl-btn.recommended {
  border-color: var(--primary-accent);
}
.vpn-card {
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
}
.vpn-card h4 {
  margin: 0;
  font-size: 11px;
}
.vpn-card h4 i {
  color: var(--primary-accent);
  margin-right: 4px;
}
.vpn-card p {
  font-size: 11px;
}
.vpn-steps {
  display: grid;
  gap: 10px;
  counter-reset: step;
}
.vpn-step {
  position: relative;
  padding-left: 28px;
  counter-increment: step;
}
.vpn-step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 7px;
  left: 0;
  color: var(--primary-accent);
  font-size: 10px;
  font-weight: 700;
}
.vpn-step p {
  margin-top: 0;
}
.vpn-step strong {
  color: var(--text-light);
}
.vpn-tips {
  padding: 12px;
  background: var(--bg-inset);
  border-radius: 6px;
}
.vpn-tips h4 {
  font-size: 12px;
  margin: 0;
}
.vpn-tips ul {
  padding-left: 17px;
  margin-bottom: 0;
}
.vpn-tips li {
  font-size: 11px;
  color: var(--text-muted);
  margin: 6px 0;
}
.vpn-faq details {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}
.vpn-faq summary {
  cursor: pointer;
  font-size: 12px;
  font-weight: 650;
}
@media (max-width: 768px) {
  .tab-btn {
    min-height: 64px;
    font-size: 11px;
  }}
@media (max-width: 380px) {
  .tab-btn {
    font-size: 10px;
  }}

/* Header */

.site-header {
    width: 100%; background: var(--bg-glass);
    backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
    padding: .6rem 1.2rem; display: flex; flex-wrap: wrap;
    justify-content: space-between; align-items: center;
    position: sticky; top: 0; z-index: 100;
    border-bottom: 1px solid var(--border-color);
    max-width: 1100px; margin: 0 auto; gap: 1rem;
    box-shadow: 0 8px 32px rgba(0,0,0,.3);
}
.site-header .logo { flex-shrink: 0; transition: var(--transition-smooth); display: flex; align-items: center; }
.site-header .logo:hover { transform: scale(1.02); }
.site-header .logo img { height: 40px; width: auto; object-fit: contain; }
.header-nav { display: flex; align-items: center; gap: 5px; flex-grow: 1; justify-content: center; }
.nav-item {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: .6rem .9rem; color: rgba(255,255,255,.85); font-size: .8rem; font-weight: 600;
    border-radius: 12px; transition: var(--transition-smooth); text-align: center;
    min-width: 80px; position: relative; overflow: hidden; background: transparent;
    border: 1px solid transparent;
}
.nav-item::before { content: ''; position: absolute; inset: 0; background: var(--gradient-primary); opacity: 0; transition: opacity .3s ease; border-radius: 12px; }
.nav-item:hover { border-color: var(--border-glow); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(146,217,85,.2); }
.nav-item:hover::before { opacity: .15; }
.nav-item i { font-size: 1.4rem; margin-bottom: 5px; position: relative; z-index: 1; transition: var(--transition-smooth); }
.nav-item span, .nav-item { position: relative; z-index: 1; }
.nav-item:hover i { animation: bounce .5s infinite alternate; filter: drop-shadow(0 0 8px var(--primary-glow)); }
.contact-info { display: flex; align-items: center; gap: 5px; flex-shrink: 0; }
.contact-info .nav-item { max-width: none; }
@media (max-width: 900px) {
    .site-header { justify-content: space-between; padding: .5rem; gap: .3rem; flex-wrap: wrap; }
    .site-header .logo { flex-shrink: 0; order: 1; }
    .site-header .logo img { height: 32px; }
    .header-nav { order: 3; width: 100%; display: flex; flex-wrap: wrap; justify-content: center; gap: .2rem; padding: .3rem 0; margin-top: .3rem; overflow: visible; }
    .nav-item { min-width: auto; flex: 1 1 auto; font-size: .6rem; padding: .35rem .25rem; gap: 2px; max-width: calc(16.66% - .2rem); }
    .nav-item i { font-size: 1rem; margin-bottom: 2px; }
    .contact-info { order: 2; flex-shrink: 0; }
}
@media (max-width: 480px) {
    .site-header { padding: .4rem; gap: .3rem; }
    .site-header .logo { font-size: 1rem; letter-spacing: .5px; }
    .header-nav { gap: .15rem; padding: .25rem 0; }
    .nav-item { font-size: .55rem; padding: .3rem .2rem; max-width: calc(16.66% - .15rem); }
    .nav-item i { font-size: .9rem; margin-bottom: 1px; }
    .contact-info { order: 2; }
}
@media (max-width: 360px) {
    .site-header .logo { font-size: .95rem; }
    .nav-item { font-size: .5rem; padding: .25rem .15rem; max-width: calc(16.66% - .1rem); }
    .nav-item i { font-size: .85rem; }
}
@media (max-width: 768px) {
    .nav-item:hover { transform: none; }
    .site-header, .header-nav { overflow-x: hidden; }
}
