button.flt-close,
button.flt-minimized-bubble,
button.flt-modal-close {
    all: unset !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    outline: none !important;
}
.flt-init-hidden {
    display: none !important;
}
.flt-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 220px;
    aspect-ratio: 9 / 16;
    z-index: 999990;
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 16px;
    box-shadow: 0 15px 40px -10px rgba(0,0,0,0.5);
}
.flt-container.flt-show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.flt-container.flt-hidden {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(50px) scale(0.8) !important;
}
.flt-inner {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background: #1a1a1a;
    display: block;
    text-decoration: none;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
    cursor: pointer;
}
.flt-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}
.flt-inner:hover .flt-bg-image {
    transform: scale(1.08);
}
.flt-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 25%, rgba(0,0,0,0) 70%, rgba(0,0,0,0.7) 100%);
    pointer-events: none;
    transition: opacity 0.3s;
}
.flt-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(45deg, #ff0050, #ff0050);
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(255,0,80,0.5);
    z-index: 2;
    animation: fltLiveGlow 2s infinite alternate;
}
@keyframes fltLiveGlow {
    from { box-shadow: 0 0 4px rgba(255,0,80,0.5); }
    to { box-shadow: 0 0 12px rgba(255,0,80,1); }
}
.flt-live-bars {
    display: flex;
    align-items: flex-end;
    height: 10px;
    margin-right: 5px;
    gap: 2px;
}
.flt-bar {
    width: 2px;
    background-color: #fff;
    border-radius: 1px;
    animation: fltSoundWave 1.2s infinite ease-in-out;
    transform-origin: bottom;
}
.flt-bar:nth-child(1) { height: 60%; animation-delay: -1.2s; }
.flt-bar:nth-child(2) { height: 100%; animation-delay: -0.9s; }
.flt-bar:nth-child(3) { height: 70%; animation-delay: -0.6s; }
@keyframes fltSoundWave {
    0%, 100% { transform: scaleY(0.4); }
    50% { transform: scaleY(1); }
}
button.flt-close {
    position: absolute !important;
    top: 6px !important;
    right: 6px !important;
    width: 32px !important;
    height: 32px !important;
    background: rgba(0,0,0,0.55) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    border-radius: 50% !important;
    color: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    transition: background 0.2s, transform 0.2s !important;
    z-index: 10 !important;
}
button.flt-close:hover {
    background: rgba(0,0,0,0.8) !important;
    transform: scale(1.1) !important;
}
button.flt-close svg {
    width: 16px !important;
    height: 16px !important;
    stroke-width: 2.5 !important;
    pointer-events: none !important;
}
button.flt-minimized-bubble {
    position: fixed !important;
    bottom: 30px !important;
    left: 30px !important;
    width: 56px !important;
    height: 56px !important;
    background: #ff0050 !important;
    border-radius: 50% !important;
    z-index: 999980 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(255,0,80,0.4) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: scale(0.5) !important;
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), visibility 0.4s !important;
}
button.flt-minimized-bubble.flt-show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: scale(1) !important;
}
button.flt-minimized-bubble svg {
    width: 28px !important;
    height: 28px !important;
    z-index: 2 !important;
    fill: currentColor !important;
    pointer-events: none !important;
}
button.flt-minimized-bubble::before,
button.flt-minimized-bubble::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
    border-radius: 50% !important;
    border: 2px solid #ff0050 !important;
    animation: fltRadar 2s infinite ease-out !important;
    pointer-events: none !important;
    box-sizing: border-box !important;
}
button.flt-minimized-bubble::after {
    animation-delay: 1s !important;
}
@keyframes fltRadar {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.8); opacity: 0; }
}
button.flt-minimized-bubble.flt-shake {
    animation: fltShake 3s infinite ease-in-out !important;
}
@keyframes fltShake {
    0%, 90% { transform: rotate(0) scale(1); }
    92% { transform: rotate(10deg) scale(1.1); }
    94% { transform: rotate(-10deg) scale(1.1); }
    96% { transform: rotate(10deg) scale(1.1); }
    98% { transform: rotate(-10deg) scale(1.1); }
    100% { transform: rotate(0) scale(1); }
}
body.flt-modal-open {
    overflow: hidden !important;
}
.flt-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 9999999;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overscroll-behavior: none;
    touch-action: none;
}
.flt-modal.flt-active {
    visibility: visible;
    opacity: 1;
}
.flt-modal-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 10, 10, 0.95);
}
.flt-modal-header {
    position: absolute; top: 0; left: 0; width: 100%;
    padding: 20px 30px;
    display: flex; justify-content: space-between; align-items: center;
    box-sizing: border-box; z-index: 60;
}
.flt-modal-logo img {
    height: 30px; width: auto; opacity: 0.8;
}
button.flt-modal-close {
    width: 44px !important;
    height: 44px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    font-size: 36px !important; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important; z-index: 100 !important;
}
button.flt-modal-close:hover {
    color: #ff0050 !important;
    transform: scale(1.1) rotate(90deg) !important;
}
.flt-modal-body {
    position: relative;
    width: 90%; max-width: 1000px;
    display: flex; align-items: center; justify-content: center;
    z-index: 10;
}
.flt-video-container {
    width: 100%; padding-top: 56.25%;
    border-radius: 12px; overflow: hidden; background: #000;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6); position: relative;
}
.flt-iframe-target {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}
.flt-iframe-target iframe {
    width: 100%; height: 100%; border: none; display: block;
}
.flt-loading-spinner {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 40px; height: 40px;
    border: 3px solid rgba(255,255,255,0.2); border-top: 3px solid #ff0050; border-radius: 50%;
    animation: fltSpin 1s linear infinite; z-index: 0;
}
@keyframes fltSpin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}
@media (max-width: 768px) {
    .flt-container {
        width: 140px;
        bottom: 20px;
        left: 20px;
    }
    button.flt-close {
        width: 38px !important;
        height: 38px !important;
        top: 6px !important;
        right: 6px !important;
    }
    button.flt-close svg {
        width: 18px !important;
        height: 18px !important;
    }
    .flt-badge {
        top: 8px; left: 8px;
        padding: 3px 6px;
        font-size: 10px;
    }
    .flt-live-bars { margin-right: 4px; height: 9px; }
    button.flt-minimized-bubble {
        bottom: 20px !important;
        left: 20px !important;
        width: 48px !important;
        height: 48px !important;
    }
    .flt-modal-body { width: 100%; }
    .flt-video-container { border-radius: 0; }
    .flt-modal-header { padding: 15px 20px; }
    button.flt-modal-close {
        width: 38px !important;
        height: 38px !important;
    }
    button.flt-modal-close svg {
        width: 24px !important;
        height: 24px !important;
    }
}
