.mh-pod-container { width: 100%; max-width: 450px; margin: 1rem auto; font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; }
.mh-btn { border-radius: var(--border-radius-s); cursor: pointer; width: 100%; text-transform: capitalize; }

/* UPDATED: Slower, more frequent premium shine */
.btn-start { 
    background: var(--bricks-color-dark) !important; 
    color: #fff !important; 
    padding: 0.9rem !important; 
    transition: transform 0.2s ease, box-shadow 0.2s ease; 
    position: relative; 
    overflow: hidden; 
    border: none;
}
.btn-start:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.btn-start::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: mh-shine 2.5s infinite; /* Reduced total loop time to make it frequent */
}
@keyframes mh-shine {
    0% { left: -100%; }
    60% { left: 200%; } /* Increased percentage so the shine glides slower */
    100% { left: 200%; }
}

.mh-needs-design { outline: 2px solid var(--bricks-color-dark); outline-offset: 4px; animation: mh-shake 0.4s ease-in-out !important; }
@keyframes mh-shake { 0% { transform: translateX(0); } 25% { transform: translateX(-5px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-5px); } 100% { transform: translateX(0); } }

.btn-done { background: #089745 !important; color: #fff !important; display: none; }
.btn-done:hover { background: #067a37 !important; }
.btn-done:disabled { background: #067a37 !important; cursor: not-allowed; opacity: 0.9; }
.btn-reset { background: #e74c3c !important; color: #fff !important; margin-top: 10px; }
.btn-reset:hover { opacity: 0.9; }
.btn-reset:disabled { cursor: not-allowed; opacity: 0.5; }

#mh-preview-ui { display: none; text-align: center; padding: 1rem; border: 1px solid var(--bricks-color-color2); border-radius: var(--border-radius-s); background: #fafafa; }
#mh-loading-text { display: none; margin-bottom: 10px; font-weight: 600; font-size: 14px; color: var(--bricks-color-dark); }
#mh-preview-img { height: auto; border-radius: var(--border-radius-s); margin: 0 auto 10px auto; display: block; box-shadow: 0 4px 8px rgba(0,0,0,0.1); }

.mh-modal { display: none; position: fixed; z-index: 999999; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.75); align-items: center; justify-content: center; backdrop-filter: blur(3px); }
.mh-modal-content { background-color: var(--bricks-color-white, #fff); padding: 0.6rem 0.7rem; border-radius: var(--border-radius-s); width: 95%; max-width: 350px; position: relative; box-sizing: border-box; display: flex; flex-direction: column; max-height: 95vh; overflow-y: auto; }
.mh-modal-close { position: absolute; right: 11px; top: 3px; font-size: 30px; cursor: pointer; color: var(--bricks-color-dark); font-weight: bold; line-height: 1; }
.mh-modal-close:hover { opacity: 0.7; }

.mh-quality-warning { display: none; background-color: #fff3cd; color: #856404; border: 1px solid #ffeeba; padding: 0.5rem; border-radius: var(--border-radius-s); margin-bottom: 0.5rem; font-size: 0.8rem; text-align: left; line-height: 1.3; }

#mh-editor-ui { text-align: center; width: 100%; }

.canvas-wrapper { position: relative; margin-bottom: 0.5rem; width: 100%; display: block; background: transparent; border-radius: var(--border-radius-s); border: none; padding: 0; overflow: hidden; min-height: 200px; touch-action: none; }
.canvas-container { margin: 0 auto; }

.mh-app-loader { display: none; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255,255,255,0.85); z-index: 50; flex-direction: column; align-items: center; justify-content: center; backdrop-filter: blur(2px); border-radius: var(--border-radius-s); }

.mh-controls { display: flex; flex-direction: column; gap: 0.5rem; padding: 0.5rem 0; }

.mh-upload-area { border: 1px dashed var(--bricks-color-dark, #333); padding: 0.5rem; border-radius: var(--border-radius-s); background: #fafafa; cursor: pointer; text-align: center; transition: all 0.3s ease; box-sizing: border-box; width: 100%; }
.mh-upload-area:hover { border-color: var(--bricks-color-color2, #ccc); background: #f0f0f0; }

.mh-progress-wrapper { width: 100%; background-color: #eee; border-radius: var(--border-radius-s); overflow: hidden; display: none; margin-top: 5px; }
.mh-progress-bar { width: 0%; height: 8px; background-color: #089745; transition: width 0.3s ease; }

.mh-toolbar { display: none; justify-content: center; gap: 0.2rem; margin-bottom: 0.2rem; flex-wrap: wrap; }
.mh-toolbar button { background: var(--bricks-color-color2, #eeeeee); border: none; border-radius: var(--border-radius-s); width: 28px; height: 28px; font-size: 1.3rem; cursor: pointer; color: var(--bricks-color-dark, #333333); transition: opacity 0.2s; font-weight: bold; display: flex; align-items: center; justify-content: center; line-height: 1; }
.mh-toolbar button:hover { opacity: 0.7; }