
        * {
            box-sizing: border-box;
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
        }
        
        body {
            padding: 10px;
            background-color: #fff;
            color: #000;
            line-height: 1.5;
            -webkit-text-size-adjust: none;
        }
        
        /* 公告栏样式 */
        .announcement-bar {
            background-color: #f8f8f8;
            border: 1px solid #eee;
            padding: 10px 15px;
            margin-bottom: 10px;
            border-radius: 4px;
        }
        
        .announcement-bar h3 {
            margin-bottom: 8px;
            font-size: 14px;
            color: #333;
            border-bottom: 1px solid #ddd;
            padding-bottom: 5px;
        }
        
        .announcement-list {
            list-style-type: none;
        }
        
        .announcement-list li {
            padding: 5px 0;
            font-size: 13px;
            color: #555;
            border-bottom: 1px dashed #eee;
        }
        
        .announcement-list li:last-child {
            border-bottom: none;
        }
        
        .main {
            max-width: 100%;
            margin: 0 auto;
            border: 1px solid #eee;
        }
        
        .jisuanqi {
            padding: 15px;
            border-bottom: 1px solid #eee;
        }
        
        .capacity-display {
            display: flex;
            justify-content: space-between;
            margin-bottom: 15px;
            gap: 10px;
        }
        
        .capacity-item {
            text-align: center;
            padding: 10px;
            background: #f8f8f8;
            border-radius: 6px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
            flex: 1;
            border: 1px solid #f0f0f0;
            min-width: 0;
        }
        
        .capacity-item b {
            white-space: normal; 
            word-break: break-word;
            display: block;
            margin-bottom: 5px;
            font-size: 12px;
            color: #555;
        }
        
        .capacity-item span {
            font-size: 16px;
            font-weight: bold;
            color: #000;
        }
        
        .text-danger {
            color: #ff0000 !important;
        }
        
        .gmelile {
            margin-bottom: 10px;
        }
        
        .gmelile span {
            display: block;
            margin-bottom: 8px;
            font-weight: bold;
            font-size: 14px;
        }
        
        .radio-group {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }
        
        .radio-group label {
            display: flex;
            align-items: center;
            padding: 5px 10px;
            background: #f5f5f5;
            border-radius: 4px;
            font-size: 13px;
            white-space: nowrap;
        }
        
        .jiansuo {
            display: flex;
            gap: 8px;
            margin-bottom: 10px;
            align-items: center;
            width: 100%;
        }
        
        .jiansuo input {
            flex: 1;
            padding: 8px 12px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 14px;
            min-width: 0;
        }
        
        .jiansuo button {
            padding: 8px 12px;
            border: 1px solid #ddd;
            background: #f5f5f5;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            white-space: nowrap;
            flex-shrink: 0;
        }
        
        #clearSelection {
            display: block;
            width: 100%;
            padding: 10px;
            background: #f44336;
            color: white;
            text-align: center;
            border: none;
            font-weight: bold;
            text-decoration: none;
            margin-bottom: 10px;
            border-radius: 4px;
            font-size: 14px;
            cursor: pointer;
        }

        #clearFiltersEvent {
            display: block;
            width: 44%;
            padding: 10px 8%;
            background: #f44336;
            color: white;
            text-align: center;
            border: none;
            font-weight: bold;
            text-decoration: none;
            margin-bottom: 10px;
            border-radius: 4px;
            font-size: 14px;
            cursor: pointer;
        }

        .clearFiltersEvent {
            display:inline-block !important;
            /*display: block !important;*/
            width: 44% !important;
            padding: 10px 8% !important;
            background: #1677ff !important;
            color: white !important;
            text-align: center !important;
            border: none !important;
            font-weight: bold !important;
            text-decoration: none !important;
            margin-bottom: 10px !important;
            border-radius: 4px !important;
            font-size: 14px !important;
            cursor: pointer !important;
        }
        
        .gamelist {
            padding: 15px;
            overflow-x: auto;
        }
        
        table {
            width: 100%;
            border-collapse: collapse;
            /*min-width: 400px;*/
            border: 1px solid #ddd;
        }
        
        th {
            padding: 10px 8px;
            text-align: left;
            font-weight: bold;
            border-bottom: 2px solid #ddd;
            background: #f8f8f8;
            font-size: 12px;
            white-space: nowrap;
            border-right: 1px solid #ddd;
        }
        
        th:last-child {
            border-right: none;
        }
        
        td {
            padding: 8px;
            border-bottom: 1px solid #ddd;
            font-size: 13px;
            vertical-align: top;
            border-right: 1px solid #ddd;
        }
        
        td:last-child {
            border-right: none;
        }
        
        tbody tr:nth-child(even) {
            background-color: #fafafa;
        }
        
        input[type="checkbox"] {
            width: 16px;
            height: 16px;
        }
        
        .check {
            background-color: #f0f0f0 !important;
        }
        
        .disabled-row {
            opacity: 0.6;
            cursor: not-allowed;
        }
        
        .disabled-row td {
            color: #999;
        }
        
        .disabled-checkbox {
            cursor: not-allowed;
        }
        
        /* 游戏名称允许换行 */
        .name span {
            white-space: normal;
            word-break: break-word;
            display: inline-block;
            max-width: 600px;
        }
        
        /* 编号和容量不允许换行 */
        .gameId, .neicun {
            white-space: nowrap;
        }
        
        .hidden {
            display: none;
        }
        
        @media (max-width: 768px) {
            .name span {
                max-width: 600px;
            }
        }
        
        @media (max-width: 480px) {
            .capacity-item span {
                font-size: 14px;
            }
            .jiansuo {
                flex-wrap: nowrap;
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
            }
            .jiansuo input {
                min-width: 100px;
            }
            .name span {
                max-width: 500px;
            }
        }
       
/* 剩余容量弹窗样式 */
.capacity-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1001;
    justify-content: center;
    align-items: center;
}

.capacity-modal-content {
    background-color: #fff;
    border-radius: 8px;
    width: 300px;
    max-width: 90%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    overflow: hidden;
    animation: modalFadeIn 0.3s ease;
    border: 1px solid #ddd;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.capacity-modal-header {
    background-color: #f8f8f8;
    color: #333;
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.capacity-modal-body {
    padding: 20px;
}

.capacity-info-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.capacity-info-label {
    color: #666;
    font-size: 14px;
}

.capacity-info-value {
    color: #222;
    font-weight: 500;
}

.capacity-modal-footer {
    padding: 12px;
    text-align: center;
    border-top: 1px solid #eee;
    background-color: #f8f8f8;
}

.capacity-close-btn {
    background-color: #000000;
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: background-color 0.2s;
}

.capacity-close-btn:hover {
    background-color: #333;
}
/* 悬浮按钮组样式 */
#floatingButtons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-button {
    background: white;
    color: black;
    border: none;
    border-radius: 50px;
    width: 40px;
    height: 40px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: relative;
    padding: 5px;
    text-align: center;
}

.floating-button:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.button-icon {
    font-size: 20px;
    margin-bottom: 2px;
}

.button-text {
    font-size: 8px;
    margin-top: -8px;
    white-space: nowrap;
}

.button-value {
    font-size: 8px;
    font-weight: bold;
    margin-top: 2px;
}

.button-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff0000;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 购物车弹窗样式 */
#cartModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    width: 90%;
    height: 81%;
    max-height: 600px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.close-button {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #d5d5d5;
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1001;
    font-size: 18px;
    line-height: 32px;
    transition: all 0.2s ease;
}

.close-button:hover {
    background: #000000;
    transform: scale(1.1);
}

#cartIframe {
    width: 100%;
    height: 100%;
    border: none;
}

#customConfirmModal{
    display: none;
}
        /*!* Element UI风格模态框 *!*/
        /*.custom-modal {*/
        /*    !*display: none;*!*/
        /*    position: fixed;*/
        /*    top: 0;*/
        /*    left: 0;*/
        /*    width: 100%;*/
        /*    height: 100%;*/
        /*    background-color: rgba(0, 0, 0, 0.5);*/
        /*    z-index: 2000;*/
        /*    justify-content: center;*/
        /*    align-items: center;*/
        /*    transition: opacity .3s ease;*/
        /*}*/

        /*.modal-content {*/
        /*    background-color: #fff;*/
        /*    border-radius: 4px;*/
        /*    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);*/
        /*    width: 250px;*/
        /*    height: 200px;*/
        /*    overflow: hidden;*/
        /*    position: relative;*/
        /*}*/

        /*.modal-header {*/
        /*    padding: 15px 20px;*/
        /*    border-bottom: 1px solid #ebeef5;*/
        /*    font-size: 18px;*/
        /*    color: #303133;*/
        /*    font-weight: 500;*/
        /*}*/

        /*.modal-body {*/
        /*    padding: 20px;*/
        /*    color: #606266;*/
        /*    font-size: 14px;*/
        /*    line-height: 1.5;*/
        /*}*/

        /*.modal-footer {*/
        /*    padding: 15px 20px;*/
        /*    border-top: 1px solid #ebeef5;*/
        /*    text-align: right;*/
        /*}*/

        /*.el-button {*/
        /*    display: inline-block;*/
        /*    line-height: 1;*/
        /*    white-space: nowrap;*/
        /*    cursor: pointer;*/
        /*    background: #fff;*/
        /*    border: 1px solid #dcdfe6;*/
        /*    color: #606266;*/
        /*    text-align: center;*/
        /*    box-sizing: border-box;*/
        /*    outline: none;*/
        /*    margin: 0;*/
        /*    transition: .1s;*/
        /*    font-weight: 500;*/
        /*    padding: 9px 15px;*/
        /*    font-size: 12px;*/
        /*    border-radius: 4px;*/
        /*}*/

        /*.el-button--primary {*/
        /*    color: #fff;*/
        /*    background-color: #409eff;*/
        /*    border-color: #409eff;*/
        /*}*/

        /*.el-button--primary:hover {*/
        /*    background: #66b1ff;*/
        /*    border-color: #66b1ff;*/
        /*    color: #fff;*/
        /*}*/

        /*.el-button:hover {*/
        /*    color: #409eff;*/
        /*    border-color: #c6e2ff;*/
        /*    background-color: #ecf5ff;*/
        /*}*/

        /*.modal-close {*/
        /*    position: absolute;*/
        /*    top: 15px;*/
        /*    right: 20px;*/
        /*    cursor: pointer;*/
        /*    color: #909399;*/
        /*    font-size: 16px;*/
        /*}*/

        /*.modal-close:hover {*/
        /*    color: #409eff;*/
        /*}*/
        .custom-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.55);
            z-index: 999;
            display: none;
            justify-content: center;
            align-items: center;
            transition: all 0.3s ease;
        }

        .modal-content1 {
            width: 75%;
            max-width: 320px;
            height: 200px;
            background-color: #fff;
            border-radius: 14px;
            overflow: hidden;
            animation: modalFadeIn 0.3s ease;
        }

        @keyframes modalFadeIn {
            from { opacity: 0; transform: translateY(50px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .modal-header {
            padding: 18px 16px;
            font-size: 18px;
            font-weight: 500;
            color: #333;
            text-align: center;
            position: relative;
        }

        .modal-body {
            padding: 16px;
            font-size: 15px;
            color: #666;
            text-align: center;
            line-height: 1.5;
            border-top: 1px solid rgba(0, 0, 0, 0.05);
        }

        .modal-footer {
            display: flex;
            border-top: 1px solid rgba(0, 0, 0, 0.05);
        }

        .modal-footer button {
            flex: 1;
            padding: 12px;
            font-size: 16px;
            background: none;
            border: none;
            outline: none;
            position: relative;
        }

        .modal-footer button:active {
            background-color: #f5f5f5;
        }

        .modal-footer button:first-child {
            color: #333;
            font-weight: normal;
        }

        .modal-footer button:last-child {
            color: #1677ff;
            font-weight: 500;
        }

        .modal-footer button + button::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 1px;
            background-color: rgba(0, 0, 0, 0.1);
        }

        /* 固定元素的容器 */
        .flex-container {
            position: relative; /* 为占位元素提供参考 */
        }

        /* 需要固定的元素 */
        .flex-element {
            /*transition: all 0.3s ease;*/
        }

        /* 固定时的样式 */
        .flex-element.fixed {
            margin: 0 10px ;
            border-left: 1px solid #eee;
            border-right: 1px solid #eee;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background: white; /* 可选：添加背景色 */
            /*box-shadow: 0 2px 5px rgba(0,0,0,0.1); !* 可选：添加阴影 *!*/
        }

        /* 占位元素（防止跳动） */
        .flex-placeholder {
            display: none;
            height: 0;
            /*transition: height 0.3s ease;*/
        }

        .flex-element.fixed + .flex-placeholder {
            display: block;
            height: 50px; /* 与固定元素高度相同 */
        }