body {
    margin: 0;
    padding: 0;
    background-color: #FFE5E5; /* 柔和的粉色背景 */
    font-family: 'Comic Sans MS', 'Arial Rounded MT Bold', Arial, sans-serif;
    min-height: 100vh;
}

.container {
    max-width: 95vw; /* 增加到视窗宽度的95% */
    margin: 10px auto;
    padding: 20px;
}

.drawing-area {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    height: 90vh; /* 增加高度到视窗高度的90% */
}

.canvas-container {
    flex: 1;
    background: white;
    border-radius: 30px;
    padding: 30px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border: 3px solid #FFB6C1; /* 添加柔和的边框 */
}

canvas {
    width: 100%;
    height: calc(90vh - 150px); /* 调整画布高度 */
    border: 4px solid #FFB6C1;
    border-radius: 20px;
    cursor: crosshair;
    background-color: #FFFFFF;
}

.tools {
    margin-top: 30px;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background-color: #FFF0F5;
    border-radius: 20px;
}

.tool-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    background-color: #FF69B4; /* 粉色主题 */
    color: white;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.tool-btn:hover {
    background-color: #FF1493;
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

#colorPicker {
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#brushSize {
    width: 200px;
    height: 20px;
    -webkit-appearance: none;
    background: #FFB6C1;
    border-radius: 10px;
    outline: none;
}

#brushSize::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 30px;
    height: 30px;
    background: #FF69B4;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

#brushSize::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.ai-status {
    text-align: center;
    margin-top: 15px;
    color: #FF69B4;
    font-size: 18px;
    font-weight: bold;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

/* 添加响应式设计 */
@media (max-width: 1200px) {
    .drawing-area {
        flex-direction: column;
        height: auto;
    }

    canvas {
        height: 60vh;
    }

    .tools {
        flex-wrap: wrap;
    }
}

