/* GHC Audio Guide — minimal styles; most UI is Tailwind via inline classes */

[x-cloak] { display: none !important; }

/* Player sits at the very bottom — mobile-bottom-bar is hidden on audio guide page */
#ghc-audio-player {
    bottom: 0;
}

/* Smooth expand/collapse transition */
#ghc-audio-player .ghc-player-body {
    transition: max-height 0.3s ease, opacity 0.25s ease;
    overflow: hidden;
}
#ghc-audio-player .ghc-player-body[style*="display: none"] {
    max-height: 0;
    opacity: 0;
}

/* Progress bar cursor */
.ghc-progress {
    cursor: pointer;
    user-select: none;
}
.ghc-progress:hover .ghc-progress-fill {
    background-color: #E0A93B;
    filter: brightness(1.1);
}

/* Language pills horizontal scroll on mobile */
.ghc-lang-row {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.ghc-lang-row::-webkit-scrollbar { display: none; }

/* RTL languages (Arabic, Persian) */
[dir="rtl"] #ghc-audio-player { direction: rtl; }
