.stitchout body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100vh;
    margin: 0;
    background-color: #f5f5f5;
}
.stitchout canvas {
    border: 1px solid #333;
    background: #FFFFFF;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}
.stitchout .container {
    text-align: center;
    margin: 20px;
}
.stitchout .status {
    font-family: Arial, sans-serif;
    font-size: 14px;
    margin-top: 15px;
    margin-bottom: 15px;
    text-align: center;
    color: #555;
}
.stitchout #debug {
    margin-top: 10px;
    font-size: 12px;
    color: #777;
}

/* Speed Control Styles */
.speed-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-family: Arial, sans-serif;
}

.speed-btn {
    padding: 6px 12px;
    border: 2px solid #333;
    background-color: #f0f0f0;
    color: #333;
    cursor: pointer;
    border-radius: 4px;
    font-weight: bold;
    font-size: 12px;
    transition: all 0.2s ease;
}

/* Speed Buttons Hover and Active States */
.speed-btn:hover {
    background-color: #e0e0e0;
    transform: translateY(-1px);
}

.speed-btn.active {
    background-color: #7E172C;
    color: white;
    border-color: #7E172C;
}

.speed-btn.inactive {
    background-color: #f8f8f8;
    color: #666;
    border-color: #ccc;
}

.speed-btn.active:hover {
    background-color: #6d1426;
    border-color: #6d1426;
}