.md-typeset h1 {
    color: var(--md-default-fg-color--light);
    font-size: 2em;
    line-height: 1.3;
    margin: 0 0 0.5em;
}
#generateBtn {
    font-size: 1.1em;
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    background-color: #007bff;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
    display: block; /* 确保按钮是块级元素 */
    margin: 20px auto; /* 上下20px，左右自动（水平居中） */
}
#generateBtn:disabled {
    background-color: #223355;
    cursor: not-allowed;
}
#generateBtn:not(:disabled):hover {
    background-color: #0056b3;
}
#generateBtn:not(:disabled):active {
    transform: scale(0.98);
}
.progress-container {
    margin: 20px 0;
    text-align: left;
    background: #223355;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.progress-bar {
    width: 100%;
    height: 20px;
    background-color: #223355;
    border-radius: 4px;
    overflow: hidden;
    margin: 10px 0;
}
.progress-fill {
    height: 100%;
    background-color: #28a745;
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 4px;
}
.time-display {
    font-size: 0.85em;
    color: #6c757d;
    margin-top: 5px;
}
.canvases-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 5px;
    flex-wrap: wrap;
}
.canvas-wrapper {
    border: 1px solid #ddd;
    padding: 5px;
    background-color: #f9f9f9;
    border-radius: 8px;
}
canvas {
    display: block;
    image-rendering: pixelated;
    width: 256px;
    height: 256px;
}
#status {
    margin-top: 15px;
    color: #666;
    min-height: 1.2em;
    font-weight: 500;
}