        body {
            font-family: 'Inter', sans-serif;
        }

        .font-display {
            font-family: 'Orbitron', sans-serif;
        }

        /* Custom styles for the player */
        #alpha-tab-container .at-surface {
            box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px #0000001a;
            border-radius: 0.5rem;
        }

        /* Styles for the playback cursor */
        #alpha-tab-container .at-cursor-bar {
            background: rgba(253, 224, 71, 0.15);
        }

        #alpha-tab-container .at-cursor-beat {
            background: rgba(250, 204, 21, 0.6);
            width: 3px;
        }

        /* Style for the loop selection overlay */
        #alpha-tab-container .at-selection div {
            background: rgba(59, 130, 246, 0.25);
        }

        .player-controls button {
            transition: all 0.2s ease-in-out;
        }

        .player-controls button:disabled {
            cursor: not-allowed;
            opacity: 0.5;
        }

        /* Custom scrollbar for dark theme */
        ::-webkit-scrollbar {
            width: 12px;
        }

        ::-webkit-scrollbar-track {
            background: #1f2937;
        }

        ::-webkit-scrollbar-thumb {
            background-color: #4b5563;
            border-radius: 20px;
            border: 3px solid #1f2937;
        }

        /* Fix text selection z-index issues */
        ::selection {
            background-color: rgba(59, 130, 246, 0.3);
            color: inherit;
        }

        ::-moz-selection {
            background-color: rgba(59, 130, 246, 0.3);
            color: inherit;
        }

        /* Prevent text selection on modal overlays */
        .modal-overlay {
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
        }

        /* Ensure modals have proper z-index hierarchy */
        .modal-container {
            z-index: 9999 !important;
            position: relative;
        }

        /* Prevent selection highlight from appearing over modals */
        body.modal-open ::selection {
            background-color: transparent;
        }

        body.modal-open ::-moz-selection {
            background-color: transparent;
        }

        /* Toast notification styles */
        .toast-container {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 10000;
            pointer-events: none;
        }

        .toast {
            pointer-events: auto;
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
            color: white;
            padding: 16px 24px;
            border-radius: 12px;
            margin-bottom: 12px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 6px 12px rgba(16, 185, 129, 0.2);
            display: flex;
            align-items: center;
            gap: 12px;
            min-width: 300px;
            max-width: 400px;
            animation: slideIn 0.3s ease-out;
            font-weight: 500;
        }

        .toast.fade-out {
            animation: fadeOut 0.3s ease-out forwards;
        }

        .toast-icon {
            font-size: 24px;
            flex-shrink: 0;
        }

        .toast-message {
            flex: 1;
        }

        @keyframes slideIn {
            from {
                transform: translateX(400px);
                opacity: 0;
            }

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

        @keyframes fadeOut {
            to {
                opacity: 0;
                transform: translateX(400px);
            }
        }

        /* Floating Playback Controls */
        .floating-controls {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            z-index: 9000;
            background: rgba(15, 23, 42, 0.95);
            /* Slate-900 with opacity */
            backdrop-filter: blur(8px);
            border-top: 1px solid #334155;
            /* Slate-700 */
            padding: 1rem;
            box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1), 0 -2px 4px -1px rgba(0, 0, 0, 0.06);
            display: flex;
            justify-content: center;
        }

        .floating-controls-inner {
            width: 100%;
            max-width: 56rem;
            /* max-w-4xl to match container */
            margin: 0 auto;
        }

        /* Adjustments for the controls when floating */
        .floating-controls h3 {
            display: none;
            /* Hide the header "2. Playback Controls" when floating to save space */
        }

        /* Extracted Inline Styles */
        .modal-z-index {
            z-index: 9999 !important;
        }

        /* Fretboard Legend Items */
        .legend-dot-lick {
            background: #FF4444;
            border: 1px solid #FFF;
        }

        .legend-dot-scale {
            background: #4444FF;
            border: 1px solid #FFF;
        }

        .legend-item-lick {
            background: #FF4444;
            border: 2px solid #FFF;
        }

        .legend-item-scale {
            background: #4444FF;
            border: 1px solid #FFF;
        }

        .legend-item-root {
            background: #FFD700;
            border: 1px solid #FF8C00;
        }

        .legend-item-fret {
            background: #888;
            border: 1px solid #AAA;
        }