        /* 顶部导航 */
        .top-nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            padding: 10px 0;
            border-bottom: 1px solid #333;
        }

        .nav-left {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .nav-right {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .nav-btn {
            padding: 10px 20px;
            background: #2d2d2d;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 16px;
        }

        .nav-btn:hover {
            background: #005a9e;
        }

        /* 用户信息 */
        .user-info {
            background: #2d2d2d;
            padding: 8px 15px;
            border-radius: 4px;
            border: 1px solid #444;
            display: flex;
            align-items: center;
            gap: 15px;
        }

        /* ✅ 修复用户名显示样式 - 确保绿色等宽字体 */
        .username-display {
            color: #4CAF50 !important;
            font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace !important;
            font-weight: bold !important;
            font-size: 13px !important;
            letter-spacing: 0.5px;
        }

        .usage-display {
            color: #ffd700;
            font-size: 13px;
        }

        .vip-display {
            color: #4CAF50;
            font-size: 13px;
            font-weight: bold;
        }

        /* 播放器上方控制区 */
        .top-controls {
            text-align: center;
            margin-bottom: 15px;
            display: flex;
            justify-content: center;
            gap: 10px;
            flex-wrap: wrap;
        }

        .top-controls select,
        .top-controls button {
            padding: 10px 15px;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }

        .top-controls select {
            background: #333;
        }

        .top-controls button {
            background: #0078d4;
        }

        .top-controls button:hover {
            background: #005a9e;
        }

        /* ✅ 新增：登录模态框 */
        #loginModal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            z-index: 10000;
            align-items: center;
            justify-content: center;
        }

        .modal-content {
            background: #2d2d2d;
            padding: 30px;
            border-radius: 8px;
            text-align: center;
            width: 90%;
            max-width: 400px;
        }

        .modal-content input {
            width: 100%;
            padding: 12px;
            margin: 15px 0;
            border: 1px solid #444;
            background: #1e1e1e;
            color: white;
            border-radius: 4px;
            box-sizing: border-box;
        }

        .modal-content button {
            width: 100%;
            padding: 12px;
            margin-top: 10px;
            background: #0078d4;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }

        .modal-content button:hover {
            background: #005a9e;
        }

        .modal-error {
            color: #f44336;
            margin-top: 10px;
        }

        /* ✅ 登录/退出按钮 */
        .login-logout-btn {
            padding: 10px 20px;
            background: #4CAF50;
            /* 绿色 */
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 16px;
        }

        .login-logout-btn:hover {
            background: #45a049;
        }