/* ChaabiHub create-page phone parity and touch layer. */
body[data-page="create"] .composer-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

body[data-page="create"] .composer-hero > div {
    min-width: 0;
}

body[data-page="create"] .composer-camera-entry {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding-inline: 18px;
    text-decoration: none;
}

@media (max-width: 760px) {
    body[data-page="create"] .composer-screen {
        width: 100%;
        min-width: 0;
        padding-bottom: max(88px, calc(env(safe-area-inset-bottom) + 72px));
    }

    body[data-page="create"] .composer-hero {
        padding: 18px;
        border-radius: 16px;
        flex-direction: column;
        align-items: stretch;
    }

    body[data-page="create"] .composer-camera-entry {
        width: 100%;
    }

    body[data-page="create"] .composer-hero h1 {
        font-size: clamp(30px, 9vw, 40px);
        line-height: 1.05;
    }

    body[data-page="create"] .composer-form {
        padding: 12px;
    }

    body[data-page="create"] .composer-panel {
        padding: 12px;
    }

    body[data-page="create"] .drop-zone {
        min-height: 156px;
        padding: 16px;
        touch-action: manipulation;
    }

    body[data-page="create"] .color-swatches {
        gap: 10px;
    }

    body[data-page="create"] .color-swatches button {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }

    body[data-page="create"] .mode-row input[type="color"] {
        min-width: 52px;
        min-height: 44px;
    }

    body[data-page="create"] .upload-thumb button {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }

    body[data-page="create"] .composer-details-panel input,
    body[data-page="create"] .composer-details-panel select,
    body[data-page="create"] .composer-details-panel button {
        min-height: 44px;
    }

    body[data-page="create"] #composer-submit {
        min-height: 48px;
        font-size: 16px;
    }
}
