        /* Estilo do Fundo com Degradê */
        body, html {
            margin: 0;
            padding: 0;
            height: 100%;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: #0a1435;
            display: flex;
            flex-direction: column;
            align-items: center;
            color: white;
            overflow: hidden;
            position: fixed;
            width: 100vw;
            touch-action: none; /* Bloqueia o arrasto/rolagem do app inteiro */
            user-select: none;
            -webkit-user-select: none;
        }

        /* Título Principal */
        .header {
            width: 100%;
            display: flex;
            align-items: center;
            padding: 10px 20px;
            box-sizing: border-box;
            background-color: #0a1435;
        }

        .header-text {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .header-text span {
            font-size: 24px;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-weight: bold;
            line-height: 0.9;
        }

        .header-icons {
            display: flex;
            gap: 15px;
        }

        .header-icons i {
            font-size: 18px;
            cursor: pointer;
            transition: transform 0.1s ease-out;
            color: white;
        }

        .header-icons i:active {
            transform: scale(0.85);
        }

        /* Logo */
        .logo {
            width: 50px;
            height: 50px;
            border-radius: 8px; /* Bordas levemente arredondadas */
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
            /* Remove qualquer efeito visual de clique (pisca azul) */
            -webkit-tap-highlight-color: transparent;
            user-select: none;
        }

        /* Wrapper para corrigir os cantos superiores da imagem */
        .city-image-wrapper {
            width: 100%;
            background: linear-gradient(to bottom, #0a1435 50%, transparent 50%);
        }

        /* Imagem da Cidade (Praça) */
        .city-image {
            width: 100%;
            max-width: 100%;
            height: 125px;
            object-fit: cover;
            border-radius: 20px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.3);
            margin-bottom: 0px; /* Encosta na seção VIP */
            border: 4px solid #333;
            box-sizing: border-box;
            display: block;
        }

        /* Seção de Parceiros VIP */
        .vip-section {
            width: 100%;
            padding: 0; /* Remove espaço interno superior */
            background-color: rgba(0,0,0,0.2);
            margin-bottom: 5px;
        }
        .vip-title {
            color: #f08c43;
            font-size: 14px;
            font-weight: bold;
            text-align: center;
            margin-bottom: 8px;
            letter-spacing: 1px;
        }
        .vip-scroll-container {
            display: flex;
            overflow-x: auto;
            gap: 15px;
            padding: 0 20px 5px 20px;
            scrollbar-width: none;
            overscroll-behavior-x: contain;
            touch-action: pan-x; /* Libera o toque apenas horizontal para as logos */
            -ms-overflow-style: none;
        }
        .vip-scroll-container::-webkit-scrollbar {
            display: none;
        }
        .vip-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            min-width: 80px;
            cursor: pointer;
        }
        .vip-circle {
            width: 75px;
            height: 75px;
            border-radius: 50%;
            border: 3px solid #f08c43;
            background-color: #1e3c72;
            overflow: hidden;
            display: flex;
            justify-content: center;
            align-items: center;
            box-shadow: 0 4px 8px rgba(0,0,0,0.3);
            margin-bottom: 5px;
        }
        .vip-circle img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .vip-name {
            font-size: 11px;
            font-weight: bold;
            color: white;
            text-align: center;
            white-space: normal;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 85px;
            display: -webkit-box;
            line-clamp: 2;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            line-height: 1.1;
            height: 2.2em;
        }

        /* Área Central do Play */
        .main-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            align-items: center;
            width: 100%;
            margin-bottom: -110px;
        }

        .play-button-container {
            flex: 1; /* Ocupa todo o espaço vertical restante */
            display: flex;
            flex-direction: column;
            justify-content: flex-end; /* Move para a base, perto do Guia Comercial */
            align-items: center; /* Centraliza horizontalmente */
            width: 100%;
            padding-bottom: 0px; /* Removido para aproximar do Guia Comercial */
            margin-top: -20px;
        }

        .play-button {
            width: 80px;
            height: 80px;
            background-color: white;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            box-shadow: 0 0 30px rgba(0,0,0,0.3);
            cursor: pointer;
            text-decoration: none;
            transition: transform 0.2s;
            border: 4px solid #333;
            box-sizing: border-box;
        }

        .play-button:active {
            transform: scale(0.9);
            background-color: #f08c43;
        }

        .play-button:active i {
            color: white;
        }

        .play-button i {
            color: #1e3c72;
            font-size: 56px;
            margin-left: 8px; /* Ajuste para o triângulo parecer centralizado */
        }

        .tv-label {
            margin-top: 5px;
            margin-bottom: 0px;
            font-size: 20px;
            font-weight: bold;
            letter-spacing: 1px;
        }

        /* Rodapé com Botões */
        .footer-buttons {
            display: flex;
            gap: 10px;
            padding: 10px 20px;
            width: 100%;
            max-width: 400px;
            box-sizing: border-box;
        }

        .btn {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 5px 5px;
            border-radius: 10px;
            text-decoration: none;
            color: white;
            font-size: 13px;
            font-weight: bold;
            gap: 5px;
            text-align: center;
            box-sizing: border-box;
            height: 50px; /* Altura reduzida ao máximo */
        }

        .btn-orange {
            background-color: #a04a0a;
        }

        .btn-dark {
            /* Fundo Azul Degradê para destacar no fundo escuro */
            background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
            box-shadow: 0 4px 10px rgba(0,0,0,0.3); /* Sombra para dar profundidade */
            border: 4px solid #333; /* Contorno igual ao da imagem da cidade */
        }

        .btn-dark:active {
            background: #f08c43; /* Muda para laranja vibrante (piscada) */
            box-shadow: 0 0 15px rgba(240, 140, 67, 0.8); /* Adiciona um brilho externo */
            transform: scale(0.95); /* O botão diminui um pouco mais */
            border-color: #f08c43;
        }

        .btn i {
            font-size: 18px;
        }

        .btn:active {
            background-color: #f08c43; /* Cor laranja ao clicar */
            transform: scale(0.98); /* Leve efeito de pressão */
        }

        /* Estilos do Modal */
        .modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.7);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }

        .modal-content {
            background-color: white;
            color: #333;
            padding: 20px;
            border-radius: 10px;
            width: 80%;
            max-width: 350px;
            text-align: center;
            position: relative;
            max-height: 80vh; /* Limita altura para telas pequenas */
            overflow-y: auto; /* Permite rolagem se a lista for grande */
            touch-action: pan-y; /* Permite rolagem vertical dentro dos modais */
        }

        .close-btn {
            position: absolute;
            top: 10px;
            right: 15px;
            font-size: 24px;
            cursor: pointer;
            color: #aaa;
        }

        /* Container para as abas, que serve como moldura */
        .tabs-container {
            background-color: #0a1435; /* Cor escura da moldura */
            padding: 3px; /* Espaçamento para criar a borda */
            border-radius: 8px; /* Bordas arredondadas para o container */
            margin-bottom: 20px;
        }

        /* Estilos para as abas do modal */
        .modal-tabs {
            display: flex;
            gap: 3px; /* Espaço entre os botões */
        }

        .modal-tab {
            flex: 1;
            padding: 10px;
            border: none;
            background-color: #444; /* Cor mais clara para o botão inativo, dentro da moldura */
            cursor: pointer;
            font-weight: bold;
            color: white;
            border-radius: 5px; /* Cantos arredondados */
            transition: background-color 0.2s ease;
            position: relative; /* Necessário para posicionar o indicador */
        }

        .modal-tab.feedback-tab {
            font-size: 11px;
            line-height: 1.2;
        }
        .modal-tab.active {
            background-color: #f08c43; /* Cor laranja para a aba ativa */
        }

        /* Indicador (triângulo) para a aba ativa */
        .modal-tab.active::after {
            content: '';
            position: absolute;
            bottom: -8px; /* Posiciona o triângulo abaixo da aba */
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 0;
            border-left: 8px solid transparent;
            border-right: 8px solid transparent;
            border-top: 8px solid #f08c43; /* Cor do triângulo igual à da aba ativa */
        }

        .tab-content {
            display: none;
        }
        .tab-content.active {
            display: block;
        }

        /* Garante que o Painel Admin fique acima de tudo */
        #adminPanel {
            z-index: 2000;
        }

        /* Tela de Login */
        #login-screen {
            display: flex;
            flex-direction: column;

        }

        /* Modal de Confirmação de Saída */
        #exitConfirmationModal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.8);
            z-index: 5000;
            justify-content: center;
            align-items: center;
            color: white;
            font-family: sans-serif;
            text-align: center;
        }

        #exitConfirmationModal .modal-content {
            padding: 20px;
            justify-content: center;
            align-items: center;
            width: 100%;
            height: 100%;
            text-align: center;
            background-color: #e0e0e0;

            position: fixed;
            top: 0;
            left: 0;
            z-index: 9999;
        }

        /* Animação para o botão de atualização */
        @keyframes pulse-update {
            0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(240, 140, 67, 0.7); }
            70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(240, 140, 67, 0); }
            100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(240, 140, 67, 0); }
        }

        /* Animação apenas para o contorno do botão Instale */
        @keyframes pulse-border-orange {
            0% { border-color: #333; box-shadow: 0 0 0 0 rgba(240, 140, 67, 0.4); }
            50% { border-color: #f08c43; box-shadow: 0 0 15px 2px rgba(240, 140, 67, 0.7); }
            100% { border-color: #333; box-shadow: 0 0 0 0 rgba(240, 140, 67, 0.4); }
        }

        /* Barra de Carregamento (Aguarde...) */
        .loader-bar-container {
            display: none; /* Começa escondido */
            flex-direction: column;
            align-items: center;
            margin-top: 15px;
        }
        .loader-bar {
            width: 120px;
            height: 4px;
            background: #444;
            border-radius: 2px;
            overflow: hidden;
            position: relative;
        }
        .loader-progress {
            width: 50%;
            height: 100%;
            background: #f08c43;
            position: absolute;
            left: -50%;
            animation: load-slide 1s infinite linear;
        }
        @keyframes load-slide {
            0% { left: -50%; }
            100% { left: 100%; }
        }

        /* Classe que aplica a piscada no contorno */
        .btn-install-pulse {
            animation: pulse-border-orange 1.5s infinite !important;
        }

        /* Container do Feed (Iframe) */
        #feed-iframe-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1; /* Fica atrás de tudo enquanto carrega */
            background: #000;
            opacity: 0; /* Invisível, mas o navegador carrega o vídeo */
            transition: opacity 0.3s ease-in-out;
        }
        #feed-iframe {
            width: 100%;
            height: 100%;
            border: none;
        }
        /* Classe para mostrar a tela */
        #feed-iframe-container.active {
            z-index: 9999;
            opacity: 1;
        }