/* version: 1  19/03/2026*/

        /* 1. Ajuste del cuerpo: ahora la cabecera es más baja, bajamos el padding-top */
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            margin: 0;
            padding-top: 70px;
            /* Reducido de 140px */
            padding-bottom: 60px;
            background-color: #f4f4f9;
        }

        /* Interfaz Sticky */
        /* 2. Cabecera más compacta */
        .header-fixed {
            position: fixed;
            top: 0;
            width: 100%;
            background: #1ca7e9fa;
            z-index: 1000;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            padding: 5px 0;
            /* Reducido de 10px */
        }

        /* 3. ÍNDICE COMPACTO (La clave para el móvil) */
        #alphabet-index {
            display: flex;
            justify-content: flex-start;
            /* Alineado a la izquierda */
            flex-wrap: nowrap;
            /* Prohibido saltar de línea */
            overflow-x: auto;
            /* Activa el scroll horizontal */
            -webkit-overflow-scrolling: touch;
            /* Suavidad en iOS */
            gap: 8px;
            padding: 8px 10px;
            /* Espacio para los dedos */
        }

        #alphabet-index::-webkit-scrollbar-thumb {
            background: #1ca7e9fa;
            border-radius: 10px;
        }

        #alphabet-index a {
            flex: 0 0 auto;
            /* Evita que las letras se deformen */
            text-decoration: none;
            color: #1ca7e9fa;
            color: white;
            font-weight: bold;
            padding: 4px 10px;
            border: 1px solid #007bff;
            border-radius: 5px;
            font-size: 14px;
            /* Un poco más pequeño */
        }

        #alphabet-index a:hover {
            background: #ccc;
            color: #1ca7e9fa;;
        }

        /* 4. Barra de búsqueda más delgada */
        #search-container {
            padding: 5px 10px;
        }

        #search-bar {
            width: 90%;
            padding: 8px 10px;
            border-radius: 15px;
            border: 1px solid #ccc;
            font-size: 13px;
        }

        /* Cuerpo Central */
        #main-content {
            max-width: 800px;
            margin: auto;
            padding: 20px;
        }

        .section-title {
            background: #1ca7e9fa;
            color: white;
            padding: 10px;
            border-radius: 5px;
            margin-top: 30px;
            scroll-margin-top: 80px;
            /* Para que al enlazar no tape el título */

        }

        details {
            background: white;
            margin-bottom: 10px;
            border: 1px solid #ddd;
            border-radius: 5px;
        }

        summary {
            padding: 15px;
            cursor: pointer;
            font-weight: bold;
            outline: none;
            list-style: none;
        }

        summary::-webkit-details-marker {
            display: none;
        }

        summary:hover {
            background: #f0f0f0;
        }

        pre {
            padding: 15px;
            background: #fafafa;
            border-top: 1px solid #eee;
            margin: 0;
            white-space: pre-wrap;
            word-wrap: break-word;
            font-family: inherit;
        }

        /* Footer */
        footer {
            position: fixed;
            bottom: 0;
            width: 100%;
            background: #1ca7e9fa;
            display: flex;
            justify-content: space-around;
            padding: 10px 0;
            border-top: 1px solid #ccc;
        }

        footer a,
        footer button {
            text-decoration: none;
            color: #333;
                        color: white;
            font-size: 14px;
            background: none;
            border: none;
            cursor: pointer;
            font-family: inherit;
        }