/* 子比 FLV 悬浮直播组件样式 */

.zfe-float-live-btn {
    position: fixed;
    z-index: 99990;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    background: linear-gradient(135deg, #ff4d6d, #f04494);
    color: #fff;
    border-radius: 40px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(240, 68, 148, .45);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    animation: zfe-fll-pulse 1.8s ease-in-out infinite;
    transition: transform .15s ease;
}
.zfe-float-live-btn:hover {
    transform: scale(1.05);
}
.zfe-float-live-btn .zfe-fll-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, .8);
    animation: zfe-fll-blink 1.2s infinite;
}
.zfe-float-live-btn .zfe-fll-label {
    white-space: nowrap;
}

.zfe-pos-br { right: 22px; bottom: 96px; }
.zfe-pos-bl { left: 22px; bottom: 96px; }
.zfe-pos-tr { right: 22px; top: 96px; }
.zfe-pos-tl { left: 22px; top: 96px; }

@keyframes zfe-fll-blink {
    0%   { opacity: 1; }
    50%  { opacity: .25; }
    100% { opacity: 1; }
}
@keyframes zfe-fll-pulse {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-4px); }
}

.zfe-float-live-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none;
}
.zfe-float-live-modal.open {
    display: block;
}
.zfe-fll-mask {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    backdrop-filter: blur(2px);
}
.zfe-fll-panel {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(92vw, 880px);
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .55);
    animation: zfe-fll-show .2s ease;
}
@keyframes zfe-fll-show {
    from { opacity: 0; transform: translate(-50%, -46%) scale(.96); }
    to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.zfe-fll-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 16px;
    background: #141414;
    color: #fff;
}
.zfe-fll-title {
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}
.zfe-fll-title::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff4d6d;
    box-shadow: 0 0 6px #ff4d6d;
}
.zfe-fll-close {
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    padding: 0 6px;
    color: #bbb;
}
.zfe-fll-close:hover { color: #fff; }
.zfe-fll-body {
    background: #000;
}
.zfe-fll-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}
.zfe-fll-dplayer {
    width: 100%;
    height: 100%;
    min-height: 280px;
}
.zfe-fll-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    background: #000;
}
.zfe-fll-loading .zfe-spinner {
    width: 26px;
    height: 26px;
    margin-right: 10px;
    border: 3px solid rgba(255, 255, 255, .3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: zfe-fll-spin .8s linear infinite;
}
@keyframes zfe-fll-spin {
    to { transform: rotate(360deg); }
}

body.zfe-fll-noscroll {
    overflow: hidden;
}
