@charset "utf-8";
/* CSS Document */
    <style>
        body {
            font-family: Arial, sans-serif;
            max-width: 800px;
            margin: 0 auto;
            padding: 20px;
            line-height: 1.6;
            background-color: #f5f5f5;
        }
        
        .content {
            background-color: white;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            margin-bottom: 80px;
        }
        
        .content h2 {
            color: #667eea;
            border-bottom: 2px solid #667eea;
            padding-bottom: 10px;
        }
        
        .info-box {
            background-color: #e3f2fd;
            border-left: 4px solid #2196f3;
            padding: 15px;
            margin: 20px 0;
            border-radius: 5px;
        }
        
        /* Botão flutuante compacto */
        .floating-button {
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(0,0,0,0.3);
            transition: all 0.3s;
            z-index: 1000;
            border: none;
            font-size: 24px;
        }
        
        .floating-button:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 16px rgba(0,0,0,0.4);
        }
        
        .floating-button.active {
            background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
        }
        
        /* Painel de controles expansível */
        .audio-controls {
            position: fixed;
            bottom: 90px;
            right: 20px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            padding: 20px;
            border-radius: 15px;
            box-shadow: 0 8px 24px rgba(0,0,0,0.3);
            z-index: 999;
            max-width: 350px;
            width: calc(100vw - 60px);
            transform: translateY(20px);
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s;
        }
        
        .audio-controls.show {
            transform: translateY(0);
            opacity: 1;
            visibility: visible;
        }
        
        .controls-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .controls-header h3 {
            color: white;
            margin: 0;
            font-size: 18px;
        }
        
        .close-btn {
            background: rgba(255,255,255,0.2);
            color: white;
            border: none;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
        }
        
        .close-btn:hover {
            background: rgba(255,255,255,0.3);
        }
        
        .button-group {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
            margin-bottom: 15px;
        }
        
        button.control-btn {
            background-color: white;
            color: #667eea;
            border: none;
            padding: 10px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 14px;
            font-weight: bold;
            transition: all 0.3s;
        }
        
        button.control-btn:hover:not(:disabled) {
            background-color: #f0f0f0;
            transform: translateY(-2px);
        }
        
        button.control-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }
        
        .settings {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        
        .setting-item {
            background-color: rgba(255,255,255,0.1);
            padding: 10px;
            border-radius: 8px;
        }
        
        .setting-item label {
            display: block;
            color: white;
            font-weight: bold;
            margin-bottom: 5px;
            font-size: 13px;
        }
        
        select, input[type="range"] {
            width: 100%;
            padding: 5px;
            border-radius: 5px;
            border: none;
        }
        
        .range-value {
            color: white;
            text-align: center;
            margin-top: 5px;
            font-size: 13px;
        }
        
        .status {
            background-color: rgba(255,255,255,0.2);
            color: white;
            padding: 8px;
            border-radius: 5px;
            text-align: center;
            font-weight: bold;
            margin-top: 10px;
            font-size: 13px;
        }
        
        /* Indicador de leitura no botão flutuante */
        .reading-indicator {
            position: absolute;
            top: -5px;
            right: -5px;
            width: 20px;
            height: 20px;
            background-color: #4caf50;
            border-radius: 50%;
            border: 2px solid white;
            animation: pulse 1.5s infinite;
        }
        
        @keyframes pulse {
            0%, 100% { transform: scale(1); opacity: 1; }
            50% { transform: scale(1.2); opacity: 0.8; }
        }
        
        /* Responsividade */
        @media (max-width: 600px) {
            .audio-controls {
                right: 10px;
                left: 10px;
                width: auto;
                max-width: none;
            }
            
            .floating-button {
                right: 15px;
                bottom: 15px;
                width: 55px;
                height: 55px;
                font-size: 22px;
            }
        }
    </style>