        @import url('https://fonts.cdnfonts.com/css/opendyslexic');
        @import url('https://fonts.cdnfonts.com/css/gallaudet');

        /* ── Modo Showcase ASMR: chispas reactivas al clic ── */
        .spark {
            position: absolute;
            background: #d4af37;
            border-radius: 50%;
            pointer-events: none;
            z-index: 99999;
            animation: sparkFade 0.8s ease-out forwards;
            box-shadow: 0 0 5px #d4af37;
        }
        @keyframes sparkFade {
            0%   { transform: translate(0, 0) scale(1); opacity: 1; }
            100% { transform: translate(var(--tx), var(--ty)) scale(0.1); opacity: 0; }
        }

        @font-face {
            font-family: 'GallaudetLocal';
            src: url('./Gallaudet.ttf') format('truetype'), url('./GallaudetRegular.ttf') format('truetype'), url('./Gallaudet regular 1 .ttf') format('truetype');
            font-weight: normal;
            font-style: normal;
            font-display: swap;
        }

        :root {
            --robles-purple: #8e24aa;
            --robles-gold: #ffca28;
            --bg-dark: #0a0705;
            --panel-bg: rgba(20, 20, 25, 0.65);
            --text-light: #f5f5f7;
            --text-muted: #a1a1aa;
            --glass-border: rgba(255, 202, 40, 0.15);
        }

        .skip-link {
            position: absolute;
            top: -50px;
            left: 0;
            background: var(--robles-gold);
            color: #000;
            padding: 10px 20px;
            z-index: 9999999;
            font-weight: bold;
            text-decoration: none;
            transition: top 0.3s;
        }

        .skip-link:focus {
            top: 0;
        }

        *:focus-visible {
            outline: 3px solid var(--robles-gold);
            outline-offset: 3px;
            border-radius: 4px;
        }

        ::selection {
            background: var(--robles-gold);
            color: #000;
        }

        ::-webkit-scrollbar {
            width: 8px;
            height: 8px;
        }

        ::-webkit-scrollbar-track {
            background: transparent;
        }

        ::-webkit-scrollbar-thumb {
            background: rgba(255, 202, 40, 0.3);
            border-radius: 4px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: var(--robles-gold);
        }

        body {
            font-family: 'Inter', sans-serif;
            margin: 0;
            padding: 0;
            background-color: var(--bg-dark);
            color: var(--text-light);
            display: flex;
            height: 100vh;
            height: 100dvh;
            overflow: hidden;
            transition: background-color 1.5s ease-in-out, color 0.5s ease, filter 0.5s ease;
        }

        h1,
        h2,
        h3 {
            font-family: 'Playfair Display', serif;
            font-weight: 600;
            margin: 0;
        }

        @media (pointer: fine) {
            body:not(.cursor-estandar) * {
                cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><circle cx="8" cy="8" r="4" fill="%23ffca28"/></svg>') 8 8, auto !important;
            }

            .cursor-outline {
                position: fixed;
                top: -20px;
                left: -20px;
                width: 40px;
                height: 40px;
                border: 1px solid rgba(255, 202, 40, 0.5);
                border-radius: 50%;
                pointer-events: none;
                z-index: 99999;
                will-change: transform;
                transition: background-color 0.15s ease, border-color 0.15s ease;
            }

            .cursor-outline.hover {
                background-color: rgba(255, 202, 40, 0.1);
                border-color: var(--robles-gold);
            }

            body.cursor-estandar .cursor-outline {
                display: none !important;
            }
        }

        @media (pointer: coarse) {

            .cursor-outline,
            .cursor-setting-row {
                display: none !important;
            }
        }

        #emotoCanvas {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
            pointer-events: none;
            opacity: 0.4;
            transition: opacity 1s ease;
        }

        .btn-sandwich {
            display: block;
            position: fixed;
            top: 20px;
            left: 20px;
            z-index: 10000;
            background: rgba(20, 20, 25, 0.85);
            backdrop-filter: blur(10px);
            border: 1px solid var(--robles-gold);
            color: var(--robles-gold);
            border-radius: 12px;
            padding: 10px 15px;
            font-size: 1.5em;
            cursor: pointer;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
            transition: all 0.3s ease;
            -webkit-tap-highlight-color: transparent;
            outline: none;
        }

        .btn-sandwich:hover {
            background: var(--robles-gold);
            color: #000;
        }

        .sidebar-overlay {
            visibility: hidden;
            pointer-events: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            height: 100dvh;
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(5px);
            z-index: 9998;
            opacity: 0;
            transition: opacity 0.4s ease, visibility 0.4s ease;
        }

        .sidebar-overlay.open {
            visibility: visible;
            pointer-events: auto;
            opacity: 1;
        }

        .sidebar {
            width: 300px;
            background: rgba(10, 10, 12, 0.85);
            backdrop-filter: blur(20px);
            border-right: 1px solid var(--glass-border);
            display: flex;
            flex-direction: column;
            padding: 30px 0 0 0;
            box-sizing: border-box;
            box-shadow: 5px 0 20px rgba(0, 0, 0, 0.5);
            z-index: 9999;
            flex-shrink: 0;
            transition: background 0.5s ease, left 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), width 0.4s ease, padding 0.4s ease;
            overflow-y: auto;
        }

        .sidebar.sidebar-oculta {
            width: 0;
            padding: 0;
            overflow: hidden;
            border-right: none;
        }

        .sidebar-logo {
            text-align: center;
            padding: 0 20px 20px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            font-size: 1.5em;
            letter-spacing: 1px;
        }

        .sidebar-logo span {
            color: var(--robles-gold);
        }

        .nav-menu {
            padding: 20px 20px;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .nav-link {
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 10px 15px;
            color: var(--text-muted);
            text-decoration: none;
            border-radius: 12px;
            transition: all 0.2s ease;
            font-weight: 500;
            cursor: pointer;
            font-size: 0.95em;
        }

        .nav-link:hover,
        .nav-link.active {
            background: rgba(255, 202, 40, 0.1);
            color: var(--robles-gold);
            box-shadow: inset 3px 0 0 var(--robles-gold);
        }

        .tour-pulse {
            animation: glowTour 2s infinite alternate;
            border: 1px solid var(--robles-gold) !important;
            color: var(--robles-gold) !important;
        }

        @keyframes glowTour {
            0% {
                box-shadow: 0 0 5px rgba(255, 202, 40, 0.2);
            }

            100% {
                box-shadow: 0 0 20px rgba(255, 202, 40, 0.8);
            }
        }

        .sidebar-section-title {
            color: var(--robles-gold);
            font-size: 0.75em;
            text-transform: uppercase;
            letter-spacing: 1px;
            padding: 0 25px;
            margin-top: 10px;
            margin-bottom: 10px;
            font-weight: 600;
        }

        .btn-nueva-platica {
            background: rgba(255, 202, 40, 0.1);
            border: 1px solid var(--robles-gold);
            color: var(--robles-gold);
            border-radius: 12px;
            padding: 12px 15px;
            margin: 0 20px 15px;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-weight: 600;
            transition: all 0.3s;
            font-family: 'Inter', sans-serif;
            font-size: 0.95em;
        }

        .btn-nueva-platica:hover {
            background: var(--robles-gold);
            color: #000;
            box-shadow: 0 5px 15px rgba(255, 202, 40, 0.3);
        }

        .btn-nueva-platica svg {
            width: 18px;
            height: 18px;
            fill: currentColor;
        }

        .lista-sesiones {
            display: flex;
            flex-direction: column;
            gap: 5px;
            padding: 0 15px;
            flex: 1;
            min-height: 0;
            overflow-y: auto;
            margin-bottom: 15px;
            scrollbar-width: thin;
            scrollbar-color: var(--robles-gold) transparent;
        }

        .lista-sesiones::-webkit-scrollbar {
            width: 4px;
        }

        .lista-sesiones::-webkit-scrollbar-track {
            background: transparent;
        }

        .lista-sesiones::-webkit-scrollbar-thumb {
            background: var(--robles-gold);
            border-radius: 4px;
        }

        .lista-sesiones::-webkit-scrollbar-thumb:hover {
            background: #ffca28;
        }

        .sesion-item {
            position: relative;
            padding: 10px 12px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-radius: 8px;
            cursor: pointer;
            color: var(--text-muted);
            transition: all 0.2s;
            font-size: 0.85em;
            border: 1px solid transparent;
        }

        .sesion-item:hover {
            background: rgba(255, 255, 255, 0.05);
            color: var(--text-light);
        }

        .sesion-item.activa {
            background: rgba(255, 202, 40, 0.05);
            color: var(--robles-gold);
            border: 1px solid rgba(255, 202, 40, 0.2);
        }

        .kebab-trigger {
            background: transparent;
            border: none;
            color: var(--text-muted);
            cursor: pointer;
            padding: 2px 8px;
            font-size: 1.3em;
            border-radius: 5px;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .sesion-item:hover .kebab-trigger {
            color: var(--text-light);
        }

        .kebab-trigger:hover {
            background: rgba(255, 255, 255, 0.1);
            color: var(--robles-gold);
        }

        .kebab-trigger.is-pinned .icon-pin {
            display: inline;
            color: var(--robles-gold);
            font-size: 0.9em;
        }

        .kebab-trigger.is-pinned .icon-dots {
            display: none;
        }

        .kebab-trigger.is-pinned:hover .icon-pin {
            display: none;
        }

        .kebab-trigger.is-pinned:hover .icon-dots {
            display: inline;
            color: var(--robles-gold);
        }

        .sesion-menu-global {
            position: fixed;
            background: rgba(25, 25, 30, 0.98);
            backdrop-filter: blur(20px);
            border: 1px solid var(--glass-border);
            border-radius: 12px;
            display: none;
            flex-direction: column;
            z-index: 100001;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8);
            overflow: hidden;
            min-width: 150px;
            padding: 5px 0;
        }

        .sesion-menu-global.show {
            display: flex;
        }

        .sesion-menu-global button {
            background: transparent;
            border: none;
            color: var(--text-light);
            padding: 10px 15px;
            text-align: left;
            cursor: pointer;
            font-size: 0.9em;
            font-family: 'Inter', sans-serif;
            transition: background 0.2s;
            display: flex;
            gap: 10px;
            align-items: center;
        }

        .sesion-menu-global button:hover {
            background: rgba(255, 202, 40, 0.15);
            color: var(--robles-gold);
        }

        .sesion-menu-global button.delete-btn {
            color: #ff5252;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            margin-top: 5px;
            padding-top: 12px;
        }

        .sesion-menu-global button.delete-btn:hover {
            background: rgba(255, 82, 82, 0.15);
            color: #ff5252;
        }

        .user-profile {
            padding: 15px;
            margin: 15px 20px 30px 20px;
            background: rgba(255, 255, 255, 0.03);
            border-radius: 15px;
            border: 1px solid rgba(255, 255, 255, 0.05);
            display: flex;
            align-items: center;
            gap: 15px;
            flex-shrink: 0;
        }

        .user-avatar {
            width: 40px;
            height: 40px;
            background: var(--robles-purple);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            font-weight: 600;
            color: #fff;
        }

        /* CHAT LAYOUT */
        .chat-layout {
            flex: 1;
            display: flex;
            flex-direction: column;
            position: relative;
            z-index: 1;
            padding: 20px 60px 20px 40px;
            height: 100vh;
            height: 100dvh;
            box-sizing: border-box;
        }

        .chat-header {
            background: var(--panel-bg);
            backdrop-filter: blur(15px);
            border: 1px solid var(--glass-border);
            border-radius: 20px;
            padding: 15px 30px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            flex-shrink: 0;
            transition: border-color 1.5s ease;
        }

        .mentor-info-header {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .mentor-avatar-mini {
            width: 130px;
            height: 130px;
            border-radius: 50%;
            object-fit: cover;
            border: 4px solid var(--robles-gold);
            box-shadow: 0 0 20px rgba(255, 202, 40, 0.4);
            transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            cursor: pointer;
        }

        .mentor-avatar-mini:hover {
            transform: scale(1.05);
            box-shadow: 0 0 30px rgba(255, 202, 40, 0.7);
        }

        .mentor-details h1 {
            font-size: 1.8em;
            color: var(--text-light);
            margin-bottom: 5px;
            line-height: 1.1;
        }

        .mentor-status {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 0.9em;
            color: #00e676;
            font-weight: 500;
        }

        .status-dot {
            width: 8px;
            height: 8px;
            background: #00e676;
            border-radius: 50%;
            box-shadow: 0 0 8px #00e676;
            animation: pulse 2s infinite;
        }

        /* ── TITAN V250: Temario Modal Items ── */
        .temario-lista {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .temario-item {
            padding: 12px 16px;
            border-radius: 10px;
            font-size: 0.88em;
            font-family: 'Inter', sans-serif;
            border: 1px solid rgba(255,255,255,0.08);
            background: rgba(255,255,255,0.03);
            color: var(--text-muted);
            transition: all 0.2s ease;
            line-height: 1.4;
        }

        .temario-item.completada {
            border-color: rgba(0, 230, 118, 0.3);
            background: rgba(0, 230, 118, 0.06);
            color: #00c853;
        }

        .temario-item.actual {
            border-color: var(--robles-gold);
            background: rgba(255, 202, 40, 0.1);
            color: var(--robles-gold);
            font-weight: 600;
            cursor: pointer;
            box-shadow: 0 0 12px rgba(255, 202, 40, 0.15);
        }

        .temario-item.actual:hover {
            background: rgba(255, 202, 40, 0.18);
            transform: translateX(5px);
        }

        .temario-item.bloqueada {
            opacity: 0.4;
            cursor: not-allowed;
        }

        .badge-temario {
            background: rgba(255, 202, 40, 0.15);
            border: 1px solid var(--robles-gold);
            color: var(--robles-gold);
            padding: 6px 14px;
            border-radius: 15px;
            font-size: 0.85em;
            font-weight: 600;
            margin-top: 8px;
            display: inline-flex;
            align-items: center;
            cursor: pointer;
            transition: all 0.3s ease;
            width: fit-content;
            font-family: 'Inter', sans-serif;
        }

        .badge-temario:hover {
            background: var(--robles-gold);
            color: #000;
            box-shadow: 0 5px 15px rgba(255, 202, 40, 0.4);
            transform: translateY(-2px);
        }

        @keyframes pulse {
            0% {
                opacity: 1;
            }

            50% {
                opacity: 0.5;
            }

            100% {
                opacity: 1;
            }
        }

        .settings-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            margin-top: 10px;
            font-size: 0.85em;
            color: var(--text-light);
            font-weight: 500;
        }

        .lsm-highlight-text {
            color: var(--robles-gold);
            font-weight: bold;
            animation: lsmTextGlow 2s infinite alternate ease-in-out;
        }

        @keyframes lsmTextGlow {
            0% {
                text-shadow: 0 0 5px rgba(255, 202, 40, 0.2);
            }

            100% {
                text-shadow: 0 0 15px rgba(255, 202, 40, 0.9);
            }
        }

        .switch-container {
            display: flex;
            gap: 15px;
            align-items: center;
            background: rgba(0, 0, 0, 0.4);
            padding: 8px 20px;
            border-radius: 25px;
            border: 1px solid var(--glass-border);
            transition: border-color 1.5s ease;
        }

        .toggle-switch {
            position: relative;
            display: inline-block;
            width: 45px;
            height: 24px;
            flex-shrink: 0;
        }

        .toggle-switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }

        .toggle-slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(150, 150, 150, 0.3);
            transition: .4s;
            border-radius: 34px;
        }

        .toggle-slider:before {
            position: absolute;
            content: "";
            height: 16px;
            width: 16px;
            left: 4px;
            bottom: 4px;
            background-color: white;
            transition: .4s;
            border-radius: 50%;
        }

        input:checked+.toggle-slider {
            background-color: var(--robles-gold);
        }

        input:checked+.toggle-slider:before {
            transform: translateX(21px);
            background-color: #000;
        }

        .chat-history {
            flex: 1;
            overflow-y: auto;
            padding: 10px 20px;
            display: flex;
            flex-direction: column;
            gap: 20px;
            scroll-behavior: smooth;
        }

        .message-row {
            display: flex;
            width: 100%;
            animation: fadeInMsg 0.4s ease forwards;
        }

        @keyframes fadeInMsg {
            from {
                opacity: 0;
                transform: translateY(10px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .row-ai {
            justify-content: flex-start;
        }

        .row-user {
            justify-content: flex-end;
        }

        .msg-bubble {
            max-width: 75%;
            padding: 15px 25px;
            border-radius: 20px;
            font-size: 1.05em;
            line-height: 1.6;
            position: relative;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            transition: border-color 0.5s ease;
            cursor: text;
        }

        .msg-bubble p {
            margin-top: 0;
            margin-bottom: 10px;
        }

        .msg-bubble p:last-child {
            margin-bottom: 0;
        }

        .msg-bubble strong {
            color: var(--robles-gold);
        }

        .msg-ai {
            background: rgba(30, 30, 38, 0.8);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.05);
            border-bottom-left-radius: 5px;
            color: var(--text-light);
        }

        .msg-user {
            background: rgba(255, 202, 40, 0.15);
            backdrop-filter: blur(10px);
            border: 1px solid var(--robles-gold);
            border-bottom-right-radius: 5px;
            color: #fff;
        }

        .msg-time {
            font-size: 0.7em;
            color: var(--text-muted);
            margin-top: 8px;
            text-align: right;
            display: block;
        }

        .row-user .msg-time {
            color: rgba(255, 255, 255, 0.6);
        }

        .btn-leer-burbuja {
            float: right;
            background: transparent;
            border: 1px solid var(--glass-border);
            border-radius: 50%;
            color: var(--text-muted);
            cursor: pointer;
            width: 35px;
            height: 35px;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-left: 15px;
            margin-bottom: 5px;
            transition: all 0.3s ease;
        }

        .btn-leer-burbuja:hover {
            border-color: var(--robles-gold);
            color: var(--robles-gold);
            background: rgba(255, 202, 40, 0.1);
            transform: scale(1.1);
        }

        .btn-leer-burbuja svg {
            width: 18px;
            height: 18px;
            fill: currentColor;
            pointer-events: none;
        }

        .btn-leer-burbuja.playing {
            border-color: #ff5252;
            color: #ff5252;
            background: rgba(255, 82, 82, 0.1);
            animation: pulseRecord 1.5s infinite;
        }

        @keyframes pulseRecord {
            0% {
                box-shadow: 0 0 0 0 rgba(255, 82, 82, 0.4);
            }

            70% {
                box-shadow: 0 0 0 10px rgba(255, 82, 82, 0);
            }

            100% {
                box-shadow: 0 0 0 0 rgba(255, 82, 82, 0);
            }
        }

        .chat-input-area {
            background: var(--panel-bg);
            backdrop-filter: blur(15px);
            border: 1px solid var(--glass-border);
            border-radius: 20px;
            padding: 10px 15px;
            display: flex;
            align-items: flex-end;
            gap: 15px;
            margin-top: 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
            flex-shrink: 0;
            position: relative;
            transition: border-color 1.5s ease;
        }

        .chat-textarea {
            flex: 1;
            background: transparent;
            border: none;
            color: #fff;
            font-family: 'Inter', sans-serif;
            font-size: 1em;
            resize: none;
            min-height: 24px;
            max-height: 150px;
            padding: 12px 10px;
            outline: none;
            line-height: 1.5;
        }

        .chat-textarea::placeholder {
            color: rgba(255, 255, 255, 0.3);
        }

        .chat-textarea:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .btn-send {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: var(--robles-gold);
            border: none;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            transition: all 0.3s ease;
            flex-shrink: 0;
            box-shadow: 0 0 15px rgba(255, 202, 40, 0.4);
        }

        .btn-send:hover:not(:disabled) {
            transform: scale(1.1) rotate(-10deg);
            background: #fff;
        }

        .btn-send:disabled {
            background: #555;
            cursor: not-allowed;
            box-shadow: none;
        }

        .btn-send svg {
            width: 20px;
            height: 20px;
            fill: #000;
            transform: translateX(2px);
        }

        @keyframes floatUpXPGreen {
            0% {
                opacity: 0;
                transform: translateY(20px) scale(0.8);
            }

            20% {
                opacity: 1;
                transform: translateY(0) scale(1.3);
            }

            80% {
                opacity: 1;
                transform: translateY(-30px) scale(1.1);
            }

            100% {
                opacity: 0;
                transform: translateY(-50px) scale(0.9);
            }
        }

        #lsm-widget {
            position: fixed;
            bottom: 30px;
            left: 310px;
            width: 400px;
            min-width: 300px;
            min-height: 400px;
            background: #000;
            border: 2px solid #ffca28;
            border-radius: 12px;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
            display: none;
            flex-direction: column;
            overflow: hidden;
            z-index: 999999;
            resize: both;
            touch-action: none;
        }

        #lsm-header {
            width: 100%;
            background: #ffca28;
            padding: 10px 0;
            font-size: 0.85em;
            color: #000;
            text-transform: uppercase;
            font-weight: bold;
            letter-spacing: 1px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: grab;
            user-select: none;
            box-sizing: border-box;
            touch-action: none;
        }

        #lsm-header span {
            margin-left: 15px;
        }

        .lsm-cerrar {
            background: none;
            border: none;
            color: #000;
            cursor: pointer;
            margin-right: 10px;
            font-size: 1.2em;
            padding: 0;
            font-weight: bold;
        }

        .lsm-cerrar:hover {
            color: #ff5252;
        }

        #lsm-pantalla-container {
            position: relative;
            width: 100%;
            flex-grow: 1;
            background-color: #f5f5f7;
            min-height: 260px;
            pointer-events: none;
        }

        .lsm-texto-actual {
            background: #111;
            color: #00e676;
            font-size: 1.3em;
            font-weight: bold;
            padding: 8px 0;
            border-top: 1px solid #333;
            text-transform: uppercase;
            letter-spacing: 2px;
            height: 35px;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .lsm-controles {
            width: 100%;
            display: flex;
            justify-content: space-between;
            padding: 10px 15px;
            background: #222;
            border-top: 1px solid #444;
            box-sizing: border-box;
            align-items: center;
        }

        .lsm-speed-label {
            font-size: 0.7em;
            color: #aaa;
            margin-right: 5px;
        }

        .lsm-speed {
            width: 80px;
            accent-color: var(--robles-gold);
        }

        .btn-config-flotante {
            position: fixed;
            top: 30px;
            right: 30px;
            width: 55px;
            height: 55px;
            background: rgba(20, 20, 25, 0.8);
            border: 1px solid var(--glass-border);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000000;
            cursor: pointer;
            color: var(--text-light);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(10px);
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            -webkit-tap-highlight-color: transparent;
            outline: none;
        }

        .btn-config-flotante svg {
            width: 26px;
            height: 26px;
            fill: currentColor;
            transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .btn-config-flotante:hover {
            transform: scale(1.1);
            border-color: var(--robles-gold);
            color: var(--robles-gold);
        }

        .btn-config-flotante:hover svg {
            transform: rotate(90deg);
        }

        .settings-panel {
            position: fixed;
            top: 0;
            right: -100%;
            width: 300px;
            height: 100vh;
            height: 100dvh;
            max-height: 100dvh;
            background: rgba(10, 10, 12, 0.95);
            backdrop-filter: blur(20px);
            border-left: 1px solid var(--glass-border);
            z-index: 1000001;
            padding: 40px 25px;
            box-sizing: border-box;
            padding-bottom: 80px;
            box-shadow: -5px 0 30px rgba(0, 0, 0, 0.8);
            transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.5s ease;
            display: flex;
            flex-direction: column;
            gap: 16px;
            font-family: 'Inter', sans-serif;
            overflow-y: auto;
            overflow-y: scroll;
        }

        .settings-panel > * {
            flex-shrink: 0;
        }

        .settings-panel::-webkit-scrollbar {
            width: 5px;
        }

        .settings-panel::-webkit-scrollbar-thumb {
            background: rgba(212, 175, 55, 0.5);
            border-radius: 3px;
        }

        .settings-panel::-webkit-scrollbar-track {
            background: transparent;
        }

        .settings-panel.open {
            right: 0;
        }

        .settings-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid rgba(150, 150, 150, 0.2);
            padding-bottom: 10px;
        }

        .settings-header h2 {
            color: var(--robles-gold);
            font-size: 1.4em;
            margin: 0;
            font-family: 'Playfair Display', serif;
        }

        .close-settings {
            background: none;
            border: none;
            color: var(--text-light);
            font-size: 1.5em;
            cursor: pointer;
            transition: color 0.2s;
        }

        .close-settings:hover {
            color: #ff5252;
        }

        .setting-item {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .font-slider {
            width: 100%;
            appearance: none;
            background: rgba(150, 150, 150, 0.3);
            height: 6px;
            border-radius: 5px;
            outline: none;
            transition: background 0.2s;
            margin-top: 5px;
        }

        .font-slider::-webkit-slider-thumb {
            appearance: none;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: var(--robles-gold);
            cursor: pointer;
        }

        .btn-tts-cycle {
            background: rgba(20, 20, 25, 0.8);
            border: 1px solid var(--glass-border);
            border-radius: 12px;
            color: var(--text-light);
            padding: 8px 15px;
            font-size: 0.9em;
            font-family: 'Inter', sans-serif;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 10px;
            width: 100%;
            transition: all 0.3s;
            margin-top: 5px;
        }

        .btn-tts-cycle:hover {
            border-color: var(--robles-gold);
            box-shadow: 0 0 10px rgba(255, 202, 40, 0.2);
        }

        .btn-tts-cycle span:first-child {
            font-size: 1.2em;
        }

        .lang-opt-settings {
            display: flex;
            align-items: center;
            gap: 8px;
            transition: background 0.2s, color 0.2s;
        }

        .lanag-opt-settings:hover {
            background: rgba(255, 202, 40, 0.15);
            color: var(--robles-gold) !important;
        }

        .fi {
            border-radius: 2px;
        }

        #google_translate_element_wrapper {
            position: fixed;
            top: -9999px;
            left: -9999px;
            opacity: 0;
            pointer-events: none;
            z-index: 90000;
            transition: opacity 0.5s ease;
        }

        body.mostrar-traductor-nativo #google_translate_element_wrapper {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            top: 100px;
            left: 50%;
            transform: translateX(-50%);
            opacity: 1;
            pointer-events: auto;
            background: rgba(15, 15, 18, 0.98);
            backdrop-filter: blur(20px);
            padding: 20px;
            border-radius: 20px;
            border: 3px solid var(--robles-gold);
            animation: dinosaurFloat 3s ease-in-out infinite, pulseGlow 1.5s infinite alternate;
            box-shadow: 0 15px 50px rgba(0, 0, 0, 0.9);
            text-align: center;
        }

        body.mostrar-traductor-nativo #google_translate_element_wrapper>div {
            display: flex !important;
            flex-direction: column !important;
            justify-content: center !important;
            align-items: center !important;
            width: 100%;
            gap: 10px;
        }

        .goog-te-banner-frame.skiptranslate,
        iframe.skiptranslate {
            display: none !important;
        }

        body {
            top: 0px !important;
            position: static !important;
        }

        html {
            top: 0px !important;
        }

        .VIpgJd-ZVi9od-ORHb-OEVmcd {
            display: none !important;
        }

        #goog-gt-tt {
            display: none !important;
        }

        .goog-te-balloon-frame {
            display: none !important;
        }

        .goog-text-highlight {
            background: transparent !important;
            box-shadow: none !important;
        }

        @keyframes pulseGlow {
            0% {
                box-shadow: 0 0 10px rgba(255, 202, 40, 0.2), 0 10px 30px rgba(0, 0, 0, 0.8);
            }

            100% {
                box-shadow: 0 0 25px rgba(255, 202, 40, 0.8), 0 10px 30px rgba(0, 0, 0, 0.8);
            }
        }

        @keyframes dinosaurFloat {
            0% {
                transform: translate(-50%, 0);
            }

            50% {
                transform: translate(-50%, -10px);
            }

            100% {
                transform: translate(-50%, 0);
            }
        }

        /* ACCESIBILIDAD VISUAL */
        html {
            transition: font-size 0.3s ease;
        }

        body.modo-claro {
            --bg-dark: #f0f4f8 !important;
            --panel-bg: rgba(255, 255, 255, 0.9);
            --text-light: #2d2d35;
            --text-muted: #666;
            --robles-gold: #b38b00;
            --glass-border: rgba(0, 0, 0, 0.15);
        }

        body.modo-claro .sidebar {
            background: rgba(240, 245, 250, 0.9);
        }

        body.modo-claro .settings-panel {
            border-color: #ccc;
            color: #2d2d35;
            background: rgba(255, 255, 255, 0.98);
        }

        body.modo-claro .btn-config-flotante,
        body.modo-claro .btn-sandwich {
            background: #fff;
            color: #2d2d35;
            border-color: #ccc;
        }

        body.modo-claro .msg-ai {
            background: #fff;
            border-color: #ccc;
            color: #2d2d35;
        }

        body.modo-claro .msg-user {
            background: rgba(179, 139, 0, 0.1);
            border-color: var(--robles-gold);
            color: #2d2d35;
        }

        body.modo-claro .chat-textarea {
            color: #2d2d35;
        }

        body.modo-claro #langDropdownSettings {
            background: rgba(255, 255, 255, 0.98);
            border-color: #ccc;
        }

        body.modo-claro .lang-opt-settings {
            color: #2d2d35 !important;
        }

        body.modo-claro #langSelectBtn {
            color: #2d2d35 !important;
        }

        body.modo-claro .btn-tts-cycle {
            background: rgba(255, 255, 255, 0.9);
            color: #2d2d35;
            border-color: #ccc;
        }

        body.modo-claro .sesion-menu-global {
            background: rgba(255, 255, 255, 0.98);
            border-color: #ccc;
            color: #2d2d35;
        }

        body.modo-claro .sesion-menu-global button {
            color: #2d2d35;
        }

        body.modo-claro .lsm-highlight-text {
            color: #b38b00;
        }

        body.modo-sepia {
            filter: sepia(0.5) contrast(0.95);
        }

        body.alto-contraste {
            --bg-dark: #000000 !important;
            --panel-bg: #000000;
            --text-light: #ffffff;
            --text-muted: #e0e0e0;
            --robles-gold: #ffff00;
            --robles-purple: #ff00ff;
            --glass-border: #ffffff;
        }

        body.alto-contraste .msg-ai,
        body.alto-contraste .msg-user {
            border: 2px solid #fff;
            background: #000;
        }

        body.alto-contraste .msg-user {
            border-color: #ffff00;
        }

        body.fuente-comoda,
        body.fuente-comoda * {
            font-family: 'OpenDyslexic', sans-serif !important;
            letter-spacing: 0.5px;
        }

        body.modo-senas .msg-bubble p,
        body.modo-senas .msg-bubble strong {
            font-family: 'GallaudetLocal', 'Gallaudet', sans-serif !important;
            font-size: 1.6em !important;
            line-height: 1.4 !important;
            letter-spacing: 2px !important;
            text-transform: lowercase !important;
        }

        /* Fuerza tipográfica Gallaudet en elementos del Santuario Táctico */
        body.modo-senas #mensaje-ia,
        body.modo-senas #notacion-panel,
        body.modo-senas .board-b72b1 {
            font-family: 'GallaudetLocal', 'Gallaudet', sans-serif !important;
        }

        body.fuente-gigante {
            font-size: 150% !important;
        }

        body.animaciones-reducidas * {
            animation: none !important;
            transition: none !important;
        }


        /* ✨ RESPONSIVE MOBILE AIS PURIFICADO ✨ */
        @media (max-width: 768px) {
            body {
                flex-direction: column;
                overflow: hidden;
            }

            .btn-sandwich {
                display: block;
                position: fixed;
                z-index: 9999;
                top: 15px;
                left: 15px;
                padding: 8px 12px;
                font-size: 1.3em;
            }

            .btn-config-flotante {
                display: flex !important;
                position: fixed;
                top: 15px;
                right: 15px;
                width: 45px;
                height: 45px;
                font-size: 1.3em;
                z-index: 9999;
            }

            .sidebar {
                position: fixed;
                top: 0;
                left: -320px;
                height: 100vh;
                height: 100dvh;
                border-right: 1px solid var(--glass-border);
                z-index: 10000;
                box-shadow: none;
            }

            .sidebar.open {
                left: 0;
                box-shadow: 10px 0 30px rgba(0, 0, 0, 0.8);
            }

            /* Conversaciones Recientes: siempre visible y deslizable en móvil */
            .historial-sidebar {
                flex: 0 0 auto;
                min-height: 220px;
                max-height: 50dvh;
                overflow-y: auto;
                overflow-x: hidden;
            }

            .nav-menu {
                padding: 10px 10px;
                gap: 4px;
            }

            .nav-link {
                padding: 7px 10px;
                font-size: 0.88em;
            }

            .chat-layout {
                padding: 0 0 10px 0;
                height: 100%;
                min-height: unset;
                display: flex;
                flex-direction: column;
            }

            .chat-header {
                position: sticky;
                top: 0;
                z-index: 9995;
                border-radius: 0 0 20px 20px;
                padding: 10px 65px;
                margin-bottom: 10px;
                flex-direction: row;
                justify-content: center;
                align-items: center;
                flex-wrap: wrap;
                border-top: none;
                border-left: none;
                border-right: none;
            }

            .mentor-info-header {
                gap: 8px;
                width: 100%;
                flex-direction: column;
                align-items: center;
                justify-content: center;
            }

            /* AIS: Avatar Móvil Agrandado a 95px */
            .mentor-avatar-mini {
                width: 95px;
                height: 95px;
                border-width: 3px;
            }

            .mentor-details h1 {
                font-size: 1.3em;
                margin-bottom: 2px;
                line-height: 1.1;
                text-align: center;
            }

            .mentor-status {
                justify-content: center;
            }

            .controles-superiores {
                width: 100%;
                align-items: center;
                justify-content: center;
                margin-top: 5px;
            }

            .switch-container {
                width: auto;
                justify-content: center;
                margin-bottom: 0;
                padding: 5px 15px;
            }

            #modoLabelText {
                display: inline-block !important;
            }

            .chat-history {
                padding: 10px;
                padding-bottom: 140px;
                overflow-y: auto;
                flex: 1;
            }

            .chat-input-area {
                margin: 0 10px 15px 10px;
            }

            .msg-bubble {
                max-width: 90%;
            }

            #lsm-widget {
                left: 2.5%;
                width: 95%;
                min-width: unset;
                transform: none;
            }

            body.mostrar-traductor-nativo #google_translate_element_wrapper {
                top: 80px;
                left: 50% !important;
                transform: translateX(-50%) !important;
                width: 90%;
                padding: 15px;
            }

            /* Ocultar reproductor flotante en móvil (solo desktop) */
            .oculto-en-movil {
                display: none !important;
            }
        }

        /* ESTILOS DEL TOUR INTRO.JS PREMIUM */
        .introjs-tooltip {
            background-color: rgba(20, 20, 25, 0.95);
            border: 1px solid var(--robles-gold);
            color: #fff;
            border-radius: 12px;
            backdrop-filter: blur(10px);
            font-family: 'Inter', sans-serif;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
        }

        .introjs-tooltiptext {
            font-size: 0.95em;
        }

        .introjs-arrow.top {
            border-bottom-color: var(--robles-gold);
        }

        .introjs-arrow.bottom {
            border-top-color: var(--robles-gold);
        }

        .introjs-arrow.left {
            border-right-color: var(--robles-gold);
        }

        .introjs-arrow.right {
            border-left-color: var(--robles-gold);
        }

        .introjs-button {
            background: var(--robles-gold);
            color: #000;
            border: none;
            text-shadow: none;
            font-weight: bold;
            border-radius: 6px;
        }

        .introjs-button:hover,
        .introjs-button:focus {
            background: #fff;
            color: #000;
            box-shadow: 0 0 10px rgba(255, 202, 40, 0.5);
            border: none;
        }

        .introjs-bullets ul li a {
            background: rgba(255, 255, 255, 0.3);
        }

        .introjs-bullets ul li a.active {
            background: var(--robles-gold);
        }

        .introjs-skipbutton {
            color: var(--robles-gold);
        }

        /* AIS: Burbuja Globo Flotante Clickeable con transición suave */
        .toast-easter-egg {
            position: fixed;
            bottom: 120px;
            left: 50%;
            transform: translateX(-50%);
            background: var(--robles-gold);
            color: #000;
            padding: 12px 25px;
            border-radius: 30px;
            font-weight: bold;
            font-family: 'Inter', sans-serif;
            font-size: 0.95em;
            box-shadow: 0 10px 25px rgba(255, 202, 40, 0.4);
            z-index: 100000;
            opacity: 0;
            pointer-events: auto;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            animation: globoFlotante 9s ease-in forwards;
            transition: transform 0.2s;
        }

        .toast-easter-egg:hover {
            transform: translateX(-50%) scale(1.05) !important;
        }

        @keyframes globoFlotante {
            0% {
                opacity: 0;
                transform: translate(-50%, 50px) scale(0.8);
            }

            10% {
                opacity: 1;
                transform: translate(-50%, 0) scale(1.05);
            }

            15% {
                transform: translate(-50%, 0) scale(1);
                box-shadow: 0 10px 25px rgba(255, 202, 40, 0.4);
            }

            60% {
                opacity: 1;
                transform: translate(-50%, 0);
                box-shadow: 0 10px 45px rgba(255, 202, 40, 0.9);
            }

            80% {
                opacity: 1;
                transform: translate(-50%, -40vh) scale(1);
            }

            100% {
                opacity: 0;
                transform: translate(-50%, -100vh) scale(0.8);
                visibility: hidden;
            }
        }

        /* ── Pizarra Sintrópica JSXGraph ── */
        .jxgbox {
            background: #0f0f13 !important;
            border: 1px solid #d4af37 !important;
            border-radius: 8px !important;
            overflow: hidden;
        }

        /* ── Capa ASMR Visual: animaciones fluidas y glow effects (global) ── */
        body.visual-asmr .btn-opcion { transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) !important; }
        body.visual-asmr .btn-opcion:hover { box-shadow: 0 0 25px rgba(212, 175, 55, 0.3) !important; transform: scale(1.02) !important; background: rgba(30,30,40,0.9) !important; }

        /* ── HUD de Energía Sintrópica ── */
        .energy-badge {
            background: rgba(212, 175, 55, 0.15);
            border: 1px solid #d4af37;
            color: #d4af37;
            padding: 5px 12px;
            border-radius: 20px;
            font-weight: bold;
            font-size: 0.9em;
            display: flex;
            align-items: center;
            gap: 5px;
            box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
        }

        /* ── Modal Paywall Leyenda Sintrópica ── */
        .modal-overlay {
            position: fixed;
            top: 0; left: 0;
            width: 100%; height: 100%;
            background: rgba(0, 0, 0, 0.75);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 99999;
            backdrop-filter: blur(4px);
        }
        .modal-premium-content {
            background: linear-gradient(145deg, #111, #1a1a1a);
            border: 2px solid #d4af37;
            border-radius: 15px;
            padding: 30px;
            max-width: 400px;
            width: 90%;
            text-align: center;
            box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
        }
        .modal-premium-content h2 {
            color: #d4af37;
            margin-bottom: 10px;
            font-size: 1.5em;
        }
        body.visual-asmr #modalLigas > div, body.visual-asmr #modalPerfil > div { transition: all 0.6s ease-in-out !important; }

        /* ===== MOTOR DE BOTONES DINÁMICOS IN-CHAT ===== */
        .chat-options-container { display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
        .btn-chat-dinamico { background: rgba(212,175,55,0.1); border: 1px solid #d4af37; color: #d4af37; padding: 8px 15px; border-radius: 20px; cursor: pointer; font-size: 0.9em; transition: all 0.3s ease; }
        .btn-chat-dinamico:hover { background: #d4af37; color: #111; box-shadow: 0 0 10px rgba(212,175,55,0.5); }
        .btn-chat-dinamico:disabled { opacity: 0.5; cursor: not-allowed; border-color: #555; color: #555; background: transparent; box-shadow:none; }

        /* ===== RESALTADO DE CASILLAS — CHESSMASTER SEMÁNTICO ===== */
        .highlight-square { box-shadow: inset 0 0 0 4px #ffe600, inset 0 0 12px rgba(255,230,0,0.6) !important; cursor: pointer !important; }

        /* ===== FLASHCARDS SINTRÓPICAS IN-CHAT ===== */
        .flashcard-sintropica { background: linear-gradient(145deg, #151515, #1a1a1a); border-left: 4px solid #d4af37; padding: 15px; border-radius: 8px; margin-top: 15px; margin-bottom: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.4); border-top: 1px solid #333; border-right: 1px solid #333; border-bottom: 1px solid #333; }
        .flashcard-title { color: #d4af37; font-weight: bold; font-size: 1.1em; margin-bottom: 5px; display: flex; align-items: center; gap: 8px; }

        /* ══════════════════════════════════════════════════════════════════
           TRANSICIONES BASE — Permiten animación suave al activar/desactivar
           la identidad visual de cada mentor (ej. .mentoria-polgar)
           ══════════════════════════════════════════════════════════════════ */
        #columna-izquierda {
            transition: all 0.5s ease-in-out;
        }
        #contenedor-board {
            transition: all 0.5s ease-in-out;
        }
        #feedback-ia {
            transition: all 0.5s ease-in-out;
        }
        #globo-dialogo {
            transition: all 0.5s ease-in-out;
        }
        #columna-derecha {
            transition: all 0.5s ease-in-out;
        }

        /* ══════════════════════════════════════════════════════════════════
           INFRAESTRUCTURA MULTIMEDIA — GENESIS V129
           Paneles ocultos (display:none) listos para reproductores de
           audio y video. JS los activa con style.display = 'block'.
           ══════════════════════════════════════════════════════════════════ */
        .multimedia-panel {
            display: none; /* oculto hasta ser invocado por JS */
            position: fixed;
            bottom: 110px;
            right: 20px;
            width: clamp(280px, 90vw, 420px);
            background: var(--panel-bg);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 202, 40, 0.35);
            border-radius: 18px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7),
                        0 0 0 1px rgba(255, 202, 40, 0.08) inset;
            z-index: 9500;
            overflow: hidden;
            animation: multimediaEntrada 0.35s ease-out;
        }

        .multimedia-panel--video {
            bottom: auto;
            top: 50%;
            left: 50%;
            right: auto;
            transform: translate(-50%, -50%);
            width: clamp(300px, 92vw, 700px);
        }

        @keyframes multimediaEntrada {
            from { opacity: 0; transform: translateY(20px) scale(0.97); }
            to   { opacity: 1; transform: translateY(0)   scale(1);    }
        }

        .multimedia-panel--video.multimedia-panel {
            animation: multimediaEntradaCentro 0.35s ease-out;
        }

        @keyframes multimediaEntradaCentro {
            from { opacity: 0; transform: translate(-50%, -46%) scale(0.97); }
            to   { opacity: 1; transform: translate(-50%, -50%) scale(1);    }
        }

        .multimedia-panel__header {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 14px 16px 10px;
            border-bottom: 1px solid rgba(255, 202, 40, 0.15);
        }

        .multimedia-panel__icon {
            font-size: 1.2em;
            flex-shrink: 0;
        }

        .multimedia-panel__title {
            flex: 1;
            font-family: 'Playfair Display', serif;
            font-size: 0.95em;
            color: var(--robles-gold);
            margin: 0;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .multimedia-panel__close {
            background: none;
            border: 1px solid rgba(255, 202, 40, 0.3);
            color: var(--text-muted);
            border-radius: 50%;
            width: 28px;
            height: 28px;
            font-size: 0.8em;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            transition: background 0.2s, color 0.2s, border-color 0.2s;
        }

        .multimedia-panel__close:hover {
            background: rgba(255, 82, 82, 0.15);
            color: #ff5252;
            border-color: #ff5252;
        }

        .multimedia-panel__body {
            padding: 16px;
        }

        .multimedia-panel__body--video {
            padding: 0;
            background: #000;
            aspect-ratio: 16 / 9;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Normaliza cualquier <audio> o <video> inyectado por JS */
        .multimedia-panel__body audio,
        .multimedia-panel__body video {
            width: 100%;
            display: block;
            border-radius: 0;
            outline: none;
            accent-color: var(--robles-gold);
        }

        .multimedia-panel__body audio {
            height: 40px;
            border-radius: 8px;
        }

        .multimedia-panel__footer {
            padding: 8px 16px 12px;
            display: flex;
            justify-content: flex-end;
        }

        .multimedia-panel__badge {
            font-size: 0.75em;
            color: var(--text-muted);
            background: rgba(255, 202, 40, 0.07);
            border: 1px solid rgba(255, 202, 40, 0.15);
            border-radius: 20px;
            padding: 2px 10px;
            letter-spacing: 0.03em;
        }

        @media (max-width: 480px) {
            .multimedia-panel {
                right: 8px;
                left: 8px;
                width: auto;
                bottom: 90px;
            }
            .multimedia-panel--video {
                top: 50%;
                left: 8px;
                right: 8px;
                transform: translateY(-50%);
                width: auto;
            }
        }

/* ── Botón Dorado — Mis Casos Administrativos (Leonor / Decana) ─────────── */
.btn-admin-tickets-gold {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 14px;
    border-radius: 16px;
    background: linear-gradient(135deg, #c8960c 0%, #f5c842 50%, #c8960c 100%);
    color: #1a0e00;
    font-size: 0.78em;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 2px 12px rgba(245, 200, 66, 0.45), inset 0 1px 0 rgba(255,255,255,0.25);
    border: 1.5px solid rgba(200, 150, 12, 0.7);
    transition: box-shadow 0.2s, transform 0.15s, background 0.2s;
    cursor: pointer;
}
.btn-admin-tickets-gold:hover {
    background: linear-gradient(135deg, #e0aa14 0%, #ffe066 50%, #e0aa14 100%);
    box-shadow: 0 4px 20px rgba(245, 200, 66, 0.7), inset 0 1px 0 rgba(255,255,255,0.3);
    transform: scale(1.04);
    color: #120900;
}
        .flashcard-content { color: #ddd; font-size: 0.95em; line-height: 1.5; }