:root {
    --neon-blue: #00f3ff;
    --neon-purple: #bc13fe;
    --neon-pink: #ff00ff;
    --dark-space: #0a0a1a;
    --hud-green: #00ff41;
  }
/* 主容器 - 赛博朋克风格 */
.draggable-video {
    position: absolute;
    width: 298px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(0, 247, 255, 0.5);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(145deg, #111122, #0a0a1a);
    z-index: 1000001;
    cursor: move;
    border: 1px solid rgba(0, 243, 255, 0.3);
    right: 0;
    bottom:26%;
    display: none;
  }


  
  /* 全屏模式 */
  .draggable-video.fullscreen {
    width: 100vw !important;
    height: 100vh !important;
    border-radius: 0;
    left: 0 !important;
    bottom:0 !important;
  }
  
  .draggable-video.fullscreen #futureVideo {
    height: calc(100vh - 70px);
  }
  
  .draggable-video.fullscreen .minimized-videocontrols {
    display: none !important;
  }
  
  /* 光盘模式 */
  .draggable-video.minimized {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    box-shadow: 0 0 30px var(--neon-blue),
                0 0 60px rgba(0, 243, 255, 0.4),
                inset 0 0 30px rgba(0, 243, 255, 0.2);
  }
  
  .draggable-video.minimized #futureVideo {
    height: 100%;
    width: 100%;
    opacity: 0.9;
    filter: brightness(1.2) contrast(1.1) hue-rotate(10deg);
  }
  
  .draggable-video.minimized .videocontrols,
  .draggable-video.minimized .playlist-container,
  .draggable-video.minimized .status-indicator {
    display: none;
  }
  
  /* 视频元素 */
  #futureVideo {
    width: 100%;
    object-fit: cover;
    filter: contrast(1.3) saturate(1.2) brightness(0.9);
    display: block;
    border-bottom: 1px solid rgba(0, 243, 255, 0.2);
  }
  
  /* 控制面板 */
  .videocontrols {
    background: linear-gradient(160deg, 
                rgba(16,16,32,0.95) 0%, 
                rgba(32,32,64,0.9) 100%);
    padding: 12px 15px;
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(0, 243, 255, 0.1);
  }
  
  /* 进度条 */
  .progress-container-video {
    height: 4px;
    background: rgba(255,255,255,0.05);
    border-radius: 2px;
    margin: 12px 0;
    cursor: pointer;
    position: relative;
    overflow: hidden;
  }
  
  .progress-container-video::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg,
                transparent,
                rgba(0, 243, 255, 0.3),
                transparent);
    animation: scan 2s linear infinite;
  }
  
  @keyframes scan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
  }
  
  .progress-bar-video {
    height: 100%;
    background: linear-gradient(90deg,
                var(--neon-blue),
                var(--neon-purple));
    width: 0;
    position: relative;
    z-index: 2;
    transition: width 0.1s linear;
  }
  
  /* 控制按钮 - 更小的图标 */
  .control-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .videobtn {
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid var(--neon-blue);
    color: var(--neon-blue);
    padding: 6px 10px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 12px;
    min-width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .videobtn i {
    font-size: 14px;
    margin-right: 4px;
  }
  
  .videobtn:hover {
    background: rgba(0, 243, 255, 0.3);
    box-shadow: 0 0 10px var(--neon-blue);
  }
  
  /* 时间显示 */
  .time-display-video {
    width: 0.15rem;
    overflow: hidden;
    font-family: 'Digital', sans-serif;
    color: var(--hud-green);
    font-size: 14px;
    margin: 0px;
    flex-grow: 1;
  }
  
  /* 播放列表 - 可管理样式 */
  .playlist-container {
    max-height: 0;
    overflow-y: auto;
    transition: max-height 0.4s ease;
    background: rgba(10,10,25,0.95);
  }
  
  .playlist-container.show {
    max-height: 200px;
    border-top: 1px solid rgba(0, 243, 255, 0.2);
  }
  
  .playlist-item {
    padding: 10px 15px;
    border-bottom: 1px solid rgba(0, 243, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
  }
  
  .playlist-item-content {
    font-size: 16px;
    color: aliceblue;
    flex-grow: 1;
    cursor: pointer;
  }
  
  .playlist-item-remove {
    color: #ff5555;
    cursor: pointer;
    margin-left: 10px;
    opacity: 0.7;
    transition: all 0.2s;
  }
  
  .playlist-item-remove:hover {
    opacity: 1;
    transform: scale(1.2);
  }
  
  .playlist-videocontrols {
    padding: 10px;
    display: none;
    gap: 8px;
  }
  
  .playlist-input {
    flex-grow: 1;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--neon-blue);
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
  }
  
  .playlist-add-videobtn {
    background: var(--neon-blue);
    color: black;
    border: none;
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
  }
  
  /* 最小化控制按钮 */
  .minimized-videocontrols {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: none;
    justify-content: center;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 6px 0;
    border-radius: 0 0 50% 50%;
  }
  
  .draggable-video.minimized .minimized-videocontrols {
    display: flex;
  }
  
  .minimized-videobtn {
    background: none;
    border: none;
    color: var(--neon-blue);
    cursor: pointer;
    font-size: 16px;
    margin: 0 8px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
  }
  
  .minimized-videobtn:hover {
    background: rgba(0, 243, 255, 0.2);
  }
  
  /* 状态指示器 */
  .status-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    font-size: 11px;
  }
  
  .status-light {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--neon-blue);
    margin-right: 6px;
    animation: pulse 2s infinite;
  }
   /* 响应式设计 */
@media (max-width: 568px) {
  .draggable-video {
    width: 128px;
  }
  .videocontrols {
    padding: 5px 10px;
  }
  .control-buttons {
    display: flex;
    align-items: center;
    gap: 2px;
  }
  .videobtn {
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid var(--neon-blue);
    color: var(--neon-blue);
    padding: 1px;
    width: 18px;
    height: 18px;
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 9px;
    min-width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .videobtn i {
    font-size: 9px;
    margin-right: 2px;
  }
  
  .videobtn:hover {
    background: rgba(0, 243, 255, 0.3);
    box-shadow: 0 0 5px var(--neon-blue);
  }
}