

.delete-btn { display: none; background-color: #ea4335; }
.replace-btn { display: none; background-color: #fbbc05; }
.add-more-btn { margin-left: 10px; display: none; background-color: #34a853; }
.text-right { text-align: right; margin-bottom: 15px; }
.master-score { font-size: 3em; }
.modal-style { margin: 20px 0; }
.input-style { width: 100%; padding: 8px; margin-top: 8px; }
.text-center { text-align: center; }
.confirm-btn { background-color: #34a853; }
.new-build-btn { background-color: #4285f4; margin-right: 10px; }

 .image-score {
            position: absolute;
            top: 10px;
            left: 10px;
            background-color: #4285f4;
            color: white;
            padding: 3px 8px;
            border-radius: 4px;
            font-size: 14px;
            z-index: 2;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        }
         .user-status {
            display: inline-block;
            margin-left: 20px;
        }
        #login-btn, #register-btn, #logout-btn {
            margin-left: 15px;
        }
        
        /* 移动端适配基础样式 */
        @media (max-width: 768px) {
            .container {
                padding: 10px;
            }
            
            .page-title {
                font-size: 1.5rem;
            }
            
            .user-status {
                margin-left: 10px;
            }
            
            #login-btn, #register-btn, #logout-btn {
                margin-left: 8px;
                padding: 4px 8px;
                font-size: 0.9rem;
            }
            
            .build-container {
                flex-direction: column;
            }
            
            .parts-selector, .build-summary {
                width: 100%;
                max-width: 100%;
            }
            
            .part-select-container {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .part-selected {
                margin-bottom: 10px;
                width: 100%;
                word-break: break-word;
            }
            
            .action-buttons {
                display: flex;
                flex-wrap: wrap;
                gap: 5px;
                width: 100%;
            }
            
            .select-btn {
                padding: 6px 10px;
                font-size: 0.9rem;
            }
        }
        
        @media (max-width: 480px) {
            .page-title {
                font-size: 1.3rem;
            }
            
            .action-buttons {
                justify-content: space-between;
            }
            
            .select-btn {
                padding: 5px 8px;
                font-size: 0.8rem;
            }
            
            .bottom-floating-bar {
                padding: 10px 0;
            }
            
            .bottom-bar-content {
                flex-direction: column;
                gap: 10px;
            }
            
            .summary-stats {
                text-align: center;
                margin-right: 0;
            }
            
            .bottom-bar-buttons {
                width: 100%;
                justify-content: center;
            }
        }
        
        /* 分类筛选样式 */
        .category-filters {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin: 10px 0;
            padding: 10px;
            background-color: #f5f5f5;
            border-radius: 5px;
        }
        
        .category-filter-btn {
            padding: 5px 12px;
            border: 1px solid #ddd;
            border-radius: 15px;
            background-color: white;
            cursor: pointer;
            font-size: 14px;
            transition: all 0.2s;
        }
        
        .category-filter-btn:hover {
            background-color: #e9f5fe;
            border-color: #4285f4;
        }
        
        .category-filter-btn.active {
            background-color: #4285f4;
            color: white;
            border-color: #4285f4;
        }
        
        /* 饼图进度条样式 */
        .score-chart-container {
            display: flex;
            justify-content: center;
            margin: 20px 0;
        }
        
        .pie-chart-wrapper {
            position: relative;
            width: 200px;
            height: 200px;
            transition: all 0.3s ease;
        }
        
        .pie-chart {
            position: absolute;
            width: 160px;
            height: 160px;
            border-radius: 50%;
            background-color: #f0f0f0;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 2;
            top: 20px;
            left: 20px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
        }
        
        .pie-chart-value {
            font-size: 32px;
            font-weight: bold;
            color: #333;
            transition: font-size 0.3s ease;
        }
        
        .pie-chart-label {
            font-size: 14px;
            color: #666;
            margin-top: 5px;
        }
        
        .pie-segments {
            position: absolute;
            width: 200px;
            height: 200px;
            border-radius: 50%;
            background: conic-gradient(
                #4285f4 0% 25%, 
                #ea4335 25% 50%, 
                #fbbc05 50% 75%, 
                #34a853 75% 100%
            );
            z-index: 1;
            transition: all 0.5s ease;
            box-shadow: 0 0 15px rgba(0,0,0,0.1);
        }
        
        .pie-segment {
            position: absolute;
            cursor: pointer;
            transition: transform 0.3s ease;
        }
        
        .pie-segment:hover {
            transform: scale(1.05);
        }
        
        /* 为每个分段设置不同的位置和大小 */
        #compute-segment {
            width: 100%;
            height: 100%;
            clip-path: polygon(50% 50%, 50% 0, 100% 0, 100% 50%);
            border-radius: 0 50% 0 0;
            top: 0;
            left: 0;
        }
        
        #graphics-segment {
            width: 100%;
            height: 100%;
            clip-path: polygon(50% 50%, 100% 50%, 100% 100%, 50% 100%);
            border-radius: 0 0 50% 0;
            top: 0;
            left: 0;
        }
        
        #memory-segment {
            width: 100%;
            height: 100%;
            clip-path: polygon(50% 50%, 50% 100%, 0 100%, 0 50%);
            border-radius: 0 0 0 50%;
            top: 0;
            left: 0;
        }
        
        #storage-segment {
            width: 100%;
            height: 100%;
            clip-path: polygon(50% 50%, 0 50%, 0 0, 50% 0);
            border-radius: 50% 0 0 0;
            top: 0;
            left: 0;
        }
        
        /* 提示框样式 */
        .segment-tooltip {
            position: absolute;
            background-color: rgba(0,0,0,0.8);
            color: white;
            padding: 5px 10px;
            border-radius: 4px;
            font-size: 12px;
            z-index: 1000;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
            pointer-events: none;
            white-space: nowrap;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        /* 响应式调整 */
        @media (max-width: 768px) {
            .pie-chart-wrapper {
                width: 180px;
                height: 180px;
            }
            
            .pie-chart {
                width: 140px;
                height: 140px;
                top: 20px;
                left: 20px;
            }
            
            .pie-segments {
                width: 180px;
                height: 180px;
            }
            
            .pie-chart-value {
                font-size: 28px;
            }
            
            .pie-chart-label {
                font-size: 12px;
            }
        }
        
        @media (max-width: 480px) {
            .pie-chart-wrapper {
                width: 160px;
                height: 160px;
            }
            
            .pie-chart {
                width: 120px;
                height: 120px;
                top: 20px;
                left: 20px;
            }
            
            .pie-segments {
                width: 160px;
                height: 160px;
            }
            
            .pie-chart-value {
                font-size: 24px;
            }
            
            .pie-chart-label {
                font-size: 11px;
            }
        }