/* ==========================================================================
   🎙️ JEMMY VOICE SPACE - MAIN LAYOUT & EXPRESSIVE INTERFACES
   ========================================================================== */

/* 1. APP SHELL & CONTAINER */
.app-viewport {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 1.5rem 1rem;
    position: relative;
    z-index: 1;
}

/* Floating Top Bar (Theme, Logo, Info) */
.top-navbar {
    width: 100%;
    max-width: 760px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 0.5rem 0.75rem;
    background: var(--md-sys-color-surface);
    border: 1px solid var(--md-sys-color-surface-container-high);
    border-radius: var(--md-shape-corner-full);
    box-shadow: var(--md-sys-elevation-1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.brand-logo-group {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--md-sys-color-on-surface);
    font-weight: 800;
    font-size: 1.25rem;
}

.brand-logo-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--md-sys-color-romantic-gradient);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(244, 63, 94, 0.35);
}

.top-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* 2. MAIN ROOM STAGE CARD (Modern Glassmorphic Minimalist) */
.room-card-container {
    width: 100%;
    max-width: 760px;
    background: var(--md-sys-color-surface);
    border-radius: var(--md-shape-corner-xl);
    border: 1px solid var(--md-sys-color-surface-container-high);
    box-shadow: 0 12px 36px -4px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    min-height: 580px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* Room Header Inside Card */
.room-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.15rem 1.6rem;
    border-bottom: 1px solid var(--md-sys-color-surface-container-low);
    background: var(--md-sys-color-surface-container-lowest);
    backdrop-filter: blur(8px);
}

.room-title-block {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
    flex: 1;
}

.room-title-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.room-title-text {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--md-sys-color-on-surface);
}

.room-meta-chips {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.room-header-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

/* 3. STAGE & AUDIENCE SECTIONS */
.room-body {
    flex: 1;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    overflow-y: auto;
    max-height: calc(100vh - 280px);
}

.section-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--md-sys-color-on-surface-variant);
    margin-bottom: 1rem;
}

/* Stage grid (Speakers & Host) */
.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 1.5rem;
    justify-items: center;
}

/* Audience grid */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 1.25rem;
    justify-items: center;
}

/* 4. USER AVATAR CARDS & VOICE ACTIVITY DETECTION (VAD) GLOW */
.user-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    cursor: pointer;
    position: relative;
    user-select: none;
    transition: transform 0.2s var(--md-easing-emphasized);
}

.user-node:hover {
    transform: translateY(-3px);
}

.avatar-wrapper {
    position: relative;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.audience-grid .avatar-wrapper {
    width: 64px;
    height: 64px;
}

.avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: var(--md-sys-color-surface-container-high);
    border: 3px solid var(--md-sys-color-surface);
    box-shadow: var(--md-sys-elevation-1);
    position: relative;
    z-index: 2;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* 🌟 Voice Activity Glowing Ripple (VAD) - Luminous Cyan & Sapphire Gradient Aura */
.avatar-vad-pulse {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.user-node.is-speaking .avatar-vad-pulse {
    opacity: 1;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.45) 0%, rgba(14, 165, 233, 0.22) 48%, rgba(99, 102, 241, 0.08) 75%, transparent 100%);
    box-shadow: 0 0 0 2.5px rgba(56, 189, 248, 0.85), 0 0 18px rgba(56, 189, 248, 0.55), 0 0 32px rgba(99, 102, 241, 0.35);
    animation: vadBluishGradientPulse 1.6s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.user-node.is-speaking .avatar-img {
    border-color: #38bdf8 !important;
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.85), 0 0 16px rgba(56, 189, 248, 0.65), 0 0 28px rgba(99, 102, 241, 0.4);
    transform: scale(1.04);
}

@keyframes vadBluishGradientPulse {
    0% {
        transform: scale(0.97);
        box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.75), 0 0 14px rgba(56, 189, 248, 0.4), 0 0 24px rgba(99, 102, 241, 0.25);
    }
    50% {
        transform: scale(1.14);
        box-shadow: 0 0 0 3.5px rgba(56, 189, 248, 0.95), 0 0 24px rgba(56, 189, 248, 0.75), 0 0 42px rgba(129, 140, 248, 0.5);
    }
    100% {
        transform: scale(0.97);
        box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.75), 0 0 14px rgba(56, 189, 248, 0.4), 0 0 24px rgba(99, 102, 241, 0.25);
    }
}

/* Badges on Avatar */
.avatar-badge-bottom {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s ease;
}

.avatar-badge-bottom.muted {
    background: #ef4444;
    color: #ffffff;
    border: 2px solid var(--md-sys-color-surface, #1e1e24);
}

.avatar-badge-bottom.muted svg {
    width: 13px;
    height: 13px;
    display: block;
}

.avatar-badge-bottom.hand {
    background: #f59e0b;
    color: #ffffff;
    border: 2px solid var(--md-sys-color-surface, #1e1e24);
    animation: handWave 1.2s infinite ease-in-out;
}

@keyframes handWave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-15deg); }
    75% { transform: rotate(15deg); }
}

.user-name-text {
    font-size: 0.88rem;
    font-weight: 700;
    max-width: 110px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--md-sys-color-on-surface);
}

.user-role-text {
    font-size: 0.75rem;
    color: var(--md-sys-color-on-surface-variant);
    font-weight: 500;
}

/* 5. BOTTOM CONTROL BAR (Tactile & Ergonomic Dock) */
.room-footer-controls {
    padding: 1rem 1.5rem calc(1rem + env(safe-area-inset-bottom, 0px));
    background: var(--md-sys-color-surface-container-lowest);
    border-top: 1px solid var(--md-sys-color-surface-container-low);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    backdrop-filter: blur(10px);
}

/* The Main Microphone Banner / Pill */
.mic-toggle-main-btn {
    width: 100%;
    padding: 0.8rem 1.4rem;
    font-size: 0.98rem;
    font-weight: 650;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    border-radius: var(--md-shape-corner-full);
    border: none;
    cursor: pointer;
    transition: all 0.2s var(--md-easing-emphasized);
    user-select: none;
    letter-spacing: -0.01em;
}

.mic-toggle-main-btn.active {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    box-shadow: 0 4px 18px rgba(239, 68, 68, 0.4);
}
.mic-toggle-main-btn.active:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 22px rgba(239, 68, 68, 0.5);
}
.mic-toggle-main-btn.active:active {
    transform: scale(0.98);
}

.mic-toggle-main-btn.muted {
    background: var(--md-sys-color-surface-container-high);
    color: var(--md-sys-color-on-surface);
    border: 1px solid var(--md-sys-color-surface-container-highest);
}
.mic-toggle-main-btn.muted:hover {
    background: var(--md-sys-color-surface-container-highest);
    transform: translateY(-1px);
}
.mic-toggle-main-btn.muted:active {
    transform: scale(0.98);
}

/* Secondary Actions Row */
.footer-actions-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
}

.footer-actions-left {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex: 1;
    min-width: 0;
}

.footer-actions-right {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-shrink: 0;
}

/* 6. FLOATING EMOJI REACTIONS (Physics Particles) */
.reactions-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 100;
}

.reaction-particle {
    position: absolute;
    bottom: 90px;
    font-size: 2.25rem;
    opacity: 1;
    transform: translate(-50%, 0) scale(0.6);
    animation: reactionFloat 2.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
}

@keyframes reactionFloat {
    0% {
        opacity: 0;
        transform: translate(-50%, 0) scale(0.4) rotate(0deg);
    }
    15% {
        opacity: 1;
        transform: translate(-50%, -40px) scale(1.3) rotate(var(--rot, 10deg));
    }
    70% {
        opacity: 0.9;
        transform: translate(calc(-50% + var(--drift, 20px)), -260px) scale(1) rotate(var(--rot2, -15deg));
    }
    100% {
        opacity: 0;
        transform: translate(calc(-50% + var(--drift, 40px)), -420px) scale(0.7) rotate(var(--rot3, 25deg));
    }
}

/* Quick Reaction Popover Bar */
.reaction-popover {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(10px) scale(0.9);
    background: var(--md-sys-color-surface);
    border: 1px solid var(--md-sys-color-surface-container-high);
    border-radius: var(--md-shape-corner-full);
    box-shadow: var(--md-sys-elevation-3);
    padding: 0.4rem 0.6rem;
    display: flex;
    gap: 0.4rem;
    z-index: 110;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s var(--md-easing-emphasized);
}

.reaction-popover.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0) scale(1);
}

.reaction-emoji-btn {
    font-size: 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease, background-color 0.15s ease;
}

.reaction-emoji-btn:hover {
    transform: scale(1.3);
    background: var(--md-sys-color-surface-container);
}

/* 7. SOUNDBOARD GRID */
.soundboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.soundboard-item-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.85rem 0.5rem;
    border-radius: var(--md-shape-corner-md);
    background: var(--md-sys-color-surface-container-low);
    color: var(--md-sys-color-on-surface);
    border: 1.5px solid var(--md-sys-color-surface-container-high);
    cursor: pointer;
    transition: all 0.18s var(--md-easing-emphasized);
    font-weight: 600;
    font-size: 0.88rem;
}

.soundboard-item-btn span.emoji {
    font-size: 1.8rem;
}

.soundboard-item-btn:hover {
    background: var(--md-sys-color-primary-container);
    color: var(--md-sys-color-on-primary-container);
    border-color: var(--md-sys-color-primary);
    transform: translateY(-2px);
    box-shadow: var(--md-sys-elevation-2);
}

.soundboard-item-btn:active {
    transform: scale(0.95);
}

/* 8. WHEEL OF FORTUNE (Section 6.2 of guidelines) */
.roulette-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0;
}

.roulette-canvas-box {
    position: relative;
    width: 320px;
    height: 320px;
}

#rouletteCanvas {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    box-shadow: var(--md-sys-elevation-3);
}

.roulette-pointer {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-top: 24px solid var(--md-sys-color-romantic);
    filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.4));
    z-index: 10;
}

/* 9. CANVAS HD VIP PASS TICKET (Section 6.4 of guidelines) */
.ticket-preview-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    overflow-x: auto;
    padding: 0.5rem 0;
}

#ticketCanvas {
    max-width: 100%;
    height: auto;
    border-radius: var(--md-shape-corner-md);
    box-shadow: var(--md-sys-elevation-3);
}

/* 10. IN-ROOM LIVE CHAT DRAWER */
.chat-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 1450;
}

.chat-drawer-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.chat-drawer {
    position: fixed;
    top: 0;
    right: -380px;
    width: 360px;
    height: 100vh;
    height: 100dvh;
    background: var(--md-sys-color-surface);
    border-left: 1px solid var(--md-sys-color-surface-container-high);
    box-shadow: var(--md-sys-elevation-4);
    z-index: 1500;
    display: flex;
    flex-direction: column;
    transition: right 0.3s var(--md-easing-emphasized);
}

.chat-drawer.open {
    right: 0;
}

.chat-drawer-header {
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--md-sys-color-surface-container-low);
}

.chat-messages-scroll {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.chat-message-bubble {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    background: var(--md-sys-color-surface-container-low);
    padding: 0.6rem 0.85rem;
    border-radius: 12px;
    border: 1px solid var(--md-sys-color-surface-container-high);
    font-size: 0.9rem;
    word-break: break-word;
}

.chat-message-bubble.mine {
    background: var(--md-sys-color-primary-container);
    color: var(--md-sys-color-on-primary-container);
    align-self: flex-end;
}

.chat-bubble-sender {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--md-sys-color-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.chat-bubble-time {
    font-size: 0.65rem;
    font-weight: 400;
    opacity: 0.7;
}

.chat-message-bubble.mine .chat-bubble-sender {
    color: var(--md-sys-color-on-primary-container);
}

.chat-drawer-footer {
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--md-sys-color-surface-container-low);
    display: flex;
    gap: 0.5rem;
}

/* 11. KNOCKING (WAITING ROOM) BANNER & PROMPTS */
.knocking-banner {
    background: var(--md-sys-color-warning-container);
    color: var(--md-sys-color-on-warning-container);
    padding: 0.75rem 1.25rem;
    border-radius: var(--md-shape-corner-md);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    animation: fadeIn 0.3s ease;
}

.waiting-ring-pulse {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 3px solid rgba(56, 189, 248, 0.75);
    animation: waitingRingAura 2s infinite ease-out;
}

@keyframes waitingRingAura {
    0% { transform: scale(0.9); opacity: 0.9; }
    50% { transform: scale(1.25); opacity: 0.35; }
    100% { transform: scale(1.45); opacity: 0; }
}

.waiting-dots .dot-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--md-sys-color-primary);
    animation: waitingDotBounce 1.4s infinite ease-in-out both;
}
.waiting-dots .dot-pulse:nth-child(1) { animation-delay: -0.32s; }
.waiting-dots .dot-pulse:nth-child(2) { animation-delay: -0.16s; }
@keyframes waitingDotBounce {
    0%, 80%, 100% { transform: scale(0.5); opacity: 0.35; }
    40% { transform: scale(1.2); opacity: 1; }
}

/* 12. WELCOME / JOIN CARD (When not yet inside) */
.welcome-card-body {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.welcome-hero-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--md-sys-color-romantic-gradient);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: 0 8px 24px rgba(244, 63, 94, 0.4);
}

.avatar-selection-row {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.avatar-choice {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    object-fit: cover;
    transition: all 0.2s ease;
}

.avatar-choice:hover {
    transform: scale(1.1);
}

.avatar-choice.selected {
    border-color: var(--md-sys-color-primary);
    transform: scale(1.15);
    box-shadow: 0 0 12px var(--md-sys-color-primary);
}

/* 13. SCREEN SHARING SPOTLIGHT STAGE (Multi-Share Support) */
.screen-share-stage {
    width: 100%;
    background: #090b10;
    border-radius: var(--md-shape-corner-md);
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    margin-bottom: 1.25rem;
    display: none;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.screen-share-stage.active {
    display: block;
}

/* Top Bar & Tabs */
.screen-share-top-bar {
    position: absolute;
    top: 10px;
    left: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    z-index: 10;
    pointer-events: none;
}

.screen-share-tabs {
    display: flex;
    gap: 0.4rem;
    overflow-x: auto;
    max-width: 80%;
    pointer-events: auto;
    scrollbar-width: none;
}
.screen-share-tabs::-webkit-scrollbar {
    display: none;
}

.screen-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(18, 22, 32, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.32rem 0.75rem;
    border-radius: var(--md-shape-corner-full);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.screen-tab-btn:hover {
    background: rgba(30, 41, 59, 0.9);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
}

.screen-tab-btn.active {
    background: var(--md-sys-color-primary, #aec6ff);
    color: var(--md-sys-color-on-primary, #002e69);
    border-color: var(--md-sys-color-primary, #aec6ff);
    box-shadow: 0 2px 10px rgba(174, 198, 255, 0.35);
}

.screen-share-counter {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: var(--md-shape-corner-full);
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: auto;
}

/* Viewport with Previous / Next Arrows */
.screen-share-viewport {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.screen-share-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000000;
}

.screen-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(18, 22, 32, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.screen-nav-btn.prev {
    left: 12px;
}

.screen-nav-btn.next {
    right: 12px;
}

.screen-nav-btn:hover {
    background: rgba(30, 41, 59, 0.95);
    transform: translateY(-50%) scale(1.08);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Sleek Floating Bottom-Right Controls */
.screen-share-controls {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 10;
    background: rgba(15, 20, 30, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.3rem 0.5rem;
    border-radius: var(--md-shape-corner-full);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.screen-ctrl-btn {
    height: 34px;
    padding: 0 0.65rem;
    border-radius: var(--md-shape-corner-full);
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.screen-ctrl-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: scale(1.03);
}

.screen-ctrl-btn.screen-ctrl-danger {
    background: #dc2626;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4);
}

.screen-ctrl-btn.screen-ctrl-danger:hover {
    background: #ef4444;
    transform: scale(1.03);
}

/* 14. SETTINGS MODAL & TABS */
.settings-tabs-row {
    display: flex;
    gap: 0.5rem;
    border-bottom: 1.5px solid var(--md-sys-color-surface-container-high);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.settings-tab-btn {
    padding: 0.5rem 1rem;
    border-radius: var(--md-shape-corner-full);
    background: transparent;
    color: var(--md-sys-color-on-surface-variant);
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.settings-tab-btn.active {
    background: var(--md-sys-color-primary-container);
    color: var(--md-sys-color-on-primary-container);
}

.settings-tab-pane {
    display: none;
    flex-direction: column;
    gap: 1rem;
}

.settings-tab-pane.active {
    display: flex;
}

/* Live Mic Meter */
.mic-meter-box {
    width: 100%;
    height: 14px;
    background: var(--md-sys-color-surface-container-highest);
    border-radius: var(--md-shape-corner-full);
    overflow: hidden;
    position: relative;
    margin-top: 0.4rem;
}

.mic-meter-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #10b981 0%, #fbbf24 70%, #ef4444 100%);
    border-radius: var(--md-shape-corner-full);
    transition: width 0.08s ease-out;
}

/* Volume Slider */
.volume-slider-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

.m3-range-slider {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: var(--md-sys-color-surface-container-highest);
    accent-color: var(--md-sys-color-primary);
    outline: none;
}

/* ==========================================================================
   15. MOBILE RESPONSIVENESS & TOUCH OPTIMIZATIONS (Section 7)
   ========================================================================== */

@media (max-width: 768px) {
    .app-viewport {
        padding: 0.4rem 0.4rem calc(16px + env(safe-area-inset-bottom, 0px));
        max-width: 100vw;
    }

    .top-navbar {
        padding: 0.4rem 0.6rem;
        margin-bottom: 0.4rem;
    }

    .brand-logo-icon {
        width: 32px;
        height: 32px;
        font-size: 0.95rem;
    }

    .brand-logo-group {
        font-size: 1.15rem;
    }

    .room-card-container {
        border-radius: var(--md-shape-corner-lg);
        min-height: calc(100dvh - 68px);
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
    }

    .room-header {
        padding: 0.85rem 1rem;
        gap: 0.5rem;
    }

    .room-title-text {
        font-size: 1.15rem;
        max-width: calc(100vw - 120px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .room-meta-chips {
        gap: 0.35rem;
    }

    .room-body {
        padding: 1rem 0.85rem;
        gap: 1.25rem;
        max-height: calc(100dvh - 210px);
    }

    .speakers-grid {
        grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
        gap: 1rem 0.5rem;
    }

    .audience-grid {
        grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
        gap: 0.75rem 0.5rem;
    }

    .avatar-wrapper {
        width: 72px;
        height: 72px;
    }

    .audience-grid .avatar-wrapper {
        width: 58px;
        height: 58px;
    }

    .user-name-text {
        max-width: 84px;
        font-size: 0.8rem;
    }

    .audience-grid .user-name-text {
        max-width: 68px;
        font-size: 0.72rem;
    }

    .room-footer-controls {
        padding: 0.75rem 0.85rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
        gap: 0.6rem;
    }

    .mic-toggle-main-btn {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
        min-height: 48px;
    }

    .footer-actions-row {
        gap: 0.35rem;
    }

    .footer-actions-left {
        gap: 0.3rem;
    }

    .footer-actions-left .btn-m3-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 1.15rem;
    }

    .footer-actions-right {
        gap: 0.35rem;
    }

    .footer-actions-right .btn-m3-tonal,
    .footer-actions-right .btn-m3-danger {
        padding: 0.45rem 0.75rem;
        font-size: 0.82rem;
        min-height: 40px;
    }

    .reaction-popover {
        bottom: 72px;
        max-width: calc(100vw - 20px);
        padding: 0.35rem 0.5rem;
        gap: 0.25rem;
    }

    .reaction-emoji-btn {
        width: 36px;
        height: 36px;
        font-size: 1.35rem;
    }

    .chat-drawer {
        width: 100vw;
        right: -100vw;
        box-shadow: none;
    }

    /* Modals become smooth bottom sheets on mobile */
    .m3-modal-overlay {
        padding: 0;
        align-items: flex-end;
    }

    .m3-modal-creative-card {
        border-radius: 22px 22px 0 0;
        max-width: 100%;
        max-height: 90dvh;
        border-bottom: none;
        transform: translateY(100%);
    }

    .m3-modal-overlay.active .m3-modal-creative-card {
        transform: translateY(0);
    }

    .m3-modal-backdrop-wrap {
        height: 84px;
        border-radius: 22px 22px 0 0;
    }

    .m3-modal-header-row {
        margin-top: -42px;
        gap: 0.75rem;
    }

    .m3-floating-hero-avatar {
        width: 68px;
        height: 68px;
        border-width: 3px;
    }

    .m3-modal-content {
        padding: 0.85rem 1.1rem calc(1.1rem + env(safe-area-inset-bottom, 0px));
    }

    .peer-modal-backdrop-wrap {
        height: 90px;
    }

    .peer-hero-avatar-row {
        margin-top: -44px;
        gap: 0.85rem;
    }

    .peer-enlarged-avatar-wrap {
        width: 80px;
        height: 80px;
    }

    .peer-profile-name {
        font-size: 1.15rem;
    }

    .soundboard-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .roulette-canvas-box, #rouletteCanvas {
        width: 260px;
        height: 260px;
    }

    .crop-viewport-container {
        width: 250px;
        height: 250px;
    }

    .crop-circle-mask {
        top: 15px;
        left: 15px;
        width: 220px;
        height: 220px;
    }

    .toast-container {
        top: 12px;
        left: 12px;
        right: 12px;
        width: auto;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .app-viewport {
        padding: 0 0 calc(12px + env(safe-area-inset-bottom, 0px));
    }

    .top-navbar {
        padding: 0.35rem 0.5rem;
        margin-bottom: 0.2rem;
    }

    .room-card-container {
        border-radius: 16px 16px 0 0;
        min-height: calc(100dvh - 52px);
    }

    .footer-actions-right #leaveRoomBtn span:last-child {
        display: none; /* Icon-only on very compact screens */
    }

    .footer-actions-right #leaveRoomBtn {
        padding: 0.45rem 0.6rem;
    }

    .footer-actions-right #chatToggleBtn span:first-child {
        font-size: 0.82rem;
    }
}

/* ==========================================================================
   16. AVATAR CROP & FIT STYLING (Material 3 Expressive)
   ========================================================================== */

.crop-viewport-container {
    position: relative;
    width: 300px;
    height: 300px;
    max-width: 100%;
    margin: 0.5rem auto 1.25rem;
    border-radius: var(--md-shape-corner-lg);
    overflow: hidden;
    background: #0d0f12;
    box-shadow: inset 0 0 0 1px var(--md-sys-color-surface-container-highest), var(--md-sys-elevation-2);
    touch-action: none;
    user-select: none;
    cursor: grab;
}

.crop-viewport-container:active {
    cursor: grabbing;
}

.crop-canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.crop-circle-mask {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    pointer-events: none;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.65), 0 0 0 2px var(--md-sys-color-primary);
    transition: border-color 0.2s;
}

.crop-drag-hint {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.72rem;
    font-weight: 500;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.7);
    padding: 3px 12px;
    border-radius: 999px;
    pointer-events: none;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    white-space: nowrap;
}

.crop-controls-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--md-sys-color-surface-container);
    padding: 0.6rem 0.9rem;
    border-radius: var(--md-shape-corner-md);
    margin-bottom: 1rem;
    border: 1px solid var(--md-sys-color-surface-container-high);
}

.crop-slider {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: var(--md-sys-color-surface-container-highest);
    accent-color: var(--md-sys-color-primary);
    cursor: pointer;
    outline: none;
}

.crop-preview-row {
    display: flex;
    align-items: center;
    justify-content: center;
}

.crop-preview-badge {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: var(--md-sys-color-surface-container-low);
    border: 1px solid var(--md-sys-color-surface-container-high);
    padding: 0.6rem 1.1rem;
    border-radius: var(--md-shape-corner-lg);
    box-shadow: var(--md-sys-elevation-1);
}

.crop-preview-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2.5px solid var(--md-sys-color-primary);
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.35);
    background: #111;
    display: block;
}

/* ==========================================================================
   17. PEER MINI-PROFILE & PARTICIPANT MODAL
   ========================================================================== */

.peer-profile-modal-card {
    border-radius: var(--md-shape-corner-xl);
    overflow: hidden;
    background: var(--md-sys-color-surface-container);
    border: 1px solid var(--md-sys-color-surface-container-high);
    box-shadow: var(--md-sys-elevation-4), 0 20px 50px rgba(0, 0, 0, 0.5);
}

.peer-modal-backdrop-wrap {
    height: 120px;
    position: relative;
    overflow: hidden;
    background: var(--md-sys-color-surface-container-high);
}

.peer-modal-backdrop-wrap .m3-modal-backdrop-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(24px) brightness(0.65) saturate(1.6);
    transform: scale(1.25);
}

.peer-modal-backdrop-wrap .m3-modal-backdrop-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, var(--md-sys-color-surface-container) 100%);
}

.peer-hero-avatar-row {
    display: flex;
    align-items: flex-end;
    gap: 1.1rem;
    margin-top: -54px;
    position: relative;
    z-index: 3;
    padding: 0 0.25rem;
}

.peer-enlarged-avatar-wrap {
    position: relative;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.28s ease;
}

.peer-enlarged-avatar-wrap:hover {
    transform: scale(1.06);
}

.peer-enlarged-avatar-wrap.expanded {
    transform: scale(1.4) translateY(-14px);
    z-index: 20;
}

.peer-enlarged-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3.5px solid var(--md-sys-color-surface-container);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 0 16px rgba(56, 189, 248, 0.25);
    background: var(--md-sys-color-surface);
    display: block;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.peer-enlarged-avatar-wrap:hover .peer-enlarged-avatar-img {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 24px rgba(56, 189, 248, 0.5);
    border-color: var(--md-sys-color-primary);
}

.peer-avatar-status-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    background: var(--md-sys-color-surface-container-highest);
    border: 2px solid var(--md-sys-color-surface-container);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    z-index: 4;
}

.peer-avatar-status-badge.muted {
    background: rgba(239, 68, 68, 0.25);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.5);
}

.peer-avatar-status-badge.active {
    background: rgba(16, 185, 129, 0.25);
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.5);
}

.peer-avatar-status-badge.hand {
    background: rgba(245, 158, 11, 0.25);
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.5);
}

.peer-hero-title-col {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
    padding-bottom: 0.25rem;
}

.peer-profile-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--md-sys-color-on-surface);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.25;
}

.peer-profile-role-badge {
    display: inline-flex;
    align-items: center;
}

.peer-status-pill-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.4rem;
}

.peer-volume-card {
    background: var(--md-sys-color-surface-container-low);
    border: 1px solid var(--md-sys-color-surface-container-high);
    border-radius: var(--md-shape-corner-md);
    padding: 0.75rem 0.9rem;
    margin-top: 0.35rem;
    transition: border-color 0.2s ease;
}

.peer-volume-card:hover {
    border-color: rgba(56, 189, 248, 0.3);
}

.volume-slider-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.4rem;
}

/* ==========================================================================
   18. ROOM MUSIC JUKEBOX & YOUTUBE PLAYER STYLING
   ========================================================================== */

/* Floating Music Bar across the bottom of the room */
.floating-music-bar {
    position: sticky;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    margin: 0.5rem 0.75rem 0.75rem;
    padding: 0.65rem 1rem;
    border-radius: var(--md-shape-corner-lg);
    background: rgba(18, 24, 38, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(56, 189, 248, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 18px rgba(56, 189, 248, 0.2);
    display: none;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    z-index: 45;
    animation: floatBarSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease;
    box-sizing: border-box;
}

.floating-music-bar:hover {
    transform: translateY(-2px);
    border-color: rgba(56, 189, 248, 0.7);
}

.floating-music-bar.active {
    display: flex !important;
}

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

.float-music-left {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
    flex: 1;
}

.float-music-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 2px;
}

.float-music-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--md-sys-color-primary, #38bdf8);
    line-height: 1.1;
}

.float-music-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--md-sys-color-on-surface, #f1f5f9);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.float-music-right {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.45rem;
    flex-shrink: 0;
}

.btn-music-ctrl {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--md-sys-color-surface-container-high);
    border: 1px solid var(--md-sys-color-surface-container-highest);
    color: var(--md-sys-color-on-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-music-ctrl:hover {
    background: var(--md-sys-color-primary-container);
    color: var(--md-sys-color-on-primary-container);
    transform: scale(1.08);
}

.btn-music-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid transparent;
    color: var(--md-sys-color-on-surface-variant);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-music-close:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

/* Animated Soundwave Equalizer */
.music-eq-visualizer {
    display: inline-flex;
    align-items: flex-end;
    gap: 3px;
    height: 18px;
    padding: 2px 4px;
}

.music-eq-visualizer .eq-bar {
    width: 3.5px;
    height: 4px;
    border-radius: 2px;
    background: var(--md-sys-color-primary);
    transition: height 0.2s ease;
}

.music-eq-visualizer.animating .eq-bar {
    animation: eqBounce 1.2s infinite ease-in-out alternate;
}

.music-eq-visualizer.animating .bar-1 { animation-delay: 0.0s; }
.music-eq-visualizer.animating .bar-2 { animation-delay: 0.2s; }
.music-eq-visualizer.animating .bar-3 { animation-delay: 0.4s; }
.music-eq-visualizer.animating .bar-4 { animation-delay: 0.15s; }

@keyframes eqBounce {
    0% { height: 4px; opacity: 0.5; }
    50% { height: 16px; opacity: 1; }
    100% { height: 8px; opacity: 0.8; }
}

/* Music Modal Cards & Presets */
.music-player-current-card {
    background: var(--md-sys-color-surface-container-high);
    border: 1px solid var(--md-sys-color-surface-container-highest);
    border-radius: var(--md-shape-corner-lg);
    padding: 0.9rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.music-current-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--md-sys-color-on-surface);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.music-ctrl-btn-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.2rem;
}

.music-volume-section {
    background: var(--md-sys-color-surface-container-low);
    border: 1px solid var(--md-sys-color-surface-container-high);
    border-radius: var(--md-shape-corner-md);
    padding: 0.75rem 0.9rem;
}

.music-input-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.music-presets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.5rem;
}

.music-preset-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.85rem;
    background: var(--md-sys-color-surface-container);
    border: 1px solid var(--md-sys-color-surface-container-high);
    border-radius: var(--md-shape-corner-md);
    color: var(--md-sys-color-on-surface);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s var(--md-easing-emphasized);
}

.music-preset-chip:hover {
    background: var(--md-sys-color-primary-container);
    color: var(--md-sys-color-on-primary-container);
    border-color: var(--md-sys-color-primary);
    transform: translateY(-1px);
}

/* Floating YouTube Mini-Player Dock */
.music-floating-player {
    position: fixed;
    bottom: 85px;
    right: 18px;
    width: 290px;
    height: 198px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(56, 189, 248, 0.35);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(56, 189, 248, 0.15);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.music-floating-player.minimized {
    height: 38px;
    width: 200px;
}

.music-floating-player.minimized .music-player-iframe-slot {
    height: 0;
    opacity: 0.01;
    pointer-events: none;
}

.music-floating-header {
    height: 38px;
    padding: 0 0.65rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(30, 41, 59, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
    user-select: none;
}

.music-floating-title-box {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
    flex: 1;
}

.music-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px #22c55e;
    flex-shrink: 0;
}

.music-floating-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: #f8fafc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.music-floating-actions {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.btn-floating-mini {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    transition: background 0.2s ease, color 0.2s ease;
}

.btn-floating-mini:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.music-player-iframe-slot {
    flex: 1;
    width: 100%;
    height: 160px;
    background: #000;
    position: relative;
}

.music-player-iframe-slot iframe {
    width: 100% !important;
    height: 100% !important;
    border: none;
}

@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 8px rgba(236, 72, 153, 0);
    }
}



